Function to mark objects and remove killed buffers at once.
[bpt/emacs.git] / lisp / ChangeLog
CommitLineData
2168fe4f
GM
12012-09-13 Glenn Morris <rgm@gnu.org>
2
3 * emacs-lisp/bytecomp.el (byte-compile-warning-prefix):
4 If not compiling a file, try using load-file-name.
5
bd8d6108
SM
62012-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
7
c0c54fbd
SM
8 * emacs-lisp/edebug.el (edebug-outside-unread-command-events):
9 Fix last change.
10 (edebug-update-eval-list): Use `push'.
11
bd8d6108
SM
12 * emacs-lisp/edebug.el: Use lexical-binding.
13 Remove the "edebug-" prefix from non-dynamically-scoped variables.
14 Mark unused args with underscore.
15 (edebug-save-restriction, edebug-outside-excursion): Use `declare'.
16 (edebug-form-data): Use defvar-local.
17 (edebug-make-before-and-after-form, edebug-make-after-form):
18 Use backquote.
19 (edebug-args, edebug-value, edebug-after-index, edebug-arg-mode):
20 Not dynamically scoped any more.
21 (edebug--enter-trace): Add arguments `function' and `args'.
22 Rename from edebug-enter-trace.
23 (edebug-enter): Call it accordingly. Bind edebug-function explicitly.
24 (edebug--update-coverage): Add `after-index' and `value' args.
25 Rename from edebug-update-coverage.
26 (edebug-slow-after): Call it accordingly.
27 (edebug--recursive-edit): Add arg `arg-mode'. Rename from
28 edebug-recursive-edit.
29 (edebug--display): Call it accordingly. Add args `value',
30 `offset-index', and `arg-mode'. Rename from edebug-display.
31 (edebug-debugger, edebug): Call it accordingly.
32 (edebug-eval-display-list): Use dolist.
33
a9f9d9de
JL
342012-09-12 Juri Linkov <juri@jurta.org>
35
36 * info.el (Info-search): Don't check for isearch-mode and
37 isearch-regexp before let-binding search-spaces-regexp to
38 Info-search-whitespace-regexp.
39 (Info-isearch-search): Let-bind Info-search-whitespace-regexp to
40 search-whitespace-regexp if isearch-lax-whitespace or
41 isearch-regexp-lax-whitespace is non-nil.
42 (Info-mode): Don't set local variable search-whitespace-regexp.
43 http://lists.gnu.org/archive/html/emacs-devel/2012-08/msg00811.html
44
bfeae2cf
SM
452012-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
46
47 * emacs-lisp/debug.el (debugger-outer-unread-command-char, debug)
48 (debugger-env-macro): Remove support for unread-command-char.
49
50 * subr.el (set-temporary-overlay-map): Minimize slightly the impact of
51 the temporary map re-appearing on emulation-mode-map-alists.
52
53 * emacs-lisp/edebug.el (def-edebug-form-spec): Remove, it's been broken
54 since 22.1.
55
56 * ehelp.el (with-electric-help): Accept functions in
57 electric-help-form-to-execute.
58 (electric-help-execute-extended, electric-help-ctrl-x-prefix): Use it.
59 And replace unread-command-char -> unread-command-events.
60
fbbcaf1b
MA
612012-09-12 Michael Albinus <michael.albinus@gmx.de>
62
63 Sync with Tramp 2.2.6.
64
65 * net/tramp.el (tramp-accept-process-output): Don't use
66 JUST-THIS-ONE in the XEmacs case.
67
68 * net/trampver.el: Update release number.
69
4dece104
MR
702012-09-12 Martin Rudalics <rudalics@gmx.at>
71
bfeae2cf
SM
72 * emacs-lisp/debug.el (debugger-previous-window-height):
73 New variable.
4dece104
MR
74 (debug): When debugger-jumping-flag is non-nil try to restore
75 height of debugger window. (Bug#8789)
76
45b82ad0
SM
772012-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
78
60c49c0f
SM
79 * emacs-lisp/edebug.el (edebug-enter): Don't mess with
80 overriding-local-map and pre/post-command-hook here.
81 (edebug-recursive-edit): Do it here instead (bug#12345).
82 (edebug-outside-unread-command-char): Remove all uses of
83 unread-command-char.
84
45b82ad0
SM
85 * emacs-lisp/debug.el (debug): Don't bind debug-on-error since
86 inhibit-debugger is bound instead.
87
baa26ea0
BG
882012-09-11 Bastien Guerry <bzg@gnu.org>
89
90 * subr.el (set-temporary-overlay-map): Add a docstring.
91 (bug#12346)
92
04e8abfa
BG
932012-09-11 Bastien Guerry <bzg@gnu.org>
94
96d03571
BG
95 * minibuffer.el (completion-table-subvert): Fix docstring.
96 (bug#12347)
97
982012-09-11 Bastien Guerry <bzg@gnu.org>
99
100 * help-fns.el (describe-variable): Fix typo. (bug#12346)
04e8abfa 101
04e082b0
MM
1022012-09-10 Michael R. Mauger <mmaug@yahoo.com>
103
104 * progmodes/sql.el: Version 3.1
105 (sql-db2-escape-newlines): New variable.
106 (sql-escape-newlines-filter): Use it.
107
399a361b
JB
1082012-09-10 Juanma Barranquero <lekktu@gmail.com>
109
110 * custom.el (custom-theme-load-confirm): Remove unneeded assignment.
111
0780c517
DN
1122012-09-10 Dan Nicolaescu <dann@gnu.org>
113
45b82ad0
SM
114 * vc/diff-mode.el (diff-mode-menu):
115 Bind diff-remove-trailing-whitespace.
0780c517 116
9b851e25
SM
1172012-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
118
119 * emacs-lisp/lisp-mode.el (emacs-list-byte-code-comment-re): New var.
120 (emacs-lisp-byte-code-comment)
121 (emacs-lisp-byte-code-syntax-propertize, emacs-lisp-byte-code-mode):
122 New functions.
123 (eval-sexp-add-defvars): Don't skip defvars in column >0.
124 (eval-defun-2): Remove bogus interactive spec.
125 (lisp-indent-line): Remove redundant whole-exp code, now done in
126 indent-according-to-mode.
127 (save-match-data): Remove redundant indent data.
128
129 * emacs-lisp/benchmark.el (benchmark-run, benchmark-run-compiled):
130 Use `declare'.
131
3231d532
JL
1322012-09-09 Juri Linkov <juri@jurta.org>
133
134 * replace.el (replace-regexp-lax-whitespace): New defcustom.
135 (replace-lax-whitespace, query-replace-regexp)
136 (query-replace-regexp-eval, replace-regexp): Doc fix.
137 (perform-replace, replace-highlight): Let-bind
138 isearch-lax-whitespace to replace-lax-whitespace and
139 isearch-regexp-lax-whitespace to replace-regexp-lax-whitespace.
140
141 * isearch.el (isearch-query-replace): Let-bind
142 replace-lax-whitespace to isearch-lax-whitespace and
143 replace-regexp-lax-whitespace to
144 isearch-regexp-lax-whitespace. (Bug#10885)
145
70fe8236
SM
1462012-09-09 Stefan Monnier <monnier@iro.umontreal.ca>
147
148 * eshell/em-unix.el (eshell/sudo): Explicitly drop return value.
149
8ed43f15
AM
1502012-09-09 Alan Mackenzie <acm@muc.de>
151
70fe8236
SM
152 * progmodes/cc-engine.el (c-state-cache-init):
153 Initialise c-state-semi-nonlit-pos-cache\(-limit\)? properly.
154 (c-record-parse-state-state):
155 Record c-state-semi-nonlit-pos-cache\(-limit\)?.
8ed43f15 156
bfabf70a
AS
1572012-09-09 Andreas Schwab <schwab@linux-m68k.org>
158
159 * register.el (register-separator): Rename from
160 separator-register. All uses changed. Doc fix.
161 (register): Fix version.
162
011474aa
CY
1632012-09-09 Chong Yidong <cyd@gnu.org>
164
165 * replace.el (query-replace-map): Bind four new symbols for
166 requesting window scrolling.
167
168 * subr.el (y-or-n-p): Handle the window-scrolling bindings in
169 query-replace-map (Bug#8948).
170
171 * custom.el (custom-theme-load-confirm): Use y-or-n-p.
172
173 * emacs-lisp/map-ynp.el (map-y-or-n-p): Don't bind scrolling keys
174 since they are now in query-replace-map.
175
176 * window.el (scroll-other-window-down): Make the arg optional.
177
a8b7cd8d
CY
1782012-09-09 Chong Yidong <cyd@gnu.org>
179
180 * files.el (hack-local-variables-confirm): Use quit-window to kill
181 the *Local Variables* buffer.
182
c3268831
DG
1832012-09-08 Dmitry Gutov <dgutov@yandex.ru>
184
185 * progmodes/ruby-mode.el (ruby-toggle-block): Guess the current block,
186 not just expect to be at its beginning. Adjust callees.
187 Succeed when do-end block has no space before the pipe character.
188 (ruby-brace-to-do-end): When the original block is one-liner,
189 convert to multiline. Reindent the result.
190
0979429b
J
1912012-09-08 Jambunathan K <kjambunathan@gmail.com>
192
193 * register.el (register): New group.
194 (register-separator): New user option.
195 (increment-register): Route it to `append-to-register', if
196 register contains text. Implication is that `C-x r +' can now be
197 used for appending to a text register (bug#12217).
198 (append-to-register, prepend-to-register): Add separator based on
199 `register-separator.
200
ace2989a
AM
2012012-09-08 Alan Mackenzie <acm@muc.de>
202
203 AWK Mode: make auto-newline work when there's "==" in the pattern.
204 * progmodes/cc-cmds.el (c-point-syntax): Handle virtual semicolons
205 correctly.
0979429b
J
206 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5A.3):
207 Test more rigorously for "=" token.
ace2989a 208
616c6c36
DG
2092012-09-08 Dmitry Gutov <dgutov@yandex.ru>
210
0979429b
J
211 * progmodes/ruby-mode.el (ruby-match-expression-expansion):
212 Only fail when reached LIMIT.
616c6c36 213
35d98877
CY
2142012-09-08 Chong Yidong <cyd@gnu.org>
215
216 * dired.el (dired-mode-map): Don't bind M-=.
217
218 * dired-aux.el (dired-diff): Use backup file as default.
219
1715f2db
DA
2202012-09-08 Drew Adams <drew.adams@oracle.com>
221
222 * subr.el (add-to-history): Fix delete usage (Bug#12314).
223
6dcef6ec
CY
2242012-09-08 Chong Yidong <cyd@gnu.org>
225
226 * subr.el (syntax-after, syntax-class): Doc fix.
227
fa2bcf43
MR
2282012-09-08 Martin Rudalics <rudalics@gmx.at>
229
230 * window.el (display-buffer-in-previous-window): New buffer
231 display action function.
232
233 * emacs-lisp/debug.el (debugger-bury-or-kill): New option.
234 (debugger-previous-window): New variable.
235 (debug): Rewrite using display-buffer-in-previous-window,
236 quit-restore-window and debugger-bury-or-kill. (Bug#8789)
237
daac280a
SM
2382012-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
239
240 * emacs-lisp/byte-run.el (defun): Tweak message. Simplify code.
241
9dd40b00
MM
2422012-09-07 Matt McClure <mlm@aya.yale.edu> (tiny change)
243
daac280a
SM
244 * progmodes/python.el (python-shell-send-string):
245 When default-directory is remote, create temp file on remote
9dd40b00
MM
246 filesystem.
247 (python-shell-send-file): When file is remote, pass local view of
248 file paths to remote Python interpreter. (Bug#12340)
249
145823ec
CY
2502012-09-07 Chong Yidong <cyd@gnu.org>
251
cee2e90d
CY
252 * window.el (switch-to-buffer): Doc fix (Bug#12181).
253
0d7eb2ea
CY
254 * files.el (after-find-file): Don't fail on a read-only buffer if
255 require-final-newline is `visit' or `visit-save' (Bug#11156).
256
145823ec
CY
257 * subr.el (read-char-choice): Allow quitting via ESC ESC.
258
daac280a
SM
259 * userlock.el (ask-user-about-supersession-threat):
260 Use read-char-choice (Bug#12093).
145823ec 261
74c582e6
CY
2622012-09-07 Chong Yidong <cyd@gnu.org>
263
e5c2edf7
CY
264 * subr.el (buffer-narrowed-p): New function.
265
266 * ses.el (ses-widen):
267 * simple.el (count-words--buffer-message):
268 * net/browse-url.el (browse-url-of-buffer): Use it
269
270 * simple.el (count-words-region): Don't signal an error if there
271 is a non-nil prefix arg and the mark is not set.
c640e87d 272
74c582e6
CY
273 * help.el (describe-key-briefly): Allow the message to be seen
274 when invoked from the minibuffer (Bug#7014).
275
d81ceaaf
DG
2762012-09-07 Dmitry Gutov <dgutov@yandex.ru>
277
278 * progmodes/ruby-mode.el (ruby-end-of-defun)
279 (ruby-beginning-of-defun): Simplify, allow indentation before
280 block beginning and end keywords.
8f06acce
DG
281 (ruby-beginning-of-defun): Only consider 3 keywords defun beginners.
282 (ruby-end-of-defun): Expect that the point is at the beginning of
283 the defun.
d81ceaaf 284
d458ef98
SM
2852012-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
286
287 * emacs-lisp/cl-macs.el (cl--do-arglist): Understand _ on &key args
288 (bug#12367).
289 (cl--make-usage-args): Strip _ from argument names.
290
20367d28
RS
2912012-09-06 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
292
293 * progmodes/vhdl-mode.el (vhdl-speedbar-initialize): Don't use
294 obsolete alias speedbar-key-map.
295 (vhdl-doc-variable, vhdl-doc-mode): Use called-interactively-p.
296 (vhdl-index-menu-init): Don't use obsolete variable
297 font-lock-maximum-size.
298
3424a4f6
CY
2992012-09-06 Chong Yidong <cyd@gnu.org>
300
301 * frame.el (window-system-version): Mark as obsolete.
302
fcbfbdea
CY
303 * speedbar.el (speedbar-update-flag, speedbar-mode): Remove uses
304 of obsolete variable speedbar-key-map.
305
826b3235
JL
3062012-09-06 Juri Linkov <juri@jurta.org>
307
308 * replace.el (replace-lax-whitespace): New defcustom.
309 (query-replace, query-replace-regexp, query-replace-regexp-eval)
310 (replace-string, replace-regexp): Mention it in docstrings.
311 (perform-replace, replace-highlight): Let-bind
312 isearch-lax-whitespace and isearch-regexp-lax-whitespace according
313 to the values of replace-lax-whitespace and regexp-flag.
314 Don't let-bind search-whitespace-regexp. (Bug#10885)
315
316 * isearch.el (isearch-query-replace): Let-bind
317 replace-lax-whitespace instead of let-binding
318 replace-search-function and replace-re-search-function.
319 (isearch-lazy-highlight-search): Let-bind isearch-lax-whitespace
320 and isearch-regexp-lax-whitespace to lazy-highlight variables.
321 (isearch-toggle-symbol): Set isearch-regexp to nil
322 in isearch-word mode (like in isearch-toggle-word).
323
1ec5e41d
JL
3242012-09-06 Juri Linkov <juri@jurta.org>
325
326 * replace.el (replace-search-function)
327 (replace-re-search-function): Set default values to nil.
328 (perform-replace): Let-bind isearch-related variables based on
329 replace-related values, call `isearch-search-fun' and let-bind
330 the result to `search-function'. Remove code that sets
331 `search-function' and `search-string' separately for
332 `delimited-flag'.
333 (replace-highlight): Add new argument `delimited-flag' and
334 rename other arguments to the names used in `perform-replace'.
335 Let-bind `isearch-word' to the argument `delimited-flag'.
336 (Bug#10885, bug#10887)
337
0ba2d4b6
DG
3382012-09-07 Dmitry Gutov <dgutov@yandex.ru>
339
340 * progmodes/ruby-mode.el (ruby-indent-beg-re): Add pieces from
341 ruby-beginning-of-indent, simplify, allow all keywords to have
342 indentation before them.
343 (ruby-beginning-of-indent): Adjust for above. Search until the
344 found point is not inside a string or comment.
345 (ruby-font-lock-keywords): Allow symbols to start with "@"
346 character, give them higher priority than variables.
347 (ruby-syntax-propertize-function)
348 (ruby-font-lock-syntactic-keywords): Remove the "not comments"
349 matchers. Expression expansions are not comments when inside a
350 string, and there comment syntax status is irrelevant.
351 (ruby-match-expression-expansion): New function. Check that
352 expression expansion is inside a string, and it's not escaped.
353 (ruby-font-lock-keywords): Use it.
354
ef654460
MR
3552012-09-05 Martin Rudalics <rudalics@gmx.at>
356
357 * help.el (temp-buffer-max-height): New default value.
358 (temp-buffer-resize-frames): New option.
359 (resize-temp-buffer-window): Optionally resize frame.
360
361 * window.el (fit-frame-to-buffer-bottom-margin): New option.
362 (fit-frame-to-buffer): New function.
363
7e570fbf 3642012-09-05 Glenn Morris <rgm@gnu.org>
72308848
GM
365
366 * emulation/cua-rect.el (cua--init-rectangles):
367 * textmodes/picture.el (picture-mode-map):
368 * play/blackbox.el (blackbox-mode-map): Remap right-char and left-char
369 like forward-char and backward-char. (Bug#12317)
370
7e570fbf 3712012-09-05 Leo Liu <sdl.web@gmail.com>
3aca1291
LL
372
373 * progmodes/flymake.el (flymake-warning-re): New variable.
374 (flymake-parse-line): Use it.
375
7e570fbf 3762012-09-05 Glenn Morris <rgm@gnu.org>
b6683353
GM
377
378 * calendar/holidays.el (holiday-christian-holidays):
379 Rename an entry. (Bug#12289)
380
7e570fbf 3812012-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
64f8c4bd
SM
382
383 * progmodes/sh-script.el (sh-font-lock-paren): Don't burp at BOB
384 (bug#12222).
385
972debf2
SM
3862012-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
387
388 * loadup.el: Load macroexp. Remove hack.
389 * emacs-lisp/macroexp.el (macroexp--eval-if-compile): New function.
390 (macroexp--expand-all): Use it to get better warnings.
391 (macroexp--backtrace, macroexp--trim-backtrace-frame)
392 (internal-macroexpand-for-load): New functions.
393 (macroexp--pending-eager-loads): New var.
394 (emacs-startup-hook): New hack to replace one in loadup.el.
395 * emacs-lisp/cl-macs.el (cl--compiler-macro-list*)
396 (cl--compiler-macro-cXXr): Move to top, before they can be used.
397 (cl-psetf): Simplify.
398 (cl-defstruct): Add indent rule.
399
8ce192e3
LI
4002012-09-04 Lars Ingebrigtsen <larsi@gnus.org>
401
402 * mail/smtpmail.el (smtpmail-send-it): Prefer the From: header
403 over `user-mail-address' for the SMTP MAIL FROM envelope.
404 (smtpmail-via-smtp): Ditto.
405
6578b4d8
DG
4062012-09-04 Dmitry Gutov <dgutov@yandex.ru>
407
408 * progmodes/ruby-mode.el: Clean up keybindings.
409 (ruby-mode-map): Don't bind ruby-electric-brace,
410 ruby-beginning-of-defun, ruby-end-of-defun, ruby-mark-defun,
411 backward-kill-word, reindent-then-newline-and-indent.
412 (ruby-mark-defun): Remove.
413 (ruby-electric-brace): Remove. Obsoleted by electric-indent-chars.
414 (ruby-mode): Set local beginning-of-defun-function and
415 end-of-defun-function values.
416
c5e28e39
MR
4172012-09-03 Martin Rudalics <rudalics@gmx.at>
418
419 * window.el (temp-buffer-window-setup-hook)
420 (temp-buffer-window-show-hook): New hooks.
421 (temp-buffer-window-setup, temp-buffer-window-show)
422 (with-temp-buffer-window): New functions.
972debf2
SM
423 (fit-window-to-buffer): Remove unused optional argument OVERRIDE.
424 (special-display-popup-frame): Make sure the window used shows BUFFER.
c5e28e39
MR
425
426 * help.el (temp-buffer-resize-mode): Fix doc-string.
427 (resize-temp-buffer-window): New optional argument WINDOW.
428
429 * files.el (recover-file, save-buffers-kill-emacs):
430 * dired.el (dired-mark-pop-up): Use with-temp-buffer-window.
431
73406194
MA
4322012-09-02 Michael Albinus <michael.albinus@gmx.de>
433
434 * eshell/em-unix.el (eshell/sudo): When we have an ad-hoc
435 remote definition of `default-directory', ensure we can connect.
436
63dd1c6f
JL
4372012-09-02 Juri Linkov <juri@jurta.org>
438
439 Toggle whitespace matching mode with M-s SPC.
440 http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00008.html
441
442 * isearch.el (search-whitespace-regexp): Doc fix.
443 Remove cons cell customization.
444 (isearch-mode-map): Bind "\M-s " to isearch-toggle-lax-whitespace.
445 (isearch-lax-whitespace, isearch-regexp-lax-whitespace):
446 New variables.
447 (isearch-forward, isearch-forward-regexp): Doc fix.
448 (isearch-toggle-lax-whitespace): New command.
449 (search-forward-lax-whitespace, search-backward-lax-whitespace)
450 (re-search-forward-lax-whitespace)
451 (re-search-backward-lax-whitespace): New functions.
452 (isearch-whitespace-regexp): Remove function.
453 (isearch-query-replace): Let-bind replace-search-function and
454 replace-re-search-function.
455 (isearch-occur): Let-bind search-spaces-regexp according to the
456 value of isearch-lax-whitespace and isearch-regexp-lax-whitespace.
457 (isearch-quote-char): Check isearch-regexp-lax-whitespace in the
458 condition for C-q SPC.
459 (isearch-search-fun-default): Use new functions mentioned above.
460 (isearch-search-forward, isearch-search-backward): Remove functions.
461 (isearch-search): Don't let-bind search-spaces-regexp.
462 (isearch-lazy-highlight-space-regexp): Remove variable.
463 (isearch-lazy-highlight-lax-whitespace)
464 (isearch-lazy-highlight-regexp-lax-whitespace): New variables.
465 (isearch-lazy-highlight-new-loop): Use them.
466 (isearch-lazy-highlight-search): Don't let-bind search-spaces-regexp.
467
af7dda05
CY
4682012-09-02 Chong Yidong <cyd@gnu.org>
469
470 * dired.el (dired-mode-map): Menu string fixes (Bug#11616).
471
d67d3afd
GM
4722012-09-02 Glenn Morris <rgm@gnu.org>
473
474 * simple.el (undo): Tweak message in undo-only case. (Bug#12283)
475
69678719
GM
4762012-09-01 Glenn Morris <rgm@gnu.org>
477
478 * term.el: Tidy up menu definitions.
479 (term-mode-map): Use easymenu for In/Out, Complete menus.
480 (term-pager-break-map): Initialize in the defvar.
481 (term-terminal-menu, term-signals-menu): Define with easymenu.
482 (term-terminal-menu): Also show it in line-mode. (Bug#11957)
483 (term-pager-menu): New, extracted from term-process-pager.
484 (term-mode, term-char-mode, term-process-pager): Use easymenu-add.
485 (term-update-mode-line): Propertize line/char and page items.
486 (term-process-pager): Move keymap initialization elsewhere.
487
78dd6ab1
MR
4882012-09-01 Martin Rudalics <rudalics@gmx.at>
489
490 * window.el (switch-to-prev-buffer): Handle additional values of
491 BURY-OR-KILL argument. Don't switch in minibuffer window.
492 (switch-to-next-buffer): Don't switch in minibuffer window.
493 (quit-restore-window): New function based on quit-window.
494 Handle additional values of former KILL argument.
495 (quit-window): Call quit-restore-window with appropriate
496 interpretation of KILL argument.
497 (display-buffer-below-selected): New buffer display action
498 function.
499
3d10e134
SM
5002012-09-01 Stefan Monnier <monnier@iro.umontreal.ca>
501
502 * minibuffer.el (completion-at-point-functions): Complete docstring
503 (bug#12254).
504
0e23ef9d
PE
5052012-09-01 Paul Eggert <eggert@cs.ucla.edu>
506
507 Better seed support for (random).
508 * play/5x5.el, play/animate.el, play/cookie1.el, play/dissociate.el:
509 * play/doctor.el, play/dunnet.el, play/gomoku.el, play/landmark.el:
510 * play/mpuz.el, play/tetris.el, play/zone.el:
511 * calc/calc-comb.el (math-init-random-base):
512 * play/blackbox.el (bb-init-board):
513 * play/life.el (life):
514 * server.el (server-use-tcp):
515 * type-break.el (type-break):
516 Remove unnecessary call to (random t).
517 * net/sasl.el (sasl-unique-id-function):
518 Change (random t) to (random), now that the latter is more random.
519 * play/life.el (life-initialized): Remove no-longer-needed var.
520
862382df
MR
5212012-08-31 Alp Aker <alp.tekin.aker@gmail.com>
522
523 * window.el (switch-to-prev-buffer, switch-to-next-buffer):
524 Consider frame's buffer predicate when choosing the buffer.
525 (Bug#12081)
526
262a66e1
RS
5272012-08-30 Richard Stallman <rms@gnu.org>
528
529 * simple.el (special-mode-map): Delete binding for `z'.
530
f17e1d00
AS
5312012-08-30 Andreas Schwab <schwab@linux-m68k.org>
532
533 * progmodes/compile.el (compilation-always-kill): Doc fix.
534
24777832
CY
5352012-08-30 Chong Yidong <cyd@gnu.org>
536
537 * window.el (display-buffer-reuse-frames): Make the obsolescence
538 message more informative.
539
69ba1f04
GM
5402012-08-30 Glenn Morris <rgm@gnu.org>
541
542 * paren.el (show-paren-delay):
543 Add a :set function. Doc fix. (Bug#12297)
544
f0019ede
MB
5452012-08-29 Martin Blais <blais@furius.ca> (tiny change)
546
547 * progmodes/compile.el (compilation-always-kill): New var.
548 (compilation-start): Use it.
549
35e62fc9
SM
5502012-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
551
af070a1c
SM
552 * simple.el (read-only-mode): Move from files.el for bootstrapping.
553 * files.el (read-only-mode): Move to simple.el.
554
35e62fc9
SM
555 * files.el (read-only-mode): New minor mode.
556 (toggle-read-only): Use it and mark obsolete.
557 (find-file--read-only):
558 * vc/vc.el (vc-next-action, vc-checkout):
559 * vc/vc-cvs.el (vc-cvs-checkout):
560 * obsolete/vc-mcvs.el (vc-mcvs-update):
561 * ffap.el (ffap--toggle-read-only): Update callers.
562
c2c43c23
MA
5632012-08-29 Michael Albinus <michael.albinus@gmx.de>
564
565 * eshell/esh-ext.el (eshell-external-command): Do not examine
972debf2
SM
566 remote shell scripts.
567 See <https://bugs.launchpad.net/ubuntu/+source/emacs23/+bug/1035790>.
c2c43c23
MA
568
569 * net/tramp-sh.el (tramp-remote-path): Add "/sbin" and
570 "/usr/local/sbin".
571
9fba804b
SM
5722012-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
573
574 * emacs-lisp/cl-lib.el (buffer-string): Fix setter macro (bug#12293).
575
eada0861 5762012-08-28 Leo Liu <sdl.web@gmail.com>
22ab32ef 577
806f0cc7
LL
578 * progmodes/sh-script.el (sh-dynamic-complete-functions): Adapt to
579 completion-at-point. (Bug#12220)
580
3bb213b9
LL
581 * skeleton.el (skeleton-untabify): Change to nil (bug#12223).
582
22ab32ef
LL
583 * progmodes/sh-script.el (sh-indent-comment): Change to t (bug#12267).
584
eada0861 5852012-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
db148c21 586
19c17fc1
CY
587 * files.el (safe-local-eval-forms): Fix before-save-hook entry to
588 be buffer-local; add delete-trailing-whitespace (bug#12259).
db148c21 589
eada0861 5902012-08-28 Jeremy Moore <jmoore@ieee.org> (tiny change)
ffe6eaf1
JM
591
592 * progmodes/hideif.el (hif-compress-define-list):
593 Fix typo. (Bug#11951)
594
eada0861 5952012-08-28 Dan Nicolaescu <dann@gnu.org>
d30aca1b
DN
596
597 * progmodes/hideshow.el (hs-block-end-regexp): Restore lost
598 buffer local setting.
599
27d6c5a8
LL
600 * net/rcirc.el (rcirc-split-message): Fix for buffer-local
601 rcirc-encode-coding-system.
602
eada0861 6032012-08-28 Leo Liu <sdl.web@gmail.com>
4432d2e2
LL
604
605 * net/rcirc.el (rcirc-split-message): New function.
606 (rcirc-send-message): Use it. (Bug#12051)
607
d44688e4
JL
6082012-08-28 Juri Linkov <juri@jurta.org>
609
610 * info.el (Info-fontify-node): Hide empty lines at the end of
611 the node. (Bug#12272)
612
34f10d41
MR
6132012-08-27 Drew Adams <drew.adams@oracle.com>
614
615 * dired.el (dired-pop-to-buffer): Make window start at beginning
616 of buffer (Bug#12281).
617
77f1f99c
CY
6182012-08-26 Chong Yidong <cyd@gnu.org>
619
620 * window.el (special-display-regexps, special-display-frame-alist)
621 (special-display-buffer-names, special-display-function)
622 (display-buffer-reuse-frames): Mark as obsolete.
623
624 * progmodes/compile.el: Don't use display-buffer-reuse-frames.
625
626 * help.el (help-print-return-message): Don't treat
627 display-buffer-reuse-frames specially.
628
d97af5a0
CY
6292012-08-26 Chong Yidong <cyd@gnu.org>
630
9fba804b
SM
631 * progmodes/gdb-mi.el (gdb-display-buffer-other-frame-action):
632 New variable, replacing gdb-frame-parameters.
d97af5a0
CY
633 (gdb-frame-io-buffer, gdb-frame-breakpoints-buffer)
634 (gdb-frame-threads-buffer, gdb-frame-memory-buffer)
635 (gdb-frame-disassembly-buffer, gdb-frame-stack-buffer)
636 (gdb-frame-locals-buffer, gdb-frame-registers-buffer): Use it.
637 (def-gdb-frame-for-buffer): Macro deleted. It is easier to define
638 the functions directly with gdb-display-buffer-other-frame-action.
639 (gdb-display-breakpoints-buffer, gdb-display-threads-buffer)
640 (gdb-display-memory-buffer, gdb-display-disassembly-buffer)
641 (gdb-display-stack-buffer, gdb-display-locals-buffer)
642 (gdb-display-registers-buffer): Define directly.
643 (def-gdb-display-buffer): Macro deleted.
644 (gdb-display-buffer): Remove second and third args, callers don't
645 use them. Defer to the default display-buffer behavior, apart
646 from making windows dedicated.
647 (gdb-setup-windows): Don't call display-buffer unnecessarily.
648
649 * progmodes/gud.el (gud-display-line): Just use display-buffer.
650
651 * window.el (display-buffer-pop-up-frame): Handle a
652 pop-up-frame-parameters alist entry.
653 (display-buffer): Document it.
654
dd7ffad6
CY
6552012-08-26 Chong Yidong <cyd@gnu.org>
656
657 * isearch.el (search-whitespace-regexp): Make string and nil
658 values apply to both ordinary and regexp search. Allow a cons
659 cell value to distinguish between the two.
660 (isearch-whitespace-regexp, isearch-search-forward)
661 (isearch-search-backward): New functions.
662 (isearch-occur, isearch-search-fun-default, isearch-search)
663 (isearch-lazy-highlight-new-loop): Use them.
664 (isearch-forward, isearch-forward-regexp): Doc fix.
665
4c47bd1e
CY
6662012-08-26 Chong Yidong <cyd@gnu.org>
667
668 * faces.el (help-argument-name): Always inherit from italic
669 (Bug#12213).
670
9aba119d
MR
6712012-08-25 Martin Rudalics <rudalics@gmx.at>
672
673 * window.el (window--even-window-heights): Even heights when
674 WINDOW and the selected window form a vertical combination.
675 (display-buffer-use-some-window): Provide that window used gets
676 sized back by quit-window. (Bug#11880) and (Bug#12091)
677
ca5256ad
PE
6782012-08-24 Paul Eggert <eggert@cs.ucla.edu>
679
680 Fix file time stamp problem with bzr and CVS (Bug#12001).
681 * vc/vc-cvs.el (vc-cvs-parse-entry): Ignore subsecond information
682 in the file's time stamp, since the version control system loses
683 that information.
684
d1c0d176
JL
6852012-08-22 Juri Linkov <juri@jurta.org>
686
687 * info.el (Info-fontify-node): Hide the suffix of the
688 Info file name in the header line. (Bug#12187)
689
141562ff
GM
6902012-08-22 Glenn Morris <rgm@gnu.org>
691
692 * calendar/cal-tex.el (cal-tex-weekly-common):
693 Restore leading blank page.
694
61a48e19 6952012-08-22 Le Wang <l26wang@gmail.com> (tiny change)
add9ca2d
BG
696
697 * misc.el (forward-to-word, backward-to-word): Activate or extend
61a48e19
GM
698 the region under `shift-select-mode'. (Bug#12231)
699
7002012-08-22 Bastien Guerry <bzg@gnu.org>
0fcd3d9f
BG
701
702 * progmodes/executable.el (executable-prefix): Set to "#!" instead
703 of "#! ". http://www.in-ulm.de/~mascheck/various/shebang/#details
704 gives details on why the space is never needed.
705
ea95074e
MR
7062012-08-22 Martin Rudalics <rudalics@gmx.at>
707
9fba804b
SM
708 * window.el (walk-window-tree, window-with-parameter):
709 New optional argument MINIBUF to control whether these functions
ea95074e
MR
710 should run on the minibuffer window.
711 (window-at-side-list): Don't operate on minibuffer window.
712 (window-in-direction): Simplify and rewrite doc-string.
9fba804b
SM
713 (window--size-ignore): Rename to window--size-ignore-p.
714 Update callers.
caceae25
MR
715 (display-buffer-in-atom-window, window--major-non-side-window)
716 (window--major-side-window, display-buffer-in-major-side-window)
9fba804b
SM
717 (delete-side-window, display-buffer-in-side-window):
718 New functions.
caceae25
MR
719 (window--side-check, window-deletable-p, delete-window)
720 (delete-other-windows, split-window): Handle side windows and
721 atomic windows appropriately.
722 (window--display-buffer): Call display-buffer-record-window also
723 when the window buffer did not change.
ea95074e 724
80a51fa0
CS
7252012-08-22 Christopher Schmidt <christopher@ch.ristopher.com>
726
727 * help-fns.el (help-fns--key-bindings):
728 Abbreviate non-symbol remap targets. (Bug#12174)
729
fbb6300b
MR
7302012-08-22 Martin Rudalics <rudalics@gmx.at>
731
732 * dired.el (dired-mark-remembered): Don't clobber point.
733 (Bug#11795)
734
2b2c0794
GM
7352012-08-22 Glenn Morris <rgm@gnu.org>
736
737 * progmodes/bug-reference.el (bug-reference): New custom group.
738 (bug-reference-bug-regexp): Make it a defcustom.
739
37219830
DU
7402012-08-22 Daiki Ueno <ueno@unixuser.org>
741
742 * progmodes/js.el (js-indent-level, js-expr-indent-offset)
743 (js-paren-indent-offset, js-square-indent-offset)
744 (js-curly-indent-offset): Add :safe (Bug#12257).
745
94e0e559
EC
7462012-08-22 Edward O'Connor <hober0@gmail.com>
747
748 * json.el (json-key-format): Add error properties.
749 (json-encode-key): New function.
750 (json-encode-hash-table, json-encode-alist, json-encode-plist):
751 Use json-encode-key.
752
da485f5e
GM
7532012-08-22 Glenn Morris <rgm@gnu.org>
754
755 * calendar/cal-tex.el (cal-tex-longday): New function, replacing...
756 (cal-tex-leftday, cal-tex-rightday): Remove functions.
757 (cal-tex-weekly-common, cal-tex-cursor-filofax-2week):
758 Update for above change.
759
c6cc78b8
AS
7602012-08-21 Andreas Schwab <schwab@linux-m68k.org>
761
762 * cus-face.el (custom-face-attributes): Fix customize type for the
763 :underline attribute. (Bug#11805)
764
5481664a
MR
7652012-08-21 Martin Rudalics <rudalics@gmx.at>
766
767 * window.el (window-point-1, set-window-point-1): Remove.
768 (window-in-direction, record-window-buffer)
769 (set-window-buffer-start-and-point, split-window-below)
9fba804b
SM
770 (window--state-get-1, display-buffer-record-window):
771 Replace calls to window-point-1 and set-window-point-1 by calls to
5481664a
MR
772 window-point and set-window-point respectively.
773
6d74698e
GM
7742012-08-21 Glenn Morris <rgm@gnu.org>
775
b7fa2691
GM
776 * calendar/cal-tex.el (cal-tex-weekly-common): New function.
777 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-week):
778 Use it.
779
52f56d5a
GM
780 * calendar/cal-tex.el (cal-tex-rightday): Add optional funcname arg.
781 (cal-tex-shortday): New function.
782 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-week)
783 (cal-tex-cursor-filofax-daily): Use the above.
784
9f1ee09e
GM
785 * calendar/cal-tex.el (cal-tex-leftday, cal-tex-rightday):
786 New functions.
787 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-2week)
788 (cal-tex-cursor-filofax-week): Use them.
789
79858159
GM
790 * calendar/cal-tex.el (cal-tex-lefthead, cal-tex-righthead):
791 New constants.
792 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-2week)
793 (cal-tex-cursor-filofax-week, cal-tex-cursor-filofax-daily): Use them.
794
d346b2b4
GM
795 * calendar/cal-tex.el (cal-tex-preamble): Generate new buffers.
796 (cal-tex-end-document): Don't rely on buffer name.
797
b2403709
GM
798 * calendar/cal-tex.el (cal-tex-cursor-filofax-year):
799 Use cal-tex-vspace.
800 (cal-tex-vspace, cal-tex-hspace, cal-tex-em, cal-tex-bf)
801 (cal-tex-Huge-bf, cal-tex-large-bf): Use cal-tex-cmd.
2d225a3a
GM
802 (cal-tex-scriptsize, cal-tex-huge, cal-tex-Huge, cal-tex-large):
803 Use cal-tex-arg.
b2403709 804
1cebb5c0
GM
805 * calendar/cal-tex.el (cal-tex-cursor-filofax-year)
806 (cal-tex-cursor-week, cal-tex-cursor-week2)
807 (cal-tex-cursor-week-iso, cal-tex-cursor-week-at-a-glance)
808 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
809 (cal-tex-cursor-filofax-daily, cal-tex-cursor-day)
810 (cal-tex-insert-preamble, cal-tex-b-document)
811 (cal-tex-e-document, cal-tex-b-center, cal-tex-e-center):
812 Improve cal-tex-cmd usage.
813
c68cd5d4
GM
814 * calendar/cal-tex.el (cal-tex-filofax-paper): New function.
815 (cal-tex-cursor-filofax-year, cal-tex-cursor-filofax-2week)
816 (cal-tex-cursor-filofax-week, cal-tex-cursor-filofax-daily): Use it.
817 (cal-tex-weekly-paper): New function.
818 (cal-tex-cursor-week, cal-tex-cursor-week2)
819 (cal-tex-cursor-week-iso, cal-tex-cursor-week-monday)
820 (cal-tex-cursor-day): Use it.
821
9dca4801
GM
822 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance)
823 (cal-tex-cursor-filofax-week): Remove leading blank page.
824
1941e134
GM
825 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance):
826 Add autoload cookie. For now at least, don't use color, since
827 no other cal-tex function does.
828
6d74698e
GM
829 * calendar/cal-tex.el (cal-tex-cursor-week-iso)
830 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
831 (cal-tex-cursor-filofax-daily): Correct start date for diary entries.
832
64cde199
JL
8332012-08-21 Juri Linkov <juri@jurta.org>
834
835 * info.el (Info-file-attributes): New variable.
836 (info-insert-file-contents): Add file attributes to
837 `Info-file-attributes'. Clear the caches `Info-index-nodes' and
838 `Info-toc-nodes' when previous modtime of the Info file is less
839 than new modtime.
840 (Info-toc-nodes, Info-index-nodes): Move definitions up to the top
841 of info.el. (Bug#12230)
842
32757648
GM
8432012-08-20 Glenn Morris <rgm@gnu.org>
844
845 * calendar/diary-lib.el (diary-include-files, diary-sexp-entry):
846 * calendar/holidays.el (calendar-holiday-list):
847 Report errors with display-warning rather than beep'n'sleep.
848
a32fbbcf
MA
8492012-08-20 Michael Albinus <michael.albinus@gmx.de>
850
851 * net/tramp.el (tramp-accept-process-output): Accept only output
852 from PROC. Otherwise, process filters and sentinels might be
853 confused. (Bug#12145)
854
a05731a0
CY
8552012-08-20 Chong Yidong <cyd@gnu.org>
856
857 * descr-text.el (describe-text-properties-1): Use overlays-in to
858 report on empty overlays (Bug#3322).
859
36e8d1eb
GM
8602012-08-20 Glenn Morris <rgm@gnu.org>
861
3d300447
GM
862 * mail/rmailout.el (rmail-output-read-file-name):
863 Trap and report errors in rmail-output-file-alist elements.
864
36e8d1eb
GM
865 * font-lock.el (font-lock-add-keywords): Doc fix (quote face names
866 since most non-font-lock faces are not also variables).
867
b96e5814
ER
8682012-08-20 Edward Reingold <reingold@iit.edu>
869
870 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance):
871 New function. (Bug12160)
872
7cef3569
GM
8732012-08-19 Glenn Morris <rgm@gnu.org>
874
875 * mail/rmailout.el (rmail-output-read-file-name):
876 Fix previous change (when the alist is nil or does not match).
877
17975d7f
CY
8782012-08-19 Chong Yidong <cyd@gnu.org>
879
880 * xml.el (xml-escape-string): Don't refer to xml-entity-alist
881 (Bug#12228).
882
2170b1bd
CY
8832012-08-18 Chong Yidong <cyd@gnu.org>
884
885 * simple.el (yank-handled-properties): New defcustom.
886 (yank-excluded-properties): Add font-lock-face and category.
887 (yank): Doc fix.
888
9fba804b
SM
889 * subr.el (remove-yank-excluded-properties):
890 Obey yank-handled-properties. The special handling of font-lock-face
2170b1bd
CY
891 and category is now done this way, instead of being hard-coded.
892 (insert-for-yank-1): Remove font-lock-face handling.
893 (yank-handle-font-lock-face-property)
894 (yank-handle-category-property): New function.
895
ee218151
GM
8962012-08-17 Glenn Morris <rgm@gnu.org>
897
898 * mail/rmailout.el (rmail-output-read-file-name):
899 Check rmail-output-file-alist against the full message body
900 in the correct rmail buffer. (Bug#12214)
901
4a6bc3fd
MA
9022012-08-17 Michael Albinus <michael.albinus@gmx.de>
903
9fba804b
SM
904 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
905 Eliminate superfluous prompt. (Bug#12203)
4a6bc3fd 906
383dcbf9
CY
9072012-08-17 Chong Yidong <cyd@gnu.org>
908
909 * mouse.el (mouse-appearance-menu): If x-select-font returns a
910 font spec, set the font directly (Bug#3228).
911
998c4a6a
MR
9122012-08-17 Martin Rudalics <rudalics@gmx.at>
913
914 * window.el (delete-window): Fix last fix.
915
52162052
MR
9162012-08-16 Martin Rudalics <rudalics@gmx.at>
917
918 * window.el (window-valid-p): Move to window.c.
85c2386b
MR
919 (window-child, window-child-count, window-last-child)
920 (window-normalize-window, window-combined-p)
921 (window-combinations, window-atom-root, window-min-size)
922 (window-sizable, window-sizable-p, window-size-fixed-p)
923 (window-min-delta, window-max-delta, window--resizable)
924 (window--resizable-p, window-resizable, window-total-size)
925 (window-full-height-p, window-full-width-p, window-body-size)
926 (window-at-side-p, adjust-window-trailing-edge, maximize-window)
927 (minimize-window, window-deletable-p, delete-window)
928 (delete-other-windows, set-window-buffer-start-and-point)
929 (next-buffer, previous-buffer, split-window, balance-windows-2)
930 (set-window-text-height, window-buffer-height)
931 (fit-window-to-buffer, shrink-window-if-larger-than-buffer)
9fba804b
SM
932 (truncated-partial-width-window-p): Minor code adjustments.
933 In doc-strings state whether the argument window has to denote a
85c2386b 934 live, valid or any window.
52162052 935
1c308380
PS
9362012-08-16 Phil Sainty <psainty@orcon.net.nz> (tiny change)
937
938 * progmodes/subword.el (subword-forward-function)
939 (subword-backward-function, subword-forward-regexp)
940 (subword-backward-regexp): New variables.
941 (subword-forward, subword-forward-internal, subword-backward-internal):
942 Use new variables, eg so that different "word" definitions
943 can be easily used. (Bug#11411)
944
94c9ece1
SM
9452012-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
946
947 * vc/vc-mtn.el (vc-mtn-revision-completion-table): Handle completion
948 for composite selectors.
949 * vc/vc.el (vc-diff-build-argument-list-internal): Don't prevent
950 operation just because we can't find a previous revision.
951
f2045622
CY
9522012-08-15 Chong Yidong <cyd@gnu.org>
953
954 * frame.el (set-frame-font): Accept font objects.
955
582db660
SM
9562012-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
957
958 * textmodes/tex-mode.el (tex-insert-quote): ~ is a space (bug#12137).
959
2f29c200
WJ
9602012-08-15 Wolfgang Jenkner <wjenkner@inode.at>
961
456e62c2
WJ
962 * man.el (Man-overstrike-face, Man-underline-face)
963 (Man-reverse-face): Remove variables.
964 (Man-overstrike, Man-underline, Man-reverse): New faces.
965 (Man-fontify-manpage): Use them instead of the variables.
966 (Man-cleanup-manpage): Comment change.
967 (Man-ansi-color-map): New variable.
968 (Man-fontify-manpage): Use it.
969 Call ansi-color-apply-on-region to replace ad hoc code (bug#12147).
970
2f29c200
WJ
971 Implement ANSI SGR parameters 22-27 (bug#12146).
972 * ansi-color.el (ansi-colors): Doc fix.
973 (ansi-color-context, ansi-color-context-region): Doc fix.
974 (ansi-color--find-face): New function.
975 (ansi-color-apply, ansi-color-apply-on-region): Use it.
976 Rename the local variable `face' to `codes' since it is now a list of
977 ansi codes. Doc fix.
978 (ansi-color-get-face): Remove.
979 (ansi-color-parse-sequence): New function, derived from
980 ansi-color-get-face.
981 (ansi-color-apply-sequence): Use it. Rewrite, and support ansi
982 codes 22-27.
983
b4f5e9df
SM
9842012-08-14 Stefan Monnier <monnier@iro.umontreal.ca>
985
986 * subr.el (read-passwd): Allow use from a minibuffer.
987
ba025fbd
EZ
9882012-08-14 Eli Zaretskii <eliz@gnu.org>
989
990 * tooltip.el (tooltip-identifier-from-point): Don't treat tokens
991 inside comments and strings as identifiers.
992
993 * progmodes/gud.el (gud-tooltip-print-command): Quote the
994 expression to evaluate. This allows to evaluate expressions with
995 embedded whitespace.
996 (gud-tooltip-tips): Add a blank before the newline in the
997 message-box text, for the benefit of message-box emulation on
998 MS-Windows.
999
1000 * progmodes/gdb-mi.el (gdb-tooltip-print): Don't ignore error
1001 messages from GDB, pop them up in a tooltip to give feedback to
1002 user.
b4f5e9df
SM
1003 (gdb-tooltip-print-1): Quote the expression to evaluate.
1004 This allows to evaluate expressions with embedded whitespace.
ba025fbd
EZ
1005 (gdb-inferior-io--init-proc): Don't send "-inferior-tty" command
1006 if the TTY name is nil or empty (which happens when communicating
1007 with the inferior via pipes, e.g. on MS-Windows).
1008 (gdb-internals): If GDB sends a "&\n" empty debugging message,
1009 don't send that to the GUD buffer.
1010
c548f821
GM
10112012-08-14 Glenn Morris <rgm@gnu.org>
1012
1013 * emacs-lisp/bytecomp.el (byte-compile-setq-default):
1014 Optimize away setq-default with no args, as for setq. (Bug#12195)
1015
55802e4a
CY
10162012-08-14 Chong Yidong <cyd@gnu.org>
1017
4abcdac8
CY
1018 * minibuffer.el (read-file-name): Doc fix (Bug#10881).
1019
55802e4a
CY
1020 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Doc fix
1021 (Bug#12085).
1022
3c3cda1a
GM
10232012-08-14 Glenn Morris <rgm@gnu.org>
1024
1025 * emacs-lisp/bytecomp.el (byte-recompile-file): Doc fix.
1026
e1873bd0
MA
10272012-08-14 Michael Albinus <michael.albinus@gmx.de>
1028
1029 * net/tramp-sh.el (tramp-open-shell): Cache the shell name.
1030 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
1031 Use cached shell name.
1032
925411b4
FEG
10332012-08-14 Fabián Ezequiel Gallina <fgallina@cuca>
1034
1035 * progmodes/python.el (python-shell-send-string):
3c3cda1a 1036 (python-shell-send-setup-code): Do not use `format' with `message'.
925411b4 1037
e636fafe
DG
10382012-08-14 Dmitry Gutov <dgutov@yandex.ru>
1039
1040 * progmodes/ruby-mode.el: Improve percent literals (bug#6286).
1041 (ruby-percent-literal-beg-re): New constant.
1042 (ruby-syntax-general-delimiters-goto-beg): Rename to
1043 `ruby-syntax-enclosing-percent-literal', improve literal type check.
1044 (ruby-syntax-propertize-general-delimiters): Rename to
1045 `ruby-syntax-propertize-percent-literal', it's a shorter and more
1046 popular term. Adjust comments everywhere.
1047 (ruby-syntax-propertize-percent-literal): Only propertize when not
1048 inside a simple string or comment. When the literal is unclosed,
1049 leave the text after it unpropertized.
f063063a
DG
1050 (ruby-syntax-methods-before-regexp): New constant.
1051 (ruby-syntax-propertize-function): Use it to recognize regexps.
1052 Don't look at the text after regexp, just use the whitelist.
e636fafe 1053
e5b19827
AS
10542012-08-14 Andreas Schwab <schwab@linux-m68k.org>
1055
1056 * emacs-lisp/bytecomp.el (byte-recompile-file): When LOAD is
1057 non-nil always load the compiled file if it exists. (Bug#12197)
1058
a9f6f311
CY
10592012-08-14 Chong Yidong <cyd@gnu.org>
1060
1061 * hi-lock.el (hi-lock-mode): Do not unilaterally enable font lock.
1062 (hi-lock-set-pattern): When deciding whether to use font lock or
1063 overlays, look at font-lock-mode instead of font-lock-fontified
1064 (Bug#12168).
1065 (hi-lock-mode, hi-lock-line-face-buffer, hi-lock-unface-buffer)
1066 (hi-lock-face-buffer, hi-lock-face-phrase-buffer): Doc fix.
1067
7d806b1e
DU
10682012-08-14 Daiki Ueno <ueno@unixuser.org>
1069
1070 * subr.el (internal--after-with-selected-window): Fix typo
1071 (Bug#12193).
1072
5beed586
FEG
10732012-08-14 Fabián Ezequiel Gallina <fgallina@cuca>
1074
1075 Use `completion-table-dynamic' for completion functions.
1076 * progmodes/python.el
1077 (python-shell-completion--do-completion-at-point)
e636fafe
DG
1078 (python-shell-completion--get-completions):
1079 Remove functions.
5beed586
FEG
1080 (python-shell-completion-complete-at-point): New function.
1081 (python-completion-complete-at-point): Use it.
1082
92cb3b04
J
10832012-08-13 Jambunathan K <kjambunathan@gmail.com>
1084
1085 * vc/vc-dir.el (vc-dir-hide-state): New command (bug#12159).
1086 (vc-dir-hide-up-to-date): Route it to `vc-dir-hide-state'.
1087
89660017
SM
10882012-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
1089
3c98c962
SM
1090 * subr.el (function-get): Refine `autoload' arg so it can also
1091 autoload functions for gv.el (bug#12191).
1092 * emacs-lisp/edebug.el (get-edebug-spec): Adjust so it only
1093 autoloads macros.
1094
aa7c6dbe
SM
1095 * color.el (color-xyz-to-lab, color-lab-to-xyz, color-cie-de2000):
1096 Prefer pcase-let over destructuring-bind.
1097 * vc/diff-mode.el (diff-remove-trailing-whitespace): Same.
1098 Also, remove whitespace as we go, rather than after accumulating the
1099 various places.
1100
89660017
SM
1101 * subr.el (internal--before-with-selected-window)
1102 (internal--after-with-selected-window): Fix typo seleted->selected.
1103 (with-selected-window): Adjust callers.
1104 Reported by Dmitry Gutov <dgutov@yandex.ru>.
1105
31cd32c9
BG
11062012-08-13 Bastien Guerry <bzg@gnu.org>
1107
0fcd3d9f 1108 * window.el (special-display-popup-frame): Minor docstring
31cd32c9
BG
1109 enhancement. (Bug#12172)
1110
1b15d8ad
AS
11112012-08-13 Andreas Schwab <schwab@linux-m68k.org>
1112
31e54db0
AS
1113 * tar-mode.el (tar-header-data-end): Only ignore size for files of
1114 type 1-6.
1115 (tar-header-block-summarize, tar-get-descriptor): Handle pax
1116 extended headers.
1117
1b15d8ad
AS
1118 * files.el (hack-local-variables-filter): Remove useless eval.
1119
35cb9c06
MR
11202012-08-13 Martin Rudalics <rudalics@gmx.at>
1121
1122 * subr.el (with-selected-window): Fix last change.
1123
1439443b
SM
11242012-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
1125
1126 * subr.el (internal--before-with-seleted-window)
1127 (internal--after-with-seleted-window): New functions.
1b15d8ad
AS
1128 (with-selected-window): Use them, to replace dependency on
1129 tty-top-frame.
1439443b 1130
0d9e2599
NN
11312012-08-12 Nobuyoshi Nakada <nobu@ruby-lang.org>
1132
1133 * progmodes/ruby-mode.el (ruby-mode-map): Remove unnecessary
1134 binding for `newline'.
1135 (ruby-move-to-block): When moving backward, stop at block opening,
1136 not indentation.
1137 * progmodes/ruby-mode.el (ruby-brace-to-do-end)
1138 (ruby-do-end-to-brace, ruby-toggle-block): New functions.
1139 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
1140 `ruby-toggle-block'.
1141
ba10c48c
SM
11422012-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
1143
1144 * ibuffer.el (ibuffer-do-toggle-read-only):
1145 * dired.el (dired-toggle-read-only):
1146 * buff-menu.el (Buffer-menu-toggle-read-only):
1147 * bindings.el (mode-line-toggle-read-only):
1148 * bs.el (bs-toggle-readonly): Call toggle-read-only interactively.
1149
9229c658
AS
11502012-08-12 Andreas Schwab <schwab@linux-m68k.org>
1151
1152 * descr-text.el (describe-char): Put the overlays over the
1153 "displayed as" character.
1154
0fd09128
JB
11552012-08-12 Jay Belanger <jay.p.belanger@gmail.com>
1156
1157 * calc/calc-units.el (math-default-units-table): Give an
1158 initial value.
1159 (math-put-default-units): Add options to put composite units and
1160 unit systems in the default units table.
1161 (calc-convert-units): Send composite units to
1162 `math-put-default-units' when appropriate.
1163
9ff9402d 11642012-08-11 Glenn Morris <rgm@gnu.org>
7aacaf15 1165
fbb5e336
GM
1166 * emacs-lisp/copyright.el (copyright-update-directory): Logic fix.
1167
7aacaf15
GM
1168 * tutorial.el (help-with-tutorial):
1169 * emacs-lisp/copyright.el (copyright-update-directory):
1170 * emacs-lisp/autoload.el (autoload-find-generated-file)
1171 (autoload-find-file): Disable local eval: (for insurance).
1172
f40b9f10
GM
1173 * files.el (hack-local-variables-filter): If an eval: form is not
1174 known to be safe, and enable-local-variables is :safe, then ignore
1175 the form totally, as is done for non-eval forms. (Bug#12155)
6f97980a 1176 This is CVE-2012-3479.
f40b9f10 1177
daa9f1a6
SM
11782012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
1179
1180 * emacs-lisp/rx.el (rx-constituents): Don't define as constant.
1181 (rx-form): Simplify.
1182
9cd80478
DG
11832012-08-09 Dmitry Gutov <dgutov@yandex.ru>
1184
0d9e2599
NN
1185 * progmodes/ruby-mode.el (ruby-expr-beg, ruby-parse-partial):
1186 ?, _, and : are symbol constituents, ! is not (but kinda should be).
1187 (ruby-syntax-propertize-heredoc): Use ruby-singleton-class-p.
1188 (ruby-syntax-propertize-function): Adjust for changes in
1189 `ruby-syntax-propertize-heredoc'.
1190
11912012-08-09 Nobuyoshi Nakada <nobu@ruby-lang.org>
1192
9cd80478
DG
1193 * progmodes/ruby-mode.el (ruby-mode-map): Remove deprecated
1194 binding (use `M-;' instead).
9cd80478 1195 (ruby-singleton-class-p): New function.
0d9e2599 1196 (ruby-expr-beg, ruby-in-here-doc-p) Use it.
9cd80478 1197
d301b413
SM
11982012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
1199
1200 * emacs-lisp/cl-macs.el (cl-loop): Improve debug spec.
1201
1530c98e
CY
12022012-08-10 Chong Yidong <cyd@gnu.org>
1203
1204 * progmodes/python.el (python-shell-get-process-name): Don't mess
1205 with same-window-buffer-names.
1206
1207 * eshell/eshell.el (eshell-add-to-window-buffer-names)
1208 (eshell-remove-from-window-buffer-names): Make obsolete.
1209 (eshell-buffer-name, eshell-unload-hook): Don't use them.
1210 (eshell): Just use pop-to-buffer-same-window instead.
1211
e1293765
CY
12122012-08-10 Chong Yidong <cyd@gnu.org>
1213
1214 * bindings.el: Bind M-= back to count-words-region.
1215
1216 * simple.el (count-words-region): Accept a prefix arg for acting
1217 on the entire buffer.
1218 (count-words--buffer-message): New helper function.
1219
e1894109
SM
12202012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
1221
1222 * term/x-win.el (x-menu-bar-open): Always pass last-nonmenu-event.
1223 * subr.el (eventp): `nil' is not an event, and eventp is not hot.
1224 (event-start, event-end): Use posn-at-point to return a more
1225 informative posn.
1226 (posnp): New function.
1227 * mouse.el (popup-menu-normalize-position): Use it.
1228
c69f56a2
MY
12292012-08-10 Masatake YAMATO <yamato@redhat.com>
1230
1231 * mouse.el (popup-menu-normalize-position): New function.
1232 (popup-menu): Use `popup-menu-normalize-position' to normalize
1233 the form for POSITION argument.
1234
1235 * term/x-win.el (x-menu-bar-open):
1236 Use the value returend from (posn-at-point) as position
1237 passed to `popup-menu'.
1238
31673780
JB
12392012-08-09 Jay Belanger <jay.p.belanger@gmail.com>
1240
1241 * calc/calccomp.el (math-compose-expr): Add extra argument
1242 indicating that parentheses should be put around products in
1243 denominators. Give multiplication precedence over division during
1244 composition.
1245
dab7711b
CY
12462012-08-09 Chong Yidong <cyd@gnu.org>
1247
dee4ef93
CY
1248 * man.el (Man-switches, Man-sed-command, Man-awk-command)
1249 (Man-mode-hook, Man-cooked-hook, Man-untabify-command-args)
1250 (Man-untabify-command, manual-program): Convert to defcustom
1251 (Bug#10429).
1252
73e2bbc5
CY
1253 * vc/add-log.el (change-log-mode): Bind comment-start to nil.
1254
3e861c8a
CY
1255 * descr-text.el (describe-char): Don't insert extra newlines
1256 (Bug#10127).
1257
a9f5a649
CY
1258 * vc/log-view.el (log-view-diff): Use use-region-p (Bug#10133).
1259 (log-view-diff-changeset, log-view-minor-wrap): Likewise.
1260
dab7711b
CY
1261 * align.el (align-region): Delete temporary markers (Bug#10047).
1262 Plus some code cleanups.
1263
e0cc4efa
FEG
12642012-08-09 Fabián Ezequiel Gallina <fgallina@cuca>
1265
1266 * progmodes/python.el (python-pdbtrack-tracked-buffer)
1267 (python-pdbtrack-buffers-to-kill, python-shell-internal-buffer)
1268 (python-shell-internal-last-output): Use make-local-variable
1269 instead of make-variable-buffer-local.
1270
489af14f
FEG
12712012-08-09 Fabián Ezequiel Gallina <fgallina@cuca>
1272
1273 * progmodes/python.el: Enhancements to forward-sexp.
1274 (python-nav-forward-sexp): Rename from
1275 python-nav-forward-sexp-function.
c69f56a2
MY
1276 (python-nav--forward-sexp, python-nav--backward-sexp):
1277 New functions.
489af14f 1278
0fc50303
JB
12792012-08-09 Jay Belanger <jay.p.belanger@gmail.com>
1280
1281 * calc/calc-menu.el (calc-modes-menu): Add entries for matrix
1282 modes and simplification modes.
1283
5d65606a
SM
12842012-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
1285
1286 * delsel.el (delete-selection-pre-hook): Don't propagate the
1287 file-supersession signals (bug#12161).
1288
4250fdf5
SM
12892012-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
1290
1291 * emacs-lisp/cl.el (cl-map-keymap-recursively, cl-map-intervals)
1292 (cl-map-extents): Add compatibility aliases (bug#12135).
1293
d9f9b465
MA
12942012-08-08 Michael Albinus <michael.albinus@gmx.de>
1295
1296 * net/tramp-sh.el (tramp-find-file-exists-command): Protect the
1297 tests by `ignore-error'.
1298 (tramp-find-shell): Open also a new shell, when cache is already
1299 set. Reported by Carsten Bormann <cabo@tzi.org>. (Bug#12148)
1300
ce0fcefa
JL
13012012-08-08 Juri Linkov <juri@jurta.org>
1302
1303 * bookmark.el: Add `defaults' property to the bookmark record.
1304 (bookmark-current-buffer): Doc fix.
1305 (bookmark-make-record): Add `defaults' property with default values
1306 to the bookmark record.
1307 (bookmark-minibuffer-read-name-map): Remove key binding "\C-u"
1308 with `bookmark-insert-current-bookmark'.
1309 (bookmark-set): Get `defaults' property from the bookmark record
1310 and use it in `read-from-minibuffer'.
1311 (bookmark-insert-current-bookmark): Remove function.
1312
1313 * info.el (Info-bookmark-make-record): Add `defaults' property
1314 with values of canonical Info node name, the current Info file
1315 name and the current Info node name. (Bug#12107)
1316
53fa8652
JL
13172012-08-08 Juri Linkov <juri@jurta.org>
1318
1319 * files.el (basic-save-buffer): Use `buffer-name' as the default
1320 of `read-file-name' when buffer is not visiting a file (bug#12128).
1321
242c0a95
JL
13222012-08-08 Juri Linkov <juri@jurta.org>
1323
1324 * info.el (Info-isearch-search): Doc fix.
1325 (Info-search): Change search-failed message from "initial node" to
1326 "end of node" (bug#12078).
1327 (Info-isearch-search): Change `isearch-string-state' to
1328 `isearch--state-string'.
1329
32ac3a6b
GM
13302012-08-08 Glenn Morris <rgm@gnu.org>
1331
1332 * language/persian.el: Remove file.
f8c1afd5 1333 * language/misc-lang.el: Move unique part of persian.el here.
32ac3a6b
GM
1334 * loadup.el: Remove language/persian.
1335
2c2d9c9c
OF
13362012-08-08 Óscar Fuentes <ofv@wanadoo.es>
1337
1338 * vc/diff-mode.el (diff-remove-trailing-whitespace): New function.
1339
2d79ec42
FEG
13402012-08-08 Fabián Ezequiel Gallina <fgallina@cuca>
1341
1342 * progmodes/python.el Fixed defsubst warning.
1343 (python-syntax-context) Rename from python-info-ppss-context.
1344 (python-syntax-context-type): Rename from
1345 python-info-ppss-context-type.
1346 (python-syntax-comment-or-string-p): Rename from
1347 python-info-ppss-comment-or-string-p.
1348
2bd255dd
JB
13492012-08-08 Jay Belanger <jay.p.belanger@gmail.com>
1350
1351 * calc/calc-misc.el (calc-record-why): Don't record a message twice.
1352
c395097f
AS
13532012-08-07 Andreas Schwab <schwab@linux-m68k.org>
1354
6125983e
AS
1355 * emacs-lisp/lisp-mode.el (eval-defun-1): Handle standard value of
1356 a defcustom that is quoted with backquote.
1357
4250fdf5
SM
1358 * calc/calc-prog.el (math-do-defmath): Use backquote forms.
1359 Fix handling of interactive spec when the body uses return.
651eaf36
AS
1360 (math-do-arg-check, math-define-function-body): Use backquote forms.
1361 * calc/calc-ext.el (math-defcache): Likewise.
1362 * calc/calc-rewr.el (math-rwfail, math-rweval): Likewise.
1363 * allout.el (allout-new-exposure): Likewise.
1364 * calc/calcalg2.el (math-tracing-integral): Likewise.
1365 * info.el (Info-last-menu-item): Likewise.
1366 * emulation/vip.el (vip-loop): Likewise.
1367 * textmodes/artist.el (artist-funcall): Likewise.
1368 * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle):
1369 Construct menu-item directly.
1370
4250fdf5
SM
1371 * progmodes/autoconf.el (font-lock-syntactic-keywords):
1372 Don't declare.
c395097f 1373
5fb50dd3
CY
13742012-08-07 Chong Yidong <cyd@gnu.org>
1375
1376 * simple.el (deactivate-mark): Preserve text properties when
1377 saving the primary selection (Bug#8384).
1378
54eea618
KR
13792012-08-07 Kevin Ryde <user42@zip.com.au>
1380
1381 * woman.el (woman0-if): Quietly treat ".if v" as false (Bug#12109).
1382 (woman-parse-numeric-value): On a bad .IP line, issue a warning
1383 and continue processing (Bug#12110).
1384
638eaeb9
SM
13852012-08-06 Stefan Monnier <monnier@iro.umontreal.ca>
1386
1387 * progmodes/cperl-mode.el (cperl-mode): Yet another fix for
1388 syntax-propertize-function (bug#10095).
1389
ea376861
SM
13902012-08-06 Stefan Monnier <monnier@iro.umontreal.ca>
1391
f91b35be
SM
1392 * help-fns.el (help-fns--key-bindings, help-fns--signature)
1393 (help-fns--parent-mode, help-fns--obsolete): New funs, extracted from
1394 describe-function-1.
1395 (describe-function-1): Use them. Move compiler macro after sig.
1396 (help-fns--compiler-macro): Use function-get. Assume we're already in
1397 standard-output. Adjust layout to new call order.
1398
ea376861
SM
1399 * emacs-lisp/cl-macs.el (cl--sm-macroexpand): Fix handling of
1400 re-binding a symbol that has a symbol-macro (bug#12119).
1401
d5be7bd0
MB
14022012-08-06 Mohsen BANAN <libre@mohsen.1.banan.byname.net>
1403
1404 * language/persian.el: New file. (Bug#11812)
1405 * loadup.el: Add language/persian.el.
1406
90749b53
CY
14072012-08-06 Chong Yidong <cyd@gnu.org>
1408
1409 * window.el (window--maybe-raise-frame): New function.
1410 (window--display-buffer): Split off from here.
1411 (display-buffer-reuse-window, display-buffer-pop-up-frame)
1412 (display-buffer-pop-up-window, display-buffer-use-some-window):
1413 Obey an inhibit-switch-frame action alist entry.
1414 (display-buffer): Update doc.
1415
1416 * replace.el (occur-after-change-function): Avoid losing focus by
1417 using the inhibit-switch-frame display parameter (Bug#12139).
1418
ba7b0154
FEG
14192012-08-06 Fabián Ezequiel Gallina <fgallina@cuca>
1420
1421 Make internal shell process buffer names start with space.
1422 * progmodes/python.el (python-shell-make-comint): Add optional
1423 argument INTERNAL.
1424 (run-python-internal): Use it.
1425 (python-shell-internal-get-or-create-process): Check for new
1426 internal buffer names.
1427
5eaeacb5
GM
14282012-08-06 Glenn Morris <rgm@gnu.org>
1429
e296d94b 1430 * eshell/esh-ext.el (eshell/addpath): Use dolist and mapconcat.
5eaeacb5
GM
1431 Do less getting and setting of environment variables.
1432
b7ccbdc2
CY
14332012-08-05 Chong Yidong <cyd@gnu.org>
1434
777fe95e
CY
1435 * proced.el (proced): Add substitution string to docstring to
1436 trigger autoloading of the proced library on C-h f (Bug#1768).
1437
4250fdf5
SM
1438 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
1439 Don't show defvars which have no second argument (Bug#8638).
b7ccbdc2
CY
1440
1441 * imenu.el (imenu-generic-expression): Move documentation here
1442 from imenu--generic-function.
1443 (imenu--generic-function): Refer to imenu-generic-expression.
1444
9e3b7800 14452012-08-05 Vegard Øye <vegard_oye@hotmail.com> (tiny change)
d5c31f1d
VØ
1446
1447 * emulation/viper-init.el (viper-deflocalvar): Add docstring and
1448 indentation declaration.
1449 (viper-loop): Add indentation declaration (Bug#7025).
1450
e5d9c0d1
CY
14512012-08-05 Chong Yidong <cyd@gnu.org>
1452
f0422feb
CY
1453 * help-fns.el (describe-variable): Add hyperlink for
1454 directory-local variables files. Improve buffer-local and
1455 permanent-local reporting; suggested by MON KEY (Bug#6644).
1456
1457 * help-mode.el (help-dir-local-var-def): New button type.
1458
e5d9c0d1
CY
1459 * files.el (kill-buffer-hook): Provide a defvar.
1460
a4f2deaa
GM
14612012-08-05 Glenn Morris <rgm@gnu.org>
1462
1463 * eshell/esh-ext.el (eshell/addpath):
1464 Also update eshell-path-env. (Bug#12013)
1465
a9dd5754
CY
14662012-08-05 Chong Yidong <cyd@gnu.org>
1467
a4f2deaa 1468 * wdired.el (wdired-mode, wdired-change-to-wdired-mode): Doc fixes.
615b0bf0 1469
d014c740
CY
1470 * fringe.el (fringe-styles): Add docstring.
1471 (fringe--check-mode): New function.
1472 (set-fringe-mode, set-fringe-style): Use it.
1473 (fringe-mode, set-fringe-style): Doc fixes (Bug#6480).
1474
a9dd5754
CY
1475 * files.el (set-auto-mode): Fix invalid setq call.
1476
7c2dc8bd
SM
14772012-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
1478
1479 * isearch.el: Misc simplification; use defstruct.
1480 (isearch-mode-map): Dense maps now work like sparse ones.
1481 (isearch--state): New defstruct.
1482 (isearch-string-state, isearch-message-state, isearch-point-state)
1483 (isearch-success-state, isearch-forward-state)
1484 (isearch-other-end-state, isearch-word-state, isearch-error-state)
1485 (isearch-wrapped-state, isearch-barrier-state)
1486 (isearch-case-fold-search-state, isearch-pop-fun-state): Remove,
1487 replaced by defstruct's accessors.
1488 (isearch--set-state): Rename from isearch-top-state and change
1489 calling convention.
1490 (isearch-push-state): Use new isearch--get-state.
1491 (isearch-toggle-word): Disable regexp when enabling word.
1492 (isearch-message-prefix): Remove unused arg _c-q-hack.
1493 (isearch-message-suffix): Remove unused arg _ellipsis.
1494
7fcc0070
AS
14952012-08-04 Andreas Schwab <schwab@linux-m68k.org>
1496
1497 * simple.el (list-processes--refresh): For a server use :host or
1498 :local as the address.
97ad0769 1499 (list-processes): Doc fix.
7fcc0070 1500
00340faf
MN
15012012-08-04 Michal Nazarewicz <mina86@mina86.com> (tiny change)
1502
1503 * lisp/mpc.el: Support password in host argument.
1504 (mpc--proc-connect): Parse and use new password element.
1505 Set mpc-proc variable instead of returning process.
1506 (mpc-proc): Adjust accordingly.
1507
6dad7178
EZ
15082012-08-03 Eli Zaretskii <eliz@gnu.org>
1509
18949c2f
EZ
1510 * whitespace.el (whitespace-display-mappings): Use Unicode
1511 codepoints, instead of emacs-mule codepoints. See
1512 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-07/msg00366.html
1513 for the details.
1514
6dad7178
EZ
1515 * files.el (file-truename): Don't skip symlink-chasing part on
1516 windows-nt. Incorporate the resolution of 8+3 short aliases on
4250fdf5
SM
1517 Windows into the loop that recursively chases symlinks.
1518 Compare directory and its parent case-insensitively on MS-Windows and
6dad7178
EZ
1519 MS-DOS.
1520
385b0198
CY
15212012-08-03 Chong Yidong <cyd@gnu.org>
1522
6200f3c4
CY
1523 * menu-bar.el (menu-bar-tools-menu): Remove PCL-CVS.
1524
385b0198
CY
1525 * sort.el (sort-regexp-fields): Doc fix.
1526
b9e74744
TH
15272012-08-03 Tassilo Horn <tsdh@gnu.org>
1528
1529 * textmodes/reftex.el (reftex-compile-variables): Make keyvals
1530 labels regex position point at the expected place.
1531
41013cb4
MK
15322012-08-03 MON KEY <monkey@sandpframing.com>
1533
1534 * net/imap.el (imap-interactive-login, imap-authenticate)
1535 (imap-mailbox-lsub, imap-mailbox-list)
1536 (imap-mailbox-status-asynch, imap-mailbox-acl-delete)
1537 (imap-fetch, imap-message-flag-permanent-p, imap-envelope-from)
1538 (imap-parse-response): Doc fix.
1539
0ffee616
JT
15402012-08-03 João Távora <joaotavora@gmail.com>
1541
1542 * textmodes/tex-mode.el (latex-forward-sexp): Terminate the loop
1543 if sexp scanning does not move point (Bug#5734).
1544
cfcc9cc8
TH
15452012-08-02 Tassilo Horn <tsdh@gnu.org>
1546
1547 * textmodes/reftex-vars.el (reftex-default-label-alist-entries):
1548 Add listings, minted, and ctable packages.
1549 (reftex-label-alist-builtin): Move listings, minted, and ctable
1550 entries before LaTeX.
a01bbb84 1551 (reftex-label-alist): Docfix.
cfcc9cc8 1552
66ec2442
BG
15532012-08-02 Bastien Guerry <bzg@gnu.org>
1554
1555 * replace.el (occur): Fix docstring (bug#12122).
1556
837b365b
GM
15572012-08-02 Glenn Morris <rgm@gnu.org>
1558
1559 * emacs-lisp/authors.el (authors-renamed-files-alist): Add ms-w32.h.
1560
e098de97
PE
15612012-08-02 Paul Eggert <eggert@cs.ucla.edu>
1562
1563 Obsolete alias inactivate-current-input-method-function (Bug#10150).
1564 * international/mule-cmds.el: Create
1565 inactivate-current-input-method-function as an obsolete alias for
1566 deactivate-current-input-method-function. See Katsumi Yamaoka in
1567 <http://bugs.gnu.org/10150#46>.
1568
a0f95636
JB
15692012-08-01 Jay Belanger <jay.p.belanger@gmail.com>
1570
1571 * calc/calc-mode.el (calc-set-simplify-mode): Use `cond' instead
1572 of nested `if's.
1573
0d26d7c4
GM
15742012-08-01 Glenn Morris <rgm@gnu.org>
1575
1576 * progmodes/autoconf.el (autoconf-definition-regexp):
1577 Add AH_TEMPLATE, adjust submatch numbering.
1578 (autoconf-font-lock-keywords, autoconf-imenu-generic-expression)
1579 (autoconf-current-defun-function): Update for above change.
1580 (autoconf-current-defun-function): First skip to end of current word.
1581
b686ba06
RS
15822012-08-01 Rupert Swarbrick <rswarbrick@gmail.com> (tiny change)
1583
1584 * calendar/cal-html.el (cal-html-insert-agenda-days):
1585 Fix typo. (Bug#12018)
1586
0d49da68
FEG
15872012-07-31 Fabián Ezequiel Gallina <fgallina@cuca>
1588
1589 Shell processes: enhancements to startup and CEDET compatibility.
1590 * progmodes/python.el (python-shell-send-setup-max-wait): Delete var.
1591 (python-shell-make-comint): accept-process-output at startup.
1592 (run-python-internal): Set inferior-python-mode-hook to nil.
1593 (python-shell-internal-get-or-create-process): call sit-for.
1594 (python-preoutput-result): Add obsolete alias.
1595 (python-shell-internal-send-string): Use it.
1596 (python-shell-send-setup-code): Remove call to
1597 accept-process-output.
1598
f1a71c6e
AS
15992012-07-31 Andreas Schwab <schwab@linux-m68k.org>
1600
1601 * buff-menu.el (list-buffers-noselect): Use prefix-numeric-value.
1602 (Bug#12108)
1603
d2605269
JB
16042012-07-31 Jay Belanger <jay.p.belanger@gmail.com>
1605
1606 * calc-mode.el (calc-basic-simplification-mode): Rename from
1607 `calc-limited-simplification-mode'.
1608 (calc-alg-simplification-mode): New function.
d66060f8 1609 (calc-set-simplify-mode): Adjust message.
f1a71c6e 1610
d2605269
JB
1611 * calc.el (calc-set-mode-line): Adjust mode line display for
1612 basic simplification mode.
1613
1614 * calc-help.el (calc-m-prefix-help): Update help message.
1615
1616 * calc-ext.el (calc-init-extensions): Add bindings and autoloads
1617 for `calc-basic-simplify-mode' and `calc-alg-simplify-mode'.
1618
a3827a43
BG
16192012-07-31 Bastien Guerry <bzg@gnu.org>
1620
1621 * man.el (man): Fix comment. (bug#12101)
1622
502e3f89
MR
16232012-07-31 Martin Rudalics <rudalics@gmx.at>
1624
1625 * window.el (switch-to-prev-buffer, switch-to-next-buffer):
1626 Don't return a non-nil value when no suitable buffer was found.
1627
d7714961
FEG
16282012-07-31 Fabián Ezequiel Gallina <fgallina@cuca>
1629
1630 * progmodes/python.el (run-python-internal): Disable font lock for
1631 internal shells.
1632
1f45e27e
SM
16332012-07-30 Stefan Merten <smerten@oekonux.de>
1634
1635 * rst.el: Silence `checkdoc-ispell'.
1636 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
1637 (rst-official-version, rst-official-cvs-rev)
1638 (rst-package-emacs-version-alist): Update to upstream V1.3.1.
1639 (rst-mode-map): New key binding.
1640
0aee6912
PE
16412012-07-30 Paul Eggert <eggert@cs.ucla.edu>
1642
1643 Update .PHONY listings in makefiles.
1644 * Makefile.in (.PHONY): Add all, doit, custom-deps, finder-data,
1645 autoloads, update-subdirs, updates, bzr-update, update-authors,
1646 compile-onefile, compile-calc, backup-compiled-files,
1647 compile-after-backup, compile-one-process, mh-autoloads,
1648 bootstrap-clean, distclean, maintainer-clean.
1649
9052f9f0
JB
16502012-07-29 Jay Belanger <jay.p.belanger@gmail.com>
1651
1823ac5a
JB
1652 * calc/calc.el (calc-simplify-mode): Make 'alg the default value.
1653 (calc-set-mode-line): Don't display "AlgSimp ".
1654
1655 * calc/calc-mode.el (calc-alg-simplify-mode): Remove function.
1656 (calc-lim-simplify-mode): New function.
1657 (calc-set-simplify-mode): Default to 'alg.
1658 (calc-default-simplify-mode): Make algebraic simplifications
1659 the default.
1660
1661 * calc/calc-ext.el (calc-init-extensions): Remove binding for
1662 `calc-alg-simplify-mode'. Add binding for `calc-lim-simplify-mode'.
1663
8d7c7eed 1664 * calc/calc-help.el (calc-m-prefix-help): Change messages to
4b337409
JB
1665 indicate new simplification modes.
1666
1823ac5a
JB
1667 * calc/README: Mention new default simplification mode.
1668
9052f9f0
JB
1669 * calc/calc.el (math-normalize-error): New variable.
1670 (math-normalize): Set `math-normalize-error' to t
1671 when there's an error.
1672
1673 * calc/calc-alg.el (math-simplify): Don't simplify when
1674 `math-normalize' returns an error.
1675
20ba0cb4
EZ
16762012-07-29 Eli Zaretskii <eliz@gnu.org>
1677
1678 * international/mule-cmds.el (set-locale-environment): Revert last
1679 change, since display-graphic-p returns nil when this function is
1680 called during startup. Instead...
1681
1682 * term/w32console.el (terminal-init-w32console): ...setup the
1683 keyboard and terminal encoding for TTY sessions here. (Bug#12082)
1684
a5dcc929
JL
16852012-07-29 Juri Linkov <juri@jurta.org>
1686
1687 * simple.el (goto-line): Don't display default line number in the
1688 prompt because it should be displayed by `read-number' (bug#9952).
1689 Add the current line number to the defaults of `goto-line' to
1690 allow its easier modification by users with `M-n' (bug#9201).
1691
1692 * subr.el (read-number): Support multiple default values like in
1693 other minibuffer reading functions. Replace `read' with
1694 `string-to-number' for consistency with `number-to-string'.
1695
72b255c7
PE
16962012-07-29 Paul Eggert <eggert@cs.ucla.edu>
1697
1698 deactive->inactive, inactivate->deactivate spelling fixes (Bug#10150)
1699 * emulation/viper-init.el (viper-deactivate-input-method-action):
1700 Rename from viper-inactivate-input-method-action.
1701 (viper-deactivate-input-method):
1702 Rename from viper-inactivate-input-method.
1703 * follow.el (follow-inactive-menu): Rename from follow-deactive-menu.
1704 * international/mule-cmds.el (deactivate-input-method):
1705 Rename from inactivate-input-method.
1706 Also run input-method-deactivate-hook.
1707 (deactivate-current-input-method-function):
1708 Rename from inactivate-current-input-method-function.
1709 (input-method-deactivate-hook): New hook.
1710 (input-method-inactivate-hook): Mark obsolete.
bb6eb9fc
PE
1711 (inactivate-input-method): Mark obsolete.
1712
72b255c7
PE
1713 * international/quail.el (quail-activate):
1714 Also run quail-deactivate-hook.
1715 (quail-deactivate): Rename from quail-inactivate.
1716 * international/robin.el (robin-activate):
1717 Also run robin-deactivate-hook.
1718 (robin-deactivate): Rename from robin-inactivate.
1719
2549c068
CY
17202012-07-29 Chong Yidong <cyd@gnu.org>
1721
1722 * simple.el (indicate-copied-region): New function.
1723 (kill-ring-save): Split off from here.
1724
1725 * rect.el (copy-rectangle-as-kill): Call indicate-copied-region.
1726 (kill-rectangle): Set deactivate-mark to t on read-only error.
1727
1728 * register.el (copy-to-register, copy-rectangle-to-register):
1729 Deactivate the mark, and use indicate-copied-region (Bug#10056).
c69f56a2
MY
1730 (append-to-register, prepend-to-register):
1731 Call 2012-07-29 Juri Linkov <juri@jurta.org>
17711ed9
JL
1732
1733 * simple.el (async-shell-command-buffer): New defcustom.
1734 (shell-command): Use it. (Bug#4719)
1735
01bd1b0d
EZ
17362012-07-28 Eli Zaretskii <eliz@gnu.org>
1737
1738 * international/mule-cmds.el (set-locale-environment): In a
1739 console session on MS-Windows, set up keyboard and terminal
1740 encoding from the OEM codepage, not the ANSI codepage.
1741 (Bug#12055)
1742
a55739d3
CY
17432012-07-28 Chong Yidong <cyd@gnu.org>
1744
1745 * progmodes/gdb-mi.el (gdb-place-breakpoints): Fix the call to
1746 gdb-get-location.
1747
0e1a094f 17482012-07-28 Leo Liu <sdl.web@gmail.com>
9a0f8f2e
LL
1749
1750 * progmodes/cc-menus.el (cc-imenu-objc-function): Avoid leaving nil in
1751 the alist (bug#12029).
1752
20329d73
EZ
17532012-07-28 Eli Zaretskii <eliz@gnu.org>
1754
1755 * makefile.w32-in (custom-deps, finder-data, updates, compile)
1756 (compile-always, compile-first)
1757 ($(lisp)/calendar/cal-loaddefs.el)
1758 ($(lisp)/calendar/diary-loaddefs.el)
1759 ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
1760 ($(lisp)/net/tramp-loaddefs.el, bootstrap)
1761 ($(lisp)/progmodes/cc-mode.elc): Depend on $(lisp)subdirs.el,
1762 instead of on update-subdirs.
1763 (bootstrap-clean): Delete $(lisp)/subdirs.el.
1764
345a2258
CY
17652012-07-28 Chong Yidong <cyd@gnu.org>
1766
1eee6341
CY
1767 * vc/vc.el (vc-root-diff, vc-print-root-log): Prompt for a
1768 directory if vc-deduce-backend returns nil (Bug#7350).
1769
345a2258
CY
1770 * simple.el (delete-trailing-lines): New option.
1771 (delete-trailing-whitespace): Obey it (Bug#11879).
1772
049a0936
DE
17732012-07-28 David Engster <deng@randomsample.de>
1774
1775 * xml.el (xml-node-name, xml-parse-file, xml-parse-region):
1776 Explanation of new 'symbol-qnames feature in doc-strings.
1777 (xml-maybe-do-ns): Return expanded names as plain symbols if
1778 'symbol-qnames was provided in XML-NS argument (Bug#11916).
1779 (xml-parse-tag-1): Deal with new definition of PARSE-NS argument.
1780
aa81af71
FEG
17812012-07-27 Fabián Ezequiel Gallina <fgallina@cuca>
1782
1783 Consistent completion in inferior python with emacs -nw.
1784 * progmodes/python.el (inferior-python-mode): replace "<tab>"
1785 binding in inferior-python-mode-map with "\t".
1786 (python-shell-completion-complete-at-point)
1787 (python-completion-complete-at-point): Remove interactive spec.
1788
e827b1eb
JB
17892012-07-27 Jay Belanger <jay.p.belanger@gmail.com>
1790
1791 * calc/calccomp.el (math-compose-expr): Undo previous change.
1792
a90dfb95
FEG
17932012-07-27 Fabián Ezequiel Gallina <fgallina@cuca>
1794
4250fdf5 1795 * progmodes/python.el (python-mode-map): Add keybinding for
a90dfb95
FEG
1796 run-python.
1797 (python-shell-make-comint): Fix pop-to-buffer call.
1798 (run-python): Autoload. New arg SHOW.
1799 (python-shell-get-or-create-process): Do not pop python process
1800 buffer.
1801
32770973 18022012-07-27 Michael Albinus <michael.albinus@gmx.de>
1c6ef030
MA
1803
1804 * notifications.el (notifications-on-action-signal)
1805 (notifications-on-closed-signal): Use also the bus address for the map.
1806 (notifications-notify, notifications-close-notification)
1807 (notifications-get-capabilities): Add optional argument BUS.
1808
86332df2
TH
18092012-07-27 Tassilo Horn <tsdh@gnu.org>
1810
4250fdf5
SM
1811 * textmodes/reftex-vars.el (reftex-label-alist-builtin):
1812 Add support for the lstlisting and minted environments, and for the
86332df2
TH
1813 ctable macro.
1814 * textmodes/reftex.el (reftex-compile-variables): Also recognize
1815 labels written in keyvals syntax.
1816
ca1302a4
JB
18172012-07-27 Jay Belanger <jay.p.belanger@gmail.com>
1818
1819 * calc/calccomp.el (math-compose-expr): Use parentheses when
1820 there is a product in the denominator of a fraction.
1821
f8b91036
EZ
18222012-07-26 Eli Zaretskii <eliz@gnu.org>
1823
1824 * makefile.w32-in ($(lisp)/calendar/cal-loaddefs.el)
1825 ($(lisp)/calendar/diary-loaddefs.el)
1826 ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
4250fdf5
SM
1827 ($(lisp)/net/tramp-loaddefs.el): Depend on update-subdirs.
1828 Fixes failures in parallel bootstrap because subdirs.el is being
f8b91036
EZ
1829 rewritten while the autoload files are built at the same time,
1830 which needs to load subdirs.el.
1831
c8e5a42c
MR
18322012-07-26 Martin Rudalics <rudalics@gmx.at>
1833
1834 * mouse.el (popup-menu): Fix doc-string and re-indent code.
1835 (mouse-drag-line): Don't exit tracking when a switch-frame or
1836 switch-window event occurs (Bug#12006).
1837
670d85ea
SM
18382012-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
1839
1840 * mouse.el (popup-menu): Fix last change.
1841
7abaf5cc
SM
18422012-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
1843
1844 Autoload from Lisp with more care. Follow aliases when looking for
1845 function properties.
1846 * subr.el (autoloadp): New function.
1847 (symbol-file): Use it.
1848 (function-get): New function.
1849 * emacs-lisp/macroexp.el (macroexp--expand-all): Use function-get and
1850 autoload-do-load.
1851 * emacs-lisp/lisp-mode.el (lisp-font-lock-syntactic-face-function)
1852 (lisp-indent-function):
1853 * emacs-lisp/gv.el (gv-get):
1854 * emacs-lisp/edebug.el (get-edebug-spec, edebug-basic-spec):
1855 * emacs-lisp/byte-opt.el (byte-optimize-form):
1856 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
1857 * emacs-lisp/autoload.el (make-autoload, autoload-print-form):
1858 Use function-get.
1859 * emacs-lisp/cl.el: Don't propagate function properties any more.
1860
1861 * speedbar.el (speedbar-add-localized-speedbar-support):
1862 * emacs-lisp/disass.el (disassemble-internal):
1863 * desktop.el (desktop-load-file):
1864 * help-fns.el (help-function-arglist, find-lisp-object-file-name)
1865 (describe-function-1):
1866 * emacs-lisp/find-func.el (find-function-noselect):
1867 * emacs-lisp/elp.el (elp-instrument-function):
1868 * emacs-lisp/advice.el (ad-has-proper-definition):
1869 * apropos.el (apropos-safe-documentation, apropos-macrop):
1870 * emacs-lisp/debug.el (debug-on-entry):
1871 * emacs-lisp/cl-macs.el (cl-compiler-macroexpand):
1872 * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
1873 * calc/calc.el (name): Use autoloadp & autoload-do-load.
1874
b1364986
AA
18752012-07-25 Alp Aker <alp.tekin.aker@gmail.com>
1876
1877 * international/mule-cmds.el (ucs-insert): Mark it as an obsolete
1878 function, not an obsolete variable (Bug#12046).
1879
67ada220
AS
18802012-07-25 Andreas Schwab <schwab@linux-m68k.org>
1881
1882 * faces.el (face-spec-reset-face): Fix last change. (Bug#12042)
1883
f08088e3
CS
18842012-07-25 Christopher Schmidt <christopher@ch.ristopher.com>
1885
1886 * emacs-lisp/pp.el (pp-display-expression): Select old selected
1887 window only if it is still live (Bug#12034).
1888
8137e7b3
MR
18892012-07-25 Martin Rudalics <rudalics@gmx.at>
1890
1891 * subr.el (redirect-frame-focus): Add advertised calling
1892 convention (Bug#12030).
1893
09ae5da1
PE
18942012-07-25 Paul Eggert <eggert@cs.ucla.edu>
1895
1896 Prefer typical American spelling for "acknowledgment".
1897 * vc/add-log.el (change-log-acknowledgment): Rename from
1898 change-log-acknowledgement, with an alias for the old name.
1899
3cc5a3a8
JB
19002012-07-25 Jay Belanger <jay.p.belanger@gmail.com>
1901
1902 * calc-alg.el (math-simplify-divide): Don't cross multiply
1903 in an equation when the lhs is a variable.
1904
b7af7f62
JD
19052012-07-24 Julien Danjou <julien@danjou.info>
1906
1907 * net/netrc.el (netrc-find-service-number, netrc-store-data):
1908 Remove, unused.
1909
ec1b09b1
EZ
19102012-07-23 Eli Zaretskii <eliz@gnu.org>
1911
1912 * startup.el (command-line): Don't display an empty user name in
1913 the error message about non-existent home directory, when
1914 init-file-user was set to an empty string. See
1915 http://lists.gnu.org/archive/html/bug-gnu-emacs/2012-07/msg00835.html
1916 for the details and context.
1917
b525fd8a
VB
19182012-07-22 Vincent Belaïche <vincentb1@users.sourceforge.net>
1919
1920 * ses.el (ses-cell-formula-aset): New macro.
1921 (ses-cell-references-aset): New macro.
1922 (ses-cell-p): New function.
1923 (ses-rename-cell): Do no longer rely on complex operations like
1924 ses-cell-set-formula or ses-set-cell to change the cell and handle
1925 the undo at the same time, but rather use lower level new macros
1926 `ses-cell-formula-aset' and `ses-cell-references-aset' and handle
1927 the undo directly. Refresh the mode line.
1928
2c73e345
LL
19292012-07-21 Leo Liu <sdl.web@gmail.com>
1930
670d85ea
SM
1931 * progmodes/cc-cmds.el (c-defun-name):
1932 Use match-string-no-properties instead for consistency.
2c73e345 1933
542dfbde
LL
19342012-07-20 Leo Liu <sdl.web@gmail.com>
1935
3646bcd6
LL
1936 * progmodes/cc-cmds.el (c-defun-name): Handle objc selectors properly.
1937 (Bug#7879)
1938
542dfbde
LL
1939 * progmodes/cc-langs.el (c-symbol-start): Include char _ (bug#11986).
1940
25721031
CY
19412012-07-20 Stefan Monnier <monnier@iro.umontreal.ca>
1942
1943 * userlock.el, emacs-lisp/map-ynp.el: Declare part of `emacs' package.
1944 * progmodes/bug-reference.el, misearch.el: Provide themselves
1945 (bug#11915).
1946
1947 * progmodes/cperl-mode.el (cperl-unwind-to-safe): Don't inf-loop at end
1948 of narrowed buffer (bug#11966).
1949
316e68a7
VB
19502012-07-20 Vincent Belaïche <vincentb1@users.sourceforge.net>
1951
1952 * ses.el (ses-rename-cell): Set new name also in reference list of
1953 cells of which the renamed cell depends.
1954
bbf0e7d9
MY
19552012-07-20 Masatake YAMATO <yamato@redhat.com>
1956
1957 * term/x-win.el (x-menu-bar-open): Use `frame-parameter'
1958 to check whether menu-bar is shown or not. If not shown,
1959 show the menu-bar as a popup menu instead of using tmm.
1960 * mouse.el (popup-menu): Accept `point' as `position' argument.
1961
c28662a8
DG
19622012-07-20 Dmitry Gutov <dgutov@yandex.ru>
1963
1964 * progmodes/ruby-mode.el (ruby-parse-partial): No error when end
1965 up inside string symbol literal (bug#11923).
1966
87ab808f
EZ
19672012-07-20 Eli Zaretskii <eliz@gnu.org>
1968
1969 * startup.el (fancy-startup-text): Read the whole tutorial, not
1970 just its first 256 bytes. Prevents gibberish in display of the
1971 tutorial title.
1972
89dea803
DA
19732012-07-20 Dmitry Antipov <dmantipov@yandex.ru>
1974
1975 Drop idle buffer compaction due to an absence of the
1976 proved efficiency.
1977 * compact.el: Remove.
1978
8a4e6db8
SS
19792012-07-19 Sam Steingold <sds@gnu.org>
1980
1981 * vc/vc-dispatcher.el (vc-compilation-mode): Add, based on
1982 vc-bzr-pull & vc-bzr-merge-branch.
1983 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch): Use it.
1984 (vc-bzr-error-regexp-alist): Rename from vc-bzr-error-regex-alist
1985 for consistency with compilation-error-regexp-alist.
1986 * vc/vc-git.el (vc-git-error-regexp-alist): Add.
1987 (vc-git-pull, vc-git-merge-branch): Call vc-compilation-mode.
1988 * vc/vc-hg.el (vc-hg-error-regexp-alist): Add.
1989 (vc-hg-pull, vc-hg-merge-branch): Call vc-compilation-mode.
1990
5db81e33
SM
19912012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
1992
1993 * emacs-lisp/chart.el: Use lexical-binding.
1994 (chart-emacs-storage): Don't hardcode the list of entries.
1995
5b835e1d
DA
19962012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
1997
1998 Next round of tweaks caused by Fgarbage_collect changes.
1999 * emacs-lisp/chart.el (chart-emacs-storage): Adjust again.
2000
9cd47b72
DA
20012012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
2002
2003 Compact buffers when idle.
2004 * compact.el: New file.
2005
1d6fc0df
SM
20062012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
2007
2008 * subr.el (eventp): Presume that if it looks vaguely like an event,
2009 it's an event (bug#10190).
2010
1d29cc7d
FEG
20112012-07-19 Fabián Ezequiel Gallina <fgallina@cuca>
2012
2013 Enhancements to ppss related code (thanks Stefan).
2014 * progmodes/python.el (python-indent-context)
2015 (python-indent-calculate-indentation, python-indent-dedent-line)
2016 (python-indent-electric-colon, python-nav-forward-block)
2017 (python-mode-abbrev-table)
1d6fc0df 2018 (python-info-assignment-continuation-line-p): Simplify checks
1d29cc7d
FEG
2019 for ppss context.
2020 (python-info-continuation-line-p): Cleanup.
2021 (python-info-ppss-context): Do not catch 'quote.
2022 (python-info-ppss-context-type)
2023 (python-info-ppss-comment-or-string-p): Simplify.
2024
d583cbe6
FEG
20252012-07-18 Fabián Ezequiel Gallina <fgallina@cuca>
2026
2027 * progmodes/python.el: Enhancements to eldoc support.
2028 (python-info-current-symbol): New function.
2029 (python-eldoc-at-point): Use python-info-current-symbol.
2030 (python-info-current-defun): Fix cornercase on first defun scan.
2031 (python-eldoc--get-doc-at-point): Use python-info-current-symbol
2032 and signal error when no inferior python process is available.
2033
eceb6feb
DG
20342012-07-18 Dmitry Gutov <dgutov@yandex.ru>
2035
2036 * vc/vc-git.el (vc-git-state): Don't call `vc-git-registered',
2037 assume it's always t.
2038 (vc-git-registered): Remove caching, the function is only called
2039 once.
2040 (vc-git-branches): Use `vc-git--call' instead of `call-process'.
2041
4c8ff0fe
CY
20422012-07-18 Chong Yidong <cyd@gnu.org>
2043
19fb7186
CY
2044 * subr.el (last-input-char, last-command-char): Remove (Bug#9195).
2045
9587c688
CY
2046 * simple.el (count-words): Report on narrowing (Bug#9959).
2047
0fe776a1
CY
2048 * bindings.el: Bind M-= to count-words.
2049
4c8ff0fe
CY
2050 * faces.el (face-spec-reset-face): Handle reverse video (Bug#4238).
2051
7f5331cc
MY
20522012-07-18 Masatake YAMATO <yamato@redhat.com>
2053
2054 * progmodes/sh-script.el (sh-imenu-generic-expression):
2055 Capture a function with `function' keyword and without parentheses
2056 like "function FOO" (bug#11856).
2057
2dc2a609
TH
20582012-07-18 Tassilo Horn <tassilo@member.fsf.org>
2059
2060 * window.el (split-window-sensibly): Make WINDOW argument
2061 optional.
2062
439f7677
CY
20632012-07-18 Chong Yidong <cyd@gnu.org>
2064
9aeb25a6
CY
2065 * subr.el (keyboard-translate): Doc fix (Bug#7261).
2066
439f7677
CY
2067 * isearch.el (isearch-mode-map): Handle C-x 8 key translations,
2068 and make C-x 8 RET exit isearch (Bug#11439).
2069
2070 * international/iso-transl.el: Move isearch-mode-map key
2071 definitions to isearch.el.
2072
12999ea8
SM
20732012-07-18 Stefan Monnier <monnier@iro.umontreal.ca>
2074
2075 * emacs-lisp/eieio.el: Adapt further to gv.el (bug#11970).
2076 (eieio-defclass): Use gv-define-setter when possible.
2077
3ab6e069
DA
20782012-07-18 Dmitry Antipov <dmantipov@yandex.ru>
2079
2080 Reflect recent changes in Fgarbage_collect.
2081 * emacs-lisp/chart.el (chart-emacs-storage): Change to
2082 reflect new format of data returned by Fgarbage_collect.
2083
0a60bc10
FEG
20842012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
2085
2086 New utility functions + python-info-ppss-context fix (Bug#11910).
2087 * progmodes/python.el (python-info-beginning-of-block-statement-p)
2088 (python-info-ppss-comment-or-string-p): New functions.
2089 (python-info-ppss-context): Small fix for string check.
2090
6dafa0d5
JL
20912012-07-17 Juri Linkov <juri@jurta.org>
2092
2093 * dired-aux.el (dired-do-async-shell-command): Doc fix.
2094 (dired-do-async-shell-command): Don't add `*' at the end of the
2095 command (Bug#11815).
2096 (dired-do-shell-command): Doc fix.
2097 (dired-shell-stuff-it): Strip the trailing "&" and ";" if any.
2098 Join the individual commands using either "&" or ";" as the
2099 separator depending on the values of these trailing characters.
2100 At the end re-add the trailing "&". (Bug#10598)
2101
2102 * simple.el (async-shell-command): Sync the interactive spec with
2103 `shell-command'. Doc fix.
2104 (shell-command): Doc fix.
2105
b19dd9d1
JL
21062012-07-17 Juri Linkov <juri@jurta.org>
2107
2108 * descr-text.el (describe-char): Fix format args. (Bug#10129)
2109
bcdc27d7 21102012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
7f5331cc 2111
bcdc27d7 2112 Final renames and doc fixes for movement commands (bug#11899).
7f5331cc
MY
2113 * progmodes/python.el (python-nav-beginning-of-statement):
2114 Rename from python-nav-statement-start.
bcdc27d7
FEG
2115 (python-nav-end-of-statement): Rename from
2116 python-nav-statement-end.
2117 (python-nav-beginning-of-block): Rename from
2118 python-nav-block-start.
2119 (python-nav-end-of-block): Rename from python-nav-block-end.
2120
191da00e
FEG
21212012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
2122
7f5331cc
MY
2123 * progmodes/python.el (python-shell-send-string-no-output):
2124 Allow accept-process-output to quit, keeping shell process ready for
191da00e
FEG
2125 future interactions (Bug#11868).
2126
4dc7c8d5 21272012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
aa7aaf8f 2128
88ecaf8f
SM
2129 * emacs-lisp/cl-macs.el (cl-progv): Use a properly prefixed var name.
2130
ef501ef0
SM
2131 * emacs-lisp/elint.el (elint-find-args-in-code):
2132 Use help-function-arglist, so as to handle lexical byte-code.
2133
aa7aaf8f
SM
2134 * progmodes/sh-script.el (sh-syntax-propertize-function): Fix last
2135 change (bug#11826).
2136
45fd731c
SM
21372012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
2138
2143fa32
SM
2139 * progmodes/cc-engine.el (c-forward-sws, c-backward-sws):
2140 Avoid spuriously marking the buffer as modified because of c-is-sws.
2141
efc26dbe
SM
2142 * progmodes/sh-script.el (sh-syntax-propertize-function): Mark "${#VAR"
2143 as not-a-comment (bug#11946).
2144
f5695c9a
SM
2145 * emacs-lisp/macroexp.el (macroexp-let2): Use more informative names
2146 for uninterned vars.
2147
2148 * xt-mouse.el (xterm-mouse-translate-1, xterm-mouse-event-read):
2149 Use read-event since we don't really want to read chars but bytes.
2150
45fd731c
SM
2151 * textmodes/tex-mode.el (tex-font-lock-keywords-1): Highlight not only
2152 $$..$$ but also $..$ using regexps (bug#11953).
2153 Use tex-verbatim for \url and \path.
2154 (tex-font-lock-keywords): Define as defconst like the others.
2155 (tex-common-initialization): Don't use font-lock-syntax-table any more.
2156
ddfc8813
RK
21572012-07-16 René Kyllingstad <Rene@Kyllingstad.com> (tiny change)
2158
2159 * international/mule-cmds.el (ucs-insert): Make it an obsolete
2160 alias for insert-char.
2161
758e556a
FEG
21622012-07-16 Fabián Ezequiel Gallina <fgallina@cuca>
2163
2164 * progmodes/python.el: Simplified imenu implementation.
2165 (python-nav-jump-to-defun): Remove command.
2166 (python-mode-map): Use `imenu' instead.
2167 (python-nav-list-defun-positions-cache)
2168 (python-imenu-include-defun-type, python-imenu-make-tree)
2169 (python-imenu-subtree-root-label, python-imenu-index-alist):
2170 Remove vars.
2171 (python-nav-list-defun-positions, python-nav-read-defun)
2172 (python-imenu-tree-assoc, python-imenu-make-element-tree)
45fd731c
SM
2173 (python-imenu-make-tree, python-imenu-create-index):
2174 Remove functions.
758e556a
FEG
2175 (python-mode): Update to interact with imenu by setting
2176 `imenu-extract-index-name-function' only.
2177
032d23ab
FEG
21782012-07-16 Fabián Ezequiel Gallina <fgallina@cuca>
2179
2180 * progmodes/python.el: Enhancements to navigation commands.
2181 (python-nav-backward-sentence)
2182 (python-nav-forward-sentence): Remove.
2183 (python-nav-backward-statement, python-nav-forward-statement)
2184 (python-nav-statement-start, python-nav-statement-end)
2185 (python-nav-backward-block, python-nav-forward-block)
2186 (python-nav-block-start, python-nav-block-end)
2187 (python-nav-forward-sexp-function)
2188 (python-info-current-line-comment-p)
2189 (python-info-current-line-empty-p): New functions.
2190 (python-indent-context): Use `python-nav-statement-start'.
2191
01795a1b
MA
21922012-07-16 Michael Albinus <michael.albinus@gmx.de>
2193
9328d9aa
MA
2194 * eshell/em-ls.el (eshell/ls): Use `apply'.
2195
2196 * eshell/em-unix.el (eshell/su, eshell/sudo): Apply Tramp's ad-hoc
2197 multi-hops, instead of Tramp internals.
2198
01795a1b
MA
2199 * vc/ediff.el (ediff-directories): Add trailing space to prompts.
2200
2201 * vc/ediff-diff.el (ediff-same-file-contents): Handle the case,
2202 when F1 and F2 are located on different hosts.
2203
63408057
CY
22042012-07-14 Chong Yidong <cyd@gnu.org>
2205
2206 * xt-mouse.el: Implement extended mouse coordinates (Bug#10642).
2207 (xterm-mouse-translate): Move code into xterm-mouse-translate-1.
2208 (xterm-mouse-translate-extended, xterm-mouse-translate-1)
2209 (xterm-mouse--read-event-sequence-1000)
2210 (xterm-mouse--read-event-sequence-1006): New functions. For old
2211 mouse protocol, handle M-mouse-X events correctly.
2212 (xterm-mouse-event): New arg specifying mouse protocol.
2213 (turn-on-xterm-mouse-tracking-on-terminal)
2214 (turn-off-xterm-mouse-tracking-on-terminal): Send DEC 1006
45fd731c
SM
2215 sequence to toggle extended coordinates on newer XTerms.
2216 This appears to be harmless on terminals which do not support this.
63408057 2217
cd276f6e
LL
22182012-07-14 Leo Liu <sdl.web@gmail.com>
2219
28ca98ac
LL
2220 Add fringe bitmap indicators for flymake. (Bug#11253)
2221 * progmodes/flymake.el (flymake-highlight-line): Use fringe bitmaps.
2222 (flymake-make-overlay): New arg BITMAP.
2223 (flymake-error-bitmap, flymake-warning-bitmap)
2224 (flymake-fringe-indicator-position): New user variables.
2225
cd276f6e
LL
2226 * fringe.el: New bitmap exclamation-mark.
2227
04408072
JD
22282012-07-14 Jan Djärv <jan.h.d@swipnet.se>
2229
2230 * progmodes/cc-cmds.el (c-defun-name): Recognize Objective-C methods
2231 also (Bug#7879).
2232
b5cf7fc4
CY
22332012-07-14 Chong Yidong <cyd@gnu.org>
2234
2235 * electric.el (electric-pair-post-self-insert-function): Fix pair
2236 insertion in empty-region case (Bug#11520).
2237
be755c79
RT
22382012-07-14 Chong Yidong <cyd@gnu.org>
2239
45fd731c
SM
2240 * bindings.el: Consolidate ctl-x-r-map bindings.
2241 Bind copy-rectangle-as-kill to C-x r w.
be755c79
RT
2242
2243 * rect.el, register.el: Move bindings to bindings.el.
2244
22452012-07-14 Reuben Thomas <rrt@sc3d.org>
2246
2247 * rect.el (copy-rectangle-as-kill): New command (Bug#739).
2248
7f5b3198
AS
22492012-07-13 Andreas Schwab <schwab@linux-m68k.org>
2250
2251 * emacs-lisp/cl.el (labels): Remove spurious quote. (Bug#11938)
2252
97662200
JB
22532012-07-13 Juanma Barranquero <lekktu@gmail.com>
2254
80185fed
JB
2255 * bindings.el (top): Use `mapc' instead of `mapcar'.
2256
97662200
JB
2257 * loadup.el (top): Remove bogus `if' choice (brought by 2008-06-21T01:38:39Z!monnier@iro.umontreal.ca).
2258
2bb1ae55
MA
22592012-07-13 Michael Albinus <michael.albinus@gmx.de>
2260
2261 * progmodes/sql.el (sql-comint): Suppress the check for program on
2262 remote hosts. Reported by Francis Devereux <francis@devrx.org>.
2263 (Bug#11908)
2264
dea31bd3
CY
22652012-07-13 Chong Yidong <cyd@gnu.org>
2266
2267 * bindings.el: Assign a non-nil permanent-local property to
2268 per-buffer variables which lack a default value (Bug#11930).
2269
2270 * help-fns.el (describe-variable): In the "automatically becomes
2271 local" notice, take note of permanent-local variables.
2272
b68b3337
CY
22732012-07-13 Chong Yidong <cyd@gnu.org>
2274
2275 * files.el (toggle-read-only): Doc fix and code cleanup. New arg
2276 to allow printing the message when called from Lisp.
2277
2278 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
2279 Remove toggle-read-only.
2280
2281 * bs.el (bs-toggle-readonly):
45fd731c
SM
2282 * buff-menu.el (Buffer-menu-toggle-read-only):
2283 Remove with-no-warnings around toggle-read-only.
b68b3337
CY
2284
2285 * ffap.el (ffap--toggle-read-only): Accept a list of buffers.
2286 Remove with-no-warnings around toggle-read-only.
2287 (ffap-read-only, ffap-read-only-other-window)
2288 (ffap-read-only-other-frame): Callers changed.
2289
2290 * help-mode.el: Don't require view package.
2291 (help-mode-finish): Set buffer-read-only instead of calling
2292 toggle-read-only.
2293
2294 * bindings.el (mode-line-toggle-read-only):
2295 * dired.el (dired-toggle-read-only):
2296 * ibuffer.el (ibuffer-do-toggle-read-only): Call toggle-read-only
2297 with non-nil second arg.
2298
2299 * emacs-lisp/eieio-custom.el (eieio-customize-object):
2300 * vc/ediff.el (ediff-set-read-only-in-buf-A): Set buffer-read-only
2301 directly.
2302
56bc1586
EZ
23032012-07-12 Eli Zaretskii <eliz@gnu.org>
2304
2305 * emacs-lisp/bytecomp.el (byte-recompile-directory): Use cl-incf,
2306 not incf.
2307
a464a6c7
SM
23082012-07-11 Stefan Monnier <monnier@iro.umontreal.ca>
2309
2310 More CL cleanups and reduction of use of cl.el.
2311 * woman.el, winner.el, vc/vc-rcs.el, vc/vc-hooks.el, vc/vc-hg.el:
2312 * vc/vc-git.el, vc/vc-dir.el, vc/vc-bzr.el, vc/vc-annotate.el:
2313 * textmodes/tex-mode.el, textmodes/sgml-mode.el, tar-mode.el:
2314 * strokes.el, ses.el, server.el, progmodes/js.el, progmodes/gdb-mi.el:
2315 * progmodes/flymake.el, progmodes/ebrowse.el, progmodes/compile.el:
2316 * play/tetris.el, play/snake.el, play/pong.el, play/landmark.el:
2317 * play/hanoi.el, play/decipher.el, play/5x5.el, nxml/nxml-mode.el:
2318 * net/secrets.el, net/quickurl.el, midnight.el, mail/footnote.el:
2319 * image-dired.el, ibuffer.el, ibuf-macs.el, ibuf-ext.el, hexl.el:
2320 * eshell/eshell.el, eshell/esh-io.el, eshell/esh-ext.el:
2321 * eshell/esh-cmd.el, eshell/em-ls.el, eshell/em-hist.el:
2322 * eshell/em-cmpl.el, eshell/em-banner.el:
2323 * calendar/parse-time.el: Use cl-lib.
2324 * wid-browse.el, wdired.el, vc/vc.el, vc/vc-mtn.el, vc/vc-cvs.el:
2325 * vc/vc-arch.el, tree-widget.el, textmodes/texinfo.el:
2326 * textmodes/refill.el, textmodes/css-mode.el, term/tvi970.el:
2327 * term/ns-win.el, term.el, shell.el, ps-samp.el:
2328 * progmodes/perl-mode.el, progmodes/pascal.el, progmodes/gud.el:
2329 * progmodes/glasses.el, progmodes/etags.el, progmodes/cwarn.el:
2330 * play/gamegrid.el, play/bubbles.el, novice.el, notifications.el:
2331 * net/zeroconf.el, net/xesam.el, net/snmp-mode.el, net/mairix.el:
2332 * net/ldap.el, net/eudc.el, net/browse-url.el, man.el:
2333 * mail/mailheader.el, mail/feedmail.el: Don't use CL.
2334 * ibuf-ext.el (ibuffer-mark-old-buffers): Use float-time.
2335 * eshell/esh-opt.el (eshell-eval-using-options): Quote code with
2336 `lambda' rather than with `quote'.
2337 (eshell-do-opt): Adjust accordingly.
2338 (eshell-process-option): Simplify.
2339 * eshell/esh-var.el:
2340 * eshell/em-script.el: Require `esh-opt' for eshell-eval-using-options.
2341 * emacs-lisp/pcase.el (pcase--dontcare-upats, pcase--let*)
2342 (pcase--expand, pcase--u1): Rename pcase's internal `dontcare' pattern
2343 to `pcase--dontcare'.
2344 * emacs-lisp/cl.el (labels): Mark obsolete.
2345 (cl--letf, letf): Move to cl-lib.
2346 (cl--letf*, letf*): Remove.
2347 * emacs-lisp/cl-lib.el (cl-nth-value): Use defalias.
2348 * emacs-lisp/cl-macs.el (cl-dolist, cl-dotimes): Add indent rule.
2349 (cl-progv): Rewrite.
2350 (cl--letf, cl-letf): Move from cl.el.
2351 (cl-letf*): New macro.
2352 * emacs-lisp/cl-extra.el (cl--progv-before, cl--progv-after): Remove.
2353
7ad4afe1
MA
23542012-07-11 Michael Albinus <michael.albinus@gmx.de>
2355
2356 * net/ange-ftp.el (ange-ftp-cf1): Update the files cache.
2357
9af57756
CY
23582012-07-11 Chong Yidong <cyd@gnu.org>
2359
2360 * vc/log-edit.el (log-edit-vc-backend): New variable.
2361 (log-edit): Doc fix.
2362
2363 * vc/vc-dispatcher.el (vc-log-edit): New args. Use PARAMS
2364 argument of log-edit to set up all local variables.
2365 (vc-start-logentry): New optional arg specifying VC backend.
2366
2367 * vc/vc.el (vc-checkin): Use it.
2368 (vc-deduce-fileset): Handle Log Edit buffers.
2369 (vc-diff): Make first argument optional too.
2370
2371 * vc/log-view.el (log-view-vc-fileset, log-view-vc-backend): Doc fix.
2372
8477cc7a
MA
23732012-07-10 Michael Albinus <michael.albinus@gmx.de>
2374
2375 * eshell/esh-ext.el (eshell-remote-command): Remove remote part of
2376 command, just in case. The function is not needed anymore.
2377 (eshell-external-command): Do not call `eshell-remote-command'.
2378
19faa8e8
SM
23792012-07-10 Stefan Monnier <monnier@iro.umontreal.ca>
2380
f58e0fd5
SM
2381 Reduce use of (require 'cl).
2382 * vc/smerge-mode.el, vc/pcvs.el, vc/pcvs-util.el, vc/pcvs-info.el:
2383 * vc/diff-mode.el, vc/cvs-status.el, uniquify.el, scroll-bar.el:
2384 * register.el, progmodes/sh-script.el, net/gnutls.el, net/dbus.el:
2385 * msb.el, mpc.el, minibuffer.el, international/ucs-normalize.el:
2386 * international/quail.el, info-xref.el, imenu.el, image-mode.el:
2387 * font-lock.el, filesets.el, edmacro.el, doc-view.el, bookmark.el:
2388 * battery.el, avoid.el, abbrev.el: Use cl-lib.
2389 * vc/pcvs-parse.el, vc/pcvs-defs.el, vc/log-view.el, vc/log-edit.el:
2390 * vc/diff.el, simple.el, pcomplete.el, lpr.el, comint.el, loadhist.el:
2391 * jit-lock.el, international/iso-ascii.el, info.el, frame.el, bs.el:
2392 * emulation/crisp.el, electric.el, dired.el, cus-dep.el, composite.el:
2393 * calculator.el, autorevert.el, apropos.el: Don't require CL.
2394 * emacs-lisp/bytecomp.el (byte-recompile-directory, display-call-tree)
2395 (byte-compile-unfold-bcf, byte-compile-check-variable):
2396 * emacs-lisp/byte-opt.el (byte-compile-trueconstp)
2397 (byte-compile-nilconstp):
2398 * emacs-lisp/autoload.el (make-autoload): Use pcase.
2399 * face-remap.el (text-scale-adjust): Simplify pcase patterns.
2400
2519d43a
SM
2401 * emacs-lisp/gv.el (cond): Make it a valid place.
2402 (if): Simplify slightly.
2403
19faa8e8
SM
2404 * emacs-lisp/pcase.el (pcase): Accept self-quoting exps as "upatterns".
2405 (pcase--self-quoting-p): New function.
2406 (pcase--u1): Use it.
2407
c4907a5e
GM
24082012-07-10 Glenn Morris <rgm@gnu.org>
2409
2410 * emacs-lisp/authors.el (authors-fixed-entries):
2411 (authors-renamed-files-alist): Update for configure.in -> configure.ac.
2412
c4444d16
PE
24132012-07-09 Paul Eggert <eggert@cs.ucla.edu>
2414
2415 Rename configure.in to configure.ac (Bug#11603).
2416 * emacs-lisp/authors.el (authors-canonical-file-name):
2417 * progmodes/autoconf.el (autoconf-mode):
2418 Prefer configure.ac to configure.in.
2419
d75be97d
CY
24202012-07-08 Chong Yidong <cyd@gnu.org>
2421
01ac65bd
CY
2422 * mouse.el (mouse-drag-line): Rewrite the track-mouse loop.
2423 Implement the mouse-1-click-follows-link handling properly.
2424
2425 * info.el (Info-link-keymap): Use follow-link mechanism for
2426 header-line links (Bug#374).
2427
d75be97d
CY
2428 * simple.el (deactivate-mark): Do not set the primary selection
2429 if another program has acquired it (Bug#11772).
2430
87a92845 24312012-07-07 Kevin Ryde <user42@zip.com.au>
f0ecdfea
KR
2432
2433 * woman.el (woman-strings): Fix double-quote handling (Bug#1151).
2434 (woman-decode-region): Replace escaped-escapes without destroying
2435 bold or underline (Bug#11552).
87a92845 2436 (woman2-process-escapes): Handle nofill regions (Bug#11591).
f0ecdfea 2437
621b9d6c
CY
24382012-07-07 Chong Yidong <cyd@gnu.org>
2439
2440 * simple.el (yank-pop-change-selection): Doc fix (Bug#11361).
19faa8e8
SM
2441 (interprogram-cut-function, interprogram-paste-function):
2442 Mention that we typically mean the clipboard.
621b9d6c 2443
133a11fc
GM
24442012-07-06 Glenn Morris <rgm@gnu.org>
2445
0d27a45e
GM
2446 * kmacro.el (kmacro-call-macro): Restore repeat message. (Bug#11817)
2447
133a11fc
GM
2448 * files.el (toggle-read-only): Restrict message to interactive use.
2449
07b151f1
MA
24502012-07-06 Michael Albinus <michael.albinus@gmx.de>
2451
2452 * net/tramp.el (tramp-restricted-shell-hosts-alist): New defcustom.
2453
2454 * net/tramp-sh.el (tramp-maybe-open-connection): Handle it.
2455
211b896b
GM
24562012-07-06 Glenn Morris <rgm@gnu.org>
2457
50394322
GM
2458 * Makefile.in (compile-one-process): Rename from "recompile".
2459
211b896b
GM
2460 * Makefile.in (bzr-update): "compile" is the same as "recompile
2461 autoloads", but parallelizable, so use that instead.
2462
4737eec9
DG
24632012-07-06 Dmitry Gutov <dgutov@yandex.ru>
2464
2465 * window.el (quit-window): Always restore window height when
8137e7b3 2466 it's saved in quit-restore parameter (Bug#11810).
4737eec9 2467
226c3633 24682012-07-06 Glenn Morris <rgm@gnu.org>
cb442973
GM
2469
2470 * simple.el (kill-whole-line): Doc tweak.
2471
226c3633 24722012-07-06 Eli Zaretskii <eliz@gnu.org>
93842198
EZ
2473
2474 * files.el (file-relative-name): Compare file names
2475 case-insensitively if on MS-Windows or MS-DOS, or if
2476 read-file-name-completion-ignore-case is non-nil. Don't use
2477 case-fold-search for this purpose. (Bug#11827)
2478
4dc7c8d5
SM
24792012-07-17 Andreas Schwab <schwab@linux-m68k.org>
2480
2481 * calendar/cal-dst.el (calendar-current-time-zone):
2482 Return calendar-current-time-zone-cache if non-nil.
2483
24842012-07-17 Masatake YAMATO <yamato@redhat.com>
226c3633 24852012-07-06 Andreas Schwab <schwab@linux-m68k.org>
3d8b9024 2486
19faa8e8
SM
2487 * calendar/cal-dst.el (calendar-current-time-zone):
2488 Return calendar-current-time-zone-cache if non-nil.
3d8b9024 2489
60198fc9
GM
24902012-07-06 Glenn Morris <rgm@gnu.org>
2491
2492 * Makefile.in (cvs-update): Remove old alias.
2493
957b3189
MA
24942012-07-05 Michael Albinus <michael.albinus@gmx.de>
2495
2496 Sync with Tramp 2.2.6-pre.
2497
2498 * net/tramp.el (tramp-drop-volume-letter): Provide an XEmacs
2499 compatible declaration.
2500
19faa8e8
SM
2501 * net/tramp-cmds.el (tramp-append-tramp-buffers):
2502 Protect `list-load-path-shadows' call.
957b3189
MA
2503
2504 * net/tramp-compat.el (top): Require packages, which aren't
2505 autoloaded anymore for XEmacs. Protect call of
2506 `tramp-file-name-handler' by `tramp-compat-funcall', pacifying the
2507 compiler. Do not require tramp-util.el and tramp-vc.el anymore,
2508 it hurts at least for SXEmacs.
2509 (tramp-compat-temporary-file-directory): In XEmacs, there is no
2510 standard-value for `temporary-file-directory'.
2511
2512 * net/tramp-sh.el (tramp-do-directory-files-and-attributes-with-stat):
2513 Redirect stderr to /dev/null.
2514 (tramp-sh-handle-write-region): uid and gid can be floats.
2515 Reported by Russell Sim <russell.sim@gmail.com>.
2516 (tramp-sh-handle-vc-registered): Hide errors.
2517 (tramp-vc-file-name-handler): Use dummy results for `process-file'
2518 and `start-file-process'.
2519 (tramp-maybe-open-connection): Check also whether `non-essential'
2520 is bound.
2521
566df3fc
CY
25222012-07-04 Chong Yidong <cyd@gnu.org>
2523
2524 * xml.el (xml--parse-buffer): Use xml-syntax-table.
2525 (xml-parse-tag): Likewise, and avoid changing entity tables.
2526 (xml-syntax-table): Define from scratch, making sure not to give
2527 x2000 and other Unicode spaces whitespace syntax, since those are
2528 not spaces in XML.
2529 (xml-parse-fragment): Delete unused function.
2530 (xml-name-start-char-re, xml-name-char-re, xml-name-re)
2531 (xml-names-re, xml-nmtoken-re, xml-nmtokens-re, xml-char-ref-re)
2532 (xml-entity-ref, xml-pe-reference-re)
2533 (xml-reference-re,xml-att-value-re, xml-tokenized-type-re)
2534 (xml-notation-type-re, xml-enumeration-re, xml-enumerated-type-re)
2535 (xml-att-type-re, xml-default-decl-re, xml-att-def-re)
2536 (xml-entity-value-re): Use syntax references in regexps where
2537 possible; no need to define inside a let-binding.
2538 (xml-parse-dtd): Use xml-pe-reference-re.
2539 (xml-entity-or-char-ref-re): New defconst.
2540 (xml-parse-string, xml-substitute-special): Use it.
2541
30eabd7a
SM
25422012-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
2543
0781098a
SM
2544 * files.el (locate-dominating-file): Allow `name' to be a predicate.
2545 (find-file--read-only): New function.
2546 (find-file-read-only, find-file-read-only-other-window)
2547 (find-file-read-only-other-frame): Use it.
2548 (insert-file-contents-literally): Don't `fset'.
2549 (get-free-disk-space): Use locate-dominating-file.
2550
b5771c0d
SM
2551 * emacs-lisp/bytecomp.el (byte-compile): Don't signal an error if the
2552 function is already compiled.
2553
30eabd7a
SM
2554 * xml.el (xml-name-regexp): Remove, redundant. Use xml-name-re.
2555
b4886f6e
MA
25562012-07-03 Michael Albinus <michael.albinus@gmx.de>
2557
2558 * vc/ediff-diff.el (ediff-same-file-contents): Fix it for remote
2559 files on the same host.
2560
b9d82339
AS
25612012-07-03 Andreas Schwab <schwab@linux-m68k.org>
2562
2563 * help-fns.el (describe-function-1): Only call
2564 help-fns--autoloaded-p when we have a file name. (Bug#11848)
2565
a76e6535
CY
25662012-07-03 Chong Yidong <cyd@gnu.org>
2567
2568 * xml.el: Protect parser against XML bombs.
2569 (xml-entity-expansion-limit): New variable.
2570 (xml-parse-string, xml-substitute-special): Use it.
2571 (xml-parse-dtd): Avoid infloop if the DTD is not terminated.
2572
b544fef2
GM
25732012-07-03 Glenn Morris <rgm@gnu.org>
2574
2575 * progmodes/bug-reference.el (bug-reference-bug-regexp):
2576 Allow linking to specific messages in debbugs reports (eg 123#5).
2577
a7aef6f5
CY
25782012-07-02 Chong Yidong <cyd@gnu.org>
2579
2580 * xml.el: Fix entity and character reference expansion, allowing
2581 them to expand into markup as per XML spec.
2582 (xml-default-ns): New variable.
2583 (xml-entity-alist): Use XML spec definitions for lt and amp.
30eabd7a
SM
2584 (xml-parse-region): Make first two arguments optional.
2585 Discard text properties.
2586 (xml-parse-tag-1): New function, spun off from xml-parse-tag.
2587 All callers changed.
a7aef6f5
CY
2588 (xml-parse-tag): Call xml-parse-tag-1. For backward
2589 compatibility, this function should not modify buffer contents.
2590 (xml-parse-tag-1): Fix opening-tag regexp.
2591 (xml-parse-string): Rewrite, handling entity and character
2592 references properly.
2593 (xml--entity-replacement-text): Signal an error if a parameter
2594 entity is undefined.
2595
3df31c9f
SM
25962012-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
2597
2b5208f1
SM
2598 * comint.el (comint-output-filter): Filter out repeated prompts.
2599
3df31c9f
SM
2600 * net/ange-ftp.el (ange-ftp-expand-file-name): Use ange-ftp-ftp-name
2601 and file-name-absolute-p.
2602 (ange-ftp-file-exists-p): Use ange-ftp-file-exists-p for
2603 internal calls.
2604
e3ac1281
PE
26052012-07-02 Paul Eggert <eggert@cs.ucla.edu>
2606
2607 Spelling fixes.
2608 * emacs-lisp/bytecomp.el (byte-compile--reify-function):
2609 Rename from byte-compile--refiy-function. All uses changed.
2610
fbf2e7ad
CY
26112012-07-01 Chong Yidong <cyd@gnu.org>
2612
2613 * xml.el (xml--parse-buffer): New function. Move most of
2614 xml-parse-region here.
2615 (xml-parse-region): Copy region into a temporary buffer, since
2616 parameter entity substitution requires changing buffer contents.
2617 Use xml--parse-buffer.
2618 (xml-parse-file): Use xml--parse-buffer.
2619 (xml-parse-dtd): Make parameter entity substitution work right.
6fe566a7 2620 Use proper regexps for ELEMENT declarations (Bug#7172).
fbf2e7ad 2621
9bf0aa15
GM
26222012-06-30 Glenn Morris <rgm@gnu.org>
2623
bbce2853
GM
2624 * comint.el (follow-comint-scroll-to-bottom): Fix declaration.
2625
9bf0aa15
GM
2626 * net/secrets.el, net/tramp-gvfs.el, net/xesam.el, net/zeroconf.el:
2627 Remove outdated and unnecessary dbus declarations.
2628
0d23c240
EZ
26292012-06-30 Eli Zaretskii <eliz@gnu.org>
2630
2631 * emacs-lisp/timer.el (timer-until): Subtract results of
2632 float-time, instead of taking float-time of the result of
2633 time-subtract, since float-time signals an error for negative time
2634 arguments.
2635
b3218de1
CY
26362012-06-30 Chong Yidong <cyd@gnu.org>
2637
2638 * xml.el (xml-*-re): Convert defvars into defconsts, and
2639 eval-and-compile them so eval-and-compile works on derivatives.
2640 (xml--entity-replacement-text): Use eval-and-comple.
2641
a40c87a0
MA
26422012-06-30 Michael Albinus <michael.albinus@gmx.de>
2643
2644 * vc/vc-git.el (vc-git-registered): Use cache property
2645 `git-registered'.
2646 (vc-git-mode-line-string): Call `vc-working-revision' instead of
2647 `vc-git-working-revision' in order to benefit from the cache.
2bb1ae55 2648 (vc-git-root): Use cache property `git-root'. (Bug#11757)
a40c87a0 2649
ac87de97
DG
26502012-06-30 Dmitry Gutov <dgutov@yandex.ru>
2651
2652 * vc/vc-hooks.el (vc-before-save): Clear cache if file has been
2bb1ae55 2653 removed (likely outside Emacs). (Bug#11757)
ac87de97 2654
ac10fe06
SM
26552012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
2656
3df31c9f 2657 * emacs-lisp/cl-lib.el: Require macroexp.
ac10fe06 2658
7f3fbd5d
CY
26592012-06-30 Chong Yidong <cyd@gnu.org>
2660
2661 * xml.el: Implement XML parameter entities.
2662 (xml-parameter-entity-alist): New variable.
2663 (xml-parse-region, xml-parse-fragment): Preserve previous values
2664 of xml-entity-alist and xml-parameter-entity-alist, so that
2665 repeated calls on different documents do not change them.
2666 (xml-parse-tag): Fix doctype regexp.
2667 (xml--entity-replacement-text): New function.
2668 (xml-parse-dtd): Use it. Don't handle system entities; doing that
2669 properly requires url retrieval which is unimplemented.
2670 (xml-escape-string): Doc fix.
2671
3cfbebba
SM
26722012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
2673
2674 * emacs-lisp/cl-lib.el (cl-pushnew): Use macroexp-let2.
2675
2af3565e
DA
26762012-06-29 Dmitry Antipov <dmantipov@yandex.ru>
2677
2678 * fringe.el (fringe-mode): Doc fix.
2679
929df0e7
MA
26802012-06-29 Michael Albinus <michael.albinus@gmx.de>
2681
2682 * net/ange-ftp.el (ange-ftp-get-passwd): Throw if `non-essential'
2683 is non-nil.
2684 (ange-ftp-ignore-errors-if-non-essential): New defmacro.
2685 (ange-ftp-file-name-all-completions): Use it. (Bug#11808)
2686
c8d3a25c 26872012-06-29 Andreas Schwab <schwab@linux-m68k.org>
3d8b9024 2688
c8d3a25c
GM
2689 * calendar/cal-dst.el (calendar-current-time-zone):
2690 Return calendar-current-time-zone-cache if non-nil.
3d8b9024 2691
c8d3a25c 26922012-06-29 Masatake YAMATO <yamato@redhat.com>
26e8548e
MY
2693
2694 * progmodes/which-func.el (which-func-format):
2695 Add mouse-face. (Bug#11698)
2696
c8d3a25c
GM
26972012-06-29 Leo Liu <sdl.web@gmail.com>
2698
2699 * textmodes/enriched.el (enriched-next-annotation): Use eq (Bug#11528).
2700
27012012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
2702
2703 * minibuffer.el (minibuffer-confirm-exit-commands):
2704 Add completion-at-point (bug#11725).
2705
27062012-06-29 Glenn Morris <rgm@gnu.org>
2707
2708 * progmodes/f90.el (f90-font-lock-keywords-2):
2709 Add some preprocessor elements. (Bug#10499)
2710
27112012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
2712
2713 * progmodes/cperl-mode.el (cperl-update-syntaxification):
2714 Use syntax-propertize (bug#11739).
2715
2badeec4
JB
27162012-06-28 Juanma Barranquero <lekktu@gmail.com>
2717
2718 * emacs-lisp/cl-lib.el (cl-pushnew): Don't capture X (bug#11811).
2719
ae4969c2
JD
27202012-06-28 Julien Danjou <julien@danjou.info>
2721
2722 * term.el (term-handle-colors-array): Use a set of new faces to
2723 color the terminal. Also uses :inverse-video property.
2724 (term-default-fg-color): Set to nil by default, deprecate in favor
2725 of `term-face'.
2726 (term-default-bg-color): Set to nil by default, deprecate in favor
2727 of `term-face'.
2728 (term-current-face): Use `term-face' by default.
2729 (term-bold-attribute): Variable deleted.
2730
1c9bd870
GM
27312012-06-28 Glenn Morris <rgm@gnu.org>
2732
2733 * simple.el (completion-list-mode-finish):
2734 Don't use toggle-read-only. (Since completion-list-mode has
2735 a special mode-class, it wasn't doing anything extra anyway.)
2736
c207708c
SM
27372012-06-28 Stefan Monnier <monnier@iro.umontreal.ca>
2738
2739 Make inlining of other-mode interpreted functions work (bug#11799).
2740 * emacs-lisp/bytecomp.el (byte-compile--refiy-function): New fun.
2741 (byte-compile): Use it to fix compilation of lexical-binding closures.
2742 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Compile the
2743 function, if needed.
2744
3fd56834
SM
27452012-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
2746
04901786
SM
2747 * help-mode.el (help-make-xrefs): Don't just withstand
2748 cyclic-variable-indirection but any error in documentation-property.
2749
1ec4b7b2
SM
2750 * loadup.el (purify-flag): Pre-grow the hash-table to reduce the
2751 memory use.
2752 * bindings.el (bindings--define-key): New function.
2753 * vc/vc-hooks.el, replace.el, menu-bar.el, international/mule-cmds.el:
2754 * emacs-lisp/lisp-mode.el, buff-menu.el, bookmark.el:
2755 * bindings.el: Use it to purecopy define-key bindings.
2756
e309e2a5
SM
2757 * textmodes/rst.el (rst-adornment-faces-alist): Avoid copy-list.
2758
d5c6faf9
SM
2759 * emacs-lisp/cl.el (flet): Mark obsolete.
2760 * emacs-lisp/cl-macs.el (cl-flet*): New macro.
2761 * vc/vc-rcs.el (vc-rcs-annotate-command, vc-rcs-parse):
2762 * progmodes/js.el (js-c-fill-paragraph):
2763 * progmodes/ebrowse.el (ebrowse-switch-member-buffer-to-sibling-class)
2764 (ebrowse-switch-member-buffer-to-derived-class):
2765 * play/5x5.el (5x5-solver): Use cl-flet.
2766
6e9590e2
SM
2767 * emacs-lisp/cl.el: Use lexical-binding. Fix flet (bug#11780).
2768 (cl--symbol-function): New macro.
2769 (cl--letf, cl--letf*): Use it.
2770
3fd56834
SM
2771 * emacs-lisp/easy-mmode.el (easy-mmode-pretty-mode-name):
2772 Strip "toggle-" if any.
2773
35ff222c
GM
27742012-06-27 Glenn Morris <rgm@gnu.org>
2775
1ba6038a
GM
2776 * info.el (Info-default-directory-list): Move here from paths.el.
2777 * paths.el: Remove file, which is now empty.
2778 * loadup.el: No longer load "paths".
2779
0ea0e51b
GM
2780 * custom.el (custom-initialize-delay): Doc fix.
2781
35ff222c
GM
2782 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
2783 * eshell/em-cmpl.el, eshell/em-dirs.el, eshell/em-glob.el:
2784 * eshell/em-hist.el, eshell/em-ls.el, eshell/em-pred.el:
2785 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-script.el:
2786 * eshell/em-smart.el, eshell/em-term.el, eshell/em-unix.el:
2787 * eshell/em-xtra.el: Replace eshell-defgroup with "(progn (defgroup".
2788 * eshell/eshell.el (eshell-defgroup): Remove alias.
2789
c89926a5
CY
27902012-06-27 Chong Yidong <cyd@gnu.org>
2791
2792 * help.el (help-enable-auto-load): New variable.
2793
2794 * help-fns.el (help-fns--autoloaded-p): New function.
2795 (describe-function-1): Refer to a function as "autoloaded" if it
2796 was autoloaded at any time in the past. Perform autoloading if
2797 help-enable-auto-load is non-nil.
2798
cc06e7e7
EZ
27992012-06-26 Eli Zaretskii <eliz@gnu.org>
2800
2801 * makefile.w32-in (compile, compile-always): Depend on
2802 update-subdirs, not on subdirs.el. Otherwise, several different
2803 sub-targets of 'bootstrap' running in parallel could
2804 simultaneously write to subdirs.el, producing a garbled file.
2805
d2c32364
SS
28062012-06-26 Sam Steingold <sds@gnu.org>
2807
2808 * files.el (file-name-base): New convenience function.
0d14cc21
GM
2809 * autoinsert.el, cus-dep.el, doc-view.el, image-dired.el:
2810 * woman.el, eshell/esh-cmd.el, progmodes/ada-xref.el:
2811 * progmodes/cc-defs.el, progmodes/cperl-mode.el:
2812 * progmodes/flymake.el, progmodes/gud.el, progmodes/idlwave.el:
2813 * textmodes/ispell.el, textmodes/reftex-ref.el:
d2c32364
SS
2814 * textmodes/tex-mode.el: Use it.
2815 Did not touch cedet and org because they are maintained elsewhere.
2816
5cf983b2
MR
28172012-06-26 Martin Rudalics <rudalics@gmx.at>
2818
2819 * calendar/calendar.el (calendar-exit): Don't try to delete or
2820 iconify last frame. See:
2821 http://lists.gnu.org/archive/html/emacs-devel/2012-06/msg00372.html
2822
8c4f2952
JD
28232012-06-25 Jim Diamond <Jim.Diamond@AcadiaU.ca> (tiny change)
2824
2825 * server.el (server-process-filter): Remember dir in the
2826 process's `server-client-directory' properties.
2827
772b2e2c
CY
28282012-06-24 Chong Yidong <cyd@gnu.org>
2829
2830 * xml.el (xml-parse-tag): Correctly handle comment embedded in
2831 non-tag text.
2832
711b11e1
JB
28332012-06-23 Juanma Barranquero <lekktu@gmail.com>
2834
2835 * makefile.w32-in (COMPILE_FIRST): Synch with changes in 2012-06-22T21:24:54Z!monnier@iro.umontreal.ca.
2836
dc5d230c
SM
28372012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
2838
2839 * help-fns.el (describe-variable): Don't croak when doc is not found.
2840 * vc/pcvs.el (cvs-retrieve-revision): Avoid toggle-read-only.
2841 * menu-bar.el (menu-bar-line-wrapping-menu): Purecopy a tiny bit more.
2842 * emacs-lisp/syntax.el (syntax-ppss): Simplify with new `if' place.
2843 * emacs-lisp/smie.el (smie-next-sexp): CSE.
2844 * emacs-lisp/macroexp.el (macroexp-let2): Fix edebug spec and avoid
2845 ((lambda ..) ..).
2846 * emacs-lisp/eieio.el (eieio-oref, slot-value): Use simpler defsetf.
2847
136e1c1d
CY
28482012-06-23 Chong Yidong <cyd@gnu.org>
2849
e8c1cabf
CY
2850 * info.el (Info-mouse-follow-link): Accept symbol values of
2851 link-args. Select window; suggested by Gerhard Kahl (Bug#11672).
136e1c1d
CY
2852 (Info-fontify-node): Use Info-link-keymap for all navigation
2853 buttons, with link-args property to perform the desired action.
2854 (Info-link-keymap): Doc fix.
2855 (Info-next-link-keymap, Info-prev-link-keymap)
2856 (Info-up-link-keymap): Delete now-unused keymaps.
2857
0e9e6c6a
CY
28582012-06-23 Chong Yidong <cyd@gnu.org>
2859
05e89fea
CY
2860 * mouse.el (mouse-drag-track): Deactivate the mark before popping.
2861
0e9e6c6a
CY
2862 * progmodes/python.el (python-skeleton-define): Mark abbrevs as
2863 system abbrevs.
2864
2865 * ansi-color.el (ansi-color-apply-on-region): Doc fix.
2866
e33c6771
SM
28672012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
2868
b68581e2
SM
2869 * emacs-lisp/cl-macs.el (cl--make-usage-args): Handle improper lists
2870 (bug#11719).
2871
e33c6771
SM
2872 * minibuffer.el (completion--twq-try): Try to fail more gracefully when
2873 the requote function doesn't work properly (bug#11714).
2874
7117e105
GM
28752012-06-23 Glenn Morris <rgm@gnu.org>
2876
2877 * pcmpl-rpm.el (pcmpl-rpm-packages): Give status messages.
2878
36cec983
SM
28792012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
2880
2881 Further GV/CL cleanups.
2882 * emacs-lisp/gv.el (gv-get): Autoload functions to find their
2883 gv-expander.
2884 (gv--defun-declaration): New function.
2885 (defun-declarations-alist): Use it.
2886 (gv-define-modify-macro, gv-pushnew!, gv-inc!, gv-dec!): Remove.
2887 (gv-place): Autoload.
2888 * emacs-lisp/cl.el (cl--dotimes, cl--dolist): Remember subr.el's
2889 original definition of dotimes and dolist.
2890 * emacs-lisp/cl-macs.el (cl-expr-access-order): Remove unused.
2891 (cl-dolist, cl-dotimes): Use `dolist' and `dotimes'.
2892 * emacs-lisp/cl-lib.el: Move gv handlers from cl-macs to here.
2893 (cl-fifth, cl-sixth, cl-seventh, cl-eighth)
2894 (cl-ninth, cl-tenth): Move gv handler to the function's definition.
2895 * emacs-lisp/cl-extra.el (cl-subseq, cl-get, cl-getf): Move gv handler
2896 to the function's definition.
2897 * Makefile.in (COMPILE_FIRST): Re-order to speed it up by about 50%.
2898 * window.el:
2899 * files.el:
2900 * faces.el:
2901 * env.el: Don't use CL.
2902
d35af63c
PE
29032012-06-22 Paul Eggert <eggert@cs.ucla.edu>
2904
2905 Support higher-resolution time stamps (Bug#9000).
2906
2907 * calendar/time-date.el (with-decoded-time-value): New arg
2908 PICO-SYMBOL in VARLIST. It's optional, for backward compatibility.
2909 (encode-time-value): New optional arg PICO. New type 3.
2910 (time-to-seconds) [!float-time]: Support the new picoseconds
2911 component if it's used.
2912 (seconds-to-time, time-subtract, time-add):
2913 Support ps-resolution time stamps as well.
2914
2915 * emacs-lisp/timer.el (timer): New component psecs. All uses changed.
2916 (timerp): Timer vectors now have length 9, not 8.
2917 (timer--time): Support new-style (4-part) time stamps.
2918 (timer-next-integral-multiple-of-time): Time stamps now have
2919 picosecond resolution, so take a bit more care about rounding.
2920 (timer-relative-time, timer-inc-time): New optional arg psecs.
2921 (timer-set-time-with-usecs): Set psecs to 0.
2922 (timer--activate): Check psecs component, too.
2923
2924 * proced.el (proced-time-lessp): Support ps-resolution stamps.
2925
ac77b21a
SM
29262012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
2927
f143bfe3
SM
2928 * icomplete.el (icomplete-minibuffer-setup, icomplete-completions):
2929 Move the non-essential binding to the post/pre-command-hook where it is
2930 more obviously correct.
2931
ac77b21a
SM
2932 * subr.el (read-passwd): Don't use a history at all.
2933 * savehist.el (savehist-save): Remove password saved accidentally
2934 because of the above bug.
2935
76386c5a
BG
29362012-06-22 Bastien Guerry <bzg@gnu.org>
2937
2938 * files.el (toggle-read-only): Display a message telling whether
2939 the buffer is read-only or not (bug#11726).
2940
2ee3d7f0
SM
29412012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
2942
2943 * emacs-lisp/gv.el: New file.
2944 * subr.el (push, pop): Extend to generalized variables.
2945 * loadup.el (macroexp): Unload if preloaded and uncompiled (bug#11657).
2946 * emacs-lisp/cl-lib.el (cl-pop, cl-push, cl--set-nthcdr): Remove.
2947 * emacs-lisp/cl-macs.el: Require gv. Use gv-define-setter,
2948 gv-define-simple-setter, and gv-define-expander.
2949 Remove setf-methods defined in gv. Rename cl-setf -> setf.
2950 (cl-setf, cl-do-pop, cl-get-setf-method): Remove.
2951 (cl-letf, cl-letf*, cl-define-modify-macro, cl-defsetf)
2952 (cl-define-setf-expander, cl-struct-setf-expander): Move to cl.el.
2953 (cl-remf, cl-shiftf, cl-rotatef, cl-callf, cl-callf2): Rewrite with
2954 gv-letplace.
2955 (cl-defstruct): Don't define setf-method any more.
2956 * emacs-lisp/cl.el (flet): Don't autoload.
2957 (cl--letf, letf, cl--letf*, letf*, cl--gv-adapt)
2958 (define-setf-expander, defsetf, define-modify-macro)
2959 (cl-struct-setf-expander): Move from cl-lib.el.
2960 * emacs-lisp/syntax.el:
2961 * emacs-lisp/ewoc.el:
2962 * emacs-lisp/smie.el:
2963 * emacs-lisp/cconv.el:
2964 * emacs-lisp/timer.el: Rename cl-setf -> setf, cl-push -> push.
2965 (timer--time): Use gv-define-simple-setter.
2966 * emacs-lisp/macroexp.el (macroexp-let2): Rename from macroexp-let²
2967 to avoid coding-system problems in subr.el. Adjust all users.
2968 (macroexp--maxsize, macroexp-small-p): New functions.
2969 * emacs-lisp/bytecomp.el (byte-compile-file): Don't use cl-letf.
2970 * scroll-bar.el (scroll-bar-mode):
2971 * simple.el (auto-fill-mode, overwrite-mode, binary-overwrite-mode)
2972 (normal-erase-is-backspace-mode): Don't use the `eq' place.
2973 * winner.el (winner-configuration, winner-make-point-alist)
2974 (winner-set-conf, winner-get-point, winner-set): Don't abuse letf.
2975 * files.el (locate-file-completion-table): Avoid list*.
2976
c5695d1d
CY
29772012-06-22 Chong Yidong <cyd@gnu.org>
2978
2979 * dired-aux.el (dired-do-create-files): Doc fix (Bug#11327).
2980 (dired-create-files): Doc fix (Bug#11329).
2981 (dired-do-copy): Doc fix (Bug#11334).
2982 (dired-mark-read-string): Doc fix (Bug#11553).
2983
2ee3d7f0
SM
2984 * dired.el (dired-recursive-copies, dired-recursive-deletes):
2985 Doc fix (Bug#11326).
c5695d1d
CY
2986 (dired-make-relative): Doc fix (Bug#11332). Remove unused arg.
2987 (dired-dwim-target): Doc fix.
2988
2989 * wdired.el (wdired-mode): Doc fix.
2990
89b5595a
GM
29912012-06-22 Glenn Morris <rgm@gnu.org>
2992
575db3f1
GM
2993 * pcmpl-rpm.el (pcmpl-rpm-cache): New option.
2994 (pcmpl-rpm-cache-stamp-file): New constant.
2995 (pcmpl-rpm-cache-time, pcmpl-rpm-packages): New variables.
2996 (pcmpl-rpm-packages): Optionally cache list of packages.
2997
a4c8dd51
GM
2998 * pcmpl-rpm.el (pcmpl-rpm): New group.
2999 (pcmpl-rpm-query-options): New option.
3000 (pcmpl-rpm-packages): No need to inline it.
3001 Use pcmpl-rpm-query-options.
3002
89b5595a
GM
3003 * calendar/calendar.el (calendar-in-read-only-buffer):
3004 Avoid some needless mode changes.
3005
e76f0800
CY
30062012-06-21 Chong Yidong <cyd@gnu.org>
3007
3008 * desktop.el (desktop-read): Don't prompt if daemon (Bug#11674).
3009 (desktop-path): Remove . from the default value (Bug#10977).
6b67c0d4 3010 (desktop-read): Use user-emacs-directory if desktop-path is nil.
e76f0800 3011
297a8f1d
CY
30122012-06-20 Chong Yidong <cyd@gnu.org>
3013
3014 * term.el (term-send-raw-meta): Make C-M-<char> keys work (Bug#8172).
3015
d34c18b1
DR
30162012-06-20 David Röthlisberger <david@rothlis.net> (tiny change)
3017
3018 * ido.el (ido-switch-buffer, ido-find-file): Fix up doc of C-j
3019 (bug#11201).
3020
32f7f28e
CY
30212012-06-20 Chong Yidong <cyd@gnu.org>
3022
3023 * term.el (term-window-width): Handle the case of a missing right
3024 fringe (Bug#8837).
3025 (term-check-size): Use window-text-height (Bug#5445).
d34c18b1
DR
3026 (term-mode): Use define-derived-mode. Minor cleanups.
3027 Set font-lock-defaults (Bug#7692).
6ff7caa8
CY
3028 (term-move-columns, term-insert-char, term-emulate-terminal)
3029 (term-erase-in-line, term-insert-spaces): Use font-lock-face.
32f7f28e 3030
493c6688
MA
30312012-06-20 Michael Albinus <michael.albinus@gmx.de>
3032
d34c18b1
DR
3033 * net/ange-ftp.el (ange-ftp-get-passwd):
3034 Bind `enable-recursive-minibuffers'.
493c6688
MA
3035 (ange-ftp-get-process): Throw if `non-essential' is non-nil.
3036
3f06ecf4
DR
30372012-06-19 David Röthlisberger <david@rothlis.net> (tiny change)
3038
3039 * ido.el (ido-find-file): Mention C-d binding in docstring (bug#11244).
3040
68f12411
GM
30412012-06-19 Glenn Morris <rgm@gnu.org>
3042
3043 * progmodes/python.el (python-mode): Derive from prog-mode.
3044
b3820318
KG
30452012-06-19 Kevin Gallagher <Kevin.Gallagher@boeing.com>
3046
3047 * emulation/edt.el (edt-default-menu-bar-update-buffers)
3048 (edt-user-menu-bar-update-buffers): New functions.
3049 (edt-default-emulation-setup, edt-user-emulation-setup): Use them.
3050
c6bf3022
CY
30512012-06-19 Chong Yidong <cyd@gnu.org>
3052
3053 * subr.el (with-selected-window): Preserve the selected window's
3054 terminal's top-frame (Bug#4702).
3055
3056 * window.el (save-selected-window): Likewise.
3057
25f09295
SM
30582012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
3059
3060 * progmodes/python.el (python-rx-constituents): Move backquote.
3061 (python-skeleton-define, python-define-auxiliary-skeleton):
3062 Use `declare'.
3063
6b11952a
MA
30642012-06-18 Michael Albinus <michael.albinus@gmx.de>
3065
3066 * minibuffer.el (read-file-name-default): Revert the patch from
3067 2012-06-17.
3068
ee4b1330
SM
30692012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
3070
3071 * emacs-lisp/pcase.el (pcase--expand): Warn for unused pattern.
3072 (pcase--u1, pcase--q1): Don't use apply-partially.
3073
35647f79
GM
30742012-06-18 Glenn Morris <rgm@gnu.org>
3075
3076 * progmodes/python.el (python-proc, python-buffer)
3077 (python-send-receive, python-send-string): Fix obsolete versions.
3078
24b0cff0
MR
30792012-06-18 Martin Rudalics <rudalics@gmx.at>
3080
3081 * window.el (special-display-p): Completely remove stringp
3082 check. Suggested by Andreas Schwab <schwab@linux-m68k.org>.
3083
29855149
MA
30842012-06-17 Michael Albinus <michael.albinus@gmx.de>
3085
3086 * minibuffer.el (read-file-name-default): Bind `non-essential' to `t'.
3087
3088 * net/tramp.el (tramp-file-name-handler): Catch 'non-essential.
3089
3090 * net/ange-ftp.el (ange-ftp-gwp-start, ange-ftp-start-process):
3091 * net/tramp-sh.el (tramp-maybe-open-connection):
3092 Throw if `non-essential' is non-nil.
3093
07463363
MR
30942012-06-17 Martin Rudalics <rudalics@gmx.at>
3095
3096 * window.el (special-display-p): Signal an error if BUFFER-NAME
3097 is not a string (Bug#11713).
3098
48d1354e
PE
30992012-06-17 Paul Eggert <eggert@cs.ucla.edu>
3100
3101 * progmodes/python.el (python-info-beginning-of-backslash):
3102 Rename from python-info-beginning-of-backlash, as a spelling fix.
3103
eb4a8a9a
CY
31042012-06-17 Chong Yidong <cyd@gnu.org>
3105
3106 * term.el (term-emulate-terminal): If term-check-size is called,
3107 move point to the process mark without resetting point (Bug#4635).
3108
ddfbf826 31092012-06-17 Glenn Morris <rgm@gnu.org>
9c758578
GM
3110
3111 * international/mule-cmds.el (mule-menu-keymap)
3112 (set-language-environment, set-locale-environment): Doc tweaks.
3113
9b0e3eba
AA
31142012-06-16 Aurelien Aptel <aurelien.aptel@gmail.com>
3115
3116 * cus-face.el (custom-face-attributes): Add wave-style underline
3117 attribute.
3118 * faces.el (set-face-attribute): Update docstring to describe
3119 wave-style underline attribute.
3120
771e3eae
CY
31212012-06-16 Chong Yidong <cyd@gnu.org>
3122
3123 * term/xterm.el (terminal-init-xterm): Discard input before
3124 querying background mode (Bug#10959).
3125
7ae2ea10
SM
31262012-06-16 Stefan Merten <smerten@oekonux.de>
3127
3128 * textmodes/rst.el: Added and corrected some comments.
3129 (rst-re-alist-def): Improve symbol syntax.
3130 (rst-mode-syntax-table): Correct syntax entries.
6665a6fd
SM
3131 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
3132 (rst-official-version, rst-official-cvs-rev): Update version
3133 information.
7ae2ea10 3134
b6974efa
JB
31352012-06-15 Juanma Barranquero <lekktu@gmail.com>
3136
3137 * makefile.w32-in (COMPILE_FIRST): Synch with makefile.in changes
3138 in 2008-06-22T13:57:28Z!monnier@iro.umontreal.ca.
3139
8826d473
GM
31402012-06-15 Fabián Ezequiel Gallina <fgallina@cuca>
3141
3142 * progmodes/python.el: New python.el merge.
3143 (python-guess-indent): Obsolete var.
3144 (python-indent-guess-indent-offset): New defcustom.
3145 (python-indent): Obsolete var.
3146 (python-indent-offset): New defcustom.
3147 (python-python-command, python-jython-command): Delete var.
3148 (python-shell-interpreter): New defcustom.
3149 (python-pdbtrack-do-tracking-p): Delete var.
3150 (python-pdbtrack-activate): New defcustom.
3151 (python-use-skeletons): Obsolete var.
3152 (python-skeleton-autoinsert): New defcustom.
3153 (inferior-python-filter-regexp, python-continuation-offset)
3154 (python-honour-comment-indentation, python-indent-string-contents)
3155 (python-jython-packages, python-mode-hook)
3156 (python-pdbtrack-minor-mode-string, python-remove-cwd-from-path)
3157 (python-shell-prompt-alist)
3158 (python-source-modes): Delete defcustoms.
3159 (python-check-buffer-name, python-eldoc-setup-code)
3160 (python-eldoc-string-code, python-ffap-setup-code)
3161 (python-ffap-string-code, python-fill-comment-function)
3162 (python-fill-decorator-function, python-fill-paren-function)
3163 (python-fill-string-function, python-imenu-include-defun-type)
3164 (python-imenu-make-tree, python-imenu-subtree-root-label)
3165 (python-pdbtrack-stacktrace-info-regexp, python-shell-buffer-name)
3166 (python-shell-compilation-regexp-alist)
3167 (python-shell-completion-module-string-code)
3168 (python-shell-completion-pdb-string-code)
3169 (python-shell-completion-setup-code)
3170 (python-shell-completion-string-code)
3171 (python-shell-enable-font-lock, python-shell-exec-path)
3172 (python-shell-extra-pythonpaths)
3173 (python-shell-internal-buffer-name, python-shell-interpreter-args)
3174 (python-shell-process-environment)
3175 (python-shell-prompt-block-regexp)
3176 (python-shell-prompt-output-regexp)
3177 (python-shell-prompt-pdb-regexp, python-shell-prompt-regexp)
3178 (python-shell-send-setup-max-wait, python-shell-setup-codes)
3179 (python-shell-virtualenv-path): New defcustoms.
3180 (brm-menu, eldoc-documentation-function, inferior-python-mode-map)
3181 (inferior-python-mode-syntax-table, python--prompt-regexp)
3182 (python-buffer, python-command python-python-command)
3183 (python-default-template, python-imports, python-indent-index)
3184 (python-indent-list, python-indent-list-length)
3185 (python-mode-running, python-pdbtrack-is-tracking-p)
3186 (python-preoutput-continuation, python-preoutput-leftover)
3187 (python-preoutput-result, python-preoutput-skip-next-prompt)
3188 (python-prev-dir/file, python-recursing)
3189 (python-saved-check-command, python-version-checked)
3190 (python-which-func-length-limit)
3191 (view-return-to-alist): Delete vars.
3192 (python-check-custom-command, python-dotty-syntax-table)
3193 (python-imenu-index-alist, python-indent-current-level)
3194 (python-indent-dedenters, python-indent-levels)
3195 (python-nav-beginning-of-defun-regexp)
3196 (python-nav-list-defun-positions-cache)
3197 (python-pdbtrack-buffers-to-kill, python-pdbtrack-tracked-buffer)
3198 (python-shell-internal-buffer)
3199 (python-skeleton-available): New vars.
3200 (def-python-skeleton): Delete macro.
3201 (python-skeleton-define): New macro.
3202 (python-define-auxiliary-skeleton, python-rx): New macros.
3203 (python-insert-class): Delete command.
3204 (python-skeleton-class): New command.
3205 (python-insert-def): Delete command.
3206 (python-skeleton-def): New command.
3207 (python-insert-for): Delete command.
3208 (python-skeleton-for): New command.
3209 (python-insert-if): Delete command.
3210 (python-skeleton-if): New command.
3211 (python-insert-try/except, python-insert-try/finally): Delete commands.
3212 (python-skeleton-try): New command.
3213 (python-insert-while): Delete command.
3214 (python-skeleton-while): New command.
3215 (python-backspace): Delete command.
3216 (python-indent-dedent-line-backspace): New command.
3217 (python-electric-colon): Delete command.
3218 (python-indent-electric-colon): New command.
3219 (python-guess-indent): Delete command.
3220 (python-indent-guess-indent-offset): New command.
3221 (python-shift-left): Delete command.
3222 (python-indent-shift-left): New command.
3223 (python-shift-right): Delete command.
3224 (python-indent-shift-right): New command.
3225 (python-find-function): Delete command.
3226 (python-nav-jump-to-defun): New command.
3227 (python-next-statement): Delete command.
3228 (python-nav-forward-sentence): New command.
3229 (python-previous-statement): Delete command.
3230 (python-nav-backward-sentence): New command.
3231 (python-fill-paragraph): Delete command.
3232 (python-fill-paragraph-function): New command.
3233 (python-send-buffer): Delete command.
3234 (python-shell-send-buffer): New command.
3235 (python-send-defun): Delete command.
3236 (python-shell-send-defun): New command.
3237 (python-send-region, python-send-region-and-go): Delete commands.
3238 (python-shell-send-region)
3239 (python-shell-switch-to-shell): New commands.
3240 (python-send-string): Delete command.
3241 (python-shell-send-string): New command.
3242 (python-switch-to-python): Delete command.
3243 (python-shell-switch-to-shell): New command.
3244 (python-describe-symbol): Delete command.
3245 (python-eldoc-at-point): New command.
3246 (python--set-prompt-regexp, python-args-to-list)
3247 (python-after-info-look, python-check-version)
3248 (python-check-comint-prompt, python-find-imports)
3249 (python-execute-file, turn-off-pdbtrack, turn-on-pdbtrack)
3250 (python-unload-function, python-expand-template)
3251 (python-maybe-jython, python-preoutput-filter)
3252 (python-pdbtrack-get-source-buffer)
3253 (python-pdbtrack-grub-for-buffer, python-pdbtrack-overlay-arrow)
3254 (python-pdbtrack-toggle-stack-tracking)
3255 (python-pdbtrack-track-stack-file, python-initial-text)
3256 (python-first-word, python-comment-line-p, python-send-command)
3257 (python-setup-brm, python-sentinel, python-set-proc)
3258 (python-skip-out, python-input-filter, python-outdent-p)
3259 (python-outline-level, python-backslash-continuation-line-p)
3260 (python-end-of-block, python-end-of-statement, python-mark-block)
3261 (python-beginning-of-block, python-beginning-of-statement)
3262 (python-blank-line-p, python-beginning-of-string)
3263 (python-open-block-statement-p): Delete functions.
3264 (python-indent-line, python-indent-line-1): Delete functions.
3265 (python-indent-line): New function.
3266 (python-indentation-levels): Delete function.
3267 (python-indent-calculate-levels): New function.
3268 (python-proc): Delete function.
3269 (python-shell-get-process): New function.
3270 (python-send-receive): Delete function.
3271 (python-shell-send-string-no-output): New function.
3272 (python-module-path): Delete function.
3273 (python-ffap-module-path): New function.
3274 (python-completion-at-point)
3275 (python-symbol-completions): Delete functions.
3276 (python-completion-complete-at-point): New function.
3277 (python-load-file): Delete function.
3278 (python-shell-send-file): New function.
3279 (python-calculate-indentation): Delete function.
3280 (python-indent-calculate-indentation): New function.
3281 (python-skip-comments/blanks): Delete function.
3282 (python-util-forward-comment): New function.
3283 (python-continuation-line-p): Delete function.
3284 (python-info-continuation-line-p): New function.
3285 (python-which-func, python-current-defun): Delete function.
3286 (python-info-current-defun): New function.
3287 (python-beginning-of-defun): Delete function.
3288 (python-nav-beginning-of-defun): New function.
3289 (python-close-block-statement-p)
3290 (python-block-end-p): Delete function.
3291 (python-info-closing-block): New function.
3292 (python-comint-output-filter-function)
3293 (python-eldoc--get-doc-at-point, python-end-of-defun-function)
3294 (python-fill-comment, python-fill-decorator, python-fill-paren)
3295 (python-fill-string, python-imenu-make-element-tree)
3296 (python-imenu-make-tree, python-imenu-tree-assoc)
3297 (python-indent-context, python-indent-dedent-line)
3298 (python-indent-line-function)
3299 (python-indent-post-self-insert-function)
3300 (python-indent-toggle-levels)
3301 (python-info-assignment-continuation-line-p)
3302 (python-info-beginning-of-backlash)
3303 (python-info-block-continuation-line-p)
3304 (python-info-closing-block-message)
3305 (python-info-line-ends-backslash-p)
3306 (python-info-looking-at-beginning-of-defun)
3307 (python-info-ppss-context, python-info-ppss-context-type)
3308 (python-nav-list-defun-positions, python-nav-read-defun)
3309 (python-nav-sentence-end, python-nav-sentence-start)
3310 (python-pdbtrack-comint-output-filter-function)
3311 (python-pdbtrack-set-tracked-buffer)
3312 (python-shell-calculate-exec-path)
3313 (python-shell-calculate-process-environment)
3314 (python-shell-completion--do-completion-at-point)
3315 (python-shell-completion--get-completions)
3316 (python-shell-completion-complete-at-point)
3317 (python-shell-completion-complete-or-indent)
3318 (python-shell-get-or-create-process)
3319 (python-shell-get-process-name)
3320 (python-shell-internal-get-or-create-process)
3321 (python-shell-internal-get-process-name)
3322 (python-shell-internal-send-string, python-shell-make-comint)
3323 (python-shell-parse-command, python-shell-send-setup-code)
3324 (python-skeleton-add-menu-items)
3325 (python-util-clone-local-variables, python-util-position)
3326 (run-python-internal, python-indentation-levels)
3327 (python-nav-beginning-of-defun)
3328 (python-completion-complete-at-point): New functions.
3329 (run-python): Change arguments. New API requirements.
3330
4302f5ba
SM
33312012-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
3332
f38ea36d
SM
3333 * emacs-lisp/cl-lib.el (cl--defsubst-expand): Autoload inliner
3334 (bug#11649).
3335
3336 * emacs-lisp/macroexp.el (macroexp--compiler-macro): New function.
3337 (macroexp--expand-all): Use it.
3338
4302f5ba
SM
3339 * emacs-lisp/cl-macs.el (cl--transform-function-property): Remove.
3340 (cl-define-setf-expander, cl-deftype, cl-define-compiler-macro):
3341 Use `cl-function' instead.
3342
33377562
JB
33432012-06-14 Juanma Barranquero <lekktu@gmail.com>
3344
3345 * makefile.w32-in (COMPILE_FIRST): Remove subr.el.
3346 Suggested by Stefan Monnier while discussing bug#11657.
3347
54c5ba1a
SS
33482012-06-14 Sam Steingold <sds@gnu.org>
3349
3350 * files.el (abort-if-file-too-large): Use `file-size-human-readable'.
3351
f9f1b1fe
AS
33522012-06-14 Andreas Schwab <schwab@linux-m68k.org>
3353
3354 * play/doctor.el (doctor-doc): Remove parameter and use
3355 doctor-sent instead of sent.
3356 (doctor-read-print): Use doctor-sent instead of sent. (Bug#11708)
3357
a81068ba
SM
33582012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
3359
5a315f9c
SM
3360 * files.el: Require cl-lib.
3361 (file-name-non-special): Replace case -> cl-case.
3362
3363 * emacs-lisp/cl-macs.el (cl-defstruct): Don't add print-func.
3364
a81068ba
SM
3365 * emacs-lisp/edebug.el (edebug-read-function): Remove old incorrect
3366 mapping from #' to function*.
3367
8cca9703
CY
33682012-06-13 Chong Yidong <cyd@gnu.org>
3369
3370 * mouse.el (mouse-drag-track): Do not set the mark if the user
3371 releases the mouse without selecting anything (Bug#11588).
3372
a12ac9d7
SM
33732012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
3374
ccf1dc18
SM
3375 * textmodes/tex-mode.el (latex-indent): Recognize tex-verbatim at EOB
3376 as well (bug#11646).
3377
ef62b23d
SM
3378 * loadup.el: Count byte-code functions as well.
3379
c4c8444a
SM
3380 * emacs-lisp/byte-opt.el (featurep): Move compiler-macro...
3381 * emacs-lisp/bytecomp.el (featurep): ...here (bug#11692).
3382
a12ac9d7
SM
3383 * emacs-lisp/autoload.el (make-autoload): Accept nil doc-string-elt
3384 (bug#11649). Add cl-defun and cl-defmacro.
3385
87e6e64f
DA
33862012-06-13 Drew Adams <drew.adams@oracle.com>
3387
3388 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
3389 Fix last change.
3390
682cefaf
MA
33912012-06-13 Michael Albinus <michael.albinus@gmx.de>
3392
3393 * net/dbus.el (dbus-call-method): Use timeout for `read-event'.
3394 Otherwise, it blocks in batch mode.
3395
773e1f08
JB
33962012-06-13 Juanma Barranquero <lekktu@gmail.com>
3397
3398 * help-mode.el (bookmark-make-record-default): Declare.
3399
60057926
CY
34002012-06-13 Chong Yidong <cyd@gnu.org>
3401
3402 * emacs-lisp/package.el (list-packages): Compute a list of
3403 packages that are newly-available since the last list-packages
3404 invocation.
3405 (package-menu--new-package-list): New var.
3406 (package-menu--generate, package-menu--print-info)
3407 (package-menu--status-predicate, package-menu-mark-install):
3408 Handle new status label "new".
3409
ad4d226c
SM
34102012-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
3411
3412 * emacs-lisp/cl-macs.el (cl-remf): Fix error in recent
3413 conversion to backquotes.
3414
f1a4e679
CY
34152012-06-12 Chong Yidong <cyd@gnu.org>
3416
3417 * emacs-lisp/edebug.el (edebug-inhibit-emacs-lisp-mode-bindings):
3418 Rename from gud-inhibit-global-bindings.
3419
3420 * emacs-lisp/eieio.el (eieio-pre-method-execution-hooks): Doc fix.
3421
3422 * nxml/nxml-glyph.el (nxml-glyph-set-functions): Rename abnormal
3423 hook from nxml-glyph-set-hook.
3424
3425 * progmodes/cwarn.el (cwarn-mode): Remove redundant variable
3426 declaration.
3427
3428 * progmodes/pascal.el (pascal-toggle-completions): Doc fix.
3429
3430 * textmodes/bibtex.el (bibtex-string-file-path, bibtex-file-path):
3431 Convert to defcustom.
3432
0c9e42b5
DA
34332012-06-12 Drew Adams <drew.adams@oracle.com>
3434
3435 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
3436 New functions.
3437 (help-mode): Use them.
3438
09e06855
GM
34392012-06-11 Glenn Morris <rgm@gnu.org>
3440
3441 * progmodes/fortran.el (fortran-font-lock-keywords-3):
3442 Use preprocessor face for directives.
3443 (fortran-directive-re): Doc fix.
3444
71adb94b
SM
34452012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
3446
2eb87922
SM
3447 * emacs-lisp/cl-macs.el (cl-parse-loop-clause): Fix error in recent
3448 conversion to backquotes (bug#11652).
3449
71adb94b
SM
3450 Fix compiler-expansion of CL's cXXr functions (bug#11673).
3451 * emacs-lisp/cl-lib.el (cl--defalias): New function.
3452 (cl-values, cl-values-list, cl-copy-seq, cl-svref, cl-first)
3453 (cl-second, cl-rest, cl-endp, cl-third, cl-fourth): Use it.
3454 (cl-plusp, cl-minusp, cl-fifth, cl-sixth, cl-seventh, cl-eighth)
3455 (cl-ninth, cl-tenth): Mark them as inlinable.
3456 (cl-caaar, cl-caadr, cl-cadar, cl-caddr, cl-cdaar, cl-cdadr)
3457 (cl-cddar, cl-cdddr, cl-caaaar, cl-caaadr, cl-caadar, cl-caaddr)
3458 (cl-cadaar, cl-cadadr, cl-caddar, cl-cadddr, cl-cdaaar, cl-cdaadr)
3459 (cl-cdadar, cl-cdaddr, cl-cddaar, cl-cddadr, cl-cdddar, cl-cddddr):
3460 Add a compiler-macro declaration to use cl--compiler-macro-cXXr.
3461 (cl-list*, cl-adjoin): Don't put an autoload manually.
3462 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin)
3463 (cl--compiler-macro-list*): Add autoload cookie.
3464 (cl--compiler-macro-cXXr): New function.
2eb87922 3465
71adb94b
SM
3466 * help-fns.el (help-fns--compiler-macro): New function extracted from
3467 describe-function-1; follow aliases and use `compiler-macro' property.
3468 (describe-function-1): Use it.
3469
a6674402
CY
34702012-06-11 Chong Yidong <cyd@gnu.org>
3471
3472 * startup.el (fancy-splash-head): Use splash.svg even if librsvg
3473 is uninstalled, if imagemagick is installed.
3474
bb3faf5b
SM
34752012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
3476
3477 * emacs-lisp/cl-lib.el: Use lexical-binding.
3478 (cl-map-extents, cl-maclisp-member): Remove.
3479 (cl--set-elt, cl--set-nthcdr, cl--set-buffer-substring)
3480 (cl--set-substring, cl--block-wrapper, cl--block-throw)
3481 (cl--compiling-file, cl--mapcar-many, cl--do-subst): Use "cl--" prefix.
3482 * emacs-lisp/cl-extra.el: Use lexical-binding.
3483 (cl--mapcar-many, cl--map-keymap-recursively, cl--map-intervals)
3484 (cl--map-overlays, cl--set-frame-visible-p, cl--progv-save)
3485 (cl--progv-before, cl--progv-after, cl--finite-do, cl--set-getf)
3486 (cl--do-remf, cl--do-prettyprint): Use "cl--" prefix.
3487 * emacs-lisp/cl-seq.el: Use lexical-binding.
3488 (cl--parsing-keywords, cl--check-key, cl--check-test-nokey)
3489 (cl--check-test, cl--check-match): Use "cl--" prefix and backquotes.
3490 (cl--alist, cl--sublis-rec, cl--nsublis-rec, cl--tree-equal-rec):
3491 * emacs-lisp/cl-macs.el (cl--lambda-list-keywords): Use "cl--" prefix.
3492 * edmacro.el (edmacro-mismatch): Simplify to remove dependence on
3493 CL's internals.
3494
2fe4b125
MA
34952012-06-11 Michael Albinus <michael.albinus@gmx.de>
3496
3497 Sync with Tramp 2.2.6-pre.
3498
3499 * net/tramp-cache.el (tramp-dump-connection-properties): Let-bind
3500 `print-length' and `print-level' to nil, in order to avoid
3501 truncation. Reported by Christopher Schmidt
3502 <christopher@ristopher.com>.
3503
3504 * net/tramp-cmds.el (tramp-cleanup-connection): Delete also process.
3505
3506 * net/tramp-compat.el (tramp-compat-condition-case-unless-debug):
3507 New defmacro.
3508 (tramp-compat-copy-directory): Add optional argument
3509 COPY-CONTENTS. It is not handled yet.
3510
3511 * net/tramp-ftp.el (tramp-disable-ange-ftp): Fix docstring.
3512 (tramp-ftp-file-name-p): Simplify.
3513
3514 * net/tramp-gvfs.el (tramp-gvfs-handle-expand-file-name):
3515 * net/tramp-gw.el (tramp-gw-open-connection): Add hop to
3516 connection vector.
3517
3518 * net/tramp-sh.el (tramp-copy-size-limit): Fix docstring.
3519 (tramp-methods): Do not use `tramp-password-end-of-line'.
3520 (tramp-completion-function-alist-putty): Handle UNIX case.
3521 (tramp-remote-path): Add "/opt/bin", "/opt/sbin" and "/opt/local/bin".
3522 (tramp-do-file-attributes-with-stat)
3523 (tramp-do-directory-files-and-attributes-with-stat) Return uid and
3524 gid as real numbers. They could run out of integer range on cygwin.
3525 (tramp-do-copy-or-rename-file-out-of-band): Better trace format.
3526 (tramp-sh-handle-expand-file-name): Handle hops.
87e6e64f
DA
3527 (tramp-open-connection-setup-interactive-shell):
3528 Use `tramp-cleanup'. Move check for busyboxes ...
3529 (tramp-find-shell): ... here. Simplify implementation.
3530 Set "remote-shell" property also for alternative shells.
3531 (tramp-remote-coding-commands): Check "test -c /dev/stdout".
3532 If failing, a regular file would be written otherwise.
3533 Reported by Dmitry Kurochkin <dmitry.kurochkin@gmail.com>.
2fe4b125
MA
3534 (tramp-find-inline-encoding): Cache the coding commands in the
3535 process cache. Apply test command on the remote side, if defined.
3536 (tramp-find-inline-compress): Cache the compress commands in the
3537 process cache.
3538 (tramp-compute-multi-hops): Save `tramp-default-proxies-alist'
3539 when requested. Handle hops.
3540 (tramp-current-connection): New defvar.
87e6e64f
DA
3541 (tramp-maybe-open-connection): Use `tramp-cleanup'.
3542 Throw `suppress', if there was a failed connection shortly before.
2fe4b125 3543 Handle user interrupt. (Bug#10187)
87e6e64f
DA
3544 (tramp-get-inline-compress, tramp-get-inline-coding):
3545 Read connection properties from the process cache.
2fe4b125
MA
3546
3547 * net/tramp-smb.el (tramp-smb-server-version)
87e6e64f
DA
3548 (tramp-smb-wrong-passwd-regexp, tramp-smb-actions-with-tar):
3549 New defconsts.
2fe4b125
MA
3550 (tramp-smb-prompt): Extend for powershell prompt.
3551 (tramp-smb-file-name-handler-alist): Add handlers for
3552 `process-file', `shell-command' and `start-file-process'.
3553 (tramp-smb-winexe-program, tramp-smb-winexe-shell-command)
3554 (tramp-smb-winexe-shell-command-switch): New defcustoms.
3555 (tramp-smb-file-name-p): Simplify.
3556 (tramp-smb-action-with-tar, tramp-smb-handle-process-file)
3557 (tramp-smb-kill-winexe-function, tramp-smb-call-winexe)
3558 (tramp-smb-shell-quote-argument): New defuns.
3559 (tramp-smb-handle-copy-directory): Add COPY-CONTENTS argument.
3560 Implement using "tar". By this, time-stamps are preserved.
3561 (tramp-smb-handle-copy-file): Handle also the case of directories.
3562 (tramp-smb-do-file-attributes-with-stat)
87e6e64f
DA
3563 (tramp-smb-get-file-entries, tramp-smb-get-cifs-capabilities):
3564 Use `tramp-get-connection-buffer').
2fe4b125
MA
3565 (tramp-smb-handle-rename-file): Use "rename", when source and
3566 target are on the same share.
87e6e64f
DA
3567 (tramp-smb-maybe-open-connection): Handle wrong passwords.
3568 Use `tramp-smb-server-version'.
2fe4b125
MA
3569 (tramp-smb-wait-for-output): Remove prompt.
3570
3571 * net/tramp.el (top): Require 'cl.
87e6e64f
DA
3572 (tramp-methods, tramp-rsh-end-of-line):
3573 Remove `tramp-password-end-of-line' from docstring.
2fe4b125
MA
3574 (tramp-save-ad-hoc-proxies): New defcustom.
3575 (tramp-completion-function-alist): Adapt docstring.
3576 (tramp-default-password-end-of-line): Remove defcustom.
3577 (tramp-shell-prompt-pattern): Allow "[]" style prompts. (Bug#11065)
3578 (tramp-user-regexp, tramp-file-name-regexp-unified)
3579 (tramp-file-name-regexp-url): Extend regexp by hop separator.
3580 (tramp-postfix-hop-format, tramp-postfix-hop-regexp)
3581 (tramp-remote-file-name-spec-regexp): New defconst.
3582 (tramp-file-name-structure): Extend structure for hops.
3583 (tramp-get-method-parameter): Move up.
3584 (tramp-file-name-p, tramp-dissect-file-name)
3585 (with-parsed-tramp-file-name): Handle hops.
3586 (tramp-file-name-hop): New defun.
3587 (tramp-make-tramp-file-name): New optional arg HOP.
3588 (tramp-message-show-progress-reporter-message): New defvar.
3589 (tramp-with-progress-reporter): Use it. We cannot use
3590 `tramp-message-show-message' here, because this suppresses also
3591 error buffers.
3592 (tramp-error-with-buffer): Suppress buffer view, if
87e6e64f
DA
3593 `tramp-message-show-message' is nil.
3594 Use `tramp-get-connection-buffer'.
2fe4b125
MA
3595 (tramp-cleanup): New defun.
3596 (tramp-rfn-eshadow-update-overlay): Let-bind `non-essential' to `t'.
3597 (tramp-file-name-handler): If `debug-on-error' is set, propagate
3598 an error unchanged.
3599 (tramp-completion-handle-file-name-all-completions): Handle hops.
3600 Fix an error when called from ido.
3601 (tramp-completion-dissect-file-name): Use better local variable
3602 name. Add hop to the vector.
3603 (tramp-handle-insert-file-contents): Use progress-reporter for the
3604 whole scenario.
3605 (tramp-action-password): Let-bind `enable-recursive-minibuffers'
3606 to `t'.
3607 (tramp-check-for-regexp): Simplify search.
3608 (tramp-enter-password): Remove it. Move implementation ...
3609 (tramp-action-password): ... here.
3610 (tramp-mode-string-to-int, tramp-local-host-p)
3611 (tramp-make-tramp-temp-file, tramp-read-passwd)
87e6e64f
DA
3612 (tramp-clear-passwd, tramp-time-less-p, tramp-time-diff):
3613 Set tramp-autoload cookie.
2fe4b125
MA
3614
3615 * net/trampver.el: Update release number.
3616
36172012-06-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
3618 Michael Albinus <michael.albinus@gmx.de>
3619
3620 * net/tramp.el (tramp-set-completion-function): Fix docstring.
3621 (tramp-parse-group, tramp-parse-file)
3622 (tramp-parse-shostkeys-sknownhosts): New defuns.
3623 (tramp-parse-rhosts, tramp-parse-rhosts-group, tramp-parse-shosts)
3624 (tramp-parse-shosts-group, tramp-parse-sconfig)
3625 (tramp-parse-sconfig-group, tramp-parse-shostkeys)
3626 (tramp-parse-sknownhosts, tramp-parse-hosts)
3627 (tramp-parse-hosts-group, tramp-parse-passwd, tramp-parse-netrc):
3628 Use them.
3629 (tramp-parse-passwd-group, tramp-parse-netrc-group)
3630 (tramp-parse-putty-group): Don't narrow.
3631 (tramp-parse-putty): Make a loop.
3632 (tramp-file-name-handler): Catch the `suppress' signal.
3633
72834e10
CY
36342012-06-11 Chong Yidong <cyd@gnu.org>
3635
3636 * image.el (imagemagick-register-types): Put the ImageMagick entry
3637 at the end of image-type-file-name-regexps.
3638
a4712e11
JB
36392012-06-11 Johan Bockgård <bojohan@gnu.org>
3640
3641 * emacs-lisp/pcase.el (pcase-UPAT, pcase-QPAT): New edebug specs.
3642 (pcase, pcase-let*, pcase-dolist): Use them.
3643
82ad98e3
SM
36442012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
3645
3646 * emacs-lisp/pcase.el (pcase--let*): New function.
3647 (pcase-let*): Use it. Use pcase--memoize to avoid repeated expansions.
3648 (pcase--expand): Use macroexp-let².
3649
f80efb86
SM
36502012-06-10 Stefan Monnier <monnier@iro.umontreal.ca>
3651
3652 * emacs-lisp/timer.el, emacs-lisp/syntax.el, emacs-lisp/smie.el:
3653 * emacs-lisp/ewoc.el, emacs-lisp/cconv.el, emacs-lisp/bytecomp.el:
3654 * emacs-lisp/byte-opt.el, emacs-lisp/autoload.el: Convert to cl-lib.
3655 * emacs-lisp/easymenu.el, emacs-lisp/easy-mmode.el:
3656 * emacs-lisp/derived.el: Use pcase instead of `cl'.
3657 * emacs-lisp/cl-lib.el: Get rid of special cl-macs auto load.
3658
31ca4639 36592012-06-10 Glenn Morris <rgm@gnu.org>
94f0aa34 3660
31ca4639
CY
3661 * mail/rmail.el (rmail-yank-current-message): Leave point at
3662 correct position. (Bug#11660)
94f0aa34 3663
31ca4639 36642012-06-10 Chong Yidong <cyd@gnu.org>
9e1b8ec4 3665
31ca4639 3666 * allout-widgets.el: Fix code header.
9e1b8ec4 3667
31ca4639 36682012-06-10 Chong Yidong <cyd@gnu.org>
00cd0305 3669
f80efb86
SM
3670 * cus-edit.el (customize-changed-options-previous-release):
3671 Bump to 24.1.
31ca4639 3672
642b6d30
AS
36732012-06-09 Andreas Schwab <schwab@linux-m68k.org>
3674
3675 * Makefile.in (BIG_STACK_DEPTH): Enlarge to 2200.
3676
4f5d2ba1
CY
36772012-06-09 Chong Yidong <cyd@gnu.org>
3678
3679 * ebuff-menu.el (electric-buffer-list): Preserve header line.
3680
e75852fd
MR
36812012-06-09 Martin Rudalics <rudalics@gmx.at>
3682
3683 * window.el (special-display-popup-frame): Don't use
3684 window--display-buffer (Bug#11651).
3685
1e48e282
EZ
36862012-06-09 Eli Zaretskii <eliz@gnu.org>
3687
8a26b487
EZ
3688 Fix parallel builds: make sure loaddefs.el is not being written
3689 while Lisp files are compiled.
3690 (compile): Don't depend on 'mh-autoloads'.
3691 (compile-CMD, compile-SH): Depend on 'autoloads'.
3692 (bootstrap): Don't depend on 'autoloads' and 'mh-autoloads'.
3693
1e48e282
EZ
3694 * makefile.w32-in (BIG_STACK_DEPTH): Enlarge to 2200. (Bug#11649)
3695
6175e34b
CY
36962012-06-09 Chong Yidong <cyd@gnu.org>
3697
3698 * face-remap.el (face-remap-add-relative, face-remap-set-base)
3699 (buffer-face-set, buffer-face-toggle, buffer-face-mode-invoke):
3700 Doc fixes (Bug#11225).
3701
d9857e53
SM
37022012-06-09 Stefan Monnier <monnier@iro.umontreal.ca>
3703
3704 * emacs-lisp/macroexp.el (macroexp--expand-all): Only autoload
3705 a function if there's a clear indication that it has a compiler-macro.
3706 * emacs-lisp/byte-run.el (defun-declarations-alist, defmacro, defun)
3707 (macro-declarations-alist): Add arglist to declaration functions.
3708 (defun-declarations-alist): Add `obsolete' and `compiler-macro'.
3709 * emacs-lisp/cl-seq.el (cl-member, cl-assoc):
3710 * emacs-lisp/cl-lib.el (cl-list*, cl-adjoin):
3711 * emacs-lisp/cl-extra.el (cl-get): Use the new `declare' statement.
3712 Also add autoload to find the compiler macro.
3713 * emacs-lisp/cl-macs.el (eql) [compiler-macro]: Remove.
3714 (cl--compiler-macro-member, cl--compiler-macro-assoc)
3715 (cl--compiler-macro-adjoin, cl--compiler-macro-list*)
3716 (cl--compiler-macro-get): New functions, replacing calls to
3717 cl-define-compiler-macro.
3718 (cl-typep) [compiler-macro]: Use macroexp-let².
3719
f81298f8 37202012-06-08 Nick Dokos <nicholas.dokos@hp.com> (tiny change)
ee574791
UJ
3721
3722 * calendar/icalendar.el (icalendar--parse-vtimezone): Import TZID
3723 string properly, fixes Bug#11473.
3724
4b56d0fe
CY
37252012-06-08 Chong Yidong <cyd@gnu.org>
3726
3727 * faces.el (set-face-attribute): Doc fix.
3728 (modify-face): Don't use :bold and :italic.
3729 (error, warning, success): Tweak definitions.
3730
3731 * cus-edit.el (custom-modified, custom-invalid, custom-rogue)
3732 (custom-modified, custom-set, custom-changed, custom-themed)
3733 (custom-saved, custom-button, custom-button-mouse)
3734 (custom-button-pressed, custom-state, custom-comment-tag)
3735 (custom-variable-tag, custom-group-tag-1, custom-group-tag)
3736 (custom-group-subtitle): Use new-style face specs.
3737 (custom-invalid-face, custom-rogue-face, custom-modified-face)
3738 (custom-set-face, custom-changed-face, custom-saved-face)
3739 (custom-button-face, custom-button-pressed-face)
3740 (custom-documentation-face, custom-state-face)
3741 (custom-comment-face, custom-comment-tag-face)
3742 (custom-variable-tag-face, custom-variable-button-face)
3743 (custom-face-tag-face, custom-group-tag-face-1)
3744 (custom-group-tag-face): Remove obsolete face alias.
3745
3746 * epa.el (epa-validity-high, epa-validity-medium)
3747 (epa-validity-low, epa-mark, epa-field-name, epa-string)
3748 (epa-field-name, epa-field-body):
3749 * font-lock.el (font-lock-comment-face, font-lock-string-face)
3750 (font-lock-keyword-face, font-lock-builtin-face)
3751 (font-lock-function-name-face, font-lock-variable-name-face)
3752 (font-lock-type-face, font-lock-constant-face):
3753 * ido.el (ido-first-match, ido-only-match, ido-subdir)
3754 (ido-virtual, ido-indicator, ido-incomplete-regexp):
3755 * speedbar.el (speedbar-button-face, speedbar-file-face)
3756 (speedbar-directory-face, speedbar-tag-face)
3757 (speedbar-selected-face, speedbar-highlight-face)
3758 (speedbar-separator-face):
3759 * whitespace.el (whitespace-newline, whitespace-space)
3760 (whitespace-hspace, whitespace-tab, whitespace-trailing)
3761 (whitespace-line, whitespace-space-before-tab)
3762 (whitespace-space-after-tab, whitespace-indentation)
3763 (whitespace-empty):
3764 * emulation/cua-base.el (cua-global-mark):
3765 * eshell/em-prompt.el (eshell-prompt):
3766 * net/newst-plainview.el (newsticker-new-item-face)
3767 (newsticker-old-item-face, newsticker-immortal-item-face)
3768 (newsticker-obsolete-item-face, newsticker-date-face)
3769 (newsticker-statistics-face, newsticker-default-face):
3770 * net/newst-reader.el (newsticker-feed-face)
3771 (newsticker-extra-face, newsticker-enclosure-face):
3772 * net/newst-treeview.el (newsticker-treeview-face)
3773 (newsticker-treeview-new-face, newsticker-treeview-old-face)
3774 (newsticker-treeview-immortal-face)
3775 (newsticker-treeview-obsolete-face)
3776 (newsticker-treeview-selection-face):
3777 * net/rcirc.el (rcirc-my-nick, rcirc-other-nick)
3778 (rcirc-bright-nick, rcirc-server, rcirc-timestamp)
3779 (rcirc-nick-in-message, rcirc-nick-in-message-full-line)
3780 (rcirc-prompt, rcirc-track-keyword, rcirc-url, rcirc-keyword):
3781 * nxml/nxml-outln.el (nxml-heading, nxml-outline-indicator)
3782 (nxml-outline-active-indicator, nxml-outline-ellipsis):
3783 * play/mpuz.el (mpuz-unsolved, mpuz-solved, mpuz-trivial)
3784 (mpuz-text):
3785 * progmodes/vera-mode.el (vera-font-lock-number)
3786 (vera-font-lock-function, vera-font-lock-interface):
3787 * textmodes/table.el (table-cell): Use new-style face specs, and
3788 don't use the old :bold and :italic attributes.
3789
3790 * progmodes/ebrowse.el (ebrowse-tree-mark, ebrowse-root-class)
3791 (ebrowse-member-attribute, ebrowse-default, ebrowse-file-name)
3792 (ebrowse-member-class, ebrowse-progress): Likewise.
3793 (ebrowse-tree-mark-face, ebrowse-root-class-face)
3794 (ebrowse-file-name-face, ebrowse-default-face)
3795 (ebrowse-member-attribute-face, ebrowse-member-class-face)
3796 (ebrowse-progress-face): Remove obsolete faces.
3797
3798 * progmodes/flymake.el (flymake-errline, flymake-warnline):
3799 Inherit from error and warning faces respectively.
3800
3801 * textmodes/flyspell.el (flyspell-incorrect, flyspell-duplicate):
3802 Likewise.
f80efb86
SM
3803 (flyspell-incorrect-face, flyspell-duplicate-face):
3804 Remove obsolete aliases.
4b56d0fe 3805
03310646
MA
38062012-06-08 Michael Albinus <michael.albinus@gmx.de>
3807
3808 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
3809 Avoid infloop.
3810
513749ee
SM
38112012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
3812
3813 * startup.el (argv, argi): Make lexically scoped.
3814 * emacs-lisp/float-sup.el (pi): Use internal-make-var-non-special.
3815 * emacs-lisp/cl-macs.el: Use lexical-binding.
3816 Rename cl-bind-* to cl--bind-*.
3817 * files.el: Don't require `cl' since it doesn't use it.
3818 * emacs-lisp/pcase.el, emacs-lisp/macroexp.el: Add coding cookie.
3819
595ef4ad
JB
38202012-06-08 Juanma Barranquero <lekktu@gmail.com>
3821
3822 * textmodes/texinfmt.el: Fix bug#11640 (reverts part of 2008-07-31T05:33:56Z!dann@ics.uci.edu).
3823 (texinfo-format-printindex): Use `texinfo-sort-region' in all platforms,
3824 instead of calling external sort utility.
3825 (texinfo-sort-region, texinfo-sort-startkeyfun): Restore functions.
3826
e9f66fcb
EZ
38272012-06-08 Eli Zaretskii <eliz@gnu.org>
3828
3829 * descr-text.el (describe-char): Mention how to insert the
3830 character, if the current input method doesn't support it.
3831 See the discussion in this thread for the details:
3832 http://lists.gnu.org/archive/html/emacs-devel/2012-05/msg00533.html.
3833
3d10db47
SS
38342012-06-08 Sam Steingold <sds@gnu.org>
3835
3836 * bindings.el (global-map): Bind XF86Forward to next-buffer and
3837 XF86Back to previous-buffer.
3838 (minibuffer-local-map): Bind them to next-history-element and
3839 previous-history-element respectively.
3840 * help-mode.el (help-mode-map): Bind them to help-go-forward and
3841 help-go-back respectively.
3842 * info.el (Info-mode-map): Bind them to Info-history-forward and
3843 Info-history-back respectively.
3844 These are the keys next to Up on the ThinkPad keyboard.
3845
de7e2b36
SM
38462012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
3847
3848 Get rid of cl-lexical-let, keeping only lexical-let for compatibility.
3849 * emacs-lisp/cl-macs.el: Provide itself.
3850 (cl--labels-convert-cache): New var.
3851 (cl--labels-convert): New function.
3852 (cl-flet, cl-labels): New implementation with new semantics, relying on
3853 lexical-binding.
3854 * emacs-lisp/cl.el: Mark compatibility aliases as obsolete.
3855 (cl-closure-vars, cl--function-convert-cache)
3856 (cl--function-convert): Move from cl-macs.el.
3857 (lexical-let, lexical-let*, flet, labels): Move from cl-macs.el and
3858 rename by removing the "cl-" prefix.
3859 * emacs-lisp/macroexp.el (macroexp-unprogn): New function.
3860
6fa6c4ae
SM
38612012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
3862
3863 * emacs-lisp/cl.el (cl-macroexpand, cl-macro-environment)
3864 (cl-macroexpand-all, cl-not-hash-table, cl-builtin-gethash)
3865 (cl-builtin-remhash, cl-builtin-clrhash, cl-builtin-maphash)
3866 (cl-map-keymap, cl-copy-tree, cl-gethash, cl-puthash, cl-remhash)
3867 (cl-clrhash, cl-maphash, cl-make-hash-table, cl-hash-table-p)
3868 (cl-hash-table-count): Add old compatibility aliases.
3869
3870 * emacs-lisp/cl-macs.el (cl-macro-environment): Remove var.
3871 Use macroexpand-all-environment instead.
3872 (cl--old-macroexpand): New var.
3873 (cl--sm-macroexpand): New function.
3874 (cl-symbol-macrolet): Use it during macro expansion.
3875 (cl--function-convert-cache): New var.
3876 (cl--function-convert): New function, extracted from
3877 cl-macroexpand-all.
3878 (cl-lexical-let): Use it.
3879
3880 * emacs-lisp/cl-lib.el (cl-macro-environment): Remove decl.
3881 (cl-macroexpand): Move to cl-macs.el and rename to cl--sm-macroexpand.
3882 (cl-member): Remove old alias.
3883
3884 * emacs-lisp/cl-extra.el (cl-map-keymap, cl-copy-tree)
3885 (cl-not-hash-table, cl-builtin-gethash, cl-builtin-remhash)
3886 (cl-builtin-clrhash, cl-builtin-maphash, cl-gethash, cl-puthash)
3887 (cl-remhash, cl-clrhash, cl-maphash, cl-make-hash-table)
3888 (cl-hash-table-p, cl-hash-table-count): Move to cl.el.
3889 (cl-macroexpand-cmacs): Remove var.
3890 (cl-macroexpand-all, cl-macroexpand-body): Remove funs.
3891 Use macroexpand-all instead.
3892
4dd1c416
SM
38932012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
3894
3895 * emacs-lisp/macroexp.el (macroexp-progn, macroexp-let*, macroexp-if)
3896 (macroexp-let², macroexp--const-symbol-p, macroexp-const-p)
3897 (macroexp-copyable-p): New functions and macros.
3898 * emacs-lisp/edebug.el (edebug-unwrap):
3899 * emacs-lisp/disass.el (disassemble-internal): Use macroexp-progn.
3900 * emacs-lisp/pcase.el: Use macroexp-let*, macroexp-if, ...
3901 (pcase--let*): Remove.
3902 * emacs-lisp/bytecomp.el (byte-compile-const-symbol-p)
3903 (byte-compile-constp): Remove. Use macroexp--const-symbol-p and
3904 macroexp-const-p instead.
3905 * emacs-lisp/byte-opt.el: Use macroexp-const-p and macroexp-progn.
3906
3907 * emacs-lisp/cl-macs.el: Clean up the name space by using "cl--"
3908 instead of "cl-" for internal definitions. Use macroexp-const-p.
3909 (cl-old-bc-file-form): Remove var.
3910 (cl-const-exprs-p): Remove fun.
3911 (cl-labels, cl-macrolet): Use backquote.
3912 (cl-lexical-let): Use cl-symbol-macrolet. Don't use cl-defun-expander.
3913 (cl-defun-expander, cl-byte-compile-compiler-macro): Remove fun.
3914 (cl-define-setf-expander): Rename from cl-define-setf-method.
3915 * emacs-lisp/cl.el: Adjust alias for define-setf-method.
3916
3917 * international/mule-cmds.el: Don't require CL.
3918 (view-hello-file): Don't use `letf'.
3919
ed8bd4d7
SM
39202012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
3921
7287f2f3
SM
3922 * tmm.el (tmm-prompt): Use string-prefix-p.
3923 (tmm-completion-delete-prompt): Don't affect current-buffer outside.
3924 (tmm-add-prompt): Use minibuffer-completion-help.
3925 (tmm-delete-map): Remove.
3926
ed8bd4d7
SM
3927 * subr.el (kbd): Make it its own function.
3928
7b4cdbf4
SM
39292012-06-07 Stefan Merten <smerten@oekonux.de>
3930
3931 * textmodes/rst.el: Use `eval-when-compile' for requiring `cl.el'.
3932 Silence compiler warnings. Fix versions.
ed8bd4d7 3933 (rst-position-if, rst-position, rst-some, rst-signum): New functions.
7b4cdbf4 3934 (rst-shift-region, rst-adornment-level, rst-compute-tabs)
ed8bd4d7 3935 (rst-indent-line, rst-shift-region, rst-forward-line): Use them.
7b4cdbf4
SM
3936 (rst-package-emacs-version-alist): Correct Emacs version to
3937 represent major merge with upstream.
ed8bd4d7 3938 (rst-transition, rst-adornment, rst-compile-toolsets): Fix versions.
7b4cdbf4 3939
2b48d721
GM
39402012-06-06 Glenn Morris <rgm@gnu.org>
3941
3942 * mail/emacsbug.el (report-emacs-bug): Add relevant EMACS env-vars.
3943 Only print environment variables if set.
3944
fa779ab0
SM
39452012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
3946
3947 * emacs-lisp/macroexp.el: Don't require CL since we don't use it.
3948 (macroexp--cons): Rename from maybe-cons.
3949 (macroexp--accumulate): Rename from macroexp-accumulate.
3950 (macroexp--all-forms): Rename from macroexpand-all-forms.
3951 (macroexp--all-clauses): Rename from macroexpand-all-clauses.
3952 (macroexp--expand-all): Rename from macroexpand-all-1.
3953
628299e0
SS
39542012-06-06 Sam Steingold <sds@gnu.org>
3955
3956 * calendar/calendar.el (calendar-in-read-only-buffer):
3957 Call `special-mode' to enable the standard read-only keybindings.
3958
b7bb5838
SM
39592012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
3960
3961 * emacs-lisp/macroexp.el (macroexpand-all-1): Don't spam the output
3962 with "loading" messages (bug#11635).
3963
dfb308ba
MA
39642012-06-06 Michael Albinus <michael.albinus@gmx.de>
3965
3966 * files.el (enable-remote-dir-locals): New option.
3967 (hack-dir-local-variables): Use it. (Bug#1933, Bug#6731)
3968
0372ee92
MA
3969 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
3970 Ensure, that the temp directory is local.
3971
3972 * net/tramp-sh.el (tramp-sh-handle-write-region): Let-bind
3973 `temporary-file-directory'.
3974
eed0bb91
MA
3975 * progmodes/python.el (python-send-region): Ensure, that the
3976 temporary file is created also in the remote case.
3977
7a58f64d
GM
39782012-06-06 Glenn Morris <rgm@gnu.org>
3979
f7dd4e98
GM
3980 * vc/vc-rcs.el (vc-rcs-rcs2log-program): New.
3981 (vc-rcs-update-changelog): Use it.
3982
090bd7cb 3983 * emacs-lisp/authors.el (authors-fixed-entries): Remove vcdiff.
276d5f5d 3984
7a58f64d
GM
3985 * vc/vc-sccs.el (vc-sccs-write-revision): New function.
3986 (vc-sccs-workfile-unchanged-p): Use vc-sccs-write-revision.
3987 (vc-sccs-diff): Replace use of the external vcdiff script.
3988
daed4003
GM
39892012-06-05 Glenn Morris <rgm@gnu.org>
3990
3991 * ledit.el: Move to obsolete/.
3992
48c455c7
SS
39932012-06-05 Sam Steingold <sds@gnu.org>
3994
ed9265fc 3995 * calendar/calendar.el (calendar-exit): Reinstate the 2012-03-28
48c455c7
SS
3996 patch (Bug#11140).
3997
57a7d507
SM
39982012-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
3999
090bd7cb 4000 * emacs-lisp/cust-print.el: Move to obsolete.
d32926ff 4001
53aacf21
SM
4002 * emacs-lisp/macroexp.el (macroexpand-all-1): Tolerate errors during
4003 compiler-macro expansion.
4004
57a7d507
SM
4005 Add native compiler-macro support.
4006 * emacs-lisp/macroexp.el (macroexpand-all-1):
4007 Support compiler-macros directly. Properly follow aliases and apply
4008 the compiler macros more thoroughly.
4009 * emacs-lisp/cl.el: Don't copy compiler-macro properties any more since
4010 macroexpand now properly follows aliases.
4011 * emacs-lisp/cl-macs.el (toplevel, cl-define-compiler-macro)
4012 (cl-compiler-macroexpand): Use new prop.
4013 * emacs-lisp/byte-opt.el (featurep): Optimize earlier.
4014
4015 * emacs-lisp/cl-lib.el (custom-print-functions): Add alias.
4016
51a5f9d8
MR
40172012-06-05 Martin Rudalics <rudalics@gmx.at>
4018
4019 * window.el (get-lru-window, get-mru-window, get-largest-window):
4020 New argument NOT-SELECTED to avoid picking the selected window.
4021 (window--display-buffer-1, window--display-buffer-2): Replace by
4022 new function window--display-buffer
4023 (display-buffer-same-window, display-buffer-reuse-window)
57a7d507
SM
4024 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
4025 Use window--display-buffer.
51a5f9d8
MR
4026 (display-buffer-use-some-window): Remove temporary dedication
4027 hack by calling get-lru-window and get-largest-window with
4028 NOT-SELECTED argument non-nil. Call window--display-buffer.
4029
08f9f738
GM
40302012-06-05 Glenn Morris <rgm@gnu.org>
4031
4032 * vc/vc-sccs.el (vc-sccs-workfile-unchanged-p):
4033 Replace external vcdiff script.
4034
e364a2b7
SM
40352012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
4036
4037 * emacs-lisp/cl-lib.el (cl-values, cl-values-list): Fix up last change.
4038
041df390
CY
40392012-06-04 Chong Yidong <cyd@gnu.org>
4040
e364a2b7
SM
4041 * image.el (imagemagick-types-inhibit): Revert last change.
4042 Add INFO and M.
47b36b94 4043 (imagemagick-enabled-types): Remove CIN and EPS*.
041df390 4044
7c1898a7
SM
40452012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
4046
4047 * emacs-lisp/cl-lib.el: Rename from cl.el.
4048 * emacs-lisp/cl.el: New compatibility file.
4049 * emacs-lisp/cl-lib.el, emacs-lisp/cl-seq.el, emacs-lisp/cl-macs.el:
4050 * emacs-lisp/cl-extra.el: Rename all top-level functions and variables
4051 to obey the "cl-" prefix.
4052 * emacs-lisp/macroexp.el (macroexpand-all-1): Adjust to new name.
4053
0c3461de
GM
40542012-06-03 Glenn Morris <rgm@gnu.org>
4055
1e266c88
GM
4056 * emacs-lisp/authors.el (authors-aliases): Addition.
4057
0c3461de
GM
4058 * cus-start.el (tool-bar-style, tool-bar-max-label-size):
4059 Fix :version.
4060
d8a52e15
SM
40612012-06-03 Stefan Merten <smerten@oekonux.de>
4062
4063 * textmodes/rst.el: Add comments.
4064 (rst-transition, rst-adornment): New faces.
4065 (rst-adornment-faces-alist): Make default safe to reevaluate.
4066 Fixes
4067 http://sourceforge.net/tracker/?func=detail&atid=422030&aid=3479603&group_id=38414.
4068 Improve customization tags.
4069 (rst-define-level-faces): Clarify meaning.
4070
5205d6f6
CY
40712012-06-03 Chong Yidong <cyd@gnu.org>
4072
4073 * progmodes/compile.el (compilation-mode-line-fail)
7c1898a7
SM
4074 (compilation-mode-line-run, compilation-mode-line-exit):
4075 New faces.
5205d6f6
CY
4076 (compilation-start, compilation-handle-exit): Use them (Bug#11032).
4077
757ee657
JD
40782012-06-03 Jack Duthen <duthen.mac.01@gmail.com> (tiny change)
4079
7c1898a7
SM
4080 * progmodes/which-func.el (which-func-update-ediff-windows):
4081 New function. Use it in ediff-select-hook (Bug#11478).
757ee657 4082
5f2c76c6
CY
40832012-06-03 Chong Yidong <cyd@gnu.org>
4084
4085 * bindings.el: Remove explicit help text from format-mode-line.
4086 It is now supplied by mode-line-default-help-echo.
4087 (mode-line-front-space, mode-line-end-spaces)
4088 (mode-line-misc-info): New variables.
4089 (mode-line-modes, mode-line-position): Move the default value to
4090 the variable definition.
4091 (mode-line-default-help-echo): New defcustom.
383f7350
CY
4092 (mode-line-mule-info-help-echo, mode-line-read-only-help-echo)
4093 (mode-line-modified-help-echo): New functions.
4094 (mode-line-mule-info, mode-line-modified): Use them.
4095 (mode-line-eol-desc, propertized-buffer-identification):
4096 Consistency fixes for help text.
cbe46e5f
CY
4097 (mode-line-coding-system-map): Allow using mouse-3 to invoke
4098 set-buffer-file-coding-system (Bug#289).
4099 (mode-line-mule-info-help-echo): Update help text.
5f2c76c6 4100
f2d6a3df
SM
41012012-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
4102
4103 * simple.el (execute-extended-command): Set real-this-command
4104 (bug#11506).
4105
37269466
CY
41062012-06-02 Chong Yidong <cyd@gnu.org>
4107
4108 Remove incorrect uses of "modeline" in comments, docstrings, and
4109 function/variable names (Bug#10329).
4110
4111 * cus-edit.el (mode-line):
4112 * dframe.el (dframe-mouse-hscroll):
4113 * emacs-lisp/re-builder.el:
4114 * emacs-lisp/easy-mmode.el (define-minor-mode):
4115 * frame.el (set-frame-name):
4116 * help.el (lookup-minor-mode-from-indicator):
4117 * net/rcirc.el (rcirc-activity-string, rcirc-short-buffer-name):
4118 * progmodes/cc-cmds.el (c-toggle-auto-newline)
4119 (c-toggle-hungry-state):
4120 * progmodes/antlr-mode.el (antlr-language-alist):
4121 * progmodes/idlw-shell.el (idlwave-shell-electric-stop-line-face):
4122 * progmodes/vhdl-mode.el (vhdl-mode):
4123 * progmodes/which-func.el (which-func, which-func-cleanup-function):
4124 * term/ns-win.el (ns-face-at-pos):
4125 * term/sup-mouse.el (sup-mouse-report):
4126 * textmodes/flyspell.el (flyspell-mode-line-string):
4127 * textmodes/ispell.el (ispell-highlight-face):
4128 * textmodes/reftex-global.el:
4129 * vc/vc-arch.el (vc-arch-mode-line-string):
4130 * vc/vc-cvs.el (vc-cvs-mode-line-string):
4131 * vc/vc-git.el (vc-git-mode-line-string):
4132 * vc/vc-hooks.el (vc-display-status)
4133 (vc-default-mode-line-string):
4134 * vc/vc-mtn.el (vc-mtn-mode-line-string): Doc fixes.
4135
4136 * ansi-color.el (ansi-color-faces-vector): Change default faces.
4137
4138 * dired.el (dired-sort-set-mode-line): Rename from
4139 dired-sort-set-modeline. All callers changed.
4140
4141 * eshell/esh-mode.el (eshell-status-in-mode-line): Rename from
4142 eshell-status-in-modeline.
4143
4144 * foldout.el (foldout-mode-line-string): Rename from
4145 foldout-modeline-string. All callers changed.
4146 (foldout-update-mode-line): Rename from foldout-update-modeline.
4147
4148 * subr.el (redraw-modeline): Make into obsolete alias.
4149
4150 * calendar/timeclock.el (timeclock-mode-line-display): Rename from
4151 timeclock-modeline-display. Make old name an alias.
4152 (timeclock-update-mode-line): Likewise. All callers changed.
4153 (timeclock-mode-line-display): No need to check before using
4154 add-hook.
4155 (timeclock-relative, timeclock-day-over-hook)
4156 (timeclock-use-elapsed, timeclock-mode-string)
4157 (timeclock-mode-line-display): Doc fix, "modeline" -> "mode line".
4158
4159 * emulation/crisp.el (crisp-mode-mode-line-string): Rename from
4160 crisp-mode-modeline-string.
4161
4162 * play/solitaire.el (solitaire-build-mode-line): Rename from
4163 solitaire-build-modeline. All callers changed.
4164
4165 * play/zone.el (zone-hiding-mode-line): Rename from
4166 zone-hiding-modeline. All callers changed.
4167 (zone): Remove unusued `modeline-hidden-level' property.
4168
4169 * progmodes/xscheme.el (xscheme-mode-line-initialize): Rename from
4170 xscheme-modeline-initialize. All callers changed.
4171
4172 * strokes.el (strokes-lighter): Rename from
4173 strokes-modeline-string.
4174
4175 * textmodes/sgml-mode.el (html-face-tag-alist)
4176 (html-tag-face-alist): Use mode-line face instead of obsolete
4177 alias modeline.
4178
42152ee4
SM
41792012-06-02 Stefan Merten <smerten@oekonux.de>
4180
4181 * textmodes/rst.el: Always require `cl'.
4cf9b38d 4182 (rst-mode-map): Fix meaning of C-M-a / C-M-e.
42152ee4 4183
95f520b5
CY
41842012-06-02 Chong Yidong <cyd@gnu.org>
4185
4186 * image.el (imagemagick-enabled-types): Rename from
4187 imagemagick-types-enable. Add many more types.
4188 (imagemagick-types-inhibit): Change default to nil.
4189 (imagemagick-filter-types): Caller changed.
4190
4a5f187a
SM
41912012-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
4192
03fef3e6
SM
4193 * emacs-lisp/cl-macs.el: Use backquotes.
4194 (cl-transform-function-property): Use eval-and-compile rather than
4195 abusing `require'.
4196 (defstruct): Use declare-function instead of with-no-warnings.
4197
4a5f187a
SM
4198 * emacs-lisp/bytecomp.el: Fix last change (bug#11594).
4199 (byte-compile-output-docform): Re-add the print-circle bindings.
4200 (byte-compile-fix-header): Use #$ just because it's shorter.
4201 (byte-compile-output-file-form): Remove defun/defmacro.
4202
bd56924f
MR
42032012-06-01 Martin Rudalics <rudalics@gmx.at>
4204
4205 * simple.el (choose-completion): Remove now obsolete binding for
4206 owindow.
4207
046e38ce
MA
42082012-06-01 Michael Albinus <michael.albinus@gmx.de>
4209
4210 * net/tramp.el (tramp-check-for-regexp): Search from buffer end,
4211 in order to avoid "Stack overflow in regexp matcher".
4212
32d72c2f
GM
42132012-05-31 Glenn Morris <rgm@gnu.org>
4214
4215 * image.el: For clarity, call imagemagick-register-types at
4216 top-level, rather than relying on a custom :initialize.
4217 (imagemagick-types-enable): New option. (Bug#11557)
60b5f187
GM
4218 (imagemagick-filter-types): New function. (Bug#7406)
4219 (imagemagick-register-types): Use imagemagick-filter-types.
32d72c2f
GM
4220 If disabling support, remove elements altogether rather
4221 than using an impossible regexp.
4222 (imagemagick-types-inhibit): Give it the default init function.
4223
dd41169b
SM
42242012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
4225
4a5f187a
SM
4226 * emacs-lisp/bytecomp.el (byte-compile-fix-header):
4227 Handle arbitrary file name lengths (Bug#11585).
dd41169b 4228
efc00ab1 42292012-05-31 Martin Rudalics <rudalics@gmx.at>
5221ccb9
MR
4230
4231 * desktop.el (desktop-read): Clear previous and next buffers for
4232 all windows and bury *Messages* buffer (bug#11556).
4233
500fcedc
SM
42342012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
4235
4236 Add `declare' for `defun'. Align `defmacro's with it.
4237 * emacs-lisp/easy-mmode.el (define-minor-mode)
4238 (define-globalized-minor-mode): Don't autoload the var definitions.
4239 * emacs-lisp/byte-run.el: Use lexical-binding.
4240 (defun-declarations-alist, macro-declarations-alist): New vars.
4241 (defmacro, defun): Use them.
4242 (make-obsolete, define-obsolete-function-alias)
4243 (make-obsolete-variable, define-obsolete-variable-alias):
4244 Use `declare'.
4245 (macro-declaration-function): Mark obsolete.
4246 * emacs-lisp/autoload.el: Use lexical-binding.
4247 (make-autoload): Add `expansion' arg. Rely more on macro expansion.
4248
6e8a1786
AM
42492012-05-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
4250
4251 * textmodes/ispell.el (ispell-with-no-warnings):
4252 Define as a macro.
500fcedc
SM
4253 (ispell-kill-ispell, ispell-change-dictionary):
4254 Use `called-interactively-p' for Emacs instead of obsolete
6e8a1786
AM
4255 `interactive-p'.
4256
61b108cc
SM
42572012-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
4258
4259 * emacs-lisp/byte-run.el (defmacro, defun): Move from C.
4260 (macro-declaration-function): Move var from C code.
4261 (macro-declaration-function): Define function with defalias.
4262 * emacs-lisp/macroexp.el (macroexpand-all-1):
4263 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form):
4264 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Don't handle
4265 defun/defmacro any more.
4266 * emacs-lisp/bytecomp.el (byte-compile-arglist-signature):
4267 Provide fallback for unknown arglist.
4268 (byte-compile-arglist-warn): Change calling convention.
4269 (byte-compile-output-file-form): Move print-vars binding.
4270 (byte-compile-output-docform): Simplify accordingly.
4271 (byte-compile-file-form-defun, byte-compile-file-form-defmacro)
4272 (byte-compile-defmacro-declaration): Remove.
4273 (byte-compile-file-form-defmumble): Generalize to defalias.
4274 (byte-compile-output-as-comment): Return byte-positions.
4275 Simplify callers accordingly.
4276 (byte-compile-lambda): Use `assert'.
4277 (byte-compile-defun, byte-compile-defmacro): Remove.
4278 (byte-compile-file-form-defalias):
4279 Use byte-compile-file-form-defmumble.
4280 (byte-compile-defalias-warn): Remove.
4281
6d3f7c2f
SM
42822012-05-29 Stefan Merten <smerten@oekonux.de>
4283
4284 * textmodes/rst.el: Silence `checkdoc-ispell' errors where
61b108cc 4285 possible. Fix authors. Improve comments. Improve loading of `cl'.
6d3f7c2f
SM
4286
4287 (rst-mode-abbrev-table): Merge definition.
4288 (rst-mode): Make sure `font-lock-defaults' is buffer local.
4289 (rst-define-key, rst-deprecated-keys, rst-call-deprecated): Refactor.
4290
6dbaa1c7
UJ
42912012-05-29 Ulf Jasper <ulf.jasper@web.de>
4292
4293 * calendar/icalendar.el
4294 (icalendar-export-region): Export UID properly.
4295
d209e2fb 42962012-05-29 Leo Liu <sdl.web@gmail.com>
61b108cc
SM
4297 * calendar/icalendar.el (icalendar-import-format):
4298 Add `icalendar-import-format-uid' (Bug#11525).
6dbaa1c7
UJ
4299 (icalendar-import-format-uid): New.
4300 (icalendar--parse-summary-and-rest, icalendar--format-ical-event):
4301 Export UID.
4302
6876a58d
SM
43032012-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
4304
4305 * emacs-lisp/pcase.el (pcase--expand): Accept different sets of vars in
4306 different alternative patterns.
4307 (pcase-codegen): Be more careful to preserve identity.
4308 (pcase--u1): Don't forget to mark vars as used.
4309
4310 * emacs-lisp/bytecomp.el (byte-compile-constp): Treat #'v as a constant.
4311 (byte-compile-close-variables): Bind byte-compile--outbuffer here...
4312 (byte-compile-from-buffer): ...rather than here.
4313
4314 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Don't re-preprocess
4315 functions from byte-compile-function-environment.
4316
46b7967e
TN
43172012-05-29 Troels Nielsen <bn.troels@gmail.com>
4318
4319 * window.el (window-deletable-p): Avoid deleting the root window
4320 of a frame with an active minibuffer.
4321
69d565e2
MR
43222012-05-29 Martin Rudalics <rudalics@gmx.at>
4323
4324 * simple.el (choose-completion): Use quit-window (Bug#11567).
4325
a149fa51
CY
43262012-05-29 Chong Yidong <cyd@gnu.org>
4327
4328 * whitespace.el (whitespace-cleanup): Fix usage of
4329 whitespace-empty-at-bob-regexp (Bug#11492).
4330
2b311310
AH
43312012-05-29 Aaron S. Hawley <aaron.s.hawley@gmail.com>
4332
4333 * vc/vc.el (vc-revert, vc-rollback): Dont kill vc-diff buffer on
4334 revert (Bug#11488).
4335
b9cb2387
JL
43362012-05-29 Juri Linkov <juri@jurta.org>
4337
4338 * isearch.el (isearch-mode-map): Bind `M-s _' to
4339 `isearch-toggle-symbol'. Bind `M-s c' to
4340 `isearch-toggle-case-fold'.
4341 (search-map): Bind `M-s _' to `isearch-forward-symbol'.
4342 (isearch-forward): Add `M-s _' to the docstring.
4343 (isearch-forward-symbol, isearch-toggle-case-fold)
4344 (isearch-symbol-regexp): New functions. (Bug#11381)
4345
d5e61c1c
JL
43462012-05-29 Juri Linkov <juri@jurta.org>
4347
4348 * isearch.el (isearch-word): Add docstring. (Bug#11381)
4349 (isearch-occur, isearch-search-and-update): If `isearch-word' is
4350 a function, call it to get the regexp.
4351 (isearch-message-prefix): If `isearch-word' holds a symbol, use its
4352 property `isearch-message-prefix' instead of the string "word ".
4353 (isearch-search-fun-default): For the case of `isearch-word',
4354 return a lambda that calls re-search-forward/re-search-backward
4355 with a regexp returned by `word-search-regexp' or by the function
4356 in `isearch-word'.
4357
8cbd80f7
JL
43582012-05-29 Juri Linkov <juri@jurta.org>
4359
4360 * isearch.el (isearch-search-fun-default): New function.
4361 (isearch-search-fun): Move default part to the new function
4362 `isearch-search-fun-default'.
4363 (isearch-search-fun-function): Set the default value to
4364 `isearch-search-fun-default'. (Bug#11381)
4365
4366 * comint.el (comint-history-isearch-end):
4367 Use `isearch-search-fun-default'.
4368 (comint-history-isearch-search): Use `isearch-search-fun-default'
4369 and remove spacial case for `isearch-word'.
4370 (comint-history-isearch-wrap): Remove spacial case for
4371 `isearch-word'.
4372
4373 * hexl.el (hexl-isearch-search-function):
4374 Use `isearch-search-fun-default'.
4375
4376 * info.el (Info-isearch-search): Use `isearch-search-fun-default'.
4377 Use `word-search-regexp' for `isearch-word'.
4378
4379 * misearch.el (multi-isearch-search-fun):
4380 Use `isearch-search-fun-default'.
4381
4382 * simple.el (minibuffer-history-isearch-search):
4383 Use `isearch-search-fun-default' and remove spacial case for
4384 `isearch-word'.
4385 (minibuffer-history-isearch-wrap): Remove spacial case for
4386 `isearch-word'.
4387
4388 * textmodes/reftex-global.el (reftex-isearch-wrap-function):
4389 Remove spacial case for `isearch-word'.
4390 (reftex-isearch-isearch-search): Use `isearch-search-fun-default'.
4391
85c8c5b6
AM
43922012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
4393
4394 Decrease XEmacs incompatibilities.
4395 * textmodes/flyspell.el (flyspell-check-pre-word-p):
4396 Use `string-match'.
4397 (flyspell-delete-region-overlays): Use alternative definition for
4398 XEmacs.
4399 (flyspell-delete-all-overlays): Use `flyspell-delete-region-overlays'.
4400 (flyspell-word): Use `process-kill-without-query' if XEmacs.
4401 (flyspell-mode-on): Use `interactive-p' if XEmacs.
4402 (flyspell-incorrect-face, flyspell-duplicate-face): Do not use
4403 `define-obsolete-face-alias' under XEmacs, but old method.
4404
4405 * textmodes/ispell.el (ispell-with-no-warnings): XEmacs alternative
4406 `with-no-warnings' definition or Emacs alias.
4407 (ispell-command-loop, ispell-message): Use `ispell-with-no-warnings'.
4408 (ispell-word): Do not use `region-p' if XEmacs.
4409
8cab9efc
AM
44102012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
4411
4412 * textmodes/ispell.el (ispell-find-aspell-dictionaries):
4413 Check for `ispell-dictionary-base-alist' instead of full
4414 `ispell-dictionary-alist'.
4415 (ispell-init-process): Show spellchecker when starting new Ispell
4416 process.
4417
fda91268
RZ
44182012-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
4419
4420 * progmodes/vhdl-mode.el: Sync with upstream 3.33.28.
4421 http://www.iis.ee.ethz.ch/~zimmi/emacs/vhdl-mode.html#release-notes-3.33
4422
694ea8e3
JB
44232012-05-27 Juanma Barranquero <lekktu@gmail.com>
4424
4425 * version.el (motif-version-string, gtk-version-string)
4426 (ns-version-string): Declare.
4427
e4d4f539
JL
44282012-05-27 Juri Linkov <juri@jurta.org>
4429
4430 * emacs-lisp/lisp-mode.el (eval-defun-2): Use `eval-sexp-add-defvars'
4431 after the `eval-defun-1' specialcaseing
4432 like in `edebug-eval-defun' (bug#10181).
4433
4434 * emacs-lisp/edebug.el (edebug-eval-defun): Set `face-documentation'
4435 like in `eval-defun-1'.
4436
33017faf 44372012-05-27 Eli Zaretskii <eliz@gnu.org>
b30b64b9 4438
fda91268
RZ
4439 * mail/sendmail.el (mail-yank-region):
4440 Recognize rmail-yank-current-message in addition to insert-buffer.
4441 Fixes mail-mode's "C-c C-r" that otherwise does nothing when invoked in
b30b64b9
EZ
4442 a *mail* buffer created through rmail-start-mail with sendmail as
4443 mail-user-agent.
4444
33017faf
GM
44452012-05-27 Chong Yidong <cyd@gnu.org>
4446
4447 * net/gnutls.el (gnutls-min-prime-bits): Improve docstring.
4448 Default to 256 (Bug#11267).
4449
4450 * help.el (describe-mode): Doc fix.
4451
04188bb9
GM
44522012-05-26 Glenn Morris <rgm@gnu.org>
4453
38264cc9
GM
4454 * w32-fns.el (w32-init-info): Remove.
4455 * paths.el (Info-default-directory-list): Add w32-init-info equivalent.
4456
eb7afdad
GM
4457 * info.el (info-initialize): For self-contained NS builds, put the
4458 included info/ directory at the front. (Bug#2791)
4459
04188bb9
GM
4460 * paths.el (Info-default-directory-list): Make it a defcustom,
4461 mainly so that we can use custom-initialize-delay.
4462
a179e3f7
SM
44632012-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
4464
43416392
SM
4465 * subr.el (buffer-has-markers-at): Mark obsolete.
4466
a179e3f7 4467 * subr.el (lambda): Use declare.
43416392 4468
a179e3f7
SM
4469 * emacs-lisp/lisp-mode.el (lambda):
4470 * emacs-lisp/edebug.el (lambda): Move properties to its definition.
4471
34a008d9
AH
44722012-05-26 Aaron S. Hawley <aaron.s.hawley@gmail.com>
4473
4474 * thingatpt.el (forward-same-syntax): Handle no ARG case. (Bug#11560)
4475
0a3b289f
GM
44762012-05-26 Glenn Morris <rgm@gnu.org>
4477
4478 * progmodes/cc-mode.el (auto-mode-alist): Fix typo.
4479
758c81e8
GM
44802012-05-25 Glenn Morris <rgm@gnu.org>
4481
f9f334f0
GM
4482 * paths.el: Remove no-byte-compile.
4483 * loadup.el: No need to load paths.el uncompiled.
4484
87eb79c2
GM
4485 * image.el (imagemagick-types-inhibit): Doc fix.
4486
758c81e8
GM
4487 * version.el: Remove no-byte-compile and associated formatting.
4488 * loadup.el: No need to load version.el uncompiled. AFAICS, this
4489 is ancient code from when there was an "inc-vers.el".
4490
e7e85dc0
SM
44912012-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
4492
4493 * progmodes/gdb-mi.el: Minor style changes.
4494 (gdb-enable-debug, gdb-speedbar-auto-raise, gdb-many-windows):
4495 Turn into minor modes.
4496 (gdb--if-arrow): Rename from gdb-if-arrow, make it hygienic.
4497 (gdb-mouse-until, gdb-mouse-jump): Adjust uses accordingly.
4498 (gdb-shell): Remove unneeded let-binding.
4499 (gdb-get-many-fields): Eliminate O(n²) behavior.
4500
f31237a4
EZ
45012012-05-25 Eli Zaretskii <eliz@gnu.org>
4502
4503 * cus-start.el <vertical-centering-font-regexp>: Avoid warning on
4504 platforms that don't link in fontset.c.
4505
bc1b21bb
JL
45062012-05-25 Juri Linkov <juri@jurta.org>
4507
4508 Use the same diff color scheme as in modern VCSes (bug#10181).
4509
4510 * vc/diff-mode.el (diff-header, diff-file-header): Remove "green"
4511 to avoid confusion with `diff-added' that now uses green colors.
4512 (diff-removed): Use shades of red.
4513 (diff-added): Use shades of green.
4514 (diff-changed): Leave just the yellow color.
4515 (diff-use-changed-face): New variable.
4516 (diff-font-lock-keywords): Use `diff-use-changed-face' to decide
4517 how to highlight context diff changes.
4518 (diff-refine-change): Use shades of yellow.
4519 (diff-refine-removed): New face that uses shades of red.
4520 (diff-refine-added): New face that uses shades of green.
4521 (diff-refine-hunk): Use `diff-refine-change', `diff-refine-added',
4522 `diff-refine-removed' in the call to `smerge-refine-subst'
4523 depending on the value of `diff-use-changed-face'.
4524
4525 * vc/smerge-mode.el (smerge-mine): Use shades of red.
4526 (smerge-other): Use shades of green.
4527 (smerge-base): Use shades of yellow.
4528 (smerge-refined-change): Empty face.
4529 (smerge-refined-removed): New face that uses shades of red.
4530 (smerge-refined-added): New face that uses shades of green.
4531 (smerge-refine-subst): Rename arg `props' to `props-c'. Add new
4532 args `props-r' and `props-a', and use them. Doc fix.
4533 (smerge-refine): Evaluate `smerge-use-changed-face' and depending
4534 on its value use different faces `smerge-refined-change',
4535 `smerge-refined-removed', `smerge-refined-added' in the call to
4536 `smerge-refine-subst'.
4537
4538 * vc/ediff-init.el (ediff-current-diff-A, ediff-fine-diff-A):
4539 Add face condition `min-colors 88' with shades of red.
4540 (ediff-current-diff-B, ediff-fine-diff-B): Add face condition
4541 `min-colors 88' with shades of green.
4542 (ediff-current-diff-C, ediff-fine-diff-C): Add face condition
4543 `min-colors 88' with shades of yellow.
4544
6df9112c
GM
45452012-05-24 Glenn Morris <rgm@gnu.org>
4546
ead5edc0
GM
4547 * paths.el (prune-directory-list, remote-shell-program): Move to...
4548 * files.el (prune-directory-list, remote-shell-program): ...here.
4549 For the latter, delay initialization, prefer ssh, just search PATH.
4550
f18b81e6
GM
4551 * paths.el (term-file-prefix): Move to faces.el (the only user).
4552 * faces.el (term-file-prefix): Move here, make it a defcustom.
4553
ee2f89a6
GM
4554 * paths.el (news-directory, news-path, news-inews-program):
4555 Move to gnus/nnspool.el.
61a583ca 4556
f8815e4c
GM
4557 * paths.el (gnus-default-nntp-server): Remove (gnus.el defines it).
4558
c8f3b42c
GM
4559 * paths.el (rmail-file-name, rmail-spool-directory): Move from here...
4560 * mail/rmail.el (rmail-file-name, rmail-spool-directory): ... to here.
4561 Make the latter a defcustom, with a delayed initialization.
4562
6df9112c
GM
4563 * paths.el (gnus-nntp-service, gnus-local-organization): Remove.
4564 These were deleted from Gnus itself late 2010.
4565
5dadff36
JB
45662012-05-22 Juanma Barranquero <lekktu@gmail.com>
4567
9e1701c6
JB
4568 * progmodes/which-func.el (which-func-ff-hook):
4569 Check against user-error, not error.
4570
bd7239f5 4571 * emacs-lisp/edebug.el (top): Do not load or set up loading of
5dadff36
JB
4572 cl-specs.el, which no longer exists.
4573
3290526d
GM
45742012-05-22 Glenn Morris <rgm@gnu.org>
4575
4576 * info.el (info-emacs-bug): New command.
4577 * menu-bar.el (menu-bar-help-menu): Add "How to Report a Bug" to Help.
4578 * mail/emacsbug.el (report-emacs-bug): Replace with info-emacs-bug.
4579
ff0c3cfb
GM
45802012-05-21 Glenn Morris <rgm@gnu.org>
4581
4582 * makefile.w32-in (update-subdirs-SH):
4583 * Makefile.in (update-subdirs): Update for moved update-subdirs.
4584
5814f126
SM
45852012-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
4586
a52c0aa0
SM
4587 * hi-lock.el (hi-lock-face-defaults): Move obsolete before definition.
4588
5814f126
SM
4589 * progmodes/compile.el (compilation-error-regexp-alist-alist):
4590 Simplify Maven regexp, and make sure the file can't start with a space
4591 (bug#11517).
4592
b847032c
GM
45932012-05-21 Glenn Morris <rgm@gnu.org>
4594
4595 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
4596 Scrap superfluous subshells.
4597
3858bfe7
SM
45982012-05-19 Stefan Monnier <monnier@iro.umontreal.ca>
4599
4600 * emacs-lisp/bytecomp.el (byte-compile-root-dir): New var.
4601 (byte-compile-warning-prefix, batch-byte-compile-file): Use it.
4602
d14b0029
JB
46032012-05-19 Jay Belanger <jay.p.belanger@gmail.com>
4604
4605 * calc/calc.el (calc-ensure-consistent-units): New variable.
4606
a52c0aa0
SM
4607 * calc/calc-units.el (math-consistent-units-p)
4608 (math-check-unit-consistency): New functions.
4609 (calc-quick-units, calc-convert-units):
4610 Use `math-check-unit-consistency' when `calc-ensure-consistent-units'
4611 is non-nil.
d14b0029
JB
4612 (calc-extract-units): Fix typo.
4613
60c4db3a
SM
46142012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
4615
77f3b62e
SM
4616 * vc/vc-bzr.el (vc-bzr-state-heuristic): Save match-data around sha1.
4617
60c4db3a
SM
4618 * textmodes/flyspell.el: Commenting style, plus code simplifications.
4619 (flyspell-default-deplacement-commands): Don't spell check after
4620 repeated window/frame switches (e.g. triggered by mouse-movement).
4621 (flyspell-delay-commands, flyspell-deplacement-commands): Use mapc.
4622 (flyspell-debug-signal-word-checked): Simplify and fit in 80 cols.
4623 (flyspell-casechars-cache, flyspell-ispell-casechars-cache)
4624 (flyspell-not-casechars-cache, flyspell-ispell-not-casechars-cache):
4625 Remove unused vars.
4626 (flyspell-get-casechars, flyspell-get-not-casechars):
4627 Simplify; Don't bother removing a ] just to add it back.
4628 * textmodes/ispell.el (ispell-program-name): Use executable-find.
4629
d209e2fb 46302012-05-18 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
b1a10716
RS
4631
4632 * calc/calc-lang.el (math-C-parse-bess, math-C-parse-fma):
4633 New functions.
bd7239f5 4634 (math-function-table): Add support for more C functions.
b1a10716 4635
3f1b25b5
AM
46362012-05-18 Agustín Martín Domingo <agustin.martin@hispalinux.es>
4637
090bd7cb
JB
4638 * textmodes/flyspell.el (flyspell-check-pre-word-p)
4639 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
4640 Protect delay handling for otherchars against empty otherchars.
3f1b25b5 4641
b581bb5c
SM
46422012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
4643
4644 * emacs-lisp/lisp-mode.el (doc-string-elt): Move those properties to
4645 their respective macro declarations.
4646 * skeleton.el (define-skeleton):
4647 * progmodes/compile.el (define-compilation-mode):
4648 * ibuf-macs.el (define-ibuffer-sorter, define-ibuffer-op)
4649 (define-ibuffer-filter):
4650 * emacs-lisp/generic.el (define-generic-mode):
4651 * emacs-lisp/easy-mmode.el (define-minor-mode)
4652 (define-globalized-minor-mode):
4653 * emacs-lisp/cl-macs.el (defun*, defmacro*, defstruct, deftype):
4654 * emacs-lisp/byte-run.el (defsubst):
4655 * custom.el (deftheme): Add doc-string metadata.
4656
70b8ef8f
SM
46572012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
4658
4659 * emacs-lisp/cl-macs.el, emacs-lisp/cl.el: Move indent info.
4660
b1198e17
SM
46612012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
4662
9abdc45d
SM
4663 * emacs-lisp/pcase.el (pcase--u1): Avoid ((lambda ...) ...).
4664
b1198e17
SM
4665 * emacs-lisp/cl.el: Add edebug specs from cl-specs.el.
4666 * emacs-lisp/cl-macs.el: Idem.
4667 * emacs-lisp/cl-specs.el: Remove.
4668
4735906a
SM
46692012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
4670
4671 Minor renaming of internal CL functions and variables.
4672 * emacs-lisp/cl-seq.el (cl--adjoin): Rename from cl-adjoin.
4673 (cl--position): Rename from cl-position.
4674 (cl--delete-duplicates): Rename from cl-delete-duplicates.
4675 * emacs-lisp/cl.el (cl--gensym-counter): Rename from *gensym-counter*.
4676 (cl--random-state): Rename from *random-state*.
4677
ac348012
SM
46782012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
4679
4680 * emacs-lisp/cl-macs.el (cl-transform-lambda): Don't add spurious
4681 parens around the arg list (bug#11499).
4682
a0a79cde
JL
46832012-05-17 Juri Linkov <juri@jurta.org>
4684
4685 * isearch.el (word-search-regexp, word-search-backward)
4686 (word-search-forward, word-search-backward-lax)
4687 (word-search-forward-lax): Move functions from search.c
4688 (bug#10145, bug#11381).
4689
65034a51
AM
46902012-05-16 Agustín Martín Domingo <agustin.martin@hispalinux.es>
4691
090bd7cb
JB
4692 * textmodes/flyspell.el (flyspell-check-pre-word-p)
4693 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
4694 Delay for otherchars as for normal word components.
65034a51 4695
1a72a195
SM
46962012-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
4697
4698 * minibuffer.el (completion--sifn-requote): Fix last change.
4699 (minibuffer-local-must-match-filename-map):
4700 Move define-obsolete-variable-alias before its var.
4701
fdb058c2
SM
47022012-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
4703
c41045e6
SM
4704 * emacs-lisp/pcase.el (pcase-let*, pcase-let): Fix edebug spec.
4705
036dfb8b
SM
4706 * minibuffer.el (completion--sifn-requote): Handle sifn's truncation
4707 behavior.
4708 (completion--string-equal-p): New function.
4709 (completion--twq-all): Use it to get better assertion failure data.
4710
2473256d
SM
4711 Only handle ".." and '..' quoting in shell-mode (bug#11466).
4712 * shell.el (shell--unquote&requote-argument, shell--unquote-argument)
4713 (shell--requote-argument): New functions.
4714 (shell-completion-vars): Use them.
4715 (shell--parse-pcomplete-arguments): Rename from
4716 shell-parse-pcomplete-arguments.
4717 * comint.el (comint-word): Obey comint-file-name-quote-list. Simplify.
4718 (comint--unquote&requote-argument): Don't handle ".." and '..' quoting.
4719 Obey comint-file-name-quote-list.
4720
fdb058c2
SM
4721 * emacs-lisp/smie.el (smie-indent--bolp-1): New function.
4722 (smie-indent-keyword): Use it.
4723
51fa99f1
SM
47242012-05-14 Stefan Merten <smerten@oekonux.de>
4725
4726 * textmodes/rst.el (rst-re-alist): Fix loading (bug#11462).
4727
e18afed7 47282012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
d9d1dfef
SM
4729
4730 * net/rlogin.el (rlogin-mode-map): Fix last change.
4731
e18afed7 47322012-05-14 Jason L. Wright <jason.wright@inl.gov> (tiny change)
8633b1f4
JW
4733
4734 * mail/smtpmail.el (smtpmail-send-command): Send the command and
4735 the following \r\n using a single `process-send-string', since the
4736 Lotus SMTP server refuses to accept any commands if they are sent
e18afed7 4737 with two `process-send-string's (Bug#11444).
8633b1f4 4738
e18afed7 47392012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
fe263b8f 4740
fdb058c2
SM
4741 * shell.el (shell-parse-pcomplete-arguments):
4742 Obey pcomplete-arg-quote-list inside double-quoted args (Bug#11348).
e18afed7 4743
2d21d7f6
WJ
47442012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
4745
e18afed7 4746 * image-mode.el: Fit to width/height for rotated images (Bug#11431).
2d21d7f6
WJ
4747 (image-transform-scale, image-transform-right-angle-fudge): New vars.
4748 (image-transform-width, image-transform-fit-width): New functions.
4749 (image-transform-properties): Use them.
4750 (image-transform-check-size): New function.
4751 (image-toggle-display-image): Use it (for testing).
4752 (image-transform-set-rotation): Reduce angle mod 360.
4753 Delete obsolete comment.
4754
7102e6d0
WJ
47552012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
4756
4757 * image-mode.el: Fix scaling (bug#11399).
4758 (image-transform-resize): Doc fix.
4759 (image-transform-properties): Default scale is 1 and height should
4760 be an integer.
4761
06bc5e6e
SM
47622012-05-13 Johan Bockgård <bojohan@gnu.org>
4763
4764 * emacs-lisp/smie.el (smie-next-sexp): Use accessor `op-forw' rather
4765 than hard-coding `car', to fix misbehavior when moving forward.
4766
0ae03b6a
CY
47672012-05-13 Chong Yidong <cyd@gnu.org>
4768
4769 * emacs-lisp/tabulated-list.el (tabulated-list-format)
4770 (tabulated-list-entries, tabulated-list-padding)
4771 (tabulated-list-sort-key): Make permanent-local.
4772
4773 * ebuff-menu.el: Adapt to Buffer Menu changes (Bug#11455).
4774 (electric-buffer-list): Put electric buffer menu
4775 command descriptions in this docstring, instead of the docstring
4776 of electric-buffer-menu-mode. Code cleanups.
4777 (electric-buffer-menu-mode): Use define-derived-mode. Rename from
4778 Electric-buffer-menu-mode.
4779 (electric-buffer-update-highlight): Minor code cleanup.
4780
205a7391
MA
47812012-05-13 Michael Albinus <michael.albinus@gmx.de>
4782
4783 * net/dbus.el (dbus-call-method): Restore events not from D-Bus.
4784 (Bug#11447)
4785
e5bd0a28
SM
47862012-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
4787
4788 Move define-obsolete-variable-alias before the var's definition.
4789 * vc/log-edit.el (vc-comment-ring, vc-comment-ring-index):
4790 * tooltip.el (tooltip-hook):
4791 * textmodes/reftex-toc.el (reftex-toc-map):
4792 * textmodes/reftex-sel.el (reftex-select-label-map)
4793 (reftex-select-bib-map):
4794 * textmodes/reftex-index.el (reftex-index-map)
4795 (reftex-index-phrases-map):
4796 * speedbar.el (speedbar-syntax-table, speedbar-key-map):
4797 * progmodes/meta-mode.el (meta-mode-map):
4798 * novice.el (disabled-command-hook):
4799 * loadhist.el (unload-hook-features-list):
4800 * frame.el (blink-cursor):
4801 * files.el (find-file-not-found-hooks, write-file-hooks)
4802 (write-contents-hooks):
4803 * emulation/tpu-edt.el (GOLD-map):
4804 * emacs-lock.el (emacs-lock-from-exiting):
4805 * emacs-lisp/generic.el (generic-font-lock-defaults):
4806 * emacs-lisp/chart.el (chart-map):
4807 * dos-fns.el (register-name-alist):
4808 * dired-x.el (dired-omit-files-p):
4809 * desktop.el (desktop-enable):
4810 * cus-edit.el (custom-mode-hook):
4811 * buff-menu.el (buffer-menu-mode-hook):
4812 * bookmark.el (bookmark-read-annotation-text-func)
4813 (bookmark-exit-hooks):
4814 * allout.el (allout-mode-deactivate-hook)
4815 (allout-exposure-change-hook, allout-structure-added-hook)
4816 (allout-structure-deleted-hook, allout-structure-shifted-hook):
4817 * dirtrack.el (dirtrack-toggle, dirtrackp, dirtrack-debug-toggle)
4818 (dirtrack-debug): Move call to define-obsolete-variable-alias so it
4819 comes before the corresponding variable's definition.
4820
ac59c2f6
CY
48212012-05-12 Chong Yidong <cyd@gnu.org>
4822
4823 * buff-menu.el (Buffer-menu-buffer+size-width): Doc fix (Bug#11454).
0d909786
CY
4824 (Buffer-menu-mouse-select): Restore function (Bug#11459).
4825 (Buffer-menu-mode-map): Bind it.
4826 (Buffer-menu--pretty-name): Add a mouse-face property.
ac59c2f6 4827
dee6c9a3
SM
48282012-05-11 Stefan Monnier <monnier@iro.umontreal.ca>
4829
2171cea5
SM
4830 * progmodes/prolog.el: Use SMIE. Cleanup regexp setup.
4831 (prolog-upper-case-string, prolog-lower-case-string)
4832 (prolog-atom-char-regexp, prolog-atom-regexp): Initialize in defconst.
4833 (prolog-use-smie, prolog-smie-grammar): New vars.
4834 (prolog-smie-forward-token, prolog-smie-backward-token)
4835 (prolog-smie-rules): New funs.
4836 (prolog-comment-indent): Remove.
4837 (prolog-mode-variables): Use default comment indentation instead.
4838 Setup SMIE.
4839 (prolog-build-case-strings, prolog-set-atom-regexps): Remove.
4840 (prolog-mode): Don't call them any more.
4841 (prolog-electric-colon, prolog-electric-dash)
4842 (prolog-edit-menu-insert-move): Use indent-according-to-mode.
4843
aa0382bd
SM
4844 * dabbrev.el (dabbrev-expand): Make "no expansion found" a user-error.
4845
dbacb4bd
SM
4846 * minibuffer.el (completion--twq-all): Again, allow case differences.
4847
13bdd94c
SM
4848 * term.el: Move keymap initialization code to be more idiomatic.
4849 (term-signals-menu, term-mode-map, term-raw-map, term-raw-escape-map)
4850 (term-terminal-menu): Move initialization into declaration.
4851 (term-escape-char): Let the user set it in her .emacs.
4852
ff46c759
SM
4853 * progmodes/sh-script.el: Use post-self-insert-hook&electric-pair-mode.
4854 Provide SMIE-based indentation (not enabled by default yet).
4855 (sh-mode-map): Don't bind electric keys.
4856 Use electric-pair-mode instead of skeleton-pair.
4857 (sh-assignment-regexp): Fit within 80 columns.
4858 (sh-indent-supported): Specify actual shell name instead of boolean.
4859 (sh--maybe-here-document): New fun, from sh-maybe-here-document.
4860 (sh-maybe-here-document): Use it. Make obsolete.
4861 (sh-electric-here-document-mode) New minor mode.
4862 (sh-mode): Use it. Don't set sh-indent-supported-here here.
4863 (sh-smie-sh-grammar, sh-smie--sh-operators, sh-smie--sh-operators-re)
4864 (sh-smie--sh-operators-back-re, sh-indent-after-continuation)
4865 (sh-smie-rc-grammar, sh-use-smie): New vars.
4866 (sh-smie--keyword-p, sh-smie--newline-semi-p, sh-smie--sh-keyword-p)
4867 (sh-smie-sh-forward-token, sh-smie--looking-back-at-continuation-p)
4868 (sh-smie-sh-backward-token, sh-smie--continuation-start-indent)
4869 (sh-smie-sh-rules, sh-smie-rc-rules, sh-smie--sh-keyword-in-p)
4870 (sh-smie--rc-after-special-arg-p, sh-smie-rc-backward-token)
4871 (sh-smie-sh-rules, sh-smie--rc-newline-semi-p): New functions.
4872 (sh-set-shell): Use smie-setup if requested.
4873
dee6c9a3
SM
4874 * term.el (term-set-escape-char): Properly set term-escape-char.
4875 See http://stackoverflow.com/questions/10524656.
4876
9f9aa044
CY
48772012-05-10 Chong Yidong <cyd@gnu.org>
4878
4879 * ffap.el (ffap-url-unwrap-local): Make it work right (Bug#9131).
4880 Use url-generic-parse-url, and handle host names and Windows
4881 filenames properly.
4882 (ffap-url-unwrap-remote): Use url-generic-parse-url.
4883 (ffap-url-unwrap-remote): Accept list values, specifying a list of
4884 URL schemes to work on.
4885 (ffap--toggle-read-only): New function.
4886 (ffap-read-only, ffap-read-only-other-window)
4887 (ffap-read-only-other-frame): Use it.
4888 (ffap-fixup-url): Don't check ffap-ftp-regexp, since it is not
4889 necessary for ffap-url-unwrap-remote.
4890
836d29b3
DA
48912012-05-10 Dave Abrahams <dave@boostpro.com>
4892
4893 * cus-start.el (create-lockfiles): Add it.
4894
00fd78ed
CY
48952012-05-09 Chong Yidong <cyd@gnu.org>
4896
4897 * net/browse-url.el (browse-url-url-encode-chars): Use upper-case.
4898 (browse-url-encode-url): Encode spaces and quotes (Bug#6300).
4899
666b903b 49002012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
1cb51c12
SM
4901
4902 * shell.el (shell-completion-vars): Fix last change (bug#11348).
4903
666b903b 49042012-05-09 Chong Yidong <cyd@gnu.org>
18f00515
CY
4905
4906 * ansi-color.el (ansi-color-process-output): Check for validity of
4907 comint-last-output-start before using it. This avoids a bad
4908 interaction with gdb-mi's input/output buffer.
4909
666b903b 49102012-05-09 Glenn Morris <rgm@gnu.org>
fd075e7b
GM
4911
4912 * files.el (dir-locals-read-from-file):
4913 Mention dir-locals in any error message.
4914
666b903b 49152012-05-09 Chong Yidong <cyd@gnu.org>
25f292cd
CY
4916
4917 * emacs-lisp/package.el (package-built-in-p): Handle the `emacs'
4918 package (Bug#11410).
4919
f677562b
CY
4920 * emacs-lisp/package.el (package-buffer-info): Avoid putting local
4921 variables into description.
4922
666b903b 49232012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
3d53ee1b
SM
4924
4925 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list like
4926 shell-delimiter-argument-list (bug#11348).
4927 (shell-parse-pcomplete-arguments): Obey pcomplete-arg-quote-list.
4928
b499d8d0
JB
49292012-05-09 Juanma Barranquero <lekktu@gmail.com>
4930
8f6b6da8
JB
4931 * textmodes/rst.el: Silence byte-compiler warnings.
4932 (rst-re-alist, rst-reset-section-caches): Move around.
4933 (rst-re): Use `characterp', not `char-valid-p'.
4934 (font-lock-beg, font-lock-end): Declare.
4935
4824146a
JB
4936 * progmodes/idlw-shell.el (specs): Remove reference to deleted
4937 variable `idlwave-shell-activate-alt-keybindings' and simplify.
4938
b499d8d0
JB
4939 * eshell/esh-cmd.el (eshell-debug-command): Fix typo in previous change.
4940
ad89bb83
GM
49412012-05-08 Glenn Morris <rgm@gnu.org>
4942
4943 * files.el (auto-mode-alist): Treat ".make" like ".mk".
4944
8bba5a75
SM
49452012-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
4946
49ed9c8e
SM
4947 * vc/log-edit.el: Add GNU coding standards highlighting.
4948 (log-edit-font-lock-gnu-style)
4949 (log-edit-font-lock-gnu-keywords): New vars.
4950 (log-edit-font-lock-keywords): New fun.
4951 (log-edit-mode): Don't fold case in font-lock.
4952 (log-edit-font-lock-keywords): Do not assume case-folding.
4953
07d00b56
SM
4954 * imenu.el: Misc cleanup. Make docstrings out of comments.
4955 Use lexical-binding.
4956 (imenu--index-alist, imenu--last-menubar-index-alist)
4957 (imenu-menubar-modified-tick): Use defvar-local.
4958 (imenu--split-menu): Remove unused var.
4959 (imenu--cleanup-seen): Declare as global.
4960 (imenu--cleanup): Use dolist.
4961
8bba5a75
SM
4962 * subr.el (defvar-local): Add debug spec and doc-string position.
4963
5075bdb5
GM
49642012-05-08 Glenn Morris <rgm@gnu.org>
4965
090bd7cb 4966 * language/burmese.el, language/cham.el, language/czech.el:
c052c904
GM
4967 * language/english.el, language/georgian.el, language/greek.el:
4968 * language/japanese.el, language/khmer.el, language/korean.el:
4969 * language/lao.el, language/misc-lang.el, language/romanian.el:
4970 * language/sinhala.el, language/slovak.el, language/tai-viet.el:
4971 * language/thai.el, language/utf-8-lang.el:
4972 Remove no-byte-compile setting.
4973
5075bdb5
GM
4974 * play/zone.el (zone-pgm-stress): Don't pollute kill-ring. (Bug#11388)
4975
06f679a7
AH
49762012-05-08 Aaron S. Hawley <aaron.s.hawley@gmail.com>
4977
4978 * progmodes/make-mode.el (makefile-browse):
4979 Remove unnecessary interactive. (Bug#11324)
4980
03794570
GM
49812012-05-07 Glenn Morris <rgm@gnu.org>
4982
af8630f4
GM
4983 * forms-d2.el, forms-pass.el: Move to ../etc/forms directory.
4984
03794570
GM
4985 * international/mule.el (find-auto-coding): Make "unibyte: t" obsolete.
4986
f0809a9d
SM
49872012-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
4988
28be5ce7
SM
4989 * loadup.el: Preload newcomment.el.
4990 * newcomment.el: Move autoload-only code to toplevel.
4991
f0809a9d
SM
4992 * buff-menu.el (list-buffers--refresh): Mark `size' as right-align.
4993 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
4994 Handle new :right-align column property.
4995 (tabulated-list-print-col): Idem, plus use `display' text-property to
4996 try and preserve alignment for variable pitch fonts.
4997
1241b724
CY
49982012-05-07 Chong Yidong <cyd@gnu.org>
4999
5000 * emacs-lisp/tabulated-list.el: Add no-header-line alternative.
5001 (tabulated-list-use-header-line): New var.
5002 (tabulated-list-init-header): Use it.
5003 (tabulated-list-print-fake-header): New function.
5004 (tabulated-list-print): Use it.
5005 (tabulated-list-sort-button-map): Add non-header-line commands.
5006 (tabulated-list-init-header): Add column name property to basic
5007 labels as well.
5008 (tabulated-list-col-sort): Handle non-header-line button case.
5009 (tabulated-list--sort-by-column-name): Fix a corner case.
5010
f0809a9d
SM
5011 * buff-menu.el (list-buffers--refresh):
5012 Handle Buffer-menu-use-header-line.
1241b724 5013
e5f9458f
CY
50142012-05-06 Chong Yidong <cyd@gnu.org>
5015
5016 * buff-menu.el: Convert to Tabulated List mode.
5017 (Buffer-menu-buffer+size-width): Make obsolete.
5018 (Buffer-menu-name-width, Buffer-menu-size-width): New variables.
5019 (Buffer-menu-mode-map): Inherit from tabulated-list-mode-map.
5020 (Buffer-menu-mode): Derive from tabulated-list-mode. Move command
5021 documentation into docstring of buffer-menu.
5022 (Buffer-menu-toggle-files-only): Add an informative message.
5023 (Buffer-menu-sort): Convert to alias for tabulated-list-sort.
5024 (Buffer-menu-buffer, Buffer-menu-beginning, Buffer-menu-mark)
5025 (Buffer-menu-unmark, Buffer-menu-backup-unmark)
5026 (Buffer-menu-delete, Buffer-menu-save, Buffer-menu-not-modified)
5027 (Buffer-menu-execute, Buffer-menu-select)
5028 (Buffer-menu-marked-buffers, Buffer-menu-toggle-read-only)
5029 (Buffer-menu-bury): Use Tabulated List machinery.
5030 (Buffer-menu-mouse-select, Buffer-menu-sort-by-column)
5031 (Buffer-menu-sort-button-map, Buffer-menu-make-sort-button):
f0809a9d 5032 Delete.
e5f9458f
CY
5033 (list-buffers--refresh): New function.
5034 (list-buffers-noselect): Use it.
5035 (tabulated-list-entry-size->, Buffer-menu--pretty-name)
5036 (Buffer-menu--pretty-file-name): New helper functions.
5037
5038 * loadup.el: Preload tabulated-list.
5039
5040 * emacs-lisp/tabulated-list.el (tabulated-list-sort): Rename from
5041 tabulated-list-sort-column.
5042 (tabulated-list-init-header): Add the initial aligning space even
5043 if tabulated-list-padding is zero.
5044
e129292c
CS
50452012-05-06 Christopher Schmidt <christopher@ch.ristopher.com>
5046
5047 * emacs-lisp/cl-macs.el (cl-expr-contains): Handle cons cells
5048 whose cdr is not a cons cell correctly (bug#11038).
5049
6632d361
CY
50502012-05-06 Chong Yidong <cyd@gnu.org>
5051
e129292c
CS
5052 * emacs-lisp/tabulated-list.el (tabulated-list-format):
5053 Accept additional plist in column descriptors.
6632d361
CY
5054 (tabulated-list-init-header): Obey it.
5055 (tabulated-list-get-entry): New function.
5056 (tabulated-list-put-tag): Use it. Use string-width instead of
5057 length.
5058 (tabulated-list--column-number): New function.
5059 (tabulated-list-print): Use it.
e129292c
CS
5060 (tabulated-list-print-col): New function.
5061 Set `tabulated-list-column-name' property on each column's text.
6632d361 5062 (tabulated-list-print-entry): Use it.
e129292c
CS
5063 (tabulated-list-delete-entry, tabulated-list-set-col):
5064 New functions.
6632d361
CY
5065 (tabulated-list-sort-column): New command (Bug#11337).
5066
3cc99f68
CY
5067 * buff-menu.el (list-buffers): Move C-x C-b binding from
5068 buff-menu.el to bindings.el.
5069
5070 * ebuff-menu.el (Electric-buffer-menu-undefined): Use the
5071 :advertised-binding feature.
5072
52b61776
TN
50732012-05-06 Troels Nielsen <bn.troels@gmail.com> (tiny change)
5074
5075 * progmodes/compile.el (compilation-internal-error-properties):
5076 Calculate start position correctly when end-col is set but
5077 end-line is not (Bug#11382).
5078
ebfe2597
WJ
50792012-05-06 Wolfgang Jenkner <wjenkner@inode.at>
5080
5081 * man.el (Man-unindent): Use text-property-default-nonsticky to
5082 prevent untabify from inheriting face properties (Bug#11408).
5083
6d3f7c2f
SM
50842012-05-05 Stefan Merten <smerten@oekonux.de>
5085
5086 * textmodes/rst.el: Major merge with upstream development up to
5087 Docutils SVN r7399 / rst.el V1.2.1.
5088
5089 Clarify maintainership and authors.
5090
5091 (rst-extract-version, rst-cvs-header, rst-cvs-rev)
5092 (rst-cvs-timestamp, rst-svn-rev, rst-svn-timestamp)
5093 (rst-official-version, rst-official-cvs-rev, rst-version)
5094 (rst-package-emacs-version-alist): New functions and variables
5095 for version information.
5096
5097 (rst-bullets, rst-uri-schemes, rst-adornment-chars)
5098 (rst-max-inline-length, rst-re-alist-def, rst-re-alist)
5099 (rst-mode-syntax-table, rst-mode): New and corrected functions
5100 and variables representing reStructuredText features.
5101
5102 (rst-re): New function for reStructuredText regexes. Use in
5103 many places.
5104
5105 (rst-deprecated-keys, rst-call-deprecated, rst-define-key)
5106 (rst-mode-map): Rebind keys.
5107
5108 (rst-mode-lazy, rst-font-lock-keywords)
5109 (rst-font-lock-extend-region)
5110 (rst-font-lock-extend-region-internal)
5111 (rst-font-lock-extend-region-extend)
5112 (rst-font-lock-find-unindented-line-limit)
5113 (rst-font-lock-find-unindented-line-match)
5114 (rst-adornment-level, rst-font-lock-adornment-level)
5115 (rst-font-lock-adornment-match)
5116 (rst-font-lock-handle-adornment-pre-match-form)
5117 (rst-font-lock-handle-adornment-matcher): Major revision of
5118 font-locking. Integrate with other code. Use `jit-lock-mode'.
5119
5120 (rst-preferred-adornments, rst-adjust-hook)
5121 (rst-new-adornment-down, rst-preferred-bullets)
5122 (rst-preferred-bullets, rst-indent, rst-indent-width)
5123 (rst-indent-field, rst-indent-literal-normal)
5124 (rst-indent-literal-minimized, rst-indent-comment): Change,
5125 extend and improve customization.
5126
5127 (rst-line-homogeneous-p, rst-line-homogeneous-nodent-p)
5128 (rst-normalize-cursor-position, rst-get-decoration)
5129 (rst-straighten-deco-spacing, rst-re-bullets, rst-re-items)
5130 (rst-rstrip, rst-toc-insert-find-delete-contents)
5131 (rst-shift-fill-region, rst-compute-bullet-tabs)
5132 (rst-debug-print-tabs, rst-debug-mark-found)
5133 (rst-shift-region-guts, rst-shift-region-right)
5134 (rst-shift-region-left, rst-use-char-classes)
5135 (rst-font-lock-keywords-function)
5136 (rst-font-lock-indentation-point)
5137 (rst-font-lock-find-unindented-line-begin)
5138 (rst-font-lock-find-unindented-line-end)
5139 (rst-font-lock-find-unindented-line)
5140 (rst-font-lock-adornment-point, rst-font-lock-level)
5141 (rst-adornment-level-alist): Remove functions and variables.
5142
5143 (rst-compare-adornments, rst-get-adornment-match)
5144 (rst-suggest-new-adornment, rst-get-adornments-around)
5145 (rst-adornment-complete-p, rst-get-next-adornment)
5146 (rst-adjust-adornment, rst-display-adornments-hierarchy)
5147 (rst-straighten-adornments): Standardize function names to
5148 use "adornment" instead of "decoration". Correct callers.
5149 Similar standardizing in many places.
5150
5151 (rst-update-section, rst-adjust, rst-promote-region)
5152 (rst-enumerate-region, rst-bullet-list-region)
5153 (rst-repeat-last-character): Correct use of `interactive'.
5154
5155 (rst-classify-adornment, rst-find-all-adornments)
5156 (rst-get-hierarchy, rst-adjust-adornment, rst-toc-update)
5157 (rst-find-leftmost-column, rst-repeat-last-character):
5158 Refactor functions.
5159
5160 (rst-find-title-line, rst-reset-section-caches)
5161 (rst-get-adornments-around, rst-adjust-adornment-work)
5162 (rst-arabic-to-roman, rst-roman-to-arabic)
5163 (rst-insert-list-pos, rst-insert-list-new-item)
5164 (rst-insert-list-continue, rst-insert-list, rst-forward-line):
5165 New functions.
5166
5167 (rst-all-sections, rst-section-hierarchy)
5168 (rst-arabic-to-roman, rst-initial-enums, rst-initial-items):
5169 New variables.
5170
5171 (rst-toc-return-wincfg, rst-toc-quit-window): Use window
5172 configuration instead of only buffer. Change where necessary.
5173
5174 (rst-line-tabs, rst-compute-tabs, rst-indent-line)
5175 (rst-shift-region, rst-adaptive-fill): New functions for
5176 indentation and filling.
5177
5178 (rst-comment-line-break, rst-comment-indent)
5179 (rst-comment-insert-comment, rst-comment-region)
5180 (rst-uncomment-region): New functions for handling comments.
5181
5182 (rst-compile): Quote shell arguments.
5183
5184 (rst-compile-pdf-preview, rst-compile-slides-preview):
5185 Delete temporary files after use.
5186
a43f98b3
GM
51872012-05-05 Glenn Morris <rgm@gnu.org>
5188
48176e8b
GM
5189 * calendar/cal-html.el: Optionally include holidays in the output.
5190 Suggested by Ed Reingold <reingold@emr.cs.iit.edu>.
5191 (cal-html-holidays): New option.
5192 (cal-html-css-default): Add holiday entry.
5193 (holiday-in-range): Autoload it.
5194 (cal-html-htmlify-entry): Add optional class argument.
5195 (cal-html-htmlify-list): Add optional holidays argument.
5196 (cal-html-insert-agenda-days): Include holidays in the output.
5197 (cal-html-one-month): Maybe include holidays.
5198
a43f98b3
GM
5199 * calendar/holidays.el (holiday-in-range):
5200 Move here from cal-tex-list-holidays.
5201 * calendar/cal-tex.el (cal-tex-list-holidays):
5202 Make it an obsolete alias for holiday-in-range. Update all callers.
5203
fef9d149 52042012-05-05 Chong Yidong <cyd@gnu.org>
eceeb5fc
CY
5205
5206 * select.el (xselect--encode-string): Always use utf-8 for TEXT on
5207 Nextstep.
5208
248da2f4
RW
52092012-05-05 Ransom Williams <auvergnerw@gmail.com> (tiny change)
5210
5211 * files.el (file-auto-mode-skip): New var.
5212 (set-auto-mode-1): Use it.
5213
f95e9344
SM
52142012-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
5215
df96ab1e
SM
5216 * repeat.el: Use lexical-binding.
5217 (repeat-last-self-insert, repeat-num-input-keys-at-self-insert)
5218 (repeat-undo-count): Remove.
5219 (repeat):
5220 * progmodes/octave-mod.el (octave-abbrev-start):
5221 * progmodes/f90.el (f90-abbrev-start):
5222 * face-remap.el (text-scale-adjust):
5223 * kmacro.el (kmacro-call-macro): Use set-temporary-overlay-map.
5224
5342bb06
SM
5225 * emacs-lisp/pcase.el (pcase--let*): New function.
5226 (pcase--expand, pcase-codegen, pcase--q1): Use it to reduce nesting
5227 a bit more.
5228 (pcase--split-pred): Be more clever about ruling out overlap between
5229 a predicate and some constant pattern.
5230 (pcase--q1): Use `null' instead of (eq foo nil).
5231
f95e9344
SM
5232 * subr.el (setq-local, defvar-local): New macros.
5233 (kbd): Redefine as an alias.
5234 (with-selected-window): Leave unrelated frames alone.
5235 (set-temporary-overlay-map): New function.
5236
71873e2b
SM
52372012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
5238
5239 * subr.el (user-error): New function.
5240 * window.el (switch-to-buffer):
5241 * vc/smerge-mode.el (smerge-resolve-function, smerge-resolve)
5242 (smerge-match-conflict):
5243 * simple.el (previous-matching-history-element)
5244 (next-matching-history-element, goto-history-element, undo-more)
5245 (undo-start):
5246 * progmodes/etags.el (visit-tags-table-buffer, find-tag-tag)
5247 (find-tag-noselect, find-tag-in-order, etags-goto-tag-location)
5248 (next-file, tags-loop-scan, list-tags, complete-tag):
5249 * progmodes/compile.el (compilation-loop):
5250 * mouse.el (mouse-minibuffer-check):
5251 * man.el (Man-bgproc-sentinel, Man-goto-page):
5252 * info.el (Info-find-node-2, Info-extract-pointer, Info-history-back)
5253 (Info-history-forward, Info-follow-reference, Info-menu)
5254 (Info-extract-menu-item, Info-extract-menu-counting)
5255 (Info-forward-node, Info-backward-node, Info-next-menu-item)
5256 (Info-last-menu-item, Info-next-preorder, Info-last-preorder)
5257 (Info-next-reference, Info-prev-reference, Info-index)
5258 (Info-index-next, Info-follow-nearest-node)
5259 (Info-copy-current-node-name):
5260 * imenu.el (imenu--make-index-alist)
5261 (imenu-default-create-index-function, imenu-add-to-menubar):
5262 * files.el (basic-save-buffer, recover-file):
5263 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
5264 * emacs-lisp/checkdoc.el (checkdoc-continue, checkdoc-comments)
5265 (checkdoc-message-text, checkdoc-defun):
5266 * dabbrev.el (dabbrev-completion, dabbrev--abbrev-at-point):
5267 * cus-edit.el (customize-changed-options, customize-rogue)
5268 (customize-saved, custom-variable-set, custom-variable-mark-to-save)
5269 (custom-variable-mark-to-reset-standard)
5270 (custom-variable-reset-backup, custom-face-mark-to-reset-standard)
5271 (custom-file):
5272 * completion.el (check-completion-length):
5273 * comint.el (comint-search-arg)
5274 (comint-previous-matching-input-string-position)
5275 (comint-previous-matching-input)
5276 (comint-replace-by-expanded-history-before-point, comint-send-input)
5277 (comint-copy-old-input, comint-backward-matching-input)
5278 (comint-goto-process-mark, comint-set-process-mark):
5279 * calendar/calendar.el (calendar-cursor-to-date): Use it.
5280 * bindings.el (debug-ignored-errors): Remove regexps, add `user-error'.
5281
8a61ee22
SM
52822012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
5283
66408d1e
SM
5284 * dabbrev.el (dabbrev--ignore-case-p): New function.
5285 (dabbrev-completion, dabbrev-expand, dabbrev--substitute-expansion):
5286 Use it.
5287
8a61ee22
SM
5288 * files.el (automount-dir-prefix): Mark as obsolete.
5289
3c74813a
GM
52902012-05-04 Glenn Morris <rgm@gnu.org>
5291
5292 * patcomp.el, play/bruce.el: Move to obsolete/.
5293
0bfcf5c5
PE
52942012-05-04 Paul Eggert <eggert@cs.ucla.edu>
5295
5296 Fix minor Y10k bugs.
5297 * arc-mode.el (archive-unixdate):
5298 * autoinsert.el (auto-insert-alist):
5299 * calc/calc-forms.el (math-this-year):
5300 * emacs-lisp/copyright.el (copyright-current-year)
5301 (copyright-update-year, copyright):
5302 * tar-mode.el (tar-clip-time-string):
5303 * time.el (display-time-update):
5304 Don't assume years have 4 digits.
5305
78f3273a
CY
53062012-05-04 Chong Yidong <cyd@gnu.org>
5307
5308 * dos-w32.el (file-name-buffer-file-type-alist)
5309 (direct-print-region-use-command-dot-com):
5310 * ffap.el (ffap-menu-regexp):
5311 * find-file.el (ff-special-constructs):
5312 * follow.el (follow-debug):
5313 * forms.el (forms--debug):
5314 * iswitchb.el (iswitchb-all-frames):
5315 * ido.el (ido-all-frames):
5316 * emacs-lisp/timer.el (timer-max-repeats):
5317 * mail/feedmail.el (feedmail-mail-send-hook)
5318 (feedmail-mail-send-hook-queued):
5319 * mail/footnote.el (footnote-signature-separator):
5320 * mail/mailabbrev.el (mail-alias-separator-string)
5321 (mail-abbrev-mode-regexp):
5322 * mail/rmail.el (rmail-speedbar-match-folder-regexp):
5323 * progmodes/idlwave.el (idlwave-libinfo-file)
5324 (idlwave-default-completion-case-is-down)
5325 (idlwave-library-routines): Convert defvars to defcustoms.
5326
5327 * mail/rmail.el (rmail-decode-mime-charset):
5328 * progmodes/idlw-shell.el (idlwave-shell-print-expression-function)
5329 (idlwave-shell-fix-inserted-breaks)
5330 (idlwave-shell-activate-alt-keybindings)
5331 (idlwave-shell-use-breakpoint-glyph):
5332 * facemenu.el (facemenu-unlisted-faces): Delete obsolete vars.
5333
f7ae6719
SM
53342012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
5335
5336 * minibuffer.el (completion--twq-all): Beware completion-ignore-case.
5337
47086495
WS
53382012-05-03 Wilson Snyder <wsnyder@wsnyder.org>
5339
5340 * progmodes/verilog-mode.el (font-lock-keywords):
5341 Fix mis-highligting auto. Reported by Craig Barner.
5342 (verilog-auto, verilog-auto-undef): Add AUTOUNDEF to remove
5343 defines from global name space. Reported by Dan Dever.
5344 (verilog-auto-reset, verilog-auto-reset-widths)
5345 (verilog-auto-tieoff): Support using unbased numbers for
5346 AUTORESET and AUTOTIEOFF.
5347 (verilog-submit-bug-report): Update variable list.
5348 (verilog-read-auto-params): Fix AUTOINPUT regexps containing
5349 parenthesis from not matching. Reported by Michael Rytting.
5350 (verilog-auto-template-lint): Fix hash error when linting modules
5351 with no used templates.
5352 (verilog-warn, verilog-warn-error)
5353 (verilog-warn-fatal): When non-interactive report multiple
5354 warnings before exiting. Suggested by Brad Dobbie.
5355 (verilog-auto-template-lint, verilog-auto-template-warn-unused)
5356 (verilog-read-auto-template): Add `verilog-auto-template-warn-unused'
5357 to report unused template errors. Reported by Brad Dobbie.
5358 (verilog-read-decls): Fix AUTOWIRE etc on supply0, supply1 type
5359 nets, bug438. Reported by Vns Blore.
5360 (verilog-auto-inout-module, verilog-auto-reg)
5361 (verilog-read-decls, verilog-read-sub-decls-sig)
5362 (verilog-signals-edit-wire-reg, verilog-signals-with):
5363 Fix passing of Verilog data types in ANSI input/output ports
5364 such as "output logic" into the AUTOs. Special case "wire" and
5365 "reg" for backwards compatibility presuming Verilog 2001.
5366 (verilog-auto-ascii-enum): Add "auto enum" as alias.
5367 (verilog-preprocess): Fix replication of preprocess output.
5368 Reported by Brad Dobbie.
5369 (verilog-auto-inst-interfaced-ports):
5370 Create verilog-auto-inst-interfaced-ports, bug429.
5371 Reported by Julian Gorfajn.
5372 (verilog-after-save-font-hook)
5373 (verilog-before-save-font-hook): New variable.
5374 (verilog-modi-cache-results, verilog-save-font-mod-hooked)
5375 (verilog-save-font-mods): Wrap disabling fontification, reported
5376 by David Rogoff.
5377 (verilog-do-indent, verilog-pretty-declarations-auto)
5378 (verilog-sk-def-reg): Fix obeying `verilog-auto-lineup', bug305.
5379 Reported by Pierre-David Pfister.
5380 (verilog-set-auto-endcomments): Fix endtask auto comments outside
5381 of class declarations, bug292. Reported by Kevin Heilman.
5382 (verilog-read-decls): Fix 'parameter type' not appearing in
5383 AUTOINSTPARAM, bug340. Reported by Jonathan Greenlaw.
5384 (verilog-auto-logic): Fix when AUTOLOGIC present to properly do
5385 AUTOINPUTs, bug411. Reported by Jonathan Greenlaw.
5386 (verilog-read-auto-lisp): Avoid syntax-ppss warning on AUTOLISP.
5387 Reported by David Kravitz.
5388
53892012-05-03 Michael McNamara <mac@mail.brushroad.com>
5390
5391 * progmodes/verilog-mode.el (verilog-pretty-expr): Don't line up
5392 assignment with tests in ifs and for loops.
5393 (verilog-extended-complete-re, verilog-complete-reg): Change so
5394 that DPI inport functions don't look like fuction declarations.
5395 (verilog-pretty-expr): Don't line up assignment
5396 operations to the test and increment in if and for loops
5397 (verilog-extended-complete-re, verilog-complete-reg): Change so
090bd7cb 5398 that DPI inport functions don't look like fuction declarations.
47086495 5399
2e51d4b5
KH
54002012-05-03 Kenichi Handa <handa@m17n.org>
5401
5402 * mail/rmailmm.el (rmail-show-mime): Catch an error caused by text
c846da43 5403 decoding, and show a warning message without signaling an error
2e51d4b5
KH
5404 (Bug#11282).
5405
2bd785a2
SM
54062012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
5407
5408 * emacs-lisp/bytecomp.el
5409 (byte-compile-file-form-custom-declare-variable): Compile all elements,
5410 since cconv.el might have introduced :fun-body, internal-make-closure,
5411 and friends for bytecomp to handle (bug#11391).
5412 * custom.el (defcustom): Avoid ((λ ..) ..).
5413
99d27583
SM
54142012-05-02 Stefan Monnier <monnier@iro.umontreal.ca>
5415
5416 * subr.el (read-passwd): Better clean after ourselves (bug#11392).
5417
55a71479
JB
54182012-05-02 Juanma Barranquero <lekktu@gmail.com>
5419
5420 * notifications.el (dbus-debug):
5421 * term/linux.el (gpm-mouse-enable):
5422 * term/screen.el (xterm-register-default-colors): Declare.
5423
7b97c764
CY
54242012-05-02 Chong Yidong <cyd@gnu.org>
5425
2bc356d7
CY
5426 * cus-start.el (gc-cons-percentage, exec-suffixes)
5427 (dos-display-scancodes, dos-hyper-key, dos-super-key)
5428 (dos-keypad-mode, debug-on-signal, vertical-centering-font-regexp)
5429 (make-cursor-line-fully-visible, void-text-area-pointer)
5430 (font-list-limit): Add customization data.
5431
7b97c764
CY
5432 * allout.el (allout-exposure-change-functions)
5433 (allout-structure-added-functions)
5434 (allout-structure-deleted-functions)
5435 (allout-structure-shifted-functions): Rename abnormal hooks from
5436 *-hook, and convert to defcustoms.
5d3385a0
JB
5437 (allout-after-copy-or-kill-hook, allout-post-undo-hook):
5438 Convert to defcustoms.
7b97c764
CY
5439 (allout-mode-hook, allout-mode-deactivate-hook): Doc fix.
5440
5441 * allout-widgets.el: Hook callers changed.
5442
90207a15 54432012-05-02 Eli Zaretskii <eliz@gnu.org>
91af76bf
EZ
5444
5445 * mail/rmail.el (rmail-yank-current-message): Use the encoding of
5446 the yanked message in preference to the default value of
5447 buffer-file-coding-system.
5448
90207a15 54492012-05-02 Martin Rudalics <rudalics@gmx.at>
d9558cad 5450
5d3385a0
JB
5451 * window.el (display-buffer--action-function-custom-type):
5452 Fix entry.
d9558cad 5453
90207a15 54542012-05-02 Alan Mackenzie <acm@muc.de>
09affde0
AM
5455
5456 * progmodes/cc-defs.el (c-version): Update to 5.32.3.
5457
d80ac57b
GM
54582012-05-01 Glenn Morris <rgm@gnu.org>
5459
976f7668
GM
5460 * cus-start.el (suggest-key-bindings): Remove, now it is in Lisp.
5461
beb83b5a
GM
5462 * eshell/esh-cmd.el (eshell-debug-command): Doc fix. Add :set.
5463
d80ac57b
GM
5464 * cus-edit.el (custom-variable-documentation): Simplify with format.
5465
b593d6a9 54662012-05-01 Aaron S. Hawley <aaron.s.hawley@gmail.com>
f1a71c6e 5467 Stefan Monnier <monnier@iro.umontreal.ca>
b593d6a9
AH
5468
5469 * simple.el (suggest-key-bindings, execute-extended-command):
5470 Move from keyboard.c.
5471
782fbf2a
CY
54722012-05-01 Chong Yidong <cyd@gnu.org>
5473
5474 * follow.el: Eliminate advice.
5475 (set-process-filter, process-filter, sit-for): Advice deleted.
5476 (follow-mode-off-hook): Obsolete hook removed.
b593d6a9
AH
5477 (follow-avoid-tail-recenter-p, follow-process-filter-alist):
5478 Vars deleted.
782fbf2a
CY
5479 (follow-auto): Use a :set function.
5480 (follow-mode): Rewritten. Don't advise process filters.
5481 (follow-switch-to-current-buffer-all, follow-scroll-up)
5482 (follow-scroll-down): Assume follow-mode is bound.
5483 (follow-comint-scroll-to-bottom)
5484 (follow-align-compilation-windows): New functions.
5485 (follow--window-sorter): New function.
5486 (follow-all-followers): Use it to explicitly sort windows by their
5487 positions; don't make assumptions about next-window order.
5488 (follow-windows-start-end, follow-delete-other-windows-and-split)
5489 (follow-calc-win-start): Doc fix.
5490 (follow-windows-aligned-p, follow-select-if-visible): Don't call
5491 vertical-motion unnecessarily.
5492 (follow-adjust-window): New function.
5493 (follow-post-command-hook): Use it.
5494 (follow-call-set-process-filter, follow-call-process-filter)
5495 (follow-intercept-process-output, follow-tidy-process-filter-alist)
5496 (follow-stop-intercept-process-output, follow-generic-filter):
5497 Functions deleted.
5498 (follow-scroll-bar-toolkit-scroll, follow-scroll-bar-drag)
b593d6a9
AH
5499 (follow-scroll-bar-scroll-up, follow-scroll-bar-scroll-down):
5500 New functions, replacing advice on scroll-bar-* commands.
87233a14 5501 (follow-mwheel-scroll): New function (Bug#4112).
782fbf2a
CY
5502
5503 * comint.el (comint-adjust-point): New function.
b593d6a9
AH
5504 (comint-postoutput-scroll-to-bottom): Use it.
5505 Call follow-comint-scroll-to-bottom for Follow mode buffers.
782fbf2a 5506
290af740
GM
55072012-05-01 Glenn Morris <rgm@gnu.org>
5508
5509 * term/AT386.el, term/apollo.el, term/bobcat.el, term/cygwin.el:
5510 * term/iris-ansi.el, term/linux.el, term/lk201.el, term/news.el:
5511 * term/screen.el, term/vt102.el, term/vt125.el, term/vt200.el:
5512 * term/vt201.el, term/vt220.el, term/vt240.el, term/vt300.el:
5513 * term/vt320.el, term/vt400.el, term/vt420.el, term/wyse50.el:
5514 Remove no-byte-compile setting.
5515
6eac8dc9
SM
55162012-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
5517
5518 * minibuffer.el (completion-table-with-quoting): Fix compatibility
5519 all-completions code to not return a number in the last cdr.
5520
9cc7819c
LL
55212012-04-30 Leo Liu <sdl.web@gmail.com>
5522
5523 * ibuf-ext.el (ibuffer-diff-buffer-with-file-1): Avoid buffer
5524 read-only error.
5525
c93b886f
CY
55262012-04-29 Chong Yidong <cyd@gnu.org>
5527
5528 * follow.el (follow-calc-win-end): Rewrite to handle partial
5529 screen lines correctly (Bug#8390).
5530 (follow-avoid-tail-recenter): Minor cleanup.
5531
8b6c19f4
SM
55322012-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
5533
5534 Avoid the obsolete `assoc' package.
5535 * speedbar.el (speedbar-refresh): Avoid adelete.
5536 (speedbar-file-lists): Simplify and avoid aput.
5537 * man.el (Man--sections, Man--refpages): New vars, replacing
5538 Man-sections-alist and Man-refpages-alist.
5539 (Man-build-section-alist, Man-build-references-alist):
5540 Use them; avoid aput.
5541 (Man--last-section, Man--last-refpage): New vars.
5542 (Man-follow-manual-reference): Use them.
5543 Use the `default' arg of completing-read.
5544 (Man-goto-section): Idem. Move prompt to the `interactive' spec.
5545
c5bb7569
CY
55462012-04-27 Chong Yidong <cyd@gnu.org>
5547
d1d2e2e8
CY
5548 * vc/diff.el (diff-sentinel): Go to bob (Bug#10259).
5549
15cd8efd
CY
5550 * startup.el (x-apply-session-resources): New function.
5551
5552 * term/ns-win.el (ns-initialize-window-system):
5553 * term/w32-win.el (w32-initialize-window-system):
5554 * term/x-win.el (x-initialize-window-system): Use it to properly
5555 set menu-bar-mode and other vars from X resources, even if the
5556 initial frame is not a window-system frame (Bug#2299).
5557
c5bb7569
CY
5558 * subr.el (read-key): Avoid running filter function when setting
5559 up temporary tool bar entries (Bug#9922).
5560
a8e7d6d7 55612012-04-27 Andreas Schwab <schwab@linux-m68k.org>
c4347ab9
AS
5562
5563 * vc/vc-git.el (vc-git-state): Fix regexp matching diff output.
5564 (Bug#11344)
5565
a8e7d6d7 55662012-04-27 Chong Yidong <cyd@gnu.org>
acb71f1d
CY
5567
5568 * select.el (xselect--encode-string): New function, split from
5569 xselect-convert-to-string.
5570 (xselect-convert-to-string): Use it.
5571 (xselect-convert-to-filename, xselect-convert-to-os)
5572 (xselect-convert-to-host, xselect-convert-to-user): Ensure that
5573 returned strings are properly encoded (Bug#11315).
5574
a8e7d6d7 55752012-04-27 Chong Yidong <cyd@gnu.org>
d55486c7
CY
5576
5577 * simple.el (delete-active-region): Move to killing custom group.
5578
a8e7d6d7 55792012-04-27 Andreas Schwab <schwab@linux-m68k.org>
581b6788
AS
5580
5581 * progmodes/which-func.el (which-func-current): Quote %
5582 characters for mode-line processing.
5583
578c1d4b 55842012-04-27 Chong Yidong <cyd@gnu.org>
18edb22d
CY
5585
5586 * xml.el (xml-parse-region, xml-parse-tag): Avoid errors due to
5587 reaching eob (Bug#11286).
5588
a8e7d6d7 55892012-04-27 Eli Zaretskii <eliz@gnu.org>
9ee9f470
EZ
5590
5591 * progmodes/gdb-mi.el (gdb-control-level): New variable.
5592 (gdb): Make it buffer-local and init to zero.
5593 (gdb-control-commands-regexp): New variable.
5594 (gdb-send): Don't wrap in "-interpreter-exec console" if
5595 gdb-control-level is positive. Increment gdb-control-level
5596 whenever the command matches gdb-control-commands-regexp, and
5597 decrement it each time the command is "end". (Bug#11279)
5598
a8e7d6d7 55992012-04-27 Martin Rudalics <rudalics@gmx.at>
41cfe0cb
MR
5600
5601 * window.el (adjust-window-trailing-edge, enlarge-window)
5602 (shrink-window, window-resize):
5603 * mouse.el (mouse-drag-line): Fix resizing of minibuffer
5604 windows (Bug#11276).
5605
b3608390
CY
56062012-04-27 Chong Yidong <cyd@gnu.org>
5607
5608 * progmodes/pascal.el (pascal--extra-indent): Rename from ind, to
a8e7d6d7 5609 fix "missing prefix" warning. All callers changed.
b3608390 5610
797e6e88
SM
56112012-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
5612
5613 * emacs-lisp/assoc.el: Move to obsolete/.
5614
e95a67dc
SM
56152012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
5616
657c21e4 5617 * emacs-lisp/assoc.el (aget): Fix dynamic-scoping issue (bug#11352).
e95a67dc
SM
5618
5619 * term/ns-win.el (ns-define-service):
5620 * progmodes/pascal.el (pascal-goto-defun):
5621 * progmodes/js.el (js--read-tab):
5622 * progmodes/etags.el (tags-lazy-completion-table):
5623 * emacs-lisp/syntax.el (syntax-propertize-via-font-lock):
5624 * emacs-lisp/ewoc.el (ewoc--wrap):
5625 * emacs-lisp/assoc.el (aput, adelete, amake):
5626 * doc-view.el (doc-view-convert-current-doc):
5627 * vc/diff.el (diff-no-select): Replace lexical-let by lexical-binding.
5628
cb3e7ae0
CY
56292012-04-26 Chong Yidong <cyd@gnu.org>
5630
dce04f7f
CY
5631 * image.el (image-type-from-buffer): Only return supported image
5632 type (Bug#9045).
5633
cb3e7ae0
CY
5634 * vc/diff-mode.el (diff-beginning-of-hunk): Return a meaningful
5635 value, for symmetry with diff-end-of-hunk.
5636 (diff-split-hunk, diff-find-source-location)
5637 (diff-ignore-whitespace-hunk, diff-refine-hunk): Use it.
5638 (diff-bounds-of-hunk, diff-bounds-of-file): New functions.
5639 (diff-restrict-view, diff-hunk-kill, diff-file-kill): Use them to
5640 compute the relevant hunk or file properly (Bug#6005).
5641 (diff-file-junk-re): Add bzr's "modified file" tag (Bug#6041).
5642
0d42eb3e
SM
56432012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
5644
5645 * vc/vc-mtn.el:
5646 * vc/vc-hg.el:
5647 * vc/vc-git.el:
5648 * vc/vc-dir.el:
5649 * vc/vc-cvs.el:
5650 * vc/vc-bzr.el:
5651 * vc/vc-arch.el:
5652 * vc/vc.el: Replace lexical-let by lexical-binding.
5653 * minibuffer.el (lazy-completion-table): Avoid ((λ ...) ...).
5654 * emacs-lisp/cl-macs.el (lexical-let): Fix use in lexical-binding.
5655 * emacs-lisp/cconv.el (cconv-analyse-form): Warn use of ((λ ...) ...).
5656
f08ae1c9
CY
56572012-04-26 Chong Yidong <cyd@gnu.org>
5658
8b71081d
CY
5659 * vc/diff-mode.el (diff-undo): New command (Bug#5302).
5660 (diff-mode-shared-map): Bind it to / and [remap undo].
5661
f08ae1c9
CY
5662 * vc/ediff-wind.el (ediff-setup-windows-default): New function.
5663 (ediff-window-setup-function): Use it as the default, to set up
5664 windows based on whether the current frame is graphical (Bug#2138).
5665 (ediff-choose-window-setup-function-automatically): Make obsolete.
5666
5667 * vc/ediff-init.el: Always define ediff-pixel-width/height.
5668
ef24141c
SM
56692012-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
5670
cc356a5d
SM
5671 * ffap.el: Remove old code for obsolete package.
5672 (ffap-complete-as-file-p): Remove.
5673
b4ff4f1f
SM
5674 Use completion-table-with-quoting for comint and pcomplete.
5675 * comint.el (comint--unquote&requote-argument)
5676 (comint--unquote-argument, comint--requote-argument): New functions.
5677 (comint--unquote&expand-filename, comint-unquote-filename): Obsolete.
5678 (comint-quote-filename): Use regexp-opt-charset.
5679 (comint--common-suffix, comint--common-quoted-suffix)
5680 (comint--table-subvert): Remove.
5681 (comint-unquote-function, comint-requote-function): New vars.
5682 (comint--complete-file-name-data): Use them with
5683 completion-table-with-quoting.
5684 * pcmpl-unix.el (pcomplete/scp): Use completion-table-subvert.
5685 * pcomplete.el (pcomplete-arg-quote-list)
5686 (pcomplete-quote-arg-hook, pcomplete-quote-argument): Obsolete.
5687 (pcomplete-unquote-argument-function): Default to non-nil.
5688 (pcomplete-unquote-argument): Simplify.
5689 (pcomplete--common-quoted-suffix): Remove.
5690 (pcomplete-requote-argument-function): New var.
5691 (pcomplete--common-suffix): New function.
5692 (pcomplete-completions-at-point): Use completion-table-with-quoting
5693 and completion-table-subvert.
5694
79c4eeb4
SM
5695 * minibuffer.el: Use completion-table-with-quoting for read-file-name.
5696 (minibuffer--double-dollars): Preserve properties.
5697 (completion--sifn-requote): New function.
5698 (completion--file-name-table): Rewrite using it and c-t-with-quoting.
5699
ef24141c
SM
5700 * minibuffer.el: Add support for completion of quoted/escaped data.
5701 (completion-table-with-quoting, completion-table-subvert): New funs.
5702 (completion--twq-try, completion--twq-all): New functions.
5703 (completion--nth-completion): New function.
5704 (completion-try-completion, completion-all-completions): Use it.
5705
784e7d6e
LL
57062012-04-25 Leo Liu <sdl.web@gmail.com>
5707
dd2ac746
SM
5708 * progmodes/python.el (python-pdbtrack-get-source-buffer):
5709 Use compilation-message if available to find real filename.
784e7d6e 5710
07875ee7
CY
57112012-04-25 Chong Yidong <cyd@gnu.org>
5712
5713 * vc/diff-mode.el (diff-setup-whitespace): New function.
5714 (diff-mode): Use it.
5715
5716 * vc/diff.el (diff-sentinel):
5717 * vc/vc.el (vc-diff-finish): Call diff-setup-whitespace to assign
5718 Whitespace mode variables based on diff style (Bug#8612).
5719
5055880d
LL
57202012-04-25 Leo Liu <sdl.web@gmail.com>
5721
daf75653
LL
5722 * progmodes/python.el (python-send-region): Add suffix .py to the
5723 temp file.
5724
5055880d
LL
5725 * files.el (auto-mode-alist): Use javascript-mode instead.
5726
db9b177b
AH
57272012-04-25 Alex Harsanyi <AlexHarsanyi@gmail.com>
5728
ef24141c 5729 Sync with soap-client repository. Support SOAP simpleType (Bug#10331).
db9b177b 5730
090bd7cb 5731 * net/soap-client.el (soap-resolve-references-for-sequence-type)
ef24141c 5732 (soap-resolve-references-for-array-type): Hack to prevent self
db9b177b 5733 references, see Bug#9.
ef24141c 5734 (soap-parse-envelope): Report the contents of the 'detail' node
db9b177b 5735 when receiving a fault reply.
ef24141c 5736 (soap-parse-envelope): Report the contents of the entire 'detail' node.
db9b177b 5737
090bd7cb 5738 * net/soap-inspect.el (soap-sample-value-for-simple-type)
ef24141c 5739 (soap-inspect-simple-type): New function.
db9b177b 5740
090bd7cb 5741 * net/soap-client.el (soap-simple-type): New struct.
db9b177b 5742 (soap-default-xsd-types, soap-default-soapenc-types)
ef24141c
SM
5743 (soap-decode-basic-type, soap-encode-basic-type):
5744 support unsignedInt and double basic types.
db9b177b 5745 (soap-resolve-references-for-simple-type)
ef24141c
SM
5746 (soap-parse-simple-type, soap-encode-simple-type): New function.
5747 (soap-parse-schema): Parse xsd:simpleType declarations.
db9b177b 5748
090bd7cb 5749 * net/soap-client.el (soap-default-xsd-types)
ef24141c
SM
5750 (soap-default-soapenc-types): Add integer, byte and anyURI types.
5751 (soap-parse-complex-type-complex-content): Use `soap-wk2l' to find
5752 the local name of "soapenc:Array".
5753 (soap-decode-basic-type, soap-encode-basic-type): Support encoding
db9b177b
AH
5754 decoding integer, byte and anyURI xsd types.
5755
1fc6097b
CY
57562012-04-25 Chong Yidong <cyd@gnu.org>
5757
5758 * cus-edit.el (custom-buffer-create-internal): Update header text.
5759
afc6df87
EZ
57602012-04-25 Eli Zaretskii <eliz@gnu.org>
5761
5762 * progmodes/gdb-mi.el (gdb-init-1): Condition Windows-specific
5763 settings on 'system-type', not on 'window-system'. On MS-Windows,
5764 set interactive-mode on in GDB.
5765
dfbd787f
SM
57662012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
5767
5768 * progmodes/ruby-mode.el: Simplify last change, and cleanup code.
5769 (ruby-syntax-propertize-regexp): Remove.
5770 (ruby-syntax-propertize-function): Split regexp into chunks.
5771 Match following code directly.
5772
85222d44
DG
57732012-04-24 Dmitry Gutov <dgutov@yandex.ru>
5774
51a8ea2a
DG
5775 * progmodes/ruby-mode.el: Handle Cucumber defs (bug#6286).
5776 (ruby-syntax-propertize-regexp): New function.
5777 (ruby-syntax-propertize-function): Use it to handle regexp not preceded
5778 by a special keyword.
5779
85222d44
DG
5780 * progmodes/ruby-mode.el: Handle general delimited literals (bug#6286).
5781 (ruby-syntax-general-delimiters-goto-beg)
5782 (ruby-syntax-propertize-general-delimiters): New functions.
5783 (ruby-syntax-propertize-function): Use them to handle GDL.
5784 (ruby-font-lock-keywords): Move old handling of GDL...
5785 (ruby-font-lock-syntactic-keywords): .. to here.
5786 (ruby-calculate-indent): Adjust indentation for GDL.
5787
b613912b
MA
57882012-04-24 Michael Albinus <michael.albinus@gmx.de>
5789
b5380639
MA
5790 * notifications.el (top): Remove unneeded declarations.
5791 (notifications-specification-version): Change to "1.2".
e43042fe 5792 (notifications-interface, notifications-notify-method)
b613912b
MA
5793 (notifications-close-notification-method): Fix docstring.
5794 (notifications-get-capabilities-method): New defconst.
e43042fe
MA
5795 (notifications-notify): Add :action-items, :resident and
5796 :transient hints. Change "image_data" to "image-data" and
5797 "image_path" to "image-path".
b613912b
MA
5798 (notifications-get-capabilities): New defun.
5799
257440aa
LL
58002012-04-24 Leo Liu <sdl.web@gmail.com>
5801
5802 * progmodes/python.el: Move hideshow setup to the end.
5803
b1bac16e
MR
58042012-04-24 Martin Rudalics <rudalics@gmx.at>
5805
5806 * window.el (handle-select-window): Clear echo area since this is
5807 no more done by read_char (Bug#11304).
5808
d81bd059
SM
58092012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
5810
5811 * ibuffer.el (ibuffer-mode-map): Bind `/ m' to filter-used-mode
5812 and `/ M' to filter-derived-mode.
5813 * ibuf-ext.el (ibuffer-list-buffer-modes): Simplify; avoid add-to-list.
5814 (ibuffer-filter-by-mode, ibuffer-filter-by-used-mode)
5815 (ibuffer-mark-by-mode): Use default rather than initial-input.
5816 (ibuffer-filter-by-derived-mode): Autoload and require-match.
5817
c4cf6d91
IA
58182012-04-24 Ivan Andrus <darthandrus@gmail.com> (tiny change)
5819
5820 * ibuf-ext.el (ibuffer-list-buffer-modes): Add `include-parents' arg.
5821 (ibuffer-filter-by-derived-mode): New filter.
5822 * ibuffer.el (ibuffer-mode-map): Bind to `/ w'.
5823
7511ded8
CY
58242012-04-23 Andreas Politz <politza@fh-trier.de>
5825
5826 * subr.el (accept-change-group): Fix arg usage (Bug#6095).
5827
775c916b
CY
58282012-04-23 Chong Yidong <cyd@gnu.org>
5829
5830 * cus-edit.el (customize-apropos, customize-apropos-options):
5831 Disable matching of non-option variables (Bug#11176).
5832 (customize-option, customize-option-other-window)
5833 (customize-changed-options): Doc fix.
5834 (customize-apropos-options, customize-apropos-faces)
5835 (customize-apropos-groups): Use apropos-read-pattern (Bug#11124).
5836
5837 * apropos.el (apropos-read-pattern): Make prompt less cryptic.
922d37d3 5838 Fix word list splitting (Bug#11132).
46c71e23
CY
5839 (apropos-symbol, apropos-keybinding, apropos-label)
5840 (apropos-property, apropos-function-button)
5841 (apropos-variable-button, apropos-misc-button): New faces.
5842 (apropos-symbol-face, apropos-keybinding-face)
5843 (apropos-label-face, apropos-property-face, apropos-match-face):
5844 Variables removed (Bug#8396).
5845 (apropos-library-button, apropos-format-plist, apropos-print)
5846 (apropos-print-doc, apropos-describe-plist): Callers changed.
775c916b 5847
2df41f9c
MA
58482012-04-23 Michael Albinus <michael.albinus@gmx.de>
5849
5850 * net/xesam.el (xesam-mode-map): Use let-bound map in
5851 initialization. (Bug#11292)
5852
da00640a
AM
58532012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
5854
5855 Preserve ispell session localwords when switching back to
5856 original buffer.
5857
090bd7cb
JB
5858 * textmodes/ispell.el (ispell-buffer-session-localwords):
5859 New buffer-local variable to hold buffer session localwords.
ed9265fc 5860 (ispell-kill-ispell): Add option 'clear to delete session
da00640a
AM
5861 localwords.
5862 (ispell-command-loop, ispell-change-dictionary)
5863 (ispell-buffer-local-words): Preserve session localwords when
5864 needed.
5865
090bd7cb
JB
5866 * textmodes/flyspell.el (flyspell-process-localwords)
5867 (flyspell-do-correct): Preserve session localwords when needed.
da00640a 5868
f621ccf5
AM
58692012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
5870
090bd7cb
JB
5871 * textmodes/ispell.el (ispell-insert-word) Remove unneeded function
5872 using obsolete `translation-table-for-input'.
ef24141c
SM
5873 (ispell-word, ispell-process-line, ispell-complete-word):
5874 Use plain `insert' instead of removed `ispell-insert-word'.
f621ccf5 5875
c2d1019e
CY
58762012-04-22 Chong Yidong <cyd@gnu.org>
5877
5878 * cus-edit.el (custom-variable-menu)
5879 (custom-variable-reset-saved, custom-face-menu)
5880 (custom-face-reset-saved): If there is no saved value, make the
5881 "reset-saved" operation bring back the default (Bug#9509).
5882 (custom-face-state): Properly detect themed faces.
5883
eeddc531
CY
5884 * faces.el (face-spec-set): Stop supporting deprecated form of
5885 third arg.
5886
dcbf5805
MA
58872012-04-22 Michael Albinus <michael.albinus@gmx.de>
5888
5889 Move functions from C to Lisp. Make non-blocking method calls
5890 the default. Implement further D-Bus standard interfaces.
5891
ef24141c
SM
5892 * net/dbus.el (dbus-message-internal): Declare function.
5893 Remove unneeded function declarations.
dcbf5805
MA
5894 (defvar dbus-message-type-invalid, dbus-message-type-method-call)
5895 (dbus-message-type-method-return, dbus-message-type-error)
5896 (dbus-message-type-signal): Declare variables. Remove local
5897 definitions.
5898 (dbus-interface-dbus, dbus-interface-peer)
5899 (dbus-interface-introspectable, dbus-interface-properties)
5900 (dbus-path-emacs, dbus-interface-emacs, dbus-return-values-table):
5901 Adapt docstring.
5902 (dbus-interface-objectmanager): New defconst.
5903 (dbus-call-method, dbus-call-method-asynchronously)
5904 (dbus-send-signal, dbus-method-return-internal)
5905 (dbus-method-error-internal, dbus-register-service)
5906 (dbus-register-signal, dbus-register-method): New defuns, moved
5907 from dbusbind.c
5908 (dbus-call-method-handler, dbus-setenv)
ef24141c
SM
5909 (dbus-get-all-managed-objects, dbus-managed-objects-handler):
5910 New defuns.
dcbf5805
MA
5911 (dbus-call-method-non-blocking): Make it an obsolete function.
5912 (dbus-unregister-object, dbus-unregister-service)
5913 (dbus-handle-event, dbus-register-property)
5914 (dbus-property-handler): Obey the new structure of
5915 `bus-registered-objects'.
5916 (dbus-introspect): Use `dbus-call-method'. Use a timeout.
5917 (dbus-get-property, dbus-set-property, dbus-get-all-properties):
5918 Use `dbus-call-method'.
5919
cf20dee0
CY
59202012-04-22 Chong Yidong <cyd@gnu.org>
5921
5922 * cus-edit.el (custom-commands, custom-reset-menu)
5923 (Custom-reset-standard): Tweak labels.
5924 (custom-reset-button-menu): Change default to t.
5925 (custom-buffer-create-internal): For the custom-reset-button-menu
5926 case, put the revert button first.
5927 (custom-group-subtitle): New face.
5928 (custom-group-value-create): Align docstring to a specific column.
5929
5930 * wid-edit.el (widget-documentation-link-add): Don't handle
5931 indentation in this function.
5932 (widget-documentation-string-indent-to): New function.
5933 (widget-documentation-string-value-create): Use it.
5934
5935 * autorevert.el (auto-revert):
5936 * epg-config.el (epg):
5937 * ibuffer.el (ibuffer):
5938 * mpc.el (mpc):
5939 * ses.el (ses):
5940 * eshell/eshell.el (eshell):
5941 * net/ange-ftp.el (ange-ftp):
5942 * progmodes/ebnf2ps.el (postscript):
5943 * progmodes/flymake.el (flymake):
5944 * progmodes/prolog.el (prolog):
5945 * progmodes/verilog-mode.el (verilog-mode):
5946 * progmodes/which-func.el (which-func):
5947 * term/xterm.el (xterm):
5948 * textmodes/picture.el (picture):
5949 * textmodes/tildify.el (tildify):
5950 * vc/ediff.el (ediff): Tweak defgroups to improve presentation in
5951 customization buffers.
5952
583e23bd
AM
59532012-04-22 Alan Mackenzie <acm@muc.de>
5954
5955 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
5956 Adding a ) can hide the resulting (..) from searches. Fix it.
5957 Bound the backward search to the position of the existing (.
5958
7dd51bf1
JB
59592012-04-21 Juanma Barranquero <lekktu@gmail.com>
5960
5961 * progmodes/verilog-mode.el (verilog-mode): Check whether
5962 which-func-modes is t before adding verilog-mode.
5963 Reported by Andy Moreton <andrewjmoreton@gmail.com>.
5964
d64a438f
LL
59652012-04-21 Leo Liu <sdl.web@gmail.com>
5966
7dd51bf1 5967 * net/rcirc.el (rcirc): Avoid error when process-contact returns t.
d64a438f 5968
081e8d65
MV
59692012-04-21 Michael Vehrs <Michael.Burschik@gmx.de>
5970
5971 * woman.el: Add support for "T{ T}" tbl syntax, and fix the
5972 filling of the last column of a table (Bug#5635).
5973 (woman-find-next-control-line): New arg, specifying an additional
5974 regexp component for the control line.
5975 (woman2-roff-buffer): Use it.
5976 (woman-break-table): New function.
5977 (woman2-TS): Use it.
5978
59792012-04-21 Chong Yidong <cyd@gnu.org>
5980
5981 * woman.el (woman-set-buffer-display-table, woman-decode-region)
5982 (woman-horizontal-escapes, woman-negative-vertical-space)
5983 (woman-tab-to-tab-stop, woman2-fc, woman2-TS)
5984 (WoMan-warn-ignored): Use ?\s instead of ?\ .
5985
ed571ccb
SM
59862012-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
5987
5988 * minibuffer.el (completion-file-name-table): Complete user names.
5989
39773899
LL
59902012-04-20 Leo Liu <sdl.web@gmail.com>
5991
5992 * font-lock.el (lisp-font-lock-keywords-2): Add pcase, pcase-let
5993 and pcase-let*.
5994
de6ff46d
CY
59952012-04-20 Chong Yidong <cyd@gnu.org>
5996
5997 * server.el (server-execute): Respect initial-buffer-choice if it
5998 is a string and there are no files to open (Bug#2825).
5999 (server-create-window-system-frame, server-create-tty-frame):
6000 Don't switch buffers here.
2d0e8e61
CY
6001 (server-process-filter): Only try to open a window system frame if
6002 compiled with graphical support (Bug#8314).
de6ff46d 6003
54071013
DN
60042012-04-20 Dan Nicolaescu <dann@gnu.org>
6005
6006 * battery.el (battery-echo-area-format): Display remaining time
6007 for sysfs backend too (Bug#11269).
6008 (battery-linux-sysfs): Fix conditional for the charge.
6009
f30d612a
CY
60102012-04-20 Chong Yidong <cyd@gnu.org>
6011
c07a4c0b 6012 * progmodes/gdb-mi.el (gdb): Revert previous change.
f30d612a
CY
6013 (gdb-inferior-io--init-proc): New function.
6014 (gdb-init-1): Use it.
6015 (gdb-inferior-io-sentinel): New sentinel for the gdb-inferior pty,
6016 responsible for allocating a new pty and hooking it to gdb when
6017 the old pty gets an EIO due to process exit.
6018 (gdb-delchar-or-quit): New command. Bind it in gdb-mi buffers.
6019 (gdb-tooltip-print): Don't use obsolete tooltip-use-echo-area.
6020 (gdb-inferior-io--maybe-delete-pty): Move into gdb-reset.
6021
2116e93c
EZ
60222012-04-20 Eli Zaretskii <eliz@gnu.org>
6023
6024 * window.el (window-min-size, window-sizable, window-min-delta)
6025 (window-max-delta, window--resizable, window-resizable)
6026 (window-total-size, window-full-height-p, window-full-width-p)
6027 (window-in-direction, window--resize-mini-window, window-resize)
6028 (window--resize-child-windows-normal)
6029 (window--resize-child-windows, window--resize-siblings)
6030 (window--resize-this-window, adjust-window-trailing-edge)
cd0f830c 6031 (enlarge-window, shrink-window): Doc fixes.
2116e93c 6032
c07a4c0b 60332012-04-20 Chong Yidong <cyd@gnu.org>
b668fa6e 6034
ef24141c
SM
6035 * progmodes/gdb-mi.el (gdb-inferior-io--maybe-delete-pty):
6036 New function to call delete-process on the gdb-inferior buffer's pty.
b668fa6e
CY
6037 (gdb-reset): Use it, instead of relying on kill-buffer to kill the
6038 pty process (Bug#11273).
6039 (gdb-update): New arg to suppress talking to the gdb process.
6040 (gdb-done-or-error): Use it.
6041 (gdb-stopped-functions): Rename from gdb-stopped-hooks.
6042 (gdb): Call gdb-inferior-io--maybe-delete-pty as a workaround for
6043 sentinel not being called.
6044
6045 * comint.el (make-comint-in-buffer, comint-exec): Doc fix.
6046
d02766ab
CY
6047 * progmodes/grep.el (grep, rgrep): Doc fix (Bug#11268).
6048
c07a4c0b 60492012-04-20 Glenn Morris <rgm@gnu.org>
016a35df
GM
6050
6051 * net/network-stream.el (open-network-stream): Doc fix.
6052
c07a4c0b 60532012-04-20 Chong Yidong <cyd@gnu.org>
2c070447
CY
6054
6055 * emacs-lisp/tabulated-list.el (tabulated-list-print): Fix typos.
6056
c07a4c0b 60572012-04-20 Alan Mackenzie <acm@muc.de>
f0f6bc35
AM
6058
6059 Ensure searching for keywords is case sensitive.
6060
6061 * progmodes/cc-cmds.el (c-electric-brace, c-electric-lt-gt)
6062 (c-electric-paren, c-beginning-of-defun, c-end-of-defun)
6063 (c-defun-name, c-mark-function, c-cpp-define-name)
6064 (c-comment-indent, c-scan-conditionals, c-indent-defun)
c07a4c0b 6065 (c-context-line-break): Bind case-fold-search to nil.
f0f6bc35 6066
ef24141c
SM
6067 * progmodes/cc-mode.el (c-font-lock-fontify-region):
6068 Bind case-fold-search to nil.
f0f6bc35 6069
c07a4c0b 60702012-04-20 Chong Yidong <cyd@gnu.org>
4fc2c72a
CY
6071
6072 * mail/sendmail.el (mail-bury): Call return action with the right
6073 Rmail buffer (Bug#11242).
6074
9a864fa2
CY
6075 * server.el (server-process-filter): Handle corner case where both
6076 tty and nowait options are present (Bug#11102).
6077
539aa513
EZ
60782012-04-20 Eli Zaretskii <eliz@gnu.org>
6079
6080 * version.el (emacs-bzr-version, emacs-bzr-get-version): Doc fixes.
6cf2a23e
EZ
6081 (top level): Put into the executable the ident-style '$Id:' tag on
6082 windows-nt as well.
539aa513 6083
cfc7d5da
SM
60842012-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
6085
6086 * electric.el (electric-indent-post-self-insert-function): Check that
6087 electric-indent-mode is enabled in current buffer.
6088
5b01685c
JB
60892012-04-19 Juanma Barranquero <lekktu@gmail.com>
6090
6091 * imenu.el (imenu-progress-message): Restore; it is "used" in
6092 erc/erc-imenu.el and net/snmp-mode.el.
6093
4d6769e1
JB
60942012-04-19 Juanma Barranquero <lekktu@gmail.com>
6095
6096 * avoid.el (mouse-avoidance-mode): Mark unused arg.
6097 (mouse-avoidance-nudge-mouse): Remove unused binding.
6098
6099 * bs.el (bs-toggle-readonly): Call `toggle-read-only' interactively.
6100
6101 * descr-text.el (describe-char):
6102 * progmodes/python.el (python-describe-symbol):
6103 Don't call `toggle-read-only', set `buffer-read-only'.
6104
6105 * imenu.el (imenu-default-goto-function): Mark unused args.
6106 (imenu-progress-message): Remove obsolete macro; all callers changed.
6107
6108 * subr.el (keymap-canonicalize): Remove unused binding.
6109 (read-passwd): Mark unused arg.
6110
6111 * tutorial.el (tutorial--display-changes): Remove unused binding.
6112 (tutorial--save-tutorial-to): Remove unused variable.
6113
6114 * emacs-lisp/package.el (define-package, package-menu-mark-delete)
6115 (package-menu-mark-install, package-menu-mark-unmark): Mark unused args.
6116 (package-generate-autoloads, package-menu--generate)
6117 (package-menu--find-upgrades): Remove unused bindings.
6118
6119 * emulation/cua-rect.el (cua-restrict-regexp-rectangle)
6120 (cua-restrict-prefix-rectangle): Doc fixes. Remove unused bindings.
6121 (cua--mouse-ignore, cua--delete-rectangle, cua--extract-rectangle)
6122 (cua--indent-rectangle, cua-open-rectangle, cua-close-rectangle)
6123 (cua-blank-rectangle, cua-string-rectangle, cua-replace-in-rectangle)
6124 (cua-incr-rectangle, cua-sequence-rectangle, cua--convert-rectangle-as)
6125 (cua--rectangle-aux-replace, cua--left-fill-rectangle)
6126 (cua-scroll-rectangle-up, cua-scroll-rectangle-down)
6127 (cua-delete-char-rectangle): Mark unused args.
6128 (cua-align-rectangle): Remove unused binding.
6129
6130 * mail/rmail.el (compilation--message->loc)
6131 (epa--find-coding-system-for-mime-charset): Declare.
6132
6133 * net/dbus.el (dbus-register-service): Declare.
6134 (dbus-name-owner-changed-handler): Remove unused binding.
6135
6136 * nxml/nxml-mode.el (nxml-electric-slash, nxml-in-mixed-content-p)
6137 (nxml-compute-indent-from-matching-start-tag): Remove unused variables.
6138 (nxml-scan-backward-within): Mark unused arg.
6139 (nxml-dynamic-markup-word): Remove unused binding.
6140
6141 * mouse.el (mouse-menu-major-mode-map):
6142 * emacs-lisp/authors.el (authors-scan-change-log)
6143 (authors-add-to-author-list):
6144 * emacs-lisp/avl-tree.el (avl-tree--enter-balance):
6145 * emacs-lisp/smie.el (smie-auto-fill):
6146 * mail/sendmail.el (mail-bury):
6147 * mail/unrmail.el (unrmail):
6148 * net/tls.el (open-tls-stream):
6149 * textmodes/picture.el (picture-mouse-set-point):
6150 Remove unused bindings.
6151
8c8fc5df
MA
61522012-04-19 Michael Albinus <michael.albinus@gmx.de>
6153
6154 * net/tramp.el (tramp-action-password): Let-bind
6155 `enable-recursive-minibuffers' to t.
6156
a77b0ac9
SS
61572012-04-18 Sam Steingold <sds@gnu.org>
6158
6159 * progmodes/gud.el (gud-key-prefix): Use :type 'key-sequence
6160 instead of 'string to accommodate values like [f11].
6161 Always use `vconcat' instead of `concat' on it, like in `gud-def'.
6162 * progmodes/gdb-mi.el: Likewise.
6163
12a106a9
LL
61642012-04-18 Leo Liu <sdl.web@gmail.com>
6165
6166 * abbrev.el (edit-abbrevs): Move point to the abbrev table of
6167 current buffer.
6168 (prepare-abbrev-list-buffer): Enter edit-abbrevs-mode only if
6169 LOCAL is nil.
6170
bc6494ef
CY
61712012-04-18 Chong Yidong <cyd@gnu.org>
6172
6173 * simple.el (line-move): Use forward-line if in batch mode
6174 (Bug#11053).
6175
c09c46b2
CS
61762012-04-18 Christopher Schmidt <christopher@ch.ristopher.com>
6177
6178 * files.el (after-find-file): Do not try to add a final newline if
6179 the buffer is read-only (Bug#11156).
6180
5f6530ea
RS
61812012-04-17 Richard Stallman <rms@gnu.org>
6182
6183 * mail/rmail.el (rmail-start-mail):
6184 Pass (rmail-mail-return...) for the return-action.
6185 Pass (rmail-yank-current-message...) for the yank-action.
6186 (rmail-yank-current-message): New function.
6187 (rmail-mail): Pass the Rmail buffer, not view buffer, for replybuffer.
6188 (rmail-reply): Likewise.
6189 (rmail-forward): Pass the Rmail buffer, not nil, for replybuffer.
6190
6191 * mail/sendmail.el (mail-bury): Choose the first rmail-mode
c09c46b2 6192 buffer, not the last. Reject temp buffers. Use the rmail-mode
5f6530ea
RS
6193 buffer, not newbuf.
6194
197b6f3c
JB
61952012-04-17 Juanma Barranquero <lekktu@gmail.com>
6196
6197 * server.el (server-ensure-safe-dir): Simplify.
6198
2311d8e5 61992012-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
98fb480e 6200
2311d8e5
GM
6201 * emacs-lisp/smie.el: Provide smarter auto-filling.
6202 (smie-auto-fill): New function.
6203 (smie-setup): Use it.
98fb480e 6204
2311d8e5
GM
6205 * newcomment.el (comment-choose-indent): Obey comment-inline-offset.
6206
62072012-04-17 Philipp Haselwarter <philipp.haselwarter@gmx.de> (tiny change)
8eb5d48f
PH
6208
6209 * newcomment.el (comment-inline-offset): New custom var (bug#11090).
6210 (comment-indent): Use it.
6211
2311d8e5 62122012-04-17 Vincent Belaïche <vincentb1@users.sourceforge.net>
4bdf2ad2
VB
6213
6214 * ses.el: The overall change is to add cell renaming, that is
6215 setting fancy names for cell symbols other than name matching
6216 "\\`[A-Z]+[0-9]+\\'" regexp .
2311d8e5 6217 (ses-localvars): Add ses--renamed-cell-symb-list.
4bdf2ad2 6218 (ses-create-cell-variable): New defun.
2311d8e5 6219 (ses-destroy-cell-variable-range): Respect ses--numrows, ses--numcols.
4bdf2ad2
VB
6220 (ses-relocate-formula): Relocate formulas only for cells the
6221 symbols of which are not renamed, i.e. symbols whose names do not
6222 match regexp "\\`[A-Z]+[0-9]+\\'".
6223 (ses-relocate-all): Relocate values only for cells the symbols of
6224 which are not renamed.
6225 (ses-load): Create cells variables as the (ses-cell ...) are read,
6226 in order to check row col consistency with cell symbol name only
6227 for cells that are not renamed.
6228 (ses-replace-name-in-formula): New defun.
6229 (ses-rename-cell): New defun.
4bdf2ad2 6230
fc72b15c
PO
62312012-04-17 Peter Oliver <bzr@mavit.org.uk> (tiny change)
6232
6233 * progmodes/perl-mode.el (perl-indent-parens-as-block):
6234 New option (bug#11118).
6235 (perl-calculate-indent): Respect it.
6236
12e10e61
GM
62372012-04-17 Glenn Morris <rgm@gnu.org>
6238
6239 * dired-aux.el (dired-mark-read-string): Doc fix.
6240
30009afd
DA
62412012-04-17 Dmitry Antipov <dmantipov@yandex.ru>
6242
6243 * dired-aux.el (dired-mark-read-string): Offer optional completion.
6244 (dired-do-chxxx): Complete chown, chgrp over users, groups. (Bug#7900)
6245
41f03f4d
GM
62462012-04-17 Glenn Morris <rgm@gnu.org>
6247
6248 * mouse.el (mouse-drag-track):
6249 * speedbar.el (speedbar-frame-mode):
6250 Use auto-hscroll-mode rather than the alias automatic-hscrolling.
6251
f45f90f3
LL
62522012-04-16 Leo Liu <sdl.web@gmail.com>
6253
6254 * progmodes/python.el: Trivial cleanup.
6255
94ee8db5
GM
62562012-04-16 Glenn Morris <rgm@gnu.org>
6257
121b8917
GM
6258 * vc/vc.el (vc-string-prefix-p):
6259 * vc/pcvs-util.el (cvs-string-prefix-p):
6260 * textmodes/tex-mode.el (latex-string-prefix-p, tex-string-prefix-p):
6261 * mpc.el (mpc-string-prefix-p):
6262 Make all of these into obsolete aliases for string-prefix-p.
6263 Update callers.
6264 * vc/pcvs.el, vc/vc-dispatcher.el, vc/vc-dir.el: Update callers.
6265
1197ecfa
GM
6266 * textmodes/two-column.el: Move custom options to the start.
6267 (frame-width): Remove compat definition.
6268 (2C-associate-buffer, 2C-dissociate):
6269 Use with-current-buffer rather than save-excursion.
6270 (2C-dissociate): Force a mode-line update.
6271 (2C-autoscroll): Use ignore-errors.
6272
099e7202
GM
6273 * emacs-lisp/eieio-opt.el (describe-class, describe-generic):
6274 Autoload trivia.
6275
bf350d6a
GM
6276 * emacs-lisp/cl-extra.el (*random-state*):
6277 Remove unnecessary declaration.
6278
0e829eab
GM
6279 * calendar/cal-tex.el (cal-tex-end-document): Trivial clarification.
6280
e3ad7552
GM
6281 * play/cookie1.el (cookie-snarf):
6282 Give an explicit error if input file cannot be read.
6283
68892d27
GM
6284 * play/yow.el (yow-file): Use expand-file-name rather than concat.
6285
20f0c46d
GM
6286 * progmodes/perl-mode.el (c-macro-expand):
6287 Remove unnecessary autoload (it is in loaddefs.el).
6288
5a0978ce
GM
6289 * textmodes/picture.el (picture-desired-column)
6290 (picture-update-desired-column): Convert comments to doc-strings.
6291 (picture-substitute): Remove function.
6292 (picture-mode-map): Initialize in the defvar.
6293
6b955486
GM
6294 * woman.el: Remove eval-after-load for tar-mode.
6295 * tar-mode.el (tar-mode-map): Add woman binding and menu entry.
6296 (woman-tar-extract-file): Autoload it.
6297
94ee8db5
GM
6298 * frame.el (automatic-hscrolling): Make this alias obsolete.
6299
177eca34
AM
63002012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
6301
090bd7cb 6302 * textmodes/ispell.el (ispell-set-spellchecker-params): Post-process
4be3075e 6303 `ispell-dictionary-alist' to use [:alpha:] and utf-8 if possible.
3851314b
AM
6304 (ispell-dictionary-base-alist): Revert to original XEmacs
6305 friendly version for default. [:alpha:] will be added in
090bd7cb 6306 `ispell-set-spellchecker-params' if needed.
177eca34 6307
c505aaeb
CY
63082012-04-16 Chong Yidong <cyd@gnu.org>
6309
b19dd9d1 6310 * image.el (imagemagick--file-regexp): New variable.
c505aaeb
CY
6311 (imagemagick-register-types): Use it.
6312 (imagemagick-types-inhibit): Add :set function. Allow new value
6313 of t to inhibit all types.
6314
6315 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Avoid cl macros,
6316 so we can preload it.
6317
6318 * loadup.el (fboundp): Preload regexp-opt, needed by
6319 imagemagick-register-types.
6320
60efac0f
CY
63212012-04-15 Chong Yidong <cyd@gnu.org>
6322
6323 * frame.el (scrolling): Remove nearly unused customization group.
6324
6325 * scroll-all.el (scroll-all-mode): Move to windows group.
6326
5dd1713e
CY
63272012-04-15 Chong Yidong <cyd@gnu.org>
6328
6329 * bindings.el (goto-map): Bind goto-char to M-g c (Bug#11240).
6330
e6fd457e
CY
63312012-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
6332
6333 Avoid the use of ((lambda ...) ...) in lexical-binding code.
4d6769e1 6334 * emacs-lisp/easy-mmode.el (define-minor-mode): Use funcall (bug#11241).
e6fd457e 6335
e153c136
GM
63362012-04-15 Glenn Morris <rgm@gnu.org>
6337
6338 * simple.el (process-file-side-effects): Doc fix.
6339
e6fd457e 63402012-04-15 Glenn Morris <rgm@gnu.org>
ca7d96c8
GM
6341
6342 * international/mule-cmds.el (set-language-environment): Doc fix.
6343
3603c3b1
JB
63442012-04-14 Juanma Barranquero <lekktu@gmail.com>
6345
6346 * server.el (server-auth-key, server-generate-key): Doc fixes.
6347 (server-get-auth-key): Doc fix. Use `string-match-p'.
6348 (server-start): Reflow docstring.
6349
e6de100c
LI
63502012-04-14 Lars Ingebrigtsen <larsi@gnus.org>
6351
6352 * server.el (server-generate-key): `called-interactively-p'
6353 requires a parameter.
6354
29734c21
MN
63552012-04-14 Michal Nazarewicz <mina86@mina86.com>
6356
6357 * server.el (server-auth-key): New variable.
75f1671a 6358 (server-generate-key, server-get-auth-key): New function.
29734c21
MN
6359 (server-start): Use the new variable and functions to allow
6360 setting a permanent server key (bug#9423).
6361
d65c9521
LL
63622012-04-14 Leo Liu <sdl.web@gmail.com>
6363
6364 * vc/diff-mode.el (diff-file-prev/next): Fix typo.
6365
5ae255c7
PE
63662012-04-14 Paul Eggert <eggert@cs.ucla.edu>
6367
6368 Spelling fixes.
6369 * hexl.el (hexl-rulerize): Rename from hexl-rulerise, since
6370 Emacs uses American spelling.
6371
d5e6342e
JB
63722012-04-14 Juanma Barranquero <lekktu@gmail.com>
6373
6374 * emacs-lock.el (emacs-lock-locked-buffer-functions): New hook.
6375 (emacs-lock--exit-locked-buffer): Return the locked buffer. Doc fix.
6376 (emacs-lock--kill-emacs-hook, emacs-lock--kill-emacs-query-functions)
6377 (emacs-lock--kill-buffer-query-functions): Run new hook. (Bug#11017)
6378
ab036cd7
SM
63792012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
6380
6381 * progmodes/which-func.el (which-func-modes): Change default.
6382
35dc09a1 63832012-04-14 Kim F. Storm <storm@cua.dk>
9557e2be
CY
6384
6385 * emulation/cua-base.el (cua-exchange-point-and-mark): Just call
6386 exchange-point-and-mark if cua-enable-cua-keys is nil (Bug#11191).
6387
35dc09a1 63882012-04-14 Chong Yidong <cyd@gnu.org>
81927dd2
CY
6389
6390 * custom.el (custom-theme-set-variables): Doc fix.
6391
35dc09a1 63922012-04-14 Glenn Morris <rgm@gnu.org>
8edb942b
GM
6393
6394 * international/mule.el (set-auto-coding-for-load): Doc fix.
6395
35dc09a1 63962012-04-14 Alan Mackenzie <acm@muc.de>
0de3da9f 6397
35dc09a1
GM
6398 * progmodes/cc-menus.el (cc-imenu-objc-generic-expression): Make
6399 imenu work again for Objective C Mode. Correct the *-index values,
6400 these having been disturbed by a previous change in 2011-08.
57f845ee 6401
0de3da9f
AM
6402 * progmodes/cc-engine.el (c-before-change-check-<>-operators):
6403 Correct two search limits.
6404
35dc09a1 64052012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
ede141ac
SM
6406
6407 * startup.el (command-line-1): Inhibit splash from daemon (bug#10996).
6408
35dc09a1 64092012-04-14 Andreas Schwab <schwab@linux-m68k.org>
d0203d61
AS
6410
6411 * international/characters.el: Fix sorting.
6412
35dc09a1 64132012-04-14 Eli Zaretskii <eliz@gnu.org>
cb80bcd1
EZ
6414
6415 * international/characters.el: Add more missing Latin case pairs.
6416
35dc09a1 64172012-04-14 Glenn Morris <rgm@gnu.org>
4a427f58
GM
6418
6419 * files.el (dir-locals-set-class-variables): Doc fix.
6420
35dc09a1 64212012-04-14 Eli Zaretskii <eliz@gnu.org>
9f847f41 6422
3f1b5bf8
EZ
6423 * international/characters.el: Add set-case-syntax-pair call for
6424 LATIN CAPITAL LETTER Y WITH DIAERESIS RET and its lower-case
6425 counterpart. (Bug#11209)
6426
9f847f41
EZ
6427 * simple.el (shell-command-on-region): Doc fix. (Bug#11208)
6428
35dc09a1 64292012-04-14 Glenn Morris <rgm@gnu.org>
0c2014a3
GM
6430
6431 * calendar/holidays.el (calendar-check-holidays): Doc fix.
6432
35dc09a1 64332012-04-14 Eli Zaretskii <eliz@gnu.org>
e2627d21 6434
35dc09a1
GM
6435 * textmodes/ispell.el (ispell-dictionary-base-alist):
6436 Add data for Hebrew.
e2627d21 6437
35dc09a1 64382012-04-14 Chong Yidong <cyd@gnu.org>
5c14e333 6439
35dc09a1
GM
6440 * net/rcirc.el (rcirc-cmd-quit):
6441 Revert 2012-03-18 change (Bug#11192).
5c14e333 6442
35dc09a1 64432012-04-14 Glenn Morris <rgm@gnu.org>
bf6fa423
GM
6444
6445 * pcmpl-rpm.el (pcomplete/rpm): Handle -qf.
6446
35dc09a1 64472012-04-14 Eli Zaretskii <eliz@gnu.org>
82b24fb2 6448
4517fe3a
SM
6449 * minibuffer.el (completion-in-region-mode-map):
6450 Bind completion-help-at-point to M-? rather than ?. (Bug#11182)
82b24fb2 6451
b472a594
VD
64522012-04-13 Vivek Dasmohapatra <vivek@etla.org>
6453
6454 * hexl.el (hexl-insert-char): Make display sizes other than 16 work.
6455
09b95ce3
MY
64562012-04-13 Masatake YAMATO <yamato@redhat.com>
6457
6458 * minibuffer.el (minibuffer-local-filename-syntax): New variable
6459 to allow `C-M-f' and `C-M-b' to move to the nearest path
6460 separator (bug#9511).
6461
4b63a9ca
LI
64622012-04-13 Lars Ingebrigtsen <larsi@gnus.org>
6463
6464 * avoid.el: Require cl when compiling. And also move the
6465 `provide' to the end.
6466
7b55b8bf
TV
64672012-04-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
6468
6469 * avoid.el (mouse-avoidance-banish-position): New variable.
6470 (mouse-avoidance-banish-destination): Use it (bug#10165).
6471
adedaa1f
LL
64722012-04-13 Leo Liu <sdl.web@gmail.com>
6473
6474 * progmodes/which-func.el (which-func-modes): Add objc-mode.
6475
70e74021
KB
64762012-04-13 Ken Brown <kbrown@cornell.edu>
6477
6478 * net/browse-url.el (browse-url-file-url): Remove Cygwin hack;
ab036cd7 6479 this is no longer needed now that cygstart understands file:// URLs.
70e74021
KB
6480 (browse-url-filename-alist): For the same reason, don't modify
6481 file:// URLs on Cygwin.
6482
e75e89ba
SM
64832012-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
6484
6485 * emulation/cua-base.el (cua--pre-command-handler-1): Don't activate
6486 the region on shift if the binding is already shifted (bug#11221).
6487
82f289a4
GM
64882012-04-12 Glenn Morris <rgm@gnu.org>
6489
6490 * mail/mailpost.el: Move to obsolete/.
6491
d333dc4c
DA
64922012-04-12 Drew Adams <drew.adams@oracle.com>
6493
6494 * imenu.el (imenu--generic-function): Ignore invisible definitions
6495 (bug#10123).
6496
0d15b5ba
VD
64972012-04-12 Vivek Dasmohapatra <vivek@etla.org>
6498
6499 * hexl.el (hexl-bits): New variable.
6500 (hexl-options): Mention the variable in the doc string.
75f1671a 6501 (hexl-rulerise, hexl-line-displen): New functions.
0d15b5ba 6502 (hexl-mode): Mention the new variable.
75f1671a
JB
6503 (hexl-mode, hexl-current-address, hexl-current-address):
6504 Use the displen.
0d15b5ba
VD
6505 (hexl-ascii-start-column): New function.
6506 (hexl-address-to-marker, hexl-beginning-of-line, hexl-options)
6507 (hexl-insert-char, hexl-mode-ruler): Use the displen (bug#4941).
6508
64a440db
AM
65092012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
6510
6511 * textmodes/flyspell.el (flyspell-large-region): For hunspell, use
6512 '("-i" ENCODING), in 2 separate command-line arguments, to specify
6513 the encoding, as expected by hunspell.
6514
6decb6c2
SM
65152012-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
6516
6517 * battery.el (battery--linux-sysfs-regexp): New const.
6518 (battery-status-function): Use it. Remove yeeloong special case.
6519 (battery-yeeloong-sysfs): Remove.
6520 (battery-echo-area-format): Remove yeeloong special case.
6521
088be6fb
SM
65222012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
6523
6622e416
SM
6524 * imenu.el (imenu-add-to-menubar): `current-local-map' can be nil.
6525 Reported by Noah Friedman.
6526
088be6fb
SM
6527 * subr.el (read-passwd): Use read-string.
6528
b49f886e
LMI
65292012-04-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
6530
6531 * vcursor.el (vcursor-move): Increase the priority of the overlay
6532 (bug#9663).
6533
a63067fc
DD
65342012-04-11 Deniz Dogan <deniz.a.m.dogan@gmail.com>
6535
6536 * net/rcirc.el (rcirc-kill-channel-buffers): New variable.
6537 (rcirc-kill-buffer-hook): Use it to kill channel buffers (bug#5128).
6538
ac3cf14a
WS
65392012-04-11 William Stevenson <yhvh2000@gmail.com>
6540
6541 * textmodes/artist.el (artist-mode): Convert artist-mode to use
6542 define-minor-mode (bug#10760).
6543
c4fc691b 65442012-04-11 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
49a2697c 6545
4d6769e1 6546 * progmodes/grep.el (rgrep): Tweak the find command line so
49a2697c
WJ
6547 that directories matching `grep-find-ignored-files' won't be
6548 pruned (bug#10351).
6549
af23e2e5
CY
65502012-04-11 Chong Yidong <cyd@gnu.org>
6551
6552 * startup.el (command-line): Remove support for long-obsolete
6553 variable font-lock-face-attributes.
6554
ab7ce8c1
GM
65552012-04-11 Glenn Morris <rgm@gnu.org>
6556
6557 * vc/vc-bzr.el (vc-bzr-status): Avoid condition-case-unless-debug.
6558
de8c03dc
SM
65592012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
6560
6561 * window.el (window--state-get-1): Obey window-point-insertion-type.
6562
050cc68b
LB
65632012-04-11 Lennart Borgman <lennart.borgman@gmail.com>
6564
6565 * emacs-lisp/lisp.el (narrow-to-defun): `beginning-of-defun' goes
6566 to previous function when point is on the first character of a
75f1671a 6567 function. Take care of that in `narrow-to-defun' (bug#6157).
050cc68b 6568
a38c310c
GM
65692012-04-11 Glenn Morris <rgm@gnu.org>
6570
effed0c2
GM
6571 * vc/vc-bzr.el (vc-bzr-status): Handle all errors,
6572 not just file-errors.
6573
a38c310c
GM
6574 * vc/vc-bzr.el (vc-bzr-sha1-program, sha1-program): Remove.
6575 (vc-bzr-sha1): Use internal sha1.
6576
0221e323
SM
65772012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
6578
6579 * progmodes/flymake.el (flymake-mode): Beware read-only dirs (bug#8954).
6580
43956923
SG
65812012-04-10 Sébastien Gross <seb@chezwam.org> (tiny change)
6582
6583 * progmodes/hideshow.el (hs-hide-all): Don't infloop on comments
6584 that start in the middle of the line (bug#10496).
6585
6a8c9eaf
DN
65862012-04-10 Dan Nicolaescu <dann@gnu.org>
6587
6588 * battery.el (battery-linux-proc-acpi): Only one battery is
6589 discharged at a time, but that seems to confuse battery.el when
6590 computing `rate-type' for the battery not being discharged
6591 (bug#10332).
6592
1930bf5d
SM
65932012-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
6594
2a718f6f
SM
6595 * emacs-lisp/autoload.el (autoload-make-program): Remove, unused.
6596
599430d0
SM
6597 * international/quail.el: Use dolist and simplify.
6598 (quail-define-package, quail-update-keyboard-layout)
6599 (quail-define-rules): Use dolist.
6600 (quail-insert-kbd-layout, quail-get-translation): CSE.
6601
a2754b6c
SM
6602 * tmm.el: Use dolist, remove left over hook.
6603 (tmm-prompt, tmm-define-keys, tmm-shortcut, tmm-get-keybind):
6604 Use dolist.
6605 (calendar-load-hook): Don't mess with it.
6606
1930bf5d
SM
6607 * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
6608 Use derived-mode-p. Run the diff asynchronously.
6609
9f67961c
LMI
66102012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
6611
6612 * obsolete/mouse-sel.el: Add an Obsolete-since header.
6613
2a8ce227
JB
66142012-04-10 Juanma Barranquero <lekktu@gmail.com>
6615
6616 * misc.el: Display absolute path of loaded DLLs (bug#10424).
6617 (list-dynamic-libraries--loaded): New function.
6618 (list-dynamic-libraries--refresh): Use it.
6619
8f33b5f8
NW
66202012-04-10 Nathan Weizenbaum <nweiz@google.com>
6621
1930bf5d
SM
6622 * progmodes/python.el (python-fill-paragraph):
6623 Make python-fill-region in a multiline string work when font-lock is
8f33b5f8
NW
6624 disabled (bug#7018).
6625
b12f0439
L
66262012-04-10 Laimonas VÄ—bra <laimonas.vebra@gmail.com> (tiny change)
6627
1930bf5d 6628 * language/european.el (cp775): Add oem/legacy (en)coding on
75f1671a
JB
6629 DOS/MS Windows for the Baltic languages. There are still plenty
6630 of texts written in this encoding/codepage (bug#6519).
b12f0439 6631
57c3bd01
GM
66322012-04-10 Glenn Morris <rgm@gnu.org>
6633
6634 * cus-start.el (eol-mnemonic-unix, eol-mnemonic-dos, eol-mnemonic-mac):
6635 Add :standard values, reducing "rogue" customs in emacs -Q a bit more.
6636
6c3eab30
FA
66372012-04-10 Florian Adamsky <florian@adamsky.it> (tiny change)
6638
1930bf5d 6639 * recentf.el (recentf-dialog-mode-map): Add two keybindings for
6c3eab30
FA
6640 next-line "n" and previous-line "p" in order to make recentf more
6641 consistent with ibuffer, dired or org-mode (bug#9387).
6642
24d78a88
LMI
66432012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
6644
bc72b5d9
LMI
6645 * image.el (put-image): Return the overlay created instead of the
6646 optional input string (bug#7834). Note that this may break code
6647 that is (for some reason or other) depending on `put-image'
6648 returning the string.
6649
bd2dba5a
LMI
6650 * mouse-sel.el (mouse-sel-mode): Mark as obsolete (bug#6174).
6651
74beb59f
LMI
6652 * simple.el (zap-to-char): Allow zapping using input methods
6653 (bug#1580).
6654
24d78a88
LMI
6655 * textmodes/fill.el (fill-region): Leave point and mark where they
6656 were before filling (bug#5399).
6657
263f20cd
GM
66582012-04-09 Glenn Morris <rgm@gnu.org>
6659
6660 * version.el (emacs-bzr-get-version):
6661 Handle lightweight checkouts of local branches.
6662
58d1f797
AS
66632012-04-09 Andreas Schwab <schwab@linux-m68k.org>
6664
263f20cd 6665 * international/characters.el: Recover lost case pairs. (Bug#11209)
58d1f797 6666
b4d3bc10
CY
66672012-04-09 Chong Yidong <cyd@gnu.org>
6668
6669 * custom.el (custom-variable-p): Return nil for non-symbol
6670 arguments instead of signaling an error.
6671 (user-variable-p): Obsolete alias for custom-variable-p.
6672
6673 * apropos.el (apropos-variable):
6674 * files-x.el (read-file-local-variable):
6675 * simple.el (set-variable):
6676 * woman.el (woman-mini-help):
6677 * emacs-lisp/byte-opt.el (side-effect-free-fns): Callers changed.
6678
fd06db5d
GM
66792012-04-09 Glenn Morris <rgm@gnu.org>
6680
e5fcdb5e
GM
6681 * startup.el (normal-top-level): Don't look for leim-list.el
6682 in places where it will not be found. (Bug#910)
6683
fd06db5d
GM
6684 * international/mule-cmds.el (set-default-coding-systems):
6685 * files.el (normal-mode):
6686 Remove guarded calls to ucs-set-table-for-input. (Bug#9821)
6687 This function was removed with ucs-tables.el in 2008.
6688
b39bb7e1
EZ
66892012-04-08 Eli Zaretskii <eliz@gnu.org>
6690
6691 * textmodes/ispell.el (ispell-check-version): For hunspell, set
6692 ispell-encoding8-command to "-i", without a trailing space.
6693 (ispell-start-process): For hunspell, use '("-i" ENCODING), in 2
6694 separate command-line arguments, to specify the encoding, since
6695 that's how hunspell expects it.
6696
5c5b8e23
GM
66972012-04-08 Glenn Morris <rgm@gnu.org>
6698
6699 * loadup.el: Load bindings before cus-start.
6700 This reduces somewhat the number of "rogue" settings in emacs -Q.
6701
a1ed8b05
GM
67022012-04-07 Glenn Morris <rgm@gnu.org>
6703
6704 * version.el (emacs-bzr-get-version): New function.
dfae128a 6705 (emacs-bzr-version): New variable.
a1ed8b05
GM
6706 * loadup.el (emacs-bzr-version): Set it. (Bug#8054)
6707 * mail/emacsbug.el (report-emacs-bug): Include bzr version.
6708
b142f158
EZ
67092012-04-07 Eli Zaretskii <eliz@gnu.org>
6710
dfae128a
GM
6711 * international/uni-bidi.el, international/uni-category.el:
6712 * international/uni-combining.el, international/uni-decimal.el:
6713 * international/uni-decomposition.el, international/uni-digit.el:
6714 * international/uni-lowercase.el, international/uni-mirrored.el:
6715 * international/uni-name.el, international/uni-numeric.el:
6716 * international/uni-titlecase.el, international/uni-uppercase.el:
6717 Update for Unicode 6.1.
b142f158 6718
9078ead6
EZ
67192012-04-07 Eli Zaretskii <eliz@gnu.org>
6720
6721 * term/w32-win.el (dynamic-library-alist): Add libxml2 DLLs.
6722
f23d2c7d
LMI
67232012-04-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
6724
6725 * window.el (shrink-window): Mention the `window-min-height'
6726 variable in the doc string.
6727
0a0a3573
BG
67282012-04-05 Bastien Guerry <bzg@altern.org>
6729
6730 * color.el (color-lighten-name): Fix typo.
6731
e5248ac9
SM
67322012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
6733
6734 * server.el (server--on-display-p): New function.
6735 (server--on-display-p): Use it.
6736
b4243e22
GV
67372012-04-04 Gabor Vida <vidagabor@gmail.com> (tiny change)
6738
6739 * ido.el (ido-wide-find-dirs-or-files): Use file-name-absolute-p
6740 (bug#11145).
6741
305d9f44
SM
67422012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
6743
6744 * comint.el (comint--common-quoted-suffix): Check string boundary
6745 before comparing (bug#11158).
6746 * pcomplete.el (pcomplete--common-quoted-suffix): Idem.
6747
3d439cd1
CY
67482012-04-04 Chong Yidong <cyd@gnu.org>
6749
321cc491
CY
6750 * minibuffer.el (completion-extra-properties): Doc fix.
6751
3d439cd1
CY
6752 * subr.el (delayed-warnings-hook): Doc fix.
6753
2d562c0f
DU
67542012-04-04 Daiki Ueno <ueno@unixuser.org>
6755
6756 * epa.el (epa--select-keys): Bind C-c C-c to finish the key
6757 selection (Bug#11159).
6758 (epa-insert-keys): Inform that the default public key will be
6759 exported if no key is selected.
6760
4443f204
RS
67612012-04-04 Richard Stallman <rms@gnu.org>
6762
6763 * mail/emacsbug.el (report-emacs-bug): Bind inhibit-read-only.
6764
529c06b6
CY
67652012-04-03 Chong Yidong <cyd@gnu.org>
6766
6767 * mail/sendmail.el (mail-mode-map): Bind C-c C-i to
6768 mail-insert-file, not its obsolete alias mail-attach-file.
6769
66b907dc
MA
67702012-04-03 Michael Albinus <michael.albinus@gmx.de>
6771
6772 * notifications.el (notifications-notify): Fix docstring.
6773
c0ea195d
GM
67742012-04-02 Glenn Morris <rgm@gnu.org>
6775
6776 * emacs-lisp/authors.el (authors-aliases): Another addition.
6777
5ca64e00
MA
67782012-04-02 Michael Albinus <michael.albinus@gmx.de>
6779
6780 * net/tramp-gvfs.el (tramp-gvfs-send-command): Apply
6781 `tramp-compat-call-process' instead of `tramp-local-call-process'.
6782 Reported by Magnus Henoch <magnus.henoch@gmail.com>.
6783
42ee526b
CY
67842012-04-01 Chong Yidong <cyd@gnu.org>
6785
6786 * files.el (file-in-directory-p): Rename from file-subdir-of-p.
6787 Handle root directory properly.
6788 (copy-directory): Caller changed.
6789
6790 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
6791 * net/tramp.el (tramp-file-name-for-operation): Callers changed.
6792
0b021094
GM
67932012-03-31 Glenn Morris <rgm@gnu.org>
6794
40f86458
GM
6795 * term/xterm.el (xterm-extra-capabilities): Doc fix.
6796
7019c177
GM
6797 * language/indian.el ("Devanagari"): Fix typo. (Bug#11103)
6798
a1daddd6
GM
6799 * calendar/calendar.el (calendar-window-list)
6800 (calendar-hide-window): Restore. (Bug#11140)
6801 (calendar-exit): Use calendar-window-list, calendar-hide-window again.
6802
0b021094
GM
6803 * emacs-lisp/edebug.el (edebug-unwrap-results): Doc fix.
6804
40311efc
TV
68052012-03-30 Thierry Volpiatto <thierry.volpiatto@gmail.com>
6806
6807 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
6808 Check if file is a symlink (Bug#10489).
6809
6810 * files.el (copy-directory): Likewise.
6811
5319014e
CY
68122012-03-30 Chong Yidong <cyd@gnu.org>
6813
6814 * image.el (imagemagick-types-inhibit)
6815 (imagemagick-register-types): Doc fix.
6816
935d1290
AM
68172012-03-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
6818
090bd7cb 6819 * textmodes/ispell.el (ispell-get-extended-character-mode):
ef24141c 6820 Disable extended-char-mode for hunspell. hunspell does not support it
75f1671a 6821 and treats ~word as ordinary words in pipe mode.
935d1290 6822
61c6e8fd
GM
68232012-03-30 Glenn Morris <rgm@gnu.org>
6824
6825 * tutorial.el (help-with-tutorial): Ensure local variables don't
6826 happen to make the buffer read-only. (Bug#11127)
6827
81fdff00
SM
68282012-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
6829
6830 * progmodes/perl-mode.el (perl-indent-line): Use `noindent' in strings.
6831 (perl-calculate-indent): Return `noindent' in strings.
6832
6e7a6ec0
SS
68332012-03-28 Sam Steingold <sds@gnu.org>
6834
6835 * calendar/calendar.el (calendar-exit): Use `quit-windows-on'
6836 instead of the broken adhockery which does not prevent calendar
6837 buffers from being displayed at random after exit.
6838 (calendar-window-list, calendar-hide-window): Remove the broken
6839 adhockery.
6840
fee88ca0
GM
68412012-03-28 Glenn Morris <rgm@gnu.org>
6842
6843 * replace.el (query-replace-map): Doc fix.
6844
38de3354
AS
68452012-03-28 Andreas Schwab <schwab@linux-m68k.org>
6846
6847 * vc/vc-git.el (vc-git-state): Don't try to match all of the diff
6848 contents. (Bug#11109)
6849
b973155e
SM
68502012-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
6851
6852 * emacs-lisp/avl-tree.el (avl-tree--enter-balance): Fix paren typo
6853 (bug#11077).
6854 (avl-tree--check, avl-tree--check-node): New funs.
6855
dcb6e7b3
MR
68562012-03-27 Martin Rudalics <rudalics@gmx.at>
6857
6858 * window.el (switch-to-visible-buffer): New option.
b973155e
SM
6859 (switch-to-prev-buffer, switch-to-next-buffer):
6860 Observe switch-to-visible-buffer. Make sure that checking for a window
dcb6e7b3
MR
6861 showing a buffer already is done on the same frame.
6862
b4fa35fa
GM
68632012-03-27 Glenn Morris <rgm@gnu.org>
6864
6865 * startup.el (mail-host-address): Doc fix.
6866
f9210e18
SM
68672012-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
6868
6869 * emacs-lisp/bytecomp.el (byte-compile-constants-vector): Allow more
6870 than 197 variables.
6871
c0bf7753
AF
68722012-03-26 Ami Fischman <ami@fischman.org>
6873
6874 * vc/vc-git.el (vc-git-state): Avoid unnecessarily locking.
6875
33da7b16
GM
68762012-03-26 Glenn Morris <rgm@gnu.org>
6877
02243d9d
GM
6878 * files.el (save-buffers-kill-emacs): Doc fix.
6879
33da7b16
GM
6880 * startup.el (normal-top-level, command-line, command-line-1):
6881 Give them doc strings.
6882
e5a69fd0
EZ
68832012-03-25 Eli Zaretskii <eliz@gnu.org>
6884
6885 * makefile.w32-in (install): Use $(DIRNAME)_same-dir.tst instead
b973155e 6886 of same-dir.tst, to avoid stepping on other (parallel) Make job's toes.
e5a69fd0 6887
9a69676a
CY
68882012-03-25 Chong Yidong <cyd@gnu.org>
6889
4125cb8b
CY
6890 * custom.el (load-theme): Even if NO-ENABLE arg is t, reenable the
6891 theme if it was previously enabled before (Bug#11031).
6892
dd470960
CY
6893 * cus-theme.el (custom-theme-write-faces): Retrieve current face
6894 spec with custom-face-get-current-spec if its :shown-value is not
6895 determined yet (Bug#9337).
4125cb8b 6896 (customize-create-theme, custom-theme-revert): Doc fixes.
dd470960 6897
9a69676a
CY
6898 * button.el (button-at): Minor addition to docstring.
6899
6e7e90fa
SL
69002012-03-24 Simon Leinen <simon.leinen@gmail.com>
6901
6902 * vc/vc.el (vc-merge): Fix a prompt.
6903
f06e2758
CY
69042012-03-24 Chong Yidong <cyd@gnu.org>
6905
6906 * mwheel.el (mwheel-scroll): Call deactivate-mark at the right
6907 point (Bug#9623).
6908
6e7e90fa
SL
6909 * button.el (button-at): Minor addition to docstring.
6910
b9d0879b
SM
69112012-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
6912
6913 * newcomment.el (comment-choose-indent): No space after BOL.
6914
e71cebb3
SS
69152012-03-22 Sam Steingold <sds@gnu.org>
6916
6917 * window.el (switch-to-prev-buffer): Revert last patch because the
6918 bug turned out to be an advertised feature (Elisp manual 28.14).
6919
335aff35
GM
69202012-03-22 Glenn Morris <rgm@gnu.org>
6921
6922 * vc/vc-bzr.el (vc-bzr-status-switches): New option. (Bug#6724)
6923 (vc-bzr-command): If running "status", pass vc-bzr-status-switches.
6924
c676576a
LMI
69252012-03-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
6926
6927 * net/network-stream.el (network-stream-open-starttls): Make error
6928 message under Windows be less misleading.
6929
126f3d39
LW
69302012-03-22 Liang Wang <netcasper@gmail.com> (tiny change)
6931
6932 * progmodes/etags.el (etags-list-tags): Only use tags which goto-func
6933 understands (bug#9942).
6934
64fee311
CY
69352012-03-22 Chong Yidong <cyd@gnu.org>
6936
6937 * simple.el (end-of-visible-line): Handle return value of
6938 next-single-property-change properly (Bug#9371).
6939
a640d29a
KH
69402012-03-22 Kenichi Handa <handa@m17n.org>
6941
6942 * international/quail.el (quail-insert-kbd-layout): Fix previous
6943 change. To avoid unwanted bidi reordering, use
6944 bidi-string-mark-left-to-right instead of inserting LRO and PDF.
6945
39675016
DG
69462012-03-21 Dmitry Gutov <dgutov@yandex.ru>
6947
6948 * progmodes/ruby-mode.el: Don't confuse "end:" for "end" (bug#10786).
6949 (ruby-block-end-re, ruby-delimiter, ruby-parse-partial)
6950 (ruby-beginning-of-indent): Be more careful with the difference
6951 between word-boundary and symbol boundary.
6952 (ruby-mode-syntax-table): Make : a symbol constituent.
6953
0a6934fc 69542012-03-21 Andreas Politz <politza@fh-trier.de>
1acad97c 6955
3d008e4f
SM
6956 * outline.el (outline-flag-region): Evaporate overlays (bug#10789).
6957
0a6934fc
SM
69582012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
6959
af67c9d7
SM
6960 * progmodes/etags.el (tags-completion-at-point-function):
6961 Improve last fix.
6962
1acad97c
SM
6963 * files.el (move-file-to-trash): Files aren't regexps (bug#11055).
6964
e298b5da
SS
69652012-03-21 Sam Steingold <sds@gnu.org>
6966
6967 * progmodes/etags.el (tags-completion-at-point-function):
6968 Avoid the error when point is inside the pattern.
6969
91d82a70
JY
69702012-03-21 John Yates <john@yates-sheets.org> (tiny change)
6971
6972 * progmodes/hideshow.el (hs-inside-comment-p): Fix hiding of first
6973 line (Bug#10855).
6974
69188b79
CY
69752012-03-21 Drew Adams <drew.adams@oracle.com>
6976
6977 * info.el (Info-menu): Handle string value of FORK arg (Bug#10858).
6978
99fc91fe
AK
69792012-03-21 Anmol Khirbat <anmol@khirbat.net> (tiny change)
6980
6981 * ido.el (ido-set-current-directory, ido-read-internal)
6982 (ido-choose-completion-string, ido-completion-help): Handle nil
6983 value of ido-completion-buffer (Bug#11008).
6984
087bbb4c
SS
69852012-03-21 Sam Steingold <sds@gnu.org>
6986
6987 * window.el (switch-to-prev-buffer): Do not switch to a visible
6988 window previous buffer, just like with the frame previous buffers.
6989
fb5b8aca
CY
69902012-03-21 Chong Yidong <cyd@gnu.org>
6991
6992 * faces.el (make-face, make-empty-face, copy-face):
6993 * face-remap.el (face-remap-add-relative, face-remap-set-base):
6994 Doc fixes.
6995
dc9924b8
SM
69962012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
6997
6998 * wid-edit.el (widget-complete-field): Remove (bug#11051).
6999 (widget-complete): Remove broken use of it.
7000
f0bcceb9
CY
70012012-03-20 Chong Yidong <cyd@gnu.org>
7002
dc9924b8
SM
7003 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
7004 Use string-width and truncate-string-width to handle arbitrary
f0bcceb9
CY
7005 characters.
7006
ee52ebf3
TH
70072012-03-20 Tassilo Horn <tassilo@member.fsf.org>
7008
7009 * textmodes/artist.el (artist-menu-map): Bind Rectangle menu item
7010 to draw rectangles, not squares. (Regression introduced by revno
7011 2011-03-02T03:48:01Z!cyd@stupidchicken.com)
7012
4c5779ab
CY
70132012-03-18 Chong Yidong <cyd@gnu.org>
7014
7015 * faces.el (face-spec-reset-face): Don't call display-graphic-p if
7016 it is not yet defined (for temacs).
7017
15360934
LL
70182012-03-18 Leo Liu <sdl.web@gmail.com>
7019
dc9924b8 7020 * net/rcirc.el (rcirc-cmd-quit): Allow quiting all servers with prefix.
15360934 7021
d9a8eb66
EZ
70222012-03-17 Eli Zaretskii <eliz@gnu.org>
7023
7024 * textmodes/ispell.el (ispell-skip-tib, ispell-keep-choices-win)
7025 (ispell-choices-win-default-height, ispell-silently-savep)
7026 (ispell-dictionary-alist, ispell-encoding8-command)
7027 (ispell-check-version, ispell-aspell-find-dictionary)
7028 (ispell-valid-dictionary-list, ispell-words-keyword)
7029 (ispell-get-word, ispell-internal-change-dictionary)
7030 (ispell-region, ispell-skip-region-list)
7031 (ispell-begin-skip-region-regexp, ispell-ignore-fcc)
7032 (ispell-process-line, ispell-minor-mode, ispell-minor-check)
7033 (ispell-message-text-end, ispell-message)
7034 (ispell-buffer-local-parsing): Doc fix.
7035
f02ff80d
J
70362012-03-13 Jambunathan K <kjambunathan@gmail.com>
7037
7038 * htmlfontify.el: Add support for code block fontification for ODT
7039 export (Bug #9914).
7040 (hfy-optimisations): Define new option
7041 `body-text-only'
7042 (hfy-fontify-buffer): Honor above setting.
7043 (hfy-begin-span, hfy-end-span): New routines factored out form
7044 `hfy-fontify-buffer'.
7045 (hfy-begin-span-handler, hfy-end-span-handler): New variables
7046 that permit insertion of custom tags.
7047 (hfy-fontify-buffer): Use above handlers.
7048 (hfy-face-to-css-default): Same as the earlier `hfy-face-to-css'.
7049 (hfy-face-to-css): Re-defined to be a variable.
dc9924b8 7050 (hfy-compile-stylesheet): Modify. Allow stylesheet to be built
75f1671a 7051 over multiple runs. This is made possible by having the caller let
f02ff80d
J
7052 bind a special variable `hfy-user-sheet-assoc'.
7053 (htmlfontify-string): New defun.
7054 (hfy-compile-face-map): Make sure that the last char in the
7055 buffer is correctly fontified.
7056 (hfy-face-resolve-face): Whitespace only change.
7057
9ac7a13f
EZ
70582012-03-17 Eli Zaretskii <eliz@gnu.org>
7059
7060 * textmodes/ispell.el (ispell-get-decoded-string): Make the error
7061 message more clear.
7062
e2b5bdd7
LL
70632012-03-16 Leo Liu <sdl.web@gmail.com>
7064
7065 * emacs-lisp/copyright.el (copyright-year-ranges): Fix typo.
7066
2e492df3
AM
70672012-03-16 Alan Mackenzie <acm@muc.de>
7068
7069 Further optimise the handling of large macros.
7070
7071 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Use a
7072 limit to a call of `c-literal-limits'.
7073 (c-determine-+ve-limit): New function.
dc9924b8
SM
7074 (c-at-macro-vsemi-p): Move `c-in-literal' to the bottom of an `and'.
7075 (c-guess-basic-syntax): In macros, restrict a search limit to 2000.
2e492df3
AM
7076 In CASE 5B, restrict a search limit to 500.
7077 (c-just-after-func-arglist-p): Obviouly wrong `or' -> `and'.
7078
7079 * progmodes/cc-mode.el (c-neutralize-syntax-in-and-mark-CPP):
7080 Restrict macro bounds to +-500 from after-change's BEG END.
7081
50e94f0c
LL
70822012-03-16 Leo Liu <sdl.web@gmail.com>
7083
7084 * font-lock.el (lisp-font-lock-keywords-2): Add letrec.
7085
6f09f6ed
AH
70862012-03-16 Aaron S. Hawley <Aaron.S.Hawley@gmail.com>
7087
7088 * tar-mode.el (tar-mode): Fix saving by conditionally undoing
dc9924b8 7089 `special-mode' setting of `buffer-read-only'. (Bug#11010)
6f09f6ed 7090
c7e73d51
GM
70912012-03-16 Glenn Morris <rgm@gnu.org>
7092
da986230
GM
7093 * view.el (view-buffer, view-buffer-other-window)
7094 (view-buffer-other-frame): Doc fixes re special mode-class.
7095
0835f01e
GM
7096 * subr.el (eval-after-load): If named feature is provided not from
7097 a file, run after-load forms. (Bug#10946)
7098
c7e73d51
GM
7099 * calendar/calendar.el (calendar-insert-at-column):
7100 Handle non-unit-width characters a bit better. (Bug#10978)
7101
3f2eafd1
CY
71022012-03-15 Chong Yidong <cyd@gnu.org>
7103
7104 * emacs-lisp/ring.el (ring-extend): New function.
7105 (ring-insert+extend): Extend the ring correctly (Bug#11019).
7106
7107 * comint.el (comint-read-input-ring)
7108 (comint-add-to-input-history): Grow comint-input-ring lazily.
7109
103af3fe
SM
71102012-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
7111
663b1677
SM
7112 * progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
7113 Fix up parsing of multiline twoarg non-paired elements (bug#11014).
7114
103af3fe
SM
7115 * imenu.el: Fix multiple inheritance breakage (bug#9199).
7116 (imenu-add-to-menubar): Don't add a redundant index.
7117 (imenu-update-menubar): Handle a dynamically composed keymap.
7118
899cb7cb
KY
71192012-03-13 Katsumi Yamaoka <yamaoka@jpl.org>
7120
7121 * mail/sendmail.el (mail-encode-header):
7122 Bind rfc2047-encode-encoded-words to nil.
7123
3809f91d
GM
71242012-03-13 Glenn Morris <rgm@gnu.org>
7125
7126 * calendar/calendar.el (calendar-string-spread):
7127 Handle non-unit-width characters a bit better. (Bug#10978)
7128
9e345a01
LL
71292012-03-13 Leo Liu <sdl.web@gmail.com>
7130
7131 * vc/vc-hg.el (vc-hg-working-revision): Rework to work with both
7132 directory and file as argument (Bug#10822).
7133
4a07df36
KS
71342012-03-13 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
7135
7136 * progmodes/gdb-mi.el (gdb-invalidate-disassembly):
7137 For dynamically generated code, follow $PC.
7138 (gdb-disassembly-handler-custom): Handle no function name case.
7139
4aaa9356
TL
71402012-03-13 Tim Landscheidt <tim@tim-landscheidt.de> (tiny change)
7141
7142 * calendar/icalendar.el (icalendar-export-file, icalendar-import-file):
7143 * emulation/ws-mode.el (ws-query-replace):
7144 * sort.el (sort-regexp-fields):
7145 Fix missing trailing whitespace in interactive prompts. (Bug#11002)
7146
225979da
SM
71472012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
7148
7149 * dabbrev.el: Fix cycle completion order (bug#10963).
7150 (dabbrev--last-obarray, dabbrev--last-completion-buffer): Remove.
7151 (dabbrev-completion): Don't use an obarray; provide
7152 a cycle-sort-function.
7153
e2f1fdab
LL
71542012-03-12 Leo Liu <sdl.web@gmail.com>
7155
dc9924b8 7156 * simple.el (kill-new): Use equal-including-properties for comparison.
e2f1fdab
LL
7157 (kill-do-not-save-duplicates): Doc fix.
7158
b19490ed
SM
71592012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
7160
7161 * dabbrev.el: Fix cycle completion (bug#10963).
7162 Use lexical binding and wrap to 80 columns.
7163 (dabbrev-completion): Delay computing the list of completions.
7164
4b05d722
KH
71652012-03-12 Kenichi Handa <handa@m17n.org>
7166
7167 * international/quail.el (quail-insert-kbd-layout): Surround each
7168 row by LRO and PDF instead of inserting many LRMs. Pad the left
7169 and right of each non-spacing marks. Insert invisible space
7170 between lower and upper characters to prevent composition.
7171
dbbc2e69
SM
71722012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
7173
7174 * minibuffer.el (minibuffer-complete): Don't get confused when the
7175 function is run twice via different commands (bug#10958).
7176 (complete-with-action): Fix docstring.
7177
292112ed
CY
71782012-03-12 Chong Yidong <cyd@gnu.org>
7179
5d1ac394
CY
7180 * nxml/nxml-mode.el (nxml-mode-map): Do not bind C-RET (Bug#6776).
7181 (nxml-completion-at-point-function): New function.
7182 (nxml-mode): Use it.
7183 (nxml-bind-meta-tab-to-complete-flag): Default to t.
7184
292112ed
CY
7185 * emacs-lisp/package.el (package-unpack, package-unpack-single):
7186 Load generated autoloads file before byte compiling (Bug#10970).
7187 (package--make-autoloads-and-compile): New helper fun.
7188
4098f8f7
CS
71892012-03-12 Christopher Schmidt <christopher@ch.ristopher.com>
7190
7191 * ibuffer.el (ibuffer-redisplay): Remove another gratuitous error.
7192
8f754691
MA
71932012-03-11 Michael Albinus <michael.albinus@gmx.de>
7194
7195 * autorevert.el (auto-revert-handler): Ensure, that
7196 file-readable-p is applied only for local files or in
7197 auto-revert-tail-mode.
7198
e29ab36b
AS
71992012-03-11 Andreas Schwab <schwab@linux-m68k.org>
7200
dbbc2e69
SM
7201 * server.el (server-eval-at): Handle non-tcp connections.
7202 Decode result string.
ad0bf5b6 7203
e29ab36b
AS
7204 * server.el (server-msg-size): New constant.
7205 (server-reply-print): New function.
7206 (server-eval-and-print): Use it.
7207 (server-eval-at): Use server-quote-arg and server-unquote-arg.
7208 Handle -print-nonl.
7209
de5939ba
CS
72102012-03-11 Christopher Schmidt <christopher@ch.ristopher.com>
7211
7212 * ibuffer.el (ibuffer-redisplay): Remove gratuitous error
7213 (Bug#10987).
7214
0c93eabf
CY
72152012-03-11 Chong Yidong <cyd@gnu.org>
7216
397a688f
CY
7217 * simple.el (goto-line): Doc fix (Bug#9938).
7218
2cc775f9
CY
7219 * subr.el (save-window-excursion): Doc fix (Bug#9979).
7220
0c93eabf
CY
7221 * dabbrev.el (dabbrev--find-expansion): Update progress reporter
7222 when finished (Bug#10963).
7223
c491fa41
MR
72242012-03-11 Martin Rudalics <rudalics@gmx.at>
7225
7226 * window.el (split-window-below): Fix bug in case where
7227 split-window-keep-point is nil (Bug#10971).
7228
300e8fa5
JL
72292012-03-11 Juri Linkov <juri@jurta.org>
7230
7231 * replace.el (replace-highlight): Set isearch-word to nil
7232 unconditionally. (Bug#10887)
7233
dbf6c5a1
EZ
72342012-03-10 Eli Zaretskii <eliz@gnu.org>
7235
7236 * net/mairix.el (mairix-replace-invalid-chars): Rename from
7237 mairix-replace-illegal-chars; all callers changed. Don't remove
dc9924b8 7238 ^, ~, and = characters: they are meaningful in mairix search specs.
dbf6c5a1
EZ
7239 (mairix-widget-create-query): Add usage information about mairix
7240 search forms: negating words, searching for substrings, etc.
7241
b9e501de
JP
72422012-03-10 Jae-hyeon Park <jae-hyeon.park@desy.de> (tiny change)
7243
7244 * international/fontset.el (font-encoding-alist): Add an entry for
7245 ksx1001 (Bug#5667).
7246
92795c91
RS
72472012-03-10 Richard Stallman <rms@gnu.org>
7248
1694e6c1
RS
7249 * mail/sendmail.el (mail-encode-header):
7250 Set rfc2047-encode-encoded-words.
7251
607e8555
RS
7252 * mail/mail-utils.el (mail-quote-printable): Quote multibyte chars.
7253
de3bc99a
RS
7254 * mail/rmail.el (rmail-buffers-swapped-p): Don't assume dead
7255 view buffer means not swapped.
7256 (rmail-view-buffer-kill-buffer-hook): Give buf name in error msg.
7257 (rmail-write-region-annotate): Error if real text has disappeared.
7258
92795c91
RS
7259 * epa-mail.el (epa-mail-encrypt): Bind inhibit-read-only.
7260
699bd04e
CY
72612012-03-10 Chong Yidong <cyd@gnu.org>
7262
7263 * emulation/cua-rect.el (cua--init-rectangles):
dbbc2e69
SM
7264 * emulation/cua-base.el (cua--init-keymaps):
7265 Add delete-forward-char to remappings (Bug#9666).
699bd04e 7266
570a1714
MR
72672012-03-10 Martin Rudalics <rudalics@gmx.at>
7268
dbbc2e69
SM
7269 * speedbar.el (speedbar-unhighlight-one-tag-line):
7270 Avoid unhighlighting due to frame switching (Bug#10275).
570a1714 7271
82dcf4e4
CY
72722012-03-10 Chong Yidong <cyd@gnu.org>
7273
7a2c7ca7
CY
7274 * minibuffer.el (completion-in-region, completion-help-at-point):
7275 Give the completion field overlay a high priority (Bug#6830).
7276
82dcf4e4
CY
7277 * dired.el (dired-goto-file): Recognize absolute file name
7278 listings (Bug#7126).
7279 (dired-goto-file-1): New helper function.
7280 (dired-toggle-read-only): Inhibit warnings.
7281
052e28ac
MA
72822012-03-09 Michael Albinus <michael.albinus@gmx.de>
7283
75f1671a 7284 * net/dbus.el (dbus-property-handler): Return empty array if
052e28ac
MA
7285 there are no properties.
7286
95d5e396
LL
72872012-03-09 Leo Liu <sdl.web@gmail.com>
7288
7289 * savehist.el (savehist-printable): Stricter check for string
7290 value (Bug#10937).
7291
3f018d6d
EZ
72922012-03-09 Eli Zaretskii <eliz@gnu.org>
7293
dbbc2e69
SM
7294 * mail/smtpmail.el (smtpmail-send-it):
7295 Bind coding-system-for-write to *-unix, so that FCC files are kept in
3f018d6d
EZ
7296 valid mbox format.
7297
f7fd3d79
GM
72982012-03-09 Glenn Morris <rgm@gnu.org>
7299
7300 * files.el (dir-locals-find-file):
7301 Don't check result is regular, readable.
7302 (dir-locals-read-from-file): Demote errors.
7303
6ff6e72f
EZ
73042012-03-08 Eli Zaretskii <eliz@gnu.org>
7305
dbbc2e69
SM
7306 * international/quail.el (quail-insert-kbd-layout):
7307 Insert invisible LRM characters before each character in a keyboard
6ff6e72f
EZ
7308 layout cell, to prevent their reordering by bidi display engine.
7309 For details, see the discussion in
7310 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00085.html.
7311
9cec7834
AM
73122012-03-08 Alan Mackenzie <acm@muc.de>
7313
7314 * progmodes/cc-cmds.el (c-mark-function): Make it leave a mark at
7315 the starting position; make it extend the marked region when
7316 invoked repeatedly - all under appropriate circumstances.
7317 Fixes bugs #5525, #10906.
7318
9a40b8d4
GM
73192012-03-08 Glenn Morris <rgm@gnu.org>
7320
7321 * files.el (locate-dominating-file, dir-locals-find-file):
7322 Undo 2012-03-06 change.
7323
7a08ed35
EZ
73242012-03-07 Eli Zaretskii <eliz@gnu.org>
7325
dbbc2e69
SM
7326 * international/quail.el (quail-help):
7327 Force bidi-paragraph-direction be left-to-right. See discussion in
7a08ed35
EZ
7328 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00062.html
7329 for the reason.
7330
5aca4f71 73312012-03-07 Michael Albinus <michael.albinus@gmx.de>
6612a284
MA
7332
7333 Avoid superfluous registering of signals. (Bug#10807)
7334
7335 * notifications.el (notifications-on-action-object)
7336 (notifications-on-close-object): New defvars.
7337 (notifications-on-action-signal, notifications-on-closed-signal):
7338 Unregister the signal if not needed any longer.
7339 (notifications-notify): Register `notifications-action-signal' or
7340 `notifications-closed-signal', if :on-action or :on-close has been
7341 passed as argument.
7342
78e8b10a
CY
73432012-03-07 Chong Yidong <cyd@gnu.org>
7344
7345 * cus-start.el: Avoid x-select-enable-clipboard-manager warning on
7346 non-X platforms.
7347
69481eb8
GM
73482012-03-06 Glenn Morris <rgm@gnu.org>
7349
7350 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
7351 (x-disown-selection-internal, x-get-selection-internal):
7352 Doc fix (add arglist signatures). (Bug#10783)
7353
133b8e11
KS
73542012-03-06 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
7355
7356 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
7357 Handle breakpoints with no "type".
7358
99a83064
GM
73592012-03-06 Glenn Morris <rgm@gnu.org>
7360
7361 * files.el (locate-dominating-file): Add optional predicate argument.
7362 (dir-locals-find-file): Make use of above change.
7363
17798e78
TTN
73642012-03-06 Thien-Thi Nguyen <ttn@gnuvola.org>
7365
7366 * info.el (Info-insert-dir): Also try "dir.gz".
7367
eb182446
GM
73682012-03-06 Glenn Morris <rgm@gnu.org>
7369
8f2114ee
GM
7370 * files.el (dir-locals-find-file):
7371 Ignore non-readable or non-regular files. (Bug#10928)
7372
eb182446
GM
7373 * files.el (locate-dominating-file): Doc fix.
7374
24679323
AS
73752012-03-06 Adam Spiers <emacs@adamspiers.org> (tiny change)
7376
7377 * calendar/calendar.el (calendar-set-mode-line):
7378 `getenv' returns a string. (Bug#10951)
7379
01d972a9
LL
73802012-03-05 Leo Liu <sdl.web@gmail.com>
7381
109aa8a9
LL
7382 * simple.el (backward-delete-char-untabify): Constrain point to
7383 field (Bug#10939).
7384
01d972a9
LL
7385 * eshell/em-cmpl.el (eshell-cmpl-initialize): Fix shift-tab key.
7386
10607bea
CY
73872012-03-05 Chong Yidong <cyd@gnu.org>
7388
7389 * simple.el (count-words): If called from Lisp, return the word
7390 count, for symmetry with `count-lines'. Arglist changed.
7391 (count-words--message): Args changed. Consolidate counting code
7392 from count-words and count-words-region.
7393 (count-words-region): Caller changed.
7394 (count-lines-region): Make it an obsolete alias.
7395
5dd11cfe
TH
73962012-03-04 Tassilo Horn <tassilo@member.fsf.org>
7397
7398 * saveplace.el (save-place-to-alist)
7399 (save-place-ignore-files-regexp): Allow value nil to disable this
7400 feature.
7401
c349f4e6
CY
74022012-03-04 Chong Yidong <cyd@gnu.org>
7403
7404 * faces.el (face-spec-reset-face): For the default face, reset the
7405 attributes to default values (Bug#10748).
7406
e627be4c
LMI
74072012-03-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
7408
7409 * mail/emacsbug.el (report-emacs-bug-hook): Fix up thinko in
7410 previous patch: Check `message-send-mail-function', and not the
7411 default function (bug#10897).
7412
ebeabff4
MA
74132012-03-04 Michael Albinus <michael.albinus@gmx.de>
7414
a41a6cf4
MA
7415 * notifications.el (notifications-on-action-signal)
7416 (notifications-on-closed-signal): Check for unique service name of
7417 incoming event. Fix error in removing entry.
ebeabff4 7418 (top): Register for signals with wildcard service name.
a41a6cf4 7419 (notifications-notify): Use daemon unique service name for map entries.
ebeabff4 7420
c1ca42b4
CY
74212012-03-04 Chong Yidong <cyd@gnu.org>
7422
dc9924b8 7423 * cus-start.el: Make x-select-enable-clipboard-manager customizable.
c1ca42b4 7424
ea16568d
GM
74252012-03-04 Glenn Morris <rgm@gnu.org>
7426
7427 * abbrev.el (copy-abbrev-table, abbrev-table-p)
7428 (abbrev-minor-mode-table-alist, define-abbrev, abbrev-insert)
7429 (expand-abbrev, define-abbrev-table): Doc fixes.
7430
fbae4637
LMI
74312012-03-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
7432
7433 * mail/emacsbug.el (report-emacs-bug-hook): Look at the value of
7434 `message-default-send-mail-function' and not `send-mail-function'
7435 when doing the prompting for `sendmail-query-once' before sending
7436 in Message buffers (bug#10897).
7437
a1e7225c
LMI
7438 * net/tls.el (open-tls-stream): Don't set the dont-query-on-exit flag.
7439 This is inconsistent with all the other stream functions, which leave
7440 the setting up to the higher levels (if so wanted) (bug#10931).
7441
56d093a9
AM
74422012-03-02 Alan Mackenzie <acm@muc.de>
7443
7444 Depessimize the handling of very large macros.
7445
7446 * progmodes/cc-engine.el (c-macro-cache, c-macro-cache-start-pos):
7447 (c-macro-cache-syntactic): New variables to implement a one
7448 element macro cache.
7449 (c-invalidate-macro-cache): New function.
7450 (c-beginning-of-macro, c-end-of-macro, c-syntactic-end-of-macro):
7451 Adapt to use the new cache.
7452 (c-state-safe-place): Use better the cache of safe positions.
7453 (c-state-semi-nonlit-pos-cache)
7454 (c-state-semi-nonlit-pos-cache-limit):
7455 New variables for...
7456 (c-state-semi-safe-place): New function. Here, in a macro is "safe".
7457 (c-invalidate-state-cache-1): New stuff for c-state-semi-safe-place.
dbbc2e69
SM
7458 (c-in-literal, c-literal-limits, c-determine-limit-get-base):
7459 Use c-state-semi-safe-place.
56d093a9 7460
dbbc2e69
SM
7461 * progmodes/cc-langs.el (c-get-state-before-change-functions):
7462 Add c-invalidate-macro-cache to the C, C++, Obj entries.
56d093a9 7463
817e5c3d
MA
74642012-03-02 Michael Albinus <michael.albinus@gmx.de>
7465
dbbc2e69
SM
7466 * jka-compr.el (jka-compr-call-process):
7467 Apply `file-accessible-directory-p' only when the default directory is
817e5c3d
MA
7468 not remote.
7469
a032a702
MA
74702012-03-01 Michael Albinus <michael.albinus@gmx.de>
7471
7472 * files.el (file-equal-p): Fix docstring. Avoid unnecessary
7473 access of FILE2, if FILE1 does not exist.
7474
99a54f21
MA
7475 * net/tramp-sh.el (tramp-remote-process-environment): Add "PAGER=\"\"".
7476 Reported by Robert Lupton the Good <rhl@astro.princeton.edu>.
7477
7478 * vc/vc-git.el (vc-git--call): Enable `inhibit-null-byte-detection'.
7479 Add "PAGER=" to `process-environment'.
7480
f6561e1f
MM
74812012-03-01 Michael R. Mauger <mmaug@yahoo.com>
7482
7483 * progmodes/sql.el: Bug fix
7484 (sql-get-login-ext): Save login values in globals.
7485 (sql-get-login): Use new version of `sql-get-login-ext'.
7486 (sql-interactive-mode): Set global `sql-connection' to nil.
7487 (sql-connect): Set global values for connection.
7488 (sql-product-interactive): Save global values as buffer local.
7489
2d44d9cc
LL
74902012-02-29 Leo Liu <sdl.web@gmail.com>
7491
7492 * abbrev.el (define-abbrevs): Reset sys to nil.
7493
96b49301 74942012-02-28 Thierry Volpiatto <thierry.volpiatto@gmail.com>
7495
bf7f9bc5
JB
7496 * files.el (file-equal-p): Rename from `files-equal-p'.
7497 Return nil when one or both files don't exist.
96b49301 7498 (file-subdir-of-p): Now only top directory must exists,
7499 return nil if it doesn't.
bf7f9bc5
JB
7500 (copy-directory): No need to test with `file-subdir-of-p' after
7501 creating dir.
7502 * net/tramp.el (tramp-file-name-for-operation): Rename `files-equal-p'
7503 to `file-equal-p'.
96b49301 7504
44e97401
GM
75052012-02-28 Glenn Morris <rgm@gnu.org>
7506
7507 * shell.el (shell-mode):
7508 * progmodes/vhdl-mode.el (wildcard-to-regexp, file-expand-wildcards):
7509 * play/landmark.el (landmark-font-lock-face-O):
7510 * play/handwrite.el (handwrite):
7511 * play/gomoku.el (gomoku-O):
7512 * net/browse-url.el (browse-url-browser-display):
7513 * international/mule.el (define-charset):
7514 * htmlfontify.el (hfy-etags-cmd, hfy-face-attr-for-class):
7515 * filesets.el (filesets-find-file-delay):
7516 * eshell/em-xtra.el (eshell-xtra):
7517 * eshell/em-unix.el (eshell-grep):
7518 * emulation/viper.el (viper-mode):
7519 * emacs-lisp/regexp-opt.el (regexp-opt-group):
7520 * emacs-lisp/easymenu.el (easy-menu-define):
7521 * calendar/timeclock.el (timeclock-use-display-time):
7522 * bs.el (bs-mode):
7523 * bookmark.el (bookmark-save-flag):
7524 Doc fix (standardize possessive apostrophe usage).
7525
c98c6276
CY
75262012-02-27 Chong Yidong <cyd@gnu.org>
7527
bf7f9bc5
JB
7528 * emulation/viper-cmd.el (viper-intercept-ESC-key):
7529 Fix key-binding lookup for ESC key (Bug#9146).
ecf5f74e 7530
c98c6276
CY
7531 * font-lock.el (font-lock-specified-p): Rename from
7532 font-lock-spec-present. Callers changed.
7533
9c62cd04 75342012-02-27 Daniel Hackney <dan@haxney.org>
8ac9e529 7535
bf7f9bc5
JB
7536 * emacs-lisp/package.el (package-compute-transaction):
7537 Handle holding a package version to t in package-load-list.
8ac9e529 7538
530739c9
MA
75392012-02-26 Michael Albinus <michael.albinus@gmx.de>
7540
7541 * net/tramp.el (tramp-inodes, tramp-devices): Initialize with 0.
7542 (tramp-get-inode, tramp-get-device): Use cached values.
7543
487915d7
AM
75442012-02-26 Alan Mackenzie <acm@muc.de>
7545
7546 Check there is a font-lock specification before doing initial
7547 fontification.
7548
7549 * font-core.el (font-lock-mode): Move the conditional from
7550 :after-hook to font-lock-initial-fontify.
7551 (font-lock-default-function): Move the check for a specification
7552 to font-lock-spec-present.
7553
dc9924b8 7554 * font-lock.el (font-lock-initial-fontify): Call ...
487915d7
AM
7555 (font-lock-spec-present): New function.
7556
4fd96557
JB
75572012-02-26 Jim Blandy <jimb@red-bean.com>
7558
7559 * progmodes/gdb-mi.el (gdb-mi-quote): New function.
7560 (gdb-send): Apply it to the operand of the '-interpreter-exec
7561 console' command, so that we can pass arguments with (say) quotes
7562 in them. Store exact string sent in gdb-debug-log (Bug#10765).
7563
9a4888c0
CY
75642012-02-26 Chong Yidong <cyd@gnu.org>
7565
07498861
CY
7566 * help-fns.el (describe-function-1): Clarify description of
7567 remapping (Bug#10844).
7568
9a4888c0
CY
7569 * files.el (files-equal-p): Doc fix.
7570 (file-subdir-of-p): Doc fix. Convert loop macro to plain Lisp,
7571 and quit the loop once a mismatch is found.
7572
ea8fb88d
JB
75732012-02-25 Juanma Barranquero <lekktu@gmail.com>
7574
7575 * bs.el (bs--show-with-configuration): Don't throw an error
7576 if the window cannot be split; otherwise, subsequent calls to
7577 bs-show fail, restoring a stale window config. (Bug#10882)
7578
525795c1
JD
75792012-02-25 Jan Djärv <jan.h.d@swipnet.se>
7580
7581 * term/ns-win.el (global-map): Bind ns-drag-file to
7582 ns-find-file (Bug#5855, Bug#10050).
7583
f008086f
AS
75842012-02-25 Andreas Schwab <schwab@linux-m68k.org>
7585
7586 * calendar/parse-time.el (parse-time-string): Allow extractor to
7587 return nil.
7588
a3fcfa99
MA
75892012-02-25 Michael Albinus <michael.albinus@gmx.de>
7590
91027d08
JB
7591 * net/tramp.el (tramp-file-name-for-operation):
7592 Add `files-equal-p' and `file-subdir-of-p'.
a3fcfa99
MA
7593
7594 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
91027d08
JB
7595 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
7596 Add COPY-CONTENTS argument.
a3fcfa99 7597
67b0de11
CY
75982012-02-25 Chong Yidong <cyd@gnu.org>
7599
7600 Add custom groups for VC backends, for consistency with vc-bzr.
7601
7602 * vc/vc-arch.el (vc-arch):
7603 * vc/vc-cvs.el (vc-cvs):
7604 * vc/vc-git.el (vc-git):
7605 * vc/vc-hg.el (vc-hg):
7606 * vc/vc-mtn.el (vc-mtn):
7607 * vc/vc-rcs.el (vc-rcs):
7608 * vc/vc-sccs.el (vc-sccs):
7609 * vc/vc-svn.el (vc-svn): New customization group (Bug#10871).
7610 All relevant defcustoms reassigned.
7611
3c9dfce6
CY
76122012-02-25 Chong Yidong <cyd@gnu.org>
7613
1339bf43
CY
7614 * newcomment.el (comment-styles): Add autoload (Bug#10868).
7615
3c9dfce6
CY
7616 * term/x-win.el (x-initialize-window-system): Reduce default for
7617 x-selection-timeout to 5 seconds (Bug#8869).
7618
25b2e303 76192012-02-24 Thierry Volpiatto <thierry.volpiatto@gmail.com>
7620
ec70a47d
GM
7621 * files.el (files-equal-p, file-subdir-of-p): New functions.
7622 (copy-directory): Error when trying to copy a directory on itself.
25b2e303 7623 Add missing copy-contents arg to tramp handler.
ec70a47d
GM
7624 * dired-aux.el (dired-copy-file-recursive): Same.
7625 (dired-create-files): Modify destination when source is equal to
7626 dest when copying files.
53a46cd0 7627 Return also when dest is a subdir of source. (Bug#10489)
25b2e303 7628
914260cd
MA
76292012-02-24 Michael Albinus <michael.albinus@gmx.de>
7630
7631 * net/ange-ftp.el (ange-ftp-parse-netrc): Suppress comment lines.
7632 (Bug#10874)
7633
2cb228f7
AM
76342012-02-23 Alan Mackenzie <acm@muc.de>
7635
7636 * emacs-lisp/easy-mmode.el (define-minor-mode): Add extra
7637 parameter "after-hook:" to allow the expansion to run code after
7638 the execution of the mode hooks.
7639
7640 * font-lock.el (font-lock-initial-fontify): New function extracted
91027d08 7641 from font-lock-mode-internal.
2cb228f7 7642
91027d08 7643 * font-core.el (font-lock-mode): Call font-lock-initial-fontify in
2cb228f7
AM
7644 :after-hook.
7645
8f0fde21
SM
76462012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
7647
3e88618b
SM
7648 * minibuffer.el: Make sure cycling is reset upon edit with icomplete.el.
7649 (completion--cache-all-sorted-completions): New function.
7650 (completion-all-sorted-completions): Use it.
7651 (completion--do-completion, minibuffer-force-complete):
7652 Use it to re-instate the flush hook.
7653
8f0fde21
SM
7654 * icomplete.el (icomplete-completions): Replace last fix with a better
7655 one (bug#10850).
7656
8e911f6f
DG
76572012-02-23 Dmitry Gutov <dgutov@yandex.ru>
7658
7659 * emacs-lisp/lisp.el (beginning-of-defun-raw): Don't call end-of-defun
7660 when it might call us back infinitely (bug#10797).
7661
49fe4321
GM
76622012-02-23 Glenn Morris <rgm@gnu.org>
7663
7664 * minibuffer.el (completion-category-overrides): Doc fix.
7665
b291b572
SM
76662012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
7667
7668 * minibuffer.el (completion-table-with-context): Fix inf-loop.
7669 Reported by Aaron S. Hawley <aaron.s.hawley@gmail.com>.
7670
31a9ef2e
GM
76712012-02-23 Glenn Morris <rgm@gnu.org>
7672
5e6e6794 7673 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case)
31a9ef2e
GM
7674 (authors-obsolete-files-regexps, authors-ignored-files)
7675 (authors-ambiguous-files, authors-renamed-files-alist):
7676 Add more entries.
7677
0bd1e074
JL
76782012-02-23 Juri Linkov <juri@jurta.org>
7679
7680 * isearch.el (isearch-occur): Sync interactive spec with occur's
7681 new feature in `occur-read-primary-args'. Doc fix. (Bug#10705)
7682
b617673c
JL
7683 * replace.el (occur-menu-map): Add menu item for `occur-edit-mode'.
7684
19e9789e
JL
76852012-02-22 Juri Linkov <juri@jurta.org>
7686
7687 * international/mule-cmds.el (read-char-by-name): Use \` and \'.
7688 (ucs-insert): Doc fix. Check for hex digits in the string.
7689 Don't display `nil' in the error message. (Bug#10857)
7690
f41ce09d
AM
76912012-02-22 Alan Mackenzie <acm@muc.de>
7692
7a71b18d 7693 * progmodes/cc-mode.el: Revert change #2012-02-06T22:08:41Z!larsi@gnus.org from 2012-02-06.
f41ce09d 7694
ac2eceee
GM
76952012-02-22 Glenn Morris <rgm@gnu.org>
7696
7697 * ffap.el (ffap-c-path):
7698 * man.el (Man-header-file-path): Handle multiarch. (Bug#10702)
7699
abd1f678
CY
77002012-02-22 Chong Yidong <cyd@gnu.org>
7701
7702 * custom.el (load-theme): Doc fix.
7703
f25aef2e
GM
77042012-02-22 Glenn Morris <rgm@gnu.org>
7705
7706 * dired-x.el (dired-guess-shell-alist-default):
7707 Remove escape sequences from nroff output. (Bug#172)
7708
5f8dc2ca
GM
77092012-02-21 Glenn Morris <rgm@gnu.org>
7710
6ff86ec4
GM
7711 * vc/emerge.el (emerge-defvar-local):
7712 Set `permanent-local' property rather than unused `preserved'.
7713
be3223a3 7714 * textmodes/picture.el (picture-delete-char): New alias.
5f8dc2ca
GM
7715 (picture-mode-map): Use it. (Bug#10860)
7716 (picture-mode): Doc fix.
7717
3fe58f4f
JB
77182012-02-21 Juanma Barranquero <lekktu@gmail.com>
7719
7720 * newcomment.el (uncomment-region-default): Remove unused binding.
7721
f9a998c3
GM
77222012-02-21 Glenn Morris <rgm@gnu.org>
7723
7724 * textmodes/picture.el (picture-motion, picture-motion-reverse)
7725 (picture-self-insert, picture-tab-chars): Doc fix.
7726 (picture-mode-map): Fix C-a, C-e.
7727
c6029348
GM
77282012-02-20 Glenn Morris <rgm@gnu.org>
7729
7730 * emacs-lisp/authors.el (authors-aliases): Add another entry.
7731
ab1ce9d7
LL
77322012-02-20 Leo Liu <sdl.web@gmail.com>
7733
7734 * icomplete.el (icomplete-completions): Check FROM arg before
7735 passing to substring (Bug#10850).
7736
0fd40f89
CY
77372012-02-19 Chong Yidong <cyd@gnu.org>
7738
7739 * comint.el: Require ansi-color.
7740 (comint-output-filter-functions): Add ansi-color-process-output.
7741
7742 * ansi-color.el: Don't set comint-output-filter-functions; it is
7743 now in the initial value defined in comint.el.
7744 (ansi-color-apply-face-function): New variable.
7745 (ansi-color-apply-on-region): Use it.
7746 (ansi-color-apply-overlay-face): New function.
7747
7748 * shell.el (shell): No need to require ansi-color.
7749 (shell-mode): Use ansi-color-apply-face-function to highlight
7750 color escapes using font-lock-face property (Bug#10835).
7751
20af2394
CY
77522012-02-19 Chong Yidong <cyd@gnu.org>
7753
7754 * vc/ediff-init.el (ediff-strip-mode-line-format): Handle non-list
7755 mode-line formats (Bug#10839).
7756
e23a3fbe
GM
77572012-02-18 Glenn Morris <rgm@gnu.org>
7758
b474519e
GM
7759 * mail/rmail.el (rmail-dont-reply-to-names): Mark as obsolete.
7760
7761 * mail/undigest.el (unforward-rmail-message): Doc fix.
7762
e23a3fbe
GM
7763 * saveplace.el (save-place-ignore-files-regexp): Add :version.
7764
57939ff4
EZ
77652012-02-18 Eli Zaretskii <eliz@gnu.org>
7766
7767 * international/characters.el (script-list): Sync with the latest
7768 Unicode Character Database.
7769
0c23686e
AS
77702012-02-18 Andreas Schwab <schwab@linux-m68k.org>
7771
7772 * international/titdic-cnv.el: Remove duplicate coding tag.
7773 * language/cham.el: Likewise.
7774 * language/tai-viet.el: Likewise.
7775
6818b449
GM
77762012-02-18 Glenn Morris <rgm@gnu.org>
7777
7778 * calendar/cal-menu.el (cal-menu-diary-menu, cal-menu-goto-menu):
7779 * calendar/calendar.el (diary-file, diary-bahai-entry-symbol)
7780 (calendar-bahai-all-holidays-flag, calendar-other-dates):
7781 * calendar/diary-lib.el (diary-abbreviated-year-flag):
7782 * calendar/holidays.el (holiday-bahai-holidays)
7783 (calendar-holidays, list-holidays):
7784 Use utf-8 Bahá'í in doc-strings, menus, etc.
7785
0311a3fc
TH
77862012-02-17 Tassilo Horn <tassilo@member.fsf.org>
7787
7788 * saveplace.el (save-place-ignore-files-regexp): New variable
7789 allowing for excluding files from saving their location of point.
7790 The default value matches the temporary commit message editing
7791 files from Git, SVN, Bazaar, and Mercurial.
7792 (save-place-to-alist): Use it.
7793
d209e2fb 77942012-02-17 Lawrence Mitchell <wence@gmx.li>
f1a71c6e 7795 Stefan Monnier <monnier@iro.umontreal.ca>
eb864a71
LM
7796
7797 * newcomment.el (uncomment-region-default): Don't leave extra space
7798 when an arg is provided (bug#8150).
7799
ee0ce425
TZ
78002012-02-17 Teodor Zlatanov <tzz@lifelogs.com>
7801
eb864a71 7802 * net/gnutls.el (gnutls-trustfiles): Fix Cygwin bundle location.
ee0ce425 7803
95ddf442
GM
78042012-02-17 Glenn Morris <rgm@gnu.org>
7805
7806 * net/socks.el: Require network-stream. (Bug#10599)
7807
48dd1e39 78082012-02-17 Kenichi Handa <handa@m17n.org>
c406be43
KH
7809
7810 * international/charprop.el:
7811 * international/uni-name.el:
7812 * international/uni-old-name.el:
7813 * international/uni-comment.el: Regenerate.
7814
d68cd087
GM
78152012-02-16 Glenn Morris <rgm@gnu.org>
7816
7817 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits):
7818 Interactively in calendar buffer, give an error if not on a date.
7819
13932042
GM
78202012-02-15 Glenn Morris <rgm@gnu.org>
7821
7822 * shell.el (shell-delimiter-argument-list):
7823 Revert 2011-02-17 change. (Bug#8027)
7824
c3a70e2b
CY
78252012-02-15 Chong Yidong <cyd@gnu.org>
7826
60236b0d
CY
7827 * minibuffer.el (completion-at-point-functions): Doc fix.
7828
c3a70e2b
CY
7829 * custom.el (defcustom): Doc fix; note use of defvar.
7830
9f26dc24
GM
78312012-02-15 Glenn Morris <rgm@gnu.org>
7832
7833 * mail/smtpmail.el (smtpmail-smtp-user, smtpmail-stream-type):
7834 Doc fixes.
7835
6546b134
GM
78362012-02-14 Glenn Morris <rgm@gnu.org>
7837
7838 * mail/smtpmail.el (smtpmail-query-smtp-server): Give it a doc.
7839
d29b2b4c
LI
78402012-02-14 Lars Ingebrigtsen <larsi@gnus.org>
7841
7842 * mail/smtpmail.el (smtpmail-query-smtp-server): Fix typo in the
7843 way the ports list is computed.
835bdcba
LI
7844 (smtpmail-query-smtp-server): Prompt the user for a port number if
7845 we can't connect to any of the standard ports (bug#10810).
d29b2b4c 7846
08dcdbc9
TZ
78472012-02-14 Teodor Zlatanov <tzz@lifelogs.com>
7848
7849 * net/gnutls.el (gnutls-trustfiles): Add Cygwin location.
7850
2605051a
GM
78512012-02-13 Glenn Morris <rgm@gnu.org>
7852
7853 * minibuffer.el (read-file-name): Doc fix. (Bug#10798)
7854
7ee99f32
TZ
78552012-02-13 Teodor Zlatanov <tzz@lifelogs.com>
7856
7857 * net/gnutls.el (gnutls-trustfiles): New variable.
7858 (gnutls-negotiate): Use it.
7859
5f0af64f
LI
78602012-02-13 Lars Ingebrigtsen <larsi@gnus.org>
7861
7862 * simple.el (mail-user-agent): Mention that `gnus-user-agent' only
7863 does its stuff if Gnus is running.
7864
c14fcc95
AM
78652012-02-13 Alan Mackenzie <acm@muc.de>
7866
7867 Fix a loop in c-set-fl-decl-start.
7868
7a71b18d 7869 * progmodes/cc-engine.el (c-set-fl-decl-start): Add a check that
c14fcc95
AM
7870 c-backward-syntactic-ws actually moves backwards.
7871
142b4d90
LL
78722012-02-13 Leo Liu <sdl.web@gmail.com>
7873
7874 * net/rcirc.el (rcirc-markup-attributes): Move point to the
7875 beginning so that all \C-o chars are removed.
7876
fa9958a6
TZ
78772012-02-12 Teodor Zlatanov <tzz@lifelogs.com>
7878
dc9924b8 7879 * net/gnutls.el (gnutls-algorithm-priority): Add missing :group tag.
fa9958a6 7880
0bc5886a
AM
78812012-02-12 Alan Mackenzie <acm@muc.de>
7882
7883 Fix infinite loop with long macros.
4d6769e1 7884 * progmodes/cc-engine.el (c-state-safe-place): Handle macros properly.
0bc5886a 7885
d4bd55e7
CY
78862012-02-12 Chong Yidong <cyd@gnu.org>
7887
7888 * window.el (display-buffer): Doc fix (Bug#10785).
7889
66f3fe22
GM
78902012-02-12 Glenn Morris <rgm@gnu.org>
7891
bd7da63e
GM
7892 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
7893 (x-disown-selection-internal, x-get-selection-internal):
7894 Sync docs with the xselect.c versions.
7895
66f3fe22
GM
7896 * allout-widgets.el: Add missing license notice.
7897
3e0d2fa7
GM
78982012-02-11 Glenn Morris <rgm@gnu.org>
7899
cfecdf09
GM
7900 * select.el (x-get-selection-internal, x-own-selection-internal)
7901 (x-disown-selection-internal):
7902 * x-dnd.el (x-get-selection-internal): Update declarations.
7903
6d216d7f
GM
7904 * vc/log-view.el (vc-diff-internal): Remove unneeded declaration.
7905
2bed3f04
GM
7906 * window.el (window-sides-slots):
7907 * tool-bar.el (tool-bar-position):
7908 * term/xterm.el (xterm-extra-capabilities):
7909 * ses.el (ses-self-reference-early-detection):
7910 * progmodes/verilog-mode.el (verilog-auto-declare-nettype)
7911 (verilog-auto-wire-type)
7912 (verilog-auto-delete-trailing-whitespace)
7913 (verilog-auto-reset-blocking-in-non, verilog-auto-inst-sort)
7914 (verilog-auto-tieoff-declaration):
7915 * progmodes/sql.el (sql-login-hook, sql-ansi-statement-starters)
7916 (sql-oracle-statement-starters, sql-oracle-scan-on):
7917 * progmodes/prolog.el (prolog-align-comments-flag)
7918 (prolog-indent-mline-comments-flag, prolog-object-end-to-0-flag)
7919 (prolog-left-indent-regexp, prolog-paren-indent-p)
7920 (prolog-paren-indent, prolog-parse-mode, prolog-keywords)
7921 (prolog-types, prolog-mode-specificators)
7922 (prolog-determinism-specificators, prolog-directives)
7923 (prolog-electric-newline-flag, prolog-hungry-delete-key-flag)
7924 (prolog-electric-dot-flag)
7925 (prolog-electric-dot-full-predicate-template)
7926 (prolog-electric-underscore-flag, prolog-electric-tab-flag)
7927 (prolog-electric-if-then-else-flag, prolog-electric-colon-flag)
7928 (prolog-electric-dash-flag, prolog-old-sicstus-keys-flag)
7929 (prolog-program-switches, prolog-prompt-regexp)
7930 (prolog-debug-on-string, prolog-debug-off-string)
7931 (prolog-trace-on-string, prolog-trace-off-string)
7932 (prolog-zip-on-string, prolog-zip-off-string)
7933 (prolog-use-standard-consult-compile-method-flag)
7934 (prolog-use-prolog-tokenizer-flag, prolog-imenu-flag)
7935 (prolog-imenu-max-lines, prolog-info-predicate-index)
7936 (prolog-underscore-wordchar-flag, prolog-use-sicstus-sd)
7937 (prolog-char-quote-workaround):
7938 * progmodes/cc-vars.el (c-defun-tactic):
7939 * net/tramp.el (tramp-encoding-command-interactive)
7940 (tramp-local-end-of-line):
7941 * net/soap-client.el (soap-client):
7942 * net/netrc.el (netrc-file):
7943 * net/gnutls.el (gnutls):
7944 * minibuffer.el (completion-category-overrides)
7945 (completion-cycle-threshold)
7946 (completion-pcm-complete-word-inserts-delimiters):
7947 * man.el (Man-name-local-regexp):
7948 * mail/feedmail.el (feedmail-display-full-frame):
7949 * international/characters.el (glyphless-char-display-control):
7950 * eshell/em-ls.el (eshell-ls-date-format):
7951 * emacs-lisp/cl-indent.el (lisp-lambda-list-keyword-alignment)
7952 (lisp-lambda-list-keyword-parameter-indentation)
7953 (lisp-lambda-list-keyword-parameter-alignment):
7954 * doc-view.el (doc-view-image-width, doc-view-unoconv-program):
7955 * dired-x.el (dired-omit-verbose):
7956 * cus-theme.el (custom-theme-allow-multiple-selections):
7957 * calc/calc.el (calc-highlight-selections-with-faces)
7958 (calc-lu-field-reference, calc-lu-power-reference)
7959 (calc-note-threshold):
7960 * battery.el (battery-mode-line-limit):
7961 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
7962 (archive-7z-update):
7963 * allout.el (allout-prefixed-keybindings)
7964 (allout-unprefixed-keybindings)
7965 (allout-inhibit-auto-fill-on-headline)
7966 (allout-flattened-numbering-abbreviation):
7967 * allout-widgets.el (allout-widgets-auto-activation)
7968 (allout-widgets-icons-dark-subdir)
7969 (allout-widgets-icons-light-subdir, allout-widgets-icon-types)
7970 (allout-widgets-theme-dark-background)
7971 (allout-widgets-theme-light-background)
7972 (allout-widgets-item-image-properties-emacs)
7973 (allout-widgets-item-image-properties-xemacs)
7974 (allout-widgets-run-unit-tests-on-load)
7975 (allout-widgets-time-decoration-activity)
7976 (allout-widgets-hook-error-post-time)
7977 (allout-widgets-track-decoration):
7978 Add missing :version tags to new defcustoms and defgroups.
7979
5fec1b8e
GM
7980 * progmodes/sql.el (sql-ansi-statement-starters)
7981 (sql-oracle-statement-starters): Add custom type.
7982
3e0d2fa7
GM
7983 * progmodes/prolog.el: Remove leading '*' from defcustom docs.
7984 (prolog-system-version): Give it a type.
7985
90b671e2
EZ
79862012-02-11 Eli Zaretskii <eliz@gnu.org>
7987
7988 * term/pc-win.el (x-select-text, x-selection-owner-p)
7989 (x-own-selection-internal, x-disown-selection-internal)
7990 (x-get-selection-internal): Sync doc strings and argument lists
7991 with xselect.c, common-win.el and x-win.el. (Bug#10783)
7992
5eac0c02
LL
79932012-02-11 Leo Liu <sdl.web@gmail.com>
7994
7995 * progmodes/python.el (python-end-of-statement): Fix infinite
7996 loop. (Bug#10788)
7997
f82cb659
GM
79982012-02-10 Glenn Morris <rgm@gnu.org>
7999
8000 * international/mule-cmds.el (unify-8859-on-encoding-mode)
8001 (unify-8859-on-decoding-mode): Properly mark as obsolete.
8002
cc26d239
LI
80032012-02-10 Lars Ingebrigtsen <larsi@gnus.org>
8004
8005 * mail/emacsbug.el (report-emacs-bug-hook): Query the user first
8006 about SMTP before checking the From header.
8007
91027d08 8008 * mail/sendmail.el (sendmail-query-user-about-smtp): Refactor out
cc26d239
LI
8009 into own function for reuse by emacsbug.el.
8010
1be3ca5a
LL
80112012-02-10 Leo Liu <sdl.web@gmail.com>
8012
8013 * subr.el (condition-case-unless-debug): Rename from
8014 condition-case-no-debug. All callers changed.
8015 (with-demoted-errors): Fix caller.
8016
8017 * vc/diff-mode.el (diff-auto-refine-mode, diff-hunk):
8018 * nxml/rng-valid.el (rng-do-some-validation):
8019 * emacs-lisp/package.el (package-refresh-contents)
8020 (package-menu-execute):
8021 * desktop.el (desktop-create-buffer):
91027d08 8022 * font-lock.el (lisp-font-lock-keywords-2): Caller changed.
1be3ca5a 8023
b011fbfe
GM
80242012-02-10 Glenn Morris <rgm@gnu.org>
8025
b2096d72
GM
8026 * textmodes/bibtex.el:
8027 Add missing :version tags for new/changed defcustoms.
8028
b011fbfe
GM
8029 * files.el (remote-file-name-inhibit-cache): Doc fixes.
8030
4c7e65bf
LI
80312012-02-09 Lars Ingebrigtsen <larsi@rusty>
8032
8033 * mail/smtpmail.el (smtpmail-user-mail-address): New function.
8034 (smtpmail-via-smtp): Use it, or fall back on the From address.
8035 (smtpmail-send-it): Ditto.
8036
f3934f6f
SM
80372012-02-09 Stefan Monnier <monnier@iro.umontreal.ca>
8038
8039 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
8040 Don't fallback on byte-compile-defvar. Optimize (defvar foo) away.
8041 (byte-compile-tmp-var): New const.
8042 (byte-compile-defvar): Use it to minimize .elc size.
8043 Just use `defvar' rather than simulate it (bug#10761).
8044
a075a2c5
GM
80452012-02-09 Glenn Morris <rgm@gnu.org>
8046
cf3aa21b
GM
8047 * files.el (rename-uniquely): Doc fix. (Bug#3806)
8048
354998cd
GM
8049 * progmodes/cc-guess.el (c-guess-offset-threshold, c-guess-region-max):
8050 Add :version tags.
8051
dc9924b8
SM
8052 * progmodes/compile.el (compilation-error-screen-columns)
8053 (compilation-first-column, compilation-filter-start): Doc fixes.
83274125 8054
dab3703d
GM
8055 * vc/log-view.el (log-view-toggle-entry-display):
8056 * vc/vc.el (vc-merge, vc-pull): Doc fixes.
8057
3f88cd72
GM
8058 * mail/emacsbug.el (report-emacs-bug-can-use-osx-open)
8059 (report-emacs-bug-can-use-xdg-email):
8060 (report-emacs-bug-insert-to-mailer): Doc fixes.
8061 (report-emacs-bug): Message fix.
8062
d95b247d
GM
8063 * net/browse-url.el (browse-url-can-use-xdg-open)
8064 (browse-url-xdg-open): Doc fixes.
8065
a075a2c5
GM
8066 * electric.el (electric-indent-mode, electric-pair-mode)
8067 (electric-layout-rules, electric-layout-mode): Doc fixes.
8068 (electric-pair-pairs, electric-pair-skip-self): Add :version tags.
8069
ffb6157e
MR
80702012-02-08 Martin Rudalics <rudalics@gmx.at>
8071
8072 * server.el (server-unselect-display): Don't inadvertently kill
8073 the current buffer. (Bug#10729)
8074
e1ac4066
GM
80752012-02-08 Glenn Morris <rgm@gnu.org>
8076
34e8a2da
GM
8077 * progmodes/sql.el (sql-port, sql-connection-alist, sql-list-all)
8078 (sql-list-table): Doc fixes.
8079
b4ac6e8c
GM
8080 * image-mode.el (image-transform-minor-mode-map, image-transform-mode):
8081 Comment out (does nothing).
8082
e1ac4066
GM
8083 * completion.el (dynamic-completion-mode):
8084 * dirtrack.el (dirtrack-debug-mode):
8085 * electric.el (electric-layout-mode):
8086 * epa-mail.el (epa-mail-mode, epa-global-mail-mode):
8087 * face-remap.el (text-scale-mode, buffer-face-mode):
8088 * iimage.el (iimage-mode):
8089 * image-mode.el (image-transform-mode):
8090 * minibuffer.el (completion-in-region-mode):
8091 * scroll-lock.el (scroll-lock-mode):
8092 * simple.el (next-error-follow-minor-mode):
8093 * tar-mode.el (tar-subfile-mode):
8094 * tooltip.el (tooltip-mode):
8095 * vcursor.el (vcursor-use-vcursor-map):
8096 * wid-browse.el (widget-minor-mode):
8097 * emulation/tpu-edt.el (tpu-edt-mode):
8098 * emulation/tpu-extras.el (tpu-cursor-free-mode):
8099 * international/iso-ascii.el (iso-ascii-mode):
8100 * language/thai-util.el (thai-word-mode):
8101 * mail/supercite.el (sc-minor-mode):
8102 * net/goto-addr.el (goto-address-mode):
8103 * net/rcirc.el (rcirc-multiline-minor-mode, rcirc-track-minor-mode):
8104 * progmodes/cwarn.el (cwarn-mode):
8105 * progmodes/flymake.el (flymake-mode):
8106 * progmodes/glasses.el (glasses-mode):
8107 * progmodes/hideshow.el (hs-minor-mode):
8108 * progmodes/pascal.el (pascal-outline-mode):
8109 * textmodes/enriched.el (enriched-mode):
8110 * vc/smerge-mode.el (smerge-mode):
8111 Doc fixes (minor mode argument).
8112
5e0d957f
EZ
81132012-02-07 Eli Zaretskii <eliz@gnu.org>
8114
8115 * ls-lisp.el (ls-lisp-sanitize): New function.
8116 (ls-lisp-insert-directory): Use it to fix or remove any elements
8117 in file-alist with missing attributes. (Bug#4673)
8118
98d7371e
AM
81192012-02-07 Alan Mackenzie <acm@muc.de>
8120
8121 Fix spurious recognition of c-in-knr-argdecl.
8122
8123 * progmodes/cc-engine.el (c-in-knr-argdecl): Check for '=' in a
8124 putative K&R region.
8125
667ced3a
AM
81262012-02-07 Alan Mackenzie <acm@muc.de>
8127
eb864a71
LM
8128 * progmodes/cc-engine.el (c-forward-objc-directive):
8129 Prevent looping in "#pragma mark @implementation".
667ced3a 8130
5b77774d
MA
81312012-02-07 Michael Albinus <michael.albinus@gmx.de>
8132
8133 * notifications.el (notifications-on-closed-signal): Make `reason'
8134 optional. (Bug#10744)
8135
af008560
GM
81362012-02-07 Glenn Morris <rgm@gnu.org>
8137
60d47423
GM
8138 * emacs-lisp/easy-mmode.el (define-minor-mode):
8139 Doc fixes for the macro and the mode it defines.
8140
dd605cc4
GM
8141 * image.el (imagemagick-types-inhibit): Doc fix.
8142
af008560
GM
8143 * cus-start.el (imagemagick-render-type): Add it.
8144
5cc59a37
LI
81452012-02-06 Lars Ingebrigtsen <larsi@gnus.org>
8146
4d6769e1
JB
8147 * progmodes/cc-mode.el (c-standard-font-lock-fontify-region-function):
8148 Set the default at load time, too, so that `font-lock-fontify-buffer'
8149 can be called without setting up the entire mode first. This fixes
8150 a bug in `mm-inline-text' with C MIME parts.
5cc59a37 8151
9a6dd747
CY
81522012-02-06 Chong Yidong <cyd@gnu.org>
8153
2d16b285
CY
8154 * simple.el (list-processes--refresh): Delete exited processes
8155 (Bug#8094).
8156
171e9b6e
CY
8157 * comint.el (comint-next-prompt): next-single-char-property-change
8158 and prev-single-char-property-change never return nil (Bug#8657).
8159
9a6dd747
CY
8160 * custom.el (defcustom): Doc fix (Bug#9711).
8161
aa4589a7
CY
81622012-02-05 Chong Yidong <cyd@gnu.org>
8163
5c2a252f
CY
8164 * cus-edit.el (custom-variable-reset-backup): Quote the value
8165 before storing it in the customized-value property (Bug#6712).
4aab9006 8166 (custom-display): Add a customization type tag.
983b9602 8167 (custom-buffer-create-internal): Improve tooltip message.
5c2a252f 8168
aa4589a7
CY
8169 * wid-edit.el (widget-field-value-get): New optional arg to
8170 suppress trailing whitespace truncation.
8171 (character): Use it (Bug#2689).
8172
1ff980ae
AS
81732012-02-05 Andreas Schwab <schwab@linux-m68k.org>
8174
8175 * progmodes/gud.el (gud-pv): Use pv instead of pv1.
8176 * progmodes/gdb-mi.el (gud-pp): Use pp instead of pp1.
8177
03988c98
CY
81782012-02-05 Chong Yidong <cyd@gnu.org>
8179
eeb6cc88
CY
8180 * cus-edit.el (custom-variable-value-create): For mismatched
8181 types, show the current value (Bug#7600).
8182
03988c98
CY
8183 * custom.el (defcustom): Doc fix.
8184
f8cdeef0
GM
81852012-02-05 Glenn Morris <rgm@gnu.org>
8186
8187 * font-lock.el (lisp-font-lock-keywords-2): Add with-wrapper-hook.
8188
0696d255
JB
81892012-02-05 Juanma Barranquero <lekktu@gmail.com>
8190
8191 * emacs-lisp/pp.el (pp-to-string): Use `with-temp-buffer'.
8192 (pp-buffer): Use `ignore-errors', `looking-at-p'.
8193 (pp-last-sexp): Use `looking-at-p'.
8194
34c99998
GM
81952012-02-04 Glenn Morris <rgm@gnu.org>
8196
8f05da42
GM
8197 * files.el (revert-buffer):
8198 Doc fix (mention revert-buffer-in-progress-p).
8199
f160676e
GM
8200 * emacs-lisp/ert-x.el (ert-simulate-command):
8201 Check deferred-action-list (which is obsolete) is bound.
8202
c7291ad9
GM
8203 * subr.el (with-wrapper-hook): Doc fixes.
8204
34c99998
GM
8205 * simple.el (filter-buffer-substring-functions)
8206 (buffer-substring-filters, filter-buffer-substring): Doc fixes.
8207
6283a7d3
LL
82082012-02-04 Lars Ljung <lars@matholka.se> (tiny change)
8209
8210 * eshell/esh-ext.el (eshell-windows-shell-file): Match "cmdproxy"
8211 anywhere in shell-file-name, not just at the beginning. (Bug#10523)
8212
e96e3013
LL
82132012-02-04 Leo Liu <sdl.web@gmail.com>
8214
8215 * emacs-lisp/smie.el: Fix dead link (Bug#10711).
8216
8ded50f2
GM
82172012-02-04 Glenn Morris <rgm@gnu.org>
8218
82ff1d13
GM
8219 * image.el (image-extension-data): Add obsolete alias.
8220
987a0a16
GM
8221 * isearch.el (isearch-update): Doc fix.
8222
ea32ef46
GM
8223 * facemenu.el (list-colors-display): Doc fix (minor rephrasing).
8224
8ded50f2
GM
8225 * ido.el (ido-find-file): Doc fix (ido-toggle-vc not on any key).
8226
eea14f31
GM
82272012-02-03 Glenn Morris <rgm@gnu.org>
8228
8229 * image.el (image-animated-p): Doc fix. Use image-animated-types.
8230 (image-animate-timeout): Doc fix.
8231
8232 * image-mode.el (image-animate-loop, image-toggle-animation): Doc fixes.
8233
12f381b7
GM
82342012-02-02 Glenn Morris <rgm@gnu.org>
8235
953cebf5
GM
8236 * server.el (server-auth-dir): Doc fix.
8237 (server-eval-at): Doc fix. Give an explicit error if !server-use-tcp.
8238
12f381b7
GM
8239 * subr.el (run-mode-hooks): Doc fix.
8240
953a8c3b
JL
82412012-02-02 Juri Linkov <juri@jurta.org>
8242
8243 * image-mode.el (image-toggle-display-image): Remove tautological
8244 `major-mode' from the `derived-mode-p' test.
8245
c5d3843c
KH
82462012-02-02 Kenichi Handa <handa@m17n.org>
8247
9f6e692e 8248 * composite.el (compose-region): Cancel previous change.
c5d3843c 8249
159462d4 82502012-02-02 Kenichi Handa <handa@m17n.org>
d2a51fd7
KH
8251
8252 * composite.el (compose-region, compose-string): Signal error for
8253 a null string component (Bug#6988).
8254
9f562668
CY
82552012-02-01 Chong Yidong <cyd@gnu.org>
8256
e2cef717
CY
8257 * view.el (view-buffer-other-window, view-buffer-other-frame):
8258 Handle special modes like view-buffer (Bug#10650).
8259 (view-buffer): Simplify.
8260
9f562668
CY
8261 * frame.el (set-frame-font): Tweak meaning of third argument.
8262
9f6e692e
JB
8263 * dynamic-setting.el (font-setting-change-default-font):
8264 Use set-frame-font (Bug#9982).
9f562668 8265
781acb9f
GM
82662012-02-01 Glenn Morris <rgm@gnu.org>
8267
6035be52
GM
8268 * progmodes/compile.el (compilation-internal-error-properties):
8269 Respect compilation-first-column in the "*compilation*" buffer.
8270
781acb9f
GM
8271 * emacs-lisp/easy-mmode.el (define-minor-mode):
8272 Relax :variable's test for a named function.
8273
abbceb00
AM
82742012-01-31 Alan Mackenzie <acm@muc.de>
8275
8276 * progmodes/cc-engine.el (c-guess-basic-syntax): CASE 5B.1: Fix an
8277 off by one error.
8278
fce3fdeb
CY
82792012-01-31 Chong Yidong <cyd@gnu.org>
8280
8281 * frame.el (set-frame-font): New arg ALL-FRAMES.
8282
8283 * menu-bar.el (menu-set-font): Use set-frame-font.
8284
8285 * faces.el (face-spec-reset-face): Don't apply unspecified
8286 attribute values to the default face.
8287
47893581
JB
82882012-01-31 Juanma Barranquero <lekktu@gmail.com>
8289
8290 * progmodes/cwarn.el (cwarn): Remove dead link.
8291 (cwarn-configuration, cwarn-verbose, cwarn-mode-text, cwarn-load-hook):
8292 Remove * from defcustom docstrings.
8293 (turn-on-cwarn-mode): Make obsolete.
8294 (c-at-toplevel-p): Remove compatibility code for Emacs 20.3 and older.
8295 (turn-on-cwarn-mode-if-enabled): Call `cwarn-mode'.
8296
e58e988a
GM
82972012-01-31 Glenn Morris <rgm@gnu.org>
8298
60dc2671 8299 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
6c9b47ae 8300 Fix :variable handling of mode a symbol not equal to modefun.
60dc2671 8301 Allow named functions to be used as the cdr of :variable.
e58e988a 8302
7a3f511d
GM
83032012-01-30 Glenn Morris <rgm@gnu.org>
8304
8305 * emacs-lisp/authors.el (authors-fixed-entries):
8306 Remove reference to deleted file rnewspost.el.
8307
cb882333
JB
83082012-01-29 Juanma Barranquero <lekktu@gmail.com>
8309
8310 * window.el (window-with-parameter): Remove unused variable `windows'.
8311 (window--side-check): Remove unused variable `code'.
8312 (window--resize-siblings): Remove unused variable `first'.
8313 (adjust-window-trailing-edge): Remove unused variable `failed'.
8314 (window-deletable-p, window--delete): Remove unused variable `buffer'.
8315 Use `let', not `let*'.
8316 (balance-windows-2): Remove unused variable `found'.
8317 (window--state-put-2): Remove unused variable `splits'.
8318 (window-state-put): Remove unused variable `selected'.
8319 (same-window-p): Use `string-match-p'.
8320 (display-buffer-assq-regexp): Remove unused variable `value'.
8321 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
8322 Mark argument ALIST as ignored.
8323 (pop-to-buffer): Remove unused variable `old-window'.
8324
907201af
EZ
83252012-01-29 Eli Zaretskii <eliz@gnu.org>
8326
8327 * jka-cmpr-hook.el (jka-compr-compression-info-list): Support .lz
8328 and .lzma compressed files.
8329
ea162670
CY
83302012-01-29 Chong Yidong <cyd@gnu.org>
8331
5b95ee8a
CY
8332 * frame.el (window-system-default-frame-alist): Doc fix.
8333
ea162670
CY
8334 * dynamic-setting.el (font-setting-change-default-font): Don't
8335 change the default face if SET-FONT argument is non-nil (Bug#9982).
8336
d6e6f4b1
SB
83372012-01-29 Samuel Bronson <naesten@gmail.com> (tiny change)
8338
8339 * custom.el (defcustom): Add doc link to Lisp manual (Bug#10635).
8340
0f29fa41 83412012-01-29 Syver Enstad <syver.enstad@cisco.com> (tiny change)
6b25e4e2
SE
8342
8343 * progmodes/gud.el (pdb): Give pdb full paths, to allow setting
8344 breakpoints in files outside current directory (Bug#6098).
8345
db174434
CY
83462012-01-29 Chong Yidong <cyd@gnu.org>
8347
6b25e4e2
SE
8348 * progmodes/python.el: Require ansi-color at top-level.
8349
6df6ae42
JB
8350 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-abbrev-table):
8351 Define and use in Emacs Lisp mode (Bug#9360).
db174434
CY
8352 (lisp-mode-abbrev-table): Add doc.
8353 (lisp-mode-variables): Don't set local-abbrev-table.
8354 (lisp-interaction-mode): Use emacs-lisp-mode-abbrev-table.
8355
e70ee681
RW
83562012-01-28 Roland Winkler <winkler@gnu.org>
8357
8358 * textmodes/bibtex.el (bibtex-vec-incr): Fix docstring.
8359
ace88aa2
RW
83602012-01-28 Roland Winkler <winkler@gnu.org>
8361
8362 * textmodes/bibtex.el (bibtex-entry-alist): New function.
8363 (bibtex-set-dialect): Use it. Either set global values of
8364 dialect-dependent variables or bind these variables buffer-locally
8365 (Bug#10254).
8366 (bibtex-mode): Call bibtex-set-dialect via
8367 hack-local-variables-hook.
eb864a71
LM
8368 (bibtex-dialect): Update docstring.
8369 Add safe-local-variable predicate.
ace88aa2
RW
8370 (bibtex-entry-alist, bibtex-field-alist): Initialize via
8371 bibtex-set-dialect.
8372 (bibtex-mode-map): Define menu for each dialect.
8373 (bibtex-entry): Fix docstring.
8374
93376c5b
CY
83752012-01-28 Chong Yidong <cyd@gnu.org>
8376
8377 * eshell/esh-arg.el (eshell-quote-argument): New function.
8378
8379 * eshell/esh-ext.el (eshell-invoke-batch-file):
8380 * eshell/em-unix.el (eshell/cat, eshell/du): Use it to quote the
8381 first arg to eshell-parse-command (Bug#10523).
8382
4372494f
DA
83832012-01-28 Drew Adams <drew.adams@oracle.com>
8384
8385 * net/ange-ftp.el (ange-ftp-canonize-filename): Check, that
8386 `default-directory' is non-nil.
8387
4d4ec1f8
EZ
83882012-01-28 Eli Zaretskii <eliz@gnu.org>
8389
8390 * mail/emacsbug.el (report-emacs-bug): Fill the potentially long
8391 line that displays system-configuration-options. (Bug#9924)
8392
7c188927
DA
83932012-01-28 Drew Adams <drew.adams@oracle.com>
8394
8395 * descr-text.el (describe-char): Show information about POS, in
8396 addition to information about the character at POS. Improve and
8397 update the doc string. Change "code point" to "code point in
8398 charset", to avoid confusion with the character's Unicode code
8399 point shown above that. (Bug#10129)
8400
e0da685a
EZ
84012012-01-28 Eli Zaretskii <eliz@gnu.org>
8402
8403 * descr-text.el (describe-char): Show the raw character, not only
8404 its display form at POS. Suggested by Kenichi Handa <handa@m17n.org>.
8405 See http://lists.gnu.org/archive/html/emacs-devel/2012-01/msg00760.html
8406 for the reasons.
8407
70550acf
PH
84082012-01-28 Phil Hagelberg <phil@hagelb.org>
8409
eb864a71
LM
8410 * emacs-lisp/package.el (package-install):
8411 Run package-refresh-contents if there is no archive yet (Bug#9798).
70550acf 8412
0ce8e868
CY
84132012-01-28 Chong Yidong <cyd@gnu.org>
8414
cb882333
JB
8415 * emacs-lisp/package.el (package-maybe-load-descriptor):
8416 New function, split from package-maybe-load-descriptor.
0ce8e868
CY
8417 (package-maybe-load-descriptor): Use it.
8418 (package-download-transaction): Fully load required packages
8419 inside the loop, so that `require' calls work (Bug#10593).
8420 (package-install): No need to call package-initialize now.
8421
2e7f3bea
CY
84222012-01-28 Chong Yidong <cyd@gnu.org>
8423
6e9bad14
CY
8424 * simple.el (deactivate-mark): Doc fix (Bug#8614).
8425
f823b8ca
CY
8426 * tooltip.el (tooltip-mode): Doc fix.
8427 (tooltip-use-echo-area): Mark as obsolete (Bug#6595).
8428
2680c309
CY
8429 * frame.el (set-cursor-color): Doc fix (Bug#352).
8430
d7a9e63b
CY
8431 * mail/rmail.el (rmail-start-mail): Add send-action again (Bug#10625).
8432 (rmail-mail-return): Switch to NEWBUF only if it is non-nil.
8433
2e7f3bea
CY
8434 * cus-edit.el (custom-buffer-create-internal): Fix search button
8435 action (Bug#10542).
2ae01800 8436 (customize-unsaved, customize-saved): Doc fix (Bug#10541).
2e7f3bea 8437
fc4f7a23
EW
84382012-01-27 Eduard Wiebe <usenet@pusto.de>
8439
8440 * dired.el (dired-mark-files-regexp):
8441 Include any subdirectory components. (Bug#10445)
8442
7dd37071
ML
84432012-01-27 Mike Lamb <mrlamb@gmail.com> (tiny change)
8444
8445 * pcmpl-unix.el (pcmpl-ssh-known-hosts):
8446 Handle [host]:port syntax. (Bug#10533)
8447
a268160b
AH
84482012-01-27 Alex Harsanyi <harsanyi@mac.com>
8449
8450 * xml.el (xml-parse-tag): Fix parsing of comments (Bug#10405).
8451
e43273ef
GM
84522012-01-26 Glenn Morris <rgm@gnu.org>
8453
8454 * dired-x.el (dired-bind-jump): Use ctl-x-map and ctl-x-4-map.
8455 * term.el (term-raw-escape-map): Use Control-X-prefix.
8456 * vc/vc-hooks.el (vc-prefix-map): Use ctl-x-map. (Bug#10566)
8457
1edf595d
MR
84582012-01-25 Martin Rudalics <rudalics@gmx.at>
8459
8460 * window.el (window-state-get, window--state-get-1): Don't deal
8461 with fixed-sizeness of windows. Simplify code.
8462
fa8eafef
JC
84632012-01-25 Jérémy Compostella <jeremy.compostella@gmail.com>
8464
6df6ae42
JB
8465 * window.el (window--state-get-1, window--state-put-2):
8466 Don't save and restore the mark.
fa8eafef 8467
0b21c100
CY
84682012-01-25 Chong Yidong <cyd@gnu.org>
8469
8470 * custom.el (custom-variable-p): Doc fix.
8471
5ae1a6c8
GM
84722012-01-25 Glenn Morris <rgm@gnu.org>
8473
40047858
GM
8474 * dired.el (dired-goto-file): Handle some of the more common
8475 characters that `ls -b' escapes. (Bug#10596)
8476
5ddce96c
GM
8477 * progmodes/compile.el (compilation-next-error-function):
8478 Respect compilation-first-column in the "*compilation*" buffer.
8479 * progmodes/grep.el (grep-first-column): New variable. (Bug#10594)
8480
5ae1a6c8
GM
8481 * vc/vc.el (vc-modify-change-comment): Scoping fix. (Bug#10513)
8482
b559f1a9
GM
84832012-01-24 Glenn Morris <rgm@gnu.org>
8484
8485 * pcmpl-gnu.el (pcomplete/tar): Handle " - ". (Bug#10457)
8486
6725d21a
JD
84872012-01-24 Julien Danjou <julien@danjou.info>
8488
8489 * color.el (color-rgb-to-hsl): Fix value computing.
8490 (color-hue-to-rgb): New function.
8491 (color-hsl-to-rgb): New function.
8492 (color-clamp, color-saturate-hsl, color-saturate-name)
8493 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
8494 (color-lighten-name, color-darken-hsl, color-darken-name): New function.
8495
70df4bbe
GM
84962012-01-24 Glenn Morris <rgm@gnu.org>
8497
8498 * vc/vc-rcs.el (vc-rcs-create-tag):
8499 * vc/vc-sccs.el (vc-sccs-create-tag):
8500 Fix argument spec to be what vc-create-tag expects. (Bug#10515)
8501
802a2ae2
ML
85022012-01-23 Mike Lamb <mrlamb@gmail.com> (tiny change)
8503
8504 * eshell/esh-util.el (eshell-read-hosts-file):
8505 Skip comment lines. (Bug#10549)
8506
d7128bb1
ML
8507 * eshell/em-unix.el (pcomplete/ssh): Remove. (Bug#10548)
8508
d1a5c3b4
JB
85092012-01-23 Juanma Barranquero <lekktu@gmail.com>
8510
2724d9c7
JB
8511 * subr.el (display-delayed-warnings): Doc fix.
8512 (collapse-delayed-warnings): New function to collapse identical
8513 adjacent warnings.
8514 (delayed-warnings-hook): Add it.
d1a5c3b4 8515
a5509865
MA
85162012-01-22 Michael Albinus <michael.albinus@gmx.de>
8517
8518 * net/tramp.el (tramp-action-login): Set connection property "login-as".
8519
a5509865
MA
8520 * net/tramp-sh.el (tramp-methods): Add user spec to "pscp" and "psftp".
8521 (tramp-default-user-alist): Don't add "pscp".
8522 (tramp-do-copy-or-rename-file-out-of-band): Use connection
8523 property "login-as", if set. (Bug#10530)
8524
cc6d5805
MA
85252012-01-21 Michael Albinus <michael.albinus@gmx.de>
8526
8527 * net/tramp-sh.el (tramp-default-user-alist): Don't add "plink",
8528 "plink1" and "psftp". (Bug#10530)
8529
85302012-01-21 Kenichi Handa <handa@m17n.org>
71784361
KH
8531
8532 * international/mule-cmds.el (prefer-coding-system): Show a
8533 warning message if the default value of file-name-coding-system
8534 was not changed.
8535
f0960428
JC
85362012-01-21 Jérémy Compostella <jeremy.compostella@gmail.com>
8537
cb882333
JB
8538 * windmove.el (windmove-reference-loc):
8539 Fix windmove-reference-loc miscalculation.
f0960428 8540
dd6f2a63
JB
85412012-01-21 Jay Belanger <jay.p.belanger@gmail.com>
8542
8543 * calc/calc-units.el (math-put-default-units): Don't use "1" as a
8544 default unit.
8545
7b447e9b
GM
85462012-01-21 Glenn Morris <rgm@gnu.org>
8547
117a9ea1
GM
8548 * international/mule.el (auto-coding-alist): Add .tbz.
8549
7b447e9b
GM
8550 * files.el (local-enable-local-variables): Doc fix.
8551 (inhibit-local-variables-regexps): Rename from
8552 inhibit-first-line-modes-regexps. Keep old name as obsolete alias.
8553 Doc fix. Add some extensions from auto-coding-alist.
8554 (inhibit-local-variables-suffixes):
8555 Rename from inhibit-first-line-modes-suffixes. Doc fix.
8556 (inhibit-local-variables-p):
8557 New function, extracted from set-auto-mode-1.
8558 (set-auto-mode): Doc fix. Respect inhibit-local-variables-regexps.
8559 (set-auto-mode-1): Doc fix. Use inhibit-local-variables-p.
8560 (hack-local-variables): Doc fix. Make the mode-only case
8561 respect enable-local-variables and friends.
8562 Respect inhibit-local-variables-regexps for file-locals, but
8563 not for directory-locals.
8564 (set-visited-file-name):
8565 Take account of inhibit-local-variables-regexps.
8566 Whether it applies may change as the file name is changed.
8567 * jka-cmpr-hook.el (jka-compr-install):
8568 * jka-compr.el (jka-compr-uninstall):
8569 Update for inhibit-first-line-modes-suffixes name change.
8570
dd6e3cdd
MR
85712012-01-20 Martin Rudalics <rudalics@gmx.at>
8572
8573 * help-macro.el (make-help-screen): Temporarily restore original
8574 binding for minor-mode-map-alist (Bug#10454).
8575
0d0deb38
JD
85762012-01-19 Julien Danjou <julien@danjou.info>
8577
8578 * color.el (color-name-to-rgb): Use the white color to find the max
8579 color component value and return correctly computed values.
8580 (color-name-to-rgb): Add missing float conversion for max value.
8581
34a02f46
MR
85822012-01-19 Martin Rudalics <rudalics@gmx.at>
8583
8584 * window.el (window--state-get-1, window-state-get): Do not use
eb864a71
LM
8585 special state value for window-persistent-parameters.
8586 Rename argument IGNORE to WRITABLE. Rewrite doc-string.
34a02f46
MR
8587 (window--state-put-2): Reset all window parameters to nil before
8588 assigning values of persistent parameters.
8589
606c44c4
AM
85902012-01-18 Alan Mackenzie <acm@muc.de>
8591
8592 Eliminate sluggishness and hangs in fontification of "semicolon
8593 deserts".
8594
cb882333
JB
8595 * progmodes/cc-engine.el (c-state-nonlit-pos-interval):
8596 Change value 10000 -> 3000.
606c44c4
AM
8597 (c-state-safe-place): Reformulate so it doesn't stack up an
8598 infinite number of wrong entries in c-state-nonlit-pos-cache.
8599 (c-determine-limit-get-base, c-determine-limit): New functions to
8600 determine backward search limits disregarding literals.
8601 (c-find-decl-spots): Amend commenting.
8602 (c-cheap-inside-bracelist-p): New function which detects "={".
8603
8604 * progmodes/cc-fonts.el
8605 (c-make-font-lock-BO-decl-search-function): Give a limit to a
8606 backward search.
8607 (c-font-lock-declarations): Fix an occurrence of point being
8608 undefined. Check additionally for point being in a bracelist or
8609 near a macro invocation without a semicolon so as to avoid a
8610 fruitless time consuming search for a declarator. Give a more
8611 precise search limit for declarators using the new
8612 c-determine-limit.
8613
f3860cea
GM
86142012-01-18 Glenn Morris <rgm@gnu.org>
8615
8616 * files.el (auto-mode-alist, inhibit-first-line-modes-regexps)
8617 (set-auto-mode): Doc fixes.
8618
1db03b16
GM
86192012-01-17 Glenn Morris <rgm@gnu.org>
8620
0e6038be
GM
8621 * isearch.el (search-nonincremental-instead): Fix doc typo.
8622
1db03b16
GM
8623 * dired.el (dired-insert-directory): Handle newlines in directory name.
8624 (dired-build-subdir-alist): Unescape newlines in directory name.
8625
4cb0aa75
MA
86262012-01-17 Michael Albinus <michael.albinus@gmx.de>
8627
8628 * net/tramp.el (tramp-local-end-of-line): New defcustom.
8629 (tramp-action-login, tramp-action-yesno, tramp-action-yn)
8630 (tramp-action-terminal): Use it. (Bug#10530)
8631
1d00653d
SM
86322012-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
8633
8634 * minibuffer.el (completion--replace): Strip properties (bug#10062).
8635
6a6ee00d
MR
86362012-01-16 Martin Rudalics <rudalics@gmx.at>
8637
8638 * window.el (window-state-ignored-parameters): Remove variable.
8639 (window--state-get-1): Rename argument MARKERS to IGNORE.
8640 Handle persistent window parameters. Make copy of clone-of
8641 parameter only if requested. (Bug#10348)
8642 (window--state-put-2): Install a window parameter only if it has
8643 a non-nil value or an existing parameter shall be overwritten.
8644
97912def
MA
86452012-01-15 Michael Albinus <michael.albinus@gmx.de>
8646
8647 * net/tramp-sh.el (tramp-remote-path): Set tramp-autoload cookie.
8648
688070a5
EZ
86492012-01-14 Eli Zaretskii <eliz@gnu.org>
8650
8651 * info.el (Info-toc-build): If the Info file has no "Up" pointer,
8652 don't pass the (nil) value of `upnode' to string-match.
8653
301afadc
CY
86542012-01-14 Chong Yidong <cyd@gnu.org>
8655
8656 * startup.el (command-line): Fix X resource class for cursorColor.
04877ddb 8657 Fix values recognized by the cursorBlink resource.
301afadc 8658
9e5788aa
PE
86592012-01-14 Paul Eggert <eggert@cs.ucla.edu>
8660
8661 * epg.el (epg--make-temp-file): Avoid permission race condition
8662 when running on old Emacs versions (bug#10403).
8663
3cdb7f5a
GM
86642012-01-14 Glenn Morris <rgm@gnu.org>
8665
8666 * dired.el (dired-get-filename): Fix 'verbatim case of previous change.
8667
8c82b1b4
AM
86682012-01-13 Alan Mackenzie <acm@muc.de>
8669
8670 Fix filling for when filladapt mode is enabled.
8671
8672 * progmodes/cc-cmds.el (c-fill-paragraph): In the invocation of
8673 c-mask-paragraph, pass in `fill-paragraph' rather than
8674 `fill-region-as-paragraph'. (This is a reversion of a previous
8675 change.)
eb864a71
LM
8676 * progmodes/cc-mode.el (c-basic-common-init):
8677 Make fill-paragraph-handle-comment buffer local and set it to nil.
8c82b1b4 8678
e517eda4
GM
86792012-01-13 Glenn Morris <rgm@gnu.org>
8680
1498536e
GM
8681 * dired.el (dired-switches-escape-p): New function.
8682 (dired-insert-directory): Use dired-switches-escape-p.
8683 (dired-get-filename): Undo "\ " quoting if needed. (Bug#10469)
8684
e517eda4
GM
8685 * find-dired.el (find-ls-option): Doc fix. (Bug#10262)
8686
328f984d
GM
86872012-01-12 Glenn Morris <rgm@gnu.org>
8688
8689 * mail/sendmail.el (mail-mode): Update paragraph-separate for
8690 changes in adaptive-fill-regexp. (Bug#10276)
8691
2cc769a8
AM
86922012-01-11 Alan Mackenzie <acm@muc.de>
8693
8694 Fix Emacs bug #10463 - put `widen's around the critical spots.
8695
1d00653d 8696 * progmodes/cc-engine.el (c-in-literal, c-literal-limits): Put a
2cc769a8
AM
8697 widen around each invocation of c-state-pp-to-literal. Remove an
8698 unused let variable.
8699
e52c37fa
GM
87002012-01-11 Glenn Morris <rgm@gnu.org>
8701
8702 * dired-aux.el (dired-do-shell-command): Fix */? logic. (Bug#6561)
09044622 8703 Doc fix.
e52c37fa 8704
96f8741e
CY
87052012-01-10 Chong Yidong <cyd@gnu.org>
8706
1d00653d
SM
8707 * net/network-stream.el (network-stream-open-starttls):
8708 Avoid emitting a confusing error message when the server gives a bad
96f8741e
CY
8709 response to the capability command.
8710
b09a806e
GM
87112012-01-10 Glenn Morris <rgm@gnu.org>
8712
8713 * mail/unrmail.el (unrmail): Tweak previous change.
8714
7655cb66
CY
87152012-01-09 Chong Yidong <cyd@gnu.org>
8716
8717 * custom.el (custom-safe-themes): Use SHA-256 for hashing.
8718
9d5a8f0b
AM
87192012-01-08 Alan Mackenzie <acm@muc.de>
8720
8721 Optimise font locking in long enum definitions.
8722
8723 * progmodes/cc-fonts.el (c-font-lock-declarations): Add an extra
8724 arm to a cond form to handle enums.
8725 * progmodes/cc-langs.el (c-enums-contain-decls): New lang variable.
8726 * progmodes/cc-mode.el (c-font-lock-fontify-region): Correct a typo.
8727
9a0115ab 87282012-01-07 Paul Eggert <eggert@cs.ucla.edu>
6bb72cbd
PE
8729
8730 * files.el (move-file-to-trash): Preserve default file modes on error.
a0562b3d 8731 (Bug#10401)
6bb72cbd 8732
f186bb95
LMI
87332012-01-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
8734
29232a68
LMI
8735 * faces.el (set-face-attribute): Clarify the meaning of the nil
8736 frame (bug#10294).
8737
4e5d086d
LMI
8738 * subr.el (with-selected-frame): Mention that the selected frame
8739 is restored (bug#9980).
8740
8e66aebe
LMI
8741 * ibuffer.el (ibuffer-mode): List the bindings in the corrent map
8742 (bug#9759).
8743
cd394be1 8744 * mail/smtpmail.el (password-cache-add): Remove unused declaration.
f186bb95
LMI
8745 (password-read): Don't autoload unused function.
8746
adf4e762
JB
87472012-01-07 Juanma Barranquero <lekktu@gmail.com>
8748
8749 * progmodes/which-func.el (which-func-mode): Turn into a
8750 non-interactive function and mark as obsolete (bug#10428).
8751
89bd9ccd
CY
87522012-01-06 Chong Yidong <cyd@gnu.org>
8753
8754 * files.el (hack-dir-local-variables-non-file-buffer): Add doc.
8755 (hack-one-local-variable-eval-safep): Allow 0 arg for minor mode
8756 functions, along with 1 and -1.
8757
4afee9d5
EZ
87582012-01-06 Eli Zaretskii <eliz@gnu.org>
8759
8760 * time.el (display-time-load-average)
8761 (display-time-default-load-average): Doc fixes. See the thread
8762 starting at
8763 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-01/msg00059.html
8764 for the details.
8765
536aea70
GM
87662012-01-06 Glenn Morris <rgm@gnu.org>
8767
665ae865
GM
8768 * mail/unrmail.el (unrmail): Give an explicit error if the input file
8769 has no messages. (Bug#10377)
8770
c869783d
GM
8771 * info.el (Info-mode-map): Bind e to end-of-buffer, rather
8772 than Info-edit. (Bug#10385)
8773
2bb4227e
GM
8774 * time.el (display-time-load-average, display-time-next-load-average):
8775 Doc fixes.
8776
7d5944b9
GM
8777 * emacs-lisp/bytecomp.el (byte-compile-file): Do not propagate a file
8778 local setting of buffer-read-only to the input buffer. (Bug#10419)
8779
536aea70
GM
8780 * calendar/calendar.el (calendar-mode):
8781 Locally set scroll-margin to 0. (Bug#10379)
8782
7dccca16
UM
87832012-01-06 Ulrich Mueller <ulm@gentoo.org>
8784
8785 * play/doctor.el (doctor-death): Escape "," characters. (Bug#10370)
8786
afbb7930
GM
87872012-01-05 Glenn Morris <rgm@gnu.org>
8788
8789 * eshell/em-unix.el (diff-no-select): Autoload it.
8790 (eshell/diff): Use diff-no-select. (Bug#10420)
8791
04482335
CY
87922012-01-05 Chong Yidong <cyd@gnu.org>
8793
7baca3bc
CY
8794 * shell.el (shell-dynamic-complete-functions): Revert last change.
8795 (shell-command-completion-function): New function.
8796 (shell-completion-vars): Use it to implement
8797 shell-completion-execonly (Bug#10417).
8798
04482335
CY
8799 * custom.el (enable-theme): Don't set custom-safe-themes.
8800
1d00653d
SM
8801 * cus-theme.el (custom-theme-merge-theme):
8802 Ignore custom-enabled-themes and custom-safe-themes.
04482335 8803
bb5aa5d6
MM
88042012-01-05 Michael R. Mauger <mmaug@yahoo.com>
8805
8806 * progmodes/sql.el (sql-login-hook): Add hook to respond to the
8807 first prompt in `sql-interacive-mode'.
8808 (sql-mode-oracle-font-lock-keywords): Add CONNECT_BY_* builtin
04482335 8809 keywords.
6df6ae42 8810 (sql-mode-mysql-font-lock-keywords): Add ELSEIF keyword.
bb5aa5d6
MM
8811 (sql-product-interactive): Bug fix: Set `sql-buffer' in
8812 context of original buffer. Invoke `sql-login-hook'.
8813
a7183d7c
EZ
88142012-01-04 Eli Zaretskii <eliz@gnu.org>
8815
8816 * mail/rmail.el (rmail-font-lock-keywords): Accept non-ASCII
8817 letters in cite-prefix.
8818
a1eacd1e
LMI
88192012-01-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
8820
8821 * mail/smtpmail.el (smtpmail-stream-type): Mention the `ssl' value.
8822
787cdb34
CY
88232012-01-03 Chong Yidong <cyd@gnu.org>
8824
1d00653d
SM
8825 * shell.el (shell-dynamic-complete-functions):
8826 Put pcomplete-completions-at-point, so as to try
787cdb34
CY
8827 comint-filename-completion first (Bug#10417).
8828
30710442
RS
88292012-01-02 Richard Stallman <rms@gnu.org>
8830
8831 * battery.el (battery-status-function):
8832 Detect when to use battery-yeeloong-sysfs.
8833 (battery-echo-area-format): Add string for Yeeloong.
8834 (battery-linux-proc-apm, battery-linux-proc-acpi): Doc fixes.
8835 (battery-yeeloong-sysfs): New function.
8836
f75bfc33
CY
88372012-01-02 Chong Yidong <cyd@gnu.org>
8838
8839 * dirtrack.el (dirtrack-list): Eliminate unused third element.
8840 (dirtrack): Merge code for handling relative filenames in prompt
8841 from shell-dir-cookie-watcher.
8842 (dirtrack-debug-message): New arg to avoid excess format calls.
8843
8844 * shell.el (shell-dir-cookie-re): Variable deleted.
8845 (shell-dir-cookie-watcher): Function deleted.
8846 (shell-mode): Don't use shell-dir-cookie-re, since it is redundant
8847 with dirtrack-mode.
8848
651e947e
EZ
88492012-01-01 Eli Zaretskii <eliz@gnu.org>
8850
1d00653d
SM
8851 * term/w32-win.el (dynamic-library-alist) <gnutls>:
8852 Load libgnutls-28.dll, from GnuTLS version 3.x, in preference to
651e947e
EZ
8853 libgnutls-26.dll.
8854
94d4c7dc
AS
88552011-12-31 Andreas Schwab <schwab@linux-m68k.org>
8856
8857 * emacs-lisp/bytecomp.el (byte-compile-file): Fix indentation.
8858
8d43f3cd
EZ
88592011-12-31 Eli Zaretskii <eliz@gnu.org>
8860
8861 * mail/rmail.el (rmail-show-message-1): Decode any RFC2047 encoded
8862 headers of non-MIME messages, when rmail-enable-mime is non-nil.
8863
98c8795a
MA
88642011-12-29 Michael Albinus <michael.albinus@gmx.de>
8865
8866 * net/tramp-sh.el (tramp-find-shell): Set "remote-shell" property
8867 also for alternative shells.
8868 (tramp-open-connection-setup-interactive-shell): Check, whether
8869 the shell is a busybox.
8870 (tramp-send-command): Don't suppress multiple prompts for
8871 busyboxes, it hurts.
8872
51281b32
CY
88732011-12-28 Chong Yidong <cyd@gnu.org>
8874
8875 * progmodes/gdb-mi.el (gdb-get-source-file-list)
8876 (gdb-get-source-file): Move mode line update to
8877 gdb-get-source-file (Bug#10087).
8878
2170cb53
CY
88792011-12-25 Chong Yidong <cyd@gnu.org>
8880
8881 * progmodes/gud.el (gud-gdb-fetch-lines-filter): Just use
8882 gud-gdb-marker-filter without taking it as an argument.
8883 (gud-gdb-run-command-fetch-lines): Caller changed.
8884 (gud-gdb-completion-function): New variable.
8885 (gud-gdb-completion-at-point): Use it.
8886 (gud-gdb-completions-1): Split from gud-gdb-completions.
8887
8888 * progmodes/gdb-mi.el (gdb-input): Accept command and handler
8889 function as separate arguments.
8890 (gdb-init-1, gdb-non-stop-handler, gdb-check-target-async)
8891 (gdb-tooltip-print-1, gud-watch, gdb-speedbar-update)
8892 (gdb-var-list-children, gdb-var-set-format, gdb-var-delete-1)
8893 (gdb-var-delete-children, gdb-edit-value, gdb-var-update)
8894 (gdb-stopped, def-gdb-auto-update-trigger)
8895 (gdb-place-breakpoints, gdb-select-thread, gdb-select-frame)
b81d40f0
JB
8896 (gdb-get-changed-registers, gdb-get-main-selected-frame):
8897 Callers changed.
2170cb53
CY
8898 (gud-gdbmi-completions): New function.
8899 (gdb): Use it for generating the completion table.
8900
be8b11bb
AM
89012011-12-24 Alan Mackenzie <acm@muc.de>
8902
8903 Introduce a mechanism to widen the region used in context font
1d00653d 8904 locking. Use this to protect declarations from losing their contexts.
be8b11bb 8905
1d00653d
SM
8906 * progmodes/cc-langs.el (c-before-font-lock-functions):
8907 Replace c-set-fl-decl-start with c-change-set-fl-decl-start (Renaming).
b81d40f0 8908 (c-before-context-fontification-functions): New defvar, a list of
be8b11bb
AM
8909 functions to be run just before context (etc.) font locking.
8910
8911 * progmodes/cc-mode.el (c-extend-font-lock-region-for-macros):
b81d40f0 8912 New, functionality extracted from
be8b11bb 8913 c-neutralize-syntax-in-and-mark-CPP.
b81d40f0 8914 (c-in-after-change-fontification): New variable.
be8b11bb
AM
8915 (c-after-change): Set c-in-after-change-fontification.
8916 (c-set-fl-decl-start): Rejig its interface, so it can be called
8917 from both after-change and context fontifying.
b81d40f0
JB
8918 (c-change-set-fl-decl-start, c-context-set-fl-decl-start):
8919 New functions.
8920 (c-standard-font-lock-fontify-region-function): New variable.
8921 (c-font-lock-fontify-region): New function.
be8b11bb 8922
341cf6ac
JL
89232011-12-24 Juri Linkov <juri@jurta.org>
8924
8925 * window.el (window--state-get-1): Set `FORCE' arg of `mark' to t.
8926 (Bug#10348)
8927
bffcee0a
MA
89282011-12-23 Michael Albinus <michael.albinus@gmx.de>
8929
8930 * net/ange-ftp.el (ange-ftp-copy-file-internal): Check for
8931 existence of source file. (Bug#10325)
8932
cb5e207c
AM
89332011-12-23 Alan Mackenzie <acm@muc.de>
8934
8935 Fix unstable fontification inside templates.
8936
b81d40f0
JB
8937 * progmodes/cc-langs.el (c-before-font-lock-functions):
8938 Newly created from the singular version. The (c c++ objc) entry now
cb5e207c
AM
8939 additionally has c-set-fl-decl-start. The other languages (apart
8940 from AWK) have that as a single entry.
8941
b81d40f0
JB
8942 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
8943 The functionality for "local" declarations has been extracted to
cb5e207c
AM
8944 c-set-fl-decl-start.
8945
b81d40f0
JB
8946 * progmodes/cc-mode.el (c-common-init, c-after-change):
8947 Changes due to pluralisation of c-before-font-lock-functions.
cb5e207c
AM
8948 (c-set-fl-decl-start): New function, extracted from
8949 c-font-lock-enclosing-decls and enhanced.
8950
60ff536c
JB
89512011-12-23 Juanma Barranquero <lekktu@gmail.com>
8952
8953 * desktop.el (desktop-internal-v2s): Fix typos in docstring (bug#10353).
8954
1c4757d6
JL
89552011-12-22 Juri Linkov <juri@jurta.org>
8956
8957 * progmodes/grep.el (rgrep): Fix docstring. (Bug#10185)
8958
d031f2c7
CY
89592011-12-22 Chong Yidong <cyd@gnu.org>
8960
8961 * vc/vc-hooks.el (vc-keep-workfiles): Doc fix.
8962
bace743a
DA
89632011-12-21 Drew Adams <drew.adams@oracle.com>
8964
8965 * files.el (file-remote-p): Fix docstring. (Bug#10319)
8966
728a1f2b
JC
89672011-12-21 Jérémy Compostella <jeremy.compostella@gmail.com>
8968
8969 * battery.el (battery-linux-sysfs): Add missing parameters from acpi.
8970
0d373f73
TZ
89712011-12-21 Teodor Zlatanov <tzz@lifelogs.com>
8972
fec0aaa4
TZ
8973 * progmodes/cfengine.el: Add Version. Improve CFEngine 3.x syntax
8974 highlighting and support. Fix up comments for capitalization.
8975 (cfengine-mode-debug): New var.
8976 (cfengine3-mode): Change the modeline indicator to "CFE3".
8977 (cfengine3-font-lock-keywords): Improve defun highlighting.
8978 (cfengine2-actions): Rename from `cfengine-actions'.
8979 (cfengine2-font-lock-keywords): Rename from
8980 `cfengine-font-lock-keywords'.
8981 (cfengine2-imenu-expression): Rename from
8982 `cfengine-imenu-expression'.
8983 (cfengine2-outline-level): Rename from `cfengine-outline-level'.
8984 (cfengine2-beginning-of-defun): Rename from
8985 `cfengine-beginning-of-defun'.
8986 (cfengine2-end-of-defun): Rename from `cfengine-end-of-defun'.
8987 (cfengine2-indent-line): Rename from `cfengine-indent-line'.
8988 (cfengine2-mode): Rename from `cfengine-mode'. Change the
8989 modeline indicator to "CFE2".
8990 (cfengine-mode): Defalias to `cfengine-auto-mode'.
8991 (cfengine-mode-abbrevs): Mark obsolete.
0d373f73 8992
bc86f573
CY
89932011-12-21 Chong Yidong <cyd@gnu.org>
8994
8995 * vc/vc-bzr.el (vc-bzr-rename-file): Don't pass ~ to Bzr in
8996 filename argument.
8997
d45ba96b
MR
89982011-12-20 Martin Rudalics <rudalics@gmx.at>
8999
9000 * window.el (window-normalize-buffer-to-display): Remove.
9001 (display-buffer): Handle buffer-or-name argument as in Emacs 23.
9002
a6198c90
CY
90032011-12-19 Chong Yidong <cyd@gnu.org>
9004
9005 * vc/vc-dir.el (vc-dir-parent-marked-p, vc-dir-children-marked-p):
9006 Don't signal an error in a predicate function; return non-nil.
9007 (vc-dir-mark-file): Move the error here.
9008 (vc-dir-mark-unmark): If acting on the region, keep going if one
9009 of the entries cannot be marked/unmarked.
9010 (vc-dir-mark-all-files): If current entry is a directory, mark
9011 only child files, as documented.
9012
34c5fb55
VB
90132011-12-19 Vincent Belaïche <vincentb1@users.sourceforge.net>
9014
9015 * ses.el: Ooops... undo changes of 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net, as trunk
9016 branch is feature frozen, and 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net was a feature
9017 addition.
9018
c803b2b7
JD
90192011-12-18 Jan Djärv <jan.h.d@swipnet.se>
9020
9021 * term/ns-win.el (ns-get-selection-internal)
9022 (ns-store-selection-internal): Declare.
1154d12e
JB
9023 (ns-store-cut-buffer-internal, ns-get-cut-buffer-internal):
9024 Declare as obsolete.
9025 (ns-get-pasteboard, ns-paste-secondary):
9026 Use ns-get-selection-internal.
9027 (ns-set-pasteboard, ns-copy-including-secondary):
9028 Use ns-store-selection-internal.
c803b2b7 9029
9cff91f8 90302011-12-17 Chong Yidong <cyd@gnu.org>
99a289d9
CY
9031
9032 * vc/vc.el (vc-next-action): Doc fix; remove CVS-isms.
9cff91f8 9033 (vc-deduce-fileset): Doc fix.
99a289d9 9034
f16c898a
AS
90352011-12-16 Andreas Schwab <schwab@linux-m68k.org>
9036
9037 * calc/calc-misc.el (calc-help): Avoid wrapping help message.
9038
763237c4
SS
90392011-12-13 Sam Steingold <sds@gnu.org>
9040
9041 * man.el (Man-getpage-in-background): When running under a
9042 window-system, ignore $MANWIDTH and $COLUMNS.
9043
5fc1c122
KH
90442011-12-15 Kenichi Handa <handa@m17n.org>
9045
9046 * language/ethio-util.el: Change coding tag to utf-8-emacs.
9047 (setup-ethiopic-environment-internal): Comment out key-binding for
9048 ethio-toggle-punctuation.
9049
13d49cbb
AM
90502011-12-13 Alan Mackenzie <acm@muc.de>
9051
898169a2
AM
9052 Add the switch statement to AWK Mode.
9053
7a71b18d 9054 * progmodes/cc-awk.el (awk-font-lock-keywords): Add "switch", "case",
898169a2
AM
9055 "default" to the keywords regexp.
9056
7a71b18d 9057 * progmodes/cc-langs.el (c-label-kwds): Let AWK take the same
898169a2 9058 expression as the rest.
1d00653d
SM
9059 (c-nonlabel-token-key): Allow string literals for AWK.
9060 Refactor for the other modes.
898169a2 9061
13d49cbb 9062 Large brace-block initialisation makes CC Mode slow: Fix.
1d00653d 9063 Tidy up and accelerate c-in-literal, etc. by using the c-parse-state
13d49cbb
AM
9064 routines. Limit backward searching in c-font-lock-enclosing.decl.
9065
9066 * progmodes/cc-engine.el (c-state-pp-to-literal): Return the
9067 pp-state and literal type in addition to the limits.
1d00653d 9068 (c-state-safe-place): New defun, extracted from c-state-literal-at.
13d49cbb 9069 (c-state-literal-at): Use the above new defun.
1d00653d
SM
9070 (c-slow-in-literal, c-fast-in-literal): Remove.
9071 (c-in-literal, c-literal-limits): Amend to use c-state-pp-to-literal.
13d49cbb
AM
9072
9073 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Check for
9074 being in a literal. Add a limit for backward searching.
9075
9076 * progmodes/cc-mode.el (awk-mode): Don't alias c-in-literal to
9077 c-slow-in-literal.
9078
15e0efc7
SM
90792011-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
9080
9081 * progmodes/pascal.el: Declare `ind' as dyn-bound (bug#10264).
9082
454592a6
MR
90832011-12-13 Martin Rudalics <rudalics@gmx.at>
9084
9085 * window.el (delete-other-windows): Use correct frame in call to
9086 window-with-parameter.
9087
87393f26
DP
90882011-12-12 Daniel Pfeiffer <occitan@t-online.de>
9089
9090 * progmodes/make-mode.el: Bring it up to date with makepp V2.0.
9091 (makefile-make-font-lock-keywords): Extend meaning of `keywords'.
9092 (makefile-gmake-statements, makefile-makepp-statements):
9093 Use it and add new makepp keywords.
9094 (makefile-makepp-font-lock-keywords): Add new patterns.
9095 (makefile-match-function-end): Match new [...] and [[...]].
9096
11636b22
JB
90972011-12-11 Juanma Barranquero <lekktu@gmail.com>
9098
9099 * ses.el (ses-call-printer-return, ses-cell-property-get)
9100 (ses-sym-rowcol, ses-printer-validate, ses-formula-record)
9101 (ses-create-cell-variable, ses-reset-header-string)
9102 (ses-cell-set-formula, ses-repair-cell-reference-all)
9103 (ses-self-reference-early-detection, ses-in-print-area, ses-set-curcell)
9104 (ses-check-curcell, ses-call-printer, ses-adjust-print-width)
9105 (ses-print-cell-new-width, ses-formula-references, ses-relocate-formula)
9106 (ses-aset-with-undo, ses-load, ses-truncate-cell)
9107 (ses-read-column-printer, ses-read-default-printer, ses-insert-row)
9108 (ses-delete-row, ses-delete-column, ses-append-row-jump-first-column)
9109 (ses-kill-override, ses-yank-pop, ses-yank-cells, ses-yank-tsf)
9110 (ses-yank-resize, ses-export-tab, ses-mark-row, ses-mark-column)
9111 (ses-renarrow-buffer, ses-insert-range, ses-insert-ses-range)
9112 (ses-safe-printer, ses-safe-formula, ses-warn-unsafe, ses--clean-!)
9113 (ses--clean-_, ses-range, ses-select, ses-center, ses-center-span)
9114 (ses-dashfill, ses-unsafe): Fix typos and reflow docstrings.
9115
cf018193
VB
91162011-12-11 Vincent Belaïche <vincentb1@users.sourceforge.net>
9117
9118 * ses.el: The overall change is to add cell renaming, that is
9119 setting fancy names for cell symbols other than name matching
9120 "\\`[A-Z]+[0-9]+\\'" regexp .
9121 (ses-create-cell-variable): New defun.
9122 (ses-relocate-formula): Relocate formulas only for cells the
9123 symbols of which are not renamed, i.e. symbols whose names do not
9124 match regexp "\\`[A-Z]+[0-9]+\\'".
9125 (ses-relocate-all): Relocate values only for cells the symbols of
9126 which are not renamed.
9127 (ses-load): Create cells variables as the (ses-cell ...) are read,
9128 in order to check row col consistency with cell symbol name only
9129 for cells that are not renamed.
9130 (ses-replace-name-in-formula): New defun.
9131 (ses-rename-cell): New defun.
9132
ee957461
CY
91332011-12-11 Chong Yidong <cyd@gnu.org>
9134
9135 * progmodes/gdb-mi.el (gdb): Set comint-prompt-regexp, required
9136 for completion via gud-gdb-fetch-lines-filter (Bug#10274).
9137
9a9e9ef0
MR
91382011-12-11 Eric Hanchrow <eric.hanchrow@gmail.com>
9139
9140 * window.el (other-window): Fix docstring.
9141
92a8eba5
EZ
91422011-12-10 Eli Zaretskii <eliz@gnu.org>
9143
9144 * mail/rmailsum.el (rmail-header-summary): RFC2047 decode the
1d00653d
SM
9145 `from' or `to' address before taking its substring.
9146 Fixes incorrect display in Rmail summary buffer whereby an RFC2047
92a8eba5
EZ
9147 encoded name is chopped in the middle of the encoded string, and
9148 thus displayed encoded.
9149
e152e577
JB
91502011-12-10 Juanma Barranquero <lekktu@gmail.com>
9151
9152 * makefile.w32-in (update-subdirs-CMD): Use a Local Variables section.
9153
e5d84bfe
EZ
91542011-12-10 Eli Zaretskii <eliz@gnu.org>
9155
9156 * textmodes/texnfo-upd.el: Update commentary. Add a warning not
9157 to use texinfo-update-node and commands that call it if the
9158 Texinfo file uses @node lines without next/prev/up pointers.
b8830d28 9159 Correct outdated description about texinfo-master-menu.
e5d84bfe
EZ
9160 (texinfo-all-menus-update, texinfo-master-menu)
9161 (texinfo-update-node, texinfo-every-node-update)
9162 (texinfo-multiple-files-update): Doc fix. Warn against updating
9163 all the @node lines.
9164 (texinfo-master-menu): Only call texinfo-update-node if the prefix
b8830d28
EZ
9165 argument is numeric. Explain better in the doc string what the
9166 function really does.
9167 (texinfo-insert-master-menu-list): Improve the error message
9168 displayed if there's no menu in the Top node.
9169 (Bug#2975) See also this thread:
e5d84bfe
EZ
9170 http://lists.gnu.org/archive/html/emacs-devel/2011-12/msg00156.html.
9171
1d84e9bb
MG
91722011-12-09 Manuel Gómez <mgrojo@gmail.com> (tiny change)
9173
9174 * speedbar.el (speedbar-supported-extension-expressions):
9175 Add .adb and .ads, commonly used for Ada source code (bug#10256).
9176
382c953b
JB
91772011-12-09 Juanma Barranquero <lekktu@gmail.com>
9178
9179 * printing.el (pr-mode-alist):
9180 * simple.el (filter-buffer-substring-functions)
9181 (completion-list-insert-choice-function):
9182 * window.el (window-with-parameter, window-atom-root)
9183 (window-sides-slots, window-size-fixed, window-min-delta)
9184 (window-max-delta, window--resize-mini-window)
9185 (window--resize-child-windows-normal, window-tree)
9186 (delete-other-windows, quit-window, split-window)
9187 (display-buffer-record-window, special-display-buffer-names)
9188 (special-display-regexps, special-display-popup-frame)
9189 (same-window-p, split-window-sensibly)
9190 (display-buffer-overriding-action, display-buffer-alist)
9191 (display-buffer-base-action, display-buffer, switch-to-buffer)
9192 (switch-to-buffer-other-window, switch-to-buffer-other-frame)
9193 (fit-window-to-buffer, recenter-positions)
9194 (mouse-autoselect-window-state, mouse-autoselect-window-select):
9195 * emacs-lisp/syntax.el (syntax-propertize-function): Fix typos
9196 and remove unneeded backslashes in docstrings.
9197
39c9faef
SM
91982011-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
9199
98449af8
SM
9200 * emacs-lisp/lisp-mode.el (defmethod): Add doc-string-elt (bug#10244).
9201
39c9faef
SM
9202 * pcmpl-gnu.el: Don't fail when there is no Makefile nor -f arg.
9203 (pcmpl-gnu-makefile-regexps): Accept "makefile" as well as files that
9204 end in ".mk".
9205 (pcmpl-gnu-make-rule-names): Check "makefile" and ignore errors
9206 when reading the makefile (bug#10116).
9207
86ed9fdc
SM
92082011-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
9209
9210 * pcmpl-gnu.el (pcomplete/make): Also allow filename arguments
9211 (bug#10116).
9212
5580f89d
GM
92132011-12-06 Glenn Morris <rgm@gnu.org>
9214
9215 * emacs-lisp/package.el (package-archives): Doc fix re riskiness.
9216
28d3917c
CY
92172011-12-06 Chong Yidong <cyd@gnu.org>
9218
9219 * progmodes/cc-fonts.el (c-annotation-face): Use defface.
9220
a98edce9
JB
92212011-12-06 Juanma Barranquero <lekktu@gmail.com>
9222
9223 * textmodes/table.el (table-shorten-cell): Fix typo.
9224
e65adfac
CG
92252011-12-05 Christopher Genovese <genovese.cr@gmail.com> (tiny change)
9226
9227 * emacs-lisp/assoc.el (aput): Fix return value (bug#10146)
9228
71cc0b74
EZ
92292011-12-05 Eli Zaretskii <eliz@gnu.org>
9230
9231 * descr-text.el (describe-char): Fix display of strong
9232 right-to-left characters and directional embeddings and overrides.
9233
9234 * simple.el (what-cursor-position): Fix display of codepoints of
9235 strong right-to-left characters.
9236
315bc30d
CY
92372011-12-05 Chong Yidong <cyd@gnu.org>
9238
9239 * faces.el (read-color): Doc fix.
9240
58a70b94
GM
92412011-12-05 Glenn Morris <rgm@gnu.org>
9242
9243 * align.el (align--set-marker): Add doc-string.
9244 Don't try to move something that is not a marker. (Bug#10216)
9245
5158face
GM
92462011-12-04 Glenn Morris <rgm@gnu.org>
9247
9248 * calendar/appt.el (appt-add): Rewrite the interactive-spec to avoid
9249 overly zealous deletion of trailing whitespace.
9250
520fca41
JB
92512011-12-04 Juanma Barranquero <lekktu@gmail.com>
9252
9253 * server.el (server-delete-client): On Windows, do not try to delete
9254 the only terminal.
9255 (server-process-filter): On Windows, treat requests for a tty frame as
9256 if they were for a GUI frame if the running server is in GUI mode.
9257
5e605a2e
GM
92582011-12-03 Glenn Morris <rgm@gnu.org>
9259
9260 * textmodes/texinfmt.el (batch-texinfo-format): Doc fix. (Bug#10207)
9261
5c3fe83f
SM
92622011-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
9263
6f5e57e7
SM
9264 * electric.el: Streamline electric-indent's hook.
9265 (electric-indent-chars): Revert to simple list.
9266 (electric-indent-functions): New var.
9267 (electric-indent-post-self-insert-function): Use it.
9268
5c3fe83f
SM
9269 * progmodes/prolog.el (prolog-find-value-by-system): Avoid error when
9270 there's no inferior buffer (bug#10196).
9271 (prolog-consult-compile): Don't use toggle-read-only.
9272
6bdac736
MA
92732011-12-02 Michael Albinus <michael.albinus@gmx.de>
9274
9275 * net/tramp-sh.el (tramp-maybe-open-connection): Handle user
9276 interrupt. (Bug#10187)
9277
6131ba7f
SM
92782011-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
9279
99c79fee
SM
9280 * pcmpl-gnu.el (pcomplete/tar): large-file-warn-threshold can be nil
9281 (bug#9160).
9282
6131ba7f
SM
9283 * dired-aux.el (dired-query): Don't assume help-char is modifier-free
9284 (bug#10191).
9285
cb0a02ea
JL
92862011-12-02 Juri Linkov <juri@jurta.org>
9287
9288 * info.el (Info-search): Display "end of manual" when Isearch
9289 reaches the end of single-file Info manual. (Bug#9918)
9290
66e0570c
EZ
92912011-12-02 Eli Zaretskii <eliz@gnu.org>
9292
9293 * isearch.el (isearch-message-prefix): Run the input method part
9294 of the prompt through bidi-string-mark-left-to-right. (Bug#10183)
9295
02b16839
JL
92962011-12-02 Juri Linkov <juri@jurta.org>
9297
9298 * isearch.el (isearch-occur): Use `word-search-regexp' for
9299 `isearch-word'.
9300 (isearch-search-and-update): Add condition for `isearch-word' and
9301 call `word-search-regexp'. (Bug#10145)
9302
0b950688
GM
93032011-12-01 Glenn Morris <rgm@gnu.org>
9304
9305 * eshell/em-hist.el (eshell-hist-initialize):
9306 Handle eshell-history-size nil and HISTSIZE set or unset.
e8087a76 9307 (eshell-history-file-name, eshell-history-size): Fix custom type.
0b950688 9308
9505c3c7
SM
93092011-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
9310
9311 * man.el (Man-completion-table): Fix the lambda case (bug#10168).
9312
1bbe96b2 93132011-12-01 Michael McNamara <mac@mail.brushroad.com>
6288f0ca 9314
a1beca85
SM
9315 * progmodes/verilog-mode.el (verilog-pretty-expr):
9316 Rework verilog-pretty-expr to handle new assignment operators in system
6288f0ca
WS
9317 verilog, such as += *= and the like.
9318 (verilog-assignment-operator-re): Regular expression to find the
9319 assigment operator in a verilog assignment.
9320 (verilog-assignment-operation-re): Regular expression to find an
9321 assignment statement for pretty-expr.
9322 (verilog-in-attribute-p): Query returns true if point is in an
9323 attribute context; used to skip these for expression line up from
9324 pretty-expr.
9325 (verilog-in-parameter-p): Query returns true if point is in an
9326 parameter definition context; used to skip these for expression
9327 line up from pretty-expr.
9328 (verilog-in-parenthesis-p): Query returns true if point is in a
9329 parenthetical expression, specifically ( ) but not [ ] or { };
9330 used by pretty-expr.
9331 (verilog-just-one-space): If there is no space, don't add one.
9332 (verilog-get-lineup-indent-2): Specifically skip just attribute
9333 contexts for expression lineup, rather than skipping all
9334 parenthetical expressions.
9335 (verilog-calculate-indent): Fix comment, and fix indent.
9336 (verilog-do-indent): Indent declarations in lists (suggested by
9337 Joachim Lechner).
9338 (verilog-mode-abbrev-table): Populate abbrev mode with the various
9339 skeleton items.
9340 (verilog-sk-ovm-class): Add skeleton for OVM classes (reported
9341 by Alain Mellan).
9342
1bbe96b2 93432011-12-01 Wilson Snyder <wsnyder@wsnyder.org>
6288f0ca
WS
9344
9345 * progmodes/verilog-mode.el (verilog-read-defines): Fix reading
9346 parameters with embedded comments. Reported by Ray Stevens.
9347 (verilog-calc-1, verilog-fork-wait-re) (verilog-forward-sexp,
9348 verilog-wait-fork-re): Fix indentation of "wait fork", bug407.
9349 Reported by Tim Holt.
9350 (verilog-auto): Fix AUTOing a upper module then AUTOing module
9351 instantiated by upper module causing wrong expansion until AUTOed a
9352 second time. Reported by K C Buckenmaier.
9353 (verilog-diff-auto): Fix showing .* as a difference when
9354 `verilog-auto-star-save' off. Reported by Dan Dever.
9355 (verilog-auto-reset, verilog-read-always-signals)
9356 (verilog-auto-reset-blocking-in-non): Fix AUTORESET including
9357 temporary signals in reset list if
9358 verilog-auto-reset-blocking-in-non is nil, and match assignment
a1beca85
SM
9359 style to each signal's assignment type, bug381.
9360 Reported by Thomas Esposito.
6288f0ca
WS
9361 (verilog-sk-uvm-class, verilog-uvm-begin-re, verilog-uvm-end-re)
9362 (verilog-uvm-statement-re): Support UVM indentation and
9363 highlighting, with old OVM keywords only.
a1beca85 9364 (verilog-auto-tieoff, verilog-auto-tieoff-declaration):
1d00653d
SM
9365 Support AUTOTIEOFF creating non-wire data types.
9366 Suggested by Jonathan Greenlaw.
6288f0ca
WS
9367 (verilog-auto-insert-lisp, verilog-delete-to-paren)
9368 (verilog-forward-sexp-cmt, verilog-forward-sexp-ign-cmt)
9369 (verilog-inject-sense, verilog-read-inst-pins)
a1beca85
SM
9370 (verilog-read-sub-decls, verilog-read-sub-decls-line):
9371 Fix mismatching parenthesis inside commented out code when deleting
382c953b 9372 AUTOINST, bug383. Reported by Jonathan Greenlaw.
6288f0ca
WS
9373 (verilog-auto-ascii-enum): Fix AUTOASCIIENUM one-hot with
9374 non-numeric vector width. Reported by Alex Reed.
9375 (verilog-auto-ascii-enum): Add "onehot" option to work around not
382c953b 9376 detecting signals with parameter widths. Reported by Alex Reed.
a1beca85
SM
9377 (verilog-auto-delete-trailing-whitespace):
9378 With `verilog-auto-delete-trailing-whitespace' remove trailing
6288f0ca
WS
9379 whitespace in auto expansion, bug371. Reported by Brad Dobbie.
9380 (verilog-run-hooks, verilog-scan-cache-flush, verilog-syntax-ppss):
9381 Fix verilog-scan-cache corruption when running user AUTO expansion
9382 hooks that call indentation routines.
9383 (verilog-simplify-range-expression): Fix typo ignoring lower case
9384 identifiers.
9385 (verilog-delete-auto): Fix delete-autos to also remove user created
9386 automatics, as long as they start with AUTO.
9387 (verilog-batch-diff-auto, verilog-diff-auto)
9388 (verilog-diff-function): Add `verilog-diff-auto' and bind to
9389 "C-c?" to report differences in AUTO expansion, ignoring spaces.
9390 (verilog-backward-syntactic-ws-quick, verilog-beg-of-defun-quick)
9391 (verilog-in-paren-quick, verilog-re-search-backward-quick)
a1beca85
SM
9392 (verilog-re-search-forward-quick, verilog-syntax-ppss):
9393 Fix calling `syntax-ppss' when inside auto expansions as the ppss hook
6288f0ca
WS
9394 is disabled and its cache will get corrupt, causing AUTOS not to
9395 expand. Instead use only -quick functions.
9396 (verilog-scan-region): Fix scanning over escaped quotes.
9397 (verilog-inside-comment-or-string-p, verilog-inside-comment-p)
9398 (verilog-re-search-backward-quick)
9399 (verilog-re-search-forward-quick, verilog-scan): verilog-scan and
9400 related functions now ignore strings, to fix misparsing of strings
9401 with magic comments embedded in them.
a1beca85
SM
9402 (verilog-read-auto-template):
9403 Fix 'verilog-auto-inst-template-numbers' with extra newline before (.
9404 Reported by Brad Dobbie.
9405 (verilog-read-auto-template):
9406 Fix 'verilog-auto-inst-template-numbers' with comments.
6288f0ca 9407 Reported by Brad Dobbie.
6288f0ca
WS
9408 (verilog-auto-inst, verilog-auto-inst-param)
9409 (verilog-auto-inst-sort): Add 'verilog-auto-inst-sort' to reduce
9410 merge conflicts with AUTOINST, bug358. Reported by Brad Dobbie.
9411 (verilog-auto-inst-template-numbers): Add 'lhs' policy for
a1beca85
SM
9412 debugging templates without merge conflicts, bug357.
9413 Reported by Brad Dobbie.
9414 (verilog-read-auto-template):
9415 Fix verilog-auto-inst-template-numbers with multiple templates.
6288f0ca
WS
9416 Reported by Brad Dobbie.
9417 (verilog-define-abbrev): Fix verilog-mode abbrevs to be system
9418 abbrevs so user won't be asked to save.
9419 (verilog-read-auto-lisp-present): Fix to start at beginning of
9420 buffer in case called outside of verilog-auto.
9421 (verilog-simplify-range-expression): Fix AUTOWIRE expanding "X-1+1"
9422 to "X-2". Reported by Matthew Myers.
9423 (verilog-auto, verilog-auto-inout-in): Add AUTOINOUTIN for creating
9424 all inputs from module templates. Reported by Leith Johnson.
9425 (verilog-module-inside-filename-p): Fix locating programs as with
9426 modules.
9427 (verilog-auto-inst-port): Fix vl-width expressions when using
9428 verilog-auto-inst-param-value, bug331. Reported by Julian Gorfajn.
9429 (verilog-decls-get-regs, verilog-decls-get-signals,
9430 verilog-decls-get-vars, verilog-decls-get-wires, verilog-decls-new,
9431 verilog-modi-cache-add-vars, verilog-modi-cache-add-wires,
9432 verilog-read-decls): Combine reg and wire structures into one var
9433 structure to represent SystemVerilog concepts.
9434 (verilog-auto-ascii-enum, verilog-auto-logic, verilog-auto-reg)
9435 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-wire)
a1beca85
SM
9436 (verilog-auto-wire-type, verilog-insert-definition):
9437 Add verilog-auto-wire-type and AUTOLOGIC to support using
6288f0ca
WS
9438 SystemVerilog "logic" keyword instead of "wire"/"reg".
9439 (verilog-auto-reg-input, verilog-decls-get-signals): Fix AUTOWIRE
9440 to declares outputs that also have assignments (presumably in an
a1beca85
SM
9441 ifdef or generate if so there's not a driver conflict).
9442 Reported by Matthew Myers.
9443 (verilog-auto-declare-nettype, verilog-insert-definition):
9444 Add verilog-auto-declare-nettype to fix declarations using
6288f0ca
WS
9445 `default_nettype none. Reported by Julian Gorfajn.
9446 (verilog-read-always-signals-recurse, verilog-read-decls)
9447 (verilog-read-sub-decls-gate): Fix infinite loop with (*) and
9448 malformed end statement, bug325. Reported by Joshua Wise and
9449 Andrew Drake.
9450 (verilog-auto-star-safe, verilog-delete-auto-star-implicit)
9451 (verilog-inst-comment-re): Fix not deleting Interfaced comment
1d00653d
SM
9452 when expanding .* in interfaces, bug320.
9453 Reported by Pierre-David Pfister.
6288f0ca 9454 (verilog-read-module-name): Fix import statements between module
1d00653d
SM
9455 name and open parenthesis, bug317.
9456 Reported by Pierre-David Pfister.
6288f0ca
WS
9457 (verilog-simplify-range-expression): Fix simplification of
9458 multiplications inside AUTOWIRE connections, bug303.
9459 (verilog-auto-inst-port): Support parameter expansion in
9460 multidimensional arrays.
9461 (verilog-read-decls): Fix AUTOREG etc looking for "endproperty"
9462 after "assert property". Reported by Julian Gorfajn.
9463 (verilog-simplify-range-expression): Fix "couldn't merge" errors
9464 with multiplication, bug303.
9465 (verilog-read-decls): Fix parsing of unsigned data types, bug302.
9466 Reported by Jan Frode Lonnum.
9467
1bbe96b2
GM
94682011-11-30 Juanma Barranquero <lekktu@gmail.com>
9469
9470 * htmlfontify.el (hfy-page-header, hfy-post-html-hooks)
9471 (hfy-shell-file-name, hfy-shell):
9472 * international/fontset.el (x-decompose-font-name): Fix typos.
9473
94742011-11-29 Ken Brown <kbrown@cornell.edu>
9475
9476 * progmodes/gdb-mi.el: Fix bug#9853, bug#9858, and bug#9878.
9477 (gdb-version): Remove defvar.
9478 (gdb-supports-non-stop): New defvar, replacing `gdb-version'.
9479 (gdb-gud-context-command, gdb-non-stop-handler)
9480 (gdb-current-context-command, gdb-stopped): Use it.
9481 (gdb-init-1): Enable pretty printing here.
6131ba7f
SM
9482 (gdb-non-stop-handler): Don't enable pretty-printing here.
9483 Check to see if the target supports non-stop mode; if not, turn off
1bbe96b2
GM
9484 non-stop mode. Use the following.
9485 (gdb-check-target-async): New defun.
9486 (gud-watch, gdb-stopped): Fix whitespace.
9487 (gdb-get-source-file): Don't try to display the source file if
9488 `gdb-main-file' is nil.
9489
94902011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
9491
9492 * align.el: Try to generate fewer markers (bug#10047).
9493 (align--set-marker): New macro.
9494 (align-region): Use it.
9495
c935221f
SM
94962011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
9497
9498 * isearch.el (isearch-yank-x-selection): Deactivate mark (bug#10022).
9499
e70b5064
CY
95002011-11-29 Chong Yidong <cyd@gnu.org>
9501
9502 * indent.el (indent-for-tab-command, indent-according-to-mode):
9503 Doc fix.
9504 (indent-region): Doc fix. Switch nested ifs to equivalent cond.
9505
f3af92b7
MA
95062011-11-29 Michael Albinus <michael.albinus@gmx.de>
9507
9508 * vc/diff-mode.el (diff-find-file-name): Make `read-file-name'
9509 aware of remote file names. (Bug#10124)
9510
ed472be9
CY
95112011-11-29 Chong Yidong <cyd@gnu.org>
9512
9513 * frame.el (auto-raise-mode, auto-lower-mode): Doc fix.
9514
24510c22
SM
95152011-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
9516
9517 * files.el (find-file): Don't use force-same-window (bug#10144).
9518 * window.el (switch-to-buffer): Better match Emacs-23 behavior and only
9519 use pop-to-buffer if the selected window can't be used.
9520 (pop-to-buffer-same-window): Use display-buffer--same-window-action.
9521
c60c3703
EZ
95222011-11-28 Eli Zaretskii <eliz@gnu.org>
9523
9524 * vc/diff-mode.el (diff-mode-map): Don't inherit 'z' => 'M-z' from
9525 special-mode-map.
9526
e95def75
CY
95272011-11-28 Chong Yidong <cyd@gnu.org>
9528
9529 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix default doc.
9530
c3f1c606
NR
95312011-11-27 Nick Roberts <nickrob@snap.net.nz>
9532
9533 * progmodes/gdb-mi.el (gdb-init-1): Condition execution of
9534 gdb-get-source-file-list on gdb-create-source-file-list.
9535
00db469c
EZ
95362011-11-26 Eli Zaretskii <eliz@gnu.org>
9537
9538 * whitespace.el (whitespace-newline): Use a different foreground
9539 color for 16-color light-background displays.
9540
4ad3bc2a
CY
95412011-11-24 Chong Yidong <cyd@gnu.org>
9542
9543 * window.el (display-buffer--special-action): Doc fix.
9544
e9fce1ac
JB
95452011-11-25 Juanma Barranquero <lekktu@gmail.com>
9546
9547 * emacs-lisp/avl-tree.el (avl-tree--do-copy, avl-tree-create)
9548 (avl-tree-compare-function, avl-tree-empty, avl-tree-enter)
9549 (avl-tree-delete, avl-tree-member, avl-tree-member-p, avl-tree-map)
9550 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar, avl-tree-copy)
9551 (avl-tree-clear, avl-tree-stack, avl-tree-stack-pop)
9552 (avl-tree-stack-first):
9553 * emacs-lisp/cconv.el (cconv--analyse-use):
9554 * net/gnutls.el (gnutls-negotiate): Fix typos.
9555
cb825e5d
GM
95562011-11-24 Glenn Morris <rgm@gnu.org>
9557
3adbe224
GM
9558 * lpr.el (lpr-windows-system, lpr-lp-system):
9559 * mail/binhex.el (binhex-begin-line):
9560 * progmodes/grep.el (grep-history, grep-find-history):
9561 * textmodes/flyspell.el:
9562 * vc/pcvs-defs.el (cvs-global-menu):
9563 * vc/vc-bzr.el (vc-bzr-admin-checkout-format-file):
9564 * vc/vc-mtn.el (vc-mtn-admin-dir, vc-mtn-admin-format):
9565 * vc/vc-cvs.el (vc-cvs-registered): Give them basic doc-strings.
9566
321decc8
GM
9567 * net/tls.el: Fix case of "GnuTLS".
9568
420b63ad
GM
9569 * paths.el (rmail-file-name): Format doc-string for make-docfile.
9570
cb825e5d
GM
9571 * version.el (emacs-build-system): Give it a doc-string.
9572
a0649f08
JL
95732011-11-24 Juri Linkov <juri@jurta.org>
9574
9575 * view.el (view-buffer): Revert 2011-07-19T15:01:49Z!larsi@gnus.org from 2011-07-19 (bug#8615).
9576
c0bc0fd4
GM
95772011-11-24 Glenn Morris <rgm@gnu.org>
9578
9579 * mail/rmailmm.el (rmail-mime): When rmail-enable-mime is non-nil,
9580 if called on a non-mime message just toggle the headers. (Bug#8006)
9581
20db1522
JB
95822011-11-24 Juanma Barranquero <lekktu@gmail.com>
9583
9584 * allout.el (allout-setup, allout-auto-save-temporarily-disabled)
9585 (allout-lead-with-comment-string, allout-structure-deleted-hook)
9586 (allout-mode, allout-chart-subtree, allout-hotspot-key-handler)
9587 (allout-rebullet-heading, allout-open-sibtopic)
9588 (allout-toggle-current-subtree-encryption)
9589 (allout-toggle-subtree-encryption, allout-encrypt-string)
9590 (allout-next-topic-pending-encryption, allout-adjust-file-variable)
9591 (allout-distinctive-bullets-string, allout-auto-activation):
9592 * window.el (window-normalize-buffer-to-display):
9593 * progmodes/verilog-mode.el (verilog-batch-indent):
9594 * textmodes/bibtex.el (bibtex-field-braces-opt)
9595 (bibtex-field-strings-opt):
9596 * vc/cvs-status.el (cvs-tree-merge):
9597 Fix typos.
9598
7262a87c
MA
95992011-11-23 Michael Albinus <michael.albinus@gmx.de>
9600
9601 * rfn-eshadow.el (rfn-eshadow-update-overlay): Let-bind
9602 `non-essential' to t, in order to avoid remote connections.
9603
283430a1
EZ
96042011-11-23 Eli Zaretskii <eliz@gnu.org>
9605
a1beca85
SM
9606 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
9607 On MS-DOS and MS-Windows, compare with loaddefs.el
283430a1
EZ
9608 case-insensitively.
9609
d2992a38
ML
96102011-11-23 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
9611
9612 * mail/unrmail.el (unrmail): Always add blank line. (Bug#7743)
9613
50419064
GM
96142011-11-23 Glenn Morris <rgm@gnu.org>
9615
da94eca1
GM
9616 * paths.el (rmail-file-name): Reformat the doc-string so that it
9617 is picked up.
9618
9aac4de2
GM
9619 * mail/rmail.el (rmail-message-filter, rmail-auto-file): Doc fixes.
9620 (rmail-auto-file): Ignore case in the "special" field names,
9621 as mail-fetch-field does for all others.
9622
8038d2d2
GM
9623 * mail/rmail.el (rmail-forward):
9624 * mail/rmailkwd.el (rmail-set-label):
9625 * mail/rmailout.el (rmail-output, rmail-output-as-seen)
9626 (rmail-output-body-to-file): Give error if no message. (Bug#10082)
9627
f3fe222a
GM
9628 * mail/rmail.el (rmail-current-message): Doc fix.
9629
50419064
GM
9630 * mail/rmail.el (rmail-message-filter): Mark as obsolete. (Bug#2624)
9631
28109f49
SM
96322011-11-22 Stefan Monnier <monnier@iro.umontreal.ca>
9633
9634 * server.el (server-eval-and-print): Allow C-g (bug#6585).
9635
394c65f1
GM
96362011-11-22 Glenn Morris <rgm@gnu.org>
9637
9638 * mail/rmailmm.el (test-rmail-mime-handler)
9639 (test-rmail-mime-bulk-handler)
9640 (test-rmail-mime-multipart-handler): Move tests to test/ directory.
9641
f2a0aa3a
JL
96422011-11-21 Juri Linkov <juri@jurta.org>
9643
1154d12e
JB
9644 * calc/calc.el (calc-read-key-sequence):
9645 Let-bind `input-method-function' to nil. (Bug#10018)
f2a0aa3a 9646
9c34a344
LMI
96472011-11-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
9648
9649 * emacs-lisp/cl-indent.el (common-lisp-loop-part-indentation):
9650 Tell the caller that the next line needs recomputation, even
9651 though it doesn't start a sexp (bug#10094).
9652
f04a3be9
SM
96532011-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
9654
9655 * emacs-lisp/autoload.el (autoload-generate-file-autoloads): Simplify.
9656
7978747f
SM
96572011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
9658
f04a3be9
SM
9659 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
9660 Use force-same-window.
7978747f 9661
fe7a3057
JB
96622011-11-20 Juanma Barranquero <lekktu@gmail.com>
9663
9664 * descr-text.el (describe-char-unicode-data):
9665 * json.el (json-string-escape):
9666 * mail/footnote.el (footnote-unicode-string, footnote-unicode-regexp)
9667 (Footnote-unicode, Footnote-style-p):
9668 * net/ntlm.el (ntlm-get-password-hashes): Fix typos.
9669
24901d61
CY
96702011-11-20 Chong Yidong <cyd@gnu.org>
9671
9672 * window.el (replace-buffer-in-windows): Restore interactive spec.
9673
bac7ff22
SM
96742011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
9675
24f3d7b9
SM
9676 * electric.el (electric-indent-mode): Fix last change (too optimistic).
9677
bac7ff22
SM
9678 * emacs-lisp/bytecomp.el: Silence obsolete warnings more reliably.
9679 (byte-compile-global-not-obsolete-vars): New var.
9680 (byte-compile-check-variable, byte-compile-make-obsolete-variable):
9681 Use it.
9682 (byte-compile-warn-obsolete): Align text with the one in *Help*.
9683
cd1181db
JB
96842011-11-20 Juanma Barranquero <lekktu@gmail.com>
9685
9686 * progmodes/cwarn.el (cwarn-is-enabled, cwarn-font-lock-keywords):
9687 * progmodes/pascal.el (electric-pascal-equal):
9688 * textmodes/reftex-dcr.el (reftex-view-crossref-from-bibtex):
9689 * xml.el (xml-substitute-special): Fix typos.
9690
7fb18e9e
GM
96912011-11-20 Glenn Morris <rgm@gnu.org>
9692
9693 * mail/rmail.el (rmail-enable-mime-composing): Make it a defcustom.
9694 (rmail-insert-mime-forwarded-message-function, rmail-mime-feature):
9695 Doc fixes.
9696 (rmail-decode-mime-charset): Mark as obsolete.
9697
9698 * mail/rmailsum.el (rmail-message-regexp-p-1):
9699 * mail/rmail.el (rmail-search-message, rmail-forward, rmail-resend):
9700 Before using mime functions, check they are set. (Bug#10077)
9701
d5a6b3ba
JL
97022011-11-19 Juri Linkov <juri@jurta.org>
9703
9704 * info.el (Info-finder-find-node): Use `package--builtins' instead
9705 of `package-alist'. Use node names formed by the pattern "Keyword "
9706 and the keyword name.
9707
e981b61f
AS
97082011-11-19 Andreas Schwab <schwab@linux-m68k.org>
9709
1d00653d 9710 * progmodes/sh-script.el (sh-assignment-regexp): Add entry for bash.
e981b61f 9711
3ffbc301
JL
97122011-11-19 Juri Linkov <juri@jurta.org>
9713
9714 * info.el (Info-hide-note-references): Add `:set' tag to `defcustom'
9715 that calls `revert-buffer' on all Info buffers. (Bug#9915)
9716 (Info-revert-find-node): Remove let-bindings `old-buffer-name',
9717 `old-history', `old-history-forward'. Add let-binding
9718 `window-selected'. Remove calls to `kill-buffer',
9719 `switch-to-buffer' and `Info-mode'. Set `Info-current-file' to nil
9720 before calling `Info-find-node', so `Info-find-node-2' will reread
9721 the Info file. Restore window positions only when `window-selected'
9722 is non-nil.
9723
30c62133
JL
97242011-11-19 Juri Linkov <juri@jurta.org>
9725
9726 * isearch.el (isearch-lazy-highlight-new-loop):
9727 Remove condition `(not isearch-error)'. (Bug#9918)
9728
9729 * misearch.el (multi-isearch-search-fun): Add condition
9730 `(not bound)' to ignore lazy-highlighting search.
9731 Add the search-failed message "end of multi" when the end of
9732 multi-sequence is reached. Uncapitalize the search-failed
9733 message "Repeat for next buffer".
9734
9735 * info.el (Info-search): Add the search-failed message
9736 "end of the manual" when the end of the manual is reached
9737 in Isearch mode.
9738
645ca9cf
JL
97392011-11-19 Juri Linkov <juri@jurta.org>
9740
9741 * info.el (Info-find-node-2, Info-select-node, Info-history-find-node):
9742 Use non-destructive `remove' instead of `delete' because
9743 `Info-history-list' stored to `Info-isearch-initial-history-list' in
9744 `Info-isearch-start' might need to be restored in `Info-isearch-end'.
9745
df754f66
JL
97462011-11-19 Juri Linkov <juri@jurta.org>
9747
9748 * isearch.el (isearch-edit-string): Let-bind `history-add-new-input'
9749 to nil instead of binding `search-ring' and `regexp-search-ring'.
9750 (Bug#9185)
9751
0e23d96a
EZ
97522011-11-19 Eli Zaretskii <eliz@gnu.org>
9753
9754 * simple.el (line-move): Force movement by logical lines for any
9755 hscrolled window, not only when auto-hscroll-mode is on.
9756 (line-move-visual): Update doc string to that effect. (Bug#10076)
9757
8a6ccb66
AS
97582011-11-19 Andreas Schwab <schwab@linux-m68k.org>
9759
9760 * language/european.el (macintosh): Define as alias for mac-roman.
9761
49ae5b39
EZ
97622011-11-19 Eli Zaretskii <eliz@gnu.org>
9763
9764 * mail/rmailmm.el (rmail-mime-display-header)
9765 (rmail-mime-display-tagline, rmail-mime-display-body): New defsubsts.
9766 (rmail-mime-entity-segment, rmail-mime-toggle-raw)
9767 (rmail-mime-toggle-hidden, rmail-mime-insert-text)
9768 (rmail-mime-insert-bulk, rmail-mime-insert-multipart)
9769 (rmail-mime-insert, rmail-mime-insert-tagline): Use them instead
9770 of a raw aref.
9771 (rmail-mime-entity-segment): To get past the tagline, move forward
9772 2 more lines, to account for the 2 empty lines that precede and
9773 follow the line with the buttons.
9774 (rmail-mime-update-tagline): Move one more line, to get past the
9775 empty line that follows the buttons in the tagline. (Bug#9520)
9776
c56cad4a
MR
97772011-11-19 Martin Rudalics <rudalics@gmx.at>
9778
9779 * window.el (window-max-delta-1, window-min-delta-1)
9780 (window-min-size-1, window-state-get-1, window-state-put-1)
9781 (window-state-put-2): Use "window--" prefix.
9782
cbe71af3
SM
97832011-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
9784
2ad52c60
SM
9785 * emacs-lisp/smie.el: Improve warnings and conflict detection.
9786 (smie-warning-count): New var.
9787 (smie-set-prec2tab): Use it.
9788 (smie-bnf->prec2): Improve warnings. Add docstring.
9789 (smie-bnf--closer-alist): Rename from smie-bnf-closer-alist.
9790 (smie-bnf--set-class): New function.
9791 (smie-bnf--classify): Rename from smie-bnf-classify. Rewrite to fix
9792 corner case.
9793
6944dbc1
SM
9794 * progmodes/compile.el: Obey compilation-first-column in dest buffer.
9795 (compilation-error-properties, compilation-move-to-column):
9796 Handle compilation-first-column while in the target buffer.
9797
c400c4d7
SM
9798 * progmodes/cc-engine.el (c-remove-stale-state-cache-backwards):
9799 Don't hardcode point-min==1.
9800
6dbe3e96
SM
9801 * eshell/esh-cmd.el (eshell-do-eval): Handle `setq' (bug#9907).
9802 (eshell-rewrite-for-command): Remove workaround.
9803 (eshell-do-pipelines, eshell-do-pipelines-synchronously)
9804 (eshell-do-eval, eshell-exec-lisp): Avoid gratuitous setq.
9805 * eshell/esh-util.el (eshell-condition-case, eshell-for): Use declare.
9806
cbe71af3
SM
9807 * files-x.el (modify-file-local-variable): Obey commenting conventions.
9808
a8e1496d
GM
98092011-11-17 Glenn Morris <rgm@gnu.org>
9810
9811 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
9812 Ignore buffer-local generated-autoload-file if it is the same
9813 as the global value. (Bug#10049)
9814
df85d315
JB
98152011-11-17 Juanma Barranquero <lekktu@gmail.com>
9816
9817 * textmodes/reftex-toc.el (reftex-toc-return-marker, reftex-toc-help)
9818 (reftex-toc, reftex-toc, reftex-toc-dframe-p, reftex-toc-next-heading)
9819 (reftex-toc-previous-heading, reftex-toc-max-level)
9820 (reftex-toc-goto-line-and-hide, reftex-toc-show-calling-point)
9821 (reftex-toc-quit, reftex-toc-revert, reftex-toc-jump)
9822 (reftex-toc-do-promote, reftex-toc-promote-prepare)
9823 (reftex-toc-promote-action, reftex-toc-extract-section-number)
9824 (reftex-toc-load-all-files-for-promotion, reftex-toc-rename-label)
9825 (reftex-toc-rename-label, reftex-toc-visit-location)
9826 (reftex-toc-visit-location, reftex-toggle-auto-toc-recenter)
9827 (reftex-toggle-auto-toc-recenter, reftex-toggle-auto-toc-recenter)
9828 (reftex-make-separate-toc-frame): Fix typos, and use TOC consistently,
9829 leaving "*toc*" only for references to the buffer.
9830
a0c2d0ae
MR
98312011-11-17 Martin Rudalics <rudalics@gmx.at>
9832
9833 * window.el (window-resize, delete-window, split-window):
9834 Replace window-splits by window-combination-resize.
1d00653d 9835 * cus-start.el (window-splits): Replace by window-combination-resize.
a0c2d0ae 9836
35c0bac8
GM
98372011-11-17 Glenn Morris <rgm@gnu.org>
9838
9839 * progmodes/sh-script.el (sh-font-lock-keywords-var):
9840 Make bash entry derive from sh entry, not shell entry.
9841
d0c8fc8a
MA
98422011-11-16 Michael Albinus <michael.albinus@gmx.de>
9843
7262a87c
MA
9844 * net/tramp-sh.el (tramp-sh-handle-file-truename): Cache only the
9845 local file name.
9846
7877f373
JB
98472011-11-16 Juanma Barranquero <lekktu@gmail.com>
9848
9849 * menu-bar.el (menu-bar-file-menu):
9850 * printing.el (pr-ps-utility):
9851 * calendar/icalendar.el (icalendar, icalendar--convert-tz-offset)
9852 (icalendar--convert-to-ical, icalendar--convert-ordinary-to-ical)
9853 (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
9854 (icalendar--convert-sexp-to-ical, icalendar--convert-block-to-ical)
9855 (icalendar--convert-float-to-ical, icalendar--convert-date-to-ical)
9856 (icalendar--convert-cyclic-to-ical)
9857 (icalendar--convert-anniversary-to-ical, icalendar-import-buffer)
9858 (icalendar--convert-ical-to-diary)
9859 (icalendar--convert-recurring-to-diary)
9860 (icalendar--convert-non-recurring-all-day-to-diary)
9861 (icalendar-import-format-sample):
9862 * progmodes/idlw-shell.el (idlwave-shell-mode):
9863 * progmodes/vhdl-mode.el (vhdl-mode, vhdl-print-two-column)
9864 (vhdl-print-customize-faces, vhdl-mode, vhdl-ps-print-settings)
9865 (vhdl-ps-print-init): Fix typos.
9866
10649b82
KM
98672011-11-16 Ken Manheimer <ken.manheimer@gmail.com>
9868
9d0cfcd6
GM
9869 * allout.el, allout-widgets.el (file metadata): Attribute copyright to
9870 FSF and collapse date sequence, obscure author/maintainer email address
9871 better, remove extra version line, track relocation of author's webpage.
10649b82 9872
9d0cfcd6
GM
9873 * progmodes/python.el (python-pdbtrack-input-prompt)
9874 (python-pdbtrack-track-stack-file): Adjust to recognize ipdb as well as
9875 regular python pdb prompts. Adjustments shamelessly taken exactly as
9876 suggested in EmacsWiki page (tiny change):
9877 http://www.emacswiki.org/PythonProgrammingInEmacs#toc14
8642c216 9878
58179cce
JB
98792011-11-16 Juanma Barranquero <lekktu@gmail.com>
9880
9881 * expand.el (expand-pos, expand-index, expand-point):
9882 Remove redundant info from docstring.
9883 (expand-add-abbrevs): Doc fix.
9884 (expand-c-sample-expand-list, expand-sample-lisp-mode-expand-list)
9885 (expand-sample-perl-mode-expand-list): Fix typos.
9886
9887 * net/dbus.el (dbus-event-member-name):
9888 * play/5x5.el (5x5-solve-rotate-left, 5x5-solver-output):
9889 * term/pc-win.el (msdos-create-frame-with-faces):
9890 * textmodes/texinfmt.el (texinfo-format-image): Fix typos.
9891
b6f67890
MR
98922011-11-16 Martin Rudalics <rudalics@gmx.at>
9893
9894 * window.el (split-window, window-state-get-1)
9895 (window-state-put-1, window-state-put-2): Rename occurrences of
9896 window-nest to window-combination-limit.
1d00653d 9897 * cus-start.el (window-nest): Rename to window-combination-limit.
b6f67890 9898
ce7ddba0
CY
98992011-11-16 Chong Yidong <cyd@gnu.org>
9900
9901 * progmodes/autoconf.el (autoconf-mode): Fix comment-start-skip
9902 regexp (Bug#10033).
9903
3ae704f4
SM
99042011-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
9905
9906 * tmm.el (tmm-prompt): Use minibuffer-with-setup-hook (bug#10053).
9907 `completing-read' will remove *Completions* and will preserve
9908 current-buffer for us.
9909 (tmm-add-prompt): Users of *Completions* will always (re)set its
9910 major mode.
9911 (tmm-old-comp-map): Remove.
9912
6ad1cdde
GM
99132011-11-16 Glenn Morris <rgm@gnu.org>
9914
9915 * mail/rmailedit.el: Require rmailmm when compiling.
9916 (rmail-old-mime-state): New declaration.
9917 (rmail-edit-current-message): If editing a mime message,
9918 edit the "raw" message from the mbox buffer.
9919 (rmail-cease-edit): Handle mime messages. (Bug#9840)
9920
d20faa20
GM
99212011-11-15 Glenn Morris <rgm@gnu.org>
9922
9923 * mail/rmailmm.el (rmail-mime-toggle-raw): Remove entity arg,
9924 which wasn't being used. Add optional arg to force given state.
9925 (rmail-mime): Add optional arg to force given state.
9926
c7015153
JB
99272011-11-15 Juanma Barranquero <lekktu@gmail.com>
9928
9929 * allout.el (allout-encryption-plaintext-sanitization-regexps):
9930 * frame.el (display-mm-dimensions-alist):
9931 * outline.el (outline-mode-menu-bar-map, outline-move-subtree-up)
9932 (outline-move-subtree-down):
9933 * net/newst-treeview.el (newsticker--treeview-do-get-node-of-feed)
9934 (newsticker--treeview-do-get-node):
9935 * net/quickurl.el (quickurl-list-buffer-name):
9936 * progmodes/dcl-mode.el (dcl-mode):
9937 * progmodes/gdb-mi.el (gdb-mapcar*):
9938 * progmodes/sql.el (sql-mode-oracle-font-lock-keywords): Fix typos.
9939
45261b50
GM
99402011-11-15 Glenn Morris <rgm@gnu.org>
9941
9942 * mail/rmail.el (rmail-file-coding-system): It's only ever used
9943 in a boolean sense, so just make it a boolean, and fix the doc.
9944 (rmail-show-mime-function, rmail-mime-feature)
9945 (rmail-require-mime-maybe): Doc fixes.
9946 (rmail-show-message-1): Check rmail-show-mime-function is non-nil.
9947
9948 * mail/rmailmm.el (rmail-show-mime): Doc fix.
9949
0d26e0b6
JB
99502011-11-15 Juanma Barranquero <lekktu@gmail.com>
9951
9952 * epg.el (epg-start-decrypt, epg-start-verify, epg-start-sign)
9953 (epg-start-encrypt, epg-start-export-keys, epg-start-import-keys)
9954 (epg-start-receive-keys, epg-start-delete-keys, epg-start-sign-keys)
9955 (epg-start-generate-key, epg-context-set-progress-callback): Fix typos.
9956
447f30f6
GM
99572011-11-15 Glenn Morris <rgm@gnu.org>
9958
672b871d
GM
9959 * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-segment)
9960 (rmail-mime-shown-mode, rmail-mime-hidden-mode, rmail-mime-raw-mode)
9961 (rmail-mime-toggle-hidden, rmail-mime-insert-tagline)
9962 (rmail-mime-insert-header, rmail-mime-handle, rmail-mime-parse)
9963 (rmail-mime, rmail-show-mime): Doc fixes.
9964
f6aa5bb1
GM
9965 * term/ns-win.el (mode-line-frame-identification):
9966 Leave it alone. (Bug#10051)
9967
947cd66b
GM
9968 * simple.el (mark-whole-buffer): Doc fix. (Bug#10023)
9969
447f30f6
GM
9970 * mail/rmailout.el (rmail-output-to-rmail-buffer):
9971 Handle empty buffers. (Bug#9978)
9972
0b381c7e
JB
99732011-11-14 Juanma Barranquero <lekktu@gmail.com>
9974
9975 * international/mule.el (define-charset):
9976 * mail/rmailmm.el (rmail-mime-find-header-encoding):
9977 * progmodes/prolog.el (prolog-mode-hook, prolog-inferior-mode-hook):
9978 * progmodes/verilog-mode.el (verilog-backward-token):
9979 * textmodes/ispell.el (lookup-words):
9980 * textmodes/sgml-mode.el (sgml-guess-indent): Fix typos.
9981
71e027ac
GM
99822011-11-14 Glenn Morris <rgm@gnu.org>
9983
56632ce4
GM
9984 * progmodes/executable.el
9985 (executable-make-buffer-file-executable-if-script-p):
9986 Handle file-modes returning nil.
9987
40500957
GM
9988 * mail/rmailsum.el (rmail-summary): Remove movement to beginning of
9989 message - not necessary, and causes problems. (Bug#9831)
9990
071c2340
GM
9991 * mail/rmailsum.el (rmail-new-summary): Preserve message number.
9992
d3cfca60
GM
9993 * mail/rmail.el (rmail-no-mail-p): Remove mode-line N/M indicator.
9994
71e027ac
GM
9995 * mail/rmailsum.el (rmail-summary, rmail-new-summary)
9996 (rmail-new-summary-1): Allow empty summaries. (Bug#9964)
9997 (rmail-new-summary): Remember that rmail-summary-buffer is buffer-local.
9998
89d61221
MR
99992011-11-12 Martin Rudalics <rudalics@gmx.at>
10000
10001 * window.el (window-resize, delete-window): Use window-splits
10002 variable instead of function.
10003 (window-state-get-1, window-state-put-2, window-state-put):
10004 Don't deal with windows' splits status.
10005
98282f6f
GM
100062011-11-12 Glenn Morris <rgm@gnu.org>
10007
10008 * apropos.el (apropos-do-all, apropos-library, apropos-value)
10009 (apropos-documentation): Doc fixes.
10010
40a8bdf6
JB
100112011-11-11 Juanma Barranquero <lekktu@gmail.com>
10012
10013 * progmodes/idlw-shell.el (idlwave-shell-make-new-bp-overlay):
10014 * textmodes/sgml-mode.el (html-tag-help): Fix typos.
10015
65bd19ff
SM
100162011-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
10017
10018 * electric.el (electric-indent-post-self-insert-function): Make it
10019 possible for a char to only indent in some circumstances.
10020 (electric-indent-mode): Simplify.
10021
54f9154c
MR
100222011-11-11 Martin Rudalics <rudalics@gmx.at>
10023
10024 * window.el (windows-with-parameter): Remove unused function.
10025 (windows-at-side): Rename to window-at-side-list.
10026 (window-check, window-atom-check, window-atom-check-1)
5e92ca23
MR
10027 (window-side-check, window-size-ignore, window-size-fixed-1)
10028 (window-in-direction-2): Prefix with "window--".
10029 (window-tree-1): Rename to window--subtree, fix doc-string.
54f9154c 10030
68cbc58b
GM
100312011-11-11 Glenn Morris <rgm@gnu.org>
10032
10033 * subr.el (eval-after-load): If FILE is already loaded,
10034 evaluate FORM before it gets wrapped in more stuff. (Bug#10009)
10035
b2621720
GM
100362011-11-10 Glenn Morris <rgm@gnu.org>
10037
9a4de110
GM
10038 * vc/vc-svn.el (vc-svn-create-repo, vc-svn-modify-change-comment):
10039 Call svn via vc-svn-command rather than vc-do-command.
10040 (vc-svn-command): Add --non-interactive. (Bug#9993)
10041 (vc-svn-update, vc-svn-merge-news): No need for --non-interactive.
10042
b2621720
GM
10043 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
10044 Add toggle-read-only. (Bug#7292)
10045 * files.el (toggle-read-only): Mention that it should only
10046 be used interactively. (Bug#10006)
10047
1dce7193
SM
100482011-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
10049
d9ac1a1e
SM
10050 * progmodes/compile.el (compilation-error-regexp-alist-alist):
10051 Adjust regexp for OCaml warnings.
10052
0c325082
SM
10053 * electric.el (electric-pair-post-self-insert-function): Let user
10054 turn it off buffer-locally (bug#9932).
10055
90132c14
SM
10056 * progmodes/python.el (python-beginning-of-statement):
10057 Rewrite (bug#2703).
10058
1dce7193
SM
10059 * progmodes/compile.el: Better handle TABs (bug#9749).
10060 (compilation-internal-error-properties)
10061 (compilation-next-error-function): Obey the target buffer's
10062 compilation-error-screen-columns.
10063
c4e7c63a
JB
100642011-11-09 Juanma Barranquero <lekktu@gmail.com>
10065
10066 * progmodes/meta-mode.el: Remove obsolete comments.
10067 (meta-right-comment-regexp, meta-ignore-comment-regexp):
10068 Fix typos in docstrings.
10069
2cffd681
MR
100702011-11-09 Martin Rudalics <rudalics@gmx.at>
10071
10072 * window.el (window-size-fixed-p): Rewrite doc-string.
1dce7193 10073 (window-resizable-p): Rename to window--resizable-p. Update callers.
2cffd681
MR
10074 (window--resizable): New function. Make all callers of
10075 window-resizable call window--resizable instead.
10076 (window-resizable): Rewrite in terms of window--resizable.
10077
0edcba87
GM
100782011-11-08 Glenn Morris <rgm@gnu.org>
10079
10080 * progmodes/delphi.el (delphi-mode-syntax-table):
10081 Let define-derived-mode define a proper syntax table. (Bug#9994)
10082
4b0d61e3
SM
100832011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
10084
10085 * window.el: Stay away from defsubst.
10086 (window-list-no-nils): Remove.
10087 (window-state-get-1, window-state-get): Use backquote instead.
10088
cd394be1 100892011-11-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
fcbcac2e 10090
4b0d61e3 10091 * emacs-lisp/find-func.el (find-function-read):
fcbcac2e 10092 Fix incorrect use of default argument in `completing-read'.
10093
e1c2c6f2
MR
100942011-11-08 Martin Rudalics <rudalics@gmx.at>
10095
10096 * window.el (display-buffer-function, special-display-function):
10097 Mention display-buffer-record-window but do not mention
10098 help-setup parameter in doc-strings.
b3f4a882 10099 (window-min-delta): Fix doc-string typo.
e1c2c6f2 10100
105216ed
CY
101012011-11-08 Chong Yidong <cyd@gnu.org>
10102
10103 * window.el (window-total-height, window-total-width): Doc fix.
10104 (window-body-size): Move from C.
10105 (window-body-height, window-body-width): Move to C.
10106
0a9f9ab5
SM
101072011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
10108
10109 * window.el: Make special-display like display-buffer-alist (bug#9532).
10110 (display-buffer--special-action): New function, morphed
10111 from display-buffer--special.
10112 (display-buffer): Use it to handle special-display-buffers at higher
10113 priority (just after display-buffer-alist).
10114 (display-buffer-fallback-action, display-buffer--other-frame-action)
10115 (pop-to-buffer-same-window): Remove display-buffer--special.
10116
a769dd15
GM
101172011-11-07 Glenn Morris <rgm@gnu.org>
10118
10119 * calendar/cal-menu.el (cal-menu-set-date-title):
10120 Do nothing if not in a calendar. (Bug#9976)
10121
05a61ee3
SM
101222011-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
10123
10124 * files.el (find-file): Always use selected-window.
10125
be7f5545
MR
101262011-11-07 Martin Rudalics <rudalics@gmx.at>
10127
10128 * window.el (window-combinations): Make WINDOW argument
10129 mandatory. Rewrite doc-string.
10130 (walk-window-subtree, window-atom-check, window-min-delta)
10131 (window-max-delta, window--resize-this-window)
10132 (window--resize-root-window-vertically, window-tree)
10133 (balance-windows, window-state-put): Rewrite doc-strings as to
10134 not mention the term "subwindow".
10135 (window--resize-subwindows-skip-p): Rename to
10136 window--resize-child-windows-skip-p.
10137 (window--resize-subwindows-normal): Rename to
10138 window--resize-child-windows-normal.
10139 (window--resize-subwindows): Rename to
10140 window--resize-child-windows.
10141 (window-or-subwindow-p): Rename to window--in-subtree-p.
10142
3c6702ef
ML
101432011-11-07 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
10144
10145 * mail/rmail.el (rmail-get-new-mail, rmail-insert-inbox-text):
10146 Ensure that mbox format messages end in two newlines (Bug#9974).
10147
49745b39
CY
101482011-11-06 Chong Yidong <cyd@gnu.org>
10149
10150 * window.el (window-combination-p): Function deleted; its
10151 side-effect is not used in any existing code.
10152 (window-combinations, window-combined-p): Call window-*-child
10153 directly.
10154
24300f5f
CY
101552011-11-05 Chong Yidong <cyd@gnu.org>
10156
10157 * window.el (window-valid-p): Rename from window-any-p.
447f16b8
CY
10158 (window-size-ignore, window-state-get): Callers changed.
10159 (window-normalize-window): Rename from window-normalize-any-window.
10160 New arg LIVE-ONLY, replacing window-normalize-live-window.
1dce7193 10161 (window-normalize-live-window): Delete.
447f16b8
CY
10162 (window-combination-p, window-combined-p, window-combinations)
10163 (walk-window-subtree, window-atom-root, window-min-size)
10164 (window-sizable, window-sizable-p, window-size-fixed-p)
10165 (window-min-delta, window-max-delta, window-resizable)
10166 (window-resizable-p, window-full-height-p, window-full-width-p)
10167 (window-current-scroll-bars, window-point-1, set-window-point-1)
10168 (window-at-side-p, window-in-direction, window-resize)
10169 (adjust-window-trailing-edge, maximize-window, minimize-window)
10170 (window-deletable-p, delete-window, delete-other-windows)
10171 (record-window-buffer, unrecord-window-buffer)
10172 (switch-to-prev-buffer, switch-to-next-buffer, window--delete)
10173 (quit-window, split-window, window-state-put)
10174 (set-window-text-height, fit-window-to-buffer)
10175 (shrink-window-if-larger-than-buffer): Callers changed.
24300f5f 10176
89bd5ee1
EZ
101772011-11-04 Eli Zaretskii <eliz@gnu.org>
10178
53479029
EZ
10179 * mail/rmail.el (rmail-simplified-subject): Decode subject with
10180 rfc2047-decode-string.
10181 (rmail-mime-toggle-hidden): Declare to avoid byte-compilation
10182 warnings.
10183
89bd5ee1
EZ
10184 * window.el (window-body-height, window-body-width): Mention in
10185 the doc string that the return values are in frame's canonical
10186 units. (Bug#9949)
10187
bd17fdee
AM
101882011-11-03 Alan Mackenzie <acm@muc.de>
10189
10190 * progmodes/cc-langs.el (c-nonlabel-token-2-key): New variable for
10191 change in cc-engine.el.
10192
acc825c5
SM
101932011-11-02 Stefan Monnier <monnier@iro.umontreal.ca>
10194
10195 * window.el (switch-to-buffer): Use `force-same-window' interactively.
10196
1885e5b8
MR
101972011-11-02 Martin Rudalics <rudalics@gmx.at>
10198
10199 * window.el (quit-window): Call unrecord-window-buffer after
10200 showing another buffer in the window. (Bug#9937)
acc825c5 10201 (bury-buffer): Call switch-to-prev-buffer with second argument `bury'.
1885e5b8 10202
ebe06da9
JB
102032011-11-02 Juanma Barranquero <lekktu@gmail.com>
10204
10205 * vc/vc-bzr.el (vc-bzr-state, vc-bzr-after-dir-status):
10206 Accept status with more than 9 shelves. (Bug#9935)
10207 Reported by Colin D Bennett <colin@gibibit.com>.
10208
4ee88440
MR
102092011-11-01 Martin Rudalics <rudalics@gmx.at>
10210
10211 * help.el (with-help-window): Don't reference
10212 temp-buffer-show-specifiers in doc-string.
10213
08e1d82c
AS
102142011-10-31 Andreas Schwab <schwab@linux-m68k.org>
10215
10216 * subr.el (keymap--menu-item-with-binding): Ignore item if not a
10217 menu-item.
10218
84bd6e9e
VJL
102192011-10-30 Vinicius Jose Latorre <viniciusjl@ig.com.br>
10220
10221 * whitespace.el: New version 13.2.2.
10222 (whitespace-newline-mode): Disable properly. Reported by Sarah
10223 <EmacsWiki>.
10224
dba0634a
UJ
102252011-10-30 Ulf Jasper <ulf.jasper@web.de>
10226
10227 * net/newst-treeview.el: Remove "Time-stamp".
10228 (newsticker--group-manage-orphan-feeds): Do not call
10229 newsticker--treeview-tree-update.
db22a3c2
JB
10230 (newsticker-treeview-update, newsticker-treeview):
10231 Call newsticker--treeview-tree-update if necessary.
dba0634a 10232
3d8daefe
MR
102332011-10-30 Martin Rudalics <rudalics@gmx.at>
10234
10235 * window.el (window-iso-combination-p, window-iso-combined-p)
acc825c5
SM
10236 (window-iso-combinations): Remove "iso-" infix.
10237 Suggested by Chong Yidong.
3d8daefe
MR
10238 (window-min-size-1, window-size-fixed-1, window-min-delta-1)
10239 (window-max-delta-1, window-resize, window--resize-siblings)
10240 (window--resize-this-window, adjust-window-trailing-edge)
10241 (split-window, balance-windows-1)
10242 (shrink-window-if-larger-than-buffer):
10243 * calendar/calendar.el (calendar-generate-window):
db22a3c2 10244 * help.el (resize-temp-buffer-window): Adjust callers accordingly.
3d8daefe 10245
1bc4c3ae
SM
102462011-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
10247
10248 * eshell/esh-cmd.el (eshell-rewrite-for-command): Don't modify the list
10249 in place (bug#9907).
10250 (eshell-subcommand-arg-values, eshell-rewrite-named-command)
10251 (eshell-rewrite-if-command, eshell-rewrite-for-command)
10252 (eshell-structure-basic-command, eshell-rewrite-while-command)
10253 (eshell-invokify-arg, eshell-parse-pipeline, eshell-parse-command)
10254 (eshell-parse-subcommand-argument, eshell-parse-lisp-argument)
10255 (eshell-trap-errors, eshell-do-pipelines, eshell-do-eval)
10256 (eshell-do-pipelines-synchronously, eshell-eval-command):
10257 Use backquotes and prefer setq to set.
10258 (eshell-lookup-function, function-p-func, eshell-functionp): Remove.
10259 (eshell-macrop): Use functionp.
c1e2f5fa 10260 (eshell-do-eval): Handle multiple expressions in `while' body.
1bc4c3ae 10261
30b65d9c
CY
102622011-10-30 Chong Yidong <cyd@gnu.org>
10263
10264 * emulation/viper-cmd.el (viper-exec-change): Use push-mark
10265 instead of set-mark (Bug#9810).
10266
2d197ffb
CY
102672011-10-30 Chong Yidong <cyd@gnu.org>
10268
10269 * window.el (split-window-below, split-window-right): Rename from
10270 split-window-above-each-other and split-window-side-by-side
10271 respectively. All callers changed.
10272 (split-window-sensibly, split-window-sensibly): Use them.
10273 (split-window-keep-point): Doc fix.
10274
10275 * isearch.el: Add isearch-scroll property to split-window-below
10276 and split-window-right.
10277
10278 * follow.el (follow-mode):
10279 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
10280 * progmodes/ada-xref.el (ada-gdb-application):
10281 * emulation/vip.el (vip-buffer-in-two-windows):
10282 * image-dired.el (image-dired-dired-with-window-configuration):
10283 * dired-x.el (dired-do-find-marked-files):
10284 * dired.el (dired-pop-to-buffer):
10285 * bs.el (bs--show-with-configuration):
10286 * vc/emerge.el (emerge-setup-windows):
10287 * textmodes/two-column.el (2C-two-columns):
10288 * textmodes/reftex-toc.el (reftex-toc):
10289 * progmodes/gdb-mi.el (gdb-setup-windows):
10290 * progmodes/fortran.el (fortran-window-create):
10291 * net/newst-treeview.el (newsticker--treeview-window-init):
10292 * emulation/ws-mode.el (wordstar-C-o-map, wordstar-mode):
10293 * emulation/tpu-edt.el (tpu-gold-map):
10294 * emulation/crisp.el (crisp-mode-map):
10295 * calendar/calendar.el (calendar-basic-setup): Callers changed.
10296
38bb2ca8
CY
102972011-10-29 Chong Yidong <cyd@gnu.org>
10298
aa4de341
CY
10299 * subr.el (y-or-n-p): Add code for batch mode (Bug#9818).
10300
e1eb5385
CY
10301 * mouse.el (mouse-yank-primary): Push the mark (Bug#9894).
10302
5d2ece3c
CY
10303 * textmodes/flyspell.el (flyspell-word): Fix char offset for
10304 forged Ispell output (Bug#7904).
10305
38bb2ca8
CY
10306 * emacs-lisp/package.el (package-refresh-contents): Add autoload.
10307
d0af9f77
SM
103082011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
10309
10310 * doc-view.el: Avoid ugly errors about not finding nil.
10311 (doc-view-ghostscript-program, doc-view-dvipdfm-program)
10312 (doc-view-dvipdf-program, doc-view-unoconv-program)
10313 (doc-view-ps2pdf-program, doc-view-pdftotext-program):
10314 Avoid nil or absolute file name as default value.
10315 (doc-view-pdf->txt, doc-view-ps->pdf): Use executable-find here.
10316
52bedd34
AM
103172011-10-28 Alan Mackenzie <acm@muc.de>
10318
db22a3c2 10319 * progmodes/cc-defs.el (c-version): -> 5.32.2.
52bedd34 10320
7e43cfa5
AM
103212011-10-28 Alan Mackenzie <acm@muc.de>
10322
10323 Amend the handling of c-beginning/end-of-defun in nested declaration
10324 scopes.
10325
52bedd34
AM
10326 * progmodes/cc-vars.el (c-defun-tactic): Move here from
10327 cc-langs.el. Change it to a defcustom.
7e43cfa5 10328
52bedd34
AM
10329 * progmodes/cc-langs.el (c-defun-tactic): Move this variable to
10330 cc-vars.el.
7e43cfa5 10331
d0af9f77
SM
10332 * progmodes/cc-engine.el (c-beginning-of-statement-1):
10333 Prevent "class foo : bar" being spuriously recognized as a label.
7e43cfa5 10334
52bedd34 10335 * progmodes/cc-cmds.el (c-narrow-to-most-enclosing-decl-block):
acc825c5 10336 Add parameter `inclusive' (to include enclosing braces in the region).
7e43cfa5
AM
10337 (c-widen-to-enclosing-decl-scope): New function.
10338 (c-while-widening-to-decl-block): New macro.
10339 (c-beginning-of-defun, c-end-of-defun): Change algorithm to keep going
10340 outward for defun boundaries, and correspondingly change symbol
10341 `respect-enclosure' to `go-outward'.
10342 (c-declaration-limits): Change algorithm to report only the "innermost"
10343 defun's boundaries.
10344
1a2ce9ee
DD
103452011-10-28 Deniz Dogan <deniz@dogan.se>
10346
10347 * net/rcirc.el (rcirc-mode): Use hard newlines.
10348
bc97a826
AM
103492011-10-28 Alan Mackenzie <acm@muc.de>
10350
10351 Amend to indent and fontify macros "which include their own semicolon"
10352 correctly, using the "virtual semicolon" mechanism.
10353
52bedd34 10354 * progmodes/cc-defs.el: Update "virtual semicolon" comments.
bc97a826 10355
d0af9f77 10356 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
7877f373 10357 Recode to scan one line at a time rather than having \n and \r
58179cce 10358 explicitly in c-stmt-delim-chars (for some modes, e.g. AWK).
bc97a826 10359 (c-forward-label): Amend for virtual semicolons.
58179cce 10360 (c-at-macro-vsemi-p, c-macro-vsemi-status-unknown-p): New functions.
bc97a826 10361
52bedd34
AM
10362 * progmodes/cc-fonts.el (c-font-lock-declarations): Take account
10363 of the new C macros.
bc97a826 10364
52bedd34 10365 * progmodes/cc-langs.el (c-at-vsemi-p-fn):
acc825c5
SM
10366 (c-vsemi-status-unknown-p-fn): Move to earlier in the file.
10367 (c-opt-cpp-symbol, c-line-comment-start-regexp): New language vars.
bc97a826
AM
10368 (c-opt-cpp-macro-define): Make into a full language variable.
10369 (c-stmt-delim-chars, c-stmt-delim-chars-with-comma): Special value for
10370 AWK Mode (including \n, \r) removed, no longer needed.
10371
d0af9f77
SM
10372 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode):
10373 Invoke c-make-macro-with-semi-re.
bc97a826 10374
52bedd34
AM
10375 * progmodes/cc-vars.el (c-macro-with-semi-re):
10376 (c-macro-names-with-semicolon): New variables.
58179cce 10377 (c-make-macro-with-semi-re): New function.
bc97a826 10378
7a6c0941
SM
103792011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
10380
10381 * vc/log-edit.el: Fill empty field rather than adding new one.
10382 (log-edit-add-field): New function.
10383 (log-edit-insert-changelog): Use it.
10384
b0c4cdcf
ML
103852011-10-28 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
10386
10387 * mail/rmail.el (rmail-mode-map): Add M-C-f as in rmailsum (bug#9802).
10388
ee1f1da9
SM
103892011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
10390
10391 * progmodes/gdb-mi.el: Warn the user when -i=mi is missing.
10392 (gdb--check-interpreter): New function.
10393 (gdb): Use it.
10394
51bc5f8b
GM
103952011-10-27 Glenn Morris <rgm@gnu.org>
10396
416a2c45
GM
10397 * emacs-lisp/cl-extra.el (most-positive-float, most-negative-float)
10398 (least-positive-float, least-negative-float)
10399 (least-positive-normalized-float, least-negative-normalized-float)
10400 (float-epsilon, float-negative-epsilon):
10401 Remove unnecessary declarations.
10402
10403 * emacs-lisp/cl-extra.el (cl-float-limits): Add doc string.
10404 * emacs-lisp/cl.el (most-positive-float, most-negative-float)
10405 (least-positive-float, least-negative-float)
10406 (least-positive-normalized-float, least-negative-normalized-float)
10407 (float-epsilon, float-negative-epsilon): Add doc-strings,
10408 based on those in cl.texi.
10409
51bc5f8b
GM
10410 * files.el (set-visited-file-name): If the major-mode changed,
10411 reload the local variables. (Bug#9796)
10412
15de15c6
CY
104132011-10-27 Chong Yidong <cyd@gnu.org>
10414
10415 * subr.el (change-major-mode-after-body-hook): New hook.
10416 (run-mode-hooks): Run it.
10417
ee1f1da9
SM
10418 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
10419 Use change-major-mode-before-body-hook.
15de15c6
CY
10420
10421 * simple.el (fundamental-mode):
10422 * emacs-lisp/derived.el (define-derived-mode): Revert 2010-04-28
10423 change introducing fundamental-mode-hook.
10424
5430d399
JB
104252011-10-26 Juanma Barranquero <lekktu@gmail.com>
10426
acc825c5 10427 * term/w32-win.el (w32-default-color-map): Declare obsolete (Bug#9785).
5430d399 10428
ad74a69e
MA
104292011-10-26 Michael Albinus <michael.albinus@gmx.de>
10430
10431 * ido.el (ido-file-name-all-completions-1): Do not require
c7015153 10432 tramp.el explicitly. (Bug#7583)
ad74a69e 10433
71d4c2a5
SM
104342011-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
10435
10436 * progmodes/octave-mod.el:
10437 * progmodes/octave-inf.el: Update maintainer.
10438
b1f6fa26
CY
104392011-10-26 Chong Yidong <cyd@gnu.org>
10440
10441 * subr.el (with-wrapper-hook): Rewrite doc.
10442
3f04efd6
MA
104432011-10-25 Michael Albinus <michael.albinus@gmx.de>
10444
10445 * net/tramp-sh.el (tramp-sh-handle-file-directory-p): Return t for
ad74a69e 10446 filenames "/method:foo:". (Bug#9793)
3f04efd6 10447
410488d3
SM
104482011-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
10449
10450 * comint.el (comint-get-old-input-default): Fix use-prompt-regexp case
10451 (bug#9865).
10452
c1ebb47e
GM
104532011-10-24 Glenn Morris <rgm@gnu.org>
10454
10455 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix. (Bug#9819)
10456
7f5c46c7
MA
104572011-10-24 Michael Albinus <michael.albinus@gmx.de>
10458
10459 * notifications.el: Add the requirement of a running D-Bus session
10460 bus to the Commentary.
10461
db2440b6
JL
104622011-10-24 Juri Linkov <juri@jurta.org>
10463
10464 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
10465 `search-whitespace-regexp' only when `isearch-regexp' is non-nil.
10466 (Bug#9364)
10467
feecf435
JL
104682011-10-24 Juri Linkov <juri@jurta.org>
10469
10470 * info.el (Info-following-node-name-re): Add newline to the list
10471 of allowed characters for leading space. (Bug#9824)
10472
a3839de2
SM
104732011-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
10474
acc825c5
SM
10475 * progmodes/octave-inf.el (inferior-octave-mode-map):
10476 Fix C-c C-h binding.
a3839de2
SM
10477 * progmodes/octave-mod.el (octave-help): Remove.
10478
09388e76
MA
104792011-10-23 Michael Albinus <michael.albinus@gmx.de>
10480
10481 Sync with Tramp 2.2.3.
10482
10483 * net/tramp-cache.el (top): Pacify byte-compiler using
10484 `init-file-user' and `site-run-file'.
10485
10486 * net/trampver.el: Update release number.
10487
86c60681
CY
104882011-10-23 Chong Yidong <cyd@gnu.org>
10489
10490 * files.el (toggle-read-only): Remove obsolete comment about
10491 version control.
10492
10493 * vc/vc-hooks.el (vc-toggle-read-only): Make it an obsolete alias
10494 for toggle-read-only. Note that this hasn't called vc-next-action
10495 since 2008-05-02, though it wasn't documented at the time.
10496
a3839de2
SM
10497 * vc/ediff-init.el (ediff-toggle-read-only-function):
10498 Use toggle-read-only.
86c60681 10499
cd5495ff
AM
105002011-10-22 Alan Mackenzie <bug-cc-mode@gnu.org>
10501
10502 Fix bug #9560, sporadic wrong indentation; improve instrumentation
10503 of c-parse-state.
10504
00b77525 10505 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
a3839de2 10506 correct faulty logical expression.
cd5495ff
AM
10507 (c-parse-state-state, c-record-parse-state-state):
10508 (c-replay-parse-state-state): New defvar/defuns.
10509 (c-debug-parse-state): Use new functions.
10510
42ee24ed
MR
105112011-10-22 Martin Rudalics <rudalics@gmx.at>
10512
10513 * mouse.el (mouse-drag-line): Fix minibuffer resizing broken by
53ebff1f 10514 last fix. Use window-in-direction correctly.
42ee24ed 10515
a7dee7e7
CY
105162011-10-21 Chong Yidong <cyd@gnu.org>
10517
10518 * progmodes/idlwave.el (idlwave-mode):
10519 * progmodes/vera-mode.el (vera-mode): No need to set
a3839de2
SM
10520 require-final-newline; that's done in prog-mode.
10521 Suggested by Stefan Monnier.
a7dee7e7 10522
e07b9a6d
MR
105232011-10-21 Martin Rudalics <rudalics@gmx.at>
10524
10525 * mouse.el (mouse-drag-window-above)
10526 (mouse-drag-move-window-bottom, mouse-drag-move-window-top)
10527 (mouse-drag-mode-line-1, mouse-drag-header-line)
10528 (mouse-drag-vertical-line-rightward-window): Remove.
10529 (mouse-drag-line): New function.
10530 (mouse-drag-mode-line, mouse-drag-header-line)
10531 (mouse-drag-vertical-line): Call mouse-drag-line.
10532 * window.el (window-at-side-p, windows-at-side): New functions.
10533
7e1361d9
UM
105342011-10-21 Ulrich Mueller <ulm@gentoo.org>
10535
10536 * tar-mode.el (tar-grind-file-mode):
10537 Fix handling of setuid/setgid, handle sticky bit. (Bug#9817)
10538
30fcaf3a
CY
105392011-10-21 Chong Yidong <cyd@gnu.org>
10540
10541 * progmodes/idlwave.el (idlwave-mode):
a3839de2
SM
10542 * progmodes/vera-mode.el (vera-mode):
10543 Use mode-require-final-newline.
30fcaf3a 10544
516eddb0
GM
105452011-10-20 Glenn Morris <rgm@gnu.org>
10546
db22a3c2 10547 * vc/vc.el (vc-next-action): Handle removed directories. (Bug#9781)
516eddb0 10548
10d5f513
CS
105492011-10-20 Christoph Scholtes <cschol2112@googlemail.com>
10550
10551 * emulation/cua-base.el (cua-set-mark): Fix case of string.
10552
ac6c8639
CY
105532011-10-20 Chong Yidong <cyd@gnu.org>
10554
10555 * emulation/cua-base.el (cua-mode):
10556 * mail/footnote.el (footnote-mode):
10557 * mail/mailabbrev.el (mail-abbrevs-mode):
10558 * net/xesam.el (xesam-minor-mode):
10559 * progmodes/bug-reference.el (bug-reference-mode):
10560 * progmodes/cap-words.el (capitalized-words-mode):
10561 * progmodes/compile.el (compilation-minor-mode)
10562 (compilation-shell-minor-mode):
10563 * progmodes/gud.el (gud-tooltip-mode):
10564 * progmodes/hideif.el (hide-ifdef-mode):
10565 * progmodes/idlw-shell.el (idlwave-shell-electric-debug-mode):
10566 * progmodes/subword.el (subword-mode):
10567 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
10568 * progmodes/which-func.el (which-function-mode):
10569 * term/tvi970.el (tvi970-set-keypad-mode):
10570 * term/vt100.el (vt100-wide-mode):
10571 * textmodes/flyspell.el (flyspell-mode):
10572 * textmodes/ispell.el (ispell-minor-mode):
10573 * textmodes/nroff-mode.el (nroff-electric-mode):
10574 * textmodes/paragraphs.el (use-hard-newlines):
10575 * textmodes/refill.el (refill-mode):
10576 * textmodes/reftex.el (reftex-mode):
10577 * textmodes/rst.el (rst-minor-mode):
10578 * textmodes/sgml-mode.el (html-autoview-mode)
10579 (sgml-electric-tag-pair-mode):
10580 * textmodes/tex-mode.el (latex-electric-env-pair-mode):
10581 * vc/diff-mode.el (diff-auto-refine-mode, diff-minor-mode):
10582 * emulation/crisp.el (crisp-mode):
10583 * emacs-lisp/eldoc.el (eldoc-mode):
10584 * emacs-lisp/checkdoc.el (checkdoc-minor-mode): Doc fixes for new
10585 minor mode behavior.
10586
aa42ab43
JL
105872011-10-19 Juri Linkov <juri@jurta.org>
10588
10589 * descr-text.el (describe-char): Add #x2010 and #x2011 to
10590 the list of hard-coded chars with escape-glyph face.
10591
89400f1d
SM
105922011-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
10593
10594 * vc/log-edit.el (log-edit-empty-buffer-p): Ignore empty headers.
10595
305c07f6
MA
105962011-10-19 Michael Albinus <michael.albinus@gmx.de>
10597
10598 * net/tramp.el (tramp-connectable-p): Make a stronger check on a
10599 running process.
10600
13754b54
GM
106012011-10-19 Glenn Morris <rgm@gnu.org>
10602
10603 * vc/vc-bzr.el (vc-bzr-after-dir-status):
10604 Ignore ignored files. (Bug#9726)
10605
06e21633
CY
106062011-10-19 Chong Yidong <cyd@gnu.org>
10607
10608 Doc fix for minor modes, stating that an omitted argument enables
10609 the mode unconditionally when called from Lisp.
10610
10611 * abbrev.el (abbrev-mode):
10612 * allout.el (allout-mode):
10613 * autoinsert.el (auto-insert-mode):
10614 * autoarg.el (autoarg-mode, autoarg-kp-mode):
10615 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
10616 (global-auto-revert-mode):
10617 * battery.el (display-battery-mode):
10618 * composite.el (global-auto-composition-mode)
10619 (auto-composition-mode):
10620 * delsel.el (delete-selection-mode):
10621 * desktop.el (desktop-save-mode):
10622 * dired-x.el (dired-omit-mode):
10623 * dirtrack.el (dirtrack-mode):
10624 * doc-view.el (doc-view-minor-mode):
10625 * double.el (double-mode):
10626 * electric.el (electric-indent-mode, electric-pair-mode):
10627 * emacs-lock.el (emacs-lock-mode):
10628 * epa-hook.el (auto-encryption-mode):
10629 * follow.el (follow-mode):
10630 * font-core.el (font-lock-mode):
10631 * frame.el (auto-raise-mode, auto-lower-mode, blink-cursor-mode):
10632 * help.el (temp-buffer-resize-mode):
10633 * hilit-chg.el (highlight-changes-mode)
10634 (highlight-changes-visible-mode):
10635 * hi-lock.el (hi-lock-mode):
10636 * hl-line.el (hl-line-mode, global-hl-line-mode):
10637 * icomplete.el (icomplete-mode):
10638 * ido.el (ido-everywhere):
10639 * image-file.el (auto-image-file-mode):
10640 * image-mode.el (image-minor-mode):
10641 * iswitchb.el (iswitchb-mode):
10642 * jka-cmpr-hook.el (auto-compression-mode):
10643 * linum.el (linum-mode):
10644 * longlines.el (longlines-mode):
10645 * master.el (master-mode):
10646 * mb-depth.el (minibuffer-depth-indicate-mode):
10647 * menu-bar.el (menu-bar-mode):
10648 * minibuf-eldef.el (minibuffer-electric-default-mode):
10649 * mouse-sel.el (mouse-sel-mode):
10650 * msb.el (msb-mode):
10651 * mwheel.el (mouse-wheel-mode):
10652 * outline.el (outline-minor-mode):
10653 * paren.el (show-paren-mode):
10654 * recentf.el (recentf-mode):
10655 * reveal.el (reveal-mode, global-reveal-mode):
10656 * rfn-eshadow.el (file-name-shadow-mode):
10657 * ruler-mode.el (ruler-mode):
10658 * savehist.el (savehist-mode):
10659 * scroll-all.el (scroll-all-mode):
10660 * scroll-bar.el (scroll-bar-mode):
10661 * server.el (server-mode):
10662 * shell.el (shell-dirtrack-mode):
10663 * simple.el (auto-fill-mode, transient-mark-mode)
10664 (visual-line-mode, overwrite-mode, binary-overwrite-mode)
10665 (line-number-mode, column-number-mode, size-indication-mode)
10666 (auto-save-mode, normal-erase-is-backspace-mode, visible-mode):
10667 * strokes.el (strokes-mode):
10668 * time.el (display-time-mode):
10669 * t-mouse.el (gpm-mouse-mode):
10670 * tool-bar.el (tool-bar-mode):
10671 * tooltip.el (tooltip-mode):
10672 * type-break.el (type-break-mode-line-message-mode)
10673 (type-break-query-mode):
10674 * view.el (view-mode):
10675 * whitespace.el (whitespace-mode, whitespace-newline-mode)
10676 (global-whitespace-mode, global-whitespace-newline-mode):
10677 * xt-mouse.el (xterm-mouse-mode): Doc fix.
10678
a3839de2
SM
10679 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
10680 Fix autogenerated docstring.
06e21633 10681
5214e501
JL
106822011-10-19 Juri Linkov <juri@jurta.org>
10683
10684 * net/browse-url.el (browse-url-can-use-xdg-open): Support LXDE
10685 by checking environment variables "DESKTOP_SESSION" and
10686 "XDG_CURRENT_DESKTOP". (Bug#9779)
10687
195f8db9
JL
106882011-10-19 Juri Linkov <juri@jurta.org>
10689
10690 * net/browse-url.el (browse-url-browser-function): Add "Chromium".
10691 (browse-url-chromium-program, browse-url-chromium-arguments):
10692 New defcustoms.
10693 (browse-url-default-browser): Check for `browse-url-chromium' and
10694 call `browse-url-chromium-program'.
10695 (browse-url-chromium): New command. (Bug#9779)
10696
343a34ff
JB
106972011-10-18 Juanma Barranquero <lekktu@gmail.com>
10698
10699 * facemenu.el (list-colors-duplicates): On Windows, detect more
10700 duplicates by assuming that only colors matching "^System" are
10701 special "system colors". (Bug#9722)
10702
6978a151
SM
107032011-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
10704
10705 * vc/log-edit.el (log-edit): Add "Author:" header to encourage people
10706 to distinguish the author from the committer.
10707
6a80b297
MA
107082011-10-18 Michael Albinus <michael.albinus@gmx.de>
10709
10710 * net/tramp.el (tramp-file-name-handler): Load Tramp packages silently.
10711
b31a5677
JK
107122011-10-18 Jirka Kosek <jirka@kosek.cz> (tiny change)
10713
10714 * international/mule.el (sgml-html-meta-auto-coding-function):
10715 Add support for detecting encoding in HTML5 specified only as
10716 <meta charset="UTF-8">. Implementation just makes http-equiv and
10717 content-type parts from HTML4 encoding string optional. (Bug#9716)
10718
80c6d77f
GM
107192011-10-18 Glenn Morris <rgm@gnu.org>
10720
10721 * vc/vc.el (vc-initial-comment): Mark as obsolete. (Bug#9745)
10722
08b0fee8
CY
107232011-10-18 Chong Yidong <cyd@gnu.org>
10724
10725 * faces.el (cursor): Doc fix.
10726
67e729a5
CY
107272011-10-17 Chong Yidong <cyd@gnu.org>
10728
10729 * font-lock.el (font-lock-maximum-size): Mark as obsolete.
10730
343a34ff 107312011-10-17 Ryan Barrett <emacs@ryanb.org> (tiny change)
87e478b3
RB
10732
10733 * dirtrack.el (dirtrack): Support shell buffers with path
10734 prefixes, e.g. tramp-based remote shells. (Bug#9647)
10735
0bc06380
TZ
107362011-10-17 Teodor Zlatanov <tzz@lifelogs.com>
10737
10738 * json.el: Bump version to 1.3 and note change in History.
10739 (json-alist-p, json-plist-p): Rewrite to avoid recursion.
10740
8b79f3e0
SM
107412011-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
10742
5a7c536b
SM
10743 * comint.el (comint-insert-input, comint-send-input)
10744 (comint-get-old-input-default, comint-backward-matching-input)
10745 (comint-next-prompt): Use nil instead of `input' for field property of
10746 past user input (bug#114).
10747
96a8a0df
SM
10748 * minibuffer.el (completion--replace): Inherit surrounding properties
10749 (bug#114).
10750 (minibuffer-complete-and-exit): Use it.
10751
8b79f3e0
SM
10752 * comint.el (comint--table-subvert): Quote the all-completions output
10753 (bug#9160).
10754
b8f7ff0d
MR
107552011-10-17 Martin Rudalics <rudalics@gmx.at>
10756
8b79f3e0 10757 * ido.el (ido-default-buffer-method): Remove redundant :type entry.
4e5c3d2b 10758
b8f7ff0d 10759 * menu-bar.el (menu-bar-file-menu): Add entry for making new
d912bdcf 10760 window on right of selected. (Bug#9350) Reword other window
b8f7ff0d
MR
10761 entries and separate them from frame entries.
10762
c235b555
GM
107632011-10-15 Glenn Morris <rgm@gnu.org>
10764
10765 * emacs-lisp/ert.el (ert--explain-equal-rec, ert-select-tests):
10766 Doc fixes.
10767
6bbfa6e1
CY
107682011-10-15 Chong Yidong <cyd@stupidchicken.com>
10769
8b79f3e0
SM
10770 * net/network-stream.el (network-stream-open-starttls):
10771 Improve detection of failure due to lack of TLS support.
ec5c990d 10772
6bbfa6e1
CY
10773 * mail/sendmail.el (sendmail-query-once): Tweak prompt message,
10774 putting the input text in front and in bold.
10775
98488977
SM
107762011-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
10777
3d1337be
SM
10778 * pcmpl-unix.el (pcomplete/ssh): SSH does allow ganging.
10779
ee0b45e4
SM
10780 * mpc.el (mpc-songs-jump-to): Don't burp if the user clicks in an
10781 empty buffer.
10782
98488977
SM
10783 * mouse.el (mouse-drag-mode-line-1): Modify the end-event we pushed on
10784 unread-command-events rather than pushing yet-another event.
10785
186f4720
EZ
107862011-10-14 Eli Zaretskii <eliz@gnu.org>
10787
10788 * mail/sendmail.el (sendmail-query-once): Improve the wording of
10789 the explanation of the possible choices. Make the options passed
10790 to completing-read shorter.
10791
8b7a997c
AM
107922011-10-13 Agustín Martín Domingo <agustin.martin@hispalinux.es>
10793
10794 * textmodes/flyspell.el (flyspell-large-region): Make sure
10795 extended character mode is used if defined (Bug#1339).
10796
12587bbb
EZ
107972011-10-13 Eli Zaretskii <eliz@gnu.org>
10798
10799 * simple.el (what-cursor-position): Fix the display of the
e7e2364b
EZ
10800 character info for LRE, LRO, RLE, and RLO characters by appending
10801 an invisible PDF.
12587bbb 10802
bad41229
SM
108032011-10-13 Stefan Monnier <monnier@iro.umontreal.ca>
10804
10805 * emacs-lisp/timer.el (with-timeout): Make sure we cancel the timer
10806 even in case of error; add debug spec; simplify data flow.
10807 (with-timeout-handler): Remove.
10808
28dbc92f
MA
108092011-10-12 Michael Albinus <michael.albinus@gmx.de>
10810
10811 Fix Bug#6019, Bug#9315.
10812
10813 * files.el (set-auto-mode): Call `file-name-sans-versions' for the
10814 complete `buffer-file-name', the local file name part could look
10815 remotely (for example on VMS).
10816
10817 * net/ange-ftp.el (ange-ftp-run-real-handler): Make it an alias of
10818 `tramp-run-real-handler'.
10819 (ange-ftp-fix-name-for-vms): Handle the case, where `name' is
10820 already quoted by '"'.
10821
10822 * net/tramp.el (tramp-rfn-eshadow-update-overlay): Ignore errors.
10823 Let `file-name-handler-alist' be nil, the local file name part
10824 could look remotely (for example on VMS).
10825
e1b0b23a
SM
108262011-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
10827
10828 * textmodes/flyspell.el (flyspell-word): Move with-local-quit
10829 from here...
10830 (flyspell-post-command-hook): ...to here.
10831
a120bde9
SM
108322011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
10833
10834 * mail/sendmail.el (send-mail-function): Don't use sendmail-query-once
10835 if not needed.
10836 (sendmail-query-once): Remove OS dependencies. Make it a 3-way choice
10837 using completion. Protect against "slow" callers.
10838 Remove the "message hack".
10839
7ce7717b
JL
108402011-10-11 Juri Linkov <juri@jurta.org>
10841
10842 * isearch.el (isearch-lazy-highlight-word): New variable.
10843 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
10844 Use it. (Bug#9727)
10845
c02ee9d6
GM
108462011-10-11 Glenn Morris <rgm@gnu.org>
10847
10848 * progmodes/f90.el (f90-next-statement): Ignore preprocessor lines,
10849 like f90-previous-statement does.
10850
93e616fd 108512011-10-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
10852
1f190e73 10853 * eshell/eshell.el (eshell-command): History should be saved
c02ee9d6
GM
10854 only in interactive use, to avoid error.
10855
af7b6078
SM
108562011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
10857
10858 * minibuffer.el (completion-file-name-table): Fix last change,
10859 i.e. ignore normal errors but not the other ones.
10860
0563dae9
MR
108612011-10-10 Martin Rudalics <rudalics@gmx.at>
10862
10863 * window.el (special-display-buffer-names)
10864 (special-display-regexps): Remove some remnants of earlier
10865 changes from doc-strings.
366ca7f3
MR
10866 (quit-windows-on): New function.
10867
10868 * vc/vc.el (vc-revert, vc-rollback):
10869 * vc/vc-dispatcher.el (vc-finish-logentry): Call quit-windows-on
10870 instead of deleting windows. (Bug#4557) (Bug#5310) (Bug#5556)
9ac13c31 10871 (Bug#6183) (Bug#7074) (Bug#7447)
0563dae9 10872
49677495
MR
108732011-10-09 Martin Rudalics <rudalics@gmx.at>
10874
10875 * window.el (frame-auto-hide-function): Add version tag.
10876 (Bug#9699)
10877
56f2d1e1
MA
108782011-10-09 Michael Albinus <michael.albinus@gmx.de>
10879
10880 * net/tramp.el (tramp-file-name-handler): Add 'debug to the error
10881 condition.
10882
112a6592
LL
108832011-10-09 Leo Liu <sdl.web@gmail.com>
10884
10885 * mail/smtpmail.el (smtpmail-send-data): Add a missing space.
10886 (Bug#9701)
10887
0812589b
GM
108882011-10-08 Glenn Morris <rgm@gnu.org>
10889
10890 * progmodes/f90.el (f90-calculate-indent): Give preprocessor lines
10891 before the first code statement zero indent. (Bug#9690)
10892
b2b0776e
CY
108932011-10-08 Chong Yidong <cyd@stupidchicken.com>
10894
10895 * simple.el (count-words-region): Always count in the region.
10896 Report the number of lines and characters too.
10897 (count-words): New command, which counts in the buffer if the
10898 region is inactive, as count-words-region used to.
10899 (count-words--message): New function. Handle plurals.
10900 (count-lines-region): Make it an alias for count-words-region.
10901
10902 * bindings.el (esc-map): Replace count-lines-region with
10903 count-words-region.
10904
c557cd6b
MR
109052011-10-08 Martin Rudalics <rudalics@gmx.at>
10906
10907 * window.el (window--delete): Delete dedicated frame
10908 unconditionally when argument KILL is non-nil. (Bug#9699)
235ce86f 10909 (switch-to-buffer): Fix doc-string typo.
c557cd6b 10910
61a57ef4 109112011-10-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
10912
3a7d293b 10913 * eshell/eshell.el (eshell-command): Avoid using hooks.
61a57ef4 10914
c3833279
CY
109152011-10-07 Chong Yidong <cyd@stupidchicken.com>
10916
10917 * bindings.el ([M-left],[M-right]): Bind to left-word and
10918 right-word respectively.
10919
21ce8245
GM
109202011-10-07 Glenn Morris <rgm@gnu.org>
10921
10922 * cus-start.el (debug-on-quit): Fix custom type.
10923
6d823bb2
LMI
109242011-10-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
10925
0181e193
LMI
10926 * subr.el (define-key-after): Clarify that the function is not
10927 useful for non-menu keymaps.
10928
6d823bb2
LMI
10929 * progmodes/gdb-mi.el (gdb): Fix typo in doc string.
10930
8e3459ce 109312011-10-06 Thierry Volpiatto <thierry.volpiatto@gmail.com>
10932
21ce8245 10933 * eshell/eshell.el (eshell-command): Enable `eshell-mode' only
8e3459ce 10934 in current minibuffer (Fix bug with recursive minibuffers).
10935
a1c2d21e
CY
109362011-10-06 Chong Yidong <cyd@stupidchicken.com>
10937
10938 * progmodes/gdb-mi.el (gdb): Doc fix.
10939
5a4cf282
MR
109402011-10-05 Martin Rudalics <rudalics@gmx.at>
10941
10942 * window.el (frame-auto-hide-function): New option replacing
10943 frame-auto-delete. Suggested by Stefan Monnier.
10944 (window--delete): Call frame-auto-hide-function instead of
10945 investigating frame-auto-delete.
c96111ea
MR
10946 (window-point-1, set-window-point-1): New functions.
10947 (window-in-direction, record-window-buffer, window-state-get-1)
10948 (display-buffer-record-window): Use window-point-1 instead of
10949 window-point.
10950 (set-window-buffer-start-and-point): Use set-window-point-1.
5a4cf282 10951
9854542e
SM
109522011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
10953
10954 * emacs-lisp/edebug.el: Heed checkdoc recommendations.
10955
8943cfb0
GM
109562011-10-05 Glenn Morris <rgm@gnu.org>
10957
10958 * progmodes/perl-mode.el (perl-electric-terminator): Doc fix.
10959 (perl-calculate-indent): Suppress scan errors. (Bug#2205)
10960
647ab967
LL
109612011-10-05 Leo Liu <sdl.web@gmail.com>
10962
10963 * subr.el (read-char-choice): Fix argument to buffer-live-p which
10964 works with buffer object.
10965
3ddfbced
SM
109662011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
10967
10968 * mpc.el (mpc-tool-bar-map): Add labels.
10969
bdfa5dd2
GM
109702011-10-04 Glenn Morris <rgm@gnu.org>
10971
10972 * calendar/holidays.el (calendar-check-holidays): Doc fix.
10973
0e2070b5
MR
109742011-10-04 Martin Rudalics <rudalics@gmx.at>
10975
10976 * window.el (window--delete): New function.
10977 (frame-auto-delete): Resuscitate option.
10978 (bury-buffer, replace-buffer-in-windows)
10979 (quit-window): Rewrite using window--delete.
10980 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
10981 Pass display-buffer-mark-dedicated to window--display-buffer-2
10982 (Bug#9639).
10983
3dc61a09
SM
109842011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
10985
915a9b64
SM
10986 * pcmpl-unix.el (pcomplete/scp): Don't assume pcomplete-all-entries
10987 returns a list (bug#9554). Add remote file name completion.
10988 * comint.el (comint--table-subvert): Curry and get quote&unquote
10989 functions as arguments.
10990 (comint--complete-file-name-data): Adjust call accordingly.
10991 * pcomplete.el (pcomplete--table-subvert): Remove.
10992 (pcomplete-completions-at-point): Use comint--table-subvert instead.
10993
3dc61a09
SM
10994 * minibuffer.el (completion-table-case-fold): Use currying.
10995 (completion--styles-type, completion--cycling-threshold-type):
10996 New constants.
10997 (completion-styles, completion-category-overrides)
10998 (completion-cycle-threshold): Use them.
10999 * pcomplete.el (pcomplete-completions-at-point): Adjust call to
11000 completion-table-case-fold.
11001
8ea0a993
SB
110022011-10-03 Stephen Berman <stephen.berman@gmx.net>
11003
11004 * minibuffer.el (completion-category-overrides): Fix type of styles
11005 and add more user friendly tags (bug#9660).
11006
8c24b7f6
SM
110072011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
11008
11009 * international/mule-cmds.el: Fix abuses of apply-partially (bug#9661).
11010 (mule-input-method-string): New widget.
11011 (default-input-method, language-info-custom-alist): Use it.
11012
428fe61a
SM
110132011-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
11014
32c1fffd
SM
11015 * pcomplete.el: Require comint.
11016 (pcomplete--common-suffix): Remove.
11017 (pcomplete--common-quoted-suffix): Use comint--common-suffix instead.
11018 (pcomplete--table-subvert): Sync with comint--table-subvert.
11019 (pcomplete--entries): Use comint-completion-file-name-table.
11020 * comint.el (comint-unquote-filename): Simplify.
11021 (comint-completion-file-name-table): New function (bug#9616).
11022 (comint--complete-file-name-data): Use it.
11023
428fe61a
SM
11024 * pcmpl-gnu.el (pcmpl-gnu-with-file-buffer): New macro (bug#9643).
11025 (pcmpl-gnu-tar-buffer): Remove.
11026 (pcmpl-gnu-with-file-buffer): Use it to avoid leaving the tar's buffer
9aaf2b9c
GM
11027 around. Make sure pcomplete-suffix-list is only changed temporarily.
11028 Don't look inside the tar's file if it's too large.
428fe61a 11029
04c52e2f
CY
110302011-10-01 Chong Yidong <cyd@stupidchicken.com>
11031
ce3cefcc
CY
11032 * cus-edit.el (custom-mode-map):
11033 * epa.el (epa-key-list-mode-map):
11034 * man.el (Man-mode-map):
11035 * startup.el (splash-screen-keymap):
11036 * simple.el (special-mode-map): Use scroll-up-command and
11037 scroll-down-command.
11038
11039 * progmodes/idlw-help.el (idlwave-help-mode-map):
11040 * progmodes/ebrowse.el (ebrowse-electric-position-mode-map):
11041 * net/newst-plainview.el (newsticker-mode-map):
11042 * emulation/ws-mode.el (wordstar-mode-map):
11043 * emulation/vi.el (vi-com-map):
11044 * calc/calc-graph.el (calc-graph-show-dumb):
11045 * term/sun.el (terminal-init-sun):
11046 * term/ns-win.el (global-map):
11047 * progmodes/grep.el (grep-mode-map):
11048 * progmodes/ebrowse.el (ebrowse-electric-list-mode-map):
11049 * mail/rmail.el (rmail-mode-map):
11050 * progmodes/cpp.el (cpp-edit-mode-map): Likewise.
11051
04c52e2f
CY
11052 * custom.el (custom-safe-themes, load-theme): Treat value of t for
11053 custom-safe-themes as special.
11054
79adf8c8
JD
110552011-10-01 Julien Danjou <julien@danjou.info>
11056
11057 * notifications.el (notifications-notify): Fix docstring.
11058
63bd50d3
PS
110592011-10-01 Per Starbäck <per@starback.se>
11060
11061 * pcmpl-gnu.el (pcomplete/tar): Fix tar-header-name call. (Bug#9643)
11062
199e4c7e
MR
110632011-09-30 Martin Rudalics <rudalics@gmx.at>
11064
11065 * startup.el (command-line-1): Fix last fix by inserting
11066 initial-scratch-message into *scratch* before displaying it.
cbc5ee22 11067 (Bug#9605) and (Bug#9636)
199e4c7e 11068
fe5f08dd
EZ
110692011-09-29 Eli Zaretskii <eliz@gnu.org>
11070
11071 * simple.el (line-move): If auto-hscroll-mode is disabled and the
11072 window is hscrolled, move by logical lines. (Bug#9607)
11073 (line-move-visual): Update the doc string to the above effect.
11074
b5516bbd
MR
110752011-09-29 Martin Rudalics <rudalics@gmx.at>
11076
ccee00c0
MR
11077 * window.el (display-buffer-record-window): When WINDOW is the
11078 selected window use `point' instead of `window-point'. (Bug#9626)
11079
b5516bbd
MR
11080 * startup.el (command-line-1): Use insert-before-markers when
11081 inserting initial-scratch-message. (Bug#9605)
ccee00c0 11082
b5516bbd
MR
11083 * help.el (help-window): Remove variable.
11084
52aa0014
GM
110852011-09-29 Glenn Morris <rgm@gnu.org>
11086
11087 * pcmpl-cvs.el (pcomplete/cvs): Add "status" handler.
11088
df9a7357
JB
110892011-09-29 Juanma Barranquero <lekktu@gmail.com>
11090
11091 * descr-text.el (describe-char-categories): Accept category
11092 descriptions more than one line long.
11093
a8406c20
SM
110942011-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
11095
88d9610c
SM
11096 * simple.el (delete-trailing-whitespace): Fix last change.
11097
a5daf810
SM
11098 * progmodes/perl-mode.el (perl-syntax-propertize-function):
11099 Don't confuse "y => 3" as the beginning of a `y' operation.
11100
a8406c20
SM
11101 * emacs-lisp/debug.el (debug-convert-byte-code): Don't assume the
11102 object has more than 4 slots (bug#9613).
11103
a239d4e9
JB
111042011-09-28 Juanma Barranquero <lekktu@gmail.com>
11105
11106 * subr.el (with-output-to-temp-buffer):
11107 * net/quickurl.el (quickurl, quickurl-browse-url):
11108 Fix typos in docstrings.
11109
693fbdb6
EZ
111102011-09-27 Eli Zaretskii <eliz@gnu.org>
11111
11112 * minibuffer.el (completion-styles)
11113 (completion-category-overrides): Cross reference each other in doc
11114 strings.
11115
8b457e28
GM
111162011-09-27 Glenn Morris <rgm@gnu.org>
11117
11118 * pcmpl-cvs.el (pcmpl-cvs-entries): Update for Emacs 22.1 changes
11119 to split-string. (Bug#9606)
11120
85a16208
LMI
111212011-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
11122
11123 * mail/smtpmail.el (smtpmail-via-smtp): Fix STARTTLS detection
11124 (bug#9615).
11125
502f9ebd
CY
111262011-09-27 Chong Yidong <cyd@stupidchicken.com>
11127
11128 * emacs-lisp/package.el (list-packages): Fix echo area message.
11129
7690bdea
LL
111302011-09-27 Leo Liu <sdl.web@gmail.com>
11131
11132 * ido.el (ido-read-internal): Accept cons cell HIST arg.
11133
e2ee6f30
MA
111342011-09-25 Michael Albinus <michael.albinus@gmx.de>
11135
11136 * net/dbus.el (dbus-unregister-object): Don't release services for
11137 registered signals. (Bug#9581)
11138
f3f98342
TZ
111392011-09-25 Teodor Zlatanov <tzz@lifelogs.com>
11140
11141 * progmodes/cfengine.el (cfengine-auto-mode): Add convenience
11142 function that picks between cfengine 2 and 3 support
11143 automatically. Update docs accordingly.
11144
dd7aa8dd
KH
111452011-09-22 Kenichi Handa <handa@m17n.org>
11146
11147 * language/ind-util.el (indian-tml-base-table): Add TAMIL DIGIT
11148 ZERO.
11149 (indian-itrans-v5-table-for-tamil): New variable.
11150 (indian-tml-itrans-v5-hash): Use the above variable (Bug#9336).
11151
3f2b07f8
KM
111522011-09-22 Ken Manheimer <ken.manheimer@gmail.com>
11153
11154 * allout.el (allout-this-command-hid-stuff): Buffer-local variable
11155 that's true if the current command involved collapsing of text.
11156 It's reset to false at the beginning of the next command.
11157 (allout-post-command-business): Move the cursor to the beginning
11158 of entry if the cursor is hidden and collapsing activity just
11159 happened.
11160
371d6a61
CY
111612011-09-24 Chong Yidong <cyd@stupidchicken.com>
11162
11163 * mouse.el (mouse-drag-track): Set scroll-margin to 0 while
11164 tracking (Bug#9541).
11165
2ac2721a
UJ
111662011-09-24 Ulf Jasper <ulf.jasper@web.de>
11167
11168 * net/newst-reader.el (newsticker-html-renderer)
1154d12e
JB
11169 (newsticker-show-news): Automatically load html rendering package
11170 if newsticker-html-renderer is set. Fixes "Warning: defvar ignored
11171 because w3m-fill-column is let-bound" and the error "Symbol's value
11172 as variable is void: w3m-fill-column".
2ac2721a 11173
fac7ae53
MA
111742011-09-24 Michael Albinus <michael.albinus@gmx.de>
11175
11176 * net/dbus.el (dbus-unregister-object): Remove match rule of signals.
11177 Release services only if they are defined. (Bug#9581)
11178
e08b633b
RS
111792011-09-23 Richard Stallman <rms@gnu.org>
11180
e488d29c
RS
11181 * textmodes/paragraphs.el (forward-sentence): For backwards case,
11182 distinguish start of paragraph from start of its text.
11183
19c38752
RS
11184 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs): Autoload.
11185
e08b633b
RS
11186 * mail/rmail.el (rmail-view-buffer-kill-buffer-hook): New function.
11187 (rmail-generate-viewer-buffer): Put that hook on view buffer.
11188 (rmail-mode-kill-buffer-hook): Override that hook, to kill view buffer.
11189
0a39f27e
AS
111902011-09-23 Andreas Schwab <schwab@linux-m68k.org>
11191
11192 * international/mule-diag.el (mule-diag): Insert a newline after
11193 each fontset description.
11194
db4e950d
SM
111952011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
11196
11197 * simple.el (delete-trailing-whitespace):
11198 Document last change; simplify.
11199
eca3f3ea
PW
112002011-09-23 Peter J. Weisberg <pj@irregularexpressions.net>
11201
d68e189a
PW
11202 * simple.el (delete-trailing-whitespace): Also delete
11203 extra newlines at the end of the buffer.
11204
eca3f3ea
PW
11205 * textmodes/picture.el: Make motion commands obey shift-select-mode.
11206 (picture-newline): Use forward-line so as to ignore fields.
11207
01c157cc
SM
112082011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
11209
11210 * subr.el (with-wrapper-hook): Fix edebug spec.
11211
022de23e
LMI
112122011-09-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
11213
11214 * simple.el (kill-line): Note effect of `show-trailing-whitespace'
11215 (bug#4538).
11216
91683089
MA
112172011-09-23 Michael Albinus <michael.albinus@gmx.de>
11218
eca3f3ea
PW
11219 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
11220 Fix nasty bug using wrong cached values.
91683089 11221
5bdd6fa4
AM
112222011-09-23 Alan Mackenzie <acm@muc.de>
11223
11224 * progmodes/cc-defs.el (c-version): Increase to 5.31.9.
11225
97adfb97
CY
112262011-09-23 Chong Yidong <cyd@stupidchicken.com>
11227
11228 * window.el (pop-to-buffer): Ensure right window is selected if we
11229 chose another frame.
11230
d4ef2b50
EZ
112312011-09-22 Eli Zaretskii <eliz@gnu.org>
11232
11233 * simple.el (what-cursor-position): Use get-char-property-change
11234 and next-single-char-property-change, to be able to show display
11235 properties that come from overlays as well as text properties.
11236
72258fe5
CY
112372011-09-22 Chong Yidong <cyd@stupidchicken.com>
11238
11239 * window.el (pop-to-buffer-same-window): New (reinstated) fun.
11240
11241 * cmuscheme.el (run-scheme, switch-to-scheme):
11242 * cus-edit.el (customize-group, custom-buffer-create)
11243 (customize-browse):
11244 * info.el (info):
11245 * shell.el (shell):
11246 * mail/sendmail.el (mail):
11247 * progmodes/inf-lisp.el (inferior-lisp): Use it (Bug#9532).
11248
8f098516
RS
112492011-09-22 Richard Stallman <rms@gnu.org>
11250
11251 * textmodes/paragraphs.el (forward-sentence): When setting PAR-BEG,
11252 move back only to line beg, don't move back over blank lines.
11253
e74f1bb6
MA
112542011-09-22 Michael Albinus <michael.albinus@gmx.de>
11255
11256 * files.el (copy-directory): Set directory attributes only in case
11257 they could be retrieved from the source directory. (Bug#9565)
11258
bfeef8b6
DK
112592011-09-22 Dima Kogan <dkogan@secretsauce.net> (tiny change)
11260
11261 * progmodes/hideshow.el (hs-looking-at-block-start-p)
11262 (hs-find-block-beginning, hs-hide-level-recursive):
11263 Ignore strings as well as comments. (Bug#9502)
11264
7e423bb8
AS
112652011-09-22 Andrew Schein <andrew@andrewschein.com> (tiny change)
11266
11267 * progmodes/sql.el (sql-comint-postgres):
11268 Convert port number to a string. (Bug#9566)
11269
b4d72fcf
MR
112702011-09-22 Martin Rudalics <rudalics@gmx.at>
11271
11272 * window.el (quit-window): Undedicate window when switching to
11273 previous buffer. Reported by Thierry Volpiatto
11274 <thierry.volpiatto@gmail.com>.
7f80c86d
MR
11275 (special-display-popup-frame): When popping up a new frame reset
11276 its previous buffers to nil. Simplify code.
b4d72fcf 11277
a7b88dc6
MA
112782011-09-21 Michael Albinus <michael.albinus@gmx.de>
11279
11280 * net/tramp.el (tramp-handle-shell-command): Set process sentinel
11281 and process filter, as done also in `shell-command'.
11282
cf4eacfd
MR
112832011-09-21 Martin Rudalics <rudalics@gmx.at>
11284
eca3f3ea 11285 * window.el (set-window-buffer-start-and-point):
1154d12e
JB
11286 Call set-window-start with NOFORCE argument t.
11287 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
cf4eacfd
MR
11288 (quit-window): Reword doc-string. Handle new format of
11289 quit-restore parameter. Don't delete window if it has a
11290 previous buffer we can show instead of the present one.
11291 (display-buffer-record-window): Rewrite using a new format for
11292 the quit-restore window parameter
11293 (special-display-popup-frame, display-buffer-same-window)
11294 (display-buffer-reuse-window, display-buffer-pop-up-frame)
11295 (display-buffer-pop-up-window, display-buffer-use-some-window):
11296 Adapt symbol passed to display-buffer-record-window.
11297 * help.el (help-window-setup): Handle new format of quit-restore
11298 parameter.
11299
8d28cb95
SM
113002011-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
11301
94ab793f
SM
11302 * faces.el (face-list): Fix docstring (bug#9564).
11303
8d28cb95
SM
11304 * window.el (display-buffer--action-function-custom-type):
11305 Don't include internal functions in the Custom interface.
11306
3820edeb
JL
113072011-09-20 Juri Linkov <juri@jurta.org>
11308
11309 * info.el (Info-history-skip-intermediate-nodes): New defcustom.
11310 (Info-forward-node, Info-backward-node, Info-next-preorder)
11311 (Info-last-preorder): Use it. (Bug#9528)
11312
5147931d
JL
113132011-09-20 Juri Linkov <juri@jurta.org>
11314
11315 * info.el (Info-last-preorder): Visit last menu item only when
11316 `Info-scroll-prefer-subnodes' is non-nil (third test-case of bug#9528).
11317
cf499a1a
JD
113182011-09-20 Julien Danjou <julien@danjou.info>
11319
11320 * password-cache.el (password-cache-remove): Remove entries even if the
11321 value is nil, so that password with a nil value (negative caching) is
11322 possible to invalidate.
11323
f84e2fe2
LM
113242011-09-20 Lawrence Mitchell <wence@gmx.li>
11325
11326 * progmodes/f90.el (f90-break-line): If breaking inside comment delete
11327 all whitespace around breakpoint. (Bug#9553)
11328 (f90-find-breakpoint): Only break at whitespace inside a comment.
11329
78054a46
SM
113302011-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
11331
11332 * minibuffer.el (completion-file-name-table): Keep track of errors.
11333 (completion-table-with-predicate): Handle the case where pred1 is nil.
11334 * pcomplete.el (pcomplete-completions-at-point): Simplify.
11335
345083b2
SM
113362011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
11337
e24e27be
SM
11338 * emacs-lisp/debug.el (debugger-args): Give it a docstring.
11339 (debugger-return-value): Signal an error if the debugging context does
11340 not await any return value.
11341
345083b2
SM
11342 * ps-mule.el (ps-mule-plot-string): Don't inf-loop (bug#5108).
11343 * image-mode.el (image-toggle-display-text)
11344 (image-toggle-display-image): Stay away from evil `intangible'.
11345
08d355e3
LL
113462011-09-19 Leo Liu <sdl.web@gmail.com>
11347
11348 * replace.el (occur-revert-arguments): Make it permanent-local.
11349 (occur-mode): Don't call font-lock-defontify.
11350
f01da43f
CY
113512011-09-19 Chong Yidong <cyd@stupidchicken.com>
11352
11353 * net/ldap.el (ldap-search-internal): Don't push empty search
11354 result (Bug#9508).
11355
b6072fa6
SM
113562011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
11357
11358 * whitespace.el (whitespace-newline-mode): Disable it right (bug#9550).
11359
443d6696
MA
113602011-09-19 Michael Albinus <michael.albinus@gmx.de>
11361
11362 * net/tramp-sh.el (tramp-inline-compress-commands): Add "xz".
11363 Suggested by Liam Stitt <stittl@cuug.ab.ca>.
11364
7cc6e154
JL
113652011-09-18 Juri Linkov <juri@jurta.org>
11366
11367 * buff-menu.el (Buffer-menu-mode-map):
11368 * dired.el (dired-mode-map):
11369 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map)
11370 (lisp-interaction-mode-map):
11371 * emacs-lisp/package.el (package-menu-mode-map):
11372 * epa.el (epa-key-list-mode-map):
11373 * menu-bar.el (menu-bar-showhide-tool-bar-menu)
11374 (menu-bar-options-menu):
11375 * outline.el (outline-mode-menu-bar-map):
11376 * vc/vc-bzr.el (vc-bzr-shelve-menu-map, vc-bzr-extra-menu-map):
11377 * vc/vc-dir.el (vc-dir-menu-map):
11378 * vc/vc-git.el (vc-git-stash-menu-map, vc-git-extra-menu-map):
11379 Capitalize non-function content words in menu item strings.
11380
11381 * dired.el (dired-mode-map): Add menu item for
11382 `image-dired-dired-toggle-marked-thumbs'.
11383
80302a81
JL
113842011-09-18 Juri Linkov <juri@jurta.org>
11385
11386 * isearch.el (isearch-edit-string): Bind `isearch-new-case-fold'
11387 to `isearch-case-fold-search' and restore its original value
11388 after the `isearch-mode' call.
11389
46c5cf66
JL
113902011-09-18 Juri Linkov <juri@jurta.org>
11391
11392 * progmodes/grep.el (grep-process-setup): Don't check code for 1
11393 because `zgrep' returns 1 for successful matches (bug#9226).
11394
d18b513b
JL
113952011-09-18 Juri Linkov <juri@jurta.org>
11396
11397 * info.el (Info-extract-menu-node-name): Check the second match
11398 for empty string (second test-case of bug#9528).
11399 (Info-last-preorder): Let-bind `Info-history' to nil to not add
11400 intermediate nodes to the history (first test-case of bug#9528).
11401
72753f87
JL
114022011-09-18 Juri Linkov <juri@jurta.org>
11403
11404 * info.el (Info-mode-syntax-table): New variable.
1154d12e 11405 (Info-mode): Set `:syntax-table' to `Info-mode-syntax-table' (bug#3312).
72753f87 11406
c9384295
JL
114072011-09-18 Juri Linkov <juri@jurta.org>
11408
1154d12e
JB
11409 * info.el (Info-file-supports-index-cookies):
11410 Increment line-beginning-position's arg from 3 to 4 because makeinfo
11411 outputs one more line for long file names (bug#4142).
c9384295 11412
d473dce8
CY
114132011-09-18 Chong Yidong <cyd@stupidchicken.com>
11414
11415 * newcomment.el (comment-normalize-vars): If prompting for
11416 comment-start, set comment-start-skip too (Bug#8424).
11417
2176854d
JB
114182011-09-18 Johan Bockgård <bojohan@gnu.org>
11419
11420 * icomplete.el: Fix previous fix of Bug#5849.
11421 (icomplete-mode): Don't set completion-show-inline-help.
11422 (icomplete-minibuffer-setup): Set completion-show-inline-help
11423 locally during icompletion.
11424
3aace4e4
CY
114252011-09-18 Chong Yidong <cyd@stupidchicken.com>
11426
c940224f
CY
11427 * woman.el (woman2-process-escapes): Don't delete unrecognized
11428 escapes (Bug#7843).
11429
3aace4e4
CY
11430 * files.el (inhibit-first-line-modes-regexps): Add image files.
11431 (hack-local-variables-prop-line): Return nil for malformed
11432 prop-lines (Bug#9044).
11433
710dec63
MA
114342011-09-18 Michael Albinus <michael.albinus@gmx.de>
11435
11436 * net/tramp.el (top): Don't require 'shell.
11437 (tramp-methods): Fix docstring.
11438 (tramp-get-remote-tmpdir): New defun, moved from tramp-sh.el.
8d28cb95
SM
11439 Return complete remote file name. Handle "smb" case.
11440 Use `tramp-tmpdir', if defined for the respective method.
710dec63
MA
11441 (tramp-make-tramp-temp-file): Adapt call of `tramp-get-remote-tmpdir'.
11442
11443 * net/tramp-compat.el (top): Require 'shell.
11444
11445 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
11446 (tramp-maybe-open-connection): Use `tramp-file-name-real-host' for
11447 `tramp-current-host'.
11448 (tramp-get-remote-tmpdir): Remove.
11449
11450 * net/tramp-smb.el (tramp-methods): Add `tramp-remote-shell' and
11451 `tramp-tmpdir' entries.
11452 (tramp-smb-errors): Add "NT_STATUS_IMAGE_ALREADY_LOADED".
11453 (tramp-smb-handle-file-attributes): Ignore errors.
11454 (tramp-smb-wait-for-output): Check also for process end.
11455
5d5ac8ec
LMI
114562011-09-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
11457
11458 * mail/smtpmail.el (smtpmail-via-smtp): Ignore errors that arise
11459 when sending QUIT (bug#9312).
11460
8c0f49f0
CY
114612011-09-17 Chong Yidong <cyd@stupidchicken.com>
11462
11463 * replace.el (occur-mode-map): Rebind occur-edit-mode to "e" (Bug#8463).
11464 (occur-edit-mode-map): Bind C-c C-c to occur-cease-edit and C-o to
11465 occur-mode-display-occurrence.
11466 (occur-edit-mode): Add usage message.
11467 (occur-cease-edit): New command.
11468 (occur-after-change-function): Use text properties to find the
11469 position of the prefix text.
11470 (occur-engine): Set stickiness of prefix text properties.
11471
8f1383f7
GM
114722011-09-17 Glenn Morris <rgm@gnu.org>
11473
11474 * progmodes/etags.el (complete-tag):
11475 Fix call to completion-in-region. (Bug#9526)
11476
744ba0e3
JL
114772011-09-17 Juri Linkov <juri@jurta.org>
11478
11479 * textmodes/ispell.el (ispell-word): Add to the error message
11480 the word, ispell program name and current dictionary (bug#9121).
11481 (ispell-tex-arg-end): Capitalize "error" in the error message.
11482
d9bbf400
AS
114832011-09-17 Andreas Schwab <schwab@linux-m68k.org>
11484
11485 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix overflow
11486 check. (Bug#4251)
11487
8da11505
JL
114882011-09-17 Juri Linkov <juri@jurta.org>
11489
11490 * window.el (window-safe-min-height, window-safe-min-width):
11491 Fix typos (followup to bug#9522).
11492
a91adc7e
SJ
114932011-09-17 Sven Joachim <svenjoac@gmx.de>
11494
11495 * window.el (window-min-width, window-state-put): Fix typos (bug#9522).
11496
064f328a
EZ
114972011-09-16 Eli Zaretskii <eliz@gnu.org>
11498
11499 * simple.el (line-move): If goal-column is set, move by logical
11500 lines, not by display lines. (Bug#971)
11501 (next-line, previous-line, goal-column, line-move-visual): Doc fix
11502 to reflect the above change.
11503
e69df516
SM
115042011-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
11505
11506 * image.el (imagemagick-register-types): Use regexp-opt.
11507
cbb0f9ab
CY
115082011-09-15 Chong Yidong <cyd@stupidchicken.com>
11509
11510 * window.el (display-buffer-base-action): Rename from
11511 display-buffer-default-action. Make default value empty.
11512 (display-buffer-overriding-action): Convert to defvar.
11513 (display-buffer-fallback-action): New var.
11514
25322144
CY
115152011-09-15 Chong Yidong <cyd@stupidchicken.com>
11516
11517 * emacs-lisp/package.el (package-alist): Fix risky-local-variable
11518 declaration.
11519 (package--add-to-archive-contents): If there is a duplicate entry
11520 with an older version, remove it.
11521 (package-menu-mark-delete, package-menu-mark-install)
11522 (package-menu-mark-unmark): Make unused args optional.
e69df516
SM
11523 (package-menu-mark-obsolete-for-deletion):
11524 Use package-menu-get-status instead of a regexp search.
25322144
CY
11525 (package-menu-get-status): Use tabulated-list-entry.
11526 (package-menu-mark-upgrades): New command.
d770725a 11527 (package-menu-mode-map): Bind it to U. Add it to menu bar.
25322144
CY
11528 (package-menu-execute): Do installation before deletion.
11529 (package-menu-refresh, package-menu-execute): Use derived-mode-p
11530 instead of checking major-mode.
11531 (package-menu--find-upgrades): New function.
11532
7520339c
LMI
115332011-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
11534
11535 * mail/smtpmail.el (smtpmail-send-command): Don't include AUTH
11536 passwords in the log buffer.
65a046c4
LMI
11537 (smtpmail-process-filter): Update the process marker so that the
11538 "broken by peer" status message is inserted in the right place.
7520339c 11539
d3c30954
SM
115402011-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
11541
3fe48822
SM
11542 * textmodes/bibtex.el (bibtex-complete-string-cleanup)
11543 (bibtex-complete-crossref-cleanup): Adjust to accommodate needs of
11544 bibtex-completion-at-point-function.
11545 (bibtex-completion-at-point-function): Use them.
11546
1b8b3954
SM
11547 * newcomment.el (comment-add, comment-valid-prefix-p): Docfix.
11548
d3c30954
SM
11549 * mpc.el (mpc-constraints-tag-lookup): New function.
11550 (mpc-constraints-restore): Use it to make jumping to "album=Foo" apply
11551 also to browser "album|playlist".
11552
72779976
JL
115532011-09-14 Juri Linkov <juri@jurta.org>
11554
11555 * isearch.el (isearch-fail-pos): Add new arg `msg'. Doc fix.
11556 (isearch-edit-string): Use length of `isearch-string' when
11557 `isearch-fail-pos' returns nil.
11558 (isearch-message): Remove duplicate code and call
11559 `isearch-fail-pos' with arg `t'.
11560
a0bf2bcd
CY
115612011-09-14 Chong Yidong <cyd@stupidchicken.com>
11562
17bb0a2d
CY
11563 * replace.el (occur-mode-goto-occurrence): Don't force using other
11564 window (Bug#9499).
11565
a0bf2bcd
CY
11566 * dired-aux.el (dired-do-chmod): Don't provide initial input.
11567
f678e0b6
MR
115682011-09-14 Martin Rudalics <rudalics@gmx.at>
11569
11570 * window.el (display-buffer-window): Remove.
11571 (display-buffer-record-window): Use help-setup window parameter
11572 instead of variable display-buffer-window.
11573 (display-buffer-function, special-display-buffer-names)
11574 (special-display-function): Mention help-setup parameter instead
11575 of display-buffer-window in doc-string.
d3c30954
SM
11576 * help.el (help-window-setup): New argument help-window.
11577 Use help-window-setup parameter instead of display-buffer-window.
f678e0b6
MR
11578 Reword some messages.
11579 (with-help-window): Pass window used for displaying the buffer
11580 to help-window-setup. Don't set display-buffer-window.
11581
8e39b2e8
GM
115822011-09-13 Glenn Morris <rgm@gnu.org>
11583
11584 * emacs-lisp/debug.el (debugger-make-xrefs):
11585 Preserve point. (Bug#9462)
11586
85e9c04b
CY
115872011-09-13 Chong Yidong <cyd@stupidchicken.com>
11588
11589 * window.el (window-deletable-p): Use next-frame.
11590
1b36ed6a
MR
115912011-09-13 Martin Rudalics <rudalics@gmx.at>
11592
11593 * window.el (window-auto-delete): Remove.
11594 (window-deletable-p): Remove argument FORCE. Don't deal with
e4769531 11595 dedication and previous buffers.
1b36ed6a
MR
11596 (switch-to-prev-buffer): Don't delete window.
11597 (delete-windows-on): Delete a window's frame if and only if the
11598 window is dedicated.
11599 (replace-buffer-in-windows): Delete buffer's window or frame if
11600 and only if window is dedicated.
11601 (quit-window): Handle quit-restore as before last change.
4d61f28d 11602 (bury-buffer): Delete window only if window-deletable-p returns t.
1b36ed6a 11603
ef8ef9fb
CY
116042011-09-13 Chong Yidong <cyd@stupidchicken.com>
11605
11606 * window.el (window-deletable-p): Never delete the last frame on a
11607 given terminal.
11608
b2cba41e
GM
116092011-09-13 Glenn Morris <rgm@gnu.org>
11610
11611 * help.el (describe-key-briefly): Copy previous standard-output change.
11612
51553db6 116132011-09-13 PJ Weisberg <pj@irregularexpressions.net>
e3ce671f
PW
11614
11615 * help.el (where-is): Respect non-standard standard-output. (Bug#9030)
11616
b7556719
GM
116172011-09-13 Glenn Morris <rgm@gnu.org>
11618
11619 * emacs-lisp/lisp-mode.el (lisp-indent-function):
11620 * progmodes/scheme.el (scheme-indent-function): Doc fixes.
11621
64b51947
CY
116222011-09-12 Chong Yidong <cyd@stupidchicken.com>
11623
11624 * dired-aux.el (dired-mark-read-string): Don't return default
11625 value on empty input (Bug#9361).
11626 (dired-do-chxxx): Treat empty input for "touch" as no -t option.
11627 Omit initial minibuffer contents.
11628 (dired-do-chmod): Signal an error on empty input.
11629 (dired-mark-read-string): Don't return default on empty input.
11630
11631 * files.el (file-modes-symbolic-to-number): Doc fix.
11632
393a301e
SM
116332011-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
11634
11635 * international/mule-cmds.el (ucs-completions): Remove.
11636 (read-char-by-name): Use complete-with-action instead; add metadata.
11637
fa5660f9
CY
116382011-09-11 Chong Yidong <cyd@stupidchicken.com>
11639
11640 * window.el (display-buffer--action-function-custom-type)
11641 (display-buffer--action-custom-type): New vars.
11642 (display-buffer-alist, display-buffer-default-action)
11643 (display-buffer-overriding-action): Add defcustom types.
11644
4a592f66
CY
11645 * frame.el (delete-other-frames): Doc fix (Bug#276).
11646
73d56dbd
LMI
116472011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
11648
11649 * play/doctor.el (make-doctor-variables): Define `doctor-sent'.
11650
37ac18a3
CY
116512011-09-11 Chong Yidong <cyd@stupidchicken.com>
11652
11653 Change modes that used same-window-* vars to use switch-to-buffer.
11654
11655 * progmodes/gdb-mi.el (gdb-restore-windows, gdb-setup-windows):
11656 Use switch-to-buffer.
11657
11658 * cus-edit.el (customize-group, custom-buffer-create)
393a301e
SM
11659 (customize-browse, custom-buffer-create-other-window):
11660 Use switch-to-buffer or switch-to-buffer-other-window.
37ac18a3
CY
11661
11662 * info.el (info, Info-find-node, Info-revert-find-node, Info-next)
11663 (Info-prev, Info-up, Info-speedbar-goto-node)
11664 (info-display-manual): Use switch-to-buffer.
11665 (Info-speedbar-goto-node): Use switch-to-buffer-other-frame.
11666
11667 * mail/sendmail.el (mail): Use switch-to-buffer.
11668 (mail-recover): Use switch-to-buffer-other-window.
11669
11670 * cmuscheme.el (run-scheme, switch-to-scheme):
11671 * ielm.el (ielm):
11672 * shell.el (shell):
11673 * net/rlogin.el (rlogin):
11674 * net/telnet.el (telnet, rsh):
11675 * progmodes/inf-lisp.el (inferior-lisp): Use switch-to-buffer.
11676
10195bd6
AS
116772011-09-11 Andreas Schwab <schwab@linux-m68k.org>
11678
11679 * dired.el (dired-sort-toggle-or-edit): Revert last changes.
11680
b322f63a
LMI
116812011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
11682
39d7fed6
LMI
11683 * dired.el (dired-sort-toggle-or-edit): -o doesn't exist on *BSD,
11684 so don't mention it (bug#9301).
ba5a81f1 11685 (dired-sort-toggle-or-edit): Clarify string further.
39d7fed6 11686
ee0e9f11
LMI
11687 * faces.el (face-spec-set-match-display): Make `(type graphic)'
11688 match `x', `w32' and `ns', like the manual says (bug#9029).
11689
0b1c89c1 11690 * subr.el (eval-after-load): Doc string clarification (bug#9125).
da9fcb93
LMI
11691 (process-kill-buffer-query-function): Mention the buffer name in
11692 the query.
0b1c89c1 11693
77549ea8
LMI
11694 * image-mode.el (image-next-line): The line parameter is mandatory
11695 (bug#9258).
11696
803ef892
LMI
11697 * dired.el (dired-sort-toggle-or-edit): Mention -o and -g, too,
11698 which can be useful (bug#9301).
11699
12980837
LMI
11700 * textmodes/flyspell.el: Remove obsolete comment (bug#9368).
11701
91054f8f
LMI
11702 * subr.el (match-string): Mention that the current buffer should
11703 be the same as the search was done in (bug#9282).
11704
b322f63a
LMI
11705 * facemenu.el: Disable the remove-* commands if the mark isn't
11706 active (bug#9162).
11707
3199b96f
CY
117082011-09-10 Chong Yidong <cyd@stupidchicken.com>
11709
11710 * buff-menu.el (Buffer-menu-switch-other-window): Use second arg
11711 of display-buffer.
11712 (Buffer-menu-2-window): Use switch-to-buffer-other-window.
11713
11714 * replace.el (occur-mode-goto-occurrence)
11715 (occur-mode-display-occurrence) Use second arg of pop-to-buffer
11716 and display-buffer.
11717
11718 * mail/reporter.el (reporter-submit-bug-report): Use second arg of
11719 display-buffer.
11720
11721 * mail/sendmail.el (sendmail-user-agent-compose): Don't bind the
11722 special-display and same-window variables.
11723 (mail-other-window): Use switch-to-buffer-other-window.
11724 (mail-other-frame): USe switch-to-buffer-other-frame.
11725
393a301e
SM
11726 * progmodes/gdb-mi.el (gdb-frame-gdb-buffer):
11727 Use display-buffer-other-frame.
3199b96f
CY
11728 (gdb-display-gdb-buffer): Use pop-to-buffer.
11729
11730 * progmodes/gud.el (gud-goto-info): Use info-other-window.
11731
11732 * progmodes/python.el: Don't set same-window-buffer-names.
11733
11734 * textmodes/bibtex.el (bibtex-search-entry): Use switch-to-buffer.
11735
11736 * window.el (display-buffer-alist): Add *Python*.
11737
8319e0bf
CY
117382011-09-10 Chong Yidong <cyd@stupidchicken.com>
11739
11740 * window.el (display-buffer-alist): Add entry for buffers
11741 previously handled same-window-*.
11742 (display-buffer-alist, display-buffer-default-action)
11743 (display-buffer-overriding-action): Mark as risky.
11744 (display-buffer-alist): Document action function changes.
11745 (display-buffer--same-window-action)
11746 (display-buffer--other-frame-action): New variables.
11747 (switch-to-buffer, display-buffer-other-frame): Use them.
11748 (display-buffer): Rename reuse-frame entry to reusable-frames.
11749 (display-buffer-reuse-selected-window): Function deleted.
11750 (display-buffer-reuse-window): Handle reusable-frames alist entry.
11751 If it's omitted, check pop-up-frames/display-buffer-reuse-frames.
11752 (display-buffer-special): New function.
11753 (display-buffer--maybe-pop-up-frame-or-window): Rename from
11754 display-buffer-reuse-or-pop-window. Split off special-display
11755 part into display-buffer-special.
11756 (display-buffer-use-some-window): Don't perform any special
11757 pop-up-frames handling.
11758 (pop-to-buffer): Use window-normalize-buffer-to-switch-to.
393a301e 11759 (display-buffer--maybe-same-window): Rename from
0d3ff375 11760 display-buffer-maybe-same-window.
8319e0bf 11761
919a69aa
CY
11762 * info.el: Don't set same-window-regexps.
11763 (info-setup): New function.
11764 (info-other-window, info): Call it.
11765
11766 * cus-edit.el: Don't set same-window-regexps.
11767 (customize-group): New argument.
11768 (customize-group-other-window): Use it.
11769 (customize-face, customize-face-other-window): Likewise.
11770 (custom-buffer-create-other-window): Use pop-to-buffer directly.
11771
8319e0bf
CY
11772 * net/rlogin.el:
11773 * net/telnet.el:
11774 * progmodes/gud.el: Don't set same-window-regexps.
11775
11776 * cmuscheme.el:
11777 * ielm.el:
11778 * shell.el:
11779 * mail/sendmail.el:
11780 * progmodes/inf-lisp.el: Don't set same-window-buffer-names.
11781
25173000
JL
117822011-09-10 Juri Linkov <juri@jurta.org>
11783
11784 * isearch.el (isearch-edit-string): Remove obsolete mention of
11785 `C-w' (`isearch-yank-word-or-char') from docstring.
11786 (isearch-query-replace): Fix typo in docstring (bug#9466).
11787
056e44ef
JL
117882011-09-10 Juri Linkov <juri@jurta.org>
11789
11790 * paren.el (show-paren-function): Don't show escaped parens.
11791 Let-bind `unescaped' to `t' when paren is not escaped. (Bug#9461)
11792
c3760c17
EZ
117932011-09-10 Eli Zaretskii <eliz@gnu.org>
11794
11795 * mail/sendmail.el (mml-to-mime, mml-attach-file)
11796 (mm-default-file-encoding): Remove autoload forms, they are
11797 replaced with autoload cookies in mml.el and mm-encode.el.
11798 (mail-add-attachment): New command.
11799 (mail-mode-map): Add a menu-bar item for mail-add-attachment.
11800 (mail-mode): Mention mail-insert-file and mail-add-attachment in
11801 the doc string.
11802 (mml-to-mime, mml-attach-file, mm-default-file-encoding): Declare.
11803
fece895e
RT
118042011-09-10 Reuben Thomas <rrt@sc3d.org>
11805
e69df516
SM
11806 * simple.el (count-words-region): Use buffer if there's no region
11807 (bug#9429).
fece895e 11808
5e68ce4a
JL
118092011-09-09 Juri Linkov <juri@jurta.org>
11810
11811 * wdired.el (wdired-change-to-wdired-mode): Set buffer-local
11812 `isearch-filter-predicate' to `wdired-isearch-filter-read-only'.
11813 (wdired-isearch-filter-read-only): New function. (Bug#6362)
11814
0a6b9622
AM
118152011-09-09 Alan Mackenzie <acm@muc.de>
11816
11817 * progmodes/cc-mode.el (awk-mode): Prevent `define-derived-mode'
11818 spuriously generating `awk-mode-syntax-table'. (Bug #9448).
11819
14a29deb
EZ
118202011-09-09 Eli Zaretskii <eliz@gnu.org>
11821
11822 Fix for Savannah bug#9392.
11823 * simple.el (mail-encode-mml): New defvar.
11824
11825 * mail/rmail.el (mail-encode-mml): Add a defvar.
11826 (rmail-enable-mime-composing): Default to t.
11827 (rmail-forward): Use MIME method of forwarding only if both
11828 rmail-enable-mime-composing and rmail-enable-mime are non-nil.
11829 Set mail-encode-mml non-nil if the MIME method was used.
11830
11831 * mail/sendmail.el (mml-to-mime): Add autoload form.
11832 (mail-encode-mml): Add a defvar.
11833 (mail-mode): Make mail-encode-mml buffer-local and initialize it
11834 to nil.
11835 (mail-send): If mail-encode-mml is non-nil, run the outgoing
11836 message through mml-to-mime, and reset mail-encode-mml to nil.
11837
28c45130
GM
118382011-09-09 Glenn Morris <rgm@gnu.org>
11839
11840 * woman.el (woman-if-body): When processing an .el block,
11841 do not delete the next .el block as well. (Bug#9447)
69f4b618 11842 (woman-special-characters): Add oq, cq, and hy characters.
28c45130 11843
9b1c252e
MR
118442011-09-08 Martin Rudalics <rudalics@gmx.at>
11845
11846 * window.el (window-deletable-p): Make sure window is live before
11847 invoking window-prev-buffers.
11848
567457e3
LL
118492011-09-08 Leo Liu <sdl.web@gmail.com>
11850
11851 * net/rcirc.el (rcirc-cmd-invite): New rcirc command. (Bug#9453)
11852
97f05794
JL
118532011-09-08 Juri Linkov <juri@jurta.org>
11854
11855 * progmodes/compile.el (compilation-environment): Make it
11856 a defcustom (bug#8340).
11857
8b0874b5
MR
118582011-09-08 Martin Rudalics <rudalics@gmx.at>
11859
11860 * window.el (frame-auto-delete): Rename to window-auto-delete.
11861 Make it control auto-deletion of windows and/or frames.
11862 (window-deletable-p): New argument FORCE. Rewrite conditions
5e617bc2 11863 for deleting window/frame. (Bug#9419)
8b0874b5
MR
11864 (switch-to-prev-buffer, replace-buffer-in-windows, quit-window):
11865 Rewrite handling of case when window/frame can be deleted.
11866 (delete-windows-on): Call window-deletable-p with new FORCE
5e617bc2 11867 argument t. (Bug#9456)
8b0874b5 11868
4feb6e73
CY
118692011-09-07 Chong Yidong <cyd@stupidchicken.com>
11870
11871 * help-mode.el (help-mode): Restore autoload.
11872
91ab9c13
JL
118732011-09-07 Juri Linkov <juri@jurta.org>
11874
11875 * progmodes/compile.el (compilation-start): Let-bind `thisenv' to
11876 `compilation-environment'. Set buffer-local
11877 `compilation-environment' to `thisenv' later after (funcall mode).
11878 (Bug#8340)
11879
11880 * vc/vc-git.el (vc-git-grep): Remove --no-color. (Bug#9408)
11881 (vc-git-grep): Prepend "PAGER=" to `compilation-environment'
11882 instead of replacing its value. (Bug#8340)
11883
0527e251
JL
118842011-09-07 Juri Linkov <juri@jurta.org>
11885
11886 * progmodes/grep.el (grep-regexp-alist): Calculate column positions
11887 based on text properties put by `grep-filter' instead of matching
11888 escape sequences.
11889 (grep-mode): Set buffer-local `compilation-error-screen-columns'
11890 to the value of `grep-error-screen-columns' (bug#9438).
11891
249f792c
JL
118922011-09-07 Juri Linkov <juri@jurta.org>
11893
11894 * simple.el (next-error-highlight, next-error-highlight-no-select):
11895 Doc fix (bug#9432).
11896
ff7271b9
OT
118972011-09-07 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
11898
11899 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
11900 Check for null c-opt-block-decls-with-vars-key. (Bug#9443)
11901
183fc730
LL
119022011-09-07 Leo Liu <sdl.web@gmail.com>
11903
11904 * net/rcirc.el (rcirc-mode): Conditionally initialize
11905 rcirc-input-ring.
11906
77694924
SM
119072011-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
11908
11909 * emacs-lisp/find-func.el (find-function-C-source): Only set
11910 find-function-C-source-directory after checking that we found a source
11911 file there (bug#9440).
11912
d809b8eb
AM
119132011-09-06 Alan Mackenzie <acm@muc.de>
11914
11915 * isearch.el (isearch-other-meta-char): Wherever a key list is
11916 unread, "unread" the prefix arg, too. This fixes bug #8901.
11917
453de99f
OG
119182011-09-05 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
11919
11920 * progmodes/grep.el (rgrep): Add "-type d" (bug#9414).
11921
90439906
JL
119222011-09-05 Juri Linkov <juri@jurta.org>
11923
11924 * progmodes/grep.el (grep-process-setup): Fix comments (bug#8084).
11925
f62bd846
JL
119262011-09-05 Juri Linkov <juri@jurta.org>
11927
11928 * progmodes/grep.el (grep-filter): Avoid incomplete processing by
11929 keeping point where processing of grep matches begins, and
11930 continue to delete remaining escape sequences from the same point.
11931 (grep-filter): Make leading zero optional in "0?1;31m" because
11932 git-grep emits "\033[1;31m" escape sequences unlike expected
11933 "\033[01;31m" as GNU Grep does (bug#9408).
11934 (grep-process-setup): Replace obsolete "ml=" with newer "sl=".
11935
045820ec
JL
119362011-09-05 Juri Linkov <juri@jurta.org>
11937
11938 * subr.el (y-or-n-p): Capitalize "yes".
11939
f5e29b9b
MA
119402011-09-04 Michael Albinus <michael.albinus@gmx.de>
11941
11942 * net/tramp.el (top): Require 'shell. Use `tramp-unload-hook' but
11943 `tramp-cache-unload-hook' where appropriate.
11944 (tramp-methods): Rename `tramp-remote-sh' to
11945 `tramp-remote-shell'. Add `tramp-remote-shell-args'.
11946 (tramp-handle-shell-command): New defun, moved from tramp-sh.el.
11947
11948 * net/tramp-sh.el (top): Don't require 'shell.
11949 (tramp-methods): Add `tramp-remote-shell' and
11950 `tramp-remote-shell-args' entries.
11951 (tramp-sh-file-name-handler-alist): Use `tramp-handle-shell-command'.
11952 (tramp-sh-handle-shell-command): Remove.
11953 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
11954 Use `tramp-remote-shell'.
11955
2784c434
CY
119562011-09-03 Chong Yidong <cyd@stupidchicken.com>
11957
393a301e 11958 * mail/sendmail.el (sendmail-query-once-function): Delete.
2784c434
CY
11959 (sendmail-query-once): Save directly to send-mail-function.
11960 Update message-send-mail-function too.
11961
11962 * mail/smtpmail.el (smtpmail-try-auth-methods): Clarify prompt.
11963
464cdf56
CS
119642011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
11965
11966 * progmodes/python.el (python-mode-map): Use correct function to
11967 start python interpreter from menu-bar (as reported by Geert
11968 Kloosterman).
11969 (inferior-python-mode-map): Fix typo.
393a301e 11970 (python-shell-map): Remove.
464cdf56 11971
d37e5c87
DD
119722011-09-03 Deniz Dogan <deniz@dogan.se>
11973
11974 * net/rcirc.el (rcirc-print): Simplify code for
11975 rcirc-scroll-show-maximum-output. There is no need to walk
11976 through all windows to find the right one.
11977
f3ada0ee
CS
119782011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
11979
11980 * help.el (help-return-method): Doc fix.
11981
1f3c99ca
MR
119822011-09-03 Martin Rudalics <rudalics@gmx.at>
11983
11984 * window.el (window-deletable-p): Don't return a non-nil value
11985 when there's a buffer that was shown in the window before.
11986 (Bug#9419)
393a301e
SM
11987 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
11988 Set window's previous buffers to nil.
1f3c99ca 11989
a3cf097f
EZ
119902011-09-03 Eli Zaretskii <eliz@gnu.org>
11991
11992 * mail/rmailmm.el (rmail-mime-insert-tagline): Insert an extra
11993 newline before and after the tag line, so it doesn't interfere
11994 with determining the paragraph direction of bidirectional text.
11995
3d03de90
LL
119962011-09-03 Leo Liu <sdl.web@gmail.com>
11997
11998 * files.el (find-file-not-true-dirname-list): Remove. (Bug#9422)
11999
c3313451
CY
120002011-09-02 Chong Yidong <cyd@stupidchicken.com>
12001
393a301e 12002 * window.el (pop-to-buffer-1, pop-to-buffer-same-window): Delete.
c3313451
CY
12003 (pop-to-buffer): Change interactive spec. Pass second argument
12004 directly to display-buffer.
12005 (display-buffer): Fix interactive spec. Use functionp to
12006 distinguish between a function and a list of functions.
12007
12008 * abbrev.el (edit-abbrevs):
12009 * arc-mode.el (archive-extract):
12010 * autoinsert.el (auto-insert):
12011 * bookmark.el (bookmark-bmenu-list):
12012 * files.el (find-file):
12013 * view.el (view-buffer):
12014 * progmodes/compile.el (compilation-goto-locus):
12015 * textmodes/bibtex.el (bibtex-initialize): Use switch-to-buffer.
12016
89894cd8
CY
120172011-09-02 Chong Yidong <cyd@stupidchicken.com>
12018
12019 * window.el (display-buffer-alist): Doc fix.
12020 (display-buffer): Add docstring. Don't treat
12021 display-buffer-default specially.
12022 (display-buffer-reuse-selected-window)
12023 (display-buffer-same-window, display-buffer-maybe-same-window)
12024 (display-buffer-reuse-window, display-buffer-pop-up-frame)
12025 (display-buffer-pop-up-window)
12026 (display-buffer-reuse-or-pop-window)
12027 (display-buffer-use-some-window): New functions.
12028 (display-buffer-default-action): Use them.
393a301e 12029 (display-buffer-default): Delete.
89894cd8
CY
12030 (pop-to-buffer-1): Fix choice of actions.
12031
ae0bc9fb
SM
120322011-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
12033
12034 * minibuffer.el (completion--insert-strings): Don't get confused by
12035 completion entries that end with an LF char.
12036
e9d90883
EZ
120372011-09-01 Eli Zaretskii <eliz@gnu.org>
12038
12039 * window.el (frame-auto-delete, window-deletable-p): Doc fix.
12040
437014c8
CY
120412011-09-01 Chong Yidong <cyd@stupidchicken.com>
12042
12043 * window.el (display-buffer): Restore interactive spec.
ae0bc9fb
SM
12044 (display-buffer-same-window, display-buffer-other-window):
12045 New functions.
437014c8
CY
12046 (pop-to-buffer-1): New function. Use the above.
12047 (pop-to-buffer, pop-to-buffer-same-window): Use it.
ae0bc9fb 12048 (pop-to-buffer-other-window, pop-to-buffer-other-frame): Delete.
437014c8
CY
12049
12050 * view.el (view-buffer-other-window, view-buffer-other-frame):
12051 Just use pop-to-buffer.
12052
a5e063d5
TV
120532011-09-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
12054
12055 * vc/vc-rcs.el (vc-rcs-responsible-p): Handle directories. (Bug#9391)
12056
793d32bb
WH
120572011-09-01 Wilfred Hughes <wilfred@potatolondon.com> (tiny change)
12058
12059 * vc/vc-git.el (vc-git-grep): Use --no-color. (Bug#9408)
12060
d65e4c15
RS
120612011-08-31 Richard Stallman <rms@gnu.org>
12062
12063 * mail/rmail.el (rmail-epa-decrypt): Rewrite to take account
12064 of the separation of rmail-view-buffer from rmail-buffer.
12065 If you say no to "replace original", the decrypt is in the
12066 view buffer. If you say yes, the decrypt goes into the
12067 rmail buffer also.
12068
f818cd2a
MR
120692011-08-31 Martin Rudalics <rudalics@gmx.at>
12070
12071 * window.el (display-buffer-window): Rewrite doc-string.
12072 (display-buffer-record-window): New function.
12073 (display-buffer-macro-specifiers)
12074 (display-buffer-even-window-sizes, display-buffer-set-height)
12075 (display-buffer-set-width, display-buffer-in-window)
12076 (display-buffer-reuse-window, display-buffer-split-specifiers)
12077 (display-buffer-side-specifiers, display-buffer-split-window-1)
12078 (display-buffer-split-window, display-buffer-split-atom-window)
12079 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
12080 (display-buffer-pop-up-side-window, display-buffer-in-side-window)
12081 (display-buffer-other-window-means-other-frame)
12082 (display-buffer-normalize-special)
12083 (display-buffer-normalize-default)
12084 (display-buffer-normalize-argument)
12085 (display-buffer-normalize-alist-1, display-buffer-normalize-alist)
12086 (display-buffer-normalize-specifiers, display-buffer-frame)
12087 (display-buffer-same-window, display-buffer-same-frame)
12088 (display-buffer-other-window)
12089 (display-buffer-same-frame-other-window)
12090 (display-buffer-other-frame, pop-to-buffer-same-window)
12091 (pop-to-buffer-same-frame, pop-to-buffer-other-window)
12092 (pop-to-buffer-same-frame-other-window, pop-to-buffer-other-frame)
12093 (switch-to-buffer-same-frame)
12094 (switch-to-buffer-other-window-same-frame)
12095 (display-buffer-alist-of-strings-p, display-buffer-alist-add)
12096 (display-buffer-alist-set-1, display-buffer-alist-set-2)
12097 (display-buffer-alist-set): Remove.
12098 (display-buffer-function, special-display-buffer-names)
ae0bc9fb
SM
12099 (special-display-regexps, special-display-function):
12100 In doc-string refer to display-buffer-window and quit-restore
f818cd2a
MR
12101 parameter.
12102 (pop-up-frame-alist, pop-up-frame-function, special-display-p)
12103 (special-display-frame-alist, special-display-popup-frame)
12104 (same-window-buffer-names, same-window-regexps, same-window-p)
12105 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
12106 (split-window-preferred-function, split-height-threshold)
12107 (split-width-threshold, window-splittable-p)
12108 (split-window-sensibly, window--try-to-split-window)
12109 (window--frame-usable-p, even-window-heights)
12110 (window--even-window-heights, window--display-buffer-1)
ae0bc9fb
SM
12111 (window--display-buffer-2, display-buffer-other-frame):
12112 Restore old Emacs 23 code, order and doc-strings where applicable.
f818cd2a
MR
12113 (display-buffer-default, display-buffer-assq-regexp): New functions.
12114 (display-buffer-alist): Rewrite doc-string.
12115 (display-buffer-default-action)
12116 (display-buffer-overriding-action): New variables.
12117 (display-buffer, switch-to-buffer): Rewrite.
12118 (pop-to-buffer): Restore Emacs 23 behavior but use
12119 window-normalize-buffer-to-display.
12120 (switch-to-buffer-other-window, switch-to-buffer-other-frame):
12121 Restore Emacs 23 behavior but use
12122 window-normalize-buffer-to-switch-to.
12123 (pop-to-buffer-same-window): Rewrite.
ae0bc9fb
SM
12124 (pop-to-buffer-other-window, pop-to-buffer-other-frame):
12125 Rewrite using Emacs 23 options.
f818cd2a 12126
5bc3b51d
MA
121272011-08-31 Michael Albinus <michael.albinus@gmx.de>
12128
12129 * net/tramp.el (tramp-root-regexp): Remove.
12130 (tramp-completion-file-name-regexp-unified)
12131 (tramp-completion-file-name-regexp-separate)
12132 (tramp-completion-file-name-regexp-url): Don't use leading volume
b46a6a83 12133 letter on w32 systems. (Bug#5303, Bug#9311)
ae0bc9fb
SM
12134 (tramp-drop-volume-letter): Simplify definition.
12135 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
5bc3b51d 12136
b1a4f8e1
SM
121372011-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
12138
12139 * subr.el (event-modifiers): Fix "missing modifier" part of docstring
12140 (bug#9356).
12141
5664fa7b
RT
121422011-08-30 Reuben Thomas <rrt@sc3d.org> (tiny change)
12143
b1a4f8e1 12144 * vc/pcvs-defs.el (cvs-find-file-and-jump): Docstring typo (bug#9369).
5664fa7b 12145
9a45d6c3
JL
121462011-08-29 Juri Linkov <juri@jurta.org>
12147
12148 * isearch.el (isearch-done): Don't display message "Mark saved"
12149 when arg `edit' is non-nil to prevent its flicker in the echo area.
12150
fb87e0fb
CY
121512011-08-28 Chong Yidong <cyd@stupidchicken.com>
12152
12153 * emacs-lisp/package.el (package-menu-mark-delete): Allow marking
12154 obsolete packages for deletion.
12155
09ac1c2a
CS
121562011-08-28 Christoph Scholtes <cschol2112@googlemail.com>
12157
12158 * help-mode.el (help-mode-map): Add special-mode-map to parent.
5e617bc2 12159 (help-mode): Derive help-mode from special-mode. Don't invoke
09ac1c2a
CS
12160 view-mode from help-mode.
12161 (help-xref-override-view-map): Remove.
12162 (help-make-xrefs): Remove minor-mode-overriding-map-alist since
12163 view-mode is not used anymore.
12164
7a1ff57f
CY
121652011-08-28 Chong Yidong <cyd@stupidchicken.com>
12166
12167 * server.el (server-port): Doc fix.
12168
b9696605
CY
12169 * cus-theme.el (custom-theme-choose-mode): Inherit from
12170 special-mode (Bug#9124).
12171 (custom-theme-choose-mode-map): Add special-mode to parent.
12172
ef8cdf8c
AM
121732011-08-28 Alan Mackenzie <acm@muc.de>
12174
12175 * progmodes/cc-fonts.el
12176 (c-make-font-lock-BO-decl-search-function): New function.
12177 (c-basic-matchers-after - "Fontify the clauses after various
12178 keywords"): Extract the three keyword lists for the 3 erroneous
12179 constructs from the list of four, and use the new function above
12180 in place of an old one.
12181
27de4e20
DD
121822011-08-28 Deniz Dogan <deniz@dogan.se>
12183
12184 * net/rcirc.el (rcirc-insert-prev-input)
12185 (rcirc-insert-next-input): Remove unused argument.
12186
356a3681
SM
121872011-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
12188
12189 * shell.el (shell-parse-pcomplete-arguments): Unquote args (bug#9160).
12190
3fc9b218
AM
121912011-08-27 Alan Mackenzie <acm@muc.de>
12192
12193 * progmodes/cc-menus.el (cc-imenu-c++-generic-expression): Make it
12194 handle function pointer parameters properly.
12195
538a061c
MR
121962011-08-27 Martin Rudalics <rudalics@gmx.at>
12197
12198 * window.el (display-buffer-reuse-window): Fix case where
12199 selected window was reused with non-nil OTHER-WINDOW argument.
12200 (Bug#9381)
12201
35b1c40c
DD
122022011-08-27 Deniz Dogan <deniz@dogan.se>
12203
12204 * net/rcirc.el (rcirc-check-auth-status): Adding support for
12205 oftc's NickServ messages.
12206
2f6a3e79
GM
122072011-08-27 Glenn Morris <rgm@gnu.org>
12208
12209 * saveplace.el (save-place-limit): Make it finite. (Bug#9352)
12210
7254299e
CY
122112011-08-26 Chong Yidong <cyd@stupidchicken.com>
12212
12213 * emacs-lisp/package.el (package-install): Call package-initialize
12214 if called interactively.
12215
f8ccf167
LL
122162011-08-26 Leo Liu <sdl.web@gmail.com>
12217
12218 * emacs-lisp/cl-macs.el (defstruct): Fix format. (Bug#9357)
12219
3e8cd5ce
JL
122202011-08-25 Juri Linkov <juri@jurta.org>
12221
12222 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
12223 `search-whitespace-regexp' (bug#9364).
12224
93eb7113
JL
122252011-08-25 Juri Linkov <juri@jurta.org>
12226
12227 * isearch.el (isearch-edit-string): Let-bind `search-ring' and
12228 `regexp-search-ring' to their global values to protect from
12229 updating by `read-from-minibuffer' (bug#9185).
12230
f65d1611
JL
122312011-08-25 Juri Linkov <juri@jurta.org>
12232
12233 * textmodes/ispell.el (ispell-command-loop): Add newline
12234 at the end of the "Use option `i'..." line.
12235
f1cf7a31
JL
122362011-08-25 Juri Linkov <juri@jurta.org>
12237
12238 * battery.el (display-battery-mode): If `battery-status-function'
12239 or `battery-mode-line-format' is nil, display the message and set
12240 `display-battery-mode' to nil (bug#9363).
12241
0c95fcf7
EZ
122422011-08-25 Eli Zaretskii <eliz@gnu.org>
12243
12244 * buff-menu.el (Buffer-menu-buffer+size): Remove calls to
12245 bidi-string-mark-left-to-right; they are unnecessary now.
12246
a2ebe600
DD
122472011-08-25 Deniz Dogan <deniz@dogan.se>
12248
12249 * net/quickurl.el: Documentation typo fixes.
12250
e4ed06f1
CY
122512011-08-25 Chong Yidong <cyd@stupidchicken.com>
12252
12253 * window.el (bury-buffer, quit-window): Use bury-buffer-internal.
12254
e5f1c99e
GM
122552011-08-25 Glenn Morris <rgm@gnu.org>
12256
b2948976
GM
12257 * emacs-lisp/derived.el (define-derived-mode): Doc fix.
12258
e5f1c99e
GM
12259 * mail/smtpmail.el (smtpmail-smtp-user): Add version: tag.
12260 (smtpmail-via-smtp): Handle nil response from smtp.
12261
f22f4808
JL
122622011-08-24 Juri Linkov <juri@jurta.org>
12263
12264 * proced.el (proced-marked): Inherit from `error' instead of
12265 `font-lock-warning-face'.
12266
12267 * ibuffer.el (ibuffer-marked-face): Change default face from
12268 `font-lock-warning-face' to `warning'.
12269 (ibuffer-deletion-face): Change default face from
12270 `font-lock-type-face' to `error'.
12271
12272 * battery.el (battery-update): Use the face `error' instead of
12273 `font-lock-warning-face' (bug#6117).
12274
6a93965e
JL
122752011-08-24 Juri Linkov <juri@jurta.org>
12276
12277 * faces.el (success): Change face color from "Green3" to
12278 "ForestGreen" on light background (bug#9353).
12279
1ed43b09
CY
122802011-08-24 Chong Yidong <cyd@stupidchicken.com>
12281
5664fa7b
RT
12282 * window.el (quit-window): Rename from quit-restore-window.
12283 Use same arglist as old quit-window.
1ed43b09
CY
12284 (frame-auto-delete): Doc fix.
12285
12286 * view.el (view-mode-exit): Use quit-window.
12287
11dcdbb2
JL
122882011-08-24 Juri Linkov <juri@jurta.org>
12289
12290 * isearch.el (isearch-ring-adjust1): Start visiting previous
12291 search strings from the index 0 (-1 + 1) instead of 1 (0 + 1).
12292 (isearch-repeat, isearch-edit-string): Call `isearch-ring-adjust1'
12293 for empty search string (when the last search string is reused
12294 automatically) to adjust the isearch ring to the last element and
12295 prepare the correct index for further M-p commands (bug#9185).
12296
de62b4df
KH
122972011-08-24 Kenichi Handa <handa@m17n.org>
12298
12299 * international/ucs-normalize.el: If decomposition property of
12300 CHAR is the default one (i.e. a list of CHAR itself), treat it as
12301 nil.
12302 (nfd, nfkd): Likewise.
12303
963b492b
SM
123042011-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
12305
12306 * mpc.el (mpc--proc-filter): Don't signal mpc-proc-error since signals
12307 from process filters aren't reliably transmitted to the surrounding
12308 accept-process-output.
12309 (mpc-proc-check): New function.
12310 (mpc-proc-sync): Use it (bug#8293)
12311
93b6b5e1
SM
123122011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
12313
12314 * emacs-lisp/eieio.el (eieio-defmethod, eieio-defgeneric):
12315 Add compatibility functions (bug#9313).
12316
bca633fb
EZ
123172011-08-23 Eli Zaretskii <eliz@gnu.org>
12318
b177498a
EZ
12319 * cus-start.el (all): Add entry for bidi-paragraph-direction.
12320
6df6ae42 12321 * international/uni-bidi.el: Regenerate.
bca633fb 12322
0902a04e
KH
123232011-08-23 Kenichi Handa <handa@m17n.org>
12324
12325 * international/charprop.el:
12326 * international/uni-bidi.el:
12327 * international/uni-category.el:
12328 * international/uni-combining.el:
12329 * international/uni-comment.el:
12330 * international/uni-decimal.el:
12331 * international/uni-decomposition.el:
12332 * international/uni-digit.el:
12333 * international/uni-lowercase.el:
12334 * international/uni-mirrored.el:
12335 * international/uni-name.el:
12336 * international/uni-numeric.el:
12337 * international/uni-old-name.el:
12338 * international/uni-titlecase.el:
12339 * international/uni-uppercase.el: Regenerate.
12340
3bbf23bc
MR
123412011-08-23 Martin Rudalics <rudalics@gmx.at>
12342
12343 * help.el (help-window-setup): Fix message displayed when other
12344 window is reused. (Bug#9341)
12345
b3fd59bd
SM
123462011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
12347
1802e444
SM
12348 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list.
12349 * pcomplete.el (pcomplete-quote-argument): Fix thinko (bug#9161).
12350
b3fd59bd
SM
12351 * pcomplete.el (pcomplete-parse-comint-arguments): Fix inf-loop.
12352 Mark obsolete.
12353 * shell.el (shell-parse-pcomplete-arguments): New function.
12354 (shell-completion-vars): Use it instead (bug#9160).
12355
4eb61348
SM
123562011-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
12357
867cab74
SM
12358 * progmodes/sh-script.el (sh-maybe-here-document): Disable magic in
12359 strings and comments (bug#9333).
12360
4eb61348
SM
12361 * emacs-lisp/debug.el (debug-arglist): New function.
12362 (debug-convert-byte-code): Use it. Handle lexical byte-codes.
12363 (debug-on-entry-1): Handle interpreted closures (bug#9120).
12364
262a1439
JL
123652011-08-22 Juri Linkov <juri@jurta.org>
12366
56ee679c
JL
12367 * progmodes/compile.el (compilation-mode-font-lock-keywords):
12368 Revert regexp that highlights output switches to its old
12369 pre-2010-10-28 value and remove one `?' from it (bug#9319).
12370
262a1439
JL
12371 * progmodes/grep.el (grep-process-setup): Use `buffer-modified-p'
12372 to check for empty output (bug#9226).
12373
f13f86fb
CY
123742011-08-22 Chong Yidong <cyd@stupidchicken.com>
12375
12376 * progmodes/scheme.el (scheme-mode-syntax-table): Don't use
12377 symbol-constituent as the default, as that stops font-lock from
12378 working properly (Bug#8843).
12379
c65c9622
LMI
123802011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
12381
12382 * mail/smtpmail.el (smtpmail-via-smtp): Only bind
12383 `coding-system-for-*' around the process open call to avoid
12384 auth-source side effects.
e7f2c178 12385 (smtpmail-try-auth-methods): Expand the secret password.
7185da52
LMI
12386 (smtpmail-query-smtp-server): Allow `quit'-ing out in case the
12387 probe hangs.
c65c9622 12388
23a8a5ab
CY
123892011-08-21 Chong Yidong <cyd@stupidchicken.com>
12390
ff98b2dd
CY
12391 * term.el (term-mouse-paste): Yank primary selection (Bug#6845).
12392
23a8a5ab
CY
12393 * emacs-lisp/find-func.el (find-function-noselect): New arg
12394 lisp-only.
12395
12396 * emacs-lisp/edebug.el (edebug-instrument-function): Use it to
12397 signal an error for built-in functions (Bug#6664).
12398
f5e3c598
LMI
123992011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
12400
12401 * mail/smtpmail.el (smtpmail-smtp-user): New variable.
12402 (smtpmail-try-auth-methods): Use it.
12403
a3f2468a
CY
124042011-08-21 Chong Yidong <cyd@stupidchicken.com>
12405
2c34e8da
CY
12406 * font-lock.el (font-lock-fontify-region)
12407 (font-lock-unfontify-region, font-lock-default-fontify-buffer)
12408 (font-lock-default-unfontify-buffer)
12409 (font-lock-default-fontify-region)
12410 (font-lock-default-unfontify-region): Add docstrings (Bug#8624).
12411
b3fd59bd
SM
12412 * progmodes/compile.el (compilation-error-properties):
12413 Fix confusion between file struct and message struct (Bug#9319).
02e5c89e
CY
12414 (compilation-error-regexp-alist-alist): Fix 2011-05-09 change to
12415 `ant' regexp.
ee31aabc 12416
a3f2468a
CY
12417 * net/browse-url.el (browse-url-firefox): Don't call
12418 browse-url-firefox-sentinel unless using -remote (Bug#9328).
12419
8e999f70
GM
124202011-08-20 Glenn Morris <rgm@gnu.org>
12421
c21a496a
GM
12422 * tutorial.el (help-with-tutorial): Avoid an error on short screens.
12423
59ee0542
GM
12424 * tutorial.el (tutorial--default-keys): Update some default bindings.
12425
8e999f70
GM
12426 * files.el (hack-local-variables): Fully ignore case for "mode:".
12427
e3715033
AM
124282011-08-20 Alan Mackenzie <acm@muc.de>
12429
12430 Resolve invalid use of a regexp in regexp-opt.
12431
4d61f28d
JB
12432 * progmodes/cc-fonts.el (c-complex-decl-matchers): Add in special
12433 detection for a java annotation.
e3715033 12434
4d61f28d 12435 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Add in special
e3715033
AM
12436 detection for a java annotation.
12437
4d61f28d
JB
12438 * progmodes/cc-langs.el (c-prefix-spec-kwds-re): Remove the special
12439 handling for java.
e3715033
AM
12440 (c-modifier-kwds): Remove the regexp "@[A-za-z0-9]+".
12441
04ed2e9c
CY
124422011-08-20 Chong Yidong <cyd@stupidchicken.com>
12443
12444 * startup.el (normal-top-level-add-subdirs-to-load-path): Doc fix
12445 (Bug#9274).
12446
826cee64
AM
124472011-08-20 Alan Mackenzie <acm@muc.de>
12448
58179cce 12449 Fontify CPP expressions correctly when starting in the middle of
826cee64
AM
12450 such a construct. Mainly for when jit-lock etc. starts a chunk
12451 here.
12452
58179cce 12453 * progmodes/cc-fonts.el (c-font-lock-context): New buffer local
826cee64 12454 variable.
58179cce 12455 (c-make-font-lock-search-form): New function, extracted from
826cee64
AM
12456 c-make-font-lock-search-function.
12457 (c-make-font-lock-search-function): Use the above function.
12458 (c-make-font-lock-context-search-function): New function.
12459 (c-cpp-matchers): Enhance the preprocessor expression case with
12460 the above function
12461 (c-font-lock-complex-decl-prepare): Test for being in a CPP form
12462 which takes an expression.
12463
12464 * progmodes/cc-langs.el (c-cpp-expr-intro-re): New lang-variable.
12465
13009bd8
MR
124662011-08-20 Martin Rudalics <rudalics@gmx.at>
12467
12468 * window.el (display-buffer-reuse-window)
12469 (display-buffer-pop-up-window): Don't reuse or split a side
12470 window.
12471
9234ff7f
GM
124722011-08-19 Glenn Morris <rgm@gnu.org>
12473
12474 * files.el (hack-local-variables-prop-line, hack-local-variables):
5e617bc2 12475 Downcase "Mode:". (Bug#9331)
9234ff7f 12476
f635daa1
CY
124772011-08-18 Chong Yidong <cyd@stupidchicken.com>
12478
12479 * international/characters.el: Add L and R categories.
12480
12481 * subr.el (bidi-string-mark-left-to-right): Rename from
12482 string-mark-left-to-right. Use category search.
12483
12484 * buff-menu.el (Buffer-menu-buffer+size): Callers changed.
12485
bc987f8b
JL
124862011-08-18 Juri Linkov <juri@jurta.org>
12487
12488 * faces.el (error, warning, success): New faces with definitions
12489 copied from old default values of `font-lock-warning-face',
12490 `compilation-warning', `compilation-info' (bug#6117).
12491
12492 * font-lock.el (font-lock-warning-face): Inherit from `error'.
12493
12494 * progmodes/compile.el (compilation-error): Inherit from `error'.
12495 (compilation-warning): Inherit from `warning'.
12496 (compilation-info): Inherit from `success'.
12497
12498 * dired.el (dired-marked): Inherit from `warning'.
12499 (dired-flagged): Inherit from `error'.
12500
57173b96
LMI
125012011-08-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
12502
3e79eb87
LMI
12503 * mail/smtpmail.el (auth-source): Require to avoid problems with
12504 binding variables (bug#9298). Also clean up some unused
12505 autoloads.
12506
b3fd59bd
SM
12507 * net/network-stream.el (network-stream-open-starttls):
12508 Support using starttls.el without using gnutls-cli.
57173b96 12509
02b404de
JL
125102011-08-17 Juri Linkov <juri@jurta.org>
12511
12512 * progmodes/grep.el (rgrep): Handle the case when
12513 `grep-find-command' is a cons cell (bug#9278).
12514
8c9177f2
MR
125152011-08-17 Martin Rudalics <rudalics@gmx.at>
12516
12517 * window.el (display-buffer-pop-up-frame): Run frame creation
12518 function with BUFFER current (as special-display-popup-frame
12519 does). Reported by Drew Adams.
12520
3644a0ab
DU
125212011-08-17 Daiki Ueno <ueno@unixuser.org>
12522
12523 * epa-mail.el: Simplify GnuPG group expansion using
12524 epg-expand-group.
12525 (epa-mail-group-alist, epa-mail-group-modtime)
12526 (epa-mail-gnupg-conf-file, epa-mail-parse-groups)
12527 (epa-mail-sync-groups, epa-mail-expand-recipient-1)
12528 (epa-mail-expand-recipients-2, epa-mail-expand-recipients):
12529 Remove.
12530
5e617bc2 125312011-08-16 Feng Li <fengli@gmail.com> (tiny change)
7c643369
FL
12532
12533 * calc/calc-ext.el (math-defintegral-2): Remove nested backquote.
12534
9c4aeabf
AM
125352011-08-16 Alan Mackenzie <acm@muc.de>
12536
12537 * progmodes/cc-engine.el (c-state-cache-non-literal-place):
12538 Correct, to avoid the inside of macros.
12539
3a99bf64
RS
125402011-08-16 Richard Stallman <rms@gnu.org>
12541
04963aa8
RS
12542 * epa-mail.el: Handle GnuPG group definitions.
12543 (epa-mail-group-alist, epa-mail-group-modtime)
12544 (epa-mail-gnupg-conf-file): New variables.
12545 (epa-mail-parse-groups, epa-mail-sync-groups)
12546 (epa-mail-expand-recipient-1, epa-mail-expand-recipients-2)
12547 (epa-mail-expand-recipients): New functions.
12548 (epa-mail-encrypt): Call epa-mail-expand-recipients.
12549
177549d0
RS
12550 * mail/rmail.el (rmail-epa-decrypt): New command.
12551
fe38beef
RS
12552 * epa.el (epa-decrypt-region): New arg MAKE-BUFFER-FUNCTION.
12553 Don't bind buffer-read-only, just inhibit-read-only.
3a99bf64
RS
12554 (epa--find-coding-system-for-mime-charset): Fix the non-xemacs case.
12555 (epa-decrypt-armor-in-region): Make error message clearer.
12556
934eacb9
SM
125572011-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
12558
12559 * minibuffer.el (completion-pcm--merge-completions): Don't merge "a1b"
12560 and "a2b" to "ab" for `prefix'.
12561
d024fb4e
CY
125622011-08-14 Chong Yidong <cyd@stupidchicken.com>
12563
12564 * ibuf-ext.el (ibuffer-filter-disable): New arg for deleting
12565 filter groups.
de148fee
CY
12566 (ibuffer-included-in-filter-p-1): Use it. Suggested by Rafaël
12567 Fourquet (Bug#8804).
d024fb4e 12568
62f1ca49
JB
125692011-08-12 Juanma Barranquero <lekktu@gmail.com>
12570
12571 * startup.el (argi): Declare as global variable (bug#9275).
12572
9ccaaa4b
CY
125732011-08-12 Chong Yidong <cyd@stupidchicken.com>
12574
12575 * subr.el (string-mark-left-to-right): Search the entire string
12576 for RTL script, not just the terminating character. Doc fix.
12577
a3dae87a
SM
125782011-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
12579
6cd18349
SM
12580 * progmodes/js.el (js-syntax-propertize, js-syntax-propertize-regexp):
12581 New function.
12582 (js--regexp-literal, js-syntax-propertize-function): Remove.
12583 (js-mode): Use js-syntax-propertize to handle multilines (bug#9183).
12584 (js-mode-map): Don't rebind electric keys.
12585 (js-insert-and-indent): Remove.
12586 (js-mode): Setup electric-layout and electric-indent instead.
12587
a3dae87a
SM
12588 * epa-file.el (epa-file-select-keys): Revert to nil default (bug#9280).
12589
9d5cb631
DU
125902011-08-12 Daiki Ueno <ueno@unixuser.org>
12591
12592 * epa.el (epa-progress-callback-function): Fix the logic of
12593 displaying progress.
12594 * epa-file.el (epa-file-insert-file-contents): Make progress
12595 display more user-friendly.
12596 (epa-file-write-region): Ditto.
12597
3e26a4a2
CY
125982011-08-10 Chong Yidong <cyd@stupidchicken.com>
12599
12600 * subr.el (string-mark-left-to-right): New function.
12601
12602 * buff-menu.el (Buffer-menu-buffer+size): Remove LRM argument.
12603 Use string-mark-left-to-right.
12604 (list-buffers-noselect): Caller changed.
12605
a3dae87a
SM
12606 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
12607 Use string-mark-left-to-right.
3e26a4a2
CY
12608 (tabulated-list-print): Recenter after moving point.
12609
ac8cf6e6
JL
126102011-08-10 Juri Linkov <juri@jurta.org>
12611
12612 * progmodes/grep.el (rgrep): Don't bind `process-connection-type'.
12613 This finishes incomplete reversion of 2011-06-30T01:09:13Z!larsi@gnus.org
12614 intended by 2011-07-06T15:49:19Z!larsi@gnus.org.
12615
8d96c9a4
CY
126162011-08-09 Chong Yidong <cyd@stupidchicken.com>
12617
12618 * hi-lock.el (hi-lock-unface-buffer): Fix interactive spec
12619 (Bug#7554).
12620
7be1c708 126212011-08-09 Andreas Schwab <schwab@linux-m68k.org>
29bbcfa7
AS
12622
12623 * xt-mouse.el (xterm-mouse-event-read): Try to recover the raw
12624 character. (Bug#6594)
12625
37e11a63
CY
126262011-08-08 Chong Yidong <cyd@stupidchicken.com>
12627
839dde57
CY
12628 * image-dired.el: Don't use find-file for temporary work (Bug#7895).
12629 (image-dired--with-db-file): New macro.
12630 (image-dired-write-tags, image-dired-remove-tag)
12631 (image-dired-create-gallery-lists, image-dired-write-comments)
12632 (image-dired-get-comment, image-dired-mark-tagged-files)
12633 (image-dired-list-tags, image-dired-gallery-generate): Use it.
12634 (image-dired-gallery-generate): Use insert-file-contents.
12635
37e11a63
CY
12636 * time.el (display-time-world-list, display-time-world-display):
12637 * time-stamp.el (time-stamp-string):
12638 * vc/add-log.el (add-change-log-entry): Use setenv instead of
12639 set-time-zone-rule (Bug#7337).
12640
0b4946c4
DU
126412011-08-08 Daiki Ueno <ueno@unixuser.org>
12642
12643 * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED): Fix typo.
12644 (epg-error-to-string, epg-errors-to-string): New function.
12645 (epg-wait-for-completion): Reverse errors list.
12646 (epg--check-error-for-decrypt, epg-sign-file, epg-sign-string)
12647 (epg-encrypt-file, epg-encrypt-string, epg-export-keys-to-file)
12648 (epg--import-keys-1, epg-receive-keys, epg-delete-keys)
12649 (epg-sign-keys, epg-generate-key-from-file)
12650 (epg-generate-key-from-string): Format errors by using
12651 epg-errors-to-string (bug#9255).
12652 (epg--status-INV_SGNR, epg--status-NO_SGNR): New status handler.
12653
75bfc667
JL
126542011-08-07 Juri Linkov <juri@jurta.org>
12655
12656 * faces.el (list-faces-display): Remove extra angle bracket
12657 from `help-mode-map'.
12658
12659 * info.el (Info-history-toc-nodes): Doc fix.
12660
12661 * longlines.el (longlines-mode): Doc fix.
12662
673e08bb
SM
126632011-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
12664
4640dd88
SM
12665 * progmodes/js.el (js--regexp-literal): Accept regexps at the beginning
12666 of statements and in a few more cases (bug#9183).
12667
673e08bb
SM
12668 * emacs-lisp/cl-macs.el (cl--make-usage-var, cl--make-usage-args):
12669 New functions.
12670 (cl-transform-lambda): Use them (bug#9239).
12671
89b3f019
MR
126722011-08-05 Martin Rudalics <rudalics@gmx.at>
12673
12674 * window.el (display-buffer-same-window)
12675 (display-buffer-same-frame, display-buffer-other-window)
12676 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
12677 (pop-to-buffer-other-window)
12678 (pop-to-buffer-same-frame-other-window)
12679 (pop-to-buffer-other-frame): Make them defuns.
12680 (switch-to-buffer): Don't set LABEL argument of pop-to-buffer.
12681
640c8776
SM
126822011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
12683
12684 * subr.el (make-composed-keymap): Move from C. Change calling
12685 convention, and improve docstring to bring attention to a subtle point.
12686 * minibuffer.el (completing-read-default): Adjust accordingly.
12687
63648a95
MA
126882011-08-03 Michael Albinus <michael.albinus@gmx.de>
12689
12690 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
12691 (tramp-open-shell): Use `tramp-shell-quote-argument'.
12692
12693 * net/trampver.el: Update release number.
12694
b796c9b7
SM
126952011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
12696
12697 * progmodes/sh-script.el (sh-font-lock-paren): Don't mistake "main" for
12698 "in" (bug#9190).
12699
2239d7d5
LMI
127002011-08-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
12701
e07dd7c3
LMI
12702 * mail/sendmail.el (sendmail-query-once): Restore the current
12703 buffer after querying (bug#9074).
12704
0e6a2bd7
LMI
12705 * dired.el (dired-flagged): Use different faces for marked and
12706 flagged files (bug#6117).
12707
ce887515
LMI
12708 * emacs-lisp/cl-macs.el (dolist): Mention that there's a nil block
12709 (bug#4433).
12710
92f2affc
LMI
12711 * ido.el (ido-mode): Switch off the message if called
12712 non-interactively.
12713
57d5aff0
LMI
12714 * mail/smtpmail.el (smtpmail-query-smtp-server): Try port 25
12715 before 587, since it appears that that's more likely to work for
12716 more people.
12717
98cd6c18 12718 * cus-edit.el (custom-file): When running under emacs -q, always
e1dbe924 12719 refuse to save the customizations, even if the .emacs file doesn't
98cd6c18
LMI
12720 exist.
12721
b96dec83
LMI
12722 * info.el: Remove the `Info-beginning-of-buffer' function
12723 (bug#8325).
12724
b796c9b7
SM
12725 * net/network-stream.el (network-stream-open-starttls):
12726 Use `starttls-available-p' to see whether starttls.el can be used.
2239d7d5 12727
d90e2ea0
MR
127282011-08-01 Martin Rudalics <rudalics@gmx.at>
12729
12730 * window.el (display-buffer-in-window): Don't set dedicated status
12731 of window here (Bug#9215).
12732 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
12733 (display-buffer-pop-up-side-window)
b796c9b7 12734 (display-buffer-in-side-window): Set dedicated status of window here.
d90e2ea0 12735
cca09170
SM
127362011-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
12737
12738 * emacs-lisp/package.el (package-generate-autoloads): Load autoloads
12739 before binding generated-autoload-file.
12740
027b979c
DD
127412011-08-01 Deniz Dogan <deniz@dogan.se>
12742
12743 * net/rcirc.el (rcirc-handler-333): Clarify docstring.
12744
3c7ee4f3
MA
127452011-07-30 Michael Albinus <michael.albinus@gmx.de>
12746
12747 Sync with Tramp 2.2.2.
12748
12749 * net/trampver.el: Update release number.
12750
2cc8e51a
JL
127512011-07-30 Juri Linkov <juri@jurta.org>
12752
12753 * dired-aux.el (dired-touch-initial): Remove function.
12754 (dired-do-chxxx): For op-symbol `touch', set `initial' to the
12755 current time, and `default' to the last modification time of the
12756 current marked file (bug#6887).
12757
a514d856
JM
127582011-07-28 Jose E. Marchesi <jemarch@gnu.org>
12759
12760 * simple.el (goto-line): Use string-to-number to provide a
2cc8e51a 12761 numeric argument to read-number (bug#9163).
a514d856 12762
8a7eddd7
MA
127632011-07-27 Michael Albinus <michael.albinus@gmx.de>
12764
12765 * net/tramp-sh.el (tramp-maybe-send-script): Don't let-bind the
12766 connection process, it could be nil.
12767
1ddd96f5
LL
127682011-07-27 Leo Liu <sdl.web@gmail.com>
12769
12770 Simplify url handling in rcirc-mode.
12771
12772 * net/rcirc.el (rcirc-browse-url-map, rcirc-browse-url-at-point)
12773 (rcirc-browse-url-at-mouse): Remove.
12774 * net/rcirc.el (rcirc-markup-urls): Use `make-button'.
12775
b248a85d
AM
127762011-07-26 Alan Mackenzie <acm@muc.de>
12777
12778 Fontify bitfield declarations properly.
12779
12780 * progmodes/cc-langs.el (c-has-bitfields): New lang variable.
12781 (c-symbol-chars): Now exported as a lang variable.
12782 (c-not-primitive-type-keywords): New lang variable.
12783
12784 * progmodes/cc-fonts.el (c-font-lock-declarations): Jump over the
12785 QT keyword "more" to prevent "more slots: ...." being spuriously
58179cce 12786 parsed as a bitfield declaration.
b248a85d 12787
b796c9b7
SM
12788 * progmodes/cc-engine.el (c-beginning-of-statement-1):
12789 Refactor and enhance to handle bitfield declarations.
b248a85d
AM
12790 (c-punctuation-in): New function.
12791 (c-forward-decl-or-cast-1): Enhance CASE 3 to handle bitfield
12792 declarations properly.
12793
68575ab0
UJ
127942011-07-26 Ulf Jasper <ulf.jasper@web.de>
12795
12796 * calendar/icalendar.el (icalendar--all-events): Take care of
12797 multiple vcalendars in a single file.
b796c9b7 12798 (icalendar--convert-float-to-ical): Checkdoc fixes.
68575ab0 12799
0f0a88b9
DD
128002011-07-25 Deniz Dogan <deniz@dogan.se>
12801
12802 * image.el (insert-image): Clarifying docstring.
12803
0b3f36df
MA
128042011-07-24 Michael Albinus <michael.albinus@gmx.de>
12805
12806 * net/tramp-sh.el (tramp-barf-unless-okay): Return the value of
12807 `tramp-send-command-and-check' if there is no error.
12808 (tramp-send-command-and-read): Suppress *all* errors if NOERROR.
12809
a9901f61
AM
128102011-07-22 Alan Mackenzie <acm@muc.de>
12811
12812 Prevent cc-langs.elc being loaded at run time.
12813
12814 * progmodes/cc-mode.el: Remove two autoload forms which loaded
12815 cc-langs.
12816
4d61f28d 12817 * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Don't emit
a9901f61
AM
12818 "(require 'cc-langs)". Quote a form so it will evaluate at
12819 (cc-mode's) compilation time.
12820
11d074b2
MA
128212011-07-22 Michael Albinus <michael.albinus@gmx.de>
12822
12823 * net/tramp.el (tramp-file-name-handler): Avoid recursive
12824 loading. (Bug#9114)
12825
938b94c8
MR
128262011-07-21 Martin Rudalics <rudalics@gmx.at>
12827
12828 * window.el (display-buffer-pop-up-window)
12829 (display-buffer-pop-up-side-window)
12830 (display-buffer-in-side-window): Call display-buffer-set-height
12831 and display-buffer-set-width after setting the new window's
b796c9b7 12832 buffer so `fit-window-to-buffer' and friends work on the right buffer.
938b94c8 12833
bfa4f190
SS
128342011-07-20 Sam Steingold <sds@gnu.org>
12835
12836 * progmodes/etags.el (etags-file-of-tag, etags-tags-table-files)
12837 (etags-tags-included-tables): Call `convert-standard-filename' on
12838 the file names contained in TAGS so that windows Emacs can handle
12839 TAGS files created by cygwin ctags.
12840
8ca42262
LMI
128412011-07-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
12842
12843 * proced.el (proced-update): Revert yesterday's bug#1779 patch,
12844 which apparently didn't work.
12845
5db2afd2 128462011-07-19 Roland Winkler <winkler@gnu.org>
2ecab2b5 12847
5db2afd2
RW
12848 * proced.el (proced-send-signal): For *Marked Processes* buffer
12849 put point at beginning of buffer.
12850
92e15d10
SB
128512011-07-19 Stephen Berman <stephen.berman@gmx.net>
12852
12853 * proced.el (proced-format): Make header lines align with the text
12854 (bug#1779).
12855
1bfd59e5
LMI
128562011-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
12857
12858 * view.el (view-buffer): Allow running in `special' modes if we're
12859 visiting a file (bug#8615).
12860
f5aae37c
MR
128612011-07-19 Martin Rudalics <rudalics@gmx.at>
12862
12863 * window.el (display-buffer-alist-of-strings-p)
b796c9b7
SM
12864 (display-buffer-alist-set-1, display-buffer-alist-set-2):
12865 New functions.
f5aae37c
MR
12866 (display-buffer-alist-set): Rewrite to handle Emacs 23 options
12867 more accurately.
12868
bf2c1571
AM
128692011-07-18 Alan Mackenzie <acm@muc.de>
12870
12871 Fontify declarators properly when, e.g., a jit-lock chunk begins
12872 inside a declaration.
12873
12874 * progmodes/cc-langs.el (c-symbol-chars): Correct a typo.
12875
b796c9b7
SM
12876 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
12877 New function.
bf2c1571
AM
12878 (c-complex-decl-matchers): Insert reference to
12879 c-font-lock-enclosing-decls.
12880
12881 * progmodes/cc-engine.el (c-backward-single-comment):
12882 (c-backward-comments): Bind open-paren-in-column-0-is-defun-start
12883 to nil around calls to (forward-comment -1).
12884
4e190b80
LMI
128852011-07-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
12886
12dc863d
LMI
12887 * image.el (put-image): Doc typo fix.
12888
a762e966
LMI
12889 * progmodes/etags.el (tags-search): Doc typo fix.
12890
4e190b80
LMI
12891 * mail/smtpmail.el (smtpmail-via-smtp): Query the user for
12892 password if we get errors 550 to 554.
12893
f019fb21
LMI
128942011-07-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
12895
b796c9b7 12896 * net/gnutls.el (gnutls-log-level): Remove.
750c33f7 12897
81746738
LMI
12898 * textmodes/fill.el (adaptive-fill-regexp): Include EN DASH as an
12899 indentation character (bug#6380).
12900
3ee3a1b5
LMI
12901 * files.el (buffer-offer-save): Made permanently local (bug#6241).
12902
c82f64de
LMI
12903 * doc-view.el (doc-view-make-safe-dir): Rewrite the error message
12904 to clarify what the problem is (bug#4291).
12905
f019fb21
LMI
12906 * simple.el (current-kill): Clarify what
12907 `interprogram-paste-function' does (bug#7500).
ca425c7c
LMI
12908 (auto-fill-mode): Document `auto-fill-function' in relation to
12909 `auto-fill-mode' (bug#2470).
f019fb21 12910
0794775d
LM
129112011-07-16 Lawrence Mitchell <wence@gmx.li>
12912
12913 * emacs-lisp/cl-macs.el (defstruct): Ignore argument to setf
12914 method if slot is read-only (bug#9035).
12915
be39b8cc
MR
129162011-07-16 Martin Rudalics <rudalics@gmx.at>
12917
b796c9b7 12918 * frame.el (select-frame-set-input-focus): New argument NORECORD.
be39b8cc 12919 * window.el (pop-to-buffer): Select window used even if it was
b796c9b7
SM
12920 selected before, see discussion of (Bug#8615), (Bug#6954).
12921 Pass argument NORECORD on to select-frame-set-input-focus.
be39b8cc 12922
6ccf7859
GM
129232011-07-15 Glenn Morris <rgm@gnu.org>
12924
12925 * subr.el (read-char-choice): Allow quitting. (Bug#9001)
03ea5b87 12926 Respect help-form.
6ccf7859 12927
87e86684
LM
129282011-07-09 Lawrence Mitchell <wence@gmx.li>
12929
12930 * net/gnutls.el (gnutls-min-prime-bits): New variable.
12931 (gnutls-negotiate): Use it.
12932
d6066239
LMI
129332011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
12934
b796c9b7
SM
12935 * net/gnutls.el (gnutls-negotiate):
12936 Upcase `gnutls-algorithm-priority'.
d6066239 12937
bd23ebc0
GM
129382011-07-15 Glenn Morris <rgm@gnu.org>
12939
c65bca65
GM
12940 * jka-compr.el (jka-compr-verbose): Move from here...
12941 * jka-cmpr-hook.el (jka-compr-verbose): ... to here. (Bug#9090)
12942 Add missing :version tag.
12943 * info.el: No need to require jka-compr when compiling.
bd23ebc0 12944
478615cc
LMI
129452011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
12946
7b41decb
LMI
12947 * net/gnutls.el (gnutls-algorithm-priority): New variable.
12948 (gnutls-negotiate): Use it.
12949
dbc44fcd
LMI
12950 * emacs-lisp/cl-macs.el (declare): Link to the "Declarations" node.
12951
06789f97
LMI
12952 * info.el (Info-beginning-of-buffer): New command.
12953 (Info-mode-map): Use it instead of `beginning-of-buffer' to allow
12954 announcing `b' as the key (bug#8325).
ab896c37 12955 (Info-mode-menu): Use `Info-beginning-of-buffer' for consistency.
06789f97 12956
c39da690
LMI
12957 * emacs-lisp/cl-macs.el (declare): Doc string fix-up.
12958
3aa5f34b
LMI
12959 * international/mule-cmds.el
12960 (describe-specified-language-support): Make the error message
12961 clearer (bug#8905).
12962
4bf0979f
LMI
12963 * emacs-lisp/cl-macs.el (declare): Add a doc string (bug#8690).
12964
478615cc
LMI
12965 * isearch.el (isearch-barrier): Add a doc string, since it's
12966 mentioned in a function doc string (bug#8678).
12967
75c68aa1
MR
129682011-07-15 Martin Rudalics <rudalics@gmx.at>
12969
12970 * window.el (switch-to-buffer): Call pop-to-buffer with normalized
12971 buffer argument (Bug#9083) and self-identifying label argument.
12972
a7c33da2
GM
129732011-07-15 Glenn Morris <rgm@gnu.org>
12974
12975 * emacs-lisp/debug.el (debug): Doc fix. (Bug#8273)
12976
2f5c6024
LMI
129772011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
12978
12979 * man.el (Man-fontify-manpage): Fix message when formatting the
12980 man page (bug#7929).
12981
0bb23927 129822011-07-14 Eli Zaretskii <eliz@gnu.org>
cce4b0a7
EZ
12983
12984 * buff-menu.el (Buffer-menu-buffer+size): Accept an additional
12985 argument LRM; if non-nil, append an invisible LRM character to the
12986 buffer name.
12987 (list-buffers-noselect): Call Buffer-menu-buffer+size with the
12988 last argument non-nil, when formatting buffer names.
0bb23927
EZ
12989 (Buffer-menu-mode, list-buffers-noselect): Force left-to-right
12990 paragraph direction.
cce4b0a7 12991
621ef9ab
LMI
129922011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
12993
d1583c48
LMI
12994 * man.el (Man-bgproc-sentinel): Skip any arguments and only output
12995 the man page name (bug#7929).
12996
6a57fb5f
LMI
12997 * image.el (put-image): Mention the `put-image' overlay property
12998 (bug#7834).
12999
d7956b14
LMI
13000 * scroll-bar.el (set-scroll-bar-mode): Mention that
13001 `scroll-bar-mode' lists the values (bug#7772).
13002
5b2d4a66
LMI
13003 * image-mode.el (image-mode-fit-frame): Mention that it's a toggle
13004 command (bug#7729).
13005
7509a874
LMI
13006 * rect.el (apply-on-rectangle): Return the point after the last
13007 operation.
13008 (string-rectangle): Go to the point after the last operation
13009 (bug#7522).
13010
4fe74b19
LMI
13011 * printing.el (pr-toggle-region): Clarify the documentation
13012 slightly (bug#7493).
13013
b796c9b7
SM
13014 * time.el (display-time-update):
13015 Allow `display-time-mail-function' to return nil (bug#7158).
13016 Fix suggested by Detlev Zundel.
ab283561 13017
fc233c9d
LMI
13018 * vc/diff.el (diff): Clarify the order the file names are read
13019 (bug#7111).
13020
43f5740b
LMI
13021 * mouse.el (mouse-set-region): Link to `mouse-drag-copy-region' in
13022 the doc string (bug#7015).
13023
f2182a76
LMI
13024 * font-lock.el (font-lock-maximum-decoration): Mention what
13025 numeric levels mean (bug#6935).
13026
621ef9ab
LMI
13027 * startup.el (initial-buffer-choice): Don't mention the `none'
13028 selection, which is against policy.
13029
adc47434
MR
130302011-07-14 Martin Rudalics <rudalics@gmx.at>
13031
b796c9b7
SM
13032 * window.el (display-buffer-normalize-special):
13033 Replace `dedicated' by `dedicate' to dedicate window (Bug#9072).
adc47434 13034
7e5bfb8f
EZ
130352011-07-14 Eli Zaretskii <eliz@gnu.org>
13036
13037 * subr.el (version<, version<=, version=): Mention "-CVS" and
13038 "-12345" alpha version numbers.
13039
27fa387a
CY
130402011-07-14 Chong Yidong <cyd@stupidchicken.com>
13041
13042 * bindings.el: Add advertised binding for set-mark-command
13043 (Bug#5772).
13044
8bdfa064
CY
130452011-07-14 Chong Yidong <cyd@stupidchicken.com>
13046
13047 * bindings.el (mode-line-other-buffer):
13048 * bookmark.el (bookmark-bmenu-2-window):
13049 * bs.el (bs-cycle-next, bs-cycle-previous):
13050 * net/tramp-cmds.el (tramp-append-tramp-buffers): Revert to using
13051 switch-to-buffer.
13052
13053 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
b796c9b7 13054 Delete.
8bdfa064 13055
5eba16a3
JB
130562011-07-14 Juanma Barranquero <lekktu@gmail.com>
13057
13058 * follow.el (follow-debug-message, follow-redisplay):
13059 * jka-cmpr-hook.el (with-auto-compression-mode):
13060 Fix typos in docstrings.
13061
15853710
LMI
130622011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
13063
a28e4607
LMI
13064 * subr.el (with-silent-modifications): Clarify somewhat what the
13065 macro inhibits (bug#6525).
13066
15853710
LMI
13067 * simple.el (eval-expression): Note what it does if called
13068 interactively (bug#6495).
13069
bee0fcef
CY
130702011-07-13 Chong Yidong <cyd@stupidchicken.com>
13071
b796c9b7
SM
13072 * window.el (switch-to-buffer): New arg FORCE-SAME-WINDOW.
13073 Use pop-to-buffer buffer-or-name if it is nil.
bee0fcef
CY
13074
13075 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
13076 Remove switch-to-buffer.
13077
58274504
LMI
130782011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
13079
bd2fcc8d
LMI
13080 * files.el (make-directory): Clarify that an error will be raised
13081 if there's an error (bug#6397).
13082
0f04b32c
LMI
13083 * startup.el (initial-buffer-choice): Add `none' as a choice
13084 (bug#6234).
13085
465c5fc8
LMI
13086 * subr.el (add-hook): Clarify section about buffer-local hooks
13087 (bug#6218).
13088
58274504
LMI
13089 * dired.el (dired-flagged): Clarify doc string (bug#6117).
13090
bead9a43
JB
130912011-07-13 Juanma Barranquero <lekktu@gmail.com>
13092
13093 * tabify.el (untabify): Preserve the current column so that point
13094 doesn't move (bug#6032).
13095
3af98a7b
LMI
130962011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
13097
b796c9b7
SM
13098 * progmodes/cperl-mode.el (cperl-syntaxify-by-font-lock):
13099 Rewrite to avoid awkward possessive "s" (bug#5986).
3af98a7b 13100
6240145a
GM
131012011-07-13 Glenn Morris <rgm@gnu.org>
13102
13103 * dired.el (dired-use-ls-dired): Doc fix. (Bug#9039).
13104 (dired-insert-directory): Give a message the first time
13105 if ls is found not to support --dired.
13106
1d8c2ccc
LMI
131072011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
13108
13109 * simple.el (toggle-truncate-lines): Clarify what is toggled
13110 (bug#5580). Text by Drew Adams.
13111
5fc4038e
CY
131122011-07-13 Chong Yidong <cyd@stupidchicken.com>
13113
13114 * simple.el (blink-matching-open): Make the error message from the
13115 last change less verbose.
13116
bf6012e5
DN
131172011-07-13 Dan Nicolaescu <dann@ics.uci.edu>
13118
13119 * font-lock.el (font-lock-comment-face): Use the high contrast
13120 "yellow" color for font-lock-comment-face on low color terminals
13121 using a dark background color (bug#4221).
13122
343c3b5a
LMI
131232011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
13124
7e9505c5
LMI
13125 * dired.el (dired-insert-set-properties): Make the doc string
13126 reflect what it does now (bug#5325).
13127
c26fdcf5
LMI
13128 * simple.el (blink-matching-open): Say that we were unable to find
13129 the match within the limit, if we're limited (bug#5122).
13130
bb388cc5
LMI
13131 * international/mule-cmds.el (prefer-coding-system): Add an
13132 example (bug#4869).
13133
343c3b5a
LMI
13134 * progmodes/etags.el (tags-search): Document `file-list-form'
13135 (bug#4731).
13136
2a517d45
LM
131372011-07-13 Lawrence Mitchell <wence@gmx.li>
13138
13139 * net/browse-url.el (browse-url-default-browser)
13140 (browse-url-browser-function): Make the default browser choice a
13141 bit more logical (bug#4300). Also clean up the doc string.
13142
b6c78ef2
JB
131432011-07-13 Juanma Barranquero <lekktu@gmail.com>
13144
13145 * bindings.el (completion-ignored-extensions): Add OpenMCL/Clozure
13146 binary endings (bug#4440).
13147
1c4dd947
LMI
131482011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
13149
a2014063
LMI
13150 * info.el (info-insert-file-contents): Inhibit jka-compr messages,
13151 which can be pretty annoying (bug#8971).
13152
9c9c2d88
LMI
13153 * jka-compr.el (jka-compr-verbose): New variable, and use
13154 throughout (bug#8971).
13155
1c4dd947
LMI
13156 * info.el (Info-find-file): Fall back on the installation
13157 directory if we can't find the info node anywhere else.
13158
a1c9f41b
SO
131592011-07-13 Sergei Organov <osv@javad.com> (tiny change)
13160
13161 * vc/vc.el (vc-revert-file):
13162 Don't set file time-stamp in the past. (Bug#5181)
13163
536f3d36
LMI
131642011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
13165
7152b011
LMI
13166 * files.el (after-find-file): Give a better error message when
13167 trying to find a symlink that points to a file that doesn't exist
13168 (bug#4398).
13169
536f3d36
LMI
13170 * progmodes/cc-vars.el: Remove (probably) misleading comment
13171 (bug#4396).
13172
460c0fba
JB
131732011-07-12 Johan Bockgård <bojohan@gnu.org>
13174
13175 * mouse-sel.el (mouse-sel-primary-overlay): Use the `region' face.
13176
7a6bda45
CY
131772011-07-12 Chong Yidong <cyd@stupidchicken.com>
13178
13179 * mouse-sel.el: Hack restoring functionality, while keeping
13180 compatibility with 2010-07-03 changes to mouse selection.
13181 (mouse-sel-primary-overlay): New var.
13182 (mouse-sel-selection-alist): Use it.
13183 (mouse-sel-mode): Doc fix; remove points that are default features
13184 of mouse.el.
13185
c79598ef
JB
131862011-07-12 Johan Bockgård <bojohan@gnu.org>
13187
13188 * progmodes/compile.el (compilation-error-regexp-alist-alist):
13189 Fix previous fix (bug#2490).
13190
ff8be6ef
RW
131912011-07-12 Roland Winkler <winkler@gnu.org>
13192
b796c9b7
SM
13193 * textmodes/bibtex.el (bibtex-initialize):
13194 Use pop-to-buffer-same-window.
ff8be6ef
RW
13195 (bibtex-search-entries): Fix interactive call.
13196
296ba3ee
LMI
131972011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
13198
f5242a02 13199 * progmodes/compile.el (compilation-error-regexp-alist-alist):
b796c9b7
SM
13200 Fontise bytecomp Error lines more correctly (bug#2490).
13201 Fix suggested by Johan Bockgård.
f5242a02 13202
296ba3ee
LMI
13203 * subr.el (remove-duplicates): Remove; `delete-dups' is sufficient.
13204
13205 * dired-x.el (dired-guess-default): Use `delete-dups'.
13206
f69fd0d2
CY
132072011-07-12 Chong Yidong <cyd@stupidchicken.com>
13208
13209 * dired.el (dired-mark-prompt):
13210 * dired-aux.el (dired-read-shell-command): Doc fix.
13211
eab5dc07
LMI
132122011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
13213
b796c9b7
SM
13214 * mail/sendmail.el (sendmail-query-once):
13215 Use `customize-save-variable' unconditionally, now that it works under
9988520a
LMI
13216 emacs -Q.
13217
13218 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
13219
eab5dc07
LMI
13220 * cus-edit.el (custom-file): Take an optional no-error variable.
13221 (customize-save-variable): Set the variable, and give a warning if
13222 running under "emacs -q".
13223
a1e65d42
JB
132242011-07-11 Juanma Barranquero <lekktu@gmail.com>
13225
13226 * loadhist.el (unload-feature-special-hooks):
13227 Add `auto-coding-functions', `fill-nobreak-predicate' and
13228 `find-directory-functions' (bug#5327).
13229
1d52da10
LMI
132302011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
13231
be958f1d
LMI
13232 * vc/ediff.el (ediff-patch-file): Clarify doc string (bug#3138).
13233
5bedb26c
LMI
13234 * cus-edit.el (custom-guess-name-alist): -alist variables should
13235 use the `alist' type (bug#3120). Suggested by Drew Adams.
13236
1d52da10
LMI
13237 * printing.el: Add documentation to all the `pr-toggle-' commands.
13238
cd394be1 132392011-07-11 Leo Liu <sdl.web@gmail.com>
481a51b6
LL
13240
13241 * files.el (toggle-read-only): Only do the `C-x C-q' warning on VC
13242 backends where it makes sense (bug#2623).
13243
dcc88d8a
LMI
132442011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
13245
c3de9feb
LMI
13246 * dired-x.el (dired-guess-default): Remove duplicate shell command
13247 entries (bug#2028).
8a93078b 13248 (dired-guess-default): Fix grammar in doc string (bug#2028).
eea84fe5 13249 (dired-guess-shell-alist-user): Clarify the example a bit (bug#2030).
c3de9feb 13250
dcc88d8a
LMI
13251 * subr.el (remove-duplicates): New conveniency function.
13252
505e3645
LMI
132532011-07-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
13254
13255 * tool-bar.el (tool-bar-mode): Clarify positive/negative arguments
13256 (bug#1526).
13257
132582011-07-10 Martin Rudalics <rudalics@gmx.at>
13259
13260 * window.el (display-buffer-normalize-default): Don't invert
13261 meaning of even-window-heights. Reported by Eli Zaretskii
13262 <eliz@gnu.org>.
13263
455e4fa1
BR
132642011-07-10 Bob Rogers <rogers@rgrjr.dyndns.org>
13265
13266 * vc/vc.el (vc-diff-internal): Fix race condition (Bug#1256).
13267
8e0bc3e9
CY
132682011-07-10 Chong Yidong <cyd@stupidchicken.com>
13269
13270 * window.el (display-buffer): Fix arguments to
13271 display-buffer-reuse-window in last change.
13272
fa7c3228
CY
13273 * faces.el (link): Use a less saturated blue on light backgrounds.
13274
13275 * startup.el (fancy-startup-text, fancy-about-text)
13276 (fancy-startup-tail): Use font-lock faces, for background safety.
13277
c0a7f300
BN
132782011-07-09 Bob Nnamtrop <bobnnamtrop@gmail.com> (tiny change)
13279
b796c9b7
SM
13280 * emulation/viper-cmd.el (viper-change-state-to-vi):
13281 Limit triggering of abbrev expansion (Bug#9038).
c0a7f300 13282
4dc2a129
MR
132832011-07-09 Martin Rudalics <rudalics@gmx.at>
13284
13285 * window.el (display-buffer-default-specifiers): Remove.
13286 (display-buffer-macro-specifiers): Remove default specifiers.
13287 (display-buffer-alist): Default to nil.
b796c9b7 13288 (display-buffer-reuse-window): New optional argument other-window.
4dc2a129
MR
13289 (display-buffer-pop-up-window): Allow splitting internal
13290 windows. Check whether a live window was created.
13291 (display-buffer-other-window-means-other-frame)
13292 (display-buffer-normalize-arguments): Rename to
13293 display-buffer-normalize-argument and rewrite. Set the
13294 other-window specifier.
13295 (display-buffer-normalize-special): New function.
13296 (display-buffer-normalize-options): Rename to
13297 display-buffer-normalize-default and rewrite.
13298 (display-buffer-normalize-options-inhibit): Remove.
13299 (display-buffer-normalize-specifiers): Rewrite.
13300 (display-buffer): Process other-window specifier and call
13301 display-buffer-reuse-window with it. Emulate Emacs 23 behavior
13302 more faithfully.
b796c9b7 13303 (pop-up-windows, even-window-heights): Restore Emacs 23 default values.
4dc2a129 13304 (display-buffer-alist-set): Don't handle 'unset default values.
b796c9b7
SM
13305 (display-buffer-in-window, display-buffer-alist-set):
13306 Replace symbol "dedicated" by "dedicate". Reported by Tassilo Horn
4dc2a129
MR
13307 <tassilo@member.fsf.org>.
13308
2d43b8c9
LL
133092011-07-09 Leo Liu <sdl.web@gmail.com>
13310
13311 * register.el (insert-register): Restore accidental change on
13312 2011-06-26. (Bug#9028)
13313
7f9b7c53
GM
133142011-07-09 Glenn Morris <rgm@gnu.org>
13315
13316 * subr.el (remq): Handle the empty list. (Bug#9024)
13317
f042cfd8
AS
133182011-07-08 Andreas Schwab <schwab@linux-m68k.org>
13319
13320 * mail/sendmail.el (send-mail-function): No longer delay custom
13321 initialization.
13322 * custom.el (custom-initialize-delay): Doc fix.
13323
856b2f11
SM
133242011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
13325
13326 * abbrev.el (expand-abbrev): Try to preserve point (bug#5805).
13327
afae1d68
MA
133282011-07-08 Michael Albinus <michael.albinus@gmx.de>
13329
13330 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use a
13331 human-friendly prompt.
13332
0757af94
SM
133332011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
13334
13335 * vc/vc-bzr.el (vc-bzr-revision-keywords): Remove svn, it's only
13336 provided by a particular plugin.
13337
d760b731
LMI
133382011-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
13339
13340 * mail/sendmail.el (sendmail-query-once): If we aren't allowed to
13341 save customizations (with "emacs -Q"), just set the variable
13342 instead of erroring out.
13343
13344 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
13345
cd79ce90
JL
133462011-07-08 Juri Linkov <juri@jurta.org>
13347
13348 * arc-mode.el (archive-zip-expunge, archive-zip-update)
13349 (archive-zip-update-case): Use 7z if found by `executable-find'.
13350 The order of searching the available programs is the same as in
13351 `archive-zip-extract' (bug#8968).
13352
14cc04aa
CY
133532011-07-07 Chong Yidong <cyd@stupidchicken.com>
13354
13355 * menu-bar.el (menu-bar-line-wrapping-menu): Revert last change.
13356 (menu-bar-options-menu): Tweak descriptions.
13357
0a1848ec
LMI
133582011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
13359
13360 * menu-bar.el (menu-bar-line-wrapping-menu): Make all the Options
13361 menu items into verb phrases (bug#1421). Also refill to fit under
13362 80 columns.
13363
f5bd0689
CY
133642011-07-07 Chong Yidong <cyd@stupidchicken.com>
13365
538e85c6
CY
13366 * info.el (info, Info-read-node-name-2, Info-read-node-name-1)
13367 (Info-read-node-name): Doc fix (Bug#1084).
13368
f5bd0689
CY
13369 * thingatpt.el (forward-thing, bounds-of-thing-at-point)
13370 (thing-at-point, beginning-of-thing, end-of-thing, in-string-p)
13371 (end-of-sexp, beginning-of-sexp)
13372 (thing-at-point-bounds-of-list-at-point, forward-whitespace)
13373 (forward-symbol, forward-same-syntax, word-at-point)
13374 (sentence-at-point): Doc fix (Bug#1144).
13375
56ec5115
LMI
133762011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
13377
f3f8e37f
LMI
13378 * info.el (Info-mode-map): Remove S-TAB binding, since [backtab]
13379 should cover it (bug#1281).
13380
0757af94 13381 * cus-edit.el (custom-show): Mark as obsolete.
af0905c8 13382
e9fce1ac 13383 * net/network-stream.el (network-stream-open-starttls): If GnuTLS
12b9eb35
LMI
13384 negotiation fails, then possibly try again with a non-encrypted
13385 connection (bug#9017).
13386
56ec5115
LMI
13387 * mail/smtpmail.el (smtpmail-stream-type): Note that `plain' can
13388 be used.
13389
c2f9aec8
RS
133902011-07-07 Richard Stallman <rms@gnu.org>
13391
13392 * mail/rmail.el (rmail-next-error-move): Use `compilation-message'
13393 property, and handle its changed format.
13394 Look for the correct line number.
13395 Use file's line contents (but not past first =) to find
13396 correct line in message.
13397
ef7b981d 133982011-07-07 Kenichi Handa <handa@m17n.org>
c805dec0
KH
13399
13400 * international/characters.el (build-unicode-category-table):
13401 Delete it.
0757af94 13402 (unicode-category-table): Set it by unicode-property-table-internal.
c805dec0 13403
0757af94 13404 * international/mule-cmds.el (char-code-property-alist): Move to
c805dec0
KH
13405 to src/chartab.c.
13406 (get-char-code-property): Call unicode-property-table-internal to
13407 load a file. Call get-unicode-property-internal where necessary.
13408 (put-char-code-property): Call unicode-property-table-internal to
13409 load a file. Call put-unicode-property-internal where necessary.
13410 put-unicode-property-internal where necessary.
0757af94
SM
13411 (char-code-property-description):
13412 Call unicode-property-table-internal to load a file.
c805dec0
KH
13413
13414 * international/charprop.el:
13415 * international/uni-bidi.el:
13416 * international/uni-category.el:
13417 * international/uni-combining.el:
13418 * international/uni-comment.el:
13419 * international/uni-decimal.el:
13420 * international/uni-decomposition.el:
13421 * international/uni-digit.el:
13422 * international/uni-lowercase.el:
13423 * international/uni-mirrored.el:
13424 * international/uni-name.el:
13425 * international/uni-numeric.el:
13426 * international/uni-old-name.el:
13427 * international/uni-titlecase.el:
13428 * international/uni-uppercase.el: Regenerate.
13429
13430 * loadup.el: Load international/charprop.el before
13431 international/characters.
13432
e14b388a
CY
134332011-07-07 Chong Yidong <cyd@stupidchicken.com>
13434
13435 * window.el (next-buffer, previous-buffer): Signal an error if
13436 called from a minibuffer window.
13437
13438 * bindings.el: Revert 2011-07-04 change.
13439
354cf0ba
RS
134402011-07-06 Richard Stallman <rms@gnu.org>
13441
13442 * mail/rmailmm.el (rmail-mime-process): Use markers for buf positions.
13443 (rmail-mime-insert-bulk, rmail-mime-insert-text):
13444 Treat markers like ints.
13445 (rmail-mime-entity): Doc fix.
13446
a48868a7
LMI
134472011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
13448
4906cd3d
LMI
13449 * mail/smtpmail.el (smtpmail-default-smtp-server): Made into a
13450 defcustom again for backwards compatibility.
13451
e0457abe
LMI
13452 * simple.el (shell-command-on-region): Fill.
13453
d67f7e1f
LMI
13454 * dired-aux.el (dired-kill-line): Add a doc string.
13455
fe204702
LMI
13456 * dabbrev.el (dabbrev-abbrev-char-regexp): Note that nil defaults
13457 to "\\sw\\|\\s_" (bug#358).
13458
a48868a7
LMI
13459 * dired.el (dired-mode): Clarify "unmark or unflag" (bug#8770).
13460 (dired-unmark-backward): Ditto.
13461 (dired-flag-backup-files): Ditto.
13462
13463 * dired-x.el (dired-mark-sexp): Ditto.
13464
aa8a705c
RS
134652011-07-06 Richard Stallman <rms@gnu.org>
13466
13467 * mail/rmailmm.el: Give entity a new slot, TRUNCATED.
13468 (rmail-mime-entity): New arg TRUNCATED.
13469 (rmail-mime-entity-truncated, rmail-mime-entity-set-truncated):
13470 New functions.
13471 (rmail-mime-save): Warn if entity is truncated.
13472 (rmail-mime-toggle-hidden): Likewise, for showing.
13473 (rmail-mime-process-multipart): Record when an entity is truncated.
13474
a9a936b9
RS
13475 * mail/rmailmm.el (rmail-search-mime-message): Don't get confused
13476 if ENTITY is a string.
13477
1f2b92cb
LMI
134782011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
13479
f4f73198 13480 * emacs-lisp/lisp-mode.el (eval-defun-1): Update the documentation
0757af94
SM
13481 of faces when `M-C-x'-ing their definitions (bug#8378).
13482 Also clean up the code slightly.
f4f73198 13483
12b16734 13484 * progmodes/grep.el (rgrep): Don't bind `process-connection-type',
da6062e6 13485 because that makes the colors go away.
12b16734 13486
f0691d22
LMI
13487 * mail/sendmail.el (send-mail-function): Change the default to
13488 `sendmail-query-once'.
9e87df06 13489 (sendmail-query-once): Add an autoload cookie.
f0691d22 13490
1f2b92cb
LMI
13491 * net/network-stream.el (network-stream-open-starttls): Try using
13492 a plain connection even if the server offered STARTTLS, and we
13493 kinda wanted to use it, if Emacs doesn't have any STARTTLS
13494 capability. This should make smtpmail.el work in slightly more
13495 configurations.
13496
1cdd2a1b
MA
134972011-07-06 Michael Albinus <michael.albinus@gmx.de>
13498
13499 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
13500 New defun.
13501 * net/tramp-cmds.el (tramp-append-tramp-buffers): Use it.
13502
fbcc67e2
MM
135032011-07-06 Michael R. Mauger <mmaug@yahoo.com>
13504
13505 * progmodes/sql.el: Version 3.0
0757af94 13506 (sql-product-alist): Add product :completion-object,
fbcc67e2 13507 :completion-column, and :statement attributes.
0757af94 13508 (sql-mode-menu, sql-interactive-mode-map): Fix List entries.
fbcc67e2 13509 (sql-mode-syntax-table): Mark all punctuation.
0757af94 13510 (sql-font-lock-keywords-builder): Temporarily remove fallback on
fbcc67e2
MM
13511 ansi keywords.
13512 (sql-regexp-abbrev, sql-regexp-abbrev-list): New functions.
0757af94 13513 (sql-mode-oracle-font-lock-keywords): Improve.
fbcc67e2
MM
13514 (sql-oracle-show-reserved-words): New function for development.
13515 (sql-product-font-lock): Simplify for source code buffers.
13516 (sql-product-syntax-table, sql-product-font-lock-syntax-alist):
13517 New functions.
13518 (sql-highlight-product): Set product specific syntax table.
0757af94
SM
13519 (sql-mode-map): Add statement movement functions.
13520 (sql-ansi-statement-starters, sql-oracle-statement-starters):
13521 New variable.
fbcc67e2
MM
13522 (sql-statement-regexp, sql-beginning-of-statement)
13523 (sql-end-of-statement, sql-signum): New functions.
0757af94 13524 (sql-buffer-live-p, sql=find-sqli-buffer): Add CONNECTION parameter.
fbcc67e2
MM
13525 (sql-show-sqli-buffer): Bug fix.
13526 (sql-interactive-mode): Store connection data as buffer local.
0757af94 13527 (sql-connect): Add NEW-NAME parameter. Redesign interaction
fbcc67e2
MM
13528 with sql-interactive-mode.
13529 (sql-save-connection): Save buffer local settings.
0757af94 13530 (sql-connection-menu-filter): Change menu entry name.
fbcc67e2
MM
13531 (sql-product-interactive): Bug fix.
13532 (sql-preoutput-hold): New variable.
13533 (sql-interactive-remove-continuation-prompt): Bug fixes.
13534 (sql-debug-redirect): New variable.
13535 (sql-str-literal): New function.
13536 (sql-redirect, sql-redirect-one, sql-redirect-value, sql-execute):
0757af94 13537 Redesign.
fbcc67e2
MM
13538 (sql-oracle-save-settings, sql-oracle-restore-settings)
13539 (sql-oracle-list-all, sql-oracle-list-table): New functions.
13540 (sql-completion-object, sql-completion-column)
13541 (sql-completion-sqlbuf): New variables.
13542 (sql-build-completions-1, sql-build-completions)
13543 (sql-try-completion): New functions.
13544 (sql-read-table-name): Use them.
13545 (sql-contains-names): New buffer local variable.
13546 (sql-list-all, sql-list-table): Use it.
13547 (sql-oracle-completion-types): New variable.
13548 (sql-oracle-completion-object, sql-sqlite-completion-object)
13549 (sql-postgres-completion-object): New functions.
13550
d4eaeab1
GM
135512011-07-06 Glenn Morris <rgm@gnu.org>
13552
13553 * window.el (pop-to-buffer): Doc fix.
13554
322b7dab 135552011-07-06 Markus Heiser <markus.heiser@darmarit.de> (tiny change)
a1d3a912
CY
13556
13557 * progmodes/gud.el (gud-pdb-marker-regexp): Accept \r char (Bug#5653).
13558
322b7dab 135592011-07-06 Chong Yidong <cyd@stupidchicken.com>
0484d600 13560
322b7dab 13561 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
4f8f657f 13562
322b7dab 13563 * info.el (Info-directory-toc-nodes): Minor doc fix (Bug#8833).
8f43cbf3 13564
605dd5bf
CY
135652011-07-05 Chong Yidong <cyd@stupidchicken.com>
13566
13567 * button.el (button): Inherit from link face. Suggested by Dan
13568 Nicolaescu.
13569
7dbfa719
SM
135702011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
13571
3db614b0
SM
13572 * progmodes/gdb-mi.el: Fit in 80 columns.
13573 (gdb-setup-windows, gdb-restore-windows): Avoid other-window and
13574 switch-to-buffer.
13575
7dbfa719
SM
13576 * progmodes/which-func.el (which-func-ff-hook): Don't output a message
13577 if imenu is simply not configured (bug#8941).
13578
919d884a
KM
135792011-07-05 Ken Manheimer <ken.manheimer@gmail.com>
13580
13581 * allout.el (allout-post-undo-hook): New allout outline-change
13582 event hook to signal undo activity.
13583 (allout-post-command-business): Run allout-post-undo-hook if an
13584 undo just occurred.
7dbfa719
SM
13585 (allout-after-copy-or-kill-hook, allout-mode): Minor docstring changes.
13586 * allout-widgets.el (allout-widgets-after-undo-function):
13587 Ensure the integrity of the current item's decoration after it has been
919d884a
KM
13588 in the vicinity of an undo.
13589 (allout-widgets-mode): Include allout-widgets-after-undo-function
13590 on the new allout-post-undo-hook.
13591
450a0f09
SM
135922011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
13593
13594 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-abbrev-table):
13595 Let define-derived-mode define it.
13596 * emacs-lisp/derived.el (define-derived-mode): Try to avoid creating
13597 cycles of abbrev-table inheritance (bug#8998).
13598
2de69e00
RW
135992011-07-05 Roland Winkler <winkler@gnu.org>
13600
13601 * textmodes/bibtex.el: Add support for biblatex.
13602 (bibtex-BibTeX-entry-alist, bibtex-biblatex-entry-alist)
13603 (bibtex-BibTeX-field-alist, bibtex-biblatex-field-alist)
13604 (bibtex-dialect-list, bibtex-dialect, bibtex-no-opt-remove-re)
13605 (bibtex-entry-alist, bibtex-field-alist): New variables.
13606 (bibtex-entry-field-alist): Obsolete alias for
13607 bibtex-BibTeX-entry-alist.
13608 (bibtex-entry-alist, bibtex-field-alist): New widgets.
13609 (bibtex-set-dialect): New command.
13610 (bibtex-entry-type, bibtex-entry-head)
450a0f09
SM
13611 (bibtex-entry-maybe-empty-head, bibtex-any-valid-entry-type):
13612 Bind via bibtex-set-dialect.
2de69e00
RW
13613 (bibtex-Article, bibtex-Book, bibtex-Booklet, bibtex-InBook)
13614 (bibtex-InCollection, bibtex-InProceedings, bibtex-Manual)
13615 (bibtex-MastersThesis, bibtex-Misc, bibtex-PhdThesis)
13616 (bibtex-Proceedings, bibtex-TechReport, bibtex-Unpublished):
13617 Define via bibtex-set-dialect.
450a0f09
SM
13618 (bibtex-name-in-field, bibtex-remove-OPT-or-ALT):
13619 Obey bibtex-no-opt-remove-re.
2de69e00
RW
13620 (bibtex-vec-push, bibtex-vec-incr): New functions.
13621 (bibtex-format-entry, bibtex-field-list)
13622 (bibtex-print-help-message, bibtex-validate)
13623 (bibtex-search-entries): Use new format of bibtex-entry-alist.
13624
2dcdbdd9
SM
136252011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
13626
13627 * progmodes/compile.el (compilation-goto-locus):
13628 * net/tramp-cmds.el (tramp-append-tramp-buffers):
13629 * bs.el (bs-cycle-next, bs-cycle-previous):
13630 * bookmark.el (bookmark-bmenu-list, bookmark-bmenu-2-window):
13631 * bindings.el (mode-line-other-buffer):
13632 * autoinsert.el (auto-insert):
13633 * arc-mode.el (archive-extract):
13634 * abbrev.el (edit-abbrevs): Fix some uses of switch-to-buffer.
13635
b27640fe
JB
136362011-07-05 Juanma Barranquero <lekktu@gmail.com>
13637
13638 * emacs-lock.el (emacs-lock-mode): Fix typo in variable name.
13639 Fix check of `emacs-lock-unlockable-modes'.
13640 Coerce true values of `emacs-lock--try-unlocking' to t.
13641
53bbe3ad
JB
136422011-07-05 Juanma Barranquero <lekktu@gmail.com>
13643
13644 * obsolete/old-emacs-lock.el: Rename from emacs-lock.el.
13645 * emacs-lock.el: New file.
13646
1d3cdbc7
JD
136472011-07-05 Julien Danjou <julien@danjou.info>
13648
13649 * textmodes/rst.el (rst-define-level-faces): Use `facep' rather
13650 than `boundp' to check if face is set.
13651
9173deec
JB
136522011-07-05 Juanma Barranquero <lekktu@gmail.com>
13653
13654 * register.el (registerv-make):
13655 * window.el (window-min-height): Fix typos in docstrings.
13656
869795d6
JD
136572011-07-05 Jan Djärv <jan.h.d@swipnet.se>
13658
9173deec 13659 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
869795d6
JD
13660 Update doc string.
13661
b768cdcd
JB
136622011-07-04 Juanma Barranquero <lekktu@gmail.com>
13663
13664 * server.el (server-execute): Catch quit and call
13665 `server-return-error' to pass the error back to emacsclient and
13666 close the connection (bug#8942).
13667
13aa217b
KM
136682011-07-04 Ken Manheimer <ken.manheimer@gmail.com>
13669
13670 * allout.el (allout-encrypt-unencrypted-on-saves): Do not provide
13671 insecure exception for current topic. Also note that auto-saves
13672 are handled differently.
13673
5d3385a0 13674 (allout-auto-save-temporarily-disabled, allout-just-did-undo):
13aa217b
KM
13675 State variables for tracking auto-save inhibition situation.
13676
13677 (allout-write-contents-hook-handler): Rename from
13678 'allout-write-file-hook-handler', and describe how it depends on
13679 write-contents-functions sensitivity to non-nil value to prevent
13680 file write.
13681
13682 (allout-auto-save-hook-handler): Remove. auto-save does not check
13683 this in individual buffers, only in the starting buffer, so this
13684 is not the right way for us to inhibit auto-save in a buffer
13685 according to its condition.
13686
13687 (allout-mode): Use new allout-write-contents-hook-handler, and
13688 only with write-contents-functions. Remove auto-save provisions -
13689 they're implemented elsewhere.
13690
13691 (allout-before-change-handler): If undo is in progress, note that
13692 for attention of allout-post-command-business.
13693
13694 (allout-post-command-business): If the command we're following was
13695 an undo, check for change in the status of encrypted items and
13696 adjust auto-save inhibitions accordingly.
13697
13698 (allout-toggle-subtree-encryption): Adjust auto-save inhibition
13699 according to whether there are or aren't any plain-text topics
13700 pending encryption.
13701
2dcdbdd9 13702 (allout-inhibit-auto-save-info-for-decryption):
1154d12e
JB
13703 Adjust buffer-saved-size and some allout state to inhibit auto-saves
13704 if there are plain-text topics pending encryption.
13aa217b
KM
13705
13706 (allout-maybe-resume-auto-save-info-after-encryption): Adjust
13707 buffer-saved-size and some allout state to not inhibit auto-saves
13708 if there are no longer any plain-text topics pending encryption.
13709
0757af94
SM
13710 (allout-next-topic-pending-encryption, allout-encrypt-decrypted):
13711 No longer provide for exemption of the current topic.
13aa217b 13712
ac89b32c
JL
137132011-07-04 Juri Linkov <juri@jurta.org>
13714
13715 Add 7z operations to delete and save changed members (bug#8968).
13716 * arc-mode.el (archive-7z-expunge, archive-7z-update):
13717 New defcustoms.
13718 (archive-7z-write-file-member): New function.
13719 (archive-7z-summarize): Fix the number of dashes in the
13720 listing output.
13721
8fa39615
SM
137222011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
13723
13724 * pcmpl-linux.el (pcomplete-pare-list): Re-add, from pcomplete.el
13725 (bug#8958).
13726
2f11b3f1
CY
137272011-07-04 Chong Yidong <cyd@stupidchicken.com>
13728
d66fef2b
CY
13729 * bindings.el: Ignore next-buffer and previous-buffer in
13730 minibuffer-local-map.
13731
2f11b3f1
CY
13732 * font-lock.el (font-lock-builtin-face): Change light background
13733 color to dark slate blue (Bug#6693).
13734
f932a347
WD
137352011-07-04 Wang Diancheng <dcwang@kingbase.com.cn> (tiny change)
13736
13737 * progmodes/gdb-mi.el (gdb): Use completion-at-point.
13738
c8af70e1
SM
137392011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
13740
13741 * files.el (find-file): Use pop-to-buffer-same-window (bug#8911).
13742 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
13743 Add switch-to-buffer.
13744
f158badc
LMI
137452011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
13746
13747 * isearch.el (isearch-search-fun-function): Clarify further the
13748 meaning of the function returned.
13749
6d95bd46
MA
137502011-07-04 Michael Albinus <michael.albinus@gmx.de>
13751
13752 * net/tramp-cmds.el (tramp-cleanup-this-connection): New command.
13753
13754 * net/tramp-sh.el (tramp-color-escape-sequence-regexp): New defconst.
13755 (tramp-sh-handle-insert-directory, tramp-convert-file-attributes):
13756 Use it.
13757 (tramp-remote-path): Add "/bin" and "/usr/bin". On busyboxes,
13758 `tramp-default-remote-path' does not exist.
13759 (tramp-send-command-and-read): New optional argument NOERROR.
13760 (tramp-open-connection-setup-interactive-shell)
13761 (tramp-get-remote-path, tramp-get-remote-stat): Use it.
13762 (tramp-get-remote-readlink): Do not mask with `ignore-errors'.
13763 (tramp-process-sentinel): Flush also process' connection property.
13764 (tramp-sh-handle-start-file-process): Do not set process
13765 sentinel. It is done now ...
13766 (tramp-maybe-open-connection): ... here. (Bug#8929)
13767
909e6b67
MK
137682011-07-04 MON KEY <monkey@sandpframing.com>
13769
13770 * play/animate.el (animate-string): Doc fixes and allow changing
13771 the buffer name (bug#5417).
13772
137732011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
13774
c8af70e1 13775 * play/animate.el (animation-buffer-name): Rename from *animate*.
909e6b67 13776
f34755dc
PE
137772011-07-04 Paul Eggert <eggert@cs.ucla.edu>
13778
396cec72
PE
13779 * emacs-lisp/timer.el: Use time-date fns rather than rolling our own.
13780 This is simpler and helps future-proof the code.
13781 (timer-until): Use time-subtract and float-time.
08235028 13782 (timer--time-less-p): Use time-less-p.
f34755dc 13783
56e6cc31
JB
137842011-07-04 Juanma Barranquero <lekktu@gmail.com>
13785
3abb79e5
JB
13786 * type-break.el (timep): Use the value of `float-time' to avoid a
13787 byte-compiler warning.
13788
56e6cc31
JB
13789 * server.el (server-eval-and-print): Return any result, even nil.
13790
7b9430b4
PE
137912011-07-03 Paul Eggert <eggert@cs.ucla.edu>
13792
13793 * type-break.el: Accept time formats that the builtins accept.
13794 (timep, type-break-time-difference): Accept any format that
13795 float-time accepts, rather than insisting on (HIGH LOW USECS) format.
13796 This is simpler and helps future-proof the code.
13797 (type-break-time-difference): Round rather than ignoring
13798 subseconds components.
13799
3034e9e7
LMI
138002011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
13801
13802 * info.el (Info-apropos-matches): Make non-interactive, since it
13803 doesn't seem to do anything useful as a command (bug#8829).
13804
1485f4c0
CY
138052011-07-03 Chong Yidong <cyd@stupidchicken.com>
13806
13807 * frame.el (frame-background-mode, frame-set-background-mode):
c8af70e1 13808 Move from faces.el.
1485f4c0
CY
13809 (frame-default-terminal-background): New function.
13810
13811 * custom.el (custom-push-theme): Don't record faces in `changed'
13812 theme; this doesn't work correctly for per-frame face settings.
13813 (disable-theme): Use face-set-after-frame-default to reset faces.
13814 (custom--frame-color-default): New function.
13815
9fa3dd45
LMI
138162011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
13817
c8af70e1 13818 * dired.el (dired-flagging-regexp): Remove unused variable
9fa3dd45
LMI
13819 (bug#8769).
13820
6cbbc20c
KR
138212011-03-29 Kevin Ryde <user42@zip.com.au>
13822
13823 * progmodes/compile.el (compilation-error-regexp-alist-alist):
13824 `perl-Test2' extend to match possible "fail #N" rep count
13825 (bug#8377).
13826
c7f98048
LMI
138272011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
13828
65676592
LMI
13829 * mail/feedmail.el (feedmail-buffer-to-smtpmail):
13830 `smtpmail-via-smtp' now returns the error instead of nil.
13831
c7f98048
LMI
13832 * isearch.el (isearch-search-fun-function): Clarify the doc string
13833 (bug#8101).
13834
56e6cc31 138352011-07-03 Richard Kim <emacs18@gmail.com> (tiny change)
9a51c6c7
RK
13836
13837 * textmodes/texnfo-upd.el (texinfo-insert-menu): Don't insert
13838 unnecessary spaces (bug#8987).
13839
2b216704
LMI
138402011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
13841
13842 * net/network-stream.el (open-network-stream): Use the
13843 :end-of-capability command thoughout.
13844
138452011-07-03 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
13846
13847 * net/network-stream.el (open-network-stream): Add the
13848 :end-of-capability command parameter, used by pop3.el.
13849
36adf6ce
LMI
138502011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
13851
1ca0da0e
LMI
13852 * dired.el (dired-map-over-marks): Refill the doc string (bug#6814).
13853
fc00f69c
LMI
13854 * fringe.el (fringe-query-style): Remove redundant text " (type ?
13855 for list)" (bug#6475).
13856
28fd8759 13857 * files.el (file-expand-wildcards): Ignore non-readable
8350f087 13858 sub-directories while trying to find matches instead of signaling
28fd8759
LMI
13859 an error (bug#6297).
13860
0dd8b6da
LMI
13861 * man.el (Man-reference-regexp): Allow matching possible
13862 word-wrapped references (bug#6289).
13863
ce1438d6
LMI
13864 * vc/vc.el (vc-modify-change-comment): Change *VC-log* to *vc-log*
13865 for consistency with the other vc buffers (bug#6197).
13866 (vc-checkin): Ditto.
13867
13868 * vc/vc-arch.el: Fix comments to match the *VC-log* name change.
13869
36adf6ce
LMI
13870 * longlines.el (longlines-mode): Document what ARG does (bug#6150).
13871
e83cc1f7
LMI
138722011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
13873
8a20ca4c
LMI
13874 * custom.el (defcustom): Clarify that :set is only used in the
13875 Customize user interface (bug#6089).
13876
83319045
LMI
13877 * progmodes/flymake.el (flymake-mode): If the buffer isn't
13878 associated with a file, refuse to run instead of erroring out
13879 (bug#6084).
13880
a8392169
LMI
13881 * textmodes/fill.el (fill-region): Remove the "Ordinarily" from
13882 the doc string, since it appears that using `fill-column' always
13883 controls the width (bug#7845).
13884
e83cc1f7
LMI
13885 * simple.el (shell-command-on-region): Say where the error output
13886 went if `shell-command-default-error-buffer' is set (bug#6857).
13887
e47ca23b
KM
138882011-07-02 Ken Manheimer <ken.manheimer@gmail.com>
13889
13890 * allout.el (allout-yank-processing): Adjust cursor position for
13891 backwards-deleted space.
13892
13893 (allout-rebullet-heading): Register changes with
13894 allout-exposure-changed-hook, so the modified topic is properly
13895 decorated.
13896
5cf56143
LMI
138972011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
13898
08549772
LMI
13899 * minibuffer.el (completion-in-region): Document PREDICATE
13900 (bug#7136).
13901
48e96771
LMI
13902 * info-look.el (info-lookup-add-help): Clarify that ARGS is a list
13903 of keyword/argument pairs (bug#6904).
13904
c8af70e1
SM
13905 * replace.el (multi-occur):
13906 Mention `multi-occur-in-matching-buffers' in the doc string (bug#7566).
5cf56143 13907
e17d05e2
LMI
139082011-07-02 Drew Adams <drew.adams@oracle.com>
13909
13910 * dired.el (dired-mark-if): Make the message about whether it's
13911 marking or unmarking clearer (bug#8523).
13912
063b0e45
LMI
139132011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
13914
13915 * disp-table.el (display-table-print-array): New function.
13916 (describe-display-table): Use it to print the vectors more pretty
13917 (Bug#8859).
13918
28545e04
MR
139192011-07-02 Martin Rudalics <rudalics@gmx.at>
13920
13921 * window.el (window-state-get-1): Don't assign clone numbers.
13922 Add clone-of item to list of window parameters.
13923 (window-state-put-2): Don't process clone numbers.
13924 (display-buffer-alist): Fix doc-string.
13925
3349e122
SM
139262011-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
13927
13928 * subr.el (remq): Don't allocate if it's not needed.
13929 (keymap--menu-item-binding, keymap--menu-item-with-binding)
13930 (keymap--merge-bindings): New functions.
13931 (keymap-canonicalize): Use them to refine the canonicalization.
13932 * minibuffer.el (minibuffer-local-completion-map)
13933 (minibuffer-local-must-match-map): Move initialization from C.
13934 (minibuffer-local-filename-completion-map): Move initialization from C;
13935 don't inherit from anything here.
13936 (minibuffer-local-filename-must-match-map): Make obsolete.
13937 (completing-read-default): Use make-composed-keymap to combine
13938 minibuffer-local-filename-completion-map with either
13939 minibuffer-local-must-match-map or
13940 minibuffer-local-filename-completion-map.
13941
d224ac83
GM
139422011-07-01 Glenn Morris <rgm@gnu.org>
13943
3de63bf8
GM
13944 * type-break.el (type-break-time-sum): Use dolist.
13945
d224ac83
GM
13946 * textmodes/flyspell.el (flyspell-word-search-backward):
13947 Replace CL function.
13948
1a1e3f32
SM
139492011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
13950
fe3f64d5
SM
13951 * mouse.el (mouse--strip-first-event): New function.
13952 (function-key-map): Use it to map fringe clicks to normal clicks
13953 by default.
13954
eb604e34
SM
13955 * vc/vc-bzr.el (vc-bzr-revision-keywords): Update.
13956 (vc-bzr-revision-completion-table): Add support for annotate and date.
13957
1a1e3f32
SM
13958 * emacs-lisp/derived.el (define-derived-mode): Make abbrev-table
13959 inherit from parent.
13960
5bd35902
LMI
139612011-07-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
13962
ace6c69c 13963 * dired-aux.el (dired-diff): Doc fixup (bug#8816).
26bde865 13964 (dired-show-file-type): Doc fixup (bug#8818).
ace6c69c 13965
191e2bed
LMI
13966 * dired.el (dired-mode): Fix up the doc string as suggested by
13967 Drew Adams (bug#8817).
13968
5bd35902
LMI
13969 * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
13970 cookie, since the manual says that it should be possible to add
13971 this function to `find-file-hook' (bug#8709).
13972
eee8207a
TZ
139732011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
13974
13975 * progmodes/cfengine.el: Moved all cfengine3.el functionality
13976 here. Noted Ted Zlatanov as the maintainer.
13977 (cfengine-common-settings, cfengine-common-syntax): New functions
13978 to set up common things between `cfengine-mode' and
13979 `cfengine3-mode'.
13980 (cfengine3-mode): New mode.
13981 (cfengine3-defuns cfengine3-defuns-regex
13982 (cfengine3-class-selector-regex cfengine3-category-regex)
13983 (cfengine3-vartypes cfengine3-font-lock-keywords)
13984 (cfengine3-beginning-of-defun, cfengine3-end-of-defun)
eb604e34 13985 (cfengine3-indent-line): Add from cfengine3.el.
eee8207a 13986
36b148cf
MA
139872011-07-01 Michael Albinus <michael.albinus@gmx.de>
13988
13989 * net/tramp.el (tramp-encoding-command-interactive): New defcustom.
13990
13991 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
13992
0bf4ba9a
MR
139932011-07-01 Martin Rudalics <rudalics@gmx.at>
13994
13995 * window.el (same-window-buffer-names, same-window-regexps)
13996 (same-window-p, special-display-frame-alist)
13997 (special-display-popup-frame, special-display-function)
13998 (special-display-buffer-names, special-display-regexps)
13999 (special-display-p, pop-up-frame-alist, pop-up-frame-function)
14000 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
14001 (split-window-preferred-function, split-height-threshold)
14002 (split-width-threshold, even-window-heights)
14003 (display-buffer-mark-dedicated, window-splittable-p)
14004 (split-window-sensibly, window-safely-shrinkable-p):
14005 Un-obsolete.
14006 (display-buffer): Don't spread args with function specifier
14007 because special-display-popup-frame won't like it.
14008
35837f51
PE
140092011-07-01 Paul Eggert <eggert@cs.ucla.edu>
14010
d0672f86
PE
14011 Time-stamp simplifications and fixes.
14012 These improve accuracy slightly, and future-proof the code
14013 against some potential changes to current-time format.
14014
b9444d97
PE
14015 * woman.el (woman-decode-buffer, WoMan-log-end): Log fractional secs
14016 by using time-since and float-time.
14017
0ef923dc
PE
14018 * vc/ediff-util.el (ediff-calc-command-time): Use time-since
14019 and float-time. Say "NNN.NNN seconds" rather than "NNN seconds
14020 + NNN microseconds".
14021
2f81380d
PE
14022 * type-break.el (type-break-time-sum): Rewrite using time-add.
14023
845b5c3e
PE
14024 * play/hanoi.el (hanoi-current-time-float): Remove.
14025 All uses replaced by float-time.
14026
ee6f1be0
PE
14027 * nxml/rng-maint.el (rng-time-function): Rewrite using time-subtract.
14028 This yields a more-accurate answer.
14029 (rng-time-to-float): Remove; no longer needed.
14030
fe955043
PE
14031 * emacs-lisp/timer.el (timer-relative-time): Use time-add.
14032
5777162a
PE
14033 * calendar/timeclock.el (timeclock-seconds-to-time):
14034 Defalias to seconds-to-time, since they're the same thing.
14035
3103f8b6 14036 * emacs-lisp/elp.el (elp-elapsed-time):
e2bac5f6 14037 * emacs-lisp/benchmark.el (benchmark-elapse):
35837f51
PE
14038 * allout-widgets.el (allout-elapsed-time-seconds): Use float-time.
14039
0e61a35f
SM
140402011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
14041
14042 * window.el (bury-buffer): Don't iconify the only frame.
14043 (switch-to-buffer): Revert to Emacs<23 behavior, i.e. do not fallback
14044 to pop-to-buffer. Use pop-to-buffer-same-frame if you don't like that.
14045
ddd63a1e
CY
140462011-07-01 Chong Yidong <cyd@stupidchicken.com>
14047
0e61a35f
SM
14048 * eshell/em-smart.el (eshell-smart-display-navigate-list):
14049 Add mouse-yank-primary.
ddd63a1e 14050
055f4923
TZ
140512011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
14052
14053 * progmodes/cfengine3.el: New file to support CFEngine 3.x.
14054
6a2fb145
SM
140552011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
14056
14057 * emacs-lisp/find-func.el (find-library--load-name): New fun.
14058 (find-library-name): Use it to find relative load names when provided
14059 absolute file name (bug#8803).
14060
fd4983f2
LMI
140612011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
14062
887d14ad
LMI
14063 * textmodes/flyspell.el (flyspell-word): Consider words that
14064 differ only in case as potential doublons (bug#5687).
14065
c53dc7fc
LMI
14066 * net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
14067 Remove two rather uninteresting debugging-like messages to make
14068 debbugs.el more silent.
14069
fd4983f2
LMI
14070 * comint.el (comint-password-prompt-regexp): Accept "Response" as
14071 a password-like phrase.
14072
7a71b18d 140732011-06-30 Masatake YAMATO <yamato@redhat.com>
b14c0c55
AM
14074
14075 * progmodes/cc-guess.el: New file.
14076
6a2fb145 14077 * progmodes/cc-langs.el (c-mode-menu): Add "Style..." submenu.
b14c0c55
AM
14078
14079 * progmodes/cc-styles.el (cc-choose-style-for-mode): New function
14080 derived from `c-basic-common-init'.
14081
14082 * progmodes/cc-mode.el (top-level): Require cc-guess.
14083 (c-basic-common-init): Use `cc-choose-style-for-mode'.
14084
1fa280a3
LM
140852011-06-30 Lawrence Mitchell <wence@gmx.li>
14086
14087 * progmodes/js.el (js-mode): Don't stomp on global settings (bug#8933).
14088
e6597158
AM
140892011-06-30 Alan Mackenzie <acm@muc.de>
14090
1fa280a3
LM
14091 * progmodes/cc-engine.el (c-guess-continued-construct):
14092 Correct the handling of template-args-cont, particularly for when font
e6597158
AM
14093 lock is disabled. Name this case as "CASE G".
14094
68ba37fb
KM
140952011-06-30 Ken Manheimer <ken.manheimer@gmail.com>
14096
14097 * allout.el (allout-yank-processing): Fix injection of extra space
14098 between bullet and non-whitespace character in first topic when
14099 pasting, ensuring that the actual spacing in the pasted topic
14100 following the bullet char is preserved. This extra space was
14101 causing pasted encrypted topics to get a decrypted status even
14102 when the content was actually still encrypted. Now the decryption
14103 status from before the paste is preserved.
14104
14105 (allout-flag-region): Set all allout overlays so they evaporate
14106 when reduced to zero length (evanescent), to prevent overlay
14107 leakage.
14108
887a0b34
GM
141092011-06-30 Glenn Morris <rgm@gnu.org>
14110
94b9acce
GM
14111 * w32-fns.el (w32-charset-info-alist): Declare.
14112
1d9b46d4
GM
14113 * find-dired.el (find-grep-options): Simplify.
14114
cc232200
GM
14115 * term/ns-win.el (ns-set-resource): Declare.
14116
28e77c46
GM
14117 * ses.el (row, col): Declare dynamic variables honestly.
14118
887a0b34
GM
14119 * textmodes/reftex-parse.el (index-tags): Declare.
14120
658d8eb8
CY
141212011-06-30 Chong Yidong <cyd@stupidchicken.com>
14122
14123 * cus-edit.el (customize-push-and-save): New function.
14124
14125 * files.el (hack-local-variables-confirm): Use it.
14126
1fa280a3
LM
14127 * custom.el (load-theme): New arg NO-CONFIRM.
14128 Use customize-push-and-save (Bug#8720).
658d8eb8
CY
14129 (custom-enabled-themes): Doc fix.
14130
14131 * cus-theme.el (customize-create-theme)
14132 (custom-theme-merge-theme): Callers to load-theme changed.
14133
bb617717
LMI
141342011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
14135
d61bdd5d
LMI
14136 * thingatpt.el (thing-at-point-short-url-regexp): Require that
14137 short URLs have at least one dot in them (bug #7614).
14138
bb617717
LMI
14139 * progmodes/grep.el (rgrep): Bind `process-connection-type' to
14140 nil, because using a pty is apparently too slow (bug #895).
14141
2f31f37a
LMI
141422011-06-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
14143
14144 * mail/sendmail.el (sendmail-query-once): New function.
14145 (sendmail-query-once-function): New variable.
14146
3076b24e
GM
141472011-06-29 Glenn Morris <rgm@gnu.org>
14148
faf2a174
GM
14149 * files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.
14150
3076b24e
GM
14151 * ses.el (top-level): Require cl when compiling.
14152 (ses-set-localvars): Fix error statement.
14153 Call it at compile time to silence a storm of warnings.
14154
5386012d
MR
141552011-06-29 Martin Rudalics <rudalics@gmx.at>
14156
14157 * window.el (normalize-live-buffer): Rename to
14158 window-normalize-buffer.
14159 (normalize-live-frame): Rename to window-normalize-frame.
14160 (normalize-any-window): Rename to window-normalize-any-window.
14161 (normalize-live-window): Rename to window-normalize-live-window.
14162 (make-window-atom): Rename to window-make-atom.
14163 (window-resize-reset): Rename to window--resize-reset.
14164 (window-resize-reset-1): Rename to window--resize-reset-1.
14165 (resize-mini-window): Rename to window--resize-mini-window.
14166 (resize-subwindows-skip-p): Rename to
14167 window--resize-subwindows-skip-p.
14168 (resize-subwindows-normal): Rename to
14169 window--resize-subwindows-normal.
14170 (resize-subwindows): Rename to window--resize-subwindows.
14171 (resize-other-windows): Rename to window--resize-siblings.
14172 (resize-this-window): Rename to window--resize-this-window.
14173 (resize-root-window): Rename to window--resize-root-window.
14174 (resize-root-window-vertically): Rename to
14175 window--resize-root-window-vertically.
14176 (normalize-buffer-to-display): Rename to
14177 window-normalize-buffer-to-display.
14178 (normalize-buffer-to-switch-to): Rename to
14179 window-normalize-buffer-to-switch-to.
14180 Correspondingly update all callers of the functions listed
14181 above.
14182 (display-buffer-alist, display-buffer-normalize-arguments)
14183 (display-buffer-normalize-options, display-buffer)
14184 (display-buffer-alist-set): Use "function" instead of
14185 "fun-with-args".
14186
1176868d
CY
141872011-06-28 Chong Yidong <cyd@stupidchicken.com>
14188
14189 * mail/emacsbug.el (report-emacs-bug): Handle non-gnu bug
14190 addresses more clearly. Add hyperlinks for bug-gnu-emacs and
14191 debbugs.gnu.org. Mention acknowledgment email.
14192
20a7a65f
LMI
141932011-06-28 Lars Magne Ingebrigtsen <larsi@gnus.org>
14194
14195 * mail/smtpmail.el (smtpmail-send-it): Leave off changing the
14196 buffer multibyteness, since it shouldn't matter.
14197
5f45cca5
MR
141982011-06-28 Martin Rudalics <rudalics@gmx.at>
14199
14200 * window.el (display-buffer-in-side-window): Handle dedicated
14201 windows as in display-buffer-reuse-window.
14202 (display-buffer-normalize-alist): Use value of override
14203 specifier.
14204 (display-buffer-normalize-specifiers): Use value of
14205 other-window-means-other-frame specifier.
14206 (display-buffer-alist): Rewrite some texts in widgets.
14207 (display-buffer): Spread arguments when calling function
14208 specified by fun-with-args.
14209
ad85fe1f
DD
142102011-06-28 Deniz Dogan <deniz@dogan.se>
14211
1fa280a3
LM
14212 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
14213 Unnest `let'.
da68c4c8 14214
ad85fe1f
DD
14215 * textmodes/css-mode.el (css-font-lock-keywords): Fix grouped
14216 selectors (Bug#5732).
ec49bd31 14217 (css-proprietary-nmstart-re): Use `regexp-opt'.
ad85fe1f 14218
a08cc025
JA
142192011-06-27 Jari Aalto <jari.aalto@cante.net>
14220
14221 * eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).
14222 (eshell-ls-date-format): New defcustom.
14223 (eshell-ls-file): Use it.
14224
e2b551c5
SM
142252011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
14226
14227 * help-fns.el (describe-variable): Fix message for terminal-local vars.
14228
8982b231
KY
142292011-06-27 Katsumi Yamaoka <yamaoka@jpl.org>
14230
14231 * net/ange-ftp.el: Allow loading .gz files (Bug#6923).
14232 (ange-ftp-make-tmp-name): New arg.
14233 (ange-ftp-file-local-copy): Use it.
14234
36c9fa27
J
142352011-06-27 Jambunathan K <kjambunathan@gmail.com>
14236
14237 * tar-mode.el (tar-untar-buffer): Set coding-system-for-write to
14238 no-conversion (Bug#8870).
14239
d68443dc
MR
142402011-06-27 Martin Rudalics <rudalics@gmx.at>
14241
14242 * window.el (window-right, window-left, window-child)
14243 (window-child-count, window-last-child)
14244 (window-iso-combination-p, walk-window-tree-1)
14245 (window-atom-check-1, window-tree-1, delete-window)
14246 (window-state-get-1, display-buffer-even-window-sizes): Adapt to
14247 new naming conventions - window-vchild, window-hchild,
14248 window-next and window-prev are now called window-top-child,
14249 window-left-child, window-next-sibling and window-prev-sibling
14250 respectively.
d615d6d2
MR
14251 (resize-window-reset): Rename to window-resize-reset.
14252 (resize-window-reset-1): Rename to window-resize-reset-1.
14253 (resize-window): Rename to window-resize.
14254 (window-min-height, window-min-width)
14255 (resize-mini-window, resize-this-window, resize-root-window)
14256 (resize-root-window-vertically, adjust-window-trailing-edge)
14257 (enlarge-window, shrink-window, maximize-window)
14258 (minimize-window, delete-window, quit-restore-window)
14259 (split-window, balance-windows, balance-windows-area-adjust)
14260 (balance-windows-area, window-state-put-2)
14261 (display-buffer-even-window-sizes, display-buffer-set-height)
14262 (display-buffer-set-width, set-window-text-height)
14263 (fit-window-to-buffer): Rename all "resize-window" prefixed
14264 calls to use the "window-resize" prefix convention.
14265 (display-buffer-alist): Fix symbol for label specifier.
14266 (display-buffer-reuse-window): Set reuse-dedicated to cdr of
14267 corresponding specifier.
14268 Reported by Juanma Barranquero <lekktu@gmail.com>.
d68443dc 14269
b6458526
VB
142702011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
14271
14272 * ses.el (ses-destroy-cell-variable-range): Fix heading comment
14273 convention.
14274 (ses-call-printer): Does not pass an empty string to formatter when the
14275 cell is empty to keep from barking printer Calc math-format-value.
14276
d31fd9ac
RS
142772011-06-27 Richard Stallman <rms@gnu.org>
14278
43d5bf84
RS
14279 * battery.el (battery-mode-line-limit): New variable.
14280 (battery-update): Handle it.
14281
d31fd9ac
RS
14282 * mail/rmailmm.el (rmail-mime-process-multipart):
14283 Handle truncated messages.
14284
819a6054
GM
142852011-06-27 Glenn Morris <rgm@gnu.org>
14286
14287 * progmodes/flymake.el (flymake-err-line-patterns):
14288 Allow for column numbers in the ant/javac pattern. (Bug#8866)
14289
cedc73f2
VB
142902011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
14291
819a6054 14292 * ses.el (ses-relocate-range): Keep rest of arguments for ses-range.
cedc73f2
VB
14293 (ses--clean-!, ses--clean-_): New functions.
14294 (ses-range): Add configurability of readout order, and conversion
14295 to Calc vector.
14296
5e5d49b6
VB
14297 * ses.el (ses-repair-cell-reference-all): New function.
14298 (ses-cell-symbol): Set macro as safe, so that it can be used in
14299 formulas.
14300
56e6cc31 14301 * ses.el: Update cycle detection algorithm.
90ca8b49 14302 (ses-localvars): Add ses--Dijkstra-attempt-nb and
819a6054 14303 ses--Dijkstra-weight-bound, and initial values thereof when applicable.
90ca8b49
VB
14304 (ses-set-localvars): New function.
14305 (ses-make-cell): Add property-list as a cell element.
14306 (ses-cell-property-get-fun, ses-cell-property-get)
14307 (ses-cell-property-delq-fun, ses-cell-property-set-fun)
819a6054
GM
14308 (ses-cell-property-pop-fun, ses-cell-property-get-handle-fun):
14309 New functions.
90ca8b49
VB
14310 (ses-cell-property-set, ses-cell-property-pop)
14311 (ses-cell-property-get-handle): New macro.
14312 (ses-cell-property-handle-car, ses-cell-property-handle-setcar):
14313 New aliases, used for code readability.
14314 (ses-calculate-cell, ses-update-cells): Use Dijkstra algorithm for
14315 cycle detection.
14316 (ses-self-reference-early-detection): New defcustom.
fac916bf 14317 (ses-formula-references): Robustify against self-referring cells.
90ca8b49
VB
14318 (ses-mode): Use ses-set-localvars.
14319 (ses-command-hook): Add call to ses-initialize-Dijkstra-attempt
14320 before lauching the update processing.
14321 (ses-initialize-Dijkstra-attempt): New function.
14322 (ses-recalculate-cell): Update for cycle detection based on
14323 Dijkstra algorithm.
14324
2bb63e81
VB
14325 * ses.el: Fix commenting and indenting convention.
14326
c9d29fb8
SM
143272011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
14328
14329 * bs.el (bs-cycle-next): Complete last change.
14330
d8e4b68b
JB
143312011-06-27 Drew Adams <drew.adams@oracle.com>
14332
14333 * faces.el (list-faces-display): Add help-mode-map to output (bug#8939).
14334
40098786
LMI
143352011-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
14336
c9d29fb8
SM
14337 * net/network-stream.el (network-stream-open-starttls):
14338 Don't re-get capabilities unless we've reestablished connection.
f6ab314e
LMI
14339 (network-stream-open-starttls): Fix stupid typo with gnutls-clii.
14340
40098786
LMI
14341 * mail/smtpmail.el (smtpmail-via-smtp): Bind coding-system-for-*
14342 to binary to possibly avoid line encoding issues on Windows (among
14343 other things).
14344
468d09d4
LMI
143452011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
14346
14347 * net/network-stream.el (open-network-stream): Return an :error
14348 saying what the problem was, if possible.
14349
14350 * mail/smtpmail.el (smtpmail-via-smtp): Report the error from the
14351 server.
14352
14353 * net/network-stream.el (network-stream-open-starttls): If we
14354 wanted to use STARTTLS, and the server offered it, but we weren't
14355 able to because we had no STARTTLS support, then close the connection.
14356 (open-network-stream): Return an :error element, if present.
14357
16f07dd7
CY
143582011-06-26 Chong Yidong <cyd@stupidchicken.com>
14359
88821ca0
CY
14360 * hl-line.el (hl-line-sticky-flag): Doc fix.
14361 (global-hl-line-sticky-flag): New option (Bug#8323).
14362 (global-hl-line-highlight): Obey it.
14363
16f07dd7
CY
14364 * vc/vc.el (vc-revert-show-diff): Default to t.
14365
6b5ccddf
KM
143662011-06-26 Ken Manheimer <ken.manheimer@gmail.com>
14367
c9d29fb8
SM
14368 * allout-widgets.el (allout-widgets-post-command-business):
14369 Stop decorating intermediate isearch matches. They're not being
6b5ccddf
KM
14370 undecorated when an isearch is continued past, and isearch
14371 automatically collapses them. This leads to "widget leaks", where
14372 decorated items accumulate in collapsed areas. Lines with lots of
c9d29fb8
SM
14373 hidden widgets can slow down cursor travel, substantially.
14374 Too much complicated machinery would be needed to ensure undecoration,
6b5ccddf
KM
14375 so we're doing without this nicety.
14376
14377 (allout-widgets-tally-string): Don't try to do a hash-table-count
14378 of allout-widgets-tally when it's nil. This eliminates spurious "Error
14379 during redisplay: (wrong-type-argument hash-table-p nil)" warnings in
14380 *Messages* when allout-widgets-maintain-tally is t.
14381
355f2e07
MR
143822011-06-26 Martin Rudalics <rudalics@gmx.at>
14383
14384 * window.el (display-buffer-normalize-argument): Rename to
14385 display-buffer-normalize-arguments. Handle special meaning of
6b5ccddf
KM
14386 LABEL argument. Respect special-display-function when popping up
14387 a new frame. Fix code searching for a window showing the buffer
14388 on another frame.
c9d29fb8
SM
14389 (display-buffer-normalize-specifiers):
14390 Call display-buffer-normalize-arguments.
355f2e07
MR
14391 (display-buffer-in-window): Don't undedicate the window if its
14392 buffer remains the same.
14393 Reported by Drew Adams <drew.adams@oracle.com>.
14394 (display-buffer-alist): Add choice for same-window macro
14395 specfier.
14396 (display-buffer): Mention special meaning of LABEL argument in
14397 doc-string. Fix quoting. Don't pop up a new frame even as
14398 fallback.
14399
7ca8fc42
JB
144002011-06-26 Juanma Barranquero <lekktu@gmail.com>
14401
14402 * bs.el (bs-cycle-next): Pass current buffer to `bury-buffer' to
14403 avoid deleting the current window in some cases (bug#8911).
14404
bc312254
AS
144052011-06-26 Andreas Schwab <schwab@linux-m68k.org>
14406
14407 * emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
14408 (Bug#8934)
14409
2db18f3f
LMI
144102011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
14411
c9d29fb8
SM
14412 * net/network-stream.el (network-stream-open-starttls):
14413 Use built-in TLS support if `gnutls-available-p' is true.
2db18f3f
LMI
14414 (network-stream-open-tls): Ditto.
14415
6302e0d3
LL
144162011-06-26 Leo Liu <sdl.web@gmail.com>
14417
14418 * register.el (registerv): New struct.
14419 (registerv-make): New function.
c9d29fb8
SM
14420 (jump-to-register, describe-register-1, insert-register):
14421 Support the jump-func, print-func and insert-func slot of a registerv
6302e0d3
LL
14422 struct. (Bug#8415)
14423
5fdd4046
CY
144242011-06-26 Chong Yidong <cyd@stupidchicken.com>
14425
2afef60a
CY
14426 * vc/vc.el (vc-revert-show-diff): New defcustom.
14427 (vc-diff-internal): New arg specifying diff buffer.
14428 (vc-revert): Obey vc-revert-show-diff. If we show a diff, don't
14429 reuse an existing *vc-diff* buffer (Bug#8927).
14430
5fdd4046
CY
14431 * progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode.
14432
e93db24a
GM
144332011-06-26 Glenn Morris <rgm@gnu.org>
14434
14435 * progmodes/f90.el (f90-critical-indent): New option.
14436 (f90-font-lock-keywords-2, f90-blocks-re, f90-end-block-re)
14437 (f90-start-block-re, f90-mode-abbrev-table): Add block, critical.
14438 (f90-mode): Doc fix.
14439 (f90-looking-at-critical, f90-looking-at-end-critical): New funcs.
14440 (f90-no-block-limit, f90-calculate-indent, f90-end-of-block)
14441 (f90-beginning-of-block, f90-next-block, f90-indent-region)
14442 (f90-match-end): Handle block, critical.
14443
eefff499
GM
144442011-06-25 Glenn Morris <rgm@gnu.org>
14445
f6ba4cc9
GM
14446 * calendar/diary-lib.el (diary-included-files): Doc fix.
14447 (diary-include-files): New function, extracted from
14448 diary-include-other-diary-files and diary-mark-included-diary-files.
14449 (diary-include-other-diary-files, diary-mark-included-diary-files):
14450 Just call diary-include-files.
14451 (diary-mark-entries): Reset diary-included-files on first call.
14452
16712304
GM
14453 * calendar/diary-lib.el (diary-mark-entries)
14454 (diary-mark-included-diary-files):
14455 Visit included diary-files in temp buffers.
14456
5d8e0d43
GM
14457 * progmodes/f90.el (f90-keywords-re, f90-font-lock-keywords-1)
14458 (f90-blocks-re, f90-program-block-re, f90-end-block-re)
14459 (f90-start-block-re, f90-imenu-generic-expression)
14460 (f90-looking-at-program-block-start, f90-no-block-limit):
14461 Add support for submodules.
14462
ccf7a5d5
GM
14463 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
14464 (f90-procedures-re, f90-constants-re): Add some F2008 stuff.
eefff499 14465
11fdef7d 144662011-06-25 Eli Zaretskii <eliz@gnu.org>
638e9005
EZ
14467
14468 * net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
14469 buffer-file-type before setting its value, to avoid disastrous
eefff499 14470 global effects on decoding files for DOS/Windows systems. (Bug#8780)
638e9005 14471
74f53697
JB
144722011-06-25 Juanma Barranquero <lekktu@gmail.com>
14473
14474 * allout.el (allout-unload-function): Pass -1 to `allout-mode'.
14475
14476 * ses.el (ses-unload-function):
14477 * emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
14478
14479 * proced.el (proced-unload-function):
14480 * progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.
14481
18a4ce5e
AR
144822011-06-25 Andreas Rottmann <a.rottmann@gmx.at>
14483
14484 * server.el (server-create-window-system-frame): Add parameters arg.
14485 (server-process-filter): Doc fix. Handle frame-parameters.
14486
519d22cc
JB
144872011-06-25 Juanma Barranquero <lekktu@gmail.com>
14488
14489 Fix bug#8730, bug#8781.
14490
14491 * loadhist.el (unload--set-major-mode): New function.
14492 (unload-feature): Use it.
14493
14494 * progmodes/python.el (python-after-info-look): Add autoload cookie.
14495 (python-unload-function): New function.
14496
c206f5b0
SM
144972011-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
14498
14499 * mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.
14500
f9ad64f3
GS
145012011-06-25 Giuseppe Scrivano <gscrivano@gnu.org>
14502
14503 * net/browse-url.el (browse-url-firefox-program): Add icecat to
14504 the candidates list.
14505
7d0da90e
JB
145062011-06-24 Juanma Barranquero <lekktu@gmail.com>
14507
14508 * progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable.
14509
14b4e83d
RS
145102011-06-23 Richard Stallman <rms@gnu.org>
14511
14512 * mail/rmail.el: Going to grep hit in Rmail buffer finds the message.
14513 (rmail-variables): Set next-error-move-function.
14514 (rmail-what-message): Take argument POS.
14515 (rmail-next-error-move): New function.
14516
273d2baf
SM
145172011-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
14518
14519 * emacs-lisp/smie.el (smie-bnf->prec2): Give more understandable error
14520 messages for adjacent non-terminals.
14521
56c2cc9a
RS
145222011-06-23 Richard Stallman <rms@gnu.org>
14523
14524 * mail/rmail.el (rmail-retry-ignored-headers): Add message-id.
f444564c 14525 (rmail-show-message-1): Preserve buffer modified flag.
8050daa1
RS
14526 (rmail-start-mail): Don't specify use of rmail-mail-return;
14527 that's done by mail-bury now.
14528 (rmail-mail-return): Handle arg NEWBUF.
56c2cc9a 14529
d59eb518
MA
145302011-06-23 Michael Albinus <michael.albinus@gmx.de>
14531
14532 * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
14533 SIZE is a number.
14534
02cfc6d6
MR
145352011-06-23 Martin Rudalics <rudalics@gmx.at>
14536
14537 * window.el (get-lru-window, get-mru-window)
14538 (get-largest-window): Never return a minibuffer window.
14539 (display-buffer-pop-up-window): Fix a bug that could lead to
14540 reusing the minibuffer window.
14541 (display-buffer): Pass original specifier argument to
14542 display-buffer-function instead of the normalized one.
14543 Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
14544
4e323265
LL
145452011-06-22 Leo Liu <sdl.web@gmail.com>
14546
14547 * minibuffer.el (completing-read-function)
14548 (completing-read-default): Move from minibuf.c
14549
7a70468f
RS
145502011-06-22 Richard Stallman <rms@gnu.org>
14551
50718fc2
RS
14552 * mail/sendmail.el (mail-bury): If Rmail is in use, return nicely
14553 to Rmail even if not started by a special Rmail command.
14554
7a70468f
RS
14555 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
14556 Copy the buffer currently showing just one message.
14557
297dde5a
RW
145582011-06-22 Roland Winkler <winkler@gnu.org>
14559
14560 * textmodes/bibtex.el (bibtex-entry-update): Use mapc.
14561 (bibtex-clean-entry): First delete the old key so that a
14562 customized algorithm for generating the new key does not get
14563 confused by the old key.
14564 (bibtex-url): Obey regexp of first step.
14565 (bibtex-search-entries): Do not use add-to-list with local
14566 list-var.
14567
97bb1093
LMI
145682011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
14569
14570 * mail/smtpmail.el (smtpmail-try-auth-methods): If the user has
14571 stored a user name, then query for the password first, instead of
14572 waiting for SMTP to give an error message and the trying again.
14573
1c0f1a19
JD
145742011-06-22 Lawrence Mitchell <wence@gmx.li>
14575
14576 * net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
14577 BUFFER in call-process.
14578
396f7c9d
LMI
145792011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
14580
14581 * mail/smtpmail.el (smtpmail-via-smtp): Make sure we don't send
14582 QUIT twice.
ddb7ffee
LMI
14583 (smtpmail-try-auth-methods): Require user name and password from
14584 auth-source.
396f7c9d 14585
8998d1b3
MR
145862011-06-22 Martin Rudalics <rudalics@gmx.at>
14587
14588 * window.el (display-buffer-default-specifiers)
14589 (display-buffer-alist): Remove entries for pop-up-frame-alist.
14590 Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
130e3e11 14591 (split-window): Normalize SIDE argument (Bug#8916).
8998d1b3
MR
14592
14593 * frame.el (pop-up-frame-alist, pop-up-frame-function)
14594 (special-display-frame-alist, special-display-popup-frame):
14595 Remove duplicate declarations. These are now in window.el.
14596
4ea31e07
LMI
145972011-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
14598
c9d29fb8
SM
14599 * mail/smtpmail.el (smtpmail-via-smtp):
14600 Set :use-starttls-if-possible so that we always use STARTTLS if the
6af7a784
LMI
14601 server supports it. SMTP servers that support STARTTLS commonly
14602 require it.
14603
14604 * net/network-stream.el (network-stream-open-starttls): Support
14605 upgrading to STARTTLS always, even if we don't have built-in support.
fa463103 14606 (open-network-stream): Add the :always-query-capabilities keyword.
6af7a784 14607
95f41d9a
LMI
14608 * mail/smtpmail.el: Rewritten to do opportunistic STARTTLS
14609 upgrades with `open-network-stream', and rely solely on
14610 auth-source for all credentials. Big changes throughout the file,
14611 but in particular:
c9d29fb8
SM
14612 (smtpmail-auth-credentials): Remove.
14613 (smtpmail-starttls-credentials): Remove.
7d36ad46
LMI
14614 (smtpmail-via-smtp): Check for servers saying they want AUTH after
14615 MAIL FROM, too.
95f41d9a 14616
c9d29fb8
SM
14617 * net/network-stream.el (network-stream-open-starttls):
14618 Provide support for client certificates both for external and built-in
4ea31e07
LMI
14619 STARTTLS.
14620 (auth-source): Require.
14621 (open-network-stream): Document the :client-certificate keyword.
eb8c9362
LMI
14622 (network-stream-certificate): Change cert-cert to cert and
14623 cert-key to key.
4ea31e07 14624
065ec2c7
MA
146252011-06-21 Michael Albinus <michael.albinus@gmx.de>
14626
14627 * net/tramp-cache.el (top): Don't load the persistency file when
14628 "emacs -Q" has been called.
14629
cd93b359
DR
146302011-06-21 Tim Harper <timcharper@gmail.com>
14631
d8e4b68b
JB
14632 * term/ns-win.el (ns-initialize-window-system):
14633 Set application-specific `ApplePressAndHoldEnabled' system
cd93b359
DR
14634 resource to NO as it is not yet supported by the NS port.
14635
ae9c0411
JB
146362011-06-21 Juanma Barranquero <lekktu@gmail.com>
14637
14638 * misc.el (list-dynamic-libraries--refresh): Compute header here...
14639 (list-dynamic-libraries): ...not here.
14640
7f3f739f
LL
146412011-06-21 Leo Liu <sdl.web@gmail.com>
14642
14643 * subr.el (sha1): Implement sha1 using secure-hash.
14644
327c8fb1
MR
146452011-06-21 Martin Rudalics <rudalics@gmx.at>
14646
14647 * window.el (display-buffer-alist): In default value do not
14648 enforce searching a window on any but the selected frame.
14649 Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
14650 (display-buffer-select-window): Remove function.
14651 (display-buffer-in-window): When a window on another frame gets
14652 reused, do not select it any more but just raise its frame if
14653 necessary (Bug#8851) and (Bug#8856).
14654 (display-buffer-normalize-options): Handle pop-up-frames related
14655 options more faithfully.
14656 (pop-to-buffer): Don't rely on `display-buffer' selecting the
14657 window if it is on another frame.
c9d29fb8
SM
14658 (display-buffer-alist, display-buffer-default-specifiers):
14659 Don't make new frame unsplittable by default.
9e9de014
MR
14660 (display-buffer-normalize-argument): Fix doc-string typo and use
14661 'same-frame-other-window instead of 'other-window when associating
14662 with display-buffer-macro-specifiers.
327c8fb1 14663
7cf3f556
VB
146642011-06-21 Vincent Belaïche <vincent.b.1@hotmail.fr>
14665
14666 * play/5x5.el (5x5-solve-rotate-left, 5x5-solve-rotate-right):
14667 New functions.
14668 (5x5-mode-map, 5x5-mode-menu): Bind them.
14669 (5x5-draw-grid): Tweak the solver's rendering.
14670
60a406cf
SM
146712011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
14672
14673 * progmodes/compile.el (compilation-error-regexp-alist-alist): Rename
14674 `caml' to `python-tracebacks-and-caml'; allow leading tabs (bug#8585).
14675
d8e4b68b 146762011-06-21 Drew Adams <drew.adams@oracle.com>
5d907d6c
DA
14677
14678 * menu-bar.el: Use function variable instead of switch-to-buffer.
14679 (menu-bar-select-buffer-function): New variable.
60a406cf 14680 (menu-bar-update-buffers): Use it (bug#8876).
5d907d6c 14681
478d6f95
SM
146822011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
14683
14684 * emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
14685 variable's status.
14686
ca530739
JD
146872011-06-20 Jan Djärv <jan.h.d@swipnet.se>
14688
14689 * x-dnd.el (x-dnd-version-from-flags)
14690 (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
14691 and long as number (Bug#8899).
14692 (x-dnd-handle-xdnd): Call functions above (Bug#8899).
14693
bcd70d97
SM
146942011-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
14695
60a406cf 14696 * minibuffer.el (completion-metadata): Add `metadata' to the alist.
4cb3bfa0
SM
14697 (completion-try-completion, completion-all-completions): Compute the
14698 metadata argument if it's missing; make it optional (bug#8795).
14699
60a406cf 14700 * wid-edit.el: Use lex-bind and move towards completion-at-point.
bcd70d97
SM
14701 (widget-complete): Use new :completion-function property.
14702 (widget-completions-at-point): New function.
14703 (default): Use :completion-function instead of :complete.
60a406cf
SM
14704 (widget-default-completions): Rename from widget-default-complete;
14705 Rewrite.
bcd70d97
SM
14706 (widget-string-complete, widget-file-complete, widget-color-complete):
14707 Remove functions.
14708 (file, symbol, function, variable, coding-system, color):
14709 * international/mule-cmds.el (default-input-method, charset)
14710 (language-info-custom-alist):
14711 * cus-edit.el (face): Use new property :completions.
14712
14713 * progmodes/pascal.el (pascal-completions-at-point): New function.
14714 (pascal-mode): Use it.
14715 (pascal-mode-map): Use completion-at-point.
14716 (pascal-toggle-completions): Make obsolete.
14717 (pascal-complete-word, pascal-show-completions):
14718 * progmodes/octave-mod.el (octave-complete-symbol):
14719 Redefine as obsolete alias.
14720 * progmodes/octave-inf.el (inferior-octave-completion-at-point):
14721 Signal absence of completion info for old Octave,
14722 (inferior-octave-complete): Redefine as obsolete alias.
14723 * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
14724 (meta-completions-at-point): Rename from meta-complete-symbol and
14725 adapt it for use on completion-at-point-functions.
14726 (meta-common-mode): Use it.
14727 (meta-looking-at-backward, meta-match-buffer): Remove.
14728 (meta-complete-symbol): Redefine as obsolete alias.
14729 (meta-common-mode-map): Use completion-at-point.
14730 * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
14731 (makefile-mode-map): Use completion-at-point.
14732 (makefile-completions-at-point): Rename from makefile-complete and
14733 adapt it for use on completion-at-point-functions.
14734 (makefile-mode): Use it.
14735 (makefile-complete): Redefine as obsolete alias.
14736
aebf69c8
DD
147372011-06-20 Deniz Dogan <deniz@dogan.se>
14738
14739 * net/rcirc.el: Delete trailing whitespaces once and for all.
14740
bfbbb27d
DC
147412011-06-20 Daniel Colascione <dan.colascione@gmail.com>
14742
14743 * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
14744
d264a46b
CY
147452011-06-19 Chong Yidong <cyd@stupidchicken.com>
14746
4ca009e5
CY
14747 * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
14748
d264a46b
CY
14749 * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
14750
fbf5b3ce
MR
147512011-06-19 Martin Rudalics <rudalics@gmx.at>
14752
14753 * window.el (display-buffer-other-window-means-other-frame):
14754 Call display-buffer-normalize-alist.
14755 (display-buffer-normalize-specifiers-1): Rename to
14756 display-buffer-normalize-argument. New argument other-frame.
14757 Rewrite.
14758 (display-buffer-normalize-specifiers-2): Rename to
14759 display-buffer-normalize-options.
14760 (display-buffer-normalize-alist-1): New function.
14761 (display-buffer-normalize-specifiers-3): Rename to
bcd70d97
SM
14762 display-buffer-normalize-alist.
14763 Call display-buffer-normalize-alist-1.
fbf5b3ce
MR
14764 (display-buffer-normalize-options-inhibit): New variable.
14765 (display-buffer-normalize-specifiers): Rewrite calling
14766 display-buffer-normalize-alist,
14767 display-buffer-normalize-argument, and
14768 display-buffer-normalize-options. Don't call the latter if
14769 display-buffer-normalize-options-inhibit is non-nil.
14770 (frame-auto-delete): New option.
14771 (window-deletable-p): Use frame-auto-delete.
9d89fec7
MR
14772 (window-list-no-nils, window-state-ignored-parameters)
14773 (window-state-get-1, window-state-get, window-state-put-list)
bcd70d97
SM
14774 (window-state-put-1, window-state-put-2, window-state-put):
14775 New functions.
9a028c23
MR
14776 (display-buffer-normalize-options): Move special-display-p group
14777 after pop-up-frame group (Bug#8851) and (Bug#8856).
fbf5b3ce 14778
6d10d800
CY
147792011-06-18 Chong Yidong <cyd@stupidchicken.com>
14780
6420d28b
CY
14781 * emacs-lisp/rx.el (rx-constituents): Add support for numbered
14782 groups (Bug#8776).
14783 (rx-submatch-n): New function.
14784 (rx): Document it.
14785
ddb8b596
CY
14786 * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
14787 (Bug#8768).
14788
14789 * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
14790
77080289
CY
14791 * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
14792
61dfb316
CY
14793 * cus-face.el (custom-declare-face): Call custom-theme-recalc face
14794 anytime existing face settings are present (Bug#8889).
14795
6d10d800
CY
14796 * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
14797 (delphi-mode): Use define-derived-mode to inherit from prog-mode.
14798 Remove unused argument.
14799
be3fb2b8
MR
148002011-06-18 Martin Rudalics <rudalics@gmx.at>
14801
bcd70d97
SM
14802 * window.el (display-buffer-default-specifiers):
14803 Remove pop-up-frame. Add pop-up-window-min-height,
be3fb2b8
MR
14804 pop-up-window-min-width, and another reuse-window specifier
14805 (Bug#8882). Reported by Dan Nicolaescu <dann@gnu.org>.
bcd70d97
SM
14806 (display-buffer-normalize-specifiers-2):
14807 Handle split-height-threshold and split-width-threshold also when
be3fb2b8
MR
14808 pop-up-windows is unset. Add a reuse-window specifier for the
14809 case popping up a new window fails.
14810 (special-display-popup-frame): Remove double quoting.
28dec25a 14811 (display-buffer-normalize-specifiers-1): Fix thinko.
be3fb2b8 14812
1c6d8c76
SM
148132011-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
14814
14815 * shell.el (shell-completion-vars): Set pcomplete-termination-string
14816 according to comint-completion-addsuffix.
14817
14818 * pcomplete.el: Convert to lexical binding and fix bug#8819.
14819 (pcomplete-suffix-list): Mark as obsolete.
14820 (pcomplete-completions-at-point): Capture pcomplete-norm-func and
14821 pcomplete-seen in the closure.
14822 (pcomplete-comint-setup): Setup completion-at-point as well.
14823 (pcomplete--entries): New function.
14824 (pcomplete--env-regexp): New var.
14825 (pcomplete-entries): Rewrite to work with partial-completion and
14826 without relying on pcomplete-suffix-list.
14827 (pcomplete-pare-list): Remove, unused.
14828
25aef8b8
MR
148292011-06-17 Martin Rudalics <rudalics@gmx.at>
14830
14831 * window.el (display-buffer-alist): Set pop-up-window-min-height
14832 and pop-up-window-min-width in default value. Reported by
14833 Thierry Volpiatto <thierry.volpiatto@gmail.com>. New specifier
14834 other-window-means-other-frame.
14835 (display-buffer-macro-specifiers): Comment out entry for
14836 other-window specifier.
14837 (display-buffer-other-window-means-other-frame): New function.
14838 (display-buffer-normalize-specifiers-1): New arguments
14839 buffer-name and label. Treat other-window case specially.
14840 (display-buffer-normalize-specifiers-2): Treat other-window case
14841 specially.
14842 (display-buffer-normalize-specifiers-3): New function.
bcd70d97
SM
14843 (display-buffer-normalize-specifiers):
14844 Call display-buffer-normalize-specifiers-3.
25aef8b8 14845
dbad4f69
MR
148462011-06-17 Martin Rudalics <rudalics@gmx.at>
14847
14848 * window.el (same-window-p): Fix two typos introduced when
14849 adding with-no-warnings.
d1067961
MR
14850 (display-buffer-normalize-specifiers-1): Don't check
14851 pop-up-frames for 'unset initialization.
14852 (display-buffer-normalize-specifiers-2): Major rewrite using
14853 special-display-p and same-window-p (Bug#8851) and (Bug#8856).
14854 (pop-up-frames, display-buffer-reuse-frames)
14855 (display-buffer-mark-dedicated): Don't initialize to 'unset.
14856 Suggested by David Engster <deng@randomsample.de>.
14857 (even-window-heights): Initialize to 'unset.
14858 (display-buffer-alist-set): Handle new 'unset initializations.
25aef8b8
MR
14859 (display-buffer-macro-specifiers): Don't pop up a new frame in the
14860 other window case.
dbad4f69 14861
9b9c9e3a
MR
148622011-06-16 Martin Rudalics <rudalics@gmx.at>
14863
bcd70d97
SM
14864 * window.el (display-buffer-normalize-specifiers-1):
14865 Respect current value of pop-up-frames for most reasonable values of
9b9c9e3a 14866 second argument of display-buffer (Bug#8865).
981d5c09
MR
14867 (switch-to-buffer-same-frame, switch-to-buffer-other-window)
14868 (switch-to-buffer-other-window-same-frame)
14869 (switch-to-buffer-other-frame): Fix doc-strings. Reported by Drew
14870 Adams (Bug#8875).
9c2755e9
MR
14871 (display-buffer): Don't check noninteractive when calling
14872 display-buffer-pop-up-frame.
14873 (display-buffer-pop-up-frame): Never pop up a frame in
14874 noninteractive mode (Bug#8857).
67222e1d
MR
14875 (enlarge-window, shrink-window): Don't report an error when the
14876 window can't be resized as requested (Bug#8862).
9b9c9e3a 14877
2b75be67
SM
148782011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
14879
9ffdd3ba
SM
14880 * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
14881
cb581a67
SM
14882 * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
14883
2b75be67
SM
14884 * abbrev.el (define-abbrev-table): Don't add a table multiple times.
14885
8c0e3589
AM
148862011-06-15 Alan Mackenzie <acm@muc.de>
14887
cb581a67
SM
14888 * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
14889 for declarators, disable knr checking to speed up for normal files.
14890 2: Refactor, replacing a sequence of nested if forms by a cond form.
8c0e3589 14891
b96e6cde
LMI
148922011-06-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
14893
4bba86e6
LMI
14894 * net/network-stream.el (open-network-stream): Add the keyword
14895 :always-query-capabilities for the case where you want to force a
14896 `plain' network connection, but the protocol still requires the
14897 capabilitiy command (i.e., SMTP and EHLO).
14898
2b75be67 14899 * subr.el (process-live-p): Rename from `process-alive-p' for
b96e6cde
LMI
14900 consistency with other `-live-p' functions.
14901
efdcdbf8
SM
149022011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
14903
14904 * window.el (same-window-buffer-names, same-window-regexps)
14905 (special-display-frame-alist, special-display-popup-frame)
14906 (special-display-function, special-display-buffer-names)
14907 (special-display-regexps, pop-up-frame-alist)
14908 (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
14909 (pop-up-windows, split-window-preferred-function)
14910 (split-height-threshold, split-width-threshold, even-window-heights)
14911 (display-buffer-mark-dedicated): Don't encourage the use of
14912 display-buffer-alist from Elisp code.
14913
c5cde042
DN
149142011-06-15 Dan Nicolaescu <dann@ics.uci.edu>
14915
14916 * progmodes/python.el (python-mode): Derive from prog-mode.
14917 * progmodes/ps-mode.el (ps-mode):
14918 * progmodes/mixal-mode.el (mixal-mode):
50328a1b 14919 * progmodes/cfengine.el (cfengine-mode):
c5cde042
DN
14920 * progmodes/ld-script.el (ld-script-mode): Likewise.
14921
baa1c9ab
MR
149222011-06-15 Martin Rudalics <rudalics@gmx.at>
14923
14924 * window.el (display-buffer-alist): Trim default value to avoid
14925 popping up a new frame (Bug#8857) or reusing an arbitrary window
14926 on another frame.
14927 (display-buffer): Do not fall back on popping up a new frame in
14928 batch mode (Bug#8857).
14929
c5dd5a51
CY
149302011-06-14 Chong Yidong <cyd@stupidchicken.com>
14931
14932 * cus-theme.el (describe-theme-1): Use custom-theme-p.
14933 (custom-theme-summary): New function.
14934 (customize-themes): Use it.
14935
d647b7c4
GM
149362011-06-13 Glenn Morris <rgm@gnu.org>
14937
14938 * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
14939
9481c002
MR
149402011-06-13 Martin Rudalics <rudalics@gmx.at>
14941
357f93d2
MR
14942 * help.el (help-window): Remove variable.
14943 (help-window-point-marker, temp-buffer-max-height)
14944 (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
14945 (help-print-return-message): Don't set help-window.
14946 (resize-temp-buffer-window): Rewrite cod eand doc-string.
14947 (help-window-setup-finish): Remove.
14948 (help-window-display-message, help-window-setup)
14949 (with-help-window): Major rewrite based on new
14950 display-buffer-window variable.
14951
14952 * help-mode.el (help-mode-finish): Remove help-window related
14953 code.
14954
14955 * view.el (view-exits-all-viewing-windows): Remove reference to
14956 view-return-to-alist in doc-string.
14957 (view-return-to-alist): Make obsolete.
14958 (view-buffer): Call pop-to-buffer-same-window and remove
14959 undo-window code.
14960 (view-buffer-other-window): Call pop-to-buffer-other-window and
14961 simplify code. Ignore second argument.
14962 (view-buffer-other-frame): Call pop-to-buffer-other-frame and
14963 simplify code. Ignore second argument.
14964 (view-return-to-alist-update): Make obsolete.
14965 (view-mode-enter): Rename second argument to QUIT-RESTORE.
14966 Rewrite using quit-restore window parameters.
2b75be67
SM
14967 (view-mode-exit): Rename second argument to EXIT-ONLY.
14968 Rewrite using quit-restore-window.
357f93d2
MR
14969 (View-exit, View-exit-and-edit, View-leave, View-quit)
14970 (View-quit-all, View-kill-and-leave): Call view-mode-exit with
14971 appropriate arguments.
14972 (view-end-message): Use quit-restore window parameter.
14973
9481c002
MR
14974 * window.el (display-buffer-function): Rewrite doc-string.
14975 (display-buffer-window, display-buffer-alist): New variables.
14976 (display-buffer-split-specifiers)
14977 (display-buffer-side-specifiers)
14978 (display-buffer-macro-specifiers): New constants.
14979 (display-buffer-even-window-sizes, display-buffer-set-height)
14980 (display-buffer-set-width, display-buffer-select-window)
14981 (display-buffer-in-window, display-buffer-reuse-window)
14982 (display-buffer-split-window-1, display-buffer-split-window)
14983 (display-buffer-split-atom-window, display-buffer-pop-up-window)
14984 (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
14985 (display-buffer-in-side-window, normalize-buffer-to-display)
14986 (display-buffer-normalize-specifiers-1)
14987 (display-buffer-normalize-specifiers-2)
2b75be67
SM
14988 (display-buffer-normalize-specifiers, display-buffer-frame):
14989 New functions.
9481c002
MR
14990 (display-buffer): Major rewrite.
14991 (display-buffer-other-window, display-buffer-other-frame)
14992 (pop-to-buffer, switch-to-buffer-other-window)
14993 (switch-to-buffer-other-frame): Rewrite.
14994 (display-buffer-same-window, display-buffer-same-frame)
14995 (display-buffer-same-frame-other-window)
14996 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
14997 (pop-to-buffer-other-window)
14998 (pop-to-buffer-same-frame-other-window)
14999 (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
15000 (switch-to-buffer-other-window-same-frame): New functions.
15001 (same-window-p, special-display-p): Rewrite disabling warnings.
15002 Make obsolete.
15003 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
15004 (display-buffer-mark-dedicated): Initialize to symbol 'unset.
15005 Make obsolete
15006 (same-window-buffer-names, same-window-regexps)
15007 (special-display-frame-alist, special-display-popup-frame)
15008 (special-display-function, special-display-buffer-names)
15009 (special-display-regexps, pop-up-frame-alist)
15010 (pop-up-frame-function, split-window-preferred-function)
15011 (split-height-threshold, split-width-threshold)
15012 (even-window-heights): Make obsolete.
15013
9db51aca
GM
150142011-06-12 Glenn Morris <rgm@gnu.org>
15015
15016 * term/xterm.el (terminal-init-xterm): `version' may be nil. (Bug#8838)
7cb363eb 15017 Misc simplifications.
9db51aca 15018
39cffb44
MR
150192011-06-12 Martin Rudalics <rudalics@gmx.at>
15020
15021 * window.el (window-safely-shrinkable-p): Restore function which
15022 was inadvertently removed in change from 2011-06-11. Declare as
15023 obsolete.
15024
2b75be67
SM
15025 * calendar/calendar.el (calendar-generate-window):
15026 Use window-iso-combined-p instead of combination of one-window-p and
39cffb44
MR
15027 window-safely-shrinkable-p.
15028
a8955be7
GM
150292011-06-12 Glenn Morris <rgm@gnu.org>
15030
15031 * progmodes/fortran.el (fortran-mode-syntax-table):
15032 * progmodes/f90.el (f90-mode-syntax-table):
15033 Set % to punctuation. (Bug#8820)
15034 (f90-find-tag-default): Remove, no longer needed.
15035
f0d4059d
DC
150362011-06-12 Daniel Colascione <dan.colascione@gmail.com>
15037
15038 * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
15039
1100a63c
CY
150402011-06-11 Chong Yidong <cyd@stupidchicken.com>
15041
15042 * image.el (image-animated-p): Return animation delay in seconds.
15043 Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
15044 (image-animate-timeout): Remove DELAY argument. Don't assume
15045 every subimage has the same delay; get it from image-animated-p.
15046 (image-animate): Caller changed.
15047
def722bf
MA
150482011-06-11 Michael Albinus <michael.albinus@gmx.de>
15049
15050 * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
15051 to ignored backtrace functions.
15052
0a2bb1a9
GM
150532011-06-11 Glenn Morris <rgm@gnu.org>
15054
15055 * calendar/appt.el (appt-disp-window-function): Doc fix.
15056 (appt-check): Handle overlapping appointments. (Bug#8337)
15057
6198ccd0
MR
150582011-06-11 Martin Rudalics <rudalics@gmx.at>
15059
15060 * window.el (window-tree-1, window-tree): New functions, moving
15061 the latter to window.el.
15062 (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
15063 (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
15064 (bw-refresh-edges): Remove.
15065 (balance-windows-1, balance-windows-2): New functions.
15066 (balance-windows): Rewrite in terms of window tree functions,
15067 balance-windows-1 and balance-windows-2.
15068 (bw-adjust-window): Remove.
15069 (balance-windows-area-adjust): New function with functionality of
15070 bw-adjust-window but using resize-window.
2b75be67
SM
15071 (set-window-text-height): Rewrite doc-string.
15072 Use normalize-live-window and resize-window.
15073 (enlarge-window-horizontally, shrink-window-horizontally):
15074 Rename argument to DELTA.
6198ccd0
MR
15075 (window-buffer-height): New function.
15076 (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
15077 Rewrite using new window resize routines.
2b75be67
SM
15078 (kill-buffer-and-window, mouse-autoselect-window-select):
15079 Use ignore-errors instead of condition-case.
6198ccd0
MR
15080 (quit-window): Call delete-frame instead of delete-windows-on
15081 for the only buffer on frame.
15082
9397e56f
MR
150832011-06-10 Martin Rudalics <rudalics@gmx.at>
15084
15085 * loadup.el (top-level): Load window before files for the sake
15086 of replace-buffer-in-windows.
15087
15088 * files.el (read-buffer-to-switch)
15089 (switch-to-buffer-other-window)
2b75be67
SM
15090 (switch-to-buffer-other-frame, display-buffer-other-frame):
15091 Move to window.el.
9397e56f
MR
15092
15093 * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
15094 (previous-buffer): Move to window.el.
15095
15096 * bindings.el (unbury-buffer): Move to window.el.
15097
15098 * window.el (delete-other-windows-vertically): Move after
15099 definition of delete-other-windows.
15100 (other-window, delete-windows-on, replace-buffer-in-windows):
15101 Move here from window.c.
15102 (record-window-buffer, unrecord-window-buffer)
15103 (set-window-buffer-start-and-point, switch-to-prev-buffer)
15104 (switch-to-next-buffer): New functions.
15105 (get-next-valid-buffer, last-buffer, next-buffer): Move here
15106 from simple.el. Call switch-to-next-buffer.
2b75be67
SM
15107 (previous-buffer): Move here from simple.el.
15108 Call switch-to-prev-buffer.
9397e56f
MR
15109 (bury-buffer): Move here from buffer.c. Switch to previous
15110 buffer when window cannot be deleted.
15111 (unbury-buffer): Move here from bindings.el.
15112 (ctl-x-map): Move binding for other-window from window.c to
15113 here.
15114 (read-buffer-to-switch, switch-to-buffer-other-window)
15115 (switch-to-buffer-other-frame): Move here from files.el.
15116 (normalize-buffer-to-switch-to): New functions.
2b75be67
SM
15117 (switch-to-buffer): Move here from buffer.c.
15118 Use read-buffer-to-switch and normalize-buffer-to-switch-to.
9397e56f 15119
562dd5e9
MR
151202011-06-10 Martin Rudalics <rudalics@gmx.at>
15121
15122 * window.el (window-min-height, window-min-width): Move here
15123 from window.c. Add defcustoms and rewrite doc-strings.
15124 (resize-mini-window, resize-window): New functions.
15125 (adjust-window-trailing-edge, enlarge-window, shrink-window):
15126 Move here from window.c.
15127 (maximize-window, minimize-window): New functions.
15128 (delete-window, delete-other-windows, split-window): Move here
15129 from window.c.
15130 (window-split-min-size): New function.
15131 (split-window-keep-point): Mention split-window-above-each-other
15132 instead of split-window-vertically.
2b75be67 15133 (split-window-above-each-other, split-window-vertically):
1154d12e
JB
15134 Rename split-window-vertically to split-window-above-each-other
15135 and provide defalias for old definition.
15136 (split-window-side-by-side, split-window-horizontally):
15137 Rename split-window-horizontally to split-window-side-by-side
15138 and provide defalias for the old definition.
562dd5e9
MR
15139 (ctl-x-map): Move bindings for delete-window,
15140 delete-other-windows and enlarge-window here from window.c.
15141 Replace bindings for split-window-vertically and
15142 split-window-horizontally by bindings for
15143 split-window-above-each-other and split-window-side-by-side.
15144
15145 * cus-start.el (all): Remove entries for window-min-height and
15146 window-min-width. Add entries for window-splits and
15147 window-nest.
15148
f0da764a
GM
151492011-06-09 Glenn Morris <rgm@gnu.org>
15150
80675c21
GM
15151 * calendar/appt.el (appt-mode-line): New function.
15152 (appt-check, appt-disp-window): Use it.
15153
f0da764a
GM
15154 * files.el (hack-one-local-variable-eval-safep):
15155 Allow minor-modes with explicit +/-1 arguments.
15156
59f623b7
TZ
151572011-06-09 Teodor Zlatanov <tzz@lifelogs.com>
15158
15159 * term/xterm.el (xterm): Add defgroup.
15160 (xterm-extra-capabilities): Add defcustom to supply known xterm
15161 capabilities, skip querying them, or query them (default).
15162 (terminal-init-xterm): Use it.
15163 (terminal-init-xterm-modify-other-keys): New function to set up
15164 modifyOtherKeys support to simplify `terminal-init-xterm'.
15165
9aab8e0d
MR
151662011-06-09 Martin Rudalics <rudalics@gmx.at>
15167
15168 * window.el (resize-window-reset, resize-window-reset-1)
15169 (resize-subwindows-skip-p, resize-subwindows-normal)
15170 (resize-subwindows, resize-other-windows, resize-this-window)
15171 (resize-root-window, resize-root-window-vertically)
15172 (window-deletable-p, window-or-subwindow-p)
15173 (frame-root-window-p): New functions.
15174
e8b08aee
GM
151752011-06-09 Glenn Morris <rgm@gnu.org>
15176
15177 * net/ange-ftp.el (ange-ftp-switches-ok): New function.
15178 (ange-ftp-get-files): Use it.
15179
254c37a5
AK
151802011-06-09 Alexander Klimov <alserkli@inbox.ru> (tiny change)
15181
15182 * mail/sendmail.el (mail-recover-1, mail-recover):
15183 * files.el (recover-file, recover-session):
15184 Handle dired-listing-switches not being just a single short option.
15185
35d7dbd3
GM
151862011-06-09 Glenn Morris <rgm@gnu.org>
15187
15188 * calendar/appt.el (appt-display-message, appt-disp-window):
15189 Handle lists of appointments.
15190
387522b2
MR
151912011-06-08 Martin Rudalics <rudalics@gmx.at>
15192
2b75be67
SM
15193 * window.el (one-window-p): Move down in code.
15194 Rewrite doc-string.
15195 (window-current-scroll-bars): Rewrite doc-string.
15196 Normalize live window argument.
387522b2
MR
15197 (walk-windows, get-window-with-predicate, count-windows):
15198 Rewrite doc-string. Use window-list-1.
15199 (window-in-direction-2, window-in-direction, get-mru-window):
15200 New functions.
15201
d8e4b68b 152022011-06-08 Reuben Thomas <rrt@sc3d.org>
2c587104
GM
15203
15204 * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
15205 Doc fix (Bug#8713).
15206
152072011-06-08 Chong Yidong <cyd@stupidchicken.com>
15208
15209 * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
15210
152112011-06-08 Juanma Barranquero <lekktu@gmail.com>
15212
15213 * loadhist.el (unload-feature-special-hooks):
15214 Add `comint-output-filter-functions'.
15215
0de12c52
IK
152162011-06-08 Ivan Kanis <gnu@kanis.fr>
15217
15218 * calendar/appt.el (appt-check): Move some initializations into the let.
15219
f3d1777e
MR
152202011-06-08 Martin Rudalics <rudalics@gmx.at>
15221
15222 * window.el (window-height): Defalias to window-total-height.
15223 (window-width): Defalias to window-body-width.
15224
18af70d0
CY
152252011-06-07 Chong Yidong <cyd@stupidchicken.com>
15226
15227 * image-mode.el (image-toggle-animation): New command.
15228 (image-mode-map): Bind it to RET.
15229 (image-mode): Update message.
15230 (image-toggle-display-image): Avoid a spurious cache flush.
15231 (image-transform-rotation): Doc fix.
15232 (image-transform-properties): Return quickly in the normal case.
15233 (image-animate-loop): Rename from image-animate-max-time.
15234
2b75be67 15235 * image.el (image-animate-max-time): Move to image-mode.el.
18af70d0
CY
15236 (create-animated-image): Remove unnecessary function.
15237 (image-animate): Rename from image-animate-start. New arg.
2b75be67 15238 (image-animate-stop): Remove; just use image-animate-timer.
18af70d0
CY
15239 (image-animate-timer): Use car-safe.
15240 (image-animate-timeout): Rename argument.
15241
190b47e6
MR
152422011-06-07 Martin Rudalics <rudalics@gmx.at>
15243
15244 * window.el (get-lru-window, get-largest-window): Move here from
2b75be67
SM
15245 window.c. Rename first argument to ALL-FRAMES.
15246 Rephrase doc-strings.
15247 (get-buffer-window-list): Rewrite using window-list-1.
15248 Rephrase doc-string.
a1511caf
MR
15249 (window-safe-min-height, window-safe-min-width): New constants.
15250 (window-size-ignore, window-min-size, window-min-size-1)
15251 (window-sizable, window-sizable-p, window-size-fixed-1)
15252 (window-size-fixed-p, window-min-delta-1, window-min-delta)
15253 (window-max-delta-1, window-max-delta, window-resizable)
15254 (window-resizable-p, window-total-height, window-total-width)
15255 (window-body-width): New functions.
15256 (window-full-height-p, window-full-width-p): Rewrite using
15257 window-total-size.
15258 (window-body-height): Rewrite using window-body-size.
190b47e6 15259
85cc1f11
MR
152602011-06-06 Martin Rudalics <rudalics@gmx.at>
15261
15262 * window.el (window-right, window-left, window-child)
15263 (window-child-count, window-last-child, window-any-p)
15264 (normalize-live-buffer, normalize-live-frame)
15265 (normalize-any-window, normalize-live-window)
15266 (window-iso-combination-p, window-iso-combined-p)
15267 (window-iso-combinations)
15268 (walk-window-tree-1, walk-window-tree, walk-window-subtree)
15269 (windows-with-parameter, window-with-parameter)
15270 (window-atom-root, make-window-atom, window-atom-check-1)
2b75be67
SM
15271 (window-atom-check, window-side-check, window-check):
15272 New functions.
85cc1f11
MR
15273 (ignore-window-parameters, window-sides, window-sides-vertical)
15274 (window-sides-slots): New variables.
15275 (window-size-fixed): Move down in code. Minor doc-string fix.
15276
e7156492
AS
152772011-06-05 Andreas Schwab <schwab@linux-m68k.org>
15278
15279 * comint.el (comint-dynamic-complete-as-filename)
15280 (comint-dynamic-complete-filename): Correctly call
15281 completion-in-region.
15282
7e821d0d
DD
152832011-06-05 Deniz Dogan <deniz@dogan.se>
15284
15285 * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
15286 in last change.
15287
ac09b8a1
DD
152882011-06-05 Deniz Dogan <deniz@dogan.se>
15289
15290 * net/rcirc.el (rcirc-prompt-for-encryption): New function.
15291 (rcirc): Use it to prompt for encryption.
15292
34699b85
RW
152932011-06-05 Roland Winkler <winkler@gnu.org>
15294
15295 * textmodes/bibtex.el (bibtex-search-buffer): New variable.
15296 (bibtex-search-entries): New command bound to C-c C-a.
15297 (bibtex-display-entries): New function.
15298
004dedd3
RW
152992011-06-05 Roland Winkler <winkler@gnu.org>
15300
15301 * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
15302 (bibtex-insert-kill): After yanking insert newline if necessary.
15303 (bibtex-initialize): Call bibtex-string-files-init only once.
15304 (bibtex-mode): Do not call easy-menu-add.
15305 (bibtex-validate-globally): Use save-excursion in bibtex buffers.
15306 (bibtex-yank): Set arg properly if nil.
15307
022fe7ce
RW
153082011-06-05 Roland Winkler <winkler@gnu.org>
15309
2b75be67
SM
15310 * textmodes/bibtex.el (bibtex-search-entry-globally):
15311 New variable.
022fe7ce
RW
15312 (bibtex-search-entry): Use it.
15313
b7c3692a
RW
153142011-06-05 Roland Winkler <winkler@gnu.org>
15315
15316 * textmodes/bibtex.el (bibtex-entry-format): New option
15317 sort-fields.
15318 (bibtex-format-entry, bibtex-reformat): Honor this option.
15319 (bibtex-parse-entry): Return fields in proper order.
15320
8eda563d
JB
153212011-06-05 Juanma Barranquero <lekktu@gmail.com>
15322
15323 * doc-view.el (doc-view-remove-if): Move computation of result out
15324 of `dolist' to silence misleading lexical-binding warning.
15325
7dbe3dbc
CY
153262011-06-04 Chong Yidong <cyd@stupidchicken.com>
15327
15328 * emacs-lisp/timer.el (timer-activate): Remove unused arg.
15329 (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
15330
0c33dd17
MA
153312011-06-04 Michael Albinus <michael.albinus@gmx.de>
15332
15333 * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
15334 "SunOS 5.10".
15335
f8f91c2b
MA
153362011-06-04 Michael Albinus <michael.albinus@gmx.de>
15337
15338 * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
15339 (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
15340 (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
15341 (tramp-parse-putty):
15342 * net/tramp-sh.el (tramp-completion-function-alist-rsh)
15343 (tramp-completion-function-alist-ssh)
15344 (tramp-completion-function-alist-telnet)
15345 (tramp-completion-function-alist-su)
15346 (tramp-completion-function-alist-putty): Set `tramp-autoload'
15347 cookie.
15348
15349 * net/tramp-ftp.el:
15350 * net/tramp-sh.el:
15351 * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
15352 load "tramp.el" `tramp-set-completion-function'.
15353
e17d9003
SM
153542011-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
15355
15356 * shell.el: Require and use pcomplete.
15357 (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
15358 (shell-completion-vars): Set pcomplete-default-completion-function.
15359
6c4cab03
DD
153602011-06-04 Deniz Dogan <deniz@dogan.se>
15361
15362 * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
15363 `memq' (Bug#8799).
15364
ea9fafe0
SM
153652011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
15366
15367 * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
15368
b3e945d3
JB
153692011-06-02 Juanma Barranquero <lekktu@gmail.com>
15370
15371 * bs.el (bs--mark-unmark, bs--nth-wrapper):
15372 * mpc.el (mpc-select-extend, mpc-songpointer-context):
15373 * vc/log-view.el (log-view-beginning-of-defun):
15374 * vc/smerge-mode.el (smerge-apply-resolution-patch)
15375 (smerge-refine-forward, smerge-refine-chopup-region):
15376 Silence warning for unused `dotimes' counter variables.
15377
7d520089
SM
153782011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
15379
15380 * net/tramp.el (tramp-with-progress-reporter): Rename from
15381 with-progress-reporter. Use `declare'.
15382 * net/tramp-smb.el:
15383 * net/tramp-sh.el:
15384 * net/tramp-gvfs.el: Update all uses.
15385
a1c2400f
JB
153862011-06-02 Jay Belanger <jay.p.belanger@gmail.com>
15387
15388 * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
15389 buffer isn't killed before making it current.
15390
2403c841
SM
153912011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
15392
15393 Silence various byte-compiler warnings.
15394 * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
15395 `access-type' and new obsolescence format.
15396 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
15397 new format.
15398 (byte-compile-check-variable): New `access-type' argument.
15399 Only warn if the access-type is obsolete.
15400 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
15401 (byte-compile-variable-set): Adjust callers.
15402 * help-fns.el (describe-variable): Adjust to new obsolescence format.
15403 * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
15404 setting it as obsolete.
15405 * simple.el (minibuffer-completing-symbol):
15406 * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
15407 access as obsolete.
15408 * minibuffer.el (minibuffer-completing-file-name): Don't make it
15409 obsolete yet.
15410 * international/quail.el (quail-mouse-choose-completion): Remove unused
15411 code referring to obsolete var.
15412 (quail-choose-completion-string): Remove.
15413 * server.el (server-clients-with, server-kill-buffer-query-function)
15414 (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
15415 * proced.el (proced-send-signal):
15416 * emacs-lisp/lisp.el (lisp-complete-symbol):
15417 Replace completion-annotate-function with completion-extra-properties.
15418
2462470b
SM
154192011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
15420
fb5b2591
SM
15421 * simple.el (goto-line): Use read-number.
15422 (overriding-map-is-bound): Remove.
15423 (saved-overriding-map): Change default.
15424 (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
15425 Take the map as argument.
15426 (universal-argument, negative-argument, digit-argument): Use it.
15427 (restore-overriding-map): Adjust.
15428 (do-auto-fill): Use fill-forward-paragraph.
15429 (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
15430
fd6fa53f
SM
15431 * minibuffer.el (minibuffer-inactive-mode-map): New var.
15432 (minibuffer-inactive-mode): New major mode.
15433 * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
15434 the *Messages* buffer" hack.
15435 (mouse-popup-menubar): Don't burp if the event is a normal key.
15436
2462470b
SM
15437 Miscellaneous tweaks.
15438 * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
15439 lexical scoping as in subr.el's dolist and dotimes.
15440 * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
15441 Silence compiler warning.
15442 * thingatpt.el (forward-whitespace): Trivial coding style fix.
15443 * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
15444 * international/ccl.el (ccl-compile): Trivial simplification.
15445 * help-fns.el (help-do-arg-highlight): Silence compiler warning.
15446 * emacs-lisp/testcover.el (testcover-end): Remove spurious
15447 `printflag' argument.
15448 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
15449 Purecopy the whole obsolescence data.
15450
108bf785
LL
154512011-06-01 Leo Liu <sdl.web@gmail.com>
15452
15453 * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
15454 improve doc-string as suggested by Marco Pessotto
15455 <melmothx@gmail.com>.
15456 (rcirc-print): Fix last change.
15457
30a23501
SM
154582011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
15459
15460 * minibuffer.el (complete-with-action): Return nil for the metadata and
15461 boundaries of non-functional tables.
15462 (completion-table-dynamic): Return nil for the metadata.
15463 (completion-table-with-terminator): Add default case, using
15464 complete-with-action.
15465 (completion--metadata): New function.
15466 (completion-all-sorted-completions, minibuffer-completion-help): Use it
15467 to try and avoid pathological performance problems.
15468 (completion--embedded-envvar-table): Return `category' metadata.
15469
bcd54f83
LMI
154702011-05-31 Lars Magne Ingebrigtsen <larsi@gnus.org>
15471
15472 * subr.el (process-alive-p): New tiny convenience function.
15473
e227544d
SM
154742011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
15475
15476 * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
15477 content but also its previous major mode.
15478
e8296fdc
HE
154792011-05-31 Helmut Eller <eller.helmut@gmail.com>
15480
4d61f28d 15481 * emacs-lisp/debug.el (debug): Restore the previous content of the
e8296fdc
HE
15482 *Backtrace* buffer when we exit with C-M-c.
15483
620c53a6
SM
154842011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
15485
15486 * minibuffer.el: Add metadata method to completion tables.
15487 (completion-category-overrides): New defcustom.
15488 (completion-metadata, completion--field-metadata)
15489 (completion-metadata-get, completion--styles)
15490 (completion--cycle-threshold): New functions.
15491 (completion-try-completion, completion-all-completions):
15492 Add `metadata' argument to choose completion-styles.
15493 (completion--do-completion): Use metadata to choose cycling.
15494 (completion-all-sorted-completions): Use metadata for sorting.
15495 Remove :completion-cycle-penalty which is not needed any more.
15496 (completion--try-word-completion): Add `metadata' argument.
15497 (minibuffer-completion-help): Check metadata for annotation function
15498 and sorting.
15499 (completion-file-name-table): Return `category' metadata.
15500 (minibuffer-completing-file-name): Make obsolete.
15501 * simple.el (minibuffer-completing-symbol): Make obsolete.
15502 * icomplete.el (icomplete-completions): Pass new `metadata' param to
15503 completion-try-completion.
15504
1257e755
SM
155052011-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
15506
15507 * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
15508
3767e706
LL
155092011-05-30 Leo Liu <sdl.web@gmail.com>
15510
15511 * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
5ab33f2b
LL
15512 (rcirc-print): Decode all incoming messages (bug#8744).
15513 (rcirc-decode-coding-system): Allow value nil for automatic coding
15514 system detection.
3767e706 15515
d1a5d56a
GM
155162011-06-01 Glenn Morris <rgm@gnu.org>
15517
15518 * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
15519
e8cbec34
CY
155202011-05-29 Chong Yidong <cyd@stupidchicken.com>
15521
15522 * image.el (image-animate-max-time): Allow nil and t values.
15523 Default to nil.
15524 (create-animated-image): Doc fix.
15525 (image-animate-start): Remove second arg; just use
15526 image-animate-max-time.
15527 (image-animate-timeout): Doc fix. Args changed.
15528
15529 * image-mode.el (image-toggle-display-image): Ensure that the
15530 image spec passed to the animate timer is the same object as in
58179cce 15531 the buffer's display property (Bug#6981).
e8cbec34
CY
15532 (image-transform-properties): Doc fix.
15533
15534 * image.el (image-animate-max-time): Default to nil.
15535
159daf87
MR
155362011-05-29 Martin Rudalics <rudalics@gmx.at>
15537
15538 * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
15539 entire buffer list (Bug#8184).
15540
d66c4c7c
CY
155412011-05-29 Chong Yidong <cyd@stupidchicken.com>
15542
15543 * image.el (imagemagick-types-inhibit)
15544 (imagemagick-register-types): Doc fix.
15545
80aec780
DD
155462011-05-29 Deniz Dogan <deniz@dogan.se>
15547
15548 * net/rcirc.el (rcirc): Use the user's stored encryption method by
15549 default.
15550
1dd3c2d9
CY
155512011-05-29 Chong Yidong <cyd@stupidchicken.com>
15552
15553 * select.el: Don't perform clipboard-manager saving in hooks;
15554 leave the hooks empty.
15555
60e56523
LL
155562011-05-28 Leo Liu <sdl.web@gmail.com>
15557
15558 * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
15559 (occur-mode-map): Bind occur-edit-mode. Use occur-menu-map.
15560 (occur-edit-mode): New major mode (Bug#8463).
15561 (occur-after-change-function): New function.
15562 (occur-engine): Give Occur tags a read-only property.
15563
2b1e1a22
KR
155642011-05-28 Kevin Ryde <user42@zip.com.au>
15565
15566 * subr.el (def-edebug-spec): Doc fix (Bug#8430).
15567
5d344e88
CY
155682011-05-28 Chong Yidong <cyd@stupidchicken.com>
15569
8e6ca83d
CY
15570 * bindings.el (help-echo): Make the initial non-indicator dash
15571 empty on graphical terminals (Bug#7295).
15572
5d344e88
CY
15573 * files.el (auto-mode-alist): Move config rule after the
15574 in-stripping one (Bug#8547).
15575
bfbbace7
CY
15576 * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
15577
fbeba6e2
CY
15578 * startup.el (normal-splash-screen): Remove gratuitous mode-line
15579 setting (Bug#8740).
15580
60ed8c72
AA
155812011-05-28 Alp Aker <aker@pitt.edu> (tiny change)
15582
4ac619f0
AA
15583 * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
15584 (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
15585 (Bug#8539).
60ed8c72 15586
23db196e
CY
155872011-05-28 Chong Yidong <cyd@stupidchicken.com>
15588
15589 * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
15590
5012f24c
DK
155912011-05-28 Dima Kogan <dkogan@cds.caltech.edu> (tiny change)
15592
15593 * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
15594 (hs-hide-block-at-point, hs-find-block-beginning)
15595 (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
15596 (Bug#8279).
15597
6a639b16
GM
155982011-05-28 Glenn Morris <rgm@gnu.org>
15599
15600 * startup.el (fancy-about-screen): Use standard mode line. (Bug#8740)
15601
d43eaf2c
CY
156022011-05-28 Chong Yidong <cyd@stupidchicken.com>
15603
5199bde1
CY
15604 * help-fns.el (describe-function-1): If the function is a derived
15605 major mode, print the parent mode.
15606
d43eaf2c
CY
15607 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
15608 (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
15609
423428a8
SM
156102011-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
15611
0ff8e1ba 15612 * minibuffer.el (completion--capf-wrapper): Check applicability before
0b381c7e 15613 returning non-nil for non-exclusive completion data.
0ff8e1ba
SM
15614 * progmodes/etags.el (tags-completion-at-point-function):
15615 * info-look.el (info-lookup-completions-at-point): Mark as
15616 non-exclusive.
15617 (info-complete): Adjust accordingly.
15618
423428a8
SM
15619 * info-look.el: Convert to lexical-binding and completion-at-point.
15620 (info-lookup-completions-at-point): New function.
15621 (info-complete): Use it and completion-in-region.
15622
b74aa22b
DA
156232011-05-28 Drew Adams <drew.adams@oracle.com>
15624
15625 * isearch.el: Let M-e start with point at the first mismatched char.
15626 (isearch-fail-pos): New function.
15627 (isearch-edit-string): Use it.
15628
66e2e71d
DK
156292011-05-28 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
15630
15631 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
15632
b1890b0f 156332011-05-27 Toby Cubitt <toby-predictive@dr-qubit.org>
eb95d01d
TC
15634
15635 * emacs-lisp/avl-tree.el: New avl-tree-stack datatype. Add new
15636 traversal functions for avl-trees.
15637 (avl-tree--stack): New struct.
15638 (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
15639 (avl-tree-enter): Add optional `updatefun' arg.
93a1c12a
TC
15640 (avl-tree--do-enter): Add optional `updatefun' arg.
15641 Change return value.
eb95d01d 15642 (avl-tree-delete): Add optional `test' and `nilflag' args.
93a1c12a
TC
15643 (avl-tree--do-delete): Add `test' and `nilflag' args.
15644 Change return value.
eb95d01d
TC
15645 (avl-tree-member): Add optional `nilflag'
15646 (avl-tree-member-p): New function.
15647 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
15648 (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
15649 (avl-tree-stack-empty-p): New functions.
15650
3769ddcf
TC
15651 * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
15652 avl-tree--del-balance1 and make it work both ways.
15653 (avl-tree--del-balance2): Remove.
15654 (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
15655 make it work both ways.
15656 (avl-tree--enter-balance2): Remove.
15657 (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
15658 New macros.
15659 (avl-tree--mapc, avl-tree-map): Add direction argument.
15660
eb95d01d 156612011-05-27 David Michael <fedora.dm0@gmail.com> (tiny change)
7a6b1aef
DM
15662
15663 * files.el (interpreter-mode-alist): Add rbash (bug#8745).
15664
a9f737ee
CY
156652011-05-27 Chong Yidong <cyd@stupidchicken.com>
15666
15667 * select.el: Support clipboard managers with built-in function
15668 x-clipboard-manager-save, via delete-frame-functions and
15669 kill-emacs-hook.
15670 (xselect-convert-to-targets): Add MULTIPLE target to list.
15671 (xselect-convert-to-save-targets): New function.
15672
c92a1e54
KH
156732011-05-27 Kenichi Handa <handa@m17n.org>
15674
15675 * mail/sendmail.el (mail-encode-header): Avoid double encoding by
15676 let-binding rfc2047-encode-encoded-words to nil.
15677
e145f188
GM
156782011-05-27 Glenn Morris <rgm@gnu.org>
15679
5ec8a862
GM
15680 * mail/emacsbug.el: Don't require url-util.
15681
4b29d9fb
GM
15682 * shell.el (shell-directory-tracker): Case matters. (Bug#8735)
15683
e145f188
GM
15684 * files.el (set-auto-mode):
15685 Also respect mode: entries at the end of the file. (Bug#8586)
15686
7d15102b
GM
156872011-05-26 Glenn Morris <rgm@gnu.org>
15688
98f593b8
GM
15689 * files.el (hack-local-variables-prop-line, hack-local-variables):
15690 Downcase mode names, as seems to be traditional.
27b48e63 15691 (hack-local-variables, hack-local-variables-apply): Doc fixes.
98f593b8 15692
7d15102b
GM
15693 * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
15694 (report-emacs-bug-hook): Try to validate the From address. (Bug#8038)
15695
51d5b4ec
JD
156962011-05-25 Julien Danjou <julien@danjou.info>
15697
15698 * textmodes/rst.el (rst-define-level-faces): Do not define face
15699 symbol if it is already defined.
15700
91513f63
VB
157012011-05-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
15702
15703 * play/5x5.el (5x5-new-game, 5x5-randomize):
15704 Reset 5x5-solver-output to nil when a new grid is cast.
15705 (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
15706 these debugging traces, as defmacro breaks the compiled code.
15707
4d90d6d0
DK
157082011-05-24 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
15709
15710 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
15711
e1b90ef6
LL
157122011-05-24 Leo Liu <sdl.web@gmail.com>
15713
15714 * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
15715 (vc-bzr-sha1): Adapt.
15716
d8e4b68b 15717 * sha1.el: Remove. Function `sha1' is now builtin.
e1b90ef6
LL
15718
15719 * bindings.el: Provide sha1 feature.
15720
db0406bb 157212011-05-24 Kenichi Handa <handa@m17n.org>
b8d747b9
KH
15722
15723 * mail/sendmail.el: Require `rfc2047'.
15724 (mail-insert-from-field): Do not perform RFC2047 encoding.
15725 (mail-encode-header): New function.
15726 (sendmail-send-it): Set buffer-file-coding-system of the work
4d90d6d0
DK
15727 buffer to the return value of select-message-coding-system.
15728 Call mail-encode-header.
b8d747b9
KH
15729
15730 * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
15731
db0406bb 157322011-05-24 Sean Neakums <sneakums@zork.net> (tiny change)
7261f6ce 15733
4d90d6d0
DK
15734 * mail/supercite.el (sc-default-cite-frame):
15735 Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
7261f6ce 15736
eb8a5e9b
GM
157372011-05-24 Glenn Morris <rgm@gnu.org>
15738
f8630703
GM
15739 * progmodes/python.el (brm-menu): Declare.
15740
8831bbed
GM
15741 * emulation/viper.el (viper-set-hooks): Declare.
15742
eb8a5e9b
GM
15743 * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
15744 (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
15745 (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
15746 (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
15747 (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
15748 (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
15749
a2a25d24
SM
157502011-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
15751
15752 Add an :exit-function for completion-at-point.
15753
15754 * minibuffer.el (completion--done): New fun.
15755 (completion--do-completion): Use it. New arg `expect-exact'.
15756 (minibuffer-complete, minibuffer-complete-word): Don't output message,
15757 since completion--do-completion does it for us now.
15758 (minibuffer-force-complete): Use completion--done and
15759 completion--replace. Handle sole-completion case with more care.
15760 (minibuffer-complete-and-exit): Use new `expect-exact' arg.
15761 (completion-extra-properties): New var.
15762 (completion-annotate-function): Make obsolete.
15763 (minibuffer-completion-help): Adjust accordingly.
15764 Use completion-list-insert-choice-function.
15765 (completion-at-point, completion-help-at-point):
15766 Bind completion-extra-properties.
15767 (completion-pcm-word-delimiters): Add | (for uniquify, for example).
15768 * simple.el (completion-list-insert-choice-function): New var.
15769 (completion-setup-function): Preserve it.
15770 (choose-completion): Pay attention to it, shuffle the code a bit.
15771 (choose-completion-string): New arg `insert-function'.
15772
15773 * textmodes/bibtex.el: Convert to lexical binding.
15774 (bibtex-mode-map): Use completion-at-point.
15775 (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
15776 (bibtex-completion-at-point-function): New fun, from bibtex-complete.
15777 (bibtex-complete): Define as obsolete alias.
15778 (bibtex-complete-internal): Remove.
15779 (bibtex-format-entry): Remove unused sub-group in regexp.
15780 * shell.el (shell--command-completion-data)
15781 (shell-environment-variable-completion):
15782 * pcomplete.el (pcomplete-completions-at-point):
15783 * comint.el (comint--complete-file-name-data): Use :exit-function
15784 instead of completion-table-with-terminator so it also works for
15785 choose-completion.
15786
e44e373d
SM
157872011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
15788
4f91a816
SM
15789 * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
15790
782fc819
SM
15791 * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
15792 (bug#8710).
15793
e44e373d
SM
15794 * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
15795
381987c3
KM
157962011-05-23 Ken Manheimer <ken.manheimer@gmail.com>
15797
15798 * allout.el (allout-inhibit-auto-fill-on-headline): Create new
15799 customization variable and implement: If non-nil, auto-fill will
15800 be inhibited while on topic's header line.
15801
b776bc70
VB
158022011-05-23 Vincent Belaïche <vincentb1@users.sourceforge.net>
15803
15804 * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
d8e4b68b 15805 click on. II/ Make 5x5 multisession. III/ Ensure that random grids
b776bc70
VB
15806 always have a solution in grid size = 5 cases.
15807 (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
15808 (5x5-solver-output, 5x5-log-buffer): New vars.
15809 (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
15810 Make these variables buffer local to achieve 5x5 multi-session-ness.
15811 (5x5): Set 5x5-grid-size only if SIZE is non-negative.
15812 (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
15813 (5x5-solve-suggest): New funs.
15814 (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
15815 randomize a grid so that we ensure that there is always a solution.
15816 (5x5-make-random-grid): Allow other movement than flipping.
15817
7de88b6e
KR
158182011-05-23 Kevin Ryde <user42@zip.com.au>
15819
15820 * emacs-lisp/advice.el (ad-read-advised-function):
5a5fa834 15821 Use `function-called-at-point' as the default, if it has
7de88b6e
KR
15822 advice and passes PREDICATE.
15823
b1ef1257
SM
158242011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
15825
bbca48fe
SM
15826 * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
15827 byte-compile-lambda if it's actually a lambda.
15828
b1ef1257
SM
15829 * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
15830 Fix function quoting. Use backquote better.
15831
92a9cc65
YS
158322011-05-22 Yuanle Song <sylecn@gmail.com>
15833
15834 * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
15835 matching (Bug#8516).
15836
f0fb8059
JA
158372011-01-22 Jari Aalto <jari.aalto@cante.net>
15838
15839 * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
15840 different face (Bug#8178).
15841
d5b44c93
CY
158422011-05-22 Chong Yidong <cyd@stupidchicken.com>
15843
15844 * vc/diff-mode.el (diff-changed): Don't use terminal specs for
15845 defface (Bug#8144).
15846
79106a44
SM
158472011-05-22 Stefan Monnier <monnier@iro.umontreal.ca>
15848
9c848d8a
SM
15849 * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
15850 funcall as well (bug#8712). Warn when performing those conversions.
15851 * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
15852
79106a44
SM
15853 * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
15854
88dfa756
GM
158552011-05-22 Glenn Morris <rgm@gnu.org>
15856
15857 * files.el (hack-local-variables-prop-line): Small simplifications.
15858 (hack-local-variables, hack-local-variables-prop-line):
15859 If MODE-ONLY, return the mode, rather than just `t'.
15860
b7cf2c79
SM
158612011-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
15862
15863 * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
15864
3f1a8558
GM
158652011-05-21 Glenn Morris <rgm@gnu.org>
15866
7e4ccca3
GM
15867 * files.el (hack-local-variables-prop-line, hack-local-variables):
15868 If only interested in the mode, don't bother doing the other stuff.
15869
637d46ca
GM
15870 * image-mode.el (image-after-revert-hook):
15871 Redraw all frames on which the image is visible. (Bug#8567)
15872
973d955b
GM
15873 * dired-aux.el (dired-touch-initial): Just use current-time. (Bug#6887)
15874
3f1a8558
GM
15875 * wid-edit.el (widget-checklist-match-inline):
15876 Fix 2011-04-19 change. (Bug#8649)
15877
96479927
SM
158782011-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
15879
1dcf791f
SM
15880 * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
15881 Also allow singlespace after single-letter capitals followed by a dot.
15882
96479927
SM
15883 * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
15884 enabled. Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
15885
35fd0881
N
158862011-05-20 Nix <nix@esperi.org.uk>
15887
15888 * files.el (basic-save-buffer-2):
15889 Fix handling of break-hardlink-on-save with non-existent files.
15890
82745640
DD
158912011-05-19 Deniz Dogan <deniz@dogan.se>
15892
15893 * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
9ff90d99 15894 (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
82745640 15895
4a720484
GM
158962011-05-19 Glenn Morris <rgm@gnu.org>
15897
d1f21341
GM
15898 * progmodes/f90.el (f90-type-def-re):
15899 Handle "type, bind(c)". (Bug#8691)
15900
4a720484
GM
15901 * emacs-lisp/autoload.el (batch-update-autoloads):
15902 Set autoload-excludes by parsing loadup.el rather than Makefiles.
15903
2fb0a219
MA
159042011-05-18 Michael Albinus <michael.albinus@gmx.de>
15905
15906 * net/tramp.el (tramp-process-actions): Set "first-password-request"
15907 property for the correct connection in case of multihops.
15908
e565dd37
GM
159092011-05-18 Glenn Morris <rgm@gnu.org>
15910
c2571358 15911 * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
c136e5cd
GM
15912 * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
15913
e565dd37
GM
15914 Rationalize calendar handling of day and month abbrev-arrays.
15915 * calendar/calendar.el (calendar-customized-p): New function.
15916 (calendar-abbrev-construct, calendar-make-alist): Change what it does.
15917 (calendar-day-name-array, calendar-month-name-array): Doc fix.
15918 Add :set function.
15919 (calendar-abbrev-length, calendar-day-abbrev-array)
15920 (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
15921 (calendar-day-abbrev-array, calendar-month-abbrev-array):
15922 Elements may no longer be nil.
15923 (calendar-day-name, calendar-month-name):
15924 Update for changed nature of abbrev arrays.
15925 * calendar/diary-lib.el (diary-name-pattern):
15926 Update for changed nature of abbrev arrays.
15927 (diary-mark-entries-1): Update calendar-make-alist calls.
15928 (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
15929 * calendar/cal-html.el (cal-html-day-abbrev-array):
15930 Simply inherit from calendar-day-abbrev-array.
15931
1d99a745
SM
159322011-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
15933
15934 * progmodes/grep.el (grep-mode): Disable default
15935 compilation-directory-matcher setting (bug#8684).
15936
7c1d9aa0
MA
159372011-05-17 Michael Albinus <michael.albinus@gmx.de>
15938
15939 * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
15940 instead of "head" and "tail". There were problems with SunOS 5.9,
15941 and it performs better.
15942
3952e9d8
GM
159432011-05-17 Glenn Morris <rgm@gnu.org>
15944
2dd12e7f
GM
15945 * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
15946
e4157b9c
GM
15947 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
15948 Replace obsolete function.
15949
8e249bbd
GM
15950 * shell.el (pcomplete-parse-arguments-function): Declare.
15951
3952e9d8
GM
15952 * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
15953 (appt-display-diary, appt-display-interval, appt-prev-comp-time)
15954 (appt-check): Doc fixes.
15955 (appt-disp-window-function, appt-delete-window-function):
15956 Remove needless special case in custom :type.
15957 (appt-display-count): Default to 0, not nil.
15958 (appt-check): Reset appt-display-count to 0, not nil.
15959
c71a0d48 159602011-05-17 Juanma Barranquero <lekktu@gmail.com>
165fd2df 15961
c71a0d48
GM
15962 * progmodes/python.el (python-font-lock-keywords):
15963 Add the Python 3.X keyword "nonlocal" (bug#8639).
165fd2df 15964
31d55be9
SM
159652011-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
15966
15967 * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
15968
3bfacb2f
KR
159692011-05-16 Kevin Ryde <user42@zip.com.au>
15970
15971 * info-look.el (makefile-automake-mode): New setups, looking in
15972 automake manual, then makefile-mode.
15973 (makefile-mode): Remove automake manual, have it just in
15974 makefile-automake-mode since there's various things different or
15975 not relevant to plain make.
15976 (makefile-mode): Remove "other-modes" non-existent automake-mode,
15977 believe a hypothetical automake-mode would go to makefile-mode,
15978 not the other way around.
15979
c8e83751
CY
159802011-05-15 Chong Yidong <cyd@stupidchicken.com>
15981
5e9e35cd
CY
15982 * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
15983 hunk-end tags (Bug#8672).
15984
c8e83751
CY
15985 * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
15986 vc-annotate-show-diff-revision-at-line (Bug#8671).
15987
50b23e5a
GM
159882011-05-14 Glenn Morris <rgm@gnu.org>
15989
7210a739
GM
15990 * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
15991 in the middle of an existing one with multiple authors. (Bug#8645)
375cb676
GM
15992 (change-log-font-lock-keywords): Also handle multiple author lines
15993 with leading tabs. (Bug#8644)
7210a739 15994
4691905a
GM
15995 * calendar/appt.el (appt-check): Rename some local variables.
15996 Some simplification/reordering.
15997
50b23e5a
GM
15998 * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
15999 (feedmail-sendmail-f-doesnt-sell-me-out)
16000 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
16001 (feedmail-debug-sit-for, feedmail-queue-express-hook)
16002 (feedmail-queue-runner-message-sender): Set :version.
1aa64307
GM
16003 (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
16004 (bbdb-dwim-net-address, vm-mail): Declare.
50b23e5a
GM
16005 (feedmail-binmail-gnulinuxish-template):
16006 Rename from feedmail-binmail-linuxish-template.
16007 (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
16008 Use insert-buffer-substring.
16009
215cda7c
BC
160102011-05-14 Bill Carpenter <bill@carpenter.org>
16011
16012 * mail/feedmail.el (feedmail-patch-level): Increase.
16013 (feedmail-debug): New custom group.
16014 (feedmail-confirm-outgoing-timeout)
16015 (feedmail-sendmail-f-doesnt-sell-me-out)
16016 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
16017 (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
16018 (feedmail-sender-line, feedmail-from-line)
16019 (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
c2571358 16020 (feedmail-spray-this-address)
215cda7c
BC
16021 (feedmail-spray-address-fiddle-plex-list)
16022 (feedmail-queue-use-send-time-for-date)
16023 (feedmail-queue-use-send-time-for-message-id)
16024 (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
16025 (feedmail-buffer-eating-function):
16026 Doc fixes.
16027 (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
16028 (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
16029 (feedmail-message-action-scroll-down): New functions.
16030 (feedmail-queue-directory, feedmail-queue-draft-directory):
16031 Use expand-file-name.
16032 (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
16033 Remove C-v help entry.
16034 (feedmail-queue-buffer-file-name): New variable.
16035 (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
16036 (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
16037 (feedmail-message-action-send-strong, feedmail-message-action-edit)
16038 (feedmail-message-action-draft, feedmail-message-action-draft-strong)
16039 (feedmail-message-action-queue, feedmail-message-action-queue-strong)
16040 (feedmail-message-action-toggle-spray)
16041 (feedmail-run-the-queue-no-prompts)
16042 (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
16043 (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
16044 (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
16045 (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
16046 (feedmail-envelope-deducer, feedmail-fiddle-from)
16047 (feedmail-fiddle-sender, feedmail-default-date-generator)
16048 (feedmail-fiddle-date, feedmail-fiddle-message-id)
16049 (feedmail-fiddle-spray-address)
16050 (feedmail-fiddle-list-of-spray-fiddle-plexes)
16051 (feedmail-fiddle-list-of-fiddle-plexes)
16052 (feedmail-fill-to-cc-function, feedmail-fill-this-one)
16053 (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
16054 (feedmail-queue-runner-message-sender, feedmail-binmail-template):
16055 Change default. Doc fix.
16056 (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
16057 (feedmail-binmail-linuxish-template): New constant.
16058 (feedmail-buffer-to-sendmail): Doc fix. Add debug call.
16059 Respect feedmail-sendmail-f-doesnt-sell-me-out.
16060 (feedmail-send-it): Add debug call.
16061 Use feedmail-queue-buffer-file-name, and
16062 feedmail-send-it-immediately-wrapper.
16063 (feedmail-message-action-send): Add debug call.
16064 Use feedmail-send-it-immediately-wrapper.
16065 (feedmail-queue-express-to-queue): Add debug call.
16066 Run feedmail-queue-express-hook.
16067 (feedmail-message-action-help): Add debug call. Use feedmail-p-h-b-n.
16068 (feedmail-message-action-help-blat):
16069 Rename from feedmail-queue-send-edit-prompt-help-first.
16070 (feedmail-run-the-queue): Add debug call. Set buffer-file-type.
16071 Check line-endings. Handle errors better.
16072 (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
16073 Doc fix. Add debug call.
16074 (feedmail-queue-send-edit-prompt): Doc fix. Add debug call.
16075 Use feedmail-queue-send-edit-prompt-inner.
16076 (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
16077 (feedmail-queue-send-edit-prompt-inner): New function, extracted
16078 from feedmail-queue-send-edit-prompt.
16079 (feedmail-queue-send-edit-prompt-help)
16080 (feedmail-queue-send-edit-prompt-help-later): Remove functions.
16081 (feedmail-tidy-up-slug): Add debug call.
16082 Respect feedmail-queue-slug-suspect-regexp.
16083 (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
16084 (feedmail-dump-message-to-queue): Add debug call.
16085 Expand queue-directory.
16086 (feedmail-dump-message-to-queue): Change message slightly.
16087 Use feedmail-say-chatter.
16088 (feedmail-rfc822-date): Add debug call. Bind system-time-locale.
16089 (feedmail-send-it-immediately-wrapper): New function.
16090 (feedmail-send-it-immediately): Add debug calls. Use let not let*.
16091 Insert empty string rather than newline. Handle full-frame case.
16092 Use catch/throw. Use feedmail-say-chatter.
16093 (feedmail-fiddle-from): Try mail-host-address.
16094 (feedmail-default-message-id-generator): Doc fix.
16095 Bind system-time-locale. Handle missing end.
16096 (feedmail-fiddle-x-mailer): Add debug call.
16097 Handle feedmail-x-mailer-line being nil.
16098 (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
16099 Add debug call. Use buffer-substring-no-properties.
16100 (feedmail-say-debug, feedmail-say-chatter): New functions.
16101 (feedmail-find-eoh): Give an explicit error.
16102
42c7e61e
UJ
161032011-05-13 Ulf Jasper <ulf.jasper@web.de>
16104
c2571358 16105 * net/newst-treeview.el (newsticker-treeview-face): Change default
42c7e61e 16106 family from helvetica to sans.
c2571358 16107 (newsticker-treeview-tool-bar-map): Move tool-bar icons to
42c7e61e
UJ
16108 etc/images/newsticker.
16109
c2571358 16110 * net/newst-reader.el (newsticker-feed-face): Change default
42c7e61e
UJ
16111 family from helvetica to sans.
16112
16113 * net/newst-plainview.el (newsticker-new-item-face)
16114 (newsticker-old-item-face, newsticker-immortal-item-face)
16115 (newsticker-obsolete-item-face, newsticker-date-face)
c2571358 16116 (newsticker-statistics-face): Change default family from
42c7e61e 16117 helvetica to sans.
c2571358 16118 (newsticker--plainview-tool-bar-map): Move tool-bar icons to
42c7e61e
UJ
16119 etc/images/newsticker.
16120
5d3385a0
JB
16121 * net/newst-backend.el (newsticker--do-run-auto-mark-filter)
16122 (newsticker--process-auto-mark-filter-match): Tell user about
42c7e61e
UJ
16123 auto-marking.
16124
8497a297
DV
161252011-05-13 Didier Verna <didier@xemacs.org>
16126
16127 Common Lisp indentation improvements on defmethod and lambda-lists.
4d61f28d
JB
16128 * emacs-lisp/cl-indent.el: Advertise the changes and remove obsolete
16129 TODO entries.
8497a297
DV
16130 (lisp-lambda-list-keyword-parameter-indentation)
16131 (lisp-lambda-list-keyword-parameter-alignment)
16132 (lisp-lambda-list-keyword-alignment): New customizable user options.
16133 (lisp-indent-defun-method): Improve docstring.
16134 (extended-loop-p): Fix comment.
16135 (lisp-indent-lambda-list-keywords-regexp): New variable.
16136 (lisp-indent-lambda-list): New function.
16137 (lisp-indent-259): Use it.
16138 (lisp-indent-defmethod): Support for more than one
16139 method qualifier and properly indent methods lambda-lists.
16140 (defgeneric): Provide a missing common-lisp-indent-function property.
16141
f278f87f
SM
161422011-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
16143
16144 * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
16145 bounds for the empty string (bug#8667).
16146
5233edd7
GM
161472011-05-13 Glenn Morris <rgm@gnu.org>
16148
5237a44f
GM
16149 * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
16150
8340026c 16151 * mail/sendmail.el (sendmail-program): Try executable-find first.
f278f87f 16152 (sendmail-send-it): `sendmail-program' cannot be unbound.
8340026c 16153
5233edd7 16154 * calendar/appt.el (appt-make-list): Simplify.
4accbca6 16155 (appt-time-msg-list): Doc fix.
a5464014 16156 (appt-check): Change mode-line message at the time of the appointment.
5233edd7 16157
92d10796
AS
161582011-05-12 Andreas Schwab <schwab@linux-m68k.org>
16159
16160 * progmodes/ld-script.el (ld-script-keywords)
16161 (ld-script-builtins): Update keywords list.
16162
914a0ae1
SM
161632011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
16164
c89be45f
SM
16165 * progmodes/grep.el (grep-filter): Don't trip on partial lines.
16166
914a0ae1
SM
16167 * shell.el (shell-completion-vars): New function.
16168 (shell-mode):
16169 * simple.el (read-shell-command): Use it.
16170 (blink-matching-open): No need for " [...]" in minibuffer-message.
16171
98dc3df3
GM
161722011-05-12 Glenn Morris <rgm@gnu.org>
16173
16174 * calendar/appt.el (appt-now-displayed): Remove pointless variable.
16175 (appt-check): Simplify.
16176
d2fc7e3d 161772011-05-12 Eli Zaretskii <eliz@gnu.org>
0e39ec21 16178
4d61f28d 16179 * vc/smerge-mode.el (smerge-resolve): Use null-device rather than a
0e39ec21
EZ
16180 literal "/dev/null".
16181
d2fc7e3d 161822011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
3f254caa
SM
16183
16184 * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
16185 Fix typo.
16186
d2fc7e3d 161872011-05-12 Ralph Schleicher <rs@ralph-schleicher.de>
6eea50c7 16188
3f254caa
SM
16189 * progmodes/which-func.el (which-function):
16190 Use add-log-current-defun instead of add-log-current-defun-function,
6eea50c7
RS
16191 which might not be defined (Bug#8260).
16192
d45885f7
GM
161932011-05-12 Glenn Morris <rgm@gnu.org>
16194
16195 * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
16196 Let byte-compile-initial-macro-environment always take precedence.
16197
488086f4
SM
161982011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
16199
16200 * net/rcirc.el: Add support for SSL/TLS connections.
16201 (rcirc-server-alist): New field `encryption'.
16202 (rcirc): Check `encryption' settings.
16203 (rcirc-connect): New arg `encryption'. Use open-network-stream.
16204 Merge make-local-variable into `set'.
16205 (rcirc--connection-open-p): New function.
16206 (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
16207 the process is not a network process (e.g. running gnutls-cli).
16208 (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
16209 Make rcirc-(en|de)code-coding-system local here.
16210 (rcirc-mode): Merge make-local-variable into `set'.
16211 (rcirc-parent-buffer): Make permanent buffer-local.
16212 (rcirc-multiline-minor-mode): Don't do it here.
16213 (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
16214 there's no server buffer.
16215
7d3b9d44
GM
162162011-05-11 Glenn Morris <rgm@gnu.org>
16217
f64049c6
GM
16218 * newcomment.el (comment-kill): Prefix "unused" local.
16219
93c9df73
GM
16220 * term/w32console.el (get-screen-color): Declare.
16221
7d3b9d44
GM
16222 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
16223 Handle symbol elements of byte-compile-initial-macro-environment.
16224
9e2dd53f
LL
162252011-05-10 Leo Liu <sdl.web@gmail.com>
16226
488086f4
SM
16227 * bookmark.el (bookmark-bmenu-mode-map):
16228 Bind bookmark-bmenu-search to `/'.
8b340240 16229
9e2dd53f 16230 * mail/footnote.el: Convert to utf-8 encoding.
b4044869
LL
16231 (footnote-unicode-string, footnote-unicode-regexp): New variable.
16232 (Footnote-unicode): New function.
16233 (footnote-style-alist): Add unicode style to the list.
16234 (footnote-style): Doc fix.
9e2dd53f 16235
79b70037
GM
162362011-05-10 Jim Meyering <meyering@redhat.com>
16237
16238 Fix doubled-word typos.
16239 * international/quail.el (quail-insert-kbd-layout): and and -> and
16240 * kermit.el: and and -> and
16241 * net/ldap.el (ldap-search-internal): to to -> to
16242 * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
16243 * progmodes/js.el (js-mode): and and -> and
16244 * textmodes/artist.el (artist-move-to-xy): at at -> at
16245 (artist-draw-region-trim-line-endings): if if -> if
16246 And Safetyc -> Safety.
16247 * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
16248
b8f82dc1 162492011-05-10 Glenn Morris <rgm@gnu.org>
f1a71c6e 16250 Stefan Monnier <monnier@iro.umontreal.ca>
b8f82dc1
GM
16251
16252 * files.el (hack-one-local-variable-eval-safep):
16253 Consider "eval: (foo-mode)" to be safe. (Bug#8613)
16254
4f99f44b
GM
162552011-05-10 Glenn Morris <rgm@gnu.org>
16256
16257 * calendar/diary-lib.el (diary-list-entries-hook)
16258 (diary-mark-entries-hook, diary-nongregorian-listing-hook)
16259 (diary-nongregorian-marking-hook, diary-list-entries)
16260 (diary-include-other-diary-files, diary-mark-entries)
16261 (diary-mark-included-diary-files): Doc fixes.
16262
84f29e6b
JB
162632011-05-09 Juanma Barranquero <lekktu@gmail.com>
16264
16265 * misc.el: Require tabulated-list.el during compilation.
16266
9bedd73a
CY
162672011-05-09 Chong Yidong <cyd@stupidchicken.com>
16268
488086f4
SM
16269 * progmodes/compile.el (compilation-start):
16270 Run compilation-filter-hook for the async case too.
9bedd73a
CY
16271 (compilation-filter-hook): Doc fix.
16272
797c735c
DD
162732011-05-09 Deniz Dogan <deniz@dogan.se>
16274
16275 * wdired.el: Remove outdated installation comment. Fix usage
16276 comment.
16277
5f4b1dfe
JB
162782011-05-09 Juanma Barranquero <lekktu@gmail.com>
16279
16280 * misc.el: Implement new command `list-dynamic-libraries'.
16281 (list-dynamic-libraries--loaded-only-p): New variable.
16282 (list-dynamic-libraries--refresh): New function.
16283 (list-dynamic-libraries): New command.
16284
4c44026c
CY
162852011-05-09 Chong Yidong <cyd@stupidchicken.com>
16286
488086f4
SM
16287 * progmodes/compile.el (compilation-error-regexp-alist-alist):
16288 Fix the ant regexp to handle end-line and end-column info from jikes.
4c44026c
CY
16289 Re-introduce maven regexp. Give the ruby-Test::Unit regexp a
16290 higher priority to avoid clobbering by gnu.
16291
027f966d
CY
162922011-05-08 Chong Yidong <cyd@stupidchicken.com>
16293
16294 * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
16295 if the face has existing theme settings (Bug#8454).
16296
085f5d7d
CY
162972011-05-08 Ralph Schleicher <rs@ralph-schleicher.de>
16298
488086f4
SM
16299 * progmodes/perl-mode.el (perl-imenu-generic-expression):
16300 Only match variables declared via `my' or `our' (Bug#8261).
085f5d7d 16301
2a86a00c
RS
16302 * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
16303 special file names `.' and `..' (Bug#8259).
16304
d9c54a06
CY
163052011-05-08 Chong Yidong <cyd@stupidchicken.com>
16306
488086f4
SM
16307 * progmodes/grep.el (grep-mode-font-lock-keywords):
16308 Remove buffer-changing entries.
d9c54a06
CY
16309 (grep-filter): New function.
16310 (grep-mode): Add it to compilation-filter-hook.
16311
16312 * progmodes/compile.el (compilation-filter-hook)
16313 (compilation-filter-start): New defvars.
16314 (compilation-filter): Call compilation-filter-hook prior to
16315 updating the process mark.
16316
c4662635
SM
163172011-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
16318
16319 * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
16320
b0512a1d
EZ
163212011-05-07 Eli Zaretskii <eliz@gnu.org>
16322
605c9376
EZ
16323 * mail/sendmail.el (send-mail-function): On MS-Windows, default to
16324 mailclient-send-it even if window-system is nil. (Bug#8595)
16325
c4662635
SM
16326 * term/w32console.el (terminal-init-w32console):
16327 Call get-screen-color and use its output to set the frame
b0512a1d
EZ
16328 background-mode. (Bug#8597)
16329
d1dc2cc2
SM
163302011-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
16331
16332 Make bytecomp.el understand that defmethod defines funs (bug#8631).
16333 * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
16334 New functions.
16335 (defgeneric, eieio--defmethod): Use them.
16336 (eieio-defgeneric): Remove.
16337 (defmethod): Call defgeneric in a way visible to the byte-compiler.
16338
915d1300
GM
163392011-05-07 Glenn Morris <rgm@gnu.org>
16340
a3961c3e
GM
16341 * calendar/timeclock.el (timeclock-log-data): Remove unused local.
16342 Use let rather than let*.
16343 (timeclock-find-discrep): Remove unused local.
16344
314347b9
GM
16345 * calendar/diary-lib.el (diary-comment-start): Doc fix.
16346
915d1300
GM
16347 * calendar/appt.el (appt-time-msg-list): Doc fix.
16348
275b59b0
NF
163492011-05-06 Noah Friedman <friedman@splode.com>
16350
16351 * apropos.el (apropos-print-doc): Only use
16352 emacs-lisp-docstring-fill-column when it is bound to an integer,
16353 per that variable's documentation.
16354
6c19f744
SM
163552011-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
16356
16357 * lpr.el (print-region-1): Echo lpr-program's output, so error messages
d1dc2cc2 16358 and warnings are not silently discarded (e.g. use -d instead of -P).
6c19f744 16359
60f884b2
GM
163602011-05-06 Glenn Morris <rgm@gnu.org>
16361
5006e634
GM
16362 * calendar/appt.el (appt-message-warning-time): Doc fix.
16363 (appt-warning-time-regexp): New option.
16364 (appt-make-list): Respect appt-message-warning-time.
16365
548d0a63
GM
16366 * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
16367 New options.
16368 (diary-add-to-list): Strip comments from the displayed string.
16369 (diary-mode): Set comment-start and comment-end.
16370
60f884b2
GM
16371 * vc/diff-mode.el (smerge-refine-subst): Declare.
16372 (diff-refine-hunk): Don't require smerge-mode when compiling.
16373
989681bb
JB
163742011-05-06 Juanma Barranquero <lekktu@gmail.com>
16375
16376 * simple.el (list-processes): Return nil as the docstring says.
16377
a6bc05e1
MA
163782011-05-05 Michael Albinus <michael.albinus@gmx.de>
16379
16380 * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
16381 to "".
16382 (ange-ftp-write-region, ange-ftp-insert-file-contents)
16383 (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
16384 determining of binary transfer. (Bug#7383)
16385
23c22e9a
MA
163862011-05-05 Michael Albinus <michael.albinus@gmx.de>
16387
c4662635
SM
16388 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
16389 Fix port computation bug. (Bug#8618)
23c22e9a 16390
0bff894f
GM
163912011-05-05 Glenn Morris <rgm@gnu.org>
16392
b8296902
GM
16393 * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
16394
1f522ce8
GM
16395 * simple.el (shell-dynamic-complete-functions)
16396 (comint-dynamic-complete-functions): Declare.
16397
cf5bee67
GM
16398 * net/network-stream.el (gnutls-negotiate):
16399 * simple.el (tabulated-list-print): Fix declarations.
16400
16401 * progmodes/gud.el (syntax-symbol, syntax-point):
16402 Remove unnecessary and incorrect declarations.
16403
0bff894f
GM
16404 * emacs-lisp/check-declare.el (check-declare-scan):
16405 Handle byte-compile-initial-macro-environment in bytecomp.el
16406
9869b3ae
SM
164072011-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
16408
16409 Fix earlier half-done eieio-defmethod change (bug#8338).
16410 * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
16411 Streamline and change calling convention.
16412 (defmethod): Adjust accordingly and simplify.
16413 (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
16414 new eieio--defmethod.
16415 (slot-boundp): Minor CSE simplification.
16416
9c1d5ac5
MZ
164172011-05-05 Milan Zamazal <pdm@zamazal.org>
16418
16419 * progmodes/glasses.el (glasses-separate-capital-groups): New option.
16420 (glasses-make-readable): Use glasses-separate-capital-groups.
16421
455c834e
JB
164222011-05-05 Juanma Barranquero <lekktu@gmail.com>
16423
16424 * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
16425 (warning-series): Doc fix.
16426 (display-warning): Don't try to create the buffer if we just found it.
16427
9ed7c8cb
CY
164282011-05-04 Chong Yidong <cyd@stupidchicken.com>
16429
16430 * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
16431 (autoload-find-generated-file): New function.
16432 (generate-file-autoloads): Bind generated-autoload-file to
16433 buffer-file-name.
9869b3ae
SM
16434 (update-file-autoloads, update-directory-autoloads):
16435 Use autoload-find-generated-file. If called interactively, prompt for
9ed7c8cb
CY
16436 output file (Bug#7989).
16437 (batch-update-autoloads): Doc fix.
16438
0898ca10
JB
164392011-05-04 Juanma Barranquero <lekktu@gmail.com>
16440
16441 * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
16442
31dfb76c
GM
164432011-05-04 Glenn Morris <rgm@gnu.org>
16444
f330b642
GM
16445 * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
16446 function, so it follows changes in calendar-date-style.
16447 (diary-fancy-date-matcher): New function.
16448 (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
16449 (diary-fancy-font-lock-fontify-region-function):
16450 Use diary-fancy-date-pattern as a function.
16451
31dfb76c
GM
16452 * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
16453 non-numbers for `year' etc pseudo-variables. (Bug#8583)
16454
48e79d6a
TZ
164552011-05-04 Teodor Zlatanov <tzz@lifelogs.com>
16456
16457 * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
16458 instead of positional arguments. Allow :keylist and :crlfiles
16459 arguments.
16460 (open-gnutls-stream): Call it.
16461
16462 * net/network-stream.el (network-stream-open-starttls): Adjust to
16463 call `gnutls-negotiate' with :process and :hostname arguments.
16464
dd5a5ee0
SM
164652011-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
16466
ef80fc09
SM
16467 * minibuffer.el (completion--message): New function.
16468 (completion--do-completion, minibuffer-complete)
16469 (minibuffer-force-complete, minibuffer-complete-word): Use it.
16470 (completion--do-completion): Don't ignore completion-auto-help when in
16471 icomplete-mode.
16472
dd5a5ee0
SM
16473 * whitespace.el (whitespace-trailing-regexp): Don't rely on the
16474 internal encoding (e.g. tibetan zero is not whitespace).
16475 (global-whitespace-mode): Prefer save-current-buffer.
16476 (whitespace-trailing-regexp): Remove useless save-match-data.
16477 (whitespace-empty-at-bob-regexp): Minor simplification.
16478
b7d22a83
CY
164792011-05-03 Chong Yidong <cyd@stupidchicken.com>
16480
16481 * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
16482
5192af46
AM
164832011-05-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
16484
16485 * textmodes/ispell.el (ispell-add-per-file-word-list):
cdc4a047 16486 Use `concat' to create string for insertion.
5192af46 16487
5767d190
SM
164882011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
16489
16490 * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
16491 Avoid open-line which runs post-self-insert-hook.
16492 (bibtex-fill-entry): Remove unused `end' var.
16493
bf242939
AM
164942011-05-03 Dirk Ullrich <dirk.ullrich@googlemail.com> (tiny change)
16495
5767d190
SM
16496 * textmodes/ispell.el (ispell-add-per-file-word-list):
16497 Protect against `nil' value of `comment-start' (Bug#8579).
bf242939 16498
25666126
LL
164992011-05-03 Leo Liu <sdl.web@gmail.com>
16500
16501 * isearch.el (isearch-yank-pop): New command.
5767d190 16502 (isearch-mode-map): Bind it to `M-y'.
25666126
LL
16503 (isearch-forward): Mention it.
16504
52d3c2d0
SM
165052011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
16506
1bcace58
SM
16507 * simple.el (minibuffer-complete-shell-command): Remove.
16508 (minibuffer-local-shell-command-map): Use completion-at-point.
16509 (read-shell-command): Setup completion vars here instead.
16510 (read-expression-map): Bind TAB to symbol completion.
16511
52d3c2d0
SM
16512 * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
16513 error directly rather via storing it into `results'.
16514
35813471
LL
165152011-05-02 Leo Liu <sdl.web@gmail.com>
16516
16517 * vc/diff.el: Fix description.
16518
e793a940
LMI
165192011-05-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
16520
16521 * server.el (server-eval-at): New function.
16522
8de66e05
LMI
165232011-05-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
16524
16525 * net/network-stream.el (open-network-stream): Take a :nowait
16526 parameter and pass it on to `make-network-process'.
16527 (network-stream-open-plain): Ditto.
16528
dcb79f20
AS
165292011-04-30 Andreas Schwab <schwab@linux-m68k.org>
16530
16531 * faces.el (face-spec-set-match-display): Don't match toolkit
16532 options on terminal frames.
16533
14a7fbd8
SM
165342011-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
16535
7eabc1be
SM
16536 * progmodes/pascal.el: Use lexical binding.
16537 (pascal-mode-map): Remove author preferences.
16538
14a7fbd8
SM
16539 * pcomplete.el (pcomplete-std-complete): Don't abuse
16540 completion-at-point.
16541
50f84510
JB
165422011-04-28 Juanma Barranquero <lekktu@gmail.com>
16543
6e087a44
JB
16544 * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
16545 removing code that has been dead since 1991 or so.
16546
50f84510
JB
16547 * startup.el (command-line): When warning about "_emacs", use a
16548 delayed warning to allow the user to filter it out.
16549
0ba690bd
DD
165502011-04-28 Deniz Dogan <deniz@dogan.se>
16551
16552 * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
16553 user has not joined.
16554
08abfaad
SM
165552011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
16556
16557 * pcomplete.el (pcomplete-completions-at-point): Return nil if there
16558 aren't any completions at point.
16559
638f053a
JB
165602011-04-28 Juanma Barranquero <lekktu@gmail.com>
16561
16562 * subr.el (display-delayed-warnings): New function.
16563 (delayed-warnings-hook): New variable.
16564
8fff8daa
SM
165652011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
16566
08abfaad
SM
16567 * minibuffer.el (completion-at-point, completion-help-at-point):
16568 Don't presume that a given completion-at-point-function will always
16569 use the same calling convention.
16570
8fff8daa
SM
16571 * pcomplete.el (pcomplete-completions-at-point):
16572 Obey pcomplete-ignore-case. Don't call pcomplete-norm-func unless
16573 pcomplete-seen is non-nil.
16574 (pcomplete-comint-setup): Also recognize the new comint/shell
16575 completion functions.
16576 (pcomplete-do-complete): Don't call pcomplete-norm-func unless
16577 pcomplete-seen is non-nil.
16578
841a1577 165792011-04-27 Niels Giesen <niels.giesen@gmail.com>
211ec907 16580
841a1577 16581 * calendar/icalendar.el (diary-lib): Add require statement.
211ec907 16582 (icalendar--create-uid): Read out a uid from a text-property on
841a1577 16583 the first character in the entry. This allows for code to add its
211ec907
UJ
16584 own uid to the entry.
16585 (icalendar--convert-float-to-ical): Add export of
16586 `diary-float'-entries save for those with the optional DAY
16587 argument.
16588
2a782793
DC
165892011-04-27 Daniel Colascione <dan.colascione@gmail.com>
16590
16591 * subr.el (shell-quote-argument): Use alternate escaping strategy
16592 when we spot a variable reference in a string.
16593
0438ce91
DC
165942011-04-26 Daniel Colascione <dan.colascione@gmail.com>
16595
16596 * cus-start.el (all): Define customization for debug-on-event.
16597
841a1577 165982011-04-26 Daniel Colascione <dan.colascione@gmail.com>
8f91bf93
DC
16599
16600 * subr.el (shell-quote-argument): Escape correctly under Windows.
16601
d090ed6c
SM
166022011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
16603
16604 * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
16605
bfd31217
MA
166062011-04-25 Michael Albinus <michael.albinus@gmx.de>
16607
d090ed6c
SM
16608 * net/tramp.el (tramp-process-actions): Add POS argument.
16609 Delete region between POS and (pos).
bfd31217 16610
d090ed6c
SM
16611 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
16612 Use `nil' position in `tramp-process-actions' call.
bfd31217
MA
16613 (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
16614
16615 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
16616 position in `tramp-process-actions' call.
16617
16618 * net/trampver.el: Update release number.
16619
e92f3bd3
SM
166202011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
16621
850256b5
SM
16622 * custom.el (defcustom): Obey lexical-binding.
16623
e92f3bd3
SM
16624 Fix octave-inf completion problems reported by Alexander Klimov.
16625 * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
16626 Inherit from octave-mode-syntax-table.
16627 (inferior-octave-mode): Set info-lookup-mode.
16628 (inferior-octave-completion-at-point): New function.
16629 (inferior-octave-complete): Use it and completion-in-region.
16630 (inferior-octave-dynamic-complete-functions): Use it as well, and use
16631 comint-filename-completion.
16632 * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
16633 symbol elements which shouldn't be word elements.
16634 (octave-font-lock-keywords, octave-beginning-of-defun)
16635 (octave-function-header-regexp): Adjust regexps accordingly.
16636 (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
16637
cd22b309
JB
166382011-04-25 Juanma Barranquero <lekktu@gmail.com>
16639
16640 * net/gnutls.el (gnutls-errorp): Declare before first use.
16641
8b492194
TZ
166422011-04-24 Teodor Zlatanov <tzz@lifelogs.com>
16643
16644 * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
16645 verify-error, and verify-hostname-error parameters. Check whether
cd22b309 16646 default trustfile exists before going to use it. Add missing
5a5fa834 16647 argument to gnutls-message-maybe call. Return value.
8b492194
TZ
16648 Reported by Claudio Bley <claudio.bley@gmail.com>.
16649 (open-gnutls-stream): Add usage example.
16650
16651 * net/network-stream.el (network-stream-open-starttls): Give host
16652 parameter to `gnutls-negotiate'.
16653 (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
8f91bf93 16654 * subr.el (shell-quote-argument): Escape correctly under Windows.
8b492194 16655
841a1577 166562011-04-24 Daniel Colascione <dan.colascione@gmail.com>
05842630 16657
cd22b309
JB
16658 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
16659 Use correct match group (bug#8438).
05842630 16660
3ba7869c
CY
166612011-04-24 Chong Yidong <cyd@stupidchicken.com>
16662
512e3ae1
CY
16663 * emacs-lisp/package.el (package-built-in-p): Fix typo.
16664 (package-menu--generate): New arg specifying packages to show.
16665 (package-menu-refresh, package-menu-execute, list-packages):
16666 Callers changed.
16667 (package-show-package-list): New function, replacing deleted
16668 package--list-packages (renamed because it is non-internal).
16669
16670 * finder.el (finder-list-matches): Use package-show-package-list
16671 instead of deleted package--list-packages.
16672
e92f3bd3
SM
16673 * vc/vc-annotate.el (vc-annotate-goto-line): New command.
16674 Based on a previous implementation by Juanma Barranquero (Bug#8366).
3ba7869c
CY
16675 (vc-annotate-mode-map): Bind it to RET.
16676
7031be6d
UR
166772011-04-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
16678
16679 * progmodes/etags.el (next-file): Don't use set-buffer to change
16680 buffers (Bug#8478).
16681
4ef177aa
CY
166822011-04-24 Chong Yidong <cyd@stupidchicken.com>
16683
c8d173eb
CY
16684 * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
16685
4ef177aa
CY
16686 * apropos.el (apropos-label-face): Avoid variable-pitch face.
16687 (apropos-accumulator): Doc fix.
16688 (apropos-function, apropos-macro, apropos-command)
16689 (apropos-variable, apropos-face, apropos-group, apropos-widget)
16690 (apropos-plist): Add face property.
16691 (apropos-symbols-internal): Fix indentation.
16692 (apropos-print): Simplify help, and recognize apropos-multi-type.
16693 (apropos-print-doc): Use button-type-get to extract the button's
16694 face property. Fill docstring (Bug#8352).
16695
4ffd0d6b 166962011-04-23 Juanma Barranquero <lekktu@gmail.com>
be71f810
JB
16697
16698 * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
16699
c6c32125 16700 * play/mpuz.el (mpuz-silent): Doc fix.
4ffd0d6b 16701 (mpuz-mode-map): Use mapc.
c6c32125
JB
16702 (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
16703 (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
16704 Fix typos in docstrings.
16705
58d468b4
JB
16706 * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
16707 (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
16708
6470c3c6
JB
16709 * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
16710
4ffd0d6b 167112011-04-23 Chong Yidong <cyd@stupidchicken.com>
6f21a319
CY
16712
16713 * minibuffer.el (completion--do-completion): Avoid the "Next char
16714 not unique" prompt if icomplete-mode is enabled (Bug#5849).
16715
3ad8bad0
CY
16716 * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
16717 mouse-2 into unread-command-events, it is interpreted correctly.
16718
71d73c9c 16719 * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
6395aab9 16720 (image-toggle-display): Doc fix.
71d73c9c 16721
841a1577 167222011-04-23 Stephen Berman <stephen.berman@gmx.net>
e935c6a2 16723
4ffd0d6b
GM
16724 * textmodes/page.el (what-page): Use line-number-at-pos to
16725 calculate line number (Bug#6825).
6e1dbaa9 16726
c2fb1b60
JB
167272011-04-22 Juanma Barranquero <lekktu@gmail.com>
16728
16729 * eshell/esh-mode.el (find-tag-interactive): Declare function.
16730 (eshell-find-tag): Remove `with-no-warnings', unneeded now.
16731 Pass argument NO-DEFAULT to `find-tag-interactive'.
16732
e02f48d7
JB
167332011-04-22 Juanma Barranquero <lekktu@gmail.com>
16734
16735 Lexical-binding cleanup.
16736
16737 * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
16738 (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
16739 * progmodes/ada-prj.el (ada-prj-initialize-values)
16740 (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
16741 (ada-prj-show-value):
16742 * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
16743 * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
16744 (antlr-invalidate-context-cache, antlr-options-menu-filter)
16745 (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
16746 * progmodes/bug-reference.el (bug-reference-push-button):
16747 * progmodes/fortran.el (fortran-line-length):
16748 * progmodes/glasses.el (glasses-change):
16749 * progmodes/octave-mod.el (octave-fill-paragraph):
16750 * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
16751 (python-pdbtrack-grub-for-buffer, python-sentinel):
16752 * progmodes/sql.el (sql-save-connection):
16753 * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
16754 * progmodes/xscheme.el (xscheme-enter-debugger-mode):
16755 Mark unused parameters.
16756
16757 * progmodes/compile.el (compilation--flush-directory-cache)
16758 (compilation--flush-parse, compile-internal): Mark unused parameters.
16759 (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
16760 (compilation-next-error-function): Remove unused variable `timestamp'.
16761
16762 * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
16763 (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
16764
16765 * progmodes/dcl-mode.el (dcl-end-of-command):
16766 Remove unused variable `start'.
16767 (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
16768 (dcl-option-value-basic, dcl-option-value-offset)
16769 (dcl-option-value-margin-offset, dcl-option-value-comment-line):
16770 Mark unused parameters.
16771 (dcl-save-local-variable): Remove unused variable `val'.
16772 (mode): Declare.
16773
16774 * progmodes/delphi.el (delphi-save-state, delphi-after-change):
16775 Mark unused parameters.
16776 (delphi-ignore-changes): Move before first use.
16777 (delphi-charset-token-at): Remove unused variable `start'.
16778 (delphi-else-start): Remove unused variable `if-count'.
16779 (delphi-comment-block-start, delphi-comment-block-end):
16780 Remove unused variable `kind'.
16781 (delphi-indent-line): Remove unused variable `new-point'.
16782
16783 * progmodes/ebrowse.el (ebrowse-files-list)
16784 (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
16785 Mark unused parameters. Don't quote `lambda'.
16786 (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
16787 Don't quote `lambda'.
16788 (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
16789 (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
16790 (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
16791 (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
16792 Use `ignore-errors'.
16793 (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
16794 (ebrowse-view/find-file-and-search-pattern)
16795 (ebrowse-view/find-member-declaration/definition):
16796 Rename parameter TAGS-FILE-NAME to TAGS-FILE.
16797 (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
16798 Rename parameter PREFIX-ARG to PREFIX.
16799 (ebrowse-tags-read-name): Remove unused variables `start' and
16800 `member-info'.
16801 (ebrowse-display-member-buffer): Rename variable `tags-file-name'
16802 to `tags-file'.
16803
16804 * progmodes/etags.el (local-find-tag-hook): Declare.
16805 (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
16806 Mark unused parameters.
16807
16808 * progmodes/executable.el (compilation-error-regexp-alist): Declare.
16809 (executable-interpret): Mark unused parameter.
16810
16811 * progmodes/flymake.el (flymake-process-sentinel)
16812 (flymake-after-change-function)
16813 (flymake-create-temp-with-folder-structure)
16814 (flymake-get-include-dirs-dot): Mark unused parameters.
16815 (flymake-safe-delete-directory): Remove unused variable `err'.
16816
16817 * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
16818 (speedbar-timer-fn, speedbar-line-text)
16819 (speedbar-change-expand-button-char, speedbar-delete-subblock)
16820 (speedbar-center-buffer-smartly): Declare functions.
16821 (gdb-find-watch-expression): Remove unused variable `array'.
16822 (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
16823 (gdb-starting): Mark unused parameters.
16824 (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
16825 (gdb-table-string): Remove unused variable `res'.
16826 (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
16827 (gdb-disassembly-handler-custom): Remove unused variable `pos'.
16828 (gdb-display-buffer): Remove unused variable `cur-size'.
16829
16830 * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
16831 allow lexical-binding compilation.
16832 (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
16833 (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
16834 (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
16835 Mark unused parameters.
16836 (gud-gdb-marker-filter): Remove unused variable `match'.
16837 (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
16838 lambda expressions and funcall them, instead of using `fset'.
16839
16840 * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
16841 HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
16842
16843 * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
16844 variable `header-beg'; use `let'.
16845
16846 * progmodes/icon.el (indent-icon-exp): Remove unused variables
16847 `restart', `last-sexp' and `at-do'.
16848
16849 * progmodes/js.el (js--debug): Mark unused parameter.
16850 (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
16851 (js--splice-into-items): Remove unused variable `item'.
16852 (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
16853
16854 * progmodes/make-mode.el (makefile-make-font-lock-keywords):
16855 Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
16856 (makefile-complete): Remove unused variable `try'.
16857 (makefile-fill-paragraph, makefile-match-function-end):
16858 Mark unused parameters.
16859
16860 * progmodes/octave-inf.el (inferior-octave-complete):
16861 Remove unused variable `proc'.
16862 (inferior-octave-output-digest): Mark unused parameter.
16863
16864 * progmodes/perl-mode.el (perl-calculate-indent):
16865 Remove unused variable `err'.
16866
16867 * progmodes/prolog.el (prolog-mode-keybindings-inferior)
16868 (prolog-indent-line): Mark unused parameters.
16869 (prolog-indent-line): Remove unused variable `beg'.
16870
16871 * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
16872 (reporter-dont-compact-list): Declare.
16873
16874 * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
16875 Remove unused variable `char'.
16876 (sh-debug): Mark unused parameter.
16877 (sh-get-indent-info): Remove unused variable `start'.
16878 (sh-calculate-indent): Remove unused variable `var'.
16879
16880 * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
16881 (simula-electric-keyword): Remove unused variable `null'.
16882 (simula-search-backward, simula-search-forward): Remove unused
16883 variables `begin' and `end'.
16884
16885 * progmodes/vera-mode.el (vera-guess-basic-syntax):
16886 Remove unused variable `pos'.
16887 (vera-electric-tab, vera-comment-uncomment-region):
16888 Mark unused parameters.
16889 (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
16890
7ede3b65
CY
168912011-04-22 Chong Yidong <cyd@stupidchicken.com>
16892
16893 * emacs-lisp/package.el (package--builtins, package-alist)
16894 (package-load-descriptor, package-built-in-p, package-activate)
16895 (define-package, package-installed-p)
16896 (package-compute-transaction, package-buffer-info)
16897 (package--push): Doc fix. Distinguish more clearly between
16898 version strings and version lists.
16899
121656e9
JB
169002011-04-21 Juanma Barranquero <lekktu@gmail.com>
16901
16902 Lexical-binding cleanup.
16903
16904 * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
16905 (5x5-make-mutate-best):
16906 * play/fortune.el (fortune-in-buffer):
16907 * play/gomoku.el (gomoku-init-display):
16908 * play/solitaire.el (solitaire, solitaire-do-check):
16909 * play/tetris.el (tetris-default-update-speed-function):
16910 Mark unused parameters.
16911
16912 * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
16913 (bubbles--shift): Remove unused variable `char-org'.
16914 (bubbles--set-faces): Remove unused variable `fg-col'. Simplify.
16915 (bubbles--show-images): Remove unused variable `char'.
16916
16917 * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
16918 (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
16919 (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
16920 (decipher-analyze-buffer): Use ?\s.
16921 (decipher-make-checkpoint): Remove unused variable `mapping'.
16922
16923 * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
16924
16925 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
16926 Remove unused variable `result'; use `let'.
16927
16928 * play/gametree.el (gametree-current-layout, gametree-apply-layout):
16929 Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
16930 (gametree-children-shown-p, gametree-compute-reduced-score):
16931 Use `ignore-errors'.
16932
16933 * play/handwrite.el (ps-lpr-switches): Declare.
16934 (handwrite): Remove unused variables `pmin' and `lastp'.
16935
16936 * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
16937
16938 * play/landmark.el (landmark-init-display)
16939 (landmark-update-naught-weights): Mark unused parameters.
16940 (landmark-y): Remove unused variable `noise'. Simplify.
16941 (landmark-human-plays): Remove unused variable `score'.
16942
16943 * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
16944 (mpuz-try-proposal): Remove unused variable `game'.
16945
16946 * play/zone.el (life-patterns): Declare.
16947
80f499c7
JB
169482011-04-20 Juanma Barranquero <lekktu@gmail.com>
16949
16950 * vc/vc.el (ediff-vc-internal): Declare function.
16951
024ff170
SM
169522011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
16953
c0a193ea
SM
16954 * shell.el: Use lexical-binding and std completion UI.
16955 (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
16956 (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
16957 comint-preoutput-filter-functions rather than on
16958 comint-output-filter-functions.
16959 (shell-command-completion, shell--command-completion-data)
16960 (shell-filename-completion, shell-environment-variable-completion)
16961 (shell-c-a-p-replace-by-expanded-directory): New functions.
16962 (shell-dynamic-complete-functions, shell-dynamic-complete-command)
16963 (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
16964 (shell-dynamic-complete-environment-variable): Use them.
16965 (shell-dynamic-complete-as-environment-variable)
16966 (shell-dynamic-complete-as-command): Remove.
16967 (shell-match-partial-variable): Match past point.
16968 * comint.el: Clean up use of completion-at-point-functions.
16969 (comint-completion-at-point): New function.
16970 (comint-mode): Use it completion-at-point-functions.
16971 (comint-dynamic-complete): Make it obsolete.
16972 (comint-replace-by-expanded-history-before-point): Add dry-run arg.
16973 (comint-c-a-p-replace-by-expanded-history): New function.
16974 (comint-dynamic-complete-functions)
16975 (comint-replace-by-expanded-history): Use it.
16976 * minibuffer.el (completion-table-with-terminator): Allow dynamic
16977 termination strings. Try harder to avoid second try-completion.
16978 (completion-in-region-mode-map): Disable bindings that don't work yet.
16979
2dbaa080
SM
16980 * comint.el: Use lexical-binding. Require CL.
16981 (comint-dynamic-complete-functions): Use comint-filename-completion.
16982 (comint-completion-addsuffix): Tweak custom type.
16983 (comint-filename-completion, comint--common-suffix)
16984 (comint--common-quoted-suffix, comint--table-subvert)
16985 (comint--complete-file-name-data): New functions.
16986 (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
16987 (comint-dynamic-list-filename-completions): Use them.
16988 (comint-dynamic-simple-complete): Make obsolete.
c0a193ea 16989
2dbaa080
SM
16990 * minibuffer.el (completion-in-region-mode):
16991 Keep completion-in-region-mode--predicate global.
16992 (completion-in-region--postch):
16993 Assume completion-in-region-mode--predicate is not null.
16994
c79a6f38
SM
16995 * progmodes/flymake.el (flymake-start-syntax-check-process):
16996 Obey `dir'. Simplify.
16997
024ff170
SM
16998 * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
16999 we're in VC after all.
17000
1c6c854e
CS
170012011-04-20 Christoph Scholtes <cschol2112@googlemail.com>
17002
17003 * vc/vc.el (vc-diff-build-argument-list-internal)
024ff170 17004 (vc-version-ediff, vc-ediff): New commands.
1c6c854e
CS
17005 (vc-version-diff): Use vc-diff-build-argument-list-internal.
17006
bed7f140
SM
170072011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
17008
332e62ab
SM
17009 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
17010 add sanity check.
17011
bed7f140
SM
17012 * obsolete/erc-hecomplete.el: Make obsolete.
17013 * obsolete/: Standardize obsolescence info in the header.
17014
f195c582
GM
170152011-04-20 Glenn Morris <rgm@gnu.org>
17016
17017 * calendar/solar.el (solar-horizontal-coordinates):
17018 Use the longitude argument rather than `calendar-longitude'.
17019 (solar-date-next-longitude): Remove unused locals.
17020
cb79b8c0
VJL
170212011-04-20 Vinicius Jose Latorre <viniciusjl@ig.com.br>
17022
17023 * whitespace.el: New version 13.2.1.
17024
170252011-04-20 felix <EmacsWiki> (tiny change)
17026
d8e4b68b 17027 * whitespace.el (global-whitespace-mode): Keep highlight when
cb79b8c0
VJL
17028 switching between major modes on a file.
17029
602ea69d
SM
170302011-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
17031
17032 * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
17033 (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
17034 multi-line comments as well.
17035
06b60517
JB
170362011-04-19 Juanma Barranquero <lekktu@gmail.com>
17037
17038 Lexical-binding cleanup.
17039
17040 * arc-mode.el (archive-mode-revert):
17041 * cmuscheme.el (scheme-interactively-start-process):
17042 * custom.el (custom-initialize-delay):
17043 * dnd.el (dnd-open-local-file, dnd-open-remote-url):
17044 * dos-w32.el (direct-print-region-helper, direct-print-region-function):
17045 * emacs-lock.el (emacs-lock-clear-sentinel):
17046 * ezimage.el (defezimage):
17047 * follow.el (follow-avoid-tail-recenter):
17048 * fringe.el (set-fringe-mode-1):
17049 * generic-x.el (bat-generic-mode-compile):
17050 * help-mode.el (help-info-variable, help-do-xref)
17051 (help-mode-revert-buffer):
17052 * help.el (view-emacs-todo):
17053 * iswitchb.el (iswitchb-completion-help):
17054 * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
17055 * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
17056 (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
17057 * locate.el (locate-update):
17058 * longlines.el (longlines-encode-region)
17059 (longlines-after-change-function):
17060 * outline.el (outline-isearch-open-invisible):
17061 * ps-def.el (declare-function, charset-dimension, char-width)
17062 (encode-char):
17063 * ps-mule.el (ps-mule-plot-string):
17064 * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
17065 (recentf-edit-list-select, recentf-edit-list-validate)
17066 (recentf-open-files-action):
17067 * rect.el (delete-whitespace-rectangle-line)
17068 (rectangle-number-line-callback):
17069 * register.el (window-configuration-to-register)
17070 (frame-configuration-to-register):
17071 * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
17072 * select.el (xselect-convert-to-string, xselect-convert-to-length)
17073 (xselect-convert-to-targets, xselect-convert-to-delete)
17074 (xselect-convert-to-filename, xselect-convert-to-charpos)
17075 (xselect-convert-to-lineno, xselect-convert-to-colno)
17076 (xselect-convert-to-os, xselect-convert-to-host)
17077 (xselect-convert-to-user, xselect-convert-to-class)
17078 (xselect-convert-to-name, xselect-convert-to-integer)
17079 (xselect-convert-to-atom, xselect-convert-to-identity):
17080 * subr.el (declare, ignore, process-kill-without-query)
17081 (text-clone-maintain):
17082 * terminal.el (te-get-char, te-tic-sentinel):
17083 * tool-bar.el (tool-bar-make-keymap):
17084 * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
17085 * type-break.el (type-break-mode, type-break-noninteractive-query):
17086 * view.el (View-back-to-mark):
17087 * wid-browse.el (widget-browse-action, widget-browse-widget)
17088 (widget-browse-widgets, widget-browse-sexp):
17089 * widget.el (define-widget-keywords):
17090 * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
17091 Mark unused parameters.
17092
17093 * align.el (align-adjust-col-for-rule): Mark unused parameter.
17094 (align-areas): Remove unused variable `look'.
17095 (align-region): Remove unused variables `real-end' and `pos-list'.
17096
17097 * apropos.el (apropos-score-doc): Remove unused variable `i'.
17098
17099 * bindings.el (mode-line-modified, mode-line-remote):
17100 Mark unused parameters.
17101 (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
17102
17103 * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
17104 (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
17105
17106 * comint.el (comint-history-isearch-pop-state)
17107 (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
17108 (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
17109 (comint-substitute-in-file-name): Doc fix.
17110
17111 * completion.el (cmpl-statistics-block): Mark unused parameter.
17112 (add-completions-from-tags-table, add-completions-from-lisp-buffer)
17113 (save-completions-to-file, load-completions-from-file):
17114 Remove unused local variable `e'.
17115
17116 * composite.el (compose-chars): Remove unused variable `len'.
17117 (lgstring-insert-glyph): Remove unused variable `g'.
17118 (compose-glyph-string): Remove unused variables `ascent',
17119 `descent', `lbearing' and `rbearing'.
17120 (compose-glyph-string-relative): Remove unused variables
17121 `lbearing', `rbearing' and `wadjust'.
17122 (compose-gstring-for-graphic): Remove unused variables `header',
17123 `wadjust', `xoff' and `yoff'. Use `let', not `let*'.
17124 (compose-gstring-for-terminal): Remove unused variables `header'
17125 and `nchars'. Use `let', not `let*'.
17126
17127 * cus-edit.el (Custom-set, Custom-save, custom-reset)
17128 (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
17129 (Custom-buffer-done, custom-buffer-create-internal)
17130 (custom-browse-visibility-action, custom-browse-group-tag-action)
17131 (custom-browse-variable-tag-action, custom-browse-face-tag-action)
17132 (widget-magic-mouse-down-action, custom-toggle-parent)
17133 (custom-add-parent-links, custom-toggle-hide-variable)
17134 (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
17135 (custom-toggle-hide-face, face, hook, custom-group-link-action)
17136 (custom-face-menu-create, custom-variable-menu-create, get)
17137 (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
17138 (custom-reset-standard-save-and-update): Remove unused variable `value'.
17139 (customize-apropos): Remove unused variable `tests'.
17140 (custom-group-value-create): Remove unused variable `hidden-p'.
17141 (sort-fold-case): Declare.
17142
17143 * cus-theme.el (custom-reset-standard-faces-list)
17144 (custom-reset-standard-variables-list): Declare.
17145 (customize-create-theme, custom-theme-revert, custom-theme-write)
17146 (custom-theme-choose-mode, customize-themes, custom-theme-save):
17147 Mark unused parameters.
17148
17149 * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
17150
17151 * delim-col.el (delimit-columns-max): Move defvar before first use.
17152
17153 * descr-text.el (describe-char-categories): Don't quote `lambda'.
bd0d2ee2 17154 (describe-char): Don't quote `lambda'. Mark unused parameter.
06b60517
JB
17155
17156 * desktop.el (desktop-save-buffer-p): Mark unused parameter.
17157 (auto-insert): Declare.
17158 (desktop-restore-file-buffer): Rename desktop-* parameters;
17159 mark unused ones.
17160 (desktop-create-buffer): Rename desktop-* parameters and bind them.
17161 (desktop-buffer): Rename desktop-* parameters.
17162
17163 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
17164 (dframe-reposition-frame-xemacs, dframe-help-echo)
17165 (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
17166 Mark unused parameters.
17167
17168 * dired-aux.el (backup-extract-version-start, overwrite-query)
17169 (overwrite-backup-query, rename-regexp-query)
17170 (rename-non-directory-query): Declare.
17171 (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
17172 (dired-add-entry): Remove unused variable `orig-file-name'.
17173 (dired-copy-file-recursive): Remove unused variable `dirfailed'.
17174 Use parameter PRESERVE-TIME instead of accessing dynamic variable
17175 `dired-copy-preserve-time' directly.
17176 (dired-do-create-files-regexp): Remove unused variable `fn-count'.
17177 (dired-insert-subdir-newpos): Rename unused variable `pos'.
17178
17179 * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
17180 (dired-virtual-revert, dired-make-relative-symlink):
17181 Mark unused parameters.
17182 (manual-program): Declare.
17183 (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
17184 (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
17185 wrapped in `with-no-warnings' to avoid replacing one warning by another.
17186
17187 * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
17188
17189 * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
17190
17191 * echistory.el (electric-history-in-progress, Helper-return-blurb):
17192 Declare.
17193
17194 * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
17195
17196 * electric.el (Electric-command-loop): Rename parameter
17197 INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
17198
17199 * expand.el (expand-in-literal): Remove unused variable `here'.
17200
17201 * facemenu.el (facemenu-add-new-color):
17202 Remove unused variable `docstring'.
17203
17204 * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
17205 (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
17206 (face-attr-construct): Mark unused parameter. Doc fix.
17207 (read-color): Remove unused variable `hex-string'.
17208
17209 * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
17210 (locate-dominating-file): Remove unused vars `prev-file' and `user'.
17211 (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
17212 (display-buffer-other-frame): Remove unused variable `old-window'.
17213 (kill-buffer-hook): Declare.
17214 (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
17215 Mark unused parameters.
17216 (after-find-file): Pass 1 to `auto-save-mode', not t.
17217
17218 * files-x.el (auto-insert): Declare.
17219 (modify-file-local-variable-prop-line): Remove unused variable `val'.
17220
17221 * find-lisp.el (find-lisp-find-dired-internal): Remove unused
bd0d2ee2 17222 variable `buf'. Mark unused parameter.
06b60517
JB
17223 (find-lisp-insert-directory): Mark unused parameter.
17224
17225 * format.el (format-decode-run-method): Mark unused parameter; doc fix.
17226 (format-encode-region): Remove unused variables `cur-buf' and `result'.
17227 (format-common-tail): Remove, unused.
17228 (format-deannotate-region): Remove unused variable `loc'.
17229 (format-annotate-region): Remove unused variable `p'.
17230 (format-annotate-single-property-change): Remove unused variables
17231 `default' and `tail'.
17232
17233 * forms.el (read-file-filter): Declare.
17234 (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
17235
17236 * frame.el (frame-creation-function-alist): Mark unused parameter.
17237 (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
17238
17239 * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
17240 Remove unused parameters.
17241 (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
17242 (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
17243
17244 * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
17245 (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
17246 (hfy-prepare-tag-map): Mark unused parameters.
17247 (htmlfontify-buffer): Use `called-interactively-p'.
17248
17249 * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
17250 (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
17251 (ibuffer-do-occur): Mark unused parameters.
17252 (ibuffer-forward-next-marked): Remove unused variable `curmark'.
17253 (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
17254
17255 * ibuffer.el: Don't quote `lambda'.
17256 (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
17257 (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
17258 Mark unused parameters.
17259
17260 * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
17261 (ido-completing-read): Mark unused parameters.
17262 (ido-copy-current-word): Mark unused parameters;
17263 remove unused variable `name'.
17264 (ido-sort-merged-list): Remove unused parameter `dirs'.
17265
17266 * ielm.el (ielm-input-sender): Mark unused parameter.
17267 (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
17268 (ielm-output, ielm-wbuf, ielm-pmark): Declare.
17269 (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
17270 `ielm-string' as a dynamic variable accessible from the IELM prompt.
17271 Bind `ielm-string' to INPUT-STRING. Remove unused variable `err'.
17272
17273 * image-dired.el (image-dired-display-thumbs): Remove unused
17274 variables `curr-file' and `count'.
17275 (image-dired-remove-tag): Remove unused variable `start'.
17276 (image-dired-tag-files, image-dired-create-thumbs): Remove unused
17277 variable `curr-file'
17278 (image-dired-rotate-original): Remove unused variable `temp-file'.
17279 (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
17280 Remove unused variable `file'.
17281 (image-dired-gallery-generate): Remove unused variable `curr'.
17282 (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
17283
17284 * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
17285
17286 * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
17287
17288 * informat.el (texinfo-command-start, texinfo-command-end): Declare.
17289
17290 * isearch.el (minibuffer-history-symbol): Declare.
17291 (isearch-edit-string): Remove unused variable `err'.
17292 (isearch-message-prefix, isearch-message-suffix):
17293 Mark unused parameters.
17294
17295 * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
17296
17297 * macros.el (insert-kbd-macro): Remove unused variable `mods'.
17298
17299 * makesum.el (double-column): Remove unused variable `cnt'.
17300
17301 * misearch.el (multi-isearch-pop-state): Mark unused parameter.
17302 (ido-ignore-item-temp-list): Declare.
17303
17304 * mouse-drag.el (mouse-drag-throw): Remove unused variables
17305 `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
17306 `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
17307 (mouse-drag-drag): Remove unused variables `mouse-delta' and
17308 `mouse-col-delta'.
17309
17310 * mouse-sel.el (mouse-extend-internal):
17311 Remove unused variable `orig-window-frame'.
17312
17313 * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
17314 (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
17315 Move declarations before first use.
17316 (pcomplete-opt): Mark unused parameters; doc fix.
17317
17318 * proced.el (proced-revert): Mark unused parameter.
17319 (proced-send-signal): Remove unused variable `err'.
17320
17321 * ps-print.el (ps-print-preprint-region, ps-print-preprint):
17322 Rename parameter PREFIX-ARG to ARG.
17323 (ps-basic-plot-string, ps-basic-plot-whitespace):
17324 Mark unused parameters.
17325
17326 * replace.el (replace-count): Define.
17327 (occur-revert-function): Mark unused parameters.
17328 (ido-ignore-item-temp-list, isearch-error, isearch-forward)
17329 (isearch-case-fold-search, isearch-string): Declare.
17330 (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
17331 bind `case-fold-search'. Remove unused variables `beg' and `end',
17332 and simplify.
17333 (replace-eval-replacement): Rename parameter REPLACE-COUNT to
17334 COUNT and bind `replace-count'.
17335 (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
17336 to COUNT.
17337
17338 * savehist.el (print-readably, print-string-length): Declare.
17339
17340 * shadowfile.el (shadow-expand-cluster-in-file-name):
17341 Remove unused variable `cluster'.
17342 (shadow-copy-file): Remove unused variable `i'.
17343 (shadow-noquery, shadow-clusters, shadow-site-cluster)
17344 (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
17345 (shadow-define-literal-group, shadow-define-regexp-group)
17346 (shadow-make-group, shadow-shadows-of): Clean up docstrings.
17347
17348 * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
17349 (shell): Use `called-interactively-p'.
17350 (shell-directory-tracker): Remove unused variable `chdir-failure'.
17351
17352 * simple.el (compilation-context-lines, comint-file-name-quote-list)
17353 (comint-file-name-chars, comint-delimiter-argument-list): Declare.
17354 (delete-backward-char): Remove unused variable `ocol'.
17355 (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
17356 (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
17357 (event-apply-hyper-modifier, event-apply-shift-modifier)
17358 (event-apply-control-modifier, event-apply-meta-modifier):
17359 Mark unused parameters.
17360 (undo-make-selective-list): Remove duplicate variable `undo-elt'.
17361 (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
17362
17363 * speedbar.el (speedbar-ignored-directory-expressions)
17364 (speedbar-supported-extension-expressions, speedbar-directory-buttons)
17365 (speedbar-find-file, speedbar-dir-follow)
17366 (speedbar-directory-buttons-follow, speedbar-tag-find)
17367 (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
17368 (speedbar-buffers-line-directory, speedbar-buffer-click):
17369 Mark unused parameters.
17370 (speedbar-tag-file): Remove unused variable `mode'.
17371 (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
17372
17373 * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
17374
17375 * talk.el (talk): Remove unused variable `display'.
17376
17377 * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
17378 (tar-write-region-annotate): Mark unused parameter.
17379
17380 * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
17381 (minutes, seconds, time-zone, day, year, monthname, month, dayname):
17382 Declare them, wrapped in `with-no-warnings' to avoid replacing one
17383 warning by another.
17384
17385 * time-stamp.el (time-stamp-string-preprocess):
17386 Remove unused variable `require-padding'.
17387
17388 * tree-widget.el (widget-glyph-enable): Declare.
17389 (tree-widget-action): Mark unused parameter.
17390
17391 * w32-fns.el (x-get-selection): Mark unused parameter.
17392 (autoload-make-program, generated-autoload-file): Declare.
17393
17394 * wdired.el (wdired-revert): Mark unused parameters.
17395 (wdired-xcase-word): Remove unused variable `err'.
17396
17397 * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
17398 (whitespace-help-scroll): Remove unused variable `data-help'.
17399
17400 * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
17401 (widget-image-insert, widget-after-change, default)
17402 (widget-default-format-handler, widget-default-notify)
17403 (widget-default-prompt-value, widget-info-link-action)
17404 (widget-url-link-action, widget-function-link-action)
17405 (widget-variable-link-action, widget-file-link-action)
17406 (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
17407 (widget-field-prompt-internal, widget-field-action, widget-field-match)
17408 (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
17409 (widget-insert-button-action, widget-delete-button-action, visibility)
17410 (widget-documentation-link-action, widget-documentation-string-action)
17411 (widget-const-prompt-value, widget-regexp-match, symbol)
17412 (widget-coding-system-prompt-value)
17413 (widget-key-sequence-value-to-external, sexp)
17414 (widget-sexp-value-to-internal, character, vector, cons)
17415 (widget-choice-prompt-value, widget-boolean-prompt-value)
17416 (widget-color--choose-action): Mark unused parameters.
17417 (widget-item-match-inline, widget-choice-match-inline)
17418 (widget-checklist-match, widget-checklist-match-inline)
17419 (widget-group-match): Rename parameter VALUES to VALS.
17420 (widget-field-value-set): Remove unused variable `size'.
17421 (widget-color-action): Remove unused variables `value' and `start'.
17422
17423 * windmove.el (windmove-wrap-loc-for-movement): Remove unused
bd0d2ee2 17424 variable `dir'. Doc fix.
06b60517
JB
17425 (windmove-find-other-window): Don't pass it.
17426
17427 * window.el (count-windows): Mark unused parameter.
17428 (bw-adjust-window): Remove unused variable `err'.
17429
17430 * woman.el (woman-file-name): Remove unused variable `default'.
17431 (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
17432 WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
17433 (global-font-lock-mode): Declare.
17434 (woman-decode-region): Mark unused parameter.
17435 (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
17436
17437 * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
17438 (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
17439 (x-dnd-handle-moz-url): Remove unused variable `title'.
17440 (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
17441
17442 * xml.el (xml-parse-tag, xml-parse-attlist):
17443 Remove unused variable `pos'.
17444
bc4f7f3d
GM
174452011-04-19 Glenn Morris <rgm@gnu.org>
17446
17447 * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
17448 (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
17449 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
17450 (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
17451 * calendar/cal-html.el (cal-html-insert-minical):
17452 * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
17453 (calendar-mark-date-pattern):
17454 Prefix "unused" locals.
17455
17456 * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
17457 optional argument `style'.
17458
17459 * calendar/appt.el (appt-make-list):
17460 * calendar/cal-china.el (calendar-chinese-date-string):
17461 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
17462 (diary-hebrew-yahrzeit):
17463 * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
17464 * calendar/calendar.el (calendar-generate-window):
17465 * calendar/time-date.el (time-to-days):
17466 Remove unused local variables.
17467
16a43933
CY
174682011-04-18 Chong Yidong <cyd@stupidchicken.com>
17469
17470 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
17471 glyphless-char-display table.
17472 (tabulated-list-glyphless-char-display): New var.
17473
7eed1860
SS
174742011-04-18 Sam Steingold <sds@gnu.org>
17475
17476 * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
17477 to acknowledgments.
17478
4d2d1ccd
GM
174792011-04-17 Glenn Morris <rgm@gnu.org>
17480
17481 * calendar/diary-lib.el (diary-sexp-entry):
17482 * calendar/holidays.el (holiday-sexp):
17483 Set debug-on-error rather than the removed stack-trace-on-error.
17484
239da61d
GM
174852011-04-16 Glenn Morris <rgm@gnu.org>
17486
17487 * progmodes/f90.el: Use lexical-binding.
17488 (f90-get-correct-indent): Remove unnecessary local variable `cont'.
17489
8b05752a
SM
174902011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
17491
daca8ba5
SM
17492 * mail/sendmail.el (mail-mode-map): Use completion-at-point.
17493 (mail-mode): Setup mailalias completion here instead.
17494 * mail/mailalias.el: Use lexical-binding.
17495 (pattern, mailalias-done): Declare dynamic.
17496 (mail-completion-at-point-function): New function, from mail-complete.
17497 (mail-complete): Use it.
17498 (mail-completion-expand): New function.
17499 (mail-get-names): Use it.
17500 (mail-directory, mail-directory-process, mail-directory-stream):
17501 Don't use `pattern' for lexically bound arg.
17502
6f542485
SM
17503 * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
17504
037e7c3f
SM
17505 * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
17506 (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
17507 (hfy-etags-cmd-alist): Don't eval-and-compile any more.
17508
8b05752a
SM
17509 * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
17510 (byte-save-window-excursion, byte-temp-output-buffer-setup)
17511 (byte-interactive-p): Define them again, for use when inlining
17512 old code.
17513
49093f60
JB
175142011-04-15 Juanma Barranquero <lekktu@gmail.com>
17515
17516 * loadup.el: Use `string-to-number', not `string-to-int'.
17517
b5b8e7de
SM
175182011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
17519
17520 * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
17521 gud-gdb-complete-command.
17522 (gud-gdb-completions): New function, from gud-gdb-complete-command.
17523 (gud-gdb-completion-at-point): New function.
17524 (gud-gdb-completions): Remove.
17525
f42efeb5
MA
175262011-04-14 Michael Albinus <michael.albinus@gmx.de>
17527
49093f60
JB
17528 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
17529 when the scripts fail. Use `tramp-do-file-attributes-with-ls' then.
17530 (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
17531 whether `executable-find' is bound.
f42efeb5
MA
17532
17533 * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
17534
e240cc21
SM
175352011-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
17536
17537 * minibuffer.el (completion-in-region-mode-predicate)
17538 (completion-in-region-mode--predicate): New vars.
17539 (completion-in-region, completion-in-region--postch)
17540 (completion-in-region-mode): Use them.
17541 (completion--capf-wrapper): Also return the hook function.
17542 (completion-at-point, completion-help-at-point):
17543 Adjust and provide a predicate.
c2bd2ab0
SM
17544
17545 Preserve arg names for advice of subr and lexical functions (bug#8457).
17546 * help-fns.el (help-function-arglist): Consolidate the subr and
17547 new-byte-code cases. Add argument `preserve-names' to extract names
17548 from the docstring when needed.
17549 * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
17550 (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
17551 (ad-arglist): Use help-function-arglist's new arg.
17552 (ad-definition-type): Use cond.
17553
c183f693
JB
175542011-04-13 Juanma Barranquero <lekktu@gmail.com>
17555
06641a47
JB
17556 * autorevert.el (auto-revert-handler):
17557 Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
17558 which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
17559 Don't quote lambda.
17560
c183f693
JB
17561 * image-mode.el (image-transform-set-scale):
17562 Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
17563
1e3b6001
G
175642011-04-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
17565
17566 * net/network-stream.el (network-stream-open-starttls): Only do
e9fce1ac 17567 opportunistic STARTTLS upgrades if we have built-in GnuTLS support.
1e3b6001
G
17568 Upgrades via gnutls-cli are too slow to be done opportunistically.
17569
2d6af8dd
JB
175702011-04-12 Juanma Barranquero <lekktu@gmail.com>
17571
17572 * dframe.el (dframe-current-frame): Remove spurious quote.
17573
c0749a51
GM
175742011-04-12 Glenn Morris <rgm@gnu.org>
17575
088d0d61
GM
17576 * calendar/cal-tex.el (cal-tex-end-document):
17577 Try to automatically use latin1 input if needed.
17578
c0749a51
GM
17579 * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
17580 Don't try to cons a mark onto an empty element.
17581
5c90fde0
LL
175822011-04-11 Leo Liu <sdl.web@gmail.com>
17583
17584 * ido.el (ido-buffer-internal): Allow method 'kill for virtual
17585 buffers.
17586 (ido-kill-buffer-at-head): Support killing virtual buffers.
17587
369e974d
CY
175882011-04-10 Chong Yidong <cyd@stupidchicken.com>
17589
17590 * minibuffer.el (completion-show-inline-help): New var.
17591 (completion--do-completion, minibuffer-complete)
daca8ba5
SM
17592 (minibuffer-force-complete, minibuffer-complete-word):
17593 Inhibit minibuffer messages if completion-show-inline-help is nil.
369e974d
CY
17594
17595 * icomplete.el (icomplete-mode): Bind completion-show-inline-help
17596 to avoid interference from inline help (Bug#5849).
17597
37f1c930
LL
175982011-04-10 Leo Liu <sdl.web@gmail.com>
17599
099c39a4
JB
17600 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
17601 Fix typo.
37f1c930 17602
a32d4040
CY
176032011-04-09 Chong Yidong <cyd@stupidchicken.com>
17604
17605 * image-mode.el (image-toggle-display-image): Signal an error if
17606 not in Image mode.
17607 (image-transform-mode, image-transform-resize)
17608 (image-transform-set-rotation): Doc fix.
daca8ba5 17609 (image-transform-set-resize): Delete.
a32d4040
CY
17610 (image-transform-set-scale, image-transform-fit-to-height)
17611 (image-transform-fit-to-width): Handle image-toggle-display-image
17612 and image-transform-resize directly.
17613
099c39a4 176142011-04-08 Sho Nakatani <lay.sakura@gmail.com>
d7b89879
TH
17615
17616 * doc-view.el (doc-view-fit-width-to-window)
099c39a4
JB
17617 (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
17618 New functions for fitting the shown image to the Emacs window size.
d7b89879
TH
17619 (doc-view-mode-map): Add bindings for the new functions.
17620
099c39a4 176212011-04-08 Juanma Barranquero <lekktu@gmail.com>
ddc20cdb 17622
4d61f28d 17623 * vc/vc-annotate.el (vc-annotate-show-log-revision-at-line):
ddc20cdb
JB
17624 Fix typo in docstring.
17625
3726838a
EZ
176262011-04-08 Eli Zaretskii <eliz@gnu.org>
17627
04f33f1e
EZ
17628 * files.el (file-size-human-readable): Produce one digit after
17629 decimal, like "ls -lh" does.
17630
17631 * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
17632 the file size representation.
17633
3726838a
EZ
17634 * simple.el (list-processes): If async subprocesses are not
17635 available, error out with a clear error message.
17636
cbb59342
CY
176372011-04-08 Chong Yidong <cyd@stupidchicken.com>
17638
17639 * help.el (help-form-show): New function, to be called from C.
17640 Put help-form output in a buffer named differently than *Help*.
17641
e3971c44
EZ
176422011-04-08 Eli Zaretskii <eliz@gnu.org>
17643
17644 * files.el (file-size-human-readable): New function.
17645
17646 * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
17647 computing the representation inline. Don't require `cl'.
17648
12544bbe
GM
176492011-04-08 Glenn Morris <rgm@gnu.org>
17650
a1de6c6a
GM
17651 * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
17652
3c4671f4
GM
17653 * net/browse-url.el (browse-url-firefox):
17654 Test system-type, not system-configuration.
17655
b605679c
GM
17656 * vc/log-edit.el (log-edit-empty-buffer-p): New function.
17657 (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
17658 Use log-edit-empty-buffer-p. (Bug#7598)
17659
56442f0c
GM
17660 * net/rlogin.el (rlogin-process-connection-type): Simplify.
17661 (rlogin-mode-map): Initialize in the defvar.
17662 (rlogin): Use ignore-errors.
17663
12544bbe
GM
17664 * replace.el (occur-mode-map): Some fixes for menu items.
17665
eb237b0f
AH
176662011-04-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
17667
17668 * play/morse.el (denato-region): Handle varying case. (Bug#8386)
17669
7d668f2c
CY
176702011-04-06 Chong Yidong <cyd@stupidchicken.com>
17671
e67a13ab
CY
17672 * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
17673 issuing unused warnings.
17674
17675 * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
17676 macro directly.
17677
7d668f2c
CY
17678 * simple.el: Lisp reimplement of list-processes. Based on an
17679 earlier reimplementation by Leo Liu, but using tabulated-list.el.
17680 (process-menu-mode): New major mode.
17681 (list-processes--refresh, list-processes):
17682 (process-menu-visit-buffer): New functions.
17683
17684 * files.el (save-buffers-kill-emacs): Don't assume any return
17685 value of list-processes, which is undocumented anyway.
17686
a83ec3c9
CY
176872011-04-06 Chong Yidong <cyd@stupidchicken.com>
17688
17689 * emacs-lisp/tabulated-list.el: New file.
17690
e91a96fe
CY
17691 * emacs-lisp/package.el: Use Tabulated List mode.
17692 (package-menu-mode-map): Inherit from tabulated-list-mode-map.
17693 (package-menu-mode): Derive from tabulated-list-mode. Set up the
17694 table format using Tabulated List mode variables.
17695 (package--push): New macro, replacing package-list-maybe-add.
17696 (package-menu--generate): Use package--push. Renamed from
17697 package--generate-package-list.
17698 (package-menu-refresh, list-packages): Use it.
daca8ba5 17699 (package-menu--print-info): Rename from package-print-package.
e91a96fe 17700 Return insertion data instead of inserting it directly.
099c39a4
JB
17701 (package-menu-describe-package, package-menu-execute):
17702 Use tabulated-list-get-id.
e91a96fe
CY
17703 (package-menu-mark-delete, package-menu-mark-install)
17704 (package-menu-mark-unmark, package-menu-backup-unmark)
099c39a4
JB
17705 (package-menu-mark-obsolete-for-deletion):
17706 Use tabulated-list-put-tag.
e91a96fe
CY
17707 (package--list-packages, package-menu-revert)
17708 (package-menu-get-package, package-menu-get-version)
17709 (package-menu-sort-by-column): Functions deleted.
17710 (package-menu-package-list, package-menu-sort-key): Vars deleted.
17711 (package-menu--status-predicate, package-menu--version-predicate)
17712 (package-menu--name-predicate)
17713 (package-menu--description-predicate): Handle arguments in the
17714 Tabulated List format.
17715 (package-list-packages-no-fetch): Call list-packages.
17716
3e214b50
JB
177172011-04-06 Juanma Barranquero <lekktu@gmail.com>
17718
17719 * files.el (after-find-file-from-revert-buffer): Remove variable.
c9d0ec6d 17720 (after-find-file): Don't bind it.
3e214b50
JB
17721 (revert-buffer-in-progress-p): New variable.
17722 (revert-buffer): Bind it.
17723 Pass nil for `after-find-file-from-revert-buffer'.
17724
17725 * saveplace.el (save-place-find-file-hook): Use new variable
17726 `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
17727
3f0f1700
GM
177282011-04-06 Glenn Morris <rgm@gnu.org>
17729
c0274801
GM
17730 * Makefile.in (AUTOGEN_VCS): New variable.
17731 (autoloads): Use $AUTOGEN_VCS.
17732
3f0f1700
GM
17733 * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
17734 * calendar/calendar.el (calendar-mode-map):
17735 Check for toolkit scroll bars. (Bug#8305)
17736
41ea9e48
CY
177372011-04-05 Chong Yidong <cyd@stupidchicken.com>
17738
17739 * minibuffer.el (completion-in-region--postch)
17740 (completion-in-region-mode): Remove unnecessary messages.
17741
6194c800
JB
177422011-04-05 Juanma Barranquero <lekktu@gmail.com>
17743
33256f14
JB
17744 * font-lock.el (font-lock-refresh-defaults):
17745 Don't bind `hi-lock--inhibit-font-lock-hook', removed in
17746 2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
17747
6194c800
JB
17748 * info.el (Info-directory-list, Info-read-node-name-2)
17749 (Info-split-parameter-string): Doc fixes.
17750 (Info-virtual-nodes): Reflow docstring.
17751 (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
17752 (Info-apropos-toc-nodes, info-finder, Info-get-token)
17753 (Info-find-emacs-command-nodes, Info-speedbar-key-map):
17754 Fix typos in docstrings.
17755 (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
17756 (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
17757 (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
17758 (Info-restore-desktop-buffer): Mark unused parameters.
17759 (Info-directory-find-file, Info-directory-find-node)
17760 (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
17761 (Info-virtual-index-find-node, Info-apropos-find-file)
17762 (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
33256f14 17763 Mark unused parameters; fix typos in docstrings.
6194c800
JB
17764 (Info-virtual-index): Remove unused local variable `nodename'.
17765
b87a8200 177662011-04-05 Deniz Dogan <deniz@dogan.se>
0f6ee7d2 17767
b87a8200
DD
17768 * net/rcirc.el: Update my e-mail address.
17769 (rcirc-mode-map): Remove M-o binding.
0f6ee7d2 17770
3b2ff876
CY
177712011-04-05 Chong Yidong <cyd@stupidchicken.com>
17772
17773 * startup.el (command-line): Save the cursor's theme-face
17774 directly, instead of using face-override-spec.
17775
17776 * custom.el (load-theme): Minor optimization in assigning faces.
17777
8d17e7ca
JB
177782011-04-04 Juanma Barranquero <lekktu@gmail.com>
17779
17780 * help-fns.el (describe-variable): Complete all variables having
17781 documentation, including keywords.
17782 http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
17783
2fbc1934
JB
177842011-04-04 Juanma Barranquero <lekktu@gmail.com>
17785
17786 Convert to lexical-binding.
17787
17788 * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
17789 (bs--get-marked-string, bs--get-modified-string)
17790 (bs--get-readonly-string, bs--get-size-string, bs--get-name)
17791 (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
17792 (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
17793
17794 * ehelp.el (electric-help-execute-extended)
17795 (electric-help-ctrl-x-prefix):
17796 * hexl.el (hexl-revert-buffer-function):
17797 * linum.el (linum-after-change, linum-after-scroll):
17798 * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
17799
17800 * help-fns.el (help-describe-category-set): Remove unused ERR variable.
17801
74f50695
DU
178022011-04-04 Daiki Ueno <ueno@unixuser.org>
17803
17804 * epa-dired.el:
17805 * epa-mail.el:
17806 * epa-hook.el:
17807 * epa-file.el:
17808 * epa.el:
17809 * epg.el: Use lexical binding.
17810
c11325f7
CY
178112011-04-03 Chong Yidong <cyd@stupidchicken.com>
17812
0d9e9a12
CY
17813 * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
17814
c11325f7 17815 * textmodes/flyspell.el (flyspell-word): Recognize default
daca8ba5
SM
17816 dictionary case for flyspell-mark-duplications-exceptions.
17817 Use regexp matching for languages.
c11325f7
CY
17818 (flyspell-mark-duplications-exceptions): Add "that" and "had" for
17819 default dictionary (Bug#7926).
17820
da91b5f2
CY
178212011-04-02 Chong Yidong <cyd@stupidchicken.com>
17822
099c39a4
JB
17823 * emacs-lisp/package.el (package--with-work-buffer):
17824 Recognize https URLs.
da91b5f2 17825
099c39a4
JB
17826 * net/network-stream.el: Move from gnus/proto-stream.el.
17827 Change prefix to network-stream throughout.
da91b5f2
CY
17828 (open-protocol-stream): Merge into open-network-stream, leaving
17829 open-protocol-stream as an alias. Handle nil BUFFER args.
17830
17831 * subr.el (open-network-stream): Move to net/network-stream.el.
17832
afa8e9f6
GM
178332011-04-02 Glenn Morris <rgm@gnu.org>
17834
1d2e369d
GM
17835 * find-dired.el (find-exec-terminator): New option.
17836 (find-ls-option): Test for -ls support.
17837 (find-ls-subdir-switches): Test for -b in find-ls-option.
17838 (find-dired, find-grep-dired): Doc fixes.
17839 (find-dired): Use find-exec-terminator.
17840
8abb7da8 17841 * find-dired.el (find-ls-option, find-ls-subdir-switches)
e7a395b5
GM
17842 (find-grep-options): Do not autoload these defcustoms, remove purecopy.
17843 (find-name-arg): Remove purecopy.
8abb7da8 17844
f3ca7378
GM
17845 * progmodes/grep.el (grep-find-use-xargs): Doc fix.
17846 (grep-compute-defaults): Check for `-exec COMMAND +' support.
17847 Set grep-find-use-xargs, grep-find-command, and grep-find-template
17848 accordingly. Don't add the null-device if not needed.
17849
afa8e9f6
GM
17850 * files.el (save-some-buffers): Doc fix.
17851
35eae264
EZ
178522011-04-02 Eli Zaretskii <eliz@gnu.org>
17853
17854 * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
17855
26b51db5
JB
178562011-04-01 Juanma Barranquero <lekktu@gmail.com>
17857
17858 * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
17859 Use `dolist' rather than `mapcar'.
17860
7200d79c
SM
178612011-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
17862
03408648 17863 Add lexical binding.
7200d79c 17864
03408648
SM
17865 * subr.el (apply-partially): Use new closures rather than CL.
17866 (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
17867 (dolist, dotimes): Use slightly different expansion for lexical code.
17868 (functionp): Move to C.
17869 (letrec): New macro.
17870 (with-wrapper-hook): Use it and apply-partially instead of CL.
17871 (eval-after-load): Preserve lexical-binding.
17872 (save-window-excursion, with-output-to-temp-buffer): Turn them
17873 into macros.
7200d79c 17874
03408648
SM
17875 * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
17876
17877 * help-fns.el (help-split-fundoc): Return nil if there's nothing else
17878 than the arglist.
17879 (help-add-fundoc-usage): Don't add `Not documented'.
17880 (help-function-arglist): Handle closures, subroutines, and new
17881 byte-code-functions.
17882 (help-make-usage): Remove leading underscores.
17883 (describe-function-1): Handle closures.
17884 (describe-variable): Use special-variable-p for completion.
17885
17886 * files.el (lexical-binding): Declare safe.
f488fb65 17887
03408648
SM
17888 * emacs-lisp/pcase.el: Don't use destructuring-bind.
17889 (pcase--memoize): Rename from pcase-memoize. Change weakness.
17890 (pcase): Add `let' pattern.
17891 Change memoization so it actually works.
17892 (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
17893 (pcase--u1) <guard, pred>: Fix possible shadowing problem.
17894 <let>: New case.
f488fb65 17895
03408648
SM
17896 * emacs-lisp/macroexp.el: Use lexical binding.
17897 (macroexpand-all-1): Check obsolete macros. Expand compiler-macros.
17898 Don't convert ' to #' without checking that it's indeed quoting
17899 a lambda.
17900
17901 * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
f488fb65 17902 Use eval-sexp-add-defvars.
03408648
SM
17903 (eval-sexp-add-defvars): New fun.
17904
17905 * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
17906
17907 * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
17908 Don't autoload.
17909 (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
17910 than the internal `byte-compile-lambda'.
17911 (defmethod): Don't hide code under quotes.
17912 (eieio-defmethod): New `code' argument.
17913
17914 * emacs-lisp/eieio-comp.el: Remove.
17915
17916 * emacs-lisp/edebug.el (edebug-eval-defun)
17917 (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
17918 (edebug-toggle): Avoid `eval'.
17919
17920 * emacs-lisp/disass.el (disassemble-internal): Handle new
17921 `closure' objects.
17922 (disassemble-1): Handle new byte codes.
17923
17924 * emacs-lisp/cl.el (pushnew): Silence warning.
17925
17926 * emacs-lisp/cl-macs.el (cl-byte-compile-block)
17927 (cl-byte-compile-throw): Remove.
17928 (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
17929
17930 * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
17931 closures.
17932
17933 * emacs-lisp/cconv.el: New file.
17934
17935 * emacs-lisp/bytecomp.el: Use lexical binding instead of
17936 a "bytecomp-" prefix. Macroexpand everything as a separate phase.
17937 (byte-compile-initial-macro-environment):
17938 Handle declare-function here.
17939 (byte-compile--lexical-environment): New var.
17940 (byte-stack-ref, byte-stack-set, byte-discardN)
17941 (byte-discardN-preserve-tos): New lap codes.
17942 (byte-interactive-p): Don't use any more.
17943 (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
17944 New macros.
17945 (byte-compile-lapcode): Use them and handle new lap codes.
17946 (byte-compile-obsolete): Remove.
17947 (byte-compile-arglist-signature): Handle new byte-code arg"lists".
17948 (byte-compile-arglist-warn): Check late def of inlinable funs.
17949 (byte-compile-cl-warn): Don't silence warnings for compiler-macros
17950 since they should have been expanded by now.
17951 (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
17952 (byte-compile-from-buffer): Remove unused second arg.
17953 (byte-compile-preprocess): New function.
17954 (byte-compile-toplevel-file-form): New function to distinguish
17955 file-form calls from outside from file-form calls from hunk-handlers.
17956 (byte-compile-file-form): Simplify.
17957 (byte-compile-file-form-defsubst): Remove.
17958 (byte-compile-file-form-defmumble): Simplify now that
17959 byte-compile-lambda always returns a byte-code-function.
17960 (byte-compile): Preprocess.
17961 (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
17962 Remove, not used any more.
17963 (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
17964 (byte-compile-make-args-desc): New funs.
17965 (byte-compile-lambda): Handle lexical functions. Always return
17966 a byte-code-function.
17967 (byte-compile-reserved-constants): New var, to make up room for
17968 closed-over variables.
17969 (byte-compile-constants-vector): Obey it.
17970 (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
17971 (byte-compile-macroexpand-declare-function): New function.
17972 (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
17973 byte-code-functions.
17974 (byte-compile-form): Check obsolescence here.
17975 (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
17976 (byte-compile-variable-ref): Remove.
17977 (byte-compile-dynamic-variable-op): New fun.
17978 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
17979 (byte-compile-variable-set): New funs.
17980 (byte-compile-discard): Add 2 args.
17981 (byte-compile-stack-ref, byte-compile-stack-set)
17982 (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
17983 (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
17984 macroexpand-all instead.
17985 (byte-compile-quote-form): Remove.
17986 (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
17987 (byte-compile-bind, byte-compile-unbind): New funs.
17988 (byte-compile-let): Handle let* and lexical binding.
17989 (byte-compile-let*): Remove.
17990 (byte-compile-catch, byte-compile-unwind-protect)
17991 (byte-compile-track-mouse, byte-compile-condition-case):
17992 Handle a new :fun-body form, used for lexical scoping.
17993 (byte-compile-save-window-excursion)
17994 (byte-compile-with-output-to-temp-buffer): Remove.
17995 (byte-compile-defun): Simplify.
17996 (byte-compile-stack-adjustment): New fun.
17997 (byte-compile-out): Use it.
17998 (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
17999
18000 * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
18001 handler any more.
18002
18003 * emacs-lisp/byte-opt.el: Use lexical binding.
18004 (byte-inline-lapcode): Remove (to bytecomp).
18005 (byte-compile-inline-expand): Pay attention to inlining to/from
18006 lexically bound code.
18007 (byte-compile-unfold-lambda): Don't handle byte-code-functions
18008 any more.
18009 (byte-optimize-form-code-walker): Don't handle save-window-excursion
18010 any more and don't call compiler-macros.
18011 (byte-compile-splice-in-already-compiled-code): Remove.
18012 (byte-code): Don't inline any more.
18013 (disassemble-offset): Receive `bytes' as argument rather than via
18014 dynamic scoping.
18015 (byte-compile-tag-number): Declare before first use.
18016 (byte-decompile-bytecode-1): Handle new byte-codes, don't change
18017 `return' even if make-spliceable.
18018 (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
18019 obsolete interactive-p.
18020 (byte-optimize-lapcode): Optimize new lap-codes.
18021 Don't trip up on new form of `byte-constant' lap code.
18022
18023 * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
18024
18025 * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
18026
18027 * custom.el (custom-initialize-default, custom-declare-variable):
18028 Use `defvar'.
18029
18030 * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
18031 New variables.
18032 (compile-onefile, .el.elc, compile-calc, recompile): Use them.
18033 (COMPILE_FIRST): Add macroexp and cconv.
18034 * makefile.w32-in: Mirror changes in Makefile.in.
18035
18036 * vc/cvs-status.el:
18037 * vc/diff-mode.el:
18038 * vc/log-edit.el:
18039 * vc/log-view.el:
18040 * vc/smerge-mode.el:
18041 * textmodes/bibtex-style.el:
090bd7cb 18042 * textmodes/css-mode.el:
03408648
SM
18043 * startup.el:
18044 * uniquify.el:
da91b5f2
CY
18045 * minibuffer.el:
18046 * newcomment.el:
18047 * reveal.el:
18048 * server.el:
18049 * mpc.el:
18050 * emacs-lisp/smie.el:
18051 * doc-view.el:
18052 * dired.el:
03408648
SM
18053 * abbrev.el: Use lexical binding.
18054
0f0c1f27
EZ
180552011-04-01 Eli Zaretskii <eliz@gnu.org>
18056
18057 * info.el (info-display-manual): New function.
18058
c82b2579
SM
180592011-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
18060
18061 * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
18062
221ddf68
TH
180632011-03-31 Tassilo Horn <tassilo@member.fsf.org>
18064
18065 * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
2fbc1934 18066 an entry for that server in rcirc-authinfo. (Bug#8385)
221ddf68 18067
cba6e77e
GM
180682011-03-31 Glenn Morris <rgm@gnu.org>
18069
e040639f
GM
18070 * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
18071
cba6e77e
GM
18072 * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
18073
6d0f1c9e
CS
180742011-03-30 Christoph Scholtes <cschol2112@googlemail.com>
18075
18076 * progmodes/python.el (python-default-interpreter)
18077 (python-python-command-args, python-jython-command-args)
18078 (python-which-shell, python-which-args, python-which-bufname)
18079 (python-file-queue, python-comint-output-filter-function)
18080 (python-toggle-shells, python-shell): Remove obsolete defcustoms,
18081 variables and functions.
18082
3e2d70fd
SM
180832011-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
18084
18085 * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
18086 (completion-in-region-mode): New minor mode.
18087 (completion-in-region): Use it.
18088 (completion-in-region--data, completion-in-region-mode-map): New vars.
18089 (completion-in-region--postch): New function.
18090 (completion--capf-misbehave-funs, completion--capf-safe-funs):
18091 New vars.
18092 (completion--capf-wrapper): New function.
18093 (completion-at-point): Use it to track well-behavedness of
18094 hook functions.
18095 (completion-help-at-point): New command.
18096
f3e4086c
JM
180972011-03-30 Jason Merrill <jason@redhat.com> (tiny change)
18098
18099 * vc/add-log.el (add-change-log-entry): Don't use whitespace
18100 syntax class to search for whitespace on a single line
18101 (Message-ID: <4D938140.4030905@redhat.com>).
18102
eb7ffc14
LL
181032011-03-30 Leo Liu <sdl.web@gmail.com>
18104
18105 * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
18106 New commands.
18107 (edit-abbrevs-map): Bind them here.
18108 (write-abbrev-file): New optinal arg VERBOSE. (Bug#5937)
18109
d806ab68
KM
181102011-03-29 Ken Manheimer <ken.manheimer@gmail.com>
18111
18112 * allout.el (allout-hide-by-annotation, allout-flag-region):
18113 Reduce possibility of overlay leakage by making them volatile.
18114
18115 * allout-widgets.el (allout-widgets-tally): Define as nil so the
18116 hash is not shared between buffers. Mode initialization is
18117 responsible for giving it a useful starting value.
18118 (allout-item-span): Reduce possibility of overlay leakage by
18119 making them volatile.
18120 (allout-widgets-count-buttons-in-region): Add diagnostic function
18121 for tracking down button overlay leaks.
18122
ea622834
LL
181232011-03-29 Leo Liu <sdl.web@gmail.com>
18124
18125 * ido.el (ido-read-internal): Use the default history var
18126 minibuffer-history if no HISTORY is specified.
18127
b62f8267
G
181282011-03-28 Brian T. Sniffen <bsniffen@akamai.com> (tiny change)
18129
03408648
SM
18130 * net/imap.el (imap-shell-open, imap-process-connection-type):
18131 Use imap-process-connection-type for 'shell' streams as well as
b62f8267
G
18132 Kerberos, SSL, other subprocesses.
18133
947b6566
LL
181342011-03-28 Leo Liu <sdl.web@gmail.com>
18135
18136 * abbrev.el (abbrev-table-empty-p): New function.
18137 (prepare-abbrev-list-buffer): Place empty abbrev tables after
18138 nonempty ones. (Bug#5937)
18139
5ffb62aa
JD
181402011-03-27 Jan Djärv <jan.h.d@swipnet.se>
18141
18142 * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
18143
7a097943
LL
181442011-03-27 Leo Liu <sdl.web@gmail.com>
18145
18146 * ansi-color.el (ansi-color-names-vector): Allow cons cell value
18147 for foreground and background colors.
18148 (ansi-color-make-color-map): Adapt.
18149
c5b40130
LL
181502011-03-25 Leo Liu <sdl.web@gmail.com>
18151
1f48f7d2
LL
18152 * midnight.el (midnight-time-float): Remove. Note it calculates
18153 the microsecond component incorrectly and seconds-to-time does the
18154 same job.
625897ec 18155 Remove redundant (require 'timer).
1f48f7d2 18156
c5b40130
LL
18157 * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
18158 (ido-completions): Remove unused arguments. (Bug#8329)
18159
d86d2721
SM
181602011-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
18161
18162 * minibuffer.el (completion--flush-all-sorted-completions):
18163 Remove itself from hook.
18164 (completion-at-point): Let the functions perform the completion
18165 immediately and return nil or t.
18166 * comint.el (comint-dynamic-complete-functions): Now identical to
18167 completion-at-point-functions.
18168 (comint-dynamic-list-input-ring): Remove unused var `index'.
18169 (comint--match-partial-filename, comint--unquote&expand-filename):
18170 New funs, split from comint-match-partial-filename.
18171 (comint-dynamic-complete): Use completion-at-point.
18172 (comint-dynamic-complete-filename): Use comint--match-partial-filename.
18173
e8974c48
DA
181742011-03-24 Drew Adams <drew.adams@oracle.com>
18175
18176 * thingatpt.el: Support `defun'.
18177
def71b5e
LL
181782011-03-23 Leo Liu <sdl.web@gmail.com>
18179
cb5af48e
LL
18180 * abbrevlist.el: Move to obsolete/abbrevlist.el.
18181
def71b5e
LL
18182 * help-mode.el (help-mode-finish): Tweak regexp.
18183
927c53e7
GM
181842011-03-23 Glenn Morris <rgm@gnu.org>
18185
18d05bed
GM
18186 * eshell/esh-opt.el (eshell-eval-using-options):
18187 Do not bind unused local variable `eshell-option-stub'.
18188
927c53e7
GM
18189 * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
18190
9d0da923
JB
181912011-03-22 Juanma Barranquero <lekktu@gmail.com>
18192
18193 * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
18194 keymap variable in `with-no-warnings' to avoid a warning when the
18195 keymap has been already `defconst'ed.
18196
4b978a67
LL
181972011-03-22 Leo Liu <sdl.web@gmail.com>
18198
18199 * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
18200 encode all chars in abbrevs; otherwise use emacs-mule or
18201 utf-8-emacs. (Bug#8308)
18202
5fd62452
JB
182032011-03-22 Juanma Barranquero <lekktu@gmail.com>
18204
0b1596c6
JB
18205 * simple.el (backward-delete-char-untabify):
18206 Avoid warning about using `delete-backward-char'.
18207
5fd62452
JB
18208 * image.el (image-type-file-name-regexps): Make it variable.
18209 `imagemagick-register-types' modifies it, and the user may want
18210 to add new extensions for known image types.
18211 (imagemagick-register-types): Throw error if not using ImageMagick.
18212
0b4e93f1
LL
182132011-03-22 Leo Liu <sdl.web@gmail.com>
18214
18215 * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
18216 located before rcirc-prompt-end-marker.
18217 (rcirc-complete): Error if point is not after rcirc prompt.
18218 Handle the case when table is nil.
9882e214 18219 (rcirc-user-authenticated): Define to fix compiler warning.
0b4e93f1 18220
fccee4ab
CY
182212011-03-22 Chong Yidong <cyd@stupidchicken.com>
18222
18223 * custom.el (custom--inhibit-theme-enable): Make it affect only
18224 custom-theme-set-variables and custom-theme-set-faces.
18225 (provide-theme): Ignore custom--inhibit-theme-enable.
18226 (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
18227 (custom-enabling-themes): Delete variable.
d86d2721
SM
18228 (enable-theme): Accept only loaded themes as arguments.
18229 Ignore the special custom-enabled-themes variable.
fccee4ab
CY
18230 (custom-enabled-themes): Forbid themes from setting this.
18231 Eliminate use of custom-enabling-themes.
18232 (custom-push-theme): Quote "changed" custom var entry.
0357c7ae 18233
af896da6
LL
182342011-03-21 Leo Liu <sdl.web@gmail.com>
18235
18236 * ido.el (ido-read-internal): Add ido-selected to history instead
18237 of user input.
18238
78f64af0
SM
182392011-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
18240
18241 * subr.el (deferred-action-list, deferred-action-function):
18242 Mark obsolete.
18243
b16ac1ec
LL
182442011-03-21 Leo Liu <sdl.web@gmail.com>
18245
810f7698
LL
18246 * vc/log-view.el: Remove (require 'wid-edit), not needed after the
18247 change on 2011-02-13 (bug#8309).
18248
b16ac1ec
LL
18249 * minibuffer.el (read-file-name-function): Change default value.
18250 (read-file-name--defaults): Rename from read-file-name-defaults.
18251 (read-file-name-default): Rename from read-file-name.
18252 (read-file-name): Call read-file-name-function.
18253
4e05e67e
GM
182542011-03-21 Glenn Morris <rgm@gnu.org>
18255
18256 * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
18257 Doc fixes.
18258
4359915b
CY
182592011-03-21 Chong Yidong <cyd@stupidchicken.com>
18260
18261 * cus-theme.el: Add missing provide statement.
18262 (customize-create-theme): Extract theme value correctly.
18263 (custom-theme-visit-theme): Autoload.
18264 (customize-create-theme): Prompt before inserting default faces.
18265
1fe275ee
JB
182662011-03-20 Jay Belanger <jay.p.belanger@gmail.com>
18267
18268 * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
18269 units and musical notes.
18270
cd394be1 182712011-03-20 Leo Liu <sdl.web@gmail.com>
3ec03f7e
LL
18272
18273 * ido.el (ido-read-internal): Use completing-read-default.
18274 (ido-completing-read): Fix compatibility with completing-read.
18275
7d476bde
CO
182762011-03-20 Christian Ohler <ohler@gnu.org>
18277
18278 * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
18279 (ert-delete-all-tests): Use `called-interactively-p' rather than
18280 `interactive-p'.
18281 (ert--make-xrefs-region): Respect END.
18282
fe0fb33e
CY
182832011-03-19 Chong Yidong <cyd@stupidchicken.com>
18284
ff854b0b
CY
18285 * dired-aux.el (dired-create-directory): Signal an error if the
18286 directory already exists (Bug#8246).
18287
fe0fb33e
CY
18288 * facemenu.el (list-colors-display): Call list-faces-display
18289 inside with-help-window.
18290 (list-colors-print): Use display property to align the final
18291 column, instead of checking window-width.
18292
576bce32
EZ
182932011-03-19 Eli Zaretskii <eliz@gnu.org>
18294
4d61f28d 18295 * vc/emerge.el (emerge-metachars): Separate value for ms-dos and
576bce32
EZ
18296 windows-nt systems.
18297 (emerge-protect-metachars): Quote correctly for ms-dos and
18298 windows-nt systems.
18299
89c41d68 183002011-03-19 Ralph Schleicher <rs@ralph-schleicher.de>
e6ce307c
RS
18301
18302 * info.el (info-initialize): Replace all uses of `:' with
18303 path-separator for compatibility with non-Unix systems.
18304 Cache quoting of path-separator. (Bug#8258)
18305
b14e3e21 183062011-03-19 Juanma Barranquero <lekktu@gmail.com>
ad22b7f7
JB
18307
18308 * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
18309 (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
18310 (mouse-avoidance-mode): Fix typos in docstrings.
18311
4525ce3e
CY
183122011-03-19 Chong Yidong <cyd@stupidchicken.com>
18313
18314 * startup.el (package-subdirectory-regexp): Move from package.el.
18315 Omit \\` and \\', and let callers add them.
18316
18317 * emacs-lisp/package.el (package-strip-version)
18318 (package-load-all-descriptors): Add \\` and \\' to
18319 package-subdirectory-regexp before using it.
18320 (package-untar-buffer): New arg DIR; ensure that file untars only
18321 into this expected directory. Remove superfluous delete-region.
18322 (package-unpack): Caller changed.
18323 (package-tar-file-info): Use package-subdirectory-regexp.
18324
a904a09a 183252011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
1518e4f0 18326
a904a09a
SM
18327 * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
18328 diff-mode-shared-map (bug#8284).
18329 (diff-mode-shared-map): Re-introduce some bindings that were problematic.
1518e4f0
G
18330
183312011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
18332
18333 * calendar/time-date.el (format-seconds): Use assoc instead of
18334 assoc-string, since assoc-string doesn't exist in XEmacs.
18335
171fc304
JB
183362011-03-17 Juanma Barranquero <lekktu@gmail.com>
18337
18338 * custom.el (custom-known-themes): Reflow docstring.
18339 (custom-theme-load-path): Fix typo in docstring.
18340 (load-theme): Fix typo in error message.
18341 (custom-available-themes, custom-variable-theme-value):
18342 Use `let', not `let*'.
18343
d71990a1
JB
183442011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
18345
18346 * calc/README: Mention inclusion of musical notes.
18347
18348 * calc/calc-units.el (calc-lu-quant): Rename from
18349 `calc-logunits-quantity'.
18350 (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
18351 (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
18352 (calc-db): Rename from `calc-dblevel'.
18353 (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
18354 (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
18355 (calc-np): Rename from `calc-nplevel'.
18356 (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
18357 (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
18358 (calc-lu-plus): Rename from `calc-logunits-add'.
18359 (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
18360 (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
18361 (calc-lu-minus): Rename from `calc-logunits-sub'.
18362 (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
18363 (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
18364 (calc-lu-times): Rename from `calc-logunits-mul'.
18365 (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
18366 (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
18367 (calc-lu-divide): Rename from `calc-logunits-div'.
18368 (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
18369 (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
18370
18371 * calc/calc-ext.el (calc-init-extensions): Update the names of the
18372 functions being autoloaded.
18373
18374 * calc/calc.el (calc-lu-power-reference): Rename from
18375 `calc-logunits-power-reference'.
18376 (calc-lu-field-reference): Rename from
18377 `calc-logunits-field-reference'.
18378
7a71b18d
GM
18379 * calc/calc-help.el (calc-l-prefix-help):
18380 Mention musical note functions.
d71990a1 18381
40c2934b
SM
183822011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
18383
18384 * minibuffer.el (completion-all-sorted-completions):
18385 Use :completion-cycle-penalty text property if present.
18386
b0911414
KM
183872011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
18388
18389 * allout.el (allout-yank-processing): Adjust for new rebulleting
18390 regime so bullet being yanked is used without prompting the user
18391 for a choice.
18392
8a05b668
JB
183932011-03-16 Juanma Barranquero <lekktu@gmail.com>
18394
18395 * startup.el (command-line): Warn the user that _emacs is deprecated.
18396
5ba5fb81
JB
183972011-03-16 Juanma Barranquero <lekktu@gmail.com>
18398
18399 * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
18400 (delphi-verbose, delphi-comment-face, delphi-string-face)
18401 (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
18402 (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
18403 (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
18404 (delphi-new-comment-line, delphi-font-lock-defaults)
18405 (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
18406 Fix typos in docstrings.
18407
2dab465b
KM
184082011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
18409
5ba5fb81 18410 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
2dab465b
KM
18411 Invert the roles of character and string values for INSTEAD, so a
18412 string is used for the more common case of a defaulting prompt.
18413
0adf5618
SM
184142011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
18415
18416 * progmodes/ruby-mode.el (ruby-backward-sexp):
18417 * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
18418 * play/gamegrid.el (gamegrid-make-face):
18419 * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
18420 (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
18421 * notifications.el (notifications-notify):
18422 * net/xesam.el (xesam-search-engines):
18423 * net/quickurl.el (quickurl-list-insert):
18424 * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
18425
d72700e5
CY
184262011-03-15 Chong Yidong <cyd@stupidchicken.com>
18427
18428 * startup.el (command-line): Update package subdirectory regexp.
18429
49c5410a
SM
184302011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
18431
c6eee9aa
SM
18432 * allout.el (allout-abbreviate-flattened-numbering)
18433 (allout-mode-deactivate-hook): Fix up obsolescence "date".
18434
49c5410a
SM
18435 * subr.el (read-char-choice): Only show the cursor after the prompt,
18436 not after the answer.
18437
047b2bb9
KR
184382011-03-15 Kevin Ryde <user42@zip.com.au>
18439
18440 * help-fns.el (variable-at-point): Skip leading quotes, if any
18441 (bug#8253).
18442
0a57d256
SM
184432011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
18444
18445 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
18446 warning message.
18447
77c992bc
MA
184482011-03-14 Michael Albinus <michael.albinus@gmx.de>
18449
18450 * shell.el (shell): When called interactively, offer to change the
18451 shell file name on remote hosts.
18452
eebc475d
TZ
184532011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
18454
18455 * net/ldap.el (ldap-search-internal): Add `auth-source-search'
18456 integration for LDAP parameters. The host, base, user or binddn,
18457 and secret tokens can be specified in a netrc file, for instance.
18458 This is optional because an `auth-source' parameter must be
18459 specified in the search attributes.
18460
9d05d1ba
JB
184612011-03-13 Juanma Barranquero <lekktu@gmail.com>
18462
18463 * help.el (describe-mode): Link to the mode's definition (bug#8185).
18464
09d9db2c
GM
184652011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
18466
18467 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
18468 into declaration. Remove redundant and harmful binding.
18469
184702011-03-12 Eli Zaretskii <eliz@gnu.org>
18471
18472 * files.el (file-ownership-preserved-p): Pass `integer' as an
18473 explicit 2nd argument to `file-attributes'. If the file's owner
18474 is the Administrators group on Windows, and the current user is
18475 Administrator, consider that a match.
18476
18477 * server.el (server-ensure-safe-dir): Consider server directory
18478 safe on MS-Windows if its owner is the Administrators group while
18479 the current Emacs user is Administrator. Use `=' to compare
18480 numerical UIDs, since they could be integers or floats.
18481
219bd536
JB
184822011-03-12 Juanma Barranquero <lekktu@gmail.com>
18483
18484 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
18485
f3afd36b
MA
184862011-03-12 Michael Albinus <michael.albinus@gmx.de>
18487
18488 Sync with Tramp 2.2.1.
18489
18490 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
18491
18492 * net/trampver.el: Update release number.
18493
3aaaa6f1
SM
184942011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
18495
94642599
SM
18496 * progmodes/compile.el (compilation--previous-directory): Fix up
18497 various nil/dead-marker mismatches (bug#8014).
18498 (compilation-directory-properties, compilation-error-properties):
18499 Don't call it at a position past the one we're about to change.
18500
3aaaa6f1
SM
18501 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
18502 Disable obsolescence warnings in the file that declares it.
18503
14239447
KM
185042011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
18505
099c39a4
JB
18506 * allout-widgets.el (allout-widgets-tally):
18507 Initialize allout-widgets-tally as a hash table rather than nil to
18508 prevent mode-line redisplay warnings. Also, clarify the module
18509 description and fix a comment typo.
14239447 18510
135e287c
JB
185112011-03-11 Juanma Barranquero <lekktu@gmail.com>
18512
18513 * help-fns.el (describe-variable): Don't complete keywords.
18514 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
18515
ffbf300e
CY
185162011-03-10 Chong Yidong <cyd@stupidchicken.com>
18517
ba08b241
CY
18518 * emacs-lisp/package.el (package-version-join): Impose a standard
18519 string representation for pre/alpha/beta version lists.
18520 (package-unpack-single): Standardize the directory name by passing
18521 it through package-version-join.
18522 (package-strip-rcs-id): Accept any version string that does not
18523 signal an error in version-to-list.
ffbf300e 18524
f346fd6b
MA
185252011-03-10 Michael Albinus <michael.albinus@gmx.de>
18526
18527 * simple.el (delete-trailing-whitespace): Return nil for the
18528 benefit of `write-file-functions'.
18529
ccb55d27
GM
185302011-03-10 Glenn Morris <rgm@gnu.org>
18531
5ceaac0c
GM
18532 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
18533
02da65ff
GM
18534 * vc/vc-git.el (vc-git-program): New option.
18535 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
18536 (vc-git--call): Use it.
18537
b2f603cc
GM
18538 * eshell/esh-util.el (eshell-condition-case): Doc fix.
18539
5772caab
GM
18540 * cus-edit.el (Custom-newline): If no button at point, look
18541 for a subgroup button at start-of-line. (Bug#2298)
18542
ccb55d27
GM
18543 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
18544
ec6ecaed
JD
185452011-03-10 Julien Danjou <julien@danjou.info>
18546
18547 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
18548 `cursor-type' is nil.
18549
9d5aa01d
JB
185502011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
18551
18552 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
18553
b6a5875b
KM
185542011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
18555
7a71b18d 18556 * allout.el: Change so yank of distinctive-bullet items
b6a5875b
KM
18557 preserves the existing header prefix, rebulleting it if necessary,
18558 rather than replacing it. This is necessary for proper operation
18559 of cooperative addons like allout-widgets.
1154d12e
JB
18560 (allout-make-topic-prefix, allout-rebullet-heading):
18561 Change SOLICIT arg to INSTEAD, and interpret additionally a string
18562 value as alternate bullet to be used, instead of prompting the user
18563 for a bullet character.
b6a5875b 18564
ee545c35
MA
185652011-03-09 Michael Albinus <michael.albinus@gmx.de>
18566
d86d2721
SM
18567 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
18568 Do not use `tramp-file-name-port', because this returns also
ee545c35
MA
18569 `tramp-default-port'.
18570
c47971d7
DD
185712011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
18572
18573 * net/rcirc.el (rcirc-handler-001): Remove useless
18574 with-rcirc-process-buffer.
18575 (rcirc-check-auth-status): Swap arguments to string-match.
18576
13522cb4
GM
185772011-03-09 Glenn Morris <rgm@gnu.org>
18578
0be6f4f1
GM
18579 * shell.el (shell-mode):
18580 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
18581
13522cb4
GM
18582 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
18583 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
18584
515de2e3
CY
185852011-03-08 Chong Yidong <cyd@stupidchicken.com>
18586
18587 * emacs-lisp/package.el (package-refresh-contents)
18588 (package-menu-execute): Use condition-case-no-debug.
18589
b511b994
MA
185902011-03-08 Michael Albinus <michael.albinus@gmx.de>
18591
18592 * simple.el (shell-command-to-string): Use `process-file'.
18593
18594 * emacs-lisp/package.el (package-tar-file-info): Handle also
18595 remote files.
18596
d86d2721
SM
18597 * emacs-lisp/package-x.el (package-upload-buffer-internal):
18598 Use `equal' for upload base check.
b511b994 18599
25bbfb31
AM
186002011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
18601
18602 * textmodes/texinfo.el (texinfo-environments):
18603 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
18604
be996521
GM
186052011-03-08 Glenn Morris <rgm@gnu.org>
18606
e9c8529f
GM
18607 * cus-start.el (cursor-in-non-selected-windows):
18608 Fix :set quoting oddness. (Bug#8192)
18609
be996521
GM
18610 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
18611 in some setf expressions. (Bug#2159)
18612
2bb5649e
CY
186132011-03-08 Chong Yidong <cyd@stupidchicken.com>
18614
18615 * custom.el (custom-available-themes): Return themes in
18616 alphabetical order.
18617
33383987 18618See ChangeLog.15 for earlier changes.
e3d51b27
MR
18619
18620;; Local Variables:
18621;; coding: utf-8
e3d51b27
MR
18622;; End:
18623
acaf905b 18624 Copyright (C) 2011-2012 Free Software Foundation, Inc.
e3d51b27
MR
18625
18626 This file is part of GNU Emacs.
18627
18628 GNU Emacs is free software: you can redistribute it and/or modify
18629 it under the terms of the GNU General Public License as published by
18630 the Free Software Foundation, either version 3 of the License, or
18631 (at your option) any later version.
18632
18633 GNU Emacs is distributed in the hope that it will be useful,
18634 but WITHOUT ANY WARRANTY; without even the implied warranty of
18635 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18636 GNU General Public License for more details.
18637
18638 You should have received a copy of the GNU General Public License
18639 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.