Doc fixes for defface and friends.
[bpt/emacs.git] / lisp / ChangeLog
CommitLineData
ed1f0bd3
CY
12012-09-18 Chong Yidong <cyd@gnu.org>
2
3 * custom.el (defface): Doc fix.
4
5 * cus-edit.el (custom-unlispify-remove-prefixes): Add warning.
6
a11035b8
MB
72012-09-18 Martin Blais <blais@furius.ca> (tiny change)
8
9 * progmodes/compile.el (compilation-start): Use compilation-always-kill
10 to initialize query-on-exit; then test that instead (bug#12288).
11
64f6a736
SM
122012-09-17 Stefan Merten <smerten@oekonux.de>
13
14 * rst.el: Add support for `testcover'.
15 (rst-defcustom-testcover, rst-testcover-add-compose)
16 (rst-testcover-add-1value): New functions.
17 (rst-portable-mark-active-p): Replace by `use-region-p'.
18 (rst-update-section, rst-classify-adornment)
19 (rst-find-title-line): Mark `1value' forms.
20 (rst-classify-adornment): Remove superfluous form.
21 (rst-update-section, rst-get-adornments-around)
22 (rst-adornment-complete-p, rst-get-next-adornment)
23 (rst-adjust, rst-promote-region)
24 (rst-display-adornments-hierarchy, rst-straighten-adornments)
25 (rst-find-pfx-in-region, rst-section-tree-rec)
26 (rst-section-tree-point, rst-toc-insert, rst-toc-insert-node)
27 (rst-toc-node, rst-toc, rst-forward-section)
28 (rst-iterate-leftmost-paragraphs)
29 (rst-iterate-leftmost-paragraphs-2, rst-enumerate-region)
30 (rst-bullet-list-region)
31 (rst-convert-bullets-to-enumeration, rst-font-lock-keywords)
32 (rst-compile-find-conf, rst-compile)
33 (rst-repeat-last-character): Fix style.
34
580bd868
CY
352012-09-17 Chong Yidong <cyd@gnu.org>
36
37 * comint.el (comint--complete-file-name-data): Don't add a space
38 if the status is `sole'; that adds a gratuitous space in the
39 completion-cycling case (Bug#12092).
40
41 * pcomplete.el (pcomplete-completions-at-point): Likewise.
42
69de3ec6
RS
432012-09-17 Richard Stallman <rms@gnu.org>
44
0dee970c
RS
45 * mail/rmailmm.el (rmail-mime-toggle-raw): Do rmail-mime-insert
46 only in the mime-shown mode, not in raw mode.
47 (rmail-mime): Toggle off mime by displaying the message without
6b250df6 48 mime processing. (Bug#12305)
0dee970c 49
6b250df6
GM
50 * mail/rmail.el (rmail-retry-failure):
51 Turn off mime processing first. (Bug#12037)
acb1c47b 52
69de3ec6
RS
53 * epa-mail.el (epa-mail-encrypt): Fix bug when a name has no key.
54
d079ee5f
CY
552012-09-17 Chong Yidong <cyd@gnu.org>
56
57 * shell.el (shell-file-name-chars, shell-file-name-quote-list)
58 (shell-dynamic-complete-functions): Convert to defcustom.
59 (shell-prompt-pattern, shell-completion-fignore): Doc fix.
60
865fe16f
CY
61 * bookmark.el (bookmark-bmenu-toggle-filenames): Doc fixes.
62 * comint.el (comint-prompt-read-only):
63 * custom.el (defcustom):
64 * hi-lock.el (hi-lock-mode):
65 * ibuffer.el (ibuffer-formats):
66 * ielm.el (ielm-prompt-read-only):
67 * novice.el (disable-command):
68 * saveplace.el (toggle-save-place):
69 * speedbar.el (speedbar-supported-extension-expressions):
70 * startup.el (auto-save-list-file-prefix, init-file-user)
71 (after-init-hook, inhibit-startup-echo-area-message):
72 * strokes.el (strokes-help):
73 * time-stamp.el (time-stamp):
74 * calendar/calendar.el (calendar, diary-file):
75 * calendar/diary-lib.el (diary-mail-entries, diary)
76 (diary-list-entries-hook):
77 * calendar/holidays.el (holidays, calendar-holidays):
78 * calendar/lunar.el (lunar-phases):
79 * calendar/solar.el (sunrise-sunset):
80 * emulation/edt.el (edt-load-keys):
81 * emulation/viper.el (viper-mode):
82 * eshell/em-alias.el (eshell-command-aliases-list):
83 * eshell/esh-util.el (eshell-convert-numeric-arguments):
84 * international/ogonek.el (ogonek-information):
85 * net/tramp-cmds.el (tramp-bug):
86 * net/quickurl.el (quickurl-reread-hook-postfix):
87 * play/decipher.el (decipher-font-lock-keywords):
88 * progmodes/cc-styles.el (c-set-style):
89 * progmodes/idlw-shell.el (idlwave-shell-prompt-pattern):
90 * progmodes/inf-lisp.el (inferior-lisp-prompt):
91 * progmodes/octave-mod.el (octave-mode):
92 * progmodes/sql.el (sql-mode, sql-interactive-mode, sql-password):
93 * progmodes/verilog-mode.el (verilog-read-defines):
94 * textmodes/two-column.el (2C-mode): Likewise.
95
48093eb9
KY
962012-09-16 Katsumi Yamaoka <yamaoka@jpl.org>
97
98 * mail/mailabbrev.el (mail-abbrev-expand-hook): Work for a mail aliasee
99 that holds many addresses.
100
c584eaf9
CY
1012012-09-16 Chong Yidong <cyd@gnu.org>
102
40d70ecb
CY
103 * align.el (align-areas): Call the indication function with
104 positions instead of markers for arguments (Bug#12343).
105
1667e065
CY
106 * files.el (parse-colon-path): Use split-string (Bug#12351).
107
fdc2806d 108 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
71ce58e7 109 (display-buffer-function): Mark as obsolete.
fdc2806d 110
f1be615c
CY
111 * progmodes/compile.el (compilation-parse-errors): Accept list
112 values similar to font-lock-keywords (Bug#12136). Suggested by
113 Oleksandr Manzyuk.
c584eaf9
CY
114 (compilation-error-regexp-alist): Doc fix.
115
f40a9709
GM
1162012-09-15 Glenn Morris <rgm@gnu.org>
117
72aa16e1
GM
118 * version.el (emacs-bzr-version-bzr): New function.
119 (emacs-bzr-get-version): Add optional EXTERNAL argument.
120
82375160
GM
121 * vc/vc-bzr.el (vc-bzr-working-revision): For lightweight local
122 checkouts, check the parent dirstate matches the branch.
123 Add "--tree" to "bzr revno" arguments. Don't try to shorten the
124 empty string.
125
f40a9709
GM
126 * version.el (emacs-bzr-version): Doc fix.
127 (emacs-bzr-version-dirstate): New function.
128 (emacs-bzr-get-version): For lightweight checkouts, if the parent
129 is local try and check that it matches the branch. If not, just
130 use dirstate information. (Bug#12441)
131
cb26b7f5
JL
1322012-09-14 Juri Linkov <juri@jurta.org>
133
134 * dired-aux.el (dired-do-chmod): Use `eq' to detect empty input.
135 (Bug#12399)
136
2de39f08
SM
1372012-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
138
0fb3cb7c
SM
139 * emacs-lisp/advice.el (ad-prognify): Remove, use macroexp-progn.
140
2de39f08
SM
141 * emacs-lisp/edebug.el: Miscellaneous cleanup.
142 Remove obsolete byte-compiler hack that tried to silence some warnings.
143 (edebug-submit-bug-report): Remove.
144 (edebug-get-buffer-window, edebug-sit-for, edebug-input-pending-p):
145 Remove aliases, use the un-prefixed name instead.
146 (edebug-pop-to-buffer): Consider other frames.
147 (edebug-original-read):: Make it more obvious that it's always defined.
148 (edebug--make-form-data-entry, edebug--form-data-name)
149 (edebug--form-data-begin, edebug--form-data-end): Rename from the
150 single-dashed name, and implement with cl-defstruct.
151 (edebug-set-form-data-entry): Use the standard accessors.
152 (edebug-make-top-form-data-entry): Use push.
153 (edebug-no-match): Drop useless `funcall'.
154 (mapcar, mapconcat, mapatoms, apply, funcall): Don't add debug specs
155 to functions.
156 (defsubst, dont-compile, eval-when-compile, eval-and-compile)
157 (delay-mode-hooks, with-temp-file, with-temp-message, ad-dolist)
158 (with-syntax-table, push, pop, 1value, noreturn, defadvice)
159 (easy-menu-define, with-custom-print): Remove redundant specs.
160 (edebug-outside-overriding-local-map)
161 (edebug-outside-overriding-terminal-local-map): Remove, unused.
162 (edebug--display): Bind unread-command-events directly to nil rather
163 than binding it to unread-command-events and later setting it to nil.
164 (edebug--display): Kill edebug-eval-buffer here...
165 (edebug--recursive-edit): ...rather than here.
166 Bind standard-output and standard-input.
167 (edebug-eval): Check cl-macroexpand-all is fboundp.
168 (edebug-temp-display-freq-count): Fix last change.
169
170 * emacs-lisp/easymenu.el (easy-menu-define): Add `debug' spec.
171 * subr.el (noreturn, 1value): Add `debug' spec.
172 * emacs-lisp/advice.el: Require cl-lib.
173 (ad-copy-tree): Remove, use copy-tree instead.
174 (ad-dolist): Remove use dolist or cl-dolist instead.
175 (ad-do-return): Remove, use cl-return instead.
176 (defadvice): Add `debug' spec.
177
5b68b333
JL
1782012-09-13 Juri Linkov <juri@jurta.org>
179
180 * dired-aux.el (dired-do-chxxx): Use `eq' to detect empty input.
181 (Bug#12399)
182
b9800ec4
GM
1832012-09-13 Glenn Morris <rgm@gnu.org>
184
6a2e6868
GM
185 * calc/calc.el (math-compose-expr):
186 * calc/calc-ext.el (math-compose-expr):
187 * progmodes/cc-defs.el (cl-macroexpand-all):
188 * progmodes/cc-langs.el (delete-duplicates, mapcan)
189 (cl-macroexpand-all): Update declarations.
190
b9800ec4
GM
191 * vc/vc.el: No need to require ediff.
192 (ediff-load-version-control): Declare.
193 (ediff-vc-internal): Fix declaration.
194 (vc-version-ediff): Require ediff.
195
c18e885b
PE
1962012-09-13 Paul Eggert <eggert@cs.ucla.edu>
197
198 Use a more backwards-compatible timer format (Bug#12430).
199 * emacs-lisp/timer.el (timer): PSECS is now at the end, rather than
200 being right after USECS, as that better supports old code that
201 inadvisedly looked directly at the timer vector.
202
d607d303
KH
2032012-09-13 Kenichi Handa <handa@gnu.org>
204
205 * language/chinese.el ("Chinese-GB", "Chinese-BIG5")
206 ("Chinese-CNS", "Chinese-EUC-TW"): Add chinese-gbk to
207 `coding-priority' property of these language environment.
208
72eac303
PE
2092012-09-13 Paul Eggert <eggert@cs.ucla.edu>
210
211 Fix glitches caused by addition of psec to timers (Bug#12430).
212 * image.el (image-animate-timer):
213 * time.el (display-time-world-timer):
214 Use timer--function and timer--args rather than raw access to
215 timer vector.
216
2168fe4f
GM
2172012-09-13 Glenn Morris <rgm@gnu.org>
218
219 * emacs-lisp/bytecomp.el (byte-compile-warning-prefix):
220 If not compiling a file, try using load-file-name.
221
bd8d6108
SM
2222012-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
223
c0c54fbd
SM
224 * emacs-lisp/edebug.el (edebug-outside-unread-command-events):
225 Fix last change.
226 (edebug-update-eval-list): Use `push'.
227
bd8d6108
SM
228 * emacs-lisp/edebug.el: Use lexical-binding.
229 Remove the "edebug-" prefix from non-dynamically-scoped variables.
230 Mark unused args with underscore.
231 (edebug-save-restriction, edebug-outside-excursion): Use `declare'.
232 (edebug-form-data): Use defvar-local.
233 (edebug-make-before-and-after-form, edebug-make-after-form):
234 Use backquote.
235 (edebug-args, edebug-value, edebug-after-index, edebug-arg-mode):
236 Not dynamically scoped any more.
237 (edebug--enter-trace): Add arguments `function' and `args'.
238 Rename from edebug-enter-trace.
239 (edebug-enter): Call it accordingly. Bind edebug-function explicitly.
240 (edebug--update-coverage): Add `after-index' and `value' args.
241 Rename from edebug-update-coverage.
242 (edebug-slow-after): Call it accordingly.
243 (edebug--recursive-edit): Add arg `arg-mode'. Rename from
244 edebug-recursive-edit.
245 (edebug--display): Call it accordingly. Add args `value',
246 `offset-index', and `arg-mode'. Rename from edebug-display.
247 (edebug-debugger, edebug): Call it accordingly.
248 (edebug-eval-display-list): Use dolist.
249
a9f9d9de
JL
2502012-09-12 Juri Linkov <juri@jurta.org>
251
252 * info.el (Info-search): Don't check for isearch-mode and
253 isearch-regexp before let-binding search-spaces-regexp to
254 Info-search-whitespace-regexp.
255 (Info-isearch-search): Let-bind Info-search-whitespace-regexp to
256 search-whitespace-regexp if isearch-lax-whitespace or
257 isearch-regexp-lax-whitespace is non-nil.
258 (Info-mode): Don't set local variable search-whitespace-regexp.
259 http://lists.gnu.org/archive/html/emacs-devel/2012-08/msg00811.html
260
bfeae2cf
SM
2612012-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
262
263 * emacs-lisp/debug.el (debugger-outer-unread-command-char, debug)
264 (debugger-env-macro): Remove support for unread-command-char.
265
266 * subr.el (set-temporary-overlay-map): Minimize slightly the impact of
267 the temporary map re-appearing on emulation-mode-map-alists.
268
269 * emacs-lisp/edebug.el (def-edebug-form-spec): Remove, it's been broken
270 since 22.1.
271
272 * ehelp.el (with-electric-help): Accept functions in
273 electric-help-form-to-execute.
274 (electric-help-execute-extended, electric-help-ctrl-x-prefix): Use it.
275 And replace unread-command-char -> unread-command-events.
276
fbbcaf1b
MA
2772012-09-12 Michael Albinus <michael.albinus@gmx.de>
278
279 Sync with Tramp 2.2.6.
280
281 * net/tramp.el (tramp-accept-process-output): Don't use
282 JUST-THIS-ONE in the XEmacs case.
283
284 * net/trampver.el: Update release number.
285
4dece104
MR
2862012-09-12 Martin Rudalics <rudalics@gmx.at>
287
bfeae2cf
SM
288 * emacs-lisp/debug.el (debugger-previous-window-height):
289 New variable.
4dece104
MR
290 (debug): When debugger-jumping-flag is non-nil try to restore
291 height of debugger window. (Bug#8789)
292
45b82ad0
SM
2932012-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
294
60c49c0f
SM
295 * emacs-lisp/edebug.el (edebug-enter): Don't mess with
296 overriding-local-map and pre/post-command-hook here.
297 (edebug-recursive-edit): Do it here instead (bug#12345).
298 (edebug-outside-unread-command-char): Remove all uses of
299 unread-command-char.
300
45b82ad0
SM
301 * emacs-lisp/debug.el (debug): Don't bind debug-on-error since
302 inhibit-debugger is bound instead.
303
baa26ea0
BG
3042012-09-11 Bastien Guerry <bzg@gnu.org>
305
306 * subr.el (set-temporary-overlay-map): Add a docstring.
fc0c31f8 307 (Bug#12346)
baa26ea0 308
04e8abfa
BG
3092012-09-11 Bastien Guerry <bzg@gnu.org>
310
96d03571 311 * minibuffer.el (completion-table-subvert): Fix docstring.
fc0c31f8 312 (Bug#12347)
96d03571
BG
313
3142012-09-11 Bastien Guerry <bzg@gnu.org>
315
fc0c31f8 316 * help-fns.el (describe-variable): Fix typo. (Bug#12346)
04e8abfa 317
04e082b0
MM
3182012-09-10 Michael R. Mauger <mmaug@yahoo.com>
319
320 * progmodes/sql.el: Version 3.1
321 (sql-db2-escape-newlines): New variable.
322 (sql-escape-newlines-filter): Use it.
323
399a361b
JB
3242012-09-10 Juanma Barranquero <lekktu@gmail.com>
325
326 * custom.el (custom-theme-load-confirm): Remove unneeded assignment.
327
0780c517
DN
3282012-09-10 Dan Nicolaescu <dann@gnu.org>
329
45b82ad0
SM
330 * vc/diff-mode.el (diff-mode-menu):
331 Bind diff-remove-trailing-whitespace.
0780c517 332
9b851e25
SM
3332012-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
334
335 * emacs-lisp/lisp-mode.el (emacs-list-byte-code-comment-re): New var.
fc0c31f8
JB
336 (emacs-lisp-byte-code-comment, emacs-lisp-byte-code-syntax-propertize)
337 (emacs-lisp-byte-code-mode): New functions.
9b851e25
SM
338 (eval-sexp-add-defvars): Don't skip defvars in column >0.
339 (eval-defun-2): Remove bogus interactive spec.
340 (lisp-indent-line): Remove redundant whole-exp code, now done in
341 indent-according-to-mode.
342 (save-match-data): Remove redundant indent data.
343
344 * emacs-lisp/benchmark.el (benchmark-run, benchmark-run-compiled):
345 Use `declare'.
346
3231d532
JL
3472012-09-09 Juri Linkov <juri@jurta.org>
348
349 * replace.el (replace-regexp-lax-whitespace): New defcustom.
350 (replace-lax-whitespace, query-replace-regexp)
351 (query-replace-regexp-eval, replace-regexp): Doc fix.
352 (perform-replace, replace-highlight): Let-bind
353 isearch-lax-whitespace to replace-lax-whitespace and
354 isearch-regexp-lax-whitespace to replace-regexp-lax-whitespace.
355
356 * isearch.el (isearch-query-replace): Let-bind
357 replace-lax-whitespace to isearch-lax-whitespace and
358 replace-regexp-lax-whitespace to
359 isearch-regexp-lax-whitespace. (Bug#10885)
360
70fe8236
SM
3612012-09-09 Stefan Monnier <monnier@iro.umontreal.ca>
362
363 * eshell/em-unix.el (eshell/sudo): Explicitly drop return value.
364
8ed43f15
AM
3652012-09-09 Alan Mackenzie <acm@muc.de>
366
70fe8236
SM
367 * progmodes/cc-engine.el (c-state-cache-init):
368 Initialise c-state-semi-nonlit-pos-cache\(-limit\)? properly.
369 (c-record-parse-state-state):
370 Record c-state-semi-nonlit-pos-cache\(-limit\)?.
8ed43f15 371
bfabf70a
AS
3722012-09-09 Andreas Schwab <schwab@linux-m68k.org>
373
374 * register.el (register-separator): Rename from
375 separator-register. All uses changed. Doc fix.
376 (register): Fix version.
377
011474aa
CY
3782012-09-09 Chong Yidong <cyd@gnu.org>
379
380 * replace.el (query-replace-map): Bind four new symbols for
381 requesting window scrolling.
382
383 * subr.el (y-or-n-p): Handle the window-scrolling bindings in
384 query-replace-map (Bug#8948).
385
386 * custom.el (custom-theme-load-confirm): Use y-or-n-p.
387
388 * emacs-lisp/map-ynp.el (map-y-or-n-p): Don't bind scrolling keys
389 since they are now in query-replace-map.
390
391 * window.el (scroll-other-window-down): Make the arg optional.
392
a8b7cd8d
CY
3932012-09-09 Chong Yidong <cyd@gnu.org>
394
395 * files.el (hack-local-variables-confirm): Use quit-window to kill
396 the *Local Variables* buffer.
397
c3268831
DG
3982012-09-08 Dmitry Gutov <dgutov@yandex.ru>
399
400 * progmodes/ruby-mode.el (ruby-toggle-block): Guess the current block,
401 not just expect to be at its beginning. Adjust callees.
402 Succeed when do-end block has no space before the pipe character.
403 (ruby-brace-to-do-end): When the original block is one-liner,
404 convert to multiline. Reindent the result.
405
0979429b
J
4062012-09-08 Jambunathan K <kjambunathan@gmail.com>
407
408 * register.el (register): New group.
409 (register-separator): New user option.
410 (increment-register): Route it to `append-to-register', if
411 register contains text. Implication is that `C-x r +' can now be
412 used for appending to a text register (bug#12217).
413 (append-to-register, prepend-to-register): Add separator based on
414 `register-separator.
415
ace2989a
AM
4162012-09-08 Alan Mackenzie <acm@muc.de>
417
418 AWK Mode: make auto-newline work when there's "==" in the pattern.
419 * progmodes/cc-cmds.el (c-point-syntax): Handle virtual semicolons
420 correctly.
0979429b
J
421 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5A.3):
422 Test more rigorously for "=" token.
ace2989a 423
616c6c36
DG
4242012-09-08 Dmitry Gutov <dgutov@yandex.ru>
425
0979429b
J
426 * progmodes/ruby-mode.el (ruby-match-expression-expansion):
427 Only fail when reached LIMIT.
616c6c36 428
35d98877
CY
4292012-09-08 Chong Yidong <cyd@gnu.org>
430
431 * dired.el (dired-mode-map): Don't bind M-=.
432
433 * dired-aux.el (dired-diff): Use backup file as default.
434
1715f2db
DA
4352012-09-08 Drew Adams <drew.adams@oracle.com>
436
437 * subr.el (add-to-history): Fix delete usage (Bug#12314).
438
6dcef6ec
CY
4392012-09-08 Chong Yidong <cyd@gnu.org>
440
441 * subr.el (syntax-after, syntax-class): Doc fix.
442
fa2bcf43
MR
4432012-09-08 Martin Rudalics <rudalics@gmx.at>
444
445 * window.el (display-buffer-in-previous-window): New buffer
446 display action function.
447
448 * emacs-lisp/debug.el (debugger-bury-or-kill): New option.
449 (debugger-previous-window): New variable.
450 (debug): Rewrite using display-buffer-in-previous-window,
451 quit-restore-window and debugger-bury-or-kill. (Bug#8789)
452
daac280a
SM
4532012-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
454
455 * emacs-lisp/byte-run.el (defun): Tweak message. Simplify code.
456
9dd40b00
MM
4572012-09-07 Matt McClure <mlm@aya.yale.edu> (tiny change)
458
daac280a
SM
459 * progmodes/python.el (python-shell-send-string):
460 When default-directory is remote, create temp file on remote
9dd40b00
MM
461 filesystem.
462 (python-shell-send-file): When file is remote, pass local view of
463 file paths to remote Python interpreter. (Bug#12340)
464
145823ec
CY
4652012-09-07 Chong Yidong <cyd@gnu.org>
466
cee2e90d
CY
467 * window.el (switch-to-buffer): Doc fix (Bug#12181).
468
0d7eb2ea
CY
469 * files.el (after-find-file): Don't fail on a read-only buffer if
470 require-final-newline is `visit' or `visit-save' (Bug#11156).
471
145823ec
CY
472 * subr.el (read-char-choice): Allow quitting via ESC ESC.
473
daac280a
SM
474 * userlock.el (ask-user-about-supersession-threat):
475 Use read-char-choice (Bug#12093).
145823ec 476
74c582e6
CY
4772012-09-07 Chong Yidong <cyd@gnu.org>
478
e5c2edf7
CY
479 * subr.el (buffer-narrowed-p): New function.
480
481 * ses.el (ses-widen):
482 * simple.el (count-words--buffer-message):
483 * net/browse-url.el (browse-url-of-buffer): Use it
484
485 * simple.el (count-words-region): Don't signal an error if there
486 is a non-nil prefix arg and the mark is not set.
c640e87d 487
74c582e6
CY
488 * help.el (describe-key-briefly): Allow the message to be seen
489 when invoked from the minibuffer (Bug#7014).
490
d81ceaaf
DG
4912012-09-07 Dmitry Gutov <dgutov@yandex.ru>
492
493 * progmodes/ruby-mode.el (ruby-end-of-defun)
494 (ruby-beginning-of-defun): Simplify, allow indentation before
495 block beginning and end keywords.
8f06acce
DG
496 (ruby-beginning-of-defun): Only consider 3 keywords defun beginners.
497 (ruby-end-of-defun): Expect that the point is at the beginning of
498 the defun.
d81ceaaf 499
d458ef98
SM
5002012-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
501
502 * emacs-lisp/cl-macs.el (cl--do-arglist): Understand _ on &key args
503 (bug#12367).
504 (cl--make-usage-args): Strip _ from argument names.
505
20367d28
RS
5062012-09-06 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
507
508 * progmodes/vhdl-mode.el (vhdl-speedbar-initialize): Don't use
509 obsolete alias speedbar-key-map.
510 (vhdl-doc-variable, vhdl-doc-mode): Use called-interactively-p.
511 (vhdl-index-menu-init): Don't use obsolete variable
512 font-lock-maximum-size.
513
3424a4f6
CY
5142012-09-06 Chong Yidong <cyd@gnu.org>
515
516 * frame.el (window-system-version): Mark as obsolete.
517
fcbfbdea
CY
518 * speedbar.el (speedbar-update-flag, speedbar-mode): Remove uses
519 of obsolete variable speedbar-key-map.
520
826b3235
JL
5212012-09-06 Juri Linkov <juri@jurta.org>
522
523 * replace.el (replace-lax-whitespace): New defcustom.
524 (query-replace, query-replace-regexp, query-replace-regexp-eval)
525 (replace-string, replace-regexp): Mention it in docstrings.
526 (perform-replace, replace-highlight): Let-bind
527 isearch-lax-whitespace and isearch-regexp-lax-whitespace according
528 to the values of replace-lax-whitespace and regexp-flag.
529 Don't let-bind search-whitespace-regexp. (Bug#10885)
530
531 * isearch.el (isearch-query-replace): Let-bind
532 replace-lax-whitespace instead of let-binding
533 replace-search-function and replace-re-search-function.
534 (isearch-lazy-highlight-search): Let-bind isearch-lax-whitespace
535 and isearch-regexp-lax-whitespace to lazy-highlight variables.
536 (isearch-toggle-symbol): Set isearch-regexp to nil
537 in isearch-word mode (like in isearch-toggle-word).
538
1ec5e41d
JL
5392012-09-06 Juri Linkov <juri@jurta.org>
540
541 * replace.el (replace-search-function)
542 (replace-re-search-function): Set default values to nil.
543 (perform-replace): Let-bind isearch-related variables based on
544 replace-related values, call `isearch-search-fun' and let-bind
545 the result to `search-function'. Remove code that sets
546 `search-function' and `search-string' separately for
547 `delimited-flag'.
548 (replace-highlight): Add new argument `delimited-flag' and
549 rename other arguments to the names used in `perform-replace'.
550 Let-bind `isearch-word' to the argument `delimited-flag'.
551 (Bug#10885, bug#10887)
552
0ba2d4b6
DG
5532012-09-07 Dmitry Gutov <dgutov@yandex.ru>
554
555 * progmodes/ruby-mode.el (ruby-indent-beg-re): Add pieces from
556 ruby-beginning-of-indent, simplify, allow all keywords to have
557 indentation before them.
558 (ruby-beginning-of-indent): Adjust for above. Search until the
559 found point is not inside a string or comment.
560 (ruby-font-lock-keywords): Allow symbols to start with "@"
561 character, give them higher priority than variables.
562 (ruby-syntax-propertize-function)
563 (ruby-font-lock-syntactic-keywords): Remove the "not comments"
564 matchers. Expression expansions are not comments when inside a
565 string, and there comment syntax status is irrelevant.
566 (ruby-match-expression-expansion): New function. Check that
567 expression expansion is inside a string, and it's not escaped.
568 (ruby-font-lock-keywords): Use it.
569
ef654460
MR
5702012-09-05 Martin Rudalics <rudalics@gmx.at>
571
572 * help.el (temp-buffer-max-height): New default value.
573 (temp-buffer-resize-frames): New option.
574 (resize-temp-buffer-window): Optionally resize frame.
575
576 * window.el (fit-frame-to-buffer-bottom-margin): New option.
577 (fit-frame-to-buffer): New function.
578
7e570fbf 5792012-09-05 Glenn Morris <rgm@gnu.org>
72308848
GM
580
581 * emulation/cua-rect.el (cua--init-rectangles):
582 * textmodes/picture.el (picture-mode-map):
583 * play/blackbox.el (blackbox-mode-map): Remap right-char and left-char
584 like forward-char and backward-char. (Bug#12317)
585
7e570fbf 5862012-09-05 Leo Liu <sdl.web@gmail.com>
3aca1291
LL
587
588 * progmodes/flymake.el (flymake-warning-re): New variable.
589 (flymake-parse-line): Use it.
590
7e570fbf 5912012-09-05 Glenn Morris <rgm@gnu.org>
b6683353
GM
592
593 * calendar/holidays.el (holiday-christian-holidays):
594 Rename an entry. (Bug#12289)
595
7e570fbf 5962012-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
64f8c4bd
SM
597
598 * progmodes/sh-script.el (sh-font-lock-paren): Don't burp at BOB
599 (bug#12222).
600
972debf2
SM
6012012-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
602
603 * loadup.el: Load macroexp. Remove hack.
604 * emacs-lisp/macroexp.el (macroexp--eval-if-compile): New function.
605 (macroexp--expand-all): Use it to get better warnings.
606 (macroexp--backtrace, macroexp--trim-backtrace-frame)
607 (internal-macroexpand-for-load): New functions.
608 (macroexp--pending-eager-loads): New var.
609 (emacs-startup-hook): New hack to replace one in loadup.el.
610 * emacs-lisp/cl-macs.el (cl--compiler-macro-list*)
611 (cl--compiler-macro-cXXr): Move to top, before they can be used.
612 (cl-psetf): Simplify.
613 (cl-defstruct): Add indent rule.
614
8ce192e3
LI
6152012-09-04 Lars Ingebrigtsen <larsi@gnus.org>
616
617 * mail/smtpmail.el (smtpmail-send-it): Prefer the From: header
618 over `user-mail-address' for the SMTP MAIL FROM envelope.
619 (smtpmail-via-smtp): Ditto.
620
6578b4d8
DG
6212012-09-04 Dmitry Gutov <dgutov@yandex.ru>
622
623 * progmodes/ruby-mode.el: Clean up keybindings.
624 (ruby-mode-map): Don't bind ruby-electric-brace,
625 ruby-beginning-of-defun, ruby-end-of-defun, ruby-mark-defun,
626 backward-kill-word, reindent-then-newline-and-indent.
627 (ruby-mark-defun): Remove.
628 (ruby-electric-brace): Remove. Obsoleted by electric-indent-chars.
629 (ruby-mode): Set local beginning-of-defun-function and
630 end-of-defun-function values.
631
c5e28e39
MR
6322012-09-03 Martin Rudalics <rudalics@gmx.at>
633
634 * window.el (temp-buffer-window-setup-hook)
635 (temp-buffer-window-show-hook): New hooks.
636 (temp-buffer-window-setup, temp-buffer-window-show)
637 (with-temp-buffer-window): New functions.
972debf2
SM
638 (fit-window-to-buffer): Remove unused optional argument OVERRIDE.
639 (special-display-popup-frame): Make sure the window used shows BUFFER.
c5e28e39
MR
640
641 * help.el (temp-buffer-resize-mode): Fix doc-string.
642 (resize-temp-buffer-window): New optional argument WINDOW.
643
644 * files.el (recover-file, save-buffers-kill-emacs):
645 * dired.el (dired-mark-pop-up): Use with-temp-buffer-window.
646
73406194
MA
6472012-09-02 Michael Albinus <michael.albinus@gmx.de>
648
649 * eshell/em-unix.el (eshell/sudo): When we have an ad-hoc
650 remote definition of `default-directory', ensure we can connect.
651
63dd1c6f
JL
6522012-09-02 Juri Linkov <juri@jurta.org>
653
654 Toggle whitespace matching mode with M-s SPC.
655 http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00008.html
656
657 * isearch.el (search-whitespace-regexp): Doc fix.
658 Remove cons cell customization.
659 (isearch-mode-map): Bind "\M-s " to isearch-toggle-lax-whitespace.
660 (isearch-lax-whitespace, isearch-regexp-lax-whitespace):
661 New variables.
662 (isearch-forward, isearch-forward-regexp): Doc fix.
663 (isearch-toggle-lax-whitespace): New command.
664 (search-forward-lax-whitespace, search-backward-lax-whitespace)
665 (re-search-forward-lax-whitespace)
666 (re-search-backward-lax-whitespace): New functions.
667 (isearch-whitespace-regexp): Remove function.
668 (isearch-query-replace): Let-bind replace-search-function and
669 replace-re-search-function.
670 (isearch-occur): Let-bind search-spaces-regexp according to the
671 value of isearch-lax-whitespace and isearch-regexp-lax-whitespace.
672 (isearch-quote-char): Check isearch-regexp-lax-whitespace in the
673 condition for C-q SPC.
674 (isearch-search-fun-default): Use new functions mentioned above.
675 (isearch-search-forward, isearch-search-backward): Remove functions.
676 (isearch-search): Don't let-bind search-spaces-regexp.
677 (isearch-lazy-highlight-space-regexp): Remove variable.
678 (isearch-lazy-highlight-lax-whitespace)
679 (isearch-lazy-highlight-regexp-lax-whitespace): New variables.
680 (isearch-lazy-highlight-new-loop): Use them.
681 (isearch-lazy-highlight-search): Don't let-bind search-spaces-regexp.
682
af7dda05
CY
6832012-09-02 Chong Yidong <cyd@gnu.org>
684
685 * dired.el (dired-mode-map): Menu string fixes (Bug#11616).
686
d67d3afd
GM
6872012-09-02 Glenn Morris <rgm@gnu.org>
688
689 * simple.el (undo): Tweak message in undo-only case. (Bug#12283)
690
69678719
GM
6912012-09-01 Glenn Morris <rgm@gnu.org>
692
693 * term.el: Tidy up menu definitions.
694 (term-mode-map): Use easymenu for In/Out, Complete menus.
695 (term-pager-break-map): Initialize in the defvar.
696 (term-terminal-menu, term-signals-menu): Define with easymenu.
697 (term-terminal-menu): Also show it in line-mode. (Bug#11957)
698 (term-pager-menu): New, extracted from term-process-pager.
699 (term-mode, term-char-mode, term-process-pager): Use easymenu-add.
700 (term-update-mode-line): Propertize line/char and page items.
701 (term-process-pager): Move keymap initialization elsewhere.
702
78dd6ab1
MR
7032012-09-01 Martin Rudalics <rudalics@gmx.at>
704
705 * window.el (switch-to-prev-buffer): Handle additional values of
706 BURY-OR-KILL argument. Don't switch in minibuffer window.
707 (switch-to-next-buffer): Don't switch in minibuffer window.
708 (quit-restore-window): New function based on quit-window.
709 Handle additional values of former KILL argument.
710 (quit-window): Call quit-restore-window with appropriate
711 interpretation of KILL argument.
712 (display-buffer-below-selected): New buffer display action
713 function.
714
3d10e134
SM
7152012-09-01 Stefan Monnier <monnier@iro.umontreal.ca>
716
717 * minibuffer.el (completion-at-point-functions): Complete docstring
718 (bug#12254).
719
0e23ef9d
PE
7202012-09-01 Paul Eggert <eggert@cs.ucla.edu>
721
722 Better seed support for (random).
723 * play/5x5.el, play/animate.el, play/cookie1.el, play/dissociate.el:
724 * play/doctor.el, play/dunnet.el, play/gomoku.el, play/landmark.el:
725 * play/mpuz.el, play/tetris.el, play/zone.el:
726 * calc/calc-comb.el (math-init-random-base):
727 * play/blackbox.el (bb-init-board):
728 * play/life.el (life):
729 * server.el (server-use-tcp):
730 * type-break.el (type-break):
731 Remove unnecessary call to (random t).
732 * net/sasl.el (sasl-unique-id-function):
733 Change (random t) to (random), now that the latter is more random.
734 * play/life.el (life-initialized): Remove no-longer-needed var.
735
862382df
MR
7362012-08-31 Alp Aker <alp.tekin.aker@gmail.com>
737
738 * window.el (switch-to-prev-buffer, switch-to-next-buffer):
739 Consider frame's buffer predicate when choosing the buffer.
740 (Bug#12081)
741
262a66e1
RS
7422012-08-30 Richard Stallman <rms@gnu.org>
743
744 * simple.el (special-mode-map): Delete binding for `z'.
745
f17e1d00
AS
7462012-08-30 Andreas Schwab <schwab@linux-m68k.org>
747
748 * progmodes/compile.el (compilation-always-kill): Doc fix.
749
24777832
CY
7502012-08-30 Chong Yidong <cyd@gnu.org>
751
752 * window.el (display-buffer-reuse-frames): Make the obsolescence
753 message more informative.
754
69ba1f04
GM
7552012-08-30 Glenn Morris <rgm@gnu.org>
756
757 * paren.el (show-paren-delay):
758 Add a :set function. Doc fix. (Bug#12297)
759
f0019ede
MB
7602012-08-29 Martin Blais <blais@furius.ca> (tiny change)
761
762 * progmodes/compile.el (compilation-always-kill): New var.
763 (compilation-start): Use it.
764
35e62fc9
SM
7652012-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
766
af070a1c
SM
767 * simple.el (read-only-mode): Move from files.el for bootstrapping.
768 * files.el (read-only-mode): Move to simple.el.
769
35e62fc9
SM
770 * files.el (read-only-mode): New minor mode.
771 (toggle-read-only): Use it and mark obsolete.
772 (find-file--read-only):
773 * vc/vc.el (vc-next-action, vc-checkout):
774 * vc/vc-cvs.el (vc-cvs-checkout):
775 * obsolete/vc-mcvs.el (vc-mcvs-update):
776 * ffap.el (ffap--toggle-read-only): Update callers.
777
c2c43c23
MA
7782012-08-29 Michael Albinus <michael.albinus@gmx.de>
779
780 * eshell/esh-ext.el (eshell-external-command): Do not examine
972debf2
SM
781 remote shell scripts.
782 See <https://bugs.launchpad.net/ubuntu/+source/emacs23/+bug/1035790>.
c2c43c23
MA
783
784 * net/tramp-sh.el (tramp-remote-path): Add "/sbin" and
785 "/usr/local/sbin".
786
9fba804b
SM
7872012-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
788
789 * emacs-lisp/cl-lib.el (buffer-string): Fix setter macro (bug#12293).
790
eada0861 7912012-08-28 Leo Liu <sdl.web@gmail.com>
22ab32ef 792
806f0cc7
LL
793 * progmodes/sh-script.el (sh-dynamic-complete-functions): Adapt to
794 completion-at-point. (Bug#12220)
795
3bb213b9
LL
796 * skeleton.el (skeleton-untabify): Change to nil (bug#12223).
797
22ab32ef
LL
798 * progmodes/sh-script.el (sh-indent-comment): Change to t (bug#12267).
799
eada0861 8002012-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
db148c21 801
19c17fc1
CY
802 * files.el (safe-local-eval-forms): Fix before-save-hook entry to
803 be buffer-local; add delete-trailing-whitespace (bug#12259).
db148c21 804
eada0861 8052012-08-28 Jeremy Moore <jmoore@ieee.org> (tiny change)
ffe6eaf1
JM
806
807 * progmodes/hideif.el (hif-compress-define-list):
808 Fix typo. (Bug#11951)
809
eada0861 8102012-08-28 Dan Nicolaescu <dann@gnu.org>
d30aca1b
DN
811
812 * progmodes/hideshow.el (hs-block-end-regexp): Restore lost
813 buffer local setting.
814
27d6c5a8
LL
815 * net/rcirc.el (rcirc-split-message): Fix for buffer-local
816 rcirc-encode-coding-system.
817
eada0861 8182012-08-28 Leo Liu <sdl.web@gmail.com>
4432d2e2
LL
819
820 * net/rcirc.el (rcirc-split-message): New function.
821 (rcirc-send-message): Use it. (Bug#12051)
822
d44688e4
JL
8232012-08-28 Juri Linkov <juri@jurta.org>
824
825 * info.el (Info-fontify-node): Hide empty lines at the end of
826 the node. (Bug#12272)
827
34f10d41
MR
8282012-08-27 Drew Adams <drew.adams@oracle.com>
829
830 * dired.el (dired-pop-to-buffer): Make window start at beginning
831 of buffer (Bug#12281).
832
77f1f99c
CY
8332012-08-26 Chong Yidong <cyd@gnu.org>
834
835 * window.el (special-display-regexps, special-display-frame-alist)
836 (special-display-buffer-names, special-display-function)
837 (display-buffer-reuse-frames): Mark as obsolete.
838
839 * progmodes/compile.el: Don't use display-buffer-reuse-frames.
840
841 * help.el (help-print-return-message): Don't treat
842 display-buffer-reuse-frames specially.
843
d97af5a0
CY
8442012-08-26 Chong Yidong <cyd@gnu.org>
845
9fba804b
SM
846 * progmodes/gdb-mi.el (gdb-display-buffer-other-frame-action):
847 New variable, replacing gdb-frame-parameters.
d97af5a0
CY
848 (gdb-frame-io-buffer, gdb-frame-breakpoints-buffer)
849 (gdb-frame-threads-buffer, gdb-frame-memory-buffer)
850 (gdb-frame-disassembly-buffer, gdb-frame-stack-buffer)
851 (gdb-frame-locals-buffer, gdb-frame-registers-buffer): Use it.
852 (def-gdb-frame-for-buffer): Macro deleted. It is easier to define
853 the functions directly with gdb-display-buffer-other-frame-action.
854 (gdb-display-breakpoints-buffer, gdb-display-threads-buffer)
855 (gdb-display-memory-buffer, gdb-display-disassembly-buffer)
856 (gdb-display-stack-buffer, gdb-display-locals-buffer)
857 (gdb-display-registers-buffer): Define directly.
858 (def-gdb-display-buffer): Macro deleted.
859 (gdb-display-buffer): Remove second and third args, callers don't
860 use them. Defer to the default display-buffer behavior, apart
861 from making windows dedicated.
862 (gdb-setup-windows): Don't call display-buffer unnecessarily.
863
864 * progmodes/gud.el (gud-display-line): Just use display-buffer.
865
866 * window.el (display-buffer-pop-up-frame): Handle a
867 pop-up-frame-parameters alist entry.
868 (display-buffer): Document it.
869
dd7ffad6
CY
8702012-08-26 Chong Yidong <cyd@gnu.org>
871
872 * isearch.el (search-whitespace-regexp): Make string and nil
873 values apply to both ordinary and regexp search. Allow a cons
874 cell value to distinguish between the two.
875 (isearch-whitespace-regexp, isearch-search-forward)
876 (isearch-search-backward): New functions.
877 (isearch-occur, isearch-search-fun-default, isearch-search)
878 (isearch-lazy-highlight-new-loop): Use them.
879 (isearch-forward, isearch-forward-regexp): Doc fix.
880
4c47bd1e
CY
8812012-08-26 Chong Yidong <cyd@gnu.org>
882
883 * faces.el (help-argument-name): Always inherit from italic
884 (Bug#12213).
885
9aba119d
MR
8862012-08-25 Martin Rudalics <rudalics@gmx.at>
887
888 * window.el (window--even-window-heights): Even heights when
889 WINDOW and the selected window form a vertical combination.
890 (display-buffer-use-some-window): Provide that window used gets
891 sized back by quit-window. (Bug#11880) and (Bug#12091)
892
ca5256ad
PE
8932012-08-24 Paul Eggert <eggert@cs.ucla.edu>
894
895 Fix file time stamp problem with bzr and CVS (Bug#12001).
896 * vc/vc-cvs.el (vc-cvs-parse-entry): Ignore subsecond information
897 in the file's time stamp, since the version control system loses
898 that information.
899
d1c0d176
JL
9002012-08-22 Juri Linkov <juri@jurta.org>
901
902 * info.el (Info-fontify-node): Hide the suffix of the
903 Info file name in the header line. (Bug#12187)
904
141562ff
GM
9052012-08-22 Glenn Morris <rgm@gnu.org>
906
907 * calendar/cal-tex.el (cal-tex-weekly-common):
908 Restore leading blank page.
909
61a48e19 9102012-08-22 Le Wang <l26wang@gmail.com> (tiny change)
add9ca2d
BG
911
912 * misc.el (forward-to-word, backward-to-word): Activate or extend
61a48e19
GM
913 the region under `shift-select-mode'. (Bug#12231)
914
9152012-08-22 Bastien Guerry <bzg@gnu.org>
0fcd3d9f
BG
916
917 * progmodes/executable.el (executable-prefix): Set to "#!" instead
918 of "#! ". http://www.in-ulm.de/~mascheck/various/shebang/#details
919 gives details on why the space is never needed.
920
ea95074e
MR
9212012-08-22 Martin Rudalics <rudalics@gmx.at>
922
9fba804b
SM
923 * window.el (walk-window-tree, window-with-parameter):
924 New optional argument MINIBUF to control whether these functions
ea95074e
MR
925 should run on the minibuffer window.
926 (window-at-side-list): Don't operate on minibuffer window.
927 (window-in-direction): Simplify and rewrite doc-string.
9fba804b
SM
928 (window--size-ignore): Rename to window--size-ignore-p.
929 Update callers.
caceae25
MR
930 (display-buffer-in-atom-window, window--major-non-side-window)
931 (window--major-side-window, display-buffer-in-major-side-window)
9fba804b
SM
932 (delete-side-window, display-buffer-in-side-window):
933 New functions.
caceae25
MR
934 (window--side-check, window-deletable-p, delete-window)
935 (delete-other-windows, split-window): Handle side windows and
936 atomic windows appropriately.
937 (window--display-buffer): Call display-buffer-record-window also
938 when the window buffer did not change.
ea95074e 939
80a51fa0
CS
9402012-08-22 Christopher Schmidt <christopher@ch.ristopher.com>
941
942 * help-fns.el (help-fns--key-bindings):
943 Abbreviate non-symbol remap targets. (Bug#12174)
944
fbb6300b
MR
9452012-08-22 Martin Rudalics <rudalics@gmx.at>
946
947 * dired.el (dired-mark-remembered): Don't clobber point.
948 (Bug#11795)
949
2b2c0794
GM
9502012-08-22 Glenn Morris <rgm@gnu.org>
951
952 * progmodes/bug-reference.el (bug-reference): New custom group.
953 (bug-reference-bug-regexp): Make it a defcustom.
954
37219830
DU
9552012-08-22 Daiki Ueno <ueno@unixuser.org>
956
957 * progmodes/js.el (js-indent-level, js-expr-indent-offset)
958 (js-paren-indent-offset, js-square-indent-offset)
959 (js-curly-indent-offset): Add :safe (Bug#12257).
960
94e0e559
EC
9612012-08-22 Edward O'Connor <hober0@gmail.com>
962
963 * json.el (json-key-format): Add error properties.
964 (json-encode-key): New function.
965 (json-encode-hash-table, json-encode-alist, json-encode-plist):
966 Use json-encode-key.
967
da485f5e
GM
9682012-08-22 Glenn Morris <rgm@gnu.org>
969
970 * calendar/cal-tex.el (cal-tex-longday): New function, replacing...
971 (cal-tex-leftday, cal-tex-rightday): Remove functions.
972 (cal-tex-weekly-common, cal-tex-cursor-filofax-2week):
973 Update for above change.
974
c6cc78b8
AS
9752012-08-21 Andreas Schwab <schwab@linux-m68k.org>
976
977 * cus-face.el (custom-face-attributes): Fix customize type for the
978 :underline attribute. (Bug#11805)
979
5481664a
MR
9802012-08-21 Martin Rudalics <rudalics@gmx.at>
981
982 * window.el (window-point-1, set-window-point-1): Remove.
983 (window-in-direction, record-window-buffer)
984 (set-window-buffer-start-and-point, split-window-below)
9fba804b
SM
985 (window--state-get-1, display-buffer-record-window):
986 Replace calls to window-point-1 and set-window-point-1 by calls to
5481664a
MR
987 window-point and set-window-point respectively.
988
6d74698e
GM
9892012-08-21 Glenn Morris <rgm@gnu.org>
990
b7fa2691
GM
991 * calendar/cal-tex.el (cal-tex-weekly-common): New function.
992 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-week):
993 Use it.
994
52f56d5a
GM
995 * calendar/cal-tex.el (cal-tex-rightday): Add optional funcname arg.
996 (cal-tex-shortday): New function.
997 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-week)
998 (cal-tex-cursor-filofax-daily): Use the above.
999
9f1ee09e
GM
1000 * calendar/cal-tex.el (cal-tex-leftday, cal-tex-rightday):
1001 New functions.
1002 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-2week)
1003 (cal-tex-cursor-filofax-week): Use them.
1004
79858159
GM
1005 * calendar/cal-tex.el (cal-tex-lefthead, cal-tex-righthead):
1006 New constants.
1007 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-2week)
1008 (cal-tex-cursor-filofax-week, cal-tex-cursor-filofax-daily): Use them.
1009
d346b2b4
GM
1010 * calendar/cal-tex.el (cal-tex-preamble): Generate new buffers.
1011 (cal-tex-end-document): Don't rely on buffer name.
1012
b2403709
GM
1013 * calendar/cal-tex.el (cal-tex-cursor-filofax-year):
1014 Use cal-tex-vspace.
1015 (cal-tex-vspace, cal-tex-hspace, cal-tex-em, cal-tex-bf)
1016 (cal-tex-Huge-bf, cal-tex-large-bf): Use cal-tex-cmd.
2d225a3a
GM
1017 (cal-tex-scriptsize, cal-tex-huge, cal-tex-Huge, cal-tex-large):
1018 Use cal-tex-arg.
b2403709 1019
1cebb5c0
GM
1020 * calendar/cal-tex.el (cal-tex-cursor-filofax-year)
1021 (cal-tex-cursor-week, cal-tex-cursor-week2)
1022 (cal-tex-cursor-week-iso, cal-tex-cursor-week-at-a-glance)
1023 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
1024 (cal-tex-cursor-filofax-daily, cal-tex-cursor-day)
1025 (cal-tex-insert-preamble, cal-tex-b-document)
1026 (cal-tex-e-document, cal-tex-b-center, cal-tex-e-center):
1027 Improve cal-tex-cmd usage.
1028
c68cd5d4
GM
1029 * calendar/cal-tex.el (cal-tex-filofax-paper): New function.
1030 (cal-tex-cursor-filofax-year, cal-tex-cursor-filofax-2week)
1031 (cal-tex-cursor-filofax-week, cal-tex-cursor-filofax-daily): Use it.
1032 (cal-tex-weekly-paper): New function.
1033 (cal-tex-cursor-week, cal-tex-cursor-week2)
1034 (cal-tex-cursor-week-iso, cal-tex-cursor-week-monday)
1035 (cal-tex-cursor-day): Use it.
1036
9dca4801
GM
1037 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance)
1038 (cal-tex-cursor-filofax-week): Remove leading blank page.
1039
1941e134
GM
1040 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance):
1041 Add autoload cookie. For now at least, don't use color, since
1042 no other cal-tex function does.
1043
6d74698e
GM
1044 * calendar/cal-tex.el (cal-tex-cursor-week-iso)
1045 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
1046 (cal-tex-cursor-filofax-daily): Correct start date for diary entries.
1047
64cde199
JL
10482012-08-21 Juri Linkov <juri@jurta.org>
1049
1050 * info.el (Info-file-attributes): New variable.
1051 (info-insert-file-contents): Add file attributes to
1052 `Info-file-attributes'. Clear the caches `Info-index-nodes' and
1053 `Info-toc-nodes' when previous modtime of the Info file is less
1054 than new modtime.
1055 (Info-toc-nodes, Info-index-nodes): Move definitions up to the top
1056 of info.el. (Bug#12230)
1057
32757648
GM
10582012-08-20 Glenn Morris <rgm@gnu.org>
1059
1060 * calendar/diary-lib.el (diary-include-files, diary-sexp-entry):
1061 * calendar/holidays.el (calendar-holiday-list):
1062 Report errors with display-warning rather than beep'n'sleep.
1063
a32fbbcf
MA
10642012-08-20 Michael Albinus <michael.albinus@gmx.de>
1065
1066 * net/tramp.el (tramp-accept-process-output): Accept only output
1067 from PROC. Otherwise, process filters and sentinels might be
1068 confused. (Bug#12145)
1069
a05731a0
CY
10702012-08-20 Chong Yidong <cyd@gnu.org>
1071
1072 * descr-text.el (describe-text-properties-1): Use overlays-in to
1073 report on empty overlays (Bug#3322).
1074
36e8d1eb
GM
10752012-08-20 Glenn Morris <rgm@gnu.org>
1076
3d300447
GM
1077 * mail/rmailout.el (rmail-output-read-file-name):
1078 Trap and report errors in rmail-output-file-alist elements.
1079
36e8d1eb
GM
1080 * font-lock.el (font-lock-add-keywords): Doc fix (quote face names
1081 since most non-font-lock faces are not also variables).
1082
b96e5814
ER
10832012-08-20 Edward Reingold <reingold@iit.edu>
1084
1085 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance):
1086 New function. (Bug12160)
1087
7cef3569
GM
10882012-08-19 Glenn Morris <rgm@gnu.org>
1089
1090 * mail/rmailout.el (rmail-output-read-file-name):
1091 Fix previous change (when the alist is nil or does not match).
1092
17975d7f
CY
10932012-08-19 Chong Yidong <cyd@gnu.org>
1094
1095 * xml.el (xml-escape-string): Don't refer to xml-entity-alist
1096 (Bug#12228).
1097
2170b1bd
CY
10982012-08-18 Chong Yidong <cyd@gnu.org>
1099
1100 * simple.el (yank-handled-properties): New defcustom.
1101 (yank-excluded-properties): Add font-lock-face and category.
1102 (yank): Doc fix.
1103
9fba804b
SM
1104 * subr.el (remove-yank-excluded-properties):
1105 Obey yank-handled-properties. The special handling of font-lock-face
2170b1bd
CY
1106 and category is now done this way, instead of being hard-coded.
1107 (insert-for-yank-1): Remove font-lock-face handling.
1108 (yank-handle-font-lock-face-property)
1109 (yank-handle-category-property): New function.
1110
ee218151
GM
11112012-08-17 Glenn Morris <rgm@gnu.org>
1112
1113 * mail/rmailout.el (rmail-output-read-file-name):
1114 Check rmail-output-file-alist against the full message body
1115 in the correct rmail buffer. (Bug#12214)
1116
4a6bc3fd
MA
11172012-08-17 Michael Albinus <michael.albinus@gmx.de>
1118
9fba804b
SM
1119 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
1120 Eliminate superfluous prompt. (Bug#12203)
4a6bc3fd 1121
383dcbf9
CY
11222012-08-17 Chong Yidong <cyd@gnu.org>
1123
1124 * mouse.el (mouse-appearance-menu): If x-select-font returns a
1125 font spec, set the font directly (Bug#3228).
1126
998c4a6a
MR
11272012-08-17 Martin Rudalics <rudalics@gmx.at>
1128
1129 * window.el (delete-window): Fix last fix.
1130
52162052
MR
11312012-08-16 Martin Rudalics <rudalics@gmx.at>
1132
1133 * window.el (window-valid-p): Move to window.c.
85c2386b
MR
1134 (window-child, window-child-count, window-last-child)
1135 (window-normalize-window, window-combined-p)
1136 (window-combinations, window-atom-root, window-min-size)
1137 (window-sizable, window-sizable-p, window-size-fixed-p)
1138 (window-min-delta, window-max-delta, window--resizable)
1139 (window--resizable-p, window-resizable, window-total-size)
1140 (window-full-height-p, window-full-width-p, window-body-size)
1141 (window-at-side-p, adjust-window-trailing-edge, maximize-window)
1142 (minimize-window, window-deletable-p, delete-window)
1143 (delete-other-windows, set-window-buffer-start-and-point)
1144 (next-buffer, previous-buffer, split-window, balance-windows-2)
1145 (set-window-text-height, window-buffer-height)
1146 (fit-window-to-buffer, shrink-window-if-larger-than-buffer)
9fba804b
SM
1147 (truncated-partial-width-window-p): Minor code adjustments.
1148 In doc-strings state whether the argument window has to denote a
85c2386b 1149 live, valid or any window.
52162052 1150
1c308380
PS
11512012-08-16 Phil Sainty <psainty@orcon.net.nz> (tiny change)
1152
1153 * progmodes/subword.el (subword-forward-function)
1154 (subword-backward-function, subword-forward-regexp)
1155 (subword-backward-regexp): New variables.
1156 (subword-forward, subword-forward-internal, subword-backward-internal):
1157 Use new variables, eg so that different "word" definitions
1158 can be easily used. (Bug#11411)
1159
94c9ece1
SM
11602012-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
1161
1162 * vc/vc-mtn.el (vc-mtn-revision-completion-table): Handle completion
1163 for composite selectors.
1164 * vc/vc.el (vc-diff-build-argument-list-internal): Don't prevent
1165 operation just because we can't find a previous revision.
1166
f2045622
CY
11672012-08-15 Chong Yidong <cyd@gnu.org>
1168
1169 * frame.el (set-frame-font): Accept font objects.
1170
582db660
SM
11712012-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
1172
1173 * textmodes/tex-mode.el (tex-insert-quote): ~ is a space (bug#12137).
1174
2f29c200
WJ
11752012-08-15 Wolfgang Jenkner <wjenkner@inode.at>
1176
456e62c2
WJ
1177 * man.el (Man-overstrike-face, Man-underline-face)
1178 (Man-reverse-face): Remove variables.
1179 (Man-overstrike, Man-underline, Man-reverse): New faces.
1180 (Man-fontify-manpage): Use them instead of the variables.
1181 (Man-cleanup-manpage): Comment change.
1182 (Man-ansi-color-map): New variable.
1183 (Man-fontify-manpage): Use it.
1184 Call ansi-color-apply-on-region to replace ad hoc code (bug#12147).
1185
2f29c200
WJ
1186 Implement ANSI SGR parameters 22-27 (bug#12146).
1187 * ansi-color.el (ansi-colors): Doc fix.
1188 (ansi-color-context, ansi-color-context-region): Doc fix.
1189 (ansi-color--find-face): New function.
1190 (ansi-color-apply, ansi-color-apply-on-region): Use it.
1191 Rename the local variable `face' to `codes' since it is now a list of
1192 ansi codes. Doc fix.
1193 (ansi-color-get-face): Remove.
1194 (ansi-color-parse-sequence): New function, derived from
1195 ansi-color-get-face.
1196 (ansi-color-apply-sequence): Use it. Rewrite, and support ansi
1197 codes 22-27.
1198
b4f5e9df
SM
11992012-08-14 Stefan Monnier <monnier@iro.umontreal.ca>
1200
1201 * subr.el (read-passwd): Allow use from a minibuffer.
1202
ba025fbd
EZ
12032012-08-14 Eli Zaretskii <eliz@gnu.org>
1204
1205 * tooltip.el (tooltip-identifier-from-point): Don't treat tokens
1206 inside comments and strings as identifiers.
1207
1208 * progmodes/gud.el (gud-tooltip-print-command): Quote the
1209 expression to evaluate. This allows to evaluate expressions with
1210 embedded whitespace.
1211 (gud-tooltip-tips): Add a blank before the newline in the
1212 message-box text, for the benefit of message-box emulation on
1213 MS-Windows.
1214
1215 * progmodes/gdb-mi.el (gdb-tooltip-print): Don't ignore error
1216 messages from GDB, pop them up in a tooltip to give feedback to
1217 user.
b4f5e9df
SM
1218 (gdb-tooltip-print-1): Quote the expression to evaluate.
1219 This allows to evaluate expressions with embedded whitespace.
ba025fbd
EZ
1220 (gdb-inferior-io--init-proc): Don't send "-inferior-tty" command
1221 if the TTY name is nil or empty (which happens when communicating
1222 with the inferior via pipes, e.g. on MS-Windows).
1223 (gdb-internals): If GDB sends a "&\n" empty debugging message,
1224 don't send that to the GUD buffer.
1225
c548f821
GM
12262012-08-14 Glenn Morris <rgm@gnu.org>
1227
1228 * emacs-lisp/bytecomp.el (byte-compile-setq-default):
1229 Optimize away setq-default with no args, as for setq. (Bug#12195)
1230
55802e4a
CY
12312012-08-14 Chong Yidong <cyd@gnu.org>
1232
4abcdac8
CY
1233 * minibuffer.el (read-file-name): Doc fix (Bug#10881).
1234
55802e4a
CY
1235 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Doc fix
1236 (Bug#12085).
1237
3c3cda1a
GM
12382012-08-14 Glenn Morris <rgm@gnu.org>
1239
1240 * emacs-lisp/bytecomp.el (byte-recompile-file): Doc fix.
1241
e1873bd0
MA
12422012-08-14 Michael Albinus <michael.albinus@gmx.de>
1243
1244 * net/tramp-sh.el (tramp-open-shell): Cache the shell name.
1245 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
1246 Use cached shell name.
1247
925411b4
FEG
12482012-08-14 Fabián Ezequiel Gallina <fgallina@cuca>
1249
1250 * progmodes/python.el (python-shell-send-string):
3c3cda1a 1251 (python-shell-send-setup-code): Do not use `format' with `message'.
925411b4 1252
e636fafe
DG
12532012-08-14 Dmitry Gutov <dgutov@yandex.ru>
1254
1255 * progmodes/ruby-mode.el: Improve percent literals (bug#6286).
1256 (ruby-percent-literal-beg-re): New constant.
1257 (ruby-syntax-general-delimiters-goto-beg): Rename to
1258 `ruby-syntax-enclosing-percent-literal', improve literal type check.
1259 (ruby-syntax-propertize-general-delimiters): Rename to
1260 `ruby-syntax-propertize-percent-literal', it's a shorter and more
1261 popular term. Adjust comments everywhere.
1262 (ruby-syntax-propertize-percent-literal): Only propertize when not
1263 inside a simple string or comment. When the literal is unclosed,
1264 leave the text after it unpropertized.
f063063a
DG
1265 (ruby-syntax-methods-before-regexp): New constant.
1266 (ruby-syntax-propertize-function): Use it to recognize regexps.
1267 Don't look at the text after regexp, just use the whitelist.
e636fafe 1268
e5b19827
AS
12692012-08-14 Andreas Schwab <schwab@linux-m68k.org>
1270
1271 * emacs-lisp/bytecomp.el (byte-recompile-file): When LOAD is
1272 non-nil always load the compiled file if it exists. (Bug#12197)
1273
a9f6f311
CY
12742012-08-14 Chong Yidong <cyd@gnu.org>
1275
1276 * hi-lock.el (hi-lock-mode): Do not unilaterally enable font lock.
1277 (hi-lock-set-pattern): When deciding whether to use font lock or
1278 overlays, look at font-lock-mode instead of font-lock-fontified
1279 (Bug#12168).
1280 (hi-lock-mode, hi-lock-line-face-buffer, hi-lock-unface-buffer)
1281 (hi-lock-face-buffer, hi-lock-face-phrase-buffer): Doc fix.
1282
7d806b1e
DU
12832012-08-14 Daiki Ueno <ueno@unixuser.org>
1284
1285 * subr.el (internal--after-with-selected-window): Fix typo
1286 (Bug#12193).
1287
5beed586
FEG
12882012-08-14 Fabián Ezequiel Gallina <fgallina@cuca>
1289
1290 Use `completion-table-dynamic' for completion functions.
1291 * progmodes/python.el
1292 (python-shell-completion--do-completion-at-point)
e636fafe
DG
1293 (python-shell-completion--get-completions):
1294 Remove functions.
5beed586
FEG
1295 (python-shell-completion-complete-at-point): New function.
1296 (python-completion-complete-at-point): Use it.
1297
92cb3b04
J
12982012-08-13 Jambunathan K <kjambunathan@gmail.com>
1299
1300 * vc/vc-dir.el (vc-dir-hide-state): New command (bug#12159).
1301 (vc-dir-hide-up-to-date): Route it to `vc-dir-hide-state'.
1302
89660017
SM
13032012-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
1304
3c98c962
SM
1305 * subr.el (function-get): Refine `autoload' arg so it can also
1306 autoload functions for gv.el (bug#12191).
1307 * emacs-lisp/edebug.el (get-edebug-spec): Adjust so it only
1308 autoloads macros.
1309
aa7c6dbe
SM
1310 * color.el (color-xyz-to-lab, color-lab-to-xyz, color-cie-de2000):
1311 Prefer pcase-let over destructuring-bind.
1312 * vc/diff-mode.el (diff-remove-trailing-whitespace): Same.
1313 Also, remove whitespace as we go, rather than after accumulating the
1314 various places.
1315
89660017
SM
1316 * subr.el (internal--before-with-selected-window)
1317 (internal--after-with-selected-window): Fix typo seleted->selected.
1318 (with-selected-window): Adjust callers.
1319 Reported by Dmitry Gutov <dgutov@yandex.ru>.
1320
31cd32c9
BG
13212012-08-13 Bastien Guerry <bzg@gnu.org>
1322
0fcd3d9f 1323 * window.el (special-display-popup-frame): Minor docstring
31cd32c9
BG
1324 enhancement. (Bug#12172)
1325
1b15d8ad
AS
13262012-08-13 Andreas Schwab <schwab@linux-m68k.org>
1327
31e54db0
AS
1328 * tar-mode.el (tar-header-data-end): Only ignore size for files of
1329 type 1-6.
1330 (tar-header-block-summarize, tar-get-descriptor): Handle pax
1331 extended headers.
1332
1b15d8ad
AS
1333 * files.el (hack-local-variables-filter): Remove useless eval.
1334
35cb9c06
MR
13352012-08-13 Martin Rudalics <rudalics@gmx.at>
1336
1337 * subr.el (with-selected-window): Fix last change.
1338
1439443b
SM
13392012-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
1340
1341 * subr.el (internal--before-with-seleted-window)
1342 (internal--after-with-seleted-window): New functions.
1b15d8ad
AS
1343 (with-selected-window): Use them, to replace dependency on
1344 tty-top-frame.
1439443b 1345
0d9e2599
NN
13462012-08-12 Nobuyoshi Nakada <nobu@ruby-lang.org>
1347
1348 * progmodes/ruby-mode.el (ruby-mode-map): Remove unnecessary
1349 binding for `newline'.
1350 (ruby-move-to-block): When moving backward, stop at block opening,
1351 not indentation.
1352 * progmodes/ruby-mode.el (ruby-brace-to-do-end)
1353 (ruby-do-end-to-brace, ruby-toggle-block): New functions.
1354 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
1355 `ruby-toggle-block'.
1356
ba10c48c
SM
13572012-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
1358
1359 * ibuffer.el (ibuffer-do-toggle-read-only):
1360 * dired.el (dired-toggle-read-only):
1361 * buff-menu.el (Buffer-menu-toggle-read-only):
1362 * bindings.el (mode-line-toggle-read-only):
1363 * bs.el (bs-toggle-readonly): Call toggle-read-only interactively.
1364
9229c658
AS
13652012-08-12 Andreas Schwab <schwab@linux-m68k.org>
1366
1367 * descr-text.el (describe-char): Put the overlays over the
1368 "displayed as" character.
1369
0fd09128
JB
13702012-08-12 Jay Belanger <jay.p.belanger@gmail.com>
1371
1372 * calc/calc-units.el (math-default-units-table): Give an
1373 initial value.
1374 (math-put-default-units): Add options to put composite units and
1375 unit systems in the default units table.
1376 (calc-convert-units): Send composite units to
1377 `math-put-default-units' when appropriate.
1378
9ff9402d 13792012-08-11 Glenn Morris <rgm@gnu.org>
7aacaf15 1380
fbb5e336
GM
1381 * emacs-lisp/copyright.el (copyright-update-directory): Logic fix.
1382
7aacaf15
GM
1383 * tutorial.el (help-with-tutorial):
1384 * emacs-lisp/copyright.el (copyright-update-directory):
1385 * emacs-lisp/autoload.el (autoload-find-generated-file)
1386 (autoload-find-file): Disable local eval: (for insurance).
1387
f40b9f10
GM
1388 * files.el (hack-local-variables-filter): If an eval: form is not
1389 known to be safe, and enable-local-variables is :safe, then ignore
1390 the form totally, as is done for non-eval forms. (Bug#12155)
6f97980a 1391 This is CVE-2012-3479.
f40b9f10 1392
daa9f1a6
SM
13932012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
1394
1395 * emacs-lisp/rx.el (rx-constituents): Don't define as constant.
1396 (rx-form): Simplify.
1397
9cd80478
DG
13982012-08-09 Dmitry Gutov <dgutov@yandex.ru>
1399
0d9e2599
NN
1400 * progmodes/ruby-mode.el (ruby-expr-beg, ruby-parse-partial):
1401 ?, _, and : are symbol constituents, ! is not (but kinda should be).
1402 (ruby-syntax-propertize-heredoc): Use ruby-singleton-class-p.
1403 (ruby-syntax-propertize-function): Adjust for changes in
1404 `ruby-syntax-propertize-heredoc'.
1405
14062012-08-09 Nobuyoshi Nakada <nobu@ruby-lang.org>
1407
9cd80478
DG
1408 * progmodes/ruby-mode.el (ruby-mode-map): Remove deprecated
1409 binding (use `M-;' instead).
9cd80478 1410 (ruby-singleton-class-p): New function.
0d9e2599 1411 (ruby-expr-beg, ruby-in-here-doc-p) Use it.
9cd80478 1412
d301b413
SM
14132012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
1414
1415 * emacs-lisp/cl-macs.el (cl-loop): Improve debug spec.
1416
1530c98e
CY
14172012-08-10 Chong Yidong <cyd@gnu.org>
1418
1419 * progmodes/python.el (python-shell-get-process-name): Don't mess
1420 with same-window-buffer-names.
1421
1422 * eshell/eshell.el (eshell-add-to-window-buffer-names)
1423 (eshell-remove-from-window-buffer-names): Make obsolete.
1424 (eshell-buffer-name, eshell-unload-hook): Don't use them.
1425 (eshell): Just use pop-to-buffer-same-window instead.
1426
e1293765
CY
14272012-08-10 Chong Yidong <cyd@gnu.org>
1428
1429 * bindings.el: Bind M-= back to count-words-region.
1430
1431 * simple.el (count-words-region): Accept a prefix arg for acting
1432 on the entire buffer.
1433 (count-words--buffer-message): New helper function.
1434
e1894109
SM
14352012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
1436
1437 * term/x-win.el (x-menu-bar-open): Always pass last-nonmenu-event.
1438 * subr.el (eventp): `nil' is not an event, and eventp is not hot.
1439 (event-start, event-end): Use posn-at-point to return a more
1440 informative posn.
1441 (posnp): New function.
1442 * mouse.el (popup-menu-normalize-position): Use it.
1443
c69f56a2
MY
14442012-08-10 Masatake YAMATO <yamato@redhat.com>
1445
1446 * mouse.el (popup-menu-normalize-position): New function.
1447 (popup-menu): Use `popup-menu-normalize-position' to normalize
1448 the form for POSITION argument.
1449
1450 * term/x-win.el (x-menu-bar-open):
1451 Use the value returend from (posn-at-point) as position
1452 passed to `popup-menu'.
1453
31673780
JB
14542012-08-09 Jay Belanger <jay.p.belanger@gmail.com>
1455
1456 * calc/calccomp.el (math-compose-expr): Add extra argument
1457 indicating that parentheses should be put around products in
1458 denominators. Give multiplication precedence over division during
1459 composition.
1460
dab7711b
CY
14612012-08-09 Chong Yidong <cyd@gnu.org>
1462
dee4ef93
CY
1463 * man.el (Man-switches, Man-sed-command, Man-awk-command)
1464 (Man-mode-hook, Man-cooked-hook, Man-untabify-command-args)
1465 (Man-untabify-command, manual-program): Convert to defcustom
1466 (Bug#10429).
1467
73e2bbc5
CY
1468 * vc/add-log.el (change-log-mode): Bind comment-start to nil.
1469
3e861c8a
CY
1470 * descr-text.el (describe-char): Don't insert extra newlines
1471 (Bug#10127).
1472
a9f5a649
CY
1473 * vc/log-view.el (log-view-diff): Use use-region-p (Bug#10133).
1474 (log-view-diff-changeset, log-view-minor-wrap): Likewise.
1475
dab7711b
CY
1476 * align.el (align-region): Delete temporary markers (Bug#10047).
1477 Plus some code cleanups.
1478
e0cc4efa
FEG
14792012-08-09 Fabián Ezequiel Gallina <fgallina@cuca>
1480
1481 * progmodes/python.el (python-pdbtrack-tracked-buffer)
1482 (python-pdbtrack-buffers-to-kill, python-shell-internal-buffer)
1483 (python-shell-internal-last-output): Use make-local-variable
1484 instead of make-variable-buffer-local.
1485
489af14f
FEG
14862012-08-09 Fabián Ezequiel Gallina <fgallina@cuca>
1487
1488 * progmodes/python.el: Enhancements to forward-sexp.
1489 (python-nav-forward-sexp): Rename from
1490 python-nav-forward-sexp-function.
c69f56a2
MY
1491 (python-nav--forward-sexp, python-nav--backward-sexp):
1492 New functions.
489af14f 1493
0fc50303
JB
14942012-08-09 Jay Belanger <jay.p.belanger@gmail.com>
1495
1496 * calc/calc-menu.el (calc-modes-menu): Add entries for matrix
1497 modes and simplification modes.
1498
5d65606a
SM
14992012-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
1500
1501 * delsel.el (delete-selection-pre-hook): Don't propagate the
1502 file-supersession signals (bug#12161).
1503
4250fdf5
SM
15042012-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
1505
1506 * emacs-lisp/cl.el (cl-map-keymap-recursively, cl-map-intervals)
1507 (cl-map-extents): Add compatibility aliases (bug#12135).
1508
d9f9b465
MA
15092012-08-08 Michael Albinus <michael.albinus@gmx.de>
1510
1511 * net/tramp-sh.el (tramp-find-file-exists-command): Protect the
1512 tests by `ignore-error'.
1513 (tramp-find-shell): Open also a new shell, when cache is already
1514 set. Reported by Carsten Bormann <cabo@tzi.org>. (Bug#12148)
1515
ce0fcefa
JL
15162012-08-08 Juri Linkov <juri@jurta.org>
1517
1518 * bookmark.el: Add `defaults' property to the bookmark record.
1519 (bookmark-current-buffer): Doc fix.
1520 (bookmark-make-record): Add `defaults' property with default values
1521 to the bookmark record.
1522 (bookmark-minibuffer-read-name-map): Remove key binding "\C-u"
1523 with `bookmark-insert-current-bookmark'.
1524 (bookmark-set): Get `defaults' property from the bookmark record
1525 and use it in `read-from-minibuffer'.
1526 (bookmark-insert-current-bookmark): Remove function.
1527
1528 * info.el (Info-bookmark-make-record): Add `defaults' property
1529 with values of canonical Info node name, the current Info file
1530 name and the current Info node name. (Bug#12107)
1531
53fa8652
JL
15322012-08-08 Juri Linkov <juri@jurta.org>
1533
1534 * files.el (basic-save-buffer): Use `buffer-name' as the default
1535 of `read-file-name' when buffer is not visiting a file (bug#12128).
1536
242c0a95
JL
15372012-08-08 Juri Linkov <juri@jurta.org>
1538
1539 * info.el (Info-isearch-search): Doc fix.
1540 (Info-search): Change search-failed message from "initial node" to
1541 "end of node" (bug#12078).
1542 (Info-isearch-search): Change `isearch-string-state' to
1543 `isearch--state-string'.
1544
32ac3a6b
GM
15452012-08-08 Glenn Morris <rgm@gnu.org>
1546
1547 * language/persian.el: Remove file.
f8c1afd5 1548 * language/misc-lang.el: Move unique part of persian.el here.
32ac3a6b
GM
1549 * loadup.el: Remove language/persian.
1550
2c2d9c9c
OF
15512012-08-08 Óscar Fuentes <ofv@wanadoo.es>
1552
1553 * vc/diff-mode.el (diff-remove-trailing-whitespace): New function.
1554
2d79ec42
FEG
15552012-08-08 Fabián Ezequiel Gallina <fgallina@cuca>
1556
1557 * progmodes/python.el Fixed defsubst warning.
1558 (python-syntax-context) Rename from python-info-ppss-context.
1559 (python-syntax-context-type): Rename from
1560 python-info-ppss-context-type.
1561 (python-syntax-comment-or-string-p): Rename from
1562 python-info-ppss-comment-or-string-p.
1563
2bd255dd
JB
15642012-08-08 Jay Belanger <jay.p.belanger@gmail.com>
1565
1566 * calc/calc-misc.el (calc-record-why): Don't record a message twice.
1567
c395097f
AS
15682012-08-07 Andreas Schwab <schwab@linux-m68k.org>
1569
6125983e
AS
1570 * emacs-lisp/lisp-mode.el (eval-defun-1): Handle standard value of
1571 a defcustom that is quoted with backquote.
1572
4250fdf5
SM
1573 * calc/calc-prog.el (math-do-defmath): Use backquote forms.
1574 Fix handling of interactive spec when the body uses return.
651eaf36
AS
1575 (math-do-arg-check, math-define-function-body): Use backquote forms.
1576 * calc/calc-ext.el (math-defcache): Likewise.
1577 * calc/calc-rewr.el (math-rwfail, math-rweval): Likewise.
1578 * allout.el (allout-new-exposure): Likewise.
1579 * calc/calcalg2.el (math-tracing-integral): Likewise.
1580 * info.el (Info-last-menu-item): Likewise.
1581 * emulation/vip.el (vip-loop): Likewise.
1582 * textmodes/artist.el (artist-funcall): Likewise.
1583 * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle):
1584 Construct menu-item directly.
1585
4250fdf5
SM
1586 * progmodes/autoconf.el (font-lock-syntactic-keywords):
1587 Don't declare.
c395097f 1588
5fb50dd3
CY
15892012-08-07 Chong Yidong <cyd@gnu.org>
1590
1591 * simple.el (deactivate-mark): Preserve text properties when
1592 saving the primary selection (Bug#8384).
1593
54eea618
KR
15942012-08-07 Kevin Ryde <user42@zip.com.au>
1595
1596 * woman.el (woman0-if): Quietly treat ".if v" as false (Bug#12109).
1597 (woman-parse-numeric-value): On a bad .IP line, issue a warning
1598 and continue processing (Bug#12110).
1599
638eaeb9
SM
16002012-08-06 Stefan Monnier <monnier@iro.umontreal.ca>
1601
1602 * progmodes/cperl-mode.el (cperl-mode): Yet another fix for
1603 syntax-propertize-function (bug#10095).
1604
ea376861
SM
16052012-08-06 Stefan Monnier <monnier@iro.umontreal.ca>
1606
f91b35be
SM
1607 * help-fns.el (help-fns--key-bindings, help-fns--signature)
1608 (help-fns--parent-mode, help-fns--obsolete): New funs, extracted from
1609 describe-function-1.
1610 (describe-function-1): Use them. Move compiler macro after sig.
1611 (help-fns--compiler-macro): Use function-get. Assume we're already in
1612 standard-output. Adjust layout to new call order.
1613
ea376861
SM
1614 * emacs-lisp/cl-macs.el (cl--sm-macroexpand): Fix handling of
1615 re-binding a symbol that has a symbol-macro (bug#12119).
1616
d5be7bd0
MB
16172012-08-06 Mohsen BANAN <libre@mohsen.1.banan.byname.net>
1618
1619 * language/persian.el: New file. (Bug#11812)
1620 * loadup.el: Add language/persian.el.
1621
90749b53
CY
16222012-08-06 Chong Yidong <cyd@gnu.org>
1623
1624 * window.el (window--maybe-raise-frame): New function.
1625 (window--display-buffer): Split off from here.
1626 (display-buffer-reuse-window, display-buffer-pop-up-frame)
1627 (display-buffer-pop-up-window, display-buffer-use-some-window):
1628 Obey an inhibit-switch-frame action alist entry.
1629 (display-buffer): Update doc.
1630
1631 * replace.el (occur-after-change-function): Avoid losing focus by
1632 using the inhibit-switch-frame display parameter (Bug#12139).
1633
ba7b0154
FEG
16342012-08-06 Fabián Ezequiel Gallina <fgallina@cuca>
1635
1636 Make internal shell process buffer names start with space.
1637 * progmodes/python.el (python-shell-make-comint): Add optional
1638 argument INTERNAL.
1639 (run-python-internal): Use it.
1640 (python-shell-internal-get-or-create-process): Check for new
1641 internal buffer names.
1642
5eaeacb5
GM
16432012-08-06 Glenn Morris <rgm@gnu.org>
1644
e296d94b 1645 * eshell/esh-ext.el (eshell/addpath): Use dolist and mapconcat.
5eaeacb5
GM
1646 Do less getting and setting of environment variables.
1647
b7ccbdc2
CY
16482012-08-05 Chong Yidong <cyd@gnu.org>
1649
777fe95e
CY
1650 * proced.el (proced): Add substitution string to docstring to
1651 trigger autoloading of the proced library on C-h f (Bug#1768).
1652
4250fdf5
SM
1653 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
1654 Don't show defvars which have no second argument (Bug#8638).
b7ccbdc2
CY
1655
1656 * imenu.el (imenu-generic-expression): Move documentation here
1657 from imenu--generic-function.
1658 (imenu--generic-function): Refer to imenu-generic-expression.
1659
9e3b7800 16602012-08-05 Vegard Øye <vegard_oye@hotmail.com> (tiny change)
d5c31f1d
VØ
1661
1662 * emulation/viper-init.el (viper-deflocalvar): Add docstring and
1663 indentation declaration.
1664 (viper-loop): Add indentation declaration (Bug#7025).
1665
e5d9c0d1
CY
16662012-08-05 Chong Yidong <cyd@gnu.org>
1667
f0422feb
CY
1668 * help-fns.el (describe-variable): Add hyperlink for
1669 directory-local variables files. Improve buffer-local and
1670 permanent-local reporting; suggested by MON KEY (Bug#6644).
1671
1672 * help-mode.el (help-dir-local-var-def): New button type.
1673
e5d9c0d1
CY
1674 * files.el (kill-buffer-hook): Provide a defvar.
1675
a4f2deaa
GM
16762012-08-05 Glenn Morris <rgm@gnu.org>
1677
1678 * eshell/esh-ext.el (eshell/addpath):
1679 Also update eshell-path-env. (Bug#12013)
1680
a9dd5754
CY
16812012-08-05 Chong Yidong <cyd@gnu.org>
1682
a4f2deaa 1683 * wdired.el (wdired-mode, wdired-change-to-wdired-mode): Doc fixes.
615b0bf0 1684
d014c740
CY
1685 * fringe.el (fringe-styles): Add docstring.
1686 (fringe--check-mode): New function.
1687 (set-fringe-mode, set-fringe-style): Use it.
1688 (fringe-mode, set-fringe-style): Doc fixes (Bug#6480).
1689
a9dd5754
CY
1690 * files.el (set-auto-mode): Fix invalid setq call.
1691
7c2dc8bd
SM
16922012-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
1693
1694 * isearch.el: Misc simplification; use defstruct.
1695 (isearch-mode-map): Dense maps now work like sparse ones.
1696 (isearch--state): New defstruct.
1697 (isearch-string-state, isearch-message-state, isearch-point-state)
1698 (isearch-success-state, isearch-forward-state)
1699 (isearch-other-end-state, isearch-word-state, isearch-error-state)
1700 (isearch-wrapped-state, isearch-barrier-state)
1701 (isearch-case-fold-search-state, isearch-pop-fun-state): Remove,
1702 replaced by defstruct's accessors.
1703 (isearch--set-state): Rename from isearch-top-state and change
1704 calling convention.
1705 (isearch-push-state): Use new isearch--get-state.
1706 (isearch-toggle-word): Disable regexp when enabling word.
1707 (isearch-message-prefix): Remove unused arg _c-q-hack.
1708 (isearch-message-suffix): Remove unused arg _ellipsis.
1709
7fcc0070
AS
17102012-08-04 Andreas Schwab <schwab@linux-m68k.org>
1711
1712 * simple.el (list-processes--refresh): For a server use :host or
1713 :local as the address.
97ad0769 1714 (list-processes): Doc fix.
7fcc0070 1715
a11035b8 17162012-08-04 Michal Nazarewicz <mina86@mina86.com>
00340faf
MN
1717
1718 * lisp/mpc.el: Support password in host argument.
1719 (mpc--proc-connect): Parse and use new password element.
1720 Set mpc-proc variable instead of returning process.
1721 (mpc-proc): Adjust accordingly.
1722
6dad7178
EZ
17232012-08-03 Eli Zaretskii <eliz@gnu.org>
1724
18949c2f
EZ
1725 * whitespace.el (whitespace-display-mappings): Use Unicode
1726 codepoints, instead of emacs-mule codepoints. See
1727 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-07/msg00366.html
1728 for the details.
1729
6dad7178
EZ
1730 * files.el (file-truename): Don't skip symlink-chasing part on
1731 windows-nt. Incorporate the resolution of 8+3 short aliases on
4250fdf5
SM
1732 Windows into the loop that recursively chases symlinks.
1733 Compare directory and its parent case-insensitively on MS-Windows and
6dad7178
EZ
1734 MS-DOS.
1735
385b0198
CY
17362012-08-03 Chong Yidong <cyd@gnu.org>
1737
6200f3c4
CY
1738 * menu-bar.el (menu-bar-tools-menu): Remove PCL-CVS.
1739
385b0198
CY
1740 * sort.el (sort-regexp-fields): Doc fix.
1741
b9e74744
TH
17422012-08-03 Tassilo Horn <tsdh@gnu.org>
1743
1744 * textmodes/reftex.el (reftex-compile-variables): Make keyvals
1745 labels regex position point at the expected place.
1746
41013cb4
MK
17472012-08-03 MON KEY <monkey@sandpframing.com>
1748
1749 * net/imap.el (imap-interactive-login, imap-authenticate)
1750 (imap-mailbox-lsub, imap-mailbox-list)
1751 (imap-mailbox-status-asynch, imap-mailbox-acl-delete)
1752 (imap-fetch, imap-message-flag-permanent-p, imap-envelope-from)
1753 (imap-parse-response): Doc fix.
1754
0ffee616
JT
17552012-08-03 João Távora <joaotavora@gmail.com>
1756
1757 * textmodes/tex-mode.el (latex-forward-sexp): Terminate the loop
1758 if sexp scanning does not move point (Bug#5734).
1759
cfcc9cc8
TH
17602012-08-02 Tassilo Horn <tsdh@gnu.org>
1761
1762 * textmodes/reftex-vars.el (reftex-default-label-alist-entries):
1763 Add listings, minted, and ctable packages.
1764 (reftex-label-alist-builtin): Move listings, minted, and ctable
1765 entries before LaTeX.
a01bbb84 1766 (reftex-label-alist): Docfix.
cfcc9cc8 1767
66ec2442
BG
17682012-08-02 Bastien Guerry <bzg@gnu.org>
1769
1770 * replace.el (occur): Fix docstring (bug#12122).
1771
837b365b
GM
17722012-08-02 Glenn Morris <rgm@gnu.org>
1773
1774 * emacs-lisp/authors.el (authors-renamed-files-alist): Add ms-w32.h.
1775
e098de97
PE
17762012-08-02 Paul Eggert <eggert@cs.ucla.edu>
1777
1778 Obsolete alias inactivate-current-input-method-function (Bug#10150).
1779 * international/mule-cmds.el: Create
1780 inactivate-current-input-method-function as an obsolete alias for
1781 deactivate-current-input-method-function. See Katsumi Yamaoka in
1782 <http://bugs.gnu.org/10150#46>.
1783
a0f95636
JB
17842012-08-01 Jay Belanger <jay.p.belanger@gmail.com>
1785
1786 * calc/calc-mode.el (calc-set-simplify-mode): Use `cond' instead
1787 of nested `if's.
1788
0d26d7c4
GM
17892012-08-01 Glenn Morris <rgm@gnu.org>
1790
1791 * progmodes/autoconf.el (autoconf-definition-regexp):
1792 Add AH_TEMPLATE, adjust submatch numbering.
1793 (autoconf-font-lock-keywords, autoconf-imenu-generic-expression)
1794 (autoconf-current-defun-function): Update for above change.
1795 (autoconf-current-defun-function): First skip to end of current word.
1796
b686ba06
RS
17972012-08-01 Rupert Swarbrick <rswarbrick@gmail.com> (tiny change)
1798
1799 * calendar/cal-html.el (cal-html-insert-agenda-days):
1800 Fix typo. (Bug#12018)
1801
0d49da68
FEG
18022012-07-31 Fabián Ezequiel Gallina <fgallina@cuca>
1803
1804 Shell processes: enhancements to startup and CEDET compatibility.
1805 * progmodes/python.el (python-shell-send-setup-max-wait): Delete var.
1806 (python-shell-make-comint): accept-process-output at startup.
1807 (run-python-internal): Set inferior-python-mode-hook to nil.
1808 (python-shell-internal-get-or-create-process): call sit-for.
1809 (python-preoutput-result): Add obsolete alias.
1810 (python-shell-internal-send-string): Use it.
1811 (python-shell-send-setup-code): Remove call to
1812 accept-process-output.
1813
f1a71c6e
AS
18142012-07-31 Andreas Schwab <schwab@linux-m68k.org>
1815
1816 * buff-menu.el (list-buffers-noselect): Use prefix-numeric-value.
1817 (Bug#12108)
1818
d2605269
JB
18192012-07-31 Jay Belanger <jay.p.belanger@gmail.com>
1820
1821 * calc-mode.el (calc-basic-simplification-mode): Rename from
1822 `calc-limited-simplification-mode'.
1823 (calc-alg-simplification-mode): New function.
fc0c31f8 1824 (calc-set-simplify-mode): Adjust message.
f1a71c6e 1825
d2605269
JB
1826 * calc.el (calc-set-mode-line): Adjust mode line display for
1827 basic simplification mode.
1828
1829 * calc-help.el (calc-m-prefix-help): Update help message.
1830
1831 * calc-ext.el (calc-init-extensions): Add bindings and autoloads
1832 for `calc-basic-simplify-mode' and `calc-alg-simplify-mode'.
1833
a3827a43
BG
18342012-07-31 Bastien Guerry <bzg@gnu.org>
1835
1836 * man.el (man): Fix comment. (bug#12101)
1837
502e3f89
MR
18382012-07-31 Martin Rudalics <rudalics@gmx.at>
1839
1840 * window.el (switch-to-prev-buffer, switch-to-next-buffer):
1841 Don't return a non-nil value when no suitable buffer was found.
1842
d7714961
FEG
18432012-07-31 Fabián Ezequiel Gallina <fgallina@cuca>
1844
1845 * progmodes/python.el (run-python-internal): Disable font lock for
1846 internal shells.
1847
1f45e27e
SM
18482012-07-30 Stefan Merten <smerten@oekonux.de>
1849
1850 * rst.el: Silence `checkdoc-ispell'.
1851 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
1852 (rst-official-version, rst-official-cvs-rev)
1853 (rst-package-emacs-version-alist): Update to upstream V1.3.1.
1854 (rst-mode-map): New key binding.
1855
0aee6912
PE
18562012-07-30 Paul Eggert <eggert@cs.ucla.edu>
1857
1858 Update .PHONY listings in makefiles.
1859 * Makefile.in (.PHONY): Add all, doit, custom-deps, finder-data,
1860 autoloads, update-subdirs, updates, bzr-update, update-authors,
1861 compile-onefile, compile-calc, backup-compiled-files,
1862 compile-after-backup, compile-one-process, mh-autoloads,
1863 bootstrap-clean, distclean, maintainer-clean.
1864
9052f9f0
JB
18652012-07-29 Jay Belanger <jay.p.belanger@gmail.com>
1866
1823ac5a
JB
1867 * calc/calc.el (calc-simplify-mode): Make 'alg the default value.
1868 (calc-set-mode-line): Don't display "AlgSimp ".
1869
1870 * calc/calc-mode.el (calc-alg-simplify-mode): Remove function.
1871 (calc-lim-simplify-mode): New function.
1872 (calc-set-simplify-mode): Default to 'alg.
1873 (calc-default-simplify-mode): Make algebraic simplifications
1874 the default.
1875
1876 * calc/calc-ext.el (calc-init-extensions): Remove binding for
1877 `calc-alg-simplify-mode'. Add binding for `calc-lim-simplify-mode'.
1878
8d7c7eed 1879 * calc/calc-help.el (calc-m-prefix-help): Change messages to
4b337409
JB
1880 indicate new simplification modes.
1881
1823ac5a
JB
1882 * calc/README: Mention new default simplification mode.
1883
9052f9f0
JB
1884 * calc/calc.el (math-normalize-error): New variable.
1885 (math-normalize): Set `math-normalize-error' to t
1886 when there's an error.
1887
1888 * calc/calc-alg.el (math-simplify): Don't simplify when
1889 `math-normalize' returns an error.
1890
20ba0cb4
EZ
18912012-07-29 Eli Zaretskii <eliz@gnu.org>
1892
1893 * international/mule-cmds.el (set-locale-environment): Revert last
1894 change, since display-graphic-p returns nil when this function is
1895 called during startup. Instead...
1896
1897 * term/w32console.el (terminal-init-w32console): ...setup the
1898 keyboard and terminal encoding for TTY sessions here. (Bug#12082)
1899
a5dcc929
JL
19002012-07-29 Juri Linkov <juri@jurta.org>
1901
1902 * simple.el (goto-line): Don't display default line number in the
1903 prompt because it should be displayed by `read-number' (bug#9952).
1904 Add the current line number to the defaults of `goto-line' to
1905 allow its easier modification by users with `M-n' (bug#9201).
1906
1907 * subr.el (read-number): Support multiple default values like in
1908 other minibuffer reading functions. Replace `read' with
1909 `string-to-number' for consistency with `number-to-string'.
1910
72b255c7
PE
19112012-07-29 Paul Eggert <eggert@cs.ucla.edu>
1912
1913 deactive->inactive, inactivate->deactivate spelling fixes (Bug#10150)
1914 * emulation/viper-init.el (viper-deactivate-input-method-action):
1915 Rename from viper-inactivate-input-method-action.
1916 (viper-deactivate-input-method):
1917 Rename from viper-inactivate-input-method.
1918 * follow.el (follow-inactive-menu): Rename from follow-deactive-menu.
1919 * international/mule-cmds.el (deactivate-input-method):
1920 Rename from inactivate-input-method.
1921 Also run input-method-deactivate-hook.
1922 (deactivate-current-input-method-function):
1923 Rename from inactivate-current-input-method-function.
1924 (input-method-deactivate-hook): New hook.
1925 (input-method-inactivate-hook): Mark obsolete.
bb6eb9fc
PE
1926 (inactivate-input-method): Mark obsolete.
1927
72b255c7
PE
1928 * international/quail.el (quail-activate):
1929 Also run quail-deactivate-hook.
1930 (quail-deactivate): Rename from quail-inactivate.
1931 * international/robin.el (robin-activate):
1932 Also run robin-deactivate-hook.
1933 (robin-deactivate): Rename from robin-inactivate.
1934
2549c068
CY
19352012-07-29 Chong Yidong <cyd@gnu.org>
1936
1937 * simple.el (indicate-copied-region): New function.
1938 (kill-ring-save): Split off from here.
1939
1940 * rect.el (copy-rectangle-as-kill): Call indicate-copied-region.
1941 (kill-rectangle): Set deactivate-mark to t on read-only error.
1942
1943 * register.el (copy-to-register, copy-rectangle-to-register):
1944 Deactivate the mark, and use indicate-copied-region (Bug#10056).
c69f56a2
MY
1945 (append-to-register, prepend-to-register):
1946 Call 2012-07-29 Juri Linkov <juri@jurta.org>
17711ed9
JL
1947
1948 * simple.el (async-shell-command-buffer): New defcustom.
1949 (shell-command): Use it. (Bug#4719)
1950
01bd1b0d
EZ
19512012-07-28 Eli Zaretskii <eliz@gnu.org>
1952
1953 * international/mule-cmds.el (set-locale-environment): In a
1954 console session on MS-Windows, set up keyboard and terminal
1955 encoding from the OEM codepage, not the ANSI codepage.
1956 (Bug#12055)
1957
a55739d3
CY
19582012-07-28 Chong Yidong <cyd@gnu.org>
1959
1960 * progmodes/gdb-mi.el (gdb-place-breakpoints): Fix the call to
1961 gdb-get-location.
1962
0e1a094f 19632012-07-28 Leo Liu <sdl.web@gmail.com>
9a0f8f2e
LL
1964
1965 * progmodes/cc-menus.el (cc-imenu-objc-function): Avoid leaving nil in
1966 the alist (bug#12029).
1967
20329d73
EZ
19682012-07-28 Eli Zaretskii <eliz@gnu.org>
1969
1970 * makefile.w32-in (custom-deps, finder-data, updates, compile)
1971 (compile-always, compile-first)
1972 ($(lisp)/calendar/cal-loaddefs.el)
1973 ($(lisp)/calendar/diary-loaddefs.el)
1974 ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
1975 ($(lisp)/net/tramp-loaddefs.el, bootstrap)
1976 ($(lisp)/progmodes/cc-mode.elc): Depend on $(lisp)subdirs.el,
1977 instead of on update-subdirs.
1978 (bootstrap-clean): Delete $(lisp)/subdirs.el.
1979
345a2258
CY
19802012-07-28 Chong Yidong <cyd@gnu.org>
1981
1eee6341
CY
1982 * vc/vc.el (vc-root-diff, vc-print-root-log): Prompt for a
1983 directory if vc-deduce-backend returns nil (Bug#7350).
1984
345a2258
CY
1985 * simple.el (delete-trailing-lines): New option.
1986 (delete-trailing-whitespace): Obey it (Bug#11879).
1987
049a0936
DE
19882012-07-28 David Engster <deng@randomsample.de>
1989
1990 * xml.el (xml-node-name, xml-parse-file, xml-parse-region):
1991 Explanation of new 'symbol-qnames feature in doc-strings.
1992 (xml-maybe-do-ns): Return expanded names as plain symbols if
1993 'symbol-qnames was provided in XML-NS argument (Bug#11916).
1994 (xml-parse-tag-1): Deal with new definition of PARSE-NS argument.
1995
aa81af71
FEG
19962012-07-27 Fabián Ezequiel Gallina <fgallina@cuca>
1997
1998 Consistent completion in inferior python with emacs -nw.
1999 * progmodes/python.el (inferior-python-mode): replace "<tab>"
2000 binding in inferior-python-mode-map with "\t".
2001 (python-shell-completion-complete-at-point)
2002 (python-completion-complete-at-point): Remove interactive spec.
2003
e827b1eb
JB
20042012-07-27 Jay Belanger <jay.p.belanger@gmail.com>
2005
2006 * calc/calccomp.el (math-compose-expr): Undo previous change.
2007
a90dfb95
FEG
20082012-07-27 Fabián Ezequiel Gallina <fgallina@cuca>
2009
4250fdf5 2010 * progmodes/python.el (python-mode-map): Add keybinding for
a90dfb95
FEG
2011 run-python.
2012 (python-shell-make-comint): Fix pop-to-buffer call.
2013 (run-python): Autoload. New arg SHOW.
2014 (python-shell-get-or-create-process): Do not pop python process
2015 buffer.
2016
32770973 20172012-07-27 Michael Albinus <michael.albinus@gmx.de>
1c6ef030
MA
2018
2019 * notifications.el (notifications-on-action-signal)
2020 (notifications-on-closed-signal): Use also the bus address for the map.
2021 (notifications-notify, notifications-close-notification)
fc0c31f8 2022 (notifications-get-capabilities): Add optional argument BUS.
1c6ef030 2023
86332df2
TH
20242012-07-27 Tassilo Horn <tsdh@gnu.org>
2025
4250fdf5
SM
2026 * textmodes/reftex-vars.el (reftex-label-alist-builtin):
2027 Add support for the lstlisting and minted environments, and for the
86332df2
TH
2028 ctable macro.
2029 * textmodes/reftex.el (reftex-compile-variables): Also recognize
2030 labels written in keyvals syntax.
2031
ca1302a4
JB
20322012-07-27 Jay Belanger <jay.p.belanger@gmail.com>
2033
2034 * calc/calccomp.el (math-compose-expr): Use parentheses when
2035 there is a product in the denominator of a fraction.
2036
f8b91036
EZ
20372012-07-26 Eli Zaretskii <eliz@gnu.org>
2038
2039 * makefile.w32-in ($(lisp)/calendar/cal-loaddefs.el)
2040 ($(lisp)/calendar/diary-loaddefs.el)
2041 ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
4250fdf5
SM
2042 ($(lisp)/net/tramp-loaddefs.el): Depend on update-subdirs.
2043 Fixes failures in parallel bootstrap because subdirs.el is being
f8b91036
EZ
2044 rewritten while the autoload files are built at the same time,
2045 which needs to load subdirs.el.
2046
c8e5a42c
MR
20472012-07-26 Martin Rudalics <rudalics@gmx.at>
2048
2049 * mouse.el (popup-menu): Fix doc-string and re-indent code.
2050 (mouse-drag-line): Don't exit tracking when a switch-frame or
2051 switch-window event occurs (Bug#12006).
2052
670d85ea
SM
20532012-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
2054
2055 * mouse.el (popup-menu): Fix last change.
2056
7abaf5cc
SM
20572012-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
2058
2059 Autoload from Lisp with more care. Follow aliases when looking for
2060 function properties.
2061 * subr.el (autoloadp): New function.
2062 (symbol-file): Use it.
2063 (function-get): New function.
2064 * emacs-lisp/macroexp.el (macroexp--expand-all): Use function-get and
2065 autoload-do-load.
2066 * emacs-lisp/lisp-mode.el (lisp-font-lock-syntactic-face-function)
2067 (lisp-indent-function):
2068 * emacs-lisp/gv.el (gv-get):
2069 * emacs-lisp/edebug.el (get-edebug-spec, edebug-basic-spec):
2070 * emacs-lisp/byte-opt.el (byte-optimize-form):
2071 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
2072 * emacs-lisp/autoload.el (make-autoload, autoload-print-form):
2073 Use function-get.
2074 * emacs-lisp/cl.el: Don't propagate function properties any more.
2075
2076 * speedbar.el (speedbar-add-localized-speedbar-support):
2077 * emacs-lisp/disass.el (disassemble-internal):
2078 * desktop.el (desktop-load-file):
2079 * help-fns.el (help-function-arglist, find-lisp-object-file-name)
2080 (describe-function-1):
2081 * emacs-lisp/find-func.el (find-function-noselect):
2082 * emacs-lisp/elp.el (elp-instrument-function):
2083 * emacs-lisp/advice.el (ad-has-proper-definition):
2084 * apropos.el (apropos-safe-documentation, apropos-macrop):
2085 * emacs-lisp/debug.el (debug-on-entry):
2086 * emacs-lisp/cl-macs.el (cl-compiler-macroexpand):
2087 * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
2088 * calc/calc.el (name): Use autoloadp & autoload-do-load.
2089
b1364986
AA
20902012-07-25 Alp Aker <alp.tekin.aker@gmail.com>
2091
2092 * international/mule-cmds.el (ucs-insert): Mark it as an obsolete
2093 function, not an obsolete variable (Bug#12046).
2094
67ada220
AS
20952012-07-25 Andreas Schwab <schwab@linux-m68k.org>
2096
2097 * faces.el (face-spec-reset-face): Fix last change. (Bug#12042)
2098
f08088e3
CS
20992012-07-25 Christopher Schmidt <christopher@ch.ristopher.com>
2100
2101 * emacs-lisp/pp.el (pp-display-expression): Select old selected
2102 window only if it is still live (Bug#12034).
2103
8137e7b3
MR
21042012-07-25 Martin Rudalics <rudalics@gmx.at>
2105
2106 * subr.el (redirect-frame-focus): Add advertised calling
2107 convention (Bug#12030).
2108
09ae5da1
PE
21092012-07-25 Paul Eggert <eggert@cs.ucla.edu>
2110
2111 Prefer typical American spelling for "acknowledgment".
2112 * vc/add-log.el (change-log-acknowledgment): Rename from
2113 change-log-acknowledgement, with an alias for the old name.
2114
3cc5a3a8
JB
21152012-07-25 Jay Belanger <jay.p.belanger@gmail.com>
2116
2117 * calc-alg.el (math-simplify-divide): Don't cross multiply
2118 in an equation when the lhs is a variable.
2119
b7af7f62
JD
21202012-07-24 Julien Danjou <julien@danjou.info>
2121
2122 * net/netrc.el (netrc-find-service-number, netrc-store-data):
2123 Remove, unused.
2124
ec1b09b1
EZ
21252012-07-23 Eli Zaretskii <eliz@gnu.org>
2126
2127 * startup.el (command-line): Don't display an empty user name in
2128 the error message about non-existent home directory, when
2129 init-file-user was set to an empty string. See
2130 http://lists.gnu.org/archive/html/bug-gnu-emacs/2012-07/msg00835.html
2131 for the details and context.
2132
b525fd8a
VB
21332012-07-22 Vincent Belaïche <vincentb1@users.sourceforge.net>
2134
2135 * ses.el (ses-cell-formula-aset): New macro.
2136 (ses-cell-references-aset): New macro.
2137 (ses-cell-p): New function.
2138 (ses-rename-cell): Do no longer rely on complex operations like
2139 ses-cell-set-formula or ses-set-cell to change the cell and handle
2140 the undo at the same time, but rather use lower level new macros
2141 `ses-cell-formula-aset' and `ses-cell-references-aset' and handle
fc0c31f8 2142 the undo directly. Refresh the mode line.
b525fd8a 2143
2c73e345
LL
21442012-07-21 Leo Liu <sdl.web@gmail.com>
2145
670d85ea
SM
2146 * progmodes/cc-cmds.el (c-defun-name):
2147 Use match-string-no-properties instead for consistency.
2c73e345 2148
542dfbde
LL
21492012-07-20 Leo Liu <sdl.web@gmail.com>
2150
3646bcd6
LL
2151 * progmodes/cc-cmds.el (c-defun-name): Handle objc selectors properly.
2152 (Bug#7879)
2153
542dfbde
LL
2154 * progmodes/cc-langs.el (c-symbol-start): Include char _ (bug#11986).
2155
25721031
CY
21562012-07-20 Stefan Monnier <monnier@iro.umontreal.ca>
2157
2158 * userlock.el, emacs-lisp/map-ynp.el: Declare part of `emacs' package.
2159 * progmodes/bug-reference.el, misearch.el: Provide themselves
2160 (bug#11915).
2161
2162 * progmodes/cperl-mode.el (cperl-unwind-to-safe): Don't inf-loop at end
2163 of narrowed buffer (bug#11966).
2164
316e68a7
VB
21652012-07-20 Vincent Belaïche <vincentb1@users.sourceforge.net>
2166
2167 * ses.el (ses-rename-cell): Set new name also in reference list of
2168 cells of which the renamed cell depends.
2169
bbf0e7d9
MY
21702012-07-20 Masatake YAMATO <yamato@redhat.com>
2171
2172 * term/x-win.el (x-menu-bar-open): Use `frame-parameter'
2173 to check whether menu-bar is shown or not. If not shown,
2174 show the menu-bar as a popup menu instead of using tmm.
2175 * mouse.el (popup-menu): Accept `point' as `position' argument.
2176
c28662a8
DG
21772012-07-20 Dmitry Gutov <dgutov@yandex.ru>
2178
2179 * progmodes/ruby-mode.el (ruby-parse-partial): No error when end
2180 up inside string symbol literal (bug#11923).
2181
87ab808f
EZ
21822012-07-20 Eli Zaretskii <eliz@gnu.org>
2183
2184 * startup.el (fancy-startup-text): Read the whole tutorial, not
2185 just its first 256 bytes. Prevents gibberish in display of the
2186 tutorial title.
2187
89dea803
DA
21882012-07-20 Dmitry Antipov <dmantipov@yandex.ru>
2189
2190 Drop idle buffer compaction due to an absence of the
2191 proved efficiency.
2192 * compact.el: Remove.
2193
8a4e6db8
SS
21942012-07-19 Sam Steingold <sds@gnu.org>
2195
2196 * vc/vc-dispatcher.el (vc-compilation-mode): Add, based on
2197 vc-bzr-pull & vc-bzr-merge-branch.
2198 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch): Use it.
2199 (vc-bzr-error-regexp-alist): Rename from vc-bzr-error-regex-alist
2200 for consistency with compilation-error-regexp-alist.
2201 * vc/vc-git.el (vc-git-error-regexp-alist): Add.
2202 (vc-git-pull, vc-git-merge-branch): Call vc-compilation-mode.
2203 * vc/vc-hg.el (vc-hg-error-regexp-alist): Add.
2204 (vc-hg-pull, vc-hg-merge-branch): Call vc-compilation-mode.
2205
5db81e33
SM
22062012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
2207
2208 * emacs-lisp/chart.el: Use lexical-binding.
2209 (chart-emacs-storage): Don't hardcode the list of entries.
2210
5b835e1d
DA
22112012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
2212
2213 Next round of tweaks caused by Fgarbage_collect changes.
2214 * emacs-lisp/chart.el (chart-emacs-storage): Adjust again.
2215
9cd47b72
DA
22162012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
2217
2218 Compact buffers when idle.
2219 * compact.el: New file.
2220
1d6fc0df
SM
22212012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
2222
2223 * subr.el (eventp): Presume that if it looks vaguely like an event,
2224 it's an event (bug#10190).
2225
1d29cc7d
FEG
22262012-07-19 Fabián Ezequiel Gallina <fgallina@cuca>
2227
2228 Enhancements to ppss related code (thanks Stefan).
2229 * progmodes/python.el (python-indent-context)
2230 (python-indent-calculate-indentation, python-indent-dedent-line)
2231 (python-indent-electric-colon, python-nav-forward-block)
2232 (python-mode-abbrev-table)
1d6fc0df 2233 (python-info-assignment-continuation-line-p): Simplify checks
1d29cc7d
FEG
2234 for ppss context.
2235 (python-info-continuation-line-p): Cleanup.
2236 (python-info-ppss-context): Do not catch 'quote.
2237 (python-info-ppss-context-type)
2238 (python-info-ppss-comment-or-string-p): Simplify.
2239
d583cbe6
FEG
22402012-07-18 Fabián Ezequiel Gallina <fgallina@cuca>
2241
2242 * progmodes/python.el: Enhancements to eldoc support.
2243 (python-info-current-symbol): New function.
2244 (python-eldoc-at-point): Use python-info-current-symbol.
2245 (python-info-current-defun): Fix cornercase on first defun scan.
2246 (python-eldoc--get-doc-at-point): Use python-info-current-symbol
2247 and signal error when no inferior python process is available.
2248
eceb6feb
DG
22492012-07-18 Dmitry Gutov <dgutov@yandex.ru>
2250
2251 * vc/vc-git.el (vc-git-state): Don't call `vc-git-registered',
2252 assume it's always t.
2253 (vc-git-registered): Remove caching, the function is only called
2254 once.
2255 (vc-git-branches): Use `vc-git--call' instead of `call-process'.
2256
4c8ff0fe
CY
22572012-07-18 Chong Yidong <cyd@gnu.org>
2258
19fb7186
CY
2259 * subr.el (last-input-char, last-command-char): Remove (Bug#9195).
2260
9587c688
CY
2261 * simple.el (count-words): Report on narrowing (Bug#9959).
2262
0fe776a1
CY
2263 * bindings.el: Bind M-= to count-words.
2264
4c8ff0fe
CY
2265 * faces.el (face-spec-reset-face): Handle reverse video (Bug#4238).
2266
7f5331cc
MY
22672012-07-18 Masatake YAMATO <yamato@redhat.com>
2268
2269 * progmodes/sh-script.el (sh-imenu-generic-expression):
2270 Capture a function with `function' keyword and without parentheses
2271 like "function FOO" (bug#11856).
2272
2dc2a609
TH
22732012-07-18 Tassilo Horn <tassilo@member.fsf.org>
2274
2275 * window.el (split-window-sensibly): Make WINDOW argument
2276 optional.
2277
439f7677
CY
22782012-07-18 Chong Yidong <cyd@gnu.org>
2279
9aeb25a6
CY
2280 * subr.el (keyboard-translate): Doc fix (Bug#7261).
2281
439f7677
CY
2282 * isearch.el (isearch-mode-map): Handle C-x 8 key translations,
2283 and make C-x 8 RET exit isearch (Bug#11439).
2284
2285 * international/iso-transl.el: Move isearch-mode-map key
2286 definitions to isearch.el.
2287
12999ea8
SM
22882012-07-18 Stefan Monnier <monnier@iro.umontreal.ca>
2289
2290 * emacs-lisp/eieio.el: Adapt further to gv.el (bug#11970).
2291 (eieio-defclass): Use gv-define-setter when possible.
2292
3ab6e069
DA
22932012-07-18 Dmitry Antipov <dmantipov@yandex.ru>
2294
2295 Reflect recent changes in Fgarbage_collect.
2296 * emacs-lisp/chart.el (chart-emacs-storage): Change to
2297 reflect new format of data returned by Fgarbage_collect.
2298
0a60bc10
FEG
22992012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
2300
2301 New utility functions + python-info-ppss-context fix (Bug#11910).
2302 * progmodes/python.el (python-info-beginning-of-block-statement-p)
2303 (python-info-ppss-comment-or-string-p): New functions.
2304 (python-info-ppss-context): Small fix for string check.
2305
6dafa0d5
JL
23062012-07-17 Juri Linkov <juri@jurta.org>
2307
2308 * dired-aux.el (dired-do-async-shell-command): Doc fix.
2309 (dired-do-async-shell-command): Don't add `*' at the end of the
2310 command (Bug#11815).
2311 (dired-do-shell-command): Doc fix.
2312 (dired-shell-stuff-it): Strip the trailing "&" and ";" if any.
2313 Join the individual commands using either "&" or ";" as the
2314 separator depending on the values of these trailing characters.
2315 At the end re-add the trailing "&". (Bug#10598)
2316
2317 * simple.el (async-shell-command): Sync the interactive spec with
2318 `shell-command'. Doc fix.
2319 (shell-command): Doc fix.
2320
b19dd9d1
JL
23212012-07-17 Juri Linkov <juri@jurta.org>
2322
2323 * descr-text.el (describe-char): Fix format args. (Bug#10129)
2324
bcdc27d7 23252012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
7f5331cc 2326
bcdc27d7 2327 Final renames and doc fixes for movement commands (bug#11899).
7f5331cc
MY
2328 * progmodes/python.el (python-nav-beginning-of-statement):
2329 Rename from python-nav-statement-start.
bcdc27d7
FEG
2330 (python-nav-end-of-statement): Rename from
2331 python-nav-statement-end.
2332 (python-nav-beginning-of-block): Rename from
2333 python-nav-block-start.
2334 (python-nav-end-of-block): Rename from python-nav-block-end.
2335
191da00e
FEG
23362012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
2337
7f5331cc
MY
2338 * progmodes/python.el (python-shell-send-string-no-output):
2339 Allow accept-process-output to quit, keeping shell process ready for
191da00e
FEG
2340 future interactions (Bug#11868).
2341
4dc7c8d5 23422012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
aa7aaf8f 2343
88ecaf8f
SM
2344 * emacs-lisp/cl-macs.el (cl-progv): Use a properly prefixed var name.
2345
ef501ef0
SM
2346 * emacs-lisp/elint.el (elint-find-args-in-code):
2347 Use help-function-arglist, so as to handle lexical byte-code.
2348
aa7aaf8f
SM
2349 * progmodes/sh-script.el (sh-syntax-propertize-function): Fix last
2350 change (bug#11826).
2351
45fd731c
SM
23522012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
2353
2143fa32
SM
2354 * progmodes/cc-engine.el (c-forward-sws, c-backward-sws):
2355 Avoid spuriously marking the buffer as modified because of c-is-sws.
2356
efc26dbe
SM
2357 * progmodes/sh-script.el (sh-syntax-propertize-function): Mark "${#VAR"
2358 as not-a-comment (bug#11946).
2359
f5695c9a
SM
2360 * emacs-lisp/macroexp.el (macroexp-let2): Use more informative names
2361 for uninterned vars.
2362
2363 * xt-mouse.el (xterm-mouse-translate-1, xterm-mouse-event-read):
2364 Use read-event since we don't really want to read chars but bytes.
2365
45fd731c
SM
2366 * textmodes/tex-mode.el (tex-font-lock-keywords-1): Highlight not only
2367 $$..$$ but also $..$ using regexps (bug#11953).
2368 Use tex-verbatim for \url and \path.
2369 (tex-font-lock-keywords): Define as defconst like the others.
2370 (tex-common-initialization): Don't use font-lock-syntax-table any more.
2371
ddfc8813
RK
23722012-07-16 René Kyllingstad <Rene@Kyllingstad.com> (tiny change)
2373
2374 * international/mule-cmds.el (ucs-insert): Make it an obsolete
2375 alias for insert-char.
2376
758e556a
FEG
23772012-07-16 Fabián Ezequiel Gallina <fgallina@cuca>
2378
2379 * progmodes/python.el: Simplified imenu implementation.
2380 (python-nav-jump-to-defun): Remove command.
2381 (python-mode-map): Use `imenu' instead.
2382 (python-nav-list-defun-positions-cache)
2383 (python-imenu-include-defun-type, python-imenu-make-tree)
2384 (python-imenu-subtree-root-label, python-imenu-index-alist):
2385 Remove vars.
2386 (python-nav-list-defun-positions, python-nav-read-defun)
2387 (python-imenu-tree-assoc, python-imenu-make-element-tree)
45fd731c
SM
2388 (python-imenu-make-tree, python-imenu-create-index):
2389 Remove functions.
758e556a
FEG
2390 (python-mode): Update to interact with imenu by setting
2391 `imenu-extract-index-name-function' only.
2392
032d23ab
FEG
23932012-07-16 Fabián Ezequiel Gallina <fgallina@cuca>
2394
2395 * progmodes/python.el: Enhancements to navigation commands.
2396 (python-nav-backward-sentence)
2397 (python-nav-forward-sentence): Remove.
2398 (python-nav-backward-statement, python-nav-forward-statement)
2399 (python-nav-statement-start, python-nav-statement-end)
2400 (python-nav-backward-block, python-nav-forward-block)
2401 (python-nav-block-start, python-nav-block-end)
2402 (python-nav-forward-sexp-function)
2403 (python-info-current-line-comment-p)
2404 (python-info-current-line-empty-p): New functions.
2405 (python-indent-context): Use `python-nav-statement-start'.
2406
01795a1b
MA
24072012-07-16 Michael Albinus <michael.albinus@gmx.de>
2408
9328d9aa
MA
2409 * eshell/em-ls.el (eshell/ls): Use `apply'.
2410
2411 * eshell/em-unix.el (eshell/su, eshell/sudo): Apply Tramp's ad-hoc
2412 multi-hops, instead of Tramp internals.
2413
01795a1b
MA
2414 * vc/ediff.el (ediff-directories): Add trailing space to prompts.
2415
2416 * vc/ediff-diff.el (ediff-same-file-contents): Handle the case,
2417 when F1 and F2 are located on different hosts.
2418
63408057
CY
24192012-07-14 Chong Yidong <cyd@gnu.org>
2420
2421 * xt-mouse.el: Implement extended mouse coordinates (Bug#10642).
2422 (xterm-mouse-translate): Move code into xterm-mouse-translate-1.
2423 (xterm-mouse-translate-extended, xterm-mouse-translate-1)
2424 (xterm-mouse--read-event-sequence-1000)
2425 (xterm-mouse--read-event-sequence-1006): New functions. For old
2426 mouse protocol, handle M-mouse-X events correctly.
2427 (xterm-mouse-event): New arg specifying mouse protocol.
2428 (turn-on-xterm-mouse-tracking-on-terminal)
2429 (turn-off-xterm-mouse-tracking-on-terminal): Send DEC 1006
45fd731c
SM
2430 sequence to toggle extended coordinates on newer XTerms.
2431 This appears to be harmless on terminals which do not support this.
63408057 2432
cd276f6e
LL
24332012-07-14 Leo Liu <sdl.web@gmail.com>
2434
28ca98ac
LL
2435 Add fringe bitmap indicators for flymake. (Bug#11253)
2436 * progmodes/flymake.el (flymake-highlight-line): Use fringe bitmaps.
2437 (flymake-make-overlay): New arg BITMAP.
2438 (flymake-error-bitmap, flymake-warning-bitmap)
2439 (flymake-fringe-indicator-position): New user variables.
2440
cd276f6e
LL
2441 * fringe.el: New bitmap exclamation-mark.
2442
04408072
JD
24432012-07-14 Jan Djärv <jan.h.d@swipnet.se>
2444
2445 * progmodes/cc-cmds.el (c-defun-name): Recognize Objective-C methods
2446 also (Bug#7879).
2447
b5cf7fc4
CY
24482012-07-14 Chong Yidong <cyd@gnu.org>
2449
2450 * electric.el (electric-pair-post-self-insert-function): Fix pair
2451 insertion in empty-region case (Bug#11520).
2452
be755c79
RT
24532012-07-14 Chong Yidong <cyd@gnu.org>
2454
45fd731c
SM
2455 * bindings.el: Consolidate ctl-x-r-map bindings.
2456 Bind copy-rectangle-as-kill to C-x r w.
be755c79
RT
2457
2458 * rect.el, register.el: Move bindings to bindings.el.
2459
24602012-07-14 Reuben Thomas <rrt@sc3d.org>
2461
2462 * rect.el (copy-rectangle-as-kill): New command (Bug#739).
2463
7f5b3198
AS
24642012-07-13 Andreas Schwab <schwab@linux-m68k.org>
2465
2466 * emacs-lisp/cl.el (labels): Remove spurious quote. (Bug#11938)
2467
97662200
JB
24682012-07-13 Juanma Barranquero <lekktu@gmail.com>
2469
80185fed
JB
2470 * bindings.el (top): Use `mapc' instead of `mapcar'.
2471
97662200
JB
2472 * loadup.el (top): Remove bogus `if' choice (brought by 2008-06-21T01:38:39Z!monnier@iro.umontreal.ca).
2473
2bb1ae55
MA
24742012-07-13 Michael Albinus <michael.albinus@gmx.de>
2475
2476 * progmodes/sql.el (sql-comint): Suppress the check for program on
2477 remote hosts. Reported by Francis Devereux <francis@devrx.org>.
2478 (Bug#11908)
2479
dea31bd3
CY
24802012-07-13 Chong Yidong <cyd@gnu.org>
2481
2482 * bindings.el: Assign a non-nil permanent-local property to
2483 per-buffer variables which lack a default value (Bug#11930).
2484
2485 * help-fns.el (describe-variable): In the "automatically becomes
2486 local" notice, take note of permanent-local variables.
2487
b68b3337
CY
24882012-07-13 Chong Yidong <cyd@gnu.org>
2489
2490 * files.el (toggle-read-only): Doc fix and code cleanup. New arg
2491 to allow printing the message when called from Lisp.
2492
2493 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
2494 Remove toggle-read-only.
2495
2496 * bs.el (bs-toggle-readonly):
45fd731c
SM
2497 * buff-menu.el (Buffer-menu-toggle-read-only):
2498 Remove with-no-warnings around toggle-read-only.
b68b3337
CY
2499
2500 * ffap.el (ffap--toggle-read-only): Accept a list of buffers.
2501 Remove with-no-warnings around toggle-read-only.
2502 (ffap-read-only, ffap-read-only-other-window)
2503 (ffap-read-only-other-frame): Callers changed.
2504
2505 * help-mode.el: Don't require view package.
2506 (help-mode-finish): Set buffer-read-only instead of calling
2507 toggle-read-only.
2508
2509 * bindings.el (mode-line-toggle-read-only):
2510 * dired.el (dired-toggle-read-only):
2511 * ibuffer.el (ibuffer-do-toggle-read-only): Call toggle-read-only
2512 with non-nil second arg.
2513
2514 * emacs-lisp/eieio-custom.el (eieio-customize-object):
2515 * vc/ediff.el (ediff-set-read-only-in-buf-A): Set buffer-read-only
2516 directly.
2517
56bc1586
EZ
25182012-07-12 Eli Zaretskii <eliz@gnu.org>
2519
2520 * emacs-lisp/bytecomp.el (byte-recompile-directory): Use cl-incf,
2521 not incf.
2522
a464a6c7
SM
25232012-07-11 Stefan Monnier <monnier@iro.umontreal.ca>
2524
2525 More CL cleanups and reduction of use of cl.el.
2526 * woman.el, winner.el, vc/vc-rcs.el, vc/vc-hooks.el, vc/vc-hg.el:
2527 * vc/vc-git.el, vc/vc-dir.el, vc/vc-bzr.el, vc/vc-annotate.el:
2528 * textmodes/tex-mode.el, textmodes/sgml-mode.el, tar-mode.el:
2529 * strokes.el, ses.el, server.el, progmodes/js.el, progmodes/gdb-mi.el:
2530 * progmodes/flymake.el, progmodes/ebrowse.el, progmodes/compile.el:
2531 * play/tetris.el, play/snake.el, play/pong.el, play/landmark.el:
2532 * play/hanoi.el, play/decipher.el, play/5x5.el, nxml/nxml-mode.el:
2533 * net/secrets.el, net/quickurl.el, midnight.el, mail/footnote.el:
2534 * image-dired.el, ibuffer.el, ibuf-macs.el, ibuf-ext.el, hexl.el:
2535 * eshell/eshell.el, eshell/esh-io.el, eshell/esh-ext.el:
2536 * eshell/esh-cmd.el, eshell/em-ls.el, eshell/em-hist.el:
2537 * eshell/em-cmpl.el, eshell/em-banner.el:
2538 * calendar/parse-time.el: Use cl-lib.
2539 * wid-browse.el, wdired.el, vc/vc.el, vc/vc-mtn.el, vc/vc-cvs.el:
2540 * vc/vc-arch.el, tree-widget.el, textmodes/texinfo.el:
2541 * textmodes/refill.el, textmodes/css-mode.el, term/tvi970.el:
2542 * term/ns-win.el, term.el, shell.el, ps-samp.el:
2543 * progmodes/perl-mode.el, progmodes/pascal.el, progmodes/gud.el:
2544 * progmodes/glasses.el, progmodes/etags.el, progmodes/cwarn.el:
2545 * play/gamegrid.el, play/bubbles.el, novice.el, notifications.el:
2546 * net/zeroconf.el, net/xesam.el, net/snmp-mode.el, net/mairix.el:
2547 * net/ldap.el, net/eudc.el, net/browse-url.el, man.el:
2548 * mail/mailheader.el, mail/feedmail.el: Don't use CL.
2549 * ibuf-ext.el (ibuffer-mark-old-buffers): Use float-time.
2550 * eshell/esh-opt.el (eshell-eval-using-options): Quote code with
2551 `lambda' rather than with `quote'.
2552 (eshell-do-opt): Adjust accordingly.
2553 (eshell-process-option): Simplify.
2554 * eshell/esh-var.el:
2555 * eshell/em-script.el: Require `esh-opt' for eshell-eval-using-options.
2556 * emacs-lisp/pcase.el (pcase--dontcare-upats, pcase--let*)
2557 (pcase--expand, pcase--u1): Rename pcase's internal `dontcare' pattern
2558 to `pcase--dontcare'.
2559 * emacs-lisp/cl.el (labels): Mark obsolete.
2560 (cl--letf, letf): Move to cl-lib.
2561 (cl--letf*, letf*): Remove.
2562 * emacs-lisp/cl-lib.el (cl-nth-value): Use defalias.
2563 * emacs-lisp/cl-macs.el (cl-dolist, cl-dotimes): Add indent rule.
2564 (cl-progv): Rewrite.
2565 (cl--letf, cl-letf): Move from cl.el.
2566 (cl-letf*): New macro.
2567 * emacs-lisp/cl-extra.el (cl--progv-before, cl--progv-after): Remove.
2568
7ad4afe1
MA
25692012-07-11 Michael Albinus <michael.albinus@gmx.de>
2570
2571 * net/ange-ftp.el (ange-ftp-cf1): Update the files cache.
2572
9af57756
CY
25732012-07-11 Chong Yidong <cyd@gnu.org>
2574
2575 * vc/log-edit.el (log-edit-vc-backend): New variable.
2576 (log-edit): Doc fix.
2577
2578 * vc/vc-dispatcher.el (vc-log-edit): New args. Use PARAMS
2579 argument of log-edit to set up all local variables.
2580 (vc-start-logentry): New optional arg specifying VC backend.
2581
2582 * vc/vc.el (vc-checkin): Use it.
2583 (vc-deduce-fileset): Handle Log Edit buffers.
2584 (vc-diff): Make first argument optional too.
2585
2586 * vc/log-view.el (log-view-vc-fileset, log-view-vc-backend): Doc fix.
2587
8477cc7a
MA
25882012-07-10 Michael Albinus <michael.albinus@gmx.de>
2589
2590 * eshell/esh-ext.el (eshell-remote-command): Remove remote part of
2591 command, just in case. The function is not needed anymore.
2592 (eshell-external-command): Do not call `eshell-remote-command'.
2593
19faa8e8
SM
25942012-07-10 Stefan Monnier <monnier@iro.umontreal.ca>
2595
f58e0fd5
SM
2596 Reduce use of (require 'cl).
2597 * vc/smerge-mode.el, vc/pcvs.el, vc/pcvs-util.el, vc/pcvs-info.el:
2598 * vc/diff-mode.el, vc/cvs-status.el, uniquify.el, scroll-bar.el:
2599 * register.el, progmodes/sh-script.el, net/gnutls.el, net/dbus.el:
2600 * msb.el, mpc.el, minibuffer.el, international/ucs-normalize.el:
2601 * international/quail.el, info-xref.el, imenu.el, image-mode.el:
2602 * font-lock.el, filesets.el, edmacro.el, doc-view.el, bookmark.el:
2603 * battery.el, avoid.el, abbrev.el: Use cl-lib.
2604 * vc/pcvs-parse.el, vc/pcvs-defs.el, vc/log-view.el, vc/log-edit.el:
2605 * vc/diff.el, simple.el, pcomplete.el, lpr.el, comint.el, loadhist.el:
2606 * jit-lock.el, international/iso-ascii.el, info.el, frame.el, bs.el:
2607 * emulation/crisp.el, electric.el, dired.el, cus-dep.el, composite.el:
2608 * calculator.el, autorevert.el, apropos.el: Don't require CL.
2609 * emacs-lisp/bytecomp.el (byte-recompile-directory, display-call-tree)
2610 (byte-compile-unfold-bcf, byte-compile-check-variable):
2611 * emacs-lisp/byte-opt.el (byte-compile-trueconstp)
2612 (byte-compile-nilconstp):
2613 * emacs-lisp/autoload.el (make-autoload): Use pcase.
2614 * face-remap.el (text-scale-adjust): Simplify pcase patterns.
2615
2519d43a
SM
2616 * emacs-lisp/gv.el (cond): Make it a valid place.
2617 (if): Simplify slightly.
2618
19faa8e8
SM
2619 * emacs-lisp/pcase.el (pcase): Accept self-quoting exps as "upatterns".
2620 (pcase--self-quoting-p): New function.
2621 (pcase--u1): Use it.
2622
c4907a5e
GM
26232012-07-10 Glenn Morris <rgm@gnu.org>
2624
2625 * emacs-lisp/authors.el (authors-fixed-entries):
2626 (authors-renamed-files-alist): Update for configure.in -> configure.ac.
2627
c4444d16
PE
26282012-07-09 Paul Eggert <eggert@cs.ucla.edu>
2629
2630 Rename configure.in to configure.ac (Bug#11603).
2631 * emacs-lisp/authors.el (authors-canonical-file-name):
2632 * progmodes/autoconf.el (autoconf-mode):
2633 Prefer configure.ac to configure.in.
2634
d75be97d
CY
26352012-07-08 Chong Yidong <cyd@gnu.org>
2636
01ac65bd
CY
2637 * mouse.el (mouse-drag-line): Rewrite the track-mouse loop.
2638 Implement the mouse-1-click-follows-link handling properly.
2639
2640 * info.el (Info-link-keymap): Use follow-link mechanism for
2641 header-line links (Bug#374).
2642
d75be97d
CY
2643 * simple.el (deactivate-mark): Do not set the primary selection
2644 if another program has acquired it (Bug#11772).
2645
87a92845 26462012-07-07 Kevin Ryde <user42@zip.com.au>
f0ecdfea
KR
2647
2648 * woman.el (woman-strings): Fix double-quote handling (Bug#1151).
2649 (woman-decode-region): Replace escaped-escapes without destroying
2650 bold or underline (Bug#11552).
87a92845 2651 (woman2-process-escapes): Handle nofill regions (Bug#11591).
f0ecdfea 2652
621b9d6c
CY
26532012-07-07 Chong Yidong <cyd@gnu.org>
2654
2655 * simple.el (yank-pop-change-selection): Doc fix (Bug#11361).
19faa8e8
SM
2656 (interprogram-cut-function, interprogram-paste-function):
2657 Mention that we typically mean the clipboard.
621b9d6c 2658
133a11fc
GM
26592012-07-06 Glenn Morris <rgm@gnu.org>
2660
0d27a45e
GM
2661 * kmacro.el (kmacro-call-macro): Restore repeat message. (Bug#11817)
2662
133a11fc
GM
2663 * files.el (toggle-read-only): Restrict message to interactive use.
2664
07b151f1
MA
26652012-07-06 Michael Albinus <michael.albinus@gmx.de>
2666
2667 * net/tramp.el (tramp-restricted-shell-hosts-alist): New defcustom.
2668
2669 * net/tramp-sh.el (tramp-maybe-open-connection): Handle it.
2670
211b896b
GM
26712012-07-06 Glenn Morris <rgm@gnu.org>
2672
50394322
GM
2673 * Makefile.in (compile-one-process): Rename from "recompile".
2674
211b896b
GM
2675 * Makefile.in (bzr-update): "compile" is the same as "recompile
2676 autoloads", but parallelizable, so use that instead.
2677
4737eec9
DG
26782012-07-06 Dmitry Gutov <dgutov@yandex.ru>
2679
2680 * window.el (quit-window): Always restore window height when
8137e7b3 2681 it's saved in quit-restore parameter (Bug#11810).
4737eec9 2682
226c3633 26832012-07-06 Glenn Morris <rgm@gnu.org>
cb442973
GM
2684
2685 * simple.el (kill-whole-line): Doc tweak.
2686
226c3633 26872012-07-06 Eli Zaretskii <eliz@gnu.org>
93842198
EZ
2688
2689 * files.el (file-relative-name): Compare file names
2690 case-insensitively if on MS-Windows or MS-DOS, or if
2691 read-file-name-completion-ignore-case is non-nil. Don't use
2692 case-fold-search for this purpose. (Bug#11827)
2693
4dc7c8d5
SM
26942012-07-17 Andreas Schwab <schwab@linux-m68k.org>
2695
2696 * calendar/cal-dst.el (calendar-current-time-zone):
2697 Return calendar-current-time-zone-cache if non-nil.
2698
26992012-07-17 Masatake YAMATO <yamato@redhat.com>
226c3633 27002012-07-06 Andreas Schwab <schwab@linux-m68k.org>
3d8b9024 2701
19faa8e8
SM
2702 * calendar/cal-dst.el (calendar-current-time-zone):
2703 Return calendar-current-time-zone-cache if non-nil.
3d8b9024 2704
60198fc9
GM
27052012-07-06 Glenn Morris <rgm@gnu.org>
2706
2707 * Makefile.in (cvs-update): Remove old alias.
2708
957b3189
MA
27092012-07-05 Michael Albinus <michael.albinus@gmx.de>
2710
2711 Sync with Tramp 2.2.6-pre.
2712
2713 * net/tramp.el (tramp-drop-volume-letter): Provide an XEmacs
2714 compatible declaration.
2715
19faa8e8
SM
2716 * net/tramp-cmds.el (tramp-append-tramp-buffers):
2717 Protect `list-load-path-shadows' call.
957b3189
MA
2718
2719 * net/tramp-compat.el (top): Require packages, which aren't
2720 autoloaded anymore for XEmacs. Protect call of
2721 `tramp-file-name-handler' by `tramp-compat-funcall', pacifying the
2722 compiler. Do not require tramp-util.el and tramp-vc.el anymore,
2723 it hurts at least for SXEmacs.
2724 (tramp-compat-temporary-file-directory): In XEmacs, there is no
2725 standard-value for `temporary-file-directory'.
2726
2727 * net/tramp-sh.el (tramp-do-directory-files-and-attributes-with-stat):
2728 Redirect stderr to /dev/null.
2729 (tramp-sh-handle-write-region): uid and gid can be floats.
2730 Reported by Russell Sim <russell.sim@gmail.com>.
2731 (tramp-sh-handle-vc-registered): Hide errors.
2732 (tramp-vc-file-name-handler): Use dummy results for `process-file'
2733 and `start-file-process'.
2734 (tramp-maybe-open-connection): Check also whether `non-essential'
2735 is bound.
2736
566df3fc
CY
27372012-07-04 Chong Yidong <cyd@gnu.org>
2738
2739 * xml.el (xml--parse-buffer): Use xml-syntax-table.
2740 (xml-parse-tag): Likewise, and avoid changing entity tables.
2741 (xml-syntax-table): Define from scratch, making sure not to give
2742 x2000 and other Unicode spaces whitespace syntax, since those are
2743 not spaces in XML.
2744 (xml-parse-fragment): Delete unused function.
2745 (xml-name-start-char-re, xml-name-char-re, xml-name-re)
2746 (xml-names-re, xml-nmtoken-re, xml-nmtokens-re, xml-char-ref-re)
2747 (xml-entity-ref, xml-pe-reference-re)
2748 (xml-reference-re,xml-att-value-re, xml-tokenized-type-re)
2749 (xml-notation-type-re, xml-enumeration-re, xml-enumerated-type-re)
2750 (xml-att-type-re, xml-default-decl-re, xml-att-def-re)
2751 (xml-entity-value-re): Use syntax references in regexps where
2752 possible; no need to define inside a let-binding.
2753 (xml-parse-dtd): Use xml-pe-reference-re.
2754 (xml-entity-or-char-ref-re): New defconst.
2755 (xml-parse-string, xml-substitute-special): Use it.
2756
30eabd7a
SM
27572012-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
2758
0781098a
SM
2759 * files.el (locate-dominating-file): Allow `name' to be a predicate.
2760 (find-file--read-only): New function.
2761 (find-file-read-only, find-file-read-only-other-window)
2762 (find-file-read-only-other-frame): Use it.
2763 (insert-file-contents-literally): Don't `fset'.
2764 (get-free-disk-space): Use locate-dominating-file.
2765
b5771c0d
SM
2766 * emacs-lisp/bytecomp.el (byte-compile): Don't signal an error if the
2767 function is already compiled.
2768
30eabd7a
SM
2769 * xml.el (xml-name-regexp): Remove, redundant. Use xml-name-re.
2770
b4886f6e
MA
27712012-07-03 Michael Albinus <michael.albinus@gmx.de>
2772
2773 * vc/ediff-diff.el (ediff-same-file-contents): Fix it for remote
2774 files on the same host.
2775
b9d82339
AS
27762012-07-03 Andreas Schwab <schwab@linux-m68k.org>
2777
2778 * help-fns.el (describe-function-1): Only call
2779 help-fns--autoloaded-p when we have a file name. (Bug#11848)
2780
a76e6535
CY
27812012-07-03 Chong Yidong <cyd@gnu.org>
2782
2783 * xml.el: Protect parser against XML bombs.
2784 (xml-entity-expansion-limit): New variable.
2785 (xml-parse-string, xml-substitute-special): Use it.
2786 (xml-parse-dtd): Avoid infloop if the DTD is not terminated.
2787
b544fef2
GM
27882012-07-03 Glenn Morris <rgm@gnu.org>
2789
2790 * progmodes/bug-reference.el (bug-reference-bug-regexp):
2791 Allow linking to specific messages in debbugs reports (eg 123#5).
2792
a7aef6f5
CY
27932012-07-02 Chong Yidong <cyd@gnu.org>
2794
2795 * xml.el: Fix entity and character reference expansion, allowing
2796 them to expand into markup as per XML spec.
2797 (xml-default-ns): New variable.
2798 (xml-entity-alist): Use XML spec definitions for lt and amp.
30eabd7a
SM
2799 (xml-parse-region): Make first two arguments optional.
2800 Discard text properties.
2801 (xml-parse-tag-1): New function, spun off from xml-parse-tag.
2802 All callers changed.
a7aef6f5
CY
2803 (xml-parse-tag): Call xml-parse-tag-1. For backward
2804 compatibility, this function should not modify buffer contents.
2805 (xml-parse-tag-1): Fix opening-tag regexp.
2806 (xml-parse-string): Rewrite, handling entity and character
2807 references properly.
2808 (xml--entity-replacement-text): Signal an error if a parameter
2809 entity is undefined.
2810
3df31c9f
SM
28112012-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
2812
2b5208f1
SM
2813 * comint.el (comint-output-filter): Filter out repeated prompts.
2814
3df31c9f
SM
2815 * net/ange-ftp.el (ange-ftp-expand-file-name): Use ange-ftp-ftp-name
2816 and file-name-absolute-p.
2817 (ange-ftp-file-exists-p): Use ange-ftp-file-exists-p for
2818 internal calls.
2819
e3ac1281
PE
28202012-07-02 Paul Eggert <eggert@cs.ucla.edu>
2821
2822 Spelling fixes.
2823 * emacs-lisp/bytecomp.el (byte-compile--reify-function):
2824 Rename from byte-compile--refiy-function. All uses changed.
2825
fbf2e7ad
CY
28262012-07-01 Chong Yidong <cyd@gnu.org>
2827
2828 * xml.el (xml--parse-buffer): New function. Move most of
2829 xml-parse-region here.
2830 (xml-parse-region): Copy region into a temporary buffer, since
2831 parameter entity substitution requires changing buffer contents.
2832 Use xml--parse-buffer.
2833 (xml-parse-file): Use xml--parse-buffer.
2834 (xml-parse-dtd): Make parameter entity substitution work right.
6fe566a7 2835 Use proper regexps for ELEMENT declarations (Bug#7172).
fbf2e7ad 2836
9bf0aa15
GM
28372012-06-30 Glenn Morris <rgm@gnu.org>
2838
bbce2853
GM
2839 * comint.el (follow-comint-scroll-to-bottom): Fix declaration.
2840
9bf0aa15
GM
2841 * net/secrets.el, net/tramp-gvfs.el, net/xesam.el, net/zeroconf.el:
2842 Remove outdated and unnecessary dbus declarations.
2843
0d23c240
EZ
28442012-06-30 Eli Zaretskii <eliz@gnu.org>
2845
2846 * emacs-lisp/timer.el (timer-until): Subtract results of
2847 float-time, instead of taking float-time of the result of
2848 time-subtract, since float-time signals an error for negative time
2849 arguments.
2850
b3218de1
CY
28512012-06-30 Chong Yidong <cyd@gnu.org>
2852
2853 * xml.el (xml-*-re): Convert defvars into defconsts, and
2854 eval-and-compile them so eval-and-compile works on derivatives.
2855 (xml--entity-replacement-text): Use eval-and-comple.
2856
a40c87a0
MA
28572012-06-30 Michael Albinus <michael.albinus@gmx.de>
2858
2859 * vc/vc-git.el (vc-git-registered): Use cache property
2860 `git-registered'.
2861 (vc-git-mode-line-string): Call `vc-working-revision' instead of
2862 `vc-git-working-revision' in order to benefit from the cache.
2bb1ae55 2863 (vc-git-root): Use cache property `git-root'. (Bug#11757)
a40c87a0 2864
ac87de97
DG
28652012-06-30 Dmitry Gutov <dgutov@yandex.ru>
2866
2867 * vc/vc-hooks.el (vc-before-save): Clear cache if file has been
2bb1ae55 2868 removed (likely outside Emacs). (Bug#11757)
ac87de97 2869
ac10fe06
SM
28702012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
2871
3df31c9f 2872 * emacs-lisp/cl-lib.el: Require macroexp.
ac10fe06 2873
7f3fbd5d
CY
28742012-06-30 Chong Yidong <cyd@gnu.org>
2875
2876 * xml.el: Implement XML parameter entities.
2877 (xml-parameter-entity-alist): New variable.
2878 (xml-parse-region, xml-parse-fragment): Preserve previous values
2879 of xml-entity-alist and xml-parameter-entity-alist, so that
2880 repeated calls on different documents do not change them.
2881 (xml-parse-tag): Fix doctype regexp.
2882 (xml--entity-replacement-text): New function.
2883 (xml-parse-dtd): Use it. Don't handle system entities; doing that
2884 properly requires url retrieval which is unimplemented.
2885 (xml-escape-string): Doc fix.
2886
3cfbebba
SM
28872012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
2888
2889 * emacs-lisp/cl-lib.el (cl-pushnew): Use macroexp-let2.
2890
2af3565e
DA
28912012-06-29 Dmitry Antipov <dmantipov@yandex.ru>
2892
2893 * fringe.el (fringe-mode): Doc fix.
2894
929df0e7
MA
28952012-06-29 Michael Albinus <michael.albinus@gmx.de>
2896
2897 * net/ange-ftp.el (ange-ftp-get-passwd): Throw if `non-essential'
2898 is non-nil.
2899 (ange-ftp-ignore-errors-if-non-essential): New defmacro.
2900 (ange-ftp-file-name-all-completions): Use it. (Bug#11808)
2901
c8d3a25c 29022012-06-29 Andreas Schwab <schwab@linux-m68k.org>
3d8b9024 2903
c8d3a25c
GM
2904 * calendar/cal-dst.el (calendar-current-time-zone):
2905 Return calendar-current-time-zone-cache if non-nil.
3d8b9024 2906
c8d3a25c 29072012-06-29 Masatake YAMATO <yamato@redhat.com>
26e8548e
MY
2908
2909 * progmodes/which-func.el (which-func-format):
2910 Add mouse-face. (Bug#11698)
2911
c8d3a25c
GM
29122012-06-29 Leo Liu <sdl.web@gmail.com>
2913
2914 * textmodes/enriched.el (enriched-next-annotation): Use eq (Bug#11528).
2915
29162012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
2917
2918 * minibuffer.el (minibuffer-confirm-exit-commands):
2919 Add completion-at-point (bug#11725).
2920
29212012-06-29 Glenn Morris <rgm@gnu.org>
2922
2923 * progmodes/f90.el (f90-font-lock-keywords-2):
2924 Add some preprocessor elements. (Bug#10499)
2925
29262012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
2927
2928 * progmodes/cperl-mode.el (cperl-update-syntaxification):
2929 Use syntax-propertize (bug#11739).
2930
2badeec4
JB
29312012-06-28 Juanma Barranquero <lekktu@gmail.com>
2932
2933 * emacs-lisp/cl-lib.el (cl-pushnew): Don't capture X (bug#11811).
2934
ae4969c2
JD
29352012-06-28 Julien Danjou <julien@danjou.info>
2936
2937 * term.el (term-handle-colors-array): Use a set of new faces to
2938 color the terminal. Also uses :inverse-video property.
2939 (term-default-fg-color): Set to nil by default, deprecate in favor
2940 of `term-face'.
2941 (term-default-bg-color): Set to nil by default, deprecate in favor
2942 of `term-face'.
2943 (term-current-face): Use `term-face' by default.
2944 (term-bold-attribute): Variable deleted.
2945
1c9bd870
GM
29462012-06-28 Glenn Morris <rgm@gnu.org>
2947
2948 * simple.el (completion-list-mode-finish):
2949 Don't use toggle-read-only. (Since completion-list-mode has
2950 a special mode-class, it wasn't doing anything extra anyway.)
2951
c207708c
SM
29522012-06-28 Stefan Monnier <monnier@iro.umontreal.ca>
2953
2954 Make inlining of other-mode interpreted functions work (bug#11799).
2955 * emacs-lisp/bytecomp.el (byte-compile--refiy-function): New fun.
2956 (byte-compile): Use it to fix compilation of lexical-binding closures.
2957 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Compile the
2958 function, if needed.
2959
3fd56834
SM
29602012-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
2961
04901786
SM
2962 * help-mode.el (help-make-xrefs): Don't just withstand
2963 cyclic-variable-indirection but any error in documentation-property.
2964
1ec4b7b2
SM
2965 * loadup.el (purify-flag): Pre-grow the hash-table to reduce the
2966 memory use.
2967 * bindings.el (bindings--define-key): New function.
2968 * vc/vc-hooks.el, replace.el, menu-bar.el, international/mule-cmds.el:
2969 * emacs-lisp/lisp-mode.el, buff-menu.el, bookmark.el:
2970 * bindings.el: Use it to purecopy define-key bindings.
2971
e309e2a5
SM
2972 * textmodes/rst.el (rst-adornment-faces-alist): Avoid copy-list.
2973
d5c6faf9
SM
2974 * emacs-lisp/cl.el (flet): Mark obsolete.
2975 * emacs-lisp/cl-macs.el (cl-flet*): New macro.
2976 * vc/vc-rcs.el (vc-rcs-annotate-command, vc-rcs-parse):
2977 * progmodes/js.el (js-c-fill-paragraph):
2978 * progmodes/ebrowse.el (ebrowse-switch-member-buffer-to-sibling-class)
2979 (ebrowse-switch-member-buffer-to-derived-class):
2980 * play/5x5.el (5x5-solver): Use cl-flet.
2981
6e9590e2
SM
2982 * emacs-lisp/cl.el: Use lexical-binding. Fix flet (bug#11780).
2983 (cl--symbol-function): New macro.
2984 (cl--letf, cl--letf*): Use it.
2985
3fd56834
SM
2986 * emacs-lisp/easy-mmode.el (easy-mmode-pretty-mode-name):
2987 Strip "toggle-" if any.
2988
35ff222c
GM
29892012-06-27 Glenn Morris <rgm@gnu.org>
2990
1ba6038a
GM
2991 * info.el (Info-default-directory-list): Move here from paths.el.
2992 * paths.el: Remove file, which is now empty.
2993 * loadup.el: No longer load "paths".
2994
0ea0e51b
GM
2995 * custom.el (custom-initialize-delay): Doc fix.
2996
35ff222c
GM
2997 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
2998 * eshell/em-cmpl.el, eshell/em-dirs.el, eshell/em-glob.el:
2999 * eshell/em-hist.el, eshell/em-ls.el, eshell/em-pred.el:
3000 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-script.el:
3001 * eshell/em-smart.el, eshell/em-term.el, eshell/em-unix.el:
3002 * eshell/em-xtra.el: Replace eshell-defgroup with "(progn (defgroup".
3003 * eshell/eshell.el (eshell-defgroup): Remove alias.
3004
c89926a5
CY
30052012-06-27 Chong Yidong <cyd@gnu.org>
3006
3007 * help.el (help-enable-auto-load): New variable.
3008
3009 * help-fns.el (help-fns--autoloaded-p): New function.
3010 (describe-function-1): Refer to a function as "autoloaded" if it
3011 was autoloaded at any time in the past. Perform autoloading if
3012 help-enable-auto-load is non-nil.
3013
cc06e7e7
EZ
30142012-06-26 Eli Zaretskii <eliz@gnu.org>
3015
3016 * makefile.w32-in (compile, compile-always): Depend on
3017 update-subdirs, not on subdirs.el. Otherwise, several different
3018 sub-targets of 'bootstrap' running in parallel could
3019 simultaneously write to subdirs.el, producing a garbled file.
3020
d2c32364
SS
30212012-06-26 Sam Steingold <sds@gnu.org>
3022
3023 * files.el (file-name-base): New convenience function.
0d14cc21
GM
3024 * autoinsert.el, cus-dep.el, doc-view.el, image-dired.el:
3025 * woman.el, eshell/esh-cmd.el, progmodes/ada-xref.el:
3026 * progmodes/cc-defs.el, progmodes/cperl-mode.el:
3027 * progmodes/flymake.el, progmodes/gud.el, progmodes/idlwave.el:
3028 * textmodes/ispell.el, textmodes/reftex-ref.el:
d2c32364
SS
3029 * textmodes/tex-mode.el: Use it.
3030 Did not touch cedet and org because they are maintained elsewhere.
3031
5cf983b2
MR
30322012-06-26 Martin Rudalics <rudalics@gmx.at>
3033
3034 * calendar/calendar.el (calendar-exit): Don't try to delete or
3035 iconify last frame. See:
3036 http://lists.gnu.org/archive/html/emacs-devel/2012-06/msg00372.html
3037
8c4f2952
JD
30382012-06-25 Jim Diamond <Jim.Diamond@AcadiaU.ca> (tiny change)
3039
3040 * server.el (server-process-filter): Remember dir in the
3041 process's `server-client-directory' properties.
3042
772b2e2c
CY
30432012-06-24 Chong Yidong <cyd@gnu.org>
3044
3045 * xml.el (xml-parse-tag): Correctly handle comment embedded in
3046 non-tag text.
3047
711b11e1
JB
30482012-06-23 Juanma Barranquero <lekktu@gmail.com>
3049
3050 * makefile.w32-in (COMPILE_FIRST): Synch with changes in 2012-06-22T21:24:54Z!monnier@iro.umontreal.ca.
3051
dc5d230c
SM
30522012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
3053
3054 * help-fns.el (describe-variable): Don't croak when doc is not found.
3055 * vc/pcvs.el (cvs-retrieve-revision): Avoid toggle-read-only.
3056 * menu-bar.el (menu-bar-line-wrapping-menu): Purecopy a tiny bit more.
3057 * emacs-lisp/syntax.el (syntax-ppss): Simplify with new `if' place.
3058 * emacs-lisp/smie.el (smie-next-sexp): CSE.
3059 * emacs-lisp/macroexp.el (macroexp-let2): Fix edebug spec and avoid
3060 ((lambda ..) ..).
3061 * emacs-lisp/eieio.el (eieio-oref, slot-value): Use simpler defsetf.
3062
136e1c1d
CY
30632012-06-23 Chong Yidong <cyd@gnu.org>
3064
e8c1cabf
CY
3065 * info.el (Info-mouse-follow-link): Accept symbol values of
3066 link-args. Select window; suggested by Gerhard Kahl (Bug#11672).
136e1c1d
CY
3067 (Info-fontify-node): Use Info-link-keymap for all navigation
3068 buttons, with link-args property to perform the desired action.
3069 (Info-link-keymap): Doc fix.
3070 (Info-next-link-keymap, Info-prev-link-keymap)
3071 (Info-up-link-keymap): Delete now-unused keymaps.
3072
0e9e6c6a
CY
30732012-06-23 Chong Yidong <cyd@gnu.org>
3074
05e89fea
CY
3075 * mouse.el (mouse-drag-track): Deactivate the mark before popping.
3076
0e9e6c6a
CY
3077 * progmodes/python.el (python-skeleton-define): Mark abbrevs as
3078 system abbrevs.
3079
3080 * ansi-color.el (ansi-color-apply-on-region): Doc fix.
3081
e33c6771
SM
30822012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
3083
b68581e2
SM
3084 * emacs-lisp/cl-macs.el (cl--make-usage-args): Handle improper lists
3085 (bug#11719).
3086
e33c6771
SM
3087 * minibuffer.el (completion--twq-try): Try to fail more gracefully when
3088 the requote function doesn't work properly (bug#11714).
3089
7117e105
GM
30902012-06-23 Glenn Morris <rgm@gnu.org>
3091
3092 * pcmpl-rpm.el (pcmpl-rpm-packages): Give status messages.
3093
36cec983
SM
30942012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
3095
3096 Further GV/CL cleanups.
3097 * emacs-lisp/gv.el (gv-get): Autoload functions to find their
3098 gv-expander.
3099 (gv--defun-declaration): New function.
3100 (defun-declarations-alist): Use it.
3101 (gv-define-modify-macro, gv-pushnew!, gv-inc!, gv-dec!): Remove.
3102 (gv-place): Autoload.
3103 * emacs-lisp/cl.el (cl--dotimes, cl--dolist): Remember subr.el's
3104 original definition of dotimes and dolist.
3105 * emacs-lisp/cl-macs.el (cl-expr-access-order): Remove unused.
3106 (cl-dolist, cl-dotimes): Use `dolist' and `dotimes'.
3107 * emacs-lisp/cl-lib.el: Move gv handlers from cl-macs to here.
3108 (cl-fifth, cl-sixth, cl-seventh, cl-eighth)
3109 (cl-ninth, cl-tenth): Move gv handler to the function's definition.
3110 * emacs-lisp/cl-extra.el (cl-subseq, cl-get, cl-getf): Move gv handler
3111 to the function's definition.
3112 * Makefile.in (COMPILE_FIRST): Re-order to speed it up by about 50%.
3113 * window.el:
3114 * files.el:
3115 * faces.el:
3116 * env.el: Don't use CL.
3117
d35af63c
PE
31182012-06-22 Paul Eggert <eggert@cs.ucla.edu>
3119
3120 Support higher-resolution time stamps (Bug#9000).
3121
3122 * calendar/time-date.el (with-decoded-time-value): New arg
3123 PICO-SYMBOL in VARLIST. It's optional, for backward compatibility.
3124 (encode-time-value): New optional arg PICO. New type 3.
3125 (time-to-seconds) [!float-time]: Support the new picoseconds
3126 component if it's used.
3127 (seconds-to-time, time-subtract, time-add):
3128 Support ps-resolution time stamps as well.
3129
3130 * emacs-lisp/timer.el (timer): New component psecs. All uses changed.
3131 (timerp): Timer vectors now have length 9, not 8.
3132 (timer--time): Support new-style (4-part) time stamps.
3133 (timer-next-integral-multiple-of-time): Time stamps now have
3134 picosecond resolution, so take a bit more care about rounding.
3135 (timer-relative-time, timer-inc-time): New optional arg psecs.
3136 (timer-set-time-with-usecs): Set psecs to 0.
3137 (timer--activate): Check psecs component, too.
3138
3139 * proced.el (proced-time-lessp): Support ps-resolution stamps.
3140
ac77b21a
SM
31412012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
3142
f143bfe3
SM
3143 * icomplete.el (icomplete-minibuffer-setup, icomplete-completions):
3144 Move the non-essential binding to the post/pre-command-hook where it is
3145 more obviously correct.
3146
ac77b21a
SM
3147 * subr.el (read-passwd): Don't use a history at all.
3148 * savehist.el (savehist-save): Remove password saved accidentally
3149 because of the above bug.
3150
76386c5a
BG
31512012-06-22 Bastien Guerry <bzg@gnu.org>
3152
3153 * files.el (toggle-read-only): Display a message telling whether
3154 the buffer is read-only or not (bug#11726).
3155
2ee3d7f0
SM
31562012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
3157
3158 * emacs-lisp/gv.el: New file.
3159 * subr.el (push, pop): Extend to generalized variables.
3160 * loadup.el (macroexp): Unload if preloaded and uncompiled (bug#11657).
3161 * emacs-lisp/cl-lib.el (cl-pop, cl-push, cl--set-nthcdr): Remove.
3162 * emacs-lisp/cl-macs.el: Require gv. Use gv-define-setter,
3163 gv-define-simple-setter, and gv-define-expander.
3164 Remove setf-methods defined in gv. Rename cl-setf -> setf.
3165 (cl-setf, cl-do-pop, cl-get-setf-method): Remove.
3166 (cl-letf, cl-letf*, cl-define-modify-macro, cl-defsetf)
3167 (cl-define-setf-expander, cl-struct-setf-expander): Move to cl.el.
3168 (cl-remf, cl-shiftf, cl-rotatef, cl-callf, cl-callf2): Rewrite with
3169 gv-letplace.
3170 (cl-defstruct): Don't define setf-method any more.
3171 * emacs-lisp/cl.el (flet): Don't autoload.
3172 (cl--letf, letf, cl--letf*, letf*, cl--gv-adapt)
3173 (define-setf-expander, defsetf, define-modify-macro)
3174 (cl-struct-setf-expander): Move from cl-lib.el.
3175 * emacs-lisp/syntax.el:
3176 * emacs-lisp/ewoc.el:
3177 * emacs-lisp/smie.el:
3178 * emacs-lisp/cconv.el:
3179 * emacs-lisp/timer.el: Rename cl-setf -> setf, cl-push -> push.
3180 (timer--time): Use gv-define-simple-setter.
3181 * emacs-lisp/macroexp.el (macroexp-let2): Rename from macroexp-let²
3182 to avoid coding-system problems in subr.el. Adjust all users.
3183 (macroexp--maxsize, macroexp-small-p): New functions.
3184 * emacs-lisp/bytecomp.el (byte-compile-file): Don't use cl-letf.
3185 * scroll-bar.el (scroll-bar-mode):
3186 * simple.el (auto-fill-mode, overwrite-mode, binary-overwrite-mode)
3187 (normal-erase-is-backspace-mode): Don't use the `eq' place.
3188 * winner.el (winner-configuration, winner-make-point-alist)
3189 (winner-set-conf, winner-get-point, winner-set): Don't abuse letf.
3190 * files.el (locate-file-completion-table): Avoid list*.
3191
c5695d1d
CY
31922012-06-22 Chong Yidong <cyd@gnu.org>
3193
3194 * dired-aux.el (dired-do-create-files): Doc fix (Bug#11327).
3195 (dired-create-files): Doc fix (Bug#11329).
3196 (dired-do-copy): Doc fix (Bug#11334).
3197 (dired-mark-read-string): Doc fix (Bug#11553).
3198
2ee3d7f0
SM
3199 * dired.el (dired-recursive-copies, dired-recursive-deletes):
3200 Doc fix (Bug#11326).
c5695d1d
CY
3201 (dired-make-relative): Doc fix (Bug#11332). Remove unused arg.
3202 (dired-dwim-target): Doc fix.
3203
3204 * wdired.el (wdired-mode): Doc fix.
3205
89b5595a
GM
32062012-06-22 Glenn Morris <rgm@gnu.org>
3207
575db3f1
GM
3208 * pcmpl-rpm.el (pcmpl-rpm-cache): New option.
3209 (pcmpl-rpm-cache-stamp-file): New constant.
3210 (pcmpl-rpm-cache-time, pcmpl-rpm-packages): New variables.
3211 (pcmpl-rpm-packages): Optionally cache list of packages.
3212
a4c8dd51
GM
3213 * pcmpl-rpm.el (pcmpl-rpm): New group.
3214 (pcmpl-rpm-query-options): New option.
3215 (pcmpl-rpm-packages): No need to inline it.
3216 Use pcmpl-rpm-query-options.
3217
89b5595a
GM
3218 * calendar/calendar.el (calendar-in-read-only-buffer):
3219 Avoid some needless mode changes.
3220
e76f0800
CY
32212012-06-21 Chong Yidong <cyd@gnu.org>
3222
3223 * desktop.el (desktop-read): Don't prompt if daemon (Bug#11674).
3224 (desktop-path): Remove . from the default value (Bug#10977).
6b67c0d4 3225 (desktop-read): Use user-emacs-directory if desktop-path is nil.
e76f0800 3226
297a8f1d
CY
32272012-06-20 Chong Yidong <cyd@gnu.org>
3228
3229 * term.el (term-send-raw-meta): Make C-M-<char> keys work (Bug#8172).
3230
d34c18b1
DR
32312012-06-20 David Röthlisberger <david@rothlis.net> (tiny change)
3232
3233 * ido.el (ido-switch-buffer, ido-find-file): Fix up doc of C-j
3234 (bug#11201).
3235
32f7f28e
CY
32362012-06-20 Chong Yidong <cyd@gnu.org>
3237
3238 * term.el (term-window-width): Handle the case of a missing right
3239 fringe (Bug#8837).
3240 (term-check-size): Use window-text-height (Bug#5445).
d34c18b1
DR
3241 (term-mode): Use define-derived-mode. Minor cleanups.
3242 Set font-lock-defaults (Bug#7692).
6ff7caa8
CY
3243 (term-move-columns, term-insert-char, term-emulate-terminal)
3244 (term-erase-in-line, term-insert-spaces): Use font-lock-face.
32f7f28e 3245
493c6688
MA
32462012-06-20 Michael Albinus <michael.albinus@gmx.de>
3247
d34c18b1
DR
3248 * net/ange-ftp.el (ange-ftp-get-passwd):
3249 Bind `enable-recursive-minibuffers'.
493c6688
MA
3250 (ange-ftp-get-process): Throw if `non-essential' is non-nil.
3251
3f06ecf4
DR
32522012-06-19 David Röthlisberger <david@rothlis.net> (tiny change)
3253
3254 * ido.el (ido-find-file): Mention C-d binding in docstring (bug#11244).
3255
68f12411
GM
32562012-06-19 Glenn Morris <rgm@gnu.org>
3257
3258 * progmodes/python.el (python-mode): Derive from prog-mode.
3259
b3820318
KG
32602012-06-19 Kevin Gallagher <Kevin.Gallagher@boeing.com>
3261
3262 * emulation/edt.el (edt-default-menu-bar-update-buffers)
3263 (edt-user-menu-bar-update-buffers): New functions.
3264 (edt-default-emulation-setup, edt-user-emulation-setup): Use them.
3265
c6bf3022
CY
32662012-06-19 Chong Yidong <cyd@gnu.org>
3267
3268 * subr.el (with-selected-window): Preserve the selected window's
3269 terminal's top-frame (Bug#4702).
3270
3271 * window.el (save-selected-window): Likewise.
3272
25f09295
SM
32732012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
3274
3275 * progmodes/python.el (python-rx-constituents): Move backquote.
3276 (python-skeleton-define, python-define-auxiliary-skeleton):
3277 Use `declare'.
3278
6b11952a
MA
32792012-06-18 Michael Albinus <michael.albinus@gmx.de>
3280
3281 * minibuffer.el (read-file-name-default): Revert the patch from
3282 2012-06-17.
3283
ee4b1330
SM
32842012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
3285
3286 * emacs-lisp/pcase.el (pcase--expand): Warn for unused pattern.
3287 (pcase--u1, pcase--q1): Don't use apply-partially.
3288
35647f79
GM
32892012-06-18 Glenn Morris <rgm@gnu.org>
3290
3291 * progmodes/python.el (python-proc, python-buffer)
3292 (python-send-receive, python-send-string): Fix obsolete versions.
3293
24b0cff0
MR
32942012-06-18 Martin Rudalics <rudalics@gmx.at>
3295
3296 * window.el (special-display-p): Completely remove stringp
3297 check. Suggested by Andreas Schwab <schwab@linux-m68k.org>.
3298
29855149
MA
32992012-06-17 Michael Albinus <michael.albinus@gmx.de>
3300
3301 * minibuffer.el (read-file-name-default): Bind `non-essential' to `t'.
3302
3303 * net/tramp.el (tramp-file-name-handler): Catch 'non-essential.
3304
3305 * net/ange-ftp.el (ange-ftp-gwp-start, ange-ftp-start-process):
3306 * net/tramp-sh.el (tramp-maybe-open-connection):
3307 Throw if `non-essential' is non-nil.
3308
07463363
MR
33092012-06-17 Martin Rudalics <rudalics@gmx.at>
3310
3311 * window.el (special-display-p): Signal an error if BUFFER-NAME
3312 is not a string (Bug#11713).
3313
48d1354e
PE
33142012-06-17 Paul Eggert <eggert@cs.ucla.edu>
3315
3316 * progmodes/python.el (python-info-beginning-of-backslash):
3317 Rename from python-info-beginning-of-backlash, as a spelling fix.
3318
eb4a8a9a
CY
33192012-06-17 Chong Yidong <cyd@gnu.org>
3320
3321 * term.el (term-emulate-terminal): If term-check-size is called,
3322 move point to the process mark without resetting point (Bug#4635).
3323
ddfbf826 33242012-06-17 Glenn Morris <rgm@gnu.org>
9c758578
GM
3325
3326 * international/mule-cmds.el (mule-menu-keymap)
3327 (set-language-environment, set-locale-environment): Doc tweaks.
3328
9b0e3eba
AA
33292012-06-16 Aurelien Aptel <aurelien.aptel@gmail.com>
3330
3331 * cus-face.el (custom-face-attributes): Add wave-style underline
3332 attribute.
3333 * faces.el (set-face-attribute): Update docstring to describe
3334 wave-style underline attribute.
3335
771e3eae
CY
33362012-06-16 Chong Yidong <cyd@gnu.org>
3337
3338 * term/xterm.el (terminal-init-xterm): Discard input before
3339 querying background mode (Bug#10959).
3340
7ae2ea10
SM
33412012-06-16 Stefan Merten <smerten@oekonux.de>
3342
3343 * textmodes/rst.el: Added and corrected some comments.
3344 (rst-re-alist-def): Improve symbol syntax.
3345 (rst-mode-syntax-table): Correct syntax entries.
6665a6fd
SM
3346 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
3347 (rst-official-version, rst-official-cvs-rev): Update version
3348 information.
7ae2ea10 3349
b6974efa
JB
33502012-06-15 Juanma Barranquero <lekktu@gmail.com>
3351
3352 * makefile.w32-in (COMPILE_FIRST): Synch with makefile.in changes
3353 in 2008-06-22T13:57:28Z!monnier@iro.umontreal.ca.
3354
8826d473
GM
33552012-06-15 Fabián Ezequiel Gallina <fgallina@cuca>
3356
3357 * progmodes/python.el: New python.el merge.
3358 (python-guess-indent): Obsolete var.
3359 (python-indent-guess-indent-offset): New defcustom.
3360 (python-indent): Obsolete var.
3361 (python-indent-offset): New defcustom.
3362 (python-python-command, python-jython-command): Delete var.
3363 (python-shell-interpreter): New defcustom.
3364 (python-pdbtrack-do-tracking-p): Delete var.
3365 (python-pdbtrack-activate): New defcustom.
3366 (python-use-skeletons): Obsolete var.
3367 (python-skeleton-autoinsert): New defcustom.
3368 (inferior-python-filter-regexp, python-continuation-offset)
3369 (python-honour-comment-indentation, python-indent-string-contents)
3370 (python-jython-packages, python-mode-hook)
3371 (python-pdbtrack-minor-mode-string, python-remove-cwd-from-path)
3372 (python-shell-prompt-alist)
3373 (python-source-modes): Delete defcustoms.
3374 (python-check-buffer-name, python-eldoc-setup-code)
3375 (python-eldoc-string-code, python-ffap-setup-code)
3376 (python-ffap-string-code, python-fill-comment-function)
3377 (python-fill-decorator-function, python-fill-paren-function)
3378 (python-fill-string-function, python-imenu-include-defun-type)
3379 (python-imenu-make-tree, python-imenu-subtree-root-label)
3380 (python-pdbtrack-stacktrace-info-regexp, python-shell-buffer-name)
3381 (python-shell-compilation-regexp-alist)
3382 (python-shell-completion-module-string-code)
3383 (python-shell-completion-pdb-string-code)
3384 (python-shell-completion-setup-code)
3385 (python-shell-completion-string-code)
3386 (python-shell-enable-font-lock, python-shell-exec-path)
3387 (python-shell-extra-pythonpaths)
3388 (python-shell-internal-buffer-name, python-shell-interpreter-args)
3389 (python-shell-process-environment)
3390 (python-shell-prompt-block-regexp)
3391 (python-shell-prompt-output-regexp)
3392 (python-shell-prompt-pdb-regexp, python-shell-prompt-regexp)
3393 (python-shell-send-setup-max-wait, python-shell-setup-codes)
3394 (python-shell-virtualenv-path): New defcustoms.
3395 (brm-menu, eldoc-documentation-function, inferior-python-mode-map)
3396 (inferior-python-mode-syntax-table, python--prompt-regexp)
3397 (python-buffer, python-command python-python-command)
3398 (python-default-template, python-imports, python-indent-index)
3399 (python-indent-list, python-indent-list-length)
3400 (python-mode-running, python-pdbtrack-is-tracking-p)
3401 (python-preoutput-continuation, python-preoutput-leftover)
3402 (python-preoutput-result, python-preoutput-skip-next-prompt)
3403 (python-prev-dir/file, python-recursing)
3404 (python-saved-check-command, python-version-checked)
3405 (python-which-func-length-limit)
3406 (view-return-to-alist): Delete vars.
3407 (python-check-custom-command, python-dotty-syntax-table)
3408 (python-imenu-index-alist, python-indent-current-level)
3409 (python-indent-dedenters, python-indent-levels)
3410 (python-nav-beginning-of-defun-regexp)
3411 (python-nav-list-defun-positions-cache)
3412 (python-pdbtrack-buffers-to-kill, python-pdbtrack-tracked-buffer)
3413 (python-shell-internal-buffer)
3414 (python-skeleton-available): New vars.
3415 (def-python-skeleton): Delete macro.
3416 (python-skeleton-define): New macro.
3417 (python-define-auxiliary-skeleton, python-rx): New macros.
3418 (python-insert-class): Delete command.
3419 (python-skeleton-class): New command.
3420 (python-insert-def): Delete command.
3421 (python-skeleton-def): New command.
3422 (python-insert-for): Delete command.
3423 (python-skeleton-for): New command.
3424 (python-insert-if): Delete command.
3425 (python-skeleton-if): New command.
3426 (python-insert-try/except, python-insert-try/finally): Delete commands.
3427 (python-skeleton-try): New command.
3428 (python-insert-while): Delete command.
3429 (python-skeleton-while): New command.
3430 (python-backspace): Delete command.
3431 (python-indent-dedent-line-backspace): New command.
3432 (python-electric-colon): Delete command.
3433 (python-indent-electric-colon): New command.
3434 (python-guess-indent): Delete command.
3435 (python-indent-guess-indent-offset): New command.
3436 (python-shift-left): Delete command.
3437 (python-indent-shift-left): New command.
3438 (python-shift-right): Delete command.
3439 (python-indent-shift-right): New command.
3440 (python-find-function): Delete command.
3441 (python-nav-jump-to-defun): New command.
3442 (python-next-statement): Delete command.
3443 (python-nav-forward-sentence): New command.
3444 (python-previous-statement): Delete command.
3445 (python-nav-backward-sentence): New command.
3446 (python-fill-paragraph): Delete command.
3447 (python-fill-paragraph-function): New command.
3448 (python-send-buffer): Delete command.
3449 (python-shell-send-buffer): New command.
3450 (python-send-defun): Delete command.
3451 (python-shell-send-defun): New command.
3452 (python-send-region, python-send-region-and-go): Delete commands.
3453 (python-shell-send-region)
3454 (python-shell-switch-to-shell): New commands.
3455 (python-send-string): Delete command.
3456 (python-shell-send-string): New command.
3457 (python-switch-to-python): Delete command.
3458 (python-shell-switch-to-shell): New command.
3459 (python-describe-symbol): Delete command.
3460 (python-eldoc-at-point): New command.
3461 (python--set-prompt-regexp, python-args-to-list)
3462 (python-after-info-look, python-check-version)
3463 (python-check-comint-prompt, python-find-imports)
3464 (python-execute-file, turn-off-pdbtrack, turn-on-pdbtrack)
3465 (python-unload-function, python-expand-template)
3466 (python-maybe-jython, python-preoutput-filter)
3467 (python-pdbtrack-get-source-buffer)
3468 (python-pdbtrack-grub-for-buffer, python-pdbtrack-overlay-arrow)
3469 (python-pdbtrack-toggle-stack-tracking)
3470 (python-pdbtrack-track-stack-file, python-initial-text)
3471 (python-first-word, python-comment-line-p, python-send-command)
3472 (python-setup-brm, python-sentinel, python-set-proc)
3473 (python-skip-out, python-input-filter, python-outdent-p)
3474 (python-outline-level, python-backslash-continuation-line-p)
3475 (python-end-of-block, python-end-of-statement, python-mark-block)
3476 (python-beginning-of-block, python-beginning-of-statement)
3477 (python-blank-line-p, python-beginning-of-string)
3478 (python-open-block-statement-p): Delete functions.
3479 (python-indent-line, python-indent-line-1): Delete functions.
3480 (python-indent-line): New function.
3481 (python-indentation-levels): Delete function.
3482 (python-indent-calculate-levels): New function.
3483 (python-proc): Delete function.
3484 (python-shell-get-process): New function.
3485 (python-send-receive): Delete function.
3486 (python-shell-send-string-no-output): New function.
3487 (python-module-path): Delete function.
3488 (python-ffap-module-path): New function.
3489 (python-completion-at-point)
3490 (python-symbol-completions): Delete functions.
3491 (python-completion-complete-at-point): New function.
3492 (python-load-file): Delete function.
3493 (python-shell-send-file): New function.
3494 (python-calculate-indentation): Delete function.
3495 (python-indent-calculate-indentation): New function.
3496 (python-skip-comments/blanks): Delete function.
3497 (python-util-forward-comment): New function.
3498 (python-continuation-line-p): Delete function.
3499 (python-info-continuation-line-p): New function.
3500 (python-which-func, python-current-defun): Delete function.
3501 (python-info-current-defun): New function.
3502 (python-beginning-of-defun): Delete function.
3503 (python-nav-beginning-of-defun): New function.
3504 (python-close-block-statement-p)
3505 (python-block-end-p): Delete function.
3506 (python-info-closing-block): New function.
3507 (python-comint-output-filter-function)
3508 (python-eldoc--get-doc-at-point, python-end-of-defun-function)
3509 (python-fill-comment, python-fill-decorator, python-fill-paren)
3510 (python-fill-string, python-imenu-make-element-tree)
3511 (python-imenu-make-tree, python-imenu-tree-assoc)
3512 (python-indent-context, python-indent-dedent-line)
3513 (python-indent-line-function)
3514 (python-indent-post-self-insert-function)
3515 (python-indent-toggle-levels)
3516 (python-info-assignment-continuation-line-p)
3517 (python-info-beginning-of-backlash)
3518 (python-info-block-continuation-line-p)
3519 (python-info-closing-block-message)
3520 (python-info-line-ends-backslash-p)
3521 (python-info-looking-at-beginning-of-defun)
3522 (python-info-ppss-context, python-info-ppss-context-type)
3523 (python-nav-list-defun-positions, python-nav-read-defun)
3524 (python-nav-sentence-end, python-nav-sentence-start)
3525 (python-pdbtrack-comint-output-filter-function)
3526 (python-pdbtrack-set-tracked-buffer)
3527 (python-shell-calculate-exec-path)
3528 (python-shell-calculate-process-environment)
3529 (python-shell-completion--do-completion-at-point)
3530 (python-shell-completion--get-completions)
3531 (python-shell-completion-complete-at-point)
3532 (python-shell-completion-complete-or-indent)
3533 (python-shell-get-or-create-process)
3534 (python-shell-get-process-name)
3535 (python-shell-internal-get-or-create-process)
3536 (python-shell-internal-get-process-name)
3537 (python-shell-internal-send-string, python-shell-make-comint)
3538 (python-shell-parse-command, python-shell-send-setup-code)
3539 (python-skeleton-add-menu-items)
3540 (python-util-clone-local-variables, python-util-position)
3541 (run-python-internal, python-indentation-levels)
3542 (python-nav-beginning-of-defun)
3543 (python-completion-complete-at-point): New functions.
3544 (run-python): Change arguments. New API requirements.
3545
4302f5ba
SM
35462012-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
3547
f38ea36d
SM
3548 * emacs-lisp/cl-lib.el (cl--defsubst-expand): Autoload inliner
3549 (bug#11649).
3550
3551 * emacs-lisp/macroexp.el (macroexp--compiler-macro): New function.
3552 (macroexp--expand-all): Use it.
3553
4302f5ba
SM
3554 * emacs-lisp/cl-macs.el (cl--transform-function-property): Remove.
3555 (cl-define-setf-expander, cl-deftype, cl-define-compiler-macro):
3556 Use `cl-function' instead.
3557
33377562
JB
35582012-06-14 Juanma Barranquero <lekktu@gmail.com>
3559
3560 * makefile.w32-in (COMPILE_FIRST): Remove subr.el.
3561 Suggested by Stefan Monnier while discussing bug#11657.
3562
54c5ba1a
SS
35632012-06-14 Sam Steingold <sds@gnu.org>
3564
3565 * files.el (abort-if-file-too-large): Use `file-size-human-readable'.
3566
f9f1b1fe
AS
35672012-06-14 Andreas Schwab <schwab@linux-m68k.org>
3568
3569 * play/doctor.el (doctor-doc): Remove parameter and use
3570 doctor-sent instead of sent.
3571 (doctor-read-print): Use doctor-sent instead of sent. (Bug#11708)
3572
a81068ba
SM
35732012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
3574
5a315f9c
SM
3575 * files.el: Require cl-lib.
3576 (file-name-non-special): Replace case -> cl-case.
3577
3578 * emacs-lisp/cl-macs.el (cl-defstruct): Don't add print-func.
3579
a81068ba
SM
3580 * emacs-lisp/edebug.el (edebug-read-function): Remove old incorrect
3581 mapping from #' to function*.
3582
8cca9703
CY
35832012-06-13 Chong Yidong <cyd@gnu.org>
3584
3585 * mouse.el (mouse-drag-track): Do not set the mark if the user
3586 releases the mouse without selecting anything (Bug#11588).
3587
a12ac9d7
SM
35882012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
3589
ccf1dc18
SM
3590 * textmodes/tex-mode.el (latex-indent): Recognize tex-verbatim at EOB
3591 as well (bug#11646).
3592
ef62b23d
SM
3593 * loadup.el: Count byte-code functions as well.
3594
c4c8444a
SM
3595 * emacs-lisp/byte-opt.el (featurep): Move compiler-macro...
3596 * emacs-lisp/bytecomp.el (featurep): ...here (bug#11692).
3597
a12ac9d7
SM
3598 * emacs-lisp/autoload.el (make-autoload): Accept nil doc-string-elt
3599 (bug#11649). Add cl-defun and cl-defmacro.
3600
87e6e64f
DA
36012012-06-13 Drew Adams <drew.adams@oracle.com>
3602
3603 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
3604 Fix last change.
3605
682cefaf
MA
36062012-06-13 Michael Albinus <michael.albinus@gmx.de>
3607
3608 * net/dbus.el (dbus-call-method): Use timeout for `read-event'.
3609 Otherwise, it blocks in batch mode.
3610
773e1f08
JB
36112012-06-13 Juanma Barranquero <lekktu@gmail.com>
3612
3613 * help-mode.el (bookmark-make-record-default): Declare.
3614
60057926
CY
36152012-06-13 Chong Yidong <cyd@gnu.org>
3616
3617 * emacs-lisp/package.el (list-packages): Compute a list of
3618 packages that are newly-available since the last list-packages
3619 invocation.
3620 (package-menu--new-package-list): New var.
3621 (package-menu--generate, package-menu--print-info)
3622 (package-menu--status-predicate, package-menu-mark-install):
3623 Handle new status label "new".
3624
ad4d226c
SM
36252012-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
3626
3627 * emacs-lisp/cl-macs.el (cl-remf): Fix error in recent
3628 conversion to backquotes.
3629
f1a4e679
CY
36302012-06-12 Chong Yidong <cyd@gnu.org>
3631
3632 * emacs-lisp/edebug.el (edebug-inhibit-emacs-lisp-mode-bindings):
3633 Rename from gud-inhibit-global-bindings.
3634
3635 * emacs-lisp/eieio.el (eieio-pre-method-execution-hooks): Doc fix.
3636
3637 * nxml/nxml-glyph.el (nxml-glyph-set-functions): Rename abnormal
3638 hook from nxml-glyph-set-hook.
3639
3640 * progmodes/cwarn.el (cwarn-mode): Remove redundant variable
3641 declaration.
3642
3643 * progmodes/pascal.el (pascal-toggle-completions): Doc fix.
3644
3645 * textmodes/bibtex.el (bibtex-string-file-path, bibtex-file-path):
3646 Convert to defcustom.
3647
0c9e42b5
DA
36482012-06-12 Drew Adams <drew.adams@oracle.com>
3649
3650 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
3651 New functions.
3652 (help-mode): Use them.
3653
09e06855
GM
36542012-06-11 Glenn Morris <rgm@gnu.org>
3655
3656 * progmodes/fortran.el (fortran-font-lock-keywords-3):
3657 Use preprocessor face for directives.
3658 (fortran-directive-re): Doc fix.
3659
71adb94b
SM
36602012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
3661
2eb87922
SM
3662 * emacs-lisp/cl-macs.el (cl-parse-loop-clause): Fix error in recent
3663 conversion to backquotes (bug#11652).
3664
71adb94b
SM
3665 Fix compiler-expansion of CL's cXXr functions (bug#11673).
3666 * emacs-lisp/cl-lib.el (cl--defalias): New function.
3667 (cl-values, cl-values-list, cl-copy-seq, cl-svref, cl-first)
3668 (cl-second, cl-rest, cl-endp, cl-third, cl-fourth): Use it.
3669 (cl-plusp, cl-minusp, cl-fifth, cl-sixth, cl-seventh, cl-eighth)
3670 (cl-ninth, cl-tenth): Mark them as inlinable.
3671 (cl-caaar, cl-caadr, cl-cadar, cl-caddr, cl-cdaar, cl-cdadr)
3672 (cl-cddar, cl-cdddr, cl-caaaar, cl-caaadr, cl-caadar, cl-caaddr)
3673 (cl-cadaar, cl-cadadr, cl-caddar, cl-cadddr, cl-cdaaar, cl-cdaadr)
3674 (cl-cdadar, cl-cdaddr, cl-cddaar, cl-cddadr, cl-cdddar, cl-cddddr):
3675 Add a compiler-macro declaration to use cl--compiler-macro-cXXr.
3676 (cl-list*, cl-adjoin): Don't put an autoload manually.
3677 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin)
3678 (cl--compiler-macro-list*): Add autoload cookie.
3679 (cl--compiler-macro-cXXr): New function.
2eb87922 3680
71adb94b
SM
3681 * help-fns.el (help-fns--compiler-macro): New function extracted from
3682 describe-function-1; follow aliases and use `compiler-macro' property.
3683 (describe-function-1): Use it.
3684
a6674402
CY
36852012-06-11 Chong Yidong <cyd@gnu.org>
3686
3687 * startup.el (fancy-splash-head): Use splash.svg even if librsvg
3688 is uninstalled, if imagemagick is installed.
3689
bb3faf5b
SM
36902012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
3691
3692 * emacs-lisp/cl-lib.el: Use lexical-binding.
3693 (cl-map-extents, cl-maclisp-member): Remove.
3694 (cl--set-elt, cl--set-nthcdr, cl--set-buffer-substring)
3695 (cl--set-substring, cl--block-wrapper, cl--block-throw)
3696 (cl--compiling-file, cl--mapcar-many, cl--do-subst): Use "cl--" prefix.
3697 * emacs-lisp/cl-extra.el: Use lexical-binding.
3698 (cl--mapcar-many, cl--map-keymap-recursively, cl--map-intervals)
3699 (cl--map-overlays, cl--set-frame-visible-p, cl--progv-save)
3700 (cl--progv-before, cl--progv-after, cl--finite-do, cl--set-getf)
3701 (cl--do-remf, cl--do-prettyprint): Use "cl--" prefix.
3702 * emacs-lisp/cl-seq.el: Use lexical-binding.
3703 (cl--parsing-keywords, cl--check-key, cl--check-test-nokey)
3704 (cl--check-test, cl--check-match): Use "cl--" prefix and backquotes.
3705 (cl--alist, cl--sublis-rec, cl--nsublis-rec, cl--tree-equal-rec):
3706 * emacs-lisp/cl-macs.el (cl--lambda-list-keywords): Use "cl--" prefix.
3707 * edmacro.el (edmacro-mismatch): Simplify to remove dependence on
3708 CL's internals.
3709
2fe4b125
MA
37102012-06-11 Michael Albinus <michael.albinus@gmx.de>
3711
3712 Sync with Tramp 2.2.6-pre.
3713
3714 * net/tramp-cache.el (tramp-dump-connection-properties): Let-bind
3715 `print-length' and `print-level' to nil, in order to avoid
3716 truncation. Reported by Christopher Schmidt
3717 <christopher@ristopher.com>.
3718
3719 * net/tramp-cmds.el (tramp-cleanup-connection): Delete also process.
3720
3721 * net/tramp-compat.el (tramp-compat-condition-case-unless-debug):
3722 New defmacro.
3723 (tramp-compat-copy-directory): Add optional argument
3724 COPY-CONTENTS. It is not handled yet.
3725
3726 * net/tramp-ftp.el (tramp-disable-ange-ftp): Fix docstring.
3727 (tramp-ftp-file-name-p): Simplify.
3728
3729 * net/tramp-gvfs.el (tramp-gvfs-handle-expand-file-name):
3730 * net/tramp-gw.el (tramp-gw-open-connection): Add hop to
3731 connection vector.
3732
3733 * net/tramp-sh.el (tramp-copy-size-limit): Fix docstring.
3734 (tramp-methods): Do not use `tramp-password-end-of-line'.
3735 (tramp-completion-function-alist-putty): Handle UNIX case.
3736 (tramp-remote-path): Add "/opt/bin", "/opt/sbin" and "/opt/local/bin".
3737 (tramp-do-file-attributes-with-stat)
3738 (tramp-do-directory-files-and-attributes-with-stat) Return uid and
3739 gid as real numbers. They could run out of integer range on cygwin.
3740 (tramp-do-copy-or-rename-file-out-of-band): Better trace format.
3741 (tramp-sh-handle-expand-file-name): Handle hops.
87e6e64f
DA
3742 (tramp-open-connection-setup-interactive-shell):
3743 Use `tramp-cleanup'. Move check for busyboxes ...
3744 (tramp-find-shell): ... here. Simplify implementation.
3745 Set "remote-shell" property also for alternative shells.
3746 (tramp-remote-coding-commands): Check "test -c /dev/stdout".
3747 If failing, a regular file would be written otherwise.
3748 Reported by Dmitry Kurochkin <dmitry.kurochkin@gmail.com>.
2fe4b125
MA
3749 (tramp-find-inline-encoding): Cache the coding commands in the
3750 process cache. Apply test command on the remote side, if defined.
3751 (tramp-find-inline-compress): Cache the compress commands in the
3752 process cache.
3753 (tramp-compute-multi-hops): Save `tramp-default-proxies-alist'
3754 when requested. Handle hops.
3755 (tramp-current-connection): New defvar.
87e6e64f
DA
3756 (tramp-maybe-open-connection): Use `tramp-cleanup'.
3757 Throw `suppress', if there was a failed connection shortly before.
2fe4b125 3758 Handle user interrupt. (Bug#10187)
87e6e64f
DA
3759 (tramp-get-inline-compress, tramp-get-inline-coding):
3760 Read connection properties from the process cache.
2fe4b125
MA
3761
3762 * net/tramp-smb.el (tramp-smb-server-version)
87e6e64f
DA
3763 (tramp-smb-wrong-passwd-regexp, tramp-smb-actions-with-tar):
3764 New defconsts.
2fe4b125
MA
3765 (tramp-smb-prompt): Extend for powershell prompt.
3766 (tramp-smb-file-name-handler-alist): Add handlers for
3767 `process-file', `shell-command' and `start-file-process'.
3768 (tramp-smb-winexe-program, tramp-smb-winexe-shell-command)
3769 (tramp-smb-winexe-shell-command-switch): New defcustoms.
3770 (tramp-smb-file-name-p): Simplify.
3771 (tramp-smb-action-with-tar, tramp-smb-handle-process-file)
3772 (tramp-smb-kill-winexe-function, tramp-smb-call-winexe)
3773 (tramp-smb-shell-quote-argument): New defuns.
3774 (tramp-smb-handle-copy-directory): Add COPY-CONTENTS argument.
3775 Implement using "tar". By this, time-stamps are preserved.
3776 (tramp-smb-handle-copy-file): Handle also the case of directories.
3777 (tramp-smb-do-file-attributes-with-stat)
87e6e64f
DA
3778 (tramp-smb-get-file-entries, tramp-smb-get-cifs-capabilities):
3779 Use `tramp-get-connection-buffer').
2fe4b125
MA
3780 (tramp-smb-handle-rename-file): Use "rename", when source and
3781 target are on the same share.
87e6e64f
DA
3782 (tramp-smb-maybe-open-connection): Handle wrong passwords.
3783 Use `tramp-smb-server-version'.
2fe4b125
MA
3784 (tramp-smb-wait-for-output): Remove prompt.
3785
3786 * net/tramp.el (top): Require 'cl.
87e6e64f
DA
3787 (tramp-methods, tramp-rsh-end-of-line):
3788 Remove `tramp-password-end-of-line' from docstring.
2fe4b125
MA
3789 (tramp-save-ad-hoc-proxies): New defcustom.
3790 (tramp-completion-function-alist): Adapt docstring.
3791 (tramp-default-password-end-of-line): Remove defcustom.
3792 (tramp-shell-prompt-pattern): Allow "[]" style prompts. (Bug#11065)
3793 (tramp-user-regexp, tramp-file-name-regexp-unified)
3794 (tramp-file-name-regexp-url): Extend regexp by hop separator.
3795 (tramp-postfix-hop-format, tramp-postfix-hop-regexp)
3796 (tramp-remote-file-name-spec-regexp): New defconst.
3797 (tramp-file-name-structure): Extend structure for hops.
3798 (tramp-get-method-parameter): Move up.
3799 (tramp-file-name-p, tramp-dissect-file-name)
3800 (with-parsed-tramp-file-name): Handle hops.
3801 (tramp-file-name-hop): New defun.
3802 (tramp-make-tramp-file-name): New optional arg HOP.
3803 (tramp-message-show-progress-reporter-message): New defvar.
3804 (tramp-with-progress-reporter): Use it. We cannot use
3805 `tramp-message-show-message' here, because this suppresses also
3806 error buffers.
3807 (tramp-error-with-buffer): Suppress buffer view, if
87e6e64f
DA
3808 `tramp-message-show-message' is nil.
3809 Use `tramp-get-connection-buffer'.
2fe4b125
MA
3810 (tramp-cleanup): New defun.
3811 (tramp-rfn-eshadow-update-overlay): Let-bind `non-essential' to `t'.
3812 (tramp-file-name-handler): If `debug-on-error' is set, propagate
3813 an error unchanged.
3814 (tramp-completion-handle-file-name-all-completions): Handle hops.
3815 Fix an error when called from ido.
3816 (tramp-completion-dissect-file-name): Use better local variable
3817 name. Add hop to the vector.
3818 (tramp-handle-insert-file-contents): Use progress-reporter for the
3819 whole scenario.
3820 (tramp-action-password): Let-bind `enable-recursive-minibuffers'
3821 to `t'.
3822 (tramp-check-for-regexp): Simplify search.
3823 (tramp-enter-password): Remove it. Move implementation ...
3824 (tramp-action-password): ... here.
3825 (tramp-mode-string-to-int, tramp-local-host-p)
3826 (tramp-make-tramp-temp-file, tramp-read-passwd)
87e6e64f
DA
3827 (tramp-clear-passwd, tramp-time-less-p, tramp-time-diff):
3828 Set tramp-autoload cookie.
2fe4b125
MA
3829
3830 * net/trampver.el: Update release number.
3831
38322012-06-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
3833 Michael Albinus <michael.albinus@gmx.de>
3834
3835 * net/tramp.el (tramp-set-completion-function): Fix docstring.
3836 (tramp-parse-group, tramp-parse-file)
3837 (tramp-parse-shostkeys-sknownhosts): New defuns.
3838 (tramp-parse-rhosts, tramp-parse-rhosts-group, tramp-parse-shosts)
3839 (tramp-parse-shosts-group, tramp-parse-sconfig)
3840 (tramp-parse-sconfig-group, tramp-parse-shostkeys)
3841 (tramp-parse-sknownhosts, tramp-parse-hosts)
3842 (tramp-parse-hosts-group, tramp-parse-passwd, tramp-parse-netrc):
3843 Use them.
3844 (tramp-parse-passwd-group, tramp-parse-netrc-group)
3845 (tramp-parse-putty-group): Don't narrow.
3846 (tramp-parse-putty): Make a loop.
3847 (tramp-file-name-handler): Catch the `suppress' signal.
3848
72834e10
CY
38492012-06-11 Chong Yidong <cyd@gnu.org>
3850
3851 * image.el (imagemagick-register-types): Put the ImageMagick entry
3852 at the end of image-type-file-name-regexps.
3853
a4712e11
JB
38542012-06-11 Johan Bockgård <bojohan@gnu.org>
3855
3856 * emacs-lisp/pcase.el (pcase-UPAT, pcase-QPAT): New edebug specs.
3857 (pcase, pcase-let*, pcase-dolist): Use them.
3858
82ad98e3
SM
38592012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
3860
3861 * emacs-lisp/pcase.el (pcase--let*): New function.
3862 (pcase-let*): Use it. Use pcase--memoize to avoid repeated expansions.
3863 (pcase--expand): Use macroexp-let².
3864
f80efb86
SM
38652012-06-10 Stefan Monnier <monnier@iro.umontreal.ca>
3866
3867 * emacs-lisp/timer.el, emacs-lisp/syntax.el, emacs-lisp/smie.el:
3868 * emacs-lisp/ewoc.el, emacs-lisp/cconv.el, emacs-lisp/bytecomp.el:
3869 * emacs-lisp/byte-opt.el, emacs-lisp/autoload.el: Convert to cl-lib.
3870 * emacs-lisp/easymenu.el, emacs-lisp/easy-mmode.el:
3871 * emacs-lisp/derived.el: Use pcase instead of `cl'.
3872 * emacs-lisp/cl-lib.el: Get rid of special cl-macs auto load.
3873
31ca4639 38742012-06-10 Glenn Morris <rgm@gnu.org>
94f0aa34 3875
31ca4639
CY
3876 * mail/rmail.el (rmail-yank-current-message): Leave point at
3877 correct position. (Bug#11660)
94f0aa34 3878
31ca4639 38792012-06-10 Chong Yidong <cyd@gnu.org>
9e1b8ec4 3880
31ca4639 3881 * allout-widgets.el: Fix code header.
9e1b8ec4 3882
31ca4639 38832012-06-10 Chong Yidong <cyd@gnu.org>
00cd0305 3884
f80efb86
SM
3885 * cus-edit.el (customize-changed-options-previous-release):
3886 Bump to 24.1.
31ca4639 3887
642b6d30
AS
38882012-06-09 Andreas Schwab <schwab@linux-m68k.org>
3889
3890 * Makefile.in (BIG_STACK_DEPTH): Enlarge to 2200.
3891
4f5d2ba1
CY
38922012-06-09 Chong Yidong <cyd@gnu.org>
3893
3894 * ebuff-menu.el (electric-buffer-list): Preserve header line.
3895
e75852fd
MR
38962012-06-09 Martin Rudalics <rudalics@gmx.at>
3897
3898 * window.el (special-display-popup-frame): Don't use
3899 window--display-buffer (Bug#11651).
3900
1e48e282
EZ
39012012-06-09 Eli Zaretskii <eliz@gnu.org>
3902
8a26b487
EZ
3903 Fix parallel builds: make sure loaddefs.el is not being written
3904 while Lisp files are compiled.
3905 (compile): Don't depend on 'mh-autoloads'.
3906 (compile-CMD, compile-SH): Depend on 'autoloads'.
3907 (bootstrap): Don't depend on 'autoloads' and 'mh-autoloads'.
3908
1e48e282
EZ
3909 * makefile.w32-in (BIG_STACK_DEPTH): Enlarge to 2200. (Bug#11649)
3910
6175e34b
CY
39112012-06-09 Chong Yidong <cyd@gnu.org>
3912
3913 * face-remap.el (face-remap-add-relative, face-remap-set-base)
3914 (buffer-face-set, buffer-face-toggle, buffer-face-mode-invoke):
3915 Doc fixes (Bug#11225).
3916
d9857e53
SM
39172012-06-09 Stefan Monnier <monnier@iro.umontreal.ca>
3918
3919 * emacs-lisp/macroexp.el (macroexp--expand-all): Only autoload
3920 a function if there's a clear indication that it has a compiler-macro.
3921 * emacs-lisp/byte-run.el (defun-declarations-alist, defmacro, defun)
3922 (macro-declarations-alist): Add arglist to declaration functions.
3923 (defun-declarations-alist): Add `obsolete' and `compiler-macro'.
3924 * emacs-lisp/cl-seq.el (cl-member, cl-assoc):
3925 * emacs-lisp/cl-lib.el (cl-list*, cl-adjoin):
3926 * emacs-lisp/cl-extra.el (cl-get): Use the new `declare' statement.
3927 Also add autoload to find the compiler macro.
3928 * emacs-lisp/cl-macs.el (eql) [compiler-macro]: Remove.
3929 (cl--compiler-macro-member, cl--compiler-macro-assoc)
3930 (cl--compiler-macro-adjoin, cl--compiler-macro-list*)
3931 (cl--compiler-macro-get): New functions, replacing calls to
3932 cl-define-compiler-macro.
3933 (cl-typep) [compiler-macro]: Use macroexp-let².
3934
f81298f8 39352012-06-08 Nick Dokos <nicholas.dokos@hp.com> (tiny change)
ee574791
UJ
3936
3937 * calendar/icalendar.el (icalendar--parse-vtimezone): Import TZID
3938 string properly, fixes Bug#11473.
3939
4b56d0fe
CY
39402012-06-08 Chong Yidong <cyd@gnu.org>
3941
3942 * faces.el (set-face-attribute): Doc fix.
3943 (modify-face): Don't use :bold and :italic.
3944 (error, warning, success): Tweak definitions.
3945
3946 * cus-edit.el (custom-modified, custom-invalid, custom-rogue)
3947 (custom-modified, custom-set, custom-changed, custom-themed)
3948 (custom-saved, custom-button, custom-button-mouse)
3949 (custom-button-pressed, custom-state, custom-comment-tag)
3950 (custom-variable-tag, custom-group-tag-1, custom-group-tag)
3951 (custom-group-subtitle): Use new-style face specs.
3952 (custom-invalid-face, custom-rogue-face, custom-modified-face)
3953 (custom-set-face, custom-changed-face, custom-saved-face)
3954 (custom-button-face, custom-button-pressed-face)
3955 (custom-documentation-face, custom-state-face)
3956 (custom-comment-face, custom-comment-tag-face)
3957 (custom-variable-tag-face, custom-variable-button-face)
3958 (custom-face-tag-face, custom-group-tag-face-1)
3959 (custom-group-tag-face): Remove obsolete face alias.
3960
3961 * epa.el (epa-validity-high, epa-validity-medium)
3962 (epa-validity-low, epa-mark, epa-field-name, epa-string)
3963 (epa-field-name, epa-field-body):
3964 * font-lock.el (font-lock-comment-face, font-lock-string-face)
3965 (font-lock-keyword-face, font-lock-builtin-face)
3966 (font-lock-function-name-face, font-lock-variable-name-face)
3967 (font-lock-type-face, font-lock-constant-face):
3968 * ido.el (ido-first-match, ido-only-match, ido-subdir)
3969 (ido-virtual, ido-indicator, ido-incomplete-regexp):
3970 * speedbar.el (speedbar-button-face, speedbar-file-face)
3971 (speedbar-directory-face, speedbar-tag-face)
3972 (speedbar-selected-face, speedbar-highlight-face)
3973 (speedbar-separator-face):
3974 * whitespace.el (whitespace-newline, whitespace-space)
3975 (whitespace-hspace, whitespace-tab, whitespace-trailing)
3976 (whitespace-line, whitespace-space-before-tab)
3977 (whitespace-space-after-tab, whitespace-indentation)
3978 (whitespace-empty):
3979 * emulation/cua-base.el (cua-global-mark):
3980 * eshell/em-prompt.el (eshell-prompt):
3981 * net/newst-plainview.el (newsticker-new-item-face)
3982 (newsticker-old-item-face, newsticker-immortal-item-face)
3983 (newsticker-obsolete-item-face, newsticker-date-face)
3984 (newsticker-statistics-face, newsticker-default-face):
3985 * net/newst-reader.el (newsticker-feed-face)
3986 (newsticker-extra-face, newsticker-enclosure-face):
3987 * net/newst-treeview.el (newsticker-treeview-face)
3988 (newsticker-treeview-new-face, newsticker-treeview-old-face)
3989 (newsticker-treeview-immortal-face)
3990 (newsticker-treeview-obsolete-face)
3991 (newsticker-treeview-selection-face):
3992 * net/rcirc.el (rcirc-my-nick, rcirc-other-nick)
3993 (rcirc-bright-nick, rcirc-server, rcirc-timestamp)
3994 (rcirc-nick-in-message, rcirc-nick-in-message-full-line)
3995 (rcirc-prompt, rcirc-track-keyword, rcirc-url, rcirc-keyword):
3996 * nxml/nxml-outln.el (nxml-heading, nxml-outline-indicator)
3997 (nxml-outline-active-indicator, nxml-outline-ellipsis):
3998 * play/mpuz.el (mpuz-unsolved, mpuz-solved, mpuz-trivial)
3999 (mpuz-text):
4000 * progmodes/vera-mode.el (vera-font-lock-number)
4001 (vera-font-lock-function, vera-font-lock-interface):
4002 * textmodes/table.el (table-cell): Use new-style face specs, and
4003 don't use the old :bold and :italic attributes.
4004
4005 * progmodes/ebrowse.el (ebrowse-tree-mark, ebrowse-root-class)
4006 (ebrowse-member-attribute, ebrowse-default, ebrowse-file-name)
4007 (ebrowse-member-class, ebrowse-progress): Likewise.
4008 (ebrowse-tree-mark-face, ebrowse-root-class-face)
4009 (ebrowse-file-name-face, ebrowse-default-face)
4010 (ebrowse-member-attribute-face, ebrowse-member-class-face)
4011 (ebrowse-progress-face): Remove obsolete faces.
4012
4013 * progmodes/flymake.el (flymake-errline, flymake-warnline):
4014 Inherit from error and warning faces respectively.
4015
4016 * textmodes/flyspell.el (flyspell-incorrect, flyspell-duplicate):
4017 Likewise.
f80efb86
SM
4018 (flyspell-incorrect-face, flyspell-duplicate-face):
4019 Remove obsolete aliases.
4b56d0fe 4020
03310646
MA
40212012-06-08 Michael Albinus <michael.albinus@gmx.de>
4022
4023 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
4024 Avoid infloop.
4025
513749ee
SM
40262012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
4027
4028 * startup.el (argv, argi): Make lexically scoped.
4029 * emacs-lisp/float-sup.el (pi): Use internal-make-var-non-special.
4030 * emacs-lisp/cl-macs.el: Use lexical-binding.
4031 Rename cl-bind-* to cl--bind-*.
4032 * files.el: Don't require `cl' since it doesn't use it.
4033 * emacs-lisp/pcase.el, emacs-lisp/macroexp.el: Add coding cookie.
4034
595ef4ad
JB
40352012-06-08 Juanma Barranquero <lekktu@gmail.com>
4036
4037 * textmodes/texinfmt.el: Fix bug#11640 (reverts part of 2008-07-31T05:33:56Z!dann@ics.uci.edu).
4038 (texinfo-format-printindex): Use `texinfo-sort-region' in all platforms,
4039 instead of calling external sort utility.
4040 (texinfo-sort-region, texinfo-sort-startkeyfun): Restore functions.
4041
e9f66fcb
EZ
40422012-06-08 Eli Zaretskii <eliz@gnu.org>
4043
4044 * descr-text.el (describe-char): Mention how to insert the
4045 character, if the current input method doesn't support it.
4046 See the discussion in this thread for the details:
4047 http://lists.gnu.org/archive/html/emacs-devel/2012-05/msg00533.html.
4048
3d10db47
SS
40492012-06-08 Sam Steingold <sds@gnu.org>
4050
4051 * bindings.el (global-map): Bind XF86Forward to next-buffer and
4052 XF86Back to previous-buffer.
4053 (minibuffer-local-map): Bind them to next-history-element and
4054 previous-history-element respectively.
4055 * help-mode.el (help-mode-map): Bind them to help-go-forward and
4056 help-go-back respectively.
4057 * info.el (Info-mode-map): Bind them to Info-history-forward and
4058 Info-history-back respectively.
4059 These are the keys next to Up on the ThinkPad keyboard.
4060
de7e2b36
SM
40612012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
4062
4063 Get rid of cl-lexical-let, keeping only lexical-let for compatibility.
4064 * emacs-lisp/cl-macs.el: Provide itself.
4065 (cl--labels-convert-cache): New var.
4066 (cl--labels-convert): New function.
4067 (cl-flet, cl-labels): New implementation with new semantics, relying on
4068 lexical-binding.
4069 * emacs-lisp/cl.el: Mark compatibility aliases as obsolete.
4070 (cl-closure-vars, cl--function-convert-cache)
4071 (cl--function-convert): Move from cl-macs.el.
4072 (lexical-let, lexical-let*, flet, labels): Move from cl-macs.el and
4073 rename by removing the "cl-" prefix.
4074 * emacs-lisp/macroexp.el (macroexp-unprogn): New function.
4075
6fa6c4ae
SM
40762012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
4077
4078 * emacs-lisp/cl.el (cl-macroexpand, cl-macro-environment)
4079 (cl-macroexpand-all, cl-not-hash-table, cl-builtin-gethash)
4080 (cl-builtin-remhash, cl-builtin-clrhash, cl-builtin-maphash)
4081 (cl-map-keymap, cl-copy-tree, cl-gethash, cl-puthash, cl-remhash)
4082 (cl-clrhash, cl-maphash, cl-make-hash-table, cl-hash-table-p)
4083 (cl-hash-table-count): Add old compatibility aliases.
4084
4085 * emacs-lisp/cl-macs.el (cl-macro-environment): Remove var.
4086 Use macroexpand-all-environment instead.
4087 (cl--old-macroexpand): New var.
4088 (cl--sm-macroexpand): New function.
4089 (cl-symbol-macrolet): Use it during macro expansion.
4090 (cl--function-convert-cache): New var.
4091 (cl--function-convert): New function, extracted from
4092 cl-macroexpand-all.
4093 (cl-lexical-let): Use it.
4094
4095 * emacs-lisp/cl-lib.el (cl-macro-environment): Remove decl.
4096 (cl-macroexpand): Move to cl-macs.el and rename to cl--sm-macroexpand.
4097 (cl-member): Remove old alias.
4098
4099 * emacs-lisp/cl-extra.el (cl-map-keymap, cl-copy-tree)
4100 (cl-not-hash-table, cl-builtin-gethash, cl-builtin-remhash)
4101 (cl-builtin-clrhash, cl-builtin-maphash, cl-gethash, cl-puthash)
4102 (cl-remhash, cl-clrhash, cl-maphash, cl-make-hash-table)
4103 (cl-hash-table-p, cl-hash-table-count): Move to cl.el.
4104 (cl-macroexpand-cmacs): Remove var.
4105 (cl-macroexpand-all, cl-macroexpand-body): Remove funs.
4106 Use macroexpand-all instead.
4107
4dd1c416
SM
41082012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
4109
4110 * emacs-lisp/macroexp.el (macroexp-progn, macroexp-let*, macroexp-if)
4111 (macroexp-let², macroexp--const-symbol-p, macroexp-const-p)
4112 (macroexp-copyable-p): New functions and macros.
4113 * emacs-lisp/edebug.el (edebug-unwrap):
4114 * emacs-lisp/disass.el (disassemble-internal): Use macroexp-progn.
4115 * emacs-lisp/pcase.el: Use macroexp-let*, macroexp-if, ...
4116 (pcase--let*): Remove.
4117 * emacs-lisp/bytecomp.el (byte-compile-const-symbol-p)
4118 (byte-compile-constp): Remove. Use macroexp--const-symbol-p and
4119 macroexp-const-p instead.
4120 * emacs-lisp/byte-opt.el: Use macroexp-const-p and macroexp-progn.
4121
4122 * emacs-lisp/cl-macs.el: Clean up the name space by using "cl--"
4123 instead of "cl-" for internal definitions. Use macroexp-const-p.
4124 (cl-old-bc-file-form): Remove var.
4125 (cl-const-exprs-p): Remove fun.
4126 (cl-labels, cl-macrolet): Use backquote.
4127 (cl-lexical-let): Use cl-symbol-macrolet. Don't use cl-defun-expander.
4128 (cl-defun-expander, cl-byte-compile-compiler-macro): Remove fun.
4129 (cl-define-setf-expander): Rename from cl-define-setf-method.
4130 * emacs-lisp/cl.el: Adjust alias for define-setf-method.
4131
4132 * international/mule-cmds.el: Don't require CL.
4133 (view-hello-file): Don't use `letf'.
4134
ed8bd4d7
SM
41352012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
4136
7287f2f3
SM
4137 * tmm.el (tmm-prompt): Use string-prefix-p.
4138 (tmm-completion-delete-prompt): Don't affect current-buffer outside.
4139 (tmm-add-prompt): Use minibuffer-completion-help.
4140 (tmm-delete-map): Remove.
4141
ed8bd4d7
SM
4142 * subr.el (kbd): Make it its own function.
4143
7b4cdbf4
SM
41442012-06-07 Stefan Merten <smerten@oekonux.de>
4145
4146 * textmodes/rst.el: Use `eval-when-compile' for requiring `cl.el'.
4147 Silence compiler warnings. Fix versions.
ed8bd4d7 4148 (rst-position-if, rst-position, rst-some, rst-signum): New functions.
7b4cdbf4 4149 (rst-shift-region, rst-adornment-level, rst-compute-tabs)
ed8bd4d7 4150 (rst-indent-line, rst-shift-region, rst-forward-line): Use them.
7b4cdbf4
SM
4151 (rst-package-emacs-version-alist): Correct Emacs version to
4152 represent major merge with upstream.
ed8bd4d7 4153 (rst-transition, rst-adornment, rst-compile-toolsets): Fix versions.
7b4cdbf4 4154
2b48d721
GM
41552012-06-06 Glenn Morris <rgm@gnu.org>
4156
4157 * mail/emacsbug.el (report-emacs-bug): Add relevant EMACS env-vars.
4158 Only print environment variables if set.
4159
fa779ab0
SM
41602012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
4161
4162 * emacs-lisp/macroexp.el: Don't require CL since we don't use it.
4163 (macroexp--cons): Rename from maybe-cons.
4164 (macroexp--accumulate): Rename from macroexp-accumulate.
4165 (macroexp--all-forms): Rename from macroexpand-all-forms.
4166 (macroexp--all-clauses): Rename from macroexpand-all-clauses.
4167 (macroexp--expand-all): Rename from macroexpand-all-1.
4168
628299e0
SS
41692012-06-06 Sam Steingold <sds@gnu.org>
4170
4171 * calendar/calendar.el (calendar-in-read-only-buffer):
4172 Call `special-mode' to enable the standard read-only keybindings.
4173
b7bb5838
SM
41742012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
4175
4176 * emacs-lisp/macroexp.el (macroexpand-all-1): Don't spam the output
4177 with "loading" messages (bug#11635).
4178
dfb308ba
MA
41792012-06-06 Michael Albinus <michael.albinus@gmx.de>
4180
4181 * files.el (enable-remote-dir-locals): New option.
4182 (hack-dir-local-variables): Use it. (Bug#1933, Bug#6731)
4183
0372ee92
MA
4184 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
4185 Ensure, that the temp directory is local.
4186
4187 * net/tramp-sh.el (tramp-sh-handle-write-region): Let-bind
4188 `temporary-file-directory'.
4189
eed0bb91
MA
4190 * progmodes/python.el (python-send-region): Ensure, that the
4191 temporary file is created also in the remote case.
4192
7a58f64d
GM
41932012-06-06 Glenn Morris <rgm@gnu.org>
4194
f7dd4e98
GM
4195 * vc/vc-rcs.el (vc-rcs-rcs2log-program): New.
4196 (vc-rcs-update-changelog): Use it.
4197
090bd7cb 4198 * emacs-lisp/authors.el (authors-fixed-entries): Remove vcdiff.
276d5f5d 4199
7a58f64d
GM
4200 * vc/vc-sccs.el (vc-sccs-write-revision): New function.
4201 (vc-sccs-workfile-unchanged-p): Use vc-sccs-write-revision.
4202 (vc-sccs-diff): Replace use of the external vcdiff script.
4203
daed4003
GM
42042012-06-05 Glenn Morris <rgm@gnu.org>
4205
4206 * ledit.el: Move to obsolete/.
4207
48c455c7
SS
42082012-06-05 Sam Steingold <sds@gnu.org>
4209
ed9265fc 4210 * calendar/calendar.el (calendar-exit): Reinstate the 2012-03-28
48c455c7
SS
4211 patch (Bug#11140).
4212
57a7d507
SM
42132012-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
4214
090bd7cb 4215 * emacs-lisp/cust-print.el: Move to obsolete.
d32926ff 4216
53aacf21
SM
4217 * emacs-lisp/macroexp.el (macroexpand-all-1): Tolerate errors during
4218 compiler-macro expansion.
4219
57a7d507
SM
4220 Add native compiler-macro support.
4221 * emacs-lisp/macroexp.el (macroexpand-all-1):
4222 Support compiler-macros directly. Properly follow aliases and apply
4223 the compiler macros more thoroughly.
4224 * emacs-lisp/cl.el: Don't copy compiler-macro properties any more since
4225 macroexpand now properly follows aliases.
4226 * emacs-lisp/cl-macs.el (toplevel, cl-define-compiler-macro)
4227 (cl-compiler-macroexpand): Use new prop.
4228 * emacs-lisp/byte-opt.el (featurep): Optimize earlier.
4229
4230 * emacs-lisp/cl-lib.el (custom-print-functions): Add alias.
4231
51a5f9d8
MR
42322012-06-05 Martin Rudalics <rudalics@gmx.at>
4233
4234 * window.el (get-lru-window, get-mru-window, get-largest-window):
4235 New argument NOT-SELECTED to avoid picking the selected window.
4236 (window--display-buffer-1, window--display-buffer-2): Replace by
4237 new function window--display-buffer
4238 (display-buffer-same-window, display-buffer-reuse-window)
57a7d507
SM
4239 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
4240 Use window--display-buffer.
51a5f9d8
MR
4241 (display-buffer-use-some-window): Remove temporary dedication
4242 hack by calling get-lru-window and get-largest-window with
4243 NOT-SELECTED argument non-nil. Call window--display-buffer.
4244
08f9f738
GM
42452012-06-05 Glenn Morris <rgm@gnu.org>
4246
4247 * vc/vc-sccs.el (vc-sccs-workfile-unchanged-p):
4248 Replace external vcdiff script.
4249
e364a2b7
SM
42502012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
4251
4252 * emacs-lisp/cl-lib.el (cl-values, cl-values-list): Fix up last change.
4253
041df390
CY
42542012-06-04 Chong Yidong <cyd@gnu.org>
4255
e364a2b7
SM
4256 * image.el (imagemagick-types-inhibit): Revert last change.
4257 Add INFO and M.
47b36b94 4258 (imagemagick-enabled-types): Remove CIN and EPS*.
041df390 4259
7c1898a7
SM
42602012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
4261
4262 * emacs-lisp/cl-lib.el: Rename from cl.el.
4263 * emacs-lisp/cl.el: New compatibility file.
4264 * emacs-lisp/cl-lib.el, emacs-lisp/cl-seq.el, emacs-lisp/cl-macs.el:
4265 * emacs-lisp/cl-extra.el: Rename all top-level functions and variables
4266 to obey the "cl-" prefix.
4267 * emacs-lisp/macroexp.el (macroexpand-all-1): Adjust to new name.
4268
0c3461de
GM
42692012-06-03 Glenn Morris <rgm@gnu.org>
4270
1e266c88
GM
4271 * emacs-lisp/authors.el (authors-aliases): Addition.
4272
0c3461de
GM
4273 * cus-start.el (tool-bar-style, tool-bar-max-label-size):
4274 Fix :version.
4275
d8a52e15
SM
42762012-06-03 Stefan Merten <smerten@oekonux.de>
4277
4278 * textmodes/rst.el: Add comments.
4279 (rst-transition, rst-adornment): New faces.
4280 (rst-adornment-faces-alist): Make default safe to reevaluate.
4281 Fixes
4282 http://sourceforge.net/tracker/?func=detail&atid=422030&aid=3479603&group_id=38414.
4283 Improve customization tags.
4284 (rst-define-level-faces): Clarify meaning.
4285
5205d6f6
CY
42862012-06-03 Chong Yidong <cyd@gnu.org>
4287
4288 * progmodes/compile.el (compilation-mode-line-fail)
7c1898a7
SM
4289 (compilation-mode-line-run, compilation-mode-line-exit):
4290 New faces.
5205d6f6
CY
4291 (compilation-start, compilation-handle-exit): Use them (Bug#11032).
4292
757ee657
JD
42932012-06-03 Jack Duthen <duthen.mac.01@gmail.com> (tiny change)
4294
7c1898a7
SM
4295 * progmodes/which-func.el (which-func-update-ediff-windows):
4296 New function. Use it in ediff-select-hook (Bug#11478).
757ee657 4297
5f2c76c6
CY
42982012-06-03 Chong Yidong <cyd@gnu.org>
4299
4300 * bindings.el: Remove explicit help text from format-mode-line.
4301 It is now supplied by mode-line-default-help-echo.
4302 (mode-line-front-space, mode-line-end-spaces)
4303 (mode-line-misc-info): New variables.
4304 (mode-line-modes, mode-line-position): Move the default value to
4305 the variable definition.
4306 (mode-line-default-help-echo): New defcustom.
383f7350
CY
4307 (mode-line-mule-info-help-echo, mode-line-read-only-help-echo)
4308 (mode-line-modified-help-echo): New functions.
4309 (mode-line-mule-info, mode-line-modified): Use them.
4310 (mode-line-eol-desc, propertized-buffer-identification):
4311 Consistency fixes for help text.
cbe46e5f
CY
4312 (mode-line-coding-system-map): Allow using mouse-3 to invoke
4313 set-buffer-file-coding-system (Bug#289).
4314 (mode-line-mule-info-help-echo): Update help text.
5f2c76c6 4315
f2d6a3df
SM
43162012-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
4317
4318 * simple.el (execute-extended-command): Set real-this-command
4319 (bug#11506).
4320
37269466
CY
43212012-06-02 Chong Yidong <cyd@gnu.org>
4322
4323 Remove incorrect uses of "modeline" in comments, docstrings, and
4324 function/variable names (Bug#10329).
4325
4326 * cus-edit.el (mode-line):
4327 * dframe.el (dframe-mouse-hscroll):
4328 * emacs-lisp/re-builder.el:
4329 * emacs-lisp/easy-mmode.el (define-minor-mode):
4330 * frame.el (set-frame-name):
4331 * help.el (lookup-minor-mode-from-indicator):
4332 * net/rcirc.el (rcirc-activity-string, rcirc-short-buffer-name):
4333 * progmodes/cc-cmds.el (c-toggle-auto-newline)
4334 (c-toggle-hungry-state):
4335 * progmodes/antlr-mode.el (antlr-language-alist):
4336 * progmodes/idlw-shell.el (idlwave-shell-electric-stop-line-face):
4337 * progmodes/vhdl-mode.el (vhdl-mode):
4338 * progmodes/which-func.el (which-func, which-func-cleanup-function):
4339 * term/ns-win.el (ns-face-at-pos):
4340 * term/sup-mouse.el (sup-mouse-report):
4341 * textmodes/flyspell.el (flyspell-mode-line-string):
4342 * textmodes/ispell.el (ispell-highlight-face):
4343 * textmodes/reftex-global.el:
4344 * vc/vc-arch.el (vc-arch-mode-line-string):
4345 * vc/vc-cvs.el (vc-cvs-mode-line-string):
4346 * vc/vc-git.el (vc-git-mode-line-string):
4347 * vc/vc-hooks.el (vc-display-status)
4348 (vc-default-mode-line-string):
4349 * vc/vc-mtn.el (vc-mtn-mode-line-string): Doc fixes.
4350
4351 * ansi-color.el (ansi-color-faces-vector): Change default faces.
4352
4353 * dired.el (dired-sort-set-mode-line): Rename from
4354 dired-sort-set-modeline. All callers changed.
4355
4356 * eshell/esh-mode.el (eshell-status-in-mode-line): Rename from
4357 eshell-status-in-modeline.
4358
4359 * foldout.el (foldout-mode-line-string): Rename from
4360 foldout-modeline-string. All callers changed.
4361 (foldout-update-mode-line): Rename from foldout-update-modeline.
4362
4363 * subr.el (redraw-modeline): Make into obsolete alias.
4364
4365 * calendar/timeclock.el (timeclock-mode-line-display): Rename from
4366 timeclock-modeline-display. Make old name an alias.
4367 (timeclock-update-mode-line): Likewise. All callers changed.
4368 (timeclock-mode-line-display): No need to check before using
4369 add-hook.
4370 (timeclock-relative, timeclock-day-over-hook)
4371 (timeclock-use-elapsed, timeclock-mode-string)
4372 (timeclock-mode-line-display): Doc fix, "modeline" -> "mode line".
4373
4374 * emulation/crisp.el (crisp-mode-mode-line-string): Rename from
4375 crisp-mode-modeline-string.
4376
4377 * play/solitaire.el (solitaire-build-mode-line): Rename from
4378 solitaire-build-modeline. All callers changed.
4379
4380 * play/zone.el (zone-hiding-mode-line): Rename from
4381 zone-hiding-modeline. All callers changed.
4382 (zone): Remove unusued `modeline-hidden-level' property.
4383
4384 * progmodes/xscheme.el (xscheme-mode-line-initialize): Rename from
4385 xscheme-modeline-initialize. All callers changed.
4386
4387 * strokes.el (strokes-lighter): Rename from
4388 strokes-modeline-string.
4389
4390 * textmodes/sgml-mode.el (html-face-tag-alist)
4391 (html-tag-face-alist): Use mode-line face instead of obsolete
4392 alias modeline.
4393
42152ee4
SM
43942012-06-02 Stefan Merten <smerten@oekonux.de>
4395
4396 * textmodes/rst.el: Always require `cl'.
4cf9b38d 4397 (rst-mode-map): Fix meaning of C-M-a / C-M-e.
42152ee4 4398
95f520b5
CY
43992012-06-02 Chong Yidong <cyd@gnu.org>
4400
4401 * image.el (imagemagick-enabled-types): Rename from
4402 imagemagick-types-enable. Add many more types.
4403 (imagemagick-types-inhibit): Change default to nil.
4404 (imagemagick-filter-types): Caller changed.
4405
4a5f187a
SM
44062012-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
4407
03fef3e6
SM
4408 * emacs-lisp/cl-macs.el: Use backquotes.
4409 (cl-transform-function-property): Use eval-and-compile rather than
4410 abusing `require'.
4411 (defstruct): Use declare-function instead of with-no-warnings.
4412
4a5f187a
SM
4413 * emacs-lisp/bytecomp.el: Fix last change (bug#11594).
4414 (byte-compile-output-docform): Re-add the print-circle bindings.
4415 (byte-compile-fix-header): Use #$ just because it's shorter.
4416 (byte-compile-output-file-form): Remove defun/defmacro.
4417
bd56924f
MR
44182012-06-01 Martin Rudalics <rudalics@gmx.at>
4419
4420 * simple.el (choose-completion): Remove now obsolete binding for
4421 owindow.
4422
046e38ce
MA
44232012-06-01 Michael Albinus <michael.albinus@gmx.de>
4424
4425 * net/tramp.el (tramp-check-for-regexp): Search from buffer end,
4426 in order to avoid "Stack overflow in regexp matcher".
4427
32d72c2f
GM
44282012-05-31 Glenn Morris <rgm@gnu.org>
4429
4430 * image.el: For clarity, call imagemagick-register-types at
4431 top-level, rather than relying on a custom :initialize.
4432 (imagemagick-types-enable): New option. (Bug#11557)
60b5f187
GM
4433 (imagemagick-filter-types): New function. (Bug#7406)
4434 (imagemagick-register-types): Use imagemagick-filter-types.
32d72c2f
GM
4435 If disabling support, remove elements altogether rather
4436 than using an impossible regexp.
4437 (imagemagick-types-inhibit): Give it the default init function.
4438
dd41169b
SM
44392012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
4440
4a5f187a
SM
4441 * emacs-lisp/bytecomp.el (byte-compile-fix-header):
4442 Handle arbitrary file name lengths (Bug#11585).
dd41169b 4443
efc00ab1 44442012-05-31 Martin Rudalics <rudalics@gmx.at>
5221ccb9
MR
4445
4446 * desktop.el (desktop-read): Clear previous and next buffers for
4447 all windows and bury *Messages* buffer (bug#11556).
4448
500fcedc
SM
44492012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
4450
4451 Add `declare' for `defun'. Align `defmacro's with it.
4452 * emacs-lisp/easy-mmode.el (define-minor-mode)
4453 (define-globalized-minor-mode): Don't autoload the var definitions.
4454 * emacs-lisp/byte-run.el: Use lexical-binding.
4455 (defun-declarations-alist, macro-declarations-alist): New vars.
4456 (defmacro, defun): Use them.
4457 (make-obsolete, define-obsolete-function-alias)
4458 (make-obsolete-variable, define-obsolete-variable-alias):
4459 Use `declare'.
4460 (macro-declaration-function): Mark obsolete.
4461 * emacs-lisp/autoload.el: Use lexical-binding.
4462 (make-autoload): Add `expansion' arg. Rely more on macro expansion.
4463
6e8a1786
AM
44642012-05-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
4465
4466 * textmodes/ispell.el (ispell-with-no-warnings):
4467 Define as a macro.
500fcedc
SM
4468 (ispell-kill-ispell, ispell-change-dictionary):
4469 Use `called-interactively-p' for Emacs instead of obsolete
6e8a1786
AM
4470 `interactive-p'.
4471
61b108cc
SM
44722012-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
4473
4474 * emacs-lisp/byte-run.el (defmacro, defun): Move from C.
4475 (macro-declaration-function): Move var from C code.
4476 (macro-declaration-function): Define function with defalias.
4477 * emacs-lisp/macroexp.el (macroexpand-all-1):
4478 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form):
4479 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Don't handle
4480 defun/defmacro any more.
4481 * emacs-lisp/bytecomp.el (byte-compile-arglist-signature):
4482 Provide fallback for unknown arglist.
4483 (byte-compile-arglist-warn): Change calling convention.
4484 (byte-compile-output-file-form): Move print-vars binding.
4485 (byte-compile-output-docform): Simplify accordingly.
4486 (byte-compile-file-form-defun, byte-compile-file-form-defmacro)
4487 (byte-compile-defmacro-declaration): Remove.
4488 (byte-compile-file-form-defmumble): Generalize to defalias.
4489 (byte-compile-output-as-comment): Return byte-positions.
4490 Simplify callers accordingly.
4491 (byte-compile-lambda): Use `assert'.
4492 (byte-compile-defun, byte-compile-defmacro): Remove.
4493 (byte-compile-file-form-defalias):
4494 Use byte-compile-file-form-defmumble.
4495 (byte-compile-defalias-warn): Remove.
4496
6d3f7c2f
SM
44972012-05-29 Stefan Merten <smerten@oekonux.de>
4498
4499 * textmodes/rst.el: Silence `checkdoc-ispell' errors where
61b108cc 4500 possible. Fix authors. Improve comments. Improve loading of `cl'.
6d3f7c2f
SM
4501
4502 (rst-mode-abbrev-table): Merge definition.
4503 (rst-mode): Make sure `font-lock-defaults' is buffer local.
4504 (rst-define-key, rst-deprecated-keys, rst-call-deprecated): Refactor.
4505
6dbaa1c7
UJ
45062012-05-29 Ulf Jasper <ulf.jasper@web.de>
4507
4508 * calendar/icalendar.el
4509 (icalendar-export-region): Export UID properly.
4510
d209e2fb 45112012-05-29 Leo Liu <sdl.web@gmail.com>
61b108cc
SM
4512 * calendar/icalendar.el (icalendar-import-format):
4513 Add `icalendar-import-format-uid' (Bug#11525).
6dbaa1c7
UJ
4514 (icalendar-import-format-uid): New.
4515 (icalendar--parse-summary-and-rest, icalendar--format-ical-event):
4516 Export UID.
4517
6876a58d
SM
45182012-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
4519
4520 * emacs-lisp/pcase.el (pcase--expand): Accept different sets of vars in
4521 different alternative patterns.
4522 (pcase-codegen): Be more careful to preserve identity.
4523 (pcase--u1): Don't forget to mark vars as used.
4524
4525 * emacs-lisp/bytecomp.el (byte-compile-constp): Treat #'v as a constant.
4526 (byte-compile-close-variables): Bind byte-compile--outbuffer here...
4527 (byte-compile-from-buffer): ...rather than here.
4528
4529 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Don't re-preprocess
4530 functions from byte-compile-function-environment.
4531
46b7967e
TN
45322012-05-29 Troels Nielsen <bn.troels@gmail.com>
4533
4534 * window.el (window-deletable-p): Avoid deleting the root window
4535 of a frame with an active minibuffer.
4536
69d565e2
MR
45372012-05-29 Martin Rudalics <rudalics@gmx.at>
4538
4539 * simple.el (choose-completion): Use quit-window (Bug#11567).
4540
a149fa51
CY
45412012-05-29 Chong Yidong <cyd@gnu.org>
4542
4543 * whitespace.el (whitespace-cleanup): Fix usage of
4544 whitespace-empty-at-bob-regexp (Bug#11492).
4545
2b311310
AH
45462012-05-29 Aaron S. Hawley <aaron.s.hawley@gmail.com>
4547
4548 * vc/vc.el (vc-revert, vc-rollback): Dont kill vc-diff buffer on
4549 revert (Bug#11488).
4550
b9cb2387
JL
45512012-05-29 Juri Linkov <juri@jurta.org>
4552
4553 * isearch.el (isearch-mode-map): Bind `M-s _' to
4554 `isearch-toggle-symbol'. Bind `M-s c' to
4555 `isearch-toggle-case-fold'.
4556 (search-map): Bind `M-s _' to `isearch-forward-symbol'.
4557 (isearch-forward): Add `M-s _' to the docstring.
4558 (isearch-forward-symbol, isearch-toggle-case-fold)
4559 (isearch-symbol-regexp): New functions. (Bug#11381)
4560
d5e61c1c
JL
45612012-05-29 Juri Linkov <juri@jurta.org>
4562
4563 * isearch.el (isearch-word): Add docstring. (Bug#11381)
4564 (isearch-occur, isearch-search-and-update): If `isearch-word' is
4565 a function, call it to get the regexp.
4566 (isearch-message-prefix): If `isearch-word' holds a symbol, use its
4567 property `isearch-message-prefix' instead of the string "word ".
4568 (isearch-search-fun-default): For the case of `isearch-word',
4569 return a lambda that calls re-search-forward/re-search-backward
4570 with a regexp returned by `word-search-regexp' or by the function
4571 in `isearch-word'.
4572
8cbd80f7
JL
45732012-05-29 Juri Linkov <juri@jurta.org>
4574
4575 * isearch.el (isearch-search-fun-default): New function.
4576 (isearch-search-fun): Move default part to the new function
4577 `isearch-search-fun-default'.
4578 (isearch-search-fun-function): Set the default value to
4579 `isearch-search-fun-default'. (Bug#11381)
4580
4581 * comint.el (comint-history-isearch-end):
4582 Use `isearch-search-fun-default'.
4583 (comint-history-isearch-search): Use `isearch-search-fun-default'
4584 and remove spacial case for `isearch-word'.
4585 (comint-history-isearch-wrap): Remove spacial case for
4586 `isearch-word'.
4587
4588 * hexl.el (hexl-isearch-search-function):
4589 Use `isearch-search-fun-default'.
4590
4591 * info.el (Info-isearch-search): Use `isearch-search-fun-default'.
4592 Use `word-search-regexp' for `isearch-word'.
4593
4594 * misearch.el (multi-isearch-search-fun):
4595 Use `isearch-search-fun-default'.
4596
4597 * simple.el (minibuffer-history-isearch-search):
4598 Use `isearch-search-fun-default' and remove spacial case for
4599 `isearch-word'.
4600 (minibuffer-history-isearch-wrap): Remove spacial case for
4601 `isearch-word'.
4602
4603 * textmodes/reftex-global.el (reftex-isearch-wrap-function):
4604 Remove spacial case for `isearch-word'.
4605 (reftex-isearch-isearch-search): Use `isearch-search-fun-default'.
4606
85c8c5b6
AM
46072012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
4608
4609 Decrease XEmacs incompatibilities.
4610 * textmodes/flyspell.el (flyspell-check-pre-word-p):
4611 Use `string-match'.
4612 (flyspell-delete-region-overlays): Use alternative definition for
4613 XEmacs.
4614 (flyspell-delete-all-overlays): Use `flyspell-delete-region-overlays'.
4615 (flyspell-word): Use `process-kill-without-query' if XEmacs.
4616 (flyspell-mode-on): Use `interactive-p' if XEmacs.
4617 (flyspell-incorrect-face, flyspell-duplicate-face): Do not use
4618 `define-obsolete-face-alias' under XEmacs, but old method.
4619
4620 * textmodes/ispell.el (ispell-with-no-warnings): XEmacs alternative
4621 `with-no-warnings' definition or Emacs alias.
4622 (ispell-command-loop, ispell-message): Use `ispell-with-no-warnings'.
4623 (ispell-word): Do not use `region-p' if XEmacs.
4624
8cab9efc
AM
46252012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
4626
4627 * textmodes/ispell.el (ispell-find-aspell-dictionaries):
4628 Check for `ispell-dictionary-base-alist' instead of full
4629 `ispell-dictionary-alist'.
4630 (ispell-init-process): Show spellchecker when starting new Ispell
4631 process.
4632
fda91268
RZ
46332012-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
4634
4635 * progmodes/vhdl-mode.el: Sync with upstream 3.33.28.
4636 http://www.iis.ee.ethz.ch/~zimmi/emacs/vhdl-mode.html#release-notes-3.33
4637
694ea8e3
JB
46382012-05-27 Juanma Barranquero <lekktu@gmail.com>
4639
4640 * version.el (motif-version-string, gtk-version-string)
4641 (ns-version-string): Declare.
4642
e4d4f539
JL
46432012-05-27 Juri Linkov <juri@jurta.org>
4644
4645 * emacs-lisp/lisp-mode.el (eval-defun-2): Use `eval-sexp-add-defvars'
4646 after the `eval-defun-1' specialcaseing
4647 like in `edebug-eval-defun' (bug#10181).
4648
4649 * emacs-lisp/edebug.el (edebug-eval-defun): Set `face-documentation'
4650 like in `eval-defun-1'.
4651
33017faf 46522012-05-27 Eli Zaretskii <eliz@gnu.org>
b30b64b9 4653
fda91268
RZ
4654 * mail/sendmail.el (mail-yank-region):
4655 Recognize rmail-yank-current-message in addition to insert-buffer.
4656 Fixes mail-mode's "C-c C-r" that otherwise does nothing when invoked in
b30b64b9
EZ
4657 a *mail* buffer created through rmail-start-mail with sendmail as
4658 mail-user-agent.
4659
33017faf
GM
46602012-05-27 Chong Yidong <cyd@gnu.org>
4661
4662 * net/gnutls.el (gnutls-min-prime-bits): Improve docstring.
4663 Default to 256 (Bug#11267).
4664
4665 * help.el (describe-mode): Doc fix.
4666
04188bb9
GM
46672012-05-26 Glenn Morris <rgm@gnu.org>
4668
38264cc9
GM
4669 * w32-fns.el (w32-init-info): Remove.
4670 * paths.el (Info-default-directory-list): Add w32-init-info equivalent.
4671
eb7afdad
GM
4672 * info.el (info-initialize): For self-contained NS builds, put the
4673 included info/ directory at the front. (Bug#2791)
4674
04188bb9
GM
4675 * paths.el (Info-default-directory-list): Make it a defcustom,
4676 mainly so that we can use custom-initialize-delay.
4677
a179e3f7
SM
46782012-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
4679
43416392
SM
4680 * subr.el (buffer-has-markers-at): Mark obsolete.
4681
a179e3f7 4682 * subr.el (lambda): Use declare.
43416392 4683
a179e3f7
SM
4684 * emacs-lisp/lisp-mode.el (lambda):
4685 * emacs-lisp/edebug.el (lambda): Move properties to its definition.
4686
34a008d9
AH
46872012-05-26 Aaron S. Hawley <aaron.s.hawley@gmail.com>
4688
4689 * thingatpt.el (forward-same-syntax): Handle no ARG case. (Bug#11560)
4690
0a3b289f
GM
46912012-05-26 Glenn Morris <rgm@gnu.org>
4692
4693 * progmodes/cc-mode.el (auto-mode-alist): Fix typo.
4694
758c81e8
GM
46952012-05-25 Glenn Morris <rgm@gnu.org>
4696
f9f334f0
GM
4697 * paths.el: Remove no-byte-compile.
4698 * loadup.el: No need to load paths.el uncompiled.
4699
87eb79c2
GM
4700 * image.el (imagemagick-types-inhibit): Doc fix.
4701
758c81e8
GM
4702 * version.el: Remove no-byte-compile and associated formatting.
4703 * loadup.el: No need to load version.el uncompiled. AFAICS, this
4704 is ancient code from when there was an "inc-vers.el".
4705
e7e85dc0
SM
47062012-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
4707
4708 * progmodes/gdb-mi.el: Minor style changes.
4709 (gdb-enable-debug, gdb-speedbar-auto-raise, gdb-many-windows):
4710 Turn into minor modes.
4711 (gdb--if-arrow): Rename from gdb-if-arrow, make it hygienic.
4712 (gdb-mouse-until, gdb-mouse-jump): Adjust uses accordingly.
4713 (gdb-shell): Remove unneeded let-binding.
4714 (gdb-get-many-fields): Eliminate O(n²) behavior.
4715
f31237a4
EZ
47162012-05-25 Eli Zaretskii <eliz@gnu.org>
4717
4718 * cus-start.el <vertical-centering-font-regexp>: Avoid warning on
4719 platforms that don't link in fontset.c.
4720
bc1b21bb
JL
47212012-05-25 Juri Linkov <juri@jurta.org>
4722
4723 Use the same diff color scheme as in modern VCSes (bug#10181).
4724
4725 * vc/diff-mode.el (diff-header, diff-file-header): Remove "green"
4726 to avoid confusion with `diff-added' that now uses green colors.
4727 (diff-removed): Use shades of red.
4728 (diff-added): Use shades of green.
4729 (diff-changed): Leave just the yellow color.
4730 (diff-use-changed-face): New variable.
4731 (diff-font-lock-keywords): Use `diff-use-changed-face' to decide
4732 how to highlight context diff changes.
4733 (diff-refine-change): Use shades of yellow.
4734 (diff-refine-removed): New face that uses shades of red.
4735 (diff-refine-added): New face that uses shades of green.
4736 (diff-refine-hunk): Use `diff-refine-change', `diff-refine-added',
4737 `diff-refine-removed' in the call to `smerge-refine-subst'
4738 depending on the value of `diff-use-changed-face'.
4739
4740 * vc/smerge-mode.el (smerge-mine): Use shades of red.
4741 (smerge-other): Use shades of green.
4742 (smerge-base): Use shades of yellow.
4743 (smerge-refined-change): Empty face.
4744 (smerge-refined-removed): New face that uses shades of red.
4745 (smerge-refined-added): New face that uses shades of green.
4746 (smerge-refine-subst): Rename arg `props' to `props-c'. Add new
4747 args `props-r' and `props-a', and use them. Doc fix.
4748 (smerge-refine): Evaluate `smerge-use-changed-face' and depending
4749 on its value use different faces `smerge-refined-change',
4750 `smerge-refined-removed', `smerge-refined-added' in the call to
4751 `smerge-refine-subst'.
4752
4753 * vc/ediff-init.el (ediff-current-diff-A, ediff-fine-diff-A):
4754 Add face condition `min-colors 88' with shades of red.
4755 (ediff-current-diff-B, ediff-fine-diff-B): Add face condition
4756 `min-colors 88' with shades of green.
4757 (ediff-current-diff-C, ediff-fine-diff-C): Add face condition
4758 `min-colors 88' with shades of yellow.
4759
6df9112c
GM
47602012-05-24 Glenn Morris <rgm@gnu.org>
4761
ead5edc0
GM
4762 * paths.el (prune-directory-list, remote-shell-program): Move to...
4763 * files.el (prune-directory-list, remote-shell-program): ...here.
4764 For the latter, delay initialization, prefer ssh, just search PATH.
4765
f18b81e6
GM
4766 * paths.el (term-file-prefix): Move to faces.el (the only user).
4767 * faces.el (term-file-prefix): Move here, make it a defcustom.
4768
ee2f89a6
GM
4769 * paths.el (news-directory, news-path, news-inews-program):
4770 Move to gnus/nnspool.el.
61a583ca 4771
f8815e4c
GM
4772 * paths.el (gnus-default-nntp-server): Remove (gnus.el defines it).
4773
c8f3b42c
GM
4774 * paths.el (rmail-file-name, rmail-spool-directory): Move from here...
4775 * mail/rmail.el (rmail-file-name, rmail-spool-directory): ... to here.
4776 Make the latter a defcustom, with a delayed initialization.
4777
6df9112c
GM
4778 * paths.el (gnus-nntp-service, gnus-local-organization): Remove.
4779 These were deleted from Gnus itself late 2010.
4780
5dadff36
JB
47812012-05-22 Juanma Barranquero <lekktu@gmail.com>
4782
9e1701c6
JB
4783 * progmodes/which-func.el (which-func-ff-hook):
4784 Check against user-error, not error.
4785
bd7239f5 4786 * emacs-lisp/edebug.el (top): Do not load or set up loading of
5dadff36
JB
4787 cl-specs.el, which no longer exists.
4788
3290526d
GM
47892012-05-22 Glenn Morris <rgm@gnu.org>
4790
4791 * info.el (info-emacs-bug): New command.
4792 * menu-bar.el (menu-bar-help-menu): Add "How to Report a Bug" to Help.
4793 * mail/emacsbug.el (report-emacs-bug): Replace with info-emacs-bug.
4794
ff0c3cfb
GM
47952012-05-21 Glenn Morris <rgm@gnu.org>
4796
4797 * makefile.w32-in (update-subdirs-SH):
4798 * Makefile.in (update-subdirs): Update for moved update-subdirs.
4799
5814f126
SM
48002012-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
4801
a52c0aa0
SM
4802 * hi-lock.el (hi-lock-face-defaults): Move obsolete before definition.
4803
5814f126
SM
4804 * progmodes/compile.el (compilation-error-regexp-alist-alist):
4805 Simplify Maven regexp, and make sure the file can't start with a space
4806 (bug#11517).
4807
b847032c
GM
48082012-05-21 Glenn Morris <rgm@gnu.org>
4809
4810 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
4811 Scrap superfluous subshells.
4812
3858bfe7
SM
48132012-05-19 Stefan Monnier <monnier@iro.umontreal.ca>
4814
4815 * emacs-lisp/bytecomp.el (byte-compile-root-dir): New var.
4816 (byte-compile-warning-prefix, batch-byte-compile-file): Use it.
4817
d14b0029
JB
48182012-05-19 Jay Belanger <jay.p.belanger@gmail.com>
4819
4820 * calc/calc.el (calc-ensure-consistent-units): New variable.
4821
a52c0aa0
SM
4822 * calc/calc-units.el (math-consistent-units-p)
4823 (math-check-unit-consistency): New functions.
4824 (calc-quick-units, calc-convert-units):
4825 Use `math-check-unit-consistency' when `calc-ensure-consistent-units'
4826 is non-nil.
d14b0029
JB
4827 (calc-extract-units): Fix typo.
4828
60c4db3a
SM
48292012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
4830
77f3b62e
SM
4831 * vc/vc-bzr.el (vc-bzr-state-heuristic): Save match-data around sha1.
4832
60c4db3a
SM
4833 * textmodes/flyspell.el: Commenting style, plus code simplifications.
4834 (flyspell-default-deplacement-commands): Don't spell check after
4835 repeated window/frame switches (e.g. triggered by mouse-movement).
4836 (flyspell-delay-commands, flyspell-deplacement-commands): Use mapc.
4837 (flyspell-debug-signal-word-checked): Simplify and fit in 80 cols.
4838 (flyspell-casechars-cache, flyspell-ispell-casechars-cache)
4839 (flyspell-not-casechars-cache, flyspell-ispell-not-casechars-cache):
4840 Remove unused vars.
4841 (flyspell-get-casechars, flyspell-get-not-casechars):
4842 Simplify; Don't bother removing a ] just to add it back.
4843 * textmodes/ispell.el (ispell-program-name): Use executable-find.
4844
d209e2fb 48452012-05-18 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
b1a10716
RS
4846
4847 * calc/calc-lang.el (math-C-parse-bess, math-C-parse-fma):
4848 New functions.
bd7239f5 4849 (math-function-table): Add support for more C functions.
b1a10716 4850
3f1b25b5
AM
48512012-05-18 Agustín Martín Domingo <agustin.martin@hispalinux.es>
4852
090bd7cb
JB
4853 * textmodes/flyspell.el (flyspell-check-pre-word-p)
4854 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
4855 Protect delay handling for otherchars against empty otherchars.
3f1b25b5 4856
b581bb5c
SM
48572012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
4858
4859 * emacs-lisp/lisp-mode.el (doc-string-elt): Move those properties to
4860 their respective macro declarations.
4861 * skeleton.el (define-skeleton):
4862 * progmodes/compile.el (define-compilation-mode):
4863 * ibuf-macs.el (define-ibuffer-sorter, define-ibuffer-op)
4864 (define-ibuffer-filter):
4865 * emacs-lisp/generic.el (define-generic-mode):
4866 * emacs-lisp/easy-mmode.el (define-minor-mode)
4867 (define-globalized-minor-mode):
4868 * emacs-lisp/cl-macs.el (defun*, defmacro*, defstruct, deftype):
4869 * emacs-lisp/byte-run.el (defsubst):
4870 * custom.el (deftheme): Add doc-string metadata.
4871
70b8ef8f
SM
48722012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
4873
4874 * emacs-lisp/cl-macs.el, emacs-lisp/cl.el: Move indent info.
4875
b1198e17
SM
48762012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
4877
9abdc45d
SM
4878 * emacs-lisp/pcase.el (pcase--u1): Avoid ((lambda ...) ...).
4879
b1198e17
SM
4880 * emacs-lisp/cl.el: Add edebug specs from cl-specs.el.
4881 * emacs-lisp/cl-macs.el: Idem.
4882 * emacs-lisp/cl-specs.el: Remove.
4883
4735906a
SM
48842012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
4885
4886 Minor renaming of internal CL functions and variables.
4887 * emacs-lisp/cl-seq.el (cl--adjoin): Rename from cl-adjoin.
4888 (cl--position): Rename from cl-position.
4889 (cl--delete-duplicates): Rename from cl-delete-duplicates.
4890 * emacs-lisp/cl.el (cl--gensym-counter): Rename from *gensym-counter*.
4891 (cl--random-state): Rename from *random-state*.
4892
ac348012
SM
48932012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
4894
4895 * emacs-lisp/cl-macs.el (cl-transform-lambda): Don't add spurious
4896 parens around the arg list (bug#11499).
4897
a0a79cde
JL
48982012-05-17 Juri Linkov <juri@jurta.org>
4899
4900 * isearch.el (word-search-regexp, word-search-backward)
4901 (word-search-forward, word-search-backward-lax)
4902 (word-search-forward-lax): Move functions from search.c
4903 (bug#10145, bug#11381).
4904
65034a51
AM
49052012-05-16 Agustín Martín Domingo <agustin.martin@hispalinux.es>
4906
090bd7cb
JB
4907 * textmodes/flyspell.el (flyspell-check-pre-word-p)
4908 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
4909 Delay for otherchars as for normal word components.
65034a51 4910
1a72a195
SM
49112012-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
4912
4913 * minibuffer.el (completion--sifn-requote): Fix last change.
4914 (minibuffer-local-must-match-filename-map):
4915 Move define-obsolete-variable-alias before its var.
4916
fdb058c2
SM
49172012-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
4918
c41045e6
SM
4919 * emacs-lisp/pcase.el (pcase-let*, pcase-let): Fix edebug spec.
4920
036dfb8b
SM
4921 * minibuffer.el (completion--sifn-requote): Handle sifn's truncation
4922 behavior.
4923 (completion--string-equal-p): New function.
4924 (completion--twq-all): Use it to get better assertion failure data.
4925
2473256d
SM
4926 Only handle ".." and '..' quoting in shell-mode (bug#11466).
4927 * shell.el (shell--unquote&requote-argument, shell--unquote-argument)
4928 (shell--requote-argument): New functions.
4929 (shell-completion-vars): Use them.
4930 (shell--parse-pcomplete-arguments): Rename from
4931 shell-parse-pcomplete-arguments.
4932 * comint.el (comint-word): Obey comint-file-name-quote-list. Simplify.
4933 (comint--unquote&requote-argument): Don't handle ".." and '..' quoting.
4934 Obey comint-file-name-quote-list.
4935
fdb058c2
SM
4936 * emacs-lisp/smie.el (smie-indent--bolp-1): New function.
4937 (smie-indent-keyword): Use it.
4938
51fa99f1
SM
49392012-05-14 Stefan Merten <smerten@oekonux.de>
4940
4941 * textmodes/rst.el (rst-re-alist): Fix loading (bug#11462).
4942
e18afed7 49432012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
d9d1dfef
SM
4944
4945 * net/rlogin.el (rlogin-mode-map): Fix last change.
4946
e18afed7 49472012-05-14 Jason L. Wright <jason.wright@inl.gov> (tiny change)
8633b1f4
JW
4948
4949 * mail/smtpmail.el (smtpmail-send-command): Send the command and
4950 the following \r\n using a single `process-send-string', since the
4951 Lotus SMTP server refuses to accept any commands if they are sent
e18afed7 4952 with two `process-send-string's (Bug#11444).
8633b1f4 4953
e18afed7 49542012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
fe263b8f 4955
fdb058c2
SM
4956 * shell.el (shell-parse-pcomplete-arguments):
4957 Obey pcomplete-arg-quote-list inside double-quoted args (Bug#11348).
e18afed7 4958
2d21d7f6
WJ
49592012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
4960
e18afed7 4961 * image-mode.el: Fit to width/height for rotated images (Bug#11431).
2d21d7f6
WJ
4962 (image-transform-scale, image-transform-right-angle-fudge): New vars.
4963 (image-transform-width, image-transform-fit-width): New functions.
4964 (image-transform-properties): Use them.
4965 (image-transform-check-size): New function.
4966 (image-toggle-display-image): Use it (for testing).
4967 (image-transform-set-rotation): Reduce angle mod 360.
4968 Delete obsolete comment.
4969
7102e6d0
WJ
49702012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
4971
4972 * image-mode.el: Fix scaling (bug#11399).
4973 (image-transform-resize): Doc fix.
4974 (image-transform-properties): Default scale is 1 and height should
4975 be an integer.
4976
06bc5e6e
SM
49772012-05-13 Johan Bockgård <bojohan@gnu.org>
4978
4979 * emacs-lisp/smie.el (smie-next-sexp): Use accessor `op-forw' rather
4980 than hard-coding `car', to fix misbehavior when moving forward.
4981
0ae03b6a
CY
49822012-05-13 Chong Yidong <cyd@gnu.org>
4983
4984 * emacs-lisp/tabulated-list.el (tabulated-list-format)
4985 (tabulated-list-entries, tabulated-list-padding)
4986 (tabulated-list-sort-key): Make permanent-local.
4987
4988 * ebuff-menu.el: Adapt to Buffer Menu changes (Bug#11455).
4989 (electric-buffer-list): Put electric buffer menu
4990 command descriptions in this docstring, instead of the docstring
4991 of electric-buffer-menu-mode. Code cleanups.
4992 (electric-buffer-menu-mode): Use define-derived-mode. Rename from
4993 Electric-buffer-menu-mode.
4994 (electric-buffer-update-highlight): Minor code cleanup.
4995
205a7391
MA
49962012-05-13 Michael Albinus <michael.albinus@gmx.de>
4997
4998 * net/dbus.el (dbus-call-method): Restore events not from D-Bus.
4999 (Bug#11447)
5000
e5bd0a28
SM
50012012-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
5002
5003 Move define-obsolete-variable-alias before the var's definition.
5004 * vc/log-edit.el (vc-comment-ring, vc-comment-ring-index):
5005 * tooltip.el (tooltip-hook):
5006 * textmodes/reftex-toc.el (reftex-toc-map):
5007 * textmodes/reftex-sel.el (reftex-select-label-map)
5008 (reftex-select-bib-map):
5009 * textmodes/reftex-index.el (reftex-index-map)
5010 (reftex-index-phrases-map):
5011 * speedbar.el (speedbar-syntax-table, speedbar-key-map):
5012 * progmodes/meta-mode.el (meta-mode-map):
5013 * novice.el (disabled-command-hook):
5014 * loadhist.el (unload-hook-features-list):
5015 * frame.el (blink-cursor):
5016 * files.el (find-file-not-found-hooks, write-file-hooks)
5017 (write-contents-hooks):
5018 * emulation/tpu-edt.el (GOLD-map):
5019 * emacs-lock.el (emacs-lock-from-exiting):
5020 * emacs-lisp/generic.el (generic-font-lock-defaults):
5021 * emacs-lisp/chart.el (chart-map):
5022 * dos-fns.el (register-name-alist):
5023 * dired-x.el (dired-omit-files-p):
5024 * desktop.el (desktop-enable):
5025 * cus-edit.el (custom-mode-hook):
5026 * buff-menu.el (buffer-menu-mode-hook):
5027 * bookmark.el (bookmark-read-annotation-text-func)
5028 (bookmark-exit-hooks):
5029 * allout.el (allout-mode-deactivate-hook)
5030 (allout-exposure-change-hook, allout-structure-added-hook)
5031 (allout-structure-deleted-hook, allout-structure-shifted-hook):
5032 * dirtrack.el (dirtrack-toggle, dirtrackp, dirtrack-debug-toggle)
5033 (dirtrack-debug): Move call to define-obsolete-variable-alias so it
5034 comes before the corresponding variable's definition.
5035
ac59c2f6
CY
50362012-05-12 Chong Yidong <cyd@gnu.org>
5037
5038 * buff-menu.el (Buffer-menu-buffer+size-width): Doc fix (Bug#11454).
0d909786
CY
5039 (Buffer-menu-mouse-select): Restore function (Bug#11459).
5040 (Buffer-menu-mode-map): Bind it.
5041 (Buffer-menu--pretty-name): Add a mouse-face property.
ac59c2f6 5042
dee6c9a3
SM
50432012-05-11 Stefan Monnier <monnier@iro.umontreal.ca>
5044
2171cea5
SM
5045 * progmodes/prolog.el: Use SMIE. Cleanup regexp setup.
5046 (prolog-upper-case-string, prolog-lower-case-string)
5047 (prolog-atom-char-regexp, prolog-atom-regexp): Initialize in defconst.
5048 (prolog-use-smie, prolog-smie-grammar): New vars.
5049 (prolog-smie-forward-token, prolog-smie-backward-token)
5050 (prolog-smie-rules): New funs.
5051 (prolog-comment-indent): Remove.
5052 (prolog-mode-variables): Use default comment indentation instead.
5053 Setup SMIE.
5054 (prolog-build-case-strings, prolog-set-atom-regexps): Remove.
5055 (prolog-mode): Don't call them any more.
5056 (prolog-electric-colon, prolog-electric-dash)
5057 (prolog-edit-menu-insert-move): Use indent-according-to-mode.
5058
aa0382bd
SM
5059 * dabbrev.el (dabbrev-expand): Make "no expansion found" a user-error.
5060
dbacb4bd
SM
5061 * minibuffer.el (completion--twq-all): Again, allow case differences.
5062
13bdd94c
SM
5063 * term.el: Move keymap initialization code to be more idiomatic.
5064 (term-signals-menu, term-mode-map, term-raw-map, term-raw-escape-map)
5065 (term-terminal-menu): Move initialization into declaration.
5066 (term-escape-char): Let the user set it in her .emacs.
5067
ff46c759
SM
5068 * progmodes/sh-script.el: Use post-self-insert-hook&electric-pair-mode.
5069 Provide SMIE-based indentation (not enabled by default yet).
5070 (sh-mode-map): Don't bind electric keys.
5071 Use electric-pair-mode instead of skeleton-pair.
5072 (sh-assignment-regexp): Fit within 80 columns.
5073 (sh-indent-supported): Specify actual shell name instead of boolean.
5074 (sh--maybe-here-document): New fun, from sh-maybe-here-document.
5075 (sh-maybe-here-document): Use it. Make obsolete.
5076 (sh-electric-here-document-mode) New minor mode.
5077 (sh-mode): Use it. Don't set sh-indent-supported-here here.
5078 (sh-smie-sh-grammar, sh-smie--sh-operators, sh-smie--sh-operators-re)
5079 (sh-smie--sh-operators-back-re, sh-indent-after-continuation)
5080 (sh-smie-rc-grammar, sh-use-smie): New vars.
5081 (sh-smie--keyword-p, sh-smie--newline-semi-p, sh-smie--sh-keyword-p)
5082 (sh-smie-sh-forward-token, sh-smie--looking-back-at-continuation-p)
5083 (sh-smie-sh-backward-token, sh-smie--continuation-start-indent)
5084 (sh-smie-sh-rules, sh-smie-rc-rules, sh-smie--sh-keyword-in-p)
5085 (sh-smie--rc-after-special-arg-p, sh-smie-rc-backward-token)
5086 (sh-smie-sh-rules, sh-smie--rc-newline-semi-p): New functions.
5087 (sh-set-shell): Use smie-setup if requested.
5088
dee6c9a3
SM
5089 * term.el (term-set-escape-char): Properly set term-escape-char.
5090 See http://stackoverflow.com/questions/10524656.
5091
9f9aa044
CY
50922012-05-10 Chong Yidong <cyd@gnu.org>
5093
5094 * ffap.el (ffap-url-unwrap-local): Make it work right (Bug#9131).
5095 Use url-generic-parse-url, and handle host names and Windows
5096 filenames properly.
5097 (ffap-url-unwrap-remote): Use url-generic-parse-url.
5098 (ffap-url-unwrap-remote): Accept list values, specifying a list of
5099 URL schemes to work on.
5100 (ffap--toggle-read-only): New function.
5101 (ffap-read-only, ffap-read-only-other-window)
5102 (ffap-read-only-other-frame): Use it.
5103 (ffap-fixup-url): Don't check ffap-ftp-regexp, since it is not
5104 necessary for ffap-url-unwrap-remote.
5105
836d29b3
DA
51062012-05-10 Dave Abrahams <dave@boostpro.com>
5107
5108 * cus-start.el (create-lockfiles): Add it.
5109
00fd78ed
CY
51102012-05-09 Chong Yidong <cyd@gnu.org>
5111
5112 * net/browse-url.el (browse-url-url-encode-chars): Use upper-case.
5113 (browse-url-encode-url): Encode spaces and quotes (Bug#6300).
5114
666b903b 51152012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
1cb51c12
SM
5116
5117 * shell.el (shell-completion-vars): Fix last change (bug#11348).
5118
666b903b 51192012-05-09 Chong Yidong <cyd@gnu.org>
18f00515
CY
5120
5121 * ansi-color.el (ansi-color-process-output): Check for validity of
5122 comint-last-output-start before using it. This avoids a bad
5123 interaction with gdb-mi's input/output buffer.
5124
666b903b 51252012-05-09 Glenn Morris <rgm@gnu.org>
fd075e7b
GM
5126
5127 * files.el (dir-locals-read-from-file):
5128 Mention dir-locals in any error message.
5129
666b903b 51302012-05-09 Chong Yidong <cyd@gnu.org>
25f292cd
CY
5131
5132 * emacs-lisp/package.el (package-built-in-p): Handle the `emacs'
5133 package (Bug#11410).
5134
f677562b
CY
5135 * emacs-lisp/package.el (package-buffer-info): Avoid putting local
5136 variables into description.
5137
666b903b 51382012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
3d53ee1b
SM
5139
5140 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list like
5141 shell-delimiter-argument-list (bug#11348).
5142 (shell-parse-pcomplete-arguments): Obey pcomplete-arg-quote-list.
5143
b499d8d0
JB
51442012-05-09 Juanma Barranquero <lekktu@gmail.com>
5145
8f6b6da8
JB
5146 * textmodes/rst.el: Silence byte-compiler warnings.
5147 (rst-re-alist, rst-reset-section-caches): Move around.
5148 (rst-re): Use `characterp', not `char-valid-p'.
5149 (font-lock-beg, font-lock-end): Declare.
5150
4824146a
JB
5151 * progmodes/idlw-shell.el (specs): Remove reference to deleted
5152 variable `idlwave-shell-activate-alt-keybindings' and simplify.
5153
b499d8d0
JB
5154 * eshell/esh-cmd.el (eshell-debug-command): Fix typo in previous change.
5155
ad89bb83
GM
51562012-05-08 Glenn Morris <rgm@gnu.org>
5157
5158 * files.el (auto-mode-alist): Treat ".make" like ".mk".
5159
8bba5a75
SM
51602012-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
5161
49ed9c8e
SM
5162 * vc/log-edit.el: Add GNU coding standards highlighting.
5163 (log-edit-font-lock-gnu-style)
5164 (log-edit-font-lock-gnu-keywords): New vars.
5165 (log-edit-font-lock-keywords): New fun.
5166 (log-edit-mode): Don't fold case in font-lock.
5167 (log-edit-font-lock-keywords): Do not assume case-folding.
5168
07d00b56
SM
5169 * imenu.el: Misc cleanup. Make docstrings out of comments.
5170 Use lexical-binding.
5171 (imenu--index-alist, imenu--last-menubar-index-alist)
5172 (imenu-menubar-modified-tick): Use defvar-local.
5173 (imenu--split-menu): Remove unused var.
5174 (imenu--cleanup-seen): Declare as global.
5175 (imenu--cleanup): Use dolist.
5176
8bba5a75
SM
5177 * subr.el (defvar-local): Add debug spec and doc-string position.
5178
5075bdb5
GM
51792012-05-08 Glenn Morris <rgm@gnu.org>
5180
090bd7cb 5181 * language/burmese.el, language/cham.el, language/czech.el:
c052c904
GM
5182 * language/english.el, language/georgian.el, language/greek.el:
5183 * language/japanese.el, language/khmer.el, language/korean.el:
5184 * language/lao.el, language/misc-lang.el, language/romanian.el:
5185 * language/sinhala.el, language/slovak.el, language/tai-viet.el:
5186 * language/thai.el, language/utf-8-lang.el:
5187 Remove no-byte-compile setting.
5188
5075bdb5
GM
5189 * play/zone.el (zone-pgm-stress): Don't pollute kill-ring. (Bug#11388)
5190
06f679a7
AH
51912012-05-08 Aaron S. Hawley <aaron.s.hawley@gmail.com>
5192
5193 * progmodes/make-mode.el (makefile-browse):
5194 Remove unnecessary interactive. (Bug#11324)
5195
03794570
GM
51962012-05-07 Glenn Morris <rgm@gnu.org>
5197
af8630f4
GM
5198 * forms-d2.el, forms-pass.el: Move to ../etc/forms directory.
5199
03794570
GM
5200 * international/mule.el (find-auto-coding): Make "unibyte: t" obsolete.
5201
f0809a9d
SM
52022012-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
5203
28be5ce7
SM
5204 * loadup.el: Preload newcomment.el.
5205 * newcomment.el: Move autoload-only code to toplevel.
5206
f0809a9d
SM
5207 * buff-menu.el (list-buffers--refresh): Mark `size' as right-align.
5208 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
5209 Handle new :right-align column property.
5210 (tabulated-list-print-col): Idem, plus use `display' text-property to
5211 try and preserve alignment for variable pitch fonts.
5212
1241b724
CY
52132012-05-07 Chong Yidong <cyd@gnu.org>
5214
5215 * emacs-lisp/tabulated-list.el: Add no-header-line alternative.
5216 (tabulated-list-use-header-line): New var.
5217 (tabulated-list-init-header): Use it.
5218 (tabulated-list-print-fake-header): New function.
5219 (tabulated-list-print): Use it.
5220 (tabulated-list-sort-button-map): Add non-header-line commands.
5221 (tabulated-list-init-header): Add column name property to basic
5222 labels as well.
5223 (tabulated-list-col-sort): Handle non-header-line button case.
5224 (tabulated-list--sort-by-column-name): Fix a corner case.
5225
f0809a9d
SM
5226 * buff-menu.el (list-buffers--refresh):
5227 Handle Buffer-menu-use-header-line.
1241b724 5228
e5f9458f
CY
52292012-05-06 Chong Yidong <cyd@gnu.org>
5230
5231 * buff-menu.el: Convert to Tabulated List mode.
5232 (Buffer-menu-buffer+size-width): Make obsolete.
5233 (Buffer-menu-name-width, Buffer-menu-size-width): New variables.
5234 (Buffer-menu-mode-map): Inherit from tabulated-list-mode-map.
5235 (Buffer-menu-mode): Derive from tabulated-list-mode. Move command
5236 documentation into docstring of buffer-menu.
5237 (Buffer-menu-toggle-files-only): Add an informative message.
5238 (Buffer-menu-sort): Convert to alias for tabulated-list-sort.
5239 (Buffer-menu-buffer, Buffer-menu-beginning, Buffer-menu-mark)
5240 (Buffer-menu-unmark, Buffer-menu-backup-unmark)
5241 (Buffer-menu-delete, Buffer-menu-save, Buffer-menu-not-modified)
5242 (Buffer-menu-execute, Buffer-menu-select)
5243 (Buffer-menu-marked-buffers, Buffer-menu-toggle-read-only)
5244 (Buffer-menu-bury): Use Tabulated List machinery.
5245 (Buffer-menu-mouse-select, Buffer-menu-sort-by-column)
5246 (Buffer-menu-sort-button-map, Buffer-menu-make-sort-button):
f0809a9d 5247 Delete.
e5f9458f
CY
5248 (list-buffers--refresh): New function.
5249 (list-buffers-noselect): Use it.
5250 (tabulated-list-entry-size->, Buffer-menu--pretty-name)
5251 (Buffer-menu--pretty-file-name): New helper functions.
5252
5253 * loadup.el: Preload tabulated-list.
5254
5255 * emacs-lisp/tabulated-list.el (tabulated-list-sort): Rename from
5256 tabulated-list-sort-column.
5257 (tabulated-list-init-header): Add the initial aligning space even
5258 if tabulated-list-padding is zero.
5259
e129292c
CS
52602012-05-06 Christopher Schmidt <christopher@ch.ristopher.com>
5261
5262 * emacs-lisp/cl-macs.el (cl-expr-contains): Handle cons cells
5263 whose cdr is not a cons cell correctly (bug#11038).
5264
6632d361
CY
52652012-05-06 Chong Yidong <cyd@gnu.org>
5266
e129292c
CS
5267 * emacs-lisp/tabulated-list.el (tabulated-list-format):
5268 Accept additional plist in column descriptors.
6632d361
CY
5269 (tabulated-list-init-header): Obey it.
5270 (tabulated-list-get-entry): New function.
5271 (tabulated-list-put-tag): Use it. Use string-width instead of
5272 length.
5273 (tabulated-list--column-number): New function.
5274 (tabulated-list-print): Use it.
e129292c
CS
5275 (tabulated-list-print-col): New function.
5276 Set `tabulated-list-column-name' property on each column's text.
6632d361 5277 (tabulated-list-print-entry): Use it.
e129292c
CS
5278 (tabulated-list-delete-entry, tabulated-list-set-col):
5279 New functions.
6632d361
CY
5280 (tabulated-list-sort-column): New command (Bug#11337).
5281
3cc99f68
CY
5282 * buff-menu.el (list-buffers): Move C-x C-b binding from
5283 buff-menu.el to bindings.el.
5284
5285 * ebuff-menu.el (Electric-buffer-menu-undefined): Use the
5286 :advertised-binding feature.
5287
52b61776
TN
52882012-05-06 Troels Nielsen <bn.troels@gmail.com> (tiny change)
5289
5290 * progmodes/compile.el (compilation-internal-error-properties):
5291 Calculate start position correctly when end-col is set but
5292 end-line is not (Bug#11382).
5293
ebfe2597
WJ
52942012-05-06 Wolfgang Jenkner <wjenkner@inode.at>
5295
5296 * man.el (Man-unindent): Use text-property-default-nonsticky to
5297 prevent untabify from inheriting face properties (Bug#11408).
5298
6d3f7c2f
SM
52992012-05-05 Stefan Merten <smerten@oekonux.de>
5300
5301 * textmodes/rst.el: Major merge with upstream development up to
5302 Docutils SVN r7399 / rst.el V1.2.1.
5303
5304 Clarify maintainership and authors.
5305
5306 (rst-extract-version, rst-cvs-header, rst-cvs-rev)
5307 (rst-cvs-timestamp, rst-svn-rev, rst-svn-timestamp)
5308 (rst-official-version, rst-official-cvs-rev, rst-version)
5309 (rst-package-emacs-version-alist): New functions and variables
5310 for version information.
5311
5312 (rst-bullets, rst-uri-schemes, rst-adornment-chars)
5313 (rst-max-inline-length, rst-re-alist-def, rst-re-alist)
5314 (rst-mode-syntax-table, rst-mode): New and corrected functions
5315 and variables representing reStructuredText features.
5316
5317 (rst-re): New function for reStructuredText regexes. Use in
5318 many places.
5319
5320 (rst-deprecated-keys, rst-call-deprecated, rst-define-key)
5321 (rst-mode-map): Rebind keys.
5322
5323 (rst-mode-lazy, rst-font-lock-keywords)
5324 (rst-font-lock-extend-region)
5325 (rst-font-lock-extend-region-internal)
5326 (rst-font-lock-extend-region-extend)
5327 (rst-font-lock-find-unindented-line-limit)
5328 (rst-font-lock-find-unindented-line-match)
5329 (rst-adornment-level, rst-font-lock-adornment-level)
5330 (rst-font-lock-adornment-match)
5331 (rst-font-lock-handle-adornment-pre-match-form)
5332 (rst-font-lock-handle-adornment-matcher): Major revision of
5333 font-locking. Integrate with other code. Use `jit-lock-mode'.
5334
5335 (rst-preferred-adornments, rst-adjust-hook)
5336 (rst-new-adornment-down, rst-preferred-bullets)
5337 (rst-preferred-bullets, rst-indent, rst-indent-width)
5338 (rst-indent-field, rst-indent-literal-normal)
5339 (rst-indent-literal-minimized, rst-indent-comment): Change,
5340 extend and improve customization.
5341
5342 (rst-line-homogeneous-p, rst-line-homogeneous-nodent-p)
5343 (rst-normalize-cursor-position, rst-get-decoration)
5344 (rst-straighten-deco-spacing, rst-re-bullets, rst-re-items)
5345 (rst-rstrip, rst-toc-insert-find-delete-contents)
5346 (rst-shift-fill-region, rst-compute-bullet-tabs)
5347 (rst-debug-print-tabs, rst-debug-mark-found)
5348 (rst-shift-region-guts, rst-shift-region-right)
5349 (rst-shift-region-left, rst-use-char-classes)
5350 (rst-font-lock-keywords-function)
5351 (rst-font-lock-indentation-point)
5352 (rst-font-lock-find-unindented-line-begin)
5353 (rst-font-lock-find-unindented-line-end)
5354 (rst-font-lock-find-unindented-line)
5355 (rst-font-lock-adornment-point, rst-font-lock-level)
5356 (rst-adornment-level-alist): Remove functions and variables.
5357
5358 (rst-compare-adornments, rst-get-adornment-match)
5359 (rst-suggest-new-adornment, rst-get-adornments-around)
5360 (rst-adornment-complete-p, rst-get-next-adornment)
5361 (rst-adjust-adornment, rst-display-adornments-hierarchy)
5362 (rst-straighten-adornments): Standardize function names to
5363 use "adornment" instead of "decoration". Correct callers.
5364 Similar standardizing in many places.
5365
5366 (rst-update-section, rst-adjust, rst-promote-region)
5367 (rst-enumerate-region, rst-bullet-list-region)
5368 (rst-repeat-last-character): Correct use of `interactive'.
5369
5370 (rst-classify-adornment, rst-find-all-adornments)
5371 (rst-get-hierarchy, rst-adjust-adornment, rst-toc-update)
5372 (rst-find-leftmost-column, rst-repeat-last-character):
5373 Refactor functions.
5374
5375 (rst-find-title-line, rst-reset-section-caches)
5376 (rst-get-adornments-around, rst-adjust-adornment-work)
5377 (rst-arabic-to-roman, rst-roman-to-arabic)
5378 (rst-insert-list-pos, rst-insert-list-new-item)
5379 (rst-insert-list-continue, rst-insert-list, rst-forward-line):
5380 New functions.
5381
5382 (rst-all-sections, rst-section-hierarchy)
5383 (rst-arabic-to-roman, rst-initial-enums, rst-initial-items):
5384 New variables.
5385
5386 (rst-toc-return-wincfg, rst-toc-quit-window): Use window
5387 configuration instead of only buffer. Change where necessary.
5388
5389 (rst-line-tabs, rst-compute-tabs, rst-indent-line)
5390 (rst-shift-region, rst-adaptive-fill): New functions for
5391 indentation and filling.
5392
5393 (rst-comment-line-break, rst-comment-indent)
5394 (rst-comment-insert-comment, rst-comment-region)
5395 (rst-uncomment-region): New functions for handling comments.
5396
5397 (rst-compile): Quote shell arguments.
5398
5399 (rst-compile-pdf-preview, rst-compile-slides-preview):
5400 Delete temporary files after use.
5401
a43f98b3
GM
54022012-05-05 Glenn Morris <rgm@gnu.org>
5403
48176e8b
GM
5404 * calendar/cal-html.el: Optionally include holidays in the output.
5405 Suggested by Ed Reingold <reingold@emr.cs.iit.edu>.
5406 (cal-html-holidays): New option.
5407 (cal-html-css-default): Add holiday entry.
5408 (holiday-in-range): Autoload it.
5409 (cal-html-htmlify-entry): Add optional class argument.
5410 (cal-html-htmlify-list): Add optional holidays argument.
5411 (cal-html-insert-agenda-days): Include holidays in the output.
5412 (cal-html-one-month): Maybe include holidays.
5413
a43f98b3
GM
5414 * calendar/holidays.el (holiday-in-range):
5415 Move here from cal-tex-list-holidays.
5416 * calendar/cal-tex.el (cal-tex-list-holidays):
5417 Make it an obsolete alias for holiday-in-range. Update all callers.
5418
fef9d149 54192012-05-05 Chong Yidong <cyd@gnu.org>
eceeb5fc
CY
5420
5421 * select.el (xselect--encode-string): Always use utf-8 for TEXT on
5422 Nextstep.
5423
248da2f4
RW
54242012-05-05 Ransom Williams <auvergnerw@gmail.com> (tiny change)
5425
5426 * files.el (file-auto-mode-skip): New var.
5427 (set-auto-mode-1): Use it.
5428
f95e9344
SM
54292012-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
5430
df96ab1e
SM
5431 * repeat.el: Use lexical-binding.
5432 (repeat-last-self-insert, repeat-num-input-keys-at-self-insert)
5433 (repeat-undo-count): Remove.
5434 (repeat):
5435 * progmodes/octave-mod.el (octave-abbrev-start):
5436 * progmodes/f90.el (f90-abbrev-start):
5437 * face-remap.el (text-scale-adjust):
5438 * kmacro.el (kmacro-call-macro): Use set-temporary-overlay-map.
5439
5342bb06
SM
5440 * emacs-lisp/pcase.el (pcase--let*): New function.
5441 (pcase--expand, pcase-codegen, pcase--q1): Use it to reduce nesting
5442 a bit more.
5443 (pcase--split-pred): Be more clever about ruling out overlap between
5444 a predicate and some constant pattern.
5445 (pcase--q1): Use `null' instead of (eq foo nil).
5446
f95e9344
SM
5447 * subr.el (setq-local, defvar-local): New macros.
5448 (kbd): Redefine as an alias.
5449 (with-selected-window): Leave unrelated frames alone.
5450 (set-temporary-overlay-map): New function.
5451
71873e2b
SM
54522012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
5453
5454 * subr.el (user-error): New function.
5455 * window.el (switch-to-buffer):
5456 * vc/smerge-mode.el (smerge-resolve-function, smerge-resolve)
5457 (smerge-match-conflict):
5458 * simple.el (previous-matching-history-element)
5459 (next-matching-history-element, goto-history-element, undo-more)
5460 (undo-start):
5461 * progmodes/etags.el (visit-tags-table-buffer, find-tag-tag)
5462 (find-tag-noselect, find-tag-in-order, etags-goto-tag-location)
5463 (next-file, tags-loop-scan, list-tags, complete-tag):
5464 * progmodes/compile.el (compilation-loop):
5465 * mouse.el (mouse-minibuffer-check):
5466 * man.el (Man-bgproc-sentinel, Man-goto-page):
5467 * info.el (Info-find-node-2, Info-extract-pointer, Info-history-back)
5468 (Info-history-forward, Info-follow-reference, Info-menu)
5469 (Info-extract-menu-item, Info-extract-menu-counting)
5470 (Info-forward-node, Info-backward-node, Info-next-menu-item)
5471 (Info-last-menu-item, Info-next-preorder, Info-last-preorder)
5472 (Info-next-reference, Info-prev-reference, Info-index)
5473 (Info-index-next, Info-follow-nearest-node)
5474 (Info-copy-current-node-name):
5475 * imenu.el (imenu--make-index-alist)
5476 (imenu-default-create-index-function, imenu-add-to-menubar):
5477 * files.el (basic-save-buffer, recover-file):
5478 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
5479 * emacs-lisp/checkdoc.el (checkdoc-continue, checkdoc-comments)
5480 (checkdoc-message-text, checkdoc-defun):
5481 * dabbrev.el (dabbrev-completion, dabbrev--abbrev-at-point):
5482 * cus-edit.el (customize-changed-options, customize-rogue)
5483 (customize-saved, custom-variable-set, custom-variable-mark-to-save)
5484 (custom-variable-mark-to-reset-standard)
5485 (custom-variable-reset-backup, custom-face-mark-to-reset-standard)
5486 (custom-file):
5487 * completion.el (check-completion-length):
5488 * comint.el (comint-search-arg)
5489 (comint-previous-matching-input-string-position)
5490 (comint-previous-matching-input)
5491 (comint-replace-by-expanded-history-before-point, comint-send-input)
5492 (comint-copy-old-input, comint-backward-matching-input)
5493 (comint-goto-process-mark, comint-set-process-mark):
5494 * calendar/calendar.el (calendar-cursor-to-date): Use it.
5495 * bindings.el (debug-ignored-errors): Remove regexps, add `user-error'.
5496
8a61ee22
SM
54972012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
5498
66408d1e
SM
5499 * dabbrev.el (dabbrev--ignore-case-p): New function.
5500 (dabbrev-completion, dabbrev-expand, dabbrev--substitute-expansion):
5501 Use it.
5502
8a61ee22
SM
5503 * files.el (automount-dir-prefix): Mark as obsolete.
5504
3c74813a
GM
55052012-05-04 Glenn Morris <rgm@gnu.org>
5506
5507 * patcomp.el, play/bruce.el: Move to obsolete/.
5508
0bfcf5c5
PE
55092012-05-04 Paul Eggert <eggert@cs.ucla.edu>
5510
5511 Fix minor Y10k bugs.
5512 * arc-mode.el (archive-unixdate):
5513 * autoinsert.el (auto-insert-alist):
5514 * calc/calc-forms.el (math-this-year):
5515 * emacs-lisp/copyright.el (copyright-current-year)
5516 (copyright-update-year, copyright):
5517 * tar-mode.el (tar-clip-time-string):
5518 * time.el (display-time-update):
5519 Don't assume years have 4 digits.
5520
78f3273a
CY
55212012-05-04 Chong Yidong <cyd@gnu.org>
5522
5523 * dos-w32.el (file-name-buffer-file-type-alist)
5524 (direct-print-region-use-command-dot-com):
5525 * ffap.el (ffap-menu-regexp):
5526 * find-file.el (ff-special-constructs):
5527 * follow.el (follow-debug):
5528 * forms.el (forms--debug):
5529 * iswitchb.el (iswitchb-all-frames):
5530 * ido.el (ido-all-frames):
5531 * emacs-lisp/timer.el (timer-max-repeats):
5532 * mail/feedmail.el (feedmail-mail-send-hook)
5533 (feedmail-mail-send-hook-queued):
5534 * mail/footnote.el (footnote-signature-separator):
5535 * mail/mailabbrev.el (mail-alias-separator-string)
5536 (mail-abbrev-mode-regexp):
5537 * mail/rmail.el (rmail-speedbar-match-folder-regexp):
5538 * progmodes/idlwave.el (idlwave-libinfo-file)
5539 (idlwave-default-completion-case-is-down)
5540 (idlwave-library-routines): Convert defvars to defcustoms.
5541
5542 * mail/rmail.el (rmail-decode-mime-charset):
5543 * progmodes/idlw-shell.el (idlwave-shell-print-expression-function)
5544 (idlwave-shell-fix-inserted-breaks)
5545 (idlwave-shell-activate-alt-keybindings)
5546 (idlwave-shell-use-breakpoint-glyph):
5547 * facemenu.el (facemenu-unlisted-faces): Delete obsolete vars.
5548
f7ae6719
SM
55492012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
5550
5551 * minibuffer.el (completion--twq-all): Beware completion-ignore-case.
5552
47086495
WS
55532012-05-03 Wilson Snyder <wsnyder@wsnyder.org>
5554
5555 * progmodes/verilog-mode.el (font-lock-keywords):
5556 Fix mis-highligting auto. Reported by Craig Barner.
5557 (verilog-auto, verilog-auto-undef): Add AUTOUNDEF to remove
fc0c31f8 5558 defines from global name space. Reported by Dan Dever.
47086495
WS
5559 (verilog-auto-reset, verilog-auto-reset-widths)
5560 (verilog-auto-tieoff): Support using unbased numbers for
5561 AUTORESET and AUTOTIEOFF.
5562 (verilog-submit-bug-report): Update variable list.
5563 (verilog-read-auto-params): Fix AUTOINPUT regexps containing
fc0c31f8 5564 parenthesis from not matching. Reported by Michael Rytting.
47086495
WS
5565 (verilog-auto-template-lint): Fix hash error when linting modules
5566 with no used templates.
5567 (verilog-warn, verilog-warn-error)
5568 (verilog-warn-fatal): When non-interactive report multiple
5569 warnings before exiting. Suggested by Brad Dobbie.
5570 (verilog-auto-template-lint, verilog-auto-template-warn-unused)
5571 (verilog-read-auto-template): Add `verilog-auto-template-warn-unused'
5572 to report unused template errors. Reported by Brad Dobbie.
5573 (verilog-read-decls): Fix AUTOWIRE etc on supply0, supply1 type
fc0c31f8 5574 nets, bug438. Reported by Vns Blore.
47086495
WS
5575 (verilog-auto-inout-module, verilog-auto-reg)
5576 (verilog-read-decls, verilog-read-sub-decls-sig)
5577 (verilog-signals-edit-wire-reg, verilog-signals-with):
5578 Fix passing of Verilog data types in ANSI input/output ports
fc0c31f8 5579 such as "output logic" into the AUTOs. Special case "wire" and
47086495
WS
5580 "reg" for backwards compatibility presuming Verilog 2001.
5581 (verilog-auto-ascii-enum): Add "auto enum" as alias.
5582 (verilog-preprocess): Fix replication of preprocess output.
5583 Reported by Brad Dobbie.
5584 (verilog-auto-inst-interfaced-ports):
5585 Create verilog-auto-inst-interfaced-ports, bug429.
5586 Reported by Julian Gorfajn.
5587 (verilog-after-save-font-hook)
5588 (verilog-before-save-font-hook): New variable.
5589 (verilog-modi-cache-results, verilog-save-font-mod-hooked)
5590 (verilog-save-font-mods): Wrap disabling fontification, reported
5591 by David Rogoff.
5592 (verilog-do-indent, verilog-pretty-declarations-auto)
5593 (verilog-sk-def-reg): Fix obeying `verilog-auto-lineup', bug305.
5594 Reported by Pierre-David Pfister.
5595 (verilog-set-auto-endcomments): Fix endtask auto comments outside
5596 of class declarations, bug292. Reported by Kevin Heilman.
5597 (verilog-read-decls): Fix 'parameter type' not appearing in
5598 AUTOINSTPARAM, bug340. Reported by Jonathan Greenlaw.
5599 (verilog-auto-logic): Fix when AUTOLOGIC present to properly do
fc0c31f8 5600 AUTOINPUTs, bug411. Reported by Jonathan Greenlaw.
47086495
WS
5601 (verilog-read-auto-lisp): Avoid syntax-ppss warning on AUTOLISP.
5602 Reported by David Kravitz.
5603
56042012-05-03 Michael McNamara <mac@mail.brushroad.com>
5605
5606 * progmodes/verilog-mode.el (verilog-pretty-expr): Don't line up
5607 assignment with tests in ifs and for loops.
5608 (verilog-extended-complete-re, verilog-complete-reg): Change so
5609 that DPI inport functions don't look like fuction declarations.
5610 (verilog-pretty-expr): Don't line up assignment
5611 operations to the test and increment in if and for loops
5612 (verilog-extended-complete-re, verilog-complete-reg): Change so
090bd7cb 5613 that DPI inport functions don't look like fuction declarations.
47086495 5614
2e51d4b5
KH
56152012-05-03 Kenichi Handa <handa@m17n.org>
5616
5617 * mail/rmailmm.el (rmail-show-mime): Catch an error caused by text
c846da43 5618 decoding, and show a warning message without signaling an error
2e51d4b5
KH
5619 (Bug#11282).
5620
2bd785a2
SM
56212012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
5622
5623 * emacs-lisp/bytecomp.el
5624 (byte-compile-file-form-custom-declare-variable): Compile all elements,
5625 since cconv.el might have introduced :fun-body, internal-make-closure,
5626 and friends for bytecomp to handle (bug#11391).
5627 * custom.el (defcustom): Avoid ((λ ..) ..).
5628
99d27583
SM
56292012-05-02 Stefan Monnier <monnier@iro.umontreal.ca>
5630
5631 * subr.el (read-passwd): Better clean after ourselves (bug#11392).
5632
55a71479
JB
56332012-05-02 Juanma Barranquero <lekktu@gmail.com>
5634
5635 * notifications.el (dbus-debug):
5636 * term/linux.el (gpm-mouse-enable):
5637 * term/screen.el (xterm-register-default-colors): Declare.
5638
7b97c764
CY
56392012-05-02 Chong Yidong <cyd@gnu.org>
5640
2bc356d7
CY
5641 * cus-start.el (gc-cons-percentage, exec-suffixes)
5642 (dos-display-scancodes, dos-hyper-key, dos-super-key)
5643 (dos-keypad-mode, debug-on-signal, vertical-centering-font-regexp)
5644 (make-cursor-line-fully-visible, void-text-area-pointer)
5645 (font-list-limit): Add customization data.
5646
7b97c764
CY
5647 * allout.el (allout-exposure-change-functions)
5648 (allout-structure-added-functions)
5649 (allout-structure-deleted-functions)
5650 (allout-structure-shifted-functions): Rename abnormal hooks from
5651 *-hook, and convert to defcustoms.
5d3385a0
JB
5652 (allout-after-copy-or-kill-hook, allout-post-undo-hook):
5653 Convert to defcustoms.
7b97c764
CY
5654 (allout-mode-hook, allout-mode-deactivate-hook): Doc fix.
5655
5656 * allout-widgets.el: Hook callers changed.
5657
90207a15 56582012-05-02 Eli Zaretskii <eliz@gnu.org>
91af76bf
EZ
5659
5660 * mail/rmail.el (rmail-yank-current-message): Use the encoding of
5661 the yanked message in preference to the default value of
5662 buffer-file-coding-system.
5663
90207a15 56642012-05-02 Martin Rudalics <rudalics@gmx.at>
d9558cad 5665
5d3385a0
JB
5666 * window.el (display-buffer--action-function-custom-type):
5667 Fix entry.
d9558cad 5668
90207a15 56692012-05-02 Alan Mackenzie <acm@muc.de>
09affde0
AM
5670
5671 * progmodes/cc-defs.el (c-version): Update to 5.32.3.
5672
d80ac57b
GM
56732012-05-01 Glenn Morris <rgm@gnu.org>
5674
976f7668
GM
5675 * cus-start.el (suggest-key-bindings): Remove, now it is in Lisp.
5676
beb83b5a
GM
5677 * eshell/esh-cmd.el (eshell-debug-command): Doc fix. Add :set.
5678
d80ac57b
GM
5679 * cus-edit.el (custom-variable-documentation): Simplify with format.
5680
b593d6a9 56812012-05-01 Aaron S. Hawley <aaron.s.hawley@gmail.com>
f1a71c6e 5682 Stefan Monnier <monnier@iro.umontreal.ca>
b593d6a9
AH
5683
5684 * simple.el (suggest-key-bindings, execute-extended-command):
5685 Move from keyboard.c.
5686
782fbf2a
CY
56872012-05-01 Chong Yidong <cyd@gnu.org>
5688
5689 * follow.el: Eliminate advice.
5690 (set-process-filter, process-filter, sit-for): Advice deleted.
5691 (follow-mode-off-hook): Obsolete hook removed.
b593d6a9
AH
5692 (follow-avoid-tail-recenter-p, follow-process-filter-alist):
5693 Vars deleted.
782fbf2a
CY
5694 (follow-auto): Use a :set function.
5695 (follow-mode): Rewritten. Don't advise process filters.
5696 (follow-switch-to-current-buffer-all, follow-scroll-up)
5697 (follow-scroll-down): Assume follow-mode is bound.
5698 (follow-comint-scroll-to-bottom)
5699 (follow-align-compilation-windows): New functions.
5700 (follow--window-sorter): New function.
5701 (follow-all-followers): Use it to explicitly sort windows by their
5702 positions; don't make assumptions about next-window order.
5703 (follow-windows-start-end, follow-delete-other-windows-and-split)
5704 (follow-calc-win-start): Doc fix.
5705 (follow-windows-aligned-p, follow-select-if-visible): Don't call
5706 vertical-motion unnecessarily.
5707 (follow-adjust-window): New function.
5708 (follow-post-command-hook): Use it.
5709 (follow-call-set-process-filter, follow-call-process-filter)
5710 (follow-intercept-process-output, follow-tidy-process-filter-alist)
5711 (follow-stop-intercept-process-output, follow-generic-filter):
5712 Functions deleted.
5713 (follow-scroll-bar-toolkit-scroll, follow-scroll-bar-drag)
b593d6a9
AH
5714 (follow-scroll-bar-scroll-up, follow-scroll-bar-scroll-down):
5715 New functions, replacing advice on scroll-bar-* commands.
87233a14 5716 (follow-mwheel-scroll): New function (Bug#4112).
782fbf2a
CY
5717
5718 * comint.el (comint-adjust-point): New function.
b593d6a9
AH
5719 (comint-postoutput-scroll-to-bottom): Use it.
5720 Call follow-comint-scroll-to-bottom for Follow mode buffers.
782fbf2a 5721
290af740
GM
57222012-05-01 Glenn Morris <rgm@gnu.org>
5723
5724 * term/AT386.el, term/apollo.el, term/bobcat.el, term/cygwin.el:
5725 * term/iris-ansi.el, term/linux.el, term/lk201.el, term/news.el:
5726 * term/screen.el, term/vt102.el, term/vt125.el, term/vt200.el:
5727 * term/vt201.el, term/vt220.el, term/vt240.el, term/vt300.el:
5728 * term/vt320.el, term/vt400.el, term/vt420.el, term/wyse50.el:
5729 Remove no-byte-compile setting.
5730
6eac8dc9
SM
57312012-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
5732
5733 * minibuffer.el (completion-table-with-quoting): Fix compatibility
5734 all-completions code to not return a number in the last cdr.
5735
9cc7819c
LL
57362012-04-30 Leo Liu <sdl.web@gmail.com>
5737
5738 * ibuf-ext.el (ibuffer-diff-buffer-with-file-1): Avoid buffer
5739 read-only error.
5740
c93b886f
CY
57412012-04-29 Chong Yidong <cyd@gnu.org>
5742
5743 * follow.el (follow-calc-win-end): Rewrite to handle partial
5744 screen lines correctly (Bug#8390).
5745 (follow-avoid-tail-recenter): Minor cleanup.
5746
8b6c19f4
SM
57472012-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
5748
5749 Avoid the obsolete `assoc' package.
5750 * speedbar.el (speedbar-refresh): Avoid adelete.
5751 (speedbar-file-lists): Simplify and avoid aput.
5752 * man.el (Man--sections, Man--refpages): New vars, replacing
5753 Man-sections-alist and Man-refpages-alist.
5754 (Man-build-section-alist, Man-build-references-alist):
5755 Use them; avoid aput.
5756 (Man--last-section, Man--last-refpage): New vars.
5757 (Man-follow-manual-reference): Use them.
5758 Use the `default' arg of completing-read.
5759 (Man-goto-section): Idem. Move prompt to the `interactive' spec.
5760
c5bb7569
CY
57612012-04-27 Chong Yidong <cyd@gnu.org>
5762
d1d2e2e8
CY
5763 * vc/diff.el (diff-sentinel): Go to bob (Bug#10259).
5764
15cd8efd
CY
5765 * startup.el (x-apply-session-resources): New function.
5766
5767 * term/ns-win.el (ns-initialize-window-system):
5768 * term/w32-win.el (w32-initialize-window-system):
5769 * term/x-win.el (x-initialize-window-system): Use it to properly
5770 set menu-bar-mode and other vars from X resources, even if the
5771 initial frame is not a window-system frame (Bug#2299).
5772
c5bb7569
CY
5773 * subr.el (read-key): Avoid running filter function when setting
5774 up temporary tool bar entries (Bug#9922).
5775
a8e7d6d7 57762012-04-27 Andreas Schwab <schwab@linux-m68k.org>
c4347ab9
AS
5777
5778 * vc/vc-git.el (vc-git-state): Fix regexp matching diff output.
5779 (Bug#11344)
5780
a8e7d6d7 57812012-04-27 Chong Yidong <cyd@gnu.org>
acb71f1d
CY
5782
5783 * select.el (xselect--encode-string): New function, split from
5784 xselect-convert-to-string.
5785 (xselect-convert-to-string): Use it.
5786 (xselect-convert-to-filename, xselect-convert-to-os)
5787 (xselect-convert-to-host, xselect-convert-to-user): Ensure that
5788 returned strings are properly encoded (Bug#11315).
5789
a8e7d6d7 57902012-04-27 Chong Yidong <cyd@gnu.org>
d55486c7
CY
5791
5792 * simple.el (delete-active-region): Move to killing custom group.
5793
a8e7d6d7 57942012-04-27 Andreas Schwab <schwab@linux-m68k.org>
581b6788
AS
5795
5796 * progmodes/which-func.el (which-func-current): Quote %
5797 characters for mode-line processing.
5798
578c1d4b 57992012-04-27 Chong Yidong <cyd@gnu.org>
18edb22d
CY
5800
5801 * xml.el (xml-parse-region, xml-parse-tag): Avoid errors due to
5802 reaching eob (Bug#11286).
5803
a8e7d6d7 58042012-04-27 Eli Zaretskii <eliz@gnu.org>
9ee9f470
EZ
5805
5806 * progmodes/gdb-mi.el (gdb-control-level): New variable.
5807 (gdb): Make it buffer-local and init to zero.
5808 (gdb-control-commands-regexp): New variable.
5809 (gdb-send): Don't wrap in "-interpreter-exec console" if
5810 gdb-control-level is positive. Increment gdb-control-level
5811 whenever the command matches gdb-control-commands-regexp, and
5812 decrement it each time the command is "end". (Bug#11279)
5813
a8e7d6d7 58142012-04-27 Martin Rudalics <rudalics@gmx.at>
41cfe0cb
MR
5815
5816 * window.el (adjust-window-trailing-edge, enlarge-window)
5817 (shrink-window, window-resize):
5818 * mouse.el (mouse-drag-line): Fix resizing of minibuffer
5819 windows (Bug#11276).
5820
b3608390
CY
58212012-04-27 Chong Yidong <cyd@gnu.org>
5822
5823 * progmodes/pascal.el (pascal--extra-indent): Rename from ind, to
a8e7d6d7 5824 fix "missing prefix" warning. All callers changed.
b3608390 5825
797e6e88
SM
58262012-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
5827
5828 * emacs-lisp/assoc.el: Move to obsolete/.
5829
e95a67dc
SM
58302012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
5831
657c21e4 5832 * emacs-lisp/assoc.el (aget): Fix dynamic-scoping issue (bug#11352).
e95a67dc
SM
5833
5834 * term/ns-win.el (ns-define-service):
5835 * progmodes/pascal.el (pascal-goto-defun):
5836 * progmodes/js.el (js--read-tab):
5837 * progmodes/etags.el (tags-lazy-completion-table):
5838 * emacs-lisp/syntax.el (syntax-propertize-via-font-lock):
5839 * emacs-lisp/ewoc.el (ewoc--wrap):
5840 * emacs-lisp/assoc.el (aput, adelete, amake):
5841 * doc-view.el (doc-view-convert-current-doc):
5842 * vc/diff.el (diff-no-select): Replace lexical-let by lexical-binding.
5843
cb3e7ae0
CY
58442012-04-26 Chong Yidong <cyd@gnu.org>
5845
dce04f7f
CY
5846 * image.el (image-type-from-buffer): Only return supported image
5847 type (Bug#9045).
5848
cb3e7ae0
CY
5849 * vc/diff-mode.el (diff-beginning-of-hunk): Return a meaningful
5850 value, for symmetry with diff-end-of-hunk.
5851 (diff-split-hunk, diff-find-source-location)
5852 (diff-ignore-whitespace-hunk, diff-refine-hunk): Use it.
5853 (diff-bounds-of-hunk, diff-bounds-of-file): New functions.
5854 (diff-restrict-view, diff-hunk-kill, diff-file-kill): Use them to
5855 compute the relevant hunk or file properly (Bug#6005).
5856 (diff-file-junk-re): Add bzr's "modified file" tag (Bug#6041).
5857
0d42eb3e
SM
58582012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
5859
5860 * vc/vc-mtn.el:
5861 * vc/vc-hg.el:
5862 * vc/vc-git.el:
5863 * vc/vc-dir.el:
5864 * vc/vc-cvs.el:
5865 * vc/vc-bzr.el:
5866 * vc/vc-arch.el:
5867 * vc/vc.el: Replace lexical-let by lexical-binding.
5868 * minibuffer.el (lazy-completion-table): Avoid ((λ ...) ...).
5869 * emacs-lisp/cl-macs.el (lexical-let): Fix use in lexical-binding.
5870 * emacs-lisp/cconv.el (cconv-analyse-form): Warn use of ((λ ...) ...).
5871
f08ae1c9
CY
58722012-04-26 Chong Yidong <cyd@gnu.org>
5873
8b71081d
CY
5874 * vc/diff-mode.el (diff-undo): New command (Bug#5302).
5875 (diff-mode-shared-map): Bind it to / and [remap undo].
5876
f08ae1c9
CY
5877 * vc/ediff-wind.el (ediff-setup-windows-default): New function.
5878 (ediff-window-setup-function): Use it as the default, to set up
5879 windows based on whether the current frame is graphical (Bug#2138).
5880 (ediff-choose-window-setup-function-automatically): Make obsolete.
5881
5882 * vc/ediff-init.el: Always define ediff-pixel-width/height.
5883
ef24141c
SM
58842012-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
5885
cc356a5d
SM
5886 * ffap.el: Remove old code for obsolete package.
5887 (ffap-complete-as-file-p): Remove.
5888
b4ff4f1f
SM
5889 Use completion-table-with-quoting for comint and pcomplete.
5890 * comint.el (comint--unquote&requote-argument)
5891 (comint--unquote-argument, comint--requote-argument): New functions.
5892 (comint--unquote&expand-filename, comint-unquote-filename): Obsolete.
5893 (comint-quote-filename): Use regexp-opt-charset.
5894 (comint--common-suffix, comint--common-quoted-suffix)
5895 (comint--table-subvert): Remove.
5896 (comint-unquote-function, comint-requote-function): New vars.
5897 (comint--complete-file-name-data): Use them with
5898 completion-table-with-quoting.
5899 * pcmpl-unix.el (pcomplete/scp): Use completion-table-subvert.
5900 * pcomplete.el (pcomplete-arg-quote-list)
5901 (pcomplete-quote-arg-hook, pcomplete-quote-argument): Obsolete.
5902 (pcomplete-unquote-argument-function): Default to non-nil.
5903 (pcomplete-unquote-argument): Simplify.
5904 (pcomplete--common-quoted-suffix): Remove.
5905 (pcomplete-requote-argument-function): New var.
5906 (pcomplete--common-suffix): New function.
5907 (pcomplete-completions-at-point): Use completion-table-with-quoting
5908 and completion-table-subvert.
5909
79c4eeb4
SM
5910 * minibuffer.el: Use completion-table-with-quoting for read-file-name.
5911 (minibuffer--double-dollars): Preserve properties.
5912 (completion--sifn-requote): New function.
5913 (completion--file-name-table): Rewrite using it and c-t-with-quoting.
5914
ef24141c
SM
5915 * minibuffer.el: Add support for completion of quoted/escaped data.
5916 (completion-table-with-quoting, completion-table-subvert): New funs.
5917 (completion--twq-try, completion--twq-all): New functions.
5918 (completion--nth-completion): New function.
5919 (completion-try-completion, completion-all-completions): Use it.
5920
784e7d6e
LL
59212012-04-25 Leo Liu <sdl.web@gmail.com>
5922
dd2ac746
SM
5923 * progmodes/python.el (python-pdbtrack-get-source-buffer):
5924 Use compilation-message if available to find real filename.
784e7d6e 5925
07875ee7
CY
59262012-04-25 Chong Yidong <cyd@gnu.org>
5927
5928 * vc/diff-mode.el (diff-setup-whitespace): New function.
5929 (diff-mode): Use it.
5930
5931 * vc/diff.el (diff-sentinel):
5932 * vc/vc.el (vc-diff-finish): Call diff-setup-whitespace to assign
5933 Whitespace mode variables based on diff style (Bug#8612).
5934
5055880d
LL
59352012-04-25 Leo Liu <sdl.web@gmail.com>
5936
daf75653
LL
5937 * progmodes/python.el (python-send-region): Add suffix .py to the
5938 temp file.
5939
5055880d
LL
5940 * files.el (auto-mode-alist): Use javascript-mode instead.
5941
db9b177b
AH
59422012-04-25 Alex Harsanyi <AlexHarsanyi@gmail.com>
5943
ef24141c 5944 Sync with soap-client repository. Support SOAP simpleType (Bug#10331).
db9b177b 5945
090bd7cb 5946 * net/soap-client.el (soap-resolve-references-for-sequence-type)
ef24141c 5947 (soap-resolve-references-for-array-type): Hack to prevent self
db9b177b 5948 references, see Bug#9.
ef24141c 5949 (soap-parse-envelope): Report the contents of the 'detail' node
db9b177b 5950 when receiving a fault reply.
ef24141c 5951 (soap-parse-envelope): Report the contents of the entire 'detail' node.
db9b177b 5952
090bd7cb 5953 * net/soap-inspect.el (soap-sample-value-for-simple-type)
ef24141c 5954 (soap-inspect-simple-type): New function.
db9b177b 5955
090bd7cb 5956 * net/soap-client.el (soap-simple-type): New struct.
db9b177b 5957 (soap-default-xsd-types, soap-default-soapenc-types)
ef24141c
SM
5958 (soap-decode-basic-type, soap-encode-basic-type):
5959 support unsignedInt and double basic types.
db9b177b 5960 (soap-resolve-references-for-simple-type)
ef24141c
SM
5961 (soap-parse-simple-type, soap-encode-simple-type): New function.
5962 (soap-parse-schema): Parse xsd:simpleType declarations.
db9b177b 5963
090bd7cb 5964 * net/soap-client.el (soap-default-xsd-types)
ef24141c
SM
5965 (soap-default-soapenc-types): Add integer, byte and anyURI types.
5966 (soap-parse-complex-type-complex-content): Use `soap-wk2l' to find
5967 the local name of "soapenc:Array".
5968 (soap-decode-basic-type, soap-encode-basic-type): Support encoding
db9b177b
AH
5969 decoding integer, byte and anyURI xsd types.
5970
1fc6097b
CY
59712012-04-25 Chong Yidong <cyd@gnu.org>
5972
5973 * cus-edit.el (custom-buffer-create-internal): Update header text.
5974
afc6df87
EZ
59752012-04-25 Eli Zaretskii <eliz@gnu.org>
5976
5977 * progmodes/gdb-mi.el (gdb-init-1): Condition Windows-specific
5978 settings on 'system-type', not on 'window-system'. On MS-Windows,
5979 set interactive-mode on in GDB.
5980
dfbd787f
SM
59812012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
5982
5983 * progmodes/ruby-mode.el: Simplify last change, and cleanup code.
5984 (ruby-syntax-propertize-regexp): Remove.
5985 (ruby-syntax-propertize-function): Split regexp into chunks.
5986 Match following code directly.
5987
85222d44
DG
59882012-04-24 Dmitry Gutov <dgutov@yandex.ru>
5989
51a8ea2a
DG
5990 * progmodes/ruby-mode.el: Handle Cucumber defs (bug#6286).
5991 (ruby-syntax-propertize-regexp): New function.
5992 (ruby-syntax-propertize-function): Use it to handle regexp not preceded
5993 by a special keyword.
5994
85222d44
DG
5995 * progmodes/ruby-mode.el: Handle general delimited literals (bug#6286).
5996 (ruby-syntax-general-delimiters-goto-beg)
5997 (ruby-syntax-propertize-general-delimiters): New functions.
5998 (ruby-syntax-propertize-function): Use them to handle GDL.
5999 (ruby-font-lock-keywords): Move old handling of GDL...
6000 (ruby-font-lock-syntactic-keywords): .. to here.
6001 (ruby-calculate-indent): Adjust indentation for GDL.
6002
b613912b
MA
60032012-04-24 Michael Albinus <michael.albinus@gmx.de>
6004
b5380639
MA
6005 * notifications.el (top): Remove unneeded declarations.
6006 (notifications-specification-version): Change to "1.2".
e43042fe 6007 (notifications-interface, notifications-notify-method)
b613912b
MA
6008 (notifications-close-notification-method): Fix docstring.
6009 (notifications-get-capabilities-method): New defconst.
e43042fe
MA
6010 (notifications-notify): Add :action-items, :resident and
6011 :transient hints. Change "image_data" to "image-data" and
6012 "image_path" to "image-path".
b613912b
MA
6013 (notifications-get-capabilities): New defun.
6014
257440aa
LL
60152012-04-24 Leo Liu <sdl.web@gmail.com>
6016
6017 * progmodes/python.el: Move hideshow setup to the end.
6018
b1bac16e
MR
60192012-04-24 Martin Rudalics <rudalics@gmx.at>
6020
6021 * window.el (handle-select-window): Clear echo area since this is
6022 no more done by read_char (Bug#11304).
6023
d81bd059
SM
60242012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
6025
6026 * ibuffer.el (ibuffer-mode-map): Bind `/ m' to filter-used-mode
6027 and `/ M' to filter-derived-mode.
6028 * ibuf-ext.el (ibuffer-list-buffer-modes): Simplify; avoid add-to-list.
6029 (ibuffer-filter-by-mode, ibuffer-filter-by-used-mode)
6030 (ibuffer-mark-by-mode): Use default rather than initial-input.
6031 (ibuffer-filter-by-derived-mode): Autoload and require-match.
6032
c4cf6d91
IA
60332012-04-24 Ivan Andrus <darthandrus@gmail.com> (tiny change)
6034
6035 * ibuf-ext.el (ibuffer-list-buffer-modes): Add `include-parents' arg.
6036 (ibuffer-filter-by-derived-mode): New filter.
6037 * ibuffer.el (ibuffer-mode-map): Bind to `/ w'.
6038
7511ded8
CY
60392012-04-23 Andreas Politz <politza@fh-trier.de>
6040
6041 * subr.el (accept-change-group): Fix arg usage (Bug#6095).
6042
775c916b
CY
60432012-04-23 Chong Yidong <cyd@gnu.org>
6044
6045 * cus-edit.el (customize-apropos, customize-apropos-options):
6046 Disable matching of non-option variables (Bug#11176).
6047 (customize-option, customize-option-other-window)
6048 (customize-changed-options): Doc fix.
6049 (customize-apropos-options, customize-apropos-faces)
6050 (customize-apropos-groups): Use apropos-read-pattern (Bug#11124).
6051
6052 * apropos.el (apropos-read-pattern): Make prompt less cryptic.
922d37d3 6053 Fix word list splitting (Bug#11132).
46c71e23
CY
6054 (apropos-symbol, apropos-keybinding, apropos-label)
6055 (apropos-property, apropos-function-button)
6056 (apropos-variable-button, apropos-misc-button): New faces.
6057 (apropos-symbol-face, apropos-keybinding-face)
6058 (apropos-label-face, apropos-property-face, apropos-match-face):
6059 Variables removed (Bug#8396).
6060 (apropos-library-button, apropos-format-plist, apropos-print)
6061 (apropos-print-doc, apropos-describe-plist): Callers changed.
775c916b 6062
2df41f9c
MA
60632012-04-23 Michael Albinus <michael.albinus@gmx.de>
6064
6065 * net/xesam.el (xesam-mode-map): Use let-bound map in
6066 initialization. (Bug#11292)
6067
da00640a
AM
60682012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
6069
6070 Preserve ispell session localwords when switching back to
6071 original buffer.
6072
090bd7cb
JB
6073 * textmodes/ispell.el (ispell-buffer-session-localwords):
6074 New buffer-local variable to hold buffer session localwords.
ed9265fc 6075 (ispell-kill-ispell): Add option 'clear to delete session
da00640a
AM
6076 localwords.
6077 (ispell-command-loop, ispell-change-dictionary)
6078 (ispell-buffer-local-words): Preserve session localwords when
6079 needed.
6080
090bd7cb
JB
6081 * textmodes/flyspell.el (flyspell-process-localwords)
6082 (flyspell-do-correct): Preserve session localwords when needed.
da00640a 6083
f621ccf5
AM
60842012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
6085
090bd7cb
JB
6086 * textmodes/ispell.el (ispell-insert-word) Remove unneeded function
6087 using obsolete `translation-table-for-input'.
ef24141c
SM
6088 (ispell-word, ispell-process-line, ispell-complete-word):
6089 Use plain `insert' instead of removed `ispell-insert-word'.
f621ccf5 6090
c2d1019e
CY
60912012-04-22 Chong Yidong <cyd@gnu.org>
6092
6093 * cus-edit.el (custom-variable-menu)
6094 (custom-variable-reset-saved, custom-face-menu)
6095 (custom-face-reset-saved): If there is no saved value, make the
6096 "reset-saved" operation bring back the default (Bug#9509).
6097 (custom-face-state): Properly detect themed faces.
6098
eeddc531
CY
6099 * faces.el (face-spec-set): Stop supporting deprecated form of
6100 third arg.
6101
dcbf5805
MA
61022012-04-22 Michael Albinus <michael.albinus@gmx.de>
6103
6104 Move functions from C to Lisp. Make non-blocking method calls
6105 the default. Implement further D-Bus standard interfaces.
6106
ef24141c
SM
6107 * net/dbus.el (dbus-message-internal): Declare function.
6108 Remove unneeded function declarations.
dcbf5805
MA
6109 (defvar dbus-message-type-invalid, dbus-message-type-method-call)
6110 (dbus-message-type-method-return, dbus-message-type-error)
6111 (dbus-message-type-signal): Declare variables. Remove local
6112 definitions.
6113 (dbus-interface-dbus, dbus-interface-peer)
6114 (dbus-interface-introspectable, dbus-interface-properties)
6115 (dbus-path-emacs, dbus-interface-emacs, dbus-return-values-table):
6116 Adapt docstring.
6117 (dbus-interface-objectmanager): New defconst.
6118 (dbus-call-method, dbus-call-method-asynchronously)
6119 (dbus-send-signal, dbus-method-return-internal)
6120 (dbus-method-error-internal, dbus-register-service)
6121 (dbus-register-signal, dbus-register-method): New defuns, moved
6122 from dbusbind.c
6123 (dbus-call-method-handler, dbus-setenv)
ef24141c
SM
6124 (dbus-get-all-managed-objects, dbus-managed-objects-handler):
6125 New defuns.
dcbf5805
MA
6126 (dbus-call-method-non-blocking): Make it an obsolete function.
6127 (dbus-unregister-object, dbus-unregister-service)
6128 (dbus-handle-event, dbus-register-property)
6129 (dbus-property-handler): Obey the new structure of
6130 `bus-registered-objects'.
6131 (dbus-introspect): Use `dbus-call-method'. Use a timeout.
6132 (dbus-get-property, dbus-set-property, dbus-get-all-properties):
6133 Use `dbus-call-method'.
6134
cf20dee0
CY
61352012-04-22 Chong Yidong <cyd@gnu.org>
6136
6137 * cus-edit.el (custom-commands, custom-reset-menu)
6138 (Custom-reset-standard): Tweak labels.
6139 (custom-reset-button-menu): Change default to t.
6140 (custom-buffer-create-internal): For the custom-reset-button-menu
6141 case, put the revert button first.
6142 (custom-group-subtitle): New face.
6143 (custom-group-value-create): Align docstring to a specific column.
6144
6145 * wid-edit.el (widget-documentation-link-add): Don't handle
6146 indentation in this function.
6147 (widget-documentation-string-indent-to): New function.
6148 (widget-documentation-string-value-create): Use it.
6149
6150 * autorevert.el (auto-revert):
6151 * epg-config.el (epg):
6152 * ibuffer.el (ibuffer):
6153 * mpc.el (mpc):
6154 * ses.el (ses):
6155 * eshell/eshell.el (eshell):
6156 * net/ange-ftp.el (ange-ftp):
6157 * progmodes/ebnf2ps.el (postscript):
6158 * progmodes/flymake.el (flymake):
6159 * progmodes/prolog.el (prolog):
6160 * progmodes/verilog-mode.el (verilog-mode):
6161 * progmodes/which-func.el (which-func):
6162 * term/xterm.el (xterm):
6163 * textmodes/picture.el (picture):
6164 * textmodes/tildify.el (tildify):
6165 * vc/ediff.el (ediff): Tweak defgroups to improve presentation in
6166 customization buffers.
6167
583e23bd
AM
61682012-04-22 Alan Mackenzie <acm@muc.de>
6169
6170 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
6171 Adding a ) can hide the resulting (..) from searches. Fix it.
6172 Bound the backward search to the position of the existing (.
6173
7dd51bf1
JB
61742012-04-21 Juanma Barranquero <lekktu@gmail.com>
6175
6176 * progmodes/verilog-mode.el (verilog-mode): Check whether
6177 which-func-modes is t before adding verilog-mode.
6178 Reported by Andy Moreton <andrewjmoreton@gmail.com>.
6179
d64a438f
LL
61802012-04-21 Leo Liu <sdl.web@gmail.com>
6181
7dd51bf1 6182 * net/rcirc.el (rcirc): Avoid error when process-contact returns t.
d64a438f 6183
081e8d65
MV
61842012-04-21 Michael Vehrs <Michael.Burschik@gmx.de>
6185
6186 * woman.el: Add support for "T{ T}" tbl syntax, and fix the
6187 filling of the last column of a table (Bug#5635).
6188 (woman-find-next-control-line): New arg, specifying an additional
6189 regexp component for the control line.
6190 (woman2-roff-buffer): Use it.
6191 (woman-break-table): New function.
6192 (woman2-TS): Use it.
6193
61942012-04-21 Chong Yidong <cyd@gnu.org>
6195
6196 * woman.el (woman-set-buffer-display-table, woman-decode-region)
6197 (woman-horizontal-escapes, woman-negative-vertical-space)
6198 (woman-tab-to-tab-stop, woman2-fc, woman2-TS)
6199 (WoMan-warn-ignored): Use ?\s instead of ?\ .
6200
ed571ccb
SM
62012012-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
6202
6203 * minibuffer.el (completion-file-name-table): Complete user names.
6204
39773899
LL
62052012-04-20 Leo Liu <sdl.web@gmail.com>
6206
6207 * font-lock.el (lisp-font-lock-keywords-2): Add pcase, pcase-let
6208 and pcase-let*.
6209
de6ff46d
CY
62102012-04-20 Chong Yidong <cyd@gnu.org>
6211
6212 * server.el (server-execute): Respect initial-buffer-choice if it
6213 is a string and there are no files to open (Bug#2825).
6214 (server-create-window-system-frame, server-create-tty-frame):
6215 Don't switch buffers here.
2d0e8e61
CY
6216 (server-process-filter): Only try to open a window system frame if
6217 compiled with graphical support (Bug#8314).
de6ff46d 6218
54071013
DN
62192012-04-20 Dan Nicolaescu <dann@gnu.org>
6220
6221 * battery.el (battery-echo-area-format): Display remaining time
6222 for sysfs backend too (Bug#11269).
6223 (battery-linux-sysfs): Fix conditional for the charge.
6224
f30d612a
CY
62252012-04-20 Chong Yidong <cyd@gnu.org>
6226
c07a4c0b 6227 * progmodes/gdb-mi.el (gdb): Revert previous change.
f30d612a
CY
6228 (gdb-inferior-io--init-proc): New function.
6229 (gdb-init-1): Use it.
6230 (gdb-inferior-io-sentinel): New sentinel for the gdb-inferior pty,
6231 responsible for allocating a new pty and hooking it to gdb when
6232 the old pty gets an EIO due to process exit.
6233 (gdb-delchar-or-quit): New command. Bind it in gdb-mi buffers.
6234 (gdb-tooltip-print): Don't use obsolete tooltip-use-echo-area.
6235 (gdb-inferior-io--maybe-delete-pty): Move into gdb-reset.
6236
2116e93c
EZ
62372012-04-20 Eli Zaretskii <eliz@gnu.org>
6238
6239 * window.el (window-min-size, window-sizable, window-min-delta)
6240 (window-max-delta, window--resizable, window-resizable)
6241 (window-total-size, window-full-height-p, window-full-width-p)
6242 (window-in-direction, window--resize-mini-window, window-resize)
6243 (window--resize-child-windows-normal)
6244 (window--resize-child-windows, window--resize-siblings)
6245 (window--resize-this-window, adjust-window-trailing-edge)
cd0f830c 6246 (enlarge-window, shrink-window): Doc fixes.
2116e93c 6247
c07a4c0b 62482012-04-20 Chong Yidong <cyd@gnu.org>
b668fa6e 6249
ef24141c
SM
6250 * progmodes/gdb-mi.el (gdb-inferior-io--maybe-delete-pty):
6251 New function to call delete-process on the gdb-inferior buffer's pty.
b668fa6e
CY
6252 (gdb-reset): Use it, instead of relying on kill-buffer to kill the
6253 pty process (Bug#11273).
6254 (gdb-update): New arg to suppress talking to the gdb process.
6255 (gdb-done-or-error): Use it.
6256 (gdb-stopped-functions): Rename from gdb-stopped-hooks.
6257 (gdb): Call gdb-inferior-io--maybe-delete-pty as a workaround for
6258 sentinel not being called.
6259
6260 * comint.el (make-comint-in-buffer, comint-exec): Doc fix.
6261
d02766ab
CY
6262 * progmodes/grep.el (grep, rgrep): Doc fix (Bug#11268).
6263
c07a4c0b 62642012-04-20 Glenn Morris <rgm@gnu.org>
016a35df
GM
6265
6266 * net/network-stream.el (open-network-stream): Doc fix.
6267
c07a4c0b 62682012-04-20 Chong Yidong <cyd@gnu.org>
2c070447
CY
6269
6270 * emacs-lisp/tabulated-list.el (tabulated-list-print): Fix typos.
6271
c07a4c0b 62722012-04-20 Alan Mackenzie <acm@muc.de>
f0f6bc35
AM
6273
6274 Ensure searching for keywords is case sensitive.
6275
6276 * progmodes/cc-cmds.el (c-electric-brace, c-electric-lt-gt)
6277 (c-electric-paren, c-beginning-of-defun, c-end-of-defun)
6278 (c-defun-name, c-mark-function, c-cpp-define-name)
6279 (c-comment-indent, c-scan-conditionals, c-indent-defun)
c07a4c0b 6280 (c-context-line-break): Bind case-fold-search to nil.
f0f6bc35 6281
ef24141c
SM
6282 * progmodes/cc-mode.el (c-font-lock-fontify-region):
6283 Bind case-fold-search to nil.
f0f6bc35 6284
c07a4c0b 62852012-04-20 Chong Yidong <cyd@gnu.org>
4fc2c72a
CY
6286
6287 * mail/sendmail.el (mail-bury): Call return action with the right
6288 Rmail buffer (Bug#11242).
6289
9a864fa2
CY
6290 * server.el (server-process-filter): Handle corner case where both
6291 tty and nowait options are present (Bug#11102).
6292
539aa513
EZ
62932012-04-20 Eli Zaretskii <eliz@gnu.org>
6294
6295 * version.el (emacs-bzr-version, emacs-bzr-get-version): Doc fixes.
6cf2a23e
EZ
6296 (top level): Put into the executable the ident-style '$Id:' tag on
6297 windows-nt as well.
539aa513 6298
cfc7d5da
SM
62992012-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
6300
6301 * electric.el (electric-indent-post-self-insert-function): Check that
6302 electric-indent-mode is enabled in current buffer.
6303
5b01685c
JB
63042012-04-19 Juanma Barranquero <lekktu@gmail.com>
6305
6306 * imenu.el (imenu-progress-message): Restore; it is "used" in
6307 erc/erc-imenu.el and net/snmp-mode.el.
6308
4d6769e1
JB
63092012-04-19 Juanma Barranquero <lekktu@gmail.com>
6310
6311 * avoid.el (mouse-avoidance-mode): Mark unused arg.
6312 (mouse-avoidance-nudge-mouse): Remove unused binding.
6313
6314 * bs.el (bs-toggle-readonly): Call `toggle-read-only' interactively.
6315
6316 * descr-text.el (describe-char):
6317 * progmodes/python.el (python-describe-symbol):
6318 Don't call `toggle-read-only', set `buffer-read-only'.
6319
6320 * imenu.el (imenu-default-goto-function): Mark unused args.
6321 (imenu-progress-message): Remove obsolete macro; all callers changed.
6322
6323 * subr.el (keymap-canonicalize): Remove unused binding.
6324 (read-passwd): Mark unused arg.
6325
6326 * tutorial.el (tutorial--display-changes): Remove unused binding.
6327 (tutorial--save-tutorial-to): Remove unused variable.
6328
6329 * emacs-lisp/package.el (define-package, package-menu-mark-delete)
6330 (package-menu-mark-install, package-menu-mark-unmark): Mark unused args.
6331 (package-generate-autoloads, package-menu--generate)
6332 (package-menu--find-upgrades): Remove unused bindings.
6333
6334 * emulation/cua-rect.el (cua-restrict-regexp-rectangle)
6335 (cua-restrict-prefix-rectangle): Doc fixes. Remove unused bindings.
6336 (cua--mouse-ignore, cua--delete-rectangle, cua--extract-rectangle)
6337 (cua--indent-rectangle, cua-open-rectangle, cua-close-rectangle)
6338 (cua-blank-rectangle, cua-string-rectangle, cua-replace-in-rectangle)
6339 (cua-incr-rectangle, cua-sequence-rectangle, cua--convert-rectangle-as)
6340 (cua--rectangle-aux-replace, cua--left-fill-rectangle)
6341 (cua-scroll-rectangle-up, cua-scroll-rectangle-down)
6342 (cua-delete-char-rectangle): Mark unused args.
6343 (cua-align-rectangle): Remove unused binding.
6344
6345 * mail/rmail.el (compilation--message->loc)
6346 (epa--find-coding-system-for-mime-charset): Declare.
6347
6348 * net/dbus.el (dbus-register-service): Declare.
6349 (dbus-name-owner-changed-handler): Remove unused binding.
6350
6351 * nxml/nxml-mode.el (nxml-electric-slash, nxml-in-mixed-content-p)
6352 (nxml-compute-indent-from-matching-start-tag): Remove unused variables.
6353 (nxml-scan-backward-within): Mark unused arg.
6354 (nxml-dynamic-markup-word): Remove unused binding.
6355
6356 * mouse.el (mouse-menu-major-mode-map):
6357 * emacs-lisp/authors.el (authors-scan-change-log)
6358 (authors-add-to-author-list):
6359 * emacs-lisp/avl-tree.el (avl-tree--enter-balance):
6360 * emacs-lisp/smie.el (smie-auto-fill):
6361 * mail/sendmail.el (mail-bury):
6362 * mail/unrmail.el (unrmail):
6363 * net/tls.el (open-tls-stream):
6364 * textmodes/picture.el (picture-mouse-set-point):
6365 Remove unused bindings.
6366
8c8fc5df
MA
63672012-04-19 Michael Albinus <michael.albinus@gmx.de>
6368
6369 * net/tramp.el (tramp-action-password): Let-bind
6370 `enable-recursive-minibuffers' to t.
6371
a77b0ac9
SS
63722012-04-18 Sam Steingold <sds@gnu.org>
6373
6374 * progmodes/gud.el (gud-key-prefix): Use :type 'key-sequence
6375 instead of 'string to accommodate values like [f11].
6376 Always use `vconcat' instead of `concat' on it, like in `gud-def'.
6377 * progmodes/gdb-mi.el: Likewise.
6378
12a106a9
LL
63792012-04-18 Leo Liu <sdl.web@gmail.com>
6380
6381 * abbrev.el (edit-abbrevs): Move point to the abbrev table of
6382 current buffer.
6383 (prepare-abbrev-list-buffer): Enter edit-abbrevs-mode only if
6384 LOCAL is nil.
6385
bc6494ef
CY
63862012-04-18 Chong Yidong <cyd@gnu.org>
6387
6388 * simple.el (line-move): Use forward-line if in batch mode
6389 (Bug#11053).
6390
c09c46b2
CS
63912012-04-18 Christopher Schmidt <christopher@ch.ristopher.com>
6392
6393 * files.el (after-find-file): Do not try to add a final newline if
6394 the buffer is read-only (Bug#11156).
6395
5f6530ea
RS
63962012-04-17 Richard Stallman <rms@gnu.org>
6397
6398 * mail/rmail.el (rmail-start-mail):
6399 Pass (rmail-mail-return...) for the return-action.
6400 Pass (rmail-yank-current-message...) for the yank-action.
6401 (rmail-yank-current-message): New function.
6402 (rmail-mail): Pass the Rmail buffer, not view buffer, for replybuffer.
6403 (rmail-reply): Likewise.
6404 (rmail-forward): Pass the Rmail buffer, not nil, for replybuffer.
6405
6406 * mail/sendmail.el (mail-bury): Choose the first rmail-mode
c09c46b2 6407 buffer, not the last. Reject temp buffers. Use the rmail-mode
5f6530ea
RS
6408 buffer, not newbuf.
6409
197b6f3c
JB
64102012-04-17 Juanma Barranquero <lekktu@gmail.com>
6411
6412 * server.el (server-ensure-safe-dir): Simplify.
6413
2311d8e5 64142012-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
98fb480e 6415
2311d8e5
GM
6416 * emacs-lisp/smie.el: Provide smarter auto-filling.
6417 (smie-auto-fill): New function.
6418 (smie-setup): Use it.
98fb480e 6419
2311d8e5
GM
6420 * newcomment.el (comment-choose-indent): Obey comment-inline-offset.
6421
64222012-04-17 Philipp Haselwarter <philipp.haselwarter@gmx.de> (tiny change)
8eb5d48f
PH
6423
6424 * newcomment.el (comment-inline-offset): New custom var (bug#11090).
6425 (comment-indent): Use it.
6426
2311d8e5 64272012-04-17 Vincent Belaïche <vincentb1@users.sourceforge.net>
4bdf2ad2
VB
6428
6429 * ses.el: The overall change is to add cell renaming, that is
6430 setting fancy names for cell symbols other than name matching
6431 "\\`[A-Z]+[0-9]+\\'" regexp .
2311d8e5 6432 (ses-localvars): Add ses--renamed-cell-symb-list.
4bdf2ad2 6433 (ses-create-cell-variable): New defun.
2311d8e5 6434 (ses-destroy-cell-variable-range): Respect ses--numrows, ses--numcols.
4bdf2ad2
VB
6435 (ses-relocate-formula): Relocate formulas only for cells the
6436 symbols of which are not renamed, i.e. symbols whose names do not
6437 match regexp "\\`[A-Z]+[0-9]+\\'".
6438 (ses-relocate-all): Relocate values only for cells the symbols of
6439 which are not renamed.
6440 (ses-load): Create cells variables as the (ses-cell ...) are read,
6441 in order to check row col consistency with cell symbol name only
6442 for cells that are not renamed.
6443 (ses-replace-name-in-formula): New defun.
6444 (ses-rename-cell): New defun.
4bdf2ad2 6445
fc72b15c
PO
64462012-04-17 Peter Oliver <bzr@mavit.org.uk> (tiny change)
6447
6448 * progmodes/perl-mode.el (perl-indent-parens-as-block):
6449 New option (bug#11118).
6450 (perl-calculate-indent): Respect it.
6451
12e10e61
GM
64522012-04-17 Glenn Morris <rgm@gnu.org>
6453
6454 * dired-aux.el (dired-mark-read-string): Doc fix.
6455
30009afd
DA
64562012-04-17 Dmitry Antipov <dmantipov@yandex.ru>
6457
6458 * dired-aux.el (dired-mark-read-string): Offer optional completion.
6459 (dired-do-chxxx): Complete chown, chgrp over users, groups. (Bug#7900)
6460
41f03f4d
GM
64612012-04-17 Glenn Morris <rgm@gnu.org>
6462
6463 * mouse.el (mouse-drag-track):
6464 * speedbar.el (speedbar-frame-mode):
6465 Use auto-hscroll-mode rather than the alias automatic-hscrolling.
6466
f45f90f3
LL
64672012-04-16 Leo Liu <sdl.web@gmail.com>
6468
6469 * progmodes/python.el: Trivial cleanup.
6470
94ee8db5
GM
64712012-04-16 Glenn Morris <rgm@gnu.org>
6472
121b8917
GM
6473 * vc/vc.el (vc-string-prefix-p):
6474 * vc/pcvs-util.el (cvs-string-prefix-p):
6475 * textmodes/tex-mode.el (latex-string-prefix-p, tex-string-prefix-p):
6476 * mpc.el (mpc-string-prefix-p):
6477 Make all of these into obsolete aliases for string-prefix-p.
6478 Update callers.
6479 * vc/pcvs.el, vc/vc-dispatcher.el, vc/vc-dir.el: Update callers.
6480
1197ecfa
GM
6481 * textmodes/two-column.el: Move custom options to the start.
6482 (frame-width): Remove compat definition.
6483 (2C-associate-buffer, 2C-dissociate):
6484 Use with-current-buffer rather than save-excursion.
6485 (2C-dissociate): Force a mode-line update.
6486 (2C-autoscroll): Use ignore-errors.
6487
099e7202
GM
6488 * emacs-lisp/eieio-opt.el (describe-class, describe-generic):
6489 Autoload trivia.
6490
bf350d6a
GM
6491 * emacs-lisp/cl-extra.el (*random-state*):
6492 Remove unnecessary declaration.
6493
0e829eab
GM
6494 * calendar/cal-tex.el (cal-tex-end-document): Trivial clarification.
6495
e3ad7552
GM
6496 * play/cookie1.el (cookie-snarf):
6497 Give an explicit error if input file cannot be read.
6498
68892d27
GM
6499 * play/yow.el (yow-file): Use expand-file-name rather than concat.
6500
20f0c46d
GM
6501 * progmodes/perl-mode.el (c-macro-expand):
6502 Remove unnecessary autoload (it is in loaddefs.el).
6503
5a0978ce
GM
6504 * textmodes/picture.el (picture-desired-column)
6505 (picture-update-desired-column): Convert comments to doc-strings.
6506 (picture-substitute): Remove function.
6507 (picture-mode-map): Initialize in the defvar.
6508
6b955486
GM
6509 * woman.el: Remove eval-after-load for tar-mode.
6510 * tar-mode.el (tar-mode-map): Add woman binding and menu entry.
6511 (woman-tar-extract-file): Autoload it.
6512
94ee8db5
GM
6513 * frame.el (automatic-hscrolling): Make this alias obsolete.
6514
177eca34
AM
65152012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
6516
090bd7cb 6517 * textmodes/ispell.el (ispell-set-spellchecker-params): Post-process
4be3075e 6518 `ispell-dictionary-alist' to use [:alpha:] and utf-8 if possible.
3851314b
AM
6519 (ispell-dictionary-base-alist): Revert to original XEmacs
6520 friendly version for default. [:alpha:] will be added in
090bd7cb 6521 `ispell-set-spellchecker-params' if needed.
177eca34 6522
c505aaeb
CY
65232012-04-16 Chong Yidong <cyd@gnu.org>
6524
b19dd9d1 6525 * image.el (imagemagick--file-regexp): New variable.
c505aaeb
CY
6526 (imagemagick-register-types): Use it.
6527 (imagemagick-types-inhibit): Add :set function. Allow new value
6528 of t to inhibit all types.
6529
6530 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Avoid cl macros,
6531 so we can preload it.
6532
6533 * loadup.el (fboundp): Preload regexp-opt, needed by
6534 imagemagick-register-types.
6535
60efac0f
CY
65362012-04-15 Chong Yidong <cyd@gnu.org>
6537
6538 * frame.el (scrolling): Remove nearly unused customization group.
6539
6540 * scroll-all.el (scroll-all-mode): Move to windows group.
6541
5dd1713e
CY
65422012-04-15 Chong Yidong <cyd@gnu.org>
6543
6544 * bindings.el (goto-map): Bind goto-char to M-g c (Bug#11240).
6545
e6fd457e
CY
65462012-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
6547
6548 Avoid the use of ((lambda ...) ...) in lexical-binding code.
4d6769e1 6549 * emacs-lisp/easy-mmode.el (define-minor-mode): Use funcall (bug#11241).
e6fd457e 6550
e153c136
GM
65512012-04-15 Glenn Morris <rgm@gnu.org>
6552
6553 * simple.el (process-file-side-effects): Doc fix.
6554
e6fd457e 65552012-04-15 Glenn Morris <rgm@gnu.org>
ca7d96c8
GM
6556
6557 * international/mule-cmds.el (set-language-environment): Doc fix.
6558
3603c3b1
JB
65592012-04-14 Juanma Barranquero <lekktu@gmail.com>
6560
6561 * server.el (server-auth-key, server-generate-key): Doc fixes.
6562 (server-get-auth-key): Doc fix. Use `string-match-p'.
6563 (server-start): Reflow docstring.
6564
e6de100c
LI
65652012-04-14 Lars Ingebrigtsen <larsi@gnus.org>
6566
6567 * server.el (server-generate-key): `called-interactively-p'
6568 requires a parameter.
6569
29734c21
MN
65702012-04-14 Michal Nazarewicz <mina86@mina86.com>
6571
6572 * server.el (server-auth-key): New variable.
75f1671a 6573 (server-generate-key, server-get-auth-key): New function.
29734c21
MN
6574 (server-start): Use the new variable and functions to allow
6575 setting a permanent server key (bug#9423).
6576
d65c9521
LL
65772012-04-14 Leo Liu <sdl.web@gmail.com>
6578
6579 * vc/diff-mode.el (diff-file-prev/next): Fix typo.
6580
5ae255c7
PE
65812012-04-14 Paul Eggert <eggert@cs.ucla.edu>
6582
6583 Spelling fixes.
6584 * hexl.el (hexl-rulerize): Rename from hexl-rulerise, since
6585 Emacs uses American spelling.
6586
d5e6342e
JB
65872012-04-14 Juanma Barranquero <lekktu@gmail.com>
6588
6589 * emacs-lock.el (emacs-lock-locked-buffer-functions): New hook.
6590 (emacs-lock--exit-locked-buffer): Return the locked buffer. Doc fix.
6591 (emacs-lock--kill-emacs-hook, emacs-lock--kill-emacs-query-functions)
6592 (emacs-lock--kill-buffer-query-functions): Run new hook. (Bug#11017)
6593
ab036cd7
SM
65942012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
6595
6596 * progmodes/which-func.el (which-func-modes): Change default.
6597
35dc09a1 65982012-04-14 Kim F. Storm <storm@cua.dk>
9557e2be
CY
6599
6600 * emulation/cua-base.el (cua-exchange-point-and-mark): Just call
6601 exchange-point-and-mark if cua-enable-cua-keys is nil (Bug#11191).
6602
35dc09a1 66032012-04-14 Chong Yidong <cyd@gnu.org>
81927dd2
CY
6604
6605 * custom.el (custom-theme-set-variables): Doc fix.
6606
35dc09a1 66072012-04-14 Glenn Morris <rgm@gnu.org>
8edb942b
GM
6608
6609 * international/mule.el (set-auto-coding-for-load): Doc fix.
6610
35dc09a1 66112012-04-14 Alan Mackenzie <acm@muc.de>
0de3da9f 6612
35dc09a1
GM
6613 * progmodes/cc-menus.el (cc-imenu-objc-generic-expression): Make
6614 imenu work again for Objective C Mode. Correct the *-index values,
6615 these having been disturbed by a previous change in 2011-08.
57f845ee 6616
0de3da9f
AM
6617 * progmodes/cc-engine.el (c-before-change-check-<>-operators):
6618 Correct two search limits.
6619
35dc09a1 66202012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
ede141ac
SM
6621
6622 * startup.el (command-line-1): Inhibit splash from daemon (bug#10996).
6623
35dc09a1 66242012-04-14 Andreas Schwab <schwab@linux-m68k.org>
d0203d61
AS
6625
6626 * international/characters.el: Fix sorting.
6627
35dc09a1 66282012-04-14 Eli Zaretskii <eliz@gnu.org>
cb80bcd1
EZ
6629
6630 * international/characters.el: Add more missing Latin case pairs.
6631
35dc09a1 66322012-04-14 Glenn Morris <rgm@gnu.org>
4a427f58
GM
6633
6634 * files.el (dir-locals-set-class-variables): Doc fix.
6635
35dc09a1 66362012-04-14 Eli Zaretskii <eliz@gnu.org>
9f847f41 6637
3f1b5bf8
EZ
6638 * international/characters.el: Add set-case-syntax-pair call for
6639 LATIN CAPITAL LETTER Y WITH DIAERESIS RET and its lower-case
6640 counterpart. (Bug#11209)
6641
9f847f41
EZ
6642 * simple.el (shell-command-on-region): Doc fix. (Bug#11208)
6643
35dc09a1 66442012-04-14 Glenn Morris <rgm@gnu.org>
0c2014a3
GM
6645
6646 * calendar/holidays.el (calendar-check-holidays): Doc fix.
6647
35dc09a1 66482012-04-14 Eli Zaretskii <eliz@gnu.org>
e2627d21 6649
35dc09a1
GM
6650 * textmodes/ispell.el (ispell-dictionary-base-alist):
6651 Add data for Hebrew.
e2627d21 6652
35dc09a1 66532012-04-14 Chong Yidong <cyd@gnu.org>
5c14e333 6654
35dc09a1
GM
6655 * net/rcirc.el (rcirc-cmd-quit):
6656 Revert 2012-03-18 change (Bug#11192).
5c14e333 6657
35dc09a1 66582012-04-14 Glenn Morris <rgm@gnu.org>
bf6fa423
GM
6659
6660 * pcmpl-rpm.el (pcomplete/rpm): Handle -qf.
6661
35dc09a1 66622012-04-14 Eli Zaretskii <eliz@gnu.org>
82b24fb2 6663
4517fe3a
SM
6664 * minibuffer.el (completion-in-region-mode-map):
6665 Bind completion-help-at-point to M-? rather than ?. (Bug#11182)
82b24fb2 6666
b472a594
VD
66672012-04-13 Vivek Dasmohapatra <vivek@etla.org>
6668
6669 * hexl.el (hexl-insert-char): Make display sizes other than 16 work.
6670
09b95ce3
MY
66712012-04-13 Masatake YAMATO <yamato@redhat.com>
6672
6673 * minibuffer.el (minibuffer-local-filename-syntax): New variable
6674 to allow `C-M-f' and `C-M-b' to move to the nearest path
6675 separator (bug#9511).
6676
4b63a9ca
LI
66772012-04-13 Lars Ingebrigtsen <larsi@gnus.org>
6678
6679 * avoid.el: Require cl when compiling. And also move the
6680 `provide' to the end.
6681
7b55b8bf
TV
66822012-04-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
6683
6684 * avoid.el (mouse-avoidance-banish-position): New variable.
6685 (mouse-avoidance-banish-destination): Use it (bug#10165).
6686
adedaa1f
LL
66872012-04-13 Leo Liu <sdl.web@gmail.com>
6688
6689 * progmodes/which-func.el (which-func-modes): Add objc-mode.
6690
70e74021
KB
66912012-04-13 Ken Brown <kbrown@cornell.edu>
6692
6693 * net/browse-url.el (browse-url-file-url): Remove Cygwin hack;
ab036cd7 6694 this is no longer needed now that cygstart understands file:// URLs.
70e74021
KB
6695 (browse-url-filename-alist): For the same reason, don't modify
6696 file:// URLs on Cygwin.
6697
e75e89ba
SM
66982012-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
6699
6700 * emulation/cua-base.el (cua--pre-command-handler-1): Don't activate
6701 the region on shift if the binding is already shifted (bug#11221).
6702
82f289a4
GM
67032012-04-12 Glenn Morris <rgm@gnu.org>
6704
6705 * mail/mailpost.el: Move to obsolete/.
6706
d333dc4c
DA
67072012-04-12 Drew Adams <drew.adams@oracle.com>
6708
6709 * imenu.el (imenu--generic-function): Ignore invisible definitions
6710 (bug#10123).
6711
0d15b5ba
VD
67122012-04-12 Vivek Dasmohapatra <vivek@etla.org>
6713
6714 * hexl.el (hexl-bits): New variable.
6715 (hexl-options): Mention the variable in the doc string.
75f1671a 6716 (hexl-rulerise, hexl-line-displen): New functions.
0d15b5ba 6717 (hexl-mode): Mention the new variable.
75f1671a
JB
6718 (hexl-mode, hexl-current-address, hexl-current-address):
6719 Use the displen.
0d15b5ba
VD
6720 (hexl-ascii-start-column): New function.
6721 (hexl-address-to-marker, hexl-beginning-of-line, hexl-options)
6722 (hexl-insert-char, hexl-mode-ruler): Use the displen (bug#4941).
6723
64a440db
AM
67242012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
6725
6726 * textmodes/flyspell.el (flyspell-large-region): For hunspell, use
6727 '("-i" ENCODING), in 2 separate command-line arguments, to specify
6728 the encoding, as expected by hunspell.
6729
6decb6c2
SM
67302012-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
6731
6732 * battery.el (battery--linux-sysfs-regexp): New const.
6733 (battery-status-function): Use it. Remove yeeloong special case.
6734 (battery-yeeloong-sysfs): Remove.
6735 (battery-echo-area-format): Remove yeeloong special case.
6736
088be6fb
SM
67372012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
6738
6622e416
SM
6739 * imenu.el (imenu-add-to-menubar): `current-local-map' can be nil.
6740 Reported by Noah Friedman.
6741
088be6fb
SM
6742 * subr.el (read-passwd): Use read-string.
6743
b49f886e
LMI
67442012-04-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
6745
6746 * vcursor.el (vcursor-move): Increase the priority of the overlay
6747 (bug#9663).
6748
a63067fc
DD
67492012-04-11 Deniz Dogan <deniz.a.m.dogan@gmail.com>
6750
6751 * net/rcirc.el (rcirc-kill-channel-buffers): New variable.
6752 (rcirc-kill-buffer-hook): Use it to kill channel buffers (bug#5128).
6753
ac3cf14a
WS
67542012-04-11 William Stevenson <yhvh2000@gmail.com>
6755
6756 * textmodes/artist.el (artist-mode): Convert artist-mode to use
6757 define-minor-mode (bug#10760).
6758
c4fc691b 67592012-04-11 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
49a2697c 6760
4d6769e1 6761 * progmodes/grep.el (rgrep): Tweak the find command line so
49a2697c
WJ
6762 that directories matching `grep-find-ignored-files' won't be
6763 pruned (bug#10351).
6764
af23e2e5
CY
67652012-04-11 Chong Yidong <cyd@gnu.org>
6766
6767 * startup.el (command-line): Remove support for long-obsolete
6768 variable font-lock-face-attributes.
6769
ab7ce8c1
GM
67702012-04-11 Glenn Morris <rgm@gnu.org>
6771
6772 * vc/vc-bzr.el (vc-bzr-status): Avoid condition-case-unless-debug.
6773
de8c03dc
SM
67742012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
6775
6776 * window.el (window--state-get-1): Obey window-point-insertion-type.
6777
050cc68b
LB
67782012-04-11 Lennart Borgman <lennart.borgman@gmail.com>
6779
6780 * emacs-lisp/lisp.el (narrow-to-defun): `beginning-of-defun' goes
6781 to previous function when point is on the first character of a
75f1671a 6782 function. Take care of that in `narrow-to-defun' (bug#6157).
050cc68b 6783
a38c310c
GM
67842012-04-11 Glenn Morris <rgm@gnu.org>
6785
effed0c2
GM
6786 * vc/vc-bzr.el (vc-bzr-status): Handle all errors,
6787 not just file-errors.
6788
a38c310c
GM
6789 * vc/vc-bzr.el (vc-bzr-sha1-program, sha1-program): Remove.
6790 (vc-bzr-sha1): Use internal sha1.
6791
0221e323
SM
67922012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
6793
6794 * progmodes/flymake.el (flymake-mode): Beware read-only dirs (bug#8954).
6795
43956923
SG
67962012-04-10 Sébastien Gross <seb@chezwam.org> (tiny change)
6797
6798 * progmodes/hideshow.el (hs-hide-all): Don't infloop on comments
6799 that start in the middle of the line (bug#10496).
6800
6a8c9eaf
DN
68012012-04-10 Dan Nicolaescu <dann@gnu.org>
6802
6803 * battery.el (battery-linux-proc-acpi): Only one battery is
6804 discharged at a time, but that seems to confuse battery.el when
6805 computing `rate-type' for the battery not being discharged
6806 (bug#10332).
6807
1930bf5d
SM
68082012-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
6809
2a718f6f
SM
6810 * emacs-lisp/autoload.el (autoload-make-program): Remove, unused.
6811
599430d0
SM
6812 * international/quail.el: Use dolist and simplify.
6813 (quail-define-package, quail-update-keyboard-layout)
6814 (quail-define-rules): Use dolist.
6815 (quail-insert-kbd-layout, quail-get-translation): CSE.
6816
a2754b6c
SM
6817 * tmm.el: Use dolist, remove left over hook.
6818 (tmm-prompt, tmm-define-keys, tmm-shortcut, tmm-get-keybind):
6819 Use dolist.
6820 (calendar-load-hook): Don't mess with it.
6821
1930bf5d
SM
6822 * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
6823 Use derived-mode-p. Run the diff asynchronously.
6824
9f67961c
LMI
68252012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
6826
6827 * obsolete/mouse-sel.el: Add an Obsolete-since header.
6828
2a8ce227
JB
68292012-04-10 Juanma Barranquero <lekktu@gmail.com>
6830
6831 * misc.el: Display absolute path of loaded DLLs (bug#10424).
6832 (list-dynamic-libraries--loaded): New function.
6833 (list-dynamic-libraries--refresh): Use it.
6834
8f33b5f8
NW
68352012-04-10 Nathan Weizenbaum <nweiz@google.com>
6836
1930bf5d
SM
6837 * progmodes/python.el (python-fill-paragraph):
6838 Make python-fill-region in a multiline string work when font-lock is
8f33b5f8
NW
6839 disabled (bug#7018).
6840
b12f0439
L
68412012-04-10 Laimonas VÄ—bra <laimonas.vebra@gmail.com> (tiny change)
6842
1930bf5d 6843 * language/european.el (cp775): Add oem/legacy (en)coding on
75f1671a
JB
6844 DOS/MS Windows for the Baltic languages. There are still plenty
6845 of texts written in this encoding/codepage (bug#6519).
b12f0439 6846
57c3bd01
GM
68472012-04-10 Glenn Morris <rgm@gnu.org>
6848
6849 * cus-start.el (eol-mnemonic-unix, eol-mnemonic-dos, eol-mnemonic-mac):
6850 Add :standard values, reducing "rogue" customs in emacs -Q a bit more.
6851
6c3eab30
FA
68522012-04-10 Florian Adamsky <florian@adamsky.it> (tiny change)
6853
1930bf5d 6854 * recentf.el (recentf-dialog-mode-map): Add two keybindings for
6c3eab30
FA
6855 next-line "n" and previous-line "p" in order to make recentf more
6856 consistent with ibuffer, dired or org-mode (bug#9387).
6857
24d78a88
LMI
68582012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
6859
bc72b5d9
LMI
6860 * image.el (put-image): Return the overlay created instead of the
6861 optional input string (bug#7834). Note that this may break code
6862 that is (for some reason or other) depending on `put-image'
6863 returning the string.
6864
bd2dba5a
LMI
6865 * mouse-sel.el (mouse-sel-mode): Mark as obsolete (bug#6174).
6866
74beb59f
LMI
6867 * simple.el (zap-to-char): Allow zapping using input methods
6868 (bug#1580).
6869
24d78a88
LMI
6870 * textmodes/fill.el (fill-region): Leave point and mark where they
6871 were before filling (bug#5399).
6872
263f20cd
GM
68732012-04-09 Glenn Morris <rgm@gnu.org>
6874
6875 * version.el (emacs-bzr-get-version):
6876 Handle lightweight checkouts of local branches.
6877
58d1f797
AS
68782012-04-09 Andreas Schwab <schwab@linux-m68k.org>
6879
263f20cd 6880 * international/characters.el: Recover lost case pairs. (Bug#11209)
58d1f797 6881
b4d3bc10
CY
68822012-04-09 Chong Yidong <cyd@gnu.org>
6883
6884 * custom.el (custom-variable-p): Return nil for non-symbol
6885 arguments instead of signaling an error.
6886 (user-variable-p): Obsolete alias for custom-variable-p.
6887
6888 * apropos.el (apropos-variable):
6889 * files-x.el (read-file-local-variable):
6890 * simple.el (set-variable):
6891 * woman.el (woman-mini-help):
6892 * emacs-lisp/byte-opt.el (side-effect-free-fns): Callers changed.
6893
fd06db5d
GM
68942012-04-09 Glenn Morris <rgm@gnu.org>
6895
e5fcdb5e
GM
6896 * startup.el (normal-top-level): Don't look for leim-list.el
6897 in places where it will not be found. (Bug#910)
6898
fd06db5d
GM
6899 * international/mule-cmds.el (set-default-coding-systems):
6900 * files.el (normal-mode):
6901 Remove guarded calls to ucs-set-table-for-input. (Bug#9821)
6902 This function was removed with ucs-tables.el in 2008.
6903
b39bb7e1
EZ
69042012-04-08 Eli Zaretskii <eliz@gnu.org>
6905
6906 * textmodes/ispell.el (ispell-check-version): For hunspell, set
6907 ispell-encoding8-command to "-i", without a trailing space.
6908 (ispell-start-process): For hunspell, use '("-i" ENCODING), in 2
6909 separate command-line arguments, to specify the encoding, since
6910 that's how hunspell expects it.
6911
5c5b8e23
GM
69122012-04-08 Glenn Morris <rgm@gnu.org>
6913
6914 * loadup.el: Load bindings before cus-start.
6915 This reduces somewhat the number of "rogue" settings in emacs -Q.
6916
a1ed8b05
GM
69172012-04-07 Glenn Morris <rgm@gnu.org>
6918
6919 * version.el (emacs-bzr-get-version): New function.
dfae128a 6920 (emacs-bzr-version): New variable.
a1ed8b05
GM
6921 * loadup.el (emacs-bzr-version): Set it. (Bug#8054)
6922 * mail/emacsbug.el (report-emacs-bug): Include bzr version.
6923
b142f158
EZ
69242012-04-07 Eli Zaretskii <eliz@gnu.org>
6925
dfae128a
GM
6926 * international/uni-bidi.el, international/uni-category.el:
6927 * international/uni-combining.el, international/uni-decimal.el:
6928 * international/uni-decomposition.el, international/uni-digit.el:
6929 * international/uni-lowercase.el, international/uni-mirrored.el:
6930 * international/uni-name.el, international/uni-numeric.el:
6931 * international/uni-titlecase.el, international/uni-uppercase.el:
6932 Update for Unicode 6.1.
b142f158 6933
9078ead6
EZ
69342012-04-07 Eli Zaretskii <eliz@gnu.org>
6935
6936 * term/w32-win.el (dynamic-library-alist): Add libxml2 DLLs.
6937
f23d2c7d
LMI
69382012-04-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
6939
6940 * window.el (shrink-window): Mention the `window-min-height'
6941 variable in the doc string.
6942
0a0a3573
BG
69432012-04-05 Bastien Guerry <bzg@altern.org>
6944
6945 * color.el (color-lighten-name): Fix typo.
6946
e5248ac9
SM
69472012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
6948
6949 * server.el (server--on-display-p): New function.
6950 (server--on-display-p): Use it.
6951
b4243e22
GV
69522012-04-04 Gabor Vida <vidagabor@gmail.com> (tiny change)
6953
6954 * ido.el (ido-wide-find-dirs-or-files): Use file-name-absolute-p
6955 (bug#11145).
6956
305d9f44
SM
69572012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
6958
6959 * comint.el (comint--common-quoted-suffix): Check string boundary
6960 before comparing (bug#11158).
6961 * pcomplete.el (pcomplete--common-quoted-suffix): Idem.
6962
3d439cd1
CY
69632012-04-04 Chong Yidong <cyd@gnu.org>
6964
321cc491
CY
6965 * minibuffer.el (completion-extra-properties): Doc fix.
6966
3d439cd1
CY
6967 * subr.el (delayed-warnings-hook): Doc fix.
6968
2d562c0f
DU
69692012-04-04 Daiki Ueno <ueno@unixuser.org>
6970
6971 * epa.el (epa--select-keys): Bind C-c C-c to finish the key
6972 selection (Bug#11159).
6973 (epa-insert-keys): Inform that the default public key will be
6974 exported if no key is selected.
6975
4443f204
RS
69762012-04-04 Richard Stallman <rms@gnu.org>
6977
6978 * mail/emacsbug.el (report-emacs-bug): Bind inhibit-read-only.
6979
529c06b6
CY
69802012-04-03 Chong Yidong <cyd@gnu.org>
6981
6982 * mail/sendmail.el (mail-mode-map): Bind C-c C-i to
6983 mail-insert-file, not its obsolete alias mail-attach-file.
6984
66b907dc
MA
69852012-04-03 Michael Albinus <michael.albinus@gmx.de>
6986
6987 * notifications.el (notifications-notify): Fix docstring.
6988
c0ea195d
GM
69892012-04-02 Glenn Morris <rgm@gnu.org>
6990
6991 * emacs-lisp/authors.el (authors-aliases): Another addition.
6992
5ca64e00
MA
69932012-04-02 Michael Albinus <michael.albinus@gmx.de>
6994
6995 * net/tramp-gvfs.el (tramp-gvfs-send-command): Apply
6996 `tramp-compat-call-process' instead of `tramp-local-call-process'.
6997 Reported by Magnus Henoch <magnus.henoch@gmail.com>.
6998
42ee526b
CY
69992012-04-01 Chong Yidong <cyd@gnu.org>
7000
7001 * files.el (file-in-directory-p): Rename from file-subdir-of-p.
7002 Handle root directory properly.
7003 (copy-directory): Caller changed.
7004
7005 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
7006 * net/tramp.el (tramp-file-name-for-operation): Callers changed.
7007
0b021094
GM
70082012-03-31 Glenn Morris <rgm@gnu.org>
7009
40f86458
GM
7010 * term/xterm.el (xterm-extra-capabilities): Doc fix.
7011
7019c177
GM
7012 * language/indian.el ("Devanagari"): Fix typo. (Bug#11103)
7013
a1daddd6
GM
7014 * calendar/calendar.el (calendar-window-list)
7015 (calendar-hide-window): Restore. (Bug#11140)
7016 (calendar-exit): Use calendar-window-list, calendar-hide-window again.
7017
0b021094
GM
7018 * emacs-lisp/edebug.el (edebug-unwrap-results): Doc fix.
7019
40311efc
TV
70202012-03-30 Thierry Volpiatto <thierry.volpiatto@gmail.com>
7021
7022 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
7023 Check if file is a symlink (Bug#10489).
7024
7025 * files.el (copy-directory): Likewise.
7026
5319014e
CY
70272012-03-30 Chong Yidong <cyd@gnu.org>
7028
7029 * image.el (imagemagick-types-inhibit)
7030 (imagemagick-register-types): Doc fix.
7031
935d1290
AM
70322012-03-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
7033
090bd7cb 7034 * textmodes/ispell.el (ispell-get-extended-character-mode):
ef24141c 7035 Disable extended-char-mode for hunspell. hunspell does not support it
75f1671a 7036 and treats ~word as ordinary words in pipe mode.
935d1290 7037
61c6e8fd
GM
70382012-03-30 Glenn Morris <rgm@gnu.org>
7039
7040 * tutorial.el (help-with-tutorial): Ensure local variables don't
7041 happen to make the buffer read-only. (Bug#11127)
7042
81fdff00
SM
70432012-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
7044
7045 * progmodes/perl-mode.el (perl-indent-line): Use `noindent' in strings.
7046 (perl-calculate-indent): Return `noindent' in strings.
7047
6e7a6ec0
SS
70482012-03-28 Sam Steingold <sds@gnu.org>
7049
7050 * calendar/calendar.el (calendar-exit): Use `quit-windows-on'
7051 instead of the broken adhockery which does not prevent calendar
7052 buffers from being displayed at random after exit.
7053 (calendar-window-list, calendar-hide-window): Remove the broken
7054 adhockery.
7055
fee88ca0
GM
70562012-03-28 Glenn Morris <rgm@gnu.org>
7057
7058 * replace.el (query-replace-map): Doc fix.
7059
38de3354
AS
70602012-03-28 Andreas Schwab <schwab@linux-m68k.org>
7061
7062 * vc/vc-git.el (vc-git-state): Don't try to match all of the diff
7063 contents. (Bug#11109)
7064
b973155e
SM
70652012-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
7066
7067 * emacs-lisp/avl-tree.el (avl-tree--enter-balance): Fix paren typo
7068 (bug#11077).
7069 (avl-tree--check, avl-tree--check-node): New funs.
7070
dcb6e7b3
MR
70712012-03-27 Martin Rudalics <rudalics@gmx.at>
7072
7073 * window.el (switch-to-visible-buffer): New option.
b973155e
SM
7074 (switch-to-prev-buffer, switch-to-next-buffer):
7075 Observe switch-to-visible-buffer. Make sure that checking for a window
dcb6e7b3
MR
7076 showing a buffer already is done on the same frame.
7077
b4fa35fa
GM
70782012-03-27 Glenn Morris <rgm@gnu.org>
7079
7080 * startup.el (mail-host-address): Doc fix.
7081
f9210e18
SM
70822012-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
7083
7084 * emacs-lisp/bytecomp.el (byte-compile-constants-vector): Allow more
7085 than 197 variables.
7086
c0bf7753
AF
70872012-03-26 Ami Fischman <ami@fischman.org>
7088
7089 * vc/vc-git.el (vc-git-state): Avoid unnecessarily locking.
7090
33da7b16
GM
70912012-03-26 Glenn Morris <rgm@gnu.org>
7092
02243d9d
GM
7093 * files.el (save-buffers-kill-emacs): Doc fix.
7094
33da7b16
GM
7095 * startup.el (normal-top-level, command-line, command-line-1):
7096 Give them doc strings.
7097
e5a69fd0
EZ
70982012-03-25 Eli Zaretskii <eliz@gnu.org>
7099
7100 * makefile.w32-in (install): Use $(DIRNAME)_same-dir.tst instead
b973155e 7101 of same-dir.tst, to avoid stepping on other (parallel) Make job's toes.
e5a69fd0 7102
9a69676a
CY
71032012-03-25 Chong Yidong <cyd@gnu.org>
7104
4125cb8b
CY
7105 * custom.el (load-theme): Even if NO-ENABLE arg is t, reenable the
7106 theme if it was previously enabled before (Bug#11031).
7107
dd470960
CY
7108 * cus-theme.el (custom-theme-write-faces): Retrieve current face
7109 spec with custom-face-get-current-spec if its :shown-value is not
7110 determined yet (Bug#9337).
4125cb8b 7111 (customize-create-theme, custom-theme-revert): Doc fixes.
dd470960 7112
9a69676a
CY
7113 * button.el (button-at): Minor addition to docstring.
7114
6e7e90fa
SL
71152012-03-24 Simon Leinen <simon.leinen@gmail.com>
7116
7117 * vc/vc.el (vc-merge): Fix a prompt.
7118
f06e2758
CY
71192012-03-24 Chong Yidong <cyd@gnu.org>
7120
7121 * mwheel.el (mwheel-scroll): Call deactivate-mark at the right
7122 point (Bug#9623).
7123
6e7e90fa
SL
7124 * button.el (button-at): Minor addition to docstring.
7125
b9d0879b
SM
71262012-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
7127
7128 * newcomment.el (comment-choose-indent): No space after BOL.
7129
e71cebb3
SS
71302012-03-22 Sam Steingold <sds@gnu.org>
7131
7132 * window.el (switch-to-prev-buffer): Revert last patch because the
7133 bug turned out to be an advertised feature (Elisp manual 28.14).
7134
335aff35
GM
71352012-03-22 Glenn Morris <rgm@gnu.org>
7136
7137 * vc/vc-bzr.el (vc-bzr-status-switches): New option. (Bug#6724)
7138 (vc-bzr-command): If running "status", pass vc-bzr-status-switches.
7139
c676576a
LMI
71402012-03-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
7141
7142 * net/network-stream.el (network-stream-open-starttls): Make error
7143 message under Windows be less misleading.
7144
126f3d39
LW
71452012-03-22 Liang Wang <netcasper@gmail.com> (tiny change)
7146
7147 * progmodes/etags.el (etags-list-tags): Only use tags which goto-func
7148 understands (bug#9942).
7149
64fee311
CY
71502012-03-22 Chong Yidong <cyd@gnu.org>
7151
7152 * simple.el (end-of-visible-line): Handle return value of
7153 next-single-property-change properly (Bug#9371).
7154
a640d29a
KH
71552012-03-22 Kenichi Handa <handa@m17n.org>
7156
7157 * international/quail.el (quail-insert-kbd-layout): Fix previous
7158 change. To avoid unwanted bidi reordering, use
7159 bidi-string-mark-left-to-right instead of inserting LRO and PDF.
7160
39675016
DG
71612012-03-21 Dmitry Gutov <dgutov@yandex.ru>
7162
7163 * progmodes/ruby-mode.el: Don't confuse "end:" for "end" (bug#10786).
7164 (ruby-block-end-re, ruby-delimiter, ruby-parse-partial)
7165 (ruby-beginning-of-indent): Be more careful with the difference
7166 between word-boundary and symbol boundary.
7167 (ruby-mode-syntax-table): Make : a symbol constituent.
7168
0a6934fc 71692012-03-21 Andreas Politz <politza@fh-trier.de>
1acad97c 7170
3d008e4f
SM
7171 * outline.el (outline-flag-region): Evaporate overlays (bug#10789).
7172
0a6934fc
SM
71732012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
7174
af67c9d7
SM
7175 * progmodes/etags.el (tags-completion-at-point-function):
7176 Improve last fix.
7177
1acad97c
SM
7178 * files.el (move-file-to-trash): Files aren't regexps (bug#11055).
7179
e298b5da
SS
71802012-03-21 Sam Steingold <sds@gnu.org>
7181
7182 * progmodes/etags.el (tags-completion-at-point-function):
7183 Avoid the error when point is inside the pattern.
7184
91d82a70
JY
71852012-03-21 John Yates <john@yates-sheets.org> (tiny change)
7186
7187 * progmodes/hideshow.el (hs-inside-comment-p): Fix hiding of first
7188 line (Bug#10855).
7189
69188b79
CY
71902012-03-21 Drew Adams <drew.adams@oracle.com>
7191
7192 * info.el (Info-menu): Handle string value of FORK arg (Bug#10858).
7193
99fc91fe
AK
71942012-03-21 Anmol Khirbat <anmol@khirbat.net> (tiny change)
7195
7196 * ido.el (ido-set-current-directory, ido-read-internal)
7197 (ido-choose-completion-string, ido-completion-help): Handle nil
7198 value of ido-completion-buffer (Bug#11008).
7199
087bbb4c
SS
72002012-03-21 Sam Steingold <sds@gnu.org>
7201
7202 * window.el (switch-to-prev-buffer): Do not switch to a visible
7203 window previous buffer, just like with the frame previous buffers.
7204
fb5b8aca
CY
72052012-03-21 Chong Yidong <cyd@gnu.org>
7206
7207 * faces.el (make-face, make-empty-face, copy-face):
7208 * face-remap.el (face-remap-add-relative, face-remap-set-base):
7209 Doc fixes.
7210
dc9924b8
SM
72112012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
7212
7213 * wid-edit.el (widget-complete-field): Remove (bug#11051).
7214 (widget-complete): Remove broken use of it.
7215
f0bcceb9
CY
72162012-03-20 Chong Yidong <cyd@gnu.org>
7217
dc9924b8
SM
7218 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
7219 Use string-width and truncate-string-width to handle arbitrary
f0bcceb9
CY
7220 characters.
7221
ee52ebf3
TH
72222012-03-20 Tassilo Horn <tassilo@member.fsf.org>
7223
7224 * textmodes/artist.el (artist-menu-map): Bind Rectangle menu item
7225 to draw rectangles, not squares. (Regression introduced by revno
7226 2011-03-02T03:48:01Z!cyd@stupidchicken.com)
7227
4c5779ab
CY
72282012-03-18 Chong Yidong <cyd@gnu.org>
7229
7230 * faces.el (face-spec-reset-face): Don't call display-graphic-p if
7231 it is not yet defined (for temacs).
7232
15360934
LL
72332012-03-18 Leo Liu <sdl.web@gmail.com>
7234
dc9924b8 7235 * net/rcirc.el (rcirc-cmd-quit): Allow quiting all servers with prefix.
15360934 7236
d9a8eb66
EZ
72372012-03-17 Eli Zaretskii <eliz@gnu.org>
7238
7239 * textmodes/ispell.el (ispell-skip-tib, ispell-keep-choices-win)
7240 (ispell-choices-win-default-height, ispell-silently-savep)
7241 (ispell-dictionary-alist, ispell-encoding8-command)
7242 (ispell-check-version, ispell-aspell-find-dictionary)
7243 (ispell-valid-dictionary-list, ispell-words-keyword)
7244 (ispell-get-word, ispell-internal-change-dictionary)
7245 (ispell-region, ispell-skip-region-list)
7246 (ispell-begin-skip-region-regexp, ispell-ignore-fcc)
7247 (ispell-process-line, ispell-minor-mode, ispell-minor-check)
7248 (ispell-message-text-end, ispell-message)
7249 (ispell-buffer-local-parsing): Doc fix.
7250
f02ff80d
J
72512012-03-13 Jambunathan K <kjambunathan@gmail.com>
7252
7253 * htmlfontify.el: Add support for code block fontification for ODT
7254 export (Bug #9914).
7255 (hfy-optimisations): Define new option
7256 `body-text-only'
7257 (hfy-fontify-buffer): Honor above setting.
7258 (hfy-begin-span, hfy-end-span): New routines factored out form
7259 `hfy-fontify-buffer'.
7260 (hfy-begin-span-handler, hfy-end-span-handler): New variables
7261 that permit insertion of custom tags.
7262 (hfy-fontify-buffer): Use above handlers.
7263 (hfy-face-to-css-default): Same as the earlier `hfy-face-to-css'.
7264 (hfy-face-to-css): Re-defined to be a variable.
dc9924b8 7265 (hfy-compile-stylesheet): Modify. Allow stylesheet to be built
75f1671a 7266 over multiple runs. This is made possible by having the caller let
f02ff80d
J
7267 bind a special variable `hfy-user-sheet-assoc'.
7268 (htmlfontify-string): New defun.
7269 (hfy-compile-face-map): Make sure that the last char in the
7270 buffer is correctly fontified.
7271 (hfy-face-resolve-face): Whitespace only change.
7272
9ac7a13f
EZ
72732012-03-17 Eli Zaretskii <eliz@gnu.org>
7274
7275 * textmodes/ispell.el (ispell-get-decoded-string): Make the error
7276 message more clear.
7277
e2b5bdd7
LL
72782012-03-16 Leo Liu <sdl.web@gmail.com>
7279
7280 * emacs-lisp/copyright.el (copyright-year-ranges): Fix typo.
7281
2e492df3
AM
72822012-03-16 Alan Mackenzie <acm@muc.de>
7283
7284 Further optimise the handling of large macros.
7285
7286 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Use a
7287 limit to a call of `c-literal-limits'.
7288 (c-determine-+ve-limit): New function.
dc9924b8
SM
7289 (c-at-macro-vsemi-p): Move `c-in-literal' to the bottom of an `and'.
7290 (c-guess-basic-syntax): In macros, restrict a search limit to 2000.
2e492df3
AM
7291 In CASE 5B, restrict a search limit to 500.
7292 (c-just-after-func-arglist-p): Obviouly wrong `or' -> `and'.
7293
7294 * progmodes/cc-mode.el (c-neutralize-syntax-in-and-mark-CPP):
7295 Restrict macro bounds to +-500 from after-change's BEG END.
7296
50e94f0c
LL
72972012-03-16 Leo Liu <sdl.web@gmail.com>
7298
7299 * font-lock.el (lisp-font-lock-keywords-2): Add letrec.
7300
6f09f6ed
AH
73012012-03-16 Aaron S. Hawley <Aaron.S.Hawley@gmail.com>
7302
7303 * tar-mode.el (tar-mode): Fix saving by conditionally undoing
dc9924b8 7304 `special-mode' setting of `buffer-read-only'. (Bug#11010)
6f09f6ed 7305
c7e73d51
GM
73062012-03-16 Glenn Morris <rgm@gnu.org>
7307
da986230
GM
7308 * view.el (view-buffer, view-buffer-other-window)
7309 (view-buffer-other-frame): Doc fixes re special mode-class.
7310
0835f01e
GM
7311 * subr.el (eval-after-load): If named feature is provided not from
7312 a file, run after-load forms. (Bug#10946)
7313
c7e73d51
GM
7314 * calendar/calendar.el (calendar-insert-at-column):
7315 Handle non-unit-width characters a bit better. (Bug#10978)
7316
3f2eafd1
CY
73172012-03-15 Chong Yidong <cyd@gnu.org>
7318
7319 * emacs-lisp/ring.el (ring-extend): New function.
7320 (ring-insert+extend): Extend the ring correctly (Bug#11019).
7321
7322 * comint.el (comint-read-input-ring)
7323 (comint-add-to-input-history): Grow comint-input-ring lazily.
7324
103af3fe
SM
73252012-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
7326
663b1677
SM
7327 * progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
7328 Fix up parsing of multiline twoarg non-paired elements (bug#11014).
7329
103af3fe
SM
7330 * imenu.el: Fix multiple inheritance breakage (bug#9199).
7331 (imenu-add-to-menubar): Don't add a redundant index.
7332 (imenu-update-menubar): Handle a dynamically composed keymap.
7333
899cb7cb
KY
73342012-03-13 Katsumi Yamaoka <yamaoka@jpl.org>
7335
7336 * mail/sendmail.el (mail-encode-header):
7337 Bind rfc2047-encode-encoded-words to nil.
7338
3809f91d
GM
73392012-03-13 Glenn Morris <rgm@gnu.org>
7340
7341 * calendar/calendar.el (calendar-string-spread):
7342 Handle non-unit-width characters a bit better. (Bug#10978)
7343
9e345a01
LL
73442012-03-13 Leo Liu <sdl.web@gmail.com>
7345
7346 * vc/vc-hg.el (vc-hg-working-revision): Rework to work with both
7347 directory and file as argument (Bug#10822).
7348
4a07df36
KS
73492012-03-13 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
7350
7351 * progmodes/gdb-mi.el (gdb-invalidate-disassembly):
7352 For dynamically generated code, follow $PC.
7353 (gdb-disassembly-handler-custom): Handle no function name case.
7354
4aaa9356
TL
73552012-03-13 Tim Landscheidt <tim@tim-landscheidt.de> (tiny change)
7356
7357 * calendar/icalendar.el (icalendar-export-file, icalendar-import-file):
7358 * emulation/ws-mode.el (ws-query-replace):
7359 * sort.el (sort-regexp-fields):
7360 Fix missing trailing whitespace in interactive prompts. (Bug#11002)
7361
225979da
SM
73622012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
7363
7364 * dabbrev.el: Fix cycle completion order (bug#10963).
7365 (dabbrev--last-obarray, dabbrev--last-completion-buffer): Remove.
7366 (dabbrev-completion): Don't use an obarray; provide
7367 a cycle-sort-function.
7368
e2f1fdab
LL
73692012-03-12 Leo Liu <sdl.web@gmail.com>
7370
dc9924b8 7371 * simple.el (kill-new): Use equal-including-properties for comparison.
e2f1fdab
LL
7372 (kill-do-not-save-duplicates): Doc fix.
7373
b19490ed
SM
73742012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
7375
7376 * dabbrev.el: Fix cycle completion (bug#10963).
7377 Use lexical binding and wrap to 80 columns.
7378 (dabbrev-completion): Delay computing the list of completions.
7379
4b05d722
KH
73802012-03-12 Kenichi Handa <handa@m17n.org>
7381
7382 * international/quail.el (quail-insert-kbd-layout): Surround each
7383 row by LRO and PDF instead of inserting many LRMs. Pad the left
7384 and right of each non-spacing marks. Insert invisible space
7385 between lower and upper characters to prevent composition.
7386
dbbc2e69
SM
73872012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
7388
7389 * minibuffer.el (minibuffer-complete): Don't get confused when the
7390 function is run twice via different commands (bug#10958).
7391 (complete-with-action): Fix docstring.
7392
292112ed
CY
73932012-03-12 Chong Yidong <cyd@gnu.org>
7394
5d1ac394
CY
7395 * nxml/nxml-mode.el (nxml-mode-map): Do not bind C-RET (Bug#6776).
7396 (nxml-completion-at-point-function): New function.
7397 (nxml-mode): Use it.
7398 (nxml-bind-meta-tab-to-complete-flag): Default to t.
7399
292112ed
CY
7400 * emacs-lisp/package.el (package-unpack, package-unpack-single):
7401 Load generated autoloads file before byte compiling (Bug#10970).
7402 (package--make-autoloads-and-compile): New helper fun.
7403
4098f8f7
CS
74042012-03-12 Christopher Schmidt <christopher@ch.ristopher.com>
7405
7406 * ibuffer.el (ibuffer-redisplay): Remove another gratuitous error.
7407
8f754691
MA
74082012-03-11 Michael Albinus <michael.albinus@gmx.de>
7409
7410 * autorevert.el (auto-revert-handler): Ensure, that
7411 file-readable-p is applied only for local files or in
7412 auto-revert-tail-mode.
7413
e29ab36b
AS
74142012-03-11 Andreas Schwab <schwab@linux-m68k.org>
7415
dbbc2e69
SM
7416 * server.el (server-eval-at): Handle non-tcp connections.
7417 Decode result string.
ad0bf5b6 7418
e29ab36b
AS
7419 * server.el (server-msg-size): New constant.
7420 (server-reply-print): New function.
7421 (server-eval-and-print): Use it.
7422 (server-eval-at): Use server-quote-arg and server-unquote-arg.
7423 Handle -print-nonl.
7424
de5939ba
CS
74252012-03-11 Christopher Schmidt <christopher@ch.ristopher.com>
7426
7427 * ibuffer.el (ibuffer-redisplay): Remove gratuitous error
7428 (Bug#10987).
7429
0c93eabf
CY
74302012-03-11 Chong Yidong <cyd@gnu.org>
7431
397a688f
CY
7432 * simple.el (goto-line): Doc fix (Bug#9938).
7433
2cc775f9
CY
7434 * subr.el (save-window-excursion): Doc fix (Bug#9979).
7435
0c93eabf
CY
7436 * dabbrev.el (dabbrev--find-expansion): Update progress reporter
7437 when finished (Bug#10963).
7438
c491fa41
MR
74392012-03-11 Martin Rudalics <rudalics@gmx.at>
7440
7441 * window.el (split-window-below): Fix bug in case where
7442 split-window-keep-point is nil (Bug#10971).
7443
300e8fa5
JL
74442012-03-11 Juri Linkov <juri@jurta.org>
7445
7446 * replace.el (replace-highlight): Set isearch-word to nil
7447 unconditionally. (Bug#10887)
7448
dbf6c5a1
EZ
74492012-03-10 Eli Zaretskii <eliz@gnu.org>
7450
7451 * net/mairix.el (mairix-replace-invalid-chars): Rename from
7452 mairix-replace-illegal-chars; all callers changed. Don't remove
dc9924b8 7453 ^, ~, and = characters: they are meaningful in mairix search specs.
dbf6c5a1
EZ
7454 (mairix-widget-create-query): Add usage information about mairix
7455 search forms: negating words, searching for substrings, etc.
7456
b9e501de
JP
74572012-03-10 Jae-hyeon Park <jae-hyeon.park@desy.de> (tiny change)
7458
7459 * international/fontset.el (font-encoding-alist): Add an entry for
7460 ksx1001 (Bug#5667).
7461
92795c91
RS
74622012-03-10 Richard Stallman <rms@gnu.org>
7463
1694e6c1
RS
7464 * mail/sendmail.el (mail-encode-header):
7465 Set rfc2047-encode-encoded-words.
7466
607e8555
RS
7467 * mail/mail-utils.el (mail-quote-printable): Quote multibyte chars.
7468
de3bc99a
RS
7469 * mail/rmail.el (rmail-buffers-swapped-p): Don't assume dead
7470 view buffer means not swapped.
7471 (rmail-view-buffer-kill-buffer-hook): Give buf name in error msg.
7472 (rmail-write-region-annotate): Error if real text has disappeared.
7473
92795c91
RS
7474 * epa-mail.el (epa-mail-encrypt): Bind inhibit-read-only.
7475
699bd04e
CY
74762012-03-10 Chong Yidong <cyd@gnu.org>
7477
7478 * emulation/cua-rect.el (cua--init-rectangles):
dbbc2e69
SM
7479 * emulation/cua-base.el (cua--init-keymaps):
7480 Add delete-forward-char to remappings (Bug#9666).
699bd04e 7481
570a1714
MR
74822012-03-10 Martin Rudalics <rudalics@gmx.at>
7483
dbbc2e69
SM
7484 * speedbar.el (speedbar-unhighlight-one-tag-line):
7485 Avoid unhighlighting due to frame switching (Bug#10275).
570a1714 7486
82dcf4e4
CY
74872012-03-10 Chong Yidong <cyd@gnu.org>
7488
7a2c7ca7
CY
7489 * minibuffer.el (completion-in-region, completion-help-at-point):
7490 Give the completion field overlay a high priority (Bug#6830).
7491
82dcf4e4
CY
7492 * dired.el (dired-goto-file): Recognize absolute file name
7493 listings (Bug#7126).
7494 (dired-goto-file-1): New helper function.
7495 (dired-toggle-read-only): Inhibit warnings.
7496
052e28ac
MA
74972012-03-09 Michael Albinus <michael.albinus@gmx.de>
7498
75f1671a 7499 * net/dbus.el (dbus-property-handler): Return empty array if
052e28ac
MA
7500 there are no properties.
7501
95d5e396
LL
75022012-03-09 Leo Liu <sdl.web@gmail.com>
7503
7504 * savehist.el (savehist-printable): Stricter check for string
7505 value (Bug#10937).
7506
3f018d6d
EZ
75072012-03-09 Eli Zaretskii <eliz@gnu.org>
7508
dbbc2e69
SM
7509 * mail/smtpmail.el (smtpmail-send-it):
7510 Bind coding-system-for-write to *-unix, so that FCC files are kept in
3f018d6d
EZ
7511 valid mbox format.
7512
f7fd3d79
GM
75132012-03-09 Glenn Morris <rgm@gnu.org>
7514
7515 * files.el (dir-locals-find-file):
7516 Don't check result is regular, readable.
7517 (dir-locals-read-from-file): Demote errors.
7518
6ff6e72f
EZ
75192012-03-08 Eli Zaretskii <eliz@gnu.org>
7520
dbbc2e69
SM
7521 * international/quail.el (quail-insert-kbd-layout):
7522 Insert invisible LRM characters before each character in a keyboard
6ff6e72f
EZ
7523 layout cell, to prevent their reordering by bidi display engine.
7524 For details, see the discussion in
7525 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00085.html.
7526
9cec7834
AM
75272012-03-08 Alan Mackenzie <acm@muc.de>
7528
7529 * progmodes/cc-cmds.el (c-mark-function): Make it leave a mark at
7530 the starting position; make it extend the marked region when
7531 invoked repeatedly - all under appropriate circumstances.
7532 Fixes bugs #5525, #10906.
7533
9a40b8d4
GM
75342012-03-08 Glenn Morris <rgm@gnu.org>
7535
7536 * files.el (locate-dominating-file, dir-locals-find-file):
7537 Undo 2012-03-06 change.
7538
7a08ed35
EZ
75392012-03-07 Eli Zaretskii <eliz@gnu.org>
7540
dbbc2e69
SM
7541 * international/quail.el (quail-help):
7542 Force bidi-paragraph-direction be left-to-right. See discussion in
7a08ed35
EZ
7543 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00062.html
7544 for the reason.
7545
5aca4f71 75462012-03-07 Michael Albinus <michael.albinus@gmx.de>
6612a284
MA
7547
7548 Avoid superfluous registering of signals. (Bug#10807)
7549
7550 * notifications.el (notifications-on-action-object)
7551 (notifications-on-close-object): New defvars.
7552 (notifications-on-action-signal, notifications-on-closed-signal):
7553 Unregister the signal if not needed any longer.
7554 (notifications-notify): Register `notifications-action-signal' or
7555 `notifications-closed-signal', if :on-action or :on-close has been
7556 passed as argument.
7557
78e8b10a
CY
75582012-03-07 Chong Yidong <cyd@gnu.org>
7559
7560 * cus-start.el: Avoid x-select-enable-clipboard-manager warning on
7561 non-X platforms.
7562
69481eb8
GM
75632012-03-06 Glenn Morris <rgm@gnu.org>
7564
7565 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
7566 (x-disown-selection-internal, x-get-selection-internal):
7567 Doc fix (add arglist signatures). (Bug#10783)
7568
133b8e11
KS
75692012-03-06 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
7570
7571 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
7572 Handle breakpoints with no "type".
7573
99a83064
GM
75742012-03-06 Glenn Morris <rgm@gnu.org>
7575
7576 * files.el (locate-dominating-file): Add optional predicate argument.
7577 (dir-locals-find-file): Make use of above change.
7578
17798e78
TTN
75792012-03-06 Thien-Thi Nguyen <ttn@gnuvola.org>
7580
7581 * info.el (Info-insert-dir): Also try "dir.gz".
7582
eb182446
GM
75832012-03-06 Glenn Morris <rgm@gnu.org>
7584
8f2114ee
GM
7585 * files.el (dir-locals-find-file):
7586 Ignore non-readable or non-regular files. (Bug#10928)
7587
eb182446
GM
7588 * files.el (locate-dominating-file): Doc fix.
7589
24679323
AS
75902012-03-06 Adam Spiers <emacs@adamspiers.org> (tiny change)
7591
7592 * calendar/calendar.el (calendar-set-mode-line):
7593 `getenv' returns a string. (Bug#10951)
7594
01d972a9
LL
75952012-03-05 Leo Liu <sdl.web@gmail.com>
7596
109aa8a9
LL
7597 * simple.el (backward-delete-char-untabify): Constrain point to
7598 field (Bug#10939).
7599
01d972a9
LL
7600 * eshell/em-cmpl.el (eshell-cmpl-initialize): Fix shift-tab key.
7601
10607bea
CY
76022012-03-05 Chong Yidong <cyd@gnu.org>
7603
7604 * simple.el (count-words): If called from Lisp, return the word
7605 count, for symmetry with `count-lines'. Arglist changed.
7606 (count-words--message): Args changed. Consolidate counting code
7607 from count-words and count-words-region.
7608 (count-words-region): Caller changed.
7609 (count-lines-region): Make it an obsolete alias.
7610
5dd11cfe
TH
76112012-03-04 Tassilo Horn <tassilo@member.fsf.org>
7612
7613 * saveplace.el (save-place-to-alist)
7614 (save-place-ignore-files-regexp): Allow value nil to disable this
7615 feature.
7616
c349f4e6
CY
76172012-03-04 Chong Yidong <cyd@gnu.org>
7618
7619 * faces.el (face-spec-reset-face): For the default face, reset the
7620 attributes to default values (Bug#10748).
7621
e627be4c
LMI
76222012-03-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
7623
7624 * mail/emacsbug.el (report-emacs-bug-hook): Fix up thinko in
7625 previous patch: Check `message-send-mail-function', and not the
7626 default function (bug#10897).
7627
ebeabff4
MA
76282012-03-04 Michael Albinus <michael.albinus@gmx.de>
7629
a41a6cf4
MA
7630 * notifications.el (notifications-on-action-signal)
7631 (notifications-on-closed-signal): Check for unique service name of
7632 incoming event. Fix error in removing entry.
ebeabff4 7633 (top): Register for signals with wildcard service name.
a41a6cf4 7634 (notifications-notify): Use daemon unique service name for map entries.
ebeabff4 7635
c1ca42b4
CY
76362012-03-04 Chong Yidong <cyd@gnu.org>
7637
dc9924b8 7638 * cus-start.el: Make x-select-enable-clipboard-manager customizable.
c1ca42b4 7639
ea16568d
GM
76402012-03-04 Glenn Morris <rgm@gnu.org>
7641
7642 * abbrev.el (copy-abbrev-table, abbrev-table-p)
7643 (abbrev-minor-mode-table-alist, define-abbrev, abbrev-insert)
7644 (expand-abbrev, define-abbrev-table): Doc fixes.
7645
fbae4637
LMI
76462012-03-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
7647
7648 * mail/emacsbug.el (report-emacs-bug-hook): Look at the value of
7649 `message-default-send-mail-function' and not `send-mail-function'
7650 when doing the prompting for `sendmail-query-once' before sending
7651 in Message buffers (bug#10897).
7652
a1e7225c
LMI
7653 * net/tls.el (open-tls-stream): Don't set the dont-query-on-exit flag.
7654 This is inconsistent with all the other stream functions, which leave
7655 the setting up to the higher levels (if so wanted) (bug#10931).
7656
56d093a9
AM
76572012-03-02 Alan Mackenzie <acm@muc.de>
7658
7659 Depessimize the handling of very large macros.
7660
7661 * progmodes/cc-engine.el (c-macro-cache, c-macro-cache-start-pos):
7662 (c-macro-cache-syntactic): New variables to implement a one
7663 element macro cache.
7664 (c-invalidate-macro-cache): New function.
7665 (c-beginning-of-macro, c-end-of-macro, c-syntactic-end-of-macro):
7666 Adapt to use the new cache.
7667 (c-state-safe-place): Use better the cache of safe positions.
7668 (c-state-semi-nonlit-pos-cache)
7669 (c-state-semi-nonlit-pos-cache-limit):
7670 New variables for...
7671 (c-state-semi-safe-place): New function. Here, in a macro is "safe".
7672 (c-invalidate-state-cache-1): New stuff for c-state-semi-safe-place.
dbbc2e69
SM
7673 (c-in-literal, c-literal-limits, c-determine-limit-get-base):
7674 Use c-state-semi-safe-place.
56d093a9 7675
dbbc2e69
SM
7676 * progmodes/cc-langs.el (c-get-state-before-change-functions):
7677 Add c-invalidate-macro-cache to the C, C++, Obj entries.
56d093a9 7678
817e5c3d
MA
76792012-03-02 Michael Albinus <michael.albinus@gmx.de>
7680
dbbc2e69
SM
7681 * jka-compr.el (jka-compr-call-process):
7682 Apply `file-accessible-directory-p' only when the default directory is
817e5c3d
MA
7683 not remote.
7684
a032a702
MA
76852012-03-01 Michael Albinus <michael.albinus@gmx.de>
7686
7687 * files.el (file-equal-p): Fix docstring. Avoid unnecessary
7688 access of FILE2, if FILE1 does not exist.
7689
99a54f21
MA
7690 * net/tramp-sh.el (tramp-remote-process-environment): Add "PAGER=\"\"".
7691 Reported by Robert Lupton the Good <rhl@astro.princeton.edu>.
7692
7693 * vc/vc-git.el (vc-git--call): Enable `inhibit-null-byte-detection'.
7694 Add "PAGER=" to `process-environment'.
7695
f6561e1f
MM
76962012-03-01 Michael R. Mauger <mmaug@yahoo.com>
7697
7698 * progmodes/sql.el: Bug fix
7699 (sql-get-login-ext): Save login values in globals.
7700 (sql-get-login): Use new version of `sql-get-login-ext'.
7701 (sql-interactive-mode): Set global `sql-connection' to nil.
7702 (sql-connect): Set global values for connection.
7703 (sql-product-interactive): Save global values as buffer local.
7704
2d44d9cc
LL
77052012-02-29 Leo Liu <sdl.web@gmail.com>
7706
7707 * abbrev.el (define-abbrevs): Reset sys to nil.
7708
96b49301 77092012-02-28 Thierry Volpiatto <thierry.volpiatto@gmail.com>
7710
bf7f9bc5
JB
7711 * files.el (file-equal-p): Rename from `files-equal-p'.
7712 Return nil when one or both files don't exist.
96b49301 7713 (file-subdir-of-p): Now only top directory must exists,
7714 return nil if it doesn't.
bf7f9bc5
JB
7715 (copy-directory): No need to test with `file-subdir-of-p' after
7716 creating dir.
7717 * net/tramp.el (tramp-file-name-for-operation): Rename `files-equal-p'
7718 to `file-equal-p'.
96b49301 7719
44e97401
GM
77202012-02-28 Glenn Morris <rgm@gnu.org>
7721
7722 * shell.el (shell-mode):
7723 * progmodes/vhdl-mode.el (wildcard-to-regexp, file-expand-wildcards):
7724 * play/landmark.el (landmark-font-lock-face-O):
7725 * play/handwrite.el (handwrite):
7726 * play/gomoku.el (gomoku-O):
7727 * net/browse-url.el (browse-url-browser-display):
7728 * international/mule.el (define-charset):
7729 * htmlfontify.el (hfy-etags-cmd, hfy-face-attr-for-class):
7730 * filesets.el (filesets-find-file-delay):
7731 * eshell/em-xtra.el (eshell-xtra):
7732 * eshell/em-unix.el (eshell-grep):
7733 * emulation/viper.el (viper-mode):
7734 * emacs-lisp/regexp-opt.el (regexp-opt-group):
7735 * emacs-lisp/easymenu.el (easy-menu-define):
7736 * calendar/timeclock.el (timeclock-use-display-time):
7737 * bs.el (bs-mode):
7738 * bookmark.el (bookmark-save-flag):
7739 Doc fix (standardize possessive apostrophe usage).
7740
c98c6276
CY
77412012-02-27 Chong Yidong <cyd@gnu.org>
7742
bf7f9bc5
JB
7743 * emulation/viper-cmd.el (viper-intercept-ESC-key):
7744 Fix key-binding lookup for ESC key (Bug#9146).
ecf5f74e 7745
c98c6276
CY
7746 * font-lock.el (font-lock-specified-p): Rename from
7747 font-lock-spec-present. Callers changed.
7748
9c62cd04 77492012-02-27 Daniel Hackney <dan@haxney.org>
8ac9e529 7750
bf7f9bc5
JB
7751 * emacs-lisp/package.el (package-compute-transaction):
7752 Handle holding a package version to t in package-load-list.
8ac9e529 7753
530739c9
MA
77542012-02-26 Michael Albinus <michael.albinus@gmx.de>
7755
7756 * net/tramp.el (tramp-inodes, tramp-devices): Initialize with 0.
7757 (tramp-get-inode, tramp-get-device): Use cached values.
7758
487915d7
AM
77592012-02-26 Alan Mackenzie <acm@muc.de>
7760
7761 Check there is a font-lock specification before doing initial
7762 fontification.
7763
7764 * font-core.el (font-lock-mode): Move the conditional from
7765 :after-hook to font-lock-initial-fontify.
7766 (font-lock-default-function): Move the check for a specification
7767 to font-lock-spec-present.
7768
dc9924b8 7769 * font-lock.el (font-lock-initial-fontify): Call ...
487915d7
AM
7770 (font-lock-spec-present): New function.
7771
4fd96557
JB
77722012-02-26 Jim Blandy <jimb@red-bean.com>
7773
7774 * progmodes/gdb-mi.el (gdb-mi-quote): New function.
7775 (gdb-send): Apply it to the operand of the '-interpreter-exec
7776 console' command, so that we can pass arguments with (say) quotes
7777 in them. Store exact string sent in gdb-debug-log (Bug#10765).
7778
9a4888c0
CY
77792012-02-26 Chong Yidong <cyd@gnu.org>
7780
07498861
CY
7781 * help-fns.el (describe-function-1): Clarify description of
7782 remapping (Bug#10844).
7783
9a4888c0
CY
7784 * files.el (files-equal-p): Doc fix.
7785 (file-subdir-of-p): Doc fix. Convert loop macro to plain Lisp,
7786 and quit the loop once a mismatch is found.
7787
ea8fb88d
JB
77882012-02-25 Juanma Barranquero <lekktu@gmail.com>
7789
7790 * bs.el (bs--show-with-configuration): Don't throw an error
7791 if the window cannot be split; otherwise, subsequent calls to
7792 bs-show fail, restoring a stale window config. (Bug#10882)
7793
525795c1
JD
77942012-02-25 Jan Djärv <jan.h.d@swipnet.se>
7795
7796 * term/ns-win.el (global-map): Bind ns-drag-file to
7797 ns-find-file (Bug#5855, Bug#10050).
7798
f008086f
AS
77992012-02-25 Andreas Schwab <schwab@linux-m68k.org>
7800
7801 * calendar/parse-time.el (parse-time-string): Allow extractor to
7802 return nil.
7803
a3fcfa99
MA
78042012-02-25 Michael Albinus <michael.albinus@gmx.de>
7805
91027d08
JB
7806 * net/tramp.el (tramp-file-name-for-operation):
7807 Add `files-equal-p' and `file-subdir-of-p'.
a3fcfa99
MA
7808
7809 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
91027d08
JB
7810 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
7811 Add COPY-CONTENTS argument.
a3fcfa99 7812
67b0de11
CY
78132012-02-25 Chong Yidong <cyd@gnu.org>
7814
7815 Add custom groups for VC backends, for consistency with vc-bzr.
7816
7817 * vc/vc-arch.el (vc-arch):
7818 * vc/vc-cvs.el (vc-cvs):
7819 * vc/vc-git.el (vc-git):
7820 * vc/vc-hg.el (vc-hg):
7821 * vc/vc-mtn.el (vc-mtn):
7822 * vc/vc-rcs.el (vc-rcs):
7823 * vc/vc-sccs.el (vc-sccs):
7824 * vc/vc-svn.el (vc-svn): New customization group (Bug#10871).
7825 All relevant defcustoms reassigned.
7826
3c9dfce6
CY
78272012-02-25 Chong Yidong <cyd@gnu.org>
7828
1339bf43
CY
7829 * newcomment.el (comment-styles): Add autoload (Bug#10868).
7830
3c9dfce6
CY
7831 * term/x-win.el (x-initialize-window-system): Reduce default for
7832 x-selection-timeout to 5 seconds (Bug#8869).
7833
25b2e303 78342012-02-24 Thierry Volpiatto <thierry.volpiatto@gmail.com>
7835
ec70a47d
GM
7836 * files.el (files-equal-p, file-subdir-of-p): New functions.
7837 (copy-directory): Error when trying to copy a directory on itself.
25b2e303 7838 Add missing copy-contents arg to tramp handler.
ec70a47d
GM
7839 * dired-aux.el (dired-copy-file-recursive): Same.
7840 (dired-create-files): Modify destination when source is equal to
7841 dest when copying files.
53a46cd0 7842 Return also when dest is a subdir of source. (Bug#10489)
25b2e303 7843
914260cd
MA
78442012-02-24 Michael Albinus <michael.albinus@gmx.de>
7845
7846 * net/ange-ftp.el (ange-ftp-parse-netrc): Suppress comment lines.
7847 (Bug#10874)
7848
2cb228f7
AM
78492012-02-23 Alan Mackenzie <acm@muc.de>
7850
7851 * emacs-lisp/easy-mmode.el (define-minor-mode): Add extra
7852 parameter "after-hook:" to allow the expansion to run code after
7853 the execution of the mode hooks.
7854
7855 * font-lock.el (font-lock-initial-fontify): New function extracted
91027d08 7856 from font-lock-mode-internal.
2cb228f7 7857
91027d08 7858 * font-core.el (font-lock-mode): Call font-lock-initial-fontify in
2cb228f7
AM
7859 :after-hook.
7860
8f0fde21
SM
78612012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
7862
3e88618b
SM
7863 * minibuffer.el: Make sure cycling is reset upon edit with icomplete.el.
7864 (completion--cache-all-sorted-completions): New function.
7865 (completion-all-sorted-completions): Use it.
7866 (completion--do-completion, minibuffer-force-complete):
7867 Use it to re-instate the flush hook.
7868
8f0fde21
SM
7869 * icomplete.el (icomplete-completions): Replace last fix with a better
7870 one (bug#10850).
7871
8e911f6f
DG
78722012-02-23 Dmitry Gutov <dgutov@yandex.ru>
7873
7874 * emacs-lisp/lisp.el (beginning-of-defun-raw): Don't call end-of-defun
7875 when it might call us back infinitely (bug#10797).
7876
49fe4321
GM
78772012-02-23 Glenn Morris <rgm@gnu.org>
7878
7879 * minibuffer.el (completion-category-overrides): Doc fix.
7880
b291b572
SM
78812012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
7882
7883 * minibuffer.el (completion-table-with-context): Fix inf-loop.
7884 Reported by Aaron S. Hawley <aaron.s.hawley@gmail.com>.
7885
31a9ef2e
GM
78862012-02-23 Glenn Morris <rgm@gnu.org>
7887
5e6e6794 7888 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case)
31a9ef2e
GM
7889 (authors-obsolete-files-regexps, authors-ignored-files)
7890 (authors-ambiguous-files, authors-renamed-files-alist):
7891 Add more entries.
7892
0bd1e074
JL
78932012-02-23 Juri Linkov <juri@jurta.org>
7894
7895 * isearch.el (isearch-occur): Sync interactive spec with occur's
7896 new feature in `occur-read-primary-args'. Doc fix. (Bug#10705)
7897
b617673c
JL
7898 * replace.el (occur-menu-map): Add menu item for `occur-edit-mode'.
7899
19e9789e
JL
79002012-02-22 Juri Linkov <juri@jurta.org>
7901
7902 * international/mule-cmds.el (read-char-by-name): Use \` and \'.
7903 (ucs-insert): Doc fix. Check for hex digits in the string.
7904 Don't display `nil' in the error message. (Bug#10857)
7905
f41ce09d
AM
79062012-02-22 Alan Mackenzie <acm@muc.de>
7907
7a71b18d 7908 * progmodes/cc-mode.el: Revert change #2012-02-06T22:08:41Z!larsi@gnus.org from 2012-02-06.
f41ce09d 7909
ac2eceee
GM
79102012-02-22 Glenn Morris <rgm@gnu.org>
7911
7912 * ffap.el (ffap-c-path):
7913 * man.el (Man-header-file-path): Handle multiarch. (Bug#10702)
7914
abd1f678
CY
79152012-02-22 Chong Yidong <cyd@gnu.org>
7916
7917 * custom.el (load-theme): Doc fix.
7918
f25aef2e
GM
79192012-02-22 Glenn Morris <rgm@gnu.org>
7920
7921 * dired-x.el (dired-guess-shell-alist-default):
7922 Remove escape sequences from nroff output. (Bug#172)
7923
5f8dc2ca
GM
79242012-02-21 Glenn Morris <rgm@gnu.org>
7925
6ff86ec4
GM
7926 * vc/emerge.el (emerge-defvar-local):
7927 Set `permanent-local' property rather than unused `preserved'.
7928
be3223a3 7929 * textmodes/picture.el (picture-delete-char): New alias.
5f8dc2ca
GM
7930 (picture-mode-map): Use it. (Bug#10860)
7931 (picture-mode): Doc fix.
7932
3fe58f4f
JB
79332012-02-21 Juanma Barranquero <lekktu@gmail.com>
7934
7935 * newcomment.el (uncomment-region-default): Remove unused binding.
7936
f9a998c3
GM
79372012-02-21 Glenn Morris <rgm@gnu.org>
7938
7939 * textmodes/picture.el (picture-motion, picture-motion-reverse)
7940 (picture-self-insert, picture-tab-chars): Doc fix.
7941 (picture-mode-map): Fix C-a, C-e.
7942
c6029348
GM
79432012-02-20 Glenn Morris <rgm@gnu.org>
7944
7945 * emacs-lisp/authors.el (authors-aliases): Add another entry.
7946
ab1ce9d7
LL
79472012-02-20 Leo Liu <sdl.web@gmail.com>
7948
7949 * icomplete.el (icomplete-completions): Check FROM arg before
7950 passing to substring (Bug#10850).
7951
0fd40f89
CY
79522012-02-19 Chong Yidong <cyd@gnu.org>
7953
7954 * comint.el: Require ansi-color.
7955 (comint-output-filter-functions): Add ansi-color-process-output.
7956
7957 * ansi-color.el: Don't set comint-output-filter-functions; it is
7958 now in the initial value defined in comint.el.
7959 (ansi-color-apply-face-function): New variable.
7960 (ansi-color-apply-on-region): Use it.
7961 (ansi-color-apply-overlay-face): New function.
7962
7963 * shell.el (shell): No need to require ansi-color.
7964 (shell-mode): Use ansi-color-apply-face-function to highlight
7965 color escapes using font-lock-face property (Bug#10835).
7966
20af2394
CY
79672012-02-19 Chong Yidong <cyd@gnu.org>
7968
7969 * vc/ediff-init.el (ediff-strip-mode-line-format): Handle non-list
7970 mode-line formats (Bug#10839).
7971
e23a3fbe
GM
79722012-02-18 Glenn Morris <rgm@gnu.org>
7973
b474519e
GM
7974 * mail/rmail.el (rmail-dont-reply-to-names): Mark as obsolete.
7975
7976 * mail/undigest.el (unforward-rmail-message): Doc fix.
7977
e23a3fbe
GM
7978 * saveplace.el (save-place-ignore-files-regexp): Add :version.
7979
57939ff4
EZ
79802012-02-18 Eli Zaretskii <eliz@gnu.org>
7981
7982 * international/characters.el (script-list): Sync with the latest
7983 Unicode Character Database.
7984
0c23686e
AS
79852012-02-18 Andreas Schwab <schwab@linux-m68k.org>
7986
7987 * international/titdic-cnv.el: Remove duplicate coding tag.
7988 * language/cham.el: Likewise.
7989 * language/tai-viet.el: Likewise.
7990
6818b449
GM
79912012-02-18 Glenn Morris <rgm@gnu.org>
7992
7993 * calendar/cal-menu.el (cal-menu-diary-menu, cal-menu-goto-menu):
7994 * calendar/calendar.el (diary-file, diary-bahai-entry-symbol)
7995 (calendar-bahai-all-holidays-flag, calendar-other-dates):
7996 * calendar/diary-lib.el (diary-abbreviated-year-flag):
7997 * calendar/holidays.el (holiday-bahai-holidays)
7998 (calendar-holidays, list-holidays):
7999 Use utf-8 Bahá'í in doc-strings, menus, etc.
8000
0311a3fc
TH
80012012-02-17 Tassilo Horn <tassilo@member.fsf.org>
8002
8003 * saveplace.el (save-place-ignore-files-regexp): New variable
8004 allowing for excluding files from saving their location of point.
8005 The default value matches the temporary commit message editing
8006 files from Git, SVN, Bazaar, and Mercurial.
8007 (save-place-to-alist): Use it.
8008
d209e2fb 80092012-02-17 Lawrence Mitchell <wence@gmx.li>
f1a71c6e 8010 Stefan Monnier <monnier@iro.umontreal.ca>
eb864a71
LM
8011
8012 * newcomment.el (uncomment-region-default): Don't leave extra space
8013 when an arg is provided (bug#8150).
8014
ee0ce425
TZ
80152012-02-17 Teodor Zlatanov <tzz@lifelogs.com>
8016
eb864a71 8017 * net/gnutls.el (gnutls-trustfiles): Fix Cygwin bundle location.
ee0ce425 8018
95ddf442
GM
80192012-02-17 Glenn Morris <rgm@gnu.org>
8020
8021 * net/socks.el: Require network-stream. (Bug#10599)
8022
48dd1e39 80232012-02-17 Kenichi Handa <handa@m17n.org>
c406be43
KH
8024
8025 * international/charprop.el:
8026 * international/uni-name.el:
8027 * international/uni-old-name.el:
8028 * international/uni-comment.el: Regenerate.
8029
d68cd087
GM
80302012-02-16 Glenn Morris <rgm@gnu.org>
8031
8032 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits):
8033 Interactively in calendar buffer, give an error if not on a date.
8034
13932042
GM
80352012-02-15 Glenn Morris <rgm@gnu.org>
8036
8037 * shell.el (shell-delimiter-argument-list):
8038 Revert 2011-02-17 change. (Bug#8027)
8039
c3a70e2b
CY
80402012-02-15 Chong Yidong <cyd@gnu.org>
8041
60236b0d
CY
8042 * minibuffer.el (completion-at-point-functions): Doc fix.
8043
c3a70e2b
CY
8044 * custom.el (defcustom): Doc fix; note use of defvar.
8045
9f26dc24
GM
80462012-02-15 Glenn Morris <rgm@gnu.org>
8047
8048 * mail/smtpmail.el (smtpmail-smtp-user, smtpmail-stream-type):
8049 Doc fixes.
8050
6546b134
GM
80512012-02-14 Glenn Morris <rgm@gnu.org>
8052
8053 * mail/smtpmail.el (smtpmail-query-smtp-server): Give it a doc.
8054
d29b2b4c
LI
80552012-02-14 Lars Ingebrigtsen <larsi@gnus.org>
8056
8057 * mail/smtpmail.el (smtpmail-query-smtp-server): Fix typo in the
8058 way the ports list is computed.
835bdcba
LI
8059 (smtpmail-query-smtp-server): Prompt the user for a port number if
8060 we can't connect to any of the standard ports (bug#10810).
d29b2b4c 8061
08dcdbc9
TZ
80622012-02-14 Teodor Zlatanov <tzz@lifelogs.com>
8063
8064 * net/gnutls.el (gnutls-trustfiles): Add Cygwin location.
8065
2605051a
GM
80662012-02-13 Glenn Morris <rgm@gnu.org>
8067
8068 * minibuffer.el (read-file-name): Doc fix. (Bug#10798)
8069
7ee99f32
TZ
80702012-02-13 Teodor Zlatanov <tzz@lifelogs.com>
8071
8072 * net/gnutls.el (gnutls-trustfiles): New variable.
8073 (gnutls-negotiate): Use it.
8074
5f0af64f
LI
80752012-02-13 Lars Ingebrigtsen <larsi@gnus.org>
8076
8077 * simple.el (mail-user-agent): Mention that `gnus-user-agent' only
8078 does its stuff if Gnus is running.
8079
c14fcc95
AM
80802012-02-13 Alan Mackenzie <acm@muc.de>
8081
8082 Fix a loop in c-set-fl-decl-start.
8083
7a71b18d 8084 * progmodes/cc-engine.el (c-set-fl-decl-start): Add a check that
c14fcc95
AM
8085 c-backward-syntactic-ws actually moves backwards.
8086
142b4d90
LL
80872012-02-13 Leo Liu <sdl.web@gmail.com>
8088
8089 * net/rcirc.el (rcirc-markup-attributes): Move point to the
8090 beginning so that all \C-o chars are removed.
8091
fa9958a6
TZ
80922012-02-12 Teodor Zlatanov <tzz@lifelogs.com>
8093
dc9924b8 8094 * net/gnutls.el (gnutls-algorithm-priority): Add missing :group tag.
fa9958a6 8095
0bc5886a
AM
80962012-02-12 Alan Mackenzie <acm@muc.de>
8097
8098 Fix infinite loop with long macros.
4d6769e1 8099 * progmodes/cc-engine.el (c-state-safe-place): Handle macros properly.
0bc5886a 8100
d4bd55e7
CY
81012012-02-12 Chong Yidong <cyd@gnu.org>
8102
8103 * window.el (display-buffer): Doc fix (Bug#10785).
8104
66f3fe22
GM
81052012-02-12 Glenn Morris <rgm@gnu.org>
8106
bd7da63e
GM
8107 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
8108 (x-disown-selection-internal, x-get-selection-internal):
8109 Sync docs with the xselect.c versions.
8110
66f3fe22
GM
8111 * allout-widgets.el: Add missing license notice.
8112
3e0d2fa7
GM
81132012-02-11 Glenn Morris <rgm@gnu.org>
8114
cfecdf09
GM
8115 * select.el (x-get-selection-internal, x-own-selection-internal)
8116 (x-disown-selection-internal):
8117 * x-dnd.el (x-get-selection-internal): Update declarations.
8118
6d216d7f
GM
8119 * vc/log-view.el (vc-diff-internal): Remove unneeded declaration.
8120
2bed3f04
GM
8121 * window.el (window-sides-slots):
8122 * tool-bar.el (tool-bar-position):
8123 * term/xterm.el (xterm-extra-capabilities):
8124 * ses.el (ses-self-reference-early-detection):
8125 * progmodes/verilog-mode.el (verilog-auto-declare-nettype)
8126 (verilog-auto-wire-type)
8127 (verilog-auto-delete-trailing-whitespace)
8128 (verilog-auto-reset-blocking-in-non, verilog-auto-inst-sort)
8129 (verilog-auto-tieoff-declaration):
8130 * progmodes/sql.el (sql-login-hook, sql-ansi-statement-starters)
8131 (sql-oracle-statement-starters, sql-oracle-scan-on):
8132 * progmodes/prolog.el (prolog-align-comments-flag)
8133 (prolog-indent-mline-comments-flag, prolog-object-end-to-0-flag)
8134 (prolog-left-indent-regexp, prolog-paren-indent-p)
8135 (prolog-paren-indent, prolog-parse-mode, prolog-keywords)
8136 (prolog-types, prolog-mode-specificators)
8137 (prolog-determinism-specificators, prolog-directives)
8138 (prolog-electric-newline-flag, prolog-hungry-delete-key-flag)
8139 (prolog-electric-dot-flag)
8140 (prolog-electric-dot-full-predicate-template)
8141 (prolog-electric-underscore-flag, prolog-electric-tab-flag)
8142 (prolog-electric-if-then-else-flag, prolog-electric-colon-flag)
8143 (prolog-electric-dash-flag, prolog-old-sicstus-keys-flag)
8144 (prolog-program-switches, prolog-prompt-regexp)
8145 (prolog-debug-on-string, prolog-debug-off-string)
8146 (prolog-trace-on-string, prolog-trace-off-string)
8147 (prolog-zip-on-string, prolog-zip-off-string)
8148 (prolog-use-standard-consult-compile-method-flag)
8149 (prolog-use-prolog-tokenizer-flag, prolog-imenu-flag)
8150 (prolog-imenu-max-lines, prolog-info-predicate-index)
8151 (prolog-underscore-wordchar-flag, prolog-use-sicstus-sd)
8152 (prolog-char-quote-workaround):
8153 * progmodes/cc-vars.el (c-defun-tactic):
8154 * net/tramp.el (tramp-encoding-command-interactive)
8155 (tramp-local-end-of-line):
8156 * net/soap-client.el (soap-client):
8157 * net/netrc.el (netrc-file):
8158 * net/gnutls.el (gnutls):
8159 * minibuffer.el (completion-category-overrides)
8160 (completion-cycle-threshold)
8161 (completion-pcm-complete-word-inserts-delimiters):
8162 * man.el (Man-name-local-regexp):
8163 * mail/feedmail.el (feedmail-display-full-frame):
8164 * international/characters.el (glyphless-char-display-control):
8165 * eshell/em-ls.el (eshell-ls-date-format):
8166 * emacs-lisp/cl-indent.el (lisp-lambda-list-keyword-alignment)
8167 (lisp-lambda-list-keyword-parameter-indentation)
8168 (lisp-lambda-list-keyword-parameter-alignment):
8169 * doc-view.el (doc-view-image-width, doc-view-unoconv-program):
8170 * dired-x.el (dired-omit-verbose):
8171 * cus-theme.el (custom-theme-allow-multiple-selections):
8172 * calc/calc.el (calc-highlight-selections-with-faces)
8173 (calc-lu-field-reference, calc-lu-power-reference)
8174 (calc-note-threshold):
8175 * battery.el (battery-mode-line-limit):
8176 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
8177 (archive-7z-update):
8178 * allout.el (allout-prefixed-keybindings)
8179 (allout-unprefixed-keybindings)
8180 (allout-inhibit-auto-fill-on-headline)
8181 (allout-flattened-numbering-abbreviation):
8182 * allout-widgets.el (allout-widgets-auto-activation)
8183 (allout-widgets-icons-dark-subdir)
8184 (allout-widgets-icons-light-subdir, allout-widgets-icon-types)
8185 (allout-widgets-theme-dark-background)
8186 (allout-widgets-theme-light-background)
8187 (allout-widgets-item-image-properties-emacs)
8188 (allout-widgets-item-image-properties-xemacs)
8189 (allout-widgets-run-unit-tests-on-load)
8190 (allout-widgets-time-decoration-activity)
8191 (allout-widgets-hook-error-post-time)
8192 (allout-widgets-track-decoration):
8193 Add missing :version tags to new defcustoms and defgroups.
8194
5fec1b8e
GM
8195 * progmodes/sql.el (sql-ansi-statement-starters)
8196 (sql-oracle-statement-starters): Add custom type.
8197
3e0d2fa7
GM
8198 * progmodes/prolog.el: Remove leading '*' from defcustom docs.
8199 (prolog-system-version): Give it a type.
8200
90b671e2
EZ
82012012-02-11 Eli Zaretskii <eliz@gnu.org>
8202
8203 * term/pc-win.el (x-select-text, x-selection-owner-p)
8204 (x-own-selection-internal, x-disown-selection-internal)
8205 (x-get-selection-internal): Sync doc strings and argument lists
8206 with xselect.c, common-win.el and x-win.el. (Bug#10783)
8207
5eac0c02
LL
82082012-02-11 Leo Liu <sdl.web@gmail.com>
8209
8210 * progmodes/python.el (python-end-of-statement): Fix infinite
8211 loop. (Bug#10788)
8212
f82cb659
GM
82132012-02-10 Glenn Morris <rgm@gnu.org>
8214
8215 * international/mule-cmds.el (unify-8859-on-encoding-mode)
8216 (unify-8859-on-decoding-mode): Properly mark as obsolete.
8217
cc26d239
LI
82182012-02-10 Lars Ingebrigtsen <larsi@gnus.org>
8219
8220 * mail/emacsbug.el (report-emacs-bug-hook): Query the user first
8221 about SMTP before checking the From header.
8222
91027d08 8223 * mail/sendmail.el (sendmail-query-user-about-smtp): Refactor out
cc26d239
LI
8224 into own function for reuse by emacsbug.el.
8225
1be3ca5a
LL
82262012-02-10 Leo Liu <sdl.web@gmail.com>
8227
8228 * subr.el (condition-case-unless-debug): Rename from
8229 condition-case-no-debug. All callers changed.
8230 (with-demoted-errors): Fix caller.
8231
8232 * vc/diff-mode.el (diff-auto-refine-mode, diff-hunk):
8233 * nxml/rng-valid.el (rng-do-some-validation):
8234 * emacs-lisp/package.el (package-refresh-contents)
8235 (package-menu-execute):
8236 * desktop.el (desktop-create-buffer):
91027d08 8237 * font-lock.el (lisp-font-lock-keywords-2): Caller changed.
1be3ca5a 8238
b011fbfe
GM
82392012-02-10 Glenn Morris <rgm@gnu.org>
8240
b2096d72
GM
8241 * textmodes/bibtex.el:
8242 Add missing :version tags for new/changed defcustoms.
8243
b011fbfe
GM
8244 * files.el (remote-file-name-inhibit-cache): Doc fixes.
8245
4c7e65bf
LI
82462012-02-09 Lars Ingebrigtsen <larsi@rusty>
8247
8248 * mail/smtpmail.el (smtpmail-user-mail-address): New function.
8249 (smtpmail-via-smtp): Use it, or fall back on the From address.
8250 (smtpmail-send-it): Ditto.
8251
f3934f6f
SM
82522012-02-09 Stefan Monnier <monnier@iro.umontreal.ca>
8253
8254 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
8255 Don't fallback on byte-compile-defvar. Optimize (defvar foo) away.
8256 (byte-compile-tmp-var): New const.
8257 (byte-compile-defvar): Use it to minimize .elc size.
8258 Just use `defvar' rather than simulate it (bug#10761).
8259
a075a2c5
GM
82602012-02-09 Glenn Morris <rgm@gnu.org>
8261
cf3aa21b
GM
8262 * files.el (rename-uniquely): Doc fix. (Bug#3806)
8263
354998cd
GM
8264 * progmodes/cc-guess.el (c-guess-offset-threshold, c-guess-region-max):
8265 Add :version tags.
8266
dc9924b8
SM
8267 * progmodes/compile.el (compilation-error-screen-columns)
8268 (compilation-first-column, compilation-filter-start): Doc fixes.
83274125 8269
dab3703d
GM
8270 * vc/log-view.el (log-view-toggle-entry-display):
8271 * vc/vc.el (vc-merge, vc-pull): Doc fixes.
8272
3f88cd72
GM
8273 * mail/emacsbug.el (report-emacs-bug-can-use-osx-open)
8274 (report-emacs-bug-can-use-xdg-email):
8275 (report-emacs-bug-insert-to-mailer): Doc fixes.
8276 (report-emacs-bug): Message fix.
8277
d95b247d
GM
8278 * net/browse-url.el (browse-url-can-use-xdg-open)
8279 (browse-url-xdg-open): Doc fixes.
8280
a075a2c5
GM
8281 * electric.el (electric-indent-mode, electric-pair-mode)
8282 (electric-layout-rules, electric-layout-mode): Doc fixes.
8283 (electric-pair-pairs, electric-pair-skip-self): Add :version tags.
8284
ffb6157e
MR
82852012-02-08 Martin Rudalics <rudalics@gmx.at>
8286
8287 * server.el (server-unselect-display): Don't inadvertently kill
8288 the current buffer. (Bug#10729)
8289
e1ac4066
GM
82902012-02-08 Glenn Morris <rgm@gnu.org>
8291
34e8a2da
GM
8292 * progmodes/sql.el (sql-port, sql-connection-alist, sql-list-all)
8293 (sql-list-table): Doc fixes.
8294
b4ac6e8c
GM
8295 * image-mode.el (image-transform-minor-mode-map, image-transform-mode):
8296 Comment out (does nothing).
8297
e1ac4066
GM
8298 * completion.el (dynamic-completion-mode):
8299 * dirtrack.el (dirtrack-debug-mode):
8300 * electric.el (electric-layout-mode):
8301 * epa-mail.el (epa-mail-mode, epa-global-mail-mode):
8302 * face-remap.el (text-scale-mode, buffer-face-mode):
8303 * iimage.el (iimage-mode):
8304 * image-mode.el (image-transform-mode):
8305 * minibuffer.el (completion-in-region-mode):
8306 * scroll-lock.el (scroll-lock-mode):
8307 * simple.el (next-error-follow-minor-mode):
8308 * tar-mode.el (tar-subfile-mode):
8309 * tooltip.el (tooltip-mode):
8310 * vcursor.el (vcursor-use-vcursor-map):
8311 * wid-browse.el (widget-minor-mode):
8312 * emulation/tpu-edt.el (tpu-edt-mode):
8313 * emulation/tpu-extras.el (tpu-cursor-free-mode):
8314 * international/iso-ascii.el (iso-ascii-mode):
8315 * language/thai-util.el (thai-word-mode):
8316 * mail/supercite.el (sc-minor-mode):
8317 * net/goto-addr.el (goto-address-mode):
8318 * net/rcirc.el (rcirc-multiline-minor-mode, rcirc-track-minor-mode):
8319 * progmodes/cwarn.el (cwarn-mode):
8320 * progmodes/flymake.el (flymake-mode):
8321 * progmodes/glasses.el (glasses-mode):
8322 * progmodes/hideshow.el (hs-minor-mode):
8323 * progmodes/pascal.el (pascal-outline-mode):
8324 * textmodes/enriched.el (enriched-mode):
8325 * vc/smerge-mode.el (smerge-mode):
8326 Doc fixes (minor mode argument).
8327
5e0d957f
EZ
83282012-02-07 Eli Zaretskii <eliz@gnu.org>
8329
8330 * ls-lisp.el (ls-lisp-sanitize): New function.
8331 (ls-lisp-insert-directory): Use it to fix or remove any elements
8332 in file-alist with missing attributes. (Bug#4673)
8333
98d7371e
AM
83342012-02-07 Alan Mackenzie <acm@muc.de>
8335
8336 Fix spurious recognition of c-in-knr-argdecl.
8337
8338 * progmodes/cc-engine.el (c-in-knr-argdecl): Check for '=' in a
8339 putative K&R region.
8340
667ced3a
AM
83412012-02-07 Alan Mackenzie <acm@muc.de>
8342
eb864a71
LM
8343 * progmodes/cc-engine.el (c-forward-objc-directive):
8344 Prevent looping in "#pragma mark @implementation".
667ced3a 8345
5b77774d
MA
83462012-02-07 Michael Albinus <michael.albinus@gmx.de>
8347
8348 * notifications.el (notifications-on-closed-signal): Make `reason'
8349 optional. (Bug#10744)
8350
af008560
GM
83512012-02-07 Glenn Morris <rgm@gnu.org>
8352
60d47423
GM
8353 * emacs-lisp/easy-mmode.el (define-minor-mode):
8354 Doc fixes for the macro and the mode it defines.
8355
dd605cc4
GM
8356 * image.el (imagemagick-types-inhibit): Doc fix.
8357
af008560
GM
8358 * cus-start.el (imagemagick-render-type): Add it.
8359
5cc59a37
LI
83602012-02-06 Lars Ingebrigtsen <larsi@gnus.org>
8361
4d6769e1
JB
8362 * progmodes/cc-mode.el (c-standard-font-lock-fontify-region-function):
8363 Set the default at load time, too, so that `font-lock-fontify-buffer'
8364 can be called without setting up the entire mode first. This fixes
8365 a bug in `mm-inline-text' with C MIME parts.
5cc59a37 8366
9a6dd747
CY
83672012-02-06 Chong Yidong <cyd@gnu.org>
8368
2d16b285
CY
8369 * simple.el (list-processes--refresh): Delete exited processes
8370 (Bug#8094).
8371
171e9b6e
CY
8372 * comint.el (comint-next-prompt): next-single-char-property-change
8373 and prev-single-char-property-change never return nil (Bug#8657).
8374
9a6dd747
CY
8375 * custom.el (defcustom): Doc fix (Bug#9711).
8376
aa4589a7
CY
83772012-02-05 Chong Yidong <cyd@gnu.org>
8378
5c2a252f
CY
8379 * cus-edit.el (custom-variable-reset-backup): Quote the value
8380 before storing it in the customized-value property (Bug#6712).
4aab9006 8381 (custom-display): Add a customization type tag.
983b9602 8382 (custom-buffer-create-internal): Improve tooltip message.
5c2a252f 8383
aa4589a7
CY
8384 * wid-edit.el (widget-field-value-get): New optional arg to
8385 suppress trailing whitespace truncation.
8386 (character): Use it (Bug#2689).
8387
1ff980ae
AS
83882012-02-05 Andreas Schwab <schwab@linux-m68k.org>
8389
8390 * progmodes/gud.el (gud-pv): Use pv instead of pv1.
8391 * progmodes/gdb-mi.el (gud-pp): Use pp instead of pp1.
8392
03988c98
CY
83932012-02-05 Chong Yidong <cyd@gnu.org>
8394
eeb6cc88
CY
8395 * cus-edit.el (custom-variable-value-create): For mismatched
8396 types, show the current value (Bug#7600).
8397
03988c98
CY
8398 * custom.el (defcustom): Doc fix.
8399
f8cdeef0
GM
84002012-02-05 Glenn Morris <rgm@gnu.org>
8401
8402 * font-lock.el (lisp-font-lock-keywords-2): Add with-wrapper-hook.
8403
0696d255
JB
84042012-02-05 Juanma Barranquero <lekktu@gmail.com>
8405
8406 * emacs-lisp/pp.el (pp-to-string): Use `with-temp-buffer'.
8407 (pp-buffer): Use `ignore-errors', `looking-at-p'.
8408 (pp-last-sexp): Use `looking-at-p'.
8409
34c99998
GM
84102012-02-04 Glenn Morris <rgm@gnu.org>
8411
8f05da42
GM
8412 * files.el (revert-buffer):
8413 Doc fix (mention revert-buffer-in-progress-p).
8414
f160676e
GM
8415 * emacs-lisp/ert-x.el (ert-simulate-command):
8416 Check deferred-action-list (which is obsolete) is bound.
8417
c7291ad9
GM
8418 * subr.el (with-wrapper-hook): Doc fixes.
8419
34c99998
GM
8420 * simple.el (filter-buffer-substring-functions)
8421 (buffer-substring-filters, filter-buffer-substring): Doc fixes.
8422
6283a7d3
LL
84232012-02-04 Lars Ljung <lars@matholka.se> (tiny change)
8424
8425 * eshell/esh-ext.el (eshell-windows-shell-file): Match "cmdproxy"
8426 anywhere in shell-file-name, not just at the beginning. (Bug#10523)
8427
e96e3013
LL
84282012-02-04 Leo Liu <sdl.web@gmail.com>
8429
8430 * emacs-lisp/smie.el: Fix dead link (Bug#10711).
8431
8ded50f2
GM
84322012-02-04 Glenn Morris <rgm@gnu.org>
8433
82ff1d13
GM
8434 * image.el (image-extension-data): Add obsolete alias.
8435
987a0a16
GM
8436 * isearch.el (isearch-update): Doc fix.
8437
ea32ef46
GM
8438 * facemenu.el (list-colors-display): Doc fix (minor rephrasing).
8439
8ded50f2
GM
8440 * ido.el (ido-find-file): Doc fix (ido-toggle-vc not on any key).
8441
eea14f31
GM
84422012-02-03 Glenn Morris <rgm@gnu.org>
8443
8444 * image.el (image-animated-p): Doc fix. Use image-animated-types.
8445 (image-animate-timeout): Doc fix.
8446
8447 * image-mode.el (image-animate-loop, image-toggle-animation): Doc fixes.
8448
12f381b7
GM
84492012-02-02 Glenn Morris <rgm@gnu.org>
8450
953cebf5
GM
8451 * server.el (server-auth-dir): Doc fix.
8452 (server-eval-at): Doc fix. Give an explicit error if !server-use-tcp.
8453
12f381b7
GM
8454 * subr.el (run-mode-hooks): Doc fix.
8455
953a8c3b
JL
84562012-02-02 Juri Linkov <juri@jurta.org>
8457
8458 * image-mode.el (image-toggle-display-image): Remove tautological
8459 `major-mode' from the `derived-mode-p' test.
8460
c5d3843c
KH
84612012-02-02 Kenichi Handa <handa@m17n.org>
8462
9f6e692e 8463 * composite.el (compose-region): Cancel previous change.
c5d3843c 8464
159462d4 84652012-02-02 Kenichi Handa <handa@m17n.org>
d2a51fd7
KH
8466
8467 * composite.el (compose-region, compose-string): Signal error for
8468 a null string component (Bug#6988).
8469
9f562668
CY
84702012-02-01 Chong Yidong <cyd@gnu.org>
8471
e2cef717
CY
8472 * view.el (view-buffer-other-window, view-buffer-other-frame):
8473 Handle special modes like view-buffer (Bug#10650).
8474 (view-buffer): Simplify.
8475
9f562668
CY
8476 * frame.el (set-frame-font): Tweak meaning of third argument.
8477
9f6e692e
JB
8478 * dynamic-setting.el (font-setting-change-default-font):
8479 Use set-frame-font (Bug#9982).
9f562668 8480
781acb9f
GM
84812012-02-01 Glenn Morris <rgm@gnu.org>
8482
6035be52
GM
8483 * progmodes/compile.el (compilation-internal-error-properties):
8484 Respect compilation-first-column in the "*compilation*" buffer.
8485
781acb9f
GM
8486 * emacs-lisp/easy-mmode.el (define-minor-mode):
8487 Relax :variable's test for a named function.
8488
abbceb00
AM
84892012-01-31 Alan Mackenzie <acm@muc.de>
8490
8491 * progmodes/cc-engine.el (c-guess-basic-syntax): CASE 5B.1: Fix an
8492 off by one error.
8493
fce3fdeb
CY
84942012-01-31 Chong Yidong <cyd@gnu.org>
8495
8496 * frame.el (set-frame-font): New arg ALL-FRAMES.
8497
8498 * menu-bar.el (menu-set-font): Use set-frame-font.
8499
8500 * faces.el (face-spec-reset-face): Don't apply unspecified
8501 attribute values to the default face.
8502
47893581
JB
85032012-01-31 Juanma Barranquero <lekktu@gmail.com>
8504
8505 * progmodes/cwarn.el (cwarn): Remove dead link.
8506 (cwarn-configuration, cwarn-verbose, cwarn-mode-text, cwarn-load-hook):
8507 Remove * from defcustom docstrings.
8508 (turn-on-cwarn-mode): Make obsolete.
8509 (c-at-toplevel-p): Remove compatibility code for Emacs 20.3 and older.
8510 (turn-on-cwarn-mode-if-enabled): Call `cwarn-mode'.
8511
e58e988a
GM
85122012-01-31 Glenn Morris <rgm@gnu.org>
8513
60dc2671 8514 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
6c9b47ae 8515 Fix :variable handling of mode a symbol not equal to modefun.
60dc2671 8516 Allow named functions to be used as the cdr of :variable.
e58e988a 8517
7a3f511d
GM
85182012-01-30 Glenn Morris <rgm@gnu.org>
8519
8520 * emacs-lisp/authors.el (authors-fixed-entries):
8521 Remove reference to deleted file rnewspost.el.
8522
cb882333
JB
85232012-01-29 Juanma Barranquero <lekktu@gmail.com>
8524
8525 * window.el (window-with-parameter): Remove unused variable `windows'.
8526 (window--side-check): Remove unused variable `code'.
8527 (window--resize-siblings): Remove unused variable `first'.
8528 (adjust-window-trailing-edge): Remove unused variable `failed'.
8529 (window-deletable-p, window--delete): Remove unused variable `buffer'.
8530 Use `let', not `let*'.
8531 (balance-windows-2): Remove unused variable `found'.
8532 (window--state-put-2): Remove unused variable `splits'.
8533 (window-state-put): Remove unused variable `selected'.
8534 (same-window-p): Use `string-match-p'.
8535 (display-buffer-assq-regexp): Remove unused variable `value'.
8536 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
8537 Mark argument ALIST as ignored.
8538 (pop-to-buffer): Remove unused variable `old-window'.
8539
907201af
EZ
85402012-01-29 Eli Zaretskii <eliz@gnu.org>
8541
8542 * jka-cmpr-hook.el (jka-compr-compression-info-list): Support .lz
8543 and .lzma compressed files.
8544
ea162670
CY
85452012-01-29 Chong Yidong <cyd@gnu.org>
8546
5b95ee8a
CY
8547 * frame.el (window-system-default-frame-alist): Doc fix.
8548
ea162670
CY
8549 * dynamic-setting.el (font-setting-change-default-font): Don't
8550 change the default face if SET-FONT argument is non-nil (Bug#9982).
8551
d6e6f4b1
SB
85522012-01-29 Samuel Bronson <naesten@gmail.com> (tiny change)
8553
8554 * custom.el (defcustom): Add doc link to Lisp manual (Bug#10635).
8555
0f29fa41 85562012-01-29 Syver Enstad <syver.enstad@cisco.com> (tiny change)
6b25e4e2
SE
8557
8558 * progmodes/gud.el (pdb): Give pdb full paths, to allow setting
8559 breakpoints in files outside current directory (Bug#6098).
8560
db174434
CY
85612012-01-29 Chong Yidong <cyd@gnu.org>
8562
6b25e4e2
SE
8563 * progmodes/python.el: Require ansi-color at top-level.
8564
6df6ae42
JB
8565 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-abbrev-table):
8566 Define and use in Emacs Lisp mode (Bug#9360).
db174434
CY
8567 (lisp-mode-abbrev-table): Add doc.
8568 (lisp-mode-variables): Don't set local-abbrev-table.
8569 (lisp-interaction-mode): Use emacs-lisp-mode-abbrev-table.
8570
e70ee681
RW
85712012-01-28 Roland Winkler <winkler@gnu.org>
8572
8573 * textmodes/bibtex.el (bibtex-vec-incr): Fix docstring.
8574
ace88aa2
RW
85752012-01-28 Roland Winkler <winkler@gnu.org>
8576
8577 * textmodes/bibtex.el (bibtex-entry-alist): New function.
8578 (bibtex-set-dialect): Use it. Either set global values of
8579 dialect-dependent variables or bind these variables buffer-locally
8580 (Bug#10254).
8581 (bibtex-mode): Call bibtex-set-dialect via
8582 hack-local-variables-hook.
eb864a71
LM
8583 (bibtex-dialect): Update docstring.
8584 Add safe-local-variable predicate.
ace88aa2
RW
8585 (bibtex-entry-alist, bibtex-field-alist): Initialize via
8586 bibtex-set-dialect.
8587 (bibtex-mode-map): Define menu for each dialect.
8588 (bibtex-entry): Fix docstring.
8589
93376c5b
CY
85902012-01-28 Chong Yidong <cyd@gnu.org>
8591
8592 * eshell/esh-arg.el (eshell-quote-argument): New function.
8593
8594 * eshell/esh-ext.el (eshell-invoke-batch-file):
8595 * eshell/em-unix.el (eshell/cat, eshell/du): Use it to quote the
8596 first arg to eshell-parse-command (Bug#10523).
8597
4372494f
DA
85982012-01-28 Drew Adams <drew.adams@oracle.com>
8599
8600 * net/ange-ftp.el (ange-ftp-canonize-filename): Check, that
8601 `default-directory' is non-nil.
8602
4d4ec1f8
EZ
86032012-01-28 Eli Zaretskii <eliz@gnu.org>
8604
8605 * mail/emacsbug.el (report-emacs-bug): Fill the potentially long
8606 line that displays system-configuration-options. (Bug#9924)
8607
7c188927
DA
86082012-01-28 Drew Adams <drew.adams@oracle.com>
8609
8610 * descr-text.el (describe-char): Show information about POS, in
8611 addition to information about the character at POS. Improve and
8612 update the doc string. Change "code point" to "code point in
8613 charset", to avoid confusion with the character's Unicode code
8614 point shown above that. (Bug#10129)
8615
e0da685a
EZ
86162012-01-28 Eli Zaretskii <eliz@gnu.org>
8617
8618 * descr-text.el (describe-char): Show the raw character, not only
8619 its display form at POS. Suggested by Kenichi Handa <handa@m17n.org>.
8620 See http://lists.gnu.org/archive/html/emacs-devel/2012-01/msg00760.html
8621 for the reasons.
8622
70550acf
PH
86232012-01-28 Phil Hagelberg <phil@hagelb.org>
8624
eb864a71
LM
8625 * emacs-lisp/package.el (package-install):
8626 Run package-refresh-contents if there is no archive yet (Bug#9798).
70550acf 8627
0ce8e868
CY
86282012-01-28 Chong Yidong <cyd@gnu.org>
8629
cb882333
JB
8630 * emacs-lisp/package.el (package-maybe-load-descriptor):
8631 New function, split from package-maybe-load-descriptor.
0ce8e868
CY
8632 (package-maybe-load-descriptor): Use it.
8633 (package-download-transaction): Fully load required packages
8634 inside the loop, so that `require' calls work (Bug#10593).
8635 (package-install): No need to call package-initialize now.
8636
2e7f3bea
CY
86372012-01-28 Chong Yidong <cyd@gnu.org>
8638
6e9bad14
CY
8639 * simple.el (deactivate-mark): Doc fix (Bug#8614).
8640
f823b8ca
CY
8641 * tooltip.el (tooltip-mode): Doc fix.
8642 (tooltip-use-echo-area): Mark as obsolete (Bug#6595).
8643
2680c309
CY
8644 * frame.el (set-cursor-color): Doc fix (Bug#352).
8645
d7a9e63b
CY
8646 * mail/rmail.el (rmail-start-mail): Add send-action again (Bug#10625).
8647 (rmail-mail-return): Switch to NEWBUF only if it is non-nil.
8648
2e7f3bea
CY
8649 * cus-edit.el (custom-buffer-create-internal): Fix search button
8650 action (Bug#10542).
2ae01800 8651 (customize-unsaved, customize-saved): Doc fix (Bug#10541).
2e7f3bea 8652
fc4f7a23
EW
86532012-01-27 Eduard Wiebe <usenet@pusto.de>
8654
8655 * dired.el (dired-mark-files-regexp):
8656 Include any subdirectory components. (Bug#10445)
8657
7dd37071
ML
86582012-01-27 Mike Lamb <mrlamb@gmail.com> (tiny change)
8659
8660 * pcmpl-unix.el (pcmpl-ssh-known-hosts):
8661 Handle [host]:port syntax. (Bug#10533)
8662
a268160b
AH
86632012-01-27 Alex Harsanyi <harsanyi@mac.com>
8664
8665 * xml.el (xml-parse-tag): Fix parsing of comments (Bug#10405).
8666
e43273ef
GM
86672012-01-26 Glenn Morris <rgm@gnu.org>
8668
8669 * dired-x.el (dired-bind-jump): Use ctl-x-map and ctl-x-4-map.
8670 * term.el (term-raw-escape-map): Use Control-X-prefix.
8671 * vc/vc-hooks.el (vc-prefix-map): Use ctl-x-map. (Bug#10566)
8672
1edf595d
MR
86732012-01-25 Martin Rudalics <rudalics@gmx.at>
8674
8675 * window.el (window-state-get, window--state-get-1): Don't deal
8676 with fixed-sizeness of windows. Simplify code.
8677
fa8eafef
JC
86782012-01-25 Jérémy Compostella <jeremy.compostella@gmail.com>
8679
6df6ae42
JB
8680 * window.el (window--state-get-1, window--state-put-2):
8681 Don't save and restore the mark.
fa8eafef 8682
0b21c100
CY
86832012-01-25 Chong Yidong <cyd@gnu.org>
8684
8685 * custom.el (custom-variable-p): Doc fix.
8686
5ae1a6c8
GM
86872012-01-25 Glenn Morris <rgm@gnu.org>
8688
40047858
GM
8689 * dired.el (dired-goto-file): Handle some of the more common
8690 characters that `ls -b' escapes. (Bug#10596)
8691
5ddce96c
GM
8692 * progmodes/compile.el (compilation-next-error-function):
8693 Respect compilation-first-column in the "*compilation*" buffer.
8694 * progmodes/grep.el (grep-first-column): New variable. (Bug#10594)
8695
5ae1a6c8
GM
8696 * vc/vc.el (vc-modify-change-comment): Scoping fix. (Bug#10513)
8697
b559f1a9
GM
86982012-01-24 Glenn Morris <rgm@gnu.org>
8699
8700 * pcmpl-gnu.el (pcomplete/tar): Handle " - ". (Bug#10457)
8701
6725d21a
JD
87022012-01-24 Julien Danjou <julien@danjou.info>
8703
8704 * color.el (color-rgb-to-hsl): Fix value computing.
8705 (color-hue-to-rgb): New function.
8706 (color-hsl-to-rgb): New function.
8707 (color-clamp, color-saturate-hsl, color-saturate-name)
8708 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
8709 (color-lighten-name, color-darken-hsl, color-darken-name): New function.
8710
70df4bbe
GM
87112012-01-24 Glenn Morris <rgm@gnu.org>
8712
8713 * vc/vc-rcs.el (vc-rcs-create-tag):
8714 * vc/vc-sccs.el (vc-sccs-create-tag):
8715 Fix argument spec to be what vc-create-tag expects. (Bug#10515)
8716
802a2ae2
ML
87172012-01-23 Mike Lamb <mrlamb@gmail.com> (tiny change)
8718
8719 * eshell/esh-util.el (eshell-read-hosts-file):
8720 Skip comment lines. (Bug#10549)
8721
d7128bb1
ML
8722 * eshell/em-unix.el (pcomplete/ssh): Remove. (Bug#10548)
8723
d1a5c3b4
JB
87242012-01-23 Juanma Barranquero <lekktu@gmail.com>
8725
2724d9c7
JB
8726 * subr.el (display-delayed-warnings): Doc fix.
8727 (collapse-delayed-warnings): New function to collapse identical
8728 adjacent warnings.
8729 (delayed-warnings-hook): Add it.
d1a5c3b4 8730
a5509865
MA
87312012-01-22 Michael Albinus <michael.albinus@gmx.de>
8732
8733 * net/tramp.el (tramp-action-login): Set connection property "login-as".
8734
a5509865
MA
8735 * net/tramp-sh.el (tramp-methods): Add user spec to "pscp" and "psftp".
8736 (tramp-default-user-alist): Don't add "pscp".
8737 (tramp-do-copy-or-rename-file-out-of-band): Use connection
8738 property "login-as", if set. (Bug#10530)
8739
cc6d5805
MA
87402012-01-21 Michael Albinus <michael.albinus@gmx.de>
8741
8742 * net/tramp-sh.el (tramp-default-user-alist): Don't add "plink",
8743 "plink1" and "psftp". (Bug#10530)
8744
87452012-01-21 Kenichi Handa <handa@m17n.org>
71784361
KH
8746
8747 * international/mule-cmds.el (prefer-coding-system): Show a
8748 warning message if the default value of file-name-coding-system
8749 was not changed.
8750
f0960428
JC
87512012-01-21 Jérémy Compostella <jeremy.compostella@gmail.com>
8752
cb882333
JB
8753 * windmove.el (windmove-reference-loc):
8754 Fix windmove-reference-loc miscalculation.
f0960428 8755
dd6f2a63
JB
87562012-01-21 Jay Belanger <jay.p.belanger@gmail.com>
8757
8758 * calc/calc-units.el (math-put-default-units): Don't use "1" as a
8759 default unit.
8760
7b447e9b
GM
87612012-01-21 Glenn Morris <rgm@gnu.org>
8762
117a9ea1
GM
8763 * international/mule.el (auto-coding-alist): Add .tbz.
8764
7b447e9b
GM
8765 * files.el (local-enable-local-variables): Doc fix.
8766 (inhibit-local-variables-regexps): Rename from
8767 inhibit-first-line-modes-regexps. Keep old name as obsolete alias.
8768 Doc fix. Add some extensions from auto-coding-alist.
8769 (inhibit-local-variables-suffixes):
8770 Rename from inhibit-first-line-modes-suffixes. Doc fix.
8771 (inhibit-local-variables-p):
8772 New function, extracted from set-auto-mode-1.
8773 (set-auto-mode): Doc fix. Respect inhibit-local-variables-regexps.
8774 (set-auto-mode-1): Doc fix. Use inhibit-local-variables-p.
8775 (hack-local-variables): Doc fix. Make the mode-only case
8776 respect enable-local-variables and friends.
8777 Respect inhibit-local-variables-regexps for file-locals, but
8778 not for directory-locals.
8779 (set-visited-file-name):
8780 Take account of inhibit-local-variables-regexps.
8781 Whether it applies may change as the file name is changed.
8782 * jka-cmpr-hook.el (jka-compr-install):
8783 * jka-compr.el (jka-compr-uninstall):
8784 Update for inhibit-first-line-modes-suffixes name change.
8785
dd6e3cdd
MR
87862012-01-20 Martin Rudalics <rudalics@gmx.at>
8787
8788 * help-macro.el (make-help-screen): Temporarily restore original
8789 binding for minor-mode-map-alist (Bug#10454).
8790
0d0deb38
JD
87912012-01-19 Julien Danjou <julien@danjou.info>
8792
8793 * color.el (color-name-to-rgb): Use the white color to find the max
8794 color component value and return correctly computed values.
8795 (color-name-to-rgb): Add missing float conversion for max value.
8796
34a02f46
MR
87972012-01-19 Martin Rudalics <rudalics@gmx.at>
8798
8799 * window.el (window--state-get-1, window-state-get): Do not use
eb864a71
LM
8800 special state value for window-persistent-parameters.
8801 Rename argument IGNORE to WRITABLE. Rewrite doc-string.
34a02f46
MR
8802 (window--state-put-2): Reset all window parameters to nil before
8803 assigning values of persistent parameters.
8804
606c44c4
AM
88052012-01-18 Alan Mackenzie <acm@muc.de>
8806
8807 Eliminate sluggishness and hangs in fontification of "semicolon
8808 deserts".
8809
cb882333
JB
8810 * progmodes/cc-engine.el (c-state-nonlit-pos-interval):
8811 Change value 10000 -> 3000.
606c44c4
AM
8812 (c-state-safe-place): Reformulate so it doesn't stack up an
8813 infinite number of wrong entries in c-state-nonlit-pos-cache.
8814 (c-determine-limit-get-base, c-determine-limit): New functions to
8815 determine backward search limits disregarding literals.
8816 (c-find-decl-spots): Amend commenting.
8817 (c-cheap-inside-bracelist-p): New function which detects "={".
8818
8819 * progmodes/cc-fonts.el
8820 (c-make-font-lock-BO-decl-search-function): Give a limit to a
8821 backward search.
8822 (c-font-lock-declarations): Fix an occurrence of point being
8823 undefined. Check additionally for point being in a bracelist or
8824 near a macro invocation without a semicolon so as to avoid a
8825 fruitless time consuming search for a declarator. Give a more
8826 precise search limit for declarators using the new
8827 c-determine-limit.
8828
f3860cea
GM
88292012-01-18 Glenn Morris <rgm@gnu.org>
8830
8831 * files.el (auto-mode-alist, inhibit-first-line-modes-regexps)
8832 (set-auto-mode): Doc fixes.
8833
1db03b16
GM
88342012-01-17 Glenn Morris <rgm@gnu.org>
8835
0e6038be
GM
8836 * isearch.el (search-nonincremental-instead): Fix doc typo.
8837
1db03b16
GM
8838 * dired.el (dired-insert-directory): Handle newlines in directory name.
8839 (dired-build-subdir-alist): Unescape newlines in directory name.
8840
4cb0aa75
MA
88412012-01-17 Michael Albinus <michael.albinus@gmx.de>
8842
8843 * net/tramp.el (tramp-local-end-of-line): New defcustom.
8844 (tramp-action-login, tramp-action-yesno, tramp-action-yn)
8845 (tramp-action-terminal): Use it. (Bug#10530)
8846
1d00653d
SM
88472012-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
8848
8849 * minibuffer.el (completion--replace): Strip properties (bug#10062).
8850
6a6ee00d
MR
88512012-01-16 Martin Rudalics <rudalics@gmx.at>
8852
8853 * window.el (window-state-ignored-parameters): Remove variable.
8854 (window--state-get-1): Rename argument MARKERS to IGNORE.
8855 Handle persistent window parameters. Make copy of clone-of
8856 parameter only if requested. (Bug#10348)
8857 (window--state-put-2): Install a window parameter only if it has
8858 a non-nil value or an existing parameter shall be overwritten.
8859
97912def
MA
88602012-01-15 Michael Albinus <michael.albinus@gmx.de>
8861
8862 * net/tramp-sh.el (tramp-remote-path): Set tramp-autoload cookie.
8863
688070a5
EZ
88642012-01-14 Eli Zaretskii <eliz@gnu.org>
8865
8866 * info.el (Info-toc-build): If the Info file has no "Up" pointer,
8867 don't pass the (nil) value of `upnode' to string-match.
8868
301afadc
CY
88692012-01-14 Chong Yidong <cyd@gnu.org>
8870
8871 * startup.el (command-line): Fix X resource class for cursorColor.
04877ddb 8872 Fix values recognized by the cursorBlink resource.
301afadc 8873
9e5788aa
PE
88742012-01-14 Paul Eggert <eggert@cs.ucla.edu>
8875
8876 * epg.el (epg--make-temp-file): Avoid permission race condition
8877 when running on old Emacs versions (bug#10403).
8878
3cdb7f5a
GM
88792012-01-14 Glenn Morris <rgm@gnu.org>
8880
8881 * dired.el (dired-get-filename): Fix 'verbatim case of previous change.
8882
8c82b1b4
AM
88832012-01-13 Alan Mackenzie <acm@muc.de>
8884
8885 Fix filling for when filladapt mode is enabled.
8886
8887 * progmodes/cc-cmds.el (c-fill-paragraph): In the invocation of
8888 c-mask-paragraph, pass in `fill-paragraph' rather than
8889 `fill-region-as-paragraph'. (This is a reversion of a previous
8890 change.)
eb864a71
LM
8891 * progmodes/cc-mode.el (c-basic-common-init):
8892 Make fill-paragraph-handle-comment buffer local and set it to nil.
8c82b1b4 8893
e517eda4
GM
88942012-01-13 Glenn Morris <rgm@gnu.org>
8895
1498536e
GM
8896 * dired.el (dired-switches-escape-p): New function.
8897 (dired-insert-directory): Use dired-switches-escape-p.
8898 (dired-get-filename): Undo "\ " quoting if needed. (Bug#10469)
8899
e517eda4
GM
8900 * find-dired.el (find-ls-option): Doc fix. (Bug#10262)
8901
328f984d
GM
89022012-01-12 Glenn Morris <rgm@gnu.org>
8903
8904 * mail/sendmail.el (mail-mode): Update paragraph-separate for
8905 changes in adaptive-fill-regexp. (Bug#10276)
8906
2cc769a8
AM
89072012-01-11 Alan Mackenzie <acm@muc.de>
8908
8909 Fix Emacs bug #10463 - put `widen's around the critical spots.
8910
1d00653d 8911 * progmodes/cc-engine.el (c-in-literal, c-literal-limits): Put a
2cc769a8
AM
8912 widen around each invocation of c-state-pp-to-literal. Remove an
8913 unused let variable.
8914
e52c37fa
GM
89152012-01-11 Glenn Morris <rgm@gnu.org>
8916
8917 * dired-aux.el (dired-do-shell-command): Fix */? logic. (Bug#6561)
09044622 8918 Doc fix.
e52c37fa 8919
96f8741e
CY
89202012-01-10 Chong Yidong <cyd@gnu.org>
8921
1d00653d
SM
8922 * net/network-stream.el (network-stream-open-starttls):
8923 Avoid emitting a confusing error message when the server gives a bad
96f8741e
CY
8924 response to the capability command.
8925
b09a806e
GM
89262012-01-10 Glenn Morris <rgm@gnu.org>
8927
8928 * mail/unrmail.el (unrmail): Tweak previous change.
8929
7655cb66
CY
89302012-01-09 Chong Yidong <cyd@gnu.org>
8931
8932 * custom.el (custom-safe-themes): Use SHA-256 for hashing.
8933
9d5a8f0b
AM
89342012-01-08 Alan Mackenzie <acm@muc.de>
8935
8936 Optimise font locking in long enum definitions.
8937
8938 * progmodes/cc-fonts.el (c-font-lock-declarations): Add an extra
8939 arm to a cond form to handle enums.
8940 * progmodes/cc-langs.el (c-enums-contain-decls): New lang variable.
8941 * progmodes/cc-mode.el (c-font-lock-fontify-region): Correct a typo.
8942
9a0115ab 89432012-01-07 Paul Eggert <eggert@cs.ucla.edu>
6bb72cbd
PE
8944
8945 * files.el (move-file-to-trash): Preserve default file modes on error.
a0562b3d 8946 (Bug#10401)
6bb72cbd 8947
f186bb95
LMI
89482012-01-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
8949
29232a68
LMI
8950 * faces.el (set-face-attribute): Clarify the meaning of the nil
8951 frame (bug#10294).
8952
4e5d086d
LMI
8953 * subr.el (with-selected-frame): Mention that the selected frame
8954 is restored (bug#9980).
8955
8e66aebe
LMI
8956 * ibuffer.el (ibuffer-mode): List the bindings in the corrent map
8957 (bug#9759).
8958
cd394be1 8959 * mail/smtpmail.el (password-cache-add): Remove unused declaration.
f186bb95
LMI
8960 (password-read): Don't autoload unused function.
8961
adf4e762
JB
89622012-01-07 Juanma Barranquero <lekktu@gmail.com>
8963
8964 * progmodes/which-func.el (which-func-mode): Turn into a
8965 non-interactive function and mark as obsolete (bug#10428).
8966
89bd9ccd
CY
89672012-01-06 Chong Yidong <cyd@gnu.org>
8968
8969 * files.el (hack-dir-local-variables-non-file-buffer): Add doc.
8970 (hack-one-local-variable-eval-safep): Allow 0 arg for minor mode
8971 functions, along with 1 and -1.
8972
4afee9d5
EZ
89732012-01-06 Eli Zaretskii <eliz@gnu.org>
8974
8975 * time.el (display-time-load-average)
8976 (display-time-default-load-average): Doc fixes. See the thread
8977 starting at
8978 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-01/msg00059.html
8979 for the details.
8980
536aea70
GM
89812012-01-06 Glenn Morris <rgm@gnu.org>
8982
665ae865
GM
8983 * mail/unrmail.el (unrmail): Give an explicit error if the input file
8984 has no messages. (Bug#10377)
8985
c869783d
GM
8986 * info.el (Info-mode-map): Bind e to end-of-buffer, rather
8987 than Info-edit. (Bug#10385)
8988
2bb4227e
GM
8989 * time.el (display-time-load-average, display-time-next-load-average):
8990 Doc fixes.
8991
7d5944b9
GM
8992 * emacs-lisp/bytecomp.el (byte-compile-file): Do not propagate a file
8993 local setting of buffer-read-only to the input buffer. (Bug#10419)
8994
536aea70
GM
8995 * calendar/calendar.el (calendar-mode):
8996 Locally set scroll-margin to 0. (Bug#10379)
8997
7dccca16
UM
89982012-01-06 Ulrich Mueller <ulm@gentoo.org>
8999
9000 * play/doctor.el (doctor-death): Escape "," characters. (Bug#10370)
9001
afbb7930
GM
90022012-01-05 Glenn Morris <rgm@gnu.org>
9003
9004 * eshell/em-unix.el (diff-no-select): Autoload it.
9005 (eshell/diff): Use diff-no-select. (Bug#10420)
9006
04482335
CY
90072012-01-05 Chong Yidong <cyd@gnu.org>
9008
7baca3bc
CY
9009 * shell.el (shell-dynamic-complete-functions): Revert last change.
9010 (shell-command-completion-function): New function.
9011 (shell-completion-vars): Use it to implement
9012 shell-completion-execonly (Bug#10417).
9013
04482335
CY
9014 * custom.el (enable-theme): Don't set custom-safe-themes.
9015
1d00653d
SM
9016 * cus-theme.el (custom-theme-merge-theme):
9017 Ignore custom-enabled-themes and custom-safe-themes.
04482335 9018
bb5aa5d6
MM
90192012-01-05 Michael R. Mauger <mmaug@yahoo.com>
9020
9021 * progmodes/sql.el (sql-login-hook): Add hook to respond to the
9022 first prompt in `sql-interacive-mode'.
9023 (sql-mode-oracle-font-lock-keywords): Add CONNECT_BY_* builtin
04482335 9024 keywords.
6df6ae42 9025 (sql-mode-mysql-font-lock-keywords): Add ELSEIF keyword.
bb5aa5d6
MM
9026 (sql-product-interactive): Bug fix: Set `sql-buffer' in
9027 context of original buffer. Invoke `sql-login-hook'.
9028
a7183d7c
EZ
90292012-01-04 Eli Zaretskii <eliz@gnu.org>
9030
9031 * mail/rmail.el (rmail-font-lock-keywords): Accept non-ASCII
9032 letters in cite-prefix.
9033
a1eacd1e
LMI
90342012-01-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
9035
9036 * mail/smtpmail.el (smtpmail-stream-type): Mention the `ssl' value.
9037
787cdb34
CY
90382012-01-03 Chong Yidong <cyd@gnu.org>
9039
1d00653d
SM
9040 * shell.el (shell-dynamic-complete-functions):
9041 Put pcomplete-completions-at-point, so as to try
787cdb34
CY
9042 comint-filename-completion first (Bug#10417).
9043
30710442
RS
90442012-01-02 Richard Stallman <rms@gnu.org>
9045
9046 * battery.el (battery-status-function):
9047 Detect when to use battery-yeeloong-sysfs.
9048 (battery-echo-area-format): Add string for Yeeloong.
9049 (battery-linux-proc-apm, battery-linux-proc-acpi): Doc fixes.
9050 (battery-yeeloong-sysfs): New function.
9051
f75bfc33
CY
90522012-01-02 Chong Yidong <cyd@gnu.org>
9053
9054 * dirtrack.el (dirtrack-list): Eliminate unused third element.
9055 (dirtrack): Merge code for handling relative filenames in prompt
9056 from shell-dir-cookie-watcher.
9057 (dirtrack-debug-message): New arg to avoid excess format calls.
9058
9059 * shell.el (shell-dir-cookie-re): Variable deleted.
9060 (shell-dir-cookie-watcher): Function deleted.
9061 (shell-mode): Don't use shell-dir-cookie-re, since it is redundant
9062 with dirtrack-mode.
9063
651e947e
EZ
90642012-01-01 Eli Zaretskii <eliz@gnu.org>
9065
1d00653d
SM
9066 * term/w32-win.el (dynamic-library-alist) <gnutls>:
9067 Load libgnutls-28.dll, from GnuTLS version 3.x, in preference to
651e947e
EZ
9068 libgnutls-26.dll.
9069
94d4c7dc
AS
90702011-12-31 Andreas Schwab <schwab@linux-m68k.org>
9071
9072 * emacs-lisp/bytecomp.el (byte-compile-file): Fix indentation.
9073
8d43f3cd
EZ
90742011-12-31 Eli Zaretskii <eliz@gnu.org>
9075
9076 * mail/rmail.el (rmail-show-message-1): Decode any RFC2047 encoded
9077 headers of non-MIME messages, when rmail-enable-mime is non-nil.
9078
98c8795a
MA
90792011-12-29 Michael Albinus <michael.albinus@gmx.de>
9080
9081 * net/tramp-sh.el (tramp-find-shell): Set "remote-shell" property
9082 also for alternative shells.
9083 (tramp-open-connection-setup-interactive-shell): Check, whether
9084 the shell is a busybox.
9085 (tramp-send-command): Don't suppress multiple prompts for
9086 busyboxes, it hurts.
9087
51281b32
CY
90882011-12-28 Chong Yidong <cyd@gnu.org>
9089
9090 * progmodes/gdb-mi.el (gdb-get-source-file-list)
9091 (gdb-get-source-file): Move mode line update to
9092 gdb-get-source-file (Bug#10087).
9093
2170cb53
CY
90942011-12-25 Chong Yidong <cyd@gnu.org>
9095
9096 * progmodes/gud.el (gud-gdb-fetch-lines-filter): Just use
9097 gud-gdb-marker-filter without taking it as an argument.
9098 (gud-gdb-run-command-fetch-lines): Caller changed.
9099 (gud-gdb-completion-function): New variable.
9100 (gud-gdb-completion-at-point): Use it.
9101 (gud-gdb-completions-1): Split from gud-gdb-completions.
9102
9103 * progmodes/gdb-mi.el (gdb-input): Accept command and handler
9104 function as separate arguments.
9105 (gdb-init-1, gdb-non-stop-handler, gdb-check-target-async)
9106 (gdb-tooltip-print-1, gud-watch, gdb-speedbar-update)
9107 (gdb-var-list-children, gdb-var-set-format, gdb-var-delete-1)
9108 (gdb-var-delete-children, gdb-edit-value, gdb-var-update)
9109 (gdb-stopped, def-gdb-auto-update-trigger)
9110 (gdb-place-breakpoints, gdb-select-thread, gdb-select-frame)
b81d40f0
JB
9111 (gdb-get-changed-registers, gdb-get-main-selected-frame):
9112 Callers changed.
2170cb53
CY
9113 (gud-gdbmi-completions): New function.
9114 (gdb): Use it for generating the completion table.
9115
be8b11bb
AM
91162011-12-24 Alan Mackenzie <acm@muc.de>
9117
9118 Introduce a mechanism to widen the region used in context font
1d00653d 9119 locking. Use this to protect declarations from losing their contexts.
be8b11bb 9120
1d00653d
SM
9121 * progmodes/cc-langs.el (c-before-font-lock-functions):
9122 Replace c-set-fl-decl-start with c-change-set-fl-decl-start (Renaming).
b81d40f0 9123 (c-before-context-fontification-functions): New defvar, a list of
be8b11bb
AM
9124 functions to be run just before context (etc.) font locking.
9125
9126 * progmodes/cc-mode.el (c-extend-font-lock-region-for-macros):
b81d40f0 9127 New, functionality extracted from
be8b11bb 9128 c-neutralize-syntax-in-and-mark-CPP.
b81d40f0 9129 (c-in-after-change-fontification): New variable.
be8b11bb
AM
9130 (c-after-change): Set c-in-after-change-fontification.
9131 (c-set-fl-decl-start): Rejig its interface, so it can be called
9132 from both after-change and context fontifying.
b81d40f0
JB
9133 (c-change-set-fl-decl-start, c-context-set-fl-decl-start):
9134 New functions.
9135 (c-standard-font-lock-fontify-region-function): New variable.
9136 (c-font-lock-fontify-region): New function.
be8b11bb 9137
341cf6ac
JL
91382011-12-24 Juri Linkov <juri@jurta.org>
9139
9140 * window.el (window--state-get-1): Set `FORCE' arg of `mark' to t.
9141 (Bug#10348)
9142
bffcee0a
MA
91432011-12-23 Michael Albinus <michael.albinus@gmx.de>
9144
9145 * net/ange-ftp.el (ange-ftp-copy-file-internal): Check for
9146 existence of source file. (Bug#10325)
9147
cb5e207c
AM
91482011-12-23 Alan Mackenzie <acm@muc.de>
9149
9150 Fix unstable fontification inside templates.
9151
b81d40f0
JB
9152 * progmodes/cc-langs.el (c-before-font-lock-functions):
9153 Newly created from the singular version. The (c c++ objc) entry now
cb5e207c
AM
9154 additionally has c-set-fl-decl-start. The other languages (apart
9155 from AWK) have that as a single entry.
9156
b81d40f0
JB
9157 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
9158 The functionality for "local" declarations has been extracted to
cb5e207c
AM
9159 c-set-fl-decl-start.
9160
b81d40f0
JB
9161 * progmodes/cc-mode.el (c-common-init, c-after-change):
9162 Changes due to pluralisation of c-before-font-lock-functions.
cb5e207c
AM
9163 (c-set-fl-decl-start): New function, extracted from
9164 c-font-lock-enclosing-decls and enhanced.
9165
60ff536c
JB
91662011-12-23 Juanma Barranquero <lekktu@gmail.com>
9167
9168 * desktop.el (desktop-internal-v2s): Fix typos in docstring (bug#10353).
9169
1c4757d6
JL
91702011-12-22 Juri Linkov <juri@jurta.org>
9171
9172 * progmodes/grep.el (rgrep): Fix docstring. (Bug#10185)
9173
d031f2c7
CY
91742011-12-22 Chong Yidong <cyd@gnu.org>
9175
9176 * vc/vc-hooks.el (vc-keep-workfiles): Doc fix.
9177
bace743a
DA
91782011-12-21 Drew Adams <drew.adams@oracle.com>
9179
9180 * files.el (file-remote-p): Fix docstring. (Bug#10319)
9181
728a1f2b
JC
91822011-12-21 Jérémy Compostella <jeremy.compostella@gmail.com>
9183
9184 * battery.el (battery-linux-sysfs): Add missing parameters from acpi.
9185
0d373f73
TZ
91862011-12-21 Teodor Zlatanov <tzz@lifelogs.com>
9187
fec0aaa4
TZ
9188 * progmodes/cfengine.el: Add Version. Improve CFEngine 3.x syntax
9189 highlighting and support. Fix up comments for capitalization.
9190 (cfengine-mode-debug): New var.
9191 (cfengine3-mode): Change the modeline indicator to "CFE3".
9192 (cfengine3-font-lock-keywords): Improve defun highlighting.
9193 (cfengine2-actions): Rename from `cfengine-actions'.
9194 (cfengine2-font-lock-keywords): Rename from
9195 `cfengine-font-lock-keywords'.
9196 (cfengine2-imenu-expression): Rename from
9197 `cfengine-imenu-expression'.
9198 (cfengine2-outline-level): Rename from `cfengine-outline-level'.
9199 (cfengine2-beginning-of-defun): Rename from
9200 `cfengine-beginning-of-defun'.
9201 (cfengine2-end-of-defun): Rename from `cfengine-end-of-defun'.
9202 (cfengine2-indent-line): Rename from `cfengine-indent-line'.
9203 (cfengine2-mode): Rename from `cfengine-mode'. Change the
9204 modeline indicator to "CFE2".
9205 (cfengine-mode): Defalias to `cfengine-auto-mode'.
9206 (cfengine-mode-abbrevs): Mark obsolete.
0d373f73 9207
bc86f573
CY
92082011-12-21 Chong Yidong <cyd@gnu.org>
9209
9210 * vc/vc-bzr.el (vc-bzr-rename-file): Don't pass ~ to Bzr in
9211 filename argument.
9212
d45ba96b
MR
92132011-12-20 Martin Rudalics <rudalics@gmx.at>
9214
9215 * window.el (window-normalize-buffer-to-display): Remove.
9216 (display-buffer): Handle buffer-or-name argument as in Emacs 23.
9217
a6198c90
CY
92182011-12-19 Chong Yidong <cyd@gnu.org>
9219
9220 * vc/vc-dir.el (vc-dir-parent-marked-p, vc-dir-children-marked-p):
9221 Don't signal an error in a predicate function; return non-nil.
9222 (vc-dir-mark-file): Move the error here.
9223 (vc-dir-mark-unmark): If acting on the region, keep going if one
9224 of the entries cannot be marked/unmarked.
9225 (vc-dir-mark-all-files): If current entry is a directory, mark
9226 only child files, as documented.
9227
34c5fb55
VB
92282011-12-19 Vincent Belaïche <vincentb1@users.sourceforge.net>
9229
9230 * ses.el: Ooops... undo changes of 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net, as trunk
9231 branch is feature frozen, and 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net was a feature
9232 addition.
9233
c803b2b7
JD
92342011-12-18 Jan Djärv <jan.h.d@swipnet.se>
9235
9236 * term/ns-win.el (ns-get-selection-internal)
9237 (ns-store-selection-internal): Declare.
1154d12e
JB
9238 (ns-store-cut-buffer-internal, ns-get-cut-buffer-internal):
9239 Declare as obsolete.
9240 (ns-get-pasteboard, ns-paste-secondary):
9241 Use ns-get-selection-internal.
9242 (ns-set-pasteboard, ns-copy-including-secondary):
9243 Use ns-store-selection-internal.
c803b2b7 9244
9cff91f8 92452011-12-17 Chong Yidong <cyd@gnu.org>
99a289d9
CY
9246
9247 * vc/vc.el (vc-next-action): Doc fix; remove CVS-isms.
9cff91f8 9248 (vc-deduce-fileset): Doc fix.
99a289d9 9249
f16c898a
AS
92502011-12-16 Andreas Schwab <schwab@linux-m68k.org>
9251
9252 * calc/calc-misc.el (calc-help): Avoid wrapping help message.
9253
763237c4
SS
92542011-12-13 Sam Steingold <sds@gnu.org>
9255
9256 * man.el (Man-getpage-in-background): When running under a
9257 window-system, ignore $MANWIDTH and $COLUMNS.
9258
5fc1c122
KH
92592011-12-15 Kenichi Handa <handa@m17n.org>
9260
9261 * language/ethio-util.el: Change coding tag to utf-8-emacs.
9262 (setup-ethiopic-environment-internal): Comment out key-binding for
9263 ethio-toggle-punctuation.
9264
13d49cbb
AM
92652011-12-13 Alan Mackenzie <acm@muc.de>
9266
898169a2
AM
9267 Add the switch statement to AWK Mode.
9268
7a71b18d 9269 * progmodes/cc-awk.el (awk-font-lock-keywords): Add "switch", "case",
898169a2
AM
9270 "default" to the keywords regexp.
9271
7a71b18d 9272 * progmodes/cc-langs.el (c-label-kwds): Let AWK take the same
898169a2 9273 expression as the rest.
1d00653d
SM
9274 (c-nonlabel-token-key): Allow string literals for AWK.
9275 Refactor for the other modes.
898169a2 9276
13d49cbb 9277 Large brace-block initialisation makes CC Mode slow: Fix.
1d00653d 9278 Tidy up and accelerate c-in-literal, etc. by using the c-parse-state
13d49cbb
AM
9279 routines. Limit backward searching in c-font-lock-enclosing.decl.
9280
9281 * progmodes/cc-engine.el (c-state-pp-to-literal): Return the
9282 pp-state and literal type in addition to the limits.
1d00653d 9283 (c-state-safe-place): New defun, extracted from c-state-literal-at.
13d49cbb 9284 (c-state-literal-at): Use the above new defun.
1d00653d
SM
9285 (c-slow-in-literal, c-fast-in-literal): Remove.
9286 (c-in-literal, c-literal-limits): Amend to use c-state-pp-to-literal.
13d49cbb
AM
9287
9288 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Check for
9289 being in a literal. Add a limit for backward searching.
9290
9291 * progmodes/cc-mode.el (awk-mode): Don't alias c-in-literal to
9292 c-slow-in-literal.
9293
15e0efc7
SM
92942011-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
9295
9296 * progmodes/pascal.el: Declare `ind' as dyn-bound (bug#10264).
9297
454592a6
MR
92982011-12-13 Martin Rudalics <rudalics@gmx.at>
9299
9300 * window.el (delete-other-windows): Use correct frame in call to
9301 window-with-parameter.
9302
87393f26
DP
93032011-12-12 Daniel Pfeiffer <occitan@t-online.de>
9304
9305 * progmodes/make-mode.el: Bring it up to date with makepp V2.0.
9306 (makefile-make-font-lock-keywords): Extend meaning of `keywords'.
9307 (makefile-gmake-statements, makefile-makepp-statements):
9308 Use it and add new makepp keywords.
9309 (makefile-makepp-font-lock-keywords): Add new patterns.
9310 (makefile-match-function-end): Match new [...] and [[...]].
9311
11636b22
JB
93122011-12-11 Juanma Barranquero <lekktu@gmail.com>
9313
9314 * ses.el (ses-call-printer-return, ses-cell-property-get)
9315 (ses-sym-rowcol, ses-printer-validate, ses-formula-record)
9316 (ses-create-cell-variable, ses-reset-header-string)
9317 (ses-cell-set-formula, ses-repair-cell-reference-all)
9318 (ses-self-reference-early-detection, ses-in-print-area, ses-set-curcell)
9319 (ses-check-curcell, ses-call-printer, ses-adjust-print-width)
9320 (ses-print-cell-new-width, ses-formula-references, ses-relocate-formula)
9321 (ses-aset-with-undo, ses-load, ses-truncate-cell)
9322 (ses-read-column-printer, ses-read-default-printer, ses-insert-row)
9323 (ses-delete-row, ses-delete-column, ses-append-row-jump-first-column)
9324 (ses-kill-override, ses-yank-pop, ses-yank-cells, ses-yank-tsf)
9325 (ses-yank-resize, ses-export-tab, ses-mark-row, ses-mark-column)
9326 (ses-renarrow-buffer, ses-insert-range, ses-insert-ses-range)
9327 (ses-safe-printer, ses-safe-formula, ses-warn-unsafe, ses--clean-!)
9328 (ses--clean-_, ses-range, ses-select, ses-center, ses-center-span)
9329 (ses-dashfill, ses-unsafe): Fix typos and reflow docstrings.
9330
cf018193
VB
93312011-12-11 Vincent Belaïche <vincentb1@users.sourceforge.net>
9332
9333 * ses.el: The overall change is to add cell renaming, that is
9334 setting fancy names for cell symbols other than name matching
9335 "\\`[A-Z]+[0-9]+\\'" regexp .
9336 (ses-create-cell-variable): New defun.
9337 (ses-relocate-formula): Relocate formulas only for cells the
9338 symbols of which are not renamed, i.e. symbols whose names do not
9339 match regexp "\\`[A-Z]+[0-9]+\\'".
9340 (ses-relocate-all): Relocate values only for cells the symbols of
9341 which are not renamed.
9342 (ses-load): Create cells variables as the (ses-cell ...) are read,
9343 in order to check row col consistency with cell symbol name only
9344 for cells that are not renamed.
9345 (ses-replace-name-in-formula): New defun.
9346 (ses-rename-cell): New defun.
9347
ee957461
CY
93482011-12-11 Chong Yidong <cyd@gnu.org>
9349
9350 * progmodes/gdb-mi.el (gdb): Set comint-prompt-regexp, required
9351 for completion via gud-gdb-fetch-lines-filter (Bug#10274).
9352
9a9e9ef0
MR
93532011-12-11 Eric Hanchrow <eric.hanchrow@gmail.com>
9354
9355 * window.el (other-window): Fix docstring.
9356
92a8eba5
EZ
93572011-12-10 Eli Zaretskii <eliz@gnu.org>
9358
9359 * mail/rmailsum.el (rmail-header-summary): RFC2047 decode the
1d00653d
SM
9360 `from' or `to' address before taking its substring.
9361 Fixes incorrect display in Rmail summary buffer whereby an RFC2047
92a8eba5
EZ
9362 encoded name is chopped in the middle of the encoded string, and
9363 thus displayed encoded.
9364
e152e577
JB
93652011-12-10 Juanma Barranquero <lekktu@gmail.com>
9366
9367 * makefile.w32-in (update-subdirs-CMD): Use a Local Variables section.
9368
e5d84bfe
EZ
93692011-12-10 Eli Zaretskii <eliz@gnu.org>
9370
9371 * textmodes/texnfo-upd.el: Update commentary. Add a warning not
9372 to use texinfo-update-node and commands that call it if the
9373 Texinfo file uses @node lines without next/prev/up pointers.
b8830d28 9374 Correct outdated description about texinfo-master-menu.
e5d84bfe
EZ
9375 (texinfo-all-menus-update, texinfo-master-menu)
9376 (texinfo-update-node, texinfo-every-node-update)
9377 (texinfo-multiple-files-update): Doc fix. Warn against updating
9378 all the @node lines.
9379 (texinfo-master-menu): Only call texinfo-update-node if the prefix
b8830d28
EZ
9380 argument is numeric. Explain better in the doc string what the
9381 function really does.
9382 (texinfo-insert-master-menu-list): Improve the error message
9383 displayed if there's no menu in the Top node.
9384 (Bug#2975) See also this thread:
e5d84bfe
EZ
9385 http://lists.gnu.org/archive/html/emacs-devel/2011-12/msg00156.html.
9386
1d84e9bb
MG
93872011-12-09 Manuel Gómez <mgrojo@gmail.com> (tiny change)
9388
9389 * speedbar.el (speedbar-supported-extension-expressions):
9390 Add .adb and .ads, commonly used for Ada source code (bug#10256).
9391
382c953b
JB
93922011-12-09 Juanma Barranquero <lekktu@gmail.com>
9393
9394 * printing.el (pr-mode-alist):
9395 * simple.el (filter-buffer-substring-functions)
9396 (completion-list-insert-choice-function):
9397 * window.el (window-with-parameter, window-atom-root)
9398 (window-sides-slots, window-size-fixed, window-min-delta)
9399 (window-max-delta, window--resize-mini-window)
9400 (window--resize-child-windows-normal, window-tree)
9401 (delete-other-windows, quit-window, split-window)
9402 (display-buffer-record-window, special-display-buffer-names)
9403 (special-display-regexps, special-display-popup-frame)
9404 (same-window-p, split-window-sensibly)
9405 (display-buffer-overriding-action, display-buffer-alist)
9406 (display-buffer-base-action, display-buffer, switch-to-buffer)
9407 (switch-to-buffer-other-window, switch-to-buffer-other-frame)
9408 (fit-window-to-buffer, recenter-positions)
9409 (mouse-autoselect-window-state, mouse-autoselect-window-select):
9410 * emacs-lisp/syntax.el (syntax-propertize-function): Fix typos
9411 and remove unneeded backslashes in docstrings.
9412
39c9faef
SM
94132011-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
9414
98449af8
SM
9415 * emacs-lisp/lisp-mode.el (defmethod): Add doc-string-elt (bug#10244).
9416
39c9faef
SM
9417 * pcmpl-gnu.el: Don't fail when there is no Makefile nor -f arg.
9418 (pcmpl-gnu-makefile-regexps): Accept "makefile" as well as files that
9419 end in ".mk".
9420 (pcmpl-gnu-make-rule-names): Check "makefile" and ignore errors
9421 when reading the makefile (bug#10116).
9422
86ed9fdc
SM
94232011-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
9424
9425 * pcmpl-gnu.el (pcomplete/make): Also allow filename arguments
9426 (bug#10116).
9427
5580f89d
GM
94282011-12-06 Glenn Morris <rgm@gnu.org>
9429
9430 * emacs-lisp/package.el (package-archives): Doc fix re riskiness.
9431
28d3917c
CY
94322011-12-06 Chong Yidong <cyd@gnu.org>
9433
9434 * progmodes/cc-fonts.el (c-annotation-face): Use defface.
9435
a98edce9
JB
94362011-12-06 Juanma Barranquero <lekktu@gmail.com>
9437
9438 * textmodes/table.el (table-shorten-cell): Fix typo.
9439
e65adfac
CG
94402011-12-05 Christopher Genovese <genovese.cr@gmail.com> (tiny change)
9441
9442 * emacs-lisp/assoc.el (aput): Fix return value (bug#10146)
9443
71cc0b74
EZ
94442011-12-05 Eli Zaretskii <eliz@gnu.org>
9445
9446 * descr-text.el (describe-char): Fix display of strong
9447 right-to-left characters and directional embeddings and overrides.
9448
9449 * simple.el (what-cursor-position): Fix display of codepoints of
9450 strong right-to-left characters.
9451
315bc30d
CY
94522011-12-05 Chong Yidong <cyd@gnu.org>
9453
9454 * faces.el (read-color): Doc fix.
9455
58a70b94
GM
94562011-12-05 Glenn Morris <rgm@gnu.org>
9457
9458 * align.el (align--set-marker): Add doc-string.
9459 Don't try to move something that is not a marker. (Bug#10216)
9460
5158face
GM
94612011-12-04 Glenn Morris <rgm@gnu.org>
9462
9463 * calendar/appt.el (appt-add): Rewrite the interactive-spec to avoid
9464 overly zealous deletion of trailing whitespace.
9465
520fca41
JB
94662011-12-04 Juanma Barranquero <lekktu@gmail.com>
9467
9468 * server.el (server-delete-client): On Windows, do not try to delete
9469 the only terminal.
9470 (server-process-filter): On Windows, treat requests for a tty frame as
9471 if they were for a GUI frame if the running server is in GUI mode.
9472
5e605a2e
GM
94732011-12-03 Glenn Morris <rgm@gnu.org>
9474
9475 * textmodes/texinfmt.el (batch-texinfo-format): Doc fix. (Bug#10207)
9476
5c3fe83f
SM
94772011-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
9478
6f5e57e7
SM
9479 * electric.el: Streamline electric-indent's hook.
9480 (electric-indent-chars): Revert to simple list.
9481 (electric-indent-functions): New var.
9482 (electric-indent-post-self-insert-function): Use it.
9483
5c3fe83f
SM
9484 * progmodes/prolog.el (prolog-find-value-by-system): Avoid error when
9485 there's no inferior buffer (bug#10196).
9486 (prolog-consult-compile): Don't use toggle-read-only.
9487
6bdac736
MA
94882011-12-02 Michael Albinus <michael.albinus@gmx.de>
9489
9490 * net/tramp-sh.el (tramp-maybe-open-connection): Handle user
9491 interrupt. (Bug#10187)
9492
6131ba7f
SM
94932011-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
9494
99c79fee
SM
9495 * pcmpl-gnu.el (pcomplete/tar): large-file-warn-threshold can be nil
9496 (bug#9160).
9497
6131ba7f
SM
9498 * dired-aux.el (dired-query): Don't assume help-char is modifier-free
9499 (bug#10191).
9500
cb0a02ea
JL
95012011-12-02 Juri Linkov <juri@jurta.org>
9502
9503 * info.el (Info-search): Display "end of manual" when Isearch
9504 reaches the end of single-file Info manual. (Bug#9918)
9505
66e0570c
EZ
95062011-12-02 Eli Zaretskii <eliz@gnu.org>
9507
9508 * isearch.el (isearch-message-prefix): Run the input method part
9509 of the prompt through bidi-string-mark-left-to-right. (Bug#10183)
9510
02b16839
JL
95112011-12-02 Juri Linkov <juri@jurta.org>
9512
9513 * isearch.el (isearch-occur): Use `word-search-regexp' for
9514 `isearch-word'.
9515 (isearch-search-and-update): Add condition for `isearch-word' and
9516 call `word-search-regexp'. (Bug#10145)
9517
0b950688
GM
95182011-12-01 Glenn Morris <rgm@gnu.org>
9519
9520 * eshell/em-hist.el (eshell-hist-initialize):
9521 Handle eshell-history-size nil and HISTSIZE set or unset.
e8087a76 9522 (eshell-history-file-name, eshell-history-size): Fix custom type.
0b950688 9523
9505c3c7
SM
95242011-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
9525
9526 * man.el (Man-completion-table): Fix the lambda case (bug#10168).
9527
1bbe96b2 95282011-12-01 Michael McNamara <mac@mail.brushroad.com>
6288f0ca 9529
a1beca85
SM
9530 * progmodes/verilog-mode.el (verilog-pretty-expr):
9531 Rework verilog-pretty-expr to handle new assignment operators in system
6288f0ca
WS
9532 verilog, such as += *= and the like.
9533 (verilog-assignment-operator-re): Regular expression to find the
9534 assigment operator in a verilog assignment.
9535 (verilog-assignment-operation-re): Regular expression to find an
9536 assignment statement for pretty-expr.
9537 (verilog-in-attribute-p): Query returns true if point is in an
9538 attribute context; used to skip these for expression line up from
9539 pretty-expr.
9540 (verilog-in-parameter-p): Query returns true if point is in an
9541 parameter definition context; used to skip these for expression
9542 line up from pretty-expr.
9543 (verilog-in-parenthesis-p): Query returns true if point is in a
9544 parenthetical expression, specifically ( ) but not [ ] or { };
9545 used by pretty-expr.
9546 (verilog-just-one-space): If there is no space, don't add one.
9547 (verilog-get-lineup-indent-2): Specifically skip just attribute
9548 contexts for expression lineup, rather than skipping all
9549 parenthetical expressions.
9550 (verilog-calculate-indent): Fix comment, and fix indent.
9551 (verilog-do-indent): Indent declarations in lists (suggested by
9552 Joachim Lechner).
9553 (verilog-mode-abbrev-table): Populate abbrev mode with the various
9554 skeleton items.
9555 (verilog-sk-ovm-class): Add skeleton for OVM classes (reported
9556 by Alain Mellan).
9557
1bbe96b2 95582011-12-01 Wilson Snyder <wsnyder@wsnyder.org>
6288f0ca
WS
9559
9560 * progmodes/verilog-mode.el (verilog-read-defines): Fix reading
9561 parameters with embedded comments. Reported by Ray Stevens.
9562 (verilog-calc-1, verilog-fork-wait-re) (verilog-forward-sexp,
9563 verilog-wait-fork-re): Fix indentation of "wait fork", bug407.
9564 Reported by Tim Holt.
9565 (verilog-auto): Fix AUTOing a upper module then AUTOing module
9566 instantiated by upper module causing wrong expansion until AUTOed a
9567 second time. Reported by K C Buckenmaier.
9568 (verilog-diff-auto): Fix showing .* as a difference when
9569 `verilog-auto-star-save' off. Reported by Dan Dever.
9570 (verilog-auto-reset, verilog-read-always-signals)
9571 (verilog-auto-reset-blocking-in-non): Fix AUTORESET including
9572 temporary signals in reset list if
9573 verilog-auto-reset-blocking-in-non is nil, and match assignment
a1beca85
SM
9574 style to each signal's assignment type, bug381.
9575 Reported by Thomas Esposito.
6288f0ca
WS
9576 (verilog-sk-uvm-class, verilog-uvm-begin-re, verilog-uvm-end-re)
9577 (verilog-uvm-statement-re): Support UVM indentation and
9578 highlighting, with old OVM keywords only.
a1beca85 9579 (verilog-auto-tieoff, verilog-auto-tieoff-declaration):
1d00653d
SM
9580 Support AUTOTIEOFF creating non-wire data types.
9581 Suggested by Jonathan Greenlaw.
6288f0ca
WS
9582 (verilog-auto-insert-lisp, verilog-delete-to-paren)
9583 (verilog-forward-sexp-cmt, verilog-forward-sexp-ign-cmt)
9584 (verilog-inject-sense, verilog-read-inst-pins)
a1beca85
SM
9585 (verilog-read-sub-decls, verilog-read-sub-decls-line):
9586 Fix mismatching parenthesis inside commented out code when deleting
382c953b 9587 AUTOINST, bug383. Reported by Jonathan Greenlaw.
6288f0ca
WS
9588 (verilog-auto-ascii-enum): Fix AUTOASCIIENUM one-hot with
9589 non-numeric vector width. Reported by Alex Reed.
9590 (verilog-auto-ascii-enum): Add "onehot" option to work around not
382c953b 9591 detecting signals with parameter widths. Reported by Alex Reed.
a1beca85
SM
9592 (verilog-auto-delete-trailing-whitespace):
9593 With `verilog-auto-delete-trailing-whitespace' remove trailing
6288f0ca
WS
9594 whitespace in auto expansion, bug371. Reported by Brad Dobbie.
9595 (verilog-run-hooks, verilog-scan-cache-flush, verilog-syntax-ppss):
9596 Fix verilog-scan-cache corruption when running user AUTO expansion
9597 hooks that call indentation routines.
9598 (verilog-simplify-range-expression): Fix typo ignoring lower case
9599 identifiers.
9600 (verilog-delete-auto): Fix delete-autos to also remove user created
9601 automatics, as long as they start with AUTO.
9602 (verilog-batch-diff-auto, verilog-diff-auto)
9603 (verilog-diff-function): Add `verilog-diff-auto' and bind to
9604 "C-c?" to report differences in AUTO expansion, ignoring spaces.
9605 (verilog-backward-syntactic-ws-quick, verilog-beg-of-defun-quick)
9606 (verilog-in-paren-quick, verilog-re-search-backward-quick)
a1beca85
SM
9607 (verilog-re-search-forward-quick, verilog-syntax-ppss):
9608 Fix calling `syntax-ppss' when inside auto expansions as the ppss hook
6288f0ca
WS
9609 is disabled and its cache will get corrupt, causing AUTOS not to
9610 expand. Instead use only -quick functions.
9611 (verilog-scan-region): Fix scanning over escaped quotes.
9612 (verilog-inside-comment-or-string-p, verilog-inside-comment-p)
9613 (verilog-re-search-backward-quick)
9614 (verilog-re-search-forward-quick, verilog-scan): verilog-scan and
9615 related functions now ignore strings, to fix misparsing of strings
9616 with magic comments embedded in them.
a1beca85
SM
9617 (verilog-read-auto-template):
9618 Fix 'verilog-auto-inst-template-numbers' with extra newline before (.
9619 Reported by Brad Dobbie.
9620 (verilog-read-auto-template):
9621 Fix 'verilog-auto-inst-template-numbers' with comments.
6288f0ca 9622 Reported by Brad Dobbie.
6288f0ca
WS
9623 (verilog-auto-inst, verilog-auto-inst-param)
9624 (verilog-auto-inst-sort): Add 'verilog-auto-inst-sort' to reduce
9625 merge conflicts with AUTOINST, bug358. Reported by Brad Dobbie.
9626 (verilog-auto-inst-template-numbers): Add 'lhs' policy for
a1beca85
SM
9627 debugging templates without merge conflicts, bug357.
9628 Reported by Brad Dobbie.
9629 (verilog-read-auto-template):
9630 Fix verilog-auto-inst-template-numbers with multiple templates.
6288f0ca
WS
9631 Reported by Brad Dobbie.
9632 (verilog-define-abbrev): Fix verilog-mode abbrevs to be system
9633 abbrevs so user won't be asked to save.
9634 (verilog-read-auto-lisp-present): Fix to start at beginning of
9635 buffer in case called outside of verilog-auto.
9636 (verilog-simplify-range-expression): Fix AUTOWIRE expanding "X-1+1"
9637 to "X-2". Reported by Matthew Myers.
9638 (verilog-auto, verilog-auto-inout-in): Add AUTOINOUTIN for creating
9639 all inputs from module templates. Reported by Leith Johnson.
9640 (verilog-module-inside-filename-p): Fix locating programs as with
9641 modules.
9642 (verilog-auto-inst-port): Fix vl-width expressions when using
9643 verilog-auto-inst-param-value, bug331. Reported by Julian Gorfajn.
9644 (verilog-decls-get-regs, verilog-decls-get-signals,
9645 verilog-decls-get-vars, verilog-decls-get-wires, verilog-decls-new,
9646 verilog-modi-cache-add-vars, verilog-modi-cache-add-wires,
9647 verilog-read-decls): Combine reg and wire structures into one var
9648 structure to represent SystemVerilog concepts.
9649 (verilog-auto-ascii-enum, verilog-auto-logic, verilog-auto-reg)
9650 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-wire)
a1beca85
SM
9651 (verilog-auto-wire-type, verilog-insert-definition):
9652 Add verilog-auto-wire-type and AUTOLOGIC to support using
6288f0ca
WS
9653 SystemVerilog "logic" keyword instead of "wire"/"reg".
9654 (verilog-auto-reg-input, verilog-decls-get-signals): Fix AUTOWIRE
9655 to declares outputs that also have assignments (presumably in an
a1beca85
SM
9656 ifdef or generate if so there's not a driver conflict).
9657 Reported by Matthew Myers.
9658 (verilog-auto-declare-nettype, verilog-insert-definition):
9659 Add verilog-auto-declare-nettype to fix declarations using
6288f0ca
WS
9660 `default_nettype none. Reported by Julian Gorfajn.
9661 (verilog-read-always-signals-recurse, verilog-read-decls)
9662 (verilog-read-sub-decls-gate): Fix infinite loop with (*) and
9663 malformed end statement, bug325. Reported by Joshua Wise and
9664 Andrew Drake.
9665 (verilog-auto-star-safe, verilog-delete-auto-star-implicit)
9666 (verilog-inst-comment-re): Fix not deleting Interfaced comment
1d00653d
SM
9667 when expanding .* in interfaces, bug320.
9668 Reported by Pierre-David Pfister.
6288f0ca 9669 (verilog-read-module-name): Fix import statements between module
1d00653d
SM
9670 name and open parenthesis, bug317.
9671 Reported by Pierre-David Pfister.
6288f0ca
WS
9672 (verilog-simplify-range-expression): Fix simplification of
9673 multiplications inside AUTOWIRE connections, bug303.
9674 (verilog-auto-inst-port): Support parameter expansion in
9675 multidimensional arrays.
9676 (verilog-read-decls): Fix AUTOREG etc looking for "endproperty"
9677 after "assert property". Reported by Julian Gorfajn.
9678 (verilog-simplify-range-expression): Fix "couldn't merge" errors
9679 with multiplication, bug303.
9680 (verilog-read-decls): Fix parsing of unsigned data types, bug302.
9681 Reported by Jan Frode Lonnum.
9682
1bbe96b2
GM
96832011-11-30 Juanma Barranquero <lekktu@gmail.com>
9684
9685 * htmlfontify.el (hfy-page-header, hfy-post-html-hooks)
9686 (hfy-shell-file-name, hfy-shell):
9687 * international/fontset.el (x-decompose-font-name): Fix typos.
9688
96892011-11-29 Ken Brown <kbrown@cornell.edu>
9690
9691 * progmodes/gdb-mi.el: Fix bug#9853, bug#9858, and bug#9878.
9692 (gdb-version): Remove defvar.
9693 (gdb-supports-non-stop): New defvar, replacing `gdb-version'.
9694 (gdb-gud-context-command, gdb-non-stop-handler)
9695 (gdb-current-context-command, gdb-stopped): Use it.
9696 (gdb-init-1): Enable pretty printing here.
6131ba7f
SM
9697 (gdb-non-stop-handler): Don't enable pretty-printing here.
9698 Check to see if the target supports non-stop mode; if not, turn off
1bbe96b2
GM
9699 non-stop mode. Use the following.
9700 (gdb-check-target-async): New defun.
9701 (gud-watch, gdb-stopped): Fix whitespace.
9702 (gdb-get-source-file): Don't try to display the source file if
9703 `gdb-main-file' is nil.
9704
97052011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
9706
9707 * align.el: Try to generate fewer markers (bug#10047).
9708 (align--set-marker): New macro.
9709 (align-region): Use it.
9710
c935221f
SM
97112011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
9712
9713 * isearch.el (isearch-yank-x-selection): Deactivate mark (bug#10022).
9714
e70b5064
CY
97152011-11-29 Chong Yidong <cyd@gnu.org>
9716
9717 * indent.el (indent-for-tab-command, indent-according-to-mode):
9718 Doc fix.
9719 (indent-region): Doc fix. Switch nested ifs to equivalent cond.
9720
f3af92b7
MA
97212011-11-29 Michael Albinus <michael.albinus@gmx.de>
9722
9723 * vc/diff-mode.el (diff-find-file-name): Make `read-file-name'
9724 aware of remote file names. (Bug#10124)
9725
ed472be9
CY
97262011-11-29 Chong Yidong <cyd@gnu.org>
9727
9728 * frame.el (auto-raise-mode, auto-lower-mode): Doc fix.
9729
24510c22
SM
97302011-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
9731
9732 * files.el (find-file): Don't use force-same-window (bug#10144).
9733 * window.el (switch-to-buffer): Better match Emacs-23 behavior and only
9734 use pop-to-buffer if the selected window can't be used.
9735 (pop-to-buffer-same-window): Use display-buffer--same-window-action.
9736
c60c3703
EZ
97372011-11-28 Eli Zaretskii <eliz@gnu.org>
9738
9739 * vc/diff-mode.el (diff-mode-map): Don't inherit 'z' => 'M-z' from
9740 special-mode-map.
9741
e95def75
CY
97422011-11-28 Chong Yidong <cyd@gnu.org>
9743
9744 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix default doc.
9745
c3f1c606
NR
97462011-11-27 Nick Roberts <nickrob@snap.net.nz>
9747
9748 * progmodes/gdb-mi.el (gdb-init-1): Condition execution of
9749 gdb-get-source-file-list on gdb-create-source-file-list.
9750
00db469c
EZ
97512011-11-26 Eli Zaretskii <eliz@gnu.org>
9752
9753 * whitespace.el (whitespace-newline): Use a different foreground
9754 color for 16-color light-background displays.
9755
4ad3bc2a
CY
97562011-11-24 Chong Yidong <cyd@gnu.org>
9757
9758 * window.el (display-buffer--special-action): Doc fix.
9759
e9fce1ac
JB
97602011-11-25 Juanma Barranquero <lekktu@gmail.com>
9761
9762 * emacs-lisp/avl-tree.el (avl-tree--do-copy, avl-tree-create)
9763 (avl-tree-compare-function, avl-tree-empty, avl-tree-enter)
9764 (avl-tree-delete, avl-tree-member, avl-tree-member-p, avl-tree-map)
9765 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar, avl-tree-copy)
9766 (avl-tree-clear, avl-tree-stack, avl-tree-stack-pop)
9767 (avl-tree-stack-first):
9768 * emacs-lisp/cconv.el (cconv--analyse-use):
9769 * net/gnutls.el (gnutls-negotiate): Fix typos.
9770
cb825e5d
GM
97712011-11-24 Glenn Morris <rgm@gnu.org>
9772
3adbe224
GM
9773 * lpr.el (lpr-windows-system, lpr-lp-system):
9774 * mail/binhex.el (binhex-begin-line):
9775 * progmodes/grep.el (grep-history, grep-find-history):
9776 * textmodes/flyspell.el:
9777 * vc/pcvs-defs.el (cvs-global-menu):
9778 * vc/vc-bzr.el (vc-bzr-admin-checkout-format-file):
9779 * vc/vc-mtn.el (vc-mtn-admin-dir, vc-mtn-admin-format):
9780 * vc/vc-cvs.el (vc-cvs-registered): Give them basic doc-strings.
9781
321decc8
GM
9782 * net/tls.el: Fix case of "GnuTLS".
9783
420b63ad
GM
9784 * paths.el (rmail-file-name): Format doc-string for make-docfile.
9785
cb825e5d
GM
9786 * version.el (emacs-build-system): Give it a doc-string.
9787
a0649f08
JL
97882011-11-24 Juri Linkov <juri@jurta.org>
9789
9790 * view.el (view-buffer): Revert 2011-07-19T15:01:49Z!larsi@gnus.org from 2011-07-19 (bug#8615).
9791
c0bc0fd4
GM
97922011-11-24 Glenn Morris <rgm@gnu.org>
9793
9794 * mail/rmailmm.el (rmail-mime): When rmail-enable-mime is non-nil,
9795 if called on a non-mime message just toggle the headers. (Bug#8006)
9796
20db1522
JB
97972011-11-24 Juanma Barranquero <lekktu@gmail.com>
9798
9799 * allout.el (allout-setup, allout-auto-save-temporarily-disabled)
9800 (allout-lead-with-comment-string, allout-structure-deleted-hook)
9801 (allout-mode, allout-chart-subtree, allout-hotspot-key-handler)
9802 (allout-rebullet-heading, allout-open-sibtopic)
9803 (allout-toggle-current-subtree-encryption)
9804 (allout-toggle-subtree-encryption, allout-encrypt-string)
9805 (allout-next-topic-pending-encryption, allout-adjust-file-variable)
9806 (allout-distinctive-bullets-string, allout-auto-activation):
9807 * window.el (window-normalize-buffer-to-display):
9808 * progmodes/verilog-mode.el (verilog-batch-indent):
9809 * textmodes/bibtex.el (bibtex-field-braces-opt)
9810 (bibtex-field-strings-opt):
9811 * vc/cvs-status.el (cvs-tree-merge):
9812 Fix typos.
9813
7262a87c
MA
98142011-11-23 Michael Albinus <michael.albinus@gmx.de>
9815
9816 * rfn-eshadow.el (rfn-eshadow-update-overlay): Let-bind
9817 `non-essential' to t, in order to avoid remote connections.
9818
283430a1
EZ
98192011-11-23 Eli Zaretskii <eliz@gnu.org>
9820
a1beca85
SM
9821 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
9822 On MS-DOS and MS-Windows, compare with loaddefs.el
283430a1
EZ
9823 case-insensitively.
9824
d2992a38
ML
98252011-11-23 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
9826
9827 * mail/unrmail.el (unrmail): Always add blank line. (Bug#7743)
9828
50419064
GM
98292011-11-23 Glenn Morris <rgm@gnu.org>
9830
da94eca1
GM
9831 * paths.el (rmail-file-name): Reformat the doc-string so that it
9832 is picked up.
9833
9aac4de2
GM
9834 * mail/rmail.el (rmail-message-filter, rmail-auto-file): Doc fixes.
9835 (rmail-auto-file): Ignore case in the "special" field names,
9836 as mail-fetch-field does for all others.
9837
8038d2d2
GM
9838 * mail/rmail.el (rmail-forward):
9839 * mail/rmailkwd.el (rmail-set-label):
9840 * mail/rmailout.el (rmail-output, rmail-output-as-seen)
9841 (rmail-output-body-to-file): Give error if no message. (Bug#10082)
9842
f3fe222a
GM
9843 * mail/rmail.el (rmail-current-message): Doc fix.
9844
50419064
GM
9845 * mail/rmail.el (rmail-message-filter): Mark as obsolete. (Bug#2624)
9846
28109f49
SM
98472011-11-22 Stefan Monnier <monnier@iro.umontreal.ca>
9848
9849 * server.el (server-eval-and-print): Allow C-g (bug#6585).
9850
394c65f1
GM
98512011-11-22 Glenn Morris <rgm@gnu.org>
9852
9853 * mail/rmailmm.el (test-rmail-mime-handler)
9854 (test-rmail-mime-bulk-handler)
9855 (test-rmail-mime-multipart-handler): Move tests to test/ directory.
9856
f2a0aa3a
JL
98572011-11-21 Juri Linkov <juri@jurta.org>
9858
1154d12e
JB
9859 * calc/calc.el (calc-read-key-sequence):
9860 Let-bind `input-method-function' to nil. (Bug#10018)
f2a0aa3a 9861
9c34a344
LMI
98622011-11-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
9863
9864 * emacs-lisp/cl-indent.el (common-lisp-loop-part-indentation):
9865 Tell the caller that the next line needs recomputation, even
9866 though it doesn't start a sexp (bug#10094).
9867
f04a3be9
SM
98682011-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
9869
9870 * emacs-lisp/autoload.el (autoload-generate-file-autoloads): Simplify.
9871
7978747f
SM
98722011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
9873
f04a3be9
SM
9874 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
9875 Use force-same-window.
7978747f 9876
fe7a3057
JB
98772011-11-20 Juanma Barranquero <lekktu@gmail.com>
9878
9879 * descr-text.el (describe-char-unicode-data):
9880 * json.el (json-string-escape):
9881 * mail/footnote.el (footnote-unicode-string, footnote-unicode-regexp)
9882 (Footnote-unicode, Footnote-style-p):
9883 * net/ntlm.el (ntlm-get-password-hashes): Fix typos.
9884
24901d61
CY
98852011-11-20 Chong Yidong <cyd@gnu.org>
9886
9887 * window.el (replace-buffer-in-windows): Restore interactive spec.
9888
bac7ff22
SM
98892011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
9890
24f3d7b9
SM
9891 * electric.el (electric-indent-mode): Fix last change (too optimistic).
9892
bac7ff22
SM
9893 * emacs-lisp/bytecomp.el: Silence obsolete warnings more reliably.
9894 (byte-compile-global-not-obsolete-vars): New var.
9895 (byte-compile-check-variable, byte-compile-make-obsolete-variable):
9896 Use it.
9897 (byte-compile-warn-obsolete): Align text with the one in *Help*.
9898
cd1181db
JB
98992011-11-20 Juanma Barranquero <lekktu@gmail.com>
9900
9901 * progmodes/cwarn.el (cwarn-is-enabled, cwarn-font-lock-keywords):
9902 * progmodes/pascal.el (electric-pascal-equal):
9903 * textmodes/reftex-dcr.el (reftex-view-crossref-from-bibtex):
9904 * xml.el (xml-substitute-special): Fix typos.
9905
7fb18e9e
GM
99062011-11-20 Glenn Morris <rgm@gnu.org>
9907
9908 * mail/rmail.el (rmail-enable-mime-composing): Make it a defcustom.
9909 (rmail-insert-mime-forwarded-message-function, rmail-mime-feature):
9910 Doc fixes.
9911 (rmail-decode-mime-charset): Mark as obsolete.
9912
9913 * mail/rmailsum.el (rmail-message-regexp-p-1):
9914 * mail/rmail.el (rmail-search-message, rmail-forward, rmail-resend):
9915 Before using mime functions, check they are set. (Bug#10077)
9916
d5a6b3ba
JL
99172011-11-19 Juri Linkov <juri@jurta.org>
9918
9919 * info.el (Info-finder-find-node): Use `package--builtins' instead
9920 of `package-alist'. Use node names formed by the pattern "Keyword "
9921 and the keyword name.
9922
e981b61f
AS
99232011-11-19 Andreas Schwab <schwab@linux-m68k.org>
9924
1d00653d 9925 * progmodes/sh-script.el (sh-assignment-regexp): Add entry for bash.
e981b61f 9926
3ffbc301
JL
99272011-11-19 Juri Linkov <juri@jurta.org>
9928
9929 * info.el (Info-hide-note-references): Add `:set' tag to `defcustom'
9930 that calls `revert-buffer' on all Info buffers. (Bug#9915)
9931 (Info-revert-find-node): Remove let-bindings `old-buffer-name',
9932 `old-history', `old-history-forward'. Add let-binding
9933 `window-selected'. Remove calls to `kill-buffer',
9934 `switch-to-buffer' and `Info-mode'. Set `Info-current-file' to nil
9935 before calling `Info-find-node', so `Info-find-node-2' will reread
9936 the Info file. Restore window positions only when `window-selected'
9937 is non-nil.
9938
30c62133
JL
99392011-11-19 Juri Linkov <juri@jurta.org>
9940
9941 * isearch.el (isearch-lazy-highlight-new-loop):
9942 Remove condition `(not isearch-error)'. (Bug#9918)
9943
9944 * misearch.el (multi-isearch-search-fun): Add condition
9945 `(not bound)' to ignore lazy-highlighting search.
9946 Add the search-failed message "end of multi" when the end of
9947 multi-sequence is reached. Uncapitalize the search-failed
9948 message "Repeat for next buffer".
9949
9950 * info.el (Info-search): Add the search-failed message
9951 "end of the manual" when the end of the manual is reached
9952 in Isearch mode.
9953
645ca9cf
JL
99542011-11-19 Juri Linkov <juri@jurta.org>
9955
9956 * info.el (Info-find-node-2, Info-select-node, Info-history-find-node):
9957 Use non-destructive `remove' instead of `delete' because
9958 `Info-history-list' stored to `Info-isearch-initial-history-list' in
9959 `Info-isearch-start' might need to be restored in `Info-isearch-end'.
9960
df754f66
JL
99612011-11-19 Juri Linkov <juri@jurta.org>
9962
9963 * isearch.el (isearch-edit-string): Let-bind `history-add-new-input'
9964 to nil instead of binding `search-ring' and `regexp-search-ring'.
9965 (Bug#9185)
9966
0e23d96a
EZ
99672011-11-19 Eli Zaretskii <eliz@gnu.org>
9968
9969 * simple.el (line-move): Force movement by logical lines for any
9970 hscrolled window, not only when auto-hscroll-mode is on.
9971 (line-move-visual): Update doc string to that effect. (Bug#10076)
9972
8a6ccb66
AS
99732011-11-19 Andreas Schwab <schwab@linux-m68k.org>
9974
9975 * language/european.el (macintosh): Define as alias for mac-roman.
9976
49ae5b39
EZ
99772011-11-19 Eli Zaretskii <eliz@gnu.org>
9978
9979 * mail/rmailmm.el (rmail-mime-display-header)
9980 (rmail-mime-display-tagline, rmail-mime-display-body): New defsubsts.
9981 (rmail-mime-entity-segment, rmail-mime-toggle-raw)
9982 (rmail-mime-toggle-hidden, rmail-mime-insert-text)
9983 (rmail-mime-insert-bulk, rmail-mime-insert-multipart)
9984 (rmail-mime-insert, rmail-mime-insert-tagline): Use them instead
9985 of a raw aref.
9986 (rmail-mime-entity-segment): To get past the tagline, move forward
9987 2 more lines, to account for the 2 empty lines that precede and
9988 follow the line with the buttons.
9989 (rmail-mime-update-tagline): Move one more line, to get past the
9990 empty line that follows the buttons in the tagline. (Bug#9520)
9991
c56cad4a
MR
99922011-11-19 Martin Rudalics <rudalics@gmx.at>
9993
9994 * window.el (window-max-delta-1, window-min-delta-1)
9995 (window-min-size-1, window-state-get-1, window-state-put-1)
9996 (window-state-put-2): Use "window--" prefix.
9997
cbe71af3
SM
99982011-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
9999
2ad52c60
SM
10000 * emacs-lisp/smie.el: Improve warnings and conflict detection.
10001 (smie-warning-count): New var.
10002 (smie-set-prec2tab): Use it.
10003 (smie-bnf->prec2): Improve warnings. Add docstring.
10004 (smie-bnf--closer-alist): Rename from smie-bnf-closer-alist.
10005 (smie-bnf--set-class): New function.
10006 (smie-bnf--classify): Rename from smie-bnf-classify. Rewrite to fix
10007 corner case.
10008
6944dbc1
SM
10009 * progmodes/compile.el: Obey compilation-first-column in dest buffer.
10010 (compilation-error-properties, compilation-move-to-column):
10011 Handle compilation-first-column while in the target buffer.
10012
c400c4d7
SM
10013 * progmodes/cc-engine.el (c-remove-stale-state-cache-backwards):
10014 Don't hardcode point-min==1.
10015
6dbe3e96
SM
10016 * eshell/esh-cmd.el (eshell-do-eval): Handle `setq' (bug#9907).
10017 (eshell-rewrite-for-command): Remove workaround.
10018 (eshell-do-pipelines, eshell-do-pipelines-synchronously)
10019 (eshell-do-eval, eshell-exec-lisp): Avoid gratuitous setq.
10020 * eshell/esh-util.el (eshell-condition-case, eshell-for): Use declare.
10021
cbe71af3
SM
10022 * files-x.el (modify-file-local-variable): Obey commenting conventions.
10023
a8e1496d
GM
100242011-11-17 Glenn Morris <rgm@gnu.org>
10025
10026 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
10027 Ignore buffer-local generated-autoload-file if it is the same
10028 as the global value. (Bug#10049)
10029
df85d315
JB
100302011-11-17 Juanma Barranquero <lekktu@gmail.com>
10031
10032 * textmodes/reftex-toc.el (reftex-toc-return-marker, reftex-toc-help)
10033 (reftex-toc, reftex-toc, reftex-toc-dframe-p, reftex-toc-next-heading)
10034 (reftex-toc-previous-heading, reftex-toc-max-level)
10035 (reftex-toc-goto-line-and-hide, reftex-toc-show-calling-point)
10036 (reftex-toc-quit, reftex-toc-revert, reftex-toc-jump)
10037 (reftex-toc-do-promote, reftex-toc-promote-prepare)
10038 (reftex-toc-promote-action, reftex-toc-extract-section-number)
10039 (reftex-toc-load-all-files-for-promotion, reftex-toc-rename-label)
10040 (reftex-toc-rename-label, reftex-toc-visit-location)
10041 (reftex-toc-visit-location, reftex-toggle-auto-toc-recenter)
10042 (reftex-toggle-auto-toc-recenter, reftex-toggle-auto-toc-recenter)
10043 (reftex-make-separate-toc-frame): Fix typos, and use TOC consistently,
10044 leaving "*toc*" only for references to the buffer.
10045
a0c2d0ae
MR
100462011-11-17 Martin Rudalics <rudalics@gmx.at>
10047
10048 * window.el (window-resize, delete-window, split-window):
10049 Replace window-splits by window-combination-resize.
1d00653d 10050 * cus-start.el (window-splits): Replace by window-combination-resize.
a0c2d0ae 10051
35c0bac8
GM
100522011-11-17 Glenn Morris <rgm@gnu.org>
10053
10054 * progmodes/sh-script.el (sh-font-lock-keywords-var):
10055 Make bash entry derive from sh entry, not shell entry.
10056
d0c8fc8a
MA
100572011-11-16 Michael Albinus <michael.albinus@gmx.de>
10058
7262a87c
MA
10059 * net/tramp-sh.el (tramp-sh-handle-file-truename): Cache only the
10060 local file name.
10061
7877f373
JB
100622011-11-16 Juanma Barranquero <lekktu@gmail.com>
10063
10064 * menu-bar.el (menu-bar-file-menu):
10065 * printing.el (pr-ps-utility):
10066 * calendar/icalendar.el (icalendar, icalendar--convert-tz-offset)
10067 (icalendar--convert-to-ical, icalendar--convert-ordinary-to-ical)
10068 (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
10069 (icalendar--convert-sexp-to-ical, icalendar--convert-block-to-ical)
10070 (icalendar--convert-float-to-ical, icalendar--convert-date-to-ical)
10071 (icalendar--convert-cyclic-to-ical)
10072 (icalendar--convert-anniversary-to-ical, icalendar-import-buffer)
10073 (icalendar--convert-ical-to-diary)
10074 (icalendar--convert-recurring-to-diary)
10075 (icalendar--convert-non-recurring-all-day-to-diary)
10076 (icalendar-import-format-sample):
10077 * progmodes/idlw-shell.el (idlwave-shell-mode):
10078 * progmodes/vhdl-mode.el (vhdl-mode, vhdl-print-two-column)
10079 (vhdl-print-customize-faces, vhdl-mode, vhdl-ps-print-settings)
10080 (vhdl-ps-print-init): Fix typos.
10081
10649b82
KM
100822011-11-16 Ken Manheimer <ken.manheimer@gmail.com>
10083
9d0cfcd6
GM
10084 * allout.el, allout-widgets.el (file metadata): Attribute copyright to
10085 FSF and collapse date sequence, obscure author/maintainer email address
10086 better, remove extra version line, track relocation of author's webpage.
10649b82 10087
9d0cfcd6
GM
10088 * progmodes/python.el (python-pdbtrack-input-prompt)
10089 (python-pdbtrack-track-stack-file): Adjust to recognize ipdb as well as
10090 regular python pdb prompts. Adjustments shamelessly taken exactly as
10091 suggested in EmacsWiki page (tiny change):
10092 http://www.emacswiki.org/PythonProgrammingInEmacs#toc14
8642c216 10093
58179cce
JB
100942011-11-16 Juanma Barranquero <lekktu@gmail.com>
10095
10096 * expand.el (expand-pos, expand-index, expand-point):
10097 Remove redundant info from docstring.
10098 (expand-add-abbrevs): Doc fix.
10099 (expand-c-sample-expand-list, expand-sample-lisp-mode-expand-list)
10100 (expand-sample-perl-mode-expand-list): Fix typos.
10101
10102 * net/dbus.el (dbus-event-member-name):
10103 * play/5x5.el (5x5-solve-rotate-left, 5x5-solver-output):
10104 * term/pc-win.el (msdos-create-frame-with-faces):
10105 * textmodes/texinfmt.el (texinfo-format-image): Fix typos.
10106
b6f67890
MR
101072011-11-16 Martin Rudalics <rudalics@gmx.at>
10108
10109 * window.el (split-window, window-state-get-1)
10110 (window-state-put-1, window-state-put-2): Rename occurrences of
10111 window-nest to window-combination-limit.
1d00653d 10112 * cus-start.el (window-nest): Rename to window-combination-limit.
b6f67890 10113
ce7ddba0
CY
101142011-11-16 Chong Yidong <cyd@gnu.org>
10115
10116 * progmodes/autoconf.el (autoconf-mode): Fix comment-start-skip
10117 regexp (Bug#10033).
10118
3ae704f4
SM
101192011-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
10120
10121 * tmm.el (tmm-prompt): Use minibuffer-with-setup-hook (bug#10053).
10122 `completing-read' will remove *Completions* and will preserve
10123 current-buffer for us.
10124 (tmm-add-prompt): Users of *Completions* will always (re)set its
10125 major mode.
10126 (tmm-old-comp-map): Remove.
10127
6ad1cdde
GM
101282011-11-16 Glenn Morris <rgm@gnu.org>
10129
10130 * mail/rmailedit.el: Require rmailmm when compiling.
10131 (rmail-old-mime-state): New declaration.
10132 (rmail-edit-current-message): If editing a mime message,
10133 edit the "raw" message from the mbox buffer.
10134 (rmail-cease-edit): Handle mime messages. (Bug#9840)
10135
d20faa20
GM
101362011-11-15 Glenn Morris <rgm@gnu.org>
10137
10138 * mail/rmailmm.el (rmail-mime-toggle-raw): Remove entity arg,
10139 which wasn't being used. Add optional arg to force given state.
10140 (rmail-mime): Add optional arg to force given state.
10141
c7015153
JB
101422011-11-15 Juanma Barranquero <lekktu@gmail.com>
10143
10144 * allout.el (allout-encryption-plaintext-sanitization-regexps):
10145 * frame.el (display-mm-dimensions-alist):
10146 * outline.el (outline-mode-menu-bar-map, outline-move-subtree-up)
10147 (outline-move-subtree-down):
10148 * net/newst-treeview.el (newsticker--treeview-do-get-node-of-feed)
10149 (newsticker--treeview-do-get-node):
10150 * net/quickurl.el (quickurl-list-buffer-name):
10151 * progmodes/dcl-mode.el (dcl-mode):
10152 * progmodes/gdb-mi.el (gdb-mapcar*):
10153 * progmodes/sql.el (sql-mode-oracle-font-lock-keywords): Fix typos.
10154
45261b50
GM
101552011-11-15 Glenn Morris <rgm@gnu.org>
10156
10157 * mail/rmail.el (rmail-file-coding-system): It's only ever used
10158 in a boolean sense, so just make it a boolean, and fix the doc.
10159 (rmail-show-mime-function, rmail-mime-feature)
10160 (rmail-require-mime-maybe): Doc fixes.
10161 (rmail-show-message-1): Check rmail-show-mime-function is non-nil.
10162
10163 * mail/rmailmm.el (rmail-show-mime): Doc fix.
10164
0d26e0b6
JB
101652011-11-15 Juanma Barranquero <lekktu@gmail.com>
10166
10167 * epg.el (epg-start-decrypt, epg-start-verify, epg-start-sign)
10168 (epg-start-encrypt, epg-start-export-keys, epg-start-import-keys)
10169 (epg-start-receive-keys, epg-start-delete-keys, epg-start-sign-keys)
10170 (epg-start-generate-key, epg-context-set-progress-callback): Fix typos.
10171
447f30f6
GM
101722011-11-15 Glenn Morris <rgm@gnu.org>
10173
672b871d
GM
10174 * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-segment)
10175 (rmail-mime-shown-mode, rmail-mime-hidden-mode, rmail-mime-raw-mode)
10176 (rmail-mime-toggle-hidden, rmail-mime-insert-tagline)
10177 (rmail-mime-insert-header, rmail-mime-handle, rmail-mime-parse)
10178 (rmail-mime, rmail-show-mime): Doc fixes.
10179
f6aa5bb1
GM
10180 * term/ns-win.el (mode-line-frame-identification):
10181 Leave it alone. (Bug#10051)
10182
947cd66b
GM
10183 * simple.el (mark-whole-buffer): Doc fix. (Bug#10023)
10184
447f30f6
GM
10185 * mail/rmailout.el (rmail-output-to-rmail-buffer):
10186 Handle empty buffers. (Bug#9978)
10187
0b381c7e
JB
101882011-11-14 Juanma Barranquero <lekktu@gmail.com>
10189
10190 * international/mule.el (define-charset):
10191 * mail/rmailmm.el (rmail-mime-find-header-encoding):
10192 * progmodes/prolog.el (prolog-mode-hook, prolog-inferior-mode-hook):
10193 * progmodes/verilog-mode.el (verilog-backward-token):
10194 * textmodes/ispell.el (lookup-words):
10195 * textmodes/sgml-mode.el (sgml-guess-indent): Fix typos.
10196
71e027ac
GM
101972011-11-14 Glenn Morris <rgm@gnu.org>
10198
56632ce4
GM
10199 * progmodes/executable.el
10200 (executable-make-buffer-file-executable-if-script-p):
10201 Handle file-modes returning nil.
10202
40500957
GM
10203 * mail/rmailsum.el (rmail-summary): Remove movement to beginning of
10204 message - not necessary, and causes problems. (Bug#9831)
10205
071c2340
GM
10206 * mail/rmailsum.el (rmail-new-summary): Preserve message number.
10207
d3cfca60
GM
10208 * mail/rmail.el (rmail-no-mail-p): Remove mode-line N/M indicator.
10209
71e027ac
GM
10210 * mail/rmailsum.el (rmail-summary, rmail-new-summary)
10211 (rmail-new-summary-1): Allow empty summaries. (Bug#9964)
10212 (rmail-new-summary): Remember that rmail-summary-buffer is buffer-local.
10213
89d61221
MR
102142011-11-12 Martin Rudalics <rudalics@gmx.at>
10215
10216 * window.el (window-resize, delete-window): Use window-splits
10217 variable instead of function.
10218 (window-state-get-1, window-state-put-2, window-state-put):
10219 Don't deal with windows' splits status.
10220
98282f6f
GM
102212011-11-12 Glenn Morris <rgm@gnu.org>
10222
10223 * apropos.el (apropos-do-all, apropos-library, apropos-value)
10224 (apropos-documentation): Doc fixes.
10225
40a8bdf6
JB
102262011-11-11 Juanma Barranquero <lekktu@gmail.com>
10227
10228 * progmodes/idlw-shell.el (idlwave-shell-make-new-bp-overlay):
10229 * textmodes/sgml-mode.el (html-tag-help): Fix typos.
10230
65bd19ff
SM
102312011-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
10232
10233 * electric.el (electric-indent-post-self-insert-function): Make it
10234 possible for a char to only indent in some circumstances.
10235 (electric-indent-mode): Simplify.
10236
54f9154c
MR
102372011-11-11 Martin Rudalics <rudalics@gmx.at>
10238
10239 * window.el (windows-with-parameter): Remove unused function.
10240 (windows-at-side): Rename to window-at-side-list.
10241 (window-check, window-atom-check, window-atom-check-1)
5e92ca23
MR
10242 (window-side-check, window-size-ignore, window-size-fixed-1)
10243 (window-in-direction-2): Prefix with "window--".
10244 (window-tree-1): Rename to window--subtree, fix doc-string.
54f9154c 10245
68cbc58b
GM
102462011-11-11 Glenn Morris <rgm@gnu.org>
10247
10248 * subr.el (eval-after-load): If FILE is already loaded,
10249 evaluate FORM before it gets wrapped in more stuff. (Bug#10009)
10250
b2621720
GM
102512011-11-10 Glenn Morris <rgm@gnu.org>
10252
9a4de110
GM
10253 * vc/vc-svn.el (vc-svn-create-repo, vc-svn-modify-change-comment):
10254 Call svn via vc-svn-command rather than vc-do-command.
10255 (vc-svn-command): Add --non-interactive. (Bug#9993)
10256 (vc-svn-update, vc-svn-merge-news): No need for --non-interactive.
10257
b2621720
GM
10258 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
10259 Add toggle-read-only. (Bug#7292)
10260 * files.el (toggle-read-only): Mention that it should only
10261 be used interactively. (Bug#10006)
10262
1dce7193
SM
102632011-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
10264
d9ac1a1e
SM
10265 * progmodes/compile.el (compilation-error-regexp-alist-alist):
10266 Adjust regexp for OCaml warnings.
10267
0c325082
SM
10268 * electric.el (electric-pair-post-self-insert-function): Let user
10269 turn it off buffer-locally (bug#9932).
10270
90132c14
SM
10271 * progmodes/python.el (python-beginning-of-statement):
10272 Rewrite (bug#2703).
10273
1dce7193
SM
10274 * progmodes/compile.el: Better handle TABs (bug#9749).
10275 (compilation-internal-error-properties)
10276 (compilation-next-error-function): Obey the target buffer's
10277 compilation-error-screen-columns.
10278
c4e7c63a
JB
102792011-11-09 Juanma Barranquero <lekktu@gmail.com>
10280
10281 * progmodes/meta-mode.el: Remove obsolete comments.
10282 (meta-right-comment-regexp, meta-ignore-comment-regexp):
10283 Fix typos in docstrings.
10284
2cffd681
MR
102852011-11-09 Martin Rudalics <rudalics@gmx.at>
10286
10287 * window.el (window-size-fixed-p): Rewrite doc-string.
1dce7193 10288 (window-resizable-p): Rename to window--resizable-p. Update callers.
2cffd681
MR
10289 (window--resizable): New function. Make all callers of
10290 window-resizable call window--resizable instead.
10291 (window-resizable): Rewrite in terms of window--resizable.
10292
0edcba87
GM
102932011-11-08 Glenn Morris <rgm@gnu.org>
10294
10295 * progmodes/delphi.el (delphi-mode-syntax-table):
10296 Let define-derived-mode define a proper syntax table. (Bug#9994)
10297
4b0d61e3
SM
102982011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
10299
10300 * window.el: Stay away from defsubst.
10301 (window-list-no-nils): Remove.
10302 (window-state-get-1, window-state-get): Use backquote instead.
10303
cd394be1 103042011-11-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
fcbcac2e 10305
4b0d61e3 10306 * emacs-lisp/find-func.el (find-function-read):
fcbcac2e 10307 Fix incorrect use of default argument in `completing-read'.
10308
e1c2c6f2
MR
103092011-11-08 Martin Rudalics <rudalics@gmx.at>
10310
10311 * window.el (display-buffer-function, special-display-function):
10312 Mention display-buffer-record-window but do not mention
10313 help-setup parameter in doc-strings.
b3f4a882 10314 (window-min-delta): Fix doc-string typo.
e1c2c6f2 10315
105216ed
CY
103162011-11-08 Chong Yidong <cyd@gnu.org>
10317
10318 * window.el (window-total-height, window-total-width): Doc fix.
10319 (window-body-size): Move from C.
10320 (window-body-height, window-body-width): Move to C.
10321
0a9f9ab5
SM
103222011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
10323
10324 * window.el: Make special-display like display-buffer-alist (bug#9532).
10325 (display-buffer--special-action): New function, morphed
10326 from display-buffer--special.
10327 (display-buffer): Use it to handle special-display-buffers at higher
10328 priority (just after display-buffer-alist).
10329 (display-buffer-fallback-action, display-buffer--other-frame-action)
10330 (pop-to-buffer-same-window): Remove display-buffer--special.
10331
a769dd15
GM
103322011-11-07 Glenn Morris <rgm@gnu.org>
10333
10334 * calendar/cal-menu.el (cal-menu-set-date-title):
10335 Do nothing if not in a calendar. (Bug#9976)
10336
05a61ee3
SM
103372011-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
10338
10339 * files.el (find-file): Always use selected-window.
10340
be7f5545
MR
103412011-11-07 Martin Rudalics <rudalics@gmx.at>
10342
10343 * window.el (window-combinations): Make WINDOW argument
10344 mandatory. Rewrite doc-string.
10345 (walk-window-subtree, window-atom-check, window-min-delta)
10346 (window-max-delta, window--resize-this-window)
10347 (window--resize-root-window-vertically, window-tree)
10348 (balance-windows, window-state-put): Rewrite doc-strings as to
10349 not mention the term "subwindow".
10350 (window--resize-subwindows-skip-p): Rename to
10351 window--resize-child-windows-skip-p.
10352 (window--resize-subwindows-normal): Rename to
10353 window--resize-child-windows-normal.
10354 (window--resize-subwindows): Rename to
10355 window--resize-child-windows.
10356 (window-or-subwindow-p): Rename to window--in-subtree-p.
10357
3c6702ef
ML
103582011-11-07 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
10359
10360 * mail/rmail.el (rmail-get-new-mail, rmail-insert-inbox-text):
10361 Ensure that mbox format messages end in two newlines (Bug#9974).
10362
49745b39
CY
103632011-11-06 Chong Yidong <cyd@gnu.org>
10364
10365 * window.el (window-combination-p): Function deleted; its
10366 side-effect is not used in any existing code.
10367 (window-combinations, window-combined-p): Call window-*-child
10368 directly.
10369
24300f5f
CY
103702011-11-05 Chong Yidong <cyd@gnu.org>
10371
10372 * window.el (window-valid-p): Rename from window-any-p.
447f16b8
CY
10373 (window-size-ignore, window-state-get): Callers changed.
10374 (window-normalize-window): Rename from window-normalize-any-window.
10375 New arg LIVE-ONLY, replacing window-normalize-live-window.
1dce7193 10376 (window-normalize-live-window): Delete.
447f16b8
CY
10377 (window-combination-p, window-combined-p, window-combinations)
10378 (walk-window-subtree, window-atom-root, window-min-size)
10379 (window-sizable, window-sizable-p, window-size-fixed-p)
10380 (window-min-delta, window-max-delta, window-resizable)
10381 (window-resizable-p, window-full-height-p, window-full-width-p)
10382 (window-current-scroll-bars, window-point-1, set-window-point-1)
10383 (window-at-side-p, window-in-direction, window-resize)
10384 (adjust-window-trailing-edge, maximize-window, minimize-window)
10385 (window-deletable-p, delete-window, delete-other-windows)
10386 (record-window-buffer, unrecord-window-buffer)
10387 (switch-to-prev-buffer, switch-to-next-buffer, window--delete)
10388 (quit-window, split-window, window-state-put)
10389 (set-window-text-height, fit-window-to-buffer)
10390 (shrink-window-if-larger-than-buffer): Callers changed.
24300f5f 10391
89bd5ee1
EZ
103922011-11-04 Eli Zaretskii <eliz@gnu.org>
10393
53479029
EZ
10394 * mail/rmail.el (rmail-simplified-subject): Decode subject with
10395 rfc2047-decode-string.
10396 (rmail-mime-toggle-hidden): Declare to avoid byte-compilation
10397 warnings.
10398
89bd5ee1
EZ
10399 * window.el (window-body-height, window-body-width): Mention in
10400 the doc string that the return values are in frame's canonical
10401 units. (Bug#9949)
10402
bd17fdee
AM
104032011-11-03 Alan Mackenzie <acm@muc.de>
10404
10405 * progmodes/cc-langs.el (c-nonlabel-token-2-key): New variable for
10406 change in cc-engine.el.
10407
acc825c5
SM
104082011-11-02 Stefan Monnier <monnier@iro.umontreal.ca>
10409
10410 * window.el (switch-to-buffer): Use `force-same-window' interactively.
10411
1885e5b8
MR
104122011-11-02 Martin Rudalics <rudalics@gmx.at>
10413
10414 * window.el (quit-window): Call unrecord-window-buffer after
10415 showing another buffer in the window. (Bug#9937)
acc825c5 10416 (bury-buffer): Call switch-to-prev-buffer with second argument `bury'.
1885e5b8 10417
ebe06da9
JB
104182011-11-02 Juanma Barranquero <lekktu@gmail.com>
10419
10420 * vc/vc-bzr.el (vc-bzr-state, vc-bzr-after-dir-status):
10421 Accept status with more than 9 shelves. (Bug#9935)
10422 Reported by Colin D Bennett <colin@gibibit.com>.
10423
4ee88440
MR
104242011-11-01 Martin Rudalics <rudalics@gmx.at>
10425
10426 * help.el (with-help-window): Don't reference
10427 temp-buffer-show-specifiers in doc-string.
10428
08e1d82c
AS
104292011-10-31 Andreas Schwab <schwab@linux-m68k.org>
10430
10431 * subr.el (keymap--menu-item-with-binding): Ignore item if not a
10432 menu-item.
10433
84bd6e9e
VJL
104342011-10-30 Vinicius Jose Latorre <viniciusjl@ig.com.br>
10435
10436 * whitespace.el: New version 13.2.2.
10437 (whitespace-newline-mode): Disable properly. Reported by Sarah
10438 <EmacsWiki>.
10439
dba0634a
UJ
104402011-10-30 Ulf Jasper <ulf.jasper@web.de>
10441
10442 * net/newst-treeview.el: Remove "Time-stamp".
10443 (newsticker--group-manage-orphan-feeds): Do not call
10444 newsticker--treeview-tree-update.
db22a3c2
JB
10445 (newsticker-treeview-update, newsticker-treeview):
10446 Call newsticker--treeview-tree-update if necessary.
dba0634a 10447
3d8daefe
MR
104482011-10-30 Martin Rudalics <rudalics@gmx.at>
10449
10450 * window.el (window-iso-combination-p, window-iso-combined-p)
acc825c5
SM
10451 (window-iso-combinations): Remove "iso-" infix.
10452 Suggested by Chong Yidong.
3d8daefe
MR
10453 (window-min-size-1, window-size-fixed-1, window-min-delta-1)
10454 (window-max-delta-1, window-resize, window--resize-siblings)
10455 (window--resize-this-window, adjust-window-trailing-edge)
10456 (split-window, balance-windows-1)
10457 (shrink-window-if-larger-than-buffer):
10458 * calendar/calendar.el (calendar-generate-window):
db22a3c2 10459 * help.el (resize-temp-buffer-window): Adjust callers accordingly.
3d8daefe 10460
1bc4c3ae
SM
104612011-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
10462
10463 * eshell/esh-cmd.el (eshell-rewrite-for-command): Don't modify the list
10464 in place (bug#9907).
10465 (eshell-subcommand-arg-values, eshell-rewrite-named-command)
10466 (eshell-rewrite-if-command, eshell-rewrite-for-command)
10467 (eshell-structure-basic-command, eshell-rewrite-while-command)
10468 (eshell-invokify-arg, eshell-parse-pipeline, eshell-parse-command)
10469 (eshell-parse-subcommand-argument, eshell-parse-lisp-argument)
10470 (eshell-trap-errors, eshell-do-pipelines, eshell-do-eval)
10471 (eshell-do-pipelines-synchronously, eshell-eval-command):
10472 Use backquotes and prefer setq to set.
10473 (eshell-lookup-function, function-p-func, eshell-functionp): Remove.
10474 (eshell-macrop): Use functionp.
c1e2f5fa 10475 (eshell-do-eval): Handle multiple expressions in `while' body.
1bc4c3ae 10476
30b65d9c
CY
104772011-10-30 Chong Yidong <cyd@gnu.org>
10478
10479 * emulation/viper-cmd.el (viper-exec-change): Use push-mark
10480 instead of set-mark (Bug#9810).
10481
2d197ffb
CY
104822011-10-30 Chong Yidong <cyd@gnu.org>
10483
10484 * window.el (split-window-below, split-window-right): Rename from
10485 split-window-above-each-other and split-window-side-by-side
10486 respectively. All callers changed.
10487 (split-window-sensibly, split-window-sensibly): Use them.
10488 (split-window-keep-point): Doc fix.
10489
10490 * isearch.el: Add isearch-scroll property to split-window-below
10491 and split-window-right.
10492
10493 * follow.el (follow-mode):
10494 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
10495 * progmodes/ada-xref.el (ada-gdb-application):
10496 * emulation/vip.el (vip-buffer-in-two-windows):
10497 * image-dired.el (image-dired-dired-with-window-configuration):
10498 * dired-x.el (dired-do-find-marked-files):
10499 * dired.el (dired-pop-to-buffer):
10500 * bs.el (bs--show-with-configuration):
10501 * vc/emerge.el (emerge-setup-windows):
10502 * textmodes/two-column.el (2C-two-columns):
10503 * textmodes/reftex-toc.el (reftex-toc):
10504 * progmodes/gdb-mi.el (gdb-setup-windows):
10505 * progmodes/fortran.el (fortran-window-create):
10506 * net/newst-treeview.el (newsticker--treeview-window-init):
10507 * emulation/ws-mode.el (wordstar-C-o-map, wordstar-mode):
10508 * emulation/tpu-edt.el (tpu-gold-map):
10509 * emulation/crisp.el (crisp-mode-map):
10510 * calendar/calendar.el (calendar-basic-setup): Callers changed.
10511
38bb2ca8
CY
105122011-10-29 Chong Yidong <cyd@gnu.org>
10513
aa4de341
CY
10514 * subr.el (y-or-n-p): Add code for batch mode (Bug#9818).
10515
e1eb5385
CY
10516 * mouse.el (mouse-yank-primary): Push the mark (Bug#9894).
10517
5d2ece3c
CY
10518 * textmodes/flyspell.el (flyspell-word): Fix char offset for
10519 forged Ispell output (Bug#7904).
10520
38bb2ca8
CY
10521 * emacs-lisp/package.el (package-refresh-contents): Add autoload.
10522
d0af9f77
SM
105232011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
10524
10525 * doc-view.el: Avoid ugly errors about not finding nil.
10526 (doc-view-ghostscript-program, doc-view-dvipdfm-program)
10527 (doc-view-dvipdf-program, doc-view-unoconv-program)
10528 (doc-view-ps2pdf-program, doc-view-pdftotext-program):
10529 Avoid nil or absolute file name as default value.
10530 (doc-view-pdf->txt, doc-view-ps->pdf): Use executable-find here.
10531
52bedd34
AM
105322011-10-28 Alan Mackenzie <acm@muc.de>
10533
db22a3c2 10534 * progmodes/cc-defs.el (c-version): -> 5.32.2.
52bedd34 10535
7e43cfa5
AM
105362011-10-28 Alan Mackenzie <acm@muc.de>
10537
10538 Amend the handling of c-beginning/end-of-defun in nested declaration
10539 scopes.
10540
52bedd34
AM
10541 * progmodes/cc-vars.el (c-defun-tactic): Move here from
10542 cc-langs.el. Change it to a defcustom.
7e43cfa5 10543
52bedd34
AM
10544 * progmodes/cc-langs.el (c-defun-tactic): Move this variable to
10545 cc-vars.el.
7e43cfa5 10546
d0af9f77
SM
10547 * progmodes/cc-engine.el (c-beginning-of-statement-1):
10548 Prevent "class foo : bar" being spuriously recognized as a label.
7e43cfa5 10549
52bedd34 10550 * progmodes/cc-cmds.el (c-narrow-to-most-enclosing-decl-block):
acc825c5 10551 Add parameter `inclusive' (to include enclosing braces in the region).
7e43cfa5
AM
10552 (c-widen-to-enclosing-decl-scope): New function.
10553 (c-while-widening-to-decl-block): New macro.
10554 (c-beginning-of-defun, c-end-of-defun): Change algorithm to keep going
10555 outward for defun boundaries, and correspondingly change symbol
10556 `respect-enclosure' to `go-outward'.
10557 (c-declaration-limits): Change algorithm to report only the "innermost"
10558 defun's boundaries.
10559
1a2ce9ee
DD
105602011-10-28 Deniz Dogan <deniz@dogan.se>
10561
10562 * net/rcirc.el (rcirc-mode): Use hard newlines.
10563
bc97a826
AM
105642011-10-28 Alan Mackenzie <acm@muc.de>
10565
10566 Amend to indent and fontify macros "which include their own semicolon"
10567 correctly, using the "virtual semicolon" mechanism.
10568
52bedd34 10569 * progmodes/cc-defs.el: Update "virtual semicolon" comments.
bc97a826 10570
d0af9f77 10571 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
7877f373 10572 Recode to scan one line at a time rather than having \n and \r
58179cce 10573 explicitly in c-stmt-delim-chars (for some modes, e.g. AWK).
bc97a826 10574 (c-forward-label): Amend for virtual semicolons.
58179cce 10575 (c-at-macro-vsemi-p, c-macro-vsemi-status-unknown-p): New functions.
bc97a826 10576
52bedd34
AM
10577 * progmodes/cc-fonts.el (c-font-lock-declarations): Take account
10578 of the new C macros.
bc97a826 10579
52bedd34 10580 * progmodes/cc-langs.el (c-at-vsemi-p-fn):
acc825c5
SM
10581 (c-vsemi-status-unknown-p-fn): Move to earlier in the file.
10582 (c-opt-cpp-symbol, c-line-comment-start-regexp): New language vars.
bc97a826
AM
10583 (c-opt-cpp-macro-define): Make into a full language variable.
10584 (c-stmt-delim-chars, c-stmt-delim-chars-with-comma): Special value for
10585 AWK Mode (including \n, \r) removed, no longer needed.
10586
d0af9f77
SM
10587 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode):
10588 Invoke c-make-macro-with-semi-re.
bc97a826 10589
52bedd34
AM
10590 * progmodes/cc-vars.el (c-macro-with-semi-re):
10591 (c-macro-names-with-semicolon): New variables.
58179cce 10592 (c-make-macro-with-semi-re): New function.
bc97a826 10593
7a6c0941
SM
105942011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
10595
10596 * vc/log-edit.el: Fill empty field rather than adding new one.
10597 (log-edit-add-field): New function.
10598 (log-edit-insert-changelog): Use it.
10599
b0c4cdcf
ML
106002011-10-28 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
10601
10602 * mail/rmail.el (rmail-mode-map): Add M-C-f as in rmailsum (bug#9802).
10603
ee1f1da9
SM
106042011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
10605
10606 * progmodes/gdb-mi.el: Warn the user when -i=mi is missing.
10607 (gdb--check-interpreter): New function.
10608 (gdb): Use it.
10609
51bc5f8b
GM
106102011-10-27 Glenn Morris <rgm@gnu.org>
10611
416a2c45
GM
10612 * emacs-lisp/cl-extra.el (most-positive-float, most-negative-float)
10613 (least-positive-float, least-negative-float)
10614 (least-positive-normalized-float, least-negative-normalized-float)
10615 (float-epsilon, float-negative-epsilon):
10616 Remove unnecessary declarations.
10617
10618 * emacs-lisp/cl-extra.el (cl-float-limits): Add doc string.
10619 * emacs-lisp/cl.el (most-positive-float, most-negative-float)
10620 (least-positive-float, least-negative-float)
10621 (least-positive-normalized-float, least-negative-normalized-float)
10622 (float-epsilon, float-negative-epsilon): Add doc-strings,
10623 based on those in cl.texi.
10624
51bc5f8b
GM
10625 * files.el (set-visited-file-name): If the major-mode changed,
10626 reload the local variables. (Bug#9796)
10627
15de15c6
CY
106282011-10-27 Chong Yidong <cyd@gnu.org>
10629
10630 * subr.el (change-major-mode-after-body-hook): New hook.
10631 (run-mode-hooks): Run it.
10632
ee1f1da9
SM
10633 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
10634 Use change-major-mode-before-body-hook.
15de15c6
CY
10635
10636 * simple.el (fundamental-mode):
10637 * emacs-lisp/derived.el (define-derived-mode): Revert 2010-04-28
10638 change introducing fundamental-mode-hook.
10639
5430d399
JB
106402011-10-26 Juanma Barranquero <lekktu@gmail.com>
10641
acc825c5 10642 * term/w32-win.el (w32-default-color-map): Declare obsolete (Bug#9785).
5430d399 10643
ad74a69e
MA
106442011-10-26 Michael Albinus <michael.albinus@gmx.de>
10645
10646 * ido.el (ido-file-name-all-completions-1): Do not require
c7015153 10647 tramp.el explicitly. (Bug#7583)
ad74a69e 10648
71d4c2a5
SM
106492011-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
10650
10651 * progmodes/octave-mod.el:
10652 * progmodes/octave-inf.el: Update maintainer.
10653
b1f6fa26
CY
106542011-10-26 Chong Yidong <cyd@gnu.org>
10655
10656 * subr.el (with-wrapper-hook): Rewrite doc.
10657
3f04efd6
MA
106582011-10-25 Michael Albinus <michael.albinus@gmx.de>
10659
10660 * net/tramp-sh.el (tramp-sh-handle-file-directory-p): Return t for
ad74a69e 10661 filenames "/method:foo:". (Bug#9793)
3f04efd6 10662
410488d3
SM
106632011-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
10664
10665 * comint.el (comint-get-old-input-default): Fix use-prompt-regexp case
10666 (bug#9865).
10667
c1ebb47e
GM
106682011-10-24 Glenn Morris <rgm@gnu.org>
10669
10670 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix. (Bug#9819)
10671
7f5c46c7
MA
106722011-10-24 Michael Albinus <michael.albinus@gmx.de>
10673
10674 * notifications.el: Add the requirement of a running D-Bus session
10675 bus to the Commentary.
10676
db2440b6
JL
106772011-10-24 Juri Linkov <juri@jurta.org>
10678
10679 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
10680 `search-whitespace-regexp' only when `isearch-regexp' is non-nil.
10681 (Bug#9364)
10682
feecf435
JL
106832011-10-24 Juri Linkov <juri@jurta.org>
10684
10685 * info.el (Info-following-node-name-re): Add newline to the list
10686 of allowed characters for leading space. (Bug#9824)
10687
a3839de2
SM
106882011-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
10689
acc825c5
SM
10690 * progmodes/octave-inf.el (inferior-octave-mode-map):
10691 Fix C-c C-h binding.
a3839de2
SM
10692 * progmodes/octave-mod.el (octave-help): Remove.
10693
09388e76
MA
106942011-10-23 Michael Albinus <michael.albinus@gmx.de>
10695
10696 Sync with Tramp 2.2.3.
10697
10698 * net/tramp-cache.el (top): Pacify byte-compiler using
10699 `init-file-user' and `site-run-file'.
10700
10701 * net/trampver.el: Update release number.
10702
86c60681
CY
107032011-10-23 Chong Yidong <cyd@gnu.org>
10704
10705 * files.el (toggle-read-only): Remove obsolete comment about
10706 version control.
10707
10708 * vc/vc-hooks.el (vc-toggle-read-only): Make it an obsolete alias
10709 for toggle-read-only. Note that this hasn't called vc-next-action
10710 since 2008-05-02, though it wasn't documented at the time.
10711
a3839de2
SM
10712 * vc/ediff-init.el (ediff-toggle-read-only-function):
10713 Use toggle-read-only.
86c60681 10714
cd5495ff
AM
107152011-10-22 Alan Mackenzie <bug-cc-mode@gnu.org>
10716
10717 Fix bug #9560, sporadic wrong indentation; improve instrumentation
10718 of c-parse-state.
10719
00b77525 10720 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
a3839de2 10721 correct faulty logical expression.
cd5495ff
AM
10722 (c-parse-state-state, c-record-parse-state-state):
10723 (c-replay-parse-state-state): New defvar/defuns.
10724 (c-debug-parse-state): Use new functions.
10725
42ee24ed
MR
107262011-10-22 Martin Rudalics <rudalics@gmx.at>
10727
10728 * mouse.el (mouse-drag-line): Fix minibuffer resizing broken by
53ebff1f 10729 last fix. Use window-in-direction correctly.
42ee24ed 10730
a7dee7e7
CY
107312011-10-21 Chong Yidong <cyd@gnu.org>
10732
10733 * progmodes/idlwave.el (idlwave-mode):
10734 * progmodes/vera-mode.el (vera-mode): No need to set
a3839de2
SM
10735 require-final-newline; that's done in prog-mode.
10736 Suggested by Stefan Monnier.
a7dee7e7 10737
e07b9a6d
MR
107382011-10-21 Martin Rudalics <rudalics@gmx.at>
10739
10740 * mouse.el (mouse-drag-window-above)
10741 (mouse-drag-move-window-bottom, mouse-drag-move-window-top)
10742 (mouse-drag-mode-line-1, mouse-drag-header-line)
10743 (mouse-drag-vertical-line-rightward-window): Remove.
10744 (mouse-drag-line): New function.
10745 (mouse-drag-mode-line, mouse-drag-header-line)
10746 (mouse-drag-vertical-line): Call mouse-drag-line.
10747 * window.el (window-at-side-p, windows-at-side): New functions.
10748
7e1361d9
UM
107492011-10-21 Ulrich Mueller <ulm@gentoo.org>
10750
10751 * tar-mode.el (tar-grind-file-mode):
10752 Fix handling of setuid/setgid, handle sticky bit. (Bug#9817)
10753
30fcaf3a
CY
107542011-10-21 Chong Yidong <cyd@gnu.org>
10755
10756 * progmodes/idlwave.el (idlwave-mode):
a3839de2
SM
10757 * progmodes/vera-mode.el (vera-mode):
10758 Use mode-require-final-newline.
30fcaf3a 10759
516eddb0
GM
107602011-10-20 Glenn Morris <rgm@gnu.org>
10761
db22a3c2 10762 * vc/vc.el (vc-next-action): Handle removed directories. (Bug#9781)
516eddb0 10763
10d5f513
CS
107642011-10-20 Christoph Scholtes <cschol2112@googlemail.com>
10765
10766 * emulation/cua-base.el (cua-set-mark): Fix case of string.
10767
ac6c8639
CY
107682011-10-20 Chong Yidong <cyd@gnu.org>
10769
10770 * emulation/cua-base.el (cua-mode):
10771 * mail/footnote.el (footnote-mode):
10772 * mail/mailabbrev.el (mail-abbrevs-mode):
10773 * net/xesam.el (xesam-minor-mode):
10774 * progmodes/bug-reference.el (bug-reference-mode):
10775 * progmodes/cap-words.el (capitalized-words-mode):
10776 * progmodes/compile.el (compilation-minor-mode)
10777 (compilation-shell-minor-mode):
10778 * progmodes/gud.el (gud-tooltip-mode):
10779 * progmodes/hideif.el (hide-ifdef-mode):
10780 * progmodes/idlw-shell.el (idlwave-shell-electric-debug-mode):
10781 * progmodes/subword.el (subword-mode):
10782 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
10783 * progmodes/which-func.el (which-function-mode):
10784 * term/tvi970.el (tvi970-set-keypad-mode):
10785 * term/vt100.el (vt100-wide-mode):
10786 * textmodes/flyspell.el (flyspell-mode):
10787 * textmodes/ispell.el (ispell-minor-mode):
10788 * textmodes/nroff-mode.el (nroff-electric-mode):
10789 * textmodes/paragraphs.el (use-hard-newlines):
10790 * textmodes/refill.el (refill-mode):
10791 * textmodes/reftex.el (reftex-mode):
10792 * textmodes/rst.el (rst-minor-mode):
10793 * textmodes/sgml-mode.el (html-autoview-mode)
10794 (sgml-electric-tag-pair-mode):
10795 * textmodes/tex-mode.el (latex-electric-env-pair-mode):
10796 * vc/diff-mode.el (diff-auto-refine-mode, diff-minor-mode):
10797 * emulation/crisp.el (crisp-mode):
10798 * emacs-lisp/eldoc.el (eldoc-mode):
10799 * emacs-lisp/checkdoc.el (checkdoc-minor-mode): Doc fixes for new
10800 minor mode behavior.
10801
aa42ab43
JL
108022011-10-19 Juri Linkov <juri@jurta.org>
10803
10804 * descr-text.el (describe-char): Add #x2010 and #x2011 to
10805 the list of hard-coded chars with escape-glyph face.
10806
89400f1d
SM
108072011-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
10808
10809 * vc/log-edit.el (log-edit-empty-buffer-p): Ignore empty headers.
10810
305c07f6
MA
108112011-10-19 Michael Albinus <michael.albinus@gmx.de>
10812
10813 * net/tramp.el (tramp-connectable-p): Make a stronger check on a
10814 running process.
10815
13754b54
GM
108162011-10-19 Glenn Morris <rgm@gnu.org>
10817
10818 * vc/vc-bzr.el (vc-bzr-after-dir-status):
10819 Ignore ignored files. (Bug#9726)
10820
06e21633
CY
108212011-10-19 Chong Yidong <cyd@gnu.org>
10822
10823 Doc fix for minor modes, stating that an omitted argument enables
10824 the mode unconditionally when called from Lisp.
10825
10826 * abbrev.el (abbrev-mode):
10827 * allout.el (allout-mode):
10828 * autoinsert.el (auto-insert-mode):
10829 * autoarg.el (autoarg-mode, autoarg-kp-mode):
10830 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
10831 (global-auto-revert-mode):
10832 * battery.el (display-battery-mode):
10833 * composite.el (global-auto-composition-mode)
10834 (auto-composition-mode):
10835 * delsel.el (delete-selection-mode):
10836 * desktop.el (desktop-save-mode):
10837 * dired-x.el (dired-omit-mode):
10838 * dirtrack.el (dirtrack-mode):
10839 * doc-view.el (doc-view-minor-mode):
10840 * double.el (double-mode):
10841 * electric.el (electric-indent-mode, electric-pair-mode):
10842 * emacs-lock.el (emacs-lock-mode):
10843 * epa-hook.el (auto-encryption-mode):
10844 * follow.el (follow-mode):
10845 * font-core.el (font-lock-mode):
10846 * frame.el (auto-raise-mode, auto-lower-mode, blink-cursor-mode):
10847 * help.el (temp-buffer-resize-mode):
10848 * hilit-chg.el (highlight-changes-mode)
10849 (highlight-changes-visible-mode):
10850 * hi-lock.el (hi-lock-mode):
10851 * hl-line.el (hl-line-mode, global-hl-line-mode):
10852 * icomplete.el (icomplete-mode):
10853 * ido.el (ido-everywhere):
10854 * image-file.el (auto-image-file-mode):
10855 * image-mode.el (image-minor-mode):
10856 * iswitchb.el (iswitchb-mode):
10857 * jka-cmpr-hook.el (auto-compression-mode):
10858 * linum.el (linum-mode):
10859 * longlines.el (longlines-mode):
10860 * master.el (master-mode):
10861 * mb-depth.el (minibuffer-depth-indicate-mode):
10862 * menu-bar.el (menu-bar-mode):
10863 * minibuf-eldef.el (minibuffer-electric-default-mode):
10864 * mouse-sel.el (mouse-sel-mode):
10865 * msb.el (msb-mode):
10866 * mwheel.el (mouse-wheel-mode):
10867 * outline.el (outline-minor-mode):
10868 * paren.el (show-paren-mode):
10869 * recentf.el (recentf-mode):
10870 * reveal.el (reveal-mode, global-reveal-mode):
10871 * rfn-eshadow.el (file-name-shadow-mode):
10872 * ruler-mode.el (ruler-mode):
10873 * savehist.el (savehist-mode):
10874 * scroll-all.el (scroll-all-mode):
10875 * scroll-bar.el (scroll-bar-mode):
10876 * server.el (server-mode):
10877 * shell.el (shell-dirtrack-mode):
10878 * simple.el (auto-fill-mode, transient-mark-mode)
10879 (visual-line-mode, overwrite-mode, binary-overwrite-mode)
10880 (line-number-mode, column-number-mode, size-indication-mode)
10881 (auto-save-mode, normal-erase-is-backspace-mode, visible-mode):
10882 * strokes.el (strokes-mode):
10883 * time.el (display-time-mode):
10884 * t-mouse.el (gpm-mouse-mode):
10885 * tool-bar.el (tool-bar-mode):
10886 * tooltip.el (tooltip-mode):
10887 * type-break.el (type-break-mode-line-message-mode)
10888 (type-break-query-mode):
10889 * view.el (view-mode):
10890 * whitespace.el (whitespace-mode, whitespace-newline-mode)
10891 (global-whitespace-mode, global-whitespace-newline-mode):
10892 * xt-mouse.el (xterm-mouse-mode): Doc fix.
10893
a3839de2
SM
10894 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
10895 Fix autogenerated docstring.
06e21633 10896
5214e501
JL
108972011-10-19 Juri Linkov <juri@jurta.org>
10898
10899 * net/browse-url.el (browse-url-can-use-xdg-open): Support LXDE
10900 by checking environment variables "DESKTOP_SESSION" and
10901 "XDG_CURRENT_DESKTOP". (Bug#9779)
10902
195f8db9
JL
109032011-10-19 Juri Linkov <juri@jurta.org>
10904
10905 * net/browse-url.el (browse-url-browser-function): Add "Chromium".
10906 (browse-url-chromium-program, browse-url-chromium-arguments):
10907 New defcustoms.
10908 (browse-url-default-browser): Check for `browse-url-chromium' and
10909 call `browse-url-chromium-program'.
10910 (browse-url-chromium): New command. (Bug#9779)
10911
343a34ff
JB
109122011-10-18 Juanma Barranquero <lekktu@gmail.com>
10913
10914 * facemenu.el (list-colors-duplicates): On Windows, detect more
10915 duplicates by assuming that only colors matching "^System" are
10916 special "system colors". (Bug#9722)
10917
6978a151
SM
109182011-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
10919
10920 * vc/log-edit.el (log-edit): Add "Author:" header to encourage people
10921 to distinguish the author from the committer.
10922
6a80b297
MA
109232011-10-18 Michael Albinus <michael.albinus@gmx.de>
10924
10925 * net/tramp.el (tramp-file-name-handler): Load Tramp packages silently.
10926
b31a5677
JK
109272011-10-18 Jirka Kosek <jirka@kosek.cz> (tiny change)
10928
10929 * international/mule.el (sgml-html-meta-auto-coding-function):
10930 Add support for detecting encoding in HTML5 specified only as
10931 <meta charset="UTF-8">. Implementation just makes http-equiv and
10932 content-type parts from HTML4 encoding string optional. (Bug#9716)
10933
80c6d77f
GM
109342011-10-18 Glenn Morris <rgm@gnu.org>
10935
10936 * vc/vc.el (vc-initial-comment): Mark as obsolete. (Bug#9745)
10937
08b0fee8
CY
109382011-10-18 Chong Yidong <cyd@gnu.org>
10939
10940 * faces.el (cursor): Doc fix.
10941
67e729a5
CY
109422011-10-17 Chong Yidong <cyd@gnu.org>
10943
10944 * font-lock.el (font-lock-maximum-size): Mark as obsolete.
10945
343a34ff 109462011-10-17 Ryan Barrett <emacs@ryanb.org> (tiny change)
87e478b3
RB
10947
10948 * dirtrack.el (dirtrack): Support shell buffers with path
10949 prefixes, e.g. tramp-based remote shells. (Bug#9647)
10950
0bc06380
TZ
109512011-10-17 Teodor Zlatanov <tzz@lifelogs.com>
10952
10953 * json.el: Bump version to 1.3 and note change in History.
10954 (json-alist-p, json-plist-p): Rewrite to avoid recursion.
10955
8b79f3e0
SM
109562011-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
10957
5a7c536b
SM
10958 * comint.el (comint-insert-input, comint-send-input)
10959 (comint-get-old-input-default, comint-backward-matching-input)
10960 (comint-next-prompt): Use nil instead of `input' for field property of
10961 past user input (bug#114).
10962
96a8a0df
SM
10963 * minibuffer.el (completion--replace): Inherit surrounding properties
10964 (bug#114).
10965 (minibuffer-complete-and-exit): Use it.
10966
8b79f3e0
SM
10967 * comint.el (comint--table-subvert): Quote the all-completions output
10968 (bug#9160).
10969
b8f7ff0d
MR
109702011-10-17 Martin Rudalics <rudalics@gmx.at>
10971
8b79f3e0 10972 * ido.el (ido-default-buffer-method): Remove redundant :type entry.
4e5c3d2b 10973
b8f7ff0d 10974 * menu-bar.el (menu-bar-file-menu): Add entry for making new
d912bdcf 10975 window on right of selected. (Bug#9350) Reword other window
b8f7ff0d
MR
10976 entries and separate them from frame entries.
10977
c235b555
GM
109782011-10-15 Glenn Morris <rgm@gnu.org>
10979
10980 * emacs-lisp/ert.el (ert--explain-equal-rec, ert-select-tests):
10981 Doc fixes.
10982
6bbfa6e1
CY
109832011-10-15 Chong Yidong <cyd@stupidchicken.com>
10984
8b79f3e0
SM
10985 * net/network-stream.el (network-stream-open-starttls):
10986 Improve detection of failure due to lack of TLS support.
ec5c990d 10987
6bbfa6e1
CY
10988 * mail/sendmail.el (sendmail-query-once): Tweak prompt message,
10989 putting the input text in front and in bold.
10990
98488977
SM
109912011-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
10992
3d1337be
SM
10993 * pcmpl-unix.el (pcomplete/ssh): SSH does allow ganging.
10994
ee0b45e4
SM
10995 * mpc.el (mpc-songs-jump-to): Don't burp if the user clicks in an
10996 empty buffer.
10997
98488977
SM
10998 * mouse.el (mouse-drag-mode-line-1): Modify the end-event we pushed on
10999 unread-command-events rather than pushing yet-another event.
11000
186f4720
EZ
110012011-10-14 Eli Zaretskii <eliz@gnu.org>
11002
11003 * mail/sendmail.el (sendmail-query-once): Improve the wording of
11004 the explanation of the possible choices. Make the options passed
11005 to completing-read shorter.
11006
8b7a997c
AM
110072011-10-13 Agustín Martín Domingo <agustin.martin@hispalinux.es>
11008
11009 * textmodes/flyspell.el (flyspell-large-region): Make sure
11010 extended character mode is used if defined (Bug#1339).
11011
12587bbb
EZ
110122011-10-13 Eli Zaretskii <eliz@gnu.org>
11013
11014 * simple.el (what-cursor-position): Fix the display of the
e7e2364b
EZ
11015 character info for LRE, LRO, RLE, and RLO characters by appending
11016 an invisible PDF.
12587bbb 11017
bad41229
SM
110182011-10-13 Stefan Monnier <monnier@iro.umontreal.ca>
11019
11020 * emacs-lisp/timer.el (with-timeout): Make sure we cancel the timer
11021 even in case of error; add debug spec; simplify data flow.
11022 (with-timeout-handler): Remove.
11023
28dbc92f
MA
110242011-10-12 Michael Albinus <michael.albinus@gmx.de>
11025
11026 Fix Bug#6019, Bug#9315.
11027
11028 * files.el (set-auto-mode): Call `file-name-sans-versions' for the
11029 complete `buffer-file-name', the local file name part could look
11030 remotely (for example on VMS).
11031
11032 * net/ange-ftp.el (ange-ftp-run-real-handler): Make it an alias of
11033 `tramp-run-real-handler'.
11034 (ange-ftp-fix-name-for-vms): Handle the case, where `name' is
11035 already quoted by '"'.
11036
11037 * net/tramp.el (tramp-rfn-eshadow-update-overlay): Ignore errors.
11038 Let `file-name-handler-alist' be nil, the local file name part
11039 could look remotely (for example on VMS).
11040
e1b0b23a
SM
110412011-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
11042
11043 * textmodes/flyspell.el (flyspell-word): Move with-local-quit
11044 from here...
11045 (flyspell-post-command-hook): ...to here.
11046
a120bde9
SM
110472011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
11048
11049 * mail/sendmail.el (send-mail-function): Don't use sendmail-query-once
11050 if not needed.
11051 (sendmail-query-once): Remove OS dependencies. Make it a 3-way choice
11052 using completion. Protect against "slow" callers.
11053 Remove the "message hack".
11054
7ce7717b
JL
110552011-10-11 Juri Linkov <juri@jurta.org>
11056
11057 * isearch.el (isearch-lazy-highlight-word): New variable.
11058 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
11059 Use it. (Bug#9727)
11060
c02ee9d6
GM
110612011-10-11 Glenn Morris <rgm@gnu.org>
11062
11063 * progmodes/f90.el (f90-next-statement): Ignore preprocessor lines,
11064 like f90-previous-statement does.
11065
93e616fd 110662011-10-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
11067
1f190e73 11068 * eshell/eshell.el (eshell-command): History should be saved
c02ee9d6
GM
11069 only in interactive use, to avoid error.
11070
af7b6078
SM
110712011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
11072
11073 * minibuffer.el (completion-file-name-table): Fix last change,
11074 i.e. ignore normal errors but not the other ones.
11075
0563dae9
MR
110762011-10-10 Martin Rudalics <rudalics@gmx.at>
11077
11078 * window.el (special-display-buffer-names)
11079 (special-display-regexps): Remove some remnants of earlier
11080 changes from doc-strings.
366ca7f3
MR
11081 (quit-windows-on): New function.
11082
11083 * vc/vc.el (vc-revert, vc-rollback):
11084 * vc/vc-dispatcher.el (vc-finish-logentry): Call quit-windows-on
11085 instead of deleting windows. (Bug#4557) (Bug#5310) (Bug#5556)
9ac13c31 11086 (Bug#6183) (Bug#7074) (Bug#7447)
0563dae9 11087
49677495
MR
110882011-10-09 Martin Rudalics <rudalics@gmx.at>
11089
11090 * window.el (frame-auto-hide-function): Add version tag.
11091 (Bug#9699)
11092
56f2d1e1
MA
110932011-10-09 Michael Albinus <michael.albinus@gmx.de>
11094
11095 * net/tramp.el (tramp-file-name-handler): Add 'debug to the error
11096 condition.
11097
112a6592
LL
110982011-10-09 Leo Liu <sdl.web@gmail.com>
11099
11100 * mail/smtpmail.el (smtpmail-send-data): Add a missing space.
11101 (Bug#9701)
11102
0812589b
GM
111032011-10-08 Glenn Morris <rgm@gnu.org>
11104
11105 * progmodes/f90.el (f90-calculate-indent): Give preprocessor lines
11106 before the first code statement zero indent. (Bug#9690)
11107
b2b0776e
CY
111082011-10-08 Chong Yidong <cyd@stupidchicken.com>
11109
11110 * simple.el (count-words-region): Always count in the region.
11111 Report the number of lines and characters too.
11112 (count-words): New command, which counts in the buffer if the
11113 region is inactive, as count-words-region used to.
11114 (count-words--message): New function. Handle plurals.
11115 (count-lines-region): Make it an alias for count-words-region.
11116
11117 * bindings.el (esc-map): Replace count-lines-region with
11118 count-words-region.
11119
c557cd6b
MR
111202011-10-08 Martin Rudalics <rudalics@gmx.at>
11121
11122 * window.el (window--delete): Delete dedicated frame
11123 unconditionally when argument KILL is non-nil. (Bug#9699)
235ce86f 11124 (switch-to-buffer): Fix doc-string typo.
c557cd6b 11125
61a57ef4 111262011-10-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
11127
3a7d293b 11128 * eshell/eshell.el (eshell-command): Avoid using hooks.
61a57ef4 11129
c3833279
CY
111302011-10-07 Chong Yidong <cyd@stupidchicken.com>
11131
11132 * bindings.el ([M-left],[M-right]): Bind to left-word and
11133 right-word respectively.
11134
21ce8245
GM
111352011-10-07 Glenn Morris <rgm@gnu.org>
11136
11137 * cus-start.el (debug-on-quit): Fix custom type.
11138
6d823bb2
LMI
111392011-10-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
11140
0181e193
LMI
11141 * subr.el (define-key-after): Clarify that the function is not
11142 useful for non-menu keymaps.
11143
6d823bb2
LMI
11144 * progmodes/gdb-mi.el (gdb): Fix typo in doc string.
11145
8e3459ce 111462011-10-06 Thierry Volpiatto <thierry.volpiatto@gmail.com>
11147
21ce8245 11148 * eshell/eshell.el (eshell-command): Enable `eshell-mode' only
8e3459ce 11149 in current minibuffer (Fix bug with recursive minibuffers).
11150
a1c2d21e
CY
111512011-10-06 Chong Yidong <cyd@stupidchicken.com>
11152
11153 * progmodes/gdb-mi.el (gdb): Doc fix.
11154
5a4cf282
MR
111552011-10-05 Martin Rudalics <rudalics@gmx.at>
11156
11157 * window.el (frame-auto-hide-function): New option replacing
11158 frame-auto-delete. Suggested by Stefan Monnier.
11159 (window--delete): Call frame-auto-hide-function instead of
11160 investigating frame-auto-delete.
c96111ea
MR
11161 (window-point-1, set-window-point-1): New functions.
11162 (window-in-direction, record-window-buffer, window-state-get-1)
11163 (display-buffer-record-window): Use window-point-1 instead of
11164 window-point.
11165 (set-window-buffer-start-and-point): Use set-window-point-1.
5a4cf282 11166
9854542e
SM
111672011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
11168
11169 * emacs-lisp/edebug.el: Heed checkdoc recommendations.
11170
8943cfb0
GM
111712011-10-05 Glenn Morris <rgm@gnu.org>
11172
11173 * progmodes/perl-mode.el (perl-electric-terminator): Doc fix.
11174 (perl-calculate-indent): Suppress scan errors. (Bug#2205)
11175
647ab967
LL
111762011-10-05 Leo Liu <sdl.web@gmail.com>
11177
11178 * subr.el (read-char-choice): Fix argument to buffer-live-p which
11179 works with buffer object.
11180
3ddfbced
SM
111812011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
11182
11183 * mpc.el (mpc-tool-bar-map): Add labels.
11184
bdfa5dd2
GM
111852011-10-04 Glenn Morris <rgm@gnu.org>
11186
11187 * calendar/holidays.el (calendar-check-holidays): Doc fix.
11188
0e2070b5
MR
111892011-10-04 Martin Rudalics <rudalics@gmx.at>
11190
11191 * window.el (window--delete): New function.
11192 (frame-auto-delete): Resuscitate option.
11193 (bury-buffer, replace-buffer-in-windows)
11194 (quit-window): Rewrite using window--delete.
11195 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
11196 Pass display-buffer-mark-dedicated to window--display-buffer-2
11197 (Bug#9639).
11198
3dc61a09
SM
111992011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
11200
915a9b64
SM
11201 * pcmpl-unix.el (pcomplete/scp): Don't assume pcomplete-all-entries
11202 returns a list (bug#9554). Add remote file name completion.
11203 * comint.el (comint--table-subvert): Curry and get quote&unquote
11204 functions as arguments.
11205 (comint--complete-file-name-data): Adjust call accordingly.
11206 * pcomplete.el (pcomplete--table-subvert): Remove.
11207 (pcomplete-completions-at-point): Use comint--table-subvert instead.
11208
3dc61a09
SM
11209 * minibuffer.el (completion-table-case-fold): Use currying.
11210 (completion--styles-type, completion--cycling-threshold-type):
11211 New constants.
11212 (completion-styles, completion-category-overrides)
11213 (completion-cycle-threshold): Use them.
11214 * pcomplete.el (pcomplete-completions-at-point): Adjust call to
11215 completion-table-case-fold.
11216
8ea0a993
SB
112172011-10-03 Stephen Berman <stephen.berman@gmx.net>
11218
11219 * minibuffer.el (completion-category-overrides): Fix type of styles
11220 and add more user friendly tags (bug#9660).
11221
8c24b7f6
SM
112222011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
11223
11224 * international/mule-cmds.el: Fix abuses of apply-partially (bug#9661).
11225 (mule-input-method-string): New widget.
11226 (default-input-method, language-info-custom-alist): Use it.
11227
428fe61a
SM
112282011-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
11229
32c1fffd
SM
11230 * pcomplete.el: Require comint.
11231 (pcomplete--common-suffix): Remove.
11232 (pcomplete--common-quoted-suffix): Use comint--common-suffix instead.
11233 (pcomplete--table-subvert): Sync with comint--table-subvert.
11234 (pcomplete--entries): Use comint-completion-file-name-table.
11235 * comint.el (comint-unquote-filename): Simplify.
11236 (comint-completion-file-name-table): New function (bug#9616).
11237 (comint--complete-file-name-data): Use it.
11238
428fe61a
SM
11239 * pcmpl-gnu.el (pcmpl-gnu-with-file-buffer): New macro (bug#9643).
11240 (pcmpl-gnu-tar-buffer): Remove.
11241 (pcmpl-gnu-with-file-buffer): Use it to avoid leaving the tar's buffer
9aaf2b9c
GM
11242 around. Make sure pcomplete-suffix-list is only changed temporarily.
11243 Don't look inside the tar's file if it's too large.
428fe61a 11244
04c52e2f
CY
112452011-10-01 Chong Yidong <cyd@stupidchicken.com>
11246
ce3cefcc
CY
11247 * cus-edit.el (custom-mode-map):
11248 * epa.el (epa-key-list-mode-map):
11249 * man.el (Man-mode-map):
11250 * startup.el (splash-screen-keymap):
11251 * simple.el (special-mode-map): Use scroll-up-command and
11252 scroll-down-command.
11253
11254 * progmodes/idlw-help.el (idlwave-help-mode-map):
11255 * progmodes/ebrowse.el (ebrowse-electric-position-mode-map):
11256 * net/newst-plainview.el (newsticker-mode-map):
11257 * emulation/ws-mode.el (wordstar-mode-map):
11258 * emulation/vi.el (vi-com-map):
11259 * calc/calc-graph.el (calc-graph-show-dumb):
11260 * term/sun.el (terminal-init-sun):
11261 * term/ns-win.el (global-map):
11262 * progmodes/grep.el (grep-mode-map):
11263 * progmodes/ebrowse.el (ebrowse-electric-list-mode-map):
11264 * mail/rmail.el (rmail-mode-map):
11265 * progmodes/cpp.el (cpp-edit-mode-map): Likewise.
11266
04c52e2f
CY
11267 * custom.el (custom-safe-themes, load-theme): Treat value of t for
11268 custom-safe-themes as special.
11269
79adf8c8
JD
112702011-10-01 Julien Danjou <julien@danjou.info>
11271
11272 * notifications.el (notifications-notify): Fix docstring.
11273
63bd50d3
PS
112742011-10-01 Per Starbäck <per@starback.se>
11275
11276 * pcmpl-gnu.el (pcomplete/tar): Fix tar-header-name call. (Bug#9643)
11277
199e4c7e
MR
112782011-09-30 Martin Rudalics <rudalics@gmx.at>
11279
11280 * startup.el (command-line-1): Fix last fix by inserting
11281 initial-scratch-message into *scratch* before displaying it.
cbc5ee22 11282 (Bug#9605) and (Bug#9636)
199e4c7e 11283
fe5f08dd
EZ
112842011-09-29 Eli Zaretskii <eliz@gnu.org>
11285
11286 * simple.el (line-move): If auto-hscroll-mode is disabled and the
11287 window is hscrolled, move by logical lines. (Bug#9607)
11288 (line-move-visual): Update the doc string to the above effect.
11289
b5516bbd
MR
112902011-09-29 Martin Rudalics <rudalics@gmx.at>
11291
ccee00c0
MR
11292 * window.el (display-buffer-record-window): When WINDOW is the
11293 selected window use `point' instead of `window-point'. (Bug#9626)
11294
b5516bbd
MR
11295 * startup.el (command-line-1): Use insert-before-markers when
11296 inserting initial-scratch-message. (Bug#9605)
ccee00c0 11297
b5516bbd
MR
11298 * help.el (help-window): Remove variable.
11299
52aa0014
GM
113002011-09-29 Glenn Morris <rgm@gnu.org>
11301
11302 * pcmpl-cvs.el (pcomplete/cvs): Add "status" handler.
11303
df9a7357
JB
113042011-09-29 Juanma Barranquero <lekktu@gmail.com>
11305
11306 * descr-text.el (describe-char-categories): Accept category
11307 descriptions more than one line long.
11308
a8406c20
SM
113092011-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
11310
88d9610c
SM
11311 * simple.el (delete-trailing-whitespace): Fix last change.
11312
a5daf810
SM
11313 * progmodes/perl-mode.el (perl-syntax-propertize-function):
11314 Don't confuse "y => 3" as the beginning of a `y' operation.
11315
a8406c20
SM
11316 * emacs-lisp/debug.el (debug-convert-byte-code): Don't assume the
11317 object has more than 4 slots (bug#9613).
11318
a239d4e9
JB
113192011-09-28 Juanma Barranquero <lekktu@gmail.com>
11320
11321 * subr.el (with-output-to-temp-buffer):
11322 * net/quickurl.el (quickurl, quickurl-browse-url):
11323 Fix typos in docstrings.
11324
693fbdb6
EZ
113252011-09-27 Eli Zaretskii <eliz@gnu.org>
11326
11327 * minibuffer.el (completion-styles)
11328 (completion-category-overrides): Cross reference each other in doc
11329 strings.
11330
8b457e28
GM
113312011-09-27 Glenn Morris <rgm@gnu.org>
11332
11333 * pcmpl-cvs.el (pcmpl-cvs-entries): Update for Emacs 22.1 changes
11334 to split-string. (Bug#9606)
11335
85a16208
LMI
113362011-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
11337
11338 * mail/smtpmail.el (smtpmail-via-smtp): Fix STARTTLS detection
11339 (bug#9615).
11340
502f9ebd
CY
113412011-09-27 Chong Yidong <cyd@stupidchicken.com>
11342
11343 * emacs-lisp/package.el (list-packages): Fix echo area message.
11344
7690bdea
LL
113452011-09-27 Leo Liu <sdl.web@gmail.com>
11346
11347 * ido.el (ido-read-internal): Accept cons cell HIST arg.
11348
e2ee6f30
MA
113492011-09-25 Michael Albinus <michael.albinus@gmx.de>
11350
11351 * net/dbus.el (dbus-unregister-object): Don't release services for
11352 registered signals. (Bug#9581)
11353
f3f98342
TZ
113542011-09-25 Teodor Zlatanov <tzz@lifelogs.com>
11355
11356 * progmodes/cfengine.el (cfengine-auto-mode): Add convenience
11357 function that picks between cfengine 2 and 3 support
11358 automatically. Update docs accordingly.
11359
dd7aa8dd
KH
113602011-09-22 Kenichi Handa <handa@m17n.org>
11361
11362 * language/ind-util.el (indian-tml-base-table): Add TAMIL DIGIT
11363 ZERO.
11364 (indian-itrans-v5-table-for-tamil): New variable.
11365 (indian-tml-itrans-v5-hash): Use the above variable (Bug#9336).
11366
3f2b07f8
KM
113672011-09-22 Ken Manheimer <ken.manheimer@gmail.com>
11368
11369 * allout.el (allout-this-command-hid-stuff): Buffer-local variable
11370 that's true if the current command involved collapsing of text.
11371 It's reset to false at the beginning of the next command.
11372 (allout-post-command-business): Move the cursor to the beginning
11373 of entry if the cursor is hidden and collapsing activity just
11374 happened.
11375
371d6a61
CY
113762011-09-24 Chong Yidong <cyd@stupidchicken.com>
11377
11378 * mouse.el (mouse-drag-track): Set scroll-margin to 0 while
11379 tracking (Bug#9541).
11380
2ac2721a
UJ
113812011-09-24 Ulf Jasper <ulf.jasper@web.de>
11382
11383 * net/newst-reader.el (newsticker-html-renderer)
1154d12e
JB
11384 (newsticker-show-news): Automatically load html rendering package
11385 if newsticker-html-renderer is set. Fixes "Warning: defvar ignored
11386 because w3m-fill-column is let-bound" and the error "Symbol's value
11387 as variable is void: w3m-fill-column".
2ac2721a 11388
fac7ae53
MA
113892011-09-24 Michael Albinus <michael.albinus@gmx.de>
11390
11391 * net/dbus.el (dbus-unregister-object): Remove match rule of signals.
11392 Release services only if they are defined. (Bug#9581)
11393
e08b633b
RS
113942011-09-23 Richard Stallman <rms@gnu.org>
11395
e488d29c
RS
11396 * textmodes/paragraphs.el (forward-sentence): For backwards case,
11397 distinguish start of paragraph from start of its text.
11398
19c38752
RS
11399 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs): Autoload.
11400
e08b633b
RS
11401 * mail/rmail.el (rmail-view-buffer-kill-buffer-hook): New function.
11402 (rmail-generate-viewer-buffer): Put that hook on view buffer.
11403 (rmail-mode-kill-buffer-hook): Override that hook, to kill view buffer.
11404
0a39f27e
AS
114052011-09-23 Andreas Schwab <schwab@linux-m68k.org>
11406
11407 * international/mule-diag.el (mule-diag): Insert a newline after
11408 each fontset description.
11409
db4e950d
SM
114102011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
11411
11412 * simple.el (delete-trailing-whitespace):
11413 Document last change; simplify.
11414
eca3f3ea
PW
114152011-09-23 Peter J. Weisberg <pj@irregularexpressions.net>
11416
d68e189a
PW
11417 * simple.el (delete-trailing-whitespace): Also delete
11418 extra newlines at the end of the buffer.
11419
eca3f3ea
PW
11420 * textmodes/picture.el: Make motion commands obey shift-select-mode.
11421 (picture-newline): Use forward-line so as to ignore fields.
11422
01c157cc
SM
114232011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
11424
11425 * subr.el (with-wrapper-hook): Fix edebug spec.
11426
022de23e
LMI
114272011-09-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
11428
11429 * simple.el (kill-line): Note effect of `show-trailing-whitespace'
11430 (bug#4538).
11431
91683089
MA
114322011-09-23 Michael Albinus <michael.albinus@gmx.de>
11433
eca3f3ea
PW
11434 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
11435 Fix nasty bug using wrong cached values.
91683089 11436
5bdd6fa4
AM
114372011-09-23 Alan Mackenzie <acm@muc.de>
11438
11439 * progmodes/cc-defs.el (c-version): Increase to 5.31.9.
11440
97adfb97
CY
114412011-09-23 Chong Yidong <cyd@stupidchicken.com>
11442
11443 * window.el (pop-to-buffer): Ensure right window is selected if we
11444 chose another frame.
11445
d4ef2b50
EZ
114462011-09-22 Eli Zaretskii <eliz@gnu.org>
11447
11448 * simple.el (what-cursor-position): Use get-char-property-change
11449 and next-single-char-property-change, to be able to show display
11450 properties that come from overlays as well as text properties.
11451
72258fe5
CY
114522011-09-22 Chong Yidong <cyd@stupidchicken.com>
11453
11454 * window.el (pop-to-buffer-same-window): New (reinstated) fun.
11455
11456 * cmuscheme.el (run-scheme, switch-to-scheme):
11457 * cus-edit.el (customize-group, custom-buffer-create)
11458 (customize-browse):
11459 * info.el (info):
11460 * shell.el (shell):
11461 * mail/sendmail.el (mail):
11462 * progmodes/inf-lisp.el (inferior-lisp): Use it (Bug#9532).
11463
8f098516
RS
114642011-09-22 Richard Stallman <rms@gnu.org>
11465
11466 * textmodes/paragraphs.el (forward-sentence): When setting PAR-BEG,
11467 move back only to line beg, don't move back over blank lines.
11468
e74f1bb6
MA
114692011-09-22 Michael Albinus <michael.albinus@gmx.de>
11470
11471 * files.el (copy-directory): Set directory attributes only in case
11472 they could be retrieved from the source directory. (Bug#9565)
11473
bfeef8b6
DK
114742011-09-22 Dima Kogan <dkogan@secretsauce.net> (tiny change)
11475
11476 * progmodes/hideshow.el (hs-looking-at-block-start-p)
11477 (hs-find-block-beginning, hs-hide-level-recursive):
11478 Ignore strings as well as comments. (Bug#9502)
11479
7e423bb8
AS
114802011-09-22 Andrew Schein <andrew@andrewschein.com> (tiny change)
11481
11482 * progmodes/sql.el (sql-comint-postgres):
11483 Convert port number to a string. (Bug#9566)
11484
b4d72fcf
MR
114852011-09-22 Martin Rudalics <rudalics@gmx.at>
11486
11487 * window.el (quit-window): Undedicate window when switching to
11488 previous buffer. Reported by Thierry Volpiatto
11489 <thierry.volpiatto@gmail.com>.
7f80c86d
MR
11490 (special-display-popup-frame): When popping up a new frame reset
11491 its previous buffers to nil. Simplify code.
b4d72fcf 11492
a7b88dc6
MA
114932011-09-21 Michael Albinus <michael.albinus@gmx.de>
11494
11495 * net/tramp.el (tramp-handle-shell-command): Set process sentinel
11496 and process filter, as done also in `shell-command'.
11497
cf4eacfd
MR
114982011-09-21 Martin Rudalics <rudalics@gmx.at>
11499
eca3f3ea 11500 * window.el (set-window-buffer-start-and-point):
1154d12e
JB
11501 Call set-window-start with NOFORCE argument t.
11502 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
cf4eacfd
MR
11503 (quit-window): Reword doc-string. Handle new format of
11504 quit-restore parameter. Don't delete window if it has a
11505 previous buffer we can show instead of the present one.
11506 (display-buffer-record-window): Rewrite using a new format for
11507 the quit-restore window parameter
11508 (special-display-popup-frame, display-buffer-same-window)
11509 (display-buffer-reuse-window, display-buffer-pop-up-frame)
11510 (display-buffer-pop-up-window, display-buffer-use-some-window):
11511 Adapt symbol passed to display-buffer-record-window.
11512 * help.el (help-window-setup): Handle new format of quit-restore
11513 parameter.
11514
8d28cb95
SM
115152011-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
11516
94ab793f
SM
11517 * faces.el (face-list): Fix docstring (bug#9564).
11518
8d28cb95
SM
11519 * window.el (display-buffer--action-function-custom-type):
11520 Don't include internal functions in the Custom interface.
11521
3820edeb
JL
115222011-09-20 Juri Linkov <juri@jurta.org>
11523
11524 * info.el (Info-history-skip-intermediate-nodes): New defcustom.
11525 (Info-forward-node, Info-backward-node, Info-next-preorder)
11526 (Info-last-preorder): Use it. (Bug#9528)
11527
5147931d
JL
115282011-09-20 Juri Linkov <juri@jurta.org>
11529
11530 * info.el (Info-last-preorder): Visit last menu item only when
11531 `Info-scroll-prefer-subnodes' is non-nil (third test-case of bug#9528).
11532
cf499a1a
JD
115332011-09-20 Julien Danjou <julien@danjou.info>
11534
11535 * password-cache.el (password-cache-remove): Remove entries even if the
11536 value is nil, so that password with a nil value (negative caching) is
11537 possible to invalidate.
11538
f84e2fe2
LM
115392011-09-20 Lawrence Mitchell <wence@gmx.li>
11540
11541 * progmodes/f90.el (f90-break-line): If breaking inside comment delete
11542 all whitespace around breakpoint. (Bug#9553)
11543 (f90-find-breakpoint): Only break at whitespace inside a comment.
11544
78054a46
SM
115452011-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
11546
11547 * minibuffer.el (completion-file-name-table): Keep track of errors.
11548 (completion-table-with-predicate): Handle the case where pred1 is nil.
11549 * pcomplete.el (pcomplete-completions-at-point): Simplify.
11550
345083b2
SM
115512011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
11552
e24e27be
SM
11553 * emacs-lisp/debug.el (debugger-args): Give it a docstring.
11554 (debugger-return-value): Signal an error if the debugging context does
11555 not await any return value.
11556
345083b2
SM
11557 * ps-mule.el (ps-mule-plot-string): Don't inf-loop (bug#5108).
11558 * image-mode.el (image-toggle-display-text)
11559 (image-toggle-display-image): Stay away from evil `intangible'.
11560
08d355e3
LL
115612011-09-19 Leo Liu <sdl.web@gmail.com>
11562
11563 * replace.el (occur-revert-arguments): Make it permanent-local.
11564 (occur-mode): Don't call font-lock-defontify.
11565
f01da43f
CY
115662011-09-19 Chong Yidong <cyd@stupidchicken.com>
11567
11568 * net/ldap.el (ldap-search-internal): Don't push empty search
11569 result (Bug#9508).
11570
b6072fa6
SM
115712011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
11572
11573 * whitespace.el (whitespace-newline-mode): Disable it right (bug#9550).
11574
443d6696
MA
115752011-09-19 Michael Albinus <michael.albinus@gmx.de>
11576
11577 * net/tramp-sh.el (tramp-inline-compress-commands): Add "xz".
11578 Suggested by Liam Stitt <stittl@cuug.ab.ca>.
11579
7cc6e154
JL
115802011-09-18 Juri Linkov <juri@jurta.org>
11581
11582 * buff-menu.el (Buffer-menu-mode-map):
11583 * dired.el (dired-mode-map):
11584 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map)
11585 (lisp-interaction-mode-map):
11586 * emacs-lisp/package.el (package-menu-mode-map):
11587 * epa.el (epa-key-list-mode-map):
11588 * menu-bar.el (menu-bar-showhide-tool-bar-menu)
11589 (menu-bar-options-menu):
11590 * outline.el (outline-mode-menu-bar-map):
11591 * vc/vc-bzr.el (vc-bzr-shelve-menu-map, vc-bzr-extra-menu-map):
11592 * vc/vc-dir.el (vc-dir-menu-map):
11593 * vc/vc-git.el (vc-git-stash-menu-map, vc-git-extra-menu-map):
11594 Capitalize non-function content words in menu item strings.
11595
11596 * dired.el (dired-mode-map): Add menu item for
11597 `image-dired-dired-toggle-marked-thumbs'.
11598
80302a81
JL
115992011-09-18 Juri Linkov <juri@jurta.org>
11600
11601 * isearch.el (isearch-edit-string): Bind `isearch-new-case-fold'
11602 to `isearch-case-fold-search' and restore its original value
11603 after the `isearch-mode' call.
11604
46c5cf66
JL
116052011-09-18 Juri Linkov <juri@jurta.org>
11606
11607 * progmodes/grep.el (grep-process-setup): Don't check code for 1
11608 because `zgrep' returns 1 for successful matches (bug#9226).
11609
d18b513b
JL
116102011-09-18 Juri Linkov <juri@jurta.org>
11611
11612 * info.el (Info-extract-menu-node-name): Check the second match
11613 for empty string (second test-case of bug#9528).
11614 (Info-last-preorder): Let-bind `Info-history' to nil to not add
11615 intermediate nodes to the history (first test-case of bug#9528).
11616
72753f87
JL
116172011-09-18 Juri Linkov <juri@jurta.org>
11618
11619 * info.el (Info-mode-syntax-table): New variable.
1154d12e 11620 (Info-mode): Set `:syntax-table' to `Info-mode-syntax-table' (bug#3312).
72753f87 11621
c9384295
JL
116222011-09-18 Juri Linkov <juri@jurta.org>
11623
1154d12e
JB
11624 * info.el (Info-file-supports-index-cookies):
11625 Increment line-beginning-position's arg from 3 to 4 because makeinfo
11626 outputs one more line for long file names (bug#4142).
c9384295 11627
d473dce8
CY
116282011-09-18 Chong Yidong <cyd@stupidchicken.com>
11629
11630 * newcomment.el (comment-normalize-vars): If prompting for
11631 comment-start, set comment-start-skip too (Bug#8424).
11632
2176854d
JB
116332011-09-18 Johan Bockgård <bojohan@gnu.org>
11634
11635 * icomplete.el: Fix previous fix of Bug#5849.
11636 (icomplete-mode): Don't set completion-show-inline-help.
11637 (icomplete-minibuffer-setup): Set completion-show-inline-help
11638 locally during icompletion.
11639
3aace4e4
CY
116402011-09-18 Chong Yidong <cyd@stupidchicken.com>
11641
c940224f
CY
11642 * woman.el (woman2-process-escapes): Don't delete unrecognized
11643 escapes (Bug#7843).
11644
3aace4e4
CY
11645 * files.el (inhibit-first-line-modes-regexps): Add image files.
11646 (hack-local-variables-prop-line): Return nil for malformed
11647 prop-lines (Bug#9044).
11648
710dec63
MA
116492011-09-18 Michael Albinus <michael.albinus@gmx.de>
11650
11651 * net/tramp.el (top): Don't require 'shell.
11652 (tramp-methods): Fix docstring.
11653 (tramp-get-remote-tmpdir): New defun, moved from tramp-sh.el.
8d28cb95
SM
11654 Return complete remote file name. Handle "smb" case.
11655 Use `tramp-tmpdir', if defined for the respective method.
710dec63
MA
11656 (tramp-make-tramp-temp-file): Adapt call of `tramp-get-remote-tmpdir'.
11657
11658 * net/tramp-compat.el (top): Require 'shell.
11659
11660 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
11661 (tramp-maybe-open-connection): Use `tramp-file-name-real-host' for
11662 `tramp-current-host'.
11663 (tramp-get-remote-tmpdir): Remove.
11664
11665 * net/tramp-smb.el (tramp-methods): Add `tramp-remote-shell' and
11666 `tramp-tmpdir' entries.
11667 (tramp-smb-errors): Add "NT_STATUS_IMAGE_ALREADY_LOADED".
11668 (tramp-smb-handle-file-attributes): Ignore errors.
11669 (tramp-smb-wait-for-output): Check also for process end.
11670
5d5ac8ec
LMI
116712011-09-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
11672
11673 * mail/smtpmail.el (smtpmail-via-smtp): Ignore errors that arise
11674 when sending QUIT (bug#9312).
11675
8c0f49f0
CY
116762011-09-17 Chong Yidong <cyd@stupidchicken.com>
11677
11678 * replace.el (occur-mode-map): Rebind occur-edit-mode to "e" (Bug#8463).
11679 (occur-edit-mode-map): Bind C-c C-c to occur-cease-edit and C-o to
11680 occur-mode-display-occurrence.
11681 (occur-edit-mode): Add usage message.
11682 (occur-cease-edit): New command.
11683 (occur-after-change-function): Use text properties to find the
11684 position of the prefix text.
11685 (occur-engine): Set stickiness of prefix text properties.
11686
8f1383f7
GM
116872011-09-17 Glenn Morris <rgm@gnu.org>
11688
11689 * progmodes/etags.el (complete-tag):
11690 Fix call to completion-in-region. (Bug#9526)
11691
744ba0e3
JL
116922011-09-17 Juri Linkov <juri@jurta.org>
11693
11694 * textmodes/ispell.el (ispell-word): Add to the error message
11695 the word, ispell program name and current dictionary (bug#9121).
11696 (ispell-tex-arg-end): Capitalize "error" in the error message.
11697
d9bbf400
AS
116982011-09-17 Andreas Schwab <schwab@linux-m68k.org>
11699
11700 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix overflow
11701 check. (Bug#4251)
11702
8da11505
JL
117032011-09-17 Juri Linkov <juri@jurta.org>
11704
11705 * window.el (window-safe-min-height, window-safe-min-width):
11706 Fix typos (followup to bug#9522).
11707
a91adc7e
SJ
117082011-09-17 Sven Joachim <svenjoac@gmx.de>
11709
11710 * window.el (window-min-width, window-state-put): Fix typos (bug#9522).
11711
064f328a
EZ
117122011-09-16 Eli Zaretskii <eliz@gnu.org>
11713
11714 * simple.el (line-move): If goal-column is set, move by logical
11715 lines, not by display lines. (Bug#971)
11716 (next-line, previous-line, goal-column, line-move-visual): Doc fix
11717 to reflect the above change.
11718
e69df516
SM
117192011-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
11720
11721 * image.el (imagemagick-register-types): Use regexp-opt.
11722
cbb0f9ab
CY
117232011-09-15 Chong Yidong <cyd@stupidchicken.com>
11724
11725 * window.el (display-buffer-base-action): Rename from
11726 display-buffer-default-action. Make default value empty.
11727 (display-buffer-overriding-action): Convert to defvar.
11728 (display-buffer-fallback-action): New var.
11729
25322144
CY
117302011-09-15 Chong Yidong <cyd@stupidchicken.com>
11731
11732 * emacs-lisp/package.el (package-alist): Fix risky-local-variable
11733 declaration.
11734 (package--add-to-archive-contents): If there is a duplicate entry
11735 with an older version, remove it.
11736 (package-menu-mark-delete, package-menu-mark-install)
11737 (package-menu-mark-unmark): Make unused args optional.
e69df516
SM
11738 (package-menu-mark-obsolete-for-deletion):
11739 Use package-menu-get-status instead of a regexp search.
25322144
CY
11740 (package-menu-get-status): Use tabulated-list-entry.
11741 (package-menu-mark-upgrades): New command.
d770725a 11742 (package-menu-mode-map): Bind it to U. Add it to menu bar.
25322144
CY
11743 (package-menu-execute): Do installation before deletion.
11744 (package-menu-refresh, package-menu-execute): Use derived-mode-p
11745 instead of checking major-mode.
11746 (package-menu--find-upgrades): New function.
11747
7520339c
LMI
117482011-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
11749
11750 * mail/smtpmail.el (smtpmail-send-command): Don't include AUTH
11751 passwords in the log buffer.
65a046c4
LMI
11752 (smtpmail-process-filter): Update the process marker so that the
11753 "broken by peer" status message is inserted in the right place.
7520339c 11754
d3c30954
SM
117552011-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
11756
3fe48822
SM
11757 * textmodes/bibtex.el (bibtex-complete-string-cleanup)
11758 (bibtex-complete-crossref-cleanup): Adjust to accommodate needs of
11759 bibtex-completion-at-point-function.
11760 (bibtex-completion-at-point-function): Use them.
11761
1b8b3954
SM
11762 * newcomment.el (comment-add, comment-valid-prefix-p): Docfix.
11763
d3c30954
SM
11764 * mpc.el (mpc-constraints-tag-lookup): New function.
11765 (mpc-constraints-restore): Use it to make jumping to "album=Foo" apply
11766 also to browser "album|playlist".
11767
72779976
JL
117682011-09-14 Juri Linkov <juri@jurta.org>
11769
11770 * isearch.el (isearch-fail-pos): Add new arg `msg'. Doc fix.
11771 (isearch-edit-string): Use length of `isearch-string' when
11772 `isearch-fail-pos' returns nil.
11773 (isearch-message): Remove duplicate code and call
11774 `isearch-fail-pos' with arg `t'.
11775
a0bf2bcd
CY
117762011-09-14 Chong Yidong <cyd@stupidchicken.com>
11777
17bb0a2d
CY
11778 * replace.el (occur-mode-goto-occurrence): Don't force using other
11779 window (Bug#9499).
11780
a0bf2bcd
CY
11781 * dired-aux.el (dired-do-chmod): Don't provide initial input.
11782
f678e0b6
MR
117832011-09-14 Martin Rudalics <rudalics@gmx.at>
11784
11785 * window.el (display-buffer-window): Remove.
11786 (display-buffer-record-window): Use help-setup window parameter
11787 instead of variable display-buffer-window.
11788 (display-buffer-function, special-display-buffer-names)
11789 (special-display-function): Mention help-setup parameter instead
11790 of display-buffer-window in doc-string.
d3c30954
SM
11791 * help.el (help-window-setup): New argument help-window.
11792 Use help-window-setup parameter instead of display-buffer-window.
f678e0b6
MR
11793 Reword some messages.
11794 (with-help-window): Pass window used for displaying the buffer
11795 to help-window-setup. Don't set display-buffer-window.
11796
8e39b2e8
GM
117972011-09-13 Glenn Morris <rgm@gnu.org>
11798
11799 * emacs-lisp/debug.el (debugger-make-xrefs):
11800 Preserve point. (Bug#9462)
11801
85e9c04b
CY
118022011-09-13 Chong Yidong <cyd@stupidchicken.com>
11803
11804 * window.el (window-deletable-p): Use next-frame.
11805
1b36ed6a
MR
118062011-09-13 Martin Rudalics <rudalics@gmx.at>
11807
11808 * window.el (window-auto-delete): Remove.
11809 (window-deletable-p): Remove argument FORCE. Don't deal with
e4769531 11810 dedication and previous buffers.
1b36ed6a
MR
11811 (switch-to-prev-buffer): Don't delete window.
11812 (delete-windows-on): Delete a window's frame if and only if the
11813 window is dedicated.
11814 (replace-buffer-in-windows): Delete buffer's window or frame if
11815 and only if window is dedicated.
11816 (quit-window): Handle quit-restore as before last change.
4d61f28d 11817 (bury-buffer): Delete window only if window-deletable-p returns t.
1b36ed6a 11818
ef8ef9fb
CY
118192011-09-13 Chong Yidong <cyd@stupidchicken.com>
11820
11821 * window.el (window-deletable-p): Never delete the last frame on a
11822 given terminal.
11823
b2cba41e
GM
118242011-09-13 Glenn Morris <rgm@gnu.org>
11825
11826 * help.el (describe-key-briefly): Copy previous standard-output change.
11827
51553db6 118282011-09-13 PJ Weisberg <pj@irregularexpressions.net>
e3ce671f
PW
11829
11830 * help.el (where-is): Respect non-standard standard-output. (Bug#9030)
11831
b7556719
GM
118322011-09-13 Glenn Morris <rgm@gnu.org>
11833
11834 * emacs-lisp/lisp-mode.el (lisp-indent-function):
11835 * progmodes/scheme.el (scheme-indent-function): Doc fixes.
11836
64b51947
CY
118372011-09-12 Chong Yidong <cyd@stupidchicken.com>
11838
11839 * dired-aux.el (dired-mark-read-string): Don't return default
11840 value on empty input (Bug#9361).
11841 (dired-do-chxxx): Treat empty input for "touch" as no -t option.
11842 Omit initial minibuffer contents.
11843 (dired-do-chmod): Signal an error on empty input.
11844 (dired-mark-read-string): Don't return default on empty input.
11845
11846 * files.el (file-modes-symbolic-to-number): Doc fix.
11847
393a301e
SM
118482011-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
11849
11850 * international/mule-cmds.el (ucs-completions): Remove.
11851 (read-char-by-name): Use complete-with-action instead; add metadata.
11852
fa5660f9
CY
118532011-09-11 Chong Yidong <cyd@stupidchicken.com>
11854
11855 * window.el (display-buffer--action-function-custom-type)
11856 (display-buffer--action-custom-type): New vars.
11857 (display-buffer-alist, display-buffer-default-action)
11858 (display-buffer-overriding-action): Add defcustom types.
11859
4a592f66
CY
11860 * frame.el (delete-other-frames): Doc fix (Bug#276).
11861
73d56dbd
LMI
118622011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
11863
11864 * play/doctor.el (make-doctor-variables): Define `doctor-sent'.
11865
37ac18a3
CY
118662011-09-11 Chong Yidong <cyd@stupidchicken.com>
11867
11868 Change modes that used same-window-* vars to use switch-to-buffer.
11869
11870 * progmodes/gdb-mi.el (gdb-restore-windows, gdb-setup-windows):
11871 Use switch-to-buffer.
11872
11873 * cus-edit.el (customize-group, custom-buffer-create)
393a301e
SM
11874 (customize-browse, custom-buffer-create-other-window):
11875 Use switch-to-buffer or switch-to-buffer-other-window.
37ac18a3
CY
11876
11877 * info.el (info, Info-find-node, Info-revert-find-node, Info-next)
11878 (Info-prev, Info-up, Info-speedbar-goto-node)
11879 (info-display-manual): Use switch-to-buffer.
11880 (Info-speedbar-goto-node): Use switch-to-buffer-other-frame.
11881
11882 * mail/sendmail.el (mail): Use switch-to-buffer.
11883 (mail-recover): Use switch-to-buffer-other-window.
11884
11885 * cmuscheme.el (run-scheme, switch-to-scheme):
11886 * ielm.el (ielm):
11887 * shell.el (shell):
11888 * net/rlogin.el (rlogin):
11889 * net/telnet.el (telnet, rsh):
11890 * progmodes/inf-lisp.el (inferior-lisp): Use switch-to-buffer.
11891
10195bd6
AS
118922011-09-11 Andreas Schwab <schwab@linux-m68k.org>
11893
11894 * dired.el (dired-sort-toggle-or-edit): Revert last changes.
11895
b322f63a
LMI
118962011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
11897
39d7fed6
LMI
11898 * dired.el (dired-sort-toggle-or-edit): -o doesn't exist on *BSD,
11899 so don't mention it (bug#9301).
ba5a81f1 11900 (dired-sort-toggle-or-edit): Clarify string further.
39d7fed6 11901
ee0e9f11
LMI
11902 * faces.el (face-spec-set-match-display): Make `(type graphic)'
11903 match `x', `w32' and `ns', like the manual says (bug#9029).
11904
0b1c89c1 11905 * subr.el (eval-after-load): Doc string clarification (bug#9125).
da9fcb93
LMI
11906 (process-kill-buffer-query-function): Mention the buffer name in
11907 the query.
0b1c89c1 11908
77549ea8
LMI
11909 * image-mode.el (image-next-line): The line parameter is mandatory
11910 (bug#9258).
11911
803ef892
LMI
11912 * dired.el (dired-sort-toggle-or-edit): Mention -o and -g, too,
11913 which can be useful (bug#9301).
11914
12980837
LMI
11915 * textmodes/flyspell.el: Remove obsolete comment (bug#9368).
11916
91054f8f
LMI
11917 * subr.el (match-string): Mention that the current buffer should
11918 be the same as the search was done in (bug#9282).
11919
b322f63a
LMI
11920 * facemenu.el: Disable the remove-* commands if the mark isn't
11921 active (bug#9162).
11922
3199b96f
CY
119232011-09-10 Chong Yidong <cyd@stupidchicken.com>
11924
11925 * buff-menu.el (Buffer-menu-switch-other-window): Use second arg
11926 of display-buffer.
11927 (Buffer-menu-2-window): Use switch-to-buffer-other-window.
11928
11929 * replace.el (occur-mode-goto-occurrence)
11930 (occur-mode-display-occurrence) Use second arg of pop-to-buffer
11931 and display-buffer.
11932
11933 * mail/reporter.el (reporter-submit-bug-report): Use second arg of
11934 display-buffer.
11935
11936 * mail/sendmail.el (sendmail-user-agent-compose): Don't bind the
11937 special-display and same-window variables.
11938 (mail-other-window): Use switch-to-buffer-other-window.
11939 (mail-other-frame): USe switch-to-buffer-other-frame.
11940
393a301e
SM
11941 * progmodes/gdb-mi.el (gdb-frame-gdb-buffer):
11942 Use display-buffer-other-frame.
3199b96f
CY
11943 (gdb-display-gdb-buffer): Use pop-to-buffer.
11944
11945 * progmodes/gud.el (gud-goto-info): Use info-other-window.
11946
11947 * progmodes/python.el: Don't set same-window-buffer-names.
11948
11949 * textmodes/bibtex.el (bibtex-search-entry): Use switch-to-buffer.
11950
11951 * window.el (display-buffer-alist): Add *Python*.
11952
8319e0bf
CY
119532011-09-10 Chong Yidong <cyd@stupidchicken.com>
11954
11955 * window.el (display-buffer-alist): Add entry for buffers
11956 previously handled same-window-*.
11957 (display-buffer-alist, display-buffer-default-action)
11958 (display-buffer-overriding-action): Mark as risky.
11959 (display-buffer-alist): Document action function changes.
11960 (display-buffer--same-window-action)
11961 (display-buffer--other-frame-action): New variables.
11962 (switch-to-buffer, display-buffer-other-frame): Use them.
11963 (display-buffer): Rename reuse-frame entry to reusable-frames.
11964 (display-buffer-reuse-selected-window): Function deleted.
11965 (display-buffer-reuse-window): Handle reusable-frames alist entry.
11966 If it's omitted, check pop-up-frames/display-buffer-reuse-frames.
11967 (display-buffer-special): New function.
11968 (display-buffer--maybe-pop-up-frame-or-window): Rename from
11969 display-buffer-reuse-or-pop-window. Split off special-display
11970 part into display-buffer-special.
11971 (display-buffer-use-some-window): Don't perform any special
11972 pop-up-frames handling.
11973 (pop-to-buffer): Use window-normalize-buffer-to-switch-to.
393a301e 11974 (display-buffer--maybe-same-window): Rename from
0d3ff375 11975 display-buffer-maybe-same-window.
8319e0bf 11976
919a69aa
CY
11977 * info.el: Don't set same-window-regexps.
11978 (info-setup): New function.
11979 (info-other-window, info): Call it.
11980
11981 * cus-edit.el: Don't set same-window-regexps.
11982 (customize-group): New argument.
11983 (customize-group-other-window): Use it.
11984 (customize-face, customize-face-other-window): Likewise.
11985 (custom-buffer-create-other-window): Use pop-to-buffer directly.
11986
8319e0bf
CY
11987 * net/rlogin.el:
11988 * net/telnet.el:
11989 * progmodes/gud.el: Don't set same-window-regexps.
11990
11991 * cmuscheme.el:
11992 * ielm.el:
11993 * shell.el:
11994 * mail/sendmail.el:
11995 * progmodes/inf-lisp.el: Don't set same-window-buffer-names.
11996
25173000
JL
119972011-09-10 Juri Linkov <juri@jurta.org>
11998
11999 * isearch.el (isearch-edit-string): Remove obsolete mention of
12000 `C-w' (`isearch-yank-word-or-char') from docstring.
12001 (isearch-query-replace): Fix typo in docstring (bug#9466).
12002
056e44ef
JL
120032011-09-10 Juri Linkov <juri@jurta.org>
12004
12005 * paren.el (show-paren-function): Don't show escaped parens.
12006 Let-bind `unescaped' to `t' when paren is not escaped. (Bug#9461)
12007
c3760c17
EZ
120082011-09-10 Eli Zaretskii <eliz@gnu.org>
12009
12010 * mail/sendmail.el (mml-to-mime, mml-attach-file)
12011 (mm-default-file-encoding): Remove autoload forms, they are
12012 replaced with autoload cookies in mml.el and mm-encode.el.
12013 (mail-add-attachment): New command.
12014 (mail-mode-map): Add a menu-bar item for mail-add-attachment.
12015 (mail-mode): Mention mail-insert-file and mail-add-attachment in
12016 the doc string.
12017 (mml-to-mime, mml-attach-file, mm-default-file-encoding): Declare.
12018
fece895e
RT
120192011-09-10 Reuben Thomas <rrt@sc3d.org>
12020
e69df516
SM
12021 * simple.el (count-words-region): Use buffer if there's no region
12022 (bug#9429).
fece895e 12023
5e68ce4a
JL
120242011-09-09 Juri Linkov <juri@jurta.org>
12025
12026 * wdired.el (wdired-change-to-wdired-mode): Set buffer-local
12027 `isearch-filter-predicate' to `wdired-isearch-filter-read-only'.
12028 (wdired-isearch-filter-read-only): New function. (Bug#6362)
12029
0a6b9622
AM
120302011-09-09 Alan Mackenzie <acm@muc.de>
12031
12032 * progmodes/cc-mode.el (awk-mode): Prevent `define-derived-mode'
12033 spuriously generating `awk-mode-syntax-table'. (Bug #9448).
12034
14a29deb
EZ
120352011-09-09 Eli Zaretskii <eliz@gnu.org>
12036
12037 Fix for Savannah bug#9392.
12038 * simple.el (mail-encode-mml): New defvar.
12039
12040 * mail/rmail.el (mail-encode-mml): Add a defvar.
12041 (rmail-enable-mime-composing): Default to t.
12042 (rmail-forward): Use MIME method of forwarding only if both
12043 rmail-enable-mime-composing and rmail-enable-mime are non-nil.
12044 Set mail-encode-mml non-nil if the MIME method was used.
12045
12046 * mail/sendmail.el (mml-to-mime): Add autoload form.
12047 (mail-encode-mml): Add a defvar.
12048 (mail-mode): Make mail-encode-mml buffer-local and initialize it
12049 to nil.
12050 (mail-send): If mail-encode-mml is non-nil, run the outgoing
12051 message through mml-to-mime, and reset mail-encode-mml to nil.
12052
28c45130
GM
120532011-09-09 Glenn Morris <rgm@gnu.org>
12054
12055 * woman.el (woman-if-body): When processing an .el block,
12056 do not delete the next .el block as well. (Bug#9447)
69f4b618 12057 (woman-special-characters): Add oq, cq, and hy characters.
28c45130 12058
9b1c252e
MR
120592011-09-08 Martin Rudalics <rudalics@gmx.at>
12060
12061 * window.el (window-deletable-p): Make sure window is live before
12062 invoking window-prev-buffers.
12063
567457e3
LL
120642011-09-08 Leo Liu <sdl.web@gmail.com>
12065
12066 * net/rcirc.el (rcirc-cmd-invite): New rcirc command. (Bug#9453)
12067
97f05794
JL
120682011-09-08 Juri Linkov <juri@jurta.org>
12069
12070 * progmodes/compile.el (compilation-environment): Make it
12071 a defcustom (bug#8340).
12072
8b0874b5
MR
120732011-09-08 Martin Rudalics <rudalics@gmx.at>
12074
12075 * window.el (frame-auto-delete): Rename to window-auto-delete.
12076 Make it control auto-deletion of windows and/or frames.
12077 (window-deletable-p): New argument FORCE. Rewrite conditions
5e617bc2 12078 for deleting window/frame. (Bug#9419)
8b0874b5
MR
12079 (switch-to-prev-buffer, replace-buffer-in-windows, quit-window):
12080 Rewrite handling of case when window/frame can be deleted.
12081 (delete-windows-on): Call window-deletable-p with new FORCE
5e617bc2 12082 argument t. (Bug#9456)
8b0874b5 12083
4feb6e73
CY
120842011-09-07 Chong Yidong <cyd@stupidchicken.com>
12085
12086 * help-mode.el (help-mode): Restore autoload.
12087
91ab9c13
JL
120882011-09-07 Juri Linkov <juri@jurta.org>
12089
12090 * progmodes/compile.el (compilation-start): Let-bind `thisenv' to
12091 `compilation-environment'. Set buffer-local
12092 `compilation-environment' to `thisenv' later after (funcall mode).
12093 (Bug#8340)
12094
12095 * vc/vc-git.el (vc-git-grep): Remove --no-color. (Bug#9408)
12096 (vc-git-grep): Prepend "PAGER=" to `compilation-environment'
12097 instead of replacing its value. (Bug#8340)
12098
0527e251
JL
120992011-09-07 Juri Linkov <juri@jurta.org>
12100
12101 * progmodes/grep.el (grep-regexp-alist): Calculate column positions
12102 based on text properties put by `grep-filter' instead of matching
12103 escape sequences.
12104 (grep-mode): Set buffer-local `compilation-error-screen-columns'
12105 to the value of `grep-error-screen-columns' (bug#9438).
12106
249f792c
JL
121072011-09-07 Juri Linkov <juri@jurta.org>
12108
12109 * simple.el (next-error-highlight, next-error-highlight-no-select):
12110 Doc fix (bug#9432).
12111
ff7271b9
OT
121122011-09-07 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
12113
12114 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
12115 Check for null c-opt-block-decls-with-vars-key. (Bug#9443)
12116
183fc730
LL
121172011-09-07 Leo Liu <sdl.web@gmail.com>
12118
12119 * net/rcirc.el (rcirc-mode): Conditionally initialize
12120 rcirc-input-ring.
12121
77694924
SM
121222011-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
12123
12124 * emacs-lisp/find-func.el (find-function-C-source): Only set
12125 find-function-C-source-directory after checking that we found a source
12126 file there (bug#9440).
12127
d809b8eb
AM
121282011-09-06 Alan Mackenzie <acm@muc.de>
12129
12130 * isearch.el (isearch-other-meta-char): Wherever a key list is
12131 unread, "unread" the prefix arg, too. This fixes bug #8901.
12132
453de99f
OG
121332011-09-05 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
12134
12135 * progmodes/grep.el (rgrep): Add "-type d" (bug#9414).
12136
90439906
JL
121372011-09-05 Juri Linkov <juri@jurta.org>
12138
12139 * progmodes/grep.el (grep-process-setup): Fix comments (bug#8084).
12140
f62bd846
JL
121412011-09-05 Juri Linkov <juri@jurta.org>
12142
12143 * progmodes/grep.el (grep-filter): Avoid incomplete processing by
12144 keeping point where processing of grep matches begins, and
12145 continue to delete remaining escape sequences from the same point.
12146 (grep-filter): Make leading zero optional in "0?1;31m" because
12147 git-grep emits "\033[1;31m" escape sequences unlike expected
12148 "\033[01;31m" as GNU Grep does (bug#9408).
12149 (grep-process-setup): Replace obsolete "ml=" with newer "sl=".
12150
045820ec
JL
121512011-09-05 Juri Linkov <juri@jurta.org>
12152
12153 * subr.el (y-or-n-p): Capitalize "yes".
12154
f5e29b9b
MA
121552011-09-04 Michael Albinus <michael.albinus@gmx.de>
12156
12157 * net/tramp.el (top): Require 'shell. Use `tramp-unload-hook' but
12158 `tramp-cache-unload-hook' where appropriate.
12159 (tramp-methods): Rename `tramp-remote-sh' to
12160 `tramp-remote-shell'. Add `tramp-remote-shell-args'.
12161 (tramp-handle-shell-command): New defun, moved from tramp-sh.el.
12162
12163 * net/tramp-sh.el (top): Don't require 'shell.
12164 (tramp-methods): Add `tramp-remote-shell' and
12165 `tramp-remote-shell-args' entries.
12166 (tramp-sh-file-name-handler-alist): Use `tramp-handle-shell-command'.
12167 (tramp-sh-handle-shell-command): Remove.
12168 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
12169 Use `tramp-remote-shell'.
12170
2784c434
CY
121712011-09-03 Chong Yidong <cyd@stupidchicken.com>
12172
393a301e 12173 * mail/sendmail.el (sendmail-query-once-function): Delete.
2784c434
CY
12174 (sendmail-query-once): Save directly to send-mail-function.
12175 Update message-send-mail-function too.
12176
12177 * mail/smtpmail.el (smtpmail-try-auth-methods): Clarify prompt.
12178
464cdf56
CS
121792011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
12180
12181 * progmodes/python.el (python-mode-map): Use correct function to
12182 start python interpreter from menu-bar (as reported by Geert
12183 Kloosterman).
12184 (inferior-python-mode-map): Fix typo.
393a301e 12185 (python-shell-map): Remove.
464cdf56 12186
d37e5c87
DD
121872011-09-03 Deniz Dogan <deniz@dogan.se>
12188
12189 * net/rcirc.el (rcirc-print): Simplify code for
12190 rcirc-scroll-show-maximum-output. There is no need to walk
12191 through all windows to find the right one.
12192
f3ada0ee
CS
121932011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
12194
12195 * help.el (help-return-method): Doc fix.
12196
1f3c99ca
MR
121972011-09-03 Martin Rudalics <rudalics@gmx.at>
12198
12199 * window.el (window-deletable-p): Don't return a non-nil value
12200 when there's a buffer that was shown in the window before.
12201 (Bug#9419)
393a301e
SM
12202 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
12203 Set window's previous buffers to nil.
1f3c99ca 12204
a3cf097f
EZ
122052011-09-03 Eli Zaretskii <eliz@gnu.org>
12206
12207 * mail/rmailmm.el (rmail-mime-insert-tagline): Insert an extra
12208 newline before and after the tag line, so it doesn't interfere
12209 with determining the paragraph direction of bidirectional text.
12210
3d03de90
LL
122112011-09-03 Leo Liu <sdl.web@gmail.com>
12212
12213 * files.el (find-file-not-true-dirname-list): Remove. (Bug#9422)
12214
c3313451
CY
122152011-09-02 Chong Yidong <cyd@stupidchicken.com>
12216
393a301e 12217 * window.el (pop-to-buffer-1, pop-to-buffer-same-window): Delete.
c3313451
CY
12218 (pop-to-buffer): Change interactive spec. Pass second argument
12219 directly to display-buffer.
12220 (display-buffer): Fix interactive spec. Use functionp to
12221 distinguish between a function and a list of functions.
12222
12223 * abbrev.el (edit-abbrevs):
12224 * arc-mode.el (archive-extract):
12225 * autoinsert.el (auto-insert):
12226 * bookmark.el (bookmark-bmenu-list):
12227 * files.el (find-file):
12228 * view.el (view-buffer):
12229 * progmodes/compile.el (compilation-goto-locus):
12230 * textmodes/bibtex.el (bibtex-initialize): Use switch-to-buffer.
12231
89894cd8
CY
122322011-09-02 Chong Yidong <cyd@stupidchicken.com>
12233
12234 * window.el (display-buffer-alist): Doc fix.
12235 (display-buffer): Add docstring. Don't treat
12236 display-buffer-default specially.
12237 (display-buffer-reuse-selected-window)
12238 (display-buffer-same-window, display-buffer-maybe-same-window)
12239 (display-buffer-reuse-window, display-buffer-pop-up-frame)
12240 (display-buffer-pop-up-window)
12241 (display-buffer-reuse-or-pop-window)
12242 (display-buffer-use-some-window): New functions.
12243 (display-buffer-default-action): Use them.
393a301e 12244 (display-buffer-default): Delete.
89894cd8
CY
12245 (pop-to-buffer-1): Fix choice of actions.
12246
ae0bc9fb
SM
122472011-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
12248
12249 * minibuffer.el (completion--insert-strings): Don't get confused by
12250 completion entries that end with an LF char.
12251
e9d90883
EZ
122522011-09-01 Eli Zaretskii <eliz@gnu.org>
12253
12254 * window.el (frame-auto-delete, window-deletable-p): Doc fix.
12255
437014c8
CY
122562011-09-01 Chong Yidong <cyd@stupidchicken.com>
12257
12258 * window.el (display-buffer): Restore interactive spec.
ae0bc9fb
SM
12259 (display-buffer-same-window, display-buffer-other-window):
12260 New functions.
437014c8
CY
12261 (pop-to-buffer-1): New function. Use the above.
12262 (pop-to-buffer, pop-to-buffer-same-window): Use it.
ae0bc9fb 12263 (pop-to-buffer-other-window, pop-to-buffer-other-frame): Delete.
437014c8
CY
12264
12265 * view.el (view-buffer-other-window, view-buffer-other-frame):
12266 Just use pop-to-buffer.
12267
a5e063d5
TV
122682011-09-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
12269
12270 * vc/vc-rcs.el (vc-rcs-responsible-p): Handle directories. (Bug#9391)
12271
793d32bb
WH
122722011-09-01 Wilfred Hughes <wilfred@potatolondon.com> (tiny change)
12273
12274 * vc/vc-git.el (vc-git-grep): Use --no-color. (Bug#9408)
12275
d65e4c15
RS
122762011-08-31 Richard Stallman <rms@gnu.org>
12277
12278 * mail/rmail.el (rmail-epa-decrypt): Rewrite to take account
12279 of the separation of rmail-view-buffer from rmail-buffer.
12280 If you say no to "replace original", the decrypt is in the
12281 view buffer. If you say yes, the decrypt goes into the
12282 rmail buffer also.
12283
f818cd2a
MR
122842011-08-31 Martin Rudalics <rudalics@gmx.at>
12285
12286 * window.el (display-buffer-window): Rewrite doc-string.
12287 (display-buffer-record-window): New function.
12288 (display-buffer-macro-specifiers)
12289 (display-buffer-even-window-sizes, display-buffer-set-height)
12290 (display-buffer-set-width, display-buffer-in-window)
12291 (display-buffer-reuse-window, display-buffer-split-specifiers)
12292 (display-buffer-side-specifiers, display-buffer-split-window-1)
12293 (display-buffer-split-window, display-buffer-split-atom-window)
12294 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
12295 (display-buffer-pop-up-side-window, display-buffer-in-side-window)
12296 (display-buffer-other-window-means-other-frame)
12297 (display-buffer-normalize-special)
12298 (display-buffer-normalize-default)
12299 (display-buffer-normalize-argument)
12300 (display-buffer-normalize-alist-1, display-buffer-normalize-alist)
12301 (display-buffer-normalize-specifiers, display-buffer-frame)
12302 (display-buffer-same-window, display-buffer-same-frame)
12303 (display-buffer-other-window)
12304 (display-buffer-same-frame-other-window)
12305 (display-buffer-other-frame, pop-to-buffer-same-window)
12306 (pop-to-buffer-same-frame, pop-to-buffer-other-window)
12307 (pop-to-buffer-same-frame-other-window, pop-to-buffer-other-frame)
12308 (switch-to-buffer-same-frame)
12309 (switch-to-buffer-other-window-same-frame)
12310 (display-buffer-alist-of-strings-p, display-buffer-alist-add)
12311 (display-buffer-alist-set-1, display-buffer-alist-set-2)
12312 (display-buffer-alist-set): Remove.
12313 (display-buffer-function, special-display-buffer-names)
ae0bc9fb
SM
12314 (special-display-regexps, special-display-function):
12315 In doc-string refer to display-buffer-window and quit-restore
f818cd2a
MR
12316 parameter.
12317 (pop-up-frame-alist, pop-up-frame-function, special-display-p)
12318 (special-display-frame-alist, special-display-popup-frame)
12319 (same-window-buffer-names, same-window-regexps, same-window-p)
12320 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
12321 (split-window-preferred-function, split-height-threshold)
12322 (split-width-threshold, window-splittable-p)
12323 (split-window-sensibly, window--try-to-split-window)
12324 (window--frame-usable-p, even-window-heights)
12325 (window--even-window-heights, window--display-buffer-1)
ae0bc9fb
SM
12326 (window--display-buffer-2, display-buffer-other-frame):
12327 Restore old Emacs 23 code, order and doc-strings where applicable.
f818cd2a
MR
12328 (display-buffer-default, display-buffer-assq-regexp): New functions.
12329 (display-buffer-alist): Rewrite doc-string.
12330 (display-buffer-default-action)
12331 (display-buffer-overriding-action): New variables.
12332 (display-buffer, switch-to-buffer): Rewrite.
12333 (pop-to-buffer): Restore Emacs 23 behavior but use
12334 window-normalize-buffer-to-display.
12335 (switch-to-buffer-other-window, switch-to-buffer-other-frame):
12336 Restore Emacs 23 behavior but use
12337 window-normalize-buffer-to-switch-to.
12338 (pop-to-buffer-same-window): Rewrite.
ae0bc9fb
SM
12339 (pop-to-buffer-other-window, pop-to-buffer-other-frame):
12340 Rewrite using Emacs 23 options.
f818cd2a 12341
5bc3b51d
MA
123422011-08-31 Michael Albinus <michael.albinus@gmx.de>
12343
12344 * net/tramp.el (tramp-root-regexp): Remove.
12345 (tramp-completion-file-name-regexp-unified)
12346 (tramp-completion-file-name-regexp-separate)
12347 (tramp-completion-file-name-regexp-url): Don't use leading volume
b46a6a83 12348 letter on w32 systems. (Bug#5303, Bug#9311)
ae0bc9fb
SM
12349 (tramp-drop-volume-letter): Simplify definition.
12350 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
5bc3b51d 12351
b1a4f8e1
SM
123522011-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
12353
12354 * subr.el (event-modifiers): Fix "missing modifier" part of docstring
12355 (bug#9356).
12356
5664fa7b
RT
123572011-08-30 Reuben Thomas <rrt@sc3d.org> (tiny change)
12358
b1a4f8e1 12359 * vc/pcvs-defs.el (cvs-find-file-and-jump): Docstring typo (bug#9369).
5664fa7b 12360
9a45d6c3
JL
123612011-08-29 Juri Linkov <juri@jurta.org>
12362
12363 * isearch.el (isearch-done): Don't display message "Mark saved"
12364 when arg `edit' is non-nil to prevent its flicker in the echo area.
12365
fb87e0fb
CY
123662011-08-28 Chong Yidong <cyd@stupidchicken.com>
12367
12368 * emacs-lisp/package.el (package-menu-mark-delete): Allow marking
12369 obsolete packages for deletion.
12370
09ac1c2a
CS
123712011-08-28 Christoph Scholtes <cschol2112@googlemail.com>
12372
12373 * help-mode.el (help-mode-map): Add special-mode-map to parent.
5e617bc2 12374 (help-mode): Derive help-mode from special-mode. Don't invoke
09ac1c2a
CS
12375 view-mode from help-mode.
12376 (help-xref-override-view-map): Remove.
12377 (help-make-xrefs): Remove minor-mode-overriding-map-alist since
12378 view-mode is not used anymore.
12379
7a1ff57f
CY
123802011-08-28 Chong Yidong <cyd@stupidchicken.com>
12381
12382 * server.el (server-port): Doc fix.
12383
b9696605
CY
12384 * cus-theme.el (custom-theme-choose-mode): Inherit from
12385 special-mode (Bug#9124).
12386 (custom-theme-choose-mode-map): Add special-mode to parent.
12387
ef8cdf8c
AM
123882011-08-28 Alan Mackenzie <acm@muc.de>
12389
12390 * progmodes/cc-fonts.el
12391 (c-make-font-lock-BO-decl-search-function): New function.
12392 (c-basic-matchers-after - "Fontify the clauses after various
12393 keywords"): Extract the three keyword lists for the 3 erroneous
12394 constructs from the list of four, and use the new function above
12395 in place of an old one.
12396
27de4e20
DD
123972011-08-28 Deniz Dogan <deniz@dogan.se>
12398
12399 * net/rcirc.el (rcirc-insert-prev-input)
12400 (rcirc-insert-next-input): Remove unused argument.
12401
356a3681
SM
124022011-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
12403
12404 * shell.el (shell-parse-pcomplete-arguments): Unquote args (bug#9160).
12405
3fc9b218
AM
124062011-08-27 Alan Mackenzie <acm@muc.de>
12407
12408 * progmodes/cc-menus.el (cc-imenu-c++-generic-expression): Make it
12409 handle function pointer parameters properly.
12410
538a061c
MR
124112011-08-27 Martin Rudalics <rudalics@gmx.at>
12412
12413 * window.el (display-buffer-reuse-window): Fix case where
12414 selected window was reused with non-nil OTHER-WINDOW argument.
12415 (Bug#9381)
12416
35b1c40c
DD
124172011-08-27 Deniz Dogan <deniz@dogan.se>
12418
12419 * net/rcirc.el (rcirc-check-auth-status): Adding support for
12420 oftc's NickServ messages.
12421
2f6a3e79
GM
124222011-08-27 Glenn Morris <rgm@gnu.org>
12423
12424 * saveplace.el (save-place-limit): Make it finite. (Bug#9352)
12425
7254299e
CY
124262011-08-26 Chong Yidong <cyd@stupidchicken.com>
12427
12428 * emacs-lisp/package.el (package-install): Call package-initialize
12429 if called interactively.
12430
f8ccf167
LL
124312011-08-26 Leo Liu <sdl.web@gmail.com>
12432
12433 * emacs-lisp/cl-macs.el (defstruct): Fix format. (Bug#9357)
12434
3e8cd5ce
JL
124352011-08-25 Juri Linkov <juri@jurta.org>
12436
12437 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
12438 `search-whitespace-regexp' (bug#9364).
12439
93eb7113
JL
124402011-08-25 Juri Linkov <juri@jurta.org>
12441
12442 * isearch.el (isearch-edit-string): Let-bind `search-ring' and
12443 `regexp-search-ring' to their global values to protect from
12444 updating by `read-from-minibuffer' (bug#9185).
12445
f65d1611
JL
124462011-08-25 Juri Linkov <juri@jurta.org>
12447
12448 * textmodes/ispell.el (ispell-command-loop): Add newline
12449 at the end of the "Use option `i'..." line.
12450
f1cf7a31
JL
124512011-08-25 Juri Linkov <juri@jurta.org>
12452
12453 * battery.el (display-battery-mode): If `battery-status-function'
12454 or `battery-mode-line-format' is nil, display the message and set
12455 `display-battery-mode' to nil (bug#9363).
12456
0c95fcf7
EZ
124572011-08-25 Eli Zaretskii <eliz@gnu.org>
12458
12459 * buff-menu.el (Buffer-menu-buffer+size): Remove calls to
12460 bidi-string-mark-left-to-right; they are unnecessary now.
12461
a2ebe600
DD
124622011-08-25 Deniz Dogan <deniz@dogan.se>
12463
12464 * net/quickurl.el: Documentation typo fixes.
12465
e4ed06f1
CY
124662011-08-25 Chong Yidong <cyd@stupidchicken.com>
12467
12468 * window.el (bury-buffer, quit-window): Use bury-buffer-internal.
12469
e5f1c99e
GM
124702011-08-25 Glenn Morris <rgm@gnu.org>
12471
b2948976
GM
12472 * emacs-lisp/derived.el (define-derived-mode): Doc fix.
12473
e5f1c99e
GM
12474 * mail/smtpmail.el (smtpmail-smtp-user): Add version: tag.
12475 (smtpmail-via-smtp): Handle nil response from smtp.
12476
f22f4808
JL
124772011-08-24 Juri Linkov <juri@jurta.org>
12478
12479 * proced.el (proced-marked): Inherit from `error' instead of
12480 `font-lock-warning-face'.
12481
12482 * ibuffer.el (ibuffer-marked-face): Change default face from
12483 `font-lock-warning-face' to `warning'.
12484 (ibuffer-deletion-face): Change default face from
12485 `font-lock-type-face' to `error'.
12486
12487 * battery.el (battery-update): Use the face `error' instead of
12488 `font-lock-warning-face' (bug#6117).
12489
6a93965e
JL
124902011-08-24 Juri Linkov <juri@jurta.org>
12491
12492 * faces.el (success): Change face color from "Green3" to
12493 "ForestGreen" on light background (bug#9353).
12494
1ed43b09
CY
124952011-08-24 Chong Yidong <cyd@stupidchicken.com>
12496
5664fa7b
RT
12497 * window.el (quit-window): Rename from quit-restore-window.
12498 Use same arglist as old quit-window.
1ed43b09
CY
12499 (frame-auto-delete): Doc fix.
12500
12501 * view.el (view-mode-exit): Use quit-window.
12502
11dcdbb2
JL
125032011-08-24 Juri Linkov <juri@jurta.org>
12504
12505 * isearch.el (isearch-ring-adjust1): Start visiting previous
12506 search strings from the index 0 (-1 + 1) instead of 1 (0 + 1).
12507 (isearch-repeat, isearch-edit-string): Call `isearch-ring-adjust1'
12508 for empty search string (when the last search string is reused
12509 automatically) to adjust the isearch ring to the last element and
12510 prepare the correct index for further M-p commands (bug#9185).
12511
de62b4df
KH
125122011-08-24 Kenichi Handa <handa@m17n.org>
12513
12514 * international/ucs-normalize.el: If decomposition property of
12515 CHAR is the default one (i.e. a list of CHAR itself), treat it as
12516 nil.
12517 (nfd, nfkd): Likewise.
12518
963b492b
SM
125192011-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
12520
12521 * mpc.el (mpc--proc-filter): Don't signal mpc-proc-error since signals
12522 from process filters aren't reliably transmitted to the surrounding
12523 accept-process-output.
12524 (mpc-proc-check): New function.
12525 (mpc-proc-sync): Use it (bug#8293)
12526
93b6b5e1
SM
125272011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
12528
12529 * emacs-lisp/eieio.el (eieio-defmethod, eieio-defgeneric):
12530 Add compatibility functions (bug#9313).
12531
bca633fb
EZ
125322011-08-23 Eli Zaretskii <eliz@gnu.org>
12533
b177498a
EZ
12534 * cus-start.el (all): Add entry for bidi-paragraph-direction.
12535
6df6ae42 12536 * international/uni-bidi.el: Regenerate.
bca633fb 12537
0902a04e
KH
125382011-08-23 Kenichi Handa <handa@m17n.org>
12539
12540 * international/charprop.el:
12541 * international/uni-bidi.el:
12542 * international/uni-category.el:
12543 * international/uni-combining.el:
12544 * international/uni-comment.el:
12545 * international/uni-decimal.el:
12546 * international/uni-decomposition.el:
12547 * international/uni-digit.el:
12548 * international/uni-lowercase.el:
12549 * international/uni-mirrored.el:
12550 * international/uni-name.el:
12551 * international/uni-numeric.el:
12552 * international/uni-old-name.el:
12553 * international/uni-titlecase.el:
12554 * international/uni-uppercase.el: Regenerate.
12555
3bbf23bc
MR
125562011-08-23 Martin Rudalics <rudalics@gmx.at>
12557
12558 * help.el (help-window-setup): Fix message displayed when other
12559 window is reused. (Bug#9341)
12560
b3fd59bd
SM
125612011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
12562
1802e444
SM
12563 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list.
12564 * pcomplete.el (pcomplete-quote-argument): Fix thinko (bug#9161).
12565
b3fd59bd
SM
12566 * pcomplete.el (pcomplete-parse-comint-arguments): Fix inf-loop.
12567 Mark obsolete.
12568 * shell.el (shell-parse-pcomplete-arguments): New function.
12569 (shell-completion-vars): Use it instead (bug#9160).
12570
4eb61348
SM
125712011-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
12572
867cab74
SM
12573 * progmodes/sh-script.el (sh-maybe-here-document): Disable magic in
12574 strings and comments (bug#9333).
12575
4eb61348
SM
12576 * emacs-lisp/debug.el (debug-arglist): New function.
12577 (debug-convert-byte-code): Use it. Handle lexical byte-codes.
12578 (debug-on-entry-1): Handle interpreted closures (bug#9120).
12579
262a1439
JL
125802011-08-22 Juri Linkov <juri@jurta.org>
12581
56ee679c
JL
12582 * progmodes/compile.el (compilation-mode-font-lock-keywords):
12583 Revert regexp that highlights output switches to its old
12584 pre-2010-10-28 value and remove one `?' from it (bug#9319).
12585
262a1439
JL
12586 * progmodes/grep.el (grep-process-setup): Use `buffer-modified-p'
12587 to check for empty output (bug#9226).
12588
f13f86fb
CY
125892011-08-22 Chong Yidong <cyd@stupidchicken.com>
12590
12591 * progmodes/scheme.el (scheme-mode-syntax-table): Don't use
12592 symbol-constituent as the default, as that stops font-lock from
12593 working properly (Bug#8843).
12594
c65c9622
LMI
125952011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
12596
12597 * mail/smtpmail.el (smtpmail-via-smtp): Only bind
12598 `coding-system-for-*' around the process open call to avoid
12599 auth-source side effects.
e7f2c178 12600 (smtpmail-try-auth-methods): Expand the secret password.
7185da52
LMI
12601 (smtpmail-query-smtp-server): Allow `quit'-ing out in case the
12602 probe hangs.
c65c9622 12603
23a8a5ab
CY
126042011-08-21 Chong Yidong <cyd@stupidchicken.com>
12605
ff98b2dd
CY
12606 * term.el (term-mouse-paste): Yank primary selection (Bug#6845).
12607
23a8a5ab
CY
12608 * emacs-lisp/find-func.el (find-function-noselect): New arg
12609 lisp-only.
12610
12611 * emacs-lisp/edebug.el (edebug-instrument-function): Use it to
12612 signal an error for built-in functions (Bug#6664).
12613
f5e3c598
LMI
126142011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
12615
12616 * mail/smtpmail.el (smtpmail-smtp-user): New variable.
12617 (smtpmail-try-auth-methods): Use it.
12618
a3f2468a
CY
126192011-08-21 Chong Yidong <cyd@stupidchicken.com>
12620
2c34e8da
CY
12621 * font-lock.el (font-lock-fontify-region)
12622 (font-lock-unfontify-region, font-lock-default-fontify-buffer)
12623 (font-lock-default-unfontify-buffer)
12624 (font-lock-default-fontify-region)
12625 (font-lock-default-unfontify-region): Add docstrings (Bug#8624).
12626
b3fd59bd
SM
12627 * progmodes/compile.el (compilation-error-properties):
12628 Fix confusion between file struct and message struct (Bug#9319).
02e5c89e
CY
12629 (compilation-error-regexp-alist-alist): Fix 2011-05-09 change to
12630 `ant' regexp.
ee31aabc 12631
a3f2468a
CY
12632 * net/browse-url.el (browse-url-firefox): Don't call
12633 browse-url-firefox-sentinel unless using -remote (Bug#9328).
12634
8e999f70
GM
126352011-08-20 Glenn Morris <rgm@gnu.org>
12636
c21a496a
GM
12637 * tutorial.el (help-with-tutorial): Avoid an error on short screens.
12638
59ee0542
GM
12639 * tutorial.el (tutorial--default-keys): Update some default bindings.
12640
8e999f70
GM
12641 * files.el (hack-local-variables): Fully ignore case for "mode:".
12642
e3715033
AM
126432011-08-20 Alan Mackenzie <acm@muc.de>
12644
12645 Resolve invalid use of a regexp in regexp-opt.
12646
4d61f28d
JB
12647 * progmodes/cc-fonts.el (c-complex-decl-matchers): Add in special
12648 detection for a java annotation.
e3715033 12649
4d61f28d 12650 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Add in special
e3715033
AM
12651 detection for a java annotation.
12652
4d61f28d
JB
12653 * progmodes/cc-langs.el (c-prefix-spec-kwds-re): Remove the special
12654 handling for java.
e3715033
AM
12655 (c-modifier-kwds): Remove the regexp "@[A-za-z0-9]+".
12656
04ed2e9c
CY
126572011-08-20 Chong Yidong <cyd@stupidchicken.com>
12658
12659 * startup.el (normal-top-level-add-subdirs-to-load-path): Doc fix
12660 (Bug#9274).
12661
826cee64
AM
126622011-08-20 Alan Mackenzie <acm@muc.de>
12663
58179cce 12664 Fontify CPP expressions correctly when starting in the middle of
826cee64
AM
12665 such a construct. Mainly for when jit-lock etc. starts a chunk
12666 here.
12667
58179cce 12668 * progmodes/cc-fonts.el (c-font-lock-context): New buffer local
826cee64 12669 variable.
58179cce 12670 (c-make-font-lock-search-form): New function, extracted from
826cee64
AM
12671 c-make-font-lock-search-function.
12672 (c-make-font-lock-search-function): Use the above function.
12673 (c-make-font-lock-context-search-function): New function.
12674 (c-cpp-matchers): Enhance the preprocessor expression case with
12675 the above function
12676 (c-font-lock-complex-decl-prepare): Test for being in a CPP form
12677 which takes an expression.
12678
12679 * progmodes/cc-langs.el (c-cpp-expr-intro-re): New lang-variable.
12680
13009bd8
MR
126812011-08-20 Martin Rudalics <rudalics@gmx.at>
12682
12683 * window.el (display-buffer-reuse-window)
12684 (display-buffer-pop-up-window): Don't reuse or split a side
12685 window.
12686
9234ff7f
GM
126872011-08-19 Glenn Morris <rgm@gnu.org>
12688
12689 * files.el (hack-local-variables-prop-line, hack-local-variables):
5e617bc2 12690 Downcase "Mode:". (Bug#9331)
9234ff7f 12691
f635daa1
CY
126922011-08-18 Chong Yidong <cyd@stupidchicken.com>
12693
12694 * international/characters.el: Add L and R categories.
12695
12696 * subr.el (bidi-string-mark-left-to-right): Rename from
12697 string-mark-left-to-right. Use category search.
12698
12699 * buff-menu.el (Buffer-menu-buffer+size): Callers changed.
12700
bc987f8b
JL
127012011-08-18 Juri Linkov <juri@jurta.org>
12702
12703 * faces.el (error, warning, success): New faces with definitions
12704 copied from old default values of `font-lock-warning-face',
12705 `compilation-warning', `compilation-info' (bug#6117).
12706
12707 * font-lock.el (font-lock-warning-face): Inherit from `error'.
12708
12709 * progmodes/compile.el (compilation-error): Inherit from `error'.
12710 (compilation-warning): Inherit from `warning'.
12711 (compilation-info): Inherit from `success'.
12712
12713 * dired.el (dired-marked): Inherit from `warning'.
12714 (dired-flagged): Inherit from `error'.
12715
57173b96
LMI
127162011-08-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
12717
3e79eb87
LMI
12718 * mail/smtpmail.el (auth-source): Require to avoid problems with
12719 binding variables (bug#9298). Also clean up some unused
12720 autoloads.
12721
b3fd59bd
SM
12722 * net/network-stream.el (network-stream-open-starttls):
12723 Support using starttls.el without using gnutls-cli.
57173b96 12724
02b404de
JL
127252011-08-17 Juri Linkov <juri@jurta.org>
12726
12727 * progmodes/grep.el (rgrep): Handle the case when
12728 `grep-find-command' is a cons cell (bug#9278).
12729
8c9177f2
MR
127302011-08-17 Martin Rudalics <rudalics@gmx.at>
12731
12732 * window.el (display-buffer-pop-up-frame): Run frame creation
12733 function with BUFFER current (as special-display-popup-frame
12734 does). Reported by Drew Adams.
12735
3644a0ab
DU
127362011-08-17 Daiki Ueno <ueno@unixuser.org>
12737
12738 * epa-mail.el: Simplify GnuPG group expansion using
12739 epg-expand-group.
12740 (epa-mail-group-alist, epa-mail-group-modtime)
12741 (epa-mail-gnupg-conf-file, epa-mail-parse-groups)
12742 (epa-mail-sync-groups, epa-mail-expand-recipient-1)
12743 (epa-mail-expand-recipients-2, epa-mail-expand-recipients):
12744 Remove.
12745
5e617bc2 127462011-08-16 Feng Li <fengli@gmail.com> (tiny change)
7c643369
FL
12747
12748 * calc/calc-ext.el (math-defintegral-2): Remove nested backquote.
12749
9c4aeabf
AM
127502011-08-16 Alan Mackenzie <acm@muc.de>
12751
12752 * progmodes/cc-engine.el (c-state-cache-non-literal-place):
12753 Correct, to avoid the inside of macros.
12754
3a99bf64
RS
127552011-08-16 Richard Stallman <rms@gnu.org>
12756
04963aa8
RS
12757 * epa-mail.el: Handle GnuPG group definitions.
12758 (epa-mail-group-alist, epa-mail-group-modtime)
12759 (epa-mail-gnupg-conf-file): New variables.
12760 (epa-mail-parse-groups, epa-mail-sync-groups)
12761 (epa-mail-expand-recipient-1, epa-mail-expand-recipients-2)
12762 (epa-mail-expand-recipients): New functions.
12763 (epa-mail-encrypt): Call epa-mail-expand-recipients.
12764
177549d0
RS
12765 * mail/rmail.el (rmail-epa-decrypt): New command.
12766
fe38beef
RS
12767 * epa.el (epa-decrypt-region): New arg MAKE-BUFFER-FUNCTION.
12768 Don't bind buffer-read-only, just inhibit-read-only.
3a99bf64
RS
12769 (epa--find-coding-system-for-mime-charset): Fix the non-xemacs case.
12770 (epa-decrypt-armor-in-region): Make error message clearer.
12771
934eacb9
SM
127722011-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
12773
12774 * minibuffer.el (completion-pcm--merge-completions): Don't merge "a1b"
12775 and "a2b" to "ab" for `prefix'.
12776
d024fb4e
CY
127772011-08-14 Chong Yidong <cyd@stupidchicken.com>
12778
12779 * ibuf-ext.el (ibuffer-filter-disable): New arg for deleting
12780 filter groups.
de148fee
CY
12781 (ibuffer-included-in-filter-p-1): Use it. Suggested by Rafaël
12782 Fourquet (Bug#8804).
d024fb4e 12783
62f1ca49
JB
127842011-08-12 Juanma Barranquero <lekktu@gmail.com>
12785
12786 * startup.el (argi): Declare as global variable (bug#9275).
12787
9ccaaa4b
CY
127882011-08-12 Chong Yidong <cyd@stupidchicken.com>
12789
12790 * subr.el (string-mark-left-to-right): Search the entire string
12791 for RTL script, not just the terminating character. Doc fix.
12792
a3dae87a
SM
127932011-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
12794
6cd18349
SM
12795 * progmodes/js.el (js-syntax-propertize, js-syntax-propertize-regexp):
12796 New function.
12797 (js--regexp-literal, js-syntax-propertize-function): Remove.
12798 (js-mode): Use js-syntax-propertize to handle multilines (bug#9183).
12799 (js-mode-map): Don't rebind electric keys.
12800 (js-insert-and-indent): Remove.
12801 (js-mode): Setup electric-layout and electric-indent instead.
12802
a3dae87a
SM
12803 * epa-file.el (epa-file-select-keys): Revert to nil default (bug#9280).
12804
9d5cb631
DU
128052011-08-12 Daiki Ueno <ueno@unixuser.org>
12806
12807 * epa.el (epa-progress-callback-function): Fix the logic of
12808 displaying progress.
12809 * epa-file.el (epa-file-insert-file-contents): Make progress
12810 display more user-friendly.
12811 (epa-file-write-region): Ditto.
12812
3e26a4a2
CY
128132011-08-10 Chong Yidong <cyd@stupidchicken.com>
12814
12815 * subr.el (string-mark-left-to-right): New function.
12816
12817 * buff-menu.el (Buffer-menu-buffer+size): Remove LRM argument.
12818 Use string-mark-left-to-right.
12819 (list-buffers-noselect): Caller changed.
12820
a3dae87a
SM
12821 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
12822 Use string-mark-left-to-right.
3e26a4a2
CY
12823 (tabulated-list-print): Recenter after moving point.
12824
ac8cf6e6
JL
128252011-08-10 Juri Linkov <juri@jurta.org>
12826
12827 * progmodes/grep.el (rgrep): Don't bind `process-connection-type'.
12828 This finishes incomplete reversion of 2011-06-30T01:09:13Z!larsi@gnus.org
12829 intended by 2011-07-06T15:49:19Z!larsi@gnus.org.
12830
8d96c9a4
CY
128312011-08-09 Chong Yidong <cyd@stupidchicken.com>
12832
12833 * hi-lock.el (hi-lock-unface-buffer): Fix interactive spec
12834 (Bug#7554).
12835
7be1c708 128362011-08-09 Andreas Schwab <schwab@linux-m68k.org>
29bbcfa7
AS
12837
12838 * xt-mouse.el (xterm-mouse-event-read): Try to recover the raw
12839 character. (Bug#6594)
12840
37e11a63
CY
128412011-08-08 Chong Yidong <cyd@stupidchicken.com>
12842
839dde57
CY
12843 * image-dired.el: Don't use find-file for temporary work (Bug#7895).
12844 (image-dired--with-db-file): New macro.
12845 (image-dired-write-tags, image-dired-remove-tag)
12846 (image-dired-create-gallery-lists, image-dired-write-comments)
12847 (image-dired-get-comment, image-dired-mark-tagged-files)
12848 (image-dired-list-tags, image-dired-gallery-generate): Use it.
12849 (image-dired-gallery-generate): Use insert-file-contents.
12850
37e11a63
CY
12851 * time.el (display-time-world-list, display-time-world-display):
12852 * time-stamp.el (time-stamp-string):
12853 * vc/add-log.el (add-change-log-entry): Use setenv instead of
12854 set-time-zone-rule (Bug#7337).
12855
0b4946c4
DU
128562011-08-08 Daiki Ueno <ueno@unixuser.org>
12857
12858 * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED): Fix typo.
12859 (epg-error-to-string, epg-errors-to-string): New function.
12860 (epg-wait-for-completion): Reverse errors list.
12861 (epg--check-error-for-decrypt, epg-sign-file, epg-sign-string)
12862 (epg-encrypt-file, epg-encrypt-string, epg-export-keys-to-file)
12863 (epg--import-keys-1, epg-receive-keys, epg-delete-keys)
12864 (epg-sign-keys, epg-generate-key-from-file)
12865 (epg-generate-key-from-string): Format errors by using
12866 epg-errors-to-string (bug#9255).
12867 (epg--status-INV_SGNR, epg--status-NO_SGNR): New status handler.
12868
75bfc667
JL
128692011-08-07 Juri Linkov <juri@jurta.org>
12870
12871 * faces.el (list-faces-display): Remove extra angle bracket
12872 from `help-mode-map'.
12873
12874 * info.el (Info-history-toc-nodes): Doc fix.
12875
12876 * longlines.el (longlines-mode): Doc fix.
12877
673e08bb
SM
128782011-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
12879
4640dd88
SM
12880 * progmodes/js.el (js--regexp-literal): Accept regexps at the beginning
12881 of statements and in a few more cases (bug#9183).
12882
673e08bb
SM
12883 * emacs-lisp/cl-macs.el (cl--make-usage-var, cl--make-usage-args):
12884 New functions.
12885 (cl-transform-lambda): Use them (bug#9239).
12886
89b3f019
MR
128872011-08-05 Martin Rudalics <rudalics@gmx.at>
12888
12889 * window.el (display-buffer-same-window)
12890 (display-buffer-same-frame, display-buffer-other-window)
12891 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
12892 (pop-to-buffer-other-window)
12893 (pop-to-buffer-same-frame-other-window)
12894 (pop-to-buffer-other-frame): Make them defuns.
12895 (switch-to-buffer): Don't set LABEL argument of pop-to-buffer.
12896
640c8776
SM
128972011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
12898
12899 * subr.el (make-composed-keymap): Move from C. Change calling
12900 convention, and improve docstring to bring attention to a subtle point.
12901 * minibuffer.el (completing-read-default): Adjust accordingly.
12902
63648a95
MA
129032011-08-03 Michael Albinus <michael.albinus@gmx.de>
12904
12905 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
12906 (tramp-open-shell): Use `tramp-shell-quote-argument'.
12907
12908 * net/trampver.el: Update release number.
12909
b796c9b7
SM
129102011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
12911
12912 * progmodes/sh-script.el (sh-font-lock-paren): Don't mistake "main" for
12913 "in" (bug#9190).
12914
2239d7d5
LMI
129152011-08-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
12916
e07dd7c3
LMI
12917 * mail/sendmail.el (sendmail-query-once): Restore the current
12918 buffer after querying (bug#9074).
12919
0e6a2bd7
LMI
12920 * dired.el (dired-flagged): Use different faces for marked and
12921 flagged files (bug#6117).
12922
ce887515
LMI
12923 * emacs-lisp/cl-macs.el (dolist): Mention that there's a nil block
12924 (bug#4433).
12925
92f2affc
LMI
12926 * ido.el (ido-mode): Switch off the message if called
12927 non-interactively.
12928
57d5aff0
LMI
12929 * mail/smtpmail.el (smtpmail-query-smtp-server): Try port 25
12930 before 587, since it appears that that's more likely to work for
12931 more people.
12932
98cd6c18 12933 * cus-edit.el (custom-file): When running under emacs -q, always
e1dbe924 12934 refuse to save the customizations, even if the .emacs file doesn't
98cd6c18
LMI
12935 exist.
12936
b96dec83
LMI
12937 * info.el: Remove the `Info-beginning-of-buffer' function
12938 (bug#8325).
12939
b796c9b7
SM
12940 * net/network-stream.el (network-stream-open-starttls):
12941 Use `starttls-available-p' to see whether starttls.el can be used.
2239d7d5 12942
d90e2ea0
MR
129432011-08-01 Martin Rudalics <rudalics@gmx.at>
12944
12945 * window.el (display-buffer-in-window): Don't set dedicated status
12946 of window here (Bug#9215).
12947 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
12948 (display-buffer-pop-up-side-window)
b796c9b7 12949 (display-buffer-in-side-window): Set dedicated status of window here.
d90e2ea0 12950
cca09170
SM
129512011-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
12952
12953 * emacs-lisp/package.el (package-generate-autoloads): Load autoloads
12954 before binding generated-autoload-file.
12955
027b979c
DD
129562011-08-01 Deniz Dogan <deniz@dogan.se>
12957
12958 * net/rcirc.el (rcirc-handler-333): Clarify docstring.
12959
3c7ee4f3
MA
129602011-07-30 Michael Albinus <michael.albinus@gmx.de>
12961
12962 Sync with Tramp 2.2.2.
12963
12964 * net/trampver.el: Update release number.
12965
2cc8e51a
JL
129662011-07-30 Juri Linkov <juri@jurta.org>
12967
12968 * dired-aux.el (dired-touch-initial): Remove function.
12969 (dired-do-chxxx): For op-symbol `touch', set `initial' to the
12970 current time, and `default' to the last modification time of the
12971 current marked file (bug#6887).
12972
a514d856
JM
129732011-07-28 Jose E. Marchesi <jemarch@gnu.org>
12974
12975 * simple.el (goto-line): Use string-to-number to provide a
2cc8e51a 12976 numeric argument to read-number (bug#9163).
a514d856 12977
8a7eddd7
MA
129782011-07-27 Michael Albinus <michael.albinus@gmx.de>
12979
12980 * net/tramp-sh.el (tramp-maybe-send-script): Don't let-bind the
12981 connection process, it could be nil.
12982
1ddd96f5
LL
129832011-07-27 Leo Liu <sdl.web@gmail.com>
12984
12985 Simplify url handling in rcirc-mode.
12986
12987 * net/rcirc.el (rcirc-browse-url-map, rcirc-browse-url-at-point)
12988 (rcirc-browse-url-at-mouse): Remove.
12989 * net/rcirc.el (rcirc-markup-urls): Use `make-button'.
12990
b248a85d
AM
129912011-07-26 Alan Mackenzie <acm@muc.de>
12992
12993 Fontify bitfield declarations properly.
12994
12995 * progmodes/cc-langs.el (c-has-bitfields): New lang variable.
12996 (c-symbol-chars): Now exported as a lang variable.
12997 (c-not-primitive-type-keywords): New lang variable.
12998
12999 * progmodes/cc-fonts.el (c-font-lock-declarations): Jump over the
13000 QT keyword "more" to prevent "more slots: ...." being spuriously
58179cce 13001 parsed as a bitfield declaration.
b248a85d 13002
b796c9b7
SM
13003 * progmodes/cc-engine.el (c-beginning-of-statement-1):
13004 Refactor and enhance to handle bitfield declarations.
b248a85d
AM
13005 (c-punctuation-in): New function.
13006 (c-forward-decl-or-cast-1): Enhance CASE 3 to handle bitfield
13007 declarations properly.
13008
68575ab0
UJ
130092011-07-26 Ulf Jasper <ulf.jasper@web.de>
13010
13011 * calendar/icalendar.el (icalendar--all-events): Take care of
13012 multiple vcalendars in a single file.
b796c9b7 13013 (icalendar--convert-float-to-ical): Checkdoc fixes.
68575ab0 13014
0f0a88b9
DD
130152011-07-25 Deniz Dogan <deniz@dogan.se>
13016
13017 * image.el (insert-image): Clarifying docstring.
13018
0b3f36df
MA
130192011-07-24 Michael Albinus <michael.albinus@gmx.de>
13020
13021 * net/tramp-sh.el (tramp-barf-unless-okay): Return the value of
13022 `tramp-send-command-and-check' if there is no error.
13023 (tramp-send-command-and-read): Suppress *all* errors if NOERROR.
13024
a9901f61
AM
130252011-07-22 Alan Mackenzie <acm@muc.de>
13026
13027 Prevent cc-langs.elc being loaded at run time.
13028
13029 * progmodes/cc-mode.el: Remove two autoload forms which loaded
13030 cc-langs.
13031
4d61f28d 13032 * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Don't emit
a9901f61
AM
13033 "(require 'cc-langs)". Quote a form so it will evaluate at
13034 (cc-mode's) compilation time.
13035
11d074b2
MA
130362011-07-22 Michael Albinus <michael.albinus@gmx.de>
13037
13038 * net/tramp.el (tramp-file-name-handler): Avoid recursive
13039 loading. (Bug#9114)
13040
938b94c8
MR
130412011-07-21 Martin Rudalics <rudalics@gmx.at>
13042
13043 * window.el (display-buffer-pop-up-window)
13044 (display-buffer-pop-up-side-window)
13045 (display-buffer-in-side-window): Call display-buffer-set-height
13046 and display-buffer-set-width after setting the new window's
b796c9b7 13047 buffer so `fit-window-to-buffer' and friends work on the right buffer.
938b94c8 13048
bfa4f190
SS
130492011-07-20 Sam Steingold <sds@gnu.org>
13050
13051 * progmodes/etags.el (etags-file-of-tag, etags-tags-table-files)
13052 (etags-tags-included-tables): Call `convert-standard-filename' on
13053 the file names contained in TAGS so that windows Emacs can handle
13054 TAGS files created by cygwin ctags.
13055
8ca42262
LMI
130562011-07-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
13057
13058 * proced.el (proced-update): Revert yesterday's bug#1779 patch,
13059 which apparently didn't work.
13060
5db2afd2 130612011-07-19 Roland Winkler <winkler@gnu.org>
2ecab2b5 13062
5db2afd2
RW
13063 * proced.el (proced-send-signal): For *Marked Processes* buffer
13064 put point at beginning of buffer.
13065
92e15d10
SB
130662011-07-19 Stephen Berman <stephen.berman@gmx.net>
13067
13068 * proced.el (proced-format): Make header lines align with the text
13069 (bug#1779).
13070
1bfd59e5
LMI
130712011-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
13072
13073 * view.el (view-buffer): Allow running in `special' modes if we're
13074 visiting a file (bug#8615).
13075
f5aae37c
MR
130762011-07-19 Martin Rudalics <rudalics@gmx.at>
13077
13078 * window.el (display-buffer-alist-of-strings-p)
b796c9b7
SM
13079 (display-buffer-alist-set-1, display-buffer-alist-set-2):
13080 New functions.
f5aae37c
MR
13081 (display-buffer-alist-set): Rewrite to handle Emacs 23 options
13082 more accurately.
13083
bf2c1571
AM
130842011-07-18 Alan Mackenzie <acm@muc.de>
13085
13086 Fontify declarators properly when, e.g., a jit-lock chunk begins
13087 inside a declaration.
13088
13089 * progmodes/cc-langs.el (c-symbol-chars): Correct a typo.
13090
b796c9b7
SM
13091 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
13092 New function.
bf2c1571
AM
13093 (c-complex-decl-matchers): Insert reference to
13094 c-font-lock-enclosing-decls.
13095
13096 * progmodes/cc-engine.el (c-backward-single-comment):
13097 (c-backward-comments): Bind open-paren-in-column-0-is-defun-start
13098 to nil around calls to (forward-comment -1).
13099
4e190b80
LMI
131002011-07-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
13101
12dc863d
LMI
13102 * image.el (put-image): Doc typo fix.
13103
a762e966
LMI
13104 * progmodes/etags.el (tags-search): Doc typo fix.
13105
4e190b80
LMI
13106 * mail/smtpmail.el (smtpmail-via-smtp): Query the user for
13107 password if we get errors 550 to 554.
13108
f019fb21
LMI
131092011-07-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
13110
b796c9b7 13111 * net/gnutls.el (gnutls-log-level): Remove.
750c33f7 13112
81746738
LMI
13113 * textmodes/fill.el (adaptive-fill-regexp): Include EN DASH as an
13114 indentation character (bug#6380).
13115
3ee3a1b5
LMI
13116 * files.el (buffer-offer-save): Made permanently local (bug#6241).
13117
c82f64de
LMI
13118 * doc-view.el (doc-view-make-safe-dir): Rewrite the error message
13119 to clarify what the problem is (bug#4291).
13120
f019fb21
LMI
13121 * simple.el (current-kill): Clarify what
13122 `interprogram-paste-function' does (bug#7500).
ca425c7c
LMI
13123 (auto-fill-mode): Document `auto-fill-function' in relation to
13124 `auto-fill-mode' (bug#2470).
f019fb21 13125
0794775d
LM
131262011-07-16 Lawrence Mitchell <wence@gmx.li>
13127
13128 * emacs-lisp/cl-macs.el (defstruct): Ignore argument to setf
13129 method if slot is read-only (bug#9035).
13130
be39b8cc
MR
131312011-07-16 Martin Rudalics <rudalics@gmx.at>
13132
b796c9b7 13133 * frame.el (select-frame-set-input-focus): New argument NORECORD.
be39b8cc 13134 * window.el (pop-to-buffer): Select window used even if it was
b796c9b7
SM
13135 selected before, see discussion of (Bug#8615), (Bug#6954).
13136 Pass argument NORECORD on to select-frame-set-input-focus.
be39b8cc 13137
6ccf7859
GM
131382011-07-15 Glenn Morris <rgm@gnu.org>
13139
13140 * subr.el (read-char-choice): Allow quitting. (Bug#9001)
03ea5b87 13141 Respect help-form.
6ccf7859 13142
87e86684
LM
131432011-07-09 Lawrence Mitchell <wence@gmx.li>
13144
13145 * net/gnutls.el (gnutls-min-prime-bits): New variable.
13146 (gnutls-negotiate): Use it.
13147
d6066239
LMI
131482011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
13149
b796c9b7
SM
13150 * net/gnutls.el (gnutls-negotiate):
13151 Upcase `gnutls-algorithm-priority'.
d6066239 13152
bd23ebc0
GM
131532011-07-15 Glenn Morris <rgm@gnu.org>
13154
c65bca65
GM
13155 * jka-compr.el (jka-compr-verbose): Move from here...
13156 * jka-cmpr-hook.el (jka-compr-verbose): ... to here. (Bug#9090)
13157 Add missing :version tag.
13158 * info.el: No need to require jka-compr when compiling.
bd23ebc0 13159
478615cc
LMI
131602011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
13161
7b41decb
LMI
13162 * net/gnutls.el (gnutls-algorithm-priority): New variable.
13163 (gnutls-negotiate): Use it.
13164
dbc44fcd
LMI
13165 * emacs-lisp/cl-macs.el (declare): Link to the "Declarations" node.
13166
06789f97
LMI
13167 * info.el (Info-beginning-of-buffer): New command.
13168 (Info-mode-map): Use it instead of `beginning-of-buffer' to allow
13169 announcing `b' as the key (bug#8325).
ab896c37 13170 (Info-mode-menu): Use `Info-beginning-of-buffer' for consistency.
06789f97 13171
c39da690
LMI
13172 * emacs-lisp/cl-macs.el (declare): Doc string fix-up.
13173
3aa5f34b
LMI
13174 * international/mule-cmds.el
13175 (describe-specified-language-support): Make the error message
13176 clearer (bug#8905).
13177
4bf0979f
LMI
13178 * emacs-lisp/cl-macs.el (declare): Add a doc string (bug#8690).
13179
478615cc
LMI
13180 * isearch.el (isearch-barrier): Add a doc string, since it's
13181 mentioned in a function doc string (bug#8678).
13182
75c68aa1
MR
131832011-07-15 Martin Rudalics <rudalics@gmx.at>
13184
13185 * window.el (switch-to-buffer): Call pop-to-buffer with normalized
13186 buffer argument (Bug#9083) and self-identifying label argument.
13187
a7c33da2
GM
131882011-07-15 Glenn Morris <rgm@gnu.org>
13189
13190 * emacs-lisp/debug.el (debug): Doc fix. (Bug#8273)
13191
2f5c6024
LMI
131922011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
13193
13194 * man.el (Man-fontify-manpage): Fix message when formatting the
13195 man page (bug#7929).
13196
0bb23927 131972011-07-14 Eli Zaretskii <eliz@gnu.org>
cce4b0a7
EZ
13198
13199 * buff-menu.el (Buffer-menu-buffer+size): Accept an additional
13200 argument LRM; if non-nil, append an invisible LRM character to the
13201 buffer name.
13202 (list-buffers-noselect): Call Buffer-menu-buffer+size with the
13203 last argument non-nil, when formatting buffer names.
0bb23927
EZ
13204 (Buffer-menu-mode, list-buffers-noselect): Force left-to-right
13205 paragraph direction.
cce4b0a7 13206
621ef9ab
LMI
132072011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
13208
d1583c48
LMI
13209 * man.el (Man-bgproc-sentinel): Skip any arguments and only output
13210 the man page name (bug#7929).
13211
6a57fb5f
LMI
13212 * image.el (put-image): Mention the `put-image' overlay property
13213 (bug#7834).
13214
d7956b14
LMI
13215 * scroll-bar.el (set-scroll-bar-mode): Mention that
13216 `scroll-bar-mode' lists the values (bug#7772).
13217
5b2d4a66
LMI
13218 * image-mode.el (image-mode-fit-frame): Mention that it's a toggle
13219 command (bug#7729).
13220
7509a874
LMI
13221 * rect.el (apply-on-rectangle): Return the point after the last
13222 operation.
13223 (string-rectangle): Go to the point after the last operation
13224 (bug#7522).
13225
4fe74b19
LMI
13226 * printing.el (pr-toggle-region): Clarify the documentation
13227 slightly (bug#7493).
13228
b796c9b7
SM
13229 * time.el (display-time-update):
13230 Allow `display-time-mail-function' to return nil (bug#7158).
13231 Fix suggested by Detlev Zundel.
ab283561 13232
fc233c9d
LMI
13233 * vc/diff.el (diff): Clarify the order the file names are read
13234 (bug#7111).
13235
43f5740b
LMI
13236 * mouse.el (mouse-set-region): Link to `mouse-drag-copy-region' in
13237 the doc string (bug#7015).
13238
f2182a76
LMI
13239 * font-lock.el (font-lock-maximum-decoration): Mention what
13240 numeric levels mean (bug#6935).
13241
621ef9ab
LMI
13242 * startup.el (initial-buffer-choice): Don't mention the `none'
13243 selection, which is against policy.
13244
adc47434
MR
132452011-07-14 Martin Rudalics <rudalics@gmx.at>
13246
b796c9b7
SM
13247 * window.el (display-buffer-normalize-special):
13248 Replace `dedicated' by `dedicate' to dedicate window (Bug#9072).
adc47434 13249
7e5bfb8f
EZ
132502011-07-14 Eli Zaretskii <eliz@gnu.org>
13251
13252 * subr.el (version<, version<=, version=): Mention "-CVS" and
13253 "-12345" alpha version numbers.
13254
27fa387a
CY
132552011-07-14 Chong Yidong <cyd@stupidchicken.com>
13256
13257 * bindings.el: Add advertised binding for set-mark-command
13258 (Bug#5772).
13259
8bdfa064
CY
132602011-07-14 Chong Yidong <cyd@stupidchicken.com>
13261
13262 * bindings.el (mode-line-other-buffer):
13263 * bookmark.el (bookmark-bmenu-2-window):
13264 * bs.el (bs-cycle-next, bs-cycle-previous):
13265 * net/tramp-cmds.el (tramp-append-tramp-buffers): Revert to using
13266 switch-to-buffer.
13267
13268 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
b796c9b7 13269 Delete.
8bdfa064 13270
5eba16a3
JB
132712011-07-14 Juanma Barranquero <lekktu@gmail.com>
13272
13273 * follow.el (follow-debug-message, follow-redisplay):
13274 * jka-cmpr-hook.el (with-auto-compression-mode):
13275 Fix typos in docstrings.
13276
15853710
LMI
132772011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
13278
a28e4607
LMI
13279 * subr.el (with-silent-modifications): Clarify somewhat what the
13280 macro inhibits (bug#6525).
13281
15853710
LMI
13282 * simple.el (eval-expression): Note what it does if called
13283 interactively (bug#6495).
13284
bee0fcef
CY
132852011-07-13 Chong Yidong <cyd@stupidchicken.com>
13286
b796c9b7
SM
13287 * window.el (switch-to-buffer): New arg FORCE-SAME-WINDOW.
13288 Use pop-to-buffer buffer-or-name if it is nil.
bee0fcef
CY
13289
13290 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
13291 Remove switch-to-buffer.
13292
58274504
LMI
132932011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
13294
bd2fcc8d
LMI
13295 * files.el (make-directory): Clarify that an error will be raised
13296 if there's an error (bug#6397).
13297
0f04b32c
LMI
13298 * startup.el (initial-buffer-choice): Add `none' as a choice
13299 (bug#6234).
13300
465c5fc8
LMI
13301 * subr.el (add-hook): Clarify section about buffer-local hooks
13302 (bug#6218).
13303
58274504
LMI
13304 * dired.el (dired-flagged): Clarify doc string (bug#6117).
13305
bead9a43
JB
133062011-07-13 Juanma Barranquero <lekktu@gmail.com>
13307
13308 * tabify.el (untabify): Preserve the current column so that point
13309 doesn't move (bug#6032).
13310
3af98a7b
LMI
133112011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
13312
b796c9b7
SM
13313 * progmodes/cperl-mode.el (cperl-syntaxify-by-font-lock):
13314 Rewrite to avoid awkward possessive "s" (bug#5986).
3af98a7b 13315
6240145a
GM
133162011-07-13 Glenn Morris <rgm@gnu.org>
13317
13318 * dired.el (dired-use-ls-dired): Doc fix. (Bug#9039).
13319 (dired-insert-directory): Give a message the first time
13320 if ls is found not to support --dired.
13321
1d8c2ccc
LMI
133222011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
13323
13324 * simple.el (toggle-truncate-lines): Clarify what is toggled
13325 (bug#5580). Text by Drew Adams.
13326
5fc4038e
CY
133272011-07-13 Chong Yidong <cyd@stupidchicken.com>
13328
13329 * simple.el (blink-matching-open): Make the error message from the
13330 last change less verbose.
13331
bf6012e5
DN
133322011-07-13 Dan Nicolaescu <dann@ics.uci.edu>
13333
13334 * font-lock.el (font-lock-comment-face): Use the high contrast
13335 "yellow" color for font-lock-comment-face on low color terminals
13336 using a dark background color (bug#4221).
13337
343c3b5a
LMI
133382011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
13339
7e9505c5
LMI
13340 * dired.el (dired-insert-set-properties): Make the doc string
13341 reflect what it does now (bug#5325).
13342
c26fdcf5
LMI
13343 * simple.el (blink-matching-open): Say that we were unable to find
13344 the match within the limit, if we're limited (bug#5122).
13345
bb388cc5
LMI
13346 * international/mule-cmds.el (prefer-coding-system): Add an
13347 example (bug#4869).
13348
343c3b5a
LMI
13349 * progmodes/etags.el (tags-search): Document `file-list-form'
13350 (bug#4731).
13351
2a517d45
LM
133522011-07-13 Lawrence Mitchell <wence@gmx.li>
13353
13354 * net/browse-url.el (browse-url-default-browser)
13355 (browse-url-browser-function): Make the default browser choice a
13356 bit more logical (bug#4300). Also clean up the doc string.
13357
b6c78ef2
JB
133582011-07-13 Juanma Barranquero <lekktu@gmail.com>
13359
13360 * bindings.el (completion-ignored-extensions): Add OpenMCL/Clozure
13361 binary endings (bug#4440).
13362
1c4dd947
LMI
133632011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
13364
a2014063
LMI
13365 * info.el (info-insert-file-contents): Inhibit jka-compr messages,
13366 which can be pretty annoying (bug#8971).
13367
9c9c2d88
LMI
13368 * jka-compr.el (jka-compr-verbose): New variable, and use
13369 throughout (bug#8971).
13370
1c4dd947
LMI
13371 * info.el (Info-find-file): Fall back on the installation
13372 directory if we can't find the info node anywhere else.
13373
a1c9f41b
SO
133742011-07-13 Sergei Organov <osv@javad.com> (tiny change)
13375
13376 * vc/vc.el (vc-revert-file):
13377 Don't set file time-stamp in the past. (Bug#5181)
13378
536f3d36
LMI
133792011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
13380
7152b011
LMI
13381 * files.el (after-find-file): Give a better error message when
13382 trying to find a symlink that points to a file that doesn't exist
13383 (bug#4398).
13384
536f3d36
LMI
13385 * progmodes/cc-vars.el: Remove (probably) misleading comment
13386 (bug#4396).
13387
460c0fba
JB
133882011-07-12 Johan Bockgård <bojohan@gnu.org>
13389
13390 * mouse-sel.el (mouse-sel-primary-overlay): Use the `region' face.
13391
7a6bda45
CY
133922011-07-12 Chong Yidong <cyd@stupidchicken.com>
13393
13394 * mouse-sel.el: Hack restoring functionality, while keeping
13395 compatibility with 2010-07-03 changes to mouse selection.
13396 (mouse-sel-primary-overlay): New var.
13397 (mouse-sel-selection-alist): Use it.
13398 (mouse-sel-mode): Doc fix; remove points that are default features
13399 of mouse.el.
13400
c79598ef
JB
134012011-07-12 Johan Bockgård <bojohan@gnu.org>
13402
13403 * progmodes/compile.el (compilation-error-regexp-alist-alist):
13404 Fix previous fix (bug#2490).
13405
ff8be6ef
RW
134062011-07-12 Roland Winkler <winkler@gnu.org>
13407
b796c9b7
SM
13408 * textmodes/bibtex.el (bibtex-initialize):
13409 Use pop-to-buffer-same-window.
ff8be6ef
RW
13410 (bibtex-search-entries): Fix interactive call.
13411
296ba3ee
LMI
134122011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
13413
f5242a02 13414 * progmodes/compile.el (compilation-error-regexp-alist-alist):
b796c9b7
SM
13415 Fontise bytecomp Error lines more correctly (bug#2490).
13416 Fix suggested by Johan Bockgård.
f5242a02 13417
296ba3ee
LMI
13418 * subr.el (remove-duplicates): Remove; `delete-dups' is sufficient.
13419
13420 * dired-x.el (dired-guess-default): Use `delete-dups'.
13421
f69fd0d2
CY
134222011-07-12 Chong Yidong <cyd@stupidchicken.com>
13423
13424 * dired.el (dired-mark-prompt):
13425 * dired-aux.el (dired-read-shell-command): Doc fix.
13426
eab5dc07
LMI
134272011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
13428
b796c9b7
SM
13429 * mail/sendmail.el (sendmail-query-once):
13430 Use `customize-save-variable' unconditionally, now that it works under
9988520a
LMI
13431 emacs -Q.
13432
13433 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
13434
eab5dc07
LMI
13435 * cus-edit.el (custom-file): Take an optional no-error variable.
13436 (customize-save-variable): Set the variable, and give a warning if
13437 running under "emacs -q".
13438
a1e65d42
JB
134392011-07-11 Juanma Barranquero <lekktu@gmail.com>
13440
13441 * loadhist.el (unload-feature-special-hooks):
13442 Add `auto-coding-functions', `fill-nobreak-predicate' and
13443 `find-directory-functions' (bug#5327).
13444
1d52da10
LMI
134452011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
13446
be958f1d
LMI
13447 * vc/ediff.el (ediff-patch-file): Clarify doc string (bug#3138).
13448
5bedb26c
LMI
13449 * cus-edit.el (custom-guess-name-alist): -alist variables should
13450 use the `alist' type (bug#3120). Suggested by Drew Adams.
13451
1d52da10
LMI
13452 * printing.el: Add documentation to all the `pr-toggle-' commands.
13453
cd394be1 134542011-07-11 Leo Liu <sdl.web@gmail.com>
481a51b6
LL
13455
13456 * files.el (toggle-read-only): Only do the `C-x C-q' warning on VC
13457 backends where it makes sense (bug#2623).
13458
dcc88d8a
LMI
134592011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
13460
c3de9feb
LMI
13461 * dired-x.el (dired-guess-default): Remove duplicate shell command
13462 entries (bug#2028).
8a93078b 13463 (dired-guess-default): Fix grammar in doc string (bug#2028).
eea84fe5 13464 (dired-guess-shell-alist-user): Clarify the example a bit (bug#2030).
c3de9feb 13465
dcc88d8a
LMI
13466 * subr.el (remove-duplicates): New conveniency function.
13467
505e3645
LMI
134682011-07-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
13469
13470 * tool-bar.el (tool-bar-mode): Clarify positive/negative arguments
13471 (bug#1526).
13472
134732011-07-10 Martin Rudalics <rudalics@gmx.at>
13474
13475 * window.el (display-buffer-normalize-default): Don't invert
13476 meaning of even-window-heights. Reported by Eli Zaretskii
13477 <eliz@gnu.org>.
13478
455e4fa1
BR
134792011-07-10 Bob Rogers <rogers@rgrjr.dyndns.org>
13480
13481 * vc/vc.el (vc-diff-internal): Fix race condition (Bug#1256).
13482
8e0bc3e9
CY
134832011-07-10 Chong Yidong <cyd@stupidchicken.com>
13484
13485 * window.el (display-buffer): Fix arguments to
13486 display-buffer-reuse-window in last change.
13487
fa7c3228
CY
13488 * faces.el (link): Use a less saturated blue on light backgrounds.
13489
13490 * startup.el (fancy-startup-text, fancy-about-text)
13491 (fancy-startup-tail): Use font-lock faces, for background safety.
13492
c0a7f300
BN
134932011-07-09 Bob Nnamtrop <bobnnamtrop@gmail.com> (tiny change)
13494
b796c9b7
SM
13495 * emulation/viper-cmd.el (viper-change-state-to-vi):
13496 Limit triggering of abbrev expansion (Bug#9038).
c0a7f300 13497
4dc2a129
MR
134982011-07-09 Martin Rudalics <rudalics@gmx.at>
13499
13500 * window.el (display-buffer-default-specifiers): Remove.
13501 (display-buffer-macro-specifiers): Remove default specifiers.
13502 (display-buffer-alist): Default to nil.
b796c9b7 13503 (display-buffer-reuse-window): New optional argument other-window.
4dc2a129
MR
13504 (display-buffer-pop-up-window): Allow splitting internal
13505 windows. Check whether a live window was created.
13506 (display-buffer-other-window-means-other-frame)
13507 (display-buffer-normalize-arguments): Rename to
13508 display-buffer-normalize-argument and rewrite. Set the
13509 other-window specifier.
13510 (display-buffer-normalize-special): New function.
13511 (display-buffer-normalize-options): Rename to
13512 display-buffer-normalize-default and rewrite.
13513 (display-buffer-normalize-options-inhibit): Remove.
13514 (display-buffer-normalize-specifiers): Rewrite.
13515 (display-buffer): Process other-window specifier and call
13516 display-buffer-reuse-window with it. Emulate Emacs 23 behavior
13517 more faithfully.
b796c9b7 13518 (pop-up-windows, even-window-heights): Restore Emacs 23 default values.
4dc2a129 13519 (display-buffer-alist-set): Don't handle 'unset default values.
b796c9b7
SM
13520 (display-buffer-in-window, display-buffer-alist-set):
13521 Replace symbol "dedicated" by "dedicate". Reported by Tassilo Horn
4dc2a129
MR
13522 <tassilo@member.fsf.org>.
13523
2d43b8c9
LL
135242011-07-09 Leo Liu <sdl.web@gmail.com>
13525
13526 * register.el (insert-register): Restore accidental change on
13527 2011-06-26. (Bug#9028)
13528
7f9b7c53
GM
135292011-07-09 Glenn Morris <rgm@gnu.org>
13530
13531 * subr.el (remq): Handle the empty list. (Bug#9024)
13532
f042cfd8
AS
135332011-07-08 Andreas Schwab <schwab@linux-m68k.org>
13534
13535 * mail/sendmail.el (send-mail-function): No longer delay custom
13536 initialization.
13537 * custom.el (custom-initialize-delay): Doc fix.
13538
856b2f11
SM
135392011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
13540
13541 * abbrev.el (expand-abbrev): Try to preserve point (bug#5805).
13542
afae1d68
MA
135432011-07-08 Michael Albinus <michael.albinus@gmx.de>
13544
13545 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use a
13546 human-friendly prompt.
13547
0757af94
SM
135482011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
13549
13550 * vc/vc-bzr.el (vc-bzr-revision-keywords): Remove svn, it's only
13551 provided by a particular plugin.
13552
d760b731
LMI
135532011-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
13554
13555 * mail/sendmail.el (sendmail-query-once): If we aren't allowed to
13556 save customizations (with "emacs -Q"), just set the variable
13557 instead of erroring out.
13558
13559 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
13560
cd79ce90
JL
135612011-07-08 Juri Linkov <juri@jurta.org>
13562
13563 * arc-mode.el (archive-zip-expunge, archive-zip-update)
13564 (archive-zip-update-case): Use 7z if found by `executable-find'.
13565 The order of searching the available programs is the same as in
13566 `archive-zip-extract' (bug#8968).
13567
14cc04aa
CY
135682011-07-07 Chong Yidong <cyd@stupidchicken.com>
13569
13570 * menu-bar.el (menu-bar-line-wrapping-menu): Revert last change.
13571 (menu-bar-options-menu): Tweak descriptions.
13572
0a1848ec
LMI
135732011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
13574
13575 * menu-bar.el (menu-bar-line-wrapping-menu): Make all the Options
13576 menu items into verb phrases (bug#1421). Also refill to fit under
13577 80 columns.
13578
f5bd0689
CY
135792011-07-07 Chong Yidong <cyd@stupidchicken.com>
13580
538e85c6
CY
13581 * info.el (info, Info-read-node-name-2, Info-read-node-name-1)
13582 (Info-read-node-name): Doc fix (Bug#1084).
13583
f5bd0689
CY
13584 * thingatpt.el (forward-thing, bounds-of-thing-at-point)
13585 (thing-at-point, beginning-of-thing, end-of-thing, in-string-p)
13586 (end-of-sexp, beginning-of-sexp)
13587 (thing-at-point-bounds-of-list-at-point, forward-whitespace)
13588 (forward-symbol, forward-same-syntax, word-at-point)
13589 (sentence-at-point): Doc fix (Bug#1144).
13590
56ec5115
LMI
135912011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
13592
f3f8e37f
LMI
13593 * info.el (Info-mode-map): Remove S-TAB binding, since [backtab]
13594 should cover it (bug#1281).
13595
0757af94 13596 * cus-edit.el (custom-show): Mark as obsolete.
af0905c8 13597
e9fce1ac 13598 * net/network-stream.el (network-stream-open-starttls): If GnuTLS
12b9eb35
LMI
13599 negotiation fails, then possibly try again with a non-encrypted
13600 connection (bug#9017).
13601
56ec5115
LMI
13602 * mail/smtpmail.el (smtpmail-stream-type): Note that `plain' can
13603 be used.
13604
c2f9aec8
RS
136052011-07-07 Richard Stallman <rms@gnu.org>
13606
13607 * mail/rmail.el (rmail-next-error-move): Use `compilation-message'
13608 property, and handle its changed format.
13609 Look for the correct line number.
13610 Use file's line contents (but not past first =) to find
13611 correct line in message.
13612
ef7b981d 136132011-07-07 Kenichi Handa <handa@m17n.org>
c805dec0
KH
13614
13615 * international/characters.el (build-unicode-category-table):
13616 Delete it.
0757af94 13617 (unicode-category-table): Set it by unicode-property-table-internal.
c805dec0 13618
0757af94 13619 * international/mule-cmds.el (char-code-property-alist): Move to
c805dec0
KH
13620 to src/chartab.c.
13621 (get-char-code-property): Call unicode-property-table-internal to
13622 load a file. Call get-unicode-property-internal where necessary.
13623 (put-char-code-property): Call unicode-property-table-internal to
13624 load a file. Call put-unicode-property-internal where necessary.
13625 put-unicode-property-internal where necessary.
0757af94
SM
13626 (char-code-property-description):
13627 Call unicode-property-table-internal to load a file.
c805dec0
KH
13628
13629 * international/charprop.el:
13630 * international/uni-bidi.el:
13631 * international/uni-category.el:
13632 * international/uni-combining.el:
13633 * international/uni-comment.el:
13634 * international/uni-decimal.el:
13635 * international/uni-decomposition.el:
13636 * international/uni-digit.el:
13637 * international/uni-lowercase.el:
13638 * international/uni-mirrored.el:
13639 * international/uni-name.el:
13640 * international/uni-numeric.el:
13641 * international/uni-old-name.el:
13642 * international/uni-titlecase.el:
13643 * international/uni-uppercase.el: Regenerate.
13644
13645 * loadup.el: Load international/charprop.el before
13646 international/characters.
13647
e14b388a
CY
136482011-07-07 Chong Yidong <cyd@stupidchicken.com>
13649
13650 * window.el (next-buffer, previous-buffer): Signal an error if
13651 called from a minibuffer window.
13652
13653 * bindings.el: Revert 2011-07-04 change.
13654
354cf0ba
RS
136552011-07-06 Richard Stallman <rms@gnu.org>
13656
13657 * mail/rmailmm.el (rmail-mime-process): Use markers for buf positions.
13658 (rmail-mime-insert-bulk, rmail-mime-insert-text):
13659 Treat markers like ints.
13660 (rmail-mime-entity): Doc fix.
13661
a48868a7
LMI
136622011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
13663
4906cd3d
LMI
13664 * mail/smtpmail.el (smtpmail-default-smtp-server): Made into a
13665 defcustom again for backwards compatibility.
13666
e0457abe
LMI
13667 * simple.el (shell-command-on-region): Fill.
13668
d67f7e1f
LMI
13669 * dired-aux.el (dired-kill-line): Add a doc string.
13670
fe204702
LMI
13671 * dabbrev.el (dabbrev-abbrev-char-regexp): Note that nil defaults
13672 to "\\sw\\|\\s_" (bug#358).
13673
a48868a7
LMI
13674 * dired.el (dired-mode): Clarify "unmark or unflag" (bug#8770).
13675 (dired-unmark-backward): Ditto.
13676 (dired-flag-backup-files): Ditto.
13677
13678 * dired-x.el (dired-mark-sexp): Ditto.
13679
aa8a705c
RS
136802011-07-06 Richard Stallman <rms@gnu.org>
13681
13682 * mail/rmailmm.el: Give entity a new slot, TRUNCATED.
13683 (rmail-mime-entity): New arg TRUNCATED.
13684 (rmail-mime-entity-truncated, rmail-mime-entity-set-truncated):
13685 New functions.
13686 (rmail-mime-save): Warn if entity is truncated.
13687 (rmail-mime-toggle-hidden): Likewise, for showing.
13688 (rmail-mime-process-multipart): Record when an entity is truncated.
13689
a9a936b9
RS
13690 * mail/rmailmm.el (rmail-search-mime-message): Don't get confused
13691 if ENTITY is a string.
13692
1f2b92cb
LMI
136932011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
13694
f4f73198 13695 * emacs-lisp/lisp-mode.el (eval-defun-1): Update the documentation
0757af94
SM
13696 of faces when `M-C-x'-ing their definitions (bug#8378).
13697 Also clean up the code slightly.
f4f73198 13698
12b16734 13699 * progmodes/grep.el (rgrep): Don't bind `process-connection-type',
da6062e6 13700 because that makes the colors go away.
12b16734 13701
f0691d22
LMI
13702 * mail/sendmail.el (send-mail-function): Change the default to
13703 `sendmail-query-once'.
9e87df06 13704 (sendmail-query-once): Add an autoload cookie.
f0691d22 13705
1f2b92cb
LMI
13706 * net/network-stream.el (network-stream-open-starttls): Try using
13707 a plain connection even if the server offered STARTTLS, and we
13708 kinda wanted to use it, if Emacs doesn't have any STARTTLS
13709 capability. This should make smtpmail.el work in slightly more
13710 configurations.
13711
1cdd2a1b
MA
137122011-07-06 Michael Albinus <michael.albinus@gmx.de>
13713
13714 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
13715 New defun.
13716 * net/tramp-cmds.el (tramp-append-tramp-buffers): Use it.
13717
fbcc67e2
MM
137182011-07-06 Michael R. Mauger <mmaug@yahoo.com>
13719
13720 * progmodes/sql.el: Version 3.0
0757af94 13721 (sql-product-alist): Add product :completion-object,
fbcc67e2 13722 :completion-column, and :statement attributes.
0757af94 13723 (sql-mode-menu, sql-interactive-mode-map): Fix List entries.
fbcc67e2 13724 (sql-mode-syntax-table): Mark all punctuation.
0757af94 13725 (sql-font-lock-keywords-builder): Temporarily remove fallback on
fbcc67e2
MM
13726 ansi keywords.
13727 (sql-regexp-abbrev, sql-regexp-abbrev-list): New functions.
0757af94 13728 (sql-mode-oracle-font-lock-keywords): Improve.
fbcc67e2
MM
13729 (sql-oracle-show-reserved-words): New function for development.
13730 (sql-product-font-lock): Simplify for source code buffers.
13731 (sql-product-syntax-table, sql-product-font-lock-syntax-alist):
13732 New functions.
13733 (sql-highlight-product): Set product specific syntax table.
0757af94
SM
13734 (sql-mode-map): Add statement movement functions.
13735 (sql-ansi-statement-starters, sql-oracle-statement-starters):
13736 New variable.
fbcc67e2
MM
13737 (sql-statement-regexp, sql-beginning-of-statement)
13738 (sql-end-of-statement, sql-signum): New functions.
0757af94 13739 (sql-buffer-live-p, sql=find-sqli-buffer): Add CONNECTION parameter.
fbcc67e2
MM
13740 (sql-show-sqli-buffer): Bug fix.
13741 (sql-interactive-mode): Store connection data as buffer local.
0757af94 13742 (sql-connect): Add NEW-NAME parameter. Redesign interaction
fbcc67e2
MM
13743 with sql-interactive-mode.
13744 (sql-save-connection): Save buffer local settings.
0757af94 13745 (sql-connection-menu-filter): Change menu entry name.
fbcc67e2
MM
13746 (sql-product-interactive): Bug fix.
13747 (sql-preoutput-hold): New variable.
13748 (sql-interactive-remove-continuation-prompt): Bug fixes.
13749 (sql-debug-redirect): New variable.
13750 (sql-str-literal): New function.
13751 (sql-redirect, sql-redirect-one, sql-redirect-value, sql-execute):
0757af94 13752 Redesign.
fbcc67e2
MM
13753 (sql-oracle-save-settings, sql-oracle-restore-settings)
13754 (sql-oracle-list-all, sql-oracle-list-table): New functions.
13755 (sql-completion-object, sql-completion-column)
13756 (sql-completion-sqlbuf): New variables.
13757 (sql-build-completions-1, sql-build-completions)
13758 (sql-try-completion): New functions.
13759 (sql-read-table-name): Use them.
13760 (sql-contains-names): New buffer local variable.
13761 (sql-list-all, sql-list-table): Use it.
13762 (sql-oracle-completion-types): New variable.
13763 (sql-oracle-completion-object, sql-sqlite-completion-object)
13764 (sql-postgres-completion-object): New functions.
13765
d4eaeab1
GM
137662011-07-06 Glenn Morris <rgm@gnu.org>
13767
13768 * window.el (pop-to-buffer): Doc fix.
13769
322b7dab 137702011-07-06 Markus Heiser <markus.heiser@darmarit.de> (tiny change)
a1d3a912
CY
13771
13772 * progmodes/gud.el (gud-pdb-marker-regexp): Accept \r char (Bug#5653).
13773
322b7dab 137742011-07-06 Chong Yidong <cyd@stupidchicken.com>
0484d600 13775
322b7dab 13776 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
4f8f657f 13777
322b7dab 13778 * info.el (Info-directory-toc-nodes): Minor doc fix (Bug#8833).
8f43cbf3 13779
605dd5bf
CY
137802011-07-05 Chong Yidong <cyd@stupidchicken.com>
13781
13782 * button.el (button): Inherit from link face. Suggested by Dan
13783 Nicolaescu.
13784
7dbfa719
SM
137852011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
13786
3db614b0
SM
13787 * progmodes/gdb-mi.el: Fit in 80 columns.
13788 (gdb-setup-windows, gdb-restore-windows): Avoid other-window and
13789 switch-to-buffer.
13790
7dbfa719
SM
13791 * progmodes/which-func.el (which-func-ff-hook): Don't output a message
13792 if imenu is simply not configured (bug#8941).
13793
919d884a
KM
137942011-07-05 Ken Manheimer <ken.manheimer@gmail.com>
13795
13796 * allout.el (allout-post-undo-hook): New allout outline-change
13797 event hook to signal undo activity.
13798 (allout-post-command-business): Run allout-post-undo-hook if an
13799 undo just occurred.
7dbfa719
SM
13800 (allout-after-copy-or-kill-hook, allout-mode): Minor docstring changes.
13801 * allout-widgets.el (allout-widgets-after-undo-function):
13802 Ensure the integrity of the current item's decoration after it has been
919d884a
KM
13803 in the vicinity of an undo.
13804 (allout-widgets-mode): Include allout-widgets-after-undo-function
13805 on the new allout-post-undo-hook.
13806
450a0f09
SM
138072011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
13808
13809 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-abbrev-table):
13810 Let define-derived-mode define it.
13811 * emacs-lisp/derived.el (define-derived-mode): Try to avoid creating
13812 cycles of abbrev-table inheritance (bug#8998).
13813
2de69e00
RW
138142011-07-05 Roland Winkler <winkler@gnu.org>
13815
13816 * textmodes/bibtex.el: Add support for biblatex.
13817 (bibtex-BibTeX-entry-alist, bibtex-biblatex-entry-alist)
13818 (bibtex-BibTeX-field-alist, bibtex-biblatex-field-alist)
13819 (bibtex-dialect-list, bibtex-dialect, bibtex-no-opt-remove-re)
13820 (bibtex-entry-alist, bibtex-field-alist): New variables.
13821 (bibtex-entry-field-alist): Obsolete alias for
13822 bibtex-BibTeX-entry-alist.
13823 (bibtex-entry-alist, bibtex-field-alist): New widgets.
13824 (bibtex-set-dialect): New command.
13825 (bibtex-entry-type, bibtex-entry-head)
450a0f09
SM
13826 (bibtex-entry-maybe-empty-head, bibtex-any-valid-entry-type):
13827 Bind via bibtex-set-dialect.
2de69e00
RW
13828 (bibtex-Article, bibtex-Book, bibtex-Booklet, bibtex-InBook)
13829 (bibtex-InCollection, bibtex-InProceedings, bibtex-Manual)
13830 (bibtex-MastersThesis, bibtex-Misc, bibtex-PhdThesis)
13831 (bibtex-Proceedings, bibtex-TechReport, bibtex-Unpublished):
13832 Define via bibtex-set-dialect.
450a0f09
SM
13833 (bibtex-name-in-field, bibtex-remove-OPT-or-ALT):
13834 Obey bibtex-no-opt-remove-re.
2de69e00
RW
13835 (bibtex-vec-push, bibtex-vec-incr): New functions.
13836 (bibtex-format-entry, bibtex-field-list)
13837 (bibtex-print-help-message, bibtex-validate)
13838 (bibtex-search-entries): Use new format of bibtex-entry-alist.
13839
2dcdbdd9
SM
138402011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
13841
13842 * progmodes/compile.el (compilation-goto-locus):
13843 * net/tramp-cmds.el (tramp-append-tramp-buffers):
13844 * bs.el (bs-cycle-next, bs-cycle-previous):
13845 * bookmark.el (bookmark-bmenu-list, bookmark-bmenu-2-window):
13846 * bindings.el (mode-line-other-buffer):
13847 * autoinsert.el (auto-insert):
13848 * arc-mode.el (archive-extract):
13849 * abbrev.el (edit-abbrevs): Fix some uses of switch-to-buffer.
13850
b27640fe
JB
138512011-07-05 Juanma Barranquero <lekktu@gmail.com>
13852
13853 * emacs-lock.el (emacs-lock-mode): Fix typo in variable name.
13854 Fix check of `emacs-lock-unlockable-modes'.
13855 Coerce true values of `emacs-lock--try-unlocking' to t.
13856
53bbe3ad
JB
138572011-07-05 Juanma Barranquero <lekktu@gmail.com>
13858
13859 * obsolete/old-emacs-lock.el: Rename from emacs-lock.el.
13860 * emacs-lock.el: New file.
13861
1d3cdbc7
JD
138622011-07-05 Julien Danjou <julien@danjou.info>
13863
13864 * textmodes/rst.el (rst-define-level-faces): Use `facep' rather
13865 than `boundp' to check if face is set.
13866
9173deec
JB
138672011-07-05 Juanma Barranquero <lekktu@gmail.com>
13868
13869 * register.el (registerv-make):
13870 * window.el (window-min-height): Fix typos in docstrings.
13871
869795d6
JD
138722011-07-05 Jan Djärv <jan.h.d@swipnet.se>
13873
9173deec 13874 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
869795d6
JD
13875 Update doc string.
13876
b768cdcd
JB
138772011-07-04 Juanma Barranquero <lekktu@gmail.com>
13878
13879 * server.el (server-execute): Catch quit and call
13880 `server-return-error' to pass the error back to emacsclient and
13881 close the connection (bug#8942).
13882
13aa217b
KM
138832011-07-04 Ken Manheimer <ken.manheimer@gmail.com>
13884
13885 * allout.el (allout-encrypt-unencrypted-on-saves): Do not provide
13886 insecure exception for current topic. Also note that auto-saves
13887 are handled differently.
13888
5d3385a0 13889 (allout-auto-save-temporarily-disabled, allout-just-did-undo):
13aa217b
KM
13890 State variables for tracking auto-save inhibition situation.
13891
13892 (allout-write-contents-hook-handler): Rename from
13893 'allout-write-file-hook-handler', and describe how it depends on
13894 write-contents-functions sensitivity to non-nil value to prevent
13895 file write.
13896
13897 (allout-auto-save-hook-handler): Remove. auto-save does not check
13898 this in individual buffers, only in the starting buffer, so this
13899 is not the right way for us to inhibit auto-save in a buffer
13900 according to its condition.
13901
13902 (allout-mode): Use new allout-write-contents-hook-handler, and
13903 only with write-contents-functions. Remove auto-save provisions -
13904 they're implemented elsewhere.
13905
13906 (allout-before-change-handler): If undo is in progress, note that
13907 for attention of allout-post-command-business.
13908
13909 (allout-post-command-business): If the command we're following was
13910 an undo, check for change in the status of encrypted items and
13911 adjust auto-save inhibitions accordingly.
13912
13913 (allout-toggle-subtree-encryption): Adjust auto-save inhibition
13914 according to whether there are or aren't any plain-text topics
13915 pending encryption.
13916
2dcdbdd9 13917 (allout-inhibit-auto-save-info-for-decryption):
1154d12e
JB
13918 Adjust buffer-saved-size and some allout state to inhibit auto-saves
13919 if there are plain-text topics pending encryption.
13aa217b
KM
13920
13921 (allout-maybe-resume-auto-save-info-after-encryption): Adjust
13922 buffer-saved-size and some allout state to not inhibit auto-saves
13923 if there are no longer any plain-text topics pending encryption.
13924
0757af94
SM
13925 (allout-next-topic-pending-encryption, allout-encrypt-decrypted):
13926 No longer provide for exemption of the current topic.
13aa217b 13927
ac89b32c
JL
139282011-07-04 Juri Linkov <juri@jurta.org>
13929
13930 Add 7z operations to delete and save changed members (bug#8968).
13931 * arc-mode.el (archive-7z-expunge, archive-7z-update):
13932 New defcustoms.
13933 (archive-7z-write-file-member): New function.
13934 (archive-7z-summarize): Fix the number of dashes in the
13935 listing output.
13936
8fa39615
SM
139372011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
13938
13939 * pcmpl-linux.el (pcomplete-pare-list): Re-add, from pcomplete.el
13940 (bug#8958).
13941
2f11b3f1
CY
139422011-07-04 Chong Yidong <cyd@stupidchicken.com>
13943
d66fef2b
CY
13944 * bindings.el: Ignore next-buffer and previous-buffer in
13945 minibuffer-local-map.
13946
2f11b3f1
CY
13947 * font-lock.el (font-lock-builtin-face): Change light background
13948 color to dark slate blue (Bug#6693).
13949
f932a347
WD
139502011-07-04 Wang Diancheng <dcwang@kingbase.com.cn> (tiny change)
13951
13952 * progmodes/gdb-mi.el (gdb): Use completion-at-point.
13953
c8af70e1
SM
139542011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
13955
13956 * files.el (find-file): Use pop-to-buffer-same-window (bug#8911).
13957 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
13958 Add switch-to-buffer.
13959
f158badc
LMI
139602011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
13961
13962 * isearch.el (isearch-search-fun-function): Clarify further the
13963 meaning of the function returned.
13964
6d95bd46
MA
139652011-07-04 Michael Albinus <michael.albinus@gmx.de>
13966
13967 * net/tramp-cmds.el (tramp-cleanup-this-connection): New command.
13968
13969 * net/tramp-sh.el (tramp-color-escape-sequence-regexp): New defconst.
13970 (tramp-sh-handle-insert-directory, tramp-convert-file-attributes):
13971 Use it.
13972 (tramp-remote-path): Add "/bin" and "/usr/bin". On busyboxes,
13973 `tramp-default-remote-path' does not exist.
13974 (tramp-send-command-and-read): New optional argument NOERROR.
13975 (tramp-open-connection-setup-interactive-shell)
13976 (tramp-get-remote-path, tramp-get-remote-stat): Use it.
13977 (tramp-get-remote-readlink): Do not mask with `ignore-errors'.
13978 (tramp-process-sentinel): Flush also process' connection property.
13979 (tramp-sh-handle-start-file-process): Do not set process
13980 sentinel. It is done now ...
13981 (tramp-maybe-open-connection): ... here. (Bug#8929)
13982
909e6b67
MK
139832011-07-04 MON KEY <monkey@sandpframing.com>
13984
13985 * play/animate.el (animate-string): Doc fixes and allow changing
13986 the buffer name (bug#5417).
13987
139882011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
13989
c8af70e1 13990 * play/animate.el (animation-buffer-name): Rename from *animate*.
909e6b67 13991
f34755dc
PE
139922011-07-04 Paul Eggert <eggert@cs.ucla.edu>
13993
396cec72
PE
13994 * emacs-lisp/timer.el: Use time-date fns rather than rolling our own.
13995 This is simpler and helps future-proof the code.
13996 (timer-until): Use time-subtract and float-time.
08235028 13997 (timer--time-less-p): Use time-less-p.
f34755dc 13998
56e6cc31
JB
139992011-07-04 Juanma Barranquero <lekktu@gmail.com>
14000
3abb79e5
JB
14001 * type-break.el (timep): Use the value of `float-time' to avoid a
14002 byte-compiler warning.
14003
56e6cc31
JB
14004 * server.el (server-eval-and-print): Return any result, even nil.
14005
7b9430b4
PE
140062011-07-03 Paul Eggert <eggert@cs.ucla.edu>
14007
14008 * type-break.el: Accept time formats that the builtins accept.
14009 (timep, type-break-time-difference): Accept any format that
14010 float-time accepts, rather than insisting on (HIGH LOW USECS) format.
14011 This is simpler and helps future-proof the code.
14012 (type-break-time-difference): Round rather than ignoring
14013 subseconds components.
14014
3034e9e7
LMI
140152011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
14016
14017 * info.el (Info-apropos-matches): Make non-interactive, since it
14018 doesn't seem to do anything useful as a command (bug#8829).
14019
1485f4c0
CY
140202011-07-03 Chong Yidong <cyd@stupidchicken.com>
14021
14022 * frame.el (frame-background-mode, frame-set-background-mode):
c8af70e1 14023 Move from faces.el.
1485f4c0
CY
14024 (frame-default-terminal-background): New function.
14025
14026 * custom.el (custom-push-theme): Don't record faces in `changed'
14027 theme; this doesn't work correctly for per-frame face settings.
14028 (disable-theme): Use face-set-after-frame-default to reset faces.
14029 (custom--frame-color-default): New function.
14030
9fa3dd45
LMI
140312011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
14032
c8af70e1 14033 * dired.el (dired-flagging-regexp): Remove unused variable
9fa3dd45
LMI
14034 (bug#8769).
14035
6cbbc20c
KR
140362011-03-29 Kevin Ryde <user42@zip.com.au>
14037
14038 * progmodes/compile.el (compilation-error-regexp-alist-alist):
14039 `perl-Test2' extend to match possible "fail #N" rep count
14040 (bug#8377).
14041
c7f98048
LMI
140422011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
14043
65676592
LMI
14044 * mail/feedmail.el (feedmail-buffer-to-smtpmail):
14045 `smtpmail-via-smtp' now returns the error instead of nil.
14046
c7f98048
LMI
14047 * isearch.el (isearch-search-fun-function): Clarify the doc string
14048 (bug#8101).
14049
56e6cc31 140502011-07-03 Richard Kim <emacs18@gmail.com> (tiny change)
9a51c6c7
RK
14051
14052 * textmodes/texnfo-upd.el (texinfo-insert-menu): Don't insert
14053 unnecessary spaces (bug#8987).
14054
2b216704
LMI
140552011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
14056
14057 * net/network-stream.el (open-network-stream): Use the
14058 :end-of-capability command thoughout.
14059
140602011-07-03 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
14061
14062 * net/network-stream.el (open-network-stream): Add the
14063 :end-of-capability command parameter, used by pop3.el.
14064
36adf6ce
LMI
140652011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
14066
1ca0da0e
LMI
14067 * dired.el (dired-map-over-marks): Refill the doc string (bug#6814).
14068
fc00f69c
LMI
14069 * fringe.el (fringe-query-style): Remove redundant text " (type ?
14070 for list)" (bug#6475).
14071
28fd8759 14072 * files.el (file-expand-wildcards): Ignore non-readable
8350f087 14073 sub-directories while trying to find matches instead of signaling
28fd8759
LMI
14074 an error (bug#6297).
14075
0dd8b6da
LMI
14076 * man.el (Man-reference-regexp): Allow matching possible
14077 word-wrapped references (bug#6289).
14078
ce1438d6
LMI
14079 * vc/vc.el (vc-modify-change-comment): Change *VC-log* to *vc-log*
14080 for consistency with the other vc buffers (bug#6197).
14081 (vc-checkin): Ditto.
14082
14083 * vc/vc-arch.el: Fix comments to match the *VC-log* name change.
14084
36adf6ce
LMI
14085 * longlines.el (longlines-mode): Document what ARG does (bug#6150).
14086
e83cc1f7
LMI
140872011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
14088
8a20ca4c
LMI
14089 * custom.el (defcustom): Clarify that :set is only used in the
14090 Customize user interface (bug#6089).
14091
83319045
LMI
14092 * progmodes/flymake.el (flymake-mode): If the buffer isn't
14093 associated with a file, refuse to run instead of erroring out
14094 (bug#6084).
14095
a8392169
LMI
14096 * textmodes/fill.el (fill-region): Remove the "Ordinarily" from
14097 the doc string, since it appears that using `fill-column' always
14098 controls the width (bug#7845).
14099
e83cc1f7
LMI
14100 * simple.el (shell-command-on-region): Say where the error output
14101 went if `shell-command-default-error-buffer' is set (bug#6857).
14102
e47ca23b
KM
141032011-07-02 Ken Manheimer <ken.manheimer@gmail.com>
14104
14105 * allout.el (allout-yank-processing): Adjust cursor position for
14106 backwards-deleted space.
14107
14108 (allout-rebullet-heading): Register changes with
14109 allout-exposure-changed-hook, so the modified topic is properly
14110 decorated.
14111
5cf56143
LMI
141122011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
14113
08549772
LMI
14114 * minibuffer.el (completion-in-region): Document PREDICATE
14115 (bug#7136).
14116
48e96771
LMI
14117 * info-look.el (info-lookup-add-help): Clarify that ARGS is a list
14118 of keyword/argument pairs (bug#6904).
14119
c8af70e1
SM
14120 * replace.el (multi-occur):
14121 Mention `multi-occur-in-matching-buffers' in the doc string (bug#7566).
5cf56143 14122
e17d05e2
LMI
141232011-07-02 Drew Adams <drew.adams@oracle.com>
14124
14125 * dired.el (dired-mark-if): Make the message about whether it's
14126 marking or unmarking clearer (bug#8523).
14127
063b0e45
LMI
141282011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
14129
14130 * disp-table.el (display-table-print-array): New function.
14131 (describe-display-table): Use it to print the vectors more pretty
14132 (Bug#8859).
14133
28545e04
MR
141342011-07-02 Martin Rudalics <rudalics@gmx.at>
14135
14136 * window.el (window-state-get-1): Don't assign clone numbers.
14137 Add clone-of item to list of window parameters.
14138 (window-state-put-2): Don't process clone numbers.
14139 (display-buffer-alist): Fix doc-string.
14140
3349e122
SM
141412011-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
14142
14143 * subr.el (remq): Don't allocate if it's not needed.
14144 (keymap--menu-item-binding, keymap--menu-item-with-binding)
14145 (keymap--merge-bindings): New functions.
14146 (keymap-canonicalize): Use them to refine the canonicalization.
14147 * minibuffer.el (minibuffer-local-completion-map)
14148 (minibuffer-local-must-match-map): Move initialization from C.
14149 (minibuffer-local-filename-completion-map): Move initialization from C;
14150 don't inherit from anything here.
14151 (minibuffer-local-filename-must-match-map): Make obsolete.
14152 (completing-read-default): Use make-composed-keymap to combine
14153 minibuffer-local-filename-completion-map with either
14154 minibuffer-local-must-match-map or
14155 minibuffer-local-filename-completion-map.
14156
d224ac83
GM
141572011-07-01 Glenn Morris <rgm@gnu.org>
14158
3de63bf8
GM
14159 * type-break.el (type-break-time-sum): Use dolist.
14160
d224ac83
GM
14161 * textmodes/flyspell.el (flyspell-word-search-backward):
14162 Replace CL function.
14163
1a1e3f32
SM
141642011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
14165
fe3f64d5
SM
14166 * mouse.el (mouse--strip-first-event): New function.
14167 (function-key-map): Use it to map fringe clicks to normal clicks
14168 by default.
14169
eb604e34
SM
14170 * vc/vc-bzr.el (vc-bzr-revision-keywords): Update.
14171 (vc-bzr-revision-completion-table): Add support for annotate and date.
14172
1a1e3f32
SM
14173 * emacs-lisp/derived.el (define-derived-mode): Make abbrev-table
14174 inherit from parent.
14175
5bd35902
LMI
141762011-07-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
14177
ace6c69c 14178 * dired-aux.el (dired-diff): Doc fixup (bug#8816).
26bde865 14179 (dired-show-file-type): Doc fixup (bug#8818).
ace6c69c 14180
191e2bed
LMI
14181 * dired.el (dired-mode): Fix up the doc string as suggested by
14182 Drew Adams (bug#8817).
14183
5bd35902
LMI
14184 * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
14185 cookie, since the manual says that it should be possible to add
14186 this function to `find-file-hook' (bug#8709).
14187
eee8207a
TZ
141882011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
14189
14190 * progmodes/cfengine.el: Moved all cfengine3.el functionality
14191 here. Noted Ted Zlatanov as the maintainer.
14192 (cfengine-common-settings, cfengine-common-syntax): New functions
14193 to set up common things between `cfengine-mode' and
14194 `cfengine3-mode'.
14195 (cfengine3-mode): New mode.
14196 (cfengine3-defuns cfengine3-defuns-regex
14197 (cfengine3-class-selector-regex cfengine3-category-regex)
14198 (cfengine3-vartypes cfengine3-font-lock-keywords)
14199 (cfengine3-beginning-of-defun, cfengine3-end-of-defun)
eb604e34 14200 (cfengine3-indent-line): Add from cfengine3.el.
eee8207a 14201
36b148cf
MA
142022011-07-01 Michael Albinus <michael.albinus@gmx.de>
14203
14204 * net/tramp.el (tramp-encoding-command-interactive): New defcustom.
14205
14206 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
14207
0bf4ba9a
MR
142082011-07-01 Martin Rudalics <rudalics@gmx.at>
14209
14210 * window.el (same-window-buffer-names, same-window-regexps)
14211 (same-window-p, special-display-frame-alist)
14212 (special-display-popup-frame, special-display-function)
14213 (special-display-buffer-names, special-display-regexps)
14214 (special-display-p, pop-up-frame-alist, pop-up-frame-function)
14215 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
14216 (split-window-preferred-function, split-height-threshold)
14217 (split-width-threshold, even-window-heights)
14218 (display-buffer-mark-dedicated, window-splittable-p)
14219 (split-window-sensibly, window-safely-shrinkable-p):
14220 Un-obsolete.
14221 (display-buffer): Don't spread args with function specifier
14222 because special-display-popup-frame won't like it.
14223
35837f51
PE
142242011-07-01 Paul Eggert <eggert@cs.ucla.edu>
14225
d0672f86
PE
14226 Time-stamp simplifications and fixes.
14227 These improve accuracy slightly, and future-proof the code
14228 against some potential changes to current-time format.
14229
b9444d97
PE
14230 * woman.el (woman-decode-buffer, WoMan-log-end): Log fractional secs
14231 by using time-since and float-time.
14232
0ef923dc
PE
14233 * vc/ediff-util.el (ediff-calc-command-time): Use time-since
14234 and float-time. Say "NNN.NNN seconds" rather than "NNN seconds
14235 + NNN microseconds".
14236
2f81380d
PE
14237 * type-break.el (type-break-time-sum): Rewrite using time-add.
14238
845b5c3e
PE
14239 * play/hanoi.el (hanoi-current-time-float): Remove.
14240 All uses replaced by float-time.
14241
ee6f1be0
PE
14242 * nxml/rng-maint.el (rng-time-function): Rewrite using time-subtract.
14243 This yields a more-accurate answer.
14244 (rng-time-to-float): Remove; no longer needed.
14245
fe955043
PE
14246 * emacs-lisp/timer.el (timer-relative-time): Use time-add.
14247
5777162a
PE
14248 * calendar/timeclock.el (timeclock-seconds-to-time):
14249 Defalias to seconds-to-time, since they're the same thing.
14250
3103f8b6 14251 * emacs-lisp/elp.el (elp-elapsed-time):
e2bac5f6 14252 * emacs-lisp/benchmark.el (benchmark-elapse):
35837f51
PE
14253 * allout-widgets.el (allout-elapsed-time-seconds): Use float-time.
14254
0e61a35f
SM
142552011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
14256
14257 * window.el (bury-buffer): Don't iconify the only frame.
14258 (switch-to-buffer): Revert to Emacs<23 behavior, i.e. do not fallback
14259 to pop-to-buffer. Use pop-to-buffer-same-frame if you don't like that.
14260
ddd63a1e
CY
142612011-07-01 Chong Yidong <cyd@stupidchicken.com>
14262
0e61a35f
SM
14263 * eshell/em-smart.el (eshell-smart-display-navigate-list):
14264 Add mouse-yank-primary.
ddd63a1e 14265
055f4923
TZ
142662011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
14267
14268 * progmodes/cfengine3.el: New file to support CFEngine 3.x.
14269
6a2fb145
SM
142702011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
14271
14272 * emacs-lisp/find-func.el (find-library--load-name): New fun.
14273 (find-library-name): Use it to find relative load names when provided
14274 absolute file name (bug#8803).
14275
fd4983f2
LMI
142762011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
14277
887d14ad
LMI
14278 * textmodes/flyspell.el (flyspell-word): Consider words that
14279 differ only in case as potential doublons (bug#5687).
14280
c53dc7fc
LMI
14281 * net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
14282 Remove two rather uninteresting debugging-like messages to make
14283 debbugs.el more silent.
14284
fd4983f2
LMI
14285 * comint.el (comint-password-prompt-regexp): Accept "Response" as
14286 a password-like phrase.
14287
7a71b18d 142882011-06-30 Masatake YAMATO <yamato@redhat.com>
b14c0c55
AM
14289
14290 * progmodes/cc-guess.el: New file.
14291
6a2fb145 14292 * progmodes/cc-langs.el (c-mode-menu): Add "Style..." submenu.
b14c0c55
AM
14293
14294 * progmodes/cc-styles.el (cc-choose-style-for-mode): New function
14295 derived from `c-basic-common-init'.
14296
14297 * progmodes/cc-mode.el (top-level): Require cc-guess.
14298 (c-basic-common-init): Use `cc-choose-style-for-mode'.
14299
1fa280a3
LM
143002011-06-30 Lawrence Mitchell <wence@gmx.li>
14301
14302 * progmodes/js.el (js-mode): Don't stomp on global settings (bug#8933).
14303
e6597158
AM
143042011-06-30 Alan Mackenzie <acm@muc.de>
14305
1fa280a3
LM
14306 * progmodes/cc-engine.el (c-guess-continued-construct):
14307 Correct the handling of template-args-cont, particularly for when font
e6597158
AM
14308 lock is disabled. Name this case as "CASE G".
14309
68ba37fb
KM
143102011-06-30 Ken Manheimer <ken.manheimer@gmail.com>
14311
14312 * allout.el (allout-yank-processing): Fix injection of extra space
14313 between bullet and non-whitespace character in first topic when
14314 pasting, ensuring that the actual spacing in the pasted topic
14315 following the bullet char is preserved. This extra space was
14316 causing pasted encrypted topics to get a decrypted status even
14317 when the content was actually still encrypted. Now the decryption
14318 status from before the paste is preserved.
14319
14320 (allout-flag-region): Set all allout overlays so they evaporate
14321 when reduced to zero length (evanescent), to prevent overlay
14322 leakage.
14323
887a0b34
GM
143242011-06-30 Glenn Morris <rgm@gnu.org>
14325
94b9acce
GM
14326 * w32-fns.el (w32-charset-info-alist): Declare.
14327
1d9b46d4
GM
14328 * find-dired.el (find-grep-options): Simplify.
14329
cc232200
GM
14330 * term/ns-win.el (ns-set-resource): Declare.
14331
28e77c46
GM
14332 * ses.el (row, col): Declare dynamic variables honestly.
14333
887a0b34
GM
14334 * textmodes/reftex-parse.el (index-tags): Declare.
14335
658d8eb8
CY
143362011-06-30 Chong Yidong <cyd@stupidchicken.com>
14337
14338 * cus-edit.el (customize-push-and-save): New function.
14339
14340 * files.el (hack-local-variables-confirm): Use it.
14341
1fa280a3
LM
14342 * custom.el (load-theme): New arg NO-CONFIRM.
14343 Use customize-push-and-save (Bug#8720).
658d8eb8
CY
14344 (custom-enabled-themes): Doc fix.
14345
14346 * cus-theme.el (customize-create-theme)
14347 (custom-theme-merge-theme): Callers to load-theme changed.
14348
bb617717
LMI
143492011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
14350
d61bdd5d
LMI
14351 * thingatpt.el (thing-at-point-short-url-regexp): Require that
14352 short URLs have at least one dot in them (bug #7614).
14353
bb617717
LMI
14354 * progmodes/grep.el (rgrep): Bind `process-connection-type' to
14355 nil, because using a pty is apparently too slow (bug #895).
14356
2f31f37a
LMI
143572011-06-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
14358
14359 * mail/sendmail.el (sendmail-query-once): New function.
14360 (sendmail-query-once-function): New variable.
14361
3076b24e
GM
143622011-06-29 Glenn Morris <rgm@gnu.org>
14363
faf2a174
GM
14364 * files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.
14365
3076b24e
GM
14366 * ses.el (top-level): Require cl when compiling.
14367 (ses-set-localvars): Fix error statement.
14368 Call it at compile time to silence a storm of warnings.
14369
5386012d
MR
143702011-06-29 Martin Rudalics <rudalics@gmx.at>
14371
14372 * window.el (normalize-live-buffer): Rename to
14373 window-normalize-buffer.
14374 (normalize-live-frame): Rename to window-normalize-frame.
14375 (normalize-any-window): Rename to window-normalize-any-window.
14376 (normalize-live-window): Rename to window-normalize-live-window.
14377 (make-window-atom): Rename to window-make-atom.
14378 (window-resize-reset): Rename to window--resize-reset.
14379 (window-resize-reset-1): Rename to window--resize-reset-1.
14380 (resize-mini-window): Rename to window--resize-mini-window.
14381 (resize-subwindows-skip-p): Rename to
14382 window--resize-subwindows-skip-p.
14383 (resize-subwindows-normal): Rename to
14384 window--resize-subwindows-normal.
14385 (resize-subwindows): Rename to window--resize-subwindows.
14386 (resize-other-windows): Rename to window--resize-siblings.
14387 (resize-this-window): Rename to window--resize-this-window.
14388 (resize-root-window): Rename to window--resize-root-window.
14389 (resize-root-window-vertically): Rename to
14390 window--resize-root-window-vertically.
14391 (normalize-buffer-to-display): Rename to
14392 window-normalize-buffer-to-display.
14393 (normalize-buffer-to-switch-to): Rename to
14394 window-normalize-buffer-to-switch-to.
14395 Correspondingly update all callers of the functions listed
14396 above.
14397 (display-buffer-alist, display-buffer-normalize-arguments)
14398 (display-buffer-normalize-options, display-buffer)
14399 (display-buffer-alist-set): Use "function" instead of
14400 "fun-with-args".
14401
1176868d
CY
144022011-06-28 Chong Yidong <cyd@stupidchicken.com>
14403
14404 * mail/emacsbug.el (report-emacs-bug): Handle non-gnu bug
14405 addresses more clearly. Add hyperlinks for bug-gnu-emacs and
14406 debbugs.gnu.org. Mention acknowledgment email.
14407
20a7a65f
LMI
144082011-06-28 Lars Magne Ingebrigtsen <larsi@gnus.org>
14409
14410 * mail/smtpmail.el (smtpmail-send-it): Leave off changing the
14411 buffer multibyteness, since it shouldn't matter.
14412
5f45cca5
MR
144132011-06-28 Martin Rudalics <rudalics@gmx.at>
14414
14415 * window.el (display-buffer-in-side-window): Handle dedicated
14416 windows as in display-buffer-reuse-window.
14417 (display-buffer-normalize-alist): Use value of override
14418 specifier.
14419 (display-buffer-normalize-specifiers): Use value of
14420 other-window-means-other-frame specifier.
14421 (display-buffer-alist): Rewrite some texts in widgets.
14422 (display-buffer): Spread arguments when calling function
14423 specified by fun-with-args.
14424
ad85fe1f
DD
144252011-06-28 Deniz Dogan <deniz@dogan.se>
14426
1fa280a3
LM
14427 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
14428 Unnest `let'.
da68c4c8 14429
ad85fe1f
DD
14430 * textmodes/css-mode.el (css-font-lock-keywords): Fix grouped
14431 selectors (Bug#5732).
ec49bd31 14432 (css-proprietary-nmstart-re): Use `regexp-opt'.
ad85fe1f 14433
a08cc025
JA
144342011-06-27 Jari Aalto <jari.aalto@cante.net>
14435
14436 * eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).
14437 (eshell-ls-date-format): New defcustom.
14438 (eshell-ls-file): Use it.
14439
e2b551c5
SM
144402011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
14441
14442 * help-fns.el (describe-variable): Fix message for terminal-local vars.
14443
8982b231
KY
144442011-06-27 Katsumi Yamaoka <yamaoka@jpl.org>
14445
14446 * net/ange-ftp.el: Allow loading .gz files (Bug#6923).
14447 (ange-ftp-make-tmp-name): New arg.
14448 (ange-ftp-file-local-copy): Use it.
14449
36c9fa27
J
144502011-06-27 Jambunathan K <kjambunathan@gmail.com>
14451
14452 * tar-mode.el (tar-untar-buffer): Set coding-system-for-write to
14453 no-conversion (Bug#8870).
14454
d68443dc
MR
144552011-06-27 Martin Rudalics <rudalics@gmx.at>
14456
14457 * window.el (window-right, window-left, window-child)
14458 (window-child-count, window-last-child)
14459 (window-iso-combination-p, walk-window-tree-1)
14460 (window-atom-check-1, window-tree-1, delete-window)
14461 (window-state-get-1, display-buffer-even-window-sizes): Adapt to
14462 new naming conventions - window-vchild, window-hchild,
14463 window-next and window-prev are now called window-top-child,
14464 window-left-child, window-next-sibling and window-prev-sibling
14465 respectively.
d615d6d2
MR
14466 (resize-window-reset): Rename to window-resize-reset.
14467 (resize-window-reset-1): Rename to window-resize-reset-1.
14468 (resize-window): Rename to window-resize.
14469 (window-min-height, window-min-width)
14470 (resize-mini-window, resize-this-window, resize-root-window)
14471 (resize-root-window-vertically, adjust-window-trailing-edge)
14472 (enlarge-window, shrink-window, maximize-window)
14473 (minimize-window, delete-window, quit-restore-window)
14474 (split-window, balance-windows, balance-windows-area-adjust)
14475 (balance-windows-area, window-state-put-2)
14476 (display-buffer-even-window-sizes, display-buffer-set-height)
14477 (display-buffer-set-width, set-window-text-height)
14478 (fit-window-to-buffer): Rename all "resize-window" prefixed
14479 calls to use the "window-resize" prefix convention.
14480 (display-buffer-alist): Fix symbol for label specifier.
14481 (display-buffer-reuse-window): Set reuse-dedicated to cdr of
14482 corresponding specifier.
14483 Reported by Juanma Barranquero <lekktu@gmail.com>.
d68443dc 14484
b6458526
VB
144852011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
14486
14487 * ses.el (ses-destroy-cell-variable-range): Fix heading comment
14488 convention.
14489 (ses-call-printer): Does not pass an empty string to formatter when the
14490 cell is empty to keep from barking printer Calc math-format-value.
14491
d31fd9ac
RS
144922011-06-27 Richard Stallman <rms@gnu.org>
14493
43d5bf84
RS
14494 * battery.el (battery-mode-line-limit): New variable.
14495 (battery-update): Handle it.
14496
d31fd9ac
RS
14497 * mail/rmailmm.el (rmail-mime-process-multipart):
14498 Handle truncated messages.
14499
819a6054
GM
145002011-06-27 Glenn Morris <rgm@gnu.org>
14501
14502 * progmodes/flymake.el (flymake-err-line-patterns):
14503 Allow for column numbers in the ant/javac pattern. (Bug#8866)
14504
cedc73f2
VB
145052011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
14506
819a6054 14507 * ses.el (ses-relocate-range): Keep rest of arguments for ses-range.
cedc73f2
VB
14508 (ses--clean-!, ses--clean-_): New functions.
14509 (ses-range): Add configurability of readout order, and conversion
14510 to Calc vector.
14511
5e5d49b6
VB
14512 * ses.el (ses-repair-cell-reference-all): New function.
14513 (ses-cell-symbol): Set macro as safe, so that it can be used in
14514 formulas.
14515
56e6cc31 14516 * ses.el: Update cycle detection algorithm.
90ca8b49 14517 (ses-localvars): Add ses--Dijkstra-attempt-nb and
819a6054 14518 ses--Dijkstra-weight-bound, and initial values thereof when applicable.
90ca8b49
VB
14519 (ses-set-localvars): New function.
14520 (ses-make-cell): Add property-list as a cell element.
14521 (ses-cell-property-get-fun, ses-cell-property-get)
14522 (ses-cell-property-delq-fun, ses-cell-property-set-fun)
819a6054
GM
14523 (ses-cell-property-pop-fun, ses-cell-property-get-handle-fun):
14524 New functions.
90ca8b49
VB
14525 (ses-cell-property-set, ses-cell-property-pop)
14526 (ses-cell-property-get-handle): New macro.
14527 (ses-cell-property-handle-car, ses-cell-property-handle-setcar):
14528 New aliases, used for code readability.
14529 (ses-calculate-cell, ses-update-cells): Use Dijkstra algorithm for
14530 cycle detection.
14531 (ses-self-reference-early-detection): New defcustom.
fac916bf 14532 (ses-formula-references): Robustify against self-referring cells.
90ca8b49
VB
14533 (ses-mode): Use ses-set-localvars.
14534 (ses-command-hook): Add call to ses-initialize-Dijkstra-attempt
14535 before lauching the update processing.
14536 (ses-initialize-Dijkstra-attempt): New function.
14537 (ses-recalculate-cell): Update for cycle detection based on
14538 Dijkstra algorithm.
14539
2bb63e81
VB
14540 * ses.el: Fix commenting and indenting convention.
14541
c9d29fb8
SM
145422011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
14543
14544 * bs.el (bs-cycle-next): Complete last change.
14545
d8e4b68b
JB
145462011-06-27 Drew Adams <drew.adams@oracle.com>
14547
14548 * faces.el (list-faces-display): Add help-mode-map to output (bug#8939).
14549
40098786
LMI
145502011-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
14551
c9d29fb8
SM
14552 * net/network-stream.el (network-stream-open-starttls):
14553 Don't re-get capabilities unless we've reestablished connection.
f6ab314e
LMI
14554 (network-stream-open-starttls): Fix stupid typo with gnutls-clii.
14555
40098786
LMI
14556 * mail/smtpmail.el (smtpmail-via-smtp): Bind coding-system-for-*
14557 to binary to possibly avoid line encoding issues on Windows (among
14558 other things).
14559
468d09d4
LMI
145602011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
14561
14562 * net/network-stream.el (open-network-stream): Return an :error
14563 saying what the problem was, if possible.
14564
14565 * mail/smtpmail.el (smtpmail-via-smtp): Report the error from the
14566 server.
14567
14568 * net/network-stream.el (network-stream-open-starttls): If we
14569 wanted to use STARTTLS, and the server offered it, but we weren't
14570 able to because we had no STARTTLS support, then close the connection.
14571 (open-network-stream): Return an :error element, if present.
14572
16f07dd7
CY
145732011-06-26 Chong Yidong <cyd@stupidchicken.com>
14574
88821ca0
CY
14575 * hl-line.el (hl-line-sticky-flag): Doc fix.
14576 (global-hl-line-sticky-flag): New option (Bug#8323).
14577 (global-hl-line-highlight): Obey it.
14578
16f07dd7
CY
14579 * vc/vc.el (vc-revert-show-diff): Default to t.
14580
6b5ccddf
KM
145812011-06-26 Ken Manheimer <ken.manheimer@gmail.com>
14582
c9d29fb8
SM
14583 * allout-widgets.el (allout-widgets-post-command-business):
14584 Stop decorating intermediate isearch matches. They're not being
6b5ccddf
KM
14585 undecorated when an isearch is continued past, and isearch
14586 automatically collapses them. This leads to "widget leaks", where
14587 decorated items accumulate in collapsed areas. Lines with lots of
c9d29fb8
SM
14588 hidden widgets can slow down cursor travel, substantially.
14589 Too much complicated machinery would be needed to ensure undecoration,
6b5ccddf
KM
14590 so we're doing without this nicety.
14591
14592 (allout-widgets-tally-string): Don't try to do a hash-table-count
14593 of allout-widgets-tally when it's nil. This eliminates spurious "Error
14594 during redisplay: (wrong-type-argument hash-table-p nil)" warnings in
14595 *Messages* when allout-widgets-maintain-tally is t.
14596
355f2e07
MR
145972011-06-26 Martin Rudalics <rudalics@gmx.at>
14598
14599 * window.el (display-buffer-normalize-argument): Rename to
14600 display-buffer-normalize-arguments. Handle special meaning of
6b5ccddf
KM
14601 LABEL argument. Respect special-display-function when popping up
14602 a new frame. Fix code searching for a window showing the buffer
14603 on another frame.
c9d29fb8
SM
14604 (display-buffer-normalize-specifiers):
14605 Call display-buffer-normalize-arguments.
355f2e07
MR
14606 (display-buffer-in-window): Don't undedicate the window if its
14607 buffer remains the same.
14608 Reported by Drew Adams <drew.adams@oracle.com>.
14609 (display-buffer-alist): Add choice for same-window macro
14610 specfier.
14611 (display-buffer): Mention special meaning of LABEL argument in
14612 doc-string. Fix quoting. Don't pop up a new frame even as
14613 fallback.
14614
7ca8fc42
JB
146152011-06-26 Juanma Barranquero <lekktu@gmail.com>
14616
14617 * bs.el (bs-cycle-next): Pass current buffer to `bury-buffer' to
14618 avoid deleting the current window in some cases (bug#8911).
14619
bc312254
AS
146202011-06-26 Andreas Schwab <schwab@linux-m68k.org>
14621
14622 * emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
14623 (Bug#8934)
14624
2db18f3f
LMI
146252011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
14626
c9d29fb8
SM
14627 * net/network-stream.el (network-stream-open-starttls):
14628 Use built-in TLS support if `gnutls-available-p' is true.
2db18f3f
LMI
14629 (network-stream-open-tls): Ditto.
14630
6302e0d3
LL
146312011-06-26 Leo Liu <sdl.web@gmail.com>
14632
14633 * register.el (registerv): New struct.
14634 (registerv-make): New function.
c9d29fb8
SM
14635 (jump-to-register, describe-register-1, insert-register):
14636 Support the jump-func, print-func and insert-func slot of a registerv
6302e0d3
LL
14637 struct. (Bug#8415)
14638
5fdd4046
CY
146392011-06-26 Chong Yidong <cyd@stupidchicken.com>
14640
2afef60a
CY
14641 * vc/vc.el (vc-revert-show-diff): New defcustom.
14642 (vc-diff-internal): New arg specifying diff buffer.
14643 (vc-revert): Obey vc-revert-show-diff. If we show a diff, don't
14644 reuse an existing *vc-diff* buffer (Bug#8927).
14645
5fdd4046
CY
14646 * progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode.
14647
e93db24a
GM
146482011-06-26 Glenn Morris <rgm@gnu.org>
14649
14650 * progmodes/f90.el (f90-critical-indent): New option.
14651 (f90-font-lock-keywords-2, f90-blocks-re, f90-end-block-re)
14652 (f90-start-block-re, f90-mode-abbrev-table): Add block, critical.
14653 (f90-mode): Doc fix.
14654 (f90-looking-at-critical, f90-looking-at-end-critical): New funcs.
14655 (f90-no-block-limit, f90-calculate-indent, f90-end-of-block)
14656 (f90-beginning-of-block, f90-next-block, f90-indent-region)
14657 (f90-match-end): Handle block, critical.
14658
eefff499
GM
146592011-06-25 Glenn Morris <rgm@gnu.org>
14660
f6ba4cc9
GM
14661 * calendar/diary-lib.el (diary-included-files): Doc fix.
14662 (diary-include-files): New function, extracted from
14663 diary-include-other-diary-files and diary-mark-included-diary-files.
14664 (diary-include-other-diary-files, diary-mark-included-diary-files):
14665 Just call diary-include-files.
14666 (diary-mark-entries): Reset diary-included-files on first call.
14667
16712304
GM
14668 * calendar/diary-lib.el (diary-mark-entries)
14669 (diary-mark-included-diary-files):
14670 Visit included diary-files in temp buffers.
14671
5d8e0d43
GM
14672 * progmodes/f90.el (f90-keywords-re, f90-font-lock-keywords-1)
14673 (f90-blocks-re, f90-program-block-re, f90-end-block-re)
14674 (f90-start-block-re, f90-imenu-generic-expression)
14675 (f90-looking-at-program-block-start, f90-no-block-limit):
14676 Add support for submodules.
14677
ccf7a5d5
GM
14678 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
14679 (f90-procedures-re, f90-constants-re): Add some F2008 stuff.
eefff499 14680
11fdef7d 146812011-06-25 Eli Zaretskii <eliz@gnu.org>
638e9005
EZ
14682
14683 * net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
14684 buffer-file-type before setting its value, to avoid disastrous
eefff499 14685 global effects on decoding files for DOS/Windows systems. (Bug#8780)
638e9005 14686
74f53697
JB
146872011-06-25 Juanma Barranquero <lekktu@gmail.com>
14688
14689 * allout.el (allout-unload-function): Pass -1 to `allout-mode'.
14690
14691 * ses.el (ses-unload-function):
14692 * emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
14693
14694 * proced.el (proced-unload-function):
14695 * progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.
14696
18a4ce5e
AR
146972011-06-25 Andreas Rottmann <a.rottmann@gmx.at>
14698
14699 * server.el (server-create-window-system-frame): Add parameters arg.
14700 (server-process-filter): Doc fix. Handle frame-parameters.
14701
519d22cc
JB
147022011-06-25 Juanma Barranquero <lekktu@gmail.com>
14703
14704 Fix bug#8730, bug#8781.
14705
14706 * loadhist.el (unload--set-major-mode): New function.
14707 (unload-feature): Use it.
14708
14709 * progmodes/python.el (python-after-info-look): Add autoload cookie.
14710 (python-unload-function): New function.
14711
c206f5b0
SM
147122011-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
14713
14714 * mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.
14715
f9ad64f3
GS
147162011-06-25 Giuseppe Scrivano <gscrivano@gnu.org>
14717
14718 * net/browse-url.el (browse-url-firefox-program): Add icecat to
14719 the candidates list.
14720
7d0da90e
JB
147212011-06-24 Juanma Barranquero <lekktu@gmail.com>
14722
14723 * progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable.
14724
14b4e83d
RS
147252011-06-23 Richard Stallman <rms@gnu.org>
14726
14727 * mail/rmail.el: Going to grep hit in Rmail buffer finds the message.
14728 (rmail-variables): Set next-error-move-function.
14729 (rmail-what-message): Take argument POS.
14730 (rmail-next-error-move): New function.
14731
273d2baf
SM
147322011-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
14733
14734 * emacs-lisp/smie.el (smie-bnf->prec2): Give more understandable error
14735 messages for adjacent non-terminals.
14736
56c2cc9a
RS
147372011-06-23 Richard Stallman <rms@gnu.org>
14738
14739 * mail/rmail.el (rmail-retry-ignored-headers): Add message-id.
f444564c 14740 (rmail-show-message-1): Preserve buffer modified flag.
8050daa1
RS
14741 (rmail-start-mail): Don't specify use of rmail-mail-return;
14742 that's done by mail-bury now.
14743 (rmail-mail-return): Handle arg NEWBUF.
56c2cc9a 14744
d59eb518
MA
147452011-06-23 Michael Albinus <michael.albinus@gmx.de>
14746
14747 * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
14748 SIZE is a number.
14749
02cfc6d6
MR
147502011-06-23 Martin Rudalics <rudalics@gmx.at>
14751
14752 * window.el (get-lru-window, get-mru-window)
14753 (get-largest-window): Never return a minibuffer window.
14754 (display-buffer-pop-up-window): Fix a bug that could lead to
14755 reusing the minibuffer window.
14756 (display-buffer): Pass original specifier argument to
14757 display-buffer-function instead of the normalized one.
14758 Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
14759
4e323265
LL
147602011-06-22 Leo Liu <sdl.web@gmail.com>
14761
14762 * minibuffer.el (completing-read-function)
14763 (completing-read-default): Move from minibuf.c
14764
7a70468f
RS
147652011-06-22 Richard Stallman <rms@gnu.org>
14766
50718fc2
RS
14767 * mail/sendmail.el (mail-bury): If Rmail is in use, return nicely
14768 to Rmail even if not started by a special Rmail command.
14769
7a70468f
RS
14770 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
14771 Copy the buffer currently showing just one message.
14772
297dde5a
RW
147732011-06-22 Roland Winkler <winkler@gnu.org>
14774
14775 * textmodes/bibtex.el (bibtex-entry-update): Use mapc.
14776 (bibtex-clean-entry): First delete the old key so that a
14777 customized algorithm for generating the new key does not get
14778 confused by the old key.
14779 (bibtex-url): Obey regexp of first step.
14780 (bibtex-search-entries): Do not use add-to-list with local
14781 list-var.
14782
97bb1093
LMI
147832011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
14784
14785 * mail/smtpmail.el (smtpmail-try-auth-methods): If the user has
14786 stored a user name, then query for the password first, instead of
14787 waiting for SMTP to give an error message and the trying again.
14788
1c0f1a19
JD
147892011-06-22 Lawrence Mitchell <wence@gmx.li>
14790
14791 * net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
14792 BUFFER in call-process.
14793
396f7c9d
LMI
147942011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
14795
14796 * mail/smtpmail.el (smtpmail-via-smtp): Make sure we don't send
14797 QUIT twice.
ddb7ffee
LMI
14798 (smtpmail-try-auth-methods): Require user name and password from
14799 auth-source.
396f7c9d 14800
8998d1b3
MR
148012011-06-22 Martin Rudalics <rudalics@gmx.at>
14802
14803 * window.el (display-buffer-default-specifiers)
14804 (display-buffer-alist): Remove entries for pop-up-frame-alist.
14805 Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
130e3e11 14806 (split-window): Normalize SIDE argument (Bug#8916).
8998d1b3
MR
14807
14808 * frame.el (pop-up-frame-alist, pop-up-frame-function)
14809 (special-display-frame-alist, special-display-popup-frame):
14810 Remove duplicate declarations. These are now in window.el.
14811
4ea31e07
LMI
148122011-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
14813
c9d29fb8
SM
14814 * mail/smtpmail.el (smtpmail-via-smtp):
14815 Set :use-starttls-if-possible so that we always use STARTTLS if the
6af7a784
LMI
14816 server supports it. SMTP servers that support STARTTLS commonly
14817 require it.
14818
14819 * net/network-stream.el (network-stream-open-starttls): Support
14820 upgrading to STARTTLS always, even if we don't have built-in support.
fa463103 14821 (open-network-stream): Add the :always-query-capabilities keyword.
6af7a784 14822
95f41d9a
LMI
14823 * mail/smtpmail.el: Rewritten to do opportunistic STARTTLS
14824 upgrades with `open-network-stream', and rely solely on
14825 auth-source for all credentials. Big changes throughout the file,
14826 but in particular:
c9d29fb8
SM
14827 (smtpmail-auth-credentials): Remove.
14828 (smtpmail-starttls-credentials): Remove.
7d36ad46
LMI
14829 (smtpmail-via-smtp): Check for servers saying they want AUTH after
14830 MAIL FROM, too.
95f41d9a 14831
c9d29fb8
SM
14832 * net/network-stream.el (network-stream-open-starttls):
14833 Provide support for client certificates both for external and built-in
4ea31e07
LMI
14834 STARTTLS.
14835 (auth-source): Require.
14836 (open-network-stream): Document the :client-certificate keyword.
eb8c9362
LMI
14837 (network-stream-certificate): Change cert-cert to cert and
14838 cert-key to key.
4ea31e07 14839
065ec2c7
MA
148402011-06-21 Michael Albinus <michael.albinus@gmx.de>
14841
14842 * net/tramp-cache.el (top): Don't load the persistency file when
14843 "emacs -Q" has been called.
14844
cd93b359
DR
148452011-06-21 Tim Harper <timcharper@gmail.com>
14846
d8e4b68b
JB
14847 * term/ns-win.el (ns-initialize-window-system):
14848 Set application-specific `ApplePressAndHoldEnabled' system
cd93b359
DR
14849 resource to NO as it is not yet supported by the NS port.
14850
ae9c0411
JB
148512011-06-21 Juanma Barranquero <lekktu@gmail.com>
14852
14853 * misc.el (list-dynamic-libraries--refresh): Compute header here...
14854 (list-dynamic-libraries): ...not here.
14855
7f3f739f
LL
148562011-06-21 Leo Liu <sdl.web@gmail.com>
14857
14858 * subr.el (sha1): Implement sha1 using secure-hash.
14859
327c8fb1
MR
148602011-06-21 Martin Rudalics <rudalics@gmx.at>
14861
14862 * window.el (display-buffer-alist): In default value do not
14863 enforce searching a window on any but the selected frame.
14864 Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
14865 (display-buffer-select-window): Remove function.
14866 (display-buffer-in-window): When a window on another frame gets
14867 reused, do not select it any more but just raise its frame if
14868 necessary (Bug#8851) and (Bug#8856).
14869 (display-buffer-normalize-options): Handle pop-up-frames related
14870 options more faithfully.
14871 (pop-to-buffer): Don't rely on `display-buffer' selecting the
14872 window if it is on another frame.
c9d29fb8
SM
14873 (display-buffer-alist, display-buffer-default-specifiers):
14874 Don't make new frame unsplittable by default.
9e9de014
MR
14875 (display-buffer-normalize-argument): Fix doc-string typo and use
14876 'same-frame-other-window instead of 'other-window when associating
14877 with display-buffer-macro-specifiers.
327c8fb1 14878
7cf3f556
VB
148792011-06-21 Vincent Belaïche <vincent.b.1@hotmail.fr>
14880
14881 * play/5x5.el (5x5-solve-rotate-left, 5x5-solve-rotate-right):
14882 New functions.
14883 (5x5-mode-map, 5x5-mode-menu): Bind them.
14884 (5x5-draw-grid): Tweak the solver's rendering.
14885
60a406cf
SM
148862011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
14887
14888 * progmodes/compile.el (compilation-error-regexp-alist-alist): Rename
14889 `caml' to `python-tracebacks-and-caml'; allow leading tabs (bug#8585).
14890
d8e4b68b 148912011-06-21 Drew Adams <drew.adams@oracle.com>
5d907d6c
DA
14892
14893 * menu-bar.el: Use function variable instead of switch-to-buffer.
14894 (menu-bar-select-buffer-function): New variable.
60a406cf 14895 (menu-bar-update-buffers): Use it (bug#8876).
5d907d6c 14896
478d6f95
SM
148972011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
14898
14899 * emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
14900 variable's status.
14901
ca530739
JD
149022011-06-20 Jan Djärv <jan.h.d@swipnet.se>
14903
14904 * x-dnd.el (x-dnd-version-from-flags)
14905 (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
14906 and long as number (Bug#8899).
14907 (x-dnd-handle-xdnd): Call functions above (Bug#8899).
14908
bcd70d97
SM
149092011-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
14910
60a406cf 14911 * minibuffer.el (completion-metadata): Add `metadata' to the alist.
4cb3bfa0
SM
14912 (completion-try-completion, completion-all-completions): Compute the
14913 metadata argument if it's missing; make it optional (bug#8795).
14914
60a406cf 14915 * wid-edit.el: Use lex-bind and move towards completion-at-point.
bcd70d97
SM
14916 (widget-complete): Use new :completion-function property.
14917 (widget-completions-at-point): New function.
14918 (default): Use :completion-function instead of :complete.
60a406cf
SM
14919 (widget-default-completions): Rename from widget-default-complete;
14920 Rewrite.
bcd70d97
SM
14921 (widget-string-complete, widget-file-complete, widget-color-complete):
14922 Remove functions.
14923 (file, symbol, function, variable, coding-system, color):
14924 * international/mule-cmds.el (default-input-method, charset)
14925 (language-info-custom-alist):
14926 * cus-edit.el (face): Use new property :completions.
14927
14928 * progmodes/pascal.el (pascal-completions-at-point): New function.
14929 (pascal-mode): Use it.
14930 (pascal-mode-map): Use completion-at-point.
14931 (pascal-toggle-completions): Make obsolete.
14932 (pascal-complete-word, pascal-show-completions):
14933 * progmodes/octave-mod.el (octave-complete-symbol):
14934 Redefine as obsolete alias.
14935 * progmodes/octave-inf.el (inferior-octave-completion-at-point):
14936 Signal absence of completion info for old Octave,
14937 (inferior-octave-complete): Redefine as obsolete alias.
14938 * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
14939 (meta-completions-at-point): Rename from meta-complete-symbol and
14940 adapt it for use on completion-at-point-functions.
14941 (meta-common-mode): Use it.
14942 (meta-looking-at-backward, meta-match-buffer): Remove.
14943 (meta-complete-symbol): Redefine as obsolete alias.
14944 (meta-common-mode-map): Use completion-at-point.
14945 * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
14946 (makefile-mode-map): Use completion-at-point.
14947 (makefile-completions-at-point): Rename from makefile-complete and
14948 adapt it for use on completion-at-point-functions.
14949 (makefile-mode): Use it.
14950 (makefile-complete): Redefine as obsolete alias.
14951
aebf69c8
DD
149522011-06-20 Deniz Dogan <deniz@dogan.se>
14953
14954 * net/rcirc.el: Delete trailing whitespaces once and for all.
14955
bfbbb27d
DC
149562011-06-20 Daniel Colascione <dan.colascione@gmail.com>
14957
14958 * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
14959
d264a46b
CY
149602011-06-19 Chong Yidong <cyd@stupidchicken.com>
14961
4ca009e5
CY
14962 * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
14963
d264a46b
CY
14964 * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
14965
fbf5b3ce
MR
149662011-06-19 Martin Rudalics <rudalics@gmx.at>
14967
14968 * window.el (display-buffer-other-window-means-other-frame):
14969 Call display-buffer-normalize-alist.
14970 (display-buffer-normalize-specifiers-1): Rename to
14971 display-buffer-normalize-argument. New argument other-frame.
14972 Rewrite.
14973 (display-buffer-normalize-specifiers-2): Rename to
14974 display-buffer-normalize-options.
14975 (display-buffer-normalize-alist-1): New function.
14976 (display-buffer-normalize-specifiers-3): Rename to
bcd70d97
SM
14977 display-buffer-normalize-alist.
14978 Call display-buffer-normalize-alist-1.
fbf5b3ce
MR
14979 (display-buffer-normalize-options-inhibit): New variable.
14980 (display-buffer-normalize-specifiers): Rewrite calling
14981 display-buffer-normalize-alist,
14982 display-buffer-normalize-argument, and
14983 display-buffer-normalize-options. Don't call the latter if
14984 display-buffer-normalize-options-inhibit is non-nil.
14985 (frame-auto-delete): New option.
14986 (window-deletable-p): Use frame-auto-delete.
9d89fec7
MR
14987 (window-list-no-nils, window-state-ignored-parameters)
14988 (window-state-get-1, window-state-get, window-state-put-list)
bcd70d97
SM
14989 (window-state-put-1, window-state-put-2, window-state-put):
14990 New functions.
9a028c23
MR
14991 (display-buffer-normalize-options): Move special-display-p group
14992 after pop-up-frame group (Bug#8851) and (Bug#8856).
fbf5b3ce 14993
6d10d800
CY
149942011-06-18 Chong Yidong <cyd@stupidchicken.com>
14995
6420d28b
CY
14996 * emacs-lisp/rx.el (rx-constituents): Add support for numbered
14997 groups (Bug#8776).
14998 (rx-submatch-n): New function.
14999 (rx): Document it.
15000
ddb8b596
CY
15001 * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
15002 (Bug#8768).
15003
15004 * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
15005
77080289
CY
15006 * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
15007
61dfb316
CY
15008 * cus-face.el (custom-declare-face): Call custom-theme-recalc face
15009 anytime existing face settings are present (Bug#8889).
15010
6d10d800
CY
15011 * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
15012 (delphi-mode): Use define-derived-mode to inherit from prog-mode.
15013 Remove unused argument.
15014
be3fb2b8
MR
150152011-06-18 Martin Rudalics <rudalics@gmx.at>
15016
bcd70d97
SM
15017 * window.el (display-buffer-default-specifiers):
15018 Remove pop-up-frame. Add pop-up-window-min-height,
be3fb2b8
MR
15019 pop-up-window-min-width, and another reuse-window specifier
15020 (Bug#8882). Reported by Dan Nicolaescu <dann@gnu.org>.
bcd70d97
SM
15021 (display-buffer-normalize-specifiers-2):
15022 Handle split-height-threshold and split-width-threshold also when
be3fb2b8
MR
15023 pop-up-windows is unset. Add a reuse-window specifier for the
15024 case popping up a new window fails.
15025 (special-display-popup-frame): Remove double quoting.
28dec25a 15026 (display-buffer-normalize-specifiers-1): Fix thinko.
be3fb2b8 15027
1c6d8c76
SM
150282011-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
15029
15030 * shell.el (shell-completion-vars): Set pcomplete-termination-string
15031 according to comint-completion-addsuffix.
15032
15033 * pcomplete.el: Convert to lexical binding and fix bug#8819.
15034 (pcomplete-suffix-list): Mark as obsolete.
15035 (pcomplete-completions-at-point): Capture pcomplete-norm-func and
15036 pcomplete-seen in the closure.
15037 (pcomplete-comint-setup): Setup completion-at-point as well.
15038 (pcomplete--entries): New function.
15039 (pcomplete--env-regexp): New var.
15040 (pcomplete-entries): Rewrite to work with partial-completion and
15041 without relying on pcomplete-suffix-list.
15042 (pcomplete-pare-list): Remove, unused.
15043
25aef8b8
MR
150442011-06-17 Martin Rudalics <rudalics@gmx.at>
15045
15046 * window.el (display-buffer-alist): Set pop-up-window-min-height
15047 and pop-up-window-min-width in default value. Reported by
15048 Thierry Volpiatto <thierry.volpiatto@gmail.com>. New specifier
15049 other-window-means-other-frame.
15050 (display-buffer-macro-specifiers): Comment out entry for
15051 other-window specifier.
15052 (display-buffer-other-window-means-other-frame): New function.
15053 (display-buffer-normalize-specifiers-1): New arguments
15054 buffer-name and label. Treat other-window case specially.
15055 (display-buffer-normalize-specifiers-2): Treat other-window case
15056 specially.
15057 (display-buffer-normalize-specifiers-3): New function.
bcd70d97
SM
15058 (display-buffer-normalize-specifiers):
15059 Call display-buffer-normalize-specifiers-3.
25aef8b8 15060
dbad4f69
MR
150612011-06-17 Martin Rudalics <rudalics@gmx.at>
15062
15063 * window.el (same-window-p): Fix two typos introduced when
15064 adding with-no-warnings.
d1067961
MR
15065 (display-buffer-normalize-specifiers-1): Don't check
15066 pop-up-frames for 'unset initialization.
15067 (display-buffer-normalize-specifiers-2): Major rewrite using
15068 special-display-p and same-window-p (Bug#8851) and (Bug#8856).
15069 (pop-up-frames, display-buffer-reuse-frames)
15070 (display-buffer-mark-dedicated): Don't initialize to 'unset.
15071 Suggested by David Engster <deng@randomsample.de>.
15072 (even-window-heights): Initialize to 'unset.
15073 (display-buffer-alist-set): Handle new 'unset initializations.
25aef8b8
MR
15074 (display-buffer-macro-specifiers): Don't pop up a new frame in the
15075 other window case.
dbad4f69 15076
9b9c9e3a
MR
150772011-06-16 Martin Rudalics <rudalics@gmx.at>
15078
bcd70d97
SM
15079 * window.el (display-buffer-normalize-specifiers-1):
15080 Respect current value of pop-up-frames for most reasonable values of
9b9c9e3a 15081 second argument of display-buffer (Bug#8865).
981d5c09
MR
15082 (switch-to-buffer-same-frame, switch-to-buffer-other-window)
15083 (switch-to-buffer-other-window-same-frame)
15084 (switch-to-buffer-other-frame): Fix doc-strings. Reported by Drew
15085 Adams (Bug#8875).
9c2755e9
MR
15086 (display-buffer): Don't check noninteractive when calling
15087 display-buffer-pop-up-frame.
15088 (display-buffer-pop-up-frame): Never pop up a frame in
15089 noninteractive mode (Bug#8857).
67222e1d
MR
15090 (enlarge-window, shrink-window): Don't report an error when the
15091 window can't be resized as requested (Bug#8862).
9b9c9e3a 15092
2b75be67
SM
150932011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
15094
9ffdd3ba
SM
15095 * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
15096
cb581a67
SM
15097 * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
15098
2b75be67
SM
15099 * abbrev.el (define-abbrev-table): Don't add a table multiple times.
15100
8c0e3589
AM
151012011-06-15 Alan Mackenzie <acm@muc.de>
15102
cb581a67
SM
15103 * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
15104 for declarators, disable knr checking to speed up for normal files.
15105 2: Refactor, replacing a sequence of nested if forms by a cond form.
8c0e3589 15106
b96e6cde
LMI
151072011-06-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
15108
4bba86e6
LMI
15109 * net/network-stream.el (open-network-stream): Add the keyword
15110 :always-query-capabilities for the case where you want to force a
15111 `plain' network connection, but the protocol still requires the
15112 capabilitiy command (i.e., SMTP and EHLO).
15113
2b75be67 15114 * subr.el (process-live-p): Rename from `process-alive-p' for
b96e6cde
LMI
15115 consistency with other `-live-p' functions.
15116
efdcdbf8
SM
151172011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
15118
15119 * window.el (same-window-buffer-names, same-window-regexps)
15120 (special-display-frame-alist, special-display-popup-frame)
15121 (special-display-function, special-display-buffer-names)
15122 (special-display-regexps, pop-up-frame-alist)
15123 (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
15124 (pop-up-windows, split-window-preferred-function)
15125 (split-height-threshold, split-width-threshold, even-window-heights)
15126 (display-buffer-mark-dedicated): Don't encourage the use of
15127 display-buffer-alist from Elisp code.
15128
c5cde042
DN
151292011-06-15 Dan Nicolaescu <dann@ics.uci.edu>
15130
15131 * progmodes/python.el (python-mode): Derive from prog-mode.
15132 * progmodes/ps-mode.el (ps-mode):
15133 * progmodes/mixal-mode.el (mixal-mode):
50328a1b 15134 * progmodes/cfengine.el (cfengine-mode):
c5cde042
DN
15135 * progmodes/ld-script.el (ld-script-mode): Likewise.
15136
baa1c9ab
MR
151372011-06-15 Martin Rudalics <rudalics@gmx.at>
15138
15139 * window.el (display-buffer-alist): Trim default value to avoid
15140 popping up a new frame (Bug#8857) or reusing an arbitrary window
15141 on another frame.
15142 (display-buffer): Do not fall back on popping up a new frame in
15143 batch mode (Bug#8857).
15144
c5dd5a51
CY
151452011-06-14 Chong Yidong <cyd@stupidchicken.com>
15146
15147 * cus-theme.el (describe-theme-1): Use custom-theme-p.
15148 (custom-theme-summary): New function.
15149 (customize-themes): Use it.
15150
d647b7c4
GM
151512011-06-13 Glenn Morris <rgm@gnu.org>
15152
15153 * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
15154
9481c002
MR
151552011-06-13 Martin Rudalics <rudalics@gmx.at>
15156
357f93d2
MR
15157 * help.el (help-window): Remove variable.
15158 (help-window-point-marker, temp-buffer-max-height)
15159 (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
15160 (help-print-return-message): Don't set help-window.
15161 (resize-temp-buffer-window): Rewrite cod eand doc-string.
15162 (help-window-setup-finish): Remove.
15163 (help-window-display-message, help-window-setup)
15164 (with-help-window): Major rewrite based on new
15165 display-buffer-window variable.
15166
15167 * help-mode.el (help-mode-finish): Remove help-window related
15168 code.
15169
15170 * view.el (view-exits-all-viewing-windows): Remove reference to
15171 view-return-to-alist in doc-string.
15172 (view-return-to-alist): Make obsolete.
15173 (view-buffer): Call pop-to-buffer-same-window and remove
15174 undo-window code.
15175 (view-buffer-other-window): Call pop-to-buffer-other-window and
15176 simplify code. Ignore second argument.
15177 (view-buffer-other-frame): Call pop-to-buffer-other-frame and
15178 simplify code. Ignore second argument.
15179 (view-return-to-alist-update): Make obsolete.
15180 (view-mode-enter): Rename second argument to QUIT-RESTORE.
15181 Rewrite using quit-restore window parameters.
2b75be67
SM
15182 (view-mode-exit): Rename second argument to EXIT-ONLY.
15183 Rewrite using quit-restore-window.
357f93d2
MR
15184 (View-exit, View-exit-and-edit, View-leave, View-quit)
15185 (View-quit-all, View-kill-and-leave): Call view-mode-exit with
15186 appropriate arguments.
15187 (view-end-message): Use quit-restore window parameter.
15188
9481c002
MR
15189 * window.el (display-buffer-function): Rewrite doc-string.
15190 (display-buffer-window, display-buffer-alist): New variables.
15191 (display-buffer-split-specifiers)
15192 (display-buffer-side-specifiers)
15193 (display-buffer-macro-specifiers): New constants.
15194 (display-buffer-even-window-sizes, display-buffer-set-height)
15195 (display-buffer-set-width, display-buffer-select-window)
15196 (display-buffer-in-window, display-buffer-reuse-window)
15197 (display-buffer-split-window-1, display-buffer-split-window)
15198 (display-buffer-split-atom-window, display-buffer-pop-up-window)
15199 (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
15200 (display-buffer-in-side-window, normalize-buffer-to-display)
15201 (display-buffer-normalize-specifiers-1)
15202 (display-buffer-normalize-specifiers-2)
2b75be67
SM
15203 (display-buffer-normalize-specifiers, display-buffer-frame):
15204 New functions.
9481c002
MR
15205 (display-buffer): Major rewrite.
15206 (display-buffer-other-window, display-buffer-other-frame)
15207 (pop-to-buffer, switch-to-buffer-other-window)
15208 (switch-to-buffer-other-frame): Rewrite.
15209 (display-buffer-same-window, display-buffer-same-frame)
15210 (display-buffer-same-frame-other-window)
15211 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
15212 (pop-to-buffer-other-window)
15213 (pop-to-buffer-same-frame-other-window)
15214 (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
15215 (switch-to-buffer-other-window-same-frame): New functions.
15216 (same-window-p, special-display-p): Rewrite disabling warnings.
15217 Make obsolete.
15218 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
15219 (display-buffer-mark-dedicated): Initialize to symbol 'unset.
15220 Make obsolete
15221 (same-window-buffer-names, same-window-regexps)
15222 (special-display-frame-alist, special-display-popup-frame)
15223 (special-display-function, special-display-buffer-names)
15224 (special-display-regexps, pop-up-frame-alist)
15225 (pop-up-frame-function, split-window-preferred-function)
15226 (split-height-threshold, split-width-threshold)
15227 (even-window-heights): Make obsolete.
15228
9db51aca
GM
152292011-06-12 Glenn Morris <rgm@gnu.org>
15230
15231 * term/xterm.el (terminal-init-xterm): `version' may be nil. (Bug#8838)
7cb363eb 15232 Misc simplifications.
9db51aca 15233
39cffb44
MR
152342011-06-12 Martin Rudalics <rudalics@gmx.at>
15235
15236 * window.el (window-safely-shrinkable-p): Restore function which
15237 was inadvertently removed in change from 2011-06-11. Declare as
15238 obsolete.
15239
2b75be67
SM
15240 * calendar/calendar.el (calendar-generate-window):
15241 Use window-iso-combined-p instead of combination of one-window-p and
39cffb44
MR
15242 window-safely-shrinkable-p.
15243
a8955be7
GM
152442011-06-12 Glenn Morris <rgm@gnu.org>
15245
15246 * progmodes/fortran.el (fortran-mode-syntax-table):
15247 * progmodes/f90.el (f90-mode-syntax-table):
15248 Set % to punctuation. (Bug#8820)
15249 (f90-find-tag-default): Remove, no longer needed.
15250
f0d4059d
DC
152512011-06-12 Daniel Colascione <dan.colascione@gmail.com>
15252
15253 * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
15254
1100a63c
CY
152552011-06-11 Chong Yidong <cyd@stupidchicken.com>
15256
15257 * image.el (image-animated-p): Return animation delay in seconds.
15258 Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
15259 (image-animate-timeout): Remove DELAY argument. Don't assume
15260 every subimage has the same delay; get it from image-animated-p.
15261 (image-animate): Caller changed.
15262
def722bf
MA
152632011-06-11 Michael Albinus <michael.albinus@gmx.de>
15264
15265 * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
15266 to ignored backtrace functions.
15267
0a2bb1a9
GM
152682011-06-11 Glenn Morris <rgm@gnu.org>
15269
15270 * calendar/appt.el (appt-disp-window-function): Doc fix.
15271 (appt-check): Handle overlapping appointments. (Bug#8337)
15272
6198ccd0
MR
152732011-06-11 Martin Rudalics <rudalics@gmx.at>
15274
15275 * window.el (window-tree-1, window-tree): New functions, moving
15276 the latter to window.el.
15277 (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
15278 (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
15279 (bw-refresh-edges): Remove.
15280 (balance-windows-1, balance-windows-2): New functions.
15281 (balance-windows): Rewrite in terms of window tree functions,
15282 balance-windows-1 and balance-windows-2.
15283 (bw-adjust-window): Remove.
15284 (balance-windows-area-adjust): New function with functionality of
15285 bw-adjust-window but using resize-window.
2b75be67
SM
15286 (set-window-text-height): Rewrite doc-string.
15287 Use normalize-live-window and resize-window.
15288 (enlarge-window-horizontally, shrink-window-horizontally):
15289 Rename argument to DELTA.
6198ccd0
MR
15290 (window-buffer-height): New function.
15291 (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
15292 Rewrite using new window resize routines.
2b75be67
SM
15293 (kill-buffer-and-window, mouse-autoselect-window-select):
15294 Use ignore-errors instead of condition-case.
6198ccd0
MR
15295 (quit-window): Call delete-frame instead of delete-windows-on
15296 for the only buffer on frame.
15297
9397e56f
MR
152982011-06-10 Martin Rudalics <rudalics@gmx.at>
15299
15300 * loadup.el (top-level): Load window before files for the sake
15301 of replace-buffer-in-windows.
15302
15303 * files.el (read-buffer-to-switch)
15304 (switch-to-buffer-other-window)
2b75be67
SM
15305 (switch-to-buffer-other-frame, display-buffer-other-frame):
15306 Move to window.el.
9397e56f
MR
15307
15308 * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
15309 (previous-buffer): Move to window.el.
15310
15311 * bindings.el (unbury-buffer): Move to window.el.
15312
15313 * window.el (delete-other-windows-vertically): Move after
15314 definition of delete-other-windows.
15315 (other-window, delete-windows-on, replace-buffer-in-windows):
15316 Move here from window.c.
15317 (record-window-buffer, unrecord-window-buffer)
15318 (set-window-buffer-start-and-point, switch-to-prev-buffer)
15319 (switch-to-next-buffer): New functions.
15320 (get-next-valid-buffer, last-buffer, next-buffer): Move here
15321 from simple.el. Call switch-to-next-buffer.
2b75be67
SM
15322 (previous-buffer): Move here from simple.el.
15323 Call switch-to-prev-buffer.
9397e56f
MR
15324 (bury-buffer): Move here from buffer.c. Switch to previous
15325 buffer when window cannot be deleted.
15326 (unbury-buffer): Move here from bindings.el.
15327 (ctl-x-map): Move binding for other-window from window.c to
15328 here.
15329 (read-buffer-to-switch, switch-to-buffer-other-window)
15330 (switch-to-buffer-other-frame): Move here from files.el.
15331 (normalize-buffer-to-switch-to): New functions.
2b75be67
SM
15332 (switch-to-buffer): Move here from buffer.c.
15333 Use read-buffer-to-switch and normalize-buffer-to-switch-to.
9397e56f 15334
562dd5e9
MR
153352011-06-10 Martin Rudalics <rudalics@gmx.at>
15336
15337 * window.el (window-min-height, window-min-width): Move here
15338 from window.c. Add defcustoms and rewrite doc-strings.
15339 (resize-mini-window, resize-window): New functions.
15340 (adjust-window-trailing-edge, enlarge-window, shrink-window):
15341 Move here from window.c.
15342 (maximize-window, minimize-window): New functions.
15343 (delete-window, delete-other-windows, split-window): Move here
15344 from window.c.
15345 (window-split-min-size): New function.
15346 (split-window-keep-point): Mention split-window-above-each-other
15347 instead of split-window-vertically.
2b75be67 15348 (split-window-above-each-other, split-window-vertically):
1154d12e
JB
15349 Rename split-window-vertically to split-window-above-each-other
15350 and provide defalias for old definition.
15351 (split-window-side-by-side, split-window-horizontally):
15352 Rename split-window-horizontally to split-window-side-by-side
15353 and provide defalias for the old definition.
562dd5e9
MR
15354 (ctl-x-map): Move bindings for delete-window,
15355 delete-other-windows and enlarge-window here from window.c.
15356 Replace bindings for split-window-vertically and
15357 split-window-horizontally by bindings for
15358 split-window-above-each-other and split-window-side-by-side.
15359
15360 * cus-start.el (all): Remove entries for window-min-height and
15361 window-min-width. Add entries for window-splits and
15362 window-nest.
15363
f0da764a
GM
153642011-06-09 Glenn Morris <rgm@gnu.org>
15365
80675c21
GM
15366 * calendar/appt.el (appt-mode-line): New function.
15367 (appt-check, appt-disp-window): Use it.
15368
f0da764a
GM
15369 * files.el (hack-one-local-variable-eval-safep):
15370 Allow minor-modes with explicit +/-1 arguments.
15371
59f623b7
TZ
153722011-06-09 Teodor Zlatanov <tzz@lifelogs.com>
15373
15374 * term/xterm.el (xterm): Add defgroup.
15375 (xterm-extra-capabilities): Add defcustom to supply known xterm
15376 capabilities, skip querying them, or query them (default).
15377 (terminal-init-xterm): Use it.
15378 (terminal-init-xterm-modify-other-keys): New function to set up
15379 modifyOtherKeys support to simplify `terminal-init-xterm'.
15380
9aab8e0d
MR
153812011-06-09 Martin Rudalics <rudalics@gmx.at>
15382
15383 * window.el (resize-window-reset, resize-window-reset-1)
15384 (resize-subwindows-skip-p, resize-subwindows-normal)
15385 (resize-subwindows, resize-other-windows, resize-this-window)
15386 (resize-root-window, resize-root-window-vertically)
15387 (window-deletable-p, window-or-subwindow-p)
15388 (frame-root-window-p): New functions.
15389
e8b08aee
GM
153902011-06-09 Glenn Morris <rgm@gnu.org>
15391
15392 * net/ange-ftp.el (ange-ftp-switches-ok): New function.
15393 (ange-ftp-get-files): Use it.
15394
254c37a5
AK
153952011-06-09 Alexander Klimov <alserkli@inbox.ru> (tiny change)
15396
15397 * mail/sendmail.el (mail-recover-1, mail-recover):
15398 * files.el (recover-file, recover-session):
15399 Handle dired-listing-switches not being just a single short option.
15400
35d7dbd3
GM
154012011-06-09 Glenn Morris <rgm@gnu.org>
15402
15403 * calendar/appt.el (appt-display-message, appt-disp-window):
15404 Handle lists of appointments.
15405
387522b2
MR
154062011-06-08 Martin Rudalics <rudalics@gmx.at>
15407
2b75be67
SM
15408 * window.el (one-window-p): Move down in code.
15409 Rewrite doc-string.
15410 (window-current-scroll-bars): Rewrite doc-string.
15411 Normalize live window argument.
387522b2
MR
15412 (walk-windows, get-window-with-predicate, count-windows):
15413 Rewrite doc-string. Use window-list-1.
15414 (window-in-direction-2, window-in-direction, get-mru-window):
15415 New functions.
15416
d8e4b68b 154172011-06-08 Reuben Thomas <rrt@sc3d.org>
2c587104
GM
15418
15419 * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
15420 Doc fix (Bug#8713).
15421
154222011-06-08 Chong Yidong <cyd@stupidchicken.com>
15423
15424 * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
15425
154262011-06-08 Juanma Barranquero <lekktu@gmail.com>
15427
15428 * loadhist.el (unload-feature-special-hooks):
15429 Add `comint-output-filter-functions'.
15430
0de12c52
IK
154312011-06-08 Ivan Kanis <gnu@kanis.fr>
15432
15433 * calendar/appt.el (appt-check): Move some initializations into the let.
15434
f3d1777e
MR
154352011-06-08 Martin Rudalics <rudalics@gmx.at>
15436
15437 * window.el (window-height): Defalias to window-total-height.
15438 (window-width): Defalias to window-body-width.
15439
18af70d0
CY
154402011-06-07 Chong Yidong <cyd@stupidchicken.com>
15441
15442 * image-mode.el (image-toggle-animation): New command.
15443 (image-mode-map): Bind it to RET.
15444 (image-mode): Update message.
15445 (image-toggle-display-image): Avoid a spurious cache flush.
15446 (image-transform-rotation): Doc fix.
15447 (image-transform-properties): Return quickly in the normal case.
15448 (image-animate-loop): Rename from image-animate-max-time.
15449
2b75be67 15450 * image.el (image-animate-max-time): Move to image-mode.el.
18af70d0
CY
15451 (create-animated-image): Remove unnecessary function.
15452 (image-animate): Rename from image-animate-start. New arg.
2b75be67 15453 (image-animate-stop): Remove; just use image-animate-timer.
18af70d0
CY
15454 (image-animate-timer): Use car-safe.
15455 (image-animate-timeout): Rename argument.
15456
190b47e6
MR
154572011-06-07 Martin Rudalics <rudalics@gmx.at>
15458
15459 * window.el (get-lru-window, get-largest-window): Move here from
2b75be67
SM
15460 window.c. Rename first argument to ALL-FRAMES.
15461 Rephrase doc-strings.
15462 (get-buffer-window-list): Rewrite using window-list-1.
15463 Rephrase doc-string.
a1511caf
MR
15464 (window-safe-min-height, window-safe-min-width): New constants.
15465 (window-size-ignore, window-min-size, window-min-size-1)
15466 (window-sizable, window-sizable-p, window-size-fixed-1)
15467 (window-size-fixed-p, window-min-delta-1, window-min-delta)
15468 (window-max-delta-1, window-max-delta, window-resizable)
15469 (window-resizable-p, window-total-height, window-total-width)
15470 (window-body-width): New functions.
15471 (window-full-height-p, window-full-width-p): Rewrite using
15472 window-total-size.
15473 (window-body-height): Rewrite using window-body-size.
190b47e6 15474
85cc1f11
MR
154752011-06-06 Martin Rudalics <rudalics@gmx.at>
15476
15477 * window.el (window-right, window-left, window-child)
15478 (window-child-count, window-last-child, window-any-p)
15479 (normalize-live-buffer, normalize-live-frame)
15480 (normalize-any-window, normalize-live-window)
15481 (window-iso-combination-p, window-iso-combined-p)
15482 (window-iso-combinations)
15483 (walk-window-tree-1, walk-window-tree, walk-window-subtree)
15484 (windows-with-parameter, window-with-parameter)
15485 (window-atom-root, make-window-atom, window-atom-check-1)
2b75be67
SM
15486 (window-atom-check, window-side-check, window-check):
15487 New functions.
85cc1f11
MR
15488 (ignore-window-parameters, window-sides, window-sides-vertical)
15489 (window-sides-slots): New variables.
15490 (window-size-fixed): Move down in code. Minor doc-string fix.
15491
e7156492
AS
154922011-06-05 Andreas Schwab <schwab@linux-m68k.org>
15493
15494 * comint.el (comint-dynamic-complete-as-filename)
15495 (comint-dynamic-complete-filename): Correctly call
15496 completion-in-region.
15497
7e821d0d
DD
154982011-06-05 Deniz Dogan <deniz@dogan.se>
15499
15500 * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
15501 in last change.
15502
ac09b8a1
DD
155032011-06-05 Deniz Dogan <deniz@dogan.se>
15504
15505 * net/rcirc.el (rcirc-prompt-for-encryption): New function.
15506 (rcirc): Use it to prompt for encryption.
15507
34699b85
RW
155082011-06-05 Roland Winkler <winkler@gnu.org>
15509
15510 * textmodes/bibtex.el (bibtex-search-buffer): New variable.
15511 (bibtex-search-entries): New command bound to C-c C-a.
15512 (bibtex-display-entries): New function.
15513
004dedd3
RW
155142011-06-05 Roland Winkler <winkler@gnu.org>
15515
15516 * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
15517 (bibtex-insert-kill): After yanking insert newline if necessary.
15518 (bibtex-initialize): Call bibtex-string-files-init only once.
15519 (bibtex-mode): Do not call easy-menu-add.
15520 (bibtex-validate-globally): Use save-excursion in bibtex buffers.
15521 (bibtex-yank): Set arg properly if nil.
15522
022fe7ce
RW
155232011-06-05 Roland Winkler <winkler@gnu.org>
15524
2b75be67
SM
15525 * textmodes/bibtex.el (bibtex-search-entry-globally):
15526 New variable.
022fe7ce
RW
15527 (bibtex-search-entry): Use it.
15528
b7c3692a
RW
155292011-06-05 Roland Winkler <winkler@gnu.org>
15530
15531 * textmodes/bibtex.el (bibtex-entry-format): New option
15532 sort-fields.
15533 (bibtex-format-entry, bibtex-reformat): Honor this option.
15534 (bibtex-parse-entry): Return fields in proper order.
15535
8eda563d
JB
155362011-06-05 Juanma Barranquero <lekktu@gmail.com>
15537
15538 * doc-view.el (doc-view-remove-if): Move computation of result out
15539 of `dolist' to silence misleading lexical-binding warning.
15540
7dbe3dbc
CY
155412011-06-04 Chong Yidong <cyd@stupidchicken.com>
15542
15543 * emacs-lisp/timer.el (timer-activate): Remove unused arg.
15544 (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
15545
0c33dd17
MA
155462011-06-04 Michael Albinus <michael.albinus@gmx.de>
15547
15548 * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
15549 "SunOS 5.10".
15550
f8f91c2b
MA
155512011-06-04 Michael Albinus <michael.albinus@gmx.de>
15552
15553 * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
15554 (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
15555 (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
15556 (tramp-parse-putty):
15557 * net/tramp-sh.el (tramp-completion-function-alist-rsh)
15558 (tramp-completion-function-alist-ssh)
15559 (tramp-completion-function-alist-telnet)
15560 (tramp-completion-function-alist-su)
15561 (tramp-completion-function-alist-putty): Set `tramp-autoload'
15562 cookie.
15563
15564 * net/tramp-ftp.el:
15565 * net/tramp-sh.el:
15566 * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
15567 load "tramp.el" `tramp-set-completion-function'.
15568
e17d9003
SM
155692011-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
15570
15571 * shell.el: Require and use pcomplete.
15572 (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
15573 (shell-completion-vars): Set pcomplete-default-completion-function.
15574
6c4cab03
DD
155752011-06-04 Deniz Dogan <deniz@dogan.se>
15576
15577 * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
15578 `memq' (Bug#8799).
15579
ea9fafe0
SM
155802011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
15581
15582 * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
15583
b3e945d3
JB
155842011-06-02 Juanma Barranquero <lekktu@gmail.com>
15585
15586 * bs.el (bs--mark-unmark, bs--nth-wrapper):
15587 * mpc.el (mpc-select-extend, mpc-songpointer-context):
15588 * vc/log-view.el (log-view-beginning-of-defun):
15589 * vc/smerge-mode.el (smerge-apply-resolution-patch)
15590 (smerge-refine-forward, smerge-refine-chopup-region):
15591 Silence warning for unused `dotimes' counter variables.
15592
7d520089
SM
155932011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
15594
15595 * net/tramp.el (tramp-with-progress-reporter): Rename from
15596 with-progress-reporter. Use `declare'.
15597 * net/tramp-smb.el:
15598 * net/tramp-sh.el:
15599 * net/tramp-gvfs.el: Update all uses.
15600
a1c2400f
JB
156012011-06-02 Jay Belanger <jay.p.belanger@gmail.com>
15602
15603 * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
15604 buffer isn't killed before making it current.
15605
2403c841
SM
156062011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
15607
15608 Silence various byte-compiler warnings.
15609 * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
15610 `access-type' and new obsolescence format.
15611 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
15612 new format.
15613 (byte-compile-check-variable): New `access-type' argument.
15614 Only warn if the access-type is obsolete.
15615 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
15616 (byte-compile-variable-set): Adjust callers.
15617 * help-fns.el (describe-variable): Adjust to new obsolescence format.
15618 * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
15619 setting it as obsolete.
15620 * simple.el (minibuffer-completing-symbol):
15621 * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
15622 access as obsolete.
15623 * minibuffer.el (minibuffer-completing-file-name): Don't make it
15624 obsolete yet.
15625 * international/quail.el (quail-mouse-choose-completion): Remove unused
15626 code referring to obsolete var.
15627 (quail-choose-completion-string): Remove.
15628 * server.el (server-clients-with, server-kill-buffer-query-function)
15629 (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
15630 * proced.el (proced-send-signal):
15631 * emacs-lisp/lisp.el (lisp-complete-symbol):
15632 Replace completion-annotate-function with completion-extra-properties.
15633
2462470b
SM
156342011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
15635
fb5b2591
SM
15636 * simple.el (goto-line): Use read-number.
15637 (overriding-map-is-bound): Remove.
15638 (saved-overriding-map): Change default.
15639 (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
15640 Take the map as argument.
15641 (universal-argument, negative-argument, digit-argument): Use it.
15642 (restore-overriding-map): Adjust.
15643 (do-auto-fill): Use fill-forward-paragraph.
15644 (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
15645
fd6fa53f
SM
15646 * minibuffer.el (minibuffer-inactive-mode-map): New var.
15647 (minibuffer-inactive-mode): New major mode.
15648 * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
15649 the *Messages* buffer" hack.
15650 (mouse-popup-menubar): Don't burp if the event is a normal key.
15651
2462470b
SM
15652 Miscellaneous tweaks.
15653 * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
15654 lexical scoping as in subr.el's dolist and dotimes.
15655 * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
15656 Silence compiler warning.
15657 * thingatpt.el (forward-whitespace): Trivial coding style fix.
15658 * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
15659 * international/ccl.el (ccl-compile): Trivial simplification.
15660 * help-fns.el (help-do-arg-highlight): Silence compiler warning.
15661 * emacs-lisp/testcover.el (testcover-end): Remove spurious
15662 `printflag' argument.
15663 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
15664 Purecopy the whole obsolescence data.
15665
108bf785
LL
156662011-06-01 Leo Liu <sdl.web@gmail.com>
15667
15668 * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
15669 improve doc-string as suggested by Marco Pessotto
15670 <melmothx@gmail.com>.
15671 (rcirc-print): Fix last change.
15672
30a23501
SM
156732011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
15674
15675 * minibuffer.el (complete-with-action): Return nil for the metadata and
15676 boundaries of non-functional tables.
15677 (completion-table-dynamic): Return nil for the metadata.
15678 (completion-table-with-terminator): Add default case, using
15679 complete-with-action.
15680 (completion--metadata): New function.
15681 (completion-all-sorted-completions, minibuffer-completion-help): Use it
15682 to try and avoid pathological performance problems.
15683 (completion--embedded-envvar-table): Return `category' metadata.
15684
bcd54f83
LMI
156852011-05-31 Lars Magne Ingebrigtsen <larsi@gnus.org>
15686
15687 * subr.el (process-alive-p): New tiny convenience function.
15688
e227544d
SM
156892011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
15690
15691 * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
15692 content but also its previous major mode.
15693
e8296fdc
HE
156942011-05-31 Helmut Eller <eller.helmut@gmail.com>
15695
4d61f28d 15696 * emacs-lisp/debug.el (debug): Restore the previous content of the
e8296fdc
HE
15697 *Backtrace* buffer when we exit with C-M-c.
15698
620c53a6
SM
156992011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
15700
15701 * minibuffer.el: Add metadata method to completion tables.
15702 (completion-category-overrides): New defcustom.
15703 (completion-metadata, completion--field-metadata)
15704 (completion-metadata-get, completion--styles)
15705 (completion--cycle-threshold): New functions.
15706 (completion-try-completion, completion-all-completions):
15707 Add `metadata' argument to choose completion-styles.
15708 (completion--do-completion): Use metadata to choose cycling.
15709 (completion-all-sorted-completions): Use metadata for sorting.
15710 Remove :completion-cycle-penalty which is not needed any more.
15711 (completion--try-word-completion): Add `metadata' argument.
15712 (minibuffer-completion-help): Check metadata for annotation function
15713 and sorting.
15714 (completion-file-name-table): Return `category' metadata.
15715 (minibuffer-completing-file-name): Make obsolete.
15716 * simple.el (minibuffer-completing-symbol): Make obsolete.
15717 * icomplete.el (icomplete-completions): Pass new `metadata' param to
15718 completion-try-completion.
15719
1257e755
SM
157202011-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
15721
15722 * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
15723
3767e706
LL
157242011-05-30 Leo Liu <sdl.web@gmail.com>
15725
15726 * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
5ab33f2b
LL
15727 (rcirc-print): Decode all incoming messages (bug#8744).
15728 (rcirc-decode-coding-system): Allow value nil for automatic coding
15729 system detection.
3767e706 15730
d1a5d56a
GM
157312011-06-01 Glenn Morris <rgm@gnu.org>
15732
15733 * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
15734
e8cbec34
CY
157352011-05-29 Chong Yidong <cyd@stupidchicken.com>
15736
15737 * image.el (image-animate-max-time): Allow nil and t values.
15738 Default to nil.
15739 (create-animated-image): Doc fix.
15740 (image-animate-start): Remove second arg; just use
15741 image-animate-max-time.
15742 (image-animate-timeout): Doc fix. Args changed.
15743
15744 * image-mode.el (image-toggle-display-image): Ensure that the
15745 image spec passed to the animate timer is the same object as in
58179cce 15746 the buffer's display property (Bug#6981).
e8cbec34
CY
15747 (image-transform-properties): Doc fix.
15748
15749 * image.el (image-animate-max-time): Default to nil.
15750
159daf87
MR
157512011-05-29 Martin Rudalics <rudalics@gmx.at>
15752
15753 * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
15754 entire buffer list (Bug#8184).
15755
d66c4c7c
CY
157562011-05-29 Chong Yidong <cyd@stupidchicken.com>
15757
15758 * image.el (imagemagick-types-inhibit)
15759 (imagemagick-register-types): Doc fix.
15760
80aec780
DD
157612011-05-29 Deniz Dogan <deniz@dogan.se>
15762
15763 * net/rcirc.el (rcirc): Use the user's stored encryption method by
15764 default.
15765
1dd3c2d9
CY
157662011-05-29 Chong Yidong <cyd@stupidchicken.com>
15767
15768 * select.el: Don't perform clipboard-manager saving in hooks;
15769 leave the hooks empty.
15770
60e56523
LL
157712011-05-28 Leo Liu <sdl.web@gmail.com>
15772
15773 * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
15774 (occur-mode-map): Bind occur-edit-mode. Use occur-menu-map.
15775 (occur-edit-mode): New major mode (Bug#8463).
15776 (occur-after-change-function): New function.
15777 (occur-engine): Give Occur tags a read-only property.
15778
2b1e1a22
KR
157792011-05-28 Kevin Ryde <user42@zip.com.au>
15780
15781 * subr.el (def-edebug-spec): Doc fix (Bug#8430).
15782
5d344e88
CY
157832011-05-28 Chong Yidong <cyd@stupidchicken.com>
15784
8e6ca83d
CY
15785 * bindings.el (help-echo): Make the initial non-indicator dash
15786 empty on graphical terminals (Bug#7295).
15787
5d344e88
CY
15788 * files.el (auto-mode-alist): Move config rule after the
15789 in-stripping one (Bug#8547).
15790
bfbbace7
CY
15791 * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
15792
fbeba6e2
CY
15793 * startup.el (normal-splash-screen): Remove gratuitous mode-line
15794 setting (Bug#8740).
15795
60ed8c72
AA
157962011-05-28 Alp Aker <aker@pitt.edu> (tiny change)
15797
4ac619f0
AA
15798 * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
15799 (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
15800 (Bug#8539).
60ed8c72 15801
23db196e
CY
158022011-05-28 Chong Yidong <cyd@stupidchicken.com>
15803
15804 * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
15805
5012f24c
DK
158062011-05-28 Dima Kogan <dkogan@cds.caltech.edu> (tiny change)
15807
15808 * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
15809 (hs-hide-block-at-point, hs-find-block-beginning)
15810 (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
15811 (Bug#8279).
15812
6a639b16
GM
158132011-05-28 Glenn Morris <rgm@gnu.org>
15814
15815 * startup.el (fancy-about-screen): Use standard mode line. (Bug#8740)
15816
d43eaf2c
CY
158172011-05-28 Chong Yidong <cyd@stupidchicken.com>
15818
5199bde1
CY
15819 * help-fns.el (describe-function-1): If the function is a derived
15820 major mode, print the parent mode.
15821
d43eaf2c
CY
15822 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
15823 (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
15824
423428a8
SM
158252011-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
15826
0ff8e1ba 15827 * minibuffer.el (completion--capf-wrapper): Check applicability before
0b381c7e 15828 returning non-nil for non-exclusive completion data.
0ff8e1ba
SM
15829 * progmodes/etags.el (tags-completion-at-point-function):
15830 * info-look.el (info-lookup-completions-at-point): Mark as
15831 non-exclusive.
15832 (info-complete): Adjust accordingly.
15833
423428a8
SM
15834 * info-look.el: Convert to lexical-binding and completion-at-point.
15835 (info-lookup-completions-at-point): New function.
15836 (info-complete): Use it and completion-in-region.
15837
b74aa22b
DA
158382011-05-28 Drew Adams <drew.adams@oracle.com>
15839
15840 * isearch.el: Let M-e start with point at the first mismatched char.
15841 (isearch-fail-pos): New function.
15842 (isearch-edit-string): Use it.
15843
66e2e71d
DK
158442011-05-28 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
15845
15846 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
15847
b1890b0f 158482011-05-27 Toby Cubitt <toby-predictive@dr-qubit.org>
eb95d01d
TC
15849
15850 * emacs-lisp/avl-tree.el: New avl-tree-stack datatype. Add new
15851 traversal functions for avl-trees.
15852 (avl-tree--stack): New struct.
15853 (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
15854 (avl-tree-enter): Add optional `updatefun' arg.
93a1c12a
TC
15855 (avl-tree--do-enter): Add optional `updatefun' arg.
15856 Change return value.
eb95d01d 15857 (avl-tree-delete): Add optional `test' and `nilflag' args.
93a1c12a
TC
15858 (avl-tree--do-delete): Add `test' and `nilflag' args.
15859 Change return value.
eb95d01d
TC
15860 (avl-tree-member): Add optional `nilflag'
15861 (avl-tree-member-p): New function.
15862 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
15863 (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
15864 (avl-tree-stack-empty-p): New functions.
15865
3769ddcf
TC
15866 * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
15867 avl-tree--del-balance1 and make it work both ways.
15868 (avl-tree--del-balance2): Remove.
15869 (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
15870 make it work both ways.
15871 (avl-tree--enter-balance2): Remove.
15872 (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
15873 New macros.
15874 (avl-tree--mapc, avl-tree-map): Add direction argument.
15875
eb95d01d 158762011-05-27 David Michael <fedora.dm0@gmail.com> (tiny change)
7a6b1aef
DM
15877
15878 * files.el (interpreter-mode-alist): Add rbash (bug#8745).
15879
a9f737ee
CY
158802011-05-27 Chong Yidong <cyd@stupidchicken.com>
15881
15882 * select.el: Support clipboard managers with built-in function
15883 x-clipboard-manager-save, via delete-frame-functions and
15884 kill-emacs-hook.
15885 (xselect-convert-to-targets): Add MULTIPLE target to list.
15886 (xselect-convert-to-save-targets): New function.
15887
c92a1e54
KH
158882011-05-27 Kenichi Handa <handa@m17n.org>
15889
15890 * mail/sendmail.el (mail-encode-header): Avoid double encoding by
15891 let-binding rfc2047-encode-encoded-words to nil.
15892
e145f188
GM
158932011-05-27 Glenn Morris <rgm@gnu.org>
15894
5ec8a862
GM
15895 * mail/emacsbug.el: Don't require url-util.
15896
4b29d9fb
GM
15897 * shell.el (shell-directory-tracker): Case matters. (Bug#8735)
15898
e145f188
GM
15899 * files.el (set-auto-mode):
15900 Also respect mode: entries at the end of the file. (Bug#8586)
15901
7d15102b
GM
159022011-05-26 Glenn Morris <rgm@gnu.org>
15903
98f593b8
GM
15904 * files.el (hack-local-variables-prop-line, hack-local-variables):
15905 Downcase mode names, as seems to be traditional.
27b48e63 15906 (hack-local-variables, hack-local-variables-apply): Doc fixes.
98f593b8 15907
7d15102b
GM
15908 * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
15909 (report-emacs-bug-hook): Try to validate the From address. (Bug#8038)
15910
51d5b4ec
JD
159112011-05-25 Julien Danjou <julien@danjou.info>
15912
15913 * textmodes/rst.el (rst-define-level-faces): Do not define face
15914 symbol if it is already defined.
15915
91513f63
VB
159162011-05-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
15917
15918 * play/5x5.el (5x5-new-game, 5x5-randomize):
15919 Reset 5x5-solver-output to nil when a new grid is cast.
15920 (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
15921 these debugging traces, as defmacro breaks the compiled code.
15922
4d90d6d0
DK
159232011-05-24 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
15924
15925 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
15926
e1b90ef6
LL
159272011-05-24 Leo Liu <sdl.web@gmail.com>
15928
15929 * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
15930 (vc-bzr-sha1): Adapt.
15931
d8e4b68b 15932 * sha1.el: Remove. Function `sha1' is now builtin.
e1b90ef6
LL
15933
15934 * bindings.el: Provide sha1 feature.
15935
db0406bb 159362011-05-24 Kenichi Handa <handa@m17n.org>
b8d747b9
KH
15937
15938 * mail/sendmail.el: Require `rfc2047'.
15939 (mail-insert-from-field): Do not perform RFC2047 encoding.
15940 (mail-encode-header): New function.
15941 (sendmail-send-it): Set buffer-file-coding-system of the work
4d90d6d0
DK
15942 buffer to the return value of select-message-coding-system.
15943 Call mail-encode-header.
b8d747b9
KH
15944
15945 * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
15946
db0406bb 159472011-05-24 Sean Neakums <sneakums@zork.net> (tiny change)
7261f6ce 15948
4d90d6d0
DK
15949 * mail/supercite.el (sc-default-cite-frame):
15950 Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
7261f6ce 15951
eb8a5e9b
GM
159522011-05-24 Glenn Morris <rgm@gnu.org>
15953
f8630703
GM
15954 * progmodes/python.el (brm-menu): Declare.
15955
8831bbed
GM
15956 * emulation/viper.el (viper-set-hooks): Declare.
15957
eb8a5e9b
GM
15958 * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
15959 (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
15960 (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
15961 (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
15962 (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
15963 (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
15964
a2a25d24
SM
159652011-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
15966
15967 Add an :exit-function for completion-at-point.
15968
15969 * minibuffer.el (completion--done): New fun.
15970 (completion--do-completion): Use it. New arg `expect-exact'.
15971 (minibuffer-complete, minibuffer-complete-word): Don't output message,
15972 since completion--do-completion does it for us now.
15973 (minibuffer-force-complete): Use completion--done and
15974 completion--replace. Handle sole-completion case with more care.
15975 (minibuffer-complete-and-exit): Use new `expect-exact' arg.
15976 (completion-extra-properties): New var.
15977 (completion-annotate-function): Make obsolete.
15978 (minibuffer-completion-help): Adjust accordingly.
15979 Use completion-list-insert-choice-function.
15980 (completion-at-point, completion-help-at-point):
15981 Bind completion-extra-properties.
15982 (completion-pcm-word-delimiters): Add | (for uniquify, for example).
15983 * simple.el (completion-list-insert-choice-function): New var.
15984 (completion-setup-function): Preserve it.
15985 (choose-completion): Pay attention to it, shuffle the code a bit.
15986 (choose-completion-string): New arg `insert-function'.
15987
15988 * textmodes/bibtex.el: Convert to lexical binding.
15989 (bibtex-mode-map): Use completion-at-point.
15990 (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
15991 (bibtex-completion-at-point-function): New fun, from bibtex-complete.
15992 (bibtex-complete): Define as obsolete alias.
15993 (bibtex-complete-internal): Remove.
15994 (bibtex-format-entry): Remove unused sub-group in regexp.
15995 * shell.el (shell--command-completion-data)
15996 (shell-environment-variable-completion):
15997 * pcomplete.el (pcomplete-completions-at-point):
15998 * comint.el (comint--complete-file-name-data): Use :exit-function
15999 instead of completion-table-with-terminator so it also works for
16000 choose-completion.
16001
e44e373d
SM
160022011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
16003
4f91a816
SM
16004 * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
16005
782fc819
SM
16006 * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
16007 (bug#8710).
16008
e44e373d
SM
16009 * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
16010
381987c3
KM
160112011-05-23 Ken Manheimer <ken.manheimer@gmail.com>
16012
16013 * allout.el (allout-inhibit-auto-fill-on-headline): Create new
16014 customization variable and implement: If non-nil, auto-fill will
16015 be inhibited while on topic's header line.
16016
b776bc70
VB
160172011-05-23 Vincent Belaïche <vincentb1@users.sourceforge.net>
16018
16019 * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
d8e4b68b 16020 click on. II/ Make 5x5 multisession. III/ Ensure that random grids
b776bc70
VB
16021 always have a solution in grid size = 5 cases.
16022 (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
16023 (5x5-solver-output, 5x5-log-buffer): New vars.
16024 (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
16025 Make these variables buffer local to achieve 5x5 multi-session-ness.
16026 (5x5): Set 5x5-grid-size only if SIZE is non-negative.
16027 (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
16028 (5x5-solve-suggest): New funs.
16029 (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
16030 randomize a grid so that we ensure that there is always a solution.
16031 (5x5-make-random-grid): Allow other movement than flipping.
16032
7de88b6e
KR
160332011-05-23 Kevin Ryde <user42@zip.com.au>
16034
16035 * emacs-lisp/advice.el (ad-read-advised-function):
5a5fa834 16036 Use `function-called-at-point' as the default, if it has
7de88b6e
KR
16037 advice and passes PREDICATE.
16038
b1ef1257
SM
160392011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
16040
bbca48fe
SM
16041 * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
16042 byte-compile-lambda if it's actually a lambda.
16043
b1ef1257
SM
16044 * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
16045 Fix function quoting. Use backquote better.
16046
92a9cc65
YS
160472011-05-22 Yuanle Song <sylecn@gmail.com>
16048
16049 * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
16050 matching (Bug#8516).
16051
f0fb8059
JA
160522011-01-22 Jari Aalto <jari.aalto@cante.net>
16053
16054 * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
16055 different face (Bug#8178).
16056
d5b44c93
CY
160572011-05-22 Chong Yidong <cyd@stupidchicken.com>
16058
16059 * vc/diff-mode.el (diff-changed): Don't use terminal specs for
16060 defface (Bug#8144).
16061
79106a44
SM
160622011-05-22 Stefan Monnier <monnier@iro.umontreal.ca>
16063
9c848d8a
SM
16064 * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
16065 funcall as well (bug#8712). Warn when performing those conversions.
16066 * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
16067
79106a44
SM
16068 * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
16069
88dfa756
GM
160702011-05-22 Glenn Morris <rgm@gnu.org>
16071
16072 * files.el (hack-local-variables-prop-line): Small simplifications.
16073 (hack-local-variables, hack-local-variables-prop-line):
16074 If MODE-ONLY, return the mode, rather than just `t'.
16075
b7cf2c79
SM
160762011-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
16077
16078 * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
16079
3f1a8558
GM
160802011-05-21 Glenn Morris <rgm@gnu.org>
16081
7e4ccca3
GM
16082 * files.el (hack-local-variables-prop-line, hack-local-variables):
16083 If only interested in the mode, don't bother doing the other stuff.
16084
637d46ca
GM
16085 * image-mode.el (image-after-revert-hook):
16086 Redraw all frames on which the image is visible. (Bug#8567)
16087
973d955b
GM
16088 * dired-aux.el (dired-touch-initial): Just use current-time. (Bug#6887)
16089
3f1a8558
GM
16090 * wid-edit.el (widget-checklist-match-inline):
16091 Fix 2011-04-19 change. (Bug#8649)
16092
96479927
SM
160932011-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
16094
1dcf791f
SM
16095 * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
16096 Also allow singlespace after single-letter capitals followed by a dot.
16097
96479927
SM
16098 * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
16099 enabled. Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
16100
35fd0881
N
161012011-05-20 Nix <nix@esperi.org.uk>
16102
16103 * files.el (basic-save-buffer-2):
16104 Fix handling of break-hardlink-on-save with non-existent files.
16105
82745640
DD
161062011-05-19 Deniz Dogan <deniz@dogan.se>
16107
16108 * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
9ff90d99 16109 (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
82745640 16110
4a720484
GM
161112011-05-19 Glenn Morris <rgm@gnu.org>
16112
d1f21341
GM
16113 * progmodes/f90.el (f90-type-def-re):
16114 Handle "type, bind(c)". (Bug#8691)
16115
4a720484
GM
16116 * emacs-lisp/autoload.el (batch-update-autoloads):
16117 Set autoload-excludes by parsing loadup.el rather than Makefiles.
16118
2fb0a219
MA
161192011-05-18 Michael Albinus <michael.albinus@gmx.de>
16120
16121 * net/tramp.el (tramp-process-actions): Set "first-password-request"
16122 property for the correct connection in case of multihops.
16123
e565dd37
GM
161242011-05-18 Glenn Morris <rgm@gnu.org>
16125
c2571358 16126 * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
c136e5cd
GM
16127 * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
16128
e565dd37
GM
16129 Rationalize calendar handling of day and month abbrev-arrays.
16130 * calendar/calendar.el (calendar-customized-p): New function.
16131 (calendar-abbrev-construct, calendar-make-alist): Change what it does.
16132 (calendar-day-name-array, calendar-month-name-array): Doc fix.
16133 Add :set function.
16134 (calendar-abbrev-length, calendar-day-abbrev-array)
16135 (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
16136 (calendar-day-abbrev-array, calendar-month-abbrev-array):
16137 Elements may no longer be nil.
16138 (calendar-day-name, calendar-month-name):
16139 Update for changed nature of abbrev arrays.
16140 * calendar/diary-lib.el (diary-name-pattern):
16141 Update for changed nature of abbrev arrays.
16142 (diary-mark-entries-1): Update calendar-make-alist calls.
16143 (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
16144 * calendar/cal-html.el (cal-html-day-abbrev-array):
16145 Simply inherit from calendar-day-abbrev-array.
16146
1d99a745
SM
161472011-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
16148
16149 * progmodes/grep.el (grep-mode): Disable default
16150 compilation-directory-matcher setting (bug#8684).
16151
7c1d9aa0
MA
161522011-05-17 Michael Albinus <michael.albinus@gmx.de>
16153
16154 * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
16155 instead of "head" and "tail". There were problems with SunOS 5.9,
16156 and it performs better.
16157
3952e9d8
GM
161582011-05-17 Glenn Morris <rgm@gnu.org>
16159
2dd12e7f
GM
16160 * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
16161
e4157b9c
GM
16162 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
16163 Replace obsolete function.
16164
8e249bbd
GM
16165 * shell.el (pcomplete-parse-arguments-function): Declare.
16166
3952e9d8
GM
16167 * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
16168 (appt-display-diary, appt-display-interval, appt-prev-comp-time)
16169 (appt-check): Doc fixes.
16170 (appt-disp-window-function, appt-delete-window-function):
16171 Remove needless special case in custom :type.
16172 (appt-display-count): Default to 0, not nil.
16173 (appt-check): Reset appt-display-count to 0, not nil.
16174
c71a0d48 161752011-05-17 Juanma Barranquero <lekktu@gmail.com>
165fd2df 16176
c71a0d48
GM
16177 * progmodes/python.el (python-font-lock-keywords):
16178 Add the Python 3.X keyword "nonlocal" (bug#8639).
165fd2df 16179
31d55be9
SM
161802011-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
16181
16182 * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
16183
3bfacb2f
KR
161842011-05-16 Kevin Ryde <user42@zip.com.au>
16185
16186 * info-look.el (makefile-automake-mode): New setups, looking in
16187 automake manual, then makefile-mode.
16188 (makefile-mode): Remove automake manual, have it just in
16189 makefile-automake-mode since there's various things different or
16190 not relevant to plain make.
16191 (makefile-mode): Remove "other-modes" non-existent automake-mode,
16192 believe a hypothetical automake-mode would go to makefile-mode,
16193 not the other way around.
16194
c8e83751
CY
161952011-05-15 Chong Yidong <cyd@stupidchicken.com>
16196
5e9e35cd
CY
16197 * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
16198 hunk-end tags (Bug#8672).
16199
c8e83751
CY
16200 * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
16201 vc-annotate-show-diff-revision-at-line (Bug#8671).
16202
50b23e5a
GM
162032011-05-14 Glenn Morris <rgm@gnu.org>
16204
7210a739
GM
16205 * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
16206 in the middle of an existing one with multiple authors. (Bug#8645)
375cb676
GM
16207 (change-log-font-lock-keywords): Also handle multiple author lines
16208 with leading tabs. (Bug#8644)
7210a739 16209
4691905a
GM
16210 * calendar/appt.el (appt-check): Rename some local variables.
16211 Some simplification/reordering.
16212
50b23e5a
GM
16213 * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
16214 (feedmail-sendmail-f-doesnt-sell-me-out)
16215 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
16216 (feedmail-debug-sit-for, feedmail-queue-express-hook)
16217 (feedmail-queue-runner-message-sender): Set :version.
1aa64307
GM
16218 (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
16219 (bbdb-dwim-net-address, vm-mail): Declare.
50b23e5a
GM
16220 (feedmail-binmail-gnulinuxish-template):
16221 Rename from feedmail-binmail-linuxish-template.
16222 (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
16223 Use insert-buffer-substring.
16224
215cda7c
BC
162252011-05-14 Bill Carpenter <bill@carpenter.org>
16226
16227 * mail/feedmail.el (feedmail-patch-level): Increase.
16228 (feedmail-debug): New custom group.
16229 (feedmail-confirm-outgoing-timeout)
16230 (feedmail-sendmail-f-doesnt-sell-me-out)
16231 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
16232 (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
16233 (feedmail-sender-line, feedmail-from-line)
16234 (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
c2571358 16235 (feedmail-spray-this-address)
215cda7c
BC
16236 (feedmail-spray-address-fiddle-plex-list)
16237 (feedmail-queue-use-send-time-for-date)
16238 (feedmail-queue-use-send-time-for-message-id)
16239 (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
16240 (feedmail-buffer-eating-function):
16241 Doc fixes.
16242 (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
16243 (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
16244 (feedmail-message-action-scroll-down): New functions.
16245 (feedmail-queue-directory, feedmail-queue-draft-directory):
16246 Use expand-file-name.
16247 (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
16248 Remove C-v help entry.
16249 (feedmail-queue-buffer-file-name): New variable.
16250 (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
16251 (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
16252 (feedmail-message-action-send-strong, feedmail-message-action-edit)
16253 (feedmail-message-action-draft, feedmail-message-action-draft-strong)
16254 (feedmail-message-action-queue, feedmail-message-action-queue-strong)
16255 (feedmail-message-action-toggle-spray)
16256 (feedmail-run-the-queue-no-prompts)
16257 (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
16258 (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
16259 (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
16260 (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
16261 (feedmail-envelope-deducer, feedmail-fiddle-from)
16262 (feedmail-fiddle-sender, feedmail-default-date-generator)
16263 (feedmail-fiddle-date, feedmail-fiddle-message-id)
16264 (feedmail-fiddle-spray-address)
16265 (feedmail-fiddle-list-of-spray-fiddle-plexes)
16266 (feedmail-fiddle-list-of-fiddle-plexes)
16267 (feedmail-fill-to-cc-function, feedmail-fill-this-one)
16268 (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
16269 (feedmail-queue-runner-message-sender, feedmail-binmail-template):
16270 Change default. Doc fix.
16271 (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
16272 (feedmail-binmail-linuxish-template): New constant.
16273 (feedmail-buffer-to-sendmail): Doc fix. Add debug call.
16274 Respect feedmail-sendmail-f-doesnt-sell-me-out.
16275 (feedmail-send-it): Add debug call.
16276 Use feedmail-queue-buffer-file-name, and
16277 feedmail-send-it-immediately-wrapper.
16278 (feedmail-message-action-send): Add debug call.
16279 Use feedmail-send-it-immediately-wrapper.
16280 (feedmail-queue-express-to-queue): Add debug call.
16281 Run feedmail-queue-express-hook.
16282 (feedmail-message-action-help): Add debug call. Use feedmail-p-h-b-n.
16283 (feedmail-message-action-help-blat):
16284 Rename from feedmail-queue-send-edit-prompt-help-first.
16285 (feedmail-run-the-queue): Add debug call. Set buffer-file-type.
16286 Check line-endings. Handle errors better.
16287 (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
16288 Doc fix. Add debug call.
16289 (feedmail-queue-send-edit-prompt): Doc fix. Add debug call.
16290 Use feedmail-queue-send-edit-prompt-inner.
16291 (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
16292 (feedmail-queue-send-edit-prompt-inner): New function, extracted
16293 from feedmail-queue-send-edit-prompt.
16294 (feedmail-queue-send-edit-prompt-help)
16295 (feedmail-queue-send-edit-prompt-help-later): Remove functions.
16296 (feedmail-tidy-up-slug): Add debug call.
16297 Respect feedmail-queue-slug-suspect-regexp.
16298 (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
16299 (feedmail-dump-message-to-queue): Add debug call.
16300 Expand queue-directory.
16301 (feedmail-dump-message-to-queue): Change message slightly.
16302 Use feedmail-say-chatter.
16303 (feedmail-rfc822-date): Add debug call. Bind system-time-locale.
16304 (feedmail-send-it-immediately-wrapper): New function.
16305 (feedmail-send-it-immediately): Add debug calls. Use let not let*.
16306 Insert empty string rather than newline. Handle full-frame case.
16307 Use catch/throw. Use feedmail-say-chatter.
16308 (feedmail-fiddle-from): Try mail-host-address.
16309 (feedmail-default-message-id-generator): Doc fix.
16310 Bind system-time-locale. Handle missing end.
16311 (feedmail-fiddle-x-mailer): Add debug call.
16312 Handle feedmail-x-mailer-line being nil.
16313 (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
16314 Add debug call. Use buffer-substring-no-properties.
16315 (feedmail-say-debug, feedmail-say-chatter): New functions.
16316 (feedmail-find-eoh): Give an explicit error.
16317
42c7e61e
UJ
163182011-05-13 Ulf Jasper <ulf.jasper@web.de>
16319
c2571358 16320 * net/newst-treeview.el (newsticker-treeview-face): Change default
42c7e61e 16321 family from helvetica to sans.
c2571358 16322 (newsticker-treeview-tool-bar-map): Move tool-bar icons to
42c7e61e
UJ
16323 etc/images/newsticker.
16324
c2571358 16325 * net/newst-reader.el (newsticker-feed-face): Change default
42c7e61e
UJ
16326 family from helvetica to sans.
16327
16328 * net/newst-plainview.el (newsticker-new-item-face)
16329 (newsticker-old-item-face, newsticker-immortal-item-face)
16330 (newsticker-obsolete-item-face, newsticker-date-face)
c2571358 16331 (newsticker-statistics-face): Change default family from
42c7e61e 16332 helvetica to sans.
c2571358 16333 (newsticker--plainview-tool-bar-map): Move tool-bar icons to
42c7e61e
UJ
16334 etc/images/newsticker.
16335
5d3385a0
JB
16336 * net/newst-backend.el (newsticker--do-run-auto-mark-filter)
16337 (newsticker--process-auto-mark-filter-match): Tell user about
42c7e61e
UJ
16338 auto-marking.
16339
8497a297
DV
163402011-05-13 Didier Verna <didier@xemacs.org>
16341
16342 Common Lisp indentation improvements on defmethod and lambda-lists.
4d61f28d
JB
16343 * emacs-lisp/cl-indent.el: Advertise the changes and remove obsolete
16344 TODO entries.
8497a297
DV
16345 (lisp-lambda-list-keyword-parameter-indentation)
16346 (lisp-lambda-list-keyword-parameter-alignment)
16347 (lisp-lambda-list-keyword-alignment): New customizable user options.
16348 (lisp-indent-defun-method): Improve docstring.
16349 (extended-loop-p): Fix comment.
16350 (lisp-indent-lambda-list-keywords-regexp): New variable.
16351 (lisp-indent-lambda-list): New function.
16352 (lisp-indent-259): Use it.
16353 (lisp-indent-defmethod): Support for more than one
16354 method qualifier and properly indent methods lambda-lists.
16355 (defgeneric): Provide a missing common-lisp-indent-function property.
16356
f278f87f
SM
163572011-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
16358
16359 * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
16360 bounds for the empty string (bug#8667).
16361
5233edd7
GM
163622011-05-13 Glenn Morris <rgm@gnu.org>
16363
5237a44f
GM
16364 * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
16365
8340026c 16366 * mail/sendmail.el (sendmail-program): Try executable-find first.
f278f87f 16367 (sendmail-send-it): `sendmail-program' cannot be unbound.
8340026c 16368
5233edd7 16369 * calendar/appt.el (appt-make-list): Simplify.
4accbca6 16370 (appt-time-msg-list): Doc fix.
a5464014 16371 (appt-check): Change mode-line message at the time of the appointment.
5233edd7 16372
92d10796
AS
163732011-05-12 Andreas Schwab <schwab@linux-m68k.org>
16374
16375 * progmodes/ld-script.el (ld-script-keywords)
16376 (ld-script-builtins): Update keywords list.
16377
914a0ae1
SM
163782011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
16379
c89be45f
SM
16380 * progmodes/grep.el (grep-filter): Don't trip on partial lines.
16381
914a0ae1
SM
16382 * shell.el (shell-completion-vars): New function.
16383 (shell-mode):
16384 * simple.el (read-shell-command): Use it.
16385 (blink-matching-open): No need for " [...]" in minibuffer-message.
16386
98dc3df3
GM
163872011-05-12 Glenn Morris <rgm@gnu.org>
16388
16389 * calendar/appt.el (appt-now-displayed): Remove pointless variable.
16390 (appt-check): Simplify.
16391
d2fc7e3d 163922011-05-12 Eli Zaretskii <eliz@gnu.org>
0e39ec21 16393
4d61f28d 16394 * vc/smerge-mode.el (smerge-resolve): Use null-device rather than a
0e39ec21
EZ
16395 literal "/dev/null".
16396
d2fc7e3d 163972011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
3f254caa
SM
16398
16399 * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
16400 Fix typo.
16401
d2fc7e3d 164022011-05-12 Ralph Schleicher <rs@ralph-schleicher.de>
6eea50c7 16403
3f254caa
SM
16404 * progmodes/which-func.el (which-function):
16405 Use add-log-current-defun instead of add-log-current-defun-function,
6eea50c7
RS
16406 which might not be defined (Bug#8260).
16407
d45885f7
GM
164082011-05-12 Glenn Morris <rgm@gnu.org>
16409
16410 * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
16411 Let byte-compile-initial-macro-environment always take precedence.
16412
488086f4
SM
164132011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
16414
16415 * net/rcirc.el: Add support for SSL/TLS connections.
16416 (rcirc-server-alist): New field `encryption'.
16417 (rcirc): Check `encryption' settings.
16418 (rcirc-connect): New arg `encryption'. Use open-network-stream.
16419 Merge make-local-variable into `set'.
16420 (rcirc--connection-open-p): New function.
16421 (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
16422 the process is not a network process (e.g. running gnutls-cli).
16423 (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
16424 Make rcirc-(en|de)code-coding-system local here.
16425 (rcirc-mode): Merge make-local-variable into `set'.
16426 (rcirc-parent-buffer): Make permanent buffer-local.
16427 (rcirc-multiline-minor-mode): Don't do it here.
16428 (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
16429 there's no server buffer.
16430
7d3b9d44
GM
164312011-05-11 Glenn Morris <rgm@gnu.org>
16432
f64049c6
GM
16433 * newcomment.el (comment-kill): Prefix "unused" local.
16434
93c9df73
GM
16435 * term/w32console.el (get-screen-color): Declare.
16436
7d3b9d44
GM
16437 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
16438 Handle symbol elements of byte-compile-initial-macro-environment.
16439
9e2dd53f
LL
164402011-05-10 Leo Liu <sdl.web@gmail.com>
16441
488086f4
SM
16442 * bookmark.el (bookmark-bmenu-mode-map):
16443 Bind bookmark-bmenu-search to `/'.
8b340240 16444
9e2dd53f 16445 * mail/footnote.el: Convert to utf-8 encoding.
b4044869
LL
16446 (footnote-unicode-string, footnote-unicode-regexp): New variable.
16447 (Footnote-unicode): New function.
16448 (footnote-style-alist): Add unicode style to the list.
16449 (footnote-style): Doc fix.
9e2dd53f 16450
79b70037
GM
164512011-05-10 Jim Meyering <meyering@redhat.com>
16452
16453 Fix doubled-word typos.
16454 * international/quail.el (quail-insert-kbd-layout): and and -> and
16455 * kermit.el: and and -> and
16456 * net/ldap.el (ldap-search-internal): to to -> to
16457 * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
16458 * progmodes/js.el (js-mode): and and -> and
16459 * textmodes/artist.el (artist-move-to-xy): at at -> at
16460 (artist-draw-region-trim-line-endings): if if -> if
16461 And Safetyc -> Safety.
16462 * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
16463
b8f82dc1 164642011-05-10 Glenn Morris <rgm@gnu.org>
f1a71c6e 16465 Stefan Monnier <monnier@iro.umontreal.ca>
b8f82dc1
GM
16466
16467 * files.el (hack-one-local-variable-eval-safep):
16468 Consider "eval: (foo-mode)" to be safe. (Bug#8613)
16469
4f99f44b
GM
164702011-05-10 Glenn Morris <rgm@gnu.org>
16471
16472 * calendar/diary-lib.el (diary-list-entries-hook)
16473 (diary-mark-entries-hook, diary-nongregorian-listing-hook)
16474 (diary-nongregorian-marking-hook, diary-list-entries)
16475 (diary-include-other-diary-files, diary-mark-entries)
16476 (diary-mark-included-diary-files): Doc fixes.
16477
84f29e6b
JB
164782011-05-09 Juanma Barranquero <lekktu@gmail.com>
16479
16480 * misc.el: Require tabulated-list.el during compilation.
16481
9bedd73a
CY
164822011-05-09 Chong Yidong <cyd@stupidchicken.com>
16483
488086f4
SM
16484 * progmodes/compile.el (compilation-start):
16485 Run compilation-filter-hook for the async case too.
9bedd73a
CY
16486 (compilation-filter-hook): Doc fix.
16487
797c735c
DD
164882011-05-09 Deniz Dogan <deniz@dogan.se>
16489
16490 * wdired.el: Remove outdated installation comment. Fix usage
16491 comment.
16492
5f4b1dfe
JB
164932011-05-09 Juanma Barranquero <lekktu@gmail.com>
16494
16495 * misc.el: Implement new command `list-dynamic-libraries'.
16496 (list-dynamic-libraries--loaded-only-p): New variable.
16497 (list-dynamic-libraries--refresh): New function.
16498 (list-dynamic-libraries): New command.
16499
4c44026c
CY
165002011-05-09 Chong Yidong <cyd@stupidchicken.com>
16501
488086f4
SM
16502 * progmodes/compile.el (compilation-error-regexp-alist-alist):
16503 Fix the ant regexp to handle end-line and end-column info from jikes.
4c44026c
CY
16504 Re-introduce maven regexp. Give the ruby-Test::Unit regexp a
16505 higher priority to avoid clobbering by gnu.
16506
027f966d
CY
165072011-05-08 Chong Yidong <cyd@stupidchicken.com>
16508
16509 * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
16510 if the face has existing theme settings (Bug#8454).
16511
085f5d7d
CY
165122011-05-08 Ralph Schleicher <rs@ralph-schleicher.de>
16513
488086f4
SM
16514 * progmodes/perl-mode.el (perl-imenu-generic-expression):
16515 Only match variables declared via `my' or `our' (Bug#8261).
085f5d7d 16516
2a86a00c
RS
16517 * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
16518 special file names `.' and `..' (Bug#8259).
16519
d9c54a06
CY
165202011-05-08 Chong Yidong <cyd@stupidchicken.com>
16521
488086f4
SM
16522 * progmodes/grep.el (grep-mode-font-lock-keywords):
16523 Remove buffer-changing entries.
d9c54a06
CY
16524 (grep-filter): New function.
16525 (grep-mode): Add it to compilation-filter-hook.
16526
16527 * progmodes/compile.el (compilation-filter-hook)
16528 (compilation-filter-start): New defvars.
16529 (compilation-filter): Call compilation-filter-hook prior to
16530 updating the process mark.
16531
c4662635
SM
165322011-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
16533
16534 * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
16535
b0512a1d
EZ
165362011-05-07 Eli Zaretskii <eliz@gnu.org>
16537
605c9376
EZ
16538 * mail/sendmail.el (send-mail-function): On MS-Windows, default to
16539 mailclient-send-it even if window-system is nil. (Bug#8595)
16540
c4662635
SM
16541 * term/w32console.el (terminal-init-w32console):
16542 Call get-screen-color and use its output to set the frame
b0512a1d
EZ
16543 background-mode. (Bug#8597)
16544
d1dc2cc2
SM
165452011-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
16546
16547 Make bytecomp.el understand that defmethod defines funs (bug#8631).
16548 * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
16549 New functions.
16550 (defgeneric, eieio--defmethod): Use them.
16551 (eieio-defgeneric): Remove.
16552 (defmethod): Call defgeneric in a way visible to the byte-compiler.
16553
915d1300
GM
165542011-05-07 Glenn Morris <rgm@gnu.org>
16555
a3961c3e
GM
16556 * calendar/timeclock.el (timeclock-log-data): Remove unused local.
16557 Use let rather than let*.
16558 (timeclock-find-discrep): Remove unused local.
16559
314347b9
GM
16560 * calendar/diary-lib.el (diary-comment-start): Doc fix.
16561
915d1300
GM
16562 * calendar/appt.el (appt-time-msg-list): Doc fix.
16563
275b59b0
NF
165642011-05-06 Noah Friedman <friedman@splode.com>
16565
16566 * apropos.el (apropos-print-doc): Only use
16567 emacs-lisp-docstring-fill-column when it is bound to an integer,
16568 per that variable's documentation.
16569
6c19f744
SM
165702011-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
16571
16572 * lpr.el (print-region-1): Echo lpr-program's output, so error messages
d1dc2cc2 16573 and warnings are not silently discarded (e.g. use -d instead of -P).
6c19f744 16574
60f884b2
GM
165752011-05-06 Glenn Morris <rgm@gnu.org>
16576
5006e634
GM
16577 * calendar/appt.el (appt-message-warning-time): Doc fix.
16578 (appt-warning-time-regexp): New option.
16579 (appt-make-list): Respect appt-message-warning-time.
16580
548d0a63
GM
16581 * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
16582 New options.
16583 (diary-add-to-list): Strip comments from the displayed string.
16584 (diary-mode): Set comment-start and comment-end.
16585
60f884b2
GM
16586 * vc/diff-mode.el (smerge-refine-subst): Declare.
16587 (diff-refine-hunk): Don't require smerge-mode when compiling.
16588
989681bb
JB
165892011-05-06 Juanma Barranquero <lekktu@gmail.com>
16590
16591 * simple.el (list-processes): Return nil as the docstring says.
16592
a6bc05e1
MA
165932011-05-05 Michael Albinus <michael.albinus@gmx.de>
16594
16595 * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
16596 to "".
16597 (ange-ftp-write-region, ange-ftp-insert-file-contents)
16598 (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
16599 determining of binary transfer. (Bug#7383)
16600
23c22e9a
MA
166012011-05-05 Michael Albinus <michael.albinus@gmx.de>
16602
c4662635
SM
16603 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
16604 Fix port computation bug. (Bug#8618)
23c22e9a 16605
0bff894f
GM
166062011-05-05 Glenn Morris <rgm@gnu.org>
16607
b8296902
GM
16608 * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
16609
1f522ce8
GM
16610 * simple.el (shell-dynamic-complete-functions)
16611 (comint-dynamic-complete-functions): Declare.
16612
cf5bee67
GM
16613 * net/network-stream.el (gnutls-negotiate):
16614 * simple.el (tabulated-list-print): Fix declarations.
16615
16616 * progmodes/gud.el (syntax-symbol, syntax-point):
16617 Remove unnecessary and incorrect declarations.
16618
0bff894f
GM
16619 * emacs-lisp/check-declare.el (check-declare-scan):
16620 Handle byte-compile-initial-macro-environment in bytecomp.el
16621
9869b3ae
SM
166222011-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
16623
16624 Fix earlier half-done eieio-defmethod change (bug#8338).
16625 * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
16626 Streamline and change calling convention.
16627 (defmethod): Adjust accordingly and simplify.
16628 (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
16629 new eieio--defmethod.
16630 (slot-boundp): Minor CSE simplification.
16631
9c1d5ac5
MZ
166322011-05-05 Milan Zamazal <pdm@zamazal.org>
16633
16634 * progmodes/glasses.el (glasses-separate-capital-groups): New option.
16635 (glasses-make-readable): Use glasses-separate-capital-groups.
16636
455c834e
JB
166372011-05-05 Juanma Barranquero <lekktu@gmail.com>
16638
16639 * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
16640 (warning-series): Doc fix.
16641 (display-warning): Don't try to create the buffer if we just found it.
16642
9ed7c8cb
CY
166432011-05-04 Chong Yidong <cyd@stupidchicken.com>
16644
16645 * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
16646 (autoload-find-generated-file): New function.
16647 (generate-file-autoloads): Bind generated-autoload-file to
16648 buffer-file-name.
9869b3ae
SM
16649 (update-file-autoloads, update-directory-autoloads):
16650 Use autoload-find-generated-file. If called interactively, prompt for
9ed7c8cb
CY
16651 output file (Bug#7989).
16652 (batch-update-autoloads): Doc fix.
16653
0898ca10
JB
166542011-05-04 Juanma Barranquero <lekktu@gmail.com>
16655
16656 * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
16657
31dfb76c
GM
166582011-05-04 Glenn Morris <rgm@gnu.org>
16659
f330b642
GM
16660 * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
16661 function, so it follows changes in calendar-date-style.
16662 (diary-fancy-date-matcher): New function.
16663 (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
16664 (diary-fancy-font-lock-fontify-region-function):
16665 Use diary-fancy-date-pattern as a function.
16666
31dfb76c
GM
16667 * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
16668 non-numbers for `year' etc pseudo-variables. (Bug#8583)
16669
48e79d6a
TZ
166702011-05-04 Teodor Zlatanov <tzz@lifelogs.com>
16671
16672 * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
16673 instead of positional arguments. Allow :keylist and :crlfiles
16674 arguments.
16675 (open-gnutls-stream): Call it.
16676
16677 * net/network-stream.el (network-stream-open-starttls): Adjust to
16678 call `gnutls-negotiate' with :process and :hostname arguments.
16679
dd5a5ee0
SM
166802011-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
16681
ef80fc09
SM
16682 * minibuffer.el (completion--message): New function.
16683 (completion--do-completion, minibuffer-complete)
16684 (minibuffer-force-complete, minibuffer-complete-word): Use it.
16685 (completion--do-completion): Don't ignore completion-auto-help when in
16686 icomplete-mode.
16687
dd5a5ee0
SM
16688 * whitespace.el (whitespace-trailing-regexp): Don't rely on the
16689 internal encoding (e.g. tibetan zero is not whitespace).
16690 (global-whitespace-mode): Prefer save-current-buffer.
16691 (whitespace-trailing-regexp): Remove useless save-match-data.
16692 (whitespace-empty-at-bob-regexp): Minor simplification.
16693
b7d22a83
CY
166942011-05-03 Chong Yidong <cyd@stupidchicken.com>
16695
16696 * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
16697
5192af46
AM
166982011-05-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
16699
16700 * textmodes/ispell.el (ispell-add-per-file-word-list):
cdc4a047 16701 Use `concat' to create string for insertion.
5192af46 16702
5767d190
SM
167032011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
16704
16705 * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
16706 Avoid open-line which runs post-self-insert-hook.
16707 (bibtex-fill-entry): Remove unused `end' var.
16708
bf242939
AM
167092011-05-03 Dirk Ullrich <dirk.ullrich@googlemail.com> (tiny change)
16710
5767d190
SM
16711 * textmodes/ispell.el (ispell-add-per-file-word-list):
16712 Protect against `nil' value of `comment-start' (Bug#8579).
bf242939 16713
25666126
LL
167142011-05-03 Leo Liu <sdl.web@gmail.com>
16715
16716 * isearch.el (isearch-yank-pop): New command.
5767d190 16717 (isearch-mode-map): Bind it to `M-y'.
25666126
LL
16718 (isearch-forward): Mention it.
16719
52d3c2d0
SM
167202011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
16721
1bcace58
SM
16722 * simple.el (minibuffer-complete-shell-command): Remove.
16723 (minibuffer-local-shell-command-map): Use completion-at-point.
16724 (read-shell-command): Setup completion vars here instead.
16725 (read-expression-map): Bind TAB to symbol completion.
16726
52d3c2d0
SM
16727 * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
16728 error directly rather via storing it into `results'.
16729
35813471
LL
167302011-05-02 Leo Liu <sdl.web@gmail.com>
16731
16732 * vc/diff.el: Fix description.
16733
e793a940
LMI
167342011-05-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
16735
16736 * server.el (server-eval-at): New function.
16737
8de66e05
LMI
167382011-05-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
16739
16740 * net/network-stream.el (open-network-stream): Take a :nowait
16741 parameter and pass it on to `make-network-process'.
16742 (network-stream-open-plain): Ditto.
16743
dcb79f20
AS
167442011-04-30 Andreas Schwab <schwab@linux-m68k.org>
16745
16746 * faces.el (face-spec-set-match-display): Don't match toolkit
16747 options on terminal frames.
16748
14a7fbd8
SM
167492011-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
16750
7eabc1be
SM
16751 * progmodes/pascal.el: Use lexical binding.
16752 (pascal-mode-map): Remove author preferences.
16753
14a7fbd8
SM
16754 * pcomplete.el (pcomplete-std-complete): Don't abuse
16755 completion-at-point.
16756
50f84510
JB
167572011-04-28 Juanma Barranquero <lekktu@gmail.com>
16758
6e087a44
JB
16759 * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
16760 removing code that has been dead since 1991 or so.
16761
50f84510
JB
16762 * startup.el (command-line): When warning about "_emacs", use a
16763 delayed warning to allow the user to filter it out.
16764
0ba690bd
DD
167652011-04-28 Deniz Dogan <deniz@dogan.se>
16766
16767 * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
16768 user has not joined.
16769
08abfaad
SM
167702011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
16771
16772 * pcomplete.el (pcomplete-completions-at-point): Return nil if there
16773 aren't any completions at point.
16774
638f053a
JB
167752011-04-28 Juanma Barranquero <lekktu@gmail.com>
16776
16777 * subr.el (display-delayed-warnings): New function.
16778 (delayed-warnings-hook): New variable.
16779
8fff8daa
SM
167802011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
16781
08abfaad
SM
16782 * minibuffer.el (completion-at-point, completion-help-at-point):
16783 Don't presume that a given completion-at-point-function will always
16784 use the same calling convention.
16785
8fff8daa
SM
16786 * pcomplete.el (pcomplete-completions-at-point):
16787 Obey pcomplete-ignore-case. Don't call pcomplete-norm-func unless
16788 pcomplete-seen is non-nil.
16789 (pcomplete-comint-setup): Also recognize the new comint/shell
16790 completion functions.
16791 (pcomplete-do-complete): Don't call pcomplete-norm-func unless
16792 pcomplete-seen is non-nil.
16793
841a1577 167942011-04-27 Niels Giesen <niels.giesen@gmail.com>
211ec907 16795
841a1577 16796 * calendar/icalendar.el (diary-lib): Add require statement.
211ec907 16797 (icalendar--create-uid): Read out a uid from a text-property on
841a1577 16798 the first character in the entry. This allows for code to add its
211ec907
UJ
16799 own uid to the entry.
16800 (icalendar--convert-float-to-ical): Add export of
16801 `diary-float'-entries save for those with the optional DAY
16802 argument.
16803
2a782793
DC
168042011-04-27 Daniel Colascione <dan.colascione@gmail.com>
16805
16806 * subr.el (shell-quote-argument): Use alternate escaping strategy
16807 when we spot a variable reference in a string.
16808
0438ce91
DC
168092011-04-26 Daniel Colascione <dan.colascione@gmail.com>
16810
16811 * cus-start.el (all): Define customization for debug-on-event.
16812
841a1577 168132011-04-26 Daniel Colascione <dan.colascione@gmail.com>
8f91bf93
DC
16814
16815 * subr.el (shell-quote-argument): Escape correctly under Windows.
16816
d090ed6c
SM
168172011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
16818
16819 * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
16820
bfd31217
MA
168212011-04-25 Michael Albinus <michael.albinus@gmx.de>
16822
d090ed6c
SM
16823 * net/tramp.el (tramp-process-actions): Add POS argument.
16824 Delete region between POS and (pos).
bfd31217 16825
d090ed6c
SM
16826 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
16827 Use `nil' position in `tramp-process-actions' call.
bfd31217
MA
16828 (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
16829
16830 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
16831 position in `tramp-process-actions' call.
16832
16833 * net/trampver.el: Update release number.
16834
e92f3bd3
SM
168352011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
16836
850256b5
SM
16837 * custom.el (defcustom): Obey lexical-binding.
16838
e92f3bd3
SM
16839 Fix octave-inf completion problems reported by Alexander Klimov.
16840 * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
16841 Inherit from octave-mode-syntax-table.
16842 (inferior-octave-mode): Set info-lookup-mode.
16843 (inferior-octave-completion-at-point): New function.
16844 (inferior-octave-complete): Use it and completion-in-region.
16845 (inferior-octave-dynamic-complete-functions): Use it as well, and use
16846 comint-filename-completion.
16847 * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
16848 symbol elements which shouldn't be word elements.
16849 (octave-font-lock-keywords, octave-beginning-of-defun)
16850 (octave-function-header-regexp): Adjust regexps accordingly.
16851 (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
16852
cd22b309
JB
168532011-04-25 Juanma Barranquero <lekktu@gmail.com>
16854
16855 * net/gnutls.el (gnutls-errorp): Declare before first use.
16856
8b492194
TZ
168572011-04-24 Teodor Zlatanov <tzz@lifelogs.com>
16858
16859 * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
16860 verify-error, and verify-hostname-error parameters. Check whether
cd22b309 16861 default trustfile exists before going to use it. Add missing
5a5fa834 16862 argument to gnutls-message-maybe call. Return value.
8b492194
TZ
16863 Reported by Claudio Bley <claudio.bley@gmail.com>.
16864 (open-gnutls-stream): Add usage example.
16865
16866 * net/network-stream.el (network-stream-open-starttls): Give host
16867 parameter to `gnutls-negotiate'.
16868 (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
8f91bf93 16869 * subr.el (shell-quote-argument): Escape correctly under Windows.
8b492194 16870
841a1577 168712011-04-24 Daniel Colascione <dan.colascione@gmail.com>
05842630 16872
cd22b309
JB
16873 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
16874 Use correct match group (bug#8438).
05842630 16875
3ba7869c
CY
168762011-04-24 Chong Yidong <cyd@stupidchicken.com>
16877
512e3ae1
CY
16878 * emacs-lisp/package.el (package-built-in-p): Fix typo.
16879 (package-menu--generate): New arg specifying packages to show.
16880 (package-menu-refresh, package-menu-execute, list-packages):
16881 Callers changed.
16882 (package-show-package-list): New function, replacing deleted
16883 package--list-packages (renamed because it is non-internal).
16884
16885 * finder.el (finder-list-matches): Use package-show-package-list
16886 instead of deleted package--list-packages.
16887
e92f3bd3
SM
16888 * vc/vc-annotate.el (vc-annotate-goto-line): New command.
16889 Based on a previous implementation by Juanma Barranquero (Bug#8366).
3ba7869c
CY
16890 (vc-annotate-mode-map): Bind it to RET.
16891
7031be6d
UR
168922011-04-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
16893
16894 * progmodes/etags.el (next-file): Don't use set-buffer to change
16895 buffers (Bug#8478).
16896
4ef177aa
CY
168972011-04-24 Chong Yidong <cyd@stupidchicken.com>
16898
c8d173eb
CY
16899 * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
16900
4ef177aa
CY
16901 * apropos.el (apropos-label-face): Avoid variable-pitch face.
16902 (apropos-accumulator): Doc fix.
16903 (apropos-function, apropos-macro, apropos-command)
16904 (apropos-variable, apropos-face, apropos-group, apropos-widget)
16905 (apropos-plist): Add face property.
16906 (apropos-symbols-internal): Fix indentation.
16907 (apropos-print): Simplify help, and recognize apropos-multi-type.
16908 (apropos-print-doc): Use button-type-get to extract the button's
16909 face property. Fill docstring (Bug#8352).
16910
4ffd0d6b 169112011-04-23 Juanma Barranquero <lekktu@gmail.com>
be71f810
JB
16912
16913 * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
16914
c6c32125 16915 * play/mpuz.el (mpuz-silent): Doc fix.
4ffd0d6b 16916 (mpuz-mode-map): Use mapc.
c6c32125
JB
16917 (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
16918 (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
16919 Fix typos in docstrings.
16920
58d468b4
JB
16921 * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
16922 (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
16923
6470c3c6
JB
16924 * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
16925
4ffd0d6b 169262011-04-23 Chong Yidong <cyd@stupidchicken.com>
6f21a319
CY
16927
16928 * minibuffer.el (completion--do-completion): Avoid the "Next char
16929 not unique" prompt if icomplete-mode is enabled (Bug#5849).
16930
3ad8bad0
CY
16931 * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
16932 mouse-2 into unread-command-events, it is interpreted correctly.
16933
71d73c9c 16934 * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
6395aab9 16935 (image-toggle-display): Doc fix.
71d73c9c 16936
841a1577 169372011-04-23 Stephen Berman <stephen.berman@gmx.net>
e935c6a2 16938
4ffd0d6b
GM
16939 * textmodes/page.el (what-page): Use line-number-at-pos to
16940 calculate line number (Bug#6825).
6e1dbaa9 16941
c2fb1b60
JB
169422011-04-22 Juanma Barranquero <lekktu@gmail.com>
16943
16944 * eshell/esh-mode.el (find-tag-interactive): Declare function.
16945 (eshell-find-tag): Remove `with-no-warnings', unneeded now.
16946 Pass argument NO-DEFAULT to `find-tag-interactive'.
16947
e02f48d7
JB
169482011-04-22 Juanma Barranquero <lekktu@gmail.com>
16949
16950 Lexical-binding cleanup.
16951
16952 * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
16953 (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
16954 * progmodes/ada-prj.el (ada-prj-initialize-values)
16955 (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
16956 (ada-prj-show-value):
16957 * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
16958 * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
16959 (antlr-invalidate-context-cache, antlr-options-menu-filter)
16960 (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
16961 * progmodes/bug-reference.el (bug-reference-push-button):
16962 * progmodes/fortran.el (fortran-line-length):
16963 * progmodes/glasses.el (glasses-change):
16964 * progmodes/octave-mod.el (octave-fill-paragraph):
16965 * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
16966 (python-pdbtrack-grub-for-buffer, python-sentinel):
16967 * progmodes/sql.el (sql-save-connection):
16968 * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
16969 * progmodes/xscheme.el (xscheme-enter-debugger-mode):
16970 Mark unused parameters.
16971
16972 * progmodes/compile.el (compilation--flush-directory-cache)
16973 (compilation--flush-parse, compile-internal): Mark unused parameters.
16974 (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
16975 (compilation-next-error-function): Remove unused variable `timestamp'.
16976
16977 * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
16978 (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
16979
16980 * progmodes/dcl-mode.el (dcl-end-of-command):
16981 Remove unused variable `start'.
16982 (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
16983 (dcl-option-value-basic, dcl-option-value-offset)
16984 (dcl-option-value-margin-offset, dcl-option-value-comment-line):
16985 Mark unused parameters.
16986 (dcl-save-local-variable): Remove unused variable `val'.
16987 (mode): Declare.
16988
16989 * progmodes/delphi.el (delphi-save-state, delphi-after-change):
16990 Mark unused parameters.
16991 (delphi-ignore-changes): Move before first use.
16992 (delphi-charset-token-at): Remove unused variable `start'.
16993 (delphi-else-start): Remove unused variable `if-count'.
16994 (delphi-comment-block-start, delphi-comment-block-end):
16995 Remove unused variable `kind'.
16996 (delphi-indent-line): Remove unused variable `new-point'.
16997
16998 * progmodes/ebrowse.el (ebrowse-files-list)
16999 (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
17000 Mark unused parameters. Don't quote `lambda'.
17001 (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
17002 Don't quote `lambda'.
17003 (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
17004 (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
17005 (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
17006 (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
17007 Use `ignore-errors'.
17008 (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
17009 (ebrowse-view/find-file-and-search-pattern)
17010 (ebrowse-view/find-member-declaration/definition):
17011 Rename parameter TAGS-FILE-NAME to TAGS-FILE.
17012 (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
17013 Rename parameter PREFIX-ARG to PREFIX.
17014 (ebrowse-tags-read-name): Remove unused variables `start' and
17015 `member-info'.
17016 (ebrowse-display-member-buffer): Rename variable `tags-file-name'
17017 to `tags-file'.
17018
17019 * progmodes/etags.el (local-find-tag-hook): Declare.
17020 (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
17021 Mark unused parameters.
17022
17023 * progmodes/executable.el (compilation-error-regexp-alist): Declare.
17024 (executable-interpret): Mark unused parameter.
17025
17026 * progmodes/flymake.el (flymake-process-sentinel)
17027 (flymake-after-change-function)
17028 (flymake-create-temp-with-folder-structure)
17029 (flymake-get-include-dirs-dot): Mark unused parameters.
17030 (flymake-safe-delete-directory): Remove unused variable `err'.
17031
17032 * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
17033 (speedbar-timer-fn, speedbar-line-text)
17034 (speedbar-change-expand-button-char, speedbar-delete-subblock)
17035 (speedbar-center-buffer-smartly): Declare functions.
17036 (gdb-find-watch-expression): Remove unused variable `array'.
17037 (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
17038 (gdb-starting): Mark unused parameters.
17039 (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
17040 (gdb-table-string): Remove unused variable `res'.
17041 (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
17042 (gdb-disassembly-handler-custom): Remove unused variable `pos'.
17043 (gdb-display-buffer): Remove unused variable `cur-size'.
17044
17045 * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
17046 allow lexical-binding compilation.
17047 (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
17048 (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
17049 (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
17050 Mark unused parameters.
17051 (gud-gdb-marker-filter): Remove unused variable `match'.
17052 (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
17053 lambda expressions and funcall them, instead of using `fset'.
17054
17055 * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
17056 HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
17057
17058 * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
17059 variable `header-beg'; use `let'.
17060
17061 * progmodes/icon.el (indent-icon-exp): Remove unused variables
17062 `restart', `last-sexp' and `at-do'.
17063
17064 * progmodes/js.el (js--debug): Mark unused parameter.
17065 (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
17066 (js--splice-into-items): Remove unused variable `item'.
17067 (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
17068
17069 * progmodes/make-mode.el (makefile-make-font-lock-keywords):
17070 Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
17071 (makefile-complete): Remove unused variable `try'.
17072 (makefile-fill-paragraph, makefile-match-function-end):
17073 Mark unused parameters.
17074
17075 * progmodes/octave-inf.el (inferior-octave-complete):
17076 Remove unused variable `proc'.
17077 (inferior-octave-output-digest): Mark unused parameter.
17078
17079 * progmodes/perl-mode.el (perl-calculate-indent):
17080 Remove unused variable `err'.
17081
17082 * progmodes/prolog.el (prolog-mode-keybindings-inferior)
17083 (prolog-indent-line): Mark unused parameters.
17084 (prolog-indent-line): Remove unused variable `beg'.
17085
17086 * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
17087 (reporter-dont-compact-list): Declare.
17088
17089 * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
17090 Remove unused variable `char'.
17091 (sh-debug): Mark unused parameter.
17092 (sh-get-indent-info): Remove unused variable `start'.
17093 (sh-calculate-indent): Remove unused variable `var'.
17094
17095 * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
17096 (simula-electric-keyword): Remove unused variable `null'.
17097 (simula-search-backward, simula-search-forward): Remove unused
17098 variables `begin' and `end'.
17099
17100 * progmodes/vera-mode.el (vera-guess-basic-syntax):
17101 Remove unused variable `pos'.
17102 (vera-electric-tab, vera-comment-uncomment-region):
17103 Mark unused parameters.
17104 (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
17105
7ede3b65
CY
171062011-04-22 Chong Yidong <cyd@stupidchicken.com>
17107
17108 * emacs-lisp/package.el (package--builtins, package-alist)
17109 (package-load-descriptor, package-built-in-p, package-activate)
17110 (define-package, package-installed-p)
17111 (package-compute-transaction, package-buffer-info)
17112 (package--push): Doc fix. Distinguish more clearly between
17113 version strings and version lists.
17114
121656e9
JB
171152011-04-21 Juanma Barranquero <lekktu@gmail.com>
17116
17117 Lexical-binding cleanup.
17118
17119 * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
17120 (5x5-make-mutate-best):
17121 * play/fortune.el (fortune-in-buffer):
17122 * play/gomoku.el (gomoku-init-display):
17123 * play/solitaire.el (solitaire, solitaire-do-check):
17124 * play/tetris.el (tetris-default-update-speed-function):
17125 Mark unused parameters.
17126
17127 * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
17128 (bubbles--shift): Remove unused variable `char-org'.
17129 (bubbles--set-faces): Remove unused variable `fg-col'. Simplify.
17130 (bubbles--show-images): Remove unused variable `char'.
17131
17132 * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
17133 (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
17134 (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
17135 (decipher-analyze-buffer): Use ?\s.
17136 (decipher-make-checkpoint): Remove unused variable `mapping'.
17137
17138 * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
17139
17140 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
17141 Remove unused variable `result'; use `let'.
17142
17143 * play/gametree.el (gametree-current-layout, gametree-apply-layout):
17144 Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
17145 (gametree-children-shown-p, gametree-compute-reduced-score):
17146 Use `ignore-errors'.
17147
17148 * play/handwrite.el (ps-lpr-switches): Declare.
17149 (handwrite): Remove unused variables `pmin' and `lastp'.
17150
17151 * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
17152
17153 * play/landmark.el (landmark-init-display)
17154 (landmark-update-naught-weights): Mark unused parameters.
17155 (landmark-y): Remove unused variable `noise'. Simplify.
17156 (landmark-human-plays): Remove unused variable `score'.
17157
17158 * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
17159 (mpuz-try-proposal): Remove unused variable `game'.
17160
17161 * play/zone.el (life-patterns): Declare.
17162
80f499c7
JB
171632011-04-20 Juanma Barranquero <lekktu@gmail.com>
17164
17165 * vc/vc.el (ediff-vc-internal): Declare function.
17166
024ff170
SM
171672011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
17168
c0a193ea
SM
17169 * shell.el: Use lexical-binding and std completion UI.
17170 (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
17171 (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
17172 comint-preoutput-filter-functions rather than on
17173 comint-output-filter-functions.
17174 (shell-command-completion, shell--command-completion-data)
17175 (shell-filename-completion, shell-environment-variable-completion)
17176 (shell-c-a-p-replace-by-expanded-directory): New functions.
17177 (shell-dynamic-complete-functions, shell-dynamic-complete-command)
17178 (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
17179 (shell-dynamic-complete-environment-variable): Use them.
17180 (shell-dynamic-complete-as-environment-variable)
17181 (shell-dynamic-complete-as-command): Remove.
17182 (shell-match-partial-variable): Match past point.
17183 * comint.el: Clean up use of completion-at-point-functions.
17184 (comint-completion-at-point): New function.
17185 (comint-mode): Use it completion-at-point-functions.
17186 (comint-dynamic-complete): Make it obsolete.
17187 (comint-replace-by-expanded-history-before-point): Add dry-run arg.
17188 (comint-c-a-p-replace-by-expanded-history): New function.
17189 (comint-dynamic-complete-functions)
17190 (comint-replace-by-expanded-history): Use it.
17191 * minibuffer.el (completion-table-with-terminator): Allow dynamic
17192 termination strings. Try harder to avoid second try-completion.
17193 (completion-in-region-mode-map): Disable bindings that don't work yet.
17194
2dbaa080
SM
17195 * comint.el: Use lexical-binding. Require CL.
17196 (comint-dynamic-complete-functions): Use comint-filename-completion.
17197 (comint-completion-addsuffix): Tweak custom type.
17198 (comint-filename-completion, comint--common-suffix)
17199 (comint--common-quoted-suffix, comint--table-subvert)
17200 (comint--complete-file-name-data): New functions.
17201 (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
17202 (comint-dynamic-list-filename-completions): Use them.
17203 (comint-dynamic-simple-complete): Make obsolete.
c0a193ea 17204
2dbaa080
SM
17205 * minibuffer.el (completion-in-region-mode):
17206 Keep completion-in-region-mode--predicate global.
17207 (completion-in-region--postch):
17208 Assume completion-in-region-mode--predicate is not null.
17209
c79a6f38
SM
17210 * progmodes/flymake.el (flymake-start-syntax-check-process):
17211 Obey `dir'. Simplify.
17212
024ff170
SM
17213 * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
17214 we're in VC after all.
17215
1c6c854e
CS
172162011-04-20 Christoph Scholtes <cschol2112@googlemail.com>
17217
17218 * vc/vc.el (vc-diff-build-argument-list-internal)
024ff170 17219 (vc-version-ediff, vc-ediff): New commands.
1c6c854e
CS
17220 (vc-version-diff): Use vc-diff-build-argument-list-internal.
17221
bed7f140
SM
172222011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
17223
332e62ab
SM
17224 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
17225 add sanity check.
17226
bed7f140
SM
17227 * obsolete/erc-hecomplete.el: Make obsolete.
17228 * obsolete/: Standardize obsolescence info in the header.
17229
f195c582
GM
172302011-04-20 Glenn Morris <rgm@gnu.org>
17231
17232 * calendar/solar.el (solar-horizontal-coordinates):
17233 Use the longitude argument rather than `calendar-longitude'.
17234 (solar-date-next-longitude): Remove unused locals.
17235
cb79b8c0
VJL
172362011-04-20 Vinicius Jose Latorre <viniciusjl@ig.com.br>
17237
17238 * whitespace.el: New version 13.2.1.
17239
172402011-04-20 felix <EmacsWiki> (tiny change)
17241
d8e4b68b 17242 * whitespace.el (global-whitespace-mode): Keep highlight when
cb79b8c0
VJL
17243 switching between major modes on a file.
17244
602ea69d
SM
172452011-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
17246
17247 * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
17248 (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
17249 multi-line comments as well.
17250
06b60517
JB
172512011-04-19 Juanma Barranquero <lekktu@gmail.com>
17252
17253 Lexical-binding cleanup.
17254
17255 * arc-mode.el (archive-mode-revert):
17256 * cmuscheme.el (scheme-interactively-start-process):
17257 * custom.el (custom-initialize-delay):
17258 * dnd.el (dnd-open-local-file, dnd-open-remote-url):
17259 * dos-w32.el (direct-print-region-helper, direct-print-region-function):
17260 * emacs-lock.el (emacs-lock-clear-sentinel):
17261 * ezimage.el (defezimage):
17262 * follow.el (follow-avoid-tail-recenter):
17263 * fringe.el (set-fringe-mode-1):
17264 * generic-x.el (bat-generic-mode-compile):
17265 * help-mode.el (help-info-variable, help-do-xref)
17266 (help-mode-revert-buffer):
17267 * help.el (view-emacs-todo):
17268 * iswitchb.el (iswitchb-completion-help):
17269 * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
17270 * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
17271 (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
17272 * locate.el (locate-update):
17273 * longlines.el (longlines-encode-region)
17274 (longlines-after-change-function):
17275 * outline.el (outline-isearch-open-invisible):
17276 * ps-def.el (declare-function, charset-dimension, char-width)
17277 (encode-char):
17278 * ps-mule.el (ps-mule-plot-string):
17279 * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
17280 (recentf-edit-list-select, recentf-edit-list-validate)
17281 (recentf-open-files-action):
17282 * rect.el (delete-whitespace-rectangle-line)
17283 (rectangle-number-line-callback):
17284 * register.el (window-configuration-to-register)
17285 (frame-configuration-to-register):
17286 * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
17287 * select.el (xselect-convert-to-string, xselect-convert-to-length)
17288 (xselect-convert-to-targets, xselect-convert-to-delete)
17289 (xselect-convert-to-filename, xselect-convert-to-charpos)
17290 (xselect-convert-to-lineno, xselect-convert-to-colno)
17291 (xselect-convert-to-os, xselect-convert-to-host)
17292 (xselect-convert-to-user, xselect-convert-to-class)
17293 (xselect-convert-to-name, xselect-convert-to-integer)
17294 (xselect-convert-to-atom, xselect-convert-to-identity):
17295 * subr.el (declare, ignore, process-kill-without-query)
17296 (text-clone-maintain):
17297 * terminal.el (te-get-char, te-tic-sentinel):
17298 * tool-bar.el (tool-bar-make-keymap):
17299 * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
17300 * type-break.el (type-break-mode, type-break-noninteractive-query):
17301 * view.el (View-back-to-mark):
17302 * wid-browse.el (widget-browse-action, widget-browse-widget)
17303 (widget-browse-widgets, widget-browse-sexp):
17304 * widget.el (define-widget-keywords):
17305 * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
17306 Mark unused parameters.
17307
17308 * align.el (align-adjust-col-for-rule): Mark unused parameter.
17309 (align-areas): Remove unused variable `look'.
17310 (align-region): Remove unused variables `real-end' and `pos-list'.
17311
17312 * apropos.el (apropos-score-doc): Remove unused variable `i'.
17313
17314 * bindings.el (mode-line-modified, mode-line-remote):
17315 Mark unused parameters.
17316 (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
17317
17318 * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
17319 (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
17320
17321 * comint.el (comint-history-isearch-pop-state)
17322 (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
17323 (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
17324 (comint-substitute-in-file-name): Doc fix.
17325
17326 * completion.el (cmpl-statistics-block): Mark unused parameter.
17327 (add-completions-from-tags-table, add-completions-from-lisp-buffer)
17328 (save-completions-to-file, load-completions-from-file):
17329 Remove unused local variable `e'.
17330
17331 * composite.el (compose-chars): Remove unused variable `len'.
17332 (lgstring-insert-glyph): Remove unused variable `g'.
17333 (compose-glyph-string): Remove unused variables `ascent',
17334 `descent', `lbearing' and `rbearing'.
17335 (compose-glyph-string-relative): Remove unused variables
17336 `lbearing', `rbearing' and `wadjust'.
17337 (compose-gstring-for-graphic): Remove unused variables `header',
17338 `wadjust', `xoff' and `yoff'. Use `let', not `let*'.
17339 (compose-gstring-for-terminal): Remove unused variables `header'
17340 and `nchars'. Use `let', not `let*'.
17341
17342 * cus-edit.el (Custom-set, Custom-save, custom-reset)
17343 (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
17344 (Custom-buffer-done, custom-buffer-create-internal)
17345 (custom-browse-visibility-action, custom-browse-group-tag-action)
17346 (custom-browse-variable-tag-action, custom-browse-face-tag-action)
17347 (widget-magic-mouse-down-action, custom-toggle-parent)
17348 (custom-add-parent-links, custom-toggle-hide-variable)
17349 (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
17350 (custom-toggle-hide-face, face, hook, custom-group-link-action)
17351 (custom-face-menu-create, custom-variable-menu-create, get)
17352 (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
17353 (custom-reset-standard-save-and-update): Remove unused variable `value'.
17354 (customize-apropos): Remove unused variable `tests'.
17355 (custom-group-value-create): Remove unused variable `hidden-p'.
17356 (sort-fold-case): Declare.
17357
17358 * cus-theme.el (custom-reset-standard-faces-list)
17359 (custom-reset-standard-variables-list): Declare.
17360 (customize-create-theme, custom-theme-revert, custom-theme-write)
17361 (custom-theme-choose-mode, customize-themes, custom-theme-save):
17362 Mark unused parameters.
17363
17364 * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
17365
17366 * delim-col.el (delimit-columns-max): Move defvar before first use.
17367
17368 * descr-text.el (describe-char-categories): Don't quote `lambda'.
bd0d2ee2 17369 (describe-char): Don't quote `lambda'. Mark unused parameter.
06b60517
JB
17370
17371 * desktop.el (desktop-save-buffer-p): Mark unused parameter.
17372 (auto-insert): Declare.
17373 (desktop-restore-file-buffer): Rename desktop-* parameters;
17374 mark unused ones.
17375 (desktop-create-buffer): Rename desktop-* parameters and bind them.
17376 (desktop-buffer): Rename desktop-* parameters.
17377
17378 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
17379 (dframe-reposition-frame-xemacs, dframe-help-echo)
17380 (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
17381 Mark unused parameters.
17382
17383 * dired-aux.el (backup-extract-version-start, overwrite-query)
17384 (overwrite-backup-query, rename-regexp-query)
17385 (rename-non-directory-query): Declare.
17386 (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
17387 (dired-add-entry): Remove unused variable `orig-file-name'.
17388 (dired-copy-file-recursive): Remove unused variable `dirfailed'.
17389 Use parameter PRESERVE-TIME instead of accessing dynamic variable
17390 `dired-copy-preserve-time' directly.
17391 (dired-do-create-files-regexp): Remove unused variable `fn-count'.
17392 (dired-insert-subdir-newpos): Rename unused variable `pos'.
17393
17394 * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
17395 (dired-virtual-revert, dired-make-relative-symlink):
17396 Mark unused parameters.
17397 (manual-program): Declare.
17398 (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
17399 (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
17400 wrapped in `with-no-warnings' to avoid replacing one warning by another.
17401
17402 * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
17403
17404 * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
17405
17406 * echistory.el (electric-history-in-progress, Helper-return-blurb):
17407 Declare.
17408
17409 * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
17410
17411 * electric.el (Electric-command-loop): Rename parameter
17412 INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
17413
17414 * expand.el (expand-in-literal): Remove unused variable `here'.
17415
17416 * facemenu.el (facemenu-add-new-color):
17417 Remove unused variable `docstring'.
17418
17419 * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
17420 (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
17421 (face-attr-construct): Mark unused parameter. Doc fix.
17422 (read-color): Remove unused variable `hex-string'.
17423
17424 * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
17425 (locate-dominating-file): Remove unused vars `prev-file' and `user'.
17426 (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
17427 (display-buffer-other-frame): Remove unused variable `old-window'.
17428 (kill-buffer-hook): Declare.
17429 (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
17430 Mark unused parameters.
17431 (after-find-file): Pass 1 to `auto-save-mode', not t.
17432
17433 * files-x.el (auto-insert): Declare.
17434 (modify-file-local-variable-prop-line): Remove unused variable `val'.
17435
17436 * find-lisp.el (find-lisp-find-dired-internal): Remove unused
bd0d2ee2 17437 variable `buf'. Mark unused parameter.
06b60517
JB
17438 (find-lisp-insert-directory): Mark unused parameter.
17439
17440 * format.el (format-decode-run-method): Mark unused parameter; doc fix.
17441 (format-encode-region): Remove unused variables `cur-buf' and `result'.
17442 (format-common-tail): Remove, unused.
17443 (format-deannotate-region): Remove unused variable `loc'.
17444 (format-annotate-region): Remove unused variable `p'.
17445 (format-annotate-single-property-change): Remove unused variables
17446 `default' and `tail'.
17447
17448 * forms.el (read-file-filter): Declare.
17449 (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
17450
17451 * frame.el (frame-creation-function-alist): Mark unused parameter.
17452 (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
17453
17454 * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
17455 Remove unused parameters.
17456 (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
17457 (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
17458
17459 * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
17460 (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
17461 (hfy-prepare-tag-map): Mark unused parameters.
17462 (htmlfontify-buffer): Use `called-interactively-p'.
17463
17464 * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
17465 (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
17466 (ibuffer-do-occur): Mark unused parameters.
17467 (ibuffer-forward-next-marked): Remove unused variable `curmark'.
17468 (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
17469
17470 * ibuffer.el: Don't quote `lambda'.
17471 (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
17472 (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
17473 Mark unused parameters.
17474
17475 * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
17476 (ido-completing-read): Mark unused parameters.
17477 (ido-copy-current-word): Mark unused parameters;
17478 remove unused variable `name'.
17479 (ido-sort-merged-list): Remove unused parameter `dirs'.
17480
17481 * ielm.el (ielm-input-sender): Mark unused parameter.
17482 (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
17483 (ielm-output, ielm-wbuf, ielm-pmark): Declare.
17484 (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
17485 `ielm-string' as a dynamic variable accessible from the IELM prompt.
17486 Bind `ielm-string' to INPUT-STRING. Remove unused variable `err'.
17487
17488 * image-dired.el (image-dired-display-thumbs): Remove unused
17489 variables `curr-file' and `count'.
17490 (image-dired-remove-tag): Remove unused variable `start'.
17491 (image-dired-tag-files, image-dired-create-thumbs): Remove unused
17492 variable `curr-file'
17493 (image-dired-rotate-original): Remove unused variable `temp-file'.
17494 (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
17495 Remove unused variable `file'.
17496 (image-dired-gallery-generate): Remove unused variable `curr'.
17497 (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
17498
17499 * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
17500
17501 * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
17502
17503 * informat.el (texinfo-command-start, texinfo-command-end): Declare.
17504
17505 * isearch.el (minibuffer-history-symbol): Declare.
17506 (isearch-edit-string): Remove unused variable `err'.
17507 (isearch-message-prefix, isearch-message-suffix):
17508 Mark unused parameters.
17509
17510 * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
17511
17512 * macros.el (insert-kbd-macro): Remove unused variable `mods'.
17513
17514 * makesum.el (double-column): Remove unused variable `cnt'.
17515
17516 * misearch.el (multi-isearch-pop-state): Mark unused parameter.
17517 (ido-ignore-item-temp-list): Declare.
17518
17519 * mouse-drag.el (mouse-drag-throw): Remove unused variables
17520 `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
17521 `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
17522 (mouse-drag-drag): Remove unused variables `mouse-delta' and
17523 `mouse-col-delta'.
17524
17525 * mouse-sel.el (mouse-extend-internal):
17526 Remove unused variable `orig-window-frame'.
17527
17528 * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
17529 (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
17530 Move declarations before first use.
17531 (pcomplete-opt): Mark unused parameters; doc fix.
17532
17533 * proced.el (proced-revert): Mark unused parameter.
17534 (proced-send-signal): Remove unused variable `err'.
17535
17536 * ps-print.el (ps-print-preprint-region, ps-print-preprint):
17537 Rename parameter PREFIX-ARG to ARG.
17538 (ps-basic-plot-string, ps-basic-plot-whitespace):
17539 Mark unused parameters.
17540
17541 * replace.el (replace-count): Define.
17542 (occur-revert-function): Mark unused parameters.
17543 (ido-ignore-item-temp-list, isearch-error, isearch-forward)
17544 (isearch-case-fold-search, isearch-string): Declare.
17545 (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
17546 bind `case-fold-search'. Remove unused variables `beg' and `end',
17547 and simplify.
17548 (replace-eval-replacement): Rename parameter REPLACE-COUNT to
17549 COUNT and bind `replace-count'.
17550 (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
17551 to COUNT.
17552
17553 * savehist.el (print-readably, print-string-length): Declare.
17554
17555 * shadowfile.el (shadow-expand-cluster-in-file-name):
17556 Remove unused variable `cluster'.
17557 (shadow-copy-file): Remove unused variable `i'.
17558 (shadow-noquery, shadow-clusters, shadow-site-cluster)
17559 (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
17560 (shadow-define-literal-group, shadow-define-regexp-group)
17561 (shadow-make-group, shadow-shadows-of): Clean up docstrings.
17562
17563 * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
17564 (shell): Use `called-interactively-p'.
17565 (shell-directory-tracker): Remove unused variable `chdir-failure'.
17566
17567 * simple.el (compilation-context-lines, comint-file-name-quote-list)
17568 (comint-file-name-chars, comint-delimiter-argument-list): Declare.
17569 (delete-backward-char): Remove unused variable `ocol'.
17570 (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
17571 (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
17572 (event-apply-hyper-modifier, event-apply-shift-modifier)
17573 (event-apply-control-modifier, event-apply-meta-modifier):
17574 Mark unused parameters.
17575 (undo-make-selective-list): Remove duplicate variable `undo-elt'.
17576 (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
17577
17578 * speedbar.el (speedbar-ignored-directory-expressions)
17579 (speedbar-supported-extension-expressions, speedbar-directory-buttons)
17580 (speedbar-find-file, speedbar-dir-follow)
17581 (speedbar-directory-buttons-follow, speedbar-tag-find)
17582 (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
17583 (speedbar-buffers-line-directory, speedbar-buffer-click):
17584 Mark unused parameters.
17585 (speedbar-tag-file): Remove unused variable `mode'.
17586 (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
17587
17588 * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
17589
17590 * talk.el (talk): Remove unused variable `display'.
17591
17592 * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
17593 (tar-write-region-annotate): Mark unused parameter.
17594
17595 * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
17596 (minutes, seconds, time-zone, day, year, monthname, month, dayname):
17597 Declare them, wrapped in `with-no-warnings' to avoid replacing one
17598 warning by another.
17599
17600 * time-stamp.el (time-stamp-string-preprocess):
17601 Remove unused variable `require-padding'.
17602
17603 * tree-widget.el (widget-glyph-enable): Declare.
17604 (tree-widget-action): Mark unused parameter.
17605
17606 * w32-fns.el (x-get-selection): Mark unused parameter.
17607 (autoload-make-program, generated-autoload-file): Declare.
17608
17609 * wdired.el (wdired-revert): Mark unused parameters.
17610 (wdired-xcase-word): Remove unused variable `err'.
17611
17612 * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
17613 (whitespace-help-scroll): Remove unused variable `data-help'.
17614
17615 * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
17616 (widget-image-insert, widget-after-change, default)
17617 (widget-default-format-handler, widget-default-notify)
17618 (widget-default-prompt-value, widget-info-link-action)
17619 (widget-url-link-action, widget-function-link-action)
17620 (widget-variable-link-action, widget-file-link-action)
17621 (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
17622 (widget-field-prompt-internal, widget-field-action, widget-field-match)
17623 (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
17624 (widget-insert-button-action, widget-delete-button-action, visibility)
17625 (widget-documentation-link-action, widget-documentation-string-action)
17626 (widget-const-prompt-value, widget-regexp-match, symbol)
17627 (widget-coding-system-prompt-value)
17628 (widget-key-sequence-value-to-external, sexp)
17629 (widget-sexp-value-to-internal, character, vector, cons)
17630 (widget-choice-prompt-value, widget-boolean-prompt-value)
17631 (widget-color--choose-action): Mark unused parameters.
17632 (widget-item-match-inline, widget-choice-match-inline)
17633 (widget-checklist-match, widget-checklist-match-inline)
17634 (widget-group-match): Rename parameter VALUES to VALS.
17635 (widget-field-value-set): Remove unused variable `size'.
17636 (widget-color-action): Remove unused variables `value' and `start'.
17637
17638 * windmove.el (windmove-wrap-loc-for-movement): Remove unused
bd0d2ee2 17639 variable `dir'. Doc fix.
06b60517
JB
17640 (windmove-find-other-window): Don't pass it.
17641
17642 * window.el (count-windows): Mark unused parameter.
17643 (bw-adjust-window): Remove unused variable `err'.
17644
17645 * woman.el (woman-file-name): Remove unused variable `default'.
17646 (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
17647 WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
17648 (global-font-lock-mode): Declare.
17649 (woman-decode-region): Mark unused parameter.
17650 (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
17651
17652 * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
17653 (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
17654 (x-dnd-handle-moz-url): Remove unused variable `title'.
17655 (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
17656
17657 * xml.el (xml-parse-tag, xml-parse-attlist):
17658 Remove unused variable `pos'.
17659
bc4f7f3d
GM
176602011-04-19 Glenn Morris <rgm@gnu.org>
17661
17662 * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
17663 (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
17664 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
17665 (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
17666 * calendar/cal-html.el (cal-html-insert-minical):
17667 * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
17668 (calendar-mark-date-pattern):
17669 Prefix "unused" locals.
17670
17671 * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
17672 optional argument `style'.
17673
17674 * calendar/appt.el (appt-make-list):
17675 * calendar/cal-china.el (calendar-chinese-date-string):
17676 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
17677 (diary-hebrew-yahrzeit):
17678 * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
17679 * calendar/calendar.el (calendar-generate-window):
17680 * calendar/time-date.el (time-to-days):
17681 Remove unused local variables.
17682
16a43933
CY
176832011-04-18 Chong Yidong <cyd@stupidchicken.com>
17684
17685 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
17686 glyphless-char-display table.
17687 (tabulated-list-glyphless-char-display): New var.
17688
7eed1860
SS
176892011-04-18 Sam Steingold <sds@gnu.org>
17690
17691 * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
17692 to acknowledgments.
17693
4d2d1ccd
GM
176942011-04-17 Glenn Morris <rgm@gnu.org>
17695
17696 * calendar/diary-lib.el (diary-sexp-entry):
17697 * calendar/holidays.el (holiday-sexp):
17698 Set debug-on-error rather than the removed stack-trace-on-error.
17699
239da61d
GM
177002011-04-16 Glenn Morris <rgm@gnu.org>
17701
17702 * progmodes/f90.el: Use lexical-binding.
17703 (f90-get-correct-indent): Remove unnecessary local variable `cont'.
17704
8b05752a
SM
177052011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
17706
daca8ba5
SM
17707 * mail/sendmail.el (mail-mode-map): Use completion-at-point.
17708 (mail-mode): Setup mailalias completion here instead.
17709 * mail/mailalias.el: Use lexical-binding.
17710 (pattern, mailalias-done): Declare dynamic.
17711 (mail-completion-at-point-function): New function, from mail-complete.
17712 (mail-complete): Use it.
17713 (mail-completion-expand): New function.
17714 (mail-get-names): Use it.
17715 (mail-directory, mail-directory-process, mail-directory-stream):
17716 Don't use `pattern' for lexically bound arg.
17717
6f542485
SM
17718 * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
17719
037e7c3f
SM
17720 * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
17721 (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
17722 (hfy-etags-cmd-alist): Don't eval-and-compile any more.
17723
8b05752a
SM
17724 * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
17725 (byte-save-window-excursion, byte-temp-output-buffer-setup)
17726 (byte-interactive-p): Define them again, for use when inlining
17727 old code.
17728
49093f60
JB
177292011-04-15 Juanma Barranquero <lekktu@gmail.com>
17730
17731 * loadup.el: Use `string-to-number', not `string-to-int'.
17732
b5b8e7de
SM
177332011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
17734
17735 * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
17736 gud-gdb-complete-command.
17737 (gud-gdb-completions): New function, from gud-gdb-complete-command.
17738 (gud-gdb-completion-at-point): New function.
17739 (gud-gdb-completions): Remove.
17740
f42efeb5
MA
177412011-04-14 Michael Albinus <michael.albinus@gmx.de>
17742
49093f60
JB
17743 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
17744 when the scripts fail. Use `tramp-do-file-attributes-with-ls' then.
17745 (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
17746 whether `executable-find' is bound.
f42efeb5
MA
17747
17748 * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
17749
e240cc21
SM
177502011-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
17751
17752 * minibuffer.el (completion-in-region-mode-predicate)
17753 (completion-in-region-mode--predicate): New vars.
17754 (completion-in-region, completion-in-region--postch)
17755 (completion-in-region-mode): Use them.
17756 (completion--capf-wrapper): Also return the hook function.
17757 (completion-at-point, completion-help-at-point):
17758 Adjust and provide a predicate.
c2bd2ab0
SM
17759
17760 Preserve arg names for advice of subr and lexical functions (bug#8457).
17761 * help-fns.el (help-function-arglist): Consolidate the subr and
17762 new-byte-code cases. Add argument `preserve-names' to extract names
17763 from the docstring when needed.
17764 * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
17765 (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
17766 (ad-arglist): Use help-function-arglist's new arg.
17767 (ad-definition-type): Use cond.
17768
c183f693
JB
177692011-04-13 Juanma Barranquero <lekktu@gmail.com>
17770
06641a47
JB
17771 * autorevert.el (auto-revert-handler):
17772 Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
17773 which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
17774 Don't quote lambda.
17775
c183f693
JB
17776 * image-mode.el (image-transform-set-scale):
17777 Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
17778
1e3b6001
G
177792011-04-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
17780
17781 * net/network-stream.el (network-stream-open-starttls): Only do
e9fce1ac 17782 opportunistic STARTTLS upgrades if we have built-in GnuTLS support.
1e3b6001
G
17783 Upgrades via gnutls-cli are too slow to be done opportunistically.
17784
2d6af8dd
JB
177852011-04-12 Juanma Barranquero <lekktu@gmail.com>
17786
17787 * dframe.el (dframe-current-frame): Remove spurious quote.
17788
c0749a51
GM
177892011-04-12 Glenn Morris <rgm@gnu.org>
17790
088d0d61
GM
17791 * calendar/cal-tex.el (cal-tex-end-document):
17792 Try to automatically use latin1 input if needed.
17793
c0749a51
GM
17794 * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
17795 Don't try to cons a mark onto an empty element.
17796
5c90fde0
LL
177972011-04-11 Leo Liu <sdl.web@gmail.com>
17798
17799 * ido.el (ido-buffer-internal): Allow method 'kill for virtual
17800 buffers.
17801 (ido-kill-buffer-at-head): Support killing virtual buffers.
17802
369e974d
CY
178032011-04-10 Chong Yidong <cyd@stupidchicken.com>
17804
17805 * minibuffer.el (completion-show-inline-help): New var.
17806 (completion--do-completion, minibuffer-complete)
daca8ba5
SM
17807 (minibuffer-force-complete, minibuffer-complete-word):
17808 Inhibit minibuffer messages if completion-show-inline-help is nil.
369e974d
CY
17809
17810 * icomplete.el (icomplete-mode): Bind completion-show-inline-help
17811 to avoid interference from inline help (Bug#5849).
17812
37f1c930
LL
178132011-04-10 Leo Liu <sdl.web@gmail.com>
17814
099c39a4
JB
17815 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
17816 Fix typo.
37f1c930 17817
a32d4040
CY
178182011-04-09 Chong Yidong <cyd@stupidchicken.com>
17819
17820 * image-mode.el (image-toggle-display-image): Signal an error if
17821 not in Image mode.
17822 (image-transform-mode, image-transform-resize)
17823 (image-transform-set-rotation): Doc fix.
daca8ba5 17824 (image-transform-set-resize): Delete.
a32d4040
CY
17825 (image-transform-set-scale, image-transform-fit-to-height)
17826 (image-transform-fit-to-width): Handle image-toggle-display-image
17827 and image-transform-resize directly.
17828
099c39a4 178292011-04-08 Sho Nakatani <lay.sakura@gmail.com>
d7b89879
TH
17830
17831 * doc-view.el (doc-view-fit-width-to-window)
099c39a4
JB
17832 (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
17833 New functions for fitting the shown image to the Emacs window size.
d7b89879
TH
17834 (doc-view-mode-map): Add bindings for the new functions.
17835
099c39a4 178362011-04-08 Juanma Barranquero <lekktu@gmail.com>
ddc20cdb 17837
4d61f28d 17838 * vc/vc-annotate.el (vc-annotate-show-log-revision-at-line):
ddc20cdb
JB
17839 Fix typo in docstring.
17840
3726838a
EZ
178412011-04-08 Eli Zaretskii <eliz@gnu.org>
17842
04f33f1e
EZ
17843 * files.el (file-size-human-readable): Produce one digit after
17844 decimal, like "ls -lh" does.
17845
17846 * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
17847 the file size representation.
17848
3726838a
EZ
17849 * simple.el (list-processes): If async subprocesses are not
17850 available, error out with a clear error message.
17851
cbb59342
CY
178522011-04-08 Chong Yidong <cyd@stupidchicken.com>
17853
17854 * help.el (help-form-show): New function, to be called from C.
17855 Put help-form output in a buffer named differently than *Help*.
17856
e3971c44
EZ
178572011-04-08 Eli Zaretskii <eliz@gnu.org>
17858
17859 * files.el (file-size-human-readable): New function.
17860
17861 * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
17862 computing the representation inline. Don't require `cl'.
17863
12544bbe
GM
178642011-04-08 Glenn Morris <rgm@gnu.org>
17865
a1de6c6a
GM
17866 * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
17867
3c4671f4
GM
17868 * net/browse-url.el (browse-url-firefox):
17869 Test system-type, not system-configuration.
17870
b605679c
GM
17871 * vc/log-edit.el (log-edit-empty-buffer-p): New function.
17872 (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
17873 Use log-edit-empty-buffer-p. (Bug#7598)
17874
56442f0c
GM
17875 * net/rlogin.el (rlogin-process-connection-type): Simplify.
17876 (rlogin-mode-map): Initialize in the defvar.
17877 (rlogin): Use ignore-errors.
17878
12544bbe
GM
17879 * replace.el (occur-mode-map): Some fixes for menu items.
17880
eb237b0f
AH
178812011-04-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
17882
17883 * play/morse.el (denato-region): Handle varying case. (Bug#8386)
17884
7d668f2c
CY
178852011-04-06 Chong Yidong <cyd@stupidchicken.com>
17886
e67a13ab
CY
17887 * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
17888 issuing unused warnings.
17889
17890 * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
17891 macro directly.
17892
7d668f2c
CY
17893 * simple.el: Lisp reimplement of list-processes. Based on an
17894 earlier reimplementation by Leo Liu, but using tabulated-list.el.
17895 (process-menu-mode): New major mode.
17896 (list-processes--refresh, list-processes):
17897 (process-menu-visit-buffer): New functions.
17898
17899 * files.el (save-buffers-kill-emacs): Don't assume any return
17900 value of list-processes, which is undocumented anyway.
17901
a83ec3c9
CY
179022011-04-06 Chong Yidong <cyd@stupidchicken.com>
17903
17904 * emacs-lisp/tabulated-list.el: New file.
17905
e91a96fe
CY
17906 * emacs-lisp/package.el: Use Tabulated List mode.
17907 (package-menu-mode-map): Inherit from tabulated-list-mode-map.
17908 (package-menu-mode): Derive from tabulated-list-mode. Set up the
17909 table format using Tabulated List mode variables.
17910 (package--push): New macro, replacing package-list-maybe-add.
17911 (package-menu--generate): Use package--push. Renamed from
17912 package--generate-package-list.
17913 (package-menu-refresh, list-packages): Use it.
daca8ba5 17914 (package-menu--print-info): Rename from package-print-package.
e91a96fe 17915 Return insertion data instead of inserting it directly.
099c39a4
JB
17916 (package-menu-describe-package, package-menu-execute):
17917 Use tabulated-list-get-id.
e91a96fe
CY
17918 (package-menu-mark-delete, package-menu-mark-install)
17919 (package-menu-mark-unmark, package-menu-backup-unmark)
099c39a4
JB
17920 (package-menu-mark-obsolete-for-deletion):
17921 Use tabulated-list-put-tag.
e91a96fe
CY
17922 (package--list-packages, package-menu-revert)
17923 (package-menu-get-package, package-menu-get-version)
17924 (package-menu-sort-by-column): Functions deleted.
17925 (package-menu-package-list, package-menu-sort-key): Vars deleted.
17926 (package-menu--status-predicate, package-menu--version-predicate)
17927 (package-menu--name-predicate)
17928 (package-menu--description-predicate): Handle arguments in the
17929 Tabulated List format.
17930 (package-list-packages-no-fetch): Call list-packages.
17931
3e214b50
JB
179322011-04-06 Juanma Barranquero <lekktu@gmail.com>
17933
17934 * files.el (after-find-file-from-revert-buffer): Remove variable.
c9d0ec6d 17935 (after-find-file): Don't bind it.
3e214b50
JB
17936 (revert-buffer-in-progress-p): New variable.
17937 (revert-buffer): Bind it.
17938 Pass nil for `after-find-file-from-revert-buffer'.
17939
17940 * saveplace.el (save-place-find-file-hook): Use new variable
17941 `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
17942
3f0f1700
GM
179432011-04-06 Glenn Morris <rgm@gnu.org>
17944
c0274801
GM
17945 * Makefile.in (AUTOGEN_VCS): New variable.
17946 (autoloads): Use $AUTOGEN_VCS.
17947
3f0f1700
GM
17948 * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
17949 * calendar/calendar.el (calendar-mode-map):
17950 Check for toolkit scroll bars. (Bug#8305)
17951
41ea9e48
CY
179522011-04-05 Chong Yidong <cyd@stupidchicken.com>
17953
17954 * minibuffer.el (completion-in-region--postch)
17955 (completion-in-region-mode): Remove unnecessary messages.
17956
6194c800
JB
179572011-04-05 Juanma Barranquero <lekktu@gmail.com>
17958
33256f14
JB
17959 * font-lock.el (font-lock-refresh-defaults):
17960 Don't bind `hi-lock--inhibit-font-lock-hook', removed in
17961 2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
17962
6194c800
JB
17963 * info.el (Info-directory-list, Info-read-node-name-2)
17964 (Info-split-parameter-string): Doc fixes.
17965 (Info-virtual-nodes): Reflow docstring.
17966 (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
17967 (Info-apropos-toc-nodes, info-finder, Info-get-token)
17968 (Info-find-emacs-command-nodes, Info-speedbar-key-map):
17969 Fix typos in docstrings.
17970 (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
17971 (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
17972 (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
17973 (Info-restore-desktop-buffer): Mark unused parameters.
17974 (Info-directory-find-file, Info-directory-find-node)
17975 (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
17976 (Info-virtual-index-find-node, Info-apropos-find-file)
17977 (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
33256f14 17978 Mark unused parameters; fix typos in docstrings.
6194c800
JB
17979 (Info-virtual-index): Remove unused local variable `nodename'.
17980
b87a8200 179812011-04-05 Deniz Dogan <deniz@dogan.se>
0f6ee7d2 17982
b87a8200
DD
17983 * net/rcirc.el: Update my e-mail address.
17984 (rcirc-mode-map): Remove M-o binding.
0f6ee7d2 17985
3b2ff876
CY
179862011-04-05 Chong Yidong <cyd@stupidchicken.com>
17987
17988 * startup.el (command-line): Save the cursor's theme-face
17989 directly, instead of using face-override-spec.
17990
17991 * custom.el (load-theme): Minor optimization in assigning faces.
17992
8d17e7ca
JB
179932011-04-04 Juanma Barranquero <lekktu@gmail.com>
17994
17995 * help-fns.el (describe-variable): Complete all variables having
17996 documentation, including keywords.
17997 http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
17998
2fbc1934
JB
179992011-04-04 Juanma Barranquero <lekktu@gmail.com>
18000
18001 Convert to lexical-binding.
18002
18003 * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
18004 (bs--get-marked-string, bs--get-modified-string)
18005 (bs--get-readonly-string, bs--get-size-string, bs--get-name)
18006 (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
18007 (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
18008
18009 * ehelp.el (electric-help-execute-extended)
18010 (electric-help-ctrl-x-prefix):
18011 * hexl.el (hexl-revert-buffer-function):
18012 * linum.el (linum-after-change, linum-after-scroll):
18013 * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
18014
18015 * help-fns.el (help-describe-category-set): Remove unused ERR variable.
18016
74f50695
DU
180172011-04-04 Daiki Ueno <ueno@unixuser.org>
18018
18019 * epa-dired.el:
18020 * epa-mail.el:
18021 * epa-hook.el:
18022 * epa-file.el:
18023 * epa.el:
18024 * epg.el: Use lexical binding.
18025
c11325f7
CY
180262011-04-03 Chong Yidong <cyd@stupidchicken.com>
18027
0d9e9a12
CY
18028 * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
18029
c11325f7 18030 * textmodes/flyspell.el (flyspell-word): Recognize default
daca8ba5
SM
18031 dictionary case for flyspell-mark-duplications-exceptions.
18032 Use regexp matching for languages.
c11325f7
CY
18033 (flyspell-mark-duplications-exceptions): Add "that" and "had" for
18034 default dictionary (Bug#7926).
18035
da91b5f2
CY
180362011-04-02 Chong Yidong <cyd@stupidchicken.com>
18037
099c39a4
JB
18038 * emacs-lisp/package.el (package--with-work-buffer):
18039 Recognize https URLs.
da91b5f2 18040
099c39a4
JB
18041 * net/network-stream.el: Move from gnus/proto-stream.el.
18042 Change prefix to network-stream throughout.
da91b5f2
CY
18043 (open-protocol-stream): Merge into open-network-stream, leaving
18044 open-protocol-stream as an alias. Handle nil BUFFER args.
18045
18046 * subr.el (open-network-stream): Move to net/network-stream.el.
18047
afa8e9f6
GM
180482011-04-02 Glenn Morris <rgm@gnu.org>
18049
1d2e369d
GM
18050 * find-dired.el (find-exec-terminator): New option.
18051 (find-ls-option): Test for -ls support.
18052 (find-ls-subdir-switches): Test for -b in find-ls-option.
18053 (find-dired, find-grep-dired): Doc fixes.
18054 (find-dired): Use find-exec-terminator.
18055
8abb7da8 18056 * find-dired.el (find-ls-option, find-ls-subdir-switches)
e7a395b5
GM
18057 (find-grep-options): Do not autoload these defcustoms, remove purecopy.
18058 (find-name-arg): Remove purecopy.
8abb7da8 18059
f3ca7378
GM
18060 * progmodes/grep.el (grep-find-use-xargs): Doc fix.
18061 (grep-compute-defaults): Check for `-exec COMMAND +' support.
18062 Set grep-find-use-xargs, grep-find-command, and grep-find-template
18063 accordingly. Don't add the null-device if not needed.
18064
afa8e9f6
GM
18065 * files.el (save-some-buffers): Doc fix.
18066
35eae264
EZ
180672011-04-02 Eli Zaretskii <eliz@gnu.org>
18068
18069 * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
18070
26b51db5
JB
180712011-04-01 Juanma Barranquero <lekktu@gmail.com>
18072
18073 * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
18074 Use `dolist' rather than `mapcar'.
18075
7200d79c
SM
180762011-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
18077
03408648 18078 Add lexical binding.
7200d79c 18079
03408648
SM
18080 * subr.el (apply-partially): Use new closures rather than CL.
18081 (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
18082 (dolist, dotimes): Use slightly different expansion for lexical code.
18083 (functionp): Move to C.
18084 (letrec): New macro.
18085 (with-wrapper-hook): Use it and apply-partially instead of CL.
18086 (eval-after-load): Preserve lexical-binding.
18087 (save-window-excursion, with-output-to-temp-buffer): Turn them
18088 into macros.
7200d79c 18089
03408648
SM
18090 * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
18091
18092 * help-fns.el (help-split-fundoc): Return nil if there's nothing else
18093 than the arglist.
18094 (help-add-fundoc-usage): Don't add `Not documented'.
18095 (help-function-arglist): Handle closures, subroutines, and new
18096 byte-code-functions.
18097 (help-make-usage): Remove leading underscores.
18098 (describe-function-1): Handle closures.
18099 (describe-variable): Use special-variable-p for completion.
18100
18101 * files.el (lexical-binding): Declare safe.
f488fb65 18102
03408648
SM
18103 * emacs-lisp/pcase.el: Don't use destructuring-bind.
18104 (pcase--memoize): Rename from pcase-memoize. Change weakness.
18105 (pcase): Add `let' pattern.
18106 Change memoization so it actually works.
18107 (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
18108 (pcase--u1) <guard, pred>: Fix possible shadowing problem.
18109 <let>: New case.
f488fb65 18110
03408648
SM
18111 * emacs-lisp/macroexp.el: Use lexical binding.
18112 (macroexpand-all-1): Check obsolete macros. Expand compiler-macros.
18113 Don't convert ' to #' without checking that it's indeed quoting
18114 a lambda.
18115
18116 * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
f488fb65 18117 Use eval-sexp-add-defvars.
03408648
SM
18118 (eval-sexp-add-defvars): New fun.
18119
18120 * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
18121
18122 * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
18123 Don't autoload.
18124 (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
18125 than the internal `byte-compile-lambda'.
18126 (defmethod): Don't hide code under quotes.
18127 (eieio-defmethod): New `code' argument.
18128
18129 * emacs-lisp/eieio-comp.el: Remove.
18130
18131 * emacs-lisp/edebug.el (edebug-eval-defun)
18132 (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
18133 (edebug-toggle): Avoid `eval'.
18134
18135 * emacs-lisp/disass.el (disassemble-internal): Handle new
18136 `closure' objects.
18137 (disassemble-1): Handle new byte codes.
18138
18139 * emacs-lisp/cl.el (pushnew): Silence warning.
18140
18141 * emacs-lisp/cl-macs.el (cl-byte-compile-block)
18142 (cl-byte-compile-throw): Remove.
18143 (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
18144
18145 * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
18146 closures.
18147
18148 * emacs-lisp/cconv.el: New file.
18149
18150 * emacs-lisp/bytecomp.el: Use lexical binding instead of
18151 a "bytecomp-" prefix. Macroexpand everything as a separate phase.
18152 (byte-compile-initial-macro-environment):
18153 Handle declare-function here.
18154 (byte-compile--lexical-environment): New var.
18155 (byte-stack-ref, byte-stack-set, byte-discardN)
18156 (byte-discardN-preserve-tos): New lap codes.
18157 (byte-interactive-p): Don't use any more.
18158 (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
18159 New macros.
18160 (byte-compile-lapcode): Use them and handle new lap codes.
18161 (byte-compile-obsolete): Remove.
18162 (byte-compile-arglist-signature): Handle new byte-code arg"lists".
18163 (byte-compile-arglist-warn): Check late def of inlinable funs.
18164 (byte-compile-cl-warn): Don't silence warnings for compiler-macros
18165 since they should have been expanded by now.
18166 (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
18167 (byte-compile-from-buffer): Remove unused second arg.
18168 (byte-compile-preprocess): New function.
18169 (byte-compile-toplevel-file-form): New function to distinguish
18170 file-form calls from outside from file-form calls from hunk-handlers.
18171 (byte-compile-file-form): Simplify.
18172 (byte-compile-file-form-defsubst): Remove.
18173 (byte-compile-file-form-defmumble): Simplify now that
18174 byte-compile-lambda always returns a byte-code-function.
18175 (byte-compile): Preprocess.
18176 (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
18177 Remove, not used any more.
18178 (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
18179 (byte-compile-make-args-desc): New funs.
18180 (byte-compile-lambda): Handle lexical functions. Always return
18181 a byte-code-function.
18182 (byte-compile-reserved-constants): New var, to make up room for
18183 closed-over variables.
18184 (byte-compile-constants-vector): Obey it.
18185 (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
18186 (byte-compile-macroexpand-declare-function): New function.
18187 (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
18188 byte-code-functions.
18189 (byte-compile-form): Check obsolescence here.
18190 (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
18191 (byte-compile-variable-ref): Remove.
18192 (byte-compile-dynamic-variable-op): New fun.
18193 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
18194 (byte-compile-variable-set): New funs.
18195 (byte-compile-discard): Add 2 args.
18196 (byte-compile-stack-ref, byte-compile-stack-set)
18197 (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
18198 (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
18199 macroexpand-all instead.
18200 (byte-compile-quote-form): Remove.
18201 (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
18202 (byte-compile-bind, byte-compile-unbind): New funs.
18203 (byte-compile-let): Handle let* and lexical binding.
18204 (byte-compile-let*): Remove.
18205 (byte-compile-catch, byte-compile-unwind-protect)
18206 (byte-compile-track-mouse, byte-compile-condition-case):
18207 Handle a new :fun-body form, used for lexical scoping.
18208 (byte-compile-save-window-excursion)
18209 (byte-compile-with-output-to-temp-buffer): Remove.
18210 (byte-compile-defun): Simplify.
18211 (byte-compile-stack-adjustment): New fun.
18212 (byte-compile-out): Use it.
18213 (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
18214
18215 * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
18216 handler any more.
18217
18218 * emacs-lisp/byte-opt.el: Use lexical binding.
18219 (byte-inline-lapcode): Remove (to bytecomp).
18220 (byte-compile-inline-expand): Pay attention to inlining to/from
18221 lexically bound code.
18222 (byte-compile-unfold-lambda): Don't handle byte-code-functions
18223 any more.
18224 (byte-optimize-form-code-walker): Don't handle save-window-excursion
18225 any more and don't call compiler-macros.
18226 (byte-compile-splice-in-already-compiled-code): Remove.
18227 (byte-code): Don't inline any more.
18228 (disassemble-offset): Receive `bytes' as argument rather than via
18229 dynamic scoping.
18230 (byte-compile-tag-number): Declare before first use.
18231 (byte-decompile-bytecode-1): Handle new byte-codes, don't change
18232 `return' even if make-spliceable.
18233 (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
18234 obsolete interactive-p.
18235 (byte-optimize-lapcode): Optimize new lap-codes.
18236 Don't trip up on new form of `byte-constant' lap code.
18237
18238 * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
18239
18240 * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
18241
18242 * custom.el (custom-initialize-default, custom-declare-variable):
18243 Use `defvar'.
18244
18245 * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
18246 New variables.
18247 (compile-onefile, .el.elc, compile-calc, recompile): Use them.
18248 (COMPILE_FIRST): Add macroexp and cconv.
18249 * makefile.w32-in: Mirror changes in Makefile.in.
18250
18251 * vc/cvs-status.el:
18252 * vc/diff-mode.el:
18253 * vc/log-edit.el:
18254 * vc/log-view.el:
18255 * vc/smerge-mode.el:
18256 * textmodes/bibtex-style.el:
090bd7cb 18257 * textmodes/css-mode.el:
03408648
SM
18258 * startup.el:
18259 * uniquify.el:
da91b5f2
CY
18260 * minibuffer.el:
18261 * newcomment.el:
18262 * reveal.el:
18263 * server.el:
18264 * mpc.el:
18265 * emacs-lisp/smie.el:
18266 * doc-view.el:
18267 * dired.el:
03408648
SM
18268 * abbrev.el: Use lexical binding.
18269
0f0c1f27
EZ
182702011-04-01 Eli Zaretskii <eliz@gnu.org>
18271
18272 * info.el (info-display-manual): New function.
18273
c82b2579
SM
182742011-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
18275
18276 * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
18277
221ddf68
TH
182782011-03-31 Tassilo Horn <tassilo@member.fsf.org>
18279
18280 * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
2fbc1934 18281 an entry for that server in rcirc-authinfo. (Bug#8385)
221ddf68 18282
cba6e77e
GM
182832011-03-31 Glenn Morris <rgm@gnu.org>
18284
e040639f
GM
18285 * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
18286
cba6e77e
GM
18287 * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
18288
6d0f1c9e
CS
182892011-03-30 Christoph Scholtes <cschol2112@googlemail.com>
18290
18291 * progmodes/python.el (python-default-interpreter)
18292 (python-python-command-args, python-jython-command-args)
18293 (python-which-shell, python-which-args, python-which-bufname)
18294 (python-file-queue, python-comint-output-filter-function)
18295 (python-toggle-shells, python-shell): Remove obsolete defcustoms,
18296 variables and functions.
18297
3e2d70fd
SM
182982011-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
18299
18300 * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
18301 (completion-in-region-mode): New minor mode.
18302 (completion-in-region): Use it.
18303 (completion-in-region--data, completion-in-region-mode-map): New vars.
18304 (completion-in-region--postch): New function.
18305 (completion--capf-misbehave-funs, completion--capf-safe-funs):
18306 New vars.
18307 (completion--capf-wrapper): New function.
18308 (completion-at-point): Use it to track well-behavedness of
18309 hook functions.
18310 (completion-help-at-point): New command.
18311
f3e4086c
JM
183122011-03-30 Jason Merrill <jason@redhat.com> (tiny change)
18313
18314 * vc/add-log.el (add-change-log-entry): Don't use whitespace
18315 syntax class to search for whitespace on a single line
18316 (Message-ID: <4D938140.4030905@redhat.com>).
18317
eb7ffc14
LL
183182011-03-30 Leo Liu <sdl.web@gmail.com>
18319
18320 * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
18321 New commands.
18322 (edit-abbrevs-map): Bind them here.
18323 (write-abbrev-file): New optinal arg VERBOSE. (Bug#5937)
18324
d806ab68
KM
183252011-03-29 Ken Manheimer <ken.manheimer@gmail.com>
18326
18327 * allout.el (allout-hide-by-annotation, allout-flag-region):
18328 Reduce possibility of overlay leakage by making them volatile.
18329
18330 * allout-widgets.el (allout-widgets-tally): Define as nil so the
18331 hash is not shared between buffers. Mode initialization is
18332 responsible for giving it a useful starting value.
18333 (allout-item-span): Reduce possibility of overlay leakage by
18334 making them volatile.
18335 (allout-widgets-count-buttons-in-region): Add diagnostic function
18336 for tracking down button overlay leaks.
18337
ea622834
LL
183382011-03-29 Leo Liu <sdl.web@gmail.com>
18339
18340 * ido.el (ido-read-internal): Use the default history var
18341 minibuffer-history if no HISTORY is specified.
18342
b62f8267
G
183432011-03-28 Brian T. Sniffen <bsniffen@akamai.com> (tiny change)
18344
03408648
SM
18345 * net/imap.el (imap-shell-open, imap-process-connection-type):
18346 Use imap-process-connection-type for 'shell' streams as well as
b62f8267
G
18347 Kerberos, SSL, other subprocesses.
18348
947b6566
LL
183492011-03-28 Leo Liu <sdl.web@gmail.com>
18350
18351 * abbrev.el (abbrev-table-empty-p): New function.
18352 (prepare-abbrev-list-buffer): Place empty abbrev tables after
18353 nonempty ones. (Bug#5937)
18354
5ffb62aa
JD
183552011-03-27 Jan Djärv <jan.h.d@swipnet.se>
18356
18357 * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
18358
7a097943
LL
183592011-03-27 Leo Liu <sdl.web@gmail.com>
18360
18361 * ansi-color.el (ansi-color-names-vector): Allow cons cell value
18362 for foreground and background colors.
18363 (ansi-color-make-color-map): Adapt.
18364
c5b40130
LL
183652011-03-25 Leo Liu <sdl.web@gmail.com>
18366
1f48f7d2
LL
18367 * midnight.el (midnight-time-float): Remove. Note it calculates
18368 the microsecond component incorrectly and seconds-to-time does the
18369 same job.
625897ec 18370 Remove redundant (require 'timer).
1f48f7d2 18371
c5b40130
LL
18372 * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
18373 (ido-completions): Remove unused arguments. (Bug#8329)
18374
d86d2721
SM
183752011-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
18376
18377 * minibuffer.el (completion--flush-all-sorted-completions):
18378 Remove itself from hook.
18379 (completion-at-point): Let the functions perform the completion
18380 immediately and return nil or t.
18381 * comint.el (comint-dynamic-complete-functions): Now identical to
18382 completion-at-point-functions.
18383 (comint-dynamic-list-input-ring): Remove unused var `index'.
18384 (comint--match-partial-filename, comint--unquote&expand-filename):
18385 New funs, split from comint-match-partial-filename.
18386 (comint-dynamic-complete): Use completion-at-point.
18387 (comint-dynamic-complete-filename): Use comint--match-partial-filename.
18388
e8974c48
DA
183892011-03-24 Drew Adams <drew.adams@oracle.com>
18390
18391 * thingatpt.el: Support `defun'.
18392
def71b5e
LL
183932011-03-23 Leo Liu <sdl.web@gmail.com>
18394
cb5af48e
LL
18395 * abbrevlist.el: Move to obsolete/abbrevlist.el.
18396
def71b5e
LL
18397 * help-mode.el (help-mode-finish): Tweak regexp.
18398
927c53e7
GM
183992011-03-23 Glenn Morris <rgm@gnu.org>
18400
18d05bed
GM
18401 * eshell/esh-opt.el (eshell-eval-using-options):
18402 Do not bind unused local variable `eshell-option-stub'.
18403
927c53e7
GM
18404 * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
18405
9d0da923
JB
184062011-03-22 Juanma Barranquero <lekktu@gmail.com>
18407
18408 * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
18409 keymap variable in `with-no-warnings' to avoid a warning when the
18410 keymap has been already `defconst'ed.
18411
4b978a67
LL
184122011-03-22 Leo Liu <sdl.web@gmail.com>
18413
18414 * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
18415 encode all chars in abbrevs; otherwise use emacs-mule or
18416 utf-8-emacs. (Bug#8308)
18417
5fd62452
JB
184182011-03-22 Juanma Barranquero <lekktu@gmail.com>
18419
0b1596c6
JB
18420 * simple.el (backward-delete-char-untabify):
18421 Avoid warning about using `delete-backward-char'.
18422
5fd62452
JB
18423 * image.el (image-type-file-name-regexps): Make it variable.
18424 `imagemagick-register-types' modifies it, and the user may want
18425 to add new extensions for known image types.
18426 (imagemagick-register-types): Throw error if not using ImageMagick.
18427
0b4e93f1
LL
184282011-03-22 Leo Liu <sdl.web@gmail.com>
18429
18430 * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
18431 located before rcirc-prompt-end-marker.
18432 (rcirc-complete): Error if point is not after rcirc prompt.
18433 Handle the case when table is nil.
9882e214 18434 (rcirc-user-authenticated): Define to fix compiler warning.
0b4e93f1 18435
fccee4ab
CY
184362011-03-22 Chong Yidong <cyd@stupidchicken.com>
18437
18438 * custom.el (custom--inhibit-theme-enable): Make it affect only
18439 custom-theme-set-variables and custom-theme-set-faces.
18440 (provide-theme): Ignore custom--inhibit-theme-enable.
18441 (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
18442 (custom-enabling-themes): Delete variable.
d86d2721
SM
18443 (enable-theme): Accept only loaded themes as arguments.
18444 Ignore the special custom-enabled-themes variable.
fccee4ab
CY
18445 (custom-enabled-themes): Forbid themes from setting this.
18446 Eliminate use of custom-enabling-themes.
18447 (custom-push-theme): Quote "changed" custom var entry.
0357c7ae 18448
af896da6
LL
184492011-03-21 Leo Liu <sdl.web@gmail.com>
18450
18451 * ido.el (ido-read-internal): Add ido-selected to history instead
18452 of user input.
18453
78f64af0
SM
184542011-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
18455
18456 * subr.el (deferred-action-list, deferred-action-function):
18457 Mark obsolete.
18458
b16ac1ec
LL
184592011-03-21 Leo Liu <sdl.web@gmail.com>
18460
810f7698
LL
18461 * vc/log-view.el: Remove (require 'wid-edit), not needed after the
18462 change on 2011-02-13 (bug#8309).
18463
b16ac1ec
LL
18464 * minibuffer.el (read-file-name-function): Change default value.
18465 (read-file-name--defaults): Rename from read-file-name-defaults.
18466 (read-file-name-default): Rename from read-file-name.
18467 (read-file-name): Call read-file-name-function.
18468
4e05e67e
GM
184692011-03-21 Glenn Morris <rgm@gnu.org>
18470
18471 * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
18472 Doc fixes.
18473
4359915b
CY
184742011-03-21 Chong Yidong <cyd@stupidchicken.com>
18475
18476 * cus-theme.el: Add missing provide statement.
18477 (customize-create-theme): Extract theme value correctly.
18478 (custom-theme-visit-theme): Autoload.
18479 (customize-create-theme): Prompt before inserting default faces.
18480
1fe275ee
JB
184812011-03-20 Jay Belanger <jay.p.belanger@gmail.com>
18482
18483 * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
18484 units and musical notes.
18485
cd394be1 184862011-03-20 Leo Liu <sdl.web@gmail.com>
3ec03f7e
LL
18487
18488 * ido.el (ido-read-internal): Use completing-read-default.
18489 (ido-completing-read): Fix compatibility with completing-read.
18490
7d476bde
CO
184912011-03-20 Christian Ohler <ohler@gnu.org>
18492
18493 * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
18494 (ert-delete-all-tests): Use `called-interactively-p' rather than
18495 `interactive-p'.
18496 (ert--make-xrefs-region): Respect END.
18497
fe0fb33e
CY
184982011-03-19 Chong Yidong <cyd@stupidchicken.com>
18499
ff854b0b
CY
18500 * dired-aux.el (dired-create-directory): Signal an error if the
18501 directory already exists (Bug#8246).
18502
fe0fb33e
CY
18503 * facemenu.el (list-colors-display): Call list-faces-display
18504 inside with-help-window.
18505 (list-colors-print): Use display property to align the final
18506 column, instead of checking window-width.
18507
576bce32
EZ
185082011-03-19 Eli Zaretskii <eliz@gnu.org>
18509
4d61f28d 18510 * vc/emerge.el (emerge-metachars): Separate value for ms-dos and
576bce32
EZ
18511 windows-nt systems.
18512 (emerge-protect-metachars): Quote correctly for ms-dos and
18513 windows-nt systems.
18514
89c41d68 185152011-03-19 Ralph Schleicher <rs@ralph-schleicher.de>
e6ce307c
RS
18516
18517 * info.el (info-initialize): Replace all uses of `:' with
18518 path-separator for compatibility with non-Unix systems.
18519 Cache quoting of path-separator. (Bug#8258)
18520
b14e3e21 185212011-03-19 Juanma Barranquero <lekktu@gmail.com>
ad22b7f7
JB
18522
18523 * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
18524 (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
18525 (mouse-avoidance-mode): Fix typos in docstrings.
18526
4525ce3e
CY
185272011-03-19 Chong Yidong <cyd@stupidchicken.com>
18528
18529 * startup.el (package-subdirectory-regexp): Move from package.el.
18530 Omit \\` and \\', and let callers add them.
18531
18532 * emacs-lisp/package.el (package-strip-version)
18533 (package-load-all-descriptors): Add \\` and \\' to
18534 package-subdirectory-regexp before using it.
18535 (package-untar-buffer): New arg DIR; ensure that file untars only
18536 into this expected directory. Remove superfluous delete-region.
18537 (package-unpack): Caller changed.
18538 (package-tar-file-info): Use package-subdirectory-regexp.
18539
a904a09a 185402011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
1518e4f0 18541
a904a09a
SM
18542 * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
18543 diff-mode-shared-map (bug#8284).
18544 (diff-mode-shared-map): Re-introduce some bindings that were problematic.
1518e4f0
G
18545
185462011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
18547
18548 * calendar/time-date.el (format-seconds): Use assoc instead of
18549 assoc-string, since assoc-string doesn't exist in XEmacs.
18550
171fc304
JB
185512011-03-17 Juanma Barranquero <lekktu@gmail.com>
18552
18553 * custom.el (custom-known-themes): Reflow docstring.
18554 (custom-theme-load-path): Fix typo in docstring.
18555 (load-theme): Fix typo in error message.
18556 (custom-available-themes, custom-variable-theme-value):
18557 Use `let', not `let*'.
18558
d71990a1
JB
185592011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
18560
18561 * calc/README: Mention inclusion of musical notes.
18562
18563 * calc/calc-units.el (calc-lu-quant): Rename from
18564 `calc-logunits-quantity'.
18565 (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
18566 (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
18567 (calc-db): Rename from `calc-dblevel'.
18568 (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
18569 (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
18570 (calc-np): Rename from `calc-nplevel'.
18571 (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
18572 (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
18573 (calc-lu-plus): Rename from `calc-logunits-add'.
18574 (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
18575 (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
18576 (calc-lu-minus): Rename from `calc-logunits-sub'.
18577 (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
18578 (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
18579 (calc-lu-times): Rename from `calc-logunits-mul'.
18580 (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
18581 (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
18582 (calc-lu-divide): Rename from `calc-logunits-div'.
18583 (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
18584 (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
18585
18586 * calc/calc-ext.el (calc-init-extensions): Update the names of the
18587 functions being autoloaded.
18588
18589 * calc/calc.el (calc-lu-power-reference): Rename from
18590 `calc-logunits-power-reference'.
18591 (calc-lu-field-reference): Rename from
18592 `calc-logunits-field-reference'.
18593
7a71b18d
GM
18594 * calc/calc-help.el (calc-l-prefix-help):
18595 Mention musical note functions.
d71990a1 18596
40c2934b
SM
185972011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
18598
18599 * minibuffer.el (completion-all-sorted-completions):
18600 Use :completion-cycle-penalty text property if present.
18601
b0911414
KM
186022011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
18603
18604 * allout.el (allout-yank-processing): Adjust for new rebulleting
18605 regime so bullet being yanked is used without prompting the user
18606 for a choice.
18607
8a05b668
JB
186082011-03-16 Juanma Barranquero <lekktu@gmail.com>
18609
18610 * startup.el (command-line): Warn the user that _emacs is deprecated.
18611
5ba5fb81
JB
186122011-03-16 Juanma Barranquero <lekktu@gmail.com>
18613
18614 * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
18615 (delphi-verbose, delphi-comment-face, delphi-string-face)
18616 (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
18617 (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
18618 (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
18619 (delphi-new-comment-line, delphi-font-lock-defaults)
18620 (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
18621 Fix typos in docstrings.
18622
2dab465b
KM
186232011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
18624
5ba5fb81 18625 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
2dab465b
KM
18626 Invert the roles of character and string values for INSTEAD, so a
18627 string is used for the more common case of a defaulting prompt.
18628
0adf5618
SM
186292011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
18630
18631 * progmodes/ruby-mode.el (ruby-backward-sexp):
18632 * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
18633 * play/gamegrid.el (gamegrid-make-face):
18634 * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
18635 (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
18636 * notifications.el (notifications-notify):
18637 * net/xesam.el (xesam-search-engines):
18638 * net/quickurl.el (quickurl-list-insert):
18639 * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
18640
d72700e5
CY
186412011-03-15 Chong Yidong <cyd@stupidchicken.com>
18642
18643 * startup.el (command-line): Update package subdirectory regexp.
18644
49c5410a
SM
186452011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
18646
c6eee9aa
SM
18647 * allout.el (allout-abbreviate-flattened-numbering)
18648 (allout-mode-deactivate-hook): Fix up obsolescence "date".
18649
49c5410a
SM
18650 * subr.el (read-char-choice): Only show the cursor after the prompt,
18651 not after the answer.
18652
047b2bb9
KR
186532011-03-15 Kevin Ryde <user42@zip.com.au>
18654
18655 * help-fns.el (variable-at-point): Skip leading quotes, if any
18656 (bug#8253).
18657
0a57d256
SM
186582011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
18659
18660 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
18661 warning message.
18662
77c992bc
MA
186632011-03-14 Michael Albinus <michael.albinus@gmx.de>
18664
18665 * shell.el (shell): When called interactively, offer to change the
18666 shell file name on remote hosts.
18667
eebc475d
TZ
186682011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
18669
18670 * net/ldap.el (ldap-search-internal): Add `auth-source-search'
18671 integration for LDAP parameters. The host, base, user or binddn,
18672 and secret tokens can be specified in a netrc file, for instance.
18673 This is optional because an `auth-source' parameter must be
18674 specified in the search attributes.
18675
9d05d1ba
JB
186762011-03-13 Juanma Barranquero <lekktu@gmail.com>
18677
18678 * help.el (describe-mode): Link to the mode's definition (bug#8185).
18679
09d9db2c
GM
186802011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
18681
18682 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
18683 into declaration. Remove redundant and harmful binding.
18684
186852011-03-12 Eli Zaretskii <eliz@gnu.org>
18686
18687 * files.el (file-ownership-preserved-p): Pass `integer' as an
18688 explicit 2nd argument to `file-attributes'. If the file's owner
18689 is the Administrators group on Windows, and the current user is
18690 Administrator, consider that a match.
18691
18692 * server.el (server-ensure-safe-dir): Consider server directory
18693 safe on MS-Windows if its owner is the Administrators group while
18694 the current Emacs user is Administrator. Use `=' to compare
18695 numerical UIDs, since they could be integers or floats.
18696
219bd536
JB
186972011-03-12 Juanma Barranquero <lekktu@gmail.com>
18698
18699 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
18700
f3afd36b
MA
187012011-03-12 Michael Albinus <michael.albinus@gmx.de>
18702
18703 Sync with Tramp 2.2.1.
18704
18705 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
18706
18707 * net/trampver.el: Update release number.
18708
3aaaa6f1
SM
187092011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
18710
94642599
SM
18711 * progmodes/compile.el (compilation--previous-directory): Fix up
18712 various nil/dead-marker mismatches (bug#8014).
18713 (compilation-directory-properties, compilation-error-properties):
18714 Don't call it at a position past the one we're about to change.
18715
3aaaa6f1
SM
18716 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
18717 Disable obsolescence warnings in the file that declares it.
18718
14239447
KM
187192011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
18720
099c39a4
JB
18721 * allout-widgets.el (allout-widgets-tally):
18722 Initialize allout-widgets-tally as a hash table rather than nil to
18723 prevent mode-line redisplay warnings. Also, clarify the module
18724 description and fix a comment typo.
14239447 18725
135e287c
JB
187262011-03-11 Juanma Barranquero <lekktu@gmail.com>
18727
18728 * help-fns.el (describe-variable): Don't complete keywords.
18729 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
18730
ffbf300e
CY
187312011-03-10 Chong Yidong <cyd@stupidchicken.com>
18732
ba08b241
CY
18733 * emacs-lisp/package.el (package-version-join): Impose a standard
18734 string representation for pre/alpha/beta version lists.
18735 (package-unpack-single): Standardize the directory name by passing
18736 it through package-version-join.
18737 (package-strip-rcs-id): Accept any version string that does not
18738 signal an error in version-to-list.
ffbf300e 18739
f346fd6b
MA
187402011-03-10 Michael Albinus <michael.albinus@gmx.de>
18741
18742 * simple.el (delete-trailing-whitespace): Return nil for the
18743 benefit of `write-file-functions'.
18744
ccb55d27
GM
187452011-03-10 Glenn Morris <rgm@gnu.org>
18746
5ceaac0c
GM
18747 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
18748
02da65ff
GM
18749 * vc/vc-git.el (vc-git-program): New option.
18750 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
18751 (vc-git--call): Use it.
18752
b2f603cc
GM
18753 * eshell/esh-util.el (eshell-condition-case): Doc fix.
18754
5772caab
GM
18755 * cus-edit.el (Custom-newline): If no button at point, look
18756 for a subgroup button at start-of-line. (Bug#2298)
18757
ccb55d27
GM
18758 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
18759
ec6ecaed
JD
187602011-03-10 Julien Danjou <julien@danjou.info>
18761
18762 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
18763 `cursor-type' is nil.
18764
9d5aa01d
JB
187652011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
18766
18767 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
18768
b6a5875b
KM
187692011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
18770
7a71b18d 18771 * allout.el: Change so yank of distinctive-bullet items
b6a5875b
KM
18772 preserves the existing header prefix, rebulleting it if necessary,
18773 rather than replacing it. This is necessary for proper operation
18774 of cooperative addons like allout-widgets.
1154d12e
JB
18775 (allout-make-topic-prefix, allout-rebullet-heading):
18776 Change SOLICIT arg to INSTEAD, and interpret additionally a string
18777 value as alternate bullet to be used, instead of prompting the user
18778 for a bullet character.
b6a5875b 18779
ee545c35
MA
187802011-03-09 Michael Albinus <michael.albinus@gmx.de>
18781
d86d2721
SM
18782 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
18783 Do not use `tramp-file-name-port', because this returns also
ee545c35
MA
18784 `tramp-default-port'.
18785
c47971d7
DD
187862011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
18787
18788 * net/rcirc.el (rcirc-handler-001): Remove useless
18789 with-rcirc-process-buffer.
18790 (rcirc-check-auth-status): Swap arguments to string-match.
18791
13522cb4
GM
187922011-03-09 Glenn Morris <rgm@gnu.org>
18793
0be6f4f1
GM
18794 * shell.el (shell-mode):
18795 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
18796
13522cb4
GM
18797 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
18798 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
18799
515de2e3
CY
188002011-03-08 Chong Yidong <cyd@stupidchicken.com>
18801
18802 * emacs-lisp/package.el (package-refresh-contents)
18803 (package-menu-execute): Use condition-case-no-debug.
18804
b511b994
MA
188052011-03-08 Michael Albinus <michael.albinus@gmx.de>
18806
18807 * simple.el (shell-command-to-string): Use `process-file'.
18808
18809 * emacs-lisp/package.el (package-tar-file-info): Handle also
18810 remote files.
18811
d86d2721
SM
18812 * emacs-lisp/package-x.el (package-upload-buffer-internal):
18813 Use `equal' for upload base check.
b511b994 18814
25bbfb31
AM
188152011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
18816
18817 * textmodes/texinfo.el (texinfo-environments):
18818 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
18819
be996521
GM
188202011-03-08 Glenn Morris <rgm@gnu.org>
18821
e9c8529f
GM
18822 * cus-start.el (cursor-in-non-selected-windows):
18823 Fix :set quoting oddness. (Bug#8192)
18824
be996521
GM
18825 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
18826 in some setf expressions. (Bug#2159)
18827
2bb5649e
CY
188282011-03-08 Chong Yidong <cyd@stupidchicken.com>
18829
18830 * custom.el (custom-available-themes): Return themes in
18831 alphabetical order.
18832
33383987 18833See ChangeLog.15 for earlier changes.
e3d51b27
MR
18834
18835;; Local Variables:
18836;; coding: utf-8
e3d51b27
MR
18837;; End:
18838
acaf905b 18839 Copyright (C) 2011-2012 Free Software Foundation, Inc.
e3d51b27
MR
18840
18841 This file is part of GNU Emacs.
18842
18843 GNU Emacs is free software: you can redistribute it and/or modify
18844 it under the terms of the GNU General Public License as published by
18845 the Free Software Foundation, either version 3 of the License, or
18846 (at your option) any later version.
18847
18848 GNU Emacs is distributed in the hope that it will be useful,
18849 but WITHOUT ANY WARRANTY; without even the implied warranty of
18850 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18851 GNU General Public License for more details.
18852
18853 You should have received a copy of the GNU General Public License
18854 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.