* xftfont.c (xftfont_open): Remove duplicate assignment.
[bpt/emacs.git] / lisp / ChangeLog
CommitLineData
15c9d04e
SM
12012-11-23 Stefan Monnier <monnier@iro.umontreal.ca>
2
3 * emacs-lisp/ert.el, emacs-lisp/ert-x.el: Use cl-lib and lexical-binding.
4
2ecb2679
PE
52012-11-22 Paul Eggert <eggert@cs.ucla.edu>
6
7 * calc/calc.el (calc-gregorian-switch): Move to after calc-refresh
8 definition. This fixes a bootstrap failure.
a14a5a40
PE
9 (calc-gregorian-switch): In menu, put dates before regions.
10 This is easier to follow, lines up better in the menu, and lets us
11 coalesce regions that switch at the same time. Give country
15c9d04e
SM
12 names, not "Vatican", as that's better for non-expert users.
13 Use names that are stable between the date of switch and now, e.g.,
a14a5a40
PE
14 Bohemia and Moravia (which existed then and now) and not
15 Czechoslovakia (which didn't exist then and doesn't exist now).
16 What is now the U.S. mostly did not switch at the same time as
17 Britain, so omit the U.S. Correct spelling of "Britain".
18 Catholic Switzerland was too much of a mess, so omit it.
2ecb2679 19
723da6aa
JB
202012-11-22 Jay Belanger <jay.p.belanger@gmail.com>
21
22 * calc/calc.el (calc-gregorian-switch): Refresh the Calc buffer
23 after the variable is changed.
24
21fa2482
DC
252012-11-21 Daniel Colascione <dancol@dancol.org>
26
27 * progmodes/sql.el (sql-mode-font-lock-object-name): Support IF NOT EXISTS
b6096e85
DC
28 in SQL declarations for font-lock.
29 (sql-imenu-generic-expression): Teach imenu about IF NOT EXISTS.
21fa2482 30
3ca2f1bf
GM
312012-11-21 Glenn Morris <rgm@gnu.org>
32
1bf335cf
GM
33 * faces.el (face-underline-p, face-inverse-video-p, face-bold-p)
34 (face-italic-p): Add optional argument "inherit".
35
3ca2f1bf
GM
36 * faces.el (set-face-inverse-video, set-face-bold, set-face-italic):
37 Remove -p suffix from names, for consistency with other set-face-*.
38 (set-face-inverse-video): Fix interactive spec.
39 * play/gamegrid.el (gamegrid-make-mono-tty-face):
40 * textmodes/table.el (table--update-cell-face):
41 Use set-face-inverse-video rather than now obsolete alias.
42
6ef2e5ef 432012-11-21 Eli Zaretskii <eliz@gnu.org>
7cf95797
EZ
44
45 * simple.el (line-move): Don't call line-move-partial if
46 scroll-conservatively is in effect. (Bug#12927)
47
6ef2e5ef 482012-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
63f25172 49
93b05041
SM
50 * eshell/em-cmpl.el (eshell-pcomplete): Refine fix for bug#12838:
51 Fallback on completion-at-point rather than
52 pcomplete-expand-and-complete, and only if pcomplete actually failed.
53 (eshell-cmpl-initialize): Setup completion-at-point.
54
55 * pcomplete.el (pcomplete--entries): Obey pcomplete-ignore-case.
56
bc715d67
SM
57 * emacs-lisp/ert.el (ert--expand-should-1): Adapt to cl-lib.
58
6ef2e5ef 592012-11-21 Michael Albinus <michael.albinus@gmx.de>
d7f2a65c
MA
60
61 * net/tramp-sh.el (tramp-do-copy-or-rename-file): If both files
62 are remote, check out-of-band property for both.
63
6ef2e5ef 642012-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
d1c0cddf
SM
65
66 * window.el (switch-to-buffer): Re-add the warning that was lost in the
67 code rewrite.
68
6ef2e5ef 692012-11-21 Paul Eggert <eggert@cs.ucla.edu>
0c93aa38 70
535efd4a
PE
71 More minor time fixes.
72 * calendar/time-date.el: Commentary fix.
73 * net/tramp-sh.el (tramp-do-file-attributes-with-ls): Undo last change;
74 too much other code depends on (0 0) time stamps.
75 * net/tramp.el (tramp-time-less-p, tramp-time-subtract):
76 Add a couple of FIXME comments.
77
0c93aa38
PE
78 Minor cleanup for times as lists of four integers.
79 * files.el (dir-locals-directory-cache):
80 * ps-bdf.el (bdf-file-mod-time, bdf-read-font-info):
81 Doc fixes.
82 * net/tramp-sh.el (tramp-do-file-attributes-with-ls):
83 * ps-bdf.el (bdf-file-newer-than-time):
84 Process four-integers time stamps, not two. Doc fixes.
85
23ba2705
SM
862012-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
87
2e31777b
SM
88 * uniquify.el (uniquify-managed): Use defvar-local.
89 (rename-buffer, create-file-buffer): Advise with advice-add.
90 (uniquify-unload-function): Unadvise accordingly.
91
8b62d742
SM
92 * emacs-lisp/trace.el: Rewrite, use nadvice and lexical-binding.
93 (trace-buffer): Don't purecopy.
94 (trace-entry-message, trace-exit-message): Add `context' arg.
95 (trace--timer): New var.
96 (trace-make-advice): Adjust for use in nadvice.
97 Add `context' argument. Delay `display-buffer' via a timer.
98 (trace-function-internal): Use advice-add.
99 (trace--read-args): New function.
100 (trace-function-foreground, trace-function-background): Use it.
101 (trace-function): Rename to trace-function-foreground and redefine as
102 an alias to that new name.
103 (untrace-function, untrace-all): Adjust to the use of nadvice.
104
5d0ccd95
SM
105 * emacs-lisp/bytecomp.el (byte-compile): Fix handling of closures.
106
3837d988
SM
107 * emacs-lisp/byte-run.el (defun-declarations-alist): Fix last change.
108
23ba2705
SM
109 * subr.el (called-interactively-p-functions): New var.
110 (internal--called-interactively-p--get-frame): New macro.
111 (called-interactively-p, interactive-p): Rewrite in Lisp.
112 * emacs-lisp/nadvice.el (advice--called-interactively-skip): New fun.
113 (called-interactively-p-functions): Use it.
114 * emacs-lisp/edebug.el (edebug--called-interactively-skip): New fun.
115 (called-interactively-p-functions): Use it.
116 * allout.el (allout-called-interactively-p): Don't assume
117 called-interactively-p is a subr.
118
b0636be7
GM
1192012-11-20 Glenn Morris <rgm@gnu.org>
120
121 * profiler.el (profiler-report-mode-map): Add a menu.
122 No need to bind `q' because we derive from special-mode.
123 (profiler-report-find-entry): Handle calls from the menu-bar.
124
855b17af
SM
1252012-11-19 Stefan Monnier <monnier@iro.umontreal.ca>
126
14146222
SM
127 * emacs-lisp/byte-run.el (defun-declarations-alist):
128 Allow a compiler-macro to be a lambda expression.
129
130 * progmodes/python.el: Use cl-lib. Move var declarations outside of
131 eval-when-compile.
132 (python-syntax-context): Add compiler-macro.
133 (python-font-lock-keywords): Simplify with De Morgan.
134
1000d895
SM
135 * vc/diff-mode.el (diff-hunk): Don't make useless timers.
136
ac5392dc
SM
137 * files.el (load-file): Require match in minibuffer selection, as was
138 the case in Emacs-20 before we changed the spec to allow .elc files
139 (bug#12935).
140
19dc7206
SM
141 * json.el: Don't require cl since we don't use it.
142 * color.el: Don't require cl.
143 (color-complement): `caddr' -> `nth 2'.
144
855b17af
SM
145 * calendar/time-date.el (time-to-seconds): De-obsolete.
146
e8909bdc
JB
1472012-11-19 Jay Belanger <jay.p.belanger@gmail.com>
148
149 * calc/calc-forms.el (math-leap-year-p): Fix formula for negative
150 year numbers.
151 (math-date-to-julian-dt): Adjust the initial approximation for the
152 year to deal with the new definition of the DATE.
153
6e9f7997
DC
1542012-11-19 Daniel Colascione <dancol@dancol.org>
155
855b17af
SM
156 * term/w32-win.el (cygwin-convert-path-from-windows):
157 Accomodate rename of cygwin_convert_path* to cygwin_convert_file_name*.
6e9f7997 158
6a3dd257
CY
1592012-11-18 Chong Yidong <cyd@gnu.org>
160
161 * filecache.el (file-cache--read-list): New function.
162 (file-cache-add-directory-list, file-cache-add-file-list)
163 (file-cache-delete-file-list, file-cache-delete-directory-list):
164 Use it to read a list of files or directories (Bug#12846).
165 (file-cache-add-file, file-cache-add-directory)
166 (file-cache-delete-file-list, file-cache-delete-file-regexp)
167 (file-cache-delete-directory): Print an message.
168
eef97f35
JB
1692012-11-18 Jay Belanger <jay.p.belanger@gmail.com>
170
171 * calc/calc-forms.el (math-date-to-dt): Use integer date when
172 calling `math-date-to-julian-dt' and 'math-date-to-gregorian-dt'.
173
913c8291
GM
1742012-11-18 Glenn Morris <rgm@gnu.org>
175
176 * image.el (insert-image, insert-sliced-image): Doc fix.
177
2ac9538d 1782012-11-18 Chong Yidong <cyd@gnu.org>
ec6f8ce6
CY
179
180 * emacs-lisp/syntax.el (syntax-propertize-function): Doc fix
181 (Bug#12810).
182
2ac9538d 1832012-11-18 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
c2d07557
CY
184
185 * vc/vc-svn.el (vc-svn-merge-news): Properly parse the merge
186 response when the target file is in a subdirectory (Bug#12757).
187
2ac9538d 1882012-11-18 Chong Yidong <cyd@gnu.org>
33f8917c
CY
189
190 * filecache.el (file-cache-add-file-list): Doc fix (Bug#12694).
191
2ac9538d 1922012-11-18 Glenn Morris <rgm@gnu.org>
65463c40 193
9a5e2ee3
GM
194 * emacs-lisp/cl-lib.el (face-underline-p):
195 Use set-face-underline rather than the alias set-face-underline-p.
196
65463c40 197 * window.el (with-temp-buffer-window): Doc fix.
95f0501e
GM
198 * subr.el (with-output-to-temp-buffer):
199 Add doc xref to with-temp-buffer-window.
65463c40 200
c9ed8e3d
JB
2012012-11-18 Juanma Barranquero <lekktu@gmail.com>
202
203 * woman.el (woman-non-underline-faces): Use `set-face-underline'.
204 * calc/calc.el (math-format-date-cache): Declare.
205
310e60d9
PE
2062012-11-17 Paul Eggert <eggert@cs.ucla.edu>
207
208 * calc/calc-forms.el (math-julian-date-beginning)
209 (math-julian-date-beginning-int): Implement [new date numbering].
210
d7fe6352
JB
2112012-11-17 Juanma Barranquero <lekktu@gmail.com>
212
213 * descr-text.el (quail-find-key):
214 * dired.el (desktop-file-name):
215 * dirtrack.el (shell-prefixed-directory-name, shell-process-cd):
216 * generic-x.el (comint-mode, comint-exec):
217 * image-dired.el (widget-forward):
218 * info.el (speedbar-add-expansion-list, speedbar-center-buffer-smartly)
219 (speedbar-change-expand-button-char)
220 (speedbar-change-initial-expansion-list, speedbar-delete-subblock)
221 (speedbar-make-specialized-keymap, speedbar-make-tag-line):
222 * printing.el (easy-menu-add-item, easy-menu-remove-item)
223 (widget-field-action, widget-value-set):
224 * speedbar.el (imenu--make-index-alist):
225 * term.el (ring-empty-p, ring-ref, ring-insert-at-beginning)
226 (ring-length, ring-insert):
227 * vcursor.el (compare-windows-skip-whitespace):
228 * woman.el (dired-get-filename):
229 Declare functions.
230
231 * term/w32-win.el (cygwin-convert-path-from-windows): Fix declaration.
232
c9f618db
JB
2332012-11-17 Jay Belanger <jay.p.belanger@gmail.com>
234
235 * calc/calc.el (calc-gregorian-switch): New variable.
236
237 * calc/calc-forms.el (math-day-in-year, math-dt-before-p)
238 (math-absolute-from-gregorian-dt, math-absolute-from-julian-dt)
239 (math-date-to-julian-dt, math-date-to-gregorian-dt): New functions.
240 (math-leap-year-p): Add option to distinguish between Julian
241 and Gregorian calendars.
242 (math-day-number): Use `math-day-in-year' to do the computations.
243 (math-absolute-from-dt): Rename from `math-absolute-from-date'.
244 Use `math-absolute-from-gregorian' and `math-absolute-from-julian'
245 to do the computations.
246 (math-date-to-dt): Use `math-date-to-julian-dt' and
247 `math-date-to-gregorian-dt' to do the computations.
248 (calcFunc-weekday, math-format-date-part): Use the new version of
249 the DATE to determine the weekday.
250 (calcFunc-newmonth, calcFunc-newyear): Use `calc-gregorian-switch'
251 when necessary.
252
3804f7bc
EZ
2532012-11-17 Eli Zaretskii <eliz@gnu.org>
254
255 * term/w32-win.el (w32-handle-dropped-file): Use 'file://' only on
256 Cygwin; otherwise use 'file:'. (Bug#12914)
257 (cygwin-convert-path-from-windows): Declare, to avoid
258 byte-compiler warnings.
259
de959d4d
AP
2602012-11-17 Andreas Politz <politza@fh-trier.de>
261
262 * ibuffer.el (ibuffer-mark-forward, ibuffer-unmark-forward)
263 (ibuffer-unmark-backward, ibuffer-mark-interactive): Support plain
264 prefix and negative numeric prefix args (Bug#12795).
265
e45deaef
SB
2662012-11-17 Stephen Berman <stephen.berman@gmx.net>
267
268 * play/gamegrid.el (gamegrid-add-score-with-update-game-score-1):
269 Don't signal an error with a score that is too low to add to the
270 list of top scores. (Bug#12779)
271
ec15e0ff
CY
2722012-11-17 Chong Yidong <cyd@gnu.org>
273
8e7696a1
CY
274 * help-mode.el (help-xref-interned): End on point-min (Bug#12737).
275
ec15e0ff
CY
276 * filecache.el (file-cache-add-file): Handle relative file name in
277 the argument (Bug#12694).
278
60c4ee66
JH
2792012-11-16 Jürgen Hötzel <juergen@archlinux.org> (tiny change)
280
281 * eshell/em-unix.el (eshell/mkdir): Handle "--parents" (bug#12897).
282
cdc5d88c
SM
2832012-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
284
dd0c5bbb
SM
285 * emacs-lisp/advice.el (ad-make-advised-definition): Improve last fix.
286
cdc5d88c
SM
287 * emacs-lisp/cl-lib.el: Set more meaningful version number.
288
0ff7851c
MR
2892012-11-16 Martin Rudalics <rudalics@gmx.at>
290
291 * window.el (enlarge-window, shrink-window): Don't mention return
292 value in doc-string (Bug#12896).
293 (window--display-buffer): Don't resize frames - it won't work
294 with all window managers and defeat pop-up-frame-alist.
295 (display-buffer-alist): In doc-string explain that CONDITION can
296 be a function and which arguments are passed to it (Bug#12854).
297 (display-buffer-assq-regexp): New argument ACTION. Handle lambda
298 expressions (Bug#12854).
299 (display-buffer): Pass ACTION argument to
300 display-buffer-assq-regexp.
301
dedd1884
GM
3022012-11-16 Glenn Morris <rgm@gnu.org>
303
7c82753d
GM
304 * window.el (fit-frame-to-buffer-bottom-margin)
305 (fit-frame-to-buffer, fit-window-to-buffer): Doc fixes.
306
dedd1884
GM
307 * faces.el (face-underline-p): Use face-attribute-specified-or.
308
96e05507 3092012-11-16 Juanma Barranquero <lekktu@gmail.com>
662b0ee6
JB
310
311 * emacs-lisp/cl-macs.el (cl-loop, cl-do, cl-do*): Doc fixes.
312
96e05507 3132012-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
eb31fa40
SM
314
315 * emacs-lisp/cl-macs.el (cl-flet, cl-flet*): Fix docstring (bug#12895).
316
96e05507 3172012-11-16 Glenn Morris <rgm@gnu.org>
e2e13f18 318
17c083ac
GM
319 * eshell/em-cmpl.el (eshell-pcomplete): New command. (Bug#12838)
320 (eshell-cmpl-initialize): Bind eshell-pcomplete to TAB, C-i.
321
bde3c6c0
GM
322 * faces.el (face-underline-p): Doc fix. Handle :underline being
323 things other than `t' (a string, a list).
324 (face-inverse-video-p): Doc fix.
325 (set-face-underline): Rename it back from set-face-underline-p.
326 Doc fix. Allow interactive input of values other than t.
327 (read-face-attribute): Apply formatting to :underline,
328 since like :box and :stipple it can take list values.
329
e2e13f18
GM
330 * term.el (ansi-term): Don't let C-x escape-char binding
331 clobber the more standard C-c binding. (Bug#12842)
332
e0ea8060
GM
333 * subr.el (set-temporary-overlay-map): Doc fix.
334
96e05507 3352012-11-16 Martin Rudalics <rudalics@gmx.at>
92346275
MR
336
337 * window.el (record-window-buffer)
338 (display-buffer-record-window): When copying the markers to
339 window-point preserve window-point-insertion-type. (Bug#12588)
340
96e05507 3412012-11-16 Glenn Morris <rgm@gnu.org>
7b1bf173
GM
342
343 * emacs-lisp/eieio-datadebug.el (eieio-debug-methodinvoke):
344 * net/tramp-gvfs.el (tramp-gvfs-dbus-event-error):
345 Use new names for hooks rather than obsolete aliases.
346
faeafc01
DC
3472012-11-15 Daniel Colascione <dancol@dancol.org>
348
349 * term/w32-win.el (w32-handle-dropped-file): Use a "file://"
9533048d
DC
350 prefix instead of "file:" so that when FILE-NAME begins with "//",
351 as it does when the target file is on a network share, url-handler
352 isn't confused.
353
1232d6c2
SM
3542012-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
355
356 * emacs-lisp/advice.el (ad-definition-type): Make sure we don't use
357 a preactivated advice from an old advice.el; they're not compatible!
358
47f01a8a
KY
3592012-11-15 Katsumi Yamaoka <yamaoka@jpl.org>
360
361 * emacs-lisp/nadvice.el (advice--make-interactive-form):
362 Fix string-spec case.
363
364 * emacs-lisp/advice.el (ad-make-advised-definition): Fix undefined case.
365
a61428c4
SM
3662012-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
367
368 * emacs-lisp/nadvice.el: Add buffer-local support to add-function.
369 (advice--buffer-local-function-sample): New var.
370 (advice--set-buffer-local, advice--buffer-local): New functions.
371 (add-function, remove-function): Use them.
372
875ce3a7
DA
3732012-11-15 Drew Adams <drew.adams@oracle.com>
374
375 * imenu.el (imenu--split-submenus): Use imenu--subalist-p (bug#12717).
376
589fc479
SM
3772012-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
378
379 * emacs-lisp/cl-macs.el (cl--transform-lambda): Defend against
380 potential binding of print-gensym to t, and prettify (back)quotes in
381 case they appear in args's default values (bug#12884).
382
1668ea90
SM
3832012-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
384
385 * emacs-lisp/nadvice.el: Add around advice for interactive specs.
386 (advice-eval-interactive-spec): New function.
387 (advice--make-interactive-form): Support around advice (bug#12844).
388
8619323f
DG
3892012-11-14 Dmitry Gutov <dgutov@yandex.ru>
390
391 * progmodes/ruby-mode.el (ruby-expr-beg): Make heredoc detection
392 more strict. Add docstring.
c62792e7
DG
393 (ruby-expression-expansion-re): Extract from
394 `ruby-match-expression-expansion'.
395 (ruby-syntax-propertize-function): After everything else, search
396 for expansions in string literals, mark their insides as
397 whitespace syntax and save match data for font-lock.
398 (ruby-font-lock-keywords): Use the 2nd group from expression
399 expansion matches.
400 (ruby-match-expression-expansion): Use the match data saved to the
401 text property in ruby-syntax-propertize-function.
8619323f 402
9c3912d3
SM
4032012-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
404
405 * emacs-lisp/gv.el (setf): Fix debug spec for multiple assignments
406 (bug#12879).
407
5e9419e8
DG
4082012-11-13 Dmitry Gutov <dgutov@yandex.ru>
409
410 * progmodes/ruby-mode.el (ruby-move-to-block): Looks for a block
411 start/end keyword a bit harder. Works with different values of N.
412 Add more comments.
413 (ruby-end-of-block): Update accordingly.
414
3c442f8b
SM
4152012-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
416
fa470af0
SM
417 * woman.el (woman-file-name): Don't mess with unread-command-events
418 (bug#12861).
419
3c442f8b
SM
420 * emacs-lisp/advice.el: Layer on top of nadvice.el.
421 Remove out of date self-require hack.
422 (ad-do-advised-functions): Use simple `dolist'.
423 (ad-advice-name, ad-advice-protected, ad-advice-enabled)
424 (ad-advice-definition): Redefine as functions.
425 (ad-advice-classes): Move before first use.
426 (ad-make-origname, ad-set-orig-definition, ad-clear-orig-definition)
fa470af0 427 (ad-make-mapped-call, ad-make-advised-docstring,ad-make-plain-docstring)
3c442f8b 428 (ad--defalias-fset): Remove functions.
fa470af0 429 (ad-make-advicefunname, ad-clear-advicefunname-definition): New funs.
3c442f8b
SM
430 (ad-get-orig-definition): Rewrite.
431 (ad-make-advised-definition-docstring): Change base docstring.
432 (ad-real-orig-definition): Rewrite.
433 (ad-map-arglists): Change name of called function.
434 (ad--make-advised-docstring): Redirect `function' from ad-Advice-...
435 (ad-make-advised-definition): Simplify.
436 (ad-assemble-advised-definition): Tweak for new calling context.
fa470af0 437 (ad-activate-advised-definition): Setup ad-Advice-* i.s.o ad-Orig-*.
3c442f8b
SM
438 (ad--defalias-fset): Rename from ad-handle-definition. Make it set the
439 function and call ad-activate if needed.
440 (ad-activate, ad-deactivate): Don't call ad-handle-definition any more.
441 (ad-recover): Clear ad-Advice-* instead of ad-Orig-*.
442 (ad-compile-function): Compile ad-Advice-*.
443 (ad-activate-on-top-level, ad-with-auto-activation-disabled): Remove.
444 (ad-start-advice, ad-stop-advice): Remove.
445
5745cae6
DG
4462012-11-13 Dmitry Gutov <dgutov@yandex.ru>
447
448 * progmodes/ruby-mode.el (ruby-add-log-current-method): Print the
449 period before class method names, not after. Remove handling of
450 one impossible case. Add comments.
451
413d4689
SM
4522012-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
453
7db1bda8
SM
454 * emacs-lisp/advice.el: Remove support for freezing.
455 (ad-make-freeze-docstring, ad-make-freeze-definition): Remove functions.
456 (ad-make-single-advice-docstring, ad-defadvice-flags, defadvice):
457 Remove support for `freeze'.
458
413d4689
SM
459 * emacs-lisp/cl.el (dolist, dotimes, declare): Use advice-add to
460 override the default.
461 * emacs-lisp/cl-macs.el (cl-dolist, cl-dotimes): Rewrite without using
462 cl--dotimes/dolist.
463 * subr.el (dolist, dotimes, declare): Redefine them normally, even when
464 `cl' is loaded.
465
466 * emacs-lisp/nadvice.el (advice--normalize): New function, extracted
467 from add-advice.
468 (advice--strip-macro): New function.
469 (advice--defalias-fset): Use them to handle macros.
470 (advice-add): Use them.
471 (advice-member-p): Correctly handle macros.
472
f178c32d
DG
4732012-11-13 Dmitry Gutov <dgutov@yandex.ru>
474
7db1bda8
SM
475 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
476 Never font-lock the beginning of singleton class as heredoc.
f178c32d 477
f78ee6af 4782012-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
f8705f6e
SM
479
480 * emacs-lisp/gv.el (gv-define-simple-setter): One more fix (bug#12871).
481
f78ee6af 4822012-11-13 Wolfgang Jenkner <wjenkner@inode.at>
9db94175
WJ
483
484 * ansi-color.el (ansi-color-apply-sequence): Implement SGR codes
f78ee6af
GM
485 39 and 49 (bug#12792). Also, treat unimplemented parameters as 0,
486 thereby restoring the behavior of revisions prior to 2012-08-15T03:33:55Z!monnier@iro.umontreal.ca.
9db94175 487
f78ee6af 4882012-11-13 Fabián Ezequiel Gallina <fgallina@cuca>
2e6625b5
FEG
489
490 Fix end-of-defun misbehavior.
491 * progmodes/python.el (python-nav-beginning-of-defun): Rename from
492 python-beginning-of-defun-function. Handle nested defuns
493 correctly.
494 (python-nav-end-of-defun): Rename from
495 python-end-of-defun-function. Ensure forward movement.
f8705f6e 496 (python-info-current-defun): Reimplement to work as intended
2e6625b5
FEG
497 with new fixed python-nav-{end,beginning}-of-defun. Stop scanning
498 parent defuns as soon as possible.
499
f78ee6af 5002012-11-13 Glenn Morris <rgm@gnu.org>
24c38527
GM
501
502 * progmodes/flymake.el (flymake-error-bitmap)
503 (flymake-warning-bitmap, flymake-fringe-indicator-position): Doc fixes.
504 (flymake-error-bitmap, flymake-warning-bitmap): Fix :types.
505
f78ee6af 5062012-11-13 Dmitry Gutov <dgutov@yandex.ru>
d1e1e53d
DG
507
508 * progmodes/ruby-mode.el (ruby-move-to-block): When moving
509 backward, always stop at indentation. Reverts the change from
510 2012-08-12T22:06:56Z!monnier@iro.umontreal.ca (Bug#12851).
511
f78ee6af 5122012-11-13 Glenn Morris <rgm@gnu.org>
68146aa5 513
a1d3e07e
GM
514 * ibuffer.el (ibuffer-mode-map, ibuffer-mode):
515 Add ibuffer-filter-by-derived-mode.
516
84acf328
GM
517 * ibuffer.el (ibuffer-mode-map): Don't have two menu items with
518 the same name shadowing each other.
519
38785e75
GM
520 * window.el (with-temp-buffer-window): Doc tweak.
521
57fc0fee
GM
522 * emacs-lisp/debug.el (debugger-bury-or-kill): Doc tweak.
523
6ba6a3e5
GM
524 * help.el (temp-buffer-max-height):
525 * window.el (fit-frame-to-buffer, fit-frame-to-buffer-bottom-margin):
68146aa5
GM
526 * emacs-lisp/debug.el (debugger-bury-or-kill): Fix :version.
527
231d8498
SM
5282012-11-12 Stefan Monnier <monnier@iro.umontreal.ca>
529
530 * emacs-lisp/nadvice.el: New package.
531 * subr.el (special-form-p): New function.
532 * emacs-lisp/elp.el: Use lexical-binding and advice-add.
533 (elp-all-instrumented-list): Remove var.
534 (elp-not-profilable): Remove elp-wrapper.
535 (elp-profilable-p): Use autoloadp and special-form-p.
536 (elp--advice-name): New const.
537 (elp-instrument-function): Use advice-add.
538 (elp--instrumented-p): New predicate.
539 (elp-restore-function): Use advice-remove.
540 (elp-restore-all, elp-reset-all): Use mapatoms.
541 (elp-set-master): Use elp--instrumented-p.
542 (elp--make-wrapper): Rename from elp-wrapper, return a function
543 suitable for advice-add. Use cl-inf.
544 (elp-results): Use mapatoms+elp--instrumented-p.
545 * emacs-lisp/debug.el: Use lexical-binding and advice-add.
546 (debug-function-list): Remove var.
547 (debug): Rename arg, and then let-bind it explicitly inside.
548 (debugger-setup-buffer): Rename arg.
549 (debugger-setup-buffer): Adjust counts to new debug-on-entry setup.
550 (debugger-frame-number): Adjust to new debug-on-entry setup.
551 (debug--implement-debug-on-entry): Rename from
552 implement-debug-on-entry, add argument.
553 (debugger-special-form-p): Remove, use special-form-p instead.
554 (debug-on-entry): Use advice-add.
555 (debug--function-list): New function.
556 (cancel-debug-on-entry): Use it, along with advice-remove.
557 (debug-arglist, debug-convert-byte-code, debug-on-entry-1): Remove.
558 (debugger-list-functions): Use debug--function-list instead of
559 debug-function-list.
560 * emacs-lisp/advice.el (ad-save-real-definition): Remove, unused.
561 (ad-special-form-p): Remove, use special-form-p instead.
562 (ad-set-advice-info): Use add-function and remove-function.
563 (ad--defalias-fset): Adjust accordingly.
564
19e09879
GM
5652012-11-10 Glenn Morris <rgm@gnu.org>
566
714cebd1
GM
567 * mail/emacsbug.el (report-emacs-bug-tracker-url)
568 (report-emacs-bug-bug-alist, report-emacs-bug-choice-widget)
569 (report-emacs-bug-create-existing-bugs-buffer)
570 (report-emacs-bug-parse-query-results)
571 (report-emacs-bug-query-existing-bugs): Remove. (Bug#7449)
572
bf67dafa
GM
573 * term.el (term-default-fg-color, term-default-bg-color):
574 Make obsolete, rather than just saying "deprecated" in the doc.
575
19e09879
GM
576 * term.el (term): Rename from `term-face'.
577 (term-current-face, ansi-term-color-vector)
578 (term-default-fg-color, term-default-bg-color, term-ansi-reset):
579 Update all users.
580
6baf66d5 5812012-11-10 Jan Djärv <jan.h.d@swipnet.se>
531bdce6
JD
582
583 * server.el (server-create-window-system-frame): Handle Nextstep
584 specially (Bug#12780).
585
6baf66d5 5862012-11-10 Glenn Morris <rgm@gnu.org>
fedb154e
GM
587
588 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs):
589 Unautoload, and make obsolete. (Bug#7449)
590
6baf66d5 5912012-11-10 Chong Yidong <cyd@gnu.org>
9d9e48d9
CY
592
593 * vc/diff-mode.el (diff-delete-trailing-whitespace): Rewrite, and
594 rename from diff-remove-trailing-whitespace (Bug#12831).
595
6baf66d5 5962012-11-10 Stefan Monnier <monnier@iro.umontreal.ca>
32170f7f
SM
597
598 * emacs-lisp/advice.el: Require `cl-lib' at run-time to fix
599 miscompilation of trace.el.
600
6baf66d5 6012012-11-10 Glenn Morris <rgm@gnu.org>
26f59676
GM
602
603 * vc/diff-mode.el (diff-remove-trailing-whitespace): Doc fix.
604
6baf66d5 6052012-11-10 Stefan Monnier <monnier@iro.umontreal.ca>
41626722
SM
606
607 * emacs-lisp/gv.el (gv-define-simple-setter): Fix last change
608 (bug#12812).
609
6baf66d5 6102012-11-10 Chong Yidong <cyd@gnu.org>
7d806bfe
CY
611
612 * minibuf-eldef.el (minibuffer-eldef-shorten-default): Convert to
613 a defcustom with an appropriate :set function.
614 (minibuffer-default--in-prompt-regexps): New function.
615
6baf66d5 6162012-11-10 Glenn Morris <rgm@gnu.org>
2ee1d59f 617
031b2ea7
GM
618 * emacs-lisp/cl.el (define-setf-expander, defsetf)
619 (define-modify-macro): Doc fixes.
620
2ee1d59f
GM
621 * emacs-lisp/gv.el (gv-letplace): Fix doc typo.
622 (gv-define-simple-setter): Update doc of `fix-return'.
623
6baf66d5 6242012-11-10 Stefan Monnier <monnier@iro.umontreal.ca>
d57c286e 625
b715ed44
SM
626 * emacs-lisp/gv.el (gv-define-simple-setter): Don't evaluate `val'
627 twice when `fix-return' is set (bug#12813).
628
d57c286e
SM
629 * emacs-lisp/cl.el (defsetf): Pass the third arg to
630 gv-define-simple-setter (bug#12812).
631
c9cac599
SM
632 * woman.el (woman-decode-region): Disable adaptive-fill when rendering
633 (bug#12756).
634
6baf66d5 6352012-11-10 Glenn Morris <rgm@gnu.org>
6b3770fb
GM
636
637 * emacs-lisp/gv.el (gv-define-setter): Fix doc typo.
638
5593ed90
GM
639 * emacs-lisp/cl-extra.el (cl-prettyexpand):
640 * emacs-lisp/cl-lib.el (cl-proclaim, cl-declaim):
641 * emacs-lisp/cl-macs.el (cl-destructuring-bind, cl-locally)
642 (cl-the, cl-compiler-macroexpand): Add basic doc strings.
643
644 * emacs-lisp/cl-extra.el (cl-maplist, cl-mapcan): Doc fix.
645
05a859c1
LL
6462012-11-10 Leo Liu <sdl.web@gmail.com>
647
648 * ido.el (ido-set-matches-1): Improve flex matching performance by
649 removing backtracking in the regexp (suggested by Stefan). (Bug#12796)
650
32e5c58c
SM
6512012-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
652
653 * emacs-lisp/advice.el (ad-set-advice-info): Set defalias-fset-function.
654 (ad--defalias-fset): New function.
655 (ad-safe-fset): Remove.
656 (ad-make-freeze-definition): Use cl-letf*.
657
f5925cd9
SM
6582012-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
659
da03ef8a
SM
660 * subr.el (dolist): Don't bind VAR in RESULT.
661
6858633a
SM
662 * emacs-lisp/advice.el: Miscellaneous cleanup. Use lexical-binding.
663 (fset, documentation): Don't save real def since we don't advise.
664 (ad-do-advised-functions): Remove problematic `result-form'.
665 (ad-safe-fset): `ad-real-fset' => `fset'.
666 (ad-read-advised-function): Don't assume that ad-do-advised-functions
667 uses CL's dolist internally.
668 (ad-arglist): Remove unused arg `name'.
669 (ad-docstring, ad-make-advised-docstring):
670 `ad-real-documentation' => `documentation'.
671 (warning-suppress-types): Declare.
672 (ad-set-arguments): Simple CSE.
673 (ad-recover-normality): Sanity check.
674
f5925cd9
SM
675 * emacs-lisp/bytecomp.el (byte-compile-out-toplevel): Don't turn
676 (funcall '(lambda ..) ..) into ((lambda ..) ..).
677
93a66b3a
VB
6782012-11-09 Vincent Belaïche <vincentb1@users.sourceforge.net>
679
680 * ses.el: symbol to coordinate mapping is made by symbol property
f5925cd9
SM
681 `ses-cell'. This means that the same mapping is done for all SES
682 sheets. That is good enough for cells with standard A1 names, but
683 not for named cell. So a hash map is added for the latter.
684 (defconst ses-localvars): Add local variable ses--named-cell-hashmap
93a66b3a
VB
685 (ses-sym-rowcol): Use hashmap for named cell.
686 (ses-is-cell-sym-p): New defun.
687 (ses-decode-cell-symbol): New defun.
f5925cd9
SM
688 (ses-create-cell-variable): Add cell to hashmap when name is not
689 A1-like.
93a66b3a
VB
690 (ses-rename-cell): Check that cell new name is not already in
691 spreadsheet with the use of ses-is-cell-sym-p
692 (ses-rename-cell): Use hash map for named cells, but accept also
693 renaming back to A1-like.
694
67dd8ad1
SM
6952012-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
696
57618ecf
SM
697 * emacs-lisp/advice.el: Use new dynamic docstrings.
698 (ad-make-advised-definition-docstring, ad-advised-definition-p):
699 Use dynamic-docstring-function instead of ad-advice-info.
700 (ad--make-advised-docstring): New function extracted from
701 ad-make-advised-docstring.
702 (ad-make-advised-docstring): Use it.
703 * progmodes/sql.el (sql--make-help-docstring): New function, extracted
704 from sql-help.
705 (sql-help): Use it with dynamic-docstring-function.
706
67dd8ad1
SM
707 * env.el (env--substitute-vars-regexp): Don't use rx (for bootstrap).
708
be883b34
SM
7092012-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
710
d41706aa
SM
711 * files.el (hack-one-local-variable--obsolete): New function.
712 (hack-one-local-variable): Use it for obsolete settings.
713
85e55412
SM
714 * subr.el (locate-user-emacs-file): If both old and new name exist, use
715 the new name.
716
be883b34
SM
717 * progmodes/js.el (js--filling-paragraph): New var.
718 (c-forward-sws, c-backward-sws, c-beginning-of-macro): Advise.
719 (js-c-fill-paragraph): Prefer advice to cl-letf so the rebinding is
720 less sneaky.
721
cabc040a
JD
7222012-11-08 Julien Danjou <julien@danjou.info>
723
724 * progmodes/ruby-mode.el (auto-mode-alist): Add Rakefile in
725 `auto-mode-alist' (Bug#12835).
726
d14bb752
SM
7272012-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
728
79b3e376
SM
729 * progmodes/perl-mode.el (perl-prettify-symbols): New defcustom.
730 (perl--prettify-symbols-alist): New const.
731 (perl--font-lock-compose-symbol, perl--font-lock-symbols-keywords):
732 New functions.
733 (perl-font-lock-keywords-2): Use them.
734 (perl-electric-noindent-p): New function.
735 (perl-mode): Use it to set up electric-indent-mode.
736 (perl-electric-terminator, perl-indent-command): Mark obsolete.
737 (perl-mode-map): Remove bindings for them.
738 (perl-imenu-generic-expression, perl-outline-level):
739 Match functions&packages in column>0.
740
3b11e6ac
SM
741 * env.el (env--substitute-vars-regexp): New const.
742 (substitute-env-vars): Use it. Add `only-defined' arg.
743 * net/tramp.el (tramp-replace-environment-variables): Use it.
744
784c1a7b
SM
745 * emacs-lisp/bytecomp.el (byte-compile-initial-macro-environment):
746 Byte-compile *before* eval in eval-and-compile.
747 (byte-compile-log-warning): Remove redundant inhibit-read-only.
748 (byte-compile-file-form-autoload): Don't hide actual definition.
749 (byte-compile-maybe-guarded): Accept `functionp' as well.
750
d14bb752
SM
751 * emacs-lisp/gv.el (gv-ref, gv-deref): New function and macro.
752
499a0f7a
MA
7532012-11-07 Michael Albinus <michael.albinus@gmx.de>
754
755 * notifications.el (notifications-get-server-information-method):
756 New defconst.
757 (notifications-get-capabilities): Fix docstring.
758 (notifications-get-server-information): New defun.
759
f0704a9a
AM
7602012-11-06 Agustín Martín Domingo <agustin.martin@hispalinux.es>
761
762 * textmodes/ispell.el (ispell-region): Standard re-indent for better
763 readability.
764
b159a1fd
AM
765 * textmodes/ispell.el: Experimental support for support debugging.
766 (ispell-create-debug-buffer): Create a `ispell-debug-buffer' debug
767 buffer for ispell.
768 (ispell-print-if-debug): New function to print stuff to
769 `ispell-debug-buffer' if debugging is enabled.
770 (ispell-region, ispell-process-line): Use `ispell-print-if-debug' to
771 show some debugging info.
772 (ispell-buffer-with-debug): New function that creates a debugging
773 buffer and calls `ispell-buffer' with debugging enabled.
774
056cb3a1
AM
775 * textmodes/ispell.el (ispell-region): Do not prefix sent string by
776 comment in autoconf mode. (Bug#12768)
777
8e6a67b7
DA
7782012-11-06 Dmitry Antipov <dmantipov@yandex.ru>
779
780 * emacs-lisp/byte-opt.el (toplevel): Add compare-window-configurations,
781 frame-first-window, frame-root-window, frame-selected-window,
782 minibuffer-selected-window, minibuffer-window,
783 window-absolute-pixel-edges, window-at, window-body-height,
784 window-body-width, window-display-table, window-combination-limit,
785 window-frame, window-fringes, window-inside-absolute-pixel-edges,
786 window-inside-edges, window-inside-pixel-edges, window-left-child,
787 window-left-column, window-margins, window-next-buffers,
788 window-next-sibling, window-new-normal, window-new-total,
789 window-normal-size, window-parameter, window-parameters, window-parent,
790 window-pixel-edges, window-point, window-prev-buffers,
791 window-prev-sibling, window-redisplay-end-trigger, window-scroll-bars,
792 window-start, window-text-height, window-top-child, window-top-line,
793 window-total-height, window-total-width and window-use-time to the list
794 of functions without side-effects.
795 (toplevel): Add window-valid-p to the list of error-free functions
796 without side-effects.
797
53fc914f
AM
7982012-11-05 Agustín Martín Domingo <agustin.martin@hispalinux.es>
799
f5925cd9
SM
800 * textmodes/ispell.el (ispell-program-name):
801 Update spellchecker parameters when customized.
53fc914f 802
9749e2b0
GM
8032012-11-04 Glenn Morris <rgm@gnu.org>
804
805 * vc/vc-svn.el (vc-svn-state-heuristic): Avoid calling svn. (Bug#7850)
806
2cbafa56
CY
8072012-11-04 Chong Yidong <cyd@gnu.org>
808
809 * bookmark.el (bookmark-bmenu-switch-other-window): Avoid binding
810 same-window-* variables.
811
85178ca1
JL
8122012-11-04 Juri Linkov <juri@jurta.org>
813
814 * isearch.el (isearch-help-for-help, isearch-describe-bindings)
815 (isearch-describe-key, isearch-describe-mode): Use a display
816 action instead of binding same-window-* variables (Bug#10040).
817
5c677d44
GM
8182012-11-03 Glenn Morris <rgm@gnu.org>
819
49138400
GM
820 * emacs-lisp/cl-macs.el (cl-parse-loop-clause):
821 Rename handler properties back from cl-- to cl-. (Bug#12788)
822
5c677d44
GM
823 * emacs-lisp/cl-macs.el (cl-do-all-symbols): Add doc string.
824
1d4341f9
EZ
8252012-11-03 Eli Zaretskii <eliz@gnu.org>
826
827 * term/pc-win.el: Don't load term/internal from here.
828
829 * loadup.el: Load term/internal from here.
830
12fd5ee1
FEG
8312012-11-03 Fabián Ezequiel Gallina <fgallina@cuca>
832
833 * progmodes/python.el (inferior-python-mode): Fix hang in
834 jit-lock (Bug#12645).
835
43bcfda6
MR
8362012-11-03 Martin Rudalics <rudalics@gmx.at>
837
838 * window.el (switch-to-visible-buffer)
839 (switch-to-buffer-preserve-window-point): Fix doc-strings.
840
376a8e83
GM
8412012-11-03 Glenn Morris <rgm@gnu.org>
842
843 * emacs-lisp/cl-lib.el (cl--random-time):
844 Rename from cl-random-time. (Bug#12773)
845 (cl--gensym-counter, cl--random-state): Update callers.
846 * emacs-lisp/cl-extra.el (cl-make-random-state): Update callers.
847
0f7b074f
CY
8482012-11-03 Chong Yidong <cyd@gnu.org>
849
850 * cus-start.el: Make cursor-type customizable (Bug#11633).
851
3a6851d9
GM
8522012-11-02 Glenn Morris <rgm@gnu.org>
853
00a3b041
GM
854 * filecache.el: No need to load find-lisp when compiling.
855 (find-lisp-find-files): Autoload it.
856 (file-cache-add-directory-recursively): Don't require find-lisp.
857
11fef14a
GM
858 * image.el (image-type-from-file-name): Trivial simplification.
859
3a6851d9
GM
860 * emacs-lisp/bytecomp.el (byte-compile-eval):
861 Decouple "noruntime" and "cl-functions" warnings.
862
b4b096e4
SB
8632012-11-01 Stephen Berman <stephen.berman@gmx.net>
864
865 * play/gomoku.el (gomoku-display-statistics): Update mode line
866 only if in Gomoku buffer; don't capitalize "won" (Bug#12771).
867
218e997a
MR
8682012-10-31 Martin Rudalics <rudalics@gmx.at>
869
870 * window.el (quit-restore-window): If the window has been
871 created on an existing frame and ended up as the sole window on
872 that frame, do not delete it (Bug#12764).
873
b08b6da7
SM
8742012-10-31 Stefan Monnier <monnier@iro.umontreal.ca>
875
3618df45
SM
876 * progmodes/sh-script.el (sh--inside-noncommand-expression):
877 Rename from sh--inside-arithmetic-expression, handle more cases
878 (bug#11263).
879
b08b6da7
SM
880 * progmodes/sh-script.el (sh--inside-arithmetic-expression): New func.
881 (sh-font-lock-open-heredoc): Use it (bug#12770).
882
4ddedf94
GM
8832012-10-30 Glenn Morris <rgm@gnu.org>
884
f43a5263
GM
885 * emacs-lisp/cl-extra.el (cl-mapc): Add autoload cookie. Doc fix.
886
4ddedf94
GM
887 * emacs-lisp/cl.el (letf): Doc fix. (Bug#12760)
888
748b0d84
CY
8892012-10-29 Chong Yidong <cyd@gnu.org>
890
b5dd9a77
CY
891 * isearch.el (isearch-other-meta-char): Ensure that a reprocessed
892 function key is stored in a keyboard macro (Bug#4894).
893
748b0d84
CY
894 * thingatpt.el (number-at-point): Apply a thing-at-point property.
895
e07fcbdc
SM
8962012-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
897
d7f9cc85
SM
898 * vc/diff-mode.el (diff-context->unified): Don't get confused by "hunk
899 header comments".
900 (diff-unified->context, diff-context->unified)
901 (diff-reverse-direction, diff-fixup-modifs): Use `use-region-p'.
902
c606253c
SM
903 * emacs-lisp/cl.el (letf): Add missing indent rules (bug#12759).
904
e07fcbdc
SM
905 * files.el (find-alternate-file): Only ask one question (bug#12487).
906
894b9dd9
CY
9072012-10-29 Chong Yidong <cyd@gnu.org>
908
1dc2755a
CY
909 * vc/vc-hooks.el (vc-file-clearprops): Kill vc-parent-buffer.
910 Suggested by Dan Nicolaescu (Bug#6326).
911
329c48d8
CY
912 * info.el (Info-complete-menu-item): Avoid duplicates (Bug#12705).
913
2230fa5b 914 * startup.el (fancy-about-screen): Don't message (Bug#12680).
5c2f2631 915
e84cad57
CY
916 * thingatpt.el (thing-at-point): Doc fix (Bug#12691).
917
1913c5f5
CY
918 * imenu.el (imenu): Inhibit push-mark message (Bug#12726).
919
894b9dd9
CY
920 * face-remap.el (face-remap-add-relative): Handle the case where a
921 face-remapping-alist entry is a cons cell (Bug#12762).
922
329c48d8
CY
9232012-10-29 Kevin Ryde <user42@zip.com.au>
924
925 * woman.el (woman-parse-numeric-value): Handle picas correctly
926 (Bug#12639).
927
a0ccbcbd
GM
9282012-10-29 Glenn Morris <rgm@gnu.org>
929
930 * emacs-lisp/cl.el (defsetf): Doc fix.
931
b3871e59
SM
9322012-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
933
934 * progmodes/sh-script.el (sh-font-lock-paren): Also put punctuation
935 syntax to the matching opener, if any (bug#12547).
936 (sh-smie-sh-forward-token, sh-smie-sh-backward-token): Recognize this
937 matching open as a "case-(".
938 (sh-smie-rc-grammar): Add a corresponding rule for it.
939
cd44022c
DH
9402012-10-28 Daniel Hackney <dan@haxney.org>
941
942 * emacs-lisp/package.el (package-generate-autoloads): Kill buffer
943 "PKGNAME-autoloads.el" in case we created it.
944
70edffb1
SM
9452012-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
946
86957a0c
SM
947 * minibuffer.el (completion--sifn-requote): Rewrite to handle things
948 like Tramp's "/foo:~bar//baz" -> "/scpc:foo:/baz" mapping (bug#11714).
b9383404 949 (completion--twq-all): Disable too-strict assertions.
86957a0c 950
70edffb1
SM
951 * tmm.el (tmm-prompt): Use map-keymap (bug#12744).
952
d069271c
EZ
9532012-10-27 Eli Zaretskii <eliz@gnu.org>
954
955 * profiler.el (profiler-report-make-entry-part): Fix help-echo
956 text to match the real keybindings.
957
e2f022a3
JL
9582012-10-27 Juri Linkov <juri@jurta.org>
959
960 * wdired.el (wdired-keep-marker-rename): New defcustom.
961 (wdired-do-renames): Use it instead of `dired-keep-marker-rename'.
962 (Bug#11795)
963
964 * dired.el (dired-keep-marker-rename): Add reference to
965 `wdired-keep-marker-rename' in the docstring.
966 Add default character value ?R to display initially in
967 Customization UI instead of ?@.
968
df171c23
MR
9692012-10-27 Martin Rudalics <rudalics@gmx.at>
970
971 * window.el (display-buffer): In doc-string describe
972 window-height and window-width alist entries.
973
974 * time.el (display-time-world): Restore fit-window-to-buffer
975 behavior.
976
05b621a6
CY
9772012-10-27 Chong Yidong <cyd@gnu.org>
978
979 * subr.el (insert-buffer-substring-as-yank): Doc fix.
980
55f197b2
J
9812012-10-26 Jambunathan K <kjambunathan@gmail.com>
982
983 * minibuffer.el (completion-category-overrides): New completion
984 category `bookmark' (bug#11131).
985
372212df
SM
9862012-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
987
150f809c
SM
988 * emacs-lisp/advice.el (ad-assemble-advised-definition):
989 Silence bogus compiler warnings for ad-do-it.
990
372212df
SM
991 * bookmark.el (bookmark-completing-read): Set the completion category
992 to `bookmark' (bug#11131).
993
c5772569
B
9942012-10-26 Bastien <bzg@altern.org>
995 Stefan Monnier <monnier@iro.umontreal.ca>
996
997 * face-remap.el: Use lexical-binding.
998 (text-scale-adjust): Improve docstring. Use itself for the temporary
999 overlay-map bindings, so as to repeat the "Use..." message each time.
1000
a2be0357
SM
10012012-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
1002
63314e57
SM
1003 * emacs-lisp/macroexp.el (macroexp--expand-all):
1004 Obey byte-compile-warning-enabled-p (bug#12486).
1005
a2be0357
SM
1006 * vc/diff-mode.el (diff-end-of-hunk): Also skip potential "no LF at eol".
1007 (diff-refine-hunk): Similarly, handle the "no LF at eol" (bug#12584).
1008
8c7727c3
MR
10092012-10-26 Martin Rudalics <rudalics@gmx.at>
1010
1011 * mouse.el (mouse-drag-line): Move last form into preceding when
1012 clause (Bug#12731).
1013
1014 * help.el (resize-temp-buffer-window): Fix doc-string.
1015
3f2a848d
DE
10162012-10-25 David Engster <deng@randomsample.de>
1017
1018 * emacs-lisp/eieio.el (eieio-update-lisp-imenu-expression):
a2be0357 1019 Remove. This feature is already integrated in imenu.
3f2a848d
DE
1020
1021 * emacs-lisp/eieio-opt.el: Remove require for `button' since it is
1022 always loaded. Require `speedbar' unconditionally.
1023
a7723be6
SM
10242012-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
1025
aaabfc8b
SM
1026 * dired.el (dired-get-marked-files): Allow ! on . and .. (bug#12725).
1027
414a8595
SM
1028 * minibuffer.el (minibuffer-force-complete): Fix thinko.
1029
fb5b9475
SM
1030 * net/ldap.el (ldap-search-internal): The official ldif format starts
1031 with a "version: 1" header (bug#12724).
1032
a7723be6
SM
1033 * emacs-lisp/package.el (package-installed-p): Warn if not ready
1034 (bug#12721).
1035
a05cb6e3
GM
10362012-10-25 Glenn Morris <rgm@gnu.org>
1037
1038 * emacs-lisp/cl-macs.el (cl-progv): Doc fix.
1039
3c92de70
SM
10402012-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
1041
1042 * minibuffer.el (minibuffer-force-complete): Use one more marker
1043 for the temporary-overlay-map command (bug#12619).
1044
a4b6d7c6
CY
10452012-10-24 Chong Yidong <cyd@gnu.org>
1046
1047 * time.el (display-time-world-mode): Derive from special-mode.
1048 (display-time-world): Use display-buffer (Bug#12708).
1049 (display-time-world-mode-map): Variable deleted.
9321d8d7
CY
1050 (display-time-world-display): Wrap the final delete-char inside
1051 inhibit-read-only.
a4b6d7c6 1052
75e8f9d2
CY
10532012-10-24 Chong Yidong <cyd@gnu.org>
1054
cd996018
CY
1055 * dired.el (dired-mark, dired-unmark, dired-flag-file-deletion):
1056 Doc fix.
1057
75e8f9d2
CY
1058 * emacs-lisp/easymenu.el (easy-menu-define): Doc fix (Bug#12628).
1059
d92df117
SM
10602012-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
1061
1062 * minibuffer.el (completion--all-sorted-completions-location): New var.
1063 (completion--cache-all-sorted-completions)
1064 (completion--flush-all-sorted-completions): Use it.
1065 (completion-in-region, completion-in-region--postch)
1066 (completion-at-point, completion-help-at-point): Use markers in
1067 completion-in-region--data (bug#12619).
1068
9c3e39f3
SM
10692012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
1070
c79825bd
SM
1071 * progmodes/compile.el (compilation-start): Try to handle common
1072 quoting of `cd' argument (bug#12640).
1073
9c3e39f3
SM
1074 * vc/diff-mode.el (diff-hunk): `save-excursion' while refining
1075 (bug#12671).
1076
a6709bc7
GM
10772012-10-23 Glenn Morris <rgm@gnu.org>
1078
1079 * progmodes/gud.el (gud-menu-map):
1080 Check gdb-active-process is bound. (Bug#12358)
1081
d1069532
SM
10822012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
1083
d20d69c0
SM
1084 * repeat.el (repeat): Set real-this-command (bug#12232).
1085
d1069532
SM
1086 * htmlfontify.el (hfy-post-html-hook):
1087 * filesets.el (filesets-cache-fill-content-hook):
1088 * arc-mode.el (archive-extract-hook):
1089 * progmodes/cc-mode.el (c-prepare-bug-report-hook):
1090 * net/rcirc.el (rcirc-sentinel-functions)
1091 (rcirc-receive-message-functions, rcirc-activity-functions)
1092 (rcirc-print-functions):
1093 * net/dbus.el (dbus-event-error-functions):
1094 * emacs-lisp/eieio.el (eieio-pre-method-execution-functions):
1095 * emacs-lisp/checkdoc.el (checkdoc-style-functions)
1096 (checkdoc-comment-style-functions): Don't use "-hooks" suffix.
1097 * term/sun.el (sun-raw-prefix-hooks):
1098 * mail/sendmail.el (mail-yank-hooks): Use make-obsolete-variable.
1099
f7eac6d8
MA
11002012-10-23 Michael Albinus <michael.albinus@gmx.de>
1101
d1069532
SM
1102 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
1103 Set `tramp-chunksize' to 1. This improves the performance.
f7eac6d8
MA
1104 (tramp-smb-wait-for-output): Add timeout to
1105 `tramp-accept-process-output' calls.
1106
608d9d7c
CY
11072012-10-23 Chong Yidong <cyd@gnu.org>
1108
49238e7f
CY
1109 * faces.el (font-list-limit): Define as an obsolete variable.
1110
1111 * startup.el (command-line):
1112 * cus-start.el: Don't refer to font-list-limit.
1113
608d9d7c
CY
1114 * newcomment.el (comment-normalize-vars): Doc fix (Bug#12583).
1115
4ff5b1b2
SM
11162012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
1117
1118 * subr.el (internal-temp-output-buffer-show): Rename from
1119 temp-output-buffer-show, since previously compiled files expect this name.
1120
ea1d4aac
GM
11212012-10-23 Glenn Morris <rgm@gnu.org>
1122
1123 * image.el (image-type-from-file-name): If multiple types match,
1124 return the first one that is supported. (Bug#9045)
1125
eda82a31
GM
11262012-10-22 Glenn Morris <rgm@gnu.org>
1127
1128 * image.el (imagemagick-enabled-types): Doc fix.
1129
4f020bec
TA
11302012-10-22 Takafumi Arakaki <aka.tkf@gmail.com> (tiny change)
1131
1132 * progmodes/which-func.el (which-func-current): The hash-table may have
1133 an explicit nil (bug#12338).
1134
c77d37e2
SM
11352012-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
1136
1137 * electric.el (electric-pair-delete-selection-self-insert-function):
1138 Rename to electric-pair-will-use-region, return a boolean.
1139 (electric-pair-mode): Adjust accordingly. Don't require delsel.
1140
1141 * delsel.el (delete-selection-helper): Use a function instead of a hook.
1142 (delete-selection-pre-hook): Use use-region-p.
1143 (delete-selection-self-insert-function): Remove.
1144 (self-insert-command): Obey self-insert-uses-region-functions.
1145 (self-insert-iso): Revert to previous setting, since we don't actually
1146 know what that command does.
1147 (delete-selection-self-insert-hooks): Remove.
1148
b1d39ccc
SL
11492012-10-22 Simon Law <sfllaw@sfllaw.ca> (tiny change)
1150
1151 * delsel.el (delete-selection-helper): New function, extracted from
1152 delete-selection-pre-hook.
1153 (delete-selection-pre-hook): Use it.
1154 (delete-selection-self-insert-function): New function.
1155 (delete-selection-self-insert-hooks): New hook.
1156 (self-insert-command, self-insert-iso): Use it.
1157 * electric.el (electric-pair-syntax): New function, extracted from
1158 electric-pair-post-self-insert-function.
1159 (electric-pair-post-self-insert-function): Use it.
1160 (electric-pair-delete-selection-self-insert-function): New function.
1161 (electric-pair-mode): Require delsel and setup
1162 delete-selection-self-insert-hooks (bug#11520).
1163
045ef729
CY
11642012-10-20 Chong Yidong <cyd@gnu.org>
1165
4c5d08a8
CY
1166 * vc/vc.el (vc-diff-internal): Set up Diff mode even if there are
1167 no changes to show (Bug#12586).
1168
045ef729
CY
1169 * eshell/esh-cmd.el (eshell-rewrite-for-command): Copy the body
1170 list explicitly (Bug#12571).
1171
3503c798 11722012-10-20 Arne Jørgensen <arne@arnested.dk>
79e1997a 1173
b1d39ccc
SL
1174 * progmodes/flymake.el (flymake-create-temp-inplace):
1175 Use file-truename.
79e1997a 1176
2068905b
EZ
11772012-10-20 Eli Zaretskii <eliz@gnu.org>
1178
1179 * loadup.el: Update comment about uncompiled Lisp files. (Bug#12395)
1180
4c9e9550
JB
11812012-10-20 Jay Belanger <jay.p.belanger@gmail.com>
1182
1183 * calc/calc-units.el (math-extract-units): Properly extract powers
1184 of units.
1185
1a6e7e38
DC
11862012-10-20 Daniel Colascione <dancol@dancol.org>
1187
1188 * frame.el (make-frame): Set x-display-name as we used to in order
1189 to unbreak creating an X11 frame from an Emacs daemon started
1190 without a display.
1191
8e808318
SM
11922012-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
1193
1194 * minibuffer.el (minibuffer-force-complete): Make the next completion use
f5925cd9 1195 the same completion-field (bug#12221).
8e808318 1196
fb0104da
MR
11972012-10-19 Martin Rudalics <rudalics@gmx.at>
1198
1199 * emacs-lisp/debug.el (debug): Record height of debugger window
1200 also when debugger will be back (Bug#8789).
1201
8c27235e
CY
12022012-10-18 Chong Yidong <cyd@gnu.org>
1203
1204 * progmodes/gdb-mi.el (gdb-display-buffer-other-frame-action):
1205 Convert to defcustom.
1206 (gdb-get-source-file): Don't bind pop-up-windows.
1207
1208 * progmodes/gud.el (gud-display-line): Don't specially re-use
1209 other frames for the gdb-mi case (Bug#12648).
1210
90eacf99
SM
12112012-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
1212
aaf0c300
SM
1213 * emacs-lisp/advice.el: Clean up commentary a bit.
1214 (ad-do-advised-functions, ad-with-originals): Use `declare'.
1215 (byte-code-function-p): Never redefine.
1216
90eacf99
SM
1217 * emacs-lisp/gv.el (cond): Same fix as before for `if'.
1218
281c9d2b
GM
12192012-10-18 Glenn Morris <rgm@gnu.org>
1220
40714e3d
GM
1221 * dired.el (dired-sort-toggle): Some ls implementations only allow
1222 a single option string. (Bug#12666)
1223
281c9d2b
GM
1224 * minibuffer.el (completion-cycle-threshold): Doc fix.
1225
b278604e
KH
12262012-10-17 Kenichi Handa <handa@gnu.org>
1227
90eacf99
SM
1228 * international/mule.el (set-keyboard-coding-system):
1229 Recover input meta mode when the new coding system doesn not use 8-bit.
b278604e
KH
1230 Supply TERMINAL arg to set-input-meta-mode.
1231
df171c23 12322012-10-17 Michael Heerdegen <michael_heerdegen@web.de>
7ebc5f5a
MH
1233
1234 * wdired.el (wdired-old-marks): New variable.
1235 (wdired-change-to-wdired-mode): Locally set wdired-old-marks.
1236 (wdired-do-renames): Move point with renamed file and don't lose
1237 mark status (Bug#11795).
1238
e5a94ec4
JL
12392012-10-16 Juri Linkov <juri@jurta.org>
1240
1241 * replace.el (query-replace-help): Mention multi-buffer replacement
1242 keys in the Help message. (Bug#12655)
1243
d18a0d24
CY
12442012-10-15 Chong Yidong <cyd@gnu.org>
1245
1246 * emacs-lisp/byte-run.el (defsubst): Doc fix.
1247
8111f5e6
EZ
12482012-10-14 Eli Zaretskii <eliz@gnu.org>
1249
7b9abf24
EZ
1250 * window.el (display-buffer): Doc fix.
1251
8111f5e6
EZ
1252 * progmodes/compile.el (compilation-error-regexp-alist-alist):
1253 Adjust the msft regexp to the output of Studio 2010, and move msft
1254 before edg-1. See the discussion on emacs-devel,
1255 http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00579.html,
1256 for the details.
1257
5046ef67
SM
12582012-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
1259
9760c73c
SM
1260 * emacs-lisp/eieio.el (eieio-oset-default, eieio-oset, oset-default)
1261 (oset): Move uses of object-class-fast macro after its definition.
1262
5046ef67
SM
1263 * emacs-lisp/gv.el (if): Don't use closures in non-lexical-binding code.
1264
0d11ff1c
CY
12652012-10-13 Chong Yidong <cyd@gnu.org>
1266
1267 * textmodes/ispell.el (ispell-pdict-save): If flyspell-mode is
1268 enabled, re-enable it (Bug#11963).
1269
88ded8ac
MR
12702012-10-13 Martin Rudalics <rudalics@gmx.at>
1271
1272 * emacs-lisp/debug.el (debug): When debugger-will-be-back is
1273 non-nil, restore window configuration (Bug#12623).
1274
bd0ffffd
SM
12752012-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
1276
06485aa8
SM
1277 * help-fns.el (describe-variable, describe-function-1):
1278 * help-mode.el (help-make-xrefs): Remove error handler, made unneeded.
1279
bd0ffffd
SM
1280 * emacs-lisp/eieio.el (lisp-imenu-generic-expression): Fix typo.
1281
3a989246
GM
12822012-10-12 Glenn Morris <rgm@gnu.org>
1283
1284 * mail/rmailsum.el (rmail-header-summary):
1285 Fix 2010-11-26 test for multiline Subject: field. (Bug#12625)
1286
55cd00c8
FEG
12872012-10-12 Fabián Ezequiel Gallina <fgallina@cuca>
1288
bd0ffffd
SM
1289 * progmodes/python.el (python-mode-map):
1290 Replace subtitute-key-definition with proper command remapping.
55cd00c8
FEG
1291 (python-nav--up-list): Fix behavior for blocks on the same level.
1292
ac9fc2c7
SM
12932012-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
1294
d8cc4c00 1295 * help-fns.el (describe-function-1): Handle autoloads w/o docstrings.
d8cc4c00 1296
5253a5fd
SM
1297 * emacs-lisp/bytecomp.el (byte-compile-eval): Adjust to long-ago
1298 changes to the format of load-history.
1299
ac9fc2c7
SM
1300 * international/mule-cmds.el (read-char-by-name): Move let-binding of
1301 completion-ignore-case in case that var is buffer-local (bug#12615).
1302
cde44a77
KH
13032012-10-11 Kenichi Handa <handa@gnu.org>
1304
1305 * international/eucjp-ms.el: Re-generated.
1306
4ef4a10d
KH
13072012-10-10 Kenichi Handa <handa@gnu.org>
1308
1309 * select.el (xselect--encode-string): If a coding is specified for
1310 selection, and that is compatible with COMPOUND_TEXT, use it.
1311
9d7f027b
MR
13122012-10-10 Martin Rudalics <rudalics@gmx.at>
1313
1314 * window.el (switch-to-buffer-preserve-window-point): New option.
ac9fc2c7
SM
1315 (switch-to-buffer):
1316 Obey `switch-to-buffer-preserve-window-point' (Bug#4041).
9d7f027b 1317
238f3a58
SM
13182012-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
1319
1320 * newcomment.el (comment-start-skip, comment-end-skip, comment-end):
1321 Don't document nil as a useful value (bug#12583).
1322
1d51f99c
MA
13232012-10-09 Michael Albinus <michael.albinus@gmx.de>
1324
238f3a58
SM
1325 * net/tramp.el (tramp-debug-message):
1326 Remove "tramp-with-progress-reporter" from regexp of ignored functions.
1d51f99c
MA
1327 (with-tramp-progress-reporter): Rename from
1328 `tramp-with-progress-reporter'.
238f3a58
SM
1329 (with-tramp-file-property, with-tramp-connection-property):
1330 Move from tramp-cache.el, rename from `with-file-property' and
1d51f99c
MA
1331 `with-connection-property', respectively.
1332
1333 * net/tramp-cache.el: Remove `with-file-property' and
1334 `with-connection-property'.
1335
1336 * net/tramp.el:
1337 * net/tramp-gvfs.el:
1338 * net/tramp-sh.el:
1339 * net/tramp-smb.el: Adapt callees.
1340
1341 * net/trampver.el: Update release number.
1342
26b77251
GM
13432012-10-09 Glenn Morris <rgm@gnu.org>
1344
9a5f296f
GM
1345 * w32-fns.el (set-message-beep):
1346 * term/w32-win.el (set-message-beep): Update declarations.
1347
94c66ce5
SM
13482012-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
1349
10766e9e
SM
1350 * bindings.el (mode-line-toggle-read-only, mode-line-toggle-modified)
1351 (mode-line-widen, mode-line-input-method-map)
1352 (mode-line-coding-system-map, mode-line-remote)
1353 (mode-line-unbury-buffer, mode-line-bury-buffer)
1354 (mode-line-next-buffer, mode-line-previous-buffer):
1355 Replace save-selected-window+select-window => with-selected-window.
1356
f754db08
SM
1357 * progmodes/cc-bytecomp.el (cc-bytecomp-defmacro): Remove, unused.
1358 * progmodes/cc-vars.el (bq-process): Remove, unused.
1359
94c66ce5
SM
1360 * emacs-lisp/cl-macs.el (cl-defstruct): Obey the :read-only property.
1361
a4ff7fe1
FEG
13622012-10-09 Fabián Ezequiel Gallina <fgallina@cuca>
1363
1364 Implemented `backward-up-list'-like navigation.
1365 * progmodes/python.el (python-nav-up-list)
1366 (python-nav-backward-up-list): New functions.
1367 (python-mode-map): Define substitute key for backward-up-list to
1368 python-nav-backward-up-list.
1369
24517d82
FEG
13702012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
1371
1372 * progmodes/python.el (python-fill-paragraph): Rename from
1373 python-fill-paragraph-function. Fixed fill-paragraph for
1374 decorators (Bug#12605).
1375
51867ae2
FEG
13762012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
1377
1378 * progmodes/python.el (python-shell-output-filter): Handle extra
1379 carriage return in OSX (Bug#12409).
1380
a5b773c4
FEG
13812012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
1382
1383 Fix shell handling of unbalanced quotes and parens in output.
94c66ce5 1384 * progmodes/python.el (python-rx-constituents): Add string-delimiter.
a5b773c4
FEG
1385 (python-syntax-propertize-function): Use it.
1386 (python-shell-output-syntax-table): New var.
1387 (inferior-python-mode): Prevent unbalanced parens/quotes from
1388 previous output mess with current input context.
1389
13373538
JB
13902012-10-08 Juanma Barranquero <lekktu@gmail.com>
1391
1392 * generic-x.el (javascript-generic-mode, javascript-generic-mode-hook):
1393 Make obsolete aliases of js-mode and js-mode-hook (from js.el).
1394
775a132d
MA
13952012-10-08 Michael Albinus <michael.albinus@gmx.de>
1396
1397 * ffap.el (ffap-replace-file-component): Support Tramp file name
1398 syntax, not only ange-ftp's one.
1399
3ab44929
GM
14002012-10-08 Glenn Morris <rgm@gnu.org>
1401
57f1dee4
GM
1402 * cus-start.el (message-log-max): Set :version.
1403
3ab44929
GM
1404 * calendar/calendar.el (calendar-intermonth-header): Doc fix.
1405
6a088630
MR
14062012-10-08 Martin Rudalics <rudalics@gmx.at>
1407
1408 * emacs-lisp/edebug.el (edebug-pop-to-buffer): Don't try to split
1409 the minibuffer window (Bug#10851).
1410
8dbce54c
FEG
14112012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
1412
1413 Enhancements on forward-sexp movement.
1414 * progmodes/python.el (python-nav-beginning-of-statement)
1415 (python-nav-end-of-statement): Return point-marker.
1416 (python-nav-forward-sexp): lisp-like forward-sexp behavior.
1417 (python-info-current-symbol)
1418 (python-info-statement-starts-block-p): Rename from
1419 python-info-beginning-of-block-p.
1420 (python-info-statement-ends-block-p): Rename from
1421 python-info-end-of-block-p.
1422 (python-info-beginning-of-statement-p)
1423 (python-info-end-of-statement-p)
1424 (python-info-beginning-of-block-p, python-info-end-of-block-p):
1425 New functions.
1426
5acd2b3e
SM
14272012-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
1428
1429 * comint.el (comint-preinput-scroll-to-bottom): Preserve the
1430 frame-selected-windows.
1431
e08348a0
DC
14322012-10-08 Daniel Colascione <dancol@dancol.org>
1433
1434 * battery.el (battery-status-function): Check for
1435 w32-battery-status itself, not system-time windows-nt.
1436
1437 * frame.el: Require cl-lib.
1438 (display-format-alist): New variable mapping frame types to
1439 functions that initialize them.
1440 (window-system-for-display): New function: interprets
1441 display-format-alist.
1442 (make-frame-on-display): Remove existing display-selection logic
1443 and just forward to make-frame, which will now DTRT.
1444 (make-frame): Restructure to use window-system-for-display to
1445 figure out how to create a frame on a given display.
1446 (display-mouse-p): Look for frame-type w32, not a particular
1447 system-type.
1448
1449 * loadup.el: Load w32 lisp code when we have the w32 feature.
1450
1451 * mouse.el (mouse-yank-primarY): Look for frame-type w32, not
1452 system-type windows-nt.
1453
1454 * server.el (server-create-window-system-frame): Look for window
1455 type.
1456 (server-proces-filter): Only force a window system when windows-nt
1457 _and_ w32. Explain why.
1458
1459 * simple.el (normal-erase-is-backspace-mode): Add w32 to the list
1460 of window systems we configure for the mode.
1461
1462 * startup.el (command-line): Mark window system is initialized
1463 after we've done it.
1464
1465 * common-win.el (x-select-text): Look for w32, not windows-nt.
1466
1467 * ns-win.el: Require cl-lib. Add ourselves to
1468 display-format-alist.
1469 (ns-initialize-window-system): Assert we're not initialized twice.
1470
1471 * w32-win.el: Enable lexical binding; require cl-lib; add
1472 ourselves to display-format-alist.
1473 (w32-handle-dropped-file): Convert incoming dropped files from
1474 Windows paths to Cygwin ones before passing them on to the rest of
1475 Emacs.
1476 (w32-drag-n-drop): New paramter new-frame. Simplify logic.
1477 (w32-initialize-window-system): Assert we're not initialized twice.
1478
1479 * x-win.el: Require cl-lib; add ourselves to display-format-alist.
1480 (x-initialize-window-system): Assert we're not initialized twice.
1481
1482 * w32-common-fns.el: New File.
1483 (w32-version, w32-using-nt, w32-get-clipboard-data)
1484 (w32-set-clipboard-data, x-set-selection, x-get-selection)
1485 (w32-charset-info-alist, x-last-selected, text)
1486 (x-get-selection-value, x-selection-value): Move here.
1487
1488 * w32-fns.el: Require w32-common-fns.
1489 (w32-version, w32-using-nt, w32-get-clipboard-data)
1490 (w32-set-clipboard-data, x-set-selection, x-get-selection)
1491 (w32-charset-info-alist, x-last-selected, text)
1492 (x-get-selection-value, x-selection-value): Move to
1493 w32-common-fns.
1494
1495 * w32-vars.el:
1496 (w32-allow-system-shell, w32-system-shells): Define only in
1497 non-cygwin case.
1498
795b1482
SM
14992012-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
1500
1501 * subr.el (read-passwd-map): Don't use `defconst' (bug#12597).
1502 (read-passwd): Remove a few more potential sources of leaks.
1503
f27c99dc
FEG
15042012-10-07 Fabián Ezequiel Gallina <fgallina@cuca>
1505
1506 * progmodes/python.el (inferior-python-mode)
795b1482 1507 (python-shell-make-comint): Fix initialization of local
f27c99dc
FEG
1508 variables copied from parent buffer.
1509
fcacb558
JD
15102012-10-07 Jan Djärv <jan.h.d@swipnet.se>
1511
1512 * term/ns-win.el (ns-read-file-name): Update declaration to match
1513 nsfns.m.
1514 (ns-respond-to-change-font): Change fontsize separatly so we are sure
1515 it is set when font is acted upon.
1516
be0d5bae
FEG
15172012-10-07 Fabián Ezequiel Gallina <fgallina@cuca>
1518
1519 Enhancements to indentation.
1520 * progmodes/python.el (python-indent-context): Give priority to
1521 inside-string context. Make comments indentation markers.
1522 (python-indent-region): Do not mess with strings, unless it's the
1523 enclosing set of quotes.
1524
13af0d10
SM
15252012-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
1526
662a9d0e
SM
1527 * window.el (internal--before-save-selected-window)
1528 (internal--after-save-selected-window): New functions extracted from
1529 save-selected-window. Make sure we return the `alist' we construct.
1530 (save-selected-window): Use them.
1531
1532 * textmodes/tex-mode.el (tex-recenter-output-buffer):
1533 Use with-selected-window.
1534
13af0d10
SM
1535 * emacs-lisp/autoload.el (make-autoload): Add `cl-defmacro' to the
1536 forms that define macros (bug#12593).
1537
6aa75fb6
KH
15382012-10-07 Kenichi Handa <handa@gnu.org>
1539
13af0d10
SM
1540 * international/mule-conf.el (compound-text-with-extensions):
1541 Add :mime-charset property as x-ctext.
6aa75fb6 1542
78d876b9
SM
15432012-10-07 Stefan Merten <smerten@oekonux.de>
1544
1545 * textmodes/rst.el (rst-new-adornment-down, rst-indent-field)
1546 (rst-indent-literal-normal, rst-indent-literal-minimized)
1547 (rst-indent-comment): Correct :version tag.
557337e9 1548 (rst-official-cvs-rev): Correct version string.
78d876b9 1549
99a1e701
GM
15502012-10-07 Glenn Morris <rgm@gnu.org>
1551
1552 * mail/rmailmm.el (rmail-mime-process-multipart):
1553 Do not confuse a multipart message with an epilogue
1554 with a "truncated" one; fixes 2011-06-27 change. (Bug#10101)
1555
08f18c3d
FEG
15562012-10-07 Fabián Ezequiel Gallina <fgallina@cuca>
1557
1558 Fix shell output retrieval and comint-prompt-regexp init.
1559 * progmodes/python.el (inferior-python-mode):
1560 (python-shell-make-comint): Fix initialization of
1561 comint-prompt-regexp from copied file local variables.
1562 (python-shell-fetched-lines): Remove var.
1563 (python-shell-output-filter-in-progress): Rename from
1564 python-shell-fetch-lines-in-progress.
1565 (python-shell-output-filter-buffer): Rename from
1566 python-shell-fetch-lines-string.
1567 (python-shell-fetch-lines-filter): Delete function.
1568 (python-shell-output-filter): New function.
1569 (python-shell-send-string-no-output): Use them.
1570
82ed3ab4
GM
15712012-10-07 Glenn Morris <rgm@gnu.org>
1572
1595ecfa
GM
1573 * hi-lock.el (hi-lock-process-phrase):
1574 Try to make it less fragile. (Bug#7161)
1575
82ed3ab4
GM
1576 * hi-lock.el (hi-lock-face-phrase-buffer): Doc fix.
1577
f1f4dba0
GM
15782012-10-06 Glenn Morris <rgm@gnu.org>
1579
addc11ed 1580 * ehelp.el (electric-help-mode): Use help-mode rather than
32939005
GM
1581 non-existent mode `help'.
1582 (electric-help-map): Use button-buffer-map. (Bug#10917)
addc11ed 1583
460042b8
GM
1584 * textmodes/reftex-vars.el (reftex-create-bibtex-header)
1585 (reftex-create-bibtex-footer): Fix custom types.
1586
67667c70
GM
1587 * progmodes/sh-script.el (sh-indent-after-continuation):
1588 Add explicit :group.
1589
18dec750
GM
1590 * textmodes/rst.el (rst-preferred-decorations)
1591 (rst-shift-basic-offset): Clarify obsolescence versions.
1592
d1a1c7e6
GM
1593 * profiler.el (profiler): Add missing group :version tag.
1594 * avoid.el (mouse-avoidance-banish-position):
1595 * proced.el (proced-renice-command):
1596 * calc/calc.el (calc-ensure-consistent-units):
1597 * calendar/icalendar.el (icalendar-import-format-uid):
1598 * net/tramp.el (tramp-save-ad-hoc-proxies):
1599 * progmodes/bug-reference.el (bug-reference-bug-regexp):
1600 * progmodes/flymake.el (flymake-error-bitmap)
1601 (flymake-warning-bitmap, flymake-fringe-indicator-position):
1602 * progmodes/sh-script.el (sh-indent-after-continuation):
1603 * progmodes/verilog-mode.el (verilog-auto-template-warn-unused)
1604 (verilog-before-save-font-hook, verilog-after-save-font-hook):
1605 * progmodes/vhdl-mode.el (vhdl-makefile-default-targets)
1606 (vhdl-array-index-record-field-in-sensitivity-list)
1607 (vhdl-indent-comment-like-next-code-line):
1608 * textmodes/reftex-vars.el (reftex-ref-style-alist)
1609 (reftex-ref-macro-prompt, reftex-ref-style-default-list)
1610 (reftex-cite-key-separator, reftex-create-bibtex-header)
1611 (reftex-create-bibtex-footer):
1612 * textmodes/rst.el (rst-new-adornment-down, rst-indent-field)
1613 (rst-indent-literal-normal, rst-indent-literal-minimized)
1614 (rst-indent-comment): Add missing custom :version tags.
1615
ef35abb4
GM
1616 * calendar/timeclock.el (timeclock-modeline-display):
1617 Add missing obsolete alias for renamed user option.
1618
d1aae614
GM
1619 * strokes.el (strokes-modeline-string):
1620 * emulation/crisp.el (crisp-mode-modeline-string):
1621 * eshell/esh-mode.el (eshell-status-in-modeline):
1622 Aliases to defcustoms must come before the defcustom.
1623
f1f4dba0
GM
1624 * calendar/cal-tex.el (cal-tex-diary, cal-tex-cursor-week)
1625 (cal-tex-cursor-week2, cal-tex-cursor-week-iso)
1626 (cal-tex-cursor-week-monday): Doc fixes.
1627 (cal-tex-cursor-week2-summary): Doc fix.
1628 Rename from cal-tex-cursor-week-at-a-glance.
1629
1630 * calendar/cal-menu.el (cal-menu-context-mouse-menu):
1631 Tweak week descriptions. Add cal-tex-cursor-week2-summary.
1632
1633 * calendar/calendar.el (calendar-mode-map):
1634 Add cal-tex-cursor-week2-summary.
1635
d39109c3
SM
16362012-10-06 Stefan Monnier <monnier@iro.umontreal.ca>
1637
685f87b0
SM
1638 * emacs-lisp/cl-macs.el (cl-defstruct): Improve docstring.
1639
d39109c3
SM
1640 * subr.el (read-passwd-map): New var.
1641 (read-passwd): Use `read-string' again.
1642 * minibuffer.el (delete-minibuffer-contents): Make it interactive.
1643
5694896d
J
16442012-10-06 Jambunathan K <kjambunathan@gmail.com>
1645
1646 * register.el (append-to-register, prepend-to-register):
1647 Deactivate mark, as does `copy-to-register' (bug#12389).
1648
9414dd8d
CY
16492012-10-06 Chong Yidong <cyd@gnu.org>
1650
1651 * files.el (auto-mode-alist): Add .by and .wy (Semantic grammars).
1652
2b89bca4
KH
16532012-10-06 Ikumi Keita <ikumi@ikumi.que.jp> (tiny change)
1654
1655 * international/characters.el: Fix simple mistake ((car chars) ->
1656 elt), delete duplicated code.
1657
d5acb99a
GM
16582012-10-06 Glenn Morris <rgm@gnu.org>
1659
1660 * subr.el (read-passwd): Allow C-u to erase entry. (Bug#12570)
1661
123ec157
JS
16622012-10-06 Julian Scheid <julians37@gmail.com> (tiny change)
1663
1664 * color.el (color-hsl-to-rgb): Fix incorrect results for
1665 small and large hue values. (Bug#12559)
1666
7fa36ccb
FEG
16672012-10-05 Fabián Ezequiel Gallina <fgallina@cuca>
1668
1669 Enhancements to docstring formatting when filling paragraphs.
1670 * progmodes/python.el (python-fill-docstring-style): Rename from
1671 python-fill-string-style. Added new style.
1672 (python-fill-string): Use new style. Better checks for
1673 docstrings.
1674
d8788e1e
GM
16752012-10-05 Glenn Morris <rgm@gnu.org>
1676
204f3953
GM
1677 * net/newst-treeview.el (newsticker-group-move-feed): Doc fix.
1678
d8788e1e
GM
1679 * color.el (color-name-to-rgb, color-rgb-to-hex)
1680 (color-hue-to-rgb, color-hsl-to-rgb, color-rgb-to-hsv)
1681 (color-rgb-to-hsl, color-srgb-to-xyz, color-saturate-hsl)
1682 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
1683 (color-lighten-name, color-darken-hsl, color-darken-name): Doc fixes.
1684
8d956cef
GM
1685 * emacs-lisp/timer.el (with-timeout): Add missing progn. (Bug#12577)
1686
e8757f09 16872012-10-05 Juanma Barranquero <lekktu@gmail.com>
ea9a3563
JB
1688
1689 * ido.el (ido-directory-too-big-p): Pass dir through file-truename
1690 to get the correct size across symlinks.
1691
e8757f09
GM
1692 * ido.el (ido-buffer-disable-smart-matches): Fix typo in docstring.
1693
0e2ae83d
JL
16942012-10-04 Juri Linkov <juri@jurta.org>
1695
1696 * replace.el (query-replace-interactive): Declare obsolete.
1697 (query-replace-read-from): Add the last incremental search string
1698 to the list of default values accessible via M-n.
1699 (map-query-replace-regexp): Use `read-regexp'.
1700 (query-replace, query-replace-regexp, query-replace-regexp-eval)
1701 (map-query-replace-regexp, replace-string, replace-regexp):
1702 Fix docstrings to replace mentions of `query-replace-interactive'
1703 with alternatives. (Bug#12526)
1704
93cacb6d
JL
17052012-10-04 Juri Linkov <juri@jurta.org>
1706
1707 * dired.el (dired-shrink-to-fit): Declare obsolete. (Bug#1806)
1708 (dired-pop-to-buffer): Declare obsolete.
1709 (dired-mark-pop-up): Doc fix.
1710
fc345011
FEG
17112012-10-04 Fabián Ezequiel Gallina <fgallina@cuca>
1712
1713 Allow user to set docstring style for fill-paragraph.
1714 * progmodes/python.el
1715 (python-fill-comment-function, python-fill-string-function)
1716 (python-fill-decorator-function, python-fill-paren-function):
1717 Remove :safe for defcustoms.
1718 (python-fill-string-style): New defcustom
5694896d 1719 (python-fill-paragraph-function): Enhance context detection.
fc345011
FEG
1720 (python-fill-string): Honor python-fill-string-style settings.
1721
6bab5d8b
MR
17222012-10-04 Martin Rudalics <rudalics@gmx.at>
1723
1724 * emacs-lisp/edebug.el (edebug-pop-to-buffer): Select window
1725 after setting its buffer (Bug#10805).
1726
a1a9f411
FEG
17272012-10-03 Fabián Ezequiel Gallina <fgallina@cuca>
1728
1729 Fix cornercase for string syntax.
1730 * progmodes/python.el (python-syntax-propertize-function):
1731 Simplify and enhance the regexp for unescaped quotes. Now it also
1732 matches quotes in weird situations like the single quote in
1733 "something\"'".
1734 (python-syntax-stringify): Simplify num-quotes detecting code.
1735
05e153a6
GM
17362012-10-03 Glenn Morris <rgm@gnu.org>
1737
1738 * help-macro.el (three-step-help):
1739 Revert 2012-09-29 change. (Bug#12567)
1740
2e566ecb
MR
17412012-10-03 Martin Rudalics <rudalics@gmx.at>
1742
96ef9ccd
MR
1743 * menu-bar.el (kill-this-buffer): Don't do anything when
1744 `menu-frame' is not alive or visible (Bug#8184).
1745
2e566ecb
MR
1746 * emacs-lisp/debug.el (debug): When quitting the debugger window
1747 restore current buffer (Bug#12502).
1748
a96e1cb7
CY
17492012-10-02 Chong Yidong <cyd@gnu.org>
1750
5694896d
J
1751 * progmodes/hideif.el (hif-lookup, hif-defined):
1752 Handle semantic-c-takeover-hideif.
a96e1cb7 1753
b3ecad33
PE
17542012-10-02 Paul Eggert <eggert@cs.ucla.edu>
1755
1756 Change sampling interval units from ms to ns.
1757 * profiler.el (profiler-sampling-interval): Change units
1758 from ms to ns, multiplying the default by 1000000 so that
1759 it remains 1 ms.
1760 (profiler-report-cpu-line-format): Give enough room for
1761 the maximum counters on 64-bit hosts.
1762 (profiler-report-render-calltree-1): Call them "CPU samples",
1763 not "Time (ms)", since they are not milliseconds now (and
1764 never really were).
1765
8cb51b66 17662012-10-02 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
c623f81a 1767
5694896d
J
1768 * net/eudcb-bbdb.el (eudc-bbdb-format-record-as-result):
1769 Fix querying BBDB for entries without a last name (Bug#11580).
c623f81a 1770
fd795bf4
CY
17712012-10-02 Chong Yidong <cyd@gnu.org>
1772
1773 * emacs-lisp/eieio.el: Restore Version header.
1774
fe0a74f9
SM
17752012-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
1776
6be9197e
SM
1777 * vc/diff-mode.el (diff--auto-refine-data): New var.
1778 (diff-hunk): Use it to delay refinement.
1779 (diff-mode): Remove overlays when we turn off font-lock.
1780
18486139
SM
1781 * textmodes/table.el: Use lexical-binding, dolist, define-minor-mode.
1782 (table-initialize-table-fixed-width-mode)
1783 (table-set-table-fixed-width-mode): Remove functions.
1784 (table-command-list): Move initialization into declaration.
1785 (table--tweak-menu-for-xemacs): Move defun outside mapcar.
1786 (table-with-cache-buffer): Use `declare'.
1787 (table-span-cell): Simplify via CSE.
1788 (table-fixed-width-mode): Use define-minor-mode.
1789 (table-call-interactively, table-funcall, table-apply): Remove.
1790 (table-function): New function, to replace them.
1791
d83ef976
SM
1792 * bookmark.el (bookmark-search-pattern): Remove var.
1793 (bookmark-read-search-input): Remove function.
1794 (bookmark-bmenu-search): Reimplement using a minibuffer.
1795
cd386662
SM
1796 * faces.el (modeline): Remove obsolete face name.
1797
fe0a74f9
SM
1798 * vc/add-log.el (add-log-buffer-file-name-function): Demote to defvar
1799 and give a non-nil default value.
1800 (add-change-log-entry): Simplify accordingly.
1801
9f7b98f8
DG
18022012-10-01 Dmitry Gutov <dgutov@yandex.ru>
1803
1804 * vc/vc-git.el (vc-git-log-edit-toggle-signoff): New function.
1805 (vc-git-log-edit-toggle-amend): New function.
1806 (vc-git-log-edit-toggle-signoff): New function.
1807 (vc-git-log-edit-mode): New major mode.
1808 (vc-git-log-edit-mode-map): Keymap for it.
1809 (vc-git-checkin): Handle "Amend" and "Sign-Off" headers.
1810
1811 * vc/log-edit.el (log-edit-font-lock-keywords): Allow hyphens in
1812 header names.
1813 (log-edit-toggle-header): New function.
1814 (log-edit-extract-headers): Accept function values in HEADERS alist.
1815
62a81506
CY
18162012-10-01 David Engster <deng@randomsample.de>
1817
1818 * emacs-lisp/eieio-opt.el (eieio-describe-class): Add filename
1819 from symbol property and change message to be more consistent with
1820 Emacs proper.
1821 (eieio-describe-generic): Add filename for each implementation.
1822 Fix indices for generic and normal methods.
1823 (eieio-method-def, eieio-class-def): New buttons.
1824 (eieio-help-find-method-definition)
1825 (eieio-help-find-class-definition): New functions.
1826 (eieio-help-mode-augmentation-maybee): Add buttons to filenames of
1827 class, constructor and method definitions.
1828
1829 * emacs-lisp/eieio.el (eieiomt-add, eieio-defclass): Save file
1830 information in symbol property.
1831 (scoped-class): Remove.
1832 (eieio-slot-name-index, call-next-method): Check if it is bound.
1833
18342012-10-01 Leo P. White <lpw25@cam.ac.uk>
1835
1836 * emacs-lisp/eieio-custom.el (eieio-custom-mode-map): New option.
1837 (eieio-custom-mode): New major mode.
1838 (eieio-customize-object): Use it.
1839
18402012-10-01 Eric Ludlam <zappo@gnu.org>
1841
1842 * emacs-lisp/eieio-base.el (eieio-persistent-read): New input args
1843 specifying the expected class, and whether subclassing is allowed.
1844 (eieio-persistent-convert-list-to-object):
1f9f395d
JB
1845 (eieio-persistent-validate/fix-slot-value)
1846 (eieio-persistent-slot-type-is-class-p): New functions.
1847 (eieio-named::slot-missing): Doc fix.
62a81506
CY
1848
1849 * emacs-lisp/eieio-datadebug.el (data-debug/eieio-insert-slots):
1850 Stop using unused publd variable.
1851
1852 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
1853 (eieio-speedbar-description, eieio-speedbar-derive-line-path)
1854 (eieio-speedbar-object-buttonname, eieio-speedbar-make-tag-line)
1855 (eieio-speedbar-handle-click): Do not specify a class for the
1856 method. Fixes method invocation order problems with EDE.
1857
375e49d4
SM
18582012-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
1859
1860 * emacs-lisp/bytecomp.el (byte-compiler-abbreviate-file): New function.
1861 (byte-compile-warning-prefix, byte-compile-file): Use it (bug#12508).
1862
16ce6ccd
KF
18632012-10-01 Karl Fogel <kfogel@red-bean.com>
1864
1865 * bookmark.el (bookmark-version-control): Give tags in the
1866 :type choices (Bug#12309), and improve doc string.
e4c4abdd
KF
1867 (bookmark-write-file): Bind `print-circle' to `t' to allow
1868 circular custom bookmark types. (Bug#12503)
16ce6ccd 1869
19e54a4d
PE
18702012-10-01 Paul Eggert <eggert@cs.ucla.edu>
1871
86ec63ba
PE
1872 Revert the FOLLOW-SYMLINKS change for file-attributes.
1873 * files.el (remote-file-name-inhibit-cache, after-find-file):
1874 * time.el (display-time-file-nonempty-p): Undo last change.
1875
19e54a4d
PE
1876 * profiler.el (profiler-sampling-interval): Change default back to 1.
1877 See Stefan Monnier in
1878 <http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00863.html>.
1879
0478776b
FEG
18802012-10-01 Fabián Ezequiel Gallina <fgallina@cuca>
1881
1882 Shell output catching a la gud-gdb.
1883 * progmodes/python.el (python-shell-fetch-lines-in-progress)
375e49d4
SM
1884 (python-shell-fetch-lines-string, python-shell-fetched-lines):
1885 New Vars.
0478776b
FEG
1886 (python-shell-fetch-lines-filter): New function.
1887 (python-shell-send-string-no-output): Use them.
1888
c22bac2c
TM
18892012-09-30 Tomohiro Matsuyama <tomo@cx4a.org>
1890
1891 * profiler.el (profiler-sampling-interval): Rename from
1892 profiler-sample-interval.
1893 (profiler-sampling-interval): Default to 10.
1894 (profiler-find-profile): New command (was profiler-find-log).
1895 (profiler-find-profile-other-window): New command.
1896 (profiler-find-profile-other-frame): New command.
1897 (profiler-profile): Introduce API-level data structure.
1898
e7a2937b
PE
18992012-09-30 Paul Eggert <eggert@cs.ucla.edu>
1900
1901 file-attributes has a new optional arg FOLLOW-SYMLINKS.
1902 * files.el (remote-file-name-inhibit-cache):
1903 * time.el (display-time-file-nonempty-p): Use it.
1904 * files.el (after-find-file): Don't chase links before calling
1905 file-exists-p, as file-exists-p already does the right thing.
1906
4f595e15
RA
19072012-09-30 Ralf Angeli <angeli@caeruleus.net>
1908
1909 Merge from standalone RefTeX repository.
1910
1911 The following ChangeLog entries are shortened versions of the
1912 original ones with file paths adapted. A not so strongly edited
1913 version of the original ChangeLog can be found in the commit log.
1914
1915 * textmodes/reftex-auc.el: Move `provide' call to bottom of file.
375e49d4
SM
1916 (reftex-arg-cite): Use `reftex-cite-key-separator'.
1917 Correctly handle new value type returned by `reftex-citation'.
4f595e15
RA
1918
1919 * textmodes/reftex-cite.el (reftex-create-bibtex-file): Make sure
375e49d4
SM
1920 that entries with whitespace at various places are found.
1921 Doc fix. Include entries that are cross-referenced from cited entries.
4f595e15
RA
1922 Include @String definitions in the resulting bib file. Add header
1923 and footer defined in `reftex-create-bibtex-header' and
1924 `reftex-create-bibtex-footer'.
1925 (reftex-do-citation): Make it possible again to insert
1926 non-existent entries. Save match data when asking for optional
1927 arguments. Return all keys, not just the first one.
1928 (reftex-all-used-citation-keys): Fix regexp to correctly extract
1929 all citations in the same line.
1930 (reftex-parse-bibtex-entry): Accept additional optional argument
1931 `raw' and keep quotes or braces if it is non-nil. Match fields
1932 containing hyphens besides word constituents.
1933 (reftex-get-string-refs): New function.
1934 (reftex-extract-bib-entries): Check if BibTeX file changed on disk
1935 and ask if it should be reread in case it did.
1936 (reftex-pop-to-bibtex-entry)
1937 (reftex-extract-bib-entries-from-thebibliography): Match \bibitem
1938 entries with spaces or tabs in front of arguments.
1939 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
375e49d4
SM
1940 (reftex-parse-bibtex-entry, reftex-create-bibtex-file):
1941 Match entries containing numbers and symbol constituents.
1942 (reftex-do-citation, reftex-figure-out-cite-format):
1943 Use `reftex-cite-key-separator'.
4f595e15
RA
1944
1945 * textmodes/reftex-dcr.el: Move provide statement to end of file.
1946 (reftex-mouse-view-crossref): Explain why point is set.
1947
1948 * textmodes/reftex-global.el: Whitespace changes.
1949
1950 * textmodes/reftex-index.el: Move provide statement to end of
1951 file.
1952 (reftex-index-selection-or-word): Use `reftex-region-active-p'.
1953 (reftex-index-visit-phrases-buffer): Set marker when visiting
1954 buffer. This allows for returning from the phrases file to the
1955 file one was just editing instead of the file where the last
1956 phrases was added from.
1957 (reftex-index-phrases-syntax-table): New variable. Give ?\"
1958 punctuation syntax as it usually is not used as string quote in
1959 TeX-related modes and may occur unmatched. The change also
1960 prevents fontification of quoted content.
1961 (reftex-index-phrases-mode): Use it.
1962
375e49d4
SM
1963 * textmodes/reftex-parse.el (reftex-parse-from-file):
1964 Move backward one char if a `\' was matched after a section macro.
4f595e15
RA
1965 (reftex-parse-from-file): Use beginning of match instead of end as
1966 bound.
1967
1968 * textmodes/reftex-ref.el: Adapt creation of
1969 `reftex-<package>-<macro>' functions to new structure of
1970 `reftex-ref-style-alist'.
375e49d4
SM
1971 (reftex-reference): Use `reftex-ref-style-list' function.
1972 Adapt to new structure of `reftex-ref-style-alist'. Prompt for a
4f595e15
RA
1973 reference macro if `reftex-ref-macro-prompt' is non-nil.
1974 (reftex-reference): Pass refstyle to `reftex-format-special'.
1975 Determine reference macro by looking at
375e49d4
SM
1976 `reftex-ref-style-default-list' and `reftex-ref-style-alist'.
1977 Use only one special format function.
4f595e15
RA
1978 (reftex-varioref-vref, reftex-fancyref-fref)
1979 (reftex-fancyref-Fref): Remove definitions. The functions are now
1980 generated from `reftex-ref-style-alist'.
1981 (reftex-format-vref, reftex-format-Fref, reftex-format-fref):
1982 Remove.
1983 (reftex-format-special): New function.
1984
1985 * textmodes/reftex-sel.el
1986 (reftex-select-cycle-ref-style-internal): Adapt to new structure
1987 of `reftex-ref-style-alist'. Remove code for testing macro type.
1988 (reftex-select-toggle-varioref)
1989 (reftex-select-toggle-fancyref): Remove.
1990 (reftex-select-cycle-ref-style-internal)
1991 (reftex-select-cycle-ref-style-forward)
1992 (reftex-select-cycle-ref-style-backward): New functions.
1993 (reftex-select-label-map): Use `v' and `V' for general cycling
1994 through reference styles. Add `p' for switching between number
1995 and page reference types.
1996
375e49d4
SM
1997 * textmodes/reftex-toc.el (reftex-re-enlarge):
1998 Call `enlarge-window' only if there is something to do because in Emacs
4f595e15
RA
1999 the horizontal version throws an error even if the parameter is 0.
2000
2001 * textmodes/reftex-vars.el (reftex-label-alist): Doc fix.
2002 (reftex-plug-into-AUCTeX): Doc fix.
2003 (reftex-vref-is-default, reftex-fref-is-default): Adapt doc
2004 string. Adapt to new name.
2005 (reftex-ref-style-alist): Change structure so that it is not
2006 possible to use multiple different package names within a style.
375e49d4
SM
2007 Remove the symbols for symbols for macro type distinction.
2008 Add characters for macro selection.
4f595e15
RA
2009 (reftex-ref-macro-prompt, reftex-create-bibtex-header)
2010 (reftex-create-bibtex-footer): New variables.
2011 (reftex-format-ref-function): Mention third argument of special
2012 format function.
375e49d4
SM
2013 (reftex-ref-style-alist, reftex-ref-style-default-list):
2014 New variables.
4f595e15
RA
2015 (reftex-vref-is-default, reftex-fref-is-default): Adapt doc string
2016 to new implementation. Mark as obsolete. Add compatibility code
2017 for honoring the variable values in case they are set.
375e49d4
SM
2018 (reftex-cite-format-builtin, reftex-bibliography-commands):
2019 Add support for ConTeXt.
2020 (reftex-format-ref-function, reftex-format-cite-function):
2021 Fix custom type.
4f595e15
RA
2022 (reftex-cite-key-separator): New variable.
2023
2024 * textmodes/reftex.el (reftex-syntax-table-for-bib)
2025 (reftex-mode): Do not derive `reftex-syntax-table-for-bib' from
2026 `reftex-syntax-table' because parens have to retain their paren
2027 syntax in order for parsing of BibTeX entries like @book(...) to
2028 work.
2029 (reftex-in-comment): Do not error out if `comment-start-skip' is
2030 not set. Deal correctly with escaped comment characters.
375e49d4
SM
2031 (reftex-tie-multifile-symbols): Add doc string.
2032 Initialize `reftex-ref-style-list'.
4f595e15
RA
2033 (reftex-untie-multifile-symbols): Add doc string.
2034 (reftex-add-index-macros): Doc fix.
2035 (reftex-ref-style-activate, reftex-ref-style-toggle)
2036 (reftex-ref-style-list): New functions.
2037 (reftex-mode-menu): Use them. Adapt to new structure of
2038 `reftex-ref-style-alist'.
2039 (reftex-select-with-char): Kill the RefTeX Select buffer when
2040 done.
2041 (reftex-remove-if): New function.
2042 (reftex-erase-all-selection-and-index-buffers)
2043 (reftex-mode-menu): Reference styles are now computed from
2044 `reftex-ref-style-alist'. Fix typo.
2045 (reftex-report-bug): New function.
2046 (reftex-uniquify, reftex-uniquify-by-car): Replace O(n^2)
2047 algorithms with O(n log n). Introduce optional argument SORT (not
2048 yet used).
2049
440ba395
FEG
20502012-09-30 Fabián Ezequiel Gallina <fgallina@cuca>
2051
2052 Enhancements for triple-quote string syntax.
375e49d4
SM
2053 * progmodes/python.el (python-syntax-propertize-function):
2054 Match both quote cases in one regexp.
440ba395
FEG
2055 (python-syntax-stringify): Handle matches properly.
2056
4c478e6b
JL
20572012-09-30 Juri Linkov <juri@jurta.org>
2058
2059 * arc-mode.el (archive-summarize): Let-bind `buffer-file-truename'
93cacb6d 2060 to nil around the call to `insert' to prevent
4c478e6b
JL
2061 directory time modification by lock_file. (Bug#2295)
2062 * tar-mode.el (tar-summarize-buffer): Idem.
2063
d80d54b2
JL
20642012-09-30 Juri Linkov <juri@jurta.org>
2065
2066 * facemenu.el (list-colors-sort): Add option "Luminance".
2067 (list-colors-sort-key): Implement it.
2068
2069 * vc/diff-mode.el (diff-refine-removed):
2070 * vc/ediff-init.el (ediff-fine-diff-A):
2071 * vc/smerge-mode.el (smerge-refined-removed):
2072 Change background color "#ffaaaa" to "#ffbbbb". (Bug#10181)
2073
d7e642cc
JD
20742012-09-30 Jan Djärv <jan.h.d@swipnet.se>
2075
2076 * term/ns-win.el (x-file-dialog): New function.
2077
ee41332b
JB
20782012-09-30 Juanma Barranquero <lekktu@gmail.com>
2079
2080 * ido.el (ido-max-directory-size): Default to nil; the current
2081 default is small for POSIX systems, and impractical on Windows 7
2082 now that lstat returns directory sizes for NTFS.
2083
5938d519
MR
20842012-09-30 Martin Rudalics <rudalics@gmx.at>
2085
2086 In buffer display functions handle window-height/window-width
2087 alist entries. Suggested by Juri Linkov as fix for Bug#1806.
375e49d4
SM
2088 * window.el (window--display-buffer): New argument ALIST.
2089 Obey window-height and window-width alist entries.
2090 (window--try-to-split-window): New argument ALIST.
2091 Bind window-combination-limit to t when the window's size shall be
5938d519
MR
2092 changed and window-combination-limit equals `window-size'.
2093 (display-buffer-in-atom-window)
2094 (display-buffer-in-major-side-window)
2095 (display-buffer-in-side-window, display-buffer-same-window)
2096 (display-buffer-reuse-window, display-buffer-pop-up-frame)
2097 (display-buffer-pop-up-window, display-buffer-below-selected)
2098 (display-buffer-at-bottom, display-buffer-in-previous-window)
2099 (display-buffer-use-some-window): Adjust all callers of
2100 window--display-buffer and window--try-to-split-window.
2101 (fit-frame-to-buffer): New option.
2102 (fit-window-to-buffer): Can resize frames if fit-frame-to-buffer
2103 is non-nil.
2104 (display-buffer-in-major-side-window): Evaluate window-height /
2105 window-width alist entries.
2106
2107 * help.el (temp-buffer-resize-frames)
2108 (temp-buffer-resize-regexps): Remove options.
2109 (temp-buffer-resize-mode): Adjust doc-string.
2110 (resize-temp-buffer-window): Don't consult
2111 temp-buffer-resize-regexps. Use fit-frame-to-buffer instead of
2112 temp-buffer-resize-frames.
2113
375e49d4
SM
2114 * dired.el (dired-mark-pop-up):
2115 Call display-buffer-below-selected with a fit-window-to-buffer alist
5938d519
MR
2116 entry.
2117
c4c0c2df
CY
21182012-09-30 Chong Yidong <cyd@gnu.org>
2119
48de8b12
CY
2120 * server.el (server-host): Document the security implications.
2121 (server-auth-key): Doc fix.
2122
2123 * startup.el (initial-buffer-choice): Doc fix.
2124
2125 * minibuffer.el (minibuffer-local-filename-syntax): Doc fix.
2126
a97dc380
CY
2127 * simple.el (delete-trailing-whitespace): Avoid an unnecessary
2128 restriction change.
2129
d39d3c8e
CY
2130 * bindings.el (goto-map): Bind M-g TAB to move-to-column.
2131
c4c0c2df
CY
2132 * help-fns.el (help-fns--obsolete): Fix last change.
2133
98a5e33b
SM
21342012-09-30 Stefan Monnier <monnier@iro.umontreal.ca>
2135
34cf6f39
SM
2136 * winner.el (winner-mode-map): Obey winner-dont-bind-my-keys here.
2137 (minor-mode-map-alist): Remove redundant code.
2138
e01c13fe
SM
2139 * vc/pcvs.el (cvs-cleanup-collection): Keep entries that are currently
2140 visited in a buffer.
2141 (cvs-insert-visited-file): New function.
2142 (find-file-hook): Use it.
2143
2144 * vc/pcvs-info.el (cvs-fileinfo-pp): Don't use non-existent faces.
2145
02661b3a
SM
2146 * vc/log-edit.el (log-edit-font-lock-keywords): Ignore case to
2147 chose face.
2148 (log-edit-empty-buffer-p): Don't require a space after a header.
2149
43711d4b
SM
2150 * vc/ediff-util.el (ediff-diff-at-point): Don't assume point-min==1.
2151
38a30d64
SM
2152 * tutorial.el (help-with-tutorial): Use minibuffer-with-setup-hook.
2153
4ffb41a9
SM
2154 * textmodes/text-mode.el (paragraph-indent-minor-mode): Make it
2155 a proper minor-mode.
2156
98a5e33b
SM
2157 * textmodes/tex-mode.el (tex-mode-map): Don't bind paren keys.
2158
de82e29b
GM
21592012-09-29 Glenn Morris <rgm@gnu.org>
2160
5cc2e639
GM
2161 * winner.el (winner-mode): Remove variable (let define-minor-mode
2162 handle it).
2163 (winner-dont-bind-my-keys, winner-boring-buffers, winner-mode-hook):
2164 Doc fixes.
2165 (winner-mode-leave-hook): Rename to winner-mode-off-hook.
2166 (winner-mode): Use define-minor-mode.
2167
7bd302eb
GM
2168 * vc/vc-sccs.el (vc-sccs-registered): Use the progn trick to get
2169 the full definition in loaddefs, rather than duplicating it.
2170
2923922f 2171 * help-macro.el (three-step-help): No need to autoload defcustom.
ced08382 2172
0e3e4156
GM
2173 * progmodes/inf-lisp.el (inferior-lisp-filter-regexp)
2174 (inferior-lisp-program, inferior-lisp-load-command)
2175 (inferior-lisp-prompt, inferior-lisp-mode-hook):
2923922f 2176 No need to autoload defcustoms.
0e3e4156 2177
de82e29b
GM
2178 * hippie-exp.el (hippie-expand-try-functions-list)
2179 (hippie-expand-verbose, hippie-expand-dabbrev-skip-space)
2180 (hippie-expand-dabbrev-as-symbol, hippie-expand-no-restriction)
2181 (hippie-expand-max-buffers, hippie-expand-ignore-buffers)
2923922f 2182 (hippie-expand-only-buffers): No need to autoload defcustoms.
de82e29b
GM
2183 * progmodes/vhdl-mode.el (vhdl-line-expand):
2184 Explicitly load hippie-exp, so it does not get autoloaded
2185 while hippie-expand-try-functions-list is let-bound.
2186
e60b51ab
GM
21872012-09-28 Glenn Morris <rgm@gnu.org>
2188
277f0cfa
GM
2189 * emacs-lisp/cl.el (flet): Fix case of obsolescence message.
2190
e60b51ab
GM
2191 * emacs-lisp/bytecomp.el (byte-compile-cl-file-p):
2192 Only "cl.el" counts as cl these days.
2193
53baf48a
JL
21942012-09-28 Juri Linkov <juri@jurta.org>
2195
2196 Display archive errors in the echo area instead of inserting
2197 to the file buffer.
2198
2199 * arc-mode.el (archive-extract-by-stdout): Change arg STDERR-FILE
2200 to STDERR-TEST that can be a regexp matching a successful output.
2201 Create a temporary file and redirect stderr to it. Search for
2202 STDERR-TEST in the stderr output and display it in the echo area
2203 if no match is found.
2204 (archive-extract-by-file): New function like
2205 `archive-extract-by-stdout' but extracting archives to files
2206 and looking for successful matches in stdout. Function body is
2207 mostly copied from `archive-rar-extract'.
2208 (archive-rar-extract): Use `archive-extract-by-file'.
2209 (archive-7z-extract): Use `archive-extract-by-stdout'. (Bug#10347)
2210
9c1228c3
LL
22112012-09-28 Leo Liu <sdl.web@gmail.com>
2212
375e49d4
SM
2213 * pcomplete.el (pcomplete-show-completions):
2214 Use minibuffer-message to make pcomplete usable in minibuffer.
147c0425 2215
9c1228c3
LL
2216 * ido.el (ido-set-matches-1): Fix 2012-09-11 change.
2217
7f457c06
SM
22182012-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
2219
3df749b0
SM
2220 * type-break.el: Use lexical-binding.
2221 (type-break-mode): Use define-minor-mode.
2222
7f457c06
SM
2223 * emacs-lisp/pcase.el (pcase--mark-used): New.
2224 (pcase--u1): Use it (bug#12512).
2225
2226 * custom.el (load-theme): Set buffer-file-name so the load is recorded
2227 in load-history with the right file name.
2228
c00ebc98
TH
22292012-09-28 Tassilo Horn <tsdh@gnu.org>
2230
2231 * doc-view.el (doc-view-current-cache-doc-pdf): New function.
2232 (doc-view-doc->txt, doc-view-convert-current-doc): Use it.
2233 (doc-view-get-bounding-box): Make bounding box slicing work for
2234 ODF and DVI documents.
2235
96fb7170
GM
22362012-09-28 Glenn Morris <rgm@gnu.org>
2237
2238 * type-break.el (type-break-mode, type-break-interval)
2239 (type-break-good-rest-interval, type-break-keystroke-threshold):
2240 No need to autoload.
2241 (type-break-good-rest-interval, type-break-keystroke-threshold):
2242 Add :set-after.
2243
5bc93c67
CY
22442012-09-28 Chong Yidong <cyd@gnu.org>
2245
2246 * progmodes/verilog-mode.el (verilog-auto-inst-interfaced-ports):
2247 Add :version tag.
2248
9cad61d6
SM
22492012-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
2250
e28e67b3 2251 * json.el (json-encode-char): Codes 127-160 aren't "ASCII printable".
9cad61d6 2252
daee954c
GM
22532012-09-27 Glenn Morris <rgm@gnu.org>
2254
a88324d4
GM
2255 * faces.el (x-display-name): Declare (for without-x builds).
2256
8e5064e5
GM
2257 * linum.el (linum-format): Don't autoload it. Improve :type.
2258
cc1783c2
GM
2259 * progmodes/tcl.el: Don't require outline when compiling.
2260 (outline-regexp, outline-level): Declare.
1dddcf4c
GM
2261 * textmodes/sgml-mode.el: Don't require outline when compiling.
2262 (outline-regexp, outline-heading-end-regexp, outline-level): Declare.
2263
48c339f2
GM
2264 * term.el (term-ansi-reset):
2265 Try setting term-ansi-face-already-done to nil. (Bug#11785)
2266
daee954c
GM
2267 * vc/vc.el (vc-next-action): Only gripe about committing read-only
2268 files for RCS and SCCS. (Bug#9781)
2269
b7f42161
CY
22702012-09-27 Chong Yidong <cyd@gnu.org>
2271
2272 * progmodes/verilog-mode.el (verilog-mode-release-emacs): Fix last
2273 change; value should be t.
2274
a2e770db
SM
22752012-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
2276
83600dc8
SM
2277 * image-mode.el: Use lexical-binding.
2278 (image-mode-winprops): Use t to stand for the window of
2279 a buffer that's not displayed.
2280 * doc-view.el (doc-view-new-window-function): Handle the new
2281 t in winprops.
2282 (doc-view-enlarge): Make it a real nop if the size is not changed.
2283 (doc-view-display): Handle the case where the buffer is not (yet?)
2284 displayed in any window.
2285 (doc-view-saved-settings): New var.
2286 (doc-view-mode): Use it.
2287 (doc-view-fallback-mode): Set it.
2288
a2e770db
SM
2289 * minibuf-eldef.el: Make it possible to replace (default ...) with [...].
2290 Set lexical-binding.
2291 (minibuffer-eldef-shorten-default): New var.
2292 (minibuffer-default-in-prompt-regexps): Use it for new default.
2293 (minibuf-eldef-setup-minibuffer): Add replacement functionality.
2294
e3b60857
JB
22952012-09-26 Juanma Barranquero <lekktu@gmail.com>
2296
2297 * international/uni-bidi.el:
2298 * international/uni-category.el:
2299 * international/uni-name.el:
2300 * international/uni-numeric.el: Regenerate.
2301
3a880af4
SM
23022012-09-26 Tomohiro Matsuyama <tomo@cx4a.org>
2303 Stefan Monnier <monnier@iro.umontreal.ca>
2304
2305 * profiler.el: New file.
2306
07b1a5fb
SM
23072012-09-26 Stefan Monnier <monnier@iro.umontreal.ca>
2308
2309 * emacs-lisp/testcover.el (testcover-after): Add gv-expander.
2310 (testcover-reinstrument): Simplify with CSE.
2311
42019c2e
JB
23122012-09-26 Juanma Barranquero <lekktu@gmail.com>
2313
2314 * window.el (temp-buffer-window-setup): Fix typo in docstring.
2315
179f044b
WS
23162012-09-25 Wilson Snyder <wsnyder@wsnyder.org>
2317
2318 * verilog-mode.el (verilog-auto-ascii-enum, verilog-auto-inout)
2319 (verilog-auto-input, verilog-auto-insert-lisp)
2320 (verilog-auto-output, verilog-auto-output-every, verilog-auto-reg)
2321 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-undef)
2322 (verilog-auto-unused, verilog-auto-wire)
2323 (verilog-forward-or-insert-line): Fix AUTOs with no trailing
2324 newline. Reported by Andrew Jones.
2325 (verilog-auto-inst) Support expanding $clog2 in AUTOINST.
2326 Reported by Brad Dobbie.
07b1a5fb
SM
2327 (verilog-batch-delete-trailing-whitespace):
2328 Create verilog-batch-delete-trailing-whitespace.
2329 Reported by Brad Dobbie.
179f044b
WS
2330 (verilog-auto-inout-param): Support AUTOINOUTPARAM for copying
2331 parameters from another module. Reported by Dan Katz.
2332 (verilog-auto, verilog-auto-assign-modport)
2333 (verilog-auto-inout-modport): Add AUTOASSIGNMODPORT and
2334 AUTOINOUTMODPORT for UVM interface module shell generation.
2335 Reported by Brad Dobbie.
2336 (verilog-auto-inst-interfaced-ports): Make default nil, as more
2337 standard behavior.
2338 (verilog-auto): Fix AUTO parameters with parenthesis arguments.
2339 Reported by Matt Martin.
2340
9c52dd5a
MR
23412012-09-25 Martin Rudalics <rudalics@gmx.at>
2342
2343 * window.el (window--resize-child-windows): When resizing child
2344 windows proportionally, process them in reverse order to
2345 preserve the "when splitting a window the new one gets the odd
2346 line" behavior.
2347 (window--resize-root-window-vertically): When resizing the
2348 minibuffer window try to affect only windows at the bottom of the
2349 frame. (Bug#12419)
2350
863666eb
CY
23512012-09-25 Chong Yidong <cyd@gnu.org>
2352
2353 * subr.el (declare): Doc fix.
2354
2355 * help-fns.el (help-fns--obsolete): Handle macros properly.
2356
59f7af81
CY
23572012-09-25 Chong Yidong <cyd@gnu.org>
2358
2359 * bookmark.el (bookmark-jump-noselect): Use a declare form to mark
2360 this function obsolete.
2361
2362 * calendar/cal-x.el (calendar-two-frame-setup)
2363 (calendar-only-one-frame-setup, calendar-one-frame-setup):
2364 * calendar/calendar.el (american-calendar, european-calendar)
2365 (calendar-for-loop):
2366 * comint.el (comint-dynamic-simple-complete)
2367 (comint-dynamic-complete-as-filename, comint-unquote-filename):
2368 * desktop.el (desktop-load-default):
2369 * dired-x.el (dired-omit-here-always)
2370 (dired-hack-local-variables, dired-default-directory):
2371 * emacs-lisp/derived.el (derived-mode-class):
2372 * emacs-lisp/timer.el (timer-set-time-with-usecs):
2373 * emacs-lock.el (toggle-emacs-lock):
2374 * epa.el (epa-display-verify-result):
2375 * epg.el (epg-sign-keys, epg-start-sign-keys)
2376 (epg-passphrase-callback-function):
2377 * eshell/esh-util.el (eshell-for):
2378 * eshell/eshell.el (eshell-remove-from-window-buffer-names)
2379 (eshell-add-to-window-buffer-names):
2380 * files.el (locate-file-completion):
2381 * imenu.el (imenu-example--create-c-index)
2382 (imenu-example--create-lisp-index)
2383 (imenu-example--lisp-extract-index-name)
2384 (imenu-example--name-and-position):
2385 * international/mule-cmds.el (princ-list):
2386 * international/mule-diag.el (decode-codepage-char):
2387 * international/mule-util.el (detect-coding-with-priority):
2388 * iswitchb.el (iswitchb-read-buffer):
2389 * mail/mailalias.el (mail-complete):
2390 * mail/sendmail.el (mail-sent-via):
2391 * mouse.el (mouse-popup-menubar-stuff, mouse-popup-menubar)
2392 (mouse-major-mode-menu):
2393 * password-cache.el (password-read-and-add):
2394 * pcomplete.el (pcomplete-parse-comint-arguments):
2395 * progmodes/sh-script.el (sh-maybe-here-document):
2396 * replace.el (query-replace-regexp-eval):
2397 * savehist.el (savehist-load):
2398 * simple.el (choose-completion-delete-max-match):
2399 * term.el (term-dynamic-simple-complete):
2400 * vc/ediff-init.el (ediff-check-version):
2401 * vc/ediff-wind.el (ediff-choose-window-setup-function-automatically):
2402 * vc/vc.el (vc-diff-switches-list):
2403 * view.el (view-return-to-alist-update): Likewise.
2404
2405 * subr.el (eval-next-after-load, makehash, insert-string)
2406 (assoc-ignore-representation, assoc-ignore-case): Use declare to
2407 mark obsolete.
2408 (mode-line-inverse-video): Variable deleted.
2409
2410 * international/mule-util.el (string-to-sequence): Remove.
2411
2412 * calendar/calendar.el (calendar-version):
2413 * calendar/icalendar.el (icalendar-extract-ical-from-buffer)
2414 (icalendar-convert-diary-to-ical):
2415 * cus-edit.el (custom-mode):
2416 * ansi-color.el (ansi-color-unfontify-region):
2417 * international/latin1-disp.el (latin1-char-displayable-p):
2418 * progmodes/cwarn.el (turn-on-cwarn-mode):
07b1a5fb
SM
2419 * progmodes/which-func.el (which-func-update-1):
2420 Use define-obsolete-function-alias.
59f7af81
CY
2421
2422 * net/newst-backend.el (newsticker-cache-filename):
07b1a5fb
SM
2423 * net/newst-treeview.el (newsticker-groups-filename):
2424 Fix incorrect obsolescence declaration.
59f7af81
CY
2425
2426 * allout.el (allout-passphrase-hint-string): Likewise.
2427 (allout-init): Use a declare form to mark obsolete.
2428
2429 * emacs-lisp/byte-run.el (make-obsolete): Doc fix; emphasize that
2430 this applies to functions.
2431
2432 * iswitchb.el (iswitchb-read-buffer): Move code of
2433 iswitchb-define-mode-map here, and delete that obsolete function.
2434
2435 * net/snmp-mode.el (snmp-font-lock-keywords-3): Don't use obsolete
2436 font-lock-reference-face.
2437
cca96c97
GM
24382012-09-25 Glenn Morris <rgm@gnu.org>
2439
b06eeda8
GM
2440 * buff-menu.el (Buffer-menu-name-width, Buffer-menu-size-width):
2441 Doc fixes.
2442
cca96c97
GM
2443 * eshell/em-term.el (eshell-term-name):
2444 Default to term-term-name. (Bug#12485)
2445
dc4f818b
FEG
24462012-09-24 Fabián Ezequiel Gallina <fgallina@cuca>
2447
cca96c97
GM
2448 * progmodes/python.el (python-shell-send-buffer): Better handling
2449 of "if __name__ == '__main__':" conditionals when sending the buffer.
dc4f818b 2450
289c24bd
GM
24512012-09-24 Glenn Morris <rgm@gnu.org>
2452
2453 * eshell/esh-cmd.el (eshell-find-alias-function):
2454 Tighten up file-name regexp. (Bug#12499)
2455
8fb8b88f
FEG
24562012-09-24 Fabián Ezequiel Gallina <fgallina@cuca>
2457
2458 Enhancements for triple-quote string syntax.
2459 * progmodes/python.el (python-quote-syntax): Remove.
2460 (python-syntax-propertize-function): New value.
07b1a5fb
SM
2461 (python-syntax-count-quotes, python-syntax-stringify):
2462 New functions.
8fb8b88f 2463
6c27f0f8
CY
24642012-09-24 Chong Yidong <cyd@gnu.org>
2465
a5f2b6ec
CY
2466 * mail/supercite.el (sc-version): Remove obsolete function.
2467 (sc-describe): Don't mark as obsolete, since it is bound.
2468 (sc-submit-bug-report): Remove.
2469
2470 * vc/log-edit.el (cvs-changelog-full-paragraphs)
2471 (cvs-commit-buffer-require-final-newline): Remove.
0c765e5f
CY
2472 (log-edit-require-final-newline)
2473 (log-edit-changelog-full-paragraphs): Default to t.
a5f2b6ec
CY
2474
2475 * vc/pcvs-defs.el (cvs-diff-buffer-name, cvs-diff-ignore-marks)
2476 * vc/vc-hooks.el (vc-ignore-vc-files, vc-master-templates)
2477 * vc/vc.el (vc-checkout-carefully): Likewise.
2478
2479 * vc/emerge.el (emerge-mode): Make it an obsolete alias.
2480 (emerge-version): Remove.
2481
2482 * progmodes/compile.el (compile-internal): Remove.
2483 (compilation-parse-errors-function): Fix typo.
2484
2485 * international/mule.el (set-char-table-default): Remove.
2486 (set-coding-priority, make-coding-system, generic-char-p)
2487 (charset-list, charset-bytes, charset-id): Use declare to mark
2488 functions as obsolete.
2489
2490 * vc/pcvs-defs.el (cvs-buffer-name-alist)
2491 (cvs-invert-ignore-marks): Remove references to obsolete vars.
2492 * vc/vc-hooks.el (vc-default-registered): Don't use
2493 vc-master-templates.
2494
07b1a5fb
SM
2495 * font-lock.el (font-lock-reference-face):
2496 Use define-obsolete-variable-alias.
6c27f0f8
CY
2497
2498 * generic-x.el (rul-generic-mode): Use font-lock-constant-face.
2499 * calendar/calendar.el (calendar-font-lock-keywords):
2500 * calendar/diary-lib.el (diary-font-lock-keywords)
2501 (diary-fancy-font-lock-keywords):
2502 * textmodes/reftex-sel.el (reftex-insert-docstruct):
2503 * textmodes/reftex-index.el (reftex-insert-index):
2504 * textmodes/reftex-cite.el (reftex-format-bib-entry):
2505 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
2506 * progmodes/ps-mode.el (ps-mode-font-lock-keywords-1):
2507 * progmodes/prolog.el (prolog-font-lock-keywords):
2508 * progmodes/idlwave.el (idlwave-idl-keywords):
2509 * progmodes/ada-mode.el (ada-font-lock-keywords):
2510 * net/snmp-mode.el (snmp-font-lock-keywords-3): Likewise.
2511
bcc0adbf
GM
25122012-09-24 Glenn Morris <rgm@gnu.org>
2513
2514 * mail/emacsbug.el (report-emacs-bug): Include `lsb_release -d'.
2515
095bb823
FEG
25162012-09-23 Fabián Ezequiel Gallina <fgallina@cuca>
2517
2518 * progmodes/python.el (python-indent-line): More consistent cursor
2519 movement behavior.
2520
70efc5c9
SM
25212012-09-23 Stefan Merten <smerten@oekonux.de>
2522
2523 * textmodes/rst.el: Fix compiler warning.
2524
2f438239
RW
25252012-09-23 Roland Winkler <winkler@gnu.org>
2526
07b1a5fb
SM
2527 * textmodes/bibtex.el (bibtex-autokey-transcriptions):
2528 Transcribe also LaTeX hyphenation.
2f438239
RW
2529 (bibtex-reformat): Bug fix. Do not quote twice the elements of
2530 bibtex-reformat-previous-options.
2531
936ad041
RW
25322012-09-23 Roland Winkler <winkler@gnu.org>
2533
2534 * proced.el (proced-renice-command): New variable.
2535 (proced-marked-processes): New function.
2536 (proced-with-processes-buffer): New macro.
2537 (proced-send-signal): Use them.
2538 (proced-renice): New command bound to r.
2539
6fab0274
RW
25402012-09-23 Roland Winkler <winkler@gnu.org>
2541
2542 * ibuf-ext.el (ibuffer-switch-to-saved-filter-groups): If list
2543 ibuffer-saved-filter-groups has one element, shortcut the call of
2544 completing-read. (Bug#12331)
2545
9a930676
CY
25462012-09-23 Chong Yidong <cyd@gnu.org>
2547
2548 * bindings.el (mode-line-toggle-read-only):
2549 * bs.el (bs-toggle-readonly):
2550 * buff-menu.el (Buffer-menu-toggle-read-only):
2551 * dired.el (dired-toggle-read-only):
2552 * ibuffer.el (ibuffer-do-toggle-read-only): Use read-only-mode.
2553
d07ff9db
CY
25542012-09-23 Chong Yidong <cyd@gnu.org>
2555
2556 * image.el (image-type-available-p): Adapt to init-image-library
2557 argument changes.
2558
51c4474e
JL
25592012-09-22 Juri Linkov <juri@jurta.org>
2560
2561 * dired.el (dired-mode-map): Add [remap read-only-mode] for
2562 `dired-toggle-read-only'. (Bug#12462)
2563
43bf5e8e
MR
25642012-09-22 Martin Rudalics <rudalics@gmx.at>
2565
2566 * subr.el (temp-output-buffer-show): New function.
2567 (with-output-to-temp-buffer): Call temp-output-buffer-show
2568 instead of internal-temp-output-buffer-show.
2569
c88b867f
CY
25702012-09-22 Chong Yidong <cyd@gnu.org>
2571
3df47cd5
CY
2572 * files.el (ctl-x-map): Bind C-x C-q to read-only-mode
2573 (Bug#12462).
2574
c88b867f
CY
2575 * repeat.el (repeat): Doc fix (Bug#12348).
2576
2577 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix
2578 (Bug#10909).
2579
2580 * simple.el (shell-command-on-region): Doc fix.
3171e303 2581 (read-only-mode): Doc fix.
c88b867f 2582
df9685f3
EZ
25832012-09-22 Eli Zaretskii <eliz@gnu.org>
2584
2585 * emacs-lisp/timer.el (run-with-idle-timer)
2586 (timer-activate-when-idle): Warn against reinvoking an idle timer
2587 from within its own timer action. (Bug#12447)
2588
8e17c9ba
MR
25892012-09-22 Martin Rudalics <rudalics@gmx.at>
2590
2591 * cus-start.el (window-combination-limit): Add new optional
2592 values.
2593 * window.el (temp-buffer-window-show)
2594 (window--try-to-split-window): Handle new values of
2595 window-combination-limit (Bug#1806).
2596 (split-window): Test window-combination-limit for t instead of
2597 non-nil.
2598 (display-buffer-at-bottom): New buffer display action function.
2599 * help.el (temp-buffer-resize-regexps): New option.
2600 (temp-buffer-resize-mode): Rewrite doc-string.
2601 (resize-temp-buffer-window): Obey temp-buffer-resize-regexps.
bd909927 2602 Don't resize reused window. Suggested by Glenn Morris.
8e17c9ba 2603
48a24920
SM
26042012-09-22 Stefan Merten <smerten@oekonux.de>
2605
70efc5c9 2606 * textmodes/rst.el: Revamp section title faces.
48a24920
SM
2607 (rst-official-version)
2608 (rst-package-emacs-version-alist): Sync with official version
2609 V1.4.0.
2610 (rst-faces-defaults, rst-set-level-default)
2611 (rst-level-face-max, rst-level-face-base-color)
2612 (rst-level-face-base-light, rst-level-face-format-light)
2613 (rst-level-face-step-light, rst-define-level-faces): Obsolete.
2614 (rst-adornment-faces-alist): Match new setup.
2615 (rst-level-1, rst-level-2, rst-level-3, rst-level-4)
2616 (rst-level-5, rst-level-6): New faces.
2617
82f8cd94
CY
26182012-09-22 Chong Yidong <cyd@gnu.org>
2619
2620 * simple.el (undo): Handle indirect buffers (Bug#8207).
2621
acfa068f 26222012-09-21 Leo Liu <sdl.web@gmail.com>
a8c14da8
LL
2623
2624 IDO: Disable match re-ordering for buffer switching.
2bc9406c 2625 * ido.el (ido-buffer-disable-smart-matches): New variable.
a8c14da8
LL
2626 (ido-set-matches-1): Use it. (Bug#2042)
2627
acfa068f 26282012-09-21 Jose Marino <marinoj@nso.edu> (tiny change)
a316d229
JM
2629
2630 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
2631 Fix 2011-05-17 change. (Bug#12418)
2632
acfa068f 26332012-09-21 Leo Liu <sdl.web@gmail.com>
d02e58f8
LL
2634
2635 * subr.el (ignore-errors): Mention with-demoted-errors in doc-string.
2636
acfa068f 26372012-09-21 Glenn Morris <rgm@gnu.org>
511fd0b2
GM
2638
2639 * emacs-lisp/shadow.el (load-path-shadows-font-lock-keywords):
2640 Be more robust about locating simple.el.
2641
acfa068f 26422012-09-21 Glenn Morris <rgm@gnu.org>
fa05bfe0
GM
2643
2644 * mail/emacsbug.el (report-emacs-bug): Trap load-path-shadows errors.
2645
acfa068f
CY
26462012-09-21 Joel Bion <jpbion@westvi.com> (tiny change)
2647
2648 * pcmpl-gnu.el (pcmpl-gnu-tarfile-regexp): Add tar.xz. (Bug#12382)
2649
41a97e6f
JL
26502012-09-20 Juri Linkov <juri@jurta.org>
2651
eb2deaff
JL
2652 * replace.el (query-replace-read-from): Use `read-regexp' instead
2653 of `read-from-minibuffer' when `regexp-flag' is non-nil.
2654 (occur-read-primary-args): Use `read-regexp' instead of
2655 `read-string'.
2656 (multi-occur-in-matching-buffers): Use `read-regexp' instead of
2657 `read-from-minibuffer'.
2658 * isearch.el (isearch-occur): Use `read-regexp' instead of
2659 `read-string'.
2660 * dired.el (dired-read-regexp): Use `read-regexp' instead of
2661 `read-from-minibuffer'.
2662 * progmodes/grep.el (grep-read-regexp): Use `read-regexp' instead
2663 of `read-string'. (Bug#7567)
2664
5825610b
JL
2665 * replace.el (read-regexp): Rename DEFAULT-VALUE arg to DEFAULTS
2666 and allow accepting a list of strings prepended to a list of
2667 standard default values. Doc fix. (Bug#12321)
2668
eebbf404
JL
2669 * replace.el (read-regexp): Add HISTORY arg. (Bug#7567)
2670
41a97e6f
JL
2671 * replace.el (read-regexp): Don't add ": " when PROMPT already
2672 ends with a colon and space. (Bug#12321)
2673
c9e452d3
TH
26742012-09-20 Tassilo Horn <tsdh@gnu.org>
2675
2676 * doc-view.el (doc-view-display): Better fix for the cl-assertion
2677 error.
2678
ee97deee
SM
26792012-09-20 Stefan Merten <smerten@oekonux.de>
2680
70efc5c9 2681 * textmodes/rst.el: Integrate support for `imenu' and `which-function'.
ee97deee
SM
2682 Fixes feature request bug#11711.
2683 (rst-mode): Create `imenu-create-index-function'.
2684 (rst-get-stripped-line): Delete after refactoring.
2685 (rst-section-tree, rst-section-tree-rec)
2686 (rst-section-tree-point): Refactor and document properly.
2687 (rst-imenu-find-adornments-for-position)
07b1a5fb
SM
2688 (rst-imenu-convert-cell, rst-imenu-create-index):
2689 New function.
ee97deee 2690
f490dab9
SM
26912012-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
2692
95b9712e
SM
2693 * emacs-lisp/macroexp.el (macroexp--obsolete-warning): New function.
2694 (macroexp--expand-all): Use it.
2695 (macroexp--funcall-and-return): Remove by folding it into its sole
2696 caller (macroexp--warn-and-return).
2697 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete):
2698 Use macroexp--obsolete-warning.
2699
f490dab9
SM
2700 * calc/calc.el: Fix last change by removing the whole chunk, since it
2701 was only needed back when Calc was not bundled.
2702
96e8d411
MR
27032012-09-20 Martin Rudalics <rudalics@gmx.at>
2704
2705 * emacs-lisp/debug.el (debug): Restore assignment to
2706 debugger-old-buffer removed on 2012-09-08.
2707
0876a82d
JL
27082012-09-20 Juri Linkov <juri@jurta.org>
2709
2710 * dired-aux.el (dired-diff): Remove (require 'diff) since
2711 `diff-latest-backup-file' is now autoloaded.
2712
9f7c28f0
CY
27132012-09-20 Chong Yidong <cyd@gnu.org>
2714
2715 * vc/diff.el (diff-latest-backup-file): Autoload.
2716
7a04bee9
SM
27172012-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
2718
e6f0a80d
SM
2719 * calc/calc.el: Remove redundant autoload shape check.
2720 (sel-mode): Don't defvar.
2721 (calc-get-stack-element): Add `sel-mode' arg instead.
2722 (calc-top, calc-top-list): Pass it this additional argument.
2723 * calc/calc-store.el (calc-store-map):
2724 * calc/calc-map.el (calc-apply, calc-reduce, calc-map)
2725 (calc-map-equation, calc-outer-product, calc-inner-product):
2726 * calc/calc-aent.el (calc-alg-entry): Don't bind sel-mode.
2727
7a04bee9
SM
2728 * emacs-lisp/macroexp.el (macroexp--expand-all): Fix last change.
2729
12734222
JL
27302012-09-19 Juri Linkov <juri@jurta.org>
2731
2732 * dired-aux.el (dired-diff): Add (require 'diff) because
2733 `diff-latest-backup-file' is not autoloaded.
2734 (dired-do-chxxx, dired-do-chmod): Set `no-error-if-not-filep' arg
2735 of `dired-get-filename' to t to not report error when there is
2736 no default file on the current line.
2737
46624b4f
SM
27382012-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
2739
ce97595b
SM
2740 * emacs-lisp/macroexp.el (macroexp--funcall-if-compiled): Rename from
2741 macroexp--eval-if-compile.
2742 (macroexp--funcall-and-return, macroexp--warn-and-return): New funs.
2743 (macroexp--expand-all): Use them (bug#12371).
2744
46624b4f
SM
2745 * doc-view.el (doc-view-guess-paper-size)
2746 (doc-view-scale-bounding-box): Fix unbound `caddr'.
2747
db8a5a18
TH
27482012-09-19 Tassilo Horn <tsdh@gnu.org>
2749
2750 New feature: set optimal slice from BoundingBox information.
2751 * doc-view.el (doc-view-mode-map): Add keybinding.
2752 (doc-view-menu): Add menu entry.
2753 (doc-view-set-slice): Adapt docstring.
2754 (doc-view-get-bounding-box, doc-view-guess-paper-size)
2755 (doc-view-scale-bounding-box)
2756 (doc-view-set-slice-from-bounding-box): New functions.
2757 (doc-view-paper-sizes): New defvar.
2758
69f6644c
GM
27592012-09-19 Glenn Morris <rgm@gnu.org>
2760
35f5b19d
GM
2761 * emacs-lisp/macroexp.el (byte-compile-warn-obsolete)
2762 (byte-compile-log-warning): Autoload. (Bug#12371)
2763
69f6644c
GM
2764 * calendar/calendar.el (calendar-american-month-header)
2765 (calendar-european-month-header, calendar-iso-month-header)
2766 (calendar-month-header): New options.
2767 (calendar-set-date-style): Set calendar-month-header. Redraw calendar.
2768 (calendar-generate-month): Use calendar-month-header. (Bug#9510)
2769
e543ae91
JD
27702012-09-19 Jan Djärv <jan.h.d@swipnet.se>
2771
2772 * startup.el (command-line-ns-option-alist): Add -g and --geometry.
2773
2fd5e67d
JL
27742012-09-18 Juri Linkov <juri@jurta.org>
2775
2776 * dired-aux.el (dired-diff): Restore original functionality of
2777 getting the default value, but keep new feature of using the
2778 latest existing backup file (`diff-latest-backup-file').
2779
42917e79
JL
27802012-09-18 Juri Linkov <juri@jurta.org>
2781
2782 * dired.el (dired-mark): If the region is active in Transient Mark
2783 mode, mark all files in the active region. Doc fix.
2784 (dired-unmark, dired-flag-file-deletion, dired-unmark-backward):
2785 Doc fix. (Bug#10624)
2786
20f70ede
JL
27872012-09-18 Juri Linkov <juri@jurta.org>
2788
2789 * dired-aux.el (dired-do-chxxx, dired-do-chmod): Default file
2790 attributes for M-n are pulled from the file at point.
2791 (dired-do-chgrp, dired-do-chown, dired-do-touch): Doc fix.
2792 Suggested by Drew Adams. (Bug#10624)
2793
32fb8162
DG
27942012-09-18 Dmitry Gutov <dgutov@yandex.ru>
2795
2796 * progmodes/ruby-mode.el (ruby-brace-to-do-end): Don't add extra
2797 whitespace after "end".
2798 (ruby-do-end-to-brace): Collapse block to one line if it fits
2799 within fill-column.
2800
37ab5092
MR
28012012-09-18 Martin Rudalics <rudalics@gmx.at>
2802
2803 * emacs-lisp/debug.el (debugger-bury-or-kill): Fix customization
2804 value.
2805 (debug): Don't remove debugger window when debugger is expected
2806 to be back.
2807
ed1f0bd3
CY
28082012-09-18 Chong Yidong <cyd@gnu.org>
2809
2810 * custom.el (defface): Doc fix.
2811
2812 * cus-edit.el (custom-unlispify-remove-prefixes): Add warning.
2813
a11035b8
MB
28142012-09-18 Martin Blais <blais@furius.ca> (tiny change)
2815
2816 * progmodes/compile.el (compilation-start): Use compilation-always-kill
2817 to initialize query-on-exit; then test that instead (bug#12288).
2818
64f6a736
SM
28192012-09-17 Stefan Merten <smerten@oekonux.de>
2820
70efc5c9 2821 * textmodes/rst.el: Add support for `testcover'.
64f6a736
SM
2822 (rst-defcustom-testcover, rst-testcover-add-compose)
2823 (rst-testcover-add-1value): New functions.
2824 (rst-portable-mark-active-p): Replace by `use-region-p'.
2825 (rst-update-section, rst-classify-adornment)
2826 (rst-find-title-line): Mark `1value' forms.
2827 (rst-classify-adornment): Remove superfluous form.
2828 (rst-update-section, rst-get-adornments-around)
2829 (rst-adornment-complete-p, rst-get-next-adornment)
2830 (rst-adjust, rst-promote-region)
2831 (rst-display-adornments-hierarchy, rst-straighten-adornments)
2832 (rst-find-pfx-in-region, rst-section-tree-rec)
2833 (rst-section-tree-point, rst-toc-insert, rst-toc-insert-node)
2834 (rst-toc-node, rst-toc, rst-forward-section)
2835 (rst-iterate-leftmost-paragraphs)
2836 (rst-iterate-leftmost-paragraphs-2, rst-enumerate-region)
2837 (rst-bullet-list-region)
2838 (rst-convert-bullets-to-enumeration, rst-font-lock-keywords)
2839 (rst-compile-find-conf, rst-compile)
2840 (rst-repeat-last-character): Fix style.
2841
580bd868
CY
28422012-09-17 Chong Yidong <cyd@gnu.org>
2843
2844 * comint.el (comint--complete-file-name-data): Don't add a space
2845 if the status is `sole'; that adds a gratuitous space in the
2846 completion-cycling case (Bug#12092).
2847
2848 * pcomplete.el (pcomplete-completions-at-point): Likewise.
2849
69de3ec6
RS
28502012-09-17 Richard Stallman <rms@gnu.org>
2851
0dee970c
RS
2852 * mail/rmailmm.el (rmail-mime-toggle-raw): Do rmail-mime-insert
2853 only in the mime-shown mode, not in raw mode.
2854 (rmail-mime): Toggle off mime by displaying the message without
6b250df6 2855 mime processing. (Bug#12305)
0dee970c 2856
6b250df6
GM
2857 * mail/rmail.el (rmail-retry-failure):
2858 Turn off mime processing first. (Bug#12037)
acb1c47b 2859
69de3ec6
RS
2860 * epa-mail.el (epa-mail-encrypt): Fix bug when a name has no key.
2861
d079ee5f
CY
28622012-09-17 Chong Yidong <cyd@gnu.org>
2863
2864 * shell.el (shell-file-name-chars, shell-file-name-quote-list)
2865 (shell-dynamic-complete-functions): Convert to defcustom.
2866 (shell-prompt-pattern, shell-completion-fignore): Doc fix.
2867
865fe16f
CY
2868 * bookmark.el (bookmark-bmenu-toggle-filenames): Doc fixes.
2869 * comint.el (comint-prompt-read-only):
2870 * custom.el (defcustom):
2871 * hi-lock.el (hi-lock-mode):
2872 * ibuffer.el (ibuffer-formats):
2873 * ielm.el (ielm-prompt-read-only):
2874 * novice.el (disable-command):
2875 * saveplace.el (toggle-save-place):
2876 * speedbar.el (speedbar-supported-extension-expressions):
2877 * startup.el (auto-save-list-file-prefix, init-file-user)
2878 (after-init-hook, inhibit-startup-echo-area-message):
2879 * strokes.el (strokes-help):
2880 * time-stamp.el (time-stamp):
2881 * calendar/calendar.el (calendar, diary-file):
2882 * calendar/diary-lib.el (diary-mail-entries, diary)
2883 (diary-list-entries-hook):
2884 * calendar/holidays.el (holidays, calendar-holidays):
2885 * calendar/lunar.el (lunar-phases):
2886 * calendar/solar.el (sunrise-sunset):
2887 * emulation/edt.el (edt-load-keys):
2888 * emulation/viper.el (viper-mode):
2889 * eshell/em-alias.el (eshell-command-aliases-list):
2890 * eshell/esh-util.el (eshell-convert-numeric-arguments):
2891 * international/ogonek.el (ogonek-information):
2892 * net/tramp-cmds.el (tramp-bug):
2893 * net/quickurl.el (quickurl-reread-hook-postfix):
2894 * play/decipher.el (decipher-font-lock-keywords):
2895 * progmodes/cc-styles.el (c-set-style):
2896 * progmodes/idlw-shell.el (idlwave-shell-prompt-pattern):
2897 * progmodes/inf-lisp.el (inferior-lisp-prompt):
2898 * progmodes/octave-mod.el (octave-mode):
2899 * progmodes/sql.el (sql-mode, sql-interactive-mode, sql-password):
2900 * progmodes/verilog-mode.el (verilog-read-defines):
2901 * textmodes/two-column.el (2C-mode): Likewise.
2902
48093eb9
KY
29032012-09-16 Katsumi Yamaoka <yamaoka@jpl.org>
2904
2905 * mail/mailabbrev.el (mail-abbrev-expand-hook): Work for a mail aliasee
2906 that holds many addresses.
2907
c584eaf9
CY
29082012-09-16 Chong Yidong <cyd@gnu.org>
2909
40d70ecb
CY
2910 * align.el (align-areas): Call the indication function with
2911 positions instead of markers for arguments (Bug#12343).
2912
1667e065
CY
2913 * files.el (parse-colon-path): Use split-string (Bug#12351).
2914
fdc2806d 2915 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
71ce58e7 2916 (display-buffer-function): Mark as obsolete.
fdc2806d 2917
f1be615c 2918 * progmodes/compile.el (compilation-parse-errors): Accept list
ce97595b
SM
2919 values similar to font-lock-keywords (Bug#12136).
2920 Suggested by Oleksandr Manzyuk.
c584eaf9
CY
2921 (compilation-error-regexp-alist): Doc fix.
2922
f40a9709
GM
29232012-09-15 Glenn Morris <rgm@gnu.org>
2924
72aa16e1
GM
2925 * version.el (emacs-bzr-version-bzr): New function.
2926 (emacs-bzr-get-version): Add optional EXTERNAL argument.
2927
82375160
GM
2928 * vc/vc-bzr.el (vc-bzr-working-revision): For lightweight local
2929 checkouts, check the parent dirstate matches the branch.
2930 Add "--tree" to "bzr revno" arguments. Don't try to shorten the
2931 empty string.
2932
f40a9709
GM
2933 * version.el (emacs-bzr-version): Doc fix.
2934 (emacs-bzr-version-dirstate): New function.
2935 (emacs-bzr-get-version): For lightweight checkouts, if the parent
2936 is local try and check that it matches the branch. If not, just
2937 use dirstate information. (Bug#12441)
2938
cb26b7f5
JL
29392012-09-14 Juri Linkov <juri@jurta.org>
2940
2941 * dired-aux.el (dired-do-chmod): Use `eq' to detect empty input.
2942 (Bug#12399)
2943
2de39f08
SM
29442012-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
2945
0fb3cb7c
SM
2946 * emacs-lisp/advice.el (ad-prognify): Remove, use macroexp-progn.
2947
2de39f08
SM
2948 * emacs-lisp/edebug.el: Miscellaneous cleanup.
2949 Remove obsolete byte-compiler hack that tried to silence some warnings.
2950 (edebug-submit-bug-report): Remove.
2951 (edebug-get-buffer-window, edebug-sit-for, edebug-input-pending-p):
2952 Remove aliases, use the un-prefixed name instead.
2953 (edebug-pop-to-buffer): Consider other frames.
2954 (edebug-original-read):: Make it more obvious that it's always defined.
2955 (edebug--make-form-data-entry, edebug--form-data-name)
2956 (edebug--form-data-begin, edebug--form-data-end): Rename from the
2957 single-dashed name, and implement with cl-defstruct.
2958 (edebug-set-form-data-entry): Use the standard accessors.
2959 (edebug-make-top-form-data-entry): Use push.
2960 (edebug-no-match): Drop useless `funcall'.
2961 (mapcar, mapconcat, mapatoms, apply, funcall): Don't add debug specs
2962 to functions.
2963 (defsubst, dont-compile, eval-when-compile, eval-and-compile)
2964 (delay-mode-hooks, with-temp-file, with-temp-message, ad-dolist)
2965 (with-syntax-table, push, pop, 1value, noreturn, defadvice)
2966 (easy-menu-define, with-custom-print): Remove redundant specs.
2967 (edebug-outside-overriding-local-map)
2968 (edebug-outside-overriding-terminal-local-map): Remove, unused.
2969 (edebug--display): Bind unread-command-events directly to nil rather
2970 than binding it to unread-command-events and later setting it to nil.
2971 (edebug--display): Kill edebug-eval-buffer here...
2972 (edebug--recursive-edit): ...rather than here.
2973 Bind standard-output and standard-input.
2974 (edebug-eval): Check cl-macroexpand-all is fboundp.
2975 (edebug-temp-display-freq-count): Fix last change.
2976
2977 * emacs-lisp/easymenu.el (easy-menu-define): Add `debug' spec.
2978 * subr.el (noreturn, 1value): Add `debug' spec.
2979 * emacs-lisp/advice.el: Require cl-lib.
2980 (ad-copy-tree): Remove, use copy-tree instead.
2981 (ad-dolist): Remove use dolist or cl-dolist instead.
2982 (ad-do-return): Remove, use cl-return instead.
2983 (defadvice): Add `debug' spec.
2984
5b68b333
JL
29852012-09-13 Juri Linkov <juri@jurta.org>
2986
2987 * dired-aux.el (dired-do-chxxx): Use `eq' to detect empty input.
2988 (Bug#12399)
2989
b9800ec4
GM
29902012-09-13 Glenn Morris <rgm@gnu.org>
2991
6a2e6868
GM
2992 * calc/calc.el (math-compose-expr):
2993 * calc/calc-ext.el (math-compose-expr):
2994 * progmodes/cc-defs.el (cl-macroexpand-all):
2995 * progmodes/cc-langs.el (delete-duplicates, mapcan)
2996 (cl-macroexpand-all): Update declarations.
2997
b9800ec4
GM
2998 * vc/vc.el: No need to require ediff.
2999 (ediff-load-version-control): Declare.
3000 (ediff-vc-internal): Fix declaration.
3001 (vc-version-ediff): Require ediff.
3002
c18e885b
PE
30032012-09-13 Paul Eggert <eggert@cs.ucla.edu>
3004
3005 Use a more backwards-compatible timer format (Bug#12430).
3006 * emacs-lisp/timer.el (timer): PSECS is now at the end, rather than
3007 being right after USECS, as that better supports old code that
3008 inadvisedly looked directly at the timer vector.
3009
d607d303
KH
30102012-09-13 Kenichi Handa <handa@gnu.org>
3011
3012 * language/chinese.el ("Chinese-GB", "Chinese-BIG5")
3013 ("Chinese-CNS", "Chinese-EUC-TW"): Add chinese-gbk to
3014 `coding-priority' property of these language environment.
3015
72eac303
PE
30162012-09-13 Paul Eggert <eggert@cs.ucla.edu>
3017
3018 Fix glitches caused by addition of psec to timers (Bug#12430).
3019 * image.el (image-animate-timer):
3020 * time.el (display-time-world-timer):
3021 Use timer--function and timer--args rather than raw access to
3022 timer vector.
3023
2168fe4f
GM
30242012-09-13 Glenn Morris <rgm@gnu.org>
3025
3026 * emacs-lisp/bytecomp.el (byte-compile-warning-prefix):
3027 If not compiling a file, try using load-file-name.
3028
bd8d6108
SM
30292012-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
3030
c0c54fbd
SM
3031 * emacs-lisp/edebug.el (edebug-outside-unread-command-events):
3032 Fix last change.
3033 (edebug-update-eval-list): Use `push'.
3034
bd8d6108
SM
3035 * emacs-lisp/edebug.el: Use lexical-binding.
3036 Remove the "edebug-" prefix from non-dynamically-scoped variables.
3037 Mark unused args with underscore.
3038 (edebug-save-restriction, edebug-outside-excursion): Use `declare'.
3039 (edebug-form-data): Use defvar-local.
3040 (edebug-make-before-and-after-form, edebug-make-after-form):
3041 Use backquote.
3042 (edebug-args, edebug-value, edebug-after-index, edebug-arg-mode):
3043 Not dynamically scoped any more.
3044 (edebug--enter-trace): Add arguments `function' and `args'.
3045 Rename from edebug-enter-trace.
3046 (edebug-enter): Call it accordingly. Bind edebug-function explicitly.
3047 (edebug--update-coverage): Add `after-index' and `value' args.
3048 Rename from edebug-update-coverage.
3049 (edebug-slow-after): Call it accordingly.
3050 (edebug--recursive-edit): Add arg `arg-mode'. Rename from
3051 edebug-recursive-edit.
3052 (edebug--display): Call it accordingly. Add args `value',
3053 `offset-index', and `arg-mode'. Rename from edebug-display.
3054 (edebug-debugger, edebug): Call it accordingly.
3055 (edebug-eval-display-list): Use dolist.
3056
a9f9d9de
JL
30572012-09-12 Juri Linkov <juri@jurta.org>
3058
3059 * info.el (Info-search): Don't check for isearch-mode and
3060 isearch-regexp before let-binding search-spaces-regexp to
3061 Info-search-whitespace-regexp.
3062 (Info-isearch-search): Let-bind Info-search-whitespace-regexp to
3063 search-whitespace-regexp if isearch-lax-whitespace or
3064 isearch-regexp-lax-whitespace is non-nil.
3065 (Info-mode): Don't set local variable search-whitespace-regexp.
3066 http://lists.gnu.org/archive/html/emacs-devel/2012-08/msg00811.html
3067
bfeae2cf
SM
30682012-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
3069
3070 * emacs-lisp/debug.el (debugger-outer-unread-command-char, debug)
3071 (debugger-env-macro): Remove support for unread-command-char.
3072
3073 * subr.el (set-temporary-overlay-map): Minimize slightly the impact of
3074 the temporary map re-appearing on emulation-mode-map-alists.
3075
3076 * emacs-lisp/edebug.el (def-edebug-form-spec): Remove, it's been broken
3077 since 22.1.
3078
3079 * ehelp.el (with-electric-help): Accept functions in
3080 electric-help-form-to-execute.
3081 (electric-help-execute-extended, electric-help-ctrl-x-prefix): Use it.
3082 And replace unread-command-char -> unread-command-events.
3083
fbbcaf1b
MA
30842012-09-12 Michael Albinus <michael.albinus@gmx.de>
3085
3086 Sync with Tramp 2.2.6.
3087
3088 * net/tramp.el (tramp-accept-process-output): Don't use
3089 JUST-THIS-ONE in the XEmacs case.
3090
3091 * net/trampver.el: Update release number.
3092
4dece104
MR
30932012-09-12 Martin Rudalics <rudalics@gmx.at>
3094
bfeae2cf
SM
3095 * emacs-lisp/debug.el (debugger-previous-window-height):
3096 New variable.
4dece104
MR
3097 (debug): When debugger-jumping-flag is non-nil try to restore
3098 height of debugger window. (Bug#8789)
3099
45b82ad0
SM
31002012-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
3101
60c49c0f
SM
3102 * emacs-lisp/edebug.el (edebug-enter): Don't mess with
3103 overriding-local-map and pre/post-command-hook here.
3104 (edebug-recursive-edit): Do it here instead (bug#12345).
3105 (edebug-outside-unread-command-char): Remove all uses of
3106 unread-command-char.
3107
45b82ad0
SM
3108 * emacs-lisp/debug.el (debug): Don't bind debug-on-error since
3109 inhibit-debugger is bound instead.
3110
baa26ea0
BG
31112012-09-11 Bastien Guerry <bzg@gnu.org>
3112
3113 * subr.el (set-temporary-overlay-map): Add a docstring.
fc0c31f8 3114 (Bug#12346)
baa26ea0 3115
04e8abfa
BG
31162012-09-11 Bastien Guerry <bzg@gnu.org>
3117
96d03571 3118 * minibuffer.el (completion-table-subvert): Fix docstring.
fc0c31f8 3119 (Bug#12347)
96d03571
BG
3120
31212012-09-11 Bastien Guerry <bzg@gnu.org>
3122
fc0c31f8 3123 * help-fns.el (describe-variable): Fix typo. (Bug#12346)
04e8abfa 3124
04e082b0
MM
31252012-09-10 Michael R. Mauger <mmaug@yahoo.com>
3126
3127 * progmodes/sql.el: Version 3.1
3128 (sql-db2-escape-newlines): New variable.
3129 (sql-escape-newlines-filter): Use it.
3130
399a361b
JB
31312012-09-10 Juanma Barranquero <lekktu@gmail.com>
3132
3133 * custom.el (custom-theme-load-confirm): Remove unneeded assignment.
3134
0780c517
DN
31352012-09-10 Dan Nicolaescu <dann@gnu.org>
3136
45b82ad0
SM
3137 * vc/diff-mode.el (diff-mode-menu):
3138 Bind diff-remove-trailing-whitespace.
0780c517 3139
9b851e25
SM
31402012-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
3141
3142 * emacs-lisp/lisp-mode.el (emacs-list-byte-code-comment-re): New var.
fc0c31f8
JB
3143 (emacs-lisp-byte-code-comment, emacs-lisp-byte-code-syntax-propertize)
3144 (emacs-lisp-byte-code-mode): New functions.
9b851e25
SM
3145 (eval-sexp-add-defvars): Don't skip defvars in column >0.
3146 (eval-defun-2): Remove bogus interactive spec.
3147 (lisp-indent-line): Remove redundant whole-exp code, now done in
3148 indent-according-to-mode.
3149 (save-match-data): Remove redundant indent data.
3150
3151 * emacs-lisp/benchmark.el (benchmark-run, benchmark-run-compiled):
3152 Use `declare'.
3153
3231d532
JL
31542012-09-09 Juri Linkov <juri@jurta.org>
3155
3156 * replace.el (replace-regexp-lax-whitespace): New defcustom.
3157 (replace-lax-whitespace, query-replace-regexp)
3158 (query-replace-regexp-eval, replace-regexp): Doc fix.
3159 (perform-replace, replace-highlight): Let-bind
3160 isearch-lax-whitespace to replace-lax-whitespace and
3161 isearch-regexp-lax-whitespace to replace-regexp-lax-whitespace.
3162
3163 * isearch.el (isearch-query-replace): Let-bind
3164 replace-lax-whitespace to isearch-lax-whitespace and
3165 replace-regexp-lax-whitespace to
3166 isearch-regexp-lax-whitespace. (Bug#10885)
3167
70fe8236
SM
31682012-09-09 Stefan Monnier <monnier@iro.umontreal.ca>
3169
3170 * eshell/em-unix.el (eshell/sudo): Explicitly drop return value.
3171
8ed43f15
AM
31722012-09-09 Alan Mackenzie <acm@muc.de>
3173
70fe8236
SM
3174 * progmodes/cc-engine.el (c-state-cache-init):
3175 Initialise c-state-semi-nonlit-pos-cache\(-limit\)? properly.
3176 (c-record-parse-state-state):
3177 Record c-state-semi-nonlit-pos-cache\(-limit\)?.
8ed43f15 3178
bfabf70a
AS
31792012-09-09 Andreas Schwab <schwab@linux-m68k.org>
3180
3181 * register.el (register-separator): Rename from
3182 separator-register. All uses changed. Doc fix.
3183 (register): Fix version.
3184
011474aa
CY
31852012-09-09 Chong Yidong <cyd@gnu.org>
3186
3187 * replace.el (query-replace-map): Bind four new symbols for
3188 requesting window scrolling.
3189
3190 * subr.el (y-or-n-p): Handle the window-scrolling bindings in
3191 query-replace-map (Bug#8948).
3192
3193 * custom.el (custom-theme-load-confirm): Use y-or-n-p.
3194
3195 * emacs-lisp/map-ynp.el (map-y-or-n-p): Don't bind scrolling keys
3196 since they are now in query-replace-map.
3197
3198 * window.el (scroll-other-window-down): Make the arg optional.
3199
a8b7cd8d
CY
32002012-09-09 Chong Yidong <cyd@gnu.org>
3201
3202 * files.el (hack-local-variables-confirm): Use quit-window to kill
3203 the *Local Variables* buffer.
3204
c3268831
DG
32052012-09-08 Dmitry Gutov <dgutov@yandex.ru>
3206
3207 * progmodes/ruby-mode.el (ruby-toggle-block): Guess the current block,
3208 not just expect to be at its beginning. Adjust callees.
3209 Succeed when do-end block has no space before the pipe character.
3210 (ruby-brace-to-do-end): When the original block is one-liner,
3211 convert to multiline. Reindent the result.
3212
0979429b
J
32132012-09-08 Jambunathan K <kjambunathan@gmail.com>
3214
3215 * register.el (register): New group.
27359e99 3216 (separator-register): New user option.
0979429b
J
3217 (increment-register): Route it to `append-to-register', if
3218 register contains text. Implication is that `C-x r +' can now be
3219 used for appending to a text register (bug#12217).
3220 (append-to-register, prepend-to-register): Add separator based on
5b9c45a6 3221 `separator-register'.
0979429b 3222
ace2989a
AM
32232012-09-08 Alan Mackenzie <acm@muc.de>
3224
3225 AWK Mode: make auto-newline work when there's "==" in the pattern.
3226 * progmodes/cc-cmds.el (c-point-syntax): Handle virtual semicolons
3227 correctly.
0979429b
J
3228 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5A.3):
3229 Test more rigorously for "=" token.
ace2989a 3230
616c6c36
DG
32312012-09-08 Dmitry Gutov <dgutov@yandex.ru>
3232
0979429b
J
3233 * progmodes/ruby-mode.el (ruby-match-expression-expansion):
3234 Only fail when reached LIMIT.
616c6c36 3235
35d98877
CY
32362012-09-08 Chong Yidong <cyd@gnu.org>
3237
3238 * dired.el (dired-mode-map): Don't bind M-=.
3239
3240 * dired-aux.el (dired-diff): Use backup file as default.
3241
1715f2db
DA
32422012-09-08 Drew Adams <drew.adams@oracle.com>
3243
3244 * subr.el (add-to-history): Fix delete usage (Bug#12314).
3245
6dcef6ec
CY
32462012-09-08 Chong Yidong <cyd@gnu.org>
3247
3248 * subr.el (syntax-after, syntax-class): Doc fix.
3249
fa2bcf43
MR
32502012-09-08 Martin Rudalics <rudalics@gmx.at>
3251
3252 * window.el (display-buffer-in-previous-window): New buffer
3253 display action function.
3254
3255 * emacs-lisp/debug.el (debugger-bury-or-kill): New option.
3256 (debugger-previous-window): New variable.
3257 (debug): Rewrite using display-buffer-in-previous-window,
3258 quit-restore-window and debugger-bury-or-kill. (Bug#8789)
3259
daac280a
SM
32602012-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
3261
3262 * emacs-lisp/byte-run.el (defun): Tweak message. Simplify code.
3263
9dd40b00
MM
32642012-09-07 Matt McClure <mlm@aya.yale.edu> (tiny change)
3265
daac280a
SM
3266 * progmodes/python.el (python-shell-send-string):
3267 When default-directory is remote, create temp file on remote
9dd40b00
MM
3268 filesystem.
3269 (python-shell-send-file): When file is remote, pass local view of
3270 file paths to remote Python interpreter. (Bug#12340)
3271
145823ec
CY
32722012-09-07 Chong Yidong <cyd@gnu.org>
3273
cee2e90d
CY
3274 * window.el (switch-to-buffer): Doc fix (Bug#12181).
3275
0d7eb2ea
CY
3276 * files.el (after-find-file): Don't fail on a read-only buffer if
3277 require-final-newline is `visit' or `visit-save' (Bug#11156).
3278
145823ec
CY
3279 * subr.el (read-char-choice): Allow quitting via ESC ESC.
3280
daac280a
SM
3281 * userlock.el (ask-user-about-supersession-threat):
3282 Use read-char-choice (Bug#12093).
145823ec 3283
74c582e6
CY
32842012-09-07 Chong Yidong <cyd@gnu.org>
3285
e5c2edf7
CY
3286 * subr.el (buffer-narrowed-p): New function.
3287
3288 * ses.el (ses-widen):
3289 * simple.el (count-words--buffer-message):
1f9f395d 3290 * net/browse-url.el (browse-url-of-buffer): Use it.
e5c2edf7
CY
3291
3292 * simple.el (count-words-region): Don't signal an error if there
3293 is a non-nil prefix arg and the mark is not set.
c640e87d 3294
74c582e6
CY
3295 * help.el (describe-key-briefly): Allow the message to be seen
3296 when invoked from the minibuffer (Bug#7014).
3297
d81ceaaf
DG
32982012-09-07 Dmitry Gutov <dgutov@yandex.ru>
3299
3300 * progmodes/ruby-mode.el (ruby-end-of-defun)
3301 (ruby-beginning-of-defun): Simplify, allow indentation before
3302 block beginning and end keywords.
8f06acce
DG
3303 (ruby-beginning-of-defun): Only consider 3 keywords defun beginners.
3304 (ruby-end-of-defun): Expect that the point is at the beginning of
3305 the defun.
d81ceaaf 3306
d458ef98
SM
33072012-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
3308
3309 * emacs-lisp/cl-macs.el (cl--do-arglist): Understand _ on &key args
3310 (bug#12367).
3311 (cl--make-usage-args): Strip _ from argument names.
3312
20367d28
RS
33132012-09-06 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3314
3315 * progmodes/vhdl-mode.el (vhdl-speedbar-initialize): Don't use
3316 obsolete alias speedbar-key-map.
3317 (vhdl-doc-variable, vhdl-doc-mode): Use called-interactively-p.
3318 (vhdl-index-menu-init): Don't use obsolete variable
3319 font-lock-maximum-size.
3320
3424a4f6
CY
33212012-09-06 Chong Yidong <cyd@gnu.org>
3322
3323 * frame.el (window-system-version): Mark as obsolete.
3324
fcbfbdea
CY
3325 * speedbar.el (speedbar-update-flag, speedbar-mode): Remove uses
3326 of obsolete variable speedbar-key-map.
3327
826b3235
JL
33282012-09-06 Juri Linkov <juri@jurta.org>
3329
3330 * replace.el (replace-lax-whitespace): New defcustom.
3331 (query-replace, query-replace-regexp, query-replace-regexp-eval)
3332 (replace-string, replace-regexp): Mention it in docstrings.
3333 (perform-replace, replace-highlight): Let-bind
3334 isearch-lax-whitespace and isearch-regexp-lax-whitespace according
3335 to the values of replace-lax-whitespace and regexp-flag.
3336 Don't let-bind search-whitespace-regexp. (Bug#10885)
3337
3338 * isearch.el (isearch-query-replace): Let-bind
3339 replace-lax-whitespace instead of let-binding
3340 replace-search-function and replace-re-search-function.
3341 (isearch-lazy-highlight-search): Let-bind isearch-lax-whitespace
3342 and isearch-regexp-lax-whitespace to lazy-highlight variables.
3343 (isearch-toggle-symbol): Set isearch-regexp to nil
3344 in isearch-word mode (like in isearch-toggle-word).
3345
1ec5e41d
JL
33462012-09-06 Juri Linkov <juri@jurta.org>
3347
3348 * replace.el (replace-search-function)
3349 (replace-re-search-function): Set default values to nil.
3350 (perform-replace): Let-bind isearch-related variables based on
3351 replace-related values, call `isearch-search-fun' and let-bind
3352 the result to `search-function'. Remove code that sets
3353 `search-function' and `search-string' separately for
3354 `delimited-flag'.
3355 (replace-highlight): Add new argument `delimited-flag' and
3356 rename other arguments to the names used in `perform-replace'.
3357 Let-bind `isearch-word' to the argument `delimited-flag'.
3358 (Bug#10885, bug#10887)
3359
0ba2d4b6
DG
33602012-09-07 Dmitry Gutov <dgutov@yandex.ru>
3361
3362 * progmodes/ruby-mode.el (ruby-indent-beg-re): Add pieces from
3363 ruby-beginning-of-indent, simplify, allow all keywords to have
3364 indentation before them.
3365 (ruby-beginning-of-indent): Adjust for above. Search until the
3366 found point is not inside a string or comment.
3367 (ruby-font-lock-keywords): Allow symbols to start with "@"
3368 character, give them higher priority than variables.
3369 (ruby-syntax-propertize-function)
3370 (ruby-font-lock-syntactic-keywords): Remove the "not comments"
3371 matchers. Expression expansions are not comments when inside a
3372 string, and there comment syntax status is irrelevant.
3373 (ruby-match-expression-expansion): New function. Check that
3374 expression expansion is inside a string, and it's not escaped.
3375 (ruby-font-lock-keywords): Use it.
3376
ef654460
MR
33772012-09-05 Martin Rudalics <rudalics@gmx.at>
3378
3379 * help.el (temp-buffer-max-height): New default value.
3380 (temp-buffer-resize-frames): New option.
3381 (resize-temp-buffer-window): Optionally resize frame.
3382
3383 * window.el (fit-frame-to-buffer-bottom-margin): New option.
3384 (fit-frame-to-buffer): New function.
3385
7e570fbf 33862012-09-05 Glenn Morris <rgm@gnu.org>
72308848
GM
3387
3388 * emulation/cua-rect.el (cua--init-rectangles):
3389 * textmodes/picture.el (picture-mode-map):
3390 * play/blackbox.el (blackbox-mode-map): Remap right-char and left-char
3391 like forward-char and backward-char. (Bug#12317)
3392
7e570fbf 33932012-09-05 Leo Liu <sdl.web@gmail.com>
3aca1291
LL
3394
3395 * progmodes/flymake.el (flymake-warning-re): New variable.
3396 (flymake-parse-line): Use it.
3397
7e570fbf 33982012-09-05 Glenn Morris <rgm@gnu.org>
b6683353
GM
3399
3400 * calendar/holidays.el (holiday-christian-holidays):
3401 Rename an entry. (Bug#12289)
3402
7e570fbf 34032012-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
64f8c4bd
SM
3404
3405 * progmodes/sh-script.el (sh-font-lock-paren): Don't burp at BOB
3406 (bug#12222).
3407
972debf2
SM
34082012-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
3409
3410 * loadup.el: Load macroexp. Remove hack.
3411 * emacs-lisp/macroexp.el (macroexp--eval-if-compile): New function.
3412 (macroexp--expand-all): Use it to get better warnings.
3413 (macroexp--backtrace, macroexp--trim-backtrace-frame)
3414 (internal-macroexpand-for-load): New functions.
3415 (macroexp--pending-eager-loads): New var.
3416 (emacs-startup-hook): New hack to replace one in loadup.el.
3417 * emacs-lisp/cl-macs.el (cl--compiler-macro-list*)
3418 (cl--compiler-macro-cXXr): Move to top, before they can be used.
3419 (cl-psetf): Simplify.
3420 (cl-defstruct): Add indent rule.
3421
8ce192e3
LI
34222012-09-04 Lars Ingebrigtsen <larsi@gnus.org>
3423
3424 * mail/smtpmail.el (smtpmail-send-it): Prefer the From: header
3425 over `user-mail-address' for the SMTP MAIL FROM envelope.
3426 (smtpmail-via-smtp): Ditto.
3427
6578b4d8
DG
34282012-09-04 Dmitry Gutov <dgutov@yandex.ru>
3429
3430 * progmodes/ruby-mode.el: Clean up keybindings.
3431 (ruby-mode-map): Don't bind ruby-electric-brace,
3432 ruby-beginning-of-defun, ruby-end-of-defun, ruby-mark-defun,
3433 backward-kill-word, reindent-then-newline-and-indent.
3434 (ruby-mark-defun): Remove.
3435 (ruby-electric-brace): Remove. Obsoleted by electric-indent-chars.
3436 (ruby-mode): Set local beginning-of-defun-function and
3437 end-of-defun-function values.
3438
c5e28e39
MR
34392012-09-03 Martin Rudalics <rudalics@gmx.at>
3440
3441 * window.el (temp-buffer-window-setup-hook)
3442 (temp-buffer-window-show-hook): New hooks.
3443 (temp-buffer-window-setup, temp-buffer-window-show)
3444 (with-temp-buffer-window): New functions.
972debf2
SM
3445 (fit-window-to-buffer): Remove unused optional argument OVERRIDE.
3446 (special-display-popup-frame): Make sure the window used shows BUFFER.
c5e28e39
MR
3447
3448 * help.el (temp-buffer-resize-mode): Fix doc-string.
3449 (resize-temp-buffer-window): New optional argument WINDOW.
3450
3451 * files.el (recover-file, save-buffers-kill-emacs):
3452 * dired.el (dired-mark-pop-up): Use with-temp-buffer-window.
3453
73406194
MA
34542012-09-02 Michael Albinus <michael.albinus@gmx.de>
3455
3456 * eshell/em-unix.el (eshell/sudo): When we have an ad-hoc
3457 remote definition of `default-directory', ensure we can connect.
3458
63dd1c6f
JL
34592012-09-02 Juri Linkov <juri@jurta.org>
3460
3461 Toggle whitespace matching mode with M-s SPC.
3462 http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00008.html
3463
3464 * isearch.el (search-whitespace-regexp): Doc fix.
3465 Remove cons cell customization.
3466 (isearch-mode-map): Bind "\M-s " to isearch-toggle-lax-whitespace.
3467 (isearch-lax-whitespace, isearch-regexp-lax-whitespace):
3468 New variables.
3469 (isearch-forward, isearch-forward-regexp): Doc fix.
3470 (isearch-toggle-lax-whitespace): New command.
3471 (search-forward-lax-whitespace, search-backward-lax-whitespace)
3472 (re-search-forward-lax-whitespace)
3473 (re-search-backward-lax-whitespace): New functions.
3474 (isearch-whitespace-regexp): Remove function.
3475 (isearch-query-replace): Let-bind replace-search-function and
3476 replace-re-search-function.
3477 (isearch-occur): Let-bind search-spaces-regexp according to the
3478 value of isearch-lax-whitespace and isearch-regexp-lax-whitespace.
3479 (isearch-quote-char): Check isearch-regexp-lax-whitespace in the
3480 condition for C-q SPC.
3481 (isearch-search-fun-default): Use new functions mentioned above.
3482 (isearch-search-forward, isearch-search-backward): Remove functions.
3483 (isearch-search): Don't let-bind search-spaces-regexp.
3484 (isearch-lazy-highlight-space-regexp): Remove variable.
3485 (isearch-lazy-highlight-lax-whitespace)
3486 (isearch-lazy-highlight-regexp-lax-whitespace): New variables.
3487 (isearch-lazy-highlight-new-loop): Use them.
3488 (isearch-lazy-highlight-search): Don't let-bind search-spaces-regexp.
3489
af7dda05
CY
34902012-09-02 Chong Yidong <cyd@gnu.org>
3491
3492 * dired.el (dired-mode-map): Menu string fixes (Bug#11616).
3493
d67d3afd
GM
34942012-09-02 Glenn Morris <rgm@gnu.org>
3495
3496 * simple.el (undo): Tweak message in undo-only case. (Bug#12283)
3497
69678719
GM
34982012-09-01 Glenn Morris <rgm@gnu.org>
3499
3500 * term.el: Tidy up menu definitions.
3501 (term-mode-map): Use easymenu for In/Out, Complete menus.
3502 (term-pager-break-map): Initialize in the defvar.
3503 (term-terminal-menu, term-signals-menu): Define with easymenu.
3504 (term-terminal-menu): Also show it in line-mode. (Bug#11957)
3505 (term-pager-menu): New, extracted from term-process-pager.
3506 (term-mode, term-char-mode, term-process-pager): Use easymenu-add.
3507 (term-update-mode-line): Propertize line/char and page items.
3508 (term-process-pager): Move keymap initialization elsewhere.
3509
78dd6ab1
MR
35102012-09-01 Martin Rudalics <rudalics@gmx.at>
3511
3512 * window.el (switch-to-prev-buffer): Handle additional values of
3513 BURY-OR-KILL argument. Don't switch in minibuffer window.
3514 (switch-to-next-buffer): Don't switch in minibuffer window.
3515 (quit-restore-window): New function based on quit-window.
3516 Handle additional values of former KILL argument.
3517 (quit-window): Call quit-restore-window with appropriate
3518 interpretation of KILL argument.
3519 (display-buffer-below-selected): New buffer display action
3520 function.
3521
3d10e134
SM
35222012-09-01 Stefan Monnier <monnier@iro.umontreal.ca>
3523
3524 * minibuffer.el (completion-at-point-functions): Complete docstring
3525 (bug#12254).
3526
0e23ef9d
PE
35272012-09-01 Paul Eggert <eggert@cs.ucla.edu>
3528
3529 Better seed support for (random).
3530 * play/5x5.el, play/animate.el, play/cookie1.el, play/dissociate.el:
3531 * play/doctor.el, play/dunnet.el, play/gomoku.el, play/landmark.el:
3532 * play/mpuz.el, play/tetris.el, play/zone.el:
3533 * calc/calc-comb.el (math-init-random-base):
3534 * play/blackbox.el (bb-init-board):
3535 * play/life.el (life):
3536 * server.el (server-use-tcp):
3537 * type-break.el (type-break):
3538 Remove unnecessary call to (random t).
3539 * net/sasl.el (sasl-unique-id-function):
3540 Change (random t) to (random), now that the latter is more random.
3541 * play/life.el (life-initialized): Remove no-longer-needed var.
3542
862382df
MR
35432012-08-31 Alp Aker <alp.tekin.aker@gmail.com>
3544
3545 * window.el (switch-to-prev-buffer, switch-to-next-buffer):
3546 Consider frame's buffer predicate when choosing the buffer.
3547 (Bug#12081)
3548
262a66e1
RS
35492012-08-30 Richard Stallman <rms@gnu.org>
3550
3551 * simple.el (special-mode-map): Delete binding for `z'.
3552
f17e1d00
AS
35532012-08-30 Andreas Schwab <schwab@linux-m68k.org>
3554
3555 * progmodes/compile.el (compilation-always-kill): Doc fix.
3556
24777832
CY
35572012-08-30 Chong Yidong <cyd@gnu.org>
3558
3559 * window.el (display-buffer-reuse-frames): Make the obsolescence
3560 message more informative.
3561
69ba1f04
GM
35622012-08-30 Glenn Morris <rgm@gnu.org>
3563
3564 * paren.el (show-paren-delay):
3565 Add a :set function. Doc fix. (Bug#12297)
3566
f0019ede
MB
35672012-08-29 Martin Blais <blais@furius.ca> (tiny change)
3568
3569 * progmodes/compile.el (compilation-always-kill): New var.
3570 (compilation-start): Use it.
3571
35e62fc9
SM
35722012-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
3573
af070a1c
SM
3574 * simple.el (read-only-mode): Move from files.el for bootstrapping.
3575 * files.el (read-only-mode): Move to simple.el.
3576
35e62fc9
SM
3577 * files.el (read-only-mode): New minor mode.
3578 (toggle-read-only): Use it and mark obsolete.
3579 (find-file--read-only):
3580 * vc/vc.el (vc-next-action, vc-checkout):
3581 * vc/vc-cvs.el (vc-cvs-checkout):
3582 * obsolete/vc-mcvs.el (vc-mcvs-update):
3583 * ffap.el (ffap--toggle-read-only): Update callers.
3584
c2c43c23
MA
35852012-08-29 Michael Albinus <michael.albinus@gmx.de>
3586
3587 * eshell/esh-ext.el (eshell-external-command): Do not examine
972debf2
SM
3588 remote shell scripts.
3589 See <https://bugs.launchpad.net/ubuntu/+source/emacs23/+bug/1035790>.
c2c43c23
MA
3590
3591 * net/tramp-sh.el (tramp-remote-path): Add "/sbin" and
3592 "/usr/local/sbin".
3593
9fba804b
SM
35942012-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
3595
3596 * emacs-lisp/cl-lib.el (buffer-string): Fix setter macro (bug#12293).
3597
eada0861 35982012-08-28 Leo Liu <sdl.web@gmail.com>
22ab32ef 3599
806f0cc7
LL
3600 * progmodes/sh-script.el (sh-dynamic-complete-functions): Adapt to
3601 completion-at-point. (Bug#12220)
3602
3bb213b9
LL
3603 * skeleton.el (skeleton-untabify): Change to nil (bug#12223).
3604
22ab32ef
LL
3605 * progmodes/sh-script.el (sh-indent-comment): Change to t (bug#12267).
3606
eada0861 36072012-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
db148c21 3608
19c17fc1
CY
3609 * files.el (safe-local-eval-forms): Fix before-save-hook entry to
3610 be buffer-local; add delete-trailing-whitespace (bug#12259).
db148c21 3611
eada0861 36122012-08-28 Jeremy Moore <jmoore@ieee.org> (tiny change)
ffe6eaf1
JM
3613
3614 * progmodes/hideif.el (hif-compress-define-list):
3615 Fix typo. (Bug#11951)
3616
eada0861 36172012-08-28 Dan Nicolaescu <dann@gnu.org>
d30aca1b
DN
3618
3619 * progmodes/hideshow.el (hs-block-end-regexp): Restore lost
3620 buffer local setting.
3621
27d6c5a8
LL
3622 * net/rcirc.el (rcirc-split-message): Fix for buffer-local
3623 rcirc-encode-coding-system.
3624
eada0861 36252012-08-28 Leo Liu <sdl.web@gmail.com>
4432d2e2
LL
3626
3627 * net/rcirc.el (rcirc-split-message): New function.
3628 (rcirc-send-message): Use it. (Bug#12051)
3629
d44688e4
JL
36302012-08-28 Juri Linkov <juri@jurta.org>
3631
3632 * info.el (Info-fontify-node): Hide empty lines at the end of
3633 the node. (Bug#12272)
3634
34f10d41
MR
36352012-08-27 Drew Adams <drew.adams@oracle.com>
3636
3637 * dired.el (dired-pop-to-buffer): Make window start at beginning
3638 of buffer (Bug#12281).
3639
77f1f99c
CY
36402012-08-26 Chong Yidong <cyd@gnu.org>
3641
3642 * window.el (special-display-regexps, special-display-frame-alist)
3643 (special-display-buffer-names, special-display-function)
3644 (display-buffer-reuse-frames): Mark as obsolete.
3645
3646 * progmodes/compile.el: Don't use display-buffer-reuse-frames.
3647
3648 * help.el (help-print-return-message): Don't treat
3649 display-buffer-reuse-frames specially.
3650
d97af5a0
CY
36512012-08-26 Chong Yidong <cyd@gnu.org>
3652
9fba804b
SM
3653 * progmodes/gdb-mi.el (gdb-display-buffer-other-frame-action):
3654 New variable, replacing gdb-frame-parameters.
d97af5a0
CY
3655 (gdb-frame-io-buffer, gdb-frame-breakpoints-buffer)
3656 (gdb-frame-threads-buffer, gdb-frame-memory-buffer)
3657 (gdb-frame-disassembly-buffer, gdb-frame-stack-buffer)
3658 (gdb-frame-locals-buffer, gdb-frame-registers-buffer): Use it.
3659 (def-gdb-frame-for-buffer): Macro deleted. It is easier to define
3660 the functions directly with gdb-display-buffer-other-frame-action.
3661 (gdb-display-breakpoints-buffer, gdb-display-threads-buffer)
3662 (gdb-display-memory-buffer, gdb-display-disassembly-buffer)
3663 (gdb-display-stack-buffer, gdb-display-locals-buffer)
3664 (gdb-display-registers-buffer): Define directly.
3665 (def-gdb-display-buffer): Macro deleted.
3666 (gdb-display-buffer): Remove second and third args, callers don't
3667 use them. Defer to the default display-buffer behavior, apart
3668 from making windows dedicated.
3669 (gdb-setup-windows): Don't call display-buffer unnecessarily.
3670
3671 * progmodes/gud.el (gud-display-line): Just use display-buffer.
3672
3673 * window.el (display-buffer-pop-up-frame): Handle a
3674 pop-up-frame-parameters alist entry.
3675 (display-buffer): Document it.
3676
dd7ffad6
CY
36772012-08-26 Chong Yidong <cyd@gnu.org>
3678
3679 * isearch.el (search-whitespace-regexp): Make string and nil
3680 values apply to both ordinary and regexp search. Allow a cons
3681 cell value to distinguish between the two.
3682 (isearch-whitespace-regexp, isearch-search-forward)
3683 (isearch-search-backward): New functions.
3684 (isearch-occur, isearch-search-fun-default, isearch-search)
3685 (isearch-lazy-highlight-new-loop): Use them.
3686 (isearch-forward, isearch-forward-regexp): Doc fix.
3687
4c47bd1e
CY
36882012-08-26 Chong Yidong <cyd@gnu.org>
3689
3690 * faces.el (help-argument-name): Always inherit from italic
3691 (Bug#12213).
3692
9aba119d
MR
36932012-08-25 Martin Rudalics <rudalics@gmx.at>
3694
3695 * window.el (window--even-window-heights): Even heights when
3696 WINDOW and the selected window form a vertical combination.
3697 (display-buffer-use-some-window): Provide that window used gets
3698 sized back by quit-window. (Bug#11880) and (Bug#12091)
3699
ca5256ad
PE
37002012-08-24 Paul Eggert <eggert@cs.ucla.edu>
3701
3702 Fix file time stamp problem with bzr and CVS (Bug#12001).
3703 * vc/vc-cvs.el (vc-cvs-parse-entry): Ignore subsecond information
3704 in the file's time stamp, since the version control system loses
3705 that information.
3706
d1c0d176
JL
37072012-08-22 Juri Linkov <juri@jurta.org>
3708
3709 * info.el (Info-fontify-node): Hide the suffix of the
3710 Info file name in the header line. (Bug#12187)
3711
141562ff
GM
37122012-08-22 Glenn Morris <rgm@gnu.org>
3713
3714 * calendar/cal-tex.el (cal-tex-weekly-common):
3715 Restore leading blank page.
3716
61a48e19 37172012-08-22 Le Wang <l26wang@gmail.com> (tiny change)
add9ca2d
BG
3718
3719 * misc.el (forward-to-word, backward-to-word): Activate or extend
61a48e19
GM
3720 the region under `shift-select-mode'. (Bug#12231)
3721
37222012-08-22 Bastien Guerry <bzg@gnu.org>
0fcd3d9f
BG
3723
3724 * progmodes/executable.el (executable-prefix): Set to "#!" instead
3725 of "#! ". http://www.in-ulm.de/~mascheck/various/shebang/#details
3726 gives details on why the space is never needed.
3727
ea95074e
MR
37282012-08-22 Martin Rudalics <rudalics@gmx.at>
3729
9fba804b
SM
3730 * window.el (walk-window-tree, window-with-parameter):
3731 New optional argument MINIBUF to control whether these functions
ea95074e
MR
3732 should run on the minibuffer window.
3733 (window-at-side-list): Don't operate on minibuffer window.
3734 (window-in-direction): Simplify and rewrite doc-string.
9fba804b
SM
3735 (window--size-ignore): Rename to window--size-ignore-p.
3736 Update callers.
caceae25
MR
3737 (display-buffer-in-atom-window, window--major-non-side-window)
3738 (window--major-side-window, display-buffer-in-major-side-window)
9fba804b
SM
3739 (delete-side-window, display-buffer-in-side-window):
3740 New functions.
caceae25
MR
3741 (window--side-check, window-deletable-p, delete-window)
3742 (delete-other-windows, split-window): Handle side windows and
3743 atomic windows appropriately.
3744 (window--display-buffer): Call display-buffer-record-window also
3745 when the window buffer did not change.
ea95074e 3746
80a51fa0
CS
37472012-08-22 Christopher Schmidt <christopher@ch.ristopher.com>
3748
3749 * help-fns.el (help-fns--key-bindings):
3750 Abbreviate non-symbol remap targets. (Bug#12174)
3751
fbb6300b
MR
37522012-08-22 Martin Rudalics <rudalics@gmx.at>
3753
3754 * dired.el (dired-mark-remembered): Don't clobber point.
3755 (Bug#11795)
3756
2b2c0794
GM
37572012-08-22 Glenn Morris <rgm@gnu.org>
3758
3759 * progmodes/bug-reference.el (bug-reference): New custom group.
3760 (bug-reference-bug-regexp): Make it a defcustom.
3761
37219830
DU
37622012-08-22 Daiki Ueno <ueno@unixuser.org>
3763
3764 * progmodes/js.el (js-indent-level, js-expr-indent-offset)
3765 (js-paren-indent-offset, js-square-indent-offset)
3766 (js-curly-indent-offset): Add :safe (Bug#12257).
3767
94e0e559
EC
37682012-08-22 Edward O'Connor <hober0@gmail.com>
3769
3770 * json.el (json-key-format): Add error properties.
3771 (json-encode-key): New function.
3772 (json-encode-hash-table, json-encode-alist, json-encode-plist):
3773 Use json-encode-key.
3774
da485f5e
GM
37752012-08-22 Glenn Morris <rgm@gnu.org>
3776
3777 * calendar/cal-tex.el (cal-tex-longday): New function, replacing...
3778 (cal-tex-leftday, cal-tex-rightday): Remove functions.
3779 (cal-tex-weekly-common, cal-tex-cursor-filofax-2week):
3780 Update for above change.
3781
c6cc78b8
AS
37822012-08-21 Andreas Schwab <schwab@linux-m68k.org>
3783
3784 * cus-face.el (custom-face-attributes): Fix customize type for the
3785 :underline attribute. (Bug#11805)
3786
5481664a
MR
37872012-08-21 Martin Rudalics <rudalics@gmx.at>
3788
3789 * window.el (window-point-1, set-window-point-1): Remove.
3790 (window-in-direction, record-window-buffer)
3791 (set-window-buffer-start-and-point, split-window-below)
9fba804b
SM
3792 (window--state-get-1, display-buffer-record-window):
3793 Replace calls to window-point-1 and set-window-point-1 by calls to
5481664a
MR
3794 window-point and set-window-point respectively.
3795
6d74698e
GM
37962012-08-21 Glenn Morris <rgm@gnu.org>
3797
b7fa2691
GM
3798 * calendar/cal-tex.el (cal-tex-weekly-common): New function.
3799 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-week):
3800 Use it.
3801
52f56d5a
GM
3802 * calendar/cal-tex.el (cal-tex-rightday): Add optional funcname arg.
3803 (cal-tex-shortday): New function.
3804 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-week)
3805 (cal-tex-cursor-filofax-daily): Use the above.
3806
9f1ee09e
GM
3807 * calendar/cal-tex.el (cal-tex-leftday, cal-tex-rightday):
3808 New functions.
3809 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-2week)
3810 (cal-tex-cursor-filofax-week): Use them.
3811
79858159
GM
3812 * calendar/cal-tex.el (cal-tex-lefthead, cal-tex-righthead):
3813 New constants.
3814 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-2week)
3815 (cal-tex-cursor-filofax-week, cal-tex-cursor-filofax-daily): Use them.
3816
d346b2b4
GM
3817 * calendar/cal-tex.el (cal-tex-preamble): Generate new buffers.
3818 (cal-tex-end-document): Don't rely on buffer name.
3819
b2403709
GM
3820 * calendar/cal-tex.el (cal-tex-cursor-filofax-year):
3821 Use cal-tex-vspace.
3822 (cal-tex-vspace, cal-tex-hspace, cal-tex-em, cal-tex-bf)
3823 (cal-tex-Huge-bf, cal-tex-large-bf): Use cal-tex-cmd.
2d225a3a
GM
3824 (cal-tex-scriptsize, cal-tex-huge, cal-tex-Huge, cal-tex-large):
3825 Use cal-tex-arg.
b2403709 3826
1cebb5c0
GM
3827 * calendar/cal-tex.el (cal-tex-cursor-filofax-year)
3828 (cal-tex-cursor-week, cal-tex-cursor-week2)
3829 (cal-tex-cursor-week-iso, cal-tex-cursor-week-at-a-glance)
3830 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
3831 (cal-tex-cursor-filofax-daily, cal-tex-cursor-day)
3832 (cal-tex-insert-preamble, cal-tex-b-document)
3833 (cal-tex-e-document, cal-tex-b-center, cal-tex-e-center):
3834 Improve cal-tex-cmd usage.
3835
c68cd5d4
GM
3836 * calendar/cal-tex.el (cal-tex-filofax-paper): New function.
3837 (cal-tex-cursor-filofax-year, cal-tex-cursor-filofax-2week)
3838 (cal-tex-cursor-filofax-week, cal-tex-cursor-filofax-daily): Use it.
3839 (cal-tex-weekly-paper): New function.
3840 (cal-tex-cursor-week, cal-tex-cursor-week2)
3841 (cal-tex-cursor-week-iso, cal-tex-cursor-week-monday)
3842 (cal-tex-cursor-day): Use it.
3843
9dca4801
GM
3844 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance)
3845 (cal-tex-cursor-filofax-week): Remove leading blank page.
3846
1941e134
GM
3847 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance):
3848 Add autoload cookie. For now at least, don't use color, since
3849 no other cal-tex function does.
3850
6d74698e
GM
3851 * calendar/cal-tex.el (cal-tex-cursor-week-iso)
3852 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
3853 (cal-tex-cursor-filofax-daily): Correct start date for diary entries.
3854
64cde199
JL
38552012-08-21 Juri Linkov <juri@jurta.org>
3856
3857 * info.el (Info-file-attributes): New variable.
3858 (info-insert-file-contents): Add file attributes to
3859 `Info-file-attributes'. Clear the caches `Info-index-nodes' and
3860 `Info-toc-nodes' when previous modtime of the Info file is less
3861 than new modtime.
3862 (Info-toc-nodes, Info-index-nodes): Move definitions up to the top
3863 of info.el. (Bug#12230)
3864
32757648
GM
38652012-08-20 Glenn Morris <rgm@gnu.org>
3866
3867 * calendar/diary-lib.el (diary-include-files, diary-sexp-entry):
3868 * calendar/holidays.el (calendar-holiday-list):
3869 Report errors with display-warning rather than beep'n'sleep.
3870
a32fbbcf
MA
38712012-08-20 Michael Albinus <michael.albinus@gmx.de>
3872
3873 * net/tramp.el (tramp-accept-process-output): Accept only output
3874 from PROC. Otherwise, process filters and sentinels might be
3875 confused. (Bug#12145)
3876
a05731a0
CY
38772012-08-20 Chong Yidong <cyd@gnu.org>
3878
3879 * descr-text.el (describe-text-properties-1): Use overlays-in to
3880 report on empty overlays (Bug#3322).
3881
36e8d1eb
GM
38822012-08-20 Glenn Morris <rgm@gnu.org>
3883
3d300447
GM
3884 * mail/rmailout.el (rmail-output-read-file-name):
3885 Trap and report errors in rmail-output-file-alist elements.
3886
36e8d1eb
GM
3887 * font-lock.el (font-lock-add-keywords): Doc fix (quote face names
3888 since most non-font-lock faces are not also variables).
3889
b96e5814
ER
38902012-08-20 Edward Reingold <reingold@iit.edu>
3891
3892 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance):
3893 New function. (Bug12160)
3894
7cef3569
GM
38952012-08-19 Glenn Morris <rgm@gnu.org>
3896
3897 * mail/rmailout.el (rmail-output-read-file-name):
3898 Fix previous change (when the alist is nil or does not match).
3899
17975d7f
CY
39002012-08-19 Chong Yidong <cyd@gnu.org>
3901
3902 * xml.el (xml-escape-string): Don't refer to xml-entity-alist
3903 (Bug#12228).
3904
2170b1bd
CY
39052012-08-18 Chong Yidong <cyd@gnu.org>
3906
3907 * simple.el (yank-handled-properties): New defcustom.
3908 (yank-excluded-properties): Add font-lock-face and category.
3909 (yank): Doc fix.
3910
9fba804b
SM
3911 * subr.el (remove-yank-excluded-properties):
3912 Obey yank-handled-properties. The special handling of font-lock-face
2170b1bd
CY
3913 and category is now done this way, instead of being hard-coded.
3914 (insert-for-yank-1): Remove font-lock-face handling.
3915 (yank-handle-font-lock-face-property)
3916 (yank-handle-category-property): New function.
3917
ee218151
GM
39182012-08-17 Glenn Morris <rgm@gnu.org>
3919
3920 * mail/rmailout.el (rmail-output-read-file-name):
3921 Check rmail-output-file-alist against the full message body
3922 in the correct rmail buffer. (Bug#12214)
3923
4a6bc3fd
MA
39242012-08-17 Michael Albinus <michael.albinus@gmx.de>
3925
9fba804b
SM
3926 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
3927 Eliminate superfluous prompt. (Bug#12203)
4a6bc3fd 3928
383dcbf9
CY
39292012-08-17 Chong Yidong <cyd@gnu.org>
3930
3931 * mouse.el (mouse-appearance-menu): If x-select-font returns a
3932 font spec, set the font directly (Bug#3228).
3933
998c4a6a
MR
39342012-08-17 Martin Rudalics <rudalics@gmx.at>
3935
3936 * window.el (delete-window): Fix last fix.
3937
52162052
MR
39382012-08-16 Martin Rudalics <rudalics@gmx.at>
3939
3940 * window.el (window-valid-p): Move to window.c.
85c2386b
MR
3941 (window-child, window-child-count, window-last-child)
3942 (window-normalize-window, window-combined-p)
3943 (window-combinations, window-atom-root, window-min-size)
3944 (window-sizable, window-sizable-p, window-size-fixed-p)
3945 (window-min-delta, window-max-delta, window--resizable)
3946 (window--resizable-p, window-resizable, window-total-size)
3947 (window-full-height-p, window-full-width-p, window-body-size)
3948 (window-at-side-p, adjust-window-trailing-edge, maximize-window)
3949 (minimize-window, window-deletable-p, delete-window)
3950 (delete-other-windows, set-window-buffer-start-and-point)
3951 (next-buffer, previous-buffer, split-window, balance-windows-2)
3952 (set-window-text-height, window-buffer-height)
3953 (fit-window-to-buffer, shrink-window-if-larger-than-buffer)
9fba804b
SM
3954 (truncated-partial-width-window-p): Minor code adjustments.
3955 In doc-strings state whether the argument window has to denote a
85c2386b 3956 live, valid or any window.
52162052 3957
1c308380
PS
39582012-08-16 Phil Sainty <psainty@orcon.net.nz> (tiny change)
3959
3960 * progmodes/subword.el (subword-forward-function)
3961 (subword-backward-function, subword-forward-regexp)
3962 (subword-backward-regexp): New variables.
3963 (subword-forward, subword-forward-internal, subword-backward-internal):
3964 Use new variables, eg so that different "word" definitions
3965 can be easily used. (Bug#11411)
3966
94c9ece1
SM
39672012-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
3968
3969 * vc/vc-mtn.el (vc-mtn-revision-completion-table): Handle completion
3970 for composite selectors.
3971 * vc/vc.el (vc-diff-build-argument-list-internal): Don't prevent
3972 operation just because we can't find a previous revision.
3973
f2045622
CY
39742012-08-15 Chong Yidong <cyd@gnu.org>
3975
3976 * frame.el (set-frame-font): Accept font objects.
3977
582db660
SM
39782012-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
3979
3980 * textmodes/tex-mode.el (tex-insert-quote): ~ is a space (bug#12137).
3981
2f29c200
WJ
39822012-08-15 Wolfgang Jenkner <wjenkner@inode.at>
3983
456e62c2
WJ
3984 * man.el (Man-overstrike-face, Man-underline-face)
3985 (Man-reverse-face): Remove variables.
3986 (Man-overstrike, Man-underline, Man-reverse): New faces.
3987 (Man-fontify-manpage): Use them instead of the variables.
3988 (Man-cleanup-manpage): Comment change.
3989 (Man-ansi-color-map): New variable.
3990 (Man-fontify-manpage): Use it.
3991 Call ansi-color-apply-on-region to replace ad hoc code (bug#12147).
3992
2f29c200
WJ
3993 Implement ANSI SGR parameters 22-27 (bug#12146).
3994 * ansi-color.el (ansi-colors): Doc fix.
3995 (ansi-color-context, ansi-color-context-region): Doc fix.
3996 (ansi-color--find-face): New function.
3997 (ansi-color-apply, ansi-color-apply-on-region): Use it.
3998 Rename the local variable `face' to `codes' since it is now a list of
3999 ansi codes. Doc fix.
4000 (ansi-color-get-face): Remove.
4001 (ansi-color-parse-sequence): New function, derived from
4002 ansi-color-get-face.
4003 (ansi-color-apply-sequence): Use it. Rewrite, and support ansi
4004 codes 22-27.
4005
b4f5e9df
SM
40062012-08-14 Stefan Monnier <monnier@iro.umontreal.ca>
4007
4008 * subr.el (read-passwd): Allow use from a minibuffer.
4009
ba025fbd
EZ
40102012-08-14 Eli Zaretskii <eliz@gnu.org>
4011
4012 * tooltip.el (tooltip-identifier-from-point): Don't treat tokens
4013 inside comments and strings as identifiers.
4014
4015 * progmodes/gud.el (gud-tooltip-print-command): Quote the
4016 expression to evaluate. This allows to evaluate expressions with
4017 embedded whitespace.
4018 (gud-tooltip-tips): Add a blank before the newline in the
4019 message-box text, for the benefit of message-box emulation on
4020 MS-Windows.
4021
4022 * progmodes/gdb-mi.el (gdb-tooltip-print): Don't ignore error
4023 messages from GDB, pop them up in a tooltip to give feedback to
4024 user.
b4f5e9df
SM
4025 (gdb-tooltip-print-1): Quote the expression to evaluate.
4026 This allows to evaluate expressions with embedded whitespace.
ba025fbd
EZ
4027 (gdb-inferior-io--init-proc): Don't send "-inferior-tty" command
4028 if the TTY name is nil or empty (which happens when communicating
4029 with the inferior via pipes, e.g. on MS-Windows).
4030 (gdb-internals): If GDB sends a "&\n" empty debugging message,
4031 don't send that to the GUD buffer.
4032
c548f821
GM
40332012-08-14 Glenn Morris <rgm@gnu.org>
4034
4035 * emacs-lisp/bytecomp.el (byte-compile-setq-default):
4036 Optimize away setq-default with no args, as for setq. (Bug#12195)
4037
55802e4a
CY
40382012-08-14 Chong Yidong <cyd@gnu.org>
4039
4abcdac8
CY
4040 * minibuffer.el (read-file-name): Doc fix (Bug#10881).
4041
55802e4a
CY
4042 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Doc fix
4043 (Bug#12085).
4044
3c3cda1a
GM
40452012-08-14 Glenn Morris <rgm@gnu.org>
4046
4047 * emacs-lisp/bytecomp.el (byte-recompile-file): Doc fix.
4048
e1873bd0
MA
40492012-08-14 Michael Albinus <michael.albinus@gmx.de>
4050
4051 * net/tramp-sh.el (tramp-open-shell): Cache the shell name.
4052 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
4053 Use cached shell name.
4054
925411b4
FEG
40552012-08-14 Fabián Ezequiel Gallina <fgallina@cuca>
4056
4057 * progmodes/python.el (python-shell-send-string):
3c3cda1a 4058 (python-shell-send-setup-code): Do not use `format' with `message'.
925411b4 4059
e636fafe
DG
40602012-08-14 Dmitry Gutov <dgutov@yandex.ru>
4061
4062 * progmodes/ruby-mode.el: Improve percent literals (bug#6286).
4063 (ruby-percent-literal-beg-re): New constant.
4064 (ruby-syntax-general-delimiters-goto-beg): Rename to
4065 `ruby-syntax-enclosing-percent-literal', improve literal type check.
4066 (ruby-syntax-propertize-general-delimiters): Rename to
4067 `ruby-syntax-propertize-percent-literal', it's a shorter and more
4068 popular term. Adjust comments everywhere.
4069 (ruby-syntax-propertize-percent-literal): Only propertize when not
4070 inside a simple string or comment. When the literal is unclosed,
4071 leave the text after it unpropertized.
f063063a
DG
4072 (ruby-syntax-methods-before-regexp): New constant.
4073 (ruby-syntax-propertize-function): Use it to recognize regexps.
4074 Don't look at the text after regexp, just use the whitelist.
e636fafe 4075
e5b19827
AS
40762012-08-14 Andreas Schwab <schwab@linux-m68k.org>
4077
4078 * emacs-lisp/bytecomp.el (byte-recompile-file): When LOAD is
4079 non-nil always load the compiled file if it exists. (Bug#12197)
4080
a9f6f311
CY
40812012-08-14 Chong Yidong <cyd@gnu.org>
4082
4083 * hi-lock.el (hi-lock-mode): Do not unilaterally enable font lock.
4084 (hi-lock-set-pattern): When deciding whether to use font lock or
4085 overlays, look at font-lock-mode instead of font-lock-fontified
4086 (Bug#12168).
4087 (hi-lock-mode, hi-lock-line-face-buffer, hi-lock-unface-buffer)
4088 (hi-lock-face-buffer, hi-lock-face-phrase-buffer): Doc fix.
4089
7d806b1e
DU
40902012-08-14 Daiki Ueno <ueno@unixuser.org>
4091
4092 * subr.el (internal--after-with-selected-window): Fix typo
4093 (Bug#12193).
4094
5beed586
FEG
40952012-08-14 Fabián Ezequiel Gallina <fgallina@cuca>
4096
4097 Use `completion-table-dynamic' for completion functions.
4098 * progmodes/python.el
4099 (python-shell-completion--do-completion-at-point)
e636fafe
DG
4100 (python-shell-completion--get-completions):
4101 Remove functions.
5beed586
FEG
4102 (python-shell-completion-complete-at-point): New function.
4103 (python-completion-complete-at-point): Use it.
4104
92cb3b04
J
41052012-08-13 Jambunathan K <kjambunathan@gmail.com>
4106
4107 * vc/vc-dir.el (vc-dir-hide-state): New command (bug#12159).
4108 (vc-dir-hide-up-to-date): Route it to `vc-dir-hide-state'.
4109
89660017
SM
41102012-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
4111
3c98c962
SM
4112 * subr.el (function-get): Refine `autoload' arg so it can also
4113 autoload functions for gv.el (bug#12191).
4114 * emacs-lisp/edebug.el (get-edebug-spec): Adjust so it only
4115 autoloads macros.
4116
aa7c6dbe
SM
4117 * color.el (color-xyz-to-lab, color-lab-to-xyz, color-cie-de2000):
4118 Prefer pcase-let over destructuring-bind.
4119 * vc/diff-mode.el (diff-remove-trailing-whitespace): Same.
4120 Also, remove whitespace as we go, rather than after accumulating the
4121 various places.
4122
89660017
SM
4123 * subr.el (internal--before-with-selected-window)
4124 (internal--after-with-selected-window): Fix typo seleted->selected.
4125 (with-selected-window): Adjust callers.
4126 Reported by Dmitry Gutov <dgutov@yandex.ru>.
4127
31cd32c9
BG
41282012-08-13 Bastien Guerry <bzg@gnu.org>
4129
0fcd3d9f 4130 * window.el (special-display-popup-frame): Minor docstring
31cd32c9
BG
4131 enhancement. (Bug#12172)
4132
1b15d8ad
AS
41332012-08-13 Andreas Schwab <schwab@linux-m68k.org>
4134
31e54db0
AS
4135 * tar-mode.el (tar-header-data-end): Only ignore size for files of
4136 type 1-6.
4137 (tar-header-block-summarize, tar-get-descriptor): Handle pax
4138 extended headers.
4139
1b15d8ad
AS
4140 * files.el (hack-local-variables-filter): Remove useless eval.
4141
35cb9c06
MR
41422012-08-13 Martin Rudalics <rudalics@gmx.at>
4143
4144 * subr.el (with-selected-window): Fix last change.
4145
1439443b
SM
41462012-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
4147
4148 * subr.el (internal--before-with-seleted-window)
4149 (internal--after-with-seleted-window): New functions.
1b15d8ad
AS
4150 (with-selected-window): Use them, to replace dependency on
4151 tty-top-frame.
1439443b 4152
0d9e2599
NN
41532012-08-12 Nobuyoshi Nakada <nobu@ruby-lang.org>
4154
4155 * progmodes/ruby-mode.el (ruby-mode-map): Remove unnecessary
4156 binding for `newline'.
4157 (ruby-move-to-block): When moving backward, stop at block opening,
4158 not indentation.
4159 * progmodes/ruby-mode.el (ruby-brace-to-do-end)
4160 (ruby-do-end-to-brace, ruby-toggle-block): New functions.
4161 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
4162 `ruby-toggle-block'.
4163
ba10c48c
SM
41642012-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
4165
4166 * ibuffer.el (ibuffer-do-toggle-read-only):
4167 * dired.el (dired-toggle-read-only):
4168 * buff-menu.el (Buffer-menu-toggle-read-only):
4169 * bindings.el (mode-line-toggle-read-only):
4170 * bs.el (bs-toggle-readonly): Call toggle-read-only interactively.
4171
9229c658
AS
41722012-08-12 Andreas Schwab <schwab@linux-m68k.org>
4173
4174 * descr-text.el (describe-char): Put the overlays over the
4175 "displayed as" character.
4176
0fd09128
JB
41772012-08-12 Jay Belanger <jay.p.belanger@gmail.com>
4178
4179 * calc/calc-units.el (math-default-units-table): Give an
4180 initial value.
4181 (math-put-default-units): Add options to put composite units and
4182 unit systems in the default units table.
4183 (calc-convert-units): Send composite units to
4184 `math-put-default-units' when appropriate.
4185
9ff9402d 41862012-08-11 Glenn Morris <rgm@gnu.org>
7aacaf15 4187
fbb5e336
GM
4188 * emacs-lisp/copyright.el (copyright-update-directory): Logic fix.
4189
7aacaf15
GM
4190 * tutorial.el (help-with-tutorial):
4191 * emacs-lisp/copyright.el (copyright-update-directory):
4192 * emacs-lisp/autoload.el (autoload-find-generated-file)
4193 (autoload-find-file): Disable local eval: (for insurance).
4194
f40b9f10
GM
4195 * files.el (hack-local-variables-filter): If an eval: form is not
4196 known to be safe, and enable-local-variables is :safe, then ignore
4197 the form totally, as is done for non-eval forms. (Bug#12155)
6f97980a 4198 This is CVE-2012-3479.
f40b9f10 4199
daa9f1a6
SM
42002012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
4201
4202 * emacs-lisp/rx.el (rx-constituents): Don't define as constant.
4203 (rx-form): Simplify.
4204
9cd80478
DG
42052012-08-09 Dmitry Gutov <dgutov@yandex.ru>
4206
0d9e2599
NN
4207 * progmodes/ruby-mode.el (ruby-expr-beg, ruby-parse-partial):
4208 ?, _, and : are symbol constituents, ! is not (but kinda should be).
4209 (ruby-syntax-propertize-heredoc): Use ruby-singleton-class-p.
4210 (ruby-syntax-propertize-function): Adjust for changes in
4211 `ruby-syntax-propertize-heredoc'.
4212
42132012-08-09 Nobuyoshi Nakada <nobu@ruby-lang.org>
4214
9cd80478
DG
4215 * progmodes/ruby-mode.el (ruby-mode-map): Remove deprecated
4216 binding (use `M-;' instead).
9cd80478 4217 (ruby-singleton-class-p): New function.
0d9e2599 4218 (ruby-expr-beg, ruby-in-here-doc-p) Use it.
9cd80478 4219
d301b413
SM
42202012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
4221
4222 * emacs-lisp/cl-macs.el (cl-loop): Improve debug spec.
4223
1530c98e
CY
42242012-08-10 Chong Yidong <cyd@gnu.org>
4225
4226 * progmodes/python.el (python-shell-get-process-name): Don't mess
4227 with same-window-buffer-names.
4228
4229 * eshell/eshell.el (eshell-add-to-window-buffer-names)
4230 (eshell-remove-from-window-buffer-names): Make obsolete.
4231 (eshell-buffer-name, eshell-unload-hook): Don't use them.
4232 (eshell): Just use pop-to-buffer-same-window instead.
4233
e1293765
CY
42342012-08-10 Chong Yidong <cyd@gnu.org>
4235
4236 * bindings.el: Bind M-= back to count-words-region.
4237
4238 * simple.el (count-words-region): Accept a prefix arg for acting
4239 on the entire buffer.
4240 (count-words--buffer-message): New helper function.
4241
e1894109
SM
42422012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
4243
4244 * term/x-win.el (x-menu-bar-open): Always pass last-nonmenu-event.
4245 * subr.el (eventp): `nil' is not an event, and eventp is not hot.
4246 (event-start, event-end): Use posn-at-point to return a more
4247 informative posn.
4248 (posnp): New function.
4249 * mouse.el (popup-menu-normalize-position): Use it.
4250
c69f56a2
MY
42512012-08-10 Masatake YAMATO <yamato@redhat.com>
4252
4253 * mouse.el (popup-menu-normalize-position): New function.
4254 (popup-menu): Use `popup-menu-normalize-position' to normalize
4255 the form for POSITION argument.
4256
4257 * term/x-win.el (x-menu-bar-open):
4258 Use the value returend from (posn-at-point) as position
4259 passed to `popup-menu'.
4260
31673780
JB
42612012-08-09 Jay Belanger <jay.p.belanger@gmail.com>
4262
4263 * calc/calccomp.el (math-compose-expr): Add extra argument
4264 indicating that parentheses should be put around products in
4265 denominators. Give multiplication precedence over division during
4266 composition.
4267
dab7711b
CY
42682012-08-09 Chong Yidong <cyd@gnu.org>
4269
dee4ef93
CY
4270 * man.el (Man-switches, Man-sed-command, Man-awk-command)
4271 (Man-mode-hook, Man-cooked-hook, Man-untabify-command-args)
4272 (Man-untabify-command, manual-program): Convert to defcustom
4273 (Bug#10429).
4274
73e2bbc5
CY
4275 * vc/add-log.el (change-log-mode): Bind comment-start to nil.
4276
3e861c8a
CY
4277 * descr-text.el (describe-char): Don't insert extra newlines
4278 (Bug#10127).
4279
a9f5a649
CY
4280 * vc/log-view.el (log-view-diff): Use use-region-p (Bug#10133).
4281 (log-view-diff-changeset, log-view-minor-wrap): Likewise.
4282
dab7711b
CY
4283 * align.el (align-region): Delete temporary markers (Bug#10047).
4284 Plus some code cleanups.
4285
e0cc4efa
FEG
42862012-08-09 Fabián Ezequiel Gallina <fgallina@cuca>
4287
4288 * progmodes/python.el (python-pdbtrack-tracked-buffer)
4289 (python-pdbtrack-buffers-to-kill, python-shell-internal-buffer)
4290 (python-shell-internal-last-output): Use make-local-variable
4291 instead of make-variable-buffer-local.
4292
489af14f
FEG
42932012-08-09 Fabián Ezequiel Gallina <fgallina@cuca>
4294
4295 * progmodes/python.el: Enhancements to forward-sexp.
4296 (python-nav-forward-sexp): Rename from
4297 python-nav-forward-sexp-function.
c69f56a2
MY
4298 (python-nav--forward-sexp, python-nav--backward-sexp):
4299 New functions.
489af14f 4300
0fc50303
JB
43012012-08-09 Jay Belanger <jay.p.belanger@gmail.com>
4302
4303 * calc/calc-menu.el (calc-modes-menu): Add entries for matrix
4304 modes and simplification modes.
4305
5d65606a
SM
43062012-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
4307
4308 * delsel.el (delete-selection-pre-hook): Don't propagate the
4309 file-supersession signals (bug#12161).
4310
4250fdf5
SM
43112012-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
4312
4313 * emacs-lisp/cl.el (cl-map-keymap-recursively, cl-map-intervals)
4314 (cl-map-extents): Add compatibility aliases (bug#12135).
4315
d9f9b465
MA
43162012-08-08 Michael Albinus <michael.albinus@gmx.de>
4317
4318 * net/tramp-sh.el (tramp-find-file-exists-command): Protect the
4319 tests by `ignore-error'.
4320 (tramp-find-shell): Open also a new shell, when cache is already
4321 set. Reported by Carsten Bormann <cabo@tzi.org>. (Bug#12148)
4322
ce0fcefa
JL
43232012-08-08 Juri Linkov <juri@jurta.org>
4324
4325 * bookmark.el: Add `defaults' property to the bookmark record.
4326 (bookmark-current-buffer): Doc fix.
4327 (bookmark-make-record): Add `defaults' property with default values
4328 to the bookmark record.
4329 (bookmark-minibuffer-read-name-map): Remove key binding "\C-u"
4330 with `bookmark-insert-current-bookmark'.
4331 (bookmark-set): Get `defaults' property from the bookmark record
4332 and use it in `read-from-minibuffer'.
4333 (bookmark-insert-current-bookmark): Remove function.
4334
4335 * info.el (Info-bookmark-make-record): Add `defaults' property
4336 with values of canonical Info node name, the current Info file
4337 name and the current Info node name. (Bug#12107)
4338
53fa8652
JL
43392012-08-08 Juri Linkov <juri@jurta.org>
4340
4341 * files.el (basic-save-buffer): Use `buffer-name' as the default
4342 of `read-file-name' when buffer is not visiting a file (bug#12128).
4343
242c0a95
JL
43442012-08-08 Juri Linkov <juri@jurta.org>
4345
4346 * info.el (Info-isearch-search): Doc fix.
4347 (Info-search): Change search-failed message from "initial node" to
4348 "end of node" (bug#12078).
4349 (Info-isearch-search): Change `isearch-string-state' to
4350 `isearch--state-string'.
4351
32ac3a6b
GM
43522012-08-08 Glenn Morris <rgm@gnu.org>
4353
4354 * language/persian.el: Remove file.
f8c1afd5 4355 * language/misc-lang.el: Move unique part of persian.el here.
32ac3a6b
GM
4356 * loadup.el: Remove language/persian.
4357
2c2d9c9c
OF
43582012-08-08 Óscar Fuentes <ofv@wanadoo.es>
4359
4360 * vc/diff-mode.el (diff-remove-trailing-whitespace): New function.
4361
2d79ec42
FEG
43622012-08-08 Fabián Ezequiel Gallina <fgallina@cuca>
4363
4364 * progmodes/python.el Fixed defsubst warning.
4365 (python-syntax-context) Rename from python-info-ppss-context.
4366 (python-syntax-context-type): Rename from
4367 python-info-ppss-context-type.
4368 (python-syntax-comment-or-string-p): Rename from
4369 python-info-ppss-comment-or-string-p.
4370
2bd255dd
JB
43712012-08-08 Jay Belanger <jay.p.belanger@gmail.com>
4372
4373 * calc/calc-misc.el (calc-record-why): Don't record a message twice.
4374
c395097f
AS
43752012-08-07 Andreas Schwab <schwab@linux-m68k.org>
4376
6125983e
AS
4377 * emacs-lisp/lisp-mode.el (eval-defun-1): Handle standard value of
4378 a defcustom that is quoted with backquote.
4379
4250fdf5
SM
4380 * calc/calc-prog.el (math-do-defmath): Use backquote forms.
4381 Fix handling of interactive spec when the body uses return.
651eaf36
AS
4382 (math-do-arg-check, math-define-function-body): Use backquote forms.
4383 * calc/calc-ext.el (math-defcache): Likewise.
4384 * calc/calc-rewr.el (math-rwfail, math-rweval): Likewise.
4385 * allout.el (allout-new-exposure): Likewise.
4386 * calc/calcalg2.el (math-tracing-integral): Likewise.
4387 * info.el (Info-last-menu-item): Likewise.
4388 * emulation/vip.el (vip-loop): Likewise.
4389 * textmodes/artist.el (artist-funcall): Likewise.
4390 * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle):
4391 Construct menu-item directly.
4392
4250fdf5
SM
4393 * progmodes/autoconf.el (font-lock-syntactic-keywords):
4394 Don't declare.
c395097f 4395
5fb50dd3
CY
43962012-08-07 Chong Yidong <cyd@gnu.org>
4397
4398 * simple.el (deactivate-mark): Preserve text properties when
4399 saving the primary selection (Bug#8384).
4400
54eea618
KR
44012012-08-07 Kevin Ryde <user42@zip.com.au>
4402
4403 * woman.el (woman0-if): Quietly treat ".if v" as false (Bug#12109).
4404 (woman-parse-numeric-value): On a bad .IP line, issue a warning
4405 and continue processing (Bug#12110).
4406
638eaeb9
SM
44072012-08-06 Stefan Monnier <monnier@iro.umontreal.ca>
4408
4409 * progmodes/cperl-mode.el (cperl-mode): Yet another fix for
4410 syntax-propertize-function (bug#10095).
4411
ea376861
SM
44122012-08-06 Stefan Monnier <monnier@iro.umontreal.ca>
4413
f91b35be
SM
4414 * help-fns.el (help-fns--key-bindings, help-fns--signature)
4415 (help-fns--parent-mode, help-fns--obsolete): New funs, extracted from
4416 describe-function-1.
4417 (describe-function-1): Use them. Move compiler macro after sig.
4418 (help-fns--compiler-macro): Use function-get. Assume we're already in
4419 standard-output. Adjust layout to new call order.
4420
ea376861
SM
4421 * emacs-lisp/cl-macs.el (cl--sm-macroexpand): Fix handling of
4422 re-binding a symbol that has a symbol-macro (bug#12119).
4423
d5be7bd0
MB
44242012-08-06 Mohsen BANAN <libre@mohsen.1.banan.byname.net>
4425
4426 * language/persian.el: New file. (Bug#11812)
4427 * loadup.el: Add language/persian.el.
4428
90749b53
CY
44292012-08-06 Chong Yidong <cyd@gnu.org>
4430
4431 * window.el (window--maybe-raise-frame): New function.
4432 (window--display-buffer): Split off from here.
4433 (display-buffer-reuse-window, display-buffer-pop-up-frame)
4434 (display-buffer-pop-up-window, display-buffer-use-some-window):
4435 Obey an inhibit-switch-frame action alist entry.
4436 (display-buffer): Update doc.
4437
4438 * replace.el (occur-after-change-function): Avoid losing focus by
4439 using the inhibit-switch-frame display parameter (Bug#12139).
4440
ba7b0154
FEG
44412012-08-06 Fabián Ezequiel Gallina <fgallina@cuca>
4442
4443 Make internal shell process buffer names start with space.
4444 * progmodes/python.el (python-shell-make-comint): Add optional
4445 argument INTERNAL.
4446 (run-python-internal): Use it.
4447 (python-shell-internal-get-or-create-process): Check for new
4448 internal buffer names.
4449
5eaeacb5
GM
44502012-08-06 Glenn Morris <rgm@gnu.org>
4451
e296d94b 4452 * eshell/esh-ext.el (eshell/addpath): Use dolist and mapconcat.
5eaeacb5
GM
4453 Do less getting and setting of environment variables.
4454
b7ccbdc2
CY
44552012-08-05 Chong Yidong <cyd@gnu.org>
4456
777fe95e
CY
4457 * proced.el (proced): Add substitution string to docstring to
4458 trigger autoloading of the proced library on C-h f (Bug#1768).
4459
4250fdf5
SM
4460 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
4461 Don't show defvars which have no second argument (Bug#8638).
b7ccbdc2
CY
4462
4463 * imenu.el (imenu-generic-expression): Move documentation here
4464 from imenu--generic-function.
4465 (imenu--generic-function): Refer to imenu-generic-expression.
4466
9e3b7800 44672012-08-05 Vegard Øye <vegard_oye@hotmail.com> (tiny change)
d5c31f1d
VØ
4468
4469 * emulation/viper-init.el (viper-deflocalvar): Add docstring and
4470 indentation declaration.
4471 (viper-loop): Add indentation declaration (Bug#7025).
4472
e5d9c0d1
CY
44732012-08-05 Chong Yidong <cyd@gnu.org>
4474
f0422feb
CY
4475 * help-fns.el (describe-variable): Add hyperlink for
4476 directory-local variables files. Improve buffer-local and
4477 permanent-local reporting; suggested by MON KEY (Bug#6644).
4478
4479 * help-mode.el (help-dir-local-var-def): New button type.
4480
e5d9c0d1
CY
4481 * files.el (kill-buffer-hook): Provide a defvar.
4482
a4f2deaa
GM
44832012-08-05 Glenn Morris <rgm@gnu.org>
4484
4485 * eshell/esh-ext.el (eshell/addpath):
4486 Also update eshell-path-env. (Bug#12013)
4487
a9dd5754
CY
44882012-08-05 Chong Yidong <cyd@gnu.org>
4489
a4f2deaa 4490 * wdired.el (wdired-mode, wdired-change-to-wdired-mode): Doc fixes.
615b0bf0 4491
d014c740
CY
4492 * fringe.el (fringe-styles): Add docstring.
4493 (fringe--check-mode): New function.
4494 (set-fringe-mode, set-fringe-style): Use it.
4495 (fringe-mode, set-fringe-style): Doc fixes (Bug#6480).
4496
a9dd5754
CY
4497 * files.el (set-auto-mode): Fix invalid setq call.
4498
7c2dc8bd
SM
44992012-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
4500
4501 * isearch.el: Misc simplification; use defstruct.
4502 (isearch-mode-map): Dense maps now work like sparse ones.
4503 (isearch--state): New defstruct.
4504 (isearch-string-state, isearch-message-state, isearch-point-state)
4505 (isearch-success-state, isearch-forward-state)
4506 (isearch-other-end-state, isearch-word-state, isearch-error-state)
4507 (isearch-wrapped-state, isearch-barrier-state)
4508 (isearch-case-fold-search-state, isearch-pop-fun-state): Remove,
4509 replaced by defstruct's accessors.
4510 (isearch--set-state): Rename from isearch-top-state and change
4511 calling convention.
4512 (isearch-push-state): Use new isearch--get-state.
4513 (isearch-toggle-word): Disable regexp when enabling word.
4514 (isearch-message-prefix): Remove unused arg _c-q-hack.
4515 (isearch-message-suffix): Remove unused arg _ellipsis.
4516
7fcc0070
AS
45172012-08-04 Andreas Schwab <schwab@linux-m68k.org>
4518
4519 * simple.el (list-processes--refresh): For a server use :host or
4520 :local as the address.
97ad0769 4521 (list-processes): Doc fix.
7fcc0070 4522
a11035b8 45232012-08-04 Michal Nazarewicz <mina86@mina86.com>
00340faf
MN
4524
4525 * lisp/mpc.el: Support password in host argument.
4526 (mpc--proc-connect): Parse and use new password element.
4527 Set mpc-proc variable instead of returning process.
4528 (mpc-proc): Adjust accordingly.
4529
6dad7178
EZ
45302012-08-03 Eli Zaretskii <eliz@gnu.org>
4531
18949c2f
EZ
4532 * whitespace.el (whitespace-display-mappings): Use Unicode
4533 codepoints, instead of emacs-mule codepoints. See
4534 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-07/msg00366.html
4535 for the details.
4536
6dad7178
EZ
4537 * files.el (file-truename): Don't skip symlink-chasing part on
4538 windows-nt. Incorporate the resolution of 8+3 short aliases on
4250fdf5
SM
4539 Windows into the loop that recursively chases symlinks.
4540 Compare directory and its parent case-insensitively on MS-Windows and
6dad7178
EZ
4541 MS-DOS.
4542
385b0198
CY
45432012-08-03 Chong Yidong <cyd@gnu.org>
4544
6200f3c4
CY
4545 * menu-bar.el (menu-bar-tools-menu): Remove PCL-CVS.
4546
385b0198
CY
4547 * sort.el (sort-regexp-fields): Doc fix.
4548
b9e74744
TH
45492012-08-03 Tassilo Horn <tsdh@gnu.org>
4550
4551 * textmodes/reftex.el (reftex-compile-variables): Make keyvals
4552 labels regex position point at the expected place.
4553
41013cb4
MK
45542012-08-03 MON KEY <monkey@sandpframing.com>
4555
4556 * net/imap.el (imap-interactive-login, imap-authenticate)
4557 (imap-mailbox-lsub, imap-mailbox-list)
4558 (imap-mailbox-status-asynch, imap-mailbox-acl-delete)
4559 (imap-fetch, imap-message-flag-permanent-p, imap-envelope-from)
4560 (imap-parse-response): Doc fix.
4561
0ffee616
JT
45622012-08-03 João Távora <joaotavora@gmail.com>
4563
4564 * textmodes/tex-mode.el (latex-forward-sexp): Terminate the loop
4565 if sexp scanning does not move point (Bug#5734).
4566
cfcc9cc8
TH
45672012-08-02 Tassilo Horn <tsdh@gnu.org>
4568
4569 * textmodes/reftex-vars.el (reftex-default-label-alist-entries):
4570 Add listings, minted, and ctable packages.
4571 (reftex-label-alist-builtin): Move listings, minted, and ctable
4572 entries before LaTeX.
a01bbb84 4573 (reftex-label-alist): Docfix.
cfcc9cc8 4574
66ec2442
BG
45752012-08-02 Bastien Guerry <bzg@gnu.org>
4576
4577 * replace.el (occur): Fix docstring (bug#12122).
4578
837b365b
GM
45792012-08-02 Glenn Morris <rgm@gnu.org>
4580
4581 * emacs-lisp/authors.el (authors-renamed-files-alist): Add ms-w32.h.
4582
e098de97
PE
45832012-08-02 Paul Eggert <eggert@cs.ucla.edu>
4584
4585 Obsolete alias inactivate-current-input-method-function (Bug#10150).
4586 * international/mule-cmds.el: Create
4587 inactivate-current-input-method-function as an obsolete alias for
4588 deactivate-current-input-method-function. See Katsumi Yamaoka in
4589 <http://bugs.gnu.org/10150#46>.
4590
a0f95636
JB
45912012-08-01 Jay Belanger <jay.p.belanger@gmail.com>
4592
4593 * calc/calc-mode.el (calc-set-simplify-mode): Use `cond' instead
4594 of nested `if's.
4595
0d26d7c4
GM
45962012-08-01 Glenn Morris <rgm@gnu.org>
4597
4598 * progmodes/autoconf.el (autoconf-definition-regexp):
4599 Add AH_TEMPLATE, adjust submatch numbering.
4600 (autoconf-font-lock-keywords, autoconf-imenu-generic-expression)
4601 (autoconf-current-defun-function): Update for above change.
4602 (autoconf-current-defun-function): First skip to end of current word.
4603
b686ba06
RS
46042012-08-01 Rupert Swarbrick <rswarbrick@gmail.com> (tiny change)
4605
4606 * calendar/cal-html.el (cal-html-insert-agenda-days):
4607 Fix typo. (Bug#12018)
4608
0d49da68
FEG
46092012-07-31 Fabián Ezequiel Gallina <fgallina@cuca>
4610
4611 Shell processes: enhancements to startup and CEDET compatibility.
4612 * progmodes/python.el (python-shell-send-setup-max-wait): Delete var.
4613 (python-shell-make-comint): accept-process-output at startup.
4614 (run-python-internal): Set inferior-python-mode-hook to nil.
4615 (python-shell-internal-get-or-create-process): call sit-for.
4616 (python-preoutput-result): Add obsolete alias.
4617 (python-shell-internal-send-string): Use it.
4618 (python-shell-send-setup-code): Remove call to
4619 accept-process-output.
4620
f1a71c6e
AS
46212012-07-31 Andreas Schwab <schwab@linux-m68k.org>
4622
4623 * buff-menu.el (list-buffers-noselect): Use prefix-numeric-value.
4624 (Bug#12108)
4625
d2605269
JB
46262012-07-31 Jay Belanger <jay.p.belanger@gmail.com>
4627
4628 * calc-mode.el (calc-basic-simplification-mode): Rename from
4629 `calc-limited-simplification-mode'.
4630 (calc-alg-simplification-mode): New function.
fc0c31f8 4631 (calc-set-simplify-mode): Adjust message.
f1a71c6e 4632
d2605269
JB
4633 * calc.el (calc-set-mode-line): Adjust mode line display for
4634 basic simplification mode.
4635
4636 * calc-help.el (calc-m-prefix-help): Update help message.
4637
4638 * calc-ext.el (calc-init-extensions): Add bindings and autoloads
4639 for `calc-basic-simplify-mode' and `calc-alg-simplify-mode'.
4640
a3827a43
BG
46412012-07-31 Bastien Guerry <bzg@gnu.org>
4642
4643 * man.el (man): Fix comment. (bug#12101)
4644
502e3f89
MR
46452012-07-31 Martin Rudalics <rudalics@gmx.at>
4646
4647 * window.el (switch-to-prev-buffer, switch-to-next-buffer):
4648 Don't return a non-nil value when no suitable buffer was found.
4649
d7714961
FEG
46502012-07-31 Fabián Ezequiel Gallina <fgallina@cuca>
4651
4652 * progmodes/python.el (run-python-internal): Disable font lock for
4653 internal shells.
4654
1f45e27e
SM
46552012-07-30 Stefan Merten <smerten@oekonux.de>
4656
70efc5c9 4657 * textmodes/rst.el: Silence `checkdoc-ispell'.
1f45e27e
SM
4658 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
4659 (rst-official-version, rst-official-cvs-rev)
4660 (rst-package-emacs-version-alist): Update to upstream V1.3.1.
4661 (rst-mode-map): New key binding.
4662
0aee6912
PE
46632012-07-30 Paul Eggert <eggert@cs.ucla.edu>
4664
4665 Update .PHONY listings in makefiles.
4666 * Makefile.in (.PHONY): Add all, doit, custom-deps, finder-data,
4667 autoloads, update-subdirs, updates, bzr-update, update-authors,
4668 compile-onefile, compile-calc, backup-compiled-files,
4669 compile-after-backup, compile-one-process, mh-autoloads,
4670 bootstrap-clean, distclean, maintainer-clean.
4671
9052f9f0
JB
46722012-07-29 Jay Belanger <jay.p.belanger@gmail.com>
4673
1823ac5a
JB
4674 * calc/calc.el (calc-simplify-mode): Make 'alg the default value.
4675 (calc-set-mode-line): Don't display "AlgSimp ".
4676
4677 * calc/calc-mode.el (calc-alg-simplify-mode): Remove function.
4678 (calc-lim-simplify-mode): New function.
4679 (calc-set-simplify-mode): Default to 'alg.
4680 (calc-default-simplify-mode): Make algebraic simplifications
4681 the default.
4682
4683 * calc/calc-ext.el (calc-init-extensions): Remove binding for
4684 `calc-alg-simplify-mode'. Add binding for `calc-lim-simplify-mode'.
4685
8d7c7eed 4686 * calc/calc-help.el (calc-m-prefix-help): Change messages to
4b337409
JB
4687 indicate new simplification modes.
4688
1823ac5a
JB
4689 * calc/README: Mention new default simplification mode.
4690
9052f9f0
JB
4691 * calc/calc.el (math-normalize-error): New variable.
4692 (math-normalize): Set `math-normalize-error' to t
4693 when there's an error.
4694
4695 * calc/calc-alg.el (math-simplify): Don't simplify when
4696 `math-normalize' returns an error.
4697
20ba0cb4
EZ
46982012-07-29 Eli Zaretskii <eliz@gnu.org>
4699
4700 * international/mule-cmds.el (set-locale-environment): Revert last
4701 change, since display-graphic-p returns nil when this function is
4702 called during startup. Instead...
4703
4704 * term/w32console.el (terminal-init-w32console): ...setup the
4705 keyboard and terminal encoding for TTY sessions here. (Bug#12082)
4706
a5dcc929
JL
47072012-07-29 Juri Linkov <juri@jurta.org>
4708
4709 * simple.el (goto-line): Don't display default line number in the
4710 prompt because it should be displayed by `read-number' (bug#9952).
4711 Add the current line number to the defaults of `goto-line' to
4712 allow its easier modification by users with `M-n' (bug#9201).
4713
4714 * subr.el (read-number): Support multiple default values like in
4715 other minibuffer reading functions. Replace `read' with
4716 `string-to-number' for consistency with `number-to-string'.
4717
72b255c7
PE
47182012-07-29 Paul Eggert <eggert@cs.ucla.edu>
4719
4720 deactive->inactive, inactivate->deactivate spelling fixes (Bug#10150)
4721 * emulation/viper-init.el (viper-deactivate-input-method-action):
4722 Rename from viper-inactivate-input-method-action.
4723 (viper-deactivate-input-method):
4724 Rename from viper-inactivate-input-method.
4725 * follow.el (follow-inactive-menu): Rename from follow-deactive-menu.
4726 * international/mule-cmds.el (deactivate-input-method):
4727 Rename from inactivate-input-method.
4728 Also run input-method-deactivate-hook.
4729 (deactivate-current-input-method-function):
4730 Rename from inactivate-current-input-method-function.
4731 (input-method-deactivate-hook): New hook.
4732 (input-method-inactivate-hook): Mark obsolete.
bb6eb9fc
PE
4733 (inactivate-input-method): Mark obsolete.
4734
72b255c7
PE
4735 * international/quail.el (quail-activate):
4736 Also run quail-deactivate-hook.
4737 (quail-deactivate): Rename from quail-inactivate.
4738 * international/robin.el (robin-activate):
4739 Also run robin-deactivate-hook.
4740 (robin-deactivate): Rename from robin-inactivate.
4741
2549c068
CY
47422012-07-29 Chong Yidong <cyd@gnu.org>
4743
4744 * simple.el (indicate-copied-region): New function.
4745 (kill-ring-save): Split off from here.
4746
4747 * rect.el (copy-rectangle-as-kill): Call indicate-copied-region.
4748 (kill-rectangle): Set deactivate-mark to t on read-only error.
4749
4750 * register.el (copy-to-register, copy-rectangle-to-register):
4751 Deactivate the mark, and use indicate-copied-region (Bug#10056).
4c478e6b
JL
4752 (append-to-register, prepend-to-register): Call indicate-copied-region.
4753
47542012-07-29 Juri Linkov <juri@jurta.org>
17711ed9
JL
4755
4756 * simple.el (async-shell-command-buffer): New defcustom.
4757 (shell-command): Use it. (Bug#4719)
4758
01bd1b0d
EZ
47592012-07-28 Eli Zaretskii <eliz@gnu.org>
4760
4761 * international/mule-cmds.el (set-locale-environment): In a
4762 console session on MS-Windows, set up keyboard and terminal
4763 encoding from the OEM codepage, not the ANSI codepage.
4764 (Bug#12055)
4765
a55739d3
CY
47662012-07-28 Chong Yidong <cyd@gnu.org>
4767
4768 * progmodes/gdb-mi.el (gdb-place-breakpoints): Fix the call to
4769 gdb-get-location.
4770
0e1a094f 47712012-07-28 Leo Liu <sdl.web@gmail.com>
9a0f8f2e
LL
4772
4773 * progmodes/cc-menus.el (cc-imenu-objc-function): Avoid leaving nil in
4774 the alist (bug#12029).
4775
20329d73
EZ
47762012-07-28 Eli Zaretskii <eliz@gnu.org>
4777
4778 * makefile.w32-in (custom-deps, finder-data, updates, compile)
4779 (compile-always, compile-first)
4780 ($(lisp)/calendar/cal-loaddefs.el)
4781 ($(lisp)/calendar/diary-loaddefs.el)
4782 ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
4783 ($(lisp)/net/tramp-loaddefs.el, bootstrap)
4784 ($(lisp)/progmodes/cc-mode.elc): Depend on $(lisp)subdirs.el,
4785 instead of on update-subdirs.
4786 (bootstrap-clean): Delete $(lisp)/subdirs.el.
4787
345a2258
CY
47882012-07-28 Chong Yidong <cyd@gnu.org>
4789
1eee6341
CY
4790 * vc/vc.el (vc-root-diff, vc-print-root-log): Prompt for a
4791 directory if vc-deduce-backend returns nil (Bug#7350).
4792
345a2258
CY
4793 * simple.el (delete-trailing-lines): New option.
4794 (delete-trailing-whitespace): Obey it (Bug#11879).
4795
049a0936
DE
47962012-07-28 David Engster <deng@randomsample.de>
4797
4798 * xml.el (xml-node-name, xml-parse-file, xml-parse-region):
4799 Explanation of new 'symbol-qnames feature in doc-strings.
4800 (xml-maybe-do-ns): Return expanded names as plain symbols if
4801 'symbol-qnames was provided in XML-NS argument (Bug#11916).
4802 (xml-parse-tag-1): Deal with new definition of PARSE-NS argument.
4803
aa81af71
FEG
48042012-07-27 Fabián Ezequiel Gallina <fgallina@cuca>
4805
4806 Consistent completion in inferior python with emacs -nw.
4807 * progmodes/python.el (inferior-python-mode): replace "<tab>"
4808 binding in inferior-python-mode-map with "\t".
4809 (python-shell-completion-complete-at-point)
4810 (python-completion-complete-at-point): Remove interactive spec.
4811
e827b1eb
JB
48122012-07-27 Jay Belanger <jay.p.belanger@gmail.com>
4813
4814 * calc/calccomp.el (math-compose-expr): Undo previous change.
4815
a90dfb95
FEG
48162012-07-27 Fabián Ezequiel Gallina <fgallina@cuca>
4817
4250fdf5 4818 * progmodes/python.el (python-mode-map): Add keybinding for
a90dfb95
FEG
4819 run-python.
4820 (python-shell-make-comint): Fix pop-to-buffer call.
4821 (run-python): Autoload. New arg SHOW.
4822 (python-shell-get-or-create-process): Do not pop python process
4823 buffer.
4824
32770973 48252012-07-27 Michael Albinus <michael.albinus@gmx.de>
1c6ef030
MA
4826
4827 * notifications.el (notifications-on-action-signal)
4828 (notifications-on-closed-signal): Use also the bus address for the map.
4829 (notifications-notify, notifications-close-notification)
fc0c31f8 4830 (notifications-get-capabilities): Add optional argument BUS.
1c6ef030 4831
86332df2
TH
48322012-07-27 Tassilo Horn <tsdh@gnu.org>
4833
4250fdf5
SM
4834 * textmodes/reftex-vars.el (reftex-label-alist-builtin):
4835 Add support for the lstlisting and minted environments, and for the
86332df2
TH
4836 ctable macro.
4837 * textmodes/reftex.el (reftex-compile-variables): Also recognize
4838 labels written in keyvals syntax.
4839
ca1302a4
JB
48402012-07-27 Jay Belanger <jay.p.belanger@gmail.com>
4841
4842 * calc/calccomp.el (math-compose-expr): Use parentheses when
4843 there is a product in the denominator of a fraction.
4844
f8b91036
EZ
48452012-07-26 Eli Zaretskii <eliz@gnu.org>
4846
4847 * makefile.w32-in ($(lisp)/calendar/cal-loaddefs.el)
4848 ($(lisp)/calendar/diary-loaddefs.el)
4849 ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
4250fdf5
SM
4850 ($(lisp)/net/tramp-loaddefs.el): Depend on update-subdirs.
4851 Fixes failures in parallel bootstrap because subdirs.el is being
f8b91036
EZ
4852 rewritten while the autoload files are built at the same time,
4853 which needs to load subdirs.el.
4854
c8e5a42c
MR
48552012-07-26 Martin Rudalics <rudalics@gmx.at>
4856
4857 * mouse.el (popup-menu): Fix doc-string and re-indent code.
4858 (mouse-drag-line): Don't exit tracking when a switch-frame or
4859 switch-window event occurs (Bug#12006).
4860
670d85ea
SM
48612012-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
4862
4863 * mouse.el (popup-menu): Fix last change.
4864
7abaf5cc
SM
48652012-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
4866
4867 Autoload from Lisp with more care. Follow aliases when looking for
4868 function properties.
4869 * subr.el (autoloadp): New function.
4870 (symbol-file): Use it.
4871 (function-get): New function.
4872 * emacs-lisp/macroexp.el (macroexp--expand-all): Use function-get and
4873 autoload-do-load.
4874 * emacs-lisp/lisp-mode.el (lisp-font-lock-syntactic-face-function)
4875 (lisp-indent-function):
4876 * emacs-lisp/gv.el (gv-get):
4877 * emacs-lisp/edebug.el (get-edebug-spec, edebug-basic-spec):
4878 * emacs-lisp/byte-opt.el (byte-optimize-form):
4879 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
4880 * emacs-lisp/autoload.el (make-autoload, autoload-print-form):
4881 Use function-get.
4882 * emacs-lisp/cl.el: Don't propagate function properties any more.
4883
4884 * speedbar.el (speedbar-add-localized-speedbar-support):
4885 * emacs-lisp/disass.el (disassemble-internal):
4886 * desktop.el (desktop-load-file):
4887 * help-fns.el (help-function-arglist, find-lisp-object-file-name)
4888 (describe-function-1):
4889 * emacs-lisp/find-func.el (find-function-noselect):
4890 * emacs-lisp/elp.el (elp-instrument-function):
4891 * emacs-lisp/advice.el (ad-has-proper-definition):
4892 * apropos.el (apropos-safe-documentation, apropos-macrop):
4893 * emacs-lisp/debug.el (debug-on-entry):
4894 * emacs-lisp/cl-macs.el (cl-compiler-macroexpand):
4895 * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
4896 * calc/calc.el (name): Use autoloadp & autoload-do-load.
4897
b1364986
AA
48982012-07-25 Alp Aker <alp.tekin.aker@gmail.com>
4899
4900 * international/mule-cmds.el (ucs-insert): Mark it as an obsolete
4901 function, not an obsolete variable (Bug#12046).
4902
67ada220
AS
49032012-07-25 Andreas Schwab <schwab@linux-m68k.org>
4904
4905 * faces.el (face-spec-reset-face): Fix last change. (Bug#12042)
4906
f08088e3
CS
49072012-07-25 Christopher Schmidt <christopher@ch.ristopher.com>
4908
4909 * emacs-lisp/pp.el (pp-display-expression): Select old selected
4910 window only if it is still live (Bug#12034).
4911
8137e7b3
MR
49122012-07-25 Martin Rudalics <rudalics@gmx.at>
4913
4914 * subr.el (redirect-frame-focus): Add advertised calling
4915 convention (Bug#12030).
4916
09ae5da1
PE
49172012-07-25 Paul Eggert <eggert@cs.ucla.edu>
4918
4919 Prefer typical American spelling for "acknowledgment".
4920 * vc/add-log.el (change-log-acknowledgment): Rename from
4921 change-log-acknowledgement, with an alias for the old name.
4922
3cc5a3a8
JB
49232012-07-25 Jay Belanger <jay.p.belanger@gmail.com>
4924
4925 * calc-alg.el (math-simplify-divide): Don't cross multiply
4926 in an equation when the lhs is a variable.
4927
b7af7f62
JD
49282012-07-24 Julien Danjou <julien@danjou.info>
4929
4930 * net/netrc.el (netrc-find-service-number, netrc-store-data):
4931 Remove, unused.
4932
ec1b09b1
EZ
49332012-07-23 Eli Zaretskii <eliz@gnu.org>
4934
4935 * startup.el (command-line): Don't display an empty user name in
4936 the error message about non-existent home directory, when
4937 init-file-user was set to an empty string. See
4938 http://lists.gnu.org/archive/html/bug-gnu-emacs/2012-07/msg00835.html
4939 for the details and context.
4940
b525fd8a
VB
49412012-07-22 Vincent Belaïche <vincentb1@users.sourceforge.net>
4942
4943 * ses.el (ses-cell-formula-aset): New macro.
4944 (ses-cell-references-aset): New macro.
4945 (ses-cell-p): New function.
4946 (ses-rename-cell): Do no longer rely on complex operations like
4947 ses-cell-set-formula or ses-set-cell to change the cell and handle
4948 the undo at the same time, but rather use lower level new macros
4949 `ses-cell-formula-aset' and `ses-cell-references-aset' and handle
fc0c31f8 4950 the undo directly. Refresh the mode line.
b525fd8a 4951
2c73e345
LL
49522012-07-21 Leo Liu <sdl.web@gmail.com>
4953
670d85ea
SM
4954 * progmodes/cc-cmds.el (c-defun-name):
4955 Use match-string-no-properties instead for consistency.
2c73e345 4956
542dfbde
LL
49572012-07-20 Leo Liu <sdl.web@gmail.com>
4958
3646bcd6
LL
4959 * progmodes/cc-cmds.el (c-defun-name): Handle objc selectors properly.
4960 (Bug#7879)
4961
542dfbde
LL
4962 * progmodes/cc-langs.el (c-symbol-start): Include char _ (bug#11986).
4963
25721031
CY
49642012-07-20 Stefan Monnier <monnier@iro.umontreal.ca>
4965
4966 * userlock.el, emacs-lisp/map-ynp.el: Declare part of `emacs' package.
4967 * progmodes/bug-reference.el, misearch.el: Provide themselves
4968 (bug#11915).
4969
4970 * progmodes/cperl-mode.el (cperl-unwind-to-safe): Don't inf-loop at end
4971 of narrowed buffer (bug#11966).
4972
316e68a7
VB
49732012-07-20 Vincent Belaïche <vincentb1@users.sourceforge.net>
4974
4975 * ses.el (ses-rename-cell): Set new name also in reference list of
4976 cells of which the renamed cell depends.
4977
bbf0e7d9
MY
49782012-07-20 Masatake YAMATO <yamato@redhat.com>
4979
4980 * term/x-win.el (x-menu-bar-open): Use `frame-parameter'
4981 to check whether menu-bar is shown or not. If not shown,
4982 show the menu-bar as a popup menu instead of using tmm.
4983 * mouse.el (popup-menu): Accept `point' as `position' argument.
4984
c28662a8
DG
49852012-07-20 Dmitry Gutov <dgutov@yandex.ru>
4986
4987 * progmodes/ruby-mode.el (ruby-parse-partial): No error when end
4988 up inside string symbol literal (bug#11923).
4989
87ab808f
EZ
49902012-07-20 Eli Zaretskii <eliz@gnu.org>
4991
4992 * startup.el (fancy-startup-text): Read the whole tutorial, not
4993 just its first 256 bytes. Prevents gibberish in display of the
4994 tutorial title.
4995
89dea803
DA
49962012-07-20 Dmitry Antipov <dmantipov@yandex.ru>
4997
4998 Drop idle buffer compaction due to an absence of the
4999 proved efficiency.
5000 * compact.el: Remove.
5001
8a4e6db8
SS
50022012-07-19 Sam Steingold <sds@gnu.org>
5003
5004 * vc/vc-dispatcher.el (vc-compilation-mode): Add, based on
5005 vc-bzr-pull & vc-bzr-merge-branch.
5006 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch): Use it.
5007 (vc-bzr-error-regexp-alist): Rename from vc-bzr-error-regex-alist
5008 for consistency with compilation-error-regexp-alist.
5009 * vc/vc-git.el (vc-git-error-regexp-alist): Add.
5010 (vc-git-pull, vc-git-merge-branch): Call vc-compilation-mode.
5011 * vc/vc-hg.el (vc-hg-error-regexp-alist): Add.
5012 (vc-hg-pull, vc-hg-merge-branch): Call vc-compilation-mode.
5013
5db81e33
SM
50142012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
5015
5016 * emacs-lisp/chart.el: Use lexical-binding.
5017 (chart-emacs-storage): Don't hardcode the list of entries.
5018
5b835e1d
DA
50192012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
5020
5021 Next round of tweaks caused by Fgarbage_collect changes.
5022 * emacs-lisp/chart.el (chart-emacs-storage): Adjust again.
5023
9cd47b72
DA
50242012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
5025
5026 Compact buffers when idle.
5027 * compact.el: New file.
5028
1d6fc0df
SM
50292012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
5030
5031 * subr.el (eventp): Presume that if it looks vaguely like an event,
5032 it's an event (bug#10190).
5033
1d29cc7d
FEG
50342012-07-19 Fabián Ezequiel Gallina <fgallina@cuca>
5035
5036 Enhancements to ppss related code (thanks Stefan).
5037 * progmodes/python.el (python-indent-context)
5038 (python-indent-calculate-indentation, python-indent-dedent-line)
5039 (python-indent-electric-colon, python-nav-forward-block)
5040 (python-mode-abbrev-table)
1d6fc0df 5041 (python-info-assignment-continuation-line-p): Simplify checks
1d29cc7d
FEG
5042 for ppss context.
5043 (python-info-continuation-line-p): Cleanup.
5044 (python-info-ppss-context): Do not catch 'quote.
5045 (python-info-ppss-context-type)
5046 (python-info-ppss-comment-or-string-p): Simplify.
5047
d583cbe6
FEG
50482012-07-18 Fabián Ezequiel Gallina <fgallina@cuca>
5049
5050 * progmodes/python.el: Enhancements to eldoc support.
5051 (python-info-current-symbol): New function.
5052 (python-eldoc-at-point): Use python-info-current-symbol.
5053 (python-info-current-defun): Fix cornercase on first defun scan.
5054 (python-eldoc--get-doc-at-point): Use python-info-current-symbol
5055 and signal error when no inferior python process is available.
5056
eceb6feb
DG
50572012-07-18 Dmitry Gutov <dgutov@yandex.ru>
5058
5059 * vc/vc-git.el (vc-git-state): Don't call `vc-git-registered',
5060 assume it's always t.
5061 (vc-git-registered): Remove caching, the function is only called
5062 once.
5063 (vc-git-branches): Use `vc-git--call' instead of `call-process'.
5064
4c8ff0fe
CY
50652012-07-18 Chong Yidong <cyd@gnu.org>
5066
19fb7186
CY
5067 * subr.el (last-input-char, last-command-char): Remove (Bug#9195).
5068
9587c688
CY
5069 * simple.el (count-words): Report on narrowing (Bug#9959).
5070
0fe776a1
CY
5071 * bindings.el: Bind M-= to count-words.
5072
4c8ff0fe
CY
5073 * faces.el (face-spec-reset-face): Handle reverse video (Bug#4238).
5074
7f5331cc
MY
50752012-07-18 Masatake YAMATO <yamato@redhat.com>
5076
5077 * progmodes/sh-script.el (sh-imenu-generic-expression):
5078 Capture a function with `function' keyword and without parentheses
5079 like "function FOO" (bug#11856).
5080
2dc2a609
TH
50812012-07-18 Tassilo Horn <tassilo@member.fsf.org>
5082
5083 * window.el (split-window-sensibly): Make WINDOW argument
5084 optional.
5085
439f7677
CY
50862012-07-18 Chong Yidong <cyd@gnu.org>
5087
9aeb25a6
CY
5088 * subr.el (keyboard-translate): Doc fix (Bug#7261).
5089
439f7677
CY
5090 * isearch.el (isearch-mode-map): Handle C-x 8 key translations,
5091 and make C-x 8 RET exit isearch (Bug#11439).
5092
5093 * international/iso-transl.el: Move isearch-mode-map key
5094 definitions to isearch.el.
5095
12999ea8
SM
50962012-07-18 Stefan Monnier <monnier@iro.umontreal.ca>
5097
5098 * emacs-lisp/eieio.el: Adapt further to gv.el (bug#11970).
5099 (eieio-defclass): Use gv-define-setter when possible.
5100
3ab6e069
DA
51012012-07-18 Dmitry Antipov <dmantipov@yandex.ru>
5102
5103 Reflect recent changes in Fgarbage_collect.
5104 * emacs-lisp/chart.el (chart-emacs-storage): Change to
5105 reflect new format of data returned by Fgarbage_collect.
5106
0a60bc10
FEG
51072012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
5108
5109 New utility functions + python-info-ppss-context fix (Bug#11910).
5110 * progmodes/python.el (python-info-beginning-of-block-statement-p)
5111 (python-info-ppss-comment-or-string-p): New functions.
5112 (python-info-ppss-context): Small fix for string check.
5113
6dafa0d5
JL
51142012-07-17 Juri Linkov <juri@jurta.org>
5115
5116 * dired-aux.el (dired-do-async-shell-command): Doc fix.
5117 (dired-do-async-shell-command): Don't add `*' at the end of the
5118 command (Bug#11815).
5119 (dired-do-shell-command): Doc fix.
5120 (dired-shell-stuff-it): Strip the trailing "&" and ";" if any.
5121 Join the individual commands using either "&" or ";" as the
5122 separator depending on the values of these trailing characters.
5123 At the end re-add the trailing "&". (Bug#10598)
5124
5125 * simple.el (async-shell-command): Sync the interactive spec with
5126 `shell-command'. Doc fix.
5127 (shell-command): Doc fix.
5128
b19dd9d1
JL
51292012-07-17 Juri Linkov <juri@jurta.org>
5130
5131 * descr-text.el (describe-char): Fix format args. (Bug#10129)
5132
bcdc27d7 51332012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
7f5331cc 5134
bcdc27d7 5135 Final renames and doc fixes for movement commands (bug#11899).
7f5331cc
MY
5136 * progmodes/python.el (python-nav-beginning-of-statement):
5137 Rename from python-nav-statement-start.
bcdc27d7
FEG
5138 (python-nav-end-of-statement): Rename from
5139 python-nav-statement-end.
5140 (python-nav-beginning-of-block): Rename from
5141 python-nav-block-start.
5142 (python-nav-end-of-block): Rename from python-nav-block-end.
5143
191da00e
FEG
51442012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
5145
7f5331cc
MY
5146 * progmodes/python.el (python-shell-send-string-no-output):
5147 Allow accept-process-output to quit, keeping shell process ready for
191da00e
FEG
5148 future interactions (Bug#11868).
5149
4dc7c8d5 51502012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
aa7aaf8f 5151
88ecaf8f
SM
5152 * emacs-lisp/cl-macs.el (cl-progv): Use a properly prefixed var name.
5153
ef501ef0
SM
5154 * emacs-lisp/elint.el (elint-find-args-in-code):
5155 Use help-function-arglist, so as to handle lexical byte-code.
5156
aa7aaf8f
SM
5157 * progmodes/sh-script.el (sh-syntax-propertize-function): Fix last
5158 change (bug#11826).
5159
45fd731c
SM
51602012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
5161
2143fa32
SM
5162 * progmodes/cc-engine.el (c-forward-sws, c-backward-sws):
5163 Avoid spuriously marking the buffer as modified because of c-is-sws.
5164
efc26dbe
SM
5165 * progmodes/sh-script.el (sh-syntax-propertize-function): Mark "${#VAR"
5166 as not-a-comment (bug#11946).
5167
f5695c9a
SM
5168 * emacs-lisp/macroexp.el (macroexp-let2): Use more informative names
5169 for uninterned vars.
5170
5171 * xt-mouse.el (xterm-mouse-translate-1, xterm-mouse-event-read):
5172 Use read-event since we don't really want to read chars but bytes.
5173
45fd731c
SM
5174 * textmodes/tex-mode.el (tex-font-lock-keywords-1): Highlight not only
5175 $$..$$ but also $..$ using regexps (bug#11953).
5176 Use tex-verbatim for \url and \path.
5177 (tex-font-lock-keywords): Define as defconst like the others.
5178 (tex-common-initialization): Don't use font-lock-syntax-table any more.
5179
ddfc8813
RK
51802012-07-16 René Kyllingstad <Rene@Kyllingstad.com> (tiny change)
5181
5182 * international/mule-cmds.el (ucs-insert): Make it an obsolete
5183 alias for insert-char.
5184
758e556a
FEG
51852012-07-16 Fabián Ezequiel Gallina <fgallina@cuca>
5186
5187 * progmodes/python.el: Simplified imenu implementation.
5188 (python-nav-jump-to-defun): Remove command.
5189 (python-mode-map): Use `imenu' instead.
5190 (python-nav-list-defun-positions-cache)
5191 (python-imenu-include-defun-type, python-imenu-make-tree)
5192 (python-imenu-subtree-root-label, python-imenu-index-alist):
5193 Remove vars.
5194 (python-nav-list-defun-positions, python-nav-read-defun)
5195 (python-imenu-tree-assoc, python-imenu-make-element-tree)
45fd731c
SM
5196 (python-imenu-make-tree, python-imenu-create-index):
5197 Remove functions.
758e556a
FEG
5198 (python-mode): Update to interact with imenu by setting
5199 `imenu-extract-index-name-function' only.
5200
032d23ab
FEG
52012012-07-16 Fabián Ezequiel Gallina <fgallina@cuca>
5202
5203 * progmodes/python.el: Enhancements to navigation commands.
5204 (python-nav-backward-sentence)
5205 (python-nav-forward-sentence): Remove.
5206 (python-nav-backward-statement, python-nav-forward-statement)
5207 (python-nav-statement-start, python-nav-statement-end)
5208 (python-nav-backward-block, python-nav-forward-block)
5209 (python-nav-block-start, python-nav-block-end)
5210 (python-nav-forward-sexp-function)
5211 (python-info-current-line-comment-p)
5212 (python-info-current-line-empty-p): New functions.
5213 (python-indent-context): Use `python-nav-statement-start'.
5214
01795a1b
MA
52152012-07-16 Michael Albinus <michael.albinus@gmx.de>
5216
9328d9aa
MA
5217 * eshell/em-ls.el (eshell/ls): Use `apply'.
5218
5219 * eshell/em-unix.el (eshell/su, eshell/sudo): Apply Tramp's ad-hoc
5220 multi-hops, instead of Tramp internals.
5221
01795a1b
MA
5222 * vc/ediff.el (ediff-directories): Add trailing space to prompts.
5223
5224 * vc/ediff-diff.el (ediff-same-file-contents): Handle the case,
5225 when F1 and F2 are located on different hosts.
5226
63408057
CY
52272012-07-14 Chong Yidong <cyd@gnu.org>
5228
5229 * xt-mouse.el: Implement extended mouse coordinates (Bug#10642).
5230 (xterm-mouse-translate): Move code into xterm-mouse-translate-1.
5231 (xterm-mouse-translate-extended, xterm-mouse-translate-1)
5232 (xterm-mouse--read-event-sequence-1000)
5233 (xterm-mouse--read-event-sequence-1006): New functions. For old
5234 mouse protocol, handle M-mouse-X events correctly.
5235 (xterm-mouse-event): New arg specifying mouse protocol.
5236 (turn-on-xterm-mouse-tracking-on-terminal)
5237 (turn-off-xterm-mouse-tracking-on-terminal): Send DEC 1006
45fd731c
SM
5238 sequence to toggle extended coordinates on newer XTerms.
5239 This appears to be harmless on terminals which do not support this.
63408057 5240
cd276f6e
LL
52412012-07-14 Leo Liu <sdl.web@gmail.com>
5242
28ca98ac
LL
5243 Add fringe bitmap indicators for flymake. (Bug#11253)
5244 * progmodes/flymake.el (flymake-highlight-line): Use fringe bitmaps.
5245 (flymake-make-overlay): New arg BITMAP.
5246 (flymake-error-bitmap, flymake-warning-bitmap)
5247 (flymake-fringe-indicator-position): New user variables.
5248
cd276f6e
LL
5249 * fringe.el: New bitmap exclamation-mark.
5250
04408072
JD
52512012-07-14 Jan Djärv <jan.h.d@swipnet.se>
5252
5253 * progmodes/cc-cmds.el (c-defun-name): Recognize Objective-C methods
5254 also (Bug#7879).
5255
b5cf7fc4
CY
52562012-07-14 Chong Yidong <cyd@gnu.org>
5257
5258 * electric.el (electric-pair-post-self-insert-function): Fix pair
5259 insertion in empty-region case (Bug#11520).
5260
be755c79
RT
52612012-07-14 Chong Yidong <cyd@gnu.org>
5262
45fd731c
SM
5263 * bindings.el: Consolidate ctl-x-r-map bindings.
5264 Bind copy-rectangle-as-kill to C-x r w.
be755c79
RT
5265
5266 * rect.el, register.el: Move bindings to bindings.el.
5267
52682012-07-14 Reuben Thomas <rrt@sc3d.org>
5269
5270 * rect.el (copy-rectangle-as-kill): New command (Bug#739).
5271
7f5b3198
AS
52722012-07-13 Andreas Schwab <schwab@linux-m68k.org>
5273
5274 * emacs-lisp/cl.el (labels): Remove spurious quote. (Bug#11938)
5275
97662200
JB
52762012-07-13 Juanma Barranquero <lekktu@gmail.com>
5277
80185fed
JB
5278 * bindings.el (top): Use `mapc' instead of `mapcar'.
5279
97662200
JB
5280 * loadup.el (top): Remove bogus `if' choice (brought by 2008-06-21T01:38:39Z!monnier@iro.umontreal.ca).
5281
2bb1ae55
MA
52822012-07-13 Michael Albinus <michael.albinus@gmx.de>
5283
5284 * progmodes/sql.el (sql-comint): Suppress the check for program on
5285 remote hosts. Reported by Francis Devereux <francis@devrx.org>.
5286 (Bug#11908)
5287
dea31bd3
CY
52882012-07-13 Chong Yidong <cyd@gnu.org>
5289
5290 * bindings.el: Assign a non-nil permanent-local property to
5291 per-buffer variables which lack a default value (Bug#11930).
5292
5293 * help-fns.el (describe-variable): In the "automatically becomes
5294 local" notice, take note of permanent-local variables.
5295
b68b3337
CY
52962012-07-13 Chong Yidong <cyd@gnu.org>
5297
5298 * files.el (toggle-read-only): Doc fix and code cleanup. New arg
5299 to allow printing the message when called from Lisp.
5300
5301 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
5302 Remove toggle-read-only.
5303
5304 * bs.el (bs-toggle-readonly):
45fd731c
SM
5305 * buff-menu.el (Buffer-menu-toggle-read-only):
5306 Remove with-no-warnings around toggle-read-only.
b68b3337
CY
5307
5308 * ffap.el (ffap--toggle-read-only): Accept a list of buffers.
5309 Remove with-no-warnings around toggle-read-only.
5310 (ffap-read-only, ffap-read-only-other-window)
5311 (ffap-read-only-other-frame): Callers changed.
5312
5313 * help-mode.el: Don't require view package.
5314 (help-mode-finish): Set buffer-read-only instead of calling
5315 toggle-read-only.
5316
5317 * bindings.el (mode-line-toggle-read-only):
5318 * dired.el (dired-toggle-read-only):
5319 * ibuffer.el (ibuffer-do-toggle-read-only): Call toggle-read-only
5320 with non-nil second arg.
5321
5322 * emacs-lisp/eieio-custom.el (eieio-customize-object):
5323 * vc/ediff.el (ediff-set-read-only-in-buf-A): Set buffer-read-only
5324 directly.
5325
56bc1586
EZ
53262012-07-12 Eli Zaretskii <eliz@gnu.org>
5327
5328 * emacs-lisp/bytecomp.el (byte-recompile-directory): Use cl-incf,
5329 not incf.
5330
a464a6c7
SM
53312012-07-11 Stefan Monnier <monnier@iro.umontreal.ca>
5332
5333 More CL cleanups and reduction of use of cl.el.
5334 * woman.el, winner.el, vc/vc-rcs.el, vc/vc-hooks.el, vc/vc-hg.el:
5335 * vc/vc-git.el, vc/vc-dir.el, vc/vc-bzr.el, vc/vc-annotate.el:
5336 * textmodes/tex-mode.el, textmodes/sgml-mode.el, tar-mode.el:
5337 * strokes.el, ses.el, server.el, progmodes/js.el, progmodes/gdb-mi.el:
5338 * progmodes/flymake.el, progmodes/ebrowse.el, progmodes/compile.el:
5339 * play/tetris.el, play/snake.el, play/pong.el, play/landmark.el:
5340 * play/hanoi.el, play/decipher.el, play/5x5.el, nxml/nxml-mode.el:
5341 * net/secrets.el, net/quickurl.el, midnight.el, mail/footnote.el:
5342 * image-dired.el, ibuffer.el, ibuf-macs.el, ibuf-ext.el, hexl.el:
5343 * eshell/eshell.el, eshell/esh-io.el, eshell/esh-ext.el:
5344 * eshell/esh-cmd.el, eshell/em-ls.el, eshell/em-hist.el:
5345 * eshell/em-cmpl.el, eshell/em-banner.el:
5346 * calendar/parse-time.el: Use cl-lib.
5347 * wid-browse.el, wdired.el, vc/vc.el, vc/vc-mtn.el, vc/vc-cvs.el:
5348 * vc/vc-arch.el, tree-widget.el, textmodes/texinfo.el:
5349 * textmodes/refill.el, textmodes/css-mode.el, term/tvi970.el:
5350 * term/ns-win.el, term.el, shell.el, ps-samp.el:
5351 * progmodes/perl-mode.el, progmodes/pascal.el, progmodes/gud.el:
5352 * progmodes/glasses.el, progmodes/etags.el, progmodes/cwarn.el:
5353 * play/gamegrid.el, play/bubbles.el, novice.el, notifications.el:
5354 * net/zeroconf.el, net/xesam.el, net/snmp-mode.el, net/mairix.el:
5355 * net/ldap.el, net/eudc.el, net/browse-url.el, man.el:
5356 * mail/mailheader.el, mail/feedmail.el: Don't use CL.
5357 * ibuf-ext.el (ibuffer-mark-old-buffers): Use float-time.
5358 * eshell/esh-opt.el (eshell-eval-using-options): Quote code with
5359 `lambda' rather than with `quote'.
5360 (eshell-do-opt): Adjust accordingly.
5361 (eshell-process-option): Simplify.
5362 * eshell/esh-var.el:
5363 * eshell/em-script.el: Require `esh-opt' for eshell-eval-using-options.
5364 * emacs-lisp/pcase.el (pcase--dontcare-upats, pcase--let*)
5365 (pcase--expand, pcase--u1): Rename pcase's internal `dontcare' pattern
5366 to `pcase--dontcare'.
5367 * emacs-lisp/cl.el (labels): Mark obsolete.
5368 (cl--letf, letf): Move to cl-lib.
5369 (cl--letf*, letf*): Remove.
5370 * emacs-lisp/cl-lib.el (cl-nth-value): Use defalias.
5371 * emacs-lisp/cl-macs.el (cl-dolist, cl-dotimes): Add indent rule.
5372 (cl-progv): Rewrite.
5373 (cl--letf, cl-letf): Move from cl.el.
5374 (cl-letf*): New macro.
5375 * emacs-lisp/cl-extra.el (cl--progv-before, cl--progv-after): Remove.
5376
7ad4afe1
MA
53772012-07-11 Michael Albinus <michael.albinus@gmx.de>
5378
5379 * net/ange-ftp.el (ange-ftp-cf1): Update the files cache.
5380
9af57756
CY
53812012-07-11 Chong Yidong <cyd@gnu.org>
5382
5383 * vc/log-edit.el (log-edit-vc-backend): New variable.
5384 (log-edit): Doc fix.
5385
5386 * vc/vc-dispatcher.el (vc-log-edit): New args. Use PARAMS
5387 argument of log-edit to set up all local variables.
5388 (vc-start-logentry): New optional arg specifying VC backend.
5389
5390 * vc/vc.el (vc-checkin): Use it.
5391 (vc-deduce-fileset): Handle Log Edit buffers.
5392 (vc-diff): Make first argument optional too.
5393
5394 * vc/log-view.el (log-view-vc-fileset, log-view-vc-backend): Doc fix.
5395
8477cc7a
MA
53962012-07-10 Michael Albinus <michael.albinus@gmx.de>
5397
5398 * eshell/esh-ext.el (eshell-remote-command): Remove remote part of
5399 command, just in case. The function is not needed anymore.
5400 (eshell-external-command): Do not call `eshell-remote-command'.
5401
19faa8e8
SM
54022012-07-10 Stefan Monnier <monnier@iro.umontreal.ca>
5403
f58e0fd5
SM
5404 Reduce use of (require 'cl).
5405 * vc/smerge-mode.el, vc/pcvs.el, vc/pcvs-util.el, vc/pcvs-info.el:
5406 * vc/diff-mode.el, vc/cvs-status.el, uniquify.el, scroll-bar.el:
5407 * register.el, progmodes/sh-script.el, net/gnutls.el, net/dbus.el:
5408 * msb.el, mpc.el, minibuffer.el, international/ucs-normalize.el:
5409 * international/quail.el, info-xref.el, imenu.el, image-mode.el:
5410 * font-lock.el, filesets.el, edmacro.el, doc-view.el, bookmark.el:
5411 * battery.el, avoid.el, abbrev.el: Use cl-lib.
5412 * vc/pcvs-parse.el, vc/pcvs-defs.el, vc/log-view.el, vc/log-edit.el:
5413 * vc/diff.el, simple.el, pcomplete.el, lpr.el, comint.el, loadhist.el:
5414 * jit-lock.el, international/iso-ascii.el, info.el, frame.el, bs.el:
5415 * emulation/crisp.el, electric.el, dired.el, cus-dep.el, composite.el:
5416 * calculator.el, autorevert.el, apropos.el: Don't require CL.
5417 * emacs-lisp/bytecomp.el (byte-recompile-directory, display-call-tree)
5418 (byte-compile-unfold-bcf, byte-compile-check-variable):
5419 * emacs-lisp/byte-opt.el (byte-compile-trueconstp)
5420 (byte-compile-nilconstp):
5421 * emacs-lisp/autoload.el (make-autoload): Use pcase.
5422 * face-remap.el (text-scale-adjust): Simplify pcase patterns.
5423
2519d43a
SM
5424 * emacs-lisp/gv.el (cond): Make it a valid place.
5425 (if): Simplify slightly.
5426
19faa8e8
SM
5427 * emacs-lisp/pcase.el (pcase): Accept self-quoting exps as "upatterns".
5428 (pcase--self-quoting-p): New function.
5429 (pcase--u1): Use it.
5430
c4907a5e
GM
54312012-07-10 Glenn Morris <rgm@gnu.org>
5432
5433 * emacs-lisp/authors.el (authors-fixed-entries):
5434 (authors-renamed-files-alist): Update for configure.in -> configure.ac.
5435
c4444d16
PE
54362012-07-09 Paul Eggert <eggert@cs.ucla.edu>
5437
5438 Rename configure.in to configure.ac (Bug#11603).
5439 * emacs-lisp/authors.el (authors-canonical-file-name):
5440 * progmodes/autoconf.el (autoconf-mode):
5441 Prefer configure.ac to configure.in.
5442
d75be97d
CY
54432012-07-08 Chong Yidong <cyd@gnu.org>
5444
01ac65bd
CY
5445 * mouse.el (mouse-drag-line): Rewrite the track-mouse loop.
5446 Implement the mouse-1-click-follows-link handling properly.
5447
5448 * info.el (Info-link-keymap): Use follow-link mechanism for
5449 header-line links (Bug#374).
5450
d75be97d
CY
5451 * simple.el (deactivate-mark): Do not set the primary selection
5452 if another program has acquired it (Bug#11772).
5453
87a92845 54542012-07-07 Kevin Ryde <user42@zip.com.au>
f0ecdfea
KR
5455
5456 * woman.el (woman-strings): Fix double-quote handling (Bug#1151).
5457 (woman-decode-region): Replace escaped-escapes without destroying
5458 bold or underline (Bug#11552).
87a92845 5459 (woman2-process-escapes): Handle nofill regions (Bug#11591).
f0ecdfea 5460
621b9d6c
CY
54612012-07-07 Chong Yidong <cyd@gnu.org>
5462
5463 * simple.el (yank-pop-change-selection): Doc fix (Bug#11361).
19faa8e8
SM
5464 (interprogram-cut-function, interprogram-paste-function):
5465 Mention that we typically mean the clipboard.
621b9d6c 5466
133a11fc
GM
54672012-07-06 Glenn Morris <rgm@gnu.org>
5468
0d27a45e
GM
5469 * kmacro.el (kmacro-call-macro): Restore repeat message. (Bug#11817)
5470
133a11fc
GM
5471 * files.el (toggle-read-only): Restrict message to interactive use.
5472
07b151f1
MA
54732012-07-06 Michael Albinus <michael.albinus@gmx.de>
5474
5475 * net/tramp.el (tramp-restricted-shell-hosts-alist): New defcustom.
5476
5477 * net/tramp-sh.el (tramp-maybe-open-connection): Handle it.
5478
211b896b
GM
54792012-07-06 Glenn Morris <rgm@gnu.org>
5480
50394322
GM
5481 * Makefile.in (compile-one-process): Rename from "recompile".
5482
211b896b
GM
5483 * Makefile.in (bzr-update): "compile" is the same as "recompile
5484 autoloads", but parallelizable, so use that instead.
5485
4737eec9
DG
54862012-07-06 Dmitry Gutov <dgutov@yandex.ru>
5487
5488 * window.el (quit-window): Always restore window height when
8137e7b3 5489 it's saved in quit-restore parameter (Bug#11810).
4737eec9 5490
226c3633 54912012-07-06 Glenn Morris <rgm@gnu.org>
cb442973
GM
5492
5493 * simple.el (kill-whole-line): Doc tweak.
5494
226c3633 54952012-07-06 Eli Zaretskii <eliz@gnu.org>
93842198
EZ
5496
5497 * files.el (file-relative-name): Compare file names
5498 case-insensitively if on MS-Windows or MS-DOS, or if
5499 read-file-name-completion-ignore-case is non-nil. Don't use
5500 case-fold-search for this purpose. (Bug#11827)
5501
4dc7c8d5
SM
55022012-07-17 Andreas Schwab <schwab@linux-m68k.org>
5503
5504 * calendar/cal-dst.el (calendar-current-time-zone):
5505 Return calendar-current-time-zone-cache if non-nil.
5506
55072012-07-17 Masatake YAMATO <yamato@redhat.com>
226c3633 55082012-07-06 Andreas Schwab <schwab@linux-m68k.org>
3d8b9024 5509
19faa8e8
SM
5510 * calendar/cal-dst.el (calendar-current-time-zone):
5511 Return calendar-current-time-zone-cache if non-nil.
3d8b9024 5512
60198fc9
GM
55132012-07-06 Glenn Morris <rgm@gnu.org>
5514
5515 * Makefile.in (cvs-update): Remove old alias.
5516
957b3189
MA
55172012-07-05 Michael Albinus <michael.albinus@gmx.de>
5518
5519 Sync with Tramp 2.2.6-pre.
5520
5521 * net/tramp.el (tramp-drop-volume-letter): Provide an XEmacs
5522 compatible declaration.
5523
19faa8e8
SM
5524 * net/tramp-cmds.el (tramp-append-tramp-buffers):
5525 Protect `list-load-path-shadows' call.
957b3189
MA
5526
5527 * net/tramp-compat.el (top): Require packages, which aren't
5528 autoloaded anymore for XEmacs. Protect call of
5529 `tramp-file-name-handler' by `tramp-compat-funcall', pacifying the
5530 compiler. Do not require tramp-util.el and tramp-vc.el anymore,
5531 it hurts at least for SXEmacs.
5532 (tramp-compat-temporary-file-directory): In XEmacs, there is no
5533 standard-value for `temporary-file-directory'.
5534
5535 * net/tramp-sh.el (tramp-do-directory-files-and-attributes-with-stat):
5536 Redirect stderr to /dev/null.
5537 (tramp-sh-handle-write-region): uid and gid can be floats.
5538 Reported by Russell Sim <russell.sim@gmail.com>.
5539 (tramp-sh-handle-vc-registered): Hide errors.
5540 (tramp-vc-file-name-handler): Use dummy results for `process-file'
5541 and `start-file-process'.
5542 (tramp-maybe-open-connection): Check also whether `non-essential'
5543 is bound.
5544
566df3fc
CY
55452012-07-04 Chong Yidong <cyd@gnu.org>
5546
5547 * xml.el (xml--parse-buffer): Use xml-syntax-table.
5548 (xml-parse-tag): Likewise, and avoid changing entity tables.
5549 (xml-syntax-table): Define from scratch, making sure not to give
5550 x2000 and other Unicode spaces whitespace syntax, since those are
5551 not spaces in XML.
5552 (xml-parse-fragment): Delete unused function.
5553 (xml-name-start-char-re, xml-name-char-re, xml-name-re)
5554 (xml-names-re, xml-nmtoken-re, xml-nmtokens-re, xml-char-ref-re)
5555 (xml-entity-ref, xml-pe-reference-re)
5556 (xml-reference-re,xml-att-value-re, xml-tokenized-type-re)
5557 (xml-notation-type-re, xml-enumeration-re, xml-enumerated-type-re)
5558 (xml-att-type-re, xml-default-decl-re, xml-att-def-re)
5559 (xml-entity-value-re): Use syntax references in regexps where
5560 possible; no need to define inside a let-binding.
5561 (xml-parse-dtd): Use xml-pe-reference-re.
5562 (xml-entity-or-char-ref-re): New defconst.
5563 (xml-parse-string, xml-substitute-special): Use it.
5564
30eabd7a
SM
55652012-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
5566
0781098a
SM
5567 * files.el (locate-dominating-file): Allow `name' to be a predicate.
5568 (find-file--read-only): New function.
5569 (find-file-read-only, find-file-read-only-other-window)
5570 (find-file-read-only-other-frame): Use it.
5571 (insert-file-contents-literally): Don't `fset'.
5572 (get-free-disk-space): Use locate-dominating-file.
5573
b5771c0d
SM
5574 * emacs-lisp/bytecomp.el (byte-compile): Don't signal an error if the
5575 function is already compiled.
5576
30eabd7a
SM
5577 * xml.el (xml-name-regexp): Remove, redundant. Use xml-name-re.
5578
b4886f6e
MA
55792012-07-03 Michael Albinus <michael.albinus@gmx.de>
5580
5581 * vc/ediff-diff.el (ediff-same-file-contents): Fix it for remote
5582 files on the same host.
5583
b9d82339
AS
55842012-07-03 Andreas Schwab <schwab@linux-m68k.org>
5585
5586 * help-fns.el (describe-function-1): Only call
5587 help-fns--autoloaded-p when we have a file name. (Bug#11848)
5588
a76e6535
CY
55892012-07-03 Chong Yidong <cyd@gnu.org>
5590
5591 * xml.el: Protect parser against XML bombs.
5592 (xml-entity-expansion-limit): New variable.
5593 (xml-parse-string, xml-substitute-special): Use it.
5594 (xml-parse-dtd): Avoid infloop if the DTD is not terminated.
5595
b544fef2
GM
55962012-07-03 Glenn Morris <rgm@gnu.org>
5597
5598 * progmodes/bug-reference.el (bug-reference-bug-regexp):
5599 Allow linking to specific messages in debbugs reports (eg 123#5).
5600
a7aef6f5
CY
56012012-07-02 Chong Yidong <cyd@gnu.org>
5602
5603 * xml.el: Fix entity and character reference expansion, allowing
5604 them to expand into markup as per XML spec.
5605 (xml-default-ns): New variable.
5606 (xml-entity-alist): Use XML spec definitions for lt and amp.
30eabd7a
SM
5607 (xml-parse-region): Make first two arguments optional.
5608 Discard text properties.
5609 (xml-parse-tag-1): New function, spun off from xml-parse-tag.
5610 All callers changed.
a7aef6f5
CY
5611 (xml-parse-tag): Call xml-parse-tag-1. For backward
5612 compatibility, this function should not modify buffer contents.
5613 (xml-parse-tag-1): Fix opening-tag regexp.
5614 (xml-parse-string): Rewrite, handling entity and character
5615 references properly.
5616 (xml--entity-replacement-text): Signal an error if a parameter
5617 entity is undefined.
5618
3df31c9f
SM
56192012-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
5620
2b5208f1
SM
5621 * comint.el (comint-output-filter): Filter out repeated prompts.
5622
3df31c9f
SM
5623 * net/ange-ftp.el (ange-ftp-expand-file-name): Use ange-ftp-ftp-name
5624 and file-name-absolute-p.
5625 (ange-ftp-file-exists-p): Use ange-ftp-file-exists-p for
5626 internal calls.
5627
e3ac1281
PE
56282012-07-02 Paul Eggert <eggert@cs.ucla.edu>
5629
5630 Spelling fixes.
5631 * emacs-lisp/bytecomp.el (byte-compile--reify-function):
5632 Rename from byte-compile--refiy-function. All uses changed.
5633
fbf2e7ad
CY
56342012-07-01 Chong Yidong <cyd@gnu.org>
5635
5636 * xml.el (xml--parse-buffer): New function. Move most of
5637 xml-parse-region here.
5638 (xml-parse-region): Copy region into a temporary buffer, since
5639 parameter entity substitution requires changing buffer contents.
5640 Use xml--parse-buffer.
5641 (xml-parse-file): Use xml--parse-buffer.
5642 (xml-parse-dtd): Make parameter entity substitution work right.
6fe566a7 5643 Use proper regexps for ELEMENT declarations (Bug#7172).
fbf2e7ad 5644
9bf0aa15
GM
56452012-06-30 Glenn Morris <rgm@gnu.org>
5646
bbce2853
GM
5647 * comint.el (follow-comint-scroll-to-bottom): Fix declaration.
5648
9bf0aa15
GM
5649 * net/secrets.el, net/tramp-gvfs.el, net/xesam.el, net/zeroconf.el:
5650 Remove outdated and unnecessary dbus declarations.
5651
0d23c240
EZ
56522012-06-30 Eli Zaretskii <eliz@gnu.org>
5653
5654 * emacs-lisp/timer.el (timer-until): Subtract results of
5655 float-time, instead of taking float-time of the result of
5656 time-subtract, since float-time signals an error for negative time
5657 arguments.
5658
b3218de1
CY
56592012-06-30 Chong Yidong <cyd@gnu.org>
5660
5661 * xml.el (xml-*-re): Convert defvars into defconsts, and
5662 eval-and-compile them so eval-and-compile works on derivatives.
5663 (xml--entity-replacement-text): Use eval-and-comple.
5664
a40c87a0
MA
56652012-06-30 Michael Albinus <michael.albinus@gmx.de>
5666
5667 * vc/vc-git.el (vc-git-registered): Use cache property
5668 `git-registered'.
5669 (vc-git-mode-line-string): Call `vc-working-revision' instead of
5670 `vc-git-working-revision' in order to benefit from the cache.
2bb1ae55 5671 (vc-git-root): Use cache property `git-root'. (Bug#11757)
a40c87a0 5672
ac87de97
DG
56732012-06-30 Dmitry Gutov <dgutov@yandex.ru>
5674
5675 * vc/vc-hooks.el (vc-before-save): Clear cache if file has been
2bb1ae55 5676 removed (likely outside Emacs). (Bug#11757)
ac87de97 5677
ac10fe06
SM
56782012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
5679
3df31c9f 5680 * emacs-lisp/cl-lib.el: Require macroexp.
ac10fe06 5681
7f3fbd5d
CY
56822012-06-30 Chong Yidong <cyd@gnu.org>
5683
5684 * xml.el: Implement XML parameter entities.
5685 (xml-parameter-entity-alist): New variable.
5686 (xml-parse-region, xml-parse-fragment): Preserve previous values
5687 of xml-entity-alist and xml-parameter-entity-alist, so that
5688 repeated calls on different documents do not change them.
5689 (xml-parse-tag): Fix doctype regexp.
5690 (xml--entity-replacement-text): New function.
5691 (xml-parse-dtd): Use it. Don't handle system entities; doing that
5692 properly requires url retrieval which is unimplemented.
5693 (xml-escape-string): Doc fix.
5694
3cfbebba
SM
56952012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
5696
5697 * emacs-lisp/cl-lib.el (cl-pushnew): Use macroexp-let2.
5698
2af3565e
DA
56992012-06-29 Dmitry Antipov <dmantipov@yandex.ru>
5700
5701 * fringe.el (fringe-mode): Doc fix.
5702
929df0e7
MA
57032012-06-29 Michael Albinus <michael.albinus@gmx.de>
5704
5705 * net/ange-ftp.el (ange-ftp-get-passwd): Throw if `non-essential'
5706 is non-nil.
5707 (ange-ftp-ignore-errors-if-non-essential): New defmacro.
5708 (ange-ftp-file-name-all-completions): Use it. (Bug#11808)
5709
c8d3a25c 57102012-06-29 Andreas Schwab <schwab@linux-m68k.org>
3d8b9024 5711
c8d3a25c
GM
5712 * calendar/cal-dst.el (calendar-current-time-zone):
5713 Return calendar-current-time-zone-cache if non-nil.
3d8b9024 5714
c8d3a25c 57152012-06-29 Masatake YAMATO <yamato@redhat.com>
26e8548e
MY
5716
5717 * progmodes/which-func.el (which-func-format):
5718 Add mouse-face. (Bug#11698)
5719
c8d3a25c
GM
57202012-06-29 Leo Liu <sdl.web@gmail.com>
5721
5722 * textmodes/enriched.el (enriched-next-annotation): Use eq (Bug#11528).
5723
57242012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
5725
5726 * minibuffer.el (minibuffer-confirm-exit-commands):
5727 Add completion-at-point (bug#11725).
5728
57292012-06-29 Glenn Morris <rgm@gnu.org>
5730
5731 * progmodes/f90.el (f90-font-lock-keywords-2):
5732 Add some preprocessor elements. (Bug#10499)
5733
57342012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
5735
5736 * progmodes/cperl-mode.el (cperl-update-syntaxification):
5737 Use syntax-propertize (bug#11739).
5738
2badeec4
JB
57392012-06-28 Juanma Barranquero <lekktu@gmail.com>
5740
5741 * emacs-lisp/cl-lib.el (cl-pushnew): Don't capture X (bug#11811).
5742
ae4969c2
JD
57432012-06-28 Julien Danjou <julien@danjou.info>
5744
5745 * term.el (term-handle-colors-array): Use a set of new faces to
5746 color the terminal. Also uses :inverse-video property.
5747 (term-default-fg-color): Set to nil by default, deprecate in favor
5748 of `term-face'.
5749 (term-default-bg-color): Set to nil by default, deprecate in favor
5750 of `term-face'.
5751 (term-current-face): Use `term-face' by default.
5752 (term-bold-attribute): Variable deleted.
5753
1c9bd870
GM
57542012-06-28 Glenn Morris <rgm@gnu.org>
5755
5756 * simple.el (completion-list-mode-finish):
5757 Don't use toggle-read-only. (Since completion-list-mode has
5758 a special mode-class, it wasn't doing anything extra anyway.)
5759
c207708c
SM
57602012-06-28 Stefan Monnier <monnier@iro.umontreal.ca>
5761
5762 Make inlining of other-mode interpreted functions work (bug#11799).
5763 * emacs-lisp/bytecomp.el (byte-compile--refiy-function): New fun.
5764 (byte-compile): Use it to fix compilation of lexical-binding closures.
5765 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Compile the
5766 function, if needed.
5767
3fd56834
SM
57682012-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
5769
04901786
SM
5770 * help-mode.el (help-make-xrefs): Don't just withstand
5771 cyclic-variable-indirection but any error in documentation-property.
5772
1ec4b7b2
SM
5773 * loadup.el (purify-flag): Pre-grow the hash-table to reduce the
5774 memory use.
5775 * bindings.el (bindings--define-key): New function.
5776 * vc/vc-hooks.el, replace.el, menu-bar.el, international/mule-cmds.el:
5777 * emacs-lisp/lisp-mode.el, buff-menu.el, bookmark.el:
5778 * bindings.el: Use it to purecopy define-key bindings.
5779
e309e2a5
SM
5780 * textmodes/rst.el (rst-adornment-faces-alist): Avoid copy-list.
5781
d5c6faf9
SM
5782 * emacs-lisp/cl.el (flet): Mark obsolete.
5783 * emacs-lisp/cl-macs.el (cl-flet*): New macro.
5784 * vc/vc-rcs.el (vc-rcs-annotate-command, vc-rcs-parse):
5785 * progmodes/js.el (js-c-fill-paragraph):
5786 * progmodes/ebrowse.el (ebrowse-switch-member-buffer-to-sibling-class)
5787 (ebrowse-switch-member-buffer-to-derived-class):
5788 * play/5x5.el (5x5-solver): Use cl-flet.
5789
6e9590e2
SM
5790 * emacs-lisp/cl.el: Use lexical-binding. Fix flet (bug#11780).
5791 (cl--symbol-function): New macro.
5792 (cl--letf, cl--letf*): Use it.
5793
3fd56834
SM
5794 * emacs-lisp/easy-mmode.el (easy-mmode-pretty-mode-name):
5795 Strip "toggle-" if any.
5796
35ff222c
GM
57972012-06-27 Glenn Morris <rgm@gnu.org>
5798
1ba6038a
GM
5799 * info.el (Info-default-directory-list): Move here from paths.el.
5800 * paths.el: Remove file, which is now empty.
5801 * loadup.el: No longer load "paths".
5802
0ea0e51b
GM
5803 * custom.el (custom-initialize-delay): Doc fix.
5804
35ff222c
GM
5805 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
5806 * eshell/em-cmpl.el, eshell/em-dirs.el, eshell/em-glob.el:
5807 * eshell/em-hist.el, eshell/em-ls.el, eshell/em-pred.el:
5808 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-script.el:
5809 * eshell/em-smart.el, eshell/em-term.el, eshell/em-unix.el:
5810 * eshell/em-xtra.el: Replace eshell-defgroup with "(progn (defgroup".
5811 * eshell/eshell.el (eshell-defgroup): Remove alias.
5812
c89926a5
CY
58132012-06-27 Chong Yidong <cyd@gnu.org>
5814
5815 * help.el (help-enable-auto-load): New variable.
5816
5817 * help-fns.el (help-fns--autoloaded-p): New function.
5818 (describe-function-1): Refer to a function as "autoloaded" if it
5819 was autoloaded at any time in the past. Perform autoloading if
5820 help-enable-auto-load is non-nil.
5821
cc06e7e7
EZ
58222012-06-26 Eli Zaretskii <eliz@gnu.org>
5823
5824 * makefile.w32-in (compile, compile-always): Depend on
5825 update-subdirs, not on subdirs.el. Otherwise, several different
5826 sub-targets of 'bootstrap' running in parallel could
5827 simultaneously write to subdirs.el, producing a garbled file.
5828
d2c32364
SS
58292012-06-26 Sam Steingold <sds@gnu.org>
5830
5831 * files.el (file-name-base): New convenience function.
0d14cc21
GM
5832 * autoinsert.el, cus-dep.el, doc-view.el, image-dired.el:
5833 * woman.el, eshell/esh-cmd.el, progmodes/ada-xref.el:
5834 * progmodes/cc-defs.el, progmodes/cperl-mode.el:
5835 * progmodes/flymake.el, progmodes/gud.el, progmodes/idlwave.el:
5836 * textmodes/ispell.el, textmodes/reftex-ref.el:
d2c32364
SS
5837 * textmodes/tex-mode.el: Use it.
5838 Did not touch cedet and org because they are maintained elsewhere.
5839
5cf983b2
MR
58402012-06-26 Martin Rudalics <rudalics@gmx.at>
5841
5842 * calendar/calendar.el (calendar-exit): Don't try to delete or
5843 iconify last frame. See:
5844 http://lists.gnu.org/archive/html/emacs-devel/2012-06/msg00372.html
5845
8c4f2952
JD
58462012-06-25 Jim Diamond <Jim.Diamond@AcadiaU.ca> (tiny change)
5847
5848 * server.el (server-process-filter): Remember dir in the
5849 process's `server-client-directory' properties.
5850
772b2e2c
CY
58512012-06-24 Chong Yidong <cyd@gnu.org>
5852
5853 * xml.el (xml-parse-tag): Correctly handle comment embedded in
5854 non-tag text.
5855
711b11e1
JB
58562012-06-23 Juanma Barranquero <lekktu@gmail.com>
5857
5858 * makefile.w32-in (COMPILE_FIRST): Synch with changes in 2012-06-22T21:24:54Z!monnier@iro.umontreal.ca.
5859
dc5d230c
SM
58602012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
5861
5862 * help-fns.el (describe-variable): Don't croak when doc is not found.
5863 * vc/pcvs.el (cvs-retrieve-revision): Avoid toggle-read-only.
5864 * menu-bar.el (menu-bar-line-wrapping-menu): Purecopy a tiny bit more.
5865 * emacs-lisp/syntax.el (syntax-ppss): Simplify with new `if' place.
5866 * emacs-lisp/smie.el (smie-next-sexp): CSE.
5867 * emacs-lisp/macroexp.el (macroexp-let2): Fix edebug spec and avoid
5868 ((lambda ..) ..).
5869 * emacs-lisp/eieio.el (eieio-oref, slot-value): Use simpler defsetf.
5870
136e1c1d
CY
58712012-06-23 Chong Yidong <cyd@gnu.org>
5872
e8c1cabf
CY
5873 * info.el (Info-mouse-follow-link): Accept symbol values of
5874 link-args. Select window; suggested by Gerhard Kahl (Bug#11672).
136e1c1d
CY
5875 (Info-fontify-node): Use Info-link-keymap for all navigation
5876 buttons, with link-args property to perform the desired action.
5877 (Info-link-keymap): Doc fix.
5878 (Info-next-link-keymap, Info-prev-link-keymap)
5879 (Info-up-link-keymap): Delete now-unused keymaps.
5880
0e9e6c6a
CY
58812012-06-23 Chong Yidong <cyd@gnu.org>
5882
05e89fea
CY
5883 * mouse.el (mouse-drag-track): Deactivate the mark before popping.
5884
0e9e6c6a
CY
5885 * progmodes/python.el (python-skeleton-define): Mark abbrevs as
5886 system abbrevs.
5887
5888 * ansi-color.el (ansi-color-apply-on-region): Doc fix.
5889
e33c6771
SM
58902012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
5891
b68581e2
SM
5892 * emacs-lisp/cl-macs.el (cl--make-usage-args): Handle improper lists
5893 (bug#11719).
5894
e33c6771
SM
5895 * minibuffer.el (completion--twq-try): Try to fail more gracefully when
5896 the requote function doesn't work properly (bug#11714).
5897
7117e105
GM
58982012-06-23 Glenn Morris <rgm@gnu.org>
5899
5900 * pcmpl-rpm.el (pcmpl-rpm-packages): Give status messages.
5901
36cec983
SM
59022012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
5903
5904 Further GV/CL cleanups.
5905 * emacs-lisp/gv.el (gv-get): Autoload functions to find their
5906 gv-expander.
5907 (gv--defun-declaration): New function.
5908 (defun-declarations-alist): Use it.
5909 (gv-define-modify-macro, gv-pushnew!, gv-inc!, gv-dec!): Remove.
5910 (gv-place): Autoload.
5911 * emacs-lisp/cl.el (cl--dotimes, cl--dolist): Remember subr.el's
5912 original definition of dotimes and dolist.
5913 * emacs-lisp/cl-macs.el (cl-expr-access-order): Remove unused.
5914 (cl-dolist, cl-dotimes): Use `dolist' and `dotimes'.
5915 * emacs-lisp/cl-lib.el: Move gv handlers from cl-macs to here.
5916 (cl-fifth, cl-sixth, cl-seventh, cl-eighth)
5917 (cl-ninth, cl-tenth): Move gv handler to the function's definition.
5918 * emacs-lisp/cl-extra.el (cl-subseq, cl-get, cl-getf): Move gv handler
5919 to the function's definition.
5920 * Makefile.in (COMPILE_FIRST): Re-order to speed it up by about 50%.
5921 * window.el:
5922 * files.el:
5923 * faces.el:
5924 * env.el: Don't use CL.
5925
d35af63c
PE
59262012-06-22 Paul Eggert <eggert@cs.ucla.edu>
5927
5928 Support higher-resolution time stamps (Bug#9000).
5929
5930 * calendar/time-date.el (with-decoded-time-value): New arg
5931 PICO-SYMBOL in VARLIST. It's optional, for backward compatibility.
5932 (encode-time-value): New optional arg PICO. New type 3.
5933 (time-to-seconds) [!float-time]: Support the new picoseconds
5934 component if it's used.
5935 (seconds-to-time, time-subtract, time-add):
5936 Support ps-resolution time stamps as well.
5937
5938 * emacs-lisp/timer.el (timer): New component psecs. All uses changed.
5939 (timerp): Timer vectors now have length 9, not 8.
5940 (timer--time): Support new-style (4-part) time stamps.
5941 (timer-next-integral-multiple-of-time): Time stamps now have
5942 picosecond resolution, so take a bit more care about rounding.
5943 (timer-relative-time, timer-inc-time): New optional arg psecs.
5944 (timer-set-time-with-usecs): Set psecs to 0.
5945 (timer--activate): Check psecs component, too.
5946
5947 * proced.el (proced-time-lessp): Support ps-resolution stamps.
5948
ac77b21a
SM
59492012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
5950
f143bfe3
SM
5951 * icomplete.el (icomplete-minibuffer-setup, icomplete-completions):
5952 Move the non-essential binding to the post/pre-command-hook where it is
5953 more obviously correct.
5954
ac77b21a
SM
5955 * subr.el (read-passwd): Don't use a history at all.
5956 * savehist.el (savehist-save): Remove password saved accidentally
5957 because of the above bug.
5958
76386c5a
BG
59592012-06-22 Bastien Guerry <bzg@gnu.org>
5960
5961 * files.el (toggle-read-only): Display a message telling whether
5962 the buffer is read-only or not (bug#11726).
5963
2ee3d7f0
SM
59642012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
5965
5966 * emacs-lisp/gv.el: New file.
5967 * subr.el (push, pop): Extend to generalized variables.
5968 * loadup.el (macroexp): Unload if preloaded and uncompiled (bug#11657).
5969 * emacs-lisp/cl-lib.el (cl-pop, cl-push, cl--set-nthcdr): Remove.
5970 * emacs-lisp/cl-macs.el: Require gv. Use gv-define-setter,
5971 gv-define-simple-setter, and gv-define-expander.
5972 Remove setf-methods defined in gv. Rename cl-setf -> setf.
5973 (cl-setf, cl-do-pop, cl-get-setf-method): Remove.
5974 (cl-letf, cl-letf*, cl-define-modify-macro, cl-defsetf)
5975 (cl-define-setf-expander, cl-struct-setf-expander): Move to cl.el.
5976 (cl-remf, cl-shiftf, cl-rotatef, cl-callf, cl-callf2): Rewrite with
5977 gv-letplace.
5978 (cl-defstruct): Don't define setf-method any more.
5979 * emacs-lisp/cl.el (flet): Don't autoload.
5980 (cl--letf, letf, cl--letf*, letf*, cl--gv-adapt)
5981 (define-setf-expander, defsetf, define-modify-macro)
5982 (cl-struct-setf-expander): Move from cl-lib.el.
5983 * emacs-lisp/syntax.el:
5984 * emacs-lisp/ewoc.el:
5985 * emacs-lisp/smie.el:
5986 * emacs-lisp/cconv.el:
5987 * emacs-lisp/timer.el: Rename cl-setf -> setf, cl-push -> push.
5988 (timer--time): Use gv-define-simple-setter.
5989 * emacs-lisp/macroexp.el (macroexp-let2): Rename from macroexp-let²
5990 to avoid coding-system problems in subr.el. Adjust all users.
5991 (macroexp--maxsize, macroexp-small-p): New functions.
5992 * emacs-lisp/bytecomp.el (byte-compile-file): Don't use cl-letf.
5993 * scroll-bar.el (scroll-bar-mode):
5994 * simple.el (auto-fill-mode, overwrite-mode, binary-overwrite-mode)
5995 (normal-erase-is-backspace-mode): Don't use the `eq' place.
5996 * winner.el (winner-configuration, winner-make-point-alist)
5997 (winner-set-conf, winner-get-point, winner-set): Don't abuse letf.
5998 * files.el (locate-file-completion-table): Avoid list*.
5999
c5695d1d
CY
60002012-06-22 Chong Yidong <cyd@gnu.org>
6001
6002 * dired-aux.el (dired-do-create-files): Doc fix (Bug#11327).
6003 (dired-create-files): Doc fix (Bug#11329).
6004 (dired-do-copy): Doc fix (Bug#11334).
6005 (dired-mark-read-string): Doc fix (Bug#11553).
6006
2ee3d7f0
SM
6007 * dired.el (dired-recursive-copies, dired-recursive-deletes):
6008 Doc fix (Bug#11326).
c5695d1d
CY
6009 (dired-make-relative): Doc fix (Bug#11332). Remove unused arg.
6010 (dired-dwim-target): Doc fix.
6011
6012 * wdired.el (wdired-mode): Doc fix.
6013
89b5595a
GM
60142012-06-22 Glenn Morris <rgm@gnu.org>
6015
575db3f1
GM
6016 * pcmpl-rpm.el (pcmpl-rpm-cache): New option.
6017 (pcmpl-rpm-cache-stamp-file): New constant.
6018 (pcmpl-rpm-cache-time, pcmpl-rpm-packages): New variables.
6019 (pcmpl-rpm-packages): Optionally cache list of packages.
6020
a4c8dd51
GM
6021 * pcmpl-rpm.el (pcmpl-rpm): New group.
6022 (pcmpl-rpm-query-options): New option.
6023 (pcmpl-rpm-packages): No need to inline it.
6024 Use pcmpl-rpm-query-options.
6025
89b5595a
GM
6026 * calendar/calendar.el (calendar-in-read-only-buffer):
6027 Avoid some needless mode changes.
6028
e76f0800
CY
60292012-06-21 Chong Yidong <cyd@gnu.org>
6030
6031 * desktop.el (desktop-read): Don't prompt if daemon (Bug#11674).
6032 (desktop-path): Remove . from the default value (Bug#10977).
6b67c0d4 6033 (desktop-read): Use user-emacs-directory if desktop-path is nil.
e76f0800 6034
297a8f1d
CY
60352012-06-20 Chong Yidong <cyd@gnu.org>
6036
6037 * term.el (term-send-raw-meta): Make C-M-<char> keys work (Bug#8172).
6038
d34c18b1
DR
60392012-06-20 David Röthlisberger <david@rothlis.net> (tiny change)
6040
6041 * ido.el (ido-switch-buffer, ido-find-file): Fix up doc of C-j
6042 (bug#11201).
6043
32f7f28e
CY
60442012-06-20 Chong Yidong <cyd@gnu.org>
6045
6046 * term.el (term-window-width): Handle the case of a missing right
6047 fringe (Bug#8837).
6048 (term-check-size): Use window-text-height (Bug#5445).
d34c18b1
DR
6049 (term-mode): Use define-derived-mode. Minor cleanups.
6050 Set font-lock-defaults (Bug#7692).
6ff7caa8
CY
6051 (term-move-columns, term-insert-char, term-emulate-terminal)
6052 (term-erase-in-line, term-insert-spaces): Use font-lock-face.
32f7f28e 6053
493c6688
MA
60542012-06-20 Michael Albinus <michael.albinus@gmx.de>
6055
d34c18b1
DR
6056 * net/ange-ftp.el (ange-ftp-get-passwd):
6057 Bind `enable-recursive-minibuffers'.
493c6688
MA
6058 (ange-ftp-get-process): Throw if `non-essential' is non-nil.
6059
3f06ecf4
DR
60602012-06-19 David Röthlisberger <david@rothlis.net> (tiny change)
6061
6062 * ido.el (ido-find-file): Mention C-d binding in docstring (bug#11244).
6063
68f12411
GM
60642012-06-19 Glenn Morris <rgm@gnu.org>
6065
6066 * progmodes/python.el (python-mode): Derive from prog-mode.
6067
b3820318
KG
60682012-06-19 Kevin Gallagher <Kevin.Gallagher@boeing.com>
6069
6070 * emulation/edt.el (edt-default-menu-bar-update-buffers)
6071 (edt-user-menu-bar-update-buffers): New functions.
6072 (edt-default-emulation-setup, edt-user-emulation-setup): Use them.
6073
c6bf3022
CY
60742012-06-19 Chong Yidong <cyd@gnu.org>
6075
6076 * subr.el (with-selected-window): Preserve the selected window's
6077 terminal's top-frame (Bug#4702).
6078
6079 * window.el (save-selected-window): Likewise.
6080
25f09295
SM
60812012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
6082
6083 * progmodes/python.el (python-rx-constituents): Move backquote.
6084 (python-skeleton-define, python-define-auxiliary-skeleton):
6085 Use `declare'.
6086
6b11952a
MA
60872012-06-18 Michael Albinus <michael.albinus@gmx.de>
6088
6089 * minibuffer.el (read-file-name-default): Revert the patch from
6090 2012-06-17.
6091
ee4b1330
SM
60922012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
6093
6094 * emacs-lisp/pcase.el (pcase--expand): Warn for unused pattern.
6095 (pcase--u1, pcase--q1): Don't use apply-partially.
6096
35647f79
GM
60972012-06-18 Glenn Morris <rgm@gnu.org>
6098
6099 * progmodes/python.el (python-proc, python-buffer)
6100 (python-send-receive, python-send-string): Fix obsolete versions.
6101
24b0cff0
MR
61022012-06-18 Martin Rudalics <rudalics@gmx.at>
6103
6104 * window.el (special-display-p): Completely remove stringp
6105 check. Suggested by Andreas Schwab <schwab@linux-m68k.org>.
6106
29855149
MA
61072012-06-17 Michael Albinus <michael.albinus@gmx.de>
6108
6109 * minibuffer.el (read-file-name-default): Bind `non-essential' to `t'.
6110
6111 * net/tramp.el (tramp-file-name-handler): Catch 'non-essential.
6112
6113 * net/ange-ftp.el (ange-ftp-gwp-start, ange-ftp-start-process):
6114 * net/tramp-sh.el (tramp-maybe-open-connection):
6115 Throw if `non-essential' is non-nil.
6116
07463363
MR
61172012-06-17 Martin Rudalics <rudalics@gmx.at>
6118
6119 * window.el (special-display-p): Signal an error if BUFFER-NAME
6120 is not a string (Bug#11713).
6121
48d1354e
PE
61222012-06-17 Paul Eggert <eggert@cs.ucla.edu>
6123
6124 * progmodes/python.el (python-info-beginning-of-backslash):
6125 Rename from python-info-beginning-of-backlash, as a spelling fix.
6126
eb4a8a9a
CY
61272012-06-17 Chong Yidong <cyd@gnu.org>
6128
6129 * term.el (term-emulate-terminal): If term-check-size is called,
6130 move point to the process mark without resetting point (Bug#4635).
6131
ddfbf826 61322012-06-17 Glenn Morris <rgm@gnu.org>
9c758578
GM
6133
6134 * international/mule-cmds.el (mule-menu-keymap)
6135 (set-language-environment, set-locale-environment): Doc tweaks.
6136
9b0e3eba
AA
61372012-06-16 Aurelien Aptel <aurelien.aptel@gmail.com>
6138
6139 * cus-face.el (custom-face-attributes): Add wave-style underline
6140 attribute.
6141 * faces.el (set-face-attribute): Update docstring to describe
6142 wave-style underline attribute.
6143
771e3eae
CY
61442012-06-16 Chong Yidong <cyd@gnu.org>
6145
6146 * term/xterm.el (terminal-init-xterm): Discard input before
6147 querying background mode (Bug#10959).
6148
7ae2ea10
SM
61492012-06-16 Stefan Merten <smerten@oekonux.de>
6150
6151 * textmodes/rst.el: Added and corrected some comments.
6152 (rst-re-alist-def): Improve symbol syntax.
6153 (rst-mode-syntax-table): Correct syntax entries.
6665a6fd
SM
6154 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
6155 (rst-official-version, rst-official-cvs-rev): Update version
6156 information.
7ae2ea10 6157
b6974efa
JB
61582012-06-15 Juanma Barranquero <lekktu@gmail.com>
6159
6160 * makefile.w32-in (COMPILE_FIRST): Synch with makefile.in changes
6161 in 2008-06-22T13:57:28Z!monnier@iro.umontreal.ca.
6162
8826d473
GM
61632012-06-15 Fabián Ezequiel Gallina <fgallina@cuca>
6164
6165 * progmodes/python.el: New python.el merge.
6166 (python-guess-indent): Obsolete var.
6167 (python-indent-guess-indent-offset): New defcustom.
6168 (python-indent): Obsolete var.
6169 (python-indent-offset): New defcustom.
6170 (python-python-command, python-jython-command): Delete var.
6171 (python-shell-interpreter): New defcustom.
6172 (python-pdbtrack-do-tracking-p): Delete var.
6173 (python-pdbtrack-activate): New defcustom.
6174 (python-use-skeletons): Obsolete var.
6175 (python-skeleton-autoinsert): New defcustom.
6176 (inferior-python-filter-regexp, python-continuation-offset)
6177 (python-honour-comment-indentation, python-indent-string-contents)
6178 (python-jython-packages, python-mode-hook)
6179 (python-pdbtrack-minor-mode-string, python-remove-cwd-from-path)
6180 (python-shell-prompt-alist)
6181 (python-source-modes): Delete defcustoms.
6182 (python-check-buffer-name, python-eldoc-setup-code)
6183 (python-eldoc-string-code, python-ffap-setup-code)
6184 (python-ffap-string-code, python-fill-comment-function)
6185 (python-fill-decorator-function, python-fill-paren-function)
6186 (python-fill-string-function, python-imenu-include-defun-type)
6187 (python-imenu-make-tree, python-imenu-subtree-root-label)
6188 (python-pdbtrack-stacktrace-info-regexp, python-shell-buffer-name)
6189 (python-shell-compilation-regexp-alist)
6190 (python-shell-completion-module-string-code)
6191 (python-shell-completion-pdb-string-code)
6192 (python-shell-completion-setup-code)
6193 (python-shell-completion-string-code)
6194 (python-shell-enable-font-lock, python-shell-exec-path)
6195 (python-shell-extra-pythonpaths)
6196 (python-shell-internal-buffer-name, python-shell-interpreter-args)
6197 (python-shell-process-environment)
6198 (python-shell-prompt-block-regexp)
6199 (python-shell-prompt-output-regexp)
6200 (python-shell-prompt-pdb-regexp, python-shell-prompt-regexp)
6201 (python-shell-send-setup-max-wait, python-shell-setup-codes)
6202 (python-shell-virtualenv-path): New defcustoms.
6203 (brm-menu, eldoc-documentation-function, inferior-python-mode-map)
6204 (inferior-python-mode-syntax-table, python--prompt-regexp)
6205 (python-buffer, python-command python-python-command)
6206 (python-default-template, python-imports, python-indent-index)
6207 (python-indent-list, python-indent-list-length)
6208 (python-mode-running, python-pdbtrack-is-tracking-p)
6209 (python-preoutput-continuation, python-preoutput-leftover)
6210 (python-preoutput-result, python-preoutput-skip-next-prompt)
6211 (python-prev-dir/file, python-recursing)
6212 (python-saved-check-command, python-version-checked)
6213 (python-which-func-length-limit)
6214 (view-return-to-alist): Delete vars.
6215 (python-check-custom-command, python-dotty-syntax-table)
6216 (python-imenu-index-alist, python-indent-current-level)
6217 (python-indent-dedenters, python-indent-levels)
6218 (python-nav-beginning-of-defun-regexp)
6219 (python-nav-list-defun-positions-cache)
6220 (python-pdbtrack-buffers-to-kill, python-pdbtrack-tracked-buffer)
6221 (python-shell-internal-buffer)
6222 (python-skeleton-available): New vars.
6223 (def-python-skeleton): Delete macro.
6224 (python-skeleton-define): New macro.
6225 (python-define-auxiliary-skeleton, python-rx): New macros.
6226 (python-insert-class): Delete command.
6227 (python-skeleton-class): New command.
6228 (python-insert-def): Delete command.
6229 (python-skeleton-def): New command.
6230 (python-insert-for): Delete command.
6231 (python-skeleton-for): New command.
6232 (python-insert-if): Delete command.
6233 (python-skeleton-if): New command.
6234 (python-insert-try/except, python-insert-try/finally): Delete commands.
6235 (python-skeleton-try): New command.
6236 (python-insert-while): Delete command.
6237 (python-skeleton-while): New command.
6238 (python-backspace): Delete command.
6239 (python-indent-dedent-line-backspace): New command.
6240 (python-electric-colon): Delete command.
6241 (python-indent-electric-colon): New command.
6242 (python-guess-indent): Delete command.
6243 (python-indent-guess-indent-offset): New command.
6244 (python-shift-left): Delete command.
6245 (python-indent-shift-left): New command.
6246 (python-shift-right): Delete command.
6247 (python-indent-shift-right): New command.
6248 (python-find-function): Delete command.
6249 (python-nav-jump-to-defun): New command.
6250 (python-next-statement): Delete command.
6251 (python-nav-forward-sentence): New command.
6252 (python-previous-statement): Delete command.
6253 (python-nav-backward-sentence): New command.
6254 (python-fill-paragraph): Delete command.
6255 (python-fill-paragraph-function): New command.
6256 (python-send-buffer): Delete command.
6257 (python-shell-send-buffer): New command.
6258 (python-send-defun): Delete command.
6259 (python-shell-send-defun): New command.
6260 (python-send-region, python-send-region-and-go): Delete commands.
6261 (python-shell-send-region)
6262 (python-shell-switch-to-shell): New commands.
6263 (python-send-string): Delete command.
6264 (python-shell-send-string): New command.
6265 (python-switch-to-python): Delete command.
6266 (python-shell-switch-to-shell): New command.
6267 (python-describe-symbol): Delete command.
6268 (python-eldoc-at-point): New command.
6269 (python--set-prompt-regexp, python-args-to-list)
6270 (python-after-info-look, python-check-version)
6271 (python-check-comint-prompt, python-find-imports)
6272 (python-execute-file, turn-off-pdbtrack, turn-on-pdbtrack)
6273 (python-unload-function, python-expand-template)
6274 (python-maybe-jython, python-preoutput-filter)
6275 (python-pdbtrack-get-source-buffer)
6276 (python-pdbtrack-grub-for-buffer, python-pdbtrack-overlay-arrow)
6277 (python-pdbtrack-toggle-stack-tracking)
6278 (python-pdbtrack-track-stack-file, python-initial-text)
6279 (python-first-word, python-comment-line-p, python-send-command)
6280 (python-setup-brm, python-sentinel, python-set-proc)
6281 (python-skip-out, python-input-filter, python-outdent-p)
6282 (python-outline-level, python-backslash-continuation-line-p)
6283 (python-end-of-block, python-end-of-statement, python-mark-block)
6284 (python-beginning-of-block, python-beginning-of-statement)
6285 (python-blank-line-p, python-beginning-of-string)
6286 (python-open-block-statement-p): Delete functions.
6287 (python-indent-line, python-indent-line-1): Delete functions.
6288 (python-indent-line): New function.
6289 (python-indentation-levels): Delete function.
6290 (python-indent-calculate-levels): New function.
6291 (python-proc): Delete function.
6292 (python-shell-get-process): New function.
6293 (python-send-receive): Delete function.
6294 (python-shell-send-string-no-output): New function.
6295 (python-module-path): Delete function.
6296 (python-ffap-module-path): New function.
6297 (python-completion-at-point)
6298 (python-symbol-completions): Delete functions.
6299 (python-completion-complete-at-point): New function.
6300 (python-load-file): Delete function.
6301 (python-shell-send-file): New function.
6302 (python-calculate-indentation): Delete function.
6303 (python-indent-calculate-indentation): New function.
6304 (python-skip-comments/blanks): Delete function.
6305 (python-util-forward-comment): New function.
6306 (python-continuation-line-p): Delete function.
6307 (python-info-continuation-line-p): New function.
6308 (python-which-func, python-current-defun): Delete function.
6309 (python-info-current-defun): New function.
6310 (python-beginning-of-defun): Delete function.
6311 (python-nav-beginning-of-defun): New function.
6312 (python-close-block-statement-p)
6313 (python-block-end-p): Delete function.
6314 (python-info-closing-block): New function.
6315 (python-comint-output-filter-function)
6316 (python-eldoc--get-doc-at-point, python-end-of-defun-function)
6317 (python-fill-comment, python-fill-decorator, python-fill-paren)
6318 (python-fill-string, python-imenu-make-element-tree)
6319 (python-imenu-make-tree, python-imenu-tree-assoc)
6320 (python-indent-context, python-indent-dedent-line)
6321 (python-indent-line-function)
6322 (python-indent-post-self-insert-function)
6323 (python-indent-toggle-levels)
6324 (python-info-assignment-continuation-line-p)
6325 (python-info-beginning-of-backlash)
6326 (python-info-block-continuation-line-p)
6327 (python-info-closing-block-message)
6328 (python-info-line-ends-backslash-p)
6329 (python-info-looking-at-beginning-of-defun)
6330 (python-info-ppss-context, python-info-ppss-context-type)
6331 (python-nav-list-defun-positions, python-nav-read-defun)
6332 (python-nav-sentence-end, python-nav-sentence-start)
6333 (python-pdbtrack-comint-output-filter-function)
6334 (python-pdbtrack-set-tracked-buffer)
6335 (python-shell-calculate-exec-path)
6336 (python-shell-calculate-process-environment)
6337 (python-shell-completion--do-completion-at-point)
6338 (python-shell-completion--get-completions)
6339 (python-shell-completion-complete-at-point)
6340 (python-shell-completion-complete-or-indent)
6341 (python-shell-get-or-create-process)
6342 (python-shell-get-process-name)
6343 (python-shell-internal-get-or-create-process)
6344 (python-shell-internal-get-process-name)
6345 (python-shell-internal-send-string, python-shell-make-comint)
6346 (python-shell-parse-command, python-shell-send-setup-code)
6347 (python-skeleton-add-menu-items)
6348 (python-util-clone-local-variables, python-util-position)
6349 (run-python-internal, python-indentation-levels)
6350 (python-nav-beginning-of-defun)
6351 (python-completion-complete-at-point): New functions.
6352 (run-python): Change arguments. New API requirements.
6353
4302f5ba
SM
63542012-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
6355
f38ea36d
SM
6356 * emacs-lisp/cl-lib.el (cl--defsubst-expand): Autoload inliner
6357 (bug#11649).
6358
6359 * emacs-lisp/macroexp.el (macroexp--compiler-macro): New function.
6360 (macroexp--expand-all): Use it.
6361
4302f5ba
SM
6362 * emacs-lisp/cl-macs.el (cl--transform-function-property): Remove.
6363 (cl-define-setf-expander, cl-deftype, cl-define-compiler-macro):
6364 Use `cl-function' instead.
6365
33377562
JB
63662012-06-14 Juanma Barranquero <lekktu@gmail.com>
6367
6368 * makefile.w32-in (COMPILE_FIRST): Remove subr.el.
6369 Suggested by Stefan Monnier while discussing bug#11657.
6370
54c5ba1a
SS
63712012-06-14 Sam Steingold <sds@gnu.org>
6372
6373 * files.el (abort-if-file-too-large): Use `file-size-human-readable'.
6374
f9f1b1fe
AS
63752012-06-14 Andreas Schwab <schwab@linux-m68k.org>
6376
6377 * play/doctor.el (doctor-doc): Remove parameter and use
6378 doctor-sent instead of sent.
6379 (doctor-read-print): Use doctor-sent instead of sent. (Bug#11708)
6380
a81068ba
SM
63812012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
6382
5a315f9c
SM
6383 * files.el: Require cl-lib.
6384 (file-name-non-special): Replace case -> cl-case.
6385
6386 * emacs-lisp/cl-macs.el (cl-defstruct): Don't add print-func.
6387
a81068ba
SM
6388 * emacs-lisp/edebug.el (edebug-read-function): Remove old incorrect
6389 mapping from #' to function*.
6390
8cca9703
CY
63912012-06-13 Chong Yidong <cyd@gnu.org>
6392
6393 * mouse.el (mouse-drag-track): Do not set the mark if the user
6394 releases the mouse without selecting anything (Bug#11588).
6395
a12ac9d7
SM
63962012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
6397
ccf1dc18
SM
6398 * textmodes/tex-mode.el (latex-indent): Recognize tex-verbatim at EOB
6399 as well (bug#11646).
6400
ef62b23d
SM
6401 * loadup.el: Count byte-code functions as well.
6402
c4c8444a
SM
6403 * emacs-lisp/byte-opt.el (featurep): Move compiler-macro...
6404 * emacs-lisp/bytecomp.el (featurep): ...here (bug#11692).
6405
a12ac9d7
SM
6406 * emacs-lisp/autoload.el (make-autoload): Accept nil doc-string-elt
6407 (bug#11649). Add cl-defun and cl-defmacro.
6408
87e6e64f
DA
64092012-06-13 Drew Adams <drew.adams@oracle.com>
6410
6411 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
6412 Fix last change.
6413
682cefaf
MA
64142012-06-13 Michael Albinus <michael.albinus@gmx.de>
6415
6416 * net/dbus.el (dbus-call-method): Use timeout for `read-event'.
6417 Otherwise, it blocks in batch mode.
6418
773e1f08
JB
64192012-06-13 Juanma Barranquero <lekktu@gmail.com>
6420
6421 * help-mode.el (bookmark-make-record-default): Declare.
6422
60057926
CY
64232012-06-13 Chong Yidong <cyd@gnu.org>
6424
6425 * emacs-lisp/package.el (list-packages): Compute a list of
6426 packages that are newly-available since the last list-packages
6427 invocation.
6428 (package-menu--new-package-list): New var.
6429 (package-menu--generate, package-menu--print-info)
6430 (package-menu--status-predicate, package-menu-mark-install):
6431 Handle new status label "new".
6432
ad4d226c
SM
64332012-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
6434
6435 * emacs-lisp/cl-macs.el (cl-remf): Fix error in recent
6436 conversion to backquotes.
6437
f1a4e679
CY
64382012-06-12 Chong Yidong <cyd@gnu.org>
6439
6440 * emacs-lisp/edebug.el (edebug-inhibit-emacs-lisp-mode-bindings):
6441 Rename from gud-inhibit-global-bindings.
6442
6443 * emacs-lisp/eieio.el (eieio-pre-method-execution-hooks): Doc fix.
6444
6445 * nxml/nxml-glyph.el (nxml-glyph-set-functions): Rename abnormal
6446 hook from nxml-glyph-set-hook.
6447
6448 * progmodes/cwarn.el (cwarn-mode): Remove redundant variable
6449 declaration.
6450
6451 * progmodes/pascal.el (pascal-toggle-completions): Doc fix.
6452
6453 * textmodes/bibtex.el (bibtex-string-file-path, bibtex-file-path):
6454 Convert to defcustom.
6455
0c9e42b5
DA
64562012-06-12 Drew Adams <drew.adams@oracle.com>
6457
6458 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
6459 New functions.
6460 (help-mode): Use them.
6461
09e06855
GM
64622012-06-11 Glenn Morris <rgm@gnu.org>
6463
6464 * progmodes/fortran.el (fortran-font-lock-keywords-3):
6465 Use preprocessor face for directives.
6466 (fortran-directive-re): Doc fix.
6467
71adb94b
SM
64682012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
6469
2eb87922
SM
6470 * emacs-lisp/cl-macs.el (cl-parse-loop-clause): Fix error in recent
6471 conversion to backquotes (bug#11652).
6472
71adb94b
SM
6473 Fix compiler-expansion of CL's cXXr functions (bug#11673).
6474 * emacs-lisp/cl-lib.el (cl--defalias): New function.
6475 (cl-values, cl-values-list, cl-copy-seq, cl-svref, cl-first)
6476 (cl-second, cl-rest, cl-endp, cl-third, cl-fourth): Use it.
6477 (cl-plusp, cl-minusp, cl-fifth, cl-sixth, cl-seventh, cl-eighth)
6478 (cl-ninth, cl-tenth): Mark them as inlinable.
6479 (cl-caaar, cl-caadr, cl-cadar, cl-caddr, cl-cdaar, cl-cdadr)
6480 (cl-cddar, cl-cdddr, cl-caaaar, cl-caaadr, cl-caadar, cl-caaddr)
6481 (cl-cadaar, cl-cadadr, cl-caddar, cl-cadddr, cl-cdaaar, cl-cdaadr)
6482 (cl-cdadar, cl-cdaddr, cl-cddaar, cl-cddadr, cl-cdddar, cl-cddddr):
6483 Add a compiler-macro declaration to use cl--compiler-macro-cXXr.
6484 (cl-list*, cl-adjoin): Don't put an autoload manually.
6485 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin)
6486 (cl--compiler-macro-list*): Add autoload cookie.
6487 (cl--compiler-macro-cXXr): New function.
2eb87922 6488
71adb94b
SM
6489 * help-fns.el (help-fns--compiler-macro): New function extracted from
6490 describe-function-1; follow aliases and use `compiler-macro' property.
6491 (describe-function-1): Use it.
6492
a6674402
CY
64932012-06-11 Chong Yidong <cyd@gnu.org>
6494
6495 * startup.el (fancy-splash-head): Use splash.svg even if librsvg
6496 is uninstalled, if imagemagick is installed.
6497
bb3faf5b
SM
64982012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
6499
6500 * emacs-lisp/cl-lib.el: Use lexical-binding.
6501 (cl-map-extents, cl-maclisp-member): Remove.
6502 (cl--set-elt, cl--set-nthcdr, cl--set-buffer-substring)
6503 (cl--set-substring, cl--block-wrapper, cl--block-throw)
6504 (cl--compiling-file, cl--mapcar-many, cl--do-subst): Use "cl--" prefix.
6505 * emacs-lisp/cl-extra.el: Use lexical-binding.
6506 (cl--mapcar-many, cl--map-keymap-recursively, cl--map-intervals)
6507 (cl--map-overlays, cl--set-frame-visible-p, cl--progv-save)
6508 (cl--progv-before, cl--progv-after, cl--finite-do, cl--set-getf)
6509 (cl--do-remf, cl--do-prettyprint): Use "cl--" prefix.
6510 * emacs-lisp/cl-seq.el: Use lexical-binding.
6511 (cl--parsing-keywords, cl--check-key, cl--check-test-nokey)
6512 (cl--check-test, cl--check-match): Use "cl--" prefix and backquotes.
6513 (cl--alist, cl--sublis-rec, cl--nsublis-rec, cl--tree-equal-rec):
6514 * emacs-lisp/cl-macs.el (cl--lambda-list-keywords): Use "cl--" prefix.
6515 * edmacro.el (edmacro-mismatch): Simplify to remove dependence on
6516 CL's internals.
6517
2fe4b125
MA
65182012-06-11 Michael Albinus <michael.albinus@gmx.de>
6519
6520 Sync with Tramp 2.2.6-pre.
6521
6522 * net/tramp-cache.el (tramp-dump-connection-properties): Let-bind
6523 `print-length' and `print-level' to nil, in order to avoid
6524 truncation. Reported by Christopher Schmidt
6525 <christopher@ristopher.com>.
6526
6527 * net/tramp-cmds.el (tramp-cleanup-connection): Delete also process.
6528
6529 * net/tramp-compat.el (tramp-compat-condition-case-unless-debug):
6530 New defmacro.
6531 (tramp-compat-copy-directory): Add optional argument
6532 COPY-CONTENTS. It is not handled yet.
6533
6534 * net/tramp-ftp.el (tramp-disable-ange-ftp): Fix docstring.
6535 (tramp-ftp-file-name-p): Simplify.
6536
6537 * net/tramp-gvfs.el (tramp-gvfs-handle-expand-file-name):
6538 * net/tramp-gw.el (tramp-gw-open-connection): Add hop to
6539 connection vector.
6540
6541 * net/tramp-sh.el (tramp-copy-size-limit): Fix docstring.
6542 (tramp-methods): Do not use `tramp-password-end-of-line'.
6543 (tramp-completion-function-alist-putty): Handle UNIX case.
6544 (tramp-remote-path): Add "/opt/bin", "/opt/sbin" and "/opt/local/bin".
6545 (tramp-do-file-attributes-with-stat)
6546 (tramp-do-directory-files-and-attributes-with-stat) Return uid and
6547 gid as real numbers. They could run out of integer range on cygwin.
6548 (tramp-do-copy-or-rename-file-out-of-band): Better trace format.
6549 (tramp-sh-handle-expand-file-name): Handle hops.
87e6e64f
DA
6550 (tramp-open-connection-setup-interactive-shell):
6551 Use `tramp-cleanup'. Move check for busyboxes ...
6552 (tramp-find-shell): ... here. Simplify implementation.
6553 Set "remote-shell" property also for alternative shells.
6554 (tramp-remote-coding-commands): Check "test -c /dev/stdout".
6555 If failing, a regular file would be written otherwise.
6556 Reported by Dmitry Kurochkin <dmitry.kurochkin@gmail.com>.
2fe4b125
MA
6557 (tramp-find-inline-encoding): Cache the coding commands in the
6558 process cache. Apply test command on the remote side, if defined.
6559 (tramp-find-inline-compress): Cache the compress commands in the
6560 process cache.
6561 (tramp-compute-multi-hops): Save `tramp-default-proxies-alist'
6562 when requested. Handle hops.
6563 (tramp-current-connection): New defvar.
87e6e64f
DA
6564 (tramp-maybe-open-connection): Use `tramp-cleanup'.
6565 Throw `suppress', if there was a failed connection shortly before.
2fe4b125 6566 Handle user interrupt. (Bug#10187)
87e6e64f
DA
6567 (tramp-get-inline-compress, tramp-get-inline-coding):
6568 Read connection properties from the process cache.
2fe4b125
MA
6569
6570 * net/tramp-smb.el (tramp-smb-server-version)
87e6e64f
DA
6571 (tramp-smb-wrong-passwd-regexp, tramp-smb-actions-with-tar):
6572 New defconsts.
2fe4b125
MA
6573 (tramp-smb-prompt): Extend for powershell prompt.
6574 (tramp-smb-file-name-handler-alist): Add handlers for
6575 `process-file', `shell-command' and `start-file-process'.
6576 (tramp-smb-winexe-program, tramp-smb-winexe-shell-command)
6577 (tramp-smb-winexe-shell-command-switch): New defcustoms.
6578 (tramp-smb-file-name-p): Simplify.
6579 (tramp-smb-action-with-tar, tramp-smb-handle-process-file)
6580 (tramp-smb-kill-winexe-function, tramp-smb-call-winexe)
6581 (tramp-smb-shell-quote-argument): New defuns.
6582 (tramp-smb-handle-copy-directory): Add COPY-CONTENTS argument.
6583 Implement using "tar". By this, time-stamps are preserved.
6584 (tramp-smb-handle-copy-file): Handle also the case of directories.
6585 (tramp-smb-do-file-attributes-with-stat)
87e6e64f
DA
6586 (tramp-smb-get-file-entries, tramp-smb-get-cifs-capabilities):
6587 Use `tramp-get-connection-buffer').
2fe4b125
MA
6588 (tramp-smb-handle-rename-file): Use "rename", when source and
6589 target are on the same share.
87e6e64f
DA
6590 (tramp-smb-maybe-open-connection): Handle wrong passwords.
6591 Use `tramp-smb-server-version'.
2fe4b125
MA
6592 (tramp-smb-wait-for-output): Remove prompt.
6593
6594 * net/tramp.el (top): Require 'cl.
87e6e64f
DA
6595 (tramp-methods, tramp-rsh-end-of-line):
6596 Remove `tramp-password-end-of-line' from docstring.
2fe4b125
MA
6597 (tramp-save-ad-hoc-proxies): New defcustom.
6598 (tramp-completion-function-alist): Adapt docstring.
6599 (tramp-default-password-end-of-line): Remove defcustom.
6600 (tramp-shell-prompt-pattern): Allow "[]" style prompts. (Bug#11065)
6601 (tramp-user-regexp, tramp-file-name-regexp-unified)
6602 (tramp-file-name-regexp-url): Extend regexp by hop separator.
6603 (tramp-postfix-hop-format, tramp-postfix-hop-regexp)
6604 (tramp-remote-file-name-spec-regexp): New defconst.
6605 (tramp-file-name-structure): Extend structure for hops.
6606 (tramp-get-method-parameter): Move up.
6607 (tramp-file-name-p, tramp-dissect-file-name)
6608 (with-parsed-tramp-file-name): Handle hops.
6609 (tramp-file-name-hop): New defun.
6610 (tramp-make-tramp-file-name): New optional arg HOP.
6611 (tramp-message-show-progress-reporter-message): New defvar.
6612 (tramp-with-progress-reporter): Use it. We cannot use
6613 `tramp-message-show-message' here, because this suppresses also
6614 error buffers.
6615 (tramp-error-with-buffer): Suppress buffer view, if
87e6e64f
DA
6616 `tramp-message-show-message' is nil.
6617 Use `tramp-get-connection-buffer'.
2fe4b125
MA
6618 (tramp-cleanup): New defun.
6619 (tramp-rfn-eshadow-update-overlay): Let-bind `non-essential' to `t'.
6620 (tramp-file-name-handler): If `debug-on-error' is set, propagate
6621 an error unchanged.
6622 (tramp-completion-handle-file-name-all-completions): Handle hops.
6623 Fix an error when called from ido.
6624 (tramp-completion-dissect-file-name): Use better local variable
6625 name. Add hop to the vector.
6626 (tramp-handle-insert-file-contents): Use progress-reporter for the
6627 whole scenario.
6628 (tramp-action-password): Let-bind `enable-recursive-minibuffers'
6629 to `t'.
6630 (tramp-check-for-regexp): Simplify search.
6631 (tramp-enter-password): Remove it. Move implementation ...
6632 (tramp-action-password): ... here.
6633 (tramp-mode-string-to-int, tramp-local-host-p)
6634 (tramp-make-tramp-temp-file, tramp-read-passwd)
87e6e64f
DA
6635 (tramp-clear-passwd, tramp-time-less-p, tramp-time-diff):
6636 Set tramp-autoload cookie.
2fe4b125
MA
6637
6638 * net/trampver.el: Update release number.
6639
66402012-06-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
6641 Michael Albinus <michael.albinus@gmx.de>
6642
6643 * net/tramp.el (tramp-set-completion-function): Fix docstring.
6644 (tramp-parse-group, tramp-parse-file)
6645 (tramp-parse-shostkeys-sknownhosts): New defuns.
6646 (tramp-parse-rhosts, tramp-parse-rhosts-group, tramp-parse-shosts)
6647 (tramp-parse-shosts-group, tramp-parse-sconfig)
6648 (tramp-parse-sconfig-group, tramp-parse-shostkeys)
6649 (tramp-parse-sknownhosts, tramp-parse-hosts)
6650 (tramp-parse-hosts-group, tramp-parse-passwd, tramp-parse-netrc):
6651 Use them.
6652 (tramp-parse-passwd-group, tramp-parse-netrc-group)
6653 (tramp-parse-putty-group): Don't narrow.
6654 (tramp-parse-putty): Make a loop.
6655 (tramp-file-name-handler): Catch the `suppress' signal.
6656
72834e10
CY
66572012-06-11 Chong Yidong <cyd@gnu.org>
6658
6659 * image.el (imagemagick-register-types): Put the ImageMagick entry
6660 at the end of image-type-file-name-regexps.
6661
a4712e11
JB
66622012-06-11 Johan Bockgård <bojohan@gnu.org>
6663
6664 * emacs-lisp/pcase.el (pcase-UPAT, pcase-QPAT): New edebug specs.
6665 (pcase, pcase-let*, pcase-dolist): Use them.
6666
82ad98e3
SM
66672012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
6668
6669 * emacs-lisp/pcase.el (pcase--let*): New function.
6670 (pcase-let*): Use it. Use pcase--memoize to avoid repeated expansions.
6671 (pcase--expand): Use macroexp-let².
6672
f80efb86
SM
66732012-06-10 Stefan Monnier <monnier@iro.umontreal.ca>
6674
6675 * emacs-lisp/timer.el, emacs-lisp/syntax.el, emacs-lisp/smie.el:
6676 * emacs-lisp/ewoc.el, emacs-lisp/cconv.el, emacs-lisp/bytecomp.el:
6677 * emacs-lisp/byte-opt.el, emacs-lisp/autoload.el: Convert to cl-lib.
6678 * emacs-lisp/easymenu.el, emacs-lisp/easy-mmode.el:
6679 * emacs-lisp/derived.el: Use pcase instead of `cl'.
6680 * emacs-lisp/cl-lib.el: Get rid of special cl-macs auto load.
6681
31ca4639 66822012-06-10 Glenn Morris <rgm@gnu.org>
94f0aa34 6683
31ca4639
CY
6684 * mail/rmail.el (rmail-yank-current-message): Leave point at
6685 correct position. (Bug#11660)
94f0aa34 6686
31ca4639 66872012-06-10 Chong Yidong <cyd@gnu.org>
9e1b8ec4 6688
31ca4639 6689 * allout-widgets.el: Fix code header.
9e1b8ec4 6690
31ca4639 66912012-06-10 Chong Yidong <cyd@gnu.org>
00cd0305 6692
f80efb86
SM
6693 * cus-edit.el (customize-changed-options-previous-release):
6694 Bump to 24.1.
31ca4639 6695
642b6d30
AS
66962012-06-09 Andreas Schwab <schwab@linux-m68k.org>
6697
6698 * Makefile.in (BIG_STACK_DEPTH): Enlarge to 2200.
6699
4f5d2ba1
CY
67002012-06-09 Chong Yidong <cyd@gnu.org>
6701
6702 * ebuff-menu.el (electric-buffer-list): Preserve header line.
6703
e75852fd
MR
67042012-06-09 Martin Rudalics <rudalics@gmx.at>
6705
6706 * window.el (special-display-popup-frame): Don't use
6707 window--display-buffer (Bug#11651).
6708
1e48e282
EZ
67092012-06-09 Eli Zaretskii <eliz@gnu.org>
6710
8a26b487
EZ
6711 Fix parallel builds: make sure loaddefs.el is not being written
6712 while Lisp files are compiled.
6713 (compile): Don't depend on 'mh-autoloads'.
6714 (compile-CMD, compile-SH): Depend on 'autoloads'.
6715 (bootstrap): Don't depend on 'autoloads' and 'mh-autoloads'.
6716
1e48e282
EZ
6717 * makefile.w32-in (BIG_STACK_DEPTH): Enlarge to 2200. (Bug#11649)
6718
6175e34b
CY
67192012-06-09 Chong Yidong <cyd@gnu.org>
6720
6721 * face-remap.el (face-remap-add-relative, face-remap-set-base)
6722 (buffer-face-set, buffer-face-toggle, buffer-face-mode-invoke):
6723 Doc fixes (Bug#11225).
6724
d9857e53
SM
67252012-06-09 Stefan Monnier <monnier@iro.umontreal.ca>
6726
6727 * emacs-lisp/macroexp.el (macroexp--expand-all): Only autoload
6728 a function if there's a clear indication that it has a compiler-macro.
6729 * emacs-lisp/byte-run.el (defun-declarations-alist, defmacro, defun)
6730 (macro-declarations-alist): Add arglist to declaration functions.
6731 (defun-declarations-alist): Add `obsolete' and `compiler-macro'.
6732 * emacs-lisp/cl-seq.el (cl-member, cl-assoc):
6733 * emacs-lisp/cl-lib.el (cl-list*, cl-adjoin):
6734 * emacs-lisp/cl-extra.el (cl-get): Use the new `declare' statement.
6735 Also add autoload to find the compiler macro.
6736 * emacs-lisp/cl-macs.el (eql) [compiler-macro]: Remove.
6737 (cl--compiler-macro-member, cl--compiler-macro-assoc)
6738 (cl--compiler-macro-adjoin, cl--compiler-macro-list*)
6739 (cl--compiler-macro-get): New functions, replacing calls to
6740 cl-define-compiler-macro.
6741 (cl-typep) [compiler-macro]: Use macroexp-let².
6742
f81298f8 67432012-06-08 Nick Dokos <nicholas.dokos@hp.com> (tiny change)
ee574791
UJ
6744
6745 * calendar/icalendar.el (icalendar--parse-vtimezone): Import TZID
6746 string properly, fixes Bug#11473.
6747
4b56d0fe
CY
67482012-06-08 Chong Yidong <cyd@gnu.org>
6749
6750 * faces.el (set-face-attribute): Doc fix.
6751 (modify-face): Don't use :bold and :italic.
6752 (error, warning, success): Tweak definitions.
6753
6754 * cus-edit.el (custom-modified, custom-invalid, custom-rogue)
6755 (custom-modified, custom-set, custom-changed, custom-themed)
6756 (custom-saved, custom-button, custom-button-mouse)
6757 (custom-button-pressed, custom-state, custom-comment-tag)
6758 (custom-variable-tag, custom-group-tag-1, custom-group-tag)
6759 (custom-group-subtitle): Use new-style face specs.
6760 (custom-invalid-face, custom-rogue-face, custom-modified-face)
6761 (custom-set-face, custom-changed-face, custom-saved-face)
6762 (custom-button-face, custom-button-pressed-face)
6763 (custom-documentation-face, custom-state-face)
6764 (custom-comment-face, custom-comment-tag-face)
6765 (custom-variable-tag-face, custom-variable-button-face)
6766 (custom-face-tag-face, custom-group-tag-face-1)
6767 (custom-group-tag-face): Remove obsolete face alias.
6768
6769 * epa.el (epa-validity-high, epa-validity-medium)
6770 (epa-validity-low, epa-mark, epa-field-name, epa-string)
6771 (epa-field-name, epa-field-body):
6772 * font-lock.el (font-lock-comment-face, font-lock-string-face)
6773 (font-lock-keyword-face, font-lock-builtin-face)
6774 (font-lock-function-name-face, font-lock-variable-name-face)
6775 (font-lock-type-face, font-lock-constant-face):
6776 * ido.el (ido-first-match, ido-only-match, ido-subdir)
6777 (ido-virtual, ido-indicator, ido-incomplete-regexp):
6778 * speedbar.el (speedbar-button-face, speedbar-file-face)
6779 (speedbar-directory-face, speedbar-tag-face)
6780 (speedbar-selected-face, speedbar-highlight-face)
6781 (speedbar-separator-face):
6782 * whitespace.el (whitespace-newline, whitespace-space)
6783 (whitespace-hspace, whitespace-tab, whitespace-trailing)
6784 (whitespace-line, whitespace-space-before-tab)
6785 (whitespace-space-after-tab, whitespace-indentation)
6786 (whitespace-empty):
6787 * emulation/cua-base.el (cua-global-mark):
6788 * eshell/em-prompt.el (eshell-prompt):
6789 * net/newst-plainview.el (newsticker-new-item-face)
6790 (newsticker-old-item-face, newsticker-immortal-item-face)
6791 (newsticker-obsolete-item-face, newsticker-date-face)
6792 (newsticker-statistics-face, newsticker-default-face):
6793 * net/newst-reader.el (newsticker-feed-face)
6794 (newsticker-extra-face, newsticker-enclosure-face):
6795 * net/newst-treeview.el (newsticker-treeview-face)
6796 (newsticker-treeview-new-face, newsticker-treeview-old-face)
6797 (newsticker-treeview-immortal-face)
6798 (newsticker-treeview-obsolete-face)
6799 (newsticker-treeview-selection-face):
6800 * net/rcirc.el (rcirc-my-nick, rcirc-other-nick)
6801 (rcirc-bright-nick, rcirc-server, rcirc-timestamp)
6802 (rcirc-nick-in-message, rcirc-nick-in-message-full-line)
6803 (rcirc-prompt, rcirc-track-keyword, rcirc-url, rcirc-keyword):
6804 * nxml/nxml-outln.el (nxml-heading, nxml-outline-indicator)
6805 (nxml-outline-active-indicator, nxml-outline-ellipsis):
6806 * play/mpuz.el (mpuz-unsolved, mpuz-solved, mpuz-trivial)
6807 (mpuz-text):
6808 * progmodes/vera-mode.el (vera-font-lock-number)
6809 (vera-font-lock-function, vera-font-lock-interface):
6810 * textmodes/table.el (table-cell): Use new-style face specs, and
6811 don't use the old :bold and :italic attributes.
6812
6813 * progmodes/ebrowse.el (ebrowse-tree-mark, ebrowse-root-class)
6814 (ebrowse-member-attribute, ebrowse-default, ebrowse-file-name)
6815 (ebrowse-member-class, ebrowse-progress): Likewise.
6816 (ebrowse-tree-mark-face, ebrowse-root-class-face)
6817 (ebrowse-file-name-face, ebrowse-default-face)
6818 (ebrowse-member-attribute-face, ebrowse-member-class-face)
6819 (ebrowse-progress-face): Remove obsolete faces.
6820
6821 * progmodes/flymake.el (flymake-errline, flymake-warnline):
6822 Inherit from error and warning faces respectively.
6823
6824 * textmodes/flyspell.el (flyspell-incorrect, flyspell-duplicate):
6825 Likewise.
f80efb86
SM
6826 (flyspell-incorrect-face, flyspell-duplicate-face):
6827 Remove obsolete aliases.
4b56d0fe 6828
03310646
MA
68292012-06-08 Michael Albinus <michael.albinus@gmx.de>
6830
6831 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
6832 Avoid infloop.
6833
513749ee
SM
68342012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
6835
6836 * startup.el (argv, argi): Make lexically scoped.
6837 * emacs-lisp/float-sup.el (pi): Use internal-make-var-non-special.
6838 * emacs-lisp/cl-macs.el: Use lexical-binding.
6839 Rename cl-bind-* to cl--bind-*.
6840 * files.el: Don't require `cl' since it doesn't use it.
6841 * emacs-lisp/pcase.el, emacs-lisp/macroexp.el: Add coding cookie.
6842
595ef4ad
JB
68432012-06-08 Juanma Barranquero <lekktu@gmail.com>
6844
6845 * textmodes/texinfmt.el: Fix bug#11640 (reverts part of 2008-07-31T05:33:56Z!dann@ics.uci.edu).
6846 (texinfo-format-printindex): Use `texinfo-sort-region' in all platforms,
6847 instead of calling external sort utility.
6848 (texinfo-sort-region, texinfo-sort-startkeyfun): Restore functions.
6849
e9f66fcb
EZ
68502012-06-08 Eli Zaretskii <eliz@gnu.org>
6851
6852 * descr-text.el (describe-char): Mention how to insert the
6853 character, if the current input method doesn't support it.
6854 See the discussion in this thread for the details:
6855 http://lists.gnu.org/archive/html/emacs-devel/2012-05/msg00533.html.
6856
3d10db47
SS
68572012-06-08 Sam Steingold <sds@gnu.org>
6858
6859 * bindings.el (global-map): Bind XF86Forward to next-buffer and
6860 XF86Back to previous-buffer.
6861 (minibuffer-local-map): Bind them to next-history-element and
6862 previous-history-element respectively.
6863 * help-mode.el (help-mode-map): Bind them to help-go-forward and
6864 help-go-back respectively.
6865 * info.el (Info-mode-map): Bind them to Info-history-forward and
6866 Info-history-back respectively.
6867 These are the keys next to Up on the ThinkPad keyboard.
6868
de7e2b36
SM
68692012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
6870
6871 Get rid of cl-lexical-let, keeping only lexical-let for compatibility.
6872 * emacs-lisp/cl-macs.el: Provide itself.
6873 (cl--labels-convert-cache): New var.
6874 (cl--labels-convert): New function.
6875 (cl-flet, cl-labels): New implementation with new semantics, relying on
6876 lexical-binding.
6877 * emacs-lisp/cl.el: Mark compatibility aliases as obsolete.
6878 (cl-closure-vars, cl--function-convert-cache)
6879 (cl--function-convert): Move from cl-macs.el.
6880 (lexical-let, lexical-let*, flet, labels): Move from cl-macs.el and
6881 rename by removing the "cl-" prefix.
6882 * emacs-lisp/macroexp.el (macroexp-unprogn): New function.
6883
6fa6c4ae
SM
68842012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
6885
6886 * emacs-lisp/cl.el (cl-macroexpand, cl-macro-environment)
6887 (cl-macroexpand-all, cl-not-hash-table, cl-builtin-gethash)
6888 (cl-builtin-remhash, cl-builtin-clrhash, cl-builtin-maphash)
6889 (cl-map-keymap, cl-copy-tree, cl-gethash, cl-puthash, cl-remhash)
6890 (cl-clrhash, cl-maphash, cl-make-hash-table, cl-hash-table-p)
6891 (cl-hash-table-count): Add old compatibility aliases.
6892
6893 * emacs-lisp/cl-macs.el (cl-macro-environment): Remove var.
6894 Use macroexpand-all-environment instead.
6895 (cl--old-macroexpand): New var.
6896 (cl--sm-macroexpand): New function.
6897 (cl-symbol-macrolet): Use it during macro expansion.
6898 (cl--function-convert-cache): New var.
6899 (cl--function-convert): New function, extracted from
6900 cl-macroexpand-all.
6901 (cl-lexical-let): Use it.
6902
6903 * emacs-lisp/cl-lib.el (cl-macro-environment): Remove decl.
6904 (cl-macroexpand): Move to cl-macs.el and rename to cl--sm-macroexpand.
6905 (cl-member): Remove old alias.
6906
6907 * emacs-lisp/cl-extra.el (cl-map-keymap, cl-copy-tree)
6908 (cl-not-hash-table, cl-builtin-gethash, cl-builtin-remhash)
6909 (cl-builtin-clrhash, cl-builtin-maphash, cl-gethash, cl-puthash)
6910 (cl-remhash, cl-clrhash, cl-maphash, cl-make-hash-table)
6911 (cl-hash-table-p, cl-hash-table-count): Move to cl.el.
6912 (cl-macroexpand-cmacs): Remove var.
6913 (cl-macroexpand-all, cl-macroexpand-body): Remove funs.
6914 Use macroexpand-all instead.
6915
4dd1c416
SM
69162012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
6917
6918 * emacs-lisp/macroexp.el (macroexp-progn, macroexp-let*, macroexp-if)
6919 (macroexp-let², macroexp--const-symbol-p, macroexp-const-p)
6920 (macroexp-copyable-p): New functions and macros.
6921 * emacs-lisp/edebug.el (edebug-unwrap):
6922 * emacs-lisp/disass.el (disassemble-internal): Use macroexp-progn.
6923 * emacs-lisp/pcase.el: Use macroexp-let*, macroexp-if, ...
6924 (pcase--let*): Remove.
6925 * emacs-lisp/bytecomp.el (byte-compile-const-symbol-p)
6926 (byte-compile-constp): Remove. Use macroexp--const-symbol-p and
6927 macroexp-const-p instead.
6928 * emacs-lisp/byte-opt.el: Use macroexp-const-p and macroexp-progn.
6929
6930 * emacs-lisp/cl-macs.el: Clean up the name space by using "cl--"
6931 instead of "cl-" for internal definitions. Use macroexp-const-p.
6932 (cl-old-bc-file-form): Remove var.
6933 (cl-const-exprs-p): Remove fun.
6934 (cl-labels, cl-macrolet): Use backquote.
6935 (cl-lexical-let): Use cl-symbol-macrolet. Don't use cl-defun-expander.
6936 (cl-defun-expander, cl-byte-compile-compiler-macro): Remove fun.
6937 (cl-define-setf-expander): Rename from cl-define-setf-method.
6938 * emacs-lisp/cl.el: Adjust alias for define-setf-method.
6939
6940 * international/mule-cmds.el: Don't require CL.
6941 (view-hello-file): Don't use `letf'.
6942
ed8bd4d7
SM
69432012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
6944
7287f2f3
SM
6945 * tmm.el (tmm-prompt): Use string-prefix-p.
6946 (tmm-completion-delete-prompt): Don't affect current-buffer outside.
6947 (tmm-add-prompt): Use minibuffer-completion-help.
6948 (tmm-delete-map): Remove.
6949
ed8bd4d7
SM
6950 * subr.el (kbd): Make it its own function.
6951
7b4cdbf4
SM
69522012-06-07 Stefan Merten <smerten@oekonux.de>
6953
6954 * textmodes/rst.el: Use `eval-when-compile' for requiring `cl.el'.
6955 Silence compiler warnings. Fix versions.
ed8bd4d7 6956 (rst-position-if, rst-position, rst-some, rst-signum): New functions.
7b4cdbf4 6957 (rst-shift-region, rst-adornment-level, rst-compute-tabs)
ed8bd4d7 6958 (rst-indent-line, rst-shift-region, rst-forward-line): Use them.
7b4cdbf4
SM
6959 (rst-package-emacs-version-alist): Correct Emacs version to
6960 represent major merge with upstream.
ed8bd4d7 6961 (rst-transition, rst-adornment, rst-compile-toolsets): Fix versions.
7b4cdbf4 6962
2b48d721
GM
69632012-06-06 Glenn Morris <rgm@gnu.org>
6964
6965 * mail/emacsbug.el (report-emacs-bug): Add relevant EMACS env-vars.
6966 Only print environment variables if set.
6967
fa779ab0
SM
69682012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
6969
6970 * emacs-lisp/macroexp.el: Don't require CL since we don't use it.
6971 (macroexp--cons): Rename from maybe-cons.
6972 (macroexp--accumulate): Rename from macroexp-accumulate.
6973 (macroexp--all-forms): Rename from macroexpand-all-forms.
6974 (macroexp--all-clauses): Rename from macroexpand-all-clauses.
6975 (macroexp--expand-all): Rename from macroexpand-all-1.
6976
628299e0
SS
69772012-06-06 Sam Steingold <sds@gnu.org>
6978
6979 * calendar/calendar.el (calendar-in-read-only-buffer):
6980 Call `special-mode' to enable the standard read-only keybindings.
6981
b7bb5838
SM
69822012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
6983
6984 * emacs-lisp/macroexp.el (macroexpand-all-1): Don't spam the output
6985 with "loading" messages (bug#11635).
6986
dfb308ba
MA
69872012-06-06 Michael Albinus <michael.albinus@gmx.de>
6988
6989 * files.el (enable-remote-dir-locals): New option.
6990 (hack-dir-local-variables): Use it. (Bug#1933, Bug#6731)
6991
0372ee92
MA
6992 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
6993 Ensure, that the temp directory is local.
6994
6995 * net/tramp-sh.el (tramp-sh-handle-write-region): Let-bind
6996 `temporary-file-directory'.
6997
eed0bb91
MA
6998 * progmodes/python.el (python-send-region): Ensure, that the
6999 temporary file is created also in the remote case.
7000
7a58f64d
GM
70012012-06-06 Glenn Morris <rgm@gnu.org>
7002
f7dd4e98
GM
7003 * vc/vc-rcs.el (vc-rcs-rcs2log-program): New.
7004 (vc-rcs-update-changelog): Use it.
7005
090bd7cb 7006 * emacs-lisp/authors.el (authors-fixed-entries): Remove vcdiff.
276d5f5d 7007
7a58f64d
GM
7008 * vc/vc-sccs.el (vc-sccs-write-revision): New function.
7009 (vc-sccs-workfile-unchanged-p): Use vc-sccs-write-revision.
7010 (vc-sccs-diff): Replace use of the external vcdiff script.
7011
daed4003
GM
70122012-06-05 Glenn Morris <rgm@gnu.org>
7013
7014 * ledit.el: Move to obsolete/.
7015
48c455c7
SS
70162012-06-05 Sam Steingold <sds@gnu.org>
7017
ed9265fc 7018 * calendar/calendar.el (calendar-exit): Reinstate the 2012-03-28
48c455c7
SS
7019 patch (Bug#11140).
7020
57a7d507
SM
70212012-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
7022
090bd7cb 7023 * emacs-lisp/cust-print.el: Move to obsolete.
d32926ff 7024
53aacf21
SM
7025 * emacs-lisp/macroexp.el (macroexpand-all-1): Tolerate errors during
7026 compiler-macro expansion.
7027
57a7d507
SM
7028 Add native compiler-macro support.
7029 * emacs-lisp/macroexp.el (macroexpand-all-1):
7030 Support compiler-macros directly. Properly follow aliases and apply
7031 the compiler macros more thoroughly.
7032 * emacs-lisp/cl.el: Don't copy compiler-macro properties any more since
7033 macroexpand now properly follows aliases.
7034 * emacs-lisp/cl-macs.el (toplevel, cl-define-compiler-macro)
7035 (cl-compiler-macroexpand): Use new prop.
7036 * emacs-lisp/byte-opt.el (featurep): Optimize earlier.
7037
7038 * emacs-lisp/cl-lib.el (custom-print-functions): Add alias.
7039
51a5f9d8
MR
70402012-06-05 Martin Rudalics <rudalics@gmx.at>
7041
7042 * window.el (get-lru-window, get-mru-window, get-largest-window):
7043 New argument NOT-SELECTED to avoid picking the selected window.
7044 (window--display-buffer-1, window--display-buffer-2): Replace by
7045 new function window--display-buffer
7046 (display-buffer-same-window, display-buffer-reuse-window)
57a7d507
SM
7047 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
7048 Use window--display-buffer.
51a5f9d8
MR
7049 (display-buffer-use-some-window): Remove temporary dedication
7050 hack by calling get-lru-window and get-largest-window with
7051 NOT-SELECTED argument non-nil. Call window--display-buffer.
7052
08f9f738
GM
70532012-06-05 Glenn Morris <rgm@gnu.org>
7054
7055 * vc/vc-sccs.el (vc-sccs-workfile-unchanged-p):
7056 Replace external vcdiff script.
7057
e364a2b7
SM
70582012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
7059
7060 * emacs-lisp/cl-lib.el (cl-values, cl-values-list): Fix up last change.
7061
041df390
CY
70622012-06-04 Chong Yidong <cyd@gnu.org>
7063
e364a2b7
SM
7064 * image.el (imagemagick-types-inhibit): Revert last change.
7065 Add INFO and M.
47b36b94 7066 (imagemagick-enabled-types): Remove CIN and EPS*.
041df390 7067
7c1898a7
SM
70682012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
7069
7070 * emacs-lisp/cl-lib.el: Rename from cl.el.
7071 * emacs-lisp/cl.el: New compatibility file.
7072 * emacs-lisp/cl-lib.el, emacs-lisp/cl-seq.el, emacs-lisp/cl-macs.el:
7073 * emacs-lisp/cl-extra.el: Rename all top-level functions and variables
7074 to obey the "cl-" prefix.
7075 * emacs-lisp/macroexp.el (macroexpand-all-1): Adjust to new name.
7076
0c3461de
GM
70772012-06-03 Glenn Morris <rgm@gnu.org>
7078
1e266c88
GM
7079 * emacs-lisp/authors.el (authors-aliases): Addition.
7080
0c3461de
GM
7081 * cus-start.el (tool-bar-style, tool-bar-max-label-size):
7082 Fix :version.
7083
d8a52e15
SM
70842012-06-03 Stefan Merten <smerten@oekonux.de>
7085
7086 * textmodes/rst.el: Add comments.
7087 (rst-transition, rst-adornment): New faces.
7088 (rst-adornment-faces-alist): Make default safe to reevaluate.
7089 Fixes
7090 http://sourceforge.net/tracker/?func=detail&atid=422030&aid=3479603&group_id=38414.
7091 Improve customization tags.
7092 (rst-define-level-faces): Clarify meaning.
7093
5205d6f6
CY
70942012-06-03 Chong Yidong <cyd@gnu.org>
7095
7096 * progmodes/compile.el (compilation-mode-line-fail)
7c1898a7
SM
7097 (compilation-mode-line-run, compilation-mode-line-exit):
7098 New faces.
5205d6f6
CY
7099 (compilation-start, compilation-handle-exit): Use them (Bug#11032).
7100
757ee657
JD
71012012-06-03 Jack Duthen <duthen.mac.01@gmail.com> (tiny change)
7102
7c1898a7
SM
7103 * progmodes/which-func.el (which-func-update-ediff-windows):
7104 New function. Use it in ediff-select-hook (Bug#11478).
757ee657 7105
5f2c76c6
CY
71062012-06-03 Chong Yidong <cyd@gnu.org>
7107
7108 * bindings.el: Remove explicit help text from format-mode-line.
7109 It is now supplied by mode-line-default-help-echo.
7110 (mode-line-front-space, mode-line-end-spaces)
7111 (mode-line-misc-info): New variables.
7112 (mode-line-modes, mode-line-position): Move the default value to
7113 the variable definition.
7114 (mode-line-default-help-echo): New defcustom.
383f7350
CY
7115 (mode-line-mule-info-help-echo, mode-line-read-only-help-echo)
7116 (mode-line-modified-help-echo): New functions.
7117 (mode-line-mule-info, mode-line-modified): Use them.
7118 (mode-line-eol-desc, propertized-buffer-identification):
7119 Consistency fixes for help text.
cbe46e5f
CY
7120 (mode-line-coding-system-map): Allow using mouse-3 to invoke
7121 set-buffer-file-coding-system (Bug#289).
7122 (mode-line-mule-info-help-echo): Update help text.
5f2c76c6 7123
f2d6a3df
SM
71242012-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
7125
7126 * simple.el (execute-extended-command): Set real-this-command
7127 (bug#11506).
7128
37269466
CY
71292012-06-02 Chong Yidong <cyd@gnu.org>
7130
7131 Remove incorrect uses of "modeline" in comments, docstrings, and
7132 function/variable names (Bug#10329).
7133
7134 * cus-edit.el (mode-line):
7135 * dframe.el (dframe-mouse-hscroll):
7136 * emacs-lisp/re-builder.el:
7137 * emacs-lisp/easy-mmode.el (define-minor-mode):
7138 * frame.el (set-frame-name):
7139 * help.el (lookup-minor-mode-from-indicator):
7140 * net/rcirc.el (rcirc-activity-string, rcirc-short-buffer-name):
7141 * progmodes/cc-cmds.el (c-toggle-auto-newline)
7142 (c-toggle-hungry-state):
7143 * progmodes/antlr-mode.el (antlr-language-alist):
7144 * progmodes/idlw-shell.el (idlwave-shell-electric-stop-line-face):
7145 * progmodes/vhdl-mode.el (vhdl-mode):
7146 * progmodes/which-func.el (which-func, which-func-cleanup-function):
7147 * term/ns-win.el (ns-face-at-pos):
7148 * term/sup-mouse.el (sup-mouse-report):
7149 * textmodes/flyspell.el (flyspell-mode-line-string):
7150 * textmodes/ispell.el (ispell-highlight-face):
7151 * textmodes/reftex-global.el:
7152 * vc/vc-arch.el (vc-arch-mode-line-string):
7153 * vc/vc-cvs.el (vc-cvs-mode-line-string):
7154 * vc/vc-git.el (vc-git-mode-line-string):
7155 * vc/vc-hooks.el (vc-display-status)
7156 (vc-default-mode-line-string):
7157 * vc/vc-mtn.el (vc-mtn-mode-line-string): Doc fixes.
7158
7159 * ansi-color.el (ansi-color-faces-vector): Change default faces.
7160
7161 * dired.el (dired-sort-set-mode-line): Rename from
7162 dired-sort-set-modeline. All callers changed.
7163
7164 * eshell/esh-mode.el (eshell-status-in-mode-line): Rename from
7165 eshell-status-in-modeline.
7166
7167 * foldout.el (foldout-mode-line-string): Rename from
7168 foldout-modeline-string. All callers changed.
7169 (foldout-update-mode-line): Rename from foldout-update-modeline.
7170
7171 * subr.el (redraw-modeline): Make into obsolete alias.
7172
7173 * calendar/timeclock.el (timeclock-mode-line-display): Rename from
7174 timeclock-modeline-display. Make old name an alias.
7175 (timeclock-update-mode-line): Likewise. All callers changed.
7176 (timeclock-mode-line-display): No need to check before using
7177 add-hook.
7178 (timeclock-relative, timeclock-day-over-hook)
7179 (timeclock-use-elapsed, timeclock-mode-string)
7180 (timeclock-mode-line-display): Doc fix, "modeline" -> "mode line".
7181
7182 * emulation/crisp.el (crisp-mode-mode-line-string): Rename from
7183 crisp-mode-modeline-string.
7184
7185 * play/solitaire.el (solitaire-build-mode-line): Rename from
7186 solitaire-build-modeline. All callers changed.
7187
7188 * play/zone.el (zone-hiding-mode-line): Rename from
7189 zone-hiding-modeline. All callers changed.
7190 (zone): Remove unusued `modeline-hidden-level' property.
7191
7192 * progmodes/xscheme.el (xscheme-mode-line-initialize): Rename from
7193 xscheme-modeline-initialize. All callers changed.
7194
7195 * strokes.el (strokes-lighter): Rename from
7196 strokes-modeline-string.
7197
7198 * textmodes/sgml-mode.el (html-face-tag-alist)
7199 (html-tag-face-alist): Use mode-line face instead of obsolete
7200 alias modeline.
7201
42152ee4
SM
72022012-06-02 Stefan Merten <smerten@oekonux.de>
7203
7204 * textmodes/rst.el: Always require `cl'.
4cf9b38d 7205 (rst-mode-map): Fix meaning of C-M-a / C-M-e.
42152ee4 7206
95f520b5
CY
72072012-06-02 Chong Yidong <cyd@gnu.org>
7208
7209 * image.el (imagemagick-enabled-types): Rename from
7210 imagemagick-types-enable. Add many more types.
7211 (imagemagick-types-inhibit): Change default to nil.
7212 (imagemagick-filter-types): Caller changed.
7213
4a5f187a
SM
72142012-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
7215
03fef3e6
SM
7216 * emacs-lisp/cl-macs.el: Use backquotes.
7217 (cl-transform-function-property): Use eval-and-compile rather than
7218 abusing `require'.
7219 (defstruct): Use declare-function instead of with-no-warnings.
7220
4a5f187a
SM
7221 * emacs-lisp/bytecomp.el: Fix last change (bug#11594).
7222 (byte-compile-output-docform): Re-add the print-circle bindings.
7223 (byte-compile-fix-header): Use #$ just because it's shorter.
7224 (byte-compile-output-file-form): Remove defun/defmacro.
7225
bd56924f
MR
72262012-06-01 Martin Rudalics <rudalics@gmx.at>
7227
7228 * simple.el (choose-completion): Remove now obsolete binding for
7229 owindow.
7230
046e38ce
MA
72312012-06-01 Michael Albinus <michael.albinus@gmx.de>
7232
7233 * net/tramp.el (tramp-check-for-regexp): Search from buffer end,
7234 in order to avoid "Stack overflow in regexp matcher".
7235
32d72c2f
GM
72362012-05-31 Glenn Morris <rgm@gnu.org>
7237
7238 * image.el: For clarity, call imagemagick-register-types at
7239 top-level, rather than relying on a custom :initialize.
7240 (imagemagick-types-enable): New option. (Bug#11557)
60b5f187
GM
7241 (imagemagick-filter-types): New function. (Bug#7406)
7242 (imagemagick-register-types): Use imagemagick-filter-types.
32d72c2f
GM
7243 If disabling support, remove elements altogether rather
7244 than using an impossible regexp.
7245 (imagemagick-types-inhibit): Give it the default init function.
7246
dd41169b
SM
72472012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
7248
4a5f187a
SM
7249 * emacs-lisp/bytecomp.el (byte-compile-fix-header):
7250 Handle arbitrary file name lengths (Bug#11585).
dd41169b 7251
efc00ab1 72522012-05-31 Martin Rudalics <rudalics@gmx.at>
5221ccb9
MR
7253
7254 * desktop.el (desktop-read): Clear previous and next buffers for
7255 all windows and bury *Messages* buffer (bug#11556).
7256
500fcedc
SM
72572012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
7258
7259 Add `declare' for `defun'. Align `defmacro's with it.
7260 * emacs-lisp/easy-mmode.el (define-minor-mode)
7261 (define-globalized-minor-mode): Don't autoload the var definitions.
7262 * emacs-lisp/byte-run.el: Use lexical-binding.
7263 (defun-declarations-alist, macro-declarations-alist): New vars.
7264 (defmacro, defun): Use them.
7265 (make-obsolete, define-obsolete-function-alias)
7266 (make-obsolete-variable, define-obsolete-variable-alias):
7267 Use `declare'.
7268 (macro-declaration-function): Mark obsolete.
7269 * emacs-lisp/autoload.el: Use lexical-binding.
7270 (make-autoload): Add `expansion' arg. Rely more on macro expansion.
7271
6e8a1786
AM
72722012-05-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
7273
7274 * textmodes/ispell.el (ispell-with-no-warnings):
7275 Define as a macro.
500fcedc
SM
7276 (ispell-kill-ispell, ispell-change-dictionary):
7277 Use `called-interactively-p' for Emacs instead of obsolete
6e8a1786
AM
7278 `interactive-p'.
7279
61b108cc
SM
72802012-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
7281
7282 * emacs-lisp/byte-run.el (defmacro, defun): Move from C.
7283 (macro-declaration-function): Move var from C code.
7284 (macro-declaration-function): Define function with defalias.
7285 * emacs-lisp/macroexp.el (macroexpand-all-1):
7286 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form):
7287 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Don't handle
7288 defun/defmacro any more.
7289 * emacs-lisp/bytecomp.el (byte-compile-arglist-signature):
7290 Provide fallback for unknown arglist.
7291 (byte-compile-arglist-warn): Change calling convention.
7292 (byte-compile-output-file-form): Move print-vars binding.
7293 (byte-compile-output-docform): Simplify accordingly.
7294 (byte-compile-file-form-defun, byte-compile-file-form-defmacro)
7295 (byte-compile-defmacro-declaration): Remove.
7296 (byte-compile-file-form-defmumble): Generalize to defalias.
7297 (byte-compile-output-as-comment): Return byte-positions.
7298 Simplify callers accordingly.
7299 (byte-compile-lambda): Use `assert'.
7300 (byte-compile-defun, byte-compile-defmacro): Remove.
7301 (byte-compile-file-form-defalias):
7302 Use byte-compile-file-form-defmumble.
7303 (byte-compile-defalias-warn): Remove.
7304
6d3f7c2f
SM
73052012-05-29 Stefan Merten <smerten@oekonux.de>
7306
7307 * textmodes/rst.el: Silence `checkdoc-ispell' errors where
61b108cc 7308 possible. Fix authors. Improve comments. Improve loading of `cl'.
6d3f7c2f
SM
7309
7310 (rst-mode-abbrev-table): Merge definition.
7311 (rst-mode): Make sure `font-lock-defaults' is buffer local.
7312 (rst-define-key, rst-deprecated-keys, rst-call-deprecated): Refactor.
7313
6dbaa1c7
UJ
73142012-05-29 Ulf Jasper <ulf.jasper@web.de>
7315
7316 * calendar/icalendar.el
7317 (icalendar-export-region): Export UID properly.
7318
d209e2fb 73192012-05-29 Leo Liu <sdl.web@gmail.com>
61b108cc
SM
7320 * calendar/icalendar.el (icalendar-import-format):
7321 Add `icalendar-import-format-uid' (Bug#11525).
6dbaa1c7
UJ
7322 (icalendar-import-format-uid): New.
7323 (icalendar--parse-summary-and-rest, icalendar--format-ical-event):
7324 Export UID.
7325
6876a58d
SM
73262012-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
7327
7328 * emacs-lisp/pcase.el (pcase--expand): Accept different sets of vars in
7329 different alternative patterns.
7330 (pcase-codegen): Be more careful to preserve identity.
7331 (pcase--u1): Don't forget to mark vars as used.
7332
7333 * emacs-lisp/bytecomp.el (byte-compile-constp): Treat #'v as a constant.
7334 (byte-compile-close-variables): Bind byte-compile--outbuffer here...
7335 (byte-compile-from-buffer): ...rather than here.
7336
7337 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Don't re-preprocess
7338 functions from byte-compile-function-environment.
7339
46b7967e
TN
73402012-05-29 Troels Nielsen <bn.troels@gmail.com>
7341
7342 * window.el (window-deletable-p): Avoid deleting the root window
7343 of a frame with an active minibuffer.
7344
69d565e2
MR
73452012-05-29 Martin Rudalics <rudalics@gmx.at>
7346
7347 * simple.el (choose-completion): Use quit-window (Bug#11567).
7348
a149fa51
CY
73492012-05-29 Chong Yidong <cyd@gnu.org>
7350
7351 * whitespace.el (whitespace-cleanup): Fix usage of
7352 whitespace-empty-at-bob-regexp (Bug#11492).
7353
2b311310
AH
73542012-05-29 Aaron S. Hawley <aaron.s.hawley@gmail.com>
7355
7356 * vc/vc.el (vc-revert, vc-rollback): Dont kill vc-diff buffer on
7357 revert (Bug#11488).
7358
b9cb2387
JL
73592012-05-29 Juri Linkov <juri@jurta.org>
7360
7361 * isearch.el (isearch-mode-map): Bind `M-s _' to
7362 `isearch-toggle-symbol'. Bind `M-s c' to
7363 `isearch-toggle-case-fold'.
7364 (search-map): Bind `M-s _' to `isearch-forward-symbol'.
7365 (isearch-forward): Add `M-s _' to the docstring.
7366 (isearch-forward-symbol, isearch-toggle-case-fold)
7367 (isearch-symbol-regexp): New functions. (Bug#11381)
7368
d5e61c1c
JL
73692012-05-29 Juri Linkov <juri@jurta.org>
7370
7371 * isearch.el (isearch-word): Add docstring. (Bug#11381)
7372 (isearch-occur, isearch-search-and-update): If `isearch-word' is
7373 a function, call it to get the regexp.
7374 (isearch-message-prefix): If `isearch-word' holds a symbol, use its
7375 property `isearch-message-prefix' instead of the string "word ".
7376 (isearch-search-fun-default): For the case of `isearch-word',
7377 return a lambda that calls re-search-forward/re-search-backward
7378 with a regexp returned by `word-search-regexp' or by the function
7379 in `isearch-word'.
7380
8cbd80f7
JL
73812012-05-29 Juri Linkov <juri@jurta.org>
7382
7383 * isearch.el (isearch-search-fun-default): New function.
7384 (isearch-search-fun): Move default part to the new function
7385 `isearch-search-fun-default'.
7386 (isearch-search-fun-function): Set the default value to
7387 `isearch-search-fun-default'. (Bug#11381)
7388
7389 * comint.el (comint-history-isearch-end):
7390 Use `isearch-search-fun-default'.
7391 (comint-history-isearch-search): Use `isearch-search-fun-default'
7392 and remove spacial case for `isearch-word'.
7393 (comint-history-isearch-wrap): Remove spacial case for
7394 `isearch-word'.
7395
7396 * hexl.el (hexl-isearch-search-function):
7397 Use `isearch-search-fun-default'.
7398
7399 * info.el (Info-isearch-search): Use `isearch-search-fun-default'.
7400 Use `word-search-regexp' for `isearch-word'.
7401
7402 * misearch.el (multi-isearch-search-fun):
7403 Use `isearch-search-fun-default'.
7404
7405 * simple.el (minibuffer-history-isearch-search):
7406 Use `isearch-search-fun-default' and remove spacial case for
7407 `isearch-word'.
7408 (minibuffer-history-isearch-wrap): Remove spacial case for
7409 `isearch-word'.
7410
7411 * textmodes/reftex-global.el (reftex-isearch-wrap-function):
7412 Remove spacial case for `isearch-word'.
7413 (reftex-isearch-isearch-search): Use `isearch-search-fun-default'.
7414
85c8c5b6
AM
74152012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
7416
7417 Decrease XEmacs incompatibilities.
7418 * textmodes/flyspell.el (flyspell-check-pre-word-p):
7419 Use `string-match'.
7420 (flyspell-delete-region-overlays): Use alternative definition for
7421 XEmacs.
7422 (flyspell-delete-all-overlays): Use `flyspell-delete-region-overlays'.
7423 (flyspell-word): Use `process-kill-without-query' if XEmacs.
7424 (flyspell-mode-on): Use `interactive-p' if XEmacs.
7425 (flyspell-incorrect-face, flyspell-duplicate-face): Do not use
7426 `define-obsolete-face-alias' under XEmacs, but old method.
7427
7428 * textmodes/ispell.el (ispell-with-no-warnings): XEmacs alternative
7429 `with-no-warnings' definition or Emacs alias.
7430 (ispell-command-loop, ispell-message): Use `ispell-with-no-warnings'.
7431 (ispell-word): Do not use `region-p' if XEmacs.
7432
8cab9efc
AM
74332012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
7434
7435 * textmodes/ispell.el (ispell-find-aspell-dictionaries):
7436 Check for `ispell-dictionary-base-alist' instead of full
7437 `ispell-dictionary-alist'.
7438 (ispell-init-process): Show spellchecker when starting new Ispell
7439 process.
7440
fda91268
RZ
74412012-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
7442
7443 * progmodes/vhdl-mode.el: Sync with upstream 3.33.28.
7444 http://www.iis.ee.ethz.ch/~zimmi/emacs/vhdl-mode.html#release-notes-3.33
7445
694ea8e3
JB
74462012-05-27 Juanma Barranquero <lekktu@gmail.com>
7447
7448 * version.el (motif-version-string, gtk-version-string)
7449 (ns-version-string): Declare.
7450
e4d4f539
JL
74512012-05-27 Juri Linkov <juri@jurta.org>
7452
7453 * emacs-lisp/lisp-mode.el (eval-defun-2): Use `eval-sexp-add-defvars'
7454 after the `eval-defun-1' specialcaseing
7455 like in `edebug-eval-defun' (bug#10181).
7456
7457 * emacs-lisp/edebug.el (edebug-eval-defun): Set `face-documentation'
7458 like in `eval-defun-1'.
7459
33017faf 74602012-05-27 Eli Zaretskii <eliz@gnu.org>
b30b64b9 7461
fda91268
RZ
7462 * mail/sendmail.el (mail-yank-region):
7463 Recognize rmail-yank-current-message in addition to insert-buffer.
7464 Fixes mail-mode's "C-c C-r" that otherwise does nothing when invoked in
b30b64b9
EZ
7465 a *mail* buffer created through rmail-start-mail with sendmail as
7466 mail-user-agent.
7467
33017faf
GM
74682012-05-27 Chong Yidong <cyd@gnu.org>
7469
7470 * net/gnutls.el (gnutls-min-prime-bits): Improve docstring.
7471 Default to 256 (Bug#11267).
7472
7473 * help.el (describe-mode): Doc fix.
7474
04188bb9
GM
74752012-05-26 Glenn Morris <rgm@gnu.org>
7476
38264cc9
GM
7477 * w32-fns.el (w32-init-info): Remove.
7478 * paths.el (Info-default-directory-list): Add w32-init-info equivalent.
7479
eb7afdad
GM
7480 * info.el (info-initialize): For self-contained NS builds, put the
7481 included info/ directory at the front. (Bug#2791)
7482
04188bb9
GM
7483 * paths.el (Info-default-directory-list): Make it a defcustom,
7484 mainly so that we can use custom-initialize-delay.
7485
a179e3f7
SM
74862012-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
7487
43416392
SM
7488 * subr.el (buffer-has-markers-at): Mark obsolete.
7489
a179e3f7 7490 * subr.el (lambda): Use declare.
43416392 7491
a179e3f7
SM
7492 * emacs-lisp/lisp-mode.el (lambda):
7493 * emacs-lisp/edebug.el (lambda): Move properties to its definition.
7494
34a008d9
AH
74952012-05-26 Aaron S. Hawley <aaron.s.hawley@gmail.com>
7496
7497 * thingatpt.el (forward-same-syntax): Handle no ARG case. (Bug#11560)
7498
0a3b289f
GM
74992012-05-26 Glenn Morris <rgm@gnu.org>
7500
7501 * progmodes/cc-mode.el (auto-mode-alist): Fix typo.
7502
758c81e8
GM
75032012-05-25 Glenn Morris <rgm@gnu.org>
7504
f9f334f0
GM
7505 * paths.el: Remove no-byte-compile.
7506 * loadup.el: No need to load paths.el uncompiled.
7507
87eb79c2
GM
7508 * image.el (imagemagick-types-inhibit): Doc fix.
7509
758c81e8
GM
7510 * version.el: Remove no-byte-compile and associated formatting.
7511 * loadup.el: No need to load version.el uncompiled. AFAICS, this
7512 is ancient code from when there was an "inc-vers.el".
7513
e7e85dc0
SM
75142012-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
7515
7516 * progmodes/gdb-mi.el: Minor style changes.
7517 (gdb-enable-debug, gdb-speedbar-auto-raise, gdb-many-windows):
7518 Turn into minor modes.
7519 (gdb--if-arrow): Rename from gdb-if-arrow, make it hygienic.
7520 (gdb-mouse-until, gdb-mouse-jump): Adjust uses accordingly.
7521 (gdb-shell): Remove unneeded let-binding.
7522 (gdb-get-many-fields): Eliminate O(n²) behavior.
7523
f31237a4
EZ
75242012-05-25 Eli Zaretskii <eliz@gnu.org>
7525
7526 * cus-start.el <vertical-centering-font-regexp>: Avoid warning on
7527 platforms that don't link in fontset.c.
7528
bc1b21bb
JL
75292012-05-25 Juri Linkov <juri@jurta.org>
7530
7531 Use the same diff color scheme as in modern VCSes (bug#10181).
7532
7533 * vc/diff-mode.el (diff-header, diff-file-header): Remove "green"
7534 to avoid confusion with `diff-added' that now uses green colors.
7535 (diff-removed): Use shades of red.
7536 (diff-added): Use shades of green.
7537 (diff-changed): Leave just the yellow color.
7538 (diff-use-changed-face): New variable.
7539 (diff-font-lock-keywords): Use `diff-use-changed-face' to decide
7540 how to highlight context diff changes.
7541 (diff-refine-change): Use shades of yellow.
7542 (diff-refine-removed): New face that uses shades of red.
7543 (diff-refine-added): New face that uses shades of green.
7544 (diff-refine-hunk): Use `diff-refine-change', `diff-refine-added',
7545 `diff-refine-removed' in the call to `smerge-refine-subst'
7546 depending on the value of `diff-use-changed-face'.
7547
7548 * vc/smerge-mode.el (smerge-mine): Use shades of red.
7549 (smerge-other): Use shades of green.
7550 (smerge-base): Use shades of yellow.
7551 (smerge-refined-change): Empty face.
7552 (smerge-refined-removed): New face that uses shades of red.
7553 (smerge-refined-added): New face that uses shades of green.
7554 (smerge-refine-subst): Rename arg `props' to `props-c'. Add new
7555 args `props-r' and `props-a', and use them. Doc fix.
7556 (smerge-refine): Evaluate `smerge-use-changed-face' and depending
7557 on its value use different faces `smerge-refined-change',
7558 `smerge-refined-removed', `smerge-refined-added' in the call to
7559 `smerge-refine-subst'.
7560
7561 * vc/ediff-init.el (ediff-current-diff-A, ediff-fine-diff-A):
7562 Add face condition `min-colors 88' with shades of red.
7563 (ediff-current-diff-B, ediff-fine-diff-B): Add face condition
7564 `min-colors 88' with shades of green.
7565 (ediff-current-diff-C, ediff-fine-diff-C): Add face condition
7566 `min-colors 88' with shades of yellow.
7567
6df9112c
GM
75682012-05-24 Glenn Morris <rgm@gnu.org>
7569
ead5edc0
GM
7570 * paths.el (prune-directory-list, remote-shell-program): Move to...
7571 * files.el (prune-directory-list, remote-shell-program): ...here.
7572 For the latter, delay initialization, prefer ssh, just search PATH.
7573
f18b81e6
GM
7574 * paths.el (term-file-prefix): Move to faces.el (the only user).
7575 * faces.el (term-file-prefix): Move here, make it a defcustom.
7576
ee2f89a6
GM
7577 * paths.el (news-directory, news-path, news-inews-program):
7578 Move to gnus/nnspool.el.
61a583ca 7579
f8815e4c
GM
7580 * paths.el (gnus-default-nntp-server): Remove (gnus.el defines it).
7581
c8f3b42c
GM
7582 * paths.el (rmail-file-name, rmail-spool-directory): Move from here...
7583 * mail/rmail.el (rmail-file-name, rmail-spool-directory): ... to here.
7584 Make the latter a defcustom, with a delayed initialization.
7585
6df9112c
GM
7586 * paths.el (gnus-nntp-service, gnus-local-organization): Remove.
7587 These were deleted from Gnus itself late 2010.
7588
5dadff36
JB
75892012-05-22 Juanma Barranquero <lekktu@gmail.com>
7590
9e1701c6
JB
7591 * progmodes/which-func.el (which-func-ff-hook):
7592 Check against user-error, not error.
7593
bd7239f5 7594 * emacs-lisp/edebug.el (top): Do not load or set up loading of
5dadff36
JB
7595 cl-specs.el, which no longer exists.
7596
3290526d
GM
75972012-05-22 Glenn Morris <rgm@gnu.org>
7598
7599 * info.el (info-emacs-bug): New command.
7600 * menu-bar.el (menu-bar-help-menu): Add "How to Report a Bug" to Help.
7601 * mail/emacsbug.el (report-emacs-bug): Replace with info-emacs-bug.
7602
ff0c3cfb
GM
76032012-05-21 Glenn Morris <rgm@gnu.org>
7604
7605 * makefile.w32-in (update-subdirs-SH):
7606 * Makefile.in (update-subdirs): Update for moved update-subdirs.
7607
5814f126
SM
76082012-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
7609
a52c0aa0
SM
7610 * hi-lock.el (hi-lock-face-defaults): Move obsolete before definition.
7611
5814f126
SM
7612 * progmodes/compile.el (compilation-error-regexp-alist-alist):
7613 Simplify Maven regexp, and make sure the file can't start with a space
7614 (bug#11517).
7615
b847032c
GM
76162012-05-21 Glenn Morris <rgm@gnu.org>
7617
7618 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
7619 Scrap superfluous subshells.
7620
3858bfe7
SM
76212012-05-19 Stefan Monnier <monnier@iro.umontreal.ca>
7622
7623 * emacs-lisp/bytecomp.el (byte-compile-root-dir): New var.
7624 (byte-compile-warning-prefix, batch-byte-compile-file): Use it.
7625
d14b0029
JB
76262012-05-19 Jay Belanger <jay.p.belanger@gmail.com>
7627
7628 * calc/calc.el (calc-ensure-consistent-units): New variable.
7629
a52c0aa0
SM
7630 * calc/calc-units.el (math-consistent-units-p)
7631 (math-check-unit-consistency): New functions.
7632 (calc-quick-units, calc-convert-units):
7633 Use `math-check-unit-consistency' when `calc-ensure-consistent-units'
7634 is non-nil.
d14b0029
JB
7635 (calc-extract-units): Fix typo.
7636
60c4db3a
SM
76372012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
7638
77f3b62e
SM
7639 * vc/vc-bzr.el (vc-bzr-state-heuristic): Save match-data around sha1.
7640
60c4db3a
SM
7641 * textmodes/flyspell.el: Commenting style, plus code simplifications.
7642 (flyspell-default-deplacement-commands): Don't spell check after
7643 repeated window/frame switches (e.g. triggered by mouse-movement).
7644 (flyspell-delay-commands, flyspell-deplacement-commands): Use mapc.
7645 (flyspell-debug-signal-word-checked): Simplify and fit in 80 cols.
7646 (flyspell-casechars-cache, flyspell-ispell-casechars-cache)
7647 (flyspell-not-casechars-cache, flyspell-ispell-not-casechars-cache):
7648 Remove unused vars.
7649 (flyspell-get-casechars, flyspell-get-not-casechars):
7650 Simplify; Don't bother removing a ] just to add it back.
7651 * textmodes/ispell.el (ispell-program-name): Use executable-find.
7652
d209e2fb 76532012-05-18 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
b1a10716
RS
7654
7655 * calc/calc-lang.el (math-C-parse-bess, math-C-parse-fma):
7656 New functions.
bd7239f5 7657 (math-function-table): Add support for more C functions.
b1a10716 7658
3f1b25b5
AM
76592012-05-18 Agustín Martín Domingo <agustin.martin@hispalinux.es>
7660
090bd7cb
JB
7661 * textmodes/flyspell.el (flyspell-check-pre-word-p)
7662 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
7663 Protect delay handling for otherchars against empty otherchars.
3f1b25b5 7664
b581bb5c
SM
76652012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
7666
7667 * emacs-lisp/lisp-mode.el (doc-string-elt): Move those properties to
7668 their respective macro declarations.
7669 * skeleton.el (define-skeleton):
7670 * progmodes/compile.el (define-compilation-mode):
7671 * ibuf-macs.el (define-ibuffer-sorter, define-ibuffer-op)
7672 (define-ibuffer-filter):
7673 * emacs-lisp/generic.el (define-generic-mode):
7674 * emacs-lisp/easy-mmode.el (define-minor-mode)
7675 (define-globalized-minor-mode):
7676 * emacs-lisp/cl-macs.el (defun*, defmacro*, defstruct, deftype):
7677 * emacs-lisp/byte-run.el (defsubst):
7678 * custom.el (deftheme): Add doc-string metadata.
7679
70b8ef8f
SM
76802012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
7681
7682 * emacs-lisp/cl-macs.el, emacs-lisp/cl.el: Move indent info.
7683
b1198e17
SM
76842012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
7685
9abdc45d
SM
7686 * emacs-lisp/pcase.el (pcase--u1): Avoid ((lambda ...) ...).
7687
b1198e17
SM
7688 * emacs-lisp/cl.el: Add edebug specs from cl-specs.el.
7689 * emacs-lisp/cl-macs.el: Idem.
7690 * emacs-lisp/cl-specs.el: Remove.
7691
4735906a
SM
76922012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
7693
7694 Minor renaming of internal CL functions and variables.
7695 * emacs-lisp/cl-seq.el (cl--adjoin): Rename from cl-adjoin.
7696 (cl--position): Rename from cl-position.
7697 (cl--delete-duplicates): Rename from cl-delete-duplicates.
7698 * emacs-lisp/cl.el (cl--gensym-counter): Rename from *gensym-counter*.
7699 (cl--random-state): Rename from *random-state*.
7700
ac348012
SM
77012012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
7702
7703 * emacs-lisp/cl-macs.el (cl-transform-lambda): Don't add spurious
7704 parens around the arg list (bug#11499).
7705
a0a79cde
JL
77062012-05-17 Juri Linkov <juri@jurta.org>
7707
7708 * isearch.el (word-search-regexp, word-search-backward)
7709 (word-search-forward, word-search-backward-lax)
7710 (word-search-forward-lax): Move functions from search.c
7711 (bug#10145, bug#11381).
7712
65034a51
AM
77132012-05-16 Agustín Martín Domingo <agustin.martin@hispalinux.es>
7714
090bd7cb
JB
7715 * textmodes/flyspell.el (flyspell-check-pre-word-p)
7716 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
7717 Delay for otherchars as for normal word components.
65034a51 7718
1a72a195
SM
77192012-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
7720
7721 * minibuffer.el (completion--sifn-requote): Fix last change.
7722 (minibuffer-local-must-match-filename-map):
7723 Move define-obsolete-variable-alias before its var.
7724
fdb058c2
SM
77252012-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
7726
c41045e6
SM
7727 * emacs-lisp/pcase.el (pcase-let*, pcase-let): Fix edebug spec.
7728
036dfb8b
SM
7729 * minibuffer.el (completion--sifn-requote): Handle sifn's truncation
7730 behavior.
7731 (completion--string-equal-p): New function.
7732 (completion--twq-all): Use it to get better assertion failure data.
7733
2473256d
SM
7734 Only handle ".." and '..' quoting in shell-mode (bug#11466).
7735 * shell.el (shell--unquote&requote-argument, shell--unquote-argument)
7736 (shell--requote-argument): New functions.
7737 (shell-completion-vars): Use them.
7738 (shell--parse-pcomplete-arguments): Rename from
7739 shell-parse-pcomplete-arguments.
7740 * comint.el (comint-word): Obey comint-file-name-quote-list. Simplify.
7741 (comint--unquote&requote-argument): Don't handle ".." and '..' quoting.
7742 Obey comint-file-name-quote-list.
7743
fdb058c2
SM
7744 * emacs-lisp/smie.el (smie-indent--bolp-1): New function.
7745 (smie-indent-keyword): Use it.
7746
51fa99f1
SM
77472012-05-14 Stefan Merten <smerten@oekonux.de>
7748
7749 * textmodes/rst.el (rst-re-alist): Fix loading (bug#11462).
7750
e18afed7 77512012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
d9d1dfef
SM
7752
7753 * net/rlogin.el (rlogin-mode-map): Fix last change.
7754
e18afed7 77552012-05-14 Jason L. Wright <jason.wright@inl.gov> (tiny change)
8633b1f4
JW
7756
7757 * mail/smtpmail.el (smtpmail-send-command): Send the command and
7758 the following \r\n using a single `process-send-string', since the
7759 Lotus SMTP server refuses to accept any commands if they are sent
e18afed7 7760 with two `process-send-string's (Bug#11444).
8633b1f4 7761
e18afed7 77622012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
fe263b8f 7763
fdb058c2
SM
7764 * shell.el (shell-parse-pcomplete-arguments):
7765 Obey pcomplete-arg-quote-list inside double-quoted args (Bug#11348).
e18afed7 7766
2d21d7f6
WJ
77672012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
7768
e18afed7 7769 * image-mode.el: Fit to width/height for rotated images (Bug#11431).
2d21d7f6
WJ
7770 (image-transform-scale, image-transform-right-angle-fudge): New vars.
7771 (image-transform-width, image-transform-fit-width): New functions.
7772 (image-transform-properties): Use them.
7773 (image-transform-check-size): New function.
7774 (image-toggle-display-image): Use it (for testing).
7775 (image-transform-set-rotation): Reduce angle mod 360.
7776 Delete obsolete comment.
7777
7102e6d0
WJ
77782012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
7779
7780 * image-mode.el: Fix scaling (bug#11399).
7781 (image-transform-resize): Doc fix.
7782 (image-transform-properties): Default scale is 1 and height should
7783 be an integer.
7784
06bc5e6e
SM
77852012-05-13 Johan Bockgård <bojohan@gnu.org>
7786
7787 * emacs-lisp/smie.el (smie-next-sexp): Use accessor `op-forw' rather
7788 than hard-coding `car', to fix misbehavior when moving forward.
7789
0ae03b6a
CY
77902012-05-13 Chong Yidong <cyd@gnu.org>
7791
7792 * emacs-lisp/tabulated-list.el (tabulated-list-format)
7793 (tabulated-list-entries, tabulated-list-padding)
7794 (tabulated-list-sort-key): Make permanent-local.
7795
7796 * ebuff-menu.el: Adapt to Buffer Menu changes (Bug#11455).
7797 (electric-buffer-list): Put electric buffer menu
7798 command descriptions in this docstring, instead of the docstring
7799 of electric-buffer-menu-mode. Code cleanups.
7800 (electric-buffer-menu-mode): Use define-derived-mode. Rename from
7801 Electric-buffer-menu-mode.
7802 (electric-buffer-update-highlight): Minor code cleanup.
7803
205a7391
MA
78042012-05-13 Michael Albinus <michael.albinus@gmx.de>
7805
7806 * net/dbus.el (dbus-call-method): Restore events not from D-Bus.
7807 (Bug#11447)
7808
e5bd0a28
SM
78092012-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
7810
7811 Move define-obsolete-variable-alias before the var's definition.
7812 * vc/log-edit.el (vc-comment-ring, vc-comment-ring-index):
7813 * tooltip.el (tooltip-hook):
7814 * textmodes/reftex-toc.el (reftex-toc-map):
7815 * textmodes/reftex-sel.el (reftex-select-label-map)
7816 (reftex-select-bib-map):
7817 * textmodes/reftex-index.el (reftex-index-map)
7818 (reftex-index-phrases-map):
7819 * speedbar.el (speedbar-syntax-table, speedbar-key-map):
7820 * progmodes/meta-mode.el (meta-mode-map):
7821 * novice.el (disabled-command-hook):
7822 * loadhist.el (unload-hook-features-list):
7823 * frame.el (blink-cursor):
7824 * files.el (find-file-not-found-hooks, write-file-hooks)
7825 (write-contents-hooks):
7826 * emulation/tpu-edt.el (GOLD-map):
7827 * emacs-lock.el (emacs-lock-from-exiting):
7828 * emacs-lisp/generic.el (generic-font-lock-defaults):
7829 * emacs-lisp/chart.el (chart-map):
7830 * dos-fns.el (register-name-alist):
7831 * dired-x.el (dired-omit-files-p):
7832 * desktop.el (desktop-enable):
7833 * cus-edit.el (custom-mode-hook):
7834 * buff-menu.el (buffer-menu-mode-hook):
7835 * bookmark.el (bookmark-read-annotation-text-func)
7836 (bookmark-exit-hooks):
7837 * allout.el (allout-mode-deactivate-hook)
7838 (allout-exposure-change-hook, allout-structure-added-hook)
7839 (allout-structure-deleted-hook, allout-structure-shifted-hook):
7840 * dirtrack.el (dirtrack-toggle, dirtrackp, dirtrack-debug-toggle)
7841 (dirtrack-debug): Move call to define-obsolete-variable-alias so it
7842 comes before the corresponding variable's definition.
7843
ac59c2f6
CY
78442012-05-12 Chong Yidong <cyd@gnu.org>
7845
7846 * buff-menu.el (Buffer-menu-buffer+size-width): Doc fix (Bug#11454).
0d909786
CY
7847 (Buffer-menu-mouse-select): Restore function (Bug#11459).
7848 (Buffer-menu-mode-map): Bind it.
7849 (Buffer-menu--pretty-name): Add a mouse-face property.
ac59c2f6 7850
dee6c9a3
SM
78512012-05-11 Stefan Monnier <monnier@iro.umontreal.ca>
7852
2171cea5
SM
7853 * progmodes/prolog.el: Use SMIE. Cleanup regexp setup.
7854 (prolog-upper-case-string, prolog-lower-case-string)
7855 (prolog-atom-char-regexp, prolog-atom-regexp): Initialize in defconst.
7856 (prolog-use-smie, prolog-smie-grammar): New vars.
7857 (prolog-smie-forward-token, prolog-smie-backward-token)
7858 (prolog-smie-rules): New funs.
7859 (prolog-comment-indent): Remove.
7860 (prolog-mode-variables): Use default comment indentation instead.
7861 Setup SMIE.
7862 (prolog-build-case-strings, prolog-set-atom-regexps): Remove.
7863 (prolog-mode): Don't call them any more.
7864 (prolog-electric-colon, prolog-electric-dash)
7865 (prolog-edit-menu-insert-move): Use indent-according-to-mode.
7866
aa0382bd
SM
7867 * dabbrev.el (dabbrev-expand): Make "no expansion found" a user-error.
7868
dbacb4bd
SM
7869 * minibuffer.el (completion--twq-all): Again, allow case differences.
7870
13bdd94c
SM
7871 * term.el: Move keymap initialization code to be more idiomatic.
7872 (term-signals-menu, term-mode-map, term-raw-map, term-raw-escape-map)
7873 (term-terminal-menu): Move initialization into declaration.
7874 (term-escape-char): Let the user set it in her .emacs.
7875
ff46c759
SM
7876 * progmodes/sh-script.el: Use post-self-insert-hook&electric-pair-mode.
7877 Provide SMIE-based indentation (not enabled by default yet).
7878 (sh-mode-map): Don't bind electric keys.
7879 Use electric-pair-mode instead of skeleton-pair.
7880 (sh-assignment-regexp): Fit within 80 columns.
7881 (sh-indent-supported): Specify actual shell name instead of boolean.
7882 (sh--maybe-here-document): New fun, from sh-maybe-here-document.
7883 (sh-maybe-here-document): Use it. Make obsolete.
7884 (sh-electric-here-document-mode) New minor mode.
7885 (sh-mode): Use it. Don't set sh-indent-supported-here here.
7886 (sh-smie-sh-grammar, sh-smie--sh-operators, sh-smie--sh-operators-re)
7887 (sh-smie--sh-operators-back-re, sh-indent-after-continuation)
7888 (sh-smie-rc-grammar, sh-use-smie): New vars.
7889 (sh-smie--keyword-p, sh-smie--newline-semi-p, sh-smie--sh-keyword-p)
7890 (sh-smie-sh-forward-token, sh-smie--looking-back-at-continuation-p)
7891 (sh-smie-sh-backward-token, sh-smie--continuation-start-indent)
7892 (sh-smie-sh-rules, sh-smie-rc-rules, sh-smie--sh-keyword-in-p)
7893 (sh-smie--rc-after-special-arg-p, sh-smie-rc-backward-token)
7894 (sh-smie-sh-rules, sh-smie--rc-newline-semi-p): New functions.
7895 (sh-set-shell): Use smie-setup if requested.
7896
dee6c9a3
SM
7897 * term.el (term-set-escape-char): Properly set term-escape-char.
7898 See http://stackoverflow.com/questions/10524656.
7899
9f9aa044
CY
79002012-05-10 Chong Yidong <cyd@gnu.org>
7901
7902 * ffap.el (ffap-url-unwrap-local): Make it work right (Bug#9131).
7903 Use url-generic-parse-url, and handle host names and Windows
7904 filenames properly.
7905 (ffap-url-unwrap-remote): Use url-generic-parse-url.
7906 (ffap-url-unwrap-remote): Accept list values, specifying a list of
7907 URL schemes to work on.
7908 (ffap--toggle-read-only): New function.
7909 (ffap-read-only, ffap-read-only-other-window)
7910 (ffap-read-only-other-frame): Use it.
7911 (ffap-fixup-url): Don't check ffap-ftp-regexp, since it is not
7912 necessary for ffap-url-unwrap-remote.
7913
836d29b3
DA
79142012-05-10 Dave Abrahams <dave@boostpro.com>
7915
7916 * cus-start.el (create-lockfiles): Add it.
7917
00fd78ed
CY
79182012-05-09 Chong Yidong <cyd@gnu.org>
7919
7920 * net/browse-url.el (browse-url-url-encode-chars): Use upper-case.
7921 (browse-url-encode-url): Encode spaces and quotes (Bug#6300).
7922
666b903b 79232012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
1cb51c12
SM
7924
7925 * shell.el (shell-completion-vars): Fix last change (bug#11348).
7926
666b903b 79272012-05-09 Chong Yidong <cyd@gnu.org>
18f00515
CY
7928
7929 * ansi-color.el (ansi-color-process-output): Check for validity of
7930 comint-last-output-start before using it. This avoids a bad
7931 interaction with gdb-mi's input/output buffer.
7932
666b903b 79332012-05-09 Glenn Morris <rgm@gnu.org>
fd075e7b
GM
7934
7935 * files.el (dir-locals-read-from-file):
7936 Mention dir-locals in any error message.
7937
666b903b 79382012-05-09 Chong Yidong <cyd@gnu.org>
25f292cd
CY
7939
7940 * emacs-lisp/package.el (package-built-in-p): Handle the `emacs'
7941 package (Bug#11410).
7942
f677562b
CY
7943 * emacs-lisp/package.el (package-buffer-info): Avoid putting local
7944 variables into description.
7945
666b903b 79462012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
3d53ee1b
SM
7947
7948 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list like
7949 shell-delimiter-argument-list (bug#11348).
7950 (shell-parse-pcomplete-arguments): Obey pcomplete-arg-quote-list.
7951
b499d8d0
JB
79522012-05-09 Juanma Barranquero <lekktu@gmail.com>
7953
8f6b6da8
JB
7954 * textmodes/rst.el: Silence byte-compiler warnings.
7955 (rst-re-alist, rst-reset-section-caches): Move around.
7956 (rst-re): Use `characterp', not `char-valid-p'.
7957 (font-lock-beg, font-lock-end): Declare.
7958
4824146a
JB
7959 * progmodes/idlw-shell.el (specs): Remove reference to deleted
7960 variable `idlwave-shell-activate-alt-keybindings' and simplify.
7961
b499d8d0
JB
7962 * eshell/esh-cmd.el (eshell-debug-command): Fix typo in previous change.
7963
ad89bb83
GM
79642012-05-08 Glenn Morris <rgm@gnu.org>
7965
7966 * files.el (auto-mode-alist): Treat ".make" like ".mk".
7967
8bba5a75
SM
79682012-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
7969
49ed9c8e
SM
7970 * vc/log-edit.el: Add GNU coding standards highlighting.
7971 (log-edit-font-lock-gnu-style)
7972 (log-edit-font-lock-gnu-keywords): New vars.
7973 (log-edit-font-lock-keywords): New fun.
7974 (log-edit-mode): Don't fold case in font-lock.
7975 (log-edit-font-lock-keywords): Do not assume case-folding.
7976
07d00b56
SM
7977 * imenu.el: Misc cleanup. Make docstrings out of comments.
7978 Use lexical-binding.
7979 (imenu--index-alist, imenu--last-menubar-index-alist)
7980 (imenu-menubar-modified-tick): Use defvar-local.
7981 (imenu--split-menu): Remove unused var.
7982 (imenu--cleanup-seen): Declare as global.
7983 (imenu--cleanup): Use dolist.
7984
8bba5a75
SM
7985 * subr.el (defvar-local): Add debug spec and doc-string position.
7986
5075bdb5
GM
79872012-05-08 Glenn Morris <rgm@gnu.org>
7988
090bd7cb 7989 * language/burmese.el, language/cham.el, language/czech.el:
c052c904
GM
7990 * language/english.el, language/georgian.el, language/greek.el:
7991 * language/japanese.el, language/khmer.el, language/korean.el:
7992 * language/lao.el, language/misc-lang.el, language/romanian.el:
7993 * language/sinhala.el, language/slovak.el, language/tai-viet.el:
7994 * language/thai.el, language/utf-8-lang.el:
7995 Remove no-byte-compile setting.
7996
5075bdb5
GM
7997 * play/zone.el (zone-pgm-stress): Don't pollute kill-ring. (Bug#11388)
7998
06f679a7
AH
79992012-05-08 Aaron S. Hawley <aaron.s.hawley@gmail.com>
8000
8001 * progmodes/make-mode.el (makefile-browse):
8002 Remove unnecessary interactive. (Bug#11324)
8003
03794570
GM
80042012-05-07 Glenn Morris <rgm@gnu.org>
8005
af8630f4
GM
8006 * forms-d2.el, forms-pass.el: Move to ../etc/forms directory.
8007
03794570
GM
8008 * international/mule.el (find-auto-coding): Make "unibyte: t" obsolete.
8009
f0809a9d
SM
80102012-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
8011
28be5ce7
SM
8012 * loadup.el: Preload newcomment.el.
8013 * newcomment.el: Move autoload-only code to toplevel.
8014
f0809a9d
SM
8015 * buff-menu.el (list-buffers--refresh): Mark `size' as right-align.
8016 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
8017 Handle new :right-align column property.
8018 (tabulated-list-print-col): Idem, plus use `display' text-property to
8019 try and preserve alignment for variable pitch fonts.
8020
1241b724
CY
80212012-05-07 Chong Yidong <cyd@gnu.org>
8022
8023 * emacs-lisp/tabulated-list.el: Add no-header-line alternative.
8024 (tabulated-list-use-header-line): New var.
8025 (tabulated-list-init-header): Use it.
8026 (tabulated-list-print-fake-header): New function.
8027 (tabulated-list-print): Use it.
8028 (tabulated-list-sort-button-map): Add non-header-line commands.
8029 (tabulated-list-init-header): Add column name property to basic
8030 labels as well.
8031 (tabulated-list-col-sort): Handle non-header-line button case.
8032 (tabulated-list--sort-by-column-name): Fix a corner case.
8033
f0809a9d
SM
8034 * buff-menu.el (list-buffers--refresh):
8035 Handle Buffer-menu-use-header-line.
1241b724 8036
e5f9458f
CY
80372012-05-06 Chong Yidong <cyd@gnu.org>
8038
8039 * buff-menu.el: Convert to Tabulated List mode.
8040 (Buffer-menu-buffer+size-width): Make obsolete.
8041 (Buffer-menu-name-width, Buffer-menu-size-width): New variables.
8042 (Buffer-menu-mode-map): Inherit from tabulated-list-mode-map.
8043 (Buffer-menu-mode): Derive from tabulated-list-mode. Move command
8044 documentation into docstring of buffer-menu.
8045 (Buffer-menu-toggle-files-only): Add an informative message.
8046 (Buffer-menu-sort): Convert to alias for tabulated-list-sort.
8047 (Buffer-menu-buffer, Buffer-menu-beginning, Buffer-menu-mark)
8048 (Buffer-menu-unmark, Buffer-menu-backup-unmark)
8049 (Buffer-menu-delete, Buffer-menu-save, Buffer-menu-not-modified)
8050 (Buffer-menu-execute, Buffer-menu-select)
8051 (Buffer-menu-marked-buffers, Buffer-menu-toggle-read-only)
8052 (Buffer-menu-bury): Use Tabulated List machinery.
8053 (Buffer-menu-mouse-select, Buffer-menu-sort-by-column)
8054 (Buffer-menu-sort-button-map, Buffer-menu-make-sort-button):
f0809a9d 8055 Delete.
e5f9458f
CY
8056 (list-buffers--refresh): New function.
8057 (list-buffers-noselect): Use it.
8058 (tabulated-list-entry-size->, Buffer-menu--pretty-name)
8059 (Buffer-menu--pretty-file-name): New helper functions.
8060
8061 * loadup.el: Preload tabulated-list.
8062
8063 * emacs-lisp/tabulated-list.el (tabulated-list-sort): Rename from
8064 tabulated-list-sort-column.
8065 (tabulated-list-init-header): Add the initial aligning space even
8066 if tabulated-list-padding is zero.
8067
e129292c
CS
80682012-05-06 Christopher Schmidt <christopher@ch.ristopher.com>
8069
8070 * emacs-lisp/cl-macs.el (cl-expr-contains): Handle cons cells
8071 whose cdr is not a cons cell correctly (bug#11038).
8072
6632d361
CY
80732012-05-06 Chong Yidong <cyd@gnu.org>
8074
e129292c
CS
8075 * emacs-lisp/tabulated-list.el (tabulated-list-format):
8076 Accept additional plist in column descriptors.
6632d361
CY
8077 (tabulated-list-init-header): Obey it.
8078 (tabulated-list-get-entry): New function.
8079 (tabulated-list-put-tag): Use it. Use string-width instead of
8080 length.
8081 (tabulated-list--column-number): New function.
8082 (tabulated-list-print): Use it.
e129292c
CS
8083 (tabulated-list-print-col): New function.
8084 Set `tabulated-list-column-name' property on each column's text.
6632d361 8085 (tabulated-list-print-entry): Use it.
e129292c
CS
8086 (tabulated-list-delete-entry, tabulated-list-set-col):
8087 New functions.
6632d361
CY
8088 (tabulated-list-sort-column): New command (Bug#11337).
8089
3cc99f68
CY
8090 * buff-menu.el (list-buffers): Move C-x C-b binding from
8091 buff-menu.el to bindings.el.
8092
8093 * ebuff-menu.el (Electric-buffer-menu-undefined): Use the
8094 :advertised-binding feature.
8095
52b61776
TN
80962012-05-06 Troels Nielsen <bn.troels@gmail.com> (tiny change)
8097
8098 * progmodes/compile.el (compilation-internal-error-properties):
8099 Calculate start position correctly when end-col is set but
8100 end-line is not (Bug#11382).
8101
ebfe2597
WJ
81022012-05-06 Wolfgang Jenkner <wjenkner@inode.at>
8103
8104 * man.el (Man-unindent): Use text-property-default-nonsticky to
8105 prevent untabify from inheriting face properties (Bug#11408).
8106
6d3f7c2f
SM
81072012-05-05 Stefan Merten <smerten@oekonux.de>
8108
8109 * textmodes/rst.el: Major merge with upstream development up to
8110 Docutils SVN r7399 / rst.el V1.2.1.
8111
8112 Clarify maintainership and authors.
8113
8114 (rst-extract-version, rst-cvs-header, rst-cvs-rev)
8115 (rst-cvs-timestamp, rst-svn-rev, rst-svn-timestamp)
8116 (rst-official-version, rst-official-cvs-rev, rst-version)
8117 (rst-package-emacs-version-alist): New functions and variables
8118 for version information.
8119
8120 (rst-bullets, rst-uri-schemes, rst-adornment-chars)
8121 (rst-max-inline-length, rst-re-alist-def, rst-re-alist)
8122 (rst-mode-syntax-table, rst-mode): New and corrected functions
8123 and variables representing reStructuredText features.
8124
8125 (rst-re): New function for reStructuredText regexes. Use in
8126 many places.
8127
8128 (rst-deprecated-keys, rst-call-deprecated, rst-define-key)
8129 (rst-mode-map): Rebind keys.
8130
8131 (rst-mode-lazy, rst-font-lock-keywords)
8132 (rst-font-lock-extend-region)
8133 (rst-font-lock-extend-region-internal)
8134 (rst-font-lock-extend-region-extend)
8135 (rst-font-lock-find-unindented-line-limit)
8136 (rst-font-lock-find-unindented-line-match)
8137 (rst-adornment-level, rst-font-lock-adornment-level)
8138 (rst-font-lock-adornment-match)
8139 (rst-font-lock-handle-adornment-pre-match-form)
8140 (rst-font-lock-handle-adornment-matcher): Major revision of
8141 font-locking. Integrate with other code. Use `jit-lock-mode'.
8142
8143 (rst-preferred-adornments, rst-adjust-hook)
8144 (rst-new-adornment-down, rst-preferred-bullets)
8145 (rst-preferred-bullets, rst-indent, rst-indent-width)
8146 (rst-indent-field, rst-indent-literal-normal)
8147 (rst-indent-literal-minimized, rst-indent-comment): Change,
8148 extend and improve customization.
8149
8150 (rst-line-homogeneous-p, rst-line-homogeneous-nodent-p)
8151 (rst-normalize-cursor-position, rst-get-decoration)
8152 (rst-straighten-deco-spacing, rst-re-bullets, rst-re-items)
8153 (rst-rstrip, rst-toc-insert-find-delete-contents)
8154 (rst-shift-fill-region, rst-compute-bullet-tabs)
8155 (rst-debug-print-tabs, rst-debug-mark-found)
8156 (rst-shift-region-guts, rst-shift-region-right)
8157 (rst-shift-region-left, rst-use-char-classes)
8158 (rst-font-lock-keywords-function)
8159 (rst-font-lock-indentation-point)
8160 (rst-font-lock-find-unindented-line-begin)
8161 (rst-font-lock-find-unindented-line-end)
8162 (rst-font-lock-find-unindented-line)
8163 (rst-font-lock-adornment-point, rst-font-lock-level)
8164 (rst-adornment-level-alist): Remove functions and variables.
8165
8166 (rst-compare-adornments, rst-get-adornment-match)
8167 (rst-suggest-new-adornment, rst-get-adornments-around)
8168 (rst-adornment-complete-p, rst-get-next-adornment)
8169 (rst-adjust-adornment, rst-display-adornments-hierarchy)
8170 (rst-straighten-adornments): Standardize function names to
8171 use "adornment" instead of "decoration". Correct callers.
8172 Similar standardizing in many places.
8173
8174 (rst-update-section, rst-adjust, rst-promote-region)
8175 (rst-enumerate-region, rst-bullet-list-region)
8176 (rst-repeat-last-character): Correct use of `interactive'.
8177
8178 (rst-classify-adornment, rst-find-all-adornments)
8179 (rst-get-hierarchy, rst-adjust-adornment, rst-toc-update)
8180 (rst-find-leftmost-column, rst-repeat-last-character):
8181 Refactor functions.
8182
8183 (rst-find-title-line, rst-reset-section-caches)
8184 (rst-get-adornments-around, rst-adjust-adornment-work)
8185 (rst-arabic-to-roman, rst-roman-to-arabic)
8186 (rst-insert-list-pos, rst-insert-list-new-item)
8187 (rst-insert-list-continue, rst-insert-list, rst-forward-line):
8188 New functions.
8189
8190 (rst-all-sections, rst-section-hierarchy)
8191 (rst-arabic-to-roman, rst-initial-enums, rst-initial-items):
8192 New variables.
8193
8194 (rst-toc-return-wincfg, rst-toc-quit-window): Use window
8195 configuration instead of only buffer. Change where necessary.
8196
8197 (rst-line-tabs, rst-compute-tabs, rst-indent-line)
8198 (rst-shift-region, rst-adaptive-fill): New functions for
8199 indentation and filling.
8200
8201 (rst-comment-line-break, rst-comment-indent)
8202 (rst-comment-insert-comment, rst-comment-region)
8203 (rst-uncomment-region): New functions for handling comments.
8204
8205 (rst-compile): Quote shell arguments.
8206
8207 (rst-compile-pdf-preview, rst-compile-slides-preview):
8208 Delete temporary files after use.
8209
a43f98b3
GM
82102012-05-05 Glenn Morris <rgm@gnu.org>
8211
48176e8b
GM
8212 * calendar/cal-html.el: Optionally include holidays in the output.
8213 Suggested by Ed Reingold <reingold@emr.cs.iit.edu>.
8214 (cal-html-holidays): New option.
8215 (cal-html-css-default): Add holiday entry.
8216 (holiday-in-range): Autoload it.
8217 (cal-html-htmlify-entry): Add optional class argument.
8218 (cal-html-htmlify-list): Add optional holidays argument.
8219 (cal-html-insert-agenda-days): Include holidays in the output.
8220 (cal-html-one-month): Maybe include holidays.
8221
a43f98b3
GM
8222 * calendar/holidays.el (holiday-in-range):
8223 Move here from cal-tex-list-holidays.
8224 * calendar/cal-tex.el (cal-tex-list-holidays):
8225 Make it an obsolete alias for holiday-in-range. Update all callers.
8226
fef9d149 82272012-05-05 Chong Yidong <cyd@gnu.org>
eceeb5fc
CY
8228
8229 * select.el (xselect--encode-string): Always use utf-8 for TEXT on
8230 Nextstep.
8231
248da2f4
RW
82322012-05-05 Ransom Williams <auvergnerw@gmail.com> (tiny change)
8233
8234 * files.el (file-auto-mode-skip): New var.
8235 (set-auto-mode-1): Use it.
8236
f95e9344
SM
82372012-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
8238
df96ab1e
SM
8239 * repeat.el: Use lexical-binding.
8240 (repeat-last-self-insert, repeat-num-input-keys-at-self-insert)
8241 (repeat-undo-count): Remove.
8242 (repeat):
8243 * progmodes/octave-mod.el (octave-abbrev-start):
8244 * progmodes/f90.el (f90-abbrev-start):
8245 * face-remap.el (text-scale-adjust):
8246 * kmacro.el (kmacro-call-macro): Use set-temporary-overlay-map.
8247
5342bb06
SM
8248 * emacs-lisp/pcase.el (pcase--let*): New function.
8249 (pcase--expand, pcase-codegen, pcase--q1): Use it to reduce nesting
8250 a bit more.
8251 (pcase--split-pred): Be more clever about ruling out overlap between
8252 a predicate and some constant pattern.
8253 (pcase--q1): Use `null' instead of (eq foo nil).
8254
f95e9344
SM
8255 * subr.el (setq-local, defvar-local): New macros.
8256 (kbd): Redefine as an alias.
8257 (with-selected-window): Leave unrelated frames alone.
8258 (set-temporary-overlay-map): New function.
8259
71873e2b
SM
82602012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
8261
8262 * subr.el (user-error): New function.
8263 * window.el (switch-to-buffer):
8264 * vc/smerge-mode.el (smerge-resolve-function, smerge-resolve)
8265 (smerge-match-conflict):
8266 * simple.el (previous-matching-history-element)
8267 (next-matching-history-element, goto-history-element, undo-more)
8268 (undo-start):
8269 * progmodes/etags.el (visit-tags-table-buffer, find-tag-tag)
8270 (find-tag-noselect, find-tag-in-order, etags-goto-tag-location)
8271 (next-file, tags-loop-scan, list-tags, complete-tag):
8272 * progmodes/compile.el (compilation-loop):
8273 * mouse.el (mouse-minibuffer-check):
8274 * man.el (Man-bgproc-sentinel, Man-goto-page):
8275 * info.el (Info-find-node-2, Info-extract-pointer, Info-history-back)
8276 (Info-history-forward, Info-follow-reference, Info-menu)
8277 (Info-extract-menu-item, Info-extract-menu-counting)
8278 (Info-forward-node, Info-backward-node, Info-next-menu-item)
8279 (Info-last-menu-item, Info-next-preorder, Info-last-preorder)
8280 (Info-next-reference, Info-prev-reference, Info-index)
8281 (Info-index-next, Info-follow-nearest-node)
8282 (Info-copy-current-node-name):
8283 * imenu.el (imenu--make-index-alist)
8284 (imenu-default-create-index-function, imenu-add-to-menubar):
8285 * files.el (basic-save-buffer, recover-file):
8286 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
8287 * emacs-lisp/checkdoc.el (checkdoc-continue, checkdoc-comments)
8288 (checkdoc-message-text, checkdoc-defun):
8289 * dabbrev.el (dabbrev-completion, dabbrev--abbrev-at-point):
8290 * cus-edit.el (customize-changed-options, customize-rogue)
8291 (customize-saved, custom-variable-set, custom-variable-mark-to-save)
8292 (custom-variable-mark-to-reset-standard)
8293 (custom-variable-reset-backup, custom-face-mark-to-reset-standard)
8294 (custom-file):
8295 * completion.el (check-completion-length):
8296 * comint.el (comint-search-arg)
8297 (comint-previous-matching-input-string-position)
8298 (comint-previous-matching-input)
8299 (comint-replace-by-expanded-history-before-point, comint-send-input)
8300 (comint-copy-old-input, comint-backward-matching-input)
8301 (comint-goto-process-mark, comint-set-process-mark):
8302 * calendar/calendar.el (calendar-cursor-to-date): Use it.
8303 * bindings.el (debug-ignored-errors): Remove regexps, add `user-error'.
8304
8a61ee22
SM
83052012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
8306
66408d1e
SM
8307 * dabbrev.el (dabbrev--ignore-case-p): New function.
8308 (dabbrev-completion, dabbrev-expand, dabbrev--substitute-expansion):
8309 Use it.
8310
8a61ee22
SM
8311 * files.el (automount-dir-prefix): Mark as obsolete.
8312
3c74813a
GM
83132012-05-04 Glenn Morris <rgm@gnu.org>
8314
8315 * patcomp.el, play/bruce.el: Move to obsolete/.
8316
0bfcf5c5
PE
83172012-05-04 Paul Eggert <eggert@cs.ucla.edu>
8318
8319 Fix minor Y10k bugs.
8320 * arc-mode.el (archive-unixdate):
8321 * autoinsert.el (auto-insert-alist):
8322 * calc/calc-forms.el (math-this-year):
8323 * emacs-lisp/copyright.el (copyright-current-year)
8324 (copyright-update-year, copyright):
8325 * tar-mode.el (tar-clip-time-string):
8326 * time.el (display-time-update):
8327 Don't assume years have 4 digits.
8328
78f3273a
CY
83292012-05-04 Chong Yidong <cyd@gnu.org>
8330
8331 * dos-w32.el (file-name-buffer-file-type-alist)
8332 (direct-print-region-use-command-dot-com):
8333 * ffap.el (ffap-menu-regexp):
8334 * find-file.el (ff-special-constructs):
8335 * follow.el (follow-debug):
8336 * forms.el (forms--debug):
8337 * iswitchb.el (iswitchb-all-frames):
8338 * ido.el (ido-all-frames):
8339 * emacs-lisp/timer.el (timer-max-repeats):
8340 * mail/feedmail.el (feedmail-mail-send-hook)
8341 (feedmail-mail-send-hook-queued):
8342 * mail/footnote.el (footnote-signature-separator):
8343 * mail/mailabbrev.el (mail-alias-separator-string)
8344 (mail-abbrev-mode-regexp):
8345 * mail/rmail.el (rmail-speedbar-match-folder-regexp):
8346 * progmodes/idlwave.el (idlwave-libinfo-file)
8347 (idlwave-default-completion-case-is-down)
8348 (idlwave-library-routines): Convert defvars to defcustoms.
8349
8350 * mail/rmail.el (rmail-decode-mime-charset):
8351 * progmodes/idlw-shell.el (idlwave-shell-print-expression-function)
8352 (idlwave-shell-fix-inserted-breaks)
8353 (idlwave-shell-activate-alt-keybindings)
8354 (idlwave-shell-use-breakpoint-glyph):
8355 * facemenu.el (facemenu-unlisted-faces): Delete obsolete vars.
8356
f7ae6719
SM
83572012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
8358
8359 * minibuffer.el (completion--twq-all): Beware completion-ignore-case.
8360
47086495
WS
83612012-05-03 Wilson Snyder <wsnyder@wsnyder.org>
8362
8363 * progmodes/verilog-mode.el (font-lock-keywords):
8364 Fix mis-highligting auto. Reported by Craig Barner.
8365 (verilog-auto, verilog-auto-undef): Add AUTOUNDEF to remove
fc0c31f8 8366 defines from global name space. Reported by Dan Dever.
47086495
WS
8367 (verilog-auto-reset, verilog-auto-reset-widths)
8368 (verilog-auto-tieoff): Support using unbased numbers for
8369 AUTORESET and AUTOTIEOFF.
8370 (verilog-submit-bug-report): Update variable list.
8371 (verilog-read-auto-params): Fix AUTOINPUT regexps containing
fc0c31f8 8372 parenthesis from not matching. Reported by Michael Rytting.
47086495
WS
8373 (verilog-auto-template-lint): Fix hash error when linting modules
8374 with no used templates.
8375 (verilog-warn, verilog-warn-error)
8376 (verilog-warn-fatal): When non-interactive report multiple
8377 warnings before exiting. Suggested by Brad Dobbie.
8378 (verilog-auto-template-lint, verilog-auto-template-warn-unused)
8379 (verilog-read-auto-template): Add `verilog-auto-template-warn-unused'
8380 to report unused template errors. Reported by Brad Dobbie.
8381 (verilog-read-decls): Fix AUTOWIRE etc on supply0, supply1 type
fc0c31f8 8382 nets, bug438. Reported by Vns Blore.
47086495
WS
8383 (verilog-auto-inout-module, verilog-auto-reg)
8384 (verilog-read-decls, verilog-read-sub-decls-sig)
8385 (verilog-signals-edit-wire-reg, verilog-signals-with):
8386 Fix passing of Verilog data types in ANSI input/output ports
fc0c31f8 8387 such as "output logic" into the AUTOs. Special case "wire" and
47086495
WS
8388 "reg" for backwards compatibility presuming Verilog 2001.
8389 (verilog-auto-ascii-enum): Add "auto enum" as alias.
8390 (verilog-preprocess): Fix replication of preprocess output.
8391 Reported by Brad Dobbie.
8392 (verilog-auto-inst-interfaced-ports):
8393 Create verilog-auto-inst-interfaced-ports, bug429.
8394 Reported by Julian Gorfajn.
8395 (verilog-after-save-font-hook)
8396 (verilog-before-save-font-hook): New variable.
8397 (verilog-modi-cache-results, verilog-save-font-mod-hooked)
8398 (verilog-save-font-mods): Wrap disabling fontification, reported
8399 by David Rogoff.
8400 (verilog-do-indent, verilog-pretty-declarations-auto)
8401 (verilog-sk-def-reg): Fix obeying `verilog-auto-lineup', bug305.
8402 Reported by Pierre-David Pfister.
8403 (verilog-set-auto-endcomments): Fix endtask auto comments outside
8404 of class declarations, bug292. Reported by Kevin Heilman.
8405 (verilog-read-decls): Fix 'parameter type' not appearing in
8406 AUTOINSTPARAM, bug340. Reported by Jonathan Greenlaw.
8407 (verilog-auto-logic): Fix when AUTOLOGIC present to properly do
fc0c31f8 8408 AUTOINPUTs, bug411. Reported by Jonathan Greenlaw.
47086495
WS
8409 (verilog-read-auto-lisp): Avoid syntax-ppss warning on AUTOLISP.
8410 Reported by David Kravitz.
8411
84122012-05-03 Michael McNamara <mac@mail.brushroad.com>
8413
8414 * progmodes/verilog-mode.el (verilog-pretty-expr): Don't line up
8415 assignment with tests in ifs and for loops.
8416 (verilog-extended-complete-re, verilog-complete-reg): Change so
8417 that DPI inport functions don't look like fuction declarations.
8418 (verilog-pretty-expr): Don't line up assignment
8419 operations to the test and increment in if and for loops
8420 (verilog-extended-complete-re, verilog-complete-reg): Change so
090bd7cb 8421 that DPI inport functions don't look like fuction declarations.
47086495 8422
2e51d4b5
KH
84232012-05-03 Kenichi Handa <handa@m17n.org>
8424
8425 * mail/rmailmm.el (rmail-show-mime): Catch an error caused by text
c846da43 8426 decoding, and show a warning message without signaling an error
2e51d4b5
KH
8427 (Bug#11282).
8428
2bd785a2
SM
84292012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
8430
8431 * emacs-lisp/bytecomp.el
8432 (byte-compile-file-form-custom-declare-variable): Compile all elements,
8433 since cconv.el might have introduced :fun-body, internal-make-closure,
8434 and friends for bytecomp to handle (bug#11391).
8435 * custom.el (defcustom): Avoid ((λ ..) ..).
8436
99d27583
SM
84372012-05-02 Stefan Monnier <monnier@iro.umontreal.ca>
8438
8439 * subr.el (read-passwd): Better clean after ourselves (bug#11392).
8440
55a71479
JB
84412012-05-02 Juanma Barranquero <lekktu@gmail.com>
8442
8443 * notifications.el (dbus-debug):
8444 * term/linux.el (gpm-mouse-enable):
8445 * term/screen.el (xterm-register-default-colors): Declare.
8446
7b97c764
CY
84472012-05-02 Chong Yidong <cyd@gnu.org>
8448
2bc356d7
CY
8449 * cus-start.el (gc-cons-percentage, exec-suffixes)
8450 (dos-display-scancodes, dos-hyper-key, dos-super-key)
8451 (dos-keypad-mode, debug-on-signal, vertical-centering-font-regexp)
8452 (make-cursor-line-fully-visible, void-text-area-pointer)
8453 (font-list-limit): Add customization data.
8454
7b97c764
CY
8455 * allout.el (allout-exposure-change-functions)
8456 (allout-structure-added-functions)
8457 (allout-structure-deleted-functions)
8458 (allout-structure-shifted-functions): Rename abnormal hooks from
8459 *-hook, and convert to defcustoms.
5d3385a0
JB
8460 (allout-after-copy-or-kill-hook, allout-post-undo-hook):
8461 Convert to defcustoms.
7b97c764
CY
8462 (allout-mode-hook, allout-mode-deactivate-hook): Doc fix.
8463
8464 * allout-widgets.el: Hook callers changed.
8465
90207a15 84662012-05-02 Eli Zaretskii <eliz@gnu.org>
91af76bf
EZ
8467
8468 * mail/rmail.el (rmail-yank-current-message): Use the encoding of
8469 the yanked message in preference to the default value of
8470 buffer-file-coding-system.
8471
90207a15 84722012-05-02 Martin Rudalics <rudalics@gmx.at>
d9558cad 8473
5d3385a0
JB
8474 * window.el (display-buffer--action-function-custom-type):
8475 Fix entry.
d9558cad 8476
90207a15 84772012-05-02 Alan Mackenzie <acm@muc.de>
09affde0
AM
8478
8479 * progmodes/cc-defs.el (c-version): Update to 5.32.3.
8480
d80ac57b
GM
84812012-05-01 Glenn Morris <rgm@gnu.org>
8482
976f7668
GM
8483 * cus-start.el (suggest-key-bindings): Remove, now it is in Lisp.
8484
beb83b5a
GM
8485 * eshell/esh-cmd.el (eshell-debug-command): Doc fix. Add :set.
8486
d80ac57b
GM
8487 * cus-edit.el (custom-variable-documentation): Simplify with format.
8488
b593d6a9 84892012-05-01 Aaron S. Hawley <aaron.s.hawley@gmail.com>
f1a71c6e 8490 Stefan Monnier <monnier@iro.umontreal.ca>
b593d6a9
AH
8491
8492 * simple.el (suggest-key-bindings, execute-extended-command):
8493 Move from keyboard.c.
8494
782fbf2a
CY
84952012-05-01 Chong Yidong <cyd@gnu.org>
8496
8497 * follow.el: Eliminate advice.
8498 (set-process-filter, process-filter, sit-for): Advice deleted.
8499 (follow-mode-off-hook): Obsolete hook removed.
b593d6a9
AH
8500 (follow-avoid-tail-recenter-p, follow-process-filter-alist):
8501 Vars deleted.
782fbf2a
CY
8502 (follow-auto): Use a :set function.
8503 (follow-mode): Rewritten. Don't advise process filters.
8504 (follow-switch-to-current-buffer-all, follow-scroll-up)
8505 (follow-scroll-down): Assume follow-mode is bound.
8506 (follow-comint-scroll-to-bottom)
8507 (follow-align-compilation-windows): New functions.
8508 (follow--window-sorter): New function.
8509 (follow-all-followers): Use it to explicitly sort windows by their
8510 positions; don't make assumptions about next-window order.
8511 (follow-windows-start-end, follow-delete-other-windows-and-split)
8512 (follow-calc-win-start): Doc fix.
8513 (follow-windows-aligned-p, follow-select-if-visible): Don't call
8514 vertical-motion unnecessarily.
8515 (follow-adjust-window): New function.
8516 (follow-post-command-hook): Use it.
8517 (follow-call-set-process-filter, follow-call-process-filter)
8518 (follow-intercept-process-output, follow-tidy-process-filter-alist)
8519 (follow-stop-intercept-process-output, follow-generic-filter):
8520 Functions deleted.
8521 (follow-scroll-bar-toolkit-scroll, follow-scroll-bar-drag)
b593d6a9
AH
8522 (follow-scroll-bar-scroll-up, follow-scroll-bar-scroll-down):
8523 New functions, replacing advice on scroll-bar-* commands.
87233a14 8524 (follow-mwheel-scroll): New function (Bug#4112).
782fbf2a
CY
8525
8526 * comint.el (comint-adjust-point): New function.
b593d6a9
AH
8527 (comint-postoutput-scroll-to-bottom): Use it.
8528 Call follow-comint-scroll-to-bottom for Follow mode buffers.
782fbf2a 8529
290af740
GM
85302012-05-01 Glenn Morris <rgm@gnu.org>
8531
8532 * term/AT386.el, term/apollo.el, term/bobcat.el, term/cygwin.el:
8533 * term/iris-ansi.el, term/linux.el, term/lk201.el, term/news.el:
8534 * term/screen.el, term/vt102.el, term/vt125.el, term/vt200.el:
8535 * term/vt201.el, term/vt220.el, term/vt240.el, term/vt300.el:
8536 * term/vt320.el, term/vt400.el, term/vt420.el, term/wyse50.el:
8537 Remove no-byte-compile setting.
8538
6eac8dc9
SM
85392012-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
8540
8541 * minibuffer.el (completion-table-with-quoting): Fix compatibility
8542 all-completions code to not return a number in the last cdr.
8543
9cc7819c
LL
85442012-04-30 Leo Liu <sdl.web@gmail.com>
8545
8546 * ibuf-ext.el (ibuffer-diff-buffer-with-file-1): Avoid buffer
8547 read-only error.
8548
c93b886f
CY
85492012-04-29 Chong Yidong <cyd@gnu.org>
8550
8551 * follow.el (follow-calc-win-end): Rewrite to handle partial
8552 screen lines correctly (Bug#8390).
8553 (follow-avoid-tail-recenter): Minor cleanup.
8554
8b6c19f4
SM
85552012-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
8556
8557 Avoid the obsolete `assoc' package.
8558 * speedbar.el (speedbar-refresh): Avoid adelete.
8559 (speedbar-file-lists): Simplify and avoid aput.
8560 * man.el (Man--sections, Man--refpages): New vars, replacing
8561 Man-sections-alist and Man-refpages-alist.
8562 (Man-build-section-alist, Man-build-references-alist):
8563 Use them; avoid aput.
8564 (Man--last-section, Man--last-refpage): New vars.
8565 (Man-follow-manual-reference): Use them.
8566 Use the `default' arg of completing-read.
8567 (Man-goto-section): Idem. Move prompt to the `interactive' spec.
8568
c5bb7569
CY
85692012-04-27 Chong Yidong <cyd@gnu.org>
8570
d1d2e2e8
CY
8571 * vc/diff.el (diff-sentinel): Go to bob (Bug#10259).
8572
15cd8efd
CY
8573 * startup.el (x-apply-session-resources): New function.
8574
8575 * term/ns-win.el (ns-initialize-window-system):
8576 * term/w32-win.el (w32-initialize-window-system):
8577 * term/x-win.el (x-initialize-window-system): Use it to properly
8578 set menu-bar-mode and other vars from X resources, even if the
8579 initial frame is not a window-system frame (Bug#2299).
8580
c5bb7569
CY
8581 * subr.el (read-key): Avoid running filter function when setting
8582 up temporary tool bar entries (Bug#9922).
8583
a8e7d6d7 85842012-04-27 Andreas Schwab <schwab@linux-m68k.org>
c4347ab9
AS
8585
8586 * vc/vc-git.el (vc-git-state): Fix regexp matching diff output.
8587 (Bug#11344)
8588
a8e7d6d7 85892012-04-27 Chong Yidong <cyd@gnu.org>
acb71f1d
CY
8590
8591 * select.el (xselect--encode-string): New function, split from
8592 xselect-convert-to-string.
8593 (xselect-convert-to-string): Use it.
8594 (xselect-convert-to-filename, xselect-convert-to-os)
8595 (xselect-convert-to-host, xselect-convert-to-user): Ensure that
8596 returned strings are properly encoded (Bug#11315).
8597
a8e7d6d7 85982012-04-27 Chong Yidong <cyd@gnu.org>
d55486c7
CY
8599
8600 * simple.el (delete-active-region): Move to killing custom group.
8601
a8e7d6d7 86022012-04-27 Andreas Schwab <schwab@linux-m68k.org>
581b6788
AS
8603
8604 * progmodes/which-func.el (which-func-current): Quote %
8605 characters for mode-line processing.
8606
578c1d4b 86072012-04-27 Chong Yidong <cyd@gnu.org>
18edb22d
CY
8608
8609 * xml.el (xml-parse-region, xml-parse-tag): Avoid errors due to
8610 reaching eob (Bug#11286).
8611
a8e7d6d7 86122012-04-27 Eli Zaretskii <eliz@gnu.org>
9ee9f470
EZ
8613
8614 * progmodes/gdb-mi.el (gdb-control-level): New variable.
8615 (gdb): Make it buffer-local and init to zero.
8616 (gdb-control-commands-regexp): New variable.
8617 (gdb-send): Don't wrap in "-interpreter-exec console" if
8618 gdb-control-level is positive. Increment gdb-control-level
8619 whenever the command matches gdb-control-commands-regexp, and
8620 decrement it each time the command is "end". (Bug#11279)
8621
a8e7d6d7 86222012-04-27 Martin Rudalics <rudalics@gmx.at>
41cfe0cb
MR
8623
8624 * window.el (adjust-window-trailing-edge, enlarge-window)
8625 (shrink-window, window-resize):
8626 * mouse.el (mouse-drag-line): Fix resizing of minibuffer
8627 windows (Bug#11276).
8628
b3608390
CY
86292012-04-27 Chong Yidong <cyd@gnu.org>
8630
8631 * progmodes/pascal.el (pascal--extra-indent): Rename from ind, to
a8e7d6d7 8632 fix "missing prefix" warning. All callers changed.
b3608390 8633
797e6e88
SM
86342012-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
8635
8636 * emacs-lisp/assoc.el: Move to obsolete/.
8637
e95a67dc
SM
86382012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
8639
657c21e4 8640 * emacs-lisp/assoc.el (aget): Fix dynamic-scoping issue (bug#11352).
e95a67dc
SM
8641
8642 * term/ns-win.el (ns-define-service):
8643 * progmodes/pascal.el (pascal-goto-defun):
8644 * progmodes/js.el (js--read-tab):
8645 * progmodes/etags.el (tags-lazy-completion-table):
8646 * emacs-lisp/syntax.el (syntax-propertize-via-font-lock):
8647 * emacs-lisp/ewoc.el (ewoc--wrap):
8648 * emacs-lisp/assoc.el (aput, adelete, amake):
8649 * doc-view.el (doc-view-convert-current-doc):
8650 * vc/diff.el (diff-no-select): Replace lexical-let by lexical-binding.
8651
cb3e7ae0
CY
86522012-04-26 Chong Yidong <cyd@gnu.org>
8653
dce04f7f
CY
8654 * image.el (image-type-from-buffer): Only return supported image
8655 type (Bug#9045).
8656
cb3e7ae0
CY
8657 * vc/diff-mode.el (diff-beginning-of-hunk): Return a meaningful
8658 value, for symmetry with diff-end-of-hunk.
8659 (diff-split-hunk, diff-find-source-location)
8660 (diff-ignore-whitespace-hunk, diff-refine-hunk): Use it.
8661 (diff-bounds-of-hunk, diff-bounds-of-file): New functions.
8662 (diff-restrict-view, diff-hunk-kill, diff-file-kill): Use them to
8663 compute the relevant hunk or file properly (Bug#6005).
8664 (diff-file-junk-re): Add bzr's "modified file" tag (Bug#6041).
8665
0d42eb3e
SM
86662012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
8667
8668 * vc/vc-mtn.el:
8669 * vc/vc-hg.el:
8670 * vc/vc-git.el:
8671 * vc/vc-dir.el:
8672 * vc/vc-cvs.el:
8673 * vc/vc-bzr.el:
8674 * vc/vc-arch.el:
8675 * vc/vc.el: Replace lexical-let by lexical-binding.
8676 * minibuffer.el (lazy-completion-table): Avoid ((λ ...) ...).
8677 * emacs-lisp/cl-macs.el (lexical-let): Fix use in lexical-binding.
8678 * emacs-lisp/cconv.el (cconv-analyse-form): Warn use of ((λ ...) ...).
8679
f08ae1c9
CY
86802012-04-26 Chong Yidong <cyd@gnu.org>
8681
8b71081d
CY
8682 * vc/diff-mode.el (diff-undo): New command (Bug#5302).
8683 (diff-mode-shared-map): Bind it to / and [remap undo].
8684
f08ae1c9
CY
8685 * vc/ediff-wind.el (ediff-setup-windows-default): New function.
8686 (ediff-window-setup-function): Use it as the default, to set up
8687 windows based on whether the current frame is graphical (Bug#2138).
8688 (ediff-choose-window-setup-function-automatically): Make obsolete.
8689
8690 * vc/ediff-init.el: Always define ediff-pixel-width/height.
8691
ef24141c
SM
86922012-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
8693
cc356a5d
SM
8694 * ffap.el: Remove old code for obsolete package.
8695 (ffap-complete-as-file-p): Remove.
8696
b4ff4f1f
SM
8697 Use completion-table-with-quoting for comint and pcomplete.
8698 * comint.el (comint--unquote&requote-argument)
8699 (comint--unquote-argument, comint--requote-argument): New functions.
8700 (comint--unquote&expand-filename, comint-unquote-filename): Obsolete.
8701 (comint-quote-filename): Use regexp-opt-charset.
8702 (comint--common-suffix, comint--common-quoted-suffix)
8703 (comint--table-subvert): Remove.
8704 (comint-unquote-function, comint-requote-function): New vars.
8705 (comint--complete-file-name-data): Use them with
8706 completion-table-with-quoting.
8707 * pcmpl-unix.el (pcomplete/scp): Use completion-table-subvert.
8708 * pcomplete.el (pcomplete-arg-quote-list)
8709 (pcomplete-quote-arg-hook, pcomplete-quote-argument): Obsolete.
8710 (pcomplete-unquote-argument-function): Default to non-nil.
8711 (pcomplete-unquote-argument): Simplify.
8712 (pcomplete--common-quoted-suffix): Remove.
8713 (pcomplete-requote-argument-function): New var.
8714 (pcomplete--common-suffix): New function.
8715 (pcomplete-completions-at-point): Use completion-table-with-quoting
8716 and completion-table-subvert.
8717
79c4eeb4
SM
8718 * minibuffer.el: Use completion-table-with-quoting for read-file-name.
8719 (minibuffer--double-dollars): Preserve properties.
8720 (completion--sifn-requote): New function.
8721 (completion--file-name-table): Rewrite using it and c-t-with-quoting.
8722
ef24141c
SM
8723 * minibuffer.el: Add support for completion of quoted/escaped data.
8724 (completion-table-with-quoting, completion-table-subvert): New funs.
8725 (completion--twq-try, completion--twq-all): New functions.
8726 (completion--nth-completion): New function.
8727 (completion-try-completion, completion-all-completions): Use it.
8728
784e7d6e
LL
87292012-04-25 Leo Liu <sdl.web@gmail.com>
8730
dd2ac746
SM
8731 * progmodes/python.el (python-pdbtrack-get-source-buffer):
8732 Use compilation-message if available to find real filename.
784e7d6e 8733
07875ee7
CY
87342012-04-25 Chong Yidong <cyd@gnu.org>
8735
8736 * vc/diff-mode.el (diff-setup-whitespace): New function.
8737 (diff-mode): Use it.
8738
8739 * vc/diff.el (diff-sentinel):
8740 * vc/vc.el (vc-diff-finish): Call diff-setup-whitespace to assign
8741 Whitespace mode variables based on diff style (Bug#8612).
8742
5055880d
LL
87432012-04-25 Leo Liu <sdl.web@gmail.com>
8744
daf75653
LL
8745 * progmodes/python.el (python-send-region): Add suffix .py to the
8746 temp file.
8747
5055880d
LL
8748 * files.el (auto-mode-alist): Use javascript-mode instead.
8749
db9b177b
AH
87502012-04-25 Alex Harsanyi <AlexHarsanyi@gmail.com>
8751
ef24141c 8752 Sync with soap-client repository. Support SOAP simpleType (Bug#10331).
db9b177b 8753
090bd7cb 8754 * net/soap-client.el (soap-resolve-references-for-sequence-type)
ef24141c 8755 (soap-resolve-references-for-array-type): Hack to prevent self
db9b177b 8756 references, see Bug#9.
ef24141c 8757 (soap-parse-envelope): Report the contents of the 'detail' node
db9b177b 8758 when receiving a fault reply.
ef24141c 8759 (soap-parse-envelope): Report the contents of the entire 'detail' node.
db9b177b 8760
090bd7cb 8761 * net/soap-inspect.el (soap-sample-value-for-simple-type)
ef24141c 8762 (soap-inspect-simple-type): New function.
db9b177b 8763
090bd7cb 8764 * net/soap-client.el (soap-simple-type): New struct.
db9b177b 8765 (soap-default-xsd-types, soap-default-soapenc-types)
ef24141c
SM
8766 (soap-decode-basic-type, soap-encode-basic-type):
8767 support unsignedInt and double basic types.
db9b177b 8768 (soap-resolve-references-for-simple-type)
ef24141c
SM
8769 (soap-parse-simple-type, soap-encode-simple-type): New function.
8770 (soap-parse-schema): Parse xsd:simpleType declarations.
db9b177b 8771
090bd7cb 8772 * net/soap-client.el (soap-default-xsd-types)
ef24141c
SM
8773 (soap-default-soapenc-types): Add integer, byte and anyURI types.
8774 (soap-parse-complex-type-complex-content): Use `soap-wk2l' to find
8775 the local name of "soapenc:Array".
8776 (soap-decode-basic-type, soap-encode-basic-type): Support encoding
db9b177b
AH
8777 decoding integer, byte and anyURI xsd types.
8778
1fc6097b
CY
87792012-04-25 Chong Yidong <cyd@gnu.org>
8780
8781 * cus-edit.el (custom-buffer-create-internal): Update header text.
8782
afc6df87
EZ
87832012-04-25 Eli Zaretskii <eliz@gnu.org>
8784
8785 * progmodes/gdb-mi.el (gdb-init-1): Condition Windows-specific
8786 settings on 'system-type', not on 'window-system'. On MS-Windows,
8787 set interactive-mode on in GDB.
8788
dfbd787f
SM
87892012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
8790
8791 * progmodes/ruby-mode.el: Simplify last change, and cleanup code.
8792 (ruby-syntax-propertize-regexp): Remove.
8793 (ruby-syntax-propertize-function): Split regexp into chunks.
8794 Match following code directly.
8795
85222d44
DG
87962012-04-24 Dmitry Gutov <dgutov@yandex.ru>
8797
51a8ea2a
DG
8798 * progmodes/ruby-mode.el: Handle Cucumber defs (bug#6286).
8799 (ruby-syntax-propertize-regexp): New function.
8800 (ruby-syntax-propertize-function): Use it to handle regexp not preceded
8801 by a special keyword.
8802
85222d44
DG
8803 * progmodes/ruby-mode.el: Handle general delimited literals (bug#6286).
8804 (ruby-syntax-general-delimiters-goto-beg)
8805 (ruby-syntax-propertize-general-delimiters): New functions.
8806 (ruby-syntax-propertize-function): Use them to handle GDL.
8807 (ruby-font-lock-keywords): Move old handling of GDL...
8808 (ruby-font-lock-syntactic-keywords): .. to here.
8809 (ruby-calculate-indent): Adjust indentation for GDL.
8810
b613912b
MA
88112012-04-24 Michael Albinus <michael.albinus@gmx.de>
8812
b5380639
MA
8813 * notifications.el (top): Remove unneeded declarations.
8814 (notifications-specification-version): Change to "1.2".
e43042fe 8815 (notifications-interface, notifications-notify-method)
b613912b
MA
8816 (notifications-close-notification-method): Fix docstring.
8817 (notifications-get-capabilities-method): New defconst.
e43042fe
MA
8818 (notifications-notify): Add :action-items, :resident and
8819 :transient hints. Change "image_data" to "image-data" and
8820 "image_path" to "image-path".
b613912b
MA
8821 (notifications-get-capabilities): New defun.
8822
257440aa
LL
88232012-04-24 Leo Liu <sdl.web@gmail.com>
8824
8825 * progmodes/python.el: Move hideshow setup to the end.
8826
b1bac16e
MR
88272012-04-24 Martin Rudalics <rudalics@gmx.at>
8828
8829 * window.el (handle-select-window): Clear echo area since this is
8830 no more done by read_char (Bug#11304).
8831
d81bd059
SM
88322012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
8833
8834 * ibuffer.el (ibuffer-mode-map): Bind `/ m' to filter-used-mode
8835 and `/ M' to filter-derived-mode.
8836 * ibuf-ext.el (ibuffer-list-buffer-modes): Simplify; avoid add-to-list.
8837 (ibuffer-filter-by-mode, ibuffer-filter-by-used-mode)
8838 (ibuffer-mark-by-mode): Use default rather than initial-input.
8839 (ibuffer-filter-by-derived-mode): Autoload and require-match.
8840
c4cf6d91
IA
88412012-04-24 Ivan Andrus <darthandrus@gmail.com> (tiny change)
8842
8843 * ibuf-ext.el (ibuffer-list-buffer-modes): Add `include-parents' arg.
8844 (ibuffer-filter-by-derived-mode): New filter.
8845 * ibuffer.el (ibuffer-mode-map): Bind to `/ w'.
8846
7511ded8
CY
88472012-04-23 Andreas Politz <politza@fh-trier.de>
8848
8849 * subr.el (accept-change-group): Fix arg usage (Bug#6095).
8850
775c916b
CY
88512012-04-23 Chong Yidong <cyd@gnu.org>
8852
8853 * cus-edit.el (customize-apropos, customize-apropos-options):
8854 Disable matching of non-option variables (Bug#11176).
8855 (customize-option, customize-option-other-window)
8856 (customize-changed-options): Doc fix.
8857 (customize-apropos-options, customize-apropos-faces)
8858 (customize-apropos-groups): Use apropos-read-pattern (Bug#11124).
8859
8860 * apropos.el (apropos-read-pattern): Make prompt less cryptic.
922d37d3 8861 Fix word list splitting (Bug#11132).
46c71e23
CY
8862 (apropos-symbol, apropos-keybinding, apropos-label)
8863 (apropos-property, apropos-function-button)
8864 (apropos-variable-button, apropos-misc-button): New faces.
8865 (apropos-symbol-face, apropos-keybinding-face)
8866 (apropos-label-face, apropos-property-face, apropos-match-face):
8867 Variables removed (Bug#8396).
8868 (apropos-library-button, apropos-format-plist, apropos-print)
8869 (apropos-print-doc, apropos-describe-plist): Callers changed.
775c916b 8870
2df41f9c
MA
88712012-04-23 Michael Albinus <michael.albinus@gmx.de>
8872
8873 * net/xesam.el (xesam-mode-map): Use let-bound map in
8874 initialization. (Bug#11292)
8875
da00640a
AM
88762012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
8877
8878 Preserve ispell session localwords when switching back to
8879 original buffer.
8880
090bd7cb
JB
8881 * textmodes/ispell.el (ispell-buffer-session-localwords):
8882 New buffer-local variable to hold buffer session localwords.
ed9265fc 8883 (ispell-kill-ispell): Add option 'clear to delete session
da00640a
AM
8884 localwords.
8885 (ispell-command-loop, ispell-change-dictionary)
8886 (ispell-buffer-local-words): Preserve session localwords when
8887 needed.
8888
090bd7cb
JB
8889 * textmodes/flyspell.el (flyspell-process-localwords)
8890 (flyspell-do-correct): Preserve session localwords when needed.
da00640a 8891
f621ccf5
AM
88922012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
8893
090bd7cb
JB
8894 * textmodes/ispell.el (ispell-insert-word) Remove unneeded function
8895 using obsolete `translation-table-for-input'.
ef24141c
SM
8896 (ispell-word, ispell-process-line, ispell-complete-word):
8897 Use plain `insert' instead of removed `ispell-insert-word'.
f621ccf5 8898
c2d1019e
CY
88992012-04-22 Chong Yidong <cyd@gnu.org>
8900
8901 * cus-edit.el (custom-variable-menu)
8902 (custom-variable-reset-saved, custom-face-menu)
8903 (custom-face-reset-saved): If there is no saved value, make the
8904 "reset-saved" operation bring back the default (Bug#9509).
8905 (custom-face-state): Properly detect themed faces.
8906
eeddc531
CY
8907 * faces.el (face-spec-set): Stop supporting deprecated form of
8908 third arg.
8909
dcbf5805
MA
89102012-04-22 Michael Albinus <michael.albinus@gmx.de>
8911
8912 Move functions from C to Lisp. Make non-blocking method calls
8913 the default. Implement further D-Bus standard interfaces.
8914
ef24141c
SM
8915 * net/dbus.el (dbus-message-internal): Declare function.
8916 Remove unneeded function declarations.
dcbf5805
MA
8917 (defvar dbus-message-type-invalid, dbus-message-type-method-call)
8918 (dbus-message-type-method-return, dbus-message-type-error)
8919 (dbus-message-type-signal): Declare variables. Remove local
8920 definitions.
8921 (dbus-interface-dbus, dbus-interface-peer)
8922 (dbus-interface-introspectable, dbus-interface-properties)
8923 (dbus-path-emacs, dbus-interface-emacs, dbus-return-values-table):
8924 Adapt docstring.
8925 (dbus-interface-objectmanager): New defconst.
8926 (dbus-call-method, dbus-call-method-asynchronously)
8927 (dbus-send-signal, dbus-method-return-internal)
8928 (dbus-method-error-internal, dbus-register-service)
8929 (dbus-register-signal, dbus-register-method): New defuns, moved
8930 from dbusbind.c
8931 (dbus-call-method-handler, dbus-setenv)
ef24141c
SM
8932 (dbus-get-all-managed-objects, dbus-managed-objects-handler):
8933 New defuns.
dcbf5805
MA
8934 (dbus-call-method-non-blocking): Make it an obsolete function.
8935 (dbus-unregister-object, dbus-unregister-service)
8936 (dbus-handle-event, dbus-register-property)
8937 (dbus-property-handler): Obey the new structure of
8938 `bus-registered-objects'.
8939 (dbus-introspect): Use `dbus-call-method'. Use a timeout.
8940 (dbus-get-property, dbus-set-property, dbus-get-all-properties):
8941 Use `dbus-call-method'.
8942
cf20dee0
CY
89432012-04-22 Chong Yidong <cyd@gnu.org>
8944
8945 * cus-edit.el (custom-commands, custom-reset-menu)
8946 (Custom-reset-standard): Tweak labels.
8947 (custom-reset-button-menu): Change default to t.
8948 (custom-buffer-create-internal): For the custom-reset-button-menu
8949 case, put the revert button first.
8950 (custom-group-subtitle): New face.
8951 (custom-group-value-create): Align docstring to a specific column.
8952
8953 * wid-edit.el (widget-documentation-link-add): Don't handle
8954 indentation in this function.
8955 (widget-documentation-string-indent-to): New function.
8956 (widget-documentation-string-value-create): Use it.
8957
8958 * autorevert.el (auto-revert):
8959 * epg-config.el (epg):
8960 * ibuffer.el (ibuffer):
8961 * mpc.el (mpc):
8962 * ses.el (ses):
8963 * eshell/eshell.el (eshell):
8964 * net/ange-ftp.el (ange-ftp):
8965 * progmodes/ebnf2ps.el (postscript):
8966 * progmodes/flymake.el (flymake):
8967 * progmodes/prolog.el (prolog):
8968 * progmodes/verilog-mode.el (verilog-mode):
8969 * progmodes/which-func.el (which-func):
8970 * term/xterm.el (xterm):
8971 * textmodes/picture.el (picture):
8972 * textmodes/tildify.el (tildify):
8973 * vc/ediff.el (ediff): Tweak defgroups to improve presentation in
8974 customization buffers.
8975
583e23bd
AM
89762012-04-22 Alan Mackenzie <acm@muc.de>
8977
8978 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
8979 Adding a ) can hide the resulting (..) from searches. Fix it.
8980 Bound the backward search to the position of the existing (.
8981
7dd51bf1
JB
89822012-04-21 Juanma Barranquero <lekktu@gmail.com>
8983
8984 * progmodes/verilog-mode.el (verilog-mode): Check whether
8985 which-func-modes is t before adding verilog-mode.
8986 Reported by Andy Moreton <andrewjmoreton@gmail.com>.
8987
d64a438f
LL
89882012-04-21 Leo Liu <sdl.web@gmail.com>
8989
7dd51bf1 8990 * net/rcirc.el (rcirc): Avoid error when process-contact returns t.
d64a438f 8991
081e8d65
MV
89922012-04-21 Michael Vehrs <Michael.Burschik@gmx.de>
8993
8994 * woman.el: Add support for "T{ T}" tbl syntax, and fix the
8995 filling of the last column of a table (Bug#5635).
8996 (woman-find-next-control-line): New arg, specifying an additional
8997 regexp component for the control line.
8998 (woman2-roff-buffer): Use it.
8999 (woman-break-table): New function.
9000 (woman2-TS): Use it.
9001
90022012-04-21 Chong Yidong <cyd@gnu.org>
9003
9004 * woman.el (woman-set-buffer-display-table, woman-decode-region)
9005 (woman-horizontal-escapes, woman-negative-vertical-space)
9006 (woman-tab-to-tab-stop, woman2-fc, woman2-TS)
9007 (WoMan-warn-ignored): Use ?\s instead of ?\ .
9008
ed571ccb
SM
90092012-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
9010
9011 * minibuffer.el (completion-file-name-table): Complete user names.
9012
39773899
LL
90132012-04-20 Leo Liu <sdl.web@gmail.com>
9014
9015 * font-lock.el (lisp-font-lock-keywords-2): Add pcase, pcase-let
9016 and pcase-let*.
9017
de6ff46d
CY
90182012-04-20 Chong Yidong <cyd@gnu.org>
9019
9020 * server.el (server-execute): Respect initial-buffer-choice if it
9021 is a string and there are no files to open (Bug#2825).
9022 (server-create-window-system-frame, server-create-tty-frame):
9023 Don't switch buffers here.
2d0e8e61
CY
9024 (server-process-filter): Only try to open a window system frame if
9025 compiled with graphical support (Bug#8314).
de6ff46d 9026
54071013
DN
90272012-04-20 Dan Nicolaescu <dann@gnu.org>
9028
9029 * battery.el (battery-echo-area-format): Display remaining time
9030 for sysfs backend too (Bug#11269).
9031 (battery-linux-sysfs): Fix conditional for the charge.
9032
f30d612a
CY
90332012-04-20 Chong Yidong <cyd@gnu.org>
9034
c07a4c0b 9035 * progmodes/gdb-mi.el (gdb): Revert previous change.
f30d612a
CY
9036 (gdb-inferior-io--init-proc): New function.
9037 (gdb-init-1): Use it.
9038 (gdb-inferior-io-sentinel): New sentinel for the gdb-inferior pty,
9039 responsible for allocating a new pty and hooking it to gdb when
9040 the old pty gets an EIO due to process exit.
9041 (gdb-delchar-or-quit): New command. Bind it in gdb-mi buffers.
9042 (gdb-tooltip-print): Don't use obsolete tooltip-use-echo-area.
9043 (gdb-inferior-io--maybe-delete-pty): Move into gdb-reset.
9044
2116e93c
EZ
90452012-04-20 Eli Zaretskii <eliz@gnu.org>
9046
9047 * window.el (window-min-size, window-sizable, window-min-delta)
9048 (window-max-delta, window--resizable, window-resizable)
9049 (window-total-size, window-full-height-p, window-full-width-p)
9050 (window-in-direction, window--resize-mini-window, window-resize)
9051 (window--resize-child-windows-normal)
9052 (window--resize-child-windows, window--resize-siblings)
9053 (window--resize-this-window, adjust-window-trailing-edge)
cd0f830c 9054 (enlarge-window, shrink-window): Doc fixes.
2116e93c 9055
c07a4c0b 90562012-04-20 Chong Yidong <cyd@gnu.org>
b668fa6e 9057
ef24141c
SM
9058 * progmodes/gdb-mi.el (gdb-inferior-io--maybe-delete-pty):
9059 New function to call delete-process on the gdb-inferior buffer's pty.
b668fa6e
CY
9060 (gdb-reset): Use it, instead of relying on kill-buffer to kill the
9061 pty process (Bug#11273).
9062 (gdb-update): New arg to suppress talking to the gdb process.
9063 (gdb-done-or-error): Use it.
9064 (gdb-stopped-functions): Rename from gdb-stopped-hooks.
9065 (gdb): Call gdb-inferior-io--maybe-delete-pty as a workaround for
9066 sentinel not being called.
9067
9068 * comint.el (make-comint-in-buffer, comint-exec): Doc fix.
9069
d02766ab
CY
9070 * progmodes/grep.el (grep, rgrep): Doc fix (Bug#11268).
9071
c07a4c0b 90722012-04-20 Glenn Morris <rgm@gnu.org>
016a35df
GM
9073
9074 * net/network-stream.el (open-network-stream): Doc fix.
9075
c07a4c0b 90762012-04-20 Chong Yidong <cyd@gnu.org>
2c070447
CY
9077
9078 * emacs-lisp/tabulated-list.el (tabulated-list-print): Fix typos.
9079
c07a4c0b 90802012-04-20 Alan Mackenzie <acm@muc.de>
f0f6bc35
AM
9081
9082 Ensure searching for keywords is case sensitive.
9083
9084 * progmodes/cc-cmds.el (c-electric-brace, c-electric-lt-gt)
9085 (c-electric-paren, c-beginning-of-defun, c-end-of-defun)
9086 (c-defun-name, c-mark-function, c-cpp-define-name)
9087 (c-comment-indent, c-scan-conditionals, c-indent-defun)
c07a4c0b 9088 (c-context-line-break): Bind case-fold-search to nil.
f0f6bc35 9089
ef24141c
SM
9090 * progmodes/cc-mode.el (c-font-lock-fontify-region):
9091 Bind case-fold-search to nil.
f0f6bc35 9092
c07a4c0b 90932012-04-20 Chong Yidong <cyd@gnu.org>
4fc2c72a
CY
9094
9095 * mail/sendmail.el (mail-bury): Call return action with the right
9096 Rmail buffer (Bug#11242).
9097
9a864fa2
CY
9098 * server.el (server-process-filter): Handle corner case where both
9099 tty and nowait options are present (Bug#11102).
9100
539aa513
EZ
91012012-04-20 Eli Zaretskii <eliz@gnu.org>
9102
9103 * version.el (emacs-bzr-version, emacs-bzr-get-version): Doc fixes.
6cf2a23e
EZ
9104 (top level): Put into the executable the ident-style '$Id:' tag on
9105 windows-nt as well.
539aa513 9106
cfc7d5da
SM
91072012-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
9108
9109 * electric.el (electric-indent-post-self-insert-function): Check that
9110 electric-indent-mode is enabled in current buffer.
9111
5b01685c
JB
91122012-04-19 Juanma Barranquero <lekktu@gmail.com>
9113
9114 * imenu.el (imenu-progress-message): Restore; it is "used" in
9115 erc/erc-imenu.el and net/snmp-mode.el.
9116
4d6769e1
JB
91172012-04-19 Juanma Barranquero <lekktu@gmail.com>
9118
9119 * avoid.el (mouse-avoidance-mode): Mark unused arg.
9120 (mouse-avoidance-nudge-mouse): Remove unused binding.
9121
9122 * bs.el (bs-toggle-readonly): Call `toggle-read-only' interactively.
9123
9124 * descr-text.el (describe-char):
9125 * progmodes/python.el (python-describe-symbol):
9126 Don't call `toggle-read-only', set `buffer-read-only'.
9127
9128 * imenu.el (imenu-default-goto-function): Mark unused args.
9129 (imenu-progress-message): Remove obsolete macro; all callers changed.
9130
9131 * subr.el (keymap-canonicalize): Remove unused binding.
9132 (read-passwd): Mark unused arg.
9133
9134 * tutorial.el (tutorial--display-changes): Remove unused binding.
9135 (tutorial--save-tutorial-to): Remove unused variable.
9136
9137 * emacs-lisp/package.el (define-package, package-menu-mark-delete)
9138 (package-menu-mark-install, package-menu-mark-unmark): Mark unused args.
9139 (package-generate-autoloads, package-menu--generate)
9140 (package-menu--find-upgrades): Remove unused bindings.
9141
9142 * emulation/cua-rect.el (cua-restrict-regexp-rectangle)
9143 (cua-restrict-prefix-rectangle): Doc fixes. Remove unused bindings.
9144 (cua--mouse-ignore, cua--delete-rectangle, cua--extract-rectangle)
9145 (cua--indent-rectangle, cua-open-rectangle, cua-close-rectangle)
9146 (cua-blank-rectangle, cua-string-rectangle, cua-replace-in-rectangle)
9147 (cua-incr-rectangle, cua-sequence-rectangle, cua--convert-rectangle-as)
9148 (cua--rectangle-aux-replace, cua--left-fill-rectangle)
9149 (cua-scroll-rectangle-up, cua-scroll-rectangle-down)
9150 (cua-delete-char-rectangle): Mark unused args.
9151 (cua-align-rectangle): Remove unused binding.
9152
9153 * mail/rmail.el (compilation--message->loc)
9154 (epa--find-coding-system-for-mime-charset): Declare.
9155
9156 * net/dbus.el (dbus-register-service): Declare.
9157 (dbus-name-owner-changed-handler): Remove unused binding.
9158
9159 * nxml/nxml-mode.el (nxml-electric-slash, nxml-in-mixed-content-p)
9160 (nxml-compute-indent-from-matching-start-tag): Remove unused variables.
9161 (nxml-scan-backward-within): Mark unused arg.
9162 (nxml-dynamic-markup-word): Remove unused binding.
9163
9164 * mouse.el (mouse-menu-major-mode-map):
9165 * emacs-lisp/authors.el (authors-scan-change-log)
9166 (authors-add-to-author-list):
9167 * emacs-lisp/avl-tree.el (avl-tree--enter-balance):
9168 * emacs-lisp/smie.el (smie-auto-fill):
9169 * mail/sendmail.el (mail-bury):
9170 * mail/unrmail.el (unrmail):
9171 * net/tls.el (open-tls-stream):
9172 * textmodes/picture.el (picture-mouse-set-point):
9173 Remove unused bindings.
9174
8c8fc5df
MA
91752012-04-19 Michael Albinus <michael.albinus@gmx.de>
9176
9177 * net/tramp.el (tramp-action-password): Let-bind
9178 `enable-recursive-minibuffers' to t.
9179
a77b0ac9
SS
91802012-04-18 Sam Steingold <sds@gnu.org>
9181
9182 * progmodes/gud.el (gud-key-prefix): Use :type 'key-sequence
9183 instead of 'string to accommodate values like [f11].
9184 Always use `vconcat' instead of `concat' on it, like in `gud-def'.
9185 * progmodes/gdb-mi.el: Likewise.
9186
12a106a9
LL
91872012-04-18 Leo Liu <sdl.web@gmail.com>
9188
9189 * abbrev.el (edit-abbrevs): Move point to the abbrev table of
9190 current buffer.
9191 (prepare-abbrev-list-buffer): Enter edit-abbrevs-mode only if
9192 LOCAL is nil.
9193
bc6494ef
CY
91942012-04-18 Chong Yidong <cyd@gnu.org>
9195
9196 * simple.el (line-move): Use forward-line if in batch mode
9197 (Bug#11053).
9198
c09c46b2
CS
91992012-04-18 Christopher Schmidt <christopher@ch.ristopher.com>
9200
9201 * files.el (after-find-file): Do not try to add a final newline if
9202 the buffer is read-only (Bug#11156).
9203
5f6530ea
RS
92042012-04-17 Richard Stallman <rms@gnu.org>
9205
9206 * mail/rmail.el (rmail-start-mail):
9207 Pass (rmail-mail-return...) for the return-action.
9208 Pass (rmail-yank-current-message...) for the yank-action.
9209 (rmail-yank-current-message): New function.
9210 (rmail-mail): Pass the Rmail buffer, not view buffer, for replybuffer.
9211 (rmail-reply): Likewise.
9212 (rmail-forward): Pass the Rmail buffer, not nil, for replybuffer.
9213
9214 * mail/sendmail.el (mail-bury): Choose the first rmail-mode
c09c46b2 9215 buffer, not the last. Reject temp buffers. Use the rmail-mode
5f6530ea
RS
9216 buffer, not newbuf.
9217
197b6f3c
JB
92182012-04-17 Juanma Barranquero <lekktu@gmail.com>
9219
9220 * server.el (server-ensure-safe-dir): Simplify.
9221
2311d8e5 92222012-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
98fb480e 9223
2311d8e5
GM
9224 * emacs-lisp/smie.el: Provide smarter auto-filling.
9225 (smie-auto-fill): New function.
9226 (smie-setup): Use it.
98fb480e 9227
2311d8e5
GM
9228 * newcomment.el (comment-choose-indent): Obey comment-inline-offset.
9229
92302012-04-17 Philipp Haselwarter <philipp.haselwarter@gmx.de> (tiny change)
8eb5d48f
PH
9231
9232 * newcomment.el (comment-inline-offset): New custom var (bug#11090).
9233 (comment-indent): Use it.
9234
2311d8e5 92352012-04-17 Vincent Belaïche <vincentb1@users.sourceforge.net>
4bdf2ad2
VB
9236
9237 * ses.el: The overall change is to add cell renaming, that is
9238 setting fancy names for cell symbols other than name matching
9239 "\\`[A-Z]+[0-9]+\\'" regexp .
2311d8e5 9240 (ses-localvars): Add ses--renamed-cell-symb-list.
4bdf2ad2 9241 (ses-create-cell-variable): New defun.
2311d8e5 9242 (ses-destroy-cell-variable-range): Respect ses--numrows, ses--numcols.
4bdf2ad2
VB
9243 (ses-relocate-formula): Relocate formulas only for cells the
9244 symbols of which are not renamed, i.e. symbols whose names do not
9245 match regexp "\\`[A-Z]+[0-9]+\\'".
9246 (ses-relocate-all): Relocate values only for cells the symbols of
9247 which are not renamed.
9248 (ses-load): Create cells variables as the (ses-cell ...) are read,
9249 in order to check row col consistency with cell symbol name only
9250 for cells that are not renamed.
9251 (ses-replace-name-in-formula): New defun.
9252 (ses-rename-cell): New defun.
4bdf2ad2 9253
fc72b15c
PO
92542012-04-17 Peter Oliver <bzr@mavit.org.uk> (tiny change)
9255
9256 * progmodes/perl-mode.el (perl-indent-parens-as-block):
9257 New option (bug#11118).
9258 (perl-calculate-indent): Respect it.
9259
12e10e61
GM
92602012-04-17 Glenn Morris <rgm@gnu.org>
9261
9262 * dired-aux.el (dired-mark-read-string): Doc fix.
9263
30009afd
DA
92642012-04-17 Dmitry Antipov <dmantipov@yandex.ru>
9265
9266 * dired-aux.el (dired-mark-read-string): Offer optional completion.
9267 (dired-do-chxxx): Complete chown, chgrp over users, groups. (Bug#7900)
9268
41f03f4d
GM
92692012-04-17 Glenn Morris <rgm@gnu.org>
9270
9271 * mouse.el (mouse-drag-track):
9272 * speedbar.el (speedbar-frame-mode):
9273 Use auto-hscroll-mode rather than the alias automatic-hscrolling.
9274
f45f90f3
LL
92752012-04-16 Leo Liu <sdl.web@gmail.com>
9276
9277 * progmodes/python.el: Trivial cleanup.
9278
94ee8db5
GM
92792012-04-16 Glenn Morris <rgm@gnu.org>
9280
121b8917
GM
9281 * vc/vc.el (vc-string-prefix-p):
9282 * vc/pcvs-util.el (cvs-string-prefix-p):
9283 * textmodes/tex-mode.el (latex-string-prefix-p, tex-string-prefix-p):
9284 * mpc.el (mpc-string-prefix-p):
9285 Make all of these into obsolete aliases for string-prefix-p.
9286 Update callers.
9287 * vc/pcvs.el, vc/vc-dispatcher.el, vc/vc-dir.el: Update callers.
9288
1197ecfa
GM
9289 * textmodes/two-column.el: Move custom options to the start.
9290 (frame-width): Remove compat definition.
9291 (2C-associate-buffer, 2C-dissociate):
9292 Use with-current-buffer rather than save-excursion.
9293 (2C-dissociate): Force a mode-line update.
9294 (2C-autoscroll): Use ignore-errors.
9295
099e7202
GM
9296 * emacs-lisp/eieio-opt.el (describe-class, describe-generic):
9297 Autoload trivia.
9298
bf350d6a
GM
9299 * emacs-lisp/cl-extra.el (*random-state*):
9300 Remove unnecessary declaration.
9301
0e829eab
GM
9302 * calendar/cal-tex.el (cal-tex-end-document): Trivial clarification.
9303
e3ad7552
GM
9304 * play/cookie1.el (cookie-snarf):
9305 Give an explicit error if input file cannot be read.
9306
68892d27
GM
9307 * play/yow.el (yow-file): Use expand-file-name rather than concat.
9308
20f0c46d
GM
9309 * progmodes/perl-mode.el (c-macro-expand):
9310 Remove unnecessary autoload (it is in loaddefs.el).
9311
5a0978ce
GM
9312 * textmodes/picture.el (picture-desired-column)
9313 (picture-update-desired-column): Convert comments to doc-strings.
9314 (picture-substitute): Remove function.
9315 (picture-mode-map): Initialize in the defvar.
9316
6b955486
GM
9317 * woman.el: Remove eval-after-load for tar-mode.
9318 * tar-mode.el (tar-mode-map): Add woman binding and menu entry.
9319 (woman-tar-extract-file): Autoload it.
9320
94ee8db5
GM
9321 * frame.el (automatic-hscrolling): Make this alias obsolete.
9322
177eca34
AM
93232012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
9324
090bd7cb 9325 * textmodes/ispell.el (ispell-set-spellchecker-params): Post-process
4be3075e 9326 `ispell-dictionary-alist' to use [:alpha:] and utf-8 if possible.
3851314b
AM
9327 (ispell-dictionary-base-alist): Revert to original XEmacs
9328 friendly version for default. [:alpha:] will be added in
090bd7cb 9329 `ispell-set-spellchecker-params' if needed.
177eca34 9330
c505aaeb
CY
93312012-04-16 Chong Yidong <cyd@gnu.org>
9332
b19dd9d1 9333 * image.el (imagemagick--file-regexp): New variable.
c505aaeb
CY
9334 (imagemagick-register-types): Use it.
9335 (imagemagick-types-inhibit): Add :set function. Allow new value
9336 of t to inhibit all types.
9337
9338 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Avoid cl macros,
9339 so we can preload it.
9340
9341 * loadup.el (fboundp): Preload regexp-opt, needed by
9342 imagemagick-register-types.
9343
60efac0f
CY
93442012-04-15 Chong Yidong <cyd@gnu.org>
9345
9346 * frame.el (scrolling): Remove nearly unused customization group.
9347
9348 * scroll-all.el (scroll-all-mode): Move to windows group.
9349
5dd1713e
CY
93502012-04-15 Chong Yidong <cyd@gnu.org>
9351
9352 * bindings.el (goto-map): Bind goto-char to M-g c (Bug#11240).
9353
e6fd457e
CY
93542012-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
9355
9356 Avoid the use of ((lambda ...) ...) in lexical-binding code.
4d6769e1 9357 * emacs-lisp/easy-mmode.el (define-minor-mode): Use funcall (bug#11241).
e6fd457e 9358
e153c136
GM
93592012-04-15 Glenn Morris <rgm@gnu.org>
9360
9361 * simple.el (process-file-side-effects): Doc fix.
9362
e6fd457e 93632012-04-15 Glenn Morris <rgm@gnu.org>
ca7d96c8
GM
9364
9365 * international/mule-cmds.el (set-language-environment): Doc fix.
9366
3603c3b1
JB
93672012-04-14 Juanma Barranquero <lekktu@gmail.com>
9368
9369 * server.el (server-auth-key, server-generate-key): Doc fixes.
9370 (server-get-auth-key): Doc fix. Use `string-match-p'.
9371 (server-start): Reflow docstring.
9372
e6de100c
LI
93732012-04-14 Lars Ingebrigtsen <larsi@gnus.org>
9374
9375 * server.el (server-generate-key): `called-interactively-p'
9376 requires a parameter.
9377
29734c21
MN
93782012-04-14 Michal Nazarewicz <mina86@mina86.com>
9379
9380 * server.el (server-auth-key): New variable.
75f1671a 9381 (server-generate-key, server-get-auth-key): New function.
29734c21
MN
9382 (server-start): Use the new variable and functions to allow
9383 setting a permanent server key (bug#9423).
9384
d65c9521
LL
93852012-04-14 Leo Liu <sdl.web@gmail.com>
9386
9387 * vc/diff-mode.el (diff-file-prev/next): Fix typo.
9388
5ae255c7
PE
93892012-04-14 Paul Eggert <eggert@cs.ucla.edu>
9390
9391 Spelling fixes.
9392 * hexl.el (hexl-rulerize): Rename from hexl-rulerise, since
9393 Emacs uses American spelling.
9394
d5e6342e
JB
93952012-04-14 Juanma Barranquero <lekktu@gmail.com>
9396
9397 * emacs-lock.el (emacs-lock-locked-buffer-functions): New hook.
9398 (emacs-lock--exit-locked-buffer): Return the locked buffer. Doc fix.
9399 (emacs-lock--kill-emacs-hook, emacs-lock--kill-emacs-query-functions)
9400 (emacs-lock--kill-buffer-query-functions): Run new hook. (Bug#11017)
9401
ab036cd7
SM
94022012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
9403
9404 * progmodes/which-func.el (which-func-modes): Change default.
9405
35dc09a1 94062012-04-14 Kim F. Storm <storm@cua.dk>
9557e2be
CY
9407
9408 * emulation/cua-base.el (cua-exchange-point-and-mark): Just call
9409 exchange-point-and-mark if cua-enable-cua-keys is nil (Bug#11191).
9410
35dc09a1 94112012-04-14 Chong Yidong <cyd@gnu.org>
81927dd2
CY
9412
9413 * custom.el (custom-theme-set-variables): Doc fix.
9414
35dc09a1 94152012-04-14 Glenn Morris <rgm@gnu.org>
8edb942b
GM
9416
9417 * international/mule.el (set-auto-coding-for-load): Doc fix.
9418
35dc09a1 94192012-04-14 Alan Mackenzie <acm@muc.de>
0de3da9f 9420
35dc09a1
GM
9421 * progmodes/cc-menus.el (cc-imenu-objc-generic-expression): Make
9422 imenu work again for Objective C Mode. Correct the *-index values,
9423 these having been disturbed by a previous change in 2011-08.
57f845ee 9424
0de3da9f
AM
9425 * progmodes/cc-engine.el (c-before-change-check-<>-operators):
9426 Correct two search limits.
9427
35dc09a1 94282012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
ede141ac
SM
9429
9430 * startup.el (command-line-1): Inhibit splash from daemon (bug#10996).
9431
35dc09a1 94322012-04-14 Andreas Schwab <schwab@linux-m68k.org>
d0203d61
AS
9433
9434 * international/characters.el: Fix sorting.
9435
35dc09a1 94362012-04-14 Eli Zaretskii <eliz@gnu.org>
cb80bcd1
EZ
9437
9438 * international/characters.el: Add more missing Latin case pairs.
9439
35dc09a1 94402012-04-14 Glenn Morris <rgm@gnu.org>
4a427f58
GM
9441
9442 * files.el (dir-locals-set-class-variables): Doc fix.
9443
35dc09a1 94442012-04-14 Eli Zaretskii <eliz@gnu.org>
9f847f41 9445
3f1b5bf8
EZ
9446 * international/characters.el: Add set-case-syntax-pair call for
9447 LATIN CAPITAL LETTER Y WITH DIAERESIS RET and its lower-case
9448 counterpart. (Bug#11209)
9449
9f847f41
EZ
9450 * simple.el (shell-command-on-region): Doc fix. (Bug#11208)
9451
35dc09a1 94522012-04-14 Glenn Morris <rgm@gnu.org>
0c2014a3
GM
9453
9454 * calendar/holidays.el (calendar-check-holidays): Doc fix.
9455
35dc09a1 94562012-04-14 Eli Zaretskii <eliz@gnu.org>
e2627d21 9457
35dc09a1
GM
9458 * textmodes/ispell.el (ispell-dictionary-base-alist):
9459 Add data for Hebrew.
e2627d21 9460
35dc09a1 94612012-04-14 Chong Yidong <cyd@gnu.org>
5c14e333 9462
35dc09a1
GM
9463 * net/rcirc.el (rcirc-cmd-quit):
9464 Revert 2012-03-18 change (Bug#11192).
5c14e333 9465
35dc09a1 94662012-04-14 Glenn Morris <rgm@gnu.org>
bf6fa423
GM
9467
9468 * pcmpl-rpm.el (pcomplete/rpm): Handle -qf.
9469
35dc09a1 94702012-04-14 Eli Zaretskii <eliz@gnu.org>
82b24fb2 9471
4517fe3a
SM
9472 * minibuffer.el (completion-in-region-mode-map):
9473 Bind completion-help-at-point to M-? rather than ?. (Bug#11182)
82b24fb2 9474
b472a594
VD
94752012-04-13 Vivek Dasmohapatra <vivek@etla.org>
9476
9477 * hexl.el (hexl-insert-char): Make display sizes other than 16 work.
9478
09b95ce3
MY
94792012-04-13 Masatake YAMATO <yamato@redhat.com>
9480
9481 * minibuffer.el (minibuffer-local-filename-syntax): New variable
9482 to allow `C-M-f' and `C-M-b' to move to the nearest path
9483 separator (bug#9511).
9484
4b63a9ca
LI
94852012-04-13 Lars Ingebrigtsen <larsi@gnus.org>
9486
9487 * avoid.el: Require cl when compiling. And also move the
9488 `provide' to the end.
9489
7b55b8bf
TV
94902012-04-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
9491
9492 * avoid.el (mouse-avoidance-banish-position): New variable.
9493 (mouse-avoidance-banish-destination): Use it (bug#10165).
9494
adedaa1f
LL
94952012-04-13 Leo Liu <sdl.web@gmail.com>
9496
9497 * progmodes/which-func.el (which-func-modes): Add objc-mode.
9498
70e74021
KB
94992012-04-13 Ken Brown <kbrown@cornell.edu>
9500
9501 * net/browse-url.el (browse-url-file-url): Remove Cygwin hack;
ab036cd7 9502 this is no longer needed now that cygstart understands file:// URLs.
70e74021
KB
9503 (browse-url-filename-alist): For the same reason, don't modify
9504 file:// URLs on Cygwin.
9505
e75e89ba
SM
95062012-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
9507
9508 * emulation/cua-base.el (cua--pre-command-handler-1): Don't activate
9509 the region on shift if the binding is already shifted (bug#11221).
9510
82f289a4
GM
95112012-04-12 Glenn Morris <rgm@gnu.org>
9512
9513 * mail/mailpost.el: Move to obsolete/.
9514
d333dc4c
DA
95152012-04-12 Drew Adams <drew.adams@oracle.com>
9516
9517 * imenu.el (imenu--generic-function): Ignore invisible definitions
9518 (bug#10123).
9519
0d15b5ba
VD
95202012-04-12 Vivek Dasmohapatra <vivek@etla.org>
9521
9522 * hexl.el (hexl-bits): New variable.
9523 (hexl-options): Mention the variable in the doc string.
75f1671a 9524 (hexl-rulerise, hexl-line-displen): New functions.
0d15b5ba 9525 (hexl-mode): Mention the new variable.
75f1671a
JB
9526 (hexl-mode, hexl-current-address, hexl-current-address):
9527 Use the displen.
0d15b5ba
VD
9528 (hexl-ascii-start-column): New function.
9529 (hexl-address-to-marker, hexl-beginning-of-line, hexl-options)
9530 (hexl-insert-char, hexl-mode-ruler): Use the displen (bug#4941).
9531
64a440db
AM
95322012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
9533
9534 * textmodes/flyspell.el (flyspell-large-region): For hunspell, use
9535 '("-i" ENCODING), in 2 separate command-line arguments, to specify
9536 the encoding, as expected by hunspell.
9537
6decb6c2
SM
95382012-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
9539
9540 * battery.el (battery--linux-sysfs-regexp): New const.
9541 (battery-status-function): Use it. Remove yeeloong special case.
9542 (battery-yeeloong-sysfs): Remove.
9543 (battery-echo-area-format): Remove yeeloong special case.
9544
088be6fb
SM
95452012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
9546
6622e416
SM
9547 * imenu.el (imenu-add-to-menubar): `current-local-map' can be nil.
9548 Reported by Noah Friedman.
9549
088be6fb
SM
9550 * subr.el (read-passwd): Use read-string.
9551
b49f886e
LMI
95522012-04-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
9553
9554 * vcursor.el (vcursor-move): Increase the priority of the overlay
9555 (bug#9663).
9556
a63067fc
DD
95572012-04-11 Deniz Dogan <deniz.a.m.dogan@gmail.com>
9558
9559 * net/rcirc.el (rcirc-kill-channel-buffers): New variable.
9560 (rcirc-kill-buffer-hook): Use it to kill channel buffers (bug#5128).
9561
ac3cf14a
WS
95622012-04-11 William Stevenson <yhvh2000@gmail.com>
9563
9564 * textmodes/artist.el (artist-mode): Convert artist-mode to use
9565 define-minor-mode (bug#10760).
9566
c4fc691b 95672012-04-11 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
49a2697c 9568
4d6769e1 9569 * progmodes/grep.el (rgrep): Tweak the find command line so
49a2697c
WJ
9570 that directories matching `grep-find-ignored-files' won't be
9571 pruned (bug#10351).
9572
af23e2e5
CY
95732012-04-11 Chong Yidong <cyd@gnu.org>
9574
9575 * startup.el (command-line): Remove support for long-obsolete
9576 variable font-lock-face-attributes.
9577
ab7ce8c1
GM
95782012-04-11 Glenn Morris <rgm@gnu.org>
9579
9580 * vc/vc-bzr.el (vc-bzr-status): Avoid condition-case-unless-debug.
9581
de8c03dc
SM
95822012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
9583
9584 * window.el (window--state-get-1): Obey window-point-insertion-type.
9585
050cc68b
LB
95862012-04-11 Lennart Borgman <lennart.borgman@gmail.com>
9587
9588 * emacs-lisp/lisp.el (narrow-to-defun): `beginning-of-defun' goes
9589 to previous function when point is on the first character of a
75f1671a 9590 function. Take care of that in `narrow-to-defun' (bug#6157).
050cc68b 9591
a38c310c
GM
95922012-04-11 Glenn Morris <rgm@gnu.org>
9593
effed0c2
GM
9594 * vc/vc-bzr.el (vc-bzr-status): Handle all errors,
9595 not just file-errors.
9596
a38c310c
GM
9597 * vc/vc-bzr.el (vc-bzr-sha1-program, sha1-program): Remove.
9598 (vc-bzr-sha1): Use internal sha1.
9599
0221e323
SM
96002012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
9601
9602 * progmodes/flymake.el (flymake-mode): Beware read-only dirs (bug#8954).
9603
43956923
SG
96042012-04-10 Sébastien Gross <seb@chezwam.org> (tiny change)
9605
9606 * progmodes/hideshow.el (hs-hide-all): Don't infloop on comments
9607 that start in the middle of the line (bug#10496).
9608
6a8c9eaf
DN
96092012-04-10 Dan Nicolaescu <dann@gnu.org>
9610
9611 * battery.el (battery-linux-proc-acpi): Only one battery is
9612 discharged at a time, but that seems to confuse battery.el when
9613 computing `rate-type' for the battery not being discharged
9614 (bug#10332).
9615
1930bf5d
SM
96162012-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
9617
2a718f6f
SM
9618 * emacs-lisp/autoload.el (autoload-make-program): Remove, unused.
9619
599430d0
SM
9620 * international/quail.el: Use dolist and simplify.
9621 (quail-define-package, quail-update-keyboard-layout)
9622 (quail-define-rules): Use dolist.
9623 (quail-insert-kbd-layout, quail-get-translation): CSE.
9624
a2754b6c
SM
9625 * tmm.el: Use dolist, remove left over hook.
9626 (tmm-prompt, tmm-define-keys, tmm-shortcut, tmm-get-keybind):
9627 Use dolist.
9628 (calendar-load-hook): Don't mess with it.
9629
1930bf5d
SM
9630 * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
9631 Use derived-mode-p. Run the diff asynchronously.
9632
9f67961c
LMI
96332012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
9634
9635 * obsolete/mouse-sel.el: Add an Obsolete-since header.
9636
2a8ce227
JB
96372012-04-10 Juanma Barranquero <lekktu@gmail.com>
9638
9639 * misc.el: Display absolute path of loaded DLLs (bug#10424).
9640 (list-dynamic-libraries--loaded): New function.
9641 (list-dynamic-libraries--refresh): Use it.
9642
8f33b5f8
NW
96432012-04-10 Nathan Weizenbaum <nweiz@google.com>
9644
1930bf5d
SM
9645 * progmodes/python.el (python-fill-paragraph):
9646 Make python-fill-region in a multiline string work when font-lock is
8f33b5f8
NW
9647 disabled (bug#7018).
9648
b12f0439
L
96492012-04-10 Laimonas VÄ—bra <laimonas.vebra@gmail.com> (tiny change)
9650
1930bf5d 9651 * language/european.el (cp775): Add oem/legacy (en)coding on
75f1671a
JB
9652 DOS/MS Windows for the Baltic languages. There are still plenty
9653 of texts written in this encoding/codepage (bug#6519).
b12f0439 9654
57c3bd01
GM
96552012-04-10 Glenn Morris <rgm@gnu.org>
9656
9657 * cus-start.el (eol-mnemonic-unix, eol-mnemonic-dos, eol-mnemonic-mac):
9658 Add :standard values, reducing "rogue" customs in emacs -Q a bit more.
9659
6c3eab30
FA
96602012-04-10 Florian Adamsky <florian@adamsky.it> (tiny change)
9661
1930bf5d 9662 * recentf.el (recentf-dialog-mode-map): Add two keybindings for
6c3eab30
FA
9663 next-line "n" and previous-line "p" in order to make recentf more
9664 consistent with ibuffer, dired or org-mode (bug#9387).
9665
24d78a88
LMI
96662012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
9667
bc72b5d9
LMI
9668 * image.el (put-image): Return the overlay created instead of the
9669 optional input string (bug#7834). Note that this may break code
9670 that is (for some reason or other) depending on `put-image'
9671 returning the string.
9672
bd2dba5a
LMI
9673 * mouse-sel.el (mouse-sel-mode): Mark as obsolete (bug#6174).
9674
74beb59f
LMI
9675 * simple.el (zap-to-char): Allow zapping using input methods
9676 (bug#1580).
9677
24d78a88
LMI
9678 * textmodes/fill.el (fill-region): Leave point and mark where they
9679 were before filling (bug#5399).
9680
263f20cd
GM
96812012-04-09 Glenn Morris <rgm@gnu.org>
9682
9683 * version.el (emacs-bzr-get-version):
9684 Handle lightweight checkouts of local branches.
9685
58d1f797
AS
96862012-04-09 Andreas Schwab <schwab@linux-m68k.org>
9687
263f20cd 9688 * international/characters.el: Recover lost case pairs. (Bug#11209)
58d1f797 9689
b4d3bc10
CY
96902012-04-09 Chong Yidong <cyd@gnu.org>
9691
9692 * custom.el (custom-variable-p): Return nil for non-symbol
9693 arguments instead of signaling an error.
9694 (user-variable-p): Obsolete alias for custom-variable-p.
9695
9696 * apropos.el (apropos-variable):
9697 * files-x.el (read-file-local-variable):
9698 * simple.el (set-variable):
9699 * woman.el (woman-mini-help):
9700 * emacs-lisp/byte-opt.el (side-effect-free-fns): Callers changed.
9701
fd06db5d
GM
97022012-04-09 Glenn Morris <rgm@gnu.org>
9703
e5fcdb5e
GM
9704 * startup.el (normal-top-level): Don't look for leim-list.el
9705 in places where it will not be found. (Bug#910)
9706
fd06db5d
GM
9707 * international/mule-cmds.el (set-default-coding-systems):
9708 * files.el (normal-mode):
9709 Remove guarded calls to ucs-set-table-for-input. (Bug#9821)
9710 This function was removed with ucs-tables.el in 2008.
9711
b39bb7e1
EZ
97122012-04-08 Eli Zaretskii <eliz@gnu.org>
9713
9714 * textmodes/ispell.el (ispell-check-version): For hunspell, set
9715 ispell-encoding8-command to "-i", without a trailing space.
9716 (ispell-start-process): For hunspell, use '("-i" ENCODING), in 2
9717 separate command-line arguments, to specify the encoding, since
9718 that's how hunspell expects it.
9719
5c5b8e23
GM
97202012-04-08 Glenn Morris <rgm@gnu.org>
9721
9722 * loadup.el: Load bindings before cus-start.
9723 This reduces somewhat the number of "rogue" settings in emacs -Q.
9724
a1ed8b05
GM
97252012-04-07 Glenn Morris <rgm@gnu.org>
9726
9727 * version.el (emacs-bzr-get-version): New function.
dfae128a 9728 (emacs-bzr-version): New variable.
a1ed8b05
GM
9729 * loadup.el (emacs-bzr-version): Set it. (Bug#8054)
9730 * mail/emacsbug.el (report-emacs-bug): Include bzr version.
9731
b142f158
EZ
97322012-04-07 Eli Zaretskii <eliz@gnu.org>
9733
dfae128a
GM
9734 * international/uni-bidi.el, international/uni-category.el:
9735 * international/uni-combining.el, international/uni-decimal.el:
9736 * international/uni-decomposition.el, international/uni-digit.el:
9737 * international/uni-lowercase.el, international/uni-mirrored.el:
9738 * international/uni-name.el, international/uni-numeric.el:
9739 * international/uni-titlecase.el, international/uni-uppercase.el:
9740 Update for Unicode 6.1.
b142f158 9741
9078ead6
EZ
97422012-04-07 Eli Zaretskii <eliz@gnu.org>
9743
9744 * term/w32-win.el (dynamic-library-alist): Add libxml2 DLLs.
9745
f23d2c7d
LMI
97462012-04-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
9747
9748 * window.el (shrink-window): Mention the `window-min-height'
9749 variable in the doc string.
9750
0a0a3573
BG
97512012-04-05 Bastien Guerry <bzg@altern.org>
9752
9753 * color.el (color-lighten-name): Fix typo.
9754
e5248ac9
SM
97552012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
9756
9757 * server.el (server--on-display-p): New function.
9758 (server--on-display-p): Use it.
9759
b4243e22
GV
97602012-04-04 Gabor Vida <vidagabor@gmail.com> (tiny change)
9761
9762 * ido.el (ido-wide-find-dirs-or-files): Use file-name-absolute-p
9763 (bug#11145).
9764
305d9f44
SM
97652012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
9766
9767 * comint.el (comint--common-quoted-suffix): Check string boundary
9768 before comparing (bug#11158).
9769 * pcomplete.el (pcomplete--common-quoted-suffix): Idem.
9770
3d439cd1
CY
97712012-04-04 Chong Yidong <cyd@gnu.org>
9772
321cc491
CY
9773 * minibuffer.el (completion-extra-properties): Doc fix.
9774
3d439cd1
CY
9775 * subr.el (delayed-warnings-hook): Doc fix.
9776
2d562c0f
DU
97772012-04-04 Daiki Ueno <ueno@unixuser.org>
9778
9779 * epa.el (epa--select-keys): Bind C-c C-c to finish the key
9780 selection (Bug#11159).
9781 (epa-insert-keys): Inform that the default public key will be
9782 exported if no key is selected.
9783
4443f204
RS
97842012-04-04 Richard Stallman <rms@gnu.org>
9785
9786 * mail/emacsbug.el (report-emacs-bug): Bind inhibit-read-only.
9787
529c06b6
CY
97882012-04-03 Chong Yidong <cyd@gnu.org>
9789
9790 * mail/sendmail.el (mail-mode-map): Bind C-c C-i to
9791 mail-insert-file, not its obsolete alias mail-attach-file.
9792
66b907dc
MA
97932012-04-03 Michael Albinus <michael.albinus@gmx.de>
9794
9795 * notifications.el (notifications-notify): Fix docstring.
9796
c0ea195d
GM
97972012-04-02 Glenn Morris <rgm@gnu.org>
9798
9799 * emacs-lisp/authors.el (authors-aliases): Another addition.
9800
5ca64e00
MA
98012012-04-02 Michael Albinus <michael.albinus@gmx.de>
9802
9803 * net/tramp-gvfs.el (tramp-gvfs-send-command): Apply
9804 `tramp-compat-call-process' instead of `tramp-local-call-process'.
9805 Reported by Magnus Henoch <magnus.henoch@gmail.com>.
9806
42ee526b
CY
98072012-04-01 Chong Yidong <cyd@gnu.org>
9808
9809 * files.el (file-in-directory-p): Rename from file-subdir-of-p.
9810 Handle root directory properly.
9811 (copy-directory): Caller changed.
9812
9813 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
9814 * net/tramp.el (tramp-file-name-for-operation): Callers changed.
9815
0b021094
GM
98162012-03-31 Glenn Morris <rgm@gnu.org>
9817
40f86458
GM
9818 * term/xterm.el (xterm-extra-capabilities): Doc fix.
9819
7019c177
GM
9820 * language/indian.el ("Devanagari"): Fix typo. (Bug#11103)
9821
a1daddd6
GM
9822 * calendar/calendar.el (calendar-window-list)
9823 (calendar-hide-window): Restore. (Bug#11140)
9824 (calendar-exit): Use calendar-window-list, calendar-hide-window again.
9825
0b021094
GM
9826 * emacs-lisp/edebug.el (edebug-unwrap-results): Doc fix.
9827
40311efc
TV
98282012-03-30 Thierry Volpiatto <thierry.volpiatto@gmail.com>
9829
9830 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
9831 Check if file is a symlink (Bug#10489).
9832
9833 * files.el (copy-directory): Likewise.
9834
5319014e
CY
98352012-03-30 Chong Yidong <cyd@gnu.org>
9836
9837 * image.el (imagemagick-types-inhibit)
9838 (imagemagick-register-types): Doc fix.
9839
935d1290
AM
98402012-03-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
9841
090bd7cb 9842 * textmodes/ispell.el (ispell-get-extended-character-mode):
ef24141c 9843 Disable extended-char-mode for hunspell. hunspell does not support it
75f1671a 9844 and treats ~word as ordinary words in pipe mode.
935d1290 9845
61c6e8fd
GM
98462012-03-30 Glenn Morris <rgm@gnu.org>
9847
9848 * tutorial.el (help-with-tutorial): Ensure local variables don't
9849 happen to make the buffer read-only. (Bug#11127)
9850
81fdff00
SM
98512012-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
9852
9853 * progmodes/perl-mode.el (perl-indent-line): Use `noindent' in strings.
9854 (perl-calculate-indent): Return `noindent' in strings.
9855
6e7a6ec0
SS
98562012-03-28 Sam Steingold <sds@gnu.org>
9857
9858 * calendar/calendar.el (calendar-exit): Use `quit-windows-on'
9859 instead of the broken adhockery which does not prevent calendar
9860 buffers from being displayed at random after exit.
9861 (calendar-window-list, calendar-hide-window): Remove the broken
9862 adhockery.
9863
fee88ca0
GM
98642012-03-28 Glenn Morris <rgm@gnu.org>
9865
9866 * replace.el (query-replace-map): Doc fix.
9867
38de3354
AS
98682012-03-28 Andreas Schwab <schwab@linux-m68k.org>
9869
9870 * vc/vc-git.el (vc-git-state): Don't try to match all of the diff
9871 contents. (Bug#11109)
9872
b973155e
SM
98732012-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
9874
9875 * emacs-lisp/avl-tree.el (avl-tree--enter-balance): Fix paren typo
9876 (bug#11077).
9877 (avl-tree--check, avl-tree--check-node): New funs.
9878
dcb6e7b3
MR
98792012-03-27 Martin Rudalics <rudalics@gmx.at>
9880
9881 * window.el (switch-to-visible-buffer): New option.
b973155e
SM
9882 (switch-to-prev-buffer, switch-to-next-buffer):
9883 Observe switch-to-visible-buffer. Make sure that checking for a window
dcb6e7b3
MR
9884 showing a buffer already is done on the same frame.
9885
b4fa35fa
GM
98862012-03-27 Glenn Morris <rgm@gnu.org>
9887
9888 * startup.el (mail-host-address): Doc fix.
9889
f9210e18
SM
98902012-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
9891
9892 * emacs-lisp/bytecomp.el (byte-compile-constants-vector): Allow more
9893 than 197 variables.
9894
c0bf7753
AF
98952012-03-26 Ami Fischman <ami@fischman.org>
9896
9897 * vc/vc-git.el (vc-git-state): Avoid unnecessarily locking.
9898
33da7b16
GM
98992012-03-26 Glenn Morris <rgm@gnu.org>
9900
02243d9d
GM
9901 * files.el (save-buffers-kill-emacs): Doc fix.
9902
33da7b16
GM
9903 * startup.el (normal-top-level, command-line, command-line-1):
9904 Give them doc strings.
9905
e5a69fd0
EZ
99062012-03-25 Eli Zaretskii <eliz@gnu.org>
9907
9908 * makefile.w32-in (install): Use $(DIRNAME)_same-dir.tst instead
b973155e 9909 of same-dir.tst, to avoid stepping on other (parallel) Make job's toes.
e5a69fd0 9910
9a69676a
CY
99112012-03-25 Chong Yidong <cyd@gnu.org>
9912
4125cb8b
CY
9913 * custom.el (load-theme): Even if NO-ENABLE arg is t, reenable the
9914 theme if it was previously enabled before (Bug#11031).
9915
dd470960
CY
9916 * cus-theme.el (custom-theme-write-faces): Retrieve current face
9917 spec with custom-face-get-current-spec if its :shown-value is not
9918 determined yet (Bug#9337).
4125cb8b 9919 (customize-create-theme, custom-theme-revert): Doc fixes.
dd470960 9920
9a69676a
CY
9921 * button.el (button-at): Minor addition to docstring.
9922
6e7e90fa
SL
99232012-03-24 Simon Leinen <simon.leinen@gmail.com>
9924
9925 * vc/vc.el (vc-merge): Fix a prompt.
9926
f06e2758
CY
99272012-03-24 Chong Yidong <cyd@gnu.org>
9928
9929 * mwheel.el (mwheel-scroll): Call deactivate-mark at the right
9930 point (Bug#9623).
9931
6e7e90fa
SL
9932 * button.el (button-at): Minor addition to docstring.
9933
b9d0879b
SM
99342012-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
9935
9936 * newcomment.el (comment-choose-indent): No space after BOL.
9937
e71cebb3
SS
99382012-03-22 Sam Steingold <sds@gnu.org>
9939
9940 * window.el (switch-to-prev-buffer): Revert last patch because the
9941 bug turned out to be an advertised feature (Elisp manual 28.14).
9942
335aff35
GM
99432012-03-22 Glenn Morris <rgm@gnu.org>
9944
9945 * vc/vc-bzr.el (vc-bzr-status-switches): New option. (Bug#6724)
9946 (vc-bzr-command): If running "status", pass vc-bzr-status-switches.
9947
c676576a
LMI
99482012-03-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
9949
9950 * net/network-stream.el (network-stream-open-starttls): Make error
9951 message under Windows be less misleading.
9952
126f3d39
LW
99532012-03-22 Liang Wang <netcasper@gmail.com> (tiny change)
9954
9955 * progmodes/etags.el (etags-list-tags): Only use tags which goto-func
9956 understands (bug#9942).
9957
64fee311
CY
99582012-03-22 Chong Yidong <cyd@gnu.org>
9959
9960 * simple.el (end-of-visible-line): Handle return value of
9961 next-single-property-change properly (Bug#9371).
9962
a640d29a
KH
99632012-03-22 Kenichi Handa <handa@m17n.org>
9964
9965 * international/quail.el (quail-insert-kbd-layout): Fix previous
9966 change. To avoid unwanted bidi reordering, use
9967 bidi-string-mark-left-to-right instead of inserting LRO and PDF.
9968
39675016
DG
99692012-03-21 Dmitry Gutov <dgutov@yandex.ru>
9970
9971 * progmodes/ruby-mode.el: Don't confuse "end:" for "end" (bug#10786).
9972 (ruby-block-end-re, ruby-delimiter, ruby-parse-partial)
9973 (ruby-beginning-of-indent): Be more careful with the difference
9974 between word-boundary and symbol boundary.
9975 (ruby-mode-syntax-table): Make : a symbol constituent.
9976
0a6934fc 99772012-03-21 Andreas Politz <politza@fh-trier.de>
1acad97c 9978
3d008e4f
SM
9979 * outline.el (outline-flag-region): Evaporate overlays (bug#10789).
9980
0a6934fc
SM
99812012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
9982
af67c9d7
SM
9983 * progmodes/etags.el (tags-completion-at-point-function):
9984 Improve last fix.
9985
1acad97c
SM
9986 * files.el (move-file-to-trash): Files aren't regexps (bug#11055).
9987
e298b5da
SS
99882012-03-21 Sam Steingold <sds@gnu.org>
9989
9990 * progmodes/etags.el (tags-completion-at-point-function):
9991 Avoid the error when point is inside the pattern.
9992
91d82a70
JY
99932012-03-21 John Yates <john@yates-sheets.org> (tiny change)
9994
9995 * progmodes/hideshow.el (hs-inside-comment-p): Fix hiding of first
9996 line (Bug#10855).
9997
69188b79
CY
99982012-03-21 Drew Adams <drew.adams@oracle.com>
9999
10000 * info.el (Info-menu): Handle string value of FORK arg (Bug#10858).
10001
99fc91fe
AK
100022012-03-21 Anmol Khirbat <anmol@khirbat.net> (tiny change)
10003
10004 * ido.el (ido-set-current-directory, ido-read-internal)
10005 (ido-choose-completion-string, ido-completion-help): Handle nil
10006 value of ido-completion-buffer (Bug#11008).
10007
087bbb4c
SS
100082012-03-21 Sam Steingold <sds@gnu.org>
10009
10010 * window.el (switch-to-prev-buffer): Do not switch to a visible
10011 window previous buffer, just like with the frame previous buffers.
10012
fb5b8aca
CY
100132012-03-21 Chong Yidong <cyd@gnu.org>
10014
10015 * faces.el (make-face, make-empty-face, copy-face):
10016 * face-remap.el (face-remap-add-relative, face-remap-set-base):
10017 Doc fixes.
10018
dc9924b8
SM
100192012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
10020
10021 * wid-edit.el (widget-complete-field): Remove (bug#11051).
10022 (widget-complete): Remove broken use of it.
10023
f0bcceb9
CY
100242012-03-20 Chong Yidong <cyd@gnu.org>
10025
dc9924b8
SM
10026 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
10027 Use string-width and truncate-string-width to handle arbitrary
f0bcceb9
CY
10028 characters.
10029
ee52ebf3
TH
100302012-03-20 Tassilo Horn <tassilo@member.fsf.org>
10031
10032 * textmodes/artist.el (artist-menu-map): Bind Rectangle menu item
10033 to draw rectangles, not squares. (Regression introduced by revno
10034 2011-03-02T03:48:01Z!cyd@stupidchicken.com)
10035
4c5779ab
CY
100362012-03-18 Chong Yidong <cyd@gnu.org>
10037
10038 * faces.el (face-spec-reset-face): Don't call display-graphic-p if
10039 it is not yet defined (for temacs).
10040
15360934
LL
100412012-03-18 Leo Liu <sdl.web@gmail.com>
10042
735135f9
PE
10043 * net/rcirc.el (rcirc-cmd-quit): Allow quitting all servers with
10044 prefix.
15360934 10045
d9a8eb66
EZ
100462012-03-17 Eli Zaretskii <eliz@gnu.org>
10047
10048 * textmodes/ispell.el (ispell-skip-tib, ispell-keep-choices-win)
10049 (ispell-choices-win-default-height, ispell-silently-savep)
10050 (ispell-dictionary-alist, ispell-encoding8-command)
10051 (ispell-check-version, ispell-aspell-find-dictionary)
10052 (ispell-valid-dictionary-list, ispell-words-keyword)
10053 (ispell-get-word, ispell-internal-change-dictionary)
10054 (ispell-region, ispell-skip-region-list)
10055 (ispell-begin-skip-region-regexp, ispell-ignore-fcc)
10056 (ispell-process-line, ispell-minor-mode, ispell-minor-check)
10057 (ispell-message-text-end, ispell-message)
10058 (ispell-buffer-local-parsing): Doc fix.
10059
f02ff80d
J
100602012-03-13 Jambunathan K <kjambunathan@gmail.com>
10061
10062 * htmlfontify.el: Add support for code block fontification for ODT
10063 export (Bug #9914).
10064 (hfy-optimisations): Define new option
10065 `body-text-only'
10066 (hfy-fontify-buffer): Honor above setting.
10067 (hfy-begin-span, hfy-end-span): New routines factored out form
10068 `hfy-fontify-buffer'.
10069 (hfy-begin-span-handler, hfy-end-span-handler): New variables
10070 that permit insertion of custom tags.
10071 (hfy-fontify-buffer): Use above handlers.
10072 (hfy-face-to-css-default): Same as the earlier `hfy-face-to-css'.
10073 (hfy-face-to-css): Re-defined to be a variable.
dc9924b8 10074 (hfy-compile-stylesheet): Modify. Allow stylesheet to be built
75f1671a 10075 over multiple runs. This is made possible by having the caller let
f02ff80d
J
10076 bind a special variable `hfy-user-sheet-assoc'.
10077 (htmlfontify-string): New defun.
10078 (hfy-compile-face-map): Make sure that the last char in the
10079 buffer is correctly fontified.
10080 (hfy-face-resolve-face): Whitespace only change.
10081
9ac7a13f
EZ
100822012-03-17 Eli Zaretskii <eliz@gnu.org>
10083
10084 * textmodes/ispell.el (ispell-get-decoded-string): Make the error
10085 message more clear.
10086
e2b5bdd7
LL
100872012-03-16 Leo Liu <sdl.web@gmail.com>
10088
10089 * emacs-lisp/copyright.el (copyright-year-ranges): Fix typo.
10090
2e492df3
AM
100912012-03-16 Alan Mackenzie <acm@muc.de>
10092
10093 Further optimise the handling of large macros.
10094
10095 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Use a
10096 limit to a call of `c-literal-limits'.
10097 (c-determine-+ve-limit): New function.
dc9924b8
SM
10098 (c-at-macro-vsemi-p): Move `c-in-literal' to the bottom of an `and'.
10099 (c-guess-basic-syntax): In macros, restrict a search limit to 2000.
2e492df3
AM
10100 In CASE 5B, restrict a search limit to 500.
10101 (c-just-after-func-arglist-p): Obviouly wrong `or' -> `and'.
10102
10103 * progmodes/cc-mode.el (c-neutralize-syntax-in-and-mark-CPP):
10104 Restrict macro bounds to +-500 from after-change's BEG END.
10105
50e94f0c
LL
101062012-03-16 Leo Liu <sdl.web@gmail.com>
10107
10108 * font-lock.el (lisp-font-lock-keywords-2): Add letrec.
10109
6f09f6ed
AH
101102012-03-16 Aaron S. Hawley <Aaron.S.Hawley@gmail.com>
10111
10112 * tar-mode.el (tar-mode): Fix saving by conditionally undoing
dc9924b8 10113 `special-mode' setting of `buffer-read-only'. (Bug#11010)
6f09f6ed 10114
c7e73d51
GM
101152012-03-16 Glenn Morris <rgm@gnu.org>
10116
da986230
GM
10117 * view.el (view-buffer, view-buffer-other-window)
10118 (view-buffer-other-frame): Doc fixes re special mode-class.
10119
0835f01e
GM
10120 * subr.el (eval-after-load): If named feature is provided not from
10121 a file, run after-load forms. (Bug#10946)
10122
c7e73d51
GM
10123 * calendar/calendar.el (calendar-insert-at-column):
10124 Handle non-unit-width characters a bit better. (Bug#10978)
10125
3f2eafd1
CY
101262012-03-15 Chong Yidong <cyd@gnu.org>
10127
10128 * emacs-lisp/ring.el (ring-extend): New function.
10129 (ring-insert+extend): Extend the ring correctly (Bug#11019).
10130
10131 * comint.el (comint-read-input-ring)
10132 (comint-add-to-input-history): Grow comint-input-ring lazily.
10133
103af3fe
SM
101342012-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
10135
663b1677
SM
10136 * progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
10137 Fix up parsing of multiline twoarg non-paired elements (bug#11014).
10138
103af3fe
SM
10139 * imenu.el: Fix multiple inheritance breakage (bug#9199).
10140 (imenu-add-to-menubar): Don't add a redundant index.
10141 (imenu-update-menubar): Handle a dynamically composed keymap.
10142
899cb7cb
KY
101432012-03-13 Katsumi Yamaoka <yamaoka@jpl.org>
10144
10145 * mail/sendmail.el (mail-encode-header):
10146 Bind rfc2047-encode-encoded-words to nil.
10147
3809f91d
GM
101482012-03-13 Glenn Morris <rgm@gnu.org>
10149
10150 * calendar/calendar.el (calendar-string-spread):
10151 Handle non-unit-width characters a bit better. (Bug#10978)
10152
9e345a01
LL
101532012-03-13 Leo Liu <sdl.web@gmail.com>
10154
10155 * vc/vc-hg.el (vc-hg-working-revision): Rework to work with both
10156 directory and file as argument (Bug#10822).
10157
4a07df36
KS
101582012-03-13 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
10159
10160 * progmodes/gdb-mi.el (gdb-invalidate-disassembly):
10161 For dynamically generated code, follow $PC.
10162 (gdb-disassembly-handler-custom): Handle no function name case.
10163
4aaa9356
TL
101642012-03-13 Tim Landscheidt <tim@tim-landscheidt.de> (tiny change)
10165
10166 * calendar/icalendar.el (icalendar-export-file, icalendar-import-file):
10167 * emulation/ws-mode.el (ws-query-replace):
10168 * sort.el (sort-regexp-fields):
10169 Fix missing trailing whitespace in interactive prompts. (Bug#11002)
10170
225979da
SM
101712012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
10172
10173 * dabbrev.el: Fix cycle completion order (bug#10963).
10174 (dabbrev--last-obarray, dabbrev--last-completion-buffer): Remove.
10175 (dabbrev-completion): Don't use an obarray; provide
10176 a cycle-sort-function.
10177
e2f1fdab
LL
101782012-03-12 Leo Liu <sdl.web@gmail.com>
10179
dc9924b8 10180 * simple.el (kill-new): Use equal-including-properties for comparison.
e2f1fdab
LL
10181 (kill-do-not-save-duplicates): Doc fix.
10182
b19490ed
SM
101832012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
10184
10185 * dabbrev.el: Fix cycle completion (bug#10963).
10186 Use lexical binding and wrap to 80 columns.
10187 (dabbrev-completion): Delay computing the list of completions.
10188
4b05d722
KH
101892012-03-12 Kenichi Handa <handa@m17n.org>
10190
10191 * international/quail.el (quail-insert-kbd-layout): Surround each
10192 row by LRO and PDF instead of inserting many LRMs. Pad the left
10193 and right of each non-spacing marks. Insert invisible space
10194 between lower and upper characters to prevent composition.
10195
dbbc2e69
SM
101962012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
10197
10198 * minibuffer.el (minibuffer-complete): Don't get confused when the
10199 function is run twice via different commands (bug#10958).
10200 (complete-with-action): Fix docstring.
10201
292112ed
CY
102022012-03-12 Chong Yidong <cyd@gnu.org>
10203
5d1ac394
CY
10204 * nxml/nxml-mode.el (nxml-mode-map): Do not bind C-RET (Bug#6776).
10205 (nxml-completion-at-point-function): New function.
10206 (nxml-mode): Use it.
10207 (nxml-bind-meta-tab-to-complete-flag): Default to t.
10208
292112ed
CY
10209 * emacs-lisp/package.el (package-unpack, package-unpack-single):
10210 Load generated autoloads file before byte compiling (Bug#10970).
10211 (package--make-autoloads-and-compile): New helper fun.
10212
4098f8f7
CS
102132012-03-12 Christopher Schmidt <christopher@ch.ristopher.com>
10214
10215 * ibuffer.el (ibuffer-redisplay): Remove another gratuitous error.
10216
8f754691
MA
102172012-03-11 Michael Albinus <michael.albinus@gmx.de>
10218
10219 * autorevert.el (auto-revert-handler): Ensure, that
10220 file-readable-p is applied only for local files or in
10221 auto-revert-tail-mode.
10222
e29ab36b
AS
102232012-03-11 Andreas Schwab <schwab@linux-m68k.org>
10224
dbbc2e69
SM
10225 * server.el (server-eval-at): Handle non-tcp connections.
10226 Decode result string.
ad0bf5b6 10227
e29ab36b
AS
10228 * server.el (server-msg-size): New constant.
10229 (server-reply-print): New function.
10230 (server-eval-and-print): Use it.
10231 (server-eval-at): Use server-quote-arg and server-unquote-arg.
10232 Handle -print-nonl.
10233
de5939ba
CS
102342012-03-11 Christopher Schmidt <christopher@ch.ristopher.com>
10235
10236 * ibuffer.el (ibuffer-redisplay): Remove gratuitous error
10237 (Bug#10987).
10238
0c93eabf
CY
102392012-03-11 Chong Yidong <cyd@gnu.org>
10240
397a688f
CY
10241 * simple.el (goto-line): Doc fix (Bug#9938).
10242
2cc775f9
CY
10243 * subr.el (save-window-excursion): Doc fix (Bug#9979).
10244
0c93eabf
CY
10245 * dabbrev.el (dabbrev--find-expansion): Update progress reporter
10246 when finished (Bug#10963).
10247
c491fa41
MR
102482012-03-11 Martin Rudalics <rudalics@gmx.at>
10249
10250 * window.el (split-window-below): Fix bug in case where
10251 split-window-keep-point is nil (Bug#10971).
10252
300e8fa5
JL
102532012-03-11 Juri Linkov <juri@jurta.org>
10254
10255 * replace.el (replace-highlight): Set isearch-word to nil
10256 unconditionally. (Bug#10887)
10257
dbf6c5a1
EZ
102582012-03-10 Eli Zaretskii <eliz@gnu.org>
10259
10260 * net/mairix.el (mairix-replace-invalid-chars): Rename from
10261 mairix-replace-illegal-chars; all callers changed. Don't remove
dc9924b8 10262 ^, ~, and = characters: they are meaningful in mairix search specs.
dbf6c5a1
EZ
10263 (mairix-widget-create-query): Add usage information about mairix
10264 search forms: negating words, searching for substrings, etc.
10265
b9e501de
JP
102662012-03-10 Jae-hyeon Park <jae-hyeon.park@desy.de> (tiny change)
10267
10268 * international/fontset.el (font-encoding-alist): Add an entry for
10269 ksx1001 (Bug#5667).
10270
92795c91
RS
102712012-03-10 Richard Stallman <rms@gnu.org>
10272
1694e6c1
RS
10273 * mail/sendmail.el (mail-encode-header):
10274 Set rfc2047-encode-encoded-words.
10275
607e8555
RS
10276 * mail/mail-utils.el (mail-quote-printable): Quote multibyte chars.
10277
de3bc99a
RS
10278 * mail/rmail.el (rmail-buffers-swapped-p): Don't assume dead
10279 view buffer means not swapped.
10280 (rmail-view-buffer-kill-buffer-hook): Give buf name in error msg.
10281 (rmail-write-region-annotate): Error if real text has disappeared.
10282
92795c91
RS
10283 * epa-mail.el (epa-mail-encrypt): Bind inhibit-read-only.
10284
699bd04e
CY
102852012-03-10 Chong Yidong <cyd@gnu.org>
10286
10287 * emulation/cua-rect.el (cua--init-rectangles):
dbbc2e69
SM
10288 * emulation/cua-base.el (cua--init-keymaps):
10289 Add delete-forward-char to remappings (Bug#9666).
699bd04e 10290
570a1714
MR
102912012-03-10 Martin Rudalics <rudalics@gmx.at>
10292
dbbc2e69
SM
10293 * speedbar.el (speedbar-unhighlight-one-tag-line):
10294 Avoid unhighlighting due to frame switching (Bug#10275).
570a1714 10295
82dcf4e4
CY
102962012-03-10 Chong Yidong <cyd@gnu.org>
10297
7a2c7ca7
CY
10298 * minibuffer.el (completion-in-region, completion-help-at-point):
10299 Give the completion field overlay a high priority (Bug#6830).
10300
82dcf4e4
CY
10301 * dired.el (dired-goto-file): Recognize absolute file name
10302 listings (Bug#7126).
10303 (dired-goto-file-1): New helper function.
10304 (dired-toggle-read-only): Inhibit warnings.
10305
052e28ac
MA
103062012-03-09 Michael Albinus <michael.albinus@gmx.de>
10307
75f1671a 10308 * net/dbus.el (dbus-property-handler): Return empty array if
052e28ac
MA
10309 there are no properties.
10310
95d5e396
LL
103112012-03-09 Leo Liu <sdl.web@gmail.com>
10312
10313 * savehist.el (savehist-printable): Stricter check for string
10314 value (Bug#10937).
10315
3f018d6d
EZ
103162012-03-09 Eli Zaretskii <eliz@gnu.org>
10317
dbbc2e69
SM
10318 * mail/smtpmail.el (smtpmail-send-it):
10319 Bind coding-system-for-write to *-unix, so that FCC files are kept in
3f018d6d
EZ
10320 valid mbox format.
10321
f7fd3d79
GM
103222012-03-09 Glenn Morris <rgm@gnu.org>
10323
10324 * files.el (dir-locals-find-file):
10325 Don't check result is regular, readable.
10326 (dir-locals-read-from-file): Demote errors.
10327
6ff6e72f
EZ
103282012-03-08 Eli Zaretskii <eliz@gnu.org>
10329
dbbc2e69
SM
10330 * international/quail.el (quail-insert-kbd-layout):
10331 Insert invisible LRM characters before each character in a keyboard
6ff6e72f
EZ
10332 layout cell, to prevent their reordering by bidi display engine.
10333 For details, see the discussion in
10334 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00085.html.
10335
9cec7834
AM
103362012-03-08 Alan Mackenzie <acm@muc.de>
10337
10338 * progmodes/cc-cmds.el (c-mark-function): Make it leave a mark at
10339 the starting position; make it extend the marked region when
10340 invoked repeatedly - all under appropriate circumstances.
10341 Fixes bugs #5525, #10906.
10342
9a40b8d4
GM
103432012-03-08 Glenn Morris <rgm@gnu.org>
10344
10345 * files.el (locate-dominating-file, dir-locals-find-file):
10346 Undo 2012-03-06 change.
10347
7a08ed35
EZ
103482012-03-07 Eli Zaretskii <eliz@gnu.org>
10349
dbbc2e69
SM
10350 * international/quail.el (quail-help):
10351 Force bidi-paragraph-direction be left-to-right. See discussion in
7a08ed35
EZ
10352 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00062.html
10353 for the reason.
10354
5aca4f71 103552012-03-07 Michael Albinus <michael.albinus@gmx.de>
6612a284
MA
10356
10357 Avoid superfluous registering of signals. (Bug#10807)
10358
10359 * notifications.el (notifications-on-action-object)
10360 (notifications-on-close-object): New defvars.
10361 (notifications-on-action-signal, notifications-on-closed-signal):
10362 Unregister the signal if not needed any longer.
10363 (notifications-notify): Register `notifications-action-signal' or
10364 `notifications-closed-signal', if :on-action or :on-close has been
10365 passed as argument.
10366
78e8b10a
CY
103672012-03-07 Chong Yidong <cyd@gnu.org>
10368
10369 * cus-start.el: Avoid x-select-enable-clipboard-manager warning on
10370 non-X platforms.
10371
69481eb8
GM
103722012-03-06 Glenn Morris <rgm@gnu.org>
10373
10374 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
10375 (x-disown-selection-internal, x-get-selection-internal):
10376 Doc fix (add arglist signatures). (Bug#10783)
10377
133b8e11
KS
103782012-03-06 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
10379
10380 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
10381 Handle breakpoints with no "type".
10382
99a83064
GM
103832012-03-06 Glenn Morris <rgm@gnu.org>
10384
10385 * files.el (locate-dominating-file): Add optional predicate argument.
10386 (dir-locals-find-file): Make use of above change.
10387
17798e78
TTN
103882012-03-06 Thien-Thi Nguyen <ttn@gnuvola.org>
10389
10390 * info.el (Info-insert-dir): Also try "dir.gz".
10391
eb182446
GM
103922012-03-06 Glenn Morris <rgm@gnu.org>
10393
8f2114ee
GM
10394 * files.el (dir-locals-find-file):
10395 Ignore non-readable or non-regular files. (Bug#10928)
10396
eb182446
GM
10397 * files.el (locate-dominating-file): Doc fix.
10398
24679323
AS
103992012-03-06 Adam Spiers <emacs@adamspiers.org> (tiny change)
10400
10401 * calendar/calendar.el (calendar-set-mode-line):
10402 `getenv' returns a string. (Bug#10951)
10403
01d972a9
LL
104042012-03-05 Leo Liu <sdl.web@gmail.com>
10405
109aa8a9
LL
10406 * simple.el (backward-delete-char-untabify): Constrain point to
10407 field (Bug#10939).
10408
01d972a9
LL
10409 * eshell/em-cmpl.el (eshell-cmpl-initialize): Fix shift-tab key.
10410
10607bea
CY
104112012-03-05 Chong Yidong <cyd@gnu.org>
10412
10413 * simple.el (count-words): If called from Lisp, return the word
10414 count, for symmetry with `count-lines'. Arglist changed.
10415 (count-words--message): Args changed. Consolidate counting code
10416 from count-words and count-words-region.
10417 (count-words-region): Caller changed.
10418 (count-lines-region): Make it an obsolete alias.
10419
5dd11cfe
TH
104202012-03-04 Tassilo Horn <tassilo@member.fsf.org>
10421
10422 * saveplace.el (save-place-to-alist)
10423 (save-place-ignore-files-regexp): Allow value nil to disable this
10424 feature.
10425
c349f4e6
CY
104262012-03-04 Chong Yidong <cyd@gnu.org>
10427
10428 * faces.el (face-spec-reset-face): For the default face, reset the
10429 attributes to default values (Bug#10748).
10430
e627be4c
LMI
104312012-03-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
10432
10433 * mail/emacsbug.el (report-emacs-bug-hook): Fix up thinko in
10434 previous patch: Check `message-send-mail-function', and not the
10435 default function (bug#10897).
10436
ebeabff4
MA
104372012-03-04 Michael Albinus <michael.albinus@gmx.de>
10438
a41a6cf4
MA
10439 * notifications.el (notifications-on-action-signal)
10440 (notifications-on-closed-signal): Check for unique service name of
10441 incoming event. Fix error in removing entry.
ebeabff4 10442 (top): Register for signals with wildcard service name.
a41a6cf4 10443 (notifications-notify): Use daemon unique service name for map entries.
ebeabff4 10444
c1ca42b4
CY
104452012-03-04 Chong Yidong <cyd@gnu.org>
10446
dc9924b8 10447 * cus-start.el: Make x-select-enable-clipboard-manager customizable.
c1ca42b4 10448
ea16568d
GM
104492012-03-04 Glenn Morris <rgm@gnu.org>
10450
10451 * abbrev.el (copy-abbrev-table, abbrev-table-p)
10452 (abbrev-minor-mode-table-alist, define-abbrev, abbrev-insert)
10453 (expand-abbrev, define-abbrev-table): Doc fixes.
10454
fbae4637
LMI
104552012-03-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
10456
10457 * mail/emacsbug.el (report-emacs-bug-hook): Look at the value of
10458 `message-default-send-mail-function' and not `send-mail-function'
10459 when doing the prompting for `sendmail-query-once' before sending
10460 in Message buffers (bug#10897).
10461
a1e7225c
LMI
10462 * net/tls.el (open-tls-stream): Don't set the dont-query-on-exit flag.
10463 This is inconsistent with all the other stream functions, which leave
10464 the setting up to the higher levels (if so wanted) (bug#10931).
10465
56d093a9
AM
104662012-03-02 Alan Mackenzie <acm@muc.de>
10467
10468 Depessimize the handling of very large macros.
10469
10470 * progmodes/cc-engine.el (c-macro-cache, c-macro-cache-start-pos):
10471 (c-macro-cache-syntactic): New variables to implement a one
10472 element macro cache.
10473 (c-invalidate-macro-cache): New function.
10474 (c-beginning-of-macro, c-end-of-macro, c-syntactic-end-of-macro):
10475 Adapt to use the new cache.
10476 (c-state-safe-place): Use better the cache of safe positions.
10477 (c-state-semi-nonlit-pos-cache)
10478 (c-state-semi-nonlit-pos-cache-limit):
10479 New variables for...
10480 (c-state-semi-safe-place): New function. Here, in a macro is "safe".
10481 (c-invalidate-state-cache-1): New stuff for c-state-semi-safe-place.
dbbc2e69
SM
10482 (c-in-literal, c-literal-limits, c-determine-limit-get-base):
10483 Use c-state-semi-safe-place.
56d093a9 10484
dbbc2e69
SM
10485 * progmodes/cc-langs.el (c-get-state-before-change-functions):
10486 Add c-invalidate-macro-cache to the C, C++, Obj entries.
56d093a9 10487
817e5c3d
MA
104882012-03-02 Michael Albinus <michael.albinus@gmx.de>
10489
dbbc2e69
SM
10490 * jka-compr.el (jka-compr-call-process):
10491 Apply `file-accessible-directory-p' only when the default directory is
817e5c3d
MA
10492 not remote.
10493
a032a702
MA
104942012-03-01 Michael Albinus <michael.albinus@gmx.de>
10495
10496 * files.el (file-equal-p): Fix docstring. Avoid unnecessary
10497 access of FILE2, if FILE1 does not exist.
10498
99a54f21
MA
10499 * net/tramp-sh.el (tramp-remote-process-environment): Add "PAGER=\"\"".
10500 Reported by Robert Lupton the Good <rhl@astro.princeton.edu>.
10501
10502 * vc/vc-git.el (vc-git--call): Enable `inhibit-null-byte-detection'.
10503 Add "PAGER=" to `process-environment'.
10504
f6561e1f
MM
105052012-03-01 Michael R. Mauger <mmaug@yahoo.com>
10506
10507 * progmodes/sql.el: Bug fix
10508 (sql-get-login-ext): Save login values in globals.
10509 (sql-get-login): Use new version of `sql-get-login-ext'.
10510 (sql-interactive-mode): Set global `sql-connection' to nil.
10511 (sql-connect): Set global values for connection.
10512 (sql-product-interactive): Save global values as buffer local.
10513
2d44d9cc
LL
105142012-02-29 Leo Liu <sdl.web@gmail.com>
10515
10516 * abbrev.el (define-abbrevs): Reset sys to nil.
10517
96b49301 105182012-02-28 Thierry Volpiatto <thierry.volpiatto@gmail.com>
10519
bf7f9bc5
JB
10520 * files.el (file-equal-p): Rename from `files-equal-p'.
10521 Return nil when one or both files don't exist.
96b49301 10522 (file-subdir-of-p): Now only top directory must exists,
10523 return nil if it doesn't.
bf7f9bc5
JB
10524 (copy-directory): No need to test with `file-subdir-of-p' after
10525 creating dir.
10526 * net/tramp.el (tramp-file-name-for-operation): Rename `files-equal-p'
10527 to `file-equal-p'.
96b49301 10528
44e97401
GM
105292012-02-28 Glenn Morris <rgm@gnu.org>
10530
10531 * shell.el (shell-mode):
10532 * progmodes/vhdl-mode.el (wildcard-to-regexp, file-expand-wildcards):
10533 * play/landmark.el (landmark-font-lock-face-O):
10534 * play/handwrite.el (handwrite):
10535 * play/gomoku.el (gomoku-O):
10536 * net/browse-url.el (browse-url-browser-display):
10537 * international/mule.el (define-charset):
10538 * htmlfontify.el (hfy-etags-cmd, hfy-face-attr-for-class):
10539 * filesets.el (filesets-find-file-delay):
10540 * eshell/em-xtra.el (eshell-xtra):
10541 * eshell/em-unix.el (eshell-grep):
10542 * emulation/viper.el (viper-mode):
10543 * emacs-lisp/regexp-opt.el (regexp-opt-group):
10544 * emacs-lisp/easymenu.el (easy-menu-define):
10545 * calendar/timeclock.el (timeclock-use-display-time):
10546 * bs.el (bs-mode):
10547 * bookmark.el (bookmark-save-flag):
10548 Doc fix (standardize possessive apostrophe usage).
10549
c98c6276
CY
105502012-02-27 Chong Yidong <cyd@gnu.org>
10551
bf7f9bc5
JB
10552 * emulation/viper-cmd.el (viper-intercept-ESC-key):
10553 Fix key-binding lookup for ESC key (Bug#9146).
ecf5f74e 10554
c98c6276
CY
10555 * font-lock.el (font-lock-specified-p): Rename from
10556 font-lock-spec-present. Callers changed.
10557
9c62cd04 105582012-02-27 Daniel Hackney <dan@haxney.org>
8ac9e529 10559
bf7f9bc5
JB
10560 * emacs-lisp/package.el (package-compute-transaction):
10561 Handle holding a package version to t in package-load-list.
8ac9e529 10562
530739c9
MA
105632012-02-26 Michael Albinus <michael.albinus@gmx.de>
10564
10565 * net/tramp.el (tramp-inodes, tramp-devices): Initialize with 0.
10566 (tramp-get-inode, tramp-get-device): Use cached values.
10567
487915d7
AM
105682012-02-26 Alan Mackenzie <acm@muc.de>
10569
10570 Check there is a font-lock specification before doing initial
10571 fontification.
10572
10573 * font-core.el (font-lock-mode): Move the conditional from
10574 :after-hook to font-lock-initial-fontify.
10575 (font-lock-default-function): Move the check for a specification
10576 to font-lock-spec-present.
10577
dc9924b8 10578 * font-lock.el (font-lock-initial-fontify): Call ...
487915d7
AM
10579 (font-lock-spec-present): New function.
10580
4fd96557
JB
105812012-02-26 Jim Blandy <jimb@red-bean.com>
10582
10583 * progmodes/gdb-mi.el (gdb-mi-quote): New function.
10584 (gdb-send): Apply it to the operand of the '-interpreter-exec
10585 console' command, so that we can pass arguments with (say) quotes
10586 in them. Store exact string sent in gdb-debug-log (Bug#10765).
10587
9a4888c0
CY
105882012-02-26 Chong Yidong <cyd@gnu.org>
10589
07498861
CY
10590 * help-fns.el (describe-function-1): Clarify description of
10591 remapping (Bug#10844).
10592
9a4888c0
CY
10593 * files.el (files-equal-p): Doc fix.
10594 (file-subdir-of-p): Doc fix. Convert loop macro to plain Lisp,
10595 and quit the loop once a mismatch is found.
10596
ea8fb88d
JB
105972012-02-25 Juanma Barranquero <lekktu@gmail.com>
10598
10599 * bs.el (bs--show-with-configuration): Don't throw an error
10600 if the window cannot be split; otherwise, subsequent calls to
10601 bs-show fail, restoring a stale window config. (Bug#10882)
10602
525795c1
JD
106032012-02-25 Jan Djärv <jan.h.d@swipnet.se>
10604
10605 * term/ns-win.el (global-map): Bind ns-drag-file to
10606 ns-find-file (Bug#5855, Bug#10050).
10607
f008086f
AS
106082012-02-25 Andreas Schwab <schwab@linux-m68k.org>
10609
10610 * calendar/parse-time.el (parse-time-string): Allow extractor to
10611 return nil.
10612
a3fcfa99
MA
106132012-02-25 Michael Albinus <michael.albinus@gmx.de>
10614
91027d08
JB
10615 * net/tramp.el (tramp-file-name-for-operation):
10616 Add `files-equal-p' and `file-subdir-of-p'.
a3fcfa99
MA
10617
10618 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
91027d08
JB
10619 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
10620 Add COPY-CONTENTS argument.
a3fcfa99 10621
67b0de11
CY
106222012-02-25 Chong Yidong <cyd@gnu.org>
10623
10624 Add custom groups for VC backends, for consistency with vc-bzr.
10625
10626 * vc/vc-arch.el (vc-arch):
10627 * vc/vc-cvs.el (vc-cvs):
10628 * vc/vc-git.el (vc-git):
10629 * vc/vc-hg.el (vc-hg):
10630 * vc/vc-mtn.el (vc-mtn):
10631 * vc/vc-rcs.el (vc-rcs):
10632 * vc/vc-sccs.el (vc-sccs):
10633 * vc/vc-svn.el (vc-svn): New customization group (Bug#10871).
10634 All relevant defcustoms reassigned.
10635
3c9dfce6
CY
106362012-02-25 Chong Yidong <cyd@gnu.org>
10637
1339bf43
CY
10638 * newcomment.el (comment-styles): Add autoload (Bug#10868).
10639
3c9dfce6
CY
10640 * term/x-win.el (x-initialize-window-system): Reduce default for
10641 x-selection-timeout to 5 seconds (Bug#8869).
10642
25b2e303 106432012-02-24 Thierry Volpiatto <thierry.volpiatto@gmail.com>
10644
ec70a47d
GM
10645 * files.el (files-equal-p, file-subdir-of-p): New functions.
10646 (copy-directory): Error when trying to copy a directory on itself.
25b2e303 10647 Add missing copy-contents arg to tramp handler.
ec70a47d
GM
10648 * dired-aux.el (dired-copy-file-recursive): Same.
10649 (dired-create-files): Modify destination when source is equal to
10650 dest when copying files.
53a46cd0 10651 Return also when dest is a subdir of source. (Bug#10489)
25b2e303 10652
914260cd
MA
106532012-02-24 Michael Albinus <michael.albinus@gmx.de>
10654
10655 * net/ange-ftp.el (ange-ftp-parse-netrc): Suppress comment lines.
10656 (Bug#10874)
10657
2cb228f7
AM
106582012-02-23 Alan Mackenzie <acm@muc.de>
10659
10660 * emacs-lisp/easy-mmode.el (define-minor-mode): Add extra
10661 parameter "after-hook:" to allow the expansion to run code after
10662 the execution of the mode hooks.
10663
10664 * font-lock.el (font-lock-initial-fontify): New function extracted
91027d08 10665 from font-lock-mode-internal.
2cb228f7 10666
91027d08 10667 * font-core.el (font-lock-mode): Call font-lock-initial-fontify in
2cb228f7
AM
10668 :after-hook.
10669
8f0fde21
SM
106702012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
10671
3e88618b
SM
10672 * minibuffer.el: Make sure cycling is reset upon edit with icomplete.el.
10673 (completion--cache-all-sorted-completions): New function.
10674 (completion-all-sorted-completions): Use it.
10675 (completion--do-completion, minibuffer-force-complete):
10676 Use it to re-instate the flush hook.
10677
8f0fde21
SM
10678 * icomplete.el (icomplete-completions): Replace last fix with a better
10679 one (bug#10850).
10680
8e911f6f
DG
106812012-02-23 Dmitry Gutov <dgutov@yandex.ru>
10682
10683 * emacs-lisp/lisp.el (beginning-of-defun-raw): Don't call end-of-defun
10684 when it might call us back infinitely (bug#10797).
10685
49fe4321
GM
106862012-02-23 Glenn Morris <rgm@gnu.org>
10687
10688 * minibuffer.el (completion-category-overrides): Doc fix.
10689
b291b572
SM
106902012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
10691
10692 * minibuffer.el (completion-table-with-context): Fix inf-loop.
10693 Reported by Aaron S. Hawley <aaron.s.hawley@gmail.com>.
10694
31a9ef2e
GM
106952012-02-23 Glenn Morris <rgm@gnu.org>
10696
5e6e6794 10697 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case)
31a9ef2e
GM
10698 (authors-obsolete-files-regexps, authors-ignored-files)
10699 (authors-ambiguous-files, authors-renamed-files-alist):
10700 Add more entries.
10701
0bd1e074
JL
107022012-02-23 Juri Linkov <juri@jurta.org>
10703
10704 * isearch.el (isearch-occur): Sync interactive spec with occur's
10705 new feature in `occur-read-primary-args'. Doc fix. (Bug#10705)
10706
b617673c
JL
10707 * replace.el (occur-menu-map): Add menu item for `occur-edit-mode'.
10708
19e9789e
JL
107092012-02-22 Juri Linkov <juri@jurta.org>
10710
10711 * international/mule-cmds.el (read-char-by-name): Use \` and \'.
10712 (ucs-insert): Doc fix. Check for hex digits in the string.
10713 Don't display `nil' in the error message. (Bug#10857)
10714
f41ce09d
AM
107152012-02-22 Alan Mackenzie <acm@muc.de>
10716
7a71b18d 10717 * progmodes/cc-mode.el: Revert change #2012-02-06T22:08:41Z!larsi@gnus.org from 2012-02-06.
f41ce09d 10718
ac2eceee
GM
107192012-02-22 Glenn Morris <rgm@gnu.org>
10720
10721 * ffap.el (ffap-c-path):
10722 * man.el (Man-header-file-path): Handle multiarch. (Bug#10702)
10723
abd1f678
CY
107242012-02-22 Chong Yidong <cyd@gnu.org>
10725
10726 * custom.el (load-theme): Doc fix.
10727
f25aef2e
GM
107282012-02-22 Glenn Morris <rgm@gnu.org>
10729
10730 * dired-x.el (dired-guess-shell-alist-default):
10731 Remove escape sequences from nroff output. (Bug#172)
10732
5f8dc2ca
GM
107332012-02-21 Glenn Morris <rgm@gnu.org>
10734
6ff86ec4
GM
10735 * vc/emerge.el (emerge-defvar-local):
10736 Set `permanent-local' property rather than unused `preserved'.
10737
be3223a3 10738 * textmodes/picture.el (picture-delete-char): New alias.
5f8dc2ca
GM
10739 (picture-mode-map): Use it. (Bug#10860)
10740 (picture-mode): Doc fix.
10741
3fe58f4f
JB
107422012-02-21 Juanma Barranquero <lekktu@gmail.com>
10743
10744 * newcomment.el (uncomment-region-default): Remove unused binding.
10745
f9a998c3
GM
107462012-02-21 Glenn Morris <rgm@gnu.org>
10747
10748 * textmodes/picture.el (picture-motion, picture-motion-reverse)
10749 (picture-self-insert, picture-tab-chars): Doc fix.
10750 (picture-mode-map): Fix C-a, C-e.
10751
c6029348
GM
107522012-02-20 Glenn Morris <rgm@gnu.org>
10753
10754 * emacs-lisp/authors.el (authors-aliases): Add another entry.
10755
ab1ce9d7
LL
107562012-02-20 Leo Liu <sdl.web@gmail.com>
10757
10758 * icomplete.el (icomplete-completions): Check FROM arg before
10759 passing to substring (Bug#10850).
10760
0fd40f89
CY
107612012-02-19 Chong Yidong <cyd@gnu.org>
10762
10763 * comint.el: Require ansi-color.
10764 (comint-output-filter-functions): Add ansi-color-process-output.
10765
10766 * ansi-color.el: Don't set comint-output-filter-functions; it is
10767 now in the initial value defined in comint.el.
10768 (ansi-color-apply-face-function): New variable.
10769 (ansi-color-apply-on-region): Use it.
10770 (ansi-color-apply-overlay-face): New function.
10771
10772 * shell.el (shell): No need to require ansi-color.
10773 (shell-mode): Use ansi-color-apply-face-function to highlight
10774 color escapes using font-lock-face property (Bug#10835).
10775
20af2394
CY
107762012-02-19 Chong Yidong <cyd@gnu.org>
10777
10778 * vc/ediff-init.el (ediff-strip-mode-line-format): Handle non-list
10779 mode-line formats (Bug#10839).
10780
e23a3fbe
GM
107812012-02-18 Glenn Morris <rgm@gnu.org>
10782
b474519e
GM
10783 * mail/rmail.el (rmail-dont-reply-to-names): Mark as obsolete.
10784
10785 * mail/undigest.el (unforward-rmail-message): Doc fix.
10786
e23a3fbe
GM
10787 * saveplace.el (save-place-ignore-files-regexp): Add :version.
10788
57939ff4
EZ
107892012-02-18 Eli Zaretskii <eliz@gnu.org>
10790
10791 * international/characters.el (script-list): Sync with the latest
10792 Unicode Character Database.
10793
0c23686e
AS
107942012-02-18 Andreas Schwab <schwab@linux-m68k.org>
10795
10796 * international/titdic-cnv.el: Remove duplicate coding tag.
10797 * language/cham.el: Likewise.
10798 * language/tai-viet.el: Likewise.
10799
6818b449
GM
108002012-02-18 Glenn Morris <rgm@gnu.org>
10801
10802 * calendar/cal-menu.el (cal-menu-diary-menu, cal-menu-goto-menu):
10803 * calendar/calendar.el (diary-file, diary-bahai-entry-symbol)
10804 (calendar-bahai-all-holidays-flag, calendar-other-dates):
10805 * calendar/diary-lib.el (diary-abbreviated-year-flag):
10806 * calendar/holidays.el (holiday-bahai-holidays)
10807 (calendar-holidays, list-holidays):
10808 Use utf-8 Bahá'í in doc-strings, menus, etc.
10809
0311a3fc
TH
108102012-02-17 Tassilo Horn <tassilo@member.fsf.org>
10811
10812 * saveplace.el (save-place-ignore-files-regexp): New variable
10813 allowing for excluding files from saving their location of point.
10814 The default value matches the temporary commit message editing
10815 files from Git, SVN, Bazaar, and Mercurial.
10816 (save-place-to-alist): Use it.
10817
d209e2fb 108182012-02-17 Lawrence Mitchell <wence@gmx.li>
f1a71c6e 10819 Stefan Monnier <monnier@iro.umontreal.ca>
eb864a71
LM
10820
10821 * newcomment.el (uncomment-region-default): Don't leave extra space
10822 when an arg is provided (bug#8150).
10823
ee0ce425
TZ
108242012-02-17 Teodor Zlatanov <tzz@lifelogs.com>
10825
eb864a71 10826 * net/gnutls.el (gnutls-trustfiles): Fix Cygwin bundle location.
ee0ce425 10827
95ddf442
GM
108282012-02-17 Glenn Morris <rgm@gnu.org>
10829
10830 * net/socks.el: Require network-stream. (Bug#10599)
10831
48dd1e39 108322012-02-17 Kenichi Handa <handa@m17n.org>
c406be43
KH
10833
10834 * international/charprop.el:
10835 * international/uni-name.el:
10836 * international/uni-old-name.el:
10837 * international/uni-comment.el: Regenerate.
10838
d68cd087
GM
108392012-02-16 Glenn Morris <rgm@gnu.org>
10840
10841 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits):
10842 Interactively in calendar buffer, give an error if not on a date.
10843
13932042
GM
108442012-02-15 Glenn Morris <rgm@gnu.org>
10845
10846 * shell.el (shell-delimiter-argument-list):
10847 Revert 2011-02-17 change. (Bug#8027)
10848
c3a70e2b
CY
108492012-02-15 Chong Yidong <cyd@gnu.org>
10850
60236b0d
CY
10851 * minibuffer.el (completion-at-point-functions): Doc fix.
10852
c3a70e2b
CY
10853 * custom.el (defcustom): Doc fix; note use of defvar.
10854
9f26dc24
GM
108552012-02-15 Glenn Morris <rgm@gnu.org>
10856
10857 * mail/smtpmail.el (smtpmail-smtp-user, smtpmail-stream-type):
10858 Doc fixes.
10859
6546b134
GM
108602012-02-14 Glenn Morris <rgm@gnu.org>
10861
10862 * mail/smtpmail.el (smtpmail-query-smtp-server): Give it a doc.
10863
d29b2b4c
LI
108642012-02-14 Lars Ingebrigtsen <larsi@gnus.org>
10865
10866 * mail/smtpmail.el (smtpmail-query-smtp-server): Fix typo in the
10867 way the ports list is computed.
835bdcba
LI
10868 (smtpmail-query-smtp-server): Prompt the user for a port number if
10869 we can't connect to any of the standard ports (bug#10810).
d29b2b4c 10870
08dcdbc9
TZ
108712012-02-14 Teodor Zlatanov <tzz@lifelogs.com>
10872
10873 * net/gnutls.el (gnutls-trustfiles): Add Cygwin location.
10874
2605051a
GM
108752012-02-13 Glenn Morris <rgm@gnu.org>
10876
10877 * minibuffer.el (read-file-name): Doc fix. (Bug#10798)
10878
7ee99f32
TZ
108792012-02-13 Teodor Zlatanov <tzz@lifelogs.com>
10880
10881 * net/gnutls.el (gnutls-trustfiles): New variable.
10882 (gnutls-negotiate): Use it.
10883
5f0af64f
LI
108842012-02-13 Lars Ingebrigtsen <larsi@gnus.org>
10885
10886 * simple.el (mail-user-agent): Mention that `gnus-user-agent' only
10887 does its stuff if Gnus is running.
10888
c14fcc95
AM
108892012-02-13 Alan Mackenzie <acm@muc.de>
10890
10891 Fix a loop in c-set-fl-decl-start.
10892
7a71b18d 10893 * progmodes/cc-engine.el (c-set-fl-decl-start): Add a check that
c14fcc95
AM
10894 c-backward-syntactic-ws actually moves backwards.
10895
142b4d90
LL
108962012-02-13 Leo Liu <sdl.web@gmail.com>
10897
10898 * net/rcirc.el (rcirc-markup-attributes): Move point to the
10899 beginning so that all \C-o chars are removed.
10900
fa9958a6
TZ
109012012-02-12 Teodor Zlatanov <tzz@lifelogs.com>
10902
dc9924b8 10903 * net/gnutls.el (gnutls-algorithm-priority): Add missing :group tag.
fa9958a6 10904
0bc5886a
AM
109052012-02-12 Alan Mackenzie <acm@muc.de>
10906
10907 Fix infinite loop with long macros.
4d6769e1 10908 * progmodes/cc-engine.el (c-state-safe-place): Handle macros properly.
0bc5886a 10909
d4bd55e7
CY
109102012-02-12 Chong Yidong <cyd@gnu.org>
10911
10912 * window.el (display-buffer): Doc fix (Bug#10785).
10913
66f3fe22
GM
109142012-02-12 Glenn Morris <rgm@gnu.org>
10915
bd7da63e
GM
10916 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
10917 (x-disown-selection-internal, x-get-selection-internal):
10918 Sync docs with the xselect.c versions.
10919
66f3fe22
GM
10920 * allout-widgets.el: Add missing license notice.
10921
3e0d2fa7
GM
109222012-02-11 Glenn Morris <rgm@gnu.org>
10923
cfecdf09
GM
10924 * select.el (x-get-selection-internal, x-own-selection-internal)
10925 (x-disown-selection-internal):
10926 * x-dnd.el (x-get-selection-internal): Update declarations.
10927
6d216d7f
GM
10928 * vc/log-view.el (vc-diff-internal): Remove unneeded declaration.
10929
2bed3f04
GM
10930 * window.el (window-sides-slots):
10931 * tool-bar.el (tool-bar-position):
10932 * term/xterm.el (xterm-extra-capabilities):
10933 * ses.el (ses-self-reference-early-detection):
10934 * progmodes/verilog-mode.el (verilog-auto-declare-nettype)
10935 (verilog-auto-wire-type)
10936 (verilog-auto-delete-trailing-whitespace)
10937 (verilog-auto-reset-blocking-in-non, verilog-auto-inst-sort)
10938 (verilog-auto-tieoff-declaration):
10939 * progmodes/sql.el (sql-login-hook, sql-ansi-statement-starters)
10940 (sql-oracle-statement-starters, sql-oracle-scan-on):
10941 * progmodes/prolog.el (prolog-align-comments-flag)
10942 (prolog-indent-mline-comments-flag, prolog-object-end-to-0-flag)
10943 (prolog-left-indent-regexp, prolog-paren-indent-p)
10944 (prolog-paren-indent, prolog-parse-mode, prolog-keywords)
10945 (prolog-types, prolog-mode-specificators)
10946 (prolog-determinism-specificators, prolog-directives)
10947 (prolog-electric-newline-flag, prolog-hungry-delete-key-flag)
10948 (prolog-electric-dot-flag)
10949 (prolog-electric-dot-full-predicate-template)
10950 (prolog-electric-underscore-flag, prolog-electric-tab-flag)
10951 (prolog-electric-if-then-else-flag, prolog-electric-colon-flag)
10952 (prolog-electric-dash-flag, prolog-old-sicstus-keys-flag)
10953 (prolog-program-switches, prolog-prompt-regexp)
10954 (prolog-debug-on-string, prolog-debug-off-string)
10955 (prolog-trace-on-string, prolog-trace-off-string)
10956 (prolog-zip-on-string, prolog-zip-off-string)
10957 (prolog-use-standard-consult-compile-method-flag)
10958 (prolog-use-prolog-tokenizer-flag, prolog-imenu-flag)
10959 (prolog-imenu-max-lines, prolog-info-predicate-index)
10960 (prolog-underscore-wordchar-flag, prolog-use-sicstus-sd)
10961 (prolog-char-quote-workaround):
10962 * progmodes/cc-vars.el (c-defun-tactic):
10963 * net/tramp.el (tramp-encoding-command-interactive)
10964 (tramp-local-end-of-line):
10965 * net/soap-client.el (soap-client):
10966 * net/netrc.el (netrc-file):
10967 * net/gnutls.el (gnutls):
10968 * minibuffer.el (completion-category-overrides)
10969 (completion-cycle-threshold)
10970 (completion-pcm-complete-word-inserts-delimiters):
10971 * man.el (Man-name-local-regexp):
10972 * mail/feedmail.el (feedmail-display-full-frame):
10973 * international/characters.el (glyphless-char-display-control):
10974 * eshell/em-ls.el (eshell-ls-date-format):
10975 * emacs-lisp/cl-indent.el (lisp-lambda-list-keyword-alignment)
10976 (lisp-lambda-list-keyword-parameter-indentation)
10977 (lisp-lambda-list-keyword-parameter-alignment):
10978 * doc-view.el (doc-view-image-width, doc-view-unoconv-program):
10979 * dired-x.el (dired-omit-verbose):
10980 * cus-theme.el (custom-theme-allow-multiple-selections):
10981 * calc/calc.el (calc-highlight-selections-with-faces)
10982 (calc-lu-field-reference, calc-lu-power-reference)
10983 (calc-note-threshold):
10984 * battery.el (battery-mode-line-limit):
10985 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
10986 (archive-7z-update):
10987 * allout.el (allout-prefixed-keybindings)
10988 (allout-unprefixed-keybindings)
10989 (allout-inhibit-auto-fill-on-headline)
10990 (allout-flattened-numbering-abbreviation):
10991 * allout-widgets.el (allout-widgets-auto-activation)
10992 (allout-widgets-icons-dark-subdir)
10993 (allout-widgets-icons-light-subdir, allout-widgets-icon-types)
10994 (allout-widgets-theme-dark-background)
10995 (allout-widgets-theme-light-background)
10996 (allout-widgets-item-image-properties-emacs)
10997 (allout-widgets-item-image-properties-xemacs)
10998 (allout-widgets-run-unit-tests-on-load)
10999 (allout-widgets-time-decoration-activity)
11000 (allout-widgets-hook-error-post-time)
11001 (allout-widgets-track-decoration):
11002 Add missing :version tags to new defcustoms and defgroups.
11003
5fec1b8e
GM
11004 * progmodes/sql.el (sql-ansi-statement-starters)
11005 (sql-oracle-statement-starters): Add custom type.
11006
3e0d2fa7
GM
11007 * progmodes/prolog.el: Remove leading '*' from defcustom docs.
11008 (prolog-system-version): Give it a type.
11009
90b671e2
EZ
110102012-02-11 Eli Zaretskii <eliz@gnu.org>
11011
11012 * term/pc-win.el (x-select-text, x-selection-owner-p)
11013 (x-own-selection-internal, x-disown-selection-internal)
11014 (x-get-selection-internal): Sync doc strings and argument lists
11015 with xselect.c, common-win.el and x-win.el. (Bug#10783)
11016
5eac0c02
LL
110172012-02-11 Leo Liu <sdl.web@gmail.com>
11018
11019 * progmodes/python.el (python-end-of-statement): Fix infinite
11020 loop. (Bug#10788)
11021
f82cb659
GM
110222012-02-10 Glenn Morris <rgm@gnu.org>
11023
11024 * international/mule-cmds.el (unify-8859-on-encoding-mode)
11025 (unify-8859-on-decoding-mode): Properly mark as obsolete.
11026
cc26d239
LI
110272012-02-10 Lars Ingebrigtsen <larsi@gnus.org>
11028
11029 * mail/emacsbug.el (report-emacs-bug-hook): Query the user first
11030 about SMTP before checking the From header.
11031
91027d08 11032 * mail/sendmail.el (sendmail-query-user-about-smtp): Refactor out
cc26d239
LI
11033 into own function for reuse by emacsbug.el.
11034
1be3ca5a
LL
110352012-02-10 Leo Liu <sdl.web@gmail.com>
11036
11037 * subr.el (condition-case-unless-debug): Rename from
11038 condition-case-no-debug. All callers changed.
11039 (with-demoted-errors): Fix caller.
11040
11041 * vc/diff-mode.el (diff-auto-refine-mode, diff-hunk):
11042 * nxml/rng-valid.el (rng-do-some-validation):
11043 * emacs-lisp/package.el (package-refresh-contents)
11044 (package-menu-execute):
11045 * desktop.el (desktop-create-buffer):
91027d08 11046 * font-lock.el (lisp-font-lock-keywords-2): Caller changed.
1be3ca5a 11047
b011fbfe
GM
110482012-02-10 Glenn Morris <rgm@gnu.org>
11049
b2096d72
GM
11050 * textmodes/bibtex.el:
11051 Add missing :version tags for new/changed defcustoms.
11052
b011fbfe
GM
11053 * files.el (remote-file-name-inhibit-cache): Doc fixes.
11054
4c7e65bf
LI
110552012-02-09 Lars Ingebrigtsen <larsi@rusty>
11056
11057 * mail/smtpmail.el (smtpmail-user-mail-address): New function.
11058 (smtpmail-via-smtp): Use it, or fall back on the From address.
11059 (smtpmail-send-it): Ditto.
11060
f3934f6f
SM
110612012-02-09 Stefan Monnier <monnier@iro.umontreal.ca>
11062
11063 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
11064 Don't fallback on byte-compile-defvar. Optimize (defvar foo) away.
11065 (byte-compile-tmp-var): New const.
11066 (byte-compile-defvar): Use it to minimize .elc size.
11067 Just use `defvar' rather than simulate it (bug#10761).
11068
a075a2c5
GM
110692012-02-09 Glenn Morris <rgm@gnu.org>
11070
cf3aa21b
GM
11071 * files.el (rename-uniquely): Doc fix. (Bug#3806)
11072
354998cd
GM
11073 * progmodes/cc-guess.el (c-guess-offset-threshold, c-guess-region-max):
11074 Add :version tags.
11075
dc9924b8
SM
11076 * progmodes/compile.el (compilation-error-screen-columns)
11077 (compilation-first-column, compilation-filter-start): Doc fixes.
83274125 11078
dab3703d
GM
11079 * vc/log-view.el (log-view-toggle-entry-display):
11080 * vc/vc.el (vc-merge, vc-pull): Doc fixes.
11081
3f88cd72
GM
11082 * mail/emacsbug.el (report-emacs-bug-can-use-osx-open)
11083 (report-emacs-bug-can-use-xdg-email):
11084 (report-emacs-bug-insert-to-mailer): Doc fixes.
11085 (report-emacs-bug): Message fix.
11086
d95b247d
GM
11087 * net/browse-url.el (browse-url-can-use-xdg-open)
11088 (browse-url-xdg-open): Doc fixes.
11089
a075a2c5
GM
11090 * electric.el (electric-indent-mode, electric-pair-mode)
11091 (electric-layout-rules, electric-layout-mode): Doc fixes.
11092 (electric-pair-pairs, electric-pair-skip-self): Add :version tags.
11093
ffb6157e
MR
110942012-02-08 Martin Rudalics <rudalics@gmx.at>
11095
11096 * server.el (server-unselect-display): Don't inadvertently kill
11097 the current buffer. (Bug#10729)
11098
e1ac4066
GM
110992012-02-08 Glenn Morris <rgm@gnu.org>
11100
34e8a2da
GM
11101 * progmodes/sql.el (sql-port, sql-connection-alist, sql-list-all)
11102 (sql-list-table): Doc fixes.
11103
b4ac6e8c
GM
11104 * image-mode.el (image-transform-minor-mode-map, image-transform-mode):
11105 Comment out (does nothing).
11106
e1ac4066
GM
11107 * completion.el (dynamic-completion-mode):
11108 * dirtrack.el (dirtrack-debug-mode):
11109 * electric.el (electric-layout-mode):
11110 * epa-mail.el (epa-mail-mode, epa-global-mail-mode):
11111 * face-remap.el (text-scale-mode, buffer-face-mode):
11112 * iimage.el (iimage-mode):
11113 * image-mode.el (image-transform-mode):
11114 * minibuffer.el (completion-in-region-mode):
11115 * scroll-lock.el (scroll-lock-mode):
11116 * simple.el (next-error-follow-minor-mode):
11117 * tar-mode.el (tar-subfile-mode):
11118 * tooltip.el (tooltip-mode):
11119 * vcursor.el (vcursor-use-vcursor-map):
11120 * wid-browse.el (widget-minor-mode):
11121 * emulation/tpu-edt.el (tpu-edt-mode):
11122 * emulation/tpu-extras.el (tpu-cursor-free-mode):
11123 * international/iso-ascii.el (iso-ascii-mode):
11124 * language/thai-util.el (thai-word-mode):
11125 * mail/supercite.el (sc-minor-mode):
11126 * net/goto-addr.el (goto-address-mode):
11127 * net/rcirc.el (rcirc-multiline-minor-mode, rcirc-track-minor-mode):
11128 * progmodes/cwarn.el (cwarn-mode):
11129 * progmodes/flymake.el (flymake-mode):
11130 * progmodes/glasses.el (glasses-mode):
11131 * progmodes/hideshow.el (hs-minor-mode):
11132 * progmodes/pascal.el (pascal-outline-mode):
11133 * textmodes/enriched.el (enriched-mode):
11134 * vc/smerge-mode.el (smerge-mode):
11135 Doc fixes (minor mode argument).
11136
5e0d957f
EZ
111372012-02-07 Eli Zaretskii <eliz@gnu.org>
11138
11139 * ls-lisp.el (ls-lisp-sanitize): New function.
11140 (ls-lisp-insert-directory): Use it to fix or remove any elements
11141 in file-alist with missing attributes. (Bug#4673)
11142
98d7371e
AM
111432012-02-07 Alan Mackenzie <acm@muc.de>
11144
11145 Fix spurious recognition of c-in-knr-argdecl.
11146
11147 * progmodes/cc-engine.el (c-in-knr-argdecl): Check for '=' in a
11148 putative K&R region.
11149
667ced3a
AM
111502012-02-07 Alan Mackenzie <acm@muc.de>
11151
eb864a71
LM
11152 * progmodes/cc-engine.el (c-forward-objc-directive):
11153 Prevent looping in "#pragma mark @implementation".
667ced3a 11154
5b77774d
MA
111552012-02-07 Michael Albinus <michael.albinus@gmx.de>
11156
11157 * notifications.el (notifications-on-closed-signal): Make `reason'
11158 optional. (Bug#10744)
11159
af008560
GM
111602012-02-07 Glenn Morris <rgm@gnu.org>
11161
60d47423
GM
11162 * emacs-lisp/easy-mmode.el (define-minor-mode):
11163 Doc fixes for the macro and the mode it defines.
11164
dd605cc4
GM
11165 * image.el (imagemagick-types-inhibit): Doc fix.
11166
af008560
GM
11167 * cus-start.el (imagemagick-render-type): Add it.
11168
5cc59a37
LI
111692012-02-06 Lars Ingebrigtsen <larsi@gnus.org>
11170
4d6769e1
JB
11171 * progmodes/cc-mode.el (c-standard-font-lock-fontify-region-function):
11172 Set the default at load time, too, so that `font-lock-fontify-buffer'
11173 can be called without setting up the entire mode first. This fixes
11174 a bug in `mm-inline-text' with C MIME parts.
5cc59a37 11175
9a6dd747
CY
111762012-02-06 Chong Yidong <cyd@gnu.org>
11177
2d16b285
CY
11178 * simple.el (list-processes--refresh): Delete exited processes
11179 (Bug#8094).
11180
171e9b6e
CY
11181 * comint.el (comint-next-prompt): next-single-char-property-change
11182 and prev-single-char-property-change never return nil (Bug#8657).
11183
9a6dd747
CY
11184 * custom.el (defcustom): Doc fix (Bug#9711).
11185
aa4589a7
CY
111862012-02-05 Chong Yidong <cyd@gnu.org>
11187
5c2a252f
CY
11188 * cus-edit.el (custom-variable-reset-backup): Quote the value
11189 before storing it in the customized-value property (Bug#6712).
4aab9006 11190 (custom-display): Add a customization type tag.
983b9602 11191 (custom-buffer-create-internal): Improve tooltip message.
5c2a252f 11192
aa4589a7
CY
11193 * wid-edit.el (widget-field-value-get): New optional arg to
11194 suppress trailing whitespace truncation.
11195 (character): Use it (Bug#2689).
11196
1ff980ae
AS
111972012-02-05 Andreas Schwab <schwab@linux-m68k.org>
11198
11199 * progmodes/gud.el (gud-pv): Use pv instead of pv1.
11200 * progmodes/gdb-mi.el (gud-pp): Use pp instead of pp1.
11201
03988c98
CY
112022012-02-05 Chong Yidong <cyd@gnu.org>
11203
eeb6cc88
CY
11204 * cus-edit.el (custom-variable-value-create): For mismatched
11205 types, show the current value (Bug#7600).
11206
03988c98
CY
11207 * custom.el (defcustom): Doc fix.
11208
f8cdeef0
GM
112092012-02-05 Glenn Morris <rgm@gnu.org>
11210
11211 * font-lock.el (lisp-font-lock-keywords-2): Add with-wrapper-hook.
11212
0696d255
JB
112132012-02-05 Juanma Barranquero <lekktu@gmail.com>
11214
11215 * emacs-lisp/pp.el (pp-to-string): Use `with-temp-buffer'.
11216 (pp-buffer): Use `ignore-errors', `looking-at-p'.
11217 (pp-last-sexp): Use `looking-at-p'.
11218
34c99998
GM
112192012-02-04 Glenn Morris <rgm@gnu.org>
11220
8f05da42
GM
11221 * files.el (revert-buffer):
11222 Doc fix (mention revert-buffer-in-progress-p).
11223
f160676e
GM
11224 * emacs-lisp/ert-x.el (ert-simulate-command):
11225 Check deferred-action-list (which is obsolete) is bound.
11226
c7291ad9
GM
11227 * subr.el (with-wrapper-hook): Doc fixes.
11228
34c99998
GM
11229 * simple.el (filter-buffer-substring-functions)
11230 (buffer-substring-filters, filter-buffer-substring): Doc fixes.
11231
6283a7d3
LL
112322012-02-04 Lars Ljung <lars@matholka.se> (tiny change)
11233
11234 * eshell/esh-ext.el (eshell-windows-shell-file): Match "cmdproxy"
11235 anywhere in shell-file-name, not just at the beginning. (Bug#10523)
11236
e96e3013
LL
112372012-02-04 Leo Liu <sdl.web@gmail.com>
11238
11239 * emacs-lisp/smie.el: Fix dead link (Bug#10711).
11240
8ded50f2
GM
112412012-02-04 Glenn Morris <rgm@gnu.org>
11242
82ff1d13
GM
11243 * image.el (image-extension-data): Add obsolete alias.
11244
987a0a16
GM
11245 * isearch.el (isearch-update): Doc fix.
11246
ea32ef46
GM
11247 * facemenu.el (list-colors-display): Doc fix (minor rephrasing).
11248
8ded50f2
GM
11249 * ido.el (ido-find-file): Doc fix (ido-toggle-vc not on any key).
11250
eea14f31
GM
112512012-02-03 Glenn Morris <rgm@gnu.org>
11252
11253 * image.el (image-animated-p): Doc fix. Use image-animated-types.
11254 (image-animate-timeout): Doc fix.
11255
11256 * image-mode.el (image-animate-loop, image-toggle-animation): Doc fixes.
11257
12f381b7
GM
112582012-02-02 Glenn Morris <rgm@gnu.org>
11259
953cebf5
GM
11260 * server.el (server-auth-dir): Doc fix.
11261 (server-eval-at): Doc fix. Give an explicit error if !server-use-tcp.
11262
12f381b7
GM
11263 * subr.el (run-mode-hooks): Doc fix.
11264
953a8c3b
JL
112652012-02-02 Juri Linkov <juri@jurta.org>
11266
11267 * image-mode.el (image-toggle-display-image): Remove tautological
11268 `major-mode' from the `derived-mode-p' test.
11269
c5d3843c
KH
112702012-02-02 Kenichi Handa <handa@m17n.org>
11271
9f6e692e 11272 * composite.el (compose-region): Cancel previous change.
c5d3843c 11273
159462d4 112742012-02-02 Kenichi Handa <handa@m17n.org>
d2a51fd7
KH
11275
11276 * composite.el (compose-region, compose-string): Signal error for
11277 a null string component (Bug#6988).
11278
9f562668
CY
112792012-02-01 Chong Yidong <cyd@gnu.org>
11280
e2cef717
CY
11281 * view.el (view-buffer-other-window, view-buffer-other-frame):
11282 Handle special modes like view-buffer (Bug#10650).
11283 (view-buffer): Simplify.
11284
9f562668
CY
11285 * frame.el (set-frame-font): Tweak meaning of third argument.
11286
9f6e692e
JB
11287 * dynamic-setting.el (font-setting-change-default-font):
11288 Use set-frame-font (Bug#9982).
9f562668 11289
781acb9f
GM
112902012-02-01 Glenn Morris <rgm@gnu.org>
11291
6035be52
GM
11292 * progmodes/compile.el (compilation-internal-error-properties):
11293 Respect compilation-first-column in the "*compilation*" buffer.
11294
781acb9f
GM
11295 * emacs-lisp/easy-mmode.el (define-minor-mode):
11296 Relax :variable's test for a named function.
11297
abbceb00
AM
112982012-01-31 Alan Mackenzie <acm@muc.de>
11299
11300 * progmodes/cc-engine.el (c-guess-basic-syntax): CASE 5B.1: Fix an
11301 off by one error.
11302
fce3fdeb
CY
113032012-01-31 Chong Yidong <cyd@gnu.org>
11304
11305 * frame.el (set-frame-font): New arg ALL-FRAMES.
11306
11307 * menu-bar.el (menu-set-font): Use set-frame-font.
11308
11309 * faces.el (face-spec-reset-face): Don't apply unspecified
11310 attribute values to the default face.
11311
47893581
JB
113122012-01-31 Juanma Barranquero <lekktu@gmail.com>
11313
11314 * progmodes/cwarn.el (cwarn): Remove dead link.
11315 (cwarn-configuration, cwarn-verbose, cwarn-mode-text, cwarn-load-hook):
11316 Remove * from defcustom docstrings.
11317 (turn-on-cwarn-mode): Make obsolete.
11318 (c-at-toplevel-p): Remove compatibility code for Emacs 20.3 and older.
11319 (turn-on-cwarn-mode-if-enabled): Call `cwarn-mode'.
11320
e58e988a
GM
113212012-01-31 Glenn Morris <rgm@gnu.org>
11322
60dc2671 11323 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
6c9b47ae 11324 Fix :variable handling of mode a symbol not equal to modefun.
60dc2671 11325 Allow named functions to be used as the cdr of :variable.
e58e988a 11326
7a3f511d
GM
113272012-01-30 Glenn Morris <rgm@gnu.org>
11328
11329 * emacs-lisp/authors.el (authors-fixed-entries):
11330 Remove reference to deleted file rnewspost.el.
11331
cb882333
JB
113322012-01-29 Juanma Barranquero <lekktu@gmail.com>
11333
11334 * window.el (window-with-parameter): Remove unused variable `windows'.
11335 (window--side-check): Remove unused variable `code'.
11336 (window--resize-siblings): Remove unused variable `first'.
11337 (adjust-window-trailing-edge): Remove unused variable `failed'.
11338 (window-deletable-p, window--delete): Remove unused variable `buffer'.
11339 Use `let', not `let*'.
11340 (balance-windows-2): Remove unused variable `found'.
11341 (window--state-put-2): Remove unused variable `splits'.
11342 (window-state-put): Remove unused variable `selected'.
11343 (same-window-p): Use `string-match-p'.
11344 (display-buffer-assq-regexp): Remove unused variable `value'.
11345 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
11346 Mark argument ALIST as ignored.
11347 (pop-to-buffer): Remove unused variable `old-window'.
11348
907201af
EZ
113492012-01-29 Eli Zaretskii <eliz@gnu.org>
11350
11351 * jka-cmpr-hook.el (jka-compr-compression-info-list): Support .lz
11352 and .lzma compressed files.
11353
ea162670
CY
113542012-01-29 Chong Yidong <cyd@gnu.org>
11355
5b95ee8a
CY
11356 * frame.el (window-system-default-frame-alist): Doc fix.
11357
ea162670
CY
11358 * dynamic-setting.el (font-setting-change-default-font): Don't
11359 change the default face if SET-FONT argument is non-nil (Bug#9982).
11360
d6e6f4b1
SB
113612012-01-29 Samuel Bronson <naesten@gmail.com> (tiny change)
11362
11363 * custom.el (defcustom): Add doc link to Lisp manual (Bug#10635).
11364
0f29fa41 113652012-01-29 Syver Enstad <syver.enstad@cisco.com> (tiny change)
6b25e4e2
SE
11366
11367 * progmodes/gud.el (pdb): Give pdb full paths, to allow setting
11368 breakpoints in files outside current directory (Bug#6098).
11369
db174434
CY
113702012-01-29 Chong Yidong <cyd@gnu.org>
11371
6b25e4e2
SE
11372 * progmodes/python.el: Require ansi-color at top-level.
11373
6df6ae42
JB
11374 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-abbrev-table):
11375 Define and use in Emacs Lisp mode (Bug#9360).
db174434
CY
11376 (lisp-mode-abbrev-table): Add doc.
11377 (lisp-mode-variables): Don't set local-abbrev-table.
11378 (lisp-interaction-mode): Use emacs-lisp-mode-abbrev-table.
11379
e70ee681
RW
113802012-01-28 Roland Winkler <winkler@gnu.org>
11381
11382 * textmodes/bibtex.el (bibtex-vec-incr): Fix docstring.
11383
ace88aa2
RW
113842012-01-28 Roland Winkler <winkler@gnu.org>
11385
11386 * textmodes/bibtex.el (bibtex-entry-alist): New function.
11387 (bibtex-set-dialect): Use it. Either set global values of
11388 dialect-dependent variables or bind these variables buffer-locally
11389 (Bug#10254).
11390 (bibtex-mode): Call bibtex-set-dialect via
11391 hack-local-variables-hook.
eb864a71
LM
11392 (bibtex-dialect): Update docstring.
11393 Add safe-local-variable predicate.
ace88aa2
RW
11394 (bibtex-entry-alist, bibtex-field-alist): Initialize via
11395 bibtex-set-dialect.
11396 (bibtex-mode-map): Define menu for each dialect.
11397 (bibtex-entry): Fix docstring.
11398
93376c5b
CY
113992012-01-28 Chong Yidong <cyd@gnu.org>
11400
11401 * eshell/esh-arg.el (eshell-quote-argument): New function.
11402
11403 * eshell/esh-ext.el (eshell-invoke-batch-file):
11404 * eshell/em-unix.el (eshell/cat, eshell/du): Use it to quote the
11405 first arg to eshell-parse-command (Bug#10523).
11406
4372494f
DA
114072012-01-28 Drew Adams <drew.adams@oracle.com>
11408
11409 * net/ange-ftp.el (ange-ftp-canonize-filename): Check, that
11410 `default-directory' is non-nil.
11411
4d4ec1f8
EZ
114122012-01-28 Eli Zaretskii <eliz@gnu.org>
11413
11414 * mail/emacsbug.el (report-emacs-bug): Fill the potentially long
11415 line that displays system-configuration-options. (Bug#9924)
11416
7c188927
DA
114172012-01-28 Drew Adams <drew.adams@oracle.com>
11418
11419 * descr-text.el (describe-char): Show information about POS, in
11420 addition to information about the character at POS. Improve and
11421 update the doc string. Change "code point" to "code point in
11422 charset", to avoid confusion with the character's Unicode code
11423 point shown above that. (Bug#10129)
11424
e0da685a
EZ
114252012-01-28 Eli Zaretskii <eliz@gnu.org>
11426
11427 * descr-text.el (describe-char): Show the raw character, not only
11428 its display form at POS. Suggested by Kenichi Handa <handa@m17n.org>.
11429 See http://lists.gnu.org/archive/html/emacs-devel/2012-01/msg00760.html
11430 for the reasons.
11431
70550acf
PH
114322012-01-28 Phil Hagelberg <phil@hagelb.org>
11433
eb864a71
LM
11434 * emacs-lisp/package.el (package-install):
11435 Run package-refresh-contents if there is no archive yet (Bug#9798).
70550acf 11436
0ce8e868
CY
114372012-01-28 Chong Yidong <cyd@gnu.org>
11438
cb882333
JB
11439 * emacs-lisp/package.el (package-maybe-load-descriptor):
11440 New function, split from package-maybe-load-descriptor.
0ce8e868
CY
11441 (package-maybe-load-descriptor): Use it.
11442 (package-download-transaction): Fully load required packages
11443 inside the loop, so that `require' calls work (Bug#10593).
11444 (package-install): No need to call package-initialize now.
11445
2e7f3bea
CY
114462012-01-28 Chong Yidong <cyd@gnu.org>
11447
6e9bad14
CY
11448 * simple.el (deactivate-mark): Doc fix (Bug#8614).
11449
f823b8ca
CY
11450 * tooltip.el (tooltip-mode): Doc fix.
11451 (tooltip-use-echo-area): Mark as obsolete (Bug#6595).
11452
2680c309
CY
11453 * frame.el (set-cursor-color): Doc fix (Bug#352).
11454
d7a9e63b
CY
11455 * mail/rmail.el (rmail-start-mail): Add send-action again (Bug#10625).
11456 (rmail-mail-return): Switch to NEWBUF only if it is non-nil.
11457
2e7f3bea
CY
11458 * cus-edit.el (custom-buffer-create-internal): Fix search button
11459 action (Bug#10542).
2ae01800 11460 (customize-unsaved, customize-saved): Doc fix (Bug#10541).
2e7f3bea 11461
fc4f7a23
EW
114622012-01-27 Eduard Wiebe <usenet@pusto.de>
11463
11464 * dired.el (dired-mark-files-regexp):
11465 Include any subdirectory components. (Bug#10445)
11466
7dd37071
ML
114672012-01-27 Mike Lamb <mrlamb@gmail.com> (tiny change)
11468
11469 * pcmpl-unix.el (pcmpl-ssh-known-hosts):
11470 Handle [host]:port syntax. (Bug#10533)
11471
a268160b
AH
114722012-01-27 Alex Harsanyi <harsanyi@mac.com>
11473
11474 * xml.el (xml-parse-tag): Fix parsing of comments (Bug#10405).
11475
e43273ef
GM
114762012-01-26 Glenn Morris <rgm@gnu.org>
11477
11478 * dired-x.el (dired-bind-jump): Use ctl-x-map and ctl-x-4-map.
11479 * term.el (term-raw-escape-map): Use Control-X-prefix.
11480 * vc/vc-hooks.el (vc-prefix-map): Use ctl-x-map. (Bug#10566)
11481
1edf595d
MR
114822012-01-25 Martin Rudalics <rudalics@gmx.at>
11483
11484 * window.el (window-state-get, window--state-get-1): Don't deal
11485 with fixed-sizeness of windows. Simplify code.
11486
fa8eafef
JC
114872012-01-25 Jérémy Compostella <jeremy.compostella@gmail.com>
11488
6df6ae42
JB
11489 * window.el (window--state-get-1, window--state-put-2):
11490 Don't save and restore the mark.
fa8eafef 11491
0b21c100
CY
114922012-01-25 Chong Yidong <cyd@gnu.org>
11493
11494 * custom.el (custom-variable-p): Doc fix.
11495
5ae1a6c8
GM
114962012-01-25 Glenn Morris <rgm@gnu.org>
11497
40047858
GM
11498 * dired.el (dired-goto-file): Handle some of the more common
11499 characters that `ls -b' escapes. (Bug#10596)
11500
5ddce96c
GM
11501 * progmodes/compile.el (compilation-next-error-function):
11502 Respect compilation-first-column in the "*compilation*" buffer.
11503 * progmodes/grep.el (grep-first-column): New variable. (Bug#10594)
11504
5ae1a6c8
GM
11505 * vc/vc.el (vc-modify-change-comment): Scoping fix. (Bug#10513)
11506
b559f1a9
GM
115072012-01-24 Glenn Morris <rgm@gnu.org>
11508
11509 * pcmpl-gnu.el (pcomplete/tar): Handle " - ". (Bug#10457)
11510
6725d21a
JD
115112012-01-24 Julien Danjou <julien@danjou.info>
11512
11513 * color.el (color-rgb-to-hsl): Fix value computing.
11514 (color-hue-to-rgb): New function.
11515 (color-hsl-to-rgb): New function.
11516 (color-clamp, color-saturate-hsl, color-saturate-name)
11517 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
11518 (color-lighten-name, color-darken-hsl, color-darken-name): New function.
11519
70df4bbe
GM
115202012-01-24 Glenn Morris <rgm@gnu.org>
11521
11522 * vc/vc-rcs.el (vc-rcs-create-tag):
11523 * vc/vc-sccs.el (vc-sccs-create-tag):
11524 Fix argument spec to be what vc-create-tag expects. (Bug#10515)
11525
802a2ae2
ML
115262012-01-23 Mike Lamb <mrlamb@gmail.com> (tiny change)
11527
11528 * eshell/esh-util.el (eshell-read-hosts-file):
11529 Skip comment lines. (Bug#10549)
11530
d7128bb1
ML
11531 * eshell/em-unix.el (pcomplete/ssh): Remove. (Bug#10548)
11532
d1a5c3b4
JB
115332012-01-23 Juanma Barranquero <lekktu@gmail.com>
11534
2724d9c7
JB
11535 * subr.el (display-delayed-warnings): Doc fix.
11536 (collapse-delayed-warnings): New function to collapse identical
11537 adjacent warnings.
11538 (delayed-warnings-hook): Add it.
d1a5c3b4 11539
a5509865
MA
115402012-01-22 Michael Albinus <michael.albinus@gmx.de>
11541
11542 * net/tramp.el (tramp-action-login): Set connection property "login-as".
11543
a5509865
MA
11544 * net/tramp-sh.el (tramp-methods): Add user spec to "pscp" and "psftp".
11545 (tramp-default-user-alist): Don't add "pscp".
11546 (tramp-do-copy-or-rename-file-out-of-band): Use connection
11547 property "login-as", if set. (Bug#10530)
11548
cc6d5805
MA
115492012-01-21 Michael Albinus <michael.albinus@gmx.de>
11550
11551 * net/tramp-sh.el (tramp-default-user-alist): Don't add "plink",
11552 "plink1" and "psftp". (Bug#10530)
11553
115542012-01-21 Kenichi Handa <handa@m17n.org>
71784361
KH
11555
11556 * international/mule-cmds.el (prefer-coding-system): Show a
11557 warning message if the default value of file-name-coding-system
11558 was not changed.
11559
f0960428
JC
115602012-01-21 Jérémy Compostella <jeremy.compostella@gmail.com>
11561
cb882333
JB
11562 * windmove.el (windmove-reference-loc):
11563 Fix windmove-reference-loc miscalculation.
f0960428 11564
dd6f2a63
JB
115652012-01-21 Jay Belanger <jay.p.belanger@gmail.com>
11566
11567 * calc/calc-units.el (math-put-default-units): Don't use "1" as a
11568 default unit.
11569
7b447e9b
GM
115702012-01-21 Glenn Morris <rgm@gnu.org>
11571
117a9ea1
GM
11572 * international/mule.el (auto-coding-alist): Add .tbz.
11573
7b447e9b
GM
11574 * files.el (local-enable-local-variables): Doc fix.
11575 (inhibit-local-variables-regexps): Rename from
11576 inhibit-first-line-modes-regexps. Keep old name as obsolete alias.
11577 Doc fix. Add some extensions from auto-coding-alist.
11578 (inhibit-local-variables-suffixes):
11579 Rename from inhibit-first-line-modes-suffixes. Doc fix.
11580 (inhibit-local-variables-p):
11581 New function, extracted from set-auto-mode-1.
11582 (set-auto-mode): Doc fix. Respect inhibit-local-variables-regexps.
11583 (set-auto-mode-1): Doc fix. Use inhibit-local-variables-p.
11584 (hack-local-variables): Doc fix. Make the mode-only case
11585 respect enable-local-variables and friends.
11586 Respect inhibit-local-variables-regexps for file-locals, but
11587 not for directory-locals.
11588 (set-visited-file-name):
11589 Take account of inhibit-local-variables-regexps.
11590 Whether it applies may change as the file name is changed.
11591 * jka-cmpr-hook.el (jka-compr-install):
11592 * jka-compr.el (jka-compr-uninstall):
11593 Update for inhibit-first-line-modes-suffixes name change.
11594
dd6e3cdd
MR
115952012-01-20 Martin Rudalics <rudalics@gmx.at>
11596
11597 * help-macro.el (make-help-screen): Temporarily restore original
11598 binding for minor-mode-map-alist (Bug#10454).
11599
0d0deb38
JD
116002012-01-19 Julien Danjou <julien@danjou.info>
11601
11602 * color.el (color-name-to-rgb): Use the white color to find the max
11603 color component value and return correctly computed values.
11604 (color-name-to-rgb): Add missing float conversion for max value.
11605
34a02f46
MR
116062012-01-19 Martin Rudalics <rudalics@gmx.at>
11607
11608 * window.el (window--state-get-1, window-state-get): Do not use
eb864a71
LM
11609 special state value for window-persistent-parameters.
11610 Rename argument IGNORE to WRITABLE. Rewrite doc-string.
34a02f46
MR
11611 (window--state-put-2): Reset all window parameters to nil before
11612 assigning values of persistent parameters.
11613
606c44c4
AM
116142012-01-18 Alan Mackenzie <acm@muc.de>
11615
11616 Eliminate sluggishness and hangs in fontification of "semicolon
11617 deserts".
11618
cb882333
JB
11619 * progmodes/cc-engine.el (c-state-nonlit-pos-interval):
11620 Change value 10000 -> 3000.
606c44c4
AM
11621 (c-state-safe-place): Reformulate so it doesn't stack up an
11622 infinite number of wrong entries in c-state-nonlit-pos-cache.
11623 (c-determine-limit-get-base, c-determine-limit): New functions to
11624 determine backward search limits disregarding literals.
11625 (c-find-decl-spots): Amend commenting.
11626 (c-cheap-inside-bracelist-p): New function which detects "={".
11627
11628 * progmodes/cc-fonts.el
11629 (c-make-font-lock-BO-decl-search-function): Give a limit to a
11630 backward search.
11631 (c-font-lock-declarations): Fix an occurrence of point being
11632 undefined. Check additionally for point being in a bracelist or
11633 near a macro invocation without a semicolon so as to avoid a
11634 fruitless time consuming search for a declarator. Give a more
11635 precise search limit for declarators using the new
11636 c-determine-limit.
11637
f3860cea
GM
116382012-01-18 Glenn Morris <rgm@gnu.org>
11639
11640 * files.el (auto-mode-alist, inhibit-first-line-modes-regexps)
11641 (set-auto-mode): Doc fixes.
11642
1db03b16
GM
116432012-01-17 Glenn Morris <rgm@gnu.org>
11644
0e6038be
GM
11645 * isearch.el (search-nonincremental-instead): Fix doc typo.
11646
1db03b16
GM
11647 * dired.el (dired-insert-directory): Handle newlines in directory name.
11648 (dired-build-subdir-alist): Unescape newlines in directory name.
11649
4cb0aa75
MA
116502012-01-17 Michael Albinus <michael.albinus@gmx.de>
11651
11652 * net/tramp.el (tramp-local-end-of-line): New defcustom.
11653 (tramp-action-login, tramp-action-yesno, tramp-action-yn)
11654 (tramp-action-terminal): Use it. (Bug#10530)
11655
1d00653d
SM
116562012-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
11657
11658 * minibuffer.el (completion--replace): Strip properties (bug#10062).
11659
6a6ee00d
MR
116602012-01-16 Martin Rudalics <rudalics@gmx.at>
11661
11662 * window.el (window-state-ignored-parameters): Remove variable.
11663 (window--state-get-1): Rename argument MARKERS to IGNORE.
11664 Handle persistent window parameters. Make copy of clone-of
11665 parameter only if requested. (Bug#10348)
11666 (window--state-put-2): Install a window parameter only if it has
11667 a non-nil value or an existing parameter shall be overwritten.
11668
97912def
MA
116692012-01-15 Michael Albinus <michael.albinus@gmx.de>
11670
11671 * net/tramp-sh.el (tramp-remote-path): Set tramp-autoload cookie.
11672
688070a5
EZ
116732012-01-14 Eli Zaretskii <eliz@gnu.org>
11674
11675 * info.el (Info-toc-build): If the Info file has no "Up" pointer,
11676 don't pass the (nil) value of `upnode' to string-match.
11677
301afadc
CY
116782012-01-14 Chong Yidong <cyd@gnu.org>
11679
11680 * startup.el (command-line): Fix X resource class for cursorColor.
04877ddb 11681 Fix values recognized by the cursorBlink resource.
301afadc 11682
9e5788aa
PE
116832012-01-14 Paul Eggert <eggert@cs.ucla.edu>
11684
11685 * epg.el (epg--make-temp-file): Avoid permission race condition
11686 when running on old Emacs versions (bug#10403).
11687
3cdb7f5a
GM
116882012-01-14 Glenn Morris <rgm@gnu.org>
11689
11690 * dired.el (dired-get-filename): Fix 'verbatim case of previous change.
11691
8c82b1b4
AM
116922012-01-13 Alan Mackenzie <acm@muc.de>
11693
11694 Fix filling for when filladapt mode is enabled.
11695
11696 * progmodes/cc-cmds.el (c-fill-paragraph): In the invocation of
11697 c-mask-paragraph, pass in `fill-paragraph' rather than
11698 `fill-region-as-paragraph'. (This is a reversion of a previous
11699 change.)
eb864a71
LM
11700 * progmodes/cc-mode.el (c-basic-common-init):
11701 Make fill-paragraph-handle-comment buffer local and set it to nil.
8c82b1b4 11702
e517eda4
GM
117032012-01-13 Glenn Morris <rgm@gnu.org>
11704
1498536e
GM
11705 * dired.el (dired-switches-escape-p): New function.
11706 (dired-insert-directory): Use dired-switches-escape-p.
11707 (dired-get-filename): Undo "\ " quoting if needed. (Bug#10469)
11708
e517eda4
GM
11709 * find-dired.el (find-ls-option): Doc fix. (Bug#10262)
11710
328f984d
GM
117112012-01-12 Glenn Morris <rgm@gnu.org>
11712
11713 * mail/sendmail.el (mail-mode): Update paragraph-separate for
11714 changes in adaptive-fill-regexp. (Bug#10276)
11715
2cc769a8
AM
117162012-01-11 Alan Mackenzie <acm@muc.de>
11717
11718 Fix Emacs bug #10463 - put `widen's around the critical spots.
11719
1d00653d 11720 * progmodes/cc-engine.el (c-in-literal, c-literal-limits): Put a
2cc769a8
AM
11721 widen around each invocation of c-state-pp-to-literal. Remove an
11722 unused let variable.
11723
e52c37fa
GM
117242012-01-11 Glenn Morris <rgm@gnu.org>
11725
11726 * dired-aux.el (dired-do-shell-command): Fix */? logic. (Bug#6561)
09044622 11727 Doc fix.
e52c37fa 11728
96f8741e
CY
117292012-01-10 Chong Yidong <cyd@gnu.org>
11730
1d00653d
SM
11731 * net/network-stream.el (network-stream-open-starttls):
11732 Avoid emitting a confusing error message when the server gives a bad
96f8741e
CY
11733 response to the capability command.
11734
b09a806e
GM
117352012-01-10 Glenn Morris <rgm@gnu.org>
11736
11737 * mail/unrmail.el (unrmail): Tweak previous change.
11738
7655cb66
CY
117392012-01-09 Chong Yidong <cyd@gnu.org>
11740
11741 * custom.el (custom-safe-themes): Use SHA-256 for hashing.
11742
9d5a8f0b
AM
117432012-01-08 Alan Mackenzie <acm@muc.de>
11744
11745 Optimise font locking in long enum definitions.
11746
11747 * progmodes/cc-fonts.el (c-font-lock-declarations): Add an extra
11748 arm to a cond form to handle enums.
11749 * progmodes/cc-langs.el (c-enums-contain-decls): New lang variable.
11750 * progmodes/cc-mode.el (c-font-lock-fontify-region): Correct a typo.
11751
9a0115ab 117522012-01-07 Paul Eggert <eggert@cs.ucla.edu>
6bb72cbd
PE
11753
11754 * files.el (move-file-to-trash): Preserve default file modes on error.
a0562b3d 11755 (Bug#10401)
6bb72cbd 11756
f186bb95
LMI
117572012-01-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
11758
29232a68
LMI
11759 * faces.el (set-face-attribute): Clarify the meaning of the nil
11760 frame (bug#10294).
11761
4e5d086d
LMI
11762 * subr.el (with-selected-frame): Mention that the selected frame
11763 is restored (bug#9980).
11764
8e66aebe
LMI
11765 * ibuffer.el (ibuffer-mode): List the bindings in the corrent map
11766 (bug#9759).
11767
cd394be1 11768 * mail/smtpmail.el (password-cache-add): Remove unused declaration.
f186bb95
LMI
11769 (password-read): Don't autoload unused function.
11770
adf4e762
JB
117712012-01-07 Juanma Barranquero <lekktu@gmail.com>
11772
11773 * progmodes/which-func.el (which-func-mode): Turn into a
11774 non-interactive function and mark as obsolete (bug#10428).
11775
89bd9ccd
CY
117762012-01-06 Chong Yidong <cyd@gnu.org>
11777
11778 * files.el (hack-dir-local-variables-non-file-buffer): Add doc.
11779 (hack-one-local-variable-eval-safep): Allow 0 arg for minor mode
11780 functions, along with 1 and -1.
11781
4afee9d5
EZ
117822012-01-06 Eli Zaretskii <eliz@gnu.org>
11783
11784 * time.el (display-time-load-average)
11785 (display-time-default-load-average): Doc fixes. See the thread
11786 starting at
11787 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-01/msg00059.html
11788 for the details.
11789
536aea70
GM
117902012-01-06 Glenn Morris <rgm@gnu.org>
11791
665ae865
GM
11792 * mail/unrmail.el (unrmail): Give an explicit error if the input file
11793 has no messages. (Bug#10377)
11794
c869783d
GM
11795 * info.el (Info-mode-map): Bind e to end-of-buffer, rather
11796 than Info-edit. (Bug#10385)
11797
2bb4227e
GM
11798 * time.el (display-time-load-average, display-time-next-load-average):
11799 Doc fixes.
11800
7d5944b9
GM
11801 * emacs-lisp/bytecomp.el (byte-compile-file): Do not propagate a file
11802 local setting of buffer-read-only to the input buffer. (Bug#10419)
11803
536aea70
GM
11804 * calendar/calendar.el (calendar-mode):
11805 Locally set scroll-margin to 0. (Bug#10379)
11806
7dccca16
UM
118072012-01-06 Ulrich Mueller <ulm@gentoo.org>
11808
11809 * play/doctor.el (doctor-death): Escape "," characters. (Bug#10370)
11810
afbb7930
GM
118112012-01-05 Glenn Morris <rgm@gnu.org>
11812
11813 * eshell/em-unix.el (diff-no-select): Autoload it.
11814 (eshell/diff): Use diff-no-select. (Bug#10420)
11815
04482335
CY
118162012-01-05 Chong Yidong <cyd@gnu.org>
11817
7baca3bc
CY
11818 * shell.el (shell-dynamic-complete-functions): Revert last change.
11819 (shell-command-completion-function): New function.
11820 (shell-completion-vars): Use it to implement
11821 shell-completion-execonly (Bug#10417).
11822
04482335
CY
11823 * custom.el (enable-theme): Don't set custom-safe-themes.
11824
1d00653d
SM
11825 * cus-theme.el (custom-theme-merge-theme):
11826 Ignore custom-enabled-themes and custom-safe-themes.
04482335 11827
bb5aa5d6
MM
118282012-01-05 Michael R. Mauger <mmaug@yahoo.com>
11829
11830 * progmodes/sql.el (sql-login-hook): Add hook to respond to the
11831 first prompt in `sql-interacive-mode'.
11832 (sql-mode-oracle-font-lock-keywords): Add CONNECT_BY_* builtin
04482335 11833 keywords.
6df6ae42 11834 (sql-mode-mysql-font-lock-keywords): Add ELSEIF keyword.
bb5aa5d6
MM
11835 (sql-product-interactive): Bug fix: Set `sql-buffer' in
11836 context of original buffer. Invoke `sql-login-hook'.
11837
a7183d7c
EZ
118382012-01-04 Eli Zaretskii <eliz@gnu.org>
11839
11840 * mail/rmail.el (rmail-font-lock-keywords): Accept non-ASCII
11841 letters in cite-prefix.
11842
a1eacd1e
LMI
118432012-01-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
11844
11845 * mail/smtpmail.el (smtpmail-stream-type): Mention the `ssl' value.
11846
787cdb34
CY
118472012-01-03 Chong Yidong <cyd@gnu.org>
11848
1d00653d
SM
11849 * shell.el (shell-dynamic-complete-functions):
11850 Put pcomplete-completions-at-point, so as to try
787cdb34
CY
11851 comint-filename-completion first (Bug#10417).
11852
30710442
RS
118532012-01-02 Richard Stallman <rms@gnu.org>
11854
11855 * battery.el (battery-status-function):
11856 Detect when to use battery-yeeloong-sysfs.
11857 (battery-echo-area-format): Add string for Yeeloong.
11858 (battery-linux-proc-apm, battery-linux-proc-acpi): Doc fixes.
11859 (battery-yeeloong-sysfs): New function.
11860
f75bfc33
CY
118612012-01-02 Chong Yidong <cyd@gnu.org>
11862
11863 * dirtrack.el (dirtrack-list): Eliminate unused third element.
11864 (dirtrack): Merge code for handling relative filenames in prompt
11865 from shell-dir-cookie-watcher.
11866 (dirtrack-debug-message): New arg to avoid excess format calls.
11867
11868 * shell.el (shell-dir-cookie-re): Variable deleted.
11869 (shell-dir-cookie-watcher): Function deleted.
11870 (shell-mode): Don't use shell-dir-cookie-re, since it is redundant
11871 with dirtrack-mode.
11872
651e947e
EZ
118732012-01-01 Eli Zaretskii <eliz@gnu.org>
11874
1d00653d
SM
11875 * term/w32-win.el (dynamic-library-alist) <gnutls>:
11876 Load libgnutls-28.dll, from GnuTLS version 3.x, in preference to
651e947e
EZ
11877 libgnutls-26.dll.
11878
94d4c7dc
AS
118792011-12-31 Andreas Schwab <schwab@linux-m68k.org>
11880
11881 * emacs-lisp/bytecomp.el (byte-compile-file): Fix indentation.
11882
8d43f3cd
EZ
118832011-12-31 Eli Zaretskii <eliz@gnu.org>
11884
11885 * mail/rmail.el (rmail-show-message-1): Decode any RFC2047 encoded
11886 headers of non-MIME messages, when rmail-enable-mime is non-nil.
11887
98c8795a
MA
118882011-12-29 Michael Albinus <michael.albinus@gmx.de>
11889
11890 * net/tramp-sh.el (tramp-find-shell): Set "remote-shell" property
11891 also for alternative shells.
11892 (tramp-open-connection-setup-interactive-shell): Check, whether
11893 the shell is a busybox.
11894 (tramp-send-command): Don't suppress multiple prompts for
11895 busyboxes, it hurts.
11896
51281b32
CY
118972011-12-28 Chong Yidong <cyd@gnu.org>
11898
11899 * progmodes/gdb-mi.el (gdb-get-source-file-list)
11900 (gdb-get-source-file): Move mode line update to
11901 gdb-get-source-file (Bug#10087).
11902
2170cb53
CY
119032011-12-25 Chong Yidong <cyd@gnu.org>
11904
11905 * progmodes/gud.el (gud-gdb-fetch-lines-filter): Just use
11906 gud-gdb-marker-filter without taking it as an argument.
11907 (gud-gdb-run-command-fetch-lines): Caller changed.
11908 (gud-gdb-completion-function): New variable.
11909 (gud-gdb-completion-at-point): Use it.
11910 (gud-gdb-completions-1): Split from gud-gdb-completions.
11911
11912 * progmodes/gdb-mi.el (gdb-input): Accept command and handler
11913 function as separate arguments.
11914 (gdb-init-1, gdb-non-stop-handler, gdb-check-target-async)
11915 (gdb-tooltip-print-1, gud-watch, gdb-speedbar-update)
11916 (gdb-var-list-children, gdb-var-set-format, gdb-var-delete-1)
11917 (gdb-var-delete-children, gdb-edit-value, gdb-var-update)
11918 (gdb-stopped, def-gdb-auto-update-trigger)
11919 (gdb-place-breakpoints, gdb-select-thread, gdb-select-frame)
b81d40f0
JB
11920 (gdb-get-changed-registers, gdb-get-main-selected-frame):
11921 Callers changed.
2170cb53
CY
11922 (gud-gdbmi-completions): New function.
11923 (gdb): Use it for generating the completion table.
11924
be8b11bb
AM
119252011-12-24 Alan Mackenzie <acm@muc.de>
11926
11927 Introduce a mechanism to widen the region used in context font
1d00653d 11928 locking. Use this to protect declarations from losing their contexts.
be8b11bb 11929
1d00653d
SM
11930 * progmodes/cc-langs.el (c-before-font-lock-functions):
11931 Replace c-set-fl-decl-start with c-change-set-fl-decl-start (Renaming).
b81d40f0 11932 (c-before-context-fontification-functions): New defvar, a list of
be8b11bb
AM
11933 functions to be run just before context (etc.) font locking.
11934
11935 * progmodes/cc-mode.el (c-extend-font-lock-region-for-macros):
b81d40f0 11936 New, functionality extracted from
be8b11bb 11937 c-neutralize-syntax-in-and-mark-CPP.
b81d40f0 11938 (c-in-after-change-fontification): New variable.
be8b11bb
AM
11939 (c-after-change): Set c-in-after-change-fontification.
11940 (c-set-fl-decl-start): Rejig its interface, so it can be called
11941 from both after-change and context fontifying.
b81d40f0
JB
11942 (c-change-set-fl-decl-start, c-context-set-fl-decl-start):
11943 New functions.
11944 (c-standard-font-lock-fontify-region-function): New variable.
11945 (c-font-lock-fontify-region): New function.
be8b11bb 11946
341cf6ac
JL
119472011-12-24 Juri Linkov <juri@jurta.org>
11948
11949 * window.el (window--state-get-1): Set `FORCE' arg of `mark' to t.
11950 (Bug#10348)
11951
bffcee0a
MA
119522011-12-23 Michael Albinus <michael.albinus@gmx.de>
11953
11954 * net/ange-ftp.el (ange-ftp-copy-file-internal): Check for
11955 existence of source file. (Bug#10325)
11956
cb5e207c
AM
119572011-12-23 Alan Mackenzie <acm@muc.de>
11958
11959 Fix unstable fontification inside templates.
11960
b81d40f0
JB
11961 * progmodes/cc-langs.el (c-before-font-lock-functions):
11962 Newly created from the singular version. The (c c++ objc) entry now
cb5e207c
AM
11963 additionally has c-set-fl-decl-start. The other languages (apart
11964 from AWK) have that as a single entry.
11965
b81d40f0
JB
11966 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
11967 The functionality for "local" declarations has been extracted to
cb5e207c
AM
11968 c-set-fl-decl-start.
11969
b81d40f0
JB
11970 * progmodes/cc-mode.el (c-common-init, c-after-change):
11971 Changes due to pluralisation of c-before-font-lock-functions.
cb5e207c
AM
11972 (c-set-fl-decl-start): New function, extracted from
11973 c-font-lock-enclosing-decls and enhanced.
11974
60ff536c
JB
119752011-12-23 Juanma Barranquero <lekktu@gmail.com>
11976
11977 * desktop.el (desktop-internal-v2s): Fix typos in docstring (bug#10353).
11978
1c4757d6
JL
119792011-12-22 Juri Linkov <juri@jurta.org>
11980
11981 * progmodes/grep.el (rgrep): Fix docstring. (Bug#10185)
11982
d031f2c7
CY
119832011-12-22 Chong Yidong <cyd@gnu.org>
11984
11985 * vc/vc-hooks.el (vc-keep-workfiles): Doc fix.
11986
bace743a
DA
119872011-12-21 Drew Adams <drew.adams@oracle.com>
11988
11989 * files.el (file-remote-p): Fix docstring. (Bug#10319)
11990
728a1f2b
JC
119912011-12-21 Jérémy Compostella <jeremy.compostella@gmail.com>
11992
11993 * battery.el (battery-linux-sysfs): Add missing parameters from acpi.
11994
0d373f73
TZ
119952011-12-21 Teodor Zlatanov <tzz@lifelogs.com>
11996
fec0aaa4
TZ
11997 * progmodes/cfengine.el: Add Version. Improve CFEngine 3.x syntax
11998 highlighting and support. Fix up comments for capitalization.
11999 (cfengine-mode-debug): New var.
12000 (cfengine3-mode): Change the modeline indicator to "CFE3".
12001 (cfengine3-font-lock-keywords): Improve defun highlighting.
12002 (cfengine2-actions): Rename from `cfengine-actions'.
12003 (cfengine2-font-lock-keywords): Rename from
12004 `cfengine-font-lock-keywords'.
12005 (cfengine2-imenu-expression): Rename from
12006 `cfengine-imenu-expression'.
12007 (cfengine2-outline-level): Rename from `cfengine-outline-level'.
12008 (cfengine2-beginning-of-defun): Rename from
12009 `cfengine-beginning-of-defun'.
12010 (cfengine2-end-of-defun): Rename from `cfengine-end-of-defun'.
12011 (cfengine2-indent-line): Rename from `cfengine-indent-line'.
12012 (cfengine2-mode): Rename from `cfengine-mode'. Change the
12013 modeline indicator to "CFE2".
12014 (cfengine-mode): Defalias to `cfengine-auto-mode'.
12015 (cfengine-mode-abbrevs): Mark obsolete.
0d373f73 12016
bc86f573
CY
120172011-12-21 Chong Yidong <cyd@gnu.org>
12018
12019 * vc/vc-bzr.el (vc-bzr-rename-file): Don't pass ~ to Bzr in
12020 filename argument.
12021
d45ba96b
MR
120222011-12-20 Martin Rudalics <rudalics@gmx.at>
12023
12024 * window.el (window-normalize-buffer-to-display): Remove.
12025 (display-buffer): Handle buffer-or-name argument as in Emacs 23.
12026
a6198c90
CY
120272011-12-19 Chong Yidong <cyd@gnu.org>
12028
12029 * vc/vc-dir.el (vc-dir-parent-marked-p, vc-dir-children-marked-p):
12030 Don't signal an error in a predicate function; return non-nil.
12031 (vc-dir-mark-file): Move the error here.
12032 (vc-dir-mark-unmark): If acting on the region, keep going if one
12033 of the entries cannot be marked/unmarked.
12034 (vc-dir-mark-all-files): If current entry is a directory, mark
12035 only child files, as documented.
12036
34c5fb55
VB
120372011-12-19 Vincent Belaïche <vincentb1@users.sourceforge.net>
12038
12039 * ses.el: Ooops... undo changes of 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net, as trunk
12040 branch is feature frozen, and 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net was a feature
12041 addition.
12042
c803b2b7
JD
120432011-12-18 Jan Djärv <jan.h.d@swipnet.se>
12044
12045 * term/ns-win.el (ns-get-selection-internal)
12046 (ns-store-selection-internal): Declare.
1154d12e
JB
12047 (ns-store-cut-buffer-internal, ns-get-cut-buffer-internal):
12048 Declare as obsolete.
12049 (ns-get-pasteboard, ns-paste-secondary):
12050 Use ns-get-selection-internal.
41e9b956 12051 (ns-set-pasteboard, ns-copy-including-secondary):
1154d12e 12052 Use ns-store-selection-internal.
c803b2b7 12053
9cff91f8 120542011-12-17 Chong Yidong <cyd@gnu.org>
99a289d9
CY
12055
12056 * vc/vc.el (vc-next-action): Doc fix; remove CVS-isms.
9cff91f8 12057 (vc-deduce-fileset): Doc fix.
99a289d9 12058
f16c898a
AS
120592011-12-16 Andreas Schwab <schwab@linux-m68k.org>
12060
12061 * calc/calc-misc.el (calc-help): Avoid wrapping help message.
12062
763237c4
SS
120632011-12-13 Sam Steingold <sds@gnu.org>
12064
12065 * man.el (Man-getpage-in-background): When running under a
12066 window-system, ignore $MANWIDTH and $COLUMNS.
12067
5fc1c122
KH
120682011-12-15 Kenichi Handa <handa@m17n.org>
12069
12070 * language/ethio-util.el: Change coding tag to utf-8-emacs.
12071 (setup-ethiopic-environment-internal): Comment out key-binding for
12072 ethio-toggle-punctuation.
12073
13d49cbb
AM
120742011-12-13 Alan Mackenzie <acm@muc.de>
12075
898169a2
AM
12076 Add the switch statement to AWK Mode.
12077
7a71b18d 12078 * progmodes/cc-awk.el (awk-font-lock-keywords): Add "switch", "case",
898169a2
AM
12079 "default" to the keywords regexp.
12080
7a71b18d 12081 * progmodes/cc-langs.el (c-label-kwds): Let AWK take the same
898169a2 12082 expression as the rest.
1d00653d
SM
12083 (c-nonlabel-token-key): Allow string literals for AWK.
12084 Refactor for the other modes.
898169a2 12085
13d49cbb 12086 Large brace-block initialisation makes CC Mode slow: Fix.
1d00653d 12087 Tidy up and accelerate c-in-literal, etc. by using the c-parse-state
13d49cbb
AM
12088 routines. Limit backward searching in c-font-lock-enclosing.decl.
12089
12090 * progmodes/cc-engine.el (c-state-pp-to-literal): Return the
12091 pp-state and literal type in addition to the limits.
1d00653d 12092 (c-state-safe-place): New defun, extracted from c-state-literal-at.
13d49cbb 12093 (c-state-literal-at): Use the above new defun.
1d00653d
SM
12094 (c-slow-in-literal, c-fast-in-literal): Remove.
12095 (c-in-literal, c-literal-limits): Amend to use c-state-pp-to-literal.
13d49cbb
AM
12096
12097 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Check for
12098 being in a literal. Add a limit for backward searching.
12099
12100 * progmodes/cc-mode.el (awk-mode): Don't alias c-in-literal to
12101 c-slow-in-literal.
12102
15e0efc7
SM
121032011-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
12104
12105 * progmodes/pascal.el: Declare `ind' as dyn-bound (bug#10264).
12106
454592a6
MR
121072011-12-13 Martin Rudalics <rudalics@gmx.at>
12108
12109 * window.el (delete-other-windows): Use correct frame in call to
12110 window-with-parameter.
12111
87393f26
DP
121122011-12-12 Daniel Pfeiffer <occitan@t-online.de>
12113
12114 * progmodes/make-mode.el: Bring it up to date with makepp V2.0.
12115 (makefile-make-font-lock-keywords): Extend meaning of `keywords'.
12116 (makefile-gmake-statements, makefile-makepp-statements):
12117 Use it and add new makepp keywords.
12118 (makefile-makepp-font-lock-keywords): Add new patterns.
12119 (makefile-match-function-end): Match new [...] and [[...]].
12120
11636b22
JB
121212011-12-11 Juanma Barranquero <lekktu@gmail.com>
12122
12123 * ses.el (ses-call-printer-return, ses-cell-property-get)
12124 (ses-sym-rowcol, ses-printer-validate, ses-formula-record)
12125 (ses-create-cell-variable, ses-reset-header-string)
12126 (ses-cell-set-formula, ses-repair-cell-reference-all)
12127 (ses-self-reference-early-detection, ses-in-print-area, ses-set-curcell)
12128 (ses-check-curcell, ses-call-printer, ses-adjust-print-width)
12129 (ses-print-cell-new-width, ses-formula-references, ses-relocate-formula)
12130 (ses-aset-with-undo, ses-load, ses-truncate-cell)
12131 (ses-read-column-printer, ses-read-default-printer, ses-insert-row)
12132 (ses-delete-row, ses-delete-column, ses-append-row-jump-first-column)
12133 (ses-kill-override, ses-yank-pop, ses-yank-cells, ses-yank-tsf)
12134 (ses-yank-resize, ses-export-tab, ses-mark-row, ses-mark-column)
12135 (ses-renarrow-buffer, ses-insert-range, ses-insert-ses-range)
12136 (ses-safe-printer, ses-safe-formula, ses-warn-unsafe, ses--clean-!)
12137 (ses--clean-_, ses-range, ses-select, ses-center, ses-center-span)
12138 (ses-dashfill, ses-unsafe): Fix typos and reflow docstrings.
12139
cf018193
VB
121402011-12-11 Vincent Belaïche <vincentb1@users.sourceforge.net>
12141
12142 * ses.el: The overall change is to add cell renaming, that is
12143 setting fancy names for cell symbols other than name matching
12144 "\\`[A-Z]+[0-9]+\\'" regexp .
12145 (ses-create-cell-variable): New defun.
12146 (ses-relocate-formula): Relocate formulas only for cells the
12147 symbols of which are not renamed, i.e. symbols whose names do not
12148 match regexp "\\`[A-Z]+[0-9]+\\'".
12149 (ses-relocate-all): Relocate values only for cells the symbols of
12150 which are not renamed.
12151 (ses-load): Create cells variables as the (ses-cell ...) are read,
12152 in order to check row col consistency with cell symbol name only
12153 for cells that are not renamed.
12154 (ses-replace-name-in-formula): New defun.
12155 (ses-rename-cell): New defun.
12156
ee957461
CY
121572011-12-11 Chong Yidong <cyd@gnu.org>
12158
12159 * progmodes/gdb-mi.el (gdb): Set comint-prompt-regexp, required
12160 for completion via gud-gdb-fetch-lines-filter (Bug#10274).
12161
9a9e9ef0
MR
121622011-12-11 Eric Hanchrow <eric.hanchrow@gmail.com>
12163
12164 * window.el (other-window): Fix docstring.
12165
92a8eba5
EZ
121662011-12-10 Eli Zaretskii <eliz@gnu.org>
12167
12168 * mail/rmailsum.el (rmail-header-summary): RFC2047 decode the
1d00653d
SM
12169 `from' or `to' address before taking its substring.
12170 Fixes incorrect display in Rmail summary buffer whereby an RFC2047
92a8eba5
EZ
12171 encoded name is chopped in the middle of the encoded string, and
12172 thus displayed encoded.
12173
e152e577
JB
121742011-12-10 Juanma Barranquero <lekktu@gmail.com>
12175
12176 * makefile.w32-in (update-subdirs-CMD): Use a Local Variables section.
12177
e5d84bfe
EZ
121782011-12-10 Eli Zaretskii <eliz@gnu.org>
12179
12180 * textmodes/texnfo-upd.el: Update commentary. Add a warning not
12181 to use texinfo-update-node and commands that call it if the
12182 Texinfo file uses @node lines without next/prev/up pointers.
b8830d28 12183 Correct outdated description about texinfo-master-menu.
e5d84bfe
EZ
12184 (texinfo-all-menus-update, texinfo-master-menu)
12185 (texinfo-update-node, texinfo-every-node-update)
12186 (texinfo-multiple-files-update): Doc fix. Warn against updating
12187 all the @node lines.
12188 (texinfo-master-menu): Only call texinfo-update-node if the prefix
b8830d28
EZ
12189 argument is numeric. Explain better in the doc string what the
12190 function really does.
12191 (texinfo-insert-master-menu-list): Improve the error message
12192 displayed if there's no menu in the Top node.
12193 (Bug#2975) See also this thread:
e5d84bfe
EZ
12194 http://lists.gnu.org/archive/html/emacs-devel/2011-12/msg00156.html.
12195
1d84e9bb
MG
121962011-12-09 Manuel Gómez <mgrojo@gmail.com> (tiny change)
12197
12198 * speedbar.el (speedbar-supported-extension-expressions):
12199 Add .adb and .ads, commonly used for Ada source code (bug#10256).
12200
382c953b
JB
122012011-12-09 Juanma Barranquero <lekktu@gmail.com>
12202
12203 * printing.el (pr-mode-alist):
12204 * simple.el (filter-buffer-substring-functions)
12205 (completion-list-insert-choice-function):
12206 * window.el (window-with-parameter, window-atom-root)
12207 (window-sides-slots, window-size-fixed, window-min-delta)
12208 (window-max-delta, window--resize-mini-window)
12209 (window--resize-child-windows-normal, window-tree)
12210 (delete-other-windows, quit-window, split-window)
12211 (display-buffer-record-window, special-display-buffer-names)
12212 (special-display-regexps, special-display-popup-frame)
12213 (same-window-p, split-window-sensibly)
12214 (display-buffer-overriding-action, display-buffer-alist)
12215 (display-buffer-base-action, display-buffer, switch-to-buffer)
12216 (switch-to-buffer-other-window, switch-to-buffer-other-frame)
12217 (fit-window-to-buffer, recenter-positions)
12218 (mouse-autoselect-window-state, mouse-autoselect-window-select):
12219 * emacs-lisp/syntax.el (syntax-propertize-function): Fix typos
12220 and remove unneeded backslashes in docstrings.
12221
39c9faef
SM
122222011-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
12223
98449af8
SM
12224 * emacs-lisp/lisp-mode.el (defmethod): Add doc-string-elt (bug#10244).
12225
39c9faef
SM
12226 * pcmpl-gnu.el: Don't fail when there is no Makefile nor -f arg.
12227 (pcmpl-gnu-makefile-regexps): Accept "makefile" as well as files that
12228 end in ".mk".
12229 (pcmpl-gnu-make-rule-names): Check "makefile" and ignore errors
12230 when reading the makefile (bug#10116).
12231
86ed9fdc
SM
122322011-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
12233
12234 * pcmpl-gnu.el (pcomplete/make): Also allow filename arguments
12235 (bug#10116).
12236
5580f89d
GM
122372011-12-06 Glenn Morris <rgm@gnu.org>
12238
12239 * emacs-lisp/package.el (package-archives): Doc fix re riskiness.
12240
28d3917c
CY
122412011-12-06 Chong Yidong <cyd@gnu.org>
12242
12243 * progmodes/cc-fonts.el (c-annotation-face): Use defface.
12244
a98edce9
JB
122452011-12-06 Juanma Barranquero <lekktu@gmail.com>
12246
12247 * textmodes/table.el (table-shorten-cell): Fix typo.
12248
e65adfac
CG
122492011-12-05 Christopher Genovese <genovese.cr@gmail.com> (tiny change)
12250
12251 * emacs-lisp/assoc.el (aput): Fix return value (bug#10146)
12252
71cc0b74
EZ
122532011-12-05 Eli Zaretskii <eliz@gnu.org>
12254
12255 * descr-text.el (describe-char): Fix display of strong
12256 right-to-left characters and directional embeddings and overrides.
12257
12258 * simple.el (what-cursor-position): Fix display of codepoints of
12259 strong right-to-left characters.
12260
315bc30d
CY
122612011-12-05 Chong Yidong <cyd@gnu.org>
12262
12263 * faces.el (read-color): Doc fix.
12264
58a70b94
GM
122652011-12-05 Glenn Morris <rgm@gnu.org>
12266
12267 * align.el (align--set-marker): Add doc-string.
12268 Don't try to move something that is not a marker. (Bug#10216)
12269
5158face
GM
122702011-12-04 Glenn Morris <rgm@gnu.org>
12271
12272 * calendar/appt.el (appt-add): Rewrite the interactive-spec to avoid
12273 overly zealous deletion of trailing whitespace.
12274
520fca41
JB
122752011-12-04 Juanma Barranquero <lekktu@gmail.com>
12276
12277 * server.el (server-delete-client): On Windows, do not try to delete
12278 the only terminal.
12279 (server-process-filter): On Windows, treat requests for a tty frame as
12280 if they were for a GUI frame if the running server is in GUI mode.
12281
5e605a2e
GM
122822011-12-03 Glenn Morris <rgm@gnu.org>
12283
12284 * textmodes/texinfmt.el (batch-texinfo-format): Doc fix. (Bug#10207)
12285
5c3fe83f
SM
122862011-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
12287
6f5e57e7
SM
12288 * electric.el: Streamline electric-indent's hook.
12289 (electric-indent-chars): Revert to simple list.
12290 (electric-indent-functions): New var.
12291 (electric-indent-post-self-insert-function): Use it.
12292
5c3fe83f
SM
12293 * progmodes/prolog.el (prolog-find-value-by-system): Avoid error when
12294 there's no inferior buffer (bug#10196).
12295 (prolog-consult-compile): Don't use toggle-read-only.
12296
6bdac736
MA
122972011-12-02 Michael Albinus <michael.albinus@gmx.de>
12298
12299 * net/tramp-sh.el (tramp-maybe-open-connection): Handle user
12300 interrupt. (Bug#10187)
12301
6131ba7f
SM
123022011-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
12303
99c79fee
SM
12304 * pcmpl-gnu.el (pcomplete/tar): large-file-warn-threshold can be nil
12305 (bug#9160).
12306
6131ba7f
SM
12307 * dired-aux.el (dired-query): Don't assume help-char is modifier-free
12308 (bug#10191).
12309
cb0a02ea
JL
123102011-12-02 Juri Linkov <juri@jurta.org>
12311
12312 * info.el (Info-search): Display "end of manual" when Isearch
12313 reaches the end of single-file Info manual. (Bug#9918)
12314
66e0570c
EZ
123152011-12-02 Eli Zaretskii <eliz@gnu.org>
12316
12317 * isearch.el (isearch-message-prefix): Run the input method part
12318 of the prompt through bidi-string-mark-left-to-right. (Bug#10183)
12319
02b16839
JL
123202011-12-02 Juri Linkov <juri@jurta.org>
12321
12322 * isearch.el (isearch-occur): Use `word-search-regexp' for
12323 `isearch-word'.
12324 (isearch-search-and-update): Add condition for `isearch-word' and
12325 call `word-search-regexp'. (Bug#10145)
12326
0b950688
GM
123272011-12-01 Glenn Morris <rgm@gnu.org>
12328
12329 * eshell/em-hist.el (eshell-hist-initialize):
12330 Handle eshell-history-size nil and HISTSIZE set or unset.
e8087a76 12331 (eshell-history-file-name, eshell-history-size): Fix custom type.
0b950688 12332
9505c3c7
SM
123332011-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
12334
12335 * man.el (Man-completion-table): Fix the lambda case (bug#10168).
12336
1bbe96b2 123372011-12-01 Michael McNamara <mac@mail.brushroad.com>
6288f0ca 12338
a1beca85
SM
12339 * progmodes/verilog-mode.el (verilog-pretty-expr):
12340 Rework verilog-pretty-expr to handle new assignment operators in system
6288f0ca
WS
12341 verilog, such as += *= and the like.
12342 (verilog-assignment-operator-re): Regular expression to find the
12343 assigment operator in a verilog assignment.
12344 (verilog-assignment-operation-re): Regular expression to find an
12345 assignment statement for pretty-expr.
12346 (verilog-in-attribute-p): Query returns true if point is in an
12347 attribute context; used to skip these for expression line up from
12348 pretty-expr.
12349 (verilog-in-parameter-p): Query returns true if point is in an
12350 parameter definition context; used to skip these for expression
12351 line up from pretty-expr.
12352 (verilog-in-parenthesis-p): Query returns true if point is in a
12353 parenthetical expression, specifically ( ) but not [ ] or { };
12354 used by pretty-expr.
12355 (verilog-just-one-space): If there is no space, don't add one.
12356 (verilog-get-lineup-indent-2): Specifically skip just attribute
12357 contexts for expression lineup, rather than skipping all
12358 parenthetical expressions.
12359 (verilog-calculate-indent): Fix comment, and fix indent.
12360 (verilog-do-indent): Indent declarations in lists (suggested by
12361 Joachim Lechner).
12362 (verilog-mode-abbrev-table): Populate abbrev mode with the various
12363 skeleton items.
12364 (verilog-sk-ovm-class): Add skeleton for OVM classes (reported
12365 by Alain Mellan).
12366
1bbe96b2 123672011-12-01 Wilson Snyder <wsnyder@wsnyder.org>
6288f0ca
WS
12368
12369 * progmodes/verilog-mode.el (verilog-read-defines): Fix reading
12370 parameters with embedded comments. Reported by Ray Stevens.
12371 (verilog-calc-1, verilog-fork-wait-re) (verilog-forward-sexp,
12372 verilog-wait-fork-re): Fix indentation of "wait fork", bug407.
12373 Reported by Tim Holt.
12374 (verilog-auto): Fix AUTOing a upper module then AUTOing module
12375 instantiated by upper module causing wrong expansion until AUTOed a
12376 second time. Reported by K C Buckenmaier.
12377 (verilog-diff-auto): Fix showing .* as a difference when
12378 `verilog-auto-star-save' off. Reported by Dan Dever.
12379 (verilog-auto-reset, verilog-read-always-signals)
12380 (verilog-auto-reset-blocking-in-non): Fix AUTORESET including
12381 temporary signals in reset list if
12382 verilog-auto-reset-blocking-in-non is nil, and match assignment
a1beca85
SM
12383 style to each signal's assignment type, bug381.
12384 Reported by Thomas Esposito.
6288f0ca
WS
12385 (verilog-sk-uvm-class, verilog-uvm-begin-re, verilog-uvm-end-re)
12386 (verilog-uvm-statement-re): Support UVM indentation and
12387 highlighting, with old OVM keywords only.
a1beca85 12388 (verilog-auto-tieoff, verilog-auto-tieoff-declaration):
1d00653d
SM
12389 Support AUTOTIEOFF creating non-wire data types.
12390 Suggested by Jonathan Greenlaw.
6288f0ca
WS
12391 (verilog-auto-insert-lisp, verilog-delete-to-paren)
12392 (verilog-forward-sexp-cmt, verilog-forward-sexp-ign-cmt)
12393 (verilog-inject-sense, verilog-read-inst-pins)
a1beca85
SM
12394 (verilog-read-sub-decls, verilog-read-sub-decls-line):
12395 Fix mismatching parenthesis inside commented out code when deleting
382c953b 12396 AUTOINST, bug383. Reported by Jonathan Greenlaw.
6288f0ca
WS
12397 (verilog-auto-ascii-enum): Fix AUTOASCIIENUM one-hot with
12398 non-numeric vector width. Reported by Alex Reed.
12399 (verilog-auto-ascii-enum): Add "onehot" option to work around not
382c953b 12400 detecting signals with parameter widths. Reported by Alex Reed.
a1beca85
SM
12401 (verilog-auto-delete-trailing-whitespace):
12402 With `verilog-auto-delete-trailing-whitespace' remove trailing
6288f0ca
WS
12403 whitespace in auto expansion, bug371. Reported by Brad Dobbie.
12404 (verilog-run-hooks, verilog-scan-cache-flush, verilog-syntax-ppss):
12405 Fix verilog-scan-cache corruption when running user AUTO expansion
12406 hooks that call indentation routines.
12407 (verilog-simplify-range-expression): Fix typo ignoring lower case
12408 identifiers.
12409 (verilog-delete-auto): Fix delete-autos to also remove user created
12410 automatics, as long as they start with AUTO.
12411 (verilog-batch-diff-auto, verilog-diff-auto)
12412 (verilog-diff-function): Add `verilog-diff-auto' and bind to
12413 "C-c?" to report differences in AUTO expansion, ignoring spaces.
12414 (verilog-backward-syntactic-ws-quick, verilog-beg-of-defun-quick)
12415 (verilog-in-paren-quick, verilog-re-search-backward-quick)
a1beca85
SM
12416 (verilog-re-search-forward-quick, verilog-syntax-ppss):
12417 Fix calling `syntax-ppss' when inside auto expansions as the ppss hook
6288f0ca
WS
12418 is disabled and its cache will get corrupt, causing AUTOS not to
12419 expand. Instead use only -quick functions.
12420 (verilog-scan-region): Fix scanning over escaped quotes.
12421 (verilog-inside-comment-or-string-p, verilog-inside-comment-p)
12422 (verilog-re-search-backward-quick)
12423 (verilog-re-search-forward-quick, verilog-scan): verilog-scan and
12424 related functions now ignore strings, to fix misparsing of strings
12425 with magic comments embedded in them.
a1beca85
SM
12426 (verilog-read-auto-template):
12427 Fix 'verilog-auto-inst-template-numbers' with extra newline before (.
12428 Reported by Brad Dobbie.
12429 (verilog-read-auto-template):
12430 Fix 'verilog-auto-inst-template-numbers' with comments.
6288f0ca 12431 Reported by Brad Dobbie.
6288f0ca
WS
12432 (verilog-auto-inst, verilog-auto-inst-param)
12433 (verilog-auto-inst-sort): Add 'verilog-auto-inst-sort' to reduce
12434 merge conflicts with AUTOINST, bug358. Reported by Brad Dobbie.
12435 (verilog-auto-inst-template-numbers): Add 'lhs' policy for
a1beca85
SM
12436 debugging templates without merge conflicts, bug357.
12437 Reported by Brad Dobbie.
12438 (verilog-read-auto-template):
12439 Fix verilog-auto-inst-template-numbers with multiple templates.
6288f0ca
WS
12440 Reported by Brad Dobbie.
12441 (verilog-define-abbrev): Fix verilog-mode abbrevs to be system
12442 abbrevs so user won't be asked to save.
12443 (verilog-read-auto-lisp-present): Fix to start at beginning of
12444 buffer in case called outside of verilog-auto.
12445 (verilog-simplify-range-expression): Fix AUTOWIRE expanding "X-1+1"
12446 to "X-2". Reported by Matthew Myers.
12447 (verilog-auto, verilog-auto-inout-in): Add AUTOINOUTIN for creating
12448 all inputs from module templates. Reported by Leith Johnson.
12449 (verilog-module-inside-filename-p): Fix locating programs as with
12450 modules.
12451 (verilog-auto-inst-port): Fix vl-width expressions when using
12452 verilog-auto-inst-param-value, bug331. Reported by Julian Gorfajn.
12453 (verilog-decls-get-regs, verilog-decls-get-signals,
12454 verilog-decls-get-vars, verilog-decls-get-wires, verilog-decls-new,
12455 verilog-modi-cache-add-vars, verilog-modi-cache-add-wires,
12456 verilog-read-decls): Combine reg and wire structures into one var
12457 structure to represent SystemVerilog concepts.
12458 (verilog-auto-ascii-enum, verilog-auto-logic, verilog-auto-reg)
12459 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-wire)
a1beca85
SM
12460 (verilog-auto-wire-type, verilog-insert-definition):
12461 Add verilog-auto-wire-type and AUTOLOGIC to support using
6288f0ca
WS
12462 SystemVerilog "logic" keyword instead of "wire"/"reg".
12463 (verilog-auto-reg-input, verilog-decls-get-signals): Fix AUTOWIRE
12464 to declares outputs that also have assignments (presumably in an
a1beca85
SM
12465 ifdef or generate if so there's not a driver conflict).
12466 Reported by Matthew Myers.
12467 (verilog-auto-declare-nettype, verilog-insert-definition):
12468 Add verilog-auto-declare-nettype to fix declarations using
6288f0ca
WS
12469 `default_nettype none. Reported by Julian Gorfajn.
12470 (verilog-read-always-signals-recurse, verilog-read-decls)
12471 (verilog-read-sub-decls-gate): Fix infinite loop with (*) and
12472 malformed end statement, bug325. Reported by Joshua Wise and
12473 Andrew Drake.
12474 (verilog-auto-star-safe, verilog-delete-auto-star-implicit)
12475 (verilog-inst-comment-re): Fix not deleting Interfaced comment
1d00653d
SM
12476 when expanding .* in interfaces, bug320.
12477 Reported by Pierre-David Pfister.
6288f0ca 12478 (verilog-read-module-name): Fix import statements between module
1d00653d
SM
12479 name and open parenthesis, bug317.
12480 Reported by Pierre-David Pfister.
6288f0ca
WS
12481 (verilog-simplify-range-expression): Fix simplification of
12482 multiplications inside AUTOWIRE connections, bug303.
12483 (verilog-auto-inst-port): Support parameter expansion in
12484 multidimensional arrays.
12485 (verilog-read-decls): Fix AUTOREG etc looking for "endproperty"
12486 after "assert property". Reported by Julian Gorfajn.
12487 (verilog-simplify-range-expression): Fix "couldn't merge" errors
12488 with multiplication, bug303.
12489 (verilog-read-decls): Fix parsing of unsigned data types, bug302.
12490 Reported by Jan Frode Lonnum.
12491
1bbe96b2
GM
124922011-11-30 Juanma Barranquero <lekktu@gmail.com>
12493
12494 * htmlfontify.el (hfy-page-header, hfy-post-html-hooks)
12495 (hfy-shell-file-name, hfy-shell):
12496 * international/fontset.el (x-decompose-font-name): Fix typos.
12497
124982011-11-29 Ken Brown <kbrown@cornell.edu>
12499
12500 * progmodes/gdb-mi.el: Fix bug#9853, bug#9858, and bug#9878.
12501 (gdb-version): Remove defvar.
12502 (gdb-supports-non-stop): New defvar, replacing `gdb-version'.
12503 (gdb-gud-context-command, gdb-non-stop-handler)
12504 (gdb-current-context-command, gdb-stopped): Use it.
12505 (gdb-init-1): Enable pretty printing here.
6131ba7f
SM
12506 (gdb-non-stop-handler): Don't enable pretty-printing here.
12507 Check to see if the target supports non-stop mode; if not, turn off
1bbe96b2
GM
12508 non-stop mode. Use the following.
12509 (gdb-check-target-async): New defun.
12510 (gud-watch, gdb-stopped): Fix whitespace.
12511 (gdb-get-source-file): Don't try to display the source file if
12512 `gdb-main-file' is nil.
12513
125142011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
12515
12516 * align.el: Try to generate fewer markers (bug#10047).
12517 (align--set-marker): New macro.
12518 (align-region): Use it.
12519
c935221f
SM
125202011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
12521
12522 * isearch.el (isearch-yank-x-selection): Deactivate mark (bug#10022).
12523
e70b5064
CY
125242011-11-29 Chong Yidong <cyd@gnu.org>
12525
12526 * indent.el (indent-for-tab-command, indent-according-to-mode):
12527 Doc fix.
12528 (indent-region): Doc fix. Switch nested ifs to equivalent cond.
12529
f3af92b7
MA
125302011-11-29 Michael Albinus <michael.albinus@gmx.de>
12531
12532 * vc/diff-mode.el (diff-find-file-name): Make `read-file-name'
12533 aware of remote file names. (Bug#10124)
12534
ed472be9
CY
125352011-11-29 Chong Yidong <cyd@gnu.org>
12536
12537 * frame.el (auto-raise-mode, auto-lower-mode): Doc fix.
12538
24510c22
SM
125392011-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
12540
12541 * files.el (find-file): Don't use force-same-window (bug#10144).
12542 * window.el (switch-to-buffer): Better match Emacs-23 behavior and only
12543 use pop-to-buffer if the selected window can't be used.
12544 (pop-to-buffer-same-window): Use display-buffer--same-window-action.
12545
c60c3703
EZ
125462011-11-28 Eli Zaretskii <eliz@gnu.org>
12547
12548 * vc/diff-mode.el (diff-mode-map): Don't inherit 'z' => 'M-z' from
12549 special-mode-map.
12550
e95def75
CY
125512011-11-28 Chong Yidong <cyd@gnu.org>
12552
12553 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix default doc.
12554
c3f1c606
NR
125552011-11-27 Nick Roberts <nickrob@snap.net.nz>
12556
12557 * progmodes/gdb-mi.el (gdb-init-1): Condition execution of
12558 gdb-get-source-file-list on gdb-create-source-file-list.
12559
00db469c
EZ
125602011-11-26 Eli Zaretskii <eliz@gnu.org>
12561
12562 * whitespace.el (whitespace-newline): Use a different foreground
12563 color for 16-color light-background displays.
12564
4ad3bc2a
CY
125652011-11-24 Chong Yidong <cyd@gnu.org>
12566
12567 * window.el (display-buffer--special-action): Doc fix.
12568
e9fce1ac
JB
125692011-11-25 Juanma Barranquero <lekktu@gmail.com>
12570
12571 * emacs-lisp/avl-tree.el (avl-tree--do-copy, avl-tree-create)
12572 (avl-tree-compare-function, avl-tree-empty, avl-tree-enter)
12573 (avl-tree-delete, avl-tree-member, avl-tree-member-p, avl-tree-map)
12574 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar, avl-tree-copy)
12575 (avl-tree-clear, avl-tree-stack, avl-tree-stack-pop)
12576 (avl-tree-stack-first):
12577 * emacs-lisp/cconv.el (cconv--analyse-use):
12578 * net/gnutls.el (gnutls-negotiate): Fix typos.
12579
cb825e5d
GM
125802011-11-24 Glenn Morris <rgm@gnu.org>
12581
3adbe224
GM
12582 * lpr.el (lpr-windows-system, lpr-lp-system):
12583 * mail/binhex.el (binhex-begin-line):
12584 * progmodes/grep.el (grep-history, grep-find-history):
12585 * textmodes/flyspell.el:
12586 * vc/pcvs-defs.el (cvs-global-menu):
12587 * vc/vc-bzr.el (vc-bzr-admin-checkout-format-file):
12588 * vc/vc-mtn.el (vc-mtn-admin-dir, vc-mtn-admin-format):
12589 * vc/vc-cvs.el (vc-cvs-registered): Give them basic doc-strings.
12590
321decc8
GM
12591 * net/tls.el: Fix case of "GnuTLS".
12592
420b63ad
GM
12593 * paths.el (rmail-file-name): Format doc-string for make-docfile.
12594
cb825e5d
GM
12595 * version.el (emacs-build-system): Give it a doc-string.
12596
a0649f08
JL
125972011-11-24 Juri Linkov <juri@jurta.org>
12598
12599 * view.el (view-buffer): Revert 2011-07-19T15:01:49Z!larsi@gnus.org from 2011-07-19 (bug#8615).
12600
c0bc0fd4
GM
126012011-11-24 Glenn Morris <rgm@gnu.org>
12602
12603 * mail/rmailmm.el (rmail-mime): When rmail-enable-mime is non-nil,
12604 if called on a non-mime message just toggle the headers. (Bug#8006)
12605
20db1522
JB
126062011-11-24 Juanma Barranquero <lekktu@gmail.com>
12607
12608 * allout.el (allout-setup, allout-auto-save-temporarily-disabled)
12609 (allout-lead-with-comment-string, allout-structure-deleted-hook)
12610 (allout-mode, allout-chart-subtree, allout-hotspot-key-handler)
12611 (allout-rebullet-heading, allout-open-sibtopic)
12612 (allout-toggle-current-subtree-encryption)
12613 (allout-toggle-subtree-encryption, allout-encrypt-string)
12614 (allout-next-topic-pending-encryption, allout-adjust-file-variable)
12615 (allout-distinctive-bullets-string, allout-auto-activation):
12616 * window.el (window-normalize-buffer-to-display):
12617 * progmodes/verilog-mode.el (verilog-batch-indent):
12618 * textmodes/bibtex.el (bibtex-field-braces-opt)
12619 (bibtex-field-strings-opt):
12620 * vc/cvs-status.el (cvs-tree-merge):
12621 Fix typos.
12622
7262a87c
MA
126232011-11-23 Michael Albinus <michael.albinus@gmx.de>
12624
12625 * rfn-eshadow.el (rfn-eshadow-update-overlay): Let-bind
12626 `non-essential' to t, in order to avoid remote connections.
12627
283430a1
EZ
126282011-11-23 Eli Zaretskii <eliz@gnu.org>
12629
a1beca85
SM
12630 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
12631 On MS-DOS and MS-Windows, compare with loaddefs.el
283430a1
EZ
12632 case-insensitively.
12633
d2992a38
ML
126342011-11-23 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
12635
12636 * mail/unrmail.el (unrmail): Always add blank line. (Bug#7743)
12637
50419064
GM
126382011-11-23 Glenn Morris <rgm@gnu.org>
12639
da94eca1
GM
12640 * paths.el (rmail-file-name): Reformat the doc-string so that it
12641 is picked up.
12642
9aac4de2
GM
12643 * mail/rmail.el (rmail-message-filter, rmail-auto-file): Doc fixes.
12644 (rmail-auto-file): Ignore case in the "special" field names,
12645 as mail-fetch-field does for all others.
12646
8038d2d2
GM
12647 * mail/rmail.el (rmail-forward):
12648 * mail/rmailkwd.el (rmail-set-label):
12649 * mail/rmailout.el (rmail-output, rmail-output-as-seen)
12650 (rmail-output-body-to-file): Give error if no message. (Bug#10082)
12651
f3fe222a
GM
12652 * mail/rmail.el (rmail-current-message): Doc fix.
12653
50419064
GM
12654 * mail/rmail.el (rmail-message-filter): Mark as obsolete. (Bug#2624)
12655
28109f49
SM
126562011-11-22 Stefan Monnier <monnier@iro.umontreal.ca>
12657
12658 * server.el (server-eval-and-print): Allow C-g (bug#6585).
12659
394c65f1
GM
126602011-11-22 Glenn Morris <rgm@gnu.org>
12661
12662 * mail/rmailmm.el (test-rmail-mime-handler)
12663 (test-rmail-mime-bulk-handler)
12664 (test-rmail-mime-multipart-handler): Move tests to test/ directory.
12665
f2a0aa3a
JL
126662011-11-21 Juri Linkov <juri@jurta.org>
12667
1154d12e
JB
12668 * calc/calc.el (calc-read-key-sequence):
12669 Let-bind `input-method-function' to nil. (Bug#10018)
f2a0aa3a 12670
9c34a344
LMI
126712011-11-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
12672
12673 * emacs-lisp/cl-indent.el (common-lisp-loop-part-indentation):
12674 Tell the caller that the next line needs recomputation, even
12675 though it doesn't start a sexp (bug#10094).
12676
f04a3be9
SM
126772011-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
12678
12679 * emacs-lisp/autoload.el (autoload-generate-file-autoloads): Simplify.
12680
7978747f
SM
126812011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
12682
f04a3be9
SM
12683 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
12684 Use force-same-window.
7978747f 12685
fe7a3057
JB
126862011-11-20 Juanma Barranquero <lekktu@gmail.com>
12687
12688 * descr-text.el (describe-char-unicode-data):
12689 * json.el (json-string-escape):
12690 * mail/footnote.el (footnote-unicode-string, footnote-unicode-regexp)
12691 (Footnote-unicode, Footnote-style-p):
12692 * net/ntlm.el (ntlm-get-password-hashes): Fix typos.
12693
24901d61
CY
126942011-11-20 Chong Yidong <cyd@gnu.org>
12695
12696 * window.el (replace-buffer-in-windows): Restore interactive spec.
12697
bac7ff22
SM
126982011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
12699
24f3d7b9
SM
12700 * electric.el (electric-indent-mode): Fix last change (too optimistic).
12701
bac7ff22
SM
12702 * emacs-lisp/bytecomp.el: Silence obsolete warnings more reliably.
12703 (byte-compile-global-not-obsolete-vars): New var.
12704 (byte-compile-check-variable, byte-compile-make-obsolete-variable):
12705 Use it.
12706 (byte-compile-warn-obsolete): Align text with the one in *Help*.
12707
cd1181db
JB
127082011-11-20 Juanma Barranquero <lekktu@gmail.com>
12709
12710 * progmodes/cwarn.el (cwarn-is-enabled, cwarn-font-lock-keywords):
12711 * progmodes/pascal.el (electric-pascal-equal):
12712 * textmodes/reftex-dcr.el (reftex-view-crossref-from-bibtex):
12713 * xml.el (xml-substitute-special): Fix typos.
12714
7fb18e9e
GM
127152011-11-20 Glenn Morris <rgm@gnu.org>
12716
12717 * mail/rmail.el (rmail-enable-mime-composing): Make it a defcustom.
12718 (rmail-insert-mime-forwarded-message-function, rmail-mime-feature):
12719 Doc fixes.
12720 (rmail-decode-mime-charset): Mark as obsolete.
12721
12722 * mail/rmailsum.el (rmail-message-regexp-p-1):
12723 * mail/rmail.el (rmail-search-message, rmail-forward, rmail-resend):
12724 Before using mime functions, check they are set. (Bug#10077)
12725
d5a6b3ba
JL
127262011-11-19 Juri Linkov <juri@jurta.org>
12727
12728 * info.el (Info-finder-find-node): Use `package--builtins' instead
12729 of `package-alist'. Use node names formed by the pattern "Keyword "
12730 and the keyword name.
12731
e981b61f
AS
127322011-11-19 Andreas Schwab <schwab@linux-m68k.org>
12733
1d00653d 12734 * progmodes/sh-script.el (sh-assignment-regexp): Add entry for bash.
e981b61f 12735
3ffbc301
JL
127362011-11-19 Juri Linkov <juri@jurta.org>
12737
12738 * info.el (Info-hide-note-references): Add `:set' tag to `defcustom'
12739 that calls `revert-buffer' on all Info buffers. (Bug#9915)
12740 (Info-revert-find-node): Remove let-bindings `old-buffer-name',
12741 `old-history', `old-history-forward'. Add let-binding
12742 `window-selected'. Remove calls to `kill-buffer',
12743 `switch-to-buffer' and `Info-mode'. Set `Info-current-file' to nil
12744 before calling `Info-find-node', so `Info-find-node-2' will reread
12745 the Info file. Restore window positions only when `window-selected'
12746 is non-nil.
12747
30c62133
JL
127482011-11-19 Juri Linkov <juri@jurta.org>
12749
12750 * isearch.el (isearch-lazy-highlight-new-loop):
12751 Remove condition `(not isearch-error)'. (Bug#9918)
12752
12753 * misearch.el (multi-isearch-search-fun): Add condition
12754 `(not bound)' to ignore lazy-highlighting search.
12755 Add the search-failed message "end of multi" when the end of
12756 multi-sequence is reached. Uncapitalize the search-failed
12757 message "Repeat for next buffer".
12758
12759 * info.el (Info-search): Add the search-failed message
12760 "end of the manual" when the end of the manual is reached
12761 in Isearch mode.
12762
645ca9cf
JL
127632011-11-19 Juri Linkov <juri@jurta.org>
12764
12765 * info.el (Info-find-node-2, Info-select-node, Info-history-find-node):
12766 Use non-destructive `remove' instead of `delete' because
12767 `Info-history-list' stored to `Info-isearch-initial-history-list' in
12768 `Info-isearch-start' might need to be restored in `Info-isearch-end'.
12769
df754f66
JL
127702011-11-19 Juri Linkov <juri@jurta.org>
12771
12772 * isearch.el (isearch-edit-string): Let-bind `history-add-new-input'
12773 to nil instead of binding `search-ring' and `regexp-search-ring'.
12774 (Bug#9185)
12775
0e23d96a
EZ
127762011-11-19 Eli Zaretskii <eliz@gnu.org>
12777
12778 * simple.el (line-move): Force movement by logical lines for any
12779 hscrolled window, not only when auto-hscroll-mode is on.
12780 (line-move-visual): Update doc string to that effect. (Bug#10076)
12781
8a6ccb66
AS
127822011-11-19 Andreas Schwab <schwab@linux-m68k.org>
12783
12784 * language/european.el (macintosh): Define as alias for mac-roman.
12785
49ae5b39
EZ
127862011-11-19 Eli Zaretskii <eliz@gnu.org>
12787
12788 * mail/rmailmm.el (rmail-mime-display-header)
12789 (rmail-mime-display-tagline, rmail-mime-display-body): New defsubsts.
12790 (rmail-mime-entity-segment, rmail-mime-toggle-raw)
12791 (rmail-mime-toggle-hidden, rmail-mime-insert-text)
12792 (rmail-mime-insert-bulk, rmail-mime-insert-multipart)
12793 (rmail-mime-insert, rmail-mime-insert-tagline): Use them instead
12794 of a raw aref.
12795 (rmail-mime-entity-segment): To get past the tagline, move forward
12796 2 more lines, to account for the 2 empty lines that precede and
12797 follow the line with the buttons.
12798 (rmail-mime-update-tagline): Move one more line, to get past the
12799 empty line that follows the buttons in the tagline. (Bug#9520)
12800
c56cad4a
MR
128012011-11-19 Martin Rudalics <rudalics@gmx.at>
12802
12803 * window.el (window-max-delta-1, window-min-delta-1)
12804 (window-min-size-1, window-state-get-1, window-state-put-1)
12805 (window-state-put-2): Use "window--" prefix.
12806
cbe71af3
SM
128072011-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
12808
2ad52c60
SM
12809 * emacs-lisp/smie.el: Improve warnings and conflict detection.
12810 (smie-warning-count): New var.
12811 (smie-set-prec2tab): Use it.
12812 (smie-bnf->prec2): Improve warnings. Add docstring.
12813 (smie-bnf--closer-alist): Rename from smie-bnf-closer-alist.
12814 (smie-bnf--set-class): New function.
12815 (smie-bnf--classify): Rename from smie-bnf-classify. Rewrite to fix
12816 corner case.
12817
6944dbc1
SM
12818 * progmodes/compile.el: Obey compilation-first-column in dest buffer.
12819 (compilation-error-properties, compilation-move-to-column):
12820 Handle compilation-first-column while in the target buffer.
12821
c400c4d7
SM
12822 * progmodes/cc-engine.el (c-remove-stale-state-cache-backwards):
12823 Don't hardcode point-min==1.
12824
6dbe3e96
SM
12825 * eshell/esh-cmd.el (eshell-do-eval): Handle `setq' (bug#9907).
12826 (eshell-rewrite-for-command): Remove workaround.
12827 (eshell-do-pipelines, eshell-do-pipelines-synchronously)
12828 (eshell-do-eval, eshell-exec-lisp): Avoid gratuitous setq.
12829 * eshell/esh-util.el (eshell-condition-case, eshell-for): Use declare.
12830
cbe71af3
SM
12831 * files-x.el (modify-file-local-variable): Obey commenting conventions.
12832
a8e1496d
GM
128332011-11-17 Glenn Morris <rgm@gnu.org>
12834
12835 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
12836 Ignore buffer-local generated-autoload-file if it is the same
12837 as the global value. (Bug#10049)
12838
df85d315
JB
128392011-11-17 Juanma Barranquero <lekktu@gmail.com>
12840
12841 * textmodes/reftex-toc.el (reftex-toc-return-marker, reftex-toc-help)
12842 (reftex-toc, reftex-toc, reftex-toc-dframe-p, reftex-toc-next-heading)
12843 (reftex-toc-previous-heading, reftex-toc-max-level)
12844 (reftex-toc-goto-line-and-hide, reftex-toc-show-calling-point)
12845 (reftex-toc-quit, reftex-toc-revert, reftex-toc-jump)
12846 (reftex-toc-do-promote, reftex-toc-promote-prepare)
12847 (reftex-toc-promote-action, reftex-toc-extract-section-number)
12848 (reftex-toc-load-all-files-for-promotion, reftex-toc-rename-label)
12849 (reftex-toc-rename-label, reftex-toc-visit-location)
12850 (reftex-toc-visit-location, reftex-toggle-auto-toc-recenter)
12851 (reftex-toggle-auto-toc-recenter, reftex-toggle-auto-toc-recenter)
12852 (reftex-make-separate-toc-frame): Fix typos, and use TOC consistently,
12853 leaving "*toc*" only for references to the buffer.
12854
a0c2d0ae
MR
128552011-11-17 Martin Rudalics <rudalics@gmx.at>
12856
12857 * window.el (window-resize, delete-window, split-window):
12858 Replace window-splits by window-combination-resize.
1d00653d 12859 * cus-start.el (window-splits): Replace by window-combination-resize.
a0c2d0ae 12860
35c0bac8
GM
128612011-11-17 Glenn Morris <rgm@gnu.org>
12862
12863 * progmodes/sh-script.el (sh-font-lock-keywords-var):
12864 Make bash entry derive from sh entry, not shell entry.
12865
d0c8fc8a
MA
128662011-11-16 Michael Albinus <michael.albinus@gmx.de>
12867
7262a87c
MA
12868 * net/tramp-sh.el (tramp-sh-handle-file-truename): Cache only the
12869 local file name.
12870
7877f373
JB
128712011-11-16 Juanma Barranquero <lekktu@gmail.com>
12872
12873 * menu-bar.el (menu-bar-file-menu):
12874 * printing.el (pr-ps-utility):
12875 * calendar/icalendar.el (icalendar, icalendar--convert-tz-offset)
12876 (icalendar--convert-to-ical, icalendar--convert-ordinary-to-ical)
12877 (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
12878 (icalendar--convert-sexp-to-ical, icalendar--convert-block-to-ical)
12879 (icalendar--convert-float-to-ical, icalendar--convert-date-to-ical)
12880 (icalendar--convert-cyclic-to-ical)
12881 (icalendar--convert-anniversary-to-ical, icalendar-import-buffer)
12882 (icalendar--convert-ical-to-diary)
12883 (icalendar--convert-recurring-to-diary)
12884 (icalendar--convert-non-recurring-all-day-to-diary)
12885 (icalendar-import-format-sample):
12886 * progmodes/idlw-shell.el (idlwave-shell-mode):
12887 * progmodes/vhdl-mode.el (vhdl-mode, vhdl-print-two-column)
12888 (vhdl-print-customize-faces, vhdl-mode, vhdl-ps-print-settings)
12889 (vhdl-ps-print-init): Fix typos.
12890
10649b82
KM
128912011-11-16 Ken Manheimer <ken.manheimer@gmail.com>
12892
9d0cfcd6
GM
12893 * allout.el, allout-widgets.el (file metadata): Attribute copyright to
12894 FSF and collapse date sequence, obscure author/maintainer email address
12895 better, remove extra version line, track relocation of author's webpage.
10649b82 12896
9d0cfcd6
GM
12897 * progmodes/python.el (python-pdbtrack-input-prompt)
12898 (python-pdbtrack-track-stack-file): Adjust to recognize ipdb as well as
12899 regular python pdb prompts. Adjustments shamelessly taken exactly as
12900 suggested in EmacsWiki page (tiny change):
12901 http://www.emacswiki.org/PythonProgrammingInEmacs#toc14
8642c216 12902
58179cce
JB
129032011-11-16 Juanma Barranquero <lekktu@gmail.com>
12904
12905 * expand.el (expand-pos, expand-index, expand-point):
12906 Remove redundant info from docstring.
12907 (expand-add-abbrevs): Doc fix.
12908 (expand-c-sample-expand-list, expand-sample-lisp-mode-expand-list)
12909 (expand-sample-perl-mode-expand-list): Fix typos.
12910
12911 * net/dbus.el (dbus-event-member-name):
12912 * play/5x5.el (5x5-solve-rotate-left, 5x5-solver-output):
12913 * term/pc-win.el (msdos-create-frame-with-faces):
12914 * textmodes/texinfmt.el (texinfo-format-image): Fix typos.
12915
b6f67890
MR
129162011-11-16 Martin Rudalics <rudalics@gmx.at>
12917
12918 * window.el (split-window, window-state-get-1)
12919 (window-state-put-1, window-state-put-2): Rename occurrences of
12920 window-nest to window-combination-limit.
1d00653d 12921 * cus-start.el (window-nest): Rename to window-combination-limit.
b6f67890 12922
ce7ddba0
CY
129232011-11-16 Chong Yidong <cyd@gnu.org>
12924
12925 * progmodes/autoconf.el (autoconf-mode): Fix comment-start-skip
12926 regexp (Bug#10033).
12927
3ae704f4
SM
129282011-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
12929
12930 * tmm.el (tmm-prompt): Use minibuffer-with-setup-hook (bug#10053).
12931 `completing-read' will remove *Completions* and will preserve
12932 current-buffer for us.
12933 (tmm-add-prompt): Users of *Completions* will always (re)set its
12934 major mode.
12935 (tmm-old-comp-map): Remove.
12936
6ad1cdde
GM
129372011-11-16 Glenn Morris <rgm@gnu.org>
12938
12939 * mail/rmailedit.el: Require rmailmm when compiling.
12940 (rmail-old-mime-state): New declaration.
12941 (rmail-edit-current-message): If editing a mime message,
12942 edit the "raw" message from the mbox buffer.
12943 (rmail-cease-edit): Handle mime messages. (Bug#9840)
12944
d20faa20
GM
129452011-11-15 Glenn Morris <rgm@gnu.org>
12946
12947 * mail/rmailmm.el (rmail-mime-toggle-raw): Remove entity arg,
12948 which wasn't being used. Add optional arg to force given state.
12949 (rmail-mime): Add optional arg to force given state.
12950
c7015153
JB
129512011-11-15 Juanma Barranquero <lekktu@gmail.com>
12952
12953 * allout.el (allout-encryption-plaintext-sanitization-regexps):
12954 * frame.el (display-mm-dimensions-alist):
12955 * outline.el (outline-mode-menu-bar-map, outline-move-subtree-up)
12956 (outline-move-subtree-down):
12957 * net/newst-treeview.el (newsticker--treeview-do-get-node-of-feed)
12958 (newsticker--treeview-do-get-node):
12959 * net/quickurl.el (quickurl-list-buffer-name):
12960 * progmodes/dcl-mode.el (dcl-mode):
12961 * progmodes/gdb-mi.el (gdb-mapcar*):
12962 * progmodes/sql.el (sql-mode-oracle-font-lock-keywords): Fix typos.
12963
45261b50
GM
129642011-11-15 Glenn Morris <rgm@gnu.org>
12965
12966 * mail/rmail.el (rmail-file-coding-system): It's only ever used
12967 in a boolean sense, so just make it a boolean, and fix the doc.
12968 (rmail-show-mime-function, rmail-mime-feature)
12969 (rmail-require-mime-maybe): Doc fixes.
12970 (rmail-show-message-1): Check rmail-show-mime-function is non-nil.
12971
12972 * mail/rmailmm.el (rmail-show-mime): Doc fix.
12973
0d26e0b6
JB
129742011-11-15 Juanma Barranquero <lekktu@gmail.com>
12975
12976 * epg.el (epg-start-decrypt, epg-start-verify, epg-start-sign)
12977 (epg-start-encrypt, epg-start-export-keys, epg-start-import-keys)
12978 (epg-start-receive-keys, epg-start-delete-keys, epg-start-sign-keys)
12979 (epg-start-generate-key, epg-context-set-progress-callback): Fix typos.
12980
447f30f6
GM
129812011-11-15 Glenn Morris <rgm@gnu.org>
12982
672b871d
GM
12983 * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-segment)
12984 (rmail-mime-shown-mode, rmail-mime-hidden-mode, rmail-mime-raw-mode)
12985 (rmail-mime-toggle-hidden, rmail-mime-insert-tagline)
12986 (rmail-mime-insert-header, rmail-mime-handle, rmail-mime-parse)
12987 (rmail-mime, rmail-show-mime): Doc fixes.
12988
f6aa5bb1
GM
12989 * term/ns-win.el (mode-line-frame-identification):
12990 Leave it alone. (Bug#10051)
12991
947cd66b
GM
12992 * simple.el (mark-whole-buffer): Doc fix. (Bug#10023)
12993
447f30f6
GM
12994 * mail/rmailout.el (rmail-output-to-rmail-buffer):
12995 Handle empty buffers. (Bug#9978)
12996
0b381c7e
JB
129972011-11-14 Juanma Barranquero <lekktu@gmail.com>
12998
12999 * international/mule.el (define-charset):
13000 * mail/rmailmm.el (rmail-mime-find-header-encoding):
13001 * progmodes/prolog.el (prolog-mode-hook, prolog-inferior-mode-hook):
13002 * progmodes/verilog-mode.el (verilog-backward-token):
13003 * textmodes/ispell.el (lookup-words):
13004 * textmodes/sgml-mode.el (sgml-guess-indent): Fix typos.
13005
71e027ac
GM
130062011-11-14 Glenn Morris <rgm@gnu.org>
13007
56632ce4
GM
13008 * progmodes/executable.el
13009 (executable-make-buffer-file-executable-if-script-p):
13010 Handle file-modes returning nil.
13011
40500957
GM
13012 * mail/rmailsum.el (rmail-summary): Remove movement to beginning of
13013 message - not necessary, and causes problems. (Bug#9831)
13014
071c2340
GM
13015 * mail/rmailsum.el (rmail-new-summary): Preserve message number.
13016
d3cfca60
GM
13017 * mail/rmail.el (rmail-no-mail-p): Remove mode-line N/M indicator.
13018
71e027ac
GM
13019 * mail/rmailsum.el (rmail-summary, rmail-new-summary)
13020 (rmail-new-summary-1): Allow empty summaries. (Bug#9964)
13021 (rmail-new-summary): Remember that rmail-summary-buffer is buffer-local.
13022
89d61221
MR
130232011-11-12 Martin Rudalics <rudalics@gmx.at>
13024
13025 * window.el (window-resize, delete-window): Use window-splits
13026 variable instead of function.
13027 (window-state-get-1, window-state-put-2, window-state-put):
13028 Don't deal with windows' splits status.
13029
98282f6f
GM
130302011-11-12 Glenn Morris <rgm@gnu.org>
13031
13032 * apropos.el (apropos-do-all, apropos-library, apropos-value)
13033 (apropos-documentation): Doc fixes.
13034
40a8bdf6
JB
130352011-11-11 Juanma Barranquero <lekktu@gmail.com>
13036
13037 * progmodes/idlw-shell.el (idlwave-shell-make-new-bp-overlay):
13038 * textmodes/sgml-mode.el (html-tag-help): Fix typos.
13039
65bd19ff
SM
130402011-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
13041
13042 * electric.el (electric-indent-post-self-insert-function): Make it
13043 possible for a char to only indent in some circumstances.
13044 (electric-indent-mode): Simplify.
13045
54f9154c
MR
130462011-11-11 Martin Rudalics <rudalics@gmx.at>
13047
13048 * window.el (windows-with-parameter): Remove unused function.
13049 (windows-at-side): Rename to window-at-side-list.
13050 (window-check, window-atom-check, window-atom-check-1)
5e92ca23
MR
13051 (window-side-check, window-size-ignore, window-size-fixed-1)
13052 (window-in-direction-2): Prefix with "window--".
13053 (window-tree-1): Rename to window--subtree, fix doc-string.
54f9154c 13054
68cbc58b
GM
130552011-11-11 Glenn Morris <rgm@gnu.org>
13056
13057 * subr.el (eval-after-load): If FILE is already loaded,
13058 evaluate FORM before it gets wrapped in more stuff. (Bug#10009)
13059
b2621720
GM
130602011-11-10 Glenn Morris <rgm@gnu.org>
13061
9a4de110
GM
13062 * vc/vc-svn.el (vc-svn-create-repo, vc-svn-modify-change-comment):
13063 Call svn via vc-svn-command rather than vc-do-command.
13064 (vc-svn-command): Add --non-interactive. (Bug#9993)
13065 (vc-svn-update, vc-svn-merge-news): No need for --non-interactive.
13066
b2621720
GM
13067 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
13068 Add toggle-read-only. (Bug#7292)
13069 * files.el (toggle-read-only): Mention that it should only
13070 be used interactively. (Bug#10006)
13071
1dce7193
SM
130722011-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
13073
d9ac1a1e
SM
13074 * progmodes/compile.el (compilation-error-regexp-alist-alist):
13075 Adjust regexp for OCaml warnings.
13076
0c325082
SM
13077 * electric.el (electric-pair-post-self-insert-function): Let user
13078 turn it off buffer-locally (bug#9932).
13079
90132c14
SM
13080 * progmodes/python.el (python-beginning-of-statement):
13081 Rewrite (bug#2703).
13082
1dce7193
SM
13083 * progmodes/compile.el: Better handle TABs (bug#9749).
13084 (compilation-internal-error-properties)
13085 (compilation-next-error-function): Obey the target buffer's
13086 compilation-error-screen-columns.
13087
c4e7c63a
JB
130882011-11-09 Juanma Barranquero <lekktu@gmail.com>
13089
13090 * progmodes/meta-mode.el: Remove obsolete comments.
13091 (meta-right-comment-regexp, meta-ignore-comment-regexp):
13092 Fix typos in docstrings.
13093
2cffd681
MR
130942011-11-09 Martin Rudalics <rudalics@gmx.at>
13095
13096 * window.el (window-size-fixed-p): Rewrite doc-string.
1dce7193 13097 (window-resizable-p): Rename to window--resizable-p. Update callers.
2cffd681
MR
13098 (window--resizable): New function. Make all callers of
13099 window-resizable call window--resizable instead.
13100 (window-resizable): Rewrite in terms of window--resizable.
13101
0edcba87
GM
131022011-11-08 Glenn Morris <rgm@gnu.org>
13103
13104 * progmodes/delphi.el (delphi-mode-syntax-table):
13105 Let define-derived-mode define a proper syntax table. (Bug#9994)
13106
4b0d61e3
SM
131072011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
13108
13109 * window.el: Stay away from defsubst.
13110 (window-list-no-nils): Remove.
13111 (window-state-get-1, window-state-get): Use backquote instead.
13112
cd394be1 131132011-11-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
fcbcac2e 13114
4b0d61e3 13115 * emacs-lisp/find-func.el (find-function-read):
fcbcac2e 13116 Fix incorrect use of default argument in `completing-read'.
13117
e1c2c6f2
MR
131182011-11-08 Martin Rudalics <rudalics@gmx.at>
13119
13120 * window.el (display-buffer-function, special-display-function):
13121 Mention display-buffer-record-window but do not mention
13122 help-setup parameter in doc-strings.
b3f4a882 13123 (window-min-delta): Fix doc-string typo.
e1c2c6f2 13124
105216ed
CY
131252011-11-08 Chong Yidong <cyd@gnu.org>
13126
13127 * window.el (window-total-height, window-total-width): Doc fix.
13128 (window-body-size): Move from C.
13129 (window-body-height, window-body-width): Move to C.
13130
0a9f9ab5
SM
131312011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
13132
13133 * window.el: Make special-display like display-buffer-alist (bug#9532).
13134 (display-buffer--special-action): New function, morphed
13135 from display-buffer--special.
13136 (display-buffer): Use it to handle special-display-buffers at higher
13137 priority (just after display-buffer-alist).
13138 (display-buffer-fallback-action, display-buffer--other-frame-action)
13139 (pop-to-buffer-same-window): Remove display-buffer--special.
13140
a769dd15
GM
131412011-11-07 Glenn Morris <rgm@gnu.org>
13142
13143 * calendar/cal-menu.el (cal-menu-set-date-title):
13144 Do nothing if not in a calendar. (Bug#9976)
13145
05a61ee3
SM
131462011-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
13147
13148 * files.el (find-file): Always use selected-window.
13149
be7f5545
MR
131502011-11-07 Martin Rudalics <rudalics@gmx.at>
13151
13152 * window.el (window-combinations): Make WINDOW argument
13153 mandatory. Rewrite doc-string.
13154 (walk-window-subtree, window-atom-check, window-min-delta)
13155 (window-max-delta, window--resize-this-window)
13156 (window--resize-root-window-vertically, window-tree)
13157 (balance-windows, window-state-put): Rewrite doc-strings as to
13158 not mention the term "subwindow".
13159 (window--resize-subwindows-skip-p): Rename to
13160 window--resize-child-windows-skip-p.
13161 (window--resize-subwindows-normal): Rename to
13162 window--resize-child-windows-normal.
13163 (window--resize-subwindows): Rename to
13164 window--resize-child-windows.
13165 (window-or-subwindow-p): Rename to window--in-subtree-p.
13166
3c6702ef
ML
131672011-11-07 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
13168
13169 * mail/rmail.el (rmail-get-new-mail, rmail-insert-inbox-text):
13170 Ensure that mbox format messages end in two newlines (Bug#9974).
13171
49745b39
CY
131722011-11-06 Chong Yidong <cyd@gnu.org>
13173
13174 * window.el (window-combination-p): Function deleted; its
13175 side-effect is not used in any existing code.
13176 (window-combinations, window-combined-p): Call window-*-child
13177 directly.
13178
24300f5f
CY
131792011-11-05 Chong Yidong <cyd@gnu.org>
13180
13181 * window.el (window-valid-p): Rename from window-any-p.
447f16b8
CY
13182 (window-size-ignore, window-state-get): Callers changed.
13183 (window-normalize-window): Rename from window-normalize-any-window.
13184 New arg LIVE-ONLY, replacing window-normalize-live-window.
1dce7193 13185 (window-normalize-live-window): Delete.
447f16b8
CY
13186 (window-combination-p, window-combined-p, window-combinations)
13187 (walk-window-subtree, window-atom-root, window-min-size)
13188 (window-sizable, window-sizable-p, window-size-fixed-p)
13189 (window-min-delta, window-max-delta, window-resizable)
13190 (window-resizable-p, window-full-height-p, window-full-width-p)
13191 (window-current-scroll-bars, window-point-1, set-window-point-1)
13192 (window-at-side-p, window-in-direction, window-resize)
13193 (adjust-window-trailing-edge, maximize-window, minimize-window)
13194 (window-deletable-p, delete-window, delete-other-windows)
13195 (record-window-buffer, unrecord-window-buffer)
13196 (switch-to-prev-buffer, switch-to-next-buffer, window--delete)
13197 (quit-window, split-window, window-state-put)
13198 (set-window-text-height, fit-window-to-buffer)
13199 (shrink-window-if-larger-than-buffer): Callers changed.
24300f5f 13200
89bd5ee1
EZ
132012011-11-04 Eli Zaretskii <eliz@gnu.org>
13202
53479029
EZ
13203 * mail/rmail.el (rmail-simplified-subject): Decode subject with
13204 rfc2047-decode-string.
13205 (rmail-mime-toggle-hidden): Declare to avoid byte-compilation
13206 warnings.
13207
89bd5ee1
EZ
13208 * window.el (window-body-height, window-body-width): Mention in
13209 the doc string that the return values are in frame's canonical
13210 units. (Bug#9949)
13211
bd17fdee
AM
132122011-11-03 Alan Mackenzie <acm@muc.de>
13213
13214 * progmodes/cc-langs.el (c-nonlabel-token-2-key): New variable for
13215 change in cc-engine.el.
13216
acc825c5
SM
132172011-11-02 Stefan Monnier <monnier@iro.umontreal.ca>
13218
13219 * window.el (switch-to-buffer): Use `force-same-window' interactively.
13220
1885e5b8
MR
132212011-11-02 Martin Rudalics <rudalics@gmx.at>
13222
13223 * window.el (quit-window): Call unrecord-window-buffer after
13224 showing another buffer in the window. (Bug#9937)
acc825c5 13225 (bury-buffer): Call switch-to-prev-buffer with second argument `bury'.
1885e5b8 13226
ebe06da9
JB
132272011-11-02 Juanma Barranquero <lekktu@gmail.com>
13228
13229 * vc/vc-bzr.el (vc-bzr-state, vc-bzr-after-dir-status):
13230 Accept status with more than 9 shelves. (Bug#9935)
13231 Reported by Colin D Bennett <colin@gibibit.com>.
13232
4ee88440
MR
132332011-11-01 Martin Rudalics <rudalics@gmx.at>
13234
13235 * help.el (with-help-window): Don't reference
13236 temp-buffer-show-specifiers in doc-string.
13237
08e1d82c
AS
132382011-10-31 Andreas Schwab <schwab@linux-m68k.org>
13239
13240 * subr.el (keymap--menu-item-with-binding): Ignore item if not a
13241 menu-item.
13242
84bd6e9e
VJL
132432011-10-30 Vinicius Jose Latorre <viniciusjl@ig.com.br>
13244
13245 * whitespace.el: New version 13.2.2.
13246 (whitespace-newline-mode): Disable properly. Reported by Sarah
13247 <EmacsWiki>.
13248
dba0634a
UJ
132492011-10-30 Ulf Jasper <ulf.jasper@web.de>
13250
13251 * net/newst-treeview.el: Remove "Time-stamp".
13252 (newsticker--group-manage-orphan-feeds): Do not call
13253 newsticker--treeview-tree-update.
db22a3c2
JB
13254 (newsticker-treeview-update, newsticker-treeview):
13255 Call newsticker--treeview-tree-update if necessary.
dba0634a 13256
3d8daefe
MR
132572011-10-30 Martin Rudalics <rudalics@gmx.at>
13258
13259 * window.el (window-iso-combination-p, window-iso-combined-p)
acc825c5
SM
13260 (window-iso-combinations): Remove "iso-" infix.
13261 Suggested by Chong Yidong.
3d8daefe
MR
13262 (window-min-size-1, window-size-fixed-1, window-min-delta-1)
13263 (window-max-delta-1, window-resize, window--resize-siblings)
13264 (window--resize-this-window, adjust-window-trailing-edge)
13265 (split-window, balance-windows-1)
13266 (shrink-window-if-larger-than-buffer):
13267 * calendar/calendar.el (calendar-generate-window):
db22a3c2 13268 * help.el (resize-temp-buffer-window): Adjust callers accordingly.
3d8daefe 13269
1bc4c3ae
SM
132702011-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
13271
13272 * eshell/esh-cmd.el (eshell-rewrite-for-command): Don't modify the list
13273 in place (bug#9907).
13274 (eshell-subcommand-arg-values, eshell-rewrite-named-command)
13275 (eshell-rewrite-if-command, eshell-rewrite-for-command)
13276 (eshell-structure-basic-command, eshell-rewrite-while-command)
13277 (eshell-invokify-arg, eshell-parse-pipeline, eshell-parse-command)
13278 (eshell-parse-subcommand-argument, eshell-parse-lisp-argument)
13279 (eshell-trap-errors, eshell-do-pipelines, eshell-do-eval)
13280 (eshell-do-pipelines-synchronously, eshell-eval-command):
13281 Use backquotes and prefer setq to set.
13282 (eshell-lookup-function, function-p-func, eshell-functionp): Remove.
13283 (eshell-macrop): Use functionp.
c1e2f5fa 13284 (eshell-do-eval): Handle multiple expressions in `while' body.
1bc4c3ae 13285
30b65d9c
CY
132862011-10-30 Chong Yidong <cyd@gnu.org>
13287
13288 * emulation/viper-cmd.el (viper-exec-change): Use push-mark
13289 instead of set-mark (Bug#9810).
13290
2d197ffb
CY
132912011-10-30 Chong Yidong <cyd@gnu.org>
13292
13293 * window.el (split-window-below, split-window-right): Rename from
13294 split-window-above-each-other and split-window-side-by-side
13295 respectively. All callers changed.
13296 (split-window-sensibly, split-window-sensibly): Use them.
13297 (split-window-keep-point): Doc fix.
13298
13299 * isearch.el: Add isearch-scroll property to split-window-below
13300 and split-window-right.
13301
13302 * follow.el (follow-mode):
13303 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
13304 * progmodes/ada-xref.el (ada-gdb-application):
13305 * emulation/vip.el (vip-buffer-in-two-windows):
13306 * image-dired.el (image-dired-dired-with-window-configuration):
13307 * dired-x.el (dired-do-find-marked-files):
13308 * dired.el (dired-pop-to-buffer):
13309 * bs.el (bs--show-with-configuration):
13310 * vc/emerge.el (emerge-setup-windows):
13311 * textmodes/two-column.el (2C-two-columns):
13312 * textmodes/reftex-toc.el (reftex-toc):
13313 * progmodes/gdb-mi.el (gdb-setup-windows):
13314 * progmodes/fortran.el (fortran-window-create):
13315 * net/newst-treeview.el (newsticker--treeview-window-init):
13316 * emulation/ws-mode.el (wordstar-C-o-map, wordstar-mode):
13317 * emulation/tpu-edt.el (tpu-gold-map):
13318 * emulation/crisp.el (crisp-mode-map):
13319 * calendar/calendar.el (calendar-basic-setup): Callers changed.
13320
38bb2ca8
CY
133212011-10-29 Chong Yidong <cyd@gnu.org>
13322
aa4de341
CY
13323 * subr.el (y-or-n-p): Add code for batch mode (Bug#9818).
13324
e1eb5385
CY
13325 * mouse.el (mouse-yank-primary): Push the mark (Bug#9894).
13326
5d2ece3c
CY
13327 * textmodes/flyspell.el (flyspell-word): Fix char offset for
13328 forged Ispell output (Bug#7904).
13329
38bb2ca8
CY
13330 * emacs-lisp/package.el (package-refresh-contents): Add autoload.
13331
d0af9f77
SM
133322011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
13333
13334 * doc-view.el: Avoid ugly errors about not finding nil.
13335 (doc-view-ghostscript-program, doc-view-dvipdfm-program)
13336 (doc-view-dvipdf-program, doc-view-unoconv-program)
13337 (doc-view-ps2pdf-program, doc-view-pdftotext-program):
13338 Avoid nil or absolute file name as default value.
13339 (doc-view-pdf->txt, doc-view-ps->pdf): Use executable-find here.
13340
52bedd34
AM
133412011-10-28 Alan Mackenzie <acm@muc.de>
13342
db22a3c2 13343 * progmodes/cc-defs.el (c-version): -> 5.32.2.
52bedd34 13344
7e43cfa5
AM
133452011-10-28 Alan Mackenzie <acm@muc.de>
13346
13347 Amend the handling of c-beginning/end-of-defun in nested declaration
13348 scopes.
13349
52bedd34
AM
13350 * progmodes/cc-vars.el (c-defun-tactic): Move here from
13351 cc-langs.el. Change it to a defcustom.
7e43cfa5 13352
52bedd34
AM
13353 * progmodes/cc-langs.el (c-defun-tactic): Move this variable to
13354 cc-vars.el.
7e43cfa5 13355
d0af9f77
SM
13356 * progmodes/cc-engine.el (c-beginning-of-statement-1):
13357 Prevent "class foo : bar" being spuriously recognized as a label.
7e43cfa5 13358
52bedd34 13359 * progmodes/cc-cmds.el (c-narrow-to-most-enclosing-decl-block):
acc825c5 13360 Add parameter `inclusive' (to include enclosing braces in the region).
7e43cfa5
AM
13361 (c-widen-to-enclosing-decl-scope): New function.
13362 (c-while-widening-to-decl-block): New macro.
13363 (c-beginning-of-defun, c-end-of-defun): Change algorithm to keep going
13364 outward for defun boundaries, and correspondingly change symbol
13365 `respect-enclosure' to `go-outward'.
13366 (c-declaration-limits): Change algorithm to report only the "innermost"
13367 defun's boundaries.
13368
1a2ce9ee
DD
133692011-10-28 Deniz Dogan <deniz@dogan.se>
13370
13371 * net/rcirc.el (rcirc-mode): Use hard newlines.
13372
bc97a826
AM
133732011-10-28 Alan Mackenzie <acm@muc.de>
13374
13375 Amend to indent and fontify macros "which include their own semicolon"
13376 correctly, using the "virtual semicolon" mechanism.
13377
52bedd34 13378 * progmodes/cc-defs.el: Update "virtual semicolon" comments.
bc97a826 13379
d0af9f77 13380 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
7877f373 13381 Recode to scan one line at a time rather than having \n and \r
58179cce 13382 explicitly in c-stmt-delim-chars (for some modes, e.g. AWK).
bc97a826 13383 (c-forward-label): Amend for virtual semicolons.
58179cce 13384 (c-at-macro-vsemi-p, c-macro-vsemi-status-unknown-p): New functions.
bc97a826 13385
52bedd34
AM
13386 * progmodes/cc-fonts.el (c-font-lock-declarations): Take account
13387 of the new C macros.
bc97a826 13388
52bedd34 13389 * progmodes/cc-langs.el (c-at-vsemi-p-fn):
acc825c5
SM
13390 (c-vsemi-status-unknown-p-fn): Move to earlier in the file.
13391 (c-opt-cpp-symbol, c-line-comment-start-regexp): New language vars.
bc97a826
AM
13392 (c-opt-cpp-macro-define): Make into a full language variable.
13393 (c-stmt-delim-chars, c-stmt-delim-chars-with-comma): Special value for
13394 AWK Mode (including \n, \r) removed, no longer needed.
13395
d0af9f77
SM
13396 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode):
13397 Invoke c-make-macro-with-semi-re.
bc97a826 13398
52bedd34
AM
13399 * progmodes/cc-vars.el (c-macro-with-semi-re):
13400 (c-macro-names-with-semicolon): New variables.
58179cce 13401 (c-make-macro-with-semi-re): New function.
bc97a826 13402
7a6c0941
SM
134032011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
13404
13405 * vc/log-edit.el: Fill empty field rather than adding new one.
13406 (log-edit-add-field): New function.
13407 (log-edit-insert-changelog): Use it.
13408
b0c4cdcf
ML
134092011-10-28 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
13410
13411 * mail/rmail.el (rmail-mode-map): Add M-C-f as in rmailsum (bug#9802).
13412
ee1f1da9
SM
134132011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
13414
13415 * progmodes/gdb-mi.el: Warn the user when -i=mi is missing.
13416 (gdb--check-interpreter): New function.
13417 (gdb): Use it.
13418
51bc5f8b
GM
134192011-10-27 Glenn Morris <rgm@gnu.org>
13420
416a2c45
GM
13421 * emacs-lisp/cl-extra.el (most-positive-float, most-negative-float)
13422 (least-positive-float, least-negative-float)
13423 (least-positive-normalized-float, least-negative-normalized-float)
13424 (float-epsilon, float-negative-epsilon):
13425 Remove unnecessary declarations.
13426
13427 * emacs-lisp/cl-extra.el (cl-float-limits): Add doc string.
13428 * emacs-lisp/cl.el (most-positive-float, most-negative-float)
13429 (least-positive-float, least-negative-float)
13430 (least-positive-normalized-float, least-negative-normalized-float)
13431 (float-epsilon, float-negative-epsilon): Add doc-strings,
13432 based on those in cl.texi.
13433
51bc5f8b
GM
13434 * files.el (set-visited-file-name): If the major-mode changed,
13435 reload the local variables. (Bug#9796)
13436
15de15c6
CY
134372011-10-27 Chong Yidong <cyd@gnu.org>
13438
13439 * subr.el (change-major-mode-after-body-hook): New hook.
13440 (run-mode-hooks): Run it.
13441
ee1f1da9
SM
13442 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
13443 Use change-major-mode-before-body-hook.
15de15c6
CY
13444
13445 * simple.el (fundamental-mode):
13446 * emacs-lisp/derived.el (define-derived-mode): Revert 2010-04-28
13447 change introducing fundamental-mode-hook.
13448
5430d399
JB
134492011-10-26 Juanma Barranquero <lekktu@gmail.com>
13450
acc825c5 13451 * term/w32-win.el (w32-default-color-map): Declare obsolete (Bug#9785).
5430d399 13452
ad74a69e
MA
134532011-10-26 Michael Albinus <michael.albinus@gmx.de>
13454
13455 * ido.el (ido-file-name-all-completions-1): Do not require
c7015153 13456 tramp.el explicitly. (Bug#7583)
ad74a69e 13457
71d4c2a5
SM
134582011-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
13459
13460 * progmodes/octave-mod.el:
13461 * progmodes/octave-inf.el: Update maintainer.
13462
b1f6fa26
CY
134632011-10-26 Chong Yidong <cyd@gnu.org>
13464
13465 * subr.el (with-wrapper-hook): Rewrite doc.
13466
3f04efd6
MA
134672011-10-25 Michael Albinus <michael.albinus@gmx.de>
13468
13469 * net/tramp-sh.el (tramp-sh-handle-file-directory-p): Return t for
ad74a69e 13470 filenames "/method:foo:". (Bug#9793)
3f04efd6 13471
410488d3
SM
134722011-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
13473
13474 * comint.el (comint-get-old-input-default): Fix use-prompt-regexp case
13475 (bug#9865).
13476
c1ebb47e
GM
134772011-10-24 Glenn Morris <rgm@gnu.org>
13478
13479 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix. (Bug#9819)
13480
7f5c46c7
MA
134812011-10-24 Michael Albinus <michael.albinus@gmx.de>
13482
13483 * notifications.el: Add the requirement of a running D-Bus session
13484 bus to the Commentary.
13485
db2440b6
JL
134862011-10-24 Juri Linkov <juri@jurta.org>
13487
13488 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
13489 `search-whitespace-regexp' only when `isearch-regexp' is non-nil.
13490 (Bug#9364)
13491
feecf435
JL
134922011-10-24 Juri Linkov <juri@jurta.org>
13493
13494 * info.el (Info-following-node-name-re): Add newline to the list
13495 of allowed characters for leading space. (Bug#9824)
13496
a3839de2
SM
134972011-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
13498
acc825c5
SM
13499 * progmodes/octave-inf.el (inferior-octave-mode-map):
13500 Fix C-c C-h binding.
a3839de2
SM
13501 * progmodes/octave-mod.el (octave-help): Remove.
13502
09388e76
MA
135032011-10-23 Michael Albinus <michael.albinus@gmx.de>
13504
13505 Sync with Tramp 2.2.3.
13506
13507 * net/tramp-cache.el (top): Pacify byte-compiler using
13508 `init-file-user' and `site-run-file'.
13509
13510 * net/trampver.el: Update release number.
13511
86c60681
CY
135122011-10-23 Chong Yidong <cyd@gnu.org>
13513
13514 * files.el (toggle-read-only): Remove obsolete comment about
13515 version control.
13516
13517 * vc/vc-hooks.el (vc-toggle-read-only): Make it an obsolete alias
13518 for toggle-read-only. Note that this hasn't called vc-next-action
13519 since 2008-05-02, though it wasn't documented at the time.
13520
a3839de2
SM
13521 * vc/ediff-init.el (ediff-toggle-read-only-function):
13522 Use toggle-read-only.
86c60681 13523
cd5495ff
AM
135242011-10-22 Alan Mackenzie <bug-cc-mode@gnu.org>
13525
13526 Fix bug #9560, sporadic wrong indentation; improve instrumentation
13527 of c-parse-state.
13528
00b77525 13529 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
a3839de2 13530 correct faulty logical expression.
cd5495ff
AM
13531 (c-parse-state-state, c-record-parse-state-state):
13532 (c-replay-parse-state-state): New defvar/defuns.
13533 (c-debug-parse-state): Use new functions.
13534
42ee24ed
MR
135352011-10-22 Martin Rudalics <rudalics@gmx.at>
13536
13537 * mouse.el (mouse-drag-line): Fix minibuffer resizing broken by
53ebff1f 13538 last fix. Use window-in-direction correctly.
42ee24ed 13539
a7dee7e7
CY
135402011-10-21 Chong Yidong <cyd@gnu.org>
13541
13542 * progmodes/idlwave.el (idlwave-mode):
13543 * progmodes/vera-mode.el (vera-mode): No need to set
a3839de2
SM
13544 require-final-newline; that's done in prog-mode.
13545 Suggested by Stefan Monnier.
a7dee7e7 13546
e07b9a6d
MR
135472011-10-21 Martin Rudalics <rudalics@gmx.at>
13548
13549 * mouse.el (mouse-drag-window-above)
13550 (mouse-drag-move-window-bottom, mouse-drag-move-window-top)
13551 (mouse-drag-mode-line-1, mouse-drag-header-line)
13552 (mouse-drag-vertical-line-rightward-window): Remove.
13553 (mouse-drag-line): New function.
13554 (mouse-drag-mode-line, mouse-drag-header-line)
13555 (mouse-drag-vertical-line): Call mouse-drag-line.
13556 * window.el (window-at-side-p, windows-at-side): New functions.
13557
7e1361d9
UM
135582011-10-21 Ulrich Mueller <ulm@gentoo.org>
13559
13560 * tar-mode.el (tar-grind-file-mode):
13561 Fix handling of setuid/setgid, handle sticky bit. (Bug#9817)
13562
30fcaf3a
CY
135632011-10-21 Chong Yidong <cyd@gnu.org>
13564
13565 * progmodes/idlwave.el (idlwave-mode):
a3839de2
SM
13566 * progmodes/vera-mode.el (vera-mode):
13567 Use mode-require-final-newline.
30fcaf3a 13568
516eddb0
GM
135692011-10-20 Glenn Morris <rgm@gnu.org>
13570
db22a3c2 13571 * vc/vc.el (vc-next-action): Handle removed directories. (Bug#9781)
516eddb0 13572
10d5f513
CS
135732011-10-20 Christoph Scholtes <cschol2112@googlemail.com>
13574
13575 * emulation/cua-base.el (cua-set-mark): Fix case of string.
13576
ac6c8639
CY
135772011-10-20 Chong Yidong <cyd@gnu.org>
13578
13579 * emulation/cua-base.el (cua-mode):
13580 * mail/footnote.el (footnote-mode):
13581 * mail/mailabbrev.el (mail-abbrevs-mode):
13582 * net/xesam.el (xesam-minor-mode):
13583 * progmodes/bug-reference.el (bug-reference-mode):
13584 * progmodes/cap-words.el (capitalized-words-mode):
13585 * progmodes/compile.el (compilation-minor-mode)
13586 (compilation-shell-minor-mode):
13587 * progmodes/gud.el (gud-tooltip-mode):
13588 * progmodes/hideif.el (hide-ifdef-mode):
13589 * progmodes/idlw-shell.el (idlwave-shell-electric-debug-mode):
13590 * progmodes/subword.el (subword-mode):
13591 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
13592 * progmodes/which-func.el (which-function-mode):
13593 * term/tvi970.el (tvi970-set-keypad-mode):
13594 * term/vt100.el (vt100-wide-mode):
13595 * textmodes/flyspell.el (flyspell-mode):
13596 * textmodes/ispell.el (ispell-minor-mode):
13597 * textmodes/nroff-mode.el (nroff-electric-mode):
13598 * textmodes/paragraphs.el (use-hard-newlines):
13599 * textmodes/refill.el (refill-mode):
13600 * textmodes/reftex.el (reftex-mode):
13601 * textmodes/rst.el (rst-minor-mode):
13602 * textmodes/sgml-mode.el (html-autoview-mode)
13603 (sgml-electric-tag-pair-mode):
13604 * textmodes/tex-mode.el (latex-electric-env-pair-mode):
13605 * vc/diff-mode.el (diff-auto-refine-mode, diff-minor-mode):
13606 * emulation/crisp.el (crisp-mode):
13607 * emacs-lisp/eldoc.el (eldoc-mode):
13608 * emacs-lisp/checkdoc.el (checkdoc-minor-mode): Doc fixes for new
13609 minor mode behavior.
13610
aa42ab43
JL
136112011-10-19 Juri Linkov <juri@jurta.org>
13612
13613 * descr-text.el (describe-char): Add #x2010 and #x2011 to
13614 the list of hard-coded chars with escape-glyph face.
13615
89400f1d
SM
136162011-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
13617
13618 * vc/log-edit.el (log-edit-empty-buffer-p): Ignore empty headers.
13619
305c07f6
MA
136202011-10-19 Michael Albinus <michael.albinus@gmx.de>
13621
13622 * net/tramp.el (tramp-connectable-p): Make a stronger check on a
13623 running process.
13624
13754b54
GM
136252011-10-19 Glenn Morris <rgm@gnu.org>
13626
13627 * vc/vc-bzr.el (vc-bzr-after-dir-status):
13628 Ignore ignored files. (Bug#9726)
13629
06e21633
CY
136302011-10-19 Chong Yidong <cyd@gnu.org>
13631
13632 Doc fix for minor modes, stating that an omitted argument enables
13633 the mode unconditionally when called from Lisp.
13634
13635 * abbrev.el (abbrev-mode):
13636 * allout.el (allout-mode):
13637 * autoinsert.el (auto-insert-mode):
13638 * autoarg.el (autoarg-mode, autoarg-kp-mode):
13639 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
13640 (global-auto-revert-mode):
13641 * battery.el (display-battery-mode):
13642 * composite.el (global-auto-composition-mode)
13643 (auto-composition-mode):
13644 * delsel.el (delete-selection-mode):
13645 * desktop.el (desktop-save-mode):
13646 * dired-x.el (dired-omit-mode):
13647 * dirtrack.el (dirtrack-mode):
13648 * doc-view.el (doc-view-minor-mode):
13649 * double.el (double-mode):
13650 * electric.el (electric-indent-mode, electric-pair-mode):
13651 * emacs-lock.el (emacs-lock-mode):
13652 * epa-hook.el (auto-encryption-mode):
13653 * follow.el (follow-mode):
13654 * font-core.el (font-lock-mode):
13655 * frame.el (auto-raise-mode, auto-lower-mode, blink-cursor-mode):
13656 * help.el (temp-buffer-resize-mode):
13657 * hilit-chg.el (highlight-changes-mode)
13658 (highlight-changes-visible-mode):
13659 * hi-lock.el (hi-lock-mode):
13660 * hl-line.el (hl-line-mode, global-hl-line-mode):
13661 * icomplete.el (icomplete-mode):
13662 * ido.el (ido-everywhere):
13663 * image-file.el (auto-image-file-mode):
13664 * image-mode.el (image-minor-mode):
13665 * iswitchb.el (iswitchb-mode):
13666 * jka-cmpr-hook.el (auto-compression-mode):
13667 * linum.el (linum-mode):
13668 * longlines.el (longlines-mode):
13669 * master.el (master-mode):
13670 * mb-depth.el (minibuffer-depth-indicate-mode):
13671 * menu-bar.el (menu-bar-mode):
13672 * minibuf-eldef.el (minibuffer-electric-default-mode):
13673 * mouse-sel.el (mouse-sel-mode):
13674 * msb.el (msb-mode):
13675 * mwheel.el (mouse-wheel-mode):
13676 * outline.el (outline-minor-mode):
13677 * paren.el (show-paren-mode):
13678 * recentf.el (recentf-mode):
13679 * reveal.el (reveal-mode, global-reveal-mode):
13680 * rfn-eshadow.el (file-name-shadow-mode):
13681 * ruler-mode.el (ruler-mode):
13682 * savehist.el (savehist-mode):
13683 * scroll-all.el (scroll-all-mode):
13684 * scroll-bar.el (scroll-bar-mode):
13685 * server.el (server-mode):
13686 * shell.el (shell-dirtrack-mode):
13687 * simple.el (auto-fill-mode, transient-mark-mode)
13688 (visual-line-mode, overwrite-mode, binary-overwrite-mode)
13689 (line-number-mode, column-number-mode, size-indication-mode)
13690 (auto-save-mode, normal-erase-is-backspace-mode, visible-mode):
13691 * strokes.el (strokes-mode):
13692 * time.el (display-time-mode):
13693 * t-mouse.el (gpm-mouse-mode):
13694 * tool-bar.el (tool-bar-mode):
13695 * tooltip.el (tooltip-mode):
13696 * type-break.el (type-break-mode-line-message-mode)
13697 (type-break-query-mode):
13698 * view.el (view-mode):
13699 * whitespace.el (whitespace-mode, whitespace-newline-mode)
13700 (global-whitespace-mode, global-whitespace-newline-mode):
13701 * xt-mouse.el (xterm-mouse-mode): Doc fix.
13702
a3839de2
SM
13703 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
13704 Fix autogenerated docstring.
06e21633 13705
5214e501
JL
137062011-10-19 Juri Linkov <juri@jurta.org>
13707
13708 * net/browse-url.el (browse-url-can-use-xdg-open): Support LXDE
13709 by checking environment variables "DESKTOP_SESSION" and
13710 "XDG_CURRENT_DESKTOP". (Bug#9779)
13711
195f8db9
JL
137122011-10-19 Juri Linkov <juri@jurta.org>
13713
13714 * net/browse-url.el (browse-url-browser-function): Add "Chromium".
13715 (browse-url-chromium-program, browse-url-chromium-arguments):
13716 New defcustoms.
13717 (browse-url-default-browser): Check for `browse-url-chromium' and
13718 call `browse-url-chromium-program'.
13719 (browse-url-chromium): New command. (Bug#9779)
13720
343a34ff
JB
137212011-10-18 Juanma Barranquero <lekktu@gmail.com>
13722
13723 * facemenu.el (list-colors-duplicates): On Windows, detect more
13724 duplicates by assuming that only colors matching "^System" are
13725 special "system colors". (Bug#9722)
13726
6978a151
SM
137272011-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
13728
13729 * vc/log-edit.el (log-edit): Add "Author:" header to encourage people
13730 to distinguish the author from the committer.
13731
6a80b297
MA
137322011-10-18 Michael Albinus <michael.albinus@gmx.de>
13733
13734 * net/tramp.el (tramp-file-name-handler): Load Tramp packages silently.
13735
b31a5677
JK
137362011-10-18 Jirka Kosek <jirka@kosek.cz> (tiny change)
13737
13738 * international/mule.el (sgml-html-meta-auto-coding-function):
13739 Add support for detecting encoding in HTML5 specified only as
13740 <meta charset="UTF-8">. Implementation just makes http-equiv and
13741 content-type parts from HTML4 encoding string optional. (Bug#9716)
13742
80c6d77f
GM
137432011-10-18 Glenn Morris <rgm@gnu.org>
13744
13745 * vc/vc.el (vc-initial-comment): Mark as obsolete. (Bug#9745)
13746
08b0fee8
CY
137472011-10-18 Chong Yidong <cyd@gnu.org>
13748
13749 * faces.el (cursor): Doc fix.
13750
67e729a5
CY
137512011-10-17 Chong Yidong <cyd@gnu.org>
13752
13753 * font-lock.el (font-lock-maximum-size): Mark as obsolete.
13754
343a34ff 137552011-10-17 Ryan Barrett <emacs@ryanb.org> (tiny change)
87e478b3
RB
13756
13757 * dirtrack.el (dirtrack): Support shell buffers with path
13758 prefixes, e.g. tramp-based remote shells. (Bug#9647)
13759
0bc06380
TZ
137602011-10-17 Teodor Zlatanov <tzz@lifelogs.com>
13761
13762 * json.el: Bump version to 1.3 and note change in History.
13763 (json-alist-p, json-plist-p): Rewrite to avoid recursion.
13764
8b79f3e0
SM
137652011-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
13766
5a7c536b
SM
13767 * comint.el (comint-insert-input, comint-send-input)
13768 (comint-get-old-input-default, comint-backward-matching-input)
13769 (comint-next-prompt): Use nil instead of `input' for field property of
13770 past user input (bug#114).
13771
96a8a0df
SM
13772 * minibuffer.el (completion--replace): Inherit surrounding properties
13773 (bug#114).
13774 (minibuffer-complete-and-exit): Use it.
13775
8b79f3e0
SM
13776 * comint.el (comint--table-subvert): Quote the all-completions output
13777 (bug#9160).
13778
b8f7ff0d
MR
137792011-10-17 Martin Rudalics <rudalics@gmx.at>
13780
8b79f3e0 13781 * ido.el (ido-default-buffer-method): Remove redundant :type entry.
4e5c3d2b 13782
b8f7ff0d 13783 * menu-bar.el (menu-bar-file-menu): Add entry for making new
d912bdcf 13784 window on right of selected. (Bug#9350) Reword other window
b8f7ff0d
MR
13785 entries and separate them from frame entries.
13786
c235b555
GM
137872011-10-15 Glenn Morris <rgm@gnu.org>
13788
13789 * emacs-lisp/ert.el (ert--explain-equal-rec, ert-select-tests):
13790 Doc fixes.
13791
6bbfa6e1
CY
137922011-10-15 Chong Yidong <cyd@stupidchicken.com>
13793
8b79f3e0
SM
13794 * net/network-stream.el (network-stream-open-starttls):
13795 Improve detection of failure due to lack of TLS support.
ec5c990d 13796
6bbfa6e1
CY
13797 * mail/sendmail.el (sendmail-query-once): Tweak prompt message,
13798 putting the input text in front and in bold.
13799
98488977
SM
138002011-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
13801
3d1337be
SM
13802 * pcmpl-unix.el (pcomplete/ssh): SSH does allow ganging.
13803
ee0b45e4
SM
13804 * mpc.el (mpc-songs-jump-to): Don't burp if the user clicks in an
13805 empty buffer.
13806
98488977
SM
13807 * mouse.el (mouse-drag-mode-line-1): Modify the end-event we pushed on
13808 unread-command-events rather than pushing yet-another event.
13809
186f4720
EZ
138102011-10-14 Eli Zaretskii <eliz@gnu.org>
13811
13812 * mail/sendmail.el (sendmail-query-once): Improve the wording of
13813 the explanation of the possible choices. Make the options passed
13814 to completing-read shorter.
13815
8b7a997c
AM
138162011-10-13 Agustín Martín Domingo <agustin.martin@hispalinux.es>
13817
13818 * textmodes/flyspell.el (flyspell-large-region): Make sure
13819 extended character mode is used if defined (Bug#1339).
13820
12587bbb
EZ
138212011-10-13 Eli Zaretskii <eliz@gnu.org>
13822
13823 * simple.el (what-cursor-position): Fix the display of the
e7e2364b
EZ
13824 character info for LRE, LRO, RLE, and RLO characters by appending
13825 an invisible PDF.
12587bbb 13826
bad41229
SM
138272011-10-13 Stefan Monnier <monnier@iro.umontreal.ca>
13828
13829 * emacs-lisp/timer.el (with-timeout): Make sure we cancel the timer
13830 even in case of error; add debug spec; simplify data flow.
13831 (with-timeout-handler): Remove.
13832
28dbc92f
MA
138332011-10-12 Michael Albinus <michael.albinus@gmx.de>
13834
13835 Fix Bug#6019, Bug#9315.
13836
13837 * files.el (set-auto-mode): Call `file-name-sans-versions' for the
13838 complete `buffer-file-name', the local file name part could look
13839 remotely (for example on VMS).
13840
13841 * net/ange-ftp.el (ange-ftp-run-real-handler): Make it an alias of
13842 `tramp-run-real-handler'.
13843 (ange-ftp-fix-name-for-vms): Handle the case, where `name' is
13844 already quoted by '"'.
13845
13846 * net/tramp.el (tramp-rfn-eshadow-update-overlay): Ignore errors.
13847 Let `file-name-handler-alist' be nil, the local file name part
13848 could look remotely (for example on VMS).
13849
e1b0b23a
SM
138502011-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
13851
13852 * textmodes/flyspell.el (flyspell-word): Move with-local-quit
13853 from here...
13854 (flyspell-post-command-hook): ...to here.
13855
a120bde9
SM
138562011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
13857
13858 * mail/sendmail.el (send-mail-function): Don't use sendmail-query-once
13859 if not needed.
13860 (sendmail-query-once): Remove OS dependencies. Make it a 3-way choice
13861 using completion. Protect against "slow" callers.
13862 Remove the "message hack".
13863
7ce7717b
JL
138642011-10-11 Juri Linkov <juri@jurta.org>
13865
13866 * isearch.el (isearch-lazy-highlight-word): New variable.
13867 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
13868 Use it. (Bug#9727)
13869
c02ee9d6
GM
138702011-10-11 Glenn Morris <rgm@gnu.org>
13871
13872 * progmodes/f90.el (f90-next-statement): Ignore preprocessor lines,
13873 like f90-previous-statement does.
13874
93e616fd 138752011-10-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
13876
1f190e73 13877 * eshell/eshell.el (eshell-command): History should be saved
c02ee9d6
GM
13878 only in interactive use, to avoid error.
13879
af7b6078
SM
138802011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
13881
13882 * minibuffer.el (completion-file-name-table): Fix last change,
13883 i.e. ignore normal errors but not the other ones.
13884
0563dae9
MR
138852011-10-10 Martin Rudalics <rudalics@gmx.at>
13886
13887 * window.el (special-display-buffer-names)
13888 (special-display-regexps): Remove some remnants of earlier
13889 changes from doc-strings.
366ca7f3
MR
13890 (quit-windows-on): New function.
13891
13892 * vc/vc.el (vc-revert, vc-rollback):
13893 * vc/vc-dispatcher.el (vc-finish-logentry): Call quit-windows-on
13894 instead of deleting windows. (Bug#4557) (Bug#5310) (Bug#5556)
9ac13c31 13895 (Bug#6183) (Bug#7074) (Bug#7447)
0563dae9 13896
49677495
MR
138972011-10-09 Martin Rudalics <rudalics@gmx.at>
13898
13899 * window.el (frame-auto-hide-function): Add version tag.
13900 (Bug#9699)
13901
56f2d1e1
MA
139022011-10-09 Michael Albinus <michael.albinus@gmx.de>
13903
13904 * net/tramp.el (tramp-file-name-handler): Add 'debug to the error
13905 condition.
13906
112a6592
LL
139072011-10-09 Leo Liu <sdl.web@gmail.com>
13908
13909 * mail/smtpmail.el (smtpmail-send-data): Add a missing space.
13910 (Bug#9701)
13911
0812589b
GM
139122011-10-08 Glenn Morris <rgm@gnu.org>
13913
13914 * progmodes/f90.el (f90-calculate-indent): Give preprocessor lines
13915 before the first code statement zero indent. (Bug#9690)
13916
b2b0776e
CY
139172011-10-08 Chong Yidong <cyd@stupidchicken.com>
13918
13919 * simple.el (count-words-region): Always count in the region.
13920 Report the number of lines and characters too.
13921 (count-words): New command, which counts in the buffer if the
13922 region is inactive, as count-words-region used to.
13923 (count-words--message): New function. Handle plurals.
13924 (count-lines-region): Make it an alias for count-words-region.
13925
13926 * bindings.el (esc-map): Replace count-lines-region with
13927 count-words-region.
13928
c557cd6b
MR
139292011-10-08 Martin Rudalics <rudalics@gmx.at>
13930
13931 * window.el (window--delete): Delete dedicated frame
13932 unconditionally when argument KILL is non-nil. (Bug#9699)
235ce86f 13933 (switch-to-buffer): Fix doc-string typo.
c557cd6b 13934
61a57ef4 139352011-10-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
13936
3a7d293b 13937 * eshell/eshell.el (eshell-command): Avoid using hooks.
61a57ef4 13938
c3833279
CY
139392011-10-07 Chong Yidong <cyd@stupidchicken.com>
13940
13941 * bindings.el ([M-left],[M-right]): Bind to left-word and
13942 right-word respectively.
13943
21ce8245
GM
139442011-10-07 Glenn Morris <rgm@gnu.org>
13945
13946 * cus-start.el (debug-on-quit): Fix custom type.
13947
6d823bb2
LMI
139482011-10-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
13949
0181e193
LMI
13950 * subr.el (define-key-after): Clarify that the function is not
13951 useful for non-menu keymaps.
13952
6d823bb2
LMI
13953 * progmodes/gdb-mi.el (gdb): Fix typo in doc string.
13954
8e3459ce 139552011-10-06 Thierry Volpiatto <thierry.volpiatto@gmail.com>
13956
21ce8245 13957 * eshell/eshell.el (eshell-command): Enable `eshell-mode' only
8e3459ce 13958 in current minibuffer (Fix bug with recursive minibuffers).
13959
a1c2d21e
CY
139602011-10-06 Chong Yidong <cyd@stupidchicken.com>
13961
13962 * progmodes/gdb-mi.el (gdb): Doc fix.
13963
5a4cf282
MR
139642011-10-05 Martin Rudalics <rudalics@gmx.at>
13965
13966 * window.el (frame-auto-hide-function): New option replacing
13967 frame-auto-delete. Suggested by Stefan Monnier.
13968 (window--delete): Call frame-auto-hide-function instead of
13969 investigating frame-auto-delete.
c96111ea
MR
13970 (window-point-1, set-window-point-1): New functions.
13971 (window-in-direction, record-window-buffer, window-state-get-1)
13972 (display-buffer-record-window): Use window-point-1 instead of
13973 window-point.
13974 (set-window-buffer-start-and-point): Use set-window-point-1.
5a4cf282 13975
9854542e
SM
139762011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
13977
13978 * emacs-lisp/edebug.el: Heed checkdoc recommendations.
13979
8943cfb0
GM
139802011-10-05 Glenn Morris <rgm@gnu.org>
13981
13982 * progmodes/perl-mode.el (perl-electric-terminator): Doc fix.
13983 (perl-calculate-indent): Suppress scan errors. (Bug#2205)
13984
647ab967
LL
139852011-10-05 Leo Liu <sdl.web@gmail.com>
13986
13987 * subr.el (read-char-choice): Fix argument to buffer-live-p which
13988 works with buffer object.
13989
3ddfbced
SM
139902011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
13991
13992 * mpc.el (mpc-tool-bar-map): Add labels.
13993
bdfa5dd2
GM
139942011-10-04 Glenn Morris <rgm@gnu.org>
13995
13996 * calendar/holidays.el (calendar-check-holidays): Doc fix.
13997
0e2070b5
MR
139982011-10-04 Martin Rudalics <rudalics@gmx.at>
13999
14000 * window.el (window--delete): New function.
14001 (frame-auto-delete): Resuscitate option.
14002 (bury-buffer, replace-buffer-in-windows)
14003 (quit-window): Rewrite using window--delete.
14004 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
14005 Pass display-buffer-mark-dedicated to window--display-buffer-2
14006 (Bug#9639).
14007
3dc61a09
SM
140082011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
14009
915a9b64
SM
14010 * pcmpl-unix.el (pcomplete/scp): Don't assume pcomplete-all-entries
14011 returns a list (bug#9554). Add remote file name completion.
14012 * comint.el (comint--table-subvert): Curry and get quote&unquote
14013 functions as arguments.
14014 (comint--complete-file-name-data): Adjust call accordingly.
14015 * pcomplete.el (pcomplete--table-subvert): Remove.
14016 (pcomplete-completions-at-point): Use comint--table-subvert instead.
14017
3dc61a09
SM
14018 * minibuffer.el (completion-table-case-fold): Use currying.
14019 (completion--styles-type, completion--cycling-threshold-type):
14020 New constants.
14021 (completion-styles, completion-category-overrides)
14022 (completion-cycle-threshold): Use them.
14023 * pcomplete.el (pcomplete-completions-at-point): Adjust call to
14024 completion-table-case-fold.
14025
8ea0a993
SB
140262011-10-03 Stephen Berman <stephen.berman@gmx.net>
14027
14028 * minibuffer.el (completion-category-overrides): Fix type of styles
14029 and add more user friendly tags (bug#9660).
14030
8c24b7f6
SM
140312011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
14032
14033 * international/mule-cmds.el: Fix abuses of apply-partially (bug#9661).
14034 (mule-input-method-string): New widget.
14035 (default-input-method, language-info-custom-alist): Use it.
14036
428fe61a
SM
140372011-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
14038
32c1fffd
SM
14039 * pcomplete.el: Require comint.
14040 (pcomplete--common-suffix): Remove.
14041 (pcomplete--common-quoted-suffix): Use comint--common-suffix instead.
14042 (pcomplete--table-subvert): Sync with comint--table-subvert.
14043 (pcomplete--entries): Use comint-completion-file-name-table.
14044 * comint.el (comint-unquote-filename): Simplify.
14045 (comint-completion-file-name-table): New function (bug#9616).
14046 (comint--complete-file-name-data): Use it.
14047
428fe61a
SM
14048 * pcmpl-gnu.el (pcmpl-gnu-with-file-buffer): New macro (bug#9643).
14049 (pcmpl-gnu-tar-buffer): Remove.
14050 (pcmpl-gnu-with-file-buffer): Use it to avoid leaving the tar's buffer
9aaf2b9c
GM
14051 around. Make sure pcomplete-suffix-list is only changed temporarily.
14052 Don't look inside the tar's file if it's too large.
428fe61a 14053
04c52e2f
CY
140542011-10-01 Chong Yidong <cyd@stupidchicken.com>
14055
ce3cefcc
CY
14056 * cus-edit.el (custom-mode-map):
14057 * epa.el (epa-key-list-mode-map):
14058 * man.el (Man-mode-map):
14059 * startup.el (splash-screen-keymap):
14060 * simple.el (special-mode-map): Use scroll-up-command and
14061 scroll-down-command.
14062
14063 * progmodes/idlw-help.el (idlwave-help-mode-map):
14064 * progmodes/ebrowse.el (ebrowse-electric-position-mode-map):
14065 * net/newst-plainview.el (newsticker-mode-map):
14066 * emulation/ws-mode.el (wordstar-mode-map):
14067 * emulation/vi.el (vi-com-map):
14068 * calc/calc-graph.el (calc-graph-show-dumb):
14069 * term/sun.el (terminal-init-sun):
14070 * term/ns-win.el (global-map):
14071 * progmodes/grep.el (grep-mode-map):
14072 * progmodes/ebrowse.el (ebrowse-electric-list-mode-map):
14073 * mail/rmail.el (rmail-mode-map):
14074 * progmodes/cpp.el (cpp-edit-mode-map): Likewise.
14075
04c52e2f
CY
14076 * custom.el (custom-safe-themes, load-theme): Treat value of t for
14077 custom-safe-themes as special.
14078
79adf8c8
JD
140792011-10-01 Julien Danjou <julien@danjou.info>
14080
14081 * notifications.el (notifications-notify): Fix docstring.
14082
63bd50d3
PS
140832011-10-01 Per Starbäck <per@starback.se>
14084
14085 * pcmpl-gnu.el (pcomplete/tar): Fix tar-header-name call. (Bug#9643)
14086
199e4c7e
MR
140872011-09-30 Martin Rudalics <rudalics@gmx.at>
14088
14089 * startup.el (command-line-1): Fix last fix by inserting
14090 initial-scratch-message into *scratch* before displaying it.
cbc5ee22 14091 (Bug#9605) and (Bug#9636)
199e4c7e 14092
fe5f08dd
EZ
140932011-09-29 Eli Zaretskii <eliz@gnu.org>
14094
14095 * simple.el (line-move): If auto-hscroll-mode is disabled and the
14096 window is hscrolled, move by logical lines. (Bug#9607)
14097 (line-move-visual): Update the doc string to the above effect.
14098
b5516bbd
MR
140992011-09-29 Martin Rudalics <rudalics@gmx.at>
14100
ccee00c0
MR
14101 * window.el (display-buffer-record-window): When WINDOW is the
14102 selected window use `point' instead of `window-point'. (Bug#9626)
14103
b5516bbd
MR
14104 * startup.el (command-line-1): Use insert-before-markers when
14105 inserting initial-scratch-message. (Bug#9605)
ccee00c0 14106
b5516bbd
MR
14107 * help.el (help-window): Remove variable.
14108
52aa0014
GM
141092011-09-29 Glenn Morris <rgm@gnu.org>
14110
14111 * pcmpl-cvs.el (pcomplete/cvs): Add "status" handler.
14112
df9a7357
JB
141132011-09-29 Juanma Barranquero <lekktu@gmail.com>
14114
14115 * descr-text.el (describe-char-categories): Accept category
14116 descriptions more than one line long.
14117
a8406c20
SM
141182011-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
14119
88d9610c
SM
14120 * simple.el (delete-trailing-whitespace): Fix last change.
14121
a5daf810
SM
14122 * progmodes/perl-mode.el (perl-syntax-propertize-function):
14123 Don't confuse "y => 3" as the beginning of a `y' operation.
14124
a8406c20
SM
14125 * emacs-lisp/debug.el (debug-convert-byte-code): Don't assume the
14126 object has more than 4 slots (bug#9613).
14127
a239d4e9
JB
141282011-09-28 Juanma Barranquero <lekktu@gmail.com>
14129
14130 * subr.el (with-output-to-temp-buffer):
14131 * net/quickurl.el (quickurl, quickurl-browse-url):
14132 Fix typos in docstrings.
14133
693fbdb6
EZ
141342011-09-27 Eli Zaretskii <eliz@gnu.org>
14135
14136 * minibuffer.el (completion-styles)
14137 (completion-category-overrides): Cross reference each other in doc
14138 strings.
14139
8b457e28
GM
141402011-09-27 Glenn Morris <rgm@gnu.org>
14141
14142 * pcmpl-cvs.el (pcmpl-cvs-entries): Update for Emacs 22.1 changes
14143 to split-string. (Bug#9606)
14144
85a16208
LMI
141452011-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
14146
14147 * mail/smtpmail.el (smtpmail-via-smtp): Fix STARTTLS detection
14148 (bug#9615).
14149
502f9ebd
CY
141502011-09-27 Chong Yidong <cyd@stupidchicken.com>
14151
14152 * emacs-lisp/package.el (list-packages): Fix echo area message.
14153
7690bdea
LL
141542011-09-27 Leo Liu <sdl.web@gmail.com>
14155
14156 * ido.el (ido-read-internal): Accept cons cell HIST arg.
14157
e2ee6f30
MA
141582011-09-25 Michael Albinus <michael.albinus@gmx.de>
14159
14160 * net/dbus.el (dbus-unregister-object): Don't release services for
14161 registered signals. (Bug#9581)
14162
f3f98342
TZ
141632011-09-25 Teodor Zlatanov <tzz@lifelogs.com>
14164
14165 * progmodes/cfengine.el (cfengine-auto-mode): Add convenience
14166 function that picks between cfengine 2 and 3 support
14167 automatically. Update docs accordingly.
14168
dd7aa8dd
KH
141692011-09-22 Kenichi Handa <handa@m17n.org>
14170
14171 * language/ind-util.el (indian-tml-base-table): Add TAMIL DIGIT
14172 ZERO.
14173 (indian-itrans-v5-table-for-tamil): New variable.
14174 (indian-tml-itrans-v5-hash): Use the above variable (Bug#9336).
14175
3f2b07f8
KM
141762011-09-22 Ken Manheimer <ken.manheimer@gmail.com>
14177
14178 * allout.el (allout-this-command-hid-stuff): Buffer-local variable
14179 that's true if the current command involved collapsing of text.
14180 It's reset to false at the beginning of the next command.
14181 (allout-post-command-business): Move the cursor to the beginning
14182 of entry if the cursor is hidden and collapsing activity just
14183 happened.
14184
371d6a61
CY
141852011-09-24 Chong Yidong <cyd@stupidchicken.com>
14186
14187 * mouse.el (mouse-drag-track): Set scroll-margin to 0 while
14188 tracking (Bug#9541).
14189
2ac2721a
UJ
141902011-09-24 Ulf Jasper <ulf.jasper@web.de>
14191
14192 * net/newst-reader.el (newsticker-html-renderer)
1154d12e
JB
14193 (newsticker-show-news): Automatically load html rendering package
14194 if newsticker-html-renderer is set. Fixes "Warning: defvar ignored
14195 because w3m-fill-column is let-bound" and the error "Symbol's value
14196 as variable is void: w3m-fill-column".
2ac2721a 14197
fac7ae53
MA
141982011-09-24 Michael Albinus <michael.albinus@gmx.de>
14199
14200 * net/dbus.el (dbus-unregister-object): Remove match rule of signals.
14201 Release services only if they are defined. (Bug#9581)
14202
e08b633b
RS
142032011-09-23 Richard Stallman <rms@gnu.org>
14204
e488d29c
RS
14205 * textmodes/paragraphs.el (forward-sentence): For backwards case,
14206 distinguish start of paragraph from start of its text.
14207
19c38752
RS
14208 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs): Autoload.
14209
e08b633b
RS
14210 * mail/rmail.el (rmail-view-buffer-kill-buffer-hook): New function.
14211 (rmail-generate-viewer-buffer): Put that hook on view buffer.
14212 (rmail-mode-kill-buffer-hook): Override that hook, to kill view buffer.
14213
0a39f27e
AS
142142011-09-23 Andreas Schwab <schwab@linux-m68k.org>
14215
14216 * international/mule-diag.el (mule-diag): Insert a newline after
14217 each fontset description.
14218
db4e950d
SM
142192011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
14220
14221 * simple.el (delete-trailing-whitespace):
14222 Document last change; simplify.
14223
eca3f3ea
PW
142242011-09-23 Peter J. Weisberg <pj@irregularexpressions.net>
14225
d68e189a
PW
14226 * simple.el (delete-trailing-whitespace): Also delete
14227 extra newlines at the end of the buffer.
14228
eca3f3ea
PW
14229 * textmodes/picture.el: Make motion commands obey shift-select-mode.
14230 (picture-newline): Use forward-line so as to ignore fields.
14231
01c157cc
SM
142322011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
14233
14234 * subr.el (with-wrapper-hook): Fix edebug spec.
14235
022de23e
LMI
142362011-09-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
14237
14238 * simple.el (kill-line): Note effect of `show-trailing-whitespace'
14239 (bug#4538).
14240
91683089
MA
142412011-09-23 Michael Albinus <michael.albinus@gmx.de>
14242
eca3f3ea
PW
14243 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
14244 Fix nasty bug using wrong cached values.
91683089 14245
5bdd6fa4
AM
142462011-09-23 Alan Mackenzie <acm@muc.de>
14247
14248 * progmodes/cc-defs.el (c-version): Increase to 5.31.9.
14249
97adfb97
CY
142502011-09-23 Chong Yidong <cyd@stupidchicken.com>
14251
14252 * window.el (pop-to-buffer): Ensure right window is selected if we
14253 chose another frame.
14254
d4ef2b50
EZ
142552011-09-22 Eli Zaretskii <eliz@gnu.org>
14256
14257 * simple.el (what-cursor-position): Use get-char-property-change
14258 and next-single-char-property-change, to be able to show display
14259 properties that come from overlays as well as text properties.
14260
72258fe5
CY
142612011-09-22 Chong Yidong <cyd@stupidchicken.com>
14262
14263 * window.el (pop-to-buffer-same-window): New (reinstated) fun.
14264
14265 * cmuscheme.el (run-scheme, switch-to-scheme):
14266 * cus-edit.el (customize-group, custom-buffer-create)
14267 (customize-browse):
14268 * info.el (info):
14269 * shell.el (shell):
14270 * mail/sendmail.el (mail):
14271 * progmodes/inf-lisp.el (inferior-lisp): Use it (Bug#9532).
14272
8f098516
RS
142732011-09-22 Richard Stallman <rms@gnu.org>
14274
14275 * textmodes/paragraphs.el (forward-sentence): When setting PAR-BEG,
14276 move back only to line beg, don't move back over blank lines.
14277
e74f1bb6
MA
142782011-09-22 Michael Albinus <michael.albinus@gmx.de>
14279
14280 * files.el (copy-directory): Set directory attributes only in case
14281 they could be retrieved from the source directory. (Bug#9565)
14282
bfeef8b6
DK
142832011-09-22 Dima Kogan <dkogan@secretsauce.net> (tiny change)
14284
14285 * progmodes/hideshow.el (hs-looking-at-block-start-p)
14286 (hs-find-block-beginning, hs-hide-level-recursive):
14287 Ignore strings as well as comments. (Bug#9502)
14288
7e423bb8
AS
142892011-09-22 Andrew Schein <andrew@andrewschein.com> (tiny change)
14290
14291 * progmodes/sql.el (sql-comint-postgres):
14292 Convert port number to a string. (Bug#9566)
14293
b4d72fcf
MR
142942011-09-22 Martin Rudalics <rudalics@gmx.at>
14295
14296 * window.el (quit-window): Undedicate window when switching to
14297 previous buffer. Reported by Thierry Volpiatto
14298 <thierry.volpiatto@gmail.com>.
7f80c86d
MR
14299 (special-display-popup-frame): When popping up a new frame reset
14300 its previous buffers to nil. Simplify code.
b4d72fcf 14301
a7b88dc6
MA
143022011-09-21 Michael Albinus <michael.albinus@gmx.de>
14303
14304 * net/tramp.el (tramp-handle-shell-command): Set process sentinel
14305 and process filter, as done also in `shell-command'.
14306
cf4eacfd
MR
143072011-09-21 Martin Rudalics <rudalics@gmx.at>
14308
eca3f3ea 14309 * window.el (set-window-buffer-start-and-point):
1154d12e
JB
14310 Call set-window-start with NOFORCE argument t.
14311 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
cf4eacfd
MR
14312 (quit-window): Reword doc-string. Handle new format of
14313 quit-restore parameter. Don't delete window if it has a
14314 previous buffer we can show instead of the present one.
14315 (display-buffer-record-window): Rewrite using a new format for
14316 the quit-restore window parameter
14317 (special-display-popup-frame, display-buffer-same-window)
14318 (display-buffer-reuse-window, display-buffer-pop-up-frame)
14319 (display-buffer-pop-up-window, display-buffer-use-some-window):
14320 Adapt symbol passed to display-buffer-record-window.
14321 * help.el (help-window-setup): Handle new format of quit-restore
14322 parameter.
14323
8d28cb95
SM
143242011-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
14325
94ab793f
SM
14326 * faces.el (face-list): Fix docstring (bug#9564).
14327
8d28cb95
SM
14328 * window.el (display-buffer--action-function-custom-type):
14329 Don't include internal functions in the Custom interface.
14330
3820edeb
JL
143312011-09-20 Juri Linkov <juri@jurta.org>
14332
14333 * info.el (Info-history-skip-intermediate-nodes): New defcustom.
14334 (Info-forward-node, Info-backward-node, Info-next-preorder)
14335 (Info-last-preorder): Use it. (Bug#9528)
14336
5147931d
JL
143372011-09-20 Juri Linkov <juri@jurta.org>
14338
14339 * info.el (Info-last-preorder): Visit last menu item only when
14340 `Info-scroll-prefer-subnodes' is non-nil (third test-case of bug#9528).
14341
cf499a1a
JD
143422011-09-20 Julien Danjou <julien@danjou.info>
14343
14344 * password-cache.el (password-cache-remove): Remove entries even if the
14345 value is nil, so that password with a nil value (negative caching) is
14346 possible to invalidate.
14347
f84e2fe2
LM
143482011-09-20 Lawrence Mitchell <wence@gmx.li>
14349
14350 * progmodes/f90.el (f90-break-line): If breaking inside comment delete
14351 all whitespace around breakpoint. (Bug#9553)
14352 (f90-find-breakpoint): Only break at whitespace inside a comment.
14353
78054a46
SM
143542011-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
14355
14356 * minibuffer.el (completion-file-name-table): Keep track of errors.
14357 (completion-table-with-predicate): Handle the case where pred1 is nil.
14358 * pcomplete.el (pcomplete-completions-at-point): Simplify.
14359
345083b2
SM
143602011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
14361
e24e27be
SM
14362 * emacs-lisp/debug.el (debugger-args): Give it a docstring.
14363 (debugger-return-value): Signal an error if the debugging context does
14364 not await any return value.
14365
345083b2
SM
14366 * ps-mule.el (ps-mule-plot-string): Don't inf-loop (bug#5108).
14367 * image-mode.el (image-toggle-display-text)
14368 (image-toggle-display-image): Stay away from evil `intangible'.
14369
08d355e3
LL
143702011-09-19 Leo Liu <sdl.web@gmail.com>
14371
14372 * replace.el (occur-revert-arguments): Make it permanent-local.
14373 (occur-mode): Don't call font-lock-defontify.
14374
f01da43f
CY
143752011-09-19 Chong Yidong <cyd@stupidchicken.com>
14376
14377 * net/ldap.el (ldap-search-internal): Don't push empty search
14378 result (Bug#9508).
14379
b6072fa6
SM
143802011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
14381
14382 * whitespace.el (whitespace-newline-mode): Disable it right (bug#9550).
14383
443d6696
MA
143842011-09-19 Michael Albinus <michael.albinus@gmx.de>
14385
14386 * net/tramp-sh.el (tramp-inline-compress-commands): Add "xz".
14387 Suggested by Liam Stitt <stittl@cuug.ab.ca>.
14388
7cc6e154
JL
143892011-09-18 Juri Linkov <juri@jurta.org>
14390
14391 * buff-menu.el (Buffer-menu-mode-map):
14392 * dired.el (dired-mode-map):
14393 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map)
14394 (lisp-interaction-mode-map):
14395 * emacs-lisp/package.el (package-menu-mode-map):
14396 * epa.el (epa-key-list-mode-map):
14397 * menu-bar.el (menu-bar-showhide-tool-bar-menu)
14398 (menu-bar-options-menu):
14399 * outline.el (outline-mode-menu-bar-map):
14400 * vc/vc-bzr.el (vc-bzr-shelve-menu-map, vc-bzr-extra-menu-map):
14401 * vc/vc-dir.el (vc-dir-menu-map):
14402 * vc/vc-git.el (vc-git-stash-menu-map, vc-git-extra-menu-map):
14403 Capitalize non-function content words in menu item strings.
14404
14405 * dired.el (dired-mode-map): Add menu item for
14406 `image-dired-dired-toggle-marked-thumbs'.
14407
80302a81
JL
144082011-09-18 Juri Linkov <juri@jurta.org>
14409
14410 * isearch.el (isearch-edit-string): Bind `isearch-new-case-fold'
14411 to `isearch-case-fold-search' and restore its original value
14412 after the `isearch-mode' call.
14413
46c5cf66
JL
144142011-09-18 Juri Linkov <juri@jurta.org>
14415
14416 * progmodes/grep.el (grep-process-setup): Don't check code for 1
14417 because `zgrep' returns 1 for successful matches (bug#9226).
14418
d18b513b
JL
144192011-09-18 Juri Linkov <juri@jurta.org>
14420
14421 * info.el (Info-extract-menu-node-name): Check the second match
14422 for empty string (second test-case of bug#9528).
14423 (Info-last-preorder): Let-bind `Info-history' to nil to not add
14424 intermediate nodes to the history (first test-case of bug#9528).
14425
72753f87
JL
144262011-09-18 Juri Linkov <juri@jurta.org>
14427
14428 * info.el (Info-mode-syntax-table): New variable.
1154d12e 14429 (Info-mode): Set `:syntax-table' to `Info-mode-syntax-table' (bug#3312).
72753f87 14430
c9384295
JL
144312011-09-18 Juri Linkov <juri@jurta.org>
14432
1154d12e
JB
14433 * info.el (Info-file-supports-index-cookies):
14434 Increment line-beginning-position's arg from 3 to 4 because makeinfo
14435 outputs one more line for long file names (bug#4142).
c9384295 14436
d473dce8
CY
144372011-09-18 Chong Yidong <cyd@stupidchicken.com>
14438
14439 * newcomment.el (comment-normalize-vars): If prompting for
14440 comment-start, set comment-start-skip too (Bug#8424).
14441
2176854d
JB
144422011-09-18 Johan Bockgård <bojohan@gnu.org>
14443
14444 * icomplete.el: Fix previous fix of Bug#5849.
14445 (icomplete-mode): Don't set completion-show-inline-help.
14446 (icomplete-minibuffer-setup): Set completion-show-inline-help
14447 locally during icompletion.
14448
3aace4e4
CY
144492011-09-18 Chong Yidong <cyd@stupidchicken.com>
14450
c940224f
CY
14451 * woman.el (woman2-process-escapes): Don't delete unrecognized
14452 escapes (Bug#7843).
14453
3aace4e4
CY
14454 * files.el (inhibit-first-line-modes-regexps): Add image files.
14455 (hack-local-variables-prop-line): Return nil for malformed
14456 prop-lines (Bug#9044).
14457
710dec63
MA
144582011-09-18 Michael Albinus <michael.albinus@gmx.de>
14459
14460 * net/tramp.el (top): Don't require 'shell.
14461 (tramp-methods): Fix docstring.
14462 (tramp-get-remote-tmpdir): New defun, moved from tramp-sh.el.
8d28cb95
SM
14463 Return complete remote file name. Handle "smb" case.
14464 Use `tramp-tmpdir', if defined for the respective method.
710dec63
MA
14465 (tramp-make-tramp-temp-file): Adapt call of `tramp-get-remote-tmpdir'.
14466
14467 * net/tramp-compat.el (top): Require 'shell.
14468
14469 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
14470 (tramp-maybe-open-connection): Use `tramp-file-name-real-host' for
14471 `tramp-current-host'.
14472 (tramp-get-remote-tmpdir): Remove.
14473
14474 * net/tramp-smb.el (tramp-methods): Add `tramp-remote-shell' and
14475 `tramp-tmpdir' entries.
14476 (tramp-smb-errors): Add "NT_STATUS_IMAGE_ALREADY_LOADED".
14477 (tramp-smb-handle-file-attributes): Ignore errors.
14478 (tramp-smb-wait-for-output): Check also for process end.
14479
5d5ac8ec
LMI
144802011-09-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
14481
14482 * mail/smtpmail.el (smtpmail-via-smtp): Ignore errors that arise
14483 when sending QUIT (bug#9312).
14484
8c0f49f0
CY
144852011-09-17 Chong Yidong <cyd@stupidchicken.com>
14486
14487 * replace.el (occur-mode-map): Rebind occur-edit-mode to "e" (Bug#8463).
14488 (occur-edit-mode-map): Bind C-c C-c to occur-cease-edit and C-o to
14489 occur-mode-display-occurrence.
14490 (occur-edit-mode): Add usage message.
14491 (occur-cease-edit): New command.
14492 (occur-after-change-function): Use text properties to find the
14493 position of the prefix text.
14494 (occur-engine): Set stickiness of prefix text properties.
14495
8f1383f7
GM
144962011-09-17 Glenn Morris <rgm@gnu.org>
14497
14498 * progmodes/etags.el (complete-tag):
14499 Fix call to completion-in-region. (Bug#9526)
14500
744ba0e3
JL
145012011-09-17 Juri Linkov <juri@jurta.org>
14502
14503 * textmodes/ispell.el (ispell-word): Add to the error message
14504 the word, ispell program name and current dictionary (bug#9121).
14505 (ispell-tex-arg-end): Capitalize "error" in the error message.
14506
d9bbf400
AS
145072011-09-17 Andreas Schwab <schwab@linux-m68k.org>
14508
14509 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix overflow
14510 check. (Bug#4251)
14511
8da11505
JL
145122011-09-17 Juri Linkov <juri@jurta.org>
14513
14514 * window.el (window-safe-min-height, window-safe-min-width):
14515 Fix typos (followup to bug#9522).
14516
a91adc7e
SJ
145172011-09-17 Sven Joachim <svenjoac@gmx.de>
14518
14519 * window.el (window-min-width, window-state-put): Fix typos (bug#9522).
14520
064f328a
EZ
145212011-09-16 Eli Zaretskii <eliz@gnu.org>
14522
14523 * simple.el (line-move): If goal-column is set, move by logical
14524 lines, not by display lines. (Bug#971)
14525 (next-line, previous-line, goal-column, line-move-visual): Doc fix
14526 to reflect the above change.
14527
e69df516
SM
145282011-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
14529
14530 * image.el (imagemagick-register-types): Use regexp-opt.
14531
cbb0f9ab
CY
145322011-09-15 Chong Yidong <cyd@stupidchicken.com>
14533
14534 * window.el (display-buffer-base-action): Rename from
14535 display-buffer-default-action. Make default value empty.
14536 (display-buffer-overriding-action): Convert to defvar.
14537 (display-buffer-fallback-action): New var.
14538
25322144
CY
145392011-09-15 Chong Yidong <cyd@stupidchicken.com>
14540
14541 * emacs-lisp/package.el (package-alist): Fix risky-local-variable
14542 declaration.
14543 (package--add-to-archive-contents): If there is a duplicate entry
14544 with an older version, remove it.
14545 (package-menu-mark-delete, package-menu-mark-install)
14546 (package-menu-mark-unmark): Make unused args optional.
e69df516
SM
14547 (package-menu-mark-obsolete-for-deletion):
14548 Use package-menu-get-status instead of a regexp search.
25322144
CY
14549 (package-menu-get-status): Use tabulated-list-entry.
14550 (package-menu-mark-upgrades): New command.
d770725a 14551 (package-menu-mode-map): Bind it to U. Add it to menu bar.
25322144
CY
14552 (package-menu-execute): Do installation before deletion.
14553 (package-menu-refresh, package-menu-execute): Use derived-mode-p
14554 instead of checking major-mode.
14555 (package-menu--find-upgrades): New function.
14556
7520339c
LMI
145572011-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
14558
14559 * mail/smtpmail.el (smtpmail-send-command): Don't include AUTH
14560 passwords in the log buffer.
65a046c4
LMI
14561 (smtpmail-process-filter): Update the process marker so that the
14562 "broken by peer" status message is inserted in the right place.
7520339c 14563
d3c30954
SM
145642011-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
14565
3fe48822
SM
14566 * textmodes/bibtex.el (bibtex-complete-string-cleanup)
14567 (bibtex-complete-crossref-cleanup): Adjust to accommodate needs of
14568 bibtex-completion-at-point-function.
14569 (bibtex-completion-at-point-function): Use them.
14570
1b8b3954
SM
14571 * newcomment.el (comment-add, comment-valid-prefix-p): Docfix.
14572
d3c30954
SM
14573 * mpc.el (mpc-constraints-tag-lookup): New function.
14574 (mpc-constraints-restore): Use it to make jumping to "album=Foo" apply
14575 also to browser "album|playlist".
14576
72779976
JL
145772011-09-14 Juri Linkov <juri@jurta.org>
14578
14579 * isearch.el (isearch-fail-pos): Add new arg `msg'. Doc fix.
14580 (isearch-edit-string): Use length of `isearch-string' when
14581 `isearch-fail-pos' returns nil.
14582 (isearch-message): Remove duplicate code and call
14583 `isearch-fail-pos' with arg `t'.
14584
a0bf2bcd
CY
145852011-09-14 Chong Yidong <cyd@stupidchicken.com>
14586
17bb0a2d
CY
14587 * replace.el (occur-mode-goto-occurrence): Don't force using other
14588 window (Bug#9499).
14589
a0bf2bcd
CY
14590 * dired-aux.el (dired-do-chmod): Don't provide initial input.
14591
f678e0b6
MR
145922011-09-14 Martin Rudalics <rudalics@gmx.at>
14593
14594 * window.el (display-buffer-window): Remove.
14595 (display-buffer-record-window): Use help-setup window parameter
14596 instead of variable display-buffer-window.
14597 (display-buffer-function, special-display-buffer-names)
14598 (special-display-function): Mention help-setup parameter instead
14599 of display-buffer-window in doc-string.
d3c30954
SM
14600 * help.el (help-window-setup): New argument help-window.
14601 Use help-window-setup parameter instead of display-buffer-window.
f678e0b6
MR
14602 Reword some messages.
14603 (with-help-window): Pass window used for displaying the buffer
14604 to help-window-setup. Don't set display-buffer-window.
14605
8e39b2e8
GM
146062011-09-13 Glenn Morris <rgm@gnu.org>
14607
14608 * emacs-lisp/debug.el (debugger-make-xrefs):
14609 Preserve point. (Bug#9462)
14610
85e9c04b
CY
146112011-09-13 Chong Yidong <cyd@stupidchicken.com>
14612
14613 * window.el (window-deletable-p): Use next-frame.
14614
1b36ed6a
MR
146152011-09-13 Martin Rudalics <rudalics@gmx.at>
14616
14617 * window.el (window-auto-delete): Remove.
14618 (window-deletable-p): Remove argument FORCE. Don't deal with
e4769531 14619 dedication and previous buffers.
1b36ed6a
MR
14620 (switch-to-prev-buffer): Don't delete window.
14621 (delete-windows-on): Delete a window's frame if and only if the
14622 window is dedicated.
14623 (replace-buffer-in-windows): Delete buffer's window or frame if
14624 and only if window is dedicated.
14625 (quit-window): Handle quit-restore as before last change.
4d61f28d 14626 (bury-buffer): Delete window only if window-deletable-p returns t.
1b36ed6a 14627
ef8ef9fb
CY
146282011-09-13 Chong Yidong <cyd@stupidchicken.com>
14629
14630 * window.el (window-deletable-p): Never delete the last frame on a
14631 given terminal.
14632
b2cba41e
GM
146332011-09-13 Glenn Morris <rgm@gnu.org>
14634
14635 * help.el (describe-key-briefly): Copy previous standard-output change.
14636
51553db6 146372011-09-13 PJ Weisberg <pj@irregularexpressions.net>
e3ce671f
PW
14638
14639 * help.el (where-is): Respect non-standard standard-output. (Bug#9030)
14640
b7556719
GM
146412011-09-13 Glenn Morris <rgm@gnu.org>
14642
14643 * emacs-lisp/lisp-mode.el (lisp-indent-function):
14644 * progmodes/scheme.el (scheme-indent-function): Doc fixes.
14645
64b51947
CY
146462011-09-12 Chong Yidong <cyd@stupidchicken.com>
14647
14648 * dired-aux.el (dired-mark-read-string): Don't return default
14649 value on empty input (Bug#9361).
14650 (dired-do-chxxx): Treat empty input for "touch" as no -t option.
14651 Omit initial minibuffer contents.
14652 (dired-do-chmod): Signal an error on empty input.
14653 (dired-mark-read-string): Don't return default on empty input.
14654
14655 * files.el (file-modes-symbolic-to-number): Doc fix.
14656
393a301e
SM
146572011-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
14658
14659 * international/mule-cmds.el (ucs-completions): Remove.
14660 (read-char-by-name): Use complete-with-action instead; add metadata.
14661
fa5660f9
CY
146622011-09-11 Chong Yidong <cyd@stupidchicken.com>
14663
14664 * window.el (display-buffer--action-function-custom-type)
14665 (display-buffer--action-custom-type): New vars.
14666 (display-buffer-alist, display-buffer-default-action)
14667 (display-buffer-overriding-action): Add defcustom types.
14668
4a592f66
CY
14669 * frame.el (delete-other-frames): Doc fix (Bug#276).
14670
73d56dbd
LMI
146712011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
14672
14673 * play/doctor.el (make-doctor-variables): Define `doctor-sent'.
14674
37ac18a3
CY
146752011-09-11 Chong Yidong <cyd@stupidchicken.com>
14676
14677 Change modes that used same-window-* vars to use switch-to-buffer.
14678
14679 * progmodes/gdb-mi.el (gdb-restore-windows, gdb-setup-windows):
14680 Use switch-to-buffer.
14681
14682 * cus-edit.el (customize-group, custom-buffer-create)
393a301e
SM
14683 (customize-browse, custom-buffer-create-other-window):
14684 Use switch-to-buffer or switch-to-buffer-other-window.
37ac18a3
CY
14685
14686 * info.el (info, Info-find-node, Info-revert-find-node, Info-next)
14687 (Info-prev, Info-up, Info-speedbar-goto-node)
14688 (info-display-manual): Use switch-to-buffer.
14689 (Info-speedbar-goto-node): Use switch-to-buffer-other-frame.
14690
14691 * mail/sendmail.el (mail): Use switch-to-buffer.
14692 (mail-recover): Use switch-to-buffer-other-window.
14693
14694 * cmuscheme.el (run-scheme, switch-to-scheme):
14695 * ielm.el (ielm):
14696 * shell.el (shell):
14697 * net/rlogin.el (rlogin):
14698 * net/telnet.el (telnet, rsh):
14699 * progmodes/inf-lisp.el (inferior-lisp): Use switch-to-buffer.
14700
10195bd6
AS
147012011-09-11 Andreas Schwab <schwab@linux-m68k.org>
14702
14703 * dired.el (dired-sort-toggle-or-edit): Revert last changes.
14704
b322f63a
LMI
147052011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
14706
39d7fed6
LMI
14707 * dired.el (dired-sort-toggle-or-edit): -o doesn't exist on *BSD,
14708 so don't mention it (bug#9301).
ba5a81f1 14709 (dired-sort-toggle-or-edit): Clarify string further.
39d7fed6 14710
ee0e9f11
LMI
14711 * faces.el (face-spec-set-match-display): Make `(type graphic)'
14712 match `x', `w32' and `ns', like the manual says (bug#9029).
14713
0b1c89c1 14714 * subr.el (eval-after-load): Doc string clarification (bug#9125).
da9fcb93
LMI
14715 (process-kill-buffer-query-function): Mention the buffer name in
14716 the query.
0b1c89c1 14717
77549ea8
LMI
14718 * image-mode.el (image-next-line): The line parameter is mandatory
14719 (bug#9258).
14720
803ef892
LMI
14721 * dired.el (dired-sort-toggle-or-edit): Mention -o and -g, too,
14722 which can be useful (bug#9301).
14723
12980837
LMI
14724 * textmodes/flyspell.el: Remove obsolete comment (bug#9368).
14725
91054f8f
LMI
14726 * subr.el (match-string): Mention that the current buffer should
14727 be the same as the search was done in (bug#9282).
14728
b322f63a
LMI
14729 * facemenu.el: Disable the remove-* commands if the mark isn't
14730 active (bug#9162).
14731
3199b96f
CY
147322011-09-10 Chong Yidong <cyd@stupidchicken.com>
14733
14734 * buff-menu.el (Buffer-menu-switch-other-window): Use second arg
14735 of display-buffer.
14736 (Buffer-menu-2-window): Use switch-to-buffer-other-window.
14737
14738 * replace.el (occur-mode-goto-occurrence)
14739 (occur-mode-display-occurrence) Use second arg of pop-to-buffer
14740 and display-buffer.
14741
14742 * mail/reporter.el (reporter-submit-bug-report): Use second arg of
14743 display-buffer.
14744
14745 * mail/sendmail.el (sendmail-user-agent-compose): Don't bind the
14746 special-display and same-window variables.
14747 (mail-other-window): Use switch-to-buffer-other-window.
14748 (mail-other-frame): USe switch-to-buffer-other-frame.
14749
393a301e
SM
14750 * progmodes/gdb-mi.el (gdb-frame-gdb-buffer):
14751 Use display-buffer-other-frame.
3199b96f
CY
14752 (gdb-display-gdb-buffer): Use pop-to-buffer.
14753
14754 * progmodes/gud.el (gud-goto-info): Use info-other-window.
14755
14756 * progmodes/python.el: Don't set same-window-buffer-names.
14757
14758 * textmodes/bibtex.el (bibtex-search-entry): Use switch-to-buffer.
14759
14760 * window.el (display-buffer-alist): Add *Python*.
14761
8319e0bf
CY
147622011-09-10 Chong Yidong <cyd@stupidchicken.com>
14763
14764 * window.el (display-buffer-alist): Add entry for buffers
14765 previously handled same-window-*.
14766 (display-buffer-alist, display-buffer-default-action)
14767 (display-buffer-overriding-action): Mark as risky.
14768 (display-buffer-alist): Document action function changes.
14769 (display-buffer--same-window-action)
14770 (display-buffer--other-frame-action): New variables.
14771 (switch-to-buffer, display-buffer-other-frame): Use them.
14772 (display-buffer): Rename reuse-frame entry to reusable-frames.
14773 (display-buffer-reuse-selected-window): Function deleted.
14774 (display-buffer-reuse-window): Handle reusable-frames alist entry.
14775 If it's omitted, check pop-up-frames/display-buffer-reuse-frames.
14776 (display-buffer-special): New function.
14777 (display-buffer--maybe-pop-up-frame-or-window): Rename from
14778 display-buffer-reuse-or-pop-window. Split off special-display
14779 part into display-buffer-special.
14780 (display-buffer-use-some-window): Don't perform any special
14781 pop-up-frames handling.
14782 (pop-to-buffer): Use window-normalize-buffer-to-switch-to.
393a301e 14783 (display-buffer--maybe-same-window): Rename from
0d3ff375 14784 display-buffer-maybe-same-window.
8319e0bf 14785
919a69aa
CY
14786 * info.el: Don't set same-window-regexps.
14787 (info-setup): New function.
14788 (info-other-window, info): Call it.
14789
14790 * cus-edit.el: Don't set same-window-regexps.
14791 (customize-group): New argument.
14792 (customize-group-other-window): Use it.
14793 (customize-face, customize-face-other-window): Likewise.
14794 (custom-buffer-create-other-window): Use pop-to-buffer directly.
14795
8319e0bf
CY
14796 * net/rlogin.el:
14797 * net/telnet.el:
14798 * progmodes/gud.el: Don't set same-window-regexps.
14799
14800 * cmuscheme.el:
14801 * ielm.el:
14802 * shell.el:
14803 * mail/sendmail.el:
14804 * progmodes/inf-lisp.el: Don't set same-window-buffer-names.
14805
25173000
JL
148062011-09-10 Juri Linkov <juri@jurta.org>
14807
14808 * isearch.el (isearch-edit-string): Remove obsolete mention of
14809 `C-w' (`isearch-yank-word-or-char') from docstring.
14810 (isearch-query-replace): Fix typo in docstring (bug#9466).
14811
056e44ef
JL
148122011-09-10 Juri Linkov <juri@jurta.org>
14813
14814 * paren.el (show-paren-function): Don't show escaped parens.
14815 Let-bind `unescaped' to `t' when paren is not escaped. (Bug#9461)
14816
c3760c17
EZ
148172011-09-10 Eli Zaretskii <eliz@gnu.org>
14818
14819 * mail/sendmail.el (mml-to-mime, mml-attach-file)
14820 (mm-default-file-encoding): Remove autoload forms, they are
14821 replaced with autoload cookies in mml.el and mm-encode.el.
14822 (mail-add-attachment): New command.
14823 (mail-mode-map): Add a menu-bar item for mail-add-attachment.
14824 (mail-mode): Mention mail-insert-file and mail-add-attachment in
14825 the doc string.
14826 (mml-to-mime, mml-attach-file, mm-default-file-encoding): Declare.
14827
fece895e
RT
148282011-09-10 Reuben Thomas <rrt@sc3d.org>
14829
e69df516
SM
14830 * simple.el (count-words-region): Use buffer if there's no region
14831 (bug#9429).
fece895e 14832
5e68ce4a
JL
148332011-09-09 Juri Linkov <juri@jurta.org>
14834
14835 * wdired.el (wdired-change-to-wdired-mode): Set buffer-local
14836 `isearch-filter-predicate' to `wdired-isearch-filter-read-only'.
14837 (wdired-isearch-filter-read-only): New function. (Bug#6362)
14838
0a6b9622
AM
148392011-09-09 Alan Mackenzie <acm@muc.de>
14840
14841 * progmodes/cc-mode.el (awk-mode): Prevent `define-derived-mode'
14842 spuriously generating `awk-mode-syntax-table'. (Bug #9448).
14843
14a29deb
EZ
148442011-09-09 Eli Zaretskii <eliz@gnu.org>
14845
14846 Fix for Savannah bug#9392.
14847 * simple.el (mail-encode-mml): New defvar.
14848
14849 * mail/rmail.el (mail-encode-mml): Add a defvar.
14850 (rmail-enable-mime-composing): Default to t.
14851 (rmail-forward): Use MIME method of forwarding only if both
14852 rmail-enable-mime-composing and rmail-enable-mime are non-nil.
14853 Set mail-encode-mml non-nil if the MIME method was used.
14854
14855 * mail/sendmail.el (mml-to-mime): Add autoload form.
14856 (mail-encode-mml): Add a defvar.
14857 (mail-mode): Make mail-encode-mml buffer-local and initialize it
14858 to nil.
14859 (mail-send): If mail-encode-mml is non-nil, run the outgoing
14860 message through mml-to-mime, and reset mail-encode-mml to nil.
14861
28c45130
GM
148622011-09-09 Glenn Morris <rgm@gnu.org>
14863
14864 * woman.el (woman-if-body): When processing an .el block,
14865 do not delete the next .el block as well. (Bug#9447)
69f4b618 14866 (woman-special-characters): Add oq, cq, and hy characters.
28c45130 14867
9b1c252e
MR
148682011-09-08 Martin Rudalics <rudalics@gmx.at>
14869
14870 * window.el (window-deletable-p): Make sure window is live before
14871 invoking window-prev-buffers.
14872
567457e3
LL
148732011-09-08 Leo Liu <sdl.web@gmail.com>
14874
14875 * net/rcirc.el (rcirc-cmd-invite): New rcirc command. (Bug#9453)
14876
97f05794
JL
148772011-09-08 Juri Linkov <juri@jurta.org>
14878
14879 * progmodes/compile.el (compilation-environment): Make it
14880 a defcustom (bug#8340).
14881
8b0874b5
MR
148822011-09-08 Martin Rudalics <rudalics@gmx.at>
14883
14884 * window.el (frame-auto-delete): Rename to window-auto-delete.
14885 Make it control auto-deletion of windows and/or frames.
14886 (window-deletable-p): New argument FORCE. Rewrite conditions
5e617bc2 14887 for deleting window/frame. (Bug#9419)
8b0874b5
MR
14888 (switch-to-prev-buffer, replace-buffer-in-windows, quit-window):
14889 Rewrite handling of case when window/frame can be deleted.
14890 (delete-windows-on): Call window-deletable-p with new FORCE
5e617bc2 14891 argument t. (Bug#9456)
8b0874b5 14892
4feb6e73
CY
148932011-09-07 Chong Yidong <cyd@stupidchicken.com>
14894
14895 * help-mode.el (help-mode): Restore autoload.
14896
91ab9c13
JL
148972011-09-07 Juri Linkov <juri@jurta.org>
14898
14899 * progmodes/compile.el (compilation-start): Let-bind `thisenv' to
14900 `compilation-environment'. Set buffer-local
14901 `compilation-environment' to `thisenv' later after (funcall mode).
14902 (Bug#8340)
14903
14904 * vc/vc-git.el (vc-git-grep): Remove --no-color. (Bug#9408)
14905 (vc-git-grep): Prepend "PAGER=" to `compilation-environment'
14906 instead of replacing its value. (Bug#8340)
14907
0527e251
JL
149082011-09-07 Juri Linkov <juri@jurta.org>
14909
14910 * progmodes/grep.el (grep-regexp-alist): Calculate column positions
14911 based on text properties put by `grep-filter' instead of matching
14912 escape sequences.
14913 (grep-mode): Set buffer-local `compilation-error-screen-columns'
14914 to the value of `grep-error-screen-columns' (bug#9438).
14915
249f792c
JL
149162011-09-07 Juri Linkov <juri@jurta.org>
14917
14918 * simple.el (next-error-highlight, next-error-highlight-no-select):
14919 Doc fix (bug#9432).
14920
ff7271b9
OT
149212011-09-07 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
14922
14923 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
14924 Check for null c-opt-block-decls-with-vars-key. (Bug#9443)
14925
183fc730
LL
149262011-09-07 Leo Liu <sdl.web@gmail.com>
14927
14928 * net/rcirc.el (rcirc-mode): Conditionally initialize
14929 rcirc-input-ring.
14930
77694924
SM
149312011-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
14932
14933 * emacs-lisp/find-func.el (find-function-C-source): Only set
14934 find-function-C-source-directory after checking that we found a source
14935 file there (bug#9440).
14936
d809b8eb
AM
149372011-09-06 Alan Mackenzie <acm@muc.de>
14938
14939 * isearch.el (isearch-other-meta-char): Wherever a key list is
14940 unread, "unread" the prefix arg, too. This fixes bug #8901.
14941
453de99f
OG
149422011-09-05 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
14943
14944 * progmodes/grep.el (rgrep): Add "-type d" (bug#9414).
14945
90439906
JL
149462011-09-05 Juri Linkov <juri@jurta.org>
14947
14948 * progmodes/grep.el (grep-process-setup): Fix comments (bug#8084).
14949
f62bd846
JL
149502011-09-05 Juri Linkov <juri@jurta.org>
14951
14952 * progmodes/grep.el (grep-filter): Avoid incomplete processing by
14953 keeping point where processing of grep matches begins, and
14954 continue to delete remaining escape sequences from the same point.
14955 (grep-filter): Make leading zero optional in "0?1;31m" because
14956 git-grep emits "\033[1;31m" escape sequences unlike expected
14957 "\033[01;31m" as GNU Grep does (bug#9408).
14958 (grep-process-setup): Replace obsolete "ml=" with newer "sl=".
14959
045820ec
JL
149602011-09-05 Juri Linkov <juri@jurta.org>
14961
14962 * subr.el (y-or-n-p): Capitalize "yes".
14963
f5e29b9b
MA
149642011-09-04 Michael Albinus <michael.albinus@gmx.de>
14965
14966 * net/tramp.el (top): Require 'shell. Use `tramp-unload-hook' but
14967 `tramp-cache-unload-hook' where appropriate.
14968 (tramp-methods): Rename `tramp-remote-sh' to
14969 `tramp-remote-shell'. Add `tramp-remote-shell-args'.
14970 (tramp-handle-shell-command): New defun, moved from tramp-sh.el.
14971
14972 * net/tramp-sh.el (top): Don't require 'shell.
14973 (tramp-methods): Add `tramp-remote-shell' and
14974 `tramp-remote-shell-args' entries.
14975 (tramp-sh-file-name-handler-alist): Use `tramp-handle-shell-command'.
14976 (tramp-sh-handle-shell-command): Remove.
14977 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
14978 Use `tramp-remote-shell'.
14979
2784c434
CY
149802011-09-03 Chong Yidong <cyd@stupidchicken.com>
14981
393a301e 14982 * mail/sendmail.el (sendmail-query-once-function): Delete.
2784c434
CY
14983 (sendmail-query-once): Save directly to send-mail-function.
14984 Update message-send-mail-function too.
14985
14986 * mail/smtpmail.el (smtpmail-try-auth-methods): Clarify prompt.
14987
464cdf56
CS
149882011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
14989
14990 * progmodes/python.el (python-mode-map): Use correct function to
14991 start python interpreter from menu-bar (as reported by Geert
14992 Kloosterman).
14993 (inferior-python-mode-map): Fix typo.
393a301e 14994 (python-shell-map): Remove.
464cdf56 14995
d37e5c87
DD
149962011-09-03 Deniz Dogan <deniz@dogan.se>
14997
14998 * net/rcirc.el (rcirc-print): Simplify code for
14999 rcirc-scroll-show-maximum-output. There is no need to walk
15000 through all windows to find the right one.
15001
f3ada0ee
CS
150022011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
15003
15004 * help.el (help-return-method): Doc fix.
15005
1f3c99ca
MR
150062011-09-03 Martin Rudalics <rudalics@gmx.at>
15007
15008 * window.el (window-deletable-p): Don't return a non-nil value
15009 when there's a buffer that was shown in the window before.
15010 (Bug#9419)
393a301e
SM
15011 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
15012 Set window's previous buffers to nil.
1f3c99ca 15013
a3cf097f
EZ
150142011-09-03 Eli Zaretskii <eliz@gnu.org>
15015
15016 * mail/rmailmm.el (rmail-mime-insert-tagline): Insert an extra
15017 newline before and after the tag line, so it doesn't interfere
15018 with determining the paragraph direction of bidirectional text.
15019
3d03de90
LL
150202011-09-03 Leo Liu <sdl.web@gmail.com>
15021
15022 * files.el (find-file-not-true-dirname-list): Remove. (Bug#9422)
15023
c3313451
CY
150242011-09-02 Chong Yidong <cyd@stupidchicken.com>
15025
393a301e 15026 * window.el (pop-to-buffer-1, pop-to-buffer-same-window): Delete.
c3313451
CY
15027 (pop-to-buffer): Change interactive spec. Pass second argument
15028 directly to display-buffer.
15029 (display-buffer): Fix interactive spec. Use functionp to
15030 distinguish between a function and a list of functions.
15031
15032 * abbrev.el (edit-abbrevs):
15033 * arc-mode.el (archive-extract):
15034 * autoinsert.el (auto-insert):
15035 * bookmark.el (bookmark-bmenu-list):
15036 * files.el (find-file):
15037 * view.el (view-buffer):
15038 * progmodes/compile.el (compilation-goto-locus):
15039 * textmodes/bibtex.el (bibtex-initialize): Use switch-to-buffer.
15040
89894cd8
CY
150412011-09-02 Chong Yidong <cyd@stupidchicken.com>
15042
15043 * window.el (display-buffer-alist): Doc fix.
15044 (display-buffer): Add docstring. Don't treat
15045 display-buffer-default specially.
15046 (display-buffer-reuse-selected-window)
15047 (display-buffer-same-window, display-buffer-maybe-same-window)
15048 (display-buffer-reuse-window, display-buffer-pop-up-frame)
15049 (display-buffer-pop-up-window)
15050 (display-buffer-reuse-or-pop-window)
15051 (display-buffer-use-some-window): New functions.
15052 (display-buffer-default-action): Use them.
393a301e 15053 (display-buffer-default): Delete.
89894cd8
CY
15054 (pop-to-buffer-1): Fix choice of actions.
15055
ae0bc9fb
SM
150562011-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
15057
15058 * minibuffer.el (completion--insert-strings): Don't get confused by
15059 completion entries that end with an LF char.
15060
e9d90883
EZ
150612011-09-01 Eli Zaretskii <eliz@gnu.org>
15062
15063 * window.el (frame-auto-delete, window-deletable-p): Doc fix.
15064
437014c8
CY
150652011-09-01 Chong Yidong <cyd@stupidchicken.com>
15066
15067 * window.el (display-buffer): Restore interactive spec.
ae0bc9fb
SM
15068 (display-buffer-same-window, display-buffer-other-window):
15069 New functions.
437014c8
CY
15070 (pop-to-buffer-1): New function. Use the above.
15071 (pop-to-buffer, pop-to-buffer-same-window): Use it.
ae0bc9fb 15072 (pop-to-buffer-other-window, pop-to-buffer-other-frame): Delete.
437014c8
CY
15073
15074 * view.el (view-buffer-other-window, view-buffer-other-frame):
15075 Just use pop-to-buffer.
15076
a5e063d5
TV
150772011-09-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
15078
15079 * vc/vc-rcs.el (vc-rcs-responsible-p): Handle directories. (Bug#9391)
15080
793d32bb
WH
150812011-09-01 Wilfred Hughes <wilfred@potatolondon.com> (tiny change)
15082
15083 * vc/vc-git.el (vc-git-grep): Use --no-color. (Bug#9408)
15084
d65e4c15
RS
150852011-08-31 Richard Stallman <rms@gnu.org>
15086
15087 * mail/rmail.el (rmail-epa-decrypt): Rewrite to take account
15088 of the separation of rmail-view-buffer from rmail-buffer.
15089 If you say no to "replace original", the decrypt is in the
15090 view buffer. If you say yes, the decrypt goes into the
15091 rmail buffer also.
15092
f818cd2a
MR
150932011-08-31 Martin Rudalics <rudalics@gmx.at>
15094
15095 * window.el (display-buffer-window): Rewrite doc-string.
15096 (display-buffer-record-window): New function.
15097 (display-buffer-macro-specifiers)
15098 (display-buffer-even-window-sizes, display-buffer-set-height)
15099 (display-buffer-set-width, display-buffer-in-window)
15100 (display-buffer-reuse-window, display-buffer-split-specifiers)
15101 (display-buffer-side-specifiers, display-buffer-split-window-1)
15102 (display-buffer-split-window, display-buffer-split-atom-window)
15103 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
15104 (display-buffer-pop-up-side-window, display-buffer-in-side-window)
15105 (display-buffer-other-window-means-other-frame)
15106 (display-buffer-normalize-special)
15107 (display-buffer-normalize-default)
15108 (display-buffer-normalize-argument)
15109 (display-buffer-normalize-alist-1, display-buffer-normalize-alist)
15110 (display-buffer-normalize-specifiers, display-buffer-frame)
15111 (display-buffer-same-window, display-buffer-same-frame)
15112 (display-buffer-other-window)
15113 (display-buffer-same-frame-other-window)
15114 (display-buffer-other-frame, pop-to-buffer-same-window)
15115 (pop-to-buffer-same-frame, pop-to-buffer-other-window)
15116 (pop-to-buffer-same-frame-other-window, pop-to-buffer-other-frame)
15117 (switch-to-buffer-same-frame)
15118 (switch-to-buffer-other-window-same-frame)
15119 (display-buffer-alist-of-strings-p, display-buffer-alist-add)
15120 (display-buffer-alist-set-1, display-buffer-alist-set-2)
15121 (display-buffer-alist-set): Remove.
15122 (display-buffer-function, special-display-buffer-names)
ae0bc9fb
SM
15123 (special-display-regexps, special-display-function):
15124 In doc-string refer to display-buffer-window and quit-restore
f818cd2a
MR
15125 parameter.
15126 (pop-up-frame-alist, pop-up-frame-function, special-display-p)
15127 (special-display-frame-alist, special-display-popup-frame)
15128 (same-window-buffer-names, same-window-regexps, same-window-p)
15129 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
15130 (split-window-preferred-function, split-height-threshold)
15131 (split-width-threshold, window-splittable-p)
15132 (split-window-sensibly, window--try-to-split-window)
15133 (window--frame-usable-p, even-window-heights)
15134 (window--even-window-heights, window--display-buffer-1)
ae0bc9fb
SM
15135 (window--display-buffer-2, display-buffer-other-frame):
15136 Restore old Emacs 23 code, order and doc-strings where applicable.
f818cd2a
MR
15137 (display-buffer-default, display-buffer-assq-regexp): New functions.
15138 (display-buffer-alist): Rewrite doc-string.
15139 (display-buffer-default-action)
15140 (display-buffer-overriding-action): New variables.
15141 (display-buffer, switch-to-buffer): Rewrite.
15142 (pop-to-buffer): Restore Emacs 23 behavior but use
15143 window-normalize-buffer-to-display.
15144 (switch-to-buffer-other-window, switch-to-buffer-other-frame):
15145 Restore Emacs 23 behavior but use
15146 window-normalize-buffer-to-switch-to.
15147 (pop-to-buffer-same-window): Rewrite.
ae0bc9fb
SM
15148 (pop-to-buffer-other-window, pop-to-buffer-other-frame):
15149 Rewrite using Emacs 23 options.
f818cd2a 15150
5bc3b51d
MA
151512011-08-31 Michael Albinus <michael.albinus@gmx.de>
15152
15153 * net/tramp.el (tramp-root-regexp): Remove.
15154 (tramp-completion-file-name-regexp-unified)
15155 (tramp-completion-file-name-regexp-separate)
15156 (tramp-completion-file-name-regexp-url): Don't use leading volume
b46a6a83 15157 letter on w32 systems. (Bug#5303, Bug#9311)
ae0bc9fb
SM
15158 (tramp-drop-volume-letter): Simplify definition.
15159 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
5bc3b51d 15160
b1a4f8e1
SM
151612011-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
15162
15163 * subr.el (event-modifiers): Fix "missing modifier" part of docstring
15164 (bug#9356).
15165
5664fa7b
RT
151662011-08-30 Reuben Thomas <rrt@sc3d.org> (tiny change)
15167
b1a4f8e1 15168 * vc/pcvs-defs.el (cvs-find-file-and-jump): Docstring typo (bug#9369).
5664fa7b 15169
9a45d6c3
JL
151702011-08-29 Juri Linkov <juri@jurta.org>
15171
15172 * isearch.el (isearch-done): Don't display message "Mark saved"
15173 when arg `edit' is non-nil to prevent its flicker in the echo area.
15174
fb87e0fb
CY
151752011-08-28 Chong Yidong <cyd@stupidchicken.com>
15176
15177 * emacs-lisp/package.el (package-menu-mark-delete): Allow marking
15178 obsolete packages for deletion.
15179
09ac1c2a
CS
151802011-08-28 Christoph Scholtes <cschol2112@googlemail.com>
15181
15182 * help-mode.el (help-mode-map): Add special-mode-map to parent.
5e617bc2 15183 (help-mode): Derive help-mode from special-mode. Don't invoke
09ac1c2a
CS
15184 view-mode from help-mode.
15185 (help-xref-override-view-map): Remove.
15186 (help-make-xrefs): Remove minor-mode-overriding-map-alist since
15187 view-mode is not used anymore.
15188
7a1ff57f
CY
151892011-08-28 Chong Yidong <cyd@stupidchicken.com>
15190
15191 * server.el (server-port): Doc fix.
15192
b9696605
CY
15193 * cus-theme.el (custom-theme-choose-mode): Inherit from
15194 special-mode (Bug#9124).
15195 (custom-theme-choose-mode-map): Add special-mode to parent.
15196
ef8cdf8c
AM
151972011-08-28 Alan Mackenzie <acm@muc.de>
15198
15199 * progmodes/cc-fonts.el
15200 (c-make-font-lock-BO-decl-search-function): New function.
15201 (c-basic-matchers-after - "Fontify the clauses after various
15202 keywords"): Extract the three keyword lists for the 3 erroneous
15203 constructs from the list of four, and use the new function above
15204 in place of an old one.
15205
27de4e20
DD
152062011-08-28 Deniz Dogan <deniz@dogan.se>
15207
15208 * net/rcirc.el (rcirc-insert-prev-input)
15209 (rcirc-insert-next-input): Remove unused argument.
15210
356a3681
SM
152112011-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
15212
15213 * shell.el (shell-parse-pcomplete-arguments): Unquote args (bug#9160).
15214
3fc9b218
AM
152152011-08-27 Alan Mackenzie <acm@muc.de>
15216
15217 * progmodes/cc-menus.el (cc-imenu-c++-generic-expression): Make it
15218 handle function pointer parameters properly.
15219
538a061c
MR
152202011-08-27 Martin Rudalics <rudalics@gmx.at>
15221
15222 * window.el (display-buffer-reuse-window): Fix case where
15223 selected window was reused with non-nil OTHER-WINDOW argument.
15224 (Bug#9381)
15225
35b1c40c
DD
152262011-08-27 Deniz Dogan <deniz@dogan.se>
15227
15228 * net/rcirc.el (rcirc-check-auth-status): Adding support for
15229 oftc's NickServ messages.
15230
2f6a3e79
GM
152312011-08-27 Glenn Morris <rgm@gnu.org>
15232
15233 * saveplace.el (save-place-limit): Make it finite. (Bug#9352)
15234
7254299e
CY
152352011-08-26 Chong Yidong <cyd@stupidchicken.com>
15236
15237 * emacs-lisp/package.el (package-install): Call package-initialize
15238 if called interactively.
15239
f8ccf167
LL
152402011-08-26 Leo Liu <sdl.web@gmail.com>
15241
15242 * emacs-lisp/cl-macs.el (defstruct): Fix format. (Bug#9357)
15243
3e8cd5ce
JL
152442011-08-25 Juri Linkov <juri@jurta.org>
15245
15246 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
15247 `search-whitespace-regexp' (bug#9364).
15248
93eb7113
JL
152492011-08-25 Juri Linkov <juri@jurta.org>
15250
15251 * isearch.el (isearch-edit-string): Let-bind `search-ring' and
15252 `regexp-search-ring' to their global values to protect from
15253 updating by `read-from-minibuffer' (bug#9185).
15254
f65d1611
JL
152552011-08-25 Juri Linkov <juri@jurta.org>
15256
15257 * textmodes/ispell.el (ispell-command-loop): Add newline
15258 at the end of the "Use option `i'..." line.
15259
f1cf7a31
JL
152602011-08-25 Juri Linkov <juri@jurta.org>
15261
15262 * battery.el (display-battery-mode): If `battery-status-function'
15263 or `battery-mode-line-format' is nil, display the message and set
15264 `display-battery-mode' to nil (bug#9363).
15265
0c95fcf7
EZ
152662011-08-25 Eli Zaretskii <eliz@gnu.org>
15267
15268 * buff-menu.el (Buffer-menu-buffer+size): Remove calls to
15269 bidi-string-mark-left-to-right; they are unnecessary now.
15270
a2ebe600
DD
152712011-08-25 Deniz Dogan <deniz@dogan.se>
15272
15273 * net/quickurl.el: Documentation typo fixes.
15274
e4ed06f1
CY
152752011-08-25 Chong Yidong <cyd@stupidchicken.com>
15276
15277 * window.el (bury-buffer, quit-window): Use bury-buffer-internal.
15278
e5f1c99e
GM
152792011-08-25 Glenn Morris <rgm@gnu.org>
15280
b2948976
GM
15281 * emacs-lisp/derived.el (define-derived-mode): Doc fix.
15282
e5f1c99e
GM
15283 * mail/smtpmail.el (smtpmail-smtp-user): Add version: tag.
15284 (smtpmail-via-smtp): Handle nil response from smtp.
15285
f22f4808
JL
152862011-08-24 Juri Linkov <juri@jurta.org>
15287
15288 * proced.el (proced-marked): Inherit from `error' instead of
15289 `font-lock-warning-face'.
15290
15291 * ibuffer.el (ibuffer-marked-face): Change default face from
15292 `font-lock-warning-face' to `warning'.
15293 (ibuffer-deletion-face): Change default face from
15294 `font-lock-type-face' to `error'.
15295
15296 * battery.el (battery-update): Use the face `error' instead of
15297 `font-lock-warning-face' (bug#6117).
15298
6a93965e
JL
152992011-08-24 Juri Linkov <juri@jurta.org>
15300
15301 * faces.el (success): Change face color from "Green3" to
15302 "ForestGreen" on light background (bug#9353).
15303
1ed43b09
CY
153042011-08-24 Chong Yidong <cyd@stupidchicken.com>
15305
5664fa7b
RT
15306 * window.el (quit-window): Rename from quit-restore-window.
15307 Use same arglist as old quit-window.
1ed43b09
CY
15308 (frame-auto-delete): Doc fix.
15309
15310 * view.el (view-mode-exit): Use quit-window.
15311
11dcdbb2
JL
153122011-08-24 Juri Linkov <juri@jurta.org>
15313
15314 * isearch.el (isearch-ring-adjust1): Start visiting previous
15315 search strings from the index 0 (-1 + 1) instead of 1 (0 + 1).
15316 (isearch-repeat, isearch-edit-string): Call `isearch-ring-adjust1'
15317 for empty search string (when the last search string is reused
15318 automatically) to adjust the isearch ring to the last element and
15319 prepare the correct index for further M-p commands (bug#9185).
15320
de62b4df
KH
153212011-08-24 Kenichi Handa <handa@m17n.org>
15322
15323 * international/ucs-normalize.el: If decomposition property of
15324 CHAR is the default one (i.e. a list of CHAR itself), treat it as
15325 nil.
15326 (nfd, nfkd): Likewise.
15327
963b492b
SM
153282011-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
15329
15330 * mpc.el (mpc--proc-filter): Don't signal mpc-proc-error since signals
15331 from process filters aren't reliably transmitted to the surrounding
15332 accept-process-output.
15333 (mpc-proc-check): New function.
15334 (mpc-proc-sync): Use it (bug#8293)
15335
93b6b5e1
SM
153362011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
15337
15338 * emacs-lisp/eieio.el (eieio-defmethod, eieio-defgeneric):
15339 Add compatibility functions (bug#9313).
15340
bca633fb
EZ
153412011-08-23 Eli Zaretskii <eliz@gnu.org>
15342
b177498a
EZ
15343 * cus-start.el (all): Add entry for bidi-paragraph-direction.
15344
6df6ae42 15345 * international/uni-bidi.el: Regenerate.
bca633fb 15346
0902a04e
KH
153472011-08-23 Kenichi Handa <handa@m17n.org>
15348
15349 * international/charprop.el:
15350 * international/uni-bidi.el:
15351 * international/uni-category.el:
15352 * international/uni-combining.el:
15353 * international/uni-comment.el:
15354 * international/uni-decimal.el:
15355 * international/uni-decomposition.el:
15356 * international/uni-digit.el:
15357 * international/uni-lowercase.el:
15358 * international/uni-mirrored.el:
15359 * international/uni-name.el:
15360 * international/uni-numeric.el:
15361 * international/uni-old-name.el:
15362 * international/uni-titlecase.el:
15363 * international/uni-uppercase.el: Regenerate.
15364
3bbf23bc
MR
153652011-08-23 Martin Rudalics <rudalics@gmx.at>
15366
15367 * help.el (help-window-setup): Fix message displayed when other
15368 window is reused. (Bug#9341)
15369
b3fd59bd
SM
153702011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
15371
1802e444
SM
15372 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list.
15373 * pcomplete.el (pcomplete-quote-argument): Fix thinko (bug#9161).
15374
b3fd59bd
SM
15375 * pcomplete.el (pcomplete-parse-comint-arguments): Fix inf-loop.
15376 Mark obsolete.
15377 * shell.el (shell-parse-pcomplete-arguments): New function.
15378 (shell-completion-vars): Use it instead (bug#9160).
15379
4eb61348
SM
153802011-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
15381
867cab74
SM
15382 * progmodes/sh-script.el (sh-maybe-here-document): Disable magic in
15383 strings and comments (bug#9333).
15384
4eb61348
SM
15385 * emacs-lisp/debug.el (debug-arglist): New function.
15386 (debug-convert-byte-code): Use it. Handle lexical byte-codes.
15387 (debug-on-entry-1): Handle interpreted closures (bug#9120).
15388
262a1439
JL
153892011-08-22 Juri Linkov <juri@jurta.org>
15390
56ee679c
JL
15391 * progmodes/compile.el (compilation-mode-font-lock-keywords):
15392 Revert regexp that highlights output switches to its old
15393 pre-2010-10-28 value and remove one `?' from it (bug#9319).
15394
262a1439
JL
15395 * progmodes/grep.el (grep-process-setup): Use `buffer-modified-p'
15396 to check for empty output (bug#9226).
15397
f13f86fb
CY
153982011-08-22 Chong Yidong <cyd@stupidchicken.com>
15399
15400 * progmodes/scheme.el (scheme-mode-syntax-table): Don't use
15401 symbol-constituent as the default, as that stops font-lock from
15402 working properly (Bug#8843).
15403
c65c9622
LMI
154042011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
15405
15406 * mail/smtpmail.el (smtpmail-via-smtp): Only bind
15407 `coding-system-for-*' around the process open call to avoid
15408 auth-source side effects.
e7f2c178 15409 (smtpmail-try-auth-methods): Expand the secret password.
7185da52
LMI
15410 (smtpmail-query-smtp-server): Allow `quit'-ing out in case the
15411 probe hangs.
c65c9622 15412
23a8a5ab
CY
154132011-08-21 Chong Yidong <cyd@stupidchicken.com>
15414
ff98b2dd
CY
15415 * term.el (term-mouse-paste): Yank primary selection (Bug#6845).
15416
23a8a5ab
CY
15417 * emacs-lisp/find-func.el (find-function-noselect): New arg
15418 lisp-only.
15419
15420 * emacs-lisp/edebug.el (edebug-instrument-function): Use it to
15421 signal an error for built-in functions (Bug#6664).
15422
f5e3c598
LMI
154232011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
15424
15425 * mail/smtpmail.el (smtpmail-smtp-user): New variable.
15426 (smtpmail-try-auth-methods): Use it.
15427
a3f2468a
CY
154282011-08-21 Chong Yidong <cyd@stupidchicken.com>
15429
2c34e8da
CY
15430 * font-lock.el (font-lock-fontify-region)
15431 (font-lock-unfontify-region, font-lock-default-fontify-buffer)
15432 (font-lock-default-unfontify-buffer)
15433 (font-lock-default-fontify-region)
15434 (font-lock-default-unfontify-region): Add docstrings (Bug#8624).
15435
b3fd59bd
SM
15436 * progmodes/compile.el (compilation-error-properties):
15437 Fix confusion between file struct and message struct (Bug#9319).
02e5c89e
CY
15438 (compilation-error-regexp-alist-alist): Fix 2011-05-09 change to
15439 `ant' regexp.
ee31aabc 15440
a3f2468a
CY
15441 * net/browse-url.el (browse-url-firefox): Don't call
15442 browse-url-firefox-sentinel unless using -remote (Bug#9328).
15443
8e999f70
GM
154442011-08-20 Glenn Morris <rgm@gnu.org>
15445
c21a496a
GM
15446 * tutorial.el (help-with-tutorial): Avoid an error on short screens.
15447
59ee0542
GM
15448 * tutorial.el (tutorial--default-keys): Update some default bindings.
15449
8e999f70
GM
15450 * files.el (hack-local-variables): Fully ignore case for "mode:".
15451
e3715033
AM
154522011-08-20 Alan Mackenzie <acm@muc.de>
15453
15454 Resolve invalid use of a regexp in regexp-opt.
15455
4d61f28d
JB
15456 * progmodes/cc-fonts.el (c-complex-decl-matchers): Add in special
15457 detection for a java annotation.
e3715033 15458
4d61f28d 15459 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Add in special
e3715033
AM
15460 detection for a java annotation.
15461
4d61f28d
JB
15462 * progmodes/cc-langs.el (c-prefix-spec-kwds-re): Remove the special
15463 handling for java.
e3715033
AM
15464 (c-modifier-kwds): Remove the regexp "@[A-za-z0-9]+".
15465
04ed2e9c
CY
154662011-08-20 Chong Yidong <cyd@stupidchicken.com>
15467
15468 * startup.el (normal-top-level-add-subdirs-to-load-path): Doc fix
15469 (Bug#9274).
15470
826cee64
AM
154712011-08-20 Alan Mackenzie <acm@muc.de>
15472
58179cce 15473 Fontify CPP expressions correctly when starting in the middle of
826cee64
AM
15474 such a construct. Mainly for when jit-lock etc. starts a chunk
15475 here.
15476
58179cce 15477 * progmodes/cc-fonts.el (c-font-lock-context): New buffer local
826cee64 15478 variable.
58179cce 15479 (c-make-font-lock-search-form): New function, extracted from
826cee64
AM
15480 c-make-font-lock-search-function.
15481 (c-make-font-lock-search-function): Use the above function.
15482 (c-make-font-lock-context-search-function): New function.
15483 (c-cpp-matchers): Enhance the preprocessor expression case with
15484 the above function
15485 (c-font-lock-complex-decl-prepare): Test for being in a CPP form
15486 which takes an expression.
15487
15488 * progmodes/cc-langs.el (c-cpp-expr-intro-re): New lang-variable.
15489
13009bd8
MR
154902011-08-20 Martin Rudalics <rudalics@gmx.at>
15491
15492 * window.el (display-buffer-reuse-window)
15493 (display-buffer-pop-up-window): Don't reuse or split a side
15494 window.
15495
9234ff7f
GM
154962011-08-19 Glenn Morris <rgm@gnu.org>
15497
15498 * files.el (hack-local-variables-prop-line, hack-local-variables):
5e617bc2 15499 Downcase "Mode:". (Bug#9331)
9234ff7f 15500
f635daa1
CY
155012011-08-18 Chong Yidong <cyd@stupidchicken.com>
15502
15503 * international/characters.el: Add L and R categories.
15504
15505 * subr.el (bidi-string-mark-left-to-right): Rename from
15506 string-mark-left-to-right. Use category search.
15507
15508 * buff-menu.el (Buffer-menu-buffer+size): Callers changed.
15509
bc987f8b
JL
155102011-08-18 Juri Linkov <juri@jurta.org>
15511
15512 * faces.el (error, warning, success): New faces with definitions
15513 copied from old default values of `font-lock-warning-face',
15514 `compilation-warning', `compilation-info' (bug#6117).
15515
15516 * font-lock.el (font-lock-warning-face): Inherit from `error'.
15517
15518 * progmodes/compile.el (compilation-error): Inherit from `error'.
15519 (compilation-warning): Inherit from `warning'.
15520 (compilation-info): Inherit from `success'.
15521
15522 * dired.el (dired-marked): Inherit from `warning'.
15523 (dired-flagged): Inherit from `error'.
15524
57173b96
LMI
155252011-08-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
15526
3e79eb87
LMI
15527 * mail/smtpmail.el (auth-source): Require to avoid problems with
15528 binding variables (bug#9298). Also clean up some unused
15529 autoloads.
15530
b3fd59bd
SM
15531 * net/network-stream.el (network-stream-open-starttls):
15532 Support using starttls.el without using gnutls-cli.
57173b96 15533
02b404de
JL
155342011-08-17 Juri Linkov <juri@jurta.org>
15535
15536 * progmodes/grep.el (rgrep): Handle the case when
15537 `grep-find-command' is a cons cell (bug#9278).
15538
8c9177f2
MR
155392011-08-17 Martin Rudalics <rudalics@gmx.at>
15540
15541 * window.el (display-buffer-pop-up-frame): Run frame creation
15542 function with BUFFER current (as special-display-popup-frame
15543 does). Reported by Drew Adams.
15544
3644a0ab
DU
155452011-08-17 Daiki Ueno <ueno@unixuser.org>
15546
15547 * epa-mail.el: Simplify GnuPG group expansion using
15548 epg-expand-group.
15549 (epa-mail-group-alist, epa-mail-group-modtime)
15550 (epa-mail-gnupg-conf-file, epa-mail-parse-groups)
15551 (epa-mail-sync-groups, epa-mail-expand-recipient-1)
15552 (epa-mail-expand-recipients-2, epa-mail-expand-recipients):
15553 Remove.
15554
5e617bc2 155552011-08-16 Feng Li <fengli@gmail.com> (tiny change)
7c643369
FL
15556
15557 * calc/calc-ext.el (math-defintegral-2): Remove nested backquote.
15558
9c4aeabf
AM
155592011-08-16 Alan Mackenzie <acm@muc.de>
15560
15561 * progmodes/cc-engine.el (c-state-cache-non-literal-place):
15562 Correct, to avoid the inside of macros.
15563
3a99bf64
RS
155642011-08-16 Richard Stallman <rms@gnu.org>
15565
04963aa8
RS
15566 * epa-mail.el: Handle GnuPG group definitions.
15567 (epa-mail-group-alist, epa-mail-group-modtime)
15568 (epa-mail-gnupg-conf-file): New variables.
15569 (epa-mail-parse-groups, epa-mail-sync-groups)
15570 (epa-mail-expand-recipient-1, epa-mail-expand-recipients-2)
15571 (epa-mail-expand-recipients): New functions.
15572 (epa-mail-encrypt): Call epa-mail-expand-recipients.
15573
177549d0
RS
15574 * mail/rmail.el (rmail-epa-decrypt): New command.
15575
fe38beef
RS
15576 * epa.el (epa-decrypt-region): New arg MAKE-BUFFER-FUNCTION.
15577 Don't bind buffer-read-only, just inhibit-read-only.
3a99bf64
RS
15578 (epa--find-coding-system-for-mime-charset): Fix the non-xemacs case.
15579 (epa-decrypt-armor-in-region): Make error message clearer.
15580
934eacb9
SM
155812011-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
15582
15583 * minibuffer.el (completion-pcm--merge-completions): Don't merge "a1b"
15584 and "a2b" to "ab" for `prefix'.
15585
d024fb4e
CY
155862011-08-14 Chong Yidong <cyd@stupidchicken.com>
15587
15588 * ibuf-ext.el (ibuffer-filter-disable): New arg for deleting
15589 filter groups.
de148fee
CY
15590 (ibuffer-included-in-filter-p-1): Use it. Suggested by Rafaël
15591 Fourquet (Bug#8804).
d024fb4e 15592
62f1ca49
JB
155932011-08-12 Juanma Barranquero <lekktu@gmail.com>
15594
15595 * startup.el (argi): Declare as global variable (bug#9275).
15596
9ccaaa4b
CY
155972011-08-12 Chong Yidong <cyd@stupidchicken.com>
15598
15599 * subr.el (string-mark-left-to-right): Search the entire string
15600 for RTL script, not just the terminating character. Doc fix.
15601
a3dae87a
SM
156022011-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
15603
6cd18349
SM
15604 * progmodes/js.el (js-syntax-propertize, js-syntax-propertize-regexp):
15605 New function.
15606 (js--regexp-literal, js-syntax-propertize-function): Remove.
15607 (js-mode): Use js-syntax-propertize to handle multilines (bug#9183).
15608 (js-mode-map): Don't rebind electric keys.
15609 (js-insert-and-indent): Remove.
15610 (js-mode): Setup electric-layout and electric-indent instead.
15611
a3dae87a
SM
15612 * epa-file.el (epa-file-select-keys): Revert to nil default (bug#9280).
15613
9d5cb631
DU
156142011-08-12 Daiki Ueno <ueno@unixuser.org>
15615
15616 * epa.el (epa-progress-callback-function): Fix the logic of
15617 displaying progress.
15618 * epa-file.el (epa-file-insert-file-contents): Make progress
15619 display more user-friendly.
15620 (epa-file-write-region): Ditto.
15621
3e26a4a2
CY
156222011-08-10 Chong Yidong <cyd@stupidchicken.com>
15623
15624 * subr.el (string-mark-left-to-right): New function.
15625
15626 * buff-menu.el (Buffer-menu-buffer+size): Remove LRM argument.
15627 Use string-mark-left-to-right.
15628 (list-buffers-noselect): Caller changed.
15629
a3dae87a
SM
15630 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
15631 Use string-mark-left-to-right.
3e26a4a2
CY
15632 (tabulated-list-print): Recenter after moving point.
15633
ac8cf6e6
JL
156342011-08-10 Juri Linkov <juri@jurta.org>
15635
15636 * progmodes/grep.el (rgrep): Don't bind `process-connection-type'.
15637 This finishes incomplete reversion of 2011-06-30T01:09:13Z!larsi@gnus.org
15638 intended by 2011-07-06T15:49:19Z!larsi@gnus.org.
15639
8d96c9a4
CY
156402011-08-09 Chong Yidong <cyd@stupidchicken.com>
15641
15642 * hi-lock.el (hi-lock-unface-buffer): Fix interactive spec
15643 (Bug#7554).
15644
7be1c708 156452011-08-09 Andreas Schwab <schwab@linux-m68k.org>
29bbcfa7
AS
15646
15647 * xt-mouse.el (xterm-mouse-event-read): Try to recover the raw
15648 character. (Bug#6594)
15649
37e11a63
CY
156502011-08-08 Chong Yidong <cyd@stupidchicken.com>
15651
839dde57
CY
15652 * image-dired.el: Don't use find-file for temporary work (Bug#7895).
15653 (image-dired--with-db-file): New macro.
15654 (image-dired-write-tags, image-dired-remove-tag)
15655 (image-dired-create-gallery-lists, image-dired-write-comments)
15656 (image-dired-get-comment, image-dired-mark-tagged-files)
15657 (image-dired-list-tags, image-dired-gallery-generate): Use it.
15658 (image-dired-gallery-generate): Use insert-file-contents.
15659
37e11a63
CY
15660 * time.el (display-time-world-list, display-time-world-display):
15661 * time-stamp.el (time-stamp-string):
15662 * vc/add-log.el (add-change-log-entry): Use setenv instead of
15663 set-time-zone-rule (Bug#7337).
15664
0b4946c4
DU
156652011-08-08 Daiki Ueno <ueno@unixuser.org>
15666
15667 * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED): Fix typo.
15668 (epg-error-to-string, epg-errors-to-string): New function.
15669 (epg-wait-for-completion): Reverse errors list.
15670 (epg--check-error-for-decrypt, epg-sign-file, epg-sign-string)
15671 (epg-encrypt-file, epg-encrypt-string, epg-export-keys-to-file)
15672 (epg--import-keys-1, epg-receive-keys, epg-delete-keys)
15673 (epg-sign-keys, epg-generate-key-from-file)
15674 (epg-generate-key-from-string): Format errors by using
15675 epg-errors-to-string (bug#9255).
15676 (epg--status-INV_SGNR, epg--status-NO_SGNR): New status handler.
15677
75bfc667
JL
156782011-08-07 Juri Linkov <juri@jurta.org>
15679
15680 * faces.el (list-faces-display): Remove extra angle bracket
15681 from `help-mode-map'.
15682
15683 * info.el (Info-history-toc-nodes): Doc fix.
15684
15685 * longlines.el (longlines-mode): Doc fix.
15686
673e08bb
SM
156872011-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
15688
4640dd88
SM
15689 * progmodes/js.el (js--regexp-literal): Accept regexps at the beginning
15690 of statements and in a few more cases (bug#9183).
15691
673e08bb
SM
15692 * emacs-lisp/cl-macs.el (cl--make-usage-var, cl--make-usage-args):
15693 New functions.
15694 (cl-transform-lambda): Use them (bug#9239).
15695
89b3f019
MR
156962011-08-05 Martin Rudalics <rudalics@gmx.at>
15697
15698 * window.el (display-buffer-same-window)
15699 (display-buffer-same-frame, display-buffer-other-window)
15700 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
15701 (pop-to-buffer-other-window)
15702 (pop-to-buffer-same-frame-other-window)
15703 (pop-to-buffer-other-frame): Make them defuns.
15704 (switch-to-buffer): Don't set LABEL argument of pop-to-buffer.
15705
640c8776
SM
157062011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
15707
15708 * subr.el (make-composed-keymap): Move from C. Change calling
15709 convention, and improve docstring to bring attention to a subtle point.
15710 * minibuffer.el (completing-read-default): Adjust accordingly.
15711
63648a95
MA
157122011-08-03 Michael Albinus <michael.albinus@gmx.de>
15713
15714 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
15715 (tramp-open-shell): Use `tramp-shell-quote-argument'.
15716
15717 * net/trampver.el: Update release number.
15718
b796c9b7
SM
157192011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
15720
15721 * progmodes/sh-script.el (sh-font-lock-paren): Don't mistake "main" for
15722 "in" (bug#9190).
15723
2239d7d5
LMI
157242011-08-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
15725
e07dd7c3
LMI
15726 * mail/sendmail.el (sendmail-query-once): Restore the current
15727 buffer after querying (bug#9074).
15728
0e6a2bd7
LMI
15729 * dired.el (dired-flagged): Use different faces for marked and
15730 flagged files (bug#6117).
15731
ce887515
LMI
15732 * emacs-lisp/cl-macs.el (dolist): Mention that there's a nil block
15733 (bug#4433).
15734
92f2affc
LMI
15735 * ido.el (ido-mode): Switch off the message if called
15736 non-interactively.
15737
57d5aff0
LMI
15738 * mail/smtpmail.el (smtpmail-query-smtp-server): Try port 25
15739 before 587, since it appears that that's more likely to work for
15740 more people.
15741
98cd6c18 15742 * cus-edit.el (custom-file): When running under emacs -q, always
e1dbe924 15743 refuse to save the customizations, even if the .emacs file doesn't
98cd6c18
LMI
15744 exist.
15745
b96dec83
LMI
15746 * info.el: Remove the `Info-beginning-of-buffer' function
15747 (bug#8325).
15748
b796c9b7
SM
15749 * net/network-stream.el (network-stream-open-starttls):
15750 Use `starttls-available-p' to see whether starttls.el can be used.
2239d7d5 15751
d90e2ea0
MR
157522011-08-01 Martin Rudalics <rudalics@gmx.at>
15753
15754 * window.el (display-buffer-in-window): Don't set dedicated status
15755 of window here (Bug#9215).
15756 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
15757 (display-buffer-pop-up-side-window)
b796c9b7 15758 (display-buffer-in-side-window): Set dedicated status of window here.
d90e2ea0 15759
cca09170
SM
157602011-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
15761
15762 * emacs-lisp/package.el (package-generate-autoloads): Load autoloads
15763 before binding generated-autoload-file.
15764
027b979c
DD
157652011-08-01 Deniz Dogan <deniz@dogan.se>
15766
15767 * net/rcirc.el (rcirc-handler-333): Clarify docstring.
15768
3c7ee4f3
MA
157692011-07-30 Michael Albinus <michael.albinus@gmx.de>
15770
15771 Sync with Tramp 2.2.2.
15772
15773 * net/trampver.el: Update release number.
15774
2cc8e51a
JL
157752011-07-30 Juri Linkov <juri@jurta.org>
15776
15777 * dired-aux.el (dired-touch-initial): Remove function.
15778 (dired-do-chxxx): For op-symbol `touch', set `initial' to the
15779 current time, and `default' to the last modification time of the
15780 current marked file (bug#6887).
15781
a514d856
JM
157822011-07-28 Jose E. Marchesi <jemarch@gnu.org>
15783
15784 * simple.el (goto-line): Use string-to-number to provide a
2cc8e51a 15785 numeric argument to read-number (bug#9163).
a514d856 15786
8a7eddd7
MA
157872011-07-27 Michael Albinus <michael.albinus@gmx.de>
15788
15789 * net/tramp-sh.el (tramp-maybe-send-script): Don't let-bind the
15790 connection process, it could be nil.
15791
1ddd96f5
LL
157922011-07-27 Leo Liu <sdl.web@gmail.com>
15793
15794 Simplify url handling in rcirc-mode.
15795
15796 * net/rcirc.el (rcirc-browse-url-map, rcirc-browse-url-at-point)
15797 (rcirc-browse-url-at-mouse): Remove.
15798 * net/rcirc.el (rcirc-markup-urls): Use `make-button'.
15799
b248a85d
AM
158002011-07-26 Alan Mackenzie <acm@muc.de>
15801
15802 Fontify bitfield declarations properly.
15803
15804 * progmodes/cc-langs.el (c-has-bitfields): New lang variable.
15805 (c-symbol-chars): Now exported as a lang variable.
15806 (c-not-primitive-type-keywords): New lang variable.
15807
15808 * progmodes/cc-fonts.el (c-font-lock-declarations): Jump over the
15809 QT keyword "more" to prevent "more slots: ...." being spuriously
58179cce 15810 parsed as a bitfield declaration.
b248a85d 15811
b796c9b7
SM
15812 * progmodes/cc-engine.el (c-beginning-of-statement-1):
15813 Refactor and enhance to handle bitfield declarations.
b248a85d
AM
15814 (c-punctuation-in): New function.
15815 (c-forward-decl-or-cast-1): Enhance CASE 3 to handle bitfield
15816 declarations properly.
15817
68575ab0
UJ
158182011-07-26 Ulf Jasper <ulf.jasper@web.de>
15819
15820 * calendar/icalendar.el (icalendar--all-events): Take care of
15821 multiple vcalendars in a single file.
b796c9b7 15822 (icalendar--convert-float-to-ical): Checkdoc fixes.
68575ab0 15823
0f0a88b9
DD
158242011-07-25 Deniz Dogan <deniz@dogan.se>
15825
15826 * image.el (insert-image): Clarifying docstring.
15827
0b3f36df
MA
158282011-07-24 Michael Albinus <michael.albinus@gmx.de>
15829
15830 * net/tramp-sh.el (tramp-barf-unless-okay): Return the value of
15831 `tramp-send-command-and-check' if there is no error.
15832 (tramp-send-command-and-read): Suppress *all* errors if NOERROR.
15833
a9901f61
AM
158342011-07-22 Alan Mackenzie <acm@muc.de>
15835
15836 Prevent cc-langs.elc being loaded at run time.
15837
15838 * progmodes/cc-mode.el: Remove two autoload forms which loaded
15839 cc-langs.
15840
4d61f28d 15841 * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Don't emit
a9901f61
AM
15842 "(require 'cc-langs)". Quote a form so it will evaluate at
15843 (cc-mode's) compilation time.
15844
11d074b2
MA
158452011-07-22 Michael Albinus <michael.albinus@gmx.de>
15846
15847 * net/tramp.el (tramp-file-name-handler): Avoid recursive
15848 loading. (Bug#9114)
15849
938b94c8
MR
158502011-07-21 Martin Rudalics <rudalics@gmx.at>
15851
15852 * window.el (display-buffer-pop-up-window)
15853 (display-buffer-pop-up-side-window)
15854 (display-buffer-in-side-window): Call display-buffer-set-height
15855 and display-buffer-set-width after setting the new window's
b796c9b7 15856 buffer so `fit-window-to-buffer' and friends work on the right buffer.
938b94c8 15857
bfa4f190
SS
158582011-07-20 Sam Steingold <sds@gnu.org>
15859
15860 * progmodes/etags.el (etags-file-of-tag, etags-tags-table-files)
15861 (etags-tags-included-tables): Call `convert-standard-filename' on
15862 the file names contained in TAGS so that windows Emacs can handle
15863 TAGS files created by cygwin ctags.
15864
8ca42262
LMI
158652011-07-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
15866
15867 * proced.el (proced-update): Revert yesterday's bug#1779 patch,
15868 which apparently didn't work.
15869
5db2afd2 158702011-07-19 Roland Winkler <winkler@gnu.org>
2ecab2b5 15871
5db2afd2
RW
15872 * proced.el (proced-send-signal): For *Marked Processes* buffer
15873 put point at beginning of buffer.
15874
92e15d10
SB
158752011-07-19 Stephen Berman <stephen.berman@gmx.net>
15876
15877 * proced.el (proced-format): Make header lines align with the text
15878 (bug#1779).
15879
1bfd59e5
LMI
158802011-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
15881
15882 * view.el (view-buffer): Allow running in `special' modes if we're
15883 visiting a file (bug#8615).
15884
f5aae37c
MR
158852011-07-19 Martin Rudalics <rudalics@gmx.at>
15886
15887 * window.el (display-buffer-alist-of-strings-p)
b796c9b7
SM
15888 (display-buffer-alist-set-1, display-buffer-alist-set-2):
15889 New functions.
f5aae37c
MR
15890 (display-buffer-alist-set): Rewrite to handle Emacs 23 options
15891 more accurately.
15892
bf2c1571
AM
158932011-07-18 Alan Mackenzie <acm@muc.de>
15894
15895 Fontify declarators properly when, e.g., a jit-lock chunk begins
15896 inside a declaration.
15897
15898 * progmodes/cc-langs.el (c-symbol-chars): Correct a typo.
15899
b796c9b7
SM
15900 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
15901 New function.
bf2c1571
AM
15902 (c-complex-decl-matchers): Insert reference to
15903 c-font-lock-enclosing-decls.
15904
15905 * progmodes/cc-engine.el (c-backward-single-comment):
15906 (c-backward-comments): Bind open-paren-in-column-0-is-defun-start
15907 to nil around calls to (forward-comment -1).
15908
4e190b80
LMI
159092011-07-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
15910
12dc863d
LMI
15911 * image.el (put-image): Doc typo fix.
15912
a762e966
LMI
15913 * progmodes/etags.el (tags-search): Doc typo fix.
15914
4e190b80
LMI
15915 * mail/smtpmail.el (smtpmail-via-smtp): Query the user for
15916 password if we get errors 550 to 554.
15917
f019fb21
LMI
159182011-07-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
15919
b796c9b7 15920 * net/gnutls.el (gnutls-log-level): Remove.
750c33f7 15921
81746738
LMI
15922 * textmodes/fill.el (adaptive-fill-regexp): Include EN DASH as an
15923 indentation character (bug#6380).
15924
3ee3a1b5
LMI
15925 * files.el (buffer-offer-save): Made permanently local (bug#6241).
15926
c82f64de
LMI
15927 * doc-view.el (doc-view-make-safe-dir): Rewrite the error message
15928 to clarify what the problem is (bug#4291).
15929
f019fb21
LMI
15930 * simple.el (current-kill): Clarify what
15931 `interprogram-paste-function' does (bug#7500).
ca425c7c
LMI
15932 (auto-fill-mode): Document `auto-fill-function' in relation to
15933 `auto-fill-mode' (bug#2470).
f019fb21 15934
0794775d
LM
159352011-07-16 Lawrence Mitchell <wence@gmx.li>
15936
15937 * emacs-lisp/cl-macs.el (defstruct): Ignore argument to setf
15938 method if slot is read-only (bug#9035).
15939
be39b8cc
MR
159402011-07-16 Martin Rudalics <rudalics@gmx.at>
15941
b796c9b7 15942 * frame.el (select-frame-set-input-focus): New argument NORECORD.
be39b8cc 15943 * window.el (pop-to-buffer): Select window used even if it was
b796c9b7
SM
15944 selected before, see discussion of (Bug#8615), (Bug#6954).
15945 Pass argument NORECORD on to select-frame-set-input-focus.
be39b8cc 15946
6ccf7859
GM
159472011-07-15 Glenn Morris <rgm@gnu.org>
15948
15949 * subr.el (read-char-choice): Allow quitting. (Bug#9001)
03ea5b87 15950 Respect help-form.
6ccf7859 15951
87e86684
LM
159522011-07-09 Lawrence Mitchell <wence@gmx.li>
15953
15954 * net/gnutls.el (gnutls-min-prime-bits): New variable.
15955 (gnutls-negotiate): Use it.
15956
d6066239
LMI
159572011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
15958
b796c9b7
SM
15959 * net/gnutls.el (gnutls-negotiate):
15960 Upcase `gnutls-algorithm-priority'.
d6066239 15961
bd23ebc0
GM
159622011-07-15 Glenn Morris <rgm@gnu.org>
15963
c65bca65
GM
15964 * jka-compr.el (jka-compr-verbose): Move from here...
15965 * jka-cmpr-hook.el (jka-compr-verbose): ... to here. (Bug#9090)
15966 Add missing :version tag.
15967 * info.el: No need to require jka-compr when compiling.
bd23ebc0 15968
478615cc
LMI
159692011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
15970
7b41decb
LMI
15971 * net/gnutls.el (gnutls-algorithm-priority): New variable.
15972 (gnutls-negotiate): Use it.
15973
dbc44fcd
LMI
15974 * emacs-lisp/cl-macs.el (declare): Link to the "Declarations" node.
15975
06789f97
LMI
15976 * info.el (Info-beginning-of-buffer): New command.
15977 (Info-mode-map): Use it instead of `beginning-of-buffer' to allow
15978 announcing `b' as the key (bug#8325).
ab896c37 15979 (Info-mode-menu): Use `Info-beginning-of-buffer' for consistency.
06789f97 15980
c39da690
LMI
15981 * emacs-lisp/cl-macs.el (declare): Doc string fix-up.
15982
3aa5f34b
LMI
15983 * international/mule-cmds.el
15984 (describe-specified-language-support): Make the error message
15985 clearer (bug#8905).
15986
4bf0979f
LMI
15987 * emacs-lisp/cl-macs.el (declare): Add a doc string (bug#8690).
15988
478615cc
LMI
15989 * isearch.el (isearch-barrier): Add a doc string, since it's
15990 mentioned in a function doc string (bug#8678).
15991
75c68aa1
MR
159922011-07-15 Martin Rudalics <rudalics@gmx.at>
15993
15994 * window.el (switch-to-buffer): Call pop-to-buffer with normalized
15995 buffer argument (Bug#9083) and self-identifying label argument.
15996
a7c33da2
GM
159972011-07-15 Glenn Morris <rgm@gnu.org>
15998
15999 * emacs-lisp/debug.el (debug): Doc fix. (Bug#8273)
16000
2f5c6024
LMI
160012011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
16002
16003 * man.el (Man-fontify-manpage): Fix message when formatting the
16004 man page (bug#7929).
16005
0bb23927 160062011-07-14 Eli Zaretskii <eliz@gnu.org>
cce4b0a7
EZ
16007
16008 * buff-menu.el (Buffer-menu-buffer+size): Accept an additional
16009 argument LRM; if non-nil, append an invisible LRM character to the
16010 buffer name.
16011 (list-buffers-noselect): Call Buffer-menu-buffer+size with the
16012 last argument non-nil, when formatting buffer names.
0bb23927
EZ
16013 (Buffer-menu-mode, list-buffers-noselect): Force left-to-right
16014 paragraph direction.
cce4b0a7 16015
621ef9ab
LMI
160162011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
16017
d1583c48
LMI
16018 * man.el (Man-bgproc-sentinel): Skip any arguments and only output
16019 the man page name (bug#7929).
16020
6a57fb5f
LMI
16021 * image.el (put-image): Mention the `put-image' overlay property
16022 (bug#7834).
16023
d7956b14
LMI
16024 * scroll-bar.el (set-scroll-bar-mode): Mention that
16025 `scroll-bar-mode' lists the values (bug#7772).
16026
5b2d4a66
LMI
16027 * image-mode.el (image-mode-fit-frame): Mention that it's a toggle
16028 command (bug#7729).
16029
7509a874
LMI
16030 * rect.el (apply-on-rectangle): Return the point after the last
16031 operation.
16032 (string-rectangle): Go to the point after the last operation
16033 (bug#7522).
16034
4fe74b19
LMI
16035 * printing.el (pr-toggle-region): Clarify the documentation
16036 slightly (bug#7493).
16037
b796c9b7
SM
16038 * time.el (display-time-update):
16039 Allow `display-time-mail-function' to return nil (bug#7158).
16040 Fix suggested by Detlev Zundel.
ab283561 16041
fc233c9d
LMI
16042 * vc/diff.el (diff): Clarify the order the file names are read
16043 (bug#7111).
16044
43f5740b
LMI
16045 * mouse.el (mouse-set-region): Link to `mouse-drag-copy-region' in
16046 the doc string (bug#7015).
16047
f2182a76
LMI
16048 * font-lock.el (font-lock-maximum-decoration): Mention what
16049 numeric levels mean (bug#6935).
16050
621ef9ab
LMI
16051 * startup.el (initial-buffer-choice): Don't mention the `none'
16052 selection, which is against policy.
16053
adc47434
MR
160542011-07-14 Martin Rudalics <rudalics@gmx.at>
16055
b796c9b7
SM
16056 * window.el (display-buffer-normalize-special):
16057 Replace `dedicated' by `dedicate' to dedicate window (Bug#9072).
adc47434 16058
7e5bfb8f
EZ
160592011-07-14 Eli Zaretskii <eliz@gnu.org>
16060
16061 * subr.el (version<, version<=, version=): Mention "-CVS" and
16062 "-12345" alpha version numbers.
16063
27fa387a
CY
160642011-07-14 Chong Yidong <cyd@stupidchicken.com>
16065
16066 * bindings.el: Add advertised binding for set-mark-command
16067 (Bug#5772).
16068
8bdfa064
CY
160692011-07-14 Chong Yidong <cyd@stupidchicken.com>
16070
16071 * bindings.el (mode-line-other-buffer):
16072 * bookmark.el (bookmark-bmenu-2-window):
16073 * bs.el (bs-cycle-next, bs-cycle-previous):
16074 * net/tramp-cmds.el (tramp-append-tramp-buffers): Revert to using
16075 switch-to-buffer.
16076
16077 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
b796c9b7 16078 Delete.
8bdfa064 16079
5eba16a3
JB
160802011-07-14 Juanma Barranquero <lekktu@gmail.com>
16081
16082 * follow.el (follow-debug-message, follow-redisplay):
16083 * jka-cmpr-hook.el (with-auto-compression-mode):
16084 Fix typos in docstrings.
16085
15853710
LMI
160862011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
16087
a28e4607
LMI
16088 * subr.el (with-silent-modifications): Clarify somewhat what the
16089 macro inhibits (bug#6525).
16090
15853710
LMI
16091 * simple.el (eval-expression): Note what it does if called
16092 interactively (bug#6495).
16093
bee0fcef
CY
160942011-07-13 Chong Yidong <cyd@stupidchicken.com>
16095
b796c9b7
SM
16096 * window.el (switch-to-buffer): New arg FORCE-SAME-WINDOW.
16097 Use pop-to-buffer buffer-or-name if it is nil.
bee0fcef
CY
16098
16099 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
16100 Remove switch-to-buffer.
16101
58274504
LMI
161022011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
16103
bd2fcc8d
LMI
16104 * files.el (make-directory): Clarify that an error will be raised
16105 if there's an error (bug#6397).
16106
0f04b32c
LMI
16107 * startup.el (initial-buffer-choice): Add `none' as a choice
16108 (bug#6234).
16109
465c5fc8
LMI
16110 * subr.el (add-hook): Clarify section about buffer-local hooks
16111 (bug#6218).
16112
58274504
LMI
16113 * dired.el (dired-flagged): Clarify doc string (bug#6117).
16114
bead9a43
JB
161152011-07-13 Juanma Barranquero <lekktu@gmail.com>
16116
16117 * tabify.el (untabify): Preserve the current column so that point
16118 doesn't move (bug#6032).
16119
3af98a7b
LMI
161202011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
16121
b796c9b7
SM
16122 * progmodes/cperl-mode.el (cperl-syntaxify-by-font-lock):
16123 Rewrite to avoid awkward possessive "s" (bug#5986).
3af98a7b 16124
6240145a
GM
161252011-07-13 Glenn Morris <rgm@gnu.org>
16126
16127 * dired.el (dired-use-ls-dired): Doc fix. (Bug#9039).
16128 (dired-insert-directory): Give a message the first time
16129 if ls is found not to support --dired.
16130
1d8c2ccc
LMI
161312011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
16132
16133 * simple.el (toggle-truncate-lines): Clarify what is toggled
16134 (bug#5580). Text by Drew Adams.
16135
5fc4038e
CY
161362011-07-13 Chong Yidong <cyd@stupidchicken.com>
16137
16138 * simple.el (blink-matching-open): Make the error message from the
16139 last change less verbose.
16140
bf6012e5
DN
161412011-07-13 Dan Nicolaescu <dann@ics.uci.edu>
16142
16143 * font-lock.el (font-lock-comment-face): Use the high contrast
16144 "yellow" color for font-lock-comment-face on low color terminals
16145 using a dark background color (bug#4221).
16146
343c3b5a
LMI
161472011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
16148
7e9505c5
LMI
16149 * dired.el (dired-insert-set-properties): Make the doc string
16150 reflect what it does now (bug#5325).
16151
c26fdcf5
LMI
16152 * simple.el (blink-matching-open): Say that we were unable to find
16153 the match within the limit, if we're limited (bug#5122).
16154
bb388cc5
LMI
16155 * international/mule-cmds.el (prefer-coding-system): Add an
16156 example (bug#4869).
16157
343c3b5a
LMI
16158 * progmodes/etags.el (tags-search): Document `file-list-form'
16159 (bug#4731).
16160
2a517d45
LM
161612011-07-13 Lawrence Mitchell <wence@gmx.li>
16162
16163 * net/browse-url.el (browse-url-default-browser)
16164 (browse-url-browser-function): Make the default browser choice a
16165 bit more logical (bug#4300). Also clean up the doc string.
16166
b6c78ef2
JB
161672011-07-13 Juanma Barranquero <lekktu@gmail.com>
16168
16169 * bindings.el (completion-ignored-extensions): Add OpenMCL/Clozure
16170 binary endings (bug#4440).
16171
1c4dd947
LMI
161722011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
16173
a2014063
LMI
16174 * info.el (info-insert-file-contents): Inhibit jka-compr messages,
16175 which can be pretty annoying (bug#8971).
16176
9c9c2d88
LMI
16177 * jka-compr.el (jka-compr-verbose): New variable, and use
16178 throughout (bug#8971).
16179
1c4dd947
LMI
16180 * info.el (Info-find-file): Fall back on the installation
16181 directory if we can't find the info node anywhere else.
16182
a1c9f41b
SO
161832011-07-13 Sergei Organov <osv@javad.com> (tiny change)
16184
16185 * vc/vc.el (vc-revert-file):
16186 Don't set file time-stamp in the past. (Bug#5181)
16187
536f3d36
LMI
161882011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
16189
7152b011
LMI
16190 * files.el (after-find-file): Give a better error message when
16191 trying to find a symlink that points to a file that doesn't exist
16192 (bug#4398).
16193
536f3d36
LMI
16194 * progmodes/cc-vars.el: Remove (probably) misleading comment
16195 (bug#4396).
16196
460c0fba
JB
161972011-07-12 Johan Bockgård <bojohan@gnu.org>
16198
16199 * mouse-sel.el (mouse-sel-primary-overlay): Use the `region' face.
16200
7a6bda45
CY
162012011-07-12 Chong Yidong <cyd@stupidchicken.com>
16202
16203 * mouse-sel.el: Hack restoring functionality, while keeping
16204 compatibility with 2010-07-03 changes to mouse selection.
16205 (mouse-sel-primary-overlay): New var.
16206 (mouse-sel-selection-alist): Use it.
16207 (mouse-sel-mode): Doc fix; remove points that are default features
16208 of mouse.el.
16209
c79598ef
JB
162102011-07-12 Johan Bockgård <bojohan@gnu.org>
16211
16212 * progmodes/compile.el (compilation-error-regexp-alist-alist):
16213 Fix previous fix (bug#2490).
16214
ff8be6ef
RW
162152011-07-12 Roland Winkler <winkler@gnu.org>
16216
b796c9b7
SM
16217 * textmodes/bibtex.el (bibtex-initialize):
16218 Use pop-to-buffer-same-window.
ff8be6ef
RW
16219 (bibtex-search-entries): Fix interactive call.
16220
296ba3ee
LMI
162212011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
16222
f5242a02 16223 * progmodes/compile.el (compilation-error-regexp-alist-alist):
b796c9b7
SM
16224 Fontise bytecomp Error lines more correctly (bug#2490).
16225 Fix suggested by Johan Bockgård.
f5242a02 16226
296ba3ee
LMI
16227 * subr.el (remove-duplicates): Remove; `delete-dups' is sufficient.
16228
16229 * dired-x.el (dired-guess-default): Use `delete-dups'.
16230
f69fd0d2
CY
162312011-07-12 Chong Yidong <cyd@stupidchicken.com>
16232
16233 * dired.el (dired-mark-prompt):
16234 * dired-aux.el (dired-read-shell-command): Doc fix.
16235
eab5dc07
LMI
162362011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
16237
b796c9b7
SM
16238 * mail/sendmail.el (sendmail-query-once):
16239 Use `customize-save-variable' unconditionally, now that it works under
9988520a
LMI
16240 emacs -Q.
16241
16242 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
16243
eab5dc07
LMI
16244 * cus-edit.el (custom-file): Take an optional no-error variable.
16245 (customize-save-variable): Set the variable, and give a warning if
16246 running under "emacs -q".
16247
a1e65d42
JB
162482011-07-11 Juanma Barranquero <lekktu@gmail.com>
16249
16250 * loadhist.el (unload-feature-special-hooks):
16251 Add `auto-coding-functions', `fill-nobreak-predicate' and
16252 `find-directory-functions' (bug#5327).
16253
1d52da10
LMI
162542011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
16255
be958f1d
LMI
16256 * vc/ediff.el (ediff-patch-file): Clarify doc string (bug#3138).
16257
5bedb26c
LMI
16258 * cus-edit.el (custom-guess-name-alist): -alist variables should
16259 use the `alist' type (bug#3120). Suggested by Drew Adams.
16260
1d52da10
LMI
16261 * printing.el: Add documentation to all the `pr-toggle-' commands.
16262
cd394be1 162632011-07-11 Leo Liu <sdl.web@gmail.com>
481a51b6
LL
16264
16265 * files.el (toggle-read-only): Only do the `C-x C-q' warning on VC
16266 backends where it makes sense (bug#2623).
16267
dcc88d8a
LMI
162682011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
16269
c3de9feb
LMI
16270 * dired-x.el (dired-guess-default): Remove duplicate shell command
16271 entries (bug#2028).
8a93078b 16272 (dired-guess-default): Fix grammar in doc string (bug#2028).
eea84fe5 16273 (dired-guess-shell-alist-user): Clarify the example a bit (bug#2030).
c3de9feb 16274
dcc88d8a
LMI
16275 * subr.el (remove-duplicates): New conveniency function.
16276
505e3645
LMI
162772011-07-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
16278
16279 * tool-bar.el (tool-bar-mode): Clarify positive/negative arguments
16280 (bug#1526).
16281
162822011-07-10 Martin Rudalics <rudalics@gmx.at>
16283
16284 * window.el (display-buffer-normalize-default): Don't invert
16285 meaning of even-window-heights. Reported by Eli Zaretskii
16286 <eliz@gnu.org>.
16287
455e4fa1
BR
162882011-07-10 Bob Rogers <rogers@rgrjr.dyndns.org>
16289
16290 * vc/vc.el (vc-diff-internal): Fix race condition (Bug#1256).
16291
8e0bc3e9
CY
162922011-07-10 Chong Yidong <cyd@stupidchicken.com>
16293
16294 * window.el (display-buffer): Fix arguments to
16295 display-buffer-reuse-window in last change.
16296
fa7c3228
CY
16297 * faces.el (link): Use a less saturated blue on light backgrounds.
16298
16299 * startup.el (fancy-startup-text, fancy-about-text)
16300 (fancy-startup-tail): Use font-lock faces, for background safety.
16301
c0a7f300
BN
163022011-07-09 Bob Nnamtrop <bobnnamtrop@gmail.com> (tiny change)
16303
b796c9b7
SM
16304 * emulation/viper-cmd.el (viper-change-state-to-vi):
16305 Limit triggering of abbrev expansion (Bug#9038).
c0a7f300 16306
4dc2a129
MR
163072011-07-09 Martin Rudalics <rudalics@gmx.at>
16308
16309 * window.el (display-buffer-default-specifiers): Remove.
16310 (display-buffer-macro-specifiers): Remove default specifiers.
16311 (display-buffer-alist): Default to nil.
b796c9b7 16312 (display-buffer-reuse-window): New optional argument other-window.
4dc2a129
MR
16313 (display-buffer-pop-up-window): Allow splitting internal
16314 windows. Check whether a live window was created.
16315 (display-buffer-other-window-means-other-frame)
16316 (display-buffer-normalize-arguments): Rename to
16317 display-buffer-normalize-argument and rewrite. Set the
16318 other-window specifier.
16319 (display-buffer-normalize-special): New function.
16320 (display-buffer-normalize-options): Rename to
16321 display-buffer-normalize-default and rewrite.
16322 (display-buffer-normalize-options-inhibit): Remove.
16323 (display-buffer-normalize-specifiers): Rewrite.
16324 (display-buffer): Process other-window specifier and call
16325 display-buffer-reuse-window with it. Emulate Emacs 23 behavior
16326 more faithfully.
b796c9b7 16327 (pop-up-windows, even-window-heights): Restore Emacs 23 default values.
4dc2a129 16328 (display-buffer-alist-set): Don't handle 'unset default values.
b796c9b7
SM
16329 (display-buffer-in-window, display-buffer-alist-set):
16330 Replace symbol "dedicated" by "dedicate". Reported by Tassilo Horn
4dc2a129
MR
16331 <tassilo@member.fsf.org>.
16332
2d43b8c9
LL
163332011-07-09 Leo Liu <sdl.web@gmail.com>
16334
16335 * register.el (insert-register): Restore accidental change on
16336 2011-06-26. (Bug#9028)
16337
7f9b7c53
GM
163382011-07-09 Glenn Morris <rgm@gnu.org>
16339
16340 * subr.el (remq): Handle the empty list. (Bug#9024)
16341
f042cfd8
AS
163422011-07-08 Andreas Schwab <schwab@linux-m68k.org>
16343
16344 * mail/sendmail.el (send-mail-function): No longer delay custom
16345 initialization.
16346 * custom.el (custom-initialize-delay): Doc fix.
16347
856b2f11
SM
163482011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
16349
16350 * abbrev.el (expand-abbrev): Try to preserve point (bug#5805).
16351
afae1d68
MA
163522011-07-08 Michael Albinus <michael.albinus@gmx.de>
16353
16354 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use a
16355 human-friendly prompt.
16356
0757af94
SM
163572011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
16358
16359 * vc/vc-bzr.el (vc-bzr-revision-keywords): Remove svn, it's only
16360 provided by a particular plugin.
16361
d760b731
LMI
163622011-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
16363
16364 * mail/sendmail.el (sendmail-query-once): If we aren't allowed to
16365 save customizations (with "emacs -Q"), just set the variable
16366 instead of erroring out.
16367
16368 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
16369
cd79ce90
JL
163702011-07-08 Juri Linkov <juri@jurta.org>
16371
16372 * arc-mode.el (archive-zip-expunge, archive-zip-update)
16373 (archive-zip-update-case): Use 7z if found by `executable-find'.
16374 The order of searching the available programs is the same as in
16375 `archive-zip-extract' (bug#8968).
16376
14cc04aa
CY
163772011-07-07 Chong Yidong <cyd@stupidchicken.com>
16378
16379 * menu-bar.el (menu-bar-line-wrapping-menu): Revert last change.
16380 (menu-bar-options-menu): Tweak descriptions.
16381
0a1848ec
LMI
163822011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
16383
16384 * menu-bar.el (menu-bar-line-wrapping-menu): Make all the Options
16385 menu items into verb phrases (bug#1421). Also refill to fit under
16386 80 columns.
16387
f5bd0689
CY
163882011-07-07 Chong Yidong <cyd@stupidchicken.com>
16389
538e85c6
CY
16390 * info.el (info, Info-read-node-name-2, Info-read-node-name-1)
16391 (Info-read-node-name): Doc fix (Bug#1084).
16392
f5bd0689
CY
16393 * thingatpt.el (forward-thing, bounds-of-thing-at-point)
16394 (thing-at-point, beginning-of-thing, end-of-thing, in-string-p)
16395 (end-of-sexp, beginning-of-sexp)
16396 (thing-at-point-bounds-of-list-at-point, forward-whitespace)
16397 (forward-symbol, forward-same-syntax, word-at-point)
16398 (sentence-at-point): Doc fix (Bug#1144).
16399
56ec5115
LMI
164002011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
16401
f3f8e37f
LMI
16402 * info.el (Info-mode-map): Remove S-TAB binding, since [backtab]
16403 should cover it (bug#1281).
16404
0757af94 16405 * cus-edit.el (custom-show): Mark as obsolete.
af0905c8 16406
e9fce1ac 16407 * net/network-stream.el (network-stream-open-starttls): If GnuTLS
12b9eb35
LMI
16408 negotiation fails, then possibly try again with a non-encrypted
16409 connection (bug#9017).
16410
56ec5115
LMI
16411 * mail/smtpmail.el (smtpmail-stream-type): Note that `plain' can
16412 be used.
16413
c2f9aec8
RS
164142011-07-07 Richard Stallman <rms@gnu.org>
16415
16416 * mail/rmail.el (rmail-next-error-move): Use `compilation-message'
16417 property, and handle its changed format.
16418 Look for the correct line number.
16419 Use file's line contents (but not past first =) to find
16420 correct line in message.
16421
ef7b981d 164222011-07-07 Kenichi Handa <handa@m17n.org>
c805dec0
KH
16423
16424 * international/characters.el (build-unicode-category-table):
16425 Delete it.
0757af94 16426 (unicode-category-table): Set it by unicode-property-table-internal.
c805dec0 16427
0757af94 16428 * international/mule-cmds.el (char-code-property-alist): Move to
c805dec0
KH
16429 to src/chartab.c.
16430 (get-char-code-property): Call unicode-property-table-internal to
16431 load a file. Call get-unicode-property-internal where necessary.
16432 (put-char-code-property): Call unicode-property-table-internal to
16433 load a file. Call put-unicode-property-internal where necessary.
16434 put-unicode-property-internal where necessary.
0757af94
SM
16435 (char-code-property-description):
16436 Call unicode-property-table-internal to load a file.
c805dec0
KH
16437
16438 * international/charprop.el:
16439 * international/uni-bidi.el:
16440 * international/uni-category.el:
16441 * international/uni-combining.el:
16442 * international/uni-comment.el:
16443 * international/uni-decimal.el:
16444 * international/uni-decomposition.el:
16445 * international/uni-digit.el:
16446 * international/uni-lowercase.el:
16447 * international/uni-mirrored.el:
16448 * international/uni-name.el:
16449 * international/uni-numeric.el:
16450 * international/uni-old-name.el:
16451 * international/uni-titlecase.el:
16452 * international/uni-uppercase.el: Regenerate.
16453
16454 * loadup.el: Load international/charprop.el before
16455 international/characters.
16456
e14b388a
CY
164572011-07-07 Chong Yidong <cyd@stupidchicken.com>
16458
16459 * window.el (next-buffer, previous-buffer): Signal an error if
16460 called from a minibuffer window.
16461
16462 * bindings.el: Revert 2011-07-04 change.
16463
354cf0ba
RS
164642011-07-06 Richard Stallman <rms@gnu.org>
16465
16466 * mail/rmailmm.el (rmail-mime-process): Use markers for buf positions.
16467 (rmail-mime-insert-bulk, rmail-mime-insert-text):
16468 Treat markers like ints.
16469 (rmail-mime-entity): Doc fix.
16470
a48868a7
LMI
164712011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
16472
4906cd3d
LMI
16473 * mail/smtpmail.el (smtpmail-default-smtp-server): Made into a
16474 defcustom again for backwards compatibility.
16475
e0457abe
LMI
16476 * simple.el (shell-command-on-region): Fill.
16477
d67f7e1f
LMI
16478 * dired-aux.el (dired-kill-line): Add a doc string.
16479
fe204702
LMI
16480 * dabbrev.el (dabbrev-abbrev-char-regexp): Note that nil defaults
16481 to "\\sw\\|\\s_" (bug#358).
16482
a48868a7
LMI
16483 * dired.el (dired-mode): Clarify "unmark or unflag" (bug#8770).
16484 (dired-unmark-backward): Ditto.
16485 (dired-flag-backup-files): Ditto.
16486
16487 * dired-x.el (dired-mark-sexp): Ditto.
16488
aa8a705c
RS
164892011-07-06 Richard Stallman <rms@gnu.org>
16490
16491 * mail/rmailmm.el: Give entity a new slot, TRUNCATED.
16492 (rmail-mime-entity): New arg TRUNCATED.
16493 (rmail-mime-entity-truncated, rmail-mime-entity-set-truncated):
16494 New functions.
16495 (rmail-mime-save): Warn if entity is truncated.
16496 (rmail-mime-toggle-hidden): Likewise, for showing.
16497 (rmail-mime-process-multipart): Record when an entity is truncated.
16498
a9a936b9
RS
16499 * mail/rmailmm.el (rmail-search-mime-message): Don't get confused
16500 if ENTITY is a string.
16501
1f2b92cb
LMI
165022011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
16503
f4f73198 16504 * emacs-lisp/lisp-mode.el (eval-defun-1): Update the documentation
0757af94
SM
16505 of faces when `M-C-x'-ing their definitions (bug#8378).
16506 Also clean up the code slightly.
f4f73198 16507
12b16734 16508 * progmodes/grep.el (rgrep): Don't bind `process-connection-type',
da6062e6 16509 because that makes the colors go away.
12b16734 16510
f0691d22
LMI
16511 * mail/sendmail.el (send-mail-function): Change the default to
16512 `sendmail-query-once'.
9e87df06 16513 (sendmail-query-once): Add an autoload cookie.
f0691d22 16514
1f2b92cb
LMI
16515 * net/network-stream.el (network-stream-open-starttls): Try using
16516 a plain connection even if the server offered STARTTLS, and we
16517 kinda wanted to use it, if Emacs doesn't have any STARTTLS
16518 capability. This should make smtpmail.el work in slightly more
16519 configurations.
16520
1cdd2a1b
MA
165212011-07-06 Michael Albinus <michael.albinus@gmx.de>
16522
16523 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
16524 New defun.
16525 * net/tramp-cmds.el (tramp-append-tramp-buffers): Use it.
16526
fbcc67e2
MM
165272011-07-06 Michael R. Mauger <mmaug@yahoo.com>
16528
16529 * progmodes/sql.el: Version 3.0
0757af94 16530 (sql-product-alist): Add product :completion-object,
fbcc67e2 16531 :completion-column, and :statement attributes.
0757af94 16532 (sql-mode-menu, sql-interactive-mode-map): Fix List entries.
fbcc67e2 16533 (sql-mode-syntax-table): Mark all punctuation.
0757af94 16534 (sql-font-lock-keywords-builder): Temporarily remove fallback on
fbcc67e2
MM
16535 ansi keywords.
16536 (sql-regexp-abbrev, sql-regexp-abbrev-list): New functions.
0757af94 16537 (sql-mode-oracle-font-lock-keywords): Improve.
fbcc67e2
MM
16538 (sql-oracle-show-reserved-words): New function for development.
16539 (sql-product-font-lock): Simplify for source code buffers.
16540 (sql-product-syntax-table, sql-product-font-lock-syntax-alist):
16541 New functions.
16542 (sql-highlight-product): Set product specific syntax table.
0757af94
SM
16543 (sql-mode-map): Add statement movement functions.
16544 (sql-ansi-statement-starters, sql-oracle-statement-starters):
16545 New variable.
fbcc67e2
MM
16546 (sql-statement-regexp, sql-beginning-of-statement)
16547 (sql-end-of-statement, sql-signum): New functions.
0757af94 16548 (sql-buffer-live-p, sql=find-sqli-buffer): Add CONNECTION parameter.
fbcc67e2
MM
16549 (sql-show-sqli-buffer): Bug fix.
16550 (sql-interactive-mode): Store connection data as buffer local.
0757af94 16551 (sql-connect): Add NEW-NAME parameter. Redesign interaction
fbcc67e2
MM
16552 with sql-interactive-mode.
16553 (sql-save-connection): Save buffer local settings.
0757af94 16554 (sql-connection-menu-filter): Change menu entry name.
fbcc67e2
MM
16555 (sql-product-interactive): Bug fix.
16556 (sql-preoutput-hold): New variable.
16557 (sql-interactive-remove-continuation-prompt): Bug fixes.
16558 (sql-debug-redirect): New variable.
16559 (sql-str-literal): New function.
16560 (sql-redirect, sql-redirect-one, sql-redirect-value, sql-execute):
0757af94 16561 Redesign.
fbcc67e2
MM
16562 (sql-oracle-save-settings, sql-oracle-restore-settings)
16563 (sql-oracle-list-all, sql-oracle-list-table): New functions.
16564 (sql-completion-object, sql-completion-column)
16565 (sql-completion-sqlbuf): New variables.
16566 (sql-build-completions-1, sql-build-completions)
16567 (sql-try-completion): New functions.
16568 (sql-read-table-name): Use them.
16569 (sql-contains-names): New buffer local variable.
16570 (sql-list-all, sql-list-table): Use it.
16571 (sql-oracle-completion-types): New variable.
16572 (sql-oracle-completion-object, sql-sqlite-completion-object)
16573 (sql-postgres-completion-object): New functions.
16574
d4eaeab1
GM
165752011-07-06 Glenn Morris <rgm@gnu.org>
16576
16577 * window.el (pop-to-buffer): Doc fix.
16578
322b7dab 165792011-07-06 Markus Heiser <markus.heiser@darmarit.de> (tiny change)
a1d3a912
CY
16580
16581 * progmodes/gud.el (gud-pdb-marker-regexp): Accept \r char (Bug#5653).
16582
322b7dab 165832011-07-06 Chong Yidong <cyd@stupidchicken.com>
0484d600 16584
322b7dab 16585 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
4f8f657f 16586
322b7dab 16587 * info.el (Info-directory-toc-nodes): Minor doc fix (Bug#8833).
8f43cbf3 16588
605dd5bf
CY
165892011-07-05 Chong Yidong <cyd@stupidchicken.com>
16590
16591 * button.el (button): Inherit from link face. Suggested by Dan
16592 Nicolaescu.
16593
7dbfa719
SM
165942011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
16595
3db614b0
SM
16596 * progmodes/gdb-mi.el: Fit in 80 columns.
16597 (gdb-setup-windows, gdb-restore-windows): Avoid other-window and
16598 switch-to-buffer.
16599
7dbfa719
SM
16600 * progmodes/which-func.el (which-func-ff-hook): Don't output a message
16601 if imenu is simply not configured (bug#8941).
16602
919d884a
KM
166032011-07-05 Ken Manheimer <ken.manheimer@gmail.com>
16604
16605 * allout.el (allout-post-undo-hook): New allout outline-change
16606 event hook to signal undo activity.
16607 (allout-post-command-business): Run allout-post-undo-hook if an
16608 undo just occurred.
7dbfa719
SM
16609 (allout-after-copy-or-kill-hook, allout-mode): Minor docstring changes.
16610 * allout-widgets.el (allout-widgets-after-undo-function):
16611 Ensure the integrity of the current item's decoration after it has been
919d884a
KM
16612 in the vicinity of an undo.
16613 (allout-widgets-mode): Include allout-widgets-after-undo-function
16614 on the new allout-post-undo-hook.
16615
450a0f09
SM
166162011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
16617
16618 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-abbrev-table):
16619 Let define-derived-mode define it.
16620 * emacs-lisp/derived.el (define-derived-mode): Try to avoid creating
16621 cycles of abbrev-table inheritance (bug#8998).
16622
2de69e00
RW
166232011-07-05 Roland Winkler <winkler@gnu.org>
16624
16625 * textmodes/bibtex.el: Add support for biblatex.
16626 (bibtex-BibTeX-entry-alist, bibtex-biblatex-entry-alist)
16627 (bibtex-BibTeX-field-alist, bibtex-biblatex-field-alist)
16628 (bibtex-dialect-list, bibtex-dialect, bibtex-no-opt-remove-re)
16629 (bibtex-entry-alist, bibtex-field-alist): New variables.
16630 (bibtex-entry-field-alist): Obsolete alias for
16631 bibtex-BibTeX-entry-alist.
16632 (bibtex-entry-alist, bibtex-field-alist): New widgets.
16633 (bibtex-set-dialect): New command.
16634 (bibtex-entry-type, bibtex-entry-head)
450a0f09
SM
16635 (bibtex-entry-maybe-empty-head, bibtex-any-valid-entry-type):
16636 Bind via bibtex-set-dialect.
2de69e00
RW
16637 (bibtex-Article, bibtex-Book, bibtex-Booklet, bibtex-InBook)
16638 (bibtex-InCollection, bibtex-InProceedings, bibtex-Manual)
16639 (bibtex-MastersThesis, bibtex-Misc, bibtex-PhdThesis)
16640 (bibtex-Proceedings, bibtex-TechReport, bibtex-Unpublished):
16641 Define via bibtex-set-dialect.
450a0f09
SM
16642 (bibtex-name-in-field, bibtex-remove-OPT-or-ALT):
16643 Obey bibtex-no-opt-remove-re.
2de69e00
RW
16644 (bibtex-vec-push, bibtex-vec-incr): New functions.
16645 (bibtex-format-entry, bibtex-field-list)
16646 (bibtex-print-help-message, bibtex-validate)
16647 (bibtex-search-entries): Use new format of bibtex-entry-alist.
16648
2dcdbdd9
SM
166492011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
16650
16651 * progmodes/compile.el (compilation-goto-locus):
16652 * net/tramp-cmds.el (tramp-append-tramp-buffers):
16653 * bs.el (bs-cycle-next, bs-cycle-previous):
16654 * bookmark.el (bookmark-bmenu-list, bookmark-bmenu-2-window):
16655 * bindings.el (mode-line-other-buffer):
16656 * autoinsert.el (auto-insert):
16657 * arc-mode.el (archive-extract):
16658 * abbrev.el (edit-abbrevs): Fix some uses of switch-to-buffer.
16659
b27640fe
JB
166602011-07-05 Juanma Barranquero <lekktu@gmail.com>
16661
16662 * emacs-lock.el (emacs-lock-mode): Fix typo in variable name.
16663 Fix check of `emacs-lock-unlockable-modes'.
16664 Coerce true values of `emacs-lock--try-unlocking' to t.
16665
53bbe3ad
JB
166662011-07-05 Juanma Barranquero <lekktu@gmail.com>
16667
16668 * obsolete/old-emacs-lock.el: Rename from emacs-lock.el.
16669 * emacs-lock.el: New file.
16670
1d3cdbc7
JD
166712011-07-05 Julien Danjou <julien@danjou.info>
16672
16673 * textmodes/rst.el (rst-define-level-faces): Use `facep' rather
16674 than `boundp' to check if face is set.
16675
9173deec
JB
166762011-07-05 Juanma Barranquero <lekktu@gmail.com>
16677
16678 * register.el (registerv-make):
16679 * window.el (window-min-height): Fix typos in docstrings.
16680
869795d6
JD
166812011-07-05 Jan Djärv <jan.h.d@swipnet.se>
16682
9173deec 16683 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
869795d6
JD
16684 Update doc string.
16685
b768cdcd
JB
166862011-07-04 Juanma Barranquero <lekktu@gmail.com>
16687
16688 * server.el (server-execute): Catch quit and call
16689 `server-return-error' to pass the error back to emacsclient and
16690 close the connection (bug#8942).
16691
13aa217b
KM
166922011-07-04 Ken Manheimer <ken.manheimer@gmail.com>
16693
16694 * allout.el (allout-encrypt-unencrypted-on-saves): Do not provide
16695 insecure exception for current topic. Also note that auto-saves
16696 are handled differently.
16697
5d3385a0 16698 (allout-auto-save-temporarily-disabled, allout-just-did-undo):
13aa217b
KM
16699 State variables for tracking auto-save inhibition situation.
16700
16701 (allout-write-contents-hook-handler): Rename from
16702 'allout-write-file-hook-handler', and describe how it depends on
16703 write-contents-functions sensitivity to non-nil value to prevent
16704 file write.
16705
16706 (allout-auto-save-hook-handler): Remove. auto-save does not check
16707 this in individual buffers, only in the starting buffer, so this
16708 is not the right way for us to inhibit auto-save in a buffer
16709 according to its condition.
16710
16711 (allout-mode): Use new allout-write-contents-hook-handler, and
16712 only with write-contents-functions. Remove auto-save provisions -
16713 they're implemented elsewhere.
16714
16715 (allout-before-change-handler): If undo is in progress, note that
16716 for attention of allout-post-command-business.
16717
16718 (allout-post-command-business): If the command we're following was
16719 an undo, check for change in the status of encrypted items and
16720 adjust auto-save inhibitions accordingly.
16721
16722 (allout-toggle-subtree-encryption): Adjust auto-save inhibition
16723 according to whether there are or aren't any plain-text topics
16724 pending encryption.
16725
2dcdbdd9 16726 (allout-inhibit-auto-save-info-for-decryption):
1154d12e
JB
16727 Adjust buffer-saved-size and some allout state to inhibit auto-saves
16728 if there are plain-text topics pending encryption.
13aa217b
KM
16729
16730 (allout-maybe-resume-auto-save-info-after-encryption): Adjust
16731 buffer-saved-size and some allout state to not inhibit auto-saves
16732 if there are no longer any plain-text topics pending encryption.
16733
0757af94
SM
16734 (allout-next-topic-pending-encryption, allout-encrypt-decrypted):
16735 No longer provide for exemption of the current topic.
13aa217b 16736
ac89b32c
JL
167372011-07-04 Juri Linkov <juri@jurta.org>
16738
16739 Add 7z operations to delete and save changed members (bug#8968).
16740 * arc-mode.el (archive-7z-expunge, archive-7z-update):
16741 New defcustoms.
16742 (archive-7z-write-file-member): New function.
16743 (archive-7z-summarize): Fix the number of dashes in the
16744 listing output.
16745
8fa39615
SM
167462011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
16747
16748 * pcmpl-linux.el (pcomplete-pare-list): Re-add, from pcomplete.el
16749 (bug#8958).
16750
2f11b3f1
CY
167512011-07-04 Chong Yidong <cyd@stupidchicken.com>
16752
d66fef2b
CY
16753 * bindings.el: Ignore next-buffer and previous-buffer in
16754 minibuffer-local-map.
16755
2f11b3f1
CY
16756 * font-lock.el (font-lock-builtin-face): Change light background
16757 color to dark slate blue (Bug#6693).
16758
f932a347
WD
167592011-07-04 Wang Diancheng <dcwang@kingbase.com.cn> (tiny change)
16760
16761 * progmodes/gdb-mi.el (gdb): Use completion-at-point.
16762
c8af70e1
SM
167632011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
16764
16765 * files.el (find-file): Use pop-to-buffer-same-window (bug#8911).
16766 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
16767 Add switch-to-buffer.
16768
f158badc
LMI
167692011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
16770
16771 * isearch.el (isearch-search-fun-function): Clarify further the
16772 meaning of the function returned.
16773
6d95bd46
MA
167742011-07-04 Michael Albinus <michael.albinus@gmx.de>
16775
16776 * net/tramp-cmds.el (tramp-cleanup-this-connection): New command.
16777
16778 * net/tramp-sh.el (tramp-color-escape-sequence-regexp): New defconst.
16779 (tramp-sh-handle-insert-directory, tramp-convert-file-attributes):
16780 Use it.
16781 (tramp-remote-path): Add "/bin" and "/usr/bin". On busyboxes,
16782 `tramp-default-remote-path' does not exist.
16783 (tramp-send-command-and-read): New optional argument NOERROR.
16784 (tramp-open-connection-setup-interactive-shell)
16785 (tramp-get-remote-path, tramp-get-remote-stat): Use it.
16786 (tramp-get-remote-readlink): Do not mask with `ignore-errors'.
16787 (tramp-process-sentinel): Flush also process' connection property.
16788 (tramp-sh-handle-start-file-process): Do not set process
16789 sentinel. It is done now ...
16790 (tramp-maybe-open-connection): ... here. (Bug#8929)
16791
909e6b67
MK
167922011-07-04 MON KEY <monkey@sandpframing.com>
16793
16794 * play/animate.el (animate-string): Doc fixes and allow changing
16795 the buffer name (bug#5417).
16796
167972011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
16798
c8af70e1 16799 * play/animate.el (animation-buffer-name): Rename from *animate*.
909e6b67 16800
f34755dc
PE
168012011-07-04 Paul Eggert <eggert@cs.ucla.edu>
16802
396cec72
PE
16803 * emacs-lisp/timer.el: Use time-date fns rather than rolling our own.
16804 This is simpler and helps future-proof the code.
16805 (timer-until): Use time-subtract and float-time.
08235028 16806 (timer--time-less-p): Use time-less-p.
f34755dc 16807
56e6cc31
JB
168082011-07-04 Juanma Barranquero <lekktu@gmail.com>
16809
3abb79e5
JB
16810 * type-break.el (timep): Use the value of `float-time' to avoid a
16811 byte-compiler warning.
16812
56e6cc31
JB
16813 * server.el (server-eval-and-print): Return any result, even nil.
16814
7b9430b4
PE
168152011-07-03 Paul Eggert <eggert@cs.ucla.edu>
16816
16817 * type-break.el: Accept time formats that the builtins accept.
16818 (timep, type-break-time-difference): Accept any format that
16819 float-time accepts, rather than insisting on (HIGH LOW USECS) format.
16820 This is simpler and helps future-proof the code.
16821 (type-break-time-difference): Round rather than ignoring
16822 subseconds components.
16823
3034e9e7
LMI
168242011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
16825
16826 * info.el (Info-apropos-matches): Make non-interactive, since it
16827 doesn't seem to do anything useful as a command (bug#8829).
16828
1485f4c0
CY
168292011-07-03 Chong Yidong <cyd@stupidchicken.com>
16830
16831 * frame.el (frame-background-mode, frame-set-background-mode):
c8af70e1 16832 Move from faces.el.
1485f4c0
CY
16833 (frame-default-terminal-background): New function.
16834
16835 * custom.el (custom-push-theme): Don't record faces in `changed'
16836 theme; this doesn't work correctly for per-frame face settings.
16837 (disable-theme): Use face-set-after-frame-default to reset faces.
16838 (custom--frame-color-default): New function.
16839
9fa3dd45
LMI
168402011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
16841
c8af70e1 16842 * dired.el (dired-flagging-regexp): Remove unused variable
9fa3dd45
LMI
16843 (bug#8769).
16844
6cbbc20c
KR
168452011-03-29 Kevin Ryde <user42@zip.com.au>
16846
16847 * progmodes/compile.el (compilation-error-regexp-alist-alist):
16848 `perl-Test2' extend to match possible "fail #N" rep count
16849 (bug#8377).
16850
c7f98048
LMI
168512011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
16852
65676592
LMI
16853 * mail/feedmail.el (feedmail-buffer-to-smtpmail):
16854 `smtpmail-via-smtp' now returns the error instead of nil.
16855
c7f98048
LMI
16856 * isearch.el (isearch-search-fun-function): Clarify the doc string
16857 (bug#8101).
16858
56e6cc31 168592011-07-03 Richard Kim <emacs18@gmail.com> (tiny change)
9a51c6c7
RK
16860
16861 * textmodes/texnfo-upd.el (texinfo-insert-menu): Don't insert
16862 unnecessary spaces (bug#8987).
16863
2b216704
LMI
168642011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
16865
16866 * net/network-stream.el (open-network-stream): Use the
16867 :end-of-capability command thoughout.
16868
168692011-07-03 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
16870
16871 * net/network-stream.el (open-network-stream): Add the
16872 :end-of-capability command parameter, used by pop3.el.
16873
36adf6ce
LMI
168742011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
16875
1ca0da0e
LMI
16876 * dired.el (dired-map-over-marks): Refill the doc string (bug#6814).
16877
fc00f69c
LMI
16878 * fringe.el (fringe-query-style): Remove redundant text " (type ?
16879 for list)" (bug#6475).
16880
28fd8759 16881 * files.el (file-expand-wildcards): Ignore non-readable
8350f087 16882 sub-directories while trying to find matches instead of signaling
28fd8759
LMI
16883 an error (bug#6297).
16884
0dd8b6da
LMI
16885 * man.el (Man-reference-regexp): Allow matching possible
16886 word-wrapped references (bug#6289).
16887
ce1438d6
LMI
16888 * vc/vc.el (vc-modify-change-comment): Change *VC-log* to *vc-log*
16889 for consistency with the other vc buffers (bug#6197).
16890 (vc-checkin): Ditto.
16891
16892 * vc/vc-arch.el: Fix comments to match the *VC-log* name change.
16893
36adf6ce
LMI
16894 * longlines.el (longlines-mode): Document what ARG does (bug#6150).
16895
e83cc1f7
LMI
168962011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
16897
8a20ca4c
LMI
16898 * custom.el (defcustom): Clarify that :set is only used in the
16899 Customize user interface (bug#6089).
16900
83319045
LMI
16901 * progmodes/flymake.el (flymake-mode): If the buffer isn't
16902 associated with a file, refuse to run instead of erroring out
16903 (bug#6084).
16904
a8392169
LMI
16905 * textmodes/fill.el (fill-region): Remove the "Ordinarily" from
16906 the doc string, since it appears that using `fill-column' always
16907 controls the width (bug#7845).
16908
e83cc1f7
LMI
16909 * simple.el (shell-command-on-region): Say where the error output
16910 went if `shell-command-default-error-buffer' is set (bug#6857).
16911
e47ca23b
KM
169122011-07-02 Ken Manheimer <ken.manheimer@gmail.com>
16913
16914 * allout.el (allout-yank-processing): Adjust cursor position for
16915 backwards-deleted space.
16916
16917 (allout-rebullet-heading): Register changes with
16918 allout-exposure-changed-hook, so the modified topic is properly
16919 decorated.
16920
5cf56143
LMI
169212011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
16922
08549772
LMI
16923 * minibuffer.el (completion-in-region): Document PREDICATE
16924 (bug#7136).
16925
48e96771
LMI
16926 * info-look.el (info-lookup-add-help): Clarify that ARGS is a list
16927 of keyword/argument pairs (bug#6904).
16928
c8af70e1
SM
16929 * replace.el (multi-occur):
16930 Mention `multi-occur-in-matching-buffers' in the doc string (bug#7566).
5cf56143 16931
e17d05e2
LMI
169322011-07-02 Drew Adams <drew.adams@oracle.com>
16933
16934 * dired.el (dired-mark-if): Make the message about whether it's
16935 marking or unmarking clearer (bug#8523).
16936
063b0e45
LMI
169372011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
16938
16939 * disp-table.el (display-table-print-array): New function.
16940 (describe-display-table): Use it to print the vectors more pretty
16941 (Bug#8859).
16942
28545e04
MR
169432011-07-02 Martin Rudalics <rudalics@gmx.at>
16944
16945 * window.el (window-state-get-1): Don't assign clone numbers.
16946 Add clone-of item to list of window parameters.
16947 (window-state-put-2): Don't process clone numbers.
16948 (display-buffer-alist): Fix doc-string.
16949
3349e122
SM
169502011-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
16951
16952 * subr.el (remq): Don't allocate if it's not needed.
16953 (keymap--menu-item-binding, keymap--menu-item-with-binding)
16954 (keymap--merge-bindings): New functions.
16955 (keymap-canonicalize): Use them to refine the canonicalization.
16956 * minibuffer.el (minibuffer-local-completion-map)
16957 (minibuffer-local-must-match-map): Move initialization from C.
16958 (minibuffer-local-filename-completion-map): Move initialization from C;
16959 don't inherit from anything here.
16960 (minibuffer-local-filename-must-match-map): Make obsolete.
16961 (completing-read-default): Use make-composed-keymap to combine
16962 minibuffer-local-filename-completion-map with either
16963 minibuffer-local-must-match-map or
16964 minibuffer-local-filename-completion-map.
16965
d224ac83
GM
169662011-07-01 Glenn Morris <rgm@gnu.org>
16967
3de63bf8
GM
16968 * type-break.el (type-break-time-sum): Use dolist.
16969
d224ac83
GM
16970 * textmodes/flyspell.el (flyspell-word-search-backward):
16971 Replace CL function.
16972
1a1e3f32
SM
169732011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
16974
fe3f64d5
SM
16975 * mouse.el (mouse--strip-first-event): New function.
16976 (function-key-map): Use it to map fringe clicks to normal clicks
16977 by default.
16978
eb604e34
SM
16979 * vc/vc-bzr.el (vc-bzr-revision-keywords): Update.
16980 (vc-bzr-revision-completion-table): Add support for annotate and date.
16981
1a1e3f32
SM
16982 * emacs-lisp/derived.el (define-derived-mode): Make abbrev-table
16983 inherit from parent.
16984
5bd35902
LMI
169852011-07-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
16986
ace6c69c 16987 * dired-aux.el (dired-diff): Doc fixup (bug#8816).
26bde865 16988 (dired-show-file-type): Doc fixup (bug#8818).
ace6c69c 16989
191e2bed
LMI
16990 * dired.el (dired-mode): Fix up the doc string as suggested by
16991 Drew Adams (bug#8817).
16992
5bd35902
LMI
16993 * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
16994 cookie, since the manual says that it should be possible to add
16995 this function to `find-file-hook' (bug#8709).
16996
eee8207a
TZ
169972011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
16998
16999 * progmodes/cfengine.el: Moved all cfengine3.el functionality
17000 here. Noted Ted Zlatanov as the maintainer.
17001 (cfengine-common-settings, cfengine-common-syntax): New functions
17002 to set up common things between `cfengine-mode' and
17003 `cfengine3-mode'.
17004 (cfengine3-mode): New mode.
17005 (cfengine3-defuns cfengine3-defuns-regex
17006 (cfengine3-class-selector-regex cfengine3-category-regex)
17007 (cfengine3-vartypes cfengine3-font-lock-keywords)
17008 (cfengine3-beginning-of-defun, cfengine3-end-of-defun)
eb604e34 17009 (cfengine3-indent-line): Add from cfengine3.el.
eee8207a 17010
36b148cf
MA
170112011-07-01 Michael Albinus <michael.albinus@gmx.de>
17012
17013 * net/tramp.el (tramp-encoding-command-interactive): New defcustom.
17014
17015 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
17016
0bf4ba9a
MR
170172011-07-01 Martin Rudalics <rudalics@gmx.at>
17018
17019 * window.el (same-window-buffer-names, same-window-regexps)
17020 (same-window-p, special-display-frame-alist)
17021 (special-display-popup-frame, special-display-function)
17022 (special-display-buffer-names, special-display-regexps)
17023 (special-display-p, pop-up-frame-alist, pop-up-frame-function)
17024 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
17025 (split-window-preferred-function, split-height-threshold)
17026 (split-width-threshold, even-window-heights)
17027 (display-buffer-mark-dedicated, window-splittable-p)
17028 (split-window-sensibly, window-safely-shrinkable-p):
17029 Un-obsolete.
17030 (display-buffer): Don't spread args with function specifier
17031 because special-display-popup-frame won't like it.
17032
35837f51
PE
170332011-07-01 Paul Eggert <eggert@cs.ucla.edu>
17034
d0672f86
PE
17035 Time-stamp simplifications and fixes.
17036 These improve accuracy slightly, and future-proof the code
17037 against some potential changes to current-time format.
17038
b9444d97
PE
17039 * woman.el (woman-decode-buffer, WoMan-log-end): Log fractional secs
17040 by using time-since and float-time.
17041
0ef923dc
PE
17042 * vc/ediff-util.el (ediff-calc-command-time): Use time-since
17043 and float-time. Say "NNN.NNN seconds" rather than "NNN seconds
17044 + NNN microseconds".
17045
2f81380d
PE
17046 * type-break.el (type-break-time-sum): Rewrite using time-add.
17047
845b5c3e
PE
17048 * play/hanoi.el (hanoi-current-time-float): Remove.
17049 All uses replaced by float-time.
17050
ee6f1be0
PE
17051 * nxml/rng-maint.el (rng-time-function): Rewrite using time-subtract.
17052 This yields a more-accurate answer.
17053 (rng-time-to-float): Remove; no longer needed.
17054
fe955043
PE
17055 * emacs-lisp/timer.el (timer-relative-time): Use time-add.
17056
5777162a
PE
17057 * calendar/timeclock.el (timeclock-seconds-to-time):
17058 Defalias to seconds-to-time, since they're the same thing.
17059
3103f8b6 17060 * emacs-lisp/elp.el (elp-elapsed-time):
e2bac5f6 17061 * emacs-lisp/benchmark.el (benchmark-elapse):
35837f51
PE
17062 * allout-widgets.el (allout-elapsed-time-seconds): Use float-time.
17063
0e61a35f
SM
170642011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
17065
17066 * window.el (bury-buffer): Don't iconify the only frame.
17067 (switch-to-buffer): Revert to Emacs<23 behavior, i.e. do not fallback
17068 to pop-to-buffer. Use pop-to-buffer-same-frame if you don't like that.
17069
ddd63a1e
CY
170702011-07-01 Chong Yidong <cyd@stupidchicken.com>
17071
0e61a35f
SM
17072 * eshell/em-smart.el (eshell-smart-display-navigate-list):
17073 Add mouse-yank-primary.
ddd63a1e 17074
055f4923
TZ
170752011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
17076
17077 * progmodes/cfengine3.el: New file to support CFEngine 3.x.
17078
6a2fb145
SM
170792011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
17080
17081 * emacs-lisp/find-func.el (find-library--load-name): New fun.
17082 (find-library-name): Use it to find relative load names when provided
17083 absolute file name (bug#8803).
17084
fd4983f2
LMI
170852011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
17086
887d14ad
LMI
17087 * textmodes/flyspell.el (flyspell-word): Consider words that
17088 differ only in case as potential doublons (bug#5687).
17089
c53dc7fc
LMI
17090 * net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
17091 Remove two rather uninteresting debugging-like messages to make
17092 debbugs.el more silent.
17093
fd4983f2
LMI
17094 * comint.el (comint-password-prompt-regexp): Accept "Response" as
17095 a password-like phrase.
17096
7a71b18d 170972011-06-30 Masatake YAMATO <yamato@redhat.com>
b14c0c55
AM
17098
17099 * progmodes/cc-guess.el: New file.
17100
6a2fb145 17101 * progmodes/cc-langs.el (c-mode-menu): Add "Style..." submenu.
b14c0c55
AM
17102
17103 * progmodes/cc-styles.el (cc-choose-style-for-mode): New function
17104 derived from `c-basic-common-init'.
17105
17106 * progmodes/cc-mode.el (top-level): Require cc-guess.
17107 (c-basic-common-init): Use `cc-choose-style-for-mode'.
17108
1fa280a3
LM
171092011-06-30 Lawrence Mitchell <wence@gmx.li>
17110
17111 * progmodes/js.el (js-mode): Don't stomp on global settings (bug#8933).
17112
e6597158
AM
171132011-06-30 Alan Mackenzie <acm@muc.de>
17114
1fa280a3
LM
17115 * progmodes/cc-engine.el (c-guess-continued-construct):
17116 Correct the handling of template-args-cont, particularly for when font
e6597158
AM
17117 lock is disabled. Name this case as "CASE G".
17118
68ba37fb
KM
171192011-06-30 Ken Manheimer <ken.manheimer@gmail.com>
17120
17121 * allout.el (allout-yank-processing): Fix injection of extra space
17122 between bullet and non-whitespace character in first topic when
17123 pasting, ensuring that the actual spacing in the pasted topic
17124 following the bullet char is preserved. This extra space was
17125 causing pasted encrypted topics to get a decrypted status even
17126 when the content was actually still encrypted. Now the decryption
17127 status from before the paste is preserved.
17128
17129 (allout-flag-region): Set all allout overlays so they evaporate
17130 when reduced to zero length (evanescent), to prevent overlay
17131 leakage.
17132
887a0b34
GM
171332011-06-30 Glenn Morris <rgm@gnu.org>
17134
94b9acce
GM
17135 * w32-fns.el (w32-charset-info-alist): Declare.
17136
1d9b46d4
GM
17137 * find-dired.el (find-grep-options): Simplify.
17138
cc232200
GM
17139 * term/ns-win.el (ns-set-resource): Declare.
17140
28e77c46
GM
17141 * ses.el (row, col): Declare dynamic variables honestly.
17142
887a0b34
GM
17143 * textmodes/reftex-parse.el (index-tags): Declare.
17144
658d8eb8
CY
171452011-06-30 Chong Yidong <cyd@stupidchicken.com>
17146
17147 * cus-edit.el (customize-push-and-save): New function.
17148
17149 * files.el (hack-local-variables-confirm): Use it.
17150
1fa280a3
LM
17151 * custom.el (load-theme): New arg NO-CONFIRM.
17152 Use customize-push-and-save (Bug#8720).
658d8eb8
CY
17153 (custom-enabled-themes): Doc fix.
17154
17155 * cus-theme.el (customize-create-theme)
17156 (custom-theme-merge-theme): Callers to load-theme changed.
17157
bb617717
LMI
171582011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
17159
d61bdd5d
LMI
17160 * thingatpt.el (thing-at-point-short-url-regexp): Require that
17161 short URLs have at least one dot in them (bug #7614).
17162
bb617717
LMI
17163 * progmodes/grep.el (rgrep): Bind `process-connection-type' to
17164 nil, because using a pty is apparently too slow (bug #895).
17165
2f31f37a
LMI
171662011-06-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
17167
17168 * mail/sendmail.el (sendmail-query-once): New function.
17169 (sendmail-query-once-function): New variable.
17170
3076b24e
GM
171712011-06-29 Glenn Morris <rgm@gnu.org>
17172
faf2a174
GM
17173 * files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.
17174
3076b24e
GM
17175 * ses.el (top-level): Require cl when compiling.
17176 (ses-set-localvars): Fix error statement.
17177 Call it at compile time to silence a storm of warnings.
17178
5386012d
MR
171792011-06-29 Martin Rudalics <rudalics@gmx.at>
17180
17181 * window.el (normalize-live-buffer): Rename to
17182 window-normalize-buffer.
17183 (normalize-live-frame): Rename to window-normalize-frame.
17184 (normalize-any-window): Rename to window-normalize-any-window.
17185 (normalize-live-window): Rename to window-normalize-live-window.
17186 (make-window-atom): Rename to window-make-atom.
17187 (window-resize-reset): Rename to window--resize-reset.
17188 (window-resize-reset-1): Rename to window--resize-reset-1.
17189 (resize-mini-window): Rename to window--resize-mini-window.
17190 (resize-subwindows-skip-p): Rename to
17191 window--resize-subwindows-skip-p.
17192 (resize-subwindows-normal): Rename to
17193 window--resize-subwindows-normal.
17194 (resize-subwindows): Rename to window--resize-subwindows.
17195 (resize-other-windows): Rename to window--resize-siblings.
17196 (resize-this-window): Rename to window--resize-this-window.
17197 (resize-root-window): Rename to window--resize-root-window.
17198 (resize-root-window-vertically): Rename to
17199 window--resize-root-window-vertically.
17200 (normalize-buffer-to-display): Rename to
17201 window-normalize-buffer-to-display.
17202 (normalize-buffer-to-switch-to): Rename to
17203 window-normalize-buffer-to-switch-to.
17204 Correspondingly update all callers of the functions listed
17205 above.
17206 (display-buffer-alist, display-buffer-normalize-arguments)
17207 (display-buffer-normalize-options, display-buffer)
17208 (display-buffer-alist-set): Use "function" instead of
17209 "fun-with-args".
17210
1176868d
CY
172112011-06-28 Chong Yidong <cyd@stupidchicken.com>
17212
17213 * mail/emacsbug.el (report-emacs-bug): Handle non-gnu bug
17214 addresses more clearly. Add hyperlinks for bug-gnu-emacs and
17215 debbugs.gnu.org. Mention acknowledgment email.
17216
20a7a65f
LMI
172172011-06-28 Lars Magne Ingebrigtsen <larsi@gnus.org>
17218
17219 * mail/smtpmail.el (smtpmail-send-it): Leave off changing the
17220 buffer multibyteness, since it shouldn't matter.
17221
5f45cca5
MR
172222011-06-28 Martin Rudalics <rudalics@gmx.at>
17223
17224 * window.el (display-buffer-in-side-window): Handle dedicated
17225 windows as in display-buffer-reuse-window.
17226 (display-buffer-normalize-alist): Use value of override
17227 specifier.
17228 (display-buffer-normalize-specifiers): Use value of
17229 other-window-means-other-frame specifier.
17230 (display-buffer-alist): Rewrite some texts in widgets.
17231 (display-buffer): Spread arguments when calling function
17232 specified by fun-with-args.
17233
ad85fe1f
DD
172342011-06-28 Deniz Dogan <deniz@dogan.se>
17235
1fa280a3
LM
17236 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
17237 Unnest `let'.
da68c4c8 17238
ad85fe1f
DD
17239 * textmodes/css-mode.el (css-font-lock-keywords): Fix grouped
17240 selectors (Bug#5732).
ec49bd31 17241 (css-proprietary-nmstart-re): Use `regexp-opt'.
ad85fe1f 17242
a08cc025
JA
172432011-06-27 Jari Aalto <jari.aalto@cante.net>
17244
17245 * eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).
17246 (eshell-ls-date-format): New defcustom.
17247 (eshell-ls-file): Use it.
17248
e2b551c5
SM
172492011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
17250
17251 * help-fns.el (describe-variable): Fix message for terminal-local vars.
17252
8982b231
KY
172532011-06-27 Katsumi Yamaoka <yamaoka@jpl.org>
17254
17255 * net/ange-ftp.el: Allow loading .gz files (Bug#6923).
17256 (ange-ftp-make-tmp-name): New arg.
17257 (ange-ftp-file-local-copy): Use it.
17258
36c9fa27
J
172592011-06-27 Jambunathan K <kjambunathan@gmail.com>
17260
17261 * tar-mode.el (tar-untar-buffer): Set coding-system-for-write to
17262 no-conversion (Bug#8870).
17263
d68443dc
MR
172642011-06-27 Martin Rudalics <rudalics@gmx.at>
17265
17266 * window.el (window-right, window-left, window-child)
17267 (window-child-count, window-last-child)
17268 (window-iso-combination-p, walk-window-tree-1)
17269 (window-atom-check-1, window-tree-1, delete-window)
17270 (window-state-get-1, display-buffer-even-window-sizes): Adapt to
17271 new naming conventions - window-vchild, window-hchild,
17272 window-next and window-prev are now called window-top-child,
17273 window-left-child, window-next-sibling and window-prev-sibling
17274 respectively.
d615d6d2
MR
17275 (resize-window-reset): Rename to window-resize-reset.
17276 (resize-window-reset-1): Rename to window-resize-reset-1.
17277 (resize-window): Rename to window-resize.
17278 (window-min-height, window-min-width)
17279 (resize-mini-window, resize-this-window, resize-root-window)
17280 (resize-root-window-vertically, adjust-window-trailing-edge)
17281 (enlarge-window, shrink-window, maximize-window)
17282 (minimize-window, delete-window, quit-restore-window)
17283 (split-window, balance-windows, balance-windows-area-adjust)
17284 (balance-windows-area, window-state-put-2)
17285 (display-buffer-even-window-sizes, display-buffer-set-height)
17286 (display-buffer-set-width, set-window-text-height)
17287 (fit-window-to-buffer): Rename all "resize-window" prefixed
17288 calls to use the "window-resize" prefix convention.
17289 (display-buffer-alist): Fix symbol for label specifier.
17290 (display-buffer-reuse-window): Set reuse-dedicated to cdr of
17291 corresponding specifier.
17292 Reported by Juanma Barranquero <lekktu@gmail.com>.
d68443dc 17293
b6458526
VB
172942011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
17295
17296 * ses.el (ses-destroy-cell-variable-range): Fix heading comment
17297 convention.
17298 (ses-call-printer): Does not pass an empty string to formatter when the
17299 cell is empty to keep from barking printer Calc math-format-value.
17300
d31fd9ac
RS
173012011-06-27 Richard Stallman <rms@gnu.org>
17302
43d5bf84
RS
17303 * battery.el (battery-mode-line-limit): New variable.
17304 (battery-update): Handle it.
17305
d31fd9ac
RS
17306 * mail/rmailmm.el (rmail-mime-process-multipart):
17307 Handle truncated messages.
17308
819a6054
GM
173092011-06-27 Glenn Morris <rgm@gnu.org>
17310
17311 * progmodes/flymake.el (flymake-err-line-patterns):
17312 Allow for column numbers in the ant/javac pattern. (Bug#8866)
17313
cedc73f2
VB
173142011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
17315
819a6054 17316 * ses.el (ses-relocate-range): Keep rest of arguments for ses-range.
cedc73f2
VB
17317 (ses--clean-!, ses--clean-_): New functions.
17318 (ses-range): Add configurability of readout order, and conversion
17319 to Calc vector.
17320
5e5d49b6
VB
17321 * ses.el (ses-repair-cell-reference-all): New function.
17322 (ses-cell-symbol): Set macro as safe, so that it can be used in
17323 formulas.
17324
56e6cc31 17325 * ses.el: Update cycle detection algorithm.
90ca8b49 17326 (ses-localvars): Add ses--Dijkstra-attempt-nb and
819a6054 17327 ses--Dijkstra-weight-bound, and initial values thereof when applicable.
90ca8b49
VB
17328 (ses-set-localvars): New function.
17329 (ses-make-cell): Add property-list as a cell element.
17330 (ses-cell-property-get-fun, ses-cell-property-get)
17331 (ses-cell-property-delq-fun, ses-cell-property-set-fun)
819a6054
GM
17332 (ses-cell-property-pop-fun, ses-cell-property-get-handle-fun):
17333 New functions.
90ca8b49
VB
17334 (ses-cell-property-set, ses-cell-property-pop)
17335 (ses-cell-property-get-handle): New macro.
17336 (ses-cell-property-handle-car, ses-cell-property-handle-setcar):
17337 New aliases, used for code readability.
17338 (ses-calculate-cell, ses-update-cells): Use Dijkstra algorithm for
17339 cycle detection.
17340 (ses-self-reference-early-detection): New defcustom.
fac916bf 17341 (ses-formula-references): Robustify against self-referring cells.
90ca8b49
VB
17342 (ses-mode): Use ses-set-localvars.
17343 (ses-command-hook): Add call to ses-initialize-Dijkstra-attempt
17344 before lauching the update processing.
17345 (ses-initialize-Dijkstra-attempt): New function.
17346 (ses-recalculate-cell): Update for cycle detection based on
17347 Dijkstra algorithm.
17348
2bb63e81
VB
17349 * ses.el: Fix commenting and indenting convention.
17350
c9d29fb8
SM
173512011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
17352
17353 * bs.el (bs-cycle-next): Complete last change.
17354
d8e4b68b
JB
173552011-06-27 Drew Adams <drew.adams@oracle.com>
17356
17357 * faces.el (list-faces-display): Add help-mode-map to output (bug#8939).
17358
40098786
LMI
173592011-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
17360
c9d29fb8
SM
17361 * net/network-stream.el (network-stream-open-starttls):
17362 Don't re-get capabilities unless we've reestablished connection.
f6ab314e
LMI
17363 (network-stream-open-starttls): Fix stupid typo with gnutls-clii.
17364
40098786
LMI
17365 * mail/smtpmail.el (smtpmail-via-smtp): Bind coding-system-for-*
17366 to binary to possibly avoid line encoding issues on Windows (among
17367 other things).
17368
468d09d4
LMI
173692011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
17370
17371 * net/network-stream.el (open-network-stream): Return an :error
17372 saying what the problem was, if possible.
17373
17374 * mail/smtpmail.el (smtpmail-via-smtp): Report the error from the
17375 server.
17376
17377 * net/network-stream.el (network-stream-open-starttls): If we
17378 wanted to use STARTTLS, and the server offered it, but we weren't
17379 able to because we had no STARTTLS support, then close the connection.
17380 (open-network-stream): Return an :error element, if present.
17381
16f07dd7
CY
173822011-06-26 Chong Yidong <cyd@stupidchicken.com>
17383
88821ca0
CY
17384 * hl-line.el (hl-line-sticky-flag): Doc fix.
17385 (global-hl-line-sticky-flag): New option (Bug#8323).
17386 (global-hl-line-highlight): Obey it.
17387
16f07dd7
CY
17388 * vc/vc.el (vc-revert-show-diff): Default to t.
17389
6b5ccddf
KM
173902011-06-26 Ken Manheimer <ken.manheimer@gmail.com>
17391
c9d29fb8
SM
17392 * allout-widgets.el (allout-widgets-post-command-business):
17393 Stop decorating intermediate isearch matches. They're not being
6b5ccddf
KM
17394 undecorated when an isearch is continued past, and isearch
17395 automatically collapses them. This leads to "widget leaks", where
17396 decorated items accumulate in collapsed areas. Lines with lots of
c9d29fb8
SM
17397 hidden widgets can slow down cursor travel, substantially.
17398 Too much complicated machinery would be needed to ensure undecoration,
6b5ccddf
KM
17399 so we're doing without this nicety.
17400
17401 (allout-widgets-tally-string): Don't try to do a hash-table-count
17402 of allout-widgets-tally when it's nil. This eliminates spurious "Error
17403 during redisplay: (wrong-type-argument hash-table-p nil)" warnings in
17404 *Messages* when allout-widgets-maintain-tally is t.
17405
355f2e07
MR
174062011-06-26 Martin Rudalics <rudalics@gmx.at>
17407
17408 * window.el (display-buffer-normalize-argument): Rename to
17409 display-buffer-normalize-arguments. Handle special meaning of
6b5ccddf
KM
17410 LABEL argument. Respect special-display-function when popping up
17411 a new frame. Fix code searching for a window showing the buffer
17412 on another frame.
c9d29fb8
SM
17413 (display-buffer-normalize-specifiers):
17414 Call display-buffer-normalize-arguments.
355f2e07
MR
17415 (display-buffer-in-window): Don't undedicate the window if its
17416 buffer remains the same.
17417 Reported by Drew Adams <drew.adams@oracle.com>.
17418 (display-buffer-alist): Add choice for same-window macro
17419 specfier.
17420 (display-buffer): Mention special meaning of LABEL argument in
17421 doc-string. Fix quoting. Don't pop up a new frame even as
17422 fallback.
17423
7ca8fc42
JB
174242011-06-26 Juanma Barranquero <lekktu@gmail.com>
17425
17426 * bs.el (bs-cycle-next): Pass current buffer to `bury-buffer' to
17427 avoid deleting the current window in some cases (bug#8911).
17428
bc312254
AS
174292011-06-26 Andreas Schwab <schwab@linux-m68k.org>
17430
17431 * emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
17432 (Bug#8934)
17433
2db18f3f
LMI
174342011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
17435
c9d29fb8
SM
17436 * net/network-stream.el (network-stream-open-starttls):
17437 Use built-in TLS support if `gnutls-available-p' is true.
2db18f3f
LMI
17438 (network-stream-open-tls): Ditto.
17439
6302e0d3
LL
174402011-06-26 Leo Liu <sdl.web@gmail.com>
17441
17442 * register.el (registerv): New struct.
17443 (registerv-make): New function.
c9d29fb8
SM
17444 (jump-to-register, describe-register-1, insert-register):
17445 Support the jump-func, print-func and insert-func slot of a registerv
6302e0d3
LL
17446 struct. (Bug#8415)
17447
5fdd4046
CY
174482011-06-26 Chong Yidong <cyd@stupidchicken.com>
17449
2afef60a
CY
17450 * vc/vc.el (vc-revert-show-diff): New defcustom.
17451 (vc-diff-internal): New arg specifying diff buffer.
17452 (vc-revert): Obey vc-revert-show-diff. If we show a diff, don't
17453 reuse an existing *vc-diff* buffer (Bug#8927).
17454
5fdd4046
CY
17455 * progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode.
17456
e93db24a
GM
174572011-06-26 Glenn Morris <rgm@gnu.org>
17458
17459 * progmodes/f90.el (f90-critical-indent): New option.
17460 (f90-font-lock-keywords-2, f90-blocks-re, f90-end-block-re)
17461 (f90-start-block-re, f90-mode-abbrev-table): Add block, critical.
17462 (f90-mode): Doc fix.
17463 (f90-looking-at-critical, f90-looking-at-end-critical): New funcs.
17464 (f90-no-block-limit, f90-calculate-indent, f90-end-of-block)
17465 (f90-beginning-of-block, f90-next-block, f90-indent-region)
17466 (f90-match-end): Handle block, critical.
17467
eefff499
GM
174682011-06-25 Glenn Morris <rgm@gnu.org>
17469
f6ba4cc9
GM
17470 * calendar/diary-lib.el (diary-included-files): Doc fix.
17471 (diary-include-files): New function, extracted from
17472 diary-include-other-diary-files and diary-mark-included-diary-files.
17473 (diary-include-other-diary-files, diary-mark-included-diary-files):
17474 Just call diary-include-files.
17475 (diary-mark-entries): Reset diary-included-files on first call.
17476
16712304
GM
17477 * calendar/diary-lib.el (diary-mark-entries)
17478 (diary-mark-included-diary-files):
17479 Visit included diary-files in temp buffers.
17480
5d8e0d43
GM
17481 * progmodes/f90.el (f90-keywords-re, f90-font-lock-keywords-1)
17482 (f90-blocks-re, f90-program-block-re, f90-end-block-re)
17483 (f90-start-block-re, f90-imenu-generic-expression)
17484 (f90-looking-at-program-block-start, f90-no-block-limit):
17485 Add support for submodules.
17486
ccf7a5d5
GM
17487 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
17488 (f90-procedures-re, f90-constants-re): Add some F2008 stuff.
eefff499 17489
11fdef7d 174902011-06-25 Eli Zaretskii <eliz@gnu.org>
638e9005
EZ
17491
17492 * net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
17493 buffer-file-type before setting its value, to avoid disastrous
eefff499 17494 global effects on decoding files for DOS/Windows systems. (Bug#8780)
638e9005 17495
74f53697
JB
174962011-06-25 Juanma Barranquero <lekktu@gmail.com>
17497
17498 * allout.el (allout-unload-function): Pass -1 to `allout-mode'.
17499
17500 * ses.el (ses-unload-function):
17501 * emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
17502
17503 * proced.el (proced-unload-function):
17504 * progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.
17505
18a4ce5e
AR
175062011-06-25 Andreas Rottmann <a.rottmann@gmx.at>
17507
17508 * server.el (server-create-window-system-frame): Add parameters arg.
17509 (server-process-filter): Doc fix. Handle frame-parameters.
17510
519d22cc
JB
175112011-06-25 Juanma Barranquero <lekktu@gmail.com>
17512
17513 Fix bug#8730, bug#8781.
17514
17515 * loadhist.el (unload--set-major-mode): New function.
17516 (unload-feature): Use it.
17517
17518 * progmodes/python.el (python-after-info-look): Add autoload cookie.
17519 (python-unload-function): New function.
17520
c206f5b0
SM
175212011-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
17522
17523 * mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.
17524
f9ad64f3
GS
175252011-06-25 Giuseppe Scrivano <gscrivano@gnu.org>
17526
17527 * net/browse-url.el (browse-url-firefox-program): Add icecat to
17528 the candidates list.
17529
7d0da90e
JB
175302011-06-24 Juanma Barranquero <lekktu@gmail.com>
17531
17532 * progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable.
17533
14b4e83d
RS
175342011-06-23 Richard Stallman <rms@gnu.org>
17535
17536 * mail/rmail.el: Going to grep hit in Rmail buffer finds the message.
17537 (rmail-variables): Set next-error-move-function.
17538 (rmail-what-message): Take argument POS.
17539 (rmail-next-error-move): New function.
17540
273d2baf
SM
175412011-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
17542
17543 * emacs-lisp/smie.el (smie-bnf->prec2): Give more understandable error
17544 messages for adjacent non-terminals.
17545
56c2cc9a
RS
175462011-06-23 Richard Stallman <rms@gnu.org>
17547
17548 * mail/rmail.el (rmail-retry-ignored-headers): Add message-id.
f444564c 17549 (rmail-show-message-1): Preserve buffer modified flag.
8050daa1
RS
17550 (rmail-start-mail): Don't specify use of rmail-mail-return;
17551 that's done by mail-bury now.
17552 (rmail-mail-return): Handle arg NEWBUF.
56c2cc9a 17553
d59eb518
MA
175542011-06-23 Michael Albinus <michael.albinus@gmx.de>
17555
17556 * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
17557 SIZE is a number.
17558
02cfc6d6
MR
175592011-06-23 Martin Rudalics <rudalics@gmx.at>
17560
17561 * window.el (get-lru-window, get-mru-window)
17562 (get-largest-window): Never return a minibuffer window.
17563 (display-buffer-pop-up-window): Fix a bug that could lead to
17564 reusing the minibuffer window.
17565 (display-buffer): Pass original specifier argument to
17566 display-buffer-function instead of the normalized one.
17567 Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
17568
4e323265
LL
175692011-06-22 Leo Liu <sdl.web@gmail.com>
17570
17571 * minibuffer.el (completing-read-function)
1f9f395d 17572 (completing-read-default): Move from minibuf.c.
4e323265 17573
7a70468f
RS
175742011-06-22 Richard Stallman <rms@gnu.org>
17575
50718fc2
RS
17576 * mail/sendmail.el (mail-bury): If Rmail is in use, return nicely
17577 to Rmail even if not started by a special Rmail command.
17578
7a70468f
RS
17579 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
17580 Copy the buffer currently showing just one message.
17581
297dde5a
RW
175822011-06-22 Roland Winkler <winkler@gnu.org>
17583
17584 * textmodes/bibtex.el (bibtex-entry-update): Use mapc.
17585 (bibtex-clean-entry): First delete the old key so that a
17586 customized algorithm for generating the new key does not get
17587 confused by the old key.
17588 (bibtex-url): Obey regexp of first step.
17589 (bibtex-search-entries): Do not use add-to-list with local
17590 list-var.
17591
97bb1093
LMI
175922011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
17593
17594 * mail/smtpmail.el (smtpmail-try-auth-methods): If the user has
17595 stored a user name, then query for the password first, instead of
17596 waiting for SMTP to give an error message and the trying again.
17597
1c0f1a19
JD
175982011-06-22 Lawrence Mitchell <wence@gmx.li>
17599
17600 * net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
17601 BUFFER in call-process.
17602
396f7c9d
LMI
176032011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
17604
17605 * mail/smtpmail.el (smtpmail-via-smtp): Make sure we don't send
17606 QUIT twice.
ddb7ffee
LMI
17607 (smtpmail-try-auth-methods): Require user name and password from
17608 auth-source.
396f7c9d 17609
8998d1b3
MR
176102011-06-22 Martin Rudalics <rudalics@gmx.at>
17611
17612 * window.el (display-buffer-default-specifiers)
17613 (display-buffer-alist): Remove entries for pop-up-frame-alist.
17614 Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
130e3e11 17615 (split-window): Normalize SIDE argument (Bug#8916).
8998d1b3
MR
17616
17617 * frame.el (pop-up-frame-alist, pop-up-frame-function)
17618 (special-display-frame-alist, special-display-popup-frame):
17619 Remove duplicate declarations. These are now in window.el.
17620
4ea31e07
LMI
176212011-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
17622
c9d29fb8
SM
17623 * mail/smtpmail.el (smtpmail-via-smtp):
17624 Set :use-starttls-if-possible so that we always use STARTTLS if the
6af7a784
LMI
17625 server supports it. SMTP servers that support STARTTLS commonly
17626 require it.
17627
17628 * net/network-stream.el (network-stream-open-starttls): Support
17629 upgrading to STARTTLS always, even if we don't have built-in support.
fa463103 17630 (open-network-stream): Add the :always-query-capabilities keyword.
6af7a784 17631
95f41d9a
LMI
17632 * mail/smtpmail.el: Rewritten to do opportunistic STARTTLS
17633 upgrades with `open-network-stream', and rely solely on
17634 auth-source for all credentials. Big changes throughout the file,
17635 but in particular:
c9d29fb8
SM
17636 (smtpmail-auth-credentials): Remove.
17637 (smtpmail-starttls-credentials): Remove.
7d36ad46
LMI
17638 (smtpmail-via-smtp): Check for servers saying they want AUTH after
17639 MAIL FROM, too.
95f41d9a 17640
c9d29fb8
SM
17641 * net/network-stream.el (network-stream-open-starttls):
17642 Provide support for client certificates both for external and built-in
4ea31e07
LMI
17643 STARTTLS.
17644 (auth-source): Require.
17645 (open-network-stream): Document the :client-certificate keyword.
eb8c9362
LMI
17646 (network-stream-certificate): Change cert-cert to cert and
17647 cert-key to key.
4ea31e07 17648
065ec2c7
MA
176492011-06-21 Michael Albinus <michael.albinus@gmx.de>
17650
17651 * net/tramp-cache.el (top): Don't load the persistency file when
17652 "emacs -Q" has been called.
17653
cd93b359
DR
176542011-06-21 Tim Harper <timcharper@gmail.com>
17655
d8e4b68b
JB
17656 * term/ns-win.el (ns-initialize-window-system):
17657 Set application-specific `ApplePressAndHoldEnabled' system
cd93b359
DR
17658 resource to NO as it is not yet supported by the NS port.
17659
ae9c0411
JB
176602011-06-21 Juanma Barranquero <lekktu@gmail.com>
17661
17662 * misc.el (list-dynamic-libraries--refresh): Compute header here...
17663 (list-dynamic-libraries): ...not here.
17664
7f3f739f
LL
176652011-06-21 Leo Liu <sdl.web@gmail.com>
17666
17667 * subr.el (sha1): Implement sha1 using secure-hash.
17668
327c8fb1
MR
176692011-06-21 Martin Rudalics <rudalics@gmx.at>
17670
17671 * window.el (display-buffer-alist): In default value do not
17672 enforce searching a window on any but the selected frame.
17673 Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
17674 (display-buffer-select-window): Remove function.
17675 (display-buffer-in-window): When a window on another frame gets
17676 reused, do not select it any more but just raise its frame if
17677 necessary (Bug#8851) and (Bug#8856).
17678 (display-buffer-normalize-options): Handle pop-up-frames related
17679 options more faithfully.
17680 (pop-to-buffer): Don't rely on `display-buffer' selecting the
17681 window if it is on another frame.
c9d29fb8
SM
17682 (display-buffer-alist, display-buffer-default-specifiers):
17683 Don't make new frame unsplittable by default.
9e9de014
MR
17684 (display-buffer-normalize-argument): Fix doc-string typo and use
17685 'same-frame-other-window instead of 'other-window when associating
17686 with display-buffer-macro-specifiers.
327c8fb1 17687
7cf3f556
VB
176882011-06-21 Vincent Belaïche <vincent.b.1@hotmail.fr>
17689
17690 * play/5x5.el (5x5-solve-rotate-left, 5x5-solve-rotate-right):
17691 New functions.
17692 (5x5-mode-map, 5x5-mode-menu): Bind them.
17693 (5x5-draw-grid): Tweak the solver's rendering.
17694
60a406cf
SM
176952011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
17696
17697 * progmodes/compile.el (compilation-error-regexp-alist-alist): Rename
17698 `caml' to `python-tracebacks-and-caml'; allow leading tabs (bug#8585).
17699
d8e4b68b 177002011-06-21 Drew Adams <drew.adams@oracle.com>
5d907d6c
DA
17701
17702 * menu-bar.el: Use function variable instead of switch-to-buffer.
17703 (menu-bar-select-buffer-function): New variable.
60a406cf 17704 (menu-bar-update-buffers): Use it (bug#8876).
5d907d6c 17705
478d6f95
SM
177062011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
17707
17708 * emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
17709 variable's status.
17710
ca530739
JD
177112011-06-20 Jan Djärv <jan.h.d@swipnet.se>
17712
17713 * x-dnd.el (x-dnd-version-from-flags)
17714 (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
17715 and long as number (Bug#8899).
17716 (x-dnd-handle-xdnd): Call functions above (Bug#8899).
17717
bcd70d97
SM
177182011-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
17719
60a406cf 17720 * minibuffer.el (completion-metadata): Add `metadata' to the alist.
4cb3bfa0
SM
17721 (completion-try-completion, completion-all-completions): Compute the
17722 metadata argument if it's missing; make it optional (bug#8795).
17723
60a406cf 17724 * wid-edit.el: Use lex-bind and move towards completion-at-point.
bcd70d97
SM
17725 (widget-complete): Use new :completion-function property.
17726 (widget-completions-at-point): New function.
17727 (default): Use :completion-function instead of :complete.
60a406cf
SM
17728 (widget-default-completions): Rename from widget-default-complete;
17729 Rewrite.
bcd70d97
SM
17730 (widget-string-complete, widget-file-complete, widget-color-complete):
17731 Remove functions.
17732 (file, symbol, function, variable, coding-system, color):
17733 * international/mule-cmds.el (default-input-method, charset)
17734 (language-info-custom-alist):
17735 * cus-edit.el (face): Use new property :completions.
17736
17737 * progmodes/pascal.el (pascal-completions-at-point): New function.
17738 (pascal-mode): Use it.
17739 (pascal-mode-map): Use completion-at-point.
17740 (pascal-toggle-completions): Make obsolete.
17741 (pascal-complete-word, pascal-show-completions):
17742 * progmodes/octave-mod.el (octave-complete-symbol):
17743 Redefine as obsolete alias.
17744 * progmodes/octave-inf.el (inferior-octave-completion-at-point):
17745 Signal absence of completion info for old Octave,
17746 (inferior-octave-complete): Redefine as obsolete alias.
17747 * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
17748 (meta-completions-at-point): Rename from meta-complete-symbol and
17749 adapt it for use on completion-at-point-functions.
17750 (meta-common-mode): Use it.
17751 (meta-looking-at-backward, meta-match-buffer): Remove.
17752 (meta-complete-symbol): Redefine as obsolete alias.
17753 (meta-common-mode-map): Use completion-at-point.
17754 * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
17755 (makefile-mode-map): Use completion-at-point.
17756 (makefile-completions-at-point): Rename from makefile-complete and
17757 adapt it for use on completion-at-point-functions.
17758 (makefile-mode): Use it.
17759 (makefile-complete): Redefine as obsolete alias.
17760
aebf69c8
DD
177612011-06-20 Deniz Dogan <deniz@dogan.se>
17762
17763 * net/rcirc.el: Delete trailing whitespaces once and for all.
17764
bfbbb27d
DC
177652011-06-20 Daniel Colascione <dan.colascione@gmail.com>
17766
17767 * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
17768
d264a46b
CY
177692011-06-19 Chong Yidong <cyd@stupidchicken.com>
17770
4ca009e5
CY
17771 * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
17772
d264a46b
CY
17773 * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
17774
fbf5b3ce
MR
177752011-06-19 Martin Rudalics <rudalics@gmx.at>
17776
17777 * window.el (display-buffer-other-window-means-other-frame):
17778 Call display-buffer-normalize-alist.
17779 (display-buffer-normalize-specifiers-1): Rename to
17780 display-buffer-normalize-argument. New argument other-frame.
17781 Rewrite.
17782 (display-buffer-normalize-specifiers-2): Rename to
17783 display-buffer-normalize-options.
17784 (display-buffer-normalize-alist-1): New function.
17785 (display-buffer-normalize-specifiers-3): Rename to
bcd70d97
SM
17786 display-buffer-normalize-alist.
17787 Call display-buffer-normalize-alist-1.
fbf5b3ce
MR
17788 (display-buffer-normalize-options-inhibit): New variable.
17789 (display-buffer-normalize-specifiers): Rewrite calling
17790 display-buffer-normalize-alist,
17791 display-buffer-normalize-argument, and
17792 display-buffer-normalize-options. Don't call the latter if
17793 display-buffer-normalize-options-inhibit is non-nil.
17794 (frame-auto-delete): New option.
17795 (window-deletable-p): Use frame-auto-delete.
9d89fec7
MR
17796 (window-list-no-nils, window-state-ignored-parameters)
17797 (window-state-get-1, window-state-get, window-state-put-list)
bcd70d97
SM
17798 (window-state-put-1, window-state-put-2, window-state-put):
17799 New functions.
9a028c23
MR
17800 (display-buffer-normalize-options): Move special-display-p group
17801 after pop-up-frame group (Bug#8851) and (Bug#8856).
fbf5b3ce 17802
6d10d800
CY
178032011-06-18 Chong Yidong <cyd@stupidchicken.com>
17804
6420d28b
CY
17805 * emacs-lisp/rx.el (rx-constituents): Add support for numbered
17806 groups (Bug#8776).
17807 (rx-submatch-n): New function.
17808 (rx): Document it.
17809
ddb8b596
CY
17810 * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
17811 (Bug#8768).
17812
17813 * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
17814
77080289
CY
17815 * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
17816
61dfb316
CY
17817 * cus-face.el (custom-declare-face): Call custom-theme-recalc face
17818 anytime existing face settings are present (Bug#8889).
17819
6d10d800
CY
17820 * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
17821 (delphi-mode): Use define-derived-mode to inherit from prog-mode.
17822 Remove unused argument.
17823
be3fb2b8
MR
178242011-06-18 Martin Rudalics <rudalics@gmx.at>
17825
bcd70d97
SM
17826 * window.el (display-buffer-default-specifiers):
17827 Remove pop-up-frame. Add pop-up-window-min-height,
be3fb2b8
MR
17828 pop-up-window-min-width, and another reuse-window specifier
17829 (Bug#8882). Reported by Dan Nicolaescu <dann@gnu.org>.
bcd70d97
SM
17830 (display-buffer-normalize-specifiers-2):
17831 Handle split-height-threshold and split-width-threshold also when
be3fb2b8
MR
17832 pop-up-windows is unset. Add a reuse-window specifier for the
17833 case popping up a new window fails.
17834 (special-display-popup-frame): Remove double quoting.
28dec25a 17835 (display-buffer-normalize-specifiers-1): Fix thinko.
be3fb2b8 17836
1c6d8c76
SM
178372011-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
17838
17839 * shell.el (shell-completion-vars): Set pcomplete-termination-string
17840 according to comint-completion-addsuffix.
17841
17842 * pcomplete.el: Convert to lexical binding and fix bug#8819.
17843 (pcomplete-suffix-list): Mark as obsolete.
17844 (pcomplete-completions-at-point): Capture pcomplete-norm-func and
17845 pcomplete-seen in the closure.
17846 (pcomplete-comint-setup): Setup completion-at-point as well.
17847 (pcomplete--entries): New function.
17848 (pcomplete--env-regexp): New var.
17849 (pcomplete-entries): Rewrite to work with partial-completion and
17850 without relying on pcomplete-suffix-list.
17851 (pcomplete-pare-list): Remove, unused.
17852
25aef8b8
MR
178532011-06-17 Martin Rudalics <rudalics@gmx.at>
17854
17855 * window.el (display-buffer-alist): Set pop-up-window-min-height
17856 and pop-up-window-min-width in default value. Reported by
17857 Thierry Volpiatto <thierry.volpiatto@gmail.com>. New specifier
17858 other-window-means-other-frame.
17859 (display-buffer-macro-specifiers): Comment out entry for
17860 other-window specifier.
17861 (display-buffer-other-window-means-other-frame): New function.
17862 (display-buffer-normalize-specifiers-1): New arguments
17863 buffer-name and label. Treat other-window case specially.
17864 (display-buffer-normalize-specifiers-2): Treat other-window case
17865 specially.
17866 (display-buffer-normalize-specifiers-3): New function.
bcd70d97
SM
17867 (display-buffer-normalize-specifiers):
17868 Call display-buffer-normalize-specifiers-3.
25aef8b8 17869
dbad4f69
MR
178702011-06-17 Martin Rudalics <rudalics@gmx.at>
17871
17872 * window.el (same-window-p): Fix two typos introduced when
17873 adding with-no-warnings.
d1067961
MR
17874 (display-buffer-normalize-specifiers-1): Don't check
17875 pop-up-frames for 'unset initialization.
17876 (display-buffer-normalize-specifiers-2): Major rewrite using
17877 special-display-p and same-window-p (Bug#8851) and (Bug#8856).
17878 (pop-up-frames, display-buffer-reuse-frames)
17879 (display-buffer-mark-dedicated): Don't initialize to 'unset.
17880 Suggested by David Engster <deng@randomsample.de>.
17881 (even-window-heights): Initialize to 'unset.
17882 (display-buffer-alist-set): Handle new 'unset initializations.
25aef8b8
MR
17883 (display-buffer-macro-specifiers): Don't pop up a new frame in the
17884 other window case.
dbad4f69 17885
9b9c9e3a
MR
178862011-06-16 Martin Rudalics <rudalics@gmx.at>
17887
bcd70d97
SM
17888 * window.el (display-buffer-normalize-specifiers-1):
17889 Respect current value of pop-up-frames for most reasonable values of
9b9c9e3a 17890 second argument of display-buffer (Bug#8865).
981d5c09
MR
17891 (switch-to-buffer-same-frame, switch-to-buffer-other-window)
17892 (switch-to-buffer-other-window-same-frame)
17893 (switch-to-buffer-other-frame): Fix doc-strings. Reported by Drew
17894 Adams (Bug#8875).
9c2755e9
MR
17895 (display-buffer): Don't check noninteractive when calling
17896 display-buffer-pop-up-frame.
17897 (display-buffer-pop-up-frame): Never pop up a frame in
17898 noninteractive mode (Bug#8857).
67222e1d
MR
17899 (enlarge-window, shrink-window): Don't report an error when the
17900 window can't be resized as requested (Bug#8862).
9b9c9e3a 17901
2b75be67
SM
179022011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
17903
9ffdd3ba
SM
17904 * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
17905
cb581a67
SM
17906 * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
17907
2b75be67
SM
17908 * abbrev.el (define-abbrev-table): Don't add a table multiple times.
17909
8c0e3589
AM
179102011-06-15 Alan Mackenzie <acm@muc.de>
17911
cb581a67
SM
17912 * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
17913 for declarators, disable knr checking to speed up for normal files.
17914 2: Refactor, replacing a sequence of nested if forms by a cond form.
8c0e3589 17915
b96e6cde
LMI
179162011-06-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
17917
4bba86e6
LMI
17918 * net/network-stream.el (open-network-stream): Add the keyword
17919 :always-query-capabilities for the case where you want to force a
17920 `plain' network connection, but the protocol still requires the
17921 capabilitiy command (i.e., SMTP and EHLO).
17922
2b75be67 17923 * subr.el (process-live-p): Rename from `process-alive-p' for
b96e6cde
LMI
17924 consistency with other `-live-p' functions.
17925
efdcdbf8
SM
179262011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
17927
17928 * window.el (same-window-buffer-names, same-window-regexps)
17929 (special-display-frame-alist, special-display-popup-frame)
17930 (special-display-function, special-display-buffer-names)
17931 (special-display-regexps, pop-up-frame-alist)
17932 (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
17933 (pop-up-windows, split-window-preferred-function)
17934 (split-height-threshold, split-width-threshold, even-window-heights)
17935 (display-buffer-mark-dedicated): Don't encourage the use of
17936 display-buffer-alist from Elisp code.
17937
c5cde042
DN
179382011-06-15 Dan Nicolaescu <dann@ics.uci.edu>
17939
17940 * progmodes/python.el (python-mode): Derive from prog-mode.
17941 * progmodes/ps-mode.el (ps-mode):
17942 * progmodes/mixal-mode.el (mixal-mode):
50328a1b 17943 * progmodes/cfengine.el (cfengine-mode):
c5cde042
DN
17944 * progmodes/ld-script.el (ld-script-mode): Likewise.
17945
baa1c9ab
MR
179462011-06-15 Martin Rudalics <rudalics@gmx.at>
17947
17948 * window.el (display-buffer-alist): Trim default value to avoid
17949 popping up a new frame (Bug#8857) or reusing an arbitrary window
17950 on another frame.
17951 (display-buffer): Do not fall back on popping up a new frame in
17952 batch mode (Bug#8857).
17953
c5dd5a51
CY
179542011-06-14 Chong Yidong <cyd@stupidchicken.com>
17955
17956 * cus-theme.el (describe-theme-1): Use custom-theme-p.
17957 (custom-theme-summary): New function.
17958 (customize-themes): Use it.
17959
d647b7c4
GM
179602011-06-13 Glenn Morris <rgm@gnu.org>
17961
17962 * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
17963
9481c002
MR
179642011-06-13 Martin Rudalics <rudalics@gmx.at>
17965
357f93d2
MR
17966 * help.el (help-window): Remove variable.
17967 (help-window-point-marker, temp-buffer-max-height)
17968 (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
17969 (help-print-return-message): Don't set help-window.
17970 (resize-temp-buffer-window): Rewrite cod eand doc-string.
17971 (help-window-setup-finish): Remove.
17972 (help-window-display-message, help-window-setup)
17973 (with-help-window): Major rewrite based on new
17974 display-buffer-window variable.
17975
17976 * help-mode.el (help-mode-finish): Remove help-window related
17977 code.
17978
17979 * view.el (view-exits-all-viewing-windows): Remove reference to
17980 view-return-to-alist in doc-string.
17981 (view-return-to-alist): Make obsolete.
17982 (view-buffer): Call pop-to-buffer-same-window and remove
17983 undo-window code.
17984 (view-buffer-other-window): Call pop-to-buffer-other-window and
17985 simplify code. Ignore second argument.
17986 (view-buffer-other-frame): Call pop-to-buffer-other-frame and
17987 simplify code. Ignore second argument.
17988 (view-return-to-alist-update): Make obsolete.
17989 (view-mode-enter): Rename second argument to QUIT-RESTORE.
17990 Rewrite using quit-restore window parameters.
2b75be67
SM
17991 (view-mode-exit): Rename second argument to EXIT-ONLY.
17992 Rewrite using quit-restore-window.
357f93d2
MR
17993 (View-exit, View-exit-and-edit, View-leave, View-quit)
17994 (View-quit-all, View-kill-and-leave): Call view-mode-exit with
17995 appropriate arguments.
17996 (view-end-message): Use quit-restore window parameter.
17997
9481c002
MR
17998 * window.el (display-buffer-function): Rewrite doc-string.
17999 (display-buffer-window, display-buffer-alist): New variables.
18000 (display-buffer-split-specifiers)
18001 (display-buffer-side-specifiers)
18002 (display-buffer-macro-specifiers): New constants.
18003 (display-buffer-even-window-sizes, display-buffer-set-height)
18004 (display-buffer-set-width, display-buffer-select-window)
18005 (display-buffer-in-window, display-buffer-reuse-window)
18006 (display-buffer-split-window-1, display-buffer-split-window)
18007 (display-buffer-split-atom-window, display-buffer-pop-up-window)
18008 (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
18009 (display-buffer-in-side-window, normalize-buffer-to-display)
18010 (display-buffer-normalize-specifiers-1)
18011 (display-buffer-normalize-specifiers-2)
2b75be67
SM
18012 (display-buffer-normalize-specifiers, display-buffer-frame):
18013 New functions.
9481c002
MR
18014 (display-buffer): Major rewrite.
18015 (display-buffer-other-window, display-buffer-other-frame)
18016 (pop-to-buffer, switch-to-buffer-other-window)
18017 (switch-to-buffer-other-frame): Rewrite.
18018 (display-buffer-same-window, display-buffer-same-frame)
18019 (display-buffer-same-frame-other-window)
18020 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
18021 (pop-to-buffer-other-window)
18022 (pop-to-buffer-same-frame-other-window)
18023 (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
18024 (switch-to-buffer-other-window-same-frame): New functions.
18025 (same-window-p, special-display-p): Rewrite disabling warnings.
18026 Make obsolete.
18027 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
18028 (display-buffer-mark-dedicated): Initialize to symbol 'unset.
18029 Make obsolete
18030 (same-window-buffer-names, same-window-regexps)
18031 (special-display-frame-alist, special-display-popup-frame)
18032 (special-display-function, special-display-buffer-names)
18033 (special-display-regexps, pop-up-frame-alist)
18034 (pop-up-frame-function, split-window-preferred-function)
18035 (split-height-threshold, split-width-threshold)
18036 (even-window-heights): Make obsolete.
18037
9db51aca
GM
180382011-06-12 Glenn Morris <rgm@gnu.org>
18039
18040 * term/xterm.el (terminal-init-xterm): `version' may be nil. (Bug#8838)
7cb363eb 18041 Misc simplifications.
9db51aca 18042
39cffb44
MR
180432011-06-12 Martin Rudalics <rudalics@gmx.at>
18044
18045 * window.el (window-safely-shrinkable-p): Restore function which
18046 was inadvertently removed in change from 2011-06-11. Declare as
18047 obsolete.
18048
2b75be67
SM
18049 * calendar/calendar.el (calendar-generate-window):
18050 Use window-iso-combined-p instead of combination of one-window-p and
39cffb44
MR
18051 window-safely-shrinkable-p.
18052
a8955be7
GM
180532011-06-12 Glenn Morris <rgm@gnu.org>
18054
18055 * progmodes/fortran.el (fortran-mode-syntax-table):
18056 * progmodes/f90.el (f90-mode-syntax-table):
18057 Set % to punctuation. (Bug#8820)
18058 (f90-find-tag-default): Remove, no longer needed.
18059
f0d4059d
DC
180602011-06-12 Daniel Colascione <dan.colascione@gmail.com>
18061
18062 * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
18063
1100a63c
CY
180642011-06-11 Chong Yidong <cyd@stupidchicken.com>
18065
18066 * image.el (image-animated-p): Return animation delay in seconds.
18067 Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
18068 (image-animate-timeout): Remove DELAY argument. Don't assume
18069 every subimage has the same delay; get it from image-animated-p.
18070 (image-animate): Caller changed.
18071
def722bf
MA
180722011-06-11 Michael Albinus <michael.albinus@gmx.de>
18073
18074 * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
18075 to ignored backtrace functions.
18076
0a2bb1a9
GM
180772011-06-11 Glenn Morris <rgm@gnu.org>
18078
18079 * calendar/appt.el (appt-disp-window-function): Doc fix.
18080 (appt-check): Handle overlapping appointments. (Bug#8337)
18081
6198ccd0
MR
180822011-06-11 Martin Rudalics <rudalics@gmx.at>
18083
18084 * window.el (window-tree-1, window-tree): New functions, moving
18085 the latter to window.el.
18086 (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
18087 (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
18088 (bw-refresh-edges): Remove.
18089 (balance-windows-1, balance-windows-2): New functions.
18090 (balance-windows): Rewrite in terms of window tree functions,
18091 balance-windows-1 and balance-windows-2.
18092 (bw-adjust-window): Remove.
18093 (balance-windows-area-adjust): New function with functionality of
18094 bw-adjust-window but using resize-window.
2b75be67
SM
18095 (set-window-text-height): Rewrite doc-string.
18096 Use normalize-live-window and resize-window.
18097 (enlarge-window-horizontally, shrink-window-horizontally):
18098 Rename argument to DELTA.
6198ccd0
MR
18099 (window-buffer-height): New function.
18100 (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
18101 Rewrite using new window resize routines.
2b75be67
SM
18102 (kill-buffer-and-window, mouse-autoselect-window-select):
18103 Use ignore-errors instead of condition-case.
6198ccd0
MR
18104 (quit-window): Call delete-frame instead of delete-windows-on
18105 for the only buffer on frame.
18106
9397e56f
MR
181072011-06-10 Martin Rudalics <rudalics@gmx.at>
18108
18109 * loadup.el (top-level): Load window before files for the sake
18110 of replace-buffer-in-windows.
18111
18112 * files.el (read-buffer-to-switch)
18113 (switch-to-buffer-other-window)
2b75be67
SM
18114 (switch-to-buffer-other-frame, display-buffer-other-frame):
18115 Move to window.el.
9397e56f
MR
18116
18117 * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
18118 (previous-buffer): Move to window.el.
18119
18120 * bindings.el (unbury-buffer): Move to window.el.
18121
18122 * window.el (delete-other-windows-vertically): Move after
18123 definition of delete-other-windows.
18124 (other-window, delete-windows-on, replace-buffer-in-windows):
18125 Move here from window.c.
18126 (record-window-buffer, unrecord-window-buffer)
18127 (set-window-buffer-start-and-point, switch-to-prev-buffer)
18128 (switch-to-next-buffer): New functions.
18129 (get-next-valid-buffer, last-buffer, next-buffer): Move here
18130 from simple.el. Call switch-to-next-buffer.
2b75be67
SM
18131 (previous-buffer): Move here from simple.el.
18132 Call switch-to-prev-buffer.
9397e56f
MR
18133 (bury-buffer): Move here from buffer.c. Switch to previous
18134 buffer when window cannot be deleted.
18135 (unbury-buffer): Move here from bindings.el.
18136 (ctl-x-map): Move binding for other-window from window.c to
18137 here.
18138 (read-buffer-to-switch, switch-to-buffer-other-window)
18139 (switch-to-buffer-other-frame): Move here from files.el.
18140 (normalize-buffer-to-switch-to): New functions.
2b75be67
SM
18141 (switch-to-buffer): Move here from buffer.c.
18142 Use read-buffer-to-switch and normalize-buffer-to-switch-to.
9397e56f 18143
562dd5e9
MR
181442011-06-10 Martin Rudalics <rudalics@gmx.at>
18145
18146 * window.el (window-min-height, window-min-width): Move here
18147 from window.c. Add defcustoms and rewrite doc-strings.
18148 (resize-mini-window, resize-window): New functions.
18149 (adjust-window-trailing-edge, enlarge-window, shrink-window):
18150 Move here from window.c.
18151 (maximize-window, minimize-window): New functions.
18152 (delete-window, delete-other-windows, split-window): Move here
18153 from window.c.
18154 (window-split-min-size): New function.
18155 (split-window-keep-point): Mention split-window-above-each-other
18156 instead of split-window-vertically.
2b75be67 18157 (split-window-above-each-other, split-window-vertically):
1154d12e
JB
18158 Rename split-window-vertically to split-window-above-each-other
18159 and provide defalias for old definition.
18160 (split-window-side-by-side, split-window-horizontally):
18161 Rename split-window-horizontally to split-window-side-by-side
18162 and provide defalias for the old definition.
562dd5e9
MR
18163 (ctl-x-map): Move bindings for delete-window,
18164 delete-other-windows and enlarge-window here from window.c.
18165 Replace bindings for split-window-vertically and
18166 split-window-horizontally by bindings for
18167 split-window-above-each-other and split-window-side-by-side.
18168
18169 * cus-start.el (all): Remove entries for window-min-height and
18170 window-min-width. Add entries for window-splits and
18171 window-nest.
18172
f0da764a
GM
181732011-06-09 Glenn Morris <rgm@gnu.org>
18174
80675c21
GM
18175 * calendar/appt.el (appt-mode-line): New function.
18176 (appt-check, appt-disp-window): Use it.
18177
f0da764a
GM
18178 * files.el (hack-one-local-variable-eval-safep):
18179 Allow minor-modes with explicit +/-1 arguments.
18180
59f623b7
TZ
181812011-06-09 Teodor Zlatanov <tzz@lifelogs.com>
18182
18183 * term/xterm.el (xterm): Add defgroup.
18184 (xterm-extra-capabilities): Add defcustom to supply known xterm
18185 capabilities, skip querying them, or query them (default).
18186 (terminal-init-xterm): Use it.
18187 (terminal-init-xterm-modify-other-keys): New function to set up
18188 modifyOtherKeys support to simplify `terminal-init-xterm'.
18189
9aab8e0d
MR
181902011-06-09 Martin Rudalics <rudalics@gmx.at>
18191
18192 * window.el (resize-window-reset, resize-window-reset-1)
18193 (resize-subwindows-skip-p, resize-subwindows-normal)
18194 (resize-subwindows, resize-other-windows, resize-this-window)
18195 (resize-root-window, resize-root-window-vertically)
18196 (window-deletable-p, window-or-subwindow-p)
18197 (frame-root-window-p): New functions.
18198
e8b08aee
GM
181992011-06-09 Glenn Morris <rgm@gnu.org>
18200
18201 * net/ange-ftp.el (ange-ftp-switches-ok): New function.
18202 (ange-ftp-get-files): Use it.
18203
254c37a5
AK
182042011-06-09 Alexander Klimov <alserkli@inbox.ru> (tiny change)
18205
18206 * mail/sendmail.el (mail-recover-1, mail-recover):
18207 * files.el (recover-file, recover-session):
18208 Handle dired-listing-switches not being just a single short option.
18209
35d7dbd3
GM
182102011-06-09 Glenn Morris <rgm@gnu.org>
18211
18212 * calendar/appt.el (appt-display-message, appt-disp-window):
18213 Handle lists of appointments.
18214
387522b2
MR
182152011-06-08 Martin Rudalics <rudalics@gmx.at>
18216
2b75be67
SM
18217 * window.el (one-window-p): Move down in code.
18218 Rewrite doc-string.
18219 (window-current-scroll-bars): Rewrite doc-string.
18220 Normalize live window argument.
387522b2
MR
18221 (walk-windows, get-window-with-predicate, count-windows):
18222 Rewrite doc-string. Use window-list-1.
18223 (window-in-direction-2, window-in-direction, get-mru-window):
18224 New functions.
18225
d8e4b68b 182262011-06-08 Reuben Thomas <rrt@sc3d.org>
2c587104
GM
18227
18228 * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
18229 Doc fix (Bug#8713).
18230
182312011-06-08 Chong Yidong <cyd@stupidchicken.com>
18232
18233 * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
18234
182352011-06-08 Juanma Barranquero <lekktu@gmail.com>
18236
18237 * loadhist.el (unload-feature-special-hooks):
18238 Add `comint-output-filter-functions'.
18239
0de12c52
IK
182402011-06-08 Ivan Kanis <gnu@kanis.fr>
18241
18242 * calendar/appt.el (appt-check): Move some initializations into the let.
18243
f3d1777e
MR
182442011-06-08 Martin Rudalics <rudalics@gmx.at>
18245
18246 * window.el (window-height): Defalias to window-total-height.
18247 (window-width): Defalias to window-body-width.
18248
18af70d0
CY
182492011-06-07 Chong Yidong <cyd@stupidchicken.com>
18250
18251 * image-mode.el (image-toggle-animation): New command.
18252 (image-mode-map): Bind it to RET.
18253 (image-mode): Update message.
18254 (image-toggle-display-image): Avoid a spurious cache flush.
18255 (image-transform-rotation): Doc fix.
18256 (image-transform-properties): Return quickly in the normal case.
18257 (image-animate-loop): Rename from image-animate-max-time.
18258
2b75be67 18259 * image.el (image-animate-max-time): Move to image-mode.el.
18af70d0
CY
18260 (create-animated-image): Remove unnecessary function.
18261 (image-animate): Rename from image-animate-start. New arg.
2b75be67 18262 (image-animate-stop): Remove; just use image-animate-timer.
18af70d0
CY
18263 (image-animate-timer): Use car-safe.
18264 (image-animate-timeout): Rename argument.
18265
190b47e6
MR
182662011-06-07 Martin Rudalics <rudalics@gmx.at>
18267
18268 * window.el (get-lru-window, get-largest-window): Move here from
2b75be67
SM
18269 window.c. Rename first argument to ALL-FRAMES.
18270 Rephrase doc-strings.
18271 (get-buffer-window-list): Rewrite using window-list-1.
18272 Rephrase doc-string.
a1511caf
MR
18273 (window-safe-min-height, window-safe-min-width): New constants.
18274 (window-size-ignore, window-min-size, window-min-size-1)
18275 (window-sizable, window-sizable-p, window-size-fixed-1)
18276 (window-size-fixed-p, window-min-delta-1, window-min-delta)
18277 (window-max-delta-1, window-max-delta, window-resizable)
18278 (window-resizable-p, window-total-height, window-total-width)
18279 (window-body-width): New functions.
18280 (window-full-height-p, window-full-width-p): Rewrite using
18281 window-total-size.
18282 (window-body-height): Rewrite using window-body-size.
190b47e6 18283
85cc1f11
MR
182842011-06-06 Martin Rudalics <rudalics@gmx.at>
18285
18286 * window.el (window-right, window-left, window-child)
18287 (window-child-count, window-last-child, window-any-p)
18288 (normalize-live-buffer, normalize-live-frame)
18289 (normalize-any-window, normalize-live-window)
18290 (window-iso-combination-p, window-iso-combined-p)
18291 (window-iso-combinations)
18292 (walk-window-tree-1, walk-window-tree, walk-window-subtree)
18293 (windows-with-parameter, window-with-parameter)
18294 (window-atom-root, make-window-atom, window-atom-check-1)
2b75be67
SM
18295 (window-atom-check, window-side-check, window-check):
18296 New functions.
85cc1f11
MR
18297 (ignore-window-parameters, window-sides, window-sides-vertical)
18298 (window-sides-slots): New variables.
18299 (window-size-fixed): Move down in code. Minor doc-string fix.
18300
e7156492
AS
183012011-06-05 Andreas Schwab <schwab@linux-m68k.org>
18302
18303 * comint.el (comint-dynamic-complete-as-filename)
18304 (comint-dynamic-complete-filename): Correctly call
18305 completion-in-region.
18306
7e821d0d
DD
183072011-06-05 Deniz Dogan <deniz@dogan.se>
18308
18309 * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
18310 in last change.
18311
ac09b8a1
DD
183122011-06-05 Deniz Dogan <deniz@dogan.se>
18313
18314 * net/rcirc.el (rcirc-prompt-for-encryption): New function.
18315 (rcirc): Use it to prompt for encryption.
18316
34699b85
RW
183172011-06-05 Roland Winkler <winkler@gnu.org>
18318
18319 * textmodes/bibtex.el (bibtex-search-buffer): New variable.
18320 (bibtex-search-entries): New command bound to C-c C-a.
18321 (bibtex-display-entries): New function.
18322
004dedd3
RW
183232011-06-05 Roland Winkler <winkler@gnu.org>
18324
18325 * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
18326 (bibtex-insert-kill): After yanking insert newline if necessary.
18327 (bibtex-initialize): Call bibtex-string-files-init only once.
18328 (bibtex-mode): Do not call easy-menu-add.
18329 (bibtex-validate-globally): Use save-excursion in bibtex buffers.
18330 (bibtex-yank): Set arg properly if nil.
18331
022fe7ce
RW
183322011-06-05 Roland Winkler <winkler@gnu.org>
18333
2b75be67
SM
18334 * textmodes/bibtex.el (bibtex-search-entry-globally):
18335 New variable.
022fe7ce
RW
18336 (bibtex-search-entry): Use it.
18337
b7c3692a
RW
183382011-06-05 Roland Winkler <winkler@gnu.org>
18339
18340 * textmodes/bibtex.el (bibtex-entry-format): New option
18341 sort-fields.
18342 (bibtex-format-entry, bibtex-reformat): Honor this option.
18343 (bibtex-parse-entry): Return fields in proper order.
18344
8eda563d
JB
183452011-06-05 Juanma Barranquero <lekktu@gmail.com>
18346
18347 * doc-view.el (doc-view-remove-if): Move computation of result out
18348 of `dolist' to silence misleading lexical-binding warning.
18349
7dbe3dbc
CY
183502011-06-04 Chong Yidong <cyd@stupidchicken.com>
18351
18352 * emacs-lisp/timer.el (timer-activate): Remove unused arg.
18353 (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
18354
0c33dd17
MA
183552011-06-04 Michael Albinus <michael.albinus@gmx.de>
18356
18357 * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
18358 "SunOS 5.10".
18359
f8f91c2b
MA
183602011-06-04 Michael Albinus <michael.albinus@gmx.de>
18361
18362 * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
18363 (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
18364 (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
18365 (tramp-parse-putty):
18366 * net/tramp-sh.el (tramp-completion-function-alist-rsh)
18367 (tramp-completion-function-alist-ssh)
18368 (tramp-completion-function-alist-telnet)
18369 (tramp-completion-function-alist-su)
18370 (tramp-completion-function-alist-putty): Set `tramp-autoload'
18371 cookie.
18372
18373 * net/tramp-ftp.el:
18374 * net/tramp-sh.el:
18375 * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
18376 load "tramp.el" `tramp-set-completion-function'.
18377
e17d9003
SM
183782011-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
18379
18380 * shell.el: Require and use pcomplete.
18381 (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
18382 (shell-completion-vars): Set pcomplete-default-completion-function.
18383
6c4cab03
DD
183842011-06-04 Deniz Dogan <deniz@dogan.se>
18385
18386 * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
18387 `memq' (Bug#8799).
18388
ea9fafe0
SM
183892011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
18390
18391 * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
18392
b3e945d3
JB
183932011-06-02 Juanma Barranquero <lekktu@gmail.com>
18394
18395 * bs.el (bs--mark-unmark, bs--nth-wrapper):
18396 * mpc.el (mpc-select-extend, mpc-songpointer-context):
18397 * vc/log-view.el (log-view-beginning-of-defun):
18398 * vc/smerge-mode.el (smerge-apply-resolution-patch)
18399 (smerge-refine-forward, smerge-refine-chopup-region):
18400 Silence warning for unused `dotimes' counter variables.
18401
7d520089
SM
184022011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
18403
18404 * net/tramp.el (tramp-with-progress-reporter): Rename from
18405 with-progress-reporter. Use `declare'.
18406 * net/tramp-smb.el:
18407 * net/tramp-sh.el:
18408 * net/tramp-gvfs.el: Update all uses.
18409
a1c2400f
JB
184102011-06-02 Jay Belanger <jay.p.belanger@gmail.com>
18411
18412 * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
18413 buffer isn't killed before making it current.
18414
2403c841
SM
184152011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
18416
18417 Silence various byte-compiler warnings.
18418 * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
18419 `access-type' and new obsolescence format.
18420 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
18421 new format.
18422 (byte-compile-check-variable): New `access-type' argument.
18423 Only warn if the access-type is obsolete.
18424 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
18425 (byte-compile-variable-set): Adjust callers.
18426 * help-fns.el (describe-variable): Adjust to new obsolescence format.
18427 * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
18428 setting it as obsolete.
18429 * simple.el (minibuffer-completing-symbol):
18430 * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
18431 access as obsolete.
18432 * minibuffer.el (minibuffer-completing-file-name): Don't make it
18433 obsolete yet.
18434 * international/quail.el (quail-mouse-choose-completion): Remove unused
18435 code referring to obsolete var.
18436 (quail-choose-completion-string): Remove.
18437 * server.el (server-clients-with, server-kill-buffer-query-function)
18438 (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
18439 * proced.el (proced-send-signal):
18440 * emacs-lisp/lisp.el (lisp-complete-symbol):
18441 Replace completion-annotate-function with completion-extra-properties.
18442
2462470b
SM
184432011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
18444
fb5b2591
SM
18445 * simple.el (goto-line): Use read-number.
18446 (overriding-map-is-bound): Remove.
18447 (saved-overriding-map): Change default.
18448 (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
18449 Take the map as argument.
18450 (universal-argument, negative-argument, digit-argument): Use it.
18451 (restore-overriding-map): Adjust.
18452 (do-auto-fill): Use fill-forward-paragraph.
18453 (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
18454
fd6fa53f
SM
18455 * minibuffer.el (minibuffer-inactive-mode-map): New var.
18456 (minibuffer-inactive-mode): New major mode.
18457 * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
18458 the *Messages* buffer" hack.
18459 (mouse-popup-menubar): Don't burp if the event is a normal key.
18460
2462470b
SM
18461 Miscellaneous tweaks.
18462 * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
18463 lexical scoping as in subr.el's dolist and dotimes.
18464 * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
18465 Silence compiler warning.
18466 * thingatpt.el (forward-whitespace): Trivial coding style fix.
18467 * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
18468 * international/ccl.el (ccl-compile): Trivial simplification.
18469 * help-fns.el (help-do-arg-highlight): Silence compiler warning.
18470 * emacs-lisp/testcover.el (testcover-end): Remove spurious
18471 `printflag' argument.
18472 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
18473 Purecopy the whole obsolescence data.
18474
108bf785
LL
184752011-06-01 Leo Liu <sdl.web@gmail.com>
18476
18477 * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
18478 improve doc-string as suggested by Marco Pessotto
18479 <melmothx@gmail.com>.
18480 (rcirc-print): Fix last change.
18481
30a23501
SM
184822011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
18483
18484 * minibuffer.el (complete-with-action): Return nil for the metadata and
18485 boundaries of non-functional tables.
18486 (completion-table-dynamic): Return nil for the metadata.
18487 (completion-table-with-terminator): Add default case, using
18488 complete-with-action.
18489 (completion--metadata): New function.
18490 (completion-all-sorted-completions, minibuffer-completion-help): Use it
18491 to try and avoid pathological performance problems.
18492 (completion--embedded-envvar-table): Return `category' metadata.
18493
bcd54f83
LMI
184942011-05-31 Lars Magne Ingebrigtsen <larsi@gnus.org>
18495
18496 * subr.el (process-alive-p): New tiny convenience function.
18497
e227544d
SM
184982011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
18499
18500 * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
18501 content but also its previous major mode.
18502
e8296fdc
HE
185032011-05-31 Helmut Eller <eller.helmut@gmail.com>
18504
4d61f28d 18505 * emacs-lisp/debug.el (debug): Restore the previous content of the
e8296fdc
HE
18506 *Backtrace* buffer when we exit with C-M-c.
18507
620c53a6
SM
185082011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
18509
18510 * minibuffer.el: Add metadata method to completion tables.
18511 (completion-category-overrides): New defcustom.
18512 (completion-metadata, completion--field-metadata)
18513 (completion-metadata-get, completion--styles)
18514 (completion--cycle-threshold): New functions.
18515 (completion-try-completion, completion-all-completions):
18516 Add `metadata' argument to choose completion-styles.
18517 (completion--do-completion): Use metadata to choose cycling.
18518 (completion-all-sorted-completions): Use metadata for sorting.
18519 Remove :completion-cycle-penalty which is not needed any more.
18520 (completion--try-word-completion): Add `metadata' argument.
18521 (minibuffer-completion-help): Check metadata for annotation function
18522 and sorting.
18523 (completion-file-name-table): Return `category' metadata.
18524 (minibuffer-completing-file-name): Make obsolete.
18525 * simple.el (minibuffer-completing-symbol): Make obsolete.
18526 * icomplete.el (icomplete-completions): Pass new `metadata' param to
18527 completion-try-completion.
18528
1257e755
SM
185292011-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
18530
18531 * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
18532
3767e706
LL
185332011-05-30 Leo Liu <sdl.web@gmail.com>
18534
18535 * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
5ab33f2b
LL
18536 (rcirc-print): Decode all incoming messages (bug#8744).
18537 (rcirc-decode-coding-system): Allow value nil for automatic coding
18538 system detection.
3767e706 18539
d1a5d56a
GM
185402011-06-01 Glenn Morris <rgm@gnu.org>
18541
18542 * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
18543
e8cbec34
CY
185442011-05-29 Chong Yidong <cyd@stupidchicken.com>
18545
18546 * image.el (image-animate-max-time): Allow nil and t values.
18547 Default to nil.
18548 (create-animated-image): Doc fix.
18549 (image-animate-start): Remove second arg; just use
18550 image-animate-max-time.
18551 (image-animate-timeout): Doc fix. Args changed.
18552
18553 * image-mode.el (image-toggle-display-image): Ensure that the
18554 image spec passed to the animate timer is the same object as in
58179cce 18555 the buffer's display property (Bug#6981).
e8cbec34
CY
18556 (image-transform-properties): Doc fix.
18557
18558 * image.el (image-animate-max-time): Default to nil.
18559
159daf87
MR
185602011-05-29 Martin Rudalics <rudalics@gmx.at>
18561
18562 * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
18563 entire buffer list (Bug#8184).
18564
d66c4c7c
CY
185652011-05-29 Chong Yidong <cyd@stupidchicken.com>
18566
18567 * image.el (imagemagick-types-inhibit)
18568 (imagemagick-register-types): Doc fix.
18569
80aec780
DD
185702011-05-29 Deniz Dogan <deniz@dogan.se>
18571
18572 * net/rcirc.el (rcirc): Use the user's stored encryption method by
18573 default.
18574
1dd3c2d9
CY
185752011-05-29 Chong Yidong <cyd@stupidchicken.com>
18576
18577 * select.el: Don't perform clipboard-manager saving in hooks;
18578 leave the hooks empty.
18579
60e56523
LL
185802011-05-28 Leo Liu <sdl.web@gmail.com>
18581
18582 * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
18583 (occur-mode-map): Bind occur-edit-mode. Use occur-menu-map.
18584 (occur-edit-mode): New major mode (Bug#8463).
18585 (occur-after-change-function): New function.
18586 (occur-engine): Give Occur tags a read-only property.
18587
2b1e1a22
KR
185882011-05-28 Kevin Ryde <user42@zip.com.au>
18589
18590 * subr.el (def-edebug-spec): Doc fix (Bug#8430).
18591
5d344e88
CY
185922011-05-28 Chong Yidong <cyd@stupidchicken.com>
18593
8e6ca83d
CY
18594 * bindings.el (help-echo): Make the initial non-indicator dash
18595 empty on graphical terminals (Bug#7295).
18596
5d344e88
CY
18597 * files.el (auto-mode-alist): Move config rule after the
18598 in-stripping one (Bug#8547).
18599
bfbbace7
CY
18600 * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
18601
fbeba6e2
CY
18602 * startup.el (normal-splash-screen): Remove gratuitous mode-line
18603 setting (Bug#8740).
18604
60ed8c72
AA
186052011-05-28 Alp Aker <aker@pitt.edu> (tiny change)
18606
4ac619f0
AA
18607 * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
18608 (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
18609 (Bug#8539).
60ed8c72 18610
23db196e
CY
186112011-05-28 Chong Yidong <cyd@stupidchicken.com>
18612
18613 * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
18614
5012f24c
DK
186152011-05-28 Dima Kogan <dkogan@cds.caltech.edu> (tiny change)
18616
18617 * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
18618 (hs-hide-block-at-point, hs-find-block-beginning)
18619 (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
18620 (Bug#8279).
18621
6a639b16
GM
186222011-05-28 Glenn Morris <rgm@gnu.org>
18623
18624 * startup.el (fancy-about-screen): Use standard mode line. (Bug#8740)
18625
d43eaf2c
CY
186262011-05-28 Chong Yidong <cyd@stupidchicken.com>
18627
5199bde1
CY
18628 * help-fns.el (describe-function-1): If the function is a derived
18629 major mode, print the parent mode.
18630
d43eaf2c
CY
18631 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
18632 (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
18633
423428a8
SM
186342011-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
18635
0ff8e1ba 18636 * minibuffer.el (completion--capf-wrapper): Check applicability before
0b381c7e 18637 returning non-nil for non-exclusive completion data.
0ff8e1ba
SM
18638 * progmodes/etags.el (tags-completion-at-point-function):
18639 * info-look.el (info-lookup-completions-at-point): Mark as
18640 non-exclusive.
18641 (info-complete): Adjust accordingly.
18642
423428a8
SM
18643 * info-look.el: Convert to lexical-binding and completion-at-point.
18644 (info-lookup-completions-at-point): New function.
18645 (info-complete): Use it and completion-in-region.
18646
b74aa22b
DA
186472011-05-28 Drew Adams <drew.adams@oracle.com>
18648
18649 * isearch.el: Let M-e start with point at the first mismatched char.
18650 (isearch-fail-pos): New function.
18651 (isearch-edit-string): Use it.
18652
66e2e71d
DK
186532011-05-28 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
18654
18655 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
18656
b1890b0f 186572011-05-27 Toby Cubitt <toby-predictive@dr-qubit.org>
eb95d01d
TC
18658
18659 * emacs-lisp/avl-tree.el: New avl-tree-stack datatype. Add new
18660 traversal functions for avl-trees.
18661 (avl-tree--stack): New struct.
18662 (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
18663 (avl-tree-enter): Add optional `updatefun' arg.
93a1c12a
TC
18664 (avl-tree--do-enter): Add optional `updatefun' arg.
18665 Change return value.
eb95d01d 18666 (avl-tree-delete): Add optional `test' and `nilflag' args.
93a1c12a
TC
18667 (avl-tree--do-delete): Add `test' and `nilflag' args.
18668 Change return value.
eb95d01d
TC
18669 (avl-tree-member): Add optional `nilflag'
18670 (avl-tree-member-p): New function.
18671 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
18672 (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
18673 (avl-tree-stack-empty-p): New functions.
18674
3769ddcf
TC
18675 * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
18676 avl-tree--del-balance1 and make it work both ways.
18677 (avl-tree--del-balance2): Remove.
18678 (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
18679 make it work both ways.
18680 (avl-tree--enter-balance2): Remove.
18681 (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
18682 New macros.
18683 (avl-tree--mapc, avl-tree-map): Add direction argument.
18684
eb95d01d 186852011-05-27 David Michael <fedora.dm0@gmail.com> (tiny change)
7a6b1aef
DM
18686
18687 * files.el (interpreter-mode-alist): Add rbash (bug#8745).
18688
a9f737ee
CY
186892011-05-27 Chong Yidong <cyd@stupidchicken.com>
18690
18691 * select.el: Support clipboard managers with built-in function
18692 x-clipboard-manager-save, via delete-frame-functions and
18693 kill-emacs-hook.
18694 (xselect-convert-to-targets): Add MULTIPLE target to list.
18695 (xselect-convert-to-save-targets): New function.
18696
c92a1e54
KH
186972011-05-27 Kenichi Handa <handa@m17n.org>
18698
18699 * mail/sendmail.el (mail-encode-header): Avoid double encoding by
18700 let-binding rfc2047-encode-encoded-words to nil.
18701
e145f188
GM
187022011-05-27 Glenn Morris <rgm@gnu.org>
18703
5ec8a862
GM
18704 * mail/emacsbug.el: Don't require url-util.
18705
4b29d9fb
GM
18706 * shell.el (shell-directory-tracker): Case matters. (Bug#8735)
18707
e145f188
GM
18708 * files.el (set-auto-mode):
18709 Also respect mode: entries at the end of the file. (Bug#8586)
18710
7d15102b
GM
187112011-05-26 Glenn Morris <rgm@gnu.org>
18712
98f593b8
GM
18713 * files.el (hack-local-variables-prop-line, hack-local-variables):
18714 Downcase mode names, as seems to be traditional.
27b48e63 18715 (hack-local-variables, hack-local-variables-apply): Doc fixes.
98f593b8 18716
7d15102b
GM
18717 * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
18718 (report-emacs-bug-hook): Try to validate the From address. (Bug#8038)
18719
51d5b4ec
JD
187202011-05-25 Julien Danjou <julien@danjou.info>
18721
18722 * textmodes/rst.el (rst-define-level-faces): Do not define face
18723 symbol if it is already defined.
18724
91513f63
VB
187252011-05-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
18726
18727 * play/5x5.el (5x5-new-game, 5x5-randomize):
18728 Reset 5x5-solver-output to nil when a new grid is cast.
18729 (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
18730 these debugging traces, as defmacro breaks the compiled code.
18731
4d90d6d0
DK
187322011-05-24 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
18733
18734 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
18735
e1b90ef6
LL
187362011-05-24 Leo Liu <sdl.web@gmail.com>
18737
18738 * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
18739 (vc-bzr-sha1): Adapt.
18740
d8e4b68b 18741 * sha1.el: Remove. Function `sha1' is now builtin.
e1b90ef6
LL
18742
18743 * bindings.el: Provide sha1 feature.
18744
db0406bb 187452011-05-24 Kenichi Handa <handa@m17n.org>
b8d747b9
KH
18746
18747 * mail/sendmail.el: Require `rfc2047'.
18748 (mail-insert-from-field): Do not perform RFC2047 encoding.
18749 (mail-encode-header): New function.
18750 (sendmail-send-it): Set buffer-file-coding-system of the work
4d90d6d0
DK
18751 buffer to the return value of select-message-coding-system.
18752 Call mail-encode-header.
b8d747b9
KH
18753
18754 * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
18755
db0406bb 187562011-05-24 Sean Neakums <sneakums@zork.net> (tiny change)
7261f6ce 18757
4d90d6d0
DK
18758 * mail/supercite.el (sc-default-cite-frame):
18759 Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
7261f6ce 18760
eb8a5e9b
GM
187612011-05-24 Glenn Morris <rgm@gnu.org>
18762
f8630703
GM
18763 * progmodes/python.el (brm-menu): Declare.
18764
8831bbed
GM
18765 * emulation/viper.el (viper-set-hooks): Declare.
18766
eb8a5e9b
GM
18767 * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
18768 (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
18769 (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
18770 (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
18771 (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
18772 (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
18773
a2a25d24
SM
187742011-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
18775
18776 Add an :exit-function for completion-at-point.
18777
18778 * minibuffer.el (completion--done): New fun.
18779 (completion--do-completion): Use it. New arg `expect-exact'.
18780 (minibuffer-complete, minibuffer-complete-word): Don't output message,
18781 since completion--do-completion does it for us now.
18782 (minibuffer-force-complete): Use completion--done and
18783 completion--replace. Handle sole-completion case with more care.
18784 (minibuffer-complete-and-exit): Use new `expect-exact' arg.
18785 (completion-extra-properties): New var.
18786 (completion-annotate-function): Make obsolete.
18787 (minibuffer-completion-help): Adjust accordingly.
18788 Use completion-list-insert-choice-function.
18789 (completion-at-point, completion-help-at-point):
18790 Bind completion-extra-properties.
18791 (completion-pcm-word-delimiters): Add | (for uniquify, for example).
18792 * simple.el (completion-list-insert-choice-function): New var.
18793 (completion-setup-function): Preserve it.
18794 (choose-completion): Pay attention to it, shuffle the code a bit.
18795 (choose-completion-string): New arg `insert-function'.
18796
18797 * textmodes/bibtex.el: Convert to lexical binding.
18798 (bibtex-mode-map): Use completion-at-point.
18799 (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
18800 (bibtex-completion-at-point-function): New fun, from bibtex-complete.
18801 (bibtex-complete): Define as obsolete alias.
18802 (bibtex-complete-internal): Remove.
18803 (bibtex-format-entry): Remove unused sub-group in regexp.
18804 * shell.el (shell--command-completion-data)
18805 (shell-environment-variable-completion):
18806 * pcomplete.el (pcomplete-completions-at-point):
18807 * comint.el (comint--complete-file-name-data): Use :exit-function
18808 instead of completion-table-with-terminator so it also works for
18809 choose-completion.
18810
e44e373d
SM
188112011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
18812
4f91a816
SM
18813 * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
18814
782fc819
SM
18815 * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
18816 (bug#8710).
18817
e44e373d
SM
18818 * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
18819
381987c3
KM
188202011-05-23 Ken Manheimer <ken.manheimer@gmail.com>
18821
18822 * allout.el (allout-inhibit-auto-fill-on-headline): Create new
18823 customization variable and implement: If non-nil, auto-fill will
18824 be inhibited while on topic's header line.
18825
b776bc70
VB
188262011-05-23 Vincent Belaïche <vincentb1@users.sourceforge.net>
18827
18828 * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
d8e4b68b 18829 click on. II/ Make 5x5 multisession. III/ Ensure that random grids
b776bc70
VB
18830 always have a solution in grid size = 5 cases.
18831 (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
18832 (5x5-solver-output, 5x5-log-buffer): New vars.
18833 (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
18834 Make these variables buffer local to achieve 5x5 multi-session-ness.
18835 (5x5): Set 5x5-grid-size only if SIZE is non-negative.
18836 (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
18837 (5x5-solve-suggest): New funs.
18838 (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
18839 randomize a grid so that we ensure that there is always a solution.
18840 (5x5-make-random-grid): Allow other movement than flipping.
18841
7de88b6e
KR
188422011-05-23 Kevin Ryde <user42@zip.com.au>
18843
18844 * emacs-lisp/advice.el (ad-read-advised-function):
5a5fa834 18845 Use `function-called-at-point' as the default, if it has
7de88b6e
KR
18846 advice and passes PREDICATE.
18847
b1ef1257
SM
188482011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
18849
bbca48fe
SM
18850 * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
18851 byte-compile-lambda if it's actually a lambda.
18852
b1ef1257
SM
18853 * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
18854 Fix function quoting. Use backquote better.
18855
92a9cc65
YS
188562011-05-22 Yuanle Song <sylecn@gmail.com>
18857
18858 * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
18859 matching (Bug#8516).
18860
f0fb8059
JA
188612011-01-22 Jari Aalto <jari.aalto@cante.net>
18862
18863 * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
18864 different face (Bug#8178).
18865
d5b44c93
CY
188662011-05-22 Chong Yidong <cyd@stupidchicken.com>
18867
18868 * vc/diff-mode.el (diff-changed): Don't use terminal specs for
18869 defface (Bug#8144).
18870
79106a44
SM
188712011-05-22 Stefan Monnier <monnier@iro.umontreal.ca>
18872
9c848d8a
SM
18873 * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
18874 funcall as well (bug#8712). Warn when performing those conversions.
18875 * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
18876
79106a44
SM
18877 * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
18878
88dfa756
GM
188792011-05-22 Glenn Morris <rgm@gnu.org>
18880
18881 * files.el (hack-local-variables-prop-line): Small simplifications.
18882 (hack-local-variables, hack-local-variables-prop-line):
18883 If MODE-ONLY, return the mode, rather than just `t'.
18884
b7cf2c79
SM
188852011-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
18886
18887 * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
18888
3f1a8558
GM
188892011-05-21 Glenn Morris <rgm@gnu.org>
18890
7e4ccca3
GM
18891 * files.el (hack-local-variables-prop-line, hack-local-variables):
18892 If only interested in the mode, don't bother doing the other stuff.
18893
637d46ca
GM
18894 * image-mode.el (image-after-revert-hook):
18895 Redraw all frames on which the image is visible. (Bug#8567)
18896
973d955b
GM
18897 * dired-aux.el (dired-touch-initial): Just use current-time. (Bug#6887)
18898
3f1a8558
GM
18899 * wid-edit.el (widget-checklist-match-inline):
18900 Fix 2011-04-19 change. (Bug#8649)
18901
96479927
SM
189022011-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
18903
1dcf791f
SM
18904 * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
18905 Also allow singlespace after single-letter capitals followed by a dot.
18906
96479927
SM
18907 * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
18908 enabled. Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
18909
35fd0881
N
189102011-05-20 Nix <nix@esperi.org.uk>
18911
18912 * files.el (basic-save-buffer-2):
18913 Fix handling of break-hardlink-on-save with non-existent files.
18914
82745640
DD
189152011-05-19 Deniz Dogan <deniz@dogan.se>
18916
18917 * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
9ff90d99 18918 (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
82745640 18919
4a720484
GM
189202011-05-19 Glenn Morris <rgm@gnu.org>
18921
d1f21341
GM
18922 * progmodes/f90.el (f90-type-def-re):
18923 Handle "type, bind(c)". (Bug#8691)
18924
4a720484
GM
18925 * emacs-lisp/autoload.el (batch-update-autoloads):
18926 Set autoload-excludes by parsing loadup.el rather than Makefiles.
18927
2fb0a219
MA
189282011-05-18 Michael Albinus <michael.albinus@gmx.de>
18929
18930 * net/tramp.el (tramp-process-actions): Set "first-password-request"
18931 property for the correct connection in case of multihops.
18932
e565dd37
GM
189332011-05-18 Glenn Morris <rgm@gnu.org>
18934
c2571358 18935 * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
c136e5cd
GM
18936 * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
18937
e565dd37
GM
18938 Rationalize calendar handling of day and month abbrev-arrays.
18939 * calendar/calendar.el (calendar-customized-p): New function.
18940 (calendar-abbrev-construct, calendar-make-alist): Change what it does.
18941 (calendar-day-name-array, calendar-month-name-array): Doc fix.
18942 Add :set function.
18943 (calendar-abbrev-length, calendar-day-abbrev-array)
18944 (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
18945 (calendar-day-abbrev-array, calendar-month-abbrev-array):
18946 Elements may no longer be nil.
18947 (calendar-day-name, calendar-month-name):
18948 Update for changed nature of abbrev arrays.
18949 * calendar/diary-lib.el (diary-name-pattern):
18950 Update for changed nature of abbrev arrays.
18951 (diary-mark-entries-1): Update calendar-make-alist calls.
18952 (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
18953 * calendar/cal-html.el (cal-html-day-abbrev-array):
18954 Simply inherit from calendar-day-abbrev-array.
18955
1d99a745
SM
189562011-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
18957
18958 * progmodes/grep.el (grep-mode): Disable default
18959 compilation-directory-matcher setting (bug#8684).
18960
7c1d9aa0
MA
189612011-05-17 Michael Albinus <michael.albinus@gmx.de>
18962
18963 * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
18964 instead of "head" and "tail". There were problems with SunOS 5.9,
18965 and it performs better.
18966
3952e9d8
GM
189672011-05-17 Glenn Morris <rgm@gnu.org>
18968
2dd12e7f
GM
18969 * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
18970
e4157b9c
GM
18971 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
18972 Replace obsolete function.
18973
8e249bbd
GM
18974 * shell.el (pcomplete-parse-arguments-function): Declare.
18975
3952e9d8
GM
18976 * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
18977 (appt-display-diary, appt-display-interval, appt-prev-comp-time)
18978 (appt-check): Doc fixes.
18979 (appt-disp-window-function, appt-delete-window-function):
18980 Remove needless special case in custom :type.
18981 (appt-display-count): Default to 0, not nil.
18982 (appt-check): Reset appt-display-count to 0, not nil.
18983
c71a0d48 189842011-05-17 Juanma Barranquero <lekktu@gmail.com>
165fd2df 18985
c71a0d48
GM
18986 * progmodes/python.el (python-font-lock-keywords):
18987 Add the Python 3.X keyword "nonlocal" (bug#8639).
165fd2df 18988
31d55be9
SM
189892011-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
18990
18991 * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
18992
3bfacb2f
KR
189932011-05-16 Kevin Ryde <user42@zip.com.au>
18994
18995 * info-look.el (makefile-automake-mode): New setups, looking in
18996 automake manual, then makefile-mode.
18997 (makefile-mode): Remove automake manual, have it just in
18998 makefile-automake-mode since there's various things different or
18999 not relevant to plain make.
19000 (makefile-mode): Remove "other-modes" non-existent automake-mode,
19001 believe a hypothetical automake-mode would go to makefile-mode,
19002 not the other way around.
19003
c8e83751
CY
190042011-05-15 Chong Yidong <cyd@stupidchicken.com>
19005
5e9e35cd
CY
19006 * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
19007 hunk-end tags (Bug#8672).
19008
c8e83751
CY
19009 * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
19010 vc-annotate-show-diff-revision-at-line (Bug#8671).
19011
50b23e5a
GM
190122011-05-14 Glenn Morris <rgm@gnu.org>
19013
7210a739
GM
19014 * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
19015 in the middle of an existing one with multiple authors. (Bug#8645)
375cb676
GM
19016 (change-log-font-lock-keywords): Also handle multiple author lines
19017 with leading tabs. (Bug#8644)
7210a739 19018
4691905a
GM
19019 * calendar/appt.el (appt-check): Rename some local variables.
19020 Some simplification/reordering.
19021
50b23e5a
GM
19022 * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
19023 (feedmail-sendmail-f-doesnt-sell-me-out)
19024 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
19025 (feedmail-debug-sit-for, feedmail-queue-express-hook)
19026 (feedmail-queue-runner-message-sender): Set :version.
1aa64307
GM
19027 (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
19028 (bbdb-dwim-net-address, vm-mail): Declare.
50b23e5a
GM
19029 (feedmail-binmail-gnulinuxish-template):
19030 Rename from feedmail-binmail-linuxish-template.
19031 (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
19032 Use insert-buffer-substring.
19033
215cda7c
BC
190342011-05-14 Bill Carpenter <bill@carpenter.org>
19035
19036 * mail/feedmail.el (feedmail-patch-level): Increase.
19037 (feedmail-debug): New custom group.
19038 (feedmail-confirm-outgoing-timeout)
19039 (feedmail-sendmail-f-doesnt-sell-me-out)
19040 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
19041 (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
19042 (feedmail-sender-line, feedmail-from-line)
19043 (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
c2571358 19044 (feedmail-spray-this-address)
215cda7c
BC
19045 (feedmail-spray-address-fiddle-plex-list)
19046 (feedmail-queue-use-send-time-for-date)
19047 (feedmail-queue-use-send-time-for-message-id)
19048 (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
19049 (feedmail-buffer-eating-function):
19050 Doc fixes.
19051 (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
19052 (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
19053 (feedmail-message-action-scroll-down): New functions.
19054 (feedmail-queue-directory, feedmail-queue-draft-directory):
19055 Use expand-file-name.
19056 (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
19057 Remove C-v help entry.
19058 (feedmail-queue-buffer-file-name): New variable.
19059 (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
19060 (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
19061 (feedmail-message-action-send-strong, feedmail-message-action-edit)
19062 (feedmail-message-action-draft, feedmail-message-action-draft-strong)
19063 (feedmail-message-action-queue, feedmail-message-action-queue-strong)
19064 (feedmail-message-action-toggle-spray)
19065 (feedmail-run-the-queue-no-prompts)
19066 (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
19067 (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
19068 (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
19069 (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
19070 (feedmail-envelope-deducer, feedmail-fiddle-from)
19071 (feedmail-fiddle-sender, feedmail-default-date-generator)
19072 (feedmail-fiddle-date, feedmail-fiddle-message-id)
19073 (feedmail-fiddle-spray-address)
19074 (feedmail-fiddle-list-of-spray-fiddle-plexes)
19075 (feedmail-fiddle-list-of-fiddle-plexes)
19076 (feedmail-fill-to-cc-function, feedmail-fill-this-one)
19077 (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
19078 (feedmail-queue-runner-message-sender, feedmail-binmail-template):
19079 Change default. Doc fix.
19080 (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
19081 (feedmail-binmail-linuxish-template): New constant.
19082 (feedmail-buffer-to-sendmail): Doc fix. Add debug call.
19083 Respect feedmail-sendmail-f-doesnt-sell-me-out.
19084 (feedmail-send-it): Add debug call.
19085 Use feedmail-queue-buffer-file-name, and
19086 feedmail-send-it-immediately-wrapper.
19087 (feedmail-message-action-send): Add debug call.
19088 Use feedmail-send-it-immediately-wrapper.
19089 (feedmail-queue-express-to-queue): Add debug call.
19090 Run feedmail-queue-express-hook.
19091 (feedmail-message-action-help): Add debug call. Use feedmail-p-h-b-n.
19092 (feedmail-message-action-help-blat):
19093 Rename from feedmail-queue-send-edit-prompt-help-first.
19094 (feedmail-run-the-queue): Add debug call. Set buffer-file-type.
19095 Check line-endings. Handle errors better.
19096 (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
19097 Doc fix. Add debug call.
19098 (feedmail-queue-send-edit-prompt): Doc fix. Add debug call.
19099 Use feedmail-queue-send-edit-prompt-inner.
19100 (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
19101 (feedmail-queue-send-edit-prompt-inner): New function, extracted
19102 from feedmail-queue-send-edit-prompt.
19103 (feedmail-queue-send-edit-prompt-help)
19104 (feedmail-queue-send-edit-prompt-help-later): Remove functions.
19105 (feedmail-tidy-up-slug): Add debug call.
19106 Respect feedmail-queue-slug-suspect-regexp.
19107 (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
19108 (feedmail-dump-message-to-queue): Add debug call.
19109 Expand queue-directory.
19110 (feedmail-dump-message-to-queue): Change message slightly.
19111 Use feedmail-say-chatter.
19112 (feedmail-rfc822-date): Add debug call. Bind system-time-locale.
19113 (feedmail-send-it-immediately-wrapper): New function.
19114 (feedmail-send-it-immediately): Add debug calls. Use let not let*.
19115 Insert empty string rather than newline. Handle full-frame case.
19116 Use catch/throw. Use feedmail-say-chatter.
19117 (feedmail-fiddle-from): Try mail-host-address.
19118 (feedmail-default-message-id-generator): Doc fix.
19119 Bind system-time-locale. Handle missing end.
19120 (feedmail-fiddle-x-mailer): Add debug call.
19121 Handle feedmail-x-mailer-line being nil.
19122 (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
19123 Add debug call. Use buffer-substring-no-properties.
19124 (feedmail-say-debug, feedmail-say-chatter): New functions.
19125 (feedmail-find-eoh): Give an explicit error.
19126
42c7e61e
UJ
191272011-05-13 Ulf Jasper <ulf.jasper@web.de>
19128
c2571358 19129 * net/newst-treeview.el (newsticker-treeview-face): Change default
42c7e61e 19130 family from helvetica to sans.
c2571358 19131 (newsticker-treeview-tool-bar-map): Move tool-bar icons to
42c7e61e
UJ
19132 etc/images/newsticker.
19133
c2571358 19134 * net/newst-reader.el (newsticker-feed-face): Change default
42c7e61e
UJ
19135 family from helvetica to sans.
19136
19137 * net/newst-plainview.el (newsticker-new-item-face)
19138 (newsticker-old-item-face, newsticker-immortal-item-face)
19139 (newsticker-obsolete-item-face, newsticker-date-face)
c2571358 19140 (newsticker-statistics-face): Change default family from
42c7e61e 19141 helvetica to sans.
c2571358 19142 (newsticker--plainview-tool-bar-map): Move tool-bar icons to
42c7e61e
UJ
19143 etc/images/newsticker.
19144
5d3385a0
JB
19145 * net/newst-backend.el (newsticker--do-run-auto-mark-filter)
19146 (newsticker--process-auto-mark-filter-match): Tell user about
42c7e61e
UJ
19147 auto-marking.
19148
8497a297
DV
191492011-05-13 Didier Verna <didier@xemacs.org>
19150
19151 Common Lisp indentation improvements on defmethod and lambda-lists.
4d61f28d
JB
19152 * emacs-lisp/cl-indent.el: Advertise the changes and remove obsolete
19153 TODO entries.
8497a297
DV
19154 (lisp-lambda-list-keyword-parameter-indentation)
19155 (lisp-lambda-list-keyword-parameter-alignment)
19156 (lisp-lambda-list-keyword-alignment): New customizable user options.
19157 (lisp-indent-defun-method): Improve docstring.
19158 (extended-loop-p): Fix comment.
19159 (lisp-indent-lambda-list-keywords-regexp): New variable.
19160 (lisp-indent-lambda-list): New function.
19161 (lisp-indent-259): Use it.
19162 (lisp-indent-defmethod): Support for more than one
19163 method qualifier and properly indent methods lambda-lists.
19164 (defgeneric): Provide a missing common-lisp-indent-function property.
19165
f278f87f
SM
191662011-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
19167
19168 * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
19169 bounds for the empty string (bug#8667).
19170
5233edd7
GM
191712011-05-13 Glenn Morris <rgm@gnu.org>
19172
5237a44f
GM
19173 * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
19174
8340026c 19175 * mail/sendmail.el (sendmail-program): Try executable-find first.
f278f87f 19176 (sendmail-send-it): `sendmail-program' cannot be unbound.
8340026c 19177
5233edd7 19178 * calendar/appt.el (appt-make-list): Simplify.
4accbca6 19179 (appt-time-msg-list): Doc fix.
a5464014 19180 (appt-check): Change mode-line message at the time of the appointment.
5233edd7 19181
92d10796
AS
191822011-05-12 Andreas Schwab <schwab@linux-m68k.org>
19183
19184 * progmodes/ld-script.el (ld-script-keywords)
19185 (ld-script-builtins): Update keywords list.
19186
914a0ae1
SM
191872011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
19188
c89be45f
SM
19189 * progmodes/grep.el (grep-filter): Don't trip on partial lines.
19190
914a0ae1
SM
19191 * shell.el (shell-completion-vars): New function.
19192 (shell-mode):
19193 * simple.el (read-shell-command): Use it.
19194 (blink-matching-open): No need for " [...]" in minibuffer-message.
19195
98dc3df3
GM
191962011-05-12 Glenn Morris <rgm@gnu.org>
19197
19198 * calendar/appt.el (appt-now-displayed): Remove pointless variable.
19199 (appt-check): Simplify.
19200
d2fc7e3d 192012011-05-12 Eli Zaretskii <eliz@gnu.org>
0e39ec21 19202
4d61f28d 19203 * vc/smerge-mode.el (smerge-resolve): Use null-device rather than a
0e39ec21
EZ
19204 literal "/dev/null".
19205
d2fc7e3d 192062011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
3f254caa
SM
19207
19208 * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
19209 Fix typo.
19210
d2fc7e3d 192112011-05-12 Ralph Schleicher <rs@ralph-schleicher.de>
6eea50c7 19212
3f254caa
SM
19213 * progmodes/which-func.el (which-function):
19214 Use add-log-current-defun instead of add-log-current-defun-function,
6eea50c7
RS
19215 which might not be defined (Bug#8260).
19216
d45885f7
GM
192172011-05-12 Glenn Morris <rgm@gnu.org>
19218
19219 * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
19220 Let byte-compile-initial-macro-environment always take precedence.
19221
488086f4
SM
192222011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
19223
19224 * net/rcirc.el: Add support for SSL/TLS connections.
19225 (rcirc-server-alist): New field `encryption'.
19226 (rcirc): Check `encryption' settings.
19227 (rcirc-connect): New arg `encryption'. Use open-network-stream.
19228 Merge make-local-variable into `set'.
19229 (rcirc--connection-open-p): New function.
19230 (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
19231 the process is not a network process (e.g. running gnutls-cli).
19232 (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
19233 Make rcirc-(en|de)code-coding-system local here.
19234 (rcirc-mode): Merge make-local-variable into `set'.
19235 (rcirc-parent-buffer): Make permanent buffer-local.
19236 (rcirc-multiline-minor-mode): Don't do it here.
19237 (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
19238 there's no server buffer.
19239
7d3b9d44
GM
192402011-05-11 Glenn Morris <rgm@gnu.org>
19241
f64049c6
GM
19242 * newcomment.el (comment-kill): Prefix "unused" local.
19243
93c9df73
GM
19244 * term/w32console.el (get-screen-color): Declare.
19245
7d3b9d44
GM
19246 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
19247 Handle symbol elements of byte-compile-initial-macro-environment.
19248
9e2dd53f
LL
192492011-05-10 Leo Liu <sdl.web@gmail.com>
19250
488086f4
SM
19251 * bookmark.el (bookmark-bmenu-mode-map):
19252 Bind bookmark-bmenu-search to `/'.
8b340240 19253
9e2dd53f 19254 * mail/footnote.el: Convert to utf-8 encoding.
b4044869
LL
19255 (footnote-unicode-string, footnote-unicode-regexp): New variable.
19256 (Footnote-unicode): New function.
19257 (footnote-style-alist): Add unicode style to the list.
19258 (footnote-style): Doc fix.
9e2dd53f 19259
79b70037
GM
192602011-05-10 Jim Meyering <meyering@redhat.com>
19261
19262 Fix doubled-word typos.
19263 * international/quail.el (quail-insert-kbd-layout): and and -> and
19264 * kermit.el: and and -> and
19265 * net/ldap.el (ldap-search-internal): to to -> to
19266 * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
19267 * progmodes/js.el (js-mode): and and -> and
19268 * textmodes/artist.el (artist-move-to-xy): at at -> at
19269 (artist-draw-region-trim-line-endings): if if -> if
19270 And Safetyc -> Safety.
19271 * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
19272
b8f82dc1 192732011-05-10 Glenn Morris <rgm@gnu.org>
f1a71c6e 19274 Stefan Monnier <monnier@iro.umontreal.ca>
b8f82dc1
GM
19275
19276 * files.el (hack-one-local-variable-eval-safep):
19277 Consider "eval: (foo-mode)" to be safe. (Bug#8613)
19278
4f99f44b
GM
192792011-05-10 Glenn Morris <rgm@gnu.org>
19280
19281 * calendar/diary-lib.el (diary-list-entries-hook)
19282 (diary-mark-entries-hook, diary-nongregorian-listing-hook)
19283 (diary-nongregorian-marking-hook, diary-list-entries)
19284 (diary-include-other-diary-files, diary-mark-entries)
19285 (diary-mark-included-diary-files): Doc fixes.
19286
84f29e6b
JB
192872011-05-09 Juanma Barranquero <lekktu@gmail.com>
19288
19289 * misc.el: Require tabulated-list.el during compilation.
19290
9bedd73a
CY
192912011-05-09 Chong Yidong <cyd@stupidchicken.com>
19292
488086f4
SM
19293 * progmodes/compile.el (compilation-start):
19294 Run compilation-filter-hook for the async case too.
9bedd73a
CY
19295 (compilation-filter-hook): Doc fix.
19296
797c735c
DD
192972011-05-09 Deniz Dogan <deniz@dogan.se>
19298
19299 * wdired.el: Remove outdated installation comment. Fix usage
19300 comment.
19301
5f4b1dfe
JB
193022011-05-09 Juanma Barranquero <lekktu@gmail.com>
19303
19304 * misc.el: Implement new command `list-dynamic-libraries'.
19305 (list-dynamic-libraries--loaded-only-p): New variable.
19306 (list-dynamic-libraries--refresh): New function.
19307 (list-dynamic-libraries): New command.
19308
4c44026c
CY
193092011-05-09 Chong Yidong <cyd@stupidchicken.com>
19310
488086f4
SM
19311 * progmodes/compile.el (compilation-error-regexp-alist-alist):
19312 Fix the ant regexp to handle end-line and end-column info from jikes.
4c44026c
CY
19313 Re-introduce maven regexp. Give the ruby-Test::Unit regexp a
19314 higher priority to avoid clobbering by gnu.
19315
027f966d
CY
193162011-05-08 Chong Yidong <cyd@stupidchicken.com>
19317
19318 * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
19319 if the face has existing theme settings (Bug#8454).
19320
085f5d7d
CY
193212011-05-08 Ralph Schleicher <rs@ralph-schleicher.de>
19322
488086f4
SM
19323 * progmodes/perl-mode.el (perl-imenu-generic-expression):
19324 Only match variables declared via `my' or `our' (Bug#8261).
085f5d7d 19325
2a86a00c
RS
19326 * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
19327 special file names `.' and `..' (Bug#8259).
19328
d9c54a06
CY
193292011-05-08 Chong Yidong <cyd@stupidchicken.com>
19330
488086f4
SM
19331 * progmodes/grep.el (grep-mode-font-lock-keywords):
19332 Remove buffer-changing entries.
d9c54a06
CY
19333 (grep-filter): New function.
19334 (grep-mode): Add it to compilation-filter-hook.
19335
19336 * progmodes/compile.el (compilation-filter-hook)
19337 (compilation-filter-start): New defvars.
19338 (compilation-filter): Call compilation-filter-hook prior to
19339 updating the process mark.
19340
c4662635
SM
193412011-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
19342
19343 * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
19344
b0512a1d
EZ
193452011-05-07 Eli Zaretskii <eliz@gnu.org>
19346
605c9376
EZ
19347 * mail/sendmail.el (send-mail-function): On MS-Windows, default to
19348 mailclient-send-it even if window-system is nil. (Bug#8595)
19349
c4662635
SM
19350 * term/w32console.el (terminal-init-w32console):
19351 Call get-screen-color and use its output to set the frame
b0512a1d
EZ
19352 background-mode. (Bug#8597)
19353
d1dc2cc2
SM
193542011-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
19355
19356 Make bytecomp.el understand that defmethod defines funs (bug#8631).
19357 * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
19358 New functions.
19359 (defgeneric, eieio--defmethod): Use them.
19360 (eieio-defgeneric): Remove.
19361 (defmethod): Call defgeneric in a way visible to the byte-compiler.
19362
915d1300
GM
193632011-05-07 Glenn Morris <rgm@gnu.org>
19364
a3961c3e
GM
19365 * calendar/timeclock.el (timeclock-log-data): Remove unused local.
19366 Use let rather than let*.
19367 (timeclock-find-discrep): Remove unused local.
19368
314347b9
GM
19369 * calendar/diary-lib.el (diary-comment-start): Doc fix.
19370
915d1300
GM
19371 * calendar/appt.el (appt-time-msg-list): Doc fix.
19372
275b59b0
NF
193732011-05-06 Noah Friedman <friedman@splode.com>
19374
19375 * apropos.el (apropos-print-doc): Only use
19376 emacs-lisp-docstring-fill-column when it is bound to an integer,
19377 per that variable's documentation.
19378
6c19f744
SM
193792011-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
19380
19381 * lpr.el (print-region-1): Echo lpr-program's output, so error messages
d1dc2cc2 19382 and warnings are not silently discarded (e.g. use -d instead of -P).
6c19f744 19383
60f884b2
GM
193842011-05-06 Glenn Morris <rgm@gnu.org>
19385
5006e634
GM
19386 * calendar/appt.el (appt-message-warning-time): Doc fix.
19387 (appt-warning-time-regexp): New option.
19388 (appt-make-list): Respect appt-message-warning-time.
19389
548d0a63
GM
19390 * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
19391 New options.
19392 (diary-add-to-list): Strip comments from the displayed string.
19393 (diary-mode): Set comment-start and comment-end.
19394
60f884b2
GM
19395 * vc/diff-mode.el (smerge-refine-subst): Declare.
19396 (diff-refine-hunk): Don't require smerge-mode when compiling.
19397
989681bb
JB
193982011-05-06 Juanma Barranquero <lekktu@gmail.com>
19399
19400 * simple.el (list-processes): Return nil as the docstring says.
19401
a6bc05e1
MA
194022011-05-05 Michael Albinus <michael.albinus@gmx.de>
19403
19404 * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
19405 to "".
19406 (ange-ftp-write-region, ange-ftp-insert-file-contents)
19407 (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
19408 determining of binary transfer. (Bug#7383)
19409
23c22e9a
MA
194102011-05-05 Michael Albinus <michael.albinus@gmx.de>
19411
c4662635
SM
19412 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
19413 Fix port computation bug. (Bug#8618)
23c22e9a 19414
0bff894f
GM
194152011-05-05 Glenn Morris <rgm@gnu.org>
19416
b8296902
GM
19417 * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
19418
1f522ce8
GM
19419 * simple.el (shell-dynamic-complete-functions)
19420 (comint-dynamic-complete-functions): Declare.
19421
cf5bee67
GM
19422 * net/network-stream.el (gnutls-negotiate):
19423 * simple.el (tabulated-list-print): Fix declarations.
19424
19425 * progmodes/gud.el (syntax-symbol, syntax-point):
19426 Remove unnecessary and incorrect declarations.
19427
0bff894f 19428 * emacs-lisp/check-declare.el (check-declare-scan):
1f9f395d 19429 Handle byte-compile-initial-macro-environment in bytecomp.el.
0bff894f 19430
9869b3ae
SM
194312011-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
19432
19433 Fix earlier half-done eieio-defmethod change (bug#8338).
19434 * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
19435 Streamline and change calling convention.
19436 (defmethod): Adjust accordingly and simplify.
19437 (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
19438 new eieio--defmethod.
19439 (slot-boundp): Minor CSE simplification.
19440
9c1d5ac5
MZ
194412011-05-05 Milan Zamazal <pdm@zamazal.org>
19442
19443 * progmodes/glasses.el (glasses-separate-capital-groups): New option.
19444 (glasses-make-readable): Use glasses-separate-capital-groups.
19445
455c834e
JB
194462011-05-05 Juanma Barranquero <lekktu@gmail.com>
19447
19448 * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
19449 (warning-series): Doc fix.
19450 (display-warning): Don't try to create the buffer if we just found it.
19451
9ed7c8cb
CY
194522011-05-04 Chong Yidong <cyd@stupidchicken.com>
19453
19454 * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
19455 (autoload-find-generated-file): New function.
19456 (generate-file-autoloads): Bind generated-autoload-file to
19457 buffer-file-name.
9869b3ae
SM
19458 (update-file-autoloads, update-directory-autoloads):
19459 Use autoload-find-generated-file. If called interactively, prompt for
9ed7c8cb
CY
19460 output file (Bug#7989).
19461 (batch-update-autoloads): Doc fix.
19462
0898ca10
JB
194632011-05-04 Juanma Barranquero <lekktu@gmail.com>
19464
19465 * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
19466
31dfb76c
GM
194672011-05-04 Glenn Morris <rgm@gnu.org>
19468
f330b642
GM
19469 * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
19470 function, so it follows changes in calendar-date-style.
19471 (diary-fancy-date-matcher): New function.
19472 (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
19473 (diary-fancy-font-lock-fontify-region-function):
19474 Use diary-fancy-date-pattern as a function.
19475
31dfb76c
GM
19476 * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
19477 non-numbers for `year' etc pseudo-variables. (Bug#8583)
19478
48e79d6a
TZ
194792011-05-04 Teodor Zlatanov <tzz@lifelogs.com>
19480
19481 * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
19482 instead of positional arguments. Allow :keylist and :crlfiles
19483 arguments.
19484 (open-gnutls-stream): Call it.
19485
19486 * net/network-stream.el (network-stream-open-starttls): Adjust to
19487 call `gnutls-negotiate' with :process and :hostname arguments.
19488
dd5a5ee0
SM
194892011-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
19490
ef80fc09
SM
19491 * minibuffer.el (completion--message): New function.
19492 (completion--do-completion, minibuffer-complete)
19493 (minibuffer-force-complete, minibuffer-complete-word): Use it.
19494 (completion--do-completion): Don't ignore completion-auto-help when in
19495 icomplete-mode.
19496
dd5a5ee0
SM
19497 * whitespace.el (whitespace-trailing-regexp): Don't rely on the
19498 internal encoding (e.g. tibetan zero is not whitespace).
19499 (global-whitespace-mode): Prefer save-current-buffer.
19500 (whitespace-trailing-regexp): Remove useless save-match-data.
19501 (whitespace-empty-at-bob-regexp): Minor simplification.
19502
b7d22a83
CY
195032011-05-03 Chong Yidong <cyd@stupidchicken.com>
19504
19505 * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
19506
5192af46
AM
195072011-05-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
19508
19509 * textmodes/ispell.el (ispell-add-per-file-word-list):
cdc4a047 19510 Use `concat' to create string for insertion.
5192af46 19511
5767d190
SM
195122011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
19513
19514 * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
19515 Avoid open-line which runs post-self-insert-hook.
19516 (bibtex-fill-entry): Remove unused `end' var.
19517
bf242939
AM
195182011-05-03 Dirk Ullrich <dirk.ullrich@googlemail.com> (tiny change)
19519
5767d190
SM
19520 * textmodes/ispell.el (ispell-add-per-file-word-list):
19521 Protect against `nil' value of `comment-start' (Bug#8579).
bf242939 19522
25666126
LL
195232011-05-03 Leo Liu <sdl.web@gmail.com>
19524
19525 * isearch.el (isearch-yank-pop): New command.
5767d190 19526 (isearch-mode-map): Bind it to `M-y'.
25666126
LL
19527 (isearch-forward): Mention it.
19528
52d3c2d0
SM
195292011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
19530
1bcace58
SM
19531 * simple.el (minibuffer-complete-shell-command): Remove.
19532 (minibuffer-local-shell-command-map): Use completion-at-point.
19533 (read-shell-command): Setup completion vars here instead.
19534 (read-expression-map): Bind TAB to symbol completion.
19535
52d3c2d0
SM
19536 * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
19537 error directly rather via storing it into `results'.
19538
35813471
LL
195392011-05-02 Leo Liu <sdl.web@gmail.com>
19540
19541 * vc/diff.el: Fix description.
19542
e793a940
LMI
195432011-05-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
19544
19545 * server.el (server-eval-at): New function.
19546
8de66e05
LMI
195472011-05-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
19548
19549 * net/network-stream.el (open-network-stream): Take a :nowait
19550 parameter and pass it on to `make-network-process'.
19551 (network-stream-open-plain): Ditto.
19552
dcb79f20
AS
195532011-04-30 Andreas Schwab <schwab@linux-m68k.org>
19554
19555 * faces.el (face-spec-set-match-display): Don't match toolkit
19556 options on terminal frames.
19557
14a7fbd8
SM
195582011-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
19559
7eabc1be
SM
19560 * progmodes/pascal.el: Use lexical binding.
19561 (pascal-mode-map): Remove author preferences.
19562
14a7fbd8
SM
19563 * pcomplete.el (pcomplete-std-complete): Don't abuse
19564 completion-at-point.
19565
50f84510
JB
195662011-04-28 Juanma Barranquero <lekktu@gmail.com>
19567
6e087a44
JB
19568 * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
19569 removing code that has been dead since 1991 or so.
19570
50f84510
JB
19571 * startup.el (command-line): When warning about "_emacs", use a
19572 delayed warning to allow the user to filter it out.
19573
0ba690bd
DD
195742011-04-28 Deniz Dogan <deniz@dogan.se>
19575
19576 * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
19577 user has not joined.
19578
08abfaad
SM
195792011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
19580
19581 * pcomplete.el (pcomplete-completions-at-point): Return nil if there
19582 aren't any completions at point.
19583
638f053a
JB
195842011-04-28 Juanma Barranquero <lekktu@gmail.com>
19585
19586 * subr.el (display-delayed-warnings): New function.
19587 (delayed-warnings-hook): New variable.
19588
8fff8daa
SM
195892011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
19590
08abfaad
SM
19591 * minibuffer.el (completion-at-point, completion-help-at-point):
19592 Don't presume that a given completion-at-point-function will always
19593 use the same calling convention.
19594
8fff8daa
SM
19595 * pcomplete.el (pcomplete-completions-at-point):
19596 Obey pcomplete-ignore-case. Don't call pcomplete-norm-func unless
19597 pcomplete-seen is non-nil.
19598 (pcomplete-comint-setup): Also recognize the new comint/shell
19599 completion functions.
19600 (pcomplete-do-complete): Don't call pcomplete-norm-func unless
19601 pcomplete-seen is non-nil.
19602
841a1577 196032011-04-27 Niels Giesen <niels.giesen@gmail.com>
211ec907 19604
841a1577 19605 * calendar/icalendar.el (diary-lib): Add require statement.
211ec907 19606 (icalendar--create-uid): Read out a uid from a text-property on
841a1577 19607 the first character in the entry. This allows for code to add its
211ec907
UJ
19608 own uid to the entry.
19609 (icalendar--convert-float-to-ical): Add export of
19610 `diary-float'-entries save for those with the optional DAY
19611 argument.
19612
2a782793
DC
196132011-04-27 Daniel Colascione <dan.colascione@gmail.com>
19614
19615 * subr.el (shell-quote-argument): Use alternate escaping strategy
19616 when we spot a variable reference in a string.
19617
0438ce91
DC
196182011-04-26 Daniel Colascione <dan.colascione@gmail.com>
19619
19620 * cus-start.el (all): Define customization for debug-on-event.
19621
841a1577 196222011-04-26 Daniel Colascione <dan.colascione@gmail.com>
8f91bf93
DC
19623
19624 * subr.el (shell-quote-argument): Escape correctly under Windows.
19625
d090ed6c
SM
196262011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
19627
19628 * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
19629
bfd31217
MA
196302011-04-25 Michael Albinus <michael.albinus@gmx.de>
19631
d090ed6c
SM
19632 * net/tramp.el (tramp-process-actions): Add POS argument.
19633 Delete region between POS and (pos).
bfd31217 19634
d090ed6c
SM
19635 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
19636 Use `nil' position in `tramp-process-actions' call.
bfd31217
MA
19637 (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
19638
19639 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
19640 position in `tramp-process-actions' call.
19641
19642 * net/trampver.el: Update release number.
19643
e92f3bd3
SM
196442011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
19645
850256b5
SM
19646 * custom.el (defcustom): Obey lexical-binding.
19647
e92f3bd3
SM
19648 Fix octave-inf completion problems reported by Alexander Klimov.
19649 * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
19650 Inherit from octave-mode-syntax-table.
19651 (inferior-octave-mode): Set info-lookup-mode.
19652 (inferior-octave-completion-at-point): New function.
19653 (inferior-octave-complete): Use it and completion-in-region.
19654 (inferior-octave-dynamic-complete-functions): Use it as well, and use
19655 comint-filename-completion.
19656 * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
19657 symbol elements which shouldn't be word elements.
19658 (octave-font-lock-keywords, octave-beginning-of-defun)
19659 (octave-function-header-regexp): Adjust regexps accordingly.
19660 (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
19661
cd22b309
JB
196622011-04-25 Juanma Barranquero <lekktu@gmail.com>
19663
19664 * net/gnutls.el (gnutls-errorp): Declare before first use.
19665
8b492194
TZ
196662011-04-24 Teodor Zlatanov <tzz@lifelogs.com>
19667
19668 * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
19669 verify-error, and verify-hostname-error parameters. Check whether
cd22b309 19670 default trustfile exists before going to use it. Add missing
5a5fa834 19671 argument to gnutls-message-maybe call. Return value.
8b492194
TZ
19672 Reported by Claudio Bley <claudio.bley@gmail.com>.
19673 (open-gnutls-stream): Add usage example.
19674
19675 * net/network-stream.el (network-stream-open-starttls): Give host
19676 parameter to `gnutls-negotiate'.
19677 (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
8f91bf93 19678 * subr.el (shell-quote-argument): Escape correctly under Windows.
8b492194 19679
841a1577 196802011-04-24 Daniel Colascione <dan.colascione@gmail.com>
05842630 19681
cd22b309
JB
19682 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
19683 Use correct match group (bug#8438).
05842630 19684
3ba7869c
CY
196852011-04-24 Chong Yidong <cyd@stupidchicken.com>
19686
512e3ae1
CY
19687 * emacs-lisp/package.el (package-built-in-p): Fix typo.
19688 (package-menu--generate): New arg specifying packages to show.
19689 (package-menu-refresh, package-menu-execute, list-packages):
19690 Callers changed.
19691 (package-show-package-list): New function, replacing deleted
19692 package--list-packages (renamed because it is non-internal).
19693
19694 * finder.el (finder-list-matches): Use package-show-package-list
19695 instead of deleted package--list-packages.
19696
e92f3bd3
SM
19697 * vc/vc-annotate.el (vc-annotate-goto-line): New command.
19698 Based on a previous implementation by Juanma Barranquero (Bug#8366).
3ba7869c
CY
19699 (vc-annotate-mode-map): Bind it to RET.
19700
7031be6d
UR
197012011-04-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
19702
19703 * progmodes/etags.el (next-file): Don't use set-buffer to change
19704 buffers (Bug#8478).
19705
4ef177aa
CY
197062011-04-24 Chong Yidong <cyd@stupidchicken.com>
19707
c8d173eb
CY
19708 * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
19709
4ef177aa
CY
19710 * apropos.el (apropos-label-face): Avoid variable-pitch face.
19711 (apropos-accumulator): Doc fix.
19712 (apropos-function, apropos-macro, apropos-command)
19713 (apropos-variable, apropos-face, apropos-group, apropos-widget)
19714 (apropos-plist): Add face property.
19715 (apropos-symbols-internal): Fix indentation.
19716 (apropos-print): Simplify help, and recognize apropos-multi-type.
19717 (apropos-print-doc): Use button-type-get to extract the button's
19718 face property. Fill docstring (Bug#8352).
19719
4ffd0d6b 197202011-04-23 Juanma Barranquero <lekktu@gmail.com>
be71f810
JB
19721
19722 * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
19723
c6c32125 19724 * play/mpuz.el (mpuz-silent): Doc fix.
4ffd0d6b 19725 (mpuz-mode-map): Use mapc.
c6c32125
JB
19726 (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
19727 (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
19728 Fix typos in docstrings.
19729
58d468b4
JB
19730 * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
19731 (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
19732
6470c3c6
JB
19733 * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
19734
4ffd0d6b 197352011-04-23 Chong Yidong <cyd@stupidchicken.com>
6f21a319
CY
19736
19737 * minibuffer.el (completion--do-completion): Avoid the "Next char
19738 not unique" prompt if icomplete-mode is enabled (Bug#5849).
19739
3ad8bad0
CY
19740 * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
19741 mouse-2 into unread-command-events, it is interpreted correctly.
19742
71d73c9c 19743 * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
6395aab9 19744 (image-toggle-display): Doc fix.
71d73c9c 19745
841a1577 197462011-04-23 Stephen Berman <stephen.berman@gmx.net>
e935c6a2 19747
4ffd0d6b
GM
19748 * textmodes/page.el (what-page): Use line-number-at-pos to
19749 calculate line number (Bug#6825).
6e1dbaa9 19750
c2fb1b60
JB
197512011-04-22 Juanma Barranquero <lekktu@gmail.com>
19752
19753 * eshell/esh-mode.el (find-tag-interactive): Declare function.
19754 (eshell-find-tag): Remove `with-no-warnings', unneeded now.
19755 Pass argument NO-DEFAULT to `find-tag-interactive'.
19756
e02f48d7
JB
197572011-04-22 Juanma Barranquero <lekktu@gmail.com>
19758
19759 Lexical-binding cleanup.
19760
19761 * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
19762 (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
19763 * progmodes/ada-prj.el (ada-prj-initialize-values)
19764 (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
19765 (ada-prj-show-value):
19766 * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
19767 * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
19768 (antlr-invalidate-context-cache, antlr-options-menu-filter)
19769 (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
19770 * progmodes/bug-reference.el (bug-reference-push-button):
19771 * progmodes/fortran.el (fortran-line-length):
19772 * progmodes/glasses.el (glasses-change):
19773 * progmodes/octave-mod.el (octave-fill-paragraph):
19774 * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
19775 (python-pdbtrack-grub-for-buffer, python-sentinel):
19776 * progmodes/sql.el (sql-save-connection):
19777 * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
19778 * progmodes/xscheme.el (xscheme-enter-debugger-mode):
19779 Mark unused parameters.
19780
19781 * progmodes/compile.el (compilation--flush-directory-cache)
19782 (compilation--flush-parse, compile-internal): Mark unused parameters.
19783 (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
19784 (compilation-next-error-function): Remove unused variable `timestamp'.
19785
19786 * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
19787 (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
19788
19789 * progmodes/dcl-mode.el (dcl-end-of-command):
19790 Remove unused variable `start'.
19791 (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
19792 (dcl-option-value-basic, dcl-option-value-offset)
19793 (dcl-option-value-margin-offset, dcl-option-value-comment-line):
19794 Mark unused parameters.
19795 (dcl-save-local-variable): Remove unused variable `val'.
19796 (mode): Declare.
19797
19798 * progmodes/delphi.el (delphi-save-state, delphi-after-change):
19799 Mark unused parameters.
19800 (delphi-ignore-changes): Move before first use.
19801 (delphi-charset-token-at): Remove unused variable `start'.
19802 (delphi-else-start): Remove unused variable `if-count'.
19803 (delphi-comment-block-start, delphi-comment-block-end):
19804 Remove unused variable `kind'.
19805 (delphi-indent-line): Remove unused variable `new-point'.
19806
19807 * progmodes/ebrowse.el (ebrowse-files-list)
19808 (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
19809 Mark unused parameters. Don't quote `lambda'.
19810 (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
19811 Don't quote `lambda'.
19812 (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
19813 (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
19814 (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
19815 (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
19816 Use `ignore-errors'.
19817 (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
19818 (ebrowse-view/find-file-and-search-pattern)
19819 (ebrowse-view/find-member-declaration/definition):
19820 Rename parameter TAGS-FILE-NAME to TAGS-FILE.
19821 (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
19822 Rename parameter PREFIX-ARG to PREFIX.
19823 (ebrowse-tags-read-name): Remove unused variables `start' and
19824 `member-info'.
19825 (ebrowse-display-member-buffer): Rename variable `tags-file-name'
19826 to `tags-file'.
19827
19828 * progmodes/etags.el (local-find-tag-hook): Declare.
19829 (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
19830 Mark unused parameters.
19831
19832 * progmodes/executable.el (compilation-error-regexp-alist): Declare.
19833 (executable-interpret): Mark unused parameter.
19834
19835 * progmodes/flymake.el (flymake-process-sentinel)
19836 (flymake-after-change-function)
19837 (flymake-create-temp-with-folder-structure)
19838 (flymake-get-include-dirs-dot): Mark unused parameters.
19839 (flymake-safe-delete-directory): Remove unused variable `err'.
19840
19841 * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
19842 (speedbar-timer-fn, speedbar-line-text)
19843 (speedbar-change-expand-button-char, speedbar-delete-subblock)
19844 (speedbar-center-buffer-smartly): Declare functions.
19845 (gdb-find-watch-expression): Remove unused variable `array'.
19846 (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
19847 (gdb-starting): Mark unused parameters.
19848 (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
19849 (gdb-table-string): Remove unused variable `res'.
19850 (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
19851 (gdb-disassembly-handler-custom): Remove unused variable `pos'.
19852 (gdb-display-buffer): Remove unused variable `cur-size'.
19853
19854 * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
19855 allow lexical-binding compilation.
19856 (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
19857 (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
19858 (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
19859 Mark unused parameters.
19860 (gud-gdb-marker-filter): Remove unused variable `match'.
19861 (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
19862 lambda expressions and funcall them, instead of using `fset'.
19863
19864 * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
19865 HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
19866
19867 * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
19868 variable `header-beg'; use `let'.
19869
19870 * progmodes/icon.el (indent-icon-exp): Remove unused variables
19871 `restart', `last-sexp' and `at-do'.
19872
19873 * progmodes/js.el (js--debug): Mark unused parameter.
19874 (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
19875 (js--splice-into-items): Remove unused variable `item'.
19876 (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
19877
19878 * progmodes/make-mode.el (makefile-make-font-lock-keywords):
19879 Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
19880 (makefile-complete): Remove unused variable `try'.
19881 (makefile-fill-paragraph, makefile-match-function-end):
19882 Mark unused parameters.
19883
19884 * progmodes/octave-inf.el (inferior-octave-complete):
19885 Remove unused variable `proc'.
19886 (inferior-octave-output-digest): Mark unused parameter.
19887
19888 * progmodes/perl-mode.el (perl-calculate-indent):
19889 Remove unused variable `err'.
19890
19891 * progmodes/prolog.el (prolog-mode-keybindings-inferior)
19892 (prolog-indent-line): Mark unused parameters.
19893 (prolog-indent-line): Remove unused variable `beg'.
19894
19895 * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
19896 (reporter-dont-compact-list): Declare.
19897
19898 * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
19899 Remove unused variable `char'.
19900 (sh-debug): Mark unused parameter.
19901 (sh-get-indent-info): Remove unused variable `start'.
19902 (sh-calculate-indent): Remove unused variable `var'.
19903
19904 * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
19905 (simula-electric-keyword): Remove unused variable `null'.
19906 (simula-search-backward, simula-search-forward): Remove unused
19907 variables `begin' and `end'.
19908
19909 * progmodes/vera-mode.el (vera-guess-basic-syntax):
19910 Remove unused variable `pos'.
19911 (vera-electric-tab, vera-comment-uncomment-region):
19912 Mark unused parameters.
19913 (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
19914
7ede3b65
CY
199152011-04-22 Chong Yidong <cyd@stupidchicken.com>
19916
19917 * emacs-lisp/package.el (package--builtins, package-alist)
19918 (package-load-descriptor, package-built-in-p, package-activate)
19919 (define-package, package-installed-p)
19920 (package-compute-transaction, package-buffer-info)
19921 (package--push): Doc fix. Distinguish more clearly between
19922 version strings and version lists.
19923
121656e9
JB
199242011-04-21 Juanma Barranquero <lekktu@gmail.com>
19925
19926 Lexical-binding cleanup.
19927
19928 * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
19929 (5x5-make-mutate-best):
19930 * play/fortune.el (fortune-in-buffer):
19931 * play/gomoku.el (gomoku-init-display):
19932 * play/solitaire.el (solitaire, solitaire-do-check):
19933 * play/tetris.el (tetris-default-update-speed-function):
19934 Mark unused parameters.
19935
19936 * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
19937 (bubbles--shift): Remove unused variable `char-org'.
19938 (bubbles--set-faces): Remove unused variable `fg-col'. Simplify.
19939 (bubbles--show-images): Remove unused variable `char'.
19940
19941 * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
19942 (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
19943 (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
19944 (decipher-analyze-buffer): Use ?\s.
19945 (decipher-make-checkpoint): Remove unused variable `mapping'.
19946
19947 * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
19948
19949 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
19950 Remove unused variable `result'; use `let'.
19951
19952 * play/gametree.el (gametree-current-layout, gametree-apply-layout):
19953 Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
19954 (gametree-children-shown-p, gametree-compute-reduced-score):
19955 Use `ignore-errors'.
19956
19957 * play/handwrite.el (ps-lpr-switches): Declare.
19958 (handwrite): Remove unused variables `pmin' and `lastp'.
19959
19960 * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
19961
19962 * play/landmark.el (landmark-init-display)
19963 (landmark-update-naught-weights): Mark unused parameters.
19964 (landmark-y): Remove unused variable `noise'. Simplify.
19965 (landmark-human-plays): Remove unused variable `score'.
19966
19967 * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
19968 (mpuz-try-proposal): Remove unused variable `game'.
19969
19970 * play/zone.el (life-patterns): Declare.
19971
80f499c7
JB
199722011-04-20 Juanma Barranquero <lekktu@gmail.com>
19973
19974 * vc/vc.el (ediff-vc-internal): Declare function.
19975
024ff170
SM
199762011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
19977
c0a193ea
SM
19978 * shell.el: Use lexical-binding and std completion UI.
19979 (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
19980 (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
19981 comint-preoutput-filter-functions rather than on
19982 comint-output-filter-functions.
19983 (shell-command-completion, shell--command-completion-data)
19984 (shell-filename-completion, shell-environment-variable-completion)
19985 (shell-c-a-p-replace-by-expanded-directory): New functions.
19986 (shell-dynamic-complete-functions, shell-dynamic-complete-command)
19987 (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
19988 (shell-dynamic-complete-environment-variable): Use them.
19989 (shell-dynamic-complete-as-environment-variable)
19990 (shell-dynamic-complete-as-command): Remove.
19991 (shell-match-partial-variable): Match past point.
19992 * comint.el: Clean up use of completion-at-point-functions.
19993 (comint-completion-at-point): New function.
19994 (comint-mode): Use it completion-at-point-functions.
19995 (comint-dynamic-complete): Make it obsolete.
19996 (comint-replace-by-expanded-history-before-point): Add dry-run arg.
19997 (comint-c-a-p-replace-by-expanded-history): New function.
19998 (comint-dynamic-complete-functions)
19999 (comint-replace-by-expanded-history): Use it.
20000 * minibuffer.el (completion-table-with-terminator): Allow dynamic
20001 termination strings. Try harder to avoid second try-completion.
20002 (completion-in-region-mode-map): Disable bindings that don't work yet.
20003
2dbaa080
SM
20004 * comint.el: Use lexical-binding. Require CL.
20005 (comint-dynamic-complete-functions): Use comint-filename-completion.
20006 (comint-completion-addsuffix): Tweak custom type.
20007 (comint-filename-completion, comint--common-suffix)
20008 (comint--common-quoted-suffix, comint--table-subvert)
20009 (comint--complete-file-name-data): New functions.
20010 (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
20011 (comint-dynamic-list-filename-completions): Use them.
20012 (comint-dynamic-simple-complete): Make obsolete.
c0a193ea 20013
2dbaa080
SM
20014 * minibuffer.el (completion-in-region-mode):
20015 Keep completion-in-region-mode--predicate global.
20016 (completion-in-region--postch):
20017 Assume completion-in-region-mode--predicate is not null.
20018
c79a6f38
SM
20019 * progmodes/flymake.el (flymake-start-syntax-check-process):
20020 Obey `dir'. Simplify.
20021
024ff170
SM
20022 * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
20023 we're in VC after all.
20024
1c6c854e
CS
200252011-04-20 Christoph Scholtes <cschol2112@googlemail.com>
20026
20027 * vc/vc.el (vc-diff-build-argument-list-internal)
024ff170 20028 (vc-version-ediff, vc-ediff): New commands.
1c6c854e
CS
20029 (vc-version-diff): Use vc-diff-build-argument-list-internal.
20030
bed7f140
SM
200312011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
20032
332e62ab
SM
20033 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
20034 add sanity check.
20035
bed7f140
SM
20036 * obsolete/erc-hecomplete.el: Make obsolete.
20037 * obsolete/: Standardize obsolescence info in the header.
20038
f195c582
GM
200392011-04-20 Glenn Morris <rgm@gnu.org>
20040
20041 * calendar/solar.el (solar-horizontal-coordinates):
20042 Use the longitude argument rather than `calendar-longitude'.
20043 (solar-date-next-longitude): Remove unused locals.
20044
cb79b8c0
VJL
200452011-04-20 Vinicius Jose Latorre <viniciusjl@ig.com.br>
20046
20047 * whitespace.el: New version 13.2.1.
20048
200492011-04-20 felix <EmacsWiki> (tiny change)
20050
d8e4b68b 20051 * whitespace.el (global-whitespace-mode): Keep highlight when
cb79b8c0
VJL
20052 switching between major modes on a file.
20053
602ea69d
SM
200542011-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
20055
20056 * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
20057 (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
20058 multi-line comments as well.
20059
06b60517
JB
200602011-04-19 Juanma Barranquero <lekktu@gmail.com>
20061
20062 Lexical-binding cleanup.
20063
20064 * arc-mode.el (archive-mode-revert):
20065 * cmuscheme.el (scheme-interactively-start-process):
20066 * custom.el (custom-initialize-delay):
20067 * dnd.el (dnd-open-local-file, dnd-open-remote-url):
20068 * dos-w32.el (direct-print-region-helper, direct-print-region-function):
20069 * emacs-lock.el (emacs-lock-clear-sentinel):
20070 * ezimage.el (defezimage):
20071 * follow.el (follow-avoid-tail-recenter):
20072 * fringe.el (set-fringe-mode-1):
20073 * generic-x.el (bat-generic-mode-compile):
20074 * help-mode.el (help-info-variable, help-do-xref)
20075 (help-mode-revert-buffer):
20076 * help.el (view-emacs-todo):
20077 * iswitchb.el (iswitchb-completion-help):
20078 * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
20079 * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
20080 (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
20081 * locate.el (locate-update):
20082 * longlines.el (longlines-encode-region)
20083 (longlines-after-change-function):
20084 * outline.el (outline-isearch-open-invisible):
20085 * ps-def.el (declare-function, charset-dimension, char-width)
20086 (encode-char):
20087 * ps-mule.el (ps-mule-plot-string):
20088 * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
20089 (recentf-edit-list-select, recentf-edit-list-validate)
20090 (recentf-open-files-action):
20091 * rect.el (delete-whitespace-rectangle-line)
20092 (rectangle-number-line-callback):
20093 * register.el (window-configuration-to-register)
20094 (frame-configuration-to-register):
20095 * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
20096 * select.el (xselect-convert-to-string, xselect-convert-to-length)
20097 (xselect-convert-to-targets, xselect-convert-to-delete)
20098 (xselect-convert-to-filename, xselect-convert-to-charpos)
20099 (xselect-convert-to-lineno, xselect-convert-to-colno)
20100 (xselect-convert-to-os, xselect-convert-to-host)
20101 (xselect-convert-to-user, xselect-convert-to-class)
20102 (xselect-convert-to-name, xselect-convert-to-integer)
20103 (xselect-convert-to-atom, xselect-convert-to-identity):
20104 * subr.el (declare, ignore, process-kill-without-query)
20105 (text-clone-maintain):
20106 * terminal.el (te-get-char, te-tic-sentinel):
20107 * tool-bar.el (tool-bar-make-keymap):
20108 * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
20109 * type-break.el (type-break-mode, type-break-noninteractive-query):
20110 * view.el (View-back-to-mark):
20111 * wid-browse.el (widget-browse-action, widget-browse-widget)
20112 (widget-browse-widgets, widget-browse-sexp):
20113 * widget.el (define-widget-keywords):
20114 * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
20115 Mark unused parameters.
20116
20117 * align.el (align-adjust-col-for-rule): Mark unused parameter.
20118 (align-areas): Remove unused variable `look'.
20119 (align-region): Remove unused variables `real-end' and `pos-list'.
20120
20121 * apropos.el (apropos-score-doc): Remove unused variable `i'.
20122
20123 * bindings.el (mode-line-modified, mode-line-remote):
20124 Mark unused parameters.
20125 (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
20126
20127 * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
20128 (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
20129
20130 * comint.el (comint-history-isearch-pop-state)
20131 (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
20132 (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
20133 (comint-substitute-in-file-name): Doc fix.
20134
20135 * completion.el (cmpl-statistics-block): Mark unused parameter.
20136 (add-completions-from-tags-table, add-completions-from-lisp-buffer)
20137 (save-completions-to-file, load-completions-from-file):
20138 Remove unused local variable `e'.
20139
20140 * composite.el (compose-chars): Remove unused variable `len'.
20141 (lgstring-insert-glyph): Remove unused variable `g'.
20142 (compose-glyph-string): Remove unused variables `ascent',
20143 `descent', `lbearing' and `rbearing'.
20144 (compose-glyph-string-relative): Remove unused variables
20145 `lbearing', `rbearing' and `wadjust'.
20146 (compose-gstring-for-graphic): Remove unused variables `header',
20147 `wadjust', `xoff' and `yoff'. Use `let', not `let*'.
20148 (compose-gstring-for-terminal): Remove unused variables `header'
20149 and `nchars'. Use `let', not `let*'.
20150
20151 * cus-edit.el (Custom-set, Custom-save, custom-reset)
20152 (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
20153 (Custom-buffer-done, custom-buffer-create-internal)
20154 (custom-browse-visibility-action, custom-browse-group-tag-action)
20155 (custom-browse-variable-tag-action, custom-browse-face-tag-action)
20156 (widget-magic-mouse-down-action, custom-toggle-parent)
20157 (custom-add-parent-links, custom-toggle-hide-variable)
20158 (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
20159 (custom-toggle-hide-face, face, hook, custom-group-link-action)
20160 (custom-face-menu-create, custom-variable-menu-create, get)
20161 (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
20162 (custom-reset-standard-save-and-update): Remove unused variable `value'.
20163 (customize-apropos): Remove unused variable `tests'.
20164 (custom-group-value-create): Remove unused variable `hidden-p'.
20165 (sort-fold-case): Declare.
20166
20167 * cus-theme.el (custom-reset-standard-faces-list)
20168 (custom-reset-standard-variables-list): Declare.
20169 (customize-create-theme, custom-theme-revert, custom-theme-write)
20170 (custom-theme-choose-mode, customize-themes, custom-theme-save):
20171 Mark unused parameters.
20172
20173 * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
20174
20175 * delim-col.el (delimit-columns-max): Move defvar before first use.
20176
20177 * descr-text.el (describe-char-categories): Don't quote `lambda'.
bd0d2ee2 20178 (describe-char): Don't quote `lambda'. Mark unused parameter.
06b60517
JB
20179
20180 * desktop.el (desktop-save-buffer-p): Mark unused parameter.
20181 (auto-insert): Declare.
20182 (desktop-restore-file-buffer): Rename desktop-* parameters;
20183 mark unused ones.
20184 (desktop-create-buffer): Rename desktop-* parameters and bind them.
20185 (desktop-buffer): Rename desktop-* parameters.
20186
20187 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
20188 (dframe-reposition-frame-xemacs, dframe-help-echo)
20189 (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
20190 Mark unused parameters.
20191
20192 * dired-aux.el (backup-extract-version-start, overwrite-query)
20193 (overwrite-backup-query, rename-regexp-query)
20194 (rename-non-directory-query): Declare.
20195 (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
20196 (dired-add-entry): Remove unused variable `orig-file-name'.
20197 (dired-copy-file-recursive): Remove unused variable `dirfailed'.
20198 Use parameter PRESERVE-TIME instead of accessing dynamic variable
20199 `dired-copy-preserve-time' directly.
20200 (dired-do-create-files-regexp): Remove unused variable `fn-count'.
20201 (dired-insert-subdir-newpos): Rename unused variable `pos'.
20202
20203 * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
20204 (dired-virtual-revert, dired-make-relative-symlink):
20205 Mark unused parameters.
20206 (manual-program): Declare.
20207 (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
20208 (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
20209 wrapped in `with-no-warnings' to avoid replacing one warning by another.
20210
20211 * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
20212
20213 * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
20214
20215 * echistory.el (electric-history-in-progress, Helper-return-blurb):
20216 Declare.
20217
20218 * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
20219
20220 * electric.el (Electric-command-loop): Rename parameter
20221 INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
20222
20223 * expand.el (expand-in-literal): Remove unused variable `here'.
20224
20225 * facemenu.el (facemenu-add-new-color):
20226 Remove unused variable `docstring'.
20227
20228 * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
20229 (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
20230 (face-attr-construct): Mark unused parameter. Doc fix.
20231 (read-color): Remove unused variable `hex-string'.
20232
20233 * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
20234 (locate-dominating-file): Remove unused vars `prev-file' and `user'.
20235 (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
20236 (display-buffer-other-frame): Remove unused variable `old-window'.
20237 (kill-buffer-hook): Declare.
20238 (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
20239 Mark unused parameters.
20240 (after-find-file): Pass 1 to `auto-save-mode', not t.
20241
20242 * files-x.el (auto-insert): Declare.
20243 (modify-file-local-variable-prop-line): Remove unused variable `val'.
20244
20245 * find-lisp.el (find-lisp-find-dired-internal): Remove unused
bd0d2ee2 20246 variable `buf'. Mark unused parameter.
06b60517
JB
20247 (find-lisp-insert-directory): Mark unused parameter.
20248
20249 * format.el (format-decode-run-method): Mark unused parameter; doc fix.
20250 (format-encode-region): Remove unused variables `cur-buf' and `result'.
20251 (format-common-tail): Remove, unused.
20252 (format-deannotate-region): Remove unused variable `loc'.
20253 (format-annotate-region): Remove unused variable `p'.
20254 (format-annotate-single-property-change): Remove unused variables
20255 `default' and `tail'.
20256
20257 * forms.el (read-file-filter): Declare.
20258 (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
20259
20260 * frame.el (frame-creation-function-alist): Mark unused parameter.
20261 (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
20262
20263 * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
20264 Remove unused parameters.
20265 (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
20266 (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
20267
20268 * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
20269 (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
20270 (hfy-prepare-tag-map): Mark unused parameters.
20271 (htmlfontify-buffer): Use `called-interactively-p'.
20272
20273 * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
20274 (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
20275 (ibuffer-do-occur): Mark unused parameters.
20276 (ibuffer-forward-next-marked): Remove unused variable `curmark'.
20277 (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
20278
20279 * ibuffer.el: Don't quote `lambda'.
20280 (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
20281 (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
20282 Mark unused parameters.
20283
20284 * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
20285 (ido-completing-read): Mark unused parameters.
20286 (ido-copy-current-word): Mark unused parameters;
20287 remove unused variable `name'.
20288 (ido-sort-merged-list): Remove unused parameter `dirs'.
20289
20290 * ielm.el (ielm-input-sender): Mark unused parameter.
20291 (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
20292 (ielm-output, ielm-wbuf, ielm-pmark): Declare.
20293 (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
20294 `ielm-string' as a dynamic variable accessible from the IELM prompt.
20295 Bind `ielm-string' to INPUT-STRING. Remove unused variable `err'.
20296
20297 * image-dired.el (image-dired-display-thumbs): Remove unused
20298 variables `curr-file' and `count'.
20299 (image-dired-remove-tag): Remove unused variable `start'.
20300 (image-dired-tag-files, image-dired-create-thumbs): Remove unused
20301 variable `curr-file'
20302 (image-dired-rotate-original): Remove unused variable `temp-file'.
20303 (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
20304 Remove unused variable `file'.
20305 (image-dired-gallery-generate): Remove unused variable `curr'.
20306 (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
20307
20308 * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
20309
20310 * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
20311
20312 * informat.el (texinfo-command-start, texinfo-command-end): Declare.
20313
20314 * isearch.el (minibuffer-history-symbol): Declare.
20315 (isearch-edit-string): Remove unused variable `err'.
20316 (isearch-message-prefix, isearch-message-suffix):
20317 Mark unused parameters.
20318
20319 * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
20320
20321 * macros.el (insert-kbd-macro): Remove unused variable `mods'.
20322
20323 * makesum.el (double-column): Remove unused variable `cnt'.
20324
20325 * misearch.el (multi-isearch-pop-state): Mark unused parameter.
20326 (ido-ignore-item-temp-list): Declare.
20327
20328 * mouse-drag.el (mouse-drag-throw): Remove unused variables
20329 `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
20330 `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
20331 (mouse-drag-drag): Remove unused variables `mouse-delta' and
20332 `mouse-col-delta'.
20333
20334 * mouse-sel.el (mouse-extend-internal):
20335 Remove unused variable `orig-window-frame'.
20336
20337 * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
20338 (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
20339 Move declarations before first use.
20340 (pcomplete-opt): Mark unused parameters; doc fix.
20341
20342 * proced.el (proced-revert): Mark unused parameter.
20343 (proced-send-signal): Remove unused variable `err'.
20344
20345 * ps-print.el (ps-print-preprint-region, ps-print-preprint):
20346 Rename parameter PREFIX-ARG to ARG.
20347 (ps-basic-plot-string, ps-basic-plot-whitespace):
20348 Mark unused parameters.
20349
20350 * replace.el (replace-count): Define.
20351 (occur-revert-function): Mark unused parameters.
20352 (ido-ignore-item-temp-list, isearch-error, isearch-forward)
20353 (isearch-case-fold-search, isearch-string): Declare.
20354 (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
20355 bind `case-fold-search'. Remove unused variables `beg' and `end',
20356 and simplify.
20357 (replace-eval-replacement): Rename parameter REPLACE-COUNT to
20358 COUNT and bind `replace-count'.
20359 (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
20360 to COUNT.
20361
20362 * savehist.el (print-readably, print-string-length): Declare.
20363
20364 * shadowfile.el (shadow-expand-cluster-in-file-name):
20365 Remove unused variable `cluster'.
20366 (shadow-copy-file): Remove unused variable `i'.
20367 (shadow-noquery, shadow-clusters, shadow-site-cluster)
20368 (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
20369 (shadow-define-literal-group, shadow-define-regexp-group)
20370 (shadow-make-group, shadow-shadows-of): Clean up docstrings.
20371
20372 * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
20373 (shell): Use `called-interactively-p'.
20374 (shell-directory-tracker): Remove unused variable `chdir-failure'.
20375
20376 * simple.el (compilation-context-lines, comint-file-name-quote-list)
20377 (comint-file-name-chars, comint-delimiter-argument-list): Declare.
20378 (delete-backward-char): Remove unused variable `ocol'.
20379 (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
20380 (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
20381 (event-apply-hyper-modifier, event-apply-shift-modifier)
20382 (event-apply-control-modifier, event-apply-meta-modifier):
20383 Mark unused parameters.
20384 (undo-make-selective-list): Remove duplicate variable `undo-elt'.
20385 (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
20386
20387 * speedbar.el (speedbar-ignored-directory-expressions)
20388 (speedbar-supported-extension-expressions, speedbar-directory-buttons)
20389 (speedbar-find-file, speedbar-dir-follow)
20390 (speedbar-directory-buttons-follow, speedbar-tag-find)
20391 (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
20392 (speedbar-buffers-line-directory, speedbar-buffer-click):
20393 Mark unused parameters.
20394 (speedbar-tag-file): Remove unused variable `mode'.
20395 (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
20396
20397 * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
20398
20399 * talk.el (talk): Remove unused variable `display'.
20400
20401 * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
20402 (tar-write-region-annotate): Mark unused parameter.
20403
20404 * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
20405 (minutes, seconds, time-zone, day, year, monthname, month, dayname):
20406 Declare them, wrapped in `with-no-warnings' to avoid replacing one
20407 warning by another.
20408
20409 * time-stamp.el (time-stamp-string-preprocess):
20410 Remove unused variable `require-padding'.
20411
20412 * tree-widget.el (widget-glyph-enable): Declare.
20413 (tree-widget-action): Mark unused parameter.
20414
20415 * w32-fns.el (x-get-selection): Mark unused parameter.
20416 (autoload-make-program, generated-autoload-file): Declare.
20417
20418 * wdired.el (wdired-revert): Mark unused parameters.
20419 (wdired-xcase-word): Remove unused variable `err'.
20420
20421 * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
20422 (whitespace-help-scroll): Remove unused variable `data-help'.
20423
20424 * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
20425 (widget-image-insert, widget-after-change, default)
20426 (widget-default-format-handler, widget-default-notify)
20427 (widget-default-prompt-value, widget-info-link-action)
20428 (widget-url-link-action, widget-function-link-action)
20429 (widget-variable-link-action, widget-file-link-action)
20430 (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
20431 (widget-field-prompt-internal, widget-field-action, widget-field-match)
20432 (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
20433 (widget-insert-button-action, widget-delete-button-action, visibility)
20434 (widget-documentation-link-action, widget-documentation-string-action)
20435 (widget-const-prompt-value, widget-regexp-match, symbol)
20436 (widget-coding-system-prompt-value)
20437 (widget-key-sequence-value-to-external, sexp)
20438 (widget-sexp-value-to-internal, character, vector, cons)
20439 (widget-choice-prompt-value, widget-boolean-prompt-value)
20440 (widget-color--choose-action): Mark unused parameters.
20441 (widget-item-match-inline, widget-choice-match-inline)
20442 (widget-checklist-match, widget-checklist-match-inline)
20443 (widget-group-match): Rename parameter VALUES to VALS.
20444 (widget-field-value-set): Remove unused variable `size'.
20445 (widget-color-action): Remove unused variables `value' and `start'.
20446
20447 * windmove.el (windmove-wrap-loc-for-movement): Remove unused
bd0d2ee2 20448 variable `dir'. Doc fix.
06b60517
JB
20449 (windmove-find-other-window): Don't pass it.
20450
20451 * window.el (count-windows): Mark unused parameter.
20452 (bw-adjust-window): Remove unused variable `err'.
20453
20454 * woman.el (woman-file-name): Remove unused variable `default'.
20455 (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
20456 WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
20457 (global-font-lock-mode): Declare.
20458 (woman-decode-region): Mark unused parameter.
20459 (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
20460
20461 * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
20462 (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
20463 (x-dnd-handle-moz-url): Remove unused variable `title'.
20464 (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
20465
20466 * xml.el (xml-parse-tag, xml-parse-attlist):
20467 Remove unused variable `pos'.
20468
bc4f7f3d
GM
204692011-04-19 Glenn Morris <rgm@gnu.org>
20470
20471 * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
20472 (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
20473 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
20474 (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
20475 * calendar/cal-html.el (cal-html-insert-minical):
20476 * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
20477 (calendar-mark-date-pattern):
20478 Prefix "unused" locals.
20479
20480 * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
20481 optional argument `style'.
20482
20483 * calendar/appt.el (appt-make-list):
20484 * calendar/cal-china.el (calendar-chinese-date-string):
20485 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
20486 (diary-hebrew-yahrzeit):
20487 * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
20488 * calendar/calendar.el (calendar-generate-window):
20489 * calendar/time-date.el (time-to-days):
20490 Remove unused local variables.
20491
16a43933
CY
204922011-04-18 Chong Yidong <cyd@stupidchicken.com>
20493
20494 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
20495 glyphless-char-display table.
20496 (tabulated-list-glyphless-char-display): New var.
20497
7eed1860
SS
204982011-04-18 Sam Steingold <sds@gnu.org>
20499
20500 * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
20501 to acknowledgments.
20502
4d2d1ccd
GM
205032011-04-17 Glenn Morris <rgm@gnu.org>
20504
20505 * calendar/diary-lib.el (diary-sexp-entry):
20506 * calendar/holidays.el (holiday-sexp):
20507 Set debug-on-error rather than the removed stack-trace-on-error.
20508
239da61d
GM
205092011-04-16 Glenn Morris <rgm@gnu.org>
20510
20511 * progmodes/f90.el: Use lexical-binding.
20512 (f90-get-correct-indent): Remove unnecessary local variable `cont'.
20513
8b05752a
SM
205142011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
20515
daca8ba5
SM
20516 * mail/sendmail.el (mail-mode-map): Use completion-at-point.
20517 (mail-mode): Setup mailalias completion here instead.
20518 * mail/mailalias.el: Use lexical-binding.
20519 (pattern, mailalias-done): Declare dynamic.
20520 (mail-completion-at-point-function): New function, from mail-complete.
20521 (mail-complete): Use it.
20522 (mail-completion-expand): New function.
20523 (mail-get-names): Use it.
20524 (mail-directory, mail-directory-process, mail-directory-stream):
20525 Don't use `pattern' for lexically bound arg.
20526
6f542485
SM
20527 * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
20528
037e7c3f
SM
20529 * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
20530 (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
20531 (hfy-etags-cmd-alist): Don't eval-and-compile any more.
20532
8b05752a
SM
20533 * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
20534 (byte-save-window-excursion, byte-temp-output-buffer-setup)
20535 (byte-interactive-p): Define them again, for use when inlining
20536 old code.
20537
49093f60
JB
205382011-04-15 Juanma Barranquero <lekktu@gmail.com>
20539
20540 * loadup.el: Use `string-to-number', not `string-to-int'.
20541
b5b8e7de
SM
205422011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
20543
20544 * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
20545 gud-gdb-complete-command.
20546 (gud-gdb-completions): New function, from gud-gdb-complete-command.
20547 (gud-gdb-completion-at-point): New function.
20548 (gud-gdb-completions): Remove.
20549
f42efeb5
MA
205502011-04-14 Michael Albinus <michael.albinus@gmx.de>
20551
49093f60
JB
20552 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
20553 when the scripts fail. Use `tramp-do-file-attributes-with-ls' then.
20554 (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
20555 whether `executable-find' is bound.
f42efeb5
MA
20556
20557 * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
20558
e240cc21
SM
205592011-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
20560
20561 * minibuffer.el (completion-in-region-mode-predicate)
20562 (completion-in-region-mode--predicate): New vars.
20563 (completion-in-region, completion-in-region--postch)
20564 (completion-in-region-mode): Use them.
20565 (completion--capf-wrapper): Also return the hook function.
20566 (completion-at-point, completion-help-at-point):
20567 Adjust and provide a predicate.
c2bd2ab0
SM
20568
20569 Preserve arg names for advice of subr and lexical functions (bug#8457).
20570 * help-fns.el (help-function-arglist): Consolidate the subr and
20571 new-byte-code cases. Add argument `preserve-names' to extract names
20572 from the docstring when needed.
20573 * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
20574 (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
20575 (ad-arglist): Use help-function-arglist's new arg.
20576 (ad-definition-type): Use cond.
20577
c183f693
JB
205782011-04-13 Juanma Barranquero <lekktu@gmail.com>
20579
06641a47
JB
20580 * autorevert.el (auto-revert-handler):
20581 Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
20582 which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
20583 Don't quote lambda.
20584
c183f693
JB
20585 * image-mode.el (image-transform-set-scale):
20586 Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
20587
1e3b6001
G
205882011-04-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
20589
20590 * net/network-stream.el (network-stream-open-starttls): Only do
e9fce1ac 20591 opportunistic STARTTLS upgrades if we have built-in GnuTLS support.
1e3b6001
G
20592 Upgrades via gnutls-cli are too slow to be done opportunistically.
20593
2d6af8dd
JB
205942011-04-12 Juanma Barranquero <lekktu@gmail.com>
20595
20596 * dframe.el (dframe-current-frame): Remove spurious quote.
20597
c0749a51
GM
205982011-04-12 Glenn Morris <rgm@gnu.org>
20599
088d0d61
GM
20600 * calendar/cal-tex.el (cal-tex-end-document):
20601 Try to automatically use latin1 input if needed.
20602
c0749a51
GM
20603 * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
20604 Don't try to cons a mark onto an empty element.
20605
5c90fde0
LL
206062011-04-11 Leo Liu <sdl.web@gmail.com>
20607
20608 * ido.el (ido-buffer-internal): Allow method 'kill for virtual
20609 buffers.
20610 (ido-kill-buffer-at-head): Support killing virtual buffers.
20611
369e974d
CY
206122011-04-10 Chong Yidong <cyd@stupidchicken.com>
20613
20614 * minibuffer.el (completion-show-inline-help): New var.
20615 (completion--do-completion, minibuffer-complete)
daca8ba5
SM
20616 (minibuffer-force-complete, minibuffer-complete-word):
20617 Inhibit minibuffer messages if completion-show-inline-help is nil.
369e974d
CY
20618
20619 * icomplete.el (icomplete-mode): Bind completion-show-inline-help
20620 to avoid interference from inline help (Bug#5849).
20621
37f1c930
LL
206222011-04-10 Leo Liu <sdl.web@gmail.com>
20623
099c39a4
JB
20624 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
20625 Fix typo.
37f1c930 20626
a32d4040
CY
206272011-04-09 Chong Yidong <cyd@stupidchicken.com>
20628
20629 * image-mode.el (image-toggle-display-image): Signal an error if
20630 not in Image mode.
20631 (image-transform-mode, image-transform-resize)
20632 (image-transform-set-rotation): Doc fix.
daca8ba5 20633 (image-transform-set-resize): Delete.
a32d4040
CY
20634 (image-transform-set-scale, image-transform-fit-to-height)
20635 (image-transform-fit-to-width): Handle image-toggle-display-image
20636 and image-transform-resize directly.
20637
099c39a4 206382011-04-08 Sho Nakatani <lay.sakura@gmail.com>
d7b89879
TH
20639
20640 * doc-view.el (doc-view-fit-width-to-window)
099c39a4
JB
20641 (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
20642 New functions for fitting the shown image to the Emacs window size.
d7b89879
TH
20643 (doc-view-mode-map): Add bindings for the new functions.
20644
099c39a4 206452011-04-08 Juanma Barranquero <lekktu@gmail.com>
ddc20cdb 20646
4d61f28d 20647 * vc/vc-annotate.el (vc-annotate-show-log-revision-at-line):
ddc20cdb
JB
20648 Fix typo in docstring.
20649
3726838a
EZ
206502011-04-08 Eli Zaretskii <eliz@gnu.org>
20651
04f33f1e
EZ
20652 * files.el (file-size-human-readable): Produce one digit after
20653 decimal, like "ls -lh" does.
20654
20655 * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
20656 the file size representation.
20657
3726838a
EZ
20658 * simple.el (list-processes): If async subprocesses are not
20659 available, error out with a clear error message.
20660
cbb59342
CY
206612011-04-08 Chong Yidong <cyd@stupidchicken.com>
20662
20663 * help.el (help-form-show): New function, to be called from C.
20664 Put help-form output in a buffer named differently than *Help*.
20665
e3971c44
EZ
206662011-04-08 Eli Zaretskii <eliz@gnu.org>
20667
20668 * files.el (file-size-human-readable): New function.
20669
20670 * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
20671 computing the representation inline. Don't require `cl'.
20672
12544bbe
GM
206732011-04-08 Glenn Morris <rgm@gnu.org>
20674
a1de6c6a
GM
20675 * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
20676
3c4671f4
GM
20677 * net/browse-url.el (browse-url-firefox):
20678 Test system-type, not system-configuration.
20679
b605679c
GM
20680 * vc/log-edit.el (log-edit-empty-buffer-p): New function.
20681 (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
20682 Use log-edit-empty-buffer-p. (Bug#7598)
20683
56442f0c
GM
20684 * net/rlogin.el (rlogin-process-connection-type): Simplify.
20685 (rlogin-mode-map): Initialize in the defvar.
20686 (rlogin): Use ignore-errors.
20687
12544bbe
GM
20688 * replace.el (occur-mode-map): Some fixes for menu items.
20689
eb237b0f
AH
206902011-04-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
20691
20692 * play/morse.el (denato-region): Handle varying case. (Bug#8386)
20693
7d668f2c
CY
206942011-04-06 Chong Yidong <cyd@stupidchicken.com>
20695
e67a13ab
CY
20696 * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
20697 issuing unused warnings.
20698
20699 * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
20700 macro directly.
20701
7d668f2c
CY
20702 * simple.el: Lisp reimplement of list-processes. Based on an
20703 earlier reimplementation by Leo Liu, but using tabulated-list.el.
20704 (process-menu-mode): New major mode.
20705 (list-processes--refresh, list-processes):
20706 (process-menu-visit-buffer): New functions.
20707
20708 * files.el (save-buffers-kill-emacs): Don't assume any return
20709 value of list-processes, which is undocumented anyway.
20710
a83ec3c9
CY
207112011-04-06 Chong Yidong <cyd@stupidchicken.com>
20712
20713 * emacs-lisp/tabulated-list.el: New file.
20714
e91a96fe
CY
20715 * emacs-lisp/package.el: Use Tabulated List mode.
20716 (package-menu-mode-map): Inherit from tabulated-list-mode-map.
20717 (package-menu-mode): Derive from tabulated-list-mode. Set up the
20718 table format using Tabulated List mode variables.
20719 (package--push): New macro, replacing package-list-maybe-add.
20720 (package-menu--generate): Use package--push. Renamed from
20721 package--generate-package-list.
20722 (package-menu-refresh, list-packages): Use it.
daca8ba5 20723 (package-menu--print-info): Rename from package-print-package.
e91a96fe 20724 Return insertion data instead of inserting it directly.
099c39a4
JB
20725 (package-menu-describe-package, package-menu-execute):
20726 Use tabulated-list-get-id.
e91a96fe
CY
20727 (package-menu-mark-delete, package-menu-mark-install)
20728 (package-menu-mark-unmark, package-menu-backup-unmark)
099c39a4
JB
20729 (package-menu-mark-obsolete-for-deletion):
20730 Use tabulated-list-put-tag.
e91a96fe
CY
20731 (package--list-packages, package-menu-revert)
20732 (package-menu-get-package, package-menu-get-version)
20733 (package-menu-sort-by-column): Functions deleted.
20734 (package-menu-package-list, package-menu-sort-key): Vars deleted.
20735 (package-menu--status-predicate, package-menu--version-predicate)
20736 (package-menu--name-predicate)
20737 (package-menu--description-predicate): Handle arguments in the
20738 Tabulated List format.
20739 (package-list-packages-no-fetch): Call list-packages.
20740
3e214b50
JB
207412011-04-06 Juanma Barranquero <lekktu@gmail.com>
20742
20743 * files.el (after-find-file-from-revert-buffer): Remove variable.
c9d0ec6d 20744 (after-find-file): Don't bind it.
3e214b50
JB
20745 (revert-buffer-in-progress-p): New variable.
20746 (revert-buffer): Bind it.
20747 Pass nil for `after-find-file-from-revert-buffer'.
20748
20749 * saveplace.el (save-place-find-file-hook): Use new variable
20750 `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
20751
3f0f1700
GM
207522011-04-06 Glenn Morris <rgm@gnu.org>
20753
c0274801
GM
20754 * Makefile.in (AUTOGEN_VCS): New variable.
20755 (autoloads): Use $AUTOGEN_VCS.
20756
3f0f1700
GM
20757 * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
20758 * calendar/calendar.el (calendar-mode-map):
20759 Check for toolkit scroll bars. (Bug#8305)
20760
41ea9e48
CY
207612011-04-05 Chong Yidong <cyd@stupidchicken.com>
20762
20763 * minibuffer.el (completion-in-region--postch)
20764 (completion-in-region-mode): Remove unnecessary messages.
20765
6194c800
JB
207662011-04-05 Juanma Barranquero <lekktu@gmail.com>
20767
33256f14
JB
20768 * font-lock.el (font-lock-refresh-defaults):
20769 Don't bind `hi-lock--inhibit-font-lock-hook', removed in
20770 2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
20771
6194c800
JB
20772 * info.el (Info-directory-list, Info-read-node-name-2)
20773 (Info-split-parameter-string): Doc fixes.
20774 (Info-virtual-nodes): Reflow docstring.
20775 (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
20776 (Info-apropos-toc-nodes, info-finder, Info-get-token)
20777 (Info-find-emacs-command-nodes, Info-speedbar-key-map):
20778 Fix typos in docstrings.
20779 (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
20780 (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
20781 (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
20782 (Info-restore-desktop-buffer): Mark unused parameters.
20783 (Info-directory-find-file, Info-directory-find-node)
20784 (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
20785 (Info-virtual-index-find-node, Info-apropos-find-file)
20786 (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
33256f14 20787 Mark unused parameters; fix typos in docstrings.
6194c800
JB
20788 (Info-virtual-index): Remove unused local variable `nodename'.
20789
b87a8200 207902011-04-05 Deniz Dogan <deniz@dogan.se>
0f6ee7d2 20791
b87a8200
DD
20792 * net/rcirc.el: Update my e-mail address.
20793 (rcirc-mode-map): Remove M-o binding.
0f6ee7d2 20794
3b2ff876
CY
207952011-04-05 Chong Yidong <cyd@stupidchicken.com>
20796
20797 * startup.el (command-line): Save the cursor's theme-face
20798 directly, instead of using face-override-spec.
20799
20800 * custom.el (load-theme): Minor optimization in assigning faces.
20801
8d17e7ca
JB
208022011-04-04 Juanma Barranquero <lekktu@gmail.com>
20803
20804 * help-fns.el (describe-variable): Complete all variables having
20805 documentation, including keywords.
20806 http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
20807
2fbc1934
JB
208082011-04-04 Juanma Barranquero <lekktu@gmail.com>
20809
20810 Convert to lexical-binding.
20811
20812 * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
20813 (bs--get-marked-string, bs--get-modified-string)
20814 (bs--get-readonly-string, bs--get-size-string, bs--get-name)
20815 (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
20816 (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
20817
20818 * ehelp.el (electric-help-execute-extended)
20819 (electric-help-ctrl-x-prefix):
20820 * hexl.el (hexl-revert-buffer-function):
20821 * linum.el (linum-after-change, linum-after-scroll):
20822 * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
20823
20824 * help-fns.el (help-describe-category-set): Remove unused ERR variable.
20825
74f50695
DU
208262011-04-04 Daiki Ueno <ueno@unixuser.org>
20827
20828 * epa-dired.el:
20829 * epa-mail.el:
20830 * epa-hook.el:
20831 * epa-file.el:
20832 * epa.el:
20833 * epg.el: Use lexical binding.
20834
c11325f7
CY
208352011-04-03 Chong Yidong <cyd@stupidchicken.com>
20836
0d9e9a12
CY
20837 * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
20838
c11325f7 20839 * textmodes/flyspell.el (flyspell-word): Recognize default
daca8ba5
SM
20840 dictionary case for flyspell-mark-duplications-exceptions.
20841 Use regexp matching for languages.
c11325f7
CY
20842 (flyspell-mark-duplications-exceptions): Add "that" and "had" for
20843 default dictionary (Bug#7926).
20844
da91b5f2
CY
208452011-04-02 Chong Yidong <cyd@stupidchicken.com>
20846
099c39a4
JB
20847 * emacs-lisp/package.el (package--with-work-buffer):
20848 Recognize https URLs.
da91b5f2 20849
099c39a4
JB
20850 * net/network-stream.el: Move from gnus/proto-stream.el.
20851 Change prefix to network-stream throughout.
da91b5f2
CY
20852 (open-protocol-stream): Merge into open-network-stream, leaving
20853 open-protocol-stream as an alias. Handle nil BUFFER args.
20854
20855 * subr.el (open-network-stream): Move to net/network-stream.el.
20856
afa8e9f6
GM
208572011-04-02 Glenn Morris <rgm@gnu.org>
20858
1d2e369d
GM
20859 * find-dired.el (find-exec-terminator): New option.
20860 (find-ls-option): Test for -ls support.
20861 (find-ls-subdir-switches): Test for -b in find-ls-option.
20862 (find-dired, find-grep-dired): Doc fixes.
20863 (find-dired): Use find-exec-terminator.
20864
8abb7da8 20865 * find-dired.el (find-ls-option, find-ls-subdir-switches)
e7a395b5
GM
20866 (find-grep-options): Do not autoload these defcustoms, remove purecopy.
20867 (find-name-arg): Remove purecopy.
8abb7da8 20868
f3ca7378
GM
20869 * progmodes/grep.el (grep-find-use-xargs): Doc fix.
20870 (grep-compute-defaults): Check for `-exec COMMAND +' support.
20871 Set grep-find-use-xargs, grep-find-command, and grep-find-template
20872 accordingly. Don't add the null-device if not needed.
20873
afa8e9f6
GM
20874 * files.el (save-some-buffers): Doc fix.
20875
35eae264
EZ
208762011-04-02 Eli Zaretskii <eliz@gnu.org>
20877
20878 * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
20879
26b51db5
JB
208802011-04-01 Juanma Barranquero <lekktu@gmail.com>
20881
20882 * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
20883 Use `dolist' rather than `mapcar'.
20884
7200d79c
SM
208852011-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
20886
03408648 20887 Add lexical binding.
7200d79c 20888
03408648
SM
20889 * subr.el (apply-partially): Use new closures rather than CL.
20890 (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
20891 (dolist, dotimes): Use slightly different expansion for lexical code.
20892 (functionp): Move to C.
20893 (letrec): New macro.
20894 (with-wrapper-hook): Use it and apply-partially instead of CL.
20895 (eval-after-load): Preserve lexical-binding.
20896 (save-window-excursion, with-output-to-temp-buffer): Turn them
20897 into macros.
7200d79c 20898
03408648
SM
20899 * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
20900
20901 * help-fns.el (help-split-fundoc): Return nil if there's nothing else
20902 than the arglist.
20903 (help-add-fundoc-usage): Don't add `Not documented'.
20904 (help-function-arglist): Handle closures, subroutines, and new
20905 byte-code-functions.
20906 (help-make-usage): Remove leading underscores.
20907 (describe-function-1): Handle closures.
20908 (describe-variable): Use special-variable-p for completion.
20909
20910 * files.el (lexical-binding): Declare safe.
f488fb65 20911
03408648
SM
20912 * emacs-lisp/pcase.el: Don't use destructuring-bind.
20913 (pcase--memoize): Rename from pcase-memoize. Change weakness.
20914 (pcase): Add `let' pattern.
20915 Change memoization so it actually works.
20916 (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
20917 (pcase--u1) <guard, pred>: Fix possible shadowing problem.
20918 <let>: New case.
f488fb65 20919
03408648
SM
20920 * emacs-lisp/macroexp.el: Use lexical binding.
20921 (macroexpand-all-1): Check obsolete macros. Expand compiler-macros.
20922 Don't convert ' to #' without checking that it's indeed quoting
20923 a lambda.
20924
20925 * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
f488fb65 20926 Use eval-sexp-add-defvars.
03408648
SM
20927 (eval-sexp-add-defvars): New fun.
20928
20929 * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
20930
20931 * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
20932 Don't autoload.
20933 (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
20934 than the internal `byte-compile-lambda'.
20935 (defmethod): Don't hide code under quotes.
20936 (eieio-defmethod): New `code' argument.
20937
20938 * emacs-lisp/eieio-comp.el: Remove.
20939
20940 * emacs-lisp/edebug.el (edebug-eval-defun)
20941 (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
20942 (edebug-toggle): Avoid `eval'.
20943
20944 * emacs-lisp/disass.el (disassemble-internal): Handle new
20945 `closure' objects.
20946 (disassemble-1): Handle new byte codes.
20947
20948 * emacs-lisp/cl.el (pushnew): Silence warning.
20949
20950 * emacs-lisp/cl-macs.el (cl-byte-compile-block)
20951 (cl-byte-compile-throw): Remove.
20952 (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
20953
20954 * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
20955 closures.
20956
20957 * emacs-lisp/cconv.el: New file.
20958
20959 * emacs-lisp/bytecomp.el: Use lexical binding instead of
20960 a "bytecomp-" prefix. Macroexpand everything as a separate phase.
20961 (byte-compile-initial-macro-environment):
20962 Handle declare-function here.
20963 (byte-compile--lexical-environment): New var.
20964 (byte-stack-ref, byte-stack-set, byte-discardN)
20965 (byte-discardN-preserve-tos): New lap codes.
20966 (byte-interactive-p): Don't use any more.
20967 (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
20968 New macros.
20969 (byte-compile-lapcode): Use them and handle new lap codes.
20970 (byte-compile-obsolete): Remove.
20971 (byte-compile-arglist-signature): Handle new byte-code arg"lists".
20972 (byte-compile-arglist-warn): Check late def of inlinable funs.
20973 (byte-compile-cl-warn): Don't silence warnings for compiler-macros
20974 since they should have been expanded by now.
20975 (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
20976 (byte-compile-from-buffer): Remove unused second arg.
20977 (byte-compile-preprocess): New function.
20978 (byte-compile-toplevel-file-form): New function to distinguish
20979 file-form calls from outside from file-form calls from hunk-handlers.
20980 (byte-compile-file-form): Simplify.
20981 (byte-compile-file-form-defsubst): Remove.
20982 (byte-compile-file-form-defmumble): Simplify now that
20983 byte-compile-lambda always returns a byte-code-function.
20984 (byte-compile): Preprocess.
20985 (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
20986 Remove, not used any more.
20987 (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
20988 (byte-compile-make-args-desc): New funs.
20989 (byte-compile-lambda): Handle lexical functions. Always return
20990 a byte-code-function.
20991 (byte-compile-reserved-constants): New var, to make up room for
20992 closed-over variables.
20993 (byte-compile-constants-vector): Obey it.
20994 (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
20995 (byte-compile-macroexpand-declare-function): New function.
20996 (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
20997 byte-code-functions.
20998 (byte-compile-form): Check obsolescence here.
20999 (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
21000 (byte-compile-variable-ref): Remove.
21001 (byte-compile-dynamic-variable-op): New fun.
21002 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
21003 (byte-compile-variable-set): New funs.
21004 (byte-compile-discard): Add 2 args.
21005 (byte-compile-stack-ref, byte-compile-stack-set)
21006 (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
21007 (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
21008 macroexpand-all instead.
21009 (byte-compile-quote-form): Remove.
21010 (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
21011 (byte-compile-bind, byte-compile-unbind): New funs.
21012 (byte-compile-let): Handle let* and lexical binding.
21013 (byte-compile-let*): Remove.
21014 (byte-compile-catch, byte-compile-unwind-protect)
21015 (byte-compile-track-mouse, byte-compile-condition-case):
21016 Handle a new :fun-body form, used for lexical scoping.
21017 (byte-compile-save-window-excursion)
21018 (byte-compile-with-output-to-temp-buffer): Remove.
21019 (byte-compile-defun): Simplify.
21020 (byte-compile-stack-adjustment): New fun.
21021 (byte-compile-out): Use it.
21022 (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
21023
21024 * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
21025 handler any more.
21026
21027 * emacs-lisp/byte-opt.el: Use lexical binding.
21028 (byte-inline-lapcode): Remove (to bytecomp).
21029 (byte-compile-inline-expand): Pay attention to inlining to/from
21030 lexically bound code.
21031 (byte-compile-unfold-lambda): Don't handle byte-code-functions
21032 any more.
21033 (byte-optimize-form-code-walker): Don't handle save-window-excursion
21034 any more and don't call compiler-macros.
21035 (byte-compile-splice-in-already-compiled-code): Remove.
21036 (byte-code): Don't inline any more.
21037 (disassemble-offset): Receive `bytes' as argument rather than via
21038 dynamic scoping.
21039 (byte-compile-tag-number): Declare before first use.
21040 (byte-decompile-bytecode-1): Handle new byte-codes, don't change
21041 `return' even if make-spliceable.
21042 (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
21043 obsolete interactive-p.
21044 (byte-optimize-lapcode): Optimize new lap-codes.
21045 Don't trip up on new form of `byte-constant' lap code.
21046
21047 * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
21048
21049 * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
21050
21051 * custom.el (custom-initialize-default, custom-declare-variable):
21052 Use `defvar'.
21053
21054 * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
21055 New variables.
21056 (compile-onefile, .el.elc, compile-calc, recompile): Use them.
21057 (COMPILE_FIRST): Add macroexp and cconv.
21058 * makefile.w32-in: Mirror changes in Makefile.in.
21059
21060 * vc/cvs-status.el:
21061 * vc/diff-mode.el:
21062 * vc/log-edit.el:
21063 * vc/log-view.el:
21064 * vc/smerge-mode.el:
21065 * textmodes/bibtex-style.el:
090bd7cb 21066 * textmodes/css-mode.el:
03408648
SM
21067 * startup.el:
21068 * uniquify.el:
da91b5f2
CY
21069 * minibuffer.el:
21070 * newcomment.el:
21071 * reveal.el:
21072 * server.el:
21073 * mpc.el:
21074 * emacs-lisp/smie.el:
21075 * doc-view.el:
21076 * dired.el:
03408648
SM
21077 * abbrev.el: Use lexical binding.
21078
0f0c1f27
EZ
210792011-04-01 Eli Zaretskii <eliz@gnu.org>
21080
21081 * info.el (info-display-manual): New function.
21082
c82b2579
SM
210832011-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
21084
21085 * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
21086
221ddf68
TH
210872011-03-31 Tassilo Horn <tassilo@member.fsf.org>
21088
21089 * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
2fbc1934 21090 an entry for that server in rcirc-authinfo. (Bug#8385)
221ddf68 21091
cba6e77e
GM
210922011-03-31 Glenn Morris <rgm@gnu.org>
21093
e040639f
GM
21094 * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
21095
cba6e77e
GM
21096 * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
21097
6d0f1c9e
CS
210982011-03-30 Christoph Scholtes <cschol2112@googlemail.com>
21099
21100 * progmodes/python.el (python-default-interpreter)
21101 (python-python-command-args, python-jython-command-args)
21102 (python-which-shell, python-which-args, python-which-bufname)
21103 (python-file-queue, python-comint-output-filter-function)
21104 (python-toggle-shells, python-shell): Remove obsolete defcustoms,
21105 variables and functions.
21106
3e2d70fd
SM
211072011-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
21108
21109 * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
21110 (completion-in-region-mode): New minor mode.
21111 (completion-in-region): Use it.
21112 (completion-in-region--data, completion-in-region-mode-map): New vars.
21113 (completion-in-region--postch): New function.
21114 (completion--capf-misbehave-funs, completion--capf-safe-funs):
21115 New vars.
21116 (completion--capf-wrapper): New function.
21117 (completion-at-point): Use it to track well-behavedness of
21118 hook functions.
21119 (completion-help-at-point): New command.
21120
f3e4086c
JM
211212011-03-30 Jason Merrill <jason@redhat.com> (tiny change)
21122
21123 * vc/add-log.el (add-change-log-entry): Don't use whitespace
21124 syntax class to search for whitespace on a single line
21125 (Message-ID: <4D938140.4030905@redhat.com>).
21126
eb7ffc14
LL
211272011-03-30 Leo Liu <sdl.web@gmail.com>
21128
21129 * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
21130 New commands.
21131 (edit-abbrevs-map): Bind them here.
21132 (write-abbrev-file): New optinal arg VERBOSE. (Bug#5937)
21133
d806ab68
KM
211342011-03-29 Ken Manheimer <ken.manheimer@gmail.com>
21135
21136 * allout.el (allout-hide-by-annotation, allout-flag-region):
21137 Reduce possibility of overlay leakage by making them volatile.
21138
21139 * allout-widgets.el (allout-widgets-tally): Define as nil so the
21140 hash is not shared between buffers. Mode initialization is
21141 responsible for giving it a useful starting value.
21142 (allout-item-span): Reduce possibility of overlay leakage by
21143 making them volatile.
21144 (allout-widgets-count-buttons-in-region): Add diagnostic function
21145 for tracking down button overlay leaks.
21146
ea622834
LL
211472011-03-29 Leo Liu <sdl.web@gmail.com>
21148
21149 * ido.el (ido-read-internal): Use the default history var
21150 minibuffer-history if no HISTORY is specified.
21151
b62f8267
G
211522011-03-28 Brian T. Sniffen <bsniffen@akamai.com> (tiny change)
21153
03408648
SM
21154 * net/imap.el (imap-shell-open, imap-process-connection-type):
21155 Use imap-process-connection-type for 'shell' streams as well as
b62f8267
G
21156 Kerberos, SSL, other subprocesses.
21157
947b6566
LL
211582011-03-28 Leo Liu <sdl.web@gmail.com>
21159
21160 * abbrev.el (abbrev-table-empty-p): New function.
21161 (prepare-abbrev-list-buffer): Place empty abbrev tables after
21162 nonempty ones. (Bug#5937)
21163
5ffb62aa
JD
211642011-03-27 Jan Djärv <jan.h.d@swipnet.se>
21165
21166 * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
21167
7a097943
LL
211682011-03-27 Leo Liu <sdl.web@gmail.com>
21169
21170 * ansi-color.el (ansi-color-names-vector): Allow cons cell value
21171 for foreground and background colors.
21172 (ansi-color-make-color-map): Adapt.
21173
c5b40130
LL
211742011-03-25 Leo Liu <sdl.web@gmail.com>
21175
1f48f7d2
LL
21176 * midnight.el (midnight-time-float): Remove. Note it calculates
21177 the microsecond component incorrectly and seconds-to-time does the
21178 same job.
625897ec 21179 Remove redundant (require 'timer).
1f48f7d2 21180
c5b40130
LL
21181 * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
21182 (ido-completions): Remove unused arguments. (Bug#8329)
21183
d86d2721
SM
211842011-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
21185
21186 * minibuffer.el (completion--flush-all-sorted-completions):
21187 Remove itself from hook.
21188 (completion-at-point): Let the functions perform the completion
21189 immediately and return nil or t.
21190 * comint.el (comint-dynamic-complete-functions): Now identical to
21191 completion-at-point-functions.
21192 (comint-dynamic-list-input-ring): Remove unused var `index'.
21193 (comint--match-partial-filename, comint--unquote&expand-filename):
21194 New funs, split from comint-match-partial-filename.
21195 (comint-dynamic-complete): Use completion-at-point.
21196 (comint-dynamic-complete-filename): Use comint--match-partial-filename.
21197
e8974c48
DA
211982011-03-24 Drew Adams <drew.adams@oracle.com>
21199
21200 * thingatpt.el: Support `defun'.
21201
def71b5e
LL
212022011-03-23 Leo Liu <sdl.web@gmail.com>
21203
cb5af48e
LL
21204 * abbrevlist.el: Move to obsolete/abbrevlist.el.
21205
def71b5e
LL
21206 * help-mode.el (help-mode-finish): Tweak regexp.
21207
927c53e7
GM
212082011-03-23 Glenn Morris <rgm@gnu.org>
21209
18d05bed
GM
21210 * eshell/esh-opt.el (eshell-eval-using-options):
21211 Do not bind unused local variable `eshell-option-stub'.
21212
927c53e7
GM
21213 * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
21214
9d0da923
JB
212152011-03-22 Juanma Barranquero <lekktu@gmail.com>
21216
21217 * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
21218 keymap variable in `with-no-warnings' to avoid a warning when the
21219 keymap has been already `defconst'ed.
21220
4b978a67
LL
212212011-03-22 Leo Liu <sdl.web@gmail.com>
21222
21223 * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
21224 encode all chars in abbrevs; otherwise use emacs-mule or
21225 utf-8-emacs. (Bug#8308)
21226
5fd62452
JB
212272011-03-22 Juanma Barranquero <lekktu@gmail.com>
21228
0b1596c6
JB
21229 * simple.el (backward-delete-char-untabify):
21230 Avoid warning about using `delete-backward-char'.
21231
5fd62452
JB
21232 * image.el (image-type-file-name-regexps): Make it variable.
21233 `imagemagick-register-types' modifies it, and the user may want
21234 to add new extensions for known image types.
21235 (imagemagick-register-types): Throw error if not using ImageMagick.
21236
0b4e93f1
LL
212372011-03-22 Leo Liu <sdl.web@gmail.com>
21238
21239 * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
21240 located before rcirc-prompt-end-marker.
21241 (rcirc-complete): Error if point is not after rcirc prompt.
21242 Handle the case when table is nil.
9882e214 21243 (rcirc-user-authenticated): Define to fix compiler warning.
0b4e93f1 21244
fccee4ab
CY
212452011-03-22 Chong Yidong <cyd@stupidchicken.com>
21246
21247 * custom.el (custom--inhibit-theme-enable): Make it affect only
21248 custom-theme-set-variables and custom-theme-set-faces.
21249 (provide-theme): Ignore custom--inhibit-theme-enable.
21250 (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
21251 (custom-enabling-themes): Delete variable.
d86d2721
SM
21252 (enable-theme): Accept only loaded themes as arguments.
21253 Ignore the special custom-enabled-themes variable.
fccee4ab
CY
21254 (custom-enabled-themes): Forbid themes from setting this.
21255 Eliminate use of custom-enabling-themes.
21256 (custom-push-theme): Quote "changed" custom var entry.
0357c7ae 21257
af896da6
LL
212582011-03-21 Leo Liu <sdl.web@gmail.com>
21259
21260 * ido.el (ido-read-internal): Add ido-selected to history instead
21261 of user input.
21262
78f64af0
SM
212632011-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
21264
21265 * subr.el (deferred-action-list, deferred-action-function):
21266 Mark obsolete.
21267
b16ac1ec
LL
212682011-03-21 Leo Liu <sdl.web@gmail.com>
21269
810f7698
LL
21270 * vc/log-view.el: Remove (require 'wid-edit), not needed after the
21271 change on 2011-02-13 (bug#8309).
21272
b16ac1ec
LL
21273 * minibuffer.el (read-file-name-function): Change default value.
21274 (read-file-name--defaults): Rename from read-file-name-defaults.
21275 (read-file-name-default): Rename from read-file-name.
21276 (read-file-name): Call read-file-name-function.
21277
4e05e67e
GM
212782011-03-21 Glenn Morris <rgm@gnu.org>
21279
21280 * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
21281 Doc fixes.
21282
4359915b
CY
212832011-03-21 Chong Yidong <cyd@stupidchicken.com>
21284
21285 * cus-theme.el: Add missing provide statement.
21286 (customize-create-theme): Extract theme value correctly.
21287 (custom-theme-visit-theme): Autoload.
21288 (customize-create-theme): Prompt before inserting default faces.
21289
1fe275ee
JB
212902011-03-20 Jay Belanger <jay.p.belanger@gmail.com>
21291
21292 * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
21293 units and musical notes.
21294
cd394be1 212952011-03-20 Leo Liu <sdl.web@gmail.com>
3ec03f7e
LL
21296
21297 * ido.el (ido-read-internal): Use completing-read-default.
21298 (ido-completing-read): Fix compatibility with completing-read.
21299
7d476bde
CO
213002011-03-20 Christian Ohler <ohler@gnu.org>
21301
21302 * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
21303 (ert-delete-all-tests): Use `called-interactively-p' rather than
21304 `interactive-p'.
21305 (ert--make-xrefs-region): Respect END.
21306
fe0fb33e
CY
213072011-03-19 Chong Yidong <cyd@stupidchicken.com>
21308
ff854b0b
CY
21309 * dired-aux.el (dired-create-directory): Signal an error if the
21310 directory already exists (Bug#8246).
21311
fe0fb33e
CY
21312 * facemenu.el (list-colors-display): Call list-faces-display
21313 inside with-help-window.
21314 (list-colors-print): Use display property to align the final
21315 column, instead of checking window-width.
21316
576bce32
EZ
213172011-03-19 Eli Zaretskii <eliz@gnu.org>
21318
4d61f28d 21319 * vc/emerge.el (emerge-metachars): Separate value for ms-dos and
576bce32
EZ
21320 windows-nt systems.
21321 (emerge-protect-metachars): Quote correctly for ms-dos and
21322 windows-nt systems.
21323
89c41d68 213242011-03-19 Ralph Schleicher <rs@ralph-schleicher.de>
e6ce307c
RS
21325
21326 * info.el (info-initialize): Replace all uses of `:' with
21327 path-separator for compatibility with non-Unix systems.
21328 Cache quoting of path-separator. (Bug#8258)
21329
b14e3e21 213302011-03-19 Juanma Barranquero <lekktu@gmail.com>
ad22b7f7
JB
21331
21332 * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
21333 (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
21334 (mouse-avoidance-mode): Fix typos in docstrings.
21335
4525ce3e
CY
213362011-03-19 Chong Yidong <cyd@stupidchicken.com>
21337
21338 * startup.el (package-subdirectory-regexp): Move from package.el.
21339 Omit \\` and \\', and let callers add them.
21340
21341 * emacs-lisp/package.el (package-strip-version)
21342 (package-load-all-descriptors): Add \\` and \\' to
21343 package-subdirectory-regexp before using it.
21344 (package-untar-buffer): New arg DIR; ensure that file untars only
21345 into this expected directory. Remove superfluous delete-region.
21346 (package-unpack): Caller changed.
21347 (package-tar-file-info): Use package-subdirectory-regexp.
21348
a904a09a 213492011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
1518e4f0 21350
a904a09a
SM
21351 * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
21352 diff-mode-shared-map (bug#8284).
21353 (diff-mode-shared-map): Re-introduce some bindings that were problematic.
1518e4f0
G
21354
213552011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
21356
21357 * calendar/time-date.el (format-seconds): Use assoc instead of
21358 assoc-string, since assoc-string doesn't exist in XEmacs.
21359
171fc304
JB
213602011-03-17 Juanma Barranquero <lekktu@gmail.com>
21361
21362 * custom.el (custom-known-themes): Reflow docstring.
21363 (custom-theme-load-path): Fix typo in docstring.
21364 (load-theme): Fix typo in error message.
21365 (custom-available-themes, custom-variable-theme-value):
21366 Use `let', not `let*'.
21367
d71990a1
JB
213682011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
21369
21370 * calc/README: Mention inclusion of musical notes.
21371
21372 * calc/calc-units.el (calc-lu-quant): Rename from
21373 `calc-logunits-quantity'.
21374 (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
21375 (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
21376 (calc-db): Rename from `calc-dblevel'.
21377 (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
21378 (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
21379 (calc-np): Rename from `calc-nplevel'.
21380 (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
21381 (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
21382 (calc-lu-plus): Rename from `calc-logunits-add'.
21383 (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
21384 (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
21385 (calc-lu-minus): Rename from `calc-logunits-sub'.
21386 (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
21387 (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
21388 (calc-lu-times): Rename from `calc-logunits-mul'.
21389 (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
21390 (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
21391 (calc-lu-divide): Rename from `calc-logunits-div'.
21392 (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
21393 (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
21394
21395 * calc/calc-ext.el (calc-init-extensions): Update the names of the
21396 functions being autoloaded.
21397
21398 * calc/calc.el (calc-lu-power-reference): Rename from
21399 `calc-logunits-power-reference'.
21400 (calc-lu-field-reference): Rename from
21401 `calc-logunits-field-reference'.
21402
7a71b18d
GM
21403 * calc/calc-help.el (calc-l-prefix-help):
21404 Mention musical note functions.
d71990a1 21405
40c2934b
SM
214062011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
21407
21408 * minibuffer.el (completion-all-sorted-completions):
21409 Use :completion-cycle-penalty text property if present.
21410
b0911414
KM
214112011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
21412
21413 * allout.el (allout-yank-processing): Adjust for new rebulleting
21414 regime so bullet being yanked is used without prompting the user
21415 for a choice.
21416
8a05b668
JB
214172011-03-16 Juanma Barranquero <lekktu@gmail.com>
21418
21419 * startup.el (command-line): Warn the user that _emacs is deprecated.
21420
5ba5fb81
JB
214212011-03-16 Juanma Barranquero <lekktu@gmail.com>
21422
21423 * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
21424 (delphi-verbose, delphi-comment-face, delphi-string-face)
21425 (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
21426 (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
21427 (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
21428 (delphi-new-comment-line, delphi-font-lock-defaults)
21429 (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
21430 Fix typos in docstrings.
21431
2dab465b
KM
214322011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
21433
5ba5fb81 21434 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
2dab465b
KM
21435 Invert the roles of character and string values for INSTEAD, so a
21436 string is used for the more common case of a defaulting prompt.
21437
0adf5618
SM
214382011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
21439
21440 * progmodes/ruby-mode.el (ruby-backward-sexp):
21441 * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
21442 * play/gamegrid.el (gamegrid-make-face):
21443 * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
21444 (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
21445 * notifications.el (notifications-notify):
21446 * net/xesam.el (xesam-search-engines):
21447 * net/quickurl.el (quickurl-list-insert):
21448 * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
21449
d72700e5
CY
214502011-03-15 Chong Yidong <cyd@stupidchicken.com>
21451
21452 * startup.el (command-line): Update package subdirectory regexp.
21453
49c5410a
SM
214542011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
21455
c6eee9aa
SM
21456 * allout.el (allout-abbreviate-flattened-numbering)
21457 (allout-mode-deactivate-hook): Fix up obsolescence "date".
21458
49c5410a
SM
21459 * subr.el (read-char-choice): Only show the cursor after the prompt,
21460 not after the answer.
21461
047b2bb9
KR
214622011-03-15 Kevin Ryde <user42@zip.com.au>
21463
21464 * help-fns.el (variable-at-point): Skip leading quotes, if any
21465 (bug#8253).
21466
0a57d256
SM
214672011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
21468
21469 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
21470 warning message.
21471
77c992bc
MA
214722011-03-14 Michael Albinus <michael.albinus@gmx.de>
21473
21474 * shell.el (shell): When called interactively, offer to change the
21475 shell file name on remote hosts.
21476
eebc475d
TZ
214772011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
21478
21479 * net/ldap.el (ldap-search-internal): Add `auth-source-search'
21480 integration for LDAP parameters. The host, base, user or binddn,
21481 and secret tokens can be specified in a netrc file, for instance.
21482 This is optional because an `auth-source' parameter must be
21483 specified in the search attributes.
21484
9d05d1ba
JB
214852011-03-13 Juanma Barranquero <lekktu@gmail.com>
21486
21487 * help.el (describe-mode): Link to the mode's definition (bug#8185).
21488
09d9db2c
GM
214892011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
21490
21491 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
21492 into declaration. Remove redundant and harmful binding.
21493
214942011-03-12 Eli Zaretskii <eliz@gnu.org>
21495
21496 * files.el (file-ownership-preserved-p): Pass `integer' as an
21497 explicit 2nd argument to `file-attributes'. If the file's owner
21498 is the Administrators group on Windows, and the current user is
21499 Administrator, consider that a match.
21500
21501 * server.el (server-ensure-safe-dir): Consider server directory
21502 safe on MS-Windows if its owner is the Administrators group while
21503 the current Emacs user is Administrator. Use `=' to compare
21504 numerical UIDs, since they could be integers or floats.
21505
219bd536
JB
215062011-03-12 Juanma Barranquero <lekktu@gmail.com>
21507
21508 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
21509
f3afd36b
MA
215102011-03-12 Michael Albinus <michael.albinus@gmx.de>
21511
21512 Sync with Tramp 2.2.1.
21513
21514 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
21515
21516 * net/trampver.el: Update release number.
21517
3aaaa6f1
SM
215182011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
21519
94642599
SM
21520 * progmodes/compile.el (compilation--previous-directory): Fix up
21521 various nil/dead-marker mismatches (bug#8014).
21522 (compilation-directory-properties, compilation-error-properties):
21523 Don't call it at a position past the one we're about to change.
21524
3aaaa6f1
SM
21525 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
21526 Disable obsolescence warnings in the file that declares it.
21527
14239447
KM
215282011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
21529
099c39a4
JB
21530 * allout-widgets.el (allout-widgets-tally):
21531 Initialize allout-widgets-tally as a hash table rather than nil to
21532 prevent mode-line redisplay warnings. Also, clarify the module
21533 description and fix a comment typo.
14239447 21534
135e287c
JB
215352011-03-11 Juanma Barranquero <lekktu@gmail.com>
21536
21537 * help-fns.el (describe-variable): Don't complete keywords.
21538 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
21539
ffbf300e
CY
215402011-03-10 Chong Yidong <cyd@stupidchicken.com>
21541
ba08b241
CY
21542 * emacs-lisp/package.el (package-version-join): Impose a standard
21543 string representation for pre/alpha/beta version lists.
21544 (package-unpack-single): Standardize the directory name by passing
21545 it through package-version-join.
21546 (package-strip-rcs-id): Accept any version string that does not
21547 signal an error in version-to-list.
ffbf300e 21548
f346fd6b
MA
215492011-03-10 Michael Albinus <michael.albinus@gmx.de>
21550
21551 * simple.el (delete-trailing-whitespace): Return nil for the
21552 benefit of `write-file-functions'.
21553
ccb55d27
GM
215542011-03-10 Glenn Morris <rgm@gnu.org>
21555
5ceaac0c
GM
21556 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
21557
02da65ff
GM
21558 * vc/vc-git.el (vc-git-program): New option.
21559 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
21560 (vc-git--call): Use it.
21561
b2f603cc
GM
21562 * eshell/esh-util.el (eshell-condition-case): Doc fix.
21563
5772caab
GM
21564 * cus-edit.el (Custom-newline): If no button at point, look
21565 for a subgroup button at start-of-line. (Bug#2298)
21566
ccb55d27
GM
21567 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
21568
ec6ecaed
JD
215692011-03-10 Julien Danjou <julien@danjou.info>
21570
21571 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
21572 `cursor-type' is nil.
21573
9d5aa01d
JB
215742011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
21575
21576 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
21577
b6a5875b
KM
215782011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
21579
7a71b18d 21580 * allout.el: Change so yank of distinctive-bullet items
b6a5875b
KM
21581 preserves the existing header prefix, rebulleting it if necessary,
21582 rather than replacing it. This is necessary for proper operation
21583 of cooperative addons like allout-widgets.
1154d12e
JB
21584 (allout-make-topic-prefix, allout-rebullet-heading):
21585 Change SOLICIT arg to INSTEAD, and interpret additionally a string
21586 value as alternate bullet to be used, instead of prompting the user
21587 for a bullet character.
b6a5875b 21588
ee545c35
MA
215892011-03-09 Michael Albinus <michael.albinus@gmx.de>
21590
d86d2721
SM
21591 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
21592 Do not use `tramp-file-name-port', because this returns also
ee545c35
MA
21593 `tramp-default-port'.
21594
c47971d7
DD
215952011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
21596
21597 * net/rcirc.el (rcirc-handler-001): Remove useless
21598 with-rcirc-process-buffer.
21599 (rcirc-check-auth-status): Swap arguments to string-match.
21600
13522cb4
GM
216012011-03-09 Glenn Morris <rgm@gnu.org>
21602
0be6f4f1
GM
21603 * shell.el (shell-mode):
21604 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
21605
13522cb4
GM
21606 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
21607 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
21608
515de2e3
CY
216092011-03-08 Chong Yidong <cyd@stupidchicken.com>
21610
21611 * emacs-lisp/package.el (package-refresh-contents)
21612 (package-menu-execute): Use condition-case-no-debug.
21613
b511b994
MA
216142011-03-08 Michael Albinus <michael.albinus@gmx.de>
21615
21616 * simple.el (shell-command-to-string): Use `process-file'.
21617
21618 * emacs-lisp/package.el (package-tar-file-info): Handle also
21619 remote files.
21620
d86d2721
SM
21621 * emacs-lisp/package-x.el (package-upload-buffer-internal):
21622 Use `equal' for upload base check.
b511b994 21623
25bbfb31
AM
216242011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
21625
21626 * textmodes/texinfo.el (texinfo-environments):
21627 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
21628
be996521
GM
216292011-03-08 Glenn Morris <rgm@gnu.org>
21630
e9c8529f
GM
21631 * cus-start.el (cursor-in-non-selected-windows):
21632 Fix :set quoting oddness. (Bug#8192)
21633
be996521
GM
21634 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
21635 in some setf expressions. (Bug#2159)
21636
2bb5649e
CY
216372011-03-08 Chong Yidong <cyd@stupidchicken.com>
21638
21639 * custom.el (custom-available-themes): Return themes in
21640 alphabetical order.
21641
33383987 21642See ChangeLog.15 for earlier changes.
e3d51b27
MR
21643
21644;; Local Variables:
21645;; coding: utf-8
e3d51b27
MR
21646;; End:
21647
acaf905b 21648 Copyright (C) 2011-2012 Free Software Foundation, Inc.
e3d51b27
MR
21649
21650 This file is part of GNU Emacs.
21651
21652 GNU Emacs is free software: you can redistribute it and/or modify
21653 it under the terms of the GNU General Public License as published by
21654 the Free Software Foundation, either version 3 of the License, or
21655 (at your option) any later version.
21656
21657 GNU Emacs is distributed in the hope that it will be useful,
21658 but WITHOUT ANY WARRANTY; without even the implied warranty of
21659 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
21660 GNU General Public License for more details.
21661
21662 You should have received a copy of the GNU General Public License
21663 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.