* vc/vc-git.el (vc-git-command): Disable the pager.
[bpt/emacs.git] / lisp / ChangeLog
CommitLineData
a8b733a5
CY
12012-11-30 Yuriy Vostrikov <delamonpansie@gmail.com> (tiny change)
2
3 * vc/vc-git.el (vc-git-command): Disable the pager (Bug#6137).
4
6fccd6e8
SB
52012-11-30 Samuel Bronson <naesten@gmail.com>
6
7 * progmodes/grep.el (grep-compute-defaults): Do not pass the -e
8 flag to xargs, for compatibility with BSD xargs (Bug#11703).
9
53c9a337
TT
102012-11-30 Toru TSUNEYOSHI <t_tuneyosi@hotmail.com>
11
12 * textmodes/fill.el (fill-region-as-paragraph): Handle overshoot
13 by move-to-column (Bug#3234).
14
ccf520bb
CY
152012-11-30 Chong Yidong <cyd@gnu.org>
16
17 * longlines.el (longlines-wrap-line, longlines-encode-region):
18 Preserve text properties (Bug#1425).
19
171b0949
OT
202012-11-30 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
21
22 * vc/vc.el (vc-register): Allow registering a file which is
23 already registered with a different backend (Bug#10589).
24
cc37e70f
J
252012-11-29 Jambunathan K <kjambunathan@gmail.com>
26 Stefan Monnier <monnier@iro.umontreal.ca>
27
28 * icomplete.el: Change separator; add ido-style commands.
29 (icomplete-show-key-bindings): Remove custom var.
30 (icomplete-get-keys): Remove function.
31 (icomplete-forward-completions, icomplete-backward-completions):
32 New commands.
33 (icomplete-minibuffer-map): New var.
34 (icomplete-minibuffer-setup): Use it.
35 (icomplete-exhibit): Don't delay if the list of completions is known.
36 (icomplete-separator): New custom.
37 (icomplete-completions): Use it.
38 * minibuffer.el (completion-all-sorted-completions): Delete duplicates.
39 (minibuffer-force-complete-and-exit): New command.
40 (minibuffer--complete-and-exit): New function extracted from
41 minibuffer-complete-and-exit.
42 (minibuffer-complete-and-exit): Use it.
83e12fe0
SM
43
44 * progmodes/etags.el (visit-tags-table-buffer): Give a more precise
45 error message when the file doesn't exist (bug#12974).
46
31646597
KD
472012-11-29 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
48
49 * simple.el (activate-mark): Run activate-mark-hook (bug#13027).
50
e9df8f87
GM
512012-11-29 Glenn Morris <rgm@gnu.org>
52
824eefe4
GM
53 * files.el (hack-dir-local-variables): Warn if try to set
54 coding via dir-locals, since it doesn't work. (Bug#7169)
55
4ad900d9
GM
56 Add desktop support for restoring vc-dir buffers. (Bug#10606)
57 * vc/vc-dir.el (vc-dir-mode): Autoload it (for desktop restore).
58 Set buffer-local value of desktop-save-buffer.
59 (vc-dir-desktop-buffer-misc-data, vc-dir-restore-desktop-buffer):
60 New functions.
61 (desktop-buffer-mode-handlers): Add vc-dir-mode entry.
62 * desktop.el (desktop-save-buffer-p): Treat vc-dir like dired.
63
e9df8f87
GM
64 * files.el (inhibit-local-variables-ignore-case): New. (Bug#10610)
65 (inhibit-local-variables-p): Use inhibit-local-variables-ignore-case.
66 Doc fix.
67 (inhibit-local-variables-regexps, inhibit-local-variables-suffixes):
68 Doc fixes.
69
e7c8fcc4
JB
702012-11-28 Jay Belanger <jay.p.belanger@gmail.com>
71
72 * calc/calc-forms.el (calc-date-notation): Fix regexp
73 used to find time codes. Fix symbol for seconds.
74
48d6d9c0
GM
752012-11-27 Glenn Morris <rgm@gnu.org>
76
77 * emacs-lisp/derived.el (derived-mode-make-docstring):
78 Don't mention "abbrev" or "syntax" if nil. (Bug#11277)
79
369f945d
SM
802012-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
81
82 * textmodes/table.el (table-insert): Don't use `symbol-name' on
83 lexically scoped variables (bug#13005).
84
5c9cf0a3 852012-11-27 Glenn Morris <rgm@gnu.org>
98f99594 86
999e745e
GM
87 * vc/vc-hooks.el (vc-mistrust-permissions):
88 Default to t, to avoid data-loss. (Bug#11490)
98f99594 89
5c9cf0a3 902012-11-27 Fabián Ezequiel Gallina <fgallina@cuca>
207cb73c 91
999e745e
GM
92 * progmodes/python.el (python-indent-guess-indent-offset):
93 If indentation is guessed make python-indent-offset buffer-local.
94
207cb73c 95 Fix Imenu regression.
999e745e
GM
96 * progmodes/python.el (python-nav-beginning-of-defun):
97 Fix forward movement when statement(s) separates point from defun.
207cb73c
FEG
98 (python-imenu-prev-index-position): New function.
99
5c9cf0a3 1002012-11-27 Eli Zaretskii <eliz@gnu.org>
33a488e4
EZ
101
102 * subr.el (buffer-file-type): Declare with defvar-local. Doc fix.
103
104 * dos-w32.el (find-file-not-found-set-buffer-file-coding-system):
865f7d8f 105 Don't set buffer-file-type. Return nil. (Bug#12989)
33a488e4 106
5c9cf0a3 1072012-11-27 Glenn Morris <rgm@gnu.org>
50207191
GM
108
109 * hippie-exp.el (hippie-expand-try-functions-list):
110 Re-autoload it. (Bug#12982)
111
5c9cf0a3 1122012-11-27 Eli Zaretskii <eliz@gnu.org>
2147c6ab 113
369f945d
SM
114 * descr-text.el (describe-char-padded-string):
115 Call internal-char-font only on GUI frames. (Bug#11964)
2147c6ab 116
5c9cf0a3 1172012-11-27 Andreas Schwab <schwab@linux-m68k.org>
58b1ae1e
AS
118
119 * buff-menu.el (Buffer-menu-buffer+size-width): Fix customize type
120 and obsoletion message.
121
5c9cf0a3 1222012-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
35a10516
SM
123
124 * emacs-lisp/cl-macs.el (cl--transform-lambda): Add back `declare' in
125 the constructs to keep outside of the `cl-block' (bug#12977).
126
5c9cf0a3 1272012-11-27 Chong Yidong <cyd@gnu.org>
0c5ef133
CY
128
129 * mouse.el (mouse-drag-line): Even if the line is not draggable,
130 keep reading until we get the up-event anyway, in order to process
131 the up-event for mouse-1-click-follows-link (Bug#12971).
132
848a2dd1
SM
1332012-11-26 Stefan Monnier <monnier@iro.umontreal.ca>
134
135 * emacs-lisp/advice.el (ad-should-compile): Don't compile advice if the
136 base function is not yet defined (bug#12965).
137 (ad-activate-advised-definition): Use ad-compile-function.
138 (ad-activate): Use cond.
139
9ad79506
LL
1402012-11-25 Leo Liu <sdl.web@gmail.com>
141
142 * textmodes/sgml-mode.el (sgml-tag): Fix indentation for closing tag.
143 (Bug#12979)
144
e2cb57f5
VB
1452012-11-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
146
147 * textmodes/reftex-parse.el (reftex-parse-from-file): Use variable
148 reftex-section-info-function in order to be compatible with
149 Texinfo integration.
150
151 * textmodes/reftex.el (reftex-section-pre-regexp)
848a2dd1
SM
152 (reftex-section-post-regexp, reftex-section-info-function):
153 New variable.
154 (reftex-compile-variables): Use variables reftex-section-pre-regexp,
155 reftex-section-post-regexp, and reftex-section-info-function in order
156 to be compatible with Texinfo integration.
157
158 * textmodes/reftex-toc.el (reftex-toc-promote-action):
159 use reftex-section-pre-regexp variable in order to be compatible with
e2cb57f5
VB
160 Texinfo integration.
161
1c4f115d
CY
1622012-11-25 Chong Yidong <cyd@gnu.org>
163
164 * faces.el: Make face-spec-set more analogous to setq.
165 (face-spec-set): Change the third arg to specify whether this
166 function is being called via defface, customize, or a third party.
167 Set the appropriate symbol properties. Clear the override spec if
168 setting via Custom. Initialize face if necessary. (Bug#4988)
169 (face-spec-recalc): Allow theme faces to completely replace the
170 defface spec, in the same way as custom faces (Bug#8454).
171
172 * cus-face.el (custom-declare-face): Move face initialization to
173 face-spec-set.
174 (custom-theme-set-faces): Don't initialize the face name here, as
175 that is now done in face-spec-set.
176
177 * cus-edit.el (custom-face-set, custom-face-mark-to-save)
178 (custom-face-reset-saved, custom-face-mark-to-reset-standard):
179 Simplify by using the new arg to face-spec-set.
180
181 * emacs-lisp/lisp-mode.el (eval-defun-1): When evaluating defface,
182 reset face-override-spec too, and use custom-declare-face.
183
c2350548
JD
1842012-11-24 Jan Djärv <jan.h.d@swipnet.se>
185
186 * term/ns-win.el (ns-initialize-window-system): Move creation of
187 fontsets here (Bug#11964).
188
ecfc364c
VB
1892012-11-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
190
191 * ses.el (ses-rename-cell): Correct bug on mode-line update after
192 cell renaming.
193
0917cc54
CY
1942012-11-24 Chong Yidong <cyd@gnu.org>
195
433212bf
CY
196 * woman.el (woman-default-faces, woman-monochrome-faces): Mark as
197 obsolete.
198
0917cc54
CY
199 * custom.el (custom-theme-set-variables): Use a topological sort
200 for ordering by custom dependencies (Bug#12952).
201 (custom--sort-vars, custom--sort-vars-1): New functions.
202
d125ca15 2032012-11-24 Stefan Monnier <monnier@iro.umontreal.ca>
002c019c
SM
204
205 * emacs-lisp/bytecomp.el (byte-compile-file): Setup default value for
206 lexical-binding (bug#12938).
207
d125ca15 2082012-11-24 Wolfgang Jenkner <wjenkner@inode.at>
977f9325
WJ
209
210 * image-mode.el (image-transform-check-size): Use assertions only
211 for images of type imagemagick.
212
213 Otherwise no error, image-transform-fit-to-{width,height} is
214 silently ignored, as before. Doc fix.
215
d125ca15 2162012-11-24 Chong Yidong <cyd@gnu.org>
bccffa83
CY
217
218 * faces.el (color-defined-p): Doc fix (Bug#12853).
219
d125ca15 2202012-11-24 Juri Linkov <juri@jurta.org>
61a2a122
JL
221
222 * dired.el (dired-mark): Add optional arg `interactive'.
223 Check for `use-region-p' if `interactive' is non-nil.
224 (dired-unmark, dired-flag-file-deletion): Add optional arg
225 `interactive'. Call `dired-mark' with the arg `interactive'.
226 (Bug#10624)
227
cc4c01bd
JL
228 * wdired.el: Revert 2012-10-17 change partly and replace it with
229 Patch by Christopher Schmidt <christopher@ch.ristopher.com>.
230 (wdired-finish-edit): Add marks for new file names to
231 `wdired-old-marks'. Restore marks using `dired-mark-remembered'
232 after `revert-buffer'.
233 (wdired-do-renames): Remove calls to `dired-remove-file',
234 `dired-add-file', `dired-add-entry'. (Bug#11795)
235
d125ca15 2362012-11-24 Alan Mackenzie <acm@muc.de>
b03aabda 237
dc310ed0
AM
238 * progmodes/cc-defs.el (c-version): Bump to 5.32.4.
239
b03aabda
AM
240 Fix bugs in the state cache. Enhance a debugging mechanism.
241 * progmodes/cc-engine.el (c-parse-state-get-strategy): Don't use
242 "brace at column zero" strategy for C++.
243 (c-append-lower-brace-pair-to-state-cache): Repair algorithm.
244 (c-parse-state-point): New variable.
245 (c-record-parse-state-state): Record old parse state with
246 `copy-tree'. Record previous value of point.
247 (c-debug-parse-state-double-cons): New debugging function.
248 (c-debug-parse-state): Call the above new function.
249 (c-toggle-parse-state-debug): Output a confirmatory message.
250
002c019c
SM
251 * progmodes/cc-mode.el (c-before-change, c-after-change):
252 Call c-invalidate-state-cache from `c-before-change' instead of
b03aabda
AM
253 `c-after-change'.
254
930a6273
CY
2552012-11-23 Chong Yidong <cyd@gnu.org>
256
257 * find-cmd.el (find-constituents): Add executable, ipath,
258 readable, samefile, writable, daystart, regextype (Bug#12856).
259
15c9d04e
SM
2602012-11-23 Stefan Monnier <monnier@iro.umontreal.ca>
261
262 * emacs-lisp/ert.el, emacs-lisp/ert-x.el: Use cl-lib and lexical-binding.
263
2ecb2679
PE
2642012-11-22 Paul Eggert <eggert@cs.ucla.edu>
265
266 * calc/calc.el (calc-gregorian-switch): Move to after calc-refresh
267 definition. This fixes a bootstrap failure.
a14a5a40
PE
268 (calc-gregorian-switch): In menu, put dates before regions.
269 This is easier to follow, lines up better in the menu, and lets us
270 coalesce regions that switch at the same time. Give country
15c9d04e
SM
271 names, not "Vatican", as that's better for non-expert users.
272 Use names that are stable between the date of switch and now, e.g.,
a14a5a40
PE
273 Bohemia and Moravia (which existed then and now) and not
274 Czechoslovakia (which didn't exist then and doesn't exist now).
275 What is now the U.S. mostly did not switch at the same time as
276 Britain, so omit the U.S. Correct spelling of "Britain".
277 Catholic Switzerland was too much of a mess, so omit it.
2ecb2679 278
723da6aa
JB
2792012-11-22 Jay Belanger <jay.p.belanger@gmail.com>
280
281 * calc/calc.el (calc-gregorian-switch): Refresh the Calc buffer
282 after the variable is changed.
283
21fa2482
DC
2842012-11-21 Daniel Colascione <dancol@dancol.org>
285
286 * progmodes/sql.el (sql-mode-font-lock-object-name): Support IF NOT EXISTS
b6096e85
DC
287 in SQL declarations for font-lock.
288 (sql-imenu-generic-expression): Teach imenu about IF NOT EXISTS.
21fa2482 289
3ca2f1bf
GM
2902012-11-21 Glenn Morris <rgm@gnu.org>
291
1bf335cf
GM
292 * faces.el (face-underline-p, face-inverse-video-p, face-bold-p)
293 (face-italic-p): Add optional argument "inherit".
294
3ca2f1bf
GM
295 * faces.el (set-face-inverse-video, set-face-bold, set-face-italic):
296 Remove -p suffix from names, for consistency with other set-face-*.
297 (set-face-inverse-video): Fix interactive spec.
298 * play/gamegrid.el (gamegrid-make-mono-tty-face):
299 * textmodes/table.el (table--update-cell-face):
300 Use set-face-inverse-video rather than now obsolete alias.
301
6ef2e5ef 3022012-11-21 Eli Zaretskii <eliz@gnu.org>
7cf95797
EZ
303
304 * simple.el (line-move): Don't call line-move-partial if
305 scroll-conservatively is in effect. (Bug#12927)
306
6ef2e5ef 3072012-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
63f25172 308
93b05041
SM
309 * eshell/em-cmpl.el (eshell-pcomplete): Refine fix for bug#12838:
310 Fallback on completion-at-point rather than
311 pcomplete-expand-and-complete, and only if pcomplete actually failed.
312 (eshell-cmpl-initialize): Setup completion-at-point.
313
314 * pcomplete.el (pcomplete--entries): Obey pcomplete-ignore-case.
315
bc715d67
SM
316 * emacs-lisp/ert.el (ert--expand-should-1): Adapt to cl-lib.
317
6ef2e5ef 3182012-11-21 Michael Albinus <michael.albinus@gmx.de>
d7f2a65c
MA
319
320 * net/tramp-sh.el (tramp-do-copy-or-rename-file): If both files
321 are remote, check out-of-band property for both.
322
6ef2e5ef 3232012-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
d1c0cddf
SM
324
325 * window.el (switch-to-buffer): Re-add the warning that was lost in the
326 code rewrite.
327
6ef2e5ef 3282012-11-21 Paul Eggert <eggert@cs.ucla.edu>
0c93aa38 329
535efd4a
PE
330 More minor time fixes.
331 * calendar/time-date.el: Commentary fix.
332 * net/tramp-sh.el (tramp-do-file-attributes-with-ls): Undo last change;
333 too much other code depends on (0 0) time stamps.
334 * net/tramp.el (tramp-time-less-p, tramp-time-subtract):
335 Add a couple of FIXME comments.
336
0c93aa38
PE
337 Minor cleanup for times as lists of four integers.
338 * files.el (dir-locals-directory-cache):
339 * ps-bdf.el (bdf-file-mod-time, bdf-read-font-info):
340 Doc fixes.
341 * net/tramp-sh.el (tramp-do-file-attributes-with-ls):
342 * ps-bdf.el (bdf-file-newer-than-time):
343 Process four-integers time stamps, not two. Doc fixes.
344
23ba2705
SM
3452012-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
346
2e31777b
SM
347 * uniquify.el (uniquify-managed): Use defvar-local.
348 (rename-buffer, create-file-buffer): Advise with advice-add.
349 (uniquify-unload-function): Unadvise accordingly.
350
8b62d742
SM
351 * emacs-lisp/trace.el: Rewrite, use nadvice and lexical-binding.
352 (trace-buffer): Don't purecopy.
353 (trace-entry-message, trace-exit-message): Add `context' arg.
354 (trace--timer): New var.
355 (trace-make-advice): Adjust for use in nadvice.
356 Add `context' argument. Delay `display-buffer' via a timer.
357 (trace-function-internal): Use advice-add.
358 (trace--read-args): New function.
359 (trace-function-foreground, trace-function-background): Use it.
360 (trace-function): Rename to trace-function-foreground and redefine as
361 an alias to that new name.
362 (untrace-function, untrace-all): Adjust to the use of nadvice.
363
5d0ccd95
SM
364 * emacs-lisp/bytecomp.el (byte-compile): Fix handling of closures.
365
3837d988
SM
366 * emacs-lisp/byte-run.el (defun-declarations-alist): Fix last change.
367
23ba2705
SM
368 * subr.el (called-interactively-p-functions): New var.
369 (internal--called-interactively-p--get-frame): New macro.
370 (called-interactively-p, interactive-p): Rewrite in Lisp.
371 * emacs-lisp/nadvice.el (advice--called-interactively-skip): New fun.
372 (called-interactively-p-functions): Use it.
373 * emacs-lisp/edebug.el (edebug--called-interactively-skip): New fun.
374 (called-interactively-p-functions): Use it.
375 * allout.el (allout-called-interactively-p): Don't assume
376 called-interactively-p is a subr.
377
b0636be7
GM
3782012-11-20 Glenn Morris <rgm@gnu.org>
379
380 * profiler.el (profiler-report-mode-map): Add a menu.
381 No need to bind `q' because we derive from special-mode.
382 (profiler-report-find-entry): Handle calls from the menu-bar.
383
855b17af
SM
3842012-11-19 Stefan Monnier <monnier@iro.umontreal.ca>
385
14146222
SM
386 * emacs-lisp/byte-run.el (defun-declarations-alist):
387 Allow a compiler-macro to be a lambda expression.
388
389 * progmodes/python.el: Use cl-lib. Move var declarations outside of
390 eval-when-compile.
391 (python-syntax-context): Add compiler-macro.
392 (python-font-lock-keywords): Simplify with De Morgan.
393
1000d895
SM
394 * vc/diff-mode.el (diff-hunk): Don't make useless timers.
395
ac5392dc
SM
396 * files.el (load-file): Require match in minibuffer selection, as was
397 the case in Emacs-20 before we changed the spec to allow .elc files
398 (bug#12935).
399
19dc7206
SM
400 * json.el: Don't require cl since we don't use it.
401 * color.el: Don't require cl.
402 (color-complement): `caddr' -> `nth 2'.
403
855b17af
SM
404 * calendar/time-date.el (time-to-seconds): De-obsolete.
405
e8909bdc
JB
4062012-11-19 Jay Belanger <jay.p.belanger@gmail.com>
407
408 * calc/calc-forms.el (math-leap-year-p): Fix formula for negative
409 year numbers.
410 (math-date-to-julian-dt): Adjust the initial approximation for the
411 year to deal with the new definition of the DATE.
412
6e9f7997
DC
4132012-11-19 Daniel Colascione <dancol@dancol.org>
414
855b17af
SM
415 * term/w32-win.el (cygwin-convert-path-from-windows):
416 Accomodate rename of cygwin_convert_path* to cygwin_convert_file_name*.
6e9f7997 417
6a3dd257
CY
4182012-11-18 Chong Yidong <cyd@gnu.org>
419
420 * filecache.el (file-cache--read-list): New function.
421 (file-cache-add-directory-list, file-cache-add-file-list)
422 (file-cache-delete-file-list, file-cache-delete-directory-list):
423 Use it to read a list of files or directories (Bug#12846).
424 (file-cache-add-file, file-cache-add-directory)
425 (file-cache-delete-file-list, file-cache-delete-file-regexp)
426 (file-cache-delete-directory): Print an message.
427
eef97f35
JB
4282012-11-18 Jay Belanger <jay.p.belanger@gmail.com>
429
430 * calc/calc-forms.el (math-date-to-dt): Use integer date when
431 calling `math-date-to-julian-dt' and 'math-date-to-gregorian-dt'.
432
913c8291
GM
4332012-11-18 Glenn Morris <rgm@gnu.org>
434
435 * image.el (insert-image, insert-sliced-image): Doc fix.
436
2ac9538d 4372012-11-18 Chong Yidong <cyd@gnu.org>
ec6f8ce6
CY
438
439 * emacs-lisp/syntax.el (syntax-propertize-function): Doc fix
440 (Bug#12810).
441
2ac9538d 4422012-11-18 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
c2d07557
CY
443
444 * vc/vc-svn.el (vc-svn-merge-news): Properly parse the merge
445 response when the target file is in a subdirectory (Bug#12757).
446
2ac9538d 4472012-11-18 Chong Yidong <cyd@gnu.org>
33f8917c
CY
448
449 * filecache.el (file-cache-add-file-list): Doc fix (Bug#12694).
450
2ac9538d 4512012-11-18 Glenn Morris <rgm@gnu.org>
65463c40 452
9a5e2ee3
GM
453 * emacs-lisp/cl-lib.el (face-underline-p):
454 Use set-face-underline rather than the alias set-face-underline-p.
455
65463c40 456 * window.el (with-temp-buffer-window): Doc fix.
95f0501e
GM
457 * subr.el (with-output-to-temp-buffer):
458 Add doc xref to with-temp-buffer-window.
65463c40 459
c9ed8e3d
JB
4602012-11-18 Juanma Barranquero <lekktu@gmail.com>
461
462 * woman.el (woman-non-underline-faces): Use `set-face-underline'.
463 * calc/calc.el (math-format-date-cache): Declare.
464
310e60d9
PE
4652012-11-17 Paul Eggert <eggert@cs.ucla.edu>
466
6f6b82d6
PE
467 Calc by default uses the Gregorian calendar for all dates (Bug#12633).
468 It also uses January 1, 1 AD as its day number 1.
310e60d9 469 * calc/calc-forms.el (math-julian-date-beginning)
6f6b82d6 470 (math-julian-date-beginning-int): Implement this.
310e60d9 471
d7fe6352
JB
4722012-11-17 Juanma Barranquero <lekktu@gmail.com>
473
474 * descr-text.el (quail-find-key):
475 * dired.el (desktop-file-name):
476 * dirtrack.el (shell-prefixed-directory-name, shell-process-cd):
477 * generic-x.el (comint-mode, comint-exec):
478 * image-dired.el (widget-forward):
479 * info.el (speedbar-add-expansion-list, speedbar-center-buffer-smartly)
480 (speedbar-change-expand-button-char)
481 (speedbar-change-initial-expansion-list, speedbar-delete-subblock)
482 (speedbar-make-specialized-keymap, speedbar-make-tag-line):
483 * printing.el (easy-menu-add-item, easy-menu-remove-item)
484 (widget-field-action, widget-value-set):
485 * speedbar.el (imenu--make-index-alist):
486 * term.el (ring-empty-p, ring-ref, ring-insert-at-beginning)
487 (ring-length, ring-insert):
488 * vcursor.el (compare-windows-skip-whitespace):
489 * woman.el (dired-get-filename):
490 Declare functions.
491
492 * term/w32-win.el (cygwin-convert-path-from-windows): Fix declaration.
493
c9f618db
JB
4942012-11-17 Jay Belanger <jay.p.belanger@gmail.com>
495
496 * calc/calc.el (calc-gregorian-switch): New variable.
497
498 * calc/calc-forms.el (math-day-in-year, math-dt-before-p)
499 (math-absolute-from-gregorian-dt, math-absolute-from-julian-dt)
500 (math-date-to-julian-dt, math-date-to-gregorian-dt): New functions.
501 (math-leap-year-p): Add option to distinguish between Julian
502 and Gregorian calendars.
503 (math-day-number): Use `math-day-in-year' to do the computations.
504 (math-absolute-from-dt): Rename from `math-absolute-from-date'.
505 Use `math-absolute-from-gregorian' and `math-absolute-from-julian'
506 to do the computations.
507 (math-date-to-dt): Use `math-date-to-julian-dt' and
508 `math-date-to-gregorian-dt' to do the computations.
509 (calcFunc-weekday, math-format-date-part): Use the new version of
510 the DATE to determine the weekday.
511 (calcFunc-newmonth, calcFunc-newyear): Use `calc-gregorian-switch'
512 when necessary.
513
3804f7bc
EZ
5142012-11-17 Eli Zaretskii <eliz@gnu.org>
515
516 * term/w32-win.el (w32-handle-dropped-file): Use 'file://' only on
517 Cygwin; otherwise use 'file:'. (Bug#12914)
518 (cygwin-convert-path-from-windows): Declare, to avoid
519 byte-compiler warnings.
520
de959d4d
AP
5212012-11-17 Andreas Politz <politza@fh-trier.de>
522
523 * ibuffer.el (ibuffer-mark-forward, ibuffer-unmark-forward)
524 (ibuffer-unmark-backward, ibuffer-mark-interactive): Support plain
525 prefix and negative numeric prefix args (Bug#12795).
526
e45deaef
SB
5272012-11-17 Stephen Berman <stephen.berman@gmx.net>
528
529 * play/gamegrid.el (gamegrid-add-score-with-update-game-score-1):
530 Don't signal an error with a score that is too low to add to the
531 list of top scores. (Bug#12779)
532
ec15e0ff
CY
5332012-11-17 Chong Yidong <cyd@gnu.org>
534
8e7696a1
CY
535 * help-mode.el (help-xref-interned): End on point-min (Bug#12737).
536
ec15e0ff
CY
537 * filecache.el (file-cache-add-file): Handle relative file name in
538 the argument (Bug#12694).
539
60c4ee66
JH
5402012-11-16 Jürgen Hötzel <juergen@archlinux.org> (tiny change)
541
542 * eshell/em-unix.el (eshell/mkdir): Handle "--parents" (bug#12897).
543
cdc5d88c
SM
5442012-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
545
dd0c5bbb
SM
546 * emacs-lisp/advice.el (ad-make-advised-definition): Improve last fix.
547
cdc5d88c
SM
548 * emacs-lisp/cl-lib.el: Set more meaningful version number.
549
0ff7851c
MR
5502012-11-16 Martin Rudalics <rudalics@gmx.at>
551
552 * window.el (enlarge-window, shrink-window): Don't mention return
553 value in doc-string (Bug#12896).
554 (window--display-buffer): Don't resize frames - it won't work
555 with all window managers and defeat pop-up-frame-alist.
556 (display-buffer-alist): In doc-string explain that CONDITION can
557 be a function and which arguments are passed to it (Bug#12854).
558 (display-buffer-assq-regexp): New argument ACTION. Handle lambda
559 expressions (Bug#12854).
560 (display-buffer): Pass ACTION argument to
561 display-buffer-assq-regexp.
562
dedd1884
GM
5632012-11-16 Glenn Morris <rgm@gnu.org>
564
7c82753d
GM
565 * window.el (fit-frame-to-buffer-bottom-margin)
566 (fit-frame-to-buffer, fit-window-to-buffer): Doc fixes.
567
dedd1884
GM
568 * faces.el (face-underline-p): Use face-attribute-specified-or.
569
96e05507 5702012-11-16 Juanma Barranquero <lekktu@gmail.com>
662b0ee6
JB
571
572 * emacs-lisp/cl-macs.el (cl-loop, cl-do, cl-do*): Doc fixes.
573
96e05507 5742012-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
eb31fa40
SM
575
576 * emacs-lisp/cl-macs.el (cl-flet, cl-flet*): Fix docstring (bug#12895).
577
96e05507 5782012-11-16 Glenn Morris <rgm@gnu.org>
e2e13f18 579
17c083ac
GM
580 * eshell/em-cmpl.el (eshell-pcomplete): New command. (Bug#12838)
581 (eshell-cmpl-initialize): Bind eshell-pcomplete to TAB, C-i.
582
bde3c6c0
GM
583 * faces.el (face-underline-p): Doc fix. Handle :underline being
584 things other than `t' (a string, a list).
585 (face-inverse-video-p): Doc fix.
586 (set-face-underline): Rename it back from set-face-underline-p.
587 Doc fix. Allow interactive input of values other than t.
588 (read-face-attribute): Apply formatting to :underline,
589 since like :box and :stipple it can take list values.
590
e2e13f18
GM
591 * term.el (ansi-term): Don't let C-x escape-char binding
592 clobber the more standard C-c binding. (Bug#12842)
593
e0ea8060
GM
594 * subr.el (set-temporary-overlay-map): Doc fix.
595
96e05507 5962012-11-16 Martin Rudalics <rudalics@gmx.at>
92346275
MR
597
598 * window.el (record-window-buffer)
599 (display-buffer-record-window): When copying the markers to
600 window-point preserve window-point-insertion-type. (Bug#12588)
601
96e05507 6022012-11-16 Glenn Morris <rgm@gnu.org>
7b1bf173
GM
603
604 * emacs-lisp/eieio-datadebug.el (eieio-debug-methodinvoke):
605 * net/tramp-gvfs.el (tramp-gvfs-dbus-event-error):
606 Use new names for hooks rather than obsolete aliases.
607
faeafc01
DC
6082012-11-15 Daniel Colascione <dancol@dancol.org>
609
610 * term/w32-win.el (w32-handle-dropped-file): Use a "file://"
9533048d
DC
611 prefix instead of "file:" so that when FILE-NAME begins with "//",
612 as it does when the target file is on a network share, url-handler
613 isn't confused.
614
1232d6c2
SM
6152012-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
616
617 * emacs-lisp/advice.el (ad-definition-type): Make sure we don't use
618 a preactivated advice from an old advice.el; they're not compatible!
619
47f01a8a
KY
6202012-11-15 Katsumi Yamaoka <yamaoka@jpl.org>
621
622 * emacs-lisp/nadvice.el (advice--make-interactive-form):
623 Fix string-spec case.
624
625 * emacs-lisp/advice.el (ad-make-advised-definition): Fix undefined case.
626
a61428c4
SM
6272012-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
628
629 * emacs-lisp/nadvice.el: Add buffer-local support to add-function.
630 (advice--buffer-local-function-sample): New var.
631 (advice--set-buffer-local, advice--buffer-local): New functions.
632 (add-function, remove-function): Use them.
633
875ce3a7
DA
6342012-11-15 Drew Adams <drew.adams@oracle.com>
635
636 * imenu.el (imenu--split-submenus): Use imenu--subalist-p (bug#12717).
637
589fc479
SM
6382012-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
639
640 * emacs-lisp/cl-macs.el (cl--transform-lambda): Defend against
641 potential binding of print-gensym to t, and prettify (back)quotes in
642 case they appear in args's default values (bug#12884).
643
1668ea90
SM
6442012-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
645
646 * emacs-lisp/nadvice.el: Add around advice for interactive specs.
647 (advice-eval-interactive-spec): New function.
648 (advice--make-interactive-form): Support around advice (bug#12844).
649
8619323f
DG
6502012-11-14 Dmitry Gutov <dgutov@yandex.ru>
651
652 * progmodes/ruby-mode.el (ruby-expr-beg): Make heredoc detection
653 more strict. Add docstring.
c62792e7
DG
654 (ruby-expression-expansion-re): Extract from
655 `ruby-match-expression-expansion'.
656 (ruby-syntax-propertize-function): After everything else, search
657 for expansions in string literals, mark their insides as
658 whitespace syntax and save match data for font-lock.
659 (ruby-font-lock-keywords): Use the 2nd group from expression
660 expansion matches.
661 (ruby-match-expression-expansion): Use the match data saved to the
662 text property in ruby-syntax-propertize-function.
8619323f 663
9c3912d3
SM
6642012-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
665
666 * emacs-lisp/gv.el (setf): Fix debug spec for multiple assignments
667 (bug#12879).
668
5e9419e8
DG
6692012-11-13 Dmitry Gutov <dgutov@yandex.ru>
670
671 * progmodes/ruby-mode.el (ruby-move-to-block): Looks for a block
672 start/end keyword a bit harder. Works with different values of N.
673 Add more comments.
674 (ruby-end-of-block): Update accordingly.
675
3c442f8b
SM
6762012-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
677
fa470af0
SM
678 * woman.el (woman-file-name): Don't mess with unread-command-events
679 (bug#12861).
680
3c442f8b
SM
681 * emacs-lisp/advice.el: Layer on top of nadvice.el.
682 Remove out of date self-require hack.
683 (ad-do-advised-functions): Use simple `dolist'.
684 (ad-advice-name, ad-advice-protected, ad-advice-enabled)
685 (ad-advice-definition): Redefine as functions.
686 (ad-advice-classes): Move before first use.
687 (ad-make-origname, ad-set-orig-definition, ad-clear-orig-definition)
fa470af0 688 (ad-make-mapped-call, ad-make-advised-docstring,ad-make-plain-docstring)
3c442f8b 689 (ad--defalias-fset): Remove functions.
fa470af0 690 (ad-make-advicefunname, ad-clear-advicefunname-definition): New funs.
3c442f8b
SM
691 (ad-get-orig-definition): Rewrite.
692 (ad-make-advised-definition-docstring): Change base docstring.
693 (ad-real-orig-definition): Rewrite.
694 (ad-map-arglists): Change name of called function.
695 (ad--make-advised-docstring): Redirect `function' from ad-Advice-...
696 (ad-make-advised-definition): Simplify.
697 (ad-assemble-advised-definition): Tweak for new calling context.
fa470af0 698 (ad-activate-advised-definition): Setup ad-Advice-* i.s.o ad-Orig-*.
3c442f8b
SM
699 (ad--defalias-fset): Rename from ad-handle-definition. Make it set the
700 function and call ad-activate if needed.
701 (ad-activate, ad-deactivate): Don't call ad-handle-definition any more.
702 (ad-recover): Clear ad-Advice-* instead of ad-Orig-*.
703 (ad-compile-function): Compile ad-Advice-*.
704 (ad-activate-on-top-level, ad-with-auto-activation-disabled): Remove.
705 (ad-start-advice, ad-stop-advice): Remove.
706
5745cae6
DG
7072012-11-13 Dmitry Gutov <dgutov@yandex.ru>
708
709 * progmodes/ruby-mode.el (ruby-add-log-current-method): Print the
710 period before class method names, not after. Remove handling of
711 one impossible case. Add comments.
712
413d4689
SM
7132012-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
714
7db1bda8
SM
715 * emacs-lisp/advice.el: Remove support for freezing.
716 (ad-make-freeze-docstring, ad-make-freeze-definition): Remove functions.
717 (ad-make-single-advice-docstring, ad-defadvice-flags, defadvice):
718 Remove support for `freeze'.
719
413d4689
SM
720 * emacs-lisp/cl.el (dolist, dotimes, declare): Use advice-add to
721 override the default.
722 * emacs-lisp/cl-macs.el (cl-dolist, cl-dotimes): Rewrite without using
723 cl--dotimes/dolist.
724 * subr.el (dolist, dotimes, declare): Redefine them normally, even when
725 `cl' is loaded.
726
727 * emacs-lisp/nadvice.el (advice--normalize): New function, extracted
728 from add-advice.
729 (advice--strip-macro): New function.
730 (advice--defalias-fset): Use them to handle macros.
731 (advice-add): Use them.
732 (advice-member-p): Correctly handle macros.
733
f178c32d
DG
7342012-11-13 Dmitry Gutov <dgutov@yandex.ru>
735
7db1bda8
SM
736 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
737 Never font-lock the beginning of singleton class as heredoc.
f178c32d 738
f78ee6af 7392012-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
f8705f6e
SM
740
741 * emacs-lisp/gv.el (gv-define-simple-setter): One more fix (bug#12871).
742
f78ee6af 7432012-11-13 Wolfgang Jenkner <wjenkner@inode.at>
9db94175
WJ
744
745 * ansi-color.el (ansi-color-apply-sequence): Implement SGR codes
f78ee6af
GM
746 39 and 49 (bug#12792). Also, treat unimplemented parameters as 0,
747 thereby restoring the behavior of revisions prior to 2012-08-15T03:33:55Z!monnier@iro.umontreal.ca.
9db94175 748
f78ee6af 7492012-11-13 Fabián Ezequiel Gallina <fgallina@cuca>
2e6625b5
FEG
750
751 Fix end-of-defun misbehavior.
752 * progmodes/python.el (python-nav-beginning-of-defun): Rename from
753 python-beginning-of-defun-function. Handle nested defuns
754 correctly.
755 (python-nav-end-of-defun): Rename from
756 python-end-of-defun-function. Ensure forward movement.
f8705f6e 757 (python-info-current-defun): Reimplement to work as intended
2e6625b5
FEG
758 with new fixed python-nav-{end,beginning}-of-defun. Stop scanning
759 parent defuns as soon as possible.
760
f78ee6af 7612012-11-13 Glenn Morris <rgm@gnu.org>
24c38527
GM
762
763 * progmodes/flymake.el (flymake-error-bitmap)
764 (flymake-warning-bitmap, flymake-fringe-indicator-position): Doc fixes.
765 (flymake-error-bitmap, flymake-warning-bitmap): Fix :types.
766
f78ee6af 7672012-11-13 Dmitry Gutov <dgutov@yandex.ru>
d1e1e53d
DG
768
769 * progmodes/ruby-mode.el (ruby-move-to-block): When moving
770 backward, always stop at indentation. Reverts the change from
771 2012-08-12T22:06:56Z!monnier@iro.umontreal.ca (Bug#12851).
772
f78ee6af 7732012-11-13 Glenn Morris <rgm@gnu.org>
68146aa5 774
a1d3e07e
GM
775 * ibuffer.el (ibuffer-mode-map, ibuffer-mode):
776 Add ibuffer-filter-by-derived-mode.
777
84acf328
GM
778 * ibuffer.el (ibuffer-mode-map): Don't have two menu items with
779 the same name shadowing each other.
780
38785e75
GM
781 * window.el (with-temp-buffer-window): Doc tweak.
782
57fc0fee
GM
783 * emacs-lisp/debug.el (debugger-bury-or-kill): Doc tweak.
784
6ba6a3e5
GM
785 * help.el (temp-buffer-max-height):
786 * window.el (fit-frame-to-buffer, fit-frame-to-buffer-bottom-margin):
68146aa5
GM
787 * emacs-lisp/debug.el (debugger-bury-or-kill): Fix :version.
788
231d8498
SM
7892012-11-12 Stefan Monnier <monnier@iro.umontreal.ca>
790
791 * emacs-lisp/nadvice.el: New package.
792 * subr.el (special-form-p): New function.
793 * emacs-lisp/elp.el: Use lexical-binding and advice-add.
794 (elp-all-instrumented-list): Remove var.
795 (elp-not-profilable): Remove elp-wrapper.
796 (elp-profilable-p): Use autoloadp and special-form-p.
797 (elp--advice-name): New const.
798 (elp-instrument-function): Use advice-add.
799 (elp--instrumented-p): New predicate.
800 (elp-restore-function): Use advice-remove.
801 (elp-restore-all, elp-reset-all): Use mapatoms.
802 (elp-set-master): Use elp--instrumented-p.
803 (elp--make-wrapper): Rename from elp-wrapper, return a function
804 suitable for advice-add. Use cl-inf.
805 (elp-results): Use mapatoms+elp--instrumented-p.
806 * emacs-lisp/debug.el: Use lexical-binding and advice-add.
807 (debug-function-list): Remove var.
808 (debug): Rename arg, and then let-bind it explicitly inside.
809 (debugger-setup-buffer): Rename arg.
810 (debugger-setup-buffer): Adjust counts to new debug-on-entry setup.
811 (debugger-frame-number): Adjust to new debug-on-entry setup.
812 (debug--implement-debug-on-entry): Rename from
813 implement-debug-on-entry, add argument.
814 (debugger-special-form-p): Remove, use special-form-p instead.
815 (debug-on-entry): Use advice-add.
816 (debug--function-list): New function.
817 (cancel-debug-on-entry): Use it, along with advice-remove.
818 (debug-arglist, debug-convert-byte-code, debug-on-entry-1): Remove.
819 (debugger-list-functions): Use debug--function-list instead of
820 debug-function-list.
821 * emacs-lisp/advice.el (ad-save-real-definition): Remove, unused.
822 (ad-special-form-p): Remove, use special-form-p instead.
823 (ad-set-advice-info): Use add-function and remove-function.
824 (ad--defalias-fset): Adjust accordingly.
825
19e09879
GM
8262012-11-10 Glenn Morris <rgm@gnu.org>
827
714cebd1
GM
828 * mail/emacsbug.el (report-emacs-bug-tracker-url)
829 (report-emacs-bug-bug-alist, report-emacs-bug-choice-widget)
830 (report-emacs-bug-create-existing-bugs-buffer)
831 (report-emacs-bug-parse-query-results)
832 (report-emacs-bug-query-existing-bugs): Remove. (Bug#7449)
833
bf67dafa
GM
834 * term.el (term-default-fg-color, term-default-bg-color):
835 Make obsolete, rather than just saying "deprecated" in the doc.
836
19e09879
GM
837 * term.el (term): Rename from `term-face'.
838 (term-current-face, ansi-term-color-vector)
839 (term-default-fg-color, term-default-bg-color, term-ansi-reset):
840 Update all users.
841
6baf66d5 8422012-11-10 Jan Djärv <jan.h.d@swipnet.se>
531bdce6
JD
843
844 * server.el (server-create-window-system-frame): Handle Nextstep
845 specially (Bug#12780).
846
6baf66d5 8472012-11-10 Glenn Morris <rgm@gnu.org>
fedb154e
GM
848
849 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs):
850 Unautoload, and make obsolete. (Bug#7449)
851
6baf66d5 8522012-11-10 Chong Yidong <cyd@gnu.org>
9d9e48d9
CY
853
854 * vc/diff-mode.el (diff-delete-trailing-whitespace): Rewrite, and
855 rename from diff-remove-trailing-whitespace (Bug#12831).
856
6baf66d5 8572012-11-10 Stefan Monnier <monnier@iro.umontreal.ca>
32170f7f
SM
858
859 * emacs-lisp/advice.el: Require `cl-lib' at run-time to fix
860 miscompilation of trace.el.
861
6baf66d5 8622012-11-10 Glenn Morris <rgm@gnu.org>
26f59676
GM
863
864 * vc/diff-mode.el (diff-remove-trailing-whitespace): Doc fix.
865
6baf66d5 8662012-11-10 Stefan Monnier <monnier@iro.umontreal.ca>
41626722
SM
867
868 * emacs-lisp/gv.el (gv-define-simple-setter): Fix last change
869 (bug#12812).
870
6baf66d5 8712012-11-10 Chong Yidong <cyd@gnu.org>
7d806bfe
CY
872
873 * minibuf-eldef.el (minibuffer-eldef-shorten-default): Convert to
874 a defcustom with an appropriate :set function.
875 (minibuffer-default--in-prompt-regexps): New function.
876
6baf66d5 8772012-11-10 Glenn Morris <rgm@gnu.org>
2ee1d59f 878
031b2ea7
GM
879 * emacs-lisp/cl.el (define-setf-expander, defsetf)
880 (define-modify-macro): Doc fixes.
881
2ee1d59f
GM
882 * emacs-lisp/gv.el (gv-letplace): Fix doc typo.
883 (gv-define-simple-setter): Update doc of `fix-return'.
884
6baf66d5 8852012-11-10 Stefan Monnier <monnier@iro.umontreal.ca>
d57c286e 886
b715ed44
SM
887 * emacs-lisp/gv.el (gv-define-simple-setter): Don't evaluate `val'
888 twice when `fix-return' is set (bug#12813).
889
d57c286e
SM
890 * emacs-lisp/cl.el (defsetf): Pass the third arg to
891 gv-define-simple-setter (bug#12812).
892
c9cac599
SM
893 * woman.el (woman-decode-region): Disable adaptive-fill when rendering
894 (bug#12756).
895
6baf66d5 8962012-11-10 Glenn Morris <rgm@gnu.org>
6b3770fb
GM
897
898 * emacs-lisp/gv.el (gv-define-setter): Fix doc typo.
899
5593ed90
GM
900 * emacs-lisp/cl-extra.el (cl-prettyexpand):
901 * emacs-lisp/cl-lib.el (cl-proclaim, cl-declaim):
902 * emacs-lisp/cl-macs.el (cl-destructuring-bind, cl-locally)
903 (cl-the, cl-compiler-macroexpand): Add basic doc strings.
904
905 * emacs-lisp/cl-extra.el (cl-maplist, cl-mapcan): Doc fix.
906
05a859c1
LL
9072012-11-10 Leo Liu <sdl.web@gmail.com>
908
909 * ido.el (ido-set-matches-1): Improve flex matching performance by
910 removing backtracking in the regexp (suggested by Stefan). (Bug#12796)
911
32e5c58c
SM
9122012-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
913
914 * emacs-lisp/advice.el (ad-set-advice-info): Set defalias-fset-function.
915 (ad--defalias-fset): New function.
916 (ad-safe-fset): Remove.
917 (ad-make-freeze-definition): Use cl-letf*.
918
f5925cd9
SM
9192012-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
920
da03ef8a
SM
921 * subr.el (dolist): Don't bind VAR in RESULT.
922
6858633a
SM
923 * emacs-lisp/advice.el: Miscellaneous cleanup. Use lexical-binding.
924 (fset, documentation): Don't save real def since we don't advise.
925 (ad-do-advised-functions): Remove problematic `result-form'.
926 (ad-safe-fset): `ad-real-fset' => `fset'.
927 (ad-read-advised-function): Don't assume that ad-do-advised-functions
928 uses CL's dolist internally.
929 (ad-arglist): Remove unused arg `name'.
930 (ad-docstring, ad-make-advised-docstring):
931 `ad-real-documentation' => `documentation'.
932 (warning-suppress-types): Declare.
933 (ad-set-arguments): Simple CSE.
934 (ad-recover-normality): Sanity check.
935
f5925cd9
SM
936 * emacs-lisp/bytecomp.el (byte-compile-out-toplevel): Don't turn
937 (funcall '(lambda ..) ..) into ((lambda ..) ..).
938
93a66b3a
VB
9392012-11-09 Vincent Belaïche <vincentb1@users.sourceforge.net>
940
941 * ses.el: symbol to coordinate mapping is made by symbol property
f5925cd9
SM
942 `ses-cell'. This means that the same mapping is done for all SES
943 sheets. That is good enough for cells with standard A1 names, but
944 not for named cell. So a hash map is added for the latter.
945 (defconst ses-localvars): Add local variable ses--named-cell-hashmap
93a66b3a
VB
946 (ses-sym-rowcol): Use hashmap for named cell.
947 (ses-is-cell-sym-p): New defun.
948 (ses-decode-cell-symbol): New defun.
f5925cd9
SM
949 (ses-create-cell-variable): Add cell to hashmap when name is not
950 A1-like.
93a66b3a
VB
951 (ses-rename-cell): Check that cell new name is not already in
952 spreadsheet with the use of ses-is-cell-sym-p
953 (ses-rename-cell): Use hash map for named cells, but accept also
954 renaming back to A1-like.
955
67dd8ad1
SM
9562012-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
957
57618ecf
SM
958 * emacs-lisp/advice.el: Use new dynamic docstrings.
959 (ad-make-advised-definition-docstring, ad-advised-definition-p):
960 Use dynamic-docstring-function instead of ad-advice-info.
961 (ad--make-advised-docstring): New function extracted from
962 ad-make-advised-docstring.
963 (ad-make-advised-docstring): Use it.
964 * progmodes/sql.el (sql--make-help-docstring): New function, extracted
965 from sql-help.
966 (sql-help): Use it with dynamic-docstring-function.
967
67dd8ad1
SM
968 * env.el (env--substitute-vars-regexp): Don't use rx (for bootstrap).
969
be883b34
SM
9702012-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
971
d41706aa
SM
972 * files.el (hack-one-local-variable--obsolete): New function.
973 (hack-one-local-variable): Use it for obsolete settings.
974
85e55412
SM
975 * subr.el (locate-user-emacs-file): If both old and new name exist, use
976 the new name.
977
be883b34
SM
978 * progmodes/js.el (js--filling-paragraph): New var.
979 (c-forward-sws, c-backward-sws, c-beginning-of-macro): Advise.
980 (js-c-fill-paragraph): Prefer advice to cl-letf so the rebinding is
981 less sneaky.
982
cabc040a
JD
9832012-11-08 Julien Danjou <julien@danjou.info>
984
985 * progmodes/ruby-mode.el (auto-mode-alist): Add Rakefile in
986 `auto-mode-alist' (Bug#12835).
987
d14bb752
SM
9882012-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
989
79b3e376
SM
990 * progmodes/perl-mode.el (perl-prettify-symbols): New defcustom.
991 (perl--prettify-symbols-alist): New const.
992 (perl--font-lock-compose-symbol, perl--font-lock-symbols-keywords):
993 New functions.
994 (perl-font-lock-keywords-2): Use them.
995 (perl-electric-noindent-p): New function.
996 (perl-mode): Use it to set up electric-indent-mode.
997 (perl-electric-terminator, perl-indent-command): Mark obsolete.
998 (perl-mode-map): Remove bindings for them.
999 (perl-imenu-generic-expression, perl-outline-level):
1000 Match functions&packages in column>0.
1001
3b11e6ac
SM
1002 * env.el (env--substitute-vars-regexp): New const.
1003 (substitute-env-vars): Use it. Add `only-defined' arg.
1004 * net/tramp.el (tramp-replace-environment-variables): Use it.
1005
784c1a7b
SM
1006 * emacs-lisp/bytecomp.el (byte-compile-initial-macro-environment):
1007 Byte-compile *before* eval in eval-and-compile.
1008 (byte-compile-log-warning): Remove redundant inhibit-read-only.
1009 (byte-compile-file-form-autoload): Don't hide actual definition.
1010 (byte-compile-maybe-guarded): Accept `functionp' as well.
1011
d14bb752
SM
1012 * emacs-lisp/gv.el (gv-ref, gv-deref): New function and macro.
1013
499a0f7a
MA
10142012-11-07 Michael Albinus <michael.albinus@gmx.de>
1015
1016 * notifications.el (notifications-get-server-information-method):
1017 New defconst.
1018 (notifications-get-capabilities): Fix docstring.
1019 (notifications-get-server-information): New defun.
1020
f0704a9a
AM
10212012-11-06 Agustín Martín Domingo <agustin.martin@hispalinux.es>
1022
1023 * textmodes/ispell.el (ispell-region): Standard re-indent for better
1024 readability.
1025
b159a1fd
AM
1026 * textmodes/ispell.el: Experimental support for support debugging.
1027 (ispell-create-debug-buffer): Create a `ispell-debug-buffer' debug
1028 buffer for ispell.
1029 (ispell-print-if-debug): New function to print stuff to
1030 `ispell-debug-buffer' if debugging is enabled.
1031 (ispell-region, ispell-process-line): Use `ispell-print-if-debug' to
1032 show some debugging info.
1033 (ispell-buffer-with-debug): New function that creates a debugging
1034 buffer and calls `ispell-buffer' with debugging enabled.
1035
056cb3a1
AM
1036 * textmodes/ispell.el (ispell-region): Do not prefix sent string by
1037 comment in autoconf mode. (Bug#12768)
1038
8e6a67b7
DA
10392012-11-06 Dmitry Antipov <dmantipov@yandex.ru>
1040
1041 * emacs-lisp/byte-opt.el (toplevel): Add compare-window-configurations,
1042 frame-first-window, frame-root-window, frame-selected-window,
1043 minibuffer-selected-window, minibuffer-window,
1044 window-absolute-pixel-edges, window-at, window-body-height,
1045 window-body-width, window-display-table, window-combination-limit,
1046 window-frame, window-fringes, window-inside-absolute-pixel-edges,
1047 window-inside-edges, window-inside-pixel-edges, window-left-child,
1048 window-left-column, window-margins, window-next-buffers,
1049 window-next-sibling, window-new-normal, window-new-total,
1050 window-normal-size, window-parameter, window-parameters, window-parent,
1051 window-pixel-edges, window-point, window-prev-buffers,
1052 window-prev-sibling, window-redisplay-end-trigger, window-scroll-bars,
1053 window-start, window-text-height, window-top-child, window-top-line,
1054 window-total-height, window-total-width and window-use-time to the list
1055 of functions without side-effects.
1056 (toplevel): Add window-valid-p to the list of error-free functions
1057 without side-effects.
1058
53fc914f
AM
10592012-11-05 Agustín Martín Domingo <agustin.martin@hispalinux.es>
1060
f5925cd9
SM
1061 * textmodes/ispell.el (ispell-program-name):
1062 Update spellchecker parameters when customized.
53fc914f 1063
9749e2b0
GM
10642012-11-04 Glenn Morris <rgm@gnu.org>
1065
1066 * vc/vc-svn.el (vc-svn-state-heuristic): Avoid calling svn. (Bug#7850)
1067
2cbafa56
CY
10682012-11-04 Chong Yidong <cyd@gnu.org>
1069
1070 * bookmark.el (bookmark-bmenu-switch-other-window): Avoid binding
1071 same-window-* variables.
1072
85178ca1
JL
10732012-11-04 Juri Linkov <juri@jurta.org>
1074
1075 * isearch.el (isearch-help-for-help, isearch-describe-bindings)
1076 (isearch-describe-key, isearch-describe-mode): Use a display
1077 action instead of binding same-window-* variables (Bug#10040).
1078
5c677d44
GM
10792012-11-03 Glenn Morris <rgm@gnu.org>
1080
49138400
GM
1081 * emacs-lisp/cl-macs.el (cl-parse-loop-clause):
1082 Rename handler properties back from cl-- to cl-. (Bug#12788)
1083
5c677d44
GM
1084 * emacs-lisp/cl-macs.el (cl-do-all-symbols): Add doc string.
1085
1d4341f9
EZ
10862012-11-03 Eli Zaretskii <eliz@gnu.org>
1087
1088 * term/pc-win.el: Don't load term/internal from here.
1089
1090 * loadup.el: Load term/internal from here.
1091
12fd5ee1
FEG
10922012-11-03 Fabián Ezequiel Gallina <fgallina@cuca>
1093
1094 * progmodes/python.el (inferior-python-mode): Fix hang in
1095 jit-lock (Bug#12645).
1096
43bcfda6
MR
10972012-11-03 Martin Rudalics <rudalics@gmx.at>
1098
1099 * window.el (switch-to-visible-buffer)
1100 (switch-to-buffer-preserve-window-point): Fix doc-strings.
1101
376a8e83
GM
11022012-11-03 Glenn Morris <rgm@gnu.org>
1103
1104 * emacs-lisp/cl-lib.el (cl--random-time):
1105 Rename from cl-random-time. (Bug#12773)
1106 (cl--gensym-counter, cl--random-state): Update callers.
1107 * emacs-lisp/cl-extra.el (cl-make-random-state): Update callers.
1108
0f7b074f
CY
11092012-11-03 Chong Yidong <cyd@gnu.org>
1110
1111 * cus-start.el: Make cursor-type customizable (Bug#11633).
1112
3a6851d9
GM
11132012-11-02 Glenn Morris <rgm@gnu.org>
1114
00a3b041
GM
1115 * filecache.el: No need to load find-lisp when compiling.
1116 (find-lisp-find-files): Autoload it.
1117 (file-cache-add-directory-recursively): Don't require find-lisp.
1118
11fef14a
GM
1119 * image.el (image-type-from-file-name): Trivial simplification.
1120
3a6851d9
GM
1121 * emacs-lisp/bytecomp.el (byte-compile-eval):
1122 Decouple "noruntime" and "cl-functions" warnings.
1123
b4b096e4
SB
11242012-11-01 Stephen Berman <stephen.berman@gmx.net>
1125
1126 * play/gomoku.el (gomoku-display-statistics): Update mode line
1127 only if in Gomoku buffer; don't capitalize "won" (Bug#12771).
1128
218e997a
MR
11292012-10-31 Martin Rudalics <rudalics@gmx.at>
1130
1131 * window.el (quit-restore-window): If the window has been
1132 created on an existing frame and ended up as the sole window on
1133 that frame, do not delete it (Bug#12764).
1134
b08b6da7
SM
11352012-10-31 Stefan Monnier <monnier@iro.umontreal.ca>
1136
3618df45
SM
1137 * progmodes/sh-script.el (sh--inside-noncommand-expression):
1138 Rename from sh--inside-arithmetic-expression, handle more cases
1139 (bug#11263).
1140
b08b6da7
SM
1141 * progmodes/sh-script.el (sh--inside-arithmetic-expression): New func.
1142 (sh-font-lock-open-heredoc): Use it (bug#12770).
1143
4ddedf94
GM
11442012-10-30 Glenn Morris <rgm@gnu.org>
1145
f43a5263
GM
1146 * emacs-lisp/cl-extra.el (cl-mapc): Add autoload cookie. Doc fix.
1147
4ddedf94
GM
1148 * emacs-lisp/cl.el (letf): Doc fix. (Bug#12760)
1149
748b0d84
CY
11502012-10-29 Chong Yidong <cyd@gnu.org>
1151
b5dd9a77
CY
1152 * isearch.el (isearch-other-meta-char): Ensure that a reprocessed
1153 function key is stored in a keyboard macro (Bug#4894).
1154
748b0d84
CY
1155 * thingatpt.el (number-at-point): Apply a thing-at-point property.
1156
e07fcbdc
SM
11572012-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
1158
d7f9cc85
SM
1159 * vc/diff-mode.el (diff-context->unified): Don't get confused by "hunk
1160 header comments".
1161 (diff-unified->context, diff-context->unified)
1162 (diff-reverse-direction, diff-fixup-modifs): Use `use-region-p'.
1163
c606253c
SM
1164 * emacs-lisp/cl.el (letf): Add missing indent rules (bug#12759).
1165
e07fcbdc
SM
1166 * files.el (find-alternate-file): Only ask one question (bug#12487).
1167
894b9dd9
CY
11682012-10-29 Chong Yidong <cyd@gnu.org>
1169
1dc2755a
CY
1170 * vc/vc-hooks.el (vc-file-clearprops): Kill vc-parent-buffer.
1171 Suggested by Dan Nicolaescu (Bug#6326).
1172
329c48d8
CY
1173 * info.el (Info-complete-menu-item): Avoid duplicates (Bug#12705).
1174
2230fa5b 1175 * startup.el (fancy-about-screen): Don't message (Bug#12680).
5c2f2631 1176
e84cad57
CY
1177 * thingatpt.el (thing-at-point): Doc fix (Bug#12691).
1178
1913c5f5
CY
1179 * imenu.el (imenu): Inhibit push-mark message (Bug#12726).
1180
894b9dd9
CY
1181 * face-remap.el (face-remap-add-relative): Handle the case where a
1182 face-remapping-alist entry is a cons cell (Bug#12762).
1183
329c48d8
CY
11842012-10-29 Kevin Ryde <user42@zip.com.au>
1185
1186 * woman.el (woman-parse-numeric-value): Handle picas correctly
1187 (Bug#12639).
1188
a0ccbcbd
GM
11892012-10-29 Glenn Morris <rgm@gnu.org>
1190
1191 * emacs-lisp/cl.el (defsetf): Doc fix.
1192
b3871e59
SM
11932012-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
1194
1195 * progmodes/sh-script.el (sh-font-lock-paren): Also put punctuation
1196 syntax to the matching opener, if any (bug#12547).
1197 (sh-smie-sh-forward-token, sh-smie-sh-backward-token): Recognize this
1198 matching open as a "case-(".
1199 (sh-smie-rc-grammar): Add a corresponding rule for it.
1200
cd44022c
DH
12012012-10-28 Daniel Hackney <dan@haxney.org>
1202
1203 * emacs-lisp/package.el (package-generate-autoloads): Kill buffer
1204 "PKGNAME-autoloads.el" in case we created it.
1205
70edffb1
SM
12062012-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
1207
86957a0c
SM
1208 * minibuffer.el (completion--sifn-requote): Rewrite to handle things
1209 like Tramp's "/foo:~bar//baz" -> "/scpc:foo:/baz" mapping (bug#11714).
b9383404 1210 (completion--twq-all): Disable too-strict assertions.
86957a0c 1211
70edffb1
SM
1212 * tmm.el (tmm-prompt): Use map-keymap (bug#12744).
1213
d069271c
EZ
12142012-10-27 Eli Zaretskii <eliz@gnu.org>
1215
1216 * profiler.el (profiler-report-make-entry-part): Fix help-echo
1217 text to match the real keybindings.
1218
e2f022a3
JL
12192012-10-27 Juri Linkov <juri@jurta.org>
1220
1221 * wdired.el (wdired-keep-marker-rename): New defcustom.
1222 (wdired-do-renames): Use it instead of `dired-keep-marker-rename'.
1223 (Bug#11795)
1224
1225 * dired.el (dired-keep-marker-rename): Add reference to
1226 `wdired-keep-marker-rename' in the docstring.
1227 Add default character value ?R to display initially in
1228 Customization UI instead of ?@.
1229
df171c23
MR
12302012-10-27 Martin Rudalics <rudalics@gmx.at>
1231
1232 * window.el (display-buffer): In doc-string describe
1233 window-height and window-width alist entries.
1234
1235 * time.el (display-time-world): Restore fit-window-to-buffer
1236 behavior.
1237
05b621a6
CY
12382012-10-27 Chong Yidong <cyd@gnu.org>
1239
1240 * subr.el (insert-buffer-substring-as-yank): Doc fix.
1241
55f197b2
J
12422012-10-26 Jambunathan K <kjambunathan@gmail.com>
1243
1244 * minibuffer.el (completion-category-overrides): New completion
1245 category `bookmark' (bug#11131).
1246
372212df
SM
12472012-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
1248
150f809c
SM
1249 * emacs-lisp/advice.el (ad-assemble-advised-definition):
1250 Silence bogus compiler warnings for ad-do-it.
1251
372212df
SM
1252 * bookmark.el (bookmark-completing-read): Set the completion category
1253 to `bookmark' (bug#11131).
1254
c5772569
B
12552012-10-26 Bastien <bzg@altern.org>
1256 Stefan Monnier <monnier@iro.umontreal.ca>
1257
1258 * face-remap.el: Use lexical-binding.
1259 (text-scale-adjust): Improve docstring. Use itself for the temporary
1260 overlay-map bindings, so as to repeat the "Use..." message each time.
1261
a2be0357
SM
12622012-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
1263
63314e57
SM
1264 * emacs-lisp/macroexp.el (macroexp--expand-all):
1265 Obey byte-compile-warning-enabled-p (bug#12486).
1266
a2be0357
SM
1267 * vc/diff-mode.el (diff-end-of-hunk): Also skip potential "no LF at eol".
1268 (diff-refine-hunk): Similarly, handle the "no LF at eol" (bug#12584).
1269
8c7727c3
MR
12702012-10-26 Martin Rudalics <rudalics@gmx.at>
1271
1272 * mouse.el (mouse-drag-line): Move last form into preceding when
1273 clause (Bug#12731).
1274
1275 * help.el (resize-temp-buffer-window): Fix doc-string.
1276
3f2a848d
DE
12772012-10-25 David Engster <deng@randomsample.de>
1278
1279 * emacs-lisp/eieio.el (eieio-update-lisp-imenu-expression):
a2be0357 1280 Remove. This feature is already integrated in imenu.
3f2a848d
DE
1281
1282 * emacs-lisp/eieio-opt.el: Remove require for `button' since it is
1283 always loaded. Require `speedbar' unconditionally.
1284
a7723be6
SM
12852012-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
1286
aaabfc8b
SM
1287 * dired.el (dired-get-marked-files): Allow ! on . and .. (bug#12725).
1288
414a8595
SM
1289 * minibuffer.el (minibuffer-force-complete): Fix thinko.
1290
fb5b9475
SM
1291 * net/ldap.el (ldap-search-internal): The official ldif format starts
1292 with a "version: 1" header (bug#12724).
1293
a7723be6
SM
1294 * emacs-lisp/package.el (package-installed-p): Warn if not ready
1295 (bug#12721).
1296
a05cb6e3
GM
12972012-10-25 Glenn Morris <rgm@gnu.org>
1298
1299 * emacs-lisp/cl-macs.el (cl-progv): Doc fix.
1300
3c92de70
SM
13012012-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
1302
1303 * minibuffer.el (minibuffer-force-complete): Use one more marker
1304 for the temporary-overlay-map command (bug#12619).
1305
a4b6d7c6
CY
13062012-10-24 Chong Yidong <cyd@gnu.org>
1307
1308 * time.el (display-time-world-mode): Derive from special-mode.
1309 (display-time-world): Use display-buffer (Bug#12708).
1310 (display-time-world-mode-map): Variable deleted.
9321d8d7
CY
1311 (display-time-world-display): Wrap the final delete-char inside
1312 inhibit-read-only.
a4b6d7c6 1313
75e8f9d2
CY
13142012-10-24 Chong Yidong <cyd@gnu.org>
1315
cd996018
CY
1316 * dired.el (dired-mark, dired-unmark, dired-flag-file-deletion):
1317 Doc fix.
1318
75e8f9d2
CY
1319 * emacs-lisp/easymenu.el (easy-menu-define): Doc fix (Bug#12628).
1320
d92df117
SM
13212012-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
1322
1323 * minibuffer.el (completion--all-sorted-completions-location): New var.
1324 (completion--cache-all-sorted-completions)
1325 (completion--flush-all-sorted-completions): Use it.
1326 (completion-in-region, completion-in-region--postch)
1327 (completion-at-point, completion-help-at-point): Use markers in
1328 completion-in-region--data (bug#12619).
1329
9c3e39f3
SM
13302012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
1331
c79825bd
SM
1332 * progmodes/compile.el (compilation-start): Try to handle common
1333 quoting of `cd' argument (bug#12640).
1334
9c3e39f3
SM
1335 * vc/diff-mode.el (diff-hunk): `save-excursion' while refining
1336 (bug#12671).
1337
a6709bc7
GM
13382012-10-23 Glenn Morris <rgm@gnu.org>
1339
1340 * progmodes/gud.el (gud-menu-map):
1341 Check gdb-active-process is bound. (Bug#12358)
1342
d1069532
SM
13432012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
1344
d20d69c0
SM
1345 * repeat.el (repeat): Set real-this-command (bug#12232).
1346
d1069532
SM
1347 * htmlfontify.el (hfy-post-html-hook):
1348 * filesets.el (filesets-cache-fill-content-hook):
1349 * arc-mode.el (archive-extract-hook):
1350 * progmodes/cc-mode.el (c-prepare-bug-report-hook):
1351 * net/rcirc.el (rcirc-sentinel-functions)
1352 (rcirc-receive-message-functions, rcirc-activity-functions)
1353 (rcirc-print-functions):
1354 * net/dbus.el (dbus-event-error-functions):
1355 * emacs-lisp/eieio.el (eieio-pre-method-execution-functions):
1356 * emacs-lisp/checkdoc.el (checkdoc-style-functions)
1357 (checkdoc-comment-style-functions): Don't use "-hooks" suffix.
1358 * term/sun.el (sun-raw-prefix-hooks):
1359 * mail/sendmail.el (mail-yank-hooks): Use make-obsolete-variable.
1360
f7eac6d8
MA
13612012-10-23 Michael Albinus <michael.albinus@gmx.de>
1362
d1069532
SM
1363 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
1364 Set `tramp-chunksize' to 1. This improves the performance.
f7eac6d8
MA
1365 (tramp-smb-wait-for-output): Add timeout to
1366 `tramp-accept-process-output' calls.
1367
608d9d7c
CY
13682012-10-23 Chong Yidong <cyd@gnu.org>
1369
49238e7f
CY
1370 * faces.el (font-list-limit): Define as an obsolete variable.
1371
1372 * startup.el (command-line):
1373 * cus-start.el: Don't refer to font-list-limit.
1374
608d9d7c
CY
1375 * newcomment.el (comment-normalize-vars): Doc fix (Bug#12583).
1376
4ff5b1b2
SM
13772012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
1378
1379 * subr.el (internal-temp-output-buffer-show): Rename from
1380 temp-output-buffer-show, since previously compiled files expect this name.
1381
ea1d4aac
GM
13822012-10-23 Glenn Morris <rgm@gnu.org>
1383
1384 * image.el (image-type-from-file-name): If multiple types match,
1385 return the first one that is supported. (Bug#9045)
1386
eda82a31
GM
13872012-10-22 Glenn Morris <rgm@gnu.org>
1388
1389 * image.el (imagemagick-enabled-types): Doc fix.
1390
4f020bec
TA
13912012-10-22 Takafumi Arakaki <aka.tkf@gmail.com> (tiny change)
1392
1393 * progmodes/which-func.el (which-func-current): The hash-table may have
1394 an explicit nil (bug#12338).
1395
c77d37e2
SM
13962012-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
1397
1398 * electric.el (electric-pair-delete-selection-self-insert-function):
1399 Rename to electric-pair-will-use-region, return a boolean.
1400 (electric-pair-mode): Adjust accordingly. Don't require delsel.
1401
1402 * delsel.el (delete-selection-helper): Use a function instead of a hook.
1403 (delete-selection-pre-hook): Use use-region-p.
1404 (delete-selection-self-insert-function): Remove.
1405 (self-insert-command): Obey self-insert-uses-region-functions.
1406 (self-insert-iso): Revert to previous setting, since we don't actually
1407 know what that command does.
1408 (delete-selection-self-insert-hooks): Remove.
1409
b1d39ccc
SL
14102012-10-22 Simon Law <sfllaw@sfllaw.ca> (tiny change)
1411
1412 * delsel.el (delete-selection-helper): New function, extracted from
1413 delete-selection-pre-hook.
1414 (delete-selection-pre-hook): Use it.
1415 (delete-selection-self-insert-function): New function.
1416 (delete-selection-self-insert-hooks): New hook.
1417 (self-insert-command, self-insert-iso): Use it.
1418 * electric.el (electric-pair-syntax): New function, extracted from
1419 electric-pair-post-self-insert-function.
1420 (electric-pair-post-self-insert-function): Use it.
1421 (electric-pair-delete-selection-self-insert-function): New function.
1422 (electric-pair-mode): Require delsel and setup
1423 delete-selection-self-insert-hooks (bug#11520).
1424
045ef729
CY
14252012-10-20 Chong Yidong <cyd@gnu.org>
1426
4c5d08a8
CY
1427 * vc/vc.el (vc-diff-internal): Set up Diff mode even if there are
1428 no changes to show (Bug#12586).
1429
045ef729
CY
1430 * eshell/esh-cmd.el (eshell-rewrite-for-command): Copy the body
1431 list explicitly (Bug#12571).
1432
3503c798 14332012-10-20 Arne Jørgensen <arne@arnested.dk>
79e1997a 1434
b1d39ccc
SL
1435 * progmodes/flymake.el (flymake-create-temp-inplace):
1436 Use file-truename.
79e1997a 1437
2068905b
EZ
14382012-10-20 Eli Zaretskii <eliz@gnu.org>
1439
1440 * loadup.el: Update comment about uncompiled Lisp files. (Bug#12395)
1441
4c9e9550
JB
14422012-10-20 Jay Belanger <jay.p.belanger@gmail.com>
1443
1444 * calc/calc-units.el (math-extract-units): Properly extract powers
1445 of units.
1446
1a6e7e38
DC
14472012-10-20 Daniel Colascione <dancol@dancol.org>
1448
1449 * frame.el (make-frame): Set x-display-name as we used to in order
1450 to unbreak creating an X11 frame from an Emacs daemon started
1451 without a display.
1452
8e808318
SM
14532012-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
1454
1455 * minibuffer.el (minibuffer-force-complete): Make the next completion use
f5925cd9 1456 the same completion-field (bug#12221).
8e808318 1457
fb0104da
MR
14582012-10-19 Martin Rudalics <rudalics@gmx.at>
1459
1460 * emacs-lisp/debug.el (debug): Record height of debugger window
1461 also when debugger will be back (Bug#8789).
1462
8c27235e
CY
14632012-10-18 Chong Yidong <cyd@gnu.org>
1464
1465 * progmodes/gdb-mi.el (gdb-display-buffer-other-frame-action):
1466 Convert to defcustom.
1467 (gdb-get-source-file): Don't bind pop-up-windows.
1468
1469 * progmodes/gud.el (gud-display-line): Don't specially re-use
1470 other frames for the gdb-mi case (Bug#12648).
1471
90eacf99
SM
14722012-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
1473
aaf0c300
SM
1474 * emacs-lisp/advice.el: Clean up commentary a bit.
1475 (ad-do-advised-functions, ad-with-originals): Use `declare'.
1476 (byte-code-function-p): Never redefine.
1477
90eacf99
SM
1478 * emacs-lisp/gv.el (cond): Same fix as before for `if'.
1479
281c9d2b
GM
14802012-10-18 Glenn Morris <rgm@gnu.org>
1481
40714e3d
GM
1482 * dired.el (dired-sort-toggle): Some ls implementations only allow
1483 a single option string. (Bug#12666)
1484
281c9d2b
GM
1485 * minibuffer.el (completion-cycle-threshold): Doc fix.
1486
b278604e
KH
14872012-10-17 Kenichi Handa <handa@gnu.org>
1488
90eacf99
SM
1489 * international/mule.el (set-keyboard-coding-system):
1490 Recover input meta mode when the new coding system doesn not use 8-bit.
b278604e
KH
1491 Supply TERMINAL arg to set-input-meta-mode.
1492
df171c23 14932012-10-17 Michael Heerdegen <michael_heerdegen@web.de>
7ebc5f5a
MH
1494
1495 * wdired.el (wdired-old-marks): New variable.
1496 (wdired-change-to-wdired-mode): Locally set wdired-old-marks.
1497 (wdired-do-renames): Move point with renamed file and don't lose
1498 mark status (Bug#11795).
1499
e5a94ec4
JL
15002012-10-16 Juri Linkov <juri@jurta.org>
1501
1502 * replace.el (query-replace-help): Mention multi-buffer replacement
1503 keys in the Help message. (Bug#12655)
1504
d18a0d24
CY
15052012-10-15 Chong Yidong <cyd@gnu.org>
1506
1507 * emacs-lisp/byte-run.el (defsubst): Doc fix.
1508
8111f5e6
EZ
15092012-10-14 Eli Zaretskii <eliz@gnu.org>
1510
7b9abf24
EZ
1511 * window.el (display-buffer): Doc fix.
1512
8111f5e6
EZ
1513 * progmodes/compile.el (compilation-error-regexp-alist-alist):
1514 Adjust the msft regexp to the output of Studio 2010, and move msft
1515 before edg-1. See the discussion on emacs-devel,
1516 http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00579.html,
1517 for the details.
1518
5046ef67
SM
15192012-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
1520
9760c73c
SM
1521 * emacs-lisp/eieio.el (eieio-oset-default, eieio-oset, oset-default)
1522 (oset): Move uses of object-class-fast macro after its definition.
1523
5046ef67
SM
1524 * emacs-lisp/gv.el (if): Don't use closures in non-lexical-binding code.
1525
0d11ff1c
CY
15262012-10-13 Chong Yidong <cyd@gnu.org>
1527
1528 * textmodes/ispell.el (ispell-pdict-save): If flyspell-mode is
1529 enabled, re-enable it (Bug#11963).
1530
88ded8ac
MR
15312012-10-13 Martin Rudalics <rudalics@gmx.at>
1532
1533 * emacs-lisp/debug.el (debug): When debugger-will-be-back is
1534 non-nil, restore window configuration (Bug#12623).
1535
bd0ffffd
SM
15362012-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
1537
06485aa8
SM
1538 * help-fns.el (describe-variable, describe-function-1):
1539 * help-mode.el (help-make-xrefs): Remove error handler, made unneeded.
1540
bd0ffffd
SM
1541 * emacs-lisp/eieio.el (lisp-imenu-generic-expression): Fix typo.
1542
3a989246
GM
15432012-10-12 Glenn Morris <rgm@gnu.org>
1544
1545 * mail/rmailsum.el (rmail-header-summary):
1546 Fix 2010-11-26 test for multiline Subject: field. (Bug#12625)
1547
55cd00c8
FEG
15482012-10-12 Fabián Ezequiel Gallina <fgallina@cuca>
1549
bd0ffffd
SM
1550 * progmodes/python.el (python-mode-map):
1551 Replace subtitute-key-definition with proper command remapping.
55cd00c8
FEG
1552 (python-nav--up-list): Fix behavior for blocks on the same level.
1553
ac9fc2c7
SM
15542012-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
1555
d8cc4c00 1556 * help-fns.el (describe-function-1): Handle autoloads w/o docstrings.
d8cc4c00 1557
5253a5fd
SM
1558 * emacs-lisp/bytecomp.el (byte-compile-eval): Adjust to long-ago
1559 changes to the format of load-history.
1560
ac9fc2c7
SM
1561 * international/mule-cmds.el (read-char-by-name): Move let-binding of
1562 completion-ignore-case in case that var is buffer-local (bug#12615).
1563
cde44a77
KH
15642012-10-11 Kenichi Handa <handa@gnu.org>
1565
1566 * international/eucjp-ms.el: Re-generated.
1567
4ef4a10d
KH
15682012-10-10 Kenichi Handa <handa@gnu.org>
1569
1570 * select.el (xselect--encode-string): If a coding is specified for
1571 selection, and that is compatible with COMPOUND_TEXT, use it.
1572
9d7f027b
MR
15732012-10-10 Martin Rudalics <rudalics@gmx.at>
1574
1575 * window.el (switch-to-buffer-preserve-window-point): New option.
ac9fc2c7
SM
1576 (switch-to-buffer):
1577 Obey `switch-to-buffer-preserve-window-point' (Bug#4041).
9d7f027b 1578
238f3a58
SM
15792012-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
1580
1581 * newcomment.el (comment-start-skip, comment-end-skip, comment-end):
1582 Don't document nil as a useful value (bug#12583).
1583
1d51f99c
MA
15842012-10-09 Michael Albinus <michael.albinus@gmx.de>
1585
238f3a58
SM
1586 * net/tramp.el (tramp-debug-message):
1587 Remove "tramp-with-progress-reporter" from regexp of ignored functions.
1d51f99c
MA
1588 (with-tramp-progress-reporter): Rename from
1589 `tramp-with-progress-reporter'.
238f3a58
SM
1590 (with-tramp-file-property, with-tramp-connection-property):
1591 Move from tramp-cache.el, rename from `with-file-property' and
1d51f99c
MA
1592 `with-connection-property', respectively.
1593
1594 * net/tramp-cache.el: Remove `with-file-property' and
1595 `with-connection-property'.
1596
1597 * net/tramp.el:
1598 * net/tramp-gvfs.el:
1599 * net/tramp-sh.el:
1600 * net/tramp-smb.el: Adapt callees.
1601
1602 * net/trampver.el: Update release number.
1603
26b77251
GM
16042012-10-09 Glenn Morris <rgm@gnu.org>
1605
9a5f296f
GM
1606 * w32-fns.el (set-message-beep):
1607 * term/w32-win.el (set-message-beep): Update declarations.
1608
94c66ce5
SM
16092012-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
1610
10766e9e
SM
1611 * bindings.el (mode-line-toggle-read-only, mode-line-toggle-modified)
1612 (mode-line-widen, mode-line-input-method-map)
1613 (mode-line-coding-system-map, mode-line-remote)
1614 (mode-line-unbury-buffer, mode-line-bury-buffer)
1615 (mode-line-next-buffer, mode-line-previous-buffer):
1616 Replace save-selected-window+select-window => with-selected-window.
1617
f754db08
SM
1618 * progmodes/cc-bytecomp.el (cc-bytecomp-defmacro): Remove, unused.
1619 * progmodes/cc-vars.el (bq-process): Remove, unused.
1620
94c66ce5
SM
1621 * emacs-lisp/cl-macs.el (cl-defstruct): Obey the :read-only property.
1622
a4ff7fe1
FEG
16232012-10-09 Fabián Ezequiel Gallina <fgallina@cuca>
1624
1625 Implemented `backward-up-list'-like navigation.
1626 * progmodes/python.el (python-nav-up-list)
1627 (python-nav-backward-up-list): New functions.
1628 (python-mode-map): Define substitute key for backward-up-list to
1629 python-nav-backward-up-list.
1630
24517d82
FEG
16312012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
1632
1633 * progmodes/python.el (python-fill-paragraph): Rename from
1634 python-fill-paragraph-function. Fixed fill-paragraph for
1635 decorators (Bug#12605).
1636
51867ae2
FEG
16372012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
1638
1639 * progmodes/python.el (python-shell-output-filter): Handle extra
1640 carriage return in OSX (Bug#12409).
1641
a5b773c4
FEG
16422012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
1643
1644 Fix shell handling of unbalanced quotes and parens in output.
94c66ce5 1645 * progmodes/python.el (python-rx-constituents): Add string-delimiter.
a5b773c4
FEG
1646 (python-syntax-propertize-function): Use it.
1647 (python-shell-output-syntax-table): New var.
1648 (inferior-python-mode): Prevent unbalanced parens/quotes from
1649 previous output mess with current input context.
1650
13373538
JB
16512012-10-08 Juanma Barranquero <lekktu@gmail.com>
1652
1653 * generic-x.el (javascript-generic-mode, javascript-generic-mode-hook):
1654 Make obsolete aliases of js-mode and js-mode-hook (from js.el).
1655
775a132d
MA
16562012-10-08 Michael Albinus <michael.albinus@gmx.de>
1657
1658 * ffap.el (ffap-replace-file-component): Support Tramp file name
1659 syntax, not only ange-ftp's one.
1660
3ab44929
GM
16612012-10-08 Glenn Morris <rgm@gnu.org>
1662
57f1dee4
GM
1663 * cus-start.el (message-log-max): Set :version.
1664
3ab44929
GM
1665 * calendar/calendar.el (calendar-intermonth-header): Doc fix.
1666
6a088630
MR
16672012-10-08 Martin Rudalics <rudalics@gmx.at>
1668
1669 * emacs-lisp/edebug.el (edebug-pop-to-buffer): Don't try to split
1670 the minibuffer window (Bug#10851).
1671
8dbce54c
FEG
16722012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
1673
1674 Enhancements on forward-sexp movement.
1675 * progmodes/python.el (python-nav-beginning-of-statement)
1676 (python-nav-end-of-statement): Return point-marker.
1677 (python-nav-forward-sexp): lisp-like forward-sexp behavior.
1678 (python-info-current-symbol)
1679 (python-info-statement-starts-block-p): Rename from
1680 python-info-beginning-of-block-p.
1681 (python-info-statement-ends-block-p): Rename from
1682 python-info-end-of-block-p.
1683 (python-info-beginning-of-statement-p)
1684 (python-info-end-of-statement-p)
1685 (python-info-beginning-of-block-p, python-info-end-of-block-p):
1686 New functions.
1687
5acd2b3e
SM
16882012-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
1689
1690 * comint.el (comint-preinput-scroll-to-bottom): Preserve the
1691 frame-selected-windows.
1692
e08348a0
DC
16932012-10-08 Daniel Colascione <dancol@dancol.org>
1694
1695 * battery.el (battery-status-function): Check for
1696 w32-battery-status itself, not system-time windows-nt.
1697
1698 * frame.el: Require cl-lib.
1699 (display-format-alist): New variable mapping frame types to
1700 functions that initialize them.
1701 (window-system-for-display): New function: interprets
1702 display-format-alist.
1703 (make-frame-on-display): Remove existing display-selection logic
1704 and just forward to make-frame, which will now DTRT.
1705 (make-frame): Restructure to use window-system-for-display to
1706 figure out how to create a frame on a given display.
1707 (display-mouse-p): Look for frame-type w32, not a particular
1708 system-type.
1709
1710 * loadup.el: Load w32 lisp code when we have the w32 feature.
1711
1712 * mouse.el (mouse-yank-primarY): Look for frame-type w32, not
1713 system-type windows-nt.
1714
1715 * server.el (server-create-window-system-frame): Look for window
1716 type.
1717 (server-proces-filter): Only force a window system when windows-nt
1718 _and_ w32. Explain why.
1719
1720 * simple.el (normal-erase-is-backspace-mode): Add w32 to the list
1721 of window systems we configure for the mode.
1722
1723 * startup.el (command-line): Mark window system is initialized
1724 after we've done it.
1725
1726 * common-win.el (x-select-text): Look for w32, not windows-nt.
1727
1728 * ns-win.el: Require cl-lib. Add ourselves to
1729 display-format-alist.
1730 (ns-initialize-window-system): Assert we're not initialized twice.
1731
1732 * w32-win.el: Enable lexical binding; require cl-lib; add
1733 ourselves to display-format-alist.
1734 (w32-handle-dropped-file): Convert incoming dropped files from
1735 Windows paths to Cygwin ones before passing them on to the rest of
1736 Emacs.
1737 (w32-drag-n-drop): New paramter new-frame. Simplify logic.
1738 (w32-initialize-window-system): Assert we're not initialized twice.
1739
1740 * x-win.el: Require cl-lib; add ourselves to display-format-alist.
1741 (x-initialize-window-system): Assert we're not initialized twice.
1742
1743 * w32-common-fns.el: New File.
1744 (w32-version, w32-using-nt, w32-get-clipboard-data)
1745 (w32-set-clipboard-data, x-set-selection, x-get-selection)
1746 (w32-charset-info-alist, x-last-selected, text)
1747 (x-get-selection-value, x-selection-value): Move here.
1748
1749 * w32-fns.el: Require w32-common-fns.
1750 (w32-version, w32-using-nt, w32-get-clipboard-data)
1751 (w32-set-clipboard-data, x-set-selection, x-get-selection)
1752 (w32-charset-info-alist, x-last-selected, text)
1753 (x-get-selection-value, x-selection-value): Move to
1754 w32-common-fns.
1755
1756 * w32-vars.el:
1757 (w32-allow-system-shell, w32-system-shells): Define only in
1758 non-cygwin case.
1759
795b1482
SM
17602012-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
1761
1762 * subr.el (read-passwd-map): Don't use `defconst' (bug#12597).
1763 (read-passwd): Remove a few more potential sources of leaks.
1764
f27c99dc
FEG
17652012-10-07 Fabián Ezequiel Gallina <fgallina@cuca>
1766
1767 * progmodes/python.el (inferior-python-mode)
795b1482 1768 (python-shell-make-comint): Fix initialization of local
f27c99dc
FEG
1769 variables copied from parent buffer.
1770
fcacb558
JD
17712012-10-07 Jan Djärv <jan.h.d@swipnet.se>
1772
1773 * term/ns-win.el (ns-read-file-name): Update declaration to match
1774 nsfns.m.
1775 (ns-respond-to-change-font): Change fontsize separatly so we are sure
1776 it is set when font is acted upon.
1777
be0d5bae
FEG
17782012-10-07 Fabián Ezequiel Gallina <fgallina@cuca>
1779
1780 Enhancements to indentation.
1781 * progmodes/python.el (python-indent-context): Give priority to
1782 inside-string context. Make comments indentation markers.
1783 (python-indent-region): Do not mess with strings, unless it's the
1784 enclosing set of quotes.
1785
13af0d10
SM
17862012-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
1787
662a9d0e
SM
1788 * window.el (internal--before-save-selected-window)
1789 (internal--after-save-selected-window): New functions extracted from
1790 save-selected-window. Make sure we return the `alist' we construct.
1791 (save-selected-window): Use them.
1792
1793 * textmodes/tex-mode.el (tex-recenter-output-buffer):
1794 Use with-selected-window.
1795
13af0d10
SM
1796 * emacs-lisp/autoload.el (make-autoload): Add `cl-defmacro' to the
1797 forms that define macros (bug#12593).
1798
6aa75fb6
KH
17992012-10-07 Kenichi Handa <handa@gnu.org>
1800
13af0d10
SM
1801 * international/mule-conf.el (compound-text-with-extensions):
1802 Add :mime-charset property as x-ctext.
6aa75fb6 1803
78d876b9
SM
18042012-10-07 Stefan Merten <smerten@oekonux.de>
1805
1806 * textmodes/rst.el (rst-new-adornment-down, rst-indent-field)
1807 (rst-indent-literal-normal, rst-indent-literal-minimized)
1808 (rst-indent-comment): Correct :version tag.
557337e9 1809 (rst-official-cvs-rev): Correct version string.
78d876b9 1810
99a1e701
GM
18112012-10-07 Glenn Morris <rgm@gnu.org>
1812
1813 * mail/rmailmm.el (rmail-mime-process-multipart):
1814 Do not confuse a multipart message with an epilogue
1815 with a "truncated" one; fixes 2011-06-27 change. (Bug#10101)
1816
08f18c3d
FEG
18172012-10-07 Fabián Ezequiel Gallina <fgallina@cuca>
1818
1819 Fix shell output retrieval and comint-prompt-regexp init.
1820 * progmodes/python.el (inferior-python-mode):
1821 (python-shell-make-comint): Fix initialization of
1822 comint-prompt-regexp from copied file local variables.
1823 (python-shell-fetched-lines): Remove var.
1824 (python-shell-output-filter-in-progress): Rename from
1825 python-shell-fetch-lines-in-progress.
1826 (python-shell-output-filter-buffer): Rename from
1827 python-shell-fetch-lines-string.
1828 (python-shell-fetch-lines-filter): Delete function.
1829 (python-shell-output-filter): New function.
1830 (python-shell-send-string-no-output): Use them.
1831
82ed3ab4
GM
18322012-10-07 Glenn Morris <rgm@gnu.org>
1833
1595ecfa
GM
1834 * hi-lock.el (hi-lock-process-phrase):
1835 Try to make it less fragile. (Bug#7161)
1836
82ed3ab4
GM
1837 * hi-lock.el (hi-lock-face-phrase-buffer): Doc fix.
1838
f1f4dba0
GM
18392012-10-06 Glenn Morris <rgm@gnu.org>
1840
addc11ed 1841 * ehelp.el (electric-help-mode): Use help-mode rather than
32939005
GM
1842 non-existent mode `help'.
1843 (electric-help-map): Use button-buffer-map. (Bug#10917)
addc11ed 1844
460042b8
GM
1845 * textmodes/reftex-vars.el (reftex-create-bibtex-header)
1846 (reftex-create-bibtex-footer): Fix custom types.
1847
67667c70
GM
1848 * progmodes/sh-script.el (sh-indent-after-continuation):
1849 Add explicit :group.
1850
18dec750
GM
1851 * textmodes/rst.el (rst-preferred-decorations)
1852 (rst-shift-basic-offset): Clarify obsolescence versions.
1853
d1a1c7e6
GM
1854 * profiler.el (profiler): Add missing group :version tag.
1855 * avoid.el (mouse-avoidance-banish-position):
1856 * proced.el (proced-renice-command):
1857 * calc/calc.el (calc-ensure-consistent-units):
1858 * calendar/icalendar.el (icalendar-import-format-uid):
1859 * net/tramp.el (tramp-save-ad-hoc-proxies):
1860 * progmodes/bug-reference.el (bug-reference-bug-regexp):
1861 * progmodes/flymake.el (flymake-error-bitmap)
1862 (flymake-warning-bitmap, flymake-fringe-indicator-position):
1863 * progmodes/sh-script.el (sh-indent-after-continuation):
1864 * progmodes/verilog-mode.el (verilog-auto-template-warn-unused)
1865 (verilog-before-save-font-hook, verilog-after-save-font-hook):
1866 * progmodes/vhdl-mode.el (vhdl-makefile-default-targets)
1867 (vhdl-array-index-record-field-in-sensitivity-list)
1868 (vhdl-indent-comment-like-next-code-line):
1869 * textmodes/reftex-vars.el (reftex-ref-style-alist)
1870 (reftex-ref-macro-prompt, reftex-ref-style-default-list)
1871 (reftex-cite-key-separator, reftex-create-bibtex-header)
1872 (reftex-create-bibtex-footer):
1873 * textmodes/rst.el (rst-new-adornment-down, rst-indent-field)
1874 (rst-indent-literal-normal, rst-indent-literal-minimized)
1875 (rst-indent-comment): Add missing custom :version tags.
1876
ef35abb4
GM
1877 * calendar/timeclock.el (timeclock-modeline-display):
1878 Add missing obsolete alias for renamed user option.
1879
d1aae614
GM
1880 * strokes.el (strokes-modeline-string):
1881 * emulation/crisp.el (crisp-mode-modeline-string):
1882 * eshell/esh-mode.el (eshell-status-in-modeline):
1883 Aliases to defcustoms must come before the defcustom.
1884
f1f4dba0
GM
1885 * calendar/cal-tex.el (cal-tex-diary, cal-tex-cursor-week)
1886 (cal-tex-cursor-week2, cal-tex-cursor-week-iso)
1887 (cal-tex-cursor-week-monday): Doc fixes.
1888 (cal-tex-cursor-week2-summary): Doc fix.
1889 Rename from cal-tex-cursor-week-at-a-glance.
1890
1891 * calendar/cal-menu.el (cal-menu-context-mouse-menu):
1892 Tweak week descriptions. Add cal-tex-cursor-week2-summary.
1893
1894 * calendar/calendar.el (calendar-mode-map):
1895 Add cal-tex-cursor-week2-summary.
1896
d39109c3
SM
18972012-10-06 Stefan Monnier <monnier@iro.umontreal.ca>
1898
685f87b0
SM
1899 * emacs-lisp/cl-macs.el (cl-defstruct): Improve docstring.
1900
d39109c3
SM
1901 * subr.el (read-passwd-map): New var.
1902 (read-passwd): Use `read-string' again.
1903 * minibuffer.el (delete-minibuffer-contents): Make it interactive.
1904
5694896d
J
19052012-10-06 Jambunathan K <kjambunathan@gmail.com>
1906
1907 * register.el (append-to-register, prepend-to-register):
1908 Deactivate mark, as does `copy-to-register' (bug#12389).
1909
9414dd8d
CY
19102012-10-06 Chong Yidong <cyd@gnu.org>
1911
1912 * files.el (auto-mode-alist): Add .by and .wy (Semantic grammars).
1913
2b89bca4
KH
19142012-10-06 Ikumi Keita <ikumi@ikumi.que.jp> (tiny change)
1915
1916 * international/characters.el: Fix simple mistake ((car chars) ->
1917 elt), delete duplicated code.
1918
d5acb99a
GM
19192012-10-06 Glenn Morris <rgm@gnu.org>
1920
1921 * subr.el (read-passwd): Allow C-u to erase entry. (Bug#12570)
1922
123ec157
JS
19232012-10-06 Julian Scheid <julians37@gmail.com> (tiny change)
1924
1925 * color.el (color-hsl-to-rgb): Fix incorrect results for
1926 small and large hue values. (Bug#12559)
1927
7fa36ccb
FEG
19282012-10-05 Fabián Ezequiel Gallina <fgallina@cuca>
1929
1930 Enhancements to docstring formatting when filling paragraphs.
1931 * progmodes/python.el (python-fill-docstring-style): Rename from
1932 python-fill-string-style. Added new style.
1933 (python-fill-string): Use new style. Better checks for
1934 docstrings.
1935
d8788e1e
GM
19362012-10-05 Glenn Morris <rgm@gnu.org>
1937
204f3953
GM
1938 * net/newst-treeview.el (newsticker-group-move-feed): Doc fix.
1939
d8788e1e
GM
1940 * color.el (color-name-to-rgb, color-rgb-to-hex)
1941 (color-hue-to-rgb, color-hsl-to-rgb, color-rgb-to-hsv)
1942 (color-rgb-to-hsl, color-srgb-to-xyz, color-saturate-hsl)
1943 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
1944 (color-lighten-name, color-darken-hsl, color-darken-name): Doc fixes.
1945
8d956cef
GM
1946 * emacs-lisp/timer.el (with-timeout): Add missing progn. (Bug#12577)
1947
e8757f09 19482012-10-05 Juanma Barranquero <lekktu@gmail.com>
ea9a3563
JB
1949
1950 * ido.el (ido-directory-too-big-p): Pass dir through file-truename
1951 to get the correct size across symlinks.
1952
e8757f09
GM
1953 * ido.el (ido-buffer-disable-smart-matches): Fix typo in docstring.
1954
0e2ae83d
JL
19552012-10-04 Juri Linkov <juri@jurta.org>
1956
1957 * replace.el (query-replace-interactive): Declare obsolete.
1958 (query-replace-read-from): Add the last incremental search string
1959 to the list of default values accessible via M-n.
1960 (map-query-replace-regexp): Use `read-regexp'.
1961 (query-replace, query-replace-regexp, query-replace-regexp-eval)
1962 (map-query-replace-regexp, replace-string, replace-regexp):
1963 Fix docstrings to replace mentions of `query-replace-interactive'
1964 with alternatives. (Bug#12526)
1965
93cacb6d
JL
19662012-10-04 Juri Linkov <juri@jurta.org>
1967
1968 * dired.el (dired-shrink-to-fit): Declare obsolete. (Bug#1806)
1969 (dired-pop-to-buffer): Declare obsolete.
1970 (dired-mark-pop-up): Doc fix.
1971
fc345011
FEG
19722012-10-04 Fabián Ezequiel Gallina <fgallina@cuca>
1973
1974 Allow user to set docstring style for fill-paragraph.
1975 * progmodes/python.el
1976 (python-fill-comment-function, python-fill-string-function)
1977 (python-fill-decorator-function, python-fill-paren-function):
1978 Remove :safe for defcustoms.
1979 (python-fill-string-style): New defcustom
5694896d 1980 (python-fill-paragraph-function): Enhance context detection.
fc345011
FEG
1981 (python-fill-string): Honor python-fill-string-style settings.
1982
6bab5d8b
MR
19832012-10-04 Martin Rudalics <rudalics@gmx.at>
1984
1985 * emacs-lisp/edebug.el (edebug-pop-to-buffer): Select window
1986 after setting its buffer (Bug#10805).
1987
a1a9f411
FEG
19882012-10-03 Fabián Ezequiel Gallina <fgallina@cuca>
1989
1990 Fix cornercase for string syntax.
1991 * progmodes/python.el (python-syntax-propertize-function):
1992 Simplify and enhance the regexp for unescaped quotes. Now it also
1993 matches quotes in weird situations like the single quote in
1994 "something\"'".
1995 (python-syntax-stringify): Simplify num-quotes detecting code.
1996
05e153a6
GM
19972012-10-03 Glenn Morris <rgm@gnu.org>
1998
1999 * help-macro.el (three-step-help):
2000 Revert 2012-09-29 change. (Bug#12567)
2001
2e566ecb
MR
20022012-10-03 Martin Rudalics <rudalics@gmx.at>
2003
96ef9ccd
MR
2004 * menu-bar.el (kill-this-buffer): Don't do anything when
2005 `menu-frame' is not alive or visible (Bug#8184).
2006
2e566ecb
MR
2007 * emacs-lisp/debug.el (debug): When quitting the debugger window
2008 restore current buffer (Bug#12502).
2009
a96e1cb7
CY
20102012-10-02 Chong Yidong <cyd@gnu.org>
2011
5694896d
J
2012 * progmodes/hideif.el (hif-lookup, hif-defined):
2013 Handle semantic-c-takeover-hideif.
a96e1cb7 2014
b3ecad33
PE
20152012-10-02 Paul Eggert <eggert@cs.ucla.edu>
2016
2017 Change sampling interval units from ms to ns.
2018 * profiler.el (profiler-sampling-interval): Change units
2019 from ms to ns, multiplying the default by 1000000 so that
2020 it remains 1 ms.
2021 (profiler-report-cpu-line-format): Give enough room for
2022 the maximum counters on 64-bit hosts.
2023 (profiler-report-render-calltree-1): Call them "CPU samples",
2024 not "Time (ms)", since they are not milliseconds now (and
2025 never really were).
2026
8cb51b66 20272012-10-02 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
c623f81a 2028
5694896d
J
2029 * net/eudcb-bbdb.el (eudc-bbdb-format-record-as-result):
2030 Fix querying BBDB for entries without a last name (Bug#11580).
c623f81a 2031
fd795bf4
CY
20322012-10-02 Chong Yidong <cyd@gnu.org>
2033
2034 * emacs-lisp/eieio.el: Restore Version header.
2035
fe0a74f9
SM
20362012-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
2037
6be9197e
SM
2038 * vc/diff-mode.el (diff--auto-refine-data): New var.
2039 (diff-hunk): Use it to delay refinement.
2040 (diff-mode): Remove overlays when we turn off font-lock.
2041
18486139
SM
2042 * textmodes/table.el: Use lexical-binding, dolist, define-minor-mode.
2043 (table-initialize-table-fixed-width-mode)
2044 (table-set-table-fixed-width-mode): Remove functions.
2045 (table-command-list): Move initialization into declaration.
2046 (table--tweak-menu-for-xemacs): Move defun outside mapcar.
2047 (table-with-cache-buffer): Use `declare'.
2048 (table-span-cell): Simplify via CSE.
2049 (table-fixed-width-mode): Use define-minor-mode.
2050 (table-call-interactively, table-funcall, table-apply): Remove.
2051 (table-function): New function, to replace them.
2052
d83ef976
SM
2053 * bookmark.el (bookmark-search-pattern): Remove var.
2054 (bookmark-read-search-input): Remove function.
2055 (bookmark-bmenu-search): Reimplement using a minibuffer.
2056
cd386662
SM
2057 * faces.el (modeline): Remove obsolete face name.
2058
fe0a74f9
SM
2059 * vc/add-log.el (add-log-buffer-file-name-function): Demote to defvar
2060 and give a non-nil default value.
2061 (add-change-log-entry): Simplify accordingly.
2062
9f7b98f8
DG
20632012-10-01 Dmitry Gutov <dgutov@yandex.ru>
2064
2065 * vc/vc-git.el (vc-git-log-edit-toggle-signoff): New function.
2066 (vc-git-log-edit-toggle-amend): New function.
2067 (vc-git-log-edit-toggle-signoff): New function.
2068 (vc-git-log-edit-mode): New major mode.
2069 (vc-git-log-edit-mode-map): Keymap for it.
2070 (vc-git-checkin): Handle "Amend" and "Sign-Off" headers.
2071
2072 * vc/log-edit.el (log-edit-font-lock-keywords): Allow hyphens in
2073 header names.
2074 (log-edit-toggle-header): New function.
2075 (log-edit-extract-headers): Accept function values in HEADERS alist.
2076
62a81506
CY
20772012-10-01 David Engster <deng@randomsample.de>
2078
2079 * emacs-lisp/eieio-opt.el (eieio-describe-class): Add filename
2080 from symbol property and change message to be more consistent with
2081 Emacs proper.
2082 (eieio-describe-generic): Add filename for each implementation.
2083 Fix indices for generic and normal methods.
2084 (eieio-method-def, eieio-class-def): New buttons.
2085 (eieio-help-find-method-definition)
2086 (eieio-help-find-class-definition): New functions.
2087 (eieio-help-mode-augmentation-maybee): Add buttons to filenames of
2088 class, constructor and method definitions.
2089
2090 * emacs-lisp/eieio.el (eieiomt-add, eieio-defclass): Save file
2091 information in symbol property.
2092 (scoped-class): Remove.
2093 (eieio-slot-name-index, call-next-method): Check if it is bound.
2094
20952012-10-01 Leo P. White <lpw25@cam.ac.uk>
2096
2097 * emacs-lisp/eieio-custom.el (eieio-custom-mode-map): New option.
2098 (eieio-custom-mode): New major mode.
2099 (eieio-customize-object): Use it.
2100
21012012-10-01 Eric Ludlam <zappo@gnu.org>
2102
2103 * emacs-lisp/eieio-base.el (eieio-persistent-read): New input args
2104 specifying the expected class, and whether subclassing is allowed.
2105 (eieio-persistent-convert-list-to-object):
1f9f395d
JB
2106 (eieio-persistent-validate/fix-slot-value)
2107 (eieio-persistent-slot-type-is-class-p): New functions.
2108 (eieio-named::slot-missing): Doc fix.
62a81506
CY
2109
2110 * emacs-lisp/eieio-datadebug.el (data-debug/eieio-insert-slots):
2111 Stop using unused publd variable.
2112
2113 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
2114 (eieio-speedbar-description, eieio-speedbar-derive-line-path)
2115 (eieio-speedbar-object-buttonname, eieio-speedbar-make-tag-line)
2116 (eieio-speedbar-handle-click): Do not specify a class for the
2117 method. Fixes method invocation order problems with EDE.
2118
375e49d4
SM
21192012-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
2120
2121 * emacs-lisp/bytecomp.el (byte-compiler-abbreviate-file): New function.
2122 (byte-compile-warning-prefix, byte-compile-file): Use it (bug#12508).
2123
16ce6ccd
KF
21242012-10-01 Karl Fogel <kfogel@red-bean.com>
2125
2126 * bookmark.el (bookmark-version-control): Give tags in the
2127 :type choices (Bug#12309), and improve doc string.
e4c4abdd
KF
2128 (bookmark-write-file): Bind `print-circle' to `t' to allow
2129 circular custom bookmark types. (Bug#12503)
16ce6ccd 2130
19e54a4d
PE
21312012-10-01 Paul Eggert <eggert@cs.ucla.edu>
2132
86ec63ba
PE
2133 Revert the FOLLOW-SYMLINKS change for file-attributes.
2134 * files.el (remote-file-name-inhibit-cache, after-find-file):
2135 * time.el (display-time-file-nonempty-p): Undo last change.
2136
19e54a4d
PE
2137 * profiler.el (profiler-sampling-interval): Change default back to 1.
2138 See Stefan Monnier in
2139 <http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00863.html>.
2140
0478776b
FEG
21412012-10-01 Fabián Ezequiel Gallina <fgallina@cuca>
2142
2143 Shell output catching a la gud-gdb.
2144 * progmodes/python.el (python-shell-fetch-lines-in-progress)
375e49d4
SM
2145 (python-shell-fetch-lines-string, python-shell-fetched-lines):
2146 New Vars.
0478776b
FEG
2147 (python-shell-fetch-lines-filter): New function.
2148 (python-shell-send-string-no-output): Use them.
2149
c22bac2c
TM
21502012-09-30 Tomohiro Matsuyama <tomo@cx4a.org>
2151
2152 * profiler.el (profiler-sampling-interval): Rename from
2153 profiler-sample-interval.
2154 (profiler-sampling-interval): Default to 10.
2155 (profiler-find-profile): New command (was profiler-find-log).
2156 (profiler-find-profile-other-window): New command.
2157 (profiler-find-profile-other-frame): New command.
2158 (profiler-profile): Introduce API-level data structure.
2159
e7a2937b
PE
21602012-09-30 Paul Eggert <eggert@cs.ucla.edu>
2161
2162 file-attributes has a new optional arg FOLLOW-SYMLINKS.
2163 * files.el (remote-file-name-inhibit-cache):
2164 * time.el (display-time-file-nonempty-p): Use it.
2165 * files.el (after-find-file): Don't chase links before calling
2166 file-exists-p, as file-exists-p already does the right thing.
2167
4f595e15
RA
21682012-09-30 Ralf Angeli <angeli@caeruleus.net>
2169
2170 Merge from standalone RefTeX repository.
2171
2172 The following ChangeLog entries are shortened versions of the
2173 original ones with file paths adapted. A not so strongly edited
2174 version of the original ChangeLog can be found in the commit log.
2175
2176 * textmodes/reftex-auc.el: Move `provide' call to bottom of file.
375e49d4
SM
2177 (reftex-arg-cite): Use `reftex-cite-key-separator'.
2178 Correctly handle new value type returned by `reftex-citation'.
4f595e15
RA
2179
2180 * textmodes/reftex-cite.el (reftex-create-bibtex-file): Make sure
375e49d4
SM
2181 that entries with whitespace at various places are found.
2182 Doc fix. Include entries that are cross-referenced from cited entries.
4f595e15
RA
2183 Include @String definitions in the resulting bib file. Add header
2184 and footer defined in `reftex-create-bibtex-header' and
2185 `reftex-create-bibtex-footer'.
2186 (reftex-do-citation): Make it possible again to insert
2187 non-existent entries. Save match data when asking for optional
2188 arguments. Return all keys, not just the first one.
2189 (reftex-all-used-citation-keys): Fix regexp to correctly extract
2190 all citations in the same line.
2191 (reftex-parse-bibtex-entry): Accept additional optional argument
2192 `raw' and keep quotes or braces if it is non-nil. Match fields
2193 containing hyphens besides word constituents.
2194 (reftex-get-string-refs): New function.
2195 (reftex-extract-bib-entries): Check if BibTeX file changed on disk
2196 and ask if it should be reread in case it did.
2197 (reftex-pop-to-bibtex-entry)
2198 (reftex-extract-bib-entries-from-thebibliography): Match \bibitem
2199 entries with spaces or tabs in front of arguments.
2200 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
375e49d4
SM
2201 (reftex-parse-bibtex-entry, reftex-create-bibtex-file):
2202 Match entries containing numbers and symbol constituents.
2203 (reftex-do-citation, reftex-figure-out-cite-format):
2204 Use `reftex-cite-key-separator'.
4f595e15
RA
2205
2206 * textmodes/reftex-dcr.el: Move provide statement to end of file.
2207 (reftex-mouse-view-crossref): Explain why point is set.
2208
2209 * textmodes/reftex-global.el: Whitespace changes.
2210
2211 * textmodes/reftex-index.el: Move provide statement to end of
2212 file.
2213 (reftex-index-selection-or-word): Use `reftex-region-active-p'.
2214 (reftex-index-visit-phrases-buffer): Set marker when visiting
2215 buffer. This allows for returning from the phrases file to the
2216 file one was just editing instead of the file where the last
2217 phrases was added from.
2218 (reftex-index-phrases-syntax-table): New variable. Give ?\"
2219 punctuation syntax as it usually is not used as string quote in
2220 TeX-related modes and may occur unmatched. The change also
2221 prevents fontification of quoted content.
2222 (reftex-index-phrases-mode): Use it.
2223
375e49d4
SM
2224 * textmodes/reftex-parse.el (reftex-parse-from-file):
2225 Move backward one char if a `\' was matched after a section macro.
4f595e15
RA
2226 (reftex-parse-from-file): Use beginning of match instead of end as
2227 bound.
2228
2229 * textmodes/reftex-ref.el: Adapt creation of
2230 `reftex-<package>-<macro>' functions to new structure of
2231 `reftex-ref-style-alist'.
375e49d4
SM
2232 (reftex-reference): Use `reftex-ref-style-list' function.
2233 Adapt to new structure of `reftex-ref-style-alist'. Prompt for a
4f595e15
RA
2234 reference macro if `reftex-ref-macro-prompt' is non-nil.
2235 (reftex-reference): Pass refstyle to `reftex-format-special'.
2236 Determine reference macro by looking at
375e49d4
SM
2237 `reftex-ref-style-default-list' and `reftex-ref-style-alist'.
2238 Use only one special format function.
4f595e15
RA
2239 (reftex-varioref-vref, reftex-fancyref-fref)
2240 (reftex-fancyref-Fref): Remove definitions. The functions are now
2241 generated from `reftex-ref-style-alist'.
2242 (reftex-format-vref, reftex-format-Fref, reftex-format-fref):
2243 Remove.
2244 (reftex-format-special): New function.
2245
2246 * textmodes/reftex-sel.el
2247 (reftex-select-cycle-ref-style-internal): Adapt to new structure
2248 of `reftex-ref-style-alist'. Remove code for testing macro type.
2249 (reftex-select-toggle-varioref)
2250 (reftex-select-toggle-fancyref): Remove.
2251 (reftex-select-cycle-ref-style-internal)
2252 (reftex-select-cycle-ref-style-forward)
2253 (reftex-select-cycle-ref-style-backward): New functions.
2254 (reftex-select-label-map): Use `v' and `V' for general cycling
2255 through reference styles. Add `p' for switching between number
2256 and page reference types.
2257
375e49d4
SM
2258 * textmodes/reftex-toc.el (reftex-re-enlarge):
2259 Call `enlarge-window' only if there is something to do because in Emacs
4f595e15
RA
2260 the horizontal version throws an error even if the parameter is 0.
2261
2262 * textmodes/reftex-vars.el (reftex-label-alist): Doc fix.
2263 (reftex-plug-into-AUCTeX): Doc fix.
2264 (reftex-vref-is-default, reftex-fref-is-default): Adapt doc
2265 string. Adapt to new name.
2266 (reftex-ref-style-alist): Change structure so that it is not
2267 possible to use multiple different package names within a style.
375e49d4
SM
2268 Remove the symbols for symbols for macro type distinction.
2269 Add characters for macro selection.
4f595e15
RA
2270 (reftex-ref-macro-prompt, reftex-create-bibtex-header)
2271 (reftex-create-bibtex-footer): New variables.
2272 (reftex-format-ref-function): Mention third argument of special
2273 format function.
375e49d4
SM
2274 (reftex-ref-style-alist, reftex-ref-style-default-list):
2275 New variables.
4f595e15
RA
2276 (reftex-vref-is-default, reftex-fref-is-default): Adapt doc string
2277 to new implementation. Mark as obsolete. Add compatibility code
2278 for honoring the variable values in case they are set.
375e49d4
SM
2279 (reftex-cite-format-builtin, reftex-bibliography-commands):
2280 Add support for ConTeXt.
2281 (reftex-format-ref-function, reftex-format-cite-function):
2282 Fix custom type.
4f595e15
RA
2283 (reftex-cite-key-separator): New variable.
2284
2285 * textmodes/reftex.el (reftex-syntax-table-for-bib)
2286 (reftex-mode): Do not derive `reftex-syntax-table-for-bib' from
2287 `reftex-syntax-table' because parens have to retain their paren
2288 syntax in order for parsing of BibTeX entries like @book(...) to
2289 work.
2290 (reftex-in-comment): Do not error out if `comment-start-skip' is
2291 not set. Deal correctly with escaped comment characters.
375e49d4
SM
2292 (reftex-tie-multifile-symbols): Add doc string.
2293 Initialize `reftex-ref-style-list'.
4f595e15
RA
2294 (reftex-untie-multifile-symbols): Add doc string.
2295 (reftex-add-index-macros): Doc fix.
2296 (reftex-ref-style-activate, reftex-ref-style-toggle)
2297 (reftex-ref-style-list): New functions.
2298 (reftex-mode-menu): Use them. Adapt to new structure of
2299 `reftex-ref-style-alist'.
2300 (reftex-select-with-char): Kill the RefTeX Select buffer when
2301 done.
2302 (reftex-remove-if): New function.
2303 (reftex-erase-all-selection-and-index-buffers)
2304 (reftex-mode-menu): Reference styles are now computed from
2305 `reftex-ref-style-alist'. Fix typo.
2306 (reftex-report-bug): New function.
2307 (reftex-uniquify, reftex-uniquify-by-car): Replace O(n^2)
2308 algorithms with O(n log n). Introduce optional argument SORT (not
2309 yet used).
2310
440ba395
FEG
23112012-09-30 Fabián Ezequiel Gallina <fgallina@cuca>
2312
2313 Enhancements for triple-quote string syntax.
375e49d4
SM
2314 * progmodes/python.el (python-syntax-propertize-function):
2315 Match both quote cases in one regexp.
440ba395
FEG
2316 (python-syntax-stringify): Handle matches properly.
2317
4c478e6b
JL
23182012-09-30 Juri Linkov <juri@jurta.org>
2319
2320 * arc-mode.el (archive-summarize): Let-bind `buffer-file-truename'
93cacb6d 2321 to nil around the call to `insert' to prevent
4c478e6b
JL
2322 directory time modification by lock_file. (Bug#2295)
2323 * tar-mode.el (tar-summarize-buffer): Idem.
2324
d80d54b2
JL
23252012-09-30 Juri Linkov <juri@jurta.org>
2326
2327 * facemenu.el (list-colors-sort): Add option "Luminance".
2328 (list-colors-sort-key): Implement it.
2329
2330 * vc/diff-mode.el (diff-refine-removed):
2331 * vc/ediff-init.el (ediff-fine-diff-A):
2332 * vc/smerge-mode.el (smerge-refined-removed):
2333 Change background color "#ffaaaa" to "#ffbbbb". (Bug#10181)
2334
d7e642cc
JD
23352012-09-30 Jan Djärv <jan.h.d@swipnet.se>
2336
2337 * term/ns-win.el (x-file-dialog): New function.
2338
ee41332b
JB
23392012-09-30 Juanma Barranquero <lekktu@gmail.com>
2340
2341 * ido.el (ido-max-directory-size): Default to nil; the current
2342 default is small for POSIX systems, and impractical on Windows 7
2343 now that lstat returns directory sizes for NTFS.
2344
5938d519
MR
23452012-09-30 Martin Rudalics <rudalics@gmx.at>
2346
2347 In buffer display functions handle window-height/window-width
2348 alist entries. Suggested by Juri Linkov as fix for Bug#1806.
375e49d4
SM
2349 * window.el (window--display-buffer): New argument ALIST.
2350 Obey window-height and window-width alist entries.
2351 (window--try-to-split-window): New argument ALIST.
2352 Bind window-combination-limit to t when the window's size shall be
5938d519
MR
2353 changed and window-combination-limit equals `window-size'.
2354 (display-buffer-in-atom-window)
2355 (display-buffer-in-major-side-window)
2356 (display-buffer-in-side-window, display-buffer-same-window)
2357 (display-buffer-reuse-window, display-buffer-pop-up-frame)
2358 (display-buffer-pop-up-window, display-buffer-below-selected)
2359 (display-buffer-at-bottom, display-buffer-in-previous-window)
2360 (display-buffer-use-some-window): Adjust all callers of
2361 window--display-buffer and window--try-to-split-window.
2362 (fit-frame-to-buffer): New option.
2363 (fit-window-to-buffer): Can resize frames if fit-frame-to-buffer
2364 is non-nil.
2365 (display-buffer-in-major-side-window): Evaluate window-height /
2366 window-width alist entries.
2367
2368 * help.el (temp-buffer-resize-frames)
2369 (temp-buffer-resize-regexps): Remove options.
2370 (temp-buffer-resize-mode): Adjust doc-string.
2371 (resize-temp-buffer-window): Don't consult
2372 temp-buffer-resize-regexps. Use fit-frame-to-buffer instead of
2373 temp-buffer-resize-frames.
2374
375e49d4
SM
2375 * dired.el (dired-mark-pop-up):
2376 Call display-buffer-below-selected with a fit-window-to-buffer alist
5938d519
MR
2377 entry.
2378
c4c0c2df
CY
23792012-09-30 Chong Yidong <cyd@gnu.org>
2380
48de8b12
CY
2381 * server.el (server-host): Document the security implications.
2382 (server-auth-key): Doc fix.
2383
2384 * startup.el (initial-buffer-choice): Doc fix.
2385
2386 * minibuffer.el (minibuffer-local-filename-syntax): Doc fix.
2387
a97dc380
CY
2388 * simple.el (delete-trailing-whitespace): Avoid an unnecessary
2389 restriction change.
2390
d39d3c8e
CY
2391 * bindings.el (goto-map): Bind M-g TAB to move-to-column.
2392
c4c0c2df
CY
2393 * help-fns.el (help-fns--obsolete): Fix last change.
2394
98a5e33b
SM
23952012-09-30 Stefan Monnier <monnier@iro.umontreal.ca>
2396
34cf6f39
SM
2397 * winner.el (winner-mode-map): Obey winner-dont-bind-my-keys here.
2398 (minor-mode-map-alist): Remove redundant code.
2399
e01c13fe
SM
2400 * vc/pcvs.el (cvs-cleanup-collection): Keep entries that are currently
2401 visited in a buffer.
2402 (cvs-insert-visited-file): New function.
2403 (find-file-hook): Use it.
2404
2405 * vc/pcvs-info.el (cvs-fileinfo-pp): Don't use non-existent faces.
2406
02661b3a
SM
2407 * vc/log-edit.el (log-edit-font-lock-keywords): Ignore case to
2408 chose face.
2409 (log-edit-empty-buffer-p): Don't require a space after a header.
2410
43711d4b
SM
2411 * vc/ediff-util.el (ediff-diff-at-point): Don't assume point-min==1.
2412
38a30d64
SM
2413 * tutorial.el (help-with-tutorial): Use minibuffer-with-setup-hook.
2414
4ffb41a9
SM
2415 * textmodes/text-mode.el (paragraph-indent-minor-mode): Make it
2416 a proper minor-mode.
2417
98a5e33b
SM
2418 * textmodes/tex-mode.el (tex-mode-map): Don't bind paren keys.
2419
de82e29b
GM
24202012-09-29 Glenn Morris <rgm@gnu.org>
2421
5cc2e639
GM
2422 * winner.el (winner-mode): Remove variable (let define-minor-mode
2423 handle it).
2424 (winner-dont-bind-my-keys, winner-boring-buffers, winner-mode-hook):
2425 Doc fixes.
2426 (winner-mode-leave-hook): Rename to winner-mode-off-hook.
2427 (winner-mode): Use define-minor-mode.
2428
7bd302eb
GM
2429 * vc/vc-sccs.el (vc-sccs-registered): Use the progn trick to get
2430 the full definition in loaddefs, rather than duplicating it.
2431
2923922f 2432 * help-macro.el (three-step-help): No need to autoload defcustom.
ced08382 2433
0e3e4156
GM
2434 * progmodes/inf-lisp.el (inferior-lisp-filter-regexp)
2435 (inferior-lisp-program, inferior-lisp-load-command)
2436 (inferior-lisp-prompt, inferior-lisp-mode-hook):
2923922f 2437 No need to autoload defcustoms.
0e3e4156 2438
de82e29b
GM
2439 * hippie-exp.el (hippie-expand-try-functions-list)
2440 (hippie-expand-verbose, hippie-expand-dabbrev-skip-space)
2441 (hippie-expand-dabbrev-as-symbol, hippie-expand-no-restriction)
2442 (hippie-expand-max-buffers, hippie-expand-ignore-buffers)
2923922f 2443 (hippie-expand-only-buffers): No need to autoload defcustoms.
de82e29b
GM
2444 * progmodes/vhdl-mode.el (vhdl-line-expand):
2445 Explicitly load hippie-exp, so it does not get autoloaded
2446 while hippie-expand-try-functions-list is let-bound.
2447
e60b51ab
GM
24482012-09-28 Glenn Morris <rgm@gnu.org>
2449
277f0cfa
GM
2450 * emacs-lisp/cl.el (flet): Fix case of obsolescence message.
2451
e60b51ab
GM
2452 * emacs-lisp/bytecomp.el (byte-compile-cl-file-p):
2453 Only "cl.el" counts as cl these days.
2454
53baf48a
JL
24552012-09-28 Juri Linkov <juri@jurta.org>
2456
2457 Display archive errors in the echo area instead of inserting
2458 to the file buffer.
2459
2460 * arc-mode.el (archive-extract-by-stdout): Change arg STDERR-FILE
2461 to STDERR-TEST that can be a regexp matching a successful output.
2462 Create a temporary file and redirect stderr to it. Search for
2463 STDERR-TEST in the stderr output and display it in the echo area
2464 if no match is found.
2465 (archive-extract-by-file): New function like
2466 `archive-extract-by-stdout' but extracting archives to files
2467 and looking for successful matches in stdout. Function body is
2468 mostly copied from `archive-rar-extract'.
2469 (archive-rar-extract): Use `archive-extract-by-file'.
2470 (archive-7z-extract): Use `archive-extract-by-stdout'. (Bug#10347)
2471
9c1228c3
LL
24722012-09-28 Leo Liu <sdl.web@gmail.com>
2473
375e49d4
SM
2474 * pcomplete.el (pcomplete-show-completions):
2475 Use minibuffer-message to make pcomplete usable in minibuffer.
147c0425 2476
9c1228c3
LL
2477 * ido.el (ido-set-matches-1): Fix 2012-09-11 change.
2478
7f457c06
SM
24792012-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
2480
3df749b0
SM
2481 * type-break.el: Use lexical-binding.
2482 (type-break-mode): Use define-minor-mode.
2483
7f457c06
SM
2484 * emacs-lisp/pcase.el (pcase--mark-used): New.
2485 (pcase--u1): Use it (bug#12512).
2486
2487 * custom.el (load-theme): Set buffer-file-name so the load is recorded
2488 in load-history with the right file name.
2489
c00ebc98
TH
24902012-09-28 Tassilo Horn <tsdh@gnu.org>
2491
2492 * doc-view.el (doc-view-current-cache-doc-pdf): New function.
2493 (doc-view-doc->txt, doc-view-convert-current-doc): Use it.
2494 (doc-view-get-bounding-box): Make bounding box slicing work for
2495 ODF and DVI documents.
2496
96fb7170
GM
24972012-09-28 Glenn Morris <rgm@gnu.org>
2498
2499 * type-break.el (type-break-mode, type-break-interval)
2500 (type-break-good-rest-interval, type-break-keystroke-threshold):
2501 No need to autoload.
2502 (type-break-good-rest-interval, type-break-keystroke-threshold):
2503 Add :set-after.
2504
5bc93c67
CY
25052012-09-28 Chong Yidong <cyd@gnu.org>
2506
2507 * progmodes/verilog-mode.el (verilog-auto-inst-interfaced-ports):
2508 Add :version tag.
2509
9cad61d6
SM
25102012-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
2511
e28e67b3 2512 * json.el (json-encode-char): Codes 127-160 aren't "ASCII printable".
9cad61d6 2513
daee954c
GM
25142012-09-27 Glenn Morris <rgm@gnu.org>
2515
a88324d4
GM
2516 * faces.el (x-display-name): Declare (for without-x builds).
2517
8e5064e5
GM
2518 * linum.el (linum-format): Don't autoload it. Improve :type.
2519
cc1783c2
GM
2520 * progmodes/tcl.el: Don't require outline when compiling.
2521 (outline-regexp, outline-level): Declare.
1dddcf4c
GM
2522 * textmodes/sgml-mode.el: Don't require outline when compiling.
2523 (outline-regexp, outline-heading-end-regexp, outline-level): Declare.
2524
48c339f2
GM
2525 * term.el (term-ansi-reset):
2526 Try setting term-ansi-face-already-done to nil. (Bug#11785)
2527
daee954c
GM
2528 * vc/vc.el (vc-next-action): Only gripe about committing read-only
2529 files for RCS and SCCS. (Bug#9781)
2530
b7f42161
CY
25312012-09-27 Chong Yidong <cyd@gnu.org>
2532
2533 * progmodes/verilog-mode.el (verilog-mode-release-emacs): Fix last
2534 change; value should be t.
2535
a2e770db
SM
25362012-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
2537
83600dc8
SM
2538 * image-mode.el: Use lexical-binding.
2539 (image-mode-winprops): Use t to stand for the window of
2540 a buffer that's not displayed.
2541 * doc-view.el (doc-view-new-window-function): Handle the new
2542 t in winprops.
2543 (doc-view-enlarge): Make it a real nop if the size is not changed.
2544 (doc-view-display): Handle the case where the buffer is not (yet?)
2545 displayed in any window.
2546 (doc-view-saved-settings): New var.
2547 (doc-view-mode): Use it.
2548 (doc-view-fallback-mode): Set it.
2549
a2e770db
SM
2550 * minibuf-eldef.el: Make it possible to replace (default ...) with [...].
2551 Set lexical-binding.
2552 (minibuffer-eldef-shorten-default): New var.
2553 (minibuffer-default-in-prompt-regexps): Use it for new default.
2554 (minibuf-eldef-setup-minibuffer): Add replacement functionality.
2555
e3b60857
JB
25562012-09-26 Juanma Barranquero <lekktu@gmail.com>
2557
2558 * international/uni-bidi.el:
2559 * international/uni-category.el:
2560 * international/uni-name.el:
2561 * international/uni-numeric.el: Regenerate.
2562
3a880af4
SM
25632012-09-26 Tomohiro Matsuyama <tomo@cx4a.org>
2564 Stefan Monnier <monnier@iro.umontreal.ca>
2565
2566 * profiler.el: New file.
2567
07b1a5fb
SM
25682012-09-26 Stefan Monnier <monnier@iro.umontreal.ca>
2569
2570 * emacs-lisp/testcover.el (testcover-after): Add gv-expander.
2571 (testcover-reinstrument): Simplify with CSE.
2572
42019c2e
JB
25732012-09-26 Juanma Barranquero <lekktu@gmail.com>
2574
2575 * window.el (temp-buffer-window-setup): Fix typo in docstring.
2576
179f044b
WS
25772012-09-25 Wilson Snyder <wsnyder@wsnyder.org>
2578
2579 * verilog-mode.el (verilog-auto-ascii-enum, verilog-auto-inout)
2580 (verilog-auto-input, verilog-auto-insert-lisp)
2581 (verilog-auto-output, verilog-auto-output-every, verilog-auto-reg)
2582 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-undef)
2583 (verilog-auto-unused, verilog-auto-wire)
2584 (verilog-forward-or-insert-line): Fix AUTOs with no trailing
2585 newline. Reported by Andrew Jones.
2586 (verilog-auto-inst) Support expanding $clog2 in AUTOINST.
2587 Reported by Brad Dobbie.
07b1a5fb
SM
2588 (verilog-batch-delete-trailing-whitespace):
2589 Create verilog-batch-delete-trailing-whitespace.
2590 Reported by Brad Dobbie.
179f044b
WS
2591 (verilog-auto-inout-param): Support AUTOINOUTPARAM for copying
2592 parameters from another module. Reported by Dan Katz.
2593 (verilog-auto, verilog-auto-assign-modport)
2594 (verilog-auto-inout-modport): Add AUTOASSIGNMODPORT and
2595 AUTOINOUTMODPORT for UVM interface module shell generation.
2596 Reported by Brad Dobbie.
2597 (verilog-auto-inst-interfaced-ports): Make default nil, as more
2598 standard behavior.
2599 (verilog-auto): Fix AUTO parameters with parenthesis arguments.
2600 Reported by Matt Martin.
2601
9c52dd5a
MR
26022012-09-25 Martin Rudalics <rudalics@gmx.at>
2603
2604 * window.el (window--resize-child-windows): When resizing child
2605 windows proportionally, process them in reverse order to
2606 preserve the "when splitting a window the new one gets the odd
2607 line" behavior.
2608 (window--resize-root-window-vertically): When resizing the
2609 minibuffer window try to affect only windows at the bottom of the
2610 frame. (Bug#12419)
2611
863666eb
CY
26122012-09-25 Chong Yidong <cyd@gnu.org>
2613
2614 * subr.el (declare): Doc fix.
2615
2616 * help-fns.el (help-fns--obsolete): Handle macros properly.
2617
59f7af81
CY
26182012-09-25 Chong Yidong <cyd@gnu.org>
2619
2620 * bookmark.el (bookmark-jump-noselect): Use a declare form to mark
2621 this function obsolete.
2622
2623 * calendar/cal-x.el (calendar-two-frame-setup)
2624 (calendar-only-one-frame-setup, calendar-one-frame-setup):
2625 * calendar/calendar.el (american-calendar, european-calendar)
2626 (calendar-for-loop):
2627 * comint.el (comint-dynamic-simple-complete)
2628 (comint-dynamic-complete-as-filename, comint-unquote-filename):
2629 * desktop.el (desktop-load-default):
2630 * dired-x.el (dired-omit-here-always)
2631 (dired-hack-local-variables, dired-default-directory):
2632 * emacs-lisp/derived.el (derived-mode-class):
2633 * emacs-lisp/timer.el (timer-set-time-with-usecs):
2634 * emacs-lock.el (toggle-emacs-lock):
2635 * epa.el (epa-display-verify-result):
2636 * epg.el (epg-sign-keys, epg-start-sign-keys)
2637 (epg-passphrase-callback-function):
2638 * eshell/esh-util.el (eshell-for):
2639 * eshell/eshell.el (eshell-remove-from-window-buffer-names)
2640 (eshell-add-to-window-buffer-names):
2641 * files.el (locate-file-completion):
2642 * imenu.el (imenu-example--create-c-index)
2643 (imenu-example--create-lisp-index)
2644 (imenu-example--lisp-extract-index-name)
2645 (imenu-example--name-and-position):
2646 * international/mule-cmds.el (princ-list):
2647 * international/mule-diag.el (decode-codepage-char):
2648 * international/mule-util.el (detect-coding-with-priority):
2649 * iswitchb.el (iswitchb-read-buffer):
2650 * mail/mailalias.el (mail-complete):
2651 * mail/sendmail.el (mail-sent-via):
2652 * mouse.el (mouse-popup-menubar-stuff, mouse-popup-menubar)
2653 (mouse-major-mode-menu):
2654 * password-cache.el (password-read-and-add):
2655 * pcomplete.el (pcomplete-parse-comint-arguments):
2656 * progmodes/sh-script.el (sh-maybe-here-document):
2657 * replace.el (query-replace-regexp-eval):
2658 * savehist.el (savehist-load):
2659 * simple.el (choose-completion-delete-max-match):
2660 * term.el (term-dynamic-simple-complete):
2661 * vc/ediff-init.el (ediff-check-version):
2662 * vc/ediff-wind.el (ediff-choose-window-setup-function-automatically):
2663 * vc/vc.el (vc-diff-switches-list):
2664 * view.el (view-return-to-alist-update): Likewise.
2665
2666 * subr.el (eval-next-after-load, makehash, insert-string)
2667 (assoc-ignore-representation, assoc-ignore-case): Use declare to
2668 mark obsolete.
2669 (mode-line-inverse-video): Variable deleted.
2670
2671 * international/mule-util.el (string-to-sequence): Remove.
2672
2673 * calendar/calendar.el (calendar-version):
2674 * calendar/icalendar.el (icalendar-extract-ical-from-buffer)
2675 (icalendar-convert-diary-to-ical):
2676 * cus-edit.el (custom-mode):
2677 * ansi-color.el (ansi-color-unfontify-region):
2678 * international/latin1-disp.el (latin1-char-displayable-p):
2679 * progmodes/cwarn.el (turn-on-cwarn-mode):
07b1a5fb
SM
2680 * progmodes/which-func.el (which-func-update-1):
2681 Use define-obsolete-function-alias.
59f7af81
CY
2682
2683 * net/newst-backend.el (newsticker-cache-filename):
07b1a5fb
SM
2684 * net/newst-treeview.el (newsticker-groups-filename):
2685 Fix incorrect obsolescence declaration.
59f7af81
CY
2686
2687 * allout.el (allout-passphrase-hint-string): Likewise.
2688 (allout-init): Use a declare form to mark obsolete.
2689
2690 * emacs-lisp/byte-run.el (make-obsolete): Doc fix; emphasize that
2691 this applies to functions.
2692
2693 * iswitchb.el (iswitchb-read-buffer): Move code of
2694 iswitchb-define-mode-map here, and delete that obsolete function.
2695
2696 * net/snmp-mode.el (snmp-font-lock-keywords-3): Don't use obsolete
2697 font-lock-reference-face.
2698
cca96c97
GM
26992012-09-25 Glenn Morris <rgm@gnu.org>
2700
b06eeda8
GM
2701 * buff-menu.el (Buffer-menu-name-width, Buffer-menu-size-width):
2702 Doc fixes.
2703
cca96c97
GM
2704 * eshell/em-term.el (eshell-term-name):
2705 Default to term-term-name. (Bug#12485)
2706
dc4f818b
FEG
27072012-09-24 Fabián Ezequiel Gallina <fgallina@cuca>
2708
cca96c97
GM
2709 * progmodes/python.el (python-shell-send-buffer): Better handling
2710 of "if __name__ == '__main__':" conditionals when sending the buffer.
dc4f818b 2711
289c24bd
GM
27122012-09-24 Glenn Morris <rgm@gnu.org>
2713
2714 * eshell/esh-cmd.el (eshell-find-alias-function):
2715 Tighten up file-name regexp. (Bug#12499)
2716
8fb8b88f
FEG
27172012-09-24 Fabián Ezequiel Gallina <fgallina@cuca>
2718
2719 Enhancements for triple-quote string syntax.
2720 * progmodes/python.el (python-quote-syntax): Remove.
2721 (python-syntax-propertize-function): New value.
07b1a5fb
SM
2722 (python-syntax-count-quotes, python-syntax-stringify):
2723 New functions.
8fb8b88f 2724
6c27f0f8
CY
27252012-09-24 Chong Yidong <cyd@gnu.org>
2726
a5f2b6ec
CY
2727 * mail/supercite.el (sc-version): Remove obsolete function.
2728 (sc-describe): Don't mark as obsolete, since it is bound.
2729 (sc-submit-bug-report): Remove.
2730
2731 * vc/log-edit.el (cvs-changelog-full-paragraphs)
2732 (cvs-commit-buffer-require-final-newline): Remove.
0c765e5f
CY
2733 (log-edit-require-final-newline)
2734 (log-edit-changelog-full-paragraphs): Default to t.
a5f2b6ec
CY
2735
2736 * vc/pcvs-defs.el (cvs-diff-buffer-name, cvs-diff-ignore-marks)
2737 * vc/vc-hooks.el (vc-ignore-vc-files, vc-master-templates)
2738 * vc/vc.el (vc-checkout-carefully): Likewise.
2739
2740 * vc/emerge.el (emerge-mode): Make it an obsolete alias.
2741 (emerge-version): Remove.
2742
2743 * progmodes/compile.el (compile-internal): Remove.
2744 (compilation-parse-errors-function): Fix typo.
2745
2746 * international/mule.el (set-char-table-default): Remove.
2747 (set-coding-priority, make-coding-system, generic-char-p)
2748 (charset-list, charset-bytes, charset-id): Use declare to mark
2749 functions as obsolete.
2750
2751 * vc/pcvs-defs.el (cvs-buffer-name-alist)
2752 (cvs-invert-ignore-marks): Remove references to obsolete vars.
2753 * vc/vc-hooks.el (vc-default-registered): Don't use
2754 vc-master-templates.
2755
07b1a5fb
SM
2756 * font-lock.el (font-lock-reference-face):
2757 Use define-obsolete-variable-alias.
6c27f0f8
CY
2758
2759 * generic-x.el (rul-generic-mode): Use font-lock-constant-face.
2760 * calendar/calendar.el (calendar-font-lock-keywords):
2761 * calendar/diary-lib.el (diary-font-lock-keywords)
2762 (diary-fancy-font-lock-keywords):
2763 * textmodes/reftex-sel.el (reftex-insert-docstruct):
2764 * textmodes/reftex-index.el (reftex-insert-index):
2765 * textmodes/reftex-cite.el (reftex-format-bib-entry):
2766 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
2767 * progmodes/ps-mode.el (ps-mode-font-lock-keywords-1):
2768 * progmodes/prolog.el (prolog-font-lock-keywords):
2769 * progmodes/idlwave.el (idlwave-idl-keywords):
2770 * progmodes/ada-mode.el (ada-font-lock-keywords):
2771 * net/snmp-mode.el (snmp-font-lock-keywords-3): Likewise.
2772
bcc0adbf
GM
27732012-09-24 Glenn Morris <rgm@gnu.org>
2774
2775 * mail/emacsbug.el (report-emacs-bug): Include `lsb_release -d'.
2776
095bb823
FEG
27772012-09-23 Fabián Ezequiel Gallina <fgallina@cuca>
2778
2779 * progmodes/python.el (python-indent-line): More consistent cursor
2780 movement behavior.
2781
70efc5c9
SM
27822012-09-23 Stefan Merten <smerten@oekonux.de>
2783
2784 * textmodes/rst.el: Fix compiler warning.
2785
2f438239
RW
27862012-09-23 Roland Winkler <winkler@gnu.org>
2787
07b1a5fb
SM
2788 * textmodes/bibtex.el (bibtex-autokey-transcriptions):
2789 Transcribe also LaTeX hyphenation.
2f438239
RW
2790 (bibtex-reformat): Bug fix. Do not quote twice the elements of
2791 bibtex-reformat-previous-options.
2792
936ad041
RW
27932012-09-23 Roland Winkler <winkler@gnu.org>
2794
2795 * proced.el (proced-renice-command): New variable.
2796 (proced-marked-processes): New function.
2797 (proced-with-processes-buffer): New macro.
2798 (proced-send-signal): Use them.
2799 (proced-renice): New command bound to r.
2800
6fab0274
RW
28012012-09-23 Roland Winkler <winkler@gnu.org>
2802
2803 * ibuf-ext.el (ibuffer-switch-to-saved-filter-groups): If list
2804 ibuffer-saved-filter-groups has one element, shortcut the call of
2805 completing-read. (Bug#12331)
2806
9a930676
CY
28072012-09-23 Chong Yidong <cyd@gnu.org>
2808
2809 * bindings.el (mode-line-toggle-read-only):
2810 * bs.el (bs-toggle-readonly):
2811 * buff-menu.el (Buffer-menu-toggle-read-only):
2812 * dired.el (dired-toggle-read-only):
2813 * ibuffer.el (ibuffer-do-toggle-read-only): Use read-only-mode.
2814
d07ff9db
CY
28152012-09-23 Chong Yidong <cyd@gnu.org>
2816
2817 * image.el (image-type-available-p): Adapt to init-image-library
2818 argument changes.
2819
51c4474e
JL
28202012-09-22 Juri Linkov <juri@jurta.org>
2821
2822 * dired.el (dired-mode-map): Add [remap read-only-mode] for
2823 `dired-toggle-read-only'. (Bug#12462)
2824
43bf5e8e
MR
28252012-09-22 Martin Rudalics <rudalics@gmx.at>
2826
2827 * subr.el (temp-output-buffer-show): New function.
2828 (with-output-to-temp-buffer): Call temp-output-buffer-show
2829 instead of internal-temp-output-buffer-show.
2830
c88b867f
CY
28312012-09-22 Chong Yidong <cyd@gnu.org>
2832
3df47cd5
CY
2833 * files.el (ctl-x-map): Bind C-x C-q to read-only-mode
2834 (Bug#12462).
2835
c88b867f
CY
2836 * repeat.el (repeat): Doc fix (Bug#12348).
2837
2838 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix
2839 (Bug#10909).
2840
2841 * simple.el (shell-command-on-region): Doc fix.
3171e303 2842 (read-only-mode): Doc fix.
c88b867f 2843
df9685f3
EZ
28442012-09-22 Eli Zaretskii <eliz@gnu.org>
2845
2846 * emacs-lisp/timer.el (run-with-idle-timer)
2847 (timer-activate-when-idle): Warn against reinvoking an idle timer
2848 from within its own timer action. (Bug#12447)
2849
8e17c9ba
MR
28502012-09-22 Martin Rudalics <rudalics@gmx.at>
2851
2852 * cus-start.el (window-combination-limit): Add new optional
2853 values.
2854 * window.el (temp-buffer-window-show)
2855 (window--try-to-split-window): Handle new values of
2856 window-combination-limit (Bug#1806).
2857 (split-window): Test window-combination-limit for t instead of
2858 non-nil.
2859 (display-buffer-at-bottom): New buffer display action function.
2860 * help.el (temp-buffer-resize-regexps): New option.
2861 (temp-buffer-resize-mode): Rewrite doc-string.
2862 (resize-temp-buffer-window): Obey temp-buffer-resize-regexps.
bd909927 2863 Don't resize reused window. Suggested by Glenn Morris.
8e17c9ba 2864
48a24920
SM
28652012-09-22 Stefan Merten <smerten@oekonux.de>
2866
70efc5c9 2867 * textmodes/rst.el: Revamp section title faces.
48a24920
SM
2868 (rst-official-version)
2869 (rst-package-emacs-version-alist): Sync with official version
2870 V1.4.0.
2871 (rst-faces-defaults, rst-set-level-default)
2872 (rst-level-face-max, rst-level-face-base-color)
2873 (rst-level-face-base-light, rst-level-face-format-light)
2874 (rst-level-face-step-light, rst-define-level-faces): Obsolete.
2875 (rst-adornment-faces-alist): Match new setup.
2876 (rst-level-1, rst-level-2, rst-level-3, rst-level-4)
2877 (rst-level-5, rst-level-6): New faces.
2878
82f8cd94
CY
28792012-09-22 Chong Yidong <cyd@gnu.org>
2880
2881 * simple.el (undo): Handle indirect buffers (Bug#8207).
2882
acfa068f 28832012-09-21 Leo Liu <sdl.web@gmail.com>
a8c14da8
LL
2884
2885 IDO: Disable match re-ordering for buffer switching.
2bc9406c 2886 * ido.el (ido-buffer-disable-smart-matches): New variable.
a8c14da8
LL
2887 (ido-set-matches-1): Use it. (Bug#2042)
2888
acfa068f 28892012-09-21 Jose Marino <marinoj@nso.edu> (tiny change)
a316d229
JM
2890
2891 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
2892 Fix 2011-05-17 change. (Bug#12418)
2893
acfa068f 28942012-09-21 Leo Liu <sdl.web@gmail.com>
d02e58f8
LL
2895
2896 * subr.el (ignore-errors): Mention with-demoted-errors in doc-string.
2897
acfa068f 28982012-09-21 Glenn Morris <rgm@gnu.org>
511fd0b2
GM
2899
2900 * emacs-lisp/shadow.el (load-path-shadows-font-lock-keywords):
2901 Be more robust about locating simple.el.
2902
acfa068f 29032012-09-21 Glenn Morris <rgm@gnu.org>
fa05bfe0
GM
2904
2905 * mail/emacsbug.el (report-emacs-bug): Trap load-path-shadows errors.
2906
acfa068f
CY
29072012-09-21 Joel Bion <jpbion@westvi.com> (tiny change)
2908
2909 * pcmpl-gnu.el (pcmpl-gnu-tarfile-regexp): Add tar.xz. (Bug#12382)
2910
41a97e6f
JL
29112012-09-20 Juri Linkov <juri@jurta.org>
2912
eb2deaff
JL
2913 * replace.el (query-replace-read-from): Use `read-regexp' instead
2914 of `read-from-minibuffer' when `regexp-flag' is non-nil.
2915 (occur-read-primary-args): Use `read-regexp' instead of
2916 `read-string'.
2917 (multi-occur-in-matching-buffers): Use `read-regexp' instead of
2918 `read-from-minibuffer'.
2919 * isearch.el (isearch-occur): Use `read-regexp' instead of
2920 `read-string'.
2921 * dired.el (dired-read-regexp): Use `read-regexp' instead of
2922 `read-from-minibuffer'.
2923 * progmodes/grep.el (grep-read-regexp): Use `read-regexp' instead
2924 of `read-string'. (Bug#7567)
2925
5825610b
JL
2926 * replace.el (read-regexp): Rename DEFAULT-VALUE arg to DEFAULTS
2927 and allow accepting a list of strings prepended to a list of
2928 standard default values. Doc fix. (Bug#12321)
2929
eebbf404
JL
2930 * replace.el (read-regexp): Add HISTORY arg. (Bug#7567)
2931
41a97e6f
JL
2932 * replace.el (read-regexp): Don't add ": " when PROMPT already
2933 ends with a colon and space. (Bug#12321)
2934
c9e452d3
TH
29352012-09-20 Tassilo Horn <tsdh@gnu.org>
2936
2937 * doc-view.el (doc-view-display): Better fix for the cl-assertion
2938 error.
2939
ee97deee
SM
29402012-09-20 Stefan Merten <smerten@oekonux.de>
2941
70efc5c9 2942 * textmodes/rst.el: Integrate support for `imenu' and `which-function'.
ee97deee
SM
2943 Fixes feature request bug#11711.
2944 (rst-mode): Create `imenu-create-index-function'.
2945 (rst-get-stripped-line): Delete after refactoring.
2946 (rst-section-tree, rst-section-tree-rec)
2947 (rst-section-tree-point): Refactor and document properly.
2948 (rst-imenu-find-adornments-for-position)
07b1a5fb
SM
2949 (rst-imenu-convert-cell, rst-imenu-create-index):
2950 New function.
ee97deee 2951
f490dab9
SM
29522012-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
2953
95b9712e
SM
2954 * emacs-lisp/macroexp.el (macroexp--obsolete-warning): New function.
2955 (macroexp--expand-all): Use it.
2956 (macroexp--funcall-and-return): Remove by folding it into its sole
2957 caller (macroexp--warn-and-return).
2958 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete):
2959 Use macroexp--obsolete-warning.
2960
f490dab9
SM
2961 * calc/calc.el: Fix last change by removing the whole chunk, since it
2962 was only needed back when Calc was not bundled.
2963
96e8d411
MR
29642012-09-20 Martin Rudalics <rudalics@gmx.at>
2965
2966 * emacs-lisp/debug.el (debug): Restore assignment to
2967 debugger-old-buffer removed on 2012-09-08.
2968
0876a82d
JL
29692012-09-20 Juri Linkov <juri@jurta.org>
2970
2971 * dired-aux.el (dired-diff): Remove (require 'diff) since
2972 `diff-latest-backup-file' is now autoloaded.
2973
9f7c28f0
CY
29742012-09-20 Chong Yidong <cyd@gnu.org>
2975
2976 * vc/diff.el (diff-latest-backup-file): Autoload.
2977
7a04bee9
SM
29782012-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
2979
e6f0a80d
SM
2980 * calc/calc.el: Remove redundant autoload shape check.
2981 (sel-mode): Don't defvar.
2982 (calc-get-stack-element): Add `sel-mode' arg instead.
2983 (calc-top, calc-top-list): Pass it this additional argument.
2984 * calc/calc-store.el (calc-store-map):
2985 * calc/calc-map.el (calc-apply, calc-reduce, calc-map)
2986 (calc-map-equation, calc-outer-product, calc-inner-product):
2987 * calc/calc-aent.el (calc-alg-entry): Don't bind sel-mode.
2988
7a04bee9
SM
2989 * emacs-lisp/macroexp.el (macroexp--expand-all): Fix last change.
2990
12734222
JL
29912012-09-19 Juri Linkov <juri@jurta.org>
2992
2993 * dired-aux.el (dired-diff): Add (require 'diff) because
2994 `diff-latest-backup-file' is not autoloaded.
2995 (dired-do-chxxx, dired-do-chmod): Set `no-error-if-not-filep' arg
2996 of `dired-get-filename' to t to not report error when there is
2997 no default file on the current line.
2998
46624b4f
SM
29992012-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
3000
ce97595b
SM
3001 * emacs-lisp/macroexp.el (macroexp--funcall-if-compiled): Rename from
3002 macroexp--eval-if-compile.
3003 (macroexp--funcall-and-return, macroexp--warn-and-return): New funs.
3004 (macroexp--expand-all): Use them (bug#12371).
3005
46624b4f
SM
3006 * doc-view.el (doc-view-guess-paper-size)
3007 (doc-view-scale-bounding-box): Fix unbound `caddr'.
3008
db8a5a18
TH
30092012-09-19 Tassilo Horn <tsdh@gnu.org>
3010
3011 New feature: set optimal slice from BoundingBox information.
3012 * doc-view.el (doc-view-mode-map): Add keybinding.
3013 (doc-view-menu): Add menu entry.
3014 (doc-view-set-slice): Adapt docstring.
3015 (doc-view-get-bounding-box, doc-view-guess-paper-size)
3016 (doc-view-scale-bounding-box)
3017 (doc-view-set-slice-from-bounding-box): New functions.
3018 (doc-view-paper-sizes): New defvar.
3019
69f6644c
GM
30202012-09-19 Glenn Morris <rgm@gnu.org>
3021
35f5b19d
GM
3022 * emacs-lisp/macroexp.el (byte-compile-warn-obsolete)
3023 (byte-compile-log-warning): Autoload. (Bug#12371)
3024
69f6644c
GM
3025 * calendar/calendar.el (calendar-american-month-header)
3026 (calendar-european-month-header, calendar-iso-month-header)
3027 (calendar-month-header): New options.
3028 (calendar-set-date-style): Set calendar-month-header. Redraw calendar.
3029 (calendar-generate-month): Use calendar-month-header. (Bug#9510)
3030
e543ae91
JD
30312012-09-19 Jan Djärv <jan.h.d@swipnet.se>
3032
3033 * startup.el (command-line-ns-option-alist): Add -g and --geometry.
3034
2fd5e67d
JL
30352012-09-18 Juri Linkov <juri@jurta.org>
3036
3037 * dired-aux.el (dired-diff): Restore original functionality of
3038 getting the default value, but keep new feature of using the
3039 latest existing backup file (`diff-latest-backup-file').
3040
42917e79
JL
30412012-09-18 Juri Linkov <juri@jurta.org>
3042
3043 * dired.el (dired-mark): If the region is active in Transient Mark
3044 mode, mark all files in the active region. Doc fix.
3045 (dired-unmark, dired-flag-file-deletion, dired-unmark-backward):
3046 Doc fix. (Bug#10624)
3047
20f70ede
JL
30482012-09-18 Juri Linkov <juri@jurta.org>
3049
3050 * dired-aux.el (dired-do-chxxx, dired-do-chmod): Default file
3051 attributes for M-n are pulled from the file at point.
3052 (dired-do-chgrp, dired-do-chown, dired-do-touch): Doc fix.
3053 Suggested by Drew Adams. (Bug#10624)
3054
32fb8162
DG
30552012-09-18 Dmitry Gutov <dgutov@yandex.ru>
3056
3057 * progmodes/ruby-mode.el (ruby-brace-to-do-end): Don't add extra
3058 whitespace after "end".
3059 (ruby-do-end-to-brace): Collapse block to one line if it fits
3060 within fill-column.
3061
37ab5092
MR
30622012-09-18 Martin Rudalics <rudalics@gmx.at>
3063
3064 * emacs-lisp/debug.el (debugger-bury-or-kill): Fix customization
3065 value.
3066 (debug): Don't remove debugger window when debugger is expected
3067 to be back.
3068
ed1f0bd3
CY
30692012-09-18 Chong Yidong <cyd@gnu.org>
3070
3071 * custom.el (defface): Doc fix.
3072
3073 * cus-edit.el (custom-unlispify-remove-prefixes): Add warning.
3074
a11035b8
MB
30752012-09-18 Martin Blais <blais@furius.ca> (tiny change)
3076
3077 * progmodes/compile.el (compilation-start): Use compilation-always-kill
3078 to initialize query-on-exit; then test that instead (bug#12288).
3079
64f6a736
SM
30802012-09-17 Stefan Merten <smerten@oekonux.de>
3081
70efc5c9 3082 * textmodes/rst.el: Add support for `testcover'.
64f6a736
SM
3083 (rst-defcustom-testcover, rst-testcover-add-compose)
3084 (rst-testcover-add-1value): New functions.
3085 (rst-portable-mark-active-p): Replace by `use-region-p'.
3086 (rst-update-section, rst-classify-adornment)
3087 (rst-find-title-line): Mark `1value' forms.
3088 (rst-classify-adornment): Remove superfluous form.
3089 (rst-update-section, rst-get-adornments-around)
3090 (rst-adornment-complete-p, rst-get-next-adornment)
3091 (rst-adjust, rst-promote-region)
3092 (rst-display-adornments-hierarchy, rst-straighten-adornments)
3093 (rst-find-pfx-in-region, rst-section-tree-rec)
3094 (rst-section-tree-point, rst-toc-insert, rst-toc-insert-node)
3095 (rst-toc-node, rst-toc, rst-forward-section)
3096 (rst-iterate-leftmost-paragraphs)
3097 (rst-iterate-leftmost-paragraphs-2, rst-enumerate-region)
3098 (rst-bullet-list-region)
3099 (rst-convert-bullets-to-enumeration, rst-font-lock-keywords)
3100 (rst-compile-find-conf, rst-compile)
3101 (rst-repeat-last-character): Fix style.
3102
580bd868
CY
31032012-09-17 Chong Yidong <cyd@gnu.org>
3104
3105 * comint.el (comint--complete-file-name-data): Don't add a space
3106 if the status is `sole'; that adds a gratuitous space in the
3107 completion-cycling case (Bug#12092).
3108
3109 * pcomplete.el (pcomplete-completions-at-point): Likewise.
3110
69de3ec6
RS
31112012-09-17 Richard Stallman <rms@gnu.org>
3112
0dee970c
RS
3113 * mail/rmailmm.el (rmail-mime-toggle-raw): Do rmail-mime-insert
3114 only in the mime-shown mode, not in raw mode.
3115 (rmail-mime): Toggle off mime by displaying the message without
6b250df6 3116 mime processing. (Bug#12305)
0dee970c 3117
6b250df6
GM
3118 * mail/rmail.el (rmail-retry-failure):
3119 Turn off mime processing first. (Bug#12037)
acb1c47b 3120
69de3ec6
RS
3121 * epa-mail.el (epa-mail-encrypt): Fix bug when a name has no key.
3122
d079ee5f
CY
31232012-09-17 Chong Yidong <cyd@gnu.org>
3124
3125 * shell.el (shell-file-name-chars, shell-file-name-quote-list)
3126 (shell-dynamic-complete-functions): Convert to defcustom.
3127 (shell-prompt-pattern, shell-completion-fignore): Doc fix.
3128
865fe16f
CY
3129 * bookmark.el (bookmark-bmenu-toggle-filenames): Doc fixes.
3130 * comint.el (comint-prompt-read-only):
3131 * custom.el (defcustom):
3132 * hi-lock.el (hi-lock-mode):
3133 * ibuffer.el (ibuffer-formats):
3134 * ielm.el (ielm-prompt-read-only):
3135 * novice.el (disable-command):
3136 * saveplace.el (toggle-save-place):
3137 * speedbar.el (speedbar-supported-extension-expressions):
3138 * startup.el (auto-save-list-file-prefix, init-file-user)
3139 (after-init-hook, inhibit-startup-echo-area-message):
3140 * strokes.el (strokes-help):
3141 * time-stamp.el (time-stamp):
3142 * calendar/calendar.el (calendar, diary-file):
3143 * calendar/diary-lib.el (diary-mail-entries, diary)
3144 (diary-list-entries-hook):
3145 * calendar/holidays.el (holidays, calendar-holidays):
3146 * calendar/lunar.el (lunar-phases):
3147 * calendar/solar.el (sunrise-sunset):
3148 * emulation/edt.el (edt-load-keys):
3149 * emulation/viper.el (viper-mode):
3150 * eshell/em-alias.el (eshell-command-aliases-list):
3151 * eshell/esh-util.el (eshell-convert-numeric-arguments):
3152 * international/ogonek.el (ogonek-information):
3153 * net/tramp-cmds.el (tramp-bug):
3154 * net/quickurl.el (quickurl-reread-hook-postfix):
3155 * play/decipher.el (decipher-font-lock-keywords):
3156 * progmodes/cc-styles.el (c-set-style):
3157 * progmodes/idlw-shell.el (idlwave-shell-prompt-pattern):
3158 * progmodes/inf-lisp.el (inferior-lisp-prompt):
3159 * progmodes/octave-mod.el (octave-mode):
3160 * progmodes/sql.el (sql-mode, sql-interactive-mode, sql-password):
3161 * progmodes/verilog-mode.el (verilog-read-defines):
3162 * textmodes/two-column.el (2C-mode): Likewise.
3163
48093eb9
KY
31642012-09-16 Katsumi Yamaoka <yamaoka@jpl.org>
3165
3166 * mail/mailabbrev.el (mail-abbrev-expand-hook): Work for a mail aliasee
3167 that holds many addresses.
3168
c584eaf9
CY
31692012-09-16 Chong Yidong <cyd@gnu.org>
3170
40d70ecb
CY
3171 * align.el (align-areas): Call the indication function with
3172 positions instead of markers for arguments (Bug#12343).
3173
1667e065
CY
3174 * files.el (parse-colon-path): Use split-string (Bug#12351).
3175
fdc2806d 3176 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
71ce58e7 3177 (display-buffer-function): Mark as obsolete.
fdc2806d 3178
f1be615c 3179 * progmodes/compile.el (compilation-parse-errors): Accept list
ce97595b
SM
3180 values similar to font-lock-keywords (Bug#12136).
3181 Suggested by Oleksandr Manzyuk.
c584eaf9
CY
3182 (compilation-error-regexp-alist): Doc fix.
3183
f40a9709
GM
31842012-09-15 Glenn Morris <rgm@gnu.org>
3185
72aa16e1
GM
3186 * version.el (emacs-bzr-version-bzr): New function.
3187 (emacs-bzr-get-version): Add optional EXTERNAL argument.
3188
82375160
GM
3189 * vc/vc-bzr.el (vc-bzr-working-revision): For lightweight local
3190 checkouts, check the parent dirstate matches the branch.
3191 Add "--tree" to "bzr revno" arguments. Don't try to shorten the
3192 empty string.
3193
f40a9709
GM
3194 * version.el (emacs-bzr-version): Doc fix.
3195 (emacs-bzr-version-dirstate): New function.
3196 (emacs-bzr-get-version): For lightweight checkouts, if the parent
3197 is local try and check that it matches the branch. If not, just
3198 use dirstate information. (Bug#12441)
3199
cb26b7f5
JL
32002012-09-14 Juri Linkov <juri@jurta.org>
3201
3202 * dired-aux.el (dired-do-chmod): Use `eq' to detect empty input.
3203 (Bug#12399)
3204
2de39f08
SM
32052012-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
3206
0fb3cb7c
SM
3207 * emacs-lisp/advice.el (ad-prognify): Remove, use macroexp-progn.
3208
2de39f08
SM
3209 * emacs-lisp/edebug.el: Miscellaneous cleanup.
3210 Remove obsolete byte-compiler hack that tried to silence some warnings.
3211 (edebug-submit-bug-report): Remove.
3212 (edebug-get-buffer-window, edebug-sit-for, edebug-input-pending-p):
3213 Remove aliases, use the un-prefixed name instead.
3214 (edebug-pop-to-buffer): Consider other frames.
3215 (edebug-original-read):: Make it more obvious that it's always defined.
3216 (edebug--make-form-data-entry, edebug--form-data-name)
3217 (edebug--form-data-begin, edebug--form-data-end): Rename from the
3218 single-dashed name, and implement with cl-defstruct.
3219 (edebug-set-form-data-entry): Use the standard accessors.
3220 (edebug-make-top-form-data-entry): Use push.
3221 (edebug-no-match): Drop useless `funcall'.
3222 (mapcar, mapconcat, mapatoms, apply, funcall): Don't add debug specs
3223 to functions.
3224 (defsubst, dont-compile, eval-when-compile, eval-and-compile)
3225 (delay-mode-hooks, with-temp-file, with-temp-message, ad-dolist)
3226 (with-syntax-table, push, pop, 1value, noreturn, defadvice)
3227 (easy-menu-define, with-custom-print): Remove redundant specs.
3228 (edebug-outside-overriding-local-map)
3229 (edebug-outside-overriding-terminal-local-map): Remove, unused.
3230 (edebug--display): Bind unread-command-events directly to nil rather
3231 than binding it to unread-command-events and later setting it to nil.
3232 (edebug--display): Kill edebug-eval-buffer here...
3233 (edebug--recursive-edit): ...rather than here.
3234 Bind standard-output and standard-input.
3235 (edebug-eval): Check cl-macroexpand-all is fboundp.
3236 (edebug-temp-display-freq-count): Fix last change.
3237
3238 * emacs-lisp/easymenu.el (easy-menu-define): Add `debug' spec.
3239 * subr.el (noreturn, 1value): Add `debug' spec.
3240 * emacs-lisp/advice.el: Require cl-lib.
3241 (ad-copy-tree): Remove, use copy-tree instead.
3242 (ad-dolist): Remove use dolist or cl-dolist instead.
3243 (ad-do-return): Remove, use cl-return instead.
3244 (defadvice): Add `debug' spec.
3245
5b68b333
JL
32462012-09-13 Juri Linkov <juri@jurta.org>
3247
3248 * dired-aux.el (dired-do-chxxx): Use `eq' to detect empty input.
3249 (Bug#12399)
3250
b9800ec4
GM
32512012-09-13 Glenn Morris <rgm@gnu.org>
3252
6a2e6868
GM
3253 * calc/calc.el (math-compose-expr):
3254 * calc/calc-ext.el (math-compose-expr):
3255 * progmodes/cc-defs.el (cl-macroexpand-all):
3256 * progmodes/cc-langs.el (delete-duplicates, mapcan)
3257 (cl-macroexpand-all): Update declarations.
3258
b9800ec4
GM
3259 * vc/vc.el: No need to require ediff.
3260 (ediff-load-version-control): Declare.
3261 (ediff-vc-internal): Fix declaration.
3262 (vc-version-ediff): Require ediff.
3263
c18e885b
PE
32642012-09-13 Paul Eggert <eggert@cs.ucla.edu>
3265
3266 Use a more backwards-compatible timer format (Bug#12430).
3267 * emacs-lisp/timer.el (timer): PSECS is now at the end, rather than
3268 being right after USECS, as that better supports old code that
3269 inadvisedly looked directly at the timer vector.
3270
d607d303
KH
32712012-09-13 Kenichi Handa <handa@gnu.org>
3272
3273 * language/chinese.el ("Chinese-GB", "Chinese-BIG5")
3274 ("Chinese-CNS", "Chinese-EUC-TW"): Add chinese-gbk to
3275 `coding-priority' property of these language environment.
3276
72eac303
PE
32772012-09-13 Paul Eggert <eggert@cs.ucla.edu>
3278
3279 Fix glitches caused by addition of psec to timers (Bug#12430).
3280 * image.el (image-animate-timer):
3281 * time.el (display-time-world-timer):
3282 Use timer--function and timer--args rather than raw access to
3283 timer vector.
3284
2168fe4f
GM
32852012-09-13 Glenn Morris <rgm@gnu.org>
3286
3287 * emacs-lisp/bytecomp.el (byte-compile-warning-prefix):
3288 If not compiling a file, try using load-file-name.
3289
bd8d6108
SM
32902012-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
3291
c0c54fbd
SM
3292 * emacs-lisp/edebug.el (edebug-outside-unread-command-events):
3293 Fix last change.
3294 (edebug-update-eval-list): Use `push'.
3295
bd8d6108
SM
3296 * emacs-lisp/edebug.el: Use lexical-binding.
3297 Remove the "edebug-" prefix from non-dynamically-scoped variables.
3298 Mark unused args with underscore.
3299 (edebug-save-restriction, edebug-outside-excursion): Use `declare'.
3300 (edebug-form-data): Use defvar-local.
3301 (edebug-make-before-and-after-form, edebug-make-after-form):
3302 Use backquote.
3303 (edebug-args, edebug-value, edebug-after-index, edebug-arg-mode):
3304 Not dynamically scoped any more.
3305 (edebug--enter-trace): Add arguments `function' and `args'.
3306 Rename from edebug-enter-trace.
3307 (edebug-enter): Call it accordingly. Bind edebug-function explicitly.
3308 (edebug--update-coverage): Add `after-index' and `value' args.
3309 Rename from edebug-update-coverage.
3310 (edebug-slow-after): Call it accordingly.
3311 (edebug--recursive-edit): Add arg `arg-mode'. Rename from
3312 edebug-recursive-edit.
3313 (edebug--display): Call it accordingly. Add args `value',
3314 `offset-index', and `arg-mode'. Rename from edebug-display.
3315 (edebug-debugger, edebug): Call it accordingly.
3316 (edebug-eval-display-list): Use dolist.
3317
a9f9d9de
JL
33182012-09-12 Juri Linkov <juri@jurta.org>
3319
3320 * info.el (Info-search): Don't check for isearch-mode and
3321 isearch-regexp before let-binding search-spaces-regexp to
3322 Info-search-whitespace-regexp.
3323 (Info-isearch-search): Let-bind Info-search-whitespace-regexp to
3324 search-whitespace-regexp if isearch-lax-whitespace or
3325 isearch-regexp-lax-whitespace is non-nil.
3326 (Info-mode): Don't set local variable search-whitespace-regexp.
3327 http://lists.gnu.org/archive/html/emacs-devel/2012-08/msg00811.html
3328
bfeae2cf
SM
33292012-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
3330
3331 * emacs-lisp/debug.el (debugger-outer-unread-command-char, debug)
3332 (debugger-env-macro): Remove support for unread-command-char.
3333
3334 * subr.el (set-temporary-overlay-map): Minimize slightly the impact of
3335 the temporary map re-appearing on emulation-mode-map-alists.
3336
3337 * emacs-lisp/edebug.el (def-edebug-form-spec): Remove, it's been broken
3338 since 22.1.
3339
3340 * ehelp.el (with-electric-help): Accept functions in
3341 electric-help-form-to-execute.
3342 (electric-help-execute-extended, electric-help-ctrl-x-prefix): Use it.
3343 And replace unread-command-char -> unread-command-events.
3344
fbbcaf1b
MA
33452012-09-12 Michael Albinus <michael.albinus@gmx.de>
3346
3347 Sync with Tramp 2.2.6.
3348
3349 * net/tramp.el (tramp-accept-process-output): Don't use
3350 JUST-THIS-ONE in the XEmacs case.
3351
3352 * net/trampver.el: Update release number.
3353
4dece104
MR
33542012-09-12 Martin Rudalics <rudalics@gmx.at>
3355
bfeae2cf
SM
3356 * emacs-lisp/debug.el (debugger-previous-window-height):
3357 New variable.
4dece104
MR
3358 (debug): When debugger-jumping-flag is non-nil try to restore
3359 height of debugger window. (Bug#8789)
3360
45b82ad0
SM
33612012-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
3362
60c49c0f
SM
3363 * emacs-lisp/edebug.el (edebug-enter): Don't mess with
3364 overriding-local-map and pre/post-command-hook here.
3365 (edebug-recursive-edit): Do it here instead (bug#12345).
3366 (edebug-outside-unread-command-char): Remove all uses of
3367 unread-command-char.
3368
45b82ad0
SM
3369 * emacs-lisp/debug.el (debug): Don't bind debug-on-error since
3370 inhibit-debugger is bound instead.
3371
baa26ea0
BG
33722012-09-11 Bastien Guerry <bzg@gnu.org>
3373
3374 * subr.el (set-temporary-overlay-map): Add a docstring.
fc0c31f8 3375 (Bug#12346)
baa26ea0 3376
04e8abfa
BG
33772012-09-11 Bastien Guerry <bzg@gnu.org>
3378
96d03571 3379 * minibuffer.el (completion-table-subvert): Fix docstring.
fc0c31f8 3380 (Bug#12347)
96d03571
BG
3381
33822012-09-11 Bastien Guerry <bzg@gnu.org>
3383
fc0c31f8 3384 * help-fns.el (describe-variable): Fix typo. (Bug#12346)
04e8abfa 3385
04e082b0
MM
33862012-09-10 Michael R. Mauger <mmaug@yahoo.com>
3387
3388 * progmodes/sql.el: Version 3.1
3389 (sql-db2-escape-newlines): New variable.
3390 (sql-escape-newlines-filter): Use it.
3391
399a361b
JB
33922012-09-10 Juanma Barranquero <lekktu@gmail.com>
3393
3394 * custom.el (custom-theme-load-confirm): Remove unneeded assignment.
3395
0780c517
DN
33962012-09-10 Dan Nicolaescu <dann@gnu.org>
3397
45b82ad0
SM
3398 * vc/diff-mode.el (diff-mode-menu):
3399 Bind diff-remove-trailing-whitespace.
0780c517 3400
9b851e25
SM
34012012-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
3402
3403 * emacs-lisp/lisp-mode.el (emacs-list-byte-code-comment-re): New var.
fc0c31f8
JB
3404 (emacs-lisp-byte-code-comment, emacs-lisp-byte-code-syntax-propertize)
3405 (emacs-lisp-byte-code-mode): New functions.
9b851e25
SM
3406 (eval-sexp-add-defvars): Don't skip defvars in column >0.
3407 (eval-defun-2): Remove bogus interactive spec.
3408 (lisp-indent-line): Remove redundant whole-exp code, now done in
3409 indent-according-to-mode.
3410 (save-match-data): Remove redundant indent data.
3411
3412 * emacs-lisp/benchmark.el (benchmark-run, benchmark-run-compiled):
3413 Use `declare'.
3414
3231d532
JL
34152012-09-09 Juri Linkov <juri@jurta.org>
3416
3417 * replace.el (replace-regexp-lax-whitespace): New defcustom.
3418 (replace-lax-whitespace, query-replace-regexp)
3419 (query-replace-regexp-eval, replace-regexp): Doc fix.
3420 (perform-replace, replace-highlight): Let-bind
3421 isearch-lax-whitespace to replace-lax-whitespace and
3422 isearch-regexp-lax-whitespace to replace-regexp-lax-whitespace.
3423
3424 * isearch.el (isearch-query-replace): Let-bind
3425 replace-lax-whitespace to isearch-lax-whitespace and
3426 replace-regexp-lax-whitespace to
3427 isearch-regexp-lax-whitespace. (Bug#10885)
3428
70fe8236
SM
34292012-09-09 Stefan Monnier <monnier@iro.umontreal.ca>
3430
3431 * eshell/em-unix.el (eshell/sudo): Explicitly drop return value.
3432
8ed43f15
AM
34332012-09-09 Alan Mackenzie <acm@muc.de>
3434
70fe8236
SM
3435 * progmodes/cc-engine.el (c-state-cache-init):
3436 Initialise c-state-semi-nonlit-pos-cache\(-limit\)? properly.
3437 (c-record-parse-state-state):
3438 Record c-state-semi-nonlit-pos-cache\(-limit\)?.
8ed43f15 3439
bfabf70a
AS
34402012-09-09 Andreas Schwab <schwab@linux-m68k.org>
3441
3442 * register.el (register-separator): Rename from
3443 separator-register. All uses changed. Doc fix.
3444 (register): Fix version.
3445
011474aa
CY
34462012-09-09 Chong Yidong <cyd@gnu.org>
3447
3448 * replace.el (query-replace-map): Bind four new symbols for
3449 requesting window scrolling.
3450
3451 * subr.el (y-or-n-p): Handle the window-scrolling bindings in
3452 query-replace-map (Bug#8948).
3453
3454 * custom.el (custom-theme-load-confirm): Use y-or-n-p.
3455
3456 * emacs-lisp/map-ynp.el (map-y-or-n-p): Don't bind scrolling keys
3457 since they are now in query-replace-map.
3458
3459 * window.el (scroll-other-window-down): Make the arg optional.
3460
a8b7cd8d
CY
34612012-09-09 Chong Yidong <cyd@gnu.org>
3462
3463 * files.el (hack-local-variables-confirm): Use quit-window to kill
3464 the *Local Variables* buffer.
3465
c3268831
DG
34662012-09-08 Dmitry Gutov <dgutov@yandex.ru>
3467
3468 * progmodes/ruby-mode.el (ruby-toggle-block): Guess the current block,
3469 not just expect to be at its beginning. Adjust callees.
3470 Succeed when do-end block has no space before the pipe character.
3471 (ruby-brace-to-do-end): When the original block is one-liner,
3472 convert to multiline. Reindent the result.
3473
0979429b
J
34742012-09-08 Jambunathan K <kjambunathan@gmail.com>
3475
3476 * register.el (register): New group.
27359e99 3477 (separator-register): New user option.
0979429b
J
3478 (increment-register): Route it to `append-to-register', if
3479 register contains text. Implication is that `C-x r +' can now be
3480 used for appending to a text register (bug#12217).
3481 (append-to-register, prepend-to-register): Add separator based on
5b9c45a6 3482 `separator-register'.
0979429b 3483
ace2989a
AM
34842012-09-08 Alan Mackenzie <acm@muc.de>
3485
3486 AWK Mode: make auto-newline work when there's "==" in the pattern.
3487 * progmodes/cc-cmds.el (c-point-syntax): Handle virtual semicolons
3488 correctly.
0979429b
J
3489 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5A.3):
3490 Test more rigorously for "=" token.
ace2989a 3491
616c6c36
DG
34922012-09-08 Dmitry Gutov <dgutov@yandex.ru>
3493
0979429b
J
3494 * progmodes/ruby-mode.el (ruby-match-expression-expansion):
3495 Only fail when reached LIMIT.
616c6c36 3496
35d98877
CY
34972012-09-08 Chong Yidong <cyd@gnu.org>
3498
3499 * dired.el (dired-mode-map): Don't bind M-=.
3500
3501 * dired-aux.el (dired-diff): Use backup file as default.
3502
1715f2db
DA
35032012-09-08 Drew Adams <drew.adams@oracle.com>
3504
3505 * subr.el (add-to-history): Fix delete usage (Bug#12314).
3506
6dcef6ec
CY
35072012-09-08 Chong Yidong <cyd@gnu.org>
3508
3509 * subr.el (syntax-after, syntax-class): Doc fix.
3510
fa2bcf43
MR
35112012-09-08 Martin Rudalics <rudalics@gmx.at>
3512
3513 * window.el (display-buffer-in-previous-window): New buffer
3514 display action function.
3515
3516 * emacs-lisp/debug.el (debugger-bury-or-kill): New option.
3517 (debugger-previous-window): New variable.
3518 (debug): Rewrite using display-buffer-in-previous-window,
3519 quit-restore-window and debugger-bury-or-kill. (Bug#8789)
3520
daac280a
SM
35212012-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
3522
3523 * emacs-lisp/byte-run.el (defun): Tweak message. Simplify code.
3524
9dd40b00
MM
35252012-09-07 Matt McClure <mlm@aya.yale.edu> (tiny change)
3526
daac280a
SM
3527 * progmodes/python.el (python-shell-send-string):
3528 When default-directory is remote, create temp file on remote
9dd40b00
MM
3529 filesystem.
3530 (python-shell-send-file): When file is remote, pass local view of
3531 file paths to remote Python interpreter. (Bug#12340)
3532
145823ec
CY
35332012-09-07 Chong Yidong <cyd@gnu.org>
3534
cee2e90d
CY
3535 * window.el (switch-to-buffer): Doc fix (Bug#12181).
3536
0d7eb2ea
CY
3537 * files.el (after-find-file): Don't fail on a read-only buffer if
3538 require-final-newline is `visit' or `visit-save' (Bug#11156).
3539
145823ec
CY
3540 * subr.el (read-char-choice): Allow quitting via ESC ESC.
3541
daac280a
SM
3542 * userlock.el (ask-user-about-supersession-threat):
3543 Use read-char-choice (Bug#12093).
145823ec 3544
74c582e6
CY
35452012-09-07 Chong Yidong <cyd@gnu.org>
3546
e5c2edf7
CY
3547 * subr.el (buffer-narrowed-p): New function.
3548
3549 * ses.el (ses-widen):
3550 * simple.el (count-words--buffer-message):
1f9f395d 3551 * net/browse-url.el (browse-url-of-buffer): Use it.
e5c2edf7
CY
3552
3553 * simple.el (count-words-region): Don't signal an error if there
3554 is a non-nil prefix arg and the mark is not set.
c640e87d 3555
74c582e6
CY
3556 * help.el (describe-key-briefly): Allow the message to be seen
3557 when invoked from the minibuffer (Bug#7014).
3558
d81ceaaf
DG
35592012-09-07 Dmitry Gutov <dgutov@yandex.ru>
3560
3561 * progmodes/ruby-mode.el (ruby-end-of-defun)
3562 (ruby-beginning-of-defun): Simplify, allow indentation before
3563 block beginning and end keywords.
8f06acce
DG
3564 (ruby-beginning-of-defun): Only consider 3 keywords defun beginners.
3565 (ruby-end-of-defun): Expect that the point is at the beginning of
3566 the defun.
d81ceaaf 3567
d458ef98
SM
35682012-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
3569
3570 * emacs-lisp/cl-macs.el (cl--do-arglist): Understand _ on &key args
3571 (bug#12367).
3572 (cl--make-usage-args): Strip _ from argument names.
3573
20367d28
RS
35742012-09-06 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3575
3576 * progmodes/vhdl-mode.el (vhdl-speedbar-initialize): Don't use
3577 obsolete alias speedbar-key-map.
3578 (vhdl-doc-variable, vhdl-doc-mode): Use called-interactively-p.
3579 (vhdl-index-menu-init): Don't use obsolete variable
3580 font-lock-maximum-size.
3581
3424a4f6
CY
35822012-09-06 Chong Yidong <cyd@gnu.org>
3583
3584 * frame.el (window-system-version): Mark as obsolete.
3585
fcbfbdea
CY
3586 * speedbar.el (speedbar-update-flag, speedbar-mode): Remove uses
3587 of obsolete variable speedbar-key-map.
3588
826b3235
JL
35892012-09-06 Juri Linkov <juri@jurta.org>
3590
3591 * replace.el (replace-lax-whitespace): New defcustom.
3592 (query-replace, query-replace-regexp, query-replace-regexp-eval)
3593 (replace-string, replace-regexp): Mention it in docstrings.
3594 (perform-replace, replace-highlight): Let-bind
3595 isearch-lax-whitespace and isearch-regexp-lax-whitespace according
3596 to the values of replace-lax-whitespace and regexp-flag.
3597 Don't let-bind search-whitespace-regexp. (Bug#10885)
3598
3599 * isearch.el (isearch-query-replace): Let-bind
3600 replace-lax-whitespace instead of let-binding
3601 replace-search-function and replace-re-search-function.
3602 (isearch-lazy-highlight-search): Let-bind isearch-lax-whitespace
3603 and isearch-regexp-lax-whitespace to lazy-highlight variables.
3604 (isearch-toggle-symbol): Set isearch-regexp to nil
3605 in isearch-word mode (like in isearch-toggle-word).
3606
1ec5e41d
JL
36072012-09-06 Juri Linkov <juri@jurta.org>
3608
3609 * replace.el (replace-search-function)
3610 (replace-re-search-function): Set default values to nil.
3611 (perform-replace): Let-bind isearch-related variables based on
3612 replace-related values, call `isearch-search-fun' and let-bind
3613 the result to `search-function'. Remove code that sets
3614 `search-function' and `search-string' separately for
3615 `delimited-flag'.
3616 (replace-highlight): Add new argument `delimited-flag' and
3617 rename other arguments to the names used in `perform-replace'.
3618 Let-bind `isearch-word' to the argument `delimited-flag'.
3619 (Bug#10885, bug#10887)
3620
0ba2d4b6
DG
36212012-09-07 Dmitry Gutov <dgutov@yandex.ru>
3622
3623 * progmodes/ruby-mode.el (ruby-indent-beg-re): Add pieces from
3624 ruby-beginning-of-indent, simplify, allow all keywords to have
3625 indentation before them.
3626 (ruby-beginning-of-indent): Adjust for above. Search until the
3627 found point is not inside a string or comment.
3628 (ruby-font-lock-keywords): Allow symbols to start with "@"
3629 character, give them higher priority than variables.
3630 (ruby-syntax-propertize-function)
3631 (ruby-font-lock-syntactic-keywords): Remove the "not comments"
3632 matchers. Expression expansions are not comments when inside a
3633 string, and there comment syntax status is irrelevant.
3634 (ruby-match-expression-expansion): New function. Check that
3635 expression expansion is inside a string, and it's not escaped.
3636 (ruby-font-lock-keywords): Use it.
3637
ef654460
MR
36382012-09-05 Martin Rudalics <rudalics@gmx.at>
3639
3640 * help.el (temp-buffer-max-height): New default value.
3641 (temp-buffer-resize-frames): New option.
3642 (resize-temp-buffer-window): Optionally resize frame.
3643
3644 * window.el (fit-frame-to-buffer-bottom-margin): New option.
3645 (fit-frame-to-buffer): New function.
3646
7e570fbf 36472012-09-05 Glenn Morris <rgm@gnu.org>
72308848
GM
3648
3649 * emulation/cua-rect.el (cua--init-rectangles):
3650 * textmodes/picture.el (picture-mode-map):
3651 * play/blackbox.el (blackbox-mode-map): Remap right-char and left-char
3652 like forward-char and backward-char. (Bug#12317)
3653
7e570fbf 36542012-09-05 Leo Liu <sdl.web@gmail.com>
3aca1291
LL
3655
3656 * progmodes/flymake.el (flymake-warning-re): New variable.
3657 (flymake-parse-line): Use it.
3658
7e570fbf 36592012-09-05 Glenn Morris <rgm@gnu.org>
b6683353
GM
3660
3661 * calendar/holidays.el (holiday-christian-holidays):
3662 Rename an entry. (Bug#12289)
3663
7e570fbf 36642012-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
64f8c4bd
SM
3665
3666 * progmodes/sh-script.el (sh-font-lock-paren): Don't burp at BOB
3667 (bug#12222).
3668
972debf2
SM
36692012-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
3670
3671 * loadup.el: Load macroexp. Remove hack.
3672 * emacs-lisp/macroexp.el (macroexp--eval-if-compile): New function.
3673 (macroexp--expand-all): Use it to get better warnings.
3674 (macroexp--backtrace, macroexp--trim-backtrace-frame)
3675 (internal-macroexpand-for-load): New functions.
3676 (macroexp--pending-eager-loads): New var.
3677 (emacs-startup-hook): New hack to replace one in loadup.el.
3678 * emacs-lisp/cl-macs.el (cl--compiler-macro-list*)
3679 (cl--compiler-macro-cXXr): Move to top, before they can be used.
3680 (cl-psetf): Simplify.
3681 (cl-defstruct): Add indent rule.
3682
8ce192e3
LI
36832012-09-04 Lars Ingebrigtsen <larsi@gnus.org>
3684
3685 * mail/smtpmail.el (smtpmail-send-it): Prefer the From: header
3686 over `user-mail-address' for the SMTP MAIL FROM envelope.
3687 (smtpmail-via-smtp): Ditto.
3688
6578b4d8
DG
36892012-09-04 Dmitry Gutov <dgutov@yandex.ru>
3690
3691 * progmodes/ruby-mode.el: Clean up keybindings.
3692 (ruby-mode-map): Don't bind ruby-electric-brace,
3693 ruby-beginning-of-defun, ruby-end-of-defun, ruby-mark-defun,
3694 backward-kill-word, reindent-then-newline-and-indent.
3695 (ruby-mark-defun): Remove.
3696 (ruby-electric-brace): Remove. Obsoleted by electric-indent-chars.
3697 (ruby-mode): Set local beginning-of-defun-function and
3698 end-of-defun-function values.
3699
c5e28e39
MR
37002012-09-03 Martin Rudalics <rudalics@gmx.at>
3701
3702 * window.el (temp-buffer-window-setup-hook)
3703 (temp-buffer-window-show-hook): New hooks.
3704 (temp-buffer-window-setup, temp-buffer-window-show)
3705 (with-temp-buffer-window): New functions.
972debf2
SM
3706 (fit-window-to-buffer): Remove unused optional argument OVERRIDE.
3707 (special-display-popup-frame): Make sure the window used shows BUFFER.
c5e28e39
MR
3708
3709 * help.el (temp-buffer-resize-mode): Fix doc-string.
3710 (resize-temp-buffer-window): New optional argument WINDOW.
3711
3712 * files.el (recover-file, save-buffers-kill-emacs):
3713 * dired.el (dired-mark-pop-up): Use with-temp-buffer-window.
3714
73406194
MA
37152012-09-02 Michael Albinus <michael.albinus@gmx.de>
3716
3717 * eshell/em-unix.el (eshell/sudo): When we have an ad-hoc
3718 remote definition of `default-directory', ensure we can connect.
3719
63dd1c6f
JL
37202012-09-02 Juri Linkov <juri@jurta.org>
3721
3722 Toggle whitespace matching mode with M-s SPC.
3723 http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00008.html
3724
3725 * isearch.el (search-whitespace-regexp): Doc fix.
3726 Remove cons cell customization.
3727 (isearch-mode-map): Bind "\M-s " to isearch-toggle-lax-whitespace.
3728 (isearch-lax-whitespace, isearch-regexp-lax-whitespace):
3729 New variables.
3730 (isearch-forward, isearch-forward-regexp): Doc fix.
3731 (isearch-toggle-lax-whitespace): New command.
3732 (search-forward-lax-whitespace, search-backward-lax-whitespace)
3733 (re-search-forward-lax-whitespace)
3734 (re-search-backward-lax-whitespace): New functions.
3735 (isearch-whitespace-regexp): Remove function.
3736 (isearch-query-replace): Let-bind replace-search-function and
3737 replace-re-search-function.
3738 (isearch-occur): Let-bind search-spaces-regexp according to the
3739 value of isearch-lax-whitespace and isearch-regexp-lax-whitespace.
3740 (isearch-quote-char): Check isearch-regexp-lax-whitespace in the
3741 condition for C-q SPC.
3742 (isearch-search-fun-default): Use new functions mentioned above.
3743 (isearch-search-forward, isearch-search-backward): Remove functions.
3744 (isearch-search): Don't let-bind search-spaces-regexp.
3745 (isearch-lazy-highlight-space-regexp): Remove variable.
3746 (isearch-lazy-highlight-lax-whitespace)
3747 (isearch-lazy-highlight-regexp-lax-whitespace): New variables.
3748 (isearch-lazy-highlight-new-loop): Use them.
3749 (isearch-lazy-highlight-search): Don't let-bind search-spaces-regexp.
3750
af7dda05
CY
37512012-09-02 Chong Yidong <cyd@gnu.org>
3752
3753 * dired.el (dired-mode-map): Menu string fixes (Bug#11616).
3754
d67d3afd
GM
37552012-09-02 Glenn Morris <rgm@gnu.org>
3756
3757 * simple.el (undo): Tweak message in undo-only case. (Bug#12283)
3758
69678719
GM
37592012-09-01 Glenn Morris <rgm@gnu.org>
3760
3761 * term.el: Tidy up menu definitions.
3762 (term-mode-map): Use easymenu for In/Out, Complete menus.
3763 (term-pager-break-map): Initialize in the defvar.
3764 (term-terminal-menu, term-signals-menu): Define with easymenu.
3765 (term-terminal-menu): Also show it in line-mode. (Bug#11957)
3766 (term-pager-menu): New, extracted from term-process-pager.
3767 (term-mode, term-char-mode, term-process-pager): Use easymenu-add.
3768 (term-update-mode-line): Propertize line/char and page items.
3769 (term-process-pager): Move keymap initialization elsewhere.
3770
78dd6ab1
MR
37712012-09-01 Martin Rudalics <rudalics@gmx.at>
3772
3773 * window.el (switch-to-prev-buffer): Handle additional values of
3774 BURY-OR-KILL argument. Don't switch in minibuffer window.
3775 (switch-to-next-buffer): Don't switch in minibuffer window.
3776 (quit-restore-window): New function based on quit-window.
3777 Handle additional values of former KILL argument.
3778 (quit-window): Call quit-restore-window with appropriate
3779 interpretation of KILL argument.
3780 (display-buffer-below-selected): New buffer display action
3781 function.
3782
3d10e134
SM
37832012-09-01 Stefan Monnier <monnier@iro.umontreal.ca>
3784
3785 * minibuffer.el (completion-at-point-functions): Complete docstring
3786 (bug#12254).
3787
0e23ef9d
PE
37882012-09-01 Paul Eggert <eggert@cs.ucla.edu>
3789
3790 Better seed support for (random).
3791 * play/5x5.el, play/animate.el, play/cookie1.el, play/dissociate.el:
3792 * play/doctor.el, play/dunnet.el, play/gomoku.el, play/landmark.el:
3793 * play/mpuz.el, play/tetris.el, play/zone.el:
3794 * calc/calc-comb.el (math-init-random-base):
3795 * play/blackbox.el (bb-init-board):
3796 * play/life.el (life):
3797 * server.el (server-use-tcp):
3798 * type-break.el (type-break):
3799 Remove unnecessary call to (random t).
3800 * net/sasl.el (sasl-unique-id-function):
3801 Change (random t) to (random), now that the latter is more random.
3802 * play/life.el (life-initialized): Remove no-longer-needed var.
3803
862382df
MR
38042012-08-31 Alp Aker <alp.tekin.aker@gmail.com>
3805
3806 * window.el (switch-to-prev-buffer, switch-to-next-buffer):
3807 Consider frame's buffer predicate when choosing the buffer.
3808 (Bug#12081)
3809
262a66e1
RS
38102012-08-30 Richard Stallman <rms@gnu.org>
3811
3812 * simple.el (special-mode-map): Delete binding for `z'.
3813
f17e1d00
AS
38142012-08-30 Andreas Schwab <schwab@linux-m68k.org>
3815
3816 * progmodes/compile.el (compilation-always-kill): Doc fix.
3817
24777832
CY
38182012-08-30 Chong Yidong <cyd@gnu.org>
3819
3820 * window.el (display-buffer-reuse-frames): Make the obsolescence
3821 message more informative.
3822
69ba1f04
GM
38232012-08-30 Glenn Morris <rgm@gnu.org>
3824
3825 * paren.el (show-paren-delay):
3826 Add a :set function. Doc fix. (Bug#12297)
3827
f0019ede
MB
38282012-08-29 Martin Blais <blais@furius.ca> (tiny change)
3829
3830 * progmodes/compile.el (compilation-always-kill): New var.
3831 (compilation-start): Use it.
3832
35e62fc9
SM
38332012-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
3834
af070a1c
SM
3835 * simple.el (read-only-mode): Move from files.el for bootstrapping.
3836 * files.el (read-only-mode): Move to simple.el.
3837
35e62fc9
SM
3838 * files.el (read-only-mode): New minor mode.
3839 (toggle-read-only): Use it and mark obsolete.
3840 (find-file--read-only):
3841 * vc/vc.el (vc-next-action, vc-checkout):
3842 * vc/vc-cvs.el (vc-cvs-checkout):
3843 * obsolete/vc-mcvs.el (vc-mcvs-update):
3844 * ffap.el (ffap--toggle-read-only): Update callers.
3845
c2c43c23
MA
38462012-08-29 Michael Albinus <michael.albinus@gmx.de>
3847
3848 * eshell/esh-ext.el (eshell-external-command): Do not examine
972debf2
SM
3849 remote shell scripts.
3850 See <https://bugs.launchpad.net/ubuntu/+source/emacs23/+bug/1035790>.
c2c43c23
MA
3851
3852 * net/tramp-sh.el (tramp-remote-path): Add "/sbin" and
3853 "/usr/local/sbin".
3854
9fba804b
SM
38552012-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
3856
3857 * emacs-lisp/cl-lib.el (buffer-string): Fix setter macro (bug#12293).
3858
eada0861 38592012-08-28 Leo Liu <sdl.web@gmail.com>
22ab32ef 3860
806f0cc7
LL
3861 * progmodes/sh-script.el (sh-dynamic-complete-functions): Adapt to
3862 completion-at-point. (Bug#12220)
3863
3bb213b9
LL
3864 * skeleton.el (skeleton-untabify): Change to nil (bug#12223).
3865
22ab32ef
LL
3866 * progmodes/sh-script.el (sh-indent-comment): Change to t (bug#12267).
3867
eada0861 38682012-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
db148c21 3869
19c17fc1
CY
3870 * files.el (safe-local-eval-forms): Fix before-save-hook entry to
3871 be buffer-local; add delete-trailing-whitespace (bug#12259).
db148c21 3872
eada0861 38732012-08-28 Jeremy Moore <jmoore@ieee.org> (tiny change)
ffe6eaf1
JM
3874
3875 * progmodes/hideif.el (hif-compress-define-list):
3876 Fix typo. (Bug#11951)
3877
eada0861 38782012-08-28 Dan Nicolaescu <dann@gnu.org>
d30aca1b
DN
3879
3880 * progmodes/hideshow.el (hs-block-end-regexp): Restore lost
3881 buffer local setting.
3882
27d6c5a8
LL
3883 * net/rcirc.el (rcirc-split-message): Fix for buffer-local
3884 rcirc-encode-coding-system.
3885
eada0861 38862012-08-28 Leo Liu <sdl.web@gmail.com>
4432d2e2
LL
3887
3888 * net/rcirc.el (rcirc-split-message): New function.
3889 (rcirc-send-message): Use it. (Bug#12051)
3890
d44688e4
JL
38912012-08-28 Juri Linkov <juri@jurta.org>
3892
3893 * info.el (Info-fontify-node): Hide empty lines at the end of
3894 the node. (Bug#12272)
3895
34f10d41
MR
38962012-08-27 Drew Adams <drew.adams@oracle.com>
3897
3898 * dired.el (dired-pop-to-buffer): Make window start at beginning
3899 of buffer (Bug#12281).
3900
77f1f99c
CY
39012012-08-26 Chong Yidong <cyd@gnu.org>
3902
3903 * window.el (special-display-regexps, special-display-frame-alist)
3904 (special-display-buffer-names, special-display-function)
3905 (display-buffer-reuse-frames): Mark as obsolete.
3906
3907 * progmodes/compile.el: Don't use display-buffer-reuse-frames.
3908
3909 * help.el (help-print-return-message): Don't treat
3910 display-buffer-reuse-frames specially.
3911
d97af5a0
CY
39122012-08-26 Chong Yidong <cyd@gnu.org>
3913
9fba804b
SM
3914 * progmodes/gdb-mi.el (gdb-display-buffer-other-frame-action):
3915 New variable, replacing gdb-frame-parameters.
d97af5a0
CY
3916 (gdb-frame-io-buffer, gdb-frame-breakpoints-buffer)
3917 (gdb-frame-threads-buffer, gdb-frame-memory-buffer)
3918 (gdb-frame-disassembly-buffer, gdb-frame-stack-buffer)
3919 (gdb-frame-locals-buffer, gdb-frame-registers-buffer): Use it.
3920 (def-gdb-frame-for-buffer): Macro deleted. It is easier to define
3921 the functions directly with gdb-display-buffer-other-frame-action.
3922 (gdb-display-breakpoints-buffer, gdb-display-threads-buffer)
3923 (gdb-display-memory-buffer, gdb-display-disassembly-buffer)
3924 (gdb-display-stack-buffer, gdb-display-locals-buffer)
3925 (gdb-display-registers-buffer): Define directly.
3926 (def-gdb-display-buffer): Macro deleted.
3927 (gdb-display-buffer): Remove second and third args, callers don't
3928 use them. Defer to the default display-buffer behavior, apart
3929 from making windows dedicated.
3930 (gdb-setup-windows): Don't call display-buffer unnecessarily.
3931
3932 * progmodes/gud.el (gud-display-line): Just use display-buffer.
3933
3934 * window.el (display-buffer-pop-up-frame): Handle a
3935 pop-up-frame-parameters alist entry.
3936 (display-buffer): Document it.
3937
dd7ffad6
CY
39382012-08-26 Chong Yidong <cyd@gnu.org>
3939
3940 * isearch.el (search-whitespace-regexp): Make string and nil
3941 values apply to both ordinary and regexp search. Allow a cons
3942 cell value to distinguish between the two.
3943 (isearch-whitespace-regexp, isearch-search-forward)
3944 (isearch-search-backward): New functions.
3945 (isearch-occur, isearch-search-fun-default, isearch-search)
3946 (isearch-lazy-highlight-new-loop): Use them.
3947 (isearch-forward, isearch-forward-regexp): Doc fix.
3948
4c47bd1e
CY
39492012-08-26 Chong Yidong <cyd@gnu.org>
3950
3951 * faces.el (help-argument-name): Always inherit from italic
3952 (Bug#12213).
3953
9aba119d
MR
39542012-08-25 Martin Rudalics <rudalics@gmx.at>
3955
3956 * window.el (window--even-window-heights): Even heights when
3957 WINDOW and the selected window form a vertical combination.
3958 (display-buffer-use-some-window): Provide that window used gets
3959 sized back by quit-window. (Bug#11880) and (Bug#12091)
3960
ca5256ad
PE
39612012-08-24 Paul Eggert <eggert@cs.ucla.edu>
3962
3963 Fix file time stamp problem with bzr and CVS (Bug#12001).
3964 * vc/vc-cvs.el (vc-cvs-parse-entry): Ignore subsecond information
3965 in the file's time stamp, since the version control system loses
3966 that information.
3967
d1c0d176
JL
39682012-08-22 Juri Linkov <juri@jurta.org>
3969
3970 * info.el (Info-fontify-node): Hide the suffix of the
3971 Info file name in the header line. (Bug#12187)
3972
141562ff
GM
39732012-08-22 Glenn Morris <rgm@gnu.org>
3974
3975 * calendar/cal-tex.el (cal-tex-weekly-common):
3976 Restore leading blank page.
3977
61a48e19 39782012-08-22 Le Wang <l26wang@gmail.com> (tiny change)
add9ca2d
BG
3979
3980 * misc.el (forward-to-word, backward-to-word): Activate or extend
61a48e19
GM
3981 the region under `shift-select-mode'. (Bug#12231)
3982
39832012-08-22 Bastien Guerry <bzg@gnu.org>
0fcd3d9f
BG
3984
3985 * progmodes/executable.el (executable-prefix): Set to "#!" instead
3986 of "#! ". http://www.in-ulm.de/~mascheck/various/shebang/#details
3987 gives details on why the space is never needed.
3988
ea95074e
MR
39892012-08-22 Martin Rudalics <rudalics@gmx.at>
3990
9fba804b
SM
3991 * window.el (walk-window-tree, window-with-parameter):
3992 New optional argument MINIBUF to control whether these functions
ea95074e
MR
3993 should run on the minibuffer window.
3994 (window-at-side-list): Don't operate on minibuffer window.
3995 (window-in-direction): Simplify and rewrite doc-string.
9fba804b
SM
3996 (window--size-ignore): Rename to window--size-ignore-p.
3997 Update callers.
caceae25
MR
3998 (display-buffer-in-atom-window, window--major-non-side-window)
3999 (window--major-side-window, display-buffer-in-major-side-window)
9fba804b
SM
4000 (delete-side-window, display-buffer-in-side-window):
4001 New functions.
caceae25
MR
4002 (window--side-check, window-deletable-p, delete-window)
4003 (delete-other-windows, split-window): Handle side windows and
4004 atomic windows appropriately.
4005 (window--display-buffer): Call display-buffer-record-window also
4006 when the window buffer did not change.
ea95074e 4007
80a51fa0
CS
40082012-08-22 Christopher Schmidt <christopher@ch.ristopher.com>
4009
4010 * help-fns.el (help-fns--key-bindings):
4011 Abbreviate non-symbol remap targets. (Bug#12174)
4012
fbb6300b
MR
40132012-08-22 Martin Rudalics <rudalics@gmx.at>
4014
4015 * dired.el (dired-mark-remembered): Don't clobber point.
4016 (Bug#11795)
4017
2b2c0794
GM
40182012-08-22 Glenn Morris <rgm@gnu.org>
4019
4020 * progmodes/bug-reference.el (bug-reference): New custom group.
4021 (bug-reference-bug-regexp): Make it a defcustom.
4022
37219830
DU
40232012-08-22 Daiki Ueno <ueno@unixuser.org>
4024
4025 * progmodes/js.el (js-indent-level, js-expr-indent-offset)
4026 (js-paren-indent-offset, js-square-indent-offset)
4027 (js-curly-indent-offset): Add :safe (Bug#12257).
4028
94e0e559
EC
40292012-08-22 Edward O'Connor <hober0@gmail.com>
4030
4031 * json.el (json-key-format): Add error properties.
4032 (json-encode-key): New function.
4033 (json-encode-hash-table, json-encode-alist, json-encode-plist):
4034 Use json-encode-key.
4035
da485f5e
GM
40362012-08-22 Glenn Morris <rgm@gnu.org>
4037
4038 * calendar/cal-tex.el (cal-tex-longday): New function, replacing...
4039 (cal-tex-leftday, cal-tex-rightday): Remove functions.
4040 (cal-tex-weekly-common, cal-tex-cursor-filofax-2week):
4041 Update for above change.
4042
c6cc78b8
AS
40432012-08-21 Andreas Schwab <schwab@linux-m68k.org>
4044
4045 * cus-face.el (custom-face-attributes): Fix customize type for the
4046 :underline attribute. (Bug#11805)
4047
5481664a
MR
40482012-08-21 Martin Rudalics <rudalics@gmx.at>
4049
4050 * window.el (window-point-1, set-window-point-1): Remove.
4051 (window-in-direction, record-window-buffer)
4052 (set-window-buffer-start-and-point, split-window-below)
9fba804b
SM
4053 (window--state-get-1, display-buffer-record-window):
4054 Replace calls to window-point-1 and set-window-point-1 by calls to
5481664a
MR
4055 window-point and set-window-point respectively.
4056
6d74698e
GM
40572012-08-21 Glenn Morris <rgm@gnu.org>
4058
b7fa2691
GM
4059 * calendar/cal-tex.el (cal-tex-weekly-common): New function.
4060 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-week):
4061 Use it.
4062
52f56d5a
GM
4063 * calendar/cal-tex.el (cal-tex-rightday): Add optional funcname arg.
4064 (cal-tex-shortday): New function.
4065 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-week)
4066 (cal-tex-cursor-filofax-daily): Use the above.
4067
9f1ee09e
GM
4068 * calendar/cal-tex.el (cal-tex-leftday, cal-tex-rightday):
4069 New functions.
4070 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-2week)
4071 (cal-tex-cursor-filofax-week): Use them.
4072
79858159
GM
4073 * calendar/cal-tex.el (cal-tex-lefthead, cal-tex-righthead):
4074 New constants.
4075 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-2week)
4076 (cal-tex-cursor-filofax-week, cal-tex-cursor-filofax-daily): Use them.
4077
d346b2b4
GM
4078 * calendar/cal-tex.el (cal-tex-preamble): Generate new buffers.
4079 (cal-tex-end-document): Don't rely on buffer name.
4080
b2403709
GM
4081 * calendar/cal-tex.el (cal-tex-cursor-filofax-year):
4082 Use cal-tex-vspace.
4083 (cal-tex-vspace, cal-tex-hspace, cal-tex-em, cal-tex-bf)
4084 (cal-tex-Huge-bf, cal-tex-large-bf): Use cal-tex-cmd.
2d225a3a
GM
4085 (cal-tex-scriptsize, cal-tex-huge, cal-tex-Huge, cal-tex-large):
4086 Use cal-tex-arg.
b2403709 4087
1cebb5c0
GM
4088 * calendar/cal-tex.el (cal-tex-cursor-filofax-year)
4089 (cal-tex-cursor-week, cal-tex-cursor-week2)
4090 (cal-tex-cursor-week-iso, cal-tex-cursor-week-at-a-glance)
4091 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
4092 (cal-tex-cursor-filofax-daily, cal-tex-cursor-day)
4093 (cal-tex-insert-preamble, cal-tex-b-document)
4094 (cal-tex-e-document, cal-tex-b-center, cal-tex-e-center):
4095 Improve cal-tex-cmd usage.
4096
c68cd5d4
GM
4097 * calendar/cal-tex.el (cal-tex-filofax-paper): New function.
4098 (cal-tex-cursor-filofax-year, cal-tex-cursor-filofax-2week)
4099 (cal-tex-cursor-filofax-week, cal-tex-cursor-filofax-daily): Use it.
4100 (cal-tex-weekly-paper): New function.
4101 (cal-tex-cursor-week, cal-tex-cursor-week2)
4102 (cal-tex-cursor-week-iso, cal-tex-cursor-week-monday)
4103 (cal-tex-cursor-day): Use it.
4104
9dca4801
GM
4105 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance)
4106 (cal-tex-cursor-filofax-week): Remove leading blank page.
4107
1941e134
GM
4108 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance):
4109 Add autoload cookie. For now at least, don't use color, since
4110 no other cal-tex function does.
4111
6d74698e
GM
4112 * calendar/cal-tex.el (cal-tex-cursor-week-iso)
4113 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
4114 (cal-tex-cursor-filofax-daily): Correct start date for diary entries.
4115
64cde199
JL
41162012-08-21 Juri Linkov <juri@jurta.org>
4117
4118 * info.el (Info-file-attributes): New variable.
4119 (info-insert-file-contents): Add file attributes to
4120 `Info-file-attributes'. Clear the caches `Info-index-nodes' and
4121 `Info-toc-nodes' when previous modtime of the Info file is less
4122 than new modtime.
4123 (Info-toc-nodes, Info-index-nodes): Move definitions up to the top
4124 of info.el. (Bug#12230)
4125
32757648
GM
41262012-08-20 Glenn Morris <rgm@gnu.org>
4127
4128 * calendar/diary-lib.el (diary-include-files, diary-sexp-entry):
4129 * calendar/holidays.el (calendar-holiday-list):
4130 Report errors with display-warning rather than beep'n'sleep.
4131
a32fbbcf
MA
41322012-08-20 Michael Albinus <michael.albinus@gmx.de>
4133
4134 * net/tramp.el (tramp-accept-process-output): Accept only output
4135 from PROC. Otherwise, process filters and sentinels might be
4136 confused. (Bug#12145)
4137
a05731a0
CY
41382012-08-20 Chong Yidong <cyd@gnu.org>
4139
4140 * descr-text.el (describe-text-properties-1): Use overlays-in to
4141 report on empty overlays (Bug#3322).
4142
36e8d1eb
GM
41432012-08-20 Glenn Morris <rgm@gnu.org>
4144
3d300447
GM
4145 * mail/rmailout.el (rmail-output-read-file-name):
4146 Trap and report errors in rmail-output-file-alist elements.
4147
36e8d1eb
GM
4148 * font-lock.el (font-lock-add-keywords): Doc fix (quote face names
4149 since most non-font-lock faces are not also variables).
4150
b96e5814
ER
41512012-08-20 Edward Reingold <reingold@iit.edu>
4152
4153 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance):
4154 New function. (Bug12160)
4155
7cef3569
GM
41562012-08-19 Glenn Morris <rgm@gnu.org>
4157
4158 * mail/rmailout.el (rmail-output-read-file-name):
4159 Fix previous change (when the alist is nil or does not match).
4160
17975d7f
CY
41612012-08-19 Chong Yidong <cyd@gnu.org>
4162
4163 * xml.el (xml-escape-string): Don't refer to xml-entity-alist
4164 (Bug#12228).
4165
2170b1bd
CY
41662012-08-18 Chong Yidong <cyd@gnu.org>
4167
4168 * simple.el (yank-handled-properties): New defcustom.
4169 (yank-excluded-properties): Add font-lock-face and category.
4170 (yank): Doc fix.
4171
9fba804b
SM
4172 * subr.el (remove-yank-excluded-properties):
4173 Obey yank-handled-properties. The special handling of font-lock-face
2170b1bd
CY
4174 and category is now done this way, instead of being hard-coded.
4175 (insert-for-yank-1): Remove font-lock-face handling.
4176 (yank-handle-font-lock-face-property)
4177 (yank-handle-category-property): New function.
4178
ee218151
GM
41792012-08-17 Glenn Morris <rgm@gnu.org>
4180
4181 * mail/rmailout.el (rmail-output-read-file-name):
4182 Check rmail-output-file-alist against the full message body
4183 in the correct rmail buffer. (Bug#12214)
4184
4a6bc3fd
MA
41852012-08-17 Michael Albinus <michael.albinus@gmx.de>
4186
9fba804b
SM
4187 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
4188 Eliminate superfluous prompt. (Bug#12203)
4a6bc3fd 4189
383dcbf9
CY
41902012-08-17 Chong Yidong <cyd@gnu.org>
4191
4192 * mouse.el (mouse-appearance-menu): If x-select-font returns a
4193 font spec, set the font directly (Bug#3228).
4194
998c4a6a
MR
41952012-08-17 Martin Rudalics <rudalics@gmx.at>
4196
4197 * window.el (delete-window): Fix last fix.
4198
52162052
MR
41992012-08-16 Martin Rudalics <rudalics@gmx.at>
4200
4201 * window.el (window-valid-p): Move to window.c.
85c2386b
MR
4202 (window-child, window-child-count, window-last-child)
4203 (window-normalize-window, window-combined-p)
4204 (window-combinations, window-atom-root, window-min-size)
4205 (window-sizable, window-sizable-p, window-size-fixed-p)
4206 (window-min-delta, window-max-delta, window--resizable)
4207 (window--resizable-p, window-resizable, window-total-size)
4208 (window-full-height-p, window-full-width-p, window-body-size)
4209 (window-at-side-p, adjust-window-trailing-edge, maximize-window)
4210 (minimize-window, window-deletable-p, delete-window)
4211 (delete-other-windows, set-window-buffer-start-and-point)
4212 (next-buffer, previous-buffer, split-window, balance-windows-2)
4213 (set-window-text-height, window-buffer-height)
4214 (fit-window-to-buffer, shrink-window-if-larger-than-buffer)
9fba804b
SM
4215 (truncated-partial-width-window-p): Minor code adjustments.
4216 In doc-strings state whether the argument window has to denote a
85c2386b 4217 live, valid or any window.
52162052 4218
1c308380
PS
42192012-08-16 Phil Sainty <psainty@orcon.net.nz> (tiny change)
4220
4221 * progmodes/subword.el (subword-forward-function)
4222 (subword-backward-function, subword-forward-regexp)
4223 (subword-backward-regexp): New variables.
4224 (subword-forward, subword-forward-internal, subword-backward-internal):
4225 Use new variables, eg so that different "word" definitions
4226 can be easily used. (Bug#11411)
4227
94c9ece1
SM
42282012-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
4229
4230 * vc/vc-mtn.el (vc-mtn-revision-completion-table): Handle completion
4231 for composite selectors.
4232 * vc/vc.el (vc-diff-build-argument-list-internal): Don't prevent
4233 operation just because we can't find a previous revision.
4234
f2045622
CY
42352012-08-15 Chong Yidong <cyd@gnu.org>
4236
4237 * frame.el (set-frame-font): Accept font objects.
4238
582db660
SM
42392012-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
4240
4241 * textmodes/tex-mode.el (tex-insert-quote): ~ is a space (bug#12137).
4242
2f29c200
WJ
42432012-08-15 Wolfgang Jenkner <wjenkner@inode.at>
4244
456e62c2
WJ
4245 * man.el (Man-overstrike-face, Man-underline-face)
4246 (Man-reverse-face): Remove variables.
4247 (Man-overstrike, Man-underline, Man-reverse): New faces.
4248 (Man-fontify-manpage): Use them instead of the variables.
4249 (Man-cleanup-manpage): Comment change.
4250 (Man-ansi-color-map): New variable.
4251 (Man-fontify-manpage): Use it.
4252 Call ansi-color-apply-on-region to replace ad hoc code (bug#12147).
4253
2f29c200
WJ
4254 Implement ANSI SGR parameters 22-27 (bug#12146).
4255 * ansi-color.el (ansi-colors): Doc fix.
4256 (ansi-color-context, ansi-color-context-region): Doc fix.
4257 (ansi-color--find-face): New function.
4258 (ansi-color-apply, ansi-color-apply-on-region): Use it.
4259 Rename the local variable `face' to `codes' since it is now a list of
4260 ansi codes. Doc fix.
4261 (ansi-color-get-face): Remove.
4262 (ansi-color-parse-sequence): New function, derived from
4263 ansi-color-get-face.
4264 (ansi-color-apply-sequence): Use it. Rewrite, and support ansi
4265 codes 22-27.
4266
b4f5e9df
SM
42672012-08-14 Stefan Monnier <monnier@iro.umontreal.ca>
4268
4269 * subr.el (read-passwd): Allow use from a minibuffer.
4270
ba025fbd
EZ
42712012-08-14 Eli Zaretskii <eliz@gnu.org>
4272
4273 * tooltip.el (tooltip-identifier-from-point): Don't treat tokens
4274 inside comments and strings as identifiers.
4275
4276 * progmodes/gud.el (gud-tooltip-print-command): Quote the
4277 expression to evaluate. This allows to evaluate expressions with
4278 embedded whitespace.
4279 (gud-tooltip-tips): Add a blank before the newline in the
4280 message-box text, for the benefit of message-box emulation on
4281 MS-Windows.
4282
4283 * progmodes/gdb-mi.el (gdb-tooltip-print): Don't ignore error
4284 messages from GDB, pop them up in a tooltip to give feedback to
4285 user.
b4f5e9df
SM
4286 (gdb-tooltip-print-1): Quote the expression to evaluate.
4287 This allows to evaluate expressions with embedded whitespace.
ba025fbd
EZ
4288 (gdb-inferior-io--init-proc): Don't send "-inferior-tty" command
4289 if the TTY name is nil or empty (which happens when communicating
4290 with the inferior via pipes, e.g. on MS-Windows).
4291 (gdb-internals): If GDB sends a "&\n" empty debugging message,
4292 don't send that to the GUD buffer.
4293
c548f821
GM
42942012-08-14 Glenn Morris <rgm@gnu.org>
4295
4296 * emacs-lisp/bytecomp.el (byte-compile-setq-default):
4297 Optimize away setq-default with no args, as for setq. (Bug#12195)
4298
55802e4a
CY
42992012-08-14 Chong Yidong <cyd@gnu.org>
4300
4abcdac8
CY
4301 * minibuffer.el (read-file-name): Doc fix (Bug#10881).
4302
55802e4a
CY
4303 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Doc fix
4304 (Bug#12085).
4305
3c3cda1a
GM
43062012-08-14 Glenn Morris <rgm@gnu.org>
4307
4308 * emacs-lisp/bytecomp.el (byte-recompile-file): Doc fix.
4309
e1873bd0
MA
43102012-08-14 Michael Albinus <michael.albinus@gmx.de>
4311
4312 * net/tramp-sh.el (tramp-open-shell): Cache the shell name.
4313 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
4314 Use cached shell name.
4315
925411b4
FEG
43162012-08-14 Fabián Ezequiel Gallina <fgallina@cuca>
4317
4318 * progmodes/python.el (python-shell-send-string):
3c3cda1a 4319 (python-shell-send-setup-code): Do not use `format' with `message'.
925411b4 4320
e636fafe
DG
43212012-08-14 Dmitry Gutov <dgutov@yandex.ru>
4322
4323 * progmodes/ruby-mode.el: Improve percent literals (bug#6286).
4324 (ruby-percent-literal-beg-re): New constant.
4325 (ruby-syntax-general-delimiters-goto-beg): Rename to
4326 `ruby-syntax-enclosing-percent-literal', improve literal type check.
4327 (ruby-syntax-propertize-general-delimiters): Rename to
4328 `ruby-syntax-propertize-percent-literal', it's a shorter and more
4329 popular term. Adjust comments everywhere.
4330 (ruby-syntax-propertize-percent-literal): Only propertize when not
4331 inside a simple string or comment. When the literal is unclosed,
4332 leave the text after it unpropertized.
f063063a
DG
4333 (ruby-syntax-methods-before-regexp): New constant.
4334 (ruby-syntax-propertize-function): Use it to recognize regexps.
4335 Don't look at the text after regexp, just use the whitelist.
e636fafe 4336
e5b19827
AS
43372012-08-14 Andreas Schwab <schwab@linux-m68k.org>
4338
4339 * emacs-lisp/bytecomp.el (byte-recompile-file): When LOAD is
4340 non-nil always load the compiled file if it exists. (Bug#12197)
4341
a9f6f311
CY
43422012-08-14 Chong Yidong <cyd@gnu.org>
4343
4344 * hi-lock.el (hi-lock-mode): Do not unilaterally enable font lock.
4345 (hi-lock-set-pattern): When deciding whether to use font lock or
4346 overlays, look at font-lock-mode instead of font-lock-fontified
4347 (Bug#12168).
4348 (hi-lock-mode, hi-lock-line-face-buffer, hi-lock-unface-buffer)
4349 (hi-lock-face-buffer, hi-lock-face-phrase-buffer): Doc fix.
4350
7d806b1e
DU
43512012-08-14 Daiki Ueno <ueno@unixuser.org>
4352
4353 * subr.el (internal--after-with-selected-window): Fix typo
4354 (Bug#12193).
4355
5beed586
FEG
43562012-08-14 Fabián Ezequiel Gallina <fgallina@cuca>
4357
4358 Use `completion-table-dynamic' for completion functions.
4359 * progmodes/python.el
4360 (python-shell-completion--do-completion-at-point)
e636fafe
DG
4361 (python-shell-completion--get-completions):
4362 Remove functions.
5beed586
FEG
4363 (python-shell-completion-complete-at-point): New function.
4364 (python-completion-complete-at-point): Use it.
4365
92cb3b04
J
43662012-08-13 Jambunathan K <kjambunathan@gmail.com>
4367
4368 * vc/vc-dir.el (vc-dir-hide-state): New command (bug#12159).
4369 (vc-dir-hide-up-to-date): Route it to `vc-dir-hide-state'.
4370
89660017
SM
43712012-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
4372
3c98c962
SM
4373 * subr.el (function-get): Refine `autoload' arg so it can also
4374 autoload functions for gv.el (bug#12191).
4375 * emacs-lisp/edebug.el (get-edebug-spec): Adjust so it only
4376 autoloads macros.
4377
aa7c6dbe
SM
4378 * color.el (color-xyz-to-lab, color-lab-to-xyz, color-cie-de2000):
4379 Prefer pcase-let over destructuring-bind.
4380 * vc/diff-mode.el (diff-remove-trailing-whitespace): Same.
4381 Also, remove whitespace as we go, rather than after accumulating the
4382 various places.
4383
89660017
SM
4384 * subr.el (internal--before-with-selected-window)
4385 (internal--after-with-selected-window): Fix typo seleted->selected.
4386 (with-selected-window): Adjust callers.
4387 Reported by Dmitry Gutov <dgutov@yandex.ru>.
4388
31cd32c9
BG
43892012-08-13 Bastien Guerry <bzg@gnu.org>
4390
0fcd3d9f 4391 * window.el (special-display-popup-frame): Minor docstring
31cd32c9
BG
4392 enhancement. (Bug#12172)
4393
1b15d8ad
AS
43942012-08-13 Andreas Schwab <schwab@linux-m68k.org>
4395
31e54db0
AS
4396 * tar-mode.el (tar-header-data-end): Only ignore size for files of
4397 type 1-6.
4398 (tar-header-block-summarize, tar-get-descriptor): Handle pax
4399 extended headers.
4400
1b15d8ad
AS
4401 * files.el (hack-local-variables-filter): Remove useless eval.
4402
35cb9c06
MR
44032012-08-13 Martin Rudalics <rudalics@gmx.at>
4404
4405 * subr.el (with-selected-window): Fix last change.
4406
1439443b
SM
44072012-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
4408
4409 * subr.el (internal--before-with-seleted-window)
4410 (internal--after-with-seleted-window): New functions.
1b15d8ad
AS
4411 (with-selected-window): Use them, to replace dependency on
4412 tty-top-frame.
1439443b 4413
0d9e2599
NN
44142012-08-12 Nobuyoshi Nakada <nobu@ruby-lang.org>
4415
4416 * progmodes/ruby-mode.el (ruby-mode-map): Remove unnecessary
4417 binding for `newline'.
4418 (ruby-move-to-block): When moving backward, stop at block opening,
4419 not indentation.
4420 * progmodes/ruby-mode.el (ruby-brace-to-do-end)
4421 (ruby-do-end-to-brace, ruby-toggle-block): New functions.
4422 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
4423 `ruby-toggle-block'.
4424
ba10c48c
SM
44252012-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
4426
4427 * ibuffer.el (ibuffer-do-toggle-read-only):
4428 * dired.el (dired-toggle-read-only):
4429 * buff-menu.el (Buffer-menu-toggle-read-only):
4430 * bindings.el (mode-line-toggle-read-only):
4431 * bs.el (bs-toggle-readonly): Call toggle-read-only interactively.
4432
9229c658
AS
44332012-08-12 Andreas Schwab <schwab@linux-m68k.org>
4434
4435 * descr-text.el (describe-char): Put the overlays over the
4436 "displayed as" character.
4437
0fd09128
JB
44382012-08-12 Jay Belanger <jay.p.belanger@gmail.com>
4439
4440 * calc/calc-units.el (math-default-units-table): Give an
4441 initial value.
4442 (math-put-default-units): Add options to put composite units and
4443 unit systems in the default units table.
4444 (calc-convert-units): Send composite units to
4445 `math-put-default-units' when appropriate.
4446
9ff9402d 44472012-08-11 Glenn Morris <rgm@gnu.org>
7aacaf15 4448
fbb5e336
GM
4449 * emacs-lisp/copyright.el (copyright-update-directory): Logic fix.
4450
7aacaf15
GM
4451 * tutorial.el (help-with-tutorial):
4452 * emacs-lisp/copyright.el (copyright-update-directory):
4453 * emacs-lisp/autoload.el (autoload-find-generated-file)
4454 (autoload-find-file): Disable local eval: (for insurance).
4455
f40b9f10
GM
4456 * files.el (hack-local-variables-filter): If an eval: form is not
4457 known to be safe, and enable-local-variables is :safe, then ignore
4458 the form totally, as is done for non-eval forms. (Bug#12155)
6f97980a 4459 This is CVE-2012-3479.
f40b9f10 4460
daa9f1a6
SM
44612012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
4462
4463 * emacs-lisp/rx.el (rx-constituents): Don't define as constant.
4464 (rx-form): Simplify.
4465
9cd80478
DG
44662012-08-09 Dmitry Gutov <dgutov@yandex.ru>
4467
0d9e2599
NN
4468 * progmodes/ruby-mode.el (ruby-expr-beg, ruby-parse-partial):
4469 ?, _, and : are symbol constituents, ! is not (but kinda should be).
4470 (ruby-syntax-propertize-heredoc): Use ruby-singleton-class-p.
4471 (ruby-syntax-propertize-function): Adjust for changes in
4472 `ruby-syntax-propertize-heredoc'.
4473
44742012-08-09 Nobuyoshi Nakada <nobu@ruby-lang.org>
4475
9cd80478
DG
4476 * progmodes/ruby-mode.el (ruby-mode-map): Remove deprecated
4477 binding (use `M-;' instead).
9cd80478 4478 (ruby-singleton-class-p): New function.
0d9e2599 4479 (ruby-expr-beg, ruby-in-here-doc-p) Use it.
9cd80478 4480
d301b413
SM
44812012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
4482
4483 * emacs-lisp/cl-macs.el (cl-loop): Improve debug spec.
4484
1530c98e
CY
44852012-08-10 Chong Yidong <cyd@gnu.org>
4486
4487 * progmodes/python.el (python-shell-get-process-name): Don't mess
4488 with same-window-buffer-names.
4489
4490 * eshell/eshell.el (eshell-add-to-window-buffer-names)
4491 (eshell-remove-from-window-buffer-names): Make obsolete.
4492 (eshell-buffer-name, eshell-unload-hook): Don't use them.
4493 (eshell): Just use pop-to-buffer-same-window instead.
4494
e1293765
CY
44952012-08-10 Chong Yidong <cyd@gnu.org>
4496
4497 * bindings.el: Bind M-= back to count-words-region.
4498
4499 * simple.el (count-words-region): Accept a prefix arg for acting
4500 on the entire buffer.
4501 (count-words--buffer-message): New helper function.
4502
e1894109
SM
45032012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
4504
4505 * term/x-win.el (x-menu-bar-open): Always pass last-nonmenu-event.
4506 * subr.el (eventp): `nil' is not an event, and eventp is not hot.
4507 (event-start, event-end): Use posn-at-point to return a more
4508 informative posn.
4509 (posnp): New function.
4510 * mouse.el (popup-menu-normalize-position): Use it.
4511
c69f56a2
MY
45122012-08-10 Masatake YAMATO <yamato@redhat.com>
4513
4514 * mouse.el (popup-menu-normalize-position): New function.
4515 (popup-menu): Use `popup-menu-normalize-position' to normalize
4516 the form for POSITION argument.
4517
4518 * term/x-win.el (x-menu-bar-open):
4519 Use the value returend from (posn-at-point) as position
4520 passed to `popup-menu'.
4521
31673780
JB
45222012-08-09 Jay Belanger <jay.p.belanger@gmail.com>
4523
4524 * calc/calccomp.el (math-compose-expr): Add extra argument
4525 indicating that parentheses should be put around products in
4526 denominators. Give multiplication precedence over division during
4527 composition.
4528
dab7711b
CY
45292012-08-09 Chong Yidong <cyd@gnu.org>
4530
dee4ef93
CY
4531 * man.el (Man-switches, Man-sed-command, Man-awk-command)
4532 (Man-mode-hook, Man-cooked-hook, Man-untabify-command-args)
4533 (Man-untabify-command, manual-program): Convert to defcustom
4534 (Bug#10429).
4535
73e2bbc5
CY
4536 * vc/add-log.el (change-log-mode): Bind comment-start to nil.
4537
3e861c8a
CY
4538 * descr-text.el (describe-char): Don't insert extra newlines
4539 (Bug#10127).
4540
a9f5a649
CY
4541 * vc/log-view.el (log-view-diff): Use use-region-p (Bug#10133).
4542 (log-view-diff-changeset, log-view-minor-wrap): Likewise.
4543
dab7711b
CY
4544 * align.el (align-region): Delete temporary markers (Bug#10047).
4545 Plus some code cleanups.
4546
e0cc4efa
FEG
45472012-08-09 Fabián Ezequiel Gallina <fgallina@cuca>
4548
4549 * progmodes/python.el (python-pdbtrack-tracked-buffer)
4550 (python-pdbtrack-buffers-to-kill, python-shell-internal-buffer)
4551 (python-shell-internal-last-output): Use make-local-variable
4552 instead of make-variable-buffer-local.
4553
489af14f
FEG
45542012-08-09 Fabián Ezequiel Gallina <fgallina@cuca>
4555
4556 * progmodes/python.el: Enhancements to forward-sexp.
4557 (python-nav-forward-sexp): Rename from
4558 python-nav-forward-sexp-function.
c69f56a2
MY
4559 (python-nav--forward-sexp, python-nav--backward-sexp):
4560 New functions.
489af14f 4561
0fc50303
JB
45622012-08-09 Jay Belanger <jay.p.belanger@gmail.com>
4563
4564 * calc/calc-menu.el (calc-modes-menu): Add entries for matrix
4565 modes and simplification modes.
4566
5d65606a
SM
45672012-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
4568
4569 * delsel.el (delete-selection-pre-hook): Don't propagate the
4570 file-supersession signals (bug#12161).
4571
4250fdf5
SM
45722012-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
4573
4574 * emacs-lisp/cl.el (cl-map-keymap-recursively, cl-map-intervals)
4575 (cl-map-extents): Add compatibility aliases (bug#12135).
4576
d9f9b465
MA
45772012-08-08 Michael Albinus <michael.albinus@gmx.de>
4578
4579 * net/tramp-sh.el (tramp-find-file-exists-command): Protect the
4580 tests by `ignore-error'.
4581 (tramp-find-shell): Open also a new shell, when cache is already
4582 set. Reported by Carsten Bormann <cabo@tzi.org>. (Bug#12148)
4583
ce0fcefa
JL
45842012-08-08 Juri Linkov <juri@jurta.org>
4585
4586 * bookmark.el: Add `defaults' property to the bookmark record.
4587 (bookmark-current-buffer): Doc fix.
4588 (bookmark-make-record): Add `defaults' property with default values
4589 to the bookmark record.
4590 (bookmark-minibuffer-read-name-map): Remove key binding "\C-u"
4591 with `bookmark-insert-current-bookmark'.
4592 (bookmark-set): Get `defaults' property from the bookmark record
4593 and use it in `read-from-minibuffer'.
4594 (bookmark-insert-current-bookmark): Remove function.
4595
4596 * info.el (Info-bookmark-make-record): Add `defaults' property
4597 with values of canonical Info node name, the current Info file
4598 name and the current Info node name. (Bug#12107)
4599
53fa8652
JL
46002012-08-08 Juri Linkov <juri@jurta.org>
4601
4602 * files.el (basic-save-buffer): Use `buffer-name' as the default
4603 of `read-file-name' when buffer is not visiting a file (bug#12128).
4604
242c0a95
JL
46052012-08-08 Juri Linkov <juri@jurta.org>
4606
4607 * info.el (Info-isearch-search): Doc fix.
4608 (Info-search): Change search-failed message from "initial node" to
4609 "end of node" (bug#12078).
4610 (Info-isearch-search): Change `isearch-string-state' to
4611 `isearch--state-string'.
4612
32ac3a6b
GM
46132012-08-08 Glenn Morris <rgm@gnu.org>
4614
4615 * language/persian.el: Remove file.
f8c1afd5 4616 * language/misc-lang.el: Move unique part of persian.el here.
32ac3a6b
GM
4617 * loadup.el: Remove language/persian.
4618
2c2d9c9c
OF
46192012-08-08 Óscar Fuentes <ofv@wanadoo.es>
4620
4621 * vc/diff-mode.el (diff-remove-trailing-whitespace): New function.
4622
2d79ec42
FEG
46232012-08-08 Fabián Ezequiel Gallina <fgallina@cuca>
4624
4625 * progmodes/python.el Fixed defsubst warning.
4626 (python-syntax-context) Rename from python-info-ppss-context.
4627 (python-syntax-context-type): Rename from
4628 python-info-ppss-context-type.
4629 (python-syntax-comment-or-string-p): Rename from
4630 python-info-ppss-comment-or-string-p.
4631
2bd255dd
JB
46322012-08-08 Jay Belanger <jay.p.belanger@gmail.com>
4633
4634 * calc/calc-misc.el (calc-record-why): Don't record a message twice.
4635
c395097f
AS
46362012-08-07 Andreas Schwab <schwab@linux-m68k.org>
4637
6125983e
AS
4638 * emacs-lisp/lisp-mode.el (eval-defun-1): Handle standard value of
4639 a defcustom that is quoted with backquote.
4640
4250fdf5
SM
4641 * calc/calc-prog.el (math-do-defmath): Use backquote forms.
4642 Fix handling of interactive spec when the body uses return.
651eaf36
AS
4643 (math-do-arg-check, math-define-function-body): Use backquote forms.
4644 * calc/calc-ext.el (math-defcache): Likewise.
4645 * calc/calc-rewr.el (math-rwfail, math-rweval): Likewise.
4646 * allout.el (allout-new-exposure): Likewise.
4647 * calc/calcalg2.el (math-tracing-integral): Likewise.
4648 * info.el (Info-last-menu-item): Likewise.
4649 * emulation/vip.el (vip-loop): Likewise.
4650 * textmodes/artist.el (artist-funcall): Likewise.
4651 * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle):
4652 Construct menu-item directly.
4653
4250fdf5
SM
4654 * progmodes/autoconf.el (font-lock-syntactic-keywords):
4655 Don't declare.
c395097f 4656
5fb50dd3
CY
46572012-08-07 Chong Yidong <cyd@gnu.org>
4658
4659 * simple.el (deactivate-mark): Preserve text properties when
4660 saving the primary selection (Bug#8384).
4661
54eea618
KR
46622012-08-07 Kevin Ryde <user42@zip.com.au>
4663
4664 * woman.el (woman0-if): Quietly treat ".if v" as false (Bug#12109).
4665 (woman-parse-numeric-value): On a bad .IP line, issue a warning
4666 and continue processing (Bug#12110).
4667
638eaeb9
SM
46682012-08-06 Stefan Monnier <monnier@iro.umontreal.ca>
4669
4670 * progmodes/cperl-mode.el (cperl-mode): Yet another fix for
4671 syntax-propertize-function (bug#10095).
4672
ea376861
SM
46732012-08-06 Stefan Monnier <monnier@iro.umontreal.ca>
4674
f91b35be
SM
4675 * help-fns.el (help-fns--key-bindings, help-fns--signature)
4676 (help-fns--parent-mode, help-fns--obsolete): New funs, extracted from
4677 describe-function-1.
4678 (describe-function-1): Use them. Move compiler macro after sig.
4679 (help-fns--compiler-macro): Use function-get. Assume we're already in
4680 standard-output. Adjust layout to new call order.
4681
ea376861
SM
4682 * emacs-lisp/cl-macs.el (cl--sm-macroexpand): Fix handling of
4683 re-binding a symbol that has a symbol-macro (bug#12119).
4684
d5be7bd0
MB
46852012-08-06 Mohsen BANAN <libre@mohsen.1.banan.byname.net>
4686
4687 * language/persian.el: New file. (Bug#11812)
4688 * loadup.el: Add language/persian.el.
4689
90749b53
CY
46902012-08-06 Chong Yidong <cyd@gnu.org>
4691
4692 * window.el (window--maybe-raise-frame): New function.
4693 (window--display-buffer): Split off from here.
4694 (display-buffer-reuse-window, display-buffer-pop-up-frame)
4695 (display-buffer-pop-up-window, display-buffer-use-some-window):
4696 Obey an inhibit-switch-frame action alist entry.
4697 (display-buffer): Update doc.
4698
4699 * replace.el (occur-after-change-function): Avoid losing focus by
4700 using the inhibit-switch-frame display parameter (Bug#12139).
4701
ba7b0154
FEG
47022012-08-06 Fabián Ezequiel Gallina <fgallina@cuca>
4703
4704 Make internal shell process buffer names start with space.
4705 * progmodes/python.el (python-shell-make-comint): Add optional
4706 argument INTERNAL.
4707 (run-python-internal): Use it.
4708 (python-shell-internal-get-or-create-process): Check for new
4709 internal buffer names.
4710
5eaeacb5
GM
47112012-08-06 Glenn Morris <rgm@gnu.org>
4712
e296d94b 4713 * eshell/esh-ext.el (eshell/addpath): Use dolist and mapconcat.
5eaeacb5
GM
4714 Do less getting and setting of environment variables.
4715
b7ccbdc2
CY
47162012-08-05 Chong Yidong <cyd@gnu.org>
4717
777fe95e
CY
4718 * proced.el (proced): Add substitution string to docstring to
4719 trigger autoloading of the proced library on C-h f (Bug#1768).
4720
4250fdf5
SM
4721 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
4722 Don't show defvars which have no second argument (Bug#8638).
b7ccbdc2
CY
4723
4724 * imenu.el (imenu-generic-expression): Move documentation here
4725 from imenu--generic-function.
4726 (imenu--generic-function): Refer to imenu-generic-expression.
4727
9e3b7800 47282012-08-05 Vegard Øye <vegard_oye@hotmail.com> (tiny change)
d5c31f1d
4729
4730 * emulation/viper-init.el (viper-deflocalvar): Add docstring and
4731 indentation declaration.
4732 (viper-loop): Add indentation declaration (Bug#7025).
4733
e5d9c0d1
CY
47342012-08-05 Chong Yidong <cyd@gnu.org>
4735
f0422feb
CY
4736 * help-fns.el (describe-variable): Add hyperlink for
4737 directory-local variables files. Improve buffer-local and
4738 permanent-local reporting; suggested by MON KEY (Bug#6644).
4739
4740 * help-mode.el (help-dir-local-var-def): New button type.
4741
e5d9c0d1
CY
4742 * files.el (kill-buffer-hook): Provide a defvar.
4743
a4f2deaa
GM
47442012-08-05 Glenn Morris <rgm@gnu.org>
4745
4746 * eshell/esh-ext.el (eshell/addpath):
4747 Also update eshell-path-env. (Bug#12013)
4748
a9dd5754
CY
47492012-08-05 Chong Yidong <cyd@gnu.org>
4750
a4f2deaa 4751 * wdired.el (wdired-mode, wdired-change-to-wdired-mode): Doc fixes.
615b0bf0 4752
d014c740
CY
4753 * fringe.el (fringe-styles): Add docstring.
4754 (fringe--check-mode): New function.
4755 (set-fringe-mode, set-fringe-style): Use it.
4756 (fringe-mode, set-fringe-style): Doc fixes (Bug#6480).
4757
a9dd5754
CY
4758 * files.el (set-auto-mode): Fix invalid setq call.
4759
7c2dc8bd
SM
47602012-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
4761
4762 * isearch.el: Misc simplification; use defstruct.
4763 (isearch-mode-map): Dense maps now work like sparse ones.
4764 (isearch--state): New defstruct.
4765 (isearch-string-state, isearch-message-state, isearch-point-state)
4766 (isearch-success-state, isearch-forward-state)
4767 (isearch-other-end-state, isearch-word-state, isearch-error-state)
4768 (isearch-wrapped-state, isearch-barrier-state)
4769 (isearch-case-fold-search-state, isearch-pop-fun-state): Remove,
4770 replaced by defstruct's accessors.
4771 (isearch--set-state): Rename from isearch-top-state and change
4772 calling convention.
4773 (isearch-push-state): Use new isearch--get-state.
4774 (isearch-toggle-word): Disable regexp when enabling word.
4775 (isearch-message-prefix): Remove unused arg _c-q-hack.
4776 (isearch-message-suffix): Remove unused arg _ellipsis.
4777
7fcc0070
AS
47782012-08-04 Andreas Schwab <schwab@linux-m68k.org>
4779
4780 * simple.el (list-processes--refresh): For a server use :host or
4781 :local as the address.
97ad0769 4782 (list-processes): Doc fix.
7fcc0070 4783
a11035b8 47842012-08-04 Michal Nazarewicz <mina86@mina86.com>
00340faf
MN
4785
4786 * lisp/mpc.el: Support password in host argument.
4787 (mpc--proc-connect): Parse and use new password element.
4788 Set mpc-proc variable instead of returning process.
4789 (mpc-proc): Adjust accordingly.
4790
6dad7178
EZ
47912012-08-03 Eli Zaretskii <eliz@gnu.org>
4792
18949c2f
EZ
4793 * whitespace.el (whitespace-display-mappings): Use Unicode
4794 codepoints, instead of emacs-mule codepoints. See
4795 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-07/msg00366.html
4796 for the details.
4797
6dad7178
EZ
4798 * files.el (file-truename): Don't skip symlink-chasing part on
4799 windows-nt. Incorporate the resolution of 8+3 short aliases on
4250fdf5
SM
4800 Windows into the loop that recursively chases symlinks.
4801 Compare directory and its parent case-insensitively on MS-Windows and
6dad7178
EZ
4802 MS-DOS.
4803
385b0198
CY
48042012-08-03 Chong Yidong <cyd@gnu.org>
4805
6200f3c4
CY
4806 * menu-bar.el (menu-bar-tools-menu): Remove PCL-CVS.
4807
385b0198
CY
4808 * sort.el (sort-regexp-fields): Doc fix.
4809
b9e74744
TH
48102012-08-03 Tassilo Horn <tsdh@gnu.org>
4811
4812 * textmodes/reftex.el (reftex-compile-variables): Make keyvals
4813 labels regex position point at the expected place.
4814
41013cb4
MK
48152012-08-03 MON KEY <monkey@sandpframing.com>
4816
4817 * net/imap.el (imap-interactive-login, imap-authenticate)
4818 (imap-mailbox-lsub, imap-mailbox-list)
4819 (imap-mailbox-status-asynch, imap-mailbox-acl-delete)
4820 (imap-fetch, imap-message-flag-permanent-p, imap-envelope-from)
4821 (imap-parse-response): Doc fix.
4822
0ffee616
JT
48232012-08-03 João Távora <joaotavora@gmail.com>
4824
4825 * textmodes/tex-mode.el (latex-forward-sexp): Terminate the loop
4826 if sexp scanning does not move point (Bug#5734).
4827
cfcc9cc8
TH
48282012-08-02 Tassilo Horn <tsdh@gnu.org>
4829
4830 * textmodes/reftex-vars.el (reftex-default-label-alist-entries):
4831 Add listings, minted, and ctable packages.
4832 (reftex-label-alist-builtin): Move listings, minted, and ctable
4833 entries before LaTeX.
a01bbb84 4834 (reftex-label-alist): Docfix.
cfcc9cc8 4835
66ec2442
BG
48362012-08-02 Bastien Guerry <bzg@gnu.org>
4837
4838 * replace.el (occur): Fix docstring (bug#12122).
4839
837b365b
GM
48402012-08-02 Glenn Morris <rgm@gnu.org>
4841
4842 * emacs-lisp/authors.el (authors-renamed-files-alist): Add ms-w32.h.
4843
e098de97
PE
48442012-08-02 Paul Eggert <eggert@cs.ucla.edu>
4845
4846 Obsolete alias inactivate-current-input-method-function (Bug#10150).
4847 * international/mule-cmds.el: Create
4848 inactivate-current-input-method-function as an obsolete alias for
4849 deactivate-current-input-method-function. See Katsumi Yamaoka in
4850 <http://bugs.gnu.org/10150#46>.
4851
a0f95636
JB
48522012-08-01 Jay Belanger <jay.p.belanger@gmail.com>
4853
4854 * calc/calc-mode.el (calc-set-simplify-mode): Use `cond' instead
4855 of nested `if's.
4856
0d26d7c4
GM
48572012-08-01 Glenn Morris <rgm@gnu.org>
4858
4859 * progmodes/autoconf.el (autoconf-definition-regexp):
4860 Add AH_TEMPLATE, adjust submatch numbering.
4861 (autoconf-font-lock-keywords, autoconf-imenu-generic-expression)
4862 (autoconf-current-defun-function): Update for above change.
4863 (autoconf-current-defun-function): First skip to end of current word.
4864
b686ba06
RS
48652012-08-01 Rupert Swarbrick <rswarbrick@gmail.com> (tiny change)
4866
4867 * calendar/cal-html.el (cal-html-insert-agenda-days):
4868 Fix typo. (Bug#12018)
4869
0d49da68
FEG
48702012-07-31 Fabián Ezequiel Gallina <fgallina@cuca>
4871
4872 Shell processes: enhancements to startup and CEDET compatibility.
4873 * progmodes/python.el (python-shell-send-setup-max-wait): Delete var.
4874 (python-shell-make-comint): accept-process-output at startup.
4875 (run-python-internal): Set inferior-python-mode-hook to nil.
4876 (python-shell-internal-get-or-create-process): call sit-for.
4877 (python-preoutput-result): Add obsolete alias.
4878 (python-shell-internal-send-string): Use it.
4879 (python-shell-send-setup-code): Remove call to
4880 accept-process-output.
4881
f1a71c6e
AS
48822012-07-31 Andreas Schwab <schwab@linux-m68k.org>
4883
4884 * buff-menu.el (list-buffers-noselect): Use prefix-numeric-value.
4885 (Bug#12108)
4886
d2605269
JB
48872012-07-31 Jay Belanger <jay.p.belanger@gmail.com>
4888
4889 * calc-mode.el (calc-basic-simplification-mode): Rename from
4890 `calc-limited-simplification-mode'.
4891 (calc-alg-simplification-mode): New function.
fc0c31f8 4892 (calc-set-simplify-mode): Adjust message.
f1a71c6e 4893
d2605269
JB
4894 * calc.el (calc-set-mode-line): Adjust mode line display for
4895 basic simplification mode.
4896
4897 * calc-help.el (calc-m-prefix-help): Update help message.
4898
4899 * calc-ext.el (calc-init-extensions): Add bindings and autoloads
4900 for `calc-basic-simplify-mode' and `calc-alg-simplify-mode'.
4901
a3827a43
BG
49022012-07-31 Bastien Guerry <bzg@gnu.org>
4903
4904 * man.el (man): Fix comment. (bug#12101)
4905
502e3f89
MR
49062012-07-31 Martin Rudalics <rudalics@gmx.at>
4907
4908 * window.el (switch-to-prev-buffer, switch-to-next-buffer):
4909 Don't return a non-nil value when no suitable buffer was found.
4910
d7714961
FEG
49112012-07-31 Fabián Ezequiel Gallina <fgallina@cuca>
4912
4913 * progmodes/python.el (run-python-internal): Disable font lock for
4914 internal shells.
4915
1f45e27e
SM
49162012-07-30 Stefan Merten <smerten@oekonux.de>
4917
70efc5c9 4918 * textmodes/rst.el: Silence `checkdoc-ispell'.
1f45e27e
SM
4919 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
4920 (rst-official-version, rst-official-cvs-rev)
4921 (rst-package-emacs-version-alist): Update to upstream V1.3.1.
4922 (rst-mode-map): New key binding.
4923
0aee6912
PE
49242012-07-30 Paul Eggert <eggert@cs.ucla.edu>
4925
4926 Update .PHONY listings in makefiles.
4927 * Makefile.in (.PHONY): Add all, doit, custom-deps, finder-data,
4928 autoloads, update-subdirs, updates, bzr-update, update-authors,
4929 compile-onefile, compile-calc, backup-compiled-files,
4930 compile-after-backup, compile-one-process, mh-autoloads,
4931 bootstrap-clean, distclean, maintainer-clean.
4932
9052f9f0
JB
49332012-07-29 Jay Belanger <jay.p.belanger@gmail.com>
4934
1823ac5a
JB
4935 * calc/calc.el (calc-simplify-mode): Make 'alg the default value.
4936 (calc-set-mode-line): Don't display "AlgSimp ".
4937
4938 * calc/calc-mode.el (calc-alg-simplify-mode): Remove function.
4939 (calc-lim-simplify-mode): New function.
4940 (calc-set-simplify-mode): Default to 'alg.
4941 (calc-default-simplify-mode): Make algebraic simplifications
4942 the default.
4943
4944 * calc/calc-ext.el (calc-init-extensions): Remove binding for
4945 `calc-alg-simplify-mode'. Add binding for `calc-lim-simplify-mode'.
4946
8d7c7eed 4947 * calc/calc-help.el (calc-m-prefix-help): Change messages to
4b337409
JB
4948 indicate new simplification modes.
4949
1823ac5a
JB
4950 * calc/README: Mention new default simplification mode.
4951
9052f9f0
JB
4952 * calc/calc.el (math-normalize-error): New variable.
4953 (math-normalize): Set `math-normalize-error' to t
4954 when there's an error.
4955
4956 * calc/calc-alg.el (math-simplify): Don't simplify when
4957 `math-normalize' returns an error.
4958
20ba0cb4
EZ
49592012-07-29 Eli Zaretskii <eliz@gnu.org>
4960
4961 * international/mule-cmds.el (set-locale-environment): Revert last
4962 change, since display-graphic-p returns nil when this function is
4963 called during startup. Instead...
4964
4965 * term/w32console.el (terminal-init-w32console): ...setup the
4966 keyboard and terminal encoding for TTY sessions here. (Bug#12082)
4967
a5dcc929
JL
49682012-07-29 Juri Linkov <juri@jurta.org>
4969
4970 * simple.el (goto-line): Don't display default line number in the
4971 prompt because it should be displayed by `read-number' (bug#9952).
4972 Add the current line number to the defaults of `goto-line' to
4973 allow its easier modification by users with `M-n' (bug#9201).
4974
4975 * subr.el (read-number): Support multiple default values like in
4976 other minibuffer reading functions. Replace `read' with
4977 `string-to-number' for consistency with `number-to-string'.
4978
72b255c7
PE
49792012-07-29 Paul Eggert <eggert@cs.ucla.edu>
4980
4981 deactive->inactive, inactivate->deactivate spelling fixes (Bug#10150)
4982 * emulation/viper-init.el (viper-deactivate-input-method-action):
4983 Rename from viper-inactivate-input-method-action.
4984 (viper-deactivate-input-method):
4985 Rename from viper-inactivate-input-method.
4986 * follow.el (follow-inactive-menu): Rename from follow-deactive-menu.
4987 * international/mule-cmds.el (deactivate-input-method):
4988 Rename from inactivate-input-method.
4989 Also run input-method-deactivate-hook.
4990 (deactivate-current-input-method-function):
4991 Rename from inactivate-current-input-method-function.
4992 (input-method-deactivate-hook): New hook.
4993 (input-method-inactivate-hook): Mark obsolete.
bb6eb9fc
PE
4994 (inactivate-input-method): Mark obsolete.
4995
72b255c7
PE
4996 * international/quail.el (quail-activate):
4997 Also run quail-deactivate-hook.
4998 (quail-deactivate): Rename from quail-inactivate.
4999 * international/robin.el (robin-activate):
5000 Also run robin-deactivate-hook.
5001 (robin-deactivate): Rename from robin-inactivate.
5002
2549c068
CY
50032012-07-29 Chong Yidong <cyd@gnu.org>
5004
5005 * simple.el (indicate-copied-region): New function.
5006 (kill-ring-save): Split off from here.
5007
5008 * rect.el (copy-rectangle-as-kill): Call indicate-copied-region.
5009 (kill-rectangle): Set deactivate-mark to t on read-only error.
5010
5011 * register.el (copy-to-register, copy-rectangle-to-register):
5012 Deactivate the mark, and use indicate-copied-region (Bug#10056).
4c478e6b
JL
5013 (append-to-register, prepend-to-register): Call indicate-copied-region.
5014
50152012-07-29 Juri Linkov <juri@jurta.org>
17711ed9
JL
5016
5017 * simple.el (async-shell-command-buffer): New defcustom.
5018 (shell-command): Use it. (Bug#4719)
5019
01bd1b0d
EZ
50202012-07-28 Eli Zaretskii <eliz@gnu.org>
5021
5022 * international/mule-cmds.el (set-locale-environment): In a
5023 console session on MS-Windows, set up keyboard and terminal
5024 encoding from the OEM codepage, not the ANSI codepage.
5025 (Bug#12055)
5026
a55739d3
CY
50272012-07-28 Chong Yidong <cyd@gnu.org>
5028
5029 * progmodes/gdb-mi.el (gdb-place-breakpoints): Fix the call to
5030 gdb-get-location.
5031
0e1a094f 50322012-07-28 Leo Liu <sdl.web@gmail.com>
9a0f8f2e
LL
5033
5034 * progmodes/cc-menus.el (cc-imenu-objc-function): Avoid leaving nil in
5035 the alist (bug#12029).
5036
20329d73
EZ
50372012-07-28 Eli Zaretskii <eliz@gnu.org>
5038
5039 * makefile.w32-in (custom-deps, finder-data, updates, compile)
5040 (compile-always, compile-first)
5041 ($(lisp)/calendar/cal-loaddefs.el)
5042 ($(lisp)/calendar/diary-loaddefs.el)
5043 ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
5044 ($(lisp)/net/tramp-loaddefs.el, bootstrap)
5045 ($(lisp)/progmodes/cc-mode.elc): Depend on $(lisp)subdirs.el,
5046 instead of on update-subdirs.
5047 (bootstrap-clean): Delete $(lisp)/subdirs.el.
5048
345a2258
CY
50492012-07-28 Chong Yidong <cyd@gnu.org>
5050
1eee6341
CY
5051 * vc/vc.el (vc-root-diff, vc-print-root-log): Prompt for a
5052 directory if vc-deduce-backend returns nil (Bug#7350).
5053
345a2258
CY
5054 * simple.el (delete-trailing-lines): New option.
5055 (delete-trailing-whitespace): Obey it (Bug#11879).
5056
049a0936
DE
50572012-07-28 David Engster <deng@randomsample.de>
5058
5059 * xml.el (xml-node-name, xml-parse-file, xml-parse-region):
5060 Explanation of new 'symbol-qnames feature in doc-strings.
5061 (xml-maybe-do-ns): Return expanded names as plain symbols if
5062 'symbol-qnames was provided in XML-NS argument (Bug#11916).
5063 (xml-parse-tag-1): Deal with new definition of PARSE-NS argument.
5064
aa81af71
FEG
50652012-07-27 Fabián Ezequiel Gallina <fgallina@cuca>
5066
5067 Consistent completion in inferior python with emacs -nw.
5068 * progmodes/python.el (inferior-python-mode): replace "<tab>"
5069 binding in inferior-python-mode-map with "\t".
5070 (python-shell-completion-complete-at-point)
5071 (python-completion-complete-at-point): Remove interactive spec.
5072
e827b1eb
JB
50732012-07-27 Jay Belanger <jay.p.belanger@gmail.com>
5074
5075 * calc/calccomp.el (math-compose-expr): Undo previous change.
5076
a90dfb95
FEG
50772012-07-27 Fabián Ezequiel Gallina <fgallina@cuca>
5078
4250fdf5 5079 * progmodes/python.el (python-mode-map): Add keybinding for
a90dfb95
FEG
5080 run-python.
5081 (python-shell-make-comint): Fix pop-to-buffer call.
5082 (run-python): Autoload. New arg SHOW.
5083 (python-shell-get-or-create-process): Do not pop python process
5084 buffer.
5085
32770973 50862012-07-27 Michael Albinus <michael.albinus@gmx.de>
1c6ef030
MA
5087
5088 * notifications.el (notifications-on-action-signal)
5089 (notifications-on-closed-signal): Use also the bus address for the map.
5090 (notifications-notify, notifications-close-notification)
fc0c31f8 5091 (notifications-get-capabilities): Add optional argument BUS.
1c6ef030 5092
86332df2
TH
50932012-07-27 Tassilo Horn <tsdh@gnu.org>
5094
4250fdf5
SM
5095 * textmodes/reftex-vars.el (reftex-label-alist-builtin):
5096 Add support for the lstlisting and minted environments, and for the
86332df2
TH
5097 ctable macro.
5098 * textmodes/reftex.el (reftex-compile-variables): Also recognize
5099 labels written in keyvals syntax.
5100
ca1302a4
JB
51012012-07-27 Jay Belanger <jay.p.belanger@gmail.com>
5102
5103 * calc/calccomp.el (math-compose-expr): Use parentheses when
5104 there is a product in the denominator of a fraction.
5105
f8b91036
EZ
51062012-07-26 Eli Zaretskii <eliz@gnu.org>
5107
5108 * makefile.w32-in ($(lisp)/calendar/cal-loaddefs.el)
5109 ($(lisp)/calendar/diary-loaddefs.el)
5110 ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
4250fdf5
SM
5111 ($(lisp)/net/tramp-loaddefs.el): Depend on update-subdirs.
5112 Fixes failures in parallel bootstrap because subdirs.el is being
f8b91036
EZ
5113 rewritten while the autoload files are built at the same time,
5114 which needs to load subdirs.el.
5115
c8e5a42c
MR
51162012-07-26 Martin Rudalics <rudalics@gmx.at>
5117
5118 * mouse.el (popup-menu): Fix doc-string and re-indent code.
5119 (mouse-drag-line): Don't exit tracking when a switch-frame or
5120 switch-window event occurs (Bug#12006).
5121
670d85ea
SM
51222012-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
5123
5124 * mouse.el (popup-menu): Fix last change.
5125
7abaf5cc
SM
51262012-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
5127
5128 Autoload from Lisp with more care. Follow aliases when looking for
5129 function properties.
5130 * subr.el (autoloadp): New function.
5131 (symbol-file): Use it.
5132 (function-get): New function.
5133 * emacs-lisp/macroexp.el (macroexp--expand-all): Use function-get and
5134 autoload-do-load.
5135 * emacs-lisp/lisp-mode.el (lisp-font-lock-syntactic-face-function)
5136 (lisp-indent-function):
5137 * emacs-lisp/gv.el (gv-get):
5138 * emacs-lisp/edebug.el (get-edebug-spec, edebug-basic-spec):
5139 * emacs-lisp/byte-opt.el (byte-optimize-form):
5140 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
5141 * emacs-lisp/autoload.el (make-autoload, autoload-print-form):
5142 Use function-get.
5143 * emacs-lisp/cl.el: Don't propagate function properties any more.
5144
5145 * speedbar.el (speedbar-add-localized-speedbar-support):
5146 * emacs-lisp/disass.el (disassemble-internal):
5147 * desktop.el (desktop-load-file):
5148 * help-fns.el (help-function-arglist, find-lisp-object-file-name)
5149 (describe-function-1):
5150 * emacs-lisp/find-func.el (find-function-noselect):
5151 * emacs-lisp/elp.el (elp-instrument-function):
5152 * emacs-lisp/advice.el (ad-has-proper-definition):
5153 * apropos.el (apropos-safe-documentation, apropos-macrop):
5154 * emacs-lisp/debug.el (debug-on-entry):
5155 * emacs-lisp/cl-macs.el (cl-compiler-macroexpand):
5156 * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
5157 * calc/calc.el (name): Use autoloadp & autoload-do-load.
5158
b1364986
AA
51592012-07-25 Alp Aker <alp.tekin.aker@gmail.com>
5160
5161 * international/mule-cmds.el (ucs-insert): Mark it as an obsolete
5162 function, not an obsolete variable (Bug#12046).
5163
67ada220
AS
51642012-07-25 Andreas Schwab <schwab@linux-m68k.org>
5165
5166 * faces.el (face-spec-reset-face): Fix last change. (Bug#12042)
5167
f08088e3
CS
51682012-07-25 Christopher Schmidt <christopher@ch.ristopher.com>
5169
5170 * emacs-lisp/pp.el (pp-display-expression): Select old selected
5171 window only if it is still live (Bug#12034).
5172
8137e7b3
MR
51732012-07-25 Martin Rudalics <rudalics@gmx.at>
5174
5175 * subr.el (redirect-frame-focus): Add advertised calling
5176 convention (Bug#12030).
5177
09ae5da1
PE
51782012-07-25 Paul Eggert <eggert@cs.ucla.edu>
5179
5180 Prefer typical American spelling for "acknowledgment".
5181 * vc/add-log.el (change-log-acknowledgment): Rename from
5182 change-log-acknowledgement, with an alias for the old name.
5183
3cc5a3a8
JB
51842012-07-25 Jay Belanger <jay.p.belanger@gmail.com>
5185
5186 * calc-alg.el (math-simplify-divide): Don't cross multiply
5187 in an equation when the lhs is a variable.
5188
b7af7f62
JD
51892012-07-24 Julien Danjou <julien@danjou.info>
5190
5191 * net/netrc.el (netrc-find-service-number, netrc-store-data):
5192 Remove, unused.
5193
ec1b09b1
EZ
51942012-07-23 Eli Zaretskii <eliz@gnu.org>
5195
5196 * startup.el (command-line): Don't display an empty user name in
5197 the error message about non-existent home directory, when
5198 init-file-user was set to an empty string. See
5199 http://lists.gnu.org/archive/html/bug-gnu-emacs/2012-07/msg00835.html
5200 for the details and context.
5201
b525fd8a
VB
52022012-07-22 Vincent Belaïche <vincentb1@users.sourceforge.net>
5203
5204 * ses.el (ses-cell-formula-aset): New macro.
5205 (ses-cell-references-aset): New macro.
5206 (ses-cell-p): New function.
5207 (ses-rename-cell): Do no longer rely on complex operations like
5208 ses-cell-set-formula or ses-set-cell to change the cell and handle
5209 the undo at the same time, but rather use lower level new macros
5210 `ses-cell-formula-aset' and `ses-cell-references-aset' and handle
fc0c31f8 5211 the undo directly. Refresh the mode line.
b525fd8a 5212
2c73e345
LL
52132012-07-21 Leo Liu <sdl.web@gmail.com>
5214
670d85ea
SM
5215 * progmodes/cc-cmds.el (c-defun-name):
5216 Use match-string-no-properties instead for consistency.
2c73e345 5217
542dfbde
LL
52182012-07-20 Leo Liu <sdl.web@gmail.com>
5219
3646bcd6
LL
5220 * progmodes/cc-cmds.el (c-defun-name): Handle objc selectors properly.
5221 (Bug#7879)
5222
542dfbde
LL
5223 * progmodes/cc-langs.el (c-symbol-start): Include char _ (bug#11986).
5224
25721031
CY
52252012-07-20 Stefan Monnier <monnier@iro.umontreal.ca>
5226
5227 * userlock.el, emacs-lisp/map-ynp.el: Declare part of `emacs' package.
5228 * progmodes/bug-reference.el, misearch.el: Provide themselves
5229 (bug#11915).
5230
5231 * progmodes/cperl-mode.el (cperl-unwind-to-safe): Don't inf-loop at end
5232 of narrowed buffer (bug#11966).
5233
316e68a7
VB
52342012-07-20 Vincent Belaïche <vincentb1@users.sourceforge.net>
5235
5236 * ses.el (ses-rename-cell): Set new name also in reference list of
5237 cells of which the renamed cell depends.
5238
bbf0e7d9
MY
52392012-07-20 Masatake YAMATO <yamato@redhat.com>
5240
5241 * term/x-win.el (x-menu-bar-open): Use `frame-parameter'
5242 to check whether menu-bar is shown or not. If not shown,
5243 show the menu-bar as a popup menu instead of using tmm.
5244 * mouse.el (popup-menu): Accept `point' as `position' argument.
5245
c28662a8
DG
52462012-07-20 Dmitry Gutov <dgutov@yandex.ru>
5247
5248 * progmodes/ruby-mode.el (ruby-parse-partial): No error when end
5249 up inside string symbol literal (bug#11923).
5250
87ab808f
EZ
52512012-07-20 Eli Zaretskii <eliz@gnu.org>
5252
5253 * startup.el (fancy-startup-text): Read the whole tutorial, not
5254 just its first 256 bytes. Prevents gibberish in display of the
5255 tutorial title.
5256
89dea803
DA
52572012-07-20 Dmitry Antipov <dmantipov@yandex.ru>
5258
5259 Drop idle buffer compaction due to an absence of the
5260 proved efficiency.
5261 * compact.el: Remove.
5262
8a4e6db8
SS
52632012-07-19 Sam Steingold <sds@gnu.org>
5264
5265 * vc/vc-dispatcher.el (vc-compilation-mode): Add, based on
5266 vc-bzr-pull & vc-bzr-merge-branch.
5267 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch): Use it.
5268 (vc-bzr-error-regexp-alist): Rename from vc-bzr-error-regex-alist
5269 for consistency with compilation-error-regexp-alist.
5270 * vc/vc-git.el (vc-git-error-regexp-alist): Add.
5271 (vc-git-pull, vc-git-merge-branch): Call vc-compilation-mode.
5272 * vc/vc-hg.el (vc-hg-error-regexp-alist): Add.
5273 (vc-hg-pull, vc-hg-merge-branch): Call vc-compilation-mode.
5274
5db81e33
SM
52752012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
5276
5277 * emacs-lisp/chart.el: Use lexical-binding.
5278 (chart-emacs-storage): Don't hardcode the list of entries.
5279
5b835e1d
DA
52802012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
5281
5282 Next round of tweaks caused by Fgarbage_collect changes.
5283 * emacs-lisp/chart.el (chart-emacs-storage): Adjust again.
5284
9cd47b72
DA
52852012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
5286
5287 Compact buffers when idle.
5288 * compact.el: New file.
5289
1d6fc0df
SM
52902012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
5291
5292 * subr.el (eventp): Presume that if it looks vaguely like an event,
5293 it's an event (bug#10190).
5294
1d29cc7d
FEG
52952012-07-19 Fabián Ezequiel Gallina <fgallina@cuca>
5296
5297 Enhancements to ppss related code (thanks Stefan).
5298 * progmodes/python.el (python-indent-context)
5299 (python-indent-calculate-indentation, python-indent-dedent-line)
5300 (python-indent-electric-colon, python-nav-forward-block)
5301 (python-mode-abbrev-table)
1d6fc0df 5302 (python-info-assignment-continuation-line-p): Simplify checks
1d29cc7d
FEG
5303 for ppss context.
5304 (python-info-continuation-line-p): Cleanup.
5305 (python-info-ppss-context): Do not catch 'quote.
5306 (python-info-ppss-context-type)
5307 (python-info-ppss-comment-or-string-p): Simplify.
5308
d583cbe6
FEG
53092012-07-18 Fabián Ezequiel Gallina <fgallina@cuca>
5310
5311 * progmodes/python.el: Enhancements to eldoc support.
5312 (python-info-current-symbol): New function.
5313 (python-eldoc-at-point): Use python-info-current-symbol.
5314 (python-info-current-defun): Fix cornercase on first defun scan.
5315 (python-eldoc--get-doc-at-point): Use python-info-current-symbol
5316 and signal error when no inferior python process is available.
5317
eceb6feb
DG
53182012-07-18 Dmitry Gutov <dgutov@yandex.ru>
5319
5320 * vc/vc-git.el (vc-git-state): Don't call `vc-git-registered',
5321 assume it's always t.
5322 (vc-git-registered): Remove caching, the function is only called
5323 once.
5324 (vc-git-branches): Use `vc-git--call' instead of `call-process'.
5325
4c8ff0fe
CY
53262012-07-18 Chong Yidong <cyd@gnu.org>
5327
19fb7186
CY
5328 * subr.el (last-input-char, last-command-char): Remove (Bug#9195).
5329
9587c688
CY
5330 * simple.el (count-words): Report on narrowing (Bug#9959).
5331
0fe776a1
CY
5332 * bindings.el: Bind M-= to count-words.
5333
4c8ff0fe
CY
5334 * faces.el (face-spec-reset-face): Handle reverse video (Bug#4238).
5335
7f5331cc
MY
53362012-07-18 Masatake YAMATO <yamato@redhat.com>
5337
5338 * progmodes/sh-script.el (sh-imenu-generic-expression):
5339 Capture a function with `function' keyword and without parentheses
5340 like "function FOO" (bug#11856).
5341
2dc2a609
TH
53422012-07-18 Tassilo Horn <tassilo@member.fsf.org>
5343
5344 * window.el (split-window-sensibly): Make WINDOW argument
5345 optional.
5346
439f7677
CY
53472012-07-18 Chong Yidong <cyd@gnu.org>
5348
9aeb25a6
CY
5349 * subr.el (keyboard-translate): Doc fix (Bug#7261).
5350
439f7677
CY
5351 * isearch.el (isearch-mode-map): Handle C-x 8 key translations,
5352 and make C-x 8 RET exit isearch (Bug#11439).
5353
5354 * international/iso-transl.el: Move isearch-mode-map key
5355 definitions to isearch.el.
5356
12999ea8
SM
53572012-07-18 Stefan Monnier <monnier@iro.umontreal.ca>
5358
5359 * emacs-lisp/eieio.el: Adapt further to gv.el (bug#11970).
5360 (eieio-defclass): Use gv-define-setter when possible.
5361
3ab6e069
DA
53622012-07-18 Dmitry Antipov <dmantipov@yandex.ru>
5363
5364 Reflect recent changes in Fgarbage_collect.
5365 * emacs-lisp/chart.el (chart-emacs-storage): Change to
5366 reflect new format of data returned by Fgarbage_collect.
5367
0a60bc10
FEG
53682012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
5369
5370 New utility functions + python-info-ppss-context fix (Bug#11910).
5371 * progmodes/python.el (python-info-beginning-of-block-statement-p)
5372 (python-info-ppss-comment-or-string-p): New functions.
5373 (python-info-ppss-context): Small fix for string check.
5374
6dafa0d5
JL
53752012-07-17 Juri Linkov <juri@jurta.org>
5376
5377 * dired-aux.el (dired-do-async-shell-command): Doc fix.
5378 (dired-do-async-shell-command): Don't add `*' at the end of the
5379 command (Bug#11815).
5380 (dired-do-shell-command): Doc fix.
5381 (dired-shell-stuff-it): Strip the trailing "&" and ";" if any.
5382 Join the individual commands using either "&" or ";" as the
5383 separator depending on the values of these trailing characters.
5384 At the end re-add the trailing "&". (Bug#10598)
5385
5386 * simple.el (async-shell-command): Sync the interactive spec with
5387 `shell-command'. Doc fix.
5388 (shell-command): Doc fix.
5389
b19dd9d1
JL
53902012-07-17 Juri Linkov <juri@jurta.org>
5391
5392 * descr-text.el (describe-char): Fix format args. (Bug#10129)
5393
bcdc27d7 53942012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
7f5331cc 5395
bcdc27d7 5396 Final renames and doc fixes for movement commands (bug#11899).
7f5331cc
MY
5397 * progmodes/python.el (python-nav-beginning-of-statement):
5398 Rename from python-nav-statement-start.
bcdc27d7
FEG
5399 (python-nav-end-of-statement): Rename from
5400 python-nav-statement-end.
5401 (python-nav-beginning-of-block): Rename from
5402 python-nav-block-start.
5403 (python-nav-end-of-block): Rename from python-nav-block-end.
5404
191da00e
FEG
54052012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
5406
7f5331cc
MY
5407 * progmodes/python.el (python-shell-send-string-no-output):
5408 Allow accept-process-output to quit, keeping shell process ready for
191da00e
FEG
5409 future interactions (Bug#11868).
5410
4dc7c8d5 54112012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
aa7aaf8f 5412
88ecaf8f
SM
5413 * emacs-lisp/cl-macs.el (cl-progv): Use a properly prefixed var name.
5414
ef501ef0
SM
5415 * emacs-lisp/elint.el (elint-find-args-in-code):
5416 Use help-function-arglist, so as to handle lexical byte-code.
5417
aa7aaf8f
SM
5418 * progmodes/sh-script.el (sh-syntax-propertize-function): Fix last
5419 change (bug#11826).
5420
45fd731c
SM
54212012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
5422
2143fa32
SM
5423 * progmodes/cc-engine.el (c-forward-sws, c-backward-sws):
5424 Avoid spuriously marking the buffer as modified because of c-is-sws.
5425
efc26dbe
SM
5426 * progmodes/sh-script.el (sh-syntax-propertize-function): Mark "${#VAR"
5427 as not-a-comment (bug#11946).
5428
f5695c9a
SM
5429 * emacs-lisp/macroexp.el (macroexp-let2): Use more informative names
5430 for uninterned vars.
5431
5432 * xt-mouse.el (xterm-mouse-translate-1, xterm-mouse-event-read):
5433 Use read-event since we don't really want to read chars but bytes.
5434
45fd731c
SM
5435 * textmodes/tex-mode.el (tex-font-lock-keywords-1): Highlight not only
5436 $$..$$ but also $..$ using regexps (bug#11953).
5437 Use tex-verbatim for \url and \path.
5438 (tex-font-lock-keywords): Define as defconst like the others.
5439 (tex-common-initialization): Don't use font-lock-syntax-table any more.
5440
ddfc8813
RK
54412012-07-16 René Kyllingstad <Rene@Kyllingstad.com> (tiny change)
5442
5443 * international/mule-cmds.el (ucs-insert): Make it an obsolete
5444 alias for insert-char.
5445
758e556a
FEG
54462012-07-16 Fabián Ezequiel Gallina <fgallina@cuca>
5447
5448 * progmodes/python.el: Simplified imenu implementation.
5449 (python-nav-jump-to-defun): Remove command.
5450 (python-mode-map): Use `imenu' instead.
5451 (python-nav-list-defun-positions-cache)
5452 (python-imenu-include-defun-type, python-imenu-make-tree)
5453 (python-imenu-subtree-root-label, python-imenu-index-alist):
5454 Remove vars.
5455 (python-nav-list-defun-positions, python-nav-read-defun)
5456 (python-imenu-tree-assoc, python-imenu-make-element-tree)
45fd731c
SM
5457 (python-imenu-make-tree, python-imenu-create-index):
5458 Remove functions.
758e556a
FEG
5459 (python-mode): Update to interact with imenu by setting
5460 `imenu-extract-index-name-function' only.
5461
032d23ab
FEG
54622012-07-16 Fabián Ezequiel Gallina <fgallina@cuca>
5463
5464 * progmodes/python.el: Enhancements to navigation commands.
5465 (python-nav-backward-sentence)
5466 (python-nav-forward-sentence): Remove.
5467 (python-nav-backward-statement, python-nav-forward-statement)
5468 (python-nav-statement-start, python-nav-statement-end)
5469 (python-nav-backward-block, python-nav-forward-block)
5470 (python-nav-block-start, python-nav-block-end)
5471 (python-nav-forward-sexp-function)
5472 (python-info-current-line-comment-p)
5473 (python-info-current-line-empty-p): New functions.
5474 (python-indent-context): Use `python-nav-statement-start'.
5475
01795a1b
MA
54762012-07-16 Michael Albinus <michael.albinus@gmx.de>
5477
9328d9aa
MA
5478 * eshell/em-ls.el (eshell/ls): Use `apply'.
5479
5480 * eshell/em-unix.el (eshell/su, eshell/sudo): Apply Tramp's ad-hoc
5481 multi-hops, instead of Tramp internals.
5482
01795a1b
MA
5483 * vc/ediff.el (ediff-directories): Add trailing space to prompts.
5484
5485 * vc/ediff-diff.el (ediff-same-file-contents): Handle the case,
5486 when F1 and F2 are located on different hosts.
5487
63408057
CY
54882012-07-14 Chong Yidong <cyd@gnu.org>
5489
5490 * xt-mouse.el: Implement extended mouse coordinates (Bug#10642).
5491 (xterm-mouse-translate): Move code into xterm-mouse-translate-1.
5492 (xterm-mouse-translate-extended, xterm-mouse-translate-1)
5493 (xterm-mouse--read-event-sequence-1000)
5494 (xterm-mouse--read-event-sequence-1006): New functions. For old
5495 mouse protocol, handle M-mouse-X events correctly.
5496 (xterm-mouse-event): New arg specifying mouse protocol.
5497 (turn-on-xterm-mouse-tracking-on-terminal)
5498 (turn-off-xterm-mouse-tracking-on-terminal): Send DEC 1006
45fd731c
SM
5499 sequence to toggle extended coordinates on newer XTerms.
5500 This appears to be harmless on terminals which do not support this.
63408057 5501
cd276f6e
LL
55022012-07-14 Leo Liu <sdl.web@gmail.com>
5503
28ca98ac
LL
5504 Add fringe bitmap indicators for flymake. (Bug#11253)
5505 * progmodes/flymake.el (flymake-highlight-line): Use fringe bitmaps.
5506 (flymake-make-overlay): New arg BITMAP.
5507 (flymake-error-bitmap, flymake-warning-bitmap)
5508 (flymake-fringe-indicator-position): New user variables.
5509
cd276f6e
LL
5510 * fringe.el: New bitmap exclamation-mark.
5511
04408072
JD
55122012-07-14 Jan Djärv <jan.h.d@swipnet.se>
5513
5514 * progmodes/cc-cmds.el (c-defun-name): Recognize Objective-C methods
5515 also (Bug#7879).
5516
b5cf7fc4
CY
55172012-07-14 Chong Yidong <cyd@gnu.org>
5518
5519 * electric.el (electric-pair-post-self-insert-function): Fix pair
5520 insertion in empty-region case (Bug#11520).
5521
be755c79
RT
55222012-07-14 Chong Yidong <cyd@gnu.org>
5523
45fd731c
SM
5524 * bindings.el: Consolidate ctl-x-r-map bindings.
5525 Bind copy-rectangle-as-kill to C-x r w.
be755c79
RT
5526
5527 * rect.el, register.el: Move bindings to bindings.el.
5528
55292012-07-14 Reuben Thomas <rrt@sc3d.org>
5530
5531 * rect.el (copy-rectangle-as-kill): New command (Bug#739).
5532
7f5b3198
AS
55332012-07-13 Andreas Schwab <schwab@linux-m68k.org>
5534
5535 * emacs-lisp/cl.el (labels): Remove spurious quote. (Bug#11938)
5536
97662200
JB
55372012-07-13 Juanma Barranquero <lekktu@gmail.com>
5538
80185fed
JB
5539 * bindings.el (top): Use `mapc' instead of `mapcar'.
5540
97662200
JB
5541 * loadup.el (top): Remove bogus `if' choice (brought by 2008-06-21T01:38:39Z!monnier@iro.umontreal.ca).
5542
2bb1ae55
MA
55432012-07-13 Michael Albinus <michael.albinus@gmx.de>
5544
5545 * progmodes/sql.el (sql-comint): Suppress the check for program on
5546 remote hosts. Reported by Francis Devereux <francis@devrx.org>.
5547 (Bug#11908)
5548
dea31bd3
CY
55492012-07-13 Chong Yidong <cyd@gnu.org>
5550
5551 * bindings.el: Assign a non-nil permanent-local property to
5552 per-buffer variables which lack a default value (Bug#11930).
5553
5554 * help-fns.el (describe-variable): In the "automatically becomes
5555 local" notice, take note of permanent-local variables.
5556
b68b3337
CY
55572012-07-13 Chong Yidong <cyd@gnu.org>
5558
5559 * files.el (toggle-read-only): Doc fix and code cleanup. New arg
5560 to allow printing the message when called from Lisp.
5561
5562 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
5563 Remove toggle-read-only.
5564
5565 * bs.el (bs-toggle-readonly):
45fd731c
SM
5566 * buff-menu.el (Buffer-menu-toggle-read-only):
5567 Remove with-no-warnings around toggle-read-only.
b68b3337
CY
5568
5569 * ffap.el (ffap--toggle-read-only): Accept a list of buffers.
5570 Remove with-no-warnings around toggle-read-only.
5571 (ffap-read-only, ffap-read-only-other-window)
5572 (ffap-read-only-other-frame): Callers changed.
5573
5574 * help-mode.el: Don't require view package.
5575 (help-mode-finish): Set buffer-read-only instead of calling
5576 toggle-read-only.
5577
5578 * bindings.el (mode-line-toggle-read-only):
5579 * dired.el (dired-toggle-read-only):
5580 * ibuffer.el (ibuffer-do-toggle-read-only): Call toggle-read-only
5581 with non-nil second arg.
5582
5583 * emacs-lisp/eieio-custom.el (eieio-customize-object):
5584 * vc/ediff.el (ediff-set-read-only-in-buf-A): Set buffer-read-only
5585 directly.
5586
56bc1586
EZ
55872012-07-12 Eli Zaretskii <eliz@gnu.org>
5588
5589 * emacs-lisp/bytecomp.el (byte-recompile-directory): Use cl-incf,
5590 not incf.
5591
a464a6c7
SM
55922012-07-11 Stefan Monnier <monnier@iro.umontreal.ca>
5593
5594 More CL cleanups and reduction of use of cl.el.
5595 * woman.el, winner.el, vc/vc-rcs.el, vc/vc-hooks.el, vc/vc-hg.el:
5596 * vc/vc-git.el, vc/vc-dir.el, vc/vc-bzr.el, vc/vc-annotate.el:
5597 * textmodes/tex-mode.el, textmodes/sgml-mode.el, tar-mode.el:
5598 * strokes.el, ses.el, server.el, progmodes/js.el, progmodes/gdb-mi.el:
5599 * progmodes/flymake.el, progmodes/ebrowse.el, progmodes/compile.el:
5600 * play/tetris.el, play/snake.el, play/pong.el, play/landmark.el:
5601 * play/hanoi.el, play/decipher.el, play/5x5.el, nxml/nxml-mode.el:
5602 * net/secrets.el, net/quickurl.el, midnight.el, mail/footnote.el:
5603 * image-dired.el, ibuffer.el, ibuf-macs.el, ibuf-ext.el, hexl.el:
5604 * eshell/eshell.el, eshell/esh-io.el, eshell/esh-ext.el:
5605 * eshell/esh-cmd.el, eshell/em-ls.el, eshell/em-hist.el:
5606 * eshell/em-cmpl.el, eshell/em-banner.el:
5607 * calendar/parse-time.el: Use cl-lib.
5608 * wid-browse.el, wdired.el, vc/vc.el, vc/vc-mtn.el, vc/vc-cvs.el:
5609 * vc/vc-arch.el, tree-widget.el, textmodes/texinfo.el:
5610 * textmodes/refill.el, textmodes/css-mode.el, term/tvi970.el:
5611 * term/ns-win.el, term.el, shell.el, ps-samp.el:
5612 * progmodes/perl-mode.el, progmodes/pascal.el, progmodes/gud.el:
5613 * progmodes/glasses.el, progmodes/etags.el, progmodes/cwarn.el:
5614 * play/gamegrid.el, play/bubbles.el, novice.el, notifications.el:
5615 * net/zeroconf.el, net/xesam.el, net/snmp-mode.el, net/mairix.el:
5616 * net/ldap.el, net/eudc.el, net/browse-url.el, man.el:
5617 * mail/mailheader.el, mail/feedmail.el: Don't use CL.
5618 * ibuf-ext.el (ibuffer-mark-old-buffers): Use float-time.
5619 * eshell/esh-opt.el (eshell-eval-using-options): Quote code with
5620 `lambda' rather than with `quote'.
5621 (eshell-do-opt): Adjust accordingly.
5622 (eshell-process-option): Simplify.
5623 * eshell/esh-var.el:
5624 * eshell/em-script.el: Require `esh-opt' for eshell-eval-using-options.
5625 * emacs-lisp/pcase.el (pcase--dontcare-upats, pcase--let*)
5626 (pcase--expand, pcase--u1): Rename pcase's internal `dontcare' pattern
5627 to `pcase--dontcare'.
5628 * emacs-lisp/cl.el (labels): Mark obsolete.
5629 (cl--letf, letf): Move to cl-lib.
5630 (cl--letf*, letf*): Remove.
5631 * emacs-lisp/cl-lib.el (cl-nth-value): Use defalias.
5632 * emacs-lisp/cl-macs.el (cl-dolist, cl-dotimes): Add indent rule.
5633 (cl-progv): Rewrite.
5634 (cl--letf, cl-letf): Move from cl.el.
5635 (cl-letf*): New macro.
5636 * emacs-lisp/cl-extra.el (cl--progv-before, cl--progv-after): Remove.
5637
7ad4afe1
MA
56382012-07-11 Michael Albinus <michael.albinus@gmx.de>
5639
5640 * net/ange-ftp.el (ange-ftp-cf1): Update the files cache.
5641
9af57756
CY
56422012-07-11 Chong Yidong <cyd@gnu.org>
5643
5644 * vc/log-edit.el (log-edit-vc-backend): New variable.
5645 (log-edit): Doc fix.
5646
5647 * vc/vc-dispatcher.el (vc-log-edit): New args. Use PARAMS
5648 argument of log-edit to set up all local variables.
5649 (vc-start-logentry): New optional arg specifying VC backend.
5650
5651 * vc/vc.el (vc-checkin): Use it.
5652 (vc-deduce-fileset): Handle Log Edit buffers.
5653 (vc-diff): Make first argument optional too.
5654
5655 * vc/log-view.el (log-view-vc-fileset, log-view-vc-backend): Doc fix.
5656
8477cc7a
MA
56572012-07-10 Michael Albinus <michael.albinus@gmx.de>
5658
5659 * eshell/esh-ext.el (eshell-remote-command): Remove remote part of
5660 command, just in case. The function is not needed anymore.
5661 (eshell-external-command): Do not call `eshell-remote-command'.
5662
19faa8e8
SM
56632012-07-10 Stefan Monnier <monnier@iro.umontreal.ca>
5664
f58e0fd5
SM
5665 Reduce use of (require 'cl).
5666 * vc/smerge-mode.el, vc/pcvs.el, vc/pcvs-util.el, vc/pcvs-info.el:
5667 * vc/diff-mode.el, vc/cvs-status.el, uniquify.el, scroll-bar.el:
5668 * register.el, progmodes/sh-script.el, net/gnutls.el, net/dbus.el:
5669 * msb.el, mpc.el, minibuffer.el, international/ucs-normalize.el:
5670 * international/quail.el, info-xref.el, imenu.el, image-mode.el:
5671 * font-lock.el, filesets.el, edmacro.el, doc-view.el, bookmark.el:
5672 * battery.el, avoid.el, abbrev.el: Use cl-lib.
5673 * vc/pcvs-parse.el, vc/pcvs-defs.el, vc/log-view.el, vc/log-edit.el:
5674 * vc/diff.el, simple.el, pcomplete.el, lpr.el, comint.el, loadhist.el:
5675 * jit-lock.el, international/iso-ascii.el, info.el, frame.el, bs.el:
5676 * emulation/crisp.el, electric.el, dired.el, cus-dep.el, composite.el:
5677 * calculator.el, autorevert.el, apropos.el: Don't require CL.
5678 * emacs-lisp/bytecomp.el (byte-recompile-directory, display-call-tree)
5679 (byte-compile-unfold-bcf, byte-compile-check-variable):
5680 * emacs-lisp/byte-opt.el (byte-compile-trueconstp)
5681 (byte-compile-nilconstp):
5682 * emacs-lisp/autoload.el (make-autoload): Use pcase.
5683 * face-remap.el (text-scale-adjust): Simplify pcase patterns.
5684
2519d43a
SM
5685 * emacs-lisp/gv.el (cond): Make it a valid place.
5686 (if): Simplify slightly.
5687
19faa8e8
SM
5688 * emacs-lisp/pcase.el (pcase): Accept self-quoting exps as "upatterns".
5689 (pcase--self-quoting-p): New function.
5690 (pcase--u1): Use it.
5691
c4907a5e
GM
56922012-07-10 Glenn Morris <rgm@gnu.org>
5693
5694 * emacs-lisp/authors.el (authors-fixed-entries):
5695 (authors-renamed-files-alist): Update for configure.in -> configure.ac.
5696
c4444d16
PE
56972012-07-09 Paul Eggert <eggert@cs.ucla.edu>
5698
5699 Rename configure.in to configure.ac (Bug#11603).
5700 * emacs-lisp/authors.el (authors-canonical-file-name):
5701 * progmodes/autoconf.el (autoconf-mode):
5702 Prefer configure.ac to configure.in.
5703
d75be97d
CY
57042012-07-08 Chong Yidong <cyd@gnu.org>
5705
01ac65bd
CY
5706 * mouse.el (mouse-drag-line): Rewrite the track-mouse loop.
5707 Implement the mouse-1-click-follows-link handling properly.
5708
5709 * info.el (Info-link-keymap): Use follow-link mechanism for
5710 header-line links (Bug#374).
5711
d75be97d
CY
5712 * simple.el (deactivate-mark): Do not set the primary selection
5713 if another program has acquired it (Bug#11772).
5714
87a92845 57152012-07-07 Kevin Ryde <user42@zip.com.au>
f0ecdfea
KR
5716
5717 * woman.el (woman-strings): Fix double-quote handling (Bug#1151).
5718 (woman-decode-region): Replace escaped-escapes without destroying
5719 bold or underline (Bug#11552).
87a92845 5720 (woman2-process-escapes): Handle nofill regions (Bug#11591).
f0ecdfea 5721
621b9d6c
CY
57222012-07-07 Chong Yidong <cyd@gnu.org>
5723
5724 * simple.el (yank-pop-change-selection): Doc fix (Bug#11361).
19faa8e8
SM
5725 (interprogram-cut-function, interprogram-paste-function):
5726 Mention that we typically mean the clipboard.
621b9d6c 5727
133a11fc
GM
57282012-07-06 Glenn Morris <rgm@gnu.org>
5729
0d27a45e
GM
5730 * kmacro.el (kmacro-call-macro): Restore repeat message. (Bug#11817)
5731
133a11fc
GM
5732 * files.el (toggle-read-only): Restrict message to interactive use.
5733
07b151f1
MA
57342012-07-06 Michael Albinus <michael.albinus@gmx.de>
5735
5736 * net/tramp.el (tramp-restricted-shell-hosts-alist): New defcustom.
5737
5738 * net/tramp-sh.el (tramp-maybe-open-connection): Handle it.
5739
211b896b
GM
57402012-07-06 Glenn Morris <rgm@gnu.org>
5741
50394322
GM
5742 * Makefile.in (compile-one-process): Rename from "recompile".
5743
211b896b
GM
5744 * Makefile.in (bzr-update): "compile" is the same as "recompile
5745 autoloads", but parallelizable, so use that instead.
5746
4737eec9
DG
57472012-07-06 Dmitry Gutov <dgutov@yandex.ru>
5748
5749 * window.el (quit-window): Always restore window height when
8137e7b3 5750 it's saved in quit-restore parameter (Bug#11810).
4737eec9 5751
226c3633 57522012-07-06 Glenn Morris <rgm@gnu.org>
cb442973
GM
5753
5754 * simple.el (kill-whole-line): Doc tweak.
5755
226c3633 57562012-07-06 Eli Zaretskii <eliz@gnu.org>
93842198
EZ
5757
5758 * files.el (file-relative-name): Compare file names
5759 case-insensitively if on MS-Windows or MS-DOS, or if
5760 read-file-name-completion-ignore-case is non-nil. Don't use
5761 case-fold-search for this purpose. (Bug#11827)
5762
4dc7c8d5
SM
57632012-07-17 Andreas Schwab <schwab@linux-m68k.org>
5764
5765 * calendar/cal-dst.el (calendar-current-time-zone):
5766 Return calendar-current-time-zone-cache if non-nil.
5767
57682012-07-17 Masatake YAMATO <yamato@redhat.com>
226c3633 57692012-07-06 Andreas Schwab <schwab@linux-m68k.org>
3d8b9024 5770
19faa8e8
SM
5771 * calendar/cal-dst.el (calendar-current-time-zone):
5772 Return calendar-current-time-zone-cache if non-nil.
3d8b9024 5773
60198fc9
GM
57742012-07-06 Glenn Morris <rgm@gnu.org>
5775
5776 * Makefile.in (cvs-update): Remove old alias.
5777
957b3189
MA
57782012-07-05 Michael Albinus <michael.albinus@gmx.de>
5779
5780 Sync with Tramp 2.2.6-pre.
5781
5782 * net/tramp.el (tramp-drop-volume-letter): Provide an XEmacs
5783 compatible declaration.
5784
19faa8e8
SM
5785 * net/tramp-cmds.el (tramp-append-tramp-buffers):
5786 Protect `list-load-path-shadows' call.
957b3189
MA
5787
5788 * net/tramp-compat.el (top): Require packages, which aren't
5789 autoloaded anymore for XEmacs. Protect call of
5790 `tramp-file-name-handler' by `tramp-compat-funcall', pacifying the
5791 compiler. Do not require tramp-util.el and tramp-vc.el anymore,
5792 it hurts at least for SXEmacs.
5793 (tramp-compat-temporary-file-directory): In XEmacs, there is no
5794 standard-value for `temporary-file-directory'.
5795
5796 * net/tramp-sh.el (tramp-do-directory-files-and-attributes-with-stat):
5797 Redirect stderr to /dev/null.
5798 (tramp-sh-handle-write-region): uid and gid can be floats.
5799 Reported by Russell Sim <russell.sim@gmail.com>.
5800 (tramp-sh-handle-vc-registered): Hide errors.
5801 (tramp-vc-file-name-handler): Use dummy results for `process-file'
5802 and `start-file-process'.
5803 (tramp-maybe-open-connection): Check also whether `non-essential'
5804 is bound.
5805
566df3fc
CY
58062012-07-04 Chong Yidong <cyd@gnu.org>
5807
5808 * xml.el (xml--parse-buffer): Use xml-syntax-table.
5809 (xml-parse-tag): Likewise, and avoid changing entity tables.
5810 (xml-syntax-table): Define from scratch, making sure not to give
5811 x2000 and other Unicode spaces whitespace syntax, since those are
5812 not spaces in XML.
5813 (xml-parse-fragment): Delete unused function.
5814 (xml-name-start-char-re, xml-name-char-re, xml-name-re)
5815 (xml-names-re, xml-nmtoken-re, xml-nmtokens-re, xml-char-ref-re)
5816 (xml-entity-ref, xml-pe-reference-re)
5817 (xml-reference-re,xml-att-value-re, xml-tokenized-type-re)
5818 (xml-notation-type-re, xml-enumeration-re, xml-enumerated-type-re)
5819 (xml-att-type-re, xml-default-decl-re, xml-att-def-re)
5820 (xml-entity-value-re): Use syntax references in regexps where
5821 possible; no need to define inside a let-binding.
5822 (xml-parse-dtd): Use xml-pe-reference-re.
5823 (xml-entity-or-char-ref-re): New defconst.
5824 (xml-parse-string, xml-substitute-special): Use it.
5825
30eabd7a
SM
58262012-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
5827
0781098a
SM
5828 * files.el (locate-dominating-file): Allow `name' to be a predicate.
5829 (find-file--read-only): New function.
5830 (find-file-read-only, find-file-read-only-other-window)
5831 (find-file-read-only-other-frame): Use it.
5832 (insert-file-contents-literally): Don't `fset'.
5833 (get-free-disk-space): Use locate-dominating-file.
5834
b5771c0d
SM
5835 * emacs-lisp/bytecomp.el (byte-compile): Don't signal an error if the
5836 function is already compiled.
5837
30eabd7a
SM
5838 * xml.el (xml-name-regexp): Remove, redundant. Use xml-name-re.
5839
b4886f6e
MA
58402012-07-03 Michael Albinus <michael.albinus@gmx.de>
5841
5842 * vc/ediff-diff.el (ediff-same-file-contents): Fix it for remote
5843 files on the same host.
5844
b9d82339
AS
58452012-07-03 Andreas Schwab <schwab@linux-m68k.org>
5846
5847 * help-fns.el (describe-function-1): Only call
5848 help-fns--autoloaded-p when we have a file name. (Bug#11848)
5849
a76e6535
CY
58502012-07-03 Chong Yidong <cyd@gnu.org>
5851
5852 * xml.el: Protect parser against XML bombs.
5853 (xml-entity-expansion-limit): New variable.
5854 (xml-parse-string, xml-substitute-special): Use it.
5855 (xml-parse-dtd): Avoid infloop if the DTD is not terminated.
5856
b544fef2
GM
58572012-07-03 Glenn Morris <rgm@gnu.org>
5858
5859 * progmodes/bug-reference.el (bug-reference-bug-regexp):
5860 Allow linking to specific messages in debbugs reports (eg 123#5).
5861
a7aef6f5
CY
58622012-07-02 Chong Yidong <cyd@gnu.org>
5863
5864 * xml.el: Fix entity and character reference expansion, allowing
5865 them to expand into markup as per XML spec.
5866 (xml-default-ns): New variable.
5867 (xml-entity-alist): Use XML spec definitions for lt and amp.
30eabd7a
SM
5868 (xml-parse-region): Make first two arguments optional.
5869 Discard text properties.
5870 (xml-parse-tag-1): New function, spun off from xml-parse-tag.
5871 All callers changed.
a7aef6f5
CY
5872 (xml-parse-tag): Call xml-parse-tag-1. For backward
5873 compatibility, this function should not modify buffer contents.
5874 (xml-parse-tag-1): Fix opening-tag regexp.
5875 (xml-parse-string): Rewrite, handling entity and character
5876 references properly.
5877 (xml--entity-replacement-text): Signal an error if a parameter
5878 entity is undefined.
5879
3df31c9f
SM
58802012-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
5881
2b5208f1
SM
5882 * comint.el (comint-output-filter): Filter out repeated prompts.
5883
3df31c9f
SM
5884 * net/ange-ftp.el (ange-ftp-expand-file-name): Use ange-ftp-ftp-name
5885 and file-name-absolute-p.
5886 (ange-ftp-file-exists-p): Use ange-ftp-file-exists-p for
5887 internal calls.
5888
e3ac1281
PE
58892012-07-02 Paul Eggert <eggert@cs.ucla.edu>
5890
5891 Spelling fixes.
5892 * emacs-lisp/bytecomp.el (byte-compile--reify-function):
5893 Rename from byte-compile--refiy-function. All uses changed.
5894
fbf2e7ad
CY
58952012-07-01 Chong Yidong <cyd@gnu.org>
5896
5897 * xml.el (xml--parse-buffer): New function. Move most of
5898 xml-parse-region here.
5899 (xml-parse-region): Copy region into a temporary buffer, since
5900 parameter entity substitution requires changing buffer contents.
5901 Use xml--parse-buffer.
5902 (xml-parse-file): Use xml--parse-buffer.
5903 (xml-parse-dtd): Make parameter entity substitution work right.
6fe566a7 5904 Use proper regexps for ELEMENT declarations (Bug#7172).
fbf2e7ad 5905
9bf0aa15
GM
59062012-06-30 Glenn Morris <rgm@gnu.org>
5907
bbce2853
GM
5908 * comint.el (follow-comint-scroll-to-bottom): Fix declaration.
5909
9bf0aa15
GM
5910 * net/secrets.el, net/tramp-gvfs.el, net/xesam.el, net/zeroconf.el:
5911 Remove outdated and unnecessary dbus declarations.
5912
0d23c240
EZ
59132012-06-30 Eli Zaretskii <eliz@gnu.org>
5914
5915 * emacs-lisp/timer.el (timer-until): Subtract results of
5916 float-time, instead of taking float-time of the result of
5917 time-subtract, since float-time signals an error for negative time
5918 arguments.
5919
b3218de1
CY
59202012-06-30 Chong Yidong <cyd@gnu.org>
5921
5922 * xml.el (xml-*-re): Convert defvars into defconsts, and
5923 eval-and-compile them so eval-and-compile works on derivatives.
5924 (xml--entity-replacement-text): Use eval-and-comple.
5925
a40c87a0
MA
59262012-06-30 Michael Albinus <michael.albinus@gmx.de>
5927
5928 * vc/vc-git.el (vc-git-registered): Use cache property
5929 `git-registered'.
5930 (vc-git-mode-line-string): Call `vc-working-revision' instead of
5931 `vc-git-working-revision' in order to benefit from the cache.
2bb1ae55 5932 (vc-git-root): Use cache property `git-root'. (Bug#11757)
a40c87a0 5933
ac87de97
DG
59342012-06-30 Dmitry Gutov <dgutov@yandex.ru>
5935
5936 * vc/vc-hooks.el (vc-before-save): Clear cache if file has been
2bb1ae55 5937 removed (likely outside Emacs). (Bug#11757)
ac87de97 5938
ac10fe06
SM
59392012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
5940
3df31c9f 5941 * emacs-lisp/cl-lib.el: Require macroexp.
ac10fe06 5942
7f3fbd5d
CY
59432012-06-30 Chong Yidong <cyd@gnu.org>
5944
5945 * xml.el: Implement XML parameter entities.
5946 (xml-parameter-entity-alist): New variable.
5947 (xml-parse-region, xml-parse-fragment): Preserve previous values
5948 of xml-entity-alist and xml-parameter-entity-alist, so that
5949 repeated calls on different documents do not change them.
5950 (xml-parse-tag): Fix doctype regexp.
5951 (xml--entity-replacement-text): New function.
5952 (xml-parse-dtd): Use it. Don't handle system entities; doing that
5953 properly requires url retrieval which is unimplemented.
5954 (xml-escape-string): Doc fix.
5955
3cfbebba
SM
59562012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
5957
5958 * emacs-lisp/cl-lib.el (cl-pushnew): Use macroexp-let2.
5959
2af3565e
DA
59602012-06-29 Dmitry Antipov <dmantipov@yandex.ru>
5961
5962 * fringe.el (fringe-mode): Doc fix.
5963
929df0e7
MA
59642012-06-29 Michael Albinus <michael.albinus@gmx.de>
5965
5966 * net/ange-ftp.el (ange-ftp-get-passwd): Throw if `non-essential'
5967 is non-nil.
5968 (ange-ftp-ignore-errors-if-non-essential): New defmacro.
5969 (ange-ftp-file-name-all-completions): Use it. (Bug#11808)
5970
c8d3a25c 59712012-06-29 Andreas Schwab <schwab@linux-m68k.org>
3d8b9024 5972
c8d3a25c
GM
5973 * calendar/cal-dst.el (calendar-current-time-zone):
5974 Return calendar-current-time-zone-cache if non-nil.
3d8b9024 5975
c8d3a25c 59762012-06-29 Masatake YAMATO <yamato@redhat.com>
26e8548e
MY
5977
5978 * progmodes/which-func.el (which-func-format):
5979 Add mouse-face. (Bug#11698)
5980
c8d3a25c
GM
59812012-06-29 Leo Liu <sdl.web@gmail.com>
5982
5983 * textmodes/enriched.el (enriched-next-annotation): Use eq (Bug#11528).
5984
59852012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
5986
5987 * minibuffer.el (minibuffer-confirm-exit-commands):
5988 Add completion-at-point (bug#11725).
5989
59902012-06-29 Glenn Morris <rgm@gnu.org>
5991
5992 * progmodes/f90.el (f90-font-lock-keywords-2):
5993 Add some preprocessor elements. (Bug#10499)
5994
59952012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
5996
5997 * progmodes/cperl-mode.el (cperl-update-syntaxification):
5998 Use syntax-propertize (bug#11739).
5999
2badeec4
JB
60002012-06-28 Juanma Barranquero <lekktu@gmail.com>
6001
6002 * emacs-lisp/cl-lib.el (cl-pushnew): Don't capture X (bug#11811).
6003
ae4969c2
JD
60042012-06-28 Julien Danjou <julien@danjou.info>
6005
6006 * term.el (term-handle-colors-array): Use a set of new faces to
6007 color the terminal. Also uses :inverse-video property.
6008 (term-default-fg-color): Set to nil by default, deprecate in favor
6009 of `term-face'.
6010 (term-default-bg-color): Set to nil by default, deprecate in favor
6011 of `term-face'.
6012 (term-current-face): Use `term-face' by default.
6013 (term-bold-attribute): Variable deleted.
6014
1c9bd870
GM
60152012-06-28 Glenn Morris <rgm@gnu.org>
6016
6017 * simple.el (completion-list-mode-finish):
6018 Don't use toggle-read-only. (Since completion-list-mode has
6019 a special mode-class, it wasn't doing anything extra anyway.)
6020
c207708c
SM
60212012-06-28 Stefan Monnier <monnier@iro.umontreal.ca>
6022
6023 Make inlining of other-mode interpreted functions work (bug#11799).
6024 * emacs-lisp/bytecomp.el (byte-compile--refiy-function): New fun.
6025 (byte-compile): Use it to fix compilation of lexical-binding closures.
6026 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Compile the
6027 function, if needed.
6028
3fd56834
SM
60292012-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
6030
04901786
SM
6031 * help-mode.el (help-make-xrefs): Don't just withstand
6032 cyclic-variable-indirection but any error in documentation-property.
6033
1ec4b7b2
SM
6034 * loadup.el (purify-flag): Pre-grow the hash-table to reduce the
6035 memory use.
6036 * bindings.el (bindings--define-key): New function.
6037 * vc/vc-hooks.el, replace.el, menu-bar.el, international/mule-cmds.el:
6038 * emacs-lisp/lisp-mode.el, buff-menu.el, bookmark.el:
6039 * bindings.el: Use it to purecopy define-key bindings.
6040
e309e2a5
SM
6041 * textmodes/rst.el (rst-adornment-faces-alist): Avoid copy-list.
6042
d5c6faf9
SM
6043 * emacs-lisp/cl.el (flet): Mark obsolete.
6044 * emacs-lisp/cl-macs.el (cl-flet*): New macro.
6045 * vc/vc-rcs.el (vc-rcs-annotate-command, vc-rcs-parse):
6046 * progmodes/js.el (js-c-fill-paragraph):
6047 * progmodes/ebrowse.el (ebrowse-switch-member-buffer-to-sibling-class)
6048 (ebrowse-switch-member-buffer-to-derived-class):
6049 * play/5x5.el (5x5-solver): Use cl-flet.
6050
6e9590e2
SM
6051 * emacs-lisp/cl.el: Use lexical-binding. Fix flet (bug#11780).
6052 (cl--symbol-function): New macro.
6053 (cl--letf, cl--letf*): Use it.
6054
3fd56834
SM
6055 * emacs-lisp/easy-mmode.el (easy-mmode-pretty-mode-name):
6056 Strip "toggle-" if any.
6057
35ff222c
GM
60582012-06-27 Glenn Morris <rgm@gnu.org>
6059
1ba6038a
GM
6060 * info.el (Info-default-directory-list): Move here from paths.el.
6061 * paths.el: Remove file, which is now empty.
6062 * loadup.el: No longer load "paths".
6063
0ea0e51b
GM
6064 * custom.el (custom-initialize-delay): Doc fix.
6065
35ff222c
GM
6066 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
6067 * eshell/em-cmpl.el, eshell/em-dirs.el, eshell/em-glob.el:
6068 * eshell/em-hist.el, eshell/em-ls.el, eshell/em-pred.el:
6069 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-script.el:
6070 * eshell/em-smart.el, eshell/em-term.el, eshell/em-unix.el:
6071 * eshell/em-xtra.el: Replace eshell-defgroup with "(progn (defgroup".
6072 * eshell/eshell.el (eshell-defgroup): Remove alias.
6073
c89926a5
CY
60742012-06-27 Chong Yidong <cyd@gnu.org>
6075
6076 * help.el (help-enable-auto-load): New variable.
6077
6078 * help-fns.el (help-fns--autoloaded-p): New function.
6079 (describe-function-1): Refer to a function as "autoloaded" if it
6080 was autoloaded at any time in the past. Perform autoloading if
6081 help-enable-auto-load is non-nil.
6082
cc06e7e7
EZ
60832012-06-26 Eli Zaretskii <eliz@gnu.org>
6084
6085 * makefile.w32-in (compile, compile-always): Depend on
6086 update-subdirs, not on subdirs.el. Otherwise, several different
6087 sub-targets of 'bootstrap' running in parallel could
6088 simultaneously write to subdirs.el, producing a garbled file.
6089
d2c32364
SS
60902012-06-26 Sam Steingold <sds@gnu.org>
6091
6092 * files.el (file-name-base): New convenience function.
0d14cc21
GM
6093 * autoinsert.el, cus-dep.el, doc-view.el, image-dired.el:
6094 * woman.el, eshell/esh-cmd.el, progmodes/ada-xref.el:
6095 * progmodes/cc-defs.el, progmodes/cperl-mode.el:
6096 * progmodes/flymake.el, progmodes/gud.el, progmodes/idlwave.el:
6097 * textmodes/ispell.el, textmodes/reftex-ref.el:
d2c32364
SS
6098 * textmodes/tex-mode.el: Use it.
6099 Did not touch cedet and org because they are maintained elsewhere.
6100
5cf983b2
MR
61012012-06-26 Martin Rudalics <rudalics@gmx.at>
6102
6103 * calendar/calendar.el (calendar-exit): Don't try to delete or
6104 iconify last frame. See:
6105 http://lists.gnu.org/archive/html/emacs-devel/2012-06/msg00372.html
6106
8c4f2952
JD
61072012-06-25 Jim Diamond <Jim.Diamond@AcadiaU.ca> (tiny change)
6108
6109 * server.el (server-process-filter): Remember dir in the
6110 process's `server-client-directory' properties.
6111
772b2e2c
CY
61122012-06-24 Chong Yidong <cyd@gnu.org>
6113
6114 * xml.el (xml-parse-tag): Correctly handle comment embedded in
6115 non-tag text.
6116
711b11e1
JB
61172012-06-23 Juanma Barranquero <lekktu@gmail.com>
6118
6119 * makefile.w32-in (COMPILE_FIRST): Synch with changes in 2012-06-22T21:24:54Z!monnier@iro.umontreal.ca.
6120
dc5d230c
SM
61212012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
6122
6123 * help-fns.el (describe-variable): Don't croak when doc is not found.
6124 * vc/pcvs.el (cvs-retrieve-revision): Avoid toggle-read-only.
6125 * menu-bar.el (menu-bar-line-wrapping-menu): Purecopy a tiny bit more.
6126 * emacs-lisp/syntax.el (syntax-ppss): Simplify with new `if' place.
6127 * emacs-lisp/smie.el (smie-next-sexp): CSE.
6128 * emacs-lisp/macroexp.el (macroexp-let2): Fix edebug spec and avoid
6129 ((lambda ..) ..).
6130 * emacs-lisp/eieio.el (eieio-oref, slot-value): Use simpler defsetf.
6131
136e1c1d
CY
61322012-06-23 Chong Yidong <cyd@gnu.org>
6133
e8c1cabf
CY
6134 * info.el (Info-mouse-follow-link): Accept symbol values of
6135 link-args. Select window; suggested by Gerhard Kahl (Bug#11672).
136e1c1d
CY
6136 (Info-fontify-node): Use Info-link-keymap for all navigation
6137 buttons, with link-args property to perform the desired action.
6138 (Info-link-keymap): Doc fix.
6139 (Info-next-link-keymap, Info-prev-link-keymap)
6140 (Info-up-link-keymap): Delete now-unused keymaps.
6141
0e9e6c6a
CY
61422012-06-23 Chong Yidong <cyd@gnu.org>
6143
05e89fea
CY
6144 * mouse.el (mouse-drag-track): Deactivate the mark before popping.
6145
0e9e6c6a
CY
6146 * progmodes/python.el (python-skeleton-define): Mark abbrevs as
6147 system abbrevs.
6148
6149 * ansi-color.el (ansi-color-apply-on-region): Doc fix.
6150
e33c6771
SM
61512012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
6152
b68581e2
SM
6153 * emacs-lisp/cl-macs.el (cl--make-usage-args): Handle improper lists
6154 (bug#11719).
6155
e33c6771
SM
6156 * minibuffer.el (completion--twq-try): Try to fail more gracefully when
6157 the requote function doesn't work properly (bug#11714).
6158
7117e105
GM
61592012-06-23 Glenn Morris <rgm@gnu.org>
6160
6161 * pcmpl-rpm.el (pcmpl-rpm-packages): Give status messages.
6162
36cec983
SM
61632012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
6164
6165 Further GV/CL cleanups.
6166 * emacs-lisp/gv.el (gv-get): Autoload functions to find their
6167 gv-expander.
6168 (gv--defun-declaration): New function.
6169 (defun-declarations-alist): Use it.
6170 (gv-define-modify-macro, gv-pushnew!, gv-inc!, gv-dec!): Remove.
6171 (gv-place): Autoload.
6172 * emacs-lisp/cl.el (cl--dotimes, cl--dolist): Remember subr.el's
6173 original definition of dotimes and dolist.
6174 * emacs-lisp/cl-macs.el (cl-expr-access-order): Remove unused.
6175 (cl-dolist, cl-dotimes): Use `dolist' and `dotimes'.
6176 * emacs-lisp/cl-lib.el: Move gv handlers from cl-macs to here.
6177 (cl-fifth, cl-sixth, cl-seventh, cl-eighth)
6178 (cl-ninth, cl-tenth): Move gv handler to the function's definition.
6179 * emacs-lisp/cl-extra.el (cl-subseq, cl-get, cl-getf): Move gv handler
6180 to the function's definition.
6181 * Makefile.in (COMPILE_FIRST): Re-order to speed it up by about 50%.
6182 * window.el:
6183 * files.el:
6184 * faces.el:
6185 * env.el: Don't use CL.
6186
d35af63c
PE
61872012-06-22 Paul Eggert <eggert@cs.ucla.edu>
6188
6189 Support higher-resolution time stamps (Bug#9000).
6190
6191 * calendar/time-date.el (with-decoded-time-value): New arg
6192 PICO-SYMBOL in VARLIST. It's optional, for backward compatibility.
6193 (encode-time-value): New optional arg PICO. New type 3.
6194 (time-to-seconds) [!float-time]: Support the new picoseconds
6195 component if it's used.
6196 (seconds-to-time, time-subtract, time-add):
6197 Support ps-resolution time stamps as well.
6198
6199 * emacs-lisp/timer.el (timer): New component psecs. All uses changed.
6200 (timerp): Timer vectors now have length 9, not 8.
6201 (timer--time): Support new-style (4-part) time stamps.
6202 (timer-next-integral-multiple-of-time): Time stamps now have
6203 picosecond resolution, so take a bit more care about rounding.
6204 (timer-relative-time, timer-inc-time): New optional arg psecs.
6205 (timer-set-time-with-usecs): Set psecs to 0.
6206 (timer--activate): Check psecs component, too.
6207
6208 * proced.el (proced-time-lessp): Support ps-resolution stamps.
6209
ac77b21a
SM
62102012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
6211
f143bfe3
SM
6212 * icomplete.el (icomplete-minibuffer-setup, icomplete-completions):
6213 Move the non-essential binding to the post/pre-command-hook where it is
6214 more obviously correct.
6215
ac77b21a
SM
6216 * subr.el (read-passwd): Don't use a history at all.
6217 * savehist.el (savehist-save): Remove password saved accidentally
6218 because of the above bug.
6219
76386c5a
BG
62202012-06-22 Bastien Guerry <bzg@gnu.org>
6221
6222 * files.el (toggle-read-only): Display a message telling whether
6223 the buffer is read-only or not (bug#11726).
6224
2ee3d7f0
SM
62252012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
6226
6227 * emacs-lisp/gv.el: New file.
6228 * subr.el (push, pop): Extend to generalized variables.
6229 * loadup.el (macroexp): Unload if preloaded and uncompiled (bug#11657).
6230 * emacs-lisp/cl-lib.el (cl-pop, cl-push, cl--set-nthcdr): Remove.
6231 * emacs-lisp/cl-macs.el: Require gv. Use gv-define-setter,
6232 gv-define-simple-setter, and gv-define-expander.
6233 Remove setf-methods defined in gv. Rename cl-setf -> setf.
6234 (cl-setf, cl-do-pop, cl-get-setf-method): Remove.
6235 (cl-letf, cl-letf*, cl-define-modify-macro, cl-defsetf)
6236 (cl-define-setf-expander, cl-struct-setf-expander): Move to cl.el.
6237 (cl-remf, cl-shiftf, cl-rotatef, cl-callf, cl-callf2): Rewrite with
6238 gv-letplace.
6239 (cl-defstruct): Don't define setf-method any more.
6240 * emacs-lisp/cl.el (flet): Don't autoload.
6241 (cl--letf, letf, cl--letf*, letf*, cl--gv-adapt)
6242 (define-setf-expander, defsetf, define-modify-macro)
6243 (cl-struct-setf-expander): Move from cl-lib.el.
6244 * emacs-lisp/syntax.el:
6245 * emacs-lisp/ewoc.el:
6246 * emacs-lisp/smie.el:
6247 * emacs-lisp/cconv.el:
6248 * emacs-lisp/timer.el: Rename cl-setf -> setf, cl-push -> push.
6249 (timer--time): Use gv-define-simple-setter.
6250 * emacs-lisp/macroexp.el (macroexp-let2): Rename from macroexp-let²
6251 to avoid coding-system problems in subr.el. Adjust all users.
6252 (macroexp--maxsize, macroexp-small-p): New functions.
6253 * emacs-lisp/bytecomp.el (byte-compile-file): Don't use cl-letf.
6254 * scroll-bar.el (scroll-bar-mode):
6255 * simple.el (auto-fill-mode, overwrite-mode, binary-overwrite-mode)
6256 (normal-erase-is-backspace-mode): Don't use the `eq' place.
6257 * winner.el (winner-configuration, winner-make-point-alist)
6258 (winner-set-conf, winner-get-point, winner-set): Don't abuse letf.
6259 * files.el (locate-file-completion-table): Avoid list*.
6260
c5695d1d
CY
62612012-06-22 Chong Yidong <cyd@gnu.org>
6262
6263 * dired-aux.el (dired-do-create-files): Doc fix (Bug#11327).
6264 (dired-create-files): Doc fix (Bug#11329).
6265 (dired-do-copy): Doc fix (Bug#11334).
6266 (dired-mark-read-string): Doc fix (Bug#11553).
6267
2ee3d7f0
SM
6268 * dired.el (dired-recursive-copies, dired-recursive-deletes):
6269 Doc fix (Bug#11326).
c5695d1d
CY
6270 (dired-make-relative): Doc fix (Bug#11332). Remove unused arg.
6271 (dired-dwim-target): Doc fix.
6272
6273 * wdired.el (wdired-mode): Doc fix.
6274
89b5595a
GM
62752012-06-22 Glenn Morris <rgm@gnu.org>
6276
575db3f1
GM
6277 * pcmpl-rpm.el (pcmpl-rpm-cache): New option.
6278 (pcmpl-rpm-cache-stamp-file): New constant.
6279 (pcmpl-rpm-cache-time, pcmpl-rpm-packages): New variables.
6280 (pcmpl-rpm-packages): Optionally cache list of packages.
6281
a4c8dd51
GM
6282 * pcmpl-rpm.el (pcmpl-rpm): New group.
6283 (pcmpl-rpm-query-options): New option.
6284 (pcmpl-rpm-packages): No need to inline it.
6285 Use pcmpl-rpm-query-options.
6286
89b5595a
GM
6287 * calendar/calendar.el (calendar-in-read-only-buffer):
6288 Avoid some needless mode changes.
6289
e76f0800
CY
62902012-06-21 Chong Yidong <cyd@gnu.org>
6291
6292 * desktop.el (desktop-read): Don't prompt if daemon (Bug#11674).
6293 (desktop-path): Remove . from the default value (Bug#10977).
6b67c0d4 6294 (desktop-read): Use user-emacs-directory if desktop-path is nil.
e76f0800 6295
297a8f1d
CY
62962012-06-20 Chong Yidong <cyd@gnu.org>
6297
6298 * term.el (term-send-raw-meta): Make C-M-<char> keys work (Bug#8172).
6299
d34c18b1
DR
63002012-06-20 David Röthlisberger <david@rothlis.net> (tiny change)
6301
6302 * ido.el (ido-switch-buffer, ido-find-file): Fix up doc of C-j
6303 (bug#11201).
6304
32f7f28e
CY
63052012-06-20 Chong Yidong <cyd@gnu.org>
6306
6307 * term.el (term-window-width): Handle the case of a missing right
6308 fringe (Bug#8837).
6309 (term-check-size): Use window-text-height (Bug#5445).
d34c18b1
DR
6310 (term-mode): Use define-derived-mode. Minor cleanups.
6311 Set font-lock-defaults (Bug#7692).
6ff7caa8
CY
6312 (term-move-columns, term-insert-char, term-emulate-terminal)
6313 (term-erase-in-line, term-insert-spaces): Use font-lock-face.
32f7f28e 6314
493c6688
MA
63152012-06-20 Michael Albinus <michael.albinus@gmx.de>
6316
d34c18b1
DR
6317 * net/ange-ftp.el (ange-ftp-get-passwd):
6318 Bind `enable-recursive-minibuffers'.
493c6688
MA
6319 (ange-ftp-get-process): Throw if `non-essential' is non-nil.
6320
3f06ecf4
DR
63212012-06-19 David Röthlisberger <david@rothlis.net> (tiny change)
6322
6323 * ido.el (ido-find-file): Mention C-d binding in docstring (bug#11244).
6324
68f12411
GM
63252012-06-19 Glenn Morris <rgm@gnu.org>
6326
6327 * progmodes/python.el (python-mode): Derive from prog-mode.
6328
b3820318
KG
63292012-06-19 Kevin Gallagher <Kevin.Gallagher@boeing.com>
6330
6331 * emulation/edt.el (edt-default-menu-bar-update-buffers)
6332 (edt-user-menu-bar-update-buffers): New functions.
6333 (edt-default-emulation-setup, edt-user-emulation-setup): Use them.
6334
c6bf3022
CY
63352012-06-19 Chong Yidong <cyd@gnu.org>
6336
6337 * subr.el (with-selected-window): Preserve the selected window's
6338 terminal's top-frame (Bug#4702).
6339
6340 * window.el (save-selected-window): Likewise.
6341
25f09295
SM
63422012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
6343
6344 * progmodes/python.el (python-rx-constituents): Move backquote.
6345 (python-skeleton-define, python-define-auxiliary-skeleton):
6346 Use `declare'.
6347
6b11952a
MA
63482012-06-18 Michael Albinus <michael.albinus@gmx.de>
6349
6350 * minibuffer.el (read-file-name-default): Revert the patch from
6351 2012-06-17.
6352
ee4b1330
SM
63532012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
6354
6355 * emacs-lisp/pcase.el (pcase--expand): Warn for unused pattern.
6356 (pcase--u1, pcase--q1): Don't use apply-partially.
6357
35647f79
GM
63582012-06-18 Glenn Morris <rgm@gnu.org>
6359
6360 * progmodes/python.el (python-proc, python-buffer)
6361 (python-send-receive, python-send-string): Fix obsolete versions.
6362
24b0cff0
MR
63632012-06-18 Martin Rudalics <rudalics@gmx.at>
6364
6365 * window.el (special-display-p): Completely remove stringp
6366 check. Suggested by Andreas Schwab <schwab@linux-m68k.org>.
6367
29855149
MA
63682012-06-17 Michael Albinus <michael.albinus@gmx.de>
6369
6370 * minibuffer.el (read-file-name-default): Bind `non-essential' to `t'.
6371
6372 * net/tramp.el (tramp-file-name-handler): Catch 'non-essential.
6373
6374 * net/ange-ftp.el (ange-ftp-gwp-start, ange-ftp-start-process):
6375 * net/tramp-sh.el (tramp-maybe-open-connection):
6376 Throw if `non-essential' is non-nil.
6377
07463363
MR
63782012-06-17 Martin Rudalics <rudalics@gmx.at>
6379
6380 * window.el (special-display-p): Signal an error if BUFFER-NAME
6381 is not a string (Bug#11713).
6382
48d1354e
PE
63832012-06-17 Paul Eggert <eggert@cs.ucla.edu>
6384
6385 * progmodes/python.el (python-info-beginning-of-backslash):
6386 Rename from python-info-beginning-of-backlash, as a spelling fix.
6387
eb4a8a9a
CY
63882012-06-17 Chong Yidong <cyd@gnu.org>
6389
6390 * term.el (term-emulate-terminal): If term-check-size is called,
6391 move point to the process mark without resetting point (Bug#4635).
6392
ddfbf826 63932012-06-17 Glenn Morris <rgm@gnu.org>
9c758578
GM
6394
6395 * international/mule-cmds.el (mule-menu-keymap)
6396 (set-language-environment, set-locale-environment): Doc tweaks.
6397
9b0e3eba
AA
63982012-06-16 Aurelien Aptel <aurelien.aptel@gmail.com>
6399
6400 * cus-face.el (custom-face-attributes): Add wave-style underline
6401 attribute.
6402 * faces.el (set-face-attribute): Update docstring to describe
6403 wave-style underline attribute.
6404
771e3eae
CY
64052012-06-16 Chong Yidong <cyd@gnu.org>
6406
6407 * term/xterm.el (terminal-init-xterm): Discard input before
6408 querying background mode (Bug#10959).
6409
7ae2ea10
SM
64102012-06-16 Stefan Merten <smerten@oekonux.de>
6411
6412 * textmodes/rst.el: Added and corrected some comments.
6413 (rst-re-alist-def): Improve symbol syntax.
6414 (rst-mode-syntax-table): Correct syntax entries.
6665a6fd
SM
6415 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
6416 (rst-official-version, rst-official-cvs-rev): Update version
6417 information.
7ae2ea10 6418
b6974efa
JB
64192012-06-15 Juanma Barranquero <lekktu@gmail.com>
6420
6421 * makefile.w32-in (COMPILE_FIRST): Synch with makefile.in changes
6422 in 2008-06-22T13:57:28Z!monnier@iro.umontreal.ca.
6423
8826d473
GM
64242012-06-15 Fabián Ezequiel Gallina <fgallina@cuca>
6425
6426 * progmodes/python.el: New python.el merge.
6427 (python-guess-indent): Obsolete var.
6428 (python-indent-guess-indent-offset): New defcustom.
6429 (python-indent): Obsolete var.
6430 (python-indent-offset): New defcustom.
6431 (python-python-command, python-jython-command): Delete var.
6432 (python-shell-interpreter): New defcustom.
6433 (python-pdbtrack-do-tracking-p): Delete var.
6434 (python-pdbtrack-activate): New defcustom.
6435 (python-use-skeletons): Obsolete var.
6436 (python-skeleton-autoinsert): New defcustom.
6437 (inferior-python-filter-regexp, python-continuation-offset)
6438 (python-honour-comment-indentation, python-indent-string-contents)
6439 (python-jython-packages, python-mode-hook)
6440 (python-pdbtrack-minor-mode-string, python-remove-cwd-from-path)
6441 (python-shell-prompt-alist)
6442 (python-source-modes): Delete defcustoms.
6443 (python-check-buffer-name, python-eldoc-setup-code)
6444 (python-eldoc-string-code, python-ffap-setup-code)
6445 (python-ffap-string-code, python-fill-comment-function)
6446 (python-fill-decorator-function, python-fill-paren-function)
6447 (python-fill-string-function, python-imenu-include-defun-type)
6448 (python-imenu-make-tree, python-imenu-subtree-root-label)
6449 (python-pdbtrack-stacktrace-info-regexp, python-shell-buffer-name)
6450 (python-shell-compilation-regexp-alist)
6451 (python-shell-completion-module-string-code)
6452 (python-shell-completion-pdb-string-code)
6453 (python-shell-completion-setup-code)
6454 (python-shell-completion-string-code)
6455 (python-shell-enable-font-lock, python-shell-exec-path)
6456 (python-shell-extra-pythonpaths)
6457 (python-shell-internal-buffer-name, python-shell-interpreter-args)
6458 (python-shell-process-environment)
6459 (python-shell-prompt-block-regexp)
6460 (python-shell-prompt-output-regexp)
6461 (python-shell-prompt-pdb-regexp, python-shell-prompt-regexp)
6462 (python-shell-send-setup-max-wait, python-shell-setup-codes)
6463 (python-shell-virtualenv-path): New defcustoms.
6464 (brm-menu, eldoc-documentation-function, inferior-python-mode-map)
6465 (inferior-python-mode-syntax-table, python--prompt-regexp)
6466 (python-buffer, python-command python-python-command)
6467 (python-default-template, python-imports, python-indent-index)
6468 (python-indent-list, python-indent-list-length)
6469 (python-mode-running, python-pdbtrack-is-tracking-p)
6470 (python-preoutput-continuation, python-preoutput-leftover)
6471 (python-preoutput-result, python-preoutput-skip-next-prompt)
6472 (python-prev-dir/file, python-recursing)
6473 (python-saved-check-command, python-version-checked)
6474 (python-which-func-length-limit)
6475 (view-return-to-alist): Delete vars.
6476 (python-check-custom-command, python-dotty-syntax-table)
6477 (python-imenu-index-alist, python-indent-current-level)
6478 (python-indent-dedenters, python-indent-levels)
6479 (python-nav-beginning-of-defun-regexp)
6480 (python-nav-list-defun-positions-cache)
6481 (python-pdbtrack-buffers-to-kill, python-pdbtrack-tracked-buffer)
6482 (python-shell-internal-buffer)
6483 (python-skeleton-available): New vars.
6484 (def-python-skeleton): Delete macro.
6485 (python-skeleton-define): New macro.
6486 (python-define-auxiliary-skeleton, python-rx): New macros.
6487 (python-insert-class): Delete command.
6488 (python-skeleton-class): New command.
6489 (python-insert-def): Delete command.
6490 (python-skeleton-def): New command.
6491 (python-insert-for): Delete command.
6492 (python-skeleton-for): New command.
6493 (python-insert-if): Delete command.
6494 (python-skeleton-if): New command.
6495 (python-insert-try/except, python-insert-try/finally): Delete commands.
6496 (python-skeleton-try): New command.
6497 (python-insert-while): Delete command.
6498 (python-skeleton-while): New command.
6499 (python-backspace): Delete command.
6500 (python-indent-dedent-line-backspace): New command.
6501 (python-electric-colon): Delete command.
6502 (python-indent-electric-colon): New command.
6503 (python-guess-indent): Delete command.
6504 (python-indent-guess-indent-offset): New command.
6505 (python-shift-left): Delete command.
6506 (python-indent-shift-left): New command.
6507 (python-shift-right): Delete command.
6508 (python-indent-shift-right): New command.
6509 (python-find-function): Delete command.
6510 (python-nav-jump-to-defun): New command.
6511 (python-next-statement): Delete command.
6512 (python-nav-forward-sentence): New command.
6513 (python-previous-statement): Delete command.
6514 (python-nav-backward-sentence): New command.
6515 (python-fill-paragraph): Delete command.
6516 (python-fill-paragraph-function): New command.
6517 (python-send-buffer): Delete command.
6518 (python-shell-send-buffer): New command.
6519 (python-send-defun): Delete command.
6520 (python-shell-send-defun): New command.
6521 (python-send-region, python-send-region-and-go): Delete commands.
6522 (python-shell-send-region)
6523 (python-shell-switch-to-shell): New commands.
6524 (python-send-string): Delete command.
6525 (python-shell-send-string): New command.
6526 (python-switch-to-python): Delete command.
6527 (python-shell-switch-to-shell): New command.
6528 (python-describe-symbol): Delete command.
6529 (python-eldoc-at-point): New command.
6530 (python--set-prompt-regexp, python-args-to-list)
6531 (python-after-info-look, python-check-version)
6532 (python-check-comint-prompt, python-find-imports)
6533 (python-execute-file, turn-off-pdbtrack, turn-on-pdbtrack)
6534 (python-unload-function, python-expand-template)
6535 (python-maybe-jython, python-preoutput-filter)
6536 (python-pdbtrack-get-source-buffer)
6537 (python-pdbtrack-grub-for-buffer, python-pdbtrack-overlay-arrow)
6538 (python-pdbtrack-toggle-stack-tracking)
6539 (python-pdbtrack-track-stack-file, python-initial-text)
6540 (python-first-word, python-comment-line-p, python-send-command)
6541 (python-setup-brm, python-sentinel, python-set-proc)
6542 (python-skip-out, python-input-filter, python-outdent-p)
6543 (python-outline-level, python-backslash-continuation-line-p)
6544 (python-end-of-block, python-end-of-statement, python-mark-block)
6545 (python-beginning-of-block, python-beginning-of-statement)
6546 (python-blank-line-p, python-beginning-of-string)
6547 (python-open-block-statement-p): Delete functions.
6548 (python-indent-line, python-indent-line-1): Delete functions.
6549 (python-indent-line): New function.
6550 (python-indentation-levels): Delete function.
6551 (python-indent-calculate-levels): New function.
6552 (python-proc): Delete function.
6553 (python-shell-get-process): New function.
6554 (python-send-receive): Delete function.
6555 (python-shell-send-string-no-output): New function.
6556 (python-module-path): Delete function.
6557 (python-ffap-module-path): New function.
6558 (python-completion-at-point)
6559 (python-symbol-completions): Delete functions.
6560 (python-completion-complete-at-point): New function.
6561 (python-load-file): Delete function.
6562 (python-shell-send-file): New function.
6563 (python-calculate-indentation): Delete function.
6564 (python-indent-calculate-indentation): New function.
6565 (python-skip-comments/blanks): Delete function.
6566 (python-util-forward-comment): New function.
6567 (python-continuation-line-p): Delete function.
6568 (python-info-continuation-line-p): New function.
6569 (python-which-func, python-current-defun): Delete function.
6570 (python-info-current-defun): New function.
6571 (python-beginning-of-defun): Delete function.
6572 (python-nav-beginning-of-defun): New function.
6573 (python-close-block-statement-p)
6574 (python-block-end-p): Delete function.
6575 (python-info-closing-block): New function.
6576 (python-comint-output-filter-function)
6577 (python-eldoc--get-doc-at-point, python-end-of-defun-function)
6578 (python-fill-comment, python-fill-decorator, python-fill-paren)
6579 (python-fill-string, python-imenu-make-element-tree)
6580 (python-imenu-make-tree, python-imenu-tree-assoc)
6581 (python-indent-context, python-indent-dedent-line)
6582 (python-indent-line-function)
6583 (python-indent-post-self-insert-function)
6584 (python-indent-toggle-levels)
6585 (python-info-assignment-continuation-line-p)
6586 (python-info-beginning-of-backlash)
6587 (python-info-block-continuation-line-p)
6588 (python-info-closing-block-message)
6589 (python-info-line-ends-backslash-p)
6590 (python-info-looking-at-beginning-of-defun)
6591 (python-info-ppss-context, python-info-ppss-context-type)
6592 (python-nav-list-defun-positions, python-nav-read-defun)
6593 (python-nav-sentence-end, python-nav-sentence-start)
6594 (python-pdbtrack-comint-output-filter-function)
6595 (python-pdbtrack-set-tracked-buffer)
6596 (python-shell-calculate-exec-path)
6597 (python-shell-calculate-process-environment)
6598 (python-shell-completion--do-completion-at-point)
6599 (python-shell-completion--get-completions)
6600 (python-shell-completion-complete-at-point)
6601 (python-shell-completion-complete-or-indent)
6602 (python-shell-get-or-create-process)
6603 (python-shell-get-process-name)
6604 (python-shell-internal-get-or-create-process)
6605 (python-shell-internal-get-process-name)
6606 (python-shell-internal-send-string, python-shell-make-comint)
6607 (python-shell-parse-command, python-shell-send-setup-code)
6608 (python-skeleton-add-menu-items)
6609 (python-util-clone-local-variables, python-util-position)
6610 (run-python-internal, python-indentation-levels)
6611 (python-nav-beginning-of-defun)
6612 (python-completion-complete-at-point): New functions.
6613 (run-python): Change arguments. New API requirements.
6614
4302f5ba
SM
66152012-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
6616
f38ea36d
SM
6617 * emacs-lisp/cl-lib.el (cl--defsubst-expand): Autoload inliner
6618 (bug#11649).
6619
6620 * emacs-lisp/macroexp.el (macroexp--compiler-macro): New function.
6621 (macroexp--expand-all): Use it.
6622
4302f5ba
SM
6623 * emacs-lisp/cl-macs.el (cl--transform-function-property): Remove.
6624 (cl-define-setf-expander, cl-deftype, cl-define-compiler-macro):
6625 Use `cl-function' instead.
6626
33377562
JB
66272012-06-14 Juanma Barranquero <lekktu@gmail.com>
6628
6629 * makefile.w32-in (COMPILE_FIRST): Remove subr.el.
6630 Suggested by Stefan Monnier while discussing bug#11657.
6631
54c5ba1a
SS
66322012-06-14 Sam Steingold <sds@gnu.org>
6633
6634 * files.el (abort-if-file-too-large): Use `file-size-human-readable'.
6635
f9f1b1fe
AS
66362012-06-14 Andreas Schwab <schwab@linux-m68k.org>
6637
6638 * play/doctor.el (doctor-doc): Remove parameter and use
6639 doctor-sent instead of sent.
6640 (doctor-read-print): Use doctor-sent instead of sent. (Bug#11708)
6641
a81068ba
SM
66422012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
6643
5a315f9c
SM
6644 * files.el: Require cl-lib.
6645 (file-name-non-special): Replace case -> cl-case.
6646
6647 * emacs-lisp/cl-macs.el (cl-defstruct): Don't add print-func.
6648
a81068ba
SM
6649 * emacs-lisp/edebug.el (edebug-read-function): Remove old incorrect
6650 mapping from #' to function*.
6651
8cca9703
CY
66522012-06-13 Chong Yidong <cyd@gnu.org>
6653
6654 * mouse.el (mouse-drag-track): Do not set the mark if the user
6655 releases the mouse without selecting anything (Bug#11588).
6656
a12ac9d7
SM
66572012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
6658
ccf1dc18
SM
6659 * textmodes/tex-mode.el (latex-indent): Recognize tex-verbatim at EOB
6660 as well (bug#11646).
6661
ef62b23d
SM
6662 * loadup.el: Count byte-code functions as well.
6663
c4c8444a
SM
6664 * emacs-lisp/byte-opt.el (featurep): Move compiler-macro...
6665 * emacs-lisp/bytecomp.el (featurep): ...here (bug#11692).
6666
a12ac9d7
SM
6667 * emacs-lisp/autoload.el (make-autoload): Accept nil doc-string-elt
6668 (bug#11649). Add cl-defun and cl-defmacro.
6669
87e6e64f
DA
66702012-06-13 Drew Adams <drew.adams@oracle.com>
6671
6672 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
6673 Fix last change.
6674
682cefaf
MA
66752012-06-13 Michael Albinus <michael.albinus@gmx.de>
6676
6677 * net/dbus.el (dbus-call-method): Use timeout for `read-event'.
6678 Otherwise, it blocks in batch mode.
6679
773e1f08
JB
66802012-06-13 Juanma Barranquero <lekktu@gmail.com>
6681
6682 * help-mode.el (bookmark-make-record-default): Declare.
6683
60057926
CY
66842012-06-13 Chong Yidong <cyd@gnu.org>
6685
6686 * emacs-lisp/package.el (list-packages): Compute a list of
6687 packages that are newly-available since the last list-packages
6688 invocation.
6689 (package-menu--new-package-list): New var.
6690 (package-menu--generate, package-menu--print-info)
6691 (package-menu--status-predicate, package-menu-mark-install):
6692 Handle new status label "new".
6693
ad4d226c
SM
66942012-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
6695
6696 * emacs-lisp/cl-macs.el (cl-remf): Fix error in recent
6697 conversion to backquotes.
6698
f1a4e679
CY
66992012-06-12 Chong Yidong <cyd@gnu.org>
6700
6701 * emacs-lisp/edebug.el (edebug-inhibit-emacs-lisp-mode-bindings):
6702 Rename from gud-inhibit-global-bindings.
6703
6704 * emacs-lisp/eieio.el (eieio-pre-method-execution-hooks): Doc fix.
6705
6706 * nxml/nxml-glyph.el (nxml-glyph-set-functions): Rename abnormal
6707 hook from nxml-glyph-set-hook.
6708
6709 * progmodes/cwarn.el (cwarn-mode): Remove redundant variable
6710 declaration.
6711
6712 * progmodes/pascal.el (pascal-toggle-completions): Doc fix.
6713
6714 * textmodes/bibtex.el (bibtex-string-file-path, bibtex-file-path):
6715 Convert to defcustom.
6716
0c9e42b5
DA
67172012-06-12 Drew Adams <drew.adams@oracle.com>
6718
6719 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
6720 New functions.
6721 (help-mode): Use them.
6722
09e06855
GM
67232012-06-11 Glenn Morris <rgm@gnu.org>
6724
6725 * progmodes/fortran.el (fortran-font-lock-keywords-3):
6726 Use preprocessor face for directives.
6727 (fortran-directive-re): Doc fix.
6728
71adb94b
SM
67292012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
6730
2eb87922
SM
6731 * emacs-lisp/cl-macs.el (cl-parse-loop-clause): Fix error in recent
6732 conversion to backquotes (bug#11652).
6733
71adb94b
SM
6734 Fix compiler-expansion of CL's cXXr functions (bug#11673).
6735 * emacs-lisp/cl-lib.el (cl--defalias): New function.
6736 (cl-values, cl-values-list, cl-copy-seq, cl-svref, cl-first)
6737 (cl-second, cl-rest, cl-endp, cl-third, cl-fourth): Use it.
6738 (cl-plusp, cl-minusp, cl-fifth, cl-sixth, cl-seventh, cl-eighth)
6739 (cl-ninth, cl-tenth): Mark them as inlinable.
6740 (cl-caaar, cl-caadr, cl-cadar, cl-caddr, cl-cdaar, cl-cdadr)
6741 (cl-cddar, cl-cdddr, cl-caaaar, cl-caaadr, cl-caadar, cl-caaddr)
6742 (cl-cadaar, cl-cadadr, cl-caddar, cl-cadddr, cl-cdaaar, cl-cdaadr)
6743 (cl-cdadar, cl-cdaddr, cl-cddaar, cl-cddadr, cl-cdddar, cl-cddddr):
6744 Add a compiler-macro declaration to use cl--compiler-macro-cXXr.
6745 (cl-list*, cl-adjoin): Don't put an autoload manually.
6746 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin)
6747 (cl--compiler-macro-list*): Add autoload cookie.
6748 (cl--compiler-macro-cXXr): New function.
2eb87922 6749
71adb94b
SM
6750 * help-fns.el (help-fns--compiler-macro): New function extracted from
6751 describe-function-1; follow aliases and use `compiler-macro' property.
6752 (describe-function-1): Use it.
6753
a6674402
CY
67542012-06-11 Chong Yidong <cyd@gnu.org>
6755
6756 * startup.el (fancy-splash-head): Use splash.svg even if librsvg
6757 is uninstalled, if imagemagick is installed.
6758
bb3faf5b
SM
67592012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
6760
6761 * emacs-lisp/cl-lib.el: Use lexical-binding.
6762 (cl-map-extents, cl-maclisp-member): Remove.
6763 (cl--set-elt, cl--set-nthcdr, cl--set-buffer-substring)
6764 (cl--set-substring, cl--block-wrapper, cl--block-throw)
6765 (cl--compiling-file, cl--mapcar-many, cl--do-subst): Use "cl--" prefix.
6766 * emacs-lisp/cl-extra.el: Use lexical-binding.
6767 (cl--mapcar-many, cl--map-keymap-recursively, cl--map-intervals)
6768 (cl--map-overlays, cl--set-frame-visible-p, cl--progv-save)
6769 (cl--progv-before, cl--progv-after, cl--finite-do, cl--set-getf)
6770 (cl--do-remf, cl--do-prettyprint): Use "cl--" prefix.
6771 * emacs-lisp/cl-seq.el: Use lexical-binding.
6772 (cl--parsing-keywords, cl--check-key, cl--check-test-nokey)
6773 (cl--check-test, cl--check-match): Use "cl--" prefix and backquotes.
6774 (cl--alist, cl--sublis-rec, cl--nsublis-rec, cl--tree-equal-rec):
6775 * emacs-lisp/cl-macs.el (cl--lambda-list-keywords): Use "cl--" prefix.
6776 * edmacro.el (edmacro-mismatch): Simplify to remove dependence on
6777 CL's internals.
6778
2fe4b125
MA
67792012-06-11 Michael Albinus <michael.albinus@gmx.de>
6780
6781 Sync with Tramp 2.2.6-pre.
6782
6783 * net/tramp-cache.el (tramp-dump-connection-properties): Let-bind
6784 `print-length' and `print-level' to nil, in order to avoid
6785 truncation. Reported by Christopher Schmidt
6786 <christopher@ristopher.com>.
6787
6788 * net/tramp-cmds.el (tramp-cleanup-connection): Delete also process.
6789
6790 * net/tramp-compat.el (tramp-compat-condition-case-unless-debug):
6791 New defmacro.
6792 (tramp-compat-copy-directory): Add optional argument
6793 COPY-CONTENTS. It is not handled yet.
6794
6795 * net/tramp-ftp.el (tramp-disable-ange-ftp): Fix docstring.
6796 (tramp-ftp-file-name-p): Simplify.
6797
6798 * net/tramp-gvfs.el (tramp-gvfs-handle-expand-file-name):
6799 * net/tramp-gw.el (tramp-gw-open-connection): Add hop to
6800 connection vector.
6801
6802 * net/tramp-sh.el (tramp-copy-size-limit): Fix docstring.
6803 (tramp-methods): Do not use `tramp-password-end-of-line'.
6804 (tramp-completion-function-alist-putty): Handle UNIX case.
6805 (tramp-remote-path): Add "/opt/bin", "/opt/sbin" and "/opt/local/bin".
6806 (tramp-do-file-attributes-with-stat)
6807 (tramp-do-directory-files-and-attributes-with-stat) Return uid and
6808 gid as real numbers. They could run out of integer range on cygwin.
6809 (tramp-do-copy-or-rename-file-out-of-band): Better trace format.
6810 (tramp-sh-handle-expand-file-name): Handle hops.
87e6e64f
DA
6811 (tramp-open-connection-setup-interactive-shell):
6812 Use `tramp-cleanup'. Move check for busyboxes ...
6813 (tramp-find-shell): ... here. Simplify implementation.
6814 Set "remote-shell" property also for alternative shells.
6815 (tramp-remote-coding-commands): Check "test -c /dev/stdout".
6816 If failing, a regular file would be written otherwise.
6817 Reported by Dmitry Kurochkin <dmitry.kurochkin@gmail.com>.
2fe4b125
MA
6818 (tramp-find-inline-encoding): Cache the coding commands in the
6819 process cache. Apply test command on the remote side, if defined.
6820 (tramp-find-inline-compress): Cache the compress commands in the
6821 process cache.
6822 (tramp-compute-multi-hops): Save `tramp-default-proxies-alist'
6823 when requested. Handle hops.
6824 (tramp-current-connection): New defvar.
87e6e64f
DA
6825 (tramp-maybe-open-connection): Use `tramp-cleanup'.
6826 Throw `suppress', if there was a failed connection shortly before.
2fe4b125 6827 Handle user interrupt. (Bug#10187)
87e6e64f
DA
6828 (tramp-get-inline-compress, tramp-get-inline-coding):
6829 Read connection properties from the process cache.
2fe4b125
MA
6830
6831 * net/tramp-smb.el (tramp-smb-server-version)
87e6e64f
DA
6832 (tramp-smb-wrong-passwd-regexp, tramp-smb-actions-with-tar):
6833 New defconsts.
2fe4b125
MA
6834 (tramp-smb-prompt): Extend for powershell prompt.
6835 (tramp-smb-file-name-handler-alist): Add handlers for
6836 `process-file', `shell-command' and `start-file-process'.
6837 (tramp-smb-winexe-program, tramp-smb-winexe-shell-command)
6838 (tramp-smb-winexe-shell-command-switch): New defcustoms.
6839 (tramp-smb-file-name-p): Simplify.
6840 (tramp-smb-action-with-tar, tramp-smb-handle-process-file)
6841 (tramp-smb-kill-winexe-function, tramp-smb-call-winexe)
6842 (tramp-smb-shell-quote-argument): New defuns.
6843 (tramp-smb-handle-copy-directory): Add COPY-CONTENTS argument.
6844 Implement using "tar". By this, time-stamps are preserved.
6845 (tramp-smb-handle-copy-file): Handle also the case of directories.
6846 (tramp-smb-do-file-attributes-with-stat)
87e6e64f
DA
6847 (tramp-smb-get-file-entries, tramp-smb-get-cifs-capabilities):
6848 Use `tramp-get-connection-buffer').
2fe4b125
MA
6849 (tramp-smb-handle-rename-file): Use "rename", when source and
6850 target are on the same share.
87e6e64f
DA
6851 (tramp-smb-maybe-open-connection): Handle wrong passwords.
6852 Use `tramp-smb-server-version'.
2fe4b125
MA
6853 (tramp-smb-wait-for-output): Remove prompt.
6854
6855 * net/tramp.el (top): Require 'cl.
87e6e64f
DA
6856 (tramp-methods, tramp-rsh-end-of-line):
6857 Remove `tramp-password-end-of-line' from docstring.
2fe4b125
MA
6858 (tramp-save-ad-hoc-proxies): New defcustom.
6859 (tramp-completion-function-alist): Adapt docstring.
6860 (tramp-default-password-end-of-line): Remove defcustom.
6861 (tramp-shell-prompt-pattern): Allow "[]" style prompts. (Bug#11065)
6862 (tramp-user-regexp, tramp-file-name-regexp-unified)
6863 (tramp-file-name-regexp-url): Extend regexp by hop separator.
6864 (tramp-postfix-hop-format, tramp-postfix-hop-regexp)
6865 (tramp-remote-file-name-spec-regexp): New defconst.
6866 (tramp-file-name-structure): Extend structure for hops.
6867 (tramp-get-method-parameter): Move up.
6868 (tramp-file-name-p, tramp-dissect-file-name)
6869 (with-parsed-tramp-file-name): Handle hops.
6870 (tramp-file-name-hop): New defun.
6871 (tramp-make-tramp-file-name): New optional arg HOP.
6872 (tramp-message-show-progress-reporter-message): New defvar.
6873 (tramp-with-progress-reporter): Use it. We cannot use
6874 `tramp-message-show-message' here, because this suppresses also
6875 error buffers.
6876 (tramp-error-with-buffer): Suppress buffer view, if
87e6e64f
DA
6877 `tramp-message-show-message' is nil.
6878 Use `tramp-get-connection-buffer'.
2fe4b125
MA
6879 (tramp-cleanup): New defun.
6880 (tramp-rfn-eshadow-update-overlay): Let-bind `non-essential' to `t'.
6881 (tramp-file-name-handler): If `debug-on-error' is set, propagate
6882 an error unchanged.
6883 (tramp-completion-handle-file-name-all-completions): Handle hops.
6884 Fix an error when called from ido.
6885 (tramp-completion-dissect-file-name): Use better local variable
6886 name. Add hop to the vector.
6887 (tramp-handle-insert-file-contents): Use progress-reporter for the
6888 whole scenario.
6889 (tramp-action-password): Let-bind `enable-recursive-minibuffers'
6890 to `t'.
6891 (tramp-check-for-regexp): Simplify search.
6892 (tramp-enter-password): Remove it. Move implementation ...
6893 (tramp-action-password): ... here.
6894 (tramp-mode-string-to-int, tramp-local-host-p)
6895 (tramp-make-tramp-temp-file, tramp-read-passwd)
87e6e64f
DA
6896 (tramp-clear-passwd, tramp-time-less-p, tramp-time-diff):
6897 Set tramp-autoload cookie.
2fe4b125
MA
6898
6899 * net/trampver.el: Update release number.
6900
69012012-06-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
6902 Michael Albinus <michael.albinus@gmx.de>
6903
6904 * net/tramp.el (tramp-set-completion-function): Fix docstring.
6905 (tramp-parse-group, tramp-parse-file)
6906 (tramp-parse-shostkeys-sknownhosts): New defuns.
6907 (tramp-parse-rhosts, tramp-parse-rhosts-group, tramp-parse-shosts)
6908 (tramp-parse-shosts-group, tramp-parse-sconfig)
6909 (tramp-parse-sconfig-group, tramp-parse-shostkeys)
6910 (tramp-parse-sknownhosts, tramp-parse-hosts)
6911 (tramp-parse-hosts-group, tramp-parse-passwd, tramp-parse-netrc):
6912 Use them.
6913 (tramp-parse-passwd-group, tramp-parse-netrc-group)
6914 (tramp-parse-putty-group): Don't narrow.
6915 (tramp-parse-putty): Make a loop.
6916 (tramp-file-name-handler): Catch the `suppress' signal.
6917
72834e10
CY
69182012-06-11 Chong Yidong <cyd@gnu.org>
6919
6920 * image.el (imagemagick-register-types): Put the ImageMagick entry
6921 at the end of image-type-file-name-regexps.
6922
a4712e11
JB
69232012-06-11 Johan Bockgård <bojohan@gnu.org>
6924
6925 * emacs-lisp/pcase.el (pcase-UPAT, pcase-QPAT): New edebug specs.
6926 (pcase, pcase-let*, pcase-dolist): Use them.
6927
82ad98e3
SM
69282012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
6929
6930 * emacs-lisp/pcase.el (pcase--let*): New function.
6931 (pcase-let*): Use it. Use pcase--memoize to avoid repeated expansions.
6932 (pcase--expand): Use macroexp-let².
6933
f80efb86
SM
69342012-06-10 Stefan Monnier <monnier@iro.umontreal.ca>
6935
6936 * emacs-lisp/timer.el, emacs-lisp/syntax.el, emacs-lisp/smie.el:
6937 * emacs-lisp/ewoc.el, emacs-lisp/cconv.el, emacs-lisp/bytecomp.el:
6938 * emacs-lisp/byte-opt.el, emacs-lisp/autoload.el: Convert to cl-lib.
6939 * emacs-lisp/easymenu.el, emacs-lisp/easy-mmode.el:
6940 * emacs-lisp/derived.el: Use pcase instead of `cl'.
6941 * emacs-lisp/cl-lib.el: Get rid of special cl-macs auto load.
6942
31ca4639 69432012-06-10 Glenn Morris <rgm@gnu.org>
94f0aa34 6944
31ca4639
CY
6945 * mail/rmail.el (rmail-yank-current-message): Leave point at
6946 correct position. (Bug#11660)
94f0aa34 6947
31ca4639 69482012-06-10 Chong Yidong <cyd@gnu.org>
9e1b8ec4 6949
31ca4639 6950 * allout-widgets.el: Fix code header.
9e1b8ec4 6951
31ca4639 69522012-06-10 Chong Yidong <cyd@gnu.org>
00cd0305 6953
f80efb86
SM
6954 * cus-edit.el (customize-changed-options-previous-release):
6955 Bump to 24.1.
31ca4639 6956
642b6d30
AS
69572012-06-09 Andreas Schwab <schwab@linux-m68k.org>
6958
6959 * Makefile.in (BIG_STACK_DEPTH): Enlarge to 2200.
6960
4f5d2ba1
CY
69612012-06-09 Chong Yidong <cyd@gnu.org>
6962
6963 * ebuff-menu.el (electric-buffer-list): Preserve header line.
6964
e75852fd
MR
69652012-06-09 Martin Rudalics <rudalics@gmx.at>
6966
6967 * window.el (special-display-popup-frame): Don't use
6968 window--display-buffer (Bug#11651).
6969
1e48e282
EZ
69702012-06-09 Eli Zaretskii <eliz@gnu.org>
6971
8a26b487
EZ
6972 Fix parallel builds: make sure loaddefs.el is not being written
6973 while Lisp files are compiled.
6974 (compile): Don't depend on 'mh-autoloads'.
6975 (compile-CMD, compile-SH): Depend on 'autoloads'.
6976 (bootstrap): Don't depend on 'autoloads' and 'mh-autoloads'.
6977
1e48e282
EZ
6978 * makefile.w32-in (BIG_STACK_DEPTH): Enlarge to 2200. (Bug#11649)
6979
6175e34b
CY
69802012-06-09 Chong Yidong <cyd@gnu.org>
6981
6982 * face-remap.el (face-remap-add-relative, face-remap-set-base)
6983 (buffer-face-set, buffer-face-toggle, buffer-face-mode-invoke):
6984 Doc fixes (Bug#11225).
6985
d9857e53
SM
69862012-06-09 Stefan Monnier <monnier@iro.umontreal.ca>
6987
6988 * emacs-lisp/macroexp.el (macroexp--expand-all): Only autoload
6989 a function if there's a clear indication that it has a compiler-macro.
6990 * emacs-lisp/byte-run.el (defun-declarations-alist, defmacro, defun)
6991 (macro-declarations-alist): Add arglist to declaration functions.
6992 (defun-declarations-alist): Add `obsolete' and `compiler-macro'.
6993 * emacs-lisp/cl-seq.el (cl-member, cl-assoc):
6994 * emacs-lisp/cl-lib.el (cl-list*, cl-adjoin):
6995 * emacs-lisp/cl-extra.el (cl-get): Use the new `declare' statement.
6996 Also add autoload to find the compiler macro.
6997 * emacs-lisp/cl-macs.el (eql) [compiler-macro]: Remove.
6998 (cl--compiler-macro-member, cl--compiler-macro-assoc)
6999 (cl--compiler-macro-adjoin, cl--compiler-macro-list*)
7000 (cl--compiler-macro-get): New functions, replacing calls to
7001 cl-define-compiler-macro.
7002 (cl-typep) [compiler-macro]: Use macroexp-let².
7003
f81298f8 70042012-06-08 Nick Dokos <nicholas.dokos@hp.com> (tiny change)
ee574791
UJ
7005
7006 * calendar/icalendar.el (icalendar--parse-vtimezone): Import TZID
7007 string properly, fixes Bug#11473.
7008
4b56d0fe
CY
70092012-06-08 Chong Yidong <cyd@gnu.org>
7010
7011 * faces.el (set-face-attribute): Doc fix.
7012 (modify-face): Don't use :bold and :italic.
7013 (error, warning, success): Tweak definitions.
7014
7015 * cus-edit.el (custom-modified, custom-invalid, custom-rogue)
7016 (custom-modified, custom-set, custom-changed, custom-themed)
7017 (custom-saved, custom-button, custom-button-mouse)
7018 (custom-button-pressed, custom-state, custom-comment-tag)
7019 (custom-variable-tag, custom-group-tag-1, custom-group-tag)
7020 (custom-group-subtitle): Use new-style face specs.
7021 (custom-invalid-face, custom-rogue-face, custom-modified-face)
7022 (custom-set-face, custom-changed-face, custom-saved-face)
7023 (custom-button-face, custom-button-pressed-face)
7024 (custom-documentation-face, custom-state-face)
7025 (custom-comment-face, custom-comment-tag-face)
7026 (custom-variable-tag-face, custom-variable-button-face)
7027 (custom-face-tag-face, custom-group-tag-face-1)
7028 (custom-group-tag-face): Remove obsolete face alias.
7029
7030 * epa.el (epa-validity-high, epa-validity-medium)
7031 (epa-validity-low, epa-mark, epa-field-name, epa-string)
7032 (epa-field-name, epa-field-body):
7033 * font-lock.el (font-lock-comment-face, font-lock-string-face)
7034 (font-lock-keyword-face, font-lock-builtin-face)
7035 (font-lock-function-name-face, font-lock-variable-name-face)
7036 (font-lock-type-face, font-lock-constant-face):
7037 * ido.el (ido-first-match, ido-only-match, ido-subdir)
7038 (ido-virtual, ido-indicator, ido-incomplete-regexp):
7039 * speedbar.el (speedbar-button-face, speedbar-file-face)
7040 (speedbar-directory-face, speedbar-tag-face)
7041 (speedbar-selected-face, speedbar-highlight-face)
7042 (speedbar-separator-face):
7043 * whitespace.el (whitespace-newline, whitespace-space)
7044 (whitespace-hspace, whitespace-tab, whitespace-trailing)
7045 (whitespace-line, whitespace-space-before-tab)
7046 (whitespace-space-after-tab, whitespace-indentation)
7047 (whitespace-empty):
7048 * emulation/cua-base.el (cua-global-mark):
7049 * eshell/em-prompt.el (eshell-prompt):
7050 * net/newst-plainview.el (newsticker-new-item-face)
7051 (newsticker-old-item-face, newsticker-immortal-item-face)
7052 (newsticker-obsolete-item-face, newsticker-date-face)
7053 (newsticker-statistics-face, newsticker-default-face):
7054 * net/newst-reader.el (newsticker-feed-face)
7055 (newsticker-extra-face, newsticker-enclosure-face):
7056 * net/newst-treeview.el (newsticker-treeview-face)
7057 (newsticker-treeview-new-face, newsticker-treeview-old-face)
7058 (newsticker-treeview-immortal-face)
7059 (newsticker-treeview-obsolete-face)
7060 (newsticker-treeview-selection-face):
7061 * net/rcirc.el (rcirc-my-nick, rcirc-other-nick)
7062 (rcirc-bright-nick, rcirc-server, rcirc-timestamp)
7063 (rcirc-nick-in-message, rcirc-nick-in-message-full-line)
7064 (rcirc-prompt, rcirc-track-keyword, rcirc-url, rcirc-keyword):
7065 * nxml/nxml-outln.el (nxml-heading, nxml-outline-indicator)
7066 (nxml-outline-active-indicator, nxml-outline-ellipsis):
7067 * play/mpuz.el (mpuz-unsolved, mpuz-solved, mpuz-trivial)
7068 (mpuz-text):
7069 * progmodes/vera-mode.el (vera-font-lock-number)
7070 (vera-font-lock-function, vera-font-lock-interface):
7071 * textmodes/table.el (table-cell): Use new-style face specs, and
7072 don't use the old :bold and :italic attributes.
7073
7074 * progmodes/ebrowse.el (ebrowse-tree-mark, ebrowse-root-class)
7075 (ebrowse-member-attribute, ebrowse-default, ebrowse-file-name)
7076 (ebrowse-member-class, ebrowse-progress): Likewise.
7077 (ebrowse-tree-mark-face, ebrowse-root-class-face)
7078 (ebrowse-file-name-face, ebrowse-default-face)
7079 (ebrowse-member-attribute-face, ebrowse-member-class-face)
7080 (ebrowse-progress-face): Remove obsolete faces.
7081
7082 * progmodes/flymake.el (flymake-errline, flymake-warnline):
7083 Inherit from error and warning faces respectively.
7084
7085 * textmodes/flyspell.el (flyspell-incorrect, flyspell-duplicate):
7086 Likewise.
f80efb86
SM
7087 (flyspell-incorrect-face, flyspell-duplicate-face):
7088 Remove obsolete aliases.
4b56d0fe 7089
03310646
MA
70902012-06-08 Michael Albinus <michael.albinus@gmx.de>
7091
7092 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
7093 Avoid infloop.
7094
513749ee
SM
70952012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
7096
7097 * startup.el (argv, argi): Make lexically scoped.
7098 * emacs-lisp/float-sup.el (pi): Use internal-make-var-non-special.
7099 * emacs-lisp/cl-macs.el: Use lexical-binding.
7100 Rename cl-bind-* to cl--bind-*.
7101 * files.el: Don't require `cl' since it doesn't use it.
7102 * emacs-lisp/pcase.el, emacs-lisp/macroexp.el: Add coding cookie.
7103
595ef4ad
JB
71042012-06-08 Juanma Barranquero <lekktu@gmail.com>
7105
7106 * textmodes/texinfmt.el: Fix bug#11640 (reverts part of 2008-07-31T05:33:56Z!dann@ics.uci.edu).
7107 (texinfo-format-printindex): Use `texinfo-sort-region' in all platforms,
7108 instead of calling external sort utility.
7109 (texinfo-sort-region, texinfo-sort-startkeyfun): Restore functions.
7110
e9f66fcb
EZ
71112012-06-08 Eli Zaretskii <eliz@gnu.org>
7112
7113 * descr-text.el (describe-char): Mention how to insert the
7114 character, if the current input method doesn't support it.
7115 See the discussion in this thread for the details:
7116 http://lists.gnu.org/archive/html/emacs-devel/2012-05/msg00533.html.
7117
3d10db47
SS
71182012-06-08 Sam Steingold <sds@gnu.org>
7119
7120 * bindings.el (global-map): Bind XF86Forward to next-buffer and
7121 XF86Back to previous-buffer.
7122 (minibuffer-local-map): Bind them to next-history-element and
7123 previous-history-element respectively.
7124 * help-mode.el (help-mode-map): Bind them to help-go-forward and
7125 help-go-back respectively.
7126 * info.el (Info-mode-map): Bind them to Info-history-forward and
7127 Info-history-back respectively.
7128 These are the keys next to Up on the ThinkPad keyboard.
7129
de7e2b36
SM
71302012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
7131
7132 Get rid of cl-lexical-let, keeping only lexical-let for compatibility.
7133 * emacs-lisp/cl-macs.el: Provide itself.
7134 (cl--labels-convert-cache): New var.
7135 (cl--labels-convert): New function.
7136 (cl-flet, cl-labels): New implementation with new semantics, relying on
7137 lexical-binding.
7138 * emacs-lisp/cl.el: Mark compatibility aliases as obsolete.
7139 (cl-closure-vars, cl--function-convert-cache)
7140 (cl--function-convert): Move from cl-macs.el.
7141 (lexical-let, lexical-let*, flet, labels): Move from cl-macs.el and
7142 rename by removing the "cl-" prefix.
7143 * emacs-lisp/macroexp.el (macroexp-unprogn): New function.
7144
6fa6c4ae
SM
71452012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
7146
7147 * emacs-lisp/cl.el (cl-macroexpand, cl-macro-environment)
7148 (cl-macroexpand-all, cl-not-hash-table, cl-builtin-gethash)
7149 (cl-builtin-remhash, cl-builtin-clrhash, cl-builtin-maphash)
7150 (cl-map-keymap, cl-copy-tree, cl-gethash, cl-puthash, cl-remhash)
7151 (cl-clrhash, cl-maphash, cl-make-hash-table, cl-hash-table-p)
7152 (cl-hash-table-count): Add old compatibility aliases.
7153
7154 * emacs-lisp/cl-macs.el (cl-macro-environment): Remove var.
7155 Use macroexpand-all-environment instead.
7156 (cl--old-macroexpand): New var.
7157 (cl--sm-macroexpand): New function.
7158 (cl-symbol-macrolet): Use it during macro expansion.
7159 (cl--function-convert-cache): New var.
7160 (cl--function-convert): New function, extracted from
7161 cl-macroexpand-all.
7162 (cl-lexical-let): Use it.
7163
7164 * emacs-lisp/cl-lib.el (cl-macro-environment): Remove decl.
7165 (cl-macroexpand): Move to cl-macs.el and rename to cl--sm-macroexpand.
7166 (cl-member): Remove old alias.
7167
7168 * emacs-lisp/cl-extra.el (cl-map-keymap, cl-copy-tree)
7169 (cl-not-hash-table, cl-builtin-gethash, cl-builtin-remhash)
7170 (cl-builtin-clrhash, cl-builtin-maphash, cl-gethash, cl-puthash)
7171 (cl-remhash, cl-clrhash, cl-maphash, cl-make-hash-table)
7172 (cl-hash-table-p, cl-hash-table-count): Move to cl.el.
7173 (cl-macroexpand-cmacs): Remove var.
7174 (cl-macroexpand-all, cl-macroexpand-body): Remove funs.
7175 Use macroexpand-all instead.
7176
4dd1c416
SM
71772012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
7178
7179 * emacs-lisp/macroexp.el (macroexp-progn, macroexp-let*, macroexp-if)
7180 (macroexp-let², macroexp--const-symbol-p, macroexp-const-p)
7181 (macroexp-copyable-p): New functions and macros.
7182 * emacs-lisp/edebug.el (edebug-unwrap):
7183 * emacs-lisp/disass.el (disassemble-internal): Use macroexp-progn.
7184 * emacs-lisp/pcase.el: Use macroexp-let*, macroexp-if, ...
7185 (pcase--let*): Remove.
7186 * emacs-lisp/bytecomp.el (byte-compile-const-symbol-p)
7187 (byte-compile-constp): Remove. Use macroexp--const-symbol-p and
7188 macroexp-const-p instead.
7189 * emacs-lisp/byte-opt.el: Use macroexp-const-p and macroexp-progn.
7190
7191 * emacs-lisp/cl-macs.el: Clean up the name space by using "cl--"
7192 instead of "cl-" for internal definitions. Use macroexp-const-p.
7193 (cl-old-bc-file-form): Remove var.
7194 (cl-const-exprs-p): Remove fun.
7195 (cl-labels, cl-macrolet): Use backquote.
7196 (cl-lexical-let): Use cl-symbol-macrolet. Don't use cl-defun-expander.
7197 (cl-defun-expander, cl-byte-compile-compiler-macro): Remove fun.
7198 (cl-define-setf-expander): Rename from cl-define-setf-method.
7199 * emacs-lisp/cl.el: Adjust alias for define-setf-method.
7200
7201 * international/mule-cmds.el: Don't require CL.
7202 (view-hello-file): Don't use `letf'.
7203
ed8bd4d7
SM
72042012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
7205
7287f2f3
SM
7206 * tmm.el (tmm-prompt): Use string-prefix-p.
7207 (tmm-completion-delete-prompt): Don't affect current-buffer outside.
7208 (tmm-add-prompt): Use minibuffer-completion-help.
7209 (tmm-delete-map): Remove.
7210
ed8bd4d7
SM
7211 * subr.el (kbd): Make it its own function.
7212
7b4cdbf4
SM
72132012-06-07 Stefan Merten <smerten@oekonux.de>
7214
7215 * textmodes/rst.el: Use `eval-when-compile' for requiring `cl.el'.
7216 Silence compiler warnings. Fix versions.
ed8bd4d7 7217 (rst-position-if, rst-position, rst-some, rst-signum): New functions.
7b4cdbf4 7218 (rst-shift-region, rst-adornment-level, rst-compute-tabs)
ed8bd4d7 7219 (rst-indent-line, rst-shift-region, rst-forward-line): Use them.
7b4cdbf4
SM
7220 (rst-package-emacs-version-alist): Correct Emacs version to
7221 represent major merge with upstream.
ed8bd4d7 7222 (rst-transition, rst-adornment, rst-compile-toolsets): Fix versions.
7b4cdbf4 7223
2b48d721
GM
72242012-06-06 Glenn Morris <rgm@gnu.org>
7225
7226 * mail/emacsbug.el (report-emacs-bug): Add relevant EMACS env-vars.
7227 Only print environment variables if set.
7228
fa779ab0
SM
72292012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
7230
7231 * emacs-lisp/macroexp.el: Don't require CL since we don't use it.
7232 (macroexp--cons): Rename from maybe-cons.
7233 (macroexp--accumulate): Rename from macroexp-accumulate.
7234 (macroexp--all-forms): Rename from macroexpand-all-forms.
7235 (macroexp--all-clauses): Rename from macroexpand-all-clauses.
7236 (macroexp--expand-all): Rename from macroexpand-all-1.
7237
628299e0
SS
72382012-06-06 Sam Steingold <sds@gnu.org>
7239
7240 * calendar/calendar.el (calendar-in-read-only-buffer):
7241 Call `special-mode' to enable the standard read-only keybindings.
7242
b7bb5838
SM
72432012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
7244
7245 * emacs-lisp/macroexp.el (macroexpand-all-1): Don't spam the output
7246 with "loading" messages (bug#11635).
7247
dfb308ba
MA
72482012-06-06 Michael Albinus <michael.albinus@gmx.de>
7249
7250 * files.el (enable-remote-dir-locals): New option.
7251 (hack-dir-local-variables): Use it. (Bug#1933, Bug#6731)
7252
0372ee92
MA
7253 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
7254 Ensure, that the temp directory is local.
7255
7256 * net/tramp-sh.el (tramp-sh-handle-write-region): Let-bind
7257 `temporary-file-directory'.
7258
eed0bb91
MA
7259 * progmodes/python.el (python-send-region): Ensure, that the
7260 temporary file is created also in the remote case.
7261
7a58f64d
GM
72622012-06-06 Glenn Morris <rgm@gnu.org>
7263
f7dd4e98
GM
7264 * vc/vc-rcs.el (vc-rcs-rcs2log-program): New.
7265 (vc-rcs-update-changelog): Use it.
7266
090bd7cb 7267 * emacs-lisp/authors.el (authors-fixed-entries): Remove vcdiff.
276d5f5d 7268
7a58f64d
GM
7269 * vc/vc-sccs.el (vc-sccs-write-revision): New function.
7270 (vc-sccs-workfile-unchanged-p): Use vc-sccs-write-revision.
7271 (vc-sccs-diff): Replace use of the external vcdiff script.
7272
daed4003
GM
72732012-06-05 Glenn Morris <rgm@gnu.org>
7274
7275 * ledit.el: Move to obsolete/.
7276
48c455c7
SS
72772012-06-05 Sam Steingold <sds@gnu.org>
7278
ed9265fc 7279 * calendar/calendar.el (calendar-exit): Reinstate the 2012-03-28
48c455c7
SS
7280 patch (Bug#11140).
7281
57a7d507
SM
72822012-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
7283
090bd7cb 7284 * emacs-lisp/cust-print.el: Move to obsolete.
d32926ff 7285
53aacf21
SM
7286 * emacs-lisp/macroexp.el (macroexpand-all-1): Tolerate errors during
7287 compiler-macro expansion.
7288
57a7d507
SM
7289 Add native compiler-macro support.
7290 * emacs-lisp/macroexp.el (macroexpand-all-1):
7291 Support compiler-macros directly. Properly follow aliases and apply
7292 the compiler macros more thoroughly.
7293 * emacs-lisp/cl.el: Don't copy compiler-macro properties any more since
7294 macroexpand now properly follows aliases.
7295 * emacs-lisp/cl-macs.el (toplevel, cl-define-compiler-macro)
7296 (cl-compiler-macroexpand): Use new prop.
7297 * emacs-lisp/byte-opt.el (featurep): Optimize earlier.
7298
7299 * emacs-lisp/cl-lib.el (custom-print-functions): Add alias.
7300
51a5f9d8
MR
73012012-06-05 Martin Rudalics <rudalics@gmx.at>
7302
7303 * window.el (get-lru-window, get-mru-window, get-largest-window):
7304 New argument NOT-SELECTED to avoid picking the selected window.
7305 (window--display-buffer-1, window--display-buffer-2): Replace by
7306 new function window--display-buffer
7307 (display-buffer-same-window, display-buffer-reuse-window)
57a7d507
SM
7308 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
7309 Use window--display-buffer.
51a5f9d8
MR
7310 (display-buffer-use-some-window): Remove temporary dedication
7311 hack by calling get-lru-window and get-largest-window with
7312 NOT-SELECTED argument non-nil. Call window--display-buffer.
7313
08f9f738
GM
73142012-06-05 Glenn Morris <rgm@gnu.org>
7315
7316 * vc/vc-sccs.el (vc-sccs-workfile-unchanged-p):
7317 Replace external vcdiff script.
7318
e364a2b7
SM
73192012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
7320
7321 * emacs-lisp/cl-lib.el (cl-values, cl-values-list): Fix up last change.
7322
041df390
CY
73232012-06-04 Chong Yidong <cyd@gnu.org>
7324
e364a2b7
SM
7325 * image.el (imagemagick-types-inhibit): Revert last change.
7326 Add INFO and M.
47b36b94 7327 (imagemagick-enabled-types): Remove CIN and EPS*.
041df390 7328
7c1898a7
SM
73292012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
7330
7331 * emacs-lisp/cl-lib.el: Rename from cl.el.
7332 * emacs-lisp/cl.el: New compatibility file.
7333 * emacs-lisp/cl-lib.el, emacs-lisp/cl-seq.el, emacs-lisp/cl-macs.el:
7334 * emacs-lisp/cl-extra.el: Rename all top-level functions and variables
7335 to obey the "cl-" prefix.
7336 * emacs-lisp/macroexp.el (macroexpand-all-1): Adjust to new name.
7337
0c3461de
GM
73382012-06-03 Glenn Morris <rgm@gnu.org>
7339
1e266c88
GM
7340 * emacs-lisp/authors.el (authors-aliases): Addition.
7341
0c3461de
GM
7342 * cus-start.el (tool-bar-style, tool-bar-max-label-size):
7343 Fix :version.
7344
d8a52e15
SM
73452012-06-03 Stefan Merten <smerten@oekonux.de>
7346
7347 * textmodes/rst.el: Add comments.
7348 (rst-transition, rst-adornment): New faces.
7349 (rst-adornment-faces-alist): Make default safe to reevaluate.
7350 Fixes
7351 http://sourceforge.net/tracker/?func=detail&atid=422030&aid=3479603&group_id=38414.
7352 Improve customization tags.
7353 (rst-define-level-faces): Clarify meaning.
7354
5205d6f6
CY
73552012-06-03 Chong Yidong <cyd@gnu.org>
7356
7357 * progmodes/compile.el (compilation-mode-line-fail)
7c1898a7
SM
7358 (compilation-mode-line-run, compilation-mode-line-exit):
7359 New faces.
5205d6f6
CY
7360 (compilation-start, compilation-handle-exit): Use them (Bug#11032).
7361
757ee657
JD
73622012-06-03 Jack Duthen <duthen.mac.01@gmail.com> (tiny change)
7363
7c1898a7
SM
7364 * progmodes/which-func.el (which-func-update-ediff-windows):
7365 New function. Use it in ediff-select-hook (Bug#11478).
757ee657 7366
5f2c76c6
CY
73672012-06-03 Chong Yidong <cyd@gnu.org>
7368
7369 * bindings.el: Remove explicit help text from format-mode-line.
7370 It is now supplied by mode-line-default-help-echo.
7371 (mode-line-front-space, mode-line-end-spaces)
7372 (mode-line-misc-info): New variables.
7373 (mode-line-modes, mode-line-position): Move the default value to
7374 the variable definition.
7375 (mode-line-default-help-echo): New defcustom.
383f7350
CY
7376 (mode-line-mule-info-help-echo, mode-line-read-only-help-echo)
7377 (mode-line-modified-help-echo): New functions.
7378 (mode-line-mule-info, mode-line-modified): Use them.
7379 (mode-line-eol-desc, propertized-buffer-identification):
7380 Consistency fixes for help text.
cbe46e5f
CY
7381 (mode-line-coding-system-map): Allow using mouse-3 to invoke
7382 set-buffer-file-coding-system (Bug#289).
7383 (mode-line-mule-info-help-echo): Update help text.
5f2c76c6 7384
f2d6a3df
SM
73852012-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
7386
7387 * simple.el (execute-extended-command): Set real-this-command
7388 (bug#11506).
7389
37269466
CY
73902012-06-02 Chong Yidong <cyd@gnu.org>
7391
7392 Remove incorrect uses of "modeline" in comments, docstrings, and
7393 function/variable names (Bug#10329).
7394
7395 * cus-edit.el (mode-line):
7396 * dframe.el (dframe-mouse-hscroll):
7397 * emacs-lisp/re-builder.el:
7398 * emacs-lisp/easy-mmode.el (define-minor-mode):
7399 * frame.el (set-frame-name):
7400 * help.el (lookup-minor-mode-from-indicator):
7401 * net/rcirc.el (rcirc-activity-string, rcirc-short-buffer-name):
7402 * progmodes/cc-cmds.el (c-toggle-auto-newline)
7403 (c-toggle-hungry-state):
7404 * progmodes/antlr-mode.el (antlr-language-alist):
7405 * progmodes/idlw-shell.el (idlwave-shell-electric-stop-line-face):
7406 * progmodes/vhdl-mode.el (vhdl-mode):
7407 * progmodes/which-func.el (which-func, which-func-cleanup-function):
7408 * term/ns-win.el (ns-face-at-pos):
7409 * term/sup-mouse.el (sup-mouse-report):
7410 * textmodes/flyspell.el (flyspell-mode-line-string):
7411 * textmodes/ispell.el (ispell-highlight-face):
7412 * textmodes/reftex-global.el:
7413 * vc/vc-arch.el (vc-arch-mode-line-string):
7414 * vc/vc-cvs.el (vc-cvs-mode-line-string):
7415 * vc/vc-git.el (vc-git-mode-line-string):
7416 * vc/vc-hooks.el (vc-display-status)
7417 (vc-default-mode-line-string):
7418 * vc/vc-mtn.el (vc-mtn-mode-line-string): Doc fixes.
7419
7420 * ansi-color.el (ansi-color-faces-vector): Change default faces.
7421
7422 * dired.el (dired-sort-set-mode-line): Rename from
7423 dired-sort-set-modeline. All callers changed.
7424
7425 * eshell/esh-mode.el (eshell-status-in-mode-line): Rename from
7426 eshell-status-in-modeline.
7427
7428 * foldout.el (foldout-mode-line-string): Rename from
7429 foldout-modeline-string. All callers changed.
7430 (foldout-update-mode-line): Rename from foldout-update-modeline.
7431
7432 * subr.el (redraw-modeline): Make into obsolete alias.
7433
7434 * calendar/timeclock.el (timeclock-mode-line-display): Rename from
7435 timeclock-modeline-display. Make old name an alias.
7436 (timeclock-update-mode-line): Likewise. All callers changed.
7437 (timeclock-mode-line-display): No need to check before using
7438 add-hook.
7439 (timeclock-relative, timeclock-day-over-hook)
7440 (timeclock-use-elapsed, timeclock-mode-string)
7441 (timeclock-mode-line-display): Doc fix, "modeline" -> "mode line".
7442
7443 * emulation/crisp.el (crisp-mode-mode-line-string): Rename from
7444 crisp-mode-modeline-string.
7445
7446 * play/solitaire.el (solitaire-build-mode-line): Rename from
7447 solitaire-build-modeline. All callers changed.
7448
7449 * play/zone.el (zone-hiding-mode-line): Rename from
7450 zone-hiding-modeline. All callers changed.
7451 (zone): Remove unusued `modeline-hidden-level' property.
7452
7453 * progmodes/xscheme.el (xscheme-mode-line-initialize): Rename from
7454 xscheme-modeline-initialize. All callers changed.
7455
7456 * strokes.el (strokes-lighter): Rename from
7457 strokes-modeline-string.
7458
7459 * textmodes/sgml-mode.el (html-face-tag-alist)
7460 (html-tag-face-alist): Use mode-line face instead of obsolete
7461 alias modeline.
7462
42152ee4
SM
74632012-06-02 Stefan Merten <smerten@oekonux.de>
7464
7465 * textmodes/rst.el: Always require `cl'.
4cf9b38d 7466 (rst-mode-map): Fix meaning of C-M-a / C-M-e.
42152ee4 7467
95f520b5
CY
74682012-06-02 Chong Yidong <cyd@gnu.org>
7469
7470 * image.el (imagemagick-enabled-types): Rename from
7471 imagemagick-types-enable. Add many more types.
7472 (imagemagick-types-inhibit): Change default to nil.
7473 (imagemagick-filter-types): Caller changed.
7474
4a5f187a
SM
74752012-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
7476
03fef3e6
SM
7477 * emacs-lisp/cl-macs.el: Use backquotes.
7478 (cl-transform-function-property): Use eval-and-compile rather than
7479 abusing `require'.
7480 (defstruct): Use declare-function instead of with-no-warnings.
7481
4a5f187a
SM
7482 * emacs-lisp/bytecomp.el: Fix last change (bug#11594).
7483 (byte-compile-output-docform): Re-add the print-circle bindings.
7484 (byte-compile-fix-header): Use #$ just because it's shorter.
7485 (byte-compile-output-file-form): Remove defun/defmacro.
7486
bd56924f
MR
74872012-06-01 Martin Rudalics <rudalics@gmx.at>
7488
7489 * simple.el (choose-completion): Remove now obsolete binding for
7490 owindow.
7491
046e38ce
MA
74922012-06-01 Michael Albinus <michael.albinus@gmx.de>
7493
7494 * net/tramp.el (tramp-check-for-regexp): Search from buffer end,
7495 in order to avoid "Stack overflow in regexp matcher".
7496
32d72c2f
GM
74972012-05-31 Glenn Morris <rgm@gnu.org>
7498
7499 * image.el: For clarity, call imagemagick-register-types at
7500 top-level, rather than relying on a custom :initialize.
7501 (imagemagick-types-enable): New option. (Bug#11557)
60b5f187
GM
7502 (imagemagick-filter-types): New function. (Bug#7406)
7503 (imagemagick-register-types): Use imagemagick-filter-types.
32d72c2f
GM
7504 If disabling support, remove elements altogether rather
7505 than using an impossible regexp.
7506 (imagemagick-types-inhibit): Give it the default init function.
7507
dd41169b
SM
75082012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
7509
4a5f187a
SM
7510 * emacs-lisp/bytecomp.el (byte-compile-fix-header):
7511 Handle arbitrary file name lengths (Bug#11585).
dd41169b 7512
efc00ab1 75132012-05-31 Martin Rudalics <rudalics@gmx.at>
5221ccb9
MR
7514
7515 * desktop.el (desktop-read): Clear previous and next buffers for
7516 all windows and bury *Messages* buffer (bug#11556).
7517
500fcedc
SM
75182012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
7519
7520 Add `declare' for `defun'. Align `defmacro's with it.
7521 * emacs-lisp/easy-mmode.el (define-minor-mode)
7522 (define-globalized-minor-mode): Don't autoload the var definitions.
7523 * emacs-lisp/byte-run.el: Use lexical-binding.
7524 (defun-declarations-alist, macro-declarations-alist): New vars.
7525 (defmacro, defun): Use them.
7526 (make-obsolete, define-obsolete-function-alias)
7527 (make-obsolete-variable, define-obsolete-variable-alias):
7528 Use `declare'.
7529 (macro-declaration-function): Mark obsolete.
7530 * emacs-lisp/autoload.el: Use lexical-binding.
7531 (make-autoload): Add `expansion' arg. Rely more on macro expansion.
7532
6e8a1786
AM
75332012-05-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
7534
7535 * textmodes/ispell.el (ispell-with-no-warnings):
7536 Define as a macro.
500fcedc
SM
7537 (ispell-kill-ispell, ispell-change-dictionary):
7538 Use `called-interactively-p' for Emacs instead of obsolete
6e8a1786
AM
7539 `interactive-p'.
7540
61b108cc
SM
75412012-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
7542
7543 * emacs-lisp/byte-run.el (defmacro, defun): Move from C.
7544 (macro-declaration-function): Move var from C code.
7545 (macro-declaration-function): Define function with defalias.
7546 * emacs-lisp/macroexp.el (macroexpand-all-1):
7547 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form):
7548 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Don't handle
7549 defun/defmacro any more.
7550 * emacs-lisp/bytecomp.el (byte-compile-arglist-signature):
7551 Provide fallback for unknown arglist.
7552 (byte-compile-arglist-warn): Change calling convention.
7553 (byte-compile-output-file-form): Move print-vars binding.
7554 (byte-compile-output-docform): Simplify accordingly.
7555 (byte-compile-file-form-defun, byte-compile-file-form-defmacro)
7556 (byte-compile-defmacro-declaration): Remove.
7557 (byte-compile-file-form-defmumble): Generalize to defalias.
7558 (byte-compile-output-as-comment): Return byte-positions.
7559 Simplify callers accordingly.
7560 (byte-compile-lambda): Use `assert'.
7561 (byte-compile-defun, byte-compile-defmacro): Remove.
7562 (byte-compile-file-form-defalias):
7563 Use byte-compile-file-form-defmumble.
7564 (byte-compile-defalias-warn): Remove.
7565
6d3f7c2f
SM
75662012-05-29 Stefan Merten <smerten@oekonux.de>
7567
7568 * textmodes/rst.el: Silence `checkdoc-ispell' errors where
61b108cc 7569 possible. Fix authors. Improve comments. Improve loading of `cl'.
6d3f7c2f
SM
7570
7571 (rst-mode-abbrev-table): Merge definition.
7572 (rst-mode): Make sure `font-lock-defaults' is buffer local.
7573 (rst-define-key, rst-deprecated-keys, rst-call-deprecated): Refactor.
7574
6dbaa1c7
UJ
75752012-05-29 Ulf Jasper <ulf.jasper@web.de>
7576
7577 * calendar/icalendar.el
7578 (icalendar-export-region): Export UID properly.
7579
d209e2fb 75802012-05-29 Leo Liu <sdl.web@gmail.com>
61b108cc
SM
7581 * calendar/icalendar.el (icalendar-import-format):
7582 Add `icalendar-import-format-uid' (Bug#11525).
6dbaa1c7
UJ
7583 (icalendar-import-format-uid): New.
7584 (icalendar--parse-summary-and-rest, icalendar--format-ical-event):
7585 Export UID.
7586
6876a58d
SM
75872012-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
7588
7589 * emacs-lisp/pcase.el (pcase--expand): Accept different sets of vars in
7590 different alternative patterns.
7591 (pcase-codegen): Be more careful to preserve identity.
7592 (pcase--u1): Don't forget to mark vars as used.
7593
7594 * emacs-lisp/bytecomp.el (byte-compile-constp): Treat #'v as a constant.
7595 (byte-compile-close-variables): Bind byte-compile--outbuffer here...
7596 (byte-compile-from-buffer): ...rather than here.
7597
7598 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Don't re-preprocess
7599 functions from byte-compile-function-environment.
7600
46b7967e
TN
76012012-05-29 Troels Nielsen <bn.troels@gmail.com>
7602
7603 * window.el (window-deletable-p): Avoid deleting the root window
7604 of a frame with an active minibuffer.
7605
69d565e2
MR
76062012-05-29 Martin Rudalics <rudalics@gmx.at>
7607
7608 * simple.el (choose-completion): Use quit-window (Bug#11567).
7609
a149fa51
CY
76102012-05-29 Chong Yidong <cyd@gnu.org>
7611
7612 * whitespace.el (whitespace-cleanup): Fix usage of
7613 whitespace-empty-at-bob-regexp (Bug#11492).
7614
2b311310
AH
76152012-05-29 Aaron S. Hawley <aaron.s.hawley@gmail.com>
7616
7617 * vc/vc.el (vc-revert, vc-rollback): Dont kill vc-diff buffer on
7618 revert (Bug#11488).
7619
b9cb2387
JL
76202012-05-29 Juri Linkov <juri@jurta.org>
7621
7622 * isearch.el (isearch-mode-map): Bind `M-s _' to
7623 `isearch-toggle-symbol'. Bind `M-s c' to
7624 `isearch-toggle-case-fold'.
7625 (search-map): Bind `M-s _' to `isearch-forward-symbol'.
7626 (isearch-forward): Add `M-s _' to the docstring.
7627 (isearch-forward-symbol, isearch-toggle-case-fold)
7628 (isearch-symbol-regexp): New functions. (Bug#11381)
7629
d5e61c1c
JL
76302012-05-29 Juri Linkov <juri@jurta.org>
7631
7632 * isearch.el (isearch-word): Add docstring. (Bug#11381)
7633 (isearch-occur, isearch-search-and-update): If `isearch-word' is
7634 a function, call it to get the regexp.
7635 (isearch-message-prefix): If `isearch-word' holds a symbol, use its
7636 property `isearch-message-prefix' instead of the string "word ".
7637 (isearch-search-fun-default): For the case of `isearch-word',
7638 return a lambda that calls re-search-forward/re-search-backward
7639 with a regexp returned by `word-search-regexp' or by the function
7640 in `isearch-word'.
7641
8cbd80f7
JL
76422012-05-29 Juri Linkov <juri@jurta.org>
7643
7644 * isearch.el (isearch-search-fun-default): New function.
7645 (isearch-search-fun): Move default part to the new function
7646 `isearch-search-fun-default'.
7647 (isearch-search-fun-function): Set the default value to
7648 `isearch-search-fun-default'. (Bug#11381)
7649
7650 * comint.el (comint-history-isearch-end):
7651 Use `isearch-search-fun-default'.
7652 (comint-history-isearch-search): Use `isearch-search-fun-default'
7653 and remove spacial case for `isearch-word'.
7654 (comint-history-isearch-wrap): Remove spacial case for
7655 `isearch-word'.
7656
7657 * hexl.el (hexl-isearch-search-function):
7658 Use `isearch-search-fun-default'.
7659
7660 * info.el (Info-isearch-search): Use `isearch-search-fun-default'.
7661 Use `word-search-regexp' for `isearch-word'.
7662
7663 * misearch.el (multi-isearch-search-fun):
7664 Use `isearch-search-fun-default'.
7665
7666 * simple.el (minibuffer-history-isearch-search):
7667 Use `isearch-search-fun-default' and remove spacial case for
7668 `isearch-word'.
7669 (minibuffer-history-isearch-wrap): Remove spacial case for
7670 `isearch-word'.
7671
7672 * textmodes/reftex-global.el (reftex-isearch-wrap-function):
7673 Remove spacial case for `isearch-word'.
7674 (reftex-isearch-isearch-search): Use `isearch-search-fun-default'.
7675
85c8c5b6
AM
76762012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
7677
7678 Decrease XEmacs incompatibilities.
7679 * textmodes/flyspell.el (flyspell-check-pre-word-p):
7680 Use `string-match'.
7681 (flyspell-delete-region-overlays): Use alternative definition for
7682 XEmacs.
7683 (flyspell-delete-all-overlays): Use `flyspell-delete-region-overlays'.
7684 (flyspell-word): Use `process-kill-without-query' if XEmacs.
7685 (flyspell-mode-on): Use `interactive-p' if XEmacs.
7686 (flyspell-incorrect-face, flyspell-duplicate-face): Do not use
7687 `define-obsolete-face-alias' under XEmacs, but old method.
7688
7689 * textmodes/ispell.el (ispell-with-no-warnings): XEmacs alternative
7690 `with-no-warnings' definition or Emacs alias.
7691 (ispell-command-loop, ispell-message): Use `ispell-with-no-warnings'.
7692 (ispell-word): Do not use `region-p' if XEmacs.
7693
8cab9efc
AM
76942012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
7695
7696 * textmodes/ispell.el (ispell-find-aspell-dictionaries):
7697 Check for `ispell-dictionary-base-alist' instead of full
7698 `ispell-dictionary-alist'.
7699 (ispell-init-process): Show spellchecker when starting new Ispell
7700 process.
7701
fda91268
RZ
77022012-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
7703
7704 * progmodes/vhdl-mode.el: Sync with upstream 3.33.28.
7705 http://www.iis.ee.ethz.ch/~zimmi/emacs/vhdl-mode.html#release-notes-3.33
7706
694ea8e3
JB
77072012-05-27 Juanma Barranquero <lekktu@gmail.com>
7708
7709 * version.el (motif-version-string, gtk-version-string)
7710 (ns-version-string): Declare.
7711
e4d4f539
JL
77122012-05-27 Juri Linkov <juri@jurta.org>
7713
7714 * emacs-lisp/lisp-mode.el (eval-defun-2): Use `eval-sexp-add-defvars'
7715 after the `eval-defun-1' specialcaseing
7716 like in `edebug-eval-defun' (bug#10181).
7717
7718 * emacs-lisp/edebug.el (edebug-eval-defun): Set `face-documentation'
7719 like in `eval-defun-1'.
7720
33017faf 77212012-05-27 Eli Zaretskii <eliz@gnu.org>
b30b64b9 7722
fda91268
RZ
7723 * mail/sendmail.el (mail-yank-region):
7724 Recognize rmail-yank-current-message in addition to insert-buffer.
7725 Fixes mail-mode's "C-c C-r" that otherwise does nothing when invoked in
b30b64b9
EZ
7726 a *mail* buffer created through rmail-start-mail with sendmail as
7727 mail-user-agent.
7728
33017faf
GM
77292012-05-27 Chong Yidong <cyd@gnu.org>
7730
7731 * net/gnutls.el (gnutls-min-prime-bits): Improve docstring.
7732 Default to 256 (Bug#11267).
7733
7734 * help.el (describe-mode): Doc fix.
7735
04188bb9
GM
77362012-05-26 Glenn Morris <rgm@gnu.org>
7737
38264cc9
GM
7738 * w32-fns.el (w32-init-info): Remove.
7739 * paths.el (Info-default-directory-list): Add w32-init-info equivalent.
7740
eb7afdad
GM
7741 * info.el (info-initialize): For self-contained NS builds, put the
7742 included info/ directory at the front. (Bug#2791)
7743
04188bb9
GM
7744 * paths.el (Info-default-directory-list): Make it a defcustom,
7745 mainly so that we can use custom-initialize-delay.
7746
a179e3f7
SM
77472012-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
7748
43416392
SM
7749 * subr.el (buffer-has-markers-at): Mark obsolete.
7750
a179e3f7 7751 * subr.el (lambda): Use declare.
43416392 7752
a179e3f7
SM
7753 * emacs-lisp/lisp-mode.el (lambda):
7754 * emacs-lisp/edebug.el (lambda): Move properties to its definition.
7755
34a008d9
AH
77562012-05-26 Aaron S. Hawley <aaron.s.hawley@gmail.com>
7757
7758 * thingatpt.el (forward-same-syntax): Handle no ARG case. (Bug#11560)
7759
0a3b289f
GM
77602012-05-26 Glenn Morris <rgm@gnu.org>
7761
7762 * progmodes/cc-mode.el (auto-mode-alist): Fix typo.
7763
758c81e8
GM
77642012-05-25 Glenn Morris <rgm@gnu.org>
7765
f9f334f0
GM
7766 * paths.el: Remove no-byte-compile.
7767 * loadup.el: No need to load paths.el uncompiled.
7768
87eb79c2
GM
7769 * image.el (imagemagick-types-inhibit): Doc fix.
7770
758c81e8
GM
7771 * version.el: Remove no-byte-compile and associated formatting.
7772 * loadup.el: No need to load version.el uncompiled. AFAICS, this
7773 is ancient code from when there was an "inc-vers.el".
7774
e7e85dc0
SM
77752012-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
7776
7777 * progmodes/gdb-mi.el: Minor style changes.
7778 (gdb-enable-debug, gdb-speedbar-auto-raise, gdb-many-windows):
7779 Turn into minor modes.
7780 (gdb--if-arrow): Rename from gdb-if-arrow, make it hygienic.
7781 (gdb-mouse-until, gdb-mouse-jump): Adjust uses accordingly.
7782 (gdb-shell): Remove unneeded let-binding.
7783 (gdb-get-many-fields): Eliminate O(n²) behavior.
7784
f31237a4
EZ
77852012-05-25 Eli Zaretskii <eliz@gnu.org>
7786
7787 * cus-start.el <vertical-centering-font-regexp>: Avoid warning on
7788 platforms that don't link in fontset.c.
7789
bc1b21bb
JL
77902012-05-25 Juri Linkov <juri@jurta.org>
7791
7792 Use the same diff color scheme as in modern VCSes (bug#10181).
7793
7794 * vc/diff-mode.el (diff-header, diff-file-header): Remove "green"
7795 to avoid confusion with `diff-added' that now uses green colors.
7796 (diff-removed): Use shades of red.
7797 (diff-added): Use shades of green.
7798 (diff-changed): Leave just the yellow color.
7799 (diff-use-changed-face): New variable.
7800 (diff-font-lock-keywords): Use `diff-use-changed-face' to decide
7801 how to highlight context diff changes.
7802 (diff-refine-change): Use shades of yellow.
7803 (diff-refine-removed): New face that uses shades of red.
7804 (diff-refine-added): New face that uses shades of green.
7805 (diff-refine-hunk): Use `diff-refine-change', `diff-refine-added',
7806 `diff-refine-removed' in the call to `smerge-refine-subst'
7807 depending on the value of `diff-use-changed-face'.
7808
7809 * vc/smerge-mode.el (smerge-mine): Use shades of red.
7810 (smerge-other): Use shades of green.
7811 (smerge-base): Use shades of yellow.
7812 (smerge-refined-change): Empty face.
7813 (smerge-refined-removed): New face that uses shades of red.
7814 (smerge-refined-added): New face that uses shades of green.
7815 (smerge-refine-subst): Rename arg `props' to `props-c'. Add new
7816 args `props-r' and `props-a', and use them. Doc fix.
7817 (smerge-refine): Evaluate `smerge-use-changed-face' and depending
7818 on its value use different faces `smerge-refined-change',
7819 `smerge-refined-removed', `smerge-refined-added' in the call to
7820 `smerge-refine-subst'.
7821
7822 * vc/ediff-init.el (ediff-current-diff-A, ediff-fine-diff-A):
7823 Add face condition `min-colors 88' with shades of red.
7824 (ediff-current-diff-B, ediff-fine-diff-B): Add face condition
7825 `min-colors 88' with shades of green.
7826 (ediff-current-diff-C, ediff-fine-diff-C): Add face condition
7827 `min-colors 88' with shades of yellow.
7828
6df9112c
GM
78292012-05-24 Glenn Morris <rgm@gnu.org>
7830
ead5edc0
GM
7831 * paths.el (prune-directory-list, remote-shell-program): Move to...
7832 * files.el (prune-directory-list, remote-shell-program): ...here.
7833 For the latter, delay initialization, prefer ssh, just search PATH.
7834
f18b81e6
GM
7835 * paths.el (term-file-prefix): Move to faces.el (the only user).
7836 * faces.el (term-file-prefix): Move here, make it a defcustom.
7837
ee2f89a6
GM
7838 * paths.el (news-directory, news-path, news-inews-program):
7839 Move to gnus/nnspool.el.
61a583ca 7840
f8815e4c
GM
7841 * paths.el (gnus-default-nntp-server): Remove (gnus.el defines it).
7842
c8f3b42c
GM
7843 * paths.el (rmail-file-name, rmail-spool-directory): Move from here...
7844 * mail/rmail.el (rmail-file-name, rmail-spool-directory): ... to here.
7845 Make the latter a defcustom, with a delayed initialization.
7846
6df9112c
GM
7847 * paths.el (gnus-nntp-service, gnus-local-organization): Remove.
7848 These were deleted from Gnus itself late 2010.
7849
5dadff36
JB
78502012-05-22 Juanma Barranquero <lekktu@gmail.com>
7851
9e1701c6
JB
7852 * progmodes/which-func.el (which-func-ff-hook):
7853 Check against user-error, not error.
7854
bd7239f5 7855 * emacs-lisp/edebug.el (top): Do not load or set up loading of
5dadff36
JB
7856 cl-specs.el, which no longer exists.
7857
3290526d
GM
78582012-05-22 Glenn Morris <rgm@gnu.org>
7859
7860 * info.el (info-emacs-bug): New command.
7861 * menu-bar.el (menu-bar-help-menu): Add "How to Report a Bug" to Help.
7862 * mail/emacsbug.el (report-emacs-bug): Replace with info-emacs-bug.
7863
ff0c3cfb
GM
78642012-05-21 Glenn Morris <rgm@gnu.org>
7865
7866 * makefile.w32-in (update-subdirs-SH):
7867 * Makefile.in (update-subdirs): Update for moved update-subdirs.
7868
5814f126
SM
78692012-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
7870
a52c0aa0
SM
7871 * hi-lock.el (hi-lock-face-defaults): Move obsolete before definition.
7872
5814f126
SM
7873 * progmodes/compile.el (compilation-error-regexp-alist-alist):
7874 Simplify Maven regexp, and make sure the file can't start with a space
7875 (bug#11517).
7876
b847032c
GM
78772012-05-21 Glenn Morris <rgm@gnu.org>
7878
7879 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
7880 Scrap superfluous subshells.
7881
3858bfe7
SM
78822012-05-19 Stefan Monnier <monnier@iro.umontreal.ca>
7883
7884 * emacs-lisp/bytecomp.el (byte-compile-root-dir): New var.
7885 (byte-compile-warning-prefix, batch-byte-compile-file): Use it.
7886
d14b0029
JB
78872012-05-19 Jay Belanger <jay.p.belanger@gmail.com>
7888
7889 * calc/calc.el (calc-ensure-consistent-units): New variable.
7890
a52c0aa0
SM
7891 * calc/calc-units.el (math-consistent-units-p)
7892 (math-check-unit-consistency): New functions.
7893 (calc-quick-units, calc-convert-units):
7894 Use `math-check-unit-consistency' when `calc-ensure-consistent-units'
7895 is non-nil.
d14b0029
JB
7896 (calc-extract-units): Fix typo.
7897
60c4db3a
SM
78982012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
7899
77f3b62e
SM
7900 * vc/vc-bzr.el (vc-bzr-state-heuristic): Save match-data around sha1.
7901
60c4db3a
SM
7902 * textmodes/flyspell.el: Commenting style, plus code simplifications.
7903 (flyspell-default-deplacement-commands): Don't spell check after
7904 repeated window/frame switches (e.g. triggered by mouse-movement).
7905 (flyspell-delay-commands, flyspell-deplacement-commands): Use mapc.
7906 (flyspell-debug-signal-word-checked): Simplify and fit in 80 cols.
7907 (flyspell-casechars-cache, flyspell-ispell-casechars-cache)
7908 (flyspell-not-casechars-cache, flyspell-ispell-not-casechars-cache):
7909 Remove unused vars.
7910 (flyspell-get-casechars, flyspell-get-not-casechars):
7911 Simplify; Don't bother removing a ] just to add it back.
7912 * textmodes/ispell.el (ispell-program-name): Use executable-find.
7913
d209e2fb 79142012-05-18 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
b1a10716
RS
7915
7916 * calc/calc-lang.el (math-C-parse-bess, math-C-parse-fma):
7917 New functions.
bd7239f5 7918 (math-function-table): Add support for more C functions.
b1a10716 7919
3f1b25b5
AM
79202012-05-18 Agustín Martín Domingo <agustin.martin@hispalinux.es>
7921
090bd7cb
JB
7922 * textmodes/flyspell.el (flyspell-check-pre-word-p)
7923 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
7924 Protect delay handling for otherchars against empty otherchars.
3f1b25b5 7925
b581bb5c
SM
79262012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
7927
7928 * emacs-lisp/lisp-mode.el (doc-string-elt): Move those properties to
7929 their respective macro declarations.
7930 * skeleton.el (define-skeleton):
7931 * progmodes/compile.el (define-compilation-mode):
7932 * ibuf-macs.el (define-ibuffer-sorter, define-ibuffer-op)
7933 (define-ibuffer-filter):
7934 * emacs-lisp/generic.el (define-generic-mode):
7935 * emacs-lisp/easy-mmode.el (define-minor-mode)
7936 (define-globalized-minor-mode):
7937 * emacs-lisp/cl-macs.el (defun*, defmacro*, defstruct, deftype):
7938 * emacs-lisp/byte-run.el (defsubst):
7939 * custom.el (deftheme): Add doc-string metadata.
7940
70b8ef8f
SM
79412012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
7942
7943 * emacs-lisp/cl-macs.el, emacs-lisp/cl.el: Move indent info.
7944
b1198e17
SM
79452012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
7946
9abdc45d
SM
7947 * emacs-lisp/pcase.el (pcase--u1): Avoid ((lambda ...) ...).
7948
b1198e17
SM
7949 * emacs-lisp/cl.el: Add edebug specs from cl-specs.el.
7950 * emacs-lisp/cl-macs.el: Idem.
7951 * emacs-lisp/cl-specs.el: Remove.
7952
4735906a
SM
79532012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
7954
7955 Minor renaming of internal CL functions and variables.
7956 * emacs-lisp/cl-seq.el (cl--adjoin): Rename from cl-adjoin.
7957 (cl--position): Rename from cl-position.
7958 (cl--delete-duplicates): Rename from cl-delete-duplicates.
7959 * emacs-lisp/cl.el (cl--gensym-counter): Rename from *gensym-counter*.
7960 (cl--random-state): Rename from *random-state*.
7961
ac348012
SM
79622012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
7963
7964 * emacs-lisp/cl-macs.el (cl-transform-lambda): Don't add spurious
7965 parens around the arg list (bug#11499).
7966
a0a79cde
JL
79672012-05-17 Juri Linkov <juri@jurta.org>
7968
7969 * isearch.el (word-search-regexp, word-search-backward)
7970 (word-search-forward, word-search-backward-lax)
7971 (word-search-forward-lax): Move functions from search.c
7972 (bug#10145, bug#11381).
7973
65034a51
AM
79742012-05-16 Agustín Martín Domingo <agustin.martin@hispalinux.es>
7975
090bd7cb
JB
7976 * textmodes/flyspell.el (flyspell-check-pre-word-p)
7977 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
7978 Delay for otherchars as for normal word components.
65034a51 7979
1a72a195
SM
79802012-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
7981
7982 * minibuffer.el (completion--sifn-requote): Fix last change.
7983 (minibuffer-local-must-match-filename-map):
7984 Move define-obsolete-variable-alias before its var.
7985
fdb058c2
SM
79862012-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
7987
c41045e6
SM
7988 * emacs-lisp/pcase.el (pcase-let*, pcase-let): Fix edebug spec.
7989
036dfb8b
SM
7990 * minibuffer.el (completion--sifn-requote): Handle sifn's truncation
7991 behavior.
7992 (completion--string-equal-p): New function.
7993 (completion--twq-all): Use it to get better assertion failure data.
7994
2473256d
SM
7995 Only handle ".." and '..' quoting in shell-mode (bug#11466).
7996 * shell.el (shell--unquote&requote-argument, shell--unquote-argument)
7997 (shell--requote-argument): New functions.
7998 (shell-completion-vars): Use them.
7999 (shell--parse-pcomplete-arguments): Rename from
8000 shell-parse-pcomplete-arguments.
8001 * comint.el (comint-word): Obey comint-file-name-quote-list. Simplify.
8002 (comint--unquote&requote-argument): Don't handle ".." and '..' quoting.
8003 Obey comint-file-name-quote-list.
8004
fdb058c2
SM
8005 * emacs-lisp/smie.el (smie-indent--bolp-1): New function.
8006 (smie-indent-keyword): Use it.
8007
51fa99f1
SM
80082012-05-14 Stefan Merten <smerten@oekonux.de>
8009
8010 * textmodes/rst.el (rst-re-alist): Fix loading (bug#11462).
8011
e18afed7 80122012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
d9d1dfef
SM
8013
8014 * net/rlogin.el (rlogin-mode-map): Fix last change.
8015
e18afed7 80162012-05-14 Jason L. Wright <jason.wright@inl.gov> (tiny change)
8633b1f4
JW
8017
8018 * mail/smtpmail.el (smtpmail-send-command): Send the command and
8019 the following \r\n using a single `process-send-string', since the
8020 Lotus SMTP server refuses to accept any commands if they are sent
e18afed7 8021 with two `process-send-string's (Bug#11444).
8633b1f4 8022
e18afed7 80232012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
fe263b8f 8024
fdb058c2
SM
8025 * shell.el (shell-parse-pcomplete-arguments):
8026 Obey pcomplete-arg-quote-list inside double-quoted args (Bug#11348).
e18afed7 8027
2d21d7f6
WJ
80282012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
8029
e18afed7 8030 * image-mode.el: Fit to width/height for rotated images (Bug#11431).
2d21d7f6
WJ
8031 (image-transform-scale, image-transform-right-angle-fudge): New vars.
8032 (image-transform-width, image-transform-fit-width): New functions.
8033 (image-transform-properties): Use them.
8034 (image-transform-check-size): New function.
8035 (image-toggle-display-image): Use it (for testing).
8036 (image-transform-set-rotation): Reduce angle mod 360.
8037 Delete obsolete comment.
8038
7102e6d0
WJ
80392012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
8040
8041 * image-mode.el: Fix scaling (bug#11399).
8042 (image-transform-resize): Doc fix.
8043 (image-transform-properties): Default scale is 1 and height should
8044 be an integer.
8045
06bc5e6e
SM
80462012-05-13 Johan Bockgård <bojohan@gnu.org>
8047
8048 * emacs-lisp/smie.el (smie-next-sexp): Use accessor `op-forw' rather
8049 than hard-coding `car', to fix misbehavior when moving forward.
8050
0ae03b6a
CY
80512012-05-13 Chong Yidong <cyd@gnu.org>
8052
8053 * emacs-lisp/tabulated-list.el (tabulated-list-format)
8054 (tabulated-list-entries, tabulated-list-padding)
8055 (tabulated-list-sort-key): Make permanent-local.
8056
8057 * ebuff-menu.el: Adapt to Buffer Menu changes (Bug#11455).
8058 (electric-buffer-list): Put electric buffer menu
8059 command descriptions in this docstring, instead of the docstring
8060 of electric-buffer-menu-mode. Code cleanups.
8061 (electric-buffer-menu-mode): Use define-derived-mode. Rename from
8062 Electric-buffer-menu-mode.
8063 (electric-buffer-update-highlight): Minor code cleanup.
8064
205a7391
MA
80652012-05-13 Michael Albinus <michael.albinus@gmx.de>
8066
8067 * net/dbus.el (dbus-call-method): Restore events not from D-Bus.
8068 (Bug#11447)
8069
e5bd0a28
SM
80702012-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
8071
8072 Move define-obsolete-variable-alias before the var's definition.
8073 * vc/log-edit.el (vc-comment-ring, vc-comment-ring-index):
8074 * tooltip.el (tooltip-hook):
8075 * textmodes/reftex-toc.el (reftex-toc-map):
8076 * textmodes/reftex-sel.el (reftex-select-label-map)
8077 (reftex-select-bib-map):
8078 * textmodes/reftex-index.el (reftex-index-map)
8079 (reftex-index-phrases-map):
8080 * speedbar.el (speedbar-syntax-table, speedbar-key-map):
8081 * progmodes/meta-mode.el (meta-mode-map):
8082 * novice.el (disabled-command-hook):
8083 * loadhist.el (unload-hook-features-list):
8084 * frame.el (blink-cursor):
8085 * files.el (find-file-not-found-hooks, write-file-hooks)
8086 (write-contents-hooks):
8087 * emulation/tpu-edt.el (GOLD-map):
8088 * emacs-lock.el (emacs-lock-from-exiting):
8089 * emacs-lisp/generic.el (generic-font-lock-defaults):
8090 * emacs-lisp/chart.el (chart-map):
8091 * dos-fns.el (register-name-alist):
8092 * dired-x.el (dired-omit-files-p):
8093 * desktop.el (desktop-enable):
8094 * cus-edit.el (custom-mode-hook):
8095 * buff-menu.el (buffer-menu-mode-hook):
8096 * bookmark.el (bookmark-read-annotation-text-func)
8097 (bookmark-exit-hooks):
8098 * allout.el (allout-mode-deactivate-hook)
8099 (allout-exposure-change-hook, allout-structure-added-hook)
8100 (allout-structure-deleted-hook, allout-structure-shifted-hook):
8101 * dirtrack.el (dirtrack-toggle, dirtrackp, dirtrack-debug-toggle)
8102 (dirtrack-debug): Move call to define-obsolete-variable-alias so it
8103 comes before the corresponding variable's definition.
8104
ac59c2f6
CY
81052012-05-12 Chong Yidong <cyd@gnu.org>
8106
8107 * buff-menu.el (Buffer-menu-buffer+size-width): Doc fix (Bug#11454).
0d909786
CY
8108 (Buffer-menu-mouse-select): Restore function (Bug#11459).
8109 (Buffer-menu-mode-map): Bind it.
8110 (Buffer-menu--pretty-name): Add a mouse-face property.
ac59c2f6 8111
dee6c9a3
SM
81122012-05-11 Stefan Monnier <monnier@iro.umontreal.ca>
8113
2171cea5
SM
8114 * progmodes/prolog.el: Use SMIE. Cleanup regexp setup.
8115 (prolog-upper-case-string, prolog-lower-case-string)
8116 (prolog-atom-char-regexp, prolog-atom-regexp): Initialize in defconst.
8117 (prolog-use-smie, prolog-smie-grammar): New vars.
8118 (prolog-smie-forward-token, prolog-smie-backward-token)
8119 (prolog-smie-rules): New funs.
8120 (prolog-comment-indent): Remove.
8121 (prolog-mode-variables): Use default comment indentation instead.
8122 Setup SMIE.
8123 (prolog-build-case-strings, prolog-set-atom-regexps): Remove.
8124 (prolog-mode): Don't call them any more.
8125 (prolog-electric-colon, prolog-electric-dash)
8126 (prolog-edit-menu-insert-move): Use indent-according-to-mode.
8127
aa0382bd
SM
8128 * dabbrev.el (dabbrev-expand): Make "no expansion found" a user-error.
8129
dbacb4bd
SM
8130 * minibuffer.el (completion--twq-all): Again, allow case differences.
8131
13bdd94c
SM
8132 * term.el: Move keymap initialization code to be more idiomatic.
8133 (term-signals-menu, term-mode-map, term-raw-map, term-raw-escape-map)
8134 (term-terminal-menu): Move initialization into declaration.
8135 (term-escape-char): Let the user set it in her .emacs.
8136
ff46c759
SM
8137 * progmodes/sh-script.el: Use post-self-insert-hook&electric-pair-mode.
8138 Provide SMIE-based indentation (not enabled by default yet).
8139 (sh-mode-map): Don't bind electric keys.
8140 Use electric-pair-mode instead of skeleton-pair.
8141 (sh-assignment-regexp): Fit within 80 columns.
8142 (sh-indent-supported): Specify actual shell name instead of boolean.
8143 (sh--maybe-here-document): New fun, from sh-maybe-here-document.
8144 (sh-maybe-here-document): Use it. Make obsolete.
8145 (sh-electric-here-document-mode) New minor mode.
8146 (sh-mode): Use it. Don't set sh-indent-supported-here here.
8147 (sh-smie-sh-grammar, sh-smie--sh-operators, sh-smie--sh-operators-re)
8148 (sh-smie--sh-operators-back-re, sh-indent-after-continuation)
8149 (sh-smie-rc-grammar, sh-use-smie): New vars.
8150 (sh-smie--keyword-p, sh-smie--newline-semi-p, sh-smie--sh-keyword-p)
8151 (sh-smie-sh-forward-token, sh-smie--looking-back-at-continuation-p)
8152 (sh-smie-sh-backward-token, sh-smie--continuation-start-indent)
8153 (sh-smie-sh-rules, sh-smie-rc-rules, sh-smie--sh-keyword-in-p)
8154 (sh-smie--rc-after-special-arg-p, sh-smie-rc-backward-token)
8155 (sh-smie-sh-rules, sh-smie--rc-newline-semi-p): New functions.
8156 (sh-set-shell): Use smie-setup if requested.
8157
dee6c9a3
SM
8158 * term.el (term-set-escape-char): Properly set term-escape-char.
8159 See http://stackoverflow.com/questions/10524656.
8160
9f9aa044
CY
81612012-05-10 Chong Yidong <cyd@gnu.org>
8162
8163 * ffap.el (ffap-url-unwrap-local): Make it work right (Bug#9131).
8164 Use url-generic-parse-url, and handle host names and Windows
8165 filenames properly.
8166 (ffap-url-unwrap-remote): Use url-generic-parse-url.
8167 (ffap-url-unwrap-remote): Accept list values, specifying a list of
8168 URL schemes to work on.
8169 (ffap--toggle-read-only): New function.
8170 (ffap-read-only, ffap-read-only-other-window)
8171 (ffap-read-only-other-frame): Use it.
8172 (ffap-fixup-url): Don't check ffap-ftp-regexp, since it is not
8173 necessary for ffap-url-unwrap-remote.
8174
836d29b3
DA
81752012-05-10 Dave Abrahams <dave@boostpro.com>
8176
8177 * cus-start.el (create-lockfiles): Add it.
8178
00fd78ed
CY
81792012-05-09 Chong Yidong <cyd@gnu.org>
8180
8181 * net/browse-url.el (browse-url-url-encode-chars): Use upper-case.
8182 (browse-url-encode-url): Encode spaces and quotes (Bug#6300).
8183
666b903b 81842012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
1cb51c12
SM
8185
8186 * shell.el (shell-completion-vars): Fix last change (bug#11348).
8187
666b903b 81882012-05-09 Chong Yidong <cyd@gnu.org>
18f00515
CY
8189
8190 * ansi-color.el (ansi-color-process-output): Check for validity of
8191 comint-last-output-start before using it. This avoids a bad
8192 interaction with gdb-mi's input/output buffer.
8193
666b903b 81942012-05-09 Glenn Morris <rgm@gnu.org>
fd075e7b
GM
8195
8196 * files.el (dir-locals-read-from-file):
8197 Mention dir-locals in any error message.
8198
666b903b 81992012-05-09 Chong Yidong <cyd@gnu.org>
25f292cd
CY
8200
8201 * emacs-lisp/package.el (package-built-in-p): Handle the `emacs'
8202 package (Bug#11410).
8203
f677562b
CY
8204 * emacs-lisp/package.el (package-buffer-info): Avoid putting local
8205 variables into description.
8206
666b903b 82072012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
3d53ee1b
SM
8208
8209 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list like
8210 shell-delimiter-argument-list (bug#11348).
8211 (shell-parse-pcomplete-arguments): Obey pcomplete-arg-quote-list.
8212
b499d8d0
JB
82132012-05-09 Juanma Barranquero <lekktu@gmail.com>
8214
8f6b6da8
JB
8215 * textmodes/rst.el: Silence byte-compiler warnings.
8216 (rst-re-alist, rst-reset-section-caches): Move around.
8217 (rst-re): Use `characterp', not `char-valid-p'.
8218 (font-lock-beg, font-lock-end): Declare.
8219
4824146a
JB
8220 * progmodes/idlw-shell.el (specs): Remove reference to deleted
8221 variable `idlwave-shell-activate-alt-keybindings' and simplify.
8222
b499d8d0
JB
8223 * eshell/esh-cmd.el (eshell-debug-command): Fix typo in previous change.
8224
ad89bb83
GM
82252012-05-08 Glenn Morris <rgm@gnu.org>
8226
8227 * files.el (auto-mode-alist): Treat ".make" like ".mk".
8228
8bba5a75
SM
82292012-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
8230
49ed9c8e
SM
8231 * vc/log-edit.el: Add GNU coding standards highlighting.
8232 (log-edit-font-lock-gnu-style)
8233 (log-edit-font-lock-gnu-keywords): New vars.
8234 (log-edit-font-lock-keywords): New fun.
8235 (log-edit-mode): Don't fold case in font-lock.
8236 (log-edit-font-lock-keywords): Do not assume case-folding.
8237
07d00b56
SM
8238 * imenu.el: Misc cleanup. Make docstrings out of comments.
8239 Use lexical-binding.
8240 (imenu--index-alist, imenu--last-menubar-index-alist)
8241 (imenu-menubar-modified-tick): Use defvar-local.
8242 (imenu--split-menu): Remove unused var.
8243 (imenu--cleanup-seen): Declare as global.
8244 (imenu--cleanup): Use dolist.
8245
8bba5a75
SM
8246 * subr.el (defvar-local): Add debug spec and doc-string position.
8247
5075bdb5
GM
82482012-05-08 Glenn Morris <rgm@gnu.org>
8249
090bd7cb 8250 * language/burmese.el, language/cham.el, language/czech.el:
c052c904
GM
8251 * language/english.el, language/georgian.el, language/greek.el:
8252 * language/japanese.el, language/khmer.el, language/korean.el:
8253 * language/lao.el, language/misc-lang.el, language/romanian.el:
8254 * language/sinhala.el, language/slovak.el, language/tai-viet.el:
8255 * language/thai.el, language/utf-8-lang.el:
8256 Remove no-byte-compile setting.
8257
5075bdb5
GM
8258 * play/zone.el (zone-pgm-stress): Don't pollute kill-ring. (Bug#11388)
8259
06f679a7
AH
82602012-05-08 Aaron S. Hawley <aaron.s.hawley@gmail.com>
8261
8262 * progmodes/make-mode.el (makefile-browse):
8263 Remove unnecessary interactive. (Bug#11324)
8264
03794570
GM
82652012-05-07 Glenn Morris <rgm@gnu.org>
8266
af8630f4
GM
8267 * forms-d2.el, forms-pass.el: Move to ../etc/forms directory.
8268
03794570
GM
8269 * international/mule.el (find-auto-coding): Make "unibyte: t" obsolete.
8270
f0809a9d
SM
82712012-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
8272
28be5ce7
SM
8273 * loadup.el: Preload newcomment.el.
8274 * newcomment.el: Move autoload-only code to toplevel.
8275
f0809a9d
SM
8276 * buff-menu.el (list-buffers--refresh): Mark `size' as right-align.
8277 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
8278 Handle new :right-align column property.
8279 (tabulated-list-print-col): Idem, plus use `display' text-property to
8280 try and preserve alignment for variable pitch fonts.
8281
1241b724
CY
82822012-05-07 Chong Yidong <cyd@gnu.org>
8283
8284 * emacs-lisp/tabulated-list.el: Add no-header-line alternative.
8285 (tabulated-list-use-header-line): New var.
8286 (tabulated-list-init-header): Use it.
8287 (tabulated-list-print-fake-header): New function.
8288 (tabulated-list-print): Use it.
8289 (tabulated-list-sort-button-map): Add non-header-line commands.
8290 (tabulated-list-init-header): Add column name property to basic
8291 labels as well.
8292 (tabulated-list-col-sort): Handle non-header-line button case.
8293 (tabulated-list--sort-by-column-name): Fix a corner case.
8294
f0809a9d
SM
8295 * buff-menu.el (list-buffers--refresh):
8296 Handle Buffer-menu-use-header-line.
1241b724 8297
e5f9458f
CY
82982012-05-06 Chong Yidong <cyd@gnu.org>
8299
8300 * buff-menu.el: Convert to Tabulated List mode.
8301 (Buffer-menu-buffer+size-width): Make obsolete.
8302 (Buffer-menu-name-width, Buffer-menu-size-width): New variables.
8303 (Buffer-menu-mode-map): Inherit from tabulated-list-mode-map.
8304 (Buffer-menu-mode): Derive from tabulated-list-mode. Move command
8305 documentation into docstring of buffer-menu.
8306 (Buffer-menu-toggle-files-only): Add an informative message.
8307 (Buffer-menu-sort): Convert to alias for tabulated-list-sort.
8308 (Buffer-menu-buffer, Buffer-menu-beginning, Buffer-menu-mark)
8309 (Buffer-menu-unmark, Buffer-menu-backup-unmark)
8310 (Buffer-menu-delete, Buffer-menu-save, Buffer-menu-not-modified)
8311 (Buffer-menu-execute, Buffer-menu-select)
8312 (Buffer-menu-marked-buffers, Buffer-menu-toggle-read-only)
8313 (Buffer-menu-bury): Use Tabulated List machinery.
8314 (Buffer-menu-mouse-select, Buffer-menu-sort-by-column)
8315 (Buffer-menu-sort-button-map, Buffer-menu-make-sort-button):
f0809a9d 8316 Delete.
e5f9458f
CY
8317 (list-buffers--refresh): New function.
8318 (list-buffers-noselect): Use it.
8319 (tabulated-list-entry-size->, Buffer-menu--pretty-name)
8320 (Buffer-menu--pretty-file-name): New helper functions.
8321
8322 * loadup.el: Preload tabulated-list.
8323
8324 * emacs-lisp/tabulated-list.el (tabulated-list-sort): Rename from
8325 tabulated-list-sort-column.
8326 (tabulated-list-init-header): Add the initial aligning space even
8327 if tabulated-list-padding is zero.
8328
e129292c
CS
83292012-05-06 Christopher Schmidt <christopher@ch.ristopher.com>
8330
8331 * emacs-lisp/cl-macs.el (cl-expr-contains): Handle cons cells
8332 whose cdr is not a cons cell correctly (bug#11038).
8333
6632d361
CY
83342012-05-06 Chong Yidong <cyd@gnu.org>
8335
e129292c
CS
8336 * emacs-lisp/tabulated-list.el (tabulated-list-format):
8337 Accept additional plist in column descriptors.
6632d361
CY
8338 (tabulated-list-init-header): Obey it.
8339 (tabulated-list-get-entry): New function.
8340 (tabulated-list-put-tag): Use it. Use string-width instead of
8341 length.
8342 (tabulated-list--column-number): New function.
8343 (tabulated-list-print): Use it.
e129292c
CS
8344 (tabulated-list-print-col): New function.
8345 Set `tabulated-list-column-name' property on each column's text.
6632d361 8346 (tabulated-list-print-entry): Use it.
e129292c
CS
8347 (tabulated-list-delete-entry, tabulated-list-set-col):
8348 New functions.
6632d361
CY
8349 (tabulated-list-sort-column): New command (Bug#11337).
8350
3cc99f68
CY
8351 * buff-menu.el (list-buffers): Move C-x C-b binding from
8352 buff-menu.el to bindings.el.
8353
8354 * ebuff-menu.el (Electric-buffer-menu-undefined): Use the
8355 :advertised-binding feature.
8356
52b61776
TN
83572012-05-06 Troels Nielsen <bn.troels@gmail.com> (tiny change)
8358
8359 * progmodes/compile.el (compilation-internal-error-properties):
8360 Calculate start position correctly when end-col is set but
8361 end-line is not (Bug#11382).
8362
ebfe2597
WJ
83632012-05-06 Wolfgang Jenkner <wjenkner@inode.at>
8364
8365 * man.el (Man-unindent): Use text-property-default-nonsticky to
8366 prevent untabify from inheriting face properties (Bug#11408).
8367
6d3f7c2f
SM
83682012-05-05 Stefan Merten <smerten@oekonux.de>
8369
8370 * textmodes/rst.el: Major merge with upstream development up to
8371 Docutils SVN r7399 / rst.el V1.2.1.
8372
8373 Clarify maintainership and authors.
8374
8375 (rst-extract-version, rst-cvs-header, rst-cvs-rev)
8376 (rst-cvs-timestamp, rst-svn-rev, rst-svn-timestamp)
8377 (rst-official-version, rst-official-cvs-rev, rst-version)
8378 (rst-package-emacs-version-alist): New functions and variables
8379 for version information.
8380
8381 (rst-bullets, rst-uri-schemes, rst-adornment-chars)
8382 (rst-max-inline-length, rst-re-alist-def, rst-re-alist)
8383 (rst-mode-syntax-table, rst-mode): New and corrected functions
8384 and variables representing reStructuredText features.
8385
8386 (rst-re): New function for reStructuredText regexes. Use in
8387 many places.
8388
8389 (rst-deprecated-keys, rst-call-deprecated, rst-define-key)
8390 (rst-mode-map): Rebind keys.
8391
8392 (rst-mode-lazy, rst-font-lock-keywords)
8393 (rst-font-lock-extend-region)
8394 (rst-font-lock-extend-region-internal)
8395 (rst-font-lock-extend-region-extend)
8396 (rst-font-lock-find-unindented-line-limit)
8397 (rst-font-lock-find-unindented-line-match)
8398 (rst-adornment-level, rst-font-lock-adornment-level)
8399 (rst-font-lock-adornment-match)
8400 (rst-font-lock-handle-adornment-pre-match-form)
8401 (rst-font-lock-handle-adornment-matcher): Major revision of
8402 font-locking. Integrate with other code. Use `jit-lock-mode'.
8403
8404 (rst-preferred-adornments, rst-adjust-hook)
8405 (rst-new-adornment-down, rst-preferred-bullets)
8406 (rst-preferred-bullets, rst-indent, rst-indent-width)
8407 (rst-indent-field, rst-indent-literal-normal)
8408 (rst-indent-literal-minimized, rst-indent-comment): Change,
8409 extend and improve customization.
8410
8411 (rst-line-homogeneous-p, rst-line-homogeneous-nodent-p)
8412 (rst-normalize-cursor-position, rst-get-decoration)
8413 (rst-straighten-deco-spacing, rst-re-bullets, rst-re-items)
8414 (rst-rstrip, rst-toc-insert-find-delete-contents)
8415 (rst-shift-fill-region, rst-compute-bullet-tabs)
8416 (rst-debug-print-tabs, rst-debug-mark-found)
8417 (rst-shift-region-guts, rst-shift-region-right)
8418 (rst-shift-region-left, rst-use-char-classes)
8419 (rst-font-lock-keywords-function)
8420 (rst-font-lock-indentation-point)
8421 (rst-font-lock-find-unindented-line-begin)
8422 (rst-font-lock-find-unindented-line-end)
8423 (rst-font-lock-find-unindented-line)
8424 (rst-font-lock-adornment-point, rst-font-lock-level)
8425 (rst-adornment-level-alist): Remove functions and variables.
8426
8427 (rst-compare-adornments, rst-get-adornment-match)
8428 (rst-suggest-new-adornment, rst-get-adornments-around)
8429 (rst-adornment-complete-p, rst-get-next-adornment)
8430 (rst-adjust-adornment, rst-display-adornments-hierarchy)
8431 (rst-straighten-adornments): Standardize function names to
8432 use "adornment" instead of "decoration". Correct callers.
8433 Similar standardizing in many places.
8434
8435 (rst-update-section, rst-adjust, rst-promote-region)
8436 (rst-enumerate-region, rst-bullet-list-region)
8437 (rst-repeat-last-character): Correct use of `interactive'.
8438
8439 (rst-classify-adornment, rst-find-all-adornments)
8440 (rst-get-hierarchy, rst-adjust-adornment, rst-toc-update)
8441 (rst-find-leftmost-column, rst-repeat-last-character):
8442 Refactor functions.
8443
8444 (rst-find-title-line, rst-reset-section-caches)
8445 (rst-get-adornments-around, rst-adjust-adornment-work)
8446 (rst-arabic-to-roman, rst-roman-to-arabic)
8447 (rst-insert-list-pos, rst-insert-list-new-item)
8448 (rst-insert-list-continue, rst-insert-list, rst-forward-line):
8449 New functions.
8450
8451 (rst-all-sections, rst-section-hierarchy)
8452 (rst-arabic-to-roman, rst-initial-enums, rst-initial-items):
8453 New variables.
8454
8455 (rst-toc-return-wincfg, rst-toc-quit-window): Use window
8456 configuration instead of only buffer. Change where necessary.
8457
8458 (rst-line-tabs, rst-compute-tabs, rst-indent-line)
8459 (rst-shift-region, rst-adaptive-fill): New functions for
8460 indentation and filling.
8461
8462 (rst-comment-line-break, rst-comment-indent)
8463 (rst-comment-insert-comment, rst-comment-region)
8464 (rst-uncomment-region): New functions for handling comments.
8465
8466 (rst-compile): Quote shell arguments.
8467
8468 (rst-compile-pdf-preview, rst-compile-slides-preview):
8469 Delete temporary files after use.
8470
a43f98b3
GM
84712012-05-05 Glenn Morris <rgm@gnu.org>
8472
48176e8b
GM
8473 * calendar/cal-html.el: Optionally include holidays in the output.
8474 Suggested by Ed Reingold <reingold@emr.cs.iit.edu>.
8475 (cal-html-holidays): New option.
8476 (cal-html-css-default): Add holiday entry.
8477 (holiday-in-range): Autoload it.
8478 (cal-html-htmlify-entry): Add optional class argument.
8479 (cal-html-htmlify-list): Add optional holidays argument.
8480 (cal-html-insert-agenda-days): Include holidays in the output.
8481 (cal-html-one-month): Maybe include holidays.
8482
a43f98b3
GM
8483 * calendar/holidays.el (holiday-in-range):
8484 Move here from cal-tex-list-holidays.
8485 * calendar/cal-tex.el (cal-tex-list-holidays):
8486 Make it an obsolete alias for holiday-in-range. Update all callers.
8487
fef9d149 84882012-05-05 Chong Yidong <cyd@gnu.org>
eceeb5fc
CY
8489
8490 * select.el (xselect--encode-string): Always use utf-8 for TEXT on
8491 Nextstep.
8492
248da2f4
RW
84932012-05-05 Ransom Williams <auvergnerw@gmail.com> (tiny change)
8494
8495 * files.el (file-auto-mode-skip): New var.
8496 (set-auto-mode-1): Use it.
8497
f95e9344
SM
84982012-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
8499
df96ab1e
SM
8500 * repeat.el: Use lexical-binding.
8501 (repeat-last-self-insert, repeat-num-input-keys-at-self-insert)
8502 (repeat-undo-count): Remove.
8503 (repeat):
8504 * progmodes/octave-mod.el (octave-abbrev-start):
8505 * progmodes/f90.el (f90-abbrev-start):
8506 * face-remap.el (text-scale-adjust):
8507 * kmacro.el (kmacro-call-macro): Use set-temporary-overlay-map.
8508
5342bb06
SM
8509 * emacs-lisp/pcase.el (pcase--let*): New function.
8510 (pcase--expand, pcase-codegen, pcase--q1): Use it to reduce nesting
8511 a bit more.
8512 (pcase--split-pred): Be more clever about ruling out overlap between
8513 a predicate and some constant pattern.
8514 (pcase--q1): Use `null' instead of (eq foo nil).
8515
f95e9344
SM
8516 * subr.el (setq-local, defvar-local): New macros.
8517 (kbd): Redefine as an alias.
8518 (with-selected-window): Leave unrelated frames alone.
8519 (set-temporary-overlay-map): New function.
8520
71873e2b
SM
85212012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
8522
8523 * subr.el (user-error): New function.
8524 * window.el (switch-to-buffer):
8525 * vc/smerge-mode.el (smerge-resolve-function, smerge-resolve)
8526 (smerge-match-conflict):
8527 * simple.el (previous-matching-history-element)
8528 (next-matching-history-element, goto-history-element, undo-more)
8529 (undo-start):
8530 * progmodes/etags.el (visit-tags-table-buffer, find-tag-tag)
8531 (find-tag-noselect, find-tag-in-order, etags-goto-tag-location)
8532 (next-file, tags-loop-scan, list-tags, complete-tag):
8533 * progmodes/compile.el (compilation-loop):
8534 * mouse.el (mouse-minibuffer-check):
8535 * man.el (Man-bgproc-sentinel, Man-goto-page):
8536 * info.el (Info-find-node-2, Info-extract-pointer, Info-history-back)
8537 (Info-history-forward, Info-follow-reference, Info-menu)
8538 (Info-extract-menu-item, Info-extract-menu-counting)
8539 (Info-forward-node, Info-backward-node, Info-next-menu-item)
8540 (Info-last-menu-item, Info-next-preorder, Info-last-preorder)
8541 (Info-next-reference, Info-prev-reference, Info-index)
8542 (Info-index-next, Info-follow-nearest-node)
8543 (Info-copy-current-node-name):
8544 * imenu.el (imenu--make-index-alist)
8545 (imenu-default-create-index-function, imenu-add-to-menubar):
8546 * files.el (basic-save-buffer, recover-file):
8547 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
8548 * emacs-lisp/checkdoc.el (checkdoc-continue, checkdoc-comments)
8549 (checkdoc-message-text, checkdoc-defun):
8550 * dabbrev.el (dabbrev-completion, dabbrev--abbrev-at-point):
8551 * cus-edit.el (customize-changed-options, customize-rogue)
8552 (customize-saved, custom-variable-set, custom-variable-mark-to-save)
8553 (custom-variable-mark-to-reset-standard)
8554 (custom-variable-reset-backup, custom-face-mark-to-reset-standard)
8555 (custom-file):
8556 * completion.el (check-completion-length):
8557 * comint.el (comint-search-arg)
8558 (comint-previous-matching-input-string-position)
8559 (comint-previous-matching-input)
8560 (comint-replace-by-expanded-history-before-point, comint-send-input)
8561 (comint-copy-old-input, comint-backward-matching-input)
8562 (comint-goto-process-mark, comint-set-process-mark):
8563 * calendar/calendar.el (calendar-cursor-to-date): Use it.
8564 * bindings.el (debug-ignored-errors): Remove regexps, add `user-error'.
8565
8a61ee22
SM
85662012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
8567
66408d1e
SM
8568 * dabbrev.el (dabbrev--ignore-case-p): New function.
8569 (dabbrev-completion, dabbrev-expand, dabbrev--substitute-expansion):
8570 Use it.
8571
8a61ee22
SM
8572 * files.el (automount-dir-prefix): Mark as obsolete.
8573
3c74813a
GM
85742012-05-04 Glenn Morris <rgm@gnu.org>
8575
8576 * patcomp.el, play/bruce.el: Move to obsolete/.
8577
0bfcf5c5
PE
85782012-05-04 Paul Eggert <eggert@cs.ucla.edu>
8579
8580 Fix minor Y10k bugs.
8581 * arc-mode.el (archive-unixdate):
8582 * autoinsert.el (auto-insert-alist):
8583 * calc/calc-forms.el (math-this-year):
8584 * emacs-lisp/copyright.el (copyright-current-year)
8585 (copyright-update-year, copyright):
8586 * tar-mode.el (tar-clip-time-string):
8587 * time.el (display-time-update):
8588 Don't assume years have 4 digits.
8589
78f3273a
CY
85902012-05-04 Chong Yidong <cyd@gnu.org>
8591
8592 * dos-w32.el (file-name-buffer-file-type-alist)
8593 (direct-print-region-use-command-dot-com):
8594 * ffap.el (ffap-menu-regexp):
8595 * find-file.el (ff-special-constructs):
8596 * follow.el (follow-debug):
8597 * forms.el (forms--debug):
8598 * iswitchb.el (iswitchb-all-frames):
8599 * ido.el (ido-all-frames):
8600 * emacs-lisp/timer.el (timer-max-repeats):
8601 * mail/feedmail.el (feedmail-mail-send-hook)
8602 (feedmail-mail-send-hook-queued):
8603 * mail/footnote.el (footnote-signature-separator):
8604 * mail/mailabbrev.el (mail-alias-separator-string)
8605 (mail-abbrev-mode-regexp):
8606 * mail/rmail.el (rmail-speedbar-match-folder-regexp):
8607 * progmodes/idlwave.el (idlwave-libinfo-file)
8608 (idlwave-default-completion-case-is-down)
8609 (idlwave-library-routines): Convert defvars to defcustoms.
8610
8611 * mail/rmail.el (rmail-decode-mime-charset):
8612 * progmodes/idlw-shell.el (idlwave-shell-print-expression-function)
8613 (idlwave-shell-fix-inserted-breaks)
8614 (idlwave-shell-activate-alt-keybindings)
8615 (idlwave-shell-use-breakpoint-glyph):
8616 * facemenu.el (facemenu-unlisted-faces): Delete obsolete vars.
8617
f7ae6719
SM
86182012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
8619
8620 * minibuffer.el (completion--twq-all): Beware completion-ignore-case.
8621
47086495
WS
86222012-05-03 Wilson Snyder <wsnyder@wsnyder.org>
8623
8624 * progmodes/verilog-mode.el (font-lock-keywords):
8625 Fix mis-highligting auto. Reported by Craig Barner.
8626 (verilog-auto, verilog-auto-undef): Add AUTOUNDEF to remove
fc0c31f8 8627 defines from global name space. Reported by Dan Dever.
47086495
WS
8628 (verilog-auto-reset, verilog-auto-reset-widths)
8629 (verilog-auto-tieoff): Support using unbased numbers for
8630 AUTORESET and AUTOTIEOFF.
8631 (verilog-submit-bug-report): Update variable list.
8632 (verilog-read-auto-params): Fix AUTOINPUT regexps containing
fc0c31f8 8633 parenthesis from not matching. Reported by Michael Rytting.
47086495
WS
8634 (verilog-auto-template-lint): Fix hash error when linting modules
8635 with no used templates.
8636 (verilog-warn, verilog-warn-error)
8637 (verilog-warn-fatal): When non-interactive report multiple
8638 warnings before exiting. Suggested by Brad Dobbie.
8639 (verilog-auto-template-lint, verilog-auto-template-warn-unused)
8640 (verilog-read-auto-template): Add `verilog-auto-template-warn-unused'
8641 to report unused template errors. Reported by Brad Dobbie.
8642 (verilog-read-decls): Fix AUTOWIRE etc on supply0, supply1 type
fc0c31f8 8643 nets, bug438. Reported by Vns Blore.
47086495
WS
8644 (verilog-auto-inout-module, verilog-auto-reg)
8645 (verilog-read-decls, verilog-read-sub-decls-sig)
8646 (verilog-signals-edit-wire-reg, verilog-signals-with):
8647 Fix passing of Verilog data types in ANSI input/output ports
fc0c31f8 8648 such as "output logic" into the AUTOs. Special case "wire" and
47086495
WS
8649 "reg" for backwards compatibility presuming Verilog 2001.
8650 (verilog-auto-ascii-enum): Add "auto enum" as alias.
8651 (verilog-preprocess): Fix replication of preprocess output.
8652 Reported by Brad Dobbie.
8653 (verilog-auto-inst-interfaced-ports):
8654 Create verilog-auto-inst-interfaced-ports, bug429.
8655 Reported by Julian Gorfajn.
8656 (verilog-after-save-font-hook)
8657 (verilog-before-save-font-hook): New variable.
8658 (verilog-modi-cache-results, verilog-save-font-mod-hooked)
8659 (verilog-save-font-mods): Wrap disabling fontification, reported
8660 by David Rogoff.
8661 (verilog-do-indent, verilog-pretty-declarations-auto)
8662 (verilog-sk-def-reg): Fix obeying `verilog-auto-lineup', bug305.
8663 Reported by Pierre-David Pfister.
8664 (verilog-set-auto-endcomments): Fix endtask auto comments outside
8665 of class declarations, bug292. Reported by Kevin Heilman.
8666 (verilog-read-decls): Fix 'parameter type' not appearing in
8667 AUTOINSTPARAM, bug340. Reported by Jonathan Greenlaw.
8668 (verilog-auto-logic): Fix when AUTOLOGIC present to properly do
fc0c31f8 8669 AUTOINPUTs, bug411. Reported by Jonathan Greenlaw.
47086495
WS
8670 (verilog-read-auto-lisp): Avoid syntax-ppss warning on AUTOLISP.
8671 Reported by David Kravitz.
8672
86732012-05-03 Michael McNamara <mac@mail.brushroad.com>
8674
8675 * progmodes/verilog-mode.el (verilog-pretty-expr): Don't line up
8676 assignment with tests in ifs and for loops.
8677 (verilog-extended-complete-re, verilog-complete-reg): Change so
8678 that DPI inport functions don't look like fuction declarations.
8679 (verilog-pretty-expr): Don't line up assignment
8680 operations to the test and increment in if and for loops
8681 (verilog-extended-complete-re, verilog-complete-reg): Change so
090bd7cb 8682 that DPI inport functions don't look like fuction declarations.
47086495 8683
2e51d4b5
KH
86842012-05-03 Kenichi Handa <handa@m17n.org>
8685
8686 * mail/rmailmm.el (rmail-show-mime): Catch an error caused by text
c846da43 8687 decoding, and show a warning message without signaling an error
2e51d4b5
KH
8688 (Bug#11282).
8689
2bd785a2
SM
86902012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
8691
8692 * emacs-lisp/bytecomp.el
8693 (byte-compile-file-form-custom-declare-variable): Compile all elements,
8694 since cconv.el might have introduced :fun-body, internal-make-closure,
8695 and friends for bytecomp to handle (bug#11391).
8696 * custom.el (defcustom): Avoid ((λ ..) ..).
8697
99d27583
SM
86982012-05-02 Stefan Monnier <monnier@iro.umontreal.ca>
8699
8700 * subr.el (read-passwd): Better clean after ourselves (bug#11392).
8701
55a71479
JB
87022012-05-02 Juanma Barranquero <lekktu@gmail.com>
8703
8704 * notifications.el (dbus-debug):
8705 * term/linux.el (gpm-mouse-enable):
8706 * term/screen.el (xterm-register-default-colors): Declare.
8707
7b97c764
CY
87082012-05-02 Chong Yidong <cyd@gnu.org>
8709
2bc356d7
CY
8710 * cus-start.el (gc-cons-percentage, exec-suffixes)
8711 (dos-display-scancodes, dos-hyper-key, dos-super-key)
8712 (dos-keypad-mode, debug-on-signal, vertical-centering-font-regexp)
8713 (make-cursor-line-fully-visible, void-text-area-pointer)
8714 (font-list-limit): Add customization data.
8715
7b97c764
CY
8716 * allout.el (allout-exposure-change-functions)
8717 (allout-structure-added-functions)
8718 (allout-structure-deleted-functions)
8719 (allout-structure-shifted-functions): Rename abnormal hooks from
8720 *-hook, and convert to defcustoms.
5d3385a0
JB
8721 (allout-after-copy-or-kill-hook, allout-post-undo-hook):
8722 Convert to defcustoms.
7b97c764
CY
8723 (allout-mode-hook, allout-mode-deactivate-hook): Doc fix.
8724
8725 * allout-widgets.el: Hook callers changed.
8726
90207a15 87272012-05-02 Eli Zaretskii <eliz@gnu.org>
91af76bf
EZ
8728
8729 * mail/rmail.el (rmail-yank-current-message): Use the encoding of
8730 the yanked message in preference to the default value of
8731 buffer-file-coding-system.
8732
90207a15 87332012-05-02 Martin Rudalics <rudalics@gmx.at>
d9558cad 8734
5d3385a0
JB
8735 * window.el (display-buffer--action-function-custom-type):
8736 Fix entry.
d9558cad 8737
90207a15 87382012-05-02 Alan Mackenzie <acm@muc.de>
09affde0
AM
8739
8740 * progmodes/cc-defs.el (c-version): Update to 5.32.3.
8741
d80ac57b
GM
87422012-05-01 Glenn Morris <rgm@gnu.org>
8743
976f7668
GM
8744 * cus-start.el (suggest-key-bindings): Remove, now it is in Lisp.
8745
beb83b5a
GM
8746 * eshell/esh-cmd.el (eshell-debug-command): Doc fix. Add :set.
8747
d80ac57b
GM
8748 * cus-edit.el (custom-variable-documentation): Simplify with format.
8749
b593d6a9 87502012-05-01 Aaron S. Hawley <aaron.s.hawley@gmail.com>
f1a71c6e 8751 Stefan Monnier <monnier@iro.umontreal.ca>
b593d6a9
AH
8752
8753 * simple.el (suggest-key-bindings, execute-extended-command):
8754 Move from keyboard.c.
8755
782fbf2a
CY
87562012-05-01 Chong Yidong <cyd@gnu.org>
8757
8758 * follow.el: Eliminate advice.
8759 (set-process-filter, process-filter, sit-for): Advice deleted.
8760 (follow-mode-off-hook): Obsolete hook removed.
b593d6a9
AH
8761 (follow-avoid-tail-recenter-p, follow-process-filter-alist):
8762 Vars deleted.
782fbf2a
CY
8763 (follow-auto): Use a :set function.
8764 (follow-mode): Rewritten. Don't advise process filters.
8765 (follow-switch-to-current-buffer-all, follow-scroll-up)
8766 (follow-scroll-down): Assume follow-mode is bound.
8767 (follow-comint-scroll-to-bottom)
8768 (follow-align-compilation-windows): New functions.
8769 (follow--window-sorter): New function.
8770 (follow-all-followers): Use it to explicitly sort windows by their
8771 positions; don't make assumptions about next-window order.
8772 (follow-windows-start-end, follow-delete-other-windows-and-split)
8773 (follow-calc-win-start): Doc fix.
8774 (follow-windows-aligned-p, follow-select-if-visible): Don't call
8775 vertical-motion unnecessarily.
8776 (follow-adjust-window): New function.
8777 (follow-post-command-hook): Use it.
8778 (follow-call-set-process-filter, follow-call-process-filter)
8779 (follow-intercept-process-output, follow-tidy-process-filter-alist)
8780 (follow-stop-intercept-process-output, follow-generic-filter):
8781 Functions deleted.
8782 (follow-scroll-bar-toolkit-scroll, follow-scroll-bar-drag)
b593d6a9
AH
8783 (follow-scroll-bar-scroll-up, follow-scroll-bar-scroll-down):
8784 New functions, replacing advice on scroll-bar-* commands.
87233a14 8785 (follow-mwheel-scroll): New function (Bug#4112).
782fbf2a
CY
8786
8787 * comint.el (comint-adjust-point): New function.
b593d6a9
AH
8788 (comint-postoutput-scroll-to-bottom): Use it.
8789 Call follow-comint-scroll-to-bottom for Follow mode buffers.
782fbf2a 8790
290af740
GM
87912012-05-01 Glenn Morris <rgm@gnu.org>
8792
8793 * term/AT386.el, term/apollo.el, term/bobcat.el, term/cygwin.el:
8794 * term/iris-ansi.el, term/linux.el, term/lk201.el, term/news.el:
8795 * term/screen.el, term/vt102.el, term/vt125.el, term/vt200.el:
8796 * term/vt201.el, term/vt220.el, term/vt240.el, term/vt300.el:
8797 * term/vt320.el, term/vt400.el, term/vt420.el, term/wyse50.el:
8798 Remove no-byte-compile setting.
8799
6eac8dc9
SM
88002012-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
8801
8802 * minibuffer.el (completion-table-with-quoting): Fix compatibility
8803 all-completions code to not return a number in the last cdr.
8804
9cc7819c
LL
88052012-04-30 Leo Liu <sdl.web@gmail.com>
8806
8807 * ibuf-ext.el (ibuffer-diff-buffer-with-file-1): Avoid buffer
8808 read-only error.
8809
c93b886f
CY
88102012-04-29 Chong Yidong <cyd@gnu.org>
8811
8812 * follow.el (follow-calc-win-end): Rewrite to handle partial
8813 screen lines correctly (Bug#8390).
8814 (follow-avoid-tail-recenter): Minor cleanup.
8815
8b6c19f4
SM
88162012-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
8817
8818 Avoid the obsolete `assoc' package.
8819 * speedbar.el (speedbar-refresh): Avoid adelete.
8820 (speedbar-file-lists): Simplify and avoid aput.
8821 * man.el (Man--sections, Man--refpages): New vars, replacing
8822 Man-sections-alist and Man-refpages-alist.
8823 (Man-build-section-alist, Man-build-references-alist):
8824 Use them; avoid aput.
8825 (Man--last-section, Man--last-refpage): New vars.
8826 (Man-follow-manual-reference): Use them.
8827 Use the `default' arg of completing-read.
8828 (Man-goto-section): Idem. Move prompt to the `interactive' spec.
8829
c5bb7569
CY
88302012-04-27 Chong Yidong <cyd@gnu.org>
8831
d1d2e2e8
CY
8832 * vc/diff.el (diff-sentinel): Go to bob (Bug#10259).
8833
15cd8efd
CY
8834 * startup.el (x-apply-session-resources): New function.
8835
8836 * term/ns-win.el (ns-initialize-window-system):
8837 * term/w32-win.el (w32-initialize-window-system):
8838 * term/x-win.el (x-initialize-window-system): Use it to properly
8839 set menu-bar-mode and other vars from X resources, even if the
8840 initial frame is not a window-system frame (Bug#2299).
8841
c5bb7569
CY
8842 * subr.el (read-key): Avoid running filter function when setting
8843 up temporary tool bar entries (Bug#9922).
8844
a8e7d6d7 88452012-04-27 Andreas Schwab <schwab@linux-m68k.org>
c4347ab9
AS
8846
8847 * vc/vc-git.el (vc-git-state): Fix regexp matching diff output.
8848 (Bug#11344)
8849
a8e7d6d7 88502012-04-27 Chong Yidong <cyd@gnu.org>
acb71f1d
CY
8851
8852 * select.el (xselect--encode-string): New function, split from
8853 xselect-convert-to-string.
8854 (xselect-convert-to-string): Use it.
8855 (xselect-convert-to-filename, xselect-convert-to-os)
8856 (xselect-convert-to-host, xselect-convert-to-user): Ensure that
8857 returned strings are properly encoded (Bug#11315).
8858
a8e7d6d7 88592012-04-27 Chong Yidong <cyd@gnu.org>
d55486c7
CY
8860
8861 * simple.el (delete-active-region): Move to killing custom group.
8862
a8e7d6d7 88632012-04-27 Andreas Schwab <schwab@linux-m68k.org>
581b6788
AS
8864
8865 * progmodes/which-func.el (which-func-current): Quote %
8866 characters for mode-line processing.
8867
578c1d4b 88682012-04-27 Chong Yidong <cyd@gnu.org>
18edb22d
CY
8869
8870 * xml.el (xml-parse-region, xml-parse-tag): Avoid errors due to
8871 reaching eob (Bug#11286).
8872
a8e7d6d7 88732012-04-27 Eli Zaretskii <eliz@gnu.org>
9ee9f470
EZ
8874
8875 * progmodes/gdb-mi.el (gdb-control-level): New variable.
8876 (gdb): Make it buffer-local and init to zero.
8877 (gdb-control-commands-regexp): New variable.
8878 (gdb-send): Don't wrap in "-interpreter-exec console" if
8879 gdb-control-level is positive. Increment gdb-control-level
8880 whenever the command matches gdb-control-commands-regexp, and
8881 decrement it each time the command is "end". (Bug#11279)
8882
a8e7d6d7 88832012-04-27 Martin Rudalics <rudalics@gmx.at>
41cfe0cb
MR
8884
8885 * window.el (adjust-window-trailing-edge, enlarge-window)
8886 (shrink-window, window-resize):
8887 * mouse.el (mouse-drag-line): Fix resizing of minibuffer
8888 windows (Bug#11276).
8889
b3608390
CY
88902012-04-27 Chong Yidong <cyd@gnu.org>
8891
8892 * progmodes/pascal.el (pascal--extra-indent): Rename from ind, to
a8e7d6d7 8893 fix "missing prefix" warning. All callers changed.
b3608390 8894
797e6e88
SM
88952012-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
8896
8897 * emacs-lisp/assoc.el: Move to obsolete/.
8898
e95a67dc
SM
88992012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
8900
657c21e4 8901 * emacs-lisp/assoc.el (aget): Fix dynamic-scoping issue (bug#11352).
e95a67dc
SM
8902
8903 * term/ns-win.el (ns-define-service):
8904 * progmodes/pascal.el (pascal-goto-defun):
8905 * progmodes/js.el (js--read-tab):
8906 * progmodes/etags.el (tags-lazy-completion-table):
8907 * emacs-lisp/syntax.el (syntax-propertize-via-font-lock):
8908 * emacs-lisp/ewoc.el (ewoc--wrap):
8909 * emacs-lisp/assoc.el (aput, adelete, amake):
8910 * doc-view.el (doc-view-convert-current-doc):
8911 * vc/diff.el (diff-no-select): Replace lexical-let by lexical-binding.
8912
cb3e7ae0
CY
89132012-04-26 Chong Yidong <cyd@gnu.org>
8914
dce04f7f
CY
8915 * image.el (image-type-from-buffer): Only return supported image
8916 type (Bug#9045).
8917
cb3e7ae0
CY
8918 * vc/diff-mode.el (diff-beginning-of-hunk): Return a meaningful
8919 value, for symmetry with diff-end-of-hunk.
8920 (diff-split-hunk, diff-find-source-location)
8921 (diff-ignore-whitespace-hunk, diff-refine-hunk): Use it.
8922 (diff-bounds-of-hunk, diff-bounds-of-file): New functions.
8923 (diff-restrict-view, diff-hunk-kill, diff-file-kill): Use them to
8924 compute the relevant hunk or file properly (Bug#6005).
8925 (diff-file-junk-re): Add bzr's "modified file" tag (Bug#6041).
8926
0d42eb3e
SM
89272012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
8928
8929 * vc/vc-mtn.el:
8930 * vc/vc-hg.el:
8931 * vc/vc-git.el:
8932 * vc/vc-dir.el:
8933 * vc/vc-cvs.el:
8934 * vc/vc-bzr.el:
8935 * vc/vc-arch.el:
8936 * vc/vc.el: Replace lexical-let by lexical-binding.
8937 * minibuffer.el (lazy-completion-table): Avoid ((λ ...) ...).
8938 * emacs-lisp/cl-macs.el (lexical-let): Fix use in lexical-binding.
8939 * emacs-lisp/cconv.el (cconv-analyse-form): Warn use of ((λ ...) ...).
8940
f08ae1c9
CY
89412012-04-26 Chong Yidong <cyd@gnu.org>
8942
8b71081d
CY
8943 * vc/diff-mode.el (diff-undo): New command (Bug#5302).
8944 (diff-mode-shared-map): Bind it to / and [remap undo].
8945
f08ae1c9
CY
8946 * vc/ediff-wind.el (ediff-setup-windows-default): New function.
8947 (ediff-window-setup-function): Use it as the default, to set up
8948 windows based on whether the current frame is graphical (Bug#2138).
8949 (ediff-choose-window-setup-function-automatically): Make obsolete.
8950
8951 * vc/ediff-init.el: Always define ediff-pixel-width/height.
8952
ef24141c
SM
89532012-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
8954
cc356a5d
SM
8955 * ffap.el: Remove old code for obsolete package.
8956 (ffap-complete-as-file-p): Remove.
8957
b4ff4f1f
SM
8958 Use completion-table-with-quoting for comint and pcomplete.
8959 * comint.el (comint--unquote&requote-argument)
8960 (comint--unquote-argument, comint--requote-argument): New functions.
8961 (comint--unquote&expand-filename, comint-unquote-filename): Obsolete.
8962 (comint-quote-filename): Use regexp-opt-charset.
8963 (comint--common-suffix, comint--common-quoted-suffix)
8964 (comint--table-subvert): Remove.
8965 (comint-unquote-function, comint-requote-function): New vars.
8966 (comint--complete-file-name-data): Use them with
8967 completion-table-with-quoting.
8968 * pcmpl-unix.el (pcomplete/scp): Use completion-table-subvert.
8969 * pcomplete.el (pcomplete-arg-quote-list)
8970 (pcomplete-quote-arg-hook, pcomplete-quote-argument): Obsolete.
8971 (pcomplete-unquote-argument-function): Default to non-nil.
8972 (pcomplete-unquote-argument): Simplify.
8973 (pcomplete--common-quoted-suffix): Remove.
8974 (pcomplete-requote-argument-function): New var.
8975 (pcomplete--common-suffix): New function.
8976 (pcomplete-completions-at-point): Use completion-table-with-quoting
8977 and completion-table-subvert.
8978
79c4eeb4
SM
8979 * minibuffer.el: Use completion-table-with-quoting for read-file-name.
8980 (minibuffer--double-dollars): Preserve properties.
8981 (completion--sifn-requote): New function.
8982 (completion--file-name-table): Rewrite using it and c-t-with-quoting.
8983
ef24141c
SM
8984 * minibuffer.el: Add support for completion of quoted/escaped data.
8985 (completion-table-with-quoting, completion-table-subvert): New funs.
8986 (completion--twq-try, completion--twq-all): New functions.
8987 (completion--nth-completion): New function.
8988 (completion-try-completion, completion-all-completions): Use it.
8989
784e7d6e
LL
89902012-04-25 Leo Liu <sdl.web@gmail.com>
8991
dd2ac746
SM
8992 * progmodes/python.el (python-pdbtrack-get-source-buffer):
8993 Use compilation-message if available to find real filename.
784e7d6e 8994
07875ee7
CY
89952012-04-25 Chong Yidong <cyd@gnu.org>
8996
8997 * vc/diff-mode.el (diff-setup-whitespace): New function.
8998 (diff-mode): Use it.
8999
9000 * vc/diff.el (diff-sentinel):
9001 * vc/vc.el (vc-diff-finish): Call diff-setup-whitespace to assign
9002 Whitespace mode variables based on diff style (Bug#8612).
9003
5055880d
LL
90042012-04-25 Leo Liu <sdl.web@gmail.com>
9005
daf75653
LL
9006 * progmodes/python.el (python-send-region): Add suffix .py to the
9007 temp file.
9008
5055880d
LL
9009 * files.el (auto-mode-alist): Use javascript-mode instead.
9010
db9b177b
AH
90112012-04-25 Alex Harsanyi <AlexHarsanyi@gmail.com>
9012
ef24141c 9013 Sync with soap-client repository. Support SOAP simpleType (Bug#10331).
db9b177b 9014
090bd7cb 9015 * net/soap-client.el (soap-resolve-references-for-sequence-type)
ef24141c 9016 (soap-resolve-references-for-array-type): Hack to prevent self
db9b177b 9017 references, see Bug#9.
ef24141c 9018 (soap-parse-envelope): Report the contents of the 'detail' node
db9b177b 9019 when receiving a fault reply.
ef24141c 9020 (soap-parse-envelope): Report the contents of the entire 'detail' node.
db9b177b 9021
090bd7cb 9022 * net/soap-inspect.el (soap-sample-value-for-simple-type)
ef24141c 9023 (soap-inspect-simple-type): New function.
db9b177b 9024
090bd7cb 9025 * net/soap-client.el (soap-simple-type): New struct.
db9b177b 9026 (soap-default-xsd-types, soap-default-soapenc-types)
ef24141c
SM
9027 (soap-decode-basic-type, soap-encode-basic-type):
9028 support unsignedInt and double basic types.
db9b177b 9029 (soap-resolve-references-for-simple-type)
ef24141c
SM
9030 (soap-parse-simple-type, soap-encode-simple-type): New function.
9031 (soap-parse-schema): Parse xsd:simpleType declarations.
db9b177b 9032
090bd7cb 9033 * net/soap-client.el (soap-default-xsd-types)
ef24141c
SM
9034 (soap-default-soapenc-types): Add integer, byte and anyURI types.
9035 (soap-parse-complex-type-complex-content): Use `soap-wk2l' to find
9036 the local name of "soapenc:Array".
9037 (soap-decode-basic-type, soap-encode-basic-type): Support encoding
db9b177b
AH
9038 decoding integer, byte and anyURI xsd types.
9039
1fc6097b
CY
90402012-04-25 Chong Yidong <cyd@gnu.org>
9041
9042 * cus-edit.el (custom-buffer-create-internal): Update header text.
9043
afc6df87
EZ
90442012-04-25 Eli Zaretskii <eliz@gnu.org>
9045
9046 * progmodes/gdb-mi.el (gdb-init-1): Condition Windows-specific
9047 settings on 'system-type', not on 'window-system'. On MS-Windows,
9048 set interactive-mode on in GDB.
9049
dfbd787f
SM
90502012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
9051
9052 * progmodes/ruby-mode.el: Simplify last change, and cleanup code.
9053 (ruby-syntax-propertize-regexp): Remove.
9054 (ruby-syntax-propertize-function): Split regexp into chunks.
9055 Match following code directly.
9056
85222d44
DG
90572012-04-24 Dmitry Gutov <dgutov@yandex.ru>
9058
51a8ea2a
DG
9059 * progmodes/ruby-mode.el: Handle Cucumber defs (bug#6286).
9060 (ruby-syntax-propertize-regexp): New function.
9061 (ruby-syntax-propertize-function): Use it to handle regexp not preceded
9062 by a special keyword.
9063
85222d44
DG
9064 * progmodes/ruby-mode.el: Handle general delimited literals (bug#6286).
9065 (ruby-syntax-general-delimiters-goto-beg)
9066 (ruby-syntax-propertize-general-delimiters): New functions.
9067 (ruby-syntax-propertize-function): Use them to handle GDL.
9068 (ruby-font-lock-keywords): Move old handling of GDL...
9069 (ruby-font-lock-syntactic-keywords): .. to here.
9070 (ruby-calculate-indent): Adjust indentation for GDL.
9071
b613912b
MA
90722012-04-24 Michael Albinus <michael.albinus@gmx.de>
9073
b5380639
MA
9074 * notifications.el (top): Remove unneeded declarations.
9075 (notifications-specification-version): Change to "1.2".
e43042fe 9076 (notifications-interface, notifications-notify-method)
b613912b
MA
9077 (notifications-close-notification-method): Fix docstring.
9078 (notifications-get-capabilities-method): New defconst.
e43042fe
MA
9079 (notifications-notify): Add :action-items, :resident and
9080 :transient hints. Change "image_data" to "image-data" and
9081 "image_path" to "image-path".
b613912b
MA
9082 (notifications-get-capabilities): New defun.
9083
257440aa
LL
90842012-04-24 Leo Liu <sdl.web@gmail.com>
9085
9086 * progmodes/python.el: Move hideshow setup to the end.
9087
b1bac16e
MR
90882012-04-24 Martin Rudalics <rudalics@gmx.at>
9089
9090 * window.el (handle-select-window): Clear echo area since this is
9091 no more done by read_char (Bug#11304).
9092
d81bd059
SM
90932012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
9094
9095 * ibuffer.el (ibuffer-mode-map): Bind `/ m' to filter-used-mode
9096 and `/ M' to filter-derived-mode.
9097 * ibuf-ext.el (ibuffer-list-buffer-modes): Simplify; avoid add-to-list.
9098 (ibuffer-filter-by-mode, ibuffer-filter-by-used-mode)
9099 (ibuffer-mark-by-mode): Use default rather than initial-input.
9100 (ibuffer-filter-by-derived-mode): Autoload and require-match.
9101
c4cf6d91
IA
91022012-04-24 Ivan Andrus <darthandrus@gmail.com> (tiny change)
9103
9104 * ibuf-ext.el (ibuffer-list-buffer-modes): Add `include-parents' arg.
9105 (ibuffer-filter-by-derived-mode): New filter.
9106 * ibuffer.el (ibuffer-mode-map): Bind to `/ w'.
9107
7511ded8
CY
91082012-04-23 Andreas Politz <politza@fh-trier.de>
9109
9110 * subr.el (accept-change-group): Fix arg usage (Bug#6095).
9111
775c916b
CY
91122012-04-23 Chong Yidong <cyd@gnu.org>
9113
9114 * cus-edit.el (customize-apropos, customize-apropos-options):
9115 Disable matching of non-option variables (Bug#11176).
9116 (customize-option, customize-option-other-window)
9117 (customize-changed-options): Doc fix.
9118 (customize-apropos-options, customize-apropos-faces)
9119 (customize-apropos-groups): Use apropos-read-pattern (Bug#11124).
9120
9121 * apropos.el (apropos-read-pattern): Make prompt less cryptic.
922d37d3 9122 Fix word list splitting (Bug#11132).
46c71e23
CY
9123 (apropos-symbol, apropos-keybinding, apropos-label)
9124 (apropos-property, apropos-function-button)
9125 (apropos-variable-button, apropos-misc-button): New faces.
9126 (apropos-symbol-face, apropos-keybinding-face)
9127 (apropos-label-face, apropos-property-face, apropos-match-face):
9128 Variables removed (Bug#8396).
9129 (apropos-library-button, apropos-format-plist, apropos-print)
9130 (apropos-print-doc, apropos-describe-plist): Callers changed.
775c916b 9131
2df41f9c
MA
91322012-04-23 Michael Albinus <michael.albinus@gmx.de>
9133
9134 * net/xesam.el (xesam-mode-map): Use let-bound map in
9135 initialization. (Bug#11292)
9136
da00640a
AM
91372012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
9138
9139 Preserve ispell session localwords when switching back to
9140 original buffer.
9141
090bd7cb
JB
9142 * textmodes/ispell.el (ispell-buffer-session-localwords):
9143 New buffer-local variable to hold buffer session localwords.
ed9265fc 9144 (ispell-kill-ispell): Add option 'clear to delete session
da00640a
AM
9145 localwords.
9146 (ispell-command-loop, ispell-change-dictionary)
9147 (ispell-buffer-local-words): Preserve session localwords when
9148 needed.
9149
090bd7cb
JB
9150 * textmodes/flyspell.el (flyspell-process-localwords)
9151 (flyspell-do-correct): Preserve session localwords when needed.
da00640a 9152
f621ccf5
AM
91532012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
9154
090bd7cb
JB
9155 * textmodes/ispell.el (ispell-insert-word) Remove unneeded function
9156 using obsolete `translation-table-for-input'.
ef24141c
SM
9157 (ispell-word, ispell-process-line, ispell-complete-word):
9158 Use plain `insert' instead of removed `ispell-insert-word'.
f621ccf5 9159
c2d1019e
CY
91602012-04-22 Chong Yidong <cyd@gnu.org>
9161
9162 * cus-edit.el (custom-variable-menu)
9163 (custom-variable-reset-saved, custom-face-menu)
9164 (custom-face-reset-saved): If there is no saved value, make the
9165 "reset-saved" operation bring back the default (Bug#9509).
9166 (custom-face-state): Properly detect themed faces.
9167
eeddc531
CY
9168 * faces.el (face-spec-set): Stop supporting deprecated form of
9169 third arg.
9170
dcbf5805
MA
91712012-04-22 Michael Albinus <michael.albinus@gmx.de>
9172
9173 Move functions from C to Lisp. Make non-blocking method calls
9174 the default. Implement further D-Bus standard interfaces.
9175
ef24141c
SM
9176 * net/dbus.el (dbus-message-internal): Declare function.
9177 Remove unneeded function declarations.
dcbf5805
MA
9178 (defvar dbus-message-type-invalid, dbus-message-type-method-call)
9179 (dbus-message-type-method-return, dbus-message-type-error)
9180 (dbus-message-type-signal): Declare variables. Remove local
9181 definitions.
9182 (dbus-interface-dbus, dbus-interface-peer)
9183 (dbus-interface-introspectable, dbus-interface-properties)
9184 (dbus-path-emacs, dbus-interface-emacs, dbus-return-values-table):
9185 Adapt docstring.
9186 (dbus-interface-objectmanager): New defconst.
9187 (dbus-call-method, dbus-call-method-asynchronously)
9188 (dbus-send-signal, dbus-method-return-internal)
9189 (dbus-method-error-internal, dbus-register-service)
9190 (dbus-register-signal, dbus-register-method): New defuns, moved
9191 from dbusbind.c
9192 (dbus-call-method-handler, dbus-setenv)
ef24141c
SM
9193 (dbus-get-all-managed-objects, dbus-managed-objects-handler):
9194 New defuns.
dcbf5805
MA
9195 (dbus-call-method-non-blocking): Make it an obsolete function.
9196 (dbus-unregister-object, dbus-unregister-service)
9197 (dbus-handle-event, dbus-register-property)
9198 (dbus-property-handler): Obey the new structure of
9199 `bus-registered-objects'.
9200 (dbus-introspect): Use `dbus-call-method'. Use a timeout.
9201 (dbus-get-property, dbus-set-property, dbus-get-all-properties):
9202 Use `dbus-call-method'.
9203
cf20dee0
CY
92042012-04-22 Chong Yidong <cyd@gnu.org>
9205
9206 * cus-edit.el (custom-commands, custom-reset-menu)
9207 (Custom-reset-standard): Tweak labels.
9208 (custom-reset-button-menu): Change default to t.
9209 (custom-buffer-create-internal): For the custom-reset-button-menu
9210 case, put the revert button first.
9211 (custom-group-subtitle): New face.
9212 (custom-group-value-create): Align docstring to a specific column.
9213
9214 * wid-edit.el (widget-documentation-link-add): Don't handle
9215 indentation in this function.
9216 (widget-documentation-string-indent-to): New function.
9217 (widget-documentation-string-value-create): Use it.
9218
9219 * autorevert.el (auto-revert):
9220 * epg-config.el (epg):
9221 * ibuffer.el (ibuffer):
9222 * mpc.el (mpc):
9223 * ses.el (ses):
9224 * eshell/eshell.el (eshell):
9225 * net/ange-ftp.el (ange-ftp):
9226 * progmodes/ebnf2ps.el (postscript):
9227 * progmodes/flymake.el (flymake):
9228 * progmodes/prolog.el (prolog):
9229 * progmodes/verilog-mode.el (verilog-mode):
9230 * progmodes/which-func.el (which-func):
9231 * term/xterm.el (xterm):
9232 * textmodes/picture.el (picture):
9233 * textmodes/tildify.el (tildify):
9234 * vc/ediff.el (ediff): Tweak defgroups to improve presentation in
9235 customization buffers.
9236
583e23bd
AM
92372012-04-22 Alan Mackenzie <acm@muc.de>
9238
9239 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
9240 Adding a ) can hide the resulting (..) from searches. Fix it.
9241 Bound the backward search to the position of the existing (.
9242
7dd51bf1
JB
92432012-04-21 Juanma Barranquero <lekktu@gmail.com>
9244
9245 * progmodes/verilog-mode.el (verilog-mode): Check whether
9246 which-func-modes is t before adding verilog-mode.
9247 Reported by Andy Moreton <andrewjmoreton@gmail.com>.
9248
d64a438f
LL
92492012-04-21 Leo Liu <sdl.web@gmail.com>
9250
7dd51bf1 9251 * net/rcirc.el (rcirc): Avoid error when process-contact returns t.
d64a438f 9252
081e8d65
MV
92532012-04-21 Michael Vehrs <Michael.Burschik@gmx.de>
9254
9255 * woman.el: Add support for "T{ T}" tbl syntax, and fix the
9256 filling of the last column of a table (Bug#5635).
9257 (woman-find-next-control-line): New arg, specifying an additional
9258 regexp component for the control line.
9259 (woman2-roff-buffer): Use it.
9260 (woman-break-table): New function.
9261 (woman2-TS): Use it.
9262
92632012-04-21 Chong Yidong <cyd@gnu.org>
9264
9265 * woman.el (woman-set-buffer-display-table, woman-decode-region)
9266 (woman-horizontal-escapes, woman-negative-vertical-space)
9267 (woman-tab-to-tab-stop, woman2-fc, woman2-TS)
9268 (WoMan-warn-ignored): Use ?\s instead of ?\ .
9269
ed571ccb
SM
92702012-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
9271
9272 * minibuffer.el (completion-file-name-table): Complete user names.
9273
39773899
LL
92742012-04-20 Leo Liu <sdl.web@gmail.com>
9275
9276 * font-lock.el (lisp-font-lock-keywords-2): Add pcase, pcase-let
9277 and pcase-let*.
9278
de6ff46d
CY
92792012-04-20 Chong Yidong <cyd@gnu.org>
9280
9281 * server.el (server-execute): Respect initial-buffer-choice if it
9282 is a string and there are no files to open (Bug#2825).
9283 (server-create-window-system-frame, server-create-tty-frame):
9284 Don't switch buffers here.
2d0e8e61
CY
9285 (server-process-filter): Only try to open a window system frame if
9286 compiled with graphical support (Bug#8314).
de6ff46d 9287
54071013
DN
92882012-04-20 Dan Nicolaescu <dann@gnu.org>
9289
9290 * battery.el (battery-echo-area-format): Display remaining time
9291 for sysfs backend too (Bug#11269).
9292 (battery-linux-sysfs): Fix conditional for the charge.
9293
f30d612a
CY
92942012-04-20 Chong Yidong <cyd@gnu.org>
9295
c07a4c0b 9296 * progmodes/gdb-mi.el (gdb): Revert previous change.
f30d612a
CY
9297 (gdb-inferior-io--init-proc): New function.
9298 (gdb-init-1): Use it.
9299 (gdb-inferior-io-sentinel): New sentinel for the gdb-inferior pty,
9300 responsible for allocating a new pty and hooking it to gdb when
9301 the old pty gets an EIO due to process exit.
9302 (gdb-delchar-or-quit): New command. Bind it in gdb-mi buffers.
9303 (gdb-tooltip-print): Don't use obsolete tooltip-use-echo-area.
9304 (gdb-inferior-io--maybe-delete-pty): Move into gdb-reset.
9305
2116e93c
EZ
93062012-04-20 Eli Zaretskii <eliz@gnu.org>
9307
9308 * window.el (window-min-size, window-sizable, window-min-delta)
9309 (window-max-delta, window--resizable, window-resizable)
9310 (window-total-size, window-full-height-p, window-full-width-p)
9311 (window-in-direction, window--resize-mini-window, window-resize)
9312 (window--resize-child-windows-normal)
9313 (window--resize-child-windows, window--resize-siblings)
9314 (window--resize-this-window, adjust-window-trailing-edge)
cd0f830c 9315 (enlarge-window, shrink-window): Doc fixes.
2116e93c 9316
c07a4c0b 93172012-04-20 Chong Yidong <cyd@gnu.org>
b668fa6e 9318
ef24141c
SM
9319 * progmodes/gdb-mi.el (gdb-inferior-io--maybe-delete-pty):
9320 New function to call delete-process on the gdb-inferior buffer's pty.
b668fa6e
CY
9321 (gdb-reset): Use it, instead of relying on kill-buffer to kill the
9322 pty process (Bug#11273).
9323 (gdb-update): New arg to suppress talking to the gdb process.
9324 (gdb-done-or-error): Use it.
9325 (gdb-stopped-functions): Rename from gdb-stopped-hooks.
9326 (gdb): Call gdb-inferior-io--maybe-delete-pty as a workaround for
9327 sentinel not being called.
9328
9329 * comint.el (make-comint-in-buffer, comint-exec): Doc fix.
9330
d02766ab
CY
9331 * progmodes/grep.el (grep, rgrep): Doc fix (Bug#11268).
9332
c07a4c0b 93332012-04-20 Glenn Morris <rgm@gnu.org>
016a35df
GM
9334
9335 * net/network-stream.el (open-network-stream): Doc fix.
9336
c07a4c0b 93372012-04-20 Chong Yidong <cyd@gnu.org>
2c070447
CY
9338
9339 * emacs-lisp/tabulated-list.el (tabulated-list-print): Fix typos.
9340
c07a4c0b 93412012-04-20 Alan Mackenzie <acm@muc.de>
f0f6bc35
AM
9342
9343 Ensure searching for keywords is case sensitive.
9344
9345 * progmodes/cc-cmds.el (c-electric-brace, c-electric-lt-gt)
9346 (c-electric-paren, c-beginning-of-defun, c-end-of-defun)
9347 (c-defun-name, c-mark-function, c-cpp-define-name)
9348 (c-comment-indent, c-scan-conditionals, c-indent-defun)
c07a4c0b 9349 (c-context-line-break): Bind case-fold-search to nil.
f0f6bc35 9350
ef24141c
SM
9351 * progmodes/cc-mode.el (c-font-lock-fontify-region):
9352 Bind case-fold-search to nil.
f0f6bc35 9353
c07a4c0b 93542012-04-20 Chong Yidong <cyd@gnu.org>
4fc2c72a
CY
9355
9356 * mail/sendmail.el (mail-bury): Call return action with the right
9357 Rmail buffer (Bug#11242).
9358
9a864fa2
CY
9359 * server.el (server-process-filter): Handle corner case where both
9360 tty and nowait options are present (Bug#11102).
9361
539aa513
EZ
93622012-04-20 Eli Zaretskii <eliz@gnu.org>
9363
9364 * version.el (emacs-bzr-version, emacs-bzr-get-version): Doc fixes.
6cf2a23e
EZ
9365 (top level): Put into the executable the ident-style '$Id:' tag on
9366 windows-nt as well.
539aa513 9367
cfc7d5da
SM
93682012-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
9369
9370 * electric.el (electric-indent-post-self-insert-function): Check that
9371 electric-indent-mode is enabled in current buffer.
9372
5b01685c
JB
93732012-04-19 Juanma Barranquero <lekktu@gmail.com>
9374
9375 * imenu.el (imenu-progress-message): Restore; it is "used" in
9376 erc/erc-imenu.el and net/snmp-mode.el.
9377
4d6769e1
JB
93782012-04-19 Juanma Barranquero <lekktu@gmail.com>
9379
9380 * avoid.el (mouse-avoidance-mode): Mark unused arg.
9381 (mouse-avoidance-nudge-mouse): Remove unused binding.
9382
9383 * bs.el (bs-toggle-readonly): Call `toggle-read-only' interactively.
9384
9385 * descr-text.el (describe-char):
9386 * progmodes/python.el (python-describe-symbol):
9387 Don't call `toggle-read-only', set `buffer-read-only'.
9388
9389 * imenu.el (imenu-default-goto-function): Mark unused args.
9390 (imenu-progress-message): Remove obsolete macro; all callers changed.
9391
9392 * subr.el (keymap-canonicalize): Remove unused binding.
9393 (read-passwd): Mark unused arg.
9394
9395 * tutorial.el (tutorial--display-changes): Remove unused binding.
9396 (tutorial--save-tutorial-to): Remove unused variable.
9397
9398 * emacs-lisp/package.el (define-package, package-menu-mark-delete)
9399 (package-menu-mark-install, package-menu-mark-unmark): Mark unused args.
9400 (package-generate-autoloads, package-menu--generate)
9401 (package-menu--find-upgrades): Remove unused bindings.
9402
9403 * emulation/cua-rect.el (cua-restrict-regexp-rectangle)
9404 (cua-restrict-prefix-rectangle): Doc fixes. Remove unused bindings.
9405 (cua--mouse-ignore, cua--delete-rectangle, cua--extract-rectangle)
9406 (cua--indent-rectangle, cua-open-rectangle, cua-close-rectangle)
9407 (cua-blank-rectangle, cua-string-rectangle, cua-replace-in-rectangle)
9408 (cua-incr-rectangle, cua-sequence-rectangle, cua--convert-rectangle-as)
9409 (cua--rectangle-aux-replace, cua--left-fill-rectangle)
9410 (cua-scroll-rectangle-up, cua-scroll-rectangle-down)
9411 (cua-delete-char-rectangle): Mark unused args.
9412 (cua-align-rectangle): Remove unused binding.
9413
9414 * mail/rmail.el (compilation--message->loc)
9415 (epa--find-coding-system-for-mime-charset): Declare.
9416
9417 * net/dbus.el (dbus-register-service): Declare.
9418 (dbus-name-owner-changed-handler): Remove unused binding.
9419
9420 * nxml/nxml-mode.el (nxml-electric-slash, nxml-in-mixed-content-p)
9421 (nxml-compute-indent-from-matching-start-tag): Remove unused variables.
9422 (nxml-scan-backward-within): Mark unused arg.
9423 (nxml-dynamic-markup-word): Remove unused binding.
9424
9425 * mouse.el (mouse-menu-major-mode-map):
9426 * emacs-lisp/authors.el (authors-scan-change-log)
9427 (authors-add-to-author-list):
9428 * emacs-lisp/avl-tree.el (avl-tree--enter-balance):
9429 * emacs-lisp/smie.el (smie-auto-fill):
9430 * mail/sendmail.el (mail-bury):
9431 * mail/unrmail.el (unrmail):
9432 * net/tls.el (open-tls-stream):
9433 * textmodes/picture.el (picture-mouse-set-point):
9434 Remove unused bindings.
9435
8c8fc5df
MA
94362012-04-19 Michael Albinus <michael.albinus@gmx.de>
9437
9438 * net/tramp.el (tramp-action-password): Let-bind
9439 `enable-recursive-minibuffers' to t.
9440
a77b0ac9
SS
94412012-04-18 Sam Steingold <sds@gnu.org>
9442
9443 * progmodes/gud.el (gud-key-prefix): Use :type 'key-sequence
9444 instead of 'string to accommodate values like [f11].
9445 Always use `vconcat' instead of `concat' on it, like in `gud-def'.
9446 * progmodes/gdb-mi.el: Likewise.
9447
12a106a9
LL
94482012-04-18 Leo Liu <sdl.web@gmail.com>
9449
9450 * abbrev.el (edit-abbrevs): Move point to the abbrev table of
9451 current buffer.
9452 (prepare-abbrev-list-buffer): Enter edit-abbrevs-mode only if
9453 LOCAL is nil.
9454
bc6494ef
CY
94552012-04-18 Chong Yidong <cyd@gnu.org>
9456
9457 * simple.el (line-move): Use forward-line if in batch mode
9458 (Bug#11053).
9459
c09c46b2
CS
94602012-04-18 Christopher Schmidt <christopher@ch.ristopher.com>
9461
9462 * files.el (after-find-file): Do not try to add a final newline if
9463 the buffer is read-only (Bug#11156).
9464
5f6530ea
RS
94652012-04-17 Richard Stallman <rms@gnu.org>
9466
9467 * mail/rmail.el (rmail-start-mail):
9468 Pass (rmail-mail-return...) for the return-action.
9469 Pass (rmail-yank-current-message...) for the yank-action.
9470 (rmail-yank-current-message): New function.
9471 (rmail-mail): Pass the Rmail buffer, not view buffer, for replybuffer.
9472 (rmail-reply): Likewise.
9473 (rmail-forward): Pass the Rmail buffer, not nil, for replybuffer.
9474
9475 * mail/sendmail.el (mail-bury): Choose the first rmail-mode
c09c46b2 9476 buffer, not the last. Reject temp buffers. Use the rmail-mode
5f6530ea
RS
9477 buffer, not newbuf.
9478
197b6f3c
JB
94792012-04-17 Juanma Barranquero <lekktu@gmail.com>
9480
9481 * server.el (server-ensure-safe-dir): Simplify.
9482
2311d8e5 94832012-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
98fb480e 9484
2311d8e5
GM
9485 * emacs-lisp/smie.el: Provide smarter auto-filling.
9486 (smie-auto-fill): New function.
9487 (smie-setup): Use it.
98fb480e 9488
2311d8e5
GM
9489 * newcomment.el (comment-choose-indent): Obey comment-inline-offset.
9490
94912012-04-17 Philipp Haselwarter <philipp.haselwarter@gmx.de> (tiny change)
8eb5d48f
PH
9492
9493 * newcomment.el (comment-inline-offset): New custom var (bug#11090).
9494 (comment-indent): Use it.
9495
2311d8e5 94962012-04-17 Vincent Belaïche <vincentb1@users.sourceforge.net>
4bdf2ad2
VB
9497
9498 * ses.el: The overall change is to add cell renaming, that is
9499 setting fancy names for cell symbols other than name matching
9500 "\\`[A-Z]+[0-9]+\\'" regexp .
2311d8e5 9501 (ses-localvars): Add ses--renamed-cell-symb-list.
4bdf2ad2 9502 (ses-create-cell-variable): New defun.
2311d8e5 9503 (ses-destroy-cell-variable-range): Respect ses--numrows, ses--numcols.
4bdf2ad2
VB
9504 (ses-relocate-formula): Relocate formulas only for cells the
9505 symbols of which are not renamed, i.e. symbols whose names do not
9506 match regexp "\\`[A-Z]+[0-9]+\\'".
9507 (ses-relocate-all): Relocate values only for cells the symbols of
9508 which are not renamed.
9509 (ses-load): Create cells variables as the (ses-cell ...) are read,
9510 in order to check row col consistency with cell symbol name only
9511 for cells that are not renamed.
9512 (ses-replace-name-in-formula): New defun.
9513 (ses-rename-cell): New defun.
4bdf2ad2 9514
fc72b15c
PO
95152012-04-17 Peter Oliver <bzr@mavit.org.uk> (tiny change)
9516
9517 * progmodes/perl-mode.el (perl-indent-parens-as-block):
9518 New option (bug#11118).
9519 (perl-calculate-indent): Respect it.
9520
12e10e61
GM
95212012-04-17 Glenn Morris <rgm@gnu.org>
9522
9523 * dired-aux.el (dired-mark-read-string): Doc fix.
9524
30009afd
DA
95252012-04-17 Dmitry Antipov <dmantipov@yandex.ru>
9526
9527 * dired-aux.el (dired-mark-read-string): Offer optional completion.
9528 (dired-do-chxxx): Complete chown, chgrp over users, groups. (Bug#7900)
9529
41f03f4d
GM
95302012-04-17 Glenn Morris <rgm@gnu.org>
9531
9532 * mouse.el (mouse-drag-track):
9533 * speedbar.el (speedbar-frame-mode):
9534 Use auto-hscroll-mode rather than the alias automatic-hscrolling.
9535
f45f90f3
LL
95362012-04-16 Leo Liu <sdl.web@gmail.com>
9537
9538 * progmodes/python.el: Trivial cleanup.
9539
94ee8db5
GM
95402012-04-16 Glenn Morris <rgm@gnu.org>
9541
121b8917
GM
9542 * vc/vc.el (vc-string-prefix-p):
9543 * vc/pcvs-util.el (cvs-string-prefix-p):
9544 * textmodes/tex-mode.el (latex-string-prefix-p, tex-string-prefix-p):
9545 * mpc.el (mpc-string-prefix-p):
9546 Make all of these into obsolete aliases for string-prefix-p.
9547 Update callers.
9548 * vc/pcvs.el, vc/vc-dispatcher.el, vc/vc-dir.el: Update callers.
9549
1197ecfa
GM
9550 * textmodes/two-column.el: Move custom options to the start.
9551 (frame-width): Remove compat definition.
9552 (2C-associate-buffer, 2C-dissociate):
9553 Use with-current-buffer rather than save-excursion.
9554 (2C-dissociate): Force a mode-line update.
9555 (2C-autoscroll): Use ignore-errors.
9556
099e7202
GM
9557 * emacs-lisp/eieio-opt.el (describe-class, describe-generic):
9558 Autoload trivia.
9559
bf350d6a
GM
9560 * emacs-lisp/cl-extra.el (*random-state*):
9561 Remove unnecessary declaration.
9562
0e829eab
GM
9563 * calendar/cal-tex.el (cal-tex-end-document): Trivial clarification.
9564
e3ad7552
GM
9565 * play/cookie1.el (cookie-snarf):
9566 Give an explicit error if input file cannot be read.
9567
68892d27
GM
9568 * play/yow.el (yow-file): Use expand-file-name rather than concat.
9569
20f0c46d
GM
9570 * progmodes/perl-mode.el (c-macro-expand):
9571 Remove unnecessary autoload (it is in loaddefs.el).
9572
5a0978ce
GM
9573 * textmodes/picture.el (picture-desired-column)
9574 (picture-update-desired-column): Convert comments to doc-strings.
9575 (picture-substitute): Remove function.
9576 (picture-mode-map): Initialize in the defvar.
9577
6b955486
GM
9578 * woman.el: Remove eval-after-load for tar-mode.
9579 * tar-mode.el (tar-mode-map): Add woman binding and menu entry.
9580 (woman-tar-extract-file): Autoload it.
9581
94ee8db5
GM
9582 * frame.el (automatic-hscrolling): Make this alias obsolete.
9583
177eca34
AM
95842012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
9585
090bd7cb 9586 * textmodes/ispell.el (ispell-set-spellchecker-params): Post-process
4be3075e 9587 `ispell-dictionary-alist' to use [:alpha:] and utf-8 if possible.
3851314b
AM
9588 (ispell-dictionary-base-alist): Revert to original XEmacs
9589 friendly version for default. [:alpha:] will be added in
090bd7cb 9590 `ispell-set-spellchecker-params' if needed.
177eca34 9591
c505aaeb
CY
95922012-04-16 Chong Yidong <cyd@gnu.org>
9593
b19dd9d1 9594 * image.el (imagemagick--file-regexp): New variable.
c505aaeb
CY
9595 (imagemagick-register-types): Use it.
9596 (imagemagick-types-inhibit): Add :set function. Allow new value
9597 of t to inhibit all types.
9598
9599 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Avoid cl macros,
9600 so we can preload it.
9601
9602 * loadup.el (fboundp): Preload regexp-opt, needed by
9603 imagemagick-register-types.
9604
60efac0f
CY
96052012-04-15 Chong Yidong <cyd@gnu.org>
9606
9607 * frame.el (scrolling): Remove nearly unused customization group.
9608
9609 * scroll-all.el (scroll-all-mode): Move to windows group.
9610
5dd1713e
CY
96112012-04-15 Chong Yidong <cyd@gnu.org>
9612
9613 * bindings.el (goto-map): Bind goto-char to M-g c (Bug#11240).
9614
e6fd457e
CY
96152012-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
9616
9617 Avoid the use of ((lambda ...) ...) in lexical-binding code.
4d6769e1 9618 * emacs-lisp/easy-mmode.el (define-minor-mode): Use funcall (bug#11241).
e6fd457e 9619
e153c136
GM
96202012-04-15 Glenn Morris <rgm@gnu.org>
9621
9622 * simple.el (process-file-side-effects): Doc fix.
9623
e6fd457e 96242012-04-15 Glenn Morris <rgm@gnu.org>
ca7d96c8
GM
9625
9626 * international/mule-cmds.el (set-language-environment): Doc fix.
9627
3603c3b1
JB
96282012-04-14 Juanma Barranquero <lekktu@gmail.com>
9629
9630 * server.el (server-auth-key, server-generate-key): Doc fixes.
9631 (server-get-auth-key): Doc fix. Use `string-match-p'.
9632 (server-start): Reflow docstring.
9633
e6de100c
LI
96342012-04-14 Lars Ingebrigtsen <larsi@gnus.org>
9635
9636 * server.el (server-generate-key): `called-interactively-p'
9637 requires a parameter.
9638
29734c21
MN
96392012-04-14 Michal Nazarewicz <mina86@mina86.com>
9640
9641 * server.el (server-auth-key): New variable.
75f1671a 9642 (server-generate-key, server-get-auth-key): New function.
29734c21
MN
9643 (server-start): Use the new variable and functions to allow
9644 setting a permanent server key (bug#9423).
9645
d65c9521
LL
96462012-04-14 Leo Liu <sdl.web@gmail.com>
9647
9648 * vc/diff-mode.el (diff-file-prev/next): Fix typo.
9649
5ae255c7
PE
96502012-04-14 Paul Eggert <eggert@cs.ucla.edu>
9651
9652 Spelling fixes.
9653 * hexl.el (hexl-rulerize): Rename from hexl-rulerise, since
9654 Emacs uses American spelling.
9655
d5e6342e
JB
96562012-04-14 Juanma Barranquero <lekktu@gmail.com>
9657
9658 * emacs-lock.el (emacs-lock-locked-buffer-functions): New hook.
9659 (emacs-lock--exit-locked-buffer): Return the locked buffer. Doc fix.
9660 (emacs-lock--kill-emacs-hook, emacs-lock--kill-emacs-query-functions)
9661 (emacs-lock--kill-buffer-query-functions): Run new hook. (Bug#11017)
9662
ab036cd7
SM
96632012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
9664
9665 * progmodes/which-func.el (which-func-modes): Change default.
9666
35dc09a1 96672012-04-14 Kim F. Storm <storm@cua.dk>
9557e2be
CY
9668
9669 * emulation/cua-base.el (cua-exchange-point-and-mark): Just call
9670 exchange-point-and-mark if cua-enable-cua-keys is nil (Bug#11191).
9671
35dc09a1 96722012-04-14 Chong Yidong <cyd@gnu.org>
81927dd2
CY
9673
9674 * custom.el (custom-theme-set-variables): Doc fix.
9675
35dc09a1 96762012-04-14 Glenn Morris <rgm@gnu.org>
8edb942b
GM
9677
9678 * international/mule.el (set-auto-coding-for-load): Doc fix.
9679
35dc09a1 96802012-04-14 Alan Mackenzie <acm@muc.de>
0de3da9f 9681
35dc09a1
GM
9682 * progmodes/cc-menus.el (cc-imenu-objc-generic-expression): Make
9683 imenu work again for Objective C Mode. Correct the *-index values,
9684 these having been disturbed by a previous change in 2011-08.
57f845ee 9685
0de3da9f
AM
9686 * progmodes/cc-engine.el (c-before-change-check-<>-operators):
9687 Correct two search limits.
9688
35dc09a1 96892012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
ede141ac
SM
9690
9691 * startup.el (command-line-1): Inhibit splash from daemon (bug#10996).
9692
35dc09a1 96932012-04-14 Andreas Schwab <schwab@linux-m68k.org>
d0203d61
AS
9694
9695 * international/characters.el: Fix sorting.
9696
35dc09a1 96972012-04-14 Eli Zaretskii <eliz@gnu.org>
cb80bcd1
EZ
9698
9699 * international/characters.el: Add more missing Latin case pairs.
9700
35dc09a1 97012012-04-14 Glenn Morris <rgm@gnu.org>
4a427f58
GM
9702
9703 * files.el (dir-locals-set-class-variables): Doc fix.
9704
35dc09a1 97052012-04-14 Eli Zaretskii <eliz@gnu.org>
9f847f41 9706
3f1b5bf8
EZ
9707 * international/characters.el: Add set-case-syntax-pair call for
9708 LATIN CAPITAL LETTER Y WITH DIAERESIS RET and its lower-case
9709 counterpart. (Bug#11209)
9710
9f847f41
EZ
9711 * simple.el (shell-command-on-region): Doc fix. (Bug#11208)
9712
35dc09a1 97132012-04-14 Glenn Morris <rgm@gnu.org>
0c2014a3
GM
9714
9715 * calendar/holidays.el (calendar-check-holidays): Doc fix.
9716
35dc09a1 97172012-04-14 Eli Zaretskii <eliz@gnu.org>
e2627d21 9718
35dc09a1
GM
9719 * textmodes/ispell.el (ispell-dictionary-base-alist):
9720 Add data for Hebrew.
e2627d21 9721
35dc09a1 97222012-04-14 Chong Yidong <cyd@gnu.org>
5c14e333 9723
35dc09a1
GM
9724 * net/rcirc.el (rcirc-cmd-quit):
9725 Revert 2012-03-18 change (Bug#11192).
5c14e333 9726
35dc09a1 97272012-04-14 Glenn Morris <rgm@gnu.org>
bf6fa423
GM
9728
9729 * pcmpl-rpm.el (pcomplete/rpm): Handle -qf.
9730
35dc09a1 97312012-04-14 Eli Zaretskii <eliz@gnu.org>
82b24fb2 9732
4517fe3a
SM
9733 * minibuffer.el (completion-in-region-mode-map):
9734 Bind completion-help-at-point to M-? rather than ?. (Bug#11182)
82b24fb2 9735
b472a594
VD
97362012-04-13 Vivek Dasmohapatra <vivek@etla.org>
9737
9738 * hexl.el (hexl-insert-char): Make display sizes other than 16 work.
9739
09b95ce3
MY
97402012-04-13 Masatake YAMATO <yamato@redhat.com>
9741
9742 * minibuffer.el (minibuffer-local-filename-syntax): New variable
9743 to allow `C-M-f' and `C-M-b' to move to the nearest path
9744 separator (bug#9511).
9745
4b63a9ca
LI
97462012-04-13 Lars Ingebrigtsen <larsi@gnus.org>
9747
9748 * avoid.el: Require cl when compiling. And also move the
9749 `provide' to the end.
9750
7b55b8bf
TV
97512012-04-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
9752
9753 * avoid.el (mouse-avoidance-banish-position): New variable.
9754 (mouse-avoidance-banish-destination): Use it (bug#10165).
9755
adedaa1f
LL
97562012-04-13 Leo Liu <sdl.web@gmail.com>
9757
9758 * progmodes/which-func.el (which-func-modes): Add objc-mode.
9759
70e74021
KB
97602012-04-13 Ken Brown <kbrown@cornell.edu>
9761
9762 * net/browse-url.el (browse-url-file-url): Remove Cygwin hack;
ab036cd7 9763 this is no longer needed now that cygstart understands file:// URLs.
70e74021
KB
9764 (browse-url-filename-alist): For the same reason, don't modify
9765 file:// URLs on Cygwin.
9766
e75e89ba
SM
97672012-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
9768
9769 * emulation/cua-base.el (cua--pre-command-handler-1): Don't activate
9770 the region on shift if the binding is already shifted (bug#11221).
9771
82f289a4
GM
97722012-04-12 Glenn Morris <rgm@gnu.org>
9773
9774 * mail/mailpost.el: Move to obsolete/.
9775
d333dc4c
DA
97762012-04-12 Drew Adams <drew.adams@oracle.com>
9777
9778 * imenu.el (imenu--generic-function): Ignore invisible definitions
9779 (bug#10123).
9780
0d15b5ba
VD
97812012-04-12 Vivek Dasmohapatra <vivek@etla.org>
9782
9783 * hexl.el (hexl-bits): New variable.
9784 (hexl-options): Mention the variable in the doc string.
75f1671a 9785 (hexl-rulerise, hexl-line-displen): New functions.
0d15b5ba 9786 (hexl-mode): Mention the new variable.
75f1671a
JB
9787 (hexl-mode, hexl-current-address, hexl-current-address):
9788 Use the displen.
0d15b5ba
VD
9789 (hexl-ascii-start-column): New function.
9790 (hexl-address-to-marker, hexl-beginning-of-line, hexl-options)
9791 (hexl-insert-char, hexl-mode-ruler): Use the displen (bug#4941).
9792
64a440db
AM
97932012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
9794
9795 * textmodes/flyspell.el (flyspell-large-region): For hunspell, use
9796 '("-i" ENCODING), in 2 separate command-line arguments, to specify
9797 the encoding, as expected by hunspell.
9798
6decb6c2
SM
97992012-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
9800
9801 * battery.el (battery--linux-sysfs-regexp): New const.
9802 (battery-status-function): Use it. Remove yeeloong special case.
9803 (battery-yeeloong-sysfs): Remove.
9804 (battery-echo-area-format): Remove yeeloong special case.
9805
088be6fb
SM
98062012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
9807
6622e416
SM
9808 * imenu.el (imenu-add-to-menubar): `current-local-map' can be nil.
9809 Reported by Noah Friedman.
9810
088be6fb
SM
9811 * subr.el (read-passwd): Use read-string.
9812
b49f886e
LMI
98132012-04-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
9814
9815 * vcursor.el (vcursor-move): Increase the priority of the overlay
9816 (bug#9663).
9817
a63067fc
DD
98182012-04-11 Deniz Dogan <deniz.a.m.dogan@gmail.com>
9819
9820 * net/rcirc.el (rcirc-kill-channel-buffers): New variable.
9821 (rcirc-kill-buffer-hook): Use it to kill channel buffers (bug#5128).
9822
ac3cf14a
WS
98232012-04-11 William Stevenson <yhvh2000@gmail.com>
9824
9825 * textmodes/artist.el (artist-mode): Convert artist-mode to use
9826 define-minor-mode (bug#10760).
9827
c4fc691b 98282012-04-11 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
49a2697c 9829
4d6769e1 9830 * progmodes/grep.el (rgrep): Tweak the find command line so
49a2697c
WJ
9831 that directories matching `grep-find-ignored-files' won't be
9832 pruned (bug#10351).
9833
af23e2e5
CY
98342012-04-11 Chong Yidong <cyd@gnu.org>
9835
9836 * startup.el (command-line): Remove support for long-obsolete
9837 variable font-lock-face-attributes.
9838
ab7ce8c1
GM
98392012-04-11 Glenn Morris <rgm@gnu.org>
9840
9841 * vc/vc-bzr.el (vc-bzr-status): Avoid condition-case-unless-debug.
9842
de8c03dc
SM
98432012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
9844
9845 * window.el (window--state-get-1): Obey window-point-insertion-type.
9846
050cc68b
LB
98472012-04-11 Lennart Borgman <lennart.borgman@gmail.com>
9848
9849 * emacs-lisp/lisp.el (narrow-to-defun): `beginning-of-defun' goes
9850 to previous function when point is on the first character of a
75f1671a 9851 function. Take care of that in `narrow-to-defun' (bug#6157).
050cc68b 9852
a38c310c
GM
98532012-04-11 Glenn Morris <rgm@gnu.org>
9854
effed0c2
GM
9855 * vc/vc-bzr.el (vc-bzr-status): Handle all errors,
9856 not just file-errors.
9857
a38c310c
GM
9858 * vc/vc-bzr.el (vc-bzr-sha1-program, sha1-program): Remove.
9859 (vc-bzr-sha1): Use internal sha1.
9860
0221e323
SM
98612012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
9862
9863 * progmodes/flymake.el (flymake-mode): Beware read-only dirs (bug#8954).
9864
43956923
SG
98652012-04-10 Sébastien Gross <seb@chezwam.org> (tiny change)
9866
9867 * progmodes/hideshow.el (hs-hide-all): Don't infloop on comments
9868 that start in the middle of the line (bug#10496).
9869
6a8c9eaf
DN
98702012-04-10 Dan Nicolaescu <dann@gnu.org>
9871
9872 * battery.el (battery-linux-proc-acpi): Only one battery is
9873 discharged at a time, but that seems to confuse battery.el when
9874 computing `rate-type' for the battery not being discharged
9875 (bug#10332).
9876
1930bf5d
SM
98772012-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
9878
2a718f6f
SM
9879 * emacs-lisp/autoload.el (autoload-make-program): Remove, unused.
9880
599430d0
SM
9881 * international/quail.el: Use dolist and simplify.
9882 (quail-define-package, quail-update-keyboard-layout)
9883 (quail-define-rules): Use dolist.
9884 (quail-insert-kbd-layout, quail-get-translation): CSE.
9885
a2754b6c
SM
9886 * tmm.el: Use dolist, remove left over hook.
9887 (tmm-prompt, tmm-define-keys, tmm-shortcut, tmm-get-keybind):
9888 Use dolist.
9889 (calendar-load-hook): Don't mess with it.
9890
1930bf5d
SM
9891 * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
9892 Use derived-mode-p. Run the diff asynchronously.
9893
9f67961c
LMI
98942012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
9895
9896 * obsolete/mouse-sel.el: Add an Obsolete-since header.
9897
2a8ce227
JB
98982012-04-10 Juanma Barranquero <lekktu@gmail.com>
9899
9900 * misc.el: Display absolute path of loaded DLLs (bug#10424).
9901 (list-dynamic-libraries--loaded): New function.
9902 (list-dynamic-libraries--refresh): Use it.
9903
8f33b5f8
NW
99042012-04-10 Nathan Weizenbaum <nweiz@google.com>
9905
1930bf5d
SM
9906 * progmodes/python.el (python-fill-paragraph):
9907 Make python-fill-region in a multiline string work when font-lock is
8f33b5f8
NW
9908 disabled (bug#7018).
9909
b12f0439
L
99102012-04-10 Laimonas Vėbra <laimonas.vebra@gmail.com> (tiny change)
9911
1930bf5d 9912 * language/european.el (cp775): Add oem/legacy (en)coding on
75f1671a
JB
9913 DOS/MS Windows for the Baltic languages. There are still plenty
9914 of texts written in this encoding/codepage (bug#6519).
b12f0439 9915
57c3bd01
GM
99162012-04-10 Glenn Morris <rgm@gnu.org>
9917
9918 * cus-start.el (eol-mnemonic-unix, eol-mnemonic-dos, eol-mnemonic-mac):
9919 Add :standard values, reducing "rogue" customs in emacs -Q a bit more.
9920
6c3eab30
FA
99212012-04-10 Florian Adamsky <florian@adamsky.it> (tiny change)
9922
1930bf5d 9923 * recentf.el (recentf-dialog-mode-map): Add two keybindings for
6c3eab30
FA
9924 next-line "n" and previous-line "p" in order to make recentf more
9925 consistent with ibuffer, dired or org-mode (bug#9387).
9926
24d78a88
LMI
99272012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
9928
bc72b5d9
LMI
9929 * image.el (put-image): Return the overlay created instead of the
9930 optional input string (bug#7834). Note that this may break code
9931 that is (for some reason or other) depending on `put-image'
9932 returning the string.
9933
bd2dba5a
LMI
9934 * mouse-sel.el (mouse-sel-mode): Mark as obsolete (bug#6174).
9935
74beb59f
LMI
9936 * simple.el (zap-to-char): Allow zapping using input methods
9937 (bug#1580).
9938
24d78a88
LMI
9939 * textmodes/fill.el (fill-region): Leave point and mark where they
9940 were before filling (bug#5399).
9941
263f20cd
GM
99422012-04-09 Glenn Morris <rgm@gnu.org>
9943
9944 * version.el (emacs-bzr-get-version):
9945 Handle lightweight checkouts of local branches.
9946
58d1f797
AS
99472012-04-09 Andreas Schwab <schwab@linux-m68k.org>
9948
263f20cd 9949 * international/characters.el: Recover lost case pairs. (Bug#11209)
58d1f797 9950
b4d3bc10
CY
99512012-04-09 Chong Yidong <cyd@gnu.org>
9952
9953 * custom.el (custom-variable-p): Return nil for non-symbol
9954 arguments instead of signaling an error.
9955 (user-variable-p): Obsolete alias for custom-variable-p.
9956
9957 * apropos.el (apropos-variable):
9958 * files-x.el (read-file-local-variable):
9959 * simple.el (set-variable):
9960 * woman.el (woman-mini-help):
9961 * emacs-lisp/byte-opt.el (side-effect-free-fns): Callers changed.
9962
fd06db5d
GM
99632012-04-09 Glenn Morris <rgm@gnu.org>
9964
e5fcdb5e
GM
9965 * startup.el (normal-top-level): Don't look for leim-list.el
9966 in places where it will not be found. (Bug#910)
9967
fd06db5d
GM
9968 * international/mule-cmds.el (set-default-coding-systems):
9969 * files.el (normal-mode):
9970 Remove guarded calls to ucs-set-table-for-input. (Bug#9821)
9971 This function was removed with ucs-tables.el in 2008.
9972
b39bb7e1
EZ
99732012-04-08 Eli Zaretskii <eliz@gnu.org>
9974
9975 * textmodes/ispell.el (ispell-check-version): For hunspell, set
9976 ispell-encoding8-command to "-i", without a trailing space.
9977 (ispell-start-process): For hunspell, use '("-i" ENCODING), in 2
9978 separate command-line arguments, to specify the encoding, since
9979 that's how hunspell expects it.
9980
5c5b8e23
GM
99812012-04-08 Glenn Morris <rgm@gnu.org>
9982
9983 * loadup.el: Load bindings before cus-start.
9984 This reduces somewhat the number of "rogue" settings in emacs -Q.
9985
a1ed8b05
GM
99862012-04-07 Glenn Morris <rgm@gnu.org>
9987
9988 * version.el (emacs-bzr-get-version): New function.
dfae128a 9989 (emacs-bzr-version): New variable.
a1ed8b05
GM
9990 * loadup.el (emacs-bzr-version): Set it. (Bug#8054)
9991 * mail/emacsbug.el (report-emacs-bug): Include bzr version.
9992
b142f158
EZ
99932012-04-07 Eli Zaretskii <eliz@gnu.org>
9994
dfae128a
GM
9995 * international/uni-bidi.el, international/uni-category.el:
9996 * international/uni-combining.el, international/uni-decimal.el:
9997 * international/uni-decomposition.el, international/uni-digit.el:
9998 * international/uni-lowercase.el, international/uni-mirrored.el:
9999 * international/uni-name.el, international/uni-numeric.el:
10000 * international/uni-titlecase.el, international/uni-uppercase.el:
10001 Update for Unicode 6.1.
b142f158 10002
9078ead6
EZ
100032012-04-07 Eli Zaretskii <eliz@gnu.org>
10004
10005 * term/w32-win.el (dynamic-library-alist): Add libxml2 DLLs.
10006
f23d2c7d
LMI
100072012-04-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
10008
10009 * window.el (shrink-window): Mention the `window-min-height'
10010 variable in the doc string.
10011
0a0a3573
BG
100122012-04-05 Bastien Guerry <bzg@altern.org>
10013
10014 * color.el (color-lighten-name): Fix typo.
10015
e5248ac9
SM
100162012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
10017
10018 * server.el (server--on-display-p): New function.
10019 (server--on-display-p): Use it.
10020
b4243e22
GV
100212012-04-04 Gabor Vida <vidagabor@gmail.com> (tiny change)
10022
10023 * ido.el (ido-wide-find-dirs-or-files): Use file-name-absolute-p
10024 (bug#11145).
10025
305d9f44
SM
100262012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
10027
10028 * comint.el (comint--common-quoted-suffix): Check string boundary
10029 before comparing (bug#11158).
10030 * pcomplete.el (pcomplete--common-quoted-suffix): Idem.
10031
3d439cd1
CY
100322012-04-04 Chong Yidong <cyd@gnu.org>
10033
321cc491
CY
10034 * minibuffer.el (completion-extra-properties): Doc fix.
10035
3d439cd1
CY
10036 * subr.el (delayed-warnings-hook): Doc fix.
10037
2d562c0f
DU
100382012-04-04 Daiki Ueno <ueno@unixuser.org>
10039
10040 * epa.el (epa--select-keys): Bind C-c C-c to finish the key
10041 selection (Bug#11159).
10042 (epa-insert-keys): Inform that the default public key will be
10043 exported if no key is selected.
10044
4443f204
RS
100452012-04-04 Richard Stallman <rms@gnu.org>
10046
10047 * mail/emacsbug.el (report-emacs-bug): Bind inhibit-read-only.
10048
529c06b6
CY
100492012-04-03 Chong Yidong <cyd@gnu.org>
10050
10051 * mail/sendmail.el (mail-mode-map): Bind C-c C-i to
10052 mail-insert-file, not its obsolete alias mail-attach-file.
10053
66b907dc
MA
100542012-04-03 Michael Albinus <michael.albinus@gmx.de>
10055
10056 * notifications.el (notifications-notify): Fix docstring.
10057
c0ea195d
GM
100582012-04-02 Glenn Morris <rgm@gnu.org>
10059
10060 * emacs-lisp/authors.el (authors-aliases): Another addition.
10061
5ca64e00
MA
100622012-04-02 Michael Albinus <michael.albinus@gmx.de>
10063
10064 * net/tramp-gvfs.el (tramp-gvfs-send-command): Apply
10065 `tramp-compat-call-process' instead of `tramp-local-call-process'.
10066 Reported by Magnus Henoch <magnus.henoch@gmail.com>.
10067
42ee526b
CY
100682012-04-01 Chong Yidong <cyd@gnu.org>
10069
10070 * files.el (file-in-directory-p): Rename from file-subdir-of-p.
10071 Handle root directory properly.
10072 (copy-directory): Caller changed.
10073
10074 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
10075 * net/tramp.el (tramp-file-name-for-operation): Callers changed.
10076
0b021094
GM
100772012-03-31 Glenn Morris <rgm@gnu.org>
10078
40f86458
GM
10079 * term/xterm.el (xterm-extra-capabilities): Doc fix.
10080
7019c177
GM
10081 * language/indian.el ("Devanagari"): Fix typo. (Bug#11103)
10082
a1daddd6
GM
10083 * calendar/calendar.el (calendar-window-list)
10084 (calendar-hide-window): Restore. (Bug#11140)
10085 (calendar-exit): Use calendar-window-list, calendar-hide-window again.
10086
0b021094
GM
10087 * emacs-lisp/edebug.el (edebug-unwrap-results): Doc fix.
10088
40311efc
TV
100892012-03-30 Thierry Volpiatto <thierry.volpiatto@gmail.com>
10090
10091 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
10092 Check if file is a symlink (Bug#10489).
10093
10094 * files.el (copy-directory): Likewise.
10095
5319014e
CY
100962012-03-30 Chong Yidong <cyd@gnu.org>
10097
10098 * image.el (imagemagick-types-inhibit)
10099 (imagemagick-register-types): Doc fix.
10100
935d1290
AM
101012012-03-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
10102
090bd7cb 10103 * textmodes/ispell.el (ispell-get-extended-character-mode):
ef24141c 10104 Disable extended-char-mode for hunspell. hunspell does not support it
75f1671a 10105 and treats ~word as ordinary words in pipe mode.
935d1290 10106
61c6e8fd
GM
101072012-03-30 Glenn Morris <rgm@gnu.org>
10108
10109 * tutorial.el (help-with-tutorial): Ensure local variables don't
10110 happen to make the buffer read-only. (Bug#11127)
10111
81fdff00
SM
101122012-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
10113
10114 * progmodes/perl-mode.el (perl-indent-line): Use `noindent' in strings.
10115 (perl-calculate-indent): Return `noindent' in strings.
10116
6e7a6ec0
SS
101172012-03-28 Sam Steingold <sds@gnu.org>
10118
10119 * calendar/calendar.el (calendar-exit): Use `quit-windows-on'
10120 instead of the broken adhockery which does not prevent calendar
10121 buffers from being displayed at random after exit.
10122 (calendar-window-list, calendar-hide-window): Remove the broken
10123 adhockery.
10124
fee88ca0
GM
101252012-03-28 Glenn Morris <rgm@gnu.org>
10126
10127 * replace.el (query-replace-map): Doc fix.
10128
38de3354
AS
101292012-03-28 Andreas Schwab <schwab@linux-m68k.org>
10130
10131 * vc/vc-git.el (vc-git-state): Don't try to match all of the diff
10132 contents. (Bug#11109)
10133
b973155e
SM
101342012-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
10135
10136 * emacs-lisp/avl-tree.el (avl-tree--enter-balance): Fix paren typo
10137 (bug#11077).
10138 (avl-tree--check, avl-tree--check-node): New funs.
10139
dcb6e7b3
MR
101402012-03-27 Martin Rudalics <rudalics@gmx.at>
10141
10142 * window.el (switch-to-visible-buffer): New option.
b973155e
SM
10143 (switch-to-prev-buffer, switch-to-next-buffer):
10144 Observe switch-to-visible-buffer. Make sure that checking for a window
dcb6e7b3
MR
10145 showing a buffer already is done on the same frame.
10146
b4fa35fa
GM
101472012-03-27 Glenn Morris <rgm@gnu.org>
10148
10149 * startup.el (mail-host-address): Doc fix.
10150
f9210e18
SM
101512012-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
10152
10153 * emacs-lisp/bytecomp.el (byte-compile-constants-vector): Allow more
10154 than 197 variables.
10155
c0bf7753
AF
101562012-03-26 Ami Fischman <ami@fischman.org>
10157
10158 * vc/vc-git.el (vc-git-state): Avoid unnecessarily locking.
10159
33da7b16
GM
101602012-03-26 Glenn Morris <rgm@gnu.org>
10161
02243d9d
GM
10162 * files.el (save-buffers-kill-emacs): Doc fix.
10163
33da7b16
GM
10164 * startup.el (normal-top-level, command-line, command-line-1):
10165 Give them doc strings.
10166
e5a69fd0
EZ
101672012-03-25 Eli Zaretskii <eliz@gnu.org>
10168
10169 * makefile.w32-in (install): Use $(DIRNAME)_same-dir.tst instead
b973155e 10170 of same-dir.tst, to avoid stepping on other (parallel) Make job's toes.
e5a69fd0 10171
9a69676a
CY
101722012-03-25 Chong Yidong <cyd@gnu.org>
10173
4125cb8b
CY
10174 * custom.el (load-theme): Even if NO-ENABLE arg is t, reenable the
10175 theme if it was previously enabled before (Bug#11031).
10176
dd470960
CY
10177 * cus-theme.el (custom-theme-write-faces): Retrieve current face
10178 spec with custom-face-get-current-spec if its :shown-value is not
10179 determined yet (Bug#9337).
4125cb8b 10180 (customize-create-theme, custom-theme-revert): Doc fixes.
dd470960 10181
9a69676a
CY
10182 * button.el (button-at): Minor addition to docstring.
10183
6e7e90fa
SL
101842012-03-24 Simon Leinen <simon.leinen@gmail.com>
10185
10186 * vc/vc.el (vc-merge): Fix a prompt.
10187
f06e2758
CY
101882012-03-24 Chong Yidong <cyd@gnu.org>
10189
10190 * mwheel.el (mwheel-scroll): Call deactivate-mark at the right
10191 point (Bug#9623).
10192
6e7e90fa
SL
10193 * button.el (button-at): Minor addition to docstring.
10194
b9d0879b
SM
101952012-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
10196
10197 * newcomment.el (comment-choose-indent): No space after BOL.
10198
e71cebb3
SS
101992012-03-22 Sam Steingold <sds@gnu.org>
10200
10201 * window.el (switch-to-prev-buffer): Revert last patch because the
10202 bug turned out to be an advertised feature (Elisp manual 28.14).
10203
335aff35
GM
102042012-03-22 Glenn Morris <rgm@gnu.org>
10205
10206 * vc/vc-bzr.el (vc-bzr-status-switches): New option. (Bug#6724)
10207 (vc-bzr-command): If running "status", pass vc-bzr-status-switches.
10208
c676576a
LMI
102092012-03-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
10210
10211 * net/network-stream.el (network-stream-open-starttls): Make error
10212 message under Windows be less misleading.
10213
126f3d39
LW
102142012-03-22 Liang Wang <netcasper@gmail.com> (tiny change)
10215
10216 * progmodes/etags.el (etags-list-tags): Only use tags which goto-func
10217 understands (bug#9942).
10218
64fee311
CY
102192012-03-22 Chong Yidong <cyd@gnu.org>
10220
10221 * simple.el (end-of-visible-line): Handle return value of
10222 next-single-property-change properly (Bug#9371).
10223
a640d29a
KH
102242012-03-22 Kenichi Handa <handa@m17n.org>
10225
10226 * international/quail.el (quail-insert-kbd-layout): Fix previous
10227 change. To avoid unwanted bidi reordering, use
10228 bidi-string-mark-left-to-right instead of inserting LRO and PDF.
10229
39675016
DG
102302012-03-21 Dmitry Gutov <dgutov@yandex.ru>
10231
10232 * progmodes/ruby-mode.el: Don't confuse "end:" for "end" (bug#10786).
10233 (ruby-block-end-re, ruby-delimiter, ruby-parse-partial)
10234 (ruby-beginning-of-indent): Be more careful with the difference
10235 between word-boundary and symbol boundary.
10236 (ruby-mode-syntax-table): Make : a symbol constituent.
10237
0a6934fc 102382012-03-21 Andreas Politz <politza@fh-trier.de>
1acad97c 10239
3d008e4f
SM
10240 * outline.el (outline-flag-region): Evaporate overlays (bug#10789).
10241
0a6934fc
SM
102422012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
10243
af67c9d7
SM
10244 * progmodes/etags.el (tags-completion-at-point-function):
10245 Improve last fix.
10246
1acad97c
SM
10247 * files.el (move-file-to-trash): Files aren't regexps (bug#11055).
10248
e298b5da
SS
102492012-03-21 Sam Steingold <sds@gnu.org>
10250
10251 * progmodes/etags.el (tags-completion-at-point-function):
10252 Avoid the error when point is inside the pattern.
10253
91d82a70
JY
102542012-03-21 John Yates <john@yates-sheets.org> (tiny change)
10255
10256 * progmodes/hideshow.el (hs-inside-comment-p): Fix hiding of first
10257 line (Bug#10855).
10258
69188b79
CY
102592012-03-21 Drew Adams <drew.adams@oracle.com>
10260
10261 * info.el (Info-menu): Handle string value of FORK arg (Bug#10858).
10262
99fc91fe
AK
102632012-03-21 Anmol Khirbat <anmol@khirbat.net> (tiny change)
10264
10265 * ido.el (ido-set-current-directory, ido-read-internal)
10266 (ido-choose-completion-string, ido-completion-help): Handle nil
10267 value of ido-completion-buffer (Bug#11008).
10268
087bbb4c
SS
102692012-03-21 Sam Steingold <sds@gnu.org>
10270
10271 * window.el (switch-to-prev-buffer): Do not switch to a visible
10272 window previous buffer, just like with the frame previous buffers.
10273
fb5b8aca
CY
102742012-03-21 Chong Yidong <cyd@gnu.org>
10275
10276 * faces.el (make-face, make-empty-face, copy-face):
10277 * face-remap.el (face-remap-add-relative, face-remap-set-base):
10278 Doc fixes.
10279
dc9924b8
SM
102802012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
10281
10282 * wid-edit.el (widget-complete-field): Remove (bug#11051).
10283 (widget-complete): Remove broken use of it.
10284
f0bcceb9
CY
102852012-03-20 Chong Yidong <cyd@gnu.org>
10286
dc9924b8
SM
10287 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
10288 Use string-width and truncate-string-width to handle arbitrary
f0bcceb9
CY
10289 characters.
10290
ee52ebf3
TH
102912012-03-20 Tassilo Horn <tassilo@member.fsf.org>
10292
10293 * textmodes/artist.el (artist-menu-map): Bind Rectangle menu item
10294 to draw rectangles, not squares. (Regression introduced by revno
10295 2011-03-02T03:48:01Z!cyd@stupidchicken.com)
10296
4c5779ab
CY
102972012-03-18 Chong Yidong <cyd@gnu.org>
10298
10299 * faces.el (face-spec-reset-face): Don't call display-graphic-p if
10300 it is not yet defined (for temacs).
10301
15360934
LL
103022012-03-18 Leo Liu <sdl.web@gmail.com>
10303
735135f9
PE
10304 * net/rcirc.el (rcirc-cmd-quit): Allow quitting all servers with
10305 prefix.
15360934 10306
d9a8eb66
EZ
103072012-03-17 Eli Zaretskii <eliz@gnu.org>
10308
10309 * textmodes/ispell.el (ispell-skip-tib, ispell-keep-choices-win)
10310 (ispell-choices-win-default-height, ispell-silently-savep)
10311 (ispell-dictionary-alist, ispell-encoding8-command)
10312 (ispell-check-version, ispell-aspell-find-dictionary)
10313 (ispell-valid-dictionary-list, ispell-words-keyword)
10314 (ispell-get-word, ispell-internal-change-dictionary)
10315 (ispell-region, ispell-skip-region-list)
10316 (ispell-begin-skip-region-regexp, ispell-ignore-fcc)
10317 (ispell-process-line, ispell-minor-mode, ispell-minor-check)
10318 (ispell-message-text-end, ispell-message)
10319 (ispell-buffer-local-parsing): Doc fix.
10320
f02ff80d
J
103212012-03-13 Jambunathan K <kjambunathan@gmail.com>
10322
10323 * htmlfontify.el: Add support for code block fontification for ODT
10324 export (Bug #9914).
10325 (hfy-optimisations): Define new option
10326 `body-text-only'
10327 (hfy-fontify-buffer): Honor above setting.
10328 (hfy-begin-span, hfy-end-span): New routines factored out form
10329 `hfy-fontify-buffer'.
10330 (hfy-begin-span-handler, hfy-end-span-handler): New variables
10331 that permit insertion of custom tags.
10332 (hfy-fontify-buffer): Use above handlers.
10333 (hfy-face-to-css-default): Same as the earlier `hfy-face-to-css'.
10334 (hfy-face-to-css): Re-defined to be a variable.
dc9924b8 10335 (hfy-compile-stylesheet): Modify. Allow stylesheet to be built
75f1671a 10336 over multiple runs. This is made possible by having the caller let
f02ff80d
J
10337 bind a special variable `hfy-user-sheet-assoc'.
10338 (htmlfontify-string): New defun.
10339 (hfy-compile-face-map): Make sure that the last char in the
10340 buffer is correctly fontified.
10341 (hfy-face-resolve-face): Whitespace only change.
10342
9ac7a13f
EZ
103432012-03-17 Eli Zaretskii <eliz@gnu.org>
10344
10345 * textmodes/ispell.el (ispell-get-decoded-string): Make the error
10346 message more clear.
10347
e2b5bdd7
LL
103482012-03-16 Leo Liu <sdl.web@gmail.com>
10349
10350 * emacs-lisp/copyright.el (copyright-year-ranges): Fix typo.
10351
2e492df3
AM
103522012-03-16 Alan Mackenzie <acm@muc.de>
10353
10354 Further optimise the handling of large macros.
10355
10356 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Use a
10357 limit to a call of `c-literal-limits'.
10358 (c-determine-+ve-limit): New function.
dc9924b8
SM
10359 (c-at-macro-vsemi-p): Move `c-in-literal' to the bottom of an `and'.
10360 (c-guess-basic-syntax): In macros, restrict a search limit to 2000.
2e492df3
AM
10361 In CASE 5B, restrict a search limit to 500.
10362 (c-just-after-func-arglist-p): Obviouly wrong `or' -> `and'.
10363
10364 * progmodes/cc-mode.el (c-neutralize-syntax-in-and-mark-CPP):
10365 Restrict macro bounds to +-500 from after-change's BEG END.
10366
50e94f0c
LL
103672012-03-16 Leo Liu <sdl.web@gmail.com>
10368
10369 * font-lock.el (lisp-font-lock-keywords-2): Add letrec.
10370
6f09f6ed
AH
103712012-03-16 Aaron S. Hawley <Aaron.S.Hawley@gmail.com>
10372
10373 * tar-mode.el (tar-mode): Fix saving by conditionally undoing
dc9924b8 10374 `special-mode' setting of `buffer-read-only'. (Bug#11010)
6f09f6ed 10375
c7e73d51
GM
103762012-03-16 Glenn Morris <rgm@gnu.org>
10377
da986230
GM
10378 * view.el (view-buffer, view-buffer-other-window)
10379 (view-buffer-other-frame): Doc fixes re special mode-class.
10380
0835f01e
GM
10381 * subr.el (eval-after-load): If named feature is provided not from
10382 a file, run after-load forms. (Bug#10946)
10383
c7e73d51
GM
10384 * calendar/calendar.el (calendar-insert-at-column):
10385 Handle non-unit-width characters a bit better. (Bug#10978)
10386
3f2eafd1
CY
103872012-03-15 Chong Yidong <cyd@gnu.org>
10388
10389 * emacs-lisp/ring.el (ring-extend): New function.
10390 (ring-insert+extend): Extend the ring correctly (Bug#11019).
10391
10392 * comint.el (comint-read-input-ring)
10393 (comint-add-to-input-history): Grow comint-input-ring lazily.
10394
103af3fe
SM
103952012-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
10396
663b1677
SM
10397 * progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
10398 Fix up parsing of multiline twoarg non-paired elements (bug#11014).
10399
103af3fe
SM
10400 * imenu.el: Fix multiple inheritance breakage (bug#9199).
10401 (imenu-add-to-menubar): Don't add a redundant index.
10402 (imenu-update-menubar): Handle a dynamically composed keymap.
10403
899cb7cb
KY
104042012-03-13 Katsumi Yamaoka <yamaoka@jpl.org>
10405
10406 * mail/sendmail.el (mail-encode-header):
10407 Bind rfc2047-encode-encoded-words to nil.
10408
3809f91d
GM
104092012-03-13 Glenn Morris <rgm@gnu.org>
10410
10411 * calendar/calendar.el (calendar-string-spread):
10412 Handle non-unit-width characters a bit better. (Bug#10978)
10413
9e345a01
LL
104142012-03-13 Leo Liu <sdl.web@gmail.com>
10415
10416 * vc/vc-hg.el (vc-hg-working-revision): Rework to work with both
10417 directory and file as argument (Bug#10822).
10418
4a07df36
KS
104192012-03-13 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
10420
10421 * progmodes/gdb-mi.el (gdb-invalidate-disassembly):
10422 For dynamically generated code, follow $PC.
10423 (gdb-disassembly-handler-custom): Handle no function name case.
10424
4aaa9356
TL
104252012-03-13 Tim Landscheidt <tim@tim-landscheidt.de> (tiny change)
10426
10427 * calendar/icalendar.el (icalendar-export-file, icalendar-import-file):
10428 * emulation/ws-mode.el (ws-query-replace):
10429 * sort.el (sort-regexp-fields):
10430 Fix missing trailing whitespace in interactive prompts. (Bug#11002)
10431
225979da
SM
104322012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
10433
10434 * dabbrev.el: Fix cycle completion order (bug#10963).
10435 (dabbrev--last-obarray, dabbrev--last-completion-buffer): Remove.
10436 (dabbrev-completion): Don't use an obarray; provide
10437 a cycle-sort-function.
10438
e2f1fdab
LL
104392012-03-12 Leo Liu <sdl.web@gmail.com>
10440
dc9924b8 10441 * simple.el (kill-new): Use equal-including-properties for comparison.
e2f1fdab
LL
10442 (kill-do-not-save-duplicates): Doc fix.
10443
b19490ed
SM
104442012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
10445
10446 * dabbrev.el: Fix cycle completion (bug#10963).
10447 Use lexical binding and wrap to 80 columns.
10448 (dabbrev-completion): Delay computing the list of completions.
10449
4b05d722
KH
104502012-03-12 Kenichi Handa <handa@m17n.org>
10451
10452 * international/quail.el (quail-insert-kbd-layout): Surround each
10453 row by LRO and PDF instead of inserting many LRMs. Pad the left
10454 and right of each non-spacing marks. Insert invisible space
10455 between lower and upper characters to prevent composition.
10456
dbbc2e69
SM
104572012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
10458
10459 * minibuffer.el (minibuffer-complete): Don't get confused when the
10460 function is run twice via different commands (bug#10958).
10461 (complete-with-action): Fix docstring.
10462
292112ed
CY
104632012-03-12 Chong Yidong <cyd@gnu.org>
10464
5d1ac394
CY
10465 * nxml/nxml-mode.el (nxml-mode-map): Do not bind C-RET (Bug#6776).
10466 (nxml-completion-at-point-function): New function.
10467 (nxml-mode): Use it.
10468 (nxml-bind-meta-tab-to-complete-flag): Default to t.
10469
292112ed
CY
10470 * emacs-lisp/package.el (package-unpack, package-unpack-single):
10471 Load generated autoloads file before byte compiling (Bug#10970).
10472 (package--make-autoloads-and-compile): New helper fun.
10473
4098f8f7
CS
104742012-03-12 Christopher Schmidt <christopher@ch.ristopher.com>
10475
10476 * ibuffer.el (ibuffer-redisplay): Remove another gratuitous error.
10477
8f754691
MA
104782012-03-11 Michael Albinus <michael.albinus@gmx.de>
10479
10480 * autorevert.el (auto-revert-handler): Ensure, that
10481 file-readable-p is applied only for local files or in
10482 auto-revert-tail-mode.
10483
e29ab36b
AS
104842012-03-11 Andreas Schwab <schwab@linux-m68k.org>
10485
dbbc2e69
SM
10486 * server.el (server-eval-at): Handle non-tcp connections.
10487 Decode result string.
ad0bf5b6 10488
e29ab36b
AS
10489 * server.el (server-msg-size): New constant.
10490 (server-reply-print): New function.
10491 (server-eval-and-print): Use it.
10492 (server-eval-at): Use server-quote-arg and server-unquote-arg.
10493 Handle -print-nonl.
10494
de5939ba
CS
104952012-03-11 Christopher Schmidt <christopher@ch.ristopher.com>
10496
10497 * ibuffer.el (ibuffer-redisplay): Remove gratuitous error
10498 (Bug#10987).
10499
0c93eabf
CY
105002012-03-11 Chong Yidong <cyd@gnu.org>
10501
397a688f
CY
10502 * simple.el (goto-line): Doc fix (Bug#9938).
10503
2cc775f9
CY
10504 * subr.el (save-window-excursion): Doc fix (Bug#9979).
10505
0c93eabf
CY
10506 * dabbrev.el (dabbrev--find-expansion): Update progress reporter
10507 when finished (Bug#10963).
10508
c491fa41
MR
105092012-03-11 Martin Rudalics <rudalics@gmx.at>
10510
10511 * window.el (split-window-below): Fix bug in case where
10512 split-window-keep-point is nil (Bug#10971).
10513
300e8fa5
JL
105142012-03-11 Juri Linkov <juri@jurta.org>
10515
10516 * replace.el (replace-highlight): Set isearch-word to nil
10517 unconditionally. (Bug#10887)
10518
dbf6c5a1
EZ
105192012-03-10 Eli Zaretskii <eliz@gnu.org>
10520
10521 * net/mairix.el (mairix-replace-invalid-chars): Rename from
10522 mairix-replace-illegal-chars; all callers changed. Don't remove
dc9924b8 10523 ^, ~, and = characters: they are meaningful in mairix search specs.
dbf6c5a1
EZ
10524 (mairix-widget-create-query): Add usage information about mairix
10525 search forms: negating words, searching for substrings, etc.
10526
b9e501de
JP
105272012-03-10 Jae-hyeon Park <jae-hyeon.park@desy.de> (tiny change)
10528
10529 * international/fontset.el (font-encoding-alist): Add an entry for
10530 ksx1001 (Bug#5667).
10531
92795c91
RS
105322012-03-10 Richard Stallman <rms@gnu.org>
10533
1694e6c1
RS
10534 * mail/sendmail.el (mail-encode-header):
10535 Set rfc2047-encode-encoded-words.
10536
607e8555
RS
10537 * mail/mail-utils.el (mail-quote-printable): Quote multibyte chars.
10538
de3bc99a
RS
10539 * mail/rmail.el (rmail-buffers-swapped-p): Don't assume dead
10540 view buffer means not swapped.
10541 (rmail-view-buffer-kill-buffer-hook): Give buf name in error msg.
10542 (rmail-write-region-annotate): Error if real text has disappeared.
10543
92795c91
RS
10544 * epa-mail.el (epa-mail-encrypt): Bind inhibit-read-only.
10545
699bd04e
CY
105462012-03-10 Chong Yidong <cyd@gnu.org>
10547
10548 * emulation/cua-rect.el (cua--init-rectangles):
dbbc2e69
SM
10549 * emulation/cua-base.el (cua--init-keymaps):
10550 Add delete-forward-char to remappings (Bug#9666).
699bd04e 10551
570a1714
MR
105522012-03-10 Martin Rudalics <rudalics@gmx.at>
10553
dbbc2e69
SM
10554 * speedbar.el (speedbar-unhighlight-one-tag-line):
10555 Avoid unhighlighting due to frame switching (Bug#10275).
570a1714 10556
82dcf4e4
CY
105572012-03-10 Chong Yidong <cyd@gnu.org>
10558
7a2c7ca7
CY
10559 * minibuffer.el (completion-in-region, completion-help-at-point):
10560 Give the completion field overlay a high priority (Bug#6830).
10561
82dcf4e4
CY
10562 * dired.el (dired-goto-file): Recognize absolute file name
10563 listings (Bug#7126).
10564 (dired-goto-file-1): New helper function.
10565 (dired-toggle-read-only): Inhibit warnings.
10566
052e28ac
MA
105672012-03-09 Michael Albinus <michael.albinus@gmx.de>
10568
75f1671a 10569 * net/dbus.el (dbus-property-handler): Return empty array if
052e28ac
MA
10570 there are no properties.
10571
95d5e396
LL
105722012-03-09 Leo Liu <sdl.web@gmail.com>
10573
10574 * savehist.el (savehist-printable): Stricter check for string
10575 value (Bug#10937).
10576
3f018d6d
EZ
105772012-03-09 Eli Zaretskii <eliz@gnu.org>
10578
dbbc2e69
SM
10579 * mail/smtpmail.el (smtpmail-send-it):
10580 Bind coding-system-for-write to *-unix, so that FCC files are kept in
3f018d6d
EZ
10581 valid mbox format.
10582
f7fd3d79
GM
105832012-03-09 Glenn Morris <rgm@gnu.org>
10584
10585 * files.el (dir-locals-find-file):
10586 Don't check result is regular, readable.
10587 (dir-locals-read-from-file): Demote errors.
10588
6ff6e72f
EZ
105892012-03-08 Eli Zaretskii <eliz@gnu.org>
10590
dbbc2e69
SM
10591 * international/quail.el (quail-insert-kbd-layout):
10592 Insert invisible LRM characters before each character in a keyboard
6ff6e72f
EZ
10593 layout cell, to prevent their reordering by bidi display engine.
10594 For details, see the discussion in
10595 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00085.html.
10596
9cec7834
AM
105972012-03-08 Alan Mackenzie <acm@muc.de>
10598
10599 * progmodes/cc-cmds.el (c-mark-function): Make it leave a mark at
10600 the starting position; make it extend the marked region when
10601 invoked repeatedly - all under appropriate circumstances.
10602 Fixes bugs #5525, #10906.
10603
9a40b8d4
GM
106042012-03-08 Glenn Morris <rgm@gnu.org>
10605
10606 * files.el (locate-dominating-file, dir-locals-find-file):
10607 Undo 2012-03-06 change.
10608
7a08ed35
EZ
106092012-03-07 Eli Zaretskii <eliz@gnu.org>
10610
dbbc2e69
SM
10611 * international/quail.el (quail-help):
10612 Force bidi-paragraph-direction be left-to-right. See discussion in
7a08ed35
EZ
10613 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00062.html
10614 for the reason.
10615
5aca4f71 106162012-03-07 Michael Albinus <michael.albinus@gmx.de>
6612a284
MA
10617
10618 Avoid superfluous registering of signals. (Bug#10807)
10619
10620 * notifications.el (notifications-on-action-object)
10621 (notifications-on-close-object): New defvars.
10622 (notifications-on-action-signal, notifications-on-closed-signal):
10623 Unregister the signal if not needed any longer.
10624 (notifications-notify): Register `notifications-action-signal' or
10625 `notifications-closed-signal', if :on-action or :on-close has been
10626 passed as argument.
10627
78e8b10a
CY
106282012-03-07 Chong Yidong <cyd@gnu.org>
10629
10630 * cus-start.el: Avoid x-select-enable-clipboard-manager warning on
10631 non-X platforms.
10632
69481eb8
GM
106332012-03-06 Glenn Morris <rgm@gnu.org>
10634
10635 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
10636 (x-disown-selection-internal, x-get-selection-internal):
10637 Doc fix (add arglist signatures). (Bug#10783)
10638
133b8e11
KS
106392012-03-06 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
10640
10641 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
10642 Handle breakpoints with no "type".
10643
99a83064
GM
106442012-03-06 Glenn Morris <rgm@gnu.org>
10645
10646 * files.el (locate-dominating-file): Add optional predicate argument.
10647 (dir-locals-find-file): Make use of above change.
10648
17798e78
TTN
106492012-03-06 Thien-Thi Nguyen <ttn@gnuvola.org>
10650
10651 * info.el (Info-insert-dir): Also try "dir.gz".
10652
eb182446
GM
106532012-03-06 Glenn Morris <rgm@gnu.org>
10654
8f2114ee
GM
10655 * files.el (dir-locals-find-file):
10656 Ignore non-readable or non-regular files. (Bug#10928)
10657
eb182446
GM
10658 * files.el (locate-dominating-file): Doc fix.
10659
24679323
AS
106602012-03-06 Adam Spiers <emacs@adamspiers.org> (tiny change)
10661
10662 * calendar/calendar.el (calendar-set-mode-line):
10663 `getenv' returns a string. (Bug#10951)
10664
01d972a9
LL
106652012-03-05 Leo Liu <sdl.web@gmail.com>
10666
109aa8a9
LL
10667 * simple.el (backward-delete-char-untabify): Constrain point to
10668 field (Bug#10939).
10669
01d972a9
LL
10670 * eshell/em-cmpl.el (eshell-cmpl-initialize): Fix shift-tab key.
10671
10607bea
CY
106722012-03-05 Chong Yidong <cyd@gnu.org>
10673
10674 * simple.el (count-words): If called from Lisp, return the word
10675 count, for symmetry with `count-lines'. Arglist changed.
10676 (count-words--message): Args changed. Consolidate counting code
10677 from count-words and count-words-region.
10678 (count-words-region): Caller changed.
10679 (count-lines-region): Make it an obsolete alias.
10680
5dd11cfe
TH
106812012-03-04 Tassilo Horn <tassilo@member.fsf.org>
10682
10683 * saveplace.el (save-place-to-alist)
10684 (save-place-ignore-files-regexp): Allow value nil to disable this
10685 feature.
10686
c349f4e6
CY
106872012-03-04 Chong Yidong <cyd@gnu.org>
10688
10689 * faces.el (face-spec-reset-face): For the default face, reset the
10690 attributes to default values (Bug#10748).
10691
e627be4c
LMI
106922012-03-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
10693
10694 * mail/emacsbug.el (report-emacs-bug-hook): Fix up thinko in
10695 previous patch: Check `message-send-mail-function', and not the
10696 default function (bug#10897).
10697
ebeabff4
MA
106982012-03-04 Michael Albinus <michael.albinus@gmx.de>
10699
a41a6cf4
MA
10700 * notifications.el (notifications-on-action-signal)
10701 (notifications-on-closed-signal): Check for unique service name of
10702 incoming event. Fix error in removing entry.
ebeabff4 10703 (top): Register for signals with wildcard service name.
a41a6cf4 10704 (notifications-notify): Use daemon unique service name for map entries.
ebeabff4 10705
c1ca42b4
CY
107062012-03-04 Chong Yidong <cyd@gnu.org>
10707
dc9924b8 10708 * cus-start.el: Make x-select-enable-clipboard-manager customizable.
c1ca42b4 10709
ea16568d
GM
107102012-03-04 Glenn Morris <rgm@gnu.org>
10711
10712 * abbrev.el (copy-abbrev-table, abbrev-table-p)
10713 (abbrev-minor-mode-table-alist, define-abbrev, abbrev-insert)
10714 (expand-abbrev, define-abbrev-table): Doc fixes.
10715
fbae4637
LMI
107162012-03-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
10717
10718 * mail/emacsbug.el (report-emacs-bug-hook): Look at the value of
10719 `message-default-send-mail-function' and not `send-mail-function'
10720 when doing the prompting for `sendmail-query-once' before sending
10721 in Message buffers (bug#10897).
10722
a1e7225c
LMI
10723 * net/tls.el (open-tls-stream): Don't set the dont-query-on-exit flag.
10724 This is inconsistent with all the other stream functions, which leave
10725 the setting up to the higher levels (if so wanted) (bug#10931).
10726
56d093a9
AM
107272012-03-02 Alan Mackenzie <acm@muc.de>
10728
10729 Depessimize the handling of very large macros.
10730
10731 * progmodes/cc-engine.el (c-macro-cache, c-macro-cache-start-pos):
10732 (c-macro-cache-syntactic): New variables to implement a one
10733 element macro cache.
10734 (c-invalidate-macro-cache): New function.
10735 (c-beginning-of-macro, c-end-of-macro, c-syntactic-end-of-macro):
10736 Adapt to use the new cache.
10737 (c-state-safe-place): Use better the cache of safe positions.
10738 (c-state-semi-nonlit-pos-cache)
10739 (c-state-semi-nonlit-pos-cache-limit):
10740 New variables for...
10741 (c-state-semi-safe-place): New function. Here, in a macro is "safe".
10742 (c-invalidate-state-cache-1): New stuff for c-state-semi-safe-place.
dbbc2e69
SM
10743 (c-in-literal, c-literal-limits, c-determine-limit-get-base):
10744 Use c-state-semi-safe-place.
56d093a9 10745
dbbc2e69
SM
10746 * progmodes/cc-langs.el (c-get-state-before-change-functions):
10747 Add c-invalidate-macro-cache to the C, C++, Obj entries.
56d093a9 10748
817e5c3d
MA
107492012-03-02 Michael Albinus <michael.albinus@gmx.de>
10750
dbbc2e69
SM
10751 * jka-compr.el (jka-compr-call-process):
10752 Apply `file-accessible-directory-p' only when the default directory is
817e5c3d
MA
10753 not remote.
10754
a032a702
MA
107552012-03-01 Michael Albinus <michael.albinus@gmx.de>
10756
10757 * files.el (file-equal-p): Fix docstring. Avoid unnecessary
10758 access of FILE2, if FILE1 does not exist.
10759
99a54f21
MA
10760 * net/tramp-sh.el (tramp-remote-process-environment): Add "PAGER=\"\"".
10761 Reported by Robert Lupton the Good <rhl@astro.princeton.edu>.
10762
10763 * vc/vc-git.el (vc-git--call): Enable `inhibit-null-byte-detection'.
10764 Add "PAGER=" to `process-environment'.
10765
f6561e1f
MM
107662012-03-01 Michael R. Mauger <mmaug@yahoo.com>
10767
10768 * progmodes/sql.el: Bug fix
10769 (sql-get-login-ext): Save login values in globals.
10770 (sql-get-login): Use new version of `sql-get-login-ext'.
10771 (sql-interactive-mode): Set global `sql-connection' to nil.
10772 (sql-connect): Set global values for connection.
10773 (sql-product-interactive): Save global values as buffer local.
10774
2d44d9cc
LL
107752012-02-29 Leo Liu <sdl.web@gmail.com>
10776
10777 * abbrev.el (define-abbrevs): Reset sys to nil.
10778
96b49301 107792012-02-28 Thierry Volpiatto <thierry.volpiatto@gmail.com>
10780
bf7f9bc5
JB
10781 * files.el (file-equal-p): Rename from `files-equal-p'.
10782 Return nil when one or both files don't exist.
96b49301 10783 (file-subdir-of-p): Now only top directory must exists,
10784 return nil if it doesn't.
bf7f9bc5
JB
10785 (copy-directory): No need to test with `file-subdir-of-p' after
10786 creating dir.
10787 * net/tramp.el (tramp-file-name-for-operation): Rename `files-equal-p'
10788 to `file-equal-p'.
96b49301 10789
44e97401
GM
107902012-02-28 Glenn Morris <rgm@gnu.org>
10791
10792 * shell.el (shell-mode):
10793 * progmodes/vhdl-mode.el (wildcard-to-regexp, file-expand-wildcards):
10794 * play/landmark.el (landmark-font-lock-face-O):
10795 * play/handwrite.el (handwrite):
10796 * play/gomoku.el (gomoku-O):
10797 * net/browse-url.el (browse-url-browser-display):
10798 * international/mule.el (define-charset):
10799 * htmlfontify.el (hfy-etags-cmd, hfy-face-attr-for-class):
10800 * filesets.el (filesets-find-file-delay):
10801 * eshell/em-xtra.el (eshell-xtra):
10802 * eshell/em-unix.el (eshell-grep):
10803 * emulation/viper.el (viper-mode):
10804 * emacs-lisp/regexp-opt.el (regexp-opt-group):
10805 * emacs-lisp/easymenu.el (easy-menu-define):
10806 * calendar/timeclock.el (timeclock-use-display-time):
10807 * bs.el (bs-mode):
10808 * bookmark.el (bookmark-save-flag):
10809 Doc fix (standardize possessive apostrophe usage).
10810
c98c6276
CY
108112012-02-27 Chong Yidong <cyd@gnu.org>
10812
bf7f9bc5
JB
10813 * emulation/viper-cmd.el (viper-intercept-ESC-key):
10814 Fix key-binding lookup for ESC key (Bug#9146).
ecf5f74e 10815
c98c6276
CY
10816 * font-lock.el (font-lock-specified-p): Rename from
10817 font-lock-spec-present. Callers changed.
10818
9c62cd04 108192012-02-27 Daniel Hackney <dan@haxney.org>
8ac9e529 10820
bf7f9bc5
JB
10821 * emacs-lisp/package.el (package-compute-transaction):
10822 Handle holding a package version to t in package-load-list.
8ac9e529 10823
530739c9
MA
108242012-02-26 Michael Albinus <michael.albinus@gmx.de>
10825
10826 * net/tramp.el (tramp-inodes, tramp-devices): Initialize with 0.
10827 (tramp-get-inode, tramp-get-device): Use cached values.
10828
487915d7
AM
108292012-02-26 Alan Mackenzie <acm@muc.de>
10830
10831 Check there is a font-lock specification before doing initial
10832 fontification.
10833
10834 * font-core.el (font-lock-mode): Move the conditional from
10835 :after-hook to font-lock-initial-fontify.
10836 (font-lock-default-function): Move the check for a specification
10837 to font-lock-spec-present.
10838
dc9924b8 10839 * font-lock.el (font-lock-initial-fontify): Call ...
487915d7
AM
10840 (font-lock-spec-present): New function.
10841
4fd96557
JB
108422012-02-26 Jim Blandy <jimb@red-bean.com>
10843
10844 * progmodes/gdb-mi.el (gdb-mi-quote): New function.
10845 (gdb-send): Apply it to the operand of the '-interpreter-exec
10846 console' command, so that we can pass arguments with (say) quotes
10847 in them. Store exact string sent in gdb-debug-log (Bug#10765).
10848
9a4888c0
CY
108492012-02-26 Chong Yidong <cyd@gnu.org>
10850
07498861
CY
10851 * help-fns.el (describe-function-1): Clarify description of
10852 remapping (Bug#10844).
10853
9a4888c0
CY
10854 * files.el (files-equal-p): Doc fix.
10855 (file-subdir-of-p): Doc fix. Convert loop macro to plain Lisp,
10856 and quit the loop once a mismatch is found.
10857
ea8fb88d
JB
108582012-02-25 Juanma Barranquero <lekktu@gmail.com>
10859
10860 * bs.el (bs--show-with-configuration): Don't throw an error
10861 if the window cannot be split; otherwise, subsequent calls to
10862 bs-show fail, restoring a stale window config. (Bug#10882)
10863
525795c1
JD
108642012-02-25 Jan Djärv <jan.h.d@swipnet.se>
10865
10866 * term/ns-win.el (global-map): Bind ns-drag-file to
10867 ns-find-file (Bug#5855, Bug#10050).
10868
f008086f
AS
108692012-02-25 Andreas Schwab <schwab@linux-m68k.org>
10870
10871 * calendar/parse-time.el (parse-time-string): Allow extractor to
10872 return nil.
10873
a3fcfa99
MA
108742012-02-25 Michael Albinus <michael.albinus@gmx.de>
10875
91027d08
JB
10876 * net/tramp.el (tramp-file-name-for-operation):
10877 Add `files-equal-p' and `file-subdir-of-p'.
a3fcfa99
MA
10878
10879 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
91027d08
JB
10880 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
10881 Add COPY-CONTENTS argument.
a3fcfa99 10882
67b0de11
CY
108832012-02-25 Chong Yidong <cyd@gnu.org>
10884
10885 Add custom groups for VC backends, for consistency with vc-bzr.
10886
10887 * vc/vc-arch.el (vc-arch):
10888 * vc/vc-cvs.el (vc-cvs):
10889 * vc/vc-git.el (vc-git):
10890 * vc/vc-hg.el (vc-hg):
10891 * vc/vc-mtn.el (vc-mtn):
10892 * vc/vc-rcs.el (vc-rcs):
10893 * vc/vc-sccs.el (vc-sccs):
10894 * vc/vc-svn.el (vc-svn): New customization group (Bug#10871).
10895 All relevant defcustoms reassigned.
10896
3c9dfce6
CY
108972012-02-25 Chong Yidong <cyd@gnu.org>
10898
1339bf43
CY
10899 * newcomment.el (comment-styles): Add autoload (Bug#10868).
10900
3c9dfce6
CY
10901 * term/x-win.el (x-initialize-window-system): Reduce default for
10902 x-selection-timeout to 5 seconds (Bug#8869).
10903
25b2e303 109042012-02-24 Thierry Volpiatto <thierry.volpiatto@gmail.com>
10905
ec70a47d
GM
10906 * files.el (files-equal-p, file-subdir-of-p): New functions.
10907 (copy-directory): Error when trying to copy a directory on itself.
25b2e303 10908 Add missing copy-contents arg to tramp handler.
ec70a47d
GM
10909 * dired-aux.el (dired-copy-file-recursive): Same.
10910 (dired-create-files): Modify destination when source is equal to
10911 dest when copying files.
53a46cd0 10912 Return also when dest is a subdir of source. (Bug#10489)
25b2e303 10913
914260cd
MA
109142012-02-24 Michael Albinus <michael.albinus@gmx.de>
10915
10916 * net/ange-ftp.el (ange-ftp-parse-netrc): Suppress comment lines.
10917 (Bug#10874)
10918
2cb228f7
AM
109192012-02-23 Alan Mackenzie <acm@muc.de>
10920
10921 * emacs-lisp/easy-mmode.el (define-minor-mode): Add extra
10922 parameter "after-hook:" to allow the expansion to run code after
10923 the execution of the mode hooks.
10924
10925 * font-lock.el (font-lock-initial-fontify): New function extracted
91027d08 10926 from font-lock-mode-internal.
2cb228f7 10927
91027d08 10928 * font-core.el (font-lock-mode): Call font-lock-initial-fontify in
2cb228f7
AM
10929 :after-hook.
10930
8f0fde21
SM
109312012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
10932
3e88618b
SM
10933 * minibuffer.el: Make sure cycling is reset upon edit with icomplete.el.
10934 (completion--cache-all-sorted-completions): New function.
10935 (completion-all-sorted-completions): Use it.
10936 (completion--do-completion, minibuffer-force-complete):
10937 Use it to re-instate the flush hook.
10938
8f0fde21
SM
10939 * icomplete.el (icomplete-completions): Replace last fix with a better
10940 one (bug#10850).
10941
8e911f6f
DG
109422012-02-23 Dmitry Gutov <dgutov@yandex.ru>
10943
10944 * emacs-lisp/lisp.el (beginning-of-defun-raw): Don't call end-of-defun
10945 when it might call us back infinitely (bug#10797).
10946
49fe4321
GM
109472012-02-23 Glenn Morris <rgm@gnu.org>
10948
10949 * minibuffer.el (completion-category-overrides): Doc fix.
10950
b291b572
SM
109512012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
10952
10953 * minibuffer.el (completion-table-with-context): Fix inf-loop.
10954 Reported by Aaron S. Hawley <aaron.s.hawley@gmail.com>.
10955
31a9ef2e
GM
109562012-02-23 Glenn Morris <rgm@gnu.org>
10957
5e6e6794 10958 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case)
31a9ef2e
GM
10959 (authors-obsolete-files-regexps, authors-ignored-files)
10960 (authors-ambiguous-files, authors-renamed-files-alist):
10961 Add more entries.
10962
0bd1e074
JL
109632012-02-23 Juri Linkov <juri@jurta.org>
10964
10965 * isearch.el (isearch-occur): Sync interactive spec with occur's
10966 new feature in `occur-read-primary-args'. Doc fix. (Bug#10705)
10967
b617673c
JL
10968 * replace.el (occur-menu-map): Add menu item for `occur-edit-mode'.
10969
19e9789e
JL
109702012-02-22 Juri Linkov <juri@jurta.org>
10971
10972 * international/mule-cmds.el (read-char-by-name): Use \` and \'.
10973 (ucs-insert): Doc fix. Check for hex digits in the string.
10974 Don't display `nil' in the error message. (Bug#10857)
10975
f41ce09d
AM
109762012-02-22 Alan Mackenzie <acm@muc.de>
10977
7a71b18d 10978 * progmodes/cc-mode.el: Revert change #2012-02-06T22:08:41Z!larsi@gnus.org from 2012-02-06.
f41ce09d 10979
ac2eceee
GM
109802012-02-22 Glenn Morris <rgm@gnu.org>
10981
10982 * ffap.el (ffap-c-path):
10983 * man.el (Man-header-file-path): Handle multiarch. (Bug#10702)
10984
abd1f678
CY
109852012-02-22 Chong Yidong <cyd@gnu.org>
10986
10987 * custom.el (load-theme): Doc fix.
10988
f25aef2e
GM
109892012-02-22 Glenn Morris <rgm@gnu.org>
10990
10991 * dired-x.el (dired-guess-shell-alist-default):
10992 Remove escape sequences from nroff output. (Bug#172)
10993
5f8dc2ca
GM
109942012-02-21 Glenn Morris <rgm@gnu.org>
10995
6ff86ec4
GM
10996 * vc/emerge.el (emerge-defvar-local):
10997 Set `permanent-local' property rather than unused `preserved'.
10998
be3223a3 10999 * textmodes/picture.el (picture-delete-char): New alias.
5f8dc2ca
GM
11000 (picture-mode-map): Use it. (Bug#10860)
11001 (picture-mode): Doc fix.
11002
3fe58f4f
JB
110032012-02-21 Juanma Barranquero <lekktu@gmail.com>
11004
11005 * newcomment.el (uncomment-region-default): Remove unused binding.
11006
f9a998c3
GM
110072012-02-21 Glenn Morris <rgm@gnu.org>
11008
11009 * textmodes/picture.el (picture-motion, picture-motion-reverse)
11010 (picture-self-insert, picture-tab-chars): Doc fix.
11011 (picture-mode-map): Fix C-a, C-e.
11012
c6029348
GM
110132012-02-20 Glenn Morris <rgm@gnu.org>
11014
11015 * emacs-lisp/authors.el (authors-aliases): Add another entry.
11016
ab1ce9d7
LL
110172012-02-20 Leo Liu <sdl.web@gmail.com>
11018
11019 * icomplete.el (icomplete-completions): Check FROM arg before
11020 passing to substring (Bug#10850).
11021
0fd40f89
CY
110222012-02-19 Chong Yidong <cyd@gnu.org>
11023
11024 * comint.el: Require ansi-color.
11025 (comint-output-filter-functions): Add ansi-color-process-output.
11026
11027 * ansi-color.el: Don't set comint-output-filter-functions; it is
11028 now in the initial value defined in comint.el.
11029 (ansi-color-apply-face-function): New variable.
11030 (ansi-color-apply-on-region): Use it.
11031 (ansi-color-apply-overlay-face): New function.
11032
11033 * shell.el (shell): No need to require ansi-color.
11034 (shell-mode): Use ansi-color-apply-face-function to highlight
11035 color escapes using font-lock-face property (Bug#10835).
11036
20af2394
CY
110372012-02-19 Chong Yidong <cyd@gnu.org>
11038
11039 * vc/ediff-init.el (ediff-strip-mode-line-format): Handle non-list
11040 mode-line formats (Bug#10839).
11041
e23a3fbe
GM
110422012-02-18 Glenn Morris <rgm@gnu.org>
11043
b474519e
GM
11044 * mail/rmail.el (rmail-dont-reply-to-names): Mark as obsolete.
11045
11046 * mail/undigest.el (unforward-rmail-message): Doc fix.
11047
e23a3fbe
GM
11048 * saveplace.el (save-place-ignore-files-regexp): Add :version.
11049
57939ff4
EZ
110502012-02-18 Eli Zaretskii <eliz@gnu.org>
11051
11052 * international/characters.el (script-list): Sync with the latest
11053 Unicode Character Database.
11054
0c23686e
AS
110552012-02-18 Andreas Schwab <schwab@linux-m68k.org>
11056
11057 * international/titdic-cnv.el: Remove duplicate coding tag.
11058 * language/cham.el: Likewise.
11059 * language/tai-viet.el: Likewise.
11060
6818b449
GM
110612012-02-18 Glenn Morris <rgm@gnu.org>
11062
11063 * calendar/cal-menu.el (cal-menu-diary-menu, cal-menu-goto-menu):
11064 * calendar/calendar.el (diary-file, diary-bahai-entry-symbol)
11065 (calendar-bahai-all-holidays-flag, calendar-other-dates):
11066 * calendar/diary-lib.el (diary-abbreviated-year-flag):
11067 * calendar/holidays.el (holiday-bahai-holidays)
11068 (calendar-holidays, list-holidays):
11069 Use utf-8 Bahá'í in doc-strings, menus, etc.
11070
0311a3fc
TH
110712012-02-17 Tassilo Horn <tassilo@member.fsf.org>
11072
11073 * saveplace.el (save-place-ignore-files-regexp): New variable
11074 allowing for excluding files from saving their location of point.
11075 The default value matches the temporary commit message editing
11076 files from Git, SVN, Bazaar, and Mercurial.
11077 (save-place-to-alist): Use it.
11078
d209e2fb 110792012-02-17 Lawrence Mitchell <wence@gmx.li>
f1a71c6e 11080 Stefan Monnier <monnier@iro.umontreal.ca>
eb864a71
LM
11081
11082 * newcomment.el (uncomment-region-default): Don't leave extra space
11083 when an arg is provided (bug#8150).
11084
ee0ce425
TZ
110852012-02-17 Teodor Zlatanov <tzz@lifelogs.com>
11086
eb864a71 11087 * net/gnutls.el (gnutls-trustfiles): Fix Cygwin bundle location.
ee0ce425 11088
95ddf442
GM
110892012-02-17 Glenn Morris <rgm@gnu.org>
11090
11091 * net/socks.el: Require network-stream. (Bug#10599)
11092
48dd1e39 110932012-02-17 Kenichi Handa <handa@m17n.org>
c406be43
KH
11094
11095 * international/charprop.el:
11096 * international/uni-name.el:
11097 * international/uni-old-name.el:
11098 * international/uni-comment.el: Regenerate.
11099
d68cd087
GM
111002012-02-16 Glenn Morris <rgm@gnu.org>
11101
11102 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits):
11103 Interactively in calendar buffer, give an error if not on a date.
11104
13932042
GM
111052012-02-15 Glenn Morris <rgm@gnu.org>
11106
11107 * shell.el (shell-delimiter-argument-list):
11108 Revert 2011-02-17 change. (Bug#8027)
11109
c3a70e2b
CY
111102012-02-15 Chong Yidong <cyd@gnu.org>
11111
60236b0d
CY
11112 * minibuffer.el (completion-at-point-functions): Doc fix.
11113
c3a70e2b
CY
11114 * custom.el (defcustom): Doc fix; note use of defvar.
11115
9f26dc24
GM
111162012-02-15 Glenn Morris <rgm@gnu.org>
11117
11118 * mail/smtpmail.el (smtpmail-smtp-user, smtpmail-stream-type):
11119 Doc fixes.
11120
6546b134
GM
111212012-02-14 Glenn Morris <rgm@gnu.org>
11122
11123 * mail/smtpmail.el (smtpmail-query-smtp-server): Give it a doc.
11124
d29b2b4c
LI
111252012-02-14 Lars Ingebrigtsen <larsi@gnus.org>
11126
11127 * mail/smtpmail.el (smtpmail-query-smtp-server): Fix typo in the
11128 way the ports list is computed.
835bdcba
LI
11129 (smtpmail-query-smtp-server): Prompt the user for a port number if
11130 we can't connect to any of the standard ports (bug#10810).
d29b2b4c 11131
08dcdbc9
TZ
111322012-02-14 Teodor Zlatanov <tzz@lifelogs.com>
11133
11134 * net/gnutls.el (gnutls-trustfiles): Add Cygwin location.
11135
2605051a
GM
111362012-02-13 Glenn Morris <rgm@gnu.org>
11137
11138 * minibuffer.el (read-file-name): Doc fix. (Bug#10798)
11139
7ee99f32
TZ
111402012-02-13 Teodor Zlatanov <tzz@lifelogs.com>
11141
11142 * net/gnutls.el (gnutls-trustfiles): New variable.
11143 (gnutls-negotiate): Use it.
11144
5f0af64f
LI
111452012-02-13 Lars Ingebrigtsen <larsi@gnus.org>
11146
11147 * simple.el (mail-user-agent): Mention that `gnus-user-agent' only
11148 does its stuff if Gnus is running.
11149
c14fcc95
AM
111502012-02-13 Alan Mackenzie <acm@muc.de>
11151
11152 Fix a loop in c-set-fl-decl-start.
11153
7a71b18d 11154 * progmodes/cc-engine.el (c-set-fl-decl-start): Add a check that
c14fcc95
AM
11155 c-backward-syntactic-ws actually moves backwards.
11156
142b4d90
LL
111572012-02-13 Leo Liu <sdl.web@gmail.com>
11158
11159 * net/rcirc.el (rcirc-markup-attributes): Move point to the
11160 beginning so that all \C-o chars are removed.
11161
fa9958a6
TZ
111622012-02-12 Teodor Zlatanov <tzz@lifelogs.com>
11163
dc9924b8 11164 * net/gnutls.el (gnutls-algorithm-priority): Add missing :group tag.
fa9958a6 11165
0bc5886a
AM
111662012-02-12 Alan Mackenzie <acm@muc.de>
11167
11168 Fix infinite loop with long macros.
4d6769e1 11169 * progmodes/cc-engine.el (c-state-safe-place): Handle macros properly.
0bc5886a 11170
d4bd55e7
CY
111712012-02-12 Chong Yidong <cyd@gnu.org>
11172
11173 * window.el (display-buffer): Doc fix (Bug#10785).
11174
66f3fe22
GM
111752012-02-12 Glenn Morris <rgm@gnu.org>
11176
bd7da63e
GM
11177 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
11178 (x-disown-selection-internal, x-get-selection-internal):
11179 Sync docs with the xselect.c versions.
11180
66f3fe22
GM
11181 * allout-widgets.el: Add missing license notice.
11182
3e0d2fa7
GM
111832012-02-11 Glenn Morris <rgm@gnu.org>
11184
cfecdf09
GM
11185 * select.el (x-get-selection-internal, x-own-selection-internal)
11186 (x-disown-selection-internal):
11187 * x-dnd.el (x-get-selection-internal): Update declarations.
11188
6d216d7f
GM
11189 * vc/log-view.el (vc-diff-internal): Remove unneeded declaration.
11190
2bed3f04
GM
11191 * window.el (window-sides-slots):
11192 * tool-bar.el (tool-bar-position):
11193 * term/xterm.el (xterm-extra-capabilities):
11194 * ses.el (ses-self-reference-early-detection):
11195 * progmodes/verilog-mode.el (verilog-auto-declare-nettype)
11196 (verilog-auto-wire-type)
11197 (verilog-auto-delete-trailing-whitespace)
11198 (verilog-auto-reset-blocking-in-non, verilog-auto-inst-sort)
11199 (verilog-auto-tieoff-declaration):
11200 * progmodes/sql.el (sql-login-hook, sql-ansi-statement-starters)
11201 (sql-oracle-statement-starters, sql-oracle-scan-on):
11202 * progmodes/prolog.el (prolog-align-comments-flag)
11203 (prolog-indent-mline-comments-flag, prolog-object-end-to-0-flag)
11204 (prolog-left-indent-regexp, prolog-paren-indent-p)
11205 (prolog-paren-indent, prolog-parse-mode, prolog-keywords)
11206 (prolog-types, prolog-mode-specificators)
11207 (prolog-determinism-specificators, prolog-directives)
11208 (prolog-electric-newline-flag, prolog-hungry-delete-key-flag)
11209 (prolog-electric-dot-flag)
11210 (prolog-electric-dot-full-predicate-template)
11211 (prolog-electric-underscore-flag, prolog-electric-tab-flag)
11212 (prolog-electric-if-then-else-flag, prolog-electric-colon-flag)
11213 (prolog-electric-dash-flag, prolog-old-sicstus-keys-flag)
11214 (prolog-program-switches, prolog-prompt-regexp)
11215 (prolog-debug-on-string, prolog-debug-off-string)
11216 (prolog-trace-on-string, prolog-trace-off-string)
11217 (prolog-zip-on-string, prolog-zip-off-string)
11218 (prolog-use-standard-consult-compile-method-flag)
11219 (prolog-use-prolog-tokenizer-flag, prolog-imenu-flag)
11220 (prolog-imenu-max-lines, prolog-info-predicate-index)
11221 (prolog-underscore-wordchar-flag, prolog-use-sicstus-sd)
11222 (prolog-char-quote-workaround):
11223 * progmodes/cc-vars.el (c-defun-tactic):
11224 * net/tramp.el (tramp-encoding-command-interactive)
11225 (tramp-local-end-of-line):
11226 * net/soap-client.el (soap-client):
11227 * net/netrc.el (netrc-file):
11228 * net/gnutls.el (gnutls):
11229 * minibuffer.el (completion-category-overrides)
11230 (completion-cycle-threshold)
11231 (completion-pcm-complete-word-inserts-delimiters):
11232 * man.el (Man-name-local-regexp):
11233 * mail/feedmail.el (feedmail-display-full-frame):
11234 * international/characters.el (glyphless-char-display-control):
11235 * eshell/em-ls.el (eshell-ls-date-format):
11236 * emacs-lisp/cl-indent.el (lisp-lambda-list-keyword-alignment)
11237 (lisp-lambda-list-keyword-parameter-indentation)
11238 (lisp-lambda-list-keyword-parameter-alignment):
11239 * doc-view.el (doc-view-image-width, doc-view-unoconv-program):
11240 * dired-x.el (dired-omit-verbose):
11241 * cus-theme.el (custom-theme-allow-multiple-selections):
11242 * calc/calc.el (calc-highlight-selections-with-faces)
11243 (calc-lu-field-reference, calc-lu-power-reference)
11244 (calc-note-threshold):
11245 * battery.el (battery-mode-line-limit):
11246 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
11247 (archive-7z-update):
11248 * allout.el (allout-prefixed-keybindings)
11249 (allout-unprefixed-keybindings)
11250 (allout-inhibit-auto-fill-on-headline)
11251 (allout-flattened-numbering-abbreviation):
11252 * allout-widgets.el (allout-widgets-auto-activation)
11253 (allout-widgets-icons-dark-subdir)
11254 (allout-widgets-icons-light-subdir, allout-widgets-icon-types)
11255 (allout-widgets-theme-dark-background)
11256 (allout-widgets-theme-light-background)
11257 (allout-widgets-item-image-properties-emacs)
11258 (allout-widgets-item-image-properties-xemacs)
11259 (allout-widgets-run-unit-tests-on-load)
11260 (allout-widgets-time-decoration-activity)
11261 (allout-widgets-hook-error-post-time)
11262 (allout-widgets-track-decoration):
11263 Add missing :version tags to new defcustoms and defgroups.
11264
5fec1b8e
GM
11265 * progmodes/sql.el (sql-ansi-statement-starters)
11266 (sql-oracle-statement-starters): Add custom type.
11267
3e0d2fa7
GM
11268 * progmodes/prolog.el: Remove leading '*' from defcustom docs.
11269 (prolog-system-version): Give it a type.
11270
90b671e2
EZ
112712012-02-11 Eli Zaretskii <eliz@gnu.org>
11272
11273 * term/pc-win.el (x-select-text, x-selection-owner-p)
11274 (x-own-selection-internal, x-disown-selection-internal)
11275 (x-get-selection-internal): Sync doc strings and argument lists
11276 with xselect.c, common-win.el and x-win.el. (Bug#10783)
11277
5eac0c02
LL
112782012-02-11 Leo Liu <sdl.web@gmail.com>
11279
11280 * progmodes/python.el (python-end-of-statement): Fix infinite
11281 loop. (Bug#10788)
11282
f82cb659
GM
112832012-02-10 Glenn Morris <rgm@gnu.org>
11284
11285 * international/mule-cmds.el (unify-8859-on-encoding-mode)
11286 (unify-8859-on-decoding-mode): Properly mark as obsolete.
11287
cc26d239
LI
112882012-02-10 Lars Ingebrigtsen <larsi@gnus.org>
11289
11290 * mail/emacsbug.el (report-emacs-bug-hook): Query the user first
11291 about SMTP before checking the From header.
11292
91027d08 11293 * mail/sendmail.el (sendmail-query-user-about-smtp): Refactor out
cc26d239
LI
11294 into own function for reuse by emacsbug.el.
11295
1be3ca5a
LL
112962012-02-10 Leo Liu <sdl.web@gmail.com>
11297
11298 * subr.el (condition-case-unless-debug): Rename from
11299 condition-case-no-debug. All callers changed.
11300 (with-demoted-errors): Fix caller.
11301
11302 * vc/diff-mode.el (diff-auto-refine-mode, diff-hunk):
11303 * nxml/rng-valid.el (rng-do-some-validation):
11304 * emacs-lisp/package.el (package-refresh-contents)
11305 (package-menu-execute):
11306 * desktop.el (desktop-create-buffer):
91027d08 11307 * font-lock.el (lisp-font-lock-keywords-2): Caller changed.
1be3ca5a 11308
b011fbfe
GM
113092012-02-10 Glenn Morris <rgm@gnu.org>
11310
b2096d72
GM
11311 * textmodes/bibtex.el:
11312 Add missing :version tags for new/changed defcustoms.
11313
b011fbfe
GM
11314 * files.el (remote-file-name-inhibit-cache): Doc fixes.
11315
4c7e65bf
LI
113162012-02-09 Lars Ingebrigtsen <larsi@rusty>
11317
11318 * mail/smtpmail.el (smtpmail-user-mail-address): New function.
11319 (smtpmail-via-smtp): Use it, or fall back on the From address.
11320 (smtpmail-send-it): Ditto.
11321
f3934f6f
SM
113222012-02-09 Stefan Monnier <monnier@iro.umontreal.ca>
11323
11324 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
11325 Don't fallback on byte-compile-defvar. Optimize (defvar foo) away.
11326 (byte-compile-tmp-var): New const.
11327 (byte-compile-defvar): Use it to minimize .elc size.
11328 Just use `defvar' rather than simulate it (bug#10761).
11329
a075a2c5
GM
113302012-02-09 Glenn Morris <rgm@gnu.org>
11331
cf3aa21b
GM
11332 * files.el (rename-uniquely): Doc fix. (Bug#3806)
11333
354998cd
GM
11334 * progmodes/cc-guess.el (c-guess-offset-threshold, c-guess-region-max):
11335 Add :version tags.
11336
dc9924b8
SM
11337 * progmodes/compile.el (compilation-error-screen-columns)
11338 (compilation-first-column, compilation-filter-start): Doc fixes.
83274125 11339
dab3703d
GM
11340 * vc/log-view.el (log-view-toggle-entry-display):
11341 * vc/vc.el (vc-merge, vc-pull): Doc fixes.
11342
3f88cd72
GM
11343 * mail/emacsbug.el (report-emacs-bug-can-use-osx-open)
11344 (report-emacs-bug-can-use-xdg-email):
11345 (report-emacs-bug-insert-to-mailer): Doc fixes.
11346 (report-emacs-bug): Message fix.
11347
d95b247d
GM
11348 * net/browse-url.el (browse-url-can-use-xdg-open)
11349 (browse-url-xdg-open): Doc fixes.
11350
a075a2c5
GM
11351 * electric.el (electric-indent-mode, electric-pair-mode)
11352 (electric-layout-rules, electric-layout-mode): Doc fixes.
11353 (electric-pair-pairs, electric-pair-skip-self): Add :version tags.
11354
ffb6157e
MR
113552012-02-08 Martin Rudalics <rudalics@gmx.at>
11356
11357 * server.el (server-unselect-display): Don't inadvertently kill
11358 the current buffer. (Bug#10729)
11359
e1ac4066
GM
113602012-02-08 Glenn Morris <rgm@gnu.org>
11361
34e8a2da
GM
11362 * progmodes/sql.el (sql-port, sql-connection-alist, sql-list-all)
11363 (sql-list-table): Doc fixes.
11364
b4ac6e8c
GM
11365 * image-mode.el (image-transform-minor-mode-map, image-transform-mode):
11366 Comment out (does nothing).
11367
e1ac4066
GM
11368 * completion.el (dynamic-completion-mode):
11369 * dirtrack.el (dirtrack-debug-mode):
11370 * electric.el (electric-layout-mode):
11371 * epa-mail.el (epa-mail-mode, epa-global-mail-mode):
11372 * face-remap.el (text-scale-mode, buffer-face-mode):
11373 * iimage.el (iimage-mode):
11374 * image-mode.el (image-transform-mode):
11375 * minibuffer.el (completion-in-region-mode):
11376 * scroll-lock.el (scroll-lock-mode):
11377 * simple.el (next-error-follow-minor-mode):
11378 * tar-mode.el (tar-subfile-mode):
11379 * tooltip.el (tooltip-mode):
11380 * vcursor.el (vcursor-use-vcursor-map):
11381 * wid-browse.el (widget-minor-mode):
11382 * emulation/tpu-edt.el (tpu-edt-mode):
11383 * emulation/tpu-extras.el (tpu-cursor-free-mode):
11384 * international/iso-ascii.el (iso-ascii-mode):
11385 * language/thai-util.el (thai-word-mode):
11386 * mail/supercite.el (sc-minor-mode):
11387 * net/goto-addr.el (goto-address-mode):
11388 * net/rcirc.el (rcirc-multiline-minor-mode, rcirc-track-minor-mode):
11389 * progmodes/cwarn.el (cwarn-mode):
11390 * progmodes/flymake.el (flymake-mode):
11391 * progmodes/glasses.el (glasses-mode):
11392 * progmodes/hideshow.el (hs-minor-mode):
11393 * progmodes/pascal.el (pascal-outline-mode):
11394 * textmodes/enriched.el (enriched-mode):
11395 * vc/smerge-mode.el (smerge-mode):
11396 Doc fixes (minor mode argument).
11397
5e0d957f
EZ
113982012-02-07 Eli Zaretskii <eliz@gnu.org>
11399
11400 * ls-lisp.el (ls-lisp-sanitize): New function.
11401 (ls-lisp-insert-directory): Use it to fix or remove any elements
11402 in file-alist with missing attributes. (Bug#4673)
11403
98d7371e
AM
114042012-02-07 Alan Mackenzie <acm@muc.de>
11405
11406 Fix spurious recognition of c-in-knr-argdecl.
11407
11408 * progmodes/cc-engine.el (c-in-knr-argdecl): Check for '=' in a
11409 putative K&R region.
11410
667ced3a
AM
114112012-02-07 Alan Mackenzie <acm@muc.de>
11412
eb864a71
LM
11413 * progmodes/cc-engine.el (c-forward-objc-directive):
11414 Prevent looping in "#pragma mark @implementation".
667ced3a 11415
5b77774d
MA
114162012-02-07 Michael Albinus <michael.albinus@gmx.de>
11417
11418 * notifications.el (notifications-on-closed-signal): Make `reason'
11419 optional. (Bug#10744)
11420
af008560
GM
114212012-02-07 Glenn Morris <rgm@gnu.org>
11422
60d47423
GM
11423 * emacs-lisp/easy-mmode.el (define-minor-mode):
11424 Doc fixes for the macro and the mode it defines.
11425
dd605cc4
GM
11426 * image.el (imagemagick-types-inhibit): Doc fix.
11427
af008560
GM
11428 * cus-start.el (imagemagick-render-type): Add it.
11429
5cc59a37
LI
114302012-02-06 Lars Ingebrigtsen <larsi@gnus.org>
11431
4d6769e1
JB
11432 * progmodes/cc-mode.el (c-standard-font-lock-fontify-region-function):
11433 Set the default at load time, too, so that `font-lock-fontify-buffer'
11434 can be called without setting up the entire mode first. This fixes
11435 a bug in `mm-inline-text' with C MIME parts.
5cc59a37 11436
9a6dd747
CY
114372012-02-06 Chong Yidong <cyd@gnu.org>
11438
2d16b285
CY
11439 * simple.el (list-processes--refresh): Delete exited processes
11440 (Bug#8094).
11441
171e9b6e
CY
11442 * comint.el (comint-next-prompt): next-single-char-property-change
11443 and prev-single-char-property-change never return nil (Bug#8657).
11444
9a6dd747
CY
11445 * custom.el (defcustom): Doc fix (Bug#9711).
11446
aa4589a7
CY
114472012-02-05 Chong Yidong <cyd@gnu.org>
11448
5c2a252f
CY
11449 * cus-edit.el (custom-variable-reset-backup): Quote the value
11450 before storing it in the customized-value property (Bug#6712).
4aab9006 11451 (custom-display): Add a customization type tag.
983b9602 11452 (custom-buffer-create-internal): Improve tooltip message.
5c2a252f 11453
aa4589a7
CY
11454 * wid-edit.el (widget-field-value-get): New optional arg to
11455 suppress trailing whitespace truncation.
11456 (character): Use it (Bug#2689).
11457
1ff980ae
AS
114582012-02-05 Andreas Schwab <schwab@linux-m68k.org>
11459
11460 * progmodes/gud.el (gud-pv): Use pv instead of pv1.
11461 * progmodes/gdb-mi.el (gud-pp): Use pp instead of pp1.
11462
03988c98
CY
114632012-02-05 Chong Yidong <cyd@gnu.org>
11464
eeb6cc88
CY
11465 * cus-edit.el (custom-variable-value-create): For mismatched
11466 types, show the current value (Bug#7600).
11467
03988c98
CY
11468 * custom.el (defcustom): Doc fix.
11469
f8cdeef0
GM
114702012-02-05 Glenn Morris <rgm@gnu.org>
11471
11472 * font-lock.el (lisp-font-lock-keywords-2): Add with-wrapper-hook.
11473
0696d255
JB
114742012-02-05 Juanma Barranquero <lekktu@gmail.com>
11475
11476 * emacs-lisp/pp.el (pp-to-string): Use `with-temp-buffer'.
11477 (pp-buffer): Use `ignore-errors', `looking-at-p'.
11478 (pp-last-sexp): Use `looking-at-p'.
11479
34c99998
GM
114802012-02-04 Glenn Morris <rgm@gnu.org>
11481
8f05da42
GM
11482 * files.el (revert-buffer):
11483 Doc fix (mention revert-buffer-in-progress-p).
11484
f160676e
GM
11485 * emacs-lisp/ert-x.el (ert-simulate-command):
11486 Check deferred-action-list (which is obsolete) is bound.
11487
c7291ad9
GM
11488 * subr.el (with-wrapper-hook): Doc fixes.
11489
34c99998
GM
11490 * simple.el (filter-buffer-substring-functions)
11491 (buffer-substring-filters, filter-buffer-substring): Doc fixes.
11492
6283a7d3
LL
114932012-02-04 Lars Ljung <lars@matholka.se> (tiny change)
11494
11495 * eshell/esh-ext.el (eshell-windows-shell-file): Match "cmdproxy"
11496 anywhere in shell-file-name, not just at the beginning. (Bug#10523)
11497
e96e3013
LL
114982012-02-04 Leo Liu <sdl.web@gmail.com>
11499
11500 * emacs-lisp/smie.el: Fix dead link (Bug#10711).
11501
8ded50f2
GM
115022012-02-04 Glenn Morris <rgm@gnu.org>
11503
82ff1d13
GM
11504 * image.el (image-extension-data): Add obsolete alias.
11505
987a0a16
GM
11506 * isearch.el (isearch-update): Doc fix.
11507
ea32ef46
GM
11508 * facemenu.el (list-colors-display): Doc fix (minor rephrasing).
11509
8ded50f2
GM
11510 * ido.el (ido-find-file): Doc fix (ido-toggle-vc not on any key).
11511
eea14f31
GM
115122012-02-03 Glenn Morris <rgm@gnu.org>
11513
11514 * image.el (image-animated-p): Doc fix. Use image-animated-types.
11515 (image-animate-timeout): Doc fix.
11516
11517 * image-mode.el (image-animate-loop, image-toggle-animation): Doc fixes.
11518
12f381b7
GM
115192012-02-02 Glenn Morris <rgm@gnu.org>
11520
953cebf5
GM
11521 * server.el (server-auth-dir): Doc fix.
11522 (server-eval-at): Doc fix. Give an explicit error if !server-use-tcp.
11523
12f381b7
GM
11524 * subr.el (run-mode-hooks): Doc fix.
11525
953a8c3b
JL
115262012-02-02 Juri Linkov <juri@jurta.org>
11527
11528 * image-mode.el (image-toggle-display-image): Remove tautological
11529 `major-mode' from the `derived-mode-p' test.
11530
c5d3843c
KH
115312012-02-02 Kenichi Handa <handa@m17n.org>
11532
9f6e692e 11533 * composite.el (compose-region): Cancel previous change.
c5d3843c 11534
159462d4 115352012-02-02 Kenichi Handa <handa@m17n.org>
d2a51fd7
KH
11536
11537 * composite.el (compose-region, compose-string): Signal error for
11538 a null string component (Bug#6988).
11539
9f562668
CY
115402012-02-01 Chong Yidong <cyd@gnu.org>
11541
e2cef717
CY
11542 * view.el (view-buffer-other-window, view-buffer-other-frame):
11543 Handle special modes like view-buffer (Bug#10650).
11544 (view-buffer): Simplify.
11545
9f562668
CY
11546 * frame.el (set-frame-font): Tweak meaning of third argument.
11547
9f6e692e
JB
11548 * dynamic-setting.el (font-setting-change-default-font):
11549 Use set-frame-font (Bug#9982).
9f562668 11550
781acb9f
GM
115512012-02-01 Glenn Morris <rgm@gnu.org>
11552
6035be52
GM
11553 * progmodes/compile.el (compilation-internal-error-properties):
11554 Respect compilation-first-column in the "*compilation*" buffer.
11555
781acb9f
GM
11556 * emacs-lisp/easy-mmode.el (define-minor-mode):
11557 Relax :variable's test for a named function.
11558
abbceb00
AM
115592012-01-31 Alan Mackenzie <acm@muc.de>
11560
11561 * progmodes/cc-engine.el (c-guess-basic-syntax): CASE 5B.1: Fix an
11562 off by one error.
11563
fce3fdeb
CY
115642012-01-31 Chong Yidong <cyd@gnu.org>
11565
11566 * frame.el (set-frame-font): New arg ALL-FRAMES.
11567
11568 * menu-bar.el (menu-set-font): Use set-frame-font.
11569
11570 * faces.el (face-spec-reset-face): Don't apply unspecified
11571 attribute values to the default face.
11572
47893581
JB
115732012-01-31 Juanma Barranquero <lekktu@gmail.com>
11574
11575 * progmodes/cwarn.el (cwarn): Remove dead link.
11576 (cwarn-configuration, cwarn-verbose, cwarn-mode-text, cwarn-load-hook):
11577 Remove * from defcustom docstrings.
11578 (turn-on-cwarn-mode): Make obsolete.
11579 (c-at-toplevel-p): Remove compatibility code for Emacs 20.3 and older.
11580 (turn-on-cwarn-mode-if-enabled): Call `cwarn-mode'.
11581
e58e988a
GM
115822012-01-31 Glenn Morris <rgm@gnu.org>
11583
60dc2671 11584 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
6c9b47ae 11585 Fix :variable handling of mode a symbol not equal to modefun.
60dc2671 11586 Allow named functions to be used as the cdr of :variable.
e58e988a 11587
7a3f511d
GM
115882012-01-30 Glenn Morris <rgm@gnu.org>
11589
11590 * emacs-lisp/authors.el (authors-fixed-entries):
11591 Remove reference to deleted file rnewspost.el.
11592
cb882333
JB
115932012-01-29 Juanma Barranquero <lekktu@gmail.com>
11594
11595 * window.el (window-with-parameter): Remove unused variable `windows'.
11596 (window--side-check): Remove unused variable `code'.
11597 (window--resize-siblings): Remove unused variable `first'.
11598 (adjust-window-trailing-edge): Remove unused variable `failed'.
11599 (window-deletable-p, window--delete): Remove unused variable `buffer'.
11600 Use `let', not `let*'.
11601 (balance-windows-2): Remove unused variable `found'.
11602 (window--state-put-2): Remove unused variable `splits'.
11603 (window-state-put): Remove unused variable `selected'.
11604 (same-window-p): Use `string-match-p'.
11605 (display-buffer-assq-regexp): Remove unused variable `value'.
11606 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
11607 Mark argument ALIST as ignored.
11608 (pop-to-buffer): Remove unused variable `old-window'.
11609
907201af
EZ
116102012-01-29 Eli Zaretskii <eliz@gnu.org>
11611
11612 * jka-cmpr-hook.el (jka-compr-compression-info-list): Support .lz
11613 and .lzma compressed files.
11614
ea162670
CY
116152012-01-29 Chong Yidong <cyd@gnu.org>
11616
5b95ee8a
CY
11617 * frame.el (window-system-default-frame-alist): Doc fix.
11618
ea162670
CY
11619 * dynamic-setting.el (font-setting-change-default-font): Don't
11620 change the default face if SET-FONT argument is non-nil (Bug#9982).
11621
6fccd6e8 116222012-01-29 Samuel Bronson <naesten@gmail.com>
d6e6f4b1
SB
11623
11624 * custom.el (defcustom): Add doc link to Lisp manual (Bug#10635).
11625
0f29fa41 116262012-01-29 Syver Enstad <syver.enstad@cisco.com> (tiny change)
6b25e4e2
SE
11627
11628 * progmodes/gud.el (pdb): Give pdb full paths, to allow setting
11629 breakpoints in files outside current directory (Bug#6098).
11630
db174434
CY
116312012-01-29 Chong Yidong <cyd@gnu.org>
11632
6b25e4e2
SE
11633 * progmodes/python.el: Require ansi-color at top-level.
11634
6df6ae42
JB
11635 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-abbrev-table):
11636 Define and use in Emacs Lisp mode (Bug#9360).
db174434
CY
11637 (lisp-mode-abbrev-table): Add doc.
11638 (lisp-mode-variables): Don't set local-abbrev-table.
11639 (lisp-interaction-mode): Use emacs-lisp-mode-abbrev-table.
11640
e70ee681
RW
116412012-01-28 Roland Winkler <winkler@gnu.org>
11642
11643 * textmodes/bibtex.el (bibtex-vec-incr): Fix docstring.
11644
ace88aa2
RW
116452012-01-28 Roland Winkler <winkler@gnu.org>
11646
11647 * textmodes/bibtex.el (bibtex-entry-alist): New function.
11648 (bibtex-set-dialect): Use it. Either set global values of
11649 dialect-dependent variables or bind these variables buffer-locally
11650 (Bug#10254).
11651 (bibtex-mode): Call bibtex-set-dialect via
11652 hack-local-variables-hook.
eb864a71
LM
11653 (bibtex-dialect): Update docstring.
11654 Add safe-local-variable predicate.
ace88aa2
RW
11655 (bibtex-entry-alist, bibtex-field-alist): Initialize via
11656 bibtex-set-dialect.
11657 (bibtex-mode-map): Define menu for each dialect.
11658 (bibtex-entry): Fix docstring.
11659
93376c5b
CY
116602012-01-28 Chong Yidong <cyd@gnu.org>
11661
11662 * eshell/esh-arg.el (eshell-quote-argument): New function.
11663
11664 * eshell/esh-ext.el (eshell-invoke-batch-file):
11665 * eshell/em-unix.el (eshell/cat, eshell/du): Use it to quote the
11666 first arg to eshell-parse-command (Bug#10523).
11667
4372494f
DA
116682012-01-28 Drew Adams <drew.adams@oracle.com>
11669
11670 * net/ange-ftp.el (ange-ftp-canonize-filename): Check, that
11671 `default-directory' is non-nil.
11672
4d4ec1f8
EZ
116732012-01-28 Eli Zaretskii <eliz@gnu.org>
11674
11675 * mail/emacsbug.el (report-emacs-bug): Fill the potentially long
11676 line that displays system-configuration-options. (Bug#9924)
11677
7c188927
DA
116782012-01-28 Drew Adams <drew.adams@oracle.com>
11679
11680 * descr-text.el (describe-char): Show information about POS, in
11681 addition to information about the character at POS. Improve and
11682 update the doc string. Change "code point" to "code point in
11683 charset", to avoid confusion with the character's Unicode code
11684 point shown above that. (Bug#10129)
11685
e0da685a
EZ
116862012-01-28 Eli Zaretskii <eliz@gnu.org>
11687
11688 * descr-text.el (describe-char): Show the raw character, not only
11689 its display form at POS. Suggested by Kenichi Handa <handa@m17n.org>.
11690 See http://lists.gnu.org/archive/html/emacs-devel/2012-01/msg00760.html
11691 for the reasons.
11692
70550acf
PH
116932012-01-28 Phil Hagelberg <phil@hagelb.org>
11694
eb864a71
LM
11695 * emacs-lisp/package.el (package-install):
11696 Run package-refresh-contents if there is no archive yet (Bug#9798).
70550acf 11697
0ce8e868
CY
116982012-01-28 Chong Yidong <cyd@gnu.org>
11699
cb882333
JB
11700 * emacs-lisp/package.el (package-maybe-load-descriptor):
11701 New function, split from package-maybe-load-descriptor.
0ce8e868
CY
11702 (package-maybe-load-descriptor): Use it.
11703 (package-download-transaction): Fully load required packages
11704 inside the loop, so that `require' calls work (Bug#10593).
11705 (package-install): No need to call package-initialize now.
11706
2e7f3bea
CY
117072012-01-28 Chong Yidong <cyd@gnu.org>
11708
6e9bad14
CY
11709 * simple.el (deactivate-mark): Doc fix (Bug#8614).
11710
f823b8ca
CY
11711 * tooltip.el (tooltip-mode): Doc fix.
11712 (tooltip-use-echo-area): Mark as obsolete (Bug#6595).
11713
2680c309
CY
11714 * frame.el (set-cursor-color): Doc fix (Bug#352).
11715
d7a9e63b
CY
11716 * mail/rmail.el (rmail-start-mail): Add send-action again (Bug#10625).
11717 (rmail-mail-return): Switch to NEWBUF only if it is non-nil.
11718
2e7f3bea
CY
11719 * cus-edit.el (custom-buffer-create-internal): Fix search button
11720 action (Bug#10542).
2ae01800 11721 (customize-unsaved, customize-saved): Doc fix (Bug#10541).
2e7f3bea 11722
fc4f7a23
EW
117232012-01-27 Eduard Wiebe <usenet@pusto.de>
11724
11725 * dired.el (dired-mark-files-regexp):
11726 Include any subdirectory components. (Bug#10445)
11727
7dd37071
ML
117282012-01-27 Mike Lamb <mrlamb@gmail.com> (tiny change)
11729
11730 * pcmpl-unix.el (pcmpl-ssh-known-hosts):
11731 Handle [host]:port syntax. (Bug#10533)
11732
a268160b
AH
117332012-01-27 Alex Harsanyi <harsanyi@mac.com>
11734
11735 * xml.el (xml-parse-tag): Fix parsing of comments (Bug#10405).
11736
e43273ef
GM
117372012-01-26 Glenn Morris <rgm@gnu.org>
11738
11739 * dired-x.el (dired-bind-jump): Use ctl-x-map and ctl-x-4-map.
11740 * term.el (term-raw-escape-map): Use Control-X-prefix.
11741 * vc/vc-hooks.el (vc-prefix-map): Use ctl-x-map. (Bug#10566)
11742
1edf595d
MR
117432012-01-25 Martin Rudalics <rudalics@gmx.at>
11744
11745 * window.el (window-state-get, window--state-get-1): Don't deal
11746 with fixed-sizeness of windows. Simplify code.
11747
fa8eafef
JC
117482012-01-25 Jérémy Compostella <jeremy.compostella@gmail.com>
11749
6df6ae42
JB
11750 * window.el (window--state-get-1, window--state-put-2):
11751 Don't save and restore the mark.
fa8eafef 11752
0b21c100
CY
117532012-01-25 Chong Yidong <cyd@gnu.org>
11754
11755 * custom.el (custom-variable-p): Doc fix.
11756
5ae1a6c8
GM
117572012-01-25 Glenn Morris <rgm@gnu.org>
11758
40047858
GM
11759 * dired.el (dired-goto-file): Handle some of the more common
11760 characters that `ls -b' escapes. (Bug#10596)
11761
5ddce96c
GM
11762 * progmodes/compile.el (compilation-next-error-function):
11763 Respect compilation-first-column in the "*compilation*" buffer.
11764 * progmodes/grep.el (grep-first-column): New variable. (Bug#10594)
11765
5ae1a6c8
GM
11766 * vc/vc.el (vc-modify-change-comment): Scoping fix. (Bug#10513)
11767
b559f1a9
GM
117682012-01-24 Glenn Morris <rgm@gnu.org>
11769
11770 * pcmpl-gnu.el (pcomplete/tar): Handle " - ". (Bug#10457)
11771
6725d21a
JD
117722012-01-24 Julien Danjou <julien@danjou.info>
11773
11774 * color.el (color-rgb-to-hsl): Fix value computing.
11775 (color-hue-to-rgb): New function.
11776 (color-hsl-to-rgb): New function.
11777 (color-clamp, color-saturate-hsl, color-saturate-name)
11778 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
11779 (color-lighten-name, color-darken-hsl, color-darken-name): New function.
11780
70df4bbe
GM
117812012-01-24 Glenn Morris <rgm@gnu.org>
11782
11783 * vc/vc-rcs.el (vc-rcs-create-tag):
11784 * vc/vc-sccs.el (vc-sccs-create-tag):
11785 Fix argument spec to be what vc-create-tag expects. (Bug#10515)
11786
802a2ae2
ML
117872012-01-23 Mike Lamb <mrlamb@gmail.com> (tiny change)
11788
11789 * eshell/esh-util.el (eshell-read-hosts-file):
11790 Skip comment lines. (Bug#10549)
11791
d7128bb1
ML
11792 * eshell/em-unix.el (pcomplete/ssh): Remove. (Bug#10548)
11793
d1a5c3b4
JB
117942012-01-23 Juanma Barranquero <lekktu@gmail.com>
11795
2724d9c7
JB
11796 * subr.el (display-delayed-warnings): Doc fix.
11797 (collapse-delayed-warnings): New function to collapse identical
11798 adjacent warnings.
11799 (delayed-warnings-hook): Add it.
d1a5c3b4 11800
a5509865
MA
118012012-01-22 Michael Albinus <michael.albinus@gmx.de>
11802
11803 * net/tramp.el (tramp-action-login): Set connection property "login-as".
11804
a5509865
MA
11805 * net/tramp-sh.el (tramp-methods): Add user spec to "pscp" and "psftp".
11806 (tramp-default-user-alist): Don't add "pscp".
11807 (tramp-do-copy-or-rename-file-out-of-band): Use connection
11808 property "login-as", if set. (Bug#10530)
11809
cc6d5805
MA
118102012-01-21 Michael Albinus <michael.albinus@gmx.de>
11811
11812 * net/tramp-sh.el (tramp-default-user-alist): Don't add "plink",
11813 "plink1" and "psftp". (Bug#10530)
11814
118152012-01-21 Kenichi Handa <handa@m17n.org>
71784361
KH
11816
11817 * international/mule-cmds.el (prefer-coding-system): Show a
11818 warning message if the default value of file-name-coding-system
11819 was not changed.
11820
f0960428
JC
118212012-01-21 Jérémy Compostella <jeremy.compostella@gmail.com>
11822
cb882333
JB
11823 * windmove.el (windmove-reference-loc):
11824 Fix windmove-reference-loc miscalculation.
f0960428 11825
dd6f2a63
JB
118262012-01-21 Jay Belanger <jay.p.belanger@gmail.com>
11827
11828 * calc/calc-units.el (math-put-default-units): Don't use "1" as a
11829 default unit.
11830
7b447e9b
GM
118312012-01-21 Glenn Morris <rgm@gnu.org>
11832
117a9ea1
GM
11833 * international/mule.el (auto-coding-alist): Add .tbz.
11834
7b447e9b
GM
11835 * files.el (local-enable-local-variables): Doc fix.
11836 (inhibit-local-variables-regexps): Rename from
11837 inhibit-first-line-modes-regexps. Keep old name as obsolete alias.
11838 Doc fix. Add some extensions from auto-coding-alist.
11839 (inhibit-local-variables-suffixes):
11840 Rename from inhibit-first-line-modes-suffixes. Doc fix.
11841 (inhibit-local-variables-p):
11842 New function, extracted from set-auto-mode-1.
11843 (set-auto-mode): Doc fix. Respect inhibit-local-variables-regexps.
11844 (set-auto-mode-1): Doc fix. Use inhibit-local-variables-p.
11845 (hack-local-variables): Doc fix. Make the mode-only case
11846 respect enable-local-variables and friends.
11847 Respect inhibit-local-variables-regexps for file-locals, but
11848 not for directory-locals.
11849 (set-visited-file-name):
11850 Take account of inhibit-local-variables-regexps.
11851 Whether it applies may change as the file name is changed.
11852 * jka-cmpr-hook.el (jka-compr-install):
11853 * jka-compr.el (jka-compr-uninstall):
11854 Update for inhibit-first-line-modes-suffixes name change.
11855
dd6e3cdd
MR
118562012-01-20 Martin Rudalics <rudalics@gmx.at>
11857
11858 * help-macro.el (make-help-screen): Temporarily restore original
11859 binding for minor-mode-map-alist (Bug#10454).
11860
0d0deb38
JD
118612012-01-19 Julien Danjou <julien@danjou.info>
11862
11863 * color.el (color-name-to-rgb): Use the white color to find the max
11864 color component value and return correctly computed values.
11865 (color-name-to-rgb): Add missing float conversion for max value.
11866
34a02f46
MR
118672012-01-19 Martin Rudalics <rudalics@gmx.at>
11868
11869 * window.el (window--state-get-1, window-state-get): Do not use
eb864a71
LM
11870 special state value for window-persistent-parameters.
11871 Rename argument IGNORE to WRITABLE. Rewrite doc-string.
34a02f46
MR
11872 (window--state-put-2): Reset all window parameters to nil before
11873 assigning values of persistent parameters.
11874
606c44c4
AM
118752012-01-18 Alan Mackenzie <acm@muc.de>
11876
11877 Eliminate sluggishness and hangs in fontification of "semicolon
11878 deserts".
11879
cb882333
JB
11880 * progmodes/cc-engine.el (c-state-nonlit-pos-interval):
11881 Change value 10000 -> 3000.
606c44c4
AM
11882 (c-state-safe-place): Reformulate so it doesn't stack up an
11883 infinite number of wrong entries in c-state-nonlit-pos-cache.
11884 (c-determine-limit-get-base, c-determine-limit): New functions to
11885 determine backward search limits disregarding literals.
11886 (c-find-decl-spots): Amend commenting.
11887 (c-cheap-inside-bracelist-p): New function which detects "={".
11888
11889 * progmodes/cc-fonts.el
11890 (c-make-font-lock-BO-decl-search-function): Give a limit to a
11891 backward search.
11892 (c-font-lock-declarations): Fix an occurrence of point being
11893 undefined. Check additionally for point being in a bracelist or
11894 near a macro invocation without a semicolon so as to avoid a
11895 fruitless time consuming search for a declarator. Give a more
11896 precise search limit for declarators using the new
11897 c-determine-limit.
11898
f3860cea
GM
118992012-01-18 Glenn Morris <rgm@gnu.org>
11900
11901 * files.el (auto-mode-alist, inhibit-first-line-modes-regexps)
11902 (set-auto-mode): Doc fixes.
11903
1db03b16
GM
119042012-01-17 Glenn Morris <rgm@gnu.org>
11905
0e6038be
GM
11906 * isearch.el (search-nonincremental-instead): Fix doc typo.
11907
1db03b16
GM
11908 * dired.el (dired-insert-directory): Handle newlines in directory name.
11909 (dired-build-subdir-alist): Unescape newlines in directory name.
11910
4cb0aa75
MA
119112012-01-17 Michael Albinus <michael.albinus@gmx.de>
11912
11913 * net/tramp.el (tramp-local-end-of-line): New defcustom.
11914 (tramp-action-login, tramp-action-yesno, tramp-action-yn)
11915 (tramp-action-terminal): Use it. (Bug#10530)
11916
1d00653d
SM
119172012-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
11918
11919 * minibuffer.el (completion--replace): Strip properties (bug#10062).
11920
6a6ee00d
MR
119212012-01-16 Martin Rudalics <rudalics@gmx.at>
11922
11923 * window.el (window-state-ignored-parameters): Remove variable.
11924 (window--state-get-1): Rename argument MARKERS to IGNORE.
11925 Handle persistent window parameters. Make copy of clone-of
11926 parameter only if requested. (Bug#10348)
11927 (window--state-put-2): Install a window parameter only if it has
11928 a non-nil value or an existing parameter shall be overwritten.
11929
97912def
MA
119302012-01-15 Michael Albinus <michael.albinus@gmx.de>
11931
11932 * net/tramp-sh.el (tramp-remote-path): Set tramp-autoload cookie.
11933
688070a5
EZ
119342012-01-14 Eli Zaretskii <eliz@gnu.org>
11935
11936 * info.el (Info-toc-build): If the Info file has no "Up" pointer,
11937 don't pass the (nil) value of `upnode' to string-match.
11938
301afadc
CY
119392012-01-14 Chong Yidong <cyd@gnu.org>
11940
11941 * startup.el (command-line): Fix X resource class for cursorColor.
04877ddb 11942 Fix values recognized by the cursorBlink resource.
301afadc 11943
9e5788aa
PE
119442012-01-14 Paul Eggert <eggert@cs.ucla.edu>
11945
11946 * epg.el (epg--make-temp-file): Avoid permission race condition
11947 when running on old Emacs versions (bug#10403).
11948
3cdb7f5a
GM
119492012-01-14 Glenn Morris <rgm@gnu.org>
11950
11951 * dired.el (dired-get-filename): Fix 'verbatim case of previous change.
11952
8c82b1b4
AM
119532012-01-13 Alan Mackenzie <acm@muc.de>
11954
11955 Fix filling for when filladapt mode is enabled.
11956
11957 * progmodes/cc-cmds.el (c-fill-paragraph): In the invocation of
11958 c-mask-paragraph, pass in `fill-paragraph' rather than
11959 `fill-region-as-paragraph'. (This is a reversion of a previous
11960 change.)
eb864a71
LM
11961 * progmodes/cc-mode.el (c-basic-common-init):
11962 Make fill-paragraph-handle-comment buffer local and set it to nil.
8c82b1b4 11963
e517eda4
GM
119642012-01-13 Glenn Morris <rgm@gnu.org>
11965
1498536e
GM
11966 * dired.el (dired-switches-escape-p): New function.
11967 (dired-insert-directory): Use dired-switches-escape-p.
11968 (dired-get-filename): Undo "\ " quoting if needed. (Bug#10469)
11969
e517eda4
GM
11970 * find-dired.el (find-ls-option): Doc fix. (Bug#10262)
11971
328f984d
GM
119722012-01-12 Glenn Morris <rgm@gnu.org>
11973
11974 * mail/sendmail.el (mail-mode): Update paragraph-separate for
11975 changes in adaptive-fill-regexp. (Bug#10276)
11976
2cc769a8
AM
119772012-01-11 Alan Mackenzie <acm@muc.de>
11978
11979 Fix Emacs bug #10463 - put `widen's around the critical spots.
11980
1d00653d 11981 * progmodes/cc-engine.el (c-in-literal, c-literal-limits): Put a
2cc769a8
AM
11982 widen around each invocation of c-state-pp-to-literal. Remove an
11983 unused let variable.
11984
e52c37fa
GM
119852012-01-11 Glenn Morris <rgm@gnu.org>
11986
11987 * dired-aux.el (dired-do-shell-command): Fix */? logic. (Bug#6561)
09044622 11988 Doc fix.
e52c37fa 11989
96f8741e
CY
119902012-01-10 Chong Yidong <cyd@gnu.org>
11991
1d00653d
SM
11992 * net/network-stream.el (network-stream-open-starttls):
11993 Avoid emitting a confusing error message when the server gives a bad
96f8741e
CY
11994 response to the capability command.
11995
b09a806e
GM
119962012-01-10 Glenn Morris <rgm@gnu.org>
11997
11998 * mail/unrmail.el (unrmail): Tweak previous change.
11999
7655cb66
CY
120002012-01-09 Chong Yidong <cyd@gnu.org>
12001
12002 * custom.el (custom-safe-themes): Use SHA-256 for hashing.
12003
9d5a8f0b
AM
120042012-01-08 Alan Mackenzie <acm@muc.de>
12005
12006 Optimise font locking in long enum definitions.
12007
12008 * progmodes/cc-fonts.el (c-font-lock-declarations): Add an extra
12009 arm to a cond form to handle enums.
12010 * progmodes/cc-langs.el (c-enums-contain-decls): New lang variable.
12011 * progmodes/cc-mode.el (c-font-lock-fontify-region): Correct a typo.
12012
9a0115ab 120132012-01-07 Paul Eggert <eggert@cs.ucla.edu>
6bb72cbd
PE
12014
12015 * files.el (move-file-to-trash): Preserve default file modes on error.
a0562b3d 12016 (Bug#10401)
6bb72cbd 12017
f186bb95
LMI
120182012-01-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
12019
29232a68
LMI
12020 * faces.el (set-face-attribute): Clarify the meaning of the nil
12021 frame (bug#10294).
12022
4e5d086d
LMI
12023 * subr.el (with-selected-frame): Mention that the selected frame
12024 is restored (bug#9980).
12025
8e66aebe
LMI
12026 * ibuffer.el (ibuffer-mode): List the bindings in the corrent map
12027 (bug#9759).
12028
cd394be1 12029 * mail/smtpmail.el (password-cache-add): Remove unused declaration.
f186bb95
LMI
12030 (password-read): Don't autoload unused function.
12031
adf4e762
JB
120322012-01-07 Juanma Barranquero <lekktu@gmail.com>
12033
12034 * progmodes/which-func.el (which-func-mode): Turn into a
12035 non-interactive function and mark as obsolete (bug#10428).
12036
89bd9ccd
CY
120372012-01-06 Chong Yidong <cyd@gnu.org>
12038
12039 * files.el (hack-dir-local-variables-non-file-buffer): Add doc.
12040 (hack-one-local-variable-eval-safep): Allow 0 arg for minor mode
12041 functions, along with 1 and -1.
12042
4afee9d5
EZ
120432012-01-06 Eli Zaretskii <eliz@gnu.org>
12044
12045 * time.el (display-time-load-average)
12046 (display-time-default-load-average): Doc fixes. See the thread
12047 starting at
12048 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-01/msg00059.html
12049 for the details.
12050
536aea70
GM
120512012-01-06 Glenn Morris <rgm@gnu.org>
12052
665ae865
GM
12053 * mail/unrmail.el (unrmail): Give an explicit error if the input file
12054 has no messages. (Bug#10377)
12055
c869783d
GM
12056 * info.el (Info-mode-map): Bind e to end-of-buffer, rather
12057 than Info-edit. (Bug#10385)
12058
2bb4227e
GM
12059 * time.el (display-time-load-average, display-time-next-load-average):
12060 Doc fixes.
12061
7d5944b9
GM
12062 * emacs-lisp/bytecomp.el (byte-compile-file): Do not propagate a file
12063 local setting of buffer-read-only to the input buffer. (Bug#10419)
12064
536aea70
GM
12065 * calendar/calendar.el (calendar-mode):
12066 Locally set scroll-margin to 0. (Bug#10379)
12067
7dccca16
UM
120682012-01-06 Ulrich Mueller <ulm@gentoo.org>
12069
12070 * play/doctor.el (doctor-death): Escape "," characters. (Bug#10370)
12071
afbb7930
GM
120722012-01-05 Glenn Morris <rgm@gnu.org>
12073
12074 * eshell/em-unix.el (diff-no-select): Autoload it.
12075 (eshell/diff): Use diff-no-select. (Bug#10420)
12076
04482335
CY
120772012-01-05 Chong Yidong <cyd@gnu.org>
12078
7baca3bc
CY
12079 * shell.el (shell-dynamic-complete-functions): Revert last change.
12080 (shell-command-completion-function): New function.
12081 (shell-completion-vars): Use it to implement
12082 shell-completion-execonly (Bug#10417).
12083
04482335
CY
12084 * custom.el (enable-theme): Don't set custom-safe-themes.
12085
1d00653d
SM
12086 * cus-theme.el (custom-theme-merge-theme):
12087 Ignore custom-enabled-themes and custom-safe-themes.
04482335 12088
bb5aa5d6
MM
120892012-01-05 Michael R. Mauger <mmaug@yahoo.com>
12090
12091 * progmodes/sql.el (sql-login-hook): Add hook to respond to the
12092 first prompt in `sql-interacive-mode'.
12093 (sql-mode-oracle-font-lock-keywords): Add CONNECT_BY_* builtin
04482335 12094 keywords.
6df6ae42 12095 (sql-mode-mysql-font-lock-keywords): Add ELSEIF keyword.
bb5aa5d6
MM
12096 (sql-product-interactive): Bug fix: Set `sql-buffer' in
12097 context of original buffer. Invoke `sql-login-hook'.
12098
a7183d7c
EZ
120992012-01-04 Eli Zaretskii <eliz@gnu.org>
12100
12101 * mail/rmail.el (rmail-font-lock-keywords): Accept non-ASCII
12102 letters in cite-prefix.
12103
a1eacd1e
LMI
121042012-01-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
12105
12106 * mail/smtpmail.el (smtpmail-stream-type): Mention the `ssl' value.
12107
787cdb34
CY
121082012-01-03 Chong Yidong <cyd@gnu.org>
12109
1d00653d
SM
12110 * shell.el (shell-dynamic-complete-functions):
12111 Put pcomplete-completions-at-point, so as to try
787cdb34
CY
12112 comint-filename-completion first (Bug#10417).
12113
30710442
RS
121142012-01-02 Richard Stallman <rms@gnu.org>
12115
12116 * battery.el (battery-status-function):
12117 Detect when to use battery-yeeloong-sysfs.
12118 (battery-echo-area-format): Add string for Yeeloong.
12119 (battery-linux-proc-apm, battery-linux-proc-acpi): Doc fixes.
12120 (battery-yeeloong-sysfs): New function.
12121
f75bfc33
CY
121222012-01-02 Chong Yidong <cyd@gnu.org>
12123
12124 * dirtrack.el (dirtrack-list): Eliminate unused third element.
12125 (dirtrack): Merge code for handling relative filenames in prompt
12126 from shell-dir-cookie-watcher.
12127 (dirtrack-debug-message): New arg to avoid excess format calls.
12128
12129 * shell.el (shell-dir-cookie-re): Variable deleted.
12130 (shell-dir-cookie-watcher): Function deleted.
12131 (shell-mode): Don't use shell-dir-cookie-re, since it is redundant
12132 with dirtrack-mode.
12133
651e947e
EZ
121342012-01-01 Eli Zaretskii <eliz@gnu.org>
12135
1d00653d
SM
12136 * term/w32-win.el (dynamic-library-alist) <gnutls>:
12137 Load libgnutls-28.dll, from GnuTLS version 3.x, in preference to
651e947e
EZ
12138 libgnutls-26.dll.
12139
94d4c7dc
AS
121402011-12-31 Andreas Schwab <schwab@linux-m68k.org>
12141
12142 * emacs-lisp/bytecomp.el (byte-compile-file): Fix indentation.
12143
8d43f3cd
EZ
121442011-12-31 Eli Zaretskii <eliz@gnu.org>
12145
12146 * mail/rmail.el (rmail-show-message-1): Decode any RFC2047 encoded
12147 headers of non-MIME messages, when rmail-enable-mime is non-nil.
12148
98c8795a
MA
121492011-12-29 Michael Albinus <michael.albinus@gmx.de>
12150
12151 * net/tramp-sh.el (tramp-find-shell): Set "remote-shell" property
12152 also for alternative shells.
12153 (tramp-open-connection-setup-interactive-shell): Check, whether
12154 the shell is a busybox.
12155 (tramp-send-command): Don't suppress multiple prompts for
12156 busyboxes, it hurts.
12157
51281b32
CY
121582011-12-28 Chong Yidong <cyd@gnu.org>
12159
12160 * progmodes/gdb-mi.el (gdb-get-source-file-list)
12161 (gdb-get-source-file): Move mode line update to
12162 gdb-get-source-file (Bug#10087).
12163
2170cb53
CY
121642011-12-25 Chong Yidong <cyd@gnu.org>
12165
12166 * progmodes/gud.el (gud-gdb-fetch-lines-filter): Just use
12167 gud-gdb-marker-filter without taking it as an argument.
12168 (gud-gdb-run-command-fetch-lines): Caller changed.
12169 (gud-gdb-completion-function): New variable.
12170 (gud-gdb-completion-at-point): Use it.
12171 (gud-gdb-completions-1): Split from gud-gdb-completions.
12172
12173 * progmodes/gdb-mi.el (gdb-input): Accept command and handler
12174 function as separate arguments.
12175 (gdb-init-1, gdb-non-stop-handler, gdb-check-target-async)
12176 (gdb-tooltip-print-1, gud-watch, gdb-speedbar-update)
12177 (gdb-var-list-children, gdb-var-set-format, gdb-var-delete-1)
12178 (gdb-var-delete-children, gdb-edit-value, gdb-var-update)
12179 (gdb-stopped, def-gdb-auto-update-trigger)
12180 (gdb-place-breakpoints, gdb-select-thread, gdb-select-frame)
b81d40f0
JB
12181 (gdb-get-changed-registers, gdb-get-main-selected-frame):
12182 Callers changed.
2170cb53
CY
12183 (gud-gdbmi-completions): New function.
12184 (gdb): Use it for generating the completion table.
12185
be8b11bb
AM
121862011-12-24 Alan Mackenzie <acm@muc.de>
12187
12188 Introduce a mechanism to widen the region used in context font
1d00653d 12189 locking. Use this to protect declarations from losing their contexts.
be8b11bb 12190
1d00653d
SM
12191 * progmodes/cc-langs.el (c-before-font-lock-functions):
12192 Replace c-set-fl-decl-start with c-change-set-fl-decl-start (Renaming).
b81d40f0 12193 (c-before-context-fontification-functions): New defvar, a list of
be8b11bb
AM
12194 functions to be run just before context (etc.) font locking.
12195
12196 * progmodes/cc-mode.el (c-extend-font-lock-region-for-macros):
b81d40f0 12197 New, functionality extracted from
be8b11bb 12198 c-neutralize-syntax-in-and-mark-CPP.
b81d40f0 12199 (c-in-after-change-fontification): New variable.
be8b11bb
AM
12200 (c-after-change): Set c-in-after-change-fontification.
12201 (c-set-fl-decl-start): Rejig its interface, so it can be called
12202 from both after-change and context fontifying.
b81d40f0
JB
12203 (c-change-set-fl-decl-start, c-context-set-fl-decl-start):
12204 New functions.
12205 (c-standard-font-lock-fontify-region-function): New variable.
12206 (c-font-lock-fontify-region): New function.
be8b11bb 12207
341cf6ac
JL
122082011-12-24 Juri Linkov <juri@jurta.org>
12209
12210 * window.el (window--state-get-1): Set `FORCE' arg of `mark' to t.
12211 (Bug#10348)
12212
bffcee0a
MA
122132011-12-23 Michael Albinus <michael.albinus@gmx.de>
12214
12215 * net/ange-ftp.el (ange-ftp-copy-file-internal): Check for
12216 existence of source file. (Bug#10325)
12217
cb5e207c
AM
122182011-12-23 Alan Mackenzie <acm@muc.de>
12219
12220 Fix unstable fontification inside templates.
12221
b81d40f0
JB
12222 * progmodes/cc-langs.el (c-before-font-lock-functions):
12223 Newly created from the singular version. The (c c++ objc) entry now
cb5e207c
AM
12224 additionally has c-set-fl-decl-start. The other languages (apart
12225 from AWK) have that as a single entry.
12226
b81d40f0
JB
12227 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
12228 The functionality for "local" declarations has been extracted to
cb5e207c
AM
12229 c-set-fl-decl-start.
12230
b81d40f0
JB
12231 * progmodes/cc-mode.el (c-common-init, c-after-change):
12232 Changes due to pluralisation of c-before-font-lock-functions.
cb5e207c
AM
12233 (c-set-fl-decl-start): New function, extracted from
12234 c-font-lock-enclosing-decls and enhanced.
12235
60ff536c
JB
122362011-12-23 Juanma Barranquero <lekktu@gmail.com>
12237
12238 * desktop.el (desktop-internal-v2s): Fix typos in docstring (bug#10353).
12239
1c4757d6
JL
122402011-12-22 Juri Linkov <juri@jurta.org>
12241
12242 * progmodes/grep.el (rgrep): Fix docstring. (Bug#10185)
12243
d031f2c7
CY
122442011-12-22 Chong Yidong <cyd@gnu.org>
12245
12246 * vc/vc-hooks.el (vc-keep-workfiles): Doc fix.
12247
bace743a
DA
122482011-12-21 Drew Adams <drew.adams@oracle.com>
12249
12250 * files.el (file-remote-p): Fix docstring. (Bug#10319)
12251
728a1f2b
JC
122522011-12-21 Jérémy Compostella <jeremy.compostella@gmail.com>
12253
12254 * battery.el (battery-linux-sysfs): Add missing parameters from acpi.
12255
0d373f73
TZ
122562011-12-21 Teodor Zlatanov <tzz@lifelogs.com>
12257
fec0aaa4
TZ
12258 * progmodes/cfengine.el: Add Version. Improve CFEngine 3.x syntax
12259 highlighting and support. Fix up comments for capitalization.
12260 (cfengine-mode-debug): New var.
12261 (cfengine3-mode): Change the modeline indicator to "CFE3".
12262 (cfengine3-font-lock-keywords): Improve defun highlighting.
12263 (cfengine2-actions): Rename from `cfengine-actions'.
12264 (cfengine2-font-lock-keywords): Rename from
12265 `cfengine-font-lock-keywords'.
12266 (cfengine2-imenu-expression): Rename from
12267 `cfengine-imenu-expression'.
12268 (cfengine2-outline-level): Rename from `cfengine-outline-level'.
12269 (cfengine2-beginning-of-defun): Rename from
12270 `cfengine-beginning-of-defun'.
12271 (cfengine2-end-of-defun): Rename from `cfengine-end-of-defun'.
12272 (cfengine2-indent-line): Rename from `cfengine-indent-line'.
12273 (cfengine2-mode): Rename from `cfengine-mode'. Change the
12274 modeline indicator to "CFE2".
12275 (cfengine-mode): Defalias to `cfengine-auto-mode'.
12276 (cfengine-mode-abbrevs): Mark obsolete.
0d373f73 12277
bc86f573
CY
122782011-12-21 Chong Yidong <cyd@gnu.org>
12279
12280 * vc/vc-bzr.el (vc-bzr-rename-file): Don't pass ~ to Bzr in
12281 filename argument.
12282
d45ba96b
MR
122832011-12-20 Martin Rudalics <rudalics@gmx.at>
12284
12285 * window.el (window-normalize-buffer-to-display): Remove.
12286 (display-buffer): Handle buffer-or-name argument as in Emacs 23.
12287
a6198c90
CY
122882011-12-19 Chong Yidong <cyd@gnu.org>
12289
12290 * vc/vc-dir.el (vc-dir-parent-marked-p, vc-dir-children-marked-p):
12291 Don't signal an error in a predicate function; return non-nil.
12292 (vc-dir-mark-file): Move the error here.
12293 (vc-dir-mark-unmark): If acting on the region, keep going if one
12294 of the entries cannot be marked/unmarked.
12295 (vc-dir-mark-all-files): If current entry is a directory, mark
12296 only child files, as documented.
12297
34c5fb55
VB
122982011-12-19 Vincent Belaïche <vincentb1@users.sourceforge.net>
12299
12300 * ses.el: Ooops... undo changes of 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net, as trunk
12301 branch is feature frozen, and 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net was a feature
12302 addition.
12303
c803b2b7
JD
123042011-12-18 Jan Djärv <jan.h.d@swipnet.se>
12305
12306 * term/ns-win.el (ns-get-selection-internal)
12307 (ns-store-selection-internal): Declare.
1154d12e
JB
12308 (ns-store-cut-buffer-internal, ns-get-cut-buffer-internal):
12309 Declare as obsolete.
12310 (ns-get-pasteboard, ns-paste-secondary):
12311 Use ns-get-selection-internal.
41e9b956 12312 (ns-set-pasteboard, ns-copy-including-secondary):
1154d12e 12313 Use ns-store-selection-internal.
c803b2b7 12314
9cff91f8 123152011-12-17 Chong Yidong <cyd@gnu.org>
99a289d9
CY
12316
12317 * vc/vc.el (vc-next-action): Doc fix; remove CVS-isms.
9cff91f8 12318 (vc-deduce-fileset): Doc fix.
99a289d9 12319
f16c898a
AS
123202011-12-16 Andreas Schwab <schwab@linux-m68k.org>
12321
12322 * calc/calc-misc.el (calc-help): Avoid wrapping help message.
12323
763237c4
SS
123242011-12-13 Sam Steingold <sds@gnu.org>
12325
12326 * man.el (Man-getpage-in-background): When running under a
12327 window-system, ignore $MANWIDTH and $COLUMNS.
12328
5fc1c122
KH
123292011-12-15 Kenichi Handa <handa@m17n.org>
12330
12331 * language/ethio-util.el: Change coding tag to utf-8-emacs.
12332 (setup-ethiopic-environment-internal): Comment out key-binding for
12333 ethio-toggle-punctuation.
12334
13d49cbb
AM
123352011-12-13 Alan Mackenzie <acm@muc.de>
12336
898169a2
AM
12337 Add the switch statement to AWK Mode.
12338
7a71b18d 12339 * progmodes/cc-awk.el (awk-font-lock-keywords): Add "switch", "case",
898169a2
AM
12340 "default" to the keywords regexp.
12341
7a71b18d 12342 * progmodes/cc-langs.el (c-label-kwds): Let AWK take the same
898169a2 12343 expression as the rest.
1d00653d
SM
12344 (c-nonlabel-token-key): Allow string literals for AWK.
12345 Refactor for the other modes.
898169a2 12346
13d49cbb 12347 Large brace-block initialisation makes CC Mode slow: Fix.
1d00653d 12348 Tidy up and accelerate c-in-literal, etc. by using the c-parse-state
13d49cbb
AM
12349 routines. Limit backward searching in c-font-lock-enclosing.decl.
12350
12351 * progmodes/cc-engine.el (c-state-pp-to-literal): Return the
12352 pp-state and literal type in addition to the limits.
1d00653d 12353 (c-state-safe-place): New defun, extracted from c-state-literal-at.
13d49cbb 12354 (c-state-literal-at): Use the above new defun.
1d00653d
SM
12355 (c-slow-in-literal, c-fast-in-literal): Remove.
12356 (c-in-literal, c-literal-limits): Amend to use c-state-pp-to-literal.
13d49cbb
AM
12357
12358 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Check for
12359 being in a literal. Add a limit for backward searching.
12360
12361 * progmodes/cc-mode.el (awk-mode): Don't alias c-in-literal to
12362 c-slow-in-literal.
12363
15e0efc7
SM
123642011-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
12365
12366 * progmodes/pascal.el: Declare `ind' as dyn-bound (bug#10264).
12367
454592a6
MR
123682011-12-13 Martin Rudalics <rudalics@gmx.at>
12369
12370 * window.el (delete-other-windows): Use correct frame in call to
12371 window-with-parameter.
12372
87393f26
DP
123732011-12-12 Daniel Pfeiffer <occitan@t-online.de>
12374
12375 * progmodes/make-mode.el: Bring it up to date with makepp V2.0.
12376 (makefile-make-font-lock-keywords): Extend meaning of `keywords'.
12377 (makefile-gmake-statements, makefile-makepp-statements):
12378 Use it and add new makepp keywords.
12379 (makefile-makepp-font-lock-keywords): Add new patterns.
12380 (makefile-match-function-end): Match new [...] and [[...]].
12381
11636b22
JB
123822011-12-11 Juanma Barranquero <lekktu@gmail.com>
12383
12384 * ses.el (ses-call-printer-return, ses-cell-property-get)
12385 (ses-sym-rowcol, ses-printer-validate, ses-formula-record)
12386 (ses-create-cell-variable, ses-reset-header-string)
12387 (ses-cell-set-formula, ses-repair-cell-reference-all)
12388 (ses-self-reference-early-detection, ses-in-print-area, ses-set-curcell)
12389 (ses-check-curcell, ses-call-printer, ses-adjust-print-width)
12390 (ses-print-cell-new-width, ses-formula-references, ses-relocate-formula)
12391 (ses-aset-with-undo, ses-load, ses-truncate-cell)
12392 (ses-read-column-printer, ses-read-default-printer, ses-insert-row)
12393 (ses-delete-row, ses-delete-column, ses-append-row-jump-first-column)
12394 (ses-kill-override, ses-yank-pop, ses-yank-cells, ses-yank-tsf)
12395 (ses-yank-resize, ses-export-tab, ses-mark-row, ses-mark-column)
12396 (ses-renarrow-buffer, ses-insert-range, ses-insert-ses-range)
12397 (ses-safe-printer, ses-safe-formula, ses-warn-unsafe, ses--clean-!)
12398 (ses--clean-_, ses-range, ses-select, ses-center, ses-center-span)
12399 (ses-dashfill, ses-unsafe): Fix typos and reflow docstrings.
12400
cf018193
VB
124012011-12-11 Vincent Belaïche <vincentb1@users.sourceforge.net>
12402
12403 * ses.el: The overall change is to add cell renaming, that is
12404 setting fancy names for cell symbols other than name matching
12405 "\\`[A-Z]+[0-9]+\\'" regexp .
12406 (ses-create-cell-variable): New defun.
12407 (ses-relocate-formula): Relocate formulas only for cells the
12408 symbols of which are not renamed, i.e. symbols whose names do not
12409 match regexp "\\`[A-Z]+[0-9]+\\'".
12410 (ses-relocate-all): Relocate values only for cells the symbols of
12411 which are not renamed.
12412 (ses-load): Create cells variables as the (ses-cell ...) are read,
12413 in order to check row col consistency with cell symbol name only
12414 for cells that are not renamed.
12415 (ses-replace-name-in-formula): New defun.
12416 (ses-rename-cell): New defun.
12417
ee957461
CY
124182011-12-11 Chong Yidong <cyd@gnu.org>
12419
12420 * progmodes/gdb-mi.el (gdb): Set comint-prompt-regexp, required
12421 for completion via gud-gdb-fetch-lines-filter (Bug#10274).
12422
9a9e9ef0
MR
124232011-12-11 Eric Hanchrow <eric.hanchrow@gmail.com>
12424
12425 * window.el (other-window): Fix docstring.
12426
92a8eba5
EZ
124272011-12-10 Eli Zaretskii <eliz@gnu.org>
12428
12429 * mail/rmailsum.el (rmail-header-summary): RFC2047 decode the
1d00653d
SM
12430 `from' or `to' address before taking its substring.
12431 Fixes incorrect display in Rmail summary buffer whereby an RFC2047
92a8eba5
EZ
12432 encoded name is chopped in the middle of the encoded string, and
12433 thus displayed encoded.
12434
e152e577
JB
124352011-12-10 Juanma Barranquero <lekktu@gmail.com>
12436
12437 * makefile.w32-in (update-subdirs-CMD): Use a Local Variables section.
12438
e5d84bfe
EZ
124392011-12-10 Eli Zaretskii <eliz@gnu.org>
12440
12441 * textmodes/texnfo-upd.el: Update commentary. Add a warning not
12442 to use texinfo-update-node and commands that call it if the
12443 Texinfo file uses @node lines without next/prev/up pointers.
b8830d28 12444 Correct outdated description about texinfo-master-menu.
e5d84bfe
EZ
12445 (texinfo-all-menus-update, texinfo-master-menu)
12446 (texinfo-update-node, texinfo-every-node-update)
12447 (texinfo-multiple-files-update): Doc fix. Warn against updating
12448 all the @node lines.
12449 (texinfo-master-menu): Only call texinfo-update-node if the prefix
b8830d28
EZ
12450 argument is numeric. Explain better in the doc string what the
12451 function really does.
12452 (texinfo-insert-master-menu-list): Improve the error message
12453 displayed if there's no menu in the Top node.
12454 (Bug#2975) See also this thread:
e5d84bfe
EZ
12455 http://lists.gnu.org/archive/html/emacs-devel/2011-12/msg00156.html.
12456
1d84e9bb
MG
124572011-12-09 Manuel Gómez <mgrojo@gmail.com> (tiny change)
12458
12459 * speedbar.el (speedbar-supported-extension-expressions):
12460 Add .adb and .ads, commonly used for Ada source code (bug#10256).
12461
382c953b
JB
124622011-12-09 Juanma Barranquero <lekktu@gmail.com>
12463
12464 * printing.el (pr-mode-alist):
12465 * simple.el (filter-buffer-substring-functions)
12466 (completion-list-insert-choice-function):
12467 * window.el (window-with-parameter, window-atom-root)
12468 (window-sides-slots, window-size-fixed, window-min-delta)
12469 (window-max-delta, window--resize-mini-window)
12470 (window--resize-child-windows-normal, window-tree)
12471 (delete-other-windows, quit-window, split-window)
12472 (display-buffer-record-window, special-display-buffer-names)
12473 (special-display-regexps, special-display-popup-frame)
12474 (same-window-p, split-window-sensibly)
12475 (display-buffer-overriding-action, display-buffer-alist)
12476 (display-buffer-base-action, display-buffer, switch-to-buffer)
12477 (switch-to-buffer-other-window, switch-to-buffer-other-frame)
12478 (fit-window-to-buffer, recenter-positions)
12479 (mouse-autoselect-window-state, mouse-autoselect-window-select):
12480 * emacs-lisp/syntax.el (syntax-propertize-function): Fix typos
12481 and remove unneeded backslashes in docstrings.
12482
39c9faef
SM
124832011-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
12484
98449af8
SM
12485 * emacs-lisp/lisp-mode.el (defmethod): Add doc-string-elt (bug#10244).
12486
39c9faef
SM
12487 * pcmpl-gnu.el: Don't fail when there is no Makefile nor -f arg.
12488 (pcmpl-gnu-makefile-regexps): Accept "makefile" as well as files that
12489 end in ".mk".
12490 (pcmpl-gnu-make-rule-names): Check "makefile" and ignore errors
12491 when reading the makefile (bug#10116).
12492
86ed9fdc
SM
124932011-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
12494
12495 * pcmpl-gnu.el (pcomplete/make): Also allow filename arguments
12496 (bug#10116).
12497
5580f89d
GM
124982011-12-06 Glenn Morris <rgm@gnu.org>
12499
12500 * emacs-lisp/package.el (package-archives): Doc fix re riskiness.
12501
28d3917c
CY
125022011-12-06 Chong Yidong <cyd@gnu.org>
12503
12504 * progmodes/cc-fonts.el (c-annotation-face): Use defface.
12505
a98edce9
JB
125062011-12-06 Juanma Barranquero <lekktu@gmail.com>
12507
12508 * textmodes/table.el (table-shorten-cell): Fix typo.
12509
e65adfac
CG
125102011-12-05 Christopher Genovese <genovese.cr@gmail.com> (tiny change)
12511
12512 * emacs-lisp/assoc.el (aput): Fix return value (bug#10146)
12513
71cc0b74
EZ
125142011-12-05 Eli Zaretskii <eliz@gnu.org>
12515
12516 * descr-text.el (describe-char): Fix display of strong
12517 right-to-left characters and directional embeddings and overrides.
12518
12519 * simple.el (what-cursor-position): Fix display of codepoints of
12520 strong right-to-left characters.
12521
315bc30d
CY
125222011-12-05 Chong Yidong <cyd@gnu.org>
12523
12524 * faces.el (read-color): Doc fix.
12525
58a70b94
GM
125262011-12-05 Glenn Morris <rgm@gnu.org>
12527
12528 * align.el (align--set-marker): Add doc-string.
12529 Don't try to move something that is not a marker. (Bug#10216)
12530
5158face
GM
125312011-12-04 Glenn Morris <rgm@gnu.org>
12532
12533 * calendar/appt.el (appt-add): Rewrite the interactive-spec to avoid
12534 overly zealous deletion of trailing whitespace.
12535
520fca41
JB
125362011-12-04 Juanma Barranquero <lekktu@gmail.com>
12537
12538 * server.el (server-delete-client): On Windows, do not try to delete
12539 the only terminal.
12540 (server-process-filter): On Windows, treat requests for a tty frame as
12541 if they were for a GUI frame if the running server is in GUI mode.
12542
5e605a2e
GM
125432011-12-03 Glenn Morris <rgm@gnu.org>
12544
12545 * textmodes/texinfmt.el (batch-texinfo-format): Doc fix. (Bug#10207)
12546
5c3fe83f
SM
125472011-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
12548
6f5e57e7
SM
12549 * electric.el: Streamline electric-indent's hook.
12550 (electric-indent-chars): Revert to simple list.
12551 (electric-indent-functions): New var.
12552 (electric-indent-post-self-insert-function): Use it.
12553
5c3fe83f
SM
12554 * progmodes/prolog.el (prolog-find-value-by-system): Avoid error when
12555 there's no inferior buffer (bug#10196).
12556 (prolog-consult-compile): Don't use toggle-read-only.
12557
6bdac736
MA
125582011-12-02 Michael Albinus <michael.albinus@gmx.de>
12559
12560 * net/tramp-sh.el (tramp-maybe-open-connection): Handle user
12561 interrupt. (Bug#10187)
12562
6131ba7f
SM
125632011-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
12564
99c79fee
SM
12565 * pcmpl-gnu.el (pcomplete/tar): large-file-warn-threshold can be nil
12566 (bug#9160).
12567
6131ba7f
SM
12568 * dired-aux.el (dired-query): Don't assume help-char is modifier-free
12569 (bug#10191).
12570
cb0a02ea
JL
125712011-12-02 Juri Linkov <juri@jurta.org>
12572
12573 * info.el (Info-search): Display "end of manual" when Isearch
12574 reaches the end of single-file Info manual. (Bug#9918)
12575
66e0570c
EZ
125762011-12-02 Eli Zaretskii <eliz@gnu.org>
12577
12578 * isearch.el (isearch-message-prefix): Run the input method part
12579 of the prompt through bidi-string-mark-left-to-right. (Bug#10183)
12580
02b16839
JL
125812011-12-02 Juri Linkov <juri@jurta.org>
12582
12583 * isearch.el (isearch-occur): Use `word-search-regexp' for
12584 `isearch-word'.
12585 (isearch-search-and-update): Add condition for `isearch-word' and
12586 call `word-search-regexp'. (Bug#10145)
12587
0b950688
GM
125882011-12-01 Glenn Morris <rgm@gnu.org>
12589
12590 * eshell/em-hist.el (eshell-hist-initialize):
12591 Handle eshell-history-size nil and HISTSIZE set or unset.
e8087a76 12592 (eshell-history-file-name, eshell-history-size): Fix custom type.
0b950688 12593
9505c3c7
SM
125942011-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
12595
12596 * man.el (Man-completion-table): Fix the lambda case (bug#10168).
12597
1bbe96b2 125982011-12-01 Michael McNamara <mac@mail.brushroad.com>
6288f0ca 12599
a1beca85
SM
12600 * progmodes/verilog-mode.el (verilog-pretty-expr):
12601 Rework verilog-pretty-expr to handle new assignment operators in system
6288f0ca
WS
12602 verilog, such as += *= and the like.
12603 (verilog-assignment-operator-re): Regular expression to find the
12604 assigment operator in a verilog assignment.
12605 (verilog-assignment-operation-re): Regular expression to find an
12606 assignment statement for pretty-expr.
12607 (verilog-in-attribute-p): Query returns true if point is in an
12608 attribute context; used to skip these for expression line up from
12609 pretty-expr.
12610 (verilog-in-parameter-p): Query returns true if point is in an
12611 parameter definition context; used to skip these for expression
12612 line up from pretty-expr.
12613 (verilog-in-parenthesis-p): Query returns true if point is in a
12614 parenthetical expression, specifically ( ) but not [ ] or { };
12615 used by pretty-expr.
12616 (verilog-just-one-space): If there is no space, don't add one.
12617 (verilog-get-lineup-indent-2): Specifically skip just attribute
12618 contexts for expression lineup, rather than skipping all
12619 parenthetical expressions.
12620 (verilog-calculate-indent): Fix comment, and fix indent.
12621 (verilog-do-indent): Indent declarations in lists (suggested by
12622 Joachim Lechner).
12623 (verilog-mode-abbrev-table): Populate abbrev mode with the various
12624 skeleton items.
12625 (verilog-sk-ovm-class): Add skeleton for OVM classes (reported
12626 by Alain Mellan).
12627
1bbe96b2 126282011-12-01 Wilson Snyder <wsnyder@wsnyder.org>
6288f0ca
WS
12629
12630 * progmodes/verilog-mode.el (verilog-read-defines): Fix reading
12631 parameters with embedded comments. Reported by Ray Stevens.
12632 (verilog-calc-1, verilog-fork-wait-re) (verilog-forward-sexp,
12633 verilog-wait-fork-re): Fix indentation of "wait fork", bug407.
12634 Reported by Tim Holt.
12635 (verilog-auto): Fix AUTOing a upper module then AUTOing module
12636 instantiated by upper module causing wrong expansion until AUTOed a
12637 second time. Reported by K C Buckenmaier.
12638 (verilog-diff-auto): Fix showing .* as a difference when
12639 `verilog-auto-star-save' off. Reported by Dan Dever.
12640 (verilog-auto-reset, verilog-read-always-signals)
12641 (verilog-auto-reset-blocking-in-non): Fix AUTORESET including
12642 temporary signals in reset list if
12643 verilog-auto-reset-blocking-in-non is nil, and match assignment
a1beca85
SM
12644 style to each signal's assignment type, bug381.
12645 Reported by Thomas Esposito.
6288f0ca
WS
12646 (verilog-sk-uvm-class, verilog-uvm-begin-re, verilog-uvm-end-re)
12647 (verilog-uvm-statement-re): Support UVM indentation and
12648 highlighting, with old OVM keywords only.
a1beca85 12649 (verilog-auto-tieoff, verilog-auto-tieoff-declaration):
1d00653d
SM
12650 Support AUTOTIEOFF creating non-wire data types.
12651 Suggested by Jonathan Greenlaw.
6288f0ca
WS
12652 (verilog-auto-insert-lisp, verilog-delete-to-paren)
12653 (verilog-forward-sexp-cmt, verilog-forward-sexp-ign-cmt)
12654 (verilog-inject-sense, verilog-read-inst-pins)
a1beca85
SM
12655 (verilog-read-sub-decls, verilog-read-sub-decls-line):
12656 Fix mismatching parenthesis inside commented out code when deleting
382c953b 12657 AUTOINST, bug383. Reported by Jonathan Greenlaw.
6288f0ca
WS
12658 (verilog-auto-ascii-enum): Fix AUTOASCIIENUM one-hot with
12659 non-numeric vector width. Reported by Alex Reed.
12660 (verilog-auto-ascii-enum): Add "onehot" option to work around not
382c953b 12661 detecting signals with parameter widths. Reported by Alex Reed.
a1beca85
SM
12662 (verilog-auto-delete-trailing-whitespace):
12663 With `verilog-auto-delete-trailing-whitespace' remove trailing
6288f0ca
WS
12664 whitespace in auto expansion, bug371. Reported by Brad Dobbie.
12665 (verilog-run-hooks, verilog-scan-cache-flush, verilog-syntax-ppss):
12666 Fix verilog-scan-cache corruption when running user AUTO expansion
12667 hooks that call indentation routines.
12668 (verilog-simplify-range-expression): Fix typo ignoring lower case
12669 identifiers.
12670 (verilog-delete-auto): Fix delete-autos to also remove user created
12671 automatics, as long as they start with AUTO.
12672 (verilog-batch-diff-auto, verilog-diff-auto)
12673 (verilog-diff-function): Add `verilog-diff-auto' and bind to
12674 "C-c?" to report differences in AUTO expansion, ignoring spaces.
12675 (verilog-backward-syntactic-ws-quick, verilog-beg-of-defun-quick)
12676 (verilog-in-paren-quick, verilog-re-search-backward-quick)
a1beca85
SM
12677 (verilog-re-search-forward-quick, verilog-syntax-ppss):
12678 Fix calling `syntax-ppss' when inside auto expansions as the ppss hook
6288f0ca
WS
12679 is disabled and its cache will get corrupt, causing AUTOS not to
12680 expand. Instead use only -quick functions.
12681 (verilog-scan-region): Fix scanning over escaped quotes.
12682 (verilog-inside-comment-or-string-p, verilog-inside-comment-p)
12683 (verilog-re-search-backward-quick)
12684 (verilog-re-search-forward-quick, verilog-scan): verilog-scan and
12685 related functions now ignore strings, to fix misparsing of strings
12686 with magic comments embedded in them.
a1beca85
SM
12687 (verilog-read-auto-template):
12688 Fix 'verilog-auto-inst-template-numbers' with extra newline before (.
12689 Reported by Brad Dobbie.
12690 (verilog-read-auto-template):
12691 Fix 'verilog-auto-inst-template-numbers' with comments.
6288f0ca 12692 Reported by Brad Dobbie.
6288f0ca
WS
12693 (verilog-auto-inst, verilog-auto-inst-param)
12694 (verilog-auto-inst-sort): Add 'verilog-auto-inst-sort' to reduce
12695 merge conflicts with AUTOINST, bug358. Reported by Brad Dobbie.
12696 (verilog-auto-inst-template-numbers): Add 'lhs' policy for
a1beca85
SM
12697 debugging templates without merge conflicts, bug357.
12698 Reported by Brad Dobbie.
12699 (verilog-read-auto-template):
12700 Fix verilog-auto-inst-template-numbers with multiple templates.
6288f0ca
WS
12701 Reported by Brad Dobbie.
12702 (verilog-define-abbrev): Fix verilog-mode abbrevs to be system
12703 abbrevs so user won't be asked to save.
12704 (verilog-read-auto-lisp-present): Fix to start at beginning of
12705 buffer in case called outside of verilog-auto.
12706 (verilog-simplify-range-expression): Fix AUTOWIRE expanding "X-1+1"
12707 to "X-2". Reported by Matthew Myers.
12708 (verilog-auto, verilog-auto-inout-in): Add AUTOINOUTIN for creating
12709 all inputs from module templates. Reported by Leith Johnson.
12710 (verilog-module-inside-filename-p): Fix locating programs as with
12711 modules.
12712 (verilog-auto-inst-port): Fix vl-width expressions when using
12713 verilog-auto-inst-param-value, bug331. Reported by Julian Gorfajn.
12714 (verilog-decls-get-regs, verilog-decls-get-signals,
12715 verilog-decls-get-vars, verilog-decls-get-wires, verilog-decls-new,
12716 verilog-modi-cache-add-vars, verilog-modi-cache-add-wires,
12717 verilog-read-decls): Combine reg and wire structures into one var
12718 structure to represent SystemVerilog concepts.
12719 (verilog-auto-ascii-enum, verilog-auto-logic, verilog-auto-reg)
12720 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-wire)
a1beca85
SM
12721 (verilog-auto-wire-type, verilog-insert-definition):
12722 Add verilog-auto-wire-type and AUTOLOGIC to support using
6288f0ca
WS
12723 SystemVerilog "logic" keyword instead of "wire"/"reg".
12724 (verilog-auto-reg-input, verilog-decls-get-signals): Fix AUTOWIRE
12725 to declares outputs that also have assignments (presumably in an
a1beca85
SM
12726 ifdef or generate if so there's not a driver conflict).
12727 Reported by Matthew Myers.
12728 (verilog-auto-declare-nettype, verilog-insert-definition):
12729 Add verilog-auto-declare-nettype to fix declarations using
6288f0ca
WS
12730 `default_nettype none. Reported by Julian Gorfajn.
12731 (verilog-read-always-signals-recurse, verilog-read-decls)
12732 (verilog-read-sub-decls-gate): Fix infinite loop with (*) and
12733 malformed end statement, bug325. Reported by Joshua Wise and
12734 Andrew Drake.
12735 (verilog-auto-star-safe, verilog-delete-auto-star-implicit)
12736 (verilog-inst-comment-re): Fix not deleting Interfaced comment
1d00653d
SM
12737 when expanding .* in interfaces, bug320.
12738 Reported by Pierre-David Pfister.
6288f0ca 12739 (verilog-read-module-name): Fix import statements between module
1d00653d
SM
12740 name and open parenthesis, bug317.
12741 Reported by Pierre-David Pfister.
6288f0ca
WS
12742 (verilog-simplify-range-expression): Fix simplification of
12743 multiplications inside AUTOWIRE connections, bug303.
12744 (verilog-auto-inst-port): Support parameter expansion in
12745 multidimensional arrays.
12746 (verilog-read-decls): Fix AUTOREG etc looking for "endproperty"
12747 after "assert property". Reported by Julian Gorfajn.
12748 (verilog-simplify-range-expression): Fix "couldn't merge" errors
12749 with multiplication, bug303.
12750 (verilog-read-decls): Fix parsing of unsigned data types, bug302.
12751 Reported by Jan Frode Lonnum.
12752
1bbe96b2
GM
127532011-11-30 Juanma Barranquero <lekktu@gmail.com>
12754
12755 * htmlfontify.el (hfy-page-header, hfy-post-html-hooks)
12756 (hfy-shell-file-name, hfy-shell):
12757 * international/fontset.el (x-decompose-font-name): Fix typos.
12758
127592011-11-29 Ken Brown <kbrown@cornell.edu>
12760
12761 * progmodes/gdb-mi.el: Fix bug#9853, bug#9858, and bug#9878.
12762 (gdb-version): Remove defvar.
12763 (gdb-supports-non-stop): New defvar, replacing `gdb-version'.
12764 (gdb-gud-context-command, gdb-non-stop-handler)
12765 (gdb-current-context-command, gdb-stopped): Use it.
12766 (gdb-init-1): Enable pretty printing here.
6131ba7f
SM
12767 (gdb-non-stop-handler): Don't enable pretty-printing here.
12768 Check to see if the target supports non-stop mode; if not, turn off
1bbe96b2
GM
12769 non-stop mode. Use the following.
12770 (gdb-check-target-async): New defun.
12771 (gud-watch, gdb-stopped): Fix whitespace.
12772 (gdb-get-source-file): Don't try to display the source file if
12773 `gdb-main-file' is nil.
12774
127752011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
12776
12777 * align.el: Try to generate fewer markers (bug#10047).
12778 (align--set-marker): New macro.
12779 (align-region): Use it.
12780
c935221f
SM
127812011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
12782
12783 * isearch.el (isearch-yank-x-selection): Deactivate mark (bug#10022).
12784
e70b5064
CY
127852011-11-29 Chong Yidong <cyd@gnu.org>
12786
12787 * indent.el (indent-for-tab-command, indent-according-to-mode):
12788 Doc fix.
12789 (indent-region): Doc fix. Switch nested ifs to equivalent cond.
12790
f3af92b7
MA
127912011-11-29 Michael Albinus <michael.albinus@gmx.de>
12792
12793 * vc/diff-mode.el (diff-find-file-name): Make `read-file-name'
12794 aware of remote file names. (Bug#10124)
12795
ed472be9
CY
127962011-11-29 Chong Yidong <cyd@gnu.org>
12797
12798 * frame.el (auto-raise-mode, auto-lower-mode): Doc fix.
12799
24510c22
SM
128002011-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
12801
12802 * files.el (find-file): Don't use force-same-window (bug#10144).
12803 * window.el (switch-to-buffer): Better match Emacs-23 behavior and only
12804 use pop-to-buffer if the selected window can't be used.
12805 (pop-to-buffer-same-window): Use display-buffer--same-window-action.
12806
c60c3703
EZ
128072011-11-28 Eli Zaretskii <eliz@gnu.org>
12808
12809 * vc/diff-mode.el (diff-mode-map): Don't inherit 'z' => 'M-z' from
12810 special-mode-map.
12811
e95def75
CY
128122011-11-28 Chong Yidong <cyd@gnu.org>
12813
12814 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix default doc.
12815
c3f1c606
NR
128162011-11-27 Nick Roberts <nickrob@snap.net.nz>
12817
12818 * progmodes/gdb-mi.el (gdb-init-1): Condition execution of
12819 gdb-get-source-file-list on gdb-create-source-file-list.
12820
00db469c
EZ
128212011-11-26 Eli Zaretskii <eliz@gnu.org>
12822
12823 * whitespace.el (whitespace-newline): Use a different foreground
12824 color for 16-color light-background displays.
12825
4ad3bc2a
CY
128262011-11-24 Chong Yidong <cyd@gnu.org>
12827
12828 * window.el (display-buffer--special-action): Doc fix.
12829
e9fce1ac
JB
128302011-11-25 Juanma Barranquero <lekktu@gmail.com>
12831
12832 * emacs-lisp/avl-tree.el (avl-tree--do-copy, avl-tree-create)
12833 (avl-tree-compare-function, avl-tree-empty, avl-tree-enter)
12834 (avl-tree-delete, avl-tree-member, avl-tree-member-p, avl-tree-map)
12835 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar, avl-tree-copy)
12836 (avl-tree-clear, avl-tree-stack, avl-tree-stack-pop)
12837 (avl-tree-stack-first):
12838 * emacs-lisp/cconv.el (cconv--analyse-use):
12839 * net/gnutls.el (gnutls-negotiate): Fix typos.
12840
cb825e5d
GM
128412011-11-24 Glenn Morris <rgm@gnu.org>
12842
3adbe224
GM
12843 * lpr.el (lpr-windows-system, lpr-lp-system):
12844 * mail/binhex.el (binhex-begin-line):
12845 * progmodes/grep.el (grep-history, grep-find-history):
12846 * textmodes/flyspell.el:
12847 * vc/pcvs-defs.el (cvs-global-menu):
12848 * vc/vc-bzr.el (vc-bzr-admin-checkout-format-file):
12849 * vc/vc-mtn.el (vc-mtn-admin-dir, vc-mtn-admin-format):
12850 * vc/vc-cvs.el (vc-cvs-registered): Give them basic doc-strings.
12851
321decc8
GM
12852 * net/tls.el: Fix case of "GnuTLS".
12853
420b63ad
GM
12854 * paths.el (rmail-file-name): Format doc-string for make-docfile.
12855
cb825e5d
GM
12856 * version.el (emacs-build-system): Give it a doc-string.
12857
a0649f08
JL
128582011-11-24 Juri Linkov <juri@jurta.org>
12859
12860 * view.el (view-buffer): Revert 2011-07-19T15:01:49Z!larsi@gnus.org from 2011-07-19 (bug#8615).
12861
c0bc0fd4
GM
128622011-11-24 Glenn Morris <rgm@gnu.org>
12863
12864 * mail/rmailmm.el (rmail-mime): When rmail-enable-mime is non-nil,
12865 if called on a non-mime message just toggle the headers. (Bug#8006)
12866
20db1522
JB
128672011-11-24 Juanma Barranquero <lekktu@gmail.com>
12868
12869 * allout.el (allout-setup, allout-auto-save-temporarily-disabled)
12870 (allout-lead-with-comment-string, allout-structure-deleted-hook)
12871 (allout-mode, allout-chart-subtree, allout-hotspot-key-handler)
12872 (allout-rebullet-heading, allout-open-sibtopic)
12873 (allout-toggle-current-subtree-encryption)
12874 (allout-toggle-subtree-encryption, allout-encrypt-string)
12875 (allout-next-topic-pending-encryption, allout-adjust-file-variable)
12876 (allout-distinctive-bullets-string, allout-auto-activation):
12877 * window.el (window-normalize-buffer-to-display):
12878 * progmodes/verilog-mode.el (verilog-batch-indent):
12879 * textmodes/bibtex.el (bibtex-field-braces-opt)
12880 (bibtex-field-strings-opt):
12881 * vc/cvs-status.el (cvs-tree-merge):
12882 Fix typos.
12883
7262a87c
MA
128842011-11-23 Michael Albinus <michael.albinus@gmx.de>
12885
12886 * rfn-eshadow.el (rfn-eshadow-update-overlay): Let-bind
12887 `non-essential' to t, in order to avoid remote connections.
12888
283430a1
EZ
128892011-11-23 Eli Zaretskii <eliz@gnu.org>
12890
a1beca85
SM
12891 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
12892 On MS-DOS and MS-Windows, compare with loaddefs.el
283430a1
EZ
12893 case-insensitively.
12894
d2992a38
ML
128952011-11-23 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
12896
12897 * mail/unrmail.el (unrmail): Always add blank line. (Bug#7743)
12898
50419064
GM
128992011-11-23 Glenn Morris <rgm@gnu.org>
12900
da94eca1
GM
12901 * paths.el (rmail-file-name): Reformat the doc-string so that it
12902 is picked up.
12903
9aac4de2
GM
12904 * mail/rmail.el (rmail-message-filter, rmail-auto-file): Doc fixes.
12905 (rmail-auto-file): Ignore case in the "special" field names,
12906 as mail-fetch-field does for all others.
12907
8038d2d2
GM
12908 * mail/rmail.el (rmail-forward):
12909 * mail/rmailkwd.el (rmail-set-label):
12910 * mail/rmailout.el (rmail-output, rmail-output-as-seen)
12911 (rmail-output-body-to-file): Give error if no message. (Bug#10082)
12912
f3fe222a
GM
12913 * mail/rmail.el (rmail-current-message): Doc fix.
12914
50419064
GM
12915 * mail/rmail.el (rmail-message-filter): Mark as obsolete. (Bug#2624)
12916
28109f49
SM
129172011-11-22 Stefan Monnier <monnier@iro.umontreal.ca>
12918
12919 * server.el (server-eval-and-print): Allow C-g (bug#6585).
12920
394c65f1
GM
129212011-11-22 Glenn Morris <rgm@gnu.org>
12922
12923 * mail/rmailmm.el (test-rmail-mime-handler)
12924 (test-rmail-mime-bulk-handler)
12925 (test-rmail-mime-multipart-handler): Move tests to test/ directory.
12926
f2a0aa3a
JL
129272011-11-21 Juri Linkov <juri@jurta.org>
12928
1154d12e
JB
12929 * calc/calc.el (calc-read-key-sequence):
12930 Let-bind `input-method-function' to nil. (Bug#10018)
f2a0aa3a 12931
9c34a344
LMI
129322011-11-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
12933
12934 * emacs-lisp/cl-indent.el (common-lisp-loop-part-indentation):
12935 Tell the caller that the next line needs recomputation, even
12936 though it doesn't start a sexp (bug#10094).
12937
f04a3be9
SM
129382011-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
12939
12940 * emacs-lisp/autoload.el (autoload-generate-file-autoloads): Simplify.
12941
7978747f
SM
129422011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
12943
f04a3be9
SM
12944 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
12945 Use force-same-window.
7978747f 12946
fe7a3057
JB
129472011-11-20 Juanma Barranquero <lekktu@gmail.com>
12948
12949 * descr-text.el (describe-char-unicode-data):
12950 * json.el (json-string-escape):
12951 * mail/footnote.el (footnote-unicode-string, footnote-unicode-regexp)
12952 (Footnote-unicode, Footnote-style-p):
12953 * net/ntlm.el (ntlm-get-password-hashes): Fix typos.
12954
24901d61
CY
129552011-11-20 Chong Yidong <cyd@gnu.org>
12956
12957 * window.el (replace-buffer-in-windows): Restore interactive spec.
12958
bac7ff22
SM
129592011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
12960
24f3d7b9
SM
12961 * electric.el (electric-indent-mode): Fix last change (too optimistic).
12962
bac7ff22
SM
12963 * emacs-lisp/bytecomp.el: Silence obsolete warnings more reliably.
12964 (byte-compile-global-not-obsolete-vars): New var.
12965 (byte-compile-check-variable, byte-compile-make-obsolete-variable):
12966 Use it.
12967 (byte-compile-warn-obsolete): Align text with the one in *Help*.
12968
cd1181db
JB
129692011-11-20 Juanma Barranquero <lekktu@gmail.com>
12970
12971 * progmodes/cwarn.el (cwarn-is-enabled, cwarn-font-lock-keywords):
12972 * progmodes/pascal.el (electric-pascal-equal):
12973 * textmodes/reftex-dcr.el (reftex-view-crossref-from-bibtex):
12974 * xml.el (xml-substitute-special): Fix typos.
12975
7fb18e9e
GM
129762011-11-20 Glenn Morris <rgm@gnu.org>
12977
12978 * mail/rmail.el (rmail-enable-mime-composing): Make it a defcustom.
12979 (rmail-insert-mime-forwarded-message-function, rmail-mime-feature):
12980 Doc fixes.
12981 (rmail-decode-mime-charset): Mark as obsolete.
12982
12983 * mail/rmailsum.el (rmail-message-regexp-p-1):
12984 * mail/rmail.el (rmail-search-message, rmail-forward, rmail-resend):
12985 Before using mime functions, check they are set. (Bug#10077)
12986
d5a6b3ba
JL
129872011-11-19 Juri Linkov <juri@jurta.org>
12988
12989 * info.el (Info-finder-find-node): Use `package--builtins' instead
12990 of `package-alist'. Use node names formed by the pattern "Keyword "
12991 and the keyword name.
12992
e981b61f
AS
129932011-11-19 Andreas Schwab <schwab@linux-m68k.org>
12994
1d00653d 12995 * progmodes/sh-script.el (sh-assignment-regexp): Add entry for bash.
e981b61f 12996
3ffbc301
JL
129972011-11-19 Juri Linkov <juri@jurta.org>
12998
12999 * info.el (Info-hide-note-references): Add `:set' tag to `defcustom'
13000 that calls `revert-buffer' on all Info buffers. (Bug#9915)
13001 (Info-revert-find-node): Remove let-bindings `old-buffer-name',
13002 `old-history', `old-history-forward'. Add let-binding
13003 `window-selected'. Remove calls to `kill-buffer',
13004 `switch-to-buffer' and `Info-mode'. Set `Info-current-file' to nil
13005 before calling `Info-find-node', so `Info-find-node-2' will reread
13006 the Info file. Restore window positions only when `window-selected'
13007 is non-nil.
13008
30c62133
JL
130092011-11-19 Juri Linkov <juri@jurta.org>
13010
13011 * isearch.el (isearch-lazy-highlight-new-loop):
13012 Remove condition `(not isearch-error)'. (Bug#9918)
13013
13014 * misearch.el (multi-isearch-search-fun): Add condition
13015 `(not bound)' to ignore lazy-highlighting search.
13016 Add the search-failed message "end of multi" when the end of
13017 multi-sequence is reached. Uncapitalize the search-failed
13018 message "Repeat for next buffer".
13019
13020 * info.el (Info-search): Add the search-failed message
13021 "end of the manual" when the end of the manual is reached
13022 in Isearch mode.
13023
645ca9cf
JL
130242011-11-19 Juri Linkov <juri@jurta.org>
13025
13026 * info.el (Info-find-node-2, Info-select-node, Info-history-find-node):
13027 Use non-destructive `remove' instead of `delete' because
13028 `Info-history-list' stored to `Info-isearch-initial-history-list' in
13029 `Info-isearch-start' might need to be restored in `Info-isearch-end'.
13030
df754f66
JL
130312011-11-19 Juri Linkov <juri@jurta.org>
13032
13033 * isearch.el (isearch-edit-string): Let-bind `history-add-new-input'
13034 to nil instead of binding `search-ring' and `regexp-search-ring'.
13035 (Bug#9185)
13036
0e23d96a
EZ
130372011-11-19 Eli Zaretskii <eliz@gnu.org>
13038
13039 * simple.el (line-move): Force movement by logical lines for any
13040 hscrolled window, not only when auto-hscroll-mode is on.
13041 (line-move-visual): Update doc string to that effect. (Bug#10076)
13042
8a6ccb66
AS
130432011-11-19 Andreas Schwab <schwab@linux-m68k.org>
13044
13045 * language/european.el (macintosh): Define as alias for mac-roman.
13046
49ae5b39
EZ
130472011-11-19 Eli Zaretskii <eliz@gnu.org>
13048
13049 * mail/rmailmm.el (rmail-mime-display-header)
13050 (rmail-mime-display-tagline, rmail-mime-display-body): New defsubsts.
13051 (rmail-mime-entity-segment, rmail-mime-toggle-raw)
13052 (rmail-mime-toggle-hidden, rmail-mime-insert-text)
13053 (rmail-mime-insert-bulk, rmail-mime-insert-multipart)
13054 (rmail-mime-insert, rmail-mime-insert-tagline): Use them instead
13055 of a raw aref.
13056 (rmail-mime-entity-segment): To get past the tagline, move forward
13057 2 more lines, to account for the 2 empty lines that precede and
13058 follow the line with the buttons.
13059 (rmail-mime-update-tagline): Move one more line, to get past the
13060 empty line that follows the buttons in the tagline. (Bug#9520)
13061
c56cad4a
MR
130622011-11-19 Martin Rudalics <rudalics@gmx.at>
13063
13064 * window.el (window-max-delta-1, window-min-delta-1)
13065 (window-min-size-1, window-state-get-1, window-state-put-1)
13066 (window-state-put-2): Use "window--" prefix.
13067
cbe71af3
SM
130682011-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
13069
2ad52c60
SM
13070 * emacs-lisp/smie.el: Improve warnings and conflict detection.
13071 (smie-warning-count): New var.
13072 (smie-set-prec2tab): Use it.
13073 (smie-bnf->prec2): Improve warnings. Add docstring.
13074 (smie-bnf--closer-alist): Rename from smie-bnf-closer-alist.
13075 (smie-bnf--set-class): New function.
13076 (smie-bnf--classify): Rename from smie-bnf-classify. Rewrite to fix
13077 corner case.
13078
6944dbc1
SM
13079 * progmodes/compile.el: Obey compilation-first-column in dest buffer.
13080 (compilation-error-properties, compilation-move-to-column):
13081 Handle compilation-first-column while in the target buffer.
13082
c400c4d7
SM
13083 * progmodes/cc-engine.el (c-remove-stale-state-cache-backwards):
13084 Don't hardcode point-min==1.
13085
6dbe3e96
SM
13086 * eshell/esh-cmd.el (eshell-do-eval): Handle `setq' (bug#9907).
13087 (eshell-rewrite-for-command): Remove workaround.
13088 (eshell-do-pipelines, eshell-do-pipelines-synchronously)
13089 (eshell-do-eval, eshell-exec-lisp): Avoid gratuitous setq.
13090 * eshell/esh-util.el (eshell-condition-case, eshell-for): Use declare.
13091
cbe71af3
SM
13092 * files-x.el (modify-file-local-variable): Obey commenting conventions.
13093
a8e1496d
GM
130942011-11-17 Glenn Morris <rgm@gnu.org>
13095
13096 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
13097 Ignore buffer-local generated-autoload-file if it is the same
13098 as the global value. (Bug#10049)
13099
df85d315
JB
131002011-11-17 Juanma Barranquero <lekktu@gmail.com>
13101
13102 * textmodes/reftex-toc.el (reftex-toc-return-marker, reftex-toc-help)
13103 (reftex-toc, reftex-toc, reftex-toc-dframe-p, reftex-toc-next-heading)
13104 (reftex-toc-previous-heading, reftex-toc-max-level)
13105 (reftex-toc-goto-line-and-hide, reftex-toc-show-calling-point)
13106 (reftex-toc-quit, reftex-toc-revert, reftex-toc-jump)
13107 (reftex-toc-do-promote, reftex-toc-promote-prepare)
13108 (reftex-toc-promote-action, reftex-toc-extract-section-number)
13109 (reftex-toc-load-all-files-for-promotion, reftex-toc-rename-label)
13110 (reftex-toc-rename-label, reftex-toc-visit-location)
13111 (reftex-toc-visit-location, reftex-toggle-auto-toc-recenter)
13112 (reftex-toggle-auto-toc-recenter, reftex-toggle-auto-toc-recenter)
13113 (reftex-make-separate-toc-frame): Fix typos, and use TOC consistently,
13114 leaving "*toc*" only for references to the buffer.
13115
a0c2d0ae
MR
131162011-11-17 Martin Rudalics <rudalics@gmx.at>
13117
13118 * window.el (window-resize, delete-window, split-window):
13119 Replace window-splits by window-combination-resize.
1d00653d 13120 * cus-start.el (window-splits): Replace by window-combination-resize.
a0c2d0ae 13121
35c0bac8
GM
131222011-11-17 Glenn Morris <rgm@gnu.org>
13123
13124 * progmodes/sh-script.el (sh-font-lock-keywords-var):
13125 Make bash entry derive from sh entry, not shell entry.
13126
d0c8fc8a
MA
131272011-11-16 Michael Albinus <michael.albinus@gmx.de>
13128
7262a87c
MA
13129 * net/tramp-sh.el (tramp-sh-handle-file-truename): Cache only the
13130 local file name.
13131
7877f373
JB
131322011-11-16 Juanma Barranquero <lekktu@gmail.com>
13133
13134 * menu-bar.el (menu-bar-file-menu):
13135 * printing.el (pr-ps-utility):
13136 * calendar/icalendar.el (icalendar, icalendar--convert-tz-offset)
13137 (icalendar--convert-to-ical, icalendar--convert-ordinary-to-ical)
13138 (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
13139 (icalendar--convert-sexp-to-ical, icalendar--convert-block-to-ical)
13140 (icalendar--convert-float-to-ical, icalendar--convert-date-to-ical)
13141 (icalendar--convert-cyclic-to-ical)
13142 (icalendar--convert-anniversary-to-ical, icalendar-import-buffer)
13143 (icalendar--convert-ical-to-diary)
13144 (icalendar--convert-recurring-to-diary)
13145 (icalendar--convert-non-recurring-all-day-to-diary)
13146 (icalendar-import-format-sample):
13147 * progmodes/idlw-shell.el (idlwave-shell-mode):
13148 * progmodes/vhdl-mode.el (vhdl-mode, vhdl-print-two-column)
13149 (vhdl-print-customize-faces, vhdl-mode, vhdl-ps-print-settings)
13150 (vhdl-ps-print-init): Fix typos.
13151
10649b82
KM
131522011-11-16 Ken Manheimer <ken.manheimer@gmail.com>
13153
9d0cfcd6
GM
13154 * allout.el, allout-widgets.el (file metadata): Attribute copyright to
13155 FSF and collapse date sequence, obscure author/maintainer email address
13156 better, remove extra version line, track relocation of author's webpage.
10649b82 13157
9d0cfcd6
GM
13158 * progmodes/python.el (python-pdbtrack-input-prompt)
13159 (python-pdbtrack-track-stack-file): Adjust to recognize ipdb as well as
13160 regular python pdb prompts. Adjustments shamelessly taken exactly as
13161 suggested in EmacsWiki page (tiny change):
13162 http://www.emacswiki.org/PythonProgrammingInEmacs#toc14
8642c216 13163
58179cce
JB
131642011-11-16 Juanma Barranquero <lekktu@gmail.com>
13165
13166 * expand.el (expand-pos, expand-index, expand-point):
13167 Remove redundant info from docstring.
13168 (expand-add-abbrevs): Doc fix.
13169 (expand-c-sample-expand-list, expand-sample-lisp-mode-expand-list)
13170 (expand-sample-perl-mode-expand-list): Fix typos.
13171
13172 * net/dbus.el (dbus-event-member-name):
13173 * play/5x5.el (5x5-solve-rotate-left, 5x5-solver-output):
13174 * term/pc-win.el (msdos-create-frame-with-faces):
13175 * textmodes/texinfmt.el (texinfo-format-image): Fix typos.
13176
b6f67890
MR
131772011-11-16 Martin Rudalics <rudalics@gmx.at>
13178
13179 * window.el (split-window, window-state-get-1)
13180 (window-state-put-1, window-state-put-2): Rename occurrences of
13181 window-nest to window-combination-limit.
1d00653d 13182 * cus-start.el (window-nest): Rename to window-combination-limit.
b6f67890 13183
ce7ddba0
CY
131842011-11-16 Chong Yidong <cyd@gnu.org>
13185
13186 * progmodes/autoconf.el (autoconf-mode): Fix comment-start-skip
13187 regexp (Bug#10033).
13188
3ae704f4
SM
131892011-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
13190
13191 * tmm.el (tmm-prompt): Use minibuffer-with-setup-hook (bug#10053).
13192 `completing-read' will remove *Completions* and will preserve
13193 current-buffer for us.
13194 (tmm-add-prompt): Users of *Completions* will always (re)set its
13195 major mode.
13196 (tmm-old-comp-map): Remove.
13197
6ad1cdde
GM
131982011-11-16 Glenn Morris <rgm@gnu.org>
13199
13200 * mail/rmailedit.el: Require rmailmm when compiling.
13201 (rmail-old-mime-state): New declaration.
13202 (rmail-edit-current-message): If editing a mime message,
13203 edit the "raw" message from the mbox buffer.
13204 (rmail-cease-edit): Handle mime messages. (Bug#9840)
13205
d20faa20
GM
132062011-11-15 Glenn Morris <rgm@gnu.org>
13207
13208 * mail/rmailmm.el (rmail-mime-toggle-raw): Remove entity arg,
13209 which wasn't being used. Add optional arg to force given state.
13210 (rmail-mime): Add optional arg to force given state.
13211
c7015153
JB
132122011-11-15 Juanma Barranquero <lekktu@gmail.com>
13213
13214 * allout.el (allout-encryption-plaintext-sanitization-regexps):
13215 * frame.el (display-mm-dimensions-alist):
13216 * outline.el (outline-mode-menu-bar-map, outline-move-subtree-up)
13217 (outline-move-subtree-down):
13218 * net/newst-treeview.el (newsticker--treeview-do-get-node-of-feed)
13219 (newsticker--treeview-do-get-node):
13220 * net/quickurl.el (quickurl-list-buffer-name):
13221 * progmodes/dcl-mode.el (dcl-mode):
13222 * progmodes/gdb-mi.el (gdb-mapcar*):
13223 * progmodes/sql.el (sql-mode-oracle-font-lock-keywords): Fix typos.
13224
45261b50
GM
132252011-11-15 Glenn Morris <rgm@gnu.org>
13226
13227 * mail/rmail.el (rmail-file-coding-system): It's only ever used
13228 in a boolean sense, so just make it a boolean, and fix the doc.
13229 (rmail-show-mime-function, rmail-mime-feature)
13230 (rmail-require-mime-maybe): Doc fixes.
13231 (rmail-show-message-1): Check rmail-show-mime-function is non-nil.
13232
13233 * mail/rmailmm.el (rmail-show-mime): Doc fix.
13234
0d26e0b6
JB
132352011-11-15 Juanma Barranquero <lekktu@gmail.com>
13236
13237 * epg.el (epg-start-decrypt, epg-start-verify, epg-start-sign)
13238 (epg-start-encrypt, epg-start-export-keys, epg-start-import-keys)
13239 (epg-start-receive-keys, epg-start-delete-keys, epg-start-sign-keys)
13240 (epg-start-generate-key, epg-context-set-progress-callback): Fix typos.
13241
447f30f6
GM
132422011-11-15 Glenn Morris <rgm@gnu.org>
13243
672b871d
GM
13244 * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-segment)
13245 (rmail-mime-shown-mode, rmail-mime-hidden-mode, rmail-mime-raw-mode)
13246 (rmail-mime-toggle-hidden, rmail-mime-insert-tagline)
13247 (rmail-mime-insert-header, rmail-mime-handle, rmail-mime-parse)
13248 (rmail-mime, rmail-show-mime): Doc fixes.
13249
f6aa5bb1
GM
13250 * term/ns-win.el (mode-line-frame-identification):
13251 Leave it alone. (Bug#10051)
13252
947cd66b
GM
13253 * simple.el (mark-whole-buffer): Doc fix. (Bug#10023)
13254
447f30f6
GM
13255 * mail/rmailout.el (rmail-output-to-rmail-buffer):
13256 Handle empty buffers. (Bug#9978)
13257
0b381c7e
JB
132582011-11-14 Juanma Barranquero <lekktu@gmail.com>
13259
13260 * international/mule.el (define-charset):
13261 * mail/rmailmm.el (rmail-mime-find-header-encoding):
13262 * progmodes/prolog.el (prolog-mode-hook, prolog-inferior-mode-hook):
13263 * progmodes/verilog-mode.el (verilog-backward-token):
13264 * textmodes/ispell.el (lookup-words):
13265 * textmodes/sgml-mode.el (sgml-guess-indent): Fix typos.
13266
71e027ac
GM
132672011-11-14 Glenn Morris <rgm@gnu.org>
13268
56632ce4
GM
13269 * progmodes/executable.el
13270 (executable-make-buffer-file-executable-if-script-p):
13271 Handle file-modes returning nil.
13272
40500957
GM
13273 * mail/rmailsum.el (rmail-summary): Remove movement to beginning of
13274 message - not necessary, and causes problems. (Bug#9831)
13275
071c2340
GM
13276 * mail/rmailsum.el (rmail-new-summary): Preserve message number.
13277
d3cfca60
GM
13278 * mail/rmail.el (rmail-no-mail-p): Remove mode-line N/M indicator.
13279
71e027ac
GM
13280 * mail/rmailsum.el (rmail-summary, rmail-new-summary)
13281 (rmail-new-summary-1): Allow empty summaries. (Bug#9964)
13282 (rmail-new-summary): Remember that rmail-summary-buffer is buffer-local.
13283
89d61221
MR
132842011-11-12 Martin Rudalics <rudalics@gmx.at>
13285
13286 * window.el (window-resize, delete-window): Use window-splits
13287 variable instead of function.
13288 (window-state-get-1, window-state-put-2, window-state-put):
13289 Don't deal with windows' splits status.
13290
98282f6f
GM
132912011-11-12 Glenn Morris <rgm@gnu.org>
13292
13293 * apropos.el (apropos-do-all, apropos-library, apropos-value)
13294 (apropos-documentation): Doc fixes.
13295
40a8bdf6
JB
132962011-11-11 Juanma Barranquero <lekktu@gmail.com>
13297
13298 * progmodes/idlw-shell.el (idlwave-shell-make-new-bp-overlay):
13299 * textmodes/sgml-mode.el (html-tag-help): Fix typos.
13300
65bd19ff
SM
133012011-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
13302
13303 * electric.el (electric-indent-post-self-insert-function): Make it
13304 possible for a char to only indent in some circumstances.
13305 (electric-indent-mode): Simplify.
13306
54f9154c
MR
133072011-11-11 Martin Rudalics <rudalics@gmx.at>
13308
13309 * window.el (windows-with-parameter): Remove unused function.
13310 (windows-at-side): Rename to window-at-side-list.
13311 (window-check, window-atom-check, window-atom-check-1)
5e92ca23
MR
13312 (window-side-check, window-size-ignore, window-size-fixed-1)
13313 (window-in-direction-2): Prefix with "window--".
13314 (window-tree-1): Rename to window--subtree, fix doc-string.
54f9154c 13315
68cbc58b
GM
133162011-11-11 Glenn Morris <rgm@gnu.org>
13317
13318 * subr.el (eval-after-load): If FILE is already loaded,
13319 evaluate FORM before it gets wrapped in more stuff. (Bug#10009)
13320
b2621720
GM
133212011-11-10 Glenn Morris <rgm@gnu.org>
13322
9a4de110
GM
13323 * vc/vc-svn.el (vc-svn-create-repo, vc-svn-modify-change-comment):
13324 Call svn via vc-svn-command rather than vc-do-command.
13325 (vc-svn-command): Add --non-interactive. (Bug#9993)
13326 (vc-svn-update, vc-svn-merge-news): No need for --non-interactive.
13327
b2621720
GM
13328 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
13329 Add toggle-read-only. (Bug#7292)
13330 * files.el (toggle-read-only): Mention that it should only
13331 be used interactively. (Bug#10006)
13332
1dce7193
SM
133332011-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
13334
d9ac1a1e
SM
13335 * progmodes/compile.el (compilation-error-regexp-alist-alist):
13336 Adjust regexp for OCaml warnings.
13337
0c325082
SM
13338 * electric.el (electric-pair-post-self-insert-function): Let user
13339 turn it off buffer-locally (bug#9932).
13340
90132c14
SM
13341 * progmodes/python.el (python-beginning-of-statement):
13342 Rewrite (bug#2703).
13343
1dce7193
SM
13344 * progmodes/compile.el: Better handle TABs (bug#9749).
13345 (compilation-internal-error-properties)
13346 (compilation-next-error-function): Obey the target buffer's
13347 compilation-error-screen-columns.
13348
c4e7c63a
JB
133492011-11-09 Juanma Barranquero <lekktu@gmail.com>
13350
13351 * progmodes/meta-mode.el: Remove obsolete comments.
13352 (meta-right-comment-regexp, meta-ignore-comment-regexp):
13353 Fix typos in docstrings.
13354
2cffd681
MR
133552011-11-09 Martin Rudalics <rudalics@gmx.at>
13356
13357 * window.el (window-size-fixed-p): Rewrite doc-string.
1dce7193 13358 (window-resizable-p): Rename to window--resizable-p. Update callers.
2cffd681
MR
13359 (window--resizable): New function. Make all callers of
13360 window-resizable call window--resizable instead.
13361 (window-resizable): Rewrite in terms of window--resizable.
13362
0edcba87
GM
133632011-11-08 Glenn Morris <rgm@gnu.org>
13364
13365 * progmodes/delphi.el (delphi-mode-syntax-table):
13366 Let define-derived-mode define a proper syntax table. (Bug#9994)
13367
4b0d61e3
SM
133682011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
13369
13370 * window.el: Stay away from defsubst.
13371 (window-list-no-nils): Remove.
13372 (window-state-get-1, window-state-get): Use backquote instead.
13373
cd394be1 133742011-11-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
fcbcac2e 13375
4b0d61e3 13376 * emacs-lisp/find-func.el (find-function-read):
fcbcac2e 13377 Fix incorrect use of default argument in `completing-read'.
13378
e1c2c6f2
MR
133792011-11-08 Martin Rudalics <rudalics@gmx.at>
13380
13381 * window.el (display-buffer-function, special-display-function):
13382 Mention display-buffer-record-window but do not mention
13383 help-setup parameter in doc-strings.
b3f4a882 13384 (window-min-delta): Fix doc-string typo.
e1c2c6f2 13385
105216ed
CY
133862011-11-08 Chong Yidong <cyd@gnu.org>
13387
13388 * window.el (window-total-height, window-total-width): Doc fix.
13389 (window-body-size): Move from C.
13390 (window-body-height, window-body-width): Move to C.
13391
0a9f9ab5
SM
133922011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
13393
13394 * window.el: Make special-display like display-buffer-alist (bug#9532).
13395 (display-buffer--special-action): New function, morphed
13396 from display-buffer--special.
13397 (display-buffer): Use it to handle special-display-buffers at higher
13398 priority (just after display-buffer-alist).
13399 (display-buffer-fallback-action, display-buffer--other-frame-action)
13400 (pop-to-buffer-same-window): Remove display-buffer--special.
13401
a769dd15
GM
134022011-11-07 Glenn Morris <rgm@gnu.org>
13403
13404 * calendar/cal-menu.el (cal-menu-set-date-title):
13405 Do nothing if not in a calendar. (Bug#9976)
13406
05a61ee3
SM
134072011-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
13408
13409 * files.el (find-file): Always use selected-window.
13410
be7f5545
MR
134112011-11-07 Martin Rudalics <rudalics@gmx.at>
13412
13413 * window.el (window-combinations): Make WINDOW argument
13414 mandatory. Rewrite doc-string.
13415 (walk-window-subtree, window-atom-check, window-min-delta)
13416 (window-max-delta, window--resize-this-window)
13417 (window--resize-root-window-vertically, window-tree)
13418 (balance-windows, window-state-put): Rewrite doc-strings as to
13419 not mention the term "subwindow".
13420 (window--resize-subwindows-skip-p): Rename to
13421 window--resize-child-windows-skip-p.
13422 (window--resize-subwindows-normal): Rename to
13423 window--resize-child-windows-normal.
13424 (window--resize-subwindows): Rename to
13425 window--resize-child-windows.
13426 (window-or-subwindow-p): Rename to window--in-subtree-p.
13427
3c6702ef
ML
134282011-11-07 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
13429
13430 * mail/rmail.el (rmail-get-new-mail, rmail-insert-inbox-text):
13431 Ensure that mbox format messages end in two newlines (Bug#9974).
13432
49745b39
CY
134332011-11-06 Chong Yidong <cyd@gnu.org>
13434
13435 * window.el (window-combination-p): Function deleted; its
13436 side-effect is not used in any existing code.
13437 (window-combinations, window-combined-p): Call window-*-child
13438 directly.
13439
24300f5f
CY
134402011-11-05 Chong Yidong <cyd@gnu.org>
13441
13442 * window.el (window-valid-p): Rename from window-any-p.
447f16b8
CY
13443 (window-size-ignore, window-state-get): Callers changed.
13444 (window-normalize-window): Rename from window-normalize-any-window.
13445 New arg LIVE-ONLY, replacing window-normalize-live-window.
1dce7193 13446 (window-normalize-live-window): Delete.
447f16b8
CY
13447 (window-combination-p, window-combined-p, window-combinations)
13448 (walk-window-subtree, window-atom-root, window-min-size)
13449 (window-sizable, window-sizable-p, window-size-fixed-p)
13450 (window-min-delta, window-max-delta, window-resizable)
13451 (window-resizable-p, window-full-height-p, window-full-width-p)
13452 (window-current-scroll-bars, window-point-1, set-window-point-1)
13453 (window-at-side-p, window-in-direction, window-resize)
13454 (adjust-window-trailing-edge, maximize-window, minimize-window)
13455 (window-deletable-p, delete-window, delete-other-windows)
13456 (record-window-buffer, unrecord-window-buffer)
13457 (switch-to-prev-buffer, switch-to-next-buffer, window--delete)
13458 (quit-window, split-window, window-state-put)
13459 (set-window-text-height, fit-window-to-buffer)
13460 (shrink-window-if-larger-than-buffer): Callers changed.
24300f5f 13461
89bd5ee1
EZ
134622011-11-04 Eli Zaretskii <eliz@gnu.org>
13463
53479029
EZ
13464 * mail/rmail.el (rmail-simplified-subject): Decode subject with
13465 rfc2047-decode-string.
13466 (rmail-mime-toggle-hidden): Declare to avoid byte-compilation
13467 warnings.
13468
89bd5ee1
EZ
13469 * window.el (window-body-height, window-body-width): Mention in
13470 the doc string that the return values are in frame's canonical
13471 units. (Bug#9949)
13472
bd17fdee
AM
134732011-11-03 Alan Mackenzie <acm@muc.de>
13474
13475 * progmodes/cc-langs.el (c-nonlabel-token-2-key): New variable for
13476 change in cc-engine.el.
13477
acc825c5
SM
134782011-11-02 Stefan Monnier <monnier@iro.umontreal.ca>
13479
13480 * window.el (switch-to-buffer): Use `force-same-window' interactively.
13481
1885e5b8
MR
134822011-11-02 Martin Rudalics <rudalics@gmx.at>
13483
13484 * window.el (quit-window): Call unrecord-window-buffer after
13485 showing another buffer in the window. (Bug#9937)
acc825c5 13486 (bury-buffer): Call switch-to-prev-buffer with second argument `bury'.
1885e5b8 13487
ebe06da9
JB
134882011-11-02 Juanma Barranquero <lekktu@gmail.com>
13489
13490 * vc/vc-bzr.el (vc-bzr-state, vc-bzr-after-dir-status):
13491 Accept status with more than 9 shelves. (Bug#9935)
13492 Reported by Colin D Bennett <colin@gibibit.com>.
13493
4ee88440
MR
134942011-11-01 Martin Rudalics <rudalics@gmx.at>
13495
13496 * help.el (with-help-window): Don't reference
13497 temp-buffer-show-specifiers in doc-string.
13498
08e1d82c
AS
134992011-10-31 Andreas Schwab <schwab@linux-m68k.org>
13500
13501 * subr.el (keymap--menu-item-with-binding): Ignore item if not a
13502 menu-item.
13503
84bd6e9e
VJL
135042011-10-30 Vinicius Jose Latorre <viniciusjl@ig.com.br>
13505
13506 * whitespace.el: New version 13.2.2.
13507 (whitespace-newline-mode): Disable properly. Reported by Sarah
13508 <EmacsWiki>.
13509
dba0634a
UJ
135102011-10-30 Ulf Jasper <ulf.jasper@web.de>
13511
13512 * net/newst-treeview.el: Remove "Time-stamp".
13513 (newsticker--group-manage-orphan-feeds): Do not call
13514 newsticker--treeview-tree-update.
db22a3c2
JB
13515 (newsticker-treeview-update, newsticker-treeview):
13516 Call newsticker--treeview-tree-update if necessary.
dba0634a 13517
3d8daefe
MR
135182011-10-30 Martin Rudalics <rudalics@gmx.at>
13519
13520 * window.el (window-iso-combination-p, window-iso-combined-p)
acc825c5
SM
13521 (window-iso-combinations): Remove "iso-" infix.
13522 Suggested by Chong Yidong.
3d8daefe
MR
13523 (window-min-size-1, window-size-fixed-1, window-min-delta-1)
13524 (window-max-delta-1, window-resize, window--resize-siblings)
13525 (window--resize-this-window, adjust-window-trailing-edge)
13526 (split-window, balance-windows-1)
13527 (shrink-window-if-larger-than-buffer):
13528 * calendar/calendar.el (calendar-generate-window):
db22a3c2 13529 * help.el (resize-temp-buffer-window): Adjust callers accordingly.
3d8daefe 13530
1bc4c3ae
SM
135312011-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
13532
13533 * eshell/esh-cmd.el (eshell-rewrite-for-command): Don't modify the list
13534 in place (bug#9907).
13535 (eshell-subcommand-arg-values, eshell-rewrite-named-command)
13536 (eshell-rewrite-if-command, eshell-rewrite-for-command)
13537 (eshell-structure-basic-command, eshell-rewrite-while-command)
13538 (eshell-invokify-arg, eshell-parse-pipeline, eshell-parse-command)
13539 (eshell-parse-subcommand-argument, eshell-parse-lisp-argument)
13540 (eshell-trap-errors, eshell-do-pipelines, eshell-do-eval)
13541 (eshell-do-pipelines-synchronously, eshell-eval-command):
13542 Use backquotes and prefer setq to set.
13543 (eshell-lookup-function, function-p-func, eshell-functionp): Remove.
13544 (eshell-macrop): Use functionp.
c1e2f5fa 13545 (eshell-do-eval): Handle multiple expressions in `while' body.
1bc4c3ae 13546
30b65d9c
CY
135472011-10-30 Chong Yidong <cyd@gnu.org>
13548
13549 * emulation/viper-cmd.el (viper-exec-change): Use push-mark
13550 instead of set-mark (Bug#9810).
13551
2d197ffb
CY
135522011-10-30 Chong Yidong <cyd@gnu.org>
13553
13554 * window.el (split-window-below, split-window-right): Rename from
13555 split-window-above-each-other and split-window-side-by-side
13556 respectively. All callers changed.
13557 (split-window-sensibly, split-window-sensibly): Use them.
13558 (split-window-keep-point): Doc fix.
13559
13560 * isearch.el: Add isearch-scroll property to split-window-below
13561 and split-window-right.
13562
13563 * follow.el (follow-mode):
13564 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
13565 * progmodes/ada-xref.el (ada-gdb-application):
13566 * emulation/vip.el (vip-buffer-in-two-windows):
13567 * image-dired.el (image-dired-dired-with-window-configuration):
13568 * dired-x.el (dired-do-find-marked-files):
13569 * dired.el (dired-pop-to-buffer):
13570 * bs.el (bs--show-with-configuration):
13571 * vc/emerge.el (emerge-setup-windows):
13572 * textmodes/two-column.el (2C-two-columns):
13573 * textmodes/reftex-toc.el (reftex-toc):
13574 * progmodes/gdb-mi.el (gdb-setup-windows):
13575 * progmodes/fortran.el (fortran-window-create):
13576 * net/newst-treeview.el (newsticker--treeview-window-init):
13577 * emulation/ws-mode.el (wordstar-C-o-map, wordstar-mode):
13578 * emulation/tpu-edt.el (tpu-gold-map):
13579 * emulation/crisp.el (crisp-mode-map):
13580 * calendar/calendar.el (calendar-basic-setup): Callers changed.
13581
38bb2ca8
CY
135822011-10-29 Chong Yidong <cyd@gnu.org>
13583
aa4de341
CY
13584 * subr.el (y-or-n-p): Add code for batch mode (Bug#9818).
13585
e1eb5385
CY
13586 * mouse.el (mouse-yank-primary): Push the mark (Bug#9894).
13587
5d2ece3c
CY
13588 * textmodes/flyspell.el (flyspell-word): Fix char offset for
13589 forged Ispell output (Bug#7904).
13590
38bb2ca8
CY
13591 * emacs-lisp/package.el (package-refresh-contents): Add autoload.
13592
d0af9f77
SM
135932011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
13594
13595 * doc-view.el: Avoid ugly errors about not finding nil.
13596 (doc-view-ghostscript-program, doc-view-dvipdfm-program)
13597 (doc-view-dvipdf-program, doc-view-unoconv-program)
13598 (doc-view-ps2pdf-program, doc-view-pdftotext-program):
13599 Avoid nil or absolute file name as default value.
13600 (doc-view-pdf->txt, doc-view-ps->pdf): Use executable-find here.
13601
52bedd34
AM
136022011-10-28 Alan Mackenzie <acm@muc.de>
13603
db22a3c2 13604 * progmodes/cc-defs.el (c-version): -> 5.32.2.
52bedd34 13605
7e43cfa5
AM
136062011-10-28 Alan Mackenzie <acm@muc.de>
13607
13608 Amend the handling of c-beginning/end-of-defun in nested declaration
13609 scopes.
13610
52bedd34
AM
13611 * progmodes/cc-vars.el (c-defun-tactic): Move here from
13612 cc-langs.el. Change it to a defcustom.
7e43cfa5 13613
52bedd34
AM
13614 * progmodes/cc-langs.el (c-defun-tactic): Move this variable to
13615 cc-vars.el.
7e43cfa5 13616
d0af9f77
SM
13617 * progmodes/cc-engine.el (c-beginning-of-statement-1):
13618 Prevent "class foo : bar" being spuriously recognized as a label.
7e43cfa5 13619
52bedd34 13620 * progmodes/cc-cmds.el (c-narrow-to-most-enclosing-decl-block):
acc825c5 13621 Add parameter `inclusive' (to include enclosing braces in the region).
7e43cfa5
AM
13622 (c-widen-to-enclosing-decl-scope): New function.
13623 (c-while-widening-to-decl-block): New macro.
13624 (c-beginning-of-defun, c-end-of-defun): Change algorithm to keep going
13625 outward for defun boundaries, and correspondingly change symbol
13626 `respect-enclosure' to `go-outward'.
13627 (c-declaration-limits): Change algorithm to report only the "innermost"
13628 defun's boundaries.
13629
1a2ce9ee
DD
136302011-10-28 Deniz Dogan <deniz@dogan.se>
13631
13632 * net/rcirc.el (rcirc-mode): Use hard newlines.
13633
bc97a826
AM
136342011-10-28 Alan Mackenzie <acm@muc.de>
13635
13636 Amend to indent and fontify macros "which include their own semicolon"
13637 correctly, using the "virtual semicolon" mechanism.
13638
52bedd34 13639 * progmodes/cc-defs.el: Update "virtual semicolon" comments.
bc97a826 13640
d0af9f77 13641 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
7877f373 13642 Recode to scan one line at a time rather than having \n and \r
58179cce 13643 explicitly in c-stmt-delim-chars (for some modes, e.g. AWK).
bc97a826 13644 (c-forward-label): Amend for virtual semicolons.
58179cce 13645 (c-at-macro-vsemi-p, c-macro-vsemi-status-unknown-p): New functions.
bc97a826 13646
52bedd34
AM
13647 * progmodes/cc-fonts.el (c-font-lock-declarations): Take account
13648 of the new C macros.
bc97a826 13649
52bedd34 13650 * progmodes/cc-langs.el (c-at-vsemi-p-fn):
acc825c5
SM
13651 (c-vsemi-status-unknown-p-fn): Move to earlier in the file.
13652 (c-opt-cpp-symbol, c-line-comment-start-regexp): New language vars.
bc97a826
AM
13653 (c-opt-cpp-macro-define): Make into a full language variable.
13654 (c-stmt-delim-chars, c-stmt-delim-chars-with-comma): Special value for
13655 AWK Mode (including \n, \r) removed, no longer needed.
13656
d0af9f77
SM
13657 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode):
13658 Invoke c-make-macro-with-semi-re.
bc97a826 13659
52bedd34
AM
13660 * progmodes/cc-vars.el (c-macro-with-semi-re):
13661 (c-macro-names-with-semicolon): New variables.
58179cce 13662 (c-make-macro-with-semi-re): New function.
bc97a826 13663
7a6c0941
SM
136642011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
13665
13666 * vc/log-edit.el: Fill empty field rather than adding new one.
13667 (log-edit-add-field): New function.
13668 (log-edit-insert-changelog): Use it.
13669
b0c4cdcf
ML
136702011-10-28 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
13671
13672 * mail/rmail.el (rmail-mode-map): Add M-C-f as in rmailsum (bug#9802).
13673
ee1f1da9
SM
136742011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
13675
13676 * progmodes/gdb-mi.el: Warn the user when -i=mi is missing.
13677 (gdb--check-interpreter): New function.
13678 (gdb): Use it.
13679
51bc5f8b
GM
136802011-10-27 Glenn Morris <rgm@gnu.org>
13681
416a2c45
GM
13682 * emacs-lisp/cl-extra.el (most-positive-float, most-negative-float)
13683 (least-positive-float, least-negative-float)
13684 (least-positive-normalized-float, least-negative-normalized-float)
13685 (float-epsilon, float-negative-epsilon):
13686 Remove unnecessary declarations.
13687
13688 * emacs-lisp/cl-extra.el (cl-float-limits): Add doc string.
13689 * emacs-lisp/cl.el (most-positive-float, most-negative-float)
13690 (least-positive-float, least-negative-float)
13691 (least-positive-normalized-float, least-negative-normalized-float)
13692 (float-epsilon, float-negative-epsilon): Add doc-strings,
13693 based on those in cl.texi.
13694
51bc5f8b
GM
13695 * files.el (set-visited-file-name): If the major-mode changed,
13696 reload the local variables. (Bug#9796)
13697
15de15c6
CY
136982011-10-27 Chong Yidong <cyd@gnu.org>
13699
13700 * subr.el (change-major-mode-after-body-hook): New hook.
13701 (run-mode-hooks): Run it.
13702
ee1f1da9
SM
13703 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
13704 Use change-major-mode-before-body-hook.
15de15c6
CY
13705
13706 * simple.el (fundamental-mode):
13707 * emacs-lisp/derived.el (define-derived-mode): Revert 2010-04-28
13708 change introducing fundamental-mode-hook.
13709
5430d399
JB
137102011-10-26 Juanma Barranquero <lekktu@gmail.com>
13711
acc825c5 13712 * term/w32-win.el (w32-default-color-map): Declare obsolete (Bug#9785).
5430d399 13713
ad74a69e
MA
137142011-10-26 Michael Albinus <michael.albinus@gmx.de>
13715
13716 * ido.el (ido-file-name-all-completions-1): Do not require
c7015153 13717 tramp.el explicitly. (Bug#7583)
ad74a69e 13718
71d4c2a5
SM
137192011-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
13720
13721 * progmodes/octave-mod.el:
13722 * progmodes/octave-inf.el: Update maintainer.
13723
b1f6fa26
CY
137242011-10-26 Chong Yidong <cyd@gnu.org>
13725
13726 * subr.el (with-wrapper-hook): Rewrite doc.
13727
3f04efd6
MA
137282011-10-25 Michael Albinus <michael.albinus@gmx.de>
13729
13730 * net/tramp-sh.el (tramp-sh-handle-file-directory-p): Return t for
ad74a69e 13731 filenames "/method:foo:". (Bug#9793)
3f04efd6 13732
410488d3
SM
137332011-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
13734
13735 * comint.el (comint-get-old-input-default): Fix use-prompt-regexp case
13736 (bug#9865).
13737
c1ebb47e
GM
137382011-10-24 Glenn Morris <rgm@gnu.org>
13739
13740 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix. (Bug#9819)
13741
7f5c46c7
MA
137422011-10-24 Michael Albinus <michael.albinus@gmx.de>
13743
13744 * notifications.el: Add the requirement of a running D-Bus session
13745 bus to the Commentary.
13746
db2440b6
JL
137472011-10-24 Juri Linkov <juri@jurta.org>
13748
13749 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
13750 `search-whitespace-regexp' only when `isearch-regexp' is non-nil.
13751 (Bug#9364)
13752
feecf435
JL
137532011-10-24 Juri Linkov <juri@jurta.org>
13754
13755 * info.el (Info-following-node-name-re): Add newline to the list
13756 of allowed characters for leading space. (Bug#9824)
13757
a3839de2
SM
137582011-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
13759
acc825c5
SM
13760 * progmodes/octave-inf.el (inferior-octave-mode-map):
13761 Fix C-c C-h binding.
a3839de2
SM
13762 * progmodes/octave-mod.el (octave-help): Remove.
13763
09388e76
MA
137642011-10-23 Michael Albinus <michael.albinus@gmx.de>
13765
13766 Sync with Tramp 2.2.3.
13767
13768 * net/tramp-cache.el (top): Pacify byte-compiler using
13769 `init-file-user' and `site-run-file'.
13770
13771 * net/trampver.el: Update release number.
13772
86c60681
CY
137732011-10-23 Chong Yidong <cyd@gnu.org>
13774
13775 * files.el (toggle-read-only): Remove obsolete comment about
13776 version control.
13777
13778 * vc/vc-hooks.el (vc-toggle-read-only): Make it an obsolete alias
13779 for toggle-read-only. Note that this hasn't called vc-next-action
13780 since 2008-05-02, though it wasn't documented at the time.
13781
a3839de2
SM
13782 * vc/ediff-init.el (ediff-toggle-read-only-function):
13783 Use toggle-read-only.
86c60681 13784
cd5495ff
AM
137852011-10-22 Alan Mackenzie <bug-cc-mode@gnu.org>
13786
13787 Fix bug #9560, sporadic wrong indentation; improve instrumentation
13788 of c-parse-state.
13789
00b77525 13790 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
a3839de2 13791 correct faulty logical expression.
cd5495ff
AM
13792 (c-parse-state-state, c-record-parse-state-state):
13793 (c-replay-parse-state-state): New defvar/defuns.
13794 (c-debug-parse-state): Use new functions.
13795
42ee24ed
MR
137962011-10-22 Martin Rudalics <rudalics@gmx.at>
13797
13798 * mouse.el (mouse-drag-line): Fix minibuffer resizing broken by
53ebff1f 13799 last fix. Use window-in-direction correctly.
42ee24ed 13800
a7dee7e7
CY
138012011-10-21 Chong Yidong <cyd@gnu.org>
13802
13803 * progmodes/idlwave.el (idlwave-mode):
13804 * progmodes/vera-mode.el (vera-mode): No need to set
a3839de2
SM
13805 require-final-newline; that's done in prog-mode.
13806 Suggested by Stefan Monnier.
a7dee7e7 13807
e07b9a6d
MR
138082011-10-21 Martin Rudalics <rudalics@gmx.at>
13809
13810 * mouse.el (mouse-drag-window-above)
13811 (mouse-drag-move-window-bottom, mouse-drag-move-window-top)
13812 (mouse-drag-mode-line-1, mouse-drag-header-line)
13813 (mouse-drag-vertical-line-rightward-window): Remove.
13814 (mouse-drag-line): New function.
13815 (mouse-drag-mode-line, mouse-drag-header-line)
13816 (mouse-drag-vertical-line): Call mouse-drag-line.
13817 * window.el (window-at-side-p, windows-at-side): New functions.
13818
7e1361d9
UM
138192011-10-21 Ulrich Mueller <ulm@gentoo.org>
13820
13821 * tar-mode.el (tar-grind-file-mode):
13822 Fix handling of setuid/setgid, handle sticky bit. (Bug#9817)
13823
30fcaf3a
CY
138242011-10-21 Chong Yidong <cyd@gnu.org>
13825
13826 * progmodes/idlwave.el (idlwave-mode):
a3839de2
SM
13827 * progmodes/vera-mode.el (vera-mode):
13828 Use mode-require-final-newline.
30fcaf3a 13829
516eddb0
GM
138302011-10-20 Glenn Morris <rgm@gnu.org>
13831
db22a3c2 13832 * vc/vc.el (vc-next-action): Handle removed directories. (Bug#9781)
516eddb0 13833
10d5f513
CS
138342011-10-20 Christoph Scholtes <cschol2112@googlemail.com>
13835
13836 * emulation/cua-base.el (cua-set-mark): Fix case of string.
13837
ac6c8639
CY
138382011-10-20 Chong Yidong <cyd@gnu.org>
13839
13840 * emulation/cua-base.el (cua-mode):
13841 * mail/footnote.el (footnote-mode):
13842 * mail/mailabbrev.el (mail-abbrevs-mode):
13843 * net/xesam.el (xesam-minor-mode):
13844 * progmodes/bug-reference.el (bug-reference-mode):
13845 * progmodes/cap-words.el (capitalized-words-mode):
13846 * progmodes/compile.el (compilation-minor-mode)
13847 (compilation-shell-minor-mode):
13848 * progmodes/gud.el (gud-tooltip-mode):
13849 * progmodes/hideif.el (hide-ifdef-mode):
13850 * progmodes/idlw-shell.el (idlwave-shell-electric-debug-mode):
13851 * progmodes/subword.el (subword-mode):
13852 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
13853 * progmodes/which-func.el (which-function-mode):
13854 * term/tvi970.el (tvi970-set-keypad-mode):
13855 * term/vt100.el (vt100-wide-mode):
13856 * textmodes/flyspell.el (flyspell-mode):
13857 * textmodes/ispell.el (ispell-minor-mode):
13858 * textmodes/nroff-mode.el (nroff-electric-mode):
13859 * textmodes/paragraphs.el (use-hard-newlines):
13860 * textmodes/refill.el (refill-mode):
13861 * textmodes/reftex.el (reftex-mode):
13862 * textmodes/rst.el (rst-minor-mode):
13863 * textmodes/sgml-mode.el (html-autoview-mode)
13864 (sgml-electric-tag-pair-mode):
13865 * textmodes/tex-mode.el (latex-electric-env-pair-mode):
13866 * vc/diff-mode.el (diff-auto-refine-mode, diff-minor-mode):
13867 * emulation/crisp.el (crisp-mode):
13868 * emacs-lisp/eldoc.el (eldoc-mode):
13869 * emacs-lisp/checkdoc.el (checkdoc-minor-mode): Doc fixes for new
13870 minor mode behavior.
13871
aa42ab43
JL
138722011-10-19 Juri Linkov <juri@jurta.org>
13873
13874 * descr-text.el (describe-char): Add #x2010 and #x2011 to
13875 the list of hard-coded chars with escape-glyph face.
13876
89400f1d
SM
138772011-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
13878
13879 * vc/log-edit.el (log-edit-empty-buffer-p): Ignore empty headers.
13880
305c07f6
MA
138812011-10-19 Michael Albinus <michael.albinus@gmx.de>
13882
13883 * net/tramp.el (tramp-connectable-p): Make a stronger check on a
13884 running process.
13885
13754b54
GM
138862011-10-19 Glenn Morris <rgm@gnu.org>
13887
13888 * vc/vc-bzr.el (vc-bzr-after-dir-status):
13889 Ignore ignored files. (Bug#9726)
13890
06e21633
CY
138912011-10-19 Chong Yidong <cyd@gnu.org>
13892
13893 Doc fix for minor modes, stating that an omitted argument enables
13894 the mode unconditionally when called from Lisp.
13895
13896 * abbrev.el (abbrev-mode):
13897 * allout.el (allout-mode):
13898 * autoinsert.el (auto-insert-mode):
13899 * autoarg.el (autoarg-mode, autoarg-kp-mode):
13900 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
13901 (global-auto-revert-mode):
13902 * battery.el (display-battery-mode):
13903 * composite.el (global-auto-composition-mode)
13904 (auto-composition-mode):
13905 * delsel.el (delete-selection-mode):
13906 * desktop.el (desktop-save-mode):
13907 * dired-x.el (dired-omit-mode):
13908 * dirtrack.el (dirtrack-mode):
13909 * doc-view.el (doc-view-minor-mode):
13910 * double.el (double-mode):
13911 * electric.el (electric-indent-mode, electric-pair-mode):
13912 * emacs-lock.el (emacs-lock-mode):
13913 * epa-hook.el (auto-encryption-mode):
13914 * follow.el (follow-mode):
13915 * font-core.el (font-lock-mode):
13916 * frame.el (auto-raise-mode, auto-lower-mode, blink-cursor-mode):
13917 * help.el (temp-buffer-resize-mode):
13918 * hilit-chg.el (highlight-changes-mode)
13919 (highlight-changes-visible-mode):
13920 * hi-lock.el (hi-lock-mode):
13921 * hl-line.el (hl-line-mode, global-hl-line-mode):
13922 * icomplete.el (icomplete-mode):
13923 * ido.el (ido-everywhere):
13924 * image-file.el (auto-image-file-mode):
13925 * image-mode.el (image-minor-mode):
13926 * iswitchb.el (iswitchb-mode):
13927 * jka-cmpr-hook.el (auto-compression-mode):
13928 * linum.el (linum-mode):
13929 * longlines.el (longlines-mode):
13930 * master.el (master-mode):
13931 * mb-depth.el (minibuffer-depth-indicate-mode):
13932 * menu-bar.el (menu-bar-mode):
13933 * minibuf-eldef.el (minibuffer-electric-default-mode):
13934 * mouse-sel.el (mouse-sel-mode):
13935 * msb.el (msb-mode):
13936 * mwheel.el (mouse-wheel-mode):
13937 * outline.el (outline-minor-mode):
13938 * paren.el (show-paren-mode):
13939 * recentf.el (recentf-mode):
13940 * reveal.el (reveal-mode, global-reveal-mode):
13941 * rfn-eshadow.el (file-name-shadow-mode):
13942 * ruler-mode.el (ruler-mode):
13943 * savehist.el (savehist-mode):
13944 * scroll-all.el (scroll-all-mode):
13945 * scroll-bar.el (scroll-bar-mode):
13946 * server.el (server-mode):
13947 * shell.el (shell-dirtrack-mode):
13948 * simple.el (auto-fill-mode, transient-mark-mode)
13949 (visual-line-mode, overwrite-mode, binary-overwrite-mode)
13950 (line-number-mode, column-number-mode, size-indication-mode)
13951 (auto-save-mode, normal-erase-is-backspace-mode, visible-mode):
13952 * strokes.el (strokes-mode):
13953 * time.el (display-time-mode):
13954 * t-mouse.el (gpm-mouse-mode):
13955 * tool-bar.el (tool-bar-mode):
13956 * tooltip.el (tooltip-mode):
13957 * type-break.el (type-break-mode-line-message-mode)
13958 (type-break-query-mode):
13959 * view.el (view-mode):
13960 * whitespace.el (whitespace-mode, whitespace-newline-mode)
13961 (global-whitespace-mode, global-whitespace-newline-mode):
13962 * xt-mouse.el (xterm-mouse-mode): Doc fix.
13963
a3839de2
SM
13964 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
13965 Fix autogenerated docstring.
06e21633 13966
5214e501
JL
139672011-10-19 Juri Linkov <juri@jurta.org>
13968
13969 * net/browse-url.el (browse-url-can-use-xdg-open): Support LXDE
13970 by checking environment variables "DESKTOP_SESSION" and
13971 "XDG_CURRENT_DESKTOP". (Bug#9779)
13972
195f8db9
JL
139732011-10-19 Juri Linkov <juri@jurta.org>
13974
13975 * net/browse-url.el (browse-url-browser-function): Add "Chromium".
13976 (browse-url-chromium-program, browse-url-chromium-arguments):
13977 New defcustoms.
13978 (browse-url-default-browser): Check for `browse-url-chromium' and
13979 call `browse-url-chromium-program'.
13980 (browse-url-chromium): New command. (Bug#9779)
13981
343a34ff
JB
139822011-10-18 Juanma Barranquero <lekktu@gmail.com>
13983
13984 * facemenu.el (list-colors-duplicates): On Windows, detect more
13985 duplicates by assuming that only colors matching "^System" are
13986 special "system colors". (Bug#9722)
13987
6978a151
SM
139882011-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
13989
13990 * vc/log-edit.el (log-edit): Add "Author:" header to encourage people
13991 to distinguish the author from the committer.
13992
6a80b297
MA
139932011-10-18 Michael Albinus <michael.albinus@gmx.de>
13994
13995 * net/tramp.el (tramp-file-name-handler): Load Tramp packages silently.
13996
b31a5677
JK
139972011-10-18 Jirka Kosek <jirka@kosek.cz> (tiny change)
13998
13999 * international/mule.el (sgml-html-meta-auto-coding-function):
14000 Add support for detecting encoding in HTML5 specified only as
14001 <meta charset="UTF-8">. Implementation just makes http-equiv and
14002 content-type parts from HTML4 encoding string optional. (Bug#9716)
14003
80c6d77f
GM
140042011-10-18 Glenn Morris <rgm@gnu.org>
14005
14006 * vc/vc.el (vc-initial-comment): Mark as obsolete. (Bug#9745)
14007
08b0fee8
CY
140082011-10-18 Chong Yidong <cyd@gnu.org>
14009
14010 * faces.el (cursor): Doc fix.
14011
67e729a5
CY
140122011-10-17 Chong Yidong <cyd@gnu.org>
14013
14014 * font-lock.el (font-lock-maximum-size): Mark as obsolete.
14015
343a34ff 140162011-10-17 Ryan Barrett <emacs@ryanb.org> (tiny change)
87e478b3
RB
14017
14018 * dirtrack.el (dirtrack): Support shell buffers with path
14019 prefixes, e.g. tramp-based remote shells. (Bug#9647)
14020
0bc06380
TZ
140212011-10-17 Teodor Zlatanov <tzz@lifelogs.com>
14022
14023 * json.el: Bump version to 1.3 and note change in History.
14024 (json-alist-p, json-plist-p): Rewrite to avoid recursion.
14025
8b79f3e0
SM
140262011-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
14027
5a7c536b
SM
14028 * comint.el (comint-insert-input, comint-send-input)
14029 (comint-get-old-input-default, comint-backward-matching-input)
14030 (comint-next-prompt): Use nil instead of `input' for field property of
14031 past user input (bug#114).
14032
96a8a0df
SM
14033 * minibuffer.el (completion--replace): Inherit surrounding properties
14034 (bug#114).
14035 (minibuffer-complete-and-exit): Use it.
14036
8b79f3e0
SM
14037 * comint.el (comint--table-subvert): Quote the all-completions output
14038 (bug#9160).
14039
b8f7ff0d
MR
140402011-10-17 Martin Rudalics <rudalics@gmx.at>
14041
8b79f3e0 14042 * ido.el (ido-default-buffer-method): Remove redundant :type entry.
4e5c3d2b 14043
b8f7ff0d 14044 * menu-bar.el (menu-bar-file-menu): Add entry for making new
d912bdcf 14045 window on right of selected. (Bug#9350) Reword other window
b8f7ff0d
MR
14046 entries and separate them from frame entries.
14047
c235b555
GM
140482011-10-15 Glenn Morris <rgm@gnu.org>
14049
14050 * emacs-lisp/ert.el (ert--explain-equal-rec, ert-select-tests):
14051 Doc fixes.
14052
6bbfa6e1
CY
140532011-10-15 Chong Yidong <cyd@stupidchicken.com>
14054
8b79f3e0
SM
14055 * net/network-stream.el (network-stream-open-starttls):
14056 Improve detection of failure due to lack of TLS support.
ec5c990d 14057
6bbfa6e1
CY
14058 * mail/sendmail.el (sendmail-query-once): Tweak prompt message,
14059 putting the input text in front and in bold.
14060
98488977
SM
140612011-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
14062
3d1337be
SM
14063 * pcmpl-unix.el (pcomplete/ssh): SSH does allow ganging.
14064
ee0b45e4
SM
14065 * mpc.el (mpc-songs-jump-to): Don't burp if the user clicks in an
14066 empty buffer.
14067
98488977
SM
14068 * mouse.el (mouse-drag-mode-line-1): Modify the end-event we pushed on
14069 unread-command-events rather than pushing yet-another event.
14070
186f4720
EZ
140712011-10-14 Eli Zaretskii <eliz@gnu.org>
14072
14073 * mail/sendmail.el (sendmail-query-once): Improve the wording of
14074 the explanation of the possible choices. Make the options passed
14075 to completing-read shorter.
14076
8b7a997c
AM
140772011-10-13 Agustín Martín Domingo <agustin.martin@hispalinux.es>
14078
14079 * textmodes/flyspell.el (flyspell-large-region): Make sure
14080 extended character mode is used if defined (Bug#1339).
14081
12587bbb
EZ
140822011-10-13 Eli Zaretskii <eliz@gnu.org>
14083
14084 * simple.el (what-cursor-position): Fix the display of the
e7e2364b
EZ
14085 character info for LRE, LRO, RLE, and RLO characters by appending
14086 an invisible PDF.
12587bbb 14087
bad41229
SM
140882011-10-13 Stefan Monnier <monnier@iro.umontreal.ca>
14089
14090 * emacs-lisp/timer.el (with-timeout): Make sure we cancel the timer
14091 even in case of error; add debug spec; simplify data flow.
14092 (with-timeout-handler): Remove.
14093
28dbc92f
MA
140942011-10-12 Michael Albinus <michael.albinus@gmx.de>
14095
14096 Fix Bug#6019, Bug#9315.
14097
14098 * files.el (set-auto-mode): Call `file-name-sans-versions' for the
14099 complete `buffer-file-name', the local file name part could look
14100 remotely (for example on VMS).
14101
14102 * net/ange-ftp.el (ange-ftp-run-real-handler): Make it an alias of
14103 `tramp-run-real-handler'.
14104 (ange-ftp-fix-name-for-vms): Handle the case, where `name' is
14105 already quoted by '"'.
14106
14107 * net/tramp.el (tramp-rfn-eshadow-update-overlay): Ignore errors.
14108 Let `file-name-handler-alist' be nil, the local file name part
14109 could look remotely (for example on VMS).
14110
e1b0b23a
SM
141112011-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
14112
14113 * textmodes/flyspell.el (flyspell-word): Move with-local-quit
14114 from here...
14115 (flyspell-post-command-hook): ...to here.
14116
a120bde9
SM
141172011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
14118
14119 * mail/sendmail.el (send-mail-function): Don't use sendmail-query-once
14120 if not needed.
14121 (sendmail-query-once): Remove OS dependencies. Make it a 3-way choice
14122 using completion. Protect against "slow" callers.
14123 Remove the "message hack".
14124
7ce7717b
JL
141252011-10-11 Juri Linkov <juri@jurta.org>
14126
14127 * isearch.el (isearch-lazy-highlight-word): New variable.
14128 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
14129 Use it. (Bug#9727)
14130
c02ee9d6
GM
141312011-10-11 Glenn Morris <rgm@gnu.org>
14132
14133 * progmodes/f90.el (f90-next-statement): Ignore preprocessor lines,
14134 like f90-previous-statement does.
14135
93e616fd 141362011-10-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
14137
1f190e73 14138 * eshell/eshell.el (eshell-command): History should be saved
c02ee9d6
GM
14139 only in interactive use, to avoid error.
14140
af7b6078
SM
141412011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
14142
14143 * minibuffer.el (completion-file-name-table): Fix last change,
14144 i.e. ignore normal errors but not the other ones.
14145
0563dae9
MR
141462011-10-10 Martin Rudalics <rudalics@gmx.at>
14147
14148 * window.el (special-display-buffer-names)
14149 (special-display-regexps): Remove some remnants of earlier
14150 changes from doc-strings.
366ca7f3
MR
14151 (quit-windows-on): New function.
14152
14153 * vc/vc.el (vc-revert, vc-rollback):
14154 * vc/vc-dispatcher.el (vc-finish-logentry): Call quit-windows-on
14155 instead of deleting windows. (Bug#4557) (Bug#5310) (Bug#5556)
9ac13c31 14156 (Bug#6183) (Bug#7074) (Bug#7447)
0563dae9 14157
49677495
MR
141582011-10-09 Martin Rudalics <rudalics@gmx.at>
14159
14160 * window.el (frame-auto-hide-function): Add version tag.
14161 (Bug#9699)
14162
56f2d1e1
MA
141632011-10-09 Michael Albinus <michael.albinus@gmx.de>
14164
14165 * net/tramp.el (tramp-file-name-handler): Add 'debug to the error
14166 condition.
14167
112a6592
LL
141682011-10-09 Leo Liu <sdl.web@gmail.com>
14169
14170 * mail/smtpmail.el (smtpmail-send-data): Add a missing space.
14171 (Bug#9701)
14172
0812589b
GM
141732011-10-08 Glenn Morris <rgm@gnu.org>
14174
14175 * progmodes/f90.el (f90-calculate-indent): Give preprocessor lines
14176 before the first code statement zero indent. (Bug#9690)
14177
b2b0776e
CY
141782011-10-08 Chong Yidong <cyd@stupidchicken.com>
14179
14180 * simple.el (count-words-region): Always count in the region.
14181 Report the number of lines and characters too.
14182 (count-words): New command, which counts in the buffer if the
14183 region is inactive, as count-words-region used to.
14184 (count-words--message): New function. Handle plurals.
14185 (count-lines-region): Make it an alias for count-words-region.
14186
14187 * bindings.el (esc-map): Replace count-lines-region with
14188 count-words-region.
14189
c557cd6b
MR
141902011-10-08 Martin Rudalics <rudalics@gmx.at>
14191
14192 * window.el (window--delete): Delete dedicated frame
14193 unconditionally when argument KILL is non-nil. (Bug#9699)
235ce86f 14194 (switch-to-buffer): Fix doc-string typo.
c557cd6b 14195
61a57ef4 141962011-10-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
14197
3a7d293b 14198 * eshell/eshell.el (eshell-command): Avoid using hooks.
61a57ef4 14199
c3833279
CY
142002011-10-07 Chong Yidong <cyd@stupidchicken.com>
14201
14202 * bindings.el ([M-left],[M-right]): Bind to left-word and
14203 right-word respectively.
14204
21ce8245
GM
142052011-10-07 Glenn Morris <rgm@gnu.org>
14206
14207 * cus-start.el (debug-on-quit): Fix custom type.
14208
6d823bb2
LMI
142092011-10-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
14210
0181e193
LMI
14211 * subr.el (define-key-after): Clarify that the function is not
14212 useful for non-menu keymaps.
14213
6d823bb2
LMI
14214 * progmodes/gdb-mi.el (gdb): Fix typo in doc string.
14215
8e3459ce 142162011-10-06 Thierry Volpiatto <thierry.volpiatto@gmail.com>
14217
21ce8245 14218 * eshell/eshell.el (eshell-command): Enable `eshell-mode' only
8e3459ce 14219 in current minibuffer (Fix bug with recursive minibuffers).
14220
a1c2d21e
CY
142212011-10-06 Chong Yidong <cyd@stupidchicken.com>
14222
14223 * progmodes/gdb-mi.el (gdb): Doc fix.
14224
5a4cf282
MR
142252011-10-05 Martin Rudalics <rudalics@gmx.at>
14226
14227 * window.el (frame-auto-hide-function): New option replacing
14228 frame-auto-delete. Suggested by Stefan Monnier.
14229 (window--delete): Call frame-auto-hide-function instead of
14230 investigating frame-auto-delete.
c96111ea
MR
14231 (window-point-1, set-window-point-1): New functions.
14232 (window-in-direction, record-window-buffer, window-state-get-1)
14233 (display-buffer-record-window): Use window-point-1 instead of
14234 window-point.
14235 (set-window-buffer-start-and-point): Use set-window-point-1.
5a4cf282 14236
9854542e
SM
142372011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
14238
14239 * emacs-lisp/edebug.el: Heed checkdoc recommendations.
14240
8943cfb0
GM
142412011-10-05 Glenn Morris <rgm@gnu.org>
14242
14243 * progmodes/perl-mode.el (perl-electric-terminator): Doc fix.
14244 (perl-calculate-indent): Suppress scan errors. (Bug#2205)
14245
647ab967
LL
142462011-10-05 Leo Liu <sdl.web@gmail.com>
14247
14248 * subr.el (read-char-choice): Fix argument to buffer-live-p which
14249 works with buffer object.
14250
3ddfbced
SM
142512011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
14252
14253 * mpc.el (mpc-tool-bar-map): Add labels.
14254
bdfa5dd2
GM
142552011-10-04 Glenn Morris <rgm@gnu.org>
14256
14257 * calendar/holidays.el (calendar-check-holidays): Doc fix.
14258
0e2070b5
MR
142592011-10-04 Martin Rudalics <rudalics@gmx.at>
14260
14261 * window.el (window--delete): New function.
14262 (frame-auto-delete): Resuscitate option.
14263 (bury-buffer, replace-buffer-in-windows)
14264 (quit-window): Rewrite using window--delete.
14265 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
14266 Pass display-buffer-mark-dedicated to window--display-buffer-2
14267 (Bug#9639).
14268
3dc61a09
SM
142692011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
14270
915a9b64
SM
14271 * pcmpl-unix.el (pcomplete/scp): Don't assume pcomplete-all-entries
14272 returns a list (bug#9554). Add remote file name completion.
14273 * comint.el (comint--table-subvert): Curry and get quote&unquote
14274 functions as arguments.
14275 (comint--complete-file-name-data): Adjust call accordingly.
14276 * pcomplete.el (pcomplete--table-subvert): Remove.
14277 (pcomplete-completions-at-point): Use comint--table-subvert instead.
14278
3dc61a09
SM
14279 * minibuffer.el (completion-table-case-fold): Use currying.
14280 (completion--styles-type, completion--cycling-threshold-type):
14281 New constants.
14282 (completion-styles, completion-category-overrides)
14283 (completion-cycle-threshold): Use them.
14284 * pcomplete.el (pcomplete-completions-at-point): Adjust call to
14285 completion-table-case-fold.
14286
8ea0a993
SB
142872011-10-03 Stephen Berman <stephen.berman@gmx.net>
14288
14289 * minibuffer.el (completion-category-overrides): Fix type of styles
14290 and add more user friendly tags (bug#9660).
14291
8c24b7f6
SM
142922011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
14293
14294 * international/mule-cmds.el: Fix abuses of apply-partially (bug#9661).
14295 (mule-input-method-string): New widget.
14296 (default-input-method, language-info-custom-alist): Use it.
14297
428fe61a
SM
142982011-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
14299
32c1fffd
SM
14300 * pcomplete.el: Require comint.
14301 (pcomplete--common-suffix): Remove.
14302 (pcomplete--common-quoted-suffix): Use comint--common-suffix instead.
14303 (pcomplete--table-subvert): Sync with comint--table-subvert.
14304 (pcomplete--entries): Use comint-completion-file-name-table.
14305 * comint.el (comint-unquote-filename): Simplify.
14306 (comint-completion-file-name-table): New function (bug#9616).
14307 (comint--complete-file-name-data): Use it.
14308
428fe61a
SM
14309 * pcmpl-gnu.el (pcmpl-gnu-with-file-buffer): New macro (bug#9643).
14310 (pcmpl-gnu-tar-buffer): Remove.
14311 (pcmpl-gnu-with-file-buffer): Use it to avoid leaving the tar's buffer
9aaf2b9c
GM
14312 around. Make sure pcomplete-suffix-list is only changed temporarily.
14313 Don't look inside the tar's file if it's too large.
428fe61a 14314
04c52e2f
CY
143152011-10-01 Chong Yidong <cyd@stupidchicken.com>
14316
ce3cefcc
CY
14317 * cus-edit.el (custom-mode-map):
14318 * epa.el (epa-key-list-mode-map):
14319 * man.el (Man-mode-map):
14320 * startup.el (splash-screen-keymap):
14321 * simple.el (special-mode-map): Use scroll-up-command and
14322 scroll-down-command.
14323
14324 * progmodes/idlw-help.el (idlwave-help-mode-map):
14325 * progmodes/ebrowse.el (ebrowse-electric-position-mode-map):
14326 * net/newst-plainview.el (newsticker-mode-map):
14327 * emulation/ws-mode.el (wordstar-mode-map):
14328 * emulation/vi.el (vi-com-map):
14329 * calc/calc-graph.el (calc-graph-show-dumb):
14330 * term/sun.el (terminal-init-sun):
14331 * term/ns-win.el (global-map):
14332 * progmodes/grep.el (grep-mode-map):
14333 * progmodes/ebrowse.el (ebrowse-electric-list-mode-map):
14334 * mail/rmail.el (rmail-mode-map):
14335 * progmodes/cpp.el (cpp-edit-mode-map): Likewise.
14336
04c52e2f
CY
14337 * custom.el (custom-safe-themes, load-theme): Treat value of t for
14338 custom-safe-themes as special.
14339
79adf8c8
JD
143402011-10-01 Julien Danjou <julien@danjou.info>
14341
14342 * notifications.el (notifications-notify): Fix docstring.
14343
63bd50d3
PS
143442011-10-01 Per Starbäck <per@starback.se>
14345
14346 * pcmpl-gnu.el (pcomplete/tar): Fix tar-header-name call. (Bug#9643)
14347
199e4c7e
MR
143482011-09-30 Martin Rudalics <rudalics@gmx.at>
14349
14350 * startup.el (command-line-1): Fix last fix by inserting
14351 initial-scratch-message into *scratch* before displaying it.
cbc5ee22 14352 (Bug#9605) and (Bug#9636)
199e4c7e 14353
fe5f08dd
EZ
143542011-09-29 Eli Zaretskii <eliz@gnu.org>
14355
14356 * simple.el (line-move): If auto-hscroll-mode is disabled and the
14357 window is hscrolled, move by logical lines. (Bug#9607)
14358 (line-move-visual): Update the doc string to the above effect.
14359
b5516bbd
MR
143602011-09-29 Martin Rudalics <rudalics@gmx.at>
14361
ccee00c0
MR
14362 * window.el (display-buffer-record-window): When WINDOW is the
14363 selected window use `point' instead of `window-point'. (Bug#9626)
14364
b5516bbd
MR
14365 * startup.el (command-line-1): Use insert-before-markers when
14366 inserting initial-scratch-message. (Bug#9605)
ccee00c0 14367
b5516bbd
MR
14368 * help.el (help-window): Remove variable.
14369
52aa0014
GM
143702011-09-29 Glenn Morris <rgm@gnu.org>
14371
14372 * pcmpl-cvs.el (pcomplete/cvs): Add "status" handler.
14373
df9a7357
JB
143742011-09-29 Juanma Barranquero <lekktu@gmail.com>
14375
14376 * descr-text.el (describe-char-categories): Accept category
14377 descriptions more than one line long.
14378
a8406c20
SM
143792011-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
14380
88d9610c
SM
14381 * simple.el (delete-trailing-whitespace): Fix last change.
14382
a5daf810
SM
14383 * progmodes/perl-mode.el (perl-syntax-propertize-function):
14384 Don't confuse "y => 3" as the beginning of a `y' operation.
14385
a8406c20
SM
14386 * emacs-lisp/debug.el (debug-convert-byte-code): Don't assume the
14387 object has more than 4 slots (bug#9613).
14388
a239d4e9
JB
143892011-09-28 Juanma Barranquero <lekktu@gmail.com>
14390
14391 * subr.el (with-output-to-temp-buffer):
14392 * net/quickurl.el (quickurl, quickurl-browse-url):
14393 Fix typos in docstrings.
14394
693fbdb6
EZ
143952011-09-27 Eli Zaretskii <eliz@gnu.org>
14396
14397 * minibuffer.el (completion-styles)
14398 (completion-category-overrides): Cross reference each other in doc
14399 strings.
14400
8b457e28
GM
144012011-09-27 Glenn Morris <rgm@gnu.org>
14402
14403 * pcmpl-cvs.el (pcmpl-cvs-entries): Update for Emacs 22.1 changes
14404 to split-string. (Bug#9606)
14405
85a16208
LMI
144062011-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
14407
14408 * mail/smtpmail.el (smtpmail-via-smtp): Fix STARTTLS detection
14409 (bug#9615).
14410
502f9ebd
CY
144112011-09-27 Chong Yidong <cyd@stupidchicken.com>
14412
14413 * emacs-lisp/package.el (list-packages): Fix echo area message.
14414
7690bdea
LL
144152011-09-27 Leo Liu <sdl.web@gmail.com>
14416
14417 * ido.el (ido-read-internal): Accept cons cell HIST arg.
14418
e2ee6f30
MA
144192011-09-25 Michael Albinus <michael.albinus@gmx.de>
14420
14421 * net/dbus.el (dbus-unregister-object): Don't release services for
14422 registered signals. (Bug#9581)
14423
f3f98342
TZ
144242011-09-25 Teodor Zlatanov <tzz@lifelogs.com>
14425
14426 * progmodes/cfengine.el (cfengine-auto-mode): Add convenience
14427 function that picks between cfengine 2 and 3 support
14428 automatically. Update docs accordingly.
14429
dd7aa8dd
KH
144302011-09-22 Kenichi Handa <handa@m17n.org>
14431
14432 * language/ind-util.el (indian-tml-base-table): Add TAMIL DIGIT
14433 ZERO.
14434 (indian-itrans-v5-table-for-tamil): New variable.
14435 (indian-tml-itrans-v5-hash): Use the above variable (Bug#9336).
14436
3f2b07f8
KM
144372011-09-22 Ken Manheimer <ken.manheimer@gmail.com>
14438
14439 * allout.el (allout-this-command-hid-stuff): Buffer-local variable
14440 that's true if the current command involved collapsing of text.
14441 It's reset to false at the beginning of the next command.
14442 (allout-post-command-business): Move the cursor to the beginning
14443 of entry if the cursor is hidden and collapsing activity just
14444 happened.
14445
371d6a61
CY
144462011-09-24 Chong Yidong <cyd@stupidchicken.com>
14447
14448 * mouse.el (mouse-drag-track): Set scroll-margin to 0 while
14449 tracking (Bug#9541).
14450
2ac2721a
UJ
144512011-09-24 Ulf Jasper <ulf.jasper@web.de>
14452
14453 * net/newst-reader.el (newsticker-html-renderer)
1154d12e
JB
14454 (newsticker-show-news): Automatically load html rendering package
14455 if newsticker-html-renderer is set. Fixes "Warning: defvar ignored
14456 because w3m-fill-column is let-bound" and the error "Symbol's value
14457 as variable is void: w3m-fill-column".
2ac2721a 14458
fac7ae53
MA
144592011-09-24 Michael Albinus <michael.albinus@gmx.de>
14460
14461 * net/dbus.el (dbus-unregister-object): Remove match rule of signals.
14462 Release services only if they are defined. (Bug#9581)
14463
e08b633b
RS
144642011-09-23 Richard Stallman <rms@gnu.org>
14465
e488d29c
RS
14466 * textmodes/paragraphs.el (forward-sentence): For backwards case,
14467 distinguish start of paragraph from start of its text.
14468
19c38752
RS
14469 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs): Autoload.
14470
e08b633b
RS
14471 * mail/rmail.el (rmail-view-buffer-kill-buffer-hook): New function.
14472 (rmail-generate-viewer-buffer): Put that hook on view buffer.
14473 (rmail-mode-kill-buffer-hook): Override that hook, to kill view buffer.
14474
0a39f27e
AS
144752011-09-23 Andreas Schwab <schwab@linux-m68k.org>
14476
14477 * international/mule-diag.el (mule-diag): Insert a newline after
14478 each fontset description.
14479
db4e950d
SM
144802011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
14481
14482 * simple.el (delete-trailing-whitespace):
14483 Document last change; simplify.
14484
eca3f3ea
PW
144852011-09-23 Peter J. Weisberg <pj@irregularexpressions.net>
14486
d68e189a
PW
14487 * simple.el (delete-trailing-whitespace): Also delete
14488 extra newlines at the end of the buffer.
14489
eca3f3ea
PW
14490 * textmodes/picture.el: Make motion commands obey shift-select-mode.
14491 (picture-newline): Use forward-line so as to ignore fields.
14492
01c157cc
SM
144932011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
14494
14495 * subr.el (with-wrapper-hook): Fix edebug spec.
14496
022de23e
LMI
144972011-09-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
14498
14499 * simple.el (kill-line): Note effect of `show-trailing-whitespace'
14500 (bug#4538).
14501
91683089
MA
145022011-09-23 Michael Albinus <michael.albinus@gmx.de>
14503
eca3f3ea
PW
14504 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
14505 Fix nasty bug using wrong cached values.
91683089 14506
5bdd6fa4
AM
145072011-09-23 Alan Mackenzie <acm@muc.de>
14508
14509 * progmodes/cc-defs.el (c-version): Increase to 5.31.9.
14510
97adfb97
CY
145112011-09-23 Chong Yidong <cyd@stupidchicken.com>
14512
14513 * window.el (pop-to-buffer): Ensure right window is selected if we
14514 chose another frame.
14515
d4ef2b50
EZ
145162011-09-22 Eli Zaretskii <eliz@gnu.org>
14517
14518 * simple.el (what-cursor-position): Use get-char-property-change
14519 and next-single-char-property-change, to be able to show display
14520 properties that come from overlays as well as text properties.
14521
72258fe5
CY
145222011-09-22 Chong Yidong <cyd@stupidchicken.com>
14523
14524 * window.el (pop-to-buffer-same-window): New (reinstated) fun.
14525
14526 * cmuscheme.el (run-scheme, switch-to-scheme):
14527 * cus-edit.el (customize-group, custom-buffer-create)
14528 (customize-browse):
14529 * info.el (info):
14530 * shell.el (shell):
14531 * mail/sendmail.el (mail):
14532 * progmodes/inf-lisp.el (inferior-lisp): Use it (Bug#9532).
14533
8f098516
RS
145342011-09-22 Richard Stallman <rms@gnu.org>
14535
14536 * textmodes/paragraphs.el (forward-sentence): When setting PAR-BEG,
14537 move back only to line beg, don't move back over blank lines.
14538
e74f1bb6
MA
145392011-09-22 Michael Albinus <michael.albinus@gmx.de>
14540
14541 * files.el (copy-directory): Set directory attributes only in case
14542 they could be retrieved from the source directory. (Bug#9565)
14543
bfeef8b6
DK
145442011-09-22 Dima Kogan <dkogan@secretsauce.net> (tiny change)
14545
14546 * progmodes/hideshow.el (hs-looking-at-block-start-p)
14547 (hs-find-block-beginning, hs-hide-level-recursive):
14548 Ignore strings as well as comments. (Bug#9502)
14549
7e423bb8
AS
145502011-09-22 Andrew Schein <andrew@andrewschein.com> (tiny change)
14551
14552 * progmodes/sql.el (sql-comint-postgres):
14553 Convert port number to a string. (Bug#9566)
14554
b4d72fcf
MR
145552011-09-22 Martin Rudalics <rudalics@gmx.at>
14556
14557 * window.el (quit-window): Undedicate window when switching to
14558 previous buffer. Reported by Thierry Volpiatto
14559 <thierry.volpiatto@gmail.com>.
7f80c86d
MR
14560 (special-display-popup-frame): When popping up a new frame reset
14561 its previous buffers to nil. Simplify code.
b4d72fcf 14562
a7b88dc6
MA
145632011-09-21 Michael Albinus <michael.albinus@gmx.de>
14564
14565 * net/tramp.el (tramp-handle-shell-command): Set process sentinel
14566 and process filter, as done also in `shell-command'.
14567
cf4eacfd
MR
145682011-09-21 Martin Rudalics <rudalics@gmx.at>
14569
eca3f3ea 14570 * window.el (set-window-buffer-start-and-point):
1154d12e
JB
14571 Call set-window-start with NOFORCE argument t.
14572 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
cf4eacfd
MR
14573 (quit-window): Reword doc-string. Handle new format of
14574 quit-restore parameter. Don't delete window if it has a
14575 previous buffer we can show instead of the present one.
14576 (display-buffer-record-window): Rewrite using a new format for
14577 the quit-restore window parameter
14578 (special-display-popup-frame, display-buffer-same-window)
14579 (display-buffer-reuse-window, display-buffer-pop-up-frame)
14580 (display-buffer-pop-up-window, display-buffer-use-some-window):
14581 Adapt symbol passed to display-buffer-record-window.
14582 * help.el (help-window-setup): Handle new format of quit-restore
14583 parameter.
14584
8d28cb95
SM
145852011-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
14586
94ab793f
SM
14587 * faces.el (face-list): Fix docstring (bug#9564).
14588
8d28cb95
SM
14589 * window.el (display-buffer--action-function-custom-type):
14590 Don't include internal functions in the Custom interface.
14591
3820edeb
JL
145922011-09-20 Juri Linkov <juri@jurta.org>
14593
14594 * info.el (Info-history-skip-intermediate-nodes): New defcustom.
14595 (Info-forward-node, Info-backward-node, Info-next-preorder)
14596 (Info-last-preorder): Use it. (Bug#9528)
14597
5147931d
JL
145982011-09-20 Juri Linkov <juri@jurta.org>
14599
14600 * info.el (Info-last-preorder): Visit last menu item only when
14601 `Info-scroll-prefer-subnodes' is non-nil (third test-case of bug#9528).
14602
cf499a1a
JD
146032011-09-20 Julien Danjou <julien@danjou.info>
14604
14605 * password-cache.el (password-cache-remove): Remove entries even if the
14606 value is nil, so that password with a nil value (negative caching) is
14607 possible to invalidate.
14608
f84e2fe2
LM
146092011-09-20 Lawrence Mitchell <wence@gmx.li>
14610
14611 * progmodes/f90.el (f90-break-line): If breaking inside comment delete
14612 all whitespace around breakpoint. (Bug#9553)
14613 (f90-find-breakpoint): Only break at whitespace inside a comment.
14614
78054a46
SM
146152011-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
14616
14617 * minibuffer.el (completion-file-name-table): Keep track of errors.
14618 (completion-table-with-predicate): Handle the case where pred1 is nil.
14619 * pcomplete.el (pcomplete-completions-at-point): Simplify.
14620
345083b2
SM
146212011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
14622
e24e27be
SM
14623 * emacs-lisp/debug.el (debugger-args): Give it a docstring.
14624 (debugger-return-value): Signal an error if the debugging context does
14625 not await any return value.
14626
345083b2
SM
14627 * ps-mule.el (ps-mule-plot-string): Don't inf-loop (bug#5108).
14628 * image-mode.el (image-toggle-display-text)
14629 (image-toggle-display-image): Stay away from evil `intangible'.
14630
08d355e3
LL
146312011-09-19 Leo Liu <sdl.web@gmail.com>
14632
14633 * replace.el (occur-revert-arguments): Make it permanent-local.
14634 (occur-mode): Don't call font-lock-defontify.
14635
f01da43f
CY
146362011-09-19 Chong Yidong <cyd@stupidchicken.com>
14637
14638 * net/ldap.el (ldap-search-internal): Don't push empty search
14639 result (Bug#9508).
14640
b6072fa6
SM
146412011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
14642
14643 * whitespace.el (whitespace-newline-mode): Disable it right (bug#9550).
14644
443d6696
MA
146452011-09-19 Michael Albinus <michael.albinus@gmx.de>
14646
14647 * net/tramp-sh.el (tramp-inline-compress-commands): Add "xz".
14648 Suggested by Liam Stitt <stittl@cuug.ab.ca>.
14649
7cc6e154
JL
146502011-09-18 Juri Linkov <juri@jurta.org>
14651
14652 * buff-menu.el (Buffer-menu-mode-map):
14653 * dired.el (dired-mode-map):
14654 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map)
14655 (lisp-interaction-mode-map):
14656 * emacs-lisp/package.el (package-menu-mode-map):
14657 * epa.el (epa-key-list-mode-map):
14658 * menu-bar.el (menu-bar-showhide-tool-bar-menu)
14659 (menu-bar-options-menu):
14660 * outline.el (outline-mode-menu-bar-map):
14661 * vc/vc-bzr.el (vc-bzr-shelve-menu-map, vc-bzr-extra-menu-map):
14662 * vc/vc-dir.el (vc-dir-menu-map):
14663 * vc/vc-git.el (vc-git-stash-menu-map, vc-git-extra-menu-map):
14664 Capitalize non-function content words in menu item strings.
14665
14666 * dired.el (dired-mode-map): Add menu item for
14667 `image-dired-dired-toggle-marked-thumbs'.
14668
80302a81
JL
146692011-09-18 Juri Linkov <juri@jurta.org>
14670
14671 * isearch.el (isearch-edit-string): Bind `isearch-new-case-fold'
14672 to `isearch-case-fold-search' and restore its original value
14673 after the `isearch-mode' call.
14674
46c5cf66
JL
146752011-09-18 Juri Linkov <juri@jurta.org>
14676
14677 * progmodes/grep.el (grep-process-setup): Don't check code for 1
14678 because `zgrep' returns 1 for successful matches (bug#9226).
14679
d18b513b
JL
146802011-09-18 Juri Linkov <juri@jurta.org>
14681
14682 * info.el (Info-extract-menu-node-name): Check the second match
14683 for empty string (second test-case of bug#9528).
14684 (Info-last-preorder): Let-bind `Info-history' to nil to not add
14685 intermediate nodes to the history (first test-case of bug#9528).
14686
72753f87
JL
146872011-09-18 Juri Linkov <juri@jurta.org>
14688
14689 * info.el (Info-mode-syntax-table): New variable.
1154d12e 14690 (Info-mode): Set `:syntax-table' to `Info-mode-syntax-table' (bug#3312).
72753f87 14691
c9384295
JL
146922011-09-18 Juri Linkov <juri@jurta.org>
14693
1154d12e
JB
14694 * info.el (Info-file-supports-index-cookies):
14695 Increment line-beginning-position's arg from 3 to 4 because makeinfo
14696 outputs one more line for long file names (bug#4142).
c9384295 14697
d473dce8
CY
146982011-09-18 Chong Yidong <cyd@stupidchicken.com>
14699
14700 * newcomment.el (comment-normalize-vars): If prompting for
14701 comment-start, set comment-start-skip too (Bug#8424).
14702
2176854d
JB
147032011-09-18 Johan Bockgård <bojohan@gnu.org>
14704
14705 * icomplete.el: Fix previous fix of Bug#5849.
14706 (icomplete-mode): Don't set completion-show-inline-help.
14707 (icomplete-minibuffer-setup): Set completion-show-inline-help
14708 locally during icompletion.
14709
3aace4e4
CY
147102011-09-18 Chong Yidong <cyd@stupidchicken.com>
14711
c940224f
CY
14712 * woman.el (woman2-process-escapes): Don't delete unrecognized
14713 escapes (Bug#7843).
14714
3aace4e4
CY
14715 * files.el (inhibit-first-line-modes-regexps): Add image files.
14716 (hack-local-variables-prop-line): Return nil for malformed
14717 prop-lines (Bug#9044).
14718
710dec63
MA
147192011-09-18 Michael Albinus <michael.albinus@gmx.de>
14720
14721 * net/tramp.el (top): Don't require 'shell.
14722 (tramp-methods): Fix docstring.
14723 (tramp-get-remote-tmpdir): New defun, moved from tramp-sh.el.
8d28cb95
SM
14724 Return complete remote file name. Handle "smb" case.
14725 Use `tramp-tmpdir', if defined for the respective method.
710dec63
MA
14726 (tramp-make-tramp-temp-file): Adapt call of `tramp-get-remote-tmpdir'.
14727
14728 * net/tramp-compat.el (top): Require 'shell.
14729
14730 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
14731 (tramp-maybe-open-connection): Use `tramp-file-name-real-host' for
14732 `tramp-current-host'.
14733 (tramp-get-remote-tmpdir): Remove.
14734
14735 * net/tramp-smb.el (tramp-methods): Add `tramp-remote-shell' and
14736 `tramp-tmpdir' entries.
14737 (tramp-smb-errors): Add "NT_STATUS_IMAGE_ALREADY_LOADED".
14738 (tramp-smb-handle-file-attributes): Ignore errors.
14739 (tramp-smb-wait-for-output): Check also for process end.
14740
5d5ac8ec
LMI
147412011-09-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
14742
14743 * mail/smtpmail.el (smtpmail-via-smtp): Ignore errors that arise
14744 when sending QUIT (bug#9312).
14745
8c0f49f0
CY
147462011-09-17 Chong Yidong <cyd@stupidchicken.com>
14747
14748 * replace.el (occur-mode-map): Rebind occur-edit-mode to "e" (Bug#8463).
14749 (occur-edit-mode-map): Bind C-c C-c to occur-cease-edit and C-o to
14750 occur-mode-display-occurrence.
14751 (occur-edit-mode): Add usage message.
14752 (occur-cease-edit): New command.
14753 (occur-after-change-function): Use text properties to find the
14754 position of the prefix text.
14755 (occur-engine): Set stickiness of prefix text properties.
14756
8f1383f7
GM
147572011-09-17 Glenn Morris <rgm@gnu.org>
14758
14759 * progmodes/etags.el (complete-tag):
14760 Fix call to completion-in-region. (Bug#9526)
14761
744ba0e3
JL
147622011-09-17 Juri Linkov <juri@jurta.org>
14763
14764 * textmodes/ispell.el (ispell-word): Add to the error message
14765 the word, ispell program name and current dictionary (bug#9121).
14766 (ispell-tex-arg-end): Capitalize "error" in the error message.
14767
d9bbf400
AS
147682011-09-17 Andreas Schwab <schwab@linux-m68k.org>
14769
14770 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix overflow
14771 check. (Bug#4251)
14772
8da11505
JL
147732011-09-17 Juri Linkov <juri@jurta.org>
14774
14775 * window.el (window-safe-min-height, window-safe-min-width):
14776 Fix typos (followup to bug#9522).
14777
a91adc7e
SJ
147782011-09-17 Sven Joachim <svenjoac@gmx.de>
14779
14780 * window.el (window-min-width, window-state-put): Fix typos (bug#9522).
14781
064f328a
EZ
147822011-09-16 Eli Zaretskii <eliz@gnu.org>
14783
14784 * simple.el (line-move): If goal-column is set, move by logical
14785 lines, not by display lines. (Bug#971)
14786 (next-line, previous-line, goal-column, line-move-visual): Doc fix
14787 to reflect the above change.
14788
e69df516
SM
147892011-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
14790
14791 * image.el (imagemagick-register-types): Use regexp-opt.
14792
cbb0f9ab
CY
147932011-09-15 Chong Yidong <cyd@stupidchicken.com>
14794
14795 * window.el (display-buffer-base-action): Rename from
14796 display-buffer-default-action. Make default value empty.
14797 (display-buffer-overriding-action): Convert to defvar.
14798 (display-buffer-fallback-action): New var.
14799
25322144
CY
148002011-09-15 Chong Yidong <cyd@stupidchicken.com>
14801
14802 * emacs-lisp/package.el (package-alist): Fix risky-local-variable
14803 declaration.
14804 (package--add-to-archive-contents): If there is a duplicate entry
14805 with an older version, remove it.
14806 (package-menu-mark-delete, package-menu-mark-install)
14807 (package-menu-mark-unmark): Make unused args optional.
e69df516
SM
14808 (package-menu-mark-obsolete-for-deletion):
14809 Use package-menu-get-status instead of a regexp search.
25322144
CY
14810 (package-menu-get-status): Use tabulated-list-entry.
14811 (package-menu-mark-upgrades): New command.
d770725a 14812 (package-menu-mode-map): Bind it to U. Add it to menu bar.
25322144
CY
14813 (package-menu-execute): Do installation before deletion.
14814 (package-menu-refresh, package-menu-execute): Use derived-mode-p
14815 instead of checking major-mode.
14816 (package-menu--find-upgrades): New function.
14817
7520339c
LMI
148182011-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
14819
14820 * mail/smtpmail.el (smtpmail-send-command): Don't include AUTH
14821 passwords in the log buffer.
65a046c4
LMI
14822 (smtpmail-process-filter): Update the process marker so that the
14823 "broken by peer" status message is inserted in the right place.
7520339c 14824
d3c30954
SM
148252011-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
14826
3fe48822
SM
14827 * textmodes/bibtex.el (bibtex-complete-string-cleanup)
14828 (bibtex-complete-crossref-cleanup): Adjust to accommodate needs of
14829 bibtex-completion-at-point-function.
14830 (bibtex-completion-at-point-function): Use them.
14831
1b8b3954
SM
14832 * newcomment.el (comment-add, comment-valid-prefix-p): Docfix.
14833
d3c30954
SM
14834 * mpc.el (mpc-constraints-tag-lookup): New function.
14835 (mpc-constraints-restore): Use it to make jumping to "album=Foo" apply
14836 also to browser "album|playlist".
14837
72779976
JL
148382011-09-14 Juri Linkov <juri@jurta.org>
14839
14840 * isearch.el (isearch-fail-pos): Add new arg `msg'. Doc fix.
14841 (isearch-edit-string): Use length of `isearch-string' when
14842 `isearch-fail-pos' returns nil.
14843 (isearch-message): Remove duplicate code and call
14844 `isearch-fail-pos' with arg `t'.
14845
a0bf2bcd
CY
148462011-09-14 Chong Yidong <cyd@stupidchicken.com>
14847
17bb0a2d
CY
14848 * replace.el (occur-mode-goto-occurrence): Don't force using other
14849 window (Bug#9499).
14850
a0bf2bcd
CY
14851 * dired-aux.el (dired-do-chmod): Don't provide initial input.
14852
f678e0b6
MR
148532011-09-14 Martin Rudalics <rudalics@gmx.at>
14854
14855 * window.el (display-buffer-window): Remove.
14856 (display-buffer-record-window): Use help-setup window parameter
14857 instead of variable display-buffer-window.
14858 (display-buffer-function, special-display-buffer-names)
14859 (special-display-function): Mention help-setup parameter instead
14860 of display-buffer-window in doc-string.
d3c30954
SM
14861 * help.el (help-window-setup): New argument help-window.
14862 Use help-window-setup parameter instead of display-buffer-window.
f678e0b6
MR
14863 Reword some messages.
14864 (with-help-window): Pass window used for displaying the buffer
14865 to help-window-setup. Don't set display-buffer-window.
14866
8e39b2e8
GM
148672011-09-13 Glenn Morris <rgm@gnu.org>
14868
14869 * emacs-lisp/debug.el (debugger-make-xrefs):
14870 Preserve point. (Bug#9462)
14871
85e9c04b
CY
148722011-09-13 Chong Yidong <cyd@stupidchicken.com>
14873
14874 * window.el (window-deletable-p): Use next-frame.
14875
1b36ed6a
MR
148762011-09-13 Martin Rudalics <rudalics@gmx.at>
14877
14878 * window.el (window-auto-delete): Remove.
14879 (window-deletable-p): Remove argument FORCE. Don't deal with
e4769531 14880 dedication and previous buffers.
1b36ed6a
MR
14881 (switch-to-prev-buffer): Don't delete window.
14882 (delete-windows-on): Delete a window's frame if and only if the
14883 window is dedicated.
14884 (replace-buffer-in-windows): Delete buffer's window or frame if
14885 and only if window is dedicated.
14886 (quit-window): Handle quit-restore as before last change.
4d61f28d 14887 (bury-buffer): Delete window only if window-deletable-p returns t.
1b36ed6a 14888
ef8ef9fb
CY
148892011-09-13 Chong Yidong <cyd@stupidchicken.com>
14890
14891 * window.el (window-deletable-p): Never delete the last frame on a
14892 given terminal.
14893
b2cba41e
GM
148942011-09-13 Glenn Morris <rgm@gnu.org>
14895
14896 * help.el (describe-key-briefly): Copy previous standard-output change.
14897
51553db6 148982011-09-13 PJ Weisberg <pj@irregularexpressions.net>
e3ce671f
PW
14899
14900 * help.el (where-is): Respect non-standard standard-output. (Bug#9030)
14901
b7556719
GM
149022011-09-13 Glenn Morris <rgm@gnu.org>
14903
14904 * emacs-lisp/lisp-mode.el (lisp-indent-function):
14905 * progmodes/scheme.el (scheme-indent-function): Doc fixes.
14906
64b51947
CY
149072011-09-12 Chong Yidong <cyd@stupidchicken.com>
14908
14909 * dired-aux.el (dired-mark-read-string): Don't return default
14910 value on empty input (Bug#9361).
14911 (dired-do-chxxx): Treat empty input for "touch" as no -t option.
14912 Omit initial minibuffer contents.
14913 (dired-do-chmod): Signal an error on empty input.
14914 (dired-mark-read-string): Don't return default on empty input.
14915
14916 * files.el (file-modes-symbolic-to-number): Doc fix.
14917
393a301e
SM
149182011-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
14919
14920 * international/mule-cmds.el (ucs-completions): Remove.
14921 (read-char-by-name): Use complete-with-action instead; add metadata.
14922
fa5660f9
CY
149232011-09-11 Chong Yidong <cyd@stupidchicken.com>
14924
14925 * window.el (display-buffer--action-function-custom-type)
14926 (display-buffer--action-custom-type): New vars.
14927 (display-buffer-alist, display-buffer-default-action)
14928 (display-buffer-overriding-action): Add defcustom types.
14929
4a592f66
CY
14930 * frame.el (delete-other-frames): Doc fix (Bug#276).
14931
73d56dbd
LMI
149322011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
14933
14934 * play/doctor.el (make-doctor-variables): Define `doctor-sent'.
14935
37ac18a3
CY
149362011-09-11 Chong Yidong <cyd@stupidchicken.com>
14937
14938 Change modes that used same-window-* vars to use switch-to-buffer.
14939
14940 * progmodes/gdb-mi.el (gdb-restore-windows, gdb-setup-windows):
14941 Use switch-to-buffer.
14942
14943 * cus-edit.el (customize-group, custom-buffer-create)
393a301e
SM
14944 (customize-browse, custom-buffer-create-other-window):
14945 Use switch-to-buffer or switch-to-buffer-other-window.
37ac18a3
CY
14946
14947 * info.el (info, Info-find-node, Info-revert-find-node, Info-next)
14948 (Info-prev, Info-up, Info-speedbar-goto-node)
14949 (info-display-manual): Use switch-to-buffer.
14950 (Info-speedbar-goto-node): Use switch-to-buffer-other-frame.
14951
14952 * mail/sendmail.el (mail): Use switch-to-buffer.
14953 (mail-recover): Use switch-to-buffer-other-window.
14954
14955 * cmuscheme.el (run-scheme, switch-to-scheme):
14956 * ielm.el (ielm):
14957 * shell.el (shell):
14958 * net/rlogin.el (rlogin):
14959 * net/telnet.el (telnet, rsh):
14960 * progmodes/inf-lisp.el (inferior-lisp): Use switch-to-buffer.
14961
10195bd6
AS
149622011-09-11 Andreas Schwab <schwab@linux-m68k.org>
14963
14964 * dired.el (dired-sort-toggle-or-edit): Revert last changes.
14965
b322f63a
LMI
149662011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
14967
39d7fed6
LMI
14968 * dired.el (dired-sort-toggle-or-edit): -o doesn't exist on *BSD,
14969 so don't mention it (bug#9301).
ba5a81f1 14970 (dired-sort-toggle-or-edit): Clarify string further.
39d7fed6 14971
ee0e9f11
LMI
14972 * faces.el (face-spec-set-match-display): Make `(type graphic)'
14973 match `x', `w32' and `ns', like the manual says (bug#9029).
14974
0b1c89c1 14975 * subr.el (eval-after-load): Doc string clarification (bug#9125).
da9fcb93
LMI
14976 (process-kill-buffer-query-function): Mention the buffer name in
14977 the query.
0b1c89c1 14978
77549ea8
LMI
14979 * image-mode.el (image-next-line): The line parameter is mandatory
14980 (bug#9258).
14981
803ef892
LMI
14982 * dired.el (dired-sort-toggle-or-edit): Mention -o and -g, too,
14983 which can be useful (bug#9301).
14984
12980837
LMI
14985 * textmodes/flyspell.el: Remove obsolete comment (bug#9368).
14986
91054f8f
LMI
14987 * subr.el (match-string): Mention that the current buffer should
14988 be the same as the search was done in (bug#9282).
14989
b322f63a
LMI
14990 * facemenu.el: Disable the remove-* commands if the mark isn't
14991 active (bug#9162).
14992
3199b96f
CY
149932011-09-10 Chong Yidong <cyd@stupidchicken.com>
14994
14995 * buff-menu.el (Buffer-menu-switch-other-window): Use second arg
14996 of display-buffer.
14997 (Buffer-menu-2-window): Use switch-to-buffer-other-window.
14998
14999 * replace.el (occur-mode-goto-occurrence)
15000 (occur-mode-display-occurrence) Use second arg of pop-to-buffer
15001 and display-buffer.
15002
15003 * mail/reporter.el (reporter-submit-bug-report): Use second arg of
15004 display-buffer.
15005
15006 * mail/sendmail.el (sendmail-user-agent-compose): Don't bind the
15007 special-display and same-window variables.
15008 (mail-other-window): Use switch-to-buffer-other-window.
15009 (mail-other-frame): USe switch-to-buffer-other-frame.
15010
393a301e
SM
15011 * progmodes/gdb-mi.el (gdb-frame-gdb-buffer):
15012 Use display-buffer-other-frame.
3199b96f
CY
15013 (gdb-display-gdb-buffer): Use pop-to-buffer.
15014
15015 * progmodes/gud.el (gud-goto-info): Use info-other-window.
15016
15017 * progmodes/python.el: Don't set same-window-buffer-names.
15018
15019 * textmodes/bibtex.el (bibtex-search-entry): Use switch-to-buffer.
15020
15021 * window.el (display-buffer-alist): Add *Python*.
15022
8319e0bf
CY
150232011-09-10 Chong Yidong <cyd@stupidchicken.com>
15024
15025 * window.el (display-buffer-alist): Add entry for buffers
15026 previously handled same-window-*.
15027 (display-buffer-alist, display-buffer-default-action)
15028 (display-buffer-overriding-action): Mark as risky.
15029 (display-buffer-alist): Document action function changes.
15030 (display-buffer--same-window-action)
15031 (display-buffer--other-frame-action): New variables.
15032 (switch-to-buffer, display-buffer-other-frame): Use them.
15033 (display-buffer): Rename reuse-frame entry to reusable-frames.
15034 (display-buffer-reuse-selected-window): Function deleted.
15035 (display-buffer-reuse-window): Handle reusable-frames alist entry.
15036 If it's omitted, check pop-up-frames/display-buffer-reuse-frames.
15037 (display-buffer-special): New function.
15038 (display-buffer--maybe-pop-up-frame-or-window): Rename from
15039 display-buffer-reuse-or-pop-window. Split off special-display
15040 part into display-buffer-special.
15041 (display-buffer-use-some-window): Don't perform any special
15042 pop-up-frames handling.
15043 (pop-to-buffer): Use window-normalize-buffer-to-switch-to.
393a301e 15044 (display-buffer--maybe-same-window): Rename from
0d3ff375 15045 display-buffer-maybe-same-window.
8319e0bf 15046
919a69aa
CY
15047 * info.el: Don't set same-window-regexps.
15048 (info-setup): New function.
15049 (info-other-window, info): Call it.
15050
15051 * cus-edit.el: Don't set same-window-regexps.
15052 (customize-group): New argument.
15053 (customize-group-other-window): Use it.
15054 (customize-face, customize-face-other-window): Likewise.
15055 (custom-buffer-create-other-window): Use pop-to-buffer directly.
15056
8319e0bf
CY
15057 * net/rlogin.el:
15058 * net/telnet.el:
15059 * progmodes/gud.el: Don't set same-window-regexps.
15060
15061 * cmuscheme.el:
15062 * ielm.el:
15063 * shell.el:
15064 * mail/sendmail.el:
15065 * progmodes/inf-lisp.el: Don't set same-window-buffer-names.
15066
25173000
JL
150672011-09-10 Juri Linkov <juri@jurta.org>
15068
15069 * isearch.el (isearch-edit-string): Remove obsolete mention of
15070 `C-w' (`isearch-yank-word-or-char') from docstring.
15071 (isearch-query-replace): Fix typo in docstring (bug#9466).
15072
056e44ef
JL
150732011-09-10 Juri Linkov <juri@jurta.org>
15074
15075 * paren.el (show-paren-function): Don't show escaped parens.
15076 Let-bind `unescaped' to `t' when paren is not escaped. (Bug#9461)
15077
c3760c17
EZ
150782011-09-10 Eli Zaretskii <eliz@gnu.org>
15079
15080 * mail/sendmail.el (mml-to-mime, mml-attach-file)
15081 (mm-default-file-encoding): Remove autoload forms, they are
15082 replaced with autoload cookies in mml.el and mm-encode.el.
15083 (mail-add-attachment): New command.
15084 (mail-mode-map): Add a menu-bar item for mail-add-attachment.
15085 (mail-mode): Mention mail-insert-file and mail-add-attachment in
15086 the doc string.
15087 (mml-to-mime, mml-attach-file, mm-default-file-encoding): Declare.
15088
fece895e
RT
150892011-09-10 Reuben Thomas <rrt@sc3d.org>
15090
e69df516
SM
15091 * simple.el (count-words-region): Use buffer if there's no region
15092 (bug#9429).
fece895e 15093
5e68ce4a
JL
150942011-09-09 Juri Linkov <juri@jurta.org>
15095
15096 * wdired.el (wdired-change-to-wdired-mode): Set buffer-local
15097 `isearch-filter-predicate' to `wdired-isearch-filter-read-only'.
15098 (wdired-isearch-filter-read-only): New function. (Bug#6362)
15099
0a6b9622
AM
151002011-09-09 Alan Mackenzie <acm@muc.de>
15101
15102 * progmodes/cc-mode.el (awk-mode): Prevent `define-derived-mode'
15103 spuriously generating `awk-mode-syntax-table'. (Bug #9448).
15104
14a29deb
EZ
151052011-09-09 Eli Zaretskii <eliz@gnu.org>
15106
15107 Fix for Savannah bug#9392.
15108 * simple.el (mail-encode-mml): New defvar.
15109
15110 * mail/rmail.el (mail-encode-mml): Add a defvar.
15111 (rmail-enable-mime-composing): Default to t.
15112 (rmail-forward): Use MIME method of forwarding only if both
15113 rmail-enable-mime-composing and rmail-enable-mime are non-nil.
15114 Set mail-encode-mml non-nil if the MIME method was used.
15115
15116 * mail/sendmail.el (mml-to-mime): Add autoload form.
15117 (mail-encode-mml): Add a defvar.
15118 (mail-mode): Make mail-encode-mml buffer-local and initialize it
15119 to nil.
15120 (mail-send): If mail-encode-mml is non-nil, run the outgoing
15121 message through mml-to-mime, and reset mail-encode-mml to nil.
15122
28c45130
GM
151232011-09-09 Glenn Morris <rgm@gnu.org>
15124
15125 * woman.el (woman-if-body): When processing an .el block,
15126 do not delete the next .el block as well. (Bug#9447)
69f4b618 15127 (woman-special-characters): Add oq, cq, and hy characters.
28c45130 15128
9b1c252e
MR
151292011-09-08 Martin Rudalics <rudalics@gmx.at>
15130
15131 * window.el (window-deletable-p): Make sure window is live before
15132 invoking window-prev-buffers.
15133
567457e3
LL
151342011-09-08 Leo Liu <sdl.web@gmail.com>
15135
15136 * net/rcirc.el (rcirc-cmd-invite): New rcirc command. (Bug#9453)
15137
97f05794
JL
151382011-09-08 Juri Linkov <juri@jurta.org>
15139
15140 * progmodes/compile.el (compilation-environment): Make it
15141 a defcustom (bug#8340).
15142
8b0874b5
MR
151432011-09-08 Martin Rudalics <rudalics@gmx.at>
15144
15145 * window.el (frame-auto-delete): Rename to window-auto-delete.
15146 Make it control auto-deletion of windows and/or frames.
15147 (window-deletable-p): New argument FORCE. Rewrite conditions
5e617bc2 15148 for deleting window/frame. (Bug#9419)
8b0874b5
MR
15149 (switch-to-prev-buffer, replace-buffer-in-windows, quit-window):
15150 Rewrite handling of case when window/frame can be deleted.
15151 (delete-windows-on): Call window-deletable-p with new FORCE
5e617bc2 15152 argument t. (Bug#9456)
8b0874b5 15153
4feb6e73
CY
151542011-09-07 Chong Yidong <cyd@stupidchicken.com>
15155
15156 * help-mode.el (help-mode): Restore autoload.
15157
91ab9c13
JL
151582011-09-07 Juri Linkov <juri@jurta.org>
15159
15160 * progmodes/compile.el (compilation-start): Let-bind `thisenv' to
15161 `compilation-environment'. Set buffer-local
15162 `compilation-environment' to `thisenv' later after (funcall mode).
15163 (Bug#8340)
15164
15165 * vc/vc-git.el (vc-git-grep): Remove --no-color. (Bug#9408)
15166 (vc-git-grep): Prepend "PAGER=" to `compilation-environment'
15167 instead of replacing its value. (Bug#8340)
15168
0527e251
JL
151692011-09-07 Juri Linkov <juri@jurta.org>
15170
15171 * progmodes/grep.el (grep-regexp-alist): Calculate column positions
15172 based on text properties put by `grep-filter' instead of matching
15173 escape sequences.
15174 (grep-mode): Set buffer-local `compilation-error-screen-columns'
15175 to the value of `grep-error-screen-columns' (bug#9438).
15176
249f792c
JL
151772011-09-07 Juri Linkov <juri@jurta.org>
15178
15179 * simple.el (next-error-highlight, next-error-highlight-no-select):
15180 Doc fix (bug#9432).
15181
ff7271b9
OT
151822011-09-07 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
15183
15184 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
15185 Check for null c-opt-block-decls-with-vars-key. (Bug#9443)
15186
183fc730
LL
151872011-09-07 Leo Liu <sdl.web@gmail.com>
15188
15189 * net/rcirc.el (rcirc-mode): Conditionally initialize
15190 rcirc-input-ring.
15191
77694924
SM
151922011-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
15193
15194 * emacs-lisp/find-func.el (find-function-C-source): Only set
15195 find-function-C-source-directory after checking that we found a source
15196 file there (bug#9440).
15197
d809b8eb
AM
151982011-09-06 Alan Mackenzie <acm@muc.de>
15199
15200 * isearch.el (isearch-other-meta-char): Wherever a key list is
15201 unread, "unread" the prefix arg, too. This fixes bug #8901.
15202
453de99f
OG
152032011-09-05 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
15204
15205 * progmodes/grep.el (rgrep): Add "-type d" (bug#9414).
15206
90439906
JL
152072011-09-05 Juri Linkov <juri@jurta.org>
15208
15209 * progmodes/grep.el (grep-process-setup): Fix comments (bug#8084).
15210
f62bd846
JL
152112011-09-05 Juri Linkov <juri@jurta.org>
15212
15213 * progmodes/grep.el (grep-filter): Avoid incomplete processing by
15214 keeping point where processing of grep matches begins, and
15215 continue to delete remaining escape sequences from the same point.
15216 (grep-filter): Make leading zero optional in "0?1;31m" because
15217 git-grep emits "\033[1;31m" escape sequences unlike expected
15218 "\033[01;31m" as GNU Grep does (bug#9408).
15219 (grep-process-setup): Replace obsolete "ml=" with newer "sl=".
15220
045820ec
JL
152212011-09-05 Juri Linkov <juri@jurta.org>
15222
15223 * subr.el (y-or-n-p): Capitalize "yes".
15224
f5e29b9b
MA
152252011-09-04 Michael Albinus <michael.albinus@gmx.de>
15226
15227 * net/tramp.el (top): Require 'shell. Use `tramp-unload-hook' but
15228 `tramp-cache-unload-hook' where appropriate.
15229 (tramp-methods): Rename `tramp-remote-sh' to
15230 `tramp-remote-shell'. Add `tramp-remote-shell-args'.
15231 (tramp-handle-shell-command): New defun, moved from tramp-sh.el.
15232
15233 * net/tramp-sh.el (top): Don't require 'shell.
15234 (tramp-methods): Add `tramp-remote-shell' and
15235 `tramp-remote-shell-args' entries.
15236 (tramp-sh-file-name-handler-alist): Use `tramp-handle-shell-command'.
15237 (tramp-sh-handle-shell-command): Remove.
15238 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
15239 Use `tramp-remote-shell'.
15240
2784c434
CY
152412011-09-03 Chong Yidong <cyd@stupidchicken.com>
15242
393a301e 15243 * mail/sendmail.el (sendmail-query-once-function): Delete.
2784c434
CY
15244 (sendmail-query-once): Save directly to send-mail-function.
15245 Update message-send-mail-function too.
15246
15247 * mail/smtpmail.el (smtpmail-try-auth-methods): Clarify prompt.
15248
464cdf56
CS
152492011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
15250
15251 * progmodes/python.el (python-mode-map): Use correct function to
15252 start python interpreter from menu-bar (as reported by Geert
15253 Kloosterman).
15254 (inferior-python-mode-map): Fix typo.
393a301e 15255 (python-shell-map): Remove.
464cdf56 15256
d37e5c87
DD
152572011-09-03 Deniz Dogan <deniz@dogan.se>
15258
15259 * net/rcirc.el (rcirc-print): Simplify code for
15260 rcirc-scroll-show-maximum-output. There is no need to walk
15261 through all windows to find the right one.
15262
f3ada0ee
CS
152632011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
15264
15265 * help.el (help-return-method): Doc fix.
15266
1f3c99ca
MR
152672011-09-03 Martin Rudalics <rudalics@gmx.at>
15268
15269 * window.el (window-deletable-p): Don't return a non-nil value
15270 when there's a buffer that was shown in the window before.
15271 (Bug#9419)
393a301e
SM
15272 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
15273 Set window's previous buffers to nil.
1f3c99ca 15274
a3cf097f
EZ
152752011-09-03 Eli Zaretskii <eliz@gnu.org>
15276
15277 * mail/rmailmm.el (rmail-mime-insert-tagline): Insert an extra
15278 newline before and after the tag line, so it doesn't interfere
15279 with determining the paragraph direction of bidirectional text.
15280
3d03de90
LL
152812011-09-03 Leo Liu <sdl.web@gmail.com>
15282
15283 * files.el (find-file-not-true-dirname-list): Remove. (Bug#9422)
15284
c3313451
CY
152852011-09-02 Chong Yidong <cyd@stupidchicken.com>
15286
393a301e 15287 * window.el (pop-to-buffer-1, pop-to-buffer-same-window): Delete.
c3313451
CY
15288 (pop-to-buffer): Change interactive spec. Pass second argument
15289 directly to display-buffer.
15290 (display-buffer): Fix interactive spec. Use functionp to
15291 distinguish between a function and a list of functions.
15292
15293 * abbrev.el (edit-abbrevs):
15294 * arc-mode.el (archive-extract):
15295 * autoinsert.el (auto-insert):
15296 * bookmark.el (bookmark-bmenu-list):
15297 * files.el (find-file):
15298 * view.el (view-buffer):
15299 * progmodes/compile.el (compilation-goto-locus):
15300 * textmodes/bibtex.el (bibtex-initialize): Use switch-to-buffer.
15301
89894cd8
CY
153022011-09-02 Chong Yidong <cyd@stupidchicken.com>
15303
15304 * window.el (display-buffer-alist): Doc fix.
15305 (display-buffer): Add docstring. Don't treat
15306 display-buffer-default specially.
15307 (display-buffer-reuse-selected-window)
15308 (display-buffer-same-window, display-buffer-maybe-same-window)
15309 (display-buffer-reuse-window, display-buffer-pop-up-frame)
15310 (display-buffer-pop-up-window)
15311 (display-buffer-reuse-or-pop-window)
15312 (display-buffer-use-some-window): New functions.
15313 (display-buffer-default-action): Use them.
393a301e 15314 (display-buffer-default): Delete.
89894cd8
CY
15315 (pop-to-buffer-1): Fix choice of actions.
15316
ae0bc9fb
SM
153172011-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
15318
15319 * minibuffer.el (completion--insert-strings): Don't get confused by
15320 completion entries that end with an LF char.
15321
e9d90883
EZ
153222011-09-01 Eli Zaretskii <eliz@gnu.org>
15323
15324 * window.el (frame-auto-delete, window-deletable-p): Doc fix.
15325
437014c8
CY
153262011-09-01 Chong Yidong <cyd@stupidchicken.com>
15327
15328 * window.el (display-buffer): Restore interactive spec.
ae0bc9fb
SM
15329 (display-buffer-same-window, display-buffer-other-window):
15330 New functions.
437014c8
CY
15331 (pop-to-buffer-1): New function. Use the above.
15332 (pop-to-buffer, pop-to-buffer-same-window): Use it.
ae0bc9fb 15333 (pop-to-buffer-other-window, pop-to-buffer-other-frame): Delete.
437014c8
CY
15334
15335 * view.el (view-buffer-other-window, view-buffer-other-frame):
15336 Just use pop-to-buffer.
15337
a5e063d5
TV
153382011-09-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
15339
15340 * vc/vc-rcs.el (vc-rcs-responsible-p): Handle directories. (Bug#9391)
15341
793d32bb
WH
153422011-09-01 Wilfred Hughes <wilfred@potatolondon.com> (tiny change)
15343
15344 * vc/vc-git.el (vc-git-grep): Use --no-color. (Bug#9408)
15345
d65e4c15
RS
153462011-08-31 Richard Stallman <rms@gnu.org>
15347
15348 * mail/rmail.el (rmail-epa-decrypt): Rewrite to take account
15349 of the separation of rmail-view-buffer from rmail-buffer.
15350 If you say no to "replace original", the decrypt is in the
15351 view buffer. If you say yes, the decrypt goes into the
15352 rmail buffer also.
15353
f818cd2a
MR
153542011-08-31 Martin Rudalics <rudalics@gmx.at>
15355
15356 * window.el (display-buffer-window): Rewrite doc-string.
15357 (display-buffer-record-window): New function.
15358 (display-buffer-macro-specifiers)
15359 (display-buffer-even-window-sizes, display-buffer-set-height)
15360 (display-buffer-set-width, display-buffer-in-window)
15361 (display-buffer-reuse-window, display-buffer-split-specifiers)
15362 (display-buffer-side-specifiers, display-buffer-split-window-1)
15363 (display-buffer-split-window, display-buffer-split-atom-window)
15364 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
15365 (display-buffer-pop-up-side-window, display-buffer-in-side-window)
15366 (display-buffer-other-window-means-other-frame)
15367 (display-buffer-normalize-special)
15368 (display-buffer-normalize-default)
15369 (display-buffer-normalize-argument)
15370 (display-buffer-normalize-alist-1, display-buffer-normalize-alist)
15371 (display-buffer-normalize-specifiers, display-buffer-frame)
15372 (display-buffer-same-window, display-buffer-same-frame)
15373 (display-buffer-other-window)
15374 (display-buffer-same-frame-other-window)
15375 (display-buffer-other-frame, pop-to-buffer-same-window)
15376 (pop-to-buffer-same-frame, pop-to-buffer-other-window)
15377 (pop-to-buffer-same-frame-other-window, pop-to-buffer-other-frame)
15378 (switch-to-buffer-same-frame)
15379 (switch-to-buffer-other-window-same-frame)
15380 (display-buffer-alist-of-strings-p, display-buffer-alist-add)
15381 (display-buffer-alist-set-1, display-buffer-alist-set-2)
15382 (display-buffer-alist-set): Remove.
15383 (display-buffer-function, special-display-buffer-names)
ae0bc9fb
SM
15384 (special-display-regexps, special-display-function):
15385 In doc-string refer to display-buffer-window and quit-restore
f818cd2a
MR
15386 parameter.
15387 (pop-up-frame-alist, pop-up-frame-function, special-display-p)
15388 (special-display-frame-alist, special-display-popup-frame)
15389 (same-window-buffer-names, same-window-regexps, same-window-p)
15390 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
15391 (split-window-preferred-function, split-height-threshold)
15392 (split-width-threshold, window-splittable-p)
15393 (split-window-sensibly, window--try-to-split-window)
15394 (window--frame-usable-p, even-window-heights)
15395 (window--even-window-heights, window--display-buffer-1)
ae0bc9fb
SM
15396 (window--display-buffer-2, display-buffer-other-frame):
15397 Restore old Emacs 23 code, order and doc-strings where applicable.
f818cd2a
MR
15398 (display-buffer-default, display-buffer-assq-regexp): New functions.
15399 (display-buffer-alist): Rewrite doc-string.
15400 (display-buffer-default-action)
15401 (display-buffer-overriding-action): New variables.
15402 (display-buffer, switch-to-buffer): Rewrite.
15403 (pop-to-buffer): Restore Emacs 23 behavior but use
15404 window-normalize-buffer-to-display.
15405 (switch-to-buffer-other-window, switch-to-buffer-other-frame):
15406 Restore Emacs 23 behavior but use
15407 window-normalize-buffer-to-switch-to.
15408 (pop-to-buffer-same-window): Rewrite.
ae0bc9fb
SM
15409 (pop-to-buffer-other-window, pop-to-buffer-other-frame):
15410 Rewrite using Emacs 23 options.
f818cd2a 15411
5bc3b51d
MA
154122011-08-31 Michael Albinus <michael.albinus@gmx.de>
15413
15414 * net/tramp.el (tramp-root-regexp): Remove.
15415 (tramp-completion-file-name-regexp-unified)
15416 (tramp-completion-file-name-regexp-separate)
15417 (tramp-completion-file-name-regexp-url): Don't use leading volume
b46a6a83 15418 letter on w32 systems. (Bug#5303, Bug#9311)
ae0bc9fb
SM
15419 (tramp-drop-volume-letter): Simplify definition.
15420 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
5bc3b51d 15421
b1a4f8e1
SM
154222011-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
15423
15424 * subr.el (event-modifiers): Fix "missing modifier" part of docstring
15425 (bug#9356).
15426
5664fa7b
RT
154272011-08-30 Reuben Thomas <rrt@sc3d.org> (tiny change)
15428
b1a4f8e1 15429 * vc/pcvs-defs.el (cvs-find-file-and-jump): Docstring typo (bug#9369).
5664fa7b 15430
9a45d6c3
JL
154312011-08-29 Juri Linkov <juri@jurta.org>
15432
15433 * isearch.el (isearch-done): Don't display message "Mark saved"
15434 when arg `edit' is non-nil to prevent its flicker in the echo area.
15435
fb87e0fb
CY
154362011-08-28 Chong Yidong <cyd@stupidchicken.com>
15437
15438 * emacs-lisp/package.el (package-menu-mark-delete): Allow marking
15439 obsolete packages for deletion.
15440
09ac1c2a
CS
154412011-08-28 Christoph Scholtes <cschol2112@googlemail.com>
15442
15443 * help-mode.el (help-mode-map): Add special-mode-map to parent.
5e617bc2 15444 (help-mode): Derive help-mode from special-mode. Don't invoke
09ac1c2a
CS
15445 view-mode from help-mode.
15446 (help-xref-override-view-map): Remove.
15447 (help-make-xrefs): Remove minor-mode-overriding-map-alist since
15448 view-mode is not used anymore.
15449
7a1ff57f
CY
154502011-08-28 Chong Yidong <cyd@stupidchicken.com>
15451
15452 * server.el (server-port): Doc fix.
15453
b9696605
CY
15454 * cus-theme.el (custom-theme-choose-mode): Inherit from
15455 special-mode (Bug#9124).
15456 (custom-theme-choose-mode-map): Add special-mode to parent.
15457
ef8cdf8c
AM
154582011-08-28 Alan Mackenzie <acm@muc.de>
15459
15460 * progmodes/cc-fonts.el
15461 (c-make-font-lock-BO-decl-search-function): New function.
15462 (c-basic-matchers-after - "Fontify the clauses after various
15463 keywords"): Extract the three keyword lists for the 3 erroneous
15464 constructs from the list of four, and use the new function above
15465 in place of an old one.
15466
27de4e20
DD
154672011-08-28 Deniz Dogan <deniz@dogan.se>
15468
15469 * net/rcirc.el (rcirc-insert-prev-input)
15470 (rcirc-insert-next-input): Remove unused argument.
15471
356a3681
SM
154722011-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
15473
15474 * shell.el (shell-parse-pcomplete-arguments): Unquote args (bug#9160).
15475
3fc9b218
AM
154762011-08-27 Alan Mackenzie <acm@muc.de>
15477
15478 * progmodes/cc-menus.el (cc-imenu-c++-generic-expression): Make it
15479 handle function pointer parameters properly.
15480
538a061c
MR
154812011-08-27 Martin Rudalics <rudalics@gmx.at>
15482
15483 * window.el (display-buffer-reuse-window): Fix case where
15484 selected window was reused with non-nil OTHER-WINDOW argument.
15485 (Bug#9381)
15486
35b1c40c
DD
154872011-08-27 Deniz Dogan <deniz@dogan.se>
15488
15489 * net/rcirc.el (rcirc-check-auth-status): Adding support for
15490 oftc's NickServ messages.
15491
2f6a3e79
GM
154922011-08-27 Glenn Morris <rgm@gnu.org>
15493
15494 * saveplace.el (save-place-limit): Make it finite. (Bug#9352)
15495
7254299e
CY
154962011-08-26 Chong Yidong <cyd@stupidchicken.com>
15497
15498 * emacs-lisp/package.el (package-install): Call package-initialize
15499 if called interactively.
15500
f8ccf167
LL
155012011-08-26 Leo Liu <sdl.web@gmail.com>
15502
15503 * emacs-lisp/cl-macs.el (defstruct): Fix format. (Bug#9357)
15504
3e8cd5ce
JL
155052011-08-25 Juri Linkov <juri@jurta.org>
15506
15507 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
15508 `search-whitespace-regexp' (bug#9364).
15509
93eb7113
JL
155102011-08-25 Juri Linkov <juri@jurta.org>
15511
15512 * isearch.el (isearch-edit-string): Let-bind `search-ring' and
15513 `regexp-search-ring' to their global values to protect from
15514 updating by `read-from-minibuffer' (bug#9185).
15515
f65d1611
JL
155162011-08-25 Juri Linkov <juri@jurta.org>
15517
15518 * textmodes/ispell.el (ispell-command-loop): Add newline
15519 at the end of the "Use option `i'..." line.
15520
f1cf7a31
JL
155212011-08-25 Juri Linkov <juri@jurta.org>
15522
15523 * battery.el (display-battery-mode): If `battery-status-function'
15524 or `battery-mode-line-format' is nil, display the message and set
15525 `display-battery-mode' to nil (bug#9363).
15526
0c95fcf7
EZ
155272011-08-25 Eli Zaretskii <eliz@gnu.org>
15528
15529 * buff-menu.el (Buffer-menu-buffer+size): Remove calls to
15530 bidi-string-mark-left-to-right; they are unnecessary now.
15531
a2ebe600
DD
155322011-08-25 Deniz Dogan <deniz@dogan.se>
15533
15534 * net/quickurl.el: Documentation typo fixes.
15535
e4ed06f1
CY
155362011-08-25 Chong Yidong <cyd@stupidchicken.com>
15537
15538 * window.el (bury-buffer, quit-window): Use bury-buffer-internal.
15539
e5f1c99e
GM
155402011-08-25 Glenn Morris <rgm@gnu.org>
15541
b2948976
GM
15542 * emacs-lisp/derived.el (define-derived-mode): Doc fix.
15543
e5f1c99e
GM
15544 * mail/smtpmail.el (smtpmail-smtp-user): Add version: tag.
15545 (smtpmail-via-smtp): Handle nil response from smtp.
15546
f22f4808
JL
155472011-08-24 Juri Linkov <juri@jurta.org>
15548
15549 * proced.el (proced-marked): Inherit from `error' instead of
15550 `font-lock-warning-face'.
15551
15552 * ibuffer.el (ibuffer-marked-face): Change default face from
15553 `font-lock-warning-face' to `warning'.
15554 (ibuffer-deletion-face): Change default face from
15555 `font-lock-type-face' to `error'.
15556
15557 * battery.el (battery-update): Use the face `error' instead of
15558 `font-lock-warning-face' (bug#6117).
15559
6a93965e
JL
155602011-08-24 Juri Linkov <juri@jurta.org>
15561
15562 * faces.el (success): Change face color from "Green3" to
15563 "ForestGreen" on light background (bug#9353).
15564
1ed43b09
CY
155652011-08-24 Chong Yidong <cyd@stupidchicken.com>
15566
5664fa7b
RT
15567 * window.el (quit-window): Rename from quit-restore-window.
15568 Use same arglist as old quit-window.
1ed43b09
CY
15569 (frame-auto-delete): Doc fix.
15570
15571 * view.el (view-mode-exit): Use quit-window.
15572
11dcdbb2
JL
155732011-08-24 Juri Linkov <juri@jurta.org>
15574
15575 * isearch.el (isearch-ring-adjust1): Start visiting previous
15576 search strings from the index 0 (-1 + 1) instead of 1 (0 + 1).
15577 (isearch-repeat, isearch-edit-string): Call `isearch-ring-adjust1'
15578 for empty search string (when the last search string is reused
15579 automatically) to adjust the isearch ring to the last element and
15580 prepare the correct index for further M-p commands (bug#9185).
15581
de62b4df
KH
155822011-08-24 Kenichi Handa <handa@m17n.org>
15583
15584 * international/ucs-normalize.el: If decomposition property of
15585 CHAR is the default one (i.e. a list of CHAR itself), treat it as
15586 nil.
15587 (nfd, nfkd): Likewise.
15588
963b492b
SM
155892011-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
15590
15591 * mpc.el (mpc--proc-filter): Don't signal mpc-proc-error since signals
15592 from process filters aren't reliably transmitted to the surrounding
15593 accept-process-output.
15594 (mpc-proc-check): New function.
15595 (mpc-proc-sync): Use it (bug#8293)
15596
93b6b5e1
SM
155972011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
15598
15599 * emacs-lisp/eieio.el (eieio-defmethod, eieio-defgeneric):
15600 Add compatibility functions (bug#9313).
15601
bca633fb
EZ
156022011-08-23 Eli Zaretskii <eliz@gnu.org>
15603
b177498a
EZ
15604 * cus-start.el (all): Add entry for bidi-paragraph-direction.
15605
6df6ae42 15606 * international/uni-bidi.el: Regenerate.
bca633fb 15607
0902a04e
KH
156082011-08-23 Kenichi Handa <handa@m17n.org>
15609
15610 * international/charprop.el:
15611 * international/uni-bidi.el:
15612 * international/uni-category.el:
15613 * international/uni-combining.el:
15614 * international/uni-comment.el:
15615 * international/uni-decimal.el:
15616 * international/uni-decomposition.el:
15617 * international/uni-digit.el:
15618 * international/uni-lowercase.el:
15619 * international/uni-mirrored.el:
15620 * international/uni-name.el:
15621 * international/uni-numeric.el:
15622 * international/uni-old-name.el:
15623 * international/uni-titlecase.el:
15624 * international/uni-uppercase.el: Regenerate.
15625
3bbf23bc
MR
156262011-08-23 Martin Rudalics <rudalics@gmx.at>
15627
15628 * help.el (help-window-setup): Fix message displayed when other
15629 window is reused. (Bug#9341)
15630
b3fd59bd
SM
156312011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
15632
1802e444
SM
15633 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list.
15634 * pcomplete.el (pcomplete-quote-argument): Fix thinko (bug#9161).
15635
b3fd59bd
SM
15636 * pcomplete.el (pcomplete-parse-comint-arguments): Fix inf-loop.
15637 Mark obsolete.
15638 * shell.el (shell-parse-pcomplete-arguments): New function.
15639 (shell-completion-vars): Use it instead (bug#9160).
15640
4eb61348
SM
156412011-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
15642
867cab74
SM
15643 * progmodes/sh-script.el (sh-maybe-here-document): Disable magic in
15644 strings and comments (bug#9333).
15645
4eb61348
SM
15646 * emacs-lisp/debug.el (debug-arglist): New function.
15647 (debug-convert-byte-code): Use it. Handle lexical byte-codes.
15648 (debug-on-entry-1): Handle interpreted closures (bug#9120).
15649
262a1439
JL
156502011-08-22 Juri Linkov <juri@jurta.org>
15651
56ee679c
JL
15652 * progmodes/compile.el (compilation-mode-font-lock-keywords):
15653 Revert regexp that highlights output switches to its old
15654 pre-2010-10-28 value and remove one `?' from it (bug#9319).
15655
262a1439
JL
15656 * progmodes/grep.el (grep-process-setup): Use `buffer-modified-p'
15657 to check for empty output (bug#9226).
15658
f13f86fb
CY
156592011-08-22 Chong Yidong <cyd@stupidchicken.com>
15660
15661 * progmodes/scheme.el (scheme-mode-syntax-table): Don't use
15662 symbol-constituent as the default, as that stops font-lock from
15663 working properly (Bug#8843).
15664
c65c9622
LMI
156652011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
15666
15667 * mail/smtpmail.el (smtpmail-via-smtp): Only bind
15668 `coding-system-for-*' around the process open call to avoid
15669 auth-source side effects.
e7f2c178 15670 (smtpmail-try-auth-methods): Expand the secret password.
7185da52
LMI
15671 (smtpmail-query-smtp-server): Allow `quit'-ing out in case the
15672 probe hangs.
c65c9622 15673
23a8a5ab
CY
156742011-08-21 Chong Yidong <cyd@stupidchicken.com>
15675
ff98b2dd
CY
15676 * term.el (term-mouse-paste): Yank primary selection (Bug#6845).
15677
23a8a5ab
CY
15678 * emacs-lisp/find-func.el (find-function-noselect): New arg
15679 lisp-only.
15680
15681 * emacs-lisp/edebug.el (edebug-instrument-function): Use it to
15682 signal an error for built-in functions (Bug#6664).
15683
f5e3c598
LMI
156842011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
15685
15686 * mail/smtpmail.el (smtpmail-smtp-user): New variable.
15687 (smtpmail-try-auth-methods): Use it.
15688
a3f2468a
CY
156892011-08-21 Chong Yidong <cyd@stupidchicken.com>
15690
2c34e8da
CY
15691 * font-lock.el (font-lock-fontify-region)
15692 (font-lock-unfontify-region, font-lock-default-fontify-buffer)
15693 (font-lock-default-unfontify-buffer)
15694 (font-lock-default-fontify-region)
15695 (font-lock-default-unfontify-region): Add docstrings (Bug#8624).
15696
b3fd59bd
SM
15697 * progmodes/compile.el (compilation-error-properties):
15698 Fix confusion between file struct and message struct (Bug#9319).
02e5c89e
CY
15699 (compilation-error-regexp-alist-alist): Fix 2011-05-09 change to
15700 `ant' regexp.
ee31aabc 15701
a3f2468a
CY
15702 * net/browse-url.el (browse-url-firefox): Don't call
15703 browse-url-firefox-sentinel unless using -remote (Bug#9328).
15704
8e999f70
GM
157052011-08-20 Glenn Morris <rgm@gnu.org>
15706
c21a496a
GM
15707 * tutorial.el (help-with-tutorial): Avoid an error on short screens.
15708
59ee0542
GM
15709 * tutorial.el (tutorial--default-keys): Update some default bindings.
15710
8e999f70
GM
15711 * files.el (hack-local-variables): Fully ignore case for "mode:".
15712
e3715033
AM
157132011-08-20 Alan Mackenzie <acm@muc.de>
15714
15715 Resolve invalid use of a regexp in regexp-opt.
15716
4d61f28d
JB
15717 * progmodes/cc-fonts.el (c-complex-decl-matchers): Add in special
15718 detection for a java annotation.
e3715033 15719
4d61f28d 15720 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Add in special
e3715033
AM
15721 detection for a java annotation.
15722
4d61f28d
JB
15723 * progmodes/cc-langs.el (c-prefix-spec-kwds-re): Remove the special
15724 handling for java.
e3715033
AM
15725 (c-modifier-kwds): Remove the regexp "@[A-za-z0-9]+".
15726
04ed2e9c
CY
157272011-08-20 Chong Yidong <cyd@stupidchicken.com>
15728
15729 * startup.el (normal-top-level-add-subdirs-to-load-path): Doc fix
15730 (Bug#9274).
15731
826cee64
AM
157322011-08-20 Alan Mackenzie <acm@muc.de>
15733
58179cce 15734 Fontify CPP expressions correctly when starting in the middle of
826cee64
AM
15735 such a construct. Mainly for when jit-lock etc. starts a chunk
15736 here.
15737
58179cce 15738 * progmodes/cc-fonts.el (c-font-lock-context): New buffer local
826cee64 15739 variable.
58179cce 15740 (c-make-font-lock-search-form): New function, extracted from
826cee64
AM
15741 c-make-font-lock-search-function.
15742 (c-make-font-lock-search-function): Use the above function.
15743 (c-make-font-lock-context-search-function): New function.
15744 (c-cpp-matchers): Enhance the preprocessor expression case with
15745 the above function
15746 (c-font-lock-complex-decl-prepare): Test for being in a CPP form
15747 which takes an expression.
15748
15749 * progmodes/cc-langs.el (c-cpp-expr-intro-re): New lang-variable.
15750
13009bd8
MR
157512011-08-20 Martin Rudalics <rudalics@gmx.at>
15752
15753 * window.el (display-buffer-reuse-window)
15754 (display-buffer-pop-up-window): Don't reuse or split a side
15755 window.
15756
9234ff7f
GM
157572011-08-19 Glenn Morris <rgm@gnu.org>
15758
15759 * files.el (hack-local-variables-prop-line, hack-local-variables):
5e617bc2 15760 Downcase "Mode:". (Bug#9331)
9234ff7f 15761
f635daa1
CY
157622011-08-18 Chong Yidong <cyd@stupidchicken.com>
15763
15764 * international/characters.el: Add L and R categories.
15765
15766 * subr.el (bidi-string-mark-left-to-right): Rename from
15767 string-mark-left-to-right. Use category search.
15768
15769 * buff-menu.el (Buffer-menu-buffer+size): Callers changed.
15770
bc987f8b
JL
157712011-08-18 Juri Linkov <juri@jurta.org>
15772
15773 * faces.el (error, warning, success): New faces with definitions
15774 copied from old default values of `font-lock-warning-face',
15775 `compilation-warning', `compilation-info' (bug#6117).
15776
15777 * font-lock.el (font-lock-warning-face): Inherit from `error'.
15778
15779 * progmodes/compile.el (compilation-error): Inherit from `error'.
15780 (compilation-warning): Inherit from `warning'.
15781 (compilation-info): Inherit from `success'.
15782
15783 * dired.el (dired-marked): Inherit from `warning'.
15784 (dired-flagged): Inherit from `error'.
15785
57173b96
LMI
157862011-08-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
15787
3e79eb87
LMI
15788 * mail/smtpmail.el (auth-source): Require to avoid problems with
15789 binding variables (bug#9298). Also clean up some unused
15790 autoloads.
15791
b3fd59bd
SM
15792 * net/network-stream.el (network-stream-open-starttls):
15793 Support using starttls.el without using gnutls-cli.
57173b96 15794
02b404de
JL
157952011-08-17 Juri Linkov <juri@jurta.org>
15796
15797 * progmodes/grep.el (rgrep): Handle the case when
15798 `grep-find-command' is a cons cell (bug#9278).
15799
8c9177f2
MR
158002011-08-17 Martin Rudalics <rudalics@gmx.at>
15801
15802 * window.el (display-buffer-pop-up-frame): Run frame creation
15803 function with BUFFER current (as special-display-popup-frame
15804 does). Reported by Drew Adams.
15805
3644a0ab
DU
158062011-08-17 Daiki Ueno <ueno@unixuser.org>
15807
15808 * epa-mail.el: Simplify GnuPG group expansion using
15809 epg-expand-group.
15810 (epa-mail-group-alist, epa-mail-group-modtime)
15811 (epa-mail-gnupg-conf-file, epa-mail-parse-groups)
15812 (epa-mail-sync-groups, epa-mail-expand-recipient-1)
15813 (epa-mail-expand-recipients-2, epa-mail-expand-recipients):
15814 Remove.
15815
5e617bc2 158162011-08-16 Feng Li <fengli@gmail.com> (tiny change)
7c643369
FL
15817
15818 * calc/calc-ext.el (math-defintegral-2): Remove nested backquote.
15819
9c4aeabf
AM
158202011-08-16 Alan Mackenzie <acm@muc.de>
15821
15822 * progmodes/cc-engine.el (c-state-cache-non-literal-place):
15823 Correct, to avoid the inside of macros.
15824
3a99bf64
RS
158252011-08-16 Richard Stallman <rms@gnu.org>
15826
04963aa8
RS
15827 * epa-mail.el: Handle GnuPG group definitions.
15828 (epa-mail-group-alist, epa-mail-group-modtime)
15829 (epa-mail-gnupg-conf-file): New variables.
15830 (epa-mail-parse-groups, epa-mail-sync-groups)
15831 (epa-mail-expand-recipient-1, epa-mail-expand-recipients-2)
15832 (epa-mail-expand-recipients): New functions.
15833 (epa-mail-encrypt): Call epa-mail-expand-recipients.
15834
177549d0
RS
15835 * mail/rmail.el (rmail-epa-decrypt): New command.
15836
fe38beef
RS
15837 * epa.el (epa-decrypt-region): New arg MAKE-BUFFER-FUNCTION.
15838 Don't bind buffer-read-only, just inhibit-read-only.
3a99bf64
RS
15839 (epa--find-coding-system-for-mime-charset): Fix the non-xemacs case.
15840 (epa-decrypt-armor-in-region): Make error message clearer.
15841
934eacb9
SM
158422011-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
15843
15844 * minibuffer.el (completion-pcm--merge-completions): Don't merge "a1b"
15845 and "a2b" to "ab" for `prefix'.
15846
d024fb4e
CY
158472011-08-14 Chong Yidong <cyd@stupidchicken.com>
15848
15849 * ibuf-ext.el (ibuffer-filter-disable): New arg for deleting
15850 filter groups.
de148fee
CY
15851 (ibuffer-included-in-filter-p-1): Use it. Suggested by Rafaël
15852 Fourquet (Bug#8804).
d024fb4e 15853
62f1ca49
JB
158542011-08-12 Juanma Barranquero <lekktu@gmail.com>
15855
15856 * startup.el (argi): Declare as global variable (bug#9275).
15857
9ccaaa4b
CY
158582011-08-12 Chong Yidong <cyd@stupidchicken.com>
15859
15860 * subr.el (string-mark-left-to-right): Search the entire string
15861 for RTL script, not just the terminating character. Doc fix.
15862
a3dae87a
SM
158632011-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
15864
6cd18349
SM
15865 * progmodes/js.el (js-syntax-propertize, js-syntax-propertize-regexp):
15866 New function.
15867 (js--regexp-literal, js-syntax-propertize-function): Remove.
15868 (js-mode): Use js-syntax-propertize to handle multilines (bug#9183).
15869 (js-mode-map): Don't rebind electric keys.
15870 (js-insert-and-indent): Remove.
15871 (js-mode): Setup electric-layout and electric-indent instead.
15872
a3dae87a
SM
15873 * epa-file.el (epa-file-select-keys): Revert to nil default (bug#9280).
15874
9d5cb631
DU
158752011-08-12 Daiki Ueno <ueno@unixuser.org>
15876
15877 * epa.el (epa-progress-callback-function): Fix the logic of
15878 displaying progress.
15879 * epa-file.el (epa-file-insert-file-contents): Make progress
15880 display more user-friendly.
15881 (epa-file-write-region): Ditto.
15882
3e26a4a2
CY
158832011-08-10 Chong Yidong <cyd@stupidchicken.com>
15884
15885 * subr.el (string-mark-left-to-right): New function.
15886
15887 * buff-menu.el (Buffer-menu-buffer+size): Remove LRM argument.
15888 Use string-mark-left-to-right.
15889 (list-buffers-noselect): Caller changed.
15890
a3dae87a
SM
15891 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
15892 Use string-mark-left-to-right.
3e26a4a2
CY
15893 (tabulated-list-print): Recenter after moving point.
15894
ac8cf6e6
JL
158952011-08-10 Juri Linkov <juri@jurta.org>
15896
15897 * progmodes/grep.el (rgrep): Don't bind `process-connection-type'.
15898 This finishes incomplete reversion of 2011-06-30T01:09:13Z!larsi@gnus.org
15899 intended by 2011-07-06T15:49:19Z!larsi@gnus.org.
15900
8d96c9a4
CY
159012011-08-09 Chong Yidong <cyd@stupidchicken.com>
15902
15903 * hi-lock.el (hi-lock-unface-buffer): Fix interactive spec
15904 (Bug#7554).
15905
7be1c708 159062011-08-09 Andreas Schwab <schwab@linux-m68k.org>
29bbcfa7
AS
15907
15908 * xt-mouse.el (xterm-mouse-event-read): Try to recover the raw
15909 character. (Bug#6594)
15910
37e11a63
CY
159112011-08-08 Chong Yidong <cyd@stupidchicken.com>
15912
839dde57
CY
15913 * image-dired.el: Don't use find-file for temporary work (Bug#7895).
15914 (image-dired--with-db-file): New macro.
15915 (image-dired-write-tags, image-dired-remove-tag)
15916 (image-dired-create-gallery-lists, image-dired-write-comments)
15917 (image-dired-get-comment, image-dired-mark-tagged-files)
15918 (image-dired-list-tags, image-dired-gallery-generate): Use it.
15919 (image-dired-gallery-generate): Use insert-file-contents.
15920
37e11a63
CY
15921 * time.el (display-time-world-list, display-time-world-display):
15922 * time-stamp.el (time-stamp-string):
15923 * vc/add-log.el (add-change-log-entry): Use setenv instead of
15924 set-time-zone-rule (Bug#7337).
15925
0b4946c4
DU
159262011-08-08 Daiki Ueno <ueno@unixuser.org>
15927
15928 * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED): Fix typo.
15929 (epg-error-to-string, epg-errors-to-string): New function.
15930 (epg-wait-for-completion): Reverse errors list.
15931 (epg--check-error-for-decrypt, epg-sign-file, epg-sign-string)
15932 (epg-encrypt-file, epg-encrypt-string, epg-export-keys-to-file)
15933 (epg--import-keys-1, epg-receive-keys, epg-delete-keys)
15934 (epg-sign-keys, epg-generate-key-from-file)
15935 (epg-generate-key-from-string): Format errors by using
15936 epg-errors-to-string (bug#9255).
15937 (epg--status-INV_SGNR, epg--status-NO_SGNR): New status handler.
15938
75bfc667
JL
159392011-08-07 Juri Linkov <juri@jurta.org>
15940
15941 * faces.el (list-faces-display): Remove extra angle bracket
15942 from `help-mode-map'.
15943
15944 * info.el (Info-history-toc-nodes): Doc fix.
15945
15946 * longlines.el (longlines-mode): Doc fix.
15947
673e08bb
SM
159482011-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
15949
4640dd88
SM
15950 * progmodes/js.el (js--regexp-literal): Accept regexps at the beginning
15951 of statements and in a few more cases (bug#9183).
15952
673e08bb
SM
15953 * emacs-lisp/cl-macs.el (cl--make-usage-var, cl--make-usage-args):
15954 New functions.
15955 (cl-transform-lambda): Use them (bug#9239).
15956
89b3f019
MR
159572011-08-05 Martin Rudalics <rudalics@gmx.at>
15958
15959 * window.el (display-buffer-same-window)
15960 (display-buffer-same-frame, display-buffer-other-window)
15961 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
15962 (pop-to-buffer-other-window)
15963 (pop-to-buffer-same-frame-other-window)
15964 (pop-to-buffer-other-frame): Make them defuns.
15965 (switch-to-buffer): Don't set LABEL argument of pop-to-buffer.
15966
640c8776
SM
159672011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
15968
15969 * subr.el (make-composed-keymap): Move from C. Change calling
15970 convention, and improve docstring to bring attention to a subtle point.
15971 * minibuffer.el (completing-read-default): Adjust accordingly.
15972
63648a95
MA
159732011-08-03 Michael Albinus <michael.albinus@gmx.de>
15974
15975 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
15976 (tramp-open-shell): Use `tramp-shell-quote-argument'.
15977
15978 * net/trampver.el: Update release number.
15979
b796c9b7
SM
159802011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
15981
15982 * progmodes/sh-script.el (sh-font-lock-paren): Don't mistake "main" for
15983 "in" (bug#9190).
15984
2239d7d5
LMI
159852011-08-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
15986
e07dd7c3
LMI
15987 * mail/sendmail.el (sendmail-query-once): Restore the current
15988 buffer after querying (bug#9074).
15989
0e6a2bd7
LMI
15990 * dired.el (dired-flagged): Use different faces for marked and
15991 flagged files (bug#6117).
15992
ce887515
LMI
15993 * emacs-lisp/cl-macs.el (dolist): Mention that there's a nil block
15994 (bug#4433).
15995
92f2affc
LMI
15996 * ido.el (ido-mode): Switch off the message if called
15997 non-interactively.
15998
57d5aff0
LMI
15999 * mail/smtpmail.el (smtpmail-query-smtp-server): Try port 25
16000 before 587, since it appears that that's more likely to work for
16001 more people.
16002
98cd6c18 16003 * cus-edit.el (custom-file): When running under emacs -q, always
e1dbe924 16004 refuse to save the customizations, even if the .emacs file doesn't
98cd6c18
LMI
16005 exist.
16006
b96dec83
LMI
16007 * info.el: Remove the `Info-beginning-of-buffer' function
16008 (bug#8325).
16009
b796c9b7
SM
16010 * net/network-stream.el (network-stream-open-starttls):
16011 Use `starttls-available-p' to see whether starttls.el can be used.
2239d7d5 16012
d90e2ea0
MR
160132011-08-01 Martin Rudalics <rudalics@gmx.at>
16014
16015 * window.el (display-buffer-in-window): Don't set dedicated status
16016 of window here (Bug#9215).
16017 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
16018 (display-buffer-pop-up-side-window)
b796c9b7 16019 (display-buffer-in-side-window): Set dedicated status of window here.
d90e2ea0 16020
cca09170
SM
160212011-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
16022
16023 * emacs-lisp/package.el (package-generate-autoloads): Load autoloads
16024 before binding generated-autoload-file.
16025
027b979c
DD
160262011-08-01 Deniz Dogan <deniz@dogan.se>
16027
16028 * net/rcirc.el (rcirc-handler-333): Clarify docstring.
16029
3c7ee4f3
MA
160302011-07-30 Michael Albinus <michael.albinus@gmx.de>
16031
16032 Sync with Tramp 2.2.2.
16033
16034 * net/trampver.el: Update release number.
16035
2cc8e51a
JL
160362011-07-30 Juri Linkov <juri@jurta.org>
16037
16038 * dired-aux.el (dired-touch-initial): Remove function.
16039 (dired-do-chxxx): For op-symbol `touch', set `initial' to the
16040 current time, and `default' to the last modification time of the
16041 current marked file (bug#6887).
16042
a514d856
JM
160432011-07-28 Jose E. Marchesi <jemarch@gnu.org>
16044
16045 * simple.el (goto-line): Use string-to-number to provide a
2cc8e51a 16046 numeric argument to read-number (bug#9163).
a514d856 16047
8a7eddd7
MA
160482011-07-27 Michael Albinus <michael.albinus@gmx.de>
16049
16050 * net/tramp-sh.el (tramp-maybe-send-script): Don't let-bind the
16051 connection process, it could be nil.
16052
1ddd96f5
LL
160532011-07-27 Leo Liu <sdl.web@gmail.com>
16054
16055 Simplify url handling in rcirc-mode.
16056
16057 * net/rcirc.el (rcirc-browse-url-map, rcirc-browse-url-at-point)
16058 (rcirc-browse-url-at-mouse): Remove.
16059 * net/rcirc.el (rcirc-markup-urls): Use `make-button'.
16060
b248a85d
AM
160612011-07-26 Alan Mackenzie <acm@muc.de>
16062
16063 Fontify bitfield declarations properly.
16064
16065 * progmodes/cc-langs.el (c-has-bitfields): New lang variable.
16066 (c-symbol-chars): Now exported as a lang variable.
16067 (c-not-primitive-type-keywords): New lang variable.
16068
16069 * progmodes/cc-fonts.el (c-font-lock-declarations): Jump over the
16070 QT keyword "more" to prevent "more slots: ...." being spuriously
58179cce 16071 parsed as a bitfield declaration.
b248a85d 16072
b796c9b7
SM
16073 * progmodes/cc-engine.el (c-beginning-of-statement-1):
16074 Refactor and enhance to handle bitfield declarations.
b248a85d
AM
16075 (c-punctuation-in): New function.
16076 (c-forward-decl-or-cast-1): Enhance CASE 3 to handle bitfield
16077 declarations properly.
16078
68575ab0
UJ
160792011-07-26 Ulf Jasper <ulf.jasper@web.de>
16080
16081 * calendar/icalendar.el (icalendar--all-events): Take care of
16082 multiple vcalendars in a single file.
b796c9b7 16083 (icalendar--convert-float-to-ical): Checkdoc fixes.
68575ab0 16084
0f0a88b9
DD
160852011-07-25 Deniz Dogan <deniz@dogan.se>
16086
16087 * image.el (insert-image): Clarifying docstring.
16088
0b3f36df
MA
160892011-07-24 Michael Albinus <michael.albinus@gmx.de>
16090
16091 * net/tramp-sh.el (tramp-barf-unless-okay): Return the value of
16092 `tramp-send-command-and-check' if there is no error.
16093 (tramp-send-command-and-read): Suppress *all* errors if NOERROR.
16094
a9901f61
AM
160952011-07-22 Alan Mackenzie <acm@muc.de>
16096
16097 Prevent cc-langs.elc being loaded at run time.
16098
16099 * progmodes/cc-mode.el: Remove two autoload forms which loaded
16100 cc-langs.
16101
4d61f28d 16102 * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Don't emit
a9901f61
AM
16103 "(require 'cc-langs)". Quote a form so it will evaluate at
16104 (cc-mode's) compilation time.
16105
11d074b2
MA
161062011-07-22 Michael Albinus <michael.albinus@gmx.de>
16107
16108 * net/tramp.el (tramp-file-name-handler): Avoid recursive
16109 loading. (Bug#9114)
16110
938b94c8
MR
161112011-07-21 Martin Rudalics <rudalics@gmx.at>
16112
16113 * window.el (display-buffer-pop-up-window)
16114 (display-buffer-pop-up-side-window)
16115 (display-buffer-in-side-window): Call display-buffer-set-height
16116 and display-buffer-set-width after setting the new window's
b796c9b7 16117 buffer so `fit-window-to-buffer' and friends work on the right buffer.
938b94c8 16118
bfa4f190
SS
161192011-07-20 Sam Steingold <sds@gnu.org>
16120
16121 * progmodes/etags.el (etags-file-of-tag, etags-tags-table-files)
16122 (etags-tags-included-tables): Call `convert-standard-filename' on
16123 the file names contained in TAGS so that windows Emacs can handle
16124 TAGS files created by cygwin ctags.
16125
8ca42262
LMI
161262011-07-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
16127
16128 * proced.el (proced-update): Revert yesterday's bug#1779 patch,
16129 which apparently didn't work.
16130
5db2afd2 161312011-07-19 Roland Winkler <winkler@gnu.org>
2ecab2b5 16132
5db2afd2
RW
16133 * proced.el (proced-send-signal): For *Marked Processes* buffer
16134 put point at beginning of buffer.
16135
92e15d10
SB
161362011-07-19 Stephen Berman <stephen.berman@gmx.net>
16137
16138 * proced.el (proced-format): Make header lines align with the text
16139 (bug#1779).
16140
1bfd59e5
LMI
161412011-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
16142
16143 * view.el (view-buffer): Allow running in `special' modes if we're
16144 visiting a file (bug#8615).
16145
f5aae37c
MR
161462011-07-19 Martin Rudalics <rudalics@gmx.at>
16147
16148 * window.el (display-buffer-alist-of-strings-p)
b796c9b7
SM
16149 (display-buffer-alist-set-1, display-buffer-alist-set-2):
16150 New functions.
f5aae37c
MR
16151 (display-buffer-alist-set): Rewrite to handle Emacs 23 options
16152 more accurately.
16153
bf2c1571
AM
161542011-07-18 Alan Mackenzie <acm@muc.de>
16155
16156 Fontify declarators properly when, e.g., a jit-lock chunk begins
16157 inside a declaration.
16158
16159 * progmodes/cc-langs.el (c-symbol-chars): Correct a typo.
16160
b796c9b7
SM
16161 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
16162 New function.
bf2c1571
AM
16163 (c-complex-decl-matchers): Insert reference to
16164 c-font-lock-enclosing-decls.
16165
16166 * progmodes/cc-engine.el (c-backward-single-comment):
16167 (c-backward-comments): Bind open-paren-in-column-0-is-defun-start
16168 to nil around calls to (forward-comment -1).
16169
4e190b80
LMI
161702011-07-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
16171
12dc863d
LMI
16172 * image.el (put-image): Doc typo fix.
16173
a762e966
LMI
16174 * progmodes/etags.el (tags-search): Doc typo fix.
16175
4e190b80
LMI
16176 * mail/smtpmail.el (smtpmail-via-smtp): Query the user for
16177 password if we get errors 550 to 554.
16178
f019fb21
LMI
161792011-07-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
16180
b796c9b7 16181 * net/gnutls.el (gnutls-log-level): Remove.
750c33f7 16182
81746738
LMI
16183 * textmodes/fill.el (adaptive-fill-regexp): Include EN DASH as an
16184 indentation character (bug#6380).
16185
3ee3a1b5
LMI
16186 * files.el (buffer-offer-save): Made permanently local (bug#6241).
16187
c82f64de
LMI
16188 * doc-view.el (doc-view-make-safe-dir): Rewrite the error message
16189 to clarify what the problem is (bug#4291).
16190
f019fb21
LMI
16191 * simple.el (current-kill): Clarify what
16192 `interprogram-paste-function' does (bug#7500).
ca425c7c
LMI
16193 (auto-fill-mode): Document `auto-fill-function' in relation to
16194 `auto-fill-mode' (bug#2470).
f019fb21 16195
0794775d
LM
161962011-07-16 Lawrence Mitchell <wence@gmx.li>
16197
16198 * emacs-lisp/cl-macs.el (defstruct): Ignore argument to setf
16199 method if slot is read-only (bug#9035).
16200
be39b8cc
MR
162012011-07-16 Martin Rudalics <rudalics@gmx.at>
16202
b796c9b7 16203 * frame.el (select-frame-set-input-focus): New argument NORECORD.
be39b8cc 16204 * window.el (pop-to-buffer): Select window used even if it was
b796c9b7
SM
16205 selected before, see discussion of (Bug#8615), (Bug#6954).
16206 Pass argument NORECORD on to select-frame-set-input-focus.
be39b8cc 16207
6ccf7859
GM
162082011-07-15 Glenn Morris <rgm@gnu.org>
16209
16210 * subr.el (read-char-choice): Allow quitting. (Bug#9001)
03ea5b87 16211 Respect help-form.
6ccf7859 16212
87e86684
LM
162132011-07-09 Lawrence Mitchell <wence@gmx.li>
16214
16215 * net/gnutls.el (gnutls-min-prime-bits): New variable.
16216 (gnutls-negotiate): Use it.
16217
d6066239
LMI
162182011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
16219
b796c9b7
SM
16220 * net/gnutls.el (gnutls-negotiate):
16221 Upcase `gnutls-algorithm-priority'.
d6066239 16222
bd23ebc0
GM
162232011-07-15 Glenn Morris <rgm@gnu.org>
16224
c65bca65
GM
16225 * jka-compr.el (jka-compr-verbose): Move from here...
16226 * jka-cmpr-hook.el (jka-compr-verbose): ... to here. (Bug#9090)
16227 Add missing :version tag.
16228 * info.el: No need to require jka-compr when compiling.
bd23ebc0 16229
478615cc
LMI
162302011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
16231
7b41decb
LMI
16232 * net/gnutls.el (gnutls-algorithm-priority): New variable.
16233 (gnutls-negotiate): Use it.
16234
dbc44fcd
LMI
16235 * emacs-lisp/cl-macs.el (declare): Link to the "Declarations" node.
16236
06789f97
LMI
16237 * info.el (Info-beginning-of-buffer): New command.
16238 (Info-mode-map): Use it instead of `beginning-of-buffer' to allow
16239 announcing `b' as the key (bug#8325).
ab896c37 16240 (Info-mode-menu): Use `Info-beginning-of-buffer' for consistency.
06789f97 16241
c39da690
LMI
16242 * emacs-lisp/cl-macs.el (declare): Doc string fix-up.
16243
3aa5f34b
LMI
16244 * international/mule-cmds.el
16245 (describe-specified-language-support): Make the error message
16246 clearer (bug#8905).
16247
4bf0979f
LMI
16248 * emacs-lisp/cl-macs.el (declare): Add a doc string (bug#8690).
16249
478615cc
LMI
16250 * isearch.el (isearch-barrier): Add a doc string, since it's
16251 mentioned in a function doc string (bug#8678).
16252
75c68aa1
MR
162532011-07-15 Martin Rudalics <rudalics@gmx.at>
16254
16255 * window.el (switch-to-buffer): Call pop-to-buffer with normalized
16256 buffer argument (Bug#9083) and self-identifying label argument.
16257
a7c33da2
GM
162582011-07-15 Glenn Morris <rgm@gnu.org>
16259
16260 * emacs-lisp/debug.el (debug): Doc fix. (Bug#8273)
16261
2f5c6024
LMI
162622011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
16263
16264 * man.el (Man-fontify-manpage): Fix message when formatting the
16265 man page (bug#7929).
16266
0bb23927 162672011-07-14 Eli Zaretskii <eliz@gnu.org>
cce4b0a7
EZ
16268
16269 * buff-menu.el (Buffer-menu-buffer+size): Accept an additional
16270 argument LRM; if non-nil, append an invisible LRM character to the
16271 buffer name.
16272 (list-buffers-noselect): Call Buffer-menu-buffer+size with the
16273 last argument non-nil, when formatting buffer names.
0bb23927
EZ
16274 (Buffer-menu-mode, list-buffers-noselect): Force left-to-right
16275 paragraph direction.
cce4b0a7 16276
621ef9ab
LMI
162772011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
16278
d1583c48
LMI
16279 * man.el (Man-bgproc-sentinel): Skip any arguments and only output
16280 the man page name (bug#7929).
16281
6a57fb5f
LMI
16282 * image.el (put-image): Mention the `put-image' overlay property
16283 (bug#7834).
16284
d7956b14
LMI
16285 * scroll-bar.el (set-scroll-bar-mode): Mention that
16286 `scroll-bar-mode' lists the values (bug#7772).
16287
5b2d4a66
LMI
16288 * image-mode.el (image-mode-fit-frame): Mention that it's a toggle
16289 command (bug#7729).
16290
7509a874
LMI
16291 * rect.el (apply-on-rectangle): Return the point after the last
16292 operation.
16293 (string-rectangle): Go to the point after the last operation
16294 (bug#7522).
16295
4fe74b19
LMI
16296 * printing.el (pr-toggle-region): Clarify the documentation
16297 slightly (bug#7493).
16298
b796c9b7
SM
16299 * time.el (display-time-update):
16300 Allow `display-time-mail-function' to return nil (bug#7158).
16301 Fix suggested by Detlev Zundel.
ab283561 16302
fc233c9d
LMI
16303 * vc/diff.el (diff): Clarify the order the file names are read
16304 (bug#7111).
16305
43f5740b
LMI
16306 * mouse.el (mouse-set-region): Link to `mouse-drag-copy-region' in
16307 the doc string (bug#7015).
16308
f2182a76
LMI
16309 * font-lock.el (font-lock-maximum-decoration): Mention what
16310 numeric levels mean (bug#6935).
16311
621ef9ab
LMI
16312 * startup.el (initial-buffer-choice): Don't mention the `none'
16313 selection, which is against policy.
16314
adc47434
MR
163152011-07-14 Martin Rudalics <rudalics@gmx.at>
16316
b796c9b7
SM
16317 * window.el (display-buffer-normalize-special):
16318 Replace `dedicated' by `dedicate' to dedicate window (Bug#9072).
adc47434 16319
7e5bfb8f
EZ
163202011-07-14 Eli Zaretskii <eliz@gnu.org>
16321
16322 * subr.el (version<, version<=, version=): Mention "-CVS" and
16323 "-12345" alpha version numbers.
16324
27fa387a
CY
163252011-07-14 Chong Yidong <cyd@stupidchicken.com>
16326
16327 * bindings.el: Add advertised binding for set-mark-command
16328 (Bug#5772).
16329
8bdfa064
CY
163302011-07-14 Chong Yidong <cyd@stupidchicken.com>
16331
16332 * bindings.el (mode-line-other-buffer):
16333 * bookmark.el (bookmark-bmenu-2-window):
16334 * bs.el (bs-cycle-next, bs-cycle-previous):
16335 * net/tramp-cmds.el (tramp-append-tramp-buffers): Revert to using
16336 switch-to-buffer.
16337
16338 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
b796c9b7 16339 Delete.
8bdfa064 16340
5eba16a3
JB
163412011-07-14 Juanma Barranquero <lekktu@gmail.com>
16342
16343 * follow.el (follow-debug-message, follow-redisplay):
16344 * jka-cmpr-hook.el (with-auto-compression-mode):
16345 Fix typos in docstrings.
16346
15853710
LMI
163472011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
16348
a28e4607
LMI
16349 * subr.el (with-silent-modifications): Clarify somewhat what the
16350 macro inhibits (bug#6525).
16351
15853710
LMI
16352 * simple.el (eval-expression): Note what it does if called
16353 interactively (bug#6495).
16354
bee0fcef
CY
163552011-07-13 Chong Yidong <cyd@stupidchicken.com>
16356
b796c9b7
SM
16357 * window.el (switch-to-buffer): New arg FORCE-SAME-WINDOW.
16358 Use pop-to-buffer buffer-or-name if it is nil.
bee0fcef
CY
16359
16360 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
16361 Remove switch-to-buffer.
16362
58274504
LMI
163632011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
16364
bd2fcc8d
LMI
16365 * files.el (make-directory): Clarify that an error will be raised
16366 if there's an error (bug#6397).
16367
0f04b32c
LMI
16368 * startup.el (initial-buffer-choice): Add `none' as a choice
16369 (bug#6234).
16370
465c5fc8
LMI
16371 * subr.el (add-hook): Clarify section about buffer-local hooks
16372 (bug#6218).
16373
58274504
LMI
16374 * dired.el (dired-flagged): Clarify doc string (bug#6117).
16375
bead9a43
JB
163762011-07-13 Juanma Barranquero <lekktu@gmail.com>
16377
16378 * tabify.el (untabify): Preserve the current column so that point
16379 doesn't move (bug#6032).
16380
3af98a7b
LMI
163812011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
16382
b796c9b7
SM
16383 * progmodes/cperl-mode.el (cperl-syntaxify-by-font-lock):
16384 Rewrite to avoid awkward possessive "s" (bug#5986).
3af98a7b 16385
6240145a
GM
163862011-07-13 Glenn Morris <rgm@gnu.org>
16387
16388 * dired.el (dired-use-ls-dired): Doc fix. (Bug#9039).
16389 (dired-insert-directory): Give a message the first time
16390 if ls is found not to support --dired.
16391
1d8c2ccc
LMI
163922011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
16393
16394 * simple.el (toggle-truncate-lines): Clarify what is toggled
16395 (bug#5580). Text by Drew Adams.
16396
5fc4038e
CY
163972011-07-13 Chong Yidong <cyd@stupidchicken.com>
16398
16399 * simple.el (blink-matching-open): Make the error message from the
16400 last change less verbose.
16401
bf6012e5
DN
164022011-07-13 Dan Nicolaescu <dann@ics.uci.edu>
16403
16404 * font-lock.el (font-lock-comment-face): Use the high contrast
16405 "yellow" color for font-lock-comment-face on low color terminals
16406 using a dark background color (bug#4221).
16407
343c3b5a
LMI
164082011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
16409
7e9505c5
LMI
16410 * dired.el (dired-insert-set-properties): Make the doc string
16411 reflect what it does now (bug#5325).
16412
c26fdcf5
LMI
16413 * simple.el (blink-matching-open): Say that we were unable to find
16414 the match within the limit, if we're limited (bug#5122).
16415
bb388cc5
LMI
16416 * international/mule-cmds.el (prefer-coding-system): Add an
16417 example (bug#4869).
16418
343c3b5a
LMI
16419 * progmodes/etags.el (tags-search): Document `file-list-form'
16420 (bug#4731).
16421
2a517d45
LM
164222011-07-13 Lawrence Mitchell <wence@gmx.li>
16423
16424 * net/browse-url.el (browse-url-default-browser)
16425 (browse-url-browser-function): Make the default browser choice a
16426 bit more logical (bug#4300). Also clean up the doc string.
16427
b6c78ef2
JB
164282011-07-13 Juanma Barranquero <lekktu@gmail.com>
16429
16430 * bindings.el (completion-ignored-extensions): Add OpenMCL/Clozure
16431 binary endings (bug#4440).
16432
1c4dd947
LMI
164332011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
16434
a2014063
LMI
16435 * info.el (info-insert-file-contents): Inhibit jka-compr messages,
16436 which can be pretty annoying (bug#8971).
16437
9c9c2d88
LMI
16438 * jka-compr.el (jka-compr-verbose): New variable, and use
16439 throughout (bug#8971).
16440
1c4dd947
LMI
16441 * info.el (Info-find-file): Fall back on the installation
16442 directory if we can't find the info node anywhere else.
16443
a1c9f41b
SO
164442011-07-13 Sergei Organov <osv@javad.com> (tiny change)
16445
16446 * vc/vc.el (vc-revert-file):
16447 Don't set file time-stamp in the past. (Bug#5181)
16448
536f3d36
LMI
164492011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
16450
7152b011
LMI
16451 * files.el (after-find-file): Give a better error message when
16452 trying to find a symlink that points to a file that doesn't exist
16453 (bug#4398).
16454
536f3d36
LMI
16455 * progmodes/cc-vars.el: Remove (probably) misleading comment
16456 (bug#4396).
16457
460c0fba
JB
164582011-07-12 Johan Bockgård <bojohan@gnu.org>
16459
16460 * mouse-sel.el (mouse-sel-primary-overlay): Use the `region' face.
16461
7a6bda45
CY
164622011-07-12 Chong Yidong <cyd@stupidchicken.com>
16463
16464 * mouse-sel.el: Hack restoring functionality, while keeping
16465 compatibility with 2010-07-03 changes to mouse selection.
16466 (mouse-sel-primary-overlay): New var.
16467 (mouse-sel-selection-alist): Use it.
16468 (mouse-sel-mode): Doc fix; remove points that are default features
16469 of mouse.el.
16470
c79598ef
JB
164712011-07-12 Johan Bockgård <bojohan@gnu.org>
16472
16473 * progmodes/compile.el (compilation-error-regexp-alist-alist):
16474 Fix previous fix (bug#2490).
16475
ff8be6ef
RW
164762011-07-12 Roland Winkler <winkler@gnu.org>
16477
b796c9b7
SM
16478 * textmodes/bibtex.el (bibtex-initialize):
16479 Use pop-to-buffer-same-window.
ff8be6ef
RW
16480 (bibtex-search-entries): Fix interactive call.
16481
296ba3ee
LMI
164822011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
16483
f5242a02 16484 * progmodes/compile.el (compilation-error-regexp-alist-alist):
b796c9b7
SM
16485 Fontise bytecomp Error lines more correctly (bug#2490).
16486 Fix suggested by Johan Bockgård.
f5242a02 16487
296ba3ee
LMI
16488 * subr.el (remove-duplicates): Remove; `delete-dups' is sufficient.
16489
16490 * dired-x.el (dired-guess-default): Use `delete-dups'.
16491
f69fd0d2
CY
164922011-07-12 Chong Yidong <cyd@stupidchicken.com>
16493
16494 * dired.el (dired-mark-prompt):
16495 * dired-aux.el (dired-read-shell-command): Doc fix.
16496
eab5dc07
LMI
164972011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
16498
b796c9b7
SM
16499 * mail/sendmail.el (sendmail-query-once):
16500 Use `customize-save-variable' unconditionally, now that it works under
9988520a
LMI
16501 emacs -Q.
16502
16503 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
16504
eab5dc07
LMI
16505 * cus-edit.el (custom-file): Take an optional no-error variable.
16506 (customize-save-variable): Set the variable, and give a warning if
16507 running under "emacs -q".
16508
a1e65d42
JB
165092011-07-11 Juanma Barranquero <lekktu@gmail.com>
16510
16511 * loadhist.el (unload-feature-special-hooks):
16512 Add `auto-coding-functions', `fill-nobreak-predicate' and
16513 `find-directory-functions' (bug#5327).
16514
1d52da10
LMI
165152011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
16516
be958f1d
LMI
16517 * vc/ediff.el (ediff-patch-file): Clarify doc string (bug#3138).
16518
5bedb26c
LMI
16519 * cus-edit.el (custom-guess-name-alist): -alist variables should
16520 use the `alist' type (bug#3120). Suggested by Drew Adams.
16521
1d52da10
LMI
16522 * printing.el: Add documentation to all the `pr-toggle-' commands.
16523
cd394be1 165242011-07-11 Leo Liu <sdl.web@gmail.com>
481a51b6
LL
16525
16526 * files.el (toggle-read-only): Only do the `C-x C-q' warning on VC
16527 backends where it makes sense (bug#2623).
16528
dcc88d8a
LMI
165292011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
16530
c3de9feb
LMI
16531 * dired-x.el (dired-guess-default): Remove duplicate shell command
16532 entries (bug#2028).
8a93078b 16533 (dired-guess-default): Fix grammar in doc string (bug#2028).
eea84fe5 16534 (dired-guess-shell-alist-user): Clarify the example a bit (bug#2030).
c3de9feb 16535
dcc88d8a
LMI
16536 * subr.el (remove-duplicates): New conveniency function.
16537
505e3645
LMI
165382011-07-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
16539
16540 * tool-bar.el (tool-bar-mode): Clarify positive/negative arguments
16541 (bug#1526).
16542
165432011-07-10 Martin Rudalics <rudalics@gmx.at>
16544
16545 * window.el (display-buffer-normalize-default): Don't invert
16546 meaning of even-window-heights. Reported by Eli Zaretskii
16547 <eliz@gnu.org>.
16548
455e4fa1
BR
165492011-07-10 Bob Rogers <rogers@rgrjr.dyndns.org>
16550
16551 * vc/vc.el (vc-diff-internal): Fix race condition (Bug#1256).
16552
8e0bc3e9
CY
165532011-07-10 Chong Yidong <cyd@stupidchicken.com>
16554
16555 * window.el (display-buffer): Fix arguments to
16556 display-buffer-reuse-window in last change.
16557
fa7c3228
CY
16558 * faces.el (link): Use a less saturated blue on light backgrounds.
16559
16560 * startup.el (fancy-startup-text, fancy-about-text)
16561 (fancy-startup-tail): Use font-lock faces, for background safety.
16562
c0a7f300
BN
165632011-07-09 Bob Nnamtrop <bobnnamtrop@gmail.com> (tiny change)
16564
b796c9b7
SM
16565 * emulation/viper-cmd.el (viper-change-state-to-vi):
16566 Limit triggering of abbrev expansion (Bug#9038).
c0a7f300 16567
4dc2a129
MR
165682011-07-09 Martin Rudalics <rudalics@gmx.at>
16569
16570 * window.el (display-buffer-default-specifiers): Remove.
16571 (display-buffer-macro-specifiers): Remove default specifiers.
16572 (display-buffer-alist): Default to nil.
b796c9b7 16573 (display-buffer-reuse-window): New optional argument other-window.
4dc2a129
MR
16574 (display-buffer-pop-up-window): Allow splitting internal
16575 windows. Check whether a live window was created.
16576 (display-buffer-other-window-means-other-frame)
16577 (display-buffer-normalize-arguments): Rename to
16578 display-buffer-normalize-argument and rewrite. Set the
16579 other-window specifier.
16580 (display-buffer-normalize-special): New function.
16581 (display-buffer-normalize-options): Rename to
16582 display-buffer-normalize-default and rewrite.
16583 (display-buffer-normalize-options-inhibit): Remove.
16584 (display-buffer-normalize-specifiers): Rewrite.
16585 (display-buffer): Process other-window specifier and call
16586 display-buffer-reuse-window with it. Emulate Emacs 23 behavior
16587 more faithfully.
b796c9b7 16588 (pop-up-windows, even-window-heights): Restore Emacs 23 default values.
4dc2a129 16589 (display-buffer-alist-set): Don't handle 'unset default values.
b796c9b7
SM
16590 (display-buffer-in-window, display-buffer-alist-set):
16591 Replace symbol "dedicated" by "dedicate". Reported by Tassilo Horn
4dc2a129
MR
16592 <tassilo@member.fsf.org>.
16593
2d43b8c9
LL
165942011-07-09 Leo Liu <sdl.web@gmail.com>
16595
16596 * register.el (insert-register): Restore accidental change on
16597 2011-06-26. (Bug#9028)
16598
7f9b7c53
GM
165992011-07-09 Glenn Morris <rgm@gnu.org>
16600
16601 * subr.el (remq): Handle the empty list. (Bug#9024)
16602
f042cfd8
AS
166032011-07-08 Andreas Schwab <schwab@linux-m68k.org>
16604
16605 * mail/sendmail.el (send-mail-function): No longer delay custom
16606 initialization.
16607 * custom.el (custom-initialize-delay): Doc fix.
16608
856b2f11
SM
166092011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
16610
16611 * abbrev.el (expand-abbrev): Try to preserve point (bug#5805).
16612
afae1d68
MA
166132011-07-08 Michael Albinus <michael.albinus@gmx.de>
16614
16615 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use a
16616 human-friendly prompt.
16617
0757af94
SM
166182011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
16619
16620 * vc/vc-bzr.el (vc-bzr-revision-keywords): Remove svn, it's only
16621 provided by a particular plugin.
16622
d760b731
LMI
166232011-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
16624
16625 * mail/sendmail.el (sendmail-query-once): If we aren't allowed to
16626 save customizations (with "emacs -Q"), just set the variable
16627 instead of erroring out.
16628
16629 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
16630
cd79ce90
JL
166312011-07-08 Juri Linkov <juri@jurta.org>
16632
16633 * arc-mode.el (archive-zip-expunge, archive-zip-update)
16634 (archive-zip-update-case): Use 7z if found by `executable-find'.
16635 The order of searching the available programs is the same as in
16636 `archive-zip-extract' (bug#8968).
16637
14cc04aa
CY
166382011-07-07 Chong Yidong <cyd@stupidchicken.com>
16639
16640 * menu-bar.el (menu-bar-line-wrapping-menu): Revert last change.
16641 (menu-bar-options-menu): Tweak descriptions.
16642
0a1848ec
LMI
166432011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
16644
16645 * menu-bar.el (menu-bar-line-wrapping-menu): Make all the Options
16646 menu items into verb phrases (bug#1421). Also refill to fit under
16647 80 columns.
16648
f5bd0689
CY
166492011-07-07 Chong Yidong <cyd@stupidchicken.com>
16650
538e85c6
CY
16651 * info.el (info, Info-read-node-name-2, Info-read-node-name-1)
16652 (Info-read-node-name): Doc fix (Bug#1084).
16653
f5bd0689
CY
16654 * thingatpt.el (forward-thing, bounds-of-thing-at-point)
16655 (thing-at-point, beginning-of-thing, end-of-thing, in-string-p)
16656 (end-of-sexp, beginning-of-sexp)
16657 (thing-at-point-bounds-of-list-at-point, forward-whitespace)
16658 (forward-symbol, forward-same-syntax, word-at-point)
16659 (sentence-at-point): Doc fix (Bug#1144).
16660
56ec5115
LMI
166612011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
16662
f3f8e37f
LMI
16663 * info.el (Info-mode-map): Remove S-TAB binding, since [backtab]
16664 should cover it (bug#1281).
16665
0757af94 16666 * cus-edit.el (custom-show): Mark as obsolete.
af0905c8 16667
e9fce1ac 16668 * net/network-stream.el (network-stream-open-starttls): If GnuTLS
12b9eb35
LMI
16669 negotiation fails, then possibly try again with a non-encrypted
16670 connection (bug#9017).
16671
56ec5115
LMI
16672 * mail/smtpmail.el (smtpmail-stream-type): Note that `plain' can
16673 be used.
16674
c2f9aec8
RS
166752011-07-07 Richard Stallman <rms@gnu.org>
16676
16677 * mail/rmail.el (rmail-next-error-move): Use `compilation-message'
16678 property, and handle its changed format.
16679 Look for the correct line number.
16680 Use file's line contents (but not past first =) to find
16681 correct line in message.
16682
ef7b981d 166832011-07-07 Kenichi Handa <handa@m17n.org>
c805dec0
KH
16684
16685 * international/characters.el (build-unicode-category-table):
16686 Delete it.
0757af94 16687 (unicode-category-table): Set it by unicode-property-table-internal.
c805dec0 16688
0757af94 16689 * international/mule-cmds.el (char-code-property-alist): Move to
c805dec0
KH
16690 to src/chartab.c.
16691 (get-char-code-property): Call unicode-property-table-internal to
16692 load a file. Call get-unicode-property-internal where necessary.
16693 (put-char-code-property): Call unicode-property-table-internal to
16694 load a file. Call put-unicode-property-internal where necessary.
16695 put-unicode-property-internal where necessary.
0757af94
SM
16696 (char-code-property-description):
16697 Call unicode-property-table-internal to load a file.
c805dec0
KH
16698
16699 * international/charprop.el:
16700 * international/uni-bidi.el:
16701 * international/uni-category.el:
16702 * international/uni-combining.el:
16703 * international/uni-comment.el:
16704 * international/uni-decimal.el:
16705 * international/uni-decomposition.el:
16706 * international/uni-digit.el:
16707 * international/uni-lowercase.el:
16708 * international/uni-mirrored.el:
16709 * international/uni-name.el:
16710 * international/uni-numeric.el:
16711 * international/uni-old-name.el:
16712 * international/uni-titlecase.el:
16713 * international/uni-uppercase.el: Regenerate.
16714
16715 * loadup.el: Load international/charprop.el before
16716 international/characters.
16717
e14b388a
CY
167182011-07-07 Chong Yidong <cyd@stupidchicken.com>
16719
16720 * window.el (next-buffer, previous-buffer): Signal an error if
16721 called from a minibuffer window.
16722
16723 * bindings.el: Revert 2011-07-04 change.
16724
354cf0ba
RS
167252011-07-06 Richard Stallman <rms@gnu.org>
16726
16727 * mail/rmailmm.el (rmail-mime-process): Use markers for buf positions.
16728 (rmail-mime-insert-bulk, rmail-mime-insert-text):
16729 Treat markers like ints.
16730 (rmail-mime-entity): Doc fix.
16731
a48868a7
LMI
167322011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
16733
4906cd3d
LMI
16734 * mail/smtpmail.el (smtpmail-default-smtp-server): Made into a
16735 defcustom again for backwards compatibility.
16736
e0457abe
LMI
16737 * simple.el (shell-command-on-region): Fill.
16738
d67f7e1f
LMI
16739 * dired-aux.el (dired-kill-line): Add a doc string.
16740
fe204702
LMI
16741 * dabbrev.el (dabbrev-abbrev-char-regexp): Note that nil defaults
16742 to "\\sw\\|\\s_" (bug#358).
16743
a48868a7
LMI
16744 * dired.el (dired-mode): Clarify "unmark or unflag" (bug#8770).
16745 (dired-unmark-backward): Ditto.
16746 (dired-flag-backup-files): Ditto.
16747
16748 * dired-x.el (dired-mark-sexp): Ditto.
16749
aa8a705c
RS
167502011-07-06 Richard Stallman <rms@gnu.org>
16751
16752 * mail/rmailmm.el: Give entity a new slot, TRUNCATED.
16753 (rmail-mime-entity): New arg TRUNCATED.
16754 (rmail-mime-entity-truncated, rmail-mime-entity-set-truncated):
16755 New functions.
16756 (rmail-mime-save): Warn if entity is truncated.
16757 (rmail-mime-toggle-hidden): Likewise, for showing.
16758 (rmail-mime-process-multipart): Record when an entity is truncated.
16759
a9a936b9
RS
16760 * mail/rmailmm.el (rmail-search-mime-message): Don't get confused
16761 if ENTITY is a string.
16762
1f2b92cb
LMI
167632011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
16764
f4f73198 16765 * emacs-lisp/lisp-mode.el (eval-defun-1): Update the documentation
0757af94
SM
16766 of faces when `M-C-x'-ing their definitions (bug#8378).
16767 Also clean up the code slightly.
f4f73198 16768
12b16734 16769 * progmodes/grep.el (rgrep): Don't bind `process-connection-type',
da6062e6 16770 because that makes the colors go away.
12b16734 16771
f0691d22
LMI
16772 * mail/sendmail.el (send-mail-function): Change the default to
16773 `sendmail-query-once'.
9e87df06 16774 (sendmail-query-once): Add an autoload cookie.
f0691d22 16775
1f2b92cb
LMI
16776 * net/network-stream.el (network-stream-open-starttls): Try using
16777 a plain connection even if the server offered STARTTLS, and we
16778 kinda wanted to use it, if Emacs doesn't have any STARTTLS
16779 capability. This should make smtpmail.el work in slightly more
16780 configurations.
16781
1cdd2a1b
MA
167822011-07-06 Michael Albinus <michael.albinus@gmx.de>
16783
16784 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
16785 New defun.
16786 * net/tramp-cmds.el (tramp-append-tramp-buffers): Use it.
16787
fbcc67e2
MM
167882011-07-06 Michael R. Mauger <mmaug@yahoo.com>
16789
16790 * progmodes/sql.el: Version 3.0
0757af94 16791 (sql-product-alist): Add product :completion-object,
fbcc67e2 16792 :completion-column, and :statement attributes.
0757af94 16793 (sql-mode-menu, sql-interactive-mode-map): Fix List entries.
fbcc67e2 16794 (sql-mode-syntax-table): Mark all punctuation.
0757af94 16795 (sql-font-lock-keywords-builder): Temporarily remove fallback on
fbcc67e2
MM
16796 ansi keywords.
16797 (sql-regexp-abbrev, sql-regexp-abbrev-list): New functions.
0757af94 16798 (sql-mode-oracle-font-lock-keywords): Improve.
fbcc67e2
MM
16799 (sql-oracle-show-reserved-words): New function for development.
16800 (sql-product-font-lock): Simplify for source code buffers.
16801 (sql-product-syntax-table, sql-product-font-lock-syntax-alist):
16802 New functions.
16803 (sql-highlight-product): Set product specific syntax table.
0757af94
SM
16804 (sql-mode-map): Add statement movement functions.
16805 (sql-ansi-statement-starters, sql-oracle-statement-starters):
16806 New variable.
fbcc67e2
MM
16807 (sql-statement-regexp, sql-beginning-of-statement)
16808 (sql-end-of-statement, sql-signum): New functions.
0757af94 16809 (sql-buffer-live-p, sql=find-sqli-buffer): Add CONNECTION parameter.
fbcc67e2
MM
16810 (sql-show-sqli-buffer): Bug fix.
16811 (sql-interactive-mode): Store connection data as buffer local.
0757af94 16812 (sql-connect): Add NEW-NAME parameter. Redesign interaction
fbcc67e2
MM
16813 with sql-interactive-mode.
16814 (sql-save-connection): Save buffer local settings.
0757af94 16815 (sql-connection-menu-filter): Change menu entry name.
fbcc67e2
MM
16816 (sql-product-interactive): Bug fix.
16817 (sql-preoutput-hold): New variable.
16818 (sql-interactive-remove-continuation-prompt): Bug fixes.
16819 (sql-debug-redirect): New variable.
16820 (sql-str-literal): New function.
16821 (sql-redirect, sql-redirect-one, sql-redirect-value, sql-execute):
0757af94 16822 Redesign.
fbcc67e2
MM
16823 (sql-oracle-save-settings, sql-oracle-restore-settings)
16824 (sql-oracle-list-all, sql-oracle-list-table): New functions.
16825 (sql-completion-object, sql-completion-column)
16826 (sql-completion-sqlbuf): New variables.
16827 (sql-build-completions-1, sql-build-completions)
16828 (sql-try-completion): New functions.
16829 (sql-read-table-name): Use them.
16830 (sql-contains-names): New buffer local variable.
16831 (sql-list-all, sql-list-table): Use it.
16832 (sql-oracle-completion-types): New variable.
16833 (sql-oracle-completion-object, sql-sqlite-completion-object)
16834 (sql-postgres-completion-object): New functions.
16835
d4eaeab1
GM
168362011-07-06 Glenn Morris <rgm@gnu.org>
16837
16838 * window.el (pop-to-buffer): Doc fix.
16839
322b7dab 168402011-07-06 Markus Heiser <markus.heiser@darmarit.de> (tiny change)
a1d3a912
CY
16841
16842 * progmodes/gud.el (gud-pdb-marker-regexp): Accept \r char (Bug#5653).
16843
322b7dab 168442011-07-06 Chong Yidong <cyd@stupidchicken.com>
0484d600 16845
322b7dab 16846 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
4f8f657f 16847
322b7dab 16848 * info.el (Info-directory-toc-nodes): Minor doc fix (Bug#8833).
8f43cbf3 16849
605dd5bf
CY
168502011-07-05 Chong Yidong <cyd@stupidchicken.com>
16851
16852 * button.el (button): Inherit from link face. Suggested by Dan
16853 Nicolaescu.
16854
7dbfa719
SM
168552011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
16856
3db614b0
SM
16857 * progmodes/gdb-mi.el: Fit in 80 columns.
16858 (gdb-setup-windows, gdb-restore-windows): Avoid other-window and
16859 switch-to-buffer.
16860
7dbfa719
SM
16861 * progmodes/which-func.el (which-func-ff-hook): Don't output a message
16862 if imenu is simply not configured (bug#8941).
16863
919d884a
KM
168642011-07-05 Ken Manheimer <ken.manheimer@gmail.com>
16865
16866 * allout.el (allout-post-undo-hook): New allout outline-change
16867 event hook to signal undo activity.
16868 (allout-post-command-business): Run allout-post-undo-hook if an
16869 undo just occurred.
7dbfa719
SM
16870 (allout-after-copy-or-kill-hook, allout-mode): Minor docstring changes.
16871 * allout-widgets.el (allout-widgets-after-undo-function):
16872 Ensure the integrity of the current item's decoration after it has been
919d884a
KM
16873 in the vicinity of an undo.
16874 (allout-widgets-mode): Include allout-widgets-after-undo-function
16875 on the new allout-post-undo-hook.
16876
450a0f09
SM
168772011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
16878
16879 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-abbrev-table):
16880 Let define-derived-mode define it.
16881 * emacs-lisp/derived.el (define-derived-mode): Try to avoid creating
16882 cycles of abbrev-table inheritance (bug#8998).
16883
2de69e00
RW
168842011-07-05 Roland Winkler <winkler@gnu.org>
16885
16886 * textmodes/bibtex.el: Add support for biblatex.
16887 (bibtex-BibTeX-entry-alist, bibtex-biblatex-entry-alist)
16888 (bibtex-BibTeX-field-alist, bibtex-biblatex-field-alist)
16889 (bibtex-dialect-list, bibtex-dialect, bibtex-no-opt-remove-re)
16890 (bibtex-entry-alist, bibtex-field-alist): New variables.
16891 (bibtex-entry-field-alist): Obsolete alias for
16892 bibtex-BibTeX-entry-alist.
16893 (bibtex-entry-alist, bibtex-field-alist): New widgets.
16894 (bibtex-set-dialect): New command.
16895 (bibtex-entry-type, bibtex-entry-head)
450a0f09
SM
16896 (bibtex-entry-maybe-empty-head, bibtex-any-valid-entry-type):
16897 Bind via bibtex-set-dialect.
2de69e00
RW
16898 (bibtex-Article, bibtex-Book, bibtex-Booklet, bibtex-InBook)
16899 (bibtex-InCollection, bibtex-InProceedings, bibtex-Manual)
16900 (bibtex-MastersThesis, bibtex-Misc, bibtex-PhdThesis)
16901 (bibtex-Proceedings, bibtex-TechReport, bibtex-Unpublished):
16902 Define via bibtex-set-dialect.
450a0f09
SM
16903 (bibtex-name-in-field, bibtex-remove-OPT-or-ALT):
16904 Obey bibtex-no-opt-remove-re.
2de69e00
RW
16905 (bibtex-vec-push, bibtex-vec-incr): New functions.
16906 (bibtex-format-entry, bibtex-field-list)
16907 (bibtex-print-help-message, bibtex-validate)
16908 (bibtex-search-entries): Use new format of bibtex-entry-alist.
16909
2dcdbdd9
SM
169102011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
16911
16912 * progmodes/compile.el (compilation-goto-locus):
16913 * net/tramp-cmds.el (tramp-append-tramp-buffers):
16914 * bs.el (bs-cycle-next, bs-cycle-previous):
16915 * bookmark.el (bookmark-bmenu-list, bookmark-bmenu-2-window):
16916 * bindings.el (mode-line-other-buffer):
16917 * autoinsert.el (auto-insert):
16918 * arc-mode.el (archive-extract):
16919 * abbrev.el (edit-abbrevs): Fix some uses of switch-to-buffer.
16920
b27640fe
JB
169212011-07-05 Juanma Barranquero <lekktu@gmail.com>
16922
16923 * emacs-lock.el (emacs-lock-mode): Fix typo in variable name.
16924 Fix check of `emacs-lock-unlockable-modes'.
16925 Coerce true values of `emacs-lock--try-unlocking' to t.
16926
53bbe3ad
JB
169272011-07-05 Juanma Barranquero <lekktu@gmail.com>
16928
16929 * obsolete/old-emacs-lock.el: Rename from emacs-lock.el.
16930 * emacs-lock.el: New file.
16931
1d3cdbc7
JD
169322011-07-05 Julien Danjou <julien@danjou.info>
16933
16934 * textmodes/rst.el (rst-define-level-faces): Use `facep' rather
16935 than `boundp' to check if face is set.
16936
9173deec
JB
169372011-07-05 Juanma Barranquero <lekktu@gmail.com>
16938
16939 * register.el (registerv-make):
16940 * window.el (window-min-height): Fix typos in docstrings.
16941
869795d6
JD
169422011-07-05 Jan Djärv <jan.h.d@swipnet.se>
16943
9173deec 16944 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
869795d6
JD
16945 Update doc string.
16946
b768cdcd
JB
169472011-07-04 Juanma Barranquero <lekktu@gmail.com>
16948
16949 * server.el (server-execute): Catch quit and call
16950 `server-return-error' to pass the error back to emacsclient and
16951 close the connection (bug#8942).
16952
13aa217b
KM
169532011-07-04 Ken Manheimer <ken.manheimer@gmail.com>
16954
16955 * allout.el (allout-encrypt-unencrypted-on-saves): Do not provide
16956 insecure exception for current topic. Also note that auto-saves
16957 are handled differently.
16958
5d3385a0 16959 (allout-auto-save-temporarily-disabled, allout-just-did-undo):
13aa217b
KM
16960 State variables for tracking auto-save inhibition situation.
16961
16962 (allout-write-contents-hook-handler): Rename from
16963 'allout-write-file-hook-handler', and describe how it depends on
16964 write-contents-functions sensitivity to non-nil value to prevent
16965 file write.
16966
16967 (allout-auto-save-hook-handler): Remove. auto-save does not check
16968 this in individual buffers, only in the starting buffer, so this
16969 is not the right way for us to inhibit auto-save in a buffer
16970 according to its condition.
16971
16972 (allout-mode): Use new allout-write-contents-hook-handler, and
16973 only with write-contents-functions. Remove auto-save provisions -
16974 they're implemented elsewhere.
16975
16976 (allout-before-change-handler): If undo is in progress, note that
16977 for attention of allout-post-command-business.
16978
16979 (allout-post-command-business): If the command we're following was
16980 an undo, check for change in the status of encrypted items and
16981 adjust auto-save inhibitions accordingly.
16982
16983 (allout-toggle-subtree-encryption): Adjust auto-save inhibition
16984 according to whether there are or aren't any plain-text topics
16985 pending encryption.
16986
2dcdbdd9 16987 (allout-inhibit-auto-save-info-for-decryption):
1154d12e
JB
16988 Adjust buffer-saved-size and some allout state to inhibit auto-saves
16989 if there are plain-text topics pending encryption.
13aa217b
KM
16990
16991 (allout-maybe-resume-auto-save-info-after-encryption): Adjust
16992 buffer-saved-size and some allout state to not inhibit auto-saves
16993 if there are no longer any plain-text topics pending encryption.
16994
0757af94
SM
16995 (allout-next-topic-pending-encryption, allout-encrypt-decrypted):
16996 No longer provide for exemption of the current topic.
13aa217b 16997
ac89b32c
JL
169982011-07-04 Juri Linkov <juri@jurta.org>
16999
17000 Add 7z operations to delete and save changed members (bug#8968).
17001 * arc-mode.el (archive-7z-expunge, archive-7z-update):
17002 New defcustoms.
17003 (archive-7z-write-file-member): New function.
17004 (archive-7z-summarize): Fix the number of dashes in the
17005 listing output.
17006
8fa39615
SM
170072011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
17008
17009 * pcmpl-linux.el (pcomplete-pare-list): Re-add, from pcomplete.el
17010 (bug#8958).
17011
2f11b3f1
CY
170122011-07-04 Chong Yidong <cyd@stupidchicken.com>
17013
d66fef2b
CY
17014 * bindings.el: Ignore next-buffer and previous-buffer in
17015 minibuffer-local-map.
17016
2f11b3f1
CY
17017 * font-lock.el (font-lock-builtin-face): Change light background
17018 color to dark slate blue (Bug#6693).
17019
f932a347
WD
170202011-07-04 Wang Diancheng <dcwang@kingbase.com.cn> (tiny change)
17021
17022 * progmodes/gdb-mi.el (gdb): Use completion-at-point.
17023
c8af70e1
SM
170242011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
17025
17026 * files.el (find-file): Use pop-to-buffer-same-window (bug#8911).
17027 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
17028 Add switch-to-buffer.
17029
f158badc
LMI
170302011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
17031
17032 * isearch.el (isearch-search-fun-function): Clarify further the
17033 meaning of the function returned.
17034
6d95bd46
MA
170352011-07-04 Michael Albinus <michael.albinus@gmx.de>
17036
17037 * net/tramp-cmds.el (tramp-cleanup-this-connection): New command.
17038
17039 * net/tramp-sh.el (tramp-color-escape-sequence-regexp): New defconst.
17040 (tramp-sh-handle-insert-directory, tramp-convert-file-attributes):
17041 Use it.
17042 (tramp-remote-path): Add "/bin" and "/usr/bin". On busyboxes,
17043 `tramp-default-remote-path' does not exist.
17044 (tramp-send-command-and-read): New optional argument NOERROR.
17045 (tramp-open-connection-setup-interactive-shell)
17046 (tramp-get-remote-path, tramp-get-remote-stat): Use it.
17047 (tramp-get-remote-readlink): Do not mask with `ignore-errors'.
17048 (tramp-process-sentinel): Flush also process' connection property.
17049 (tramp-sh-handle-start-file-process): Do not set process
17050 sentinel. It is done now ...
17051 (tramp-maybe-open-connection): ... here. (Bug#8929)
17052
909e6b67
MK
170532011-07-04 MON KEY <monkey@sandpframing.com>
17054
17055 * play/animate.el (animate-string): Doc fixes and allow changing
17056 the buffer name (bug#5417).
17057
170582011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
17059
c8af70e1 17060 * play/animate.el (animation-buffer-name): Rename from *animate*.
909e6b67 17061
f34755dc
PE
170622011-07-04 Paul Eggert <eggert@cs.ucla.edu>
17063
396cec72
PE
17064 * emacs-lisp/timer.el: Use time-date fns rather than rolling our own.
17065 This is simpler and helps future-proof the code.
17066 (timer-until): Use time-subtract and float-time.
08235028 17067 (timer--time-less-p): Use time-less-p.
f34755dc 17068
56e6cc31
JB
170692011-07-04 Juanma Barranquero <lekktu@gmail.com>
17070
3abb79e5
JB
17071 * type-break.el (timep): Use the value of `float-time' to avoid a
17072 byte-compiler warning.
17073
56e6cc31
JB
17074 * server.el (server-eval-and-print): Return any result, even nil.
17075
7b9430b4
PE
170762011-07-03 Paul Eggert <eggert@cs.ucla.edu>
17077
17078 * type-break.el: Accept time formats that the builtins accept.
17079 (timep, type-break-time-difference): Accept any format that
17080 float-time accepts, rather than insisting on (HIGH LOW USECS) format.
17081 This is simpler and helps future-proof the code.
17082 (type-break-time-difference): Round rather than ignoring
17083 subseconds components.
17084
3034e9e7
LMI
170852011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
17086
17087 * info.el (Info-apropos-matches): Make non-interactive, since it
17088 doesn't seem to do anything useful as a command (bug#8829).
17089
1485f4c0
CY
170902011-07-03 Chong Yidong <cyd@stupidchicken.com>
17091
17092 * frame.el (frame-background-mode, frame-set-background-mode):
c8af70e1 17093 Move from faces.el.
1485f4c0
CY
17094 (frame-default-terminal-background): New function.
17095
17096 * custom.el (custom-push-theme): Don't record faces in `changed'
17097 theme; this doesn't work correctly for per-frame face settings.
17098 (disable-theme): Use face-set-after-frame-default to reset faces.
17099 (custom--frame-color-default): New function.
17100
9fa3dd45
LMI
171012011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
17102
c8af70e1 17103 * dired.el (dired-flagging-regexp): Remove unused variable
9fa3dd45
LMI
17104 (bug#8769).
17105
6cbbc20c
KR
171062011-03-29 Kevin Ryde <user42@zip.com.au>
17107
17108 * progmodes/compile.el (compilation-error-regexp-alist-alist):
17109 `perl-Test2' extend to match possible "fail #N" rep count
17110 (bug#8377).
17111
c7f98048
LMI
171122011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
17113
65676592
LMI
17114 * mail/feedmail.el (feedmail-buffer-to-smtpmail):
17115 `smtpmail-via-smtp' now returns the error instead of nil.
17116
c7f98048
LMI
17117 * isearch.el (isearch-search-fun-function): Clarify the doc string
17118 (bug#8101).
17119
56e6cc31 171202011-07-03 Richard Kim <emacs18@gmail.com> (tiny change)
9a51c6c7
RK
17121
17122 * textmodes/texnfo-upd.el (texinfo-insert-menu): Don't insert
17123 unnecessary spaces (bug#8987).
17124
2b216704
LMI
171252011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
17126
17127 * net/network-stream.el (open-network-stream): Use the
17128 :end-of-capability command thoughout.
17129
171302011-07-03 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
17131
17132 * net/network-stream.el (open-network-stream): Add the
17133 :end-of-capability command parameter, used by pop3.el.
17134
36adf6ce
LMI
171352011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
17136
1ca0da0e
LMI
17137 * dired.el (dired-map-over-marks): Refill the doc string (bug#6814).
17138
fc00f69c
LMI
17139 * fringe.el (fringe-query-style): Remove redundant text " (type ?
17140 for list)" (bug#6475).
17141
28fd8759 17142 * files.el (file-expand-wildcards): Ignore non-readable
8350f087 17143 sub-directories while trying to find matches instead of signaling
28fd8759
LMI
17144 an error (bug#6297).
17145
0dd8b6da
LMI
17146 * man.el (Man-reference-regexp): Allow matching possible
17147 word-wrapped references (bug#6289).
17148
ce1438d6
LMI
17149 * vc/vc.el (vc-modify-change-comment): Change *VC-log* to *vc-log*
17150 for consistency with the other vc buffers (bug#6197).
17151 (vc-checkin): Ditto.
17152
17153 * vc/vc-arch.el: Fix comments to match the *VC-log* name change.
17154
36adf6ce
LMI
17155 * longlines.el (longlines-mode): Document what ARG does (bug#6150).
17156
e83cc1f7
LMI
171572011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
17158
8a20ca4c
LMI
17159 * custom.el (defcustom): Clarify that :set is only used in the
17160 Customize user interface (bug#6089).
17161
83319045
LMI
17162 * progmodes/flymake.el (flymake-mode): If the buffer isn't
17163 associated with a file, refuse to run instead of erroring out
17164 (bug#6084).
17165
a8392169
LMI
17166 * textmodes/fill.el (fill-region): Remove the "Ordinarily" from
17167 the doc string, since it appears that using `fill-column' always
17168 controls the width (bug#7845).
17169
e83cc1f7
LMI
17170 * simple.el (shell-command-on-region): Say where the error output
17171 went if `shell-command-default-error-buffer' is set (bug#6857).
17172
e47ca23b
KM
171732011-07-02 Ken Manheimer <ken.manheimer@gmail.com>
17174
17175 * allout.el (allout-yank-processing): Adjust cursor position for
17176 backwards-deleted space.
17177
17178 (allout-rebullet-heading): Register changes with
17179 allout-exposure-changed-hook, so the modified topic is properly
17180 decorated.
17181
5cf56143
LMI
171822011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
17183
08549772
LMI
17184 * minibuffer.el (completion-in-region): Document PREDICATE
17185 (bug#7136).
17186
48e96771
LMI
17187 * info-look.el (info-lookup-add-help): Clarify that ARGS is a list
17188 of keyword/argument pairs (bug#6904).
17189
c8af70e1
SM
17190 * replace.el (multi-occur):
17191 Mention `multi-occur-in-matching-buffers' in the doc string (bug#7566).
5cf56143 17192
e17d05e2
LMI
171932011-07-02 Drew Adams <drew.adams@oracle.com>
17194
17195 * dired.el (dired-mark-if): Make the message about whether it's
17196 marking or unmarking clearer (bug#8523).
17197
063b0e45
LMI
171982011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
17199
17200 * disp-table.el (display-table-print-array): New function.
17201 (describe-display-table): Use it to print the vectors more pretty
17202 (Bug#8859).
17203
28545e04
MR
172042011-07-02 Martin Rudalics <rudalics@gmx.at>
17205
17206 * window.el (window-state-get-1): Don't assign clone numbers.
17207 Add clone-of item to list of window parameters.
17208 (window-state-put-2): Don't process clone numbers.
17209 (display-buffer-alist): Fix doc-string.
17210
3349e122
SM
172112011-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
17212
17213 * subr.el (remq): Don't allocate if it's not needed.
17214 (keymap--menu-item-binding, keymap--menu-item-with-binding)
17215 (keymap--merge-bindings): New functions.
17216 (keymap-canonicalize): Use them to refine the canonicalization.
17217 * minibuffer.el (minibuffer-local-completion-map)
17218 (minibuffer-local-must-match-map): Move initialization from C.
17219 (minibuffer-local-filename-completion-map): Move initialization from C;
17220 don't inherit from anything here.
17221 (minibuffer-local-filename-must-match-map): Make obsolete.
17222 (completing-read-default): Use make-composed-keymap to combine
17223 minibuffer-local-filename-completion-map with either
17224 minibuffer-local-must-match-map or
17225 minibuffer-local-filename-completion-map.
17226
d224ac83
GM
172272011-07-01 Glenn Morris <rgm@gnu.org>
17228
3de63bf8
GM
17229 * type-break.el (type-break-time-sum): Use dolist.
17230
d224ac83
GM
17231 * textmodes/flyspell.el (flyspell-word-search-backward):
17232 Replace CL function.
17233
1a1e3f32
SM
172342011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
17235
fe3f64d5
SM
17236 * mouse.el (mouse--strip-first-event): New function.
17237 (function-key-map): Use it to map fringe clicks to normal clicks
17238 by default.
17239
eb604e34
SM
17240 * vc/vc-bzr.el (vc-bzr-revision-keywords): Update.
17241 (vc-bzr-revision-completion-table): Add support for annotate and date.
17242
1a1e3f32
SM
17243 * emacs-lisp/derived.el (define-derived-mode): Make abbrev-table
17244 inherit from parent.
17245
5bd35902
LMI
172462011-07-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
17247
ace6c69c 17248 * dired-aux.el (dired-diff): Doc fixup (bug#8816).
26bde865 17249 (dired-show-file-type): Doc fixup (bug#8818).
ace6c69c 17250
191e2bed
LMI
17251 * dired.el (dired-mode): Fix up the doc string as suggested by
17252 Drew Adams (bug#8817).
17253
5bd35902
LMI
17254 * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
17255 cookie, since the manual says that it should be possible to add
17256 this function to `find-file-hook' (bug#8709).
17257
eee8207a
TZ
172582011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
17259
17260 * progmodes/cfengine.el: Moved all cfengine3.el functionality
17261 here. Noted Ted Zlatanov as the maintainer.
17262 (cfengine-common-settings, cfengine-common-syntax): New functions
17263 to set up common things between `cfengine-mode' and
17264 `cfengine3-mode'.
17265 (cfengine3-mode): New mode.
17266 (cfengine3-defuns cfengine3-defuns-regex
17267 (cfengine3-class-selector-regex cfengine3-category-regex)
17268 (cfengine3-vartypes cfengine3-font-lock-keywords)
17269 (cfengine3-beginning-of-defun, cfengine3-end-of-defun)
eb604e34 17270 (cfengine3-indent-line): Add from cfengine3.el.
eee8207a 17271
36b148cf
MA
172722011-07-01 Michael Albinus <michael.albinus@gmx.de>
17273
17274 * net/tramp.el (tramp-encoding-command-interactive): New defcustom.
17275
17276 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
17277
0bf4ba9a
MR
172782011-07-01 Martin Rudalics <rudalics@gmx.at>
17279
17280 * window.el (same-window-buffer-names, same-window-regexps)
17281 (same-window-p, special-display-frame-alist)
17282 (special-display-popup-frame, special-display-function)
17283 (special-display-buffer-names, special-display-regexps)
17284 (special-display-p, pop-up-frame-alist, pop-up-frame-function)
17285 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
17286 (split-window-preferred-function, split-height-threshold)
17287 (split-width-threshold, even-window-heights)
17288 (display-buffer-mark-dedicated, window-splittable-p)
17289 (split-window-sensibly, window-safely-shrinkable-p):
17290 Un-obsolete.
17291 (display-buffer): Don't spread args with function specifier
17292 because special-display-popup-frame won't like it.
17293
35837f51
PE
172942011-07-01 Paul Eggert <eggert@cs.ucla.edu>
17295
d0672f86
PE
17296 Time-stamp simplifications and fixes.
17297 These improve accuracy slightly, and future-proof the code
17298 against some potential changes to current-time format.
17299
b9444d97
PE
17300 * woman.el (woman-decode-buffer, WoMan-log-end): Log fractional secs
17301 by using time-since and float-time.
17302
0ef923dc
PE
17303 * vc/ediff-util.el (ediff-calc-command-time): Use time-since
17304 and float-time. Say "NNN.NNN seconds" rather than "NNN seconds
17305 + NNN microseconds".
17306
2f81380d
PE
17307 * type-break.el (type-break-time-sum): Rewrite using time-add.
17308
845b5c3e
PE
17309 * play/hanoi.el (hanoi-current-time-float): Remove.
17310 All uses replaced by float-time.
17311
ee6f1be0
PE
17312 * nxml/rng-maint.el (rng-time-function): Rewrite using time-subtract.
17313 This yields a more-accurate answer.
17314 (rng-time-to-float): Remove; no longer needed.
17315
fe955043
PE
17316 * emacs-lisp/timer.el (timer-relative-time): Use time-add.
17317
5777162a
PE
17318 * calendar/timeclock.el (timeclock-seconds-to-time):
17319 Defalias to seconds-to-time, since they're the same thing.
17320
3103f8b6 17321 * emacs-lisp/elp.el (elp-elapsed-time):
e2bac5f6 17322 * emacs-lisp/benchmark.el (benchmark-elapse):
35837f51
PE
17323 * allout-widgets.el (allout-elapsed-time-seconds): Use float-time.
17324
0e61a35f
SM
173252011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
17326
17327 * window.el (bury-buffer): Don't iconify the only frame.
17328 (switch-to-buffer): Revert to Emacs<23 behavior, i.e. do not fallback
17329 to pop-to-buffer. Use pop-to-buffer-same-frame if you don't like that.
17330
ddd63a1e
CY
173312011-07-01 Chong Yidong <cyd@stupidchicken.com>
17332
0e61a35f
SM
17333 * eshell/em-smart.el (eshell-smart-display-navigate-list):
17334 Add mouse-yank-primary.
ddd63a1e 17335
055f4923
TZ
173362011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
17337
17338 * progmodes/cfengine3.el: New file to support CFEngine 3.x.
17339
6a2fb145
SM
173402011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
17341
17342 * emacs-lisp/find-func.el (find-library--load-name): New fun.
17343 (find-library-name): Use it to find relative load names when provided
17344 absolute file name (bug#8803).
17345
fd4983f2
LMI
173462011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
17347
887d14ad
LMI
17348 * textmodes/flyspell.el (flyspell-word): Consider words that
17349 differ only in case as potential doublons (bug#5687).
17350
c53dc7fc
LMI
17351 * net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
17352 Remove two rather uninteresting debugging-like messages to make
17353 debbugs.el more silent.
17354
fd4983f2
LMI
17355 * comint.el (comint-password-prompt-regexp): Accept "Response" as
17356 a password-like phrase.
17357
7a71b18d 173582011-06-30 Masatake YAMATO <yamato@redhat.com>
b14c0c55
AM
17359
17360 * progmodes/cc-guess.el: New file.
17361
6a2fb145 17362 * progmodes/cc-langs.el (c-mode-menu): Add "Style..." submenu.
b14c0c55
AM
17363
17364 * progmodes/cc-styles.el (cc-choose-style-for-mode): New function
17365 derived from `c-basic-common-init'.
17366
17367 * progmodes/cc-mode.el (top-level): Require cc-guess.
17368 (c-basic-common-init): Use `cc-choose-style-for-mode'.
17369
1fa280a3
LM
173702011-06-30 Lawrence Mitchell <wence@gmx.li>
17371
17372 * progmodes/js.el (js-mode): Don't stomp on global settings (bug#8933).
17373
e6597158
AM
173742011-06-30 Alan Mackenzie <acm@muc.de>
17375
1fa280a3
LM
17376 * progmodes/cc-engine.el (c-guess-continued-construct):
17377 Correct the handling of template-args-cont, particularly for when font
e6597158
AM
17378 lock is disabled. Name this case as "CASE G".
17379
68ba37fb
KM
173802011-06-30 Ken Manheimer <ken.manheimer@gmail.com>
17381
17382 * allout.el (allout-yank-processing): Fix injection of extra space
17383 between bullet and non-whitespace character in first topic when
17384 pasting, ensuring that the actual spacing in the pasted topic
17385 following the bullet char is preserved. This extra space was
17386 causing pasted encrypted topics to get a decrypted status even
17387 when the content was actually still encrypted. Now the decryption
17388 status from before the paste is preserved.
17389
17390 (allout-flag-region): Set all allout overlays so they evaporate
17391 when reduced to zero length (evanescent), to prevent overlay
17392 leakage.
17393
887a0b34
GM
173942011-06-30 Glenn Morris <rgm@gnu.org>
17395
94b9acce
GM
17396 * w32-fns.el (w32-charset-info-alist): Declare.
17397
1d9b46d4
GM
17398 * find-dired.el (find-grep-options): Simplify.
17399
cc232200
GM
17400 * term/ns-win.el (ns-set-resource): Declare.
17401
28e77c46
GM
17402 * ses.el (row, col): Declare dynamic variables honestly.
17403
887a0b34
GM
17404 * textmodes/reftex-parse.el (index-tags): Declare.
17405
658d8eb8
CY
174062011-06-30 Chong Yidong <cyd@stupidchicken.com>
17407
17408 * cus-edit.el (customize-push-and-save): New function.
17409
17410 * files.el (hack-local-variables-confirm): Use it.
17411
1fa280a3
LM
17412 * custom.el (load-theme): New arg NO-CONFIRM.
17413 Use customize-push-and-save (Bug#8720).
658d8eb8
CY
17414 (custom-enabled-themes): Doc fix.
17415
17416 * cus-theme.el (customize-create-theme)
17417 (custom-theme-merge-theme): Callers to load-theme changed.
17418
bb617717
LMI
174192011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
17420
d61bdd5d
LMI
17421 * thingatpt.el (thing-at-point-short-url-regexp): Require that
17422 short URLs have at least one dot in them (bug #7614).
17423
bb617717
LMI
17424 * progmodes/grep.el (rgrep): Bind `process-connection-type' to
17425 nil, because using a pty is apparently too slow (bug #895).
17426
2f31f37a
LMI
174272011-06-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
17428
17429 * mail/sendmail.el (sendmail-query-once): New function.
17430 (sendmail-query-once-function): New variable.
17431
3076b24e
GM
174322011-06-29 Glenn Morris <rgm@gnu.org>
17433
faf2a174
GM
17434 * files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.
17435
3076b24e
GM
17436 * ses.el (top-level): Require cl when compiling.
17437 (ses-set-localvars): Fix error statement.
17438 Call it at compile time to silence a storm of warnings.
17439
5386012d
MR
174402011-06-29 Martin Rudalics <rudalics@gmx.at>
17441
17442 * window.el (normalize-live-buffer): Rename to
17443 window-normalize-buffer.
17444 (normalize-live-frame): Rename to window-normalize-frame.
17445 (normalize-any-window): Rename to window-normalize-any-window.
17446 (normalize-live-window): Rename to window-normalize-live-window.
17447 (make-window-atom): Rename to window-make-atom.
17448 (window-resize-reset): Rename to window--resize-reset.
17449 (window-resize-reset-1): Rename to window--resize-reset-1.
17450 (resize-mini-window): Rename to window--resize-mini-window.
17451 (resize-subwindows-skip-p): Rename to
17452 window--resize-subwindows-skip-p.
17453 (resize-subwindows-normal): Rename to
17454 window--resize-subwindows-normal.
17455 (resize-subwindows): Rename to window--resize-subwindows.
17456 (resize-other-windows): Rename to window--resize-siblings.
17457 (resize-this-window): Rename to window--resize-this-window.
17458 (resize-root-window): Rename to window--resize-root-window.
17459 (resize-root-window-vertically): Rename to
17460 window--resize-root-window-vertically.
17461 (normalize-buffer-to-display): Rename to
17462 window-normalize-buffer-to-display.
17463 (normalize-buffer-to-switch-to): Rename to
17464 window-normalize-buffer-to-switch-to.
17465 Correspondingly update all callers of the functions listed
17466 above.
17467 (display-buffer-alist, display-buffer-normalize-arguments)
17468 (display-buffer-normalize-options, display-buffer)
17469 (display-buffer-alist-set): Use "function" instead of
17470 "fun-with-args".
17471
1176868d
CY
174722011-06-28 Chong Yidong <cyd@stupidchicken.com>
17473
17474 * mail/emacsbug.el (report-emacs-bug): Handle non-gnu bug
17475 addresses more clearly. Add hyperlinks for bug-gnu-emacs and
17476 debbugs.gnu.org. Mention acknowledgment email.
17477
20a7a65f
LMI
174782011-06-28 Lars Magne Ingebrigtsen <larsi@gnus.org>
17479
17480 * mail/smtpmail.el (smtpmail-send-it): Leave off changing the
17481 buffer multibyteness, since it shouldn't matter.
17482
5f45cca5
MR
174832011-06-28 Martin Rudalics <rudalics@gmx.at>
17484
17485 * window.el (display-buffer-in-side-window): Handle dedicated
17486 windows as in display-buffer-reuse-window.
17487 (display-buffer-normalize-alist): Use value of override
17488 specifier.
17489 (display-buffer-normalize-specifiers): Use value of
17490 other-window-means-other-frame specifier.
17491 (display-buffer-alist): Rewrite some texts in widgets.
17492 (display-buffer): Spread arguments when calling function
17493 specified by fun-with-args.
17494
ad85fe1f
DD
174952011-06-28 Deniz Dogan <deniz@dogan.se>
17496
1fa280a3
LM
17497 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
17498 Unnest `let'.
da68c4c8 17499
ad85fe1f
DD
17500 * textmodes/css-mode.el (css-font-lock-keywords): Fix grouped
17501 selectors (Bug#5732).
ec49bd31 17502 (css-proprietary-nmstart-re): Use `regexp-opt'.
ad85fe1f 17503
a08cc025
JA
175042011-06-27 Jari Aalto <jari.aalto@cante.net>
17505
17506 * eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).
17507 (eshell-ls-date-format): New defcustom.
17508 (eshell-ls-file): Use it.
17509
e2b551c5
SM
175102011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
17511
17512 * help-fns.el (describe-variable): Fix message for terminal-local vars.
17513
8982b231
KY
175142011-06-27 Katsumi Yamaoka <yamaoka@jpl.org>
17515
17516 * net/ange-ftp.el: Allow loading .gz files (Bug#6923).
17517 (ange-ftp-make-tmp-name): New arg.
17518 (ange-ftp-file-local-copy): Use it.
17519
36c9fa27
J
175202011-06-27 Jambunathan K <kjambunathan@gmail.com>
17521
17522 * tar-mode.el (tar-untar-buffer): Set coding-system-for-write to
17523 no-conversion (Bug#8870).
17524
d68443dc
MR
175252011-06-27 Martin Rudalics <rudalics@gmx.at>
17526
17527 * window.el (window-right, window-left, window-child)
17528 (window-child-count, window-last-child)
17529 (window-iso-combination-p, walk-window-tree-1)
17530 (window-atom-check-1, window-tree-1, delete-window)
17531 (window-state-get-1, display-buffer-even-window-sizes): Adapt to
17532 new naming conventions - window-vchild, window-hchild,
17533 window-next and window-prev are now called window-top-child,
17534 window-left-child, window-next-sibling and window-prev-sibling
17535 respectively.
d615d6d2
MR
17536 (resize-window-reset): Rename to window-resize-reset.
17537 (resize-window-reset-1): Rename to window-resize-reset-1.
17538 (resize-window): Rename to window-resize.
17539 (window-min-height, window-min-width)
17540 (resize-mini-window, resize-this-window, resize-root-window)
17541 (resize-root-window-vertically, adjust-window-trailing-edge)
17542 (enlarge-window, shrink-window, maximize-window)
17543 (minimize-window, delete-window, quit-restore-window)
17544 (split-window, balance-windows, balance-windows-area-adjust)
17545 (balance-windows-area, window-state-put-2)
17546 (display-buffer-even-window-sizes, display-buffer-set-height)
17547 (display-buffer-set-width, set-window-text-height)
17548 (fit-window-to-buffer): Rename all "resize-window" prefixed
17549 calls to use the "window-resize" prefix convention.
17550 (display-buffer-alist): Fix symbol for label specifier.
17551 (display-buffer-reuse-window): Set reuse-dedicated to cdr of
17552 corresponding specifier.
17553 Reported by Juanma Barranquero <lekktu@gmail.com>.
d68443dc 17554
b6458526
VB
175552011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
17556
17557 * ses.el (ses-destroy-cell-variable-range): Fix heading comment
17558 convention.
17559 (ses-call-printer): Does not pass an empty string to formatter when the
17560 cell is empty to keep from barking printer Calc math-format-value.
17561
d31fd9ac
RS
175622011-06-27 Richard Stallman <rms@gnu.org>
17563
43d5bf84
RS
17564 * battery.el (battery-mode-line-limit): New variable.
17565 (battery-update): Handle it.
17566
d31fd9ac
RS
17567 * mail/rmailmm.el (rmail-mime-process-multipart):
17568 Handle truncated messages.
17569
819a6054
GM
175702011-06-27 Glenn Morris <rgm@gnu.org>
17571
17572 * progmodes/flymake.el (flymake-err-line-patterns):
17573 Allow for column numbers in the ant/javac pattern. (Bug#8866)
17574
cedc73f2
VB
175752011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
17576
819a6054 17577 * ses.el (ses-relocate-range): Keep rest of arguments for ses-range.
cedc73f2
VB
17578 (ses--clean-!, ses--clean-_): New functions.
17579 (ses-range): Add configurability of readout order, and conversion
17580 to Calc vector.
17581
5e5d49b6
VB
17582 * ses.el (ses-repair-cell-reference-all): New function.
17583 (ses-cell-symbol): Set macro as safe, so that it can be used in
17584 formulas.
17585
56e6cc31 17586 * ses.el: Update cycle detection algorithm.
90ca8b49 17587 (ses-localvars): Add ses--Dijkstra-attempt-nb and
819a6054 17588 ses--Dijkstra-weight-bound, and initial values thereof when applicable.
90ca8b49
VB
17589 (ses-set-localvars): New function.
17590 (ses-make-cell): Add property-list as a cell element.
17591 (ses-cell-property-get-fun, ses-cell-property-get)
17592 (ses-cell-property-delq-fun, ses-cell-property-set-fun)
819a6054
GM
17593 (ses-cell-property-pop-fun, ses-cell-property-get-handle-fun):
17594 New functions.
90ca8b49
VB
17595 (ses-cell-property-set, ses-cell-property-pop)
17596 (ses-cell-property-get-handle): New macro.
17597 (ses-cell-property-handle-car, ses-cell-property-handle-setcar):
17598 New aliases, used for code readability.
17599 (ses-calculate-cell, ses-update-cells): Use Dijkstra algorithm for
17600 cycle detection.
17601 (ses-self-reference-early-detection): New defcustom.
fac916bf 17602 (ses-formula-references): Robustify against self-referring cells.
90ca8b49
VB
17603 (ses-mode): Use ses-set-localvars.
17604 (ses-command-hook): Add call to ses-initialize-Dijkstra-attempt
17605 before lauching the update processing.
17606 (ses-initialize-Dijkstra-attempt): New function.
17607 (ses-recalculate-cell): Update for cycle detection based on
17608 Dijkstra algorithm.
17609
2bb63e81
VB
17610 * ses.el: Fix commenting and indenting convention.
17611
c9d29fb8
SM
176122011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
17613
17614 * bs.el (bs-cycle-next): Complete last change.
17615
d8e4b68b
JB
176162011-06-27 Drew Adams <drew.adams@oracle.com>
17617
17618 * faces.el (list-faces-display): Add help-mode-map to output (bug#8939).
17619
40098786
LMI
176202011-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
17621
c9d29fb8
SM
17622 * net/network-stream.el (network-stream-open-starttls):
17623 Don't re-get capabilities unless we've reestablished connection.
f6ab314e
LMI
17624 (network-stream-open-starttls): Fix stupid typo with gnutls-clii.
17625
40098786
LMI
17626 * mail/smtpmail.el (smtpmail-via-smtp): Bind coding-system-for-*
17627 to binary to possibly avoid line encoding issues on Windows (among
17628 other things).
17629
468d09d4
LMI
176302011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
17631
17632 * net/network-stream.el (open-network-stream): Return an :error
17633 saying what the problem was, if possible.
17634
17635 * mail/smtpmail.el (smtpmail-via-smtp): Report the error from the
17636 server.
17637
17638 * net/network-stream.el (network-stream-open-starttls): If we
17639 wanted to use STARTTLS, and the server offered it, but we weren't
17640 able to because we had no STARTTLS support, then close the connection.
17641 (open-network-stream): Return an :error element, if present.
17642
16f07dd7
CY
176432011-06-26 Chong Yidong <cyd@stupidchicken.com>
17644
88821ca0
CY
17645 * hl-line.el (hl-line-sticky-flag): Doc fix.
17646 (global-hl-line-sticky-flag): New option (Bug#8323).
17647 (global-hl-line-highlight): Obey it.
17648
16f07dd7
CY
17649 * vc/vc.el (vc-revert-show-diff): Default to t.
17650
6b5ccddf
KM
176512011-06-26 Ken Manheimer <ken.manheimer@gmail.com>
17652
c9d29fb8
SM
17653 * allout-widgets.el (allout-widgets-post-command-business):
17654 Stop decorating intermediate isearch matches. They're not being
6b5ccddf
KM
17655 undecorated when an isearch is continued past, and isearch
17656 automatically collapses them. This leads to "widget leaks", where
17657 decorated items accumulate in collapsed areas. Lines with lots of
c9d29fb8
SM
17658 hidden widgets can slow down cursor travel, substantially.
17659 Too much complicated machinery would be needed to ensure undecoration,
6b5ccddf
KM
17660 so we're doing without this nicety.
17661
17662 (allout-widgets-tally-string): Don't try to do a hash-table-count
17663 of allout-widgets-tally when it's nil. This eliminates spurious "Error
17664 during redisplay: (wrong-type-argument hash-table-p nil)" warnings in
17665 *Messages* when allout-widgets-maintain-tally is t.
17666
355f2e07
MR
176672011-06-26 Martin Rudalics <rudalics@gmx.at>
17668
17669 * window.el (display-buffer-normalize-argument): Rename to
17670 display-buffer-normalize-arguments. Handle special meaning of
6b5ccddf
KM
17671 LABEL argument. Respect special-display-function when popping up
17672 a new frame. Fix code searching for a window showing the buffer
17673 on another frame.
c9d29fb8
SM
17674 (display-buffer-normalize-specifiers):
17675 Call display-buffer-normalize-arguments.
355f2e07
MR
17676 (display-buffer-in-window): Don't undedicate the window if its
17677 buffer remains the same.
17678 Reported by Drew Adams <drew.adams@oracle.com>.
17679 (display-buffer-alist): Add choice for same-window macro
17680 specfier.
17681 (display-buffer): Mention special meaning of LABEL argument in
17682 doc-string. Fix quoting. Don't pop up a new frame even as
17683 fallback.
17684
7ca8fc42
JB
176852011-06-26 Juanma Barranquero <lekktu@gmail.com>
17686
17687 * bs.el (bs-cycle-next): Pass current buffer to `bury-buffer' to
17688 avoid deleting the current window in some cases (bug#8911).
17689
bc312254
AS
176902011-06-26 Andreas Schwab <schwab@linux-m68k.org>
17691
17692 * emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
17693 (Bug#8934)
17694
2db18f3f
LMI
176952011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
17696
c9d29fb8
SM
17697 * net/network-stream.el (network-stream-open-starttls):
17698 Use built-in TLS support if `gnutls-available-p' is true.
2db18f3f
LMI
17699 (network-stream-open-tls): Ditto.
17700
6302e0d3
LL
177012011-06-26 Leo Liu <sdl.web@gmail.com>
17702
17703 * register.el (registerv): New struct.
17704 (registerv-make): New function.
c9d29fb8
SM
17705 (jump-to-register, describe-register-1, insert-register):
17706 Support the jump-func, print-func and insert-func slot of a registerv
6302e0d3
LL
17707 struct. (Bug#8415)
17708
5fdd4046
CY
177092011-06-26 Chong Yidong <cyd@stupidchicken.com>
17710
2afef60a
CY
17711 * vc/vc.el (vc-revert-show-diff): New defcustom.
17712 (vc-diff-internal): New arg specifying diff buffer.
17713 (vc-revert): Obey vc-revert-show-diff. If we show a diff, don't
17714 reuse an existing *vc-diff* buffer (Bug#8927).
17715
5fdd4046
CY
17716 * progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode.
17717
e93db24a
GM
177182011-06-26 Glenn Morris <rgm@gnu.org>
17719
17720 * progmodes/f90.el (f90-critical-indent): New option.
17721 (f90-font-lock-keywords-2, f90-blocks-re, f90-end-block-re)
17722 (f90-start-block-re, f90-mode-abbrev-table): Add block, critical.
17723 (f90-mode): Doc fix.
17724 (f90-looking-at-critical, f90-looking-at-end-critical): New funcs.
17725 (f90-no-block-limit, f90-calculate-indent, f90-end-of-block)
17726 (f90-beginning-of-block, f90-next-block, f90-indent-region)
17727 (f90-match-end): Handle block, critical.
17728
eefff499
GM
177292011-06-25 Glenn Morris <rgm@gnu.org>
17730
f6ba4cc9
GM
17731 * calendar/diary-lib.el (diary-included-files): Doc fix.
17732 (diary-include-files): New function, extracted from
17733 diary-include-other-diary-files and diary-mark-included-diary-files.
17734 (diary-include-other-diary-files, diary-mark-included-diary-files):
17735 Just call diary-include-files.
17736 (diary-mark-entries): Reset diary-included-files on first call.
17737
16712304
GM
17738 * calendar/diary-lib.el (diary-mark-entries)
17739 (diary-mark-included-diary-files):
17740 Visit included diary-files in temp buffers.
17741
5d8e0d43
GM
17742 * progmodes/f90.el (f90-keywords-re, f90-font-lock-keywords-1)
17743 (f90-blocks-re, f90-program-block-re, f90-end-block-re)
17744 (f90-start-block-re, f90-imenu-generic-expression)
17745 (f90-looking-at-program-block-start, f90-no-block-limit):
17746 Add support for submodules.
17747
ccf7a5d5
GM
17748 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
17749 (f90-procedures-re, f90-constants-re): Add some F2008 stuff.
eefff499 17750
11fdef7d 177512011-06-25 Eli Zaretskii <eliz@gnu.org>
638e9005
EZ
17752
17753 * net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
17754 buffer-file-type before setting its value, to avoid disastrous
eefff499 17755 global effects on decoding files for DOS/Windows systems. (Bug#8780)
638e9005 17756
74f53697
JB
177572011-06-25 Juanma Barranquero <lekktu@gmail.com>
17758
17759 * allout.el (allout-unload-function): Pass -1 to `allout-mode'.
17760
17761 * ses.el (ses-unload-function):
17762 * emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
17763
17764 * proced.el (proced-unload-function):
17765 * progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.
17766
18a4ce5e
AR
177672011-06-25 Andreas Rottmann <a.rottmann@gmx.at>
17768
17769 * server.el (server-create-window-system-frame): Add parameters arg.
17770 (server-process-filter): Doc fix. Handle frame-parameters.
17771
519d22cc
JB
177722011-06-25 Juanma Barranquero <lekktu@gmail.com>
17773
17774 Fix bug#8730, bug#8781.
17775
17776 * loadhist.el (unload--set-major-mode): New function.
17777 (unload-feature): Use it.
17778
17779 * progmodes/python.el (python-after-info-look): Add autoload cookie.
17780 (python-unload-function): New function.
17781
c206f5b0
SM
177822011-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
17783
17784 * mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.
17785
f9ad64f3
GS
177862011-06-25 Giuseppe Scrivano <gscrivano@gnu.org>
17787
17788 * net/browse-url.el (browse-url-firefox-program): Add icecat to
17789 the candidates list.
17790
7d0da90e
JB
177912011-06-24 Juanma Barranquero <lekktu@gmail.com>
17792
17793 * progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable.
17794
14b4e83d
RS
177952011-06-23 Richard Stallman <rms@gnu.org>
17796
17797 * mail/rmail.el: Going to grep hit in Rmail buffer finds the message.
17798 (rmail-variables): Set next-error-move-function.
17799 (rmail-what-message): Take argument POS.
17800 (rmail-next-error-move): New function.
17801
273d2baf
SM
178022011-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
17803
17804 * emacs-lisp/smie.el (smie-bnf->prec2): Give more understandable error
17805 messages for adjacent non-terminals.
17806
56c2cc9a
RS
178072011-06-23 Richard Stallman <rms@gnu.org>
17808
17809 * mail/rmail.el (rmail-retry-ignored-headers): Add message-id.
f444564c 17810 (rmail-show-message-1): Preserve buffer modified flag.
8050daa1
RS
17811 (rmail-start-mail): Don't specify use of rmail-mail-return;
17812 that's done by mail-bury now.
17813 (rmail-mail-return): Handle arg NEWBUF.
56c2cc9a 17814
d59eb518
MA
178152011-06-23 Michael Albinus <michael.albinus@gmx.de>
17816
17817 * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
17818 SIZE is a number.
17819
02cfc6d6
MR
178202011-06-23 Martin Rudalics <rudalics@gmx.at>
17821
17822 * window.el (get-lru-window, get-mru-window)
17823 (get-largest-window): Never return a minibuffer window.
17824 (display-buffer-pop-up-window): Fix a bug that could lead to
17825 reusing the minibuffer window.
17826 (display-buffer): Pass original specifier argument to
17827 display-buffer-function instead of the normalized one.
17828 Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
17829
4e323265
LL
178302011-06-22 Leo Liu <sdl.web@gmail.com>
17831
17832 * minibuffer.el (completing-read-function)
1f9f395d 17833 (completing-read-default): Move from minibuf.c.
4e323265 17834
7a70468f
RS
178352011-06-22 Richard Stallman <rms@gnu.org>
17836
50718fc2
RS
17837 * mail/sendmail.el (mail-bury): If Rmail is in use, return nicely
17838 to Rmail even if not started by a special Rmail command.
17839
7a70468f
RS
17840 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
17841 Copy the buffer currently showing just one message.
17842
297dde5a
RW
178432011-06-22 Roland Winkler <winkler@gnu.org>
17844
17845 * textmodes/bibtex.el (bibtex-entry-update): Use mapc.
17846 (bibtex-clean-entry): First delete the old key so that a
17847 customized algorithm for generating the new key does not get
17848 confused by the old key.
17849 (bibtex-url): Obey regexp of first step.
17850 (bibtex-search-entries): Do not use add-to-list with local
17851 list-var.
17852
97bb1093
LMI
178532011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
17854
17855 * mail/smtpmail.el (smtpmail-try-auth-methods): If the user has
17856 stored a user name, then query for the password first, instead of
17857 waiting for SMTP to give an error message and the trying again.
17858
1c0f1a19
JD
178592011-06-22 Lawrence Mitchell <wence@gmx.li>
17860
17861 * net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
17862 BUFFER in call-process.
17863
396f7c9d
LMI
178642011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
17865
17866 * mail/smtpmail.el (smtpmail-via-smtp): Make sure we don't send
17867 QUIT twice.
ddb7ffee
LMI
17868 (smtpmail-try-auth-methods): Require user name and password from
17869 auth-source.
396f7c9d 17870
8998d1b3
MR
178712011-06-22 Martin Rudalics <rudalics@gmx.at>
17872
17873 * window.el (display-buffer-default-specifiers)
17874 (display-buffer-alist): Remove entries for pop-up-frame-alist.
17875 Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
130e3e11 17876 (split-window): Normalize SIDE argument (Bug#8916).
8998d1b3
MR
17877
17878 * frame.el (pop-up-frame-alist, pop-up-frame-function)
17879 (special-display-frame-alist, special-display-popup-frame):
17880 Remove duplicate declarations. These are now in window.el.
17881
4ea31e07
LMI
178822011-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
17883
c9d29fb8
SM
17884 * mail/smtpmail.el (smtpmail-via-smtp):
17885 Set :use-starttls-if-possible so that we always use STARTTLS if the
6af7a784
LMI
17886 server supports it. SMTP servers that support STARTTLS commonly
17887 require it.
17888
17889 * net/network-stream.el (network-stream-open-starttls): Support
17890 upgrading to STARTTLS always, even if we don't have built-in support.
fa463103 17891 (open-network-stream): Add the :always-query-capabilities keyword.
6af7a784 17892
95f41d9a
LMI
17893 * mail/smtpmail.el: Rewritten to do opportunistic STARTTLS
17894 upgrades with `open-network-stream', and rely solely on
17895 auth-source for all credentials. Big changes throughout the file,
17896 but in particular:
c9d29fb8
SM
17897 (smtpmail-auth-credentials): Remove.
17898 (smtpmail-starttls-credentials): Remove.
7d36ad46
LMI
17899 (smtpmail-via-smtp): Check for servers saying they want AUTH after
17900 MAIL FROM, too.
95f41d9a 17901
c9d29fb8
SM
17902 * net/network-stream.el (network-stream-open-starttls):
17903 Provide support for client certificates both for external and built-in
4ea31e07
LMI
17904 STARTTLS.
17905 (auth-source): Require.
17906 (open-network-stream): Document the :client-certificate keyword.
eb8c9362
LMI
17907 (network-stream-certificate): Change cert-cert to cert and
17908 cert-key to key.
4ea31e07 17909
065ec2c7
MA
179102011-06-21 Michael Albinus <michael.albinus@gmx.de>
17911
17912 * net/tramp-cache.el (top): Don't load the persistency file when
17913 "emacs -Q" has been called.
17914
cd93b359
DR
179152011-06-21 Tim Harper <timcharper@gmail.com>
17916
d8e4b68b
JB
17917 * term/ns-win.el (ns-initialize-window-system):
17918 Set application-specific `ApplePressAndHoldEnabled' system
cd93b359
DR
17919 resource to NO as it is not yet supported by the NS port.
17920
ae9c0411
JB
179212011-06-21 Juanma Barranquero <lekktu@gmail.com>
17922
17923 * misc.el (list-dynamic-libraries--refresh): Compute header here...
17924 (list-dynamic-libraries): ...not here.
17925
7f3f739f
LL
179262011-06-21 Leo Liu <sdl.web@gmail.com>
17927
17928 * subr.el (sha1): Implement sha1 using secure-hash.
17929
327c8fb1
MR
179302011-06-21 Martin Rudalics <rudalics@gmx.at>
17931
17932 * window.el (display-buffer-alist): In default value do not
17933 enforce searching a window on any but the selected frame.
17934 Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
17935 (display-buffer-select-window): Remove function.
17936 (display-buffer-in-window): When a window on another frame gets
17937 reused, do not select it any more but just raise its frame if
17938 necessary (Bug#8851) and (Bug#8856).
17939 (display-buffer-normalize-options): Handle pop-up-frames related
17940 options more faithfully.
17941 (pop-to-buffer): Don't rely on `display-buffer' selecting the
17942 window if it is on another frame.
c9d29fb8
SM
17943 (display-buffer-alist, display-buffer-default-specifiers):
17944 Don't make new frame unsplittable by default.
9e9de014
MR
17945 (display-buffer-normalize-argument): Fix doc-string typo and use
17946 'same-frame-other-window instead of 'other-window when associating
17947 with display-buffer-macro-specifiers.
327c8fb1 17948
7cf3f556
VB
179492011-06-21 Vincent Belaïche <vincent.b.1@hotmail.fr>
17950
17951 * play/5x5.el (5x5-solve-rotate-left, 5x5-solve-rotate-right):
17952 New functions.
17953 (5x5-mode-map, 5x5-mode-menu): Bind them.
17954 (5x5-draw-grid): Tweak the solver's rendering.
17955
60a406cf
SM
179562011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
17957
17958 * progmodes/compile.el (compilation-error-regexp-alist-alist): Rename
17959 `caml' to `python-tracebacks-and-caml'; allow leading tabs (bug#8585).
17960
d8e4b68b 179612011-06-21 Drew Adams <drew.adams@oracle.com>
5d907d6c
DA
17962
17963 * menu-bar.el: Use function variable instead of switch-to-buffer.
17964 (menu-bar-select-buffer-function): New variable.
60a406cf 17965 (menu-bar-update-buffers): Use it (bug#8876).
5d907d6c 17966
478d6f95
SM
179672011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
17968
17969 * emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
17970 variable's status.
17971
ca530739
JD
179722011-06-20 Jan Djärv <jan.h.d@swipnet.se>
17973
17974 * x-dnd.el (x-dnd-version-from-flags)
17975 (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
17976 and long as number (Bug#8899).
17977 (x-dnd-handle-xdnd): Call functions above (Bug#8899).
17978
bcd70d97
SM
179792011-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
17980
60a406cf 17981 * minibuffer.el (completion-metadata): Add `metadata' to the alist.
4cb3bfa0
SM
17982 (completion-try-completion, completion-all-completions): Compute the
17983 metadata argument if it's missing; make it optional (bug#8795).
17984
60a406cf 17985 * wid-edit.el: Use lex-bind and move towards completion-at-point.
bcd70d97
SM
17986 (widget-complete): Use new :completion-function property.
17987 (widget-completions-at-point): New function.
17988 (default): Use :completion-function instead of :complete.
60a406cf
SM
17989 (widget-default-completions): Rename from widget-default-complete;
17990 Rewrite.
bcd70d97
SM
17991 (widget-string-complete, widget-file-complete, widget-color-complete):
17992 Remove functions.
17993 (file, symbol, function, variable, coding-system, color):
17994 * international/mule-cmds.el (default-input-method, charset)
17995 (language-info-custom-alist):
17996 * cus-edit.el (face): Use new property :completions.
17997
17998 * progmodes/pascal.el (pascal-completions-at-point): New function.
17999 (pascal-mode): Use it.
18000 (pascal-mode-map): Use completion-at-point.
18001 (pascal-toggle-completions): Make obsolete.
18002 (pascal-complete-word, pascal-show-completions):
18003 * progmodes/octave-mod.el (octave-complete-symbol):
18004 Redefine as obsolete alias.
18005 * progmodes/octave-inf.el (inferior-octave-completion-at-point):
18006 Signal absence of completion info for old Octave,
18007 (inferior-octave-complete): Redefine as obsolete alias.
18008 * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
18009 (meta-completions-at-point): Rename from meta-complete-symbol and
18010 adapt it for use on completion-at-point-functions.
18011 (meta-common-mode): Use it.
18012 (meta-looking-at-backward, meta-match-buffer): Remove.
18013 (meta-complete-symbol): Redefine as obsolete alias.
18014 (meta-common-mode-map): Use completion-at-point.
18015 * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
18016 (makefile-mode-map): Use completion-at-point.
18017 (makefile-completions-at-point): Rename from makefile-complete and
18018 adapt it for use on completion-at-point-functions.
18019 (makefile-mode): Use it.
18020 (makefile-complete): Redefine as obsolete alias.
18021
aebf69c8
DD
180222011-06-20 Deniz Dogan <deniz@dogan.se>
18023
18024 * net/rcirc.el: Delete trailing whitespaces once and for all.
18025
bfbbb27d
DC
180262011-06-20 Daniel Colascione <dan.colascione@gmail.com>
18027
18028 * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
18029
d264a46b
CY
180302011-06-19 Chong Yidong <cyd@stupidchicken.com>
18031
4ca009e5
CY
18032 * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
18033
d264a46b
CY
18034 * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
18035
fbf5b3ce
MR
180362011-06-19 Martin Rudalics <rudalics@gmx.at>
18037
18038 * window.el (display-buffer-other-window-means-other-frame):
18039 Call display-buffer-normalize-alist.
18040 (display-buffer-normalize-specifiers-1): Rename to
18041 display-buffer-normalize-argument. New argument other-frame.
18042 Rewrite.
18043 (display-buffer-normalize-specifiers-2): Rename to
18044 display-buffer-normalize-options.
18045 (display-buffer-normalize-alist-1): New function.
18046 (display-buffer-normalize-specifiers-3): Rename to
bcd70d97
SM
18047 display-buffer-normalize-alist.
18048 Call display-buffer-normalize-alist-1.
fbf5b3ce
MR
18049 (display-buffer-normalize-options-inhibit): New variable.
18050 (display-buffer-normalize-specifiers): Rewrite calling
18051 display-buffer-normalize-alist,
18052 display-buffer-normalize-argument, and
18053 display-buffer-normalize-options. Don't call the latter if
18054 display-buffer-normalize-options-inhibit is non-nil.
18055 (frame-auto-delete): New option.
18056 (window-deletable-p): Use frame-auto-delete.
9d89fec7
MR
18057 (window-list-no-nils, window-state-ignored-parameters)
18058 (window-state-get-1, window-state-get, window-state-put-list)
bcd70d97
SM
18059 (window-state-put-1, window-state-put-2, window-state-put):
18060 New functions.
9a028c23
MR
18061 (display-buffer-normalize-options): Move special-display-p group
18062 after pop-up-frame group (Bug#8851) and (Bug#8856).
fbf5b3ce 18063
6d10d800
CY
180642011-06-18 Chong Yidong <cyd@stupidchicken.com>
18065
6420d28b
CY
18066 * emacs-lisp/rx.el (rx-constituents): Add support for numbered
18067 groups (Bug#8776).
18068 (rx-submatch-n): New function.
18069 (rx): Document it.
18070
ddb8b596
CY
18071 * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
18072 (Bug#8768).
18073
18074 * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
18075
77080289
CY
18076 * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
18077
61dfb316
CY
18078 * cus-face.el (custom-declare-face): Call custom-theme-recalc face
18079 anytime existing face settings are present (Bug#8889).
18080
6d10d800
CY
18081 * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
18082 (delphi-mode): Use define-derived-mode to inherit from prog-mode.
18083 Remove unused argument.
18084
be3fb2b8
MR
180852011-06-18 Martin Rudalics <rudalics@gmx.at>
18086
bcd70d97
SM
18087 * window.el (display-buffer-default-specifiers):
18088 Remove pop-up-frame. Add pop-up-window-min-height,
be3fb2b8
MR
18089 pop-up-window-min-width, and another reuse-window specifier
18090 (Bug#8882). Reported by Dan Nicolaescu <dann@gnu.org>.
bcd70d97
SM
18091 (display-buffer-normalize-specifiers-2):
18092 Handle split-height-threshold and split-width-threshold also when
be3fb2b8
MR
18093 pop-up-windows is unset. Add a reuse-window specifier for the
18094 case popping up a new window fails.
18095 (special-display-popup-frame): Remove double quoting.
28dec25a 18096 (display-buffer-normalize-specifiers-1): Fix thinko.
be3fb2b8 18097
1c6d8c76
SM
180982011-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
18099
18100 * shell.el (shell-completion-vars): Set pcomplete-termination-string
18101 according to comint-completion-addsuffix.
18102
18103 * pcomplete.el: Convert to lexical binding and fix bug#8819.
18104 (pcomplete-suffix-list): Mark as obsolete.
18105 (pcomplete-completions-at-point): Capture pcomplete-norm-func and
18106 pcomplete-seen in the closure.
18107 (pcomplete-comint-setup): Setup completion-at-point as well.
18108 (pcomplete--entries): New function.
18109 (pcomplete--env-regexp): New var.
18110 (pcomplete-entries): Rewrite to work with partial-completion and
18111 without relying on pcomplete-suffix-list.
18112 (pcomplete-pare-list): Remove, unused.
18113
25aef8b8
MR
181142011-06-17 Martin Rudalics <rudalics@gmx.at>
18115
18116 * window.el (display-buffer-alist): Set pop-up-window-min-height
18117 and pop-up-window-min-width in default value. Reported by
18118 Thierry Volpiatto <thierry.volpiatto@gmail.com>. New specifier
18119 other-window-means-other-frame.
18120 (display-buffer-macro-specifiers): Comment out entry for
18121 other-window specifier.
18122 (display-buffer-other-window-means-other-frame): New function.
18123 (display-buffer-normalize-specifiers-1): New arguments
18124 buffer-name and label. Treat other-window case specially.
18125 (display-buffer-normalize-specifiers-2): Treat other-window case
18126 specially.
18127 (display-buffer-normalize-specifiers-3): New function.
bcd70d97
SM
18128 (display-buffer-normalize-specifiers):
18129 Call display-buffer-normalize-specifiers-3.
25aef8b8 18130
dbad4f69
MR
181312011-06-17 Martin Rudalics <rudalics@gmx.at>
18132
18133 * window.el (same-window-p): Fix two typos introduced when
18134 adding with-no-warnings.
d1067961
MR
18135 (display-buffer-normalize-specifiers-1): Don't check
18136 pop-up-frames for 'unset initialization.
18137 (display-buffer-normalize-specifiers-2): Major rewrite using
18138 special-display-p and same-window-p (Bug#8851) and (Bug#8856).
18139 (pop-up-frames, display-buffer-reuse-frames)
18140 (display-buffer-mark-dedicated): Don't initialize to 'unset.
18141 Suggested by David Engster <deng@randomsample.de>.
18142 (even-window-heights): Initialize to 'unset.
18143 (display-buffer-alist-set): Handle new 'unset initializations.
25aef8b8
MR
18144 (display-buffer-macro-specifiers): Don't pop up a new frame in the
18145 other window case.
dbad4f69 18146
9b9c9e3a
MR
181472011-06-16 Martin Rudalics <rudalics@gmx.at>
18148
bcd70d97
SM
18149 * window.el (display-buffer-normalize-specifiers-1):
18150 Respect current value of pop-up-frames for most reasonable values of
9b9c9e3a 18151 second argument of display-buffer (Bug#8865).
981d5c09
MR
18152 (switch-to-buffer-same-frame, switch-to-buffer-other-window)
18153 (switch-to-buffer-other-window-same-frame)
18154 (switch-to-buffer-other-frame): Fix doc-strings. Reported by Drew
18155 Adams (Bug#8875).
9c2755e9
MR
18156 (display-buffer): Don't check noninteractive when calling
18157 display-buffer-pop-up-frame.
18158 (display-buffer-pop-up-frame): Never pop up a frame in
18159 noninteractive mode (Bug#8857).
67222e1d
MR
18160 (enlarge-window, shrink-window): Don't report an error when the
18161 window can't be resized as requested (Bug#8862).
9b9c9e3a 18162
2b75be67
SM
181632011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
18164
9ffdd3ba
SM
18165 * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
18166
cb581a67
SM
18167 * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
18168
2b75be67
SM
18169 * abbrev.el (define-abbrev-table): Don't add a table multiple times.
18170
8c0e3589
AM
181712011-06-15 Alan Mackenzie <acm@muc.de>
18172
cb581a67
SM
18173 * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
18174 for declarators, disable knr checking to speed up for normal files.
18175 2: Refactor, replacing a sequence of nested if forms by a cond form.
8c0e3589 18176
b96e6cde
LMI
181772011-06-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
18178
4bba86e6
LMI
18179 * net/network-stream.el (open-network-stream): Add the keyword
18180 :always-query-capabilities for the case where you want to force a
18181 `plain' network connection, but the protocol still requires the
18182 capabilitiy command (i.e., SMTP and EHLO).
18183
2b75be67 18184 * subr.el (process-live-p): Rename from `process-alive-p' for
b96e6cde
LMI
18185 consistency with other `-live-p' functions.
18186
efdcdbf8
SM
181872011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
18188
18189 * window.el (same-window-buffer-names, same-window-regexps)
18190 (special-display-frame-alist, special-display-popup-frame)
18191 (special-display-function, special-display-buffer-names)
18192 (special-display-regexps, pop-up-frame-alist)
18193 (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
18194 (pop-up-windows, split-window-preferred-function)
18195 (split-height-threshold, split-width-threshold, even-window-heights)
18196 (display-buffer-mark-dedicated): Don't encourage the use of
18197 display-buffer-alist from Elisp code.
18198
c5cde042
DN
181992011-06-15 Dan Nicolaescu <dann@ics.uci.edu>
18200
18201 * progmodes/python.el (python-mode): Derive from prog-mode.
18202 * progmodes/ps-mode.el (ps-mode):
18203 * progmodes/mixal-mode.el (mixal-mode):
50328a1b 18204 * progmodes/cfengine.el (cfengine-mode):
c5cde042
DN
18205 * progmodes/ld-script.el (ld-script-mode): Likewise.
18206
baa1c9ab
MR
182072011-06-15 Martin Rudalics <rudalics@gmx.at>
18208
18209 * window.el (display-buffer-alist): Trim default value to avoid
18210 popping up a new frame (Bug#8857) or reusing an arbitrary window
18211 on another frame.
18212 (display-buffer): Do not fall back on popping up a new frame in
18213 batch mode (Bug#8857).
18214
c5dd5a51
CY
182152011-06-14 Chong Yidong <cyd@stupidchicken.com>
18216
18217 * cus-theme.el (describe-theme-1): Use custom-theme-p.
18218 (custom-theme-summary): New function.
18219 (customize-themes): Use it.
18220
d647b7c4
GM
182212011-06-13 Glenn Morris <rgm@gnu.org>
18222
18223 * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
18224
9481c002
MR
182252011-06-13 Martin Rudalics <rudalics@gmx.at>
18226
357f93d2
MR
18227 * help.el (help-window): Remove variable.
18228 (help-window-point-marker, temp-buffer-max-height)
18229 (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
18230 (help-print-return-message): Don't set help-window.
18231 (resize-temp-buffer-window): Rewrite cod eand doc-string.
18232 (help-window-setup-finish): Remove.
18233 (help-window-display-message, help-window-setup)
18234 (with-help-window): Major rewrite based on new
18235 display-buffer-window variable.
18236
18237 * help-mode.el (help-mode-finish): Remove help-window related
18238 code.
18239
18240 * view.el (view-exits-all-viewing-windows): Remove reference to
18241 view-return-to-alist in doc-string.
18242 (view-return-to-alist): Make obsolete.
18243 (view-buffer): Call pop-to-buffer-same-window and remove
18244 undo-window code.
18245 (view-buffer-other-window): Call pop-to-buffer-other-window and
18246 simplify code. Ignore second argument.
18247 (view-buffer-other-frame): Call pop-to-buffer-other-frame and
18248 simplify code. Ignore second argument.
18249 (view-return-to-alist-update): Make obsolete.
18250 (view-mode-enter): Rename second argument to QUIT-RESTORE.
18251 Rewrite using quit-restore window parameters.
2b75be67
SM
18252 (view-mode-exit): Rename second argument to EXIT-ONLY.
18253 Rewrite using quit-restore-window.
357f93d2
MR
18254 (View-exit, View-exit-and-edit, View-leave, View-quit)
18255 (View-quit-all, View-kill-and-leave): Call view-mode-exit with
18256 appropriate arguments.
18257 (view-end-message): Use quit-restore window parameter.
18258
9481c002
MR
18259 * window.el (display-buffer-function): Rewrite doc-string.
18260 (display-buffer-window, display-buffer-alist): New variables.
18261 (display-buffer-split-specifiers)
18262 (display-buffer-side-specifiers)
18263 (display-buffer-macro-specifiers): New constants.
18264 (display-buffer-even-window-sizes, display-buffer-set-height)
18265 (display-buffer-set-width, display-buffer-select-window)
18266 (display-buffer-in-window, display-buffer-reuse-window)
18267 (display-buffer-split-window-1, display-buffer-split-window)
18268 (display-buffer-split-atom-window, display-buffer-pop-up-window)
18269 (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
18270 (display-buffer-in-side-window, normalize-buffer-to-display)
18271 (display-buffer-normalize-specifiers-1)
18272 (display-buffer-normalize-specifiers-2)
2b75be67
SM
18273 (display-buffer-normalize-specifiers, display-buffer-frame):
18274 New functions.
9481c002
MR
18275 (display-buffer): Major rewrite.
18276 (display-buffer-other-window, display-buffer-other-frame)
18277 (pop-to-buffer, switch-to-buffer-other-window)
18278 (switch-to-buffer-other-frame): Rewrite.
18279 (display-buffer-same-window, display-buffer-same-frame)
18280 (display-buffer-same-frame-other-window)
18281 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
18282 (pop-to-buffer-other-window)
18283 (pop-to-buffer-same-frame-other-window)
18284 (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
18285 (switch-to-buffer-other-window-same-frame): New functions.
18286 (same-window-p, special-display-p): Rewrite disabling warnings.
18287 Make obsolete.
18288 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
18289 (display-buffer-mark-dedicated): Initialize to symbol 'unset.
18290 Make obsolete
18291 (same-window-buffer-names, same-window-regexps)
18292 (special-display-frame-alist, special-display-popup-frame)
18293 (special-display-function, special-display-buffer-names)
18294 (special-display-regexps, pop-up-frame-alist)
18295 (pop-up-frame-function, split-window-preferred-function)
18296 (split-height-threshold, split-width-threshold)
18297 (even-window-heights): Make obsolete.
18298
9db51aca
GM
182992011-06-12 Glenn Morris <rgm@gnu.org>
18300
18301 * term/xterm.el (terminal-init-xterm): `version' may be nil. (Bug#8838)
7cb363eb 18302 Misc simplifications.
9db51aca 18303
39cffb44
MR
183042011-06-12 Martin Rudalics <rudalics@gmx.at>
18305
18306 * window.el (window-safely-shrinkable-p): Restore function which
18307 was inadvertently removed in change from 2011-06-11. Declare as
18308 obsolete.
18309
2b75be67
SM
18310 * calendar/calendar.el (calendar-generate-window):
18311 Use window-iso-combined-p instead of combination of one-window-p and
39cffb44
MR
18312 window-safely-shrinkable-p.
18313
a8955be7
GM
183142011-06-12 Glenn Morris <rgm@gnu.org>
18315
18316 * progmodes/fortran.el (fortran-mode-syntax-table):
18317 * progmodes/f90.el (f90-mode-syntax-table):
18318 Set % to punctuation. (Bug#8820)
18319 (f90-find-tag-default): Remove, no longer needed.
18320
f0d4059d
DC
183212011-06-12 Daniel Colascione <dan.colascione@gmail.com>
18322
18323 * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
18324
1100a63c
CY
183252011-06-11 Chong Yidong <cyd@stupidchicken.com>
18326
18327 * image.el (image-animated-p): Return animation delay in seconds.
18328 Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
18329 (image-animate-timeout): Remove DELAY argument. Don't assume
18330 every subimage has the same delay; get it from image-animated-p.
18331 (image-animate): Caller changed.
18332
def722bf
MA
183332011-06-11 Michael Albinus <michael.albinus@gmx.de>
18334
18335 * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
18336 to ignored backtrace functions.
18337
0a2bb1a9
GM
183382011-06-11 Glenn Morris <rgm@gnu.org>
18339
18340 * calendar/appt.el (appt-disp-window-function): Doc fix.
18341 (appt-check): Handle overlapping appointments. (Bug#8337)
18342
6198ccd0
MR
183432011-06-11 Martin Rudalics <rudalics@gmx.at>
18344
18345 * window.el (window-tree-1, window-tree): New functions, moving
18346 the latter to window.el.
18347 (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
18348 (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
18349 (bw-refresh-edges): Remove.
18350 (balance-windows-1, balance-windows-2): New functions.
18351 (balance-windows): Rewrite in terms of window tree functions,
18352 balance-windows-1 and balance-windows-2.
18353 (bw-adjust-window): Remove.
18354 (balance-windows-area-adjust): New function with functionality of
18355 bw-adjust-window but using resize-window.
2b75be67
SM
18356 (set-window-text-height): Rewrite doc-string.
18357 Use normalize-live-window and resize-window.
18358 (enlarge-window-horizontally, shrink-window-horizontally):
18359 Rename argument to DELTA.
6198ccd0
MR
18360 (window-buffer-height): New function.
18361 (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
18362 Rewrite using new window resize routines.
2b75be67
SM
18363 (kill-buffer-and-window, mouse-autoselect-window-select):
18364 Use ignore-errors instead of condition-case.
6198ccd0
MR
18365 (quit-window): Call delete-frame instead of delete-windows-on
18366 for the only buffer on frame.
18367
9397e56f
MR
183682011-06-10 Martin Rudalics <rudalics@gmx.at>
18369
18370 * loadup.el (top-level): Load window before files for the sake
18371 of replace-buffer-in-windows.
18372
18373 * files.el (read-buffer-to-switch)
18374 (switch-to-buffer-other-window)
2b75be67
SM
18375 (switch-to-buffer-other-frame, display-buffer-other-frame):
18376 Move to window.el.
9397e56f
MR
18377
18378 * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
18379 (previous-buffer): Move to window.el.
18380
18381 * bindings.el (unbury-buffer): Move to window.el.
18382
18383 * window.el (delete-other-windows-vertically): Move after
18384 definition of delete-other-windows.
18385 (other-window, delete-windows-on, replace-buffer-in-windows):
18386 Move here from window.c.
18387 (record-window-buffer, unrecord-window-buffer)
18388 (set-window-buffer-start-and-point, switch-to-prev-buffer)
18389 (switch-to-next-buffer): New functions.
18390 (get-next-valid-buffer, last-buffer, next-buffer): Move here
18391 from simple.el. Call switch-to-next-buffer.
2b75be67
SM
18392 (previous-buffer): Move here from simple.el.
18393 Call switch-to-prev-buffer.
9397e56f
MR
18394 (bury-buffer): Move here from buffer.c. Switch to previous
18395 buffer when window cannot be deleted.
18396 (unbury-buffer): Move here from bindings.el.
18397 (ctl-x-map): Move binding for other-window from window.c to
18398 here.
18399 (read-buffer-to-switch, switch-to-buffer-other-window)
18400 (switch-to-buffer-other-frame): Move here from files.el.
18401 (normalize-buffer-to-switch-to): New functions.
2b75be67
SM
18402 (switch-to-buffer): Move here from buffer.c.
18403 Use read-buffer-to-switch and normalize-buffer-to-switch-to.
9397e56f 18404
562dd5e9
MR
184052011-06-10 Martin Rudalics <rudalics@gmx.at>
18406
18407 * window.el (window-min-height, window-min-width): Move here
18408 from window.c. Add defcustoms and rewrite doc-strings.
18409 (resize-mini-window, resize-window): New functions.
18410 (adjust-window-trailing-edge, enlarge-window, shrink-window):
18411 Move here from window.c.
18412 (maximize-window, minimize-window): New functions.
18413 (delete-window, delete-other-windows, split-window): Move here
18414 from window.c.
18415 (window-split-min-size): New function.
18416 (split-window-keep-point): Mention split-window-above-each-other
18417 instead of split-window-vertically.
2b75be67 18418 (split-window-above-each-other, split-window-vertically):
1154d12e
JB
18419 Rename split-window-vertically to split-window-above-each-other
18420 and provide defalias for old definition.
18421 (split-window-side-by-side, split-window-horizontally):
18422 Rename split-window-horizontally to split-window-side-by-side
18423 and provide defalias for the old definition.
562dd5e9
MR
18424 (ctl-x-map): Move bindings for delete-window,
18425 delete-other-windows and enlarge-window here from window.c.
18426 Replace bindings for split-window-vertically and
18427 split-window-horizontally by bindings for
18428 split-window-above-each-other and split-window-side-by-side.
18429
18430 * cus-start.el (all): Remove entries for window-min-height and
18431 window-min-width. Add entries for window-splits and
18432 window-nest.
18433
f0da764a
GM
184342011-06-09 Glenn Morris <rgm@gnu.org>
18435
80675c21
GM
18436 * calendar/appt.el (appt-mode-line): New function.
18437 (appt-check, appt-disp-window): Use it.
18438
f0da764a
GM
18439 * files.el (hack-one-local-variable-eval-safep):
18440 Allow minor-modes with explicit +/-1 arguments.
18441
59f623b7
TZ
184422011-06-09 Teodor Zlatanov <tzz@lifelogs.com>
18443
18444 * term/xterm.el (xterm): Add defgroup.
18445 (xterm-extra-capabilities): Add defcustom to supply known xterm
18446 capabilities, skip querying them, or query them (default).
18447 (terminal-init-xterm): Use it.
18448 (terminal-init-xterm-modify-other-keys): New function to set up
18449 modifyOtherKeys support to simplify `terminal-init-xterm'.
18450
9aab8e0d
MR
184512011-06-09 Martin Rudalics <rudalics@gmx.at>
18452
18453 * window.el (resize-window-reset, resize-window-reset-1)
18454 (resize-subwindows-skip-p, resize-subwindows-normal)
18455 (resize-subwindows, resize-other-windows, resize-this-window)
18456 (resize-root-window, resize-root-window-vertically)
18457 (window-deletable-p, window-or-subwindow-p)
18458 (frame-root-window-p): New functions.
18459
e8b08aee
GM
184602011-06-09 Glenn Morris <rgm@gnu.org>
18461
18462 * net/ange-ftp.el (ange-ftp-switches-ok): New function.
18463 (ange-ftp-get-files): Use it.
18464
254c37a5
AK
184652011-06-09 Alexander Klimov <alserkli@inbox.ru> (tiny change)
18466
18467 * mail/sendmail.el (mail-recover-1, mail-recover):
18468 * files.el (recover-file, recover-session):
18469 Handle dired-listing-switches not being just a single short option.
18470
35d7dbd3
GM
184712011-06-09 Glenn Morris <rgm@gnu.org>
18472
18473 * calendar/appt.el (appt-display-message, appt-disp-window):
18474 Handle lists of appointments.
18475
387522b2
MR
184762011-06-08 Martin Rudalics <rudalics@gmx.at>
18477
2b75be67
SM
18478 * window.el (one-window-p): Move down in code.
18479 Rewrite doc-string.
18480 (window-current-scroll-bars): Rewrite doc-string.
18481 Normalize live window argument.
387522b2
MR
18482 (walk-windows, get-window-with-predicate, count-windows):
18483 Rewrite doc-string. Use window-list-1.
18484 (window-in-direction-2, window-in-direction, get-mru-window):
18485 New functions.
18486
d8e4b68b 184872011-06-08 Reuben Thomas <rrt@sc3d.org>
2c587104
GM
18488
18489 * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
18490 Doc fix (Bug#8713).
18491
184922011-06-08 Chong Yidong <cyd@stupidchicken.com>
18493
18494 * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
18495
184962011-06-08 Juanma Barranquero <lekktu@gmail.com>
18497
18498 * loadhist.el (unload-feature-special-hooks):
18499 Add `comint-output-filter-functions'.
18500
0de12c52
IK
185012011-06-08 Ivan Kanis <gnu@kanis.fr>
18502
18503 * calendar/appt.el (appt-check): Move some initializations into the let.
18504
f3d1777e
MR
185052011-06-08 Martin Rudalics <rudalics@gmx.at>
18506
18507 * window.el (window-height): Defalias to window-total-height.
18508 (window-width): Defalias to window-body-width.
18509
18af70d0
CY
185102011-06-07 Chong Yidong <cyd@stupidchicken.com>
18511
18512 * image-mode.el (image-toggle-animation): New command.
18513 (image-mode-map): Bind it to RET.
18514 (image-mode): Update message.
18515 (image-toggle-display-image): Avoid a spurious cache flush.
18516 (image-transform-rotation): Doc fix.
18517 (image-transform-properties): Return quickly in the normal case.
18518 (image-animate-loop): Rename from image-animate-max-time.
18519
2b75be67 18520 * image.el (image-animate-max-time): Move to image-mode.el.
18af70d0
CY
18521 (create-animated-image): Remove unnecessary function.
18522 (image-animate): Rename from image-animate-start. New arg.
2b75be67 18523 (image-animate-stop): Remove; just use image-animate-timer.
18af70d0
CY
18524 (image-animate-timer): Use car-safe.
18525 (image-animate-timeout): Rename argument.
18526
190b47e6
MR
185272011-06-07 Martin Rudalics <rudalics@gmx.at>
18528
18529 * window.el (get-lru-window, get-largest-window): Move here from
2b75be67
SM
18530 window.c. Rename first argument to ALL-FRAMES.
18531 Rephrase doc-strings.
18532 (get-buffer-window-list): Rewrite using window-list-1.
18533 Rephrase doc-string.
a1511caf
MR
18534 (window-safe-min-height, window-safe-min-width): New constants.
18535 (window-size-ignore, window-min-size, window-min-size-1)
18536 (window-sizable, window-sizable-p, window-size-fixed-1)
18537 (window-size-fixed-p, window-min-delta-1, window-min-delta)
18538 (window-max-delta-1, window-max-delta, window-resizable)
18539 (window-resizable-p, window-total-height, window-total-width)
18540 (window-body-width): New functions.
18541 (window-full-height-p, window-full-width-p): Rewrite using
18542 window-total-size.
18543 (window-body-height): Rewrite using window-body-size.
190b47e6 18544
85cc1f11
MR
185452011-06-06 Martin Rudalics <rudalics@gmx.at>
18546
18547 * window.el (window-right, window-left, window-child)
18548 (window-child-count, window-last-child, window-any-p)
18549 (normalize-live-buffer, normalize-live-frame)
18550 (normalize-any-window, normalize-live-window)
18551 (window-iso-combination-p, window-iso-combined-p)
18552 (window-iso-combinations)
18553 (walk-window-tree-1, walk-window-tree, walk-window-subtree)
18554 (windows-with-parameter, window-with-parameter)
18555 (window-atom-root, make-window-atom, window-atom-check-1)
2b75be67
SM
18556 (window-atom-check, window-side-check, window-check):
18557 New functions.
85cc1f11
MR
18558 (ignore-window-parameters, window-sides, window-sides-vertical)
18559 (window-sides-slots): New variables.
18560 (window-size-fixed): Move down in code. Minor doc-string fix.
18561
e7156492
AS
185622011-06-05 Andreas Schwab <schwab@linux-m68k.org>
18563
18564 * comint.el (comint-dynamic-complete-as-filename)
18565 (comint-dynamic-complete-filename): Correctly call
18566 completion-in-region.
18567
7e821d0d
DD
185682011-06-05 Deniz Dogan <deniz@dogan.se>
18569
18570 * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
18571 in last change.
18572
ac09b8a1
DD
185732011-06-05 Deniz Dogan <deniz@dogan.se>
18574
18575 * net/rcirc.el (rcirc-prompt-for-encryption): New function.
18576 (rcirc): Use it to prompt for encryption.
18577
34699b85
RW
185782011-06-05 Roland Winkler <winkler@gnu.org>
18579
18580 * textmodes/bibtex.el (bibtex-search-buffer): New variable.
18581 (bibtex-search-entries): New command bound to C-c C-a.
18582 (bibtex-display-entries): New function.
18583
004dedd3
RW
185842011-06-05 Roland Winkler <winkler@gnu.org>
18585
18586 * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
18587 (bibtex-insert-kill): After yanking insert newline if necessary.
18588 (bibtex-initialize): Call bibtex-string-files-init only once.
18589 (bibtex-mode): Do not call easy-menu-add.
18590 (bibtex-validate-globally): Use save-excursion in bibtex buffers.
18591 (bibtex-yank): Set arg properly if nil.
18592
022fe7ce
RW
185932011-06-05 Roland Winkler <winkler@gnu.org>
18594
2b75be67
SM
18595 * textmodes/bibtex.el (bibtex-search-entry-globally):
18596 New variable.
022fe7ce
RW
18597 (bibtex-search-entry): Use it.
18598
b7c3692a
RW
185992011-06-05 Roland Winkler <winkler@gnu.org>
18600
18601 * textmodes/bibtex.el (bibtex-entry-format): New option
18602 sort-fields.
18603 (bibtex-format-entry, bibtex-reformat): Honor this option.
18604 (bibtex-parse-entry): Return fields in proper order.
18605
8eda563d
JB
186062011-06-05 Juanma Barranquero <lekktu@gmail.com>
18607
18608 * doc-view.el (doc-view-remove-if): Move computation of result out
18609 of `dolist' to silence misleading lexical-binding warning.
18610
7dbe3dbc
CY
186112011-06-04 Chong Yidong <cyd@stupidchicken.com>
18612
18613 * emacs-lisp/timer.el (timer-activate): Remove unused arg.
18614 (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
18615
0c33dd17
MA
186162011-06-04 Michael Albinus <michael.albinus@gmx.de>
18617
18618 * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
18619 "SunOS 5.10".
18620
f8f91c2b
MA
186212011-06-04 Michael Albinus <michael.albinus@gmx.de>
18622
18623 * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
18624 (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
18625 (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
18626 (tramp-parse-putty):
18627 * net/tramp-sh.el (tramp-completion-function-alist-rsh)
18628 (tramp-completion-function-alist-ssh)
18629 (tramp-completion-function-alist-telnet)
18630 (tramp-completion-function-alist-su)
18631 (tramp-completion-function-alist-putty): Set `tramp-autoload'
18632 cookie.
18633
18634 * net/tramp-ftp.el:
18635 * net/tramp-sh.el:
18636 * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
18637 load "tramp.el" `tramp-set-completion-function'.
18638
e17d9003
SM
186392011-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
18640
18641 * shell.el: Require and use pcomplete.
18642 (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
18643 (shell-completion-vars): Set pcomplete-default-completion-function.
18644
6c4cab03
DD
186452011-06-04 Deniz Dogan <deniz@dogan.se>
18646
18647 * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
18648 `memq' (Bug#8799).
18649
ea9fafe0
SM
186502011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
18651
18652 * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
18653
b3e945d3
JB
186542011-06-02 Juanma Barranquero <lekktu@gmail.com>
18655
18656 * bs.el (bs--mark-unmark, bs--nth-wrapper):
18657 * mpc.el (mpc-select-extend, mpc-songpointer-context):
18658 * vc/log-view.el (log-view-beginning-of-defun):
18659 * vc/smerge-mode.el (smerge-apply-resolution-patch)
18660 (smerge-refine-forward, smerge-refine-chopup-region):
18661 Silence warning for unused `dotimes' counter variables.
18662
7d520089
SM
186632011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
18664
18665 * net/tramp.el (tramp-with-progress-reporter): Rename from
18666 with-progress-reporter. Use `declare'.
18667 * net/tramp-smb.el:
18668 * net/tramp-sh.el:
18669 * net/tramp-gvfs.el: Update all uses.
18670
a1c2400f
JB
186712011-06-02 Jay Belanger <jay.p.belanger@gmail.com>
18672
18673 * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
18674 buffer isn't killed before making it current.
18675
2403c841
SM
186762011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
18677
18678 Silence various byte-compiler warnings.
18679 * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
18680 `access-type' and new obsolescence format.
18681 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
18682 new format.
18683 (byte-compile-check-variable): New `access-type' argument.
18684 Only warn if the access-type is obsolete.
18685 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
18686 (byte-compile-variable-set): Adjust callers.
18687 * help-fns.el (describe-variable): Adjust to new obsolescence format.
18688 * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
18689 setting it as obsolete.
18690 * simple.el (minibuffer-completing-symbol):
18691 * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
18692 access as obsolete.
18693 * minibuffer.el (minibuffer-completing-file-name): Don't make it
18694 obsolete yet.
18695 * international/quail.el (quail-mouse-choose-completion): Remove unused
18696 code referring to obsolete var.
18697 (quail-choose-completion-string): Remove.
18698 * server.el (server-clients-with, server-kill-buffer-query-function)
18699 (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
18700 * proced.el (proced-send-signal):
18701 * emacs-lisp/lisp.el (lisp-complete-symbol):
18702 Replace completion-annotate-function with completion-extra-properties.
18703
2462470b
SM
187042011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
18705
fb5b2591
SM
18706 * simple.el (goto-line): Use read-number.
18707 (overriding-map-is-bound): Remove.
18708 (saved-overriding-map): Change default.
18709 (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
18710 Take the map as argument.
18711 (universal-argument, negative-argument, digit-argument): Use it.
18712 (restore-overriding-map): Adjust.
18713 (do-auto-fill): Use fill-forward-paragraph.
18714 (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
18715
fd6fa53f
SM
18716 * minibuffer.el (minibuffer-inactive-mode-map): New var.
18717 (minibuffer-inactive-mode): New major mode.
18718 * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
18719 the *Messages* buffer" hack.
18720 (mouse-popup-menubar): Don't burp if the event is a normal key.
18721
2462470b
SM
18722 Miscellaneous tweaks.
18723 * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
18724 lexical scoping as in subr.el's dolist and dotimes.
18725 * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
18726 Silence compiler warning.
18727 * thingatpt.el (forward-whitespace): Trivial coding style fix.
18728 * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
18729 * international/ccl.el (ccl-compile): Trivial simplification.
18730 * help-fns.el (help-do-arg-highlight): Silence compiler warning.
18731 * emacs-lisp/testcover.el (testcover-end): Remove spurious
18732 `printflag' argument.
18733 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
18734 Purecopy the whole obsolescence data.
18735
108bf785
LL
187362011-06-01 Leo Liu <sdl.web@gmail.com>
18737
18738 * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
18739 improve doc-string as suggested by Marco Pessotto
18740 <melmothx@gmail.com>.
18741 (rcirc-print): Fix last change.
18742
30a23501
SM
187432011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
18744
18745 * minibuffer.el (complete-with-action): Return nil for the metadata and
18746 boundaries of non-functional tables.
18747 (completion-table-dynamic): Return nil for the metadata.
18748 (completion-table-with-terminator): Add default case, using
18749 complete-with-action.
18750 (completion--metadata): New function.
18751 (completion-all-sorted-completions, minibuffer-completion-help): Use it
18752 to try and avoid pathological performance problems.
18753 (completion--embedded-envvar-table): Return `category' metadata.
18754
bcd54f83
LMI
187552011-05-31 Lars Magne Ingebrigtsen <larsi@gnus.org>
18756
18757 * subr.el (process-alive-p): New tiny convenience function.
18758
e227544d
SM
187592011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
18760
18761 * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
18762 content but also its previous major mode.
18763
e8296fdc
HE
187642011-05-31 Helmut Eller <eller.helmut@gmail.com>
18765
4d61f28d 18766 * emacs-lisp/debug.el (debug): Restore the previous content of the
e8296fdc
HE
18767 *Backtrace* buffer when we exit with C-M-c.
18768
620c53a6
SM
187692011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
18770
18771 * minibuffer.el: Add metadata method to completion tables.
18772 (completion-category-overrides): New defcustom.
18773 (completion-metadata, completion--field-metadata)
18774 (completion-metadata-get, completion--styles)
18775 (completion--cycle-threshold): New functions.
18776 (completion-try-completion, completion-all-completions):
18777 Add `metadata' argument to choose completion-styles.
18778 (completion--do-completion): Use metadata to choose cycling.
18779 (completion-all-sorted-completions): Use metadata for sorting.
18780 Remove :completion-cycle-penalty which is not needed any more.
18781 (completion--try-word-completion): Add `metadata' argument.
18782 (minibuffer-completion-help): Check metadata for annotation function
18783 and sorting.
18784 (completion-file-name-table): Return `category' metadata.
18785 (minibuffer-completing-file-name): Make obsolete.
18786 * simple.el (minibuffer-completing-symbol): Make obsolete.
18787 * icomplete.el (icomplete-completions): Pass new `metadata' param to
18788 completion-try-completion.
18789
1257e755
SM
187902011-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
18791
18792 * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
18793
3767e706
LL
187942011-05-30 Leo Liu <sdl.web@gmail.com>
18795
18796 * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
5ab33f2b
LL
18797 (rcirc-print): Decode all incoming messages (bug#8744).
18798 (rcirc-decode-coding-system): Allow value nil for automatic coding
18799 system detection.
3767e706 18800
d1a5d56a
GM
188012011-06-01 Glenn Morris <rgm@gnu.org>
18802
18803 * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
18804
e8cbec34
CY
188052011-05-29 Chong Yidong <cyd@stupidchicken.com>
18806
18807 * image.el (image-animate-max-time): Allow nil and t values.
18808 Default to nil.
18809 (create-animated-image): Doc fix.
18810 (image-animate-start): Remove second arg; just use
18811 image-animate-max-time.
18812 (image-animate-timeout): Doc fix. Args changed.
18813
18814 * image-mode.el (image-toggle-display-image): Ensure that the
18815 image spec passed to the animate timer is the same object as in
58179cce 18816 the buffer's display property (Bug#6981).
e8cbec34
CY
18817 (image-transform-properties): Doc fix.
18818
18819 * image.el (image-animate-max-time): Default to nil.
18820
159daf87
MR
188212011-05-29 Martin Rudalics <rudalics@gmx.at>
18822
18823 * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
18824 entire buffer list (Bug#8184).
18825
d66c4c7c
CY
188262011-05-29 Chong Yidong <cyd@stupidchicken.com>
18827
18828 * image.el (imagemagick-types-inhibit)
18829 (imagemagick-register-types): Doc fix.
18830
80aec780
DD
188312011-05-29 Deniz Dogan <deniz@dogan.se>
18832
18833 * net/rcirc.el (rcirc): Use the user's stored encryption method by
18834 default.
18835
1dd3c2d9
CY
188362011-05-29 Chong Yidong <cyd@stupidchicken.com>
18837
18838 * select.el: Don't perform clipboard-manager saving in hooks;
18839 leave the hooks empty.
18840
60e56523
LL
188412011-05-28 Leo Liu <sdl.web@gmail.com>
18842
18843 * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
18844 (occur-mode-map): Bind occur-edit-mode. Use occur-menu-map.
18845 (occur-edit-mode): New major mode (Bug#8463).
18846 (occur-after-change-function): New function.
18847 (occur-engine): Give Occur tags a read-only property.
18848
2b1e1a22
KR
188492011-05-28 Kevin Ryde <user42@zip.com.au>
18850
18851 * subr.el (def-edebug-spec): Doc fix (Bug#8430).
18852
5d344e88
CY
188532011-05-28 Chong Yidong <cyd@stupidchicken.com>
18854
8e6ca83d
CY
18855 * bindings.el (help-echo): Make the initial non-indicator dash
18856 empty on graphical terminals (Bug#7295).
18857
5d344e88
CY
18858 * files.el (auto-mode-alist): Move config rule after the
18859 in-stripping one (Bug#8547).
18860
bfbbace7
CY
18861 * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
18862
fbeba6e2
CY
18863 * startup.el (normal-splash-screen): Remove gratuitous mode-line
18864 setting (Bug#8740).
18865
60ed8c72
AA
188662011-05-28 Alp Aker <aker@pitt.edu> (tiny change)
18867
4ac619f0
AA
18868 * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
18869 (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
18870 (Bug#8539).
60ed8c72 18871
23db196e
CY
188722011-05-28 Chong Yidong <cyd@stupidchicken.com>
18873
18874 * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
18875
5012f24c
DK
188762011-05-28 Dima Kogan <dkogan@cds.caltech.edu> (tiny change)
18877
18878 * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
18879 (hs-hide-block-at-point, hs-find-block-beginning)
18880 (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
18881 (Bug#8279).
18882
6a639b16
GM
188832011-05-28 Glenn Morris <rgm@gnu.org>
18884
18885 * startup.el (fancy-about-screen): Use standard mode line. (Bug#8740)
18886
d43eaf2c
CY
188872011-05-28 Chong Yidong <cyd@stupidchicken.com>
18888
5199bde1
CY
18889 * help-fns.el (describe-function-1): If the function is a derived
18890 major mode, print the parent mode.
18891
d43eaf2c
CY
18892 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
18893 (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
18894
423428a8
SM
188952011-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
18896
0ff8e1ba 18897 * minibuffer.el (completion--capf-wrapper): Check applicability before
0b381c7e 18898 returning non-nil for non-exclusive completion data.
0ff8e1ba
SM
18899 * progmodes/etags.el (tags-completion-at-point-function):
18900 * info-look.el (info-lookup-completions-at-point): Mark as
18901 non-exclusive.
18902 (info-complete): Adjust accordingly.
18903
423428a8
SM
18904 * info-look.el: Convert to lexical-binding and completion-at-point.
18905 (info-lookup-completions-at-point): New function.
18906 (info-complete): Use it and completion-in-region.
18907
b74aa22b
DA
189082011-05-28 Drew Adams <drew.adams@oracle.com>
18909
18910 * isearch.el: Let M-e start with point at the first mismatched char.
18911 (isearch-fail-pos): New function.
18912 (isearch-edit-string): Use it.
18913
66e2e71d
DK
189142011-05-28 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
18915
18916 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
18917
b1890b0f 189182011-05-27 Toby Cubitt <toby-predictive@dr-qubit.org>
eb95d01d
TC
18919
18920 * emacs-lisp/avl-tree.el: New avl-tree-stack datatype. Add new
18921 traversal functions for avl-trees.
18922 (avl-tree--stack): New struct.
18923 (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
18924 (avl-tree-enter): Add optional `updatefun' arg.
93a1c12a
TC
18925 (avl-tree--do-enter): Add optional `updatefun' arg.
18926 Change return value.
eb95d01d 18927 (avl-tree-delete): Add optional `test' and `nilflag' args.
93a1c12a
TC
18928 (avl-tree--do-delete): Add `test' and `nilflag' args.
18929 Change return value.
eb95d01d
TC
18930 (avl-tree-member): Add optional `nilflag'
18931 (avl-tree-member-p): New function.
18932 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
18933 (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
18934 (avl-tree-stack-empty-p): New functions.
18935
3769ddcf
TC
18936 * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
18937 avl-tree--del-balance1 and make it work both ways.
18938 (avl-tree--del-balance2): Remove.
18939 (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
18940 make it work both ways.
18941 (avl-tree--enter-balance2): Remove.
18942 (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
18943 New macros.
18944 (avl-tree--mapc, avl-tree-map): Add direction argument.
18945
eb95d01d 189462011-05-27 David Michael <fedora.dm0@gmail.com> (tiny change)
7a6b1aef
DM
18947
18948 * files.el (interpreter-mode-alist): Add rbash (bug#8745).
18949
a9f737ee
CY
189502011-05-27 Chong Yidong <cyd@stupidchicken.com>
18951
18952 * select.el: Support clipboard managers with built-in function
18953 x-clipboard-manager-save, via delete-frame-functions and
18954 kill-emacs-hook.
18955 (xselect-convert-to-targets): Add MULTIPLE target to list.
18956 (xselect-convert-to-save-targets): New function.
18957
c92a1e54
KH
189582011-05-27 Kenichi Handa <handa@m17n.org>
18959
18960 * mail/sendmail.el (mail-encode-header): Avoid double encoding by
18961 let-binding rfc2047-encode-encoded-words to nil.
18962
e145f188
GM
189632011-05-27 Glenn Morris <rgm@gnu.org>
18964
5ec8a862
GM
18965 * mail/emacsbug.el: Don't require url-util.
18966
4b29d9fb
GM
18967 * shell.el (shell-directory-tracker): Case matters. (Bug#8735)
18968
e145f188
GM
18969 * files.el (set-auto-mode):
18970 Also respect mode: entries at the end of the file. (Bug#8586)
18971
7d15102b
GM
189722011-05-26 Glenn Morris <rgm@gnu.org>
18973
98f593b8
GM
18974 * files.el (hack-local-variables-prop-line, hack-local-variables):
18975 Downcase mode names, as seems to be traditional.
27b48e63 18976 (hack-local-variables, hack-local-variables-apply): Doc fixes.
98f593b8 18977
7d15102b
GM
18978 * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
18979 (report-emacs-bug-hook): Try to validate the From address. (Bug#8038)
18980
51d5b4ec
JD
189812011-05-25 Julien Danjou <julien@danjou.info>
18982
18983 * textmodes/rst.el (rst-define-level-faces): Do not define face
18984 symbol if it is already defined.
18985
91513f63
VB
189862011-05-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
18987
18988 * play/5x5.el (5x5-new-game, 5x5-randomize):
18989 Reset 5x5-solver-output to nil when a new grid is cast.
18990 (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
18991 these debugging traces, as defmacro breaks the compiled code.
18992
4d90d6d0
DK
189932011-05-24 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
18994
18995 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
18996
e1b90ef6
LL
189972011-05-24 Leo Liu <sdl.web@gmail.com>
18998
18999 * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
19000 (vc-bzr-sha1): Adapt.
19001
d8e4b68b 19002 * sha1.el: Remove. Function `sha1' is now builtin.
e1b90ef6
LL
19003
19004 * bindings.el: Provide sha1 feature.
19005
db0406bb 190062011-05-24 Kenichi Handa <handa@m17n.org>
b8d747b9
KH
19007
19008 * mail/sendmail.el: Require `rfc2047'.
19009 (mail-insert-from-field): Do not perform RFC2047 encoding.
19010 (mail-encode-header): New function.
19011 (sendmail-send-it): Set buffer-file-coding-system of the work
4d90d6d0
DK
19012 buffer to the return value of select-message-coding-system.
19013 Call mail-encode-header.
b8d747b9
KH
19014
19015 * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
19016
db0406bb 190172011-05-24 Sean Neakums <sneakums@zork.net> (tiny change)
7261f6ce 19018
4d90d6d0
DK
19019 * mail/supercite.el (sc-default-cite-frame):
19020 Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
7261f6ce 19021
eb8a5e9b
GM
190222011-05-24 Glenn Morris <rgm@gnu.org>
19023
f8630703
GM
19024 * progmodes/python.el (brm-menu): Declare.
19025
8831bbed
GM
19026 * emulation/viper.el (viper-set-hooks): Declare.
19027
eb8a5e9b
GM
19028 * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
19029 (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
19030 (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
19031 (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
19032 (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
19033 (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
19034
a2a25d24
SM
190352011-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
19036
19037 Add an :exit-function for completion-at-point.
19038
19039 * minibuffer.el (completion--done): New fun.
19040 (completion--do-completion): Use it. New arg `expect-exact'.
19041 (minibuffer-complete, minibuffer-complete-word): Don't output message,
19042 since completion--do-completion does it for us now.
19043 (minibuffer-force-complete): Use completion--done and
19044 completion--replace. Handle sole-completion case with more care.
19045 (minibuffer-complete-and-exit): Use new `expect-exact' arg.
19046 (completion-extra-properties): New var.
19047 (completion-annotate-function): Make obsolete.
19048 (minibuffer-completion-help): Adjust accordingly.
19049 Use completion-list-insert-choice-function.
19050 (completion-at-point, completion-help-at-point):
19051 Bind completion-extra-properties.
19052 (completion-pcm-word-delimiters): Add | (for uniquify, for example).
19053 * simple.el (completion-list-insert-choice-function): New var.
19054 (completion-setup-function): Preserve it.
19055 (choose-completion): Pay attention to it, shuffle the code a bit.
19056 (choose-completion-string): New arg `insert-function'.
19057
19058 * textmodes/bibtex.el: Convert to lexical binding.
19059 (bibtex-mode-map): Use completion-at-point.
19060 (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
19061 (bibtex-completion-at-point-function): New fun, from bibtex-complete.
19062 (bibtex-complete): Define as obsolete alias.
19063 (bibtex-complete-internal): Remove.
19064 (bibtex-format-entry): Remove unused sub-group in regexp.
19065 * shell.el (shell--command-completion-data)
19066 (shell-environment-variable-completion):
19067 * pcomplete.el (pcomplete-completions-at-point):
19068 * comint.el (comint--complete-file-name-data): Use :exit-function
19069 instead of completion-table-with-terminator so it also works for
19070 choose-completion.
19071
e44e373d
SM
190722011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
19073
4f91a816
SM
19074 * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
19075
782fc819
SM
19076 * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
19077 (bug#8710).
19078
e44e373d
SM
19079 * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
19080
381987c3
KM
190812011-05-23 Ken Manheimer <ken.manheimer@gmail.com>
19082
19083 * allout.el (allout-inhibit-auto-fill-on-headline): Create new
19084 customization variable and implement: If non-nil, auto-fill will
19085 be inhibited while on topic's header line.
19086
b776bc70
VB
190872011-05-23 Vincent Belaïche <vincentb1@users.sourceforge.net>
19088
19089 * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
d8e4b68b 19090 click on. II/ Make 5x5 multisession. III/ Ensure that random grids
b776bc70
VB
19091 always have a solution in grid size = 5 cases.
19092 (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
19093 (5x5-solver-output, 5x5-log-buffer): New vars.
19094 (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
19095 Make these variables buffer local to achieve 5x5 multi-session-ness.
19096 (5x5): Set 5x5-grid-size only if SIZE is non-negative.
19097 (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
19098 (5x5-solve-suggest): New funs.
19099 (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
19100 randomize a grid so that we ensure that there is always a solution.
19101 (5x5-make-random-grid): Allow other movement than flipping.
19102
7de88b6e
KR
191032011-05-23 Kevin Ryde <user42@zip.com.au>
19104
19105 * emacs-lisp/advice.el (ad-read-advised-function):
5a5fa834 19106 Use `function-called-at-point' as the default, if it has
7de88b6e
KR
19107 advice and passes PREDICATE.
19108
b1ef1257
SM
191092011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
19110
bbca48fe
SM
19111 * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
19112 byte-compile-lambda if it's actually a lambda.
19113
b1ef1257
SM
19114 * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
19115 Fix function quoting. Use backquote better.
19116
92a9cc65
YS
191172011-05-22 Yuanle Song <sylecn@gmail.com>
19118
19119 * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
19120 matching (Bug#8516).
19121
f0fb8059
JA
191222011-01-22 Jari Aalto <jari.aalto@cante.net>
19123
19124 * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
19125 different face (Bug#8178).
19126
d5b44c93
CY
191272011-05-22 Chong Yidong <cyd@stupidchicken.com>
19128
19129 * vc/diff-mode.el (diff-changed): Don't use terminal specs for
19130 defface (Bug#8144).
19131
79106a44
SM
191322011-05-22 Stefan Monnier <monnier@iro.umontreal.ca>
19133
9c848d8a
SM
19134 * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
19135 funcall as well (bug#8712). Warn when performing those conversions.
19136 * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
19137
79106a44
SM
19138 * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
19139
88dfa756
GM
191402011-05-22 Glenn Morris <rgm@gnu.org>
19141
19142 * files.el (hack-local-variables-prop-line): Small simplifications.
19143 (hack-local-variables, hack-local-variables-prop-line):
19144 If MODE-ONLY, return the mode, rather than just `t'.
19145
b7cf2c79
SM
191462011-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
19147
19148 * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
19149
3f1a8558
GM
191502011-05-21 Glenn Morris <rgm@gnu.org>
19151
7e4ccca3
GM
19152 * files.el (hack-local-variables-prop-line, hack-local-variables):
19153 If only interested in the mode, don't bother doing the other stuff.
19154
637d46ca
GM
19155 * image-mode.el (image-after-revert-hook):
19156 Redraw all frames on which the image is visible. (Bug#8567)
19157
973d955b
GM
19158 * dired-aux.el (dired-touch-initial): Just use current-time. (Bug#6887)
19159
3f1a8558
GM
19160 * wid-edit.el (widget-checklist-match-inline):
19161 Fix 2011-04-19 change. (Bug#8649)
19162
96479927
SM
191632011-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
19164
1dcf791f
SM
19165 * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
19166 Also allow singlespace after single-letter capitals followed by a dot.
19167
96479927
SM
19168 * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
19169 enabled. Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
19170
35fd0881
N
191712011-05-20 Nix <nix@esperi.org.uk>
19172
19173 * files.el (basic-save-buffer-2):
19174 Fix handling of break-hardlink-on-save with non-existent files.
19175
82745640
DD
191762011-05-19 Deniz Dogan <deniz@dogan.se>
19177
19178 * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
9ff90d99 19179 (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
82745640 19180
4a720484
GM
191812011-05-19 Glenn Morris <rgm@gnu.org>
19182
d1f21341
GM
19183 * progmodes/f90.el (f90-type-def-re):
19184 Handle "type, bind(c)". (Bug#8691)
19185
4a720484
GM
19186 * emacs-lisp/autoload.el (batch-update-autoloads):
19187 Set autoload-excludes by parsing loadup.el rather than Makefiles.
19188
2fb0a219
MA
191892011-05-18 Michael Albinus <michael.albinus@gmx.de>
19190
19191 * net/tramp.el (tramp-process-actions): Set "first-password-request"
19192 property for the correct connection in case of multihops.
19193
e565dd37
GM
191942011-05-18 Glenn Morris <rgm@gnu.org>
19195
c2571358 19196 * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
c136e5cd
GM
19197 * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
19198
e565dd37
GM
19199 Rationalize calendar handling of day and month abbrev-arrays.
19200 * calendar/calendar.el (calendar-customized-p): New function.
19201 (calendar-abbrev-construct, calendar-make-alist): Change what it does.
19202 (calendar-day-name-array, calendar-month-name-array): Doc fix.
19203 Add :set function.
19204 (calendar-abbrev-length, calendar-day-abbrev-array)
19205 (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
19206 (calendar-day-abbrev-array, calendar-month-abbrev-array):
19207 Elements may no longer be nil.
19208 (calendar-day-name, calendar-month-name):
19209 Update for changed nature of abbrev arrays.
19210 * calendar/diary-lib.el (diary-name-pattern):
19211 Update for changed nature of abbrev arrays.
19212 (diary-mark-entries-1): Update calendar-make-alist calls.
19213 (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
19214 * calendar/cal-html.el (cal-html-day-abbrev-array):
19215 Simply inherit from calendar-day-abbrev-array.
19216
1d99a745
SM
192172011-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
19218
19219 * progmodes/grep.el (grep-mode): Disable default
19220 compilation-directory-matcher setting (bug#8684).
19221
7c1d9aa0
MA
192222011-05-17 Michael Albinus <michael.albinus@gmx.de>
19223
19224 * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
19225 instead of "head" and "tail". There were problems with SunOS 5.9,
19226 and it performs better.
19227
3952e9d8
GM
192282011-05-17 Glenn Morris <rgm@gnu.org>
19229
2dd12e7f
GM
19230 * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
19231
e4157b9c
GM
19232 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
19233 Replace obsolete function.
19234
8e249bbd
GM
19235 * shell.el (pcomplete-parse-arguments-function): Declare.
19236
3952e9d8
GM
19237 * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
19238 (appt-display-diary, appt-display-interval, appt-prev-comp-time)
19239 (appt-check): Doc fixes.
19240 (appt-disp-window-function, appt-delete-window-function):
19241 Remove needless special case in custom :type.
19242 (appt-display-count): Default to 0, not nil.
19243 (appt-check): Reset appt-display-count to 0, not nil.
19244
c71a0d48 192452011-05-17 Juanma Barranquero <lekktu@gmail.com>
165fd2df 19246
c71a0d48
GM
19247 * progmodes/python.el (python-font-lock-keywords):
19248 Add the Python 3.X keyword "nonlocal" (bug#8639).
165fd2df 19249
31d55be9
SM
192502011-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
19251
19252 * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
19253
3bfacb2f
KR
192542011-05-16 Kevin Ryde <user42@zip.com.au>
19255
19256 * info-look.el (makefile-automake-mode): New setups, looking in
19257 automake manual, then makefile-mode.
19258 (makefile-mode): Remove automake manual, have it just in
19259 makefile-automake-mode since there's various things different or
19260 not relevant to plain make.
19261 (makefile-mode): Remove "other-modes" non-existent automake-mode,
19262 believe a hypothetical automake-mode would go to makefile-mode,
19263 not the other way around.
19264
c8e83751
CY
192652011-05-15 Chong Yidong <cyd@stupidchicken.com>
19266
5e9e35cd
CY
19267 * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
19268 hunk-end tags (Bug#8672).
19269
c8e83751
CY
19270 * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
19271 vc-annotate-show-diff-revision-at-line (Bug#8671).
19272
50b23e5a
GM
192732011-05-14 Glenn Morris <rgm@gnu.org>
19274
7210a739
GM
19275 * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
19276 in the middle of an existing one with multiple authors. (Bug#8645)
375cb676
GM
19277 (change-log-font-lock-keywords): Also handle multiple author lines
19278 with leading tabs. (Bug#8644)
7210a739 19279
4691905a
GM
19280 * calendar/appt.el (appt-check): Rename some local variables.
19281 Some simplification/reordering.
19282
50b23e5a
GM
19283 * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
19284 (feedmail-sendmail-f-doesnt-sell-me-out)
19285 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
19286 (feedmail-debug-sit-for, feedmail-queue-express-hook)
19287 (feedmail-queue-runner-message-sender): Set :version.
1aa64307
GM
19288 (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
19289 (bbdb-dwim-net-address, vm-mail): Declare.
50b23e5a
GM
19290 (feedmail-binmail-gnulinuxish-template):
19291 Rename from feedmail-binmail-linuxish-template.
19292 (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
19293 Use insert-buffer-substring.
19294
215cda7c
BC
192952011-05-14 Bill Carpenter <bill@carpenter.org>
19296
19297 * mail/feedmail.el (feedmail-patch-level): Increase.
19298 (feedmail-debug): New custom group.
19299 (feedmail-confirm-outgoing-timeout)
19300 (feedmail-sendmail-f-doesnt-sell-me-out)
19301 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
19302 (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
19303 (feedmail-sender-line, feedmail-from-line)
19304 (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
c2571358 19305 (feedmail-spray-this-address)
215cda7c
BC
19306 (feedmail-spray-address-fiddle-plex-list)
19307 (feedmail-queue-use-send-time-for-date)
19308 (feedmail-queue-use-send-time-for-message-id)
19309 (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
19310 (feedmail-buffer-eating-function):
19311 Doc fixes.
19312 (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
19313 (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
19314 (feedmail-message-action-scroll-down): New functions.
19315 (feedmail-queue-directory, feedmail-queue-draft-directory):
19316 Use expand-file-name.
19317 (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
19318 Remove C-v help entry.
19319 (feedmail-queue-buffer-file-name): New variable.
19320 (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
19321 (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
19322 (feedmail-message-action-send-strong, feedmail-message-action-edit)
19323 (feedmail-message-action-draft, feedmail-message-action-draft-strong)
19324 (feedmail-message-action-queue, feedmail-message-action-queue-strong)
19325 (feedmail-message-action-toggle-spray)
19326 (feedmail-run-the-queue-no-prompts)
19327 (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
19328 (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
19329 (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
19330 (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
19331 (feedmail-envelope-deducer, feedmail-fiddle-from)
19332 (feedmail-fiddle-sender, feedmail-default-date-generator)
19333 (feedmail-fiddle-date, feedmail-fiddle-message-id)
19334 (feedmail-fiddle-spray-address)
19335 (feedmail-fiddle-list-of-spray-fiddle-plexes)
19336 (feedmail-fiddle-list-of-fiddle-plexes)
19337 (feedmail-fill-to-cc-function, feedmail-fill-this-one)
19338 (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
19339 (feedmail-queue-runner-message-sender, feedmail-binmail-template):
19340 Change default. Doc fix.
19341 (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
19342 (feedmail-binmail-linuxish-template): New constant.
19343 (feedmail-buffer-to-sendmail): Doc fix. Add debug call.
19344 Respect feedmail-sendmail-f-doesnt-sell-me-out.
19345 (feedmail-send-it): Add debug call.
19346 Use feedmail-queue-buffer-file-name, and
19347 feedmail-send-it-immediately-wrapper.
19348 (feedmail-message-action-send): Add debug call.
19349 Use feedmail-send-it-immediately-wrapper.
19350 (feedmail-queue-express-to-queue): Add debug call.
19351 Run feedmail-queue-express-hook.
19352 (feedmail-message-action-help): Add debug call. Use feedmail-p-h-b-n.
19353 (feedmail-message-action-help-blat):
19354 Rename from feedmail-queue-send-edit-prompt-help-first.
19355 (feedmail-run-the-queue): Add debug call. Set buffer-file-type.
19356 Check line-endings. Handle errors better.
19357 (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
19358 Doc fix. Add debug call.
19359 (feedmail-queue-send-edit-prompt): Doc fix. Add debug call.
19360 Use feedmail-queue-send-edit-prompt-inner.
19361 (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
19362 (feedmail-queue-send-edit-prompt-inner): New function, extracted
19363 from feedmail-queue-send-edit-prompt.
19364 (feedmail-queue-send-edit-prompt-help)
19365 (feedmail-queue-send-edit-prompt-help-later): Remove functions.
19366 (feedmail-tidy-up-slug): Add debug call.
19367 Respect feedmail-queue-slug-suspect-regexp.
19368 (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
19369 (feedmail-dump-message-to-queue): Add debug call.
19370 Expand queue-directory.
19371 (feedmail-dump-message-to-queue): Change message slightly.
19372 Use feedmail-say-chatter.
19373 (feedmail-rfc822-date): Add debug call. Bind system-time-locale.
19374 (feedmail-send-it-immediately-wrapper): New function.
19375 (feedmail-send-it-immediately): Add debug calls. Use let not let*.
19376 Insert empty string rather than newline. Handle full-frame case.
19377 Use catch/throw. Use feedmail-say-chatter.
19378 (feedmail-fiddle-from): Try mail-host-address.
19379 (feedmail-default-message-id-generator): Doc fix.
19380 Bind system-time-locale. Handle missing end.
19381 (feedmail-fiddle-x-mailer): Add debug call.
19382 Handle feedmail-x-mailer-line being nil.
19383 (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
19384 Add debug call. Use buffer-substring-no-properties.
19385 (feedmail-say-debug, feedmail-say-chatter): New functions.
19386 (feedmail-find-eoh): Give an explicit error.
19387
42c7e61e
UJ
193882011-05-13 Ulf Jasper <ulf.jasper@web.de>
19389
c2571358 19390 * net/newst-treeview.el (newsticker-treeview-face): Change default
42c7e61e 19391 family from helvetica to sans.
c2571358 19392 (newsticker-treeview-tool-bar-map): Move tool-bar icons to
42c7e61e
UJ
19393 etc/images/newsticker.
19394
c2571358 19395 * net/newst-reader.el (newsticker-feed-face): Change default
42c7e61e
UJ
19396 family from helvetica to sans.
19397
19398 * net/newst-plainview.el (newsticker-new-item-face)
19399 (newsticker-old-item-face, newsticker-immortal-item-face)
19400 (newsticker-obsolete-item-face, newsticker-date-face)
c2571358 19401 (newsticker-statistics-face): Change default family from
42c7e61e 19402 helvetica to sans.
c2571358 19403 (newsticker--plainview-tool-bar-map): Move tool-bar icons to
42c7e61e
UJ
19404 etc/images/newsticker.
19405
5d3385a0
JB
19406 * net/newst-backend.el (newsticker--do-run-auto-mark-filter)
19407 (newsticker--process-auto-mark-filter-match): Tell user about
42c7e61e
UJ
19408 auto-marking.
19409
8497a297
DV
194102011-05-13 Didier Verna <didier@xemacs.org>
19411
19412 Common Lisp indentation improvements on defmethod and lambda-lists.
4d61f28d
JB
19413 * emacs-lisp/cl-indent.el: Advertise the changes and remove obsolete
19414 TODO entries.
8497a297
DV
19415 (lisp-lambda-list-keyword-parameter-indentation)
19416 (lisp-lambda-list-keyword-parameter-alignment)
19417 (lisp-lambda-list-keyword-alignment): New customizable user options.
19418 (lisp-indent-defun-method): Improve docstring.
19419 (extended-loop-p): Fix comment.
19420 (lisp-indent-lambda-list-keywords-regexp): New variable.
19421 (lisp-indent-lambda-list): New function.
19422 (lisp-indent-259): Use it.
19423 (lisp-indent-defmethod): Support for more than one
19424 method qualifier and properly indent methods lambda-lists.
19425 (defgeneric): Provide a missing common-lisp-indent-function property.
19426
f278f87f
SM
194272011-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
19428
19429 * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
19430 bounds for the empty string (bug#8667).
19431
5233edd7
GM
194322011-05-13 Glenn Morris <rgm@gnu.org>
19433
5237a44f
GM
19434 * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
19435
8340026c 19436 * mail/sendmail.el (sendmail-program): Try executable-find first.
f278f87f 19437 (sendmail-send-it): `sendmail-program' cannot be unbound.
8340026c 19438
5233edd7 19439 * calendar/appt.el (appt-make-list): Simplify.
4accbca6 19440 (appt-time-msg-list): Doc fix.
a5464014 19441 (appt-check): Change mode-line message at the time of the appointment.
5233edd7 19442
92d10796
AS
194432011-05-12 Andreas Schwab <schwab@linux-m68k.org>
19444
19445 * progmodes/ld-script.el (ld-script-keywords)
19446 (ld-script-builtins): Update keywords list.
19447
914a0ae1
SM
194482011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
19449
c89be45f
SM
19450 * progmodes/grep.el (grep-filter): Don't trip on partial lines.
19451
914a0ae1
SM
19452 * shell.el (shell-completion-vars): New function.
19453 (shell-mode):
19454 * simple.el (read-shell-command): Use it.
19455 (blink-matching-open): No need for " [...]" in minibuffer-message.
19456
98dc3df3
GM
194572011-05-12 Glenn Morris <rgm@gnu.org>
19458
19459 * calendar/appt.el (appt-now-displayed): Remove pointless variable.
19460 (appt-check): Simplify.
19461
d2fc7e3d 194622011-05-12 Eli Zaretskii <eliz@gnu.org>
0e39ec21 19463
4d61f28d 19464 * vc/smerge-mode.el (smerge-resolve): Use null-device rather than a
0e39ec21
EZ
19465 literal "/dev/null".
19466
d2fc7e3d 194672011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
3f254caa
SM
19468
19469 * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
19470 Fix typo.
19471
d2fc7e3d 194722011-05-12 Ralph Schleicher <rs@ralph-schleicher.de>
6eea50c7 19473
3f254caa
SM
19474 * progmodes/which-func.el (which-function):
19475 Use add-log-current-defun instead of add-log-current-defun-function,
6eea50c7
RS
19476 which might not be defined (Bug#8260).
19477
d45885f7
GM
194782011-05-12 Glenn Morris <rgm@gnu.org>
19479
19480 * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
19481 Let byte-compile-initial-macro-environment always take precedence.
19482
488086f4
SM
194832011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
19484
19485 * net/rcirc.el: Add support for SSL/TLS connections.
19486 (rcirc-server-alist): New field `encryption'.
19487 (rcirc): Check `encryption' settings.
19488 (rcirc-connect): New arg `encryption'. Use open-network-stream.
19489 Merge make-local-variable into `set'.
19490 (rcirc--connection-open-p): New function.
19491 (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
19492 the process is not a network process (e.g. running gnutls-cli).
19493 (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
19494 Make rcirc-(en|de)code-coding-system local here.
19495 (rcirc-mode): Merge make-local-variable into `set'.
19496 (rcirc-parent-buffer): Make permanent buffer-local.
19497 (rcirc-multiline-minor-mode): Don't do it here.
19498 (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
19499 there's no server buffer.
19500
7d3b9d44
GM
195012011-05-11 Glenn Morris <rgm@gnu.org>
19502
f64049c6
GM
19503 * newcomment.el (comment-kill): Prefix "unused" local.
19504
93c9df73
GM
19505 * term/w32console.el (get-screen-color): Declare.
19506
7d3b9d44
GM
19507 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
19508 Handle symbol elements of byte-compile-initial-macro-environment.
19509
9e2dd53f
LL
195102011-05-10 Leo Liu <sdl.web@gmail.com>
19511
488086f4
SM
19512 * bookmark.el (bookmark-bmenu-mode-map):
19513 Bind bookmark-bmenu-search to `/'.
8b340240 19514
9e2dd53f 19515 * mail/footnote.el: Convert to utf-8 encoding.
b4044869
LL
19516 (footnote-unicode-string, footnote-unicode-regexp): New variable.
19517 (Footnote-unicode): New function.
19518 (footnote-style-alist): Add unicode style to the list.
19519 (footnote-style): Doc fix.
9e2dd53f 19520
79b70037
GM
195212011-05-10 Jim Meyering <meyering@redhat.com>
19522
19523 Fix doubled-word typos.
19524 * international/quail.el (quail-insert-kbd-layout): and and -> and
19525 * kermit.el: and and -> and
19526 * net/ldap.el (ldap-search-internal): to to -> to
19527 * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
19528 * progmodes/js.el (js-mode): and and -> and
19529 * textmodes/artist.el (artist-move-to-xy): at at -> at
19530 (artist-draw-region-trim-line-endings): if if -> if
19531 And Safetyc -> Safety.
19532 * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
19533
b8f82dc1 195342011-05-10 Glenn Morris <rgm@gnu.org>
f1a71c6e 19535 Stefan Monnier <monnier@iro.umontreal.ca>
b8f82dc1
GM
19536
19537 * files.el (hack-one-local-variable-eval-safep):
19538 Consider "eval: (foo-mode)" to be safe. (Bug#8613)
19539
4f99f44b
GM
195402011-05-10 Glenn Morris <rgm@gnu.org>
19541
19542 * calendar/diary-lib.el (diary-list-entries-hook)
19543 (diary-mark-entries-hook, diary-nongregorian-listing-hook)
19544 (diary-nongregorian-marking-hook, diary-list-entries)
19545 (diary-include-other-diary-files, diary-mark-entries)
19546 (diary-mark-included-diary-files): Doc fixes.
19547
84f29e6b
JB
195482011-05-09 Juanma Barranquero <lekktu@gmail.com>
19549
19550 * misc.el: Require tabulated-list.el during compilation.
19551
9bedd73a
CY
195522011-05-09 Chong Yidong <cyd@stupidchicken.com>
19553
488086f4
SM
19554 * progmodes/compile.el (compilation-start):
19555 Run compilation-filter-hook for the async case too.
9bedd73a
CY
19556 (compilation-filter-hook): Doc fix.
19557
797c735c
DD
195582011-05-09 Deniz Dogan <deniz@dogan.se>
19559
19560 * wdired.el: Remove outdated installation comment. Fix usage
19561 comment.
19562
5f4b1dfe
JB
195632011-05-09 Juanma Barranquero <lekktu@gmail.com>
19564
19565 * misc.el: Implement new command `list-dynamic-libraries'.
19566 (list-dynamic-libraries--loaded-only-p): New variable.
19567 (list-dynamic-libraries--refresh): New function.
19568 (list-dynamic-libraries): New command.
19569
4c44026c
CY
195702011-05-09 Chong Yidong <cyd@stupidchicken.com>
19571
488086f4
SM
19572 * progmodes/compile.el (compilation-error-regexp-alist-alist):
19573 Fix the ant regexp to handle end-line and end-column info from jikes.
4c44026c
CY
19574 Re-introduce maven regexp. Give the ruby-Test::Unit regexp a
19575 higher priority to avoid clobbering by gnu.
19576
027f966d
CY
195772011-05-08 Chong Yidong <cyd@stupidchicken.com>
19578
19579 * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
19580 if the face has existing theme settings (Bug#8454).
19581
085f5d7d
CY
195822011-05-08 Ralph Schleicher <rs@ralph-schleicher.de>
19583
488086f4
SM
19584 * progmodes/perl-mode.el (perl-imenu-generic-expression):
19585 Only match variables declared via `my' or `our' (Bug#8261).
085f5d7d 19586
2a86a00c
RS
19587 * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
19588 special file names `.' and `..' (Bug#8259).
19589
d9c54a06
CY
195902011-05-08 Chong Yidong <cyd@stupidchicken.com>
19591
488086f4
SM
19592 * progmodes/grep.el (grep-mode-font-lock-keywords):
19593 Remove buffer-changing entries.
d9c54a06
CY
19594 (grep-filter): New function.
19595 (grep-mode): Add it to compilation-filter-hook.
19596
19597 * progmodes/compile.el (compilation-filter-hook)
19598 (compilation-filter-start): New defvars.
19599 (compilation-filter): Call compilation-filter-hook prior to
19600 updating the process mark.
19601
c4662635
SM
196022011-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
19603
19604 * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
19605
b0512a1d
EZ
196062011-05-07 Eli Zaretskii <eliz@gnu.org>
19607
605c9376
EZ
19608 * mail/sendmail.el (send-mail-function): On MS-Windows, default to
19609 mailclient-send-it even if window-system is nil. (Bug#8595)
19610
c4662635
SM
19611 * term/w32console.el (terminal-init-w32console):
19612 Call get-screen-color and use its output to set the frame
b0512a1d
EZ
19613 background-mode. (Bug#8597)
19614
d1dc2cc2
SM
196152011-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
19616
19617 Make bytecomp.el understand that defmethod defines funs (bug#8631).
19618 * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
19619 New functions.
19620 (defgeneric, eieio--defmethod): Use them.
19621 (eieio-defgeneric): Remove.
19622 (defmethod): Call defgeneric in a way visible to the byte-compiler.
19623
915d1300
GM
196242011-05-07 Glenn Morris <rgm@gnu.org>
19625
a3961c3e
GM
19626 * calendar/timeclock.el (timeclock-log-data): Remove unused local.
19627 Use let rather than let*.
19628 (timeclock-find-discrep): Remove unused local.
19629
314347b9
GM
19630 * calendar/diary-lib.el (diary-comment-start): Doc fix.
19631
915d1300
GM
19632 * calendar/appt.el (appt-time-msg-list): Doc fix.
19633
275b59b0
NF
196342011-05-06 Noah Friedman <friedman@splode.com>
19635
19636 * apropos.el (apropos-print-doc): Only use
19637 emacs-lisp-docstring-fill-column when it is bound to an integer,
19638 per that variable's documentation.
19639
6c19f744
SM
196402011-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
19641
19642 * lpr.el (print-region-1): Echo lpr-program's output, so error messages
d1dc2cc2 19643 and warnings are not silently discarded (e.g. use -d instead of -P).
6c19f744 19644
60f884b2
GM
196452011-05-06 Glenn Morris <rgm@gnu.org>
19646
5006e634
GM
19647 * calendar/appt.el (appt-message-warning-time): Doc fix.
19648 (appt-warning-time-regexp): New option.
19649 (appt-make-list): Respect appt-message-warning-time.
19650
548d0a63
GM
19651 * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
19652 New options.
19653 (diary-add-to-list): Strip comments from the displayed string.
19654 (diary-mode): Set comment-start and comment-end.
19655
60f884b2
GM
19656 * vc/diff-mode.el (smerge-refine-subst): Declare.
19657 (diff-refine-hunk): Don't require smerge-mode when compiling.
19658
989681bb
JB
196592011-05-06 Juanma Barranquero <lekktu@gmail.com>
19660
19661 * simple.el (list-processes): Return nil as the docstring says.
19662
a6bc05e1
MA
196632011-05-05 Michael Albinus <michael.albinus@gmx.de>
19664
19665 * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
19666 to "".
19667 (ange-ftp-write-region, ange-ftp-insert-file-contents)
19668 (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
19669 determining of binary transfer. (Bug#7383)
19670
23c22e9a
MA
196712011-05-05 Michael Albinus <michael.albinus@gmx.de>
19672
c4662635
SM
19673 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
19674 Fix port computation bug. (Bug#8618)
23c22e9a 19675
0bff894f
GM
196762011-05-05 Glenn Morris <rgm@gnu.org>
19677
b8296902
GM
19678 * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
19679
1f522ce8
GM
19680 * simple.el (shell-dynamic-complete-functions)
19681 (comint-dynamic-complete-functions): Declare.
19682
cf5bee67
GM
19683 * net/network-stream.el (gnutls-negotiate):
19684 * simple.el (tabulated-list-print): Fix declarations.
19685
19686 * progmodes/gud.el (syntax-symbol, syntax-point):
19687 Remove unnecessary and incorrect declarations.
19688
0bff894f 19689 * emacs-lisp/check-declare.el (check-declare-scan):
1f9f395d 19690 Handle byte-compile-initial-macro-environment in bytecomp.el.
0bff894f 19691
9869b3ae
SM
196922011-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
19693
19694 Fix earlier half-done eieio-defmethod change (bug#8338).
19695 * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
19696 Streamline and change calling convention.
19697 (defmethod): Adjust accordingly and simplify.
19698 (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
19699 new eieio--defmethod.
19700 (slot-boundp): Minor CSE simplification.
19701
9c1d5ac5
MZ
197022011-05-05 Milan Zamazal <pdm@zamazal.org>
19703
19704 * progmodes/glasses.el (glasses-separate-capital-groups): New option.
19705 (glasses-make-readable): Use glasses-separate-capital-groups.
19706
455c834e
JB
197072011-05-05 Juanma Barranquero <lekktu@gmail.com>
19708
19709 * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
19710 (warning-series): Doc fix.
19711 (display-warning): Don't try to create the buffer if we just found it.
19712
9ed7c8cb
CY
197132011-05-04 Chong Yidong <cyd@stupidchicken.com>
19714
19715 * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
19716 (autoload-find-generated-file): New function.
19717 (generate-file-autoloads): Bind generated-autoload-file to
19718 buffer-file-name.
9869b3ae
SM
19719 (update-file-autoloads, update-directory-autoloads):
19720 Use autoload-find-generated-file. If called interactively, prompt for
9ed7c8cb
CY
19721 output file (Bug#7989).
19722 (batch-update-autoloads): Doc fix.
19723
0898ca10
JB
197242011-05-04 Juanma Barranquero <lekktu@gmail.com>
19725
19726 * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
19727
31dfb76c
GM
197282011-05-04 Glenn Morris <rgm@gnu.org>
19729
f330b642
GM
19730 * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
19731 function, so it follows changes in calendar-date-style.
19732 (diary-fancy-date-matcher): New function.
19733 (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
19734 (diary-fancy-font-lock-fontify-region-function):
19735 Use diary-fancy-date-pattern as a function.
19736
31dfb76c
GM
19737 * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
19738 non-numbers for `year' etc pseudo-variables. (Bug#8583)
19739
48e79d6a
TZ
197402011-05-04 Teodor Zlatanov <tzz@lifelogs.com>
19741
19742 * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
19743 instead of positional arguments. Allow :keylist and :crlfiles
19744 arguments.
19745 (open-gnutls-stream): Call it.
19746
19747 * net/network-stream.el (network-stream-open-starttls): Adjust to
19748 call `gnutls-negotiate' with :process and :hostname arguments.
19749
dd5a5ee0
SM
197502011-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
19751
ef80fc09
SM
19752 * minibuffer.el (completion--message): New function.
19753 (completion--do-completion, minibuffer-complete)
19754 (minibuffer-force-complete, minibuffer-complete-word): Use it.
19755 (completion--do-completion): Don't ignore completion-auto-help when in
19756 icomplete-mode.
19757
dd5a5ee0
SM
19758 * whitespace.el (whitespace-trailing-regexp): Don't rely on the
19759 internal encoding (e.g. tibetan zero is not whitespace).
19760 (global-whitespace-mode): Prefer save-current-buffer.
19761 (whitespace-trailing-regexp): Remove useless save-match-data.
19762 (whitespace-empty-at-bob-regexp): Minor simplification.
19763
b7d22a83
CY
197642011-05-03 Chong Yidong <cyd@stupidchicken.com>
19765
19766 * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
19767
5192af46
AM
197682011-05-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
19769
19770 * textmodes/ispell.el (ispell-add-per-file-word-list):
cdc4a047 19771 Use `concat' to create string for insertion.
5192af46 19772
5767d190
SM
197732011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
19774
19775 * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
19776 Avoid open-line which runs post-self-insert-hook.
19777 (bibtex-fill-entry): Remove unused `end' var.
19778
bf242939
AM
197792011-05-03 Dirk Ullrich <dirk.ullrich@googlemail.com> (tiny change)
19780
5767d190
SM
19781 * textmodes/ispell.el (ispell-add-per-file-word-list):
19782 Protect against `nil' value of `comment-start' (Bug#8579).
bf242939 19783
25666126
LL
197842011-05-03 Leo Liu <sdl.web@gmail.com>
19785
19786 * isearch.el (isearch-yank-pop): New command.
5767d190 19787 (isearch-mode-map): Bind it to `M-y'.
25666126
LL
19788 (isearch-forward): Mention it.
19789
52d3c2d0
SM
197902011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
19791
1bcace58
SM
19792 * simple.el (minibuffer-complete-shell-command): Remove.
19793 (minibuffer-local-shell-command-map): Use completion-at-point.
19794 (read-shell-command): Setup completion vars here instead.
19795 (read-expression-map): Bind TAB to symbol completion.
19796
52d3c2d0
SM
19797 * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
19798 error directly rather via storing it into `results'.
19799
35813471
LL
198002011-05-02 Leo Liu <sdl.web@gmail.com>
19801
19802 * vc/diff.el: Fix description.
19803
e793a940
LMI
198042011-05-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
19805
19806 * server.el (server-eval-at): New function.
19807
8de66e05
LMI
198082011-05-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
19809
19810 * net/network-stream.el (open-network-stream): Take a :nowait
19811 parameter and pass it on to `make-network-process'.
19812 (network-stream-open-plain): Ditto.
19813
dcb79f20
AS
198142011-04-30 Andreas Schwab <schwab@linux-m68k.org>
19815
19816 * faces.el (face-spec-set-match-display): Don't match toolkit
19817 options on terminal frames.
19818
14a7fbd8
SM
198192011-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
19820
7eabc1be
SM
19821 * progmodes/pascal.el: Use lexical binding.
19822 (pascal-mode-map): Remove author preferences.
19823
14a7fbd8
SM
19824 * pcomplete.el (pcomplete-std-complete): Don't abuse
19825 completion-at-point.
19826
50f84510
JB
198272011-04-28 Juanma Barranquero <lekktu@gmail.com>
19828
6e087a44
JB
19829 * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
19830 removing code that has been dead since 1991 or so.
19831
50f84510
JB
19832 * startup.el (command-line): When warning about "_emacs", use a
19833 delayed warning to allow the user to filter it out.
19834
0ba690bd
DD
198352011-04-28 Deniz Dogan <deniz@dogan.se>
19836
19837 * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
19838 user has not joined.
19839
08abfaad
SM
198402011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
19841
19842 * pcomplete.el (pcomplete-completions-at-point): Return nil if there
19843 aren't any completions at point.
19844
638f053a
JB
198452011-04-28 Juanma Barranquero <lekktu@gmail.com>
19846
19847 * subr.el (display-delayed-warnings): New function.
19848 (delayed-warnings-hook): New variable.
19849
8fff8daa
SM
198502011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
19851
08abfaad
SM
19852 * minibuffer.el (completion-at-point, completion-help-at-point):
19853 Don't presume that a given completion-at-point-function will always
19854 use the same calling convention.
19855
8fff8daa
SM
19856 * pcomplete.el (pcomplete-completions-at-point):
19857 Obey pcomplete-ignore-case. Don't call pcomplete-norm-func unless
19858 pcomplete-seen is non-nil.
19859 (pcomplete-comint-setup): Also recognize the new comint/shell
19860 completion functions.
19861 (pcomplete-do-complete): Don't call pcomplete-norm-func unless
19862 pcomplete-seen is non-nil.
19863
841a1577 198642011-04-27 Niels Giesen <niels.giesen@gmail.com>
211ec907 19865
841a1577 19866 * calendar/icalendar.el (diary-lib): Add require statement.
211ec907 19867 (icalendar--create-uid): Read out a uid from a text-property on
841a1577 19868 the first character in the entry. This allows for code to add its
211ec907
UJ
19869 own uid to the entry.
19870 (icalendar--convert-float-to-ical): Add export of
19871 `diary-float'-entries save for those with the optional DAY
19872 argument.
19873
2a782793
DC
198742011-04-27 Daniel Colascione <dan.colascione@gmail.com>
19875
19876 * subr.el (shell-quote-argument): Use alternate escaping strategy
19877 when we spot a variable reference in a string.
19878
0438ce91
DC
198792011-04-26 Daniel Colascione <dan.colascione@gmail.com>
19880
19881 * cus-start.el (all): Define customization for debug-on-event.
19882
841a1577 198832011-04-26 Daniel Colascione <dan.colascione@gmail.com>
8f91bf93
DC
19884
19885 * subr.el (shell-quote-argument): Escape correctly under Windows.
19886
d090ed6c
SM
198872011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
19888
19889 * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
19890
bfd31217
MA
198912011-04-25 Michael Albinus <michael.albinus@gmx.de>
19892
d090ed6c
SM
19893 * net/tramp.el (tramp-process-actions): Add POS argument.
19894 Delete region between POS and (pos).
bfd31217 19895
d090ed6c
SM
19896 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
19897 Use `nil' position in `tramp-process-actions' call.
bfd31217
MA
19898 (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
19899
19900 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
19901 position in `tramp-process-actions' call.
19902
19903 * net/trampver.el: Update release number.
19904
e92f3bd3
SM
199052011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
19906
850256b5
SM
19907 * custom.el (defcustom): Obey lexical-binding.
19908
e92f3bd3
SM
19909 Fix octave-inf completion problems reported by Alexander Klimov.
19910 * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
19911 Inherit from octave-mode-syntax-table.
19912 (inferior-octave-mode): Set info-lookup-mode.
19913 (inferior-octave-completion-at-point): New function.
19914 (inferior-octave-complete): Use it and completion-in-region.
19915 (inferior-octave-dynamic-complete-functions): Use it as well, and use
19916 comint-filename-completion.
19917 * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
19918 symbol elements which shouldn't be word elements.
19919 (octave-font-lock-keywords, octave-beginning-of-defun)
19920 (octave-function-header-regexp): Adjust regexps accordingly.
19921 (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
19922
cd22b309
JB
199232011-04-25 Juanma Barranquero <lekktu@gmail.com>
19924
19925 * net/gnutls.el (gnutls-errorp): Declare before first use.
19926
8b492194
TZ
199272011-04-24 Teodor Zlatanov <tzz@lifelogs.com>
19928
19929 * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
19930 verify-error, and verify-hostname-error parameters. Check whether
cd22b309 19931 default trustfile exists before going to use it. Add missing
5a5fa834 19932 argument to gnutls-message-maybe call. Return value.
8b492194
TZ
19933 Reported by Claudio Bley <claudio.bley@gmail.com>.
19934 (open-gnutls-stream): Add usage example.
19935
19936 * net/network-stream.el (network-stream-open-starttls): Give host
19937 parameter to `gnutls-negotiate'.
19938 (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
8f91bf93 19939 * subr.el (shell-quote-argument): Escape correctly under Windows.
8b492194 19940
841a1577 199412011-04-24 Daniel Colascione <dan.colascione@gmail.com>
05842630 19942
cd22b309
JB
19943 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
19944 Use correct match group (bug#8438).
05842630 19945
3ba7869c
CY
199462011-04-24 Chong Yidong <cyd@stupidchicken.com>
19947
512e3ae1
CY
19948 * emacs-lisp/package.el (package-built-in-p): Fix typo.
19949 (package-menu--generate): New arg specifying packages to show.
19950 (package-menu-refresh, package-menu-execute, list-packages):
19951 Callers changed.
19952 (package-show-package-list): New function, replacing deleted
19953 package--list-packages (renamed because it is non-internal).
19954
19955 * finder.el (finder-list-matches): Use package-show-package-list
19956 instead of deleted package--list-packages.
19957
e92f3bd3
SM
19958 * vc/vc-annotate.el (vc-annotate-goto-line): New command.
19959 Based on a previous implementation by Juanma Barranquero (Bug#8366).
3ba7869c
CY
19960 (vc-annotate-mode-map): Bind it to RET.
19961
7031be6d
UR
199622011-04-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
19963
19964 * progmodes/etags.el (next-file): Don't use set-buffer to change
19965 buffers (Bug#8478).
19966
4ef177aa
CY
199672011-04-24 Chong Yidong <cyd@stupidchicken.com>
19968
c8d173eb
CY
19969 * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
19970
4ef177aa
CY
19971 * apropos.el (apropos-label-face): Avoid variable-pitch face.
19972 (apropos-accumulator): Doc fix.
19973 (apropos-function, apropos-macro, apropos-command)
19974 (apropos-variable, apropos-face, apropos-group, apropos-widget)
19975 (apropos-plist): Add face property.
19976 (apropos-symbols-internal): Fix indentation.
19977 (apropos-print): Simplify help, and recognize apropos-multi-type.
19978 (apropos-print-doc): Use button-type-get to extract the button's
19979 face property. Fill docstring (Bug#8352).
19980
4ffd0d6b 199812011-04-23 Juanma Barranquero <lekktu@gmail.com>
be71f810
JB
19982
19983 * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
19984
c6c32125 19985 * play/mpuz.el (mpuz-silent): Doc fix.
4ffd0d6b 19986 (mpuz-mode-map): Use mapc.
c6c32125
JB
19987 (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
19988 (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
19989 Fix typos in docstrings.
19990
58d468b4
JB
19991 * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
19992 (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
19993
6470c3c6
JB
19994 * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
19995
4ffd0d6b 199962011-04-23 Chong Yidong <cyd@stupidchicken.com>
6f21a319
CY
19997
19998 * minibuffer.el (completion--do-completion): Avoid the "Next char
19999 not unique" prompt if icomplete-mode is enabled (Bug#5849).
20000
3ad8bad0
CY
20001 * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
20002 mouse-2 into unread-command-events, it is interpreted correctly.
20003
71d73c9c 20004 * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
6395aab9 20005 (image-toggle-display): Doc fix.
71d73c9c 20006
841a1577 200072011-04-23 Stephen Berman <stephen.berman@gmx.net>
e935c6a2 20008
4ffd0d6b
GM
20009 * textmodes/page.el (what-page): Use line-number-at-pos to
20010 calculate line number (Bug#6825).
6e1dbaa9 20011
c2fb1b60
JB
200122011-04-22 Juanma Barranquero <lekktu@gmail.com>
20013
20014 * eshell/esh-mode.el (find-tag-interactive): Declare function.
20015 (eshell-find-tag): Remove `with-no-warnings', unneeded now.
20016 Pass argument NO-DEFAULT to `find-tag-interactive'.
20017
e02f48d7
JB
200182011-04-22 Juanma Barranquero <lekktu@gmail.com>
20019
20020 Lexical-binding cleanup.
20021
20022 * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
20023 (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
20024 * progmodes/ada-prj.el (ada-prj-initialize-values)
20025 (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
20026 (ada-prj-show-value):
20027 * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
20028 * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
20029 (antlr-invalidate-context-cache, antlr-options-menu-filter)
20030 (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
20031 * progmodes/bug-reference.el (bug-reference-push-button):
20032 * progmodes/fortran.el (fortran-line-length):
20033 * progmodes/glasses.el (glasses-change):
20034 * progmodes/octave-mod.el (octave-fill-paragraph):
20035 * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
20036 (python-pdbtrack-grub-for-buffer, python-sentinel):
20037 * progmodes/sql.el (sql-save-connection):
20038 * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
20039 * progmodes/xscheme.el (xscheme-enter-debugger-mode):
20040 Mark unused parameters.
20041
20042 * progmodes/compile.el (compilation--flush-directory-cache)
20043 (compilation--flush-parse, compile-internal): Mark unused parameters.
20044 (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
20045 (compilation-next-error-function): Remove unused variable `timestamp'.
20046
20047 * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
20048 (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
20049
20050 * progmodes/dcl-mode.el (dcl-end-of-command):
20051 Remove unused variable `start'.
20052 (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
20053 (dcl-option-value-basic, dcl-option-value-offset)
20054 (dcl-option-value-margin-offset, dcl-option-value-comment-line):
20055 Mark unused parameters.
20056 (dcl-save-local-variable): Remove unused variable `val'.
20057 (mode): Declare.
20058
20059 * progmodes/delphi.el (delphi-save-state, delphi-after-change):
20060 Mark unused parameters.
20061 (delphi-ignore-changes): Move before first use.
20062 (delphi-charset-token-at): Remove unused variable `start'.
20063 (delphi-else-start): Remove unused variable `if-count'.
20064 (delphi-comment-block-start, delphi-comment-block-end):
20065 Remove unused variable `kind'.
20066 (delphi-indent-line): Remove unused variable `new-point'.
20067
20068 * progmodes/ebrowse.el (ebrowse-files-list)
20069 (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
20070 Mark unused parameters. Don't quote `lambda'.
20071 (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
20072 Don't quote `lambda'.
20073 (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
20074 (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
20075 (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
20076 (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
20077 Use `ignore-errors'.
20078 (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
20079 (ebrowse-view/find-file-and-search-pattern)
20080 (ebrowse-view/find-member-declaration/definition):
20081 Rename parameter TAGS-FILE-NAME to TAGS-FILE.
20082 (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
20083 Rename parameter PREFIX-ARG to PREFIX.
20084 (ebrowse-tags-read-name): Remove unused variables `start' and
20085 `member-info'.
20086 (ebrowse-display-member-buffer): Rename variable `tags-file-name'
20087 to `tags-file'.
20088
20089 * progmodes/etags.el (local-find-tag-hook): Declare.
20090 (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
20091 Mark unused parameters.
20092
20093 * progmodes/executable.el (compilation-error-regexp-alist): Declare.
20094 (executable-interpret): Mark unused parameter.
20095
20096 * progmodes/flymake.el (flymake-process-sentinel)
20097 (flymake-after-change-function)
20098 (flymake-create-temp-with-folder-structure)
20099 (flymake-get-include-dirs-dot): Mark unused parameters.
20100 (flymake-safe-delete-directory): Remove unused variable `err'.
20101
20102 * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
20103 (speedbar-timer-fn, speedbar-line-text)
20104 (speedbar-change-expand-button-char, speedbar-delete-subblock)
20105 (speedbar-center-buffer-smartly): Declare functions.
20106 (gdb-find-watch-expression): Remove unused variable `array'.
20107 (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
20108 (gdb-starting): Mark unused parameters.
20109 (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
20110 (gdb-table-string): Remove unused variable `res'.
20111 (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
20112 (gdb-disassembly-handler-custom): Remove unused variable `pos'.
20113 (gdb-display-buffer): Remove unused variable `cur-size'.
20114
20115 * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
20116 allow lexical-binding compilation.
20117 (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
20118 (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
20119 (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
20120 Mark unused parameters.
20121 (gud-gdb-marker-filter): Remove unused variable `match'.
20122 (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
20123 lambda expressions and funcall them, instead of using `fset'.
20124
20125 * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
20126 HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
20127
20128 * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
20129 variable `header-beg'; use `let'.
20130
20131 * progmodes/icon.el (indent-icon-exp): Remove unused variables
20132 `restart', `last-sexp' and `at-do'.
20133
20134 * progmodes/js.el (js--debug): Mark unused parameter.
20135 (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
20136 (js--splice-into-items): Remove unused variable `item'.
20137 (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
20138
20139 * progmodes/make-mode.el (makefile-make-font-lock-keywords):
20140 Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
20141 (makefile-complete): Remove unused variable `try'.
20142 (makefile-fill-paragraph, makefile-match-function-end):
20143 Mark unused parameters.
20144
20145 * progmodes/octave-inf.el (inferior-octave-complete):
20146 Remove unused variable `proc'.
20147 (inferior-octave-output-digest): Mark unused parameter.
20148
20149 * progmodes/perl-mode.el (perl-calculate-indent):
20150 Remove unused variable `err'.
20151
20152 * progmodes/prolog.el (prolog-mode-keybindings-inferior)
20153 (prolog-indent-line): Mark unused parameters.
20154 (prolog-indent-line): Remove unused variable `beg'.
20155
20156 * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
20157 (reporter-dont-compact-list): Declare.
20158
20159 * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
20160 Remove unused variable `char'.
20161 (sh-debug): Mark unused parameter.
20162 (sh-get-indent-info): Remove unused variable `start'.
20163 (sh-calculate-indent): Remove unused variable `var'.
20164
20165 * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
20166 (simula-electric-keyword): Remove unused variable `null'.
20167 (simula-search-backward, simula-search-forward): Remove unused
20168 variables `begin' and `end'.
20169
20170 * progmodes/vera-mode.el (vera-guess-basic-syntax):
20171 Remove unused variable `pos'.
20172 (vera-electric-tab, vera-comment-uncomment-region):
20173 Mark unused parameters.
20174 (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
20175
7ede3b65
CY
201762011-04-22 Chong Yidong <cyd@stupidchicken.com>
20177
20178 * emacs-lisp/package.el (package--builtins, package-alist)
20179 (package-load-descriptor, package-built-in-p, package-activate)
20180 (define-package, package-installed-p)
20181 (package-compute-transaction, package-buffer-info)
20182 (package--push): Doc fix. Distinguish more clearly between
20183 version strings and version lists.
20184
121656e9
JB
201852011-04-21 Juanma Barranquero <lekktu@gmail.com>
20186
20187 Lexical-binding cleanup.
20188
20189 * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
20190 (5x5-make-mutate-best):
20191 * play/fortune.el (fortune-in-buffer):
20192 * play/gomoku.el (gomoku-init-display):
20193 * play/solitaire.el (solitaire, solitaire-do-check):
20194 * play/tetris.el (tetris-default-update-speed-function):
20195 Mark unused parameters.
20196
20197 * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
20198 (bubbles--shift): Remove unused variable `char-org'.
20199 (bubbles--set-faces): Remove unused variable `fg-col'. Simplify.
20200 (bubbles--show-images): Remove unused variable `char'.
20201
20202 * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
20203 (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
20204 (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
20205 (decipher-analyze-buffer): Use ?\s.
20206 (decipher-make-checkpoint): Remove unused variable `mapping'.
20207
20208 * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
20209
20210 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
20211 Remove unused variable `result'; use `let'.
20212
20213 * play/gametree.el (gametree-current-layout, gametree-apply-layout):
20214 Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
20215 (gametree-children-shown-p, gametree-compute-reduced-score):
20216 Use `ignore-errors'.
20217
20218 * play/handwrite.el (ps-lpr-switches): Declare.
20219 (handwrite): Remove unused variables `pmin' and `lastp'.
20220
20221 * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
20222
20223 * play/landmark.el (landmark-init-display)
20224 (landmark-update-naught-weights): Mark unused parameters.
20225 (landmark-y): Remove unused variable `noise'. Simplify.
20226 (landmark-human-plays): Remove unused variable `score'.
20227
20228 * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
20229 (mpuz-try-proposal): Remove unused variable `game'.
20230
20231 * play/zone.el (life-patterns): Declare.
20232
80f499c7
JB
202332011-04-20 Juanma Barranquero <lekktu@gmail.com>
20234
20235 * vc/vc.el (ediff-vc-internal): Declare function.
20236
024ff170
SM
202372011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
20238
c0a193ea
SM
20239 * shell.el: Use lexical-binding and std completion UI.
20240 (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
20241 (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
20242 comint-preoutput-filter-functions rather than on
20243 comint-output-filter-functions.
20244 (shell-command-completion, shell--command-completion-data)
20245 (shell-filename-completion, shell-environment-variable-completion)
20246 (shell-c-a-p-replace-by-expanded-directory): New functions.
20247 (shell-dynamic-complete-functions, shell-dynamic-complete-command)
20248 (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
20249 (shell-dynamic-complete-environment-variable): Use them.
20250 (shell-dynamic-complete-as-environment-variable)
20251 (shell-dynamic-complete-as-command): Remove.
20252 (shell-match-partial-variable): Match past point.
20253 * comint.el: Clean up use of completion-at-point-functions.
20254 (comint-completion-at-point): New function.
20255 (comint-mode): Use it completion-at-point-functions.
20256 (comint-dynamic-complete): Make it obsolete.
20257 (comint-replace-by-expanded-history-before-point): Add dry-run arg.
20258 (comint-c-a-p-replace-by-expanded-history): New function.
20259 (comint-dynamic-complete-functions)
20260 (comint-replace-by-expanded-history): Use it.
20261 * minibuffer.el (completion-table-with-terminator): Allow dynamic
20262 termination strings. Try harder to avoid second try-completion.
20263 (completion-in-region-mode-map): Disable bindings that don't work yet.
20264
2dbaa080
SM
20265 * comint.el: Use lexical-binding. Require CL.
20266 (comint-dynamic-complete-functions): Use comint-filename-completion.
20267 (comint-completion-addsuffix): Tweak custom type.
20268 (comint-filename-completion, comint--common-suffix)
20269 (comint--common-quoted-suffix, comint--table-subvert)
20270 (comint--complete-file-name-data): New functions.
20271 (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
20272 (comint-dynamic-list-filename-completions): Use them.
20273 (comint-dynamic-simple-complete): Make obsolete.
c0a193ea 20274
2dbaa080
SM
20275 * minibuffer.el (completion-in-region-mode):
20276 Keep completion-in-region-mode--predicate global.
20277 (completion-in-region--postch):
20278 Assume completion-in-region-mode--predicate is not null.
20279
c79a6f38
SM
20280 * progmodes/flymake.el (flymake-start-syntax-check-process):
20281 Obey `dir'. Simplify.
20282
024ff170
SM
20283 * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
20284 we're in VC after all.
20285
1c6c854e
CS
202862011-04-20 Christoph Scholtes <cschol2112@googlemail.com>
20287
20288 * vc/vc.el (vc-diff-build-argument-list-internal)
024ff170 20289 (vc-version-ediff, vc-ediff): New commands.
1c6c854e
CS
20290 (vc-version-diff): Use vc-diff-build-argument-list-internal.
20291
bed7f140
SM
202922011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
20293
332e62ab
SM
20294 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
20295 add sanity check.
20296
bed7f140
SM
20297 * obsolete/erc-hecomplete.el: Make obsolete.
20298 * obsolete/: Standardize obsolescence info in the header.
20299
f195c582
GM
203002011-04-20 Glenn Morris <rgm@gnu.org>
20301
20302 * calendar/solar.el (solar-horizontal-coordinates):
20303 Use the longitude argument rather than `calendar-longitude'.
20304 (solar-date-next-longitude): Remove unused locals.
20305
cb79b8c0
VJL
203062011-04-20 Vinicius Jose Latorre <viniciusjl@ig.com.br>
20307
20308 * whitespace.el: New version 13.2.1.
20309
203102011-04-20 felix <EmacsWiki> (tiny change)
20311
d8e4b68b 20312 * whitespace.el (global-whitespace-mode): Keep highlight when
cb79b8c0
VJL
20313 switching between major modes on a file.
20314
602ea69d
SM
203152011-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
20316
20317 * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
20318 (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
20319 multi-line comments as well.
20320
06b60517
JB
203212011-04-19 Juanma Barranquero <lekktu@gmail.com>
20322
20323 Lexical-binding cleanup.
20324
20325 * arc-mode.el (archive-mode-revert):
20326 * cmuscheme.el (scheme-interactively-start-process):
20327 * custom.el (custom-initialize-delay):
20328 * dnd.el (dnd-open-local-file, dnd-open-remote-url):
20329 * dos-w32.el (direct-print-region-helper, direct-print-region-function):
20330 * emacs-lock.el (emacs-lock-clear-sentinel):
20331 * ezimage.el (defezimage):
20332 * follow.el (follow-avoid-tail-recenter):
20333 * fringe.el (set-fringe-mode-1):
20334 * generic-x.el (bat-generic-mode-compile):
20335 * help-mode.el (help-info-variable, help-do-xref)
20336 (help-mode-revert-buffer):
20337 * help.el (view-emacs-todo):
20338 * iswitchb.el (iswitchb-completion-help):
20339 * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
20340 * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
20341 (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
20342 * locate.el (locate-update):
20343 * longlines.el (longlines-encode-region)
20344 (longlines-after-change-function):
20345 * outline.el (outline-isearch-open-invisible):
20346 * ps-def.el (declare-function, charset-dimension, char-width)
20347 (encode-char):
20348 * ps-mule.el (ps-mule-plot-string):
20349 * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
20350 (recentf-edit-list-select, recentf-edit-list-validate)
20351 (recentf-open-files-action):
20352 * rect.el (delete-whitespace-rectangle-line)
20353 (rectangle-number-line-callback):
20354 * register.el (window-configuration-to-register)
20355 (frame-configuration-to-register):
20356 * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
20357 * select.el (xselect-convert-to-string, xselect-convert-to-length)
20358 (xselect-convert-to-targets, xselect-convert-to-delete)
20359 (xselect-convert-to-filename, xselect-convert-to-charpos)
20360 (xselect-convert-to-lineno, xselect-convert-to-colno)
20361 (xselect-convert-to-os, xselect-convert-to-host)
20362 (xselect-convert-to-user, xselect-convert-to-class)
20363 (xselect-convert-to-name, xselect-convert-to-integer)
20364 (xselect-convert-to-atom, xselect-convert-to-identity):
20365 * subr.el (declare, ignore, process-kill-without-query)
20366 (text-clone-maintain):
20367 * terminal.el (te-get-char, te-tic-sentinel):
20368 * tool-bar.el (tool-bar-make-keymap):
20369 * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
20370 * type-break.el (type-break-mode, type-break-noninteractive-query):
20371 * view.el (View-back-to-mark):
20372 * wid-browse.el (widget-browse-action, widget-browse-widget)
20373 (widget-browse-widgets, widget-browse-sexp):
20374 * widget.el (define-widget-keywords):
20375 * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
20376 Mark unused parameters.
20377
20378 * align.el (align-adjust-col-for-rule): Mark unused parameter.
20379 (align-areas): Remove unused variable `look'.
20380 (align-region): Remove unused variables `real-end' and `pos-list'.
20381
20382 * apropos.el (apropos-score-doc): Remove unused variable `i'.
20383
20384 * bindings.el (mode-line-modified, mode-line-remote):
20385 Mark unused parameters.
20386 (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
20387
20388 * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
20389 (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
20390
20391 * comint.el (comint-history-isearch-pop-state)
20392 (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
20393 (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
20394 (comint-substitute-in-file-name): Doc fix.
20395
20396 * completion.el (cmpl-statistics-block): Mark unused parameter.
20397 (add-completions-from-tags-table, add-completions-from-lisp-buffer)
20398 (save-completions-to-file, load-completions-from-file):
20399 Remove unused local variable `e'.
20400
20401 * composite.el (compose-chars): Remove unused variable `len'.
20402 (lgstring-insert-glyph): Remove unused variable `g'.
20403 (compose-glyph-string): Remove unused variables `ascent',
20404 `descent', `lbearing' and `rbearing'.
20405 (compose-glyph-string-relative): Remove unused variables
20406 `lbearing', `rbearing' and `wadjust'.
20407 (compose-gstring-for-graphic): Remove unused variables `header',
20408 `wadjust', `xoff' and `yoff'. Use `let', not `let*'.
20409 (compose-gstring-for-terminal): Remove unused variables `header'
20410 and `nchars'. Use `let', not `let*'.
20411
20412 * cus-edit.el (Custom-set, Custom-save, custom-reset)
20413 (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
20414 (Custom-buffer-done, custom-buffer-create-internal)
20415 (custom-browse-visibility-action, custom-browse-group-tag-action)
20416 (custom-browse-variable-tag-action, custom-browse-face-tag-action)
20417 (widget-magic-mouse-down-action, custom-toggle-parent)
20418 (custom-add-parent-links, custom-toggle-hide-variable)
20419 (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
20420 (custom-toggle-hide-face, face, hook, custom-group-link-action)
20421 (custom-face-menu-create, custom-variable-menu-create, get)
20422 (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
20423 (custom-reset-standard-save-and-update): Remove unused variable `value'.
20424 (customize-apropos): Remove unused variable `tests'.
20425 (custom-group-value-create): Remove unused variable `hidden-p'.
20426 (sort-fold-case): Declare.
20427
20428 * cus-theme.el (custom-reset-standard-faces-list)
20429 (custom-reset-standard-variables-list): Declare.
20430 (customize-create-theme, custom-theme-revert, custom-theme-write)
20431 (custom-theme-choose-mode, customize-themes, custom-theme-save):
20432 Mark unused parameters.
20433
20434 * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
20435
20436 * delim-col.el (delimit-columns-max): Move defvar before first use.
20437
20438 * descr-text.el (describe-char-categories): Don't quote `lambda'.
bd0d2ee2 20439 (describe-char): Don't quote `lambda'. Mark unused parameter.
06b60517
JB
20440
20441 * desktop.el (desktop-save-buffer-p): Mark unused parameter.
20442 (auto-insert): Declare.
20443 (desktop-restore-file-buffer): Rename desktop-* parameters;
20444 mark unused ones.
20445 (desktop-create-buffer): Rename desktop-* parameters and bind them.
20446 (desktop-buffer): Rename desktop-* parameters.
20447
20448 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
20449 (dframe-reposition-frame-xemacs, dframe-help-echo)
20450 (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
20451 Mark unused parameters.
20452
20453 * dired-aux.el (backup-extract-version-start, overwrite-query)
20454 (overwrite-backup-query, rename-regexp-query)
20455 (rename-non-directory-query): Declare.
20456 (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
20457 (dired-add-entry): Remove unused variable `orig-file-name'.
20458 (dired-copy-file-recursive): Remove unused variable `dirfailed'.
20459 Use parameter PRESERVE-TIME instead of accessing dynamic variable
20460 `dired-copy-preserve-time' directly.
20461 (dired-do-create-files-regexp): Remove unused variable `fn-count'.
20462 (dired-insert-subdir-newpos): Rename unused variable `pos'.
20463
20464 * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
20465 (dired-virtual-revert, dired-make-relative-symlink):
20466 Mark unused parameters.
20467 (manual-program): Declare.
20468 (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
20469 (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
20470 wrapped in `with-no-warnings' to avoid replacing one warning by another.
20471
20472 * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
20473
20474 * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
20475
20476 * echistory.el (electric-history-in-progress, Helper-return-blurb):
20477 Declare.
20478
20479 * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
20480
20481 * electric.el (Electric-command-loop): Rename parameter
20482 INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
20483
20484 * expand.el (expand-in-literal): Remove unused variable `here'.
20485
20486 * facemenu.el (facemenu-add-new-color):
20487 Remove unused variable `docstring'.
20488
20489 * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
20490 (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
20491 (face-attr-construct): Mark unused parameter. Doc fix.
20492 (read-color): Remove unused variable `hex-string'.
20493
20494 * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
20495 (locate-dominating-file): Remove unused vars `prev-file' and `user'.
20496 (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
20497 (display-buffer-other-frame): Remove unused variable `old-window'.
20498 (kill-buffer-hook): Declare.
20499 (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
20500 Mark unused parameters.
20501 (after-find-file): Pass 1 to `auto-save-mode', not t.
20502
20503 * files-x.el (auto-insert): Declare.
20504 (modify-file-local-variable-prop-line): Remove unused variable `val'.
20505
20506 * find-lisp.el (find-lisp-find-dired-internal): Remove unused
bd0d2ee2 20507 variable `buf'. Mark unused parameter.
06b60517
JB
20508 (find-lisp-insert-directory): Mark unused parameter.
20509
20510 * format.el (format-decode-run-method): Mark unused parameter; doc fix.
20511 (format-encode-region): Remove unused variables `cur-buf' and `result'.
20512 (format-common-tail): Remove, unused.
20513 (format-deannotate-region): Remove unused variable `loc'.
20514 (format-annotate-region): Remove unused variable `p'.
20515 (format-annotate-single-property-change): Remove unused variables
20516 `default' and `tail'.
20517
20518 * forms.el (read-file-filter): Declare.
20519 (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
20520
20521 * frame.el (frame-creation-function-alist): Mark unused parameter.
20522 (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
20523
20524 * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
20525 Remove unused parameters.
20526 (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
20527 (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
20528
20529 * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
20530 (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
20531 (hfy-prepare-tag-map): Mark unused parameters.
20532 (htmlfontify-buffer): Use `called-interactively-p'.
20533
20534 * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
20535 (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
20536 (ibuffer-do-occur): Mark unused parameters.
20537 (ibuffer-forward-next-marked): Remove unused variable `curmark'.
20538 (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
20539
20540 * ibuffer.el: Don't quote `lambda'.
20541 (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
20542 (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
20543 Mark unused parameters.
20544
20545 * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
20546 (ido-completing-read): Mark unused parameters.
20547 (ido-copy-current-word): Mark unused parameters;
20548 remove unused variable `name'.
20549 (ido-sort-merged-list): Remove unused parameter `dirs'.
20550
20551 * ielm.el (ielm-input-sender): Mark unused parameter.
20552 (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
20553 (ielm-output, ielm-wbuf, ielm-pmark): Declare.
20554 (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
20555 `ielm-string' as a dynamic variable accessible from the IELM prompt.
20556 Bind `ielm-string' to INPUT-STRING. Remove unused variable `err'.
20557
20558 * image-dired.el (image-dired-display-thumbs): Remove unused
20559 variables `curr-file' and `count'.
20560 (image-dired-remove-tag): Remove unused variable `start'.
20561 (image-dired-tag-files, image-dired-create-thumbs): Remove unused
20562 variable `curr-file'
20563 (image-dired-rotate-original): Remove unused variable `temp-file'.
20564 (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
20565 Remove unused variable `file'.
20566 (image-dired-gallery-generate): Remove unused variable `curr'.
20567 (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
20568
20569 * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
20570
20571 * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
20572
20573 * informat.el (texinfo-command-start, texinfo-command-end): Declare.
20574
20575 * isearch.el (minibuffer-history-symbol): Declare.
20576 (isearch-edit-string): Remove unused variable `err'.
20577 (isearch-message-prefix, isearch-message-suffix):
20578 Mark unused parameters.
20579
20580 * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
20581
20582 * macros.el (insert-kbd-macro): Remove unused variable `mods'.
20583
20584 * makesum.el (double-column): Remove unused variable `cnt'.
20585
20586 * misearch.el (multi-isearch-pop-state): Mark unused parameter.
20587 (ido-ignore-item-temp-list): Declare.
20588
20589 * mouse-drag.el (mouse-drag-throw): Remove unused variables
20590 `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
20591 `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
20592 (mouse-drag-drag): Remove unused variables `mouse-delta' and
20593 `mouse-col-delta'.
20594
20595 * mouse-sel.el (mouse-extend-internal):
20596 Remove unused variable `orig-window-frame'.
20597
20598 * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
20599 (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
20600 Move declarations before first use.
20601 (pcomplete-opt): Mark unused parameters; doc fix.
20602
20603 * proced.el (proced-revert): Mark unused parameter.
20604 (proced-send-signal): Remove unused variable `err'.
20605
20606 * ps-print.el (ps-print-preprint-region, ps-print-preprint):
20607 Rename parameter PREFIX-ARG to ARG.
20608 (ps-basic-plot-string, ps-basic-plot-whitespace):
20609 Mark unused parameters.
20610
20611 * replace.el (replace-count): Define.
20612 (occur-revert-function): Mark unused parameters.
20613 (ido-ignore-item-temp-list, isearch-error, isearch-forward)
20614 (isearch-case-fold-search, isearch-string): Declare.
20615 (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
20616 bind `case-fold-search'. Remove unused variables `beg' and `end',
20617 and simplify.
20618 (replace-eval-replacement): Rename parameter REPLACE-COUNT to
20619 COUNT and bind `replace-count'.
20620 (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
20621 to COUNT.
20622
20623 * savehist.el (print-readably, print-string-length): Declare.
20624
20625 * shadowfile.el (shadow-expand-cluster-in-file-name):
20626 Remove unused variable `cluster'.
20627 (shadow-copy-file): Remove unused variable `i'.
20628 (shadow-noquery, shadow-clusters, shadow-site-cluster)
20629 (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
20630 (shadow-define-literal-group, shadow-define-regexp-group)
20631 (shadow-make-group, shadow-shadows-of): Clean up docstrings.
20632
20633 * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
20634 (shell): Use `called-interactively-p'.
20635 (shell-directory-tracker): Remove unused variable `chdir-failure'.
20636
20637 * simple.el (compilation-context-lines, comint-file-name-quote-list)
20638 (comint-file-name-chars, comint-delimiter-argument-list): Declare.
20639 (delete-backward-char): Remove unused variable `ocol'.
20640 (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
20641 (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
20642 (event-apply-hyper-modifier, event-apply-shift-modifier)
20643 (event-apply-control-modifier, event-apply-meta-modifier):
20644 Mark unused parameters.
20645 (undo-make-selective-list): Remove duplicate variable `undo-elt'.
20646 (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
20647
20648 * speedbar.el (speedbar-ignored-directory-expressions)
20649 (speedbar-supported-extension-expressions, speedbar-directory-buttons)
20650 (speedbar-find-file, speedbar-dir-follow)
20651 (speedbar-directory-buttons-follow, speedbar-tag-find)
20652 (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
20653 (speedbar-buffers-line-directory, speedbar-buffer-click):
20654 Mark unused parameters.
20655 (speedbar-tag-file): Remove unused variable `mode'.
20656 (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
20657
20658 * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
20659
20660 * talk.el (talk): Remove unused variable `display'.
20661
20662 * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
20663 (tar-write-region-annotate): Mark unused parameter.
20664
20665 * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
20666 (minutes, seconds, time-zone, day, year, monthname, month, dayname):
20667 Declare them, wrapped in `with-no-warnings' to avoid replacing one
20668 warning by another.
20669
20670 * time-stamp.el (time-stamp-string-preprocess):
20671 Remove unused variable `require-padding'.
20672
20673 * tree-widget.el (widget-glyph-enable): Declare.
20674 (tree-widget-action): Mark unused parameter.
20675
20676 * w32-fns.el (x-get-selection): Mark unused parameter.
20677 (autoload-make-program, generated-autoload-file): Declare.
20678
20679 * wdired.el (wdired-revert): Mark unused parameters.
20680 (wdired-xcase-word): Remove unused variable `err'.
20681
20682 * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
20683 (whitespace-help-scroll): Remove unused variable `data-help'.
20684
20685 * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
20686 (widget-image-insert, widget-after-change, default)
20687 (widget-default-format-handler, widget-default-notify)
20688 (widget-default-prompt-value, widget-info-link-action)
20689 (widget-url-link-action, widget-function-link-action)
20690 (widget-variable-link-action, widget-file-link-action)
20691 (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
20692 (widget-field-prompt-internal, widget-field-action, widget-field-match)
20693 (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
20694 (widget-insert-button-action, widget-delete-button-action, visibility)
20695 (widget-documentation-link-action, widget-documentation-string-action)
20696 (widget-const-prompt-value, widget-regexp-match, symbol)
20697 (widget-coding-system-prompt-value)
20698 (widget-key-sequence-value-to-external, sexp)
20699 (widget-sexp-value-to-internal, character, vector, cons)
20700 (widget-choice-prompt-value, widget-boolean-prompt-value)
20701 (widget-color--choose-action): Mark unused parameters.
20702 (widget-item-match-inline, widget-choice-match-inline)
20703 (widget-checklist-match, widget-checklist-match-inline)
20704 (widget-group-match): Rename parameter VALUES to VALS.
20705 (widget-field-value-set): Remove unused variable `size'.
20706 (widget-color-action): Remove unused variables `value' and `start'.
20707
20708 * windmove.el (windmove-wrap-loc-for-movement): Remove unused
bd0d2ee2 20709 variable `dir'. Doc fix.
06b60517
JB
20710 (windmove-find-other-window): Don't pass it.
20711
20712 * window.el (count-windows): Mark unused parameter.
20713 (bw-adjust-window): Remove unused variable `err'.
20714
20715 * woman.el (woman-file-name): Remove unused variable `default'.
20716 (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
20717 WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
20718 (global-font-lock-mode): Declare.
20719 (woman-decode-region): Mark unused parameter.
20720 (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
20721
20722 * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
20723 (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
20724 (x-dnd-handle-moz-url): Remove unused variable `title'.
20725 (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
20726
20727 * xml.el (xml-parse-tag, xml-parse-attlist):
20728 Remove unused variable `pos'.
20729
bc4f7f3d
GM
207302011-04-19 Glenn Morris <rgm@gnu.org>
20731
20732 * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
20733 (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
20734 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
20735 (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
20736 * calendar/cal-html.el (cal-html-insert-minical):
20737 * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
20738 (calendar-mark-date-pattern):
20739 Prefix "unused" locals.
20740
20741 * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
20742 optional argument `style'.
20743
20744 * calendar/appt.el (appt-make-list):
20745 * calendar/cal-china.el (calendar-chinese-date-string):
20746 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
20747 (diary-hebrew-yahrzeit):
20748 * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
20749 * calendar/calendar.el (calendar-generate-window):
20750 * calendar/time-date.el (time-to-days):
20751 Remove unused local variables.
20752
16a43933
CY
207532011-04-18 Chong Yidong <cyd@stupidchicken.com>
20754
20755 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
20756 glyphless-char-display table.
20757 (tabulated-list-glyphless-char-display): New var.
20758
7eed1860
SS
207592011-04-18 Sam Steingold <sds@gnu.org>
20760
20761 * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
20762 to acknowledgments.
20763
4d2d1ccd
GM
207642011-04-17 Glenn Morris <rgm@gnu.org>
20765
20766 * calendar/diary-lib.el (diary-sexp-entry):
20767 * calendar/holidays.el (holiday-sexp):
20768 Set debug-on-error rather than the removed stack-trace-on-error.
20769
239da61d
GM
207702011-04-16 Glenn Morris <rgm@gnu.org>
20771
20772 * progmodes/f90.el: Use lexical-binding.
20773 (f90-get-correct-indent): Remove unnecessary local variable `cont'.
20774
8b05752a
SM
207752011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
20776
daca8ba5
SM
20777 * mail/sendmail.el (mail-mode-map): Use completion-at-point.
20778 (mail-mode): Setup mailalias completion here instead.
20779 * mail/mailalias.el: Use lexical-binding.
20780 (pattern, mailalias-done): Declare dynamic.
20781 (mail-completion-at-point-function): New function, from mail-complete.
20782 (mail-complete): Use it.
20783 (mail-completion-expand): New function.
20784 (mail-get-names): Use it.
20785 (mail-directory, mail-directory-process, mail-directory-stream):
20786 Don't use `pattern' for lexically bound arg.
20787
6f542485
SM
20788 * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
20789
037e7c3f
SM
20790 * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
20791 (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
20792 (hfy-etags-cmd-alist): Don't eval-and-compile any more.
20793
8b05752a
SM
20794 * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
20795 (byte-save-window-excursion, byte-temp-output-buffer-setup)
20796 (byte-interactive-p): Define them again, for use when inlining
20797 old code.
20798
49093f60
JB
207992011-04-15 Juanma Barranquero <lekktu@gmail.com>
20800
20801 * loadup.el: Use `string-to-number', not `string-to-int'.
20802
b5b8e7de
SM
208032011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
20804
20805 * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
20806 gud-gdb-complete-command.
20807 (gud-gdb-completions): New function, from gud-gdb-complete-command.
20808 (gud-gdb-completion-at-point): New function.
20809 (gud-gdb-completions): Remove.
20810
f42efeb5
MA
208112011-04-14 Michael Albinus <michael.albinus@gmx.de>
20812
49093f60
JB
20813 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
20814 when the scripts fail. Use `tramp-do-file-attributes-with-ls' then.
20815 (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
20816 whether `executable-find' is bound.
f42efeb5
MA
20817
20818 * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
20819
e240cc21
SM
208202011-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
20821
20822 * minibuffer.el (completion-in-region-mode-predicate)
20823 (completion-in-region-mode--predicate): New vars.
20824 (completion-in-region, completion-in-region--postch)
20825 (completion-in-region-mode): Use them.
20826 (completion--capf-wrapper): Also return the hook function.
20827 (completion-at-point, completion-help-at-point):
20828 Adjust and provide a predicate.
c2bd2ab0
SM
20829
20830 Preserve arg names for advice of subr and lexical functions (bug#8457).
20831 * help-fns.el (help-function-arglist): Consolidate the subr and
20832 new-byte-code cases. Add argument `preserve-names' to extract names
20833 from the docstring when needed.
20834 * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
20835 (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
20836 (ad-arglist): Use help-function-arglist's new arg.
20837 (ad-definition-type): Use cond.
20838
c183f693
JB
208392011-04-13 Juanma Barranquero <lekktu@gmail.com>
20840
06641a47
JB
20841 * autorevert.el (auto-revert-handler):
20842 Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
20843 which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
20844 Don't quote lambda.
20845
c183f693
JB
20846 * image-mode.el (image-transform-set-scale):
20847 Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
20848
1e3b6001
G
208492011-04-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
20850
20851 * net/network-stream.el (network-stream-open-starttls): Only do
e9fce1ac 20852 opportunistic STARTTLS upgrades if we have built-in GnuTLS support.
1e3b6001
G
20853 Upgrades via gnutls-cli are too slow to be done opportunistically.
20854
2d6af8dd
JB
208552011-04-12 Juanma Barranquero <lekktu@gmail.com>
20856
20857 * dframe.el (dframe-current-frame): Remove spurious quote.
20858
c0749a51
GM
208592011-04-12 Glenn Morris <rgm@gnu.org>
20860
088d0d61
GM
20861 * calendar/cal-tex.el (cal-tex-end-document):
20862 Try to automatically use latin1 input if needed.
20863
c0749a51
GM
20864 * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
20865 Don't try to cons a mark onto an empty element.
20866
5c90fde0
LL
208672011-04-11 Leo Liu <sdl.web@gmail.com>
20868
20869 * ido.el (ido-buffer-internal): Allow method 'kill for virtual
20870 buffers.
20871 (ido-kill-buffer-at-head): Support killing virtual buffers.
20872
369e974d
CY
208732011-04-10 Chong Yidong <cyd@stupidchicken.com>
20874
20875 * minibuffer.el (completion-show-inline-help): New var.
20876 (completion--do-completion, minibuffer-complete)
daca8ba5
SM
20877 (minibuffer-force-complete, minibuffer-complete-word):
20878 Inhibit minibuffer messages if completion-show-inline-help is nil.
369e974d
CY
20879
20880 * icomplete.el (icomplete-mode): Bind completion-show-inline-help
20881 to avoid interference from inline help (Bug#5849).
20882
37f1c930
LL
208832011-04-10 Leo Liu <sdl.web@gmail.com>
20884
099c39a4
JB
20885 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
20886 Fix typo.
37f1c930 20887
a32d4040
CY
208882011-04-09 Chong Yidong <cyd@stupidchicken.com>
20889
20890 * image-mode.el (image-toggle-display-image): Signal an error if
20891 not in Image mode.
20892 (image-transform-mode, image-transform-resize)
20893 (image-transform-set-rotation): Doc fix.
daca8ba5 20894 (image-transform-set-resize): Delete.
a32d4040
CY
20895 (image-transform-set-scale, image-transform-fit-to-height)
20896 (image-transform-fit-to-width): Handle image-toggle-display-image
20897 and image-transform-resize directly.
20898
099c39a4 208992011-04-08 Sho Nakatani <lay.sakura@gmail.com>
d7b89879
TH
20900
20901 * doc-view.el (doc-view-fit-width-to-window)
099c39a4
JB
20902 (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
20903 New functions for fitting the shown image to the Emacs window size.
d7b89879
TH
20904 (doc-view-mode-map): Add bindings for the new functions.
20905
099c39a4 209062011-04-08 Juanma Barranquero <lekktu@gmail.com>
ddc20cdb 20907
4d61f28d 20908 * vc/vc-annotate.el (vc-annotate-show-log-revision-at-line):
ddc20cdb
JB
20909 Fix typo in docstring.
20910
3726838a
EZ
209112011-04-08 Eli Zaretskii <eliz@gnu.org>
20912
04f33f1e
EZ
20913 * files.el (file-size-human-readable): Produce one digit after
20914 decimal, like "ls -lh" does.
20915
20916 * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
20917 the file size representation.
20918
3726838a
EZ
20919 * simple.el (list-processes): If async subprocesses are not
20920 available, error out with a clear error message.
20921
cbb59342
CY
209222011-04-08 Chong Yidong <cyd@stupidchicken.com>
20923
20924 * help.el (help-form-show): New function, to be called from C.
20925 Put help-form output in a buffer named differently than *Help*.
20926
e3971c44
EZ
209272011-04-08 Eli Zaretskii <eliz@gnu.org>
20928
20929 * files.el (file-size-human-readable): New function.
20930
20931 * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
20932 computing the representation inline. Don't require `cl'.
20933
12544bbe
GM
209342011-04-08 Glenn Morris <rgm@gnu.org>
20935
a1de6c6a
GM
20936 * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
20937
3c4671f4
GM
20938 * net/browse-url.el (browse-url-firefox):
20939 Test system-type, not system-configuration.
20940
b605679c
GM
20941 * vc/log-edit.el (log-edit-empty-buffer-p): New function.
20942 (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
20943 Use log-edit-empty-buffer-p. (Bug#7598)
20944
56442f0c
GM
20945 * net/rlogin.el (rlogin-process-connection-type): Simplify.
20946 (rlogin-mode-map): Initialize in the defvar.
20947 (rlogin): Use ignore-errors.
20948
12544bbe
GM
20949 * replace.el (occur-mode-map): Some fixes for menu items.
20950
eb237b0f
AH
209512011-04-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
20952
20953 * play/morse.el (denato-region): Handle varying case. (Bug#8386)
20954
7d668f2c
CY
209552011-04-06 Chong Yidong <cyd@stupidchicken.com>
20956
e67a13ab
CY
20957 * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
20958 issuing unused warnings.
20959
20960 * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
20961 macro directly.
20962
7d668f2c
CY
20963 * simple.el: Lisp reimplement of list-processes. Based on an
20964 earlier reimplementation by Leo Liu, but using tabulated-list.el.
20965 (process-menu-mode): New major mode.
20966 (list-processes--refresh, list-processes):
20967 (process-menu-visit-buffer): New functions.
20968
20969 * files.el (save-buffers-kill-emacs): Don't assume any return
20970 value of list-processes, which is undocumented anyway.
20971
a83ec3c9
CY
209722011-04-06 Chong Yidong <cyd@stupidchicken.com>
20973
20974 * emacs-lisp/tabulated-list.el: New file.
20975
e91a96fe
CY
20976 * emacs-lisp/package.el: Use Tabulated List mode.
20977 (package-menu-mode-map): Inherit from tabulated-list-mode-map.
20978 (package-menu-mode): Derive from tabulated-list-mode. Set up the
20979 table format using Tabulated List mode variables.
20980 (package--push): New macro, replacing package-list-maybe-add.
20981 (package-menu--generate): Use package--push. Renamed from
20982 package--generate-package-list.
20983 (package-menu-refresh, list-packages): Use it.
daca8ba5 20984 (package-menu--print-info): Rename from package-print-package.
e91a96fe 20985 Return insertion data instead of inserting it directly.
099c39a4
JB
20986 (package-menu-describe-package, package-menu-execute):
20987 Use tabulated-list-get-id.
e91a96fe
CY
20988 (package-menu-mark-delete, package-menu-mark-install)
20989 (package-menu-mark-unmark, package-menu-backup-unmark)
099c39a4
JB
20990 (package-menu-mark-obsolete-for-deletion):
20991 Use tabulated-list-put-tag.
e91a96fe
CY
20992 (package--list-packages, package-menu-revert)
20993 (package-menu-get-package, package-menu-get-version)
20994 (package-menu-sort-by-column): Functions deleted.
20995 (package-menu-package-list, package-menu-sort-key): Vars deleted.
20996 (package-menu--status-predicate, package-menu--version-predicate)
20997 (package-menu--name-predicate)
20998 (package-menu--description-predicate): Handle arguments in the
20999 Tabulated List format.
21000 (package-list-packages-no-fetch): Call list-packages.
21001
3e214b50
JB
210022011-04-06 Juanma Barranquero <lekktu@gmail.com>
21003
21004 * files.el (after-find-file-from-revert-buffer): Remove variable.
c9d0ec6d 21005 (after-find-file): Don't bind it.
3e214b50
JB
21006 (revert-buffer-in-progress-p): New variable.
21007 (revert-buffer): Bind it.
21008 Pass nil for `after-find-file-from-revert-buffer'.
21009
21010 * saveplace.el (save-place-find-file-hook): Use new variable
21011 `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
21012
3f0f1700
GM
210132011-04-06 Glenn Morris <rgm@gnu.org>
21014
c0274801
GM
21015 * Makefile.in (AUTOGEN_VCS): New variable.
21016 (autoloads): Use $AUTOGEN_VCS.
21017
3f0f1700
GM
21018 * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
21019 * calendar/calendar.el (calendar-mode-map):
21020 Check for toolkit scroll bars. (Bug#8305)
21021
41ea9e48
CY
210222011-04-05 Chong Yidong <cyd@stupidchicken.com>
21023
21024 * minibuffer.el (completion-in-region--postch)
21025 (completion-in-region-mode): Remove unnecessary messages.
21026
6194c800
JB
210272011-04-05 Juanma Barranquero <lekktu@gmail.com>
21028
33256f14
JB
21029 * font-lock.el (font-lock-refresh-defaults):
21030 Don't bind `hi-lock--inhibit-font-lock-hook', removed in
21031 2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
21032
6194c800
JB
21033 * info.el (Info-directory-list, Info-read-node-name-2)
21034 (Info-split-parameter-string): Doc fixes.
21035 (Info-virtual-nodes): Reflow docstring.
21036 (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
21037 (Info-apropos-toc-nodes, info-finder, Info-get-token)
21038 (Info-find-emacs-command-nodes, Info-speedbar-key-map):
21039 Fix typos in docstrings.
21040 (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
21041 (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
21042 (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
21043 (Info-restore-desktop-buffer): Mark unused parameters.
21044 (Info-directory-find-file, Info-directory-find-node)
21045 (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
21046 (Info-virtual-index-find-node, Info-apropos-find-file)
21047 (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
33256f14 21048 Mark unused parameters; fix typos in docstrings.
6194c800
JB
21049 (Info-virtual-index): Remove unused local variable `nodename'.
21050
b87a8200 210512011-04-05 Deniz Dogan <deniz@dogan.se>
0f6ee7d2 21052
b87a8200
DD
21053 * net/rcirc.el: Update my e-mail address.
21054 (rcirc-mode-map): Remove M-o binding.
0f6ee7d2 21055
3b2ff876
CY
210562011-04-05 Chong Yidong <cyd@stupidchicken.com>
21057
21058 * startup.el (command-line): Save the cursor's theme-face
21059 directly, instead of using face-override-spec.
21060
21061 * custom.el (load-theme): Minor optimization in assigning faces.
21062
8d17e7ca
JB
210632011-04-04 Juanma Barranquero <lekktu@gmail.com>
21064
21065 * help-fns.el (describe-variable): Complete all variables having
21066 documentation, including keywords.
21067 http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
21068
2fbc1934
JB
210692011-04-04 Juanma Barranquero <lekktu@gmail.com>
21070
21071 Convert to lexical-binding.
21072
21073 * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
21074 (bs--get-marked-string, bs--get-modified-string)
21075 (bs--get-readonly-string, bs--get-size-string, bs--get-name)
21076 (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
21077 (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
21078
21079 * ehelp.el (electric-help-execute-extended)
21080 (electric-help-ctrl-x-prefix):
21081 * hexl.el (hexl-revert-buffer-function):
21082 * linum.el (linum-after-change, linum-after-scroll):
21083 * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
21084
21085 * help-fns.el (help-describe-category-set): Remove unused ERR variable.
21086
74f50695
DU
210872011-04-04 Daiki Ueno <ueno@unixuser.org>
21088
21089 * epa-dired.el:
21090 * epa-mail.el:
21091 * epa-hook.el:
21092 * epa-file.el:
21093 * epa.el:
21094 * epg.el: Use lexical binding.
21095
c11325f7
CY
210962011-04-03 Chong Yidong <cyd@stupidchicken.com>
21097
0d9e9a12
CY
21098 * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
21099
c11325f7 21100 * textmodes/flyspell.el (flyspell-word): Recognize default
daca8ba5
SM
21101 dictionary case for flyspell-mark-duplications-exceptions.
21102 Use regexp matching for languages.
c11325f7
CY
21103 (flyspell-mark-duplications-exceptions): Add "that" and "had" for
21104 default dictionary (Bug#7926).
21105
da91b5f2
CY
211062011-04-02 Chong Yidong <cyd@stupidchicken.com>
21107
099c39a4
JB
21108 * emacs-lisp/package.el (package--with-work-buffer):
21109 Recognize https URLs.
da91b5f2 21110
099c39a4
JB
21111 * net/network-stream.el: Move from gnus/proto-stream.el.
21112 Change prefix to network-stream throughout.
da91b5f2
CY
21113 (open-protocol-stream): Merge into open-network-stream, leaving
21114 open-protocol-stream as an alias. Handle nil BUFFER args.
21115
21116 * subr.el (open-network-stream): Move to net/network-stream.el.
21117
afa8e9f6
GM
211182011-04-02 Glenn Morris <rgm@gnu.org>
21119
1d2e369d
GM
21120 * find-dired.el (find-exec-terminator): New option.
21121 (find-ls-option): Test for -ls support.
21122 (find-ls-subdir-switches): Test for -b in find-ls-option.
21123 (find-dired, find-grep-dired): Doc fixes.
21124 (find-dired): Use find-exec-terminator.
21125
8abb7da8 21126 * find-dired.el (find-ls-option, find-ls-subdir-switches)
e7a395b5
GM
21127 (find-grep-options): Do not autoload these defcustoms, remove purecopy.
21128 (find-name-arg): Remove purecopy.
8abb7da8 21129
f3ca7378
GM
21130 * progmodes/grep.el (grep-find-use-xargs): Doc fix.
21131 (grep-compute-defaults): Check for `-exec COMMAND +' support.
21132 Set grep-find-use-xargs, grep-find-command, and grep-find-template
21133 accordingly. Don't add the null-device if not needed.
21134
afa8e9f6
GM
21135 * files.el (save-some-buffers): Doc fix.
21136
35eae264
EZ
211372011-04-02 Eli Zaretskii <eliz@gnu.org>
21138
21139 * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
21140
26b51db5
JB
211412011-04-01 Juanma Barranquero <lekktu@gmail.com>
21142
21143 * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
21144 Use `dolist' rather than `mapcar'.
21145
7200d79c
SM
211462011-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
21147
03408648 21148 Add lexical binding.
7200d79c 21149
03408648
SM
21150 * subr.el (apply-partially): Use new closures rather than CL.
21151 (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
21152 (dolist, dotimes): Use slightly different expansion for lexical code.
21153 (functionp): Move to C.
21154 (letrec): New macro.
21155 (with-wrapper-hook): Use it and apply-partially instead of CL.
21156 (eval-after-load): Preserve lexical-binding.
21157 (save-window-excursion, with-output-to-temp-buffer): Turn them
21158 into macros.
7200d79c 21159
03408648
SM
21160 * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
21161
21162 * help-fns.el (help-split-fundoc): Return nil if there's nothing else
21163 than the arglist.
21164 (help-add-fundoc-usage): Don't add `Not documented'.
21165 (help-function-arglist): Handle closures, subroutines, and new
21166 byte-code-functions.
21167 (help-make-usage): Remove leading underscores.
21168 (describe-function-1): Handle closures.
21169 (describe-variable): Use special-variable-p for completion.
21170
21171 * files.el (lexical-binding): Declare safe.
f488fb65 21172
03408648
SM
21173 * emacs-lisp/pcase.el: Don't use destructuring-bind.
21174 (pcase--memoize): Rename from pcase-memoize. Change weakness.
21175 (pcase): Add `let' pattern.
21176 Change memoization so it actually works.
21177 (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
21178 (pcase--u1) <guard, pred>: Fix possible shadowing problem.
21179 <let>: New case.
f488fb65 21180
03408648
SM
21181 * emacs-lisp/macroexp.el: Use lexical binding.
21182 (macroexpand-all-1): Check obsolete macros. Expand compiler-macros.
21183 Don't convert ' to #' without checking that it's indeed quoting
21184 a lambda.
21185
21186 * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
f488fb65 21187 Use eval-sexp-add-defvars.
03408648
SM
21188 (eval-sexp-add-defvars): New fun.
21189
21190 * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
21191
21192 * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
21193 Don't autoload.
21194 (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
21195 than the internal `byte-compile-lambda'.
21196 (defmethod): Don't hide code under quotes.
21197 (eieio-defmethod): New `code' argument.
21198
21199 * emacs-lisp/eieio-comp.el: Remove.
21200
21201 * emacs-lisp/edebug.el (edebug-eval-defun)
21202 (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
21203 (edebug-toggle): Avoid `eval'.
21204
21205 * emacs-lisp/disass.el (disassemble-internal): Handle new
21206 `closure' objects.
21207 (disassemble-1): Handle new byte codes.
21208
21209 * emacs-lisp/cl.el (pushnew): Silence warning.
21210
21211 * emacs-lisp/cl-macs.el (cl-byte-compile-block)
21212 (cl-byte-compile-throw): Remove.
21213 (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
21214
21215 * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
21216 closures.
21217
21218 * emacs-lisp/cconv.el: New file.
21219
21220 * emacs-lisp/bytecomp.el: Use lexical binding instead of
21221 a "bytecomp-" prefix. Macroexpand everything as a separate phase.
21222 (byte-compile-initial-macro-environment):
21223 Handle declare-function here.
21224 (byte-compile--lexical-environment): New var.
21225 (byte-stack-ref, byte-stack-set, byte-discardN)
21226 (byte-discardN-preserve-tos): New lap codes.
21227 (byte-interactive-p): Don't use any more.
21228 (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
21229 New macros.
21230 (byte-compile-lapcode): Use them and handle new lap codes.
21231 (byte-compile-obsolete): Remove.
21232 (byte-compile-arglist-signature): Handle new byte-code arg"lists".
21233 (byte-compile-arglist-warn): Check late def of inlinable funs.
21234 (byte-compile-cl-warn): Don't silence warnings for compiler-macros
21235 since they should have been expanded by now.
21236 (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
21237 (byte-compile-from-buffer): Remove unused second arg.
21238 (byte-compile-preprocess): New function.
21239 (byte-compile-toplevel-file-form): New function to distinguish
21240 file-form calls from outside from file-form calls from hunk-handlers.
21241 (byte-compile-file-form): Simplify.
21242 (byte-compile-file-form-defsubst): Remove.
21243 (byte-compile-file-form-defmumble): Simplify now that
21244 byte-compile-lambda always returns a byte-code-function.
21245 (byte-compile): Preprocess.
21246 (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
21247 Remove, not used any more.
21248 (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
21249 (byte-compile-make-args-desc): New funs.
21250 (byte-compile-lambda): Handle lexical functions. Always return
21251 a byte-code-function.
21252 (byte-compile-reserved-constants): New var, to make up room for
21253 closed-over variables.
21254 (byte-compile-constants-vector): Obey it.
21255 (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
21256 (byte-compile-macroexpand-declare-function): New function.
21257 (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
21258 byte-code-functions.
21259 (byte-compile-form): Check obsolescence here.
21260 (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
21261 (byte-compile-variable-ref): Remove.
21262 (byte-compile-dynamic-variable-op): New fun.
21263 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
21264 (byte-compile-variable-set): New funs.
21265 (byte-compile-discard): Add 2 args.
21266 (byte-compile-stack-ref, byte-compile-stack-set)
21267 (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
21268 (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
21269 macroexpand-all instead.
21270 (byte-compile-quote-form): Remove.
21271 (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
21272 (byte-compile-bind, byte-compile-unbind): New funs.
21273 (byte-compile-let): Handle let* and lexical binding.
21274 (byte-compile-let*): Remove.
21275 (byte-compile-catch, byte-compile-unwind-protect)
21276 (byte-compile-track-mouse, byte-compile-condition-case):
21277 Handle a new :fun-body form, used for lexical scoping.
21278 (byte-compile-save-window-excursion)
21279 (byte-compile-with-output-to-temp-buffer): Remove.
21280 (byte-compile-defun): Simplify.
21281 (byte-compile-stack-adjustment): New fun.
21282 (byte-compile-out): Use it.
21283 (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
21284
21285 * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
21286 handler any more.
21287
21288 * emacs-lisp/byte-opt.el: Use lexical binding.
21289 (byte-inline-lapcode): Remove (to bytecomp).
21290 (byte-compile-inline-expand): Pay attention to inlining to/from
21291 lexically bound code.
21292 (byte-compile-unfold-lambda): Don't handle byte-code-functions
21293 any more.
21294 (byte-optimize-form-code-walker): Don't handle save-window-excursion
21295 any more and don't call compiler-macros.
21296 (byte-compile-splice-in-already-compiled-code): Remove.
21297 (byte-code): Don't inline any more.
21298 (disassemble-offset): Receive `bytes' as argument rather than via
21299 dynamic scoping.
21300 (byte-compile-tag-number): Declare before first use.
21301 (byte-decompile-bytecode-1): Handle new byte-codes, don't change
21302 `return' even if make-spliceable.
21303 (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
21304 obsolete interactive-p.
21305 (byte-optimize-lapcode): Optimize new lap-codes.
21306 Don't trip up on new form of `byte-constant' lap code.
21307
21308 * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
21309
21310 * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
21311
21312 * custom.el (custom-initialize-default, custom-declare-variable):
21313 Use `defvar'.
21314
21315 * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
21316 New variables.
21317 (compile-onefile, .el.elc, compile-calc, recompile): Use them.
21318 (COMPILE_FIRST): Add macroexp and cconv.
21319 * makefile.w32-in: Mirror changes in Makefile.in.
21320
21321 * vc/cvs-status.el:
21322 * vc/diff-mode.el:
21323 * vc/log-edit.el:
21324 * vc/log-view.el:
21325 * vc/smerge-mode.el:
21326 * textmodes/bibtex-style.el:
090bd7cb 21327 * textmodes/css-mode.el:
03408648
SM
21328 * startup.el:
21329 * uniquify.el:
da91b5f2
CY
21330 * minibuffer.el:
21331 * newcomment.el:
21332 * reveal.el:
21333 * server.el:
21334 * mpc.el:
21335 * emacs-lisp/smie.el:
21336 * doc-view.el:
21337 * dired.el:
03408648
SM
21338 * abbrev.el: Use lexical binding.
21339
0f0c1f27
EZ
213402011-04-01 Eli Zaretskii <eliz@gnu.org>
21341
21342 * info.el (info-display-manual): New function.
21343
c82b2579
SM
213442011-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
21345
21346 * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
21347
221ddf68
TH
213482011-03-31 Tassilo Horn <tassilo@member.fsf.org>
21349
21350 * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
2fbc1934 21351 an entry for that server in rcirc-authinfo. (Bug#8385)
221ddf68 21352
cba6e77e
GM
213532011-03-31 Glenn Morris <rgm@gnu.org>
21354
e040639f
GM
21355 * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
21356
cba6e77e
GM
21357 * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
21358
6d0f1c9e
CS
213592011-03-30 Christoph Scholtes <cschol2112@googlemail.com>
21360
21361 * progmodes/python.el (python-default-interpreter)
21362 (python-python-command-args, python-jython-command-args)
21363 (python-which-shell, python-which-args, python-which-bufname)
21364 (python-file-queue, python-comint-output-filter-function)
21365 (python-toggle-shells, python-shell): Remove obsolete defcustoms,
21366 variables and functions.
21367
3e2d70fd
SM
213682011-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
21369
21370 * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
21371 (completion-in-region-mode): New minor mode.
21372 (completion-in-region): Use it.
21373 (completion-in-region--data, completion-in-region-mode-map): New vars.
21374 (completion-in-region--postch): New function.
21375 (completion--capf-misbehave-funs, completion--capf-safe-funs):
21376 New vars.
21377 (completion--capf-wrapper): New function.
21378 (completion-at-point): Use it to track well-behavedness of
21379 hook functions.
21380 (completion-help-at-point): New command.
21381
f3e4086c
JM
213822011-03-30 Jason Merrill <jason@redhat.com> (tiny change)
21383
21384 * vc/add-log.el (add-change-log-entry): Don't use whitespace
21385 syntax class to search for whitespace on a single line
21386 (Message-ID: <4D938140.4030905@redhat.com>).
21387
eb7ffc14
LL
213882011-03-30 Leo Liu <sdl.web@gmail.com>
21389
21390 * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
21391 New commands.
21392 (edit-abbrevs-map): Bind them here.
21393 (write-abbrev-file): New optinal arg VERBOSE. (Bug#5937)
21394
d806ab68
KM
213952011-03-29 Ken Manheimer <ken.manheimer@gmail.com>
21396
21397 * allout.el (allout-hide-by-annotation, allout-flag-region):
21398 Reduce possibility of overlay leakage by making them volatile.
21399
21400 * allout-widgets.el (allout-widgets-tally): Define as nil so the
21401 hash is not shared between buffers. Mode initialization is
21402 responsible for giving it a useful starting value.
21403 (allout-item-span): Reduce possibility of overlay leakage by
21404 making them volatile.
21405 (allout-widgets-count-buttons-in-region): Add diagnostic function
21406 for tracking down button overlay leaks.
21407
ea622834
LL
214082011-03-29 Leo Liu <sdl.web@gmail.com>
21409
21410 * ido.el (ido-read-internal): Use the default history var
21411 minibuffer-history if no HISTORY is specified.
21412
b62f8267
G
214132011-03-28 Brian T. Sniffen <bsniffen@akamai.com> (tiny change)
21414
03408648
SM
21415 * net/imap.el (imap-shell-open, imap-process-connection-type):
21416 Use imap-process-connection-type for 'shell' streams as well as
b62f8267
G
21417 Kerberos, SSL, other subprocesses.
21418
947b6566
LL
214192011-03-28 Leo Liu <sdl.web@gmail.com>
21420
21421 * abbrev.el (abbrev-table-empty-p): New function.
21422 (prepare-abbrev-list-buffer): Place empty abbrev tables after
21423 nonempty ones. (Bug#5937)
21424
5ffb62aa
JD
214252011-03-27 Jan Djärv <jan.h.d@swipnet.se>
21426
21427 * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
21428
7a097943
LL
214292011-03-27 Leo Liu <sdl.web@gmail.com>
21430
21431 * ansi-color.el (ansi-color-names-vector): Allow cons cell value
21432 for foreground and background colors.
21433 (ansi-color-make-color-map): Adapt.
21434
c5b40130
LL
214352011-03-25 Leo Liu <sdl.web@gmail.com>
21436
1f48f7d2
LL
21437 * midnight.el (midnight-time-float): Remove. Note it calculates
21438 the microsecond component incorrectly and seconds-to-time does the
21439 same job.
625897ec 21440 Remove redundant (require 'timer).
1f48f7d2 21441
c5b40130
LL
21442 * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
21443 (ido-completions): Remove unused arguments. (Bug#8329)
21444
d86d2721
SM
214452011-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
21446
21447 * minibuffer.el (completion--flush-all-sorted-completions):
21448 Remove itself from hook.
21449 (completion-at-point): Let the functions perform the completion
21450 immediately and return nil or t.
21451 * comint.el (comint-dynamic-complete-functions): Now identical to
21452 completion-at-point-functions.
21453 (comint-dynamic-list-input-ring): Remove unused var `index'.
21454 (comint--match-partial-filename, comint--unquote&expand-filename):
21455 New funs, split from comint-match-partial-filename.
21456 (comint-dynamic-complete): Use completion-at-point.
21457 (comint-dynamic-complete-filename): Use comint--match-partial-filename.
21458
e8974c48
DA
214592011-03-24 Drew Adams <drew.adams@oracle.com>
21460
21461 * thingatpt.el: Support `defun'.
21462
def71b5e
LL
214632011-03-23 Leo Liu <sdl.web@gmail.com>
21464
cb5af48e
LL
21465 * abbrevlist.el: Move to obsolete/abbrevlist.el.
21466
def71b5e
LL
21467 * help-mode.el (help-mode-finish): Tweak regexp.
21468
927c53e7
GM
214692011-03-23 Glenn Morris <rgm@gnu.org>
21470
18d05bed
GM
21471 * eshell/esh-opt.el (eshell-eval-using-options):
21472 Do not bind unused local variable `eshell-option-stub'.
21473
927c53e7
GM
21474 * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
21475
9d0da923
JB
214762011-03-22 Juanma Barranquero <lekktu@gmail.com>
21477
21478 * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
21479 keymap variable in `with-no-warnings' to avoid a warning when the
21480 keymap has been already `defconst'ed.
21481
4b978a67
LL
214822011-03-22 Leo Liu <sdl.web@gmail.com>
21483
21484 * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
21485 encode all chars in abbrevs; otherwise use emacs-mule or
21486 utf-8-emacs. (Bug#8308)
21487
5fd62452
JB
214882011-03-22 Juanma Barranquero <lekktu@gmail.com>
21489
0b1596c6
JB
21490 * simple.el (backward-delete-char-untabify):
21491 Avoid warning about using `delete-backward-char'.
21492
5fd62452
JB
21493 * image.el (image-type-file-name-regexps): Make it variable.
21494 `imagemagick-register-types' modifies it, and the user may want
21495 to add new extensions for known image types.
21496 (imagemagick-register-types): Throw error if not using ImageMagick.
21497
0b4e93f1
LL
214982011-03-22 Leo Liu <sdl.web@gmail.com>
21499
21500 * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
21501 located before rcirc-prompt-end-marker.
21502 (rcirc-complete): Error if point is not after rcirc prompt.
21503 Handle the case when table is nil.
9882e214 21504 (rcirc-user-authenticated): Define to fix compiler warning.
0b4e93f1 21505
fccee4ab
CY
215062011-03-22 Chong Yidong <cyd@stupidchicken.com>
21507
21508 * custom.el (custom--inhibit-theme-enable): Make it affect only
21509 custom-theme-set-variables and custom-theme-set-faces.
21510 (provide-theme): Ignore custom--inhibit-theme-enable.
21511 (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
21512 (custom-enabling-themes): Delete variable.
d86d2721
SM
21513 (enable-theme): Accept only loaded themes as arguments.
21514 Ignore the special custom-enabled-themes variable.
fccee4ab
CY
21515 (custom-enabled-themes): Forbid themes from setting this.
21516 Eliminate use of custom-enabling-themes.
21517 (custom-push-theme): Quote "changed" custom var entry.
0357c7ae 21518
af896da6
LL
215192011-03-21 Leo Liu <sdl.web@gmail.com>
21520
21521 * ido.el (ido-read-internal): Add ido-selected to history instead
21522 of user input.
21523
78f64af0
SM
215242011-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
21525
21526 * subr.el (deferred-action-list, deferred-action-function):
21527 Mark obsolete.
21528
b16ac1ec
LL
215292011-03-21 Leo Liu <sdl.web@gmail.com>
21530
810f7698
LL
21531 * vc/log-view.el: Remove (require 'wid-edit), not needed after the
21532 change on 2011-02-13 (bug#8309).
21533
b16ac1ec
LL
21534 * minibuffer.el (read-file-name-function): Change default value.
21535 (read-file-name--defaults): Rename from read-file-name-defaults.
21536 (read-file-name-default): Rename from read-file-name.
21537 (read-file-name): Call read-file-name-function.
21538
4e05e67e
GM
215392011-03-21 Glenn Morris <rgm@gnu.org>
21540
21541 * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
21542 Doc fixes.
21543
4359915b
CY
215442011-03-21 Chong Yidong <cyd@stupidchicken.com>
21545
21546 * cus-theme.el: Add missing provide statement.
21547 (customize-create-theme): Extract theme value correctly.
21548 (custom-theme-visit-theme): Autoload.
21549 (customize-create-theme): Prompt before inserting default faces.
21550
1fe275ee
JB
215512011-03-20 Jay Belanger <jay.p.belanger@gmail.com>
21552
21553 * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
21554 units and musical notes.
21555
cd394be1 215562011-03-20 Leo Liu <sdl.web@gmail.com>
3ec03f7e
LL
21557
21558 * ido.el (ido-read-internal): Use completing-read-default.
21559 (ido-completing-read): Fix compatibility with completing-read.
21560
7d476bde
CO
215612011-03-20 Christian Ohler <ohler@gnu.org>
21562
21563 * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
21564 (ert-delete-all-tests): Use `called-interactively-p' rather than
21565 `interactive-p'.
21566 (ert--make-xrefs-region): Respect END.
21567
fe0fb33e
CY
215682011-03-19 Chong Yidong <cyd@stupidchicken.com>
21569
ff854b0b
CY
21570 * dired-aux.el (dired-create-directory): Signal an error if the
21571 directory already exists (Bug#8246).
21572
fe0fb33e
CY
21573 * facemenu.el (list-colors-display): Call list-faces-display
21574 inside with-help-window.
21575 (list-colors-print): Use display property to align the final
21576 column, instead of checking window-width.
21577
576bce32
EZ
215782011-03-19 Eli Zaretskii <eliz@gnu.org>
21579
4d61f28d 21580 * vc/emerge.el (emerge-metachars): Separate value for ms-dos and
576bce32
EZ
21581 windows-nt systems.
21582 (emerge-protect-metachars): Quote correctly for ms-dos and
21583 windows-nt systems.
21584
89c41d68 215852011-03-19 Ralph Schleicher <rs@ralph-schleicher.de>
e6ce307c
RS
21586
21587 * info.el (info-initialize): Replace all uses of `:' with
21588 path-separator for compatibility with non-Unix systems.
21589 Cache quoting of path-separator. (Bug#8258)
21590
b14e3e21 215912011-03-19 Juanma Barranquero <lekktu@gmail.com>
ad22b7f7
JB
21592
21593 * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
21594 (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
21595 (mouse-avoidance-mode): Fix typos in docstrings.
21596
4525ce3e
CY
215972011-03-19 Chong Yidong <cyd@stupidchicken.com>
21598
21599 * startup.el (package-subdirectory-regexp): Move from package.el.
21600 Omit \\` and \\', and let callers add them.
21601
21602 * emacs-lisp/package.el (package-strip-version)
21603 (package-load-all-descriptors): Add \\` and \\' to
21604 package-subdirectory-regexp before using it.
21605 (package-untar-buffer): New arg DIR; ensure that file untars only
21606 into this expected directory. Remove superfluous delete-region.
21607 (package-unpack): Caller changed.
21608 (package-tar-file-info): Use package-subdirectory-regexp.
21609
a904a09a 216102011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
1518e4f0 21611
a904a09a
SM
21612 * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
21613 diff-mode-shared-map (bug#8284).
21614 (diff-mode-shared-map): Re-introduce some bindings that were problematic.
1518e4f0
G
21615
216162011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
21617
21618 * calendar/time-date.el (format-seconds): Use assoc instead of
21619 assoc-string, since assoc-string doesn't exist in XEmacs.
21620
171fc304
JB
216212011-03-17 Juanma Barranquero <lekktu@gmail.com>
21622
21623 * custom.el (custom-known-themes): Reflow docstring.
21624 (custom-theme-load-path): Fix typo in docstring.
21625 (load-theme): Fix typo in error message.
21626 (custom-available-themes, custom-variable-theme-value):
21627 Use `let', not `let*'.
21628
d71990a1
JB
216292011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
21630
21631 * calc/README: Mention inclusion of musical notes.
21632
21633 * calc/calc-units.el (calc-lu-quant): Rename from
21634 `calc-logunits-quantity'.
21635 (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
21636 (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
21637 (calc-db): Rename from `calc-dblevel'.
21638 (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
21639 (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
21640 (calc-np): Rename from `calc-nplevel'.
21641 (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
21642 (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
21643 (calc-lu-plus): Rename from `calc-logunits-add'.
21644 (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
21645 (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
21646 (calc-lu-minus): Rename from `calc-logunits-sub'.
21647 (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
21648 (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
21649 (calc-lu-times): Rename from `calc-logunits-mul'.
21650 (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
21651 (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
21652 (calc-lu-divide): Rename from `calc-logunits-div'.
21653 (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
21654 (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
21655
21656 * calc/calc-ext.el (calc-init-extensions): Update the names of the
21657 functions being autoloaded.
21658
21659 * calc/calc.el (calc-lu-power-reference): Rename from
21660 `calc-logunits-power-reference'.
21661 (calc-lu-field-reference): Rename from
21662 `calc-logunits-field-reference'.
21663
7a71b18d
GM
21664 * calc/calc-help.el (calc-l-prefix-help):
21665 Mention musical note functions.
d71990a1 21666
40c2934b
SM
216672011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
21668
21669 * minibuffer.el (completion-all-sorted-completions):
21670 Use :completion-cycle-penalty text property if present.
21671
b0911414
KM
216722011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
21673
21674 * allout.el (allout-yank-processing): Adjust for new rebulleting
21675 regime so bullet being yanked is used without prompting the user
21676 for a choice.
21677
8a05b668
JB
216782011-03-16 Juanma Barranquero <lekktu@gmail.com>
21679
21680 * startup.el (command-line): Warn the user that _emacs is deprecated.
21681
5ba5fb81
JB
216822011-03-16 Juanma Barranquero <lekktu@gmail.com>
21683
21684 * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
21685 (delphi-verbose, delphi-comment-face, delphi-string-face)
21686 (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
21687 (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
21688 (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
21689 (delphi-new-comment-line, delphi-font-lock-defaults)
21690 (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
21691 Fix typos in docstrings.
21692
2dab465b
KM
216932011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
21694
5ba5fb81 21695 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
2dab465b
KM
21696 Invert the roles of character and string values for INSTEAD, so a
21697 string is used for the more common case of a defaulting prompt.
21698
0adf5618
SM
216992011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
21700
21701 * progmodes/ruby-mode.el (ruby-backward-sexp):
21702 * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
21703 * play/gamegrid.el (gamegrid-make-face):
21704 * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
21705 (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
21706 * notifications.el (notifications-notify):
21707 * net/xesam.el (xesam-search-engines):
21708 * net/quickurl.el (quickurl-list-insert):
21709 * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
21710
d72700e5
CY
217112011-03-15 Chong Yidong <cyd@stupidchicken.com>
21712
21713 * startup.el (command-line): Update package subdirectory regexp.
21714
49c5410a
SM
217152011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
21716
c6eee9aa
SM
21717 * allout.el (allout-abbreviate-flattened-numbering)
21718 (allout-mode-deactivate-hook): Fix up obsolescence "date".
21719
49c5410a
SM
21720 * subr.el (read-char-choice): Only show the cursor after the prompt,
21721 not after the answer.
21722
047b2bb9
KR
217232011-03-15 Kevin Ryde <user42@zip.com.au>
21724
21725 * help-fns.el (variable-at-point): Skip leading quotes, if any
21726 (bug#8253).
21727
0a57d256
SM
217282011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
21729
21730 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
21731 warning message.
21732
77c992bc
MA
217332011-03-14 Michael Albinus <michael.albinus@gmx.de>
21734
21735 * shell.el (shell): When called interactively, offer to change the
21736 shell file name on remote hosts.
21737
eebc475d
TZ
217382011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
21739
21740 * net/ldap.el (ldap-search-internal): Add `auth-source-search'
21741 integration for LDAP parameters. The host, base, user or binddn,
21742 and secret tokens can be specified in a netrc file, for instance.
21743 This is optional because an `auth-source' parameter must be
21744 specified in the search attributes.
21745
9d05d1ba
JB
217462011-03-13 Juanma Barranquero <lekktu@gmail.com>
21747
21748 * help.el (describe-mode): Link to the mode's definition (bug#8185).
21749
09d9db2c
GM
217502011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
21751
21752 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
21753 into declaration. Remove redundant and harmful binding.
21754
217552011-03-12 Eli Zaretskii <eliz@gnu.org>
21756
21757 * files.el (file-ownership-preserved-p): Pass `integer' as an
21758 explicit 2nd argument to `file-attributes'. If the file's owner
21759 is the Administrators group on Windows, and the current user is
21760 Administrator, consider that a match.
21761
21762 * server.el (server-ensure-safe-dir): Consider server directory
21763 safe on MS-Windows if its owner is the Administrators group while
21764 the current Emacs user is Administrator. Use `=' to compare
21765 numerical UIDs, since they could be integers or floats.
21766
219bd536
JB
217672011-03-12 Juanma Barranquero <lekktu@gmail.com>
21768
21769 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
21770
f3afd36b
MA
217712011-03-12 Michael Albinus <michael.albinus@gmx.de>
21772
21773 Sync with Tramp 2.2.1.
21774
21775 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
21776
21777 * net/trampver.el: Update release number.
21778
3aaaa6f1
SM
217792011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
21780
94642599
SM
21781 * progmodes/compile.el (compilation--previous-directory): Fix up
21782 various nil/dead-marker mismatches (bug#8014).
21783 (compilation-directory-properties, compilation-error-properties):
21784 Don't call it at a position past the one we're about to change.
21785
3aaaa6f1
SM
21786 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
21787 Disable obsolescence warnings in the file that declares it.
21788
14239447
KM
217892011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
21790
099c39a4
JB
21791 * allout-widgets.el (allout-widgets-tally):
21792 Initialize allout-widgets-tally as a hash table rather than nil to
21793 prevent mode-line redisplay warnings. Also, clarify the module
21794 description and fix a comment typo.
14239447 21795
135e287c
JB
217962011-03-11 Juanma Barranquero <lekktu@gmail.com>
21797
21798 * help-fns.el (describe-variable): Don't complete keywords.
21799 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
21800
ffbf300e
CY
218012011-03-10 Chong Yidong <cyd@stupidchicken.com>
21802
ba08b241
CY
21803 * emacs-lisp/package.el (package-version-join): Impose a standard
21804 string representation for pre/alpha/beta version lists.
21805 (package-unpack-single): Standardize the directory name by passing
21806 it through package-version-join.
21807 (package-strip-rcs-id): Accept any version string that does not
21808 signal an error in version-to-list.
ffbf300e 21809
f346fd6b
MA
218102011-03-10 Michael Albinus <michael.albinus@gmx.de>
21811
21812 * simple.el (delete-trailing-whitespace): Return nil for the
21813 benefit of `write-file-functions'.
21814
ccb55d27
GM
218152011-03-10 Glenn Morris <rgm@gnu.org>
21816
5ceaac0c
GM
21817 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
21818
02da65ff
GM
21819 * vc/vc-git.el (vc-git-program): New option.
21820 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
21821 (vc-git--call): Use it.
21822
b2f603cc
GM
21823 * eshell/esh-util.el (eshell-condition-case): Doc fix.
21824
5772caab
GM
21825 * cus-edit.el (Custom-newline): If no button at point, look
21826 for a subgroup button at start-of-line. (Bug#2298)
21827
ccb55d27
GM
21828 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
21829
ec6ecaed
JD
218302011-03-10 Julien Danjou <julien@danjou.info>
21831
21832 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
21833 `cursor-type' is nil.
21834
9d5aa01d
JB
218352011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
21836
21837 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
21838
b6a5875b
KM
218392011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
21840
7a71b18d 21841 * allout.el: Change so yank of distinctive-bullet items
b6a5875b
KM
21842 preserves the existing header prefix, rebulleting it if necessary,
21843 rather than replacing it. This is necessary for proper operation
21844 of cooperative addons like allout-widgets.
1154d12e
JB
21845 (allout-make-topic-prefix, allout-rebullet-heading):
21846 Change SOLICIT arg to INSTEAD, and interpret additionally a string
21847 value as alternate bullet to be used, instead of prompting the user
21848 for a bullet character.
b6a5875b 21849
ee545c35
MA
218502011-03-09 Michael Albinus <michael.albinus@gmx.de>
21851
d86d2721
SM
21852 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
21853 Do not use `tramp-file-name-port', because this returns also
ee545c35
MA
21854 `tramp-default-port'.
21855
c47971d7
DD
218562011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
21857
21858 * net/rcirc.el (rcirc-handler-001): Remove useless
21859 with-rcirc-process-buffer.
21860 (rcirc-check-auth-status): Swap arguments to string-match.
21861
13522cb4
GM
218622011-03-09 Glenn Morris <rgm@gnu.org>
21863
0be6f4f1
GM
21864 * shell.el (shell-mode):
21865 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
21866
13522cb4
GM
21867 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
21868 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
21869
515de2e3
CY
218702011-03-08 Chong Yidong <cyd@stupidchicken.com>
21871
21872 * emacs-lisp/package.el (package-refresh-contents)
21873 (package-menu-execute): Use condition-case-no-debug.
21874
b511b994
MA
218752011-03-08 Michael Albinus <michael.albinus@gmx.de>
21876
21877 * simple.el (shell-command-to-string): Use `process-file'.
21878
21879 * emacs-lisp/package.el (package-tar-file-info): Handle also
21880 remote files.
21881
d86d2721
SM
21882 * emacs-lisp/package-x.el (package-upload-buffer-internal):
21883 Use `equal' for upload base check.
b511b994 21884
25bbfb31
AM
218852011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
21886
21887 * textmodes/texinfo.el (texinfo-environments):
21888 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
21889
be996521
GM
218902011-03-08 Glenn Morris <rgm@gnu.org>
21891
e9c8529f
GM
21892 * cus-start.el (cursor-in-non-selected-windows):
21893 Fix :set quoting oddness. (Bug#8192)
21894
be996521
GM
21895 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
21896 in some setf expressions. (Bug#2159)
21897
2bb5649e
CY
218982011-03-08 Chong Yidong <cyd@stupidchicken.com>
21899
21900 * custom.el (custom-available-themes): Return themes in
21901 alphabetical order.
21902
33383987 21903See ChangeLog.15 for earlier changes.
e3d51b27
MR
21904
21905;; Local Variables:
21906;; coding: utf-8
e3d51b27
MR
21907;; End:
21908
acaf905b 21909 Copyright (C) 2011-2012 Free Software Foundation, Inc.
e3d51b27
MR
21910
21911 This file is part of GNU Emacs.
21912
21913 GNU Emacs is free software: you can redistribute it and/or modify
21914 it under the terms of the GNU General Public License as published by
21915 the Free Software Foundation, either version 3 of the License, or
21916 (at your option) any later version.
21917
21918 GNU Emacs is distributed in the hope that it will be useful,
21919 but WITHOUT ANY WARRANTY; without even the implied warranty of
21920 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
21921 GNU General Public License for more details.
21922
21923 You should have received a copy of the GNU General Public License
21924 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.