language/chinese.el ("Chinese-GB", "Chinese-BIG5", "Chinese-CNS", "Chinese-EUC-TW...
[bpt/emacs.git] / lisp / ChangeLog
CommitLineData
d607d303
KH
12012-09-13 Kenichi Handa <handa@gnu.org>
2
3 * language/chinese.el ("Chinese-GB", "Chinese-BIG5")
4 ("Chinese-CNS", "Chinese-EUC-TW"): Add chinese-gbk to
5 `coding-priority' property of these language environment.
6
72eac303
PE
72012-09-13 Paul Eggert <eggert@cs.ucla.edu>
8
9 Fix glitches caused by addition of psec to timers (Bug#12430).
10 * image.el (image-animate-timer):
11 * time.el (display-time-world-timer):
12 Use timer--function and timer--args rather than raw access to
13 timer vector.
14
2168fe4f
GM
152012-09-13 Glenn Morris <rgm@gnu.org>
16
17 * emacs-lisp/bytecomp.el (byte-compile-warning-prefix):
18 If not compiling a file, try using load-file-name.
19
bd8d6108
SM
202012-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
21
c0c54fbd
SM
22 * emacs-lisp/edebug.el (edebug-outside-unread-command-events):
23 Fix last change.
24 (edebug-update-eval-list): Use `push'.
25
bd8d6108
SM
26 * emacs-lisp/edebug.el: Use lexical-binding.
27 Remove the "edebug-" prefix from non-dynamically-scoped variables.
28 Mark unused args with underscore.
29 (edebug-save-restriction, edebug-outside-excursion): Use `declare'.
30 (edebug-form-data): Use defvar-local.
31 (edebug-make-before-and-after-form, edebug-make-after-form):
32 Use backquote.
33 (edebug-args, edebug-value, edebug-after-index, edebug-arg-mode):
34 Not dynamically scoped any more.
35 (edebug--enter-trace): Add arguments `function' and `args'.
36 Rename from edebug-enter-trace.
37 (edebug-enter): Call it accordingly. Bind edebug-function explicitly.
38 (edebug--update-coverage): Add `after-index' and `value' args.
39 Rename from edebug-update-coverage.
40 (edebug-slow-after): Call it accordingly.
41 (edebug--recursive-edit): Add arg `arg-mode'. Rename from
42 edebug-recursive-edit.
43 (edebug--display): Call it accordingly. Add args `value',
44 `offset-index', and `arg-mode'. Rename from edebug-display.
45 (edebug-debugger, edebug): Call it accordingly.
46 (edebug-eval-display-list): Use dolist.
47
a9f9d9de
JL
482012-09-12 Juri Linkov <juri@jurta.org>
49
50 * info.el (Info-search): Don't check for isearch-mode and
51 isearch-regexp before let-binding search-spaces-regexp to
52 Info-search-whitespace-regexp.
53 (Info-isearch-search): Let-bind Info-search-whitespace-regexp to
54 search-whitespace-regexp if isearch-lax-whitespace or
55 isearch-regexp-lax-whitespace is non-nil.
56 (Info-mode): Don't set local variable search-whitespace-regexp.
57 http://lists.gnu.org/archive/html/emacs-devel/2012-08/msg00811.html
58
bfeae2cf
SM
592012-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
60
61 * emacs-lisp/debug.el (debugger-outer-unread-command-char, debug)
62 (debugger-env-macro): Remove support for unread-command-char.
63
64 * subr.el (set-temporary-overlay-map): Minimize slightly the impact of
65 the temporary map re-appearing on emulation-mode-map-alists.
66
67 * emacs-lisp/edebug.el (def-edebug-form-spec): Remove, it's been broken
68 since 22.1.
69
70 * ehelp.el (with-electric-help): Accept functions in
71 electric-help-form-to-execute.
72 (electric-help-execute-extended, electric-help-ctrl-x-prefix): Use it.
73 And replace unread-command-char -> unread-command-events.
74
fbbcaf1b
MA
752012-09-12 Michael Albinus <michael.albinus@gmx.de>
76
77 Sync with Tramp 2.2.6.
78
79 * net/tramp.el (tramp-accept-process-output): Don't use
80 JUST-THIS-ONE in the XEmacs case.
81
82 * net/trampver.el: Update release number.
83
4dece104
MR
842012-09-12 Martin Rudalics <rudalics@gmx.at>
85
bfeae2cf
SM
86 * emacs-lisp/debug.el (debugger-previous-window-height):
87 New variable.
4dece104
MR
88 (debug): When debugger-jumping-flag is non-nil try to restore
89 height of debugger window. (Bug#8789)
90
45b82ad0
SM
912012-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
92
60c49c0f
SM
93 * emacs-lisp/edebug.el (edebug-enter): Don't mess with
94 overriding-local-map and pre/post-command-hook here.
95 (edebug-recursive-edit): Do it here instead (bug#12345).
96 (edebug-outside-unread-command-char): Remove all uses of
97 unread-command-char.
98
45b82ad0
SM
99 * emacs-lisp/debug.el (debug): Don't bind debug-on-error since
100 inhibit-debugger is bound instead.
101
baa26ea0
BG
1022012-09-11 Bastien Guerry <bzg@gnu.org>
103
104 * subr.el (set-temporary-overlay-map): Add a docstring.
fc0c31f8 105 (Bug#12346)
baa26ea0 106
04e8abfa
BG
1072012-09-11 Bastien Guerry <bzg@gnu.org>
108
96d03571 109 * minibuffer.el (completion-table-subvert): Fix docstring.
fc0c31f8 110 (Bug#12347)
96d03571
BG
111
1122012-09-11 Bastien Guerry <bzg@gnu.org>
113
fc0c31f8 114 * help-fns.el (describe-variable): Fix typo. (Bug#12346)
04e8abfa 115
04e082b0
MM
1162012-09-10 Michael R. Mauger <mmaug@yahoo.com>
117
118 * progmodes/sql.el: Version 3.1
119 (sql-db2-escape-newlines): New variable.
120 (sql-escape-newlines-filter): Use it.
121
399a361b
JB
1222012-09-10 Juanma Barranquero <lekktu@gmail.com>
123
124 * custom.el (custom-theme-load-confirm): Remove unneeded assignment.
125
0780c517
DN
1262012-09-10 Dan Nicolaescu <dann@gnu.org>
127
45b82ad0
SM
128 * vc/diff-mode.el (diff-mode-menu):
129 Bind diff-remove-trailing-whitespace.
0780c517 130
9b851e25
SM
1312012-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
132
133 * emacs-lisp/lisp-mode.el (emacs-list-byte-code-comment-re): New var.
fc0c31f8
JB
134 (emacs-lisp-byte-code-comment, emacs-lisp-byte-code-syntax-propertize)
135 (emacs-lisp-byte-code-mode): New functions.
9b851e25
SM
136 (eval-sexp-add-defvars): Don't skip defvars in column >0.
137 (eval-defun-2): Remove bogus interactive spec.
138 (lisp-indent-line): Remove redundant whole-exp code, now done in
139 indent-according-to-mode.
140 (save-match-data): Remove redundant indent data.
141
142 * emacs-lisp/benchmark.el (benchmark-run, benchmark-run-compiled):
143 Use `declare'.
144
3231d532
JL
1452012-09-09 Juri Linkov <juri@jurta.org>
146
147 * replace.el (replace-regexp-lax-whitespace): New defcustom.
148 (replace-lax-whitespace, query-replace-regexp)
149 (query-replace-regexp-eval, replace-regexp): Doc fix.
150 (perform-replace, replace-highlight): Let-bind
151 isearch-lax-whitespace to replace-lax-whitespace and
152 isearch-regexp-lax-whitespace to replace-regexp-lax-whitespace.
153
154 * isearch.el (isearch-query-replace): Let-bind
155 replace-lax-whitespace to isearch-lax-whitespace and
156 replace-regexp-lax-whitespace to
157 isearch-regexp-lax-whitespace. (Bug#10885)
158
70fe8236
SM
1592012-09-09 Stefan Monnier <monnier@iro.umontreal.ca>
160
161 * eshell/em-unix.el (eshell/sudo): Explicitly drop return value.
162
8ed43f15
AM
1632012-09-09 Alan Mackenzie <acm@muc.de>
164
70fe8236
SM
165 * progmodes/cc-engine.el (c-state-cache-init):
166 Initialise c-state-semi-nonlit-pos-cache\(-limit\)? properly.
167 (c-record-parse-state-state):
168 Record c-state-semi-nonlit-pos-cache\(-limit\)?.
8ed43f15 169
bfabf70a
AS
1702012-09-09 Andreas Schwab <schwab@linux-m68k.org>
171
172 * register.el (register-separator): Rename from
173 separator-register. All uses changed. Doc fix.
174 (register): Fix version.
175
011474aa
CY
1762012-09-09 Chong Yidong <cyd@gnu.org>
177
178 * replace.el (query-replace-map): Bind four new symbols for
179 requesting window scrolling.
180
181 * subr.el (y-or-n-p): Handle the window-scrolling bindings in
182 query-replace-map (Bug#8948).
183
184 * custom.el (custom-theme-load-confirm): Use y-or-n-p.
185
186 * emacs-lisp/map-ynp.el (map-y-or-n-p): Don't bind scrolling keys
187 since they are now in query-replace-map.
188
189 * window.el (scroll-other-window-down): Make the arg optional.
190
a8b7cd8d
CY
1912012-09-09 Chong Yidong <cyd@gnu.org>
192
193 * files.el (hack-local-variables-confirm): Use quit-window to kill
194 the *Local Variables* buffer.
195
c3268831
DG
1962012-09-08 Dmitry Gutov <dgutov@yandex.ru>
197
198 * progmodes/ruby-mode.el (ruby-toggle-block): Guess the current block,
199 not just expect to be at its beginning. Adjust callees.
200 Succeed when do-end block has no space before the pipe character.
201 (ruby-brace-to-do-end): When the original block is one-liner,
202 convert to multiline. Reindent the result.
203
0979429b
J
2042012-09-08 Jambunathan K <kjambunathan@gmail.com>
205
206 * register.el (register): New group.
207 (register-separator): New user option.
208 (increment-register): Route it to `append-to-register', if
209 register contains text. Implication is that `C-x r +' can now be
210 used for appending to a text register (bug#12217).
211 (append-to-register, prepend-to-register): Add separator based on
212 `register-separator.
213
ace2989a
AM
2142012-09-08 Alan Mackenzie <acm@muc.de>
215
216 AWK Mode: make auto-newline work when there's "==" in the pattern.
217 * progmodes/cc-cmds.el (c-point-syntax): Handle virtual semicolons
218 correctly.
0979429b
J
219 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5A.3):
220 Test more rigorously for "=" token.
ace2989a 221
616c6c36
DG
2222012-09-08 Dmitry Gutov <dgutov@yandex.ru>
223
0979429b
J
224 * progmodes/ruby-mode.el (ruby-match-expression-expansion):
225 Only fail when reached LIMIT.
616c6c36 226
35d98877
CY
2272012-09-08 Chong Yidong <cyd@gnu.org>
228
229 * dired.el (dired-mode-map): Don't bind M-=.
230
231 * dired-aux.el (dired-diff): Use backup file as default.
232
1715f2db
DA
2332012-09-08 Drew Adams <drew.adams@oracle.com>
234
235 * subr.el (add-to-history): Fix delete usage (Bug#12314).
236
6dcef6ec
CY
2372012-09-08 Chong Yidong <cyd@gnu.org>
238
239 * subr.el (syntax-after, syntax-class): Doc fix.
240
fa2bcf43
MR
2412012-09-08 Martin Rudalics <rudalics@gmx.at>
242
243 * window.el (display-buffer-in-previous-window): New buffer
244 display action function.
245
246 * emacs-lisp/debug.el (debugger-bury-or-kill): New option.
247 (debugger-previous-window): New variable.
248 (debug): Rewrite using display-buffer-in-previous-window,
249 quit-restore-window and debugger-bury-or-kill. (Bug#8789)
250
daac280a
SM
2512012-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
252
253 * emacs-lisp/byte-run.el (defun): Tweak message. Simplify code.
254
9dd40b00
MM
2552012-09-07 Matt McClure <mlm@aya.yale.edu> (tiny change)
256
daac280a
SM
257 * progmodes/python.el (python-shell-send-string):
258 When default-directory is remote, create temp file on remote
9dd40b00
MM
259 filesystem.
260 (python-shell-send-file): When file is remote, pass local view of
261 file paths to remote Python interpreter. (Bug#12340)
262
145823ec
CY
2632012-09-07 Chong Yidong <cyd@gnu.org>
264
cee2e90d
CY
265 * window.el (switch-to-buffer): Doc fix (Bug#12181).
266
0d7eb2ea
CY
267 * files.el (after-find-file): Don't fail on a read-only buffer if
268 require-final-newline is `visit' or `visit-save' (Bug#11156).
269
145823ec
CY
270 * subr.el (read-char-choice): Allow quitting via ESC ESC.
271
daac280a
SM
272 * userlock.el (ask-user-about-supersession-threat):
273 Use read-char-choice (Bug#12093).
145823ec 274
74c582e6
CY
2752012-09-07 Chong Yidong <cyd@gnu.org>
276
e5c2edf7
CY
277 * subr.el (buffer-narrowed-p): New function.
278
279 * ses.el (ses-widen):
280 * simple.el (count-words--buffer-message):
281 * net/browse-url.el (browse-url-of-buffer): Use it
282
283 * simple.el (count-words-region): Don't signal an error if there
284 is a non-nil prefix arg and the mark is not set.
c640e87d 285
74c582e6
CY
286 * help.el (describe-key-briefly): Allow the message to be seen
287 when invoked from the minibuffer (Bug#7014).
288
d81ceaaf
DG
2892012-09-07 Dmitry Gutov <dgutov@yandex.ru>
290
291 * progmodes/ruby-mode.el (ruby-end-of-defun)
292 (ruby-beginning-of-defun): Simplify, allow indentation before
293 block beginning and end keywords.
8f06acce
DG
294 (ruby-beginning-of-defun): Only consider 3 keywords defun beginners.
295 (ruby-end-of-defun): Expect that the point is at the beginning of
296 the defun.
d81ceaaf 297
d458ef98
SM
2982012-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
299
300 * emacs-lisp/cl-macs.el (cl--do-arglist): Understand _ on &key args
301 (bug#12367).
302 (cl--make-usage-args): Strip _ from argument names.
303
20367d28
RS
3042012-09-06 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
305
306 * progmodes/vhdl-mode.el (vhdl-speedbar-initialize): Don't use
307 obsolete alias speedbar-key-map.
308 (vhdl-doc-variable, vhdl-doc-mode): Use called-interactively-p.
309 (vhdl-index-menu-init): Don't use obsolete variable
310 font-lock-maximum-size.
311
3424a4f6
CY
3122012-09-06 Chong Yidong <cyd@gnu.org>
313
314 * frame.el (window-system-version): Mark as obsolete.
315
fcbfbdea
CY
316 * speedbar.el (speedbar-update-flag, speedbar-mode): Remove uses
317 of obsolete variable speedbar-key-map.
318
826b3235
JL
3192012-09-06 Juri Linkov <juri@jurta.org>
320
321 * replace.el (replace-lax-whitespace): New defcustom.
322 (query-replace, query-replace-regexp, query-replace-regexp-eval)
323 (replace-string, replace-regexp): Mention it in docstrings.
324 (perform-replace, replace-highlight): Let-bind
325 isearch-lax-whitespace and isearch-regexp-lax-whitespace according
326 to the values of replace-lax-whitespace and regexp-flag.
327 Don't let-bind search-whitespace-regexp. (Bug#10885)
328
329 * isearch.el (isearch-query-replace): Let-bind
330 replace-lax-whitespace instead of let-binding
331 replace-search-function and replace-re-search-function.
332 (isearch-lazy-highlight-search): Let-bind isearch-lax-whitespace
333 and isearch-regexp-lax-whitespace to lazy-highlight variables.
334 (isearch-toggle-symbol): Set isearch-regexp to nil
335 in isearch-word mode (like in isearch-toggle-word).
336
1ec5e41d
JL
3372012-09-06 Juri Linkov <juri@jurta.org>
338
339 * replace.el (replace-search-function)
340 (replace-re-search-function): Set default values to nil.
341 (perform-replace): Let-bind isearch-related variables based on
342 replace-related values, call `isearch-search-fun' and let-bind
343 the result to `search-function'. Remove code that sets
344 `search-function' and `search-string' separately for
345 `delimited-flag'.
346 (replace-highlight): Add new argument `delimited-flag' and
347 rename other arguments to the names used in `perform-replace'.
348 Let-bind `isearch-word' to the argument `delimited-flag'.
349 (Bug#10885, bug#10887)
350
0ba2d4b6
DG
3512012-09-07 Dmitry Gutov <dgutov@yandex.ru>
352
353 * progmodes/ruby-mode.el (ruby-indent-beg-re): Add pieces from
354 ruby-beginning-of-indent, simplify, allow all keywords to have
355 indentation before them.
356 (ruby-beginning-of-indent): Adjust for above. Search until the
357 found point is not inside a string or comment.
358 (ruby-font-lock-keywords): Allow symbols to start with "@"
359 character, give them higher priority than variables.
360 (ruby-syntax-propertize-function)
361 (ruby-font-lock-syntactic-keywords): Remove the "not comments"
362 matchers. Expression expansions are not comments when inside a
363 string, and there comment syntax status is irrelevant.
364 (ruby-match-expression-expansion): New function. Check that
365 expression expansion is inside a string, and it's not escaped.
366 (ruby-font-lock-keywords): Use it.
367
ef654460
MR
3682012-09-05 Martin Rudalics <rudalics@gmx.at>
369
370 * help.el (temp-buffer-max-height): New default value.
371 (temp-buffer-resize-frames): New option.
372 (resize-temp-buffer-window): Optionally resize frame.
373
374 * window.el (fit-frame-to-buffer-bottom-margin): New option.
375 (fit-frame-to-buffer): New function.
376
7e570fbf 3772012-09-05 Glenn Morris <rgm@gnu.org>
72308848
GM
378
379 * emulation/cua-rect.el (cua--init-rectangles):
380 * textmodes/picture.el (picture-mode-map):
381 * play/blackbox.el (blackbox-mode-map): Remap right-char and left-char
382 like forward-char and backward-char. (Bug#12317)
383
7e570fbf 3842012-09-05 Leo Liu <sdl.web@gmail.com>
3aca1291
LL
385
386 * progmodes/flymake.el (flymake-warning-re): New variable.
387 (flymake-parse-line): Use it.
388
7e570fbf 3892012-09-05 Glenn Morris <rgm@gnu.org>
b6683353
GM
390
391 * calendar/holidays.el (holiday-christian-holidays):
392 Rename an entry. (Bug#12289)
393
7e570fbf 3942012-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
64f8c4bd
SM
395
396 * progmodes/sh-script.el (sh-font-lock-paren): Don't burp at BOB
397 (bug#12222).
398
972debf2
SM
3992012-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
400
401 * loadup.el: Load macroexp. Remove hack.
402 * emacs-lisp/macroexp.el (macroexp--eval-if-compile): New function.
403 (macroexp--expand-all): Use it to get better warnings.
404 (macroexp--backtrace, macroexp--trim-backtrace-frame)
405 (internal-macroexpand-for-load): New functions.
406 (macroexp--pending-eager-loads): New var.
407 (emacs-startup-hook): New hack to replace one in loadup.el.
408 * emacs-lisp/cl-macs.el (cl--compiler-macro-list*)
409 (cl--compiler-macro-cXXr): Move to top, before they can be used.
410 (cl-psetf): Simplify.
411 (cl-defstruct): Add indent rule.
412
8ce192e3
LI
4132012-09-04 Lars Ingebrigtsen <larsi@gnus.org>
414
415 * mail/smtpmail.el (smtpmail-send-it): Prefer the From: header
416 over `user-mail-address' for the SMTP MAIL FROM envelope.
417 (smtpmail-via-smtp): Ditto.
418
6578b4d8
DG
4192012-09-04 Dmitry Gutov <dgutov@yandex.ru>
420
421 * progmodes/ruby-mode.el: Clean up keybindings.
422 (ruby-mode-map): Don't bind ruby-electric-brace,
423 ruby-beginning-of-defun, ruby-end-of-defun, ruby-mark-defun,
424 backward-kill-word, reindent-then-newline-and-indent.
425 (ruby-mark-defun): Remove.
426 (ruby-electric-brace): Remove. Obsoleted by electric-indent-chars.
427 (ruby-mode): Set local beginning-of-defun-function and
428 end-of-defun-function values.
429
c5e28e39
MR
4302012-09-03 Martin Rudalics <rudalics@gmx.at>
431
432 * window.el (temp-buffer-window-setup-hook)
433 (temp-buffer-window-show-hook): New hooks.
434 (temp-buffer-window-setup, temp-buffer-window-show)
435 (with-temp-buffer-window): New functions.
972debf2
SM
436 (fit-window-to-buffer): Remove unused optional argument OVERRIDE.
437 (special-display-popup-frame): Make sure the window used shows BUFFER.
c5e28e39
MR
438
439 * help.el (temp-buffer-resize-mode): Fix doc-string.
440 (resize-temp-buffer-window): New optional argument WINDOW.
441
442 * files.el (recover-file, save-buffers-kill-emacs):
443 * dired.el (dired-mark-pop-up): Use with-temp-buffer-window.
444
73406194
MA
4452012-09-02 Michael Albinus <michael.albinus@gmx.de>
446
447 * eshell/em-unix.el (eshell/sudo): When we have an ad-hoc
448 remote definition of `default-directory', ensure we can connect.
449
63dd1c6f
JL
4502012-09-02 Juri Linkov <juri@jurta.org>
451
452 Toggle whitespace matching mode with M-s SPC.
453 http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00008.html
454
455 * isearch.el (search-whitespace-regexp): Doc fix.
456 Remove cons cell customization.
457 (isearch-mode-map): Bind "\M-s " to isearch-toggle-lax-whitespace.
458 (isearch-lax-whitespace, isearch-regexp-lax-whitespace):
459 New variables.
460 (isearch-forward, isearch-forward-regexp): Doc fix.
461 (isearch-toggle-lax-whitespace): New command.
462 (search-forward-lax-whitespace, search-backward-lax-whitespace)
463 (re-search-forward-lax-whitespace)
464 (re-search-backward-lax-whitespace): New functions.
465 (isearch-whitespace-regexp): Remove function.
466 (isearch-query-replace): Let-bind replace-search-function and
467 replace-re-search-function.
468 (isearch-occur): Let-bind search-spaces-regexp according to the
469 value of isearch-lax-whitespace and isearch-regexp-lax-whitespace.
470 (isearch-quote-char): Check isearch-regexp-lax-whitespace in the
471 condition for C-q SPC.
472 (isearch-search-fun-default): Use new functions mentioned above.
473 (isearch-search-forward, isearch-search-backward): Remove functions.
474 (isearch-search): Don't let-bind search-spaces-regexp.
475 (isearch-lazy-highlight-space-regexp): Remove variable.
476 (isearch-lazy-highlight-lax-whitespace)
477 (isearch-lazy-highlight-regexp-lax-whitespace): New variables.
478 (isearch-lazy-highlight-new-loop): Use them.
479 (isearch-lazy-highlight-search): Don't let-bind search-spaces-regexp.
480
af7dda05
CY
4812012-09-02 Chong Yidong <cyd@gnu.org>
482
483 * dired.el (dired-mode-map): Menu string fixes (Bug#11616).
484
d67d3afd
GM
4852012-09-02 Glenn Morris <rgm@gnu.org>
486
487 * simple.el (undo): Tweak message in undo-only case. (Bug#12283)
488
69678719
GM
4892012-09-01 Glenn Morris <rgm@gnu.org>
490
491 * term.el: Tidy up menu definitions.
492 (term-mode-map): Use easymenu for In/Out, Complete menus.
493 (term-pager-break-map): Initialize in the defvar.
494 (term-terminal-menu, term-signals-menu): Define with easymenu.
495 (term-terminal-menu): Also show it in line-mode. (Bug#11957)
496 (term-pager-menu): New, extracted from term-process-pager.
497 (term-mode, term-char-mode, term-process-pager): Use easymenu-add.
498 (term-update-mode-line): Propertize line/char and page items.
499 (term-process-pager): Move keymap initialization elsewhere.
500
78dd6ab1
MR
5012012-09-01 Martin Rudalics <rudalics@gmx.at>
502
503 * window.el (switch-to-prev-buffer): Handle additional values of
504 BURY-OR-KILL argument. Don't switch in minibuffer window.
505 (switch-to-next-buffer): Don't switch in minibuffer window.
506 (quit-restore-window): New function based on quit-window.
507 Handle additional values of former KILL argument.
508 (quit-window): Call quit-restore-window with appropriate
509 interpretation of KILL argument.
510 (display-buffer-below-selected): New buffer display action
511 function.
512
3d10e134
SM
5132012-09-01 Stefan Monnier <monnier@iro.umontreal.ca>
514
515 * minibuffer.el (completion-at-point-functions): Complete docstring
516 (bug#12254).
517
0e23ef9d
PE
5182012-09-01 Paul Eggert <eggert@cs.ucla.edu>
519
520 Better seed support for (random).
521 * play/5x5.el, play/animate.el, play/cookie1.el, play/dissociate.el:
522 * play/doctor.el, play/dunnet.el, play/gomoku.el, play/landmark.el:
523 * play/mpuz.el, play/tetris.el, play/zone.el:
524 * calc/calc-comb.el (math-init-random-base):
525 * play/blackbox.el (bb-init-board):
526 * play/life.el (life):
527 * server.el (server-use-tcp):
528 * type-break.el (type-break):
529 Remove unnecessary call to (random t).
530 * net/sasl.el (sasl-unique-id-function):
531 Change (random t) to (random), now that the latter is more random.
532 * play/life.el (life-initialized): Remove no-longer-needed var.
533
862382df
MR
5342012-08-31 Alp Aker <alp.tekin.aker@gmail.com>
535
536 * window.el (switch-to-prev-buffer, switch-to-next-buffer):
537 Consider frame's buffer predicate when choosing the buffer.
538 (Bug#12081)
539
262a66e1
RS
5402012-08-30 Richard Stallman <rms@gnu.org>
541
542 * simple.el (special-mode-map): Delete binding for `z'.
543
f17e1d00
AS
5442012-08-30 Andreas Schwab <schwab@linux-m68k.org>
545
546 * progmodes/compile.el (compilation-always-kill): Doc fix.
547
24777832
CY
5482012-08-30 Chong Yidong <cyd@gnu.org>
549
550 * window.el (display-buffer-reuse-frames): Make the obsolescence
551 message more informative.
552
69ba1f04
GM
5532012-08-30 Glenn Morris <rgm@gnu.org>
554
555 * paren.el (show-paren-delay):
556 Add a :set function. Doc fix. (Bug#12297)
557
f0019ede
MB
5582012-08-29 Martin Blais <blais@furius.ca> (tiny change)
559
560 * progmodes/compile.el (compilation-always-kill): New var.
561 (compilation-start): Use it.
562
35e62fc9
SM
5632012-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
564
af070a1c
SM
565 * simple.el (read-only-mode): Move from files.el for bootstrapping.
566 * files.el (read-only-mode): Move to simple.el.
567
35e62fc9
SM
568 * files.el (read-only-mode): New minor mode.
569 (toggle-read-only): Use it and mark obsolete.
570 (find-file--read-only):
571 * vc/vc.el (vc-next-action, vc-checkout):
572 * vc/vc-cvs.el (vc-cvs-checkout):
573 * obsolete/vc-mcvs.el (vc-mcvs-update):
574 * ffap.el (ffap--toggle-read-only): Update callers.
575
c2c43c23
MA
5762012-08-29 Michael Albinus <michael.albinus@gmx.de>
577
578 * eshell/esh-ext.el (eshell-external-command): Do not examine
972debf2
SM
579 remote shell scripts.
580 See <https://bugs.launchpad.net/ubuntu/+source/emacs23/+bug/1035790>.
c2c43c23
MA
581
582 * net/tramp-sh.el (tramp-remote-path): Add "/sbin" and
583 "/usr/local/sbin".
584
9fba804b
SM
5852012-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
586
587 * emacs-lisp/cl-lib.el (buffer-string): Fix setter macro (bug#12293).
588
eada0861 5892012-08-28 Leo Liu <sdl.web@gmail.com>
22ab32ef 590
806f0cc7
LL
591 * progmodes/sh-script.el (sh-dynamic-complete-functions): Adapt to
592 completion-at-point. (Bug#12220)
593
3bb213b9
LL
594 * skeleton.el (skeleton-untabify): Change to nil (bug#12223).
595
22ab32ef
LL
596 * progmodes/sh-script.el (sh-indent-comment): Change to t (bug#12267).
597
eada0861 5982012-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
db148c21 599
19c17fc1
CY
600 * files.el (safe-local-eval-forms): Fix before-save-hook entry to
601 be buffer-local; add delete-trailing-whitespace (bug#12259).
db148c21 602
eada0861 6032012-08-28 Jeremy Moore <jmoore@ieee.org> (tiny change)
ffe6eaf1
JM
604
605 * progmodes/hideif.el (hif-compress-define-list):
606 Fix typo. (Bug#11951)
607
eada0861 6082012-08-28 Dan Nicolaescu <dann@gnu.org>
d30aca1b
DN
609
610 * progmodes/hideshow.el (hs-block-end-regexp): Restore lost
611 buffer local setting.
612
27d6c5a8
LL
613 * net/rcirc.el (rcirc-split-message): Fix for buffer-local
614 rcirc-encode-coding-system.
615
eada0861 6162012-08-28 Leo Liu <sdl.web@gmail.com>
4432d2e2
LL
617
618 * net/rcirc.el (rcirc-split-message): New function.
619 (rcirc-send-message): Use it. (Bug#12051)
620
d44688e4
JL
6212012-08-28 Juri Linkov <juri@jurta.org>
622
623 * info.el (Info-fontify-node): Hide empty lines at the end of
624 the node. (Bug#12272)
625
34f10d41
MR
6262012-08-27 Drew Adams <drew.adams@oracle.com>
627
628 * dired.el (dired-pop-to-buffer): Make window start at beginning
629 of buffer (Bug#12281).
630
77f1f99c
CY
6312012-08-26 Chong Yidong <cyd@gnu.org>
632
633 * window.el (special-display-regexps, special-display-frame-alist)
634 (special-display-buffer-names, special-display-function)
635 (display-buffer-reuse-frames): Mark as obsolete.
636
637 * progmodes/compile.el: Don't use display-buffer-reuse-frames.
638
639 * help.el (help-print-return-message): Don't treat
640 display-buffer-reuse-frames specially.
641
d97af5a0
CY
6422012-08-26 Chong Yidong <cyd@gnu.org>
643
9fba804b
SM
644 * progmodes/gdb-mi.el (gdb-display-buffer-other-frame-action):
645 New variable, replacing gdb-frame-parameters.
d97af5a0
CY
646 (gdb-frame-io-buffer, gdb-frame-breakpoints-buffer)
647 (gdb-frame-threads-buffer, gdb-frame-memory-buffer)
648 (gdb-frame-disassembly-buffer, gdb-frame-stack-buffer)
649 (gdb-frame-locals-buffer, gdb-frame-registers-buffer): Use it.
650 (def-gdb-frame-for-buffer): Macro deleted. It is easier to define
651 the functions directly with gdb-display-buffer-other-frame-action.
652 (gdb-display-breakpoints-buffer, gdb-display-threads-buffer)
653 (gdb-display-memory-buffer, gdb-display-disassembly-buffer)
654 (gdb-display-stack-buffer, gdb-display-locals-buffer)
655 (gdb-display-registers-buffer): Define directly.
656 (def-gdb-display-buffer): Macro deleted.
657 (gdb-display-buffer): Remove second and third args, callers don't
658 use them. Defer to the default display-buffer behavior, apart
659 from making windows dedicated.
660 (gdb-setup-windows): Don't call display-buffer unnecessarily.
661
662 * progmodes/gud.el (gud-display-line): Just use display-buffer.
663
664 * window.el (display-buffer-pop-up-frame): Handle a
665 pop-up-frame-parameters alist entry.
666 (display-buffer): Document it.
667
dd7ffad6
CY
6682012-08-26 Chong Yidong <cyd@gnu.org>
669
670 * isearch.el (search-whitespace-regexp): Make string and nil
671 values apply to both ordinary and regexp search. Allow a cons
672 cell value to distinguish between the two.
673 (isearch-whitespace-regexp, isearch-search-forward)
674 (isearch-search-backward): New functions.
675 (isearch-occur, isearch-search-fun-default, isearch-search)
676 (isearch-lazy-highlight-new-loop): Use them.
677 (isearch-forward, isearch-forward-regexp): Doc fix.
678
4c47bd1e
CY
6792012-08-26 Chong Yidong <cyd@gnu.org>
680
681 * faces.el (help-argument-name): Always inherit from italic
682 (Bug#12213).
683
9aba119d
MR
6842012-08-25 Martin Rudalics <rudalics@gmx.at>
685
686 * window.el (window--even-window-heights): Even heights when
687 WINDOW and the selected window form a vertical combination.
688 (display-buffer-use-some-window): Provide that window used gets
689 sized back by quit-window. (Bug#11880) and (Bug#12091)
690
ca5256ad
PE
6912012-08-24 Paul Eggert <eggert@cs.ucla.edu>
692
693 Fix file time stamp problem with bzr and CVS (Bug#12001).
694 * vc/vc-cvs.el (vc-cvs-parse-entry): Ignore subsecond information
695 in the file's time stamp, since the version control system loses
696 that information.
697
d1c0d176
JL
6982012-08-22 Juri Linkov <juri@jurta.org>
699
700 * info.el (Info-fontify-node): Hide the suffix of the
701 Info file name in the header line. (Bug#12187)
702
141562ff
GM
7032012-08-22 Glenn Morris <rgm@gnu.org>
704
705 * calendar/cal-tex.el (cal-tex-weekly-common):
706 Restore leading blank page.
707
61a48e19 7082012-08-22 Le Wang <l26wang@gmail.com> (tiny change)
add9ca2d
BG
709
710 * misc.el (forward-to-word, backward-to-word): Activate or extend
61a48e19
GM
711 the region under `shift-select-mode'. (Bug#12231)
712
7132012-08-22 Bastien Guerry <bzg@gnu.org>
0fcd3d9f
BG
714
715 * progmodes/executable.el (executable-prefix): Set to "#!" instead
716 of "#! ". http://www.in-ulm.de/~mascheck/various/shebang/#details
717 gives details on why the space is never needed.
718
ea95074e
MR
7192012-08-22 Martin Rudalics <rudalics@gmx.at>
720
9fba804b
SM
721 * window.el (walk-window-tree, window-with-parameter):
722 New optional argument MINIBUF to control whether these functions
ea95074e
MR
723 should run on the minibuffer window.
724 (window-at-side-list): Don't operate on minibuffer window.
725 (window-in-direction): Simplify and rewrite doc-string.
9fba804b
SM
726 (window--size-ignore): Rename to window--size-ignore-p.
727 Update callers.
caceae25
MR
728 (display-buffer-in-atom-window, window--major-non-side-window)
729 (window--major-side-window, display-buffer-in-major-side-window)
9fba804b
SM
730 (delete-side-window, display-buffer-in-side-window):
731 New functions.
caceae25
MR
732 (window--side-check, window-deletable-p, delete-window)
733 (delete-other-windows, split-window): Handle side windows and
734 atomic windows appropriately.
735 (window--display-buffer): Call display-buffer-record-window also
736 when the window buffer did not change.
ea95074e 737
80a51fa0
CS
7382012-08-22 Christopher Schmidt <christopher@ch.ristopher.com>
739
740 * help-fns.el (help-fns--key-bindings):
741 Abbreviate non-symbol remap targets. (Bug#12174)
742
fbb6300b
MR
7432012-08-22 Martin Rudalics <rudalics@gmx.at>
744
745 * dired.el (dired-mark-remembered): Don't clobber point.
746 (Bug#11795)
747
2b2c0794
GM
7482012-08-22 Glenn Morris <rgm@gnu.org>
749
750 * progmodes/bug-reference.el (bug-reference): New custom group.
751 (bug-reference-bug-regexp): Make it a defcustom.
752
37219830
DU
7532012-08-22 Daiki Ueno <ueno@unixuser.org>
754
755 * progmodes/js.el (js-indent-level, js-expr-indent-offset)
756 (js-paren-indent-offset, js-square-indent-offset)
757 (js-curly-indent-offset): Add :safe (Bug#12257).
758
94e0e559
EC
7592012-08-22 Edward O'Connor <hober0@gmail.com>
760
761 * json.el (json-key-format): Add error properties.
762 (json-encode-key): New function.
763 (json-encode-hash-table, json-encode-alist, json-encode-plist):
764 Use json-encode-key.
765
da485f5e
GM
7662012-08-22 Glenn Morris <rgm@gnu.org>
767
768 * calendar/cal-tex.el (cal-tex-longday): New function, replacing...
769 (cal-tex-leftday, cal-tex-rightday): Remove functions.
770 (cal-tex-weekly-common, cal-tex-cursor-filofax-2week):
771 Update for above change.
772
c6cc78b8
AS
7732012-08-21 Andreas Schwab <schwab@linux-m68k.org>
774
775 * cus-face.el (custom-face-attributes): Fix customize type for the
776 :underline attribute. (Bug#11805)
777
5481664a
MR
7782012-08-21 Martin Rudalics <rudalics@gmx.at>
779
780 * window.el (window-point-1, set-window-point-1): Remove.
781 (window-in-direction, record-window-buffer)
782 (set-window-buffer-start-and-point, split-window-below)
9fba804b
SM
783 (window--state-get-1, display-buffer-record-window):
784 Replace calls to window-point-1 and set-window-point-1 by calls to
5481664a
MR
785 window-point and set-window-point respectively.
786
6d74698e
GM
7872012-08-21 Glenn Morris <rgm@gnu.org>
788
b7fa2691
GM
789 * calendar/cal-tex.el (cal-tex-weekly-common): New function.
790 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-week):
791 Use it.
792
52f56d5a
GM
793 * calendar/cal-tex.el (cal-tex-rightday): Add optional funcname arg.
794 (cal-tex-shortday): New function.
795 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-week)
796 (cal-tex-cursor-filofax-daily): Use the above.
797
9f1ee09e
GM
798 * calendar/cal-tex.el (cal-tex-leftday, cal-tex-rightday):
799 New functions.
800 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-2week)
801 (cal-tex-cursor-filofax-week): Use them.
802
79858159
GM
803 * calendar/cal-tex.el (cal-tex-lefthead, cal-tex-righthead):
804 New constants.
805 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-2week)
806 (cal-tex-cursor-filofax-week, cal-tex-cursor-filofax-daily): Use them.
807
d346b2b4
GM
808 * calendar/cal-tex.el (cal-tex-preamble): Generate new buffers.
809 (cal-tex-end-document): Don't rely on buffer name.
810
b2403709
GM
811 * calendar/cal-tex.el (cal-tex-cursor-filofax-year):
812 Use cal-tex-vspace.
813 (cal-tex-vspace, cal-tex-hspace, cal-tex-em, cal-tex-bf)
814 (cal-tex-Huge-bf, cal-tex-large-bf): Use cal-tex-cmd.
2d225a3a
GM
815 (cal-tex-scriptsize, cal-tex-huge, cal-tex-Huge, cal-tex-large):
816 Use cal-tex-arg.
b2403709 817
1cebb5c0
GM
818 * calendar/cal-tex.el (cal-tex-cursor-filofax-year)
819 (cal-tex-cursor-week, cal-tex-cursor-week2)
820 (cal-tex-cursor-week-iso, cal-tex-cursor-week-at-a-glance)
821 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
822 (cal-tex-cursor-filofax-daily, cal-tex-cursor-day)
823 (cal-tex-insert-preamble, cal-tex-b-document)
824 (cal-tex-e-document, cal-tex-b-center, cal-tex-e-center):
825 Improve cal-tex-cmd usage.
826
c68cd5d4
GM
827 * calendar/cal-tex.el (cal-tex-filofax-paper): New function.
828 (cal-tex-cursor-filofax-year, cal-tex-cursor-filofax-2week)
829 (cal-tex-cursor-filofax-week, cal-tex-cursor-filofax-daily): Use it.
830 (cal-tex-weekly-paper): New function.
831 (cal-tex-cursor-week, cal-tex-cursor-week2)
832 (cal-tex-cursor-week-iso, cal-tex-cursor-week-monday)
833 (cal-tex-cursor-day): Use it.
834
9dca4801
GM
835 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance)
836 (cal-tex-cursor-filofax-week): Remove leading blank page.
837
1941e134
GM
838 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance):
839 Add autoload cookie. For now at least, don't use color, since
840 no other cal-tex function does.
841
6d74698e
GM
842 * calendar/cal-tex.el (cal-tex-cursor-week-iso)
843 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
844 (cal-tex-cursor-filofax-daily): Correct start date for diary entries.
845
64cde199
JL
8462012-08-21 Juri Linkov <juri@jurta.org>
847
848 * info.el (Info-file-attributes): New variable.
849 (info-insert-file-contents): Add file attributes to
850 `Info-file-attributes'. Clear the caches `Info-index-nodes' and
851 `Info-toc-nodes' when previous modtime of the Info file is less
852 than new modtime.
853 (Info-toc-nodes, Info-index-nodes): Move definitions up to the top
854 of info.el. (Bug#12230)
855
32757648
GM
8562012-08-20 Glenn Morris <rgm@gnu.org>
857
858 * calendar/diary-lib.el (diary-include-files, diary-sexp-entry):
859 * calendar/holidays.el (calendar-holiday-list):
860 Report errors with display-warning rather than beep'n'sleep.
861
a32fbbcf
MA
8622012-08-20 Michael Albinus <michael.albinus@gmx.de>
863
864 * net/tramp.el (tramp-accept-process-output): Accept only output
865 from PROC. Otherwise, process filters and sentinels might be
866 confused. (Bug#12145)
867
a05731a0
CY
8682012-08-20 Chong Yidong <cyd@gnu.org>
869
870 * descr-text.el (describe-text-properties-1): Use overlays-in to
871 report on empty overlays (Bug#3322).
872
36e8d1eb
GM
8732012-08-20 Glenn Morris <rgm@gnu.org>
874
3d300447
GM
875 * mail/rmailout.el (rmail-output-read-file-name):
876 Trap and report errors in rmail-output-file-alist elements.
877
36e8d1eb
GM
878 * font-lock.el (font-lock-add-keywords): Doc fix (quote face names
879 since most non-font-lock faces are not also variables).
880
b96e5814
ER
8812012-08-20 Edward Reingold <reingold@iit.edu>
882
883 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance):
884 New function. (Bug12160)
885
7cef3569
GM
8862012-08-19 Glenn Morris <rgm@gnu.org>
887
888 * mail/rmailout.el (rmail-output-read-file-name):
889 Fix previous change (when the alist is nil or does not match).
890
17975d7f
CY
8912012-08-19 Chong Yidong <cyd@gnu.org>
892
893 * xml.el (xml-escape-string): Don't refer to xml-entity-alist
894 (Bug#12228).
895
2170b1bd
CY
8962012-08-18 Chong Yidong <cyd@gnu.org>
897
898 * simple.el (yank-handled-properties): New defcustom.
899 (yank-excluded-properties): Add font-lock-face and category.
900 (yank): Doc fix.
901
9fba804b
SM
902 * subr.el (remove-yank-excluded-properties):
903 Obey yank-handled-properties. The special handling of font-lock-face
2170b1bd
CY
904 and category is now done this way, instead of being hard-coded.
905 (insert-for-yank-1): Remove font-lock-face handling.
906 (yank-handle-font-lock-face-property)
907 (yank-handle-category-property): New function.
908
ee218151
GM
9092012-08-17 Glenn Morris <rgm@gnu.org>
910
911 * mail/rmailout.el (rmail-output-read-file-name):
912 Check rmail-output-file-alist against the full message body
913 in the correct rmail buffer. (Bug#12214)
914
4a6bc3fd
MA
9152012-08-17 Michael Albinus <michael.albinus@gmx.de>
916
9fba804b
SM
917 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
918 Eliminate superfluous prompt. (Bug#12203)
4a6bc3fd 919
383dcbf9
CY
9202012-08-17 Chong Yidong <cyd@gnu.org>
921
922 * mouse.el (mouse-appearance-menu): If x-select-font returns a
923 font spec, set the font directly (Bug#3228).
924
998c4a6a
MR
9252012-08-17 Martin Rudalics <rudalics@gmx.at>
926
927 * window.el (delete-window): Fix last fix.
928
52162052
MR
9292012-08-16 Martin Rudalics <rudalics@gmx.at>
930
931 * window.el (window-valid-p): Move to window.c.
85c2386b
MR
932 (window-child, window-child-count, window-last-child)
933 (window-normalize-window, window-combined-p)
934 (window-combinations, window-atom-root, window-min-size)
935 (window-sizable, window-sizable-p, window-size-fixed-p)
936 (window-min-delta, window-max-delta, window--resizable)
937 (window--resizable-p, window-resizable, window-total-size)
938 (window-full-height-p, window-full-width-p, window-body-size)
939 (window-at-side-p, adjust-window-trailing-edge, maximize-window)
940 (minimize-window, window-deletable-p, delete-window)
941 (delete-other-windows, set-window-buffer-start-and-point)
942 (next-buffer, previous-buffer, split-window, balance-windows-2)
943 (set-window-text-height, window-buffer-height)
944 (fit-window-to-buffer, shrink-window-if-larger-than-buffer)
9fba804b
SM
945 (truncated-partial-width-window-p): Minor code adjustments.
946 In doc-strings state whether the argument window has to denote a
85c2386b 947 live, valid or any window.
52162052 948
1c308380
PS
9492012-08-16 Phil Sainty <psainty@orcon.net.nz> (tiny change)
950
951 * progmodes/subword.el (subword-forward-function)
952 (subword-backward-function, subword-forward-regexp)
953 (subword-backward-regexp): New variables.
954 (subword-forward, subword-forward-internal, subword-backward-internal):
955 Use new variables, eg so that different "word" definitions
956 can be easily used. (Bug#11411)
957
94c9ece1
SM
9582012-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
959
960 * vc/vc-mtn.el (vc-mtn-revision-completion-table): Handle completion
961 for composite selectors.
962 * vc/vc.el (vc-diff-build-argument-list-internal): Don't prevent
963 operation just because we can't find a previous revision.
964
f2045622
CY
9652012-08-15 Chong Yidong <cyd@gnu.org>
966
967 * frame.el (set-frame-font): Accept font objects.
968
582db660
SM
9692012-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
970
971 * textmodes/tex-mode.el (tex-insert-quote): ~ is a space (bug#12137).
972
2f29c200
WJ
9732012-08-15 Wolfgang Jenkner <wjenkner@inode.at>
974
456e62c2
WJ
975 * man.el (Man-overstrike-face, Man-underline-face)
976 (Man-reverse-face): Remove variables.
977 (Man-overstrike, Man-underline, Man-reverse): New faces.
978 (Man-fontify-manpage): Use them instead of the variables.
979 (Man-cleanup-manpage): Comment change.
980 (Man-ansi-color-map): New variable.
981 (Man-fontify-manpage): Use it.
982 Call ansi-color-apply-on-region to replace ad hoc code (bug#12147).
983
2f29c200
WJ
984 Implement ANSI SGR parameters 22-27 (bug#12146).
985 * ansi-color.el (ansi-colors): Doc fix.
986 (ansi-color-context, ansi-color-context-region): Doc fix.
987 (ansi-color--find-face): New function.
988 (ansi-color-apply, ansi-color-apply-on-region): Use it.
989 Rename the local variable `face' to `codes' since it is now a list of
990 ansi codes. Doc fix.
991 (ansi-color-get-face): Remove.
992 (ansi-color-parse-sequence): New function, derived from
993 ansi-color-get-face.
994 (ansi-color-apply-sequence): Use it. Rewrite, and support ansi
995 codes 22-27.
996
b4f5e9df
SM
9972012-08-14 Stefan Monnier <monnier@iro.umontreal.ca>
998
999 * subr.el (read-passwd): Allow use from a minibuffer.
1000
ba025fbd
EZ
10012012-08-14 Eli Zaretskii <eliz@gnu.org>
1002
1003 * tooltip.el (tooltip-identifier-from-point): Don't treat tokens
1004 inside comments and strings as identifiers.
1005
1006 * progmodes/gud.el (gud-tooltip-print-command): Quote the
1007 expression to evaluate. This allows to evaluate expressions with
1008 embedded whitespace.
1009 (gud-tooltip-tips): Add a blank before the newline in the
1010 message-box text, for the benefit of message-box emulation on
1011 MS-Windows.
1012
1013 * progmodes/gdb-mi.el (gdb-tooltip-print): Don't ignore error
1014 messages from GDB, pop them up in a tooltip to give feedback to
1015 user.
b4f5e9df
SM
1016 (gdb-tooltip-print-1): Quote the expression to evaluate.
1017 This allows to evaluate expressions with embedded whitespace.
ba025fbd
EZ
1018 (gdb-inferior-io--init-proc): Don't send "-inferior-tty" command
1019 if the TTY name is nil or empty (which happens when communicating
1020 with the inferior via pipes, e.g. on MS-Windows).
1021 (gdb-internals): If GDB sends a "&\n" empty debugging message,
1022 don't send that to the GUD buffer.
1023
c548f821
GM
10242012-08-14 Glenn Morris <rgm@gnu.org>
1025
1026 * emacs-lisp/bytecomp.el (byte-compile-setq-default):
1027 Optimize away setq-default with no args, as for setq. (Bug#12195)
1028
55802e4a
CY
10292012-08-14 Chong Yidong <cyd@gnu.org>
1030
4abcdac8
CY
1031 * minibuffer.el (read-file-name): Doc fix (Bug#10881).
1032
55802e4a
CY
1033 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Doc fix
1034 (Bug#12085).
1035
3c3cda1a
GM
10362012-08-14 Glenn Morris <rgm@gnu.org>
1037
1038 * emacs-lisp/bytecomp.el (byte-recompile-file): Doc fix.
1039
e1873bd0
MA
10402012-08-14 Michael Albinus <michael.albinus@gmx.de>
1041
1042 * net/tramp-sh.el (tramp-open-shell): Cache the shell name.
1043 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
1044 Use cached shell name.
1045
925411b4
FEG
10462012-08-14 Fabián Ezequiel Gallina <fgallina@cuca>
1047
1048 * progmodes/python.el (python-shell-send-string):
3c3cda1a 1049 (python-shell-send-setup-code): Do not use `format' with `message'.
925411b4 1050
e636fafe
DG
10512012-08-14 Dmitry Gutov <dgutov@yandex.ru>
1052
1053 * progmodes/ruby-mode.el: Improve percent literals (bug#6286).
1054 (ruby-percent-literal-beg-re): New constant.
1055 (ruby-syntax-general-delimiters-goto-beg): Rename to
1056 `ruby-syntax-enclosing-percent-literal', improve literal type check.
1057 (ruby-syntax-propertize-general-delimiters): Rename to
1058 `ruby-syntax-propertize-percent-literal', it's a shorter and more
1059 popular term. Adjust comments everywhere.
1060 (ruby-syntax-propertize-percent-literal): Only propertize when not
1061 inside a simple string or comment. When the literal is unclosed,
1062 leave the text after it unpropertized.
f063063a
DG
1063 (ruby-syntax-methods-before-regexp): New constant.
1064 (ruby-syntax-propertize-function): Use it to recognize regexps.
1065 Don't look at the text after regexp, just use the whitelist.
e636fafe 1066
e5b19827
AS
10672012-08-14 Andreas Schwab <schwab@linux-m68k.org>
1068
1069 * emacs-lisp/bytecomp.el (byte-recompile-file): When LOAD is
1070 non-nil always load the compiled file if it exists. (Bug#12197)
1071
a9f6f311
CY
10722012-08-14 Chong Yidong <cyd@gnu.org>
1073
1074 * hi-lock.el (hi-lock-mode): Do not unilaterally enable font lock.
1075 (hi-lock-set-pattern): When deciding whether to use font lock or
1076 overlays, look at font-lock-mode instead of font-lock-fontified
1077 (Bug#12168).
1078 (hi-lock-mode, hi-lock-line-face-buffer, hi-lock-unface-buffer)
1079 (hi-lock-face-buffer, hi-lock-face-phrase-buffer): Doc fix.
1080
7d806b1e
DU
10812012-08-14 Daiki Ueno <ueno@unixuser.org>
1082
1083 * subr.el (internal--after-with-selected-window): Fix typo
1084 (Bug#12193).
1085
5beed586
FEG
10862012-08-14 Fabián Ezequiel Gallina <fgallina@cuca>
1087
1088 Use `completion-table-dynamic' for completion functions.
1089 * progmodes/python.el
1090 (python-shell-completion--do-completion-at-point)
e636fafe
DG
1091 (python-shell-completion--get-completions):
1092 Remove functions.
5beed586
FEG
1093 (python-shell-completion-complete-at-point): New function.
1094 (python-completion-complete-at-point): Use it.
1095
92cb3b04
J
10962012-08-13 Jambunathan K <kjambunathan@gmail.com>
1097
1098 * vc/vc-dir.el (vc-dir-hide-state): New command (bug#12159).
1099 (vc-dir-hide-up-to-date): Route it to `vc-dir-hide-state'.
1100
89660017
SM
11012012-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
1102
3c98c962
SM
1103 * subr.el (function-get): Refine `autoload' arg so it can also
1104 autoload functions for gv.el (bug#12191).
1105 * emacs-lisp/edebug.el (get-edebug-spec): Adjust so it only
1106 autoloads macros.
1107
aa7c6dbe
SM
1108 * color.el (color-xyz-to-lab, color-lab-to-xyz, color-cie-de2000):
1109 Prefer pcase-let over destructuring-bind.
1110 * vc/diff-mode.el (diff-remove-trailing-whitespace): Same.
1111 Also, remove whitespace as we go, rather than after accumulating the
1112 various places.
1113
89660017
SM
1114 * subr.el (internal--before-with-selected-window)
1115 (internal--after-with-selected-window): Fix typo seleted->selected.
1116 (with-selected-window): Adjust callers.
1117 Reported by Dmitry Gutov <dgutov@yandex.ru>.
1118
31cd32c9
BG
11192012-08-13 Bastien Guerry <bzg@gnu.org>
1120
0fcd3d9f 1121 * window.el (special-display-popup-frame): Minor docstring
31cd32c9
BG
1122 enhancement. (Bug#12172)
1123
1b15d8ad
AS
11242012-08-13 Andreas Schwab <schwab@linux-m68k.org>
1125
31e54db0
AS
1126 * tar-mode.el (tar-header-data-end): Only ignore size for files of
1127 type 1-6.
1128 (tar-header-block-summarize, tar-get-descriptor): Handle pax
1129 extended headers.
1130
1b15d8ad
AS
1131 * files.el (hack-local-variables-filter): Remove useless eval.
1132
35cb9c06
MR
11332012-08-13 Martin Rudalics <rudalics@gmx.at>
1134
1135 * subr.el (with-selected-window): Fix last change.
1136
1439443b
SM
11372012-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
1138
1139 * subr.el (internal--before-with-seleted-window)
1140 (internal--after-with-seleted-window): New functions.
1b15d8ad
AS
1141 (with-selected-window): Use them, to replace dependency on
1142 tty-top-frame.
1439443b 1143
0d9e2599
NN
11442012-08-12 Nobuyoshi Nakada <nobu@ruby-lang.org>
1145
1146 * progmodes/ruby-mode.el (ruby-mode-map): Remove unnecessary
1147 binding for `newline'.
1148 (ruby-move-to-block): When moving backward, stop at block opening,
1149 not indentation.
1150 * progmodes/ruby-mode.el (ruby-brace-to-do-end)
1151 (ruby-do-end-to-brace, ruby-toggle-block): New functions.
1152 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
1153 `ruby-toggle-block'.
1154
ba10c48c
SM
11552012-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
1156
1157 * ibuffer.el (ibuffer-do-toggle-read-only):
1158 * dired.el (dired-toggle-read-only):
1159 * buff-menu.el (Buffer-menu-toggle-read-only):
1160 * bindings.el (mode-line-toggle-read-only):
1161 * bs.el (bs-toggle-readonly): Call toggle-read-only interactively.
1162
9229c658
AS
11632012-08-12 Andreas Schwab <schwab@linux-m68k.org>
1164
1165 * descr-text.el (describe-char): Put the overlays over the
1166 "displayed as" character.
1167
0fd09128
JB
11682012-08-12 Jay Belanger <jay.p.belanger@gmail.com>
1169
1170 * calc/calc-units.el (math-default-units-table): Give an
1171 initial value.
1172 (math-put-default-units): Add options to put composite units and
1173 unit systems in the default units table.
1174 (calc-convert-units): Send composite units to
1175 `math-put-default-units' when appropriate.
1176
9ff9402d 11772012-08-11 Glenn Morris <rgm@gnu.org>
7aacaf15 1178
fbb5e336
GM
1179 * emacs-lisp/copyright.el (copyright-update-directory): Logic fix.
1180
7aacaf15
GM
1181 * tutorial.el (help-with-tutorial):
1182 * emacs-lisp/copyright.el (copyright-update-directory):
1183 * emacs-lisp/autoload.el (autoload-find-generated-file)
1184 (autoload-find-file): Disable local eval: (for insurance).
1185
f40b9f10
GM
1186 * files.el (hack-local-variables-filter): If an eval: form is not
1187 known to be safe, and enable-local-variables is :safe, then ignore
1188 the form totally, as is done for non-eval forms. (Bug#12155)
6f97980a 1189 This is CVE-2012-3479.
f40b9f10 1190
daa9f1a6
SM
11912012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
1192
1193 * emacs-lisp/rx.el (rx-constituents): Don't define as constant.
1194 (rx-form): Simplify.
1195
9cd80478
DG
11962012-08-09 Dmitry Gutov <dgutov@yandex.ru>
1197
0d9e2599
NN
1198 * progmodes/ruby-mode.el (ruby-expr-beg, ruby-parse-partial):
1199 ?, _, and : are symbol constituents, ! is not (but kinda should be).
1200 (ruby-syntax-propertize-heredoc): Use ruby-singleton-class-p.
1201 (ruby-syntax-propertize-function): Adjust for changes in
1202 `ruby-syntax-propertize-heredoc'.
1203
12042012-08-09 Nobuyoshi Nakada <nobu@ruby-lang.org>
1205
9cd80478
DG
1206 * progmodes/ruby-mode.el (ruby-mode-map): Remove deprecated
1207 binding (use `M-;' instead).
9cd80478 1208 (ruby-singleton-class-p): New function.
0d9e2599 1209 (ruby-expr-beg, ruby-in-here-doc-p) Use it.
9cd80478 1210
d301b413
SM
12112012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
1212
1213 * emacs-lisp/cl-macs.el (cl-loop): Improve debug spec.
1214
1530c98e
CY
12152012-08-10 Chong Yidong <cyd@gnu.org>
1216
1217 * progmodes/python.el (python-shell-get-process-name): Don't mess
1218 with same-window-buffer-names.
1219
1220 * eshell/eshell.el (eshell-add-to-window-buffer-names)
1221 (eshell-remove-from-window-buffer-names): Make obsolete.
1222 (eshell-buffer-name, eshell-unload-hook): Don't use them.
1223 (eshell): Just use pop-to-buffer-same-window instead.
1224
e1293765
CY
12252012-08-10 Chong Yidong <cyd@gnu.org>
1226
1227 * bindings.el: Bind M-= back to count-words-region.
1228
1229 * simple.el (count-words-region): Accept a prefix arg for acting
1230 on the entire buffer.
1231 (count-words--buffer-message): New helper function.
1232
e1894109
SM
12332012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
1234
1235 * term/x-win.el (x-menu-bar-open): Always pass last-nonmenu-event.
1236 * subr.el (eventp): `nil' is not an event, and eventp is not hot.
1237 (event-start, event-end): Use posn-at-point to return a more
1238 informative posn.
1239 (posnp): New function.
1240 * mouse.el (popup-menu-normalize-position): Use it.
1241
c69f56a2
MY
12422012-08-10 Masatake YAMATO <yamato@redhat.com>
1243
1244 * mouse.el (popup-menu-normalize-position): New function.
1245 (popup-menu): Use `popup-menu-normalize-position' to normalize
1246 the form for POSITION argument.
1247
1248 * term/x-win.el (x-menu-bar-open):
1249 Use the value returend from (posn-at-point) as position
1250 passed to `popup-menu'.
1251
31673780
JB
12522012-08-09 Jay Belanger <jay.p.belanger@gmail.com>
1253
1254 * calc/calccomp.el (math-compose-expr): Add extra argument
1255 indicating that parentheses should be put around products in
1256 denominators. Give multiplication precedence over division during
1257 composition.
1258
dab7711b
CY
12592012-08-09 Chong Yidong <cyd@gnu.org>
1260
dee4ef93
CY
1261 * man.el (Man-switches, Man-sed-command, Man-awk-command)
1262 (Man-mode-hook, Man-cooked-hook, Man-untabify-command-args)
1263 (Man-untabify-command, manual-program): Convert to defcustom
1264 (Bug#10429).
1265
73e2bbc5
CY
1266 * vc/add-log.el (change-log-mode): Bind comment-start to nil.
1267
3e861c8a
CY
1268 * descr-text.el (describe-char): Don't insert extra newlines
1269 (Bug#10127).
1270
a9f5a649
CY
1271 * vc/log-view.el (log-view-diff): Use use-region-p (Bug#10133).
1272 (log-view-diff-changeset, log-view-minor-wrap): Likewise.
1273
dab7711b
CY
1274 * align.el (align-region): Delete temporary markers (Bug#10047).
1275 Plus some code cleanups.
1276
e0cc4efa
FEG
12772012-08-09 Fabián Ezequiel Gallina <fgallina@cuca>
1278
1279 * progmodes/python.el (python-pdbtrack-tracked-buffer)
1280 (python-pdbtrack-buffers-to-kill, python-shell-internal-buffer)
1281 (python-shell-internal-last-output): Use make-local-variable
1282 instead of make-variable-buffer-local.
1283
489af14f
FEG
12842012-08-09 Fabián Ezequiel Gallina <fgallina@cuca>
1285
1286 * progmodes/python.el: Enhancements to forward-sexp.
1287 (python-nav-forward-sexp): Rename from
1288 python-nav-forward-sexp-function.
c69f56a2
MY
1289 (python-nav--forward-sexp, python-nav--backward-sexp):
1290 New functions.
489af14f 1291
0fc50303
JB
12922012-08-09 Jay Belanger <jay.p.belanger@gmail.com>
1293
1294 * calc/calc-menu.el (calc-modes-menu): Add entries for matrix
1295 modes and simplification modes.
1296
5d65606a
SM
12972012-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
1298
1299 * delsel.el (delete-selection-pre-hook): Don't propagate the
1300 file-supersession signals (bug#12161).
1301
4250fdf5
SM
13022012-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
1303
1304 * emacs-lisp/cl.el (cl-map-keymap-recursively, cl-map-intervals)
1305 (cl-map-extents): Add compatibility aliases (bug#12135).
1306
d9f9b465
MA
13072012-08-08 Michael Albinus <michael.albinus@gmx.de>
1308
1309 * net/tramp-sh.el (tramp-find-file-exists-command): Protect the
1310 tests by `ignore-error'.
1311 (tramp-find-shell): Open also a new shell, when cache is already
1312 set. Reported by Carsten Bormann <cabo@tzi.org>. (Bug#12148)
1313
ce0fcefa
JL
13142012-08-08 Juri Linkov <juri@jurta.org>
1315
1316 * bookmark.el: Add `defaults' property to the bookmark record.
1317 (bookmark-current-buffer): Doc fix.
1318 (bookmark-make-record): Add `defaults' property with default values
1319 to the bookmark record.
1320 (bookmark-minibuffer-read-name-map): Remove key binding "\C-u"
1321 with `bookmark-insert-current-bookmark'.
1322 (bookmark-set): Get `defaults' property from the bookmark record
1323 and use it in `read-from-minibuffer'.
1324 (bookmark-insert-current-bookmark): Remove function.
1325
1326 * info.el (Info-bookmark-make-record): Add `defaults' property
1327 with values of canonical Info node name, the current Info file
1328 name and the current Info node name. (Bug#12107)
1329
53fa8652
JL
13302012-08-08 Juri Linkov <juri@jurta.org>
1331
1332 * files.el (basic-save-buffer): Use `buffer-name' as the default
1333 of `read-file-name' when buffer is not visiting a file (bug#12128).
1334
242c0a95
JL
13352012-08-08 Juri Linkov <juri@jurta.org>
1336
1337 * info.el (Info-isearch-search): Doc fix.
1338 (Info-search): Change search-failed message from "initial node" to
1339 "end of node" (bug#12078).
1340 (Info-isearch-search): Change `isearch-string-state' to
1341 `isearch--state-string'.
1342
32ac3a6b
GM
13432012-08-08 Glenn Morris <rgm@gnu.org>
1344
1345 * language/persian.el: Remove file.
f8c1afd5 1346 * language/misc-lang.el: Move unique part of persian.el here.
32ac3a6b
GM
1347 * loadup.el: Remove language/persian.
1348
2c2d9c9c
OF
13492012-08-08 Óscar Fuentes <ofv@wanadoo.es>
1350
1351 * vc/diff-mode.el (diff-remove-trailing-whitespace): New function.
1352
2d79ec42
FEG
13532012-08-08 Fabián Ezequiel Gallina <fgallina@cuca>
1354
1355 * progmodes/python.el Fixed defsubst warning.
1356 (python-syntax-context) Rename from python-info-ppss-context.
1357 (python-syntax-context-type): Rename from
1358 python-info-ppss-context-type.
1359 (python-syntax-comment-or-string-p): Rename from
1360 python-info-ppss-comment-or-string-p.
1361
2bd255dd
JB
13622012-08-08 Jay Belanger <jay.p.belanger@gmail.com>
1363
1364 * calc/calc-misc.el (calc-record-why): Don't record a message twice.
1365
c395097f
AS
13662012-08-07 Andreas Schwab <schwab@linux-m68k.org>
1367
6125983e
AS
1368 * emacs-lisp/lisp-mode.el (eval-defun-1): Handle standard value of
1369 a defcustom that is quoted with backquote.
1370
4250fdf5
SM
1371 * calc/calc-prog.el (math-do-defmath): Use backquote forms.
1372 Fix handling of interactive spec when the body uses return.
651eaf36
AS
1373 (math-do-arg-check, math-define-function-body): Use backquote forms.
1374 * calc/calc-ext.el (math-defcache): Likewise.
1375 * calc/calc-rewr.el (math-rwfail, math-rweval): Likewise.
1376 * allout.el (allout-new-exposure): Likewise.
1377 * calc/calcalg2.el (math-tracing-integral): Likewise.
1378 * info.el (Info-last-menu-item): Likewise.
1379 * emulation/vip.el (vip-loop): Likewise.
1380 * textmodes/artist.el (artist-funcall): Likewise.
1381 * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle):
1382 Construct menu-item directly.
1383
4250fdf5
SM
1384 * progmodes/autoconf.el (font-lock-syntactic-keywords):
1385 Don't declare.
c395097f 1386
5fb50dd3
CY
13872012-08-07 Chong Yidong <cyd@gnu.org>
1388
1389 * simple.el (deactivate-mark): Preserve text properties when
1390 saving the primary selection (Bug#8384).
1391
54eea618
KR
13922012-08-07 Kevin Ryde <user42@zip.com.au>
1393
1394 * woman.el (woman0-if): Quietly treat ".if v" as false (Bug#12109).
1395 (woman-parse-numeric-value): On a bad .IP line, issue a warning
1396 and continue processing (Bug#12110).
1397
638eaeb9
SM
13982012-08-06 Stefan Monnier <monnier@iro.umontreal.ca>
1399
1400 * progmodes/cperl-mode.el (cperl-mode): Yet another fix for
1401 syntax-propertize-function (bug#10095).
1402
ea376861
SM
14032012-08-06 Stefan Monnier <monnier@iro.umontreal.ca>
1404
f91b35be
SM
1405 * help-fns.el (help-fns--key-bindings, help-fns--signature)
1406 (help-fns--parent-mode, help-fns--obsolete): New funs, extracted from
1407 describe-function-1.
1408 (describe-function-1): Use them. Move compiler macro after sig.
1409 (help-fns--compiler-macro): Use function-get. Assume we're already in
1410 standard-output. Adjust layout to new call order.
1411
ea376861
SM
1412 * emacs-lisp/cl-macs.el (cl--sm-macroexpand): Fix handling of
1413 re-binding a symbol that has a symbol-macro (bug#12119).
1414
d5be7bd0
MB
14152012-08-06 Mohsen BANAN <libre@mohsen.1.banan.byname.net>
1416
1417 * language/persian.el: New file. (Bug#11812)
1418 * loadup.el: Add language/persian.el.
1419
90749b53
CY
14202012-08-06 Chong Yidong <cyd@gnu.org>
1421
1422 * window.el (window--maybe-raise-frame): New function.
1423 (window--display-buffer): Split off from here.
1424 (display-buffer-reuse-window, display-buffer-pop-up-frame)
1425 (display-buffer-pop-up-window, display-buffer-use-some-window):
1426 Obey an inhibit-switch-frame action alist entry.
1427 (display-buffer): Update doc.
1428
1429 * replace.el (occur-after-change-function): Avoid losing focus by
1430 using the inhibit-switch-frame display parameter (Bug#12139).
1431
ba7b0154
FEG
14322012-08-06 Fabián Ezequiel Gallina <fgallina@cuca>
1433
1434 Make internal shell process buffer names start with space.
1435 * progmodes/python.el (python-shell-make-comint): Add optional
1436 argument INTERNAL.
1437 (run-python-internal): Use it.
1438 (python-shell-internal-get-or-create-process): Check for new
1439 internal buffer names.
1440
5eaeacb5
GM
14412012-08-06 Glenn Morris <rgm@gnu.org>
1442
e296d94b 1443 * eshell/esh-ext.el (eshell/addpath): Use dolist and mapconcat.
5eaeacb5
GM
1444 Do less getting and setting of environment variables.
1445
b7ccbdc2
CY
14462012-08-05 Chong Yidong <cyd@gnu.org>
1447
777fe95e
CY
1448 * proced.el (proced): Add substitution string to docstring to
1449 trigger autoloading of the proced library on C-h f (Bug#1768).
1450
4250fdf5
SM
1451 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
1452 Don't show defvars which have no second argument (Bug#8638).
b7ccbdc2
CY
1453
1454 * imenu.el (imenu-generic-expression): Move documentation here
1455 from imenu--generic-function.
1456 (imenu--generic-function): Refer to imenu-generic-expression.
1457
9e3b7800 14582012-08-05 Vegard Øye <vegard_oye@hotmail.com> (tiny change)
d5c31f1d
VØ
1459
1460 * emulation/viper-init.el (viper-deflocalvar): Add docstring and
1461 indentation declaration.
1462 (viper-loop): Add indentation declaration (Bug#7025).
1463
e5d9c0d1
CY
14642012-08-05 Chong Yidong <cyd@gnu.org>
1465
f0422feb
CY
1466 * help-fns.el (describe-variable): Add hyperlink for
1467 directory-local variables files. Improve buffer-local and
1468 permanent-local reporting; suggested by MON KEY (Bug#6644).
1469
1470 * help-mode.el (help-dir-local-var-def): New button type.
1471
e5d9c0d1
CY
1472 * files.el (kill-buffer-hook): Provide a defvar.
1473
a4f2deaa
GM
14742012-08-05 Glenn Morris <rgm@gnu.org>
1475
1476 * eshell/esh-ext.el (eshell/addpath):
1477 Also update eshell-path-env. (Bug#12013)
1478
a9dd5754
CY
14792012-08-05 Chong Yidong <cyd@gnu.org>
1480
a4f2deaa 1481 * wdired.el (wdired-mode, wdired-change-to-wdired-mode): Doc fixes.
615b0bf0 1482
d014c740
CY
1483 * fringe.el (fringe-styles): Add docstring.
1484 (fringe--check-mode): New function.
1485 (set-fringe-mode, set-fringe-style): Use it.
1486 (fringe-mode, set-fringe-style): Doc fixes (Bug#6480).
1487
a9dd5754
CY
1488 * files.el (set-auto-mode): Fix invalid setq call.
1489
7c2dc8bd
SM
14902012-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
1491
1492 * isearch.el: Misc simplification; use defstruct.
1493 (isearch-mode-map): Dense maps now work like sparse ones.
1494 (isearch--state): New defstruct.
1495 (isearch-string-state, isearch-message-state, isearch-point-state)
1496 (isearch-success-state, isearch-forward-state)
1497 (isearch-other-end-state, isearch-word-state, isearch-error-state)
1498 (isearch-wrapped-state, isearch-barrier-state)
1499 (isearch-case-fold-search-state, isearch-pop-fun-state): Remove,
1500 replaced by defstruct's accessors.
1501 (isearch--set-state): Rename from isearch-top-state and change
1502 calling convention.
1503 (isearch-push-state): Use new isearch--get-state.
1504 (isearch-toggle-word): Disable regexp when enabling word.
1505 (isearch-message-prefix): Remove unused arg _c-q-hack.
1506 (isearch-message-suffix): Remove unused arg _ellipsis.
1507
7fcc0070
AS
15082012-08-04 Andreas Schwab <schwab@linux-m68k.org>
1509
1510 * simple.el (list-processes--refresh): For a server use :host or
1511 :local as the address.
97ad0769 1512 (list-processes): Doc fix.
7fcc0070 1513
00340faf
MN
15142012-08-04 Michal Nazarewicz <mina86@mina86.com> (tiny change)
1515
1516 * lisp/mpc.el: Support password in host argument.
1517 (mpc--proc-connect): Parse and use new password element.
1518 Set mpc-proc variable instead of returning process.
1519 (mpc-proc): Adjust accordingly.
1520
6dad7178
EZ
15212012-08-03 Eli Zaretskii <eliz@gnu.org>
1522
18949c2f
EZ
1523 * whitespace.el (whitespace-display-mappings): Use Unicode
1524 codepoints, instead of emacs-mule codepoints. See
1525 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-07/msg00366.html
1526 for the details.
1527
6dad7178
EZ
1528 * files.el (file-truename): Don't skip symlink-chasing part on
1529 windows-nt. Incorporate the resolution of 8+3 short aliases on
4250fdf5
SM
1530 Windows into the loop that recursively chases symlinks.
1531 Compare directory and its parent case-insensitively on MS-Windows and
6dad7178
EZ
1532 MS-DOS.
1533
385b0198
CY
15342012-08-03 Chong Yidong <cyd@gnu.org>
1535
6200f3c4
CY
1536 * menu-bar.el (menu-bar-tools-menu): Remove PCL-CVS.
1537
385b0198
CY
1538 * sort.el (sort-regexp-fields): Doc fix.
1539
b9e74744
TH
15402012-08-03 Tassilo Horn <tsdh@gnu.org>
1541
1542 * textmodes/reftex.el (reftex-compile-variables): Make keyvals
1543 labels regex position point at the expected place.
1544
41013cb4
MK
15452012-08-03 MON KEY <monkey@sandpframing.com>
1546
1547 * net/imap.el (imap-interactive-login, imap-authenticate)
1548 (imap-mailbox-lsub, imap-mailbox-list)
1549 (imap-mailbox-status-asynch, imap-mailbox-acl-delete)
1550 (imap-fetch, imap-message-flag-permanent-p, imap-envelope-from)
1551 (imap-parse-response): Doc fix.
1552
0ffee616
JT
15532012-08-03 João Távora <joaotavora@gmail.com>
1554
1555 * textmodes/tex-mode.el (latex-forward-sexp): Terminate the loop
1556 if sexp scanning does not move point (Bug#5734).
1557
cfcc9cc8
TH
15582012-08-02 Tassilo Horn <tsdh@gnu.org>
1559
1560 * textmodes/reftex-vars.el (reftex-default-label-alist-entries):
1561 Add listings, minted, and ctable packages.
1562 (reftex-label-alist-builtin): Move listings, minted, and ctable
1563 entries before LaTeX.
a01bbb84 1564 (reftex-label-alist): Docfix.
cfcc9cc8 1565
66ec2442
BG
15662012-08-02 Bastien Guerry <bzg@gnu.org>
1567
1568 * replace.el (occur): Fix docstring (bug#12122).
1569
837b365b
GM
15702012-08-02 Glenn Morris <rgm@gnu.org>
1571
1572 * emacs-lisp/authors.el (authors-renamed-files-alist): Add ms-w32.h.
1573
e098de97
PE
15742012-08-02 Paul Eggert <eggert@cs.ucla.edu>
1575
1576 Obsolete alias inactivate-current-input-method-function (Bug#10150).
1577 * international/mule-cmds.el: Create
1578 inactivate-current-input-method-function as an obsolete alias for
1579 deactivate-current-input-method-function. See Katsumi Yamaoka in
1580 <http://bugs.gnu.org/10150#46>.
1581
a0f95636
JB
15822012-08-01 Jay Belanger <jay.p.belanger@gmail.com>
1583
1584 * calc/calc-mode.el (calc-set-simplify-mode): Use `cond' instead
1585 of nested `if's.
1586
0d26d7c4
GM
15872012-08-01 Glenn Morris <rgm@gnu.org>
1588
1589 * progmodes/autoconf.el (autoconf-definition-regexp):
1590 Add AH_TEMPLATE, adjust submatch numbering.
1591 (autoconf-font-lock-keywords, autoconf-imenu-generic-expression)
1592 (autoconf-current-defun-function): Update for above change.
1593 (autoconf-current-defun-function): First skip to end of current word.
1594
b686ba06
RS
15952012-08-01 Rupert Swarbrick <rswarbrick@gmail.com> (tiny change)
1596
1597 * calendar/cal-html.el (cal-html-insert-agenda-days):
1598 Fix typo. (Bug#12018)
1599
0d49da68
FEG
16002012-07-31 Fabián Ezequiel Gallina <fgallina@cuca>
1601
1602 Shell processes: enhancements to startup and CEDET compatibility.
1603 * progmodes/python.el (python-shell-send-setup-max-wait): Delete var.
1604 (python-shell-make-comint): accept-process-output at startup.
1605 (run-python-internal): Set inferior-python-mode-hook to nil.
1606 (python-shell-internal-get-or-create-process): call sit-for.
1607 (python-preoutput-result): Add obsolete alias.
1608 (python-shell-internal-send-string): Use it.
1609 (python-shell-send-setup-code): Remove call to
1610 accept-process-output.
1611
f1a71c6e
AS
16122012-07-31 Andreas Schwab <schwab@linux-m68k.org>
1613
1614 * buff-menu.el (list-buffers-noselect): Use prefix-numeric-value.
1615 (Bug#12108)
1616
d2605269
JB
16172012-07-31 Jay Belanger <jay.p.belanger@gmail.com>
1618
1619 * calc-mode.el (calc-basic-simplification-mode): Rename from
1620 `calc-limited-simplification-mode'.
1621 (calc-alg-simplification-mode): New function.
fc0c31f8 1622 (calc-set-simplify-mode): Adjust message.
f1a71c6e 1623
d2605269
JB
1624 * calc.el (calc-set-mode-line): Adjust mode line display for
1625 basic simplification mode.
1626
1627 * calc-help.el (calc-m-prefix-help): Update help message.
1628
1629 * calc-ext.el (calc-init-extensions): Add bindings and autoloads
1630 for `calc-basic-simplify-mode' and `calc-alg-simplify-mode'.
1631
a3827a43
BG
16322012-07-31 Bastien Guerry <bzg@gnu.org>
1633
1634 * man.el (man): Fix comment. (bug#12101)
1635
502e3f89
MR
16362012-07-31 Martin Rudalics <rudalics@gmx.at>
1637
1638 * window.el (switch-to-prev-buffer, switch-to-next-buffer):
1639 Don't return a non-nil value when no suitable buffer was found.
1640
d7714961
FEG
16412012-07-31 Fabián Ezequiel Gallina <fgallina@cuca>
1642
1643 * progmodes/python.el (run-python-internal): Disable font lock for
1644 internal shells.
1645
1f45e27e
SM
16462012-07-30 Stefan Merten <smerten@oekonux.de>
1647
1648 * rst.el: Silence `checkdoc-ispell'.
1649 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
1650 (rst-official-version, rst-official-cvs-rev)
1651 (rst-package-emacs-version-alist): Update to upstream V1.3.1.
1652 (rst-mode-map): New key binding.
1653
0aee6912
PE
16542012-07-30 Paul Eggert <eggert@cs.ucla.edu>
1655
1656 Update .PHONY listings in makefiles.
1657 * Makefile.in (.PHONY): Add all, doit, custom-deps, finder-data,
1658 autoloads, update-subdirs, updates, bzr-update, update-authors,
1659 compile-onefile, compile-calc, backup-compiled-files,
1660 compile-after-backup, compile-one-process, mh-autoloads,
1661 bootstrap-clean, distclean, maintainer-clean.
1662
9052f9f0
JB
16632012-07-29 Jay Belanger <jay.p.belanger@gmail.com>
1664
1823ac5a
JB
1665 * calc/calc.el (calc-simplify-mode): Make 'alg the default value.
1666 (calc-set-mode-line): Don't display "AlgSimp ".
1667
1668 * calc/calc-mode.el (calc-alg-simplify-mode): Remove function.
1669 (calc-lim-simplify-mode): New function.
1670 (calc-set-simplify-mode): Default to 'alg.
1671 (calc-default-simplify-mode): Make algebraic simplifications
1672 the default.
1673
1674 * calc/calc-ext.el (calc-init-extensions): Remove binding for
1675 `calc-alg-simplify-mode'. Add binding for `calc-lim-simplify-mode'.
1676
8d7c7eed 1677 * calc/calc-help.el (calc-m-prefix-help): Change messages to
4b337409
JB
1678 indicate new simplification modes.
1679
1823ac5a
JB
1680 * calc/README: Mention new default simplification mode.
1681
9052f9f0
JB
1682 * calc/calc.el (math-normalize-error): New variable.
1683 (math-normalize): Set `math-normalize-error' to t
1684 when there's an error.
1685
1686 * calc/calc-alg.el (math-simplify): Don't simplify when
1687 `math-normalize' returns an error.
1688
20ba0cb4
EZ
16892012-07-29 Eli Zaretskii <eliz@gnu.org>
1690
1691 * international/mule-cmds.el (set-locale-environment): Revert last
1692 change, since display-graphic-p returns nil when this function is
1693 called during startup. Instead...
1694
1695 * term/w32console.el (terminal-init-w32console): ...setup the
1696 keyboard and terminal encoding for TTY sessions here. (Bug#12082)
1697
a5dcc929
JL
16982012-07-29 Juri Linkov <juri@jurta.org>
1699
1700 * simple.el (goto-line): Don't display default line number in the
1701 prompt because it should be displayed by `read-number' (bug#9952).
1702 Add the current line number to the defaults of `goto-line' to
1703 allow its easier modification by users with `M-n' (bug#9201).
1704
1705 * subr.el (read-number): Support multiple default values like in
1706 other minibuffer reading functions. Replace `read' with
1707 `string-to-number' for consistency with `number-to-string'.
1708
72b255c7
PE
17092012-07-29 Paul Eggert <eggert@cs.ucla.edu>
1710
1711 deactive->inactive, inactivate->deactivate spelling fixes (Bug#10150)
1712 * emulation/viper-init.el (viper-deactivate-input-method-action):
1713 Rename from viper-inactivate-input-method-action.
1714 (viper-deactivate-input-method):
1715 Rename from viper-inactivate-input-method.
1716 * follow.el (follow-inactive-menu): Rename from follow-deactive-menu.
1717 * international/mule-cmds.el (deactivate-input-method):
1718 Rename from inactivate-input-method.
1719 Also run input-method-deactivate-hook.
1720 (deactivate-current-input-method-function):
1721 Rename from inactivate-current-input-method-function.
1722 (input-method-deactivate-hook): New hook.
1723 (input-method-inactivate-hook): Mark obsolete.
bb6eb9fc
PE
1724 (inactivate-input-method): Mark obsolete.
1725
72b255c7
PE
1726 * international/quail.el (quail-activate):
1727 Also run quail-deactivate-hook.
1728 (quail-deactivate): Rename from quail-inactivate.
1729 * international/robin.el (robin-activate):
1730 Also run robin-deactivate-hook.
1731 (robin-deactivate): Rename from robin-inactivate.
1732
2549c068
CY
17332012-07-29 Chong Yidong <cyd@gnu.org>
1734
1735 * simple.el (indicate-copied-region): New function.
1736 (kill-ring-save): Split off from here.
1737
1738 * rect.el (copy-rectangle-as-kill): Call indicate-copied-region.
1739 (kill-rectangle): Set deactivate-mark to t on read-only error.
1740
1741 * register.el (copy-to-register, copy-rectangle-to-register):
1742 Deactivate the mark, and use indicate-copied-region (Bug#10056).
c69f56a2
MY
1743 (append-to-register, prepend-to-register):
1744 Call 2012-07-29 Juri Linkov <juri@jurta.org>
17711ed9
JL
1745
1746 * simple.el (async-shell-command-buffer): New defcustom.
1747 (shell-command): Use it. (Bug#4719)
1748
01bd1b0d
EZ
17492012-07-28 Eli Zaretskii <eliz@gnu.org>
1750
1751 * international/mule-cmds.el (set-locale-environment): In a
1752 console session on MS-Windows, set up keyboard and terminal
1753 encoding from the OEM codepage, not the ANSI codepage.
1754 (Bug#12055)
1755
a55739d3
CY
17562012-07-28 Chong Yidong <cyd@gnu.org>
1757
1758 * progmodes/gdb-mi.el (gdb-place-breakpoints): Fix the call to
1759 gdb-get-location.
1760
0e1a094f 17612012-07-28 Leo Liu <sdl.web@gmail.com>
9a0f8f2e
LL
1762
1763 * progmodes/cc-menus.el (cc-imenu-objc-function): Avoid leaving nil in
1764 the alist (bug#12029).
1765
20329d73
EZ
17662012-07-28 Eli Zaretskii <eliz@gnu.org>
1767
1768 * makefile.w32-in (custom-deps, finder-data, updates, compile)
1769 (compile-always, compile-first)
1770 ($(lisp)/calendar/cal-loaddefs.el)
1771 ($(lisp)/calendar/diary-loaddefs.el)
1772 ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
1773 ($(lisp)/net/tramp-loaddefs.el, bootstrap)
1774 ($(lisp)/progmodes/cc-mode.elc): Depend on $(lisp)subdirs.el,
1775 instead of on update-subdirs.
1776 (bootstrap-clean): Delete $(lisp)/subdirs.el.
1777
345a2258
CY
17782012-07-28 Chong Yidong <cyd@gnu.org>
1779
1eee6341
CY
1780 * vc/vc.el (vc-root-diff, vc-print-root-log): Prompt for a
1781 directory if vc-deduce-backend returns nil (Bug#7350).
1782
345a2258
CY
1783 * simple.el (delete-trailing-lines): New option.
1784 (delete-trailing-whitespace): Obey it (Bug#11879).
1785
049a0936
DE
17862012-07-28 David Engster <deng@randomsample.de>
1787
1788 * xml.el (xml-node-name, xml-parse-file, xml-parse-region):
1789 Explanation of new 'symbol-qnames feature in doc-strings.
1790 (xml-maybe-do-ns): Return expanded names as plain symbols if
1791 'symbol-qnames was provided in XML-NS argument (Bug#11916).
1792 (xml-parse-tag-1): Deal with new definition of PARSE-NS argument.
1793
aa81af71
FEG
17942012-07-27 Fabián Ezequiel Gallina <fgallina@cuca>
1795
1796 Consistent completion in inferior python with emacs -nw.
1797 * progmodes/python.el (inferior-python-mode): replace "<tab>"
1798 binding in inferior-python-mode-map with "\t".
1799 (python-shell-completion-complete-at-point)
1800 (python-completion-complete-at-point): Remove interactive spec.
1801
e827b1eb
JB
18022012-07-27 Jay Belanger <jay.p.belanger@gmail.com>
1803
1804 * calc/calccomp.el (math-compose-expr): Undo previous change.
1805
a90dfb95
FEG
18062012-07-27 Fabián Ezequiel Gallina <fgallina@cuca>
1807
4250fdf5 1808 * progmodes/python.el (python-mode-map): Add keybinding for
a90dfb95
FEG
1809 run-python.
1810 (python-shell-make-comint): Fix pop-to-buffer call.
1811 (run-python): Autoload. New arg SHOW.
1812 (python-shell-get-or-create-process): Do not pop python process
1813 buffer.
1814
32770973 18152012-07-27 Michael Albinus <michael.albinus@gmx.de>
1c6ef030
MA
1816
1817 * notifications.el (notifications-on-action-signal)
1818 (notifications-on-closed-signal): Use also the bus address for the map.
1819 (notifications-notify, notifications-close-notification)
fc0c31f8 1820 (notifications-get-capabilities): Add optional argument BUS.
1c6ef030 1821
86332df2
TH
18222012-07-27 Tassilo Horn <tsdh@gnu.org>
1823
4250fdf5
SM
1824 * textmodes/reftex-vars.el (reftex-label-alist-builtin):
1825 Add support for the lstlisting and minted environments, and for the
86332df2
TH
1826 ctable macro.
1827 * textmodes/reftex.el (reftex-compile-variables): Also recognize
1828 labels written in keyvals syntax.
1829
ca1302a4
JB
18302012-07-27 Jay Belanger <jay.p.belanger@gmail.com>
1831
1832 * calc/calccomp.el (math-compose-expr): Use parentheses when
1833 there is a product in the denominator of a fraction.
1834
f8b91036
EZ
18352012-07-26 Eli Zaretskii <eliz@gnu.org>
1836
1837 * makefile.w32-in ($(lisp)/calendar/cal-loaddefs.el)
1838 ($(lisp)/calendar/diary-loaddefs.el)
1839 ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
4250fdf5
SM
1840 ($(lisp)/net/tramp-loaddefs.el): Depend on update-subdirs.
1841 Fixes failures in parallel bootstrap because subdirs.el is being
f8b91036
EZ
1842 rewritten while the autoload files are built at the same time,
1843 which needs to load subdirs.el.
1844
c8e5a42c
MR
18452012-07-26 Martin Rudalics <rudalics@gmx.at>
1846
1847 * mouse.el (popup-menu): Fix doc-string and re-indent code.
1848 (mouse-drag-line): Don't exit tracking when a switch-frame or
1849 switch-window event occurs (Bug#12006).
1850
670d85ea
SM
18512012-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
1852
1853 * mouse.el (popup-menu): Fix last change.
1854
7abaf5cc
SM
18552012-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
1856
1857 Autoload from Lisp with more care. Follow aliases when looking for
1858 function properties.
1859 * subr.el (autoloadp): New function.
1860 (symbol-file): Use it.
1861 (function-get): New function.
1862 * emacs-lisp/macroexp.el (macroexp--expand-all): Use function-get and
1863 autoload-do-load.
1864 * emacs-lisp/lisp-mode.el (lisp-font-lock-syntactic-face-function)
1865 (lisp-indent-function):
1866 * emacs-lisp/gv.el (gv-get):
1867 * emacs-lisp/edebug.el (get-edebug-spec, edebug-basic-spec):
1868 * emacs-lisp/byte-opt.el (byte-optimize-form):
1869 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
1870 * emacs-lisp/autoload.el (make-autoload, autoload-print-form):
1871 Use function-get.
1872 * emacs-lisp/cl.el: Don't propagate function properties any more.
1873
1874 * speedbar.el (speedbar-add-localized-speedbar-support):
1875 * emacs-lisp/disass.el (disassemble-internal):
1876 * desktop.el (desktop-load-file):
1877 * help-fns.el (help-function-arglist, find-lisp-object-file-name)
1878 (describe-function-1):
1879 * emacs-lisp/find-func.el (find-function-noselect):
1880 * emacs-lisp/elp.el (elp-instrument-function):
1881 * emacs-lisp/advice.el (ad-has-proper-definition):
1882 * apropos.el (apropos-safe-documentation, apropos-macrop):
1883 * emacs-lisp/debug.el (debug-on-entry):
1884 * emacs-lisp/cl-macs.el (cl-compiler-macroexpand):
1885 * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
1886 * calc/calc.el (name): Use autoloadp & autoload-do-load.
1887
b1364986
AA
18882012-07-25 Alp Aker <alp.tekin.aker@gmail.com>
1889
1890 * international/mule-cmds.el (ucs-insert): Mark it as an obsolete
1891 function, not an obsolete variable (Bug#12046).
1892
67ada220
AS
18932012-07-25 Andreas Schwab <schwab@linux-m68k.org>
1894
1895 * faces.el (face-spec-reset-face): Fix last change. (Bug#12042)
1896
f08088e3
CS
18972012-07-25 Christopher Schmidt <christopher@ch.ristopher.com>
1898
1899 * emacs-lisp/pp.el (pp-display-expression): Select old selected
1900 window only if it is still live (Bug#12034).
1901
8137e7b3
MR
19022012-07-25 Martin Rudalics <rudalics@gmx.at>
1903
1904 * subr.el (redirect-frame-focus): Add advertised calling
1905 convention (Bug#12030).
1906
09ae5da1
PE
19072012-07-25 Paul Eggert <eggert@cs.ucla.edu>
1908
1909 Prefer typical American spelling for "acknowledgment".
1910 * vc/add-log.el (change-log-acknowledgment): Rename from
1911 change-log-acknowledgement, with an alias for the old name.
1912
3cc5a3a8
JB
19132012-07-25 Jay Belanger <jay.p.belanger@gmail.com>
1914
1915 * calc-alg.el (math-simplify-divide): Don't cross multiply
1916 in an equation when the lhs is a variable.
1917
b7af7f62
JD
19182012-07-24 Julien Danjou <julien@danjou.info>
1919
1920 * net/netrc.el (netrc-find-service-number, netrc-store-data):
1921 Remove, unused.
1922
ec1b09b1
EZ
19232012-07-23 Eli Zaretskii <eliz@gnu.org>
1924
1925 * startup.el (command-line): Don't display an empty user name in
1926 the error message about non-existent home directory, when
1927 init-file-user was set to an empty string. See
1928 http://lists.gnu.org/archive/html/bug-gnu-emacs/2012-07/msg00835.html
1929 for the details and context.
1930
b525fd8a
VB
19312012-07-22 Vincent Belaïche <vincentb1@users.sourceforge.net>
1932
1933 * ses.el (ses-cell-formula-aset): New macro.
1934 (ses-cell-references-aset): New macro.
1935 (ses-cell-p): New function.
1936 (ses-rename-cell): Do no longer rely on complex operations like
1937 ses-cell-set-formula or ses-set-cell to change the cell and handle
1938 the undo at the same time, but rather use lower level new macros
1939 `ses-cell-formula-aset' and `ses-cell-references-aset' and handle
fc0c31f8 1940 the undo directly. Refresh the mode line.
b525fd8a 1941
2c73e345
LL
19422012-07-21 Leo Liu <sdl.web@gmail.com>
1943
670d85ea
SM
1944 * progmodes/cc-cmds.el (c-defun-name):
1945 Use match-string-no-properties instead for consistency.
2c73e345 1946
542dfbde
LL
19472012-07-20 Leo Liu <sdl.web@gmail.com>
1948
3646bcd6
LL
1949 * progmodes/cc-cmds.el (c-defun-name): Handle objc selectors properly.
1950 (Bug#7879)
1951
542dfbde
LL
1952 * progmodes/cc-langs.el (c-symbol-start): Include char _ (bug#11986).
1953
25721031
CY
19542012-07-20 Stefan Monnier <monnier@iro.umontreal.ca>
1955
1956 * userlock.el, emacs-lisp/map-ynp.el: Declare part of `emacs' package.
1957 * progmodes/bug-reference.el, misearch.el: Provide themselves
1958 (bug#11915).
1959
1960 * progmodes/cperl-mode.el (cperl-unwind-to-safe): Don't inf-loop at end
1961 of narrowed buffer (bug#11966).
1962
316e68a7
VB
19632012-07-20 Vincent Belaïche <vincentb1@users.sourceforge.net>
1964
1965 * ses.el (ses-rename-cell): Set new name also in reference list of
1966 cells of which the renamed cell depends.
1967
bbf0e7d9
MY
19682012-07-20 Masatake YAMATO <yamato@redhat.com>
1969
1970 * term/x-win.el (x-menu-bar-open): Use `frame-parameter'
1971 to check whether menu-bar is shown or not. If not shown,
1972 show the menu-bar as a popup menu instead of using tmm.
1973 * mouse.el (popup-menu): Accept `point' as `position' argument.
1974
c28662a8
DG
19752012-07-20 Dmitry Gutov <dgutov@yandex.ru>
1976
1977 * progmodes/ruby-mode.el (ruby-parse-partial): No error when end
1978 up inside string symbol literal (bug#11923).
1979
87ab808f
EZ
19802012-07-20 Eli Zaretskii <eliz@gnu.org>
1981
1982 * startup.el (fancy-startup-text): Read the whole tutorial, not
1983 just its first 256 bytes. Prevents gibberish in display of the
1984 tutorial title.
1985
89dea803
DA
19862012-07-20 Dmitry Antipov <dmantipov@yandex.ru>
1987
1988 Drop idle buffer compaction due to an absence of the
1989 proved efficiency.
1990 * compact.el: Remove.
1991
8a4e6db8
SS
19922012-07-19 Sam Steingold <sds@gnu.org>
1993
1994 * vc/vc-dispatcher.el (vc-compilation-mode): Add, based on
1995 vc-bzr-pull & vc-bzr-merge-branch.
1996 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch): Use it.
1997 (vc-bzr-error-regexp-alist): Rename from vc-bzr-error-regex-alist
1998 for consistency with compilation-error-regexp-alist.
1999 * vc/vc-git.el (vc-git-error-regexp-alist): Add.
2000 (vc-git-pull, vc-git-merge-branch): Call vc-compilation-mode.
2001 * vc/vc-hg.el (vc-hg-error-regexp-alist): Add.
2002 (vc-hg-pull, vc-hg-merge-branch): Call vc-compilation-mode.
2003
5db81e33
SM
20042012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
2005
2006 * emacs-lisp/chart.el: Use lexical-binding.
2007 (chart-emacs-storage): Don't hardcode the list of entries.
2008
5b835e1d
DA
20092012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
2010
2011 Next round of tweaks caused by Fgarbage_collect changes.
2012 * emacs-lisp/chart.el (chart-emacs-storage): Adjust again.
2013
9cd47b72
DA
20142012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
2015
2016 Compact buffers when idle.
2017 * compact.el: New file.
2018
1d6fc0df
SM
20192012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
2020
2021 * subr.el (eventp): Presume that if it looks vaguely like an event,
2022 it's an event (bug#10190).
2023
1d29cc7d
FEG
20242012-07-19 Fabián Ezequiel Gallina <fgallina@cuca>
2025
2026 Enhancements to ppss related code (thanks Stefan).
2027 * progmodes/python.el (python-indent-context)
2028 (python-indent-calculate-indentation, python-indent-dedent-line)
2029 (python-indent-electric-colon, python-nav-forward-block)
2030 (python-mode-abbrev-table)
1d6fc0df 2031 (python-info-assignment-continuation-line-p): Simplify checks
1d29cc7d
FEG
2032 for ppss context.
2033 (python-info-continuation-line-p): Cleanup.
2034 (python-info-ppss-context): Do not catch 'quote.
2035 (python-info-ppss-context-type)
2036 (python-info-ppss-comment-or-string-p): Simplify.
2037
d583cbe6
FEG
20382012-07-18 Fabián Ezequiel Gallina <fgallina@cuca>
2039
2040 * progmodes/python.el: Enhancements to eldoc support.
2041 (python-info-current-symbol): New function.
2042 (python-eldoc-at-point): Use python-info-current-symbol.
2043 (python-info-current-defun): Fix cornercase on first defun scan.
2044 (python-eldoc--get-doc-at-point): Use python-info-current-symbol
2045 and signal error when no inferior python process is available.
2046
eceb6feb
DG
20472012-07-18 Dmitry Gutov <dgutov@yandex.ru>
2048
2049 * vc/vc-git.el (vc-git-state): Don't call `vc-git-registered',
2050 assume it's always t.
2051 (vc-git-registered): Remove caching, the function is only called
2052 once.
2053 (vc-git-branches): Use `vc-git--call' instead of `call-process'.
2054
4c8ff0fe
CY
20552012-07-18 Chong Yidong <cyd@gnu.org>
2056
19fb7186
CY
2057 * subr.el (last-input-char, last-command-char): Remove (Bug#9195).
2058
9587c688
CY
2059 * simple.el (count-words): Report on narrowing (Bug#9959).
2060
0fe776a1
CY
2061 * bindings.el: Bind M-= to count-words.
2062
4c8ff0fe
CY
2063 * faces.el (face-spec-reset-face): Handle reverse video (Bug#4238).
2064
7f5331cc
MY
20652012-07-18 Masatake YAMATO <yamato@redhat.com>
2066
2067 * progmodes/sh-script.el (sh-imenu-generic-expression):
2068 Capture a function with `function' keyword and without parentheses
2069 like "function FOO" (bug#11856).
2070
2dc2a609
TH
20712012-07-18 Tassilo Horn <tassilo@member.fsf.org>
2072
2073 * window.el (split-window-sensibly): Make WINDOW argument
2074 optional.
2075
439f7677
CY
20762012-07-18 Chong Yidong <cyd@gnu.org>
2077
9aeb25a6
CY
2078 * subr.el (keyboard-translate): Doc fix (Bug#7261).
2079
439f7677
CY
2080 * isearch.el (isearch-mode-map): Handle C-x 8 key translations,
2081 and make C-x 8 RET exit isearch (Bug#11439).
2082
2083 * international/iso-transl.el: Move isearch-mode-map key
2084 definitions to isearch.el.
2085
12999ea8
SM
20862012-07-18 Stefan Monnier <monnier@iro.umontreal.ca>
2087
2088 * emacs-lisp/eieio.el: Adapt further to gv.el (bug#11970).
2089 (eieio-defclass): Use gv-define-setter when possible.
2090
3ab6e069
DA
20912012-07-18 Dmitry Antipov <dmantipov@yandex.ru>
2092
2093 Reflect recent changes in Fgarbage_collect.
2094 * emacs-lisp/chart.el (chart-emacs-storage): Change to
2095 reflect new format of data returned by Fgarbage_collect.
2096
0a60bc10
FEG
20972012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
2098
2099 New utility functions + python-info-ppss-context fix (Bug#11910).
2100 * progmodes/python.el (python-info-beginning-of-block-statement-p)
2101 (python-info-ppss-comment-or-string-p): New functions.
2102 (python-info-ppss-context): Small fix for string check.
2103
6dafa0d5
JL
21042012-07-17 Juri Linkov <juri@jurta.org>
2105
2106 * dired-aux.el (dired-do-async-shell-command): Doc fix.
2107 (dired-do-async-shell-command): Don't add `*' at the end of the
2108 command (Bug#11815).
2109 (dired-do-shell-command): Doc fix.
2110 (dired-shell-stuff-it): Strip the trailing "&" and ";" if any.
2111 Join the individual commands using either "&" or ";" as the
2112 separator depending on the values of these trailing characters.
2113 At the end re-add the trailing "&". (Bug#10598)
2114
2115 * simple.el (async-shell-command): Sync the interactive spec with
2116 `shell-command'. Doc fix.
2117 (shell-command): Doc fix.
2118
b19dd9d1
JL
21192012-07-17 Juri Linkov <juri@jurta.org>
2120
2121 * descr-text.el (describe-char): Fix format args. (Bug#10129)
2122
bcdc27d7 21232012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
7f5331cc 2124
bcdc27d7 2125 Final renames and doc fixes for movement commands (bug#11899).
7f5331cc
MY
2126 * progmodes/python.el (python-nav-beginning-of-statement):
2127 Rename from python-nav-statement-start.
bcdc27d7
FEG
2128 (python-nav-end-of-statement): Rename from
2129 python-nav-statement-end.
2130 (python-nav-beginning-of-block): Rename from
2131 python-nav-block-start.
2132 (python-nav-end-of-block): Rename from python-nav-block-end.
2133
191da00e
FEG
21342012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
2135
7f5331cc
MY
2136 * progmodes/python.el (python-shell-send-string-no-output):
2137 Allow accept-process-output to quit, keeping shell process ready for
191da00e
FEG
2138 future interactions (Bug#11868).
2139
4dc7c8d5 21402012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
aa7aaf8f 2141
88ecaf8f
SM
2142 * emacs-lisp/cl-macs.el (cl-progv): Use a properly prefixed var name.
2143
ef501ef0
SM
2144 * emacs-lisp/elint.el (elint-find-args-in-code):
2145 Use help-function-arglist, so as to handle lexical byte-code.
2146
aa7aaf8f
SM
2147 * progmodes/sh-script.el (sh-syntax-propertize-function): Fix last
2148 change (bug#11826).
2149
45fd731c
SM
21502012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
2151
2143fa32
SM
2152 * progmodes/cc-engine.el (c-forward-sws, c-backward-sws):
2153 Avoid spuriously marking the buffer as modified because of c-is-sws.
2154
efc26dbe
SM
2155 * progmodes/sh-script.el (sh-syntax-propertize-function): Mark "${#VAR"
2156 as not-a-comment (bug#11946).
2157
f5695c9a
SM
2158 * emacs-lisp/macroexp.el (macroexp-let2): Use more informative names
2159 for uninterned vars.
2160
2161 * xt-mouse.el (xterm-mouse-translate-1, xterm-mouse-event-read):
2162 Use read-event since we don't really want to read chars but bytes.
2163
45fd731c
SM
2164 * textmodes/tex-mode.el (tex-font-lock-keywords-1): Highlight not only
2165 $$..$$ but also $..$ using regexps (bug#11953).
2166 Use tex-verbatim for \url and \path.
2167 (tex-font-lock-keywords): Define as defconst like the others.
2168 (tex-common-initialization): Don't use font-lock-syntax-table any more.
2169
ddfc8813
RK
21702012-07-16 René Kyllingstad <Rene@Kyllingstad.com> (tiny change)
2171
2172 * international/mule-cmds.el (ucs-insert): Make it an obsolete
2173 alias for insert-char.
2174
758e556a
FEG
21752012-07-16 Fabián Ezequiel Gallina <fgallina@cuca>
2176
2177 * progmodes/python.el: Simplified imenu implementation.
2178 (python-nav-jump-to-defun): Remove command.
2179 (python-mode-map): Use `imenu' instead.
2180 (python-nav-list-defun-positions-cache)
2181 (python-imenu-include-defun-type, python-imenu-make-tree)
2182 (python-imenu-subtree-root-label, python-imenu-index-alist):
2183 Remove vars.
2184 (python-nav-list-defun-positions, python-nav-read-defun)
2185 (python-imenu-tree-assoc, python-imenu-make-element-tree)
45fd731c
SM
2186 (python-imenu-make-tree, python-imenu-create-index):
2187 Remove functions.
758e556a
FEG
2188 (python-mode): Update to interact with imenu by setting
2189 `imenu-extract-index-name-function' only.
2190
032d23ab
FEG
21912012-07-16 Fabián Ezequiel Gallina <fgallina@cuca>
2192
2193 * progmodes/python.el: Enhancements to navigation commands.
2194 (python-nav-backward-sentence)
2195 (python-nav-forward-sentence): Remove.
2196 (python-nav-backward-statement, python-nav-forward-statement)
2197 (python-nav-statement-start, python-nav-statement-end)
2198 (python-nav-backward-block, python-nav-forward-block)
2199 (python-nav-block-start, python-nav-block-end)
2200 (python-nav-forward-sexp-function)
2201 (python-info-current-line-comment-p)
2202 (python-info-current-line-empty-p): New functions.
2203 (python-indent-context): Use `python-nav-statement-start'.
2204
01795a1b
MA
22052012-07-16 Michael Albinus <michael.albinus@gmx.de>
2206
9328d9aa
MA
2207 * eshell/em-ls.el (eshell/ls): Use `apply'.
2208
2209 * eshell/em-unix.el (eshell/su, eshell/sudo): Apply Tramp's ad-hoc
2210 multi-hops, instead of Tramp internals.
2211
01795a1b
MA
2212 * vc/ediff.el (ediff-directories): Add trailing space to prompts.
2213
2214 * vc/ediff-diff.el (ediff-same-file-contents): Handle the case,
2215 when F1 and F2 are located on different hosts.
2216
63408057
CY
22172012-07-14 Chong Yidong <cyd@gnu.org>
2218
2219 * xt-mouse.el: Implement extended mouse coordinates (Bug#10642).
2220 (xterm-mouse-translate): Move code into xterm-mouse-translate-1.
2221 (xterm-mouse-translate-extended, xterm-mouse-translate-1)
2222 (xterm-mouse--read-event-sequence-1000)
2223 (xterm-mouse--read-event-sequence-1006): New functions. For old
2224 mouse protocol, handle M-mouse-X events correctly.
2225 (xterm-mouse-event): New arg specifying mouse protocol.
2226 (turn-on-xterm-mouse-tracking-on-terminal)
2227 (turn-off-xterm-mouse-tracking-on-terminal): Send DEC 1006
45fd731c
SM
2228 sequence to toggle extended coordinates on newer XTerms.
2229 This appears to be harmless on terminals which do not support this.
63408057 2230
cd276f6e
LL
22312012-07-14 Leo Liu <sdl.web@gmail.com>
2232
28ca98ac
LL
2233 Add fringe bitmap indicators for flymake. (Bug#11253)
2234 * progmodes/flymake.el (flymake-highlight-line): Use fringe bitmaps.
2235 (flymake-make-overlay): New arg BITMAP.
2236 (flymake-error-bitmap, flymake-warning-bitmap)
2237 (flymake-fringe-indicator-position): New user variables.
2238
cd276f6e
LL
2239 * fringe.el: New bitmap exclamation-mark.
2240
04408072
JD
22412012-07-14 Jan Djärv <jan.h.d@swipnet.se>
2242
2243 * progmodes/cc-cmds.el (c-defun-name): Recognize Objective-C methods
2244 also (Bug#7879).
2245
b5cf7fc4
CY
22462012-07-14 Chong Yidong <cyd@gnu.org>
2247
2248 * electric.el (electric-pair-post-self-insert-function): Fix pair
2249 insertion in empty-region case (Bug#11520).
2250
be755c79
RT
22512012-07-14 Chong Yidong <cyd@gnu.org>
2252
45fd731c
SM
2253 * bindings.el: Consolidate ctl-x-r-map bindings.
2254 Bind copy-rectangle-as-kill to C-x r w.
be755c79
RT
2255
2256 * rect.el, register.el: Move bindings to bindings.el.
2257
22582012-07-14 Reuben Thomas <rrt@sc3d.org>
2259
2260 * rect.el (copy-rectangle-as-kill): New command (Bug#739).
2261
7f5b3198
AS
22622012-07-13 Andreas Schwab <schwab@linux-m68k.org>
2263
2264 * emacs-lisp/cl.el (labels): Remove spurious quote. (Bug#11938)
2265
97662200
JB
22662012-07-13 Juanma Barranquero <lekktu@gmail.com>
2267
80185fed
JB
2268 * bindings.el (top): Use `mapc' instead of `mapcar'.
2269
97662200
JB
2270 * loadup.el (top): Remove bogus `if' choice (brought by 2008-06-21T01:38:39Z!monnier@iro.umontreal.ca).
2271
2bb1ae55
MA
22722012-07-13 Michael Albinus <michael.albinus@gmx.de>
2273
2274 * progmodes/sql.el (sql-comint): Suppress the check for program on
2275 remote hosts. Reported by Francis Devereux <francis@devrx.org>.
2276 (Bug#11908)
2277
dea31bd3
CY
22782012-07-13 Chong Yidong <cyd@gnu.org>
2279
2280 * bindings.el: Assign a non-nil permanent-local property to
2281 per-buffer variables which lack a default value (Bug#11930).
2282
2283 * help-fns.el (describe-variable): In the "automatically becomes
2284 local" notice, take note of permanent-local variables.
2285
b68b3337
CY
22862012-07-13 Chong Yidong <cyd@gnu.org>
2287
2288 * files.el (toggle-read-only): Doc fix and code cleanup. New arg
2289 to allow printing the message when called from Lisp.
2290
2291 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
2292 Remove toggle-read-only.
2293
2294 * bs.el (bs-toggle-readonly):
45fd731c
SM
2295 * buff-menu.el (Buffer-menu-toggle-read-only):
2296 Remove with-no-warnings around toggle-read-only.
b68b3337
CY
2297
2298 * ffap.el (ffap--toggle-read-only): Accept a list of buffers.
2299 Remove with-no-warnings around toggle-read-only.
2300 (ffap-read-only, ffap-read-only-other-window)
2301 (ffap-read-only-other-frame): Callers changed.
2302
2303 * help-mode.el: Don't require view package.
2304 (help-mode-finish): Set buffer-read-only instead of calling
2305 toggle-read-only.
2306
2307 * bindings.el (mode-line-toggle-read-only):
2308 * dired.el (dired-toggle-read-only):
2309 * ibuffer.el (ibuffer-do-toggle-read-only): Call toggle-read-only
2310 with non-nil second arg.
2311
2312 * emacs-lisp/eieio-custom.el (eieio-customize-object):
2313 * vc/ediff.el (ediff-set-read-only-in-buf-A): Set buffer-read-only
2314 directly.
2315
56bc1586
EZ
23162012-07-12 Eli Zaretskii <eliz@gnu.org>
2317
2318 * emacs-lisp/bytecomp.el (byte-recompile-directory): Use cl-incf,
2319 not incf.
2320
a464a6c7
SM
23212012-07-11 Stefan Monnier <monnier@iro.umontreal.ca>
2322
2323 More CL cleanups and reduction of use of cl.el.
2324 * woman.el, winner.el, vc/vc-rcs.el, vc/vc-hooks.el, vc/vc-hg.el:
2325 * vc/vc-git.el, vc/vc-dir.el, vc/vc-bzr.el, vc/vc-annotate.el:
2326 * textmodes/tex-mode.el, textmodes/sgml-mode.el, tar-mode.el:
2327 * strokes.el, ses.el, server.el, progmodes/js.el, progmodes/gdb-mi.el:
2328 * progmodes/flymake.el, progmodes/ebrowse.el, progmodes/compile.el:
2329 * play/tetris.el, play/snake.el, play/pong.el, play/landmark.el:
2330 * play/hanoi.el, play/decipher.el, play/5x5.el, nxml/nxml-mode.el:
2331 * net/secrets.el, net/quickurl.el, midnight.el, mail/footnote.el:
2332 * image-dired.el, ibuffer.el, ibuf-macs.el, ibuf-ext.el, hexl.el:
2333 * eshell/eshell.el, eshell/esh-io.el, eshell/esh-ext.el:
2334 * eshell/esh-cmd.el, eshell/em-ls.el, eshell/em-hist.el:
2335 * eshell/em-cmpl.el, eshell/em-banner.el:
2336 * calendar/parse-time.el: Use cl-lib.
2337 * wid-browse.el, wdired.el, vc/vc.el, vc/vc-mtn.el, vc/vc-cvs.el:
2338 * vc/vc-arch.el, tree-widget.el, textmodes/texinfo.el:
2339 * textmodes/refill.el, textmodes/css-mode.el, term/tvi970.el:
2340 * term/ns-win.el, term.el, shell.el, ps-samp.el:
2341 * progmodes/perl-mode.el, progmodes/pascal.el, progmodes/gud.el:
2342 * progmodes/glasses.el, progmodes/etags.el, progmodes/cwarn.el:
2343 * play/gamegrid.el, play/bubbles.el, novice.el, notifications.el:
2344 * net/zeroconf.el, net/xesam.el, net/snmp-mode.el, net/mairix.el:
2345 * net/ldap.el, net/eudc.el, net/browse-url.el, man.el:
2346 * mail/mailheader.el, mail/feedmail.el: Don't use CL.
2347 * ibuf-ext.el (ibuffer-mark-old-buffers): Use float-time.
2348 * eshell/esh-opt.el (eshell-eval-using-options): Quote code with
2349 `lambda' rather than with `quote'.
2350 (eshell-do-opt): Adjust accordingly.
2351 (eshell-process-option): Simplify.
2352 * eshell/esh-var.el:
2353 * eshell/em-script.el: Require `esh-opt' for eshell-eval-using-options.
2354 * emacs-lisp/pcase.el (pcase--dontcare-upats, pcase--let*)
2355 (pcase--expand, pcase--u1): Rename pcase's internal `dontcare' pattern
2356 to `pcase--dontcare'.
2357 * emacs-lisp/cl.el (labels): Mark obsolete.
2358 (cl--letf, letf): Move to cl-lib.
2359 (cl--letf*, letf*): Remove.
2360 * emacs-lisp/cl-lib.el (cl-nth-value): Use defalias.
2361 * emacs-lisp/cl-macs.el (cl-dolist, cl-dotimes): Add indent rule.
2362 (cl-progv): Rewrite.
2363 (cl--letf, cl-letf): Move from cl.el.
2364 (cl-letf*): New macro.
2365 * emacs-lisp/cl-extra.el (cl--progv-before, cl--progv-after): Remove.
2366
7ad4afe1
MA
23672012-07-11 Michael Albinus <michael.albinus@gmx.de>
2368
2369 * net/ange-ftp.el (ange-ftp-cf1): Update the files cache.
2370
9af57756
CY
23712012-07-11 Chong Yidong <cyd@gnu.org>
2372
2373 * vc/log-edit.el (log-edit-vc-backend): New variable.
2374 (log-edit): Doc fix.
2375
2376 * vc/vc-dispatcher.el (vc-log-edit): New args. Use PARAMS
2377 argument of log-edit to set up all local variables.
2378 (vc-start-logentry): New optional arg specifying VC backend.
2379
2380 * vc/vc.el (vc-checkin): Use it.
2381 (vc-deduce-fileset): Handle Log Edit buffers.
2382 (vc-diff): Make first argument optional too.
2383
2384 * vc/log-view.el (log-view-vc-fileset, log-view-vc-backend): Doc fix.
2385
8477cc7a
MA
23862012-07-10 Michael Albinus <michael.albinus@gmx.de>
2387
2388 * eshell/esh-ext.el (eshell-remote-command): Remove remote part of
2389 command, just in case. The function is not needed anymore.
2390 (eshell-external-command): Do not call `eshell-remote-command'.
2391
19faa8e8
SM
23922012-07-10 Stefan Monnier <monnier@iro.umontreal.ca>
2393
f58e0fd5
SM
2394 Reduce use of (require 'cl).
2395 * vc/smerge-mode.el, vc/pcvs.el, vc/pcvs-util.el, vc/pcvs-info.el:
2396 * vc/diff-mode.el, vc/cvs-status.el, uniquify.el, scroll-bar.el:
2397 * register.el, progmodes/sh-script.el, net/gnutls.el, net/dbus.el:
2398 * msb.el, mpc.el, minibuffer.el, international/ucs-normalize.el:
2399 * international/quail.el, info-xref.el, imenu.el, image-mode.el:
2400 * font-lock.el, filesets.el, edmacro.el, doc-view.el, bookmark.el:
2401 * battery.el, avoid.el, abbrev.el: Use cl-lib.
2402 * vc/pcvs-parse.el, vc/pcvs-defs.el, vc/log-view.el, vc/log-edit.el:
2403 * vc/diff.el, simple.el, pcomplete.el, lpr.el, comint.el, loadhist.el:
2404 * jit-lock.el, international/iso-ascii.el, info.el, frame.el, bs.el:
2405 * emulation/crisp.el, electric.el, dired.el, cus-dep.el, composite.el:
2406 * calculator.el, autorevert.el, apropos.el: Don't require CL.
2407 * emacs-lisp/bytecomp.el (byte-recompile-directory, display-call-tree)
2408 (byte-compile-unfold-bcf, byte-compile-check-variable):
2409 * emacs-lisp/byte-opt.el (byte-compile-trueconstp)
2410 (byte-compile-nilconstp):
2411 * emacs-lisp/autoload.el (make-autoload): Use pcase.
2412 * face-remap.el (text-scale-adjust): Simplify pcase patterns.
2413
2519d43a
SM
2414 * emacs-lisp/gv.el (cond): Make it a valid place.
2415 (if): Simplify slightly.
2416
19faa8e8
SM
2417 * emacs-lisp/pcase.el (pcase): Accept self-quoting exps as "upatterns".
2418 (pcase--self-quoting-p): New function.
2419 (pcase--u1): Use it.
2420
c4907a5e
GM
24212012-07-10 Glenn Morris <rgm@gnu.org>
2422
2423 * emacs-lisp/authors.el (authors-fixed-entries):
2424 (authors-renamed-files-alist): Update for configure.in -> configure.ac.
2425
c4444d16
PE
24262012-07-09 Paul Eggert <eggert@cs.ucla.edu>
2427
2428 Rename configure.in to configure.ac (Bug#11603).
2429 * emacs-lisp/authors.el (authors-canonical-file-name):
2430 * progmodes/autoconf.el (autoconf-mode):
2431 Prefer configure.ac to configure.in.
2432
d75be97d
CY
24332012-07-08 Chong Yidong <cyd@gnu.org>
2434
01ac65bd
CY
2435 * mouse.el (mouse-drag-line): Rewrite the track-mouse loop.
2436 Implement the mouse-1-click-follows-link handling properly.
2437
2438 * info.el (Info-link-keymap): Use follow-link mechanism for
2439 header-line links (Bug#374).
2440
d75be97d
CY
2441 * simple.el (deactivate-mark): Do not set the primary selection
2442 if another program has acquired it (Bug#11772).
2443
87a92845 24442012-07-07 Kevin Ryde <user42@zip.com.au>
f0ecdfea
KR
2445
2446 * woman.el (woman-strings): Fix double-quote handling (Bug#1151).
2447 (woman-decode-region): Replace escaped-escapes without destroying
2448 bold or underline (Bug#11552).
87a92845 2449 (woman2-process-escapes): Handle nofill regions (Bug#11591).
f0ecdfea 2450
621b9d6c
CY
24512012-07-07 Chong Yidong <cyd@gnu.org>
2452
2453 * simple.el (yank-pop-change-selection): Doc fix (Bug#11361).
19faa8e8
SM
2454 (interprogram-cut-function, interprogram-paste-function):
2455 Mention that we typically mean the clipboard.
621b9d6c 2456
133a11fc
GM
24572012-07-06 Glenn Morris <rgm@gnu.org>
2458
0d27a45e
GM
2459 * kmacro.el (kmacro-call-macro): Restore repeat message. (Bug#11817)
2460
133a11fc
GM
2461 * files.el (toggle-read-only): Restrict message to interactive use.
2462
07b151f1
MA
24632012-07-06 Michael Albinus <michael.albinus@gmx.de>
2464
2465 * net/tramp.el (tramp-restricted-shell-hosts-alist): New defcustom.
2466
2467 * net/tramp-sh.el (tramp-maybe-open-connection): Handle it.
2468
211b896b
GM
24692012-07-06 Glenn Morris <rgm@gnu.org>
2470
50394322
GM
2471 * Makefile.in (compile-one-process): Rename from "recompile".
2472
211b896b
GM
2473 * Makefile.in (bzr-update): "compile" is the same as "recompile
2474 autoloads", but parallelizable, so use that instead.
2475
4737eec9
DG
24762012-07-06 Dmitry Gutov <dgutov@yandex.ru>
2477
2478 * window.el (quit-window): Always restore window height when
8137e7b3 2479 it's saved in quit-restore parameter (Bug#11810).
4737eec9 2480
226c3633 24812012-07-06 Glenn Morris <rgm@gnu.org>
cb442973
GM
2482
2483 * simple.el (kill-whole-line): Doc tweak.
2484
226c3633 24852012-07-06 Eli Zaretskii <eliz@gnu.org>
93842198
EZ
2486
2487 * files.el (file-relative-name): Compare file names
2488 case-insensitively if on MS-Windows or MS-DOS, or if
2489 read-file-name-completion-ignore-case is non-nil. Don't use
2490 case-fold-search for this purpose. (Bug#11827)
2491
4dc7c8d5
SM
24922012-07-17 Andreas Schwab <schwab@linux-m68k.org>
2493
2494 * calendar/cal-dst.el (calendar-current-time-zone):
2495 Return calendar-current-time-zone-cache if non-nil.
2496
24972012-07-17 Masatake YAMATO <yamato@redhat.com>
226c3633 24982012-07-06 Andreas Schwab <schwab@linux-m68k.org>
3d8b9024 2499
19faa8e8
SM
2500 * calendar/cal-dst.el (calendar-current-time-zone):
2501 Return calendar-current-time-zone-cache if non-nil.
3d8b9024 2502
60198fc9
GM
25032012-07-06 Glenn Morris <rgm@gnu.org>
2504
2505 * Makefile.in (cvs-update): Remove old alias.
2506
957b3189
MA
25072012-07-05 Michael Albinus <michael.albinus@gmx.de>
2508
2509 Sync with Tramp 2.2.6-pre.
2510
2511 * net/tramp.el (tramp-drop-volume-letter): Provide an XEmacs
2512 compatible declaration.
2513
19faa8e8
SM
2514 * net/tramp-cmds.el (tramp-append-tramp-buffers):
2515 Protect `list-load-path-shadows' call.
957b3189
MA
2516
2517 * net/tramp-compat.el (top): Require packages, which aren't
2518 autoloaded anymore for XEmacs. Protect call of
2519 `tramp-file-name-handler' by `tramp-compat-funcall', pacifying the
2520 compiler. Do not require tramp-util.el and tramp-vc.el anymore,
2521 it hurts at least for SXEmacs.
2522 (tramp-compat-temporary-file-directory): In XEmacs, there is no
2523 standard-value for `temporary-file-directory'.
2524
2525 * net/tramp-sh.el (tramp-do-directory-files-and-attributes-with-stat):
2526 Redirect stderr to /dev/null.
2527 (tramp-sh-handle-write-region): uid and gid can be floats.
2528 Reported by Russell Sim <russell.sim@gmail.com>.
2529 (tramp-sh-handle-vc-registered): Hide errors.
2530 (tramp-vc-file-name-handler): Use dummy results for `process-file'
2531 and `start-file-process'.
2532 (tramp-maybe-open-connection): Check also whether `non-essential'
2533 is bound.
2534
566df3fc
CY
25352012-07-04 Chong Yidong <cyd@gnu.org>
2536
2537 * xml.el (xml--parse-buffer): Use xml-syntax-table.
2538 (xml-parse-tag): Likewise, and avoid changing entity tables.
2539 (xml-syntax-table): Define from scratch, making sure not to give
2540 x2000 and other Unicode spaces whitespace syntax, since those are
2541 not spaces in XML.
2542 (xml-parse-fragment): Delete unused function.
2543 (xml-name-start-char-re, xml-name-char-re, xml-name-re)
2544 (xml-names-re, xml-nmtoken-re, xml-nmtokens-re, xml-char-ref-re)
2545 (xml-entity-ref, xml-pe-reference-re)
2546 (xml-reference-re,xml-att-value-re, xml-tokenized-type-re)
2547 (xml-notation-type-re, xml-enumeration-re, xml-enumerated-type-re)
2548 (xml-att-type-re, xml-default-decl-re, xml-att-def-re)
2549 (xml-entity-value-re): Use syntax references in regexps where
2550 possible; no need to define inside a let-binding.
2551 (xml-parse-dtd): Use xml-pe-reference-re.
2552 (xml-entity-or-char-ref-re): New defconst.
2553 (xml-parse-string, xml-substitute-special): Use it.
2554
30eabd7a
SM
25552012-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
2556
0781098a
SM
2557 * files.el (locate-dominating-file): Allow `name' to be a predicate.
2558 (find-file--read-only): New function.
2559 (find-file-read-only, find-file-read-only-other-window)
2560 (find-file-read-only-other-frame): Use it.
2561 (insert-file-contents-literally): Don't `fset'.
2562 (get-free-disk-space): Use locate-dominating-file.
2563
b5771c0d
SM
2564 * emacs-lisp/bytecomp.el (byte-compile): Don't signal an error if the
2565 function is already compiled.
2566
30eabd7a
SM
2567 * xml.el (xml-name-regexp): Remove, redundant. Use xml-name-re.
2568
b4886f6e
MA
25692012-07-03 Michael Albinus <michael.albinus@gmx.de>
2570
2571 * vc/ediff-diff.el (ediff-same-file-contents): Fix it for remote
2572 files on the same host.
2573
b9d82339
AS
25742012-07-03 Andreas Schwab <schwab@linux-m68k.org>
2575
2576 * help-fns.el (describe-function-1): Only call
2577 help-fns--autoloaded-p when we have a file name. (Bug#11848)
2578
a76e6535
CY
25792012-07-03 Chong Yidong <cyd@gnu.org>
2580
2581 * xml.el: Protect parser against XML bombs.
2582 (xml-entity-expansion-limit): New variable.
2583 (xml-parse-string, xml-substitute-special): Use it.
2584 (xml-parse-dtd): Avoid infloop if the DTD is not terminated.
2585
b544fef2
GM
25862012-07-03 Glenn Morris <rgm@gnu.org>
2587
2588 * progmodes/bug-reference.el (bug-reference-bug-regexp):
2589 Allow linking to specific messages in debbugs reports (eg 123#5).
2590
a7aef6f5
CY
25912012-07-02 Chong Yidong <cyd@gnu.org>
2592
2593 * xml.el: Fix entity and character reference expansion, allowing
2594 them to expand into markup as per XML spec.
2595 (xml-default-ns): New variable.
2596 (xml-entity-alist): Use XML spec definitions for lt and amp.
30eabd7a
SM
2597 (xml-parse-region): Make first two arguments optional.
2598 Discard text properties.
2599 (xml-parse-tag-1): New function, spun off from xml-parse-tag.
2600 All callers changed.
a7aef6f5
CY
2601 (xml-parse-tag): Call xml-parse-tag-1. For backward
2602 compatibility, this function should not modify buffer contents.
2603 (xml-parse-tag-1): Fix opening-tag regexp.
2604 (xml-parse-string): Rewrite, handling entity and character
2605 references properly.
2606 (xml--entity-replacement-text): Signal an error if a parameter
2607 entity is undefined.
2608
3df31c9f
SM
26092012-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
2610
2b5208f1
SM
2611 * comint.el (comint-output-filter): Filter out repeated prompts.
2612
3df31c9f
SM
2613 * net/ange-ftp.el (ange-ftp-expand-file-name): Use ange-ftp-ftp-name
2614 and file-name-absolute-p.
2615 (ange-ftp-file-exists-p): Use ange-ftp-file-exists-p for
2616 internal calls.
2617
e3ac1281
PE
26182012-07-02 Paul Eggert <eggert@cs.ucla.edu>
2619
2620 Spelling fixes.
2621 * emacs-lisp/bytecomp.el (byte-compile--reify-function):
2622 Rename from byte-compile--refiy-function. All uses changed.
2623
fbf2e7ad
CY
26242012-07-01 Chong Yidong <cyd@gnu.org>
2625
2626 * xml.el (xml--parse-buffer): New function. Move most of
2627 xml-parse-region here.
2628 (xml-parse-region): Copy region into a temporary buffer, since
2629 parameter entity substitution requires changing buffer contents.
2630 Use xml--parse-buffer.
2631 (xml-parse-file): Use xml--parse-buffer.
2632 (xml-parse-dtd): Make parameter entity substitution work right.
6fe566a7 2633 Use proper regexps for ELEMENT declarations (Bug#7172).
fbf2e7ad 2634
9bf0aa15
GM
26352012-06-30 Glenn Morris <rgm@gnu.org>
2636
bbce2853
GM
2637 * comint.el (follow-comint-scroll-to-bottom): Fix declaration.
2638
9bf0aa15
GM
2639 * net/secrets.el, net/tramp-gvfs.el, net/xesam.el, net/zeroconf.el:
2640 Remove outdated and unnecessary dbus declarations.
2641
0d23c240
EZ
26422012-06-30 Eli Zaretskii <eliz@gnu.org>
2643
2644 * emacs-lisp/timer.el (timer-until): Subtract results of
2645 float-time, instead of taking float-time of the result of
2646 time-subtract, since float-time signals an error for negative time
2647 arguments.
2648
b3218de1
CY
26492012-06-30 Chong Yidong <cyd@gnu.org>
2650
2651 * xml.el (xml-*-re): Convert defvars into defconsts, and
2652 eval-and-compile them so eval-and-compile works on derivatives.
2653 (xml--entity-replacement-text): Use eval-and-comple.
2654
a40c87a0
MA
26552012-06-30 Michael Albinus <michael.albinus@gmx.de>
2656
2657 * vc/vc-git.el (vc-git-registered): Use cache property
2658 `git-registered'.
2659 (vc-git-mode-line-string): Call `vc-working-revision' instead of
2660 `vc-git-working-revision' in order to benefit from the cache.
2bb1ae55 2661 (vc-git-root): Use cache property `git-root'. (Bug#11757)
a40c87a0 2662
ac87de97
DG
26632012-06-30 Dmitry Gutov <dgutov@yandex.ru>
2664
2665 * vc/vc-hooks.el (vc-before-save): Clear cache if file has been
2bb1ae55 2666 removed (likely outside Emacs). (Bug#11757)
ac87de97 2667
ac10fe06
SM
26682012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
2669
3df31c9f 2670 * emacs-lisp/cl-lib.el: Require macroexp.
ac10fe06 2671
7f3fbd5d
CY
26722012-06-30 Chong Yidong <cyd@gnu.org>
2673
2674 * xml.el: Implement XML parameter entities.
2675 (xml-parameter-entity-alist): New variable.
2676 (xml-parse-region, xml-parse-fragment): Preserve previous values
2677 of xml-entity-alist and xml-parameter-entity-alist, so that
2678 repeated calls on different documents do not change them.
2679 (xml-parse-tag): Fix doctype regexp.
2680 (xml--entity-replacement-text): New function.
2681 (xml-parse-dtd): Use it. Don't handle system entities; doing that
2682 properly requires url retrieval which is unimplemented.
2683 (xml-escape-string): Doc fix.
2684
3cfbebba
SM
26852012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
2686
2687 * emacs-lisp/cl-lib.el (cl-pushnew): Use macroexp-let2.
2688
2af3565e
DA
26892012-06-29 Dmitry Antipov <dmantipov@yandex.ru>
2690
2691 * fringe.el (fringe-mode): Doc fix.
2692
929df0e7
MA
26932012-06-29 Michael Albinus <michael.albinus@gmx.de>
2694
2695 * net/ange-ftp.el (ange-ftp-get-passwd): Throw if `non-essential'
2696 is non-nil.
2697 (ange-ftp-ignore-errors-if-non-essential): New defmacro.
2698 (ange-ftp-file-name-all-completions): Use it. (Bug#11808)
2699
c8d3a25c 27002012-06-29 Andreas Schwab <schwab@linux-m68k.org>
3d8b9024 2701
c8d3a25c
GM
2702 * calendar/cal-dst.el (calendar-current-time-zone):
2703 Return calendar-current-time-zone-cache if non-nil.
3d8b9024 2704
c8d3a25c 27052012-06-29 Masatake YAMATO <yamato@redhat.com>
26e8548e
MY
2706
2707 * progmodes/which-func.el (which-func-format):
2708 Add mouse-face. (Bug#11698)
2709
c8d3a25c
GM
27102012-06-29 Leo Liu <sdl.web@gmail.com>
2711
2712 * textmodes/enriched.el (enriched-next-annotation): Use eq (Bug#11528).
2713
27142012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
2715
2716 * minibuffer.el (minibuffer-confirm-exit-commands):
2717 Add completion-at-point (bug#11725).
2718
27192012-06-29 Glenn Morris <rgm@gnu.org>
2720
2721 * progmodes/f90.el (f90-font-lock-keywords-2):
2722 Add some preprocessor elements. (Bug#10499)
2723
27242012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
2725
2726 * progmodes/cperl-mode.el (cperl-update-syntaxification):
2727 Use syntax-propertize (bug#11739).
2728
2badeec4
JB
27292012-06-28 Juanma Barranquero <lekktu@gmail.com>
2730
2731 * emacs-lisp/cl-lib.el (cl-pushnew): Don't capture X (bug#11811).
2732
ae4969c2
JD
27332012-06-28 Julien Danjou <julien@danjou.info>
2734
2735 * term.el (term-handle-colors-array): Use a set of new faces to
2736 color the terminal. Also uses :inverse-video property.
2737 (term-default-fg-color): Set to nil by default, deprecate in favor
2738 of `term-face'.
2739 (term-default-bg-color): Set to nil by default, deprecate in favor
2740 of `term-face'.
2741 (term-current-face): Use `term-face' by default.
2742 (term-bold-attribute): Variable deleted.
2743
1c9bd870
GM
27442012-06-28 Glenn Morris <rgm@gnu.org>
2745
2746 * simple.el (completion-list-mode-finish):
2747 Don't use toggle-read-only. (Since completion-list-mode has
2748 a special mode-class, it wasn't doing anything extra anyway.)
2749
c207708c
SM
27502012-06-28 Stefan Monnier <monnier@iro.umontreal.ca>
2751
2752 Make inlining of other-mode interpreted functions work (bug#11799).
2753 * emacs-lisp/bytecomp.el (byte-compile--refiy-function): New fun.
2754 (byte-compile): Use it to fix compilation of lexical-binding closures.
2755 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Compile the
2756 function, if needed.
2757
3fd56834
SM
27582012-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
2759
04901786
SM
2760 * help-mode.el (help-make-xrefs): Don't just withstand
2761 cyclic-variable-indirection but any error in documentation-property.
2762
1ec4b7b2
SM
2763 * loadup.el (purify-flag): Pre-grow the hash-table to reduce the
2764 memory use.
2765 * bindings.el (bindings--define-key): New function.
2766 * vc/vc-hooks.el, replace.el, menu-bar.el, international/mule-cmds.el:
2767 * emacs-lisp/lisp-mode.el, buff-menu.el, bookmark.el:
2768 * bindings.el: Use it to purecopy define-key bindings.
2769
e309e2a5
SM
2770 * textmodes/rst.el (rst-adornment-faces-alist): Avoid copy-list.
2771
d5c6faf9
SM
2772 * emacs-lisp/cl.el (flet): Mark obsolete.
2773 * emacs-lisp/cl-macs.el (cl-flet*): New macro.
2774 * vc/vc-rcs.el (vc-rcs-annotate-command, vc-rcs-parse):
2775 * progmodes/js.el (js-c-fill-paragraph):
2776 * progmodes/ebrowse.el (ebrowse-switch-member-buffer-to-sibling-class)
2777 (ebrowse-switch-member-buffer-to-derived-class):
2778 * play/5x5.el (5x5-solver): Use cl-flet.
2779
6e9590e2
SM
2780 * emacs-lisp/cl.el: Use lexical-binding. Fix flet (bug#11780).
2781 (cl--symbol-function): New macro.
2782 (cl--letf, cl--letf*): Use it.
2783
3fd56834
SM
2784 * emacs-lisp/easy-mmode.el (easy-mmode-pretty-mode-name):
2785 Strip "toggle-" if any.
2786
35ff222c
GM
27872012-06-27 Glenn Morris <rgm@gnu.org>
2788
1ba6038a
GM
2789 * info.el (Info-default-directory-list): Move here from paths.el.
2790 * paths.el: Remove file, which is now empty.
2791 * loadup.el: No longer load "paths".
2792
0ea0e51b
GM
2793 * custom.el (custom-initialize-delay): Doc fix.
2794
35ff222c
GM
2795 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
2796 * eshell/em-cmpl.el, eshell/em-dirs.el, eshell/em-glob.el:
2797 * eshell/em-hist.el, eshell/em-ls.el, eshell/em-pred.el:
2798 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-script.el:
2799 * eshell/em-smart.el, eshell/em-term.el, eshell/em-unix.el:
2800 * eshell/em-xtra.el: Replace eshell-defgroup with "(progn (defgroup".
2801 * eshell/eshell.el (eshell-defgroup): Remove alias.
2802
c89926a5
CY
28032012-06-27 Chong Yidong <cyd@gnu.org>
2804
2805 * help.el (help-enable-auto-load): New variable.
2806
2807 * help-fns.el (help-fns--autoloaded-p): New function.
2808 (describe-function-1): Refer to a function as "autoloaded" if it
2809 was autoloaded at any time in the past. Perform autoloading if
2810 help-enable-auto-load is non-nil.
2811
cc06e7e7
EZ
28122012-06-26 Eli Zaretskii <eliz@gnu.org>
2813
2814 * makefile.w32-in (compile, compile-always): Depend on
2815 update-subdirs, not on subdirs.el. Otherwise, several different
2816 sub-targets of 'bootstrap' running in parallel could
2817 simultaneously write to subdirs.el, producing a garbled file.
2818
d2c32364
SS
28192012-06-26 Sam Steingold <sds@gnu.org>
2820
2821 * files.el (file-name-base): New convenience function.
0d14cc21
GM
2822 * autoinsert.el, cus-dep.el, doc-view.el, image-dired.el:
2823 * woman.el, eshell/esh-cmd.el, progmodes/ada-xref.el:
2824 * progmodes/cc-defs.el, progmodes/cperl-mode.el:
2825 * progmodes/flymake.el, progmodes/gud.el, progmodes/idlwave.el:
2826 * textmodes/ispell.el, textmodes/reftex-ref.el:
d2c32364
SS
2827 * textmodes/tex-mode.el: Use it.
2828 Did not touch cedet and org because they are maintained elsewhere.
2829
5cf983b2
MR
28302012-06-26 Martin Rudalics <rudalics@gmx.at>
2831
2832 * calendar/calendar.el (calendar-exit): Don't try to delete or
2833 iconify last frame. See:
2834 http://lists.gnu.org/archive/html/emacs-devel/2012-06/msg00372.html
2835
8c4f2952
JD
28362012-06-25 Jim Diamond <Jim.Diamond@AcadiaU.ca> (tiny change)
2837
2838 * server.el (server-process-filter): Remember dir in the
2839 process's `server-client-directory' properties.
2840
772b2e2c
CY
28412012-06-24 Chong Yidong <cyd@gnu.org>
2842
2843 * xml.el (xml-parse-tag): Correctly handle comment embedded in
2844 non-tag text.
2845
711b11e1
JB
28462012-06-23 Juanma Barranquero <lekktu@gmail.com>
2847
2848 * makefile.w32-in (COMPILE_FIRST): Synch with changes in 2012-06-22T21:24:54Z!monnier@iro.umontreal.ca.
2849
dc5d230c
SM
28502012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
2851
2852 * help-fns.el (describe-variable): Don't croak when doc is not found.
2853 * vc/pcvs.el (cvs-retrieve-revision): Avoid toggle-read-only.
2854 * menu-bar.el (menu-bar-line-wrapping-menu): Purecopy a tiny bit more.
2855 * emacs-lisp/syntax.el (syntax-ppss): Simplify with new `if' place.
2856 * emacs-lisp/smie.el (smie-next-sexp): CSE.
2857 * emacs-lisp/macroexp.el (macroexp-let2): Fix edebug spec and avoid
2858 ((lambda ..) ..).
2859 * emacs-lisp/eieio.el (eieio-oref, slot-value): Use simpler defsetf.
2860
136e1c1d
CY
28612012-06-23 Chong Yidong <cyd@gnu.org>
2862
e8c1cabf
CY
2863 * info.el (Info-mouse-follow-link): Accept symbol values of
2864 link-args. Select window; suggested by Gerhard Kahl (Bug#11672).
136e1c1d
CY
2865 (Info-fontify-node): Use Info-link-keymap for all navigation
2866 buttons, with link-args property to perform the desired action.
2867 (Info-link-keymap): Doc fix.
2868 (Info-next-link-keymap, Info-prev-link-keymap)
2869 (Info-up-link-keymap): Delete now-unused keymaps.
2870
0e9e6c6a
CY
28712012-06-23 Chong Yidong <cyd@gnu.org>
2872
05e89fea
CY
2873 * mouse.el (mouse-drag-track): Deactivate the mark before popping.
2874
0e9e6c6a
CY
2875 * progmodes/python.el (python-skeleton-define): Mark abbrevs as
2876 system abbrevs.
2877
2878 * ansi-color.el (ansi-color-apply-on-region): Doc fix.
2879
e33c6771
SM
28802012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
2881
b68581e2
SM
2882 * emacs-lisp/cl-macs.el (cl--make-usage-args): Handle improper lists
2883 (bug#11719).
2884
e33c6771
SM
2885 * minibuffer.el (completion--twq-try): Try to fail more gracefully when
2886 the requote function doesn't work properly (bug#11714).
2887
7117e105
GM
28882012-06-23 Glenn Morris <rgm@gnu.org>
2889
2890 * pcmpl-rpm.el (pcmpl-rpm-packages): Give status messages.
2891
36cec983
SM
28922012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
2893
2894 Further GV/CL cleanups.
2895 * emacs-lisp/gv.el (gv-get): Autoload functions to find their
2896 gv-expander.
2897 (gv--defun-declaration): New function.
2898 (defun-declarations-alist): Use it.
2899 (gv-define-modify-macro, gv-pushnew!, gv-inc!, gv-dec!): Remove.
2900 (gv-place): Autoload.
2901 * emacs-lisp/cl.el (cl--dotimes, cl--dolist): Remember subr.el's
2902 original definition of dotimes and dolist.
2903 * emacs-lisp/cl-macs.el (cl-expr-access-order): Remove unused.
2904 (cl-dolist, cl-dotimes): Use `dolist' and `dotimes'.
2905 * emacs-lisp/cl-lib.el: Move gv handlers from cl-macs to here.
2906 (cl-fifth, cl-sixth, cl-seventh, cl-eighth)
2907 (cl-ninth, cl-tenth): Move gv handler to the function's definition.
2908 * emacs-lisp/cl-extra.el (cl-subseq, cl-get, cl-getf): Move gv handler
2909 to the function's definition.
2910 * Makefile.in (COMPILE_FIRST): Re-order to speed it up by about 50%.
2911 * window.el:
2912 * files.el:
2913 * faces.el:
2914 * env.el: Don't use CL.
2915
d35af63c
PE
29162012-06-22 Paul Eggert <eggert@cs.ucla.edu>
2917
2918 Support higher-resolution time stamps (Bug#9000).
2919
2920 * calendar/time-date.el (with-decoded-time-value): New arg
2921 PICO-SYMBOL in VARLIST. It's optional, for backward compatibility.
2922 (encode-time-value): New optional arg PICO. New type 3.
2923 (time-to-seconds) [!float-time]: Support the new picoseconds
2924 component if it's used.
2925 (seconds-to-time, time-subtract, time-add):
2926 Support ps-resolution time stamps as well.
2927
2928 * emacs-lisp/timer.el (timer): New component psecs. All uses changed.
2929 (timerp): Timer vectors now have length 9, not 8.
2930 (timer--time): Support new-style (4-part) time stamps.
2931 (timer-next-integral-multiple-of-time): Time stamps now have
2932 picosecond resolution, so take a bit more care about rounding.
2933 (timer-relative-time, timer-inc-time): New optional arg psecs.
2934 (timer-set-time-with-usecs): Set psecs to 0.
2935 (timer--activate): Check psecs component, too.
2936
2937 * proced.el (proced-time-lessp): Support ps-resolution stamps.
2938
ac77b21a
SM
29392012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
2940
f143bfe3
SM
2941 * icomplete.el (icomplete-minibuffer-setup, icomplete-completions):
2942 Move the non-essential binding to the post/pre-command-hook where it is
2943 more obviously correct.
2944
ac77b21a
SM
2945 * subr.el (read-passwd): Don't use a history at all.
2946 * savehist.el (savehist-save): Remove password saved accidentally
2947 because of the above bug.
2948
76386c5a
BG
29492012-06-22 Bastien Guerry <bzg@gnu.org>
2950
2951 * files.el (toggle-read-only): Display a message telling whether
2952 the buffer is read-only or not (bug#11726).
2953
2ee3d7f0
SM
29542012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
2955
2956 * emacs-lisp/gv.el: New file.
2957 * subr.el (push, pop): Extend to generalized variables.
2958 * loadup.el (macroexp): Unload if preloaded and uncompiled (bug#11657).
2959 * emacs-lisp/cl-lib.el (cl-pop, cl-push, cl--set-nthcdr): Remove.
2960 * emacs-lisp/cl-macs.el: Require gv. Use gv-define-setter,
2961 gv-define-simple-setter, and gv-define-expander.
2962 Remove setf-methods defined in gv. Rename cl-setf -> setf.
2963 (cl-setf, cl-do-pop, cl-get-setf-method): Remove.
2964 (cl-letf, cl-letf*, cl-define-modify-macro, cl-defsetf)
2965 (cl-define-setf-expander, cl-struct-setf-expander): Move to cl.el.
2966 (cl-remf, cl-shiftf, cl-rotatef, cl-callf, cl-callf2): Rewrite with
2967 gv-letplace.
2968 (cl-defstruct): Don't define setf-method any more.
2969 * emacs-lisp/cl.el (flet): Don't autoload.
2970 (cl--letf, letf, cl--letf*, letf*, cl--gv-adapt)
2971 (define-setf-expander, defsetf, define-modify-macro)
2972 (cl-struct-setf-expander): Move from cl-lib.el.
2973 * emacs-lisp/syntax.el:
2974 * emacs-lisp/ewoc.el:
2975 * emacs-lisp/smie.el:
2976 * emacs-lisp/cconv.el:
2977 * emacs-lisp/timer.el: Rename cl-setf -> setf, cl-push -> push.
2978 (timer--time): Use gv-define-simple-setter.
2979 * emacs-lisp/macroexp.el (macroexp-let2): Rename from macroexp-let²
2980 to avoid coding-system problems in subr.el. Adjust all users.
2981 (macroexp--maxsize, macroexp-small-p): New functions.
2982 * emacs-lisp/bytecomp.el (byte-compile-file): Don't use cl-letf.
2983 * scroll-bar.el (scroll-bar-mode):
2984 * simple.el (auto-fill-mode, overwrite-mode, binary-overwrite-mode)
2985 (normal-erase-is-backspace-mode): Don't use the `eq' place.
2986 * winner.el (winner-configuration, winner-make-point-alist)
2987 (winner-set-conf, winner-get-point, winner-set): Don't abuse letf.
2988 * files.el (locate-file-completion-table): Avoid list*.
2989
c5695d1d
CY
29902012-06-22 Chong Yidong <cyd@gnu.org>
2991
2992 * dired-aux.el (dired-do-create-files): Doc fix (Bug#11327).
2993 (dired-create-files): Doc fix (Bug#11329).
2994 (dired-do-copy): Doc fix (Bug#11334).
2995 (dired-mark-read-string): Doc fix (Bug#11553).
2996
2ee3d7f0
SM
2997 * dired.el (dired-recursive-copies, dired-recursive-deletes):
2998 Doc fix (Bug#11326).
c5695d1d
CY
2999 (dired-make-relative): Doc fix (Bug#11332). Remove unused arg.
3000 (dired-dwim-target): Doc fix.
3001
3002 * wdired.el (wdired-mode): Doc fix.
3003
89b5595a
GM
30042012-06-22 Glenn Morris <rgm@gnu.org>
3005
575db3f1
GM
3006 * pcmpl-rpm.el (pcmpl-rpm-cache): New option.
3007 (pcmpl-rpm-cache-stamp-file): New constant.
3008 (pcmpl-rpm-cache-time, pcmpl-rpm-packages): New variables.
3009 (pcmpl-rpm-packages): Optionally cache list of packages.
3010
a4c8dd51
GM
3011 * pcmpl-rpm.el (pcmpl-rpm): New group.
3012 (pcmpl-rpm-query-options): New option.
3013 (pcmpl-rpm-packages): No need to inline it.
3014 Use pcmpl-rpm-query-options.
3015
89b5595a
GM
3016 * calendar/calendar.el (calendar-in-read-only-buffer):
3017 Avoid some needless mode changes.
3018
e76f0800
CY
30192012-06-21 Chong Yidong <cyd@gnu.org>
3020
3021 * desktop.el (desktop-read): Don't prompt if daemon (Bug#11674).
3022 (desktop-path): Remove . from the default value (Bug#10977).
6b67c0d4 3023 (desktop-read): Use user-emacs-directory if desktop-path is nil.
e76f0800 3024
297a8f1d
CY
30252012-06-20 Chong Yidong <cyd@gnu.org>
3026
3027 * term.el (term-send-raw-meta): Make C-M-<char> keys work (Bug#8172).
3028
d34c18b1
DR
30292012-06-20 David Röthlisberger <david@rothlis.net> (tiny change)
3030
3031 * ido.el (ido-switch-buffer, ido-find-file): Fix up doc of C-j
3032 (bug#11201).
3033
32f7f28e
CY
30342012-06-20 Chong Yidong <cyd@gnu.org>
3035
3036 * term.el (term-window-width): Handle the case of a missing right
3037 fringe (Bug#8837).
3038 (term-check-size): Use window-text-height (Bug#5445).
d34c18b1
DR
3039 (term-mode): Use define-derived-mode. Minor cleanups.
3040 Set font-lock-defaults (Bug#7692).
6ff7caa8
CY
3041 (term-move-columns, term-insert-char, term-emulate-terminal)
3042 (term-erase-in-line, term-insert-spaces): Use font-lock-face.
32f7f28e 3043
493c6688
MA
30442012-06-20 Michael Albinus <michael.albinus@gmx.de>
3045
d34c18b1
DR
3046 * net/ange-ftp.el (ange-ftp-get-passwd):
3047 Bind `enable-recursive-minibuffers'.
493c6688
MA
3048 (ange-ftp-get-process): Throw if `non-essential' is non-nil.
3049
3f06ecf4
DR
30502012-06-19 David Röthlisberger <david@rothlis.net> (tiny change)
3051
3052 * ido.el (ido-find-file): Mention C-d binding in docstring (bug#11244).
3053
68f12411
GM
30542012-06-19 Glenn Morris <rgm@gnu.org>
3055
3056 * progmodes/python.el (python-mode): Derive from prog-mode.
3057
b3820318
KG
30582012-06-19 Kevin Gallagher <Kevin.Gallagher@boeing.com>
3059
3060 * emulation/edt.el (edt-default-menu-bar-update-buffers)
3061 (edt-user-menu-bar-update-buffers): New functions.
3062 (edt-default-emulation-setup, edt-user-emulation-setup): Use them.
3063
c6bf3022
CY
30642012-06-19 Chong Yidong <cyd@gnu.org>
3065
3066 * subr.el (with-selected-window): Preserve the selected window's
3067 terminal's top-frame (Bug#4702).
3068
3069 * window.el (save-selected-window): Likewise.
3070
25f09295
SM
30712012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
3072
3073 * progmodes/python.el (python-rx-constituents): Move backquote.
3074 (python-skeleton-define, python-define-auxiliary-skeleton):
3075 Use `declare'.
3076
6b11952a
MA
30772012-06-18 Michael Albinus <michael.albinus@gmx.de>
3078
3079 * minibuffer.el (read-file-name-default): Revert the patch from
3080 2012-06-17.
3081
ee4b1330
SM
30822012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
3083
3084 * emacs-lisp/pcase.el (pcase--expand): Warn for unused pattern.
3085 (pcase--u1, pcase--q1): Don't use apply-partially.
3086
35647f79
GM
30872012-06-18 Glenn Morris <rgm@gnu.org>
3088
3089 * progmodes/python.el (python-proc, python-buffer)
3090 (python-send-receive, python-send-string): Fix obsolete versions.
3091
24b0cff0
MR
30922012-06-18 Martin Rudalics <rudalics@gmx.at>
3093
3094 * window.el (special-display-p): Completely remove stringp
3095 check. Suggested by Andreas Schwab <schwab@linux-m68k.org>.
3096
29855149
MA
30972012-06-17 Michael Albinus <michael.albinus@gmx.de>
3098
3099 * minibuffer.el (read-file-name-default): Bind `non-essential' to `t'.
3100
3101 * net/tramp.el (tramp-file-name-handler): Catch 'non-essential.
3102
3103 * net/ange-ftp.el (ange-ftp-gwp-start, ange-ftp-start-process):
3104 * net/tramp-sh.el (tramp-maybe-open-connection):
3105 Throw if `non-essential' is non-nil.
3106
07463363
MR
31072012-06-17 Martin Rudalics <rudalics@gmx.at>
3108
3109 * window.el (special-display-p): Signal an error if BUFFER-NAME
3110 is not a string (Bug#11713).
3111
48d1354e
PE
31122012-06-17 Paul Eggert <eggert@cs.ucla.edu>
3113
3114 * progmodes/python.el (python-info-beginning-of-backslash):
3115 Rename from python-info-beginning-of-backlash, as a spelling fix.
3116
eb4a8a9a
CY
31172012-06-17 Chong Yidong <cyd@gnu.org>
3118
3119 * term.el (term-emulate-terminal): If term-check-size is called,
3120 move point to the process mark without resetting point (Bug#4635).
3121
ddfbf826 31222012-06-17 Glenn Morris <rgm@gnu.org>
9c758578
GM
3123
3124 * international/mule-cmds.el (mule-menu-keymap)
3125 (set-language-environment, set-locale-environment): Doc tweaks.
3126
9b0e3eba
AA
31272012-06-16 Aurelien Aptel <aurelien.aptel@gmail.com>
3128
3129 * cus-face.el (custom-face-attributes): Add wave-style underline
3130 attribute.
3131 * faces.el (set-face-attribute): Update docstring to describe
3132 wave-style underline attribute.
3133
771e3eae
CY
31342012-06-16 Chong Yidong <cyd@gnu.org>
3135
3136 * term/xterm.el (terminal-init-xterm): Discard input before
3137 querying background mode (Bug#10959).
3138
7ae2ea10
SM
31392012-06-16 Stefan Merten <smerten@oekonux.de>
3140
3141 * textmodes/rst.el: Added and corrected some comments.
3142 (rst-re-alist-def): Improve symbol syntax.
3143 (rst-mode-syntax-table): Correct syntax entries.
6665a6fd
SM
3144 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
3145 (rst-official-version, rst-official-cvs-rev): Update version
3146 information.
7ae2ea10 3147
b6974efa
JB
31482012-06-15 Juanma Barranquero <lekktu@gmail.com>
3149
3150 * makefile.w32-in (COMPILE_FIRST): Synch with makefile.in changes
3151 in 2008-06-22T13:57:28Z!monnier@iro.umontreal.ca.
3152
8826d473
GM
31532012-06-15 Fabián Ezequiel Gallina <fgallina@cuca>
3154
3155 * progmodes/python.el: New python.el merge.
3156 (python-guess-indent): Obsolete var.
3157 (python-indent-guess-indent-offset): New defcustom.
3158 (python-indent): Obsolete var.
3159 (python-indent-offset): New defcustom.
3160 (python-python-command, python-jython-command): Delete var.
3161 (python-shell-interpreter): New defcustom.
3162 (python-pdbtrack-do-tracking-p): Delete var.
3163 (python-pdbtrack-activate): New defcustom.
3164 (python-use-skeletons): Obsolete var.
3165 (python-skeleton-autoinsert): New defcustom.
3166 (inferior-python-filter-regexp, python-continuation-offset)
3167 (python-honour-comment-indentation, python-indent-string-contents)
3168 (python-jython-packages, python-mode-hook)
3169 (python-pdbtrack-minor-mode-string, python-remove-cwd-from-path)
3170 (python-shell-prompt-alist)
3171 (python-source-modes): Delete defcustoms.
3172 (python-check-buffer-name, python-eldoc-setup-code)
3173 (python-eldoc-string-code, python-ffap-setup-code)
3174 (python-ffap-string-code, python-fill-comment-function)
3175 (python-fill-decorator-function, python-fill-paren-function)
3176 (python-fill-string-function, python-imenu-include-defun-type)
3177 (python-imenu-make-tree, python-imenu-subtree-root-label)
3178 (python-pdbtrack-stacktrace-info-regexp, python-shell-buffer-name)
3179 (python-shell-compilation-regexp-alist)
3180 (python-shell-completion-module-string-code)
3181 (python-shell-completion-pdb-string-code)
3182 (python-shell-completion-setup-code)
3183 (python-shell-completion-string-code)
3184 (python-shell-enable-font-lock, python-shell-exec-path)
3185 (python-shell-extra-pythonpaths)
3186 (python-shell-internal-buffer-name, python-shell-interpreter-args)
3187 (python-shell-process-environment)
3188 (python-shell-prompt-block-regexp)
3189 (python-shell-prompt-output-regexp)
3190 (python-shell-prompt-pdb-regexp, python-shell-prompt-regexp)
3191 (python-shell-send-setup-max-wait, python-shell-setup-codes)
3192 (python-shell-virtualenv-path): New defcustoms.
3193 (brm-menu, eldoc-documentation-function, inferior-python-mode-map)
3194 (inferior-python-mode-syntax-table, python--prompt-regexp)
3195 (python-buffer, python-command python-python-command)
3196 (python-default-template, python-imports, python-indent-index)
3197 (python-indent-list, python-indent-list-length)
3198 (python-mode-running, python-pdbtrack-is-tracking-p)
3199 (python-preoutput-continuation, python-preoutput-leftover)
3200 (python-preoutput-result, python-preoutput-skip-next-prompt)
3201 (python-prev-dir/file, python-recursing)
3202 (python-saved-check-command, python-version-checked)
3203 (python-which-func-length-limit)
3204 (view-return-to-alist): Delete vars.
3205 (python-check-custom-command, python-dotty-syntax-table)
3206 (python-imenu-index-alist, python-indent-current-level)
3207 (python-indent-dedenters, python-indent-levels)
3208 (python-nav-beginning-of-defun-regexp)
3209 (python-nav-list-defun-positions-cache)
3210 (python-pdbtrack-buffers-to-kill, python-pdbtrack-tracked-buffer)
3211 (python-shell-internal-buffer)
3212 (python-skeleton-available): New vars.
3213 (def-python-skeleton): Delete macro.
3214 (python-skeleton-define): New macro.
3215 (python-define-auxiliary-skeleton, python-rx): New macros.
3216 (python-insert-class): Delete command.
3217 (python-skeleton-class): New command.
3218 (python-insert-def): Delete command.
3219 (python-skeleton-def): New command.
3220 (python-insert-for): Delete command.
3221 (python-skeleton-for): New command.
3222 (python-insert-if): Delete command.
3223 (python-skeleton-if): New command.
3224 (python-insert-try/except, python-insert-try/finally): Delete commands.
3225 (python-skeleton-try): New command.
3226 (python-insert-while): Delete command.
3227 (python-skeleton-while): New command.
3228 (python-backspace): Delete command.
3229 (python-indent-dedent-line-backspace): New command.
3230 (python-electric-colon): Delete command.
3231 (python-indent-electric-colon): New command.
3232 (python-guess-indent): Delete command.
3233 (python-indent-guess-indent-offset): New command.
3234 (python-shift-left): Delete command.
3235 (python-indent-shift-left): New command.
3236 (python-shift-right): Delete command.
3237 (python-indent-shift-right): New command.
3238 (python-find-function): Delete command.
3239 (python-nav-jump-to-defun): New command.
3240 (python-next-statement): Delete command.
3241 (python-nav-forward-sentence): New command.
3242 (python-previous-statement): Delete command.
3243 (python-nav-backward-sentence): New command.
3244 (python-fill-paragraph): Delete command.
3245 (python-fill-paragraph-function): New command.
3246 (python-send-buffer): Delete command.
3247 (python-shell-send-buffer): New command.
3248 (python-send-defun): Delete command.
3249 (python-shell-send-defun): New command.
3250 (python-send-region, python-send-region-and-go): Delete commands.
3251 (python-shell-send-region)
3252 (python-shell-switch-to-shell): New commands.
3253 (python-send-string): Delete command.
3254 (python-shell-send-string): New command.
3255 (python-switch-to-python): Delete command.
3256 (python-shell-switch-to-shell): New command.
3257 (python-describe-symbol): Delete command.
3258 (python-eldoc-at-point): New command.
3259 (python--set-prompt-regexp, python-args-to-list)
3260 (python-after-info-look, python-check-version)
3261 (python-check-comint-prompt, python-find-imports)
3262 (python-execute-file, turn-off-pdbtrack, turn-on-pdbtrack)
3263 (python-unload-function, python-expand-template)
3264 (python-maybe-jython, python-preoutput-filter)
3265 (python-pdbtrack-get-source-buffer)
3266 (python-pdbtrack-grub-for-buffer, python-pdbtrack-overlay-arrow)
3267 (python-pdbtrack-toggle-stack-tracking)
3268 (python-pdbtrack-track-stack-file, python-initial-text)
3269 (python-first-word, python-comment-line-p, python-send-command)
3270 (python-setup-brm, python-sentinel, python-set-proc)
3271 (python-skip-out, python-input-filter, python-outdent-p)
3272 (python-outline-level, python-backslash-continuation-line-p)
3273 (python-end-of-block, python-end-of-statement, python-mark-block)
3274 (python-beginning-of-block, python-beginning-of-statement)
3275 (python-blank-line-p, python-beginning-of-string)
3276 (python-open-block-statement-p): Delete functions.
3277 (python-indent-line, python-indent-line-1): Delete functions.
3278 (python-indent-line): New function.
3279 (python-indentation-levels): Delete function.
3280 (python-indent-calculate-levels): New function.
3281 (python-proc): Delete function.
3282 (python-shell-get-process): New function.
3283 (python-send-receive): Delete function.
3284 (python-shell-send-string-no-output): New function.
3285 (python-module-path): Delete function.
3286 (python-ffap-module-path): New function.
3287 (python-completion-at-point)
3288 (python-symbol-completions): Delete functions.
3289 (python-completion-complete-at-point): New function.
3290 (python-load-file): Delete function.
3291 (python-shell-send-file): New function.
3292 (python-calculate-indentation): Delete function.
3293 (python-indent-calculate-indentation): New function.
3294 (python-skip-comments/blanks): Delete function.
3295 (python-util-forward-comment): New function.
3296 (python-continuation-line-p): Delete function.
3297 (python-info-continuation-line-p): New function.
3298 (python-which-func, python-current-defun): Delete function.
3299 (python-info-current-defun): New function.
3300 (python-beginning-of-defun): Delete function.
3301 (python-nav-beginning-of-defun): New function.
3302 (python-close-block-statement-p)
3303 (python-block-end-p): Delete function.
3304 (python-info-closing-block): New function.
3305 (python-comint-output-filter-function)
3306 (python-eldoc--get-doc-at-point, python-end-of-defun-function)
3307 (python-fill-comment, python-fill-decorator, python-fill-paren)
3308 (python-fill-string, python-imenu-make-element-tree)
3309 (python-imenu-make-tree, python-imenu-tree-assoc)
3310 (python-indent-context, python-indent-dedent-line)
3311 (python-indent-line-function)
3312 (python-indent-post-self-insert-function)
3313 (python-indent-toggle-levels)
3314 (python-info-assignment-continuation-line-p)
3315 (python-info-beginning-of-backlash)
3316 (python-info-block-continuation-line-p)
3317 (python-info-closing-block-message)
3318 (python-info-line-ends-backslash-p)
3319 (python-info-looking-at-beginning-of-defun)
3320 (python-info-ppss-context, python-info-ppss-context-type)
3321 (python-nav-list-defun-positions, python-nav-read-defun)
3322 (python-nav-sentence-end, python-nav-sentence-start)
3323 (python-pdbtrack-comint-output-filter-function)
3324 (python-pdbtrack-set-tracked-buffer)
3325 (python-shell-calculate-exec-path)
3326 (python-shell-calculate-process-environment)
3327 (python-shell-completion--do-completion-at-point)
3328 (python-shell-completion--get-completions)
3329 (python-shell-completion-complete-at-point)
3330 (python-shell-completion-complete-or-indent)
3331 (python-shell-get-or-create-process)
3332 (python-shell-get-process-name)
3333 (python-shell-internal-get-or-create-process)
3334 (python-shell-internal-get-process-name)
3335 (python-shell-internal-send-string, python-shell-make-comint)
3336 (python-shell-parse-command, python-shell-send-setup-code)
3337 (python-skeleton-add-menu-items)
3338 (python-util-clone-local-variables, python-util-position)
3339 (run-python-internal, python-indentation-levels)
3340 (python-nav-beginning-of-defun)
3341 (python-completion-complete-at-point): New functions.
3342 (run-python): Change arguments. New API requirements.
3343
4302f5ba
SM
33442012-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
3345
f38ea36d
SM
3346 * emacs-lisp/cl-lib.el (cl--defsubst-expand): Autoload inliner
3347 (bug#11649).
3348
3349 * emacs-lisp/macroexp.el (macroexp--compiler-macro): New function.
3350 (macroexp--expand-all): Use it.
3351
4302f5ba
SM
3352 * emacs-lisp/cl-macs.el (cl--transform-function-property): Remove.
3353 (cl-define-setf-expander, cl-deftype, cl-define-compiler-macro):
3354 Use `cl-function' instead.
3355
33377562
JB
33562012-06-14 Juanma Barranquero <lekktu@gmail.com>
3357
3358 * makefile.w32-in (COMPILE_FIRST): Remove subr.el.
3359 Suggested by Stefan Monnier while discussing bug#11657.
3360
54c5ba1a
SS
33612012-06-14 Sam Steingold <sds@gnu.org>
3362
3363 * files.el (abort-if-file-too-large): Use `file-size-human-readable'.
3364
f9f1b1fe
AS
33652012-06-14 Andreas Schwab <schwab@linux-m68k.org>
3366
3367 * play/doctor.el (doctor-doc): Remove parameter and use
3368 doctor-sent instead of sent.
3369 (doctor-read-print): Use doctor-sent instead of sent. (Bug#11708)
3370
a81068ba
SM
33712012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
3372
5a315f9c
SM
3373 * files.el: Require cl-lib.
3374 (file-name-non-special): Replace case -> cl-case.
3375
3376 * emacs-lisp/cl-macs.el (cl-defstruct): Don't add print-func.
3377
a81068ba
SM
3378 * emacs-lisp/edebug.el (edebug-read-function): Remove old incorrect
3379 mapping from #' to function*.
3380
8cca9703
CY
33812012-06-13 Chong Yidong <cyd@gnu.org>
3382
3383 * mouse.el (mouse-drag-track): Do not set the mark if the user
3384 releases the mouse without selecting anything (Bug#11588).
3385
a12ac9d7
SM
33862012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
3387
ccf1dc18
SM
3388 * textmodes/tex-mode.el (latex-indent): Recognize tex-verbatim at EOB
3389 as well (bug#11646).
3390
ef62b23d
SM
3391 * loadup.el: Count byte-code functions as well.
3392
c4c8444a
SM
3393 * emacs-lisp/byte-opt.el (featurep): Move compiler-macro...
3394 * emacs-lisp/bytecomp.el (featurep): ...here (bug#11692).
3395
a12ac9d7
SM
3396 * emacs-lisp/autoload.el (make-autoload): Accept nil doc-string-elt
3397 (bug#11649). Add cl-defun and cl-defmacro.
3398
87e6e64f
DA
33992012-06-13 Drew Adams <drew.adams@oracle.com>
3400
3401 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
3402 Fix last change.
3403
682cefaf
MA
34042012-06-13 Michael Albinus <michael.albinus@gmx.de>
3405
3406 * net/dbus.el (dbus-call-method): Use timeout for `read-event'.
3407 Otherwise, it blocks in batch mode.
3408
773e1f08
JB
34092012-06-13 Juanma Barranquero <lekktu@gmail.com>
3410
3411 * help-mode.el (bookmark-make-record-default): Declare.
3412
60057926
CY
34132012-06-13 Chong Yidong <cyd@gnu.org>
3414
3415 * emacs-lisp/package.el (list-packages): Compute a list of
3416 packages that are newly-available since the last list-packages
3417 invocation.
3418 (package-menu--new-package-list): New var.
3419 (package-menu--generate, package-menu--print-info)
3420 (package-menu--status-predicate, package-menu-mark-install):
3421 Handle new status label "new".
3422
ad4d226c
SM
34232012-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
3424
3425 * emacs-lisp/cl-macs.el (cl-remf): Fix error in recent
3426 conversion to backquotes.
3427
f1a4e679
CY
34282012-06-12 Chong Yidong <cyd@gnu.org>
3429
3430 * emacs-lisp/edebug.el (edebug-inhibit-emacs-lisp-mode-bindings):
3431 Rename from gud-inhibit-global-bindings.
3432
3433 * emacs-lisp/eieio.el (eieio-pre-method-execution-hooks): Doc fix.
3434
3435 * nxml/nxml-glyph.el (nxml-glyph-set-functions): Rename abnormal
3436 hook from nxml-glyph-set-hook.
3437
3438 * progmodes/cwarn.el (cwarn-mode): Remove redundant variable
3439 declaration.
3440
3441 * progmodes/pascal.el (pascal-toggle-completions): Doc fix.
3442
3443 * textmodes/bibtex.el (bibtex-string-file-path, bibtex-file-path):
3444 Convert to defcustom.
3445
0c9e42b5
DA
34462012-06-12 Drew Adams <drew.adams@oracle.com>
3447
3448 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
3449 New functions.
3450 (help-mode): Use them.
3451
09e06855
GM
34522012-06-11 Glenn Morris <rgm@gnu.org>
3453
3454 * progmodes/fortran.el (fortran-font-lock-keywords-3):
3455 Use preprocessor face for directives.
3456 (fortran-directive-re): Doc fix.
3457
71adb94b
SM
34582012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
3459
2eb87922
SM
3460 * emacs-lisp/cl-macs.el (cl-parse-loop-clause): Fix error in recent
3461 conversion to backquotes (bug#11652).
3462
71adb94b
SM
3463 Fix compiler-expansion of CL's cXXr functions (bug#11673).
3464 * emacs-lisp/cl-lib.el (cl--defalias): New function.
3465 (cl-values, cl-values-list, cl-copy-seq, cl-svref, cl-first)
3466 (cl-second, cl-rest, cl-endp, cl-third, cl-fourth): Use it.
3467 (cl-plusp, cl-minusp, cl-fifth, cl-sixth, cl-seventh, cl-eighth)
3468 (cl-ninth, cl-tenth): Mark them as inlinable.
3469 (cl-caaar, cl-caadr, cl-cadar, cl-caddr, cl-cdaar, cl-cdadr)
3470 (cl-cddar, cl-cdddr, cl-caaaar, cl-caaadr, cl-caadar, cl-caaddr)
3471 (cl-cadaar, cl-cadadr, cl-caddar, cl-cadddr, cl-cdaaar, cl-cdaadr)
3472 (cl-cdadar, cl-cdaddr, cl-cddaar, cl-cddadr, cl-cdddar, cl-cddddr):
3473 Add a compiler-macro declaration to use cl--compiler-macro-cXXr.
3474 (cl-list*, cl-adjoin): Don't put an autoload manually.
3475 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin)
3476 (cl--compiler-macro-list*): Add autoload cookie.
3477 (cl--compiler-macro-cXXr): New function.
2eb87922 3478
71adb94b
SM
3479 * help-fns.el (help-fns--compiler-macro): New function extracted from
3480 describe-function-1; follow aliases and use `compiler-macro' property.
3481 (describe-function-1): Use it.
3482
a6674402
CY
34832012-06-11 Chong Yidong <cyd@gnu.org>
3484
3485 * startup.el (fancy-splash-head): Use splash.svg even if librsvg
3486 is uninstalled, if imagemagick is installed.
3487
bb3faf5b
SM
34882012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
3489
3490 * emacs-lisp/cl-lib.el: Use lexical-binding.
3491 (cl-map-extents, cl-maclisp-member): Remove.
3492 (cl--set-elt, cl--set-nthcdr, cl--set-buffer-substring)
3493 (cl--set-substring, cl--block-wrapper, cl--block-throw)
3494 (cl--compiling-file, cl--mapcar-many, cl--do-subst): Use "cl--" prefix.
3495 * emacs-lisp/cl-extra.el: Use lexical-binding.
3496 (cl--mapcar-many, cl--map-keymap-recursively, cl--map-intervals)
3497 (cl--map-overlays, cl--set-frame-visible-p, cl--progv-save)
3498 (cl--progv-before, cl--progv-after, cl--finite-do, cl--set-getf)
3499 (cl--do-remf, cl--do-prettyprint): Use "cl--" prefix.
3500 * emacs-lisp/cl-seq.el: Use lexical-binding.
3501 (cl--parsing-keywords, cl--check-key, cl--check-test-nokey)
3502 (cl--check-test, cl--check-match): Use "cl--" prefix and backquotes.
3503 (cl--alist, cl--sublis-rec, cl--nsublis-rec, cl--tree-equal-rec):
3504 * emacs-lisp/cl-macs.el (cl--lambda-list-keywords): Use "cl--" prefix.
3505 * edmacro.el (edmacro-mismatch): Simplify to remove dependence on
3506 CL's internals.
3507
2fe4b125
MA
35082012-06-11 Michael Albinus <michael.albinus@gmx.de>
3509
3510 Sync with Tramp 2.2.6-pre.
3511
3512 * net/tramp-cache.el (tramp-dump-connection-properties): Let-bind
3513 `print-length' and `print-level' to nil, in order to avoid
3514 truncation. Reported by Christopher Schmidt
3515 <christopher@ristopher.com>.
3516
3517 * net/tramp-cmds.el (tramp-cleanup-connection): Delete also process.
3518
3519 * net/tramp-compat.el (tramp-compat-condition-case-unless-debug):
3520 New defmacro.
3521 (tramp-compat-copy-directory): Add optional argument
3522 COPY-CONTENTS. It is not handled yet.
3523
3524 * net/tramp-ftp.el (tramp-disable-ange-ftp): Fix docstring.
3525 (tramp-ftp-file-name-p): Simplify.
3526
3527 * net/tramp-gvfs.el (tramp-gvfs-handle-expand-file-name):
3528 * net/tramp-gw.el (tramp-gw-open-connection): Add hop to
3529 connection vector.
3530
3531 * net/tramp-sh.el (tramp-copy-size-limit): Fix docstring.
3532 (tramp-methods): Do not use `tramp-password-end-of-line'.
3533 (tramp-completion-function-alist-putty): Handle UNIX case.
3534 (tramp-remote-path): Add "/opt/bin", "/opt/sbin" and "/opt/local/bin".
3535 (tramp-do-file-attributes-with-stat)
3536 (tramp-do-directory-files-and-attributes-with-stat) Return uid and
3537 gid as real numbers. They could run out of integer range on cygwin.
3538 (tramp-do-copy-or-rename-file-out-of-band): Better trace format.
3539 (tramp-sh-handle-expand-file-name): Handle hops.
87e6e64f
DA
3540 (tramp-open-connection-setup-interactive-shell):
3541 Use `tramp-cleanup'. Move check for busyboxes ...
3542 (tramp-find-shell): ... here. Simplify implementation.
3543 Set "remote-shell" property also for alternative shells.
3544 (tramp-remote-coding-commands): Check "test -c /dev/stdout".
3545 If failing, a regular file would be written otherwise.
3546 Reported by Dmitry Kurochkin <dmitry.kurochkin@gmail.com>.
2fe4b125
MA
3547 (tramp-find-inline-encoding): Cache the coding commands in the
3548 process cache. Apply test command on the remote side, if defined.
3549 (tramp-find-inline-compress): Cache the compress commands in the
3550 process cache.
3551 (tramp-compute-multi-hops): Save `tramp-default-proxies-alist'
3552 when requested. Handle hops.
3553 (tramp-current-connection): New defvar.
87e6e64f
DA
3554 (tramp-maybe-open-connection): Use `tramp-cleanup'.
3555 Throw `suppress', if there was a failed connection shortly before.
2fe4b125 3556 Handle user interrupt. (Bug#10187)
87e6e64f
DA
3557 (tramp-get-inline-compress, tramp-get-inline-coding):
3558 Read connection properties from the process cache.
2fe4b125
MA
3559
3560 * net/tramp-smb.el (tramp-smb-server-version)
87e6e64f
DA
3561 (tramp-smb-wrong-passwd-regexp, tramp-smb-actions-with-tar):
3562 New defconsts.
2fe4b125
MA
3563 (tramp-smb-prompt): Extend for powershell prompt.
3564 (tramp-smb-file-name-handler-alist): Add handlers for
3565 `process-file', `shell-command' and `start-file-process'.
3566 (tramp-smb-winexe-program, tramp-smb-winexe-shell-command)
3567 (tramp-smb-winexe-shell-command-switch): New defcustoms.
3568 (tramp-smb-file-name-p): Simplify.
3569 (tramp-smb-action-with-tar, tramp-smb-handle-process-file)
3570 (tramp-smb-kill-winexe-function, tramp-smb-call-winexe)
3571 (tramp-smb-shell-quote-argument): New defuns.
3572 (tramp-smb-handle-copy-directory): Add COPY-CONTENTS argument.
3573 Implement using "tar". By this, time-stamps are preserved.
3574 (tramp-smb-handle-copy-file): Handle also the case of directories.
3575 (tramp-smb-do-file-attributes-with-stat)
87e6e64f
DA
3576 (tramp-smb-get-file-entries, tramp-smb-get-cifs-capabilities):
3577 Use `tramp-get-connection-buffer').
2fe4b125
MA
3578 (tramp-smb-handle-rename-file): Use "rename", when source and
3579 target are on the same share.
87e6e64f
DA
3580 (tramp-smb-maybe-open-connection): Handle wrong passwords.
3581 Use `tramp-smb-server-version'.
2fe4b125
MA
3582 (tramp-smb-wait-for-output): Remove prompt.
3583
3584 * net/tramp.el (top): Require 'cl.
87e6e64f
DA
3585 (tramp-methods, tramp-rsh-end-of-line):
3586 Remove `tramp-password-end-of-line' from docstring.
2fe4b125
MA
3587 (tramp-save-ad-hoc-proxies): New defcustom.
3588 (tramp-completion-function-alist): Adapt docstring.
3589 (tramp-default-password-end-of-line): Remove defcustom.
3590 (tramp-shell-prompt-pattern): Allow "[]" style prompts. (Bug#11065)
3591 (tramp-user-regexp, tramp-file-name-regexp-unified)
3592 (tramp-file-name-regexp-url): Extend regexp by hop separator.
3593 (tramp-postfix-hop-format, tramp-postfix-hop-regexp)
3594 (tramp-remote-file-name-spec-regexp): New defconst.
3595 (tramp-file-name-structure): Extend structure for hops.
3596 (tramp-get-method-parameter): Move up.
3597 (tramp-file-name-p, tramp-dissect-file-name)
3598 (with-parsed-tramp-file-name): Handle hops.
3599 (tramp-file-name-hop): New defun.
3600 (tramp-make-tramp-file-name): New optional arg HOP.
3601 (tramp-message-show-progress-reporter-message): New defvar.
3602 (tramp-with-progress-reporter): Use it. We cannot use
3603 `tramp-message-show-message' here, because this suppresses also
3604 error buffers.
3605 (tramp-error-with-buffer): Suppress buffer view, if
87e6e64f
DA
3606 `tramp-message-show-message' is nil.
3607 Use `tramp-get-connection-buffer'.
2fe4b125
MA
3608 (tramp-cleanup): New defun.
3609 (tramp-rfn-eshadow-update-overlay): Let-bind `non-essential' to `t'.
3610 (tramp-file-name-handler): If `debug-on-error' is set, propagate
3611 an error unchanged.
3612 (tramp-completion-handle-file-name-all-completions): Handle hops.
3613 Fix an error when called from ido.
3614 (tramp-completion-dissect-file-name): Use better local variable
3615 name. Add hop to the vector.
3616 (tramp-handle-insert-file-contents): Use progress-reporter for the
3617 whole scenario.
3618 (tramp-action-password): Let-bind `enable-recursive-minibuffers'
3619 to `t'.
3620 (tramp-check-for-regexp): Simplify search.
3621 (tramp-enter-password): Remove it. Move implementation ...
3622 (tramp-action-password): ... here.
3623 (tramp-mode-string-to-int, tramp-local-host-p)
3624 (tramp-make-tramp-temp-file, tramp-read-passwd)
87e6e64f
DA
3625 (tramp-clear-passwd, tramp-time-less-p, tramp-time-diff):
3626 Set tramp-autoload cookie.
2fe4b125
MA
3627
3628 * net/trampver.el: Update release number.
3629
36302012-06-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
3631 Michael Albinus <michael.albinus@gmx.de>
3632
3633 * net/tramp.el (tramp-set-completion-function): Fix docstring.
3634 (tramp-parse-group, tramp-parse-file)
3635 (tramp-parse-shostkeys-sknownhosts): New defuns.
3636 (tramp-parse-rhosts, tramp-parse-rhosts-group, tramp-parse-shosts)
3637 (tramp-parse-shosts-group, tramp-parse-sconfig)
3638 (tramp-parse-sconfig-group, tramp-parse-shostkeys)
3639 (tramp-parse-sknownhosts, tramp-parse-hosts)
3640 (tramp-parse-hosts-group, tramp-parse-passwd, tramp-parse-netrc):
3641 Use them.
3642 (tramp-parse-passwd-group, tramp-parse-netrc-group)
3643 (tramp-parse-putty-group): Don't narrow.
3644 (tramp-parse-putty): Make a loop.
3645 (tramp-file-name-handler): Catch the `suppress' signal.
3646
72834e10
CY
36472012-06-11 Chong Yidong <cyd@gnu.org>
3648
3649 * image.el (imagemagick-register-types): Put the ImageMagick entry
3650 at the end of image-type-file-name-regexps.
3651
a4712e11
JB
36522012-06-11 Johan Bockgård <bojohan@gnu.org>
3653
3654 * emacs-lisp/pcase.el (pcase-UPAT, pcase-QPAT): New edebug specs.
3655 (pcase, pcase-let*, pcase-dolist): Use them.
3656
82ad98e3
SM
36572012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
3658
3659 * emacs-lisp/pcase.el (pcase--let*): New function.
3660 (pcase-let*): Use it. Use pcase--memoize to avoid repeated expansions.
3661 (pcase--expand): Use macroexp-let².
3662
f80efb86
SM
36632012-06-10 Stefan Monnier <monnier@iro.umontreal.ca>
3664
3665 * emacs-lisp/timer.el, emacs-lisp/syntax.el, emacs-lisp/smie.el:
3666 * emacs-lisp/ewoc.el, emacs-lisp/cconv.el, emacs-lisp/bytecomp.el:
3667 * emacs-lisp/byte-opt.el, emacs-lisp/autoload.el: Convert to cl-lib.
3668 * emacs-lisp/easymenu.el, emacs-lisp/easy-mmode.el:
3669 * emacs-lisp/derived.el: Use pcase instead of `cl'.
3670 * emacs-lisp/cl-lib.el: Get rid of special cl-macs auto load.
3671
31ca4639 36722012-06-10 Glenn Morris <rgm@gnu.org>
94f0aa34 3673
31ca4639
CY
3674 * mail/rmail.el (rmail-yank-current-message): Leave point at
3675 correct position. (Bug#11660)
94f0aa34 3676
31ca4639 36772012-06-10 Chong Yidong <cyd@gnu.org>
9e1b8ec4 3678
31ca4639 3679 * allout-widgets.el: Fix code header.
9e1b8ec4 3680
31ca4639 36812012-06-10 Chong Yidong <cyd@gnu.org>
00cd0305 3682
f80efb86
SM
3683 * cus-edit.el (customize-changed-options-previous-release):
3684 Bump to 24.1.
31ca4639 3685
642b6d30
AS
36862012-06-09 Andreas Schwab <schwab@linux-m68k.org>
3687
3688 * Makefile.in (BIG_STACK_DEPTH): Enlarge to 2200.
3689
4f5d2ba1
CY
36902012-06-09 Chong Yidong <cyd@gnu.org>
3691
3692 * ebuff-menu.el (electric-buffer-list): Preserve header line.
3693
e75852fd
MR
36942012-06-09 Martin Rudalics <rudalics@gmx.at>
3695
3696 * window.el (special-display-popup-frame): Don't use
3697 window--display-buffer (Bug#11651).
3698
1e48e282
EZ
36992012-06-09 Eli Zaretskii <eliz@gnu.org>
3700
8a26b487
EZ
3701 Fix parallel builds: make sure loaddefs.el is not being written
3702 while Lisp files are compiled.
3703 (compile): Don't depend on 'mh-autoloads'.
3704 (compile-CMD, compile-SH): Depend on 'autoloads'.
3705 (bootstrap): Don't depend on 'autoloads' and 'mh-autoloads'.
3706
1e48e282
EZ
3707 * makefile.w32-in (BIG_STACK_DEPTH): Enlarge to 2200. (Bug#11649)
3708
6175e34b
CY
37092012-06-09 Chong Yidong <cyd@gnu.org>
3710
3711 * face-remap.el (face-remap-add-relative, face-remap-set-base)
3712 (buffer-face-set, buffer-face-toggle, buffer-face-mode-invoke):
3713 Doc fixes (Bug#11225).
3714
d9857e53
SM
37152012-06-09 Stefan Monnier <monnier@iro.umontreal.ca>
3716
3717 * emacs-lisp/macroexp.el (macroexp--expand-all): Only autoload
3718 a function if there's a clear indication that it has a compiler-macro.
3719 * emacs-lisp/byte-run.el (defun-declarations-alist, defmacro, defun)
3720 (macro-declarations-alist): Add arglist to declaration functions.
3721 (defun-declarations-alist): Add `obsolete' and `compiler-macro'.
3722 * emacs-lisp/cl-seq.el (cl-member, cl-assoc):
3723 * emacs-lisp/cl-lib.el (cl-list*, cl-adjoin):
3724 * emacs-lisp/cl-extra.el (cl-get): Use the new `declare' statement.
3725 Also add autoload to find the compiler macro.
3726 * emacs-lisp/cl-macs.el (eql) [compiler-macro]: Remove.
3727 (cl--compiler-macro-member, cl--compiler-macro-assoc)
3728 (cl--compiler-macro-adjoin, cl--compiler-macro-list*)
3729 (cl--compiler-macro-get): New functions, replacing calls to
3730 cl-define-compiler-macro.
3731 (cl-typep) [compiler-macro]: Use macroexp-let².
3732
f81298f8 37332012-06-08 Nick Dokos <nicholas.dokos@hp.com> (tiny change)
ee574791
UJ
3734
3735 * calendar/icalendar.el (icalendar--parse-vtimezone): Import TZID
3736 string properly, fixes Bug#11473.
3737
4b56d0fe
CY
37382012-06-08 Chong Yidong <cyd@gnu.org>
3739
3740 * faces.el (set-face-attribute): Doc fix.
3741 (modify-face): Don't use :bold and :italic.
3742 (error, warning, success): Tweak definitions.
3743
3744 * cus-edit.el (custom-modified, custom-invalid, custom-rogue)
3745 (custom-modified, custom-set, custom-changed, custom-themed)
3746 (custom-saved, custom-button, custom-button-mouse)
3747 (custom-button-pressed, custom-state, custom-comment-tag)
3748 (custom-variable-tag, custom-group-tag-1, custom-group-tag)
3749 (custom-group-subtitle): Use new-style face specs.
3750 (custom-invalid-face, custom-rogue-face, custom-modified-face)
3751 (custom-set-face, custom-changed-face, custom-saved-face)
3752 (custom-button-face, custom-button-pressed-face)
3753 (custom-documentation-face, custom-state-face)
3754 (custom-comment-face, custom-comment-tag-face)
3755 (custom-variable-tag-face, custom-variable-button-face)
3756 (custom-face-tag-face, custom-group-tag-face-1)
3757 (custom-group-tag-face): Remove obsolete face alias.
3758
3759 * epa.el (epa-validity-high, epa-validity-medium)
3760 (epa-validity-low, epa-mark, epa-field-name, epa-string)
3761 (epa-field-name, epa-field-body):
3762 * font-lock.el (font-lock-comment-face, font-lock-string-face)
3763 (font-lock-keyword-face, font-lock-builtin-face)
3764 (font-lock-function-name-face, font-lock-variable-name-face)
3765 (font-lock-type-face, font-lock-constant-face):
3766 * ido.el (ido-first-match, ido-only-match, ido-subdir)
3767 (ido-virtual, ido-indicator, ido-incomplete-regexp):
3768 * speedbar.el (speedbar-button-face, speedbar-file-face)
3769 (speedbar-directory-face, speedbar-tag-face)
3770 (speedbar-selected-face, speedbar-highlight-face)
3771 (speedbar-separator-face):
3772 * whitespace.el (whitespace-newline, whitespace-space)
3773 (whitespace-hspace, whitespace-tab, whitespace-trailing)
3774 (whitespace-line, whitespace-space-before-tab)
3775 (whitespace-space-after-tab, whitespace-indentation)
3776 (whitespace-empty):
3777 * emulation/cua-base.el (cua-global-mark):
3778 * eshell/em-prompt.el (eshell-prompt):
3779 * net/newst-plainview.el (newsticker-new-item-face)
3780 (newsticker-old-item-face, newsticker-immortal-item-face)
3781 (newsticker-obsolete-item-face, newsticker-date-face)
3782 (newsticker-statistics-face, newsticker-default-face):
3783 * net/newst-reader.el (newsticker-feed-face)
3784 (newsticker-extra-face, newsticker-enclosure-face):
3785 * net/newst-treeview.el (newsticker-treeview-face)
3786 (newsticker-treeview-new-face, newsticker-treeview-old-face)
3787 (newsticker-treeview-immortal-face)
3788 (newsticker-treeview-obsolete-face)
3789 (newsticker-treeview-selection-face):
3790 * net/rcirc.el (rcirc-my-nick, rcirc-other-nick)
3791 (rcirc-bright-nick, rcirc-server, rcirc-timestamp)
3792 (rcirc-nick-in-message, rcirc-nick-in-message-full-line)
3793 (rcirc-prompt, rcirc-track-keyword, rcirc-url, rcirc-keyword):
3794 * nxml/nxml-outln.el (nxml-heading, nxml-outline-indicator)
3795 (nxml-outline-active-indicator, nxml-outline-ellipsis):
3796 * play/mpuz.el (mpuz-unsolved, mpuz-solved, mpuz-trivial)
3797 (mpuz-text):
3798 * progmodes/vera-mode.el (vera-font-lock-number)
3799 (vera-font-lock-function, vera-font-lock-interface):
3800 * textmodes/table.el (table-cell): Use new-style face specs, and
3801 don't use the old :bold and :italic attributes.
3802
3803 * progmodes/ebrowse.el (ebrowse-tree-mark, ebrowse-root-class)
3804 (ebrowse-member-attribute, ebrowse-default, ebrowse-file-name)
3805 (ebrowse-member-class, ebrowse-progress): Likewise.
3806 (ebrowse-tree-mark-face, ebrowse-root-class-face)
3807 (ebrowse-file-name-face, ebrowse-default-face)
3808 (ebrowse-member-attribute-face, ebrowse-member-class-face)
3809 (ebrowse-progress-face): Remove obsolete faces.
3810
3811 * progmodes/flymake.el (flymake-errline, flymake-warnline):
3812 Inherit from error and warning faces respectively.
3813
3814 * textmodes/flyspell.el (flyspell-incorrect, flyspell-duplicate):
3815 Likewise.
f80efb86
SM
3816 (flyspell-incorrect-face, flyspell-duplicate-face):
3817 Remove obsolete aliases.
4b56d0fe 3818
03310646
MA
38192012-06-08 Michael Albinus <michael.albinus@gmx.de>
3820
3821 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
3822 Avoid infloop.
3823
513749ee
SM
38242012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
3825
3826 * startup.el (argv, argi): Make lexically scoped.
3827 * emacs-lisp/float-sup.el (pi): Use internal-make-var-non-special.
3828 * emacs-lisp/cl-macs.el: Use lexical-binding.
3829 Rename cl-bind-* to cl--bind-*.
3830 * files.el: Don't require `cl' since it doesn't use it.
3831 * emacs-lisp/pcase.el, emacs-lisp/macroexp.el: Add coding cookie.
3832
595ef4ad
JB
38332012-06-08 Juanma Barranquero <lekktu@gmail.com>
3834
3835 * textmodes/texinfmt.el: Fix bug#11640 (reverts part of 2008-07-31T05:33:56Z!dann@ics.uci.edu).
3836 (texinfo-format-printindex): Use `texinfo-sort-region' in all platforms,
3837 instead of calling external sort utility.
3838 (texinfo-sort-region, texinfo-sort-startkeyfun): Restore functions.
3839
e9f66fcb
EZ
38402012-06-08 Eli Zaretskii <eliz@gnu.org>
3841
3842 * descr-text.el (describe-char): Mention how to insert the
3843 character, if the current input method doesn't support it.
3844 See the discussion in this thread for the details:
3845 http://lists.gnu.org/archive/html/emacs-devel/2012-05/msg00533.html.
3846
3d10db47
SS
38472012-06-08 Sam Steingold <sds@gnu.org>
3848
3849 * bindings.el (global-map): Bind XF86Forward to next-buffer and
3850 XF86Back to previous-buffer.
3851 (minibuffer-local-map): Bind them to next-history-element and
3852 previous-history-element respectively.
3853 * help-mode.el (help-mode-map): Bind them to help-go-forward and
3854 help-go-back respectively.
3855 * info.el (Info-mode-map): Bind them to Info-history-forward and
3856 Info-history-back respectively.
3857 These are the keys next to Up on the ThinkPad keyboard.
3858
de7e2b36
SM
38592012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
3860
3861 Get rid of cl-lexical-let, keeping only lexical-let for compatibility.
3862 * emacs-lisp/cl-macs.el: Provide itself.
3863 (cl--labels-convert-cache): New var.
3864 (cl--labels-convert): New function.
3865 (cl-flet, cl-labels): New implementation with new semantics, relying on
3866 lexical-binding.
3867 * emacs-lisp/cl.el: Mark compatibility aliases as obsolete.
3868 (cl-closure-vars, cl--function-convert-cache)
3869 (cl--function-convert): Move from cl-macs.el.
3870 (lexical-let, lexical-let*, flet, labels): Move from cl-macs.el and
3871 rename by removing the "cl-" prefix.
3872 * emacs-lisp/macroexp.el (macroexp-unprogn): New function.
3873
6fa6c4ae
SM
38742012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
3875
3876 * emacs-lisp/cl.el (cl-macroexpand, cl-macro-environment)
3877 (cl-macroexpand-all, cl-not-hash-table, cl-builtin-gethash)
3878 (cl-builtin-remhash, cl-builtin-clrhash, cl-builtin-maphash)
3879 (cl-map-keymap, cl-copy-tree, cl-gethash, cl-puthash, cl-remhash)
3880 (cl-clrhash, cl-maphash, cl-make-hash-table, cl-hash-table-p)
3881 (cl-hash-table-count): Add old compatibility aliases.
3882
3883 * emacs-lisp/cl-macs.el (cl-macro-environment): Remove var.
3884 Use macroexpand-all-environment instead.
3885 (cl--old-macroexpand): New var.
3886 (cl--sm-macroexpand): New function.
3887 (cl-symbol-macrolet): Use it during macro expansion.
3888 (cl--function-convert-cache): New var.
3889 (cl--function-convert): New function, extracted from
3890 cl-macroexpand-all.
3891 (cl-lexical-let): Use it.
3892
3893 * emacs-lisp/cl-lib.el (cl-macro-environment): Remove decl.
3894 (cl-macroexpand): Move to cl-macs.el and rename to cl--sm-macroexpand.
3895 (cl-member): Remove old alias.
3896
3897 * emacs-lisp/cl-extra.el (cl-map-keymap, cl-copy-tree)
3898 (cl-not-hash-table, cl-builtin-gethash, cl-builtin-remhash)
3899 (cl-builtin-clrhash, cl-builtin-maphash, cl-gethash, cl-puthash)
3900 (cl-remhash, cl-clrhash, cl-maphash, cl-make-hash-table)
3901 (cl-hash-table-p, cl-hash-table-count): Move to cl.el.
3902 (cl-macroexpand-cmacs): Remove var.
3903 (cl-macroexpand-all, cl-macroexpand-body): Remove funs.
3904 Use macroexpand-all instead.
3905
4dd1c416
SM
39062012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
3907
3908 * emacs-lisp/macroexp.el (macroexp-progn, macroexp-let*, macroexp-if)
3909 (macroexp-let², macroexp--const-symbol-p, macroexp-const-p)
3910 (macroexp-copyable-p): New functions and macros.
3911 * emacs-lisp/edebug.el (edebug-unwrap):
3912 * emacs-lisp/disass.el (disassemble-internal): Use macroexp-progn.
3913 * emacs-lisp/pcase.el: Use macroexp-let*, macroexp-if, ...
3914 (pcase--let*): Remove.
3915 * emacs-lisp/bytecomp.el (byte-compile-const-symbol-p)
3916 (byte-compile-constp): Remove. Use macroexp--const-symbol-p and
3917 macroexp-const-p instead.
3918 * emacs-lisp/byte-opt.el: Use macroexp-const-p and macroexp-progn.
3919
3920 * emacs-lisp/cl-macs.el: Clean up the name space by using "cl--"
3921 instead of "cl-" for internal definitions. Use macroexp-const-p.
3922 (cl-old-bc-file-form): Remove var.
3923 (cl-const-exprs-p): Remove fun.
3924 (cl-labels, cl-macrolet): Use backquote.
3925 (cl-lexical-let): Use cl-symbol-macrolet. Don't use cl-defun-expander.
3926 (cl-defun-expander, cl-byte-compile-compiler-macro): Remove fun.
3927 (cl-define-setf-expander): Rename from cl-define-setf-method.
3928 * emacs-lisp/cl.el: Adjust alias for define-setf-method.
3929
3930 * international/mule-cmds.el: Don't require CL.
3931 (view-hello-file): Don't use `letf'.
3932
ed8bd4d7
SM
39332012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
3934
7287f2f3
SM
3935 * tmm.el (tmm-prompt): Use string-prefix-p.
3936 (tmm-completion-delete-prompt): Don't affect current-buffer outside.
3937 (tmm-add-prompt): Use minibuffer-completion-help.
3938 (tmm-delete-map): Remove.
3939
ed8bd4d7
SM
3940 * subr.el (kbd): Make it its own function.
3941
7b4cdbf4
SM
39422012-06-07 Stefan Merten <smerten@oekonux.de>
3943
3944 * textmodes/rst.el: Use `eval-when-compile' for requiring `cl.el'.
3945 Silence compiler warnings. Fix versions.
ed8bd4d7 3946 (rst-position-if, rst-position, rst-some, rst-signum): New functions.
7b4cdbf4 3947 (rst-shift-region, rst-adornment-level, rst-compute-tabs)
ed8bd4d7 3948 (rst-indent-line, rst-shift-region, rst-forward-line): Use them.
7b4cdbf4
SM
3949 (rst-package-emacs-version-alist): Correct Emacs version to
3950 represent major merge with upstream.
ed8bd4d7 3951 (rst-transition, rst-adornment, rst-compile-toolsets): Fix versions.
7b4cdbf4 3952
2b48d721
GM
39532012-06-06 Glenn Morris <rgm@gnu.org>
3954
3955 * mail/emacsbug.el (report-emacs-bug): Add relevant EMACS env-vars.
3956 Only print environment variables if set.
3957
fa779ab0
SM
39582012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
3959
3960 * emacs-lisp/macroexp.el: Don't require CL since we don't use it.
3961 (macroexp--cons): Rename from maybe-cons.
3962 (macroexp--accumulate): Rename from macroexp-accumulate.
3963 (macroexp--all-forms): Rename from macroexpand-all-forms.
3964 (macroexp--all-clauses): Rename from macroexpand-all-clauses.
3965 (macroexp--expand-all): Rename from macroexpand-all-1.
3966
628299e0
SS
39672012-06-06 Sam Steingold <sds@gnu.org>
3968
3969 * calendar/calendar.el (calendar-in-read-only-buffer):
3970 Call `special-mode' to enable the standard read-only keybindings.
3971
b7bb5838
SM
39722012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
3973
3974 * emacs-lisp/macroexp.el (macroexpand-all-1): Don't spam the output
3975 with "loading" messages (bug#11635).
3976
dfb308ba
MA
39772012-06-06 Michael Albinus <michael.albinus@gmx.de>
3978
3979 * files.el (enable-remote-dir-locals): New option.
3980 (hack-dir-local-variables): Use it. (Bug#1933, Bug#6731)
3981
0372ee92
MA
3982 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
3983 Ensure, that the temp directory is local.
3984
3985 * net/tramp-sh.el (tramp-sh-handle-write-region): Let-bind
3986 `temporary-file-directory'.
3987
eed0bb91
MA
3988 * progmodes/python.el (python-send-region): Ensure, that the
3989 temporary file is created also in the remote case.
3990
7a58f64d
GM
39912012-06-06 Glenn Morris <rgm@gnu.org>
3992
f7dd4e98
GM
3993 * vc/vc-rcs.el (vc-rcs-rcs2log-program): New.
3994 (vc-rcs-update-changelog): Use it.
3995
090bd7cb 3996 * emacs-lisp/authors.el (authors-fixed-entries): Remove vcdiff.
276d5f5d 3997
7a58f64d
GM
3998 * vc/vc-sccs.el (vc-sccs-write-revision): New function.
3999 (vc-sccs-workfile-unchanged-p): Use vc-sccs-write-revision.
4000 (vc-sccs-diff): Replace use of the external vcdiff script.
4001
daed4003
GM
40022012-06-05 Glenn Morris <rgm@gnu.org>
4003
4004 * ledit.el: Move to obsolete/.
4005
48c455c7
SS
40062012-06-05 Sam Steingold <sds@gnu.org>
4007
ed9265fc 4008 * calendar/calendar.el (calendar-exit): Reinstate the 2012-03-28
48c455c7
SS
4009 patch (Bug#11140).
4010
57a7d507
SM
40112012-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
4012
090bd7cb 4013 * emacs-lisp/cust-print.el: Move to obsolete.
d32926ff 4014
53aacf21
SM
4015 * emacs-lisp/macroexp.el (macroexpand-all-1): Tolerate errors during
4016 compiler-macro expansion.
4017
57a7d507
SM
4018 Add native compiler-macro support.
4019 * emacs-lisp/macroexp.el (macroexpand-all-1):
4020 Support compiler-macros directly. Properly follow aliases and apply
4021 the compiler macros more thoroughly.
4022 * emacs-lisp/cl.el: Don't copy compiler-macro properties any more since
4023 macroexpand now properly follows aliases.
4024 * emacs-lisp/cl-macs.el (toplevel, cl-define-compiler-macro)
4025 (cl-compiler-macroexpand): Use new prop.
4026 * emacs-lisp/byte-opt.el (featurep): Optimize earlier.
4027
4028 * emacs-lisp/cl-lib.el (custom-print-functions): Add alias.
4029
51a5f9d8
MR
40302012-06-05 Martin Rudalics <rudalics@gmx.at>
4031
4032 * window.el (get-lru-window, get-mru-window, get-largest-window):
4033 New argument NOT-SELECTED to avoid picking the selected window.
4034 (window--display-buffer-1, window--display-buffer-2): Replace by
4035 new function window--display-buffer
4036 (display-buffer-same-window, display-buffer-reuse-window)
57a7d507
SM
4037 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
4038 Use window--display-buffer.
51a5f9d8
MR
4039 (display-buffer-use-some-window): Remove temporary dedication
4040 hack by calling get-lru-window and get-largest-window with
4041 NOT-SELECTED argument non-nil. Call window--display-buffer.
4042
08f9f738
GM
40432012-06-05 Glenn Morris <rgm@gnu.org>
4044
4045 * vc/vc-sccs.el (vc-sccs-workfile-unchanged-p):
4046 Replace external vcdiff script.
4047
e364a2b7
SM
40482012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
4049
4050 * emacs-lisp/cl-lib.el (cl-values, cl-values-list): Fix up last change.
4051
041df390
CY
40522012-06-04 Chong Yidong <cyd@gnu.org>
4053
e364a2b7
SM
4054 * image.el (imagemagick-types-inhibit): Revert last change.
4055 Add INFO and M.
47b36b94 4056 (imagemagick-enabled-types): Remove CIN and EPS*.
041df390 4057
7c1898a7
SM
40582012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
4059
4060 * emacs-lisp/cl-lib.el: Rename from cl.el.
4061 * emacs-lisp/cl.el: New compatibility file.
4062 * emacs-lisp/cl-lib.el, emacs-lisp/cl-seq.el, emacs-lisp/cl-macs.el:
4063 * emacs-lisp/cl-extra.el: Rename all top-level functions and variables
4064 to obey the "cl-" prefix.
4065 * emacs-lisp/macroexp.el (macroexpand-all-1): Adjust to new name.
4066
0c3461de
GM
40672012-06-03 Glenn Morris <rgm@gnu.org>
4068
1e266c88
GM
4069 * emacs-lisp/authors.el (authors-aliases): Addition.
4070
0c3461de
GM
4071 * cus-start.el (tool-bar-style, tool-bar-max-label-size):
4072 Fix :version.
4073
d8a52e15
SM
40742012-06-03 Stefan Merten <smerten@oekonux.de>
4075
4076 * textmodes/rst.el: Add comments.
4077 (rst-transition, rst-adornment): New faces.
4078 (rst-adornment-faces-alist): Make default safe to reevaluate.
4079 Fixes
4080 http://sourceforge.net/tracker/?func=detail&atid=422030&aid=3479603&group_id=38414.
4081 Improve customization tags.
4082 (rst-define-level-faces): Clarify meaning.
4083
5205d6f6
CY
40842012-06-03 Chong Yidong <cyd@gnu.org>
4085
4086 * progmodes/compile.el (compilation-mode-line-fail)
7c1898a7
SM
4087 (compilation-mode-line-run, compilation-mode-line-exit):
4088 New faces.
5205d6f6
CY
4089 (compilation-start, compilation-handle-exit): Use them (Bug#11032).
4090
757ee657
JD
40912012-06-03 Jack Duthen <duthen.mac.01@gmail.com> (tiny change)
4092
7c1898a7
SM
4093 * progmodes/which-func.el (which-func-update-ediff-windows):
4094 New function. Use it in ediff-select-hook (Bug#11478).
757ee657 4095
5f2c76c6
CY
40962012-06-03 Chong Yidong <cyd@gnu.org>
4097
4098 * bindings.el: Remove explicit help text from format-mode-line.
4099 It is now supplied by mode-line-default-help-echo.
4100 (mode-line-front-space, mode-line-end-spaces)
4101 (mode-line-misc-info): New variables.
4102 (mode-line-modes, mode-line-position): Move the default value to
4103 the variable definition.
4104 (mode-line-default-help-echo): New defcustom.
383f7350
CY
4105 (mode-line-mule-info-help-echo, mode-line-read-only-help-echo)
4106 (mode-line-modified-help-echo): New functions.
4107 (mode-line-mule-info, mode-line-modified): Use them.
4108 (mode-line-eol-desc, propertized-buffer-identification):
4109 Consistency fixes for help text.
cbe46e5f
CY
4110 (mode-line-coding-system-map): Allow using mouse-3 to invoke
4111 set-buffer-file-coding-system (Bug#289).
4112 (mode-line-mule-info-help-echo): Update help text.
5f2c76c6 4113
f2d6a3df
SM
41142012-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
4115
4116 * simple.el (execute-extended-command): Set real-this-command
4117 (bug#11506).
4118
37269466
CY
41192012-06-02 Chong Yidong <cyd@gnu.org>
4120
4121 Remove incorrect uses of "modeline" in comments, docstrings, and
4122 function/variable names (Bug#10329).
4123
4124 * cus-edit.el (mode-line):
4125 * dframe.el (dframe-mouse-hscroll):
4126 * emacs-lisp/re-builder.el:
4127 * emacs-lisp/easy-mmode.el (define-minor-mode):
4128 * frame.el (set-frame-name):
4129 * help.el (lookup-minor-mode-from-indicator):
4130 * net/rcirc.el (rcirc-activity-string, rcirc-short-buffer-name):
4131 * progmodes/cc-cmds.el (c-toggle-auto-newline)
4132 (c-toggle-hungry-state):
4133 * progmodes/antlr-mode.el (antlr-language-alist):
4134 * progmodes/idlw-shell.el (idlwave-shell-electric-stop-line-face):
4135 * progmodes/vhdl-mode.el (vhdl-mode):
4136 * progmodes/which-func.el (which-func, which-func-cleanup-function):
4137 * term/ns-win.el (ns-face-at-pos):
4138 * term/sup-mouse.el (sup-mouse-report):
4139 * textmodes/flyspell.el (flyspell-mode-line-string):
4140 * textmodes/ispell.el (ispell-highlight-face):
4141 * textmodes/reftex-global.el:
4142 * vc/vc-arch.el (vc-arch-mode-line-string):
4143 * vc/vc-cvs.el (vc-cvs-mode-line-string):
4144 * vc/vc-git.el (vc-git-mode-line-string):
4145 * vc/vc-hooks.el (vc-display-status)
4146 (vc-default-mode-line-string):
4147 * vc/vc-mtn.el (vc-mtn-mode-line-string): Doc fixes.
4148
4149 * ansi-color.el (ansi-color-faces-vector): Change default faces.
4150
4151 * dired.el (dired-sort-set-mode-line): Rename from
4152 dired-sort-set-modeline. All callers changed.
4153
4154 * eshell/esh-mode.el (eshell-status-in-mode-line): Rename from
4155 eshell-status-in-modeline.
4156
4157 * foldout.el (foldout-mode-line-string): Rename from
4158 foldout-modeline-string. All callers changed.
4159 (foldout-update-mode-line): Rename from foldout-update-modeline.
4160
4161 * subr.el (redraw-modeline): Make into obsolete alias.
4162
4163 * calendar/timeclock.el (timeclock-mode-line-display): Rename from
4164 timeclock-modeline-display. Make old name an alias.
4165 (timeclock-update-mode-line): Likewise. All callers changed.
4166 (timeclock-mode-line-display): No need to check before using
4167 add-hook.
4168 (timeclock-relative, timeclock-day-over-hook)
4169 (timeclock-use-elapsed, timeclock-mode-string)
4170 (timeclock-mode-line-display): Doc fix, "modeline" -> "mode line".
4171
4172 * emulation/crisp.el (crisp-mode-mode-line-string): Rename from
4173 crisp-mode-modeline-string.
4174
4175 * play/solitaire.el (solitaire-build-mode-line): Rename from
4176 solitaire-build-modeline. All callers changed.
4177
4178 * play/zone.el (zone-hiding-mode-line): Rename from
4179 zone-hiding-modeline. All callers changed.
4180 (zone): Remove unusued `modeline-hidden-level' property.
4181
4182 * progmodes/xscheme.el (xscheme-mode-line-initialize): Rename from
4183 xscheme-modeline-initialize. All callers changed.
4184
4185 * strokes.el (strokes-lighter): Rename from
4186 strokes-modeline-string.
4187
4188 * textmodes/sgml-mode.el (html-face-tag-alist)
4189 (html-tag-face-alist): Use mode-line face instead of obsolete
4190 alias modeline.
4191
42152ee4
SM
41922012-06-02 Stefan Merten <smerten@oekonux.de>
4193
4194 * textmodes/rst.el: Always require `cl'.
4cf9b38d 4195 (rst-mode-map): Fix meaning of C-M-a / C-M-e.
42152ee4 4196
95f520b5
CY
41972012-06-02 Chong Yidong <cyd@gnu.org>
4198
4199 * image.el (imagemagick-enabled-types): Rename from
4200 imagemagick-types-enable. Add many more types.
4201 (imagemagick-types-inhibit): Change default to nil.
4202 (imagemagick-filter-types): Caller changed.
4203
4a5f187a
SM
42042012-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
4205
03fef3e6
SM
4206 * emacs-lisp/cl-macs.el: Use backquotes.
4207 (cl-transform-function-property): Use eval-and-compile rather than
4208 abusing `require'.
4209 (defstruct): Use declare-function instead of with-no-warnings.
4210
4a5f187a
SM
4211 * emacs-lisp/bytecomp.el: Fix last change (bug#11594).
4212 (byte-compile-output-docform): Re-add the print-circle bindings.
4213 (byte-compile-fix-header): Use #$ just because it's shorter.
4214 (byte-compile-output-file-form): Remove defun/defmacro.
4215
bd56924f
MR
42162012-06-01 Martin Rudalics <rudalics@gmx.at>
4217
4218 * simple.el (choose-completion): Remove now obsolete binding for
4219 owindow.
4220
046e38ce
MA
42212012-06-01 Michael Albinus <michael.albinus@gmx.de>
4222
4223 * net/tramp.el (tramp-check-for-regexp): Search from buffer end,
4224 in order to avoid "Stack overflow in regexp matcher".
4225
32d72c2f
GM
42262012-05-31 Glenn Morris <rgm@gnu.org>
4227
4228 * image.el: For clarity, call imagemagick-register-types at
4229 top-level, rather than relying on a custom :initialize.
4230 (imagemagick-types-enable): New option. (Bug#11557)
60b5f187
GM
4231 (imagemagick-filter-types): New function. (Bug#7406)
4232 (imagemagick-register-types): Use imagemagick-filter-types.
32d72c2f
GM
4233 If disabling support, remove elements altogether rather
4234 than using an impossible regexp.
4235 (imagemagick-types-inhibit): Give it the default init function.
4236
dd41169b
SM
42372012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
4238
4a5f187a
SM
4239 * emacs-lisp/bytecomp.el (byte-compile-fix-header):
4240 Handle arbitrary file name lengths (Bug#11585).
dd41169b 4241
efc00ab1 42422012-05-31 Martin Rudalics <rudalics@gmx.at>
5221ccb9
MR
4243
4244 * desktop.el (desktop-read): Clear previous and next buffers for
4245 all windows and bury *Messages* buffer (bug#11556).
4246
500fcedc
SM
42472012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
4248
4249 Add `declare' for `defun'. Align `defmacro's with it.
4250 * emacs-lisp/easy-mmode.el (define-minor-mode)
4251 (define-globalized-minor-mode): Don't autoload the var definitions.
4252 * emacs-lisp/byte-run.el: Use lexical-binding.
4253 (defun-declarations-alist, macro-declarations-alist): New vars.
4254 (defmacro, defun): Use them.
4255 (make-obsolete, define-obsolete-function-alias)
4256 (make-obsolete-variable, define-obsolete-variable-alias):
4257 Use `declare'.
4258 (macro-declaration-function): Mark obsolete.
4259 * emacs-lisp/autoload.el: Use lexical-binding.
4260 (make-autoload): Add `expansion' arg. Rely more on macro expansion.
4261
6e8a1786
AM
42622012-05-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
4263
4264 * textmodes/ispell.el (ispell-with-no-warnings):
4265 Define as a macro.
500fcedc
SM
4266 (ispell-kill-ispell, ispell-change-dictionary):
4267 Use `called-interactively-p' for Emacs instead of obsolete
6e8a1786
AM
4268 `interactive-p'.
4269
61b108cc
SM
42702012-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
4271
4272 * emacs-lisp/byte-run.el (defmacro, defun): Move from C.
4273 (macro-declaration-function): Move var from C code.
4274 (macro-declaration-function): Define function with defalias.
4275 * emacs-lisp/macroexp.el (macroexpand-all-1):
4276 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form):
4277 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Don't handle
4278 defun/defmacro any more.
4279 * emacs-lisp/bytecomp.el (byte-compile-arglist-signature):
4280 Provide fallback for unknown arglist.
4281 (byte-compile-arglist-warn): Change calling convention.
4282 (byte-compile-output-file-form): Move print-vars binding.
4283 (byte-compile-output-docform): Simplify accordingly.
4284 (byte-compile-file-form-defun, byte-compile-file-form-defmacro)
4285 (byte-compile-defmacro-declaration): Remove.
4286 (byte-compile-file-form-defmumble): Generalize to defalias.
4287 (byte-compile-output-as-comment): Return byte-positions.
4288 Simplify callers accordingly.
4289 (byte-compile-lambda): Use `assert'.
4290 (byte-compile-defun, byte-compile-defmacro): Remove.
4291 (byte-compile-file-form-defalias):
4292 Use byte-compile-file-form-defmumble.
4293 (byte-compile-defalias-warn): Remove.
4294
6d3f7c2f
SM
42952012-05-29 Stefan Merten <smerten@oekonux.de>
4296
4297 * textmodes/rst.el: Silence `checkdoc-ispell' errors where
61b108cc 4298 possible. Fix authors. Improve comments. Improve loading of `cl'.
6d3f7c2f
SM
4299
4300 (rst-mode-abbrev-table): Merge definition.
4301 (rst-mode): Make sure `font-lock-defaults' is buffer local.
4302 (rst-define-key, rst-deprecated-keys, rst-call-deprecated): Refactor.
4303
6dbaa1c7
UJ
43042012-05-29 Ulf Jasper <ulf.jasper@web.de>
4305
4306 * calendar/icalendar.el
4307 (icalendar-export-region): Export UID properly.
4308
d209e2fb 43092012-05-29 Leo Liu <sdl.web@gmail.com>
61b108cc
SM
4310 * calendar/icalendar.el (icalendar-import-format):
4311 Add `icalendar-import-format-uid' (Bug#11525).
6dbaa1c7
UJ
4312 (icalendar-import-format-uid): New.
4313 (icalendar--parse-summary-and-rest, icalendar--format-ical-event):
4314 Export UID.
4315
6876a58d
SM
43162012-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
4317
4318 * emacs-lisp/pcase.el (pcase--expand): Accept different sets of vars in
4319 different alternative patterns.
4320 (pcase-codegen): Be more careful to preserve identity.
4321 (pcase--u1): Don't forget to mark vars as used.
4322
4323 * emacs-lisp/bytecomp.el (byte-compile-constp): Treat #'v as a constant.
4324 (byte-compile-close-variables): Bind byte-compile--outbuffer here...
4325 (byte-compile-from-buffer): ...rather than here.
4326
4327 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Don't re-preprocess
4328 functions from byte-compile-function-environment.
4329
46b7967e
TN
43302012-05-29 Troels Nielsen <bn.troels@gmail.com>
4331
4332 * window.el (window-deletable-p): Avoid deleting the root window
4333 of a frame with an active minibuffer.
4334
69d565e2
MR
43352012-05-29 Martin Rudalics <rudalics@gmx.at>
4336
4337 * simple.el (choose-completion): Use quit-window (Bug#11567).
4338
a149fa51
CY
43392012-05-29 Chong Yidong <cyd@gnu.org>
4340
4341 * whitespace.el (whitespace-cleanup): Fix usage of
4342 whitespace-empty-at-bob-regexp (Bug#11492).
4343
2b311310
AH
43442012-05-29 Aaron S. Hawley <aaron.s.hawley@gmail.com>
4345
4346 * vc/vc.el (vc-revert, vc-rollback): Dont kill vc-diff buffer on
4347 revert (Bug#11488).
4348
b9cb2387
JL
43492012-05-29 Juri Linkov <juri@jurta.org>
4350
4351 * isearch.el (isearch-mode-map): Bind `M-s _' to
4352 `isearch-toggle-symbol'. Bind `M-s c' to
4353 `isearch-toggle-case-fold'.
4354 (search-map): Bind `M-s _' to `isearch-forward-symbol'.
4355 (isearch-forward): Add `M-s _' to the docstring.
4356 (isearch-forward-symbol, isearch-toggle-case-fold)
4357 (isearch-symbol-regexp): New functions. (Bug#11381)
4358
d5e61c1c
JL
43592012-05-29 Juri Linkov <juri@jurta.org>
4360
4361 * isearch.el (isearch-word): Add docstring. (Bug#11381)
4362 (isearch-occur, isearch-search-and-update): If `isearch-word' is
4363 a function, call it to get the regexp.
4364 (isearch-message-prefix): If `isearch-word' holds a symbol, use its
4365 property `isearch-message-prefix' instead of the string "word ".
4366 (isearch-search-fun-default): For the case of `isearch-word',
4367 return a lambda that calls re-search-forward/re-search-backward
4368 with a regexp returned by `word-search-regexp' or by the function
4369 in `isearch-word'.
4370
8cbd80f7
JL
43712012-05-29 Juri Linkov <juri@jurta.org>
4372
4373 * isearch.el (isearch-search-fun-default): New function.
4374 (isearch-search-fun): Move default part to the new function
4375 `isearch-search-fun-default'.
4376 (isearch-search-fun-function): Set the default value to
4377 `isearch-search-fun-default'. (Bug#11381)
4378
4379 * comint.el (comint-history-isearch-end):
4380 Use `isearch-search-fun-default'.
4381 (comint-history-isearch-search): Use `isearch-search-fun-default'
4382 and remove spacial case for `isearch-word'.
4383 (comint-history-isearch-wrap): Remove spacial case for
4384 `isearch-word'.
4385
4386 * hexl.el (hexl-isearch-search-function):
4387 Use `isearch-search-fun-default'.
4388
4389 * info.el (Info-isearch-search): Use `isearch-search-fun-default'.
4390 Use `word-search-regexp' for `isearch-word'.
4391
4392 * misearch.el (multi-isearch-search-fun):
4393 Use `isearch-search-fun-default'.
4394
4395 * simple.el (minibuffer-history-isearch-search):
4396 Use `isearch-search-fun-default' and remove spacial case for
4397 `isearch-word'.
4398 (minibuffer-history-isearch-wrap): Remove spacial case for
4399 `isearch-word'.
4400
4401 * textmodes/reftex-global.el (reftex-isearch-wrap-function):
4402 Remove spacial case for `isearch-word'.
4403 (reftex-isearch-isearch-search): Use `isearch-search-fun-default'.
4404
85c8c5b6
AM
44052012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
4406
4407 Decrease XEmacs incompatibilities.
4408 * textmodes/flyspell.el (flyspell-check-pre-word-p):
4409 Use `string-match'.
4410 (flyspell-delete-region-overlays): Use alternative definition for
4411 XEmacs.
4412 (flyspell-delete-all-overlays): Use `flyspell-delete-region-overlays'.
4413 (flyspell-word): Use `process-kill-without-query' if XEmacs.
4414 (flyspell-mode-on): Use `interactive-p' if XEmacs.
4415 (flyspell-incorrect-face, flyspell-duplicate-face): Do not use
4416 `define-obsolete-face-alias' under XEmacs, but old method.
4417
4418 * textmodes/ispell.el (ispell-with-no-warnings): XEmacs alternative
4419 `with-no-warnings' definition or Emacs alias.
4420 (ispell-command-loop, ispell-message): Use `ispell-with-no-warnings'.
4421 (ispell-word): Do not use `region-p' if XEmacs.
4422
8cab9efc
AM
44232012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
4424
4425 * textmodes/ispell.el (ispell-find-aspell-dictionaries):
4426 Check for `ispell-dictionary-base-alist' instead of full
4427 `ispell-dictionary-alist'.
4428 (ispell-init-process): Show spellchecker when starting new Ispell
4429 process.
4430
fda91268
RZ
44312012-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
4432
4433 * progmodes/vhdl-mode.el: Sync with upstream 3.33.28.
4434 http://www.iis.ee.ethz.ch/~zimmi/emacs/vhdl-mode.html#release-notes-3.33
4435
694ea8e3
JB
44362012-05-27 Juanma Barranquero <lekktu@gmail.com>
4437
4438 * version.el (motif-version-string, gtk-version-string)
4439 (ns-version-string): Declare.
4440
e4d4f539
JL
44412012-05-27 Juri Linkov <juri@jurta.org>
4442
4443 * emacs-lisp/lisp-mode.el (eval-defun-2): Use `eval-sexp-add-defvars'
4444 after the `eval-defun-1' specialcaseing
4445 like in `edebug-eval-defun' (bug#10181).
4446
4447 * emacs-lisp/edebug.el (edebug-eval-defun): Set `face-documentation'
4448 like in `eval-defun-1'.
4449
33017faf 44502012-05-27 Eli Zaretskii <eliz@gnu.org>
b30b64b9 4451
fda91268
RZ
4452 * mail/sendmail.el (mail-yank-region):
4453 Recognize rmail-yank-current-message in addition to insert-buffer.
4454 Fixes mail-mode's "C-c C-r" that otherwise does nothing when invoked in
b30b64b9
EZ
4455 a *mail* buffer created through rmail-start-mail with sendmail as
4456 mail-user-agent.
4457
33017faf
GM
44582012-05-27 Chong Yidong <cyd@gnu.org>
4459
4460 * net/gnutls.el (gnutls-min-prime-bits): Improve docstring.
4461 Default to 256 (Bug#11267).
4462
4463 * help.el (describe-mode): Doc fix.
4464
04188bb9
GM
44652012-05-26 Glenn Morris <rgm@gnu.org>
4466
38264cc9
GM
4467 * w32-fns.el (w32-init-info): Remove.
4468 * paths.el (Info-default-directory-list): Add w32-init-info equivalent.
4469
eb7afdad
GM
4470 * info.el (info-initialize): For self-contained NS builds, put the
4471 included info/ directory at the front. (Bug#2791)
4472
04188bb9
GM
4473 * paths.el (Info-default-directory-list): Make it a defcustom,
4474 mainly so that we can use custom-initialize-delay.
4475
a179e3f7
SM
44762012-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
4477
43416392
SM
4478 * subr.el (buffer-has-markers-at): Mark obsolete.
4479
a179e3f7 4480 * subr.el (lambda): Use declare.
43416392 4481
a179e3f7
SM
4482 * emacs-lisp/lisp-mode.el (lambda):
4483 * emacs-lisp/edebug.el (lambda): Move properties to its definition.
4484
34a008d9
AH
44852012-05-26 Aaron S. Hawley <aaron.s.hawley@gmail.com>
4486
4487 * thingatpt.el (forward-same-syntax): Handle no ARG case. (Bug#11560)
4488
0a3b289f
GM
44892012-05-26 Glenn Morris <rgm@gnu.org>
4490
4491 * progmodes/cc-mode.el (auto-mode-alist): Fix typo.
4492
758c81e8
GM
44932012-05-25 Glenn Morris <rgm@gnu.org>
4494
f9f334f0
GM
4495 * paths.el: Remove no-byte-compile.
4496 * loadup.el: No need to load paths.el uncompiled.
4497
87eb79c2
GM
4498 * image.el (imagemagick-types-inhibit): Doc fix.
4499
758c81e8
GM
4500 * version.el: Remove no-byte-compile and associated formatting.
4501 * loadup.el: No need to load version.el uncompiled. AFAICS, this
4502 is ancient code from when there was an "inc-vers.el".
4503
e7e85dc0
SM
45042012-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
4505
4506 * progmodes/gdb-mi.el: Minor style changes.
4507 (gdb-enable-debug, gdb-speedbar-auto-raise, gdb-many-windows):
4508 Turn into minor modes.
4509 (gdb--if-arrow): Rename from gdb-if-arrow, make it hygienic.
4510 (gdb-mouse-until, gdb-mouse-jump): Adjust uses accordingly.
4511 (gdb-shell): Remove unneeded let-binding.
4512 (gdb-get-many-fields): Eliminate O(n²) behavior.
4513
f31237a4
EZ
45142012-05-25 Eli Zaretskii <eliz@gnu.org>
4515
4516 * cus-start.el <vertical-centering-font-regexp>: Avoid warning on
4517 platforms that don't link in fontset.c.
4518
bc1b21bb
JL
45192012-05-25 Juri Linkov <juri@jurta.org>
4520
4521 Use the same diff color scheme as in modern VCSes (bug#10181).
4522
4523 * vc/diff-mode.el (diff-header, diff-file-header): Remove "green"
4524 to avoid confusion with `diff-added' that now uses green colors.
4525 (diff-removed): Use shades of red.
4526 (diff-added): Use shades of green.
4527 (diff-changed): Leave just the yellow color.
4528 (diff-use-changed-face): New variable.
4529 (diff-font-lock-keywords): Use `diff-use-changed-face' to decide
4530 how to highlight context diff changes.
4531 (diff-refine-change): Use shades of yellow.
4532 (diff-refine-removed): New face that uses shades of red.
4533 (diff-refine-added): New face that uses shades of green.
4534 (diff-refine-hunk): Use `diff-refine-change', `diff-refine-added',
4535 `diff-refine-removed' in the call to `smerge-refine-subst'
4536 depending on the value of `diff-use-changed-face'.
4537
4538 * vc/smerge-mode.el (smerge-mine): Use shades of red.
4539 (smerge-other): Use shades of green.
4540 (smerge-base): Use shades of yellow.
4541 (smerge-refined-change): Empty face.
4542 (smerge-refined-removed): New face that uses shades of red.
4543 (smerge-refined-added): New face that uses shades of green.
4544 (smerge-refine-subst): Rename arg `props' to `props-c'. Add new
4545 args `props-r' and `props-a', and use them. Doc fix.
4546 (smerge-refine): Evaluate `smerge-use-changed-face' and depending
4547 on its value use different faces `smerge-refined-change',
4548 `smerge-refined-removed', `smerge-refined-added' in the call to
4549 `smerge-refine-subst'.
4550
4551 * vc/ediff-init.el (ediff-current-diff-A, ediff-fine-diff-A):
4552 Add face condition `min-colors 88' with shades of red.
4553 (ediff-current-diff-B, ediff-fine-diff-B): Add face condition
4554 `min-colors 88' with shades of green.
4555 (ediff-current-diff-C, ediff-fine-diff-C): Add face condition
4556 `min-colors 88' with shades of yellow.
4557
6df9112c
GM
45582012-05-24 Glenn Morris <rgm@gnu.org>
4559
ead5edc0
GM
4560 * paths.el (prune-directory-list, remote-shell-program): Move to...
4561 * files.el (prune-directory-list, remote-shell-program): ...here.
4562 For the latter, delay initialization, prefer ssh, just search PATH.
4563
f18b81e6
GM
4564 * paths.el (term-file-prefix): Move to faces.el (the only user).
4565 * faces.el (term-file-prefix): Move here, make it a defcustom.
4566
ee2f89a6
GM
4567 * paths.el (news-directory, news-path, news-inews-program):
4568 Move to gnus/nnspool.el.
61a583ca 4569
f8815e4c
GM
4570 * paths.el (gnus-default-nntp-server): Remove (gnus.el defines it).
4571
c8f3b42c
GM
4572 * paths.el (rmail-file-name, rmail-spool-directory): Move from here...
4573 * mail/rmail.el (rmail-file-name, rmail-spool-directory): ... to here.
4574 Make the latter a defcustom, with a delayed initialization.
4575
6df9112c
GM
4576 * paths.el (gnus-nntp-service, gnus-local-organization): Remove.
4577 These were deleted from Gnus itself late 2010.
4578
5dadff36
JB
45792012-05-22 Juanma Barranquero <lekktu@gmail.com>
4580
9e1701c6
JB
4581 * progmodes/which-func.el (which-func-ff-hook):
4582 Check against user-error, not error.
4583
bd7239f5 4584 * emacs-lisp/edebug.el (top): Do not load or set up loading of
5dadff36
JB
4585 cl-specs.el, which no longer exists.
4586
3290526d
GM
45872012-05-22 Glenn Morris <rgm@gnu.org>
4588
4589 * info.el (info-emacs-bug): New command.
4590 * menu-bar.el (menu-bar-help-menu): Add "How to Report a Bug" to Help.
4591 * mail/emacsbug.el (report-emacs-bug): Replace with info-emacs-bug.
4592
ff0c3cfb
GM
45932012-05-21 Glenn Morris <rgm@gnu.org>
4594
4595 * makefile.w32-in (update-subdirs-SH):
4596 * Makefile.in (update-subdirs): Update for moved update-subdirs.
4597
5814f126
SM
45982012-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
4599
a52c0aa0
SM
4600 * hi-lock.el (hi-lock-face-defaults): Move obsolete before definition.
4601
5814f126
SM
4602 * progmodes/compile.el (compilation-error-regexp-alist-alist):
4603 Simplify Maven regexp, and make sure the file can't start with a space
4604 (bug#11517).
4605
b847032c
GM
46062012-05-21 Glenn Morris <rgm@gnu.org>
4607
4608 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
4609 Scrap superfluous subshells.
4610
3858bfe7
SM
46112012-05-19 Stefan Monnier <monnier@iro.umontreal.ca>
4612
4613 * emacs-lisp/bytecomp.el (byte-compile-root-dir): New var.
4614 (byte-compile-warning-prefix, batch-byte-compile-file): Use it.
4615
d14b0029
JB
46162012-05-19 Jay Belanger <jay.p.belanger@gmail.com>
4617
4618 * calc/calc.el (calc-ensure-consistent-units): New variable.
4619
a52c0aa0
SM
4620 * calc/calc-units.el (math-consistent-units-p)
4621 (math-check-unit-consistency): New functions.
4622 (calc-quick-units, calc-convert-units):
4623 Use `math-check-unit-consistency' when `calc-ensure-consistent-units'
4624 is non-nil.
d14b0029
JB
4625 (calc-extract-units): Fix typo.
4626
60c4db3a
SM
46272012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
4628
77f3b62e
SM
4629 * vc/vc-bzr.el (vc-bzr-state-heuristic): Save match-data around sha1.
4630
60c4db3a
SM
4631 * textmodes/flyspell.el: Commenting style, plus code simplifications.
4632 (flyspell-default-deplacement-commands): Don't spell check after
4633 repeated window/frame switches (e.g. triggered by mouse-movement).
4634 (flyspell-delay-commands, flyspell-deplacement-commands): Use mapc.
4635 (flyspell-debug-signal-word-checked): Simplify and fit in 80 cols.
4636 (flyspell-casechars-cache, flyspell-ispell-casechars-cache)
4637 (flyspell-not-casechars-cache, flyspell-ispell-not-casechars-cache):
4638 Remove unused vars.
4639 (flyspell-get-casechars, flyspell-get-not-casechars):
4640 Simplify; Don't bother removing a ] just to add it back.
4641 * textmodes/ispell.el (ispell-program-name): Use executable-find.
4642
d209e2fb 46432012-05-18 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
b1a10716
RS
4644
4645 * calc/calc-lang.el (math-C-parse-bess, math-C-parse-fma):
4646 New functions.
bd7239f5 4647 (math-function-table): Add support for more C functions.
b1a10716 4648
3f1b25b5
AM
46492012-05-18 Agustín Martín Domingo <agustin.martin@hispalinux.es>
4650
090bd7cb
JB
4651 * textmodes/flyspell.el (flyspell-check-pre-word-p)
4652 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
4653 Protect delay handling for otherchars against empty otherchars.
3f1b25b5 4654
b581bb5c
SM
46552012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
4656
4657 * emacs-lisp/lisp-mode.el (doc-string-elt): Move those properties to
4658 their respective macro declarations.
4659 * skeleton.el (define-skeleton):
4660 * progmodes/compile.el (define-compilation-mode):
4661 * ibuf-macs.el (define-ibuffer-sorter, define-ibuffer-op)
4662 (define-ibuffer-filter):
4663 * emacs-lisp/generic.el (define-generic-mode):
4664 * emacs-lisp/easy-mmode.el (define-minor-mode)
4665 (define-globalized-minor-mode):
4666 * emacs-lisp/cl-macs.el (defun*, defmacro*, defstruct, deftype):
4667 * emacs-lisp/byte-run.el (defsubst):
4668 * custom.el (deftheme): Add doc-string metadata.
4669
70b8ef8f
SM
46702012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
4671
4672 * emacs-lisp/cl-macs.el, emacs-lisp/cl.el: Move indent info.
4673
b1198e17
SM
46742012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
4675
9abdc45d
SM
4676 * emacs-lisp/pcase.el (pcase--u1): Avoid ((lambda ...) ...).
4677
b1198e17
SM
4678 * emacs-lisp/cl.el: Add edebug specs from cl-specs.el.
4679 * emacs-lisp/cl-macs.el: Idem.
4680 * emacs-lisp/cl-specs.el: Remove.
4681
4735906a
SM
46822012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
4683
4684 Minor renaming of internal CL functions and variables.
4685 * emacs-lisp/cl-seq.el (cl--adjoin): Rename from cl-adjoin.
4686 (cl--position): Rename from cl-position.
4687 (cl--delete-duplicates): Rename from cl-delete-duplicates.
4688 * emacs-lisp/cl.el (cl--gensym-counter): Rename from *gensym-counter*.
4689 (cl--random-state): Rename from *random-state*.
4690
ac348012
SM
46912012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
4692
4693 * emacs-lisp/cl-macs.el (cl-transform-lambda): Don't add spurious
4694 parens around the arg list (bug#11499).
4695
a0a79cde
JL
46962012-05-17 Juri Linkov <juri@jurta.org>
4697
4698 * isearch.el (word-search-regexp, word-search-backward)
4699 (word-search-forward, word-search-backward-lax)
4700 (word-search-forward-lax): Move functions from search.c
4701 (bug#10145, bug#11381).
4702
65034a51
AM
47032012-05-16 Agustín Martín Domingo <agustin.martin@hispalinux.es>
4704
090bd7cb
JB
4705 * textmodes/flyspell.el (flyspell-check-pre-word-p)
4706 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
4707 Delay for otherchars as for normal word components.
65034a51 4708
1a72a195
SM
47092012-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
4710
4711 * minibuffer.el (completion--sifn-requote): Fix last change.
4712 (minibuffer-local-must-match-filename-map):
4713 Move define-obsolete-variable-alias before its var.
4714
fdb058c2
SM
47152012-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
4716
c41045e6
SM
4717 * emacs-lisp/pcase.el (pcase-let*, pcase-let): Fix edebug spec.
4718
036dfb8b
SM
4719 * minibuffer.el (completion--sifn-requote): Handle sifn's truncation
4720 behavior.
4721 (completion--string-equal-p): New function.
4722 (completion--twq-all): Use it to get better assertion failure data.
4723
2473256d
SM
4724 Only handle ".." and '..' quoting in shell-mode (bug#11466).
4725 * shell.el (shell--unquote&requote-argument, shell--unquote-argument)
4726 (shell--requote-argument): New functions.
4727 (shell-completion-vars): Use them.
4728 (shell--parse-pcomplete-arguments): Rename from
4729 shell-parse-pcomplete-arguments.
4730 * comint.el (comint-word): Obey comint-file-name-quote-list. Simplify.
4731 (comint--unquote&requote-argument): Don't handle ".." and '..' quoting.
4732 Obey comint-file-name-quote-list.
4733
fdb058c2
SM
4734 * emacs-lisp/smie.el (smie-indent--bolp-1): New function.
4735 (smie-indent-keyword): Use it.
4736
51fa99f1
SM
47372012-05-14 Stefan Merten <smerten@oekonux.de>
4738
4739 * textmodes/rst.el (rst-re-alist): Fix loading (bug#11462).
4740
e18afed7 47412012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
d9d1dfef
SM
4742
4743 * net/rlogin.el (rlogin-mode-map): Fix last change.
4744
e18afed7 47452012-05-14 Jason L. Wright <jason.wright@inl.gov> (tiny change)
8633b1f4
JW
4746
4747 * mail/smtpmail.el (smtpmail-send-command): Send the command and
4748 the following \r\n using a single `process-send-string', since the
4749 Lotus SMTP server refuses to accept any commands if they are sent
e18afed7 4750 with two `process-send-string's (Bug#11444).
8633b1f4 4751
e18afed7 47522012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
fe263b8f 4753
fdb058c2
SM
4754 * shell.el (shell-parse-pcomplete-arguments):
4755 Obey pcomplete-arg-quote-list inside double-quoted args (Bug#11348).
e18afed7 4756
2d21d7f6
WJ
47572012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
4758
e18afed7 4759 * image-mode.el: Fit to width/height for rotated images (Bug#11431).
2d21d7f6
WJ
4760 (image-transform-scale, image-transform-right-angle-fudge): New vars.
4761 (image-transform-width, image-transform-fit-width): New functions.
4762 (image-transform-properties): Use them.
4763 (image-transform-check-size): New function.
4764 (image-toggle-display-image): Use it (for testing).
4765 (image-transform-set-rotation): Reduce angle mod 360.
4766 Delete obsolete comment.
4767
7102e6d0
WJ
47682012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
4769
4770 * image-mode.el: Fix scaling (bug#11399).
4771 (image-transform-resize): Doc fix.
4772 (image-transform-properties): Default scale is 1 and height should
4773 be an integer.
4774
06bc5e6e
SM
47752012-05-13 Johan Bockgård <bojohan@gnu.org>
4776
4777 * emacs-lisp/smie.el (smie-next-sexp): Use accessor `op-forw' rather
4778 than hard-coding `car', to fix misbehavior when moving forward.
4779
0ae03b6a
CY
47802012-05-13 Chong Yidong <cyd@gnu.org>
4781
4782 * emacs-lisp/tabulated-list.el (tabulated-list-format)
4783 (tabulated-list-entries, tabulated-list-padding)
4784 (tabulated-list-sort-key): Make permanent-local.
4785
4786 * ebuff-menu.el: Adapt to Buffer Menu changes (Bug#11455).
4787 (electric-buffer-list): Put electric buffer menu
4788 command descriptions in this docstring, instead of the docstring
4789 of electric-buffer-menu-mode. Code cleanups.
4790 (electric-buffer-menu-mode): Use define-derived-mode. Rename from
4791 Electric-buffer-menu-mode.
4792 (electric-buffer-update-highlight): Minor code cleanup.
4793
205a7391
MA
47942012-05-13 Michael Albinus <michael.albinus@gmx.de>
4795
4796 * net/dbus.el (dbus-call-method): Restore events not from D-Bus.
4797 (Bug#11447)
4798
e5bd0a28
SM
47992012-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
4800
4801 Move define-obsolete-variable-alias before the var's definition.
4802 * vc/log-edit.el (vc-comment-ring, vc-comment-ring-index):
4803 * tooltip.el (tooltip-hook):
4804 * textmodes/reftex-toc.el (reftex-toc-map):
4805 * textmodes/reftex-sel.el (reftex-select-label-map)
4806 (reftex-select-bib-map):
4807 * textmodes/reftex-index.el (reftex-index-map)
4808 (reftex-index-phrases-map):
4809 * speedbar.el (speedbar-syntax-table, speedbar-key-map):
4810 * progmodes/meta-mode.el (meta-mode-map):
4811 * novice.el (disabled-command-hook):
4812 * loadhist.el (unload-hook-features-list):
4813 * frame.el (blink-cursor):
4814 * files.el (find-file-not-found-hooks, write-file-hooks)
4815 (write-contents-hooks):
4816 * emulation/tpu-edt.el (GOLD-map):
4817 * emacs-lock.el (emacs-lock-from-exiting):
4818 * emacs-lisp/generic.el (generic-font-lock-defaults):
4819 * emacs-lisp/chart.el (chart-map):
4820 * dos-fns.el (register-name-alist):
4821 * dired-x.el (dired-omit-files-p):
4822 * desktop.el (desktop-enable):
4823 * cus-edit.el (custom-mode-hook):
4824 * buff-menu.el (buffer-menu-mode-hook):
4825 * bookmark.el (bookmark-read-annotation-text-func)
4826 (bookmark-exit-hooks):
4827 * allout.el (allout-mode-deactivate-hook)
4828 (allout-exposure-change-hook, allout-structure-added-hook)
4829 (allout-structure-deleted-hook, allout-structure-shifted-hook):
4830 * dirtrack.el (dirtrack-toggle, dirtrackp, dirtrack-debug-toggle)
4831 (dirtrack-debug): Move call to define-obsolete-variable-alias so it
4832 comes before the corresponding variable's definition.
4833
ac59c2f6
CY
48342012-05-12 Chong Yidong <cyd@gnu.org>
4835
4836 * buff-menu.el (Buffer-menu-buffer+size-width): Doc fix (Bug#11454).
0d909786
CY
4837 (Buffer-menu-mouse-select): Restore function (Bug#11459).
4838 (Buffer-menu-mode-map): Bind it.
4839 (Buffer-menu--pretty-name): Add a mouse-face property.
ac59c2f6 4840
dee6c9a3
SM
48412012-05-11 Stefan Monnier <monnier@iro.umontreal.ca>
4842
2171cea5
SM
4843 * progmodes/prolog.el: Use SMIE. Cleanup regexp setup.
4844 (prolog-upper-case-string, prolog-lower-case-string)
4845 (prolog-atom-char-regexp, prolog-atom-regexp): Initialize in defconst.
4846 (prolog-use-smie, prolog-smie-grammar): New vars.
4847 (prolog-smie-forward-token, prolog-smie-backward-token)
4848 (prolog-smie-rules): New funs.
4849 (prolog-comment-indent): Remove.
4850 (prolog-mode-variables): Use default comment indentation instead.
4851 Setup SMIE.
4852 (prolog-build-case-strings, prolog-set-atom-regexps): Remove.
4853 (prolog-mode): Don't call them any more.
4854 (prolog-electric-colon, prolog-electric-dash)
4855 (prolog-edit-menu-insert-move): Use indent-according-to-mode.
4856
aa0382bd
SM
4857 * dabbrev.el (dabbrev-expand): Make "no expansion found" a user-error.
4858
dbacb4bd
SM
4859 * minibuffer.el (completion--twq-all): Again, allow case differences.
4860
13bdd94c
SM
4861 * term.el: Move keymap initialization code to be more idiomatic.
4862 (term-signals-menu, term-mode-map, term-raw-map, term-raw-escape-map)
4863 (term-terminal-menu): Move initialization into declaration.
4864 (term-escape-char): Let the user set it in her .emacs.
4865
ff46c759
SM
4866 * progmodes/sh-script.el: Use post-self-insert-hook&electric-pair-mode.
4867 Provide SMIE-based indentation (not enabled by default yet).
4868 (sh-mode-map): Don't bind electric keys.
4869 Use electric-pair-mode instead of skeleton-pair.
4870 (sh-assignment-regexp): Fit within 80 columns.
4871 (sh-indent-supported): Specify actual shell name instead of boolean.
4872 (sh--maybe-here-document): New fun, from sh-maybe-here-document.
4873 (sh-maybe-here-document): Use it. Make obsolete.
4874 (sh-electric-here-document-mode) New minor mode.
4875 (sh-mode): Use it. Don't set sh-indent-supported-here here.
4876 (sh-smie-sh-grammar, sh-smie--sh-operators, sh-smie--sh-operators-re)
4877 (sh-smie--sh-operators-back-re, sh-indent-after-continuation)
4878 (sh-smie-rc-grammar, sh-use-smie): New vars.
4879 (sh-smie--keyword-p, sh-smie--newline-semi-p, sh-smie--sh-keyword-p)
4880 (sh-smie-sh-forward-token, sh-smie--looking-back-at-continuation-p)
4881 (sh-smie-sh-backward-token, sh-smie--continuation-start-indent)
4882 (sh-smie-sh-rules, sh-smie-rc-rules, sh-smie--sh-keyword-in-p)
4883 (sh-smie--rc-after-special-arg-p, sh-smie-rc-backward-token)
4884 (sh-smie-sh-rules, sh-smie--rc-newline-semi-p): New functions.
4885 (sh-set-shell): Use smie-setup if requested.
4886
dee6c9a3
SM
4887 * term.el (term-set-escape-char): Properly set term-escape-char.
4888 See http://stackoverflow.com/questions/10524656.
4889
9f9aa044
CY
48902012-05-10 Chong Yidong <cyd@gnu.org>
4891
4892 * ffap.el (ffap-url-unwrap-local): Make it work right (Bug#9131).
4893 Use url-generic-parse-url, and handle host names and Windows
4894 filenames properly.
4895 (ffap-url-unwrap-remote): Use url-generic-parse-url.
4896 (ffap-url-unwrap-remote): Accept list values, specifying a list of
4897 URL schemes to work on.
4898 (ffap--toggle-read-only): New function.
4899 (ffap-read-only, ffap-read-only-other-window)
4900 (ffap-read-only-other-frame): Use it.
4901 (ffap-fixup-url): Don't check ffap-ftp-regexp, since it is not
4902 necessary for ffap-url-unwrap-remote.
4903
836d29b3
DA
49042012-05-10 Dave Abrahams <dave@boostpro.com>
4905
4906 * cus-start.el (create-lockfiles): Add it.
4907
00fd78ed
CY
49082012-05-09 Chong Yidong <cyd@gnu.org>
4909
4910 * net/browse-url.el (browse-url-url-encode-chars): Use upper-case.
4911 (browse-url-encode-url): Encode spaces and quotes (Bug#6300).
4912
666b903b 49132012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
1cb51c12
SM
4914
4915 * shell.el (shell-completion-vars): Fix last change (bug#11348).
4916
666b903b 49172012-05-09 Chong Yidong <cyd@gnu.org>
18f00515
CY
4918
4919 * ansi-color.el (ansi-color-process-output): Check for validity of
4920 comint-last-output-start before using it. This avoids a bad
4921 interaction with gdb-mi's input/output buffer.
4922
666b903b 49232012-05-09 Glenn Morris <rgm@gnu.org>
fd075e7b
GM
4924
4925 * files.el (dir-locals-read-from-file):
4926 Mention dir-locals in any error message.
4927
666b903b 49282012-05-09 Chong Yidong <cyd@gnu.org>
25f292cd
CY
4929
4930 * emacs-lisp/package.el (package-built-in-p): Handle the `emacs'
4931 package (Bug#11410).
4932
f677562b
CY
4933 * emacs-lisp/package.el (package-buffer-info): Avoid putting local
4934 variables into description.
4935
666b903b 49362012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
3d53ee1b
SM
4937
4938 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list like
4939 shell-delimiter-argument-list (bug#11348).
4940 (shell-parse-pcomplete-arguments): Obey pcomplete-arg-quote-list.
4941
b499d8d0
JB
49422012-05-09 Juanma Barranquero <lekktu@gmail.com>
4943
8f6b6da8
JB
4944 * textmodes/rst.el: Silence byte-compiler warnings.
4945 (rst-re-alist, rst-reset-section-caches): Move around.
4946 (rst-re): Use `characterp', not `char-valid-p'.
4947 (font-lock-beg, font-lock-end): Declare.
4948
4824146a
JB
4949 * progmodes/idlw-shell.el (specs): Remove reference to deleted
4950 variable `idlwave-shell-activate-alt-keybindings' and simplify.
4951
b499d8d0
JB
4952 * eshell/esh-cmd.el (eshell-debug-command): Fix typo in previous change.
4953
ad89bb83
GM
49542012-05-08 Glenn Morris <rgm@gnu.org>
4955
4956 * files.el (auto-mode-alist): Treat ".make" like ".mk".
4957
8bba5a75
SM
49582012-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
4959
49ed9c8e
SM
4960 * vc/log-edit.el: Add GNU coding standards highlighting.
4961 (log-edit-font-lock-gnu-style)
4962 (log-edit-font-lock-gnu-keywords): New vars.
4963 (log-edit-font-lock-keywords): New fun.
4964 (log-edit-mode): Don't fold case in font-lock.
4965 (log-edit-font-lock-keywords): Do not assume case-folding.
4966
07d00b56
SM
4967 * imenu.el: Misc cleanup. Make docstrings out of comments.
4968 Use lexical-binding.
4969 (imenu--index-alist, imenu--last-menubar-index-alist)
4970 (imenu-menubar-modified-tick): Use defvar-local.
4971 (imenu--split-menu): Remove unused var.
4972 (imenu--cleanup-seen): Declare as global.
4973 (imenu--cleanup): Use dolist.
4974
8bba5a75
SM
4975 * subr.el (defvar-local): Add debug spec and doc-string position.
4976
5075bdb5
GM
49772012-05-08 Glenn Morris <rgm@gnu.org>
4978
090bd7cb 4979 * language/burmese.el, language/cham.el, language/czech.el:
c052c904
GM
4980 * language/english.el, language/georgian.el, language/greek.el:
4981 * language/japanese.el, language/khmer.el, language/korean.el:
4982 * language/lao.el, language/misc-lang.el, language/romanian.el:
4983 * language/sinhala.el, language/slovak.el, language/tai-viet.el:
4984 * language/thai.el, language/utf-8-lang.el:
4985 Remove no-byte-compile setting.
4986
5075bdb5
GM
4987 * play/zone.el (zone-pgm-stress): Don't pollute kill-ring. (Bug#11388)
4988
06f679a7
AH
49892012-05-08 Aaron S. Hawley <aaron.s.hawley@gmail.com>
4990
4991 * progmodes/make-mode.el (makefile-browse):
4992 Remove unnecessary interactive. (Bug#11324)
4993
03794570
GM
49942012-05-07 Glenn Morris <rgm@gnu.org>
4995
af8630f4
GM
4996 * forms-d2.el, forms-pass.el: Move to ../etc/forms directory.
4997
03794570
GM
4998 * international/mule.el (find-auto-coding): Make "unibyte: t" obsolete.
4999
f0809a9d
SM
50002012-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
5001
28be5ce7
SM
5002 * loadup.el: Preload newcomment.el.
5003 * newcomment.el: Move autoload-only code to toplevel.
5004
f0809a9d
SM
5005 * buff-menu.el (list-buffers--refresh): Mark `size' as right-align.
5006 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
5007 Handle new :right-align column property.
5008 (tabulated-list-print-col): Idem, plus use `display' text-property to
5009 try and preserve alignment for variable pitch fonts.
5010
1241b724
CY
50112012-05-07 Chong Yidong <cyd@gnu.org>
5012
5013 * emacs-lisp/tabulated-list.el: Add no-header-line alternative.
5014 (tabulated-list-use-header-line): New var.
5015 (tabulated-list-init-header): Use it.
5016 (tabulated-list-print-fake-header): New function.
5017 (tabulated-list-print): Use it.
5018 (tabulated-list-sort-button-map): Add non-header-line commands.
5019 (tabulated-list-init-header): Add column name property to basic
5020 labels as well.
5021 (tabulated-list-col-sort): Handle non-header-line button case.
5022 (tabulated-list--sort-by-column-name): Fix a corner case.
5023
f0809a9d
SM
5024 * buff-menu.el (list-buffers--refresh):
5025 Handle Buffer-menu-use-header-line.
1241b724 5026
e5f9458f
CY
50272012-05-06 Chong Yidong <cyd@gnu.org>
5028
5029 * buff-menu.el: Convert to Tabulated List mode.
5030 (Buffer-menu-buffer+size-width): Make obsolete.
5031 (Buffer-menu-name-width, Buffer-menu-size-width): New variables.
5032 (Buffer-menu-mode-map): Inherit from tabulated-list-mode-map.
5033 (Buffer-menu-mode): Derive from tabulated-list-mode. Move command
5034 documentation into docstring of buffer-menu.
5035 (Buffer-menu-toggle-files-only): Add an informative message.
5036 (Buffer-menu-sort): Convert to alias for tabulated-list-sort.
5037 (Buffer-menu-buffer, Buffer-menu-beginning, Buffer-menu-mark)
5038 (Buffer-menu-unmark, Buffer-menu-backup-unmark)
5039 (Buffer-menu-delete, Buffer-menu-save, Buffer-menu-not-modified)
5040 (Buffer-menu-execute, Buffer-menu-select)
5041 (Buffer-menu-marked-buffers, Buffer-menu-toggle-read-only)
5042 (Buffer-menu-bury): Use Tabulated List machinery.
5043 (Buffer-menu-mouse-select, Buffer-menu-sort-by-column)
5044 (Buffer-menu-sort-button-map, Buffer-menu-make-sort-button):
f0809a9d 5045 Delete.
e5f9458f
CY
5046 (list-buffers--refresh): New function.
5047 (list-buffers-noselect): Use it.
5048 (tabulated-list-entry-size->, Buffer-menu--pretty-name)
5049 (Buffer-menu--pretty-file-name): New helper functions.
5050
5051 * loadup.el: Preload tabulated-list.
5052
5053 * emacs-lisp/tabulated-list.el (tabulated-list-sort): Rename from
5054 tabulated-list-sort-column.
5055 (tabulated-list-init-header): Add the initial aligning space even
5056 if tabulated-list-padding is zero.
5057
e129292c
CS
50582012-05-06 Christopher Schmidt <christopher@ch.ristopher.com>
5059
5060 * emacs-lisp/cl-macs.el (cl-expr-contains): Handle cons cells
5061 whose cdr is not a cons cell correctly (bug#11038).
5062
6632d361
CY
50632012-05-06 Chong Yidong <cyd@gnu.org>
5064
e129292c
CS
5065 * emacs-lisp/tabulated-list.el (tabulated-list-format):
5066 Accept additional plist in column descriptors.
6632d361
CY
5067 (tabulated-list-init-header): Obey it.
5068 (tabulated-list-get-entry): New function.
5069 (tabulated-list-put-tag): Use it. Use string-width instead of
5070 length.
5071 (tabulated-list--column-number): New function.
5072 (tabulated-list-print): Use it.
e129292c
CS
5073 (tabulated-list-print-col): New function.
5074 Set `tabulated-list-column-name' property on each column's text.
6632d361 5075 (tabulated-list-print-entry): Use it.
e129292c
CS
5076 (tabulated-list-delete-entry, tabulated-list-set-col):
5077 New functions.
6632d361
CY
5078 (tabulated-list-sort-column): New command (Bug#11337).
5079
3cc99f68
CY
5080 * buff-menu.el (list-buffers): Move C-x C-b binding from
5081 buff-menu.el to bindings.el.
5082
5083 * ebuff-menu.el (Electric-buffer-menu-undefined): Use the
5084 :advertised-binding feature.
5085
52b61776
TN
50862012-05-06 Troels Nielsen <bn.troels@gmail.com> (tiny change)
5087
5088 * progmodes/compile.el (compilation-internal-error-properties):
5089 Calculate start position correctly when end-col is set but
5090 end-line is not (Bug#11382).
5091
ebfe2597
WJ
50922012-05-06 Wolfgang Jenkner <wjenkner@inode.at>
5093
5094 * man.el (Man-unindent): Use text-property-default-nonsticky to
5095 prevent untabify from inheriting face properties (Bug#11408).
5096
6d3f7c2f
SM
50972012-05-05 Stefan Merten <smerten@oekonux.de>
5098
5099 * textmodes/rst.el: Major merge with upstream development up to
5100 Docutils SVN r7399 / rst.el V1.2.1.
5101
5102 Clarify maintainership and authors.
5103
5104 (rst-extract-version, rst-cvs-header, rst-cvs-rev)
5105 (rst-cvs-timestamp, rst-svn-rev, rst-svn-timestamp)
5106 (rst-official-version, rst-official-cvs-rev, rst-version)
5107 (rst-package-emacs-version-alist): New functions and variables
5108 for version information.
5109
5110 (rst-bullets, rst-uri-schemes, rst-adornment-chars)
5111 (rst-max-inline-length, rst-re-alist-def, rst-re-alist)
5112 (rst-mode-syntax-table, rst-mode): New and corrected functions
5113 and variables representing reStructuredText features.
5114
5115 (rst-re): New function for reStructuredText regexes. Use in
5116 many places.
5117
5118 (rst-deprecated-keys, rst-call-deprecated, rst-define-key)
5119 (rst-mode-map): Rebind keys.
5120
5121 (rst-mode-lazy, rst-font-lock-keywords)
5122 (rst-font-lock-extend-region)
5123 (rst-font-lock-extend-region-internal)
5124 (rst-font-lock-extend-region-extend)
5125 (rst-font-lock-find-unindented-line-limit)
5126 (rst-font-lock-find-unindented-line-match)
5127 (rst-adornment-level, rst-font-lock-adornment-level)
5128 (rst-font-lock-adornment-match)
5129 (rst-font-lock-handle-adornment-pre-match-form)
5130 (rst-font-lock-handle-adornment-matcher): Major revision of
5131 font-locking. Integrate with other code. Use `jit-lock-mode'.
5132
5133 (rst-preferred-adornments, rst-adjust-hook)
5134 (rst-new-adornment-down, rst-preferred-bullets)
5135 (rst-preferred-bullets, rst-indent, rst-indent-width)
5136 (rst-indent-field, rst-indent-literal-normal)
5137 (rst-indent-literal-minimized, rst-indent-comment): Change,
5138 extend and improve customization.
5139
5140 (rst-line-homogeneous-p, rst-line-homogeneous-nodent-p)
5141 (rst-normalize-cursor-position, rst-get-decoration)
5142 (rst-straighten-deco-spacing, rst-re-bullets, rst-re-items)
5143 (rst-rstrip, rst-toc-insert-find-delete-contents)
5144 (rst-shift-fill-region, rst-compute-bullet-tabs)
5145 (rst-debug-print-tabs, rst-debug-mark-found)
5146 (rst-shift-region-guts, rst-shift-region-right)
5147 (rst-shift-region-left, rst-use-char-classes)
5148 (rst-font-lock-keywords-function)
5149 (rst-font-lock-indentation-point)
5150 (rst-font-lock-find-unindented-line-begin)
5151 (rst-font-lock-find-unindented-line-end)
5152 (rst-font-lock-find-unindented-line)
5153 (rst-font-lock-adornment-point, rst-font-lock-level)
5154 (rst-adornment-level-alist): Remove functions and variables.
5155
5156 (rst-compare-adornments, rst-get-adornment-match)
5157 (rst-suggest-new-adornment, rst-get-adornments-around)
5158 (rst-adornment-complete-p, rst-get-next-adornment)
5159 (rst-adjust-adornment, rst-display-adornments-hierarchy)
5160 (rst-straighten-adornments): Standardize function names to
5161 use "adornment" instead of "decoration". Correct callers.
5162 Similar standardizing in many places.
5163
5164 (rst-update-section, rst-adjust, rst-promote-region)
5165 (rst-enumerate-region, rst-bullet-list-region)
5166 (rst-repeat-last-character): Correct use of `interactive'.
5167
5168 (rst-classify-adornment, rst-find-all-adornments)
5169 (rst-get-hierarchy, rst-adjust-adornment, rst-toc-update)
5170 (rst-find-leftmost-column, rst-repeat-last-character):
5171 Refactor functions.
5172
5173 (rst-find-title-line, rst-reset-section-caches)
5174 (rst-get-adornments-around, rst-adjust-adornment-work)
5175 (rst-arabic-to-roman, rst-roman-to-arabic)
5176 (rst-insert-list-pos, rst-insert-list-new-item)
5177 (rst-insert-list-continue, rst-insert-list, rst-forward-line):
5178 New functions.
5179
5180 (rst-all-sections, rst-section-hierarchy)
5181 (rst-arabic-to-roman, rst-initial-enums, rst-initial-items):
5182 New variables.
5183
5184 (rst-toc-return-wincfg, rst-toc-quit-window): Use window
5185 configuration instead of only buffer. Change where necessary.
5186
5187 (rst-line-tabs, rst-compute-tabs, rst-indent-line)
5188 (rst-shift-region, rst-adaptive-fill): New functions for
5189 indentation and filling.
5190
5191 (rst-comment-line-break, rst-comment-indent)
5192 (rst-comment-insert-comment, rst-comment-region)
5193 (rst-uncomment-region): New functions for handling comments.
5194
5195 (rst-compile): Quote shell arguments.
5196
5197 (rst-compile-pdf-preview, rst-compile-slides-preview):
5198 Delete temporary files after use.
5199
a43f98b3
GM
52002012-05-05 Glenn Morris <rgm@gnu.org>
5201
48176e8b
GM
5202 * calendar/cal-html.el: Optionally include holidays in the output.
5203 Suggested by Ed Reingold <reingold@emr.cs.iit.edu>.
5204 (cal-html-holidays): New option.
5205 (cal-html-css-default): Add holiday entry.
5206 (holiday-in-range): Autoload it.
5207 (cal-html-htmlify-entry): Add optional class argument.
5208 (cal-html-htmlify-list): Add optional holidays argument.
5209 (cal-html-insert-agenda-days): Include holidays in the output.
5210 (cal-html-one-month): Maybe include holidays.
5211
a43f98b3
GM
5212 * calendar/holidays.el (holiday-in-range):
5213 Move here from cal-tex-list-holidays.
5214 * calendar/cal-tex.el (cal-tex-list-holidays):
5215 Make it an obsolete alias for holiday-in-range. Update all callers.
5216
fef9d149 52172012-05-05 Chong Yidong <cyd@gnu.org>
eceeb5fc
CY
5218
5219 * select.el (xselect--encode-string): Always use utf-8 for TEXT on
5220 Nextstep.
5221
248da2f4
RW
52222012-05-05 Ransom Williams <auvergnerw@gmail.com> (tiny change)
5223
5224 * files.el (file-auto-mode-skip): New var.
5225 (set-auto-mode-1): Use it.
5226
f95e9344
SM
52272012-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
5228
df96ab1e
SM
5229 * repeat.el: Use lexical-binding.
5230 (repeat-last-self-insert, repeat-num-input-keys-at-self-insert)
5231 (repeat-undo-count): Remove.
5232 (repeat):
5233 * progmodes/octave-mod.el (octave-abbrev-start):
5234 * progmodes/f90.el (f90-abbrev-start):
5235 * face-remap.el (text-scale-adjust):
5236 * kmacro.el (kmacro-call-macro): Use set-temporary-overlay-map.
5237
5342bb06
SM
5238 * emacs-lisp/pcase.el (pcase--let*): New function.
5239 (pcase--expand, pcase-codegen, pcase--q1): Use it to reduce nesting
5240 a bit more.
5241 (pcase--split-pred): Be more clever about ruling out overlap between
5242 a predicate and some constant pattern.
5243 (pcase--q1): Use `null' instead of (eq foo nil).
5244
f95e9344
SM
5245 * subr.el (setq-local, defvar-local): New macros.
5246 (kbd): Redefine as an alias.
5247 (with-selected-window): Leave unrelated frames alone.
5248 (set-temporary-overlay-map): New function.
5249
71873e2b
SM
52502012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
5251
5252 * subr.el (user-error): New function.
5253 * window.el (switch-to-buffer):
5254 * vc/smerge-mode.el (smerge-resolve-function, smerge-resolve)
5255 (smerge-match-conflict):
5256 * simple.el (previous-matching-history-element)
5257 (next-matching-history-element, goto-history-element, undo-more)
5258 (undo-start):
5259 * progmodes/etags.el (visit-tags-table-buffer, find-tag-tag)
5260 (find-tag-noselect, find-tag-in-order, etags-goto-tag-location)
5261 (next-file, tags-loop-scan, list-tags, complete-tag):
5262 * progmodes/compile.el (compilation-loop):
5263 * mouse.el (mouse-minibuffer-check):
5264 * man.el (Man-bgproc-sentinel, Man-goto-page):
5265 * info.el (Info-find-node-2, Info-extract-pointer, Info-history-back)
5266 (Info-history-forward, Info-follow-reference, Info-menu)
5267 (Info-extract-menu-item, Info-extract-menu-counting)
5268 (Info-forward-node, Info-backward-node, Info-next-menu-item)
5269 (Info-last-menu-item, Info-next-preorder, Info-last-preorder)
5270 (Info-next-reference, Info-prev-reference, Info-index)
5271 (Info-index-next, Info-follow-nearest-node)
5272 (Info-copy-current-node-name):
5273 * imenu.el (imenu--make-index-alist)
5274 (imenu-default-create-index-function, imenu-add-to-menubar):
5275 * files.el (basic-save-buffer, recover-file):
5276 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
5277 * emacs-lisp/checkdoc.el (checkdoc-continue, checkdoc-comments)
5278 (checkdoc-message-text, checkdoc-defun):
5279 * dabbrev.el (dabbrev-completion, dabbrev--abbrev-at-point):
5280 * cus-edit.el (customize-changed-options, customize-rogue)
5281 (customize-saved, custom-variable-set, custom-variable-mark-to-save)
5282 (custom-variable-mark-to-reset-standard)
5283 (custom-variable-reset-backup, custom-face-mark-to-reset-standard)
5284 (custom-file):
5285 * completion.el (check-completion-length):
5286 * comint.el (comint-search-arg)
5287 (comint-previous-matching-input-string-position)
5288 (comint-previous-matching-input)
5289 (comint-replace-by-expanded-history-before-point, comint-send-input)
5290 (comint-copy-old-input, comint-backward-matching-input)
5291 (comint-goto-process-mark, comint-set-process-mark):
5292 * calendar/calendar.el (calendar-cursor-to-date): Use it.
5293 * bindings.el (debug-ignored-errors): Remove regexps, add `user-error'.
5294
8a61ee22
SM
52952012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
5296
66408d1e
SM
5297 * dabbrev.el (dabbrev--ignore-case-p): New function.
5298 (dabbrev-completion, dabbrev-expand, dabbrev--substitute-expansion):
5299 Use it.
5300
8a61ee22
SM
5301 * files.el (automount-dir-prefix): Mark as obsolete.
5302
3c74813a
GM
53032012-05-04 Glenn Morris <rgm@gnu.org>
5304
5305 * patcomp.el, play/bruce.el: Move to obsolete/.
5306
0bfcf5c5
PE
53072012-05-04 Paul Eggert <eggert@cs.ucla.edu>
5308
5309 Fix minor Y10k bugs.
5310 * arc-mode.el (archive-unixdate):
5311 * autoinsert.el (auto-insert-alist):
5312 * calc/calc-forms.el (math-this-year):
5313 * emacs-lisp/copyright.el (copyright-current-year)
5314 (copyright-update-year, copyright):
5315 * tar-mode.el (tar-clip-time-string):
5316 * time.el (display-time-update):
5317 Don't assume years have 4 digits.
5318
78f3273a
CY
53192012-05-04 Chong Yidong <cyd@gnu.org>
5320
5321 * dos-w32.el (file-name-buffer-file-type-alist)
5322 (direct-print-region-use-command-dot-com):
5323 * ffap.el (ffap-menu-regexp):
5324 * find-file.el (ff-special-constructs):
5325 * follow.el (follow-debug):
5326 * forms.el (forms--debug):
5327 * iswitchb.el (iswitchb-all-frames):
5328 * ido.el (ido-all-frames):
5329 * emacs-lisp/timer.el (timer-max-repeats):
5330 * mail/feedmail.el (feedmail-mail-send-hook)
5331 (feedmail-mail-send-hook-queued):
5332 * mail/footnote.el (footnote-signature-separator):
5333 * mail/mailabbrev.el (mail-alias-separator-string)
5334 (mail-abbrev-mode-regexp):
5335 * mail/rmail.el (rmail-speedbar-match-folder-regexp):
5336 * progmodes/idlwave.el (idlwave-libinfo-file)
5337 (idlwave-default-completion-case-is-down)
5338 (idlwave-library-routines): Convert defvars to defcustoms.
5339
5340 * mail/rmail.el (rmail-decode-mime-charset):
5341 * progmodes/idlw-shell.el (idlwave-shell-print-expression-function)
5342 (idlwave-shell-fix-inserted-breaks)
5343 (idlwave-shell-activate-alt-keybindings)
5344 (idlwave-shell-use-breakpoint-glyph):
5345 * facemenu.el (facemenu-unlisted-faces): Delete obsolete vars.
5346
f7ae6719
SM
53472012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
5348
5349 * minibuffer.el (completion--twq-all): Beware completion-ignore-case.
5350
47086495
WS
53512012-05-03 Wilson Snyder <wsnyder@wsnyder.org>
5352
5353 * progmodes/verilog-mode.el (font-lock-keywords):
5354 Fix mis-highligting auto. Reported by Craig Barner.
5355 (verilog-auto, verilog-auto-undef): Add AUTOUNDEF to remove
fc0c31f8 5356 defines from global name space. Reported by Dan Dever.
47086495
WS
5357 (verilog-auto-reset, verilog-auto-reset-widths)
5358 (verilog-auto-tieoff): Support using unbased numbers for
5359 AUTORESET and AUTOTIEOFF.
5360 (verilog-submit-bug-report): Update variable list.
5361 (verilog-read-auto-params): Fix AUTOINPUT regexps containing
fc0c31f8 5362 parenthesis from not matching. Reported by Michael Rytting.
47086495
WS
5363 (verilog-auto-template-lint): Fix hash error when linting modules
5364 with no used templates.
5365 (verilog-warn, verilog-warn-error)
5366 (verilog-warn-fatal): When non-interactive report multiple
5367 warnings before exiting. Suggested by Brad Dobbie.
5368 (verilog-auto-template-lint, verilog-auto-template-warn-unused)
5369 (verilog-read-auto-template): Add `verilog-auto-template-warn-unused'
5370 to report unused template errors. Reported by Brad Dobbie.
5371 (verilog-read-decls): Fix AUTOWIRE etc on supply0, supply1 type
fc0c31f8 5372 nets, bug438. Reported by Vns Blore.
47086495
WS
5373 (verilog-auto-inout-module, verilog-auto-reg)
5374 (verilog-read-decls, verilog-read-sub-decls-sig)
5375 (verilog-signals-edit-wire-reg, verilog-signals-with):
5376 Fix passing of Verilog data types in ANSI input/output ports
fc0c31f8 5377 such as "output logic" into the AUTOs. Special case "wire" and
47086495
WS
5378 "reg" for backwards compatibility presuming Verilog 2001.
5379 (verilog-auto-ascii-enum): Add "auto enum" as alias.
5380 (verilog-preprocess): Fix replication of preprocess output.
5381 Reported by Brad Dobbie.
5382 (verilog-auto-inst-interfaced-ports):
5383 Create verilog-auto-inst-interfaced-ports, bug429.
5384 Reported by Julian Gorfajn.
5385 (verilog-after-save-font-hook)
5386 (verilog-before-save-font-hook): New variable.
5387 (verilog-modi-cache-results, verilog-save-font-mod-hooked)
5388 (verilog-save-font-mods): Wrap disabling fontification, reported
5389 by David Rogoff.
5390 (verilog-do-indent, verilog-pretty-declarations-auto)
5391 (verilog-sk-def-reg): Fix obeying `verilog-auto-lineup', bug305.
5392 Reported by Pierre-David Pfister.
5393 (verilog-set-auto-endcomments): Fix endtask auto comments outside
5394 of class declarations, bug292. Reported by Kevin Heilman.
5395 (verilog-read-decls): Fix 'parameter type' not appearing in
5396 AUTOINSTPARAM, bug340. Reported by Jonathan Greenlaw.
5397 (verilog-auto-logic): Fix when AUTOLOGIC present to properly do
fc0c31f8 5398 AUTOINPUTs, bug411. Reported by Jonathan Greenlaw.
47086495
WS
5399 (verilog-read-auto-lisp): Avoid syntax-ppss warning on AUTOLISP.
5400 Reported by David Kravitz.
5401
54022012-05-03 Michael McNamara <mac@mail.brushroad.com>
5403
5404 * progmodes/verilog-mode.el (verilog-pretty-expr): Don't line up
5405 assignment with tests in ifs and for loops.
5406 (verilog-extended-complete-re, verilog-complete-reg): Change so
5407 that DPI inport functions don't look like fuction declarations.
5408 (verilog-pretty-expr): Don't line up assignment
5409 operations to the test and increment in if and for loops
5410 (verilog-extended-complete-re, verilog-complete-reg): Change so
090bd7cb 5411 that DPI inport functions don't look like fuction declarations.
47086495 5412
2e51d4b5
KH
54132012-05-03 Kenichi Handa <handa@m17n.org>
5414
5415 * mail/rmailmm.el (rmail-show-mime): Catch an error caused by text
c846da43 5416 decoding, and show a warning message without signaling an error
2e51d4b5
KH
5417 (Bug#11282).
5418
2bd785a2
SM
54192012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
5420
5421 * emacs-lisp/bytecomp.el
5422 (byte-compile-file-form-custom-declare-variable): Compile all elements,
5423 since cconv.el might have introduced :fun-body, internal-make-closure,
5424 and friends for bytecomp to handle (bug#11391).
5425 * custom.el (defcustom): Avoid ((λ ..) ..).
5426
99d27583
SM
54272012-05-02 Stefan Monnier <monnier@iro.umontreal.ca>
5428
5429 * subr.el (read-passwd): Better clean after ourselves (bug#11392).
5430
55a71479
JB
54312012-05-02 Juanma Barranquero <lekktu@gmail.com>
5432
5433 * notifications.el (dbus-debug):
5434 * term/linux.el (gpm-mouse-enable):
5435 * term/screen.el (xterm-register-default-colors): Declare.
5436
7b97c764
CY
54372012-05-02 Chong Yidong <cyd@gnu.org>
5438
2bc356d7
CY
5439 * cus-start.el (gc-cons-percentage, exec-suffixes)
5440 (dos-display-scancodes, dos-hyper-key, dos-super-key)
5441 (dos-keypad-mode, debug-on-signal, vertical-centering-font-regexp)
5442 (make-cursor-line-fully-visible, void-text-area-pointer)
5443 (font-list-limit): Add customization data.
5444
7b97c764
CY
5445 * allout.el (allout-exposure-change-functions)
5446 (allout-structure-added-functions)
5447 (allout-structure-deleted-functions)
5448 (allout-structure-shifted-functions): Rename abnormal hooks from
5449 *-hook, and convert to defcustoms.
5d3385a0
JB
5450 (allout-after-copy-or-kill-hook, allout-post-undo-hook):
5451 Convert to defcustoms.
7b97c764
CY
5452 (allout-mode-hook, allout-mode-deactivate-hook): Doc fix.
5453
5454 * allout-widgets.el: Hook callers changed.
5455
90207a15 54562012-05-02 Eli Zaretskii <eliz@gnu.org>
91af76bf
EZ
5457
5458 * mail/rmail.el (rmail-yank-current-message): Use the encoding of
5459 the yanked message in preference to the default value of
5460 buffer-file-coding-system.
5461
90207a15 54622012-05-02 Martin Rudalics <rudalics@gmx.at>
d9558cad 5463
5d3385a0
JB
5464 * window.el (display-buffer--action-function-custom-type):
5465 Fix entry.
d9558cad 5466
90207a15 54672012-05-02 Alan Mackenzie <acm@muc.de>
09affde0
AM
5468
5469 * progmodes/cc-defs.el (c-version): Update to 5.32.3.
5470
d80ac57b
GM
54712012-05-01 Glenn Morris <rgm@gnu.org>
5472
976f7668
GM
5473 * cus-start.el (suggest-key-bindings): Remove, now it is in Lisp.
5474
beb83b5a
GM
5475 * eshell/esh-cmd.el (eshell-debug-command): Doc fix. Add :set.
5476
d80ac57b
GM
5477 * cus-edit.el (custom-variable-documentation): Simplify with format.
5478
b593d6a9 54792012-05-01 Aaron S. Hawley <aaron.s.hawley@gmail.com>
f1a71c6e 5480 Stefan Monnier <monnier@iro.umontreal.ca>
b593d6a9
AH
5481
5482 * simple.el (suggest-key-bindings, execute-extended-command):
5483 Move from keyboard.c.
5484
782fbf2a
CY
54852012-05-01 Chong Yidong <cyd@gnu.org>
5486
5487 * follow.el: Eliminate advice.
5488 (set-process-filter, process-filter, sit-for): Advice deleted.
5489 (follow-mode-off-hook): Obsolete hook removed.
b593d6a9
AH
5490 (follow-avoid-tail-recenter-p, follow-process-filter-alist):
5491 Vars deleted.
782fbf2a
CY
5492 (follow-auto): Use a :set function.
5493 (follow-mode): Rewritten. Don't advise process filters.
5494 (follow-switch-to-current-buffer-all, follow-scroll-up)
5495 (follow-scroll-down): Assume follow-mode is bound.
5496 (follow-comint-scroll-to-bottom)
5497 (follow-align-compilation-windows): New functions.
5498 (follow--window-sorter): New function.
5499 (follow-all-followers): Use it to explicitly sort windows by their
5500 positions; don't make assumptions about next-window order.
5501 (follow-windows-start-end, follow-delete-other-windows-and-split)
5502 (follow-calc-win-start): Doc fix.
5503 (follow-windows-aligned-p, follow-select-if-visible): Don't call
5504 vertical-motion unnecessarily.
5505 (follow-adjust-window): New function.
5506 (follow-post-command-hook): Use it.
5507 (follow-call-set-process-filter, follow-call-process-filter)
5508 (follow-intercept-process-output, follow-tidy-process-filter-alist)
5509 (follow-stop-intercept-process-output, follow-generic-filter):
5510 Functions deleted.
5511 (follow-scroll-bar-toolkit-scroll, follow-scroll-bar-drag)
b593d6a9
AH
5512 (follow-scroll-bar-scroll-up, follow-scroll-bar-scroll-down):
5513 New functions, replacing advice on scroll-bar-* commands.
87233a14 5514 (follow-mwheel-scroll): New function (Bug#4112).
782fbf2a
CY
5515
5516 * comint.el (comint-adjust-point): New function.
b593d6a9
AH
5517 (comint-postoutput-scroll-to-bottom): Use it.
5518 Call follow-comint-scroll-to-bottom for Follow mode buffers.
782fbf2a 5519
290af740
GM
55202012-05-01 Glenn Morris <rgm@gnu.org>
5521
5522 * term/AT386.el, term/apollo.el, term/bobcat.el, term/cygwin.el:
5523 * term/iris-ansi.el, term/linux.el, term/lk201.el, term/news.el:
5524 * term/screen.el, term/vt102.el, term/vt125.el, term/vt200.el:
5525 * term/vt201.el, term/vt220.el, term/vt240.el, term/vt300.el:
5526 * term/vt320.el, term/vt400.el, term/vt420.el, term/wyse50.el:
5527 Remove no-byte-compile setting.
5528
6eac8dc9
SM
55292012-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
5530
5531 * minibuffer.el (completion-table-with-quoting): Fix compatibility
5532 all-completions code to not return a number in the last cdr.
5533
9cc7819c
LL
55342012-04-30 Leo Liu <sdl.web@gmail.com>
5535
5536 * ibuf-ext.el (ibuffer-diff-buffer-with-file-1): Avoid buffer
5537 read-only error.
5538
c93b886f
CY
55392012-04-29 Chong Yidong <cyd@gnu.org>
5540
5541 * follow.el (follow-calc-win-end): Rewrite to handle partial
5542 screen lines correctly (Bug#8390).
5543 (follow-avoid-tail-recenter): Minor cleanup.
5544
8b6c19f4
SM
55452012-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
5546
5547 Avoid the obsolete `assoc' package.
5548 * speedbar.el (speedbar-refresh): Avoid adelete.
5549 (speedbar-file-lists): Simplify and avoid aput.
5550 * man.el (Man--sections, Man--refpages): New vars, replacing
5551 Man-sections-alist and Man-refpages-alist.
5552 (Man-build-section-alist, Man-build-references-alist):
5553 Use them; avoid aput.
5554 (Man--last-section, Man--last-refpage): New vars.
5555 (Man-follow-manual-reference): Use them.
5556 Use the `default' arg of completing-read.
5557 (Man-goto-section): Idem. Move prompt to the `interactive' spec.
5558
c5bb7569
CY
55592012-04-27 Chong Yidong <cyd@gnu.org>
5560
d1d2e2e8
CY
5561 * vc/diff.el (diff-sentinel): Go to bob (Bug#10259).
5562
15cd8efd
CY
5563 * startup.el (x-apply-session-resources): New function.
5564
5565 * term/ns-win.el (ns-initialize-window-system):
5566 * term/w32-win.el (w32-initialize-window-system):
5567 * term/x-win.el (x-initialize-window-system): Use it to properly
5568 set menu-bar-mode and other vars from X resources, even if the
5569 initial frame is not a window-system frame (Bug#2299).
5570
c5bb7569
CY
5571 * subr.el (read-key): Avoid running filter function when setting
5572 up temporary tool bar entries (Bug#9922).
5573
a8e7d6d7 55742012-04-27 Andreas Schwab <schwab@linux-m68k.org>
c4347ab9
AS
5575
5576 * vc/vc-git.el (vc-git-state): Fix regexp matching diff output.
5577 (Bug#11344)
5578
a8e7d6d7 55792012-04-27 Chong Yidong <cyd@gnu.org>
acb71f1d
CY
5580
5581 * select.el (xselect--encode-string): New function, split from
5582 xselect-convert-to-string.
5583 (xselect-convert-to-string): Use it.
5584 (xselect-convert-to-filename, xselect-convert-to-os)
5585 (xselect-convert-to-host, xselect-convert-to-user): Ensure that
5586 returned strings are properly encoded (Bug#11315).
5587
a8e7d6d7 55882012-04-27 Chong Yidong <cyd@gnu.org>
d55486c7
CY
5589
5590 * simple.el (delete-active-region): Move to killing custom group.
5591
a8e7d6d7 55922012-04-27 Andreas Schwab <schwab@linux-m68k.org>
581b6788
AS
5593
5594 * progmodes/which-func.el (which-func-current): Quote %
5595 characters for mode-line processing.
5596
578c1d4b 55972012-04-27 Chong Yidong <cyd@gnu.org>
18edb22d
CY
5598
5599 * xml.el (xml-parse-region, xml-parse-tag): Avoid errors due to
5600 reaching eob (Bug#11286).
5601
a8e7d6d7 56022012-04-27 Eli Zaretskii <eliz@gnu.org>
9ee9f470
EZ
5603
5604 * progmodes/gdb-mi.el (gdb-control-level): New variable.
5605 (gdb): Make it buffer-local and init to zero.
5606 (gdb-control-commands-regexp): New variable.
5607 (gdb-send): Don't wrap in "-interpreter-exec console" if
5608 gdb-control-level is positive. Increment gdb-control-level
5609 whenever the command matches gdb-control-commands-regexp, and
5610 decrement it each time the command is "end". (Bug#11279)
5611
a8e7d6d7 56122012-04-27 Martin Rudalics <rudalics@gmx.at>
41cfe0cb
MR
5613
5614 * window.el (adjust-window-trailing-edge, enlarge-window)
5615 (shrink-window, window-resize):
5616 * mouse.el (mouse-drag-line): Fix resizing of minibuffer
5617 windows (Bug#11276).
5618
b3608390
CY
56192012-04-27 Chong Yidong <cyd@gnu.org>
5620
5621 * progmodes/pascal.el (pascal--extra-indent): Rename from ind, to
a8e7d6d7 5622 fix "missing prefix" warning. All callers changed.
b3608390 5623
797e6e88
SM
56242012-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
5625
5626 * emacs-lisp/assoc.el: Move to obsolete/.
5627
e95a67dc
SM
56282012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
5629
657c21e4 5630 * emacs-lisp/assoc.el (aget): Fix dynamic-scoping issue (bug#11352).
e95a67dc
SM
5631
5632 * term/ns-win.el (ns-define-service):
5633 * progmodes/pascal.el (pascal-goto-defun):
5634 * progmodes/js.el (js--read-tab):
5635 * progmodes/etags.el (tags-lazy-completion-table):
5636 * emacs-lisp/syntax.el (syntax-propertize-via-font-lock):
5637 * emacs-lisp/ewoc.el (ewoc--wrap):
5638 * emacs-lisp/assoc.el (aput, adelete, amake):
5639 * doc-view.el (doc-view-convert-current-doc):
5640 * vc/diff.el (diff-no-select): Replace lexical-let by lexical-binding.
5641
cb3e7ae0
CY
56422012-04-26 Chong Yidong <cyd@gnu.org>
5643
dce04f7f
CY
5644 * image.el (image-type-from-buffer): Only return supported image
5645 type (Bug#9045).
5646
cb3e7ae0
CY
5647 * vc/diff-mode.el (diff-beginning-of-hunk): Return a meaningful
5648 value, for symmetry with diff-end-of-hunk.
5649 (diff-split-hunk, diff-find-source-location)
5650 (diff-ignore-whitespace-hunk, diff-refine-hunk): Use it.
5651 (diff-bounds-of-hunk, diff-bounds-of-file): New functions.
5652 (diff-restrict-view, diff-hunk-kill, diff-file-kill): Use them to
5653 compute the relevant hunk or file properly (Bug#6005).
5654 (diff-file-junk-re): Add bzr's "modified file" tag (Bug#6041).
5655
0d42eb3e
SM
56562012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
5657
5658 * vc/vc-mtn.el:
5659 * vc/vc-hg.el:
5660 * vc/vc-git.el:
5661 * vc/vc-dir.el:
5662 * vc/vc-cvs.el:
5663 * vc/vc-bzr.el:
5664 * vc/vc-arch.el:
5665 * vc/vc.el: Replace lexical-let by lexical-binding.
5666 * minibuffer.el (lazy-completion-table): Avoid ((λ ...) ...).
5667 * emacs-lisp/cl-macs.el (lexical-let): Fix use in lexical-binding.
5668 * emacs-lisp/cconv.el (cconv-analyse-form): Warn use of ((λ ...) ...).
5669
f08ae1c9
CY
56702012-04-26 Chong Yidong <cyd@gnu.org>
5671
8b71081d
CY
5672 * vc/diff-mode.el (diff-undo): New command (Bug#5302).
5673 (diff-mode-shared-map): Bind it to / and [remap undo].
5674
f08ae1c9
CY
5675 * vc/ediff-wind.el (ediff-setup-windows-default): New function.
5676 (ediff-window-setup-function): Use it as the default, to set up
5677 windows based on whether the current frame is graphical (Bug#2138).
5678 (ediff-choose-window-setup-function-automatically): Make obsolete.
5679
5680 * vc/ediff-init.el: Always define ediff-pixel-width/height.
5681
ef24141c
SM
56822012-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
5683
cc356a5d
SM
5684 * ffap.el: Remove old code for obsolete package.
5685 (ffap-complete-as-file-p): Remove.
5686
b4ff4f1f
SM
5687 Use completion-table-with-quoting for comint and pcomplete.
5688 * comint.el (comint--unquote&requote-argument)
5689 (comint--unquote-argument, comint--requote-argument): New functions.
5690 (comint--unquote&expand-filename, comint-unquote-filename): Obsolete.
5691 (comint-quote-filename): Use regexp-opt-charset.
5692 (comint--common-suffix, comint--common-quoted-suffix)
5693 (comint--table-subvert): Remove.
5694 (comint-unquote-function, comint-requote-function): New vars.
5695 (comint--complete-file-name-data): Use them with
5696 completion-table-with-quoting.
5697 * pcmpl-unix.el (pcomplete/scp): Use completion-table-subvert.
5698 * pcomplete.el (pcomplete-arg-quote-list)
5699 (pcomplete-quote-arg-hook, pcomplete-quote-argument): Obsolete.
5700 (pcomplete-unquote-argument-function): Default to non-nil.
5701 (pcomplete-unquote-argument): Simplify.
5702 (pcomplete--common-quoted-suffix): Remove.
5703 (pcomplete-requote-argument-function): New var.
5704 (pcomplete--common-suffix): New function.
5705 (pcomplete-completions-at-point): Use completion-table-with-quoting
5706 and completion-table-subvert.
5707
79c4eeb4
SM
5708 * minibuffer.el: Use completion-table-with-quoting for read-file-name.
5709 (minibuffer--double-dollars): Preserve properties.
5710 (completion--sifn-requote): New function.
5711 (completion--file-name-table): Rewrite using it and c-t-with-quoting.
5712
ef24141c
SM
5713 * minibuffer.el: Add support for completion of quoted/escaped data.
5714 (completion-table-with-quoting, completion-table-subvert): New funs.
5715 (completion--twq-try, completion--twq-all): New functions.
5716 (completion--nth-completion): New function.
5717 (completion-try-completion, completion-all-completions): Use it.
5718
784e7d6e
LL
57192012-04-25 Leo Liu <sdl.web@gmail.com>
5720
dd2ac746
SM
5721 * progmodes/python.el (python-pdbtrack-get-source-buffer):
5722 Use compilation-message if available to find real filename.
784e7d6e 5723
07875ee7
CY
57242012-04-25 Chong Yidong <cyd@gnu.org>
5725
5726 * vc/diff-mode.el (diff-setup-whitespace): New function.
5727 (diff-mode): Use it.
5728
5729 * vc/diff.el (diff-sentinel):
5730 * vc/vc.el (vc-diff-finish): Call diff-setup-whitespace to assign
5731 Whitespace mode variables based on diff style (Bug#8612).
5732
5055880d
LL
57332012-04-25 Leo Liu <sdl.web@gmail.com>
5734
daf75653
LL
5735 * progmodes/python.el (python-send-region): Add suffix .py to the
5736 temp file.
5737
5055880d
LL
5738 * files.el (auto-mode-alist): Use javascript-mode instead.
5739
db9b177b
AH
57402012-04-25 Alex Harsanyi <AlexHarsanyi@gmail.com>
5741
ef24141c 5742 Sync with soap-client repository. Support SOAP simpleType (Bug#10331).
db9b177b 5743
090bd7cb 5744 * net/soap-client.el (soap-resolve-references-for-sequence-type)
ef24141c 5745 (soap-resolve-references-for-array-type): Hack to prevent self
db9b177b 5746 references, see Bug#9.
ef24141c 5747 (soap-parse-envelope): Report the contents of the 'detail' node
db9b177b 5748 when receiving a fault reply.
ef24141c 5749 (soap-parse-envelope): Report the contents of the entire 'detail' node.
db9b177b 5750
090bd7cb 5751 * net/soap-inspect.el (soap-sample-value-for-simple-type)
ef24141c 5752 (soap-inspect-simple-type): New function.
db9b177b 5753
090bd7cb 5754 * net/soap-client.el (soap-simple-type): New struct.
db9b177b 5755 (soap-default-xsd-types, soap-default-soapenc-types)
ef24141c
SM
5756 (soap-decode-basic-type, soap-encode-basic-type):
5757 support unsignedInt and double basic types.
db9b177b 5758 (soap-resolve-references-for-simple-type)
ef24141c
SM
5759 (soap-parse-simple-type, soap-encode-simple-type): New function.
5760 (soap-parse-schema): Parse xsd:simpleType declarations.
db9b177b 5761
090bd7cb 5762 * net/soap-client.el (soap-default-xsd-types)
ef24141c
SM
5763 (soap-default-soapenc-types): Add integer, byte and anyURI types.
5764 (soap-parse-complex-type-complex-content): Use `soap-wk2l' to find
5765 the local name of "soapenc:Array".
5766 (soap-decode-basic-type, soap-encode-basic-type): Support encoding
db9b177b
AH
5767 decoding integer, byte and anyURI xsd types.
5768
1fc6097b
CY
57692012-04-25 Chong Yidong <cyd@gnu.org>
5770
5771 * cus-edit.el (custom-buffer-create-internal): Update header text.
5772
afc6df87
EZ
57732012-04-25 Eli Zaretskii <eliz@gnu.org>
5774
5775 * progmodes/gdb-mi.el (gdb-init-1): Condition Windows-specific
5776 settings on 'system-type', not on 'window-system'. On MS-Windows,
5777 set interactive-mode on in GDB.
5778
dfbd787f
SM
57792012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
5780
5781 * progmodes/ruby-mode.el: Simplify last change, and cleanup code.
5782 (ruby-syntax-propertize-regexp): Remove.
5783 (ruby-syntax-propertize-function): Split regexp into chunks.
5784 Match following code directly.
5785
85222d44
DG
57862012-04-24 Dmitry Gutov <dgutov@yandex.ru>
5787
51a8ea2a
DG
5788 * progmodes/ruby-mode.el: Handle Cucumber defs (bug#6286).
5789 (ruby-syntax-propertize-regexp): New function.
5790 (ruby-syntax-propertize-function): Use it to handle regexp not preceded
5791 by a special keyword.
5792
85222d44
DG
5793 * progmodes/ruby-mode.el: Handle general delimited literals (bug#6286).
5794 (ruby-syntax-general-delimiters-goto-beg)
5795 (ruby-syntax-propertize-general-delimiters): New functions.
5796 (ruby-syntax-propertize-function): Use them to handle GDL.
5797 (ruby-font-lock-keywords): Move old handling of GDL...
5798 (ruby-font-lock-syntactic-keywords): .. to here.
5799 (ruby-calculate-indent): Adjust indentation for GDL.
5800
b613912b
MA
58012012-04-24 Michael Albinus <michael.albinus@gmx.de>
5802
b5380639
MA
5803 * notifications.el (top): Remove unneeded declarations.
5804 (notifications-specification-version): Change to "1.2".
e43042fe 5805 (notifications-interface, notifications-notify-method)
b613912b
MA
5806 (notifications-close-notification-method): Fix docstring.
5807 (notifications-get-capabilities-method): New defconst.
e43042fe
MA
5808 (notifications-notify): Add :action-items, :resident and
5809 :transient hints. Change "image_data" to "image-data" and
5810 "image_path" to "image-path".
b613912b
MA
5811 (notifications-get-capabilities): New defun.
5812
257440aa
LL
58132012-04-24 Leo Liu <sdl.web@gmail.com>
5814
5815 * progmodes/python.el: Move hideshow setup to the end.
5816
b1bac16e
MR
58172012-04-24 Martin Rudalics <rudalics@gmx.at>
5818
5819 * window.el (handle-select-window): Clear echo area since this is
5820 no more done by read_char (Bug#11304).
5821
d81bd059
SM
58222012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
5823
5824 * ibuffer.el (ibuffer-mode-map): Bind `/ m' to filter-used-mode
5825 and `/ M' to filter-derived-mode.
5826 * ibuf-ext.el (ibuffer-list-buffer-modes): Simplify; avoid add-to-list.
5827 (ibuffer-filter-by-mode, ibuffer-filter-by-used-mode)
5828 (ibuffer-mark-by-mode): Use default rather than initial-input.
5829 (ibuffer-filter-by-derived-mode): Autoload and require-match.
5830
c4cf6d91
IA
58312012-04-24 Ivan Andrus <darthandrus@gmail.com> (tiny change)
5832
5833 * ibuf-ext.el (ibuffer-list-buffer-modes): Add `include-parents' arg.
5834 (ibuffer-filter-by-derived-mode): New filter.
5835 * ibuffer.el (ibuffer-mode-map): Bind to `/ w'.
5836
7511ded8
CY
58372012-04-23 Andreas Politz <politza@fh-trier.de>
5838
5839 * subr.el (accept-change-group): Fix arg usage (Bug#6095).
5840
775c916b
CY
58412012-04-23 Chong Yidong <cyd@gnu.org>
5842
5843 * cus-edit.el (customize-apropos, customize-apropos-options):
5844 Disable matching of non-option variables (Bug#11176).
5845 (customize-option, customize-option-other-window)
5846 (customize-changed-options): Doc fix.
5847 (customize-apropos-options, customize-apropos-faces)
5848 (customize-apropos-groups): Use apropos-read-pattern (Bug#11124).
5849
5850 * apropos.el (apropos-read-pattern): Make prompt less cryptic.
922d37d3 5851 Fix word list splitting (Bug#11132).
46c71e23
CY
5852 (apropos-symbol, apropos-keybinding, apropos-label)
5853 (apropos-property, apropos-function-button)
5854 (apropos-variable-button, apropos-misc-button): New faces.
5855 (apropos-symbol-face, apropos-keybinding-face)
5856 (apropos-label-face, apropos-property-face, apropos-match-face):
5857 Variables removed (Bug#8396).
5858 (apropos-library-button, apropos-format-plist, apropos-print)
5859 (apropos-print-doc, apropos-describe-plist): Callers changed.
775c916b 5860
2df41f9c
MA
58612012-04-23 Michael Albinus <michael.albinus@gmx.de>
5862
5863 * net/xesam.el (xesam-mode-map): Use let-bound map in
5864 initialization. (Bug#11292)
5865
da00640a
AM
58662012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
5867
5868 Preserve ispell session localwords when switching back to
5869 original buffer.
5870
090bd7cb
JB
5871 * textmodes/ispell.el (ispell-buffer-session-localwords):
5872 New buffer-local variable to hold buffer session localwords.
ed9265fc 5873 (ispell-kill-ispell): Add option 'clear to delete session
da00640a
AM
5874 localwords.
5875 (ispell-command-loop, ispell-change-dictionary)
5876 (ispell-buffer-local-words): Preserve session localwords when
5877 needed.
5878
090bd7cb
JB
5879 * textmodes/flyspell.el (flyspell-process-localwords)
5880 (flyspell-do-correct): Preserve session localwords when needed.
da00640a 5881
f621ccf5
AM
58822012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
5883
090bd7cb
JB
5884 * textmodes/ispell.el (ispell-insert-word) Remove unneeded function
5885 using obsolete `translation-table-for-input'.
ef24141c
SM
5886 (ispell-word, ispell-process-line, ispell-complete-word):
5887 Use plain `insert' instead of removed `ispell-insert-word'.
f621ccf5 5888
c2d1019e
CY
58892012-04-22 Chong Yidong <cyd@gnu.org>
5890
5891 * cus-edit.el (custom-variable-menu)
5892 (custom-variable-reset-saved, custom-face-menu)
5893 (custom-face-reset-saved): If there is no saved value, make the
5894 "reset-saved" operation bring back the default (Bug#9509).
5895 (custom-face-state): Properly detect themed faces.
5896
eeddc531
CY
5897 * faces.el (face-spec-set): Stop supporting deprecated form of
5898 third arg.
5899
dcbf5805
MA
59002012-04-22 Michael Albinus <michael.albinus@gmx.de>
5901
5902 Move functions from C to Lisp. Make non-blocking method calls
5903 the default. Implement further D-Bus standard interfaces.
5904
ef24141c
SM
5905 * net/dbus.el (dbus-message-internal): Declare function.
5906 Remove unneeded function declarations.
dcbf5805
MA
5907 (defvar dbus-message-type-invalid, dbus-message-type-method-call)
5908 (dbus-message-type-method-return, dbus-message-type-error)
5909 (dbus-message-type-signal): Declare variables. Remove local
5910 definitions.
5911 (dbus-interface-dbus, dbus-interface-peer)
5912 (dbus-interface-introspectable, dbus-interface-properties)
5913 (dbus-path-emacs, dbus-interface-emacs, dbus-return-values-table):
5914 Adapt docstring.
5915 (dbus-interface-objectmanager): New defconst.
5916 (dbus-call-method, dbus-call-method-asynchronously)
5917 (dbus-send-signal, dbus-method-return-internal)
5918 (dbus-method-error-internal, dbus-register-service)
5919 (dbus-register-signal, dbus-register-method): New defuns, moved
5920 from dbusbind.c
5921 (dbus-call-method-handler, dbus-setenv)
ef24141c
SM
5922 (dbus-get-all-managed-objects, dbus-managed-objects-handler):
5923 New defuns.
dcbf5805
MA
5924 (dbus-call-method-non-blocking): Make it an obsolete function.
5925 (dbus-unregister-object, dbus-unregister-service)
5926 (dbus-handle-event, dbus-register-property)
5927 (dbus-property-handler): Obey the new structure of
5928 `bus-registered-objects'.
5929 (dbus-introspect): Use `dbus-call-method'. Use a timeout.
5930 (dbus-get-property, dbus-set-property, dbus-get-all-properties):
5931 Use `dbus-call-method'.
5932
cf20dee0
CY
59332012-04-22 Chong Yidong <cyd@gnu.org>
5934
5935 * cus-edit.el (custom-commands, custom-reset-menu)
5936 (Custom-reset-standard): Tweak labels.
5937 (custom-reset-button-menu): Change default to t.
5938 (custom-buffer-create-internal): For the custom-reset-button-menu
5939 case, put the revert button first.
5940 (custom-group-subtitle): New face.
5941 (custom-group-value-create): Align docstring to a specific column.
5942
5943 * wid-edit.el (widget-documentation-link-add): Don't handle
5944 indentation in this function.
5945 (widget-documentation-string-indent-to): New function.
5946 (widget-documentation-string-value-create): Use it.
5947
5948 * autorevert.el (auto-revert):
5949 * epg-config.el (epg):
5950 * ibuffer.el (ibuffer):
5951 * mpc.el (mpc):
5952 * ses.el (ses):
5953 * eshell/eshell.el (eshell):
5954 * net/ange-ftp.el (ange-ftp):
5955 * progmodes/ebnf2ps.el (postscript):
5956 * progmodes/flymake.el (flymake):
5957 * progmodes/prolog.el (prolog):
5958 * progmodes/verilog-mode.el (verilog-mode):
5959 * progmodes/which-func.el (which-func):
5960 * term/xterm.el (xterm):
5961 * textmodes/picture.el (picture):
5962 * textmodes/tildify.el (tildify):
5963 * vc/ediff.el (ediff): Tweak defgroups to improve presentation in
5964 customization buffers.
5965
583e23bd
AM
59662012-04-22 Alan Mackenzie <acm@muc.de>
5967
5968 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
5969 Adding a ) can hide the resulting (..) from searches. Fix it.
5970 Bound the backward search to the position of the existing (.
5971
7dd51bf1
JB
59722012-04-21 Juanma Barranquero <lekktu@gmail.com>
5973
5974 * progmodes/verilog-mode.el (verilog-mode): Check whether
5975 which-func-modes is t before adding verilog-mode.
5976 Reported by Andy Moreton <andrewjmoreton@gmail.com>.
5977
d64a438f
LL
59782012-04-21 Leo Liu <sdl.web@gmail.com>
5979
7dd51bf1 5980 * net/rcirc.el (rcirc): Avoid error when process-contact returns t.
d64a438f 5981
081e8d65
MV
59822012-04-21 Michael Vehrs <Michael.Burschik@gmx.de>
5983
5984 * woman.el: Add support for "T{ T}" tbl syntax, and fix the
5985 filling of the last column of a table (Bug#5635).
5986 (woman-find-next-control-line): New arg, specifying an additional
5987 regexp component for the control line.
5988 (woman2-roff-buffer): Use it.
5989 (woman-break-table): New function.
5990 (woman2-TS): Use it.
5991
59922012-04-21 Chong Yidong <cyd@gnu.org>
5993
5994 * woman.el (woman-set-buffer-display-table, woman-decode-region)
5995 (woman-horizontal-escapes, woman-negative-vertical-space)
5996 (woman-tab-to-tab-stop, woman2-fc, woman2-TS)
5997 (WoMan-warn-ignored): Use ?\s instead of ?\ .
5998
ed571ccb
SM
59992012-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
6000
6001 * minibuffer.el (completion-file-name-table): Complete user names.
6002
39773899
LL
60032012-04-20 Leo Liu <sdl.web@gmail.com>
6004
6005 * font-lock.el (lisp-font-lock-keywords-2): Add pcase, pcase-let
6006 and pcase-let*.
6007
de6ff46d
CY
60082012-04-20 Chong Yidong <cyd@gnu.org>
6009
6010 * server.el (server-execute): Respect initial-buffer-choice if it
6011 is a string and there are no files to open (Bug#2825).
6012 (server-create-window-system-frame, server-create-tty-frame):
6013 Don't switch buffers here.
2d0e8e61
CY
6014 (server-process-filter): Only try to open a window system frame if
6015 compiled with graphical support (Bug#8314).
de6ff46d 6016
54071013
DN
60172012-04-20 Dan Nicolaescu <dann@gnu.org>
6018
6019 * battery.el (battery-echo-area-format): Display remaining time
6020 for sysfs backend too (Bug#11269).
6021 (battery-linux-sysfs): Fix conditional for the charge.
6022
f30d612a
CY
60232012-04-20 Chong Yidong <cyd@gnu.org>
6024
c07a4c0b 6025 * progmodes/gdb-mi.el (gdb): Revert previous change.
f30d612a
CY
6026 (gdb-inferior-io--init-proc): New function.
6027 (gdb-init-1): Use it.
6028 (gdb-inferior-io-sentinel): New sentinel for the gdb-inferior pty,
6029 responsible for allocating a new pty and hooking it to gdb when
6030 the old pty gets an EIO due to process exit.
6031 (gdb-delchar-or-quit): New command. Bind it in gdb-mi buffers.
6032 (gdb-tooltip-print): Don't use obsolete tooltip-use-echo-area.
6033 (gdb-inferior-io--maybe-delete-pty): Move into gdb-reset.
6034
2116e93c
EZ
60352012-04-20 Eli Zaretskii <eliz@gnu.org>
6036
6037 * window.el (window-min-size, window-sizable, window-min-delta)
6038 (window-max-delta, window--resizable, window-resizable)
6039 (window-total-size, window-full-height-p, window-full-width-p)
6040 (window-in-direction, window--resize-mini-window, window-resize)
6041 (window--resize-child-windows-normal)
6042 (window--resize-child-windows, window--resize-siblings)
6043 (window--resize-this-window, adjust-window-trailing-edge)
cd0f830c 6044 (enlarge-window, shrink-window): Doc fixes.
2116e93c 6045
c07a4c0b 60462012-04-20 Chong Yidong <cyd@gnu.org>
b668fa6e 6047
ef24141c
SM
6048 * progmodes/gdb-mi.el (gdb-inferior-io--maybe-delete-pty):
6049 New function to call delete-process on the gdb-inferior buffer's pty.
b668fa6e
CY
6050 (gdb-reset): Use it, instead of relying on kill-buffer to kill the
6051 pty process (Bug#11273).
6052 (gdb-update): New arg to suppress talking to the gdb process.
6053 (gdb-done-or-error): Use it.
6054 (gdb-stopped-functions): Rename from gdb-stopped-hooks.
6055 (gdb): Call gdb-inferior-io--maybe-delete-pty as a workaround for
6056 sentinel not being called.
6057
6058 * comint.el (make-comint-in-buffer, comint-exec): Doc fix.
6059
d02766ab
CY
6060 * progmodes/grep.el (grep, rgrep): Doc fix (Bug#11268).
6061
c07a4c0b 60622012-04-20 Glenn Morris <rgm@gnu.org>
016a35df
GM
6063
6064 * net/network-stream.el (open-network-stream): Doc fix.
6065
c07a4c0b 60662012-04-20 Chong Yidong <cyd@gnu.org>
2c070447
CY
6067
6068 * emacs-lisp/tabulated-list.el (tabulated-list-print): Fix typos.
6069
c07a4c0b 60702012-04-20 Alan Mackenzie <acm@muc.de>
f0f6bc35
AM
6071
6072 Ensure searching for keywords is case sensitive.
6073
6074 * progmodes/cc-cmds.el (c-electric-brace, c-electric-lt-gt)
6075 (c-electric-paren, c-beginning-of-defun, c-end-of-defun)
6076 (c-defun-name, c-mark-function, c-cpp-define-name)
6077 (c-comment-indent, c-scan-conditionals, c-indent-defun)
c07a4c0b 6078 (c-context-line-break): Bind case-fold-search to nil.
f0f6bc35 6079
ef24141c
SM
6080 * progmodes/cc-mode.el (c-font-lock-fontify-region):
6081 Bind case-fold-search to nil.
f0f6bc35 6082
c07a4c0b 60832012-04-20 Chong Yidong <cyd@gnu.org>
4fc2c72a
CY
6084
6085 * mail/sendmail.el (mail-bury): Call return action with the right
6086 Rmail buffer (Bug#11242).
6087
9a864fa2
CY
6088 * server.el (server-process-filter): Handle corner case where both
6089 tty and nowait options are present (Bug#11102).
6090
539aa513
EZ
60912012-04-20 Eli Zaretskii <eliz@gnu.org>
6092
6093 * version.el (emacs-bzr-version, emacs-bzr-get-version): Doc fixes.
6cf2a23e
EZ
6094 (top level): Put into the executable the ident-style '$Id:' tag on
6095 windows-nt as well.
539aa513 6096
cfc7d5da
SM
60972012-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
6098
6099 * electric.el (electric-indent-post-self-insert-function): Check that
6100 electric-indent-mode is enabled in current buffer.
6101
5b01685c
JB
61022012-04-19 Juanma Barranquero <lekktu@gmail.com>
6103
6104 * imenu.el (imenu-progress-message): Restore; it is "used" in
6105 erc/erc-imenu.el and net/snmp-mode.el.
6106
4d6769e1
JB
61072012-04-19 Juanma Barranquero <lekktu@gmail.com>
6108
6109 * avoid.el (mouse-avoidance-mode): Mark unused arg.
6110 (mouse-avoidance-nudge-mouse): Remove unused binding.
6111
6112 * bs.el (bs-toggle-readonly): Call `toggle-read-only' interactively.
6113
6114 * descr-text.el (describe-char):
6115 * progmodes/python.el (python-describe-symbol):
6116 Don't call `toggle-read-only', set `buffer-read-only'.
6117
6118 * imenu.el (imenu-default-goto-function): Mark unused args.
6119 (imenu-progress-message): Remove obsolete macro; all callers changed.
6120
6121 * subr.el (keymap-canonicalize): Remove unused binding.
6122 (read-passwd): Mark unused arg.
6123
6124 * tutorial.el (tutorial--display-changes): Remove unused binding.
6125 (tutorial--save-tutorial-to): Remove unused variable.
6126
6127 * emacs-lisp/package.el (define-package, package-menu-mark-delete)
6128 (package-menu-mark-install, package-menu-mark-unmark): Mark unused args.
6129 (package-generate-autoloads, package-menu--generate)
6130 (package-menu--find-upgrades): Remove unused bindings.
6131
6132 * emulation/cua-rect.el (cua-restrict-regexp-rectangle)
6133 (cua-restrict-prefix-rectangle): Doc fixes. Remove unused bindings.
6134 (cua--mouse-ignore, cua--delete-rectangle, cua--extract-rectangle)
6135 (cua--indent-rectangle, cua-open-rectangle, cua-close-rectangle)
6136 (cua-blank-rectangle, cua-string-rectangle, cua-replace-in-rectangle)
6137 (cua-incr-rectangle, cua-sequence-rectangle, cua--convert-rectangle-as)
6138 (cua--rectangle-aux-replace, cua--left-fill-rectangle)
6139 (cua-scroll-rectangle-up, cua-scroll-rectangle-down)
6140 (cua-delete-char-rectangle): Mark unused args.
6141 (cua-align-rectangle): Remove unused binding.
6142
6143 * mail/rmail.el (compilation--message->loc)
6144 (epa--find-coding-system-for-mime-charset): Declare.
6145
6146 * net/dbus.el (dbus-register-service): Declare.
6147 (dbus-name-owner-changed-handler): Remove unused binding.
6148
6149 * nxml/nxml-mode.el (nxml-electric-slash, nxml-in-mixed-content-p)
6150 (nxml-compute-indent-from-matching-start-tag): Remove unused variables.
6151 (nxml-scan-backward-within): Mark unused arg.
6152 (nxml-dynamic-markup-word): Remove unused binding.
6153
6154 * mouse.el (mouse-menu-major-mode-map):
6155 * emacs-lisp/authors.el (authors-scan-change-log)
6156 (authors-add-to-author-list):
6157 * emacs-lisp/avl-tree.el (avl-tree--enter-balance):
6158 * emacs-lisp/smie.el (smie-auto-fill):
6159 * mail/sendmail.el (mail-bury):
6160 * mail/unrmail.el (unrmail):
6161 * net/tls.el (open-tls-stream):
6162 * textmodes/picture.el (picture-mouse-set-point):
6163 Remove unused bindings.
6164
8c8fc5df
MA
61652012-04-19 Michael Albinus <michael.albinus@gmx.de>
6166
6167 * net/tramp.el (tramp-action-password): Let-bind
6168 `enable-recursive-minibuffers' to t.
6169
a77b0ac9
SS
61702012-04-18 Sam Steingold <sds@gnu.org>
6171
6172 * progmodes/gud.el (gud-key-prefix): Use :type 'key-sequence
6173 instead of 'string to accommodate values like [f11].
6174 Always use `vconcat' instead of `concat' on it, like in `gud-def'.
6175 * progmodes/gdb-mi.el: Likewise.
6176
12a106a9
LL
61772012-04-18 Leo Liu <sdl.web@gmail.com>
6178
6179 * abbrev.el (edit-abbrevs): Move point to the abbrev table of
6180 current buffer.
6181 (prepare-abbrev-list-buffer): Enter edit-abbrevs-mode only if
6182 LOCAL is nil.
6183
bc6494ef
CY
61842012-04-18 Chong Yidong <cyd@gnu.org>
6185
6186 * simple.el (line-move): Use forward-line if in batch mode
6187 (Bug#11053).
6188
c09c46b2
CS
61892012-04-18 Christopher Schmidt <christopher@ch.ristopher.com>
6190
6191 * files.el (after-find-file): Do not try to add a final newline if
6192 the buffer is read-only (Bug#11156).
6193
5f6530ea
RS
61942012-04-17 Richard Stallman <rms@gnu.org>
6195
6196 * mail/rmail.el (rmail-start-mail):
6197 Pass (rmail-mail-return...) for the return-action.
6198 Pass (rmail-yank-current-message...) for the yank-action.
6199 (rmail-yank-current-message): New function.
6200 (rmail-mail): Pass the Rmail buffer, not view buffer, for replybuffer.
6201 (rmail-reply): Likewise.
6202 (rmail-forward): Pass the Rmail buffer, not nil, for replybuffer.
6203
6204 * mail/sendmail.el (mail-bury): Choose the first rmail-mode
c09c46b2 6205 buffer, not the last. Reject temp buffers. Use the rmail-mode
5f6530ea
RS
6206 buffer, not newbuf.
6207
197b6f3c
JB
62082012-04-17 Juanma Barranquero <lekktu@gmail.com>
6209
6210 * server.el (server-ensure-safe-dir): Simplify.
6211
2311d8e5 62122012-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
98fb480e 6213
2311d8e5
GM
6214 * emacs-lisp/smie.el: Provide smarter auto-filling.
6215 (smie-auto-fill): New function.
6216 (smie-setup): Use it.
98fb480e 6217
2311d8e5
GM
6218 * newcomment.el (comment-choose-indent): Obey comment-inline-offset.
6219
62202012-04-17 Philipp Haselwarter <philipp.haselwarter@gmx.de> (tiny change)
8eb5d48f
PH
6221
6222 * newcomment.el (comment-inline-offset): New custom var (bug#11090).
6223 (comment-indent): Use it.
6224
2311d8e5 62252012-04-17 Vincent Belaïche <vincentb1@users.sourceforge.net>
4bdf2ad2
VB
6226
6227 * ses.el: The overall change is to add cell renaming, that is
6228 setting fancy names for cell symbols other than name matching
6229 "\\`[A-Z]+[0-9]+\\'" regexp .
2311d8e5 6230 (ses-localvars): Add ses--renamed-cell-symb-list.
4bdf2ad2 6231 (ses-create-cell-variable): New defun.
2311d8e5 6232 (ses-destroy-cell-variable-range): Respect ses--numrows, ses--numcols.
4bdf2ad2
VB
6233 (ses-relocate-formula): Relocate formulas only for cells the
6234 symbols of which are not renamed, i.e. symbols whose names do not
6235 match regexp "\\`[A-Z]+[0-9]+\\'".
6236 (ses-relocate-all): Relocate values only for cells the symbols of
6237 which are not renamed.
6238 (ses-load): Create cells variables as the (ses-cell ...) are read,
6239 in order to check row col consistency with cell symbol name only
6240 for cells that are not renamed.
6241 (ses-replace-name-in-formula): New defun.
6242 (ses-rename-cell): New defun.
4bdf2ad2 6243
fc72b15c
PO
62442012-04-17 Peter Oliver <bzr@mavit.org.uk> (tiny change)
6245
6246 * progmodes/perl-mode.el (perl-indent-parens-as-block):
6247 New option (bug#11118).
6248 (perl-calculate-indent): Respect it.
6249
12e10e61
GM
62502012-04-17 Glenn Morris <rgm@gnu.org>
6251
6252 * dired-aux.el (dired-mark-read-string): Doc fix.
6253
30009afd
DA
62542012-04-17 Dmitry Antipov <dmantipov@yandex.ru>
6255
6256 * dired-aux.el (dired-mark-read-string): Offer optional completion.
6257 (dired-do-chxxx): Complete chown, chgrp over users, groups. (Bug#7900)
6258
41f03f4d
GM
62592012-04-17 Glenn Morris <rgm@gnu.org>
6260
6261 * mouse.el (mouse-drag-track):
6262 * speedbar.el (speedbar-frame-mode):
6263 Use auto-hscroll-mode rather than the alias automatic-hscrolling.
6264
f45f90f3
LL
62652012-04-16 Leo Liu <sdl.web@gmail.com>
6266
6267 * progmodes/python.el: Trivial cleanup.
6268
94ee8db5
GM
62692012-04-16 Glenn Morris <rgm@gnu.org>
6270
121b8917
GM
6271 * vc/vc.el (vc-string-prefix-p):
6272 * vc/pcvs-util.el (cvs-string-prefix-p):
6273 * textmodes/tex-mode.el (latex-string-prefix-p, tex-string-prefix-p):
6274 * mpc.el (mpc-string-prefix-p):
6275 Make all of these into obsolete aliases for string-prefix-p.
6276 Update callers.
6277 * vc/pcvs.el, vc/vc-dispatcher.el, vc/vc-dir.el: Update callers.
6278
1197ecfa
GM
6279 * textmodes/two-column.el: Move custom options to the start.
6280 (frame-width): Remove compat definition.
6281 (2C-associate-buffer, 2C-dissociate):
6282 Use with-current-buffer rather than save-excursion.
6283 (2C-dissociate): Force a mode-line update.
6284 (2C-autoscroll): Use ignore-errors.
6285
099e7202
GM
6286 * emacs-lisp/eieio-opt.el (describe-class, describe-generic):
6287 Autoload trivia.
6288
bf350d6a
GM
6289 * emacs-lisp/cl-extra.el (*random-state*):
6290 Remove unnecessary declaration.
6291
0e829eab
GM
6292 * calendar/cal-tex.el (cal-tex-end-document): Trivial clarification.
6293
e3ad7552
GM
6294 * play/cookie1.el (cookie-snarf):
6295 Give an explicit error if input file cannot be read.
6296
68892d27
GM
6297 * play/yow.el (yow-file): Use expand-file-name rather than concat.
6298
20f0c46d
GM
6299 * progmodes/perl-mode.el (c-macro-expand):
6300 Remove unnecessary autoload (it is in loaddefs.el).
6301
5a0978ce
GM
6302 * textmodes/picture.el (picture-desired-column)
6303 (picture-update-desired-column): Convert comments to doc-strings.
6304 (picture-substitute): Remove function.
6305 (picture-mode-map): Initialize in the defvar.
6306
6b955486
GM
6307 * woman.el: Remove eval-after-load for tar-mode.
6308 * tar-mode.el (tar-mode-map): Add woman binding and menu entry.
6309 (woman-tar-extract-file): Autoload it.
6310
94ee8db5
GM
6311 * frame.el (automatic-hscrolling): Make this alias obsolete.
6312
177eca34
AM
63132012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
6314
090bd7cb 6315 * textmodes/ispell.el (ispell-set-spellchecker-params): Post-process
4be3075e 6316 `ispell-dictionary-alist' to use [:alpha:] and utf-8 if possible.
3851314b
AM
6317 (ispell-dictionary-base-alist): Revert to original XEmacs
6318 friendly version for default. [:alpha:] will be added in
090bd7cb 6319 `ispell-set-spellchecker-params' if needed.
177eca34 6320
c505aaeb
CY
63212012-04-16 Chong Yidong <cyd@gnu.org>
6322
b19dd9d1 6323 * image.el (imagemagick--file-regexp): New variable.
c505aaeb
CY
6324 (imagemagick-register-types): Use it.
6325 (imagemagick-types-inhibit): Add :set function. Allow new value
6326 of t to inhibit all types.
6327
6328 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Avoid cl macros,
6329 so we can preload it.
6330
6331 * loadup.el (fboundp): Preload regexp-opt, needed by
6332 imagemagick-register-types.
6333
60efac0f
CY
63342012-04-15 Chong Yidong <cyd@gnu.org>
6335
6336 * frame.el (scrolling): Remove nearly unused customization group.
6337
6338 * scroll-all.el (scroll-all-mode): Move to windows group.
6339
5dd1713e
CY
63402012-04-15 Chong Yidong <cyd@gnu.org>
6341
6342 * bindings.el (goto-map): Bind goto-char to M-g c (Bug#11240).
6343
e6fd457e
CY
63442012-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
6345
6346 Avoid the use of ((lambda ...) ...) in lexical-binding code.
4d6769e1 6347 * emacs-lisp/easy-mmode.el (define-minor-mode): Use funcall (bug#11241).
e6fd457e 6348
e153c136
GM
63492012-04-15 Glenn Morris <rgm@gnu.org>
6350
6351 * simple.el (process-file-side-effects): Doc fix.
6352
e6fd457e 63532012-04-15 Glenn Morris <rgm@gnu.org>
ca7d96c8
GM
6354
6355 * international/mule-cmds.el (set-language-environment): Doc fix.
6356
3603c3b1
JB
63572012-04-14 Juanma Barranquero <lekktu@gmail.com>
6358
6359 * server.el (server-auth-key, server-generate-key): Doc fixes.
6360 (server-get-auth-key): Doc fix. Use `string-match-p'.
6361 (server-start): Reflow docstring.
6362
e6de100c
LI
63632012-04-14 Lars Ingebrigtsen <larsi@gnus.org>
6364
6365 * server.el (server-generate-key): `called-interactively-p'
6366 requires a parameter.
6367
29734c21
MN
63682012-04-14 Michal Nazarewicz <mina86@mina86.com>
6369
6370 * server.el (server-auth-key): New variable.
75f1671a 6371 (server-generate-key, server-get-auth-key): New function.
29734c21
MN
6372 (server-start): Use the new variable and functions to allow
6373 setting a permanent server key (bug#9423).
6374
d65c9521
LL
63752012-04-14 Leo Liu <sdl.web@gmail.com>
6376
6377 * vc/diff-mode.el (diff-file-prev/next): Fix typo.
6378
5ae255c7
PE
63792012-04-14 Paul Eggert <eggert@cs.ucla.edu>
6380
6381 Spelling fixes.
6382 * hexl.el (hexl-rulerize): Rename from hexl-rulerise, since
6383 Emacs uses American spelling.
6384
d5e6342e
JB
63852012-04-14 Juanma Barranquero <lekktu@gmail.com>
6386
6387 * emacs-lock.el (emacs-lock-locked-buffer-functions): New hook.
6388 (emacs-lock--exit-locked-buffer): Return the locked buffer. Doc fix.
6389 (emacs-lock--kill-emacs-hook, emacs-lock--kill-emacs-query-functions)
6390 (emacs-lock--kill-buffer-query-functions): Run new hook. (Bug#11017)
6391
ab036cd7
SM
63922012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
6393
6394 * progmodes/which-func.el (which-func-modes): Change default.
6395
35dc09a1 63962012-04-14 Kim F. Storm <storm@cua.dk>
9557e2be
CY
6397
6398 * emulation/cua-base.el (cua-exchange-point-and-mark): Just call
6399 exchange-point-and-mark if cua-enable-cua-keys is nil (Bug#11191).
6400
35dc09a1 64012012-04-14 Chong Yidong <cyd@gnu.org>
81927dd2
CY
6402
6403 * custom.el (custom-theme-set-variables): Doc fix.
6404
35dc09a1 64052012-04-14 Glenn Morris <rgm@gnu.org>
8edb942b
GM
6406
6407 * international/mule.el (set-auto-coding-for-load): Doc fix.
6408
35dc09a1 64092012-04-14 Alan Mackenzie <acm@muc.de>
0de3da9f 6410
35dc09a1
GM
6411 * progmodes/cc-menus.el (cc-imenu-objc-generic-expression): Make
6412 imenu work again for Objective C Mode. Correct the *-index values,
6413 these having been disturbed by a previous change in 2011-08.
57f845ee 6414
0de3da9f
AM
6415 * progmodes/cc-engine.el (c-before-change-check-<>-operators):
6416 Correct two search limits.
6417
35dc09a1 64182012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
ede141ac
SM
6419
6420 * startup.el (command-line-1): Inhibit splash from daemon (bug#10996).
6421
35dc09a1 64222012-04-14 Andreas Schwab <schwab@linux-m68k.org>
d0203d61
AS
6423
6424 * international/characters.el: Fix sorting.
6425
35dc09a1 64262012-04-14 Eli Zaretskii <eliz@gnu.org>
cb80bcd1
EZ
6427
6428 * international/characters.el: Add more missing Latin case pairs.
6429
35dc09a1 64302012-04-14 Glenn Morris <rgm@gnu.org>
4a427f58
GM
6431
6432 * files.el (dir-locals-set-class-variables): Doc fix.
6433
35dc09a1 64342012-04-14 Eli Zaretskii <eliz@gnu.org>
9f847f41 6435
3f1b5bf8
EZ
6436 * international/characters.el: Add set-case-syntax-pair call for
6437 LATIN CAPITAL LETTER Y WITH DIAERESIS RET and its lower-case
6438 counterpart. (Bug#11209)
6439
9f847f41
EZ
6440 * simple.el (shell-command-on-region): Doc fix. (Bug#11208)
6441
35dc09a1 64422012-04-14 Glenn Morris <rgm@gnu.org>
0c2014a3
GM
6443
6444 * calendar/holidays.el (calendar-check-holidays): Doc fix.
6445
35dc09a1 64462012-04-14 Eli Zaretskii <eliz@gnu.org>
e2627d21 6447
35dc09a1
GM
6448 * textmodes/ispell.el (ispell-dictionary-base-alist):
6449 Add data for Hebrew.
e2627d21 6450
35dc09a1 64512012-04-14 Chong Yidong <cyd@gnu.org>
5c14e333 6452
35dc09a1
GM
6453 * net/rcirc.el (rcirc-cmd-quit):
6454 Revert 2012-03-18 change (Bug#11192).
5c14e333 6455
35dc09a1 64562012-04-14 Glenn Morris <rgm@gnu.org>
bf6fa423
GM
6457
6458 * pcmpl-rpm.el (pcomplete/rpm): Handle -qf.
6459
35dc09a1 64602012-04-14 Eli Zaretskii <eliz@gnu.org>
82b24fb2 6461
4517fe3a
SM
6462 * minibuffer.el (completion-in-region-mode-map):
6463 Bind completion-help-at-point to M-? rather than ?. (Bug#11182)
82b24fb2 6464
b472a594
VD
64652012-04-13 Vivek Dasmohapatra <vivek@etla.org>
6466
6467 * hexl.el (hexl-insert-char): Make display sizes other than 16 work.
6468
09b95ce3
MY
64692012-04-13 Masatake YAMATO <yamato@redhat.com>
6470
6471 * minibuffer.el (minibuffer-local-filename-syntax): New variable
6472 to allow `C-M-f' and `C-M-b' to move to the nearest path
6473 separator (bug#9511).
6474
4b63a9ca
LI
64752012-04-13 Lars Ingebrigtsen <larsi@gnus.org>
6476
6477 * avoid.el: Require cl when compiling. And also move the
6478 `provide' to the end.
6479
7b55b8bf
TV
64802012-04-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
6481
6482 * avoid.el (mouse-avoidance-banish-position): New variable.
6483 (mouse-avoidance-banish-destination): Use it (bug#10165).
6484
adedaa1f
LL
64852012-04-13 Leo Liu <sdl.web@gmail.com>
6486
6487 * progmodes/which-func.el (which-func-modes): Add objc-mode.
6488
70e74021
KB
64892012-04-13 Ken Brown <kbrown@cornell.edu>
6490
6491 * net/browse-url.el (browse-url-file-url): Remove Cygwin hack;
ab036cd7 6492 this is no longer needed now that cygstart understands file:// URLs.
70e74021
KB
6493 (browse-url-filename-alist): For the same reason, don't modify
6494 file:// URLs on Cygwin.
6495
e75e89ba
SM
64962012-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
6497
6498 * emulation/cua-base.el (cua--pre-command-handler-1): Don't activate
6499 the region on shift if the binding is already shifted (bug#11221).
6500
82f289a4
GM
65012012-04-12 Glenn Morris <rgm@gnu.org>
6502
6503 * mail/mailpost.el: Move to obsolete/.
6504
d333dc4c
DA
65052012-04-12 Drew Adams <drew.adams@oracle.com>
6506
6507 * imenu.el (imenu--generic-function): Ignore invisible definitions
6508 (bug#10123).
6509
0d15b5ba
VD
65102012-04-12 Vivek Dasmohapatra <vivek@etla.org>
6511
6512 * hexl.el (hexl-bits): New variable.
6513 (hexl-options): Mention the variable in the doc string.
75f1671a 6514 (hexl-rulerise, hexl-line-displen): New functions.
0d15b5ba 6515 (hexl-mode): Mention the new variable.
75f1671a
JB
6516 (hexl-mode, hexl-current-address, hexl-current-address):
6517 Use the displen.
0d15b5ba
VD
6518 (hexl-ascii-start-column): New function.
6519 (hexl-address-to-marker, hexl-beginning-of-line, hexl-options)
6520 (hexl-insert-char, hexl-mode-ruler): Use the displen (bug#4941).
6521
64a440db
AM
65222012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
6523
6524 * textmodes/flyspell.el (flyspell-large-region): For hunspell, use
6525 '("-i" ENCODING), in 2 separate command-line arguments, to specify
6526 the encoding, as expected by hunspell.
6527
6decb6c2
SM
65282012-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
6529
6530 * battery.el (battery--linux-sysfs-regexp): New const.
6531 (battery-status-function): Use it. Remove yeeloong special case.
6532 (battery-yeeloong-sysfs): Remove.
6533 (battery-echo-area-format): Remove yeeloong special case.
6534
088be6fb
SM
65352012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
6536
6622e416
SM
6537 * imenu.el (imenu-add-to-menubar): `current-local-map' can be nil.
6538 Reported by Noah Friedman.
6539
088be6fb
SM
6540 * subr.el (read-passwd): Use read-string.
6541
b49f886e
LMI
65422012-04-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
6543
6544 * vcursor.el (vcursor-move): Increase the priority of the overlay
6545 (bug#9663).
6546
a63067fc
DD
65472012-04-11 Deniz Dogan <deniz.a.m.dogan@gmail.com>
6548
6549 * net/rcirc.el (rcirc-kill-channel-buffers): New variable.
6550 (rcirc-kill-buffer-hook): Use it to kill channel buffers (bug#5128).
6551
ac3cf14a
WS
65522012-04-11 William Stevenson <yhvh2000@gmail.com>
6553
6554 * textmodes/artist.el (artist-mode): Convert artist-mode to use
6555 define-minor-mode (bug#10760).
6556
c4fc691b 65572012-04-11 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
49a2697c 6558
4d6769e1 6559 * progmodes/grep.el (rgrep): Tweak the find command line so
49a2697c
WJ
6560 that directories matching `grep-find-ignored-files' won't be
6561 pruned (bug#10351).
6562
af23e2e5
CY
65632012-04-11 Chong Yidong <cyd@gnu.org>
6564
6565 * startup.el (command-line): Remove support for long-obsolete
6566 variable font-lock-face-attributes.
6567
ab7ce8c1
GM
65682012-04-11 Glenn Morris <rgm@gnu.org>
6569
6570 * vc/vc-bzr.el (vc-bzr-status): Avoid condition-case-unless-debug.
6571
de8c03dc
SM
65722012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
6573
6574 * window.el (window--state-get-1): Obey window-point-insertion-type.
6575
050cc68b
LB
65762012-04-11 Lennart Borgman <lennart.borgman@gmail.com>
6577
6578 * emacs-lisp/lisp.el (narrow-to-defun): `beginning-of-defun' goes
6579 to previous function when point is on the first character of a
75f1671a 6580 function. Take care of that in `narrow-to-defun' (bug#6157).
050cc68b 6581
a38c310c
GM
65822012-04-11 Glenn Morris <rgm@gnu.org>
6583
effed0c2
GM
6584 * vc/vc-bzr.el (vc-bzr-status): Handle all errors,
6585 not just file-errors.
6586
a38c310c
GM
6587 * vc/vc-bzr.el (vc-bzr-sha1-program, sha1-program): Remove.
6588 (vc-bzr-sha1): Use internal sha1.
6589
0221e323
SM
65902012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
6591
6592 * progmodes/flymake.el (flymake-mode): Beware read-only dirs (bug#8954).
6593
43956923
SG
65942012-04-10 Sébastien Gross <seb@chezwam.org> (tiny change)
6595
6596 * progmodes/hideshow.el (hs-hide-all): Don't infloop on comments
6597 that start in the middle of the line (bug#10496).
6598
6a8c9eaf
DN
65992012-04-10 Dan Nicolaescu <dann@gnu.org>
6600
6601 * battery.el (battery-linux-proc-acpi): Only one battery is
6602 discharged at a time, but that seems to confuse battery.el when
6603 computing `rate-type' for the battery not being discharged
6604 (bug#10332).
6605
1930bf5d
SM
66062012-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
6607
2a718f6f
SM
6608 * emacs-lisp/autoload.el (autoload-make-program): Remove, unused.
6609
599430d0
SM
6610 * international/quail.el: Use dolist and simplify.
6611 (quail-define-package, quail-update-keyboard-layout)
6612 (quail-define-rules): Use dolist.
6613 (quail-insert-kbd-layout, quail-get-translation): CSE.
6614
a2754b6c
SM
6615 * tmm.el: Use dolist, remove left over hook.
6616 (tmm-prompt, tmm-define-keys, tmm-shortcut, tmm-get-keybind):
6617 Use dolist.
6618 (calendar-load-hook): Don't mess with it.
6619
1930bf5d
SM
6620 * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
6621 Use derived-mode-p. Run the diff asynchronously.
6622
9f67961c
LMI
66232012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
6624
6625 * obsolete/mouse-sel.el: Add an Obsolete-since header.
6626
2a8ce227
JB
66272012-04-10 Juanma Barranquero <lekktu@gmail.com>
6628
6629 * misc.el: Display absolute path of loaded DLLs (bug#10424).
6630 (list-dynamic-libraries--loaded): New function.
6631 (list-dynamic-libraries--refresh): Use it.
6632
8f33b5f8
NW
66332012-04-10 Nathan Weizenbaum <nweiz@google.com>
6634
1930bf5d
SM
6635 * progmodes/python.el (python-fill-paragraph):
6636 Make python-fill-region in a multiline string work when font-lock is
8f33b5f8
NW
6637 disabled (bug#7018).
6638
b12f0439
L
66392012-04-10 Laimonas VÄ—bra <laimonas.vebra@gmail.com> (tiny change)
6640
1930bf5d 6641 * language/european.el (cp775): Add oem/legacy (en)coding on
75f1671a
JB
6642 DOS/MS Windows for the Baltic languages. There are still plenty
6643 of texts written in this encoding/codepage (bug#6519).
b12f0439 6644
57c3bd01
GM
66452012-04-10 Glenn Morris <rgm@gnu.org>
6646
6647 * cus-start.el (eol-mnemonic-unix, eol-mnemonic-dos, eol-mnemonic-mac):
6648 Add :standard values, reducing "rogue" customs in emacs -Q a bit more.
6649
6c3eab30
FA
66502012-04-10 Florian Adamsky <florian@adamsky.it> (tiny change)
6651
1930bf5d 6652 * recentf.el (recentf-dialog-mode-map): Add two keybindings for
6c3eab30
FA
6653 next-line "n" and previous-line "p" in order to make recentf more
6654 consistent with ibuffer, dired or org-mode (bug#9387).
6655
24d78a88
LMI
66562012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
6657
bc72b5d9
LMI
6658 * image.el (put-image): Return the overlay created instead of the
6659 optional input string (bug#7834). Note that this may break code
6660 that is (for some reason or other) depending on `put-image'
6661 returning the string.
6662
bd2dba5a
LMI
6663 * mouse-sel.el (mouse-sel-mode): Mark as obsolete (bug#6174).
6664
74beb59f
LMI
6665 * simple.el (zap-to-char): Allow zapping using input methods
6666 (bug#1580).
6667
24d78a88
LMI
6668 * textmodes/fill.el (fill-region): Leave point and mark where they
6669 were before filling (bug#5399).
6670
263f20cd
GM
66712012-04-09 Glenn Morris <rgm@gnu.org>
6672
6673 * version.el (emacs-bzr-get-version):
6674 Handle lightweight checkouts of local branches.
6675
58d1f797
AS
66762012-04-09 Andreas Schwab <schwab@linux-m68k.org>
6677
263f20cd 6678 * international/characters.el: Recover lost case pairs. (Bug#11209)
58d1f797 6679
b4d3bc10
CY
66802012-04-09 Chong Yidong <cyd@gnu.org>
6681
6682 * custom.el (custom-variable-p): Return nil for non-symbol
6683 arguments instead of signaling an error.
6684 (user-variable-p): Obsolete alias for custom-variable-p.
6685
6686 * apropos.el (apropos-variable):
6687 * files-x.el (read-file-local-variable):
6688 * simple.el (set-variable):
6689 * woman.el (woman-mini-help):
6690 * emacs-lisp/byte-opt.el (side-effect-free-fns): Callers changed.
6691
fd06db5d
GM
66922012-04-09 Glenn Morris <rgm@gnu.org>
6693
e5fcdb5e
GM
6694 * startup.el (normal-top-level): Don't look for leim-list.el
6695 in places where it will not be found. (Bug#910)
6696
fd06db5d
GM
6697 * international/mule-cmds.el (set-default-coding-systems):
6698 * files.el (normal-mode):
6699 Remove guarded calls to ucs-set-table-for-input. (Bug#9821)
6700 This function was removed with ucs-tables.el in 2008.
6701
b39bb7e1
EZ
67022012-04-08 Eli Zaretskii <eliz@gnu.org>
6703
6704 * textmodes/ispell.el (ispell-check-version): For hunspell, set
6705 ispell-encoding8-command to "-i", without a trailing space.
6706 (ispell-start-process): For hunspell, use '("-i" ENCODING), in 2
6707 separate command-line arguments, to specify the encoding, since
6708 that's how hunspell expects it.
6709
5c5b8e23
GM
67102012-04-08 Glenn Morris <rgm@gnu.org>
6711
6712 * loadup.el: Load bindings before cus-start.
6713 This reduces somewhat the number of "rogue" settings in emacs -Q.
6714
a1ed8b05
GM
67152012-04-07 Glenn Morris <rgm@gnu.org>
6716
6717 * version.el (emacs-bzr-get-version): New function.
dfae128a 6718 (emacs-bzr-version): New variable.
a1ed8b05
GM
6719 * loadup.el (emacs-bzr-version): Set it. (Bug#8054)
6720 * mail/emacsbug.el (report-emacs-bug): Include bzr version.
6721
b142f158
EZ
67222012-04-07 Eli Zaretskii <eliz@gnu.org>
6723
dfae128a
GM
6724 * international/uni-bidi.el, international/uni-category.el:
6725 * international/uni-combining.el, international/uni-decimal.el:
6726 * international/uni-decomposition.el, international/uni-digit.el:
6727 * international/uni-lowercase.el, international/uni-mirrored.el:
6728 * international/uni-name.el, international/uni-numeric.el:
6729 * international/uni-titlecase.el, international/uni-uppercase.el:
6730 Update for Unicode 6.1.
b142f158 6731
9078ead6
EZ
67322012-04-07 Eli Zaretskii <eliz@gnu.org>
6733
6734 * term/w32-win.el (dynamic-library-alist): Add libxml2 DLLs.
6735
f23d2c7d
LMI
67362012-04-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
6737
6738 * window.el (shrink-window): Mention the `window-min-height'
6739 variable in the doc string.
6740
0a0a3573
BG
67412012-04-05 Bastien Guerry <bzg@altern.org>
6742
6743 * color.el (color-lighten-name): Fix typo.
6744
e5248ac9
SM
67452012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
6746
6747 * server.el (server--on-display-p): New function.
6748 (server--on-display-p): Use it.
6749
b4243e22
GV
67502012-04-04 Gabor Vida <vidagabor@gmail.com> (tiny change)
6751
6752 * ido.el (ido-wide-find-dirs-or-files): Use file-name-absolute-p
6753 (bug#11145).
6754
305d9f44
SM
67552012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
6756
6757 * comint.el (comint--common-quoted-suffix): Check string boundary
6758 before comparing (bug#11158).
6759 * pcomplete.el (pcomplete--common-quoted-suffix): Idem.
6760
3d439cd1
CY
67612012-04-04 Chong Yidong <cyd@gnu.org>
6762
321cc491
CY
6763 * minibuffer.el (completion-extra-properties): Doc fix.
6764
3d439cd1
CY
6765 * subr.el (delayed-warnings-hook): Doc fix.
6766
2d562c0f
DU
67672012-04-04 Daiki Ueno <ueno@unixuser.org>
6768
6769 * epa.el (epa--select-keys): Bind C-c C-c to finish the key
6770 selection (Bug#11159).
6771 (epa-insert-keys): Inform that the default public key will be
6772 exported if no key is selected.
6773
4443f204
RS
67742012-04-04 Richard Stallman <rms@gnu.org>
6775
6776 * mail/emacsbug.el (report-emacs-bug): Bind inhibit-read-only.
6777
529c06b6
CY
67782012-04-03 Chong Yidong <cyd@gnu.org>
6779
6780 * mail/sendmail.el (mail-mode-map): Bind C-c C-i to
6781 mail-insert-file, not its obsolete alias mail-attach-file.
6782
66b907dc
MA
67832012-04-03 Michael Albinus <michael.albinus@gmx.de>
6784
6785 * notifications.el (notifications-notify): Fix docstring.
6786
c0ea195d
GM
67872012-04-02 Glenn Morris <rgm@gnu.org>
6788
6789 * emacs-lisp/authors.el (authors-aliases): Another addition.
6790
5ca64e00
MA
67912012-04-02 Michael Albinus <michael.albinus@gmx.de>
6792
6793 * net/tramp-gvfs.el (tramp-gvfs-send-command): Apply
6794 `tramp-compat-call-process' instead of `tramp-local-call-process'.
6795 Reported by Magnus Henoch <magnus.henoch@gmail.com>.
6796
42ee526b
CY
67972012-04-01 Chong Yidong <cyd@gnu.org>
6798
6799 * files.el (file-in-directory-p): Rename from file-subdir-of-p.
6800 Handle root directory properly.
6801 (copy-directory): Caller changed.
6802
6803 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
6804 * net/tramp.el (tramp-file-name-for-operation): Callers changed.
6805
0b021094
GM
68062012-03-31 Glenn Morris <rgm@gnu.org>
6807
40f86458
GM
6808 * term/xterm.el (xterm-extra-capabilities): Doc fix.
6809
7019c177
GM
6810 * language/indian.el ("Devanagari"): Fix typo. (Bug#11103)
6811
a1daddd6
GM
6812 * calendar/calendar.el (calendar-window-list)
6813 (calendar-hide-window): Restore. (Bug#11140)
6814 (calendar-exit): Use calendar-window-list, calendar-hide-window again.
6815
0b021094
GM
6816 * emacs-lisp/edebug.el (edebug-unwrap-results): Doc fix.
6817
40311efc
TV
68182012-03-30 Thierry Volpiatto <thierry.volpiatto@gmail.com>
6819
6820 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
6821 Check if file is a symlink (Bug#10489).
6822
6823 * files.el (copy-directory): Likewise.
6824
5319014e
CY
68252012-03-30 Chong Yidong <cyd@gnu.org>
6826
6827 * image.el (imagemagick-types-inhibit)
6828 (imagemagick-register-types): Doc fix.
6829
935d1290
AM
68302012-03-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
6831
090bd7cb 6832 * textmodes/ispell.el (ispell-get-extended-character-mode):
ef24141c 6833 Disable extended-char-mode for hunspell. hunspell does not support it
75f1671a 6834 and treats ~word as ordinary words in pipe mode.
935d1290 6835
61c6e8fd
GM
68362012-03-30 Glenn Morris <rgm@gnu.org>
6837
6838 * tutorial.el (help-with-tutorial): Ensure local variables don't
6839 happen to make the buffer read-only. (Bug#11127)
6840
81fdff00
SM
68412012-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
6842
6843 * progmodes/perl-mode.el (perl-indent-line): Use `noindent' in strings.
6844 (perl-calculate-indent): Return `noindent' in strings.
6845
6e7a6ec0
SS
68462012-03-28 Sam Steingold <sds@gnu.org>
6847
6848 * calendar/calendar.el (calendar-exit): Use `quit-windows-on'
6849 instead of the broken adhockery which does not prevent calendar
6850 buffers from being displayed at random after exit.
6851 (calendar-window-list, calendar-hide-window): Remove the broken
6852 adhockery.
6853
fee88ca0
GM
68542012-03-28 Glenn Morris <rgm@gnu.org>
6855
6856 * replace.el (query-replace-map): Doc fix.
6857
38de3354
AS
68582012-03-28 Andreas Schwab <schwab@linux-m68k.org>
6859
6860 * vc/vc-git.el (vc-git-state): Don't try to match all of the diff
6861 contents. (Bug#11109)
6862
b973155e
SM
68632012-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
6864
6865 * emacs-lisp/avl-tree.el (avl-tree--enter-balance): Fix paren typo
6866 (bug#11077).
6867 (avl-tree--check, avl-tree--check-node): New funs.
6868
dcb6e7b3
MR
68692012-03-27 Martin Rudalics <rudalics@gmx.at>
6870
6871 * window.el (switch-to-visible-buffer): New option.
b973155e
SM
6872 (switch-to-prev-buffer, switch-to-next-buffer):
6873 Observe switch-to-visible-buffer. Make sure that checking for a window
dcb6e7b3
MR
6874 showing a buffer already is done on the same frame.
6875
b4fa35fa
GM
68762012-03-27 Glenn Morris <rgm@gnu.org>
6877
6878 * startup.el (mail-host-address): Doc fix.
6879
f9210e18
SM
68802012-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
6881
6882 * emacs-lisp/bytecomp.el (byte-compile-constants-vector): Allow more
6883 than 197 variables.
6884
c0bf7753
AF
68852012-03-26 Ami Fischman <ami@fischman.org>
6886
6887 * vc/vc-git.el (vc-git-state): Avoid unnecessarily locking.
6888
33da7b16
GM
68892012-03-26 Glenn Morris <rgm@gnu.org>
6890
02243d9d
GM
6891 * files.el (save-buffers-kill-emacs): Doc fix.
6892
33da7b16
GM
6893 * startup.el (normal-top-level, command-line, command-line-1):
6894 Give them doc strings.
6895
e5a69fd0
EZ
68962012-03-25 Eli Zaretskii <eliz@gnu.org>
6897
6898 * makefile.w32-in (install): Use $(DIRNAME)_same-dir.tst instead
b973155e 6899 of same-dir.tst, to avoid stepping on other (parallel) Make job's toes.
e5a69fd0 6900
9a69676a
CY
69012012-03-25 Chong Yidong <cyd@gnu.org>
6902
4125cb8b
CY
6903 * custom.el (load-theme): Even if NO-ENABLE arg is t, reenable the
6904 theme if it was previously enabled before (Bug#11031).
6905
dd470960
CY
6906 * cus-theme.el (custom-theme-write-faces): Retrieve current face
6907 spec with custom-face-get-current-spec if its :shown-value is not
6908 determined yet (Bug#9337).
4125cb8b 6909 (customize-create-theme, custom-theme-revert): Doc fixes.
dd470960 6910
9a69676a
CY
6911 * button.el (button-at): Minor addition to docstring.
6912
6e7e90fa
SL
69132012-03-24 Simon Leinen <simon.leinen@gmail.com>
6914
6915 * vc/vc.el (vc-merge): Fix a prompt.
6916
f06e2758
CY
69172012-03-24 Chong Yidong <cyd@gnu.org>
6918
6919 * mwheel.el (mwheel-scroll): Call deactivate-mark at the right
6920 point (Bug#9623).
6921
6e7e90fa
SL
6922 * button.el (button-at): Minor addition to docstring.
6923
b9d0879b
SM
69242012-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
6925
6926 * newcomment.el (comment-choose-indent): No space after BOL.
6927
e71cebb3
SS
69282012-03-22 Sam Steingold <sds@gnu.org>
6929
6930 * window.el (switch-to-prev-buffer): Revert last patch because the
6931 bug turned out to be an advertised feature (Elisp manual 28.14).
6932
335aff35
GM
69332012-03-22 Glenn Morris <rgm@gnu.org>
6934
6935 * vc/vc-bzr.el (vc-bzr-status-switches): New option. (Bug#6724)
6936 (vc-bzr-command): If running "status", pass vc-bzr-status-switches.
6937
c676576a
LMI
69382012-03-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
6939
6940 * net/network-stream.el (network-stream-open-starttls): Make error
6941 message under Windows be less misleading.
6942
126f3d39
LW
69432012-03-22 Liang Wang <netcasper@gmail.com> (tiny change)
6944
6945 * progmodes/etags.el (etags-list-tags): Only use tags which goto-func
6946 understands (bug#9942).
6947
64fee311
CY
69482012-03-22 Chong Yidong <cyd@gnu.org>
6949
6950 * simple.el (end-of-visible-line): Handle return value of
6951 next-single-property-change properly (Bug#9371).
6952
a640d29a
KH
69532012-03-22 Kenichi Handa <handa@m17n.org>
6954
6955 * international/quail.el (quail-insert-kbd-layout): Fix previous
6956 change. To avoid unwanted bidi reordering, use
6957 bidi-string-mark-left-to-right instead of inserting LRO and PDF.
6958
39675016
DG
69592012-03-21 Dmitry Gutov <dgutov@yandex.ru>
6960
6961 * progmodes/ruby-mode.el: Don't confuse "end:" for "end" (bug#10786).
6962 (ruby-block-end-re, ruby-delimiter, ruby-parse-partial)
6963 (ruby-beginning-of-indent): Be more careful with the difference
6964 between word-boundary and symbol boundary.
6965 (ruby-mode-syntax-table): Make : a symbol constituent.
6966
0a6934fc 69672012-03-21 Andreas Politz <politza@fh-trier.de>
1acad97c 6968
3d008e4f
SM
6969 * outline.el (outline-flag-region): Evaporate overlays (bug#10789).
6970
0a6934fc
SM
69712012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
6972
af67c9d7
SM
6973 * progmodes/etags.el (tags-completion-at-point-function):
6974 Improve last fix.
6975
1acad97c
SM
6976 * files.el (move-file-to-trash): Files aren't regexps (bug#11055).
6977
e298b5da
SS
69782012-03-21 Sam Steingold <sds@gnu.org>
6979
6980 * progmodes/etags.el (tags-completion-at-point-function):
6981 Avoid the error when point is inside the pattern.
6982
91d82a70
JY
69832012-03-21 John Yates <john@yates-sheets.org> (tiny change)
6984
6985 * progmodes/hideshow.el (hs-inside-comment-p): Fix hiding of first
6986 line (Bug#10855).
6987
69188b79
CY
69882012-03-21 Drew Adams <drew.adams@oracle.com>
6989
6990 * info.el (Info-menu): Handle string value of FORK arg (Bug#10858).
6991
99fc91fe
AK
69922012-03-21 Anmol Khirbat <anmol@khirbat.net> (tiny change)
6993
6994 * ido.el (ido-set-current-directory, ido-read-internal)
6995 (ido-choose-completion-string, ido-completion-help): Handle nil
6996 value of ido-completion-buffer (Bug#11008).
6997
087bbb4c
SS
69982012-03-21 Sam Steingold <sds@gnu.org>
6999
7000 * window.el (switch-to-prev-buffer): Do not switch to a visible
7001 window previous buffer, just like with the frame previous buffers.
7002
fb5b8aca
CY
70032012-03-21 Chong Yidong <cyd@gnu.org>
7004
7005 * faces.el (make-face, make-empty-face, copy-face):
7006 * face-remap.el (face-remap-add-relative, face-remap-set-base):
7007 Doc fixes.
7008
dc9924b8
SM
70092012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
7010
7011 * wid-edit.el (widget-complete-field): Remove (bug#11051).
7012 (widget-complete): Remove broken use of it.
7013
f0bcceb9
CY
70142012-03-20 Chong Yidong <cyd@gnu.org>
7015
dc9924b8
SM
7016 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
7017 Use string-width and truncate-string-width to handle arbitrary
f0bcceb9
CY
7018 characters.
7019
ee52ebf3
TH
70202012-03-20 Tassilo Horn <tassilo@member.fsf.org>
7021
7022 * textmodes/artist.el (artist-menu-map): Bind Rectangle menu item
7023 to draw rectangles, not squares. (Regression introduced by revno
7024 2011-03-02T03:48:01Z!cyd@stupidchicken.com)
7025
4c5779ab
CY
70262012-03-18 Chong Yidong <cyd@gnu.org>
7027
7028 * faces.el (face-spec-reset-face): Don't call display-graphic-p if
7029 it is not yet defined (for temacs).
7030
15360934
LL
70312012-03-18 Leo Liu <sdl.web@gmail.com>
7032
dc9924b8 7033 * net/rcirc.el (rcirc-cmd-quit): Allow quiting all servers with prefix.
15360934 7034
d9a8eb66
EZ
70352012-03-17 Eli Zaretskii <eliz@gnu.org>
7036
7037 * textmodes/ispell.el (ispell-skip-tib, ispell-keep-choices-win)
7038 (ispell-choices-win-default-height, ispell-silently-savep)
7039 (ispell-dictionary-alist, ispell-encoding8-command)
7040 (ispell-check-version, ispell-aspell-find-dictionary)
7041 (ispell-valid-dictionary-list, ispell-words-keyword)
7042 (ispell-get-word, ispell-internal-change-dictionary)
7043 (ispell-region, ispell-skip-region-list)
7044 (ispell-begin-skip-region-regexp, ispell-ignore-fcc)
7045 (ispell-process-line, ispell-minor-mode, ispell-minor-check)
7046 (ispell-message-text-end, ispell-message)
7047 (ispell-buffer-local-parsing): Doc fix.
7048
f02ff80d
J
70492012-03-13 Jambunathan K <kjambunathan@gmail.com>
7050
7051 * htmlfontify.el: Add support for code block fontification for ODT
7052 export (Bug #9914).
7053 (hfy-optimisations): Define new option
7054 `body-text-only'
7055 (hfy-fontify-buffer): Honor above setting.
7056 (hfy-begin-span, hfy-end-span): New routines factored out form
7057 `hfy-fontify-buffer'.
7058 (hfy-begin-span-handler, hfy-end-span-handler): New variables
7059 that permit insertion of custom tags.
7060 (hfy-fontify-buffer): Use above handlers.
7061 (hfy-face-to-css-default): Same as the earlier `hfy-face-to-css'.
7062 (hfy-face-to-css): Re-defined to be a variable.
dc9924b8 7063 (hfy-compile-stylesheet): Modify. Allow stylesheet to be built
75f1671a 7064 over multiple runs. This is made possible by having the caller let
f02ff80d
J
7065 bind a special variable `hfy-user-sheet-assoc'.
7066 (htmlfontify-string): New defun.
7067 (hfy-compile-face-map): Make sure that the last char in the
7068 buffer is correctly fontified.
7069 (hfy-face-resolve-face): Whitespace only change.
7070
9ac7a13f
EZ
70712012-03-17 Eli Zaretskii <eliz@gnu.org>
7072
7073 * textmodes/ispell.el (ispell-get-decoded-string): Make the error
7074 message more clear.
7075
e2b5bdd7
LL
70762012-03-16 Leo Liu <sdl.web@gmail.com>
7077
7078 * emacs-lisp/copyright.el (copyright-year-ranges): Fix typo.
7079
2e492df3
AM
70802012-03-16 Alan Mackenzie <acm@muc.de>
7081
7082 Further optimise the handling of large macros.
7083
7084 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Use a
7085 limit to a call of `c-literal-limits'.
7086 (c-determine-+ve-limit): New function.
dc9924b8
SM
7087 (c-at-macro-vsemi-p): Move `c-in-literal' to the bottom of an `and'.
7088 (c-guess-basic-syntax): In macros, restrict a search limit to 2000.
2e492df3
AM
7089 In CASE 5B, restrict a search limit to 500.
7090 (c-just-after-func-arglist-p): Obviouly wrong `or' -> `and'.
7091
7092 * progmodes/cc-mode.el (c-neutralize-syntax-in-and-mark-CPP):
7093 Restrict macro bounds to +-500 from after-change's BEG END.
7094
50e94f0c
LL
70952012-03-16 Leo Liu <sdl.web@gmail.com>
7096
7097 * font-lock.el (lisp-font-lock-keywords-2): Add letrec.
7098
6f09f6ed
AH
70992012-03-16 Aaron S. Hawley <Aaron.S.Hawley@gmail.com>
7100
7101 * tar-mode.el (tar-mode): Fix saving by conditionally undoing
dc9924b8 7102 `special-mode' setting of `buffer-read-only'. (Bug#11010)
6f09f6ed 7103
c7e73d51
GM
71042012-03-16 Glenn Morris <rgm@gnu.org>
7105
da986230
GM
7106 * view.el (view-buffer, view-buffer-other-window)
7107 (view-buffer-other-frame): Doc fixes re special mode-class.
7108
0835f01e
GM
7109 * subr.el (eval-after-load): If named feature is provided not from
7110 a file, run after-load forms. (Bug#10946)
7111
c7e73d51
GM
7112 * calendar/calendar.el (calendar-insert-at-column):
7113 Handle non-unit-width characters a bit better. (Bug#10978)
7114
3f2eafd1
CY
71152012-03-15 Chong Yidong <cyd@gnu.org>
7116
7117 * emacs-lisp/ring.el (ring-extend): New function.
7118 (ring-insert+extend): Extend the ring correctly (Bug#11019).
7119
7120 * comint.el (comint-read-input-ring)
7121 (comint-add-to-input-history): Grow comint-input-ring lazily.
7122
103af3fe
SM
71232012-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
7124
663b1677
SM
7125 * progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
7126 Fix up parsing of multiline twoarg non-paired elements (bug#11014).
7127
103af3fe
SM
7128 * imenu.el: Fix multiple inheritance breakage (bug#9199).
7129 (imenu-add-to-menubar): Don't add a redundant index.
7130 (imenu-update-menubar): Handle a dynamically composed keymap.
7131
899cb7cb
KY
71322012-03-13 Katsumi Yamaoka <yamaoka@jpl.org>
7133
7134 * mail/sendmail.el (mail-encode-header):
7135 Bind rfc2047-encode-encoded-words to nil.
7136
3809f91d
GM
71372012-03-13 Glenn Morris <rgm@gnu.org>
7138
7139 * calendar/calendar.el (calendar-string-spread):
7140 Handle non-unit-width characters a bit better. (Bug#10978)
7141
9e345a01
LL
71422012-03-13 Leo Liu <sdl.web@gmail.com>
7143
7144 * vc/vc-hg.el (vc-hg-working-revision): Rework to work with both
7145 directory and file as argument (Bug#10822).
7146
4a07df36
KS
71472012-03-13 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
7148
7149 * progmodes/gdb-mi.el (gdb-invalidate-disassembly):
7150 For dynamically generated code, follow $PC.
7151 (gdb-disassembly-handler-custom): Handle no function name case.
7152
4aaa9356
TL
71532012-03-13 Tim Landscheidt <tim@tim-landscheidt.de> (tiny change)
7154
7155 * calendar/icalendar.el (icalendar-export-file, icalendar-import-file):
7156 * emulation/ws-mode.el (ws-query-replace):
7157 * sort.el (sort-regexp-fields):
7158 Fix missing trailing whitespace in interactive prompts. (Bug#11002)
7159
225979da
SM
71602012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
7161
7162 * dabbrev.el: Fix cycle completion order (bug#10963).
7163 (dabbrev--last-obarray, dabbrev--last-completion-buffer): Remove.
7164 (dabbrev-completion): Don't use an obarray; provide
7165 a cycle-sort-function.
7166
e2f1fdab
LL
71672012-03-12 Leo Liu <sdl.web@gmail.com>
7168
dc9924b8 7169 * simple.el (kill-new): Use equal-including-properties for comparison.
e2f1fdab
LL
7170 (kill-do-not-save-duplicates): Doc fix.
7171
b19490ed
SM
71722012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
7173
7174 * dabbrev.el: Fix cycle completion (bug#10963).
7175 Use lexical binding and wrap to 80 columns.
7176 (dabbrev-completion): Delay computing the list of completions.
7177
4b05d722
KH
71782012-03-12 Kenichi Handa <handa@m17n.org>
7179
7180 * international/quail.el (quail-insert-kbd-layout): Surround each
7181 row by LRO and PDF instead of inserting many LRMs. Pad the left
7182 and right of each non-spacing marks. Insert invisible space
7183 between lower and upper characters to prevent composition.
7184
dbbc2e69
SM
71852012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
7186
7187 * minibuffer.el (minibuffer-complete): Don't get confused when the
7188 function is run twice via different commands (bug#10958).
7189 (complete-with-action): Fix docstring.
7190
292112ed
CY
71912012-03-12 Chong Yidong <cyd@gnu.org>
7192
5d1ac394
CY
7193 * nxml/nxml-mode.el (nxml-mode-map): Do not bind C-RET (Bug#6776).
7194 (nxml-completion-at-point-function): New function.
7195 (nxml-mode): Use it.
7196 (nxml-bind-meta-tab-to-complete-flag): Default to t.
7197
292112ed
CY
7198 * emacs-lisp/package.el (package-unpack, package-unpack-single):
7199 Load generated autoloads file before byte compiling (Bug#10970).
7200 (package--make-autoloads-and-compile): New helper fun.
7201
4098f8f7
CS
72022012-03-12 Christopher Schmidt <christopher@ch.ristopher.com>
7203
7204 * ibuffer.el (ibuffer-redisplay): Remove another gratuitous error.
7205
8f754691
MA
72062012-03-11 Michael Albinus <michael.albinus@gmx.de>
7207
7208 * autorevert.el (auto-revert-handler): Ensure, that
7209 file-readable-p is applied only for local files or in
7210 auto-revert-tail-mode.
7211
e29ab36b
AS
72122012-03-11 Andreas Schwab <schwab@linux-m68k.org>
7213
dbbc2e69
SM
7214 * server.el (server-eval-at): Handle non-tcp connections.
7215 Decode result string.
ad0bf5b6 7216
e29ab36b
AS
7217 * server.el (server-msg-size): New constant.
7218 (server-reply-print): New function.
7219 (server-eval-and-print): Use it.
7220 (server-eval-at): Use server-quote-arg and server-unquote-arg.
7221 Handle -print-nonl.
7222
de5939ba
CS
72232012-03-11 Christopher Schmidt <christopher@ch.ristopher.com>
7224
7225 * ibuffer.el (ibuffer-redisplay): Remove gratuitous error
7226 (Bug#10987).
7227
0c93eabf
CY
72282012-03-11 Chong Yidong <cyd@gnu.org>
7229
397a688f
CY
7230 * simple.el (goto-line): Doc fix (Bug#9938).
7231
2cc775f9
CY
7232 * subr.el (save-window-excursion): Doc fix (Bug#9979).
7233
0c93eabf
CY
7234 * dabbrev.el (dabbrev--find-expansion): Update progress reporter
7235 when finished (Bug#10963).
7236
c491fa41
MR
72372012-03-11 Martin Rudalics <rudalics@gmx.at>
7238
7239 * window.el (split-window-below): Fix bug in case where
7240 split-window-keep-point is nil (Bug#10971).
7241
300e8fa5
JL
72422012-03-11 Juri Linkov <juri@jurta.org>
7243
7244 * replace.el (replace-highlight): Set isearch-word to nil
7245 unconditionally. (Bug#10887)
7246
dbf6c5a1
EZ
72472012-03-10 Eli Zaretskii <eliz@gnu.org>
7248
7249 * net/mairix.el (mairix-replace-invalid-chars): Rename from
7250 mairix-replace-illegal-chars; all callers changed. Don't remove
dc9924b8 7251 ^, ~, and = characters: they are meaningful in mairix search specs.
dbf6c5a1
EZ
7252 (mairix-widget-create-query): Add usage information about mairix
7253 search forms: negating words, searching for substrings, etc.
7254
b9e501de
JP
72552012-03-10 Jae-hyeon Park <jae-hyeon.park@desy.de> (tiny change)
7256
7257 * international/fontset.el (font-encoding-alist): Add an entry for
7258 ksx1001 (Bug#5667).
7259
92795c91
RS
72602012-03-10 Richard Stallman <rms@gnu.org>
7261
1694e6c1
RS
7262 * mail/sendmail.el (mail-encode-header):
7263 Set rfc2047-encode-encoded-words.
7264
607e8555
RS
7265 * mail/mail-utils.el (mail-quote-printable): Quote multibyte chars.
7266
de3bc99a
RS
7267 * mail/rmail.el (rmail-buffers-swapped-p): Don't assume dead
7268 view buffer means not swapped.
7269 (rmail-view-buffer-kill-buffer-hook): Give buf name in error msg.
7270 (rmail-write-region-annotate): Error if real text has disappeared.
7271
92795c91
RS
7272 * epa-mail.el (epa-mail-encrypt): Bind inhibit-read-only.
7273
699bd04e
CY
72742012-03-10 Chong Yidong <cyd@gnu.org>
7275
7276 * emulation/cua-rect.el (cua--init-rectangles):
dbbc2e69
SM
7277 * emulation/cua-base.el (cua--init-keymaps):
7278 Add delete-forward-char to remappings (Bug#9666).
699bd04e 7279
570a1714
MR
72802012-03-10 Martin Rudalics <rudalics@gmx.at>
7281
dbbc2e69
SM
7282 * speedbar.el (speedbar-unhighlight-one-tag-line):
7283 Avoid unhighlighting due to frame switching (Bug#10275).
570a1714 7284
82dcf4e4
CY
72852012-03-10 Chong Yidong <cyd@gnu.org>
7286
7a2c7ca7
CY
7287 * minibuffer.el (completion-in-region, completion-help-at-point):
7288 Give the completion field overlay a high priority (Bug#6830).
7289
82dcf4e4
CY
7290 * dired.el (dired-goto-file): Recognize absolute file name
7291 listings (Bug#7126).
7292 (dired-goto-file-1): New helper function.
7293 (dired-toggle-read-only): Inhibit warnings.
7294
052e28ac
MA
72952012-03-09 Michael Albinus <michael.albinus@gmx.de>
7296
75f1671a 7297 * net/dbus.el (dbus-property-handler): Return empty array if
052e28ac
MA
7298 there are no properties.
7299
95d5e396
LL
73002012-03-09 Leo Liu <sdl.web@gmail.com>
7301
7302 * savehist.el (savehist-printable): Stricter check for string
7303 value (Bug#10937).
7304
3f018d6d
EZ
73052012-03-09 Eli Zaretskii <eliz@gnu.org>
7306
dbbc2e69
SM
7307 * mail/smtpmail.el (smtpmail-send-it):
7308 Bind coding-system-for-write to *-unix, so that FCC files are kept in
3f018d6d
EZ
7309 valid mbox format.
7310
f7fd3d79
GM
73112012-03-09 Glenn Morris <rgm@gnu.org>
7312
7313 * files.el (dir-locals-find-file):
7314 Don't check result is regular, readable.
7315 (dir-locals-read-from-file): Demote errors.
7316
6ff6e72f
EZ
73172012-03-08 Eli Zaretskii <eliz@gnu.org>
7318
dbbc2e69
SM
7319 * international/quail.el (quail-insert-kbd-layout):
7320 Insert invisible LRM characters before each character in a keyboard
6ff6e72f
EZ
7321 layout cell, to prevent their reordering by bidi display engine.
7322 For details, see the discussion in
7323 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00085.html.
7324
9cec7834
AM
73252012-03-08 Alan Mackenzie <acm@muc.de>
7326
7327 * progmodes/cc-cmds.el (c-mark-function): Make it leave a mark at
7328 the starting position; make it extend the marked region when
7329 invoked repeatedly - all under appropriate circumstances.
7330 Fixes bugs #5525, #10906.
7331
9a40b8d4
GM
73322012-03-08 Glenn Morris <rgm@gnu.org>
7333
7334 * files.el (locate-dominating-file, dir-locals-find-file):
7335 Undo 2012-03-06 change.
7336
7a08ed35
EZ
73372012-03-07 Eli Zaretskii <eliz@gnu.org>
7338
dbbc2e69
SM
7339 * international/quail.el (quail-help):
7340 Force bidi-paragraph-direction be left-to-right. See discussion in
7a08ed35
EZ
7341 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00062.html
7342 for the reason.
7343
5aca4f71 73442012-03-07 Michael Albinus <michael.albinus@gmx.de>
6612a284
MA
7345
7346 Avoid superfluous registering of signals. (Bug#10807)
7347
7348 * notifications.el (notifications-on-action-object)
7349 (notifications-on-close-object): New defvars.
7350 (notifications-on-action-signal, notifications-on-closed-signal):
7351 Unregister the signal if not needed any longer.
7352 (notifications-notify): Register `notifications-action-signal' or
7353 `notifications-closed-signal', if :on-action or :on-close has been
7354 passed as argument.
7355
78e8b10a
CY
73562012-03-07 Chong Yidong <cyd@gnu.org>
7357
7358 * cus-start.el: Avoid x-select-enable-clipboard-manager warning on
7359 non-X platforms.
7360
69481eb8
GM
73612012-03-06 Glenn Morris <rgm@gnu.org>
7362
7363 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
7364 (x-disown-selection-internal, x-get-selection-internal):
7365 Doc fix (add arglist signatures). (Bug#10783)
7366
133b8e11
KS
73672012-03-06 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
7368
7369 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
7370 Handle breakpoints with no "type".
7371
99a83064
GM
73722012-03-06 Glenn Morris <rgm@gnu.org>
7373
7374 * files.el (locate-dominating-file): Add optional predicate argument.
7375 (dir-locals-find-file): Make use of above change.
7376
17798e78
TTN
73772012-03-06 Thien-Thi Nguyen <ttn@gnuvola.org>
7378
7379 * info.el (Info-insert-dir): Also try "dir.gz".
7380
eb182446
GM
73812012-03-06 Glenn Morris <rgm@gnu.org>
7382
8f2114ee
GM
7383 * files.el (dir-locals-find-file):
7384 Ignore non-readable or non-regular files. (Bug#10928)
7385
eb182446
GM
7386 * files.el (locate-dominating-file): Doc fix.
7387
24679323
AS
73882012-03-06 Adam Spiers <emacs@adamspiers.org> (tiny change)
7389
7390 * calendar/calendar.el (calendar-set-mode-line):
7391 `getenv' returns a string. (Bug#10951)
7392
01d972a9
LL
73932012-03-05 Leo Liu <sdl.web@gmail.com>
7394
109aa8a9
LL
7395 * simple.el (backward-delete-char-untabify): Constrain point to
7396 field (Bug#10939).
7397
01d972a9
LL
7398 * eshell/em-cmpl.el (eshell-cmpl-initialize): Fix shift-tab key.
7399
10607bea
CY
74002012-03-05 Chong Yidong <cyd@gnu.org>
7401
7402 * simple.el (count-words): If called from Lisp, return the word
7403 count, for symmetry with `count-lines'. Arglist changed.
7404 (count-words--message): Args changed. Consolidate counting code
7405 from count-words and count-words-region.
7406 (count-words-region): Caller changed.
7407 (count-lines-region): Make it an obsolete alias.
7408
5dd11cfe
TH
74092012-03-04 Tassilo Horn <tassilo@member.fsf.org>
7410
7411 * saveplace.el (save-place-to-alist)
7412 (save-place-ignore-files-regexp): Allow value nil to disable this
7413 feature.
7414
c349f4e6
CY
74152012-03-04 Chong Yidong <cyd@gnu.org>
7416
7417 * faces.el (face-spec-reset-face): For the default face, reset the
7418 attributes to default values (Bug#10748).
7419
e627be4c
LMI
74202012-03-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
7421
7422 * mail/emacsbug.el (report-emacs-bug-hook): Fix up thinko in
7423 previous patch: Check `message-send-mail-function', and not the
7424 default function (bug#10897).
7425
ebeabff4
MA
74262012-03-04 Michael Albinus <michael.albinus@gmx.de>
7427
a41a6cf4
MA
7428 * notifications.el (notifications-on-action-signal)
7429 (notifications-on-closed-signal): Check for unique service name of
7430 incoming event. Fix error in removing entry.
ebeabff4 7431 (top): Register for signals with wildcard service name.
a41a6cf4 7432 (notifications-notify): Use daemon unique service name for map entries.
ebeabff4 7433
c1ca42b4
CY
74342012-03-04 Chong Yidong <cyd@gnu.org>
7435
dc9924b8 7436 * cus-start.el: Make x-select-enable-clipboard-manager customizable.
c1ca42b4 7437
ea16568d
GM
74382012-03-04 Glenn Morris <rgm@gnu.org>
7439
7440 * abbrev.el (copy-abbrev-table, abbrev-table-p)
7441 (abbrev-minor-mode-table-alist, define-abbrev, abbrev-insert)
7442 (expand-abbrev, define-abbrev-table): Doc fixes.
7443
fbae4637
LMI
74442012-03-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
7445
7446 * mail/emacsbug.el (report-emacs-bug-hook): Look at the value of
7447 `message-default-send-mail-function' and not `send-mail-function'
7448 when doing the prompting for `sendmail-query-once' before sending
7449 in Message buffers (bug#10897).
7450
a1e7225c
LMI
7451 * net/tls.el (open-tls-stream): Don't set the dont-query-on-exit flag.
7452 This is inconsistent with all the other stream functions, which leave
7453 the setting up to the higher levels (if so wanted) (bug#10931).
7454
56d093a9
AM
74552012-03-02 Alan Mackenzie <acm@muc.de>
7456
7457 Depessimize the handling of very large macros.
7458
7459 * progmodes/cc-engine.el (c-macro-cache, c-macro-cache-start-pos):
7460 (c-macro-cache-syntactic): New variables to implement a one
7461 element macro cache.
7462 (c-invalidate-macro-cache): New function.
7463 (c-beginning-of-macro, c-end-of-macro, c-syntactic-end-of-macro):
7464 Adapt to use the new cache.
7465 (c-state-safe-place): Use better the cache of safe positions.
7466 (c-state-semi-nonlit-pos-cache)
7467 (c-state-semi-nonlit-pos-cache-limit):
7468 New variables for...
7469 (c-state-semi-safe-place): New function. Here, in a macro is "safe".
7470 (c-invalidate-state-cache-1): New stuff for c-state-semi-safe-place.
dbbc2e69
SM
7471 (c-in-literal, c-literal-limits, c-determine-limit-get-base):
7472 Use c-state-semi-safe-place.
56d093a9 7473
dbbc2e69
SM
7474 * progmodes/cc-langs.el (c-get-state-before-change-functions):
7475 Add c-invalidate-macro-cache to the C, C++, Obj entries.
56d093a9 7476
817e5c3d
MA
74772012-03-02 Michael Albinus <michael.albinus@gmx.de>
7478
dbbc2e69
SM
7479 * jka-compr.el (jka-compr-call-process):
7480 Apply `file-accessible-directory-p' only when the default directory is
817e5c3d
MA
7481 not remote.
7482
a032a702
MA
74832012-03-01 Michael Albinus <michael.albinus@gmx.de>
7484
7485 * files.el (file-equal-p): Fix docstring. Avoid unnecessary
7486 access of FILE2, if FILE1 does not exist.
7487
99a54f21
MA
7488 * net/tramp-sh.el (tramp-remote-process-environment): Add "PAGER=\"\"".
7489 Reported by Robert Lupton the Good <rhl@astro.princeton.edu>.
7490
7491 * vc/vc-git.el (vc-git--call): Enable `inhibit-null-byte-detection'.
7492 Add "PAGER=" to `process-environment'.
7493
f6561e1f
MM
74942012-03-01 Michael R. Mauger <mmaug@yahoo.com>
7495
7496 * progmodes/sql.el: Bug fix
7497 (sql-get-login-ext): Save login values in globals.
7498 (sql-get-login): Use new version of `sql-get-login-ext'.
7499 (sql-interactive-mode): Set global `sql-connection' to nil.
7500 (sql-connect): Set global values for connection.
7501 (sql-product-interactive): Save global values as buffer local.
7502
2d44d9cc
LL
75032012-02-29 Leo Liu <sdl.web@gmail.com>
7504
7505 * abbrev.el (define-abbrevs): Reset sys to nil.
7506
96b49301 75072012-02-28 Thierry Volpiatto <thierry.volpiatto@gmail.com>
7508
bf7f9bc5
JB
7509 * files.el (file-equal-p): Rename from `files-equal-p'.
7510 Return nil when one or both files don't exist.
96b49301 7511 (file-subdir-of-p): Now only top directory must exists,
7512 return nil if it doesn't.
bf7f9bc5
JB
7513 (copy-directory): No need to test with `file-subdir-of-p' after
7514 creating dir.
7515 * net/tramp.el (tramp-file-name-for-operation): Rename `files-equal-p'
7516 to `file-equal-p'.
96b49301 7517
44e97401
GM
75182012-02-28 Glenn Morris <rgm@gnu.org>
7519
7520 * shell.el (shell-mode):
7521 * progmodes/vhdl-mode.el (wildcard-to-regexp, file-expand-wildcards):
7522 * play/landmark.el (landmark-font-lock-face-O):
7523 * play/handwrite.el (handwrite):
7524 * play/gomoku.el (gomoku-O):
7525 * net/browse-url.el (browse-url-browser-display):
7526 * international/mule.el (define-charset):
7527 * htmlfontify.el (hfy-etags-cmd, hfy-face-attr-for-class):
7528 * filesets.el (filesets-find-file-delay):
7529 * eshell/em-xtra.el (eshell-xtra):
7530 * eshell/em-unix.el (eshell-grep):
7531 * emulation/viper.el (viper-mode):
7532 * emacs-lisp/regexp-opt.el (regexp-opt-group):
7533 * emacs-lisp/easymenu.el (easy-menu-define):
7534 * calendar/timeclock.el (timeclock-use-display-time):
7535 * bs.el (bs-mode):
7536 * bookmark.el (bookmark-save-flag):
7537 Doc fix (standardize possessive apostrophe usage).
7538
c98c6276
CY
75392012-02-27 Chong Yidong <cyd@gnu.org>
7540
bf7f9bc5
JB
7541 * emulation/viper-cmd.el (viper-intercept-ESC-key):
7542 Fix key-binding lookup for ESC key (Bug#9146).
ecf5f74e 7543
c98c6276
CY
7544 * font-lock.el (font-lock-specified-p): Rename from
7545 font-lock-spec-present. Callers changed.
7546
9c62cd04 75472012-02-27 Daniel Hackney <dan@haxney.org>
8ac9e529 7548
bf7f9bc5
JB
7549 * emacs-lisp/package.el (package-compute-transaction):
7550 Handle holding a package version to t in package-load-list.
8ac9e529 7551
530739c9
MA
75522012-02-26 Michael Albinus <michael.albinus@gmx.de>
7553
7554 * net/tramp.el (tramp-inodes, tramp-devices): Initialize with 0.
7555 (tramp-get-inode, tramp-get-device): Use cached values.
7556
487915d7
AM
75572012-02-26 Alan Mackenzie <acm@muc.de>
7558
7559 Check there is a font-lock specification before doing initial
7560 fontification.
7561
7562 * font-core.el (font-lock-mode): Move the conditional from
7563 :after-hook to font-lock-initial-fontify.
7564 (font-lock-default-function): Move the check for a specification
7565 to font-lock-spec-present.
7566
dc9924b8 7567 * font-lock.el (font-lock-initial-fontify): Call ...
487915d7
AM
7568 (font-lock-spec-present): New function.
7569
4fd96557
JB
75702012-02-26 Jim Blandy <jimb@red-bean.com>
7571
7572 * progmodes/gdb-mi.el (gdb-mi-quote): New function.
7573 (gdb-send): Apply it to the operand of the '-interpreter-exec
7574 console' command, so that we can pass arguments with (say) quotes
7575 in them. Store exact string sent in gdb-debug-log (Bug#10765).
7576
9a4888c0
CY
75772012-02-26 Chong Yidong <cyd@gnu.org>
7578
07498861
CY
7579 * help-fns.el (describe-function-1): Clarify description of
7580 remapping (Bug#10844).
7581
9a4888c0
CY
7582 * files.el (files-equal-p): Doc fix.
7583 (file-subdir-of-p): Doc fix. Convert loop macro to plain Lisp,
7584 and quit the loop once a mismatch is found.
7585
ea8fb88d
JB
75862012-02-25 Juanma Barranquero <lekktu@gmail.com>
7587
7588 * bs.el (bs--show-with-configuration): Don't throw an error
7589 if the window cannot be split; otherwise, subsequent calls to
7590 bs-show fail, restoring a stale window config. (Bug#10882)
7591
525795c1
JD
75922012-02-25 Jan Djärv <jan.h.d@swipnet.se>
7593
7594 * term/ns-win.el (global-map): Bind ns-drag-file to
7595 ns-find-file (Bug#5855, Bug#10050).
7596
f008086f
AS
75972012-02-25 Andreas Schwab <schwab@linux-m68k.org>
7598
7599 * calendar/parse-time.el (parse-time-string): Allow extractor to
7600 return nil.
7601
a3fcfa99
MA
76022012-02-25 Michael Albinus <michael.albinus@gmx.de>
7603
91027d08
JB
7604 * net/tramp.el (tramp-file-name-for-operation):
7605 Add `files-equal-p' and `file-subdir-of-p'.
a3fcfa99
MA
7606
7607 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
91027d08
JB
7608 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
7609 Add COPY-CONTENTS argument.
a3fcfa99 7610
67b0de11
CY
76112012-02-25 Chong Yidong <cyd@gnu.org>
7612
7613 Add custom groups for VC backends, for consistency with vc-bzr.
7614
7615 * vc/vc-arch.el (vc-arch):
7616 * vc/vc-cvs.el (vc-cvs):
7617 * vc/vc-git.el (vc-git):
7618 * vc/vc-hg.el (vc-hg):
7619 * vc/vc-mtn.el (vc-mtn):
7620 * vc/vc-rcs.el (vc-rcs):
7621 * vc/vc-sccs.el (vc-sccs):
7622 * vc/vc-svn.el (vc-svn): New customization group (Bug#10871).
7623 All relevant defcustoms reassigned.
7624
3c9dfce6
CY
76252012-02-25 Chong Yidong <cyd@gnu.org>
7626
1339bf43
CY
7627 * newcomment.el (comment-styles): Add autoload (Bug#10868).
7628
3c9dfce6
CY
7629 * term/x-win.el (x-initialize-window-system): Reduce default for
7630 x-selection-timeout to 5 seconds (Bug#8869).
7631
25b2e303 76322012-02-24 Thierry Volpiatto <thierry.volpiatto@gmail.com>
7633
ec70a47d
GM
7634 * files.el (files-equal-p, file-subdir-of-p): New functions.
7635 (copy-directory): Error when trying to copy a directory on itself.
25b2e303 7636 Add missing copy-contents arg to tramp handler.
ec70a47d
GM
7637 * dired-aux.el (dired-copy-file-recursive): Same.
7638 (dired-create-files): Modify destination when source is equal to
7639 dest when copying files.
53a46cd0 7640 Return also when dest is a subdir of source. (Bug#10489)
25b2e303 7641
914260cd
MA
76422012-02-24 Michael Albinus <michael.albinus@gmx.de>
7643
7644 * net/ange-ftp.el (ange-ftp-parse-netrc): Suppress comment lines.
7645 (Bug#10874)
7646
2cb228f7
AM
76472012-02-23 Alan Mackenzie <acm@muc.de>
7648
7649 * emacs-lisp/easy-mmode.el (define-minor-mode): Add extra
7650 parameter "after-hook:" to allow the expansion to run code after
7651 the execution of the mode hooks.
7652
7653 * font-lock.el (font-lock-initial-fontify): New function extracted
91027d08 7654 from font-lock-mode-internal.
2cb228f7 7655
91027d08 7656 * font-core.el (font-lock-mode): Call font-lock-initial-fontify in
2cb228f7
AM
7657 :after-hook.
7658
8f0fde21
SM
76592012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
7660
3e88618b
SM
7661 * minibuffer.el: Make sure cycling is reset upon edit with icomplete.el.
7662 (completion--cache-all-sorted-completions): New function.
7663 (completion-all-sorted-completions): Use it.
7664 (completion--do-completion, minibuffer-force-complete):
7665 Use it to re-instate the flush hook.
7666
8f0fde21
SM
7667 * icomplete.el (icomplete-completions): Replace last fix with a better
7668 one (bug#10850).
7669
8e911f6f
DG
76702012-02-23 Dmitry Gutov <dgutov@yandex.ru>
7671
7672 * emacs-lisp/lisp.el (beginning-of-defun-raw): Don't call end-of-defun
7673 when it might call us back infinitely (bug#10797).
7674
49fe4321
GM
76752012-02-23 Glenn Morris <rgm@gnu.org>
7676
7677 * minibuffer.el (completion-category-overrides): Doc fix.
7678
b291b572
SM
76792012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
7680
7681 * minibuffer.el (completion-table-with-context): Fix inf-loop.
7682 Reported by Aaron S. Hawley <aaron.s.hawley@gmail.com>.
7683
31a9ef2e
GM
76842012-02-23 Glenn Morris <rgm@gnu.org>
7685
5e6e6794 7686 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case)
31a9ef2e
GM
7687 (authors-obsolete-files-regexps, authors-ignored-files)
7688 (authors-ambiguous-files, authors-renamed-files-alist):
7689 Add more entries.
7690
0bd1e074
JL
76912012-02-23 Juri Linkov <juri@jurta.org>
7692
7693 * isearch.el (isearch-occur): Sync interactive spec with occur's
7694 new feature in `occur-read-primary-args'. Doc fix. (Bug#10705)
7695
b617673c
JL
7696 * replace.el (occur-menu-map): Add menu item for `occur-edit-mode'.
7697
19e9789e
JL
76982012-02-22 Juri Linkov <juri@jurta.org>
7699
7700 * international/mule-cmds.el (read-char-by-name): Use \` and \'.
7701 (ucs-insert): Doc fix. Check for hex digits in the string.
7702 Don't display `nil' in the error message. (Bug#10857)
7703
f41ce09d
AM
77042012-02-22 Alan Mackenzie <acm@muc.de>
7705
7a71b18d 7706 * progmodes/cc-mode.el: Revert change #2012-02-06T22:08:41Z!larsi@gnus.org from 2012-02-06.
f41ce09d 7707
ac2eceee
GM
77082012-02-22 Glenn Morris <rgm@gnu.org>
7709
7710 * ffap.el (ffap-c-path):
7711 * man.el (Man-header-file-path): Handle multiarch. (Bug#10702)
7712
abd1f678
CY
77132012-02-22 Chong Yidong <cyd@gnu.org>
7714
7715 * custom.el (load-theme): Doc fix.
7716
f25aef2e
GM
77172012-02-22 Glenn Morris <rgm@gnu.org>
7718
7719 * dired-x.el (dired-guess-shell-alist-default):
7720 Remove escape sequences from nroff output. (Bug#172)
7721
5f8dc2ca
GM
77222012-02-21 Glenn Morris <rgm@gnu.org>
7723
6ff86ec4
GM
7724 * vc/emerge.el (emerge-defvar-local):
7725 Set `permanent-local' property rather than unused `preserved'.
7726
be3223a3 7727 * textmodes/picture.el (picture-delete-char): New alias.
5f8dc2ca
GM
7728 (picture-mode-map): Use it. (Bug#10860)
7729 (picture-mode): Doc fix.
7730
3fe58f4f
JB
77312012-02-21 Juanma Barranquero <lekktu@gmail.com>
7732
7733 * newcomment.el (uncomment-region-default): Remove unused binding.
7734
f9a998c3
GM
77352012-02-21 Glenn Morris <rgm@gnu.org>
7736
7737 * textmodes/picture.el (picture-motion, picture-motion-reverse)
7738 (picture-self-insert, picture-tab-chars): Doc fix.
7739 (picture-mode-map): Fix C-a, C-e.
7740
c6029348
GM
77412012-02-20 Glenn Morris <rgm@gnu.org>
7742
7743 * emacs-lisp/authors.el (authors-aliases): Add another entry.
7744
ab1ce9d7
LL
77452012-02-20 Leo Liu <sdl.web@gmail.com>
7746
7747 * icomplete.el (icomplete-completions): Check FROM arg before
7748 passing to substring (Bug#10850).
7749
0fd40f89
CY
77502012-02-19 Chong Yidong <cyd@gnu.org>
7751
7752 * comint.el: Require ansi-color.
7753 (comint-output-filter-functions): Add ansi-color-process-output.
7754
7755 * ansi-color.el: Don't set comint-output-filter-functions; it is
7756 now in the initial value defined in comint.el.
7757 (ansi-color-apply-face-function): New variable.
7758 (ansi-color-apply-on-region): Use it.
7759 (ansi-color-apply-overlay-face): New function.
7760
7761 * shell.el (shell): No need to require ansi-color.
7762 (shell-mode): Use ansi-color-apply-face-function to highlight
7763 color escapes using font-lock-face property (Bug#10835).
7764
20af2394
CY
77652012-02-19 Chong Yidong <cyd@gnu.org>
7766
7767 * vc/ediff-init.el (ediff-strip-mode-line-format): Handle non-list
7768 mode-line formats (Bug#10839).
7769
e23a3fbe
GM
77702012-02-18 Glenn Morris <rgm@gnu.org>
7771
b474519e
GM
7772 * mail/rmail.el (rmail-dont-reply-to-names): Mark as obsolete.
7773
7774 * mail/undigest.el (unforward-rmail-message): Doc fix.
7775
e23a3fbe
GM
7776 * saveplace.el (save-place-ignore-files-regexp): Add :version.
7777
57939ff4
EZ
77782012-02-18 Eli Zaretskii <eliz@gnu.org>
7779
7780 * international/characters.el (script-list): Sync with the latest
7781 Unicode Character Database.
7782
0c23686e
AS
77832012-02-18 Andreas Schwab <schwab@linux-m68k.org>
7784
7785 * international/titdic-cnv.el: Remove duplicate coding tag.
7786 * language/cham.el: Likewise.
7787 * language/tai-viet.el: Likewise.
7788
6818b449
GM
77892012-02-18 Glenn Morris <rgm@gnu.org>
7790
7791 * calendar/cal-menu.el (cal-menu-diary-menu, cal-menu-goto-menu):
7792 * calendar/calendar.el (diary-file, diary-bahai-entry-symbol)
7793 (calendar-bahai-all-holidays-flag, calendar-other-dates):
7794 * calendar/diary-lib.el (diary-abbreviated-year-flag):
7795 * calendar/holidays.el (holiday-bahai-holidays)
7796 (calendar-holidays, list-holidays):
7797 Use utf-8 Bahá'í in doc-strings, menus, etc.
7798
0311a3fc
TH
77992012-02-17 Tassilo Horn <tassilo@member.fsf.org>
7800
7801 * saveplace.el (save-place-ignore-files-regexp): New variable
7802 allowing for excluding files from saving their location of point.
7803 The default value matches the temporary commit message editing
7804 files from Git, SVN, Bazaar, and Mercurial.
7805 (save-place-to-alist): Use it.
7806
d209e2fb 78072012-02-17 Lawrence Mitchell <wence@gmx.li>
f1a71c6e 7808 Stefan Monnier <monnier@iro.umontreal.ca>
eb864a71
LM
7809
7810 * newcomment.el (uncomment-region-default): Don't leave extra space
7811 when an arg is provided (bug#8150).
7812
ee0ce425
TZ
78132012-02-17 Teodor Zlatanov <tzz@lifelogs.com>
7814
eb864a71 7815 * net/gnutls.el (gnutls-trustfiles): Fix Cygwin bundle location.
ee0ce425 7816
95ddf442
GM
78172012-02-17 Glenn Morris <rgm@gnu.org>
7818
7819 * net/socks.el: Require network-stream. (Bug#10599)
7820
48dd1e39 78212012-02-17 Kenichi Handa <handa@m17n.org>
c406be43
KH
7822
7823 * international/charprop.el:
7824 * international/uni-name.el:
7825 * international/uni-old-name.el:
7826 * international/uni-comment.el: Regenerate.
7827
d68cd087
GM
78282012-02-16 Glenn Morris <rgm@gnu.org>
7829
7830 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits):
7831 Interactively in calendar buffer, give an error if not on a date.
7832
13932042
GM
78332012-02-15 Glenn Morris <rgm@gnu.org>
7834
7835 * shell.el (shell-delimiter-argument-list):
7836 Revert 2011-02-17 change. (Bug#8027)
7837
c3a70e2b
CY
78382012-02-15 Chong Yidong <cyd@gnu.org>
7839
60236b0d
CY
7840 * minibuffer.el (completion-at-point-functions): Doc fix.
7841
c3a70e2b
CY
7842 * custom.el (defcustom): Doc fix; note use of defvar.
7843
9f26dc24
GM
78442012-02-15 Glenn Morris <rgm@gnu.org>
7845
7846 * mail/smtpmail.el (smtpmail-smtp-user, smtpmail-stream-type):
7847 Doc fixes.
7848
6546b134
GM
78492012-02-14 Glenn Morris <rgm@gnu.org>
7850
7851 * mail/smtpmail.el (smtpmail-query-smtp-server): Give it a doc.
7852
d29b2b4c
LI
78532012-02-14 Lars Ingebrigtsen <larsi@gnus.org>
7854
7855 * mail/smtpmail.el (smtpmail-query-smtp-server): Fix typo in the
7856 way the ports list is computed.
835bdcba
LI
7857 (smtpmail-query-smtp-server): Prompt the user for a port number if
7858 we can't connect to any of the standard ports (bug#10810).
d29b2b4c 7859
08dcdbc9
TZ
78602012-02-14 Teodor Zlatanov <tzz@lifelogs.com>
7861
7862 * net/gnutls.el (gnutls-trustfiles): Add Cygwin location.
7863
2605051a
GM
78642012-02-13 Glenn Morris <rgm@gnu.org>
7865
7866 * minibuffer.el (read-file-name): Doc fix. (Bug#10798)
7867
7ee99f32
TZ
78682012-02-13 Teodor Zlatanov <tzz@lifelogs.com>
7869
7870 * net/gnutls.el (gnutls-trustfiles): New variable.
7871 (gnutls-negotiate): Use it.
7872
5f0af64f
LI
78732012-02-13 Lars Ingebrigtsen <larsi@gnus.org>
7874
7875 * simple.el (mail-user-agent): Mention that `gnus-user-agent' only
7876 does its stuff if Gnus is running.
7877
c14fcc95
AM
78782012-02-13 Alan Mackenzie <acm@muc.de>
7879
7880 Fix a loop in c-set-fl-decl-start.
7881
7a71b18d 7882 * progmodes/cc-engine.el (c-set-fl-decl-start): Add a check that
c14fcc95
AM
7883 c-backward-syntactic-ws actually moves backwards.
7884
142b4d90
LL
78852012-02-13 Leo Liu <sdl.web@gmail.com>
7886
7887 * net/rcirc.el (rcirc-markup-attributes): Move point to the
7888 beginning so that all \C-o chars are removed.
7889
fa9958a6
TZ
78902012-02-12 Teodor Zlatanov <tzz@lifelogs.com>
7891
dc9924b8 7892 * net/gnutls.el (gnutls-algorithm-priority): Add missing :group tag.
fa9958a6 7893
0bc5886a
AM
78942012-02-12 Alan Mackenzie <acm@muc.de>
7895
7896 Fix infinite loop with long macros.
4d6769e1 7897 * progmodes/cc-engine.el (c-state-safe-place): Handle macros properly.
0bc5886a 7898
d4bd55e7
CY
78992012-02-12 Chong Yidong <cyd@gnu.org>
7900
7901 * window.el (display-buffer): Doc fix (Bug#10785).
7902
66f3fe22
GM
79032012-02-12 Glenn Morris <rgm@gnu.org>
7904
bd7da63e
GM
7905 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
7906 (x-disown-selection-internal, x-get-selection-internal):
7907 Sync docs with the xselect.c versions.
7908
66f3fe22
GM
7909 * allout-widgets.el: Add missing license notice.
7910
3e0d2fa7
GM
79112012-02-11 Glenn Morris <rgm@gnu.org>
7912
cfecdf09
GM
7913 * select.el (x-get-selection-internal, x-own-selection-internal)
7914 (x-disown-selection-internal):
7915 * x-dnd.el (x-get-selection-internal): Update declarations.
7916
6d216d7f
GM
7917 * vc/log-view.el (vc-diff-internal): Remove unneeded declaration.
7918
2bed3f04
GM
7919 * window.el (window-sides-slots):
7920 * tool-bar.el (tool-bar-position):
7921 * term/xterm.el (xterm-extra-capabilities):
7922 * ses.el (ses-self-reference-early-detection):
7923 * progmodes/verilog-mode.el (verilog-auto-declare-nettype)
7924 (verilog-auto-wire-type)
7925 (verilog-auto-delete-trailing-whitespace)
7926 (verilog-auto-reset-blocking-in-non, verilog-auto-inst-sort)
7927 (verilog-auto-tieoff-declaration):
7928 * progmodes/sql.el (sql-login-hook, sql-ansi-statement-starters)
7929 (sql-oracle-statement-starters, sql-oracle-scan-on):
7930 * progmodes/prolog.el (prolog-align-comments-flag)
7931 (prolog-indent-mline-comments-flag, prolog-object-end-to-0-flag)
7932 (prolog-left-indent-regexp, prolog-paren-indent-p)
7933 (prolog-paren-indent, prolog-parse-mode, prolog-keywords)
7934 (prolog-types, prolog-mode-specificators)
7935 (prolog-determinism-specificators, prolog-directives)
7936 (prolog-electric-newline-flag, prolog-hungry-delete-key-flag)
7937 (prolog-electric-dot-flag)
7938 (prolog-electric-dot-full-predicate-template)
7939 (prolog-electric-underscore-flag, prolog-electric-tab-flag)
7940 (prolog-electric-if-then-else-flag, prolog-electric-colon-flag)
7941 (prolog-electric-dash-flag, prolog-old-sicstus-keys-flag)
7942 (prolog-program-switches, prolog-prompt-regexp)
7943 (prolog-debug-on-string, prolog-debug-off-string)
7944 (prolog-trace-on-string, prolog-trace-off-string)
7945 (prolog-zip-on-string, prolog-zip-off-string)
7946 (prolog-use-standard-consult-compile-method-flag)
7947 (prolog-use-prolog-tokenizer-flag, prolog-imenu-flag)
7948 (prolog-imenu-max-lines, prolog-info-predicate-index)
7949 (prolog-underscore-wordchar-flag, prolog-use-sicstus-sd)
7950 (prolog-char-quote-workaround):
7951 * progmodes/cc-vars.el (c-defun-tactic):
7952 * net/tramp.el (tramp-encoding-command-interactive)
7953 (tramp-local-end-of-line):
7954 * net/soap-client.el (soap-client):
7955 * net/netrc.el (netrc-file):
7956 * net/gnutls.el (gnutls):
7957 * minibuffer.el (completion-category-overrides)
7958 (completion-cycle-threshold)
7959 (completion-pcm-complete-word-inserts-delimiters):
7960 * man.el (Man-name-local-regexp):
7961 * mail/feedmail.el (feedmail-display-full-frame):
7962 * international/characters.el (glyphless-char-display-control):
7963 * eshell/em-ls.el (eshell-ls-date-format):
7964 * emacs-lisp/cl-indent.el (lisp-lambda-list-keyword-alignment)
7965 (lisp-lambda-list-keyword-parameter-indentation)
7966 (lisp-lambda-list-keyword-parameter-alignment):
7967 * doc-view.el (doc-view-image-width, doc-view-unoconv-program):
7968 * dired-x.el (dired-omit-verbose):
7969 * cus-theme.el (custom-theme-allow-multiple-selections):
7970 * calc/calc.el (calc-highlight-selections-with-faces)
7971 (calc-lu-field-reference, calc-lu-power-reference)
7972 (calc-note-threshold):
7973 * battery.el (battery-mode-line-limit):
7974 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
7975 (archive-7z-update):
7976 * allout.el (allout-prefixed-keybindings)
7977 (allout-unprefixed-keybindings)
7978 (allout-inhibit-auto-fill-on-headline)
7979 (allout-flattened-numbering-abbreviation):
7980 * allout-widgets.el (allout-widgets-auto-activation)
7981 (allout-widgets-icons-dark-subdir)
7982 (allout-widgets-icons-light-subdir, allout-widgets-icon-types)
7983 (allout-widgets-theme-dark-background)
7984 (allout-widgets-theme-light-background)
7985 (allout-widgets-item-image-properties-emacs)
7986 (allout-widgets-item-image-properties-xemacs)
7987 (allout-widgets-run-unit-tests-on-load)
7988 (allout-widgets-time-decoration-activity)
7989 (allout-widgets-hook-error-post-time)
7990 (allout-widgets-track-decoration):
7991 Add missing :version tags to new defcustoms and defgroups.
7992
5fec1b8e
GM
7993 * progmodes/sql.el (sql-ansi-statement-starters)
7994 (sql-oracle-statement-starters): Add custom type.
7995
3e0d2fa7
GM
7996 * progmodes/prolog.el: Remove leading '*' from defcustom docs.
7997 (prolog-system-version): Give it a type.
7998
90b671e2
EZ
79992012-02-11 Eli Zaretskii <eliz@gnu.org>
8000
8001 * term/pc-win.el (x-select-text, x-selection-owner-p)
8002 (x-own-selection-internal, x-disown-selection-internal)
8003 (x-get-selection-internal): Sync doc strings and argument lists
8004 with xselect.c, common-win.el and x-win.el. (Bug#10783)
8005
5eac0c02
LL
80062012-02-11 Leo Liu <sdl.web@gmail.com>
8007
8008 * progmodes/python.el (python-end-of-statement): Fix infinite
8009 loop. (Bug#10788)
8010
f82cb659
GM
80112012-02-10 Glenn Morris <rgm@gnu.org>
8012
8013 * international/mule-cmds.el (unify-8859-on-encoding-mode)
8014 (unify-8859-on-decoding-mode): Properly mark as obsolete.
8015
cc26d239
LI
80162012-02-10 Lars Ingebrigtsen <larsi@gnus.org>
8017
8018 * mail/emacsbug.el (report-emacs-bug-hook): Query the user first
8019 about SMTP before checking the From header.
8020
91027d08 8021 * mail/sendmail.el (sendmail-query-user-about-smtp): Refactor out
cc26d239
LI
8022 into own function for reuse by emacsbug.el.
8023
1be3ca5a
LL
80242012-02-10 Leo Liu <sdl.web@gmail.com>
8025
8026 * subr.el (condition-case-unless-debug): Rename from
8027 condition-case-no-debug. All callers changed.
8028 (with-demoted-errors): Fix caller.
8029
8030 * vc/diff-mode.el (diff-auto-refine-mode, diff-hunk):
8031 * nxml/rng-valid.el (rng-do-some-validation):
8032 * emacs-lisp/package.el (package-refresh-contents)
8033 (package-menu-execute):
8034 * desktop.el (desktop-create-buffer):
91027d08 8035 * font-lock.el (lisp-font-lock-keywords-2): Caller changed.
1be3ca5a 8036
b011fbfe
GM
80372012-02-10 Glenn Morris <rgm@gnu.org>
8038
b2096d72
GM
8039 * textmodes/bibtex.el:
8040 Add missing :version tags for new/changed defcustoms.
8041
b011fbfe
GM
8042 * files.el (remote-file-name-inhibit-cache): Doc fixes.
8043
4c7e65bf
LI
80442012-02-09 Lars Ingebrigtsen <larsi@rusty>
8045
8046 * mail/smtpmail.el (smtpmail-user-mail-address): New function.
8047 (smtpmail-via-smtp): Use it, or fall back on the From address.
8048 (smtpmail-send-it): Ditto.
8049
f3934f6f
SM
80502012-02-09 Stefan Monnier <monnier@iro.umontreal.ca>
8051
8052 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
8053 Don't fallback on byte-compile-defvar. Optimize (defvar foo) away.
8054 (byte-compile-tmp-var): New const.
8055 (byte-compile-defvar): Use it to minimize .elc size.
8056 Just use `defvar' rather than simulate it (bug#10761).
8057
a075a2c5
GM
80582012-02-09 Glenn Morris <rgm@gnu.org>
8059
cf3aa21b
GM
8060 * files.el (rename-uniquely): Doc fix. (Bug#3806)
8061
354998cd
GM
8062 * progmodes/cc-guess.el (c-guess-offset-threshold, c-guess-region-max):
8063 Add :version tags.
8064
dc9924b8
SM
8065 * progmodes/compile.el (compilation-error-screen-columns)
8066 (compilation-first-column, compilation-filter-start): Doc fixes.
83274125 8067
dab3703d
GM
8068 * vc/log-view.el (log-view-toggle-entry-display):
8069 * vc/vc.el (vc-merge, vc-pull): Doc fixes.
8070
3f88cd72
GM
8071 * mail/emacsbug.el (report-emacs-bug-can-use-osx-open)
8072 (report-emacs-bug-can-use-xdg-email):
8073 (report-emacs-bug-insert-to-mailer): Doc fixes.
8074 (report-emacs-bug): Message fix.
8075
d95b247d
GM
8076 * net/browse-url.el (browse-url-can-use-xdg-open)
8077 (browse-url-xdg-open): Doc fixes.
8078
a075a2c5
GM
8079 * electric.el (electric-indent-mode, electric-pair-mode)
8080 (electric-layout-rules, electric-layout-mode): Doc fixes.
8081 (electric-pair-pairs, electric-pair-skip-self): Add :version tags.
8082
ffb6157e
MR
80832012-02-08 Martin Rudalics <rudalics@gmx.at>
8084
8085 * server.el (server-unselect-display): Don't inadvertently kill
8086 the current buffer. (Bug#10729)
8087
e1ac4066
GM
80882012-02-08 Glenn Morris <rgm@gnu.org>
8089
34e8a2da
GM
8090 * progmodes/sql.el (sql-port, sql-connection-alist, sql-list-all)
8091 (sql-list-table): Doc fixes.
8092
b4ac6e8c
GM
8093 * image-mode.el (image-transform-minor-mode-map, image-transform-mode):
8094 Comment out (does nothing).
8095
e1ac4066
GM
8096 * completion.el (dynamic-completion-mode):
8097 * dirtrack.el (dirtrack-debug-mode):
8098 * electric.el (electric-layout-mode):
8099 * epa-mail.el (epa-mail-mode, epa-global-mail-mode):
8100 * face-remap.el (text-scale-mode, buffer-face-mode):
8101 * iimage.el (iimage-mode):
8102 * image-mode.el (image-transform-mode):
8103 * minibuffer.el (completion-in-region-mode):
8104 * scroll-lock.el (scroll-lock-mode):
8105 * simple.el (next-error-follow-minor-mode):
8106 * tar-mode.el (tar-subfile-mode):
8107 * tooltip.el (tooltip-mode):
8108 * vcursor.el (vcursor-use-vcursor-map):
8109 * wid-browse.el (widget-minor-mode):
8110 * emulation/tpu-edt.el (tpu-edt-mode):
8111 * emulation/tpu-extras.el (tpu-cursor-free-mode):
8112 * international/iso-ascii.el (iso-ascii-mode):
8113 * language/thai-util.el (thai-word-mode):
8114 * mail/supercite.el (sc-minor-mode):
8115 * net/goto-addr.el (goto-address-mode):
8116 * net/rcirc.el (rcirc-multiline-minor-mode, rcirc-track-minor-mode):
8117 * progmodes/cwarn.el (cwarn-mode):
8118 * progmodes/flymake.el (flymake-mode):
8119 * progmodes/glasses.el (glasses-mode):
8120 * progmodes/hideshow.el (hs-minor-mode):
8121 * progmodes/pascal.el (pascal-outline-mode):
8122 * textmodes/enriched.el (enriched-mode):
8123 * vc/smerge-mode.el (smerge-mode):
8124 Doc fixes (minor mode argument).
8125
5e0d957f
EZ
81262012-02-07 Eli Zaretskii <eliz@gnu.org>
8127
8128 * ls-lisp.el (ls-lisp-sanitize): New function.
8129 (ls-lisp-insert-directory): Use it to fix or remove any elements
8130 in file-alist with missing attributes. (Bug#4673)
8131
98d7371e
AM
81322012-02-07 Alan Mackenzie <acm@muc.de>
8133
8134 Fix spurious recognition of c-in-knr-argdecl.
8135
8136 * progmodes/cc-engine.el (c-in-knr-argdecl): Check for '=' in a
8137 putative K&R region.
8138
667ced3a
AM
81392012-02-07 Alan Mackenzie <acm@muc.de>
8140
eb864a71
LM
8141 * progmodes/cc-engine.el (c-forward-objc-directive):
8142 Prevent looping in "#pragma mark @implementation".
667ced3a 8143
5b77774d
MA
81442012-02-07 Michael Albinus <michael.albinus@gmx.de>
8145
8146 * notifications.el (notifications-on-closed-signal): Make `reason'
8147 optional. (Bug#10744)
8148
af008560
GM
81492012-02-07 Glenn Morris <rgm@gnu.org>
8150
60d47423
GM
8151 * emacs-lisp/easy-mmode.el (define-minor-mode):
8152 Doc fixes for the macro and the mode it defines.
8153
dd605cc4
GM
8154 * image.el (imagemagick-types-inhibit): Doc fix.
8155
af008560
GM
8156 * cus-start.el (imagemagick-render-type): Add it.
8157
5cc59a37
LI
81582012-02-06 Lars Ingebrigtsen <larsi@gnus.org>
8159
4d6769e1
JB
8160 * progmodes/cc-mode.el (c-standard-font-lock-fontify-region-function):
8161 Set the default at load time, too, so that `font-lock-fontify-buffer'
8162 can be called without setting up the entire mode first. This fixes
8163 a bug in `mm-inline-text' with C MIME parts.
5cc59a37 8164
9a6dd747
CY
81652012-02-06 Chong Yidong <cyd@gnu.org>
8166
2d16b285
CY
8167 * simple.el (list-processes--refresh): Delete exited processes
8168 (Bug#8094).
8169
171e9b6e
CY
8170 * comint.el (comint-next-prompt): next-single-char-property-change
8171 and prev-single-char-property-change never return nil (Bug#8657).
8172
9a6dd747
CY
8173 * custom.el (defcustom): Doc fix (Bug#9711).
8174
aa4589a7
CY
81752012-02-05 Chong Yidong <cyd@gnu.org>
8176
5c2a252f
CY
8177 * cus-edit.el (custom-variable-reset-backup): Quote the value
8178 before storing it in the customized-value property (Bug#6712).
4aab9006 8179 (custom-display): Add a customization type tag.
983b9602 8180 (custom-buffer-create-internal): Improve tooltip message.
5c2a252f 8181
aa4589a7
CY
8182 * wid-edit.el (widget-field-value-get): New optional arg to
8183 suppress trailing whitespace truncation.
8184 (character): Use it (Bug#2689).
8185
1ff980ae
AS
81862012-02-05 Andreas Schwab <schwab@linux-m68k.org>
8187
8188 * progmodes/gud.el (gud-pv): Use pv instead of pv1.
8189 * progmodes/gdb-mi.el (gud-pp): Use pp instead of pp1.
8190
03988c98
CY
81912012-02-05 Chong Yidong <cyd@gnu.org>
8192
eeb6cc88
CY
8193 * cus-edit.el (custom-variable-value-create): For mismatched
8194 types, show the current value (Bug#7600).
8195
03988c98
CY
8196 * custom.el (defcustom): Doc fix.
8197
f8cdeef0
GM
81982012-02-05 Glenn Morris <rgm@gnu.org>
8199
8200 * font-lock.el (lisp-font-lock-keywords-2): Add with-wrapper-hook.
8201
0696d255
JB
82022012-02-05 Juanma Barranquero <lekktu@gmail.com>
8203
8204 * emacs-lisp/pp.el (pp-to-string): Use `with-temp-buffer'.
8205 (pp-buffer): Use `ignore-errors', `looking-at-p'.
8206 (pp-last-sexp): Use `looking-at-p'.
8207
34c99998
GM
82082012-02-04 Glenn Morris <rgm@gnu.org>
8209
8f05da42
GM
8210 * files.el (revert-buffer):
8211 Doc fix (mention revert-buffer-in-progress-p).
8212
f160676e
GM
8213 * emacs-lisp/ert-x.el (ert-simulate-command):
8214 Check deferred-action-list (which is obsolete) is bound.
8215
c7291ad9
GM
8216 * subr.el (with-wrapper-hook): Doc fixes.
8217
34c99998
GM
8218 * simple.el (filter-buffer-substring-functions)
8219 (buffer-substring-filters, filter-buffer-substring): Doc fixes.
8220
6283a7d3
LL
82212012-02-04 Lars Ljung <lars@matholka.se> (tiny change)
8222
8223 * eshell/esh-ext.el (eshell-windows-shell-file): Match "cmdproxy"
8224 anywhere in shell-file-name, not just at the beginning. (Bug#10523)
8225
e96e3013
LL
82262012-02-04 Leo Liu <sdl.web@gmail.com>
8227
8228 * emacs-lisp/smie.el: Fix dead link (Bug#10711).
8229
8ded50f2
GM
82302012-02-04 Glenn Morris <rgm@gnu.org>
8231
82ff1d13
GM
8232 * image.el (image-extension-data): Add obsolete alias.
8233
987a0a16
GM
8234 * isearch.el (isearch-update): Doc fix.
8235
ea32ef46
GM
8236 * facemenu.el (list-colors-display): Doc fix (minor rephrasing).
8237
8ded50f2
GM
8238 * ido.el (ido-find-file): Doc fix (ido-toggle-vc not on any key).
8239
eea14f31
GM
82402012-02-03 Glenn Morris <rgm@gnu.org>
8241
8242 * image.el (image-animated-p): Doc fix. Use image-animated-types.
8243 (image-animate-timeout): Doc fix.
8244
8245 * image-mode.el (image-animate-loop, image-toggle-animation): Doc fixes.
8246
12f381b7
GM
82472012-02-02 Glenn Morris <rgm@gnu.org>
8248
953cebf5
GM
8249 * server.el (server-auth-dir): Doc fix.
8250 (server-eval-at): Doc fix. Give an explicit error if !server-use-tcp.
8251
12f381b7
GM
8252 * subr.el (run-mode-hooks): Doc fix.
8253
953a8c3b
JL
82542012-02-02 Juri Linkov <juri@jurta.org>
8255
8256 * image-mode.el (image-toggle-display-image): Remove tautological
8257 `major-mode' from the `derived-mode-p' test.
8258
c5d3843c
KH
82592012-02-02 Kenichi Handa <handa@m17n.org>
8260
9f6e692e 8261 * composite.el (compose-region): Cancel previous change.
c5d3843c 8262
159462d4 82632012-02-02 Kenichi Handa <handa@m17n.org>
d2a51fd7
KH
8264
8265 * composite.el (compose-region, compose-string): Signal error for
8266 a null string component (Bug#6988).
8267
9f562668
CY
82682012-02-01 Chong Yidong <cyd@gnu.org>
8269
e2cef717
CY
8270 * view.el (view-buffer-other-window, view-buffer-other-frame):
8271 Handle special modes like view-buffer (Bug#10650).
8272 (view-buffer): Simplify.
8273
9f562668
CY
8274 * frame.el (set-frame-font): Tweak meaning of third argument.
8275
9f6e692e
JB
8276 * dynamic-setting.el (font-setting-change-default-font):
8277 Use set-frame-font (Bug#9982).
9f562668 8278
781acb9f
GM
82792012-02-01 Glenn Morris <rgm@gnu.org>
8280
6035be52
GM
8281 * progmodes/compile.el (compilation-internal-error-properties):
8282 Respect compilation-first-column in the "*compilation*" buffer.
8283
781acb9f
GM
8284 * emacs-lisp/easy-mmode.el (define-minor-mode):
8285 Relax :variable's test for a named function.
8286
abbceb00
AM
82872012-01-31 Alan Mackenzie <acm@muc.de>
8288
8289 * progmodes/cc-engine.el (c-guess-basic-syntax): CASE 5B.1: Fix an
8290 off by one error.
8291
fce3fdeb
CY
82922012-01-31 Chong Yidong <cyd@gnu.org>
8293
8294 * frame.el (set-frame-font): New arg ALL-FRAMES.
8295
8296 * menu-bar.el (menu-set-font): Use set-frame-font.
8297
8298 * faces.el (face-spec-reset-face): Don't apply unspecified
8299 attribute values to the default face.
8300
47893581
JB
83012012-01-31 Juanma Barranquero <lekktu@gmail.com>
8302
8303 * progmodes/cwarn.el (cwarn): Remove dead link.
8304 (cwarn-configuration, cwarn-verbose, cwarn-mode-text, cwarn-load-hook):
8305 Remove * from defcustom docstrings.
8306 (turn-on-cwarn-mode): Make obsolete.
8307 (c-at-toplevel-p): Remove compatibility code for Emacs 20.3 and older.
8308 (turn-on-cwarn-mode-if-enabled): Call `cwarn-mode'.
8309
e58e988a
GM
83102012-01-31 Glenn Morris <rgm@gnu.org>
8311
60dc2671 8312 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
6c9b47ae 8313 Fix :variable handling of mode a symbol not equal to modefun.
60dc2671 8314 Allow named functions to be used as the cdr of :variable.
e58e988a 8315
7a3f511d
GM
83162012-01-30 Glenn Morris <rgm@gnu.org>
8317
8318 * emacs-lisp/authors.el (authors-fixed-entries):
8319 Remove reference to deleted file rnewspost.el.
8320
cb882333
JB
83212012-01-29 Juanma Barranquero <lekktu@gmail.com>
8322
8323 * window.el (window-with-parameter): Remove unused variable `windows'.
8324 (window--side-check): Remove unused variable `code'.
8325 (window--resize-siblings): Remove unused variable `first'.
8326 (adjust-window-trailing-edge): Remove unused variable `failed'.
8327 (window-deletable-p, window--delete): Remove unused variable `buffer'.
8328 Use `let', not `let*'.
8329 (balance-windows-2): Remove unused variable `found'.
8330 (window--state-put-2): Remove unused variable `splits'.
8331 (window-state-put): Remove unused variable `selected'.
8332 (same-window-p): Use `string-match-p'.
8333 (display-buffer-assq-regexp): Remove unused variable `value'.
8334 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
8335 Mark argument ALIST as ignored.
8336 (pop-to-buffer): Remove unused variable `old-window'.
8337
907201af
EZ
83382012-01-29 Eli Zaretskii <eliz@gnu.org>
8339
8340 * jka-cmpr-hook.el (jka-compr-compression-info-list): Support .lz
8341 and .lzma compressed files.
8342
ea162670
CY
83432012-01-29 Chong Yidong <cyd@gnu.org>
8344
5b95ee8a
CY
8345 * frame.el (window-system-default-frame-alist): Doc fix.
8346
ea162670
CY
8347 * dynamic-setting.el (font-setting-change-default-font): Don't
8348 change the default face if SET-FONT argument is non-nil (Bug#9982).
8349
d6e6f4b1
SB
83502012-01-29 Samuel Bronson <naesten@gmail.com> (tiny change)
8351
8352 * custom.el (defcustom): Add doc link to Lisp manual (Bug#10635).
8353
0f29fa41 83542012-01-29 Syver Enstad <syver.enstad@cisco.com> (tiny change)
6b25e4e2
SE
8355
8356 * progmodes/gud.el (pdb): Give pdb full paths, to allow setting
8357 breakpoints in files outside current directory (Bug#6098).
8358
db174434
CY
83592012-01-29 Chong Yidong <cyd@gnu.org>
8360
6b25e4e2
SE
8361 * progmodes/python.el: Require ansi-color at top-level.
8362
6df6ae42
JB
8363 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-abbrev-table):
8364 Define and use in Emacs Lisp mode (Bug#9360).
db174434
CY
8365 (lisp-mode-abbrev-table): Add doc.
8366 (lisp-mode-variables): Don't set local-abbrev-table.
8367 (lisp-interaction-mode): Use emacs-lisp-mode-abbrev-table.
8368
e70ee681
RW
83692012-01-28 Roland Winkler <winkler@gnu.org>
8370
8371 * textmodes/bibtex.el (bibtex-vec-incr): Fix docstring.
8372
ace88aa2
RW
83732012-01-28 Roland Winkler <winkler@gnu.org>
8374
8375 * textmodes/bibtex.el (bibtex-entry-alist): New function.
8376 (bibtex-set-dialect): Use it. Either set global values of
8377 dialect-dependent variables or bind these variables buffer-locally
8378 (Bug#10254).
8379 (bibtex-mode): Call bibtex-set-dialect via
8380 hack-local-variables-hook.
eb864a71
LM
8381 (bibtex-dialect): Update docstring.
8382 Add safe-local-variable predicate.
ace88aa2
RW
8383 (bibtex-entry-alist, bibtex-field-alist): Initialize via
8384 bibtex-set-dialect.
8385 (bibtex-mode-map): Define menu for each dialect.
8386 (bibtex-entry): Fix docstring.
8387
93376c5b
CY
83882012-01-28 Chong Yidong <cyd@gnu.org>
8389
8390 * eshell/esh-arg.el (eshell-quote-argument): New function.
8391
8392 * eshell/esh-ext.el (eshell-invoke-batch-file):
8393 * eshell/em-unix.el (eshell/cat, eshell/du): Use it to quote the
8394 first arg to eshell-parse-command (Bug#10523).
8395
4372494f
DA
83962012-01-28 Drew Adams <drew.adams@oracle.com>
8397
8398 * net/ange-ftp.el (ange-ftp-canonize-filename): Check, that
8399 `default-directory' is non-nil.
8400
4d4ec1f8
EZ
84012012-01-28 Eli Zaretskii <eliz@gnu.org>
8402
8403 * mail/emacsbug.el (report-emacs-bug): Fill the potentially long
8404 line that displays system-configuration-options. (Bug#9924)
8405
7c188927
DA
84062012-01-28 Drew Adams <drew.adams@oracle.com>
8407
8408 * descr-text.el (describe-char): Show information about POS, in
8409 addition to information about the character at POS. Improve and
8410 update the doc string. Change "code point" to "code point in
8411 charset", to avoid confusion with the character's Unicode code
8412 point shown above that. (Bug#10129)
8413
e0da685a
EZ
84142012-01-28 Eli Zaretskii <eliz@gnu.org>
8415
8416 * descr-text.el (describe-char): Show the raw character, not only
8417 its display form at POS. Suggested by Kenichi Handa <handa@m17n.org>.
8418 See http://lists.gnu.org/archive/html/emacs-devel/2012-01/msg00760.html
8419 for the reasons.
8420
70550acf
PH
84212012-01-28 Phil Hagelberg <phil@hagelb.org>
8422
eb864a71
LM
8423 * emacs-lisp/package.el (package-install):
8424 Run package-refresh-contents if there is no archive yet (Bug#9798).
70550acf 8425
0ce8e868
CY
84262012-01-28 Chong Yidong <cyd@gnu.org>
8427
cb882333
JB
8428 * emacs-lisp/package.el (package-maybe-load-descriptor):
8429 New function, split from package-maybe-load-descriptor.
0ce8e868
CY
8430 (package-maybe-load-descriptor): Use it.
8431 (package-download-transaction): Fully load required packages
8432 inside the loop, so that `require' calls work (Bug#10593).
8433 (package-install): No need to call package-initialize now.
8434
2e7f3bea
CY
84352012-01-28 Chong Yidong <cyd@gnu.org>
8436
6e9bad14
CY
8437 * simple.el (deactivate-mark): Doc fix (Bug#8614).
8438
f823b8ca
CY
8439 * tooltip.el (tooltip-mode): Doc fix.
8440 (tooltip-use-echo-area): Mark as obsolete (Bug#6595).
8441
2680c309
CY
8442 * frame.el (set-cursor-color): Doc fix (Bug#352).
8443
d7a9e63b
CY
8444 * mail/rmail.el (rmail-start-mail): Add send-action again (Bug#10625).
8445 (rmail-mail-return): Switch to NEWBUF only if it is non-nil.
8446
2e7f3bea
CY
8447 * cus-edit.el (custom-buffer-create-internal): Fix search button
8448 action (Bug#10542).
2ae01800 8449 (customize-unsaved, customize-saved): Doc fix (Bug#10541).
2e7f3bea 8450
fc4f7a23
EW
84512012-01-27 Eduard Wiebe <usenet@pusto.de>
8452
8453 * dired.el (dired-mark-files-regexp):
8454 Include any subdirectory components. (Bug#10445)
8455
7dd37071
ML
84562012-01-27 Mike Lamb <mrlamb@gmail.com> (tiny change)
8457
8458 * pcmpl-unix.el (pcmpl-ssh-known-hosts):
8459 Handle [host]:port syntax. (Bug#10533)
8460
a268160b
AH
84612012-01-27 Alex Harsanyi <harsanyi@mac.com>
8462
8463 * xml.el (xml-parse-tag): Fix parsing of comments (Bug#10405).
8464
e43273ef
GM
84652012-01-26 Glenn Morris <rgm@gnu.org>
8466
8467 * dired-x.el (dired-bind-jump): Use ctl-x-map and ctl-x-4-map.
8468 * term.el (term-raw-escape-map): Use Control-X-prefix.
8469 * vc/vc-hooks.el (vc-prefix-map): Use ctl-x-map. (Bug#10566)
8470
1edf595d
MR
84712012-01-25 Martin Rudalics <rudalics@gmx.at>
8472
8473 * window.el (window-state-get, window--state-get-1): Don't deal
8474 with fixed-sizeness of windows. Simplify code.
8475
fa8eafef
JC
84762012-01-25 Jérémy Compostella <jeremy.compostella@gmail.com>
8477
6df6ae42
JB
8478 * window.el (window--state-get-1, window--state-put-2):
8479 Don't save and restore the mark.
fa8eafef 8480
0b21c100
CY
84812012-01-25 Chong Yidong <cyd@gnu.org>
8482
8483 * custom.el (custom-variable-p): Doc fix.
8484
5ae1a6c8
GM
84852012-01-25 Glenn Morris <rgm@gnu.org>
8486
40047858
GM
8487 * dired.el (dired-goto-file): Handle some of the more common
8488 characters that `ls -b' escapes. (Bug#10596)
8489
5ddce96c
GM
8490 * progmodes/compile.el (compilation-next-error-function):
8491 Respect compilation-first-column in the "*compilation*" buffer.
8492 * progmodes/grep.el (grep-first-column): New variable. (Bug#10594)
8493
5ae1a6c8
GM
8494 * vc/vc.el (vc-modify-change-comment): Scoping fix. (Bug#10513)
8495
b559f1a9
GM
84962012-01-24 Glenn Morris <rgm@gnu.org>
8497
8498 * pcmpl-gnu.el (pcomplete/tar): Handle " - ". (Bug#10457)
8499
6725d21a
JD
85002012-01-24 Julien Danjou <julien@danjou.info>
8501
8502 * color.el (color-rgb-to-hsl): Fix value computing.
8503 (color-hue-to-rgb): New function.
8504 (color-hsl-to-rgb): New function.
8505 (color-clamp, color-saturate-hsl, color-saturate-name)
8506 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
8507 (color-lighten-name, color-darken-hsl, color-darken-name): New function.
8508
70df4bbe
GM
85092012-01-24 Glenn Morris <rgm@gnu.org>
8510
8511 * vc/vc-rcs.el (vc-rcs-create-tag):
8512 * vc/vc-sccs.el (vc-sccs-create-tag):
8513 Fix argument spec to be what vc-create-tag expects. (Bug#10515)
8514
802a2ae2
ML
85152012-01-23 Mike Lamb <mrlamb@gmail.com> (tiny change)
8516
8517 * eshell/esh-util.el (eshell-read-hosts-file):
8518 Skip comment lines. (Bug#10549)
8519
d7128bb1
ML
8520 * eshell/em-unix.el (pcomplete/ssh): Remove. (Bug#10548)
8521
d1a5c3b4
JB
85222012-01-23 Juanma Barranquero <lekktu@gmail.com>
8523
2724d9c7
JB
8524 * subr.el (display-delayed-warnings): Doc fix.
8525 (collapse-delayed-warnings): New function to collapse identical
8526 adjacent warnings.
8527 (delayed-warnings-hook): Add it.
d1a5c3b4 8528
a5509865
MA
85292012-01-22 Michael Albinus <michael.albinus@gmx.de>
8530
8531 * net/tramp.el (tramp-action-login): Set connection property "login-as".
8532
a5509865
MA
8533 * net/tramp-sh.el (tramp-methods): Add user spec to "pscp" and "psftp".
8534 (tramp-default-user-alist): Don't add "pscp".
8535 (tramp-do-copy-or-rename-file-out-of-band): Use connection
8536 property "login-as", if set. (Bug#10530)
8537
cc6d5805
MA
85382012-01-21 Michael Albinus <michael.albinus@gmx.de>
8539
8540 * net/tramp-sh.el (tramp-default-user-alist): Don't add "plink",
8541 "plink1" and "psftp". (Bug#10530)
8542
85432012-01-21 Kenichi Handa <handa@m17n.org>
71784361
KH
8544
8545 * international/mule-cmds.el (prefer-coding-system): Show a
8546 warning message if the default value of file-name-coding-system
8547 was not changed.
8548
f0960428
JC
85492012-01-21 Jérémy Compostella <jeremy.compostella@gmail.com>
8550
cb882333
JB
8551 * windmove.el (windmove-reference-loc):
8552 Fix windmove-reference-loc miscalculation.
f0960428 8553
dd6f2a63
JB
85542012-01-21 Jay Belanger <jay.p.belanger@gmail.com>
8555
8556 * calc/calc-units.el (math-put-default-units): Don't use "1" as a
8557 default unit.
8558
7b447e9b
GM
85592012-01-21 Glenn Morris <rgm@gnu.org>
8560
117a9ea1
GM
8561 * international/mule.el (auto-coding-alist): Add .tbz.
8562
7b447e9b
GM
8563 * files.el (local-enable-local-variables): Doc fix.
8564 (inhibit-local-variables-regexps): Rename from
8565 inhibit-first-line-modes-regexps. Keep old name as obsolete alias.
8566 Doc fix. Add some extensions from auto-coding-alist.
8567 (inhibit-local-variables-suffixes):
8568 Rename from inhibit-first-line-modes-suffixes. Doc fix.
8569 (inhibit-local-variables-p):
8570 New function, extracted from set-auto-mode-1.
8571 (set-auto-mode): Doc fix. Respect inhibit-local-variables-regexps.
8572 (set-auto-mode-1): Doc fix. Use inhibit-local-variables-p.
8573 (hack-local-variables): Doc fix. Make the mode-only case
8574 respect enable-local-variables and friends.
8575 Respect inhibit-local-variables-regexps for file-locals, but
8576 not for directory-locals.
8577 (set-visited-file-name):
8578 Take account of inhibit-local-variables-regexps.
8579 Whether it applies may change as the file name is changed.
8580 * jka-cmpr-hook.el (jka-compr-install):
8581 * jka-compr.el (jka-compr-uninstall):
8582 Update for inhibit-first-line-modes-suffixes name change.
8583
dd6e3cdd
MR
85842012-01-20 Martin Rudalics <rudalics@gmx.at>
8585
8586 * help-macro.el (make-help-screen): Temporarily restore original
8587 binding for minor-mode-map-alist (Bug#10454).
8588
0d0deb38
JD
85892012-01-19 Julien Danjou <julien@danjou.info>
8590
8591 * color.el (color-name-to-rgb): Use the white color to find the max
8592 color component value and return correctly computed values.
8593 (color-name-to-rgb): Add missing float conversion for max value.
8594
34a02f46
MR
85952012-01-19 Martin Rudalics <rudalics@gmx.at>
8596
8597 * window.el (window--state-get-1, window-state-get): Do not use
eb864a71
LM
8598 special state value for window-persistent-parameters.
8599 Rename argument IGNORE to WRITABLE. Rewrite doc-string.
34a02f46
MR
8600 (window--state-put-2): Reset all window parameters to nil before
8601 assigning values of persistent parameters.
8602
606c44c4
AM
86032012-01-18 Alan Mackenzie <acm@muc.de>
8604
8605 Eliminate sluggishness and hangs in fontification of "semicolon
8606 deserts".
8607
cb882333
JB
8608 * progmodes/cc-engine.el (c-state-nonlit-pos-interval):
8609 Change value 10000 -> 3000.
606c44c4
AM
8610 (c-state-safe-place): Reformulate so it doesn't stack up an
8611 infinite number of wrong entries in c-state-nonlit-pos-cache.
8612 (c-determine-limit-get-base, c-determine-limit): New functions to
8613 determine backward search limits disregarding literals.
8614 (c-find-decl-spots): Amend commenting.
8615 (c-cheap-inside-bracelist-p): New function which detects "={".
8616
8617 * progmodes/cc-fonts.el
8618 (c-make-font-lock-BO-decl-search-function): Give a limit to a
8619 backward search.
8620 (c-font-lock-declarations): Fix an occurrence of point being
8621 undefined. Check additionally for point being in a bracelist or
8622 near a macro invocation without a semicolon so as to avoid a
8623 fruitless time consuming search for a declarator. Give a more
8624 precise search limit for declarators using the new
8625 c-determine-limit.
8626
f3860cea
GM
86272012-01-18 Glenn Morris <rgm@gnu.org>
8628
8629 * files.el (auto-mode-alist, inhibit-first-line-modes-regexps)
8630 (set-auto-mode): Doc fixes.
8631
1db03b16
GM
86322012-01-17 Glenn Morris <rgm@gnu.org>
8633
0e6038be
GM
8634 * isearch.el (search-nonincremental-instead): Fix doc typo.
8635
1db03b16
GM
8636 * dired.el (dired-insert-directory): Handle newlines in directory name.
8637 (dired-build-subdir-alist): Unescape newlines in directory name.
8638
4cb0aa75
MA
86392012-01-17 Michael Albinus <michael.albinus@gmx.de>
8640
8641 * net/tramp.el (tramp-local-end-of-line): New defcustom.
8642 (tramp-action-login, tramp-action-yesno, tramp-action-yn)
8643 (tramp-action-terminal): Use it. (Bug#10530)
8644
1d00653d
SM
86452012-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
8646
8647 * minibuffer.el (completion--replace): Strip properties (bug#10062).
8648
6a6ee00d
MR
86492012-01-16 Martin Rudalics <rudalics@gmx.at>
8650
8651 * window.el (window-state-ignored-parameters): Remove variable.
8652 (window--state-get-1): Rename argument MARKERS to IGNORE.
8653 Handle persistent window parameters. Make copy of clone-of
8654 parameter only if requested. (Bug#10348)
8655 (window--state-put-2): Install a window parameter only if it has
8656 a non-nil value or an existing parameter shall be overwritten.
8657
97912def
MA
86582012-01-15 Michael Albinus <michael.albinus@gmx.de>
8659
8660 * net/tramp-sh.el (tramp-remote-path): Set tramp-autoload cookie.
8661
688070a5
EZ
86622012-01-14 Eli Zaretskii <eliz@gnu.org>
8663
8664 * info.el (Info-toc-build): If the Info file has no "Up" pointer,
8665 don't pass the (nil) value of `upnode' to string-match.
8666
301afadc
CY
86672012-01-14 Chong Yidong <cyd@gnu.org>
8668
8669 * startup.el (command-line): Fix X resource class for cursorColor.
04877ddb 8670 Fix values recognized by the cursorBlink resource.
301afadc 8671
9e5788aa
PE
86722012-01-14 Paul Eggert <eggert@cs.ucla.edu>
8673
8674 * epg.el (epg--make-temp-file): Avoid permission race condition
8675 when running on old Emacs versions (bug#10403).
8676
3cdb7f5a
GM
86772012-01-14 Glenn Morris <rgm@gnu.org>
8678
8679 * dired.el (dired-get-filename): Fix 'verbatim case of previous change.
8680
8c82b1b4
AM
86812012-01-13 Alan Mackenzie <acm@muc.de>
8682
8683 Fix filling for when filladapt mode is enabled.
8684
8685 * progmodes/cc-cmds.el (c-fill-paragraph): In the invocation of
8686 c-mask-paragraph, pass in `fill-paragraph' rather than
8687 `fill-region-as-paragraph'. (This is a reversion of a previous
8688 change.)
eb864a71
LM
8689 * progmodes/cc-mode.el (c-basic-common-init):
8690 Make fill-paragraph-handle-comment buffer local and set it to nil.
8c82b1b4 8691
e517eda4
GM
86922012-01-13 Glenn Morris <rgm@gnu.org>
8693
1498536e
GM
8694 * dired.el (dired-switches-escape-p): New function.
8695 (dired-insert-directory): Use dired-switches-escape-p.
8696 (dired-get-filename): Undo "\ " quoting if needed. (Bug#10469)
8697
e517eda4
GM
8698 * find-dired.el (find-ls-option): Doc fix. (Bug#10262)
8699
328f984d
GM
87002012-01-12 Glenn Morris <rgm@gnu.org>
8701
8702 * mail/sendmail.el (mail-mode): Update paragraph-separate for
8703 changes in adaptive-fill-regexp. (Bug#10276)
8704
2cc769a8
AM
87052012-01-11 Alan Mackenzie <acm@muc.de>
8706
8707 Fix Emacs bug #10463 - put `widen's around the critical spots.
8708
1d00653d 8709 * progmodes/cc-engine.el (c-in-literal, c-literal-limits): Put a
2cc769a8
AM
8710 widen around each invocation of c-state-pp-to-literal. Remove an
8711 unused let variable.
8712
e52c37fa
GM
87132012-01-11 Glenn Morris <rgm@gnu.org>
8714
8715 * dired-aux.el (dired-do-shell-command): Fix */? logic. (Bug#6561)
09044622 8716 Doc fix.
e52c37fa 8717
96f8741e
CY
87182012-01-10 Chong Yidong <cyd@gnu.org>
8719
1d00653d
SM
8720 * net/network-stream.el (network-stream-open-starttls):
8721 Avoid emitting a confusing error message when the server gives a bad
96f8741e
CY
8722 response to the capability command.
8723
b09a806e
GM
87242012-01-10 Glenn Morris <rgm@gnu.org>
8725
8726 * mail/unrmail.el (unrmail): Tweak previous change.
8727
7655cb66
CY
87282012-01-09 Chong Yidong <cyd@gnu.org>
8729
8730 * custom.el (custom-safe-themes): Use SHA-256 for hashing.
8731
9d5a8f0b
AM
87322012-01-08 Alan Mackenzie <acm@muc.de>
8733
8734 Optimise font locking in long enum definitions.
8735
8736 * progmodes/cc-fonts.el (c-font-lock-declarations): Add an extra
8737 arm to a cond form to handle enums.
8738 * progmodes/cc-langs.el (c-enums-contain-decls): New lang variable.
8739 * progmodes/cc-mode.el (c-font-lock-fontify-region): Correct a typo.
8740
9a0115ab 87412012-01-07 Paul Eggert <eggert@cs.ucla.edu>
6bb72cbd
PE
8742
8743 * files.el (move-file-to-trash): Preserve default file modes on error.
a0562b3d 8744 (Bug#10401)
6bb72cbd 8745
f186bb95
LMI
87462012-01-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
8747
29232a68
LMI
8748 * faces.el (set-face-attribute): Clarify the meaning of the nil
8749 frame (bug#10294).
8750
4e5d086d
LMI
8751 * subr.el (with-selected-frame): Mention that the selected frame
8752 is restored (bug#9980).
8753
8e66aebe
LMI
8754 * ibuffer.el (ibuffer-mode): List the bindings in the corrent map
8755 (bug#9759).
8756
cd394be1 8757 * mail/smtpmail.el (password-cache-add): Remove unused declaration.
f186bb95
LMI
8758 (password-read): Don't autoload unused function.
8759
adf4e762
JB
87602012-01-07 Juanma Barranquero <lekktu@gmail.com>
8761
8762 * progmodes/which-func.el (which-func-mode): Turn into a
8763 non-interactive function and mark as obsolete (bug#10428).
8764
89bd9ccd
CY
87652012-01-06 Chong Yidong <cyd@gnu.org>
8766
8767 * files.el (hack-dir-local-variables-non-file-buffer): Add doc.
8768 (hack-one-local-variable-eval-safep): Allow 0 arg for minor mode
8769 functions, along with 1 and -1.
8770
4afee9d5
EZ
87712012-01-06 Eli Zaretskii <eliz@gnu.org>
8772
8773 * time.el (display-time-load-average)
8774 (display-time-default-load-average): Doc fixes. See the thread
8775 starting at
8776 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-01/msg00059.html
8777 for the details.
8778
536aea70
GM
87792012-01-06 Glenn Morris <rgm@gnu.org>
8780
665ae865
GM
8781 * mail/unrmail.el (unrmail): Give an explicit error if the input file
8782 has no messages. (Bug#10377)
8783
c869783d
GM
8784 * info.el (Info-mode-map): Bind e to end-of-buffer, rather
8785 than Info-edit. (Bug#10385)
8786
2bb4227e
GM
8787 * time.el (display-time-load-average, display-time-next-load-average):
8788 Doc fixes.
8789
7d5944b9
GM
8790 * emacs-lisp/bytecomp.el (byte-compile-file): Do not propagate a file
8791 local setting of buffer-read-only to the input buffer. (Bug#10419)
8792
536aea70
GM
8793 * calendar/calendar.el (calendar-mode):
8794 Locally set scroll-margin to 0. (Bug#10379)
8795
7dccca16
UM
87962012-01-06 Ulrich Mueller <ulm@gentoo.org>
8797
8798 * play/doctor.el (doctor-death): Escape "," characters. (Bug#10370)
8799
afbb7930
GM
88002012-01-05 Glenn Morris <rgm@gnu.org>
8801
8802 * eshell/em-unix.el (diff-no-select): Autoload it.
8803 (eshell/diff): Use diff-no-select. (Bug#10420)
8804
04482335
CY
88052012-01-05 Chong Yidong <cyd@gnu.org>
8806
7baca3bc
CY
8807 * shell.el (shell-dynamic-complete-functions): Revert last change.
8808 (shell-command-completion-function): New function.
8809 (shell-completion-vars): Use it to implement
8810 shell-completion-execonly (Bug#10417).
8811
04482335
CY
8812 * custom.el (enable-theme): Don't set custom-safe-themes.
8813
1d00653d
SM
8814 * cus-theme.el (custom-theme-merge-theme):
8815 Ignore custom-enabled-themes and custom-safe-themes.
04482335 8816
bb5aa5d6
MM
88172012-01-05 Michael R. Mauger <mmaug@yahoo.com>
8818
8819 * progmodes/sql.el (sql-login-hook): Add hook to respond to the
8820 first prompt in `sql-interacive-mode'.
8821 (sql-mode-oracle-font-lock-keywords): Add CONNECT_BY_* builtin
04482335 8822 keywords.
6df6ae42 8823 (sql-mode-mysql-font-lock-keywords): Add ELSEIF keyword.
bb5aa5d6
MM
8824 (sql-product-interactive): Bug fix: Set `sql-buffer' in
8825 context of original buffer. Invoke `sql-login-hook'.
8826
a7183d7c
EZ
88272012-01-04 Eli Zaretskii <eliz@gnu.org>
8828
8829 * mail/rmail.el (rmail-font-lock-keywords): Accept non-ASCII
8830 letters in cite-prefix.
8831
a1eacd1e
LMI
88322012-01-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
8833
8834 * mail/smtpmail.el (smtpmail-stream-type): Mention the `ssl' value.
8835
787cdb34
CY
88362012-01-03 Chong Yidong <cyd@gnu.org>
8837
1d00653d
SM
8838 * shell.el (shell-dynamic-complete-functions):
8839 Put pcomplete-completions-at-point, so as to try
787cdb34
CY
8840 comint-filename-completion first (Bug#10417).
8841
30710442
RS
88422012-01-02 Richard Stallman <rms@gnu.org>
8843
8844 * battery.el (battery-status-function):
8845 Detect when to use battery-yeeloong-sysfs.
8846 (battery-echo-area-format): Add string for Yeeloong.
8847 (battery-linux-proc-apm, battery-linux-proc-acpi): Doc fixes.
8848 (battery-yeeloong-sysfs): New function.
8849
f75bfc33
CY
88502012-01-02 Chong Yidong <cyd@gnu.org>
8851
8852 * dirtrack.el (dirtrack-list): Eliminate unused third element.
8853 (dirtrack): Merge code for handling relative filenames in prompt
8854 from shell-dir-cookie-watcher.
8855 (dirtrack-debug-message): New arg to avoid excess format calls.
8856
8857 * shell.el (shell-dir-cookie-re): Variable deleted.
8858 (shell-dir-cookie-watcher): Function deleted.
8859 (shell-mode): Don't use shell-dir-cookie-re, since it is redundant
8860 with dirtrack-mode.
8861
651e947e
EZ
88622012-01-01 Eli Zaretskii <eliz@gnu.org>
8863
1d00653d
SM
8864 * term/w32-win.el (dynamic-library-alist) <gnutls>:
8865 Load libgnutls-28.dll, from GnuTLS version 3.x, in preference to
651e947e
EZ
8866 libgnutls-26.dll.
8867
94d4c7dc
AS
88682011-12-31 Andreas Schwab <schwab@linux-m68k.org>
8869
8870 * emacs-lisp/bytecomp.el (byte-compile-file): Fix indentation.
8871
8d43f3cd
EZ
88722011-12-31 Eli Zaretskii <eliz@gnu.org>
8873
8874 * mail/rmail.el (rmail-show-message-1): Decode any RFC2047 encoded
8875 headers of non-MIME messages, when rmail-enable-mime is non-nil.
8876
98c8795a
MA
88772011-12-29 Michael Albinus <michael.albinus@gmx.de>
8878
8879 * net/tramp-sh.el (tramp-find-shell): Set "remote-shell" property
8880 also for alternative shells.
8881 (tramp-open-connection-setup-interactive-shell): Check, whether
8882 the shell is a busybox.
8883 (tramp-send-command): Don't suppress multiple prompts for
8884 busyboxes, it hurts.
8885
51281b32
CY
88862011-12-28 Chong Yidong <cyd@gnu.org>
8887
8888 * progmodes/gdb-mi.el (gdb-get-source-file-list)
8889 (gdb-get-source-file): Move mode line update to
8890 gdb-get-source-file (Bug#10087).
8891
2170cb53
CY
88922011-12-25 Chong Yidong <cyd@gnu.org>
8893
8894 * progmodes/gud.el (gud-gdb-fetch-lines-filter): Just use
8895 gud-gdb-marker-filter without taking it as an argument.
8896 (gud-gdb-run-command-fetch-lines): Caller changed.
8897 (gud-gdb-completion-function): New variable.
8898 (gud-gdb-completion-at-point): Use it.
8899 (gud-gdb-completions-1): Split from gud-gdb-completions.
8900
8901 * progmodes/gdb-mi.el (gdb-input): Accept command and handler
8902 function as separate arguments.
8903 (gdb-init-1, gdb-non-stop-handler, gdb-check-target-async)
8904 (gdb-tooltip-print-1, gud-watch, gdb-speedbar-update)
8905 (gdb-var-list-children, gdb-var-set-format, gdb-var-delete-1)
8906 (gdb-var-delete-children, gdb-edit-value, gdb-var-update)
8907 (gdb-stopped, def-gdb-auto-update-trigger)
8908 (gdb-place-breakpoints, gdb-select-thread, gdb-select-frame)
b81d40f0
JB
8909 (gdb-get-changed-registers, gdb-get-main-selected-frame):
8910 Callers changed.
2170cb53
CY
8911 (gud-gdbmi-completions): New function.
8912 (gdb): Use it for generating the completion table.
8913
be8b11bb
AM
89142011-12-24 Alan Mackenzie <acm@muc.de>
8915
8916 Introduce a mechanism to widen the region used in context font
1d00653d 8917 locking. Use this to protect declarations from losing their contexts.
be8b11bb 8918
1d00653d
SM
8919 * progmodes/cc-langs.el (c-before-font-lock-functions):
8920 Replace c-set-fl-decl-start with c-change-set-fl-decl-start (Renaming).
b81d40f0 8921 (c-before-context-fontification-functions): New defvar, a list of
be8b11bb
AM
8922 functions to be run just before context (etc.) font locking.
8923
8924 * progmodes/cc-mode.el (c-extend-font-lock-region-for-macros):
b81d40f0 8925 New, functionality extracted from
be8b11bb 8926 c-neutralize-syntax-in-and-mark-CPP.
b81d40f0 8927 (c-in-after-change-fontification): New variable.
be8b11bb
AM
8928 (c-after-change): Set c-in-after-change-fontification.
8929 (c-set-fl-decl-start): Rejig its interface, so it can be called
8930 from both after-change and context fontifying.
b81d40f0
JB
8931 (c-change-set-fl-decl-start, c-context-set-fl-decl-start):
8932 New functions.
8933 (c-standard-font-lock-fontify-region-function): New variable.
8934 (c-font-lock-fontify-region): New function.
be8b11bb 8935
341cf6ac
JL
89362011-12-24 Juri Linkov <juri@jurta.org>
8937
8938 * window.el (window--state-get-1): Set `FORCE' arg of `mark' to t.
8939 (Bug#10348)
8940
bffcee0a
MA
89412011-12-23 Michael Albinus <michael.albinus@gmx.de>
8942
8943 * net/ange-ftp.el (ange-ftp-copy-file-internal): Check for
8944 existence of source file. (Bug#10325)
8945
cb5e207c
AM
89462011-12-23 Alan Mackenzie <acm@muc.de>
8947
8948 Fix unstable fontification inside templates.
8949
b81d40f0
JB
8950 * progmodes/cc-langs.el (c-before-font-lock-functions):
8951 Newly created from the singular version. The (c c++ objc) entry now
cb5e207c
AM
8952 additionally has c-set-fl-decl-start. The other languages (apart
8953 from AWK) have that as a single entry.
8954
b81d40f0
JB
8955 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
8956 The functionality for "local" declarations has been extracted to
cb5e207c
AM
8957 c-set-fl-decl-start.
8958
b81d40f0
JB
8959 * progmodes/cc-mode.el (c-common-init, c-after-change):
8960 Changes due to pluralisation of c-before-font-lock-functions.
cb5e207c
AM
8961 (c-set-fl-decl-start): New function, extracted from
8962 c-font-lock-enclosing-decls and enhanced.
8963
60ff536c
JB
89642011-12-23 Juanma Barranquero <lekktu@gmail.com>
8965
8966 * desktop.el (desktop-internal-v2s): Fix typos in docstring (bug#10353).
8967
1c4757d6
JL
89682011-12-22 Juri Linkov <juri@jurta.org>
8969
8970 * progmodes/grep.el (rgrep): Fix docstring. (Bug#10185)
8971
d031f2c7
CY
89722011-12-22 Chong Yidong <cyd@gnu.org>
8973
8974 * vc/vc-hooks.el (vc-keep-workfiles): Doc fix.
8975
bace743a
DA
89762011-12-21 Drew Adams <drew.adams@oracle.com>
8977
8978 * files.el (file-remote-p): Fix docstring. (Bug#10319)
8979
728a1f2b
JC
89802011-12-21 Jérémy Compostella <jeremy.compostella@gmail.com>
8981
8982 * battery.el (battery-linux-sysfs): Add missing parameters from acpi.
8983
0d373f73
TZ
89842011-12-21 Teodor Zlatanov <tzz@lifelogs.com>
8985
fec0aaa4
TZ
8986 * progmodes/cfengine.el: Add Version. Improve CFEngine 3.x syntax
8987 highlighting and support. Fix up comments for capitalization.
8988 (cfengine-mode-debug): New var.
8989 (cfengine3-mode): Change the modeline indicator to "CFE3".
8990 (cfengine3-font-lock-keywords): Improve defun highlighting.
8991 (cfengine2-actions): Rename from `cfengine-actions'.
8992 (cfengine2-font-lock-keywords): Rename from
8993 `cfengine-font-lock-keywords'.
8994 (cfengine2-imenu-expression): Rename from
8995 `cfengine-imenu-expression'.
8996 (cfengine2-outline-level): Rename from `cfengine-outline-level'.
8997 (cfengine2-beginning-of-defun): Rename from
8998 `cfengine-beginning-of-defun'.
8999 (cfengine2-end-of-defun): Rename from `cfengine-end-of-defun'.
9000 (cfengine2-indent-line): Rename from `cfengine-indent-line'.
9001 (cfengine2-mode): Rename from `cfengine-mode'. Change the
9002 modeline indicator to "CFE2".
9003 (cfengine-mode): Defalias to `cfengine-auto-mode'.
9004 (cfengine-mode-abbrevs): Mark obsolete.
0d373f73 9005
bc86f573
CY
90062011-12-21 Chong Yidong <cyd@gnu.org>
9007
9008 * vc/vc-bzr.el (vc-bzr-rename-file): Don't pass ~ to Bzr in
9009 filename argument.
9010
d45ba96b
MR
90112011-12-20 Martin Rudalics <rudalics@gmx.at>
9012
9013 * window.el (window-normalize-buffer-to-display): Remove.
9014 (display-buffer): Handle buffer-or-name argument as in Emacs 23.
9015
a6198c90
CY
90162011-12-19 Chong Yidong <cyd@gnu.org>
9017
9018 * vc/vc-dir.el (vc-dir-parent-marked-p, vc-dir-children-marked-p):
9019 Don't signal an error in a predicate function; return non-nil.
9020 (vc-dir-mark-file): Move the error here.
9021 (vc-dir-mark-unmark): If acting on the region, keep going if one
9022 of the entries cannot be marked/unmarked.
9023 (vc-dir-mark-all-files): If current entry is a directory, mark
9024 only child files, as documented.
9025
34c5fb55
VB
90262011-12-19 Vincent Belaïche <vincentb1@users.sourceforge.net>
9027
9028 * ses.el: Ooops... undo changes of 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net, as trunk
9029 branch is feature frozen, and 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net was a feature
9030 addition.
9031
c803b2b7
JD
90322011-12-18 Jan Djärv <jan.h.d@swipnet.se>
9033
9034 * term/ns-win.el (ns-get-selection-internal)
9035 (ns-store-selection-internal): Declare.
1154d12e
JB
9036 (ns-store-cut-buffer-internal, ns-get-cut-buffer-internal):
9037 Declare as obsolete.
9038 (ns-get-pasteboard, ns-paste-secondary):
9039 Use ns-get-selection-internal.
9040 (ns-set-pasteboard, ns-copy-including-secondary):
9041 Use ns-store-selection-internal.
c803b2b7 9042
9cff91f8 90432011-12-17 Chong Yidong <cyd@gnu.org>
99a289d9
CY
9044
9045 * vc/vc.el (vc-next-action): Doc fix; remove CVS-isms.
9cff91f8 9046 (vc-deduce-fileset): Doc fix.
99a289d9 9047
f16c898a
AS
90482011-12-16 Andreas Schwab <schwab@linux-m68k.org>
9049
9050 * calc/calc-misc.el (calc-help): Avoid wrapping help message.
9051
763237c4
SS
90522011-12-13 Sam Steingold <sds@gnu.org>
9053
9054 * man.el (Man-getpage-in-background): When running under a
9055 window-system, ignore $MANWIDTH and $COLUMNS.
9056
5fc1c122
KH
90572011-12-15 Kenichi Handa <handa@m17n.org>
9058
9059 * language/ethio-util.el: Change coding tag to utf-8-emacs.
9060 (setup-ethiopic-environment-internal): Comment out key-binding for
9061 ethio-toggle-punctuation.
9062
13d49cbb
AM
90632011-12-13 Alan Mackenzie <acm@muc.de>
9064
898169a2
AM
9065 Add the switch statement to AWK Mode.
9066
7a71b18d 9067 * progmodes/cc-awk.el (awk-font-lock-keywords): Add "switch", "case",
898169a2
AM
9068 "default" to the keywords regexp.
9069
7a71b18d 9070 * progmodes/cc-langs.el (c-label-kwds): Let AWK take the same
898169a2 9071 expression as the rest.
1d00653d
SM
9072 (c-nonlabel-token-key): Allow string literals for AWK.
9073 Refactor for the other modes.
898169a2 9074
13d49cbb 9075 Large brace-block initialisation makes CC Mode slow: Fix.
1d00653d 9076 Tidy up and accelerate c-in-literal, etc. by using the c-parse-state
13d49cbb
AM
9077 routines. Limit backward searching in c-font-lock-enclosing.decl.
9078
9079 * progmodes/cc-engine.el (c-state-pp-to-literal): Return the
9080 pp-state and literal type in addition to the limits.
1d00653d 9081 (c-state-safe-place): New defun, extracted from c-state-literal-at.
13d49cbb 9082 (c-state-literal-at): Use the above new defun.
1d00653d
SM
9083 (c-slow-in-literal, c-fast-in-literal): Remove.
9084 (c-in-literal, c-literal-limits): Amend to use c-state-pp-to-literal.
13d49cbb
AM
9085
9086 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Check for
9087 being in a literal. Add a limit for backward searching.
9088
9089 * progmodes/cc-mode.el (awk-mode): Don't alias c-in-literal to
9090 c-slow-in-literal.
9091
15e0efc7
SM
90922011-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
9093
9094 * progmodes/pascal.el: Declare `ind' as dyn-bound (bug#10264).
9095
454592a6
MR
90962011-12-13 Martin Rudalics <rudalics@gmx.at>
9097
9098 * window.el (delete-other-windows): Use correct frame in call to
9099 window-with-parameter.
9100
87393f26
DP
91012011-12-12 Daniel Pfeiffer <occitan@t-online.de>
9102
9103 * progmodes/make-mode.el: Bring it up to date with makepp V2.0.
9104 (makefile-make-font-lock-keywords): Extend meaning of `keywords'.
9105 (makefile-gmake-statements, makefile-makepp-statements):
9106 Use it and add new makepp keywords.
9107 (makefile-makepp-font-lock-keywords): Add new patterns.
9108 (makefile-match-function-end): Match new [...] and [[...]].
9109
11636b22
JB
91102011-12-11 Juanma Barranquero <lekktu@gmail.com>
9111
9112 * ses.el (ses-call-printer-return, ses-cell-property-get)
9113 (ses-sym-rowcol, ses-printer-validate, ses-formula-record)
9114 (ses-create-cell-variable, ses-reset-header-string)
9115 (ses-cell-set-formula, ses-repair-cell-reference-all)
9116 (ses-self-reference-early-detection, ses-in-print-area, ses-set-curcell)
9117 (ses-check-curcell, ses-call-printer, ses-adjust-print-width)
9118 (ses-print-cell-new-width, ses-formula-references, ses-relocate-formula)
9119 (ses-aset-with-undo, ses-load, ses-truncate-cell)
9120 (ses-read-column-printer, ses-read-default-printer, ses-insert-row)
9121 (ses-delete-row, ses-delete-column, ses-append-row-jump-first-column)
9122 (ses-kill-override, ses-yank-pop, ses-yank-cells, ses-yank-tsf)
9123 (ses-yank-resize, ses-export-tab, ses-mark-row, ses-mark-column)
9124 (ses-renarrow-buffer, ses-insert-range, ses-insert-ses-range)
9125 (ses-safe-printer, ses-safe-formula, ses-warn-unsafe, ses--clean-!)
9126 (ses--clean-_, ses-range, ses-select, ses-center, ses-center-span)
9127 (ses-dashfill, ses-unsafe): Fix typos and reflow docstrings.
9128
cf018193
VB
91292011-12-11 Vincent Belaïche <vincentb1@users.sourceforge.net>
9130
9131 * ses.el: The overall change is to add cell renaming, that is
9132 setting fancy names for cell symbols other than name matching
9133 "\\`[A-Z]+[0-9]+\\'" regexp .
9134 (ses-create-cell-variable): New defun.
9135 (ses-relocate-formula): Relocate formulas only for cells the
9136 symbols of which are not renamed, i.e. symbols whose names do not
9137 match regexp "\\`[A-Z]+[0-9]+\\'".
9138 (ses-relocate-all): Relocate values only for cells the symbols of
9139 which are not renamed.
9140 (ses-load): Create cells variables as the (ses-cell ...) are read,
9141 in order to check row col consistency with cell symbol name only
9142 for cells that are not renamed.
9143 (ses-replace-name-in-formula): New defun.
9144 (ses-rename-cell): New defun.
9145
ee957461
CY
91462011-12-11 Chong Yidong <cyd@gnu.org>
9147
9148 * progmodes/gdb-mi.el (gdb): Set comint-prompt-regexp, required
9149 for completion via gud-gdb-fetch-lines-filter (Bug#10274).
9150
9a9e9ef0
MR
91512011-12-11 Eric Hanchrow <eric.hanchrow@gmail.com>
9152
9153 * window.el (other-window): Fix docstring.
9154
92a8eba5
EZ
91552011-12-10 Eli Zaretskii <eliz@gnu.org>
9156
9157 * mail/rmailsum.el (rmail-header-summary): RFC2047 decode the
1d00653d
SM
9158 `from' or `to' address before taking its substring.
9159 Fixes incorrect display in Rmail summary buffer whereby an RFC2047
92a8eba5
EZ
9160 encoded name is chopped in the middle of the encoded string, and
9161 thus displayed encoded.
9162
e152e577
JB
91632011-12-10 Juanma Barranquero <lekktu@gmail.com>
9164
9165 * makefile.w32-in (update-subdirs-CMD): Use a Local Variables section.
9166
e5d84bfe
EZ
91672011-12-10 Eli Zaretskii <eliz@gnu.org>
9168
9169 * textmodes/texnfo-upd.el: Update commentary. Add a warning not
9170 to use texinfo-update-node and commands that call it if the
9171 Texinfo file uses @node lines without next/prev/up pointers.
b8830d28 9172 Correct outdated description about texinfo-master-menu.
e5d84bfe
EZ
9173 (texinfo-all-menus-update, texinfo-master-menu)
9174 (texinfo-update-node, texinfo-every-node-update)
9175 (texinfo-multiple-files-update): Doc fix. Warn against updating
9176 all the @node lines.
9177 (texinfo-master-menu): Only call texinfo-update-node if the prefix
b8830d28
EZ
9178 argument is numeric. Explain better in the doc string what the
9179 function really does.
9180 (texinfo-insert-master-menu-list): Improve the error message
9181 displayed if there's no menu in the Top node.
9182 (Bug#2975) See also this thread:
e5d84bfe
EZ
9183 http://lists.gnu.org/archive/html/emacs-devel/2011-12/msg00156.html.
9184
1d84e9bb
MG
91852011-12-09 Manuel Gómez <mgrojo@gmail.com> (tiny change)
9186
9187 * speedbar.el (speedbar-supported-extension-expressions):
9188 Add .adb and .ads, commonly used for Ada source code (bug#10256).
9189
382c953b
JB
91902011-12-09 Juanma Barranquero <lekktu@gmail.com>
9191
9192 * printing.el (pr-mode-alist):
9193 * simple.el (filter-buffer-substring-functions)
9194 (completion-list-insert-choice-function):
9195 * window.el (window-with-parameter, window-atom-root)
9196 (window-sides-slots, window-size-fixed, window-min-delta)
9197 (window-max-delta, window--resize-mini-window)
9198 (window--resize-child-windows-normal, window-tree)
9199 (delete-other-windows, quit-window, split-window)
9200 (display-buffer-record-window, special-display-buffer-names)
9201 (special-display-regexps, special-display-popup-frame)
9202 (same-window-p, split-window-sensibly)
9203 (display-buffer-overriding-action, display-buffer-alist)
9204 (display-buffer-base-action, display-buffer, switch-to-buffer)
9205 (switch-to-buffer-other-window, switch-to-buffer-other-frame)
9206 (fit-window-to-buffer, recenter-positions)
9207 (mouse-autoselect-window-state, mouse-autoselect-window-select):
9208 * emacs-lisp/syntax.el (syntax-propertize-function): Fix typos
9209 and remove unneeded backslashes in docstrings.
9210
39c9faef
SM
92112011-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
9212
98449af8
SM
9213 * emacs-lisp/lisp-mode.el (defmethod): Add doc-string-elt (bug#10244).
9214
39c9faef
SM
9215 * pcmpl-gnu.el: Don't fail when there is no Makefile nor -f arg.
9216 (pcmpl-gnu-makefile-regexps): Accept "makefile" as well as files that
9217 end in ".mk".
9218 (pcmpl-gnu-make-rule-names): Check "makefile" and ignore errors
9219 when reading the makefile (bug#10116).
9220
86ed9fdc
SM
92212011-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
9222
9223 * pcmpl-gnu.el (pcomplete/make): Also allow filename arguments
9224 (bug#10116).
9225
5580f89d
GM
92262011-12-06 Glenn Morris <rgm@gnu.org>
9227
9228 * emacs-lisp/package.el (package-archives): Doc fix re riskiness.
9229
28d3917c
CY
92302011-12-06 Chong Yidong <cyd@gnu.org>
9231
9232 * progmodes/cc-fonts.el (c-annotation-face): Use defface.
9233
a98edce9
JB
92342011-12-06 Juanma Barranquero <lekktu@gmail.com>
9235
9236 * textmodes/table.el (table-shorten-cell): Fix typo.
9237
e65adfac
CG
92382011-12-05 Christopher Genovese <genovese.cr@gmail.com> (tiny change)
9239
9240 * emacs-lisp/assoc.el (aput): Fix return value (bug#10146)
9241
71cc0b74
EZ
92422011-12-05 Eli Zaretskii <eliz@gnu.org>
9243
9244 * descr-text.el (describe-char): Fix display of strong
9245 right-to-left characters and directional embeddings and overrides.
9246
9247 * simple.el (what-cursor-position): Fix display of codepoints of
9248 strong right-to-left characters.
9249
315bc30d
CY
92502011-12-05 Chong Yidong <cyd@gnu.org>
9251
9252 * faces.el (read-color): Doc fix.
9253
58a70b94
GM
92542011-12-05 Glenn Morris <rgm@gnu.org>
9255
9256 * align.el (align--set-marker): Add doc-string.
9257 Don't try to move something that is not a marker. (Bug#10216)
9258
5158face
GM
92592011-12-04 Glenn Morris <rgm@gnu.org>
9260
9261 * calendar/appt.el (appt-add): Rewrite the interactive-spec to avoid
9262 overly zealous deletion of trailing whitespace.
9263
520fca41
JB
92642011-12-04 Juanma Barranquero <lekktu@gmail.com>
9265
9266 * server.el (server-delete-client): On Windows, do not try to delete
9267 the only terminal.
9268 (server-process-filter): On Windows, treat requests for a tty frame as
9269 if they were for a GUI frame if the running server is in GUI mode.
9270
5e605a2e
GM
92712011-12-03 Glenn Morris <rgm@gnu.org>
9272
9273 * textmodes/texinfmt.el (batch-texinfo-format): Doc fix. (Bug#10207)
9274
5c3fe83f
SM
92752011-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
9276
6f5e57e7
SM
9277 * electric.el: Streamline electric-indent's hook.
9278 (electric-indent-chars): Revert to simple list.
9279 (electric-indent-functions): New var.
9280 (electric-indent-post-self-insert-function): Use it.
9281
5c3fe83f
SM
9282 * progmodes/prolog.el (prolog-find-value-by-system): Avoid error when
9283 there's no inferior buffer (bug#10196).
9284 (prolog-consult-compile): Don't use toggle-read-only.
9285
6bdac736
MA
92862011-12-02 Michael Albinus <michael.albinus@gmx.de>
9287
9288 * net/tramp-sh.el (tramp-maybe-open-connection): Handle user
9289 interrupt. (Bug#10187)
9290
6131ba7f
SM
92912011-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
9292
99c79fee
SM
9293 * pcmpl-gnu.el (pcomplete/tar): large-file-warn-threshold can be nil
9294 (bug#9160).
9295
6131ba7f
SM
9296 * dired-aux.el (dired-query): Don't assume help-char is modifier-free
9297 (bug#10191).
9298
cb0a02ea
JL
92992011-12-02 Juri Linkov <juri@jurta.org>
9300
9301 * info.el (Info-search): Display "end of manual" when Isearch
9302 reaches the end of single-file Info manual. (Bug#9918)
9303
66e0570c
EZ
93042011-12-02 Eli Zaretskii <eliz@gnu.org>
9305
9306 * isearch.el (isearch-message-prefix): Run the input method part
9307 of the prompt through bidi-string-mark-left-to-right. (Bug#10183)
9308
02b16839
JL
93092011-12-02 Juri Linkov <juri@jurta.org>
9310
9311 * isearch.el (isearch-occur): Use `word-search-regexp' for
9312 `isearch-word'.
9313 (isearch-search-and-update): Add condition for `isearch-word' and
9314 call `word-search-regexp'. (Bug#10145)
9315
0b950688
GM
93162011-12-01 Glenn Morris <rgm@gnu.org>
9317
9318 * eshell/em-hist.el (eshell-hist-initialize):
9319 Handle eshell-history-size nil and HISTSIZE set or unset.
e8087a76 9320 (eshell-history-file-name, eshell-history-size): Fix custom type.
0b950688 9321
9505c3c7
SM
93222011-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
9323
9324 * man.el (Man-completion-table): Fix the lambda case (bug#10168).
9325
1bbe96b2 93262011-12-01 Michael McNamara <mac@mail.brushroad.com>
6288f0ca 9327
a1beca85
SM
9328 * progmodes/verilog-mode.el (verilog-pretty-expr):
9329 Rework verilog-pretty-expr to handle new assignment operators in system
6288f0ca
WS
9330 verilog, such as += *= and the like.
9331 (verilog-assignment-operator-re): Regular expression to find the
9332 assigment operator in a verilog assignment.
9333 (verilog-assignment-operation-re): Regular expression to find an
9334 assignment statement for pretty-expr.
9335 (verilog-in-attribute-p): Query returns true if point is in an
9336 attribute context; used to skip these for expression line up from
9337 pretty-expr.
9338 (verilog-in-parameter-p): Query returns true if point is in an
9339 parameter definition context; used to skip these for expression
9340 line up from pretty-expr.
9341 (verilog-in-parenthesis-p): Query returns true if point is in a
9342 parenthetical expression, specifically ( ) but not [ ] or { };
9343 used by pretty-expr.
9344 (verilog-just-one-space): If there is no space, don't add one.
9345 (verilog-get-lineup-indent-2): Specifically skip just attribute
9346 contexts for expression lineup, rather than skipping all
9347 parenthetical expressions.
9348 (verilog-calculate-indent): Fix comment, and fix indent.
9349 (verilog-do-indent): Indent declarations in lists (suggested by
9350 Joachim Lechner).
9351 (verilog-mode-abbrev-table): Populate abbrev mode with the various
9352 skeleton items.
9353 (verilog-sk-ovm-class): Add skeleton for OVM classes (reported
9354 by Alain Mellan).
9355
1bbe96b2 93562011-12-01 Wilson Snyder <wsnyder@wsnyder.org>
6288f0ca
WS
9357
9358 * progmodes/verilog-mode.el (verilog-read-defines): Fix reading
9359 parameters with embedded comments. Reported by Ray Stevens.
9360 (verilog-calc-1, verilog-fork-wait-re) (verilog-forward-sexp,
9361 verilog-wait-fork-re): Fix indentation of "wait fork", bug407.
9362 Reported by Tim Holt.
9363 (verilog-auto): Fix AUTOing a upper module then AUTOing module
9364 instantiated by upper module causing wrong expansion until AUTOed a
9365 second time. Reported by K C Buckenmaier.
9366 (verilog-diff-auto): Fix showing .* as a difference when
9367 `verilog-auto-star-save' off. Reported by Dan Dever.
9368 (verilog-auto-reset, verilog-read-always-signals)
9369 (verilog-auto-reset-blocking-in-non): Fix AUTORESET including
9370 temporary signals in reset list if
9371 verilog-auto-reset-blocking-in-non is nil, and match assignment
a1beca85
SM
9372 style to each signal's assignment type, bug381.
9373 Reported by Thomas Esposito.
6288f0ca
WS
9374 (verilog-sk-uvm-class, verilog-uvm-begin-re, verilog-uvm-end-re)
9375 (verilog-uvm-statement-re): Support UVM indentation and
9376 highlighting, with old OVM keywords only.
a1beca85 9377 (verilog-auto-tieoff, verilog-auto-tieoff-declaration):
1d00653d
SM
9378 Support AUTOTIEOFF creating non-wire data types.
9379 Suggested by Jonathan Greenlaw.
6288f0ca
WS
9380 (verilog-auto-insert-lisp, verilog-delete-to-paren)
9381 (verilog-forward-sexp-cmt, verilog-forward-sexp-ign-cmt)
9382 (verilog-inject-sense, verilog-read-inst-pins)
a1beca85
SM
9383 (verilog-read-sub-decls, verilog-read-sub-decls-line):
9384 Fix mismatching parenthesis inside commented out code when deleting
382c953b 9385 AUTOINST, bug383. Reported by Jonathan Greenlaw.
6288f0ca
WS
9386 (verilog-auto-ascii-enum): Fix AUTOASCIIENUM one-hot with
9387 non-numeric vector width. Reported by Alex Reed.
9388 (verilog-auto-ascii-enum): Add "onehot" option to work around not
382c953b 9389 detecting signals with parameter widths. Reported by Alex Reed.
a1beca85
SM
9390 (verilog-auto-delete-trailing-whitespace):
9391 With `verilog-auto-delete-trailing-whitespace' remove trailing
6288f0ca
WS
9392 whitespace in auto expansion, bug371. Reported by Brad Dobbie.
9393 (verilog-run-hooks, verilog-scan-cache-flush, verilog-syntax-ppss):
9394 Fix verilog-scan-cache corruption when running user AUTO expansion
9395 hooks that call indentation routines.
9396 (verilog-simplify-range-expression): Fix typo ignoring lower case
9397 identifiers.
9398 (verilog-delete-auto): Fix delete-autos to also remove user created
9399 automatics, as long as they start with AUTO.
9400 (verilog-batch-diff-auto, verilog-diff-auto)
9401 (verilog-diff-function): Add `verilog-diff-auto' and bind to
9402 "C-c?" to report differences in AUTO expansion, ignoring spaces.
9403 (verilog-backward-syntactic-ws-quick, verilog-beg-of-defun-quick)
9404 (verilog-in-paren-quick, verilog-re-search-backward-quick)
a1beca85
SM
9405 (verilog-re-search-forward-quick, verilog-syntax-ppss):
9406 Fix calling `syntax-ppss' when inside auto expansions as the ppss hook
6288f0ca
WS
9407 is disabled and its cache will get corrupt, causing AUTOS not to
9408 expand. Instead use only -quick functions.
9409 (verilog-scan-region): Fix scanning over escaped quotes.
9410 (verilog-inside-comment-or-string-p, verilog-inside-comment-p)
9411 (verilog-re-search-backward-quick)
9412 (verilog-re-search-forward-quick, verilog-scan): verilog-scan and
9413 related functions now ignore strings, to fix misparsing of strings
9414 with magic comments embedded in them.
a1beca85
SM
9415 (verilog-read-auto-template):
9416 Fix 'verilog-auto-inst-template-numbers' with extra newline before (.
9417 Reported by Brad Dobbie.
9418 (verilog-read-auto-template):
9419 Fix 'verilog-auto-inst-template-numbers' with comments.
6288f0ca 9420 Reported by Brad Dobbie.
6288f0ca
WS
9421 (verilog-auto-inst, verilog-auto-inst-param)
9422 (verilog-auto-inst-sort): Add 'verilog-auto-inst-sort' to reduce
9423 merge conflicts with AUTOINST, bug358. Reported by Brad Dobbie.
9424 (verilog-auto-inst-template-numbers): Add 'lhs' policy for
a1beca85
SM
9425 debugging templates without merge conflicts, bug357.
9426 Reported by Brad Dobbie.
9427 (verilog-read-auto-template):
9428 Fix verilog-auto-inst-template-numbers with multiple templates.
6288f0ca
WS
9429 Reported by Brad Dobbie.
9430 (verilog-define-abbrev): Fix verilog-mode abbrevs to be system
9431 abbrevs so user won't be asked to save.
9432 (verilog-read-auto-lisp-present): Fix to start at beginning of
9433 buffer in case called outside of verilog-auto.
9434 (verilog-simplify-range-expression): Fix AUTOWIRE expanding "X-1+1"
9435 to "X-2". Reported by Matthew Myers.
9436 (verilog-auto, verilog-auto-inout-in): Add AUTOINOUTIN for creating
9437 all inputs from module templates. Reported by Leith Johnson.
9438 (verilog-module-inside-filename-p): Fix locating programs as with
9439 modules.
9440 (verilog-auto-inst-port): Fix vl-width expressions when using
9441 verilog-auto-inst-param-value, bug331. Reported by Julian Gorfajn.
9442 (verilog-decls-get-regs, verilog-decls-get-signals,
9443 verilog-decls-get-vars, verilog-decls-get-wires, verilog-decls-new,
9444 verilog-modi-cache-add-vars, verilog-modi-cache-add-wires,
9445 verilog-read-decls): Combine reg and wire structures into one var
9446 structure to represent SystemVerilog concepts.
9447 (verilog-auto-ascii-enum, verilog-auto-logic, verilog-auto-reg)
9448 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-wire)
a1beca85
SM
9449 (verilog-auto-wire-type, verilog-insert-definition):
9450 Add verilog-auto-wire-type and AUTOLOGIC to support using
6288f0ca
WS
9451 SystemVerilog "logic" keyword instead of "wire"/"reg".
9452 (verilog-auto-reg-input, verilog-decls-get-signals): Fix AUTOWIRE
9453 to declares outputs that also have assignments (presumably in an
a1beca85
SM
9454 ifdef or generate if so there's not a driver conflict).
9455 Reported by Matthew Myers.
9456 (verilog-auto-declare-nettype, verilog-insert-definition):
9457 Add verilog-auto-declare-nettype to fix declarations using
6288f0ca
WS
9458 `default_nettype none. Reported by Julian Gorfajn.
9459 (verilog-read-always-signals-recurse, verilog-read-decls)
9460 (verilog-read-sub-decls-gate): Fix infinite loop with (*) and
9461 malformed end statement, bug325. Reported by Joshua Wise and
9462 Andrew Drake.
9463 (verilog-auto-star-safe, verilog-delete-auto-star-implicit)
9464 (verilog-inst-comment-re): Fix not deleting Interfaced comment
1d00653d
SM
9465 when expanding .* in interfaces, bug320.
9466 Reported by Pierre-David Pfister.
6288f0ca 9467 (verilog-read-module-name): Fix import statements between module
1d00653d
SM
9468 name and open parenthesis, bug317.
9469 Reported by Pierre-David Pfister.
6288f0ca
WS
9470 (verilog-simplify-range-expression): Fix simplification of
9471 multiplications inside AUTOWIRE connections, bug303.
9472 (verilog-auto-inst-port): Support parameter expansion in
9473 multidimensional arrays.
9474 (verilog-read-decls): Fix AUTOREG etc looking for "endproperty"
9475 after "assert property". Reported by Julian Gorfajn.
9476 (verilog-simplify-range-expression): Fix "couldn't merge" errors
9477 with multiplication, bug303.
9478 (verilog-read-decls): Fix parsing of unsigned data types, bug302.
9479 Reported by Jan Frode Lonnum.
9480
1bbe96b2
GM
94812011-11-30 Juanma Barranquero <lekktu@gmail.com>
9482
9483 * htmlfontify.el (hfy-page-header, hfy-post-html-hooks)
9484 (hfy-shell-file-name, hfy-shell):
9485 * international/fontset.el (x-decompose-font-name): Fix typos.
9486
94872011-11-29 Ken Brown <kbrown@cornell.edu>
9488
9489 * progmodes/gdb-mi.el: Fix bug#9853, bug#9858, and bug#9878.
9490 (gdb-version): Remove defvar.
9491 (gdb-supports-non-stop): New defvar, replacing `gdb-version'.
9492 (gdb-gud-context-command, gdb-non-stop-handler)
9493 (gdb-current-context-command, gdb-stopped): Use it.
9494 (gdb-init-1): Enable pretty printing here.
6131ba7f
SM
9495 (gdb-non-stop-handler): Don't enable pretty-printing here.
9496 Check to see if the target supports non-stop mode; if not, turn off
1bbe96b2
GM
9497 non-stop mode. Use the following.
9498 (gdb-check-target-async): New defun.
9499 (gud-watch, gdb-stopped): Fix whitespace.
9500 (gdb-get-source-file): Don't try to display the source file if
9501 `gdb-main-file' is nil.
9502
95032011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
9504
9505 * align.el: Try to generate fewer markers (bug#10047).
9506 (align--set-marker): New macro.
9507 (align-region): Use it.
9508
c935221f
SM
95092011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
9510
9511 * isearch.el (isearch-yank-x-selection): Deactivate mark (bug#10022).
9512
e70b5064
CY
95132011-11-29 Chong Yidong <cyd@gnu.org>
9514
9515 * indent.el (indent-for-tab-command, indent-according-to-mode):
9516 Doc fix.
9517 (indent-region): Doc fix. Switch nested ifs to equivalent cond.
9518
f3af92b7
MA
95192011-11-29 Michael Albinus <michael.albinus@gmx.de>
9520
9521 * vc/diff-mode.el (diff-find-file-name): Make `read-file-name'
9522 aware of remote file names. (Bug#10124)
9523
ed472be9
CY
95242011-11-29 Chong Yidong <cyd@gnu.org>
9525
9526 * frame.el (auto-raise-mode, auto-lower-mode): Doc fix.
9527
24510c22
SM
95282011-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
9529
9530 * files.el (find-file): Don't use force-same-window (bug#10144).
9531 * window.el (switch-to-buffer): Better match Emacs-23 behavior and only
9532 use pop-to-buffer if the selected window can't be used.
9533 (pop-to-buffer-same-window): Use display-buffer--same-window-action.
9534
c60c3703
EZ
95352011-11-28 Eli Zaretskii <eliz@gnu.org>
9536
9537 * vc/diff-mode.el (diff-mode-map): Don't inherit 'z' => 'M-z' from
9538 special-mode-map.
9539
e95def75
CY
95402011-11-28 Chong Yidong <cyd@gnu.org>
9541
9542 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix default doc.
9543
c3f1c606
NR
95442011-11-27 Nick Roberts <nickrob@snap.net.nz>
9545
9546 * progmodes/gdb-mi.el (gdb-init-1): Condition execution of
9547 gdb-get-source-file-list on gdb-create-source-file-list.
9548
00db469c
EZ
95492011-11-26 Eli Zaretskii <eliz@gnu.org>
9550
9551 * whitespace.el (whitespace-newline): Use a different foreground
9552 color for 16-color light-background displays.
9553
4ad3bc2a
CY
95542011-11-24 Chong Yidong <cyd@gnu.org>
9555
9556 * window.el (display-buffer--special-action): Doc fix.
9557
e9fce1ac
JB
95582011-11-25 Juanma Barranquero <lekktu@gmail.com>
9559
9560 * emacs-lisp/avl-tree.el (avl-tree--do-copy, avl-tree-create)
9561 (avl-tree-compare-function, avl-tree-empty, avl-tree-enter)
9562 (avl-tree-delete, avl-tree-member, avl-tree-member-p, avl-tree-map)
9563 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar, avl-tree-copy)
9564 (avl-tree-clear, avl-tree-stack, avl-tree-stack-pop)
9565 (avl-tree-stack-first):
9566 * emacs-lisp/cconv.el (cconv--analyse-use):
9567 * net/gnutls.el (gnutls-negotiate): Fix typos.
9568
cb825e5d
GM
95692011-11-24 Glenn Morris <rgm@gnu.org>
9570
3adbe224
GM
9571 * lpr.el (lpr-windows-system, lpr-lp-system):
9572 * mail/binhex.el (binhex-begin-line):
9573 * progmodes/grep.el (grep-history, grep-find-history):
9574 * textmodes/flyspell.el:
9575 * vc/pcvs-defs.el (cvs-global-menu):
9576 * vc/vc-bzr.el (vc-bzr-admin-checkout-format-file):
9577 * vc/vc-mtn.el (vc-mtn-admin-dir, vc-mtn-admin-format):
9578 * vc/vc-cvs.el (vc-cvs-registered): Give them basic doc-strings.
9579
321decc8
GM
9580 * net/tls.el: Fix case of "GnuTLS".
9581
420b63ad
GM
9582 * paths.el (rmail-file-name): Format doc-string for make-docfile.
9583
cb825e5d
GM
9584 * version.el (emacs-build-system): Give it a doc-string.
9585
a0649f08
JL
95862011-11-24 Juri Linkov <juri@jurta.org>
9587
9588 * view.el (view-buffer): Revert 2011-07-19T15:01:49Z!larsi@gnus.org from 2011-07-19 (bug#8615).
9589
c0bc0fd4
GM
95902011-11-24 Glenn Morris <rgm@gnu.org>
9591
9592 * mail/rmailmm.el (rmail-mime): When rmail-enable-mime is non-nil,
9593 if called on a non-mime message just toggle the headers. (Bug#8006)
9594
20db1522
JB
95952011-11-24 Juanma Barranquero <lekktu@gmail.com>
9596
9597 * allout.el (allout-setup, allout-auto-save-temporarily-disabled)
9598 (allout-lead-with-comment-string, allout-structure-deleted-hook)
9599 (allout-mode, allout-chart-subtree, allout-hotspot-key-handler)
9600 (allout-rebullet-heading, allout-open-sibtopic)
9601 (allout-toggle-current-subtree-encryption)
9602 (allout-toggle-subtree-encryption, allout-encrypt-string)
9603 (allout-next-topic-pending-encryption, allout-adjust-file-variable)
9604 (allout-distinctive-bullets-string, allout-auto-activation):
9605 * window.el (window-normalize-buffer-to-display):
9606 * progmodes/verilog-mode.el (verilog-batch-indent):
9607 * textmodes/bibtex.el (bibtex-field-braces-opt)
9608 (bibtex-field-strings-opt):
9609 * vc/cvs-status.el (cvs-tree-merge):
9610 Fix typos.
9611
7262a87c
MA
96122011-11-23 Michael Albinus <michael.albinus@gmx.de>
9613
9614 * rfn-eshadow.el (rfn-eshadow-update-overlay): Let-bind
9615 `non-essential' to t, in order to avoid remote connections.
9616
283430a1
EZ
96172011-11-23 Eli Zaretskii <eliz@gnu.org>
9618
a1beca85
SM
9619 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
9620 On MS-DOS and MS-Windows, compare with loaddefs.el
283430a1
EZ
9621 case-insensitively.
9622
d2992a38
ML
96232011-11-23 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
9624
9625 * mail/unrmail.el (unrmail): Always add blank line. (Bug#7743)
9626
50419064
GM
96272011-11-23 Glenn Morris <rgm@gnu.org>
9628
da94eca1
GM
9629 * paths.el (rmail-file-name): Reformat the doc-string so that it
9630 is picked up.
9631
9aac4de2
GM
9632 * mail/rmail.el (rmail-message-filter, rmail-auto-file): Doc fixes.
9633 (rmail-auto-file): Ignore case in the "special" field names,
9634 as mail-fetch-field does for all others.
9635
8038d2d2
GM
9636 * mail/rmail.el (rmail-forward):
9637 * mail/rmailkwd.el (rmail-set-label):
9638 * mail/rmailout.el (rmail-output, rmail-output-as-seen)
9639 (rmail-output-body-to-file): Give error if no message. (Bug#10082)
9640
f3fe222a
GM
9641 * mail/rmail.el (rmail-current-message): Doc fix.
9642
50419064
GM
9643 * mail/rmail.el (rmail-message-filter): Mark as obsolete. (Bug#2624)
9644
28109f49
SM
96452011-11-22 Stefan Monnier <monnier@iro.umontreal.ca>
9646
9647 * server.el (server-eval-and-print): Allow C-g (bug#6585).
9648
394c65f1
GM
96492011-11-22 Glenn Morris <rgm@gnu.org>
9650
9651 * mail/rmailmm.el (test-rmail-mime-handler)
9652 (test-rmail-mime-bulk-handler)
9653 (test-rmail-mime-multipart-handler): Move tests to test/ directory.
9654
f2a0aa3a
JL
96552011-11-21 Juri Linkov <juri@jurta.org>
9656
1154d12e
JB
9657 * calc/calc.el (calc-read-key-sequence):
9658 Let-bind `input-method-function' to nil. (Bug#10018)
f2a0aa3a 9659
9c34a344
LMI
96602011-11-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
9661
9662 * emacs-lisp/cl-indent.el (common-lisp-loop-part-indentation):
9663 Tell the caller that the next line needs recomputation, even
9664 though it doesn't start a sexp (bug#10094).
9665
f04a3be9
SM
96662011-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
9667
9668 * emacs-lisp/autoload.el (autoload-generate-file-autoloads): Simplify.
9669
7978747f
SM
96702011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
9671
f04a3be9
SM
9672 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
9673 Use force-same-window.
7978747f 9674
fe7a3057
JB
96752011-11-20 Juanma Barranquero <lekktu@gmail.com>
9676
9677 * descr-text.el (describe-char-unicode-data):
9678 * json.el (json-string-escape):
9679 * mail/footnote.el (footnote-unicode-string, footnote-unicode-regexp)
9680 (Footnote-unicode, Footnote-style-p):
9681 * net/ntlm.el (ntlm-get-password-hashes): Fix typos.
9682
24901d61
CY
96832011-11-20 Chong Yidong <cyd@gnu.org>
9684
9685 * window.el (replace-buffer-in-windows): Restore interactive spec.
9686
bac7ff22
SM
96872011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
9688
24f3d7b9
SM
9689 * electric.el (electric-indent-mode): Fix last change (too optimistic).
9690
bac7ff22
SM
9691 * emacs-lisp/bytecomp.el: Silence obsolete warnings more reliably.
9692 (byte-compile-global-not-obsolete-vars): New var.
9693 (byte-compile-check-variable, byte-compile-make-obsolete-variable):
9694 Use it.
9695 (byte-compile-warn-obsolete): Align text with the one in *Help*.
9696
cd1181db
JB
96972011-11-20 Juanma Barranquero <lekktu@gmail.com>
9698
9699 * progmodes/cwarn.el (cwarn-is-enabled, cwarn-font-lock-keywords):
9700 * progmodes/pascal.el (electric-pascal-equal):
9701 * textmodes/reftex-dcr.el (reftex-view-crossref-from-bibtex):
9702 * xml.el (xml-substitute-special): Fix typos.
9703
7fb18e9e
GM
97042011-11-20 Glenn Morris <rgm@gnu.org>
9705
9706 * mail/rmail.el (rmail-enable-mime-composing): Make it a defcustom.
9707 (rmail-insert-mime-forwarded-message-function, rmail-mime-feature):
9708 Doc fixes.
9709 (rmail-decode-mime-charset): Mark as obsolete.
9710
9711 * mail/rmailsum.el (rmail-message-regexp-p-1):
9712 * mail/rmail.el (rmail-search-message, rmail-forward, rmail-resend):
9713 Before using mime functions, check they are set. (Bug#10077)
9714
d5a6b3ba
JL
97152011-11-19 Juri Linkov <juri@jurta.org>
9716
9717 * info.el (Info-finder-find-node): Use `package--builtins' instead
9718 of `package-alist'. Use node names formed by the pattern "Keyword "
9719 and the keyword name.
9720
e981b61f
AS
97212011-11-19 Andreas Schwab <schwab@linux-m68k.org>
9722
1d00653d 9723 * progmodes/sh-script.el (sh-assignment-regexp): Add entry for bash.
e981b61f 9724
3ffbc301
JL
97252011-11-19 Juri Linkov <juri@jurta.org>
9726
9727 * info.el (Info-hide-note-references): Add `:set' tag to `defcustom'
9728 that calls `revert-buffer' on all Info buffers. (Bug#9915)
9729 (Info-revert-find-node): Remove let-bindings `old-buffer-name',
9730 `old-history', `old-history-forward'. Add let-binding
9731 `window-selected'. Remove calls to `kill-buffer',
9732 `switch-to-buffer' and `Info-mode'. Set `Info-current-file' to nil
9733 before calling `Info-find-node', so `Info-find-node-2' will reread
9734 the Info file. Restore window positions only when `window-selected'
9735 is non-nil.
9736
30c62133
JL
97372011-11-19 Juri Linkov <juri@jurta.org>
9738
9739 * isearch.el (isearch-lazy-highlight-new-loop):
9740 Remove condition `(not isearch-error)'. (Bug#9918)
9741
9742 * misearch.el (multi-isearch-search-fun): Add condition
9743 `(not bound)' to ignore lazy-highlighting search.
9744 Add the search-failed message "end of multi" when the end of
9745 multi-sequence is reached. Uncapitalize the search-failed
9746 message "Repeat for next buffer".
9747
9748 * info.el (Info-search): Add the search-failed message
9749 "end of the manual" when the end of the manual is reached
9750 in Isearch mode.
9751
645ca9cf
JL
97522011-11-19 Juri Linkov <juri@jurta.org>
9753
9754 * info.el (Info-find-node-2, Info-select-node, Info-history-find-node):
9755 Use non-destructive `remove' instead of `delete' because
9756 `Info-history-list' stored to `Info-isearch-initial-history-list' in
9757 `Info-isearch-start' might need to be restored in `Info-isearch-end'.
9758
df754f66
JL
97592011-11-19 Juri Linkov <juri@jurta.org>
9760
9761 * isearch.el (isearch-edit-string): Let-bind `history-add-new-input'
9762 to nil instead of binding `search-ring' and `regexp-search-ring'.
9763 (Bug#9185)
9764
0e23d96a
EZ
97652011-11-19 Eli Zaretskii <eliz@gnu.org>
9766
9767 * simple.el (line-move): Force movement by logical lines for any
9768 hscrolled window, not only when auto-hscroll-mode is on.
9769 (line-move-visual): Update doc string to that effect. (Bug#10076)
9770
8a6ccb66
AS
97712011-11-19 Andreas Schwab <schwab@linux-m68k.org>
9772
9773 * language/european.el (macintosh): Define as alias for mac-roman.
9774
49ae5b39
EZ
97752011-11-19 Eli Zaretskii <eliz@gnu.org>
9776
9777 * mail/rmailmm.el (rmail-mime-display-header)
9778 (rmail-mime-display-tagline, rmail-mime-display-body): New defsubsts.
9779 (rmail-mime-entity-segment, rmail-mime-toggle-raw)
9780 (rmail-mime-toggle-hidden, rmail-mime-insert-text)
9781 (rmail-mime-insert-bulk, rmail-mime-insert-multipart)
9782 (rmail-mime-insert, rmail-mime-insert-tagline): Use them instead
9783 of a raw aref.
9784 (rmail-mime-entity-segment): To get past the tagline, move forward
9785 2 more lines, to account for the 2 empty lines that precede and
9786 follow the line with the buttons.
9787 (rmail-mime-update-tagline): Move one more line, to get past the
9788 empty line that follows the buttons in the tagline. (Bug#9520)
9789
c56cad4a
MR
97902011-11-19 Martin Rudalics <rudalics@gmx.at>
9791
9792 * window.el (window-max-delta-1, window-min-delta-1)
9793 (window-min-size-1, window-state-get-1, window-state-put-1)
9794 (window-state-put-2): Use "window--" prefix.
9795
cbe71af3
SM
97962011-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
9797
2ad52c60
SM
9798 * emacs-lisp/smie.el: Improve warnings and conflict detection.
9799 (smie-warning-count): New var.
9800 (smie-set-prec2tab): Use it.
9801 (smie-bnf->prec2): Improve warnings. Add docstring.
9802 (smie-bnf--closer-alist): Rename from smie-bnf-closer-alist.
9803 (smie-bnf--set-class): New function.
9804 (smie-bnf--classify): Rename from smie-bnf-classify. Rewrite to fix
9805 corner case.
9806
6944dbc1
SM
9807 * progmodes/compile.el: Obey compilation-first-column in dest buffer.
9808 (compilation-error-properties, compilation-move-to-column):
9809 Handle compilation-first-column while in the target buffer.
9810
c400c4d7
SM
9811 * progmodes/cc-engine.el (c-remove-stale-state-cache-backwards):
9812 Don't hardcode point-min==1.
9813
6dbe3e96
SM
9814 * eshell/esh-cmd.el (eshell-do-eval): Handle `setq' (bug#9907).
9815 (eshell-rewrite-for-command): Remove workaround.
9816 (eshell-do-pipelines, eshell-do-pipelines-synchronously)
9817 (eshell-do-eval, eshell-exec-lisp): Avoid gratuitous setq.
9818 * eshell/esh-util.el (eshell-condition-case, eshell-for): Use declare.
9819
cbe71af3
SM
9820 * files-x.el (modify-file-local-variable): Obey commenting conventions.
9821
a8e1496d
GM
98222011-11-17 Glenn Morris <rgm@gnu.org>
9823
9824 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
9825 Ignore buffer-local generated-autoload-file if it is the same
9826 as the global value. (Bug#10049)
9827
df85d315
JB
98282011-11-17 Juanma Barranquero <lekktu@gmail.com>
9829
9830 * textmodes/reftex-toc.el (reftex-toc-return-marker, reftex-toc-help)
9831 (reftex-toc, reftex-toc, reftex-toc-dframe-p, reftex-toc-next-heading)
9832 (reftex-toc-previous-heading, reftex-toc-max-level)
9833 (reftex-toc-goto-line-and-hide, reftex-toc-show-calling-point)
9834 (reftex-toc-quit, reftex-toc-revert, reftex-toc-jump)
9835 (reftex-toc-do-promote, reftex-toc-promote-prepare)
9836 (reftex-toc-promote-action, reftex-toc-extract-section-number)
9837 (reftex-toc-load-all-files-for-promotion, reftex-toc-rename-label)
9838 (reftex-toc-rename-label, reftex-toc-visit-location)
9839 (reftex-toc-visit-location, reftex-toggle-auto-toc-recenter)
9840 (reftex-toggle-auto-toc-recenter, reftex-toggle-auto-toc-recenter)
9841 (reftex-make-separate-toc-frame): Fix typos, and use TOC consistently,
9842 leaving "*toc*" only for references to the buffer.
9843
a0c2d0ae
MR
98442011-11-17 Martin Rudalics <rudalics@gmx.at>
9845
9846 * window.el (window-resize, delete-window, split-window):
9847 Replace window-splits by window-combination-resize.
1d00653d 9848 * cus-start.el (window-splits): Replace by window-combination-resize.
a0c2d0ae 9849
35c0bac8
GM
98502011-11-17 Glenn Morris <rgm@gnu.org>
9851
9852 * progmodes/sh-script.el (sh-font-lock-keywords-var):
9853 Make bash entry derive from sh entry, not shell entry.
9854
d0c8fc8a
MA
98552011-11-16 Michael Albinus <michael.albinus@gmx.de>
9856
7262a87c
MA
9857 * net/tramp-sh.el (tramp-sh-handle-file-truename): Cache only the
9858 local file name.
9859
7877f373
JB
98602011-11-16 Juanma Barranquero <lekktu@gmail.com>
9861
9862 * menu-bar.el (menu-bar-file-menu):
9863 * printing.el (pr-ps-utility):
9864 * calendar/icalendar.el (icalendar, icalendar--convert-tz-offset)
9865 (icalendar--convert-to-ical, icalendar--convert-ordinary-to-ical)
9866 (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
9867 (icalendar--convert-sexp-to-ical, icalendar--convert-block-to-ical)
9868 (icalendar--convert-float-to-ical, icalendar--convert-date-to-ical)
9869 (icalendar--convert-cyclic-to-ical)
9870 (icalendar--convert-anniversary-to-ical, icalendar-import-buffer)
9871 (icalendar--convert-ical-to-diary)
9872 (icalendar--convert-recurring-to-diary)
9873 (icalendar--convert-non-recurring-all-day-to-diary)
9874 (icalendar-import-format-sample):
9875 * progmodes/idlw-shell.el (idlwave-shell-mode):
9876 * progmodes/vhdl-mode.el (vhdl-mode, vhdl-print-two-column)
9877 (vhdl-print-customize-faces, vhdl-mode, vhdl-ps-print-settings)
9878 (vhdl-ps-print-init): Fix typos.
9879
10649b82
KM
98802011-11-16 Ken Manheimer <ken.manheimer@gmail.com>
9881
9d0cfcd6
GM
9882 * allout.el, allout-widgets.el (file metadata): Attribute copyright to
9883 FSF and collapse date sequence, obscure author/maintainer email address
9884 better, remove extra version line, track relocation of author's webpage.
10649b82 9885
9d0cfcd6
GM
9886 * progmodes/python.el (python-pdbtrack-input-prompt)
9887 (python-pdbtrack-track-stack-file): Adjust to recognize ipdb as well as
9888 regular python pdb prompts. Adjustments shamelessly taken exactly as
9889 suggested in EmacsWiki page (tiny change):
9890 http://www.emacswiki.org/PythonProgrammingInEmacs#toc14
8642c216 9891
58179cce
JB
98922011-11-16 Juanma Barranquero <lekktu@gmail.com>
9893
9894 * expand.el (expand-pos, expand-index, expand-point):
9895 Remove redundant info from docstring.
9896 (expand-add-abbrevs): Doc fix.
9897 (expand-c-sample-expand-list, expand-sample-lisp-mode-expand-list)
9898 (expand-sample-perl-mode-expand-list): Fix typos.
9899
9900 * net/dbus.el (dbus-event-member-name):
9901 * play/5x5.el (5x5-solve-rotate-left, 5x5-solver-output):
9902 * term/pc-win.el (msdos-create-frame-with-faces):
9903 * textmodes/texinfmt.el (texinfo-format-image): Fix typos.
9904
b6f67890
MR
99052011-11-16 Martin Rudalics <rudalics@gmx.at>
9906
9907 * window.el (split-window, window-state-get-1)
9908 (window-state-put-1, window-state-put-2): Rename occurrences of
9909 window-nest to window-combination-limit.
1d00653d 9910 * cus-start.el (window-nest): Rename to window-combination-limit.
b6f67890 9911
ce7ddba0
CY
99122011-11-16 Chong Yidong <cyd@gnu.org>
9913
9914 * progmodes/autoconf.el (autoconf-mode): Fix comment-start-skip
9915 regexp (Bug#10033).
9916
3ae704f4
SM
99172011-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
9918
9919 * tmm.el (tmm-prompt): Use minibuffer-with-setup-hook (bug#10053).
9920 `completing-read' will remove *Completions* and will preserve
9921 current-buffer for us.
9922 (tmm-add-prompt): Users of *Completions* will always (re)set its
9923 major mode.
9924 (tmm-old-comp-map): Remove.
9925
6ad1cdde
GM
99262011-11-16 Glenn Morris <rgm@gnu.org>
9927
9928 * mail/rmailedit.el: Require rmailmm when compiling.
9929 (rmail-old-mime-state): New declaration.
9930 (rmail-edit-current-message): If editing a mime message,
9931 edit the "raw" message from the mbox buffer.
9932 (rmail-cease-edit): Handle mime messages. (Bug#9840)
9933
d20faa20
GM
99342011-11-15 Glenn Morris <rgm@gnu.org>
9935
9936 * mail/rmailmm.el (rmail-mime-toggle-raw): Remove entity arg,
9937 which wasn't being used. Add optional arg to force given state.
9938 (rmail-mime): Add optional arg to force given state.
9939
c7015153
JB
99402011-11-15 Juanma Barranquero <lekktu@gmail.com>
9941
9942 * allout.el (allout-encryption-plaintext-sanitization-regexps):
9943 * frame.el (display-mm-dimensions-alist):
9944 * outline.el (outline-mode-menu-bar-map, outline-move-subtree-up)
9945 (outline-move-subtree-down):
9946 * net/newst-treeview.el (newsticker--treeview-do-get-node-of-feed)
9947 (newsticker--treeview-do-get-node):
9948 * net/quickurl.el (quickurl-list-buffer-name):
9949 * progmodes/dcl-mode.el (dcl-mode):
9950 * progmodes/gdb-mi.el (gdb-mapcar*):
9951 * progmodes/sql.el (sql-mode-oracle-font-lock-keywords): Fix typos.
9952
45261b50
GM
99532011-11-15 Glenn Morris <rgm@gnu.org>
9954
9955 * mail/rmail.el (rmail-file-coding-system): It's only ever used
9956 in a boolean sense, so just make it a boolean, and fix the doc.
9957 (rmail-show-mime-function, rmail-mime-feature)
9958 (rmail-require-mime-maybe): Doc fixes.
9959 (rmail-show-message-1): Check rmail-show-mime-function is non-nil.
9960
9961 * mail/rmailmm.el (rmail-show-mime): Doc fix.
9962
0d26e0b6
JB
99632011-11-15 Juanma Barranquero <lekktu@gmail.com>
9964
9965 * epg.el (epg-start-decrypt, epg-start-verify, epg-start-sign)
9966 (epg-start-encrypt, epg-start-export-keys, epg-start-import-keys)
9967 (epg-start-receive-keys, epg-start-delete-keys, epg-start-sign-keys)
9968 (epg-start-generate-key, epg-context-set-progress-callback): Fix typos.
9969
447f30f6
GM
99702011-11-15 Glenn Morris <rgm@gnu.org>
9971
672b871d
GM
9972 * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-segment)
9973 (rmail-mime-shown-mode, rmail-mime-hidden-mode, rmail-mime-raw-mode)
9974 (rmail-mime-toggle-hidden, rmail-mime-insert-tagline)
9975 (rmail-mime-insert-header, rmail-mime-handle, rmail-mime-parse)
9976 (rmail-mime, rmail-show-mime): Doc fixes.
9977
f6aa5bb1
GM
9978 * term/ns-win.el (mode-line-frame-identification):
9979 Leave it alone. (Bug#10051)
9980
947cd66b
GM
9981 * simple.el (mark-whole-buffer): Doc fix. (Bug#10023)
9982
447f30f6
GM
9983 * mail/rmailout.el (rmail-output-to-rmail-buffer):
9984 Handle empty buffers. (Bug#9978)
9985
0b381c7e
JB
99862011-11-14 Juanma Barranquero <lekktu@gmail.com>
9987
9988 * international/mule.el (define-charset):
9989 * mail/rmailmm.el (rmail-mime-find-header-encoding):
9990 * progmodes/prolog.el (prolog-mode-hook, prolog-inferior-mode-hook):
9991 * progmodes/verilog-mode.el (verilog-backward-token):
9992 * textmodes/ispell.el (lookup-words):
9993 * textmodes/sgml-mode.el (sgml-guess-indent): Fix typos.
9994
71e027ac
GM
99952011-11-14 Glenn Morris <rgm@gnu.org>
9996
56632ce4
GM
9997 * progmodes/executable.el
9998 (executable-make-buffer-file-executable-if-script-p):
9999 Handle file-modes returning nil.
10000
40500957
GM
10001 * mail/rmailsum.el (rmail-summary): Remove movement to beginning of
10002 message - not necessary, and causes problems. (Bug#9831)
10003
071c2340
GM
10004 * mail/rmailsum.el (rmail-new-summary): Preserve message number.
10005
d3cfca60
GM
10006 * mail/rmail.el (rmail-no-mail-p): Remove mode-line N/M indicator.
10007
71e027ac
GM
10008 * mail/rmailsum.el (rmail-summary, rmail-new-summary)
10009 (rmail-new-summary-1): Allow empty summaries. (Bug#9964)
10010 (rmail-new-summary): Remember that rmail-summary-buffer is buffer-local.
10011
89d61221
MR
100122011-11-12 Martin Rudalics <rudalics@gmx.at>
10013
10014 * window.el (window-resize, delete-window): Use window-splits
10015 variable instead of function.
10016 (window-state-get-1, window-state-put-2, window-state-put):
10017 Don't deal with windows' splits status.
10018
98282f6f
GM
100192011-11-12 Glenn Morris <rgm@gnu.org>
10020
10021 * apropos.el (apropos-do-all, apropos-library, apropos-value)
10022 (apropos-documentation): Doc fixes.
10023
40a8bdf6
JB
100242011-11-11 Juanma Barranquero <lekktu@gmail.com>
10025
10026 * progmodes/idlw-shell.el (idlwave-shell-make-new-bp-overlay):
10027 * textmodes/sgml-mode.el (html-tag-help): Fix typos.
10028
65bd19ff
SM
100292011-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
10030
10031 * electric.el (electric-indent-post-self-insert-function): Make it
10032 possible for a char to only indent in some circumstances.
10033 (electric-indent-mode): Simplify.
10034
54f9154c
MR
100352011-11-11 Martin Rudalics <rudalics@gmx.at>
10036
10037 * window.el (windows-with-parameter): Remove unused function.
10038 (windows-at-side): Rename to window-at-side-list.
10039 (window-check, window-atom-check, window-atom-check-1)
5e92ca23
MR
10040 (window-side-check, window-size-ignore, window-size-fixed-1)
10041 (window-in-direction-2): Prefix with "window--".
10042 (window-tree-1): Rename to window--subtree, fix doc-string.
54f9154c 10043
68cbc58b
GM
100442011-11-11 Glenn Morris <rgm@gnu.org>
10045
10046 * subr.el (eval-after-load): If FILE is already loaded,
10047 evaluate FORM before it gets wrapped in more stuff. (Bug#10009)
10048
b2621720
GM
100492011-11-10 Glenn Morris <rgm@gnu.org>
10050
9a4de110
GM
10051 * vc/vc-svn.el (vc-svn-create-repo, vc-svn-modify-change-comment):
10052 Call svn via vc-svn-command rather than vc-do-command.
10053 (vc-svn-command): Add --non-interactive. (Bug#9993)
10054 (vc-svn-update, vc-svn-merge-news): No need for --non-interactive.
10055
b2621720
GM
10056 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
10057 Add toggle-read-only. (Bug#7292)
10058 * files.el (toggle-read-only): Mention that it should only
10059 be used interactively. (Bug#10006)
10060
1dce7193
SM
100612011-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
10062
d9ac1a1e
SM
10063 * progmodes/compile.el (compilation-error-regexp-alist-alist):
10064 Adjust regexp for OCaml warnings.
10065
0c325082
SM
10066 * electric.el (electric-pair-post-self-insert-function): Let user
10067 turn it off buffer-locally (bug#9932).
10068
90132c14
SM
10069 * progmodes/python.el (python-beginning-of-statement):
10070 Rewrite (bug#2703).
10071
1dce7193
SM
10072 * progmodes/compile.el: Better handle TABs (bug#9749).
10073 (compilation-internal-error-properties)
10074 (compilation-next-error-function): Obey the target buffer's
10075 compilation-error-screen-columns.
10076
c4e7c63a
JB
100772011-11-09 Juanma Barranquero <lekktu@gmail.com>
10078
10079 * progmodes/meta-mode.el: Remove obsolete comments.
10080 (meta-right-comment-regexp, meta-ignore-comment-regexp):
10081 Fix typos in docstrings.
10082
2cffd681
MR
100832011-11-09 Martin Rudalics <rudalics@gmx.at>
10084
10085 * window.el (window-size-fixed-p): Rewrite doc-string.
1dce7193 10086 (window-resizable-p): Rename to window--resizable-p. Update callers.
2cffd681
MR
10087 (window--resizable): New function. Make all callers of
10088 window-resizable call window--resizable instead.
10089 (window-resizable): Rewrite in terms of window--resizable.
10090
0edcba87
GM
100912011-11-08 Glenn Morris <rgm@gnu.org>
10092
10093 * progmodes/delphi.el (delphi-mode-syntax-table):
10094 Let define-derived-mode define a proper syntax table. (Bug#9994)
10095
4b0d61e3
SM
100962011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
10097
10098 * window.el: Stay away from defsubst.
10099 (window-list-no-nils): Remove.
10100 (window-state-get-1, window-state-get): Use backquote instead.
10101
cd394be1 101022011-11-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
fcbcac2e 10103
4b0d61e3 10104 * emacs-lisp/find-func.el (find-function-read):
fcbcac2e 10105 Fix incorrect use of default argument in `completing-read'.
10106
e1c2c6f2
MR
101072011-11-08 Martin Rudalics <rudalics@gmx.at>
10108
10109 * window.el (display-buffer-function, special-display-function):
10110 Mention display-buffer-record-window but do not mention
10111 help-setup parameter in doc-strings.
b3f4a882 10112 (window-min-delta): Fix doc-string typo.
e1c2c6f2 10113
105216ed
CY
101142011-11-08 Chong Yidong <cyd@gnu.org>
10115
10116 * window.el (window-total-height, window-total-width): Doc fix.
10117 (window-body-size): Move from C.
10118 (window-body-height, window-body-width): Move to C.
10119
0a9f9ab5
SM
101202011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
10121
10122 * window.el: Make special-display like display-buffer-alist (bug#9532).
10123 (display-buffer--special-action): New function, morphed
10124 from display-buffer--special.
10125 (display-buffer): Use it to handle special-display-buffers at higher
10126 priority (just after display-buffer-alist).
10127 (display-buffer-fallback-action, display-buffer--other-frame-action)
10128 (pop-to-buffer-same-window): Remove display-buffer--special.
10129
a769dd15
GM
101302011-11-07 Glenn Morris <rgm@gnu.org>
10131
10132 * calendar/cal-menu.el (cal-menu-set-date-title):
10133 Do nothing if not in a calendar. (Bug#9976)
10134
05a61ee3
SM
101352011-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
10136
10137 * files.el (find-file): Always use selected-window.
10138
be7f5545
MR
101392011-11-07 Martin Rudalics <rudalics@gmx.at>
10140
10141 * window.el (window-combinations): Make WINDOW argument
10142 mandatory. Rewrite doc-string.
10143 (walk-window-subtree, window-atom-check, window-min-delta)
10144 (window-max-delta, window--resize-this-window)
10145 (window--resize-root-window-vertically, window-tree)
10146 (balance-windows, window-state-put): Rewrite doc-strings as to
10147 not mention the term "subwindow".
10148 (window--resize-subwindows-skip-p): Rename to
10149 window--resize-child-windows-skip-p.
10150 (window--resize-subwindows-normal): Rename to
10151 window--resize-child-windows-normal.
10152 (window--resize-subwindows): Rename to
10153 window--resize-child-windows.
10154 (window-or-subwindow-p): Rename to window--in-subtree-p.
10155
3c6702ef
ML
101562011-11-07 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
10157
10158 * mail/rmail.el (rmail-get-new-mail, rmail-insert-inbox-text):
10159 Ensure that mbox format messages end in two newlines (Bug#9974).
10160
49745b39
CY
101612011-11-06 Chong Yidong <cyd@gnu.org>
10162
10163 * window.el (window-combination-p): Function deleted; its
10164 side-effect is not used in any existing code.
10165 (window-combinations, window-combined-p): Call window-*-child
10166 directly.
10167
24300f5f
CY
101682011-11-05 Chong Yidong <cyd@gnu.org>
10169
10170 * window.el (window-valid-p): Rename from window-any-p.
447f16b8
CY
10171 (window-size-ignore, window-state-get): Callers changed.
10172 (window-normalize-window): Rename from window-normalize-any-window.
10173 New arg LIVE-ONLY, replacing window-normalize-live-window.
1dce7193 10174 (window-normalize-live-window): Delete.
447f16b8
CY
10175 (window-combination-p, window-combined-p, window-combinations)
10176 (walk-window-subtree, window-atom-root, window-min-size)
10177 (window-sizable, window-sizable-p, window-size-fixed-p)
10178 (window-min-delta, window-max-delta, window-resizable)
10179 (window-resizable-p, window-full-height-p, window-full-width-p)
10180 (window-current-scroll-bars, window-point-1, set-window-point-1)
10181 (window-at-side-p, window-in-direction, window-resize)
10182 (adjust-window-trailing-edge, maximize-window, minimize-window)
10183 (window-deletable-p, delete-window, delete-other-windows)
10184 (record-window-buffer, unrecord-window-buffer)
10185 (switch-to-prev-buffer, switch-to-next-buffer, window--delete)
10186 (quit-window, split-window, window-state-put)
10187 (set-window-text-height, fit-window-to-buffer)
10188 (shrink-window-if-larger-than-buffer): Callers changed.
24300f5f 10189
89bd5ee1
EZ
101902011-11-04 Eli Zaretskii <eliz@gnu.org>
10191
53479029
EZ
10192 * mail/rmail.el (rmail-simplified-subject): Decode subject with
10193 rfc2047-decode-string.
10194 (rmail-mime-toggle-hidden): Declare to avoid byte-compilation
10195 warnings.
10196
89bd5ee1
EZ
10197 * window.el (window-body-height, window-body-width): Mention in
10198 the doc string that the return values are in frame's canonical
10199 units. (Bug#9949)
10200
bd17fdee
AM
102012011-11-03 Alan Mackenzie <acm@muc.de>
10202
10203 * progmodes/cc-langs.el (c-nonlabel-token-2-key): New variable for
10204 change in cc-engine.el.
10205
acc825c5
SM
102062011-11-02 Stefan Monnier <monnier@iro.umontreal.ca>
10207
10208 * window.el (switch-to-buffer): Use `force-same-window' interactively.
10209
1885e5b8
MR
102102011-11-02 Martin Rudalics <rudalics@gmx.at>
10211
10212 * window.el (quit-window): Call unrecord-window-buffer after
10213 showing another buffer in the window. (Bug#9937)
acc825c5 10214 (bury-buffer): Call switch-to-prev-buffer with second argument `bury'.
1885e5b8 10215
ebe06da9
JB
102162011-11-02 Juanma Barranquero <lekktu@gmail.com>
10217
10218 * vc/vc-bzr.el (vc-bzr-state, vc-bzr-after-dir-status):
10219 Accept status with more than 9 shelves. (Bug#9935)
10220 Reported by Colin D Bennett <colin@gibibit.com>.
10221
4ee88440
MR
102222011-11-01 Martin Rudalics <rudalics@gmx.at>
10223
10224 * help.el (with-help-window): Don't reference
10225 temp-buffer-show-specifiers in doc-string.
10226
08e1d82c
AS
102272011-10-31 Andreas Schwab <schwab@linux-m68k.org>
10228
10229 * subr.el (keymap--menu-item-with-binding): Ignore item if not a
10230 menu-item.
10231
84bd6e9e
VJL
102322011-10-30 Vinicius Jose Latorre <viniciusjl@ig.com.br>
10233
10234 * whitespace.el: New version 13.2.2.
10235 (whitespace-newline-mode): Disable properly. Reported by Sarah
10236 <EmacsWiki>.
10237
dba0634a
UJ
102382011-10-30 Ulf Jasper <ulf.jasper@web.de>
10239
10240 * net/newst-treeview.el: Remove "Time-stamp".
10241 (newsticker--group-manage-orphan-feeds): Do not call
10242 newsticker--treeview-tree-update.
db22a3c2
JB
10243 (newsticker-treeview-update, newsticker-treeview):
10244 Call newsticker--treeview-tree-update if necessary.
dba0634a 10245
3d8daefe
MR
102462011-10-30 Martin Rudalics <rudalics@gmx.at>
10247
10248 * window.el (window-iso-combination-p, window-iso-combined-p)
acc825c5
SM
10249 (window-iso-combinations): Remove "iso-" infix.
10250 Suggested by Chong Yidong.
3d8daefe
MR
10251 (window-min-size-1, window-size-fixed-1, window-min-delta-1)
10252 (window-max-delta-1, window-resize, window--resize-siblings)
10253 (window--resize-this-window, adjust-window-trailing-edge)
10254 (split-window, balance-windows-1)
10255 (shrink-window-if-larger-than-buffer):
10256 * calendar/calendar.el (calendar-generate-window):
db22a3c2 10257 * help.el (resize-temp-buffer-window): Adjust callers accordingly.
3d8daefe 10258
1bc4c3ae
SM
102592011-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
10260
10261 * eshell/esh-cmd.el (eshell-rewrite-for-command): Don't modify the list
10262 in place (bug#9907).
10263 (eshell-subcommand-arg-values, eshell-rewrite-named-command)
10264 (eshell-rewrite-if-command, eshell-rewrite-for-command)
10265 (eshell-structure-basic-command, eshell-rewrite-while-command)
10266 (eshell-invokify-arg, eshell-parse-pipeline, eshell-parse-command)
10267 (eshell-parse-subcommand-argument, eshell-parse-lisp-argument)
10268 (eshell-trap-errors, eshell-do-pipelines, eshell-do-eval)
10269 (eshell-do-pipelines-synchronously, eshell-eval-command):
10270 Use backquotes and prefer setq to set.
10271 (eshell-lookup-function, function-p-func, eshell-functionp): Remove.
10272 (eshell-macrop): Use functionp.
c1e2f5fa 10273 (eshell-do-eval): Handle multiple expressions in `while' body.
1bc4c3ae 10274
30b65d9c
CY
102752011-10-30 Chong Yidong <cyd@gnu.org>
10276
10277 * emulation/viper-cmd.el (viper-exec-change): Use push-mark
10278 instead of set-mark (Bug#9810).
10279
2d197ffb
CY
102802011-10-30 Chong Yidong <cyd@gnu.org>
10281
10282 * window.el (split-window-below, split-window-right): Rename from
10283 split-window-above-each-other and split-window-side-by-side
10284 respectively. All callers changed.
10285 (split-window-sensibly, split-window-sensibly): Use them.
10286 (split-window-keep-point): Doc fix.
10287
10288 * isearch.el: Add isearch-scroll property to split-window-below
10289 and split-window-right.
10290
10291 * follow.el (follow-mode):
10292 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
10293 * progmodes/ada-xref.el (ada-gdb-application):
10294 * emulation/vip.el (vip-buffer-in-two-windows):
10295 * image-dired.el (image-dired-dired-with-window-configuration):
10296 * dired-x.el (dired-do-find-marked-files):
10297 * dired.el (dired-pop-to-buffer):
10298 * bs.el (bs--show-with-configuration):
10299 * vc/emerge.el (emerge-setup-windows):
10300 * textmodes/two-column.el (2C-two-columns):
10301 * textmodes/reftex-toc.el (reftex-toc):
10302 * progmodes/gdb-mi.el (gdb-setup-windows):
10303 * progmodes/fortran.el (fortran-window-create):
10304 * net/newst-treeview.el (newsticker--treeview-window-init):
10305 * emulation/ws-mode.el (wordstar-C-o-map, wordstar-mode):
10306 * emulation/tpu-edt.el (tpu-gold-map):
10307 * emulation/crisp.el (crisp-mode-map):
10308 * calendar/calendar.el (calendar-basic-setup): Callers changed.
10309
38bb2ca8
CY
103102011-10-29 Chong Yidong <cyd@gnu.org>
10311
aa4de341
CY
10312 * subr.el (y-or-n-p): Add code for batch mode (Bug#9818).
10313
e1eb5385
CY
10314 * mouse.el (mouse-yank-primary): Push the mark (Bug#9894).
10315
5d2ece3c
CY
10316 * textmodes/flyspell.el (flyspell-word): Fix char offset for
10317 forged Ispell output (Bug#7904).
10318
38bb2ca8
CY
10319 * emacs-lisp/package.el (package-refresh-contents): Add autoload.
10320
d0af9f77
SM
103212011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
10322
10323 * doc-view.el: Avoid ugly errors about not finding nil.
10324 (doc-view-ghostscript-program, doc-view-dvipdfm-program)
10325 (doc-view-dvipdf-program, doc-view-unoconv-program)
10326 (doc-view-ps2pdf-program, doc-view-pdftotext-program):
10327 Avoid nil or absolute file name as default value.
10328 (doc-view-pdf->txt, doc-view-ps->pdf): Use executable-find here.
10329
52bedd34
AM
103302011-10-28 Alan Mackenzie <acm@muc.de>
10331
db22a3c2 10332 * progmodes/cc-defs.el (c-version): -> 5.32.2.
52bedd34 10333
7e43cfa5
AM
103342011-10-28 Alan Mackenzie <acm@muc.de>
10335
10336 Amend the handling of c-beginning/end-of-defun in nested declaration
10337 scopes.
10338
52bedd34
AM
10339 * progmodes/cc-vars.el (c-defun-tactic): Move here from
10340 cc-langs.el. Change it to a defcustom.
7e43cfa5 10341
52bedd34
AM
10342 * progmodes/cc-langs.el (c-defun-tactic): Move this variable to
10343 cc-vars.el.
7e43cfa5 10344
d0af9f77
SM
10345 * progmodes/cc-engine.el (c-beginning-of-statement-1):
10346 Prevent "class foo : bar" being spuriously recognized as a label.
7e43cfa5 10347
52bedd34 10348 * progmodes/cc-cmds.el (c-narrow-to-most-enclosing-decl-block):
acc825c5 10349 Add parameter `inclusive' (to include enclosing braces in the region).
7e43cfa5
AM
10350 (c-widen-to-enclosing-decl-scope): New function.
10351 (c-while-widening-to-decl-block): New macro.
10352 (c-beginning-of-defun, c-end-of-defun): Change algorithm to keep going
10353 outward for defun boundaries, and correspondingly change symbol
10354 `respect-enclosure' to `go-outward'.
10355 (c-declaration-limits): Change algorithm to report only the "innermost"
10356 defun's boundaries.
10357
1a2ce9ee
DD
103582011-10-28 Deniz Dogan <deniz@dogan.se>
10359
10360 * net/rcirc.el (rcirc-mode): Use hard newlines.
10361
bc97a826
AM
103622011-10-28 Alan Mackenzie <acm@muc.de>
10363
10364 Amend to indent and fontify macros "which include their own semicolon"
10365 correctly, using the "virtual semicolon" mechanism.
10366
52bedd34 10367 * progmodes/cc-defs.el: Update "virtual semicolon" comments.
bc97a826 10368
d0af9f77 10369 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
7877f373 10370 Recode to scan one line at a time rather than having \n and \r
58179cce 10371 explicitly in c-stmt-delim-chars (for some modes, e.g. AWK).
bc97a826 10372 (c-forward-label): Amend for virtual semicolons.
58179cce 10373 (c-at-macro-vsemi-p, c-macro-vsemi-status-unknown-p): New functions.
bc97a826 10374
52bedd34
AM
10375 * progmodes/cc-fonts.el (c-font-lock-declarations): Take account
10376 of the new C macros.
bc97a826 10377
52bedd34 10378 * progmodes/cc-langs.el (c-at-vsemi-p-fn):
acc825c5
SM
10379 (c-vsemi-status-unknown-p-fn): Move to earlier in the file.
10380 (c-opt-cpp-symbol, c-line-comment-start-regexp): New language vars.
bc97a826
AM
10381 (c-opt-cpp-macro-define): Make into a full language variable.
10382 (c-stmt-delim-chars, c-stmt-delim-chars-with-comma): Special value for
10383 AWK Mode (including \n, \r) removed, no longer needed.
10384
d0af9f77
SM
10385 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode):
10386 Invoke c-make-macro-with-semi-re.
bc97a826 10387
52bedd34
AM
10388 * progmodes/cc-vars.el (c-macro-with-semi-re):
10389 (c-macro-names-with-semicolon): New variables.
58179cce 10390 (c-make-macro-with-semi-re): New function.
bc97a826 10391
7a6c0941
SM
103922011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
10393
10394 * vc/log-edit.el: Fill empty field rather than adding new one.
10395 (log-edit-add-field): New function.
10396 (log-edit-insert-changelog): Use it.
10397
b0c4cdcf
ML
103982011-10-28 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
10399
10400 * mail/rmail.el (rmail-mode-map): Add M-C-f as in rmailsum (bug#9802).
10401
ee1f1da9
SM
104022011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
10403
10404 * progmodes/gdb-mi.el: Warn the user when -i=mi is missing.
10405 (gdb--check-interpreter): New function.
10406 (gdb): Use it.
10407
51bc5f8b
GM
104082011-10-27 Glenn Morris <rgm@gnu.org>
10409
416a2c45
GM
10410 * emacs-lisp/cl-extra.el (most-positive-float, most-negative-float)
10411 (least-positive-float, least-negative-float)
10412 (least-positive-normalized-float, least-negative-normalized-float)
10413 (float-epsilon, float-negative-epsilon):
10414 Remove unnecessary declarations.
10415
10416 * emacs-lisp/cl-extra.el (cl-float-limits): Add doc string.
10417 * emacs-lisp/cl.el (most-positive-float, most-negative-float)
10418 (least-positive-float, least-negative-float)
10419 (least-positive-normalized-float, least-negative-normalized-float)
10420 (float-epsilon, float-negative-epsilon): Add doc-strings,
10421 based on those in cl.texi.
10422
51bc5f8b
GM
10423 * files.el (set-visited-file-name): If the major-mode changed,
10424 reload the local variables. (Bug#9796)
10425
15de15c6
CY
104262011-10-27 Chong Yidong <cyd@gnu.org>
10427
10428 * subr.el (change-major-mode-after-body-hook): New hook.
10429 (run-mode-hooks): Run it.
10430
ee1f1da9
SM
10431 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
10432 Use change-major-mode-before-body-hook.
15de15c6
CY
10433
10434 * simple.el (fundamental-mode):
10435 * emacs-lisp/derived.el (define-derived-mode): Revert 2010-04-28
10436 change introducing fundamental-mode-hook.
10437
5430d399
JB
104382011-10-26 Juanma Barranquero <lekktu@gmail.com>
10439
acc825c5 10440 * term/w32-win.el (w32-default-color-map): Declare obsolete (Bug#9785).
5430d399 10441
ad74a69e
MA
104422011-10-26 Michael Albinus <michael.albinus@gmx.de>
10443
10444 * ido.el (ido-file-name-all-completions-1): Do not require
c7015153 10445 tramp.el explicitly. (Bug#7583)
ad74a69e 10446
71d4c2a5
SM
104472011-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
10448
10449 * progmodes/octave-mod.el:
10450 * progmodes/octave-inf.el: Update maintainer.
10451
b1f6fa26
CY
104522011-10-26 Chong Yidong <cyd@gnu.org>
10453
10454 * subr.el (with-wrapper-hook): Rewrite doc.
10455
3f04efd6
MA
104562011-10-25 Michael Albinus <michael.albinus@gmx.de>
10457
10458 * net/tramp-sh.el (tramp-sh-handle-file-directory-p): Return t for
ad74a69e 10459 filenames "/method:foo:". (Bug#9793)
3f04efd6 10460
410488d3
SM
104612011-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
10462
10463 * comint.el (comint-get-old-input-default): Fix use-prompt-regexp case
10464 (bug#9865).
10465
c1ebb47e
GM
104662011-10-24 Glenn Morris <rgm@gnu.org>
10467
10468 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix. (Bug#9819)
10469
7f5c46c7
MA
104702011-10-24 Michael Albinus <michael.albinus@gmx.de>
10471
10472 * notifications.el: Add the requirement of a running D-Bus session
10473 bus to the Commentary.
10474
db2440b6
JL
104752011-10-24 Juri Linkov <juri@jurta.org>
10476
10477 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
10478 `search-whitespace-regexp' only when `isearch-regexp' is non-nil.
10479 (Bug#9364)
10480
feecf435
JL
104812011-10-24 Juri Linkov <juri@jurta.org>
10482
10483 * info.el (Info-following-node-name-re): Add newline to the list
10484 of allowed characters for leading space. (Bug#9824)
10485
a3839de2
SM
104862011-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
10487
acc825c5
SM
10488 * progmodes/octave-inf.el (inferior-octave-mode-map):
10489 Fix C-c C-h binding.
a3839de2
SM
10490 * progmodes/octave-mod.el (octave-help): Remove.
10491
09388e76
MA
104922011-10-23 Michael Albinus <michael.albinus@gmx.de>
10493
10494 Sync with Tramp 2.2.3.
10495
10496 * net/tramp-cache.el (top): Pacify byte-compiler using
10497 `init-file-user' and `site-run-file'.
10498
10499 * net/trampver.el: Update release number.
10500
86c60681
CY
105012011-10-23 Chong Yidong <cyd@gnu.org>
10502
10503 * files.el (toggle-read-only): Remove obsolete comment about
10504 version control.
10505
10506 * vc/vc-hooks.el (vc-toggle-read-only): Make it an obsolete alias
10507 for toggle-read-only. Note that this hasn't called vc-next-action
10508 since 2008-05-02, though it wasn't documented at the time.
10509
a3839de2
SM
10510 * vc/ediff-init.el (ediff-toggle-read-only-function):
10511 Use toggle-read-only.
86c60681 10512
cd5495ff
AM
105132011-10-22 Alan Mackenzie <bug-cc-mode@gnu.org>
10514
10515 Fix bug #9560, sporadic wrong indentation; improve instrumentation
10516 of c-parse-state.
10517
00b77525 10518 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
a3839de2 10519 correct faulty logical expression.
cd5495ff
AM
10520 (c-parse-state-state, c-record-parse-state-state):
10521 (c-replay-parse-state-state): New defvar/defuns.
10522 (c-debug-parse-state): Use new functions.
10523
42ee24ed
MR
105242011-10-22 Martin Rudalics <rudalics@gmx.at>
10525
10526 * mouse.el (mouse-drag-line): Fix minibuffer resizing broken by
53ebff1f 10527 last fix. Use window-in-direction correctly.
42ee24ed 10528
a7dee7e7
CY
105292011-10-21 Chong Yidong <cyd@gnu.org>
10530
10531 * progmodes/idlwave.el (idlwave-mode):
10532 * progmodes/vera-mode.el (vera-mode): No need to set
a3839de2
SM
10533 require-final-newline; that's done in prog-mode.
10534 Suggested by Stefan Monnier.
a7dee7e7 10535
e07b9a6d
MR
105362011-10-21 Martin Rudalics <rudalics@gmx.at>
10537
10538 * mouse.el (mouse-drag-window-above)
10539 (mouse-drag-move-window-bottom, mouse-drag-move-window-top)
10540 (mouse-drag-mode-line-1, mouse-drag-header-line)
10541 (mouse-drag-vertical-line-rightward-window): Remove.
10542 (mouse-drag-line): New function.
10543 (mouse-drag-mode-line, mouse-drag-header-line)
10544 (mouse-drag-vertical-line): Call mouse-drag-line.
10545 * window.el (window-at-side-p, windows-at-side): New functions.
10546
7e1361d9
UM
105472011-10-21 Ulrich Mueller <ulm@gentoo.org>
10548
10549 * tar-mode.el (tar-grind-file-mode):
10550 Fix handling of setuid/setgid, handle sticky bit. (Bug#9817)
10551
30fcaf3a
CY
105522011-10-21 Chong Yidong <cyd@gnu.org>
10553
10554 * progmodes/idlwave.el (idlwave-mode):
a3839de2
SM
10555 * progmodes/vera-mode.el (vera-mode):
10556 Use mode-require-final-newline.
30fcaf3a 10557
516eddb0
GM
105582011-10-20 Glenn Morris <rgm@gnu.org>
10559
db22a3c2 10560 * vc/vc.el (vc-next-action): Handle removed directories. (Bug#9781)
516eddb0 10561
10d5f513
CS
105622011-10-20 Christoph Scholtes <cschol2112@googlemail.com>
10563
10564 * emulation/cua-base.el (cua-set-mark): Fix case of string.
10565
ac6c8639
CY
105662011-10-20 Chong Yidong <cyd@gnu.org>
10567
10568 * emulation/cua-base.el (cua-mode):
10569 * mail/footnote.el (footnote-mode):
10570 * mail/mailabbrev.el (mail-abbrevs-mode):
10571 * net/xesam.el (xesam-minor-mode):
10572 * progmodes/bug-reference.el (bug-reference-mode):
10573 * progmodes/cap-words.el (capitalized-words-mode):
10574 * progmodes/compile.el (compilation-minor-mode)
10575 (compilation-shell-minor-mode):
10576 * progmodes/gud.el (gud-tooltip-mode):
10577 * progmodes/hideif.el (hide-ifdef-mode):
10578 * progmodes/idlw-shell.el (idlwave-shell-electric-debug-mode):
10579 * progmodes/subword.el (subword-mode):
10580 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
10581 * progmodes/which-func.el (which-function-mode):
10582 * term/tvi970.el (tvi970-set-keypad-mode):
10583 * term/vt100.el (vt100-wide-mode):
10584 * textmodes/flyspell.el (flyspell-mode):
10585 * textmodes/ispell.el (ispell-minor-mode):
10586 * textmodes/nroff-mode.el (nroff-electric-mode):
10587 * textmodes/paragraphs.el (use-hard-newlines):
10588 * textmodes/refill.el (refill-mode):
10589 * textmodes/reftex.el (reftex-mode):
10590 * textmodes/rst.el (rst-minor-mode):
10591 * textmodes/sgml-mode.el (html-autoview-mode)
10592 (sgml-electric-tag-pair-mode):
10593 * textmodes/tex-mode.el (latex-electric-env-pair-mode):
10594 * vc/diff-mode.el (diff-auto-refine-mode, diff-minor-mode):
10595 * emulation/crisp.el (crisp-mode):
10596 * emacs-lisp/eldoc.el (eldoc-mode):
10597 * emacs-lisp/checkdoc.el (checkdoc-minor-mode): Doc fixes for new
10598 minor mode behavior.
10599
aa42ab43
JL
106002011-10-19 Juri Linkov <juri@jurta.org>
10601
10602 * descr-text.el (describe-char): Add #x2010 and #x2011 to
10603 the list of hard-coded chars with escape-glyph face.
10604
89400f1d
SM
106052011-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
10606
10607 * vc/log-edit.el (log-edit-empty-buffer-p): Ignore empty headers.
10608
305c07f6
MA
106092011-10-19 Michael Albinus <michael.albinus@gmx.de>
10610
10611 * net/tramp.el (tramp-connectable-p): Make a stronger check on a
10612 running process.
10613
13754b54
GM
106142011-10-19 Glenn Morris <rgm@gnu.org>
10615
10616 * vc/vc-bzr.el (vc-bzr-after-dir-status):
10617 Ignore ignored files. (Bug#9726)
10618
06e21633
CY
106192011-10-19 Chong Yidong <cyd@gnu.org>
10620
10621 Doc fix for minor modes, stating that an omitted argument enables
10622 the mode unconditionally when called from Lisp.
10623
10624 * abbrev.el (abbrev-mode):
10625 * allout.el (allout-mode):
10626 * autoinsert.el (auto-insert-mode):
10627 * autoarg.el (autoarg-mode, autoarg-kp-mode):
10628 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
10629 (global-auto-revert-mode):
10630 * battery.el (display-battery-mode):
10631 * composite.el (global-auto-composition-mode)
10632 (auto-composition-mode):
10633 * delsel.el (delete-selection-mode):
10634 * desktop.el (desktop-save-mode):
10635 * dired-x.el (dired-omit-mode):
10636 * dirtrack.el (dirtrack-mode):
10637 * doc-view.el (doc-view-minor-mode):
10638 * double.el (double-mode):
10639 * electric.el (electric-indent-mode, electric-pair-mode):
10640 * emacs-lock.el (emacs-lock-mode):
10641 * epa-hook.el (auto-encryption-mode):
10642 * follow.el (follow-mode):
10643 * font-core.el (font-lock-mode):
10644 * frame.el (auto-raise-mode, auto-lower-mode, blink-cursor-mode):
10645 * help.el (temp-buffer-resize-mode):
10646 * hilit-chg.el (highlight-changes-mode)
10647 (highlight-changes-visible-mode):
10648 * hi-lock.el (hi-lock-mode):
10649 * hl-line.el (hl-line-mode, global-hl-line-mode):
10650 * icomplete.el (icomplete-mode):
10651 * ido.el (ido-everywhere):
10652 * image-file.el (auto-image-file-mode):
10653 * image-mode.el (image-minor-mode):
10654 * iswitchb.el (iswitchb-mode):
10655 * jka-cmpr-hook.el (auto-compression-mode):
10656 * linum.el (linum-mode):
10657 * longlines.el (longlines-mode):
10658 * master.el (master-mode):
10659 * mb-depth.el (minibuffer-depth-indicate-mode):
10660 * menu-bar.el (menu-bar-mode):
10661 * minibuf-eldef.el (minibuffer-electric-default-mode):
10662 * mouse-sel.el (mouse-sel-mode):
10663 * msb.el (msb-mode):
10664 * mwheel.el (mouse-wheel-mode):
10665 * outline.el (outline-minor-mode):
10666 * paren.el (show-paren-mode):
10667 * recentf.el (recentf-mode):
10668 * reveal.el (reveal-mode, global-reveal-mode):
10669 * rfn-eshadow.el (file-name-shadow-mode):
10670 * ruler-mode.el (ruler-mode):
10671 * savehist.el (savehist-mode):
10672 * scroll-all.el (scroll-all-mode):
10673 * scroll-bar.el (scroll-bar-mode):
10674 * server.el (server-mode):
10675 * shell.el (shell-dirtrack-mode):
10676 * simple.el (auto-fill-mode, transient-mark-mode)
10677 (visual-line-mode, overwrite-mode, binary-overwrite-mode)
10678 (line-number-mode, column-number-mode, size-indication-mode)
10679 (auto-save-mode, normal-erase-is-backspace-mode, visible-mode):
10680 * strokes.el (strokes-mode):
10681 * time.el (display-time-mode):
10682 * t-mouse.el (gpm-mouse-mode):
10683 * tool-bar.el (tool-bar-mode):
10684 * tooltip.el (tooltip-mode):
10685 * type-break.el (type-break-mode-line-message-mode)
10686 (type-break-query-mode):
10687 * view.el (view-mode):
10688 * whitespace.el (whitespace-mode, whitespace-newline-mode)
10689 (global-whitespace-mode, global-whitespace-newline-mode):
10690 * xt-mouse.el (xterm-mouse-mode): Doc fix.
10691
a3839de2
SM
10692 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
10693 Fix autogenerated docstring.
06e21633 10694
5214e501
JL
106952011-10-19 Juri Linkov <juri@jurta.org>
10696
10697 * net/browse-url.el (browse-url-can-use-xdg-open): Support LXDE
10698 by checking environment variables "DESKTOP_SESSION" and
10699 "XDG_CURRENT_DESKTOP". (Bug#9779)
10700
195f8db9
JL
107012011-10-19 Juri Linkov <juri@jurta.org>
10702
10703 * net/browse-url.el (browse-url-browser-function): Add "Chromium".
10704 (browse-url-chromium-program, browse-url-chromium-arguments):
10705 New defcustoms.
10706 (browse-url-default-browser): Check for `browse-url-chromium' and
10707 call `browse-url-chromium-program'.
10708 (browse-url-chromium): New command. (Bug#9779)
10709
343a34ff
JB
107102011-10-18 Juanma Barranquero <lekktu@gmail.com>
10711
10712 * facemenu.el (list-colors-duplicates): On Windows, detect more
10713 duplicates by assuming that only colors matching "^System" are
10714 special "system colors". (Bug#9722)
10715
6978a151
SM
107162011-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
10717
10718 * vc/log-edit.el (log-edit): Add "Author:" header to encourage people
10719 to distinguish the author from the committer.
10720
6a80b297
MA
107212011-10-18 Michael Albinus <michael.albinus@gmx.de>
10722
10723 * net/tramp.el (tramp-file-name-handler): Load Tramp packages silently.
10724
b31a5677
JK
107252011-10-18 Jirka Kosek <jirka@kosek.cz> (tiny change)
10726
10727 * international/mule.el (sgml-html-meta-auto-coding-function):
10728 Add support for detecting encoding in HTML5 specified only as
10729 <meta charset="UTF-8">. Implementation just makes http-equiv and
10730 content-type parts from HTML4 encoding string optional. (Bug#9716)
10731
80c6d77f
GM
107322011-10-18 Glenn Morris <rgm@gnu.org>
10733
10734 * vc/vc.el (vc-initial-comment): Mark as obsolete. (Bug#9745)
10735
08b0fee8
CY
107362011-10-18 Chong Yidong <cyd@gnu.org>
10737
10738 * faces.el (cursor): Doc fix.
10739
67e729a5
CY
107402011-10-17 Chong Yidong <cyd@gnu.org>
10741
10742 * font-lock.el (font-lock-maximum-size): Mark as obsolete.
10743
343a34ff 107442011-10-17 Ryan Barrett <emacs@ryanb.org> (tiny change)
87e478b3
RB
10745
10746 * dirtrack.el (dirtrack): Support shell buffers with path
10747 prefixes, e.g. tramp-based remote shells. (Bug#9647)
10748
0bc06380
TZ
107492011-10-17 Teodor Zlatanov <tzz@lifelogs.com>
10750
10751 * json.el: Bump version to 1.3 and note change in History.
10752 (json-alist-p, json-plist-p): Rewrite to avoid recursion.
10753
8b79f3e0
SM
107542011-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
10755
5a7c536b
SM
10756 * comint.el (comint-insert-input, comint-send-input)
10757 (comint-get-old-input-default, comint-backward-matching-input)
10758 (comint-next-prompt): Use nil instead of `input' for field property of
10759 past user input (bug#114).
10760
96a8a0df
SM
10761 * minibuffer.el (completion--replace): Inherit surrounding properties
10762 (bug#114).
10763 (minibuffer-complete-and-exit): Use it.
10764
8b79f3e0
SM
10765 * comint.el (comint--table-subvert): Quote the all-completions output
10766 (bug#9160).
10767
b8f7ff0d
MR
107682011-10-17 Martin Rudalics <rudalics@gmx.at>
10769
8b79f3e0 10770 * ido.el (ido-default-buffer-method): Remove redundant :type entry.
4e5c3d2b 10771
b8f7ff0d 10772 * menu-bar.el (menu-bar-file-menu): Add entry for making new
d912bdcf 10773 window on right of selected. (Bug#9350) Reword other window
b8f7ff0d
MR
10774 entries and separate them from frame entries.
10775
c235b555
GM
107762011-10-15 Glenn Morris <rgm@gnu.org>
10777
10778 * emacs-lisp/ert.el (ert--explain-equal-rec, ert-select-tests):
10779 Doc fixes.
10780
6bbfa6e1
CY
107812011-10-15 Chong Yidong <cyd@stupidchicken.com>
10782
8b79f3e0
SM
10783 * net/network-stream.el (network-stream-open-starttls):
10784 Improve detection of failure due to lack of TLS support.
ec5c990d 10785
6bbfa6e1
CY
10786 * mail/sendmail.el (sendmail-query-once): Tweak prompt message,
10787 putting the input text in front and in bold.
10788
98488977
SM
107892011-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
10790
3d1337be
SM
10791 * pcmpl-unix.el (pcomplete/ssh): SSH does allow ganging.
10792
ee0b45e4
SM
10793 * mpc.el (mpc-songs-jump-to): Don't burp if the user clicks in an
10794 empty buffer.
10795
98488977
SM
10796 * mouse.el (mouse-drag-mode-line-1): Modify the end-event we pushed on
10797 unread-command-events rather than pushing yet-another event.
10798
186f4720
EZ
107992011-10-14 Eli Zaretskii <eliz@gnu.org>
10800
10801 * mail/sendmail.el (sendmail-query-once): Improve the wording of
10802 the explanation of the possible choices. Make the options passed
10803 to completing-read shorter.
10804
8b7a997c
AM
108052011-10-13 Agustín Martín Domingo <agustin.martin@hispalinux.es>
10806
10807 * textmodes/flyspell.el (flyspell-large-region): Make sure
10808 extended character mode is used if defined (Bug#1339).
10809
12587bbb
EZ
108102011-10-13 Eli Zaretskii <eliz@gnu.org>
10811
10812 * simple.el (what-cursor-position): Fix the display of the
e7e2364b
EZ
10813 character info for LRE, LRO, RLE, and RLO characters by appending
10814 an invisible PDF.
12587bbb 10815
bad41229
SM
108162011-10-13 Stefan Monnier <monnier@iro.umontreal.ca>
10817
10818 * emacs-lisp/timer.el (with-timeout): Make sure we cancel the timer
10819 even in case of error; add debug spec; simplify data flow.
10820 (with-timeout-handler): Remove.
10821
28dbc92f
MA
108222011-10-12 Michael Albinus <michael.albinus@gmx.de>
10823
10824 Fix Bug#6019, Bug#9315.
10825
10826 * files.el (set-auto-mode): Call `file-name-sans-versions' for the
10827 complete `buffer-file-name', the local file name part could look
10828 remotely (for example on VMS).
10829
10830 * net/ange-ftp.el (ange-ftp-run-real-handler): Make it an alias of
10831 `tramp-run-real-handler'.
10832 (ange-ftp-fix-name-for-vms): Handle the case, where `name' is
10833 already quoted by '"'.
10834
10835 * net/tramp.el (tramp-rfn-eshadow-update-overlay): Ignore errors.
10836 Let `file-name-handler-alist' be nil, the local file name part
10837 could look remotely (for example on VMS).
10838
e1b0b23a
SM
108392011-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
10840
10841 * textmodes/flyspell.el (flyspell-word): Move with-local-quit
10842 from here...
10843 (flyspell-post-command-hook): ...to here.
10844
a120bde9
SM
108452011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
10846
10847 * mail/sendmail.el (send-mail-function): Don't use sendmail-query-once
10848 if not needed.
10849 (sendmail-query-once): Remove OS dependencies. Make it a 3-way choice
10850 using completion. Protect against "slow" callers.
10851 Remove the "message hack".
10852
7ce7717b
JL
108532011-10-11 Juri Linkov <juri@jurta.org>
10854
10855 * isearch.el (isearch-lazy-highlight-word): New variable.
10856 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
10857 Use it. (Bug#9727)
10858
c02ee9d6
GM
108592011-10-11 Glenn Morris <rgm@gnu.org>
10860
10861 * progmodes/f90.el (f90-next-statement): Ignore preprocessor lines,
10862 like f90-previous-statement does.
10863
93e616fd 108642011-10-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
10865
1f190e73 10866 * eshell/eshell.el (eshell-command): History should be saved
c02ee9d6
GM
10867 only in interactive use, to avoid error.
10868
af7b6078
SM
108692011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
10870
10871 * minibuffer.el (completion-file-name-table): Fix last change,
10872 i.e. ignore normal errors but not the other ones.
10873
0563dae9
MR
108742011-10-10 Martin Rudalics <rudalics@gmx.at>
10875
10876 * window.el (special-display-buffer-names)
10877 (special-display-regexps): Remove some remnants of earlier
10878 changes from doc-strings.
366ca7f3
MR
10879 (quit-windows-on): New function.
10880
10881 * vc/vc.el (vc-revert, vc-rollback):
10882 * vc/vc-dispatcher.el (vc-finish-logentry): Call quit-windows-on
10883 instead of deleting windows. (Bug#4557) (Bug#5310) (Bug#5556)
9ac13c31 10884 (Bug#6183) (Bug#7074) (Bug#7447)
0563dae9 10885
49677495
MR
108862011-10-09 Martin Rudalics <rudalics@gmx.at>
10887
10888 * window.el (frame-auto-hide-function): Add version tag.
10889 (Bug#9699)
10890
56f2d1e1
MA
108912011-10-09 Michael Albinus <michael.albinus@gmx.de>
10892
10893 * net/tramp.el (tramp-file-name-handler): Add 'debug to the error
10894 condition.
10895
112a6592
LL
108962011-10-09 Leo Liu <sdl.web@gmail.com>
10897
10898 * mail/smtpmail.el (smtpmail-send-data): Add a missing space.
10899 (Bug#9701)
10900
0812589b
GM
109012011-10-08 Glenn Morris <rgm@gnu.org>
10902
10903 * progmodes/f90.el (f90-calculate-indent): Give preprocessor lines
10904 before the first code statement zero indent. (Bug#9690)
10905
b2b0776e
CY
109062011-10-08 Chong Yidong <cyd@stupidchicken.com>
10907
10908 * simple.el (count-words-region): Always count in the region.
10909 Report the number of lines and characters too.
10910 (count-words): New command, which counts in the buffer if the
10911 region is inactive, as count-words-region used to.
10912 (count-words--message): New function. Handle plurals.
10913 (count-lines-region): Make it an alias for count-words-region.
10914
10915 * bindings.el (esc-map): Replace count-lines-region with
10916 count-words-region.
10917
c557cd6b
MR
109182011-10-08 Martin Rudalics <rudalics@gmx.at>
10919
10920 * window.el (window--delete): Delete dedicated frame
10921 unconditionally when argument KILL is non-nil. (Bug#9699)
235ce86f 10922 (switch-to-buffer): Fix doc-string typo.
c557cd6b 10923
61a57ef4 109242011-10-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
10925
3a7d293b 10926 * eshell/eshell.el (eshell-command): Avoid using hooks.
61a57ef4 10927
c3833279
CY
109282011-10-07 Chong Yidong <cyd@stupidchicken.com>
10929
10930 * bindings.el ([M-left],[M-right]): Bind to left-word and
10931 right-word respectively.
10932
21ce8245
GM
109332011-10-07 Glenn Morris <rgm@gnu.org>
10934
10935 * cus-start.el (debug-on-quit): Fix custom type.
10936
6d823bb2
LMI
109372011-10-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
10938
0181e193
LMI
10939 * subr.el (define-key-after): Clarify that the function is not
10940 useful for non-menu keymaps.
10941
6d823bb2
LMI
10942 * progmodes/gdb-mi.el (gdb): Fix typo in doc string.
10943
8e3459ce 109442011-10-06 Thierry Volpiatto <thierry.volpiatto@gmail.com>
10945
21ce8245 10946 * eshell/eshell.el (eshell-command): Enable `eshell-mode' only
8e3459ce 10947 in current minibuffer (Fix bug with recursive minibuffers).
10948
a1c2d21e
CY
109492011-10-06 Chong Yidong <cyd@stupidchicken.com>
10950
10951 * progmodes/gdb-mi.el (gdb): Doc fix.
10952
5a4cf282
MR
109532011-10-05 Martin Rudalics <rudalics@gmx.at>
10954
10955 * window.el (frame-auto-hide-function): New option replacing
10956 frame-auto-delete. Suggested by Stefan Monnier.
10957 (window--delete): Call frame-auto-hide-function instead of
10958 investigating frame-auto-delete.
c96111ea
MR
10959 (window-point-1, set-window-point-1): New functions.
10960 (window-in-direction, record-window-buffer, window-state-get-1)
10961 (display-buffer-record-window): Use window-point-1 instead of
10962 window-point.
10963 (set-window-buffer-start-and-point): Use set-window-point-1.
5a4cf282 10964
9854542e
SM
109652011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
10966
10967 * emacs-lisp/edebug.el: Heed checkdoc recommendations.
10968
8943cfb0
GM
109692011-10-05 Glenn Morris <rgm@gnu.org>
10970
10971 * progmodes/perl-mode.el (perl-electric-terminator): Doc fix.
10972 (perl-calculate-indent): Suppress scan errors. (Bug#2205)
10973
647ab967
LL
109742011-10-05 Leo Liu <sdl.web@gmail.com>
10975
10976 * subr.el (read-char-choice): Fix argument to buffer-live-p which
10977 works with buffer object.
10978
3ddfbced
SM
109792011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
10980
10981 * mpc.el (mpc-tool-bar-map): Add labels.
10982
bdfa5dd2
GM
109832011-10-04 Glenn Morris <rgm@gnu.org>
10984
10985 * calendar/holidays.el (calendar-check-holidays): Doc fix.
10986
0e2070b5
MR
109872011-10-04 Martin Rudalics <rudalics@gmx.at>
10988
10989 * window.el (window--delete): New function.
10990 (frame-auto-delete): Resuscitate option.
10991 (bury-buffer, replace-buffer-in-windows)
10992 (quit-window): Rewrite using window--delete.
10993 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
10994 Pass display-buffer-mark-dedicated to window--display-buffer-2
10995 (Bug#9639).
10996
3dc61a09
SM
109972011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
10998
915a9b64
SM
10999 * pcmpl-unix.el (pcomplete/scp): Don't assume pcomplete-all-entries
11000 returns a list (bug#9554). Add remote file name completion.
11001 * comint.el (comint--table-subvert): Curry and get quote&unquote
11002 functions as arguments.
11003 (comint--complete-file-name-data): Adjust call accordingly.
11004 * pcomplete.el (pcomplete--table-subvert): Remove.
11005 (pcomplete-completions-at-point): Use comint--table-subvert instead.
11006
3dc61a09
SM
11007 * minibuffer.el (completion-table-case-fold): Use currying.
11008 (completion--styles-type, completion--cycling-threshold-type):
11009 New constants.
11010 (completion-styles, completion-category-overrides)
11011 (completion-cycle-threshold): Use them.
11012 * pcomplete.el (pcomplete-completions-at-point): Adjust call to
11013 completion-table-case-fold.
11014
8ea0a993
SB
110152011-10-03 Stephen Berman <stephen.berman@gmx.net>
11016
11017 * minibuffer.el (completion-category-overrides): Fix type of styles
11018 and add more user friendly tags (bug#9660).
11019
8c24b7f6
SM
110202011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
11021
11022 * international/mule-cmds.el: Fix abuses of apply-partially (bug#9661).
11023 (mule-input-method-string): New widget.
11024 (default-input-method, language-info-custom-alist): Use it.
11025
428fe61a
SM
110262011-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
11027
32c1fffd
SM
11028 * pcomplete.el: Require comint.
11029 (pcomplete--common-suffix): Remove.
11030 (pcomplete--common-quoted-suffix): Use comint--common-suffix instead.
11031 (pcomplete--table-subvert): Sync with comint--table-subvert.
11032 (pcomplete--entries): Use comint-completion-file-name-table.
11033 * comint.el (comint-unquote-filename): Simplify.
11034 (comint-completion-file-name-table): New function (bug#9616).
11035 (comint--complete-file-name-data): Use it.
11036
428fe61a
SM
11037 * pcmpl-gnu.el (pcmpl-gnu-with-file-buffer): New macro (bug#9643).
11038 (pcmpl-gnu-tar-buffer): Remove.
11039 (pcmpl-gnu-with-file-buffer): Use it to avoid leaving the tar's buffer
9aaf2b9c
GM
11040 around. Make sure pcomplete-suffix-list is only changed temporarily.
11041 Don't look inside the tar's file if it's too large.
428fe61a 11042
04c52e2f
CY
110432011-10-01 Chong Yidong <cyd@stupidchicken.com>
11044
ce3cefcc
CY
11045 * cus-edit.el (custom-mode-map):
11046 * epa.el (epa-key-list-mode-map):
11047 * man.el (Man-mode-map):
11048 * startup.el (splash-screen-keymap):
11049 * simple.el (special-mode-map): Use scroll-up-command and
11050 scroll-down-command.
11051
11052 * progmodes/idlw-help.el (idlwave-help-mode-map):
11053 * progmodes/ebrowse.el (ebrowse-electric-position-mode-map):
11054 * net/newst-plainview.el (newsticker-mode-map):
11055 * emulation/ws-mode.el (wordstar-mode-map):
11056 * emulation/vi.el (vi-com-map):
11057 * calc/calc-graph.el (calc-graph-show-dumb):
11058 * term/sun.el (terminal-init-sun):
11059 * term/ns-win.el (global-map):
11060 * progmodes/grep.el (grep-mode-map):
11061 * progmodes/ebrowse.el (ebrowse-electric-list-mode-map):
11062 * mail/rmail.el (rmail-mode-map):
11063 * progmodes/cpp.el (cpp-edit-mode-map): Likewise.
11064
04c52e2f
CY
11065 * custom.el (custom-safe-themes, load-theme): Treat value of t for
11066 custom-safe-themes as special.
11067
79adf8c8
JD
110682011-10-01 Julien Danjou <julien@danjou.info>
11069
11070 * notifications.el (notifications-notify): Fix docstring.
11071
63bd50d3
PS
110722011-10-01 Per Starbäck <per@starback.se>
11073
11074 * pcmpl-gnu.el (pcomplete/tar): Fix tar-header-name call. (Bug#9643)
11075
199e4c7e
MR
110762011-09-30 Martin Rudalics <rudalics@gmx.at>
11077
11078 * startup.el (command-line-1): Fix last fix by inserting
11079 initial-scratch-message into *scratch* before displaying it.
cbc5ee22 11080 (Bug#9605) and (Bug#9636)
199e4c7e 11081
fe5f08dd
EZ
110822011-09-29 Eli Zaretskii <eliz@gnu.org>
11083
11084 * simple.el (line-move): If auto-hscroll-mode is disabled and the
11085 window is hscrolled, move by logical lines. (Bug#9607)
11086 (line-move-visual): Update the doc string to the above effect.
11087
b5516bbd
MR
110882011-09-29 Martin Rudalics <rudalics@gmx.at>
11089
ccee00c0
MR
11090 * window.el (display-buffer-record-window): When WINDOW is the
11091 selected window use `point' instead of `window-point'. (Bug#9626)
11092
b5516bbd
MR
11093 * startup.el (command-line-1): Use insert-before-markers when
11094 inserting initial-scratch-message. (Bug#9605)
ccee00c0 11095
b5516bbd
MR
11096 * help.el (help-window): Remove variable.
11097
52aa0014
GM
110982011-09-29 Glenn Morris <rgm@gnu.org>
11099
11100 * pcmpl-cvs.el (pcomplete/cvs): Add "status" handler.
11101
df9a7357
JB
111022011-09-29 Juanma Barranquero <lekktu@gmail.com>
11103
11104 * descr-text.el (describe-char-categories): Accept category
11105 descriptions more than one line long.
11106
a8406c20
SM
111072011-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
11108
88d9610c
SM
11109 * simple.el (delete-trailing-whitespace): Fix last change.
11110
a5daf810
SM
11111 * progmodes/perl-mode.el (perl-syntax-propertize-function):
11112 Don't confuse "y => 3" as the beginning of a `y' operation.
11113
a8406c20
SM
11114 * emacs-lisp/debug.el (debug-convert-byte-code): Don't assume the
11115 object has more than 4 slots (bug#9613).
11116
a239d4e9
JB
111172011-09-28 Juanma Barranquero <lekktu@gmail.com>
11118
11119 * subr.el (with-output-to-temp-buffer):
11120 * net/quickurl.el (quickurl, quickurl-browse-url):
11121 Fix typos in docstrings.
11122
693fbdb6
EZ
111232011-09-27 Eli Zaretskii <eliz@gnu.org>
11124
11125 * minibuffer.el (completion-styles)
11126 (completion-category-overrides): Cross reference each other in doc
11127 strings.
11128
8b457e28
GM
111292011-09-27 Glenn Morris <rgm@gnu.org>
11130
11131 * pcmpl-cvs.el (pcmpl-cvs-entries): Update for Emacs 22.1 changes
11132 to split-string. (Bug#9606)
11133
85a16208
LMI
111342011-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
11135
11136 * mail/smtpmail.el (smtpmail-via-smtp): Fix STARTTLS detection
11137 (bug#9615).
11138
502f9ebd
CY
111392011-09-27 Chong Yidong <cyd@stupidchicken.com>
11140
11141 * emacs-lisp/package.el (list-packages): Fix echo area message.
11142
7690bdea
LL
111432011-09-27 Leo Liu <sdl.web@gmail.com>
11144
11145 * ido.el (ido-read-internal): Accept cons cell HIST arg.
11146
e2ee6f30
MA
111472011-09-25 Michael Albinus <michael.albinus@gmx.de>
11148
11149 * net/dbus.el (dbus-unregister-object): Don't release services for
11150 registered signals. (Bug#9581)
11151
f3f98342
TZ
111522011-09-25 Teodor Zlatanov <tzz@lifelogs.com>
11153
11154 * progmodes/cfengine.el (cfengine-auto-mode): Add convenience
11155 function that picks between cfengine 2 and 3 support
11156 automatically. Update docs accordingly.
11157
dd7aa8dd
KH
111582011-09-22 Kenichi Handa <handa@m17n.org>
11159
11160 * language/ind-util.el (indian-tml-base-table): Add TAMIL DIGIT
11161 ZERO.
11162 (indian-itrans-v5-table-for-tamil): New variable.
11163 (indian-tml-itrans-v5-hash): Use the above variable (Bug#9336).
11164
3f2b07f8
KM
111652011-09-22 Ken Manheimer <ken.manheimer@gmail.com>
11166
11167 * allout.el (allout-this-command-hid-stuff): Buffer-local variable
11168 that's true if the current command involved collapsing of text.
11169 It's reset to false at the beginning of the next command.
11170 (allout-post-command-business): Move the cursor to the beginning
11171 of entry if the cursor is hidden and collapsing activity just
11172 happened.
11173
371d6a61
CY
111742011-09-24 Chong Yidong <cyd@stupidchicken.com>
11175
11176 * mouse.el (mouse-drag-track): Set scroll-margin to 0 while
11177 tracking (Bug#9541).
11178
2ac2721a
UJ
111792011-09-24 Ulf Jasper <ulf.jasper@web.de>
11180
11181 * net/newst-reader.el (newsticker-html-renderer)
1154d12e
JB
11182 (newsticker-show-news): Automatically load html rendering package
11183 if newsticker-html-renderer is set. Fixes "Warning: defvar ignored
11184 because w3m-fill-column is let-bound" and the error "Symbol's value
11185 as variable is void: w3m-fill-column".
2ac2721a 11186
fac7ae53
MA
111872011-09-24 Michael Albinus <michael.albinus@gmx.de>
11188
11189 * net/dbus.el (dbus-unregister-object): Remove match rule of signals.
11190 Release services only if they are defined. (Bug#9581)
11191
e08b633b
RS
111922011-09-23 Richard Stallman <rms@gnu.org>
11193
e488d29c
RS
11194 * textmodes/paragraphs.el (forward-sentence): For backwards case,
11195 distinguish start of paragraph from start of its text.
11196
19c38752
RS
11197 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs): Autoload.
11198
e08b633b
RS
11199 * mail/rmail.el (rmail-view-buffer-kill-buffer-hook): New function.
11200 (rmail-generate-viewer-buffer): Put that hook on view buffer.
11201 (rmail-mode-kill-buffer-hook): Override that hook, to kill view buffer.
11202
0a39f27e
AS
112032011-09-23 Andreas Schwab <schwab@linux-m68k.org>
11204
11205 * international/mule-diag.el (mule-diag): Insert a newline after
11206 each fontset description.
11207
db4e950d
SM
112082011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
11209
11210 * simple.el (delete-trailing-whitespace):
11211 Document last change; simplify.
11212
eca3f3ea
PW
112132011-09-23 Peter J. Weisberg <pj@irregularexpressions.net>
11214
d68e189a
PW
11215 * simple.el (delete-trailing-whitespace): Also delete
11216 extra newlines at the end of the buffer.
11217
eca3f3ea
PW
11218 * textmodes/picture.el: Make motion commands obey shift-select-mode.
11219 (picture-newline): Use forward-line so as to ignore fields.
11220
01c157cc
SM
112212011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
11222
11223 * subr.el (with-wrapper-hook): Fix edebug spec.
11224
022de23e
LMI
112252011-09-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
11226
11227 * simple.el (kill-line): Note effect of `show-trailing-whitespace'
11228 (bug#4538).
11229
91683089
MA
112302011-09-23 Michael Albinus <michael.albinus@gmx.de>
11231
eca3f3ea
PW
11232 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
11233 Fix nasty bug using wrong cached values.
91683089 11234
5bdd6fa4
AM
112352011-09-23 Alan Mackenzie <acm@muc.de>
11236
11237 * progmodes/cc-defs.el (c-version): Increase to 5.31.9.
11238
97adfb97
CY
112392011-09-23 Chong Yidong <cyd@stupidchicken.com>
11240
11241 * window.el (pop-to-buffer): Ensure right window is selected if we
11242 chose another frame.
11243
d4ef2b50
EZ
112442011-09-22 Eli Zaretskii <eliz@gnu.org>
11245
11246 * simple.el (what-cursor-position): Use get-char-property-change
11247 and next-single-char-property-change, to be able to show display
11248 properties that come from overlays as well as text properties.
11249
72258fe5
CY
112502011-09-22 Chong Yidong <cyd@stupidchicken.com>
11251
11252 * window.el (pop-to-buffer-same-window): New (reinstated) fun.
11253
11254 * cmuscheme.el (run-scheme, switch-to-scheme):
11255 * cus-edit.el (customize-group, custom-buffer-create)
11256 (customize-browse):
11257 * info.el (info):
11258 * shell.el (shell):
11259 * mail/sendmail.el (mail):
11260 * progmodes/inf-lisp.el (inferior-lisp): Use it (Bug#9532).
11261
8f098516
RS
112622011-09-22 Richard Stallman <rms@gnu.org>
11263
11264 * textmodes/paragraphs.el (forward-sentence): When setting PAR-BEG,
11265 move back only to line beg, don't move back over blank lines.
11266
e74f1bb6
MA
112672011-09-22 Michael Albinus <michael.albinus@gmx.de>
11268
11269 * files.el (copy-directory): Set directory attributes only in case
11270 they could be retrieved from the source directory. (Bug#9565)
11271
bfeef8b6
DK
112722011-09-22 Dima Kogan <dkogan@secretsauce.net> (tiny change)
11273
11274 * progmodes/hideshow.el (hs-looking-at-block-start-p)
11275 (hs-find-block-beginning, hs-hide-level-recursive):
11276 Ignore strings as well as comments. (Bug#9502)
11277
7e423bb8
AS
112782011-09-22 Andrew Schein <andrew@andrewschein.com> (tiny change)
11279
11280 * progmodes/sql.el (sql-comint-postgres):
11281 Convert port number to a string. (Bug#9566)
11282
b4d72fcf
MR
112832011-09-22 Martin Rudalics <rudalics@gmx.at>
11284
11285 * window.el (quit-window): Undedicate window when switching to
11286 previous buffer. Reported by Thierry Volpiatto
11287 <thierry.volpiatto@gmail.com>.
7f80c86d
MR
11288 (special-display-popup-frame): When popping up a new frame reset
11289 its previous buffers to nil. Simplify code.
b4d72fcf 11290
a7b88dc6
MA
112912011-09-21 Michael Albinus <michael.albinus@gmx.de>
11292
11293 * net/tramp.el (tramp-handle-shell-command): Set process sentinel
11294 and process filter, as done also in `shell-command'.
11295
cf4eacfd
MR
112962011-09-21 Martin Rudalics <rudalics@gmx.at>
11297
eca3f3ea 11298 * window.el (set-window-buffer-start-and-point):
1154d12e
JB
11299 Call set-window-start with NOFORCE argument t.
11300 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
cf4eacfd
MR
11301 (quit-window): Reword doc-string. Handle new format of
11302 quit-restore parameter. Don't delete window if it has a
11303 previous buffer we can show instead of the present one.
11304 (display-buffer-record-window): Rewrite using a new format for
11305 the quit-restore window parameter
11306 (special-display-popup-frame, display-buffer-same-window)
11307 (display-buffer-reuse-window, display-buffer-pop-up-frame)
11308 (display-buffer-pop-up-window, display-buffer-use-some-window):
11309 Adapt symbol passed to display-buffer-record-window.
11310 * help.el (help-window-setup): Handle new format of quit-restore
11311 parameter.
11312
8d28cb95
SM
113132011-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
11314
94ab793f
SM
11315 * faces.el (face-list): Fix docstring (bug#9564).
11316
8d28cb95
SM
11317 * window.el (display-buffer--action-function-custom-type):
11318 Don't include internal functions in the Custom interface.
11319
3820edeb
JL
113202011-09-20 Juri Linkov <juri@jurta.org>
11321
11322 * info.el (Info-history-skip-intermediate-nodes): New defcustom.
11323 (Info-forward-node, Info-backward-node, Info-next-preorder)
11324 (Info-last-preorder): Use it. (Bug#9528)
11325
5147931d
JL
113262011-09-20 Juri Linkov <juri@jurta.org>
11327
11328 * info.el (Info-last-preorder): Visit last menu item only when
11329 `Info-scroll-prefer-subnodes' is non-nil (third test-case of bug#9528).
11330
cf499a1a
JD
113312011-09-20 Julien Danjou <julien@danjou.info>
11332
11333 * password-cache.el (password-cache-remove): Remove entries even if the
11334 value is nil, so that password with a nil value (negative caching) is
11335 possible to invalidate.
11336
f84e2fe2
LM
113372011-09-20 Lawrence Mitchell <wence@gmx.li>
11338
11339 * progmodes/f90.el (f90-break-line): If breaking inside comment delete
11340 all whitespace around breakpoint. (Bug#9553)
11341 (f90-find-breakpoint): Only break at whitespace inside a comment.
11342
78054a46
SM
113432011-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
11344
11345 * minibuffer.el (completion-file-name-table): Keep track of errors.
11346 (completion-table-with-predicate): Handle the case where pred1 is nil.
11347 * pcomplete.el (pcomplete-completions-at-point): Simplify.
11348
345083b2
SM
113492011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
11350
e24e27be
SM
11351 * emacs-lisp/debug.el (debugger-args): Give it a docstring.
11352 (debugger-return-value): Signal an error if the debugging context does
11353 not await any return value.
11354
345083b2
SM
11355 * ps-mule.el (ps-mule-plot-string): Don't inf-loop (bug#5108).
11356 * image-mode.el (image-toggle-display-text)
11357 (image-toggle-display-image): Stay away from evil `intangible'.
11358
08d355e3
LL
113592011-09-19 Leo Liu <sdl.web@gmail.com>
11360
11361 * replace.el (occur-revert-arguments): Make it permanent-local.
11362 (occur-mode): Don't call font-lock-defontify.
11363
f01da43f
CY
113642011-09-19 Chong Yidong <cyd@stupidchicken.com>
11365
11366 * net/ldap.el (ldap-search-internal): Don't push empty search
11367 result (Bug#9508).
11368
b6072fa6
SM
113692011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
11370
11371 * whitespace.el (whitespace-newline-mode): Disable it right (bug#9550).
11372
443d6696
MA
113732011-09-19 Michael Albinus <michael.albinus@gmx.de>
11374
11375 * net/tramp-sh.el (tramp-inline-compress-commands): Add "xz".
11376 Suggested by Liam Stitt <stittl@cuug.ab.ca>.
11377
7cc6e154
JL
113782011-09-18 Juri Linkov <juri@jurta.org>
11379
11380 * buff-menu.el (Buffer-menu-mode-map):
11381 * dired.el (dired-mode-map):
11382 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map)
11383 (lisp-interaction-mode-map):
11384 * emacs-lisp/package.el (package-menu-mode-map):
11385 * epa.el (epa-key-list-mode-map):
11386 * menu-bar.el (menu-bar-showhide-tool-bar-menu)
11387 (menu-bar-options-menu):
11388 * outline.el (outline-mode-menu-bar-map):
11389 * vc/vc-bzr.el (vc-bzr-shelve-menu-map, vc-bzr-extra-menu-map):
11390 * vc/vc-dir.el (vc-dir-menu-map):
11391 * vc/vc-git.el (vc-git-stash-menu-map, vc-git-extra-menu-map):
11392 Capitalize non-function content words in menu item strings.
11393
11394 * dired.el (dired-mode-map): Add menu item for
11395 `image-dired-dired-toggle-marked-thumbs'.
11396
80302a81
JL
113972011-09-18 Juri Linkov <juri@jurta.org>
11398
11399 * isearch.el (isearch-edit-string): Bind `isearch-new-case-fold'
11400 to `isearch-case-fold-search' and restore its original value
11401 after the `isearch-mode' call.
11402
46c5cf66
JL
114032011-09-18 Juri Linkov <juri@jurta.org>
11404
11405 * progmodes/grep.el (grep-process-setup): Don't check code for 1
11406 because `zgrep' returns 1 for successful matches (bug#9226).
11407
d18b513b
JL
114082011-09-18 Juri Linkov <juri@jurta.org>
11409
11410 * info.el (Info-extract-menu-node-name): Check the second match
11411 for empty string (second test-case of bug#9528).
11412 (Info-last-preorder): Let-bind `Info-history' to nil to not add
11413 intermediate nodes to the history (first test-case of bug#9528).
11414
72753f87
JL
114152011-09-18 Juri Linkov <juri@jurta.org>
11416
11417 * info.el (Info-mode-syntax-table): New variable.
1154d12e 11418 (Info-mode): Set `:syntax-table' to `Info-mode-syntax-table' (bug#3312).
72753f87 11419
c9384295
JL
114202011-09-18 Juri Linkov <juri@jurta.org>
11421
1154d12e
JB
11422 * info.el (Info-file-supports-index-cookies):
11423 Increment line-beginning-position's arg from 3 to 4 because makeinfo
11424 outputs one more line for long file names (bug#4142).
c9384295 11425
d473dce8
CY
114262011-09-18 Chong Yidong <cyd@stupidchicken.com>
11427
11428 * newcomment.el (comment-normalize-vars): If prompting for
11429 comment-start, set comment-start-skip too (Bug#8424).
11430
2176854d
JB
114312011-09-18 Johan Bockgård <bojohan@gnu.org>
11432
11433 * icomplete.el: Fix previous fix of Bug#5849.
11434 (icomplete-mode): Don't set completion-show-inline-help.
11435 (icomplete-minibuffer-setup): Set completion-show-inline-help
11436 locally during icompletion.
11437
3aace4e4
CY
114382011-09-18 Chong Yidong <cyd@stupidchicken.com>
11439
c940224f
CY
11440 * woman.el (woman2-process-escapes): Don't delete unrecognized
11441 escapes (Bug#7843).
11442
3aace4e4
CY
11443 * files.el (inhibit-first-line-modes-regexps): Add image files.
11444 (hack-local-variables-prop-line): Return nil for malformed
11445 prop-lines (Bug#9044).
11446
710dec63
MA
114472011-09-18 Michael Albinus <michael.albinus@gmx.de>
11448
11449 * net/tramp.el (top): Don't require 'shell.
11450 (tramp-methods): Fix docstring.
11451 (tramp-get-remote-tmpdir): New defun, moved from tramp-sh.el.
8d28cb95
SM
11452 Return complete remote file name. Handle "smb" case.
11453 Use `tramp-tmpdir', if defined for the respective method.
710dec63
MA
11454 (tramp-make-tramp-temp-file): Adapt call of `tramp-get-remote-tmpdir'.
11455
11456 * net/tramp-compat.el (top): Require 'shell.
11457
11458 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
11459 (tramp-maybe-open-connection): Use `tramp-file-name-real-host' for
11460 `tramp-current-host'.
11461 (tramp-get-remote-tmpdir): Remove.
11462
11463 * net/tramp-smb.el (tramp-methods): Add `tramp-remote-shell' and
11464 `tramp-tmpdir' entries.
11465 (tramp-smb-errors): Add "NT_STATUS_IMAGE_ALREADY_LOADED".
11466 (tramp-smb-handle-file-attributes): Ignore errors.
11467 (tramp-smb-wait-for-output): Check also for process end.
11468
5d5ac8ec
LMI
114692011-09-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
11470
11471 * mail/smtpmail.el (smtpmail-via-smtp): Ignore errors that arise
11472 when sending QUIT (bug#9312).
11473
8c0f49f0
CY
114742011-09-17 Chong Yidong <cyd@stupidchicken.com>
11475
11476 * replace.el (occur-mode-map): Rebind occur-edit-mode to "e" (Bug#8463).
11477 (occur-edit-mode-map): Bind C-c C-c to occur-cease-edit and C-o to
11478 occur-mode-display-occurrence.
11479 (occur-edit-mode): Add usage message.
11480 (occur-cease-edit): New command.
11481 (occur-after-change-function): Use text properties to find the
11482 position of the prefix text.
11483 (occur-engine): Set stickiness of prefix text properties.
11484
8f1383f7
GM
114852011-09-17 Glenn Morris <rgm@gnu.org>
11486
11487 * progmodes/etags.el (complete-tag):
11488 Fix call to completion-in-region. (Bug#9526)
11489
744ba0e3
JL
114902011-09-17 Juri Linkov <juri@jurta.org>
11491
11492 * textmodes/ispell.el (ispell-word): Add to the error message
11493 the word, ispell program name and current dictionary (bug#9121).
11494 (ispell-tex-arg-end): Capitalize "error" in the error message.
11495
d9bbf400
AS
114962011-09-17 Andreas Schwab <schwab@linux-m68k.org>
11497
11498 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix overflow
11499 check. (Bug#4251)
11500
8da11505
JL
115012011-09-17 Juri Linkov <juri@jurta.org>
11502
11503 * window.el (window-safe-min-height, window-safe-min-width):
11504 Fix typos (followup to bug#9522).
11505
a91adc7e
SJ
115062011-09-17 Sven Joachim <svenjoac@gmx.de>
11507
11508 * window.el (window-min-width, window-state-put): Fix typos (bug#9522).
11509
064f328a
EZ
115102011-09-16 Eli Zaretskii <eliz@gnu.org>
11511
11512 * simple.el (line-move): If goal-column is set, move by logical
11513 lines, not by display lines. (Bug#971)
11514 (next-line, previous-line, goal-column, line-move-visual): Doc fix
11515 to reflect the above change.
11516
e69df516
SM
115172011-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
11518
11519 * image.el (imagemagick-register-types): Use regexp-opt.
11520
cbb0f9ab
CY
115212011-09-15 Chong Yidong <cyd@stupidchicken.com>
11522
11523 * window.el (display-buffer-base-action): Rename from
11524 display-buffer-default-action. Make default value empty.
11525 (display-buffer-overriding-action): Convert to defvar.
11526 (display-buffer-fallback-action): New var.
11527
25322144
CY
115282011-09-15 Chong Yidong <cyd@stupidchicken.com>
11529
11530 * emacs-lisp/package.el (package-alist): Fix risky-local-variable
11531 declaration.
11532 (package--add-to-archive-contents): If there is a duplicate entry
11533 with an older version, remove it.
11534 (package-menu-mark-delete, package-menu-mark-install)
11535 (package-menu-mark-unmark): Make unused args optional.
e69df516
SM
11536 (package-menu-mark-obsolete-for-deletion):
11537 Use package-menu-get-status instead of a regexp search.
25322144
CY
11538 (package-menu-get-status): Use tabulated-list-entry.
11539 (package-menu-mark-upgrades): New command.
d770725a 11540 (package-menu-mode-map): Bind it to U. Add it to menu bar.
25322144
CY
11541 (package-menu-execute): Do installation before deletion.
11542 (package-menu-refresh, package-menu-execute): Use derived-mode-p
11543 instead of checking major-mode.
11544 (package-menu--find-upgrades): New function.
11545
7520339c
LMI
115462011-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
11547
11548 * mail/smtpmail.el (smtpmail-send-command): Don't include AUTH
11549 passwords in the log buffer.
65a046c4
LMI
11550 (smtpmail-process-filter): Update the process marker so that the
11551 "broken by peer" status message is inserted in the right place.
7520339c 11552
d3c30954
SM
115532011-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
11554
3fe48822
SM
11555 * textmodes/bibtex.el (bibtex-complete-string-cleanup)
11556 (bibtex-complete-crossref-cleanup): Adjust to accommodate needs of
11557 bibtex-completion-at-point-function.
11558 (bibtex-completion-at-point-function): Use them.
11559
1b8b3954
SM
11560 * newcomment.el (comment-add, comment-valid-prefix-p): Docfix.
11561
d3c30954
SM
11562 * mpc.el (mpc-constraints-tag-lookup): New function.
11563 (mpc-constraints-restore): Use it to make jumping to "album=Foo" apply
11564 also to browser "album|playlist".
11565
72779976
JL
115662011-09-14 Juri Linkov <juri@jurta.org>
11567
11568 * isearch.el (isearch-fail-pos): Add new arg `msg'. Doc fix.
11569 (isearch-edit-string): Use length of `isearch-string' when
11570 `isearch-fail-pos' returns nil.
11571 (isearch-message): Remove duplicate code and call
11572 `isearch-fail-pos' with arg `t'.
11573
a0bf2bcd
CY
115742011-09-14 Chong Yidong <cyd@stupidchicken.com>
11575
17bb0a2d
CY
11576 * replace.el (occur-mode-goto-occurrence): Don't force using other
11577 window (Bug#9499).
11578
a0bf2bcd
CY
11579 * dired-aux.el (dired-do-chmod): Don't provide initial input.
11580
f678e0b6
MR
115812011-09-14 Martin Rudalics <rudalics@gmx.at>
11582
11583 * window.el (display-buffer-window): Remove.
11584 (display-buffer-record-window): Use help-setup window parameter
11585 instead of variable display-buffer-window.
11586 (display-buffer-function, special-display-buffer-names)
11587 (special-display-function): Mention help-setup parameter instead
11588 of display-buffer-window in doc-string.
d3c30954
SM
11589 * help.el (help-window-setup): New argument help-window.
11590 Use help-window-setup parameter instead of display-buffer-window.
f678e0b6
MR
11591 Reword some messages.
11592 (with-help-window): Pass window used for displaying the buffer
11593 to help-window-setup. Don't set display-buffer-window.
11594
8e39b2e8
GM
115952011-09-13 Glenn Morris <rgm@gnu.org>
11596
11597 * emacs-lisp/debug.el (debugger-make-xrefs):
11598 Preserve point. (Bug#9462)
11599
85e9c04b
CY
116002011-09-13 Chong Yidong <cyd@stupidchicken.com>
11601
11602 * window.el (window-deletable-p): Use next-frame.
11603
1b36ed6a
MR
116042011-09-13 Martin Rudalics <rudalics@gmx.at>
11605
11606 * window.el (window-auto-delete): Remove.
11607 (window-deletable-p): Remove argument FORCE. Don't deal with
e4769531 11608 dedication and previous buffers.
1b36ed6a
MR
11609 (switch-to-prev-buffer): Don't delete window.
11610 (delete-windows-on): Delete a window's frame if and only if the
11611 window is dedicated.
11612 (replace-buffer-in-windows): Delete buffer's window or frame if
11613 and only if window is dedicated.
11614 (quit-window): Handle quit-restore as before last change.
4d61f28d 11615 (bury-buffer): Delete window only if window-deletable-p returns t.
1b36ed6a 11616
ef8ef9fb
CY
116172011-09-13 Chong Yidong <cyd@stupidchicken.com>
11618
11619 * window.el (window-deletable-p): Never delete the last frame on a
11620 given terminal.
11621
b2cba41e
GM
116222011-09-13 Glenn Morris <rgm@gnu.org>
11623
11624 * help.el (describe-key-briefly): Copy previous standard-output change.
11625
51553db6 116262011-09-13 PJ Weisberg <pj@irregularexpressions.net>
e3ce671f
PW
11627
11628 * help.el (where-is): Respect non-standard standard-output. (Bug#9030)
11629
b7556719
GM
116302011-09-13 Glenn Morris <rgm@gnu.org>
11631
11632 * emacs-lisp/lisp-mode.el (lisp-indent-function):
11633 * progmodes/scheme.el (scheme-indent-function): Doc fixes.
11634
64b51947
CY
116352011-09-12 Chong Yidong <cyd@stupidchicken.com>
11636
11637 * dired-aux.el (dired-mark-read-string): Don't return default
11638 value on empty input (Bug#9361).
11639 (dired-do-chxxx): Treat empty input for "touch" as no -t option.
11640 Omit initial minibuffer contents.
11641 (dired-do-chmod): Signal an error on empty input.
11642 (dired-mark-read-string): Don't return default on empty input.
11643
11644 * files.el (file-modes-symbolic-to-number): Doc fix.
11645
393a301e
SM
116462011-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
11647
11648 * international/mule-cmds.el (ucs-completions): Remove.
11649 (read-char-by-name): Use complete-with-action instead; add metadata.
11650
fa5660f9
CY
116512011-09-11 Chong Yidong <cyd@stupidchicken.com>
11652
11653 * window.el (display-buffer--action-function-custom-type)
11654 (display-buffer--action-custom-type): New vars.
11655 (display-buffer-alist, display-buffer-default-action)
11656 (display-buffer-overriding-action): Add defcustom types.
11657
4a592f66
CY
11658 * frame.el (delete-other-frames): Doc fix (Bug#276).
11659
73d56dbd
LMI
116602011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
11661
11662 * play/doctor.el (make-doctor-variables): Define `doctor-sent'.
11663
37ac18a3
CY
116642011-09-11 Chong Yidong <cyd@stupidchicken.com>
11665
11666 Change modes that used same-window-* vars to use switch-to-buffer.
11667
11668 * progmodes/gdb-mi.el (gdb-restore-windows, gdb-setup-windows):
11669 Use switch-to-buffer.
11670
11671 * cus-edit.el (customize-group, custom-buffer-create)
393a301e
SM
11672 (customize-browse, custom-buffer-create-other-window):
11673 Use switch-to-buffer or switch-to-buffer-other-window.
37ac18a3
CY
11674
11675 * info.el (info, Info-find-node, Info-revert-find-node, Info-next)
11676 (Info-prev, Info-up, Info-speedbar-goto-node)
11677 (info-display-manual): Use switch-to-buffer.
11678 (Info-speedbar-goto-node): Use switch-to-buffer-other-frame.
11679
11680 * mail/sendmail.el (mail): Use switch-to-buffer.
11681 (mail-recover): Use switch-to-buffer-other-window.
11682
11683 * cmuscheme.el (run-scheme, switch-to-scheme):
11684 * ielm.el (ielm):
11685 * shell.el (shell):
11686 * net/rlogin.el (rlogin):
11687 * net/telnet.el (telnet, rsh):
11688 * progmodes/inf-lisp.el (inferior-lisp): Use switch-to-buffer.
11689
10195bd6
AS
116902011-09-11 Andreas Schwab <schwab@linux-m68k.org>
11691
11692 * dired.el (dired-sort-toggle-or-edit): Revert last changes.
11693
b322f63a
LMI
116942011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
11695
39d7fed6
LMI
11696 * dired.el (dired-sort-toggle-or-edit): -o doesn't exist on *BSD,
11697 so don't mention it (bug#9301).
ba5a81f1 11698 (dired-sort-toggle-or-edit): Clarify string further.
39d7fed6 11699
ee0e9f11
LMI
11700 * faces.el (face-spec-set-match-display): Make `(type graphic)'
11701 match `x', `w32' and `ns', like the manual says (bug#9029).
11702
0b1c89c1 11703 * subr.el (eval-after-load): Doc string clarification (bug#9125).
da9fcb93
LMI
11704 (process-kill-buffer-query-function): Mention the buffer name in
11705 the query.
0b1c89c1 11706
77549ea8
LMI
11707 * image-mode.el (image-next-line): The line parameter is mandatory
11708 (bug#9258).
11709
803ef892
LMI
11710 * dired.el (dired-sort-toggle-or-edit): Mention -o and -g, too,
11711 which can be useful (bug#9301).
11712
12980837
LMI
11713 * textmodes/flyspell.el: Remove obsolete comment (bug#9368).
11714
91054f8f
LMI
11715 * subr.el (match-string): Mention that the current buffer should
11716 be the same as the search was done in (bug#9282).
11717
b322f63a
LMI
11718 * facemenu.el: Disable the remove-* commands if the mark isn't
11719 active (bug#9162).
11720
3199b96f
CY
117212011-09-10 Chong Yidong <cyd@stupidchicken.com>
11722
11723 * buff-menu.el (Buffer-menu-switch-other-window): Use second arg
11724 of display-buffer.
11725 (Buffer-menu-2-window): Use switch-to-buffer-other-window.
11726
11727 * replace.el (occur-mode-goto-occurrence)
11728 (occur-mode-display-occurrence) Use second arg of pop-to-buffer
11729 and display-buffer.
11730
11731 * mail/reporter.el (reporter-submit-bug-report): Use second arg of
11732 display-buffer.
11733
11734 * mail/sendmail.el (sendmail-user-agent-compose): Don't bind the
11735 special-display and same-window variables.
11736 (mail-other-window): Use switch-to-buffer-other-window.
11737 (mail-other-frame): USe switch-to-buffer-other-frame.
11738
393a301e
SM
11739 * progmodes/gdb-mi.el (gdb-frame-gdb-buffer):
11740 Use display-buffer-other-frame.
3199b96f
CY
11741 (gdb-display-gdb-buffer): Use pop-to-buffer.
11742
11743 * progmodes/gud.el (gud-goto-info): Use info-other-window.
11744
11745 * progmodes/python.el: Don't set same-window-buffer-names.
11746
11747 * textmodes/bibtex.el (bibtex-search-entry): Use switch-to-buffer.
11748
11749 * window.el (display-buffer-alist): Add *Python*.
11750
8319e0bf
CY
117512011-09-10 Chong Yidong <cyd@stupidchicken.com>
11752
11753 * window.el (display-buffer-alist): Add entry for buffers
11754 previously handled same-window-*.
11755 (display-buffer-alist, display-buffer-default-action)
11756 (display-buffer-overriding-action): Mark as risky.
11757 (display-buffer-alist): Document action function changes.
11758 (display-buffer--same-window-action)
11759 (display-buffer--other-frame-action): New variables.
11760 (switch-to-buffer, display-buffer-other-frame): Use them.
11761 (display-buffer): Rename reuse-frame entry to reusable-frames.
11762 (display-buffer-reuse-selected-window): Function deleted.
11763 (display-buffer-reuse-window): Handle reusable-frames alist entry.
11764 If it's omitted, check pop-up-frames/display-buffer-reuse-frames.
11765 (display-buffer-special): New function.
11766 (display-buffer--maybe-pop-up-frame-or-window): Rename from
11767 display-buffer-reuse-or-pop-window. Split off special-display
11768 part into display-buffer-special.
11769 (display-buffer-use-some-window): Don't perform any special
11770 pop-up-frames handling.
11771 (pop-to-buffer): Use window-normalize-buffer-to-switch-to.
393a301e 11772 (display-buffer--maybe-same-window): Rename from
0d3ff375 11773 display-buffer-maybe-same-window.
8319e0bf 11774
919a69aa
CY
11775 * info.el: Don't set same-window-regexps.
11776 (info-setup): New function.
11777 (info-other-window, info): Call it.
11778
11779 * cus-edit.el: Don't set same-window-regexps.
11780 (customize-group): New argument.
11781 (customize-group-other-window): Use it.
11782 (customize-face, customize-face-other-window): Likewise.
11783 (custom-buffer-create-other-window): Use pop-to-buffer directly.
11784
8319e0bf
CY
11785 * net/rlogin.el:
11786 * net/telnet.el:
11787 * progmodes/gud.el: Don't set same-window-regexps.
11788
11789 * cmuscheme.el:
11790 * ielm.el:
11791 * shell.el:
11792 * mail/sendmail.el:
11793 * progmodes/inf-lisp.el: Don't set same-window-buffer-names.
11794
25173000
JL
117952011-09-10 Juri Linkov <juri@jurta.org>
11796
11797 * isearch.el (isearch-edit-string): Remove obsolete mention of
11798 `C-w' (`isearch-yank-word-or-char') from docstring.
11799 (isearch-query-replace): Fix typo in docstring (bug#9466).
11800
056e44ef
JL
118012011-09-10 Juri Linkov <juri@jurta.org>
11802
11803 * paren.el (show-paren-function): Don't show escaped parens.
11804 Let-bind `unescaped' to `t' when paren is not escaped. (Bug#9461)
11805
c3760c17
EZ
118062011-09-10 Eli Zaretskii <eliz@gnu.org>
11807
11808 * mail/sendmail.el (mml-to-mime, mml-attach-file)
11809 (mm-default-file-encoding): Remove autoload forms, they are
11810 replaced with autoload cookies in mml.el and mm-encode.el.
11811 (mail-add-attachment): New command.
11812 (mail-mode-map): Add a menu-bar item for mail-add-attachment.
11813 (mail-mode): Mention mail-insert-file and mail-add-attachment in
11814 the doc string.
11815 (mml-to-mime, mml-attach-file, mm-default-file-encoding): Declare.
11816
fece895e
RT
118172011-09-10 Reuben Thomas <rrt@sc3d.org>
11818
e69df516
SM
11819 * simple.el (count-words-region): Use buffer if there's no region
11820 (bug#9429).
fece895e 11821
5e68ce4a
JL
118222011-09-09 Juri Linkov <juri@jurta.org>
11823
11824 * wdired.el (wdired-change-to-wdired-mode): Set buffer-local
11825 `isearch-filter-predicate' to `wdired-isearch-filter-read-only'.
11826 (wdired-isearch-filter-read-only): New function. (Bug#6362)
11827
0a6b9622
AM
118282011-09-09 Alan Mackenzie <acm@muc.de>
11829
11830 * progmodes/cc-mode.el (awk-mode): Prevent `define-derived-mode'
11831 spuriously generating `awk-mode-syntax-table'. (Bug #9448).
11832
14a29deb
EZ
118332011-09-09 Eli Zaretskii <eliz@gnu.org>
11834
11835 Fix for Savannah bug#9392.
11836 * simple.el (mail-encode-mml): New defvar.
11837
11838 * mail/rmail.el (mail-encode-mml): Add a defvar.
11839 (rmail-enable-mime-composing): Default to t.
11840 (rmail-forward): Use MIME method of forwarding only if both
11841 rmail-enable-mime-composing and rmail-enable-mime are non-nil.
11842 Set mail-encode-mml non-nil if the MIME method was used.
11843
11844 * mail/sendmail.el (mml-to-mime): Add autoload form.
11845 (mail-encode-mml): Add a defvar.
11846 (mail-mode): Make mail-encode-mml buffer-local and initialize it
11847 to nil.
11848 (mail-send): If mail-encode-mml is non-nil, run the outgoing
11849 message through mml-to-mime, and reset mail-encode-mml to nil.
11850
28c45130
GM
118512011-09-09 Glenn Morris <rgm@gnu.org>
11852
11853 * woman.el (woman-if-body): When processing an .el block,
11854 do not delete the next .el block as well. (Bug#9447)
69f4b618 11855 (woman-special-characters): Add oq, cq, and hy characters.
28c45130 11856
9b1c252e
MR
118572011-09-08 Martin Rudalics <rudalics@gmx.at>
11858
11859 * window.el (window-deletable-p): Make sure window is live before
11860 invoking window-prev-buffers.
11861
567457e3
LL
118622011-09-08 Leo Liu <sdl.web@gmail.com>
11863
11864 * net/rcirc.el (rcirc-cmd-invite): New rcirc command. (Bug#9453)
11865
97f05794
JL
118662011-09-08 Juri Linkov <juri@jurta.org>
11867
11868 * progmodes/compile.el (compilation-environment): Make it
11869 a defcustom (bug#8340).
11870
8b0874b5
MR
118712011-09-08 Martin Rudalics <rudalics@gmx.at>
11872
11873 * window.el (frame-auto-delete): Rename to window-auto-delete.
11874 Make it control auto-deletion of windows and/or frames.
11875 (window-deletable-p): New argument FORCE. Rewrite conditions
5e617bc2 11876 for deleting window/frame. (Bug#9419)
8b0874b5
MR
11877 (switch-to-prev-buffer, replace-buffer-in-windows, quit-window):
11878 Rewrite handling of case when window/frame can be deleted.
11879 (delete-windows-on): Call window-deletable-p with new FORCE
5e617bc2 11880 argument t. (Bug#9456)
8b0874b5 11881
4feb6e73
CY
118822011-09-07 Chong Yidong <cyd@stupidchicken.com>
11883
11884 * help-mode.el (help-mode): Restore autoload.
11885
91ab9c13
JL
118862011-09-07 Juri Linkov <juri@jurta.org>
11887
11888 * progmodes/compile.el (compilation-start): Let-bind `thisenv' to
11889 `compilation-environment'. Set buffer-local
11890 `compilation-environment' to `thisenv' later after (funcall mode).
11891 (Bug#8340)
11892
11893 * vc/vc-git.el (vc-git-grep): Remove --no-color. (Bug#9408)
11894 (vc-git-grep): Prepend "PAGER=" to `compilation-environment'
11895 instead of replacing its value. (Bug#8340)
11896
0527e251
JL
118972011-09-07 Juri Linkov <juri@jurta.org>
11898
11899 * progmodes/grep.el (grep-regexp-alist): Calculate column positions
11900 based on text properties put by `grep-filter' instead of matching
11901 escape sequences.
11902 (grep-mode): Set buffer-local `compilation-error-screen-columns'
11903 to the value of `grep-error-screen-columns' (bug#9438).
11904
249f792c
JL
119052011-09-07 Juri Linkov <juri@jurta.org>
11906
11907 * simple.el (next-error-highlight, next-error-highlight-no-select):
11908 Doc fix (bug#9432).
11909
ff7271b9
OT
119102011-09-07 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
11911
11912 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
11913 Check for null c-opt-block-decls-with-vars-key. (Bug#9443)
11914
183fc730
LL
119152011-09-07 Leo Liu <sdl.web@gmail.com>
11916
11917 * net/rcirc.el (rcirc-mode): Conditionally initialize
11918 rcirc-input-ring.
11919
77694924
SM
119202011-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
11921
11922 * emacs-lisp/find-func.el (find-function-C-source): Only set
11923 find-function-C-source-directory after checking that we found a source
11924 file there (bug#9440).
11925
d809b8eb
AM
119262011-09-06 Alan Mackenzie <acm@muc.de>
11927
11928 * isearch.el (isearch-other-meta-char): Wherever a key list is
11929 unread, "unread" the prefix arg, too. This fixes bug #8901.
11930
453de99f
OG
119312011-09-05 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
11932
11933 * progmodes/grep.el (rgrep): Add "-type d" (bug#9414).
11934
90439906
JL
119352011-09-05 Juri Linkov <juri@jurta.org>
11936
11937 * progmodes/grep.el (grep-process-setup): Fix comments (bug#8084).
11938
f62bd846
JL
119392011-09-05 Juri Linkov <juri@jurta.org>
11940
11941 * progmodes/grep.el (grep-filter): Avoid incomplete processing by
11942 keeping point where processing of grep matches begins, and
11943 continue to delete remaining escape sequences from the same point.
11944 (grep-filter): Make leading zero optional in "0?1;31m" because
11945 git-grep emits "\033[1;31m" escape sequences unlike expected
11946 "\033[01;31m" as GNU Grep does (bug#9408).
11947 (grep-process-setup): Replace obsolete "ml=" with newer "sl=".
11948
045820ec
JL
119492011-09-05 Juri Linkov <juri@jurta.org>
11950
11951 * subr.el (y-or-n-p): Capitalize "yes".
11952
f5e29b9b
MA
119532011-09-04 Michael Albinus <michael.albinus@gmx.de>
11954
11955 * net/tramp.el (top): Require 'shell. Use `tramp-unload-hook' but
11956 `tramp-cache-unload-hook' where appropriate.
11957 (tramp-methods): Rename `tramp-remote-sh' to
11958 `tramp-remote-shell'. Add `tramp-remote-shell-args'.
11959 (tramp-handle-shell-command): New defun, moved from tramp-sh.el.
11960
11961 * net/tramp-sh.el (top): Don't require 'shell.
11962 (tramp-methods): Add `tramp-remote-shell' and
11963 `tramp-remote-shell-args' entries.
11964 (tramp-sh-file-name-handler-alist): Use `tramp-handle-shell-command'.
11965 (tramp-sh-handle-shell-command): Remove.
11966 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
11967 Use `tramp-remote-shell'.
11968
2784c434
CY
119692011-09-03 Chong Yidong <cyd@stupidchicken.com>
11970
393a301e 11971 * mail/sendmail.el (sendmail-query-once-function): Delete.
2784c434
CY
11972 (sendmail-query-once): Save directly to send-mail-function.
11973 Update message-send-mail-function too.
11974
11975 * mail/smtpmail.el (smtpmail-try-auth-methods): Clarify prompt.
11976
464cdf56
CS
119772011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
11978
11979 * progmodes/python.el (python-mode-map): Use correct function to
11980 start python interpreter from menu-bar (as reported by Geert
11981 Kloosterman).
11982 (inferior-python-mode-map): Fix typo.
393a301e 11983 (python-shell-map): Remove.
464cdf56 11984
d37e5c87
DD
119852011-09-03 Deniz Dogan <deniz@dogan.se>
11986
11987 * net/rcirc.el (rcirc-print): Simplify code for
11988 rcirc-scroll-show-maximum-output. There is no need to walk
11989 through all windows to find the right one.
11990
f3ada0ee
CS
119912011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
11992
11993 * help.el (help-return-method): Doc fix.
11994
1f3c99ca
MR
119952011-09-03 Martin Rudalics <rudalics@gmx.at>
11996
11997 * window.el (window-deletable-p): Don't return a non-nil value
11998 when there's a buffer that was shown in the window before.
11999 (Bug#9419)
393a301e
SM
12000 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
12001 Set window's previous buffers to nil.
1f3c99ca 12002
a3cf097f
EZ
120032011-09-03 Eli Zaretskii <eliz@gnu.org>
12004
12005 * mail/rmailmm.el (rmail-mime-insert-tagline): Insert an extra
12006 newline before and after the tag line, so it doesn't interfere
12007 with determining the paragraph direction of bidirectional text.
12008
3d03de90
LL
120092011-09-03 Leo Liu <sdl.web@gmail.com>
12010
12011 * files.el (find-file-not-true-dirname-list): Remove. (Bug#9422)
12012
c3313451
CY
120132011-09-02 Chong Yidong <cyd@stupidchicken.com>
12014
393a301e 12015 * window.el (pop-to-buffer-1, pop-to-buffer-same-window): Delete.
c3313451
CY
12016 (pop-to-buffer): Change interactive spec. Pass second argument
12017 directly to display-buffer.
12018 (display-buffer): Fix interactive spec. Use functionp to
12019 distinguish between a function and a list of functions.
12020
12021 * abbrev.el (edit-abbrevs):
12022 * arc-mode.el (archive-extract):
12023 * autoinsert.el (auto-insert):
12024 * bookmark.el (bookmark-bmenu-list):
12025 * files.el (find-file):
12026 * view.el (view-buffer):
12027 * progmodes/compile.el (compilation-goto-locus):
12028 * textmodes/bibtex.el (bibtex-initialize): Use switch-to-buffer.
12029
89894cd8
CY
120302011-09-02 Chong Yidong <cyd@stupidchicken.com>
12031
12032 * window.el (display-buffer-alist): Doc fix.
12033 (display-buffer): Add docstring. Don't treat
12034 display-buffer-default specially.
12035 (display-buffer-reuse-selected-window)
12036 (display-buffer-same-window, display-buffer-maybe-same-window)
12037 (display-buffer-reuse-window, display-buffer-pop-up-frame)
12038 (display-buffer-pop-up-window)
12039 (display-buffer-reuse-or-pop-window)
12040 (display-buffer-use-some-window): New functions.
12041 (display-buffer-default-action): Use them.
393a301e 12042 (display-buffer-default): Delete.
89894cd8
CY
12043 (pop-to-buffer-1): Fix choice of actions.
12044
ae0bc9fb
SM
120452011-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
12046
12047 * minibuffer.el (completion--insert-strings): Don't get confused by
12048 completion entries that end with an LF char.
12049
e9d90883
EZ
120502011-09-01 Eli Zaretskii <eliz@gnu.org>
12051
12052 * window.el (frame-auto-delete, window-deletable-p): Doc fix.
12053
437014c8
CY
120542011-09-01 Chong Yidong <cyd@stupidchicken.com>
12055
12056 * window.el (display-buffer): Restore interactive spec.
ae0bc9fb
SM
12057 (display-buffer-same-window, display-buffer-other-window):
12058 New functions.
437014c8
CY
12059 (pop-to-buffer-1): New function. Use the above.
12060 (pop-to-buffer, pop-to-buffer-same-window): Use it.
ae0bc9fb 12061 (pop-to-buffer-other-window, pop-to-buffer-other-frame): Delete.
437014c8
CY
12062
12063 * view.el (view-buffer-other-window, view-buffer-other-frame):
12064 Just use pop-to-buffer.
12065
a5e063d5
TV
120662011-09-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
12067
12068 * vc/vc-rcs.el (vc-rcs-responsible-p): Handle directories. (Bug#9391)
12069
793d32bb
WH
120702011-09-01 Wilfred Hughes <wilfred@potatolondon.com> (tiny change)
12071
12072 * vc/vc-git.el (vc-git-grep): Use --no-color. (Bug#9408)
12073
d65e4c15
RS
120742011-08-31 Richard Stallman <rms@gnu.org>
12075
12076 * mail/rmail.el (rmail-epa-decrypt): Rewrite to take account
12077 of the separation of rmail-view-buffer from rmail-buffer.
12078 If you say no to "replace original", the decrypt is in the
12079 view buffer. If you say yes, the decrypt goes into the
12080 rmail buffer also.
12081
f818cd2a
MR
120822011-08-31 Martin Rudalics <rudalics@gmx.at>
12083
12084 * window.el (display-buffer-window): Rewrite doc-string.
12085 (display-buffer-record-window): New function.
12086 (display-buffer-macro-specifiers)
12087 (display-buffer-even-window-sizes, display-buffer-set-height)
12088 (display-buffer-set-width, display-buffer-in-window)
12089 (display-buffer-reuse-window, display-buffer-split-specifiers)
12090 (display-buffer-side-specifiers, display-buffer-split-window-1)
12091 (display-buffer-split-window, display-buffer-split-atom-window)
12092 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
12093 (display-buffer-pop-up-side-window, display-buffer-in-side-window)
12094 (display-buffer-other-window-means-other-frame)
12095 (display-buffer-normalize-special)
12096 (display-buffer-normalize-default)
12097 (display-buffer-normalize-argument)
12098 (display-buffer-normalize-alist-1, display-buffer-normalize-alist)
12099 (display-buffer-normalize-specifiers, display-buffer-frame)
12100 (display-buffer-same-window, display-buffer-same-frame)
12101 (display-buffer-other-window)
12102 (display-buffer-same-frame-other-window)
12103 (display-buffer-other-frame, pop-to-buffer-same-window)
12104 (pop-to-buffer-same-frame, pop-to-buffer-other-window)
12105 (pop-to-buffer-same-frame-other-window, pop-to-buffer-other-frame)
12106 (switch-to-buffer-same-frame)
12107 (switch-to-buffer-other-window-same-frame)
12108 (display-buffer-alist-of-strings-p, display-buffer-alist-add)
12109 (display-buffer-alist-set-1, display-buffer-alist-set-2)
12110 (display-buffer-alist-set): Remove.
12111 (display-buffer-function, special-display-buffer-names)
ae0bc9fb
SM
12112 (special-display-regexps, special-display-function):
12113 In doc-string refer to display-buffer-window and quit-restore
f818cd2a
MR
12114 parameter.
12115 (pop-up-frame-alist, pop-up-frame-function, special-display-p)
12116 (special-display-frame-alist, special-display-popup-frame)
12117 (same-window-buffer-names, same-window-regexps, same-window-p)
12118 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
12119 (split-window-preferred-function, split-height-threshold)
12120 (split-width-threshold, window-splittable-p)
12121 (split-window-sensibly, window--try-to-split-window)
12122 (window--frame-usable-p, even-window-heights)
12123 (window--even-window-heights, window--display-buffer-1)
ae0bc9fb
SM
12124 (window--display-buffer-2, display-buffer-other-frame):
12125 Restore old Emacs 23 code, order and doc-strings where applicable.
f818cd2a
MR
12126 (display-buffer-default, display-buffer-assq-regexp): New functions.
12127 (display-buffer-alist): Rewrite doc-string.
12128 (display-buffer-default-action)
12129 (display-buffer-overriding-action): New variables.
12130 (display-buffer, switch-to-buffer): Rewrite.
12131 (pop-to-buffer): Restore Emacs 23 behavior but use
12132 window-normalize-buffer-to-display.
12133 (switch-to-buffer-other-window, switch-to-buffer-other-frame):
12134 Restore Emacs 23 behavior but use
12135 window-normalize-buffer-to-switch-to.
12136 (pop-to-buffer-same-window): Rewrite.
ae0bc9fb
SM
12137 (pop-to-buffer-other-window, pop-to-buffer-other-frame):
12138 Rewrite using Emacs 23 options.
f818cd2a 12139
5bc3b51d
MA
121402011-08-31 Michael Albinus <michael.albinus@gmx.de>
12141
12142 * net/tramp.el (tramp-root-regexp): Remove.
12143 (tramp-completion-file-name-regexp-unified)
12144 (tramp-completion-file-name-regexp-separate)
12145 (tramp-completion-file-name-regexp-url): Don't use leading volume
b46a6a83 12146 letter on w32 systems. (Bug#5303, Bug#9311)
ae0bc9fb
SM
12147 (tramp-drop-volume-letter): Simplify definition.
12148 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
5bc3b51d 12149
b1a4f8e1
SM
121502011-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
12151
12152 * subr.el (event-modifiers): Fix "missing modifier" part of docstring
12153 (bug#9356).
12154
5664fa7b
RT
121552011-08-30 Reuben Thomas <rrt@sc3d.org> (tiny change)
12156
b1a4f8e1 12157 * vc/pcvs-defs.el (cvs-find-file-and-jump): Docstring typo (bug#9369).
5664fa7b 12158
9a45d6c3
JL
121592011-08-29 Juri Linkov <juri@jurta.org>
12160
12161 * isearch.el (isearch-done): Don't display message "Mark saved"
12162 when arg `edit' is non-nil to prevent its flicker in the echo area.
12163
fb87e0fb
CY
121642011-08-28 Chong Yidong <cyd@stupidchicken.com>
12165
12166 * emacs-lisp/package.el (package-menu-mark-delete): Allow marking
12167 obsolete packages for deletion.
12168
09ac1c2a
CS
121692011-08-28 Christoph Scholtes <cschol2112@googlemail.com>
12170
12171 * help-mode.el (help-mode-map): Add special-mode-map to parent.
5e617bc2 12172 (help-mode): Derive help-mode from special-mode. Don't invoke
09ac1c2a
CS
12173 view-mode from help-mode.
12174 (help-xref-override-view-map): Remove.
12175 (help-make-xrefs): Remove minor-mode-overriding-map-alist since
12176 view-mode is not used anymore.
12177
7a1ff57f
CY
121782011-08-28 Chong Yidong <cyd@stupidchicken.com>
12179
12180 * server.el (server-port): Doc fix.
12181
b9696605
CY
12182 * cus-theme.el (custom-theme-choose-mode): Inherit from
12183 special-mode (Bug#9124).
12184 (custom-theme-choose-mode-map): Add special-mode to parent.
12185
ef8cdf8c
AM
121862011-08-28 Alan Mackenzie <acm@muc.de>
12187
12188 * progmodes/cc-fonts.el
12189 (c-make-font-lock-BO-decl-search-function): New function.
12190 (c-basic-matchers-after - "Fontify the clauses after various
12191 keywords"): Extract the three keyword lists for the 3 erroneous
12192 constructs from the list of four, and use the new function above
12193 in place of an old one.
12194
27de4e20
DD
121952011-08-28 Deniz Dogan <deniz@dogan.se>
12196
12197 * net/rcirc.el (rcirc-insert-prev-input)
12198 (rcirc-insert-next-input): Remove unused argument.
12199
356a3681
SM
122002011-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
12201
12202 * shell.el (shell-parse-pcomplete-arguments): Unquote args (bug#9160).
12203
3fc9b218
AM
122042011-08-27 Alan Mackenzie <acm@muc.de>
12205
12206 * progmodes/cc-menus.el (cc-imenu-c++-generic-expression): Make it
12207 handle function pointer parameters properly.
12208
538a061c
MR
122092011-08-27 Martin Rudalics <rudalics@gmx.at>
12210
12211 * window.el (display-buffer-reuse-window): Fix case where
12212 selected window was reused with non-nil OTHER-WINDOW argument.
12213 (Bug#9381)
12214
35b1c40c
DD
122152011-08-27 Deniz Dogan <deniz@dogan.se>
12216
12217 * net/rcirc.el (rcirc-check-auth-status): Adding support for
12218 oftc's NickServ messages.
12219
2f6a3e79
GM
122202011-08-27 Glenn Morris <rgm@gnu.org>
12221
12222 * saveplace.el (save-place-limit): Make it finite. (Bug#9352)
12223
7254299e
CY
122242011-08-26 Chong Yidong <cyd@stupidchicken.com>
12225
12226 * emacs-lisp/package.el (package-install): Call package-initialize
12227 if called interactively.
12228
f8ccf167
LL
122292011-08-26 Leo Liu <sdl.web@gmail.com>
12230
12231 * emacs-lisp/cl-macs.el (defstruct): Fix format. (Bug#9357)
12232
3e8cd5ce
JL
122332011-08-25 Juri Linkov <juri@jurta.org>
12234
12235 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
12236 `search-whitespace-regexp' (bug#9364).
12237
93eb7113
JL
122382011-08-25 Juri Linkov <juri@jurta.org>
12239
12240 * isearch.el (isearch-edit-string): Let-bind `search-ring' and
12241 `regexp-search-ring' to their global values to protect from
12242 updating by `read-from-minibuffer' (bug#9185).
12243
f65d1611
JL
122442011-08-25 Juri Linkov <juri@jurta.org>
12245
12246 * textmodes/ispell.el (ispell-command-loop): Add newline
12247 at the end of the "Use option `i'..." line.
12248
f1cf7a31
JL
122492011-08-25 Juri Linkov <juri@jurta.org>
12250
12251 * battery.el (display-battery-mode): If `battery-status-function'
12252 or `battery-mode-line-format' is nil, display the message and set
12253 `display-battery-mode' to nil (bug#9363).
12254
0c95fcf7
EZ
122552011-08-25 Eli Zaretskii <eliz@gnu.org>
12256
12257 * buff-menu.el (Buffer-menu-buffer+size): Remove calls to
12258 bidi-string-mark-left-to-right; they are unnecessary now.
12259
a2ebe600
DD
122602011-08-25 Deniz Dogan <deniz@dogan.se>
12261
12262 * net/quickurl.el: Documentation typo fixes.
12263
e4ed06f1
CY
122642011-08-25 Chong Yidong <cyd@stupidchicken.com>
12265
12266 * window.el (bury-buffer, quit-window): Use bury-buffer-internal.
12267
e5f1c99e
GM
122682011-08-25 Glenn Morris <rgm@gnu.org>
12269
b2948976
GM
12270 * emacs-lisp/derived.el (define-derived-mode): Doc fix.
12271
e5f1c99e
GM
12272 * mail/smtpmail.el (smtpmail-smtp-user): Add version: tag.
12273 (smtpmail-via-smtp): Handle nil response from smtp.
12274
f22f4808
JL
122752011-08-24 Juri Linkov <juri@jurta.org>
12276
12277 * proced.el (proced-marked): Inherit from `error' instead of
12278 `font-lock-warning-face'.
12279
12280 * ibuffer.el (ibuffer-marked-face): Change default face from
12281 `font-lock-warning-face' to `warning'.
12282 (ibuffer-deletion-face): Change default face from
12283 `font-lock-type-face' to `error'.
12284
12285 * battery.el (battery-update): Use the face `error' instead of
12286 `font-lock-warning-face' (bug#6117).
12287
6a93965e
JL
122882011-08-24 Juri Linkov <juri@jurta.org>
12289
12290 * faces.el (success): Change face color from "Green3" to
12291 "ForestGreen" on light background (bug#9353).
12292
1ed43b09
CY
122932011-08-24 Chong Yidong <cyd@stupidchicken.com>
12294
5664fa7b
RT
12295 * window.el (quit-window): Rename from quit-restore-window.
12296 Use same arglist as old quit-window.
1ed43b09
CY
12297 (frame-auto-delete): Doc fix.
12298
12299 * view.el (view-mode-exit): Use quit-window.
12300
11dcdbb2
JL
123012011-08-24 Juri Linkov <juri@jurta.org>
12302
12303 * isearch.el (isearch-ring-adjust1): Start visiting previous
12304 search strings from the index 0 (-1 + 1) instead of 1 (0 + 1).
12305 (isearch-repeat, isearch-edit-string): Call `isearch-ring-adjust1'
12306 for empty search string (when the last search string is reused
12307 automatically) to adjust the isearch ring to the last element and
12308 prepare the correct index for further M-p commands (bug#9185).
12309
de62b4df
KH
123102011-08-24 Kenichi Handa <handa@m17n.org>
12311
12312 * international/ucs-normalize.el: If decomposition property of
12313 CHAR is the default one (i.e. a list of CHAR itself), treat it as
12314 nil.
12315 (nfd, nfkd): Likewise.
12316
963b492b
SM
123172011-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
12318
12319 * mpc.el (mpc--proc-filter): Don't signal mpc-proc-error since signals
12320 from process filters aren't reliably transmitted to the surrounding
12321 accept-process-output.
12322 (mpc-proc-check): New function.
12323 (mpc-proc-sync): Use it (bug#8293)
12324
93b6b5e1
SM
123252011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
12326
12327 * emacs-lisp/eieio.el (eieio-defmethod, eieio-defgeneric):
12328 Add compatibility functions (bug#9313).
12329
bca633fb
EZ
123302011-08-23 Eli Zaretskii <eliz@gnu.org>
12331
b177498a
EZ
12332 * cus-start.el (all): Add entry for bidi-paragraph-direction.
12333
6df6ae42 12334 * international/uni-bidi.el: Regenerate.
bca633fb 12335
0902a04e
KH
123362011-08-23 Kenichi Handa <handa@m17n.org>
12337
12338 * international/charprop.el:
12339 * international/uni-bidi.el:
12340 * international/uni-category.el:
12341 * international/uni-combining.el:
12342 * international/uni-comment.el:
12343 * international/uni-decimal.el:
12344 * international/uni-decomposition.el:
12345 * international/uni-digit.el:
12346 * international/uni-lowercase.el:
12347 * international/uni-mirrored.el:
12348 * international/uni-name.el:
12349 * international/uni-numeric.el:
12350 * international/uni-old-name.el:
12351 * international/uni-titlecase.el:
12352 * international/uni-uppercase.el: Regenerate.
12353
3bbf23bc
MR
123542011-08-23 Martin Rudalics <rudalics@gmx.at>
12355
12356 * help.el (help-window-setup): Fix message displayed when other
12357 window is reused. (Bug#9341)
12358
b3fd59bd
SM
123592011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
12360
1802e444
SM
12361 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list.
12362 * pcomplete.el (pcomplete-quote-argument): Fix thinko (bug#9161).
12363
b3fd59bd
SM
12364 * pcomplete.el (pcomplete-parse-comint-arguments): Fix inf-loop.
12365 Mark obsolete.
12366 * shell.el (shell-parse-pcomplete-arguments): New function.
12367 (shell-completion-vars): Use it instead (bug#9160).
12368
4eb61348
SM
123692011-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
12370
867cab74
SM
12371 * progmodes/sh-script.el (sh-maybe-here-document): Disable magic in
12372 strings and comments (bug#9333).
12373
4eb61348
SM
12374 * emacs-lisp/debug.el (debug-arglist): New function.
12375 (debug-convert-byte-code): Use it. Handle lexical byte-codes.
12376 (debug-on-entry-1): Handle interpreted closures (bug#9120).
12377
262a1439
JL
123782011-08-22 Juri Linkov <juri@jurta.org>
12379
56ee679c
JL
12380 * progmodes/compile.el (compilation-mode-font-lock-keywords):
12381 Revert regexp that highlights output switches to its old
12382 pre-2010-10-28 value and remove one `?' from it (bug#9319).
12383
262a1439
JL
12384 * progmodes/grep.el (grep-process-setup): Use `buffer-modified-p'
12385 to check for empty output (bug#9226).
12386
f13f86fb
CY
123872011-08-22 Chong Yidong <cyd@stupidchicken.com>
12388
12389 * progmodes/scheme.el (scheme-mode-syntax-table): Don't use
12390 symbol-constituent as the default, as that stops font-lock from
12391 working properly (Bug#8843).
12392
c65c9622
LMI
123932011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
12394
12395 * mail/smtpmail.el (smtpmail-via-smtp): Only bind
12396 `coding-system-for-*' around the process open call to avoid
12397 auth-source side effects.
e7f2c178 12398 (smtpmail-try-auth-methods): Expand the secret password.
7185da52
LMI
12399 (smtpmail-query-smtp-server): Allow `quit'-ing out in case the
12400 probe hangs.
c65c9622 12401
23a8a5ab
CY
124022011-08-21 Chong Yidong <cyd@stupidchicken.com>
12403
ff98b2dd
CY
12404 * term.el (term-mouse-paste): Yank primary selection (Bug#6845).
12405
23a8a5ab
CY
12406 * emacs-lisp/find-func.el (find-function-noselect): New arg
12407 lisp-only.
12408
12409 * emacs-lisp/edebug.el (edebug-instrument-function): Use it to
12410 signal an error for built-in functions (Bug#6664).
12411
f5e3c598
LMI
124122011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
12413
12414 * mail/smtpmail.el (smtpmail-smtp-user): New variable.
12415 (smtpmail-try-auth-methods): Use it.
12416
a3f2468a
CY
124172011-08-21 Chong Yidong <cyd@stupidchicken.com>
12418
2c34e8da
CY
12419 * font-lock.el (font-lock-fontify-region)
12420 (font-lock-unfontify-region, font-lock-default-fontify-buffer)
12421 (font-lock-default-unfontify-buffer)
12422 (font-lock-default-fontify-region)
12423 (font-lock-default-unfontify-region): Add docstrings (Bug#8624).
12424
b3fd59bd
SM
12425 * progmodes/compile.el (compilation-error-properties):
12426 Fix confusion between file struct and message struct (Bug#9319).
02e5c89e
CY
12427 (compilation-error-regexp-alist-alist): Fix 2011-05-09 change to
12428 `ant' regexp.
ee31aabc 12429
a3f2468a
CY
12430 * net/browse-url.el (browse-url-firefox): Don't call
12431 browse-url-firefox-sentinel unless using -remote (Bug#9328).
12432
8e999f70
GM
124332011-08-20 Glenn Morris <rgm@gnu.org>
12434
c21a496a
GM
12435 * tutorial.el (help-with-tutorial): Avoid an error on short screens.
12436
59ee0542
GM
12437 * tutorial.el (tutorial--default-keys): Update some default bindings.
12438
8e999f70
GM
12439 * files.el (hack-local-variables): Fully ignore case for "mode:".
12440
e3715033
AM
124412011-08-20 Alan Mackenzie <acm@muc.de>
12442
12443 Resolve invalid use of a regexp in regexp-opt.
12444
4d61f28d
JB
12445 * progmodes/cc-fonts.el (c-complex-decl-matchers): Add in special
12446 detection for a java annotation.
e3715033 12447
4d61f28d 12448 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Add in special
e3715033
AM
12449 detection for a java annotation.
12450
4d61f28d
JB
12451 * progmodes/cc-langs.el (c-prefix-spec-kwds-re): Remove the special
12452 handling for java.
e3715033
AM
12453 (c-modifier-kwds): Remove the regexp "@[A-za-z0-9]+".
12454
04ed2e9c
CY
124552011-08-20 Chong Yidong <cyd@stupidchicken.com>
12456
12457 * startup.el (normal-top-level-add-subdirs-to-load-path): Doc fix
12458 (Bug#9274).
12459
826cee64
AM
124602011-08-20 Alan Mackenzie <acm@muc.de>
12461
58179cce 12462 Fontify CPP expressions correctly when starting in the middle of
826cee64
AM
12463 such a construct. Mainly for when jit-lock etc. starts a chunk
12464 here.
12465
58179cce 12466 * progmodes/cc-fonts.el (c-font-lock-context): New buffer local
826cee64 12467 variable.
58179cce 12468 (c-make-font-lock-search-form): New function, extracted from
826cee64
AM
12469 c-make-font-lock-search-function.
12470 (c-make-font-lock-search-function): Use the above function.
12471 (c-make-font-lock-context-search-function): New function.
12472 (c-cpp-matchers): Enhance the preprocessor expression case with
12473 the above function
12474 (c-font-lock-complex-decl-prepare): Test for being in a CPP form
12475 which takes an expression.
12476
12477 * progmodes/cc-langs.el (c-cpp-expr-intro-re): New lang-variable.
12478
13009bd8
MR
124792011-08-20 Martin Rudalics <rudalics@gmx.at>
12480
12481 * window.el (display-buffer-reuse-window)
12482 (display-buffer-pop-up-window): Don't reuse or split a side
12483 window.
12484
9234ff7f
GM
124852011-08-19 Glenn Morris <rgm@gnu.org>
12486
12487 * files.el (hack-local-variables-prop-line, hack-local-variables):
5e617bc2 12488 Downcase "Mode:". (Bug#9331)
9234ff7f 12489
f635daa1
CY
124902011-08-18 Chong Yidong <cyd@stupidchicken.com>
12491
12492 * international/characters.el: Add L and R categories.
12493
12494 * subr.el (bidi-string-mark-left-to-right): Rename from
12495 string-mark-left-to-right. Use category search.
12496
12497 * buff-menu.el (Buffer-menu-buffer+size): Callers changed.
12498
bc987f8b
JL
124992011-08-18 Juri Linkov <juri@jurta.org>
12500
12501 * faces.el (error, warning, success): New faces with definitions
12502 copied from old default values of `font-lock-warning-face',
12503 `compilation-warning', `compilation-info' (bug#6117).
12504
12505 * font-lock.el (font-lock-warning-face): Inherit from `error'.
12506
12507 * progmodes/compile.el (compilation-error): Inherit from `error'.
12508 (compilation-warning): Inherit from `warning'.
12509 (compilation-info): Inherit from `success'.
12510
12511 * dired.el (dired-marked): Inherit from `warning'.
12512 (dired-flagged): Inherit from `error'.
12513
57173b96
LMI
125142011-08-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
12515
3e79eb87
LMI
12516 * mail/smtpmail.el (auth-source): Require to avoid problems with
12517 binding variables (bug#9298). Also clean up some unused
12518 autoloads.
12519
b3fd59bd
SM
12520 * net/network-stream.el (network-stream-open-starttls):
12521 Support using starttls.el without using gnutls-cli.
57173b96 12522
02b404de
JL
125232011-08-17 Juri Linkov <juri@jurta.org>
12524
12525 * progmodes/grep.el (rgrep): Handle the case when
12526 `grep-find-command' is a cons cell (bug#9278).
12527
8c9177f2
MR
125282011-08-17 Martin Rudalics <rudalics@gmx.at>
12529
12530 * window.el (display-buffer-pop-up-frame): Run frame creation
12531 function with BUFFER current (as special-display-popup-frame
12532 does). Reported by Drew Adams.
12533
3644a0ab
DU
125342011-08-17 Daiki Ueno <ueno@unixuser.org>
12535
12536 * epa-mail.el: Simplify GnuPG group expansion using
12537 epg-expand-group.
12538 (epa-mail-group-alist, epa-mail-group-modtime)
12539 (epa-mail-gnupg-conf-file, epa-mail-parse-groups)
12540 (epa-mail-sync-groups, epa-mail-expand-recipient-1)
12541 (epa-mail-expand-recipients-2, epa-mail-expand-recipients):
12542 Remove.
12543
5e617bc2 125442011-08-16 Feng Li <fengli@gmail.com> (tiny change)
7c643369
FL
12545
12546 * calc/calc-ext.el (math-defintegral-2): Remove nested backquote.
12547
9c4aeabf
AM
125482011-08-16 Alan Mackenzie <acm@muc.de>
12549
12550 * progmodes/cc-engine.el (c-state-cache-non-literal-place):
12551 Correct, to avoid the inside of macros.
12552
3a99bf64
RS
125532011-08-16 Richard Stallman <rms@gnu.org>
12554
04963aa8
RS
12555 * epa-mail.el: Handle GnuPG group definitions.
12556 (epa-mail-group-alist, epa-mail-group-modtime)
12557 (epa-mail-gnupg-conf-file): New variables.
12558 (epa-mail-parse-groups, epa-mail-sync-groups)
12559 (epa-mail-expand-recipient-1, epa-mail-expand-recipients-2)
12560 (epa-mail-expand-recipients): New functions.
12561 (epa-mail-encrypt): Call epa-mail-expand-recipients.
12562
177549d0
RS
12563 * mail/rmail.el (rmail-epa-decrypt): New command.
12564
fe38beef
RS
12565 * epa.el (epa-decrypt-region): New arg MAKE-BUFFER-FUNCTION.
12566 Don't bind buffer-read-only, just inhibit-read-only.
3a99bf64
RS
12567 (epa--find-coding-system-for-mime-charset): Fix the non-xemacs case.
12568 (epa-decrypt-armor-in-region): Make error message clearer.
12569
934eacb9
SM
125702011-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
12571
12572 * minibuffer.el (completion-pcm--merge-completions): Don't merge "a1b"
12573 and "a2b" to "ab" for `prefix'.
12574
d024fb4e
CY
125752011-08-14 Chong Yidong <cyd@stupidchicken.com>
12576
12577 * ibuf-ext.el (ibuffer-filter-disable): New arg for deleting
12578 filter groups.
de148fee
CY
12579 (ibuffer-included-in-filter-p-1): Use it. Suggested by Rafaël
12580 Fourquet (Bug#8804).
d024fb4e 12581
62f1ca49
JB
125822011-08-12 Juanma Barranquero <lekktu@gmail.com>
12583
12584 * startup.el (argi): Declare as global variable (bug#9275).
12585
9ccaaa4b
CY
125862011-08-12 Chong Yidong <cyd@stupidchicken.com>
12587
12588 * subr.el (string-mark-left-to-right): Search the entire string
12589 for RTL script, not just the terminating character. Doc fix.
12590
a3dae87a
SM
125912011-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
12592
6cd18349
SM
12593 * progmodes/js.el (js-syntax-propertize, js-syntax-propertize-regexp):
12594 New function.
12595 (js--regexp-literal, js-syntax-propertize-function): Remove.
12596 (js-mode): Use js-syntax-propertize to handle multilines (bug#9183).
12597 (js-mode-map): Don't rebind electric keys.
12598 (js-insert-and-indent): Remove.
12599 (js-mode): Setup electric-layout and electric-indent instead.
12600
a3dae87a
SM
12601 * epa-file.el (epa-file-select-keys): Revert to nil default (bug#9280).
12602
9d5cb631
DU
126032011-08-12 Daiki Ueno <ueno@unixuser.org>
12604
12605 * epa.el (epa-progress-callback-function): Fix the logic of
12606 displaying progress.
12607 * epa-file.el (epa-file-insert-file-contents): Make progress
12608 display more user-friendly.
12609 (epa-file-write-region): Ditto.
12610
3e26a4a2
CY
126112011-08-10 Chong Yidong <cyd@stupidchicken.com>
12612
12613 * subr.el (string-mark-left-to-right): New function.
12614
12615 * buff-menu.el (Buffer-menu-buffer+size): Remove LRM argument.
12616 Use string-mark-left-to-right.
12617 (list-buffers-noselect): Caller changed.
12618
a3dae87a
SM
12619 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
12620 Use string-mark-left-to-right.
3e26a4a2
CY
12621 (tabulated-list-print): Recenter after moving point.
12622
ac8cf6e6
JL
126232011-08-10 Juri Linkov <juri@jurta.org>
12624
12625 * progmodes/grep.el (rgrep): Don't bind `process-connection-type'.
12626 This finishes incomplete reversion of 2011-06-30T01:09:13Z!larsi@gnus.org
12627 intended by 2011-07-06T15:49:19Z!larsi@gnus.org.
12628
8d96c9a4
CY
126292011-08-09 Chong Yidong <cyd@stupidchicken.com>
12630
12631 * hi-lock.el (hi-lock-unface-buffer): Fix interactive spec
12632 (Bug#7554).
12633
7be1c708 126342011-08-09 Andreas Schwab <schwab@linux-m68k.org>
29bbcfa7
AS
12635
12636 * xt-mouse.el (xterm-mouse-event-read): Try to recover the raw
12637 character. (Bug#6594)
12638
37e11a63
CY
126392011-08-08 Chong Yidong <cyd@stupidchicken.com>
12640
839dde57
CY
12641 * image-dired.el: Don't use find-file for temporary work (Bug#7895).
12642 (image-dired--with-db-file): New macro.
12643 (image-dired-write-tags, image-dired-remove-tag)
12644 (image-dired-create-gallery-lists, image-dired-write-comments)
12645 (image-dired-get-comment, image-dired-mark-tagged-files)
12646 (image-dired-list-tags, image-dired-gallery-generate): Use it.
12647 (image-dired-gallery-generate): Use insert-file-contents.
12648
37e11a63
CY
12649 * time.el (display-time-world-list, display-time-world-display):
12650 * time-stamp.el (time-stamp-string):
12651 * vc/add-log.el (add-change-log-entry): Use setenv instead of
12652 set-time-zone-rule (Bug#7337).
12653
0b4946c4
DU
126542011-08-08 Daiki Ueno <ueno@unixuser.org>
12655
12656 * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED): Fix typo.
12657 (epg-error-to-string, epg-errors-to-string): New function.
12658 (epg-wait-for-completion): Reverse errors list.
12659 (epg--check-error-for-decrypt, epg-sign-file, epg-sign-string)
12660 (epg-encrypt-file, epg-encrypt-string, epg-export-keys-to-file)
12661 (epg--import-keys-1, epg-receive-keys, epg-delete-keys)
12662 (epg-sign-keys, epg-generate-key-from-file)
12663 (epg-generate-key-from-string): Format errors by using
12664 epg-errors-to-string (bug#9255).
12665 (epg--status-INV_SGNR, epg--status-NO_SGNR): New status handler.
12666
75bfc667
JL
126672011-08-07 Juri Linkov <juri@jurta.org>
12668
12669 * faces.el (list-faces-display): Remove extra angle bracket
12670 from `help-mode-map'.
12671
12672 * info.el (Info-history-toc-nodes): Doc fix.
12673
12674 * longlines.el (longlines-mode): Doc fix.
12675
673e08bb
SM
126762011-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
12677
4640dd88
SM
12678 * progmodes/js.el (js--regexp-literal): Accept regexps at the beginning
12679 of statements and in a few more cases (bug#9183).
12680
673e08bb
SM
12681 * emacs-lisp/cl-macs.el (cl--make-usage-var, cl--make-usage-args):
12682 New functions.
12683 (cl-transform-lambda): Use them (bug#9239).
12684
89b3f019
MR
126852011-08-05 Martin Rudalics <rudalics@gmx.at>
12686
12687 * window.el (display-buffer-same-window)
12688 (display-buffer-same-frame, display-buffer-other-window)
12689 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
12690 (pop-to-buffer-other-window)
12691 (pop-to-buffer-same-frame-other-window)
12692 (pop-to-buffer-other-frame): Make them defuns.
12693 (switch-to-buffer): Don't set LABEL argument of pop-to-buffer.
12694
640c8776
SM
126952011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
12696
12697 * subr.el (make-composed-keymap): Move from C. Change calling
12698 convention, and improve docstring to bring attention to a subtle point.
12699 * minibuffer.el (completing-read-default): Adjust accordingly.
12700
63648a95
MA
127012011-08-03 Michael Albinus <michael.albinus@gmx.de>
12702
12703 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
12704 (tramp-open-shell): Use `tramp-shell-quote-argument'.
12705
12706 * net/trampver.el: Update release number.
12707
b796c9b7
SM
127082011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
12709
12710 * progmodes/sh-script.el (sh-font-lock-paren): Don't mistake "main" for
12711 "in" (bug#9190).
12712
2239d7d5
LMI
127132011-08-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
12714
e07dd7c3
LMI
12715 * mail/sendmail.el (sendmail-query-once): Restore the current
12716 buffer after querying (bug#9074).
12717
0e6a2bd7
LMI
12718 * dired.el (dired-flagged): Use different faces for marked and
12719 flagged files (bug#6117).
12720
ce887515
LMI
12721 * emacs-lisp/cl-macs.el (dolist): Mention that there's a nil block
12722 (bug#4433).
12723
92f2affc
LMI
12724 * ido.el (ido-mode): Switch off the message if called
12725 non-interactively.
12726
57d5aff0
LMI
12727 * mail/smtpmail.el (smtpmail-query-smtp-server): Try port 25
12728 before 587, since it appears that that's more likely to work for
12729 more people.
12730
98cd6c18 12731 * cus-edit.el (custom-file): When running under emacs -q, always
e1dbe924 12732 refuse to save the customizations, even if the .emacs file doesn't
98cd6c18
LMI
12733 exist.
12734
b96dec83
LMI
12735 * info.el: Remove the `Info-beginning-of-buffer' function
12736 (bug#8325).
12737
b796c9b7
SM
12738 * net/network-stream.el (network-stream-open-starttls):
12739 Use `starttls-available-p' to see whether starttls.el can be used.
2239d7d5 12740
d90e2ea0
MR
127412011-08-01 Martin Rudalics <rudalics@gmx.at>
12742
12743 * window.el (display-buffer-in-window): Don't set dedicated status
12744 of window here (Bug#9215).
12745 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
12746 (display-buffer-pop-up-side-window)
b796c9b7 12747 (display-buffer-in-side-window): Set dedicated status of window here.
d90e2ea0 12748
cca09170
SM
127492011-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
12750
12751 * emacs-lisp/package.el (package-generate-autoloads): Load autoloads
12752 before binding generated-autoload-file.
12753
027b979c
DD
127542011-08-01 Deniz Dogan <deniz@dogan.se>
12755
12756 * net/rcirc.el (rcirc-handler-333): Clarify docstring.
12757
3c7ee4f3
MA
127582011-07-30 Michael Albinus <michael.albinus@gmx.de>
12759
12760 Sync with Tramp 2.2.2.
12761
12762 * net/trampver.el: Update release number.
12763
2cc8e51a
JL
127642011-07-30 Juri Linkov <juri@jurta.org>
12765
12766 * dired-aux.el (dired-touch-initial): Remove function.
12767 (dired-do-chxxx): For op-symbol `touch', set `initial' to the
12768 current time, and `default' to the last modification time of the
12769 current marked file (bug#6887).
12770
a514d856
JM
127712011-07-28 Jose E. Marchesi <jemarch@gnu.org>
12772
12773 * simple.el (goto-line): Use string-to-number to provide a
2cc8e51a 12774 numeric argument to read-number (bug#9163).
a514d856 12775
8a7eddd7
MA
127762011-07-27 Michael Albinus <michael.albinus@gmx.de>
12777
12778 * net/tramp-sh.el (tramp-maybe-send-script): Don't let-bind the
12779 connection process, it could be nil.
12780
1ddd96f5
LL
127812011-07-27 Leo Liu <sdl.web@gmail.com>
12782
12783 Simplify url handling in rcirc-mode.
12784
12785 * net/rcirc.el (rcirc-browse-url-map, rcirc-browse-url-at-point)
12786 (rcirc-browse-url-at-mouse): Remove.
12787 * net/rcirc.el (rcirc-markup-urls): Use `make-button'.
12788
b248a85d
AM
127892011-07-26 Alan Mackenzie <acm@muc.de>
12790
12791 Fontify bitfield declarations properly.
12792
12793 * progmodes/cc-langs.el (c-has-bitfields): New lang variable.
12794 (c-symbol-chars): Now exported as a lang variable.
12795 (c-not-primitive-type-keywords): New lang variable.
12796
12797 * progmodes/cc-fonts.el (c-font-lock-declarations): Jump over the
12798 QT keyword "more" to prevent "more slots: ...." being spuriously
58179cce 12799 parsed as a bitfield declaration.
b248a85d 12800
b796c9b7
SM
12801 * progmodes/cc-engine.el (c-beginning-of-statement-1):
12802 Refactor and enhance to handle bitfield declarations.
b248a85d
AM
12803 (c-punctuation-in): New function.
12804 (c-forward-decl-or-cast-1): Enhance CASE 3 to handle bitfield
12805 declarations properly.
12806
68575ab0
UJ
128072011-07-26 Ulf Jasper <ulf.jasper@web.de>
12808
12809 * calendar/icalendar.el (icalendar--all-events): Take care of
12810 multiple vcalendars in a single file.
b796c9b7 12811 (icalendar--convert-float-to-ical): Checkdoc fixes.
68575ab0 12812
0f0a88b9
DD
128132011-07-25 Deniz Dogan <deniz@dogan.se>
12814
12815 * image.el (insert-image): Clarifying docstring.
12816
0b3f36df
MA
128172011-07-24 Michael Albinus <michael.albinus@gmx.de>
12818
12819 * net/tramp-sh.el (tramp-barf-unless-okay): Return the value of
12820 `tramp-send-command-and-check' if there is no error.
12821 (tramp-send-command-and-read): Suppress *all* errors if NOERROR.
12822
a9901f61
AM
128232011-07-22 Alan Mackenzie <acm@muc.de>
12824
12825 Prevent cc-langs.elc being loaded at run time.
12826
12827 * progmodes/cc-mode.el: Remove two autoload forms which loaded
12828 cc-langs.
12829
4d61f28d 12830 * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Don't emit
a9901f61
AM
12831 "(require 'cc-langs)". Quote a form so it will evaluate at
12832 (cc-mode's) compilation time.
12833
11d074b2
MA
128342011-07-22 Michael Albinus <michael.albinus@gmx.de>
12835
12836 * net/tramp.el (tramp-file-name-handler): Avoid recursive
12837 loading. (Bug#9114)
12838
938b94c8
MR
128392011-07-21 Martin Rudalics <rudalics@gmx.at>
12840
12841 * window.el (display-buffer-pop-up-window)
12842 (display-buffer-pop-up-side-window)
12843 (display-buffer-in-side-window): Call display-buffer-set-height
12844 and display-buffer-set-width after setting the new window's
b796c9b7 12845 buffer so `fit-window-to-buffer' and friends work on the right buffer.
938b94c8 12846
bfa4f190
SS
128472011-07-20 Sam Steingold <sds@gnu.org>
12848
12849 * progmodes/etags.el (etags-file-of-tag, etags-tags-table-files)
12850 (etags-tags-included-tables): Call `convert-standard-filename' on
12851 the file names contained in TAGS so that windows Emacs can handle
12852 TAGS files created by cygwin ctags.
12853
8ca42262
LMI
128542011-07-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
12855
12856 * proced.el (proced-update): Revert yesterday's bug#1779 patch,
12857 which apparently didn't work.
12858
5db2afd2 128592011-07-19 Roland Winkler <winkler@gnu.org>
2ecab2b5 12860
5db2afd2
RW
12861 * proced.el (proced-send-signal): For *Marked Processes* buffer
12862 put point at beginning of buffer.
12863
92e15d10
SB
128642011-07-19 Stephen Berman <stephen.berman@gmx.net>
12865
12866 * proced.el (proced-format): Make header lines align with the text
12867 (bug#1779).
12868
1bfd59e5
LMI
128692011-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
12870
12871 * view.el (view-buffer): Allow running in `special' modes if we're
12872 visiting a file (bug#8615).
12873
f5aae37c
MR
128742011-07-19 Martin Rudalics <rudalics@gmx.at>
12875
12876 * window.el (display-buffer-alist-of-strings-p)
b796c9b7
SM
12877 (display-buffer-alist-set-1, display-buffer-alist-set-2):
12878 New functions.
f5aae37c
MR
12879 (display-buffer-alist-set): Rewrite to handle Emacs 23 options
12880 more accurately.
12881
bf2c1571
AM
128822011-07-18 Alan Mackenzie <acm@muc.de>
12883
12884 Fontify declarators properly when, e.g., a jit-lock chunk begins
12885 inside a declaration.
12886
12887 * progmodes/cc-langs.el (c-symbol-chars): Correct a typo.
12888
b796c9b7
SM
12889 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
12890 New function.
bf2c1571
AM
12891 (c-complex-decl-matchers): Insert reference to
12892 c-font-lock-enclosing-decls.
12893
12894 * progmodes/cc-engine.el (c-backward-single-comment):
12895 (c-backward-comments): Bind open-paren-in-column-0-is-defun-start
12896 to nil around calls to (forward-comment -1).
12897
4e190b80
LMI
128982011-07-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
12899
12dc863d
LMI
12900 * image.el (put-image): Doc typo fix.
12901
a762e966
LMI
12902 * progmodes/etags.el (tags-search): Doc typo fix.
12903
4e190b80
LMI
12904 * mail/smtpmail.el (smtpmail-via-smtp): Query the user for
12905 password if we get errors 550 to 554.
12906
f019fb21
LMI
129072011-07-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
12908
b796c9b7 12909 * net/gnutls.el (gnutls-log-level): Remove.
750c33f7 12910
81746738
LMI
12911 * textmodes/fill.el (adaptive-fill-regexp): Include EN DASH as an
12912 indentation character (bug#6380).
12913
3ee3a1b5
LMI
12914 * files.el (buffer-offer-save): Made permanently local (bug#6241).
12915
c82f64de
LMI
12916 * doc-view.el (doc-view-make-safe-dir): Rewrite the error message
12917 to clarify what the problem is (bug#4291).
12918
f019fb21
LMI
12919 * simple.el (current-kill): Clarify what
12920 `interprogram-paste-function' does (bug#7500).
ca425c7c
LMI
12921 (auto-fill-mode): Document `auto-fill-function' in relation to
12922 `auto-fill-mode' (bug#2470).
f019fb21 12923
0794775d
LM
129242011-07-16 Lawrence Mitchell <wence@gmx.li>
12925
12926 * emacs-lisp/cl-macs.el (defstruct): Ignore argument to setf
12927 method if slot is read-only (bug#9035).
12928
be39b8cc
MR
129292011-07-16 Martin Rudalics <rudalics@gmx.at>
12930
b796c9b7 12931 * frame.el (select-frame-set-input-focus): New argument NORECORD.
be39b8cc 12932 * window.el (pop-to-buffer): Select window used even if it was
b796c9b7
SM
12933 selected before, see discussion of (Bug#8615), (Bug#6954).
12934 Pass argument NORECORD on to select-frame-set-input-focus.
be39b8cc 12935
6ccf7859
GM
129362011-07-15 Glenn Morris <rgm@gnu.org>
12937
12938 * subr.el (read-char-choice): Allow quitting. (Bug#9001)
03ea5b87 12939 Respect help-form.
6ccf7859 12940
87e86684
LM
129412011-07-09 Lawrence Mitchell <wence@gmx.li>
12942
12943 * net/gnutls.el (gnutls-min-prime-bits): New variable.
12944 (gnutls-negotiate): Use it.
12945
d6066239
LMI
129462011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
12947
b796c9b7
SM
12948 * net/gnutls.el (gnutls-negotiate):
12949 Upcase `gnutls-algorithm-priority'.
d6066239 12950
bd23ebc0
GM
129512011-07-15 Glenn Morris <rgm@gnu.org>
12952
c65bca65
GM
12953 * jka-compr.el (jka-compr-verbose): Move from here...
12954 * jka-cmpr-hook.el (jka-compr-verbose): ... to here. (Bug#9090)
12955 Add missing :version tag.
12956 * info.el: No need to require jka-compr when compiling.
bd23ebc0 12957
478615cc
LMI
129582011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
12959
7b41decb
LMI
12960 * net/gnutls.el (gnutls-algorithm-priority): New variable.
12961 (gnutls-negotiate): Use it.
12962
dbc44fcd
LMI
12963 * emacs-lisp/cl-macs.el (declare): Link to the "Declarations" node.
12964
06789f97
LMI
12965 * info.el (Info-beginning-of-buffer): New command.
12966 (Info-mode-map): Use it instead of `beginning-of-buffer' to allow
12967 announcing `b' as the key (bug#8325).
ab896c37 12968 (Info-mode-menu): Use `Info-beginning-of-buffer' for consistency.
06789f97 12969
c39da690
LMI
12970 * emacs-lisp/cl-macs.el (declare): Doc string fix-up.
12971
3aa5f34b
LMI
12972 * international/mule-cmds.el
12973 (describe-specified-language-support): Make the error message
12974 clearer (bug#8905).
12975
4bf0979f
LMI
12976 * emacs-lisp/cl-macs.el (declare): Add a doc string (bug#8690).
12977
478615cc
LMI
12978 * isearch.el (isearch-barrier): Add a doc string, since it's
12979 mentioned in a function doc string (bug#8678).
12980
75c68aa1
MR
129812011-07-15 Martin Rudalics <rudalics@gmx.at>
12982
12983 * window.el (switch-to-buffer): Call pop-to-buffer with normalized
12984 buffer argument (Bug#9083) and self-identifying label argument.
12985
a7c33da2
GM
129862011-07-15 Glenn Morris <rgm@gnu.org>
12987
12988 * emacs-lisp/debug.el (debug): Doc fix. (Bug#8273)
12989
2f5c6024
LMI
129902011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
12991
12992 * man.el (Man-fontify-manpage): Fix message when formatting the
12993 man page (bug#7929).
12994
0bb23927 129952011-07-14 Eli Zaretskii <eliz@gnu.org>
cce4b0a7
EZ
12996
12997 * buff-menu.el (Buffer-menu-buffer+size): Accept an additional
12998 argument LRM; if non-nil, append an invisible LRM character to the
12999 buffer name.
13000 (list-buffers-noselect): Call Buffer-menu-buffer+size with the
13001 last argument non-nil, when formatting buffer names.
0bb23927
EZ
13002 (Buffer-menu-mode, list-buffers-noselect): Force left-to-right
13003 paragraph direction.
cce4b0a7 13004
621ef9ab
LMI
130052011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
13006
d1583c48
LMI
13007 * man.el (Man-bgproc-sentinel): Skip any arguments and only output
13008 the man page name (bug#7929).
13009
6a57fb5f
LMI
13010 * image.el (put-image): Mention the `put-image' overlay property
13011 (bug#7834).
13012
d7956b14
LMI
13013 * scroll-bar.el (set-scroll-bar-mode): Mention that
13014 `scroll-bar-mode' lists the values (bug#7772).
13015
5b2d4a66
LMI
13016 * image-mode.el (image-mode-fit-frame): Mention that it's a toggle
13017 command (bug#7729).
13018
7509a874
LMI
13019 * rect.el (apply-on-rectangle): Return the point after the last
13020 operation.
13021 (string-rectangle): Go to the point after the last operation
13022 (bug#7522).
13023
4fe74b19
LMI
13024 * printing.el (pr-toggle-region): Clarify the documentation
13025 slightly (bug#7493).
13026
b796c9b7
SM
13027 * time.el (display-time-update):
13028 Allow `display-time-mail-function' to return nil (bug#7158).
13029 Fix suggested by Detlev Zundel.
ab283561 13030
fc233c9d
LMI
13031 * vc/diff.el (diff): Clarify the order the file names are read
13032 (bug#7111).
13033
43f5740b
LMI
13034 * mouse.el (mouse-set-region): Link to `mouse-drag-copy-region' in
13035 the doc string (bug#7015).
13036
f2182a76
LMI
13037 * font-lock.el (font-lock-maximum-decoration): Mention what
13038 numeric levels mean (bug#6935).
13039
621ef9ab
LMI
13040 * startup.el (initial-buffer-choice): Don't mention the `none'
13041 selection, which is against policy.
13042
adc47434
MR
130432011-07-14 Martin Rudalics <rudalics@gmx.at>
13044
b796c9b7
SM
13045 * window.el (display-buffer-normalize-special):
13046 Replace `dedicated' by `dedicate' to dedicate window (Bug#9072).
adc47434 13047
7e5bfb8f
EZ
130482011-07-14 Eli Zaretskii <eliz@gnu.org>
13049
13050 * subr.el (version<, version<=, version=): Mention "-CVS" and
13051 "-12345" alpha version numbers.
13052
27fa387a
CY
130532011-07-14 Chong Yidong <cyd@stupidchicken.com>
13054
13055 * bindings.el: Add advertised binding for set-mark-command
13056 (Bug#5772).
13057
8bdfa064
CY
130582011-07-14 Chong Yidong <cyd@stupidchicken.com>
13059
13060 * bindings.el (mode-line-other-buffer):
13061 * bookmark.el (bookmark-bmenu-2-window):
13062 * bs.el (bs-cycle-next, bs-cycle-previous):
13063 * net/tramp-cmds.el (tramp-append-tramp-buffers): Revert to using
13064 switch-to-buffer.
13065
13066 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
b796c9b7 13067 Delete.
8bdfa064 13068
5eba16a3
JB
130692011-07-14 Juanma Barranquero <lekktu@gmail.com>
13070
13071 * follow.el (follow-debug-message, follow-redisplay):
13072 * jka-cmpr-hook.el (with-auto-compression-mode):
13073 Fix typos in docstrings.
13074
15853710
LMI
130752011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
13076
a28e4607
LMI
13077 * subr.el (with-silent-modifications): Clarify somewhat what the
13078 macro inhibits (bug#6525).
13079
15853710
LMI
13080 * simple.el (eval-expression): Note what it does if called
13081 interactively (bug#6495).
13082
bee0fcef
CY
130832011-07-13 Chong Yidong <cyd@stupidchicken.com>
13084
b796c9b7
SM
13085 * window.el (switch-to-buffer): New arg FORCE-SAME-WINDOW.
13086 Use pop-to-buffer buffer-or-name if it is nil.
bee0fcef
CY
13087
13088 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
13089 Remove switch-to-buffer.
13090
58274504
LMI
130912011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
13092
bd2fcc8d
LMI
13093 * files.el (make-directory): Clarify that an error will be raised
13094 if there's an error (bug#6397).
13095
0f04b32c
LMI
13096 * startup.el (initial-buffer-choice): Add `none' as a choice
13097 (bug#6234).
13098
465c5fc8
LMI
13099 * subr.el (add-hook): Clarify section about buffer-local hooks
13100 (bug#6218).
13101
58274504
LMI
13102 * dired.el (dired-flagged): Clarify doc string (bug#6117).
13103
bead9a43
JB
131042011-07-13 Juanma Barranquero <lekktu@gmail.com>
13105
13106 * tabify.el (untabify): Preserve the current column so that point
13107 doesn't move (bug#6032).
13108
3af98a7b
LMI
131092011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
13110
b796c9b7
SM
13111 * progmodes/cperl-mode.el (cperl-syntaxify-by-font-lock):
13112 Rewrite to avoid awkward possessive "s" (bug#5986).
3af98a7b 13113
6240145a
GM
131142011-07-13 Glenn Morris <rgm@gnu.org>
13115
13116 * dired.el (dired-use-ls-dired): Doc fix. (Bug#9039).
13117 (dired-insert-directory): Give a message the first time
13118 if ls is found not to support --dired.
13119
1d8c2ccc
LMI
131202011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
13121
13122 * simple.el (toggle-truncate-lines): Clarify what is toggled
13123 (bug#5580). Text by Drew Adams.
13124
5fc4038e
CY
131252011-07-13 Chong Yidong <cyd@stupidchicken.com>
13126
13127 * simple.el (blink-matching-open): Make the error message from the
13128 last change less verbose.
13129
bf6012e5
DN
131302011-07-13 Dan Nicolaescu <dann@ics.uci.edu>
13131
13132 * font-lock.el (font-lock-comment-face): Use the high contrast
13133 "yellow" color for font-lock-comment-face on low color terminals
13134 using a dark background color (bug#4221).
13135
343c3b5a
LMI
131362011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
13137
7e9505c5
LMI
13138 * dired.el (dired-insert-set-properties): Make the doc string
13139 reflect what it does now (bug#5325).
13140
c26fdcf5
LMI
13141 * simple.el (blink-matching-open): Say that we were unable to find
13142 the match within the limit, if we're limited (bug#5122).
13143
bb388cc5
LMI
13144 * international/mule-cmds.el (prefer-coding-system): Add an
13145 example (bug#4869).
13146
343c3b5a
LMI
13147 * progmodes/etags.el (tags-search): Document `file-list-form'
13148 (bug#4731).
13149
2a517d45
LM
131502011-07-13 Lawrence Mitchell <wence@gmx.li>
13151
13152 * net/browse-url.el (browse-url-default-browser)
13153 (browse-url-browser-function): Make the default browser choice a
13154 bit more logical (bug#4300). Also clean up the doc string.
13155
b6c78ef2
JB
131562011-07-13 Juanma Barranquero <lekktu@gmail.com>
13157
13158 * bindings.el (completion-ignored-extensions): Add OpenMCL/Clozure
13159 binary endings (bug#4440).
13160
1c4dd947
LMI
131612011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
13162
a2014063
LMI
13163 * info.el (info-insert-file-contents): Inhibit jka-compr messages,
13164 which can be pretty annoying (bug#8971).
13165
9c9c2d88
LMI
13166 * jka-compr.el (jka-compr-verbose): New variable, and use
13167 throughout (bug#8971).
13168
1c4dd947
LMI
13169 * info.el (Info-find-file): Fall back on the installation
13170 directory if we can't find the info node anywhere else.
13171
a1c9f41b
SO
131722011-07-13 Sergei Organov <osv@javad.com> (tiny change)
13173
13174 * vc/vc.el (vc-revert-file):
13175 Don't set file time-stamp in the past. (Bug#5181)
13176
536f3d36
LMI
131772011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
13178
7152b011
LMI
13179 * files.el (after-find-file): Give a better error message when
13180 trying to find a symlink that points to a file that doesn't exist
13181 (bug#4398).
13182
536f3d36
LMI
13183 * progmodes/cc-vars.el: Remove (probably) misleading comment
13184 (bug#4396).
13185
460c0fba
JB
131862011-07-12 Johan Bockgård <bojohan@gnu.org>
13187
13188 * mouse-sel.el (mouse-sel-primary-overlay): Use the `region' face.
13189
7a6bda45
CY
131902011-07-12 Chong Yidong <cyd@stupidchicken.com>
13191
13192 * mouse-sel.el: Hack restoring functionality, while keeping
13193 compatibility with 2010-07-03 changes to mouse selection.
13194 (mouse-sel-primary-overlay): New var.
13195 (mouse-sel-selection-alist): Use it.
13196 (mouse-sel-mode): Doc fix; remove points that are default features
13197 of mouse.el.
13198
c79598ef
JB
131992011-07-12 Johan Bockgård <bojohan@gnu.org>
13200
13201 * progmodes/compile.el (compilation-error-regexp-alist-alist):
13202 Fix previous fix (bug#2490).
13203
ff8be6ef
RW
132042011-07-12 Roland Winkler <winkler@gnu.org>
13205
b796c9b7
SM
13206 * textmodes/bibtex.el (bibtex-initialize):
13207 Use pop-to-buffer-same-window.
ff8be6ef
RW
13208 (bibtex-search-entries): Fix interactive call.
13209
296ba3ee
LMI
132102011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
13211
f5242a02 13212 * progmodes/compile.el (compilation-error-regexp-alist-alist):
b796c9b7
SM
13213 Fontise bytecomp Error lines more correctly (bug#2490).
13214 Fix suggested by Johan Bockgård.
f5242a02 13215
296ba3ee
LMI
13216 * subr.el (remove-duplicates): Remove; `delete-dups' is sufficient.
13217
13218 * dired-x.el (dired-guess-default): Use `delete-dups'.
13219
f69fd0d2
CY
132202011-07-12 Chong Yidong <cyd@stupidchicken.com>
13221
13222 * dired.el (dired-mark-prompt):
13223 * dired-aux.el (dired-read-shell-command): Doc fix.
13224
eab5dc07
LMI
132252011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
13226
b796c9b7
SM
13227 * mail/sendmail.el (sendmail-query-once):
13228 Use `customize-save-variable' unconditionally, now that it works under
9988520a
LMI
13229 emacs -Q.
13230
13231 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
13232
eab5dc07
LMI
13233 * cus-edit.el (custom-file): Take an optional no-error variable.
13234 (customize-save-variable): Set the variable, and give a warning if
13235 running under "emacs -q".
13236
a1e65d42
JB
132372011-07-11 Juanma Barranquero <lekktu@gmail.com>
13238
13239 * loadhist.el (unload-feature-special-hooks):
13240 Add `auto-coding-functions', `fill-nobreak-predicate' and
13241 `find-directory-functions' (bug#5327).
13242
1d52da10
LMI
132432011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
13244
be958f1d
LMI
13245 * vc/ediff.el (ediff-patch-file): Clarify doc string (bug#3138).
13246
5bedb26c
LMI
13247 * cus-edit.el (custom-guess-name-alist): -alist variables should
13248 use the `alist' type (bug#3120). Suggested by Drew Adams.
13249
1d52da10
LMI
13250 * printing.el: Add documentation to all the `pr-toggle-' commands.
13251
cd394be1 132522011-07-11 Leo Liu <sdl.web@gmail.com>
481a51b6
LL
13253
13254 * files.el (toggle-read-only): Only do the `C-x C-q' warning on VC
13255 backends where it makes sense (bug#2623).
13256
dcc88d8a
LMI
132572011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
13258
c3de9feb
LMI
13259 * dired-x.el (dired-guess-default): Remove duplicate shell command
13260 entries (bug#2028).
8a93078b 13261 (dired-guess-default): Fix grammar in doc string (bug#2028).
eea84fe5 13262 (dired-guess-shell-alist-user): Clarify the example a bit (bug#2030).
c3de9feb 13263
dcc88d8a
LMI
13264 * subr.el (remove-duplicates): New conveniency function.
13265
505e3645
LMI
132662011-07-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
13267
13268 * tool-bar.el (tool-bar-mode): Clarify positive/negative arguments
13269 (bug#1526).
13270
132712011-07-10 Martin Rudalics <rudalics@gmx.at>
13272
13273 * window.el (display-buffer-normalize-default): Don't invert
13274 meaning of even-window-heights. Reported by Eli Zaretskii
13275 <eliz@gnu.org>.
13276
455e4fa1
BR
132772011-07-10 Bob Rogers <rogers@rgrjr.dyndns.org>
13278
13279 * vc/vc.el (vc-diff-internal): Fix race condition (Bug#1256).
13280
8e0bc3e9
CY
132812011-07-10 Chong Yidong <cyd@stupidchicken.com>
13282
13283 * window.el (display-buffer): Fix arguments to
13284 display-buffer-reuse-window in last change.
13285
fa7c3228
CY
13286 * faces.el (link): Use a less saturated blue on light backgrounds.
13287
13288 * startup.el (fancy-startup-text, fancy-about-text)
13289 (fancy-startup-tail): Use font-lock faces, for background safety.
13290
c0a7f300
BN
132912011-07-09 Bob Nnamtrop <bobnnamtrop@gmail.com> (tiny change)
13292
b796c9b7
SM
13293 * emulation/viper-cmd.el (viper-change-state-to-vi):
13294 Limit triggering of abbrev expansion (Bug#9038).
c0a7f300 13295
4dc2a129
MR
132962011-07-09 Martin Rudalics <rudalics@gmx.at>
13297
13298 * window.el (display-buffer-default-specifiers): Remove.
13299 (display-buffer-macro-specifiers): Remove default specifiers.
13300 (display-buffer-alist): Default to nil.
b796c9b7 13301 (display-buffer-reuse-window): New optional argument other-window.
4dc2a129
MR
13302 (display-buffer-pop-up-window): Allow splitting internal
13303 windows. Check whether a live window was created.
13304 (display-buffer-other-window-means-other-frame)
13305 (display-buffer-normalize-arguments): Rename to
13306 display-buffer-normalize-argument and rewrite. Set the
13307 other-window specifier.
13308 (display-buffer-normalize-special): New function.
13309 (display-buffer-normalize-options): Rename to
13310 display-buffer-normalize-default and rewrite.
13311 (display-buffer-normalize-options-inhibit): Remove.
13312 (display-buffer-normalize-specifiers): Rewrite.
13313 (display-buffer): Process other-window specifier and call
13314 display-buffer-reuse-window with it. Emulate Emacs 23 behavior
13315 more faithfully.
b796c9b7 13316 (pop-up-windows, even-window-heights): Restore Emacs 23 default values.
4dc2a129 13317 (display-buffer-alist-set): Don't handle 'unset default values.
b796c9b7
SM
13318 (display-buffer-in-window, display-buffer-alist-set):
13319 Replace symbol "dedicated" by "dedicate". Reported by Tassilo Horn
4dc2a129
MR
13320 <tassilo@member.fsf.org>.
13321
2d43b8c9
LL
133222011-07-09 Leo Liu <sdl.web@gmail.com>
13323
13324 * register.el (insert-register): Restore accidental change on
13325 2011-06-26. (Bug#9028)
13326
7f9b7c53
GM
133272011-07-09 Glenn Morris <rgm@gnu.org>
13328
13329 * subr.el (remq): Handle the empty list. (Bug#9024)
13330
f042cfd8
AS
133312011-07-08 Andreas Schwab <schwab@linux-m68k.org>
13332
13333 * mail/sendmail.el (send-mail-function): No longer delay custom
13334 initialization.
13335 * custom.el (custom-initialize-delay): Doc fix.
13336
856b2f11
SM
133372011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
13338
13339 * abbrev.el (expand-abbrev): Try to preserve point (bug#5805).
13340
afae1d68
MA
133412011-07-08 Michael Albinus <michael.albinus@gmx.de>
13342
13343 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use a
13344 human-friendly prompt.
13345
0757af94
SM
133462011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
13347
13348 * vc/vc-bzr.el (vc-bzr-revision-keywords): Remove svn, it's only
13349 provided by a particular plugin.
13350
d760b731
LMI
133512011-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
13352
13353 * mail/sendmail.el (sendmail-query-once): If we aren't allowed to
13354 save customizations (with "emacs -Q"), just set the variable
13355 instead of erroring out.
13356
13357 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
13358
cd79ce90
JL
133592011-07-08 Juri Linkov <juri@jurta.org>
13360
13361 * arc-mode.el (archive-zip-expunge, archive-zip-update)
13362 (archive-zip-update-case): Use 7z if found by `executable-find'.
13363 The order of searching the available programs is the same as in
13364 `archive-zip-extract' (bug#8968).
13365
14cc04aa
CY
133662011-07-07 Chong Yidong <cyd@stupidchicken.com>
13367
13368 * menu-bar.el (menu-bar-line-wrapping-menu): Revert last change.
13369 (menu-bar-options-menu): Tweak descriptions.
13370
0a1848ec
LMI
133712011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
13372
13373 * menu-bar.el (menu-bar-line-wrapping-menu): Make all the Options
13374 menu items into verb phrases (bug#1421). Also refill to fit under
13375 80 columns.
13376
f5bd0689
CY
133772011-07-07 Chong Yidong <cyd@stupidchicken.com>
13378
538e85c6
CY
13379 * info.el (info, Info-read-node-name-2, Info-read-node-name-1)
13380 (Info-read-node-name): Doc fix (Bug#1084).
13381
f5bd0689
CY
13382 * thingatpt.el (forward-thing, bounds-of-thing-at-point)
13383 (thing-at-point, beginning-of-thing, end-of-thing, in-string-p)
13384 (end-of-sexp, beginning-of-sexp)
13385 (thing-at-point-bounds-of-list-at-point, forward-whitespace)
13386 (forward-symbol, forward-same-syntax, word-at-point)
13387 (sentence-at-point): Doc fix (Bug#1144).
13388
56ec5115
LMI
133892011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
13390
f3f8e37f
LMI
13391 * info.el (Info-mode-map): Remove S-TAB binding, since [backtab]
13392 should cover it (bug#1281).
13393
0757af94 13394 * cus-edit.el (custom-show): Mark as obsolete.
af0905c8 13395
e9fce1ac 13396 * net/network-stream.el (network-stream-open-starttls): If GnuTLS
12b9eb35
LMI
13397 negotiation fails, then possibly try again with a non-encrypted
13398 connection (bug#9017).
13399
56ec5115
LMI
13400 * mail/smtpmail.el (smtpmail-stream-type): Note that `plain' can
13401 be used.
13402
c2f9aec8
RS
134032011-07-07 Richard Stallman <rms@gnu.org>
13404
13405 * mail/rmail.el (rmail-next-error-move): Use `compilation-message'
13406 property, and handle its changed format.
13407 Look for the correct line number.
13408 Use file's line contents (but not past first =) to find
13409 correct line in message.
13410
ef7b981d 134112011-07-07 Kenichi Handa <handa@m17n.org>
c805dec0
KH
13412
13413 * international/characters.el (build-unicode-category-table):
13414 Delete it.
0757af94 13415 (unicode-category-table): Set it by unicode-property-table-internal.
c805dec0 13416
0757af94 13417 * international/mule-cmds.el (char-code-property-alist): Move to
c805dec0
KH
13418 to src/chartab.c.
13419 (get-char-code-property): Call unicode-property-table-internal to
13420 load a file. Call get-unicode-property-internal where necessary.
13421 (put-char-code-property): Call unicode-property-table-internal to
13422 load a file. Call put-unicode-property-internal where necessary.
13423 put-unicode-property-internal where necessary.
0757af94
SM
13424 (char-code-property-description):
13425 Call unicode-property-table-internal to load a file.
c805dec0
KH
13426
13427 * international/charprop.el:
13428 * international/uni-bidi.el:
13429 * international/uni-category.el:
13430 * international/uni-combining.el:
13431 * international/uni-comment.el:
13432 * international/uni-decimal.el:
13433 * international/uni-decomposition.el:
13434 * international/uni-digit.el:
13435 * international/uni-lowercase.el:
13436 * international/uni-mirrored.el:
13437 * international/uni-name.el:
13438 * international/uni-numeric.el:
13439 * international/uni-old-name.el:
13440 * international/uni-titlecase.el:
13441 * international/uni-uppercase.el: Regenerate.
13442
13443 * loadup.el: Load international/charprop.el before
13444 international/characters.
13445
e14b388a
CY
134462011-07-07 Chong Yidong <cyd@stupidchicken.com>
13447
13448 * window.el (next-buffer, previous-buffer): Signal an error if
13449 called from a minibuffer window.
13450
13451 * bindings.el: Revert 2011-07-04 change.
13452
354cf0ba
RS
134532011-07-06 Richard Stallman <rms@gnu.org>
13454
13455 * mail/rmailmm.el (rmail-mime-process): Use markers for buf positions.
13456 (rmail-mime-insert-bulk, rmail-mime-insert-text):
13457 Treat markers like ints.
13458 (rmail-mime-entity): Doc fix.
13459
a48868a7
LMI
134602011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
13461
4906cd3d
LMI
13462 * mail/smtpmail.el (smtpmail-default-smtp-server): Made into a
13463 defcustom again for backwards compatibility.
13464
e0457abe
LMI
13465 * simple.el (shell-command-on-region): Fill.
13466
d67f7e1f
LMI
13467 * dired-aux.el (dired-kill-line): Add a doc string.
13468
fe204702
LMI
13469 * dabbrev.el (dabbrev-abbrev-char-regexp): Note that nil defaults
13470 to "\\sw\\|\\s_" (bug#358).
13471
a48868a7
LMI
13472 * dired.el (dired-mode): Clarify "unmark or unflag" (bug#8770).
13473 (dired-unmark-backward): Ditto.
13474 (dired-flag-backup-files): Ditto.
13475
13476 * dired-x.el (dired-mark-sexp): Ditto.
13477
aa8a705c
RS
134782011-07-06 Richard Stallman <rms@gnu.org>
13479
13480 * mail/rmailmm.el: Give entity a new slot, TRUNCATED.
13481 (rmail-mime-entity): New arg TRUNCATED.
13482 (rmail-mime-entity-truncated, rmail-mime-entity-set-truncated):
13483 New functions.
13484 (rmail-mime-save): Warn if entity is truncated.
13485 (rmail-mime-toggle-hidden): Likewise, for showing.
13486 (rmail-mime-process-multipart): Record when an entity is truncated.
13487
a9a936b9
RS
13488 * mail/rmailmm.el (rmail-search-mime-message): Don't get confused
13489 if ENTITY is a string.
13490
1f2b92cb
LMI
134912011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
13492
f4f73198 13493 * emacs-lisp/lisp-mode.el (eval-defun-1): Update the documentation
0757af94
SM
13494 of faces when `M-C-x'-ing their definitions (bug#8378).
13495 Also clean up the code slightly.
f4f73198 13496
12b16734 13497 * progmodes/grep.el (rgrep): Don't bind `process-connection-type',
da6062e6 13498 because that makes the colors go away.
12b16734 13499
f0691d22
LMI
13500 * mail/sendmail.el (send-mail-function): Change the default to
13501 `sendmail-query-once'.
9e87df06 13502 (sendmail-query-once): Add an autoload cookie.
f0691d22 13503
1f2b92cb
LMI
13504 * net/network-stream.el (network-stream-open-starttls): Try using
13505 a plain connection even if the server offered STARTTLS, and we
13506 kinda wanted to use it, if Emacs doesn't have any STARTTLS
13507 capability. This should make smtpmail.el work in slightly more
13508 configurations.
13509
1cdd2a1b
MA
135102011-07-06 Michael Albinus <michael.albinus@gmx.de>
13511
13512 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
13513 New defun.
13514 * net/tramp-cmds.el (tramp-append-tramp-buffers): Use it.
13515
fbcc67e2
MM
135162011-07-06 Michael R. Mauger <mmaug@yahoo.com>
13517
13518 * progmodes/sql.el: Version 3.0
0757af94 13519 (sql-product-alist): Add product :completion-object,
fbcc67e2 13520 :completion-column, and :statement attributes.
0757af94 13521 (sql-mode-menu, sql-interactive-mode-map): Fix List entries.
fbcc67e2 13522 (sql-mode-syntax-table): Mark all punctuation.
0757af94 13523 (sql-font-lock-keywords-builder): Temporarily remove fallback on
fbcc67e2
MM
13524 ansi keywords.
13525 (sql-regexp-abbrev, sql-regexp-abbrev-list): New functions.
0757af94 13526 (sql-mode-oracle-font-lock-keywords): Improve.
fbcc67e2
MM
13527 (sql-oracle-show-reserved-words): New function for development.
13528 (sql-product-font-lock): Simplify for source code buffers.
13529 (sql-product-syntax-table, sql-product-font-lock-syntax-alist):
13530 New functions.
13531 (sql-highlight-product): Set product specific syntax table.
0757af94
SM
13532 (sql-mode-map): Add statement movement functions.
13533 (sql-ansi-statement-starters, sql-oracle-statement-starters):
13534 New variable.
fbcc67e2
MM
13535 (sql-statement-regexp, sql-beginning-of-statement)
13536 (sql-end-of-statement, sql-signum): New functions.
0757af94 13537 (sql-buffer-live-p, sql=find-sqli-buffer): Add CONNECTION parameter.
fbcc67e2
MM
13538 (sql-show-sqli-buffer): Bug fix.
13539 (sql-interactive-mode): Store connection data as buffer local.
0757af94 13540 (sql-connect): Add NEW-NAME parameter. Redesign interaction
fbcc67e2
MM
13541 with sql-interactive-mode.
13542 (sql-save-connection): Save buffer local settings.
0757af94 13543 (sql-connection-menu-filter): Change menu entry name.
fbcc67e2
MM
13544 (sql-product-interactive): Bug fix.
13545 (sql-preoutput-hold): New variable.
13546 (sql-interactive-remove-continuation-prompt): Bug fixes.
13547 (sql-debug-redirect): New variable.
13548 (sql-str-literal): New function.
13549 (sql-redirect, sql-redirect-one, sql-redirect-value, sql-execute):
0757af94 13550 Redesign.
fbcc67e2
MM
13551 (sql-oracle-save-settings, sql-oracle-restore-settings)
13552 (sql-oracle-list-all, sql-oracle-list-table): New functions.
13553 (sql-completion-object, sql-completion-column)
13554 (sql-completion-sqlbuf): New variables.
13555 (sql-build-completions-1, sql-build-completions)
13556 (sql-try-completion): New functions.
13557 (sql-read-table-name): Use them.
13558 (sql-contains-names): New buffer local variable.
13559 (sql-list-all, sql-list-table): Use it.
13560 (sql-oracle-completion-types): New variable.
13561 (sql-oracle-completion-object, sql-sqlite-completion-object)
13562 (sql-postgres-completion-object): New functions.
13563
d4eaeab1
GM
135642011-07-06 Glenn Morris <rgm@gnu.org>
13565
13566 * window.el (pop-to-buffer): Doc fix.
13567
322b7dab 135682011-07-06 Markus Heiser <markus.heiser@darmarit.de> (tiny change)
a1d3a912
CY
13569
13570 * progmodes/gud.el (gud-pdb-marker-regexp): Accept \r char (Bug#5653).
13571
322b7dab 135722011-07-06 Chong Yidong <cyd@stupidchicken.com>
0484d600 13573
322b7dab 13574 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
4f8f657f 13575
322b7dab 13576 * info.el (Info-directory-toc-nodes): Minor doc fix (Bug#8833).
8f43cbf3 13577
605dd5bf
CY
135782011-07-05 Chong Yidong <cyd@stupidchicken.com>
13579
13580 * button.el (button): Inherit from link face. Suggested by Dan
13581 Nicolaescu.
13582
7dbfa719
SM
135832011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
13584
3db614b0
SM
13585 * progmodes/gdb-mi.el: Fit in 80 columns.
13586 (gdb-setup-windows, gdb-restore-windows): Avoid other-window and
13587 switch-to-buffer.
13588
7dbfa719
SM
13589 * progmodes/which-func.el (which-func-ff-hook): Don't output a message
13590 if imenu is simply not configured (bug#8941).
13591
919d884a
KM
135922011-07-05 Ken Manheimer <ken.manheimer@gmail.com>
13593
13594 * allout.el (allout-post-undo-hook): New allout outline-change
13595 event hook to signal undo activity.
13596 (allout-post-command-business): Run allout-post-undo-hook if an
13597 undo just occurred.
7dbfa719
SM
13598 (allout-after-copy-or-kill-hook, allout-mode): Minor docstring changes.
13599 * allout-widgets.el (allout-widgets-after-undo-function):
13600 Ensure the integrity of the current item's decoration after it has been
919d884a
KM
13601 in the vicinity of an undo.
13602 (allout-widgets-mode): Include allout-widgets-after-undo-function
13603 on the new allout-post-undo-hook.
13604
450a0f09
SM
136052011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
13606
13607 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-abbrev-table):
13608 Let define-derived-mode define it.
13609 * emacs-lisp/derived.el (define-derived-mode): Try to avoid creating
13610 cycles of abbrev-table inheritance (bug#8998).
13611
2de69e00
RW
136122011-07-05 Roland Winkler <winkler@gnu.org>
13613
13614 * textmodes/bibtex.el: Add support for biblatex.
13615 (bibtex-BibTeX-entry-alist, bibtex-biblatex-entry-alist)
13616 (bibtex-BibTeX-field-alist, bibtex-biblatex-field-alist)
13617 (bibtex-dialect-list, bibtex-dialect, bibtex-no-opt-remove-re)
13618 (bibtex-entry-alist, bibtex-field-alist): New variables.
13619 (bibtex-entry-field-alist): Obsolete alias for
13620 bibtex-BibTeX-entry-alist.
13621 (bibtex-entry-alist, bibtex-field-alist): New widgets.
13622 (bibtex-set-dialect): New command.
13623 (bibtex-entry-type, bibtex-entry-head)
450a0f09
SM
13624 (bibtex-entry-maybe-empty-head, bibtex-any-valid-entry-type):
13625 Bind via bibtex-set-dialect.
2de69e00
RW
13626 (bibtex-Article, bibtex-Book, bibtex-Booklet, bibtex-InBook)
13627 (bibtex-InCollection, bibtex-InProceedings, bibtex-Manual)
13628 (bibtex-MastersThesis, bibtex-Misc, bibtex-PhdThesis)
13629 (bibtex-Proceedings, bibtex-TechReport, bibtex-Unpublished):
13630 Define via bibtex-set-dialect.
450a0f09
SM
13631 (bibtex-name-in-field, bibtex-remove-OPT-or-ALT):
13632 Obey bibtex-no-opt-remove-re.
2de69e00
RW
13633 (bibtex-vec-push, bibtex-vec-incr): New functions.
13634 (bibtex-format-entry, bibtex-field-list)
13635 (bibtex-print-help-message, bibtex-validate)
13636 (bibtex-search-entries): Use new format of bibtex-entry-alist.
13637
2dcdbdd9
SM
136382011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
13639
13640 * progmodes/compile.el (compilation-goto-locus):
13641 * net/tramp-cmds.el (tramp-append-tramp-buffers):
13642 * bs.el (bs-cycle-next, bs-cycle-previous):
13643 * bookmark.el (bookmark-bmenu-list, bookmark-bmenu-2-window):
13644 * bindings.el (mode-line-other-buffer):
13645 * autoinsert.el (auto-insert):
13646 * arc-mode.el (archive-extract):
13647 * abbrev.el (edit-abbrevs): Fix some uses of switch-to-buffer.
13648
b27640fe
JB
136492011-07-05 Juanma Barranquero <lekktu@gmail.com>
13650
13651 * emacs-lock.el (emacs-lock-mode): Fix typo in variable name.
13652 Fix check of `emacs-lock-unlockable-modes'.
13653 Coerce true values of `emacs-lock--try-unlocking' to t.
13654
53bbe3ad
JB
136552011-07-05 Juanma Barranquero <lekktu@gmail.com>
13656
13657 * obsolete/old-emacs-lock.el: Rename from emacs-lock.el.
13658 * emacs-lock.el: New file.
13659
1d3cdbc7
JD
136602011-07-05 Julien Danjou <julien@danjou.info>
13661
13662 * textmodes/rst.el (rst-define-level-faces): Use `facep' rather
13663 than `boundp' to check if face is set.
13664
9173deec
JB
136652011-07-05 Juanma Barranquero <lekktu@gmail.com>
13666
13667 * register.el (registerv-make):
13668 * window.el (window-min-height): Fix typos in docstrings.
13669
869795d6
JD
136702011-07-05 Jan Djärv <jan.h.d@swipnet.se>
13671
9173deec 13672 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
869795d6
JD
13673 Update doc string.
13674
b768cdcd
JB
136752011-07-04 Juanma Barranquero <lekktu@gmail.com>
13676
13677 * server.el (server-execute): Catch quit and call
13678 `server-return-error' to pass the error back to emacsclient and
13679 close the connection (bug#8942).
13680
13aa217b
KM
136812011-07-04 Ken Manheimer <ken.manheimer@gmail.com>
13682
13683 * allout.el (allout-encrypt-unencrypted-on-saves): Do not provide
13684 insecure exception for current topic. Also note that auto-saves
13685 are handled differently.
13686
5d3385a0 13687 (allout-auto-save-temporarily-disabled, allout-just-did-undo):
13aa217b
KM
13688 State variables for tracking auto-save inhibition situation.
13689
13690 (allout-write-contents-hook-handler): Rename from
13691 'allout-write-file-hook-handler', and describe how it depends on
13692 write-contents-functions sensitivity to non-nil value to prevent
13693 file write.
13694
13695 (allout-auto-save-hook-handler): Remove. auto-save does not check
13696 this in individual buffers, only in the starting buffer, so this
13697 is not the right way for us to inhibit auto-save in a buffer
13698 according to its condition.
13699
13700 (allout-mode): Use new allout-write-contents-hook-handler, and
13701 only with write-contents-functions. Remove auto-save provisions -
13702 they're implemented elsewhere.
13703
13704 (allout-before-change-handler): If undo is in progress, note that
13705 for attention of allout-post-command-business.
13706
13707 (allout-post-command-business): If the command we're following was
13708 an undo, check for change in the status of encrypted items and
13709 adjust auto-save inhibitions accordingly.
13710
13711 (allout-toggle-subtree-encryption): Adjust auto-save inhibition
13712 according to whether there are or aren't any plain-text topics
13713 pending encryption.
13714
2dcdbdd9 13715 (allout-inhibit-auto-save-info-for-decryption):
1154d12e
JB
13716 Adjust buffer-saved-size and some allout state to inhibit auto-saves
13717 if there are plain-text topics pending encryption.
13aa217b
KM
13718
13719 (allout-maybe-resume-auto-save-info-after-encryption): Adjust
13720 buffer-saved-size and some allout state to not inhibit auto-saves
13721 if there are no longer any plain-text topics pending encryption.
13722
0757af94
SM
13723 (allout-next-topic-pending-encryption, allout-encrypt-decrypted):
13724 No longer provide for exemption of the current topic.
13aa217b 13725
ac89b32c
JL
137262011-07-04 Juri Linkov <juri@jurta.org>
13727
13728 Add 7z operations to delete and save changed members (bug#8968).
13729 * arc-mode.el (archive-7z-expunge, archive-7z-update):
13730 New defcustoms.
13731 (archive-7z-write-file-member): New function.
13732 (archive-7z-summarize): Fix the number of dashes in the
13733 listing output.
13734
8fa39615
SM
137352011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
13736
13737 * pcmpl-linux.el (pcomplete-pare-list): Re-add, from pcomplete.el
13738 (bug#8958).
13739
2f11b3f1
CY
137402011-07-04 Chong Yidong <cyd@stupidchicken.com>
13741
d66fef2b
CY
13742 * bindings.el: Ignore next-buffer and previous-buffer in
13743 minibuffer-local-map.
13744
2f11b3f1
CY
13745 * font-lock.el (font-lock-builtin-face): Change light background
13746 color to dark slate blue (Bug#6693).
13747
f932a347
WD
137482011-07-04 Wang Diancheng <dcwang@kingbase.com.cn> (tiny change)
13749
13750 * progmodes/gdb-mi.el (gdb): Use completion-at-point.
13751
c8af70e1
SM
137522011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
13753
13754 * files.el (find-file): Use pop-to-buffer-same-window (bug#8911).
13755 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
13756 Add switch-to-buffer.
13757
f158badc
LMI
137582011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
13759
13760 * isearch.el (isearch-search-fun-function): Clarify further the
13761 meaning of the function returned.
13762
6d95bd46
MA
137632011-07-04 Michael Albinus <michael.albinus@gmx.de>
13764
13765 * net/tramp-cmds.el (tramp-cleanup-this-connection): New command.
13766
13767 * net/tramp-sh.el (tramp-color-escape-sequence-regexp): New defconst.
13768 (tramp-sh-handle-insert-directory, tramp-convert-file-attributes):
13769 Use it.
13770 (tramp-remote-path): Add "/bin" and "/usr/bin". On busyboxes,
13771 `tramp-default-remote-path' does not exist.
13772 (tramp-send-command-and-read): New optional argument NOERROR.
13773 (tramp-open-connection-setup-interactive-shell)
13774 (tramp-get-remote-path, tramp-get-remote-stat): Use it.
13775 (tramp-get-remote-readlink): Do not mask with `ignore-errors'.
13776 (tramp-process-sentinel): Flush also process' connection property.
13777 (tramp-sh-handle-start-file-process): Do not set process
13778 sentinel. It is done now ...
13779 (tramp-maybe-open-connection): ... here. (Bug#8929)
13780
909e6b67
MK
137812011-07-04 MON KEY <monkey@sandpframing.com>
13782
13783 * play/animate.el (animate-string): Doc fixes and allow changing
13784 the buffer name (bug#5417).
13785
137862011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
13787
c8af70e1 13788 * play/animate.el (animation-buffer-name): Rename from *animate*.
909e6b67 13789
f34755dc
PE
137902011-07-04 Paul Eggert <eggert@cs.ucla.edu>
13791
396cec72
PE
13792 * emacs-lisp/timer.el: Use time-date fns rather than rolling our own.
13793 This is simpler and helps future-proof the code.
13794 (timer-until): Use time-subtract and float-time.
08235028 13795 (timer--time-less-p): Use time-less-p.
f34755dc 13796
56e6cc31
JB
137972011-07-04 Juanma Barranquero <lekktu@gmail.com>
13798
3abb79e5
JB
13799 * type-break.el (timep): Use the value of `float-time' to avoid a
13800 byte-compiler warning.
13801
56e6cc31
JB
13802 * server.el (server-eval-and-print): Return any result, even nil.
13803
7b9430b4
PE
138042011-07-03 Paul Eggert <eggert@cs.ucla.edu>
13805
13806 * type-break.el: Accept time formats that the builtins accept.
13807 (timep, type-break-time-difference): Accept any format that
13808 float-time accepts, rather than insisting on (HIGH LOW USECS) format.
13809 This is simpler and helps future-proof the code.
13810 (type-break-time-difference): Round rather than ignoring
13811 subseconds components.
13812
3034e9e7
LMI
138132011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
13814
13815 * info.el (Info-apropos-matches): Make non-interactive, since it
13816 doesn't seem to do anything useful as a command (bug#8829).
13817
1485f4c0
CY
138182011-07-03 Chong Yidong <cyd@stupidchicken.com>
13819
13820 * frame.el (frame-background-mode, frame-set-background-mode):
c8af70e1 13821 Move from faces.el.
1485f4c0
CY
13822 (frame-default-terminal-background): New function.
13823
13824 * custom.el (custom-push-theme): Don't record faces in `changed'
13825 theme; this doesn't work correctly for per-frame face settings.
13826 (disable-theme): Use face-set-after-frame-default to reset faces.
13827 (custom--frame-color-default): New function.
13828
9fa3dd45
LMI
138292011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
13830
c8af70e1 13831 * dired.el (dired-flagging-regexp): Remove unused variable
9fa3dd45
LMI
13832 (bug#8769).
13833
6cbbc20c
KR
138342011-03-29 Kevin Ryde <user42@zip.com.au>
13835
13836 * progmodes/compile.el (compilation-error-regexp-alist-alist):
13837 `perl-Test2' extend to match possible "fail #N" rep count
13838 (bug#8377).
13839
c7f98048
LMI
138402011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
13841
65676592
LMI
13842 * mail/feedmail.el (feedmail-buffer-to-smtpmail):
13843 `smtpmail-via-smtp' now returns the error instead of nil.
13844
c7f98048
LMI
13845 * isearch.el (isearch-search-fun-function): Clarify the doc string
13846 (bug#8101).
13847
56e6cc31 138482011-07-03 Richard Kim <emacs18@gmail.com> (tiny change)
9a51c6c7
RK
13849
13850 * textmodes/texnfo-upd.el (texinfo-insert-menu): Don't insert
13851 unnecessary spaces (bug#8987).
13852
2b216704
LMI
138532011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
13854
13855 * net/network-stream.el (open-network-stream): Use the
13856 :end-of-capability command thoughout.
13857
138582011-07-03 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
13859
13860 * net/network-stream.el (open-network-stream): Add the
13861 :end-of-capability command parameter, used by pop3.el.
13862
36adf6ce
LMI
138632011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
13864
1ca0da0e
LMI
13865 * dired.el (dired-map-over-marks): Refill the doc string (bug#6814).
13866
fc00f69c
LMI
13867 * fringe.el (fringe-query-style): Remove redundant text " (type ?
13868 for list)" (bug#6475).
13869
28fd8759 13870 * files.el (file-expand-wildcards): Ignore non-readable
8350f087 13871 sub-directories while trying to find matches instead of signaling
28fd8759
LMI
13872 an error (bug#6297).
13873
0dd8b6da
LMI
13874 * man.el (Man-reference-regexp): Allow matching possible
13875 word-wrapped references (bug#6289).
13876
ce1438d6
LMI
13877 * vc/vc.el (vc-modify-change-comment): Change *VC-log* to *vc-log*
13878 for consistency with the other vc buffers (bug#6197).
13879 (vc-checkin): Ditto.
13880
13881 * vc/vc-arch.el: Fix comments to match the *VC-log* name change.
13882
36adf6ce
LMI
13883 * longlines.el (longlines-mode): Document what ARG does (bug#6150).
13884
e83cc1f7
LMI
138852011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
13886
8a20ca4c
LMI
13887 * custom.el (defcustom): Clarify that :set is only used in the
13888 Customize user interface (bug#6089).
13889
83319045
LMI
13890 * progmodes/flymake.el (flymake-mode): If the buffer isn't
13891 associated with a file, refuse to run instead of erroring out
13892 (bug#6084).
13893
a8392169
LMI
13894 * textmodes/fill.el (fill-region): Remove the "Ordinarily" from
13895 the doc string, since it appears that using `fill-column' always
13896 controls the width (bug#7845).
13897
e83cc1f7
LMI
13898 * simple.el (shell-command-on-region): Say where the error output
13899 went if `shell-command-default-error-buffer' is set (bug#6857).
13900
e47ca23b
KM
139012011-07-02 Ken Manheimer <ken.manheimer@gmail.com>
13902
13903 * allout.el (allout-yank-processing): Adjust cursor position for
13904 backwards-deleted space.
13905
13906 (allout-rebullet-heading): Register changes with
13907 allout-exposure-changed-hook, so the modified topic is properly
13908 decorated.
13909
5cf56143
LMI
139102011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
13911
08549772
LMI
13912 * minibuffer.el (completion-in-region): Document PREDICATE
13913 (bug#7136).
13914
48e96771
LMI
13915 * info-look.el (info-lookup-add-help): Clarify that ARGS is a list
13916 of keyword/argument pairs (bug#6904).
13917
c8af70e1
SM
13918 * replace.el (multi-occur):
13919 Mention `multi-occur-in-matching-buffers' in the doc string (bug#7566).
5cf56143 13920
e17d05e2
LMI
139212011-07-02 Drew Adams <drew.adams@oracle.com>
13922
13923 * dired.el (dired-mark-if): Make the message about whether it's
13924 marking or unmarking clearer (bug#8523).
13925
063b0e45
LMI
139262011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
13927
13928 * disp-table.el (display-table-print-array): New function.
13929 (describe-display-table): Use it to print the vectors more pretty
13930 (Bug#8859).
13931
28545e04
MR
139322011-07-02 Martin Rudalics <rudalics@gmx.at>
13933
13934 * window.el (window-state-get-1): Don't assign clone numbers.
13935 Add clone-of item to list of window parameters.
13936 (window-state-put-2): Don't process clone numbers.
13937 (display-buffer-alist): Fix doc-string.
13938
3349e122
SM
139392011-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
13940
13941 * subr.el (remq): Don't allocate if it's not needed.
13942 (keymap--menu-item-binding, keymap--menu-item-with-binding)
13943 (keymap--merge-bindings): New functions.
13944 (keymap-canonicalize): Use them to refine the canonicalization.
13945 * minibuffer.el (minibuffer-local-completion-map)
13946 (minibuffer-local-must-match-map): Move initialization from C.
13947 (minibuffer-local-filename-completion-map): Move initialization from C;
13948 don't inherit from anything here.
13949 (minibuffer-local-filename-must-match-map): Make obsolete.
13950 (completing-read-default): Use make-composed-keymap to combine
13951 minibuffer-local-filename-completion-map with either
13952 minibuffer-local-must-match-map or
13953 minibuffer-local-filename-completion-map.
13954
d224ac83
GM
139552011-07-01 Glenn Morris <rgm@gnu.org>
13956
3de63bf8
GM
13957 * type-break.el (type-break-time-sum): Use dolist.
13958
d224ac83
GM
13959 * textmodes/flyspell.el (flyspell-word-search-backward):
13960 Replace CL function.
13961
1a1e3f32
SM
139622011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
13963
fe3f64d5
SM
13964 * mouse.el (mouse--strip-first-event): New function.
13965 (function-key-map): Use it to map fringe clicks to normal clicks
13966 by default.
13967
eb604e34
SM
13968 * vc/vc-bzr.el (vc-bzr-revision-keywords): Update.
13969 (vc-bzr-revision-completion-table): Add support for annotate and date.
13970
1a1e3f32
SM
13971 * emacs-lisp/derived.el (define-derived-mode): Make abbrev-table
13972 inherit from parent.
13973
5bd35902
LMI
139742011-07-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
13975
ace6c69c 13976 * dired-aux.el (dired-diff): Doc fixup (bug#8816).
26bde865 13977 (dired-show-file-type): Doc fixup (bug#8818).
ace6c69c 13978
191e2bed
LMI
13979 * dired.el (dired-mode): Fix up the doc string as suggested by
13980 Drew Adams (bug#8817).
13981
5bd35902
LMI
13982 * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
13983 cookie, since the manual says that it should be possible to add
13984 this function to `find-file-hook' (bug#8709).
13985
eee8207a
TZ
139862011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
13987
13988 * progmodes/cfengine.el: Moved all cfengine3.el functionality
13989 here. Noted Ted Zlatanov as the maintainer.
13990 (cfengine-common-settings, cfengine-common-syntax): New functions
13991 to set up common things between `cfengine-mode' and
13992 `cfengine3-mode'.
13993 (cfengine3-mode): New mode.
13994 (cfengine3-defuns cfengine3-defuns-regex
13995 (cfengine3-class-selector-regex cfengine3-category-regex)
13996 (cfengine3-vartypes cfengine3-font-lock-keywords)
13997 (cfengine3-beginning-of-defun, cfengine3-end-of-defun)
eb604e34 13998 (cfengine3-indent-line): Add from cfengine3.el.
eee8207a 13999
36b148cf
MA
140002011-07-01 Michael Albinus <michael.albinus@gmx.de>
14001
14002 * net/tramp.el (tramp-encoding-command-interactive): New defcustom.
14003
14004 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
14005
0bf4ba9a
MR
140062011-07-01 Martin Rudalics <rudalics@gmx.at>
14007
14008 * window.el (same-window-buffer-names, same-window-regexps)
14009 (same-window-p, special-display-frame-alist)
14010 (special-display-popup-frame, special-display-function)
14011 (special-display-buffer-names, special-display-regexps)
14012 (special-display-p, pop-up-frame-alist, pop-up-frame-function)
14013 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
14014 (split-window-preferred-function, split-height-threshold)
14015 (split-width-threshold, even-window-heights)
14016 (display-buffer-mark-dedicated, window-splittable-p)
14017 (split-window-sensibly, window-safely-shrinkable-p):
14018 Un-obsolete.
14019 (display-buffer): Don't spread args with function specifier
14020 because special-display-popup-frame won't like it.
14021
35837f51
PE
140222011-07-01 Paul Eggert <eggert@cs.ucla.edu>
14023
d0672f86
PE
14024 Time-stamp simplifications and fixes.
14025 These improve accuracy slightly, and future-proof the code
14026 against some potential changes to current-time format.
14027
b9444d97
PE
14028 * woman.el (woman-decode-buffer, WoMan-log-end): Log fractional secs
14029 by using time-since and float-time.
14030
0ef923dc
PE
14031 * vc/ediff-util.el (ediff-calc-command-time): Use time-since
14032 and float-time. Say "NNN.NNN seconds" rather than "NNN seconds
14033 + NNN microseconds".
14034
2f81380d
PE
14035 * type-break.el (type-break-time-sum): Rewrite using time-add.
14036
845b5c3e
PE
14037 * play/hanoi.el (hanoi-current-time-float): Remove.
14038 All uses replaced by float-time.
14039
ee6f1be0
PE
14040 * nxml/rng-maint.el (rng-time-function): Rewrite using time-subtract.
14041 This yields a more-accurate answer.
14042 (rng-time-to-float): Remove; no longer needed.
14043
fe955043
PE
14044 * emacs-lisp/timer.el (timer-relative-time): Use time-add.
14045
5777162a
PE
14046 * calendar/timeclock.el (timeclock-seconds-to-time):
14047 Defalias to seconds-to-time, since they're the same thing.
14048
3103f8b6 14049 * emacs-lisp/elp.el (elp-elapsed-time):
e2bac5f6 14050 * emacs-lisp/benchmark.el (benchmark-elapse):
35837f51
PE
14051 * allout-widgets.el (allout-elapsed-time-seconds): Use float-time.
14052
0e61a35f
SM
140532011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
14054
14055 * window.el (bury-buffer): Don't iconify the only frame.
14056 (switch-to-buffer): Revert to Emacs<23 behavior, i.e. do not fallback
14057 to pop-to-buffer. Use pop-to-buffer-same-frame if you don't like that.
14058
ddd63a1e
CY
140592011-07-01 Chong Yidong <cyd@stupidchicken.com>
14060
0e61a35f
SM
14061 * eshell/em-smart.el (eshell-smart-display-navigate-list):
14062 Add mouse-yank-primary.
ddd63a1e 14063
055f4923
TZ
140642011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
14065
14066 * progmodes/cfengine3.el: New file to support CFEngine 3.x.
14067
6a2fb145
SM
140682011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
14069
14070 * emacs-lisp/find-func.el (find-library--load-name): New fun.
14071 (find-library-name): Use it to find relative load names when provided
14072 absolute file name (bug#8803).
14073
fd4983f2
LMI
140742011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
14075
887d14ad
LMI
14076 * textmodes/flyspell.el (flyspell-word): Consider words that
14077 differ only in case as potential doublons (bug#5687).
14078
c53dc7fc
LMI
14079 * net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
14080 Remove two rather uninteresting debugging-like messages to make
14081 debbugs.el more silent.
14082
fd4983f2
LMI
14083 * comint.el (comint-password-prompt-regexp): Accept "Response" as
14084 a password-like phrase.
14085
7a71b18d 140862011-06-30 Masatake YAMATO <yamato@redhat.com>
b14c0c55
AM
14087
14088 * progmodes/cc-guess.el: New file.
14089
6a2fb145 14090 * progmodes/cc-langs.el (c-mode-menu): Add "Style..." submenu.
b14c0c55
AM
14091
14092 * progmodes/cc-styles.el (cc-choose-style-for-mode): New function
14093 derived from `c-basic-common-init'.
14094
14095 * progmodes/cc-mode.el (top-level): Require cc-guess.
14096 (c-basic-common-init): Use `cc-choose-style-for-mode'.
14097
1fa280a3
LM
140982011-06-30 Lawrence Mitchell <wence@gmx.li>
14099
14100 * progmodes/js.el (js-mode): Don't stomp on global settings (bug#8933).
14101
e6597158
AM
141022011-06-30 Alan Mackenzie <acm@muc.de>
14103
1fa280a3
LM
14104 * progmodes/cc-engine.el (c-guess-continued-construct):
14105 Correct the handling of template-args-cont, particularly for when font
e6597158
AM
14106 lock is disabled. Name this case as "CASE G".
14107
68ba37fb
KM
141082011-06-30 Ken Manheimer <ken.manheimer@gmail.com>
14109
14110 * allout.el (allout-yank-processing): Fix injection of extra space
14111 between bullet and non-whitespace character in first topic when
14112 pasting, ensuring that the actual spacing in the pasted topic
14113 following the bullet char is preserved. This extra space was
14114 causing pasted encrypted topics to get a decrypted status even
14115 when the content was actually still encrypted. Now the decryption
14116 status from before the paste is preserved.
14117
14118 (allout-flag-region): Set all allout overlays so they evaporate
14119 when reduced to zero length (evanescent), to prevent overlay
14120 leakage.
14121
887a0b34
GM
141222011-06-30 Glenn Morris <rgm@gnu.org>
14123
94b9acce
GM
14124 * w32-fns.el (w32-charset-info-alist): Declare.
14125
1d9b46d4
GM
14126 * find-dired.el (find-grep-options): Simplify.
14127
cc232200
GM
14128 * term/ns-win.el (ns-set-resource): Declare.
14129
28e77c46
GM
14130 * ses.el (row, col): Declare dynamic variables honestly.
14131
887a0b34
GM
14132 * textmodes/reftex-parse.el (index-tags): Declare.
14133
658d8eb8
CY
141342011-06-30 Chong Yidong <cyd@stupidchicken.com>
14135
14136 * cus-edit.el (customize-push-and-save): New function.
14137
14138 * files.el (hack-local-variables-confirm): Use it.
14139
1fa280a3
LM
14140 * custom.el (load-theme): New arg NO-CONFIRM.
14141 Use customize-push-and-save (Bug#8720).
658d8eb8
CY
14142 (custom-enabled-themes): Doc fix.
14143
14144 * cus-theme.el (customize-create-theme)
14145 (custom-theme-merge-theme): Callers to load-theme changed.
14146
bb617717
LMI
141472011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
14148
d61bdd5d
LMI
14149 * thingatpt.el (thing-at-point-short-url-regexp): Require that
14150 short URLs have at least one dot in them (bug #7614).
14151
bb617717
LMI
14152 * progmodes/grep.el (rgrep): Bind `process-connection-type' to
14153 nil, because using a pty is apparently too slow (bug #895).
14154
2f31f37a
LMI
141552011-06-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
14156
14157 * mail/sendmail.el (sendmail-query-once): New function.
14158 (sendmail-query-once-function): New variable.
14159
3076b24e
GM
141602011-06-29 Glenn Morris <rgm@gnu.org>
14161
faf2a174
GM
14162 * files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.
14163
3076b24e
GM
14164 * ses.el (top-level): Require cl when compiling.
14165 (ses-set-localvars): Fix error statement.
14166 Call it at compile time to silence a storm of warnings.
14167
5386012d
MR
141682011-06-29 Martin Rudalics <rudalics@gmx.at>
14169
14170 * window.el (normalize-live-buffer): Rename to
14171 window-normalize-buffer.
14172 (normalize-live-frame): Rename to window-normalize-frame.
14173 (normalize-any-window): Rename to window-normalize-any-window.
14174 (normalize-live-window): Rename to window-normalize-live-window.
14175 (make-window-atom): Rename to window-make-atom.
14176 (window-resize-reset): Rename to window--resize-reset.
14177 (window-resize-reset-1): Rename to window--resize-reset-1.
14178 (resize-mini-window): Rename to window--resize-mini-window.
14179 (resize-subwindows-skip-p): Rename to
14180 window--resize-subwindows-skip-p.
14181 (resize-subwindows-normal): Rename to
14182 window--resize-subwindows-normal.
14183 (resize-subwindows): Rename to window--resize-subwindows.
14184 (resize-other-windows): Rename to window--resize-siblings.
14185 (resize-this-window): Rename to window--resize-this-window.
14186 (resize-root-window): Rename to window--resize-root-window.
14187 (resize-root-window-vertically): Rename to
14188 window--resize-root-window-vertically.
14189 (normalize-buffer-to-display): Rename to
14190 window-normalize-buffer-to-display.
14191 (normalize-buffer-to-switch-to): Rename to
14192 window-normalize-buffer-to-switch-to.
14193 Correspondingly update all callers of the functions listed
14194 above.
14195 (display-buffer-alist, display-buffer-normalize-arguments)
14196 (display-buffer-normalize-options, display-buffer)
14197 (display-buffer-alist-set): Use "function" instead of
14198 "fun-with-args".
14199
1176868d
CY
142002011-06-28 Chong Yidong <cyd@stupidchicken.com>
14201
14202 * mail/emacsbug.el (report-emacs-bug): Handle non-gnu bug
14203 addresses more clearly. Add hyperlinks for bug-gnu-emacs and
14204 debbugs.gnu.org. Mention acknowledgment email.
14205
20a7a65f
LMI
142062011-06-28 Lars Magne Ingebrigtsen <larsi@gnus.org>
14207
14208 * mail/smtpmail.el (smtpmail-send-it): Leave off changing the
14209 buffer multibyteness, since it shouldn't matter.
14210
5f45cca5
MR
142112011-06-28 Martin Rudalics <rudalics@gmx.at>
14212
14213 * window.el (display-buffer-in-side-window): Handle dedicated
14214 windows as in display-buffer-reuse-window.
14215 (display-buffer-normalize-alist): Use value of override
14216 specifier.
14217 (display-buffer-normalize-specifiers): Use value of
14218 other-window-means-other-frame specifier.
14219 (display-buffer-alist): Rewrite some texts in widgets.
14220 (display-buffer): Spread arguments when calling function
14221 specified by fun-with-args.
14222
ad85fe1f
DD
142232011-06-28 Deniz Dogan <deniz@dogan.se>
14224
1fa280a3
LM
14225 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
14226 Unnest `let'.
da68c4c8 14227
ad85fe1f
DD
14228 * textmodes/css-mode.el (css-font-lock-keywords): Fix grouped
14229 selectors (Bug#5732).
ec49bd31 14230 (css-proprietary-nmstart-re): Use `regexp-opt'.
ad85fe1f 14231
a08cc025
JA
142322011-06-27 Jari Aalto <jari.aalto@cante.net>
14233
14234 * eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).
14235 (eshell-ls-date-format): New defcustom.
14236 (eshell-ls-file): Use it.
14237
e2b551c5
SM
142382011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
14239
14240 * help-fns.el (describe-variable): Fix message for terminal-local vars.
14241
8982b231
KY
142422011-06-27 Katsumi Yamaoka <yamaoka@jpl.org>
14243
14244 * net/ange-ftp.el: Allow loading .gz files (Bug#6923).
14245 (ange-ftp-make-tmp-name): New arg.
14246 (ange-ftp-file-local-copy): Use it.
14247
36c9fa27
J
142482011-06-27 Jambunathan K <kjambunathan@gmail.com>
14249
14250 * tar-mode.el (tar-untar-buffer): Set coding-system-for-write to
14251 no-conversion (Bug#8870).
14252
d68443dc
MR
142532011-06-27 Martin Rudalics <rudalics@gmx.at>
14254
14255 * window.el (window-right, window-left, window-child)
14256 (window-child-count, window-last-child)
14257 (window-iso-combination-p, walk-window-tree-1)
14258 (window-atom-check-1, window-tree-1, delete-window)
14259 (window-state-get-1, display-buffer-even-window-sizes): Adapt to
14260 new naming conventions - window-vchild, window-hchild,
14261 window-next and window-prev are now called window-top-child,
14262 window-left-child, window-next-sibling and window-prev-sibling
14263 respectively.
d615d6d2
MR
14264 (resize-window-reset): Rename to window-resize-reset.
14265 (resize-window-reset-1): Rename to window-resize-reset-1.
14266 (resize-window): Rename to window-resize.
14267 (window-min-height, window-min-width)
14268 (resize-mini-window, resize-this-window, resize-root-window)
14269 (resize-root-window-vertically, adjust-window-trailing-edge)
14270 (enlarge-window, shrink-window, maximize-window)
14271 (minimize-window, delete-window, quit-restore-window)
14272 (split-window, balance-windows, balance-windows-area-adjust)
14273 (balance-windows-area, window-state-put-2)
14274 (display-buffer-even-window-sizes, display-buffer-set-height)
14275 (display-buffer-set-width, set-window-text-height)
14276 (fit-window-to-buffer): Rename all "resize-window" prefixed
14277 calls to use the "window-resize" prefix convention.
14278 (display-buffer-alist): Fix symbol for label specifier.
14279 (display-buffer-reuse-window): Set reuse-dedicated to cdr of
14280 corresponding specifier.
14281 Reported by Juanma Barranquero <lekktu@gmail.com>.
d68443dc 14282
b6458526
VB
142832011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
14284
14285 * ses.el (ses-destroy-cell-variable-range): Fix heading comment
14286 convention.
14287 (ses-call-printer): Does not pass an empty string to formatter when the
14288 cell is empty to keep from barking printer Calc math-format-value.
14289
d31fd9ac
RS
142902011-06-27 Richard Stallman <rms@gnu.org>
14291
43d5bf84
RS
14292 * battery.el (battery-mode-line-limit): New variable.
14293 (battery-update): Handle it.
14294
d31fd9ac
RS
14295 * mail/rmailmm.el (rmail-mime-process-multipart):
14296 Handle truncated messages.
14297
819a6054
GM
142982011-06-27 Glenn Morris <rgm@gnu.org>
14299
14300 * progmodes/flymake.el (flymake-err-line-patterns):
14301 Allow for column numbers in the ant/javac pattern. (Bug#8866)
14302
cedc73f2
VB
143032011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
14304
819a6054 14305 * ses.el (ses-relocate-range): Keep rest of arguments for ses-range.
cedc73f2
VB
14306 (ses--clean-!, ses--clean-_): New functions.
14307 (ses-range): Add configurability of readout order, and conversion
14308 to Calc vector.
14309
5e5d49b6
VB
14310 * ses.el (ses-repair-cell-reference-all): New function.
14311 (ses-cell-symbol): Set macro as safe, so that it can be used in
14312 formulas.
14313
56e6cc31 14314 * ses.el: Update cycle detection algorithm.
90ca8b49 14315 (ses-localvars): Add ses--Dijkstra-attempt-nb and
819a6054 14316 ses--Dijkstra-weight-bound, and initial values thereof when applicable.
90ca8b49
VB
14317 (ses-set-localvars): New function.
14318 (ses-make-cell): Add property-list as a cell element.
14319 (ses-cell-property-get-fun, ses-cell-property-get)
14320 (ses-cell-property-delq-fun, ses-cell-property-set-fun)
819a6054
GM
14321 (ses-cell-property-pop-fun, ses-cell-property-get-handle-fun):
14322 New functions.
90ca8b49
VB
14323 (ses-cell-property-set, ses-cell-property-pop)
14324 (ses-cell-property-get-handle): New macro.
14325 (ses-cell-property-handle-car, ses-cell-property-handle-setcar):
14326 New aliases, used for code readability.
14327 (ses-calculate-cell, ses-update-cells): Use Dijkstra algorithm for
14328 cycle detection.
14329 (ses-self-reference-early-detection): New defcustom.
fac916bf 14330 (ses-formula-references): Robustify against self-referring cells.
90ca8b49
VB
14331 (ses-mode): Use ses-set-localvars.
14332 (ses-command-hook): Add call to ses-initialize-Dijkstra-attempt
14333 before lauching the update processing.
14334 (ses-initialize-Dijkstra-attempt): New function.
14335 (ses-recalculate-cell): Update for cycle detection based on
14336 Dijkstra algorithm.
14337
2bb63e81
VB
14338 * ses.el: Fix commenting and indenting convention.
14339
c9d29fb8
SM
143402011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
14341
14342 * bs.el (bs-cycle-next): Complete last change.
14343
d8e4b68b
JB
143442011-06-27 Drew Adams <drew.adams@oracle.com>
14345
14346 * faces.el (list-faces-display): Add help-mode-map to output (bug#8939).
14347
40098786
LMI
143482011-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
14349
c9d29fb8
SM
14350 * net/network-stream.el (network-stream-open-starttls):
14351 Don't re-get capabilities unless we've reestablished connection.
f6ab314e
LMI
14352 (network-stream-open-starttls): Fix stupid typo with gnutls-clii.
14353
40098786
LMI
14354 * mail/smtpmail.el (smtpmail-via-smtp): Bind coding-system-for-*
14355 to binary to possibly avoid line encoding issues on Windows (among
14356 other things).
14357
468d09d4
LMI
143582011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
14359
14360 * net/network-stream.el (open-network-stream): Return an :error
14361 saying what the problem was, if possible.
14362
14363 * mail/smtpmail.el (smtpmail-via-smtp): Report the error from the
14364 server.
14365
14366 * net/network-stream.el (network-stream-open-starttls): If we
14367 wanted to use STARTTLS, and the server offered it, but we weren't
14368 able to because we had no STARTTLS support, then close the connection.
14369 (open-network-stream): Return an :error element, if present.
14370
16f07dd7
CY
143712011-06-26 Chong Yidong <cyd@stupidchicken.com>
14372
88821ca0
CY
14373 * hl-line.el (hl-line-sticky-flag): Doc fix.
14374 (global-hl-line-sticky-flag): New option (Bug#8323).
14375 (global-hl-line-highlight): Obey it.
14376
16f07dd7
CY
14377 * vc/vc.el (vc-revert-show-diff): Default to t.
14378
6b5ccddf
KM
143792011-06-26 Ken Manheimer <ken.manheimer@gmail.com>
14380
c9d29fb8
SM
14381 * allout-widgets.el (allout-widgets-post-command-business):
14382 Stop decorating intermediate isearch matches. They're not being
6b5ccddf
KM
14383 undecorated when an isearch is continued past, and isearch
14384 automatically collapses them. This leads to "widget leaks", where
14385 decorated items accumulate in collapsed areas. Lines with lots of
c9d29fb8
SM
14386 hidden widgets can slow down cursor travel, substantially.
14387 Too much complicated machinery would be needed to ensure undecoration,
6b5ccddf
KM
14388 so we're doing without this nicety.
14389
14390 (allout-widgets-tally-string): Don't try to do a hash-table-count
14391 of allout-widgets-tally when it's nil. This eliminates spurious "Error
14392 during redisplay: (wrong-type-argument hash-table-p nil)" warnings in
14393 *Messages* when allout-widgets-maintain-tally is t.
14394
355f2e07
MR
143952011-06-26 Martin Rudalics <rudalics@gmx.at>
14396
14397 * window.el (display-buffer-normalize-argument): Rename to
14398 display-buffer-normalize-arguments. Handle special meaning of
6b5ccddf
KM
14399 LABEL argument. Respect special-display-function when popping up
14400 a new frame. Fix code searching for a window showing the buffer
14401 on another frame.
c9d29fb8
SM
14402 (display-buffer-normalize-specifiers):
14403 Call display-buffer-normalize-arguments.
355f2e07
MR
14404 (display-buffer-in-window): Don't undedicate the window if its
14405 buffer remains the same.
14406 Reported by Drew Adams <drew.adams@oracle.com>.
14407 (display-buffer-alist): Add choice for same-window macro
14408 specfier.
14409 (display-buffer): Mention special meaning of LABEL argument in
14410 doc-string. Fix quoting. Don't pop up a new frame even as
14411 fallback.
14412
7ca8fc42
JB
144132011-06-26 Juanma Barranquero <lekktu@gmail.com>
14414
14415 * bs.el (bs-cycle-next): Pass current buffer to `bury-buffer' to
14416 avoid deleting the current window in some cases (bug#8911).
14417
bc312254
AS
144182011-06-26 Andreas Schwab <schwab@linux-m68k.org>
14419
14420 * emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
14421 (Bug#8934)
14422
2db18f3f
LMI
144232011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
14424
c9d29fb8
SM
14425 * net/network-stream.el (network-stream-open-starttls):
14426 Use built-in TLS support if `gnutls-available-p' is true.
2db18f3f
LMI
14427 (network-stream-open-tls): Ditto.
14428
6302e0d3
LL
144292011-06-26 Leo Liu <sdl.web@gmail.com>
14430
14431 * register.el (registerv): New struct.
14432 (registerv-make): New function.
c9d29fb8
SM
14433 (jump-to-register, describe-register-1, insert-register):
14434 Support the jump-func, print-func and insert-func slot of a registerv
6302e0d3
LL
14435 struct. (Bug#8415)
14436
5fdd4046
CY
144372011-06-26 Chong Yidong <cyd@stupidchicken.com>
14438
2afef60a
CY
14439 * vc/vc.el (vc-revert-show-diff): New defcustom.
14440 (vc-diff-internal): New arg specifying diff buffer.
14441 (vc-revert): Obey vc-revert-show-diff. If we show a diff, don't
14442 reuse an existing *vc-diff* buffer (Bug#8927).
14443
5fdd4046
CY
14444 * progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode.
14445
e93db24a
GM
144462011-06-26 Glenn Morris <rgm@gnu.org>
14447
14448 * progmodes/f90.el (f90-critical-indent): New option.
14449 (f90-font-lock-keywords-2, f90-blocks-re, f90-end-block-re)
14450 (f90-start-block-re, f90-mode-abbrev-table): Add block, critical.
14451 (f90-mode): Doc fix.
14452 (f90-looking-at-critical, f90-looking-at-end-critical): New funcs.
14453 (f90-no-block-limit, f90-calculate-indent, f90-end-of-block)
14454 (f90-beginning-of-block, f90-next-block, f90-indent-region)
14455 (f90-match-end): Handle block, critical.
14456
eefff499
GM
144572011-06-25 Glenn Morris <rgm@gnu.org>
14458
f6ba4cc9
GM
14459 * calendar/diary-lib.el (diary-included-files): Doc fix.
14460 (diary-include-files): New function, extracted from
14461 diary-include-other-diary-files and diary-mark-included-diary-files.
14462 (diary-include-other-diary-files, diary-mark-included-diary-files):
14463 Just call diary-include-files.
14464 (diary-mark-entries): Reset diary-included-files on first call.
14465
16712304
GM
14466 * calendar/diary-lib.el (diary-mark-entries)
14467 (diary-mark-included-diary-files):
14468 Visit included diary-files in temp buffers.
14469
5d8e0d43
GM
14470 * progmodes/f90.el (f90-keywords-re, f90-font-lock-keywords-1)
14471 (f90-blocks-re, f90-program-block-re, f90-end-block-re)
14472 (f90-start-block-re, f90-imenu-generic-expression)
14473 (f90-looking-at-program-block-start, f90-no-block-limit):
14474 Add support for submodules.
14475
ccf7a5d5
GM
14476 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
14477 (f90-procedures-re, f90-constants-re): Add some F2008 stuff.
eefff499 14478
11fdef7d 144792011-06-25 Eli Zaretskii <eliz@gnu.org>
638e9005
EZ
14480
14481 * net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
14482 buffer-file-type before setting its value, to avoid disastrous
eefff499 14483 global effects on decoding files for DOS/Windows systems. (Bug#8780)
638e9005 14484
74f53697
JB
144852011-06-25 Juanma Barranquero <lekktu@gmail.com>
14486
14487 * allout.el (allout-unload-function): Pass -1 to `allout-mode'.
14488
14489 * ses.el (ses-unload-function):
14490 * emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
14491
14492 * proced.el (proced-unload-function):
14493 * progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.
14494
18a4ce5e
AR
144952011-06-25 Andreas Rottmann <a.rottmann@gmx.at>
14496
14497 * server.el (server-create-window-system-frame): Add parameters arg.
14498 (server-process-filter): Doc fix. Handle frame-parameters.
14499
519d22cc
JB
145002011-06-25 Juanma Barranquero <lekktu@gmail.com>
14501
14502 Fix bug#8730, bug#8781.
14503
14504 * loadhist.el (unload--set-major-mode): New function.
14505 (unload-feature): Use it.
14506
14507 * progmodes/python.el (python-after-info-look): Add autoload cookie.
14508 (python-unload-function): New function.
14509
c206f5b0
SM
145102011-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
14511
14512 * mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.
14513
f9ad64f3
GS
145142011-06-25 Giuseppe Scrivano <gscrivano@gnu.org>
14515
14516 * net/browse-url.el (browse-url-firefox-program): Add icecat to
14517 the candidates list.
14518
7d0da90e
JB
145192011-06-24 Juanma Barranquero <lekktu@gmail.com>
14520
14521 * progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable.
14522
14b4e83d
RS
145232011-06-23 Richard Stallman <rms@gnu.org>
14524
14525 * mail/rmail.el: Going to grep hit in Rmail buffer finds the message.
14526 (rmail-variables): Set next-error-move-function.
14527 (rmail-what-message): Take argument POS.
14528 (rmail-next-error-move): New function.
14529
273d2baf
SM
145302011-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
14531
14532 * emacs-lisp/smie.el (smie-bnf->prec2): Give more understandable error
14533 messages for adjacent non-terminals.
14534
56c2cc9a
RS
145352011-06-23 Richard Stallman <rms@gnu.org>
14536
14537 * mail/rmail.el (rmail-retry-ignored-headers): Add message-id.
f444564c 14538 (rmail-show-message-1): Preserve buffer modified flag.
8050daa1
RS
14539 (rmail-start-mail): Don't specify use of rmail-mail-return;
14540 that's done by mail-bury now.
14541 (rmail-mail-return): Handle arg NEWBUF.
56c2cc9a 14542
d59eb518
MA
145432011-06-23 Michael Albinus <michael.albinus@gmx.de>
14544
14545 * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
14546 SIZE is a number.
14547
02cfc6d6
MR
145482011-06-23 Martin Rudalics <rudalics@gmx.at>
14549
14550 * window.el (get-lru-window, get-mru-window)
14551 (get-largest-window): Never return a minibuffer window.
14552 (display-buffer-pop-up-window): Fix a bug that could lead to
14553 reusing the minibuffer window.
14554 (display-buffer): Pass original specifier argument to
14555 display-buffer-function instead of the normalized one.
14556 Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
14557
4e323265
LL
145582011-06-22 Leo Liu <sdl.web@gmail.com>
14559
14560 * minibuffer.el (completing-read-function)
14561 (completing-read-default): Move from minibuf.c
14562
7a70468f
RS
145632011-06-22 Richard Stallman <rms@gnu.org>
14564
50718fc2
RS
14565 * mail/sendmail.el (mail-bury): If Rmail is in use, return nicely
14566 to Rmail even if not started by a special Rmail command.
14567
7a70468f
RS
14568 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
14569 Copy the buffer currently showing just one message.
14570
297dde5a
RW
145712011-06-22 Roland Winkler <winkler@gnu.org>
14572
14573 * textmodes/bibtex.el (bibtex-entry-update): Use mapc.
14574 (bibtex-clean-entry): First delete the old key so that a
14575 customized algorithm for generating the new key does not get
14576 confused by the old key.
14577 (bibtex-url): Obey regexp of first step.
14578 (bibtex-search-entries): Do not use add-to-list with local
14579 list-var.
14580
97bb1093
LMI
145812011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
14582
14583 * mail/smtpmail.el (smtpmail-try-auth-methods): If the user has
14584 stored a user name, then query for the password first, instead of
14585 waiting for SMTP to give an error message and the trying again.
14586
1c0f1a19
JD
145872011-06-22 Lawrence Mitchell <wence@gmx.li>
14588
14589 * net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
14590 BUFFER in call-process.
14591
396f7c9d
LMI
145922011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
14593
14594 * mail/smtpmail.el (smtpmail-via-smtp): Make sure we don't send
14595 QUIT twice.
ddb7ffee
LMI
14596 (smtpmail-try-auth-methods): Require user name and password from
14597 auth-source.
396f7c9d 14598
8998d1b3
MR
145992011-06-22 Martin Rudalics <rudalics@gmx.at>
14600
14601 * window.el (display-buffer-default-specifiers)
14602 (display-buffer-alist): Remove entries for pop-up-frame-alist.
14603 Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
130e3e11 14604 (split-window): Normalize SIDE argument (Bug#8916).
8998d1b3
MR
14605
14606 * frame.el (pop-up-frame-alist, pop-up-frame-function)
14607 (special-display-frame-alist, special-display-popup-frame):
14608 Remove duplicate declarations. These are now in window.el.
14609
4ea31e07
LMI
146102011-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
14611
c9d29fb8
SM
14612 * mail/smtpmail.el (smtpmail-via-smtp):
14613 Set :use-starttls-if-possible so that we always use STARTTLS if the
6af7a784
LMI
14614 server supports it. SMTP servers that support STARTTLS commonly
14615 require it.
14616
14617 * net/network-stream.el (network-stream-open-starttls): Support
14618 upgrading to STARTTLS always, even if we don't have built-in support.
fa463103 14619 (open-network-stream): Add the :always-query-capabilities keyword.
6af7a784 14620
95f41d9a
LMI
14621 * mail/smtpmail.el: Rewritten to do opportunistic STARTTLS
14622 upgrades with `open-network-stream', and rely solely on
14623 auth-source for all credentials. Big changes throughout the file,
14624 but in particular:
c9d29fb8
SM
14625 (smtpmail-auth-credentials): Remove.
14626 (smtpmail-starttls-credentials): Remove.
7d36ad46
LMI
14627 (smtpmail-via-smtp): Check for servers saying they want AUTH after
14628 MAIL FROM, too.
95f41d9a 14629
c9d29fb8
SM
14630 * net/network-stream.el (network-stream-open-starttls):
14631 Provide support for client certificates both for external and built-in
4ea31e07
LMI
14632 STARTTLS.
14633 (auth-source): Require.
14634 (open-network-stream): Document the :client-certificate keyword.
eb8c9362
LMI
14635 (network-stream-certificate): Change cert-cert to cert and
14636 cert-key to key.
4ea31e07 14637
065ec2c7
MA
146382011-06-21 Michael Albinus <michael.albinus@gmx.de>
14639
14640 * net/tramp-cache.el (top): Don't load the persistency file when
14641 "emacs -Q" has been called.
14642
cd93b359
DR
146432011-06-21 Tim Harper <timcharper@gmail.com>
14644
d8e4b68b
JB
14645 * term/ns-win.el (ns-initialize-window-system):
14646 Set application-specific `ApplePressAndHoldEnabled' system
cd93b359
DR
14647 resource to NO as it is not yet supported by the NS port.
14648
ae9c0411
JB
146492011-06-21 Juanma Barranquero <lekktu@gmail.com>
14650
14651 * misc.el (list-dynamic-libraries--refresh): Compute header here...
14652 (list-dynamic-libraries): ...not here.
14653
7f3f739f
LL
146542011-06-21 Leo Liu <sdl.web@gmail.com>
14655
14656 * subr.el (sha1): Implement sha1 using secure-hash.
14657
327c8fb1
MR
146582011-06-21 Martin Rudalics <rudalics@gmx.at>
14659
14660 * window.el (display-buffer-alist): In default value do not
14661 enforce searching a window on any but the selected frame.
14662 Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
14663 (display-buffer-select-window): Remove function.
14664 (display-buffer-in-window): When a window on another frame gets
14665 reused, do not select it any more but just raise its frame if
14666 necessary (Bug#8851) and (Bug#8856).
14667 (display-buffer-normalize-options): Handle pop-up-frames related
14668 options more faithfully.
14669 (pop-to-buffer): Don't rely on `display-buffer' selecting the
14670 window if it is on another frame.
c9d29fb8
SM
14671 (display-buffer-alist, display-buffer-default-specifiers):
14672 Don't make new frame unsplittable by default.
9e9de014
MR
14673 (display-buffer-normalize-argument): Fix doc-string typo and use
14674 'same-frame-other-window instead of 'other-window when associating
14675 with display-buffer-macro-specifiers.
327c8fb1 14676
7cf3f556
VB
146772011-06-21 Vincent Belaïche <vincent.b.1@hotmail.fr>
14678
14679 * play/5x5.el (5x5-solve-rotate-left, 5x5-solve-rotate-right):
14680 New functions.
14681 (5x5-mode-map, 5x5-mode-menu): Bind them.
14682 (5x5-draw-grid): Tweak the solver's rendering.
14683
60a406cf
SM
146842011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
14685
14686 * progmodes/compile.el (compilation-error-regexp-alist-alist): Rename
14687 `caml' to `python-tracebacks-and-caml'; allow leading tabs (bug#8585).
14688
d8e4b68b 146892011-06-21 Drew Adams <drew.adams@oracle.com>
5d907d6c
DA
14690
14691 * menu-bar.el: Use function variable instead of switch-to-buffer.
14692 (menu-bar-select-buffer-function): New variable.
60a406cf 14693 (menu-bar-update-buffers): Use it (bug#8876).
5d907d6c 14694
478d6f95
SM
146952011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
14696
14697 * emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
14698 variable's status.
14699
ca530739
JD
147002011-06-20 Jan Djärv <jan.h.d@swipnet.se>
14701
14702 * x-dnd.el (x-dnd-version-from-flags)
14703 (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
14704 and long as number (Bug#8899).
14705 (x-dnd-handle-xdnd): Call functions above (Bug#8899).
14706
bcd70d97
SM
147072011-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
14708
60a406cf 14709 * minibuffer.el (completion-metadata): Add `metadata' to the alist.
4cb3bfa0
SM
14710 (completion-try-completion, completion-all-completions): Compute the
14711 metadata argument if it's missing; make it optional (bug#8795).
14712
60a406cf 14713 * wid-edit.el: Use lex-bind and move towards completion-at-point.
bcd70d97
SM
14714 (widget-complete): Use new :completion-function property.
14715 (widget-completions-at-point): New function.
14716 (default): Use :completion-function instead of :complete.
60a406cf
SM
14717 (widget-default-completions): Rename from widget-default-complete;
14718 Rewrite.
bcd70d97
SM
14719 (widget-string-complete, widget-file-complete, widget-color-complete):
14720 Remove functions.
14721 (file, symbol, function, variable, coding-system, color):
14722 * international/mule-cmds.el (default-input-method, charset)
14723 (language-info-custom-alist):
14724 * cus-edit.el (face): Use new property :completions.
14725
14726 * progmodes/pascal.el (pascal-completions-at-point): New function.
14727 (pascal-mode): Use it.
14728 (pascal-mode-map): Use completion-at-point.
14729 (pascal-toggle-completions): Make obsolete.
14730 (pascal-complete-word, pascal-show-completions):
14731 * progmodes/octave-mod.el (octave-complete-symbol):
14732 Redefine as obsolete alias.
14733 * progmodes/octave-inf.el (inferior-octave-completion-at-point):
14734 Signal absence of completion info for old Octave,
14735 (inferior-octave-complete): Redefine as obsolete alias.
14736 * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
14737 (meta-completions-at-point): Rename from meta-complete-symbol and
14738 adapt it for use on completion-at-point-functions.
14739 (meta-common-mode): Use it.
14740 (meta-looking-at-backward, meta-match-buffer): Remove.
14741 (meta-complete-symbol): Redefine as obsolete alias.
14742 (meta-common-mode-map): Use completion-at-point.
14743 * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
14744 (makefile-mode-map): Use completion-at-point.
14745 (makefile-completions-at-point): Rename from makefile-complete and
14746 adapt it for use on completion-at-point-functions.
14747 (makefile-mode): Use it.
14748 (makefile-complete): Redefine as obsolete alias.
14749
aebf69c8
DD
147502011-06-20 Deniz Dogan <deniz@dogan.se>
14751
14752 * net/rcirc.el: Delete trailing whitespaces once and for all.
14753
bfbbb27d
DC
147542011-06-20 Daniel Colascione <dan.colascione@gmail.com>
14755
14756 * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
14757
d264a46b
CY
147582011-06-19 Chong Yidong <cyd@stupidchicken.com>
14759
4ca009e5
CY
14760 * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
14761
d264a46b
CY
14762 * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
14763
fbf5b3ce
MR
147642011-06-19 Martin Rudalics <rudalics@gmx.at>
14765
14766 * window.el (display-buffer-other-window-means-other-frame):
14767 Call display-buffer-normalize-alist.
14768 (display-buffer-normalize-specifiers-1): Rename to
14769 display-buffer-normalize-argument. New argument other-frame.
14770 Rewrite.
14771 (display-buffer-normalize-specifiers-2): Rename to
14772 display-buffer-normalize-options.
14773 (display-buffer-normalize-alist-1): New function.
14774 (display-buffer-normalize-specifiers-3): Rename to
bcd70d97
SM
14775 display-buffer-normalize-alist.
14776 Call display-buffer-normalize-alist-1.
fbf5b3ce
MR
14777 (display-buffer-normalize-options-inhibit): New variable.
14778 (display-buffer-normalize-specifiers): Rewrite calling
14779 display-buffer-normalize-alist,
14780 display-buffer-normalize-argument, and
14781 display-buffer-normalize-options. Don't call the latter if
14782 display-buffer-normalize-options-inhibit is non-nil.
14783 (frame-auto-delete): New option.
14784 (window-deletable-p): Use frame-auto-delete.
9d89fec7
MR
14785 (window-list-no-nils, window-state-ignored-parameters)
14786 (window-state-get-1, window-state-get, window-state-put-list)
bcd70d97
SM
14787 (window-state-put-1, window-state-put-2, window-state-put):
14788 New functions.
9a028c23
MR
14789 (display-buffer-normalize-options): Move special-display-p group
14790 after pop-up-frame group (Bug#8851) and (Bug#8856).
fbf5b3ce 14791
6d10d800
CY
147922011-06-18 Chong Yidong <cyd@stupidchicken.com>
14793
6420d28b
CY
14794 * emacs-lisp/rx.el (rx-constituents): Add support for numbered
14795 groups (Bug#8776).
14796 (rx-submatch-n): New function.
14797 (rx): Document it.
14798
ddb8b596
CY
14799 * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
14800 (Bug#8768).
14801
14802 * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
14803
77080289
CY
14804 * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
14805
61dfb316
CY
14806 * cus-face.el (custom-declare-face): Call custom-theme-recalc face
14807 anytime existing face settings are present (Bug#8889).
14808
6d10d800
CY
14809 * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
14810 (delphi-mode): Use define-derived-mode to inherit from prog-mode.
14811 Remove unused argument.
14812
be3fb2b8
MR
148132011-06-18 Martin Rudalics <rudalics@gmx.at>
14814
bcd70d97
SM
14815 * window.el (display-buffer-default-specifiers):
14816 Remove pop-up-frame. Add pop-up-window-min-height,
be3fb2b8
MR
14817 pop-up-window-min-width, and another reuse-window specifier
14818 (Bug#8882). Reported by Dan Nicolaescu <dann@gnu.org>.
bcd70d97
SM
14819 (display-buffer-normalize-specifiers-2):
14820 Handle split-height-threshold and split-width-threshold also when
be3fb2b8
MR
14821 pop-up-windows is unset. Add a reuse-window specifier for the
14822 case popping up a new window fails.
14823 (special-display-popup-frame): Remove double quoting.
28dec25a 14824 (display-buffer-normalize-specifiers-1): Fix thinko.
be3fb2b8 14825
1c6d8c76
SM
148262011-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
14827
14828 * shell.el (shell-completion-vars): Set pcomplete-termination-string
14829 according to comint-completion-addsuffix.
14830
14831 * pcomplete.el: Convert to lexical binding and fix bug#8819.
14832 (pcomplete-suffix-list): Mark as obsolete.
14833 (pcomplete-completions-at-point): Capture pcomplete-norm-func and
14834 pcomplete-seen in the closure.
14835 (pcomplete-comint-setup): Setup completion-at-point as well.
14836 (pcomplete--entries): New function.
14837 (pcomplete--env-regexp): New var.
14838 (pcomplete-entries): Rewrite to work with partial-completion and
14839 without relying on pcomplete-suffix-list.
14840 (pcomplete-pare-list): Remove, unused.
14841
25aef8b8
MR
148422011-06-17 Martin Rudalics <rudalics@gmx.at>
14843
14844 * window.el (display-buffer-alist): Set pop-up-window-min-height
14845 and pop-up-window-min-width in default value. Reported by
14846 Thierry Volpiatto <thierry.volpiatto@gmail.com>. New specifier
14847 other-window-means-other-frame.
14848 (display-buffer-macro-specifiers): Comment out entry for
14849 other-window specifier.
14850 (display-buffer-other-window-means-other-frame): New function.
14851 (display-buffer-normalize-specifiers-1): New arguments
14852 buffer-name and label. Treat other-window case specially.
14853 (display-buffer-normalize-specifiers-2): Treat other-window case
14854 specially.
14855 (display-buffer-normalize-specifiers-3): New function.
bcd70d97
SM
14856 (display-buffer-normalize-specifiers):
14857 Call display-buffer-normalize-specifiers-3.
25aef8b8 14858
dbad4f69
MR
148592011-06-17 Martin Rudalics <rudalics@gmx.at>
14860
14861 * window.el (same-window-p): Fix two typos introduced when
14862 adding with-no-warnings.
d1067961
MR
14863 (display-buffer-normalize-specifiers-1): Don't check
14864 pop-up-frames for 'unset initialization.
14865 (display-buffer-normalize-specifiers-2): Major rewrite using
14866 special-display-p and same-window-p (Bug#8851) and (Bug#8856).
14867 (pop-up-frames, display-buffer-reuse-frames)
14868 (display-buffer-mark-dedicated): Don't initialize to 'unset.
14869 Suggested by David Engster <deng@randomsample.de>.
14870 (even-window-heights): Initialize to 'unset.
14871 (display-buffer-alist-set): Handle new 'unset initializations.
25aef8b8
MR
14872 (display-buffer-macro-specifiers): Don't pop up a new frame in the
14873 other window case.
dbad4f69 14874
9b9c9e3a
MR
148752011-06-16 Martin Rudalics <rudalics@gmx.at>
14876
bcd70d97
SM
14877 * window.el (display-buffer-normalize-specifiers-1):
14878 Respect current value of pop-up-frames for most reasonable values of
9b9c9e3a 14879 second argument of display-buffer (Bug#8865).
981d5c09
MR
14880 (switch-to-buffer-same-frame, switch-to-buffer-other-window)
14881 (switch-to-buffer-other-window-same-frame)
14882 (switch-to-buffer-other-frame): Fix doc-strings. Reported by Drew
14883 Adams (Bug#8875).
9c2755e9
MR
14884 (display-buffer): Don't check noninteractive when calling
14885 display-buffer-pop-up-frame.
14886 (display-buffer-pop-up-frame): Never pop up a frame in
14887 noninteractive mode (Bug#8857).
67222e1d
MR
14888 (enlarge-window, shrink-window): Don't report an error when the
14889 window can't be resized as requested (Bug#8862).
9b9c9e3a 14890
2b75be67
SM
148912011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
14892
9ffdd3ba
SM
14893 * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
14894
cb581a67
SM
14895 * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
14896
2b75be67
SM
14897 * abbrev.el (define-abbrev-table): Don't add a table multiple times.
14898
8c0e3589
AM
148992011-06-15 Alan Mackenzie <acm@muc.de>
14900
cb581a67
SM
14901 * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
14902 for declarators, disable knr checking to speed up for normal files.
14903 2: Refactor, replacing a sequence of nested if forms by a cond form.
8c0e3589 14904
b96e6cde
LMI
149052011-06-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
14906
4bba86e6
LMI
14907 * net/network-stream.el (open-network-stream): Add the keyword
14908 :always-query-capabilities for the case where you want to force a
14909 `plain' network connection, but the protocol still requires the
14910 capabilitiy command (i.e., SMTP and EHLO).
14911
2b75be67 14912 * subr.el (process-live-p): Rename from `process-alive-p' for
b96e6cde
LMI
14913 consistency with other `-live-p' functions.
14914
efdcdbf8
SM
149152011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
14916
14917 * window.el (same-window-buffer-names, same-window-regexps)
14918 (special-display-frame-alist, special-display-popup-frame)
14919 (special-display-function, special-display-buffer-names)
14920 (special-display-regexps, pop-up-frame-alist)
14921 (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
14922 (pop-up-windows, split-window-preferred-function)
14923 (split-height-threshold, split-width-threshold, even-window-heights)
14924 (display-buffer-mark-dedicated): Don't encourage the use of
14925 display-buffer-alist from Elisp code.
14926
c5cde042
DN
149272011-06-15 Dan Nicolaescu <dann@ics.uci.edu>
14928
14929 * progmodes/python.el (python-mode): Derive from prog-mode.
14930 * progmodes/ps-mode.el (ps-mode):
14931 * progmodes/mixal-mode.el (mixal-mode):
50328a1b 14932 * progmodes/cfengine.el (cfengine-mode):
c5cde042
DN
14933 * progmodes/ld-script.el (ld-script-mode): Likewise.
14934
baa1c9ab
MR
149352011-06-15 Martin Rudalics <rudalics@gmx.at>
14936
14937 * window.el (display-buffer-alist): Trim default value to avoid
14938 popping up a new frame (Bug#8857) or reusing an arbitrary window
14939 on another frame.
14940 (display-buffer): Do not fall back on popping up a new frame in
14941 batch mode (Bug#8857).
14942
c5dd5a51
CY
149432011-06-14 Chong Yidong <cyd@stupidchicken.com>
14944
14945 * cus-theme.el (describe-theme-1): Use custom-theme-p.
14946 (custom-theme-summary): New function.
14947 (customize-themes): Use it.
14948
d647b7c4
GM
149492011-06-13 Glenn Morris <rgm@gnu.org>
14950
14951 * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
14952
9481c002
MR
149532011-06-13 Martin Rudalics <rudalics@gmx.at>
14954
357f93d2
MR
14955 * help.el (help-window): Remove variable.
14956 (help-window-point-marker, temp-buffer-max-height)
14957 (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
14958 (help-print-return-message): Don't set help-window.
14959 (resize-temp-buffer-window): Rewrite cod eand doc-string.
14960 (help-window-setup-finish): Remove.
14961 (help-window-display-message, help-window-setup)
14962 (with-help-window): Major rewrite based on new
14963 display-buffer-window variable.
14964
14965 * help-mode.el (help-mode-finish): Remove help-window related
14966 code.
14967
14968 * view.el (view-exits-all-viewing-windows): Remove reference to
14969 view-return-to-alist in doc-string.
14970 (view-return-to-alist): Make obsolete.
14971 (view-buffer): Call pop-to-buffer-same-window and remove
14972 undo-window code.
14973 (view-buffer-other-window): Call pop-to-buffer-other-window and
14974 simplify code. Ignore second argument.
14975 (view-buffer-other-frame): Call pop-to-buffer-other-frame and
14976 simplify code. Ignore second argument.
14977 (view-return-to-alist-update): Make obsolete.
14978 (view-mode-enter): Rename second argument to QUIT-RESTORE.
14979 Rewrite using quit-restore window parameters.
2b75be67
SM
14980 (view-mode-exit): Rename second argument to EXIT-ONLY.
14981 Rewrite using quit-restore-window.
357f93d2
MR
14982 (View-exit, View-exit-and-edit, View-leave, View-quit)
14983 (View-quit-all, View-kill-and-leave): Call view-mode-exit with
14984 appropriate arguments.
14985 (view-end-message): Use quit-restore window parameter.
14986
9481c002
MR
14987 * window.el (display-buffer-function): Rewrite doc-string.
14988 (display-buffer-window, display-buffer-alist): New variables.
14989 (display-buffer-split-specifiers)
14990 (display-buffer-side-specifiers)
14991 (display-buffer-macro-specifiers): New constants.
14992 (display-buffer-even-window-sizes, display-buffer-set-height)
14993 (display-buffer-set-width, display-buffer-select-window)
14994 (display-buffer-in-window, display-buffer-reuse-window)
14995 (display-buffer-split-window-1, display-buffer-split-window)
14996 (display-buffer-split-atom-window, display-buffer-pop-up-window)
14997 (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
14998 (display-buffer-in-side-window, normalize-buffer-to-display)
14999 (display-buffer-normalize-specifiers-1)
15000 (display-buffer-normalize-specifiers-2)
2b75be67
SM
15001 (display-buffer-normalize-specifiers, display-buffer-frame):
15002 New functions.
9481c002
MR
15003 (display-buffer): Major rewrite.
15004 (display-buffer-other-window, display-buffer-other-frame)
15005 (pop-to-buffer, switch-to-buffer-other-window)
15006 (switch-to-buffer-other-frame): Rewrite.
15007 (display-buffer-same-window, display-buffer-same-frame)
15008 (display-buffer-same-frame-other-window)
15009 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
15010 (pop-to-buffer-other-window)
15011 (pop-to-buffer-same-frame-other-window)
15012 (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
15013 (switch-to-buffer-other-window-same-frame): New functions.
15014 (same-window-p, special-display-p): Rewrite disabling warnings.
15015 Make obsolete.
15016 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
15017 (display-buffer-mark-dedicated): Initialize to symbol 'unset.
15018 Make obsolete
15019 (same-window-buffer-names, same-window-regexps)
15020 (special-display-frame-alist, special-display-popup-frame)
15021 (special-display-function, special-display-buffer-names)
15022 (special-display-regexps, pop-up-frame-alist)
15023 (pop-up-frame-function, split-window-preferred-function)
15024 (split-height-threshold, split-width-threshold)
15025 (even-window-heights): Make obsolete.
15026
9db51aca
GM
150272011-06-12 Glenn Morris <rgm@gnu.org>
15028
15029 * term/xterm.el (terminal-init-xterm): `version' may be nil. (Bug#8838)
7cb363eb 15030 Misc simplifications.
9db51aca 15031
39cffb44
MR
150322011-06-12 Martin Rudalics <rudalics@gmx.at>
15033
15034 * window.el (window-safely-shrinkable-p): Restore function which
15035 was inadvertently removed in change from 2011-06-11. Declare as
15036 obsolete.
15037
2b75be67
SM
15038 * calendar/calendar.el (calendar-generate-window):
15039 Use window-iso-combined-p instead of combination of one-window-p and
39cffb44
MR
15040 window-safely-shrinkable-p.
15041
a8955be7
GM
150422011-06-12 Glenn Morris <rgm@gnu.org>
15043
15044 * progmodes/fortran.el (fortran-mode-syntax-table):
15045 * progmodes/f90.el (f90-mode-syntax-table):
15046 Set % to punctuation. (Bug#8820)
15047 (f90-find-tag-default): Remove, no longer needed.
15048
f0d4059d
DC
150492011-06-12 Daniel Colascione <dan.colascione@gmail.com>
15050
15051 * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
15052
1100a63c
CY
150532011-06-11 Chong Yidong <cyd@stupidchicken.com>
15054
15055 * image.el (image-animated-p): Return animation delay in seconds.
15056 Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
15057 (image-animate-timeout): Remove DELAY argument. Don't assume
15058 every subimage has the same delay; get it from image-animated-p.
15059 (image-animate): Caller changed.
15060
def722bf
MA
150612011-06-11 Michael Albinus <michael.albinus@gmx.de>
15062
15063 * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
15064 to ignored backtrace functions.
15065
0a2bb1a9
GM
150662011-06-11 Glenn Morris <rgm@gnu.org>
15067
15068 * calendar/appt.el (appt-disp-window-function): Doc fix.
15069 (appt-check): Handle overlapping appointments. (Bug#8337)
15070
6198ccd0
MR
150712011-06-11 Martin Rudalics <rudalics@gmx.at>
15072
15073 * window.el (window-tree-1, window-tree): New functions, moving
15074 the latter to window.el.
15075 (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
15076 (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
15077 (bw-refresh-edges): Remove.
15078 (balance-windows-1, balance-windows-2): New functions.
15079 (balance-windows): Rewrite in terms of window tree functions,
15080 balance-windows-1 and balance-windows-2.
15081 (bw-adjust-window): Remove.
15082 (balance-windows-area-adjust): New function with functionality of
15083 bw-adjust-window but using resize-window.
2b75be67
SM
15084 (set-window-text-height): Rewrite doc-string.
15085 Use normalize-live-window and resize-window.
15086 (enlarge-window-horizontally, shrink-window-horizontally):
15087 Rename argument to DELTA.
6198ccd0
MR
15088 (window-buffer-height): New function.
15089 (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
15090 Rewrite using new window resize routines.
2b75be67
SM
15091 (kill-buffer-and-window, mouse-autoselect-window-select):
15092 Use ignore-errors instead of condition-case.
6198ccd0
MR
15093 (quit-window): Call delete-frame instead of delete-windows-on
15094 for the only buffer on frame.
15095
9397e56f
MR
150962011-06-10 Martin Rudalics <rudalics@gmx.at>
15097
15098 * loadup.el (top-level): Load window before files for the sake
15099 of replace-buffer-in-windows.
15100
15101 * files.el (read-buffer-to-switch)
15102 (switch-to-buffer-other-window)
2b75be67
SM
15103 (switch-to-buffer-other-frame, display-buffer-other-frame):
15104 Move to window.el.
9397e56f
MR
15105
15106 * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
15107 (previous-buffer): Move to window.el.
15108
15109 * bindings.el (unbury-buffer): Move to window.el.
15110
15111 * window.el (delete-other-windows-vertically): Move after
15112 definition of delete-other-windows.
15113 (other-window, delete-windows-on, replace-buffer-in-windows):
15114 Move here from window.c.
15115 (record-window-buffer, unrecord-window-buffer)
15116 (set-window-buffer-start-and-point, switch-to-prev-buffer)
15117 (switch-to-next-buffer): New functions.
15118 (get-next-valid-buffer, last-buffer, next-buffer): Move here
15119 from simple.el. Call switch-to-next-buffer.
2b75be67
SM
15120 (previous-buffer): Move here from simple.el.
15121 Call switch-to-prev-buffer.
9397e56f
MR
15122 (bury-buffer): Move here from buffer.c. Switch to previous
15123 buffer when window cannot be deleted.
15124 (unbury-buffer): Move here from bindings.el.
15125 (ctl-x-map): Move binding for other-window from window.c to
15126 here.
15127 (read-buffer-to-switch, switch-to-buffer-other-window)
15128 (switch-to-buffer-other-frame): Move here from files.el.
15129 (normalize-buffer-to-switch-to): New functions.
2b75be67
SM
15130 (switch-to-buffer): Move here from buffer.c.
15131 Use read-buffer-to-switch and normalize-buffer-to-switch-to.
9397e56f 15132
562dd5e9
MR
151332011-06-10 Martin Rudalics <rudalics@gmx.at>
15134
15135 * window.el (window-min-height, window-min-width): Move here
15136 from window.c. Add defcustoms and rewrite doc-strings.
15137 (resize-mini-window, resize-window): New functions.
15138 (adjust-window-trailing-edge, enlarge-window, shrink-window):
15139 Move here from window.c.
15140 (maximize-window, minimize-window): New functions.
15141 (delete-window, delete-other-windows, split-window): Move here
15142 from window.c.
15143 (window-split-min-size): New function.
15144 (split-window-keep-point): Mention split-window-above-each-other
15145 instead of split-window-vertically.
2b75be67 15146 (split-window-above-each-other, split-window-vertically):
1154d12e
JB
15147 Rename split-window-vertically to split-window-above-each-other
15148 and provide defalias for old definition.
15149 (split-window-side-by-side, split-window-horizontally):
15150 Rename split-window-horizontally to split-window-side-by-side
15151 and provide defalias for the old definition.
562dd5e9
MR
15152 (ctl-x-map): Move bindings for delete-window,
15153 delete-other-windows and enlarge-window here from window.c.
15154 Replace bindings for split-window-vertically and
15155 split-window-horizontally by bindings for
15156 split-window-above-each-other and split-window-side-by-side.
15157
15158 * cus-start.el (all): Remove entries for window-min-height and
15159 window-min-width. Add entries for window-splits and
15160 window-nest.
15161
f0da764a
GM
151622011-06-09 Glenn Morris <rgm@gnu.org>
15163
80675c21
GM
15164 * calendar/appt.el (appt-mode-line): New function.
15165 (appt-check, appt-disp-window): Use it.
15166
f0da764a
GM
15167 * files.el (hack-one-local-variable-eval-safep):
15168 Allow minor-modes with explicit +/-1 arguments.
15169
59f623b7
TZ
151702011-06-09 Teodor Zlatanov <tzz@lifelogs.com>
15171
15172 * term/xterm.el (xterm): Add defgroup.
15173 (xterm-extra-capabilities): Add defcustom to supply known xterm
15174 capabilities, skip querying them, or query them (default).
15175 (terminal-init-xterm): Use it.
15176 (terminal-init-xterm-modify-other-keys): New function to set up
15177 modifyOtherKeys support to simplify `terminal-init-xterm'.
15178
9aab8e0d
MR
151792011-06-09 Martin Rudalics <rudalics@gmx.at>
15180
15181 * window.el (resize-window-reset, resize-window-reset-1)
15182 (resize-subwindows-skip-p, resize-subwindows-normal)
15183 (resize-subwindows, resize-other-windows, resize-this-window)
15184 (resize-root-window, resize-root-window-vertically)
15185 (window-deletable-p, window-or-subwindow-p)
15186 (frame-root-window-p): New functions.
15187
e8b08aee
GM
151882011-06-09 Glenn Morris <rgm@gnu.org>
15189
15190 * net/ange-ftp.el (ange-ftp-switches-ok): New function.
15191 (ange-ftp-get-files): Use it.
15192
254c37a5
AK
151932011-06-09 Alexander Klimov <alserkli@inbox.ru> (tiny change)
15194
15195 * mail/sendmail.el (mail-recover-1, mail-recover):
15196 * files.el (recover-file, recover-session):
15197 Handle dired-listing-switches not being just a single short option.
15198
35d7dbd3
GM
151992011-06-09 Glenn Morris <rgm@gnu.org>
15200
15201 * calendar/appt.el (appt-display-message, appt-disp-window):
15202 Handle lists of appointments.
15203
387522b2
MR
152042011-06-08 Martin Rudalics <rudalics@gmx.at>
15205
2b75be67
SM
15206 * window.el (one-window-p): Move down in code.
15207 Rewrite doc-string.
15208 (window-current-scroll-bars): Rewrite doc-string.
15209 Normalize live window argument.
387522b2
MR
15210 (walk-windows, get-window-with-predicate, count-windows):
15211 Rewrite doc-string. Use window-list-1.
15212 (window-in-direction-2, window-in-direction, get-mru-window):
15213 New functions.
15214
d8e4b68b 152152011-06-08 Reuben Thomas <rrt@sc3d.org>
2c587104
GM
15216
15217 * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
15218 Doc fix (Bug#8713).
15219
152202011-06-08 Chong Yidong <cyd@stupidchicken.com>
15221
15222 * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
15223
152242011-06-08 Juanma Barranquero <lekktu@gmail.com>
15225
15226 * loadhist.el (unload-feature-special-hooks):
15227 Add `comint-output-filter-functions'.
15228
0de12c52
IK
152292011-06-08 Ivan Kanis <gnu@kanis.fr>
15230
15231 * calendar/appt.el (appt-check): Move some initializations into the let.
15232
f3d1777e
MR
152332011-06-08 Martin Rudalics <rudalics@gmx.at>
15234
15235 * window.el (window-height): Defalias to window-total-height.
15236 (window-width): Defalias to window-body-width.
15237
18af70d0
CY
152382011-06-07 Chong Yidong <cyd@stupidchicken.com>
15239
15240 * image-mode.el (image-toggle-animation): New command.
15241 (image-mode-map): Bind it to RET.
15242 (image-mode): Update message.
15243 (image-toggle-display-image): Avoid a spurious cache flush.
15244 (image-transform-rotation): Doc fix.
15245 (image-transform-properties): Return quickly in the normal case.
15246 (image-animate-loop): Rename from image-animate-max-time.
15247
2b75be67 15248 * image.el (image-animate-max-time): Move to image-mode.el.
18af70d0
CY
15249 (create-animated-image): Remove unnecessary function.
15250 (image-animate): Rename from image-animate-start. New arg.
2b75be67 15251 (image-animate-stop): Remove; just use image-animate-timer.
18af70d0
CY
15252 (image-animate-timer): Use car-safe.
15253 (image-animate-timeout): Rename argument.
15254
190b47e6
MR
152552011-06-07 Martin Rudalics <rudalics@gmx.at>
15256
15257 * window.el (get-lru-window, get-largest-window): Move here from
2b75be67
SM
15258 window.c. Rename first argument to ALL-FRAMES.
15259 Rephrase doc-strings.
15260 (get-buffer-window-list): Rewrite using window-list-1.
15261 Rephrase doc-string.
a1511caf
MR
15262 (window-safe-min-height, window-safe-min-width): New constants.
15263 (window-size-ignore, window-min-size, window-min-size-1)
15264 (window-sizable, window-sizable-p, window-size-fixed-1)
15265 (window-size-fixed-p, window-min-delta-1, window-min-delta)
15266 (window-max-delta-1, window-max-delta, window-resizable)
15267 (window-resizable-p, window-total-height, window-total-width)
15268 (window-body-width): New functions.
15269 (window-full-height-p, window-full-width-p): Rewrite using
15270 window-total-size.
15271 (window-body-height): Rewrite using window-body-size.
190b47e6 15272
85cc1f11
MR
152732011-06-06 Martin Rudalics <rudalics@gmx.at>
15274
15275 * window.el (window-right, window-left, window-child)
15276 (window-child-count, window-last-child, window-any-p)
15277 (normalize-live-buffer, normalize-live-frame)
15278 (normalize-any-window, normalize-live-window)
15279 (window-iso-combination-p, window-iso-combined-p)
15280 (window-iso-combinations)
15281 (walk-window-tree-1, walk-window-tree, walk-window-subtree)
15282 (windows-with-parameter, window-with-parameter)
15283 (window-atom-root, make-window-atom, window-atom-check-1)
2b75be67
SM
15284 (window-atom-check, window-side-check, window-check):
15285 New functions.
85cc1f11
MR
15286 (ignore-window-parameters, window-sides, window-sides-vertical)
15287 (window-sides-slots): New variables.
15288 (window-size-fixed): Move down in code. Minor doc-string fix.
15289
e7156492
AS
152902011-06-05 Andreas Schwab <schwab@linux-m68k.org>
15291
15292 * comint.el (comint-dynamic-complete-as-filename)
15293 (comint-dynamic-complete-filename): Correctly call
15294 completion-in-region.
15295
7e821d0d
DD
152962011-06-05 Deniz Dogan <deniz@dogan.se>
15297
15298 * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
15299 in last change.
15300
ac09b8a1
DD
153012011-06-05 Deniz Dogan <deniz@dogan.se>
15302
15303 * net/rcirc.el (rcirc-prompt-for-encryption): New function.
15304 (rcirc): Use it to prompt for encryption.
15305
34699b85
RW
153062011-06-05 Roland Winkler <winkler@gnu.org>
15307
15308 * textmodes/bibtex.el (bibtex-search-buffer): New variable.
15309 (bibtex-search-entries): New command bound to C-c C-a.
15310 (bibtex-display-entries): New function.
15311
004dedd3
RW
153122011-06-05 Roland Winkler <winkler@gnu.org>
15313
15314 * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
15315 (bibtex-insert-kill): After yanking insert newline if necessary.
15316 (bibtex-initialize): Call bibtex-string-files-init only once.
15317 (bibtex-mode): Do not call easy-menu-add.
15318 (bibtex-validate-globally): Use save-excursion in bibtex buffers.
15319 (bibtex-yank): Set arg properly if nil.
15320
022fe7ce
RW
153212011-06-05 Roland Winkler <winkler@gnu.org>
15322
2b75be67
SM
15323 * textmodes/bibtex.el (bibtex-search-entry-globally):
15324 New variable.
022fe7ce
RW
15325 (bibtex-search-entry): Use it.
15326
b7c3692a
RW
153272011-06-05 Roland Winkler <winkler@gnu.org>
15328
15329 * textmodes/bibtex.el (bibtex-entry-format): New option
15330 sort-fields.
15331 (bibtex-format-entry, bibtex-reformat): Honor this option.
15332 (bibtex-parse-entry): Return fields in proper order.
15333
8eda563d
JB
153342011-06-05 Juanma Barranquero <lekktu@gmail.com>
15335
15336 * doc-view.el (doc-view-remove-if): Move computation of result out
15337 of `dolist' to silence misleading lexical-binding warning.
15338
7dbe3dbc
CY
153392011-06-04 Chong Yidong <cyd@stupidchicken.com>
15340
15341 * emacs-lisp/timer.el (timer-activate): Remove unused arg.
15342 (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
15343
0c33dd17
MA
153442011-06-04 Michael Albinus <michael.albinus@gmx.de>
15345
15346 * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
15347 "SunOS 5.10".
15348
f8f91c2b
MA
153492011-06-04 Michael Albinus <michael.albinus@gmx.de>
15350
15351 * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
15352 (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
15353 (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
15354 (tramp-parse-putty):
15355 * net/tramp-sh.el (tramp-completion-function-alist-rsh)
15356 (tramp-completion-function-alist-ssh)
15357 (tramp-completion-function-alist-telnet)
15358 (tramp-completion-function-alist-su)
15359 (tramp-completion-function-alist-putty): Set `tramp-autoload'
15360 cookie.
15361
15362 * net/tramp-ftp.el:
15363 * net/tramp-sh.el:
15364 * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
15365 load "tramp.el" `tramp-set-completion-function'.
15366
e17d9003
SM
153672011-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
15368
15369 * shell.el: Require and use pcomplete.
15370 (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
15371 (shell-completion-vars): Set pcomplete-default-completion-function.
15372
6c4cab03
DD
153732011-06-04 Deniz Dogan <deniz@dogan.se>
15374
15375 * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
15376 `memq' (Bug#8799).
15377
ea9fafe0
SM
153782011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
15379
15380 * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
15381
b3e945d3
JB
153822011-06-02 Juanma Barranquero <lekktu@gmail.com>
15383
15384 * bs.el (bs--mark-unmark, bs--nth-wrapper):
15385 * mpc.el (mpc-select-extend, mpc-songpointer-context):
15386 * vc/log-view.el (log-view-beginning-of-defun):
15387 * vc/smerge-mode.el (smerge-apply-resolution-patch)
15388 (smerge-refine-forward, smerge-refine-chopup-region):
15389 Silence warning for unused `dotimes' counter variables.
15390
7d520089
SM
153912011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
15392
15393 * net/tramp.el (tramp-with-progress-reporter): Rename from
15394 with-progress-reporter. Use `declare'.
15395 * net/tramp-smb.el:
15396 * net/tramp-sh.el:
15397 * net/tramp-gvfs.el: Update all uses.
15398
a1c2400f
JB
153992011-06-02 Jay Belanger <jay.p.belanger@gmail.com>
15400
15401 * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
15402 buffer isn't killed before making it current.
15403
2403c841
SM
154042011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
15405
15406 Silence various byte-compiler warnings.
15407 * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
15408 `access-type' and new obsolescence format.
15409 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
15410 new format.
15411 (byte-compile-check-variable): New `access-type' argument.
15412 Only warn if the access-type is obsolete.
15413 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
15414 (byte-compile-variable-set): Adjust callers.
15415 * help-fns.el (describe-variable): Adjust to new obsolescence format.
15416 * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
15417 setting it as obsolete.
15418 * simple.el (minibuffer-completing-symbol):
15419 * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
15420 access as obsolete.
15421 * minibuffer.el (minibuffer-completing-file-name): Don't make it
15422 obsolete yet.
15423 * international/quail.el (quail-mouse-choose-completion): Remove unused
15424 code referring to obsolete var.
15425 (quail-choose-completion-string): Remove.
15426 * server.el (server-clients-with, server-kill-buffer-query-function)
15427 (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
15428 * proced.el (proced-send-signal):
15429 * emacs-lisp/lisp.el (lisp-complete-symbol):
15430 Replace completion-annotate-function with completion-extra-properties.
15431
2462470b
SM
154322011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
15433
fb5b2591
SM
15434 * simple.el (goto-line): Use read-number.
15435 (overriding-map-is-bound): Remove.
15436 (saved-overriding-map): Change default.
15437 (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
15438 Take the map as argument.
15439 (universal-argument, negative-argument, digit-argument): Use it.
15440 (restore-overriding-map): Adjust.
15441 (do-auto-fill): Use fill-forward-paragraph.
15442 (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
15443
fd6fa53f
SM
15444 * minibuffer.el (minibuffer-inactive-mode-map): New var.
15445 (minibuffer-inactive-mode): New major mode.
15446 * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
15447 the *Messages* buffer" hack.
15448 (mouse-popup-menubar): Don't burp if the event is a normal key.
15449
2462470b
SM
15450 Miscellaneous tweaks.
15451 * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
15452 lexical scoping as in subr.el's dolist and dotimes.
15453 * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
15454 Silence compiler warning.
15455 * thingatpt.el (forward-whitespace): Trivial coding style fix.
15456 * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
15457 * international/ccl.el (ccl-compile): Trivial simplification.
15458 * help-fns.el (help-do-arg-highlight): Silence compiler warning.
15459 * emacs-lisp/testcover.el (testcover-end): Remove spurious
15460 `printflag' argument.
15461 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
15462 Purecopy the whole obsolescence data.
15463
108bf785
LL
154642011-06-01 Leo Liu <sdl.web@gmail.com>
15465
15466 * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
15467 improve doc-string as suggested by Marco Pessotto
15468 <melmothx@gmail.com>.
15469 (rcirc-print): Fix last change.
15470
30a23501
SM
154712011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
15472
15473 * minibuffer.el (complete-with-action): Return nil for the metadata and
15474 boundaries of non-functional tables.
15475 (completion-table-dynamic): Return nil for the metadata.
15476 (completion-table-with-terminator): Add default case, using
15477 complete-with-action.
15478 (completion--metadata): New function.
15479 (completion-all-sorted-completions, minibuffer-completion-help): Use it
15480 to try and avoid pathological performance problems.
15481 (completion--embedded-envvar-table): Return `category' metadata.
15482
bcd54f83
LMI
154832011-05-31 Lars Magne Ingebrigtsen <larsi@gnus.org>
15484
15485 * subr.el (process-alive-p): New tiny convenience function.
15486
e227544d
SM
154872011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
15488
15489 * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
15490 content but also its previous major mode.
15491
e8296fdc
HE
154922011-05-31 Helmut Eller <eller.helmut@gmail.com>
15493
4d61f28d 15494 * emacs-lisp/debug.el (debug): Restore the previous content of the
e8296fdc
HE
15495 *Backtrace* buffer when we exit with C-M-c.
15496
620c53a6
SM
154972011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
15498
15499 * minibuffer.el: Add metadata method to completion tables.
15500 (completion-category-overrides): New defcustom.
15501 (completion-metadata, completion--field-metadata)
15502 (completion-metadata-get, completion--styles)
15503 (completion--cycle-threshold): New functions.
15504 (completion-try-completion, completion-all-completions):
15505 Add `metadata' argument to choose completion-styles.
15506 (completion--do-completion): Use metadata to choose cycling.
15507 (completion-all-sorted-completions): Use metadata for sorting.
15508 Remove :completion-cycle-penalty which is not needed any more.
15509 (completion--try-word-completion): Add `metadata' argument.
15510 (minibuffer-completion-help): Check metadata for annotation function
15511 and sorting.
15512 (completion-file-name-table): Return `category' metadata.
15513 (minibuffer-completing-file-name): Make obsolete.
15514 * simple.el (minibuffer-completing-symbol): Make obsolete.
15515 * icomplete.el (icomplete-completions): Pass new `metadata' param to
15516 completion-try-completion.
15517
1257e755
SM
155182011-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
15519
15520 * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
15521
3767e706
LL
155222011-05-30 Leo Liu <sdl.web@gmail.com>
15523
15524 * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
5ab33f2b
LL
15525 (rcirc-print): Decode all incoming messages (bug#8744).
15526 (rcirc-decode-coding-system): Allow value nil for automatic coding
15527 system detection.
3767e706 15528
d1a5d56a
GM
155292011-06-01 Glenn Morris <rgm@gnu.org>
15530
15531 * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
15532
e8cbec34
CY
155332011-05-29 Chong Yidong <cyd@stupidchicken.com>
15534
15535 * image.el (image-animate-max-time): Allow nil and t values.
15536 Default to nil.
15537 (create-animated-image): Doc fix.
15538 (image-animate-start): Remove second arg; just use
15539 image-animate-max-time.
15540 (image-animate-timeout): Doc fix. Args changed.
15541
15542 * image-mode.el (image-toggle-display-image): Ensure that the
15543 image spec passed to the animate timer is the same object as in
58179cce 15544 the buffer's display property (Bug#6981).
e8cbec34
CY
15545 (image-transform-properties): Doc fix.
15546
15547 * image.el (image-animate-max-time): Default to nil.
15548
159daf87
MR
155492011-05-29 Martin Rudalics <rudalics@gmx.at>
15550
15551 * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
15552 entire buffer list (Bug#8184).
15553
d66c4c7c
CY
155542011-05-29 Chong Yidong <cyd@stupidchicken.com>
15555
15556 * image.el (imagemagick-types-inhibit)
15557 (imagemagick-register-types): Doc fix.
15558
80aec780
DD
155592011-05-29 Deniz Dogan <deniz@dogan.se>
15560
15561 * net/rcirc.el (rcirc): Use the user's stored encryption method by
15562 default.
15563
1dd3c2d9
CY
155642011-05-29 Chong Yidong <cyd@stupidchicken.com>
15565
15566 * select.el: Don't perform clipboard-manager saving in hooks;
15567 leave the hooks empty.
15568
60e56523
LL
155692011-05-28 Leo Liu <sdl.web@gmail.com>
15570
15571 * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
15572 (occur-mode-map): Bind occur-edit-mode. Use occur-menu-map.
15573 (occur-edit-mode): New major mode (Bug#8463).
15574 (occur-after-change-function): New function.
15575 (occur-engine): Give Occur tags a read-only property.
15576
2b1e1a22
KR
155772011-05-28 Kevin Ryde <user42@zip.com.au>
15578
15579 * subr.el (def-edebug-spec): Doc fix (Bug#8430).
15580
5d344e88
CY
155812011-05-28 Chong Yidong <cyd@stupidchicken.com>
15582
8e6ca83d
CY
15583 * bindings.el (help-echo): Make the initial non-indicator dash
15584 empty on graphical terminals (Bug#7295).
15585
5d344e88
CY
15586 * files.el (auto-mode-alist): Move config rule after the
15587 in-stripping one (Bug#8547).
15588
bfbbace7
CY
15589 * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
15590
fbeba6e2
CY
15591 * startup.el (normal-splash-screen): Remove gratuitous mode-line
15592 setting (Bug#8740).
15593
60ed8c72
AA
155942011-05-28 Alp Aker <aker@pitt.edu> (tiny change)
15595
4ac619f0
AA
15596 * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
15597 (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
15598 (Bug#8539).
60ed8c72 15599
23db196e
CY
156002011-05-28 Chong Yidong <cyd@stupidchicken.com>
15601
15602 * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
15603
5012f24c
DK
156042011-05-28 Dima Kogan <dkogan@cds.caltech.edu> (tiny change)
15605
15606 * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
15607 (hs-hide-block-at-point, hs-find-block-beginning)
15608 (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
15609 (Bug#8279).
15610
6a639b16
GM
156112011-05-28 Glenn Morris <rgm@gnu.org>
15612
15613 * startup.el (fancy-about-screen): Use standard mode line. (Bug#8740)
15614
d43eaf2c
CY
156152011-05-28 Chong Yidong <cyd@stupidchicken.com>
15616
5199bde1
CY
15617 * help-fns.el (describe-function-1): If the function is a derived
15618 major mode, print the parent mode.
15619
d43eaf2c
CY
15620 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
15621 (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
15622
423428a8
SM
156232011-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
15624
0ff8e1ba 15625 * minibuffer.el (completion--capf-wrapper): Check applicability before
0b381c7e 15626 returning non-nil for non-exclusive completion data.
0ff8e1ba
SM
15627 * progmodes/etags.el (tags-completion-at-point-function):
15628 * info-look.el (info-lookup-completions-at-point): Mark as
15629 non-exclusive.
15630 (info-complete): Adjust accordingly.
15631
423428a8
SM
15632 * info-look.el: Convert to lexical-binding and completion-at-point.
15633 (info-lookup-completions-at-point): New function.
15634 (info-complete): Use it and completion-in-region.
15635
b74aa22b
DA
156362011-05-28 Drew Adams <drew.adams@oracle.com>
15637
15638 * isearch.el: Let M-e start with point at the first mismatched char.
15639 (isearch-fail-pos): New function.
15640 (isearch-edit-string): Use it.
15641
66e2e71d
DK
156422011-05-28 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
15643
15644 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
15645
b1890b0f 156462011-05-27 Toby Cubitt <toby-predictive@dr-qubit.org>
eb95d01d
TC
15647
15648 * emacs-lisp/avl-tree.el: New avl-tree-stack datatype. Add new
15649 traversal functions for avl-trees.
15650 (avl-tree--stack): New struct.
15651 (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
15652 (avl-tree-enter): Add optional `updatefun' arg.
93a1c12a
TC
15653 (avl-tree--do-enter): Add optional `updatefun' arg.
15654 Change return value.
eb95d01d 15655 (avl-tree-delete): Add optional `test' and `nilflag' args.
93a1c12a
TC
15656 (avl-tree--do-delete): Add `test' and `nilflag' args.
15657 Change return value.
eb95d01d
TC
15658 (avl-tree-member): Add optional `nilflag'
15659 (avl-tree-member-p): New function.
15660 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
15661 (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
15662 (avl-tree-stack-empty-p): New functions.
15663
3769ddcf
TC
15664 * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
15665 avl-tree--del-balance1 and make it work both ways.
15666 (avl-tree--del-balance2): Remove.
15667 (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
15668 make it work both ways.
15669 (avl-tree--enter-balance2): Remove.
15670 (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
15671 New macros.
15672 (avl-tree--mapc, avl-tree-map): Add direction argument.
15673
eb95d01d 156742011-05-27 David Michael <fedora.dm0@gmail.com> (tiny change)
7a6b1aef
DM
15675
15676 * files.el (interpreter-mode-alist): Add rbash (bug#8745).
15677
a9f737ee
CY
156782011-05-27 Chong Yidong <cyd@stupidchicken.com>
15679
15680 * select.el: Support clipboard managers with built-in function
15681 x-clipboard-manager-save, via delete-frame-functions and
15682 kill-emacs-hook.
15683 (xselect-convert-to-targets): Add MULTIPLE target to list.
15684 (xselect-convert-to-save-targets): New function.
15685
c92a1e54
KH
156862011-05-27 Kenichi Handa <handa@m17n.org>
15687
15688 * mail/sendmail.el (mail-encode-header): Avoid double encoding by
15689 let-binding rfc2047-encode-encoded-words to nil.
15690
e145f188
GM
156912011-05-27 Glenn Morris <rgm@gnu.org>
15692
5ec8a862
GM
15693 * mail/emacsbug.el: Don't require url-util.
15694
4b29d9fb
GM
15695 * shell.el (shell-directory-tracker): Case matters. (Bug#8735)
15696
e145f188
GM
15697 * files.el (set-auto-mode):
15698 Also respect mode: entries at the end of the file. (Bug#8586)
15699
7d15102b
GM
157002011-05-26 Glenn Morris <rgm@gnu.org>
15701
98f593b8
GM
15702 * files.el (hack-local-variables-prop-line, hack-local-variables):
15703 Downcase mode names, as seems to be traditional.
27b48e63 15704 (hack-local-variables, hack-local-variables-apply): Doc fixes.
98f593b8 15705
7d15102b
GM
15706 * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
15707 (report-emacs-bug-hook): Try to validate the From address. (Bug#8038)
15708
51d5b4ec
JD
157092011-05-25 Julien Danjou <julien@danjou.info>
15710
15711 * textmodes/rst.el (rst-define-level-faces): Do not define face
15712 symbol if it is already defined.
15713
91513f63
VB
157142011-05-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
15715
15716 * play/5x5.el (5x5-new-game, 5x5-randomize):
15717 Reset 5x5-solver-output to nil when a new grid is cast.
15718 (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
15719 these debugging traces, as defmacro breaks the compiled code.
15720
4d90d6d0
DK
157212011-05-24 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
15722
15723 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
15724
e1b90ef6
LL
157252011-05-24 Leo Liu <sdl.web@gmail.com>
15726
15727 * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
15728 (vc-bzr-sha1): Adapt.
15729
d8e4b68b 15730 * sha1.el: Remove. Function `sha1' is now builtin.
e1b90ef6
LL
15731
15732 * bindings.el: Provide sha1 feature.
15733
db0406bb 157342011-05-24 Kenichi Handa <handa@m17n.org>
b8d747b9
KH
15735
15736 * mail/sendmail.el: Require `rfc2047'.
15737 (mail-insert-from-field): Do not perform RFC2047 encoding.
15738 (mail-encode-header): New function.
15739 (sendmail-send-it): Set buffer-file-coding-system of the work
4d90d6d0
DK
15740 buffer to the return value of select-message-coding-system.
15741 Call mail-encode-header.
b8d747b9
KH
15742
15743 * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
15744
db0406bb 157452011-05-24 Sean Neakums <sneakums@zork.net> (tiny change)
7261f6ce 15746
4d90d6d0
DK
15747 * mail/supercite.el (sc-default-cite-frame):
15748 Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
7261f6ce 15749
eb8a5e9b
GM
157502011-05-24 Glenn Morris <rgm@gnu.org>
15751
f8630703
GM
15752 * progmodes/python.el (brm-menu): Declare.
15753
8831bbed
GM
15754 * emulation/viper.el (viper-set-hooks): Declare.
15755
eb8a5e9b
GM
15756 * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
15757 (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
15758 (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
15759 (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
15760 (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
15761 (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
15762
a2a25d24
SM
157632011-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
15764
15765 Add an :exit-function for completion-at-point.
15766
15767 * minibuffer.el (completion--done): New fun.
15768 (completion--do-completion): Use it. New arg `expect-exact'.
15769 (minibuffer-complete, minibuffer-complete-word): Don't output message,
15770 since completion--do-completion does it for us now.
15771 (minibuffer-force-complete): Use completion--done and
15772 completion--replace. Handle sole-completion case with more care.
15773 (minibuffer-complete-and-exit): Use new `expect-exact' arg.
15774 (completion-extra-properties): New var.
15775 (completion-annotate-function): Make obsolete.
15776 (minibuffer-completion-help): Adjust accordingly.
15777 Use completion-list-insert-choice-function.
15778 (completion-at-point, completion-help-at-point):
15779 Bind completion-extra-properties.
15780 (completion-pcm-word-delimiters): Add | (for uniquify, for example).
15781 * simple.el (completion-list-insert-choice-function): New var.
15782 (completion-setup-function): Preserve it.
15783 (choose-completion): Pay attention to it, shuffle the code a bit.
15784 (choose-completion-string): New arg `insert-function'.
15785
15786 * textmodes/bibtex.el: Convert to lexical binding.
15787 (bibtex-mode-map): Use completion-at-point.
15788 (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
15789 (bibtex-completion-at-point-function): New fun, from bibtex-complete.
15790 (bibtex-complete): Define as obsolete alias.
15791 (bibtex-complete-internal): Remove.
15792 (bibtex-format-entry): Remove unused sub-group in regexp.
15793 * shell.el (shell--command-completion-data)
15794 (shell-environment-variable-completion):
15795 * pcomplete.el (pcomplete-completions-at-point):
15796 * comint.el (comint--complete-file-name-data): Use :exit-function
15797 instead of completion-table-with-terminator so it also works for
15798 choose-completion.
15799
e44e373d
SM
158002011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
15801
4f91a816
SM
15802 * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
15803
782fc819
SM
15804 * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
15805 (bug#8710).
15806
e44e373d
SM
15807 * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
15808
381987c3
KM
158092011-05-23 Ken Manheimer <ken.manheimer@gmail.com>
15810
15811 * allout.el (allout-inhibit-auto-fill-on-headline): Create new
15812 customization variable and implement: If non-nil, auto-fill will
15813 be inhibited while on topic's header line.
15814
b776bc70
VB
158152011-05-23 Vincent Belaïche <vincentb1@users.sourceforge.net>
15816
15817 * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
d8e4b68b 15818 click on. II/ Make 5x5 multisession. III/ Ensure that random grids
b776bc70
VB
15819 always have a solution in grid size = 5 cases.
15820 (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
15821 (5x5-solver-output, 5x5-log-buffer): New vars.
15822 (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
15823 Make these variables buffer local to achieve 5x5 multi-session-ness.
15824 (5x5): Set 5x5-grid-size only if SIZE is non-negative.
15825 (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
15826 (5x5-solve-suggest): New funs.
15827 (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
15828 randomize a grid so that we ensure that there is always a solution.
15829 (5x5-make-random-grid): Allow other movement than flipping.
15830
7de88b6e
KR
158312011-05-23 Kevin Ryde <user42@zip.com.au>
15832
15833 * emacs-lisp/advice.el (ad-read-advised-function):
5a5fa834 15834 Use `function-called-at-point' as the default, if it has
7de88b6e
KR
15835 advice and passes PREDICATE.
15836
b1ef1257
SM
158372011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
15838
bbca48fe
SM
15839 * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
15840 byte-compile-lambda if it's actually a lambda.
15841
b1ef1257
SM
15842 * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
15843 Fix function quoting. Use backquote better.
15844
92a9cc65
YS
158452011-05-22 Yuanle Song <sylecn@gmail.com>
15846
15847 * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
15848 matching (Bug#8516).
15849
f0fb8059
JA
158502011-01-22 Jari Aalto <jari.aalto@cante.net>
15851
15852 * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
15853 different face (Bug#8178).
15854
d5b44c93
CY
158552011-05-22 Chong Yidong <cyd@stupidchicken.com>
15856
15857 * vc/diff-mode.el (diff-changed): Don't use terminal specs for
15858 defface (Bug#8144).
15859
79106a44
SM
158602011-05-22 Stefan Monnier <monnier@iro.umontreal.ca>
15861
9c848d8a
SM
15862 * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
15863 funcall as well (bug#8712). Warn when performing those conversions.
15864 * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
15865
79106a44
SM
15866 * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
15867
88dfa756
GM
158682011-05-22 Glenn Morris <rgm@gnu.org>
15869
15870 * files.el (hack-local-variables-prop-line): Small simplifications.
15871 (hack-local-variables, hack-local-variables-prop-line):
15872 If MODE-ONLY, return the mode, rather than just `t'.
15873
b7cf2c79
SM
158742011-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
15875
15876 * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
15877
3f1a8558
GM
158782011-05-21 Glenn Morris <rgm@gnu.org>
15879
7e4ccca3
GM
15880 * files.el (hack-local-variables-prop-line, hack-local-variables):
15881 If only interested in the mode, don't bother doing the other stuff.
15882
637d46ca
GM
15883 * image-mode.el (image-after-revert-hook):
15884 Redraw all frames on which the image is visible. (Bug#8567)
15885
973d955b
GM
15886 * dired-aux.el (dired-touch-initial): Just use current-time. (Bug#6887)
15887
3f1a8558
GM
15888 * wid-edit.el (widget-checklist-match-inline):
15889 Fix 2011-04-19 change. (Bug#8649)
15890
96479927
SM
158912011-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
15892
1dcf791f
SM
15893 * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
15894 Also allow singlespace after single-letter capitals followed by a dot.
15895
96479927
SM
15896 * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
15897 enabled. Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
15898
35fd0881
N
158992011-05-20 Nix <nix@esperi.org.uk>
15900
15901 * files.el (basic-save-buffer-2):
15902 Fix handling of break-hardlink-on-save with non-existent files.
15903
82745640
DD
159042011-05-19 Deniz Dogan <deniz@dogan.se>
15905
15906 * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
9ff90d99 15907 (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
82745640 15908
4a720484
GM
159092011-05-19 Glenn Morris <rgm@gnu.org>
15910
d1f21341
GM
15911 * progmodes/f90.el (f90-type-def-re):
15912 Handle "type, bind(c)". (Bug#8691)
15913
4a720484
GM
15914 * emacs-lisp/autoload.el (batch-update-autoloads):
15915 Set autoload-excludes by parsing loadup.el rather than Makefiles.
15916
2fb0a219
MA
159172011-05-18 Michael Albinus <michael.albinus@gmx.de>
15918
15919 * net/tramp.el (tramp-process-actions): Set "first-password-request"
15920 property for the correct connection in case of multihops.
15921
e565dd37
GM
159222011-05-18 Glenn Morris <rgm@gnu.org>
15923
c2571358 15924 * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
c136e5cd
GM
15925 * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
15926
e565dd37
GM
15927 Rationalize calendar handling of day and month abbrev-arrays.
15928 * calendar/calendar.el (calendar-customized-p): New function.
15929 (calendar-abbrev-construct, calendar-make-alist): Change what it does.
15930 (calendar-day-name-array, calendar-month-name-array): Doc fix.
15931 Add :set function.
15932 (calendar-abbrev-length, calendar-day-abbrev-array)
15933 (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
15934 (calendar-day-abbrev-array, calendar-month-abbrev-array):
15935 Elements may no longer be nil.
15936 (calendar-day-name, calendar-month-name):
15937 Update for changed nature of abbrev arrays.
15938 * calendar/diary-lib.el (diary-name-pattern):
15939 Update for changed nature of abbrev arrays.
15940 (diary-mark-entries-1): Update calendar-make-alist calls.
15941 (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
15942 * calendar/cal-html.el (cal-html-day-abbrev-array):
15943 Simply inherit from calendar-day-abbrev-array.
15944
1d99a745
SM
159452011-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
15946
15947 * progmodes/grep.el (grep-mode): Disable default
15948 compilation-directory-matcher setting (bug#8684).
15949
7c1d9aa0
MA
159502011-05-17 Michael Albinus <michael.albinus@gmx.de>
15951
15952 * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
15953 instead of "head" and "tail". There were problems with SunOS 5.9,
15954 and it performs better.
15955
3952e9d8
GM
159562011-05-17 Glenn Morris <rgm@gnu.org>
15957
2dd12e7f
GM
15958 * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
15959
e4157b9c
GM
15960 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
15961 Replace obsolete function.
15962
8e249bbd
GM
15963 * shell.el (pcomplete-parse-arguments-function): Declare.
15964
3952e9d8
GM
15965 * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
15966 (appt-display-diary, appt-display-interval, appt-prev-comp-time)
15967 (appt-check): Doc fixes.
15968 (appt-disp-window-function, appt-delete-window-function):
15969 Remove needless special case in custom :type.
15970 (appt-display-count): Default to 0, not nil.
15971 (appt-check): Reset appt-display-count to 0, not nil.
15972
c71a0d48 159732011-05-17 Juanma Barranquero <lekktu@gmail.com>
165fd2df 15974
c71a0d48
GM
15975 * progmodes/python.el (python-font-lock-keywords):
15976 Add the Python 3.X keyword "nonlocal" (bug#8639).
165fd2df 15977
31d55be9
SM
159782011-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
15979
15980 * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
15981
3bfacb2f
KR
159822011-05-16 Kevin Ryde <user42@zip.com.au>
15983
15984 * info-look.el (makefile-automake-mode): New setups, looking in
15985 automake manual, then makefile-mode.
15986 (makefile-mode): Remove automake manual, have it just in
15987 makefile-automake-mode since there's various things different or
15988 not relevant to plain make.
15989 (makefile-mode): Remove "other-modes" non-existent automake-mode,
15990 believe a hypothetical automake-mode would go to makefile-mode,
15991 not the other way around.
15992
c8e83751
CY
159932011-05-15 Chong Yidong <cyd@stupidchicken.com>
15994
5e9e35cd
CY
15995 * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
15996 hunk-end tags (Bug#8672).
15997
c8e83751
CY
15998 * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
15999 vc-annotate-show-diff-revision-at-line (Bug#8671).
16000
50b23e5a
GM
160012011-05-14 Glenn Morris <rgm@gnu.org>
16002
7210a739
GM
16003 * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
16004 in the middle of an existing one with multiple authors. (Bug#8645)
375cb676
GM
16005 (change-log-font-lock-keywords): Also handle multiple author lines
16006 with leading tabs. (Bug#8644)
7210a739 16007
4691905a
GM
16008 * calendar/appt.el (appt-check): Rename some local variables.
16009 Some simplification/reordering.
16010
50b23e5a
GM
16011 * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
16012 (feedmail-sendmail-f-doesnt-sell-me-out)
16013 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
16014 (feedmail-debug-sit-for, feedmail-queue-express-hook)
16015 (feedmail-queue-runner-message-sender): Set :version.
1aa64307
GM
16016 (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
16017 (bbdb-dwim-net-address, vm-mail): Declare.
50b23e5a
GM
16018 (feedmail-binmail-gnulinuxish-template):
16019 Rename from feedmail-binmail-linuxish-template.
16020 (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
16021 Use insert-buffer-substring.
16022
215cda7c
BC
160232011-05-14 Bill Carpenter <bill@carpenter.org>
16024
16025 * mail/feedmail.el (feedmail-patch-level): Increase.
16026 (feedmail-debug): New custom group.
16027 (feedmail-confirm-outgoing-timeout)
16028 (feedmail-sendmail-f-doesnt-sell-me-out)
16029 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
16030 (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
16031 (feedmail-sender-line, feedmail-from-line)
16032 (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
c2571358 16033 (feedmail-spray-this-address)
215cda7c
BC
16034 (feedmail-spray-address-fiddle-plex-list)
16035 (feedmail-queue-use-send-time-for-date)
16036 (feedmail-queue-use-send-time-for-message-id)
16037 (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
16038 (feedmail-buffer-eating-function):
16039 Doc fixes.
16040 (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
16041 (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
16042 (feedmail-message-action-scroll-down): New functions.
16043 (feedmail-queue-directory, feedmail-queue-draft-directory):
16044 Use expand-file-name.
16045 (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
16046 Remove C-v help entry.
16047 (feedmail-queue-buffer-file-name): New variable.
16048 (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
16049 (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
16050 (feedmail-message-action-send-strong, feedmail-message-action-edit)
16051 (feedmail-message-action-draft, feedmail-message-action-draft-strong)
16052 (feedmail-message-action-queue, feedmail-message-action-queue-strong)
16053 (feedmail-message-action-toggle-spray)
16054 (feedmail-run-the-queue-no-prompts)
16055 (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
16056 (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
16057 (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
16058 (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
16059 (feedmail-envelope-deducer, feedmail-fiddle-from)
16060 (feedmail-fiddle-sender, feedmail-default-date-generator)
16061 (feedmail-fiddle-date, feedmail-fiddle-message-id)
16062 (feedmail-fiddle-spray-address)
16063 (feedmail-fiddle-list-of-spray-fiddle-plexes)
16064 (feedmail-fiddle-list-of-fiddle-plexes)
16065 (feedmail-fill-to-cc-function, feedmail-fill-this-one)
16066 (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
16067 (feedmail-queue-runner-message-sender, feedmail-binmail-template):
16068 Change default. Doc fix.
16069 (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
16070 (feedmail-binmail-linuxish-template): New constant.
16071 (feedmail-buffer-to-sendmail): Doc fix. Add debug call.
16072 Respect feedmail-sendmail-f-doesnt-sell-me-out.
16073 (feedmail-send-it): Add debug call.
16074 Use feedmail-queue-buffer-file-name, and
16075 feedmail-send-it-immediately-wrapper.
16076 (feedmail-message-action-send): Add debug call.
16077 Use feedmail-send-it-immediately-wrapper.
16078 (feedmail-queue-express-to-queue): Add debug call.
16079 Run feedmail-queue-express-hook.
16080 (feedmail-message-action-help): Add debug call. Use feedmail-p-h-b-n.
16081 (feedmail-message-action-help-blat):
16082 Rename from feedmail-queue-send-edit-prompt-help-first.
16083 (feedmail-run-the-queue): Add debug call. Set buffer-file-type.
16084 Check line-endings. Handle errors better.
16085 (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
16086 Doc fix. Add debug call.
16087 (feedmail-queue-send-edit-prompt): Doc fix. Add debug call.
16088 Use feedmail-queue-send-edit-prompt-inner.
16089 (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
16090 (feedmail-queue-send-edit-prompt-inner): New function, extracted
16091 from feedmail-queue-send-edit-prompt.
16092 (feedmail-queue-send-edit-prompt-help)
16093 (feedmail-queue-send-edit-prompt-help-later): Remove functions.
16094 (feedmail-tidy-up-slug): Add debug call.
16095 Respect feedmail-queue-slug-suspect-regexp.
16096 (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
16097 (feedmail-dump-message-to-queue): Add debug call.
16098 Expand queue-directory.
16099 (feedmail-dump-message-to-queue): Change message slightly.
16100 Use feedmail-say-chatter.
16101 (feedmail-rfc822-date): Add debug call. Bind system-time-locale.
16102 (feedmail-send-it-immediately-wrapper): New function.
16103 (feedmail-send-it-immediately): Add debug calls. Use let not let*.
16104 Insert empty string rather than newline. Handle full-frame case.
16105 Use catch/throw. Use feedmail-say-chatter.
16106 (feedmail-fiddle-from): Try mail-host-address.
16107 (feedmail-default-message-id-generator): Doc fix.
16108 Bind system-time-locale. Handle missing end.
16109 (feedmail-fiddle-x-mailer): Add debug call.
16110 Handle feedmail-x-mailer-line being nil.
16111 (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
16112 Add debug call. Use buffer-substring-no-properties.
16113 (feedmail-say-debug, feedmail-say-chatter): New functions.
16114 (feedmail-find-eoh): Give an explicit error.
16115
42c7e61e
UJ
161162011-05-13 Ulf Jasper <ulf.jasper@web.de>
16117
c2571358 16118 * net/newst-treeview.el (newsticker-treeview-face): Change default
42c7e61e 16119 family from helvetica to sans.
c2571358 16120 (newsticker-treeview-tool-bar-map): Move tool-bar icons to
42c7e61e
UJ
16121 etc/images/newsticker.
16122
c2571358 16123 * net/newst-reader.el (newsticker-feed-face): Change default
42c7e61e
UJ
16124 family from helvetica to sans.
16125
16126 * net/newst-plainview.el (newsticker-new-item-face)
16127 (newsticker-old-item-face, newsticker-immortal-item-face)
16128 (newsticker-obsolete-item-face, newsticker-date-face)
c2571358 16129 (newsticker-statistics-face): Change default family from
42c7e61e 16130 helvetica to sans.
c2571358 16131 (newsticker--plainview-tool-bar-map): Move tool-bar icons to
42c7e61e
UJ
16132 etc/images/newsticker.
16133
5d3385a0
JB
16134 * net/newst-backend.el (newsticker--do-run-auto-mark-filter)
16135 (newsticker--process-auto-mark-filter-match): Tell user about
42c7e61e
UJ
16136 auto-marking.
16137
8497a297
DV
161382011-05-13 Didier Verna <didier@xemacs.org>
16139
16140 Common Lisp indentation improvements on defmethod and lambda-lists.
4d61f28d
JB
16141 * emacs-lisp/cl-indent.el: Advertise the changes and remove obsolete
16142 TODO entries.
8497a297
DV
16143 (lisp-lambda-list-keyword-parameter-indentation)
16144 (lisp-lambda-list-keyword-parameter-alignment)
16145 (lisp-lambda-list-keyword-alignment): New customizable user options.
16146 (lisp-indent-defun-method): Improve docstring.
16147 (extended-loop-p): Fix comment.
16148 (lisp-indent-lambda-list-keywords-regexp): New variable.
16149 (lisp-indent-lambda-list): New function.
16150 (lisp-indent-259): Use it.
16151 (lisp-indent-defmethod): Support for more than one
16152 method qualifier and properly indent methods lambda-lists.
16153 (defgeneric): Provide a missing common-lisp-indent-function property.
16154
f278f87f
SM
161552011-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
16156
16157 * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
16158 bounds for the empty string (bug#8667).
16159
5233edd7
GM
161602011-05-13 Glenn Morris <rgm@gnu.org>
16161
5237a44f
GM
16162 * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
16163
8340026c 16164 * mail/sendmail.el (sendmail-program): Try executable-find first.
f278f87f 16165 (sendmail-send-it): `sendmail-program' cannot be unbound.
8340026c 16166
5233edd7 16167 * calendar/appt.el (appt-make-list): Simplify.
4accbca6 16168 (appt-time-msg-list): Doc fix.
a5464014 16169 (appt-check): Change mode-line message at the time of the appointment.
5233edd7 16170
92d10796
AS
161712011-05-12 Andreas Schwab <schwab@linux-m68k.org>
16172
16173 * progmodes/ld-script.el (ld-script-keywords)
16174 (ld-script-builtins): Update keywords list.
16175
914a0ae1
SM
161762011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
16177
c89be45f
SM
16178 * progmodes/grep.el (grep-filter): Don't trip on partial lines.
16179
914a0ae1
SM
16180 * shell.el (shell-completion-vars): New function.
16181 (shell-mode):
16182 * simple.el (read-shell-command): Use it.
16183 (blink-matching-open): No need for " [...]" in minibuffer-message.
16184
98dc3df3
GM
161852011-05-12 Glenn Morris <rgm@gnu.org>
16186
16187 * calendar/appt.el (appt-now-displayed): Remove pointless variable.
16188 (appt-check): Simplify.
16189
d2fc7e3d 161902011-05-12 Eli Zaretskii <eliz@gnu.org>
0e39ec21 16191
4d61f28d 16192 * vc/smerge-mode.el (smerge-resolve): Use null-device rather than a
0e39ec21
EZ
16193 literal "/dev/null".
16194
d2fc7e3d 161952011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
3f254caa
SM
16196
16197 * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
16198 Fix typo.
16199
d2fc7e3d 162002011-05-12 Ralph Schleicher <rs@ralph-schleicher.de>
6eea50c7 16201
3f254caa
SM
16202 * progmodes/which-func.el (which-function):
16203 Use add-log-current-defun instead of add-log-current-defun-function,
6eea50c7
RS
16204 which might not be defined (Bug#8260).
16205
d45885f7
GM
162062011-05-12 Glenn Morris <rgm@gnu.org>
16207
16208 * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
16209 Let byte-compile-initial-macro-environment always take precedence.
16210
488086f4
SM
162112011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
16212
16213 * net/rcirc.el: Add support for SSL/TLS connections.
16214 (rcirc-server-alist): New field `encryption'.
16215 (rcirc): Check `encryption' settings.
16216 (rcirc-connect): New arg `encryption'. Use open-network-stream.
16217 Merge make-local-variable into `set'.
16218 (rcirc--connection-open-p): New function.
16219 (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
16220 the process is not a network process (e.g. running gnutls-cli).
16221 (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
16222 Make rcirc-(en|de)code-coding-system local here.
16223 (rcirc-mode): Merge make-local-variable into `set'.
16224 (rcirc-parent-buffer): Make permanent buffer-local.
16225 (rcirc-multiline-minor-mode): Don't do it here.
16226 (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
16227 there's no server buffer.
16228
7d3b9d44
GM
162292011-05-11 Glenn Morris <rgm@gnu.org>
16230
f64049c6
GM
16231 * newcomment.el (comment-kill): Prefix "unused" local.
16232
93c9df73
GM
16233 * term/w32console.el (get-screen-color): Declare.
16234
7d3b9d44
GM
16235 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
16236 Handle symbol elements of byte-compile-initial-macro-environment.
16237
9e2dd53f
LL
162382011-05-10 Leo Liu <sdl.web@gmail.com>
16239
488086f4
SM
16240 * bookmark.el (bookmark-bmenu-mode-map):
16241 Bind bookmark-bmenu-search to `/'.
8b340240 16242
9e2dd53f 16243 * mail/footnote.el: Convert to utf-8 encoding.
b4044869
LL
16244 (footnote-unicode-string, footnote-unicode-regexp): New variable.
16245 (Footnote-unicode): New function.
16246 (footnote-style-alist): Add unicode style to the list.
16247 (footnote-style): Doc fix.
9e2dd53f 16248
79b70037
GM
162492011-05-10 Jim Meyering <meyering@redhat.com>
16250
16251 Fix doubled-word typos.
16252 * international/quail.el (quail-insert-kbd-layout): and and -> and
16253 * kermit.el: and and -> and
16254 * net/ldap.el (ldap-search-internal): to to -> to
16255 * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
16256 * progmodes/js.el (js-mode): and and -> and
16257 * textmodes/artist.el (artist-move-to-xy): at at -> at
16258 (artist-draw-region-trim-line-endings): if if -> if
16259 And Safetyc -> Safety.
16260 * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
16261
b8f82dc1 162622011-05-10 Glenn Morris <rgm@gnu.org>
f1a71c6e 16263 Stefan Monnier <monnier@iro.umontreal.ca>
b8f82dc1
GM
16264
16265 * files.el (hack-one-local-variable-eval-safep):
16266 Consider "eval: (foo-mode)" to be safe. (Bug#8613)
16267
4f99f44b
GM
162682011-05-10 Glenn Morris <rgm@gnu.org>
16269
16270 * calendar/diary-lib.el (diary-list-entries-hook)
16271 (diary-mark-entries-hook, diary-nongregorian-listing-hook)
16272 (diary-nongregorian-marking-hook, diary-list-entries)
16273 (diary-include-other-diary-files, diary-mark-entries)
16274 (diary-mark-included-diary-files): Doc fixes.
16275
84f29e6b
JB
162762011-05-09 Juanma Barranquero <lekktu@gmail.com>
16277
16278 * misc.el: Require tabulated-list.el during compilation.
16279
9bedd73a
CY
162802011-05-09 Chong Yidong <cyd@stupidchicken.com>
16281
488086f4
SM
16282 * progmodes/compile.el (compilation-start):
16283 Run compilation-filter-hook for the async case too.
9bedd73a
CY
16284 (compilation-filter-hook): Doc fix.
16285
797c735c
DD
162862011-05-09 Deniz Dogan <deniz@dogan.se>
16287
16288 * wdired.el: Remove outdated installation comment. Fix usage
16289 comment.
16290
5f4b1dfe
JB
162912011-05-09 Juanma Barranquero <lekktu@gmail.com>
16292
16293 * misc.el: Implement new command `list-dynamic-libraries'.
16294 (list-dynamic-libraries--loaded-only-p): New variable.
16295 (list-dynamic-libraries--refresh): New function.
16296 (list-dynamic-libraries): New command.
16297
4c44026c
CY
162982011-05-09 Chong Yidong <cyd@stupidchicken.com>
16299
488086f4
SM
16300 * progmodes/compile.el (compilation-error-regexp-alist-alist):
16301 Fix the ant regexp to handle end-line and end-column info from jikes.
4c44026c
CY
16302 Re-introduce maven regexp. Give the ruby-Test::Unit regexp a
16303 higher priority to avoid clobbering by gnu.
16304
027f966d
CY
163052011-05-08 Chong Yidong <cyd@stupidchicken.com>
16306
16307 * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
16308 if the face has existing theme settings (Bug#8454).
16309
085f5d7d
CY
163102011-05-08 Ralph Schleicher <rs@ralph-schleicher.de>
16311
488086f4
SM
16312 * progmodes/perl-mode.el (perl-imenu-generic-expression):
16313 Only match variables declared via `my' or `our' (Bug#8261).
085f5d7d 16314
2a86a00c
RS
16315 * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
16316 special file names `.' and `..' (Bug#8259).
16317
d9c54a06
CY
163182011-05-08 Chong Yidong <cyd@stupidchicken.com>
16319
488086f4
SM
16320 * progmodes/grep.el (grep-mode-font-lock-keywords):
16321 Remove buffer-changing entries.
d9c54a06
CY
16322 (grep-filter): New function.
16323 (grep-mode): Add it to compilation-filter-hook.
16324
16325 * progmodes/compile.el (compilation-filter-hook)
16326 (compilation-filter-start): New defvars.
16327 (compilation-filter): Call compilation-filter-hook prior to
16328 updating the process mark.
16329
c4662635
SM
163302011-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
16331
16332 * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
16333
b0512a1d
EZ
163342011-05-07 Eli Zaretskii <eliz@gnu.org>
16335
605c9376
EZ
16336 * mail/sendmail.el (send-mail-function): On MS-Windows, default to
16337 mailclient-send-it even if window-system is nil. (Bug#8595)
16338
c4662635
SM
16339 * term/w32console.el (terminal-init-w32console):
16340 Call get-screen-color and use its output to set the frame
b0512a1d
EZ
16341 background-mode. (Bug#8597)
16342
d1dc2cc2
SM
163432011-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
16344
16345 Make bytecomp.el understand that defmethod defines funs (bug#8631).
16346 * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
16347 New functions.
16348 (defgeneric, eieio--defmethod): Use them.
16349 (eieio-defgeneric): Remove.
16350 (defmethod): Call defgeneric in a way visible to the byte-compiler.
16351
915d1300
GM
163522011-05-07 Glenn Morris <rgm@gnu.org>
16353
a3961c3e
GM
16354 * calendar/timeclock.el (timeclock-log-data): Remove unused local.
16355 Use let rather than let*.
16356 (timeclock-find-discrep): Remove unused local.
16357
314347b9
GM
16358 * calendar/diary-lib.el (diary-comment-start): Doc fix.
16359
915d1300
GM
16360 * calendar/appt.el (appt-time-msg-list): Doc fix.
16361
275b59b0
NF
163622011-05-06 Noah Friedman <friedman@splode.com>
16363
16364 * apropos.el (apropos-print-doc): Only use
16365 emacs-lisp-docstring-fill-column when it is bound to an integer,
16366 per that variable's documentation.
16367
6c19f744
SM
163682011-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
16369
16370 * lpr.el (print-region-1): Echo lpr-program's output, so error messages
d1dc2cc2 16371 and warnings are not silently discarded (e.g. use -d instead of -P).
6c19f744 16372
60f884b2
GM
163732011-05-06 Glenn Morris <rgm@gnu.org>
16374
5006e634
GM
16375 * calendar/appt.el (appt-message-warning-time): Doc fix.
16376 (appt-warning-time-regexp): New option.
16377 (appt-make-list): Respect appt-message-warning-time.
16378
548d0a63
GM
16379 * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
16380 New options.
16381 (diary-add-to-list): Strip comments from the displayed string.
16382 (diary-mode): Set comment-start and comment-end.
16383
60f884b2
GM
16384 * vc/diff-mode.el (smerge-refine-subst): Declare.
16385 (diff-refine-hunk): Don't require smerge-mode when compiling.
16386
989681bb
JB
163872011-05-06 Juanma Barranquero <lekktu@gmail.com>
16388
16389 * simple.el (list-processes): Return nil as the docstring says.
16390
a6bc05e1
MA
163912011-05-05 Michael Albinus <michael.albinus@gmx.de>
16392
16393 * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
16394 to "".
16395 (ange-ftp-write-region, ange-ftp-insert-file-contents)
16396 (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
16397 determining of binary transfer. (Bug#7383)
16398
23c22e9a
MA
163992011-05-05 Michael Albinus <michael.albinus@gmx.de>
16400
c4662635
SM
16401 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
16402 Fix port computation bug. (Bug#8618)
23c22e9a 16403
0bff894f
GM
164042011-05-05 Glenn Morris <rgm@gnu.org>
16405
b8296902
GM
16406 * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
16407
1f522ce8
GM
16408 * simple.el (shell-dynamic-complete-functions)
16409 (comint-dynamic-complete-functions): Declare.
16410
cf5bee67
GM
16411 * net/network-stream.el (gnutls-negotiate):
16412 * simple.el (tabulated-list-print): Fix declarations.
16413
16414 * progmodes/gud.el (syntax-symbol, syntax-point):
16415 Remove unnecessary and incorrect declarations.
16416
0bff894f
GM
16417 * emacs-lisp/check-declare.el (check-declare-scan):
16418 Handle byte-compile-initial-macro-environment in bytecomp.el
16419
9869b3ae
SM
164202011-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
16421
16422 Fix earlier half-done eieio-defmethod change (bug#8338).
16423 * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
16424 Streamline and change calling convention.
16425 (defmethod): Adjust accordingly and simplify.
16426 (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
16427 new eieio--defmethod.
16428 (slot-boundp): Minor CSE simplification.
16429
9c1d5ac5
MZ
164302011-05-05 Milan Zamazal <pdm@zamazal.org>
16431
16432 * progmodes/glasses.el (glasses-separate-capital-groups): New option.
16433 (glasses-make-readable): Use glasses-separate-capital-groups.
16434
455c834e
JB
164352011-05-05 Juanma Barranquero <lekktu@gmail.com>
16436
16437 * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
16438 (warning-series): Doc fix.
16439 (display-warning): Don't try to create the buffer if we just found it.
16440
9ed7c8cb
CY
164412011-05-04 Chong Yidong <cyd@stupidchicken.com>
16442
16443 * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
16444 (autoload-find-generated-file): New function.
16445 (generate-file-autoloads): Bind generated-autoload-file to
16446 buffer-file-name.
9869b3ae
SM
16447 (update-file-autoloads, update-directory-autoloads):
16448 Use autoload-find-generated-file. If called interactively, prompt for
9ed7c8cb
CY
16449 output file (Bug#7989).
16450 (batch-update-autoloads): Doc fix.
16451
0898ca10
JB
164522011-05-04 Juanma Barranquero <lekktu@gmail.com>
16453
16454 * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
16455
31dfb76c
GM
164562011-05-04 Glenn Morris <rgm@gnu.org>
16457
f330b642
GM
16458 * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
16459 function, so it follows changes in calendar-date-style.
16460 (diary-fancy-date-matcher): New function.
16461 (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
16462 (diary-fancy-font-lock-fontify-region-function):
16463 Use diary-fancy-date-pattern as a function.
16464
31dfb76c
GM
16465 * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
16466 non-numbers for `year' etc pseudo-variables. (Bug#8583)
16467
48e79d6a
TZ
164682011-05-04 Teodor Zlatanov <tzz@lifelogs.com>
16469
16470 * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
16471 instead of positional arguments. Allow :keylist and :crlfiles
16472 arguments.
16473 (open-gnutls-stream): Call it.
16474
16475 * net/network-stream.el (network-stream-open-starttls): Adjust to
16476 call `gnutls-negotiate' with :process and :hostname arguments.
16477
dd5a5ee0
SM
164782011-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
16479
ef80fc09
SM
16480 * minibuffer.el (completion--message): New function.
16481 (completion--do-completion, minibuffer-complete)
16482 (minibuffer-force-complete, minibuffer-complete-word): Use it.
16483 (completion--do-completion): Don't ignore completion-auto-help when in
16484 icomplete-mode.
16485
dd5a5ee0
SM
16486 * whitespace.el (whitespace-trailing-regexp): Don't rely on the
16487 internal encoding (e.g. tibetan zero is not whitespace).
16488 (global-whitespace-mode): Prefer save-current-buffer.
16489 (whitespace-trailing-regexp): Remove useless save-match-data.
16490 (whitespace-empty-at-bob-regexp): Minor simplification.
16491
b7d22a83
CY
164922011-05-03 Chong Yidong <cyd@stupidchicken.com>
16493
16494 * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
16495
5192af46
AM
164962011-05-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
16497
16498 * textmodes/ispell.el (ispell-add-per-file-word-list):
cdc4a047 16499 Use `concat' to create string for insertion.
5192af46 16500
5767d190
SM
165012011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
16502
16503 * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
16504 Avoid open-line which runs post-self-insert-hook.
16505 (bibtex-fill-entry): Remove unused `end' var.
16506
bf242939
AM
165072011-05-03 Dirk Ullrich <dirk.ullrich@googlemail.com> (tiny change)
16508
5767d190
SM
16509 * textmodes/ispell.el (ispell-add-per-file-word-list):
16510 Protect against `nil' value of `comment-start' (Bug#8579).
bf242939 16511
25666126
LL
165122011-05-03 Leo Liu <sdl.web@gmail.com>
16513
16514 * isearch.el (isearch-yank-pop): New command.
5767d190 16515 (isearch-mode-map): Bind it to `M-y'.
25666126
LL
16516 (isearch-forward): Mention it.
16517
52d3c2d0
SM
165182011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
16519
1bcace58
SM
16520 * simple.el (minibuffer-complete-shell-command): Remove.
16521 (minibuffer-local-shell-command-map): Use completion-at-point.
16522 (read-shell-command): Setup completion vars here instead.
16523 (read-expression-map): Bind TAB to symbol completion.
16524
52d3c2d0
SM
16525 * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
16526 error directly rather via storing it into `results'.
16527
35813471
LL
165282011-05-02 Leo Liu <sdl.web@gmail.com>
16529
16530 * vc/diff.el: Fix description.
16531
e793a940
LMI
165322011-05-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
16533
16534 * server.el (server-eval-at): New function.
16535
8de66e05
LMI
165362011-05-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
16537
16538 * net/network-stream.el (open-network-stream): Take a :nowait
16539 parameter and pass it on to `make-network-process'.
16540 (network-stream-open-plain): Ditto.
16541
dcb79f20
AS
165422011-04-30 Andreas Schwab <schwab@linux-m68k.org>
16543
16544 * faces.el (face-spec-set-match-display): Don't match toolkit
16545 options on terminal frames.
16546
14a7fbd8
SM
165472011-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
16548
7eabc1be
SM
16549 * progmodes/pascal.el: Use lexical binding.
16550 (pascal-mode-map): Remove author preferences.
16551
14a7fbd8
SM
16552 * pcomplete.el (pcomplete-std-complete): Don't abuse
16553 completion-at-point.
16554
50f84510
JB
165552011-04-28 Juanma Barranquero <lekktu@gmail.com>
16556
6e087a44
JB
16557 * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
16558 removing code that has been dead since 1991 or so.
16559
50f84510
JB
16560 * startup.el (command-line): When warning about "_emacs", use a
16561 delayed warning to allow the user to filter it out.
16562
0ba690bd
DD
165632011-04-28 Deniz Dogan <deniz@dogan.se>
16564
16565 * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
16566 user has not joined.
16567
08abfaad
SM
165682011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
16569
16570 * pcomplete.el (pcomplete-completions-at-point): Return nil if there
16571 aren't any completions at point.
16572
638f053a
JB
165732011-04-28 Juanma Barranquero <lekktu@gmail.com>
16574
16575 * subr.el (display-delayed-warnings): New function.
16576 (delayed-warnings-hook): New variable.
16577
8fff8daa
SM
165782011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
16579
08abfaad
SM
16580 * minibuffer.el (completion-at-point, completion-help-at-point):
16581 Don't presume that a given completion-at-point-function will always
16582 use the same calling convention.
16583
8fff8daa
SM
16584 * pcomplete.el (pcomplete-completions-at-point):
16585 Obey pcomplete-ignore-case. Don't call pcomplete-norm-func unless
16586 pcomplete-seen is non-nil.
16587 (pcomplete-comint-setup): Also recognize the new comint/shell
16588 completion functions.
16589 (pcomplete-do-complete): Don't call pcomplete-norm-func unless
16590 pcomplete-seen is non-nil.
16591
841a1577 165922011-04-27 Niels Giesen <niels.giesen@gmail.com>
211ec907 16593
841a1577 16594 * calendar/icalendar.el (diary-lib): Add require statement.
211ec907 16595 (icalendar--create-uid): Read out a uid from a text-property on
841a1577 16596 the first character in the entry. This allows for code to add its
211ec907
UJ
16597 own uid to the entry.
16598 (icalendar--convert-float-to-ical): Add export of
16599 `diary-float'-entries save for those with the optional DAY
16600 argument.
16601
2a782793
DC
166022011-04-27 Daniel Colascione <dan.colascione@gmail.com>
16603
16604 * subr.el (shell-quote-argument): Use alternate escaping strategy
16605 when we spot a variable reference in a string.
16606
0438ce91
DC
166072011-04-26 Daniel Colascione <dan.colascione@gmail.com>
16608
16609 * cus-start.el (all): Define customization for debug-on-event.
16610
841a1577 166112011-04-26 Daniel Colascione <dan.colascione@gmail.com>
8f91bf93
DC
16612
16613 * subr.el (shell-quote-argument): Escape correctly under Windows.
16614
d090ed6c
SM
166152011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
16616
16617 * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
16618
bfd31217
MA
166192011-04-25 Michael Albinus <michael.albinus@gmx.de>
16620
d090ed6c
SM
16621 * net/tramp.el (tramp-process-actions): Add POS argument.
16622 Delete region between POS and (pos).
bfd31217 16623
d090ed6c
SM
16624 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
16625 Use `nil' position in `tramp-process-actions' call.
bfd31217
MA
16626 (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
16627
16628 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
16629 position in `tramp-process-actions' call.
16630
16631 * net/trampver.el: Update release number.
16632
e92f3bd3
SM
166332011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
16634
850256b5
SM
16635 * custom.el (defcustom): Obey lexical-binding.
16636
e92f3bd3
SM
16637 Fix octave-inf completion problems reported by Alexander Klimov.
16638 * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
16639 Inherit from octave-mode-syntax-table.
16640 (inferior-octave-mode): Set info-lookup-mode.
16641 (inferior-octave-completion-at-point): New function.
16642 (inferior-octave-complete): Use it and completion-in-region.
16643 (inferior-octave-dynamic-complete-functions): Use it as well, and use
16644 comint-filename-completion.
16645 * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
16646 symbol elements which shouldn't be word elements.
16647 (octave-font-lock-keywords, octave-beginning-of-defun)
16648 (octave-function-header-regexp): Adjust regexps accordingly.
16649 (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
16650
cd22b309
JB
166512011-04-25 Juanma Barranquero <lekktu@gmail.com>
16652
16653 * net/gnutls.el (gnutls-errorp): Declare before first use.
16654
8b492194
TZ
166552011-04-24 Teodor Zlatanov <tzz@lifelogs.com>
16656
16657 * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
16658 verify-error, and verify-hostname-error parameters. Check whether
cd22b309 16659 default trustfile exists before going to use it. Add missing
5a5fa834 16660 argument to gnutls-message-maybe call. Return value.
8b492194
TZ
16661 Reported by Claudio Bley <claudio.bley@gmail.com>.
16662 (open-gnutls-stream): Add usage example.
16663
16664 * net/network-stream.el (network-stream-open-starttls): Give host
16665 parameter to `gnutls-negotiate'.
16666 (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
8f91bf93 16667 * subr.el (shell-quote-argument): Escape correctly under Windows.
8b492194 16668
841a1577 166692011-04-24 Daniel Colascione <dan.colascione@gmail.com>
05842630 16670
cd22b309
JB
16671 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
16672 Use correct match group (bug#8438).
05842630 16673
3ba7869c
CY
166742011-04-24 Chong Yidong <cyd@stupidchicken.com>
16675
512e3ae1
CY
16676 * emacs-lisp/package.el (package-built-in-p): Fix typo.
16677 (package-menu--generate): New arg specifying packages to show.
16678 (package-menu-refresh, package-menu-execute, list-packages):
16679 Callers changed.
16680 (package-show-package-list): New function, replacing deleted
16681 package--list-packages (renamed because it is non-internal).
16682
16683 * finder.el (finder-list-matches): Use package-show-package-list
16684 instead of deleted package--list-packages.
16685
e92f3bd3
SM
16686 * vc/vc-annotate.el (vc-annotate-goto-line): New command.
16687 Based on a previous implementation by Juanma Barranquero (Bug#8366).
3ba7869c
CY
16688 (vc-annotate-mode-map): Bind it to RET.
16689
7031be6d
UR
166902011-04-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
16691
16692 * progmodes/etags.el (next-file): Don't use set-buffer to change
16693 buffers (Bug#8478).
16694
4ef177aa
CY
166952011-04-24 Chong Yidong <cyd@stupidchicken.com>
16696
c8d173eb
CY
16697 * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
16698
4ef177aa
CY
16699 * apropos.el (apropos-label-face): Avoid variable-pitch face.
16700 (apropos-accumulator): Doc fix.
16701 (apropos-function, apropos-macro, apropos-command)
16702 (apropos-variable, apropos-face, apropos-group, apropos-widget)
16703 (apropos-plist): Add face property.
16704 (apropos-symbols-internal): Fix indentation.
16705 (apropos-print): Simplify help, and recognize apropos-multi-type.
16706 (apropos-print-doc): Use button-type-get to extract the button's
16707 face property. Fill docstring (Bug#8352).
16708
4ffd0d6b 167092011-04-23 Juanma Barranquero <lekktu@gmail.com>
be71f810
JB
16710
16711 * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
16712
c6c32125 16713 * play/mpuz.el (mpuz-silent): Doc fix.
4ffd0d6b 16714 (mpuz-mode-map): Use mapc.
c6c32125
JB
16715 (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
16716 (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
16717 Fix typos in docstrings.
16718
58d468b4
JB
16719 * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
16720 (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
16721
6470c3c6
JB
16722 * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
16723
4ffd0d6b 167242011-04-23 Chong Yidong <cyd@stupidchicken.com>
6f21a319
CY
16725
16726 * minibuffer.el (completion--do-completion): Avoid the "Next char
16727 not unique" prompt if icomplete-mode is enabled (Bug#5849).
16728
3ad8bad0
CY
16729 * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
16730 mouse-2 into unread-command-events, it is interpreted correctly.
16731
71d73c9c 16732 * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
6395aab9 16733 (image-toggle-display): Doc fix.
71d73c9c 16734
841a1577 167352011-04-23 Stephen Berman <stephen.berman@gmx.net>
e935c6a2 16736
4ffd0d6b
GM
16737 * textmodes/page.el (what-page): Use line-number-at-pos to
16738 calculate line number (Bug#6825).
6e1dbaa9 16739
c2fb1b60
JB
167402011-04-22 Juanma Barranquero <lekktu@gmail.com>
16741
16742 * eshell/esh-mode.el (find-tag-interactive): Declare function.
16743 (eshell-find-tag): Remove `with-no-warnings', unneeded now.
16744 Pass argument NO-DEFAULT to `find-tag-interactive'.
16745
e02f48d7
JB
167462011-04-22 Juanma Barranquero <lekktu@gmail.com>
16747
16748 Lexical-binding cleanup.
16749
16750 * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
16751 (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
16752 * progmodes/ada-prj.el (ada-prj-initialize-values)
16753 (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
16754 (ada-prj-show-value):
16755 * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
16756 * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
16757 (antlr-invalidate-context-cache, antlr-options-menu-filter)
16758 (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
16759 * progmodes/bug-reference.el (bug-reference-push-button):
16760 * progmodes/fortran.el (fortran-line-length):
16761 * progmodes/glasses.el (glasses-change):
16762 * progmodes/octave-mod.el (octave-fill-paragraph):
16763 * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
16764 (python-pdbtrack-grub-for-buffer, python-sentinel):
16765 * progmodes/sql.el (sql-save-connection):
16766 * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
16767 * progmodes/xscheme.el (xscheme-enter-debugger-mode):
16768 Mark unused parameters.
16769
16770 * progmodes/compile.el (compilation--flush-directory-cache)
16771 (compilation--flush-parse, compile-internal): Mark unused parameters.
16772 (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
16773 (compilation-next-error-function): Remove unused variable `timestamp'.
16774
16775 * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
16776 (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
16777
16778 * progmodes/dcl-mode.el (dcl-end-of-command):
16779 Remove unused variable `start'.
16780 (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
16781 (dcl-option-value-basic, dcl-option-value-offset)
16782 (dcl-option-value-margin-offset, dcl-option-value-comment-line):
16783 Mark unused parameters.
16784 (dcl-save-local-variable): Remove unused variable `val'.
16785 (mode): Declare.
16786
16787 * progmodes/delphi.el (delphi-save-state, delphi-after-change):
16788 Mark unused parameters.
16789 (delphi-ignore-changes): Move before first use.
16790 (delphi-charset-token-at): Remove unused variable `start'.
16791 (delphi-else-start): Remove unused variable `if-count'.
16792 (delphi-comment-block-start, delphi-comment-block-end):
16793 Remove unused variable `kind'.
16794 (delphi-indent-line): Remove unused variable `new-point'.
16795
16796 * progmodes/ebrowse.el (ebrowse-files-list)
16797 (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
16798 Mark unused parameters. Don't quote `lambda'.
16799 (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
16800 Don't quote `lambda'.
16801 (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
16802 (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
16803 (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
16804 (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
16805 Use `ignore-errors'.
16806 (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
16807 (ebrowse-view/find-file-and-search-pattern)
16808 (ebrowse-view/find-member-declaration/definition):
16809 Rename parameter TAGS-FILE-NAME to TAGS-FILE.
16810 (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
16811 Rename parameter PREFIX-ARG to PREFIX.
16812 (ebrowse-tags-read-name): Remove unused variables `start' and
16813 `member-info'.
16814 (ebrowse-display-member-buffer): Rename variable `tags-file-name'
16815 to `tags-file'.
16816
16817 * progmodes/etags.el (local-find-tag-hook): Declare.
16818 (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
16819 Mark unused parameters.
16820
16821 * progmodes/executable.el (compilation-error-regexp-alist): Declare.
16822 (executable-interpret): Mark unused parameter.
16823
16824 * progmodes/flymake.el (flymake-process-sentinel)
16825 (flymake-after-change-function)
16826 (flymake-create-temp-with-folder-structure)
16827 (flymake-get-include-dirs-dot): Mark unused parameters.
16828 (flymake-safe-delete-directory): Remove unused variable `err'.
16829
16830 * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
16831 (speedbar-timer-fn, speedbar-line-text)
16832 (speedbar-change-expand-button-char, speedbar-delete-subblock)
16833 (speedbar-center-buffer-smartly): Declare functions.
16834 (gdb-find-watch-expression): Remove unused variable `array'.
16835 (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
16836 (gdb-starting): Mark unused parameters.
16837 (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
16838 (gdb-table-string): Remove unused variable `res'.
16839 (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
16840 (gdb-disassembly-handler-custom): Remove unused variable `pos'.
16841 (gdb-display-buffer): Remove unused variable `cur-size'.
16842
16843 * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
16844 allow lexical-binding compilation.
16845 (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
16846 (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
16847 (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
16848 Mark unused parameters.
16849 (gud-gdb-marker-filter): Remove unused variable `match'.
16850 (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
16851 lambda expressions and funcall them, instead of using `fset'.
16852
16853 * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
16854 HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
16855
16856 * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
16857 variable `header-beg'; use `let'.
16858
16859 * progmodes/icon.el (indent-icon-exp): Remove unused variables
16860 `restart', `last-sexp' and `at-do'.
16861
16862 * progmodes/js.el (js--debug): Mark unused parameter.
16863 (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
16864 (js--splice-into-items): Remove unused variable `item'.
16865 (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
16866
16867 * progmodes/make-mode.el (makefile-make-font-lock-keywords):
16868 Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
16869 (makefile-complete): Remove unused variable `try'.
16870 (makefile-fill-paragraph, makefile-match-function-end):
16871 Mark unused parameters.
16872
16873 * progmodes/octave-inf.el (inferior-octave-complete):
16874 Remove unused variable `proc'.
16875 (inferior-octave-output-digest): Mark unused parameter.
16876
16877 * progmodes/perl-mode.el (perl-calculate-indent):
16878 Remove unused variable `err'.
16879
16880 * progmodes/prolog.el (prolog-mode-keybindings-inferior)
16881 (prolog-indent-line): Mark unused parameters.
16882 (prolog-indent-line): Remove unused variable `beg'.
16883
16884 * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
16885 (reporter-dont-compact-list): Declare.
16886
16887 * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
16888 Remove unused variable `char'.
16889 (sh-debug): Mark unused parameter.
16890 (sh-get-indent-info): Remove unused variable `start'.
16891 (sh-calculate-indent): Remove unused variable `var'.
16892
16893 * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
16894 (simula-electric-keyword): Remove unused variable `null'.
16895 (simula-search-backward, simula-search-forward): Remove unused
16896 variables `begin' and `end'.
16897
16898 * progmodes/vera-mode.el (vera-guess-basic-syntax):
16899 Remove unused variable `pos'.
16900 (vera-electric-tab, vera-comment-uncomment-region):
16901 Mark unused parameters.
16902 (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
16903
7ede3b65
CY
169042011-04-22 Chong Yidong <cyd@stupidchicken.com>
16905
16906 * emacs-lisp/package.el (package--builtins, package-alist)
16907 (package-load-descriptor, package-built-in-p, package-activate)
16908 (define-package, package-installed-p)
16909 (package-compute-transaction, package-buffer-info)
16910 (package--push): Doc fix. Distinguish more clearly between
16911 version strings and version lists.
16912
121656e9
JB
169132011-04-21 Juanma Barranquero <lekktu@gmail.com>
16914
16915 Lexical-binding cleanup.
16916
16917 * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
16918 (5x5-make-mutate-best):
16919 * play/fortune.el (fortune-in-buffer):
16920 * play/gomoku.el (gomoku-init-display):
16921 * play/solitaire.el (solitaire, solitaire-do-check):
16922 * play/tetris.el (tetris-default-update-speed-function):
16923 Mark unused parameters.
16924
16925 * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
16926 (bubbles--shift): Remove unused variable `char-org'.
16927 (bubbles--set-faces): Remove unused variable `fg-col'. Simplify.
16928 (bubbles--show-images): Remove unused variable `char'.
16929
16930 * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
16931 (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
16932 (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
16933 (decipher-analyze-buffer): Use ?\s.
16934 (decipher-make-checkpoint): Remove unused variable `mapping'.
16935
16936 * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
16937
16938 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
16939 Remove unused variable `result'; use `let'.
16940
16941 * play/gametree.el (gametree-current-layout, gametree-apply-layout):
16942 Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
16943 (gametree-children-shown-p, gametree-compute-reduced-score):
16944 Use `ignore-errors'.
16945
16946 * play/handwrite.el (ps-lpr-switches): Declare.
16947 (handwrite): Remove unused variables `pmin' and `lastp'.
16948
16949 * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
16950
16951 * play/landmark.el (landmark-init-display)
16952 (landmark-update-naught-weights): Mark unused parameters.
16953 (landmark-y): Remove unused variable `noise'. Simplify.
16954 (landmark-human-plays): Remove unused variable `score'.
16955
16956 * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
16957 (mpuz-try-proposal): Remove unused variable `game'.
16958
16959 * play/zone.el (life-patterns): Declare.
16960
80f499c7
JB
169612011-04-20 Juanma Barranquero <lekktu@gmail.com>
16962
16963 * vc/vc.el (ediff-vc-internal): Declare function.
16964
024ff170
SM
169652011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
16966
c0a193ea
SM
16967 * shell.el: Use lexical-binding and std completion UI.
16968 (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
16969 (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
16970 comint-preoutput-filter-functions rather than on
16971 comint-output-filter-functions.
16972 (shell-command-completion, shell--command-completion-data)
16973 (shell-filename-completion, shell-environment-variable-completion)
16974 (shell-c-a-p-replace-by-expanded-directory): New functions.
16975 (shell-dynamic-complete-functions, shell-dynamic-complete-command)
16976 (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
16977 (shell-dynamic-complete-environment-variable): Use them.
16978 (shell-dynamic-complete-as-environment-variable)
16979 (shell-dynamic-complete-as-command): Remove.
16980 (shell-match-partial-variable): Match past point.
16981 * comint.el: Clean up use of completion-at-point-functions.
16982 (comint-completion-at-point): New function.
16983 (comint-mode): Use it completion-at-point-functions.
16984 (comint-dynamic-complete): Make it obsolete.
16985 (comint-replace-by-expanded-history-before-point): Add dry-run arg.
16986 (comint-c-a-p-replace-by-expanded-history): New function.
16987 (comint-dynamic-complete-functions)
16988 (comint-replace-by-expanded-history): Use it.
16989 * minibuffer.el (completion-table-with-terminator): Allow dynamic
16990 termination strings. Try harder to avoid second try-completion.
16991 (completion-in-region-mode-map): Disable bindings that don't work yet.
16992
2dbaa080
SM
16993 * comint.el: Use lexical-binding. Require CL.
16994 (comint-dynamic-complete-functions): Use comint-filename-completion.
16995 (comint-completion-addsuffix): Tweak custom type.
16996 (comint-filename-completion, comint--common-suffix)
16997 (comint--common-quoted-suffix, comint--table-subvert)
16998 (comint--complete-file-name-data): New functions.
16999 (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
17000 (comint-dynamic-list-filename-completions): Use them.
17001 (comint-dynamic-simple-complete): Make obsolete.
c0a193ea 17002
2dbaa080
SM
17003 * minibuffer.el (completion-in-region-mode):
17004 Keep completion-in-region-mode--predicate global.
17005 (completion-in-region--postch):
17006 Assume completion-in-region-mode--predicate is not null.
17007
c79a6f38
SM
17008 * progmodes/flymake.el (flymake-start-syntax-check-process):
17009 Obey `dir'. Simplify.
17010
024ff170
SM
17011 * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
17012 we're in VC after all.
17013
1c6c854e
CS
170142011-04-20 Christoph Scholtes <cschol2112@googlemail.com>
17015
17016 * vc/vc.el (vc-diff-build-argument-list-internal)
024ff170 17017 (vc-version-ediff, vc-ediff): New commands.
1c6c854e
CS
17018 (vc-version-diff): Use vc-diff-build-argument-list-internal.
17019
bed7f140
SM
170202011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
17021
332e62ab
SM
17022 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
17023 add sanity check.
17024
bed7f140
SM
17025 * obsolete/erc-hecomplete.el: Make obsolete.
17026 * obsolete/: Standardize obsolescence info in the header.
17027
f195c582
GM
170282011-04-20 Glenn Morris <rgm@gnu.org>
17029
17030 * calendar/solar.el (solar-horizontal-coordinates):
17031 Use the longitude argument rather than `calendar-longitude'.
17032 (solar-date-next-longitude): Remove unused locals.
17033
cb79b8c0
VJL
170342011-04-20 Vinicius Jose Latorre <viniciusjl@ig.com.br>
17035
17036 * whitespace.el: New version 13.2.1.
17037
170382011-04-20 felix <EmacsWiki> (tiny change)
17039
d8e4b68b 17040 * whitespace.el (global-whitespace-mode): Keep highlight when
cb79b8c0
VJL
17041 switching between major modes on a file.
17042
602ea69d
SM
170432011-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
17044
17045 * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
17046 (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
17047 multi-line comments as well.
17048
06b60517
JB
170492011-04-19 Juanma Barranquero <lekktu@gmail.com>
17050
17051 Lexical-binding cleanup.
17052
17053 * arc-mode.el (archive-mode-revert):
17054 * cmuscheme.el (scheme-interactively-start-process):
17055 * custom.el (custom-initialize-delay):
17056 * dnd.el (dnd-open-local-file, dnd-open-remote-url):
17057 * dos-w32.el (direct-print-region-helper, direct-print-region-function):
17058 * emacs-lock.el (emacs-lock-clear-sentinel):
17059 * ezimage.el (defezimage):
17060 * follow.el (follow-avoid-tail-recenter):
17061 * fringe.el (set-fringe-mode-1):
17062 * generic-x.el (bat-generic-mode-compile):
17063 * help-mode.el (help-info-variable, help-do-xref)
17064 (help-mode-revert-buffer):
17065 * help.el (view-emacs-todo):
17066 * iswitchb.el (iswitchb-completion-help):
17067 * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
17068 * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
17069 (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
17070 * locate.el (locate-update):
17071 * longlines.el (longlines-encode-region)
17072 (longlines-after-change-function):
17073 * outline.el (outline-isearch-open-invisible):
17074 * ps-def.el (declare-function, charset-dimension, char-width)
17075 (encode-char):
17076 * ps-mule.el (ps-mule-plot-string):
17077 * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
17078 (recentf-edit-list-select, recentf-edit-list-validate)
17079 (recentf-open-files-action):
17080 * rect.el (delete-whitespace-rectangle-line)
17081 (rectangle-number-line-callback):
17082 * register.el (window-configuration-to-register)
17083 (frame-configuration-to-register):
17084 * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
17085 * select.el (xselect-convert-to-string, xselect-convert-to-length)
17086 (xselect-convert-to-targets, xselect-convert-to-delete)
17087 (xselect-convert-to-filename, xselect-convert-to-charpos)
17088 (xselect-convert-to-lineno, xselect-convert-to-colno)
17089 (xselect-convert-to-os, xselect-convert-to-host)
17090 (xselect-convert-to-user, xselect-convert-to-class)
17091 (xselect-convert-to-name, xselect-convert-to-integer)
17092 (xselect-convert-to-atom, xselect-convert-to-identity):
17093 * subr.el (declare, ignore, process-kill-without-query)
17094 (text-clone-maintain):
17095 * terminal.el (te-get-char, te-tic-sentinel):
17096 * tool-bar.el (tool-bar-make-keymap):
17097 * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
17098 * type-break.el (type-break-mode, type-break-noninteractive-query):
17099 * view.el (View-back-to-mark):
17100 * wid-browse.el (widget-browse-action, widget-browse-widget)
17101 (widget-browse-widgets, widget-browse-sexp):
17102 * widget.el (define-widget-keywords):
17103 * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
17104 Mark unused parameters.
17105
17106 * align.el (align-adjust-col-for-rule): Mark unused parameter.
17107 (align-areas): Remove unused variable `look'.
17108 (align-region): Remove unused variables `real-end' and `pos-list'.
17109
17110 * apropos.el (apropos-score-doc): Remove unused variable `i'.
17111
17112 * bindings.el (mode-line-modified, mode-line-remote):
17113 Mark unused parameters.
17114 (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
17115
17116 * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
17117 (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
17118
17119 * comint.el (comint-history-isearch-pop-state)
17120 (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
17121 (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
17122 (comint-substitute-in-file-name): Doc fix.
17123
17124 * completion.el (cmpl-statistics-block): Mark unused parameter.
17125 (add-completions-from-tags-table, add-completions-from-lisp-buffer)
17126 (save-completions-to-file, load-completions-from-file):
17127 Remove unused local variable `e'.
17128
17129 * composite.el (compose-chars): Remove unused variable `len'.
17130 (lgstring-insert-glyph): Remove unused variable `g'.
17131 (compose-glyph-string): Remove unused variables `ascent',
17132 `descent', `lbearing' and `rbearing'.
17133 (compose-glyph-string-relative): Remove unused variables
17134 `lbearing', `rbearing' and `wadjust'.
17135 (compose-gstring-for-graphic): Remove unused variables `header',
17136 `wadjust', `xoff' and `yoff'. Use `let', not `let*'.
17137 (compose-gstring-for-terminal): Remove unused variables `header'
17138 and `nchars'. Use `let', not `let*'.
17139
17140 * cus-edit.el (Custom-set, Custom-save, custom-reset)
17141 (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
17142 (Custom-buffer-done, custom-buffer-create-internal)
17143 (custom-browse-visibility-action, custom-browse-group-tag-action)
17144 (custom-browse-variable-tag-action, custom-browse-face-tag-action)
17145 (widget-magic-mouse-down-action, custom-toggle-parent)
17146 (custom-add-parent-links, custom-toggle-hide-variable)
17147 (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
17148 (custom-toggle-hide-face, face, hook, custom-group-link-action)
17149 (custom-face-menu-create, custom-variable-menu-create, get)
17150 (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
17151 (custom-reset-standard-save-and-update): Remove unused variable `value'.
17152 (customize-apropos): Remove unused variable `tests'.
17153 (custom-group-value-create): Remove unused variable `hidden-p'.
17154 (sort-fold-case): Declare.
17155
17156 * cus-theme.el (custom-reset-standard-faces-list)
17157 (custom-reset-standard-variables-list): Declare.
17158 (customize-create-theme, custom-theme-revert, custom-theme-write)
17159 (custom-theme-choose-mode, customize-themes, custom-theme-save):
17160 Mark unused parameters.
17161
17162 * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
17163
17164 * delim-col.el (delimit-columns-max): Move defvar before first use.
17165
17166 * descr-text.el (describe-char-categories): Don't quote `lambda'.
bd0d2ee2 17167 (describe-char): Don't quote `lambda'. Mark unused parameter.
06b60517
JB
17168
17169 * desktop.el (desktop-save-buffer-p): Mark unused parameter.
17170 (auto-insert): Declare.
17171 (desktop-restore-file-buffer): Rename desktop-* parameters;
17172 mark unused ones.
17173 (desktop-create-buffer): Rename desktop-* parameters and bind them.
17174 (desktop-buffer): Rename desktop-* parameters.
17175
17176 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
17177 (dframe-reposition-frame-xemacs, dframe-help-echo)
17178 (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
17179 Mark unused parameters.
17180
17181 * dired-aux.el (backup-extract-version-start, overwrite-query)
17182 (overwrite-backup-query, rename-regexp-query)
17183 (rename-non-directory-query): Declare.
17184 (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
17185 (dired-add-entry): Remove unused variable `orig-file-name'.
17186 (dired-copy-file-recursive): Remove unused variable `dirfailed'.
17187 Use parameter PRESERVE-TIME instead of accessing dynamic variable
17188 `dired-copy-preserve-time' directly.
17189 (dired-do-create-files-regexp): Remove unused variable `fn-count'.
17190 (dired-insert-subdir-newpos): Rename unused variable `pos'.
17191
17192 * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
17193 (dired-virtual-revert, dired-make-relative-symlink):
17194 Mark unused parameters.
17195 (manual-program): Declare.
17196 (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
17197 (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
17198 wrapped in `with-no-warnings' to avoid replacing one warning by another.
17199
17200 * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
17201
17202 * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
17203
17204 * echistory.el (electric-history-in-progress, Helper-return-blurb):
17205 Declare.
17206
17207 * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
17208
17209 * electric.el (Electric-command-loop): Rename parameter
17210 INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
17211
17212 * expand.el (expand-in-literal): Remove unused variable `here'.
17213
17214 * facemenu.el (facemenu-add-new-color):
17215 Remove unused variable `docstring'.
17216
17217 * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
17218 (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
17219 (face-attr-construct): Mark unused parameter. Doc fix.
17220 (read-color): Remove unused variable `hex-string'.
17221
17222 * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
17223 (locate-dominating-file): Remove unused vars `prev-file' and `user'.
17224 (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
17225 (display-buffer-other-frame): Remove unused variable `old-window'.
17226 (kill-buffer-hook): Declare.
17227 (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
17228 Mark unused parameters.
17229 (after-find-file): Pass 1 to `auto-save-mode', not t.
17230
17231 * files-x.el (auto-insert): Declare.
17232 (modify-file-local-variable-prop-line): Remove unused variable `val'.
17233
17234 * find-lisp.el (find-lisp-find-dired-internal): Remove unused
bd0d2ee2 17235 variable `buf'. Mark unused parameter.
06b60517
JB
17236 (find-lisp-insert-directory): Mark unused parameter.
17237
17238 * format.el (format-decode-run-method): Mark unused parameter; doc fix.
17239 (format-encode-region): Remove unused variables `cur-buf' and `result'.
17240 (format-common-tail): Remove, unused.
17241 (format-deannotate-region): Remove unused variable `loc'.
17242 (format-annotate-region): Remove unused variable `p'.
17243 (format-annotate-single-property-change): Remove unused variables
17244 `default' and `tail'.
17245
17246 * forms.el (read-file-filter): Declare.
17247 (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
17248
17249 * frame.el (frame-creation-function-alist): Mark unused parameter.
17250 (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
17251
17252 * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
17253 Remove unused parameters.
17254 (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
17255 (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
17256
17257 * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
17258 (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
17259 (hfy-prepare-tag-map): Mark unused parameters.
17260 (htmlfontify-buffer): Use `called-interactively-p'.
17261
17262 * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
17263 (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
17264 (ibuffer-do-occur): Mark unused parameters.
17265 (ibuffer-forward-next-marked): Remove unused variable `curmark'.
17266 (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
17267
17268 * ibuffer.el: Don't quote `lambda'.
17269 (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
17270 (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
17271 Mark unused parameters.
17272
17273 * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
17274 (ido-completing-read): Mark unused parameters.
17275 (ido-copy-current-word): Mark unused parameters;
17276 remove unused variable `name'.
17277 (ido-sort-merged-list): Remove unused parameter `dirs'.
17278
17279 * ielm.el (ielm-input-sender): Mark unused parameter.
17280 (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
17281 (ielm-output, ielm-wbuf, ielm-pmark): Declare.
17282 (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
17283 `ielm-string' as a dynamic variable accessible from the IELM prompt.
17284 Bind `ielm-string' to INPUT-STRING. Remove unused variable `err'.
17285
17286 * image-dired.el (image-dired-display-thumbs): Remove unused
17287 variables `curr-file' and `count'.
17288 (image-dired-remove-tag): Remove unused variable `start'.
17289 (image-dired-tag-files, image-dired-create-thumbs): Remove unused
17290 variable `curr-file'
17291 (image-dired-rotate-original): Remove unused variable `temp-file'.
17292 (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
17293 Remove unused variable `file'.
17294 (image-dired-gallery-generate): Remove unused variable `curr'.
17295 (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
17296
17297 * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
17298
17299 * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
17300
17301 * informat.el (texinfo-command-start, texinfo-command-end): Declare.
17302
17303 * isearch.el (minibuffer-history-symbol): Declare.
17304 (isearch-edit-string): Remove unused variable `err'.
17305 (isearch-message-prefix, isearch-message-suffix):
17306 Mark unused parameters.
17307
17308 * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
17309
17310 * macros.el (insert-kbd-macro): Remove unused variable `mods'.
17311
17312 * makesum.el (double-column): Remove unused variable `cnt'.
17313
17314 * misearch.el (multi-isearch-pop-state): Mark unused parameter.
17315 (ido-ignore-item-temp-list): Declare.
17316
17317 * mouse-drag.el (mouse-drag-throw): Remove unused variables
17318 `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
17319 `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
17320 (mouse-drag-drag): Remove unused variables `mouse-delta' and
17321 `mouse-col-delta'.
17322
17323 * mouse-sel.el (mouse-extend-internal):
17324 Remove unused variable `orig-window-frame'.
17325
17326 * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
17327 (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
17328 Move declarations before first use.
17329 (pcomplete-opt): Mark unused parameters; doc fix.
17330
17331 * proced.el (proced-revert): Mark unused parameter.
17332 (proced-send-signal): Remove unused variable `err'.
17333
17334 * ps-print.el (ps-print-preprint-region, ps-print-preprint):
17335 Rename parameter PREFIX-ARG to ARG.
17336 (ps-basic-plot-string, ps-basic-plot-whitespace):
17337 Mark unused parameters.
17338
17339 * replace.el (replace-count): Define.
17340 (occur-revert-function): Mark unused parameters.
17341 (ido-ignore-item-temp-list, isearch-error, isearch-forward)
17342 (isearch-case-fold-search, isearch-string): Declare.
17343 (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
17344 bind `case-fold-search'. Remove unused variables `beg' and `end',
17345 and simplify.
17346 (replace-eval-replacement): Rename parameter REPLACE-COUNT to
17347 COUNT and bind `replace-count'.
17348 (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
17349 to COUNT.
17350
17351 * savehist.el (print-readably, print-string-length): Declare.
17352
17353 * shadowfile.el (shadow-expand-cluster-in-file-name):
17354 Remove unused variable `cluster'.
17355 (shadow-copy-file): Remove unused variable `i'.
17356 (shadow-noquery, shadow-clusters, shadow-site-cluster)
17357 (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
17358 (shadow-define-literal-group, shadow-define-regexp-group)
17359 (shadow-make-group, shadow-shadows-of): Clean up docstrings.
17360
17361 * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
17362 (shell): Use `called-interactively-p'.
17363 (shell-directory-tracker): Remove unused variable `chdir-failure'.
17364
17365 * simple.el (compilation-context-lines, comint-file-name-quote-list)
17366 (comint-file-name-chars, comint-delimiter-argument-list): Declare.
17367 (delete-backward-char): Remove unused variable `ocol'.
17368 (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
17369 (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
17370 (event-apply-hyper-modifier, event-apply-shift-modifier)
17371 (event-apply-control-modifier, event-apply-meta-modifier):
17372 Mark unused parameters.
17373 (undo-make-selective-list): Remove duplicate variable `undo-elt'.
17374 (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
17375
17376 * speedbar.el (speedbar-ignored-directory-expressions)
17377 (speedbar-supported-extension-expressions, speedbar-directory-buttons)
17378 (speedbar-find-file, speedbar-dir-follow)
17379 (speedbar-directory-buttons-follow, speedbar-tag-find)
17380 (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
17381 (speedbar-buffers-line-directory, speedbar-buffer-click):
17382 Mark unused parameters.
17383 (speedbar-tag-file): Remove unused variable `mode'.
17384 (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
17385
17386 * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
17387
17388 * talk.el (talk): Remove unused variable `display'.
17389
17390 * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
17391 (tar-write-region-annotate): Mark unused parameter.
17392
17393 * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
17394 (minutes, seconds, time-zone, day, year, monthname, month, dayname):
17395 Declare them, wrapped in `with-no-warnings' to avoid replacing one
17396 warning by another.
17397
17398 * time-stamp.el (time-stamp-string-preprocess):
17399 Remove unused variable `require-padding'.
17400
17401 * tree-widget.el (widget-glyph-enable): Declare.
17402 (tree-widget-action): Mark unused parameter.
17403
17404 * w32-fns.el (x-get-selection): Mark unused parameter.
17405 (autoload-make-program, generated-autoload-file): Declare.
17406
17407 * wdired.el (wdired-revert): Mark unused parameters.
17408 (wdired-xcase-word): Remove unused variable `err'.
17409
17410 * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
17411 (whitespace-help-scroll): Remove unused variable `data-help'.
17412
17413 * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
17414 (widget-image-insert, widget-after-change, default)
17415 (widget-default-format-handler, widget-default-notify)
17416 (widget-default-prompt-value, widget-info-link-action)
17417 (widget-url-link-action, widget-function-link-action)
17418 (widget-variable-link-action, widget-file-link-action)
17419 (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
17420 (widget-field-prompt-internal, widget-field-action, widget-field-match)
17421 (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
17422 (widget-insert-button-action, widget-delete-button-action, visibility)
17423 (widget-documentation-link-action, widget-documentation-string-action)
17424 (widget-const-prompt-value, widget-regexp-match, symbol)
17425 (widget-coding-system-prompt-value)
17426 (widget-key-sequence-value-to-external, sexp)
17427 (widget-sexp-value-to-internal, character, vector, cons)
17428 (widget-choice-prompt-value, widget-boolean-prompt-value)
17429 (widget-color--choose-action): Mark unused parameters.
17430 (widget-item-match-inline, widget-choice-match-inline)
17431 (widget-checklist-match, widget-checklist-match-inline)
17432 (widget-group-match): Rename parameter VALUES to VALS.
17433 (widget-field-value-set): Remove unused variable `size'.
17434 (widget-color-action): Remove unused variables `value' and `start'.
17435
17436 * windmove.el (windmove-wrap-loc-for-movement): Remove unused
bd0d2ee2 17437 variable `dir'. Doc fix.
06b60517
JB
17438 (windmove-find-other-window): Don't pass it.
17439
17440 * window.el (count-windows): Mark unused parameter.
17441 (bw-adjust-window): Remove unused variable `err'.
17442
17443 * woman.el (woman-file-name): Remove unused variable `default'.
17444 (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
17445 WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
17446 (global-font-lock-mode): Declare.
17447 (woman-decode-region): Mark unused parameter.
17448 (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
17449
17450 * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
17451 (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
17452 (x-dnd-handle-moz-url): Remove unused variable `title'.
17453 (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
17454
17455 * xml.el (xml-parse-tag, xml-parse-attlist):
17456 Remove unused variable `pos'.
17457
bc4f7f3d
GM
174582011-04-19 Glenn Morris <rgm@gnu.org>
17459
17460 * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
17461 (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
17462 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
17463 (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
17464 * calendar/cal-html.el (cal-html-insert-minical):
17465 * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
17466 (calendar-mark-date-pattern):
17467 Prefix "unused" locals.
17468
17469 * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
17470 optional argument `style'.
17471
17472 * calendar/appt.el (appt-make-list):
17473 * calendar/cal-china.el (calendar-chinese-date-string):
17474 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
17475 (diary-hebrew-yahrzeit):
17476 * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
17477 * calendar/calendar.el (calendar-generate-window):
17478 * calendar/time-date.el (time-to-days):
17479 Remove unused local variables.
17480
16a43933
CY
174812011-04-18 Chong Yidong <cyd@stupidchicken.com>
17482
17483 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
17484 glyphless-char-display table.
17485 (tabulated-list-glyphless-char-display): New var.
17486
7eed1860
SS
174872011-04-18 Sam Steingold <sds@gnu.org>
17488
17489 * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
17490 to acknowledgments.
17491
4d2d1ccd
GM
174922011-04-17 Glenn Morris <rgm@gnu.org>
17493
17494 * calendar/diary-lib.el (diary-sexp-entry):
17495 * calendar/holidays.el (holiday-sexp):
17496 Set debug-on-error rather than the removed stack-trace-on-error.
17497
239da61d
GM
174982011-04-16 Glenn Morris <rgm@gnu.org>
17499
17500 * progmodes/f90.el: Use lexical-binding.
17501 (f90-get-correct-indent): Remove unnecessary local variable `cont'.
17502
8b05752a
SM
175032011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
17504
daca8ba5
SM
17505 * mail/sendmail.el (mail-mode-map): Use completion-at-point.
17506 (mail-mode): Setup mailalias completion here instead.
17507 * mail/mailalias.el: Use lexical-binding.
17508 (pattern, mailalias-done): Declare dynamic.
17509 (mail-completion-at-point-function): New function, from mail-complete.
17510 (mail-complete): Use it.
17511 (mail-completion-expand): New function.
17512 (mail-get-names): Use it.
17513 (mail-directory, mail-directory-process, mail-directory-stream):
17514 Don't use `pattern' for lexically bound arg.
17515
6f542485
SM
17516 * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
17517
037e7c3f
SM
17518 * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
17519 (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
17520 (hfy-etags-cmd-alist): Don't eval-and-compile any more.
17521
8b05752a
SM
17522 * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
17523 (byte-save-window-excursion, byte-temp-output-buffer-setup)
17524 (byte-interactive-p): Define them again, for use when inlining
17525 old code.
17526
49093f60
JB
175272011-04-15 Juanma Barranquero <lekktu@gmail.com>
17528
17529 * loadup.el: Use `string-to-number', not `string-to-int'.
17530
b5b8e7de
SM
175312011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
17532
17533 * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
17534 gud-gdb-complete-command.
17535 (gud-gdb-completions): New function, from gud-gdb-complete-command.
17536 (gud-gdb-completion-at-point): New function.
17537 (gud-gdb-completions): Remove.
17538
f42efeb5
MA
175392011-04-14 Michael Albinus <michael.albinus@gmx.de>
17540
49093f60
JB
17541 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
17542 when the scripts fail. Use `tramp-do-file-attributes-with-ls' then.
17543 (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
17544 whether `executable-find' is bound.
f42efeb5
MA
17545
17546 * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
17547
e240cc21
SM
175482011-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
17549
17550 * minibuffer.el (completion-in-region-mode-predicate)
17551 (completion-in-region-mode--predicate): New vars.
17552 (completion-in-region, completion-in-region--postch)
17553 (completion-in-region-mode): Use them.
17554 (completion--capf-wrapper): Also return the hook function.
17555 (completion-at-point, completion-help-at-point):
17556 Adjust and provide a predicate.
c2bd2ab0
SM
17557
17558 Preserve arg names for advice of subr and lexical functions (bug#8457).
17559 * help-fns.el (help-function-arglist): Consolidate the subr and
17560 new-byte-code cases. Add argument `preserve-names' to extract names
17561 from the docstring when needed.
17562 * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
17563 (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
17564 (ad-arglist): Use help-function-arglist's new arg.
17565 (ad-definition-type): Use cond.
17566
c183f693
JB
175672011-04-13 Juanma Barranquero <lekktu@gmail.com>
17568
06641a47
JB
17569 * autorevert.el (auto-revert-handler):
17570 Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
17571 which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
17572 Don't quote lambda.
17573
c183f693
JB
17574 * image-mode.el (image-transform-set-scale):
17575 Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
17576
1e3b6001
G
175772011-04-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
17578
17579 * net/network-stream.el (network-stream-open-starttls): Only do
e9fce1ac 17580 opportunistic STARTTLS upgrades if we have built-in GnuTLS support.
1e3b6001
G
17581 Upgrades via gnutls-cli are too slow to be done opportunistically.
17582
2d6af8dd
JB
175832011-04-12 Juanma Barranquero <lekktu@gmail.com>
17584
17585 * dframe.el (dframe-current-frame): Remove spurious quote.
17586
c0749a51
GM
175872011-04-12 Glenn Morris <rgm@gnu.org>
17588
088d0d61
GM
17589 * calendar/cal-tex.el (cal-tex-end-document):
17590 Try to automatically use latin1 input if needed.
17591
c0749a51
GM
17592 * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
17593 Don't try to cons a mark onto an empty element.
17594
5c90fde0
LL
175952011-04-11 Leo Liu <sdl.web@gmail.com>
17596
17597 * ido.el (ido-buffer-internal): Allow method 'kill for virtual
17598 buffers.
17599 (ido-kill-buffer-at-head): Support killing virtual buffers.
17600
369e974d
CY
176012011-04-10 Chong Yidong <cyd@stupidchicken.com>
17602
17603 * minibuffer.el (completion-show-inline-help): New var.
17604 (completion--do-completion, minibuffer-complete)
daca8ba5
SM
17605 (minibuffer-force-complete, minibuffer-complete-word):
17606 Inhibit minibuffer messages if completion-show-inline-help is nil.
369e974d
CY
17607
17608 * icomplete.el (icomplete-mode): Bind completion-show-inline-help
17609 to avoid interference from inline help (Bug#5849).
17610
37f1c930
LL
176112011-04-10 Leo Liu <sdl.web@gmail.com>
17612
099c39a4
JB
17613 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
17614 Fix typo.
37f1c930 17615
a32d4040
CY
176162011-04-09 Chong Yidong <cyd@stupidchicken.com>
17617
17618 * image-mode.el (image-toggle-display-image): Signal an error if
17619 not in Image mode.
17620 (image-transform-mode, image-transform-resize)
17621 (image-transform-set-rotation): Doc fix.
daca8ba5 17622 (image-transform-set-resize): Delete.
a32d4040
CY
17623 (image-transform-set-scale, image-transform-fit-to-height)
17624 (image-transform-fit-to-width): Handle image-toggle-display-image
17625 and image-transform-resize directly.
17626
099c39a4 176272011-04-08 Sho Nakatani <lay.sakura@gmail.com>
d7b89879
TH
17628
17629 * doc-view.el (doc-view-fit-width-to-window)
099c39a4
JB
17630 (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
17631 New functions for fitting the shown image to the Emacs window size.
d7b89879
TH
17632 (doc-view-mode-map): Add bindings for the new functions.
17633
099c39a4 176342011-04-08 Juanma Barranquero <lekktu@gmail.com>
ddc20cdb 17635
4d61f28d 17636 * vc/vc-annotate.el (vc-annotate-show-log-revision-at-line):
ddc20cdb
JB
17637 Fix typo in docstring.
17638
3726838a
EZ
176392011-04-08 Eli Zaretskii <eliz@gnu.org>
17640
04f33f1e
EZ
17641 * files.el (file-size-human-readable): Produce one digit after
17642 decimal, like "ls -lh" does.
17643
17644 * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
17645 the file size representation.
17646
3726838a
EZ
17647 * simple.el (list-processes): If async subprocesses are not
17648 available, error out with a clear error message.
17649
cbb59342
CY
176502011-04-08 Chong Yidong <cyd@stupidchicken.com>
17651
17652 * help.el (help-form-show): New function, to be called from C.
17653 Put help-form output in a buffer named differently than *Help*.
17654
e3971c44
EZ
176552011-04-08 Eli Zaretskii <eliz@gnu.org>
17656
17657 * files.el (file-size-human-readable): New function.
17658
17659 * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
17660 computing the representation inline. Don't require `cl'.
17661
12544bbe
GM
176622011-04-08 Glenn Morris <rgm@gnu.org>
17663
a1de6c6a
GM
17664 * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
17665
3c4671f4
GM
17666 * net/browse-url.el (browse-url-firefox):
17667 Test system-type, not system-configuration.
17668
b605679c
GM
17669 * vc/log-edit.el (log-edit-empty-buffer-p): New function.
17670 (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
17671 Use log-edit-empty-buffer-p. (Bug#7598)
17672
56442f0c
GM
17673 * net/rlogin.el (rlogin-process-connection-type): Simplify.
17674 (rlogin-mode-map): Initialize in the defvar.
17675 (rlogin): Use ignore-errors.
17676
12544bbe
GM
17677 * replace.el (occur-mode-map): Some fixes for menu items.
17678
eb237b0f
AH
176792011-04-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
17680
17681 * play/morse.el (denato-region): Handle varying case. (Bug#8386)
17682
7d668f2c
CY
176832011-04-06 Chong Yidong <cyd@stupidchicken.com>
17684
e67a13ab
CY
17685 * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
17686 issuing unused warnings.
17687
17688 * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
17689 macro directly.
17690
7d668f2c
CY
17691 * simple.el: Lisp reimplement of list-processes. Based on an
17692 earlier reimplementation by Leo Liu, but using tabulated-list.el.
17693 (process-menu-mode): New major mode.
17694 (list-processes--refresh, list-processes):
17695 (process-menu-visit-buffer): New functions.
17696
17697 * files.el (save-buffers-kill-emacs): Don't assume any return
17698 value of list-processes, which is undocumented anyway.
17699
a83ec3c9
CY
177002011-04-06 Chong Yidong <cyd@stupidchicken.com>
17701
17702 * emacs-lisp/tabulated-list.el: New file.
17703
e91a96fe
CY
17704 * emacs-lisp/package.el: Use Tabulated List mode.
17705 (package-menu-mode-map): Inherit from tabulated-list-mode-map.
17706 (package-menu-mode): Derive from tabulated-list-mode. Set up the
17707 table format using Tabulated List mode variables.
17708 (package--push): New macro, replacing package-list-maybe-add.
17709 (package-menu--generate): Use package--push. Renamed from
17710 package--generate-package-list.
17711 (package-menu-refresh, list-packages): Use it.
daca8ba5 17712 (package-menu--print-info): Rename from package-print-package.
e91a96fe 17713 Return insertion data instead of inserting it directly.
099c39a4
JB
17714 (package-menu-describe-package, package-menu-execute):
17715 Use tabulated-list-get-id.
e91a96fe
CY
17716 (package-menu-mark-delete, package-menu-mark-install)
17717 (package-menu-mark-unmark, package-menu-backup-unmark)
099c39a4
JB
17718 (package-menu-mark-obsolete-for-deletion):
17719 Use tabulated-list-put-tag.
e91a96fe
CY
17720 (package--list-packages, package-menu-revert)
17721 (package-menu-get-package, package-menu-get-version)
17722 (package-menu-sort-by-column): Functions deleted.
17723 (package-menu-package-list, package-menu-sort-key): Vars deleted.
17724 (package-menu--status-predicate, package-menu--version-predicate)
17725 (package-menu--name-predicate)
17726 (package-menu--description-predicate): Handle arguments in the
17727 Tabulated List format.
17728 (package-list-packages-no-fetch): Call list-packages.
17729
3e214b50
JB
177302011-04-06 Juanma Barranquero <lekktu@gmail.com>
17731
17732 * files.el (after-find-file-from-revert-buffer): Remove variable.
c9d0ec6d 17733 (after-find-file): Don't bind it.
3e214b50
JB
17734 (revert-buffer-in-progress-p): New variable.
17735 (revert-buffer): Bind it.
17736 Pass nil for `after-find-file-from-revert-buffer'.
17737
17738 * saveplace.el (save-place-find-file-hook): Use new variable
17739 `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
17740
3f0f1700
GM
177412011-04-06 Glenn Morris <rgm@gnu.org>
17742
c0274801
GM
17743 * Makefile.in (AUTOGEN_VCS): New variable.
17744 (autoloads): Use $AUTOGEN_VCS.
17745
3f0f1700
GM
17746 * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
17747 * calendar/calendar.el (calendar-mode-map):
17748 Check for toolkit scroll bars. (Bug#8305)
17749
41ea9e48
CY
177502011-04-05 Chong Yidong <cyd@stupidchicken.com>
17751
17752 * minibuffer.el (completion-in-region--postch)
17753 (completion-in-region-mode): Remove unnecessary messages.
17754
6194c800
JB
177552011-04-05 Juanma Barranquero <lekktu@gmail.com>
17756
33256f14
JB
17757 * font-lock.el (font-lock-refresh-defaults):
17758 Don't bind `hi-lock--inhibit-font-lock-hook', removed in
17759 2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
17760
6194c800
JB
17761 * info.el (Info-directory-list, Info-read-node-name-2)
17762 (Info-split-parameter-string): Doc fixes.
17763 (Info-virtual-nodes): Reflow docstring.
17764 (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
17765 (Info-apropos-toc-nodes, info-finder, Info-get-token)
17766 (Info-find-emacs-command-nodes, Info-speedbar-key-map):
17767 Fix typos in docstrings.
17768 (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
17769 (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
17770 (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
17771 (Info-restore-desktop-buffer): Mark unused parameters.
17772 (Info-directory-find-file, Info-directory-find-node)
17773 (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
17774 (Info-virtual-index-find-node, Info-apropos-find-file)
17775 (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
33256f14 17776 Mark unused parameters; fix typos in docstrings.
6194c800
JB
17777 (Info-virtual-index): Remove unused local variable `nodename'.
17778
b87a8200 177792011-04-05 Deniz Dogan <deniz@dogan.se>
0f6ee7d2 17780
b87a8200
DD
17781 * net/rcirc.el: Update my e-mail address.
17782 (rcirc-mode-map): Remove M-o binding.
0f6ee7d2 17783
3b2ff876
CY
177842011-04-05 Chong Yidong <cyd@stupidchicken.com>
17785
17786 * startup.el (command-line): Save the cursor's theme-face
17787 directly, instead of using face-override-spec.
17788
17789 * custom.el (load-theme): Minor optimization in assigning faces.
17790
8d17e7ca
JB
177912011-04-04 Juanma Barranquero <lekktu@gmail.com>
17792
17793 * help-fns.el (describe-variable): Complete all variables having
17794 documentation, including keywords.
17795 http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
17796
2fbc1934
JB
177972011-04-04 Juanma Barranquero <lekktu@gmail.com>
17798
17799 Convert to lexical-binding.
17800
17801 * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
17802 (bs--get-marked-string, bs--get-modified-string)
17803 (bs--get-readonly-string, bs--get-size-string, bs--get-name)
17804 (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
17805 (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
17806
17807 * ehelp.el (electric-help-execute-extended)
17808 (electric-help-ctrl-x-prefix):
17809 * hexl.el (hexl-revert-buffer-function):
17810 * linum.el (linum-after-change, linum-after-scroll):
17811 * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
17812
17813 * help-fns.el (help-describe-category-set): Remove unused ERR variable.
17814
74f50695
DU
178152011-04-04 Daiki Ueno <ueno@unixuser.org>
17816
17817 * epa-dired.el:
17818 * epa-mail.el:
17819 * epa-hook.el:
17820 * epa-file.el:
17821 * epa.el:
17822 * epg.el: Use lexical binding.
17823
c11325f7
CY
178242011-04-03 Chong Yidong <cyd@stupidchicken.com>
17825
0d9e9a12
CY
17826 * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
17827
c11325f7 17828 * textmodes/flyspell.el (flyspell-word): Recognize default
daca8ba5
SM
17829 dictionary case for flyspell-mark-duplications-exceptions.
17830 Use regexp matching for languages.
c11325f7
CY
17831 (flyspell-mark-duplications-exceptions): Add "that" and "had" for
17832 default dictionary (Bug#7926).
17833
da91b5f2
CY
178342011-04-02 Chong Yidong <cyd@stupidchicken.com>
17835
099c39a4
JB
17836 * emacs-lisp/package.el (package--with-work-buffer):
17837 Recognize https URLs.
da91b5f2 17838
099c39a4
JB
17839 * net/network-stream.el: Move from gnus/proto-stream.el.
17840 Change prefix to network-stream throughout.
da91b5f2
CY
17841 (open-protocol-stream): Merge into open-network-stream, leaving
17842 open-protocol-stream as an alias. Handle nil BUFFER args.
17843
17844 * subr.el (open-network-stream): Move to net/network-stream.el.
17845
afa8e9f6
GM
178462011-04-02 Glenn Morris <rgm@gnu.org>
17847
1d2e369d
GM
17848 * find-dired.el (find-exec-terminator): New option.
17849 (find-ls-option): Test for -ls support.
17850 (find-ls-subdir-switches): Test for -b in find-ls-option.
17851 (find-dired, find-grep-dired): Doc fixes.
17852 (find-dired): Use find-exec-terminator.
17853
8abb7da8 17854 * find-dired.el (find-ls-option, find-ls-subdir-switches)
e7a395b5
GM
17855 (find-grep-options): Do not autoload these defcustoms, remove purecopy.
17856 (find-name-arg): Remove purecopy.
8abb7da8 17857
f3ca7378
GM
17858 * progmodes/grep.el (grep-find-use-xargs): Doc fix.
17859 (grep-compute-defaults): Check for `-exec COMMAND +' support.
17860 Set grep-find-use-xargs, grep-find-command, and grep-find-template
17861 accordingly. Don't add the null-device if not needed.
17862
afa8e9f6
GM
17863 * files.el (save-some-buffers): Doc fix.
17864
35eae264
EZ
178652011-04-02 Eli Zaretskii <eliz@gnu.org>
17866
17867 * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
17868
26b51db5
JB
178692011-04-01 Juanma Barranquero <lekktu@gmail.com>
17870
17871 * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
17872 Use `dolist' rather than `mapcar'.
17873
7200d79c
SM
178742011-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
17875
03408648 17876 Add lexical binding.
7200d79c 17877
03408648
SM
17878 * subr.el (apply-partially): Use new closures rather than CL.
17879 (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
17880 (dolist, dotimes): Use slightly different expansion for lexical code.
17881 (functionp): Move to C.
17882 (letrec): New macro.
17883 (with-wrapper-hook): Use it and apply-partially instead of CL.
17884 (eval-after-load): Preserve lexical-binding.
17885 (save-window-excursion, with-output-to-temp-buffer): Turn them
17886 into macros.
7200d79c 17887
03408648
SM
17888 * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
17889
17890 * help-fns.el (help-split-fundoc): Return nil if there's nothing else
17891 than the arglist.
17892 (help-add-fundoc-usage): Don't add `Not documented'.
17893 (help-function-arglist): Handle closures, subroutines, and new
17894 byte-code-functions.
17895 (help-make-usage): Remove leading underscores.
17896 (describe-function-1): Handle closures.
17897 (describe-variable): Use special-variable-p for completion.
17898
17899 * files.el (lexical-binding): Declare safe.
f488fb65 17900
03408648
SM
17901 * emacs-lisp/pcase.el: Don't use destructuring-bind.
17902 (pcase--memoize): Rename from pcase-memoize. Change weakness.
17903 (pcase): Add `let' pattern.
17904 Change memoization so it actually works.
17905 (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
17906 (pcase--u1) <guard, pred>: Fix possible shadowing problem.
17907 <let>: New case.
f488fb65 17908
03408648
SM
17909 * emacs-lisp/macroexp.el: Use lexical binding.
17910 (macroexpand-all-1): Check obsolete macros. Expand compiler-macros.
17911 Don't convert ' to #' without checking that it's indeed quoting
17912 a lambda.
17913
17914 * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
f488fb65 17915 Use eval-sexp-add-defvars.
03408648
SM
17916 (eval-sexp-add-defvars): New fun.
17917
17918 * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
17919
17920 * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
17921 Don't autoload.
17922 (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
17923 than the internal `byte-compile-lambda'.
17924 (defmethod): Don't hide code under quotes.
17925 (eieio-defmethod): New `code' argument.
17926
17927 * emacs-lisp/eieio-comp.el: Remove.
17928
17929 * emacs-lisp/edebug.el (edebug-eval-defun)
17930 (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
17931 (edebug-toggle): Avoid `eval'.
17932
17933 * emacs-lisp/disass.el (disassemble-internal): Handle new
17934 `closure' objects.
17935 (disassemble-1): Handle new byte codes.
17936
17937 * emacs-lisp/cl.el (pushnew): Silence warning.
17938
17939 * emacs-lisp/cl-macs.el (cl-byte-compile-block)
17940 (cl-byte-compile-throw): Remove.
17941 (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
17942
17943 * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
17944 closures.
17945
17946 * emacs-lisp/cconv.el: New file.
17947
17948 * emacs-lisp/bytecomp.el: Use lexical binding instead of
17949 a "bytecomp-" prefix. Macroexpand everything as a separate phase.
17950 (byte-compile-initial-macro-environment):
17951 Handle declare-function here.
17952 (byte-compile--lexical-environment): New var.
17953 (byte-stack-ref, byte-stack-set, byte-discardN)
17954 (byte-discardN-preserve-tos): New lap codes.
17955 (byte-interactive-p): Don't use any more.
17956 (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
17957 New macros.
17958 (byte-compile-lapcode): Use them and handle new lap codes.
17959 (byte-compile-obsolete): Remove.
17960 (byte-compile-arglist-signature): Handle new byte-code arg"lists".
17961 (byte-compile-arglist-warn): Check late def of inlinable funs.
17962 (byte-compile-cl-warn): Don't silence warnings for compiler-macros
17963 since they should have been expanded by now.
17964 (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
17965 (byte-compile-from-buffer): Remove unused second arg.
17966 (byte-compile-preprocess): New function.
17967 (byte-compile-toplevel-file-form): New function to distinguish
17968 file-form calls from outside from file-form calls from hunk-handlers.
17969 (byte-compile-file-form): Simplify.
17970 (byte-compile-file-form-defsubst): Remove.
17971 (byte-compile-file-form-defmumble): Simplify now that
17972 byte-compile-lambda always returns a byte-code-function.
17973 (byte-compile): Preprocess.
17974 (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
17975 Remove, not used any more.
17976 (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
17977 (byte-compile-make-args-desc): New funs.
17978 (byte-compile-lambda): Handle lexical functions. Always return
17979 a byte-code-function.
17980 (byte-compile-reserved-constants): New var, to make up room for
17981 closed-over variables.
17982 (byte-compile-constants-vector): Obey it.
17983 (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
17984 (byte-compile-macroexpand-declare-function): New function.
17985 (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
17986 byte-code-functions.
17987 (byte-compile-form): Check obsolescence here.
17988 (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
17989 (byte-compile-variable-ref): Remove.
17990 (byte-compile-dynamic-variable-op): New fun.
17991 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
17992 (byte-compile-variable-set): New funs.
17993 (byte-compile-discard): Add 2 args.
17994 (byte-compile-stack-ref, byte-compile-stack-set)
17995 (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
17996 (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
17997 macroexpand-all instead.
17998 (byte-compile-quote-form): Remove.
17999 (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
18000 (byte-compile-bind, byte-compile-unbind): New funs.
18001 (byte-compile-let): Handle let* and lexical binding.
18002 (byte-compile-let*): Remove.
18003 (byte-compile-catch, byte-compile-unwind-protect)
18004 (byte-compile-track-mouse, byte-compile-condition-case):
18005 Handle a new :fun-body form, used for lexical scoping.
18006 (byte-compile-save-window-excursion)
18007 (byte-compile-with-output-to-temp-buffer): Remove.
18008 (byte-compile-defun): Simplify.
18009 (byte-compile-stack-adjustment): New fun.
18010 (byte-compile-out): Use it.
18011 (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
18012
18013 * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
18014 handler any more.
18015
18016 * emacs-lisp/byte-opt.el: Use lexical binding.
18017 (byte-inline-lapcode): Remove (to bytecomp).
18018 (byte-compile-inline-expand): Pay attention to inlining to/from
18019 lexically bound code.
18020 (byte-compile-unfold-lambda): Don't handle byte-code-functions
18021 any more.
18022 (byte-optimize-form-code-walker): Don't handle save-window-excursion
18023 any more and don't call compiler-macros.
18024 (byte-compile-splice-in-already-compiled-code): Remove.
18025 (byte-code): Don't inline any more.
18026 (disassemble-offset): Receive `bytes' as argument rather than via
18027 dynamic scoping.
18028 (byte-compile-tag-number): Declare before first use.
18029 (byte-decompile-bytecode-1): Handle new byte-codes, don't change
18030 `return' even if make-spliceable.
18031 (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
18032 obsolete interactive-p.
18033 (byte-optimize-lapcode): Optimize new lap-codes.
18034 Don't trip up on new form of `byte-constant' lap code.
18035
18036 * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
18037
18038 * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
18039
18040 * custom.el (custom-initialize-default, custom-declare-variable):
18041 Use `defvar'.
18042
18043 * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
18044 New variables.
18045 (compile-onefile, .el.elc, compile-calc, recompile): Use them.
18046 (COMPILE_FIRST): Add macroexp and cconv.
18047 * makefile.w32-in: Mirror changes in Makefile.in.
18048
18049 * vc/cvs-status.el:
18050 * vc/diff-mode.el:
18051 * vc/log-edit.el:
18052 * vc/log-view.el:
18053 * vc/smerge-mode.el:
18054 * textmodes/bibtex-style.el:
090bd7cb 18055 * textmodes/css-mode.el:
03408648
SM
18056 * startup.el:
18057 * uniquify.el:
da91b5f2
CY
18058 * minibuffer.el:
18059 * newcomment.el:
18060 * reveal.el:
18061 * server.el:
18062 * mpc.el:
18063 * emacs-lisp/smie.el:
18064 * doc-view.el:
18065 * dired.el:
03408648
SM
18066 * abbrev.el: Use lexical binding.
18067
0f0c1f27
EZ
180682011-04-01 Eli Zaretskii <eliz@gnu.org>
18069
18070 * info.el (info-display-manual): New function.
18071
c82b2579
SM
180722011-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
18073
18074 * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
18075
221ddf68
TH
180762011-03-31 Tassilo Horn <tassilo@member.fsf.org>
18077
18078 * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
2fbc1934 18079 an entry for that server in rcirc-authinfo. (Bug#8385)
221ddf68 18080
cba6e77e
GM
180812011-03-31 Glenn Morris <rgm@gnu.org>
18082
e040639f
GM
18083 * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
18084
cba6e77e
GM
18085 * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
18086
6d0f1c9e
CS
180872011-03-30 Christoph Scholtes <cschol2112@googlemail.com>
18088
18089 * progmodes/python.el (python-default-interpreter)
18090 (python-python-command-args, python-jython-command-args)
18091 (python-which-shell, python-which-args, python-which-bufname)
18092 (python-file-queue, python-comint-output-filter-function)
18093 (python-toggle-shells, python-shell): Remove obsolete defcustoms,
18094 variables and functions.
18095
3e2d70fd
SM
180962011-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
18097
18098 * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
18099 (completion-in-region-mode): New minor mode.
18100 (completion-in-region): Use it.
18101 (completion-in-region--data, completion-in-region-mode-map): New vars.
18102 (completion-in-region--postch): New function.
18103 (completion--capf-misbehave-funs, completion--capf-safe-funs):
18104 New vars.
18105 (completion--capf-wrapper): New function.
18106 (completion-at-point): Use it to track well-behavedness of
18107 hook functions.
18108 (completion-help-at-point): New command.
18109
f3e4086c
JM
181102011-03-30 Jason Merrill <jason@redhat.com> (tiny change)
18111
18112 * vc/add-log.el (add-change-log-entry): Don't use whitespace
18113 syntax class to search for whitespace on a single line
18114 (Message-ID: <4D938140.4030905@redhat.com>).
18115
eb7ffc14
LL
181162011-03-30 Leo Liu <sdl.web@gmail.com>
18117
18118 * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
18119 New commands.
18120 (edit-abbrevs-map): Bind them here.
18121 (write-abbrev-file): New optinal arg VERBOSE. (Bug#5937)
18122
d806ab68
KM
181232011-03-29 Ken Manheimer <ken.manheimer@gmail.com>
18124
18125 * allout.el (allout-hide-by-annotation, allout-flag-region):
18126 Reduce possibility of overlay leakage by making them volatile.
18127
18128 * allout-widgets.el (allout-widgets-tally): Define as nil so the
18129 hash is not shared between buffers. Mode initialization is
18130 responsible for giving it a useful starting value.
18131 (allout-item-span): Reduce possibility of overlay leakage by
18132 making them volatile.
18133 (allout-widgets-count-buttons-in-region): Add diagnostic function
18134 for tracking down button overlay leaks.
18135
ea622834
LL
181362011-03-29 Leo Liu <sdl.web@gmail.com>
18137
18138 * ido.el (ido-read-internal): Use the default history var
18139 minibuffer-history if no HISTORY is specified.
18140
b62f8267
G
181412011-03-28 Brian T. Sniffen <bsniffen@akamai.com> (tiny change)
18142
03408648
SM
18143 * net/imap.el (imap-shell-open, imap-process-connection-type):
18144 Use imap-process-connection-type for 'shell' streams as well as
b62f8267
G
18145 Kerberos, SSL, other subprocesses.
18146
947b6566
LL
181472011-03-28 Leo Liu <sdl.web@gmail.com>
18148
18149 * abbrev.el (abbrev-table-empty-p): New function.
18150 (prepare-abbrev-list-buffer): Place empty abbrev tables after
18151 nonempty ones. (Bug#5937)
18152
5ffb62aa
JD
181532011-03-27 Jan Djärv <jan.h.d@swipnet.se>
18154
18155 * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
18156
7a097943
LL
181572011-03-27 Leo Liu <sdl.web@gmail.com>
18158
18159 * ansi-color.el (ansi-color-names-vector): Allow cons cell value
18160 for foreground and background colors.
18161 (ansi-color-make-color-map): Adapt.
18162
c5b40130
LL
181632011-03-25 Leo Liu <sdl.web@gmail.com>
18164
1f48f7d2
LL
18165 * midnight.el (midnight-time-float): Remove. Note it calculates
18166 the microsecond component incorrectly and seconds-to-time does the
18167 same job.
625897ec 18168 Remove redundant (require 'timer).
1f48f7d2 18169
c5b40130
LL
18170 * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
18171 (ido-completions): Remove unused arguments. (Bug#8329)
18172
d86d2721
SM
181732011-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
18174
18175 * minibuffer.el (completion--flush-all-sorted-completions):
18176 Remove itself from hook.
18177 (completion-at-point): Let the functions perform the completion
18178 immediately and return nil or t.
18179 * comint.el (comint-dynamic-complete-functions): Now identical to
18180 completion-at-point-functions.
18181 (comint-dynamic-list-input-ring): Remove unused var `index'.
18182 (comint--match-partial-filename, comint--unquote&expand-filename):
18183 New funs, split from comint-match-partial-filename.
18184 (comint-dynamic-complete): Use completion-at-point.
18185 (comint-dynamic-complete-filename): Use comint--match-partial-filename.
18186
e8974c48
DA
181872011-03-24 Drew Adams <drew.adams@oracle.com>
18188
18189 * thingatpt.el: Support `defun'.
18190
def71b5e
LL
181912011-03-23 Leo Liu <sdl.web@gmail.com>
18192
cb5af48e
LL
18193 * abbrevlist.el: Move to obsolete/abbrevlist.el.
18194
def71b5e
LL
18195 * help-mode.el (help-mode-finish): Tweak regexp.
18196
927c53e7
GM
181972011-03-23 Glenn Morris <rgm@gnu.org>
18198
18d05bed
GM
18199 * eshell/esh-opt.el (eshell-eval-using-options):
18200 Do not bind unused local variable `eshell-option-stub'.
18201
927c53e7
GM
18202 * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
18203
9d0da923
JB
182042011-03-22 Juanma Barranquero <lekktu@gmail.com>
18205
18206 * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
18207 keymap variable in `with-no-warnings' to avoid a warning when the
18208 keymap has been already `defconst'ed.
18209
4b978a67
LL
182102011-03-22 Leo Liu <sdl.web@gmail.com>
18211
18212 * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
18213 encode all chars in abbrevs; otherwise use emacs-mule or
18214 utf-8-emacs. (Bug#8308)
18215
5fd62452
JB
182162011-03-22 Juanma Barranquero <lekktu@gmail.com>
18217
0b1596c6
JB
18218 * simple.el (backward-delete-char-untabify):
18219 Avoid warning about using `delete-backward-char'.
18220
5fd62452
JB
18221 * image.el (image-type-file-name-regexps): Make it variable.
18222 `imagemagick-register-types' modifies it, and the user may want
18223 to add new extensions for known image types.
18224 (imagemagick-register-types): Throw error if not using ImageMagick.
18225
0b4e93f1
LL
182262011-03-22 Leo Liu <sdl.web@gmail.com>
18227
18228 * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
18229 located before rcirc-prompt-end-marker.
18230 (rcirc-complete): Error if point is not after rcirc prompt.
18231 Handle the case when table is nil.
9882e214 18232 (rcirc-user-authenticated): Define to fix compiler warning.
0b4e93f1 18233
fccee4ab
CY
182342011-03-22 Chong Yidong <cyd@stupidchicken.com>
18235
18236 * custom.el (custom--inhibit-theme-enable): Make it affect only
18237 custom-theme-set-variables and custom-theme-set-faces.
18238 (provide-theme): Ignore custom--inhibit-theme-enable.
18239 (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
18240 (custom-enabling-themes): Delete variable.
d86d2721
SM
18241 (enable-theme): Accept only loaded themes as arguments.
18242 Ignore the special custom-enabled-themes variable.
fccee4ab
CY
18243 (custom-enabled-themes): Forbid themes from setting this.
18244 Eliminate use of custom-enabling-themes.
18245 (custom-push-theme): Quote "changed" custom var entry.
0357c7ae 18246
af896da6
LL
182472011-03-21 Leo Liu <sdl.web@gmail.com>
18248
18249 * ido.el (ido-read-internal): Add ido-selected to history instead
18250 of user input.
18251
78f64af0
SM
182522011-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
18253
18254 * subr.el (deferred-action-list, deferred-action-function):
18255 Mark obsolete.
18256
b16ac1ec
LL
182572011-03-21 Leo Liu <sdl.web@gmail.com>
18258
810f7698
LL
18259 * vc/log-view.el: Remove (require 'wid-edit), not needed after the
18260 change on 2011-02-13 (bug#8309).
18261
b16ac1ec
LL
18262 * minibuffer.el (read-file-name-function): Change default value.
18263 (read-file-name--defaults): Rename from read-file-name-defaults.
18264 (read-file-name-default): Rename from read-file-name.
18265 (read-file-name): Call read-file-name-function.
18266
4e05e67e
GM
182672011-03-21 Glenn Morris <rgm@gnu.org>
18268
18269 * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
18270 Doc fixes.
18271
4359915b
CY
182722011-03-21 Chong Yidong <cyd@stupidchicken.com>
18273
18274 * cus-theme.el: Add missing provide statement.
18275 (customize-create-theme): Extract theme value correctly.
18276 (custom-theme-visit-theme): Autoload.
18277 (customize-create-theme): Prompt before inserting default faces.
18278
1fe275ee
JB
182792011-03-20 Jay Belanger <jay.p.belanger@gmail.com>
18280
18281 * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
18282 units and musical notes.
18283
cd394be1 182842011-03-20 Leo Liu <sdl.web@gmail.com>
3ec03f7e
LL
18285
18286 * ido.el (ido-read-internal): Use completing-read-default.
18287 (ido-completing-read): Fix compatibility with completing-read.
18288
7d476bde
CO
182892011-03-20 Christian Ohler <ohler@gnu.org>
18290
18291 * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
18292 (ert-delete-all-tests): Use `called-interactively-p' rather than
18293 `interactive-p'.
18294 (ert--make-xrefs-region): Respect END.
18295
fe0fb33e
CY
182962011-03-19 Chong Yidong <cyd@stupidchicken.com>
18297
ff854b0b
CY
18298 * dired-aux.el (dired-create-directory): Signal an error if the
18299 directory already exists (Bug#8246).
18300
fe0fb33e
CY
18301 * facemenu.el (list-colors-display): Call list-faces-display
18302 inside with-help-window.
18303 (list-colors-print): Use display property to align the final
18304 column, instead of checking window-width.
18305
576bce32
EZ
183062011-03-19 Eli Zaretskii <eliz@gnu.org>
18307
4d61f28d 18308 * vc/emerge.el (emerge-metachars): Separate value for ms-dos and
576bce32
EZ
18309 windows-nt systems.
18310 (emerge-protect-metachars): Quote correctly for ms-dos and
18311 windows-nt systems.
18312
89c41d68 183132011-03-19 Ralph Schleicher <rs@ralph-schleicher.de>
e6ce307c
RS
18314
18315 * info.el (info-initialize): Replace all uses of `:' with
18316 path-separator for compatibility with non-Unix systems.
18317 Cache quoting of path-separator. (Bug#8258)
18318
b14e3e21 183192011-03-19 Juanma Barranquero <lekktu@gmail.com>
ad22b7f7
JB
18320
18321 * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
18322 (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
18323 (mouse-avoidance-mode): Fix typos in docstrings.
18324
4525ce3e
CY
183252011-03-19 Chong Yidong <cyd@stupidchicken.com>
18326
18327 * startup.el (package-subdirectory-regexp): Move from package.el.
18328 Omit \\` and \\', and let callers add them.
18329
18330 * emacs-lisp/package.el (package-strip-version)
18331 (package-load-all-descriptors): Add \\` and \\' to
18332 package-subdirectory-regexp before using it.
18333 (package-untar-buffer): New arg DIR; ensure that file untars only
18334 into this expected directory. Remove superfluous delete-region.
18335 (package-unpack): Caller changed.
18336 (package-tar-file-info): Use package-subdirectory-regexp.
18337
a904a09a 183382011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
1518e4f0 18339
a904a09a
SM
18340 * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
18341 diff-mode-shared-map (bug#8284).
18342 (diff-mode-shared-map): Re-introduce some bindings that were problematic.
1518e4f0
G
18343
183442011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
18345
18346 * calendar/time-date.el (format-seconds): Use assoc instead of
18347 assoc-string, since assoc-string doesn't exist in XEmacs.
18348
171fc304
JB
183492011-03-17 Juanma Barranquero <lekktu@gmail.com>
18350
18351 * custom.el (custom-known-themes): Reflow docstring.
18352 (custom-theme-load-path): Fix typo in docstring.
18353 (load-theme): Fix typo in error message.
18354 (custom-available-themes, custom-variable-theme-value):
18355 Use `let', not `let*'.
18356
d71990a1
JB
183572011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
18358
18359 * calc/README: Mention inclusion of musical notes.
18360
18361 * calc/calc-units.el (calc-lu-quant): Rename from
18362 `calc-logunits-quantity'.
18363 (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
18364 (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
18365 (calc-db): Rename from `calc-dblevel'.
18366 (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
18367 (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
18368 (calc-np): Rename from `calc-nplevel'.
18369 (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
18370 (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
18371 (calc-lu-plus): Rename from `calc-logunits-add'.
18372 (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
18373 (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
18374 (calc-lu-minus): Rename from `calc-logunits-sub'.
18375 (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
18376 (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
18377 (calc-lu-times): Rename from `calc-logunits-mul'.
18378 (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
18379 (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
18380 (calc-lu-divide): Rename from `calc-logunits-div'.
18381 (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
18382 (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
18383
18384 * calc/calc-ext.el (calc-init-extensions): Update the names of the
18385 functions being autoloaded.
18386
18387 * calc/calc.el (calc-lu-power-reference): Rename from
18388 `calc-logunits-power-reference'.
18389 (calc-lu-field-reference): Rename from
18390 `calc-logunits-field-reference'.
18391
7a71b18d
GM
18392 * calc/calc-help.el (calc-l-prefix-help):
18393 Mention musical note functions.
d71990a1 18394
40c2934b
SM
183952011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
18396
18397 * minibuffer.el (completion-all-sorted-completions):
18398 Use :completion-cycle-penalty text property if present.
18399
b0911414
KM
184002011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
18401
18402 * allout.el (allout-yank-processing): Adjust for new rebulleting
18403 regime so bullet being yanked is used without prompting the user
18404 for a choice.
18405
8a05b668
JB
184062011-03-16 Juanma Barranquero <lekktu@gmail.com>
18407
18408 * startup.el (command-line): Warn the user that _emacs is deprecated.
18409
5ba5fb81
JB
184102011-03-16 Juanma Barranquero <lekktu@gmail.com>
18411
18412 * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
18413 (delphi-verbose, delphi-comment-face, delphi-string-face)
18414 (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
18415 (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
18416 (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
18417 (delphi-new-comment-line, delphi-font-lock-defaults)
18418 (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
18419 Fix typos in docstrings.
18420
2dab465b
KM
184212011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
18422
5ba5fb81 18423 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
2dab465b
KM
18424 Invert the roles of character and string values for INSTEAD, so a
18425 string is used for the more common case of a defaulting prompt.
18426
0adf5618
SM
184272011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
18428
18429 * progmodes/ruby-mode.el (ruby-backward-sexp):
18430 * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
18431 * play/gamegrid.el (gamegrid-make-face):
18432 * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
18433 (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
18434 * notifications.el (notifications-notify):
18435 * net/xesam.el (xesam-search-engines):
18436 * net/quickurl.el (quickurl-list-insert):
18437 * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
18438
d72700e5
CY
184392011-03-15 Chong Yidong <cyd@stupidchicken.com>
18440
18441 * startup.el (command-line): Update package subdirectory regexp.
18442
49c5410a
SM
184432011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
18444
c6eee9aa
SM
18445 * allout.el (allout-abbreviate-flattened-numbering)
18446 (allout-mode-deactivate-hook): Fix up obsolescence "date".
18447
49c5410a
SM
18448 * subr.el (read-char-choice): Only show the cursor after the prompt,
18449 not after the answer.
18450
047b2bb9
KR
184512011-03-15 Kevin Ryde <user42@zip.com.au>
18452
18453 * help-fns.el (variable-at-point): Skip leading quotes, if any
18454 (bug#8253).
18455
0a57d256
SM
184562011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
18457
18458 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
18459 warning message.
18460
77c992bc
MA
184612011-03-14 Michael Albinus <michael.albinus@gmx.de>
18462
18463 * shell.el (shell): When called interactively, offer to change the
18464 shell file name on remote hosts.
18465
eebc475d
TZ
184662011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
18467
18468 * net/ldap.el (ldap-search-internal): Add `auth-source-search'
18469 integration for LDAP parameters. The host, base, user or binddn,
18470 and secret tokens can be specified in a netrc file, for instance.
18471 This is optional because an `auth-source' parameter must be
18472 specified in the search attributes.
18473
9d05d1ba
JB
184742011-03-13 Juanma Barranquero <lekktu@gmail.com>
18475
18476 * help.el (describe-mode): Link to the mode's definition (bug#8185).
18477
09d9db2c
GM
184782011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
18479
18480 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
18481 into declaration. Remove redundant and harmful binding.
18482
184832011-03-12 Eli Zaretskii <eliz@gnu.org>
18484
18485 * files.el (file-ownership-preserved-p): Pass `integer' as an
18486 explicit 2nd argument to `file-attributes'. If the file's owner
18487 is the Administrators group on Windows, and the current user is
18488 Administrator, consider that a match.
18489
18490 * server.el (server-ensure-safe-dir): Consider server directory
18491 safe on MS-Windows if its owner is the Administrators group while
18492 the current Emacs user is Administrator. Use `=' to compare
18493 numerical UIDs, since they could be integers or floats.
18494
219bd536
JB
184952011-03-12 Juanma Barranquero <lekktu@gmail.com>
18496
18497 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
18498
f3afd36b
MA
184992011-03-12 Michael Albinus <michael.albinus@gmx.de>
18500
18501 Sync with Tramp 2.2.1.
18502
18503 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
18504
18505 * net/trampver.el: Update release number.
18506
3aaaa6f1
SM
185072011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
18508
94642599
SM
18509 * progmodes/compile.el (compilation--previous-directory): Fix up
18510 various nil/dead-marker mismatches (bug#8014).
18511 (compilation-directory-properties, compilation-error-properties):
18512 Don't call it at a position past the one we're about to change.
18513
3aaaa6f1
SM
18514 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
18515 Disable obsolescence warnings in the file that declares it.
18516
14239447
KM
185172011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
18518
099c39a4
JB
18519 * allout-widgets.el (allout-widgets-tally):
18520 Initialize allout-widgets-tally as a hash table rather than nil to
18521 prevent mode-line redisplay warnings. Also, clarify the module
18522 description and fix a comment typo.
14239447 18523
135e287c
JB
185242011-03-11 Juanma Barranquero <lekktu@gmail.com>
18525
18526 * help-fns.el (describe-variable): Don't complete keywords.
18527 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
18528
ffbf300e
CY
185292011-03-10 Chong Yidong <cyd@stupidchicken.com>
18530
ba08b241
CY
18531 * emacs-lisp/package.el (package-version-join): Impose a standard
18532 string representation for pre/alpha/beta version lists.
18533 (package-unpack-single): Standardize the directory name by passing
18534 it through package-version-join.
18535 (package-strip-rcs-id): Accept any version string that does not
18536 signal an error in version-to-list.
ffbf300e 18537
f346fd6b
MA
185382011-03-10 Michael Albinus <michael.albinus@gmx.de>
18539
18540 * simple.el (delete-trailing-whitespace): Return nil for the
18541 benefit of `write-file-functions'.
18542
ccb55d27
GM
185432011-03-10 Glenn Morris <rgm@gnu.org>
18544
5ceaac0c
GM
18545 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
18546
02da65ff
GM
18547 * vc/vc-git.el (vc-git-program): New option.
18548 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
18549 (vc-git--call): Use it.
18550
b2f603cc
GM
18551 * eshell/esh-util.el (eshell-condition-case): Doc fix.
18552
5772caab
GM
18553 * cus-edit.el (Custom-newline): If no button at point, look
18554 for a subgroup button at start-of-line. (Bug#2298)
18555
ccb55d27
GM
18556 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
18557
ec6ecaed
JD
185582011-03-10 Julien Danjou <julien@danjou.info>
18559
18560 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
18561 `cursor-type' is nil.
18562
9d5aa01d
JB
185632011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
18564
18565 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
18566
b6a5875b
KM
185672011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
18568
7a71b18d 18569 * allout.el: Change so yank of distinctive-bullet items
b6a5875b
KM
18570 preserves the existing header prefix, rebulleting it if necessary,
18571 rather than replacing it. This is necessary for proper operation
18572 of cooperative addons like allout-widgets.
1154d12e
JB
18573 (allout-make-topic-prefix, allout-rebullet-heading):
18574 Change SOLICIT arg to INSTEAD, and interpret additionally a string
18575 value as alternate bullet to be used, instead of prompting the user
18576 for a bullet character.
b6a5875b 18577
ee545c35
MA
185782011-03-09 Michael Albinus <michael.albinus@gmx.de>
18579
d86d2721
SM
18580 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
18581 Do not use `tramp-file-name-port', because this returns also
ee545c35
MA
18582 `tramp-default-port'.
18583
c47971d7
DD
185842011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
18585
18586 * net/rcirc.el (rcirc-handler-001): Remove useless
18587 with-rcirc-process-buffer.
18588 (rcirc-check-auth-status): Swap arguments to string-match.
18589
13522cb4
GM
185902011-03-09 Glenn Morris <rgm@gnu.org>
18591
0be6f4f1
GM
18592 * shell.el (shell-mode):
18593 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
18594
13522cb4
GM
18595 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
18596 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
18597
515de2e3
CY
185982011-03-08 Chong Yidong <cyd@stupidchicken.com>
18599
18600 * emacs-lisp/package.el (package-refresh-contents)
18601 (package-menu-execute): Use condition-case-no-debug.
18602
b511b994
MA
186032011-03-08 Michael Albinus <michael.albinus@gmx.de>
18604
18605 * simple.el (shell-command-to-string): Use `process-file'.
18606
18607 * emacs-lisp/package.el (package-tar-file-info): Handle also
18608 remote files.
18609
d86d2721
SM
18610 * emacs-lisp/package-x.el (package-upload-buffer-internal):
18611 Use `equal' for upload base check.
b511b994 18612
25bbfb31
AM
186132011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
18614
18615 * textmodes/texinfo.el (texinfo-environments):
18616 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
18617
be996521
GM
186182011-03-08 Glenn Morris <rgm@gnu.org>
18619
e9c8529f
GM
18620 * cus-start.el (cursor-in-non-selected-windows):
18621 Fix :set quoting oddness. (Bug#8192)
18622
be996521
GM
18623 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
18624 in some setf expressions. (Bug#2159)
18625
2bb5649e
CY
186262011-03-08 Chong Yidong <cyd@stupidchicken.com>
18627
18628 * custom.el (custom-available-themes): Return themes in
18629 alphabetical order.
18630
33383987 18631See ChangeLog.15 for earlier changes.
e3d51b27
MR
18632
18633;; Local Variables:
18634;; coding: utf-8
e3d51b27
MR
18635;; End:
18636
acaf905b 18637 Copyright (C) 2011-2012 Free Software Foundation, Inc.
e3d51b27
MR
18638
18639 This file is part of GNU Emacs.
18640
18641 GNU Emacs is free software: you can redistribute it and/or modify
18642 it under the terms of the GNU General Public License as published by
18643 the Free Software Foundation, either version 3 of the License, or
18644 (at your option) any later version.
18645
18646 GNU Emacs is distributed in the hope that it will be useful,
18647 but WITHOUT ANY WARRANTY; without even the implied warranty of
18648 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18649 GNU General Public License for more details.
18650
18651 You should have received a copy of the GNU General Public License
18652 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.