Warn if try to set coding in dir-locals (bug#7169)
[bpt/emacs.git] / lisp / ChangeLog
CommitLineData
e9df8f87
GM
12012-11-29 Glenn Morris <rgm@gnu.org>
2
824eefe4
GM
3 * files.el (hack-dir-local-variables): Warn if try to set
4 coding via dir-locals, since it doesn't work. (Bug#7169)
5
4ad900d9
GM
6 Add desktop support for restoring vc-dir buffers. (Bug#10606)
7 * vc/vc-dir.el (vc-dir-mode): Autoload it (for desktop restore).
8 Set buffer-local value of desktop-save-buffer.
9 (vc-dir-desktop-buffer-misc-data, vc-dir-restore-desktop-buffer):
10 New functions.
11 (desktop-buffer-mode-handlers): Add vc-dir-mode entry.
12 * desktop.el (desktop-save-buffer-p): Treat vc-dir like dired.
13
e9df8f87
GM
14 * files.el (inhibit-local-variables-ignore-case): New. (Bug#10610)
15 (inhibit-local-variables-p): Use inhibit-local-variables-ignore-case.
16 Doc fix.
17 (inhibit-local-variables-regexps, inhibit-local-variables-suffixes):
18 Doc fixes.
19
e7c8fcc4
JB
202012-11-28 Jay Belanger <jay.p.belanger@gmail.com>
21
22 * calc/calc-forms.el (calc-date-notation): Fix regexp
23 used to find time codes. Fix symbol for seconds.
24
48d6d9c0
GM
252012-11-27 Glenn Morris <rgm@gnu.org>
26
27 * emacs-lisp/derived.el (derived-mode-make-docstring):
28 Don't mention "abbrev" or "syntax" if nil. (Bug#11277)
29
369f945d
SM
302012-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
31
32 * textmodes/table.el (table-insert): Don't use `symbol-name' on
33 lexically scoped variables (bug#13005).
34
5c9cf0a3 352012-11-27 Glenn Morris <rgm@gnu.org>
98f99594 36
999e745e
GM
37 * vc/vc-hooks.el (vc-mistrust-permissions):
38 Default to t, to avoid data-loss. (Bug#11490)
98f99594 39
5c9cf0a3 402012-11-27 Fabián Ezequiel Gallina <fgallina@cuca>
207cb73c 41
999e745e
GM
42 * progmodes/python.el (python-indent-guess-indent-offset):
43 If indentation is guessed make python-indent-offset buffer-local.
44
207cb73c 45 Fix Imenu regression.
999e745e
GM
46 * progmodes/python.el (python-nav-beginning-of-defun):
47 Fix forward movement when statement(s) separates point from defun.
207cb73c
FEG
48 (python-imenu-prev-index-position): New function.
49
5c9cf0a3 502012-11-27 Eli Zaretskii <eliz@gnu.org>
33a488e4
EZ
51
52 * subr.el (buffer-file-type): Declare with defvar-local. Doc fix.
53
54 * dos-w32.el (find-file-not-found-set-buffer-file-coding-system):
865f7d8f 55 Don't set buffer-file-type. Return nil. (Bug#12989)
33a488e4 56
5c9cf0a3 572012-11-27 Glenn Morris <rgm@gnu.org>
50207191
GM
58
59 * hippie-exp.el (hippie-expand-try-functions-list):
60 Re-autoload it. (Bug#12982)
61
5c9cf0a3 622012-11-27 Eli Zaretskii <eliz@gnu.org>
2147c6ab 63
369f945d
SM
64 * descr-text.el (describe-char-padded-string):
65 Call internal-char-font only on GUI frames. (Bug#11964)
2147c6ab 66
5c9cf0a3 672012-11-27 Andreas Schwab <schwab@linux-m68k.org>
58b1ae1e
AS
68
69 * buff-menu.el (Buffer-menu-buffer+size-width): Fix customize type
70 and obsoletion message.
71
5c9cf0a3 722012-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
35a10516
SM
73
74 * emacs-lisp/cl-macs.el (cl--transform-lambda): Add back `declare' in
75 the constructs to keep outside of the `cl-block' (bug#12977).
76
5c9cf0a3 772012-11-27 Chong Yidong <cyd@gnu.org>
0c5ef133
CY
78
79 * mouse.el (mouse-drag-line): Even if the line is not draggable,
80 keep reading until we get the up-event anyway, in order to process
81 the up-event for mouse-1-click-follows-link (Bug#12971).
82
848a2dd1
SM
832012-11-26 Stefan Monnier <monnier@iro.umontreal.ca>
84
85 * emacs-lisp/advice.el (ad-should-compile): Don't compile advice if the
86 base function is not yet defined (bug#12965).
87 (ad-activate-advised-definition): Use ad-compile-function.
88 (ad-activate): Use cond.
89
9ad79506
LL
902012-11-25 Leo Liu <sdl.web@gmail.com>
91
92 * textmodes/sgml-mode.el (sgml-tag): Fix indentation for closing tag.
93 (Bug#12979)
94
e2cb57f5
VB
952012-11-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
96
97 * textmodes/reftex-parse.el (reftex-parse-from-file): Use variable
98 reftex-section-info-function in order to be compatible with
99 Texinfo integration.
100
101 * textmodes/reftex.el (reftex-section-pre-regexp)
848a2dd1
SM
102 (reftex-section-post-regexp, reftex-section-info-function):
103 New variable.
104 (reftex-compile-variables): Use variables reftex-section-pre-regexp,
105 reftex-section-post-regexp, and reftex-section-info-function in order
106 to be compatible with Texinfo integration.
107
108 * textmodes/reftex-toc.el (reftex-toc-promote-action):
109 use reftex-section-pre-regexp variable in order to be compatible with
e2cb57f5
VB
110 Texinfo integration.
111
1c4f115d
CY
1122012-11-25 Chong Yidong <cyd@gnu.org>
113
114 * faces.el: Make face-spec-set more analogous to setq.
115 (face-spec-set): Change the third arg to specify whether this
116 function is being called via defface, customize, or a third party.
117 Set the appropriate symbol properties. Clear the override spec if
118 setting via Custom. Initialize face if necessary. (Bug#4988)
119 (face-spec-recalc): Allow theme faces to completely replace the
120 defface spec, in the same way as custom faces (Bug#8454).
121
122 * cus-face.el (custom-declare-face): Move face initialization to
123 face-spec-set.
124 (custom-theme-set-faces): Don't initialize the face name here, as
125 that is now done in face-spec-set.
126
127 * cus-edit.el (custom-face-set, custom-face-mark-to-save)
128 (custom-face-reset-saved, custom-face-mark-to-reset-standard):
129 Simplify by using the new arg to face-spec-set.
130
131 * emacs-lisp/lisp-mode.el (eval-defun-1): When evaluating defface,
132 reset face-override-spec too, and use custom-declare-face.
133
c2350548
JD
1342012-11-24 Jan Djärv <jan.h.d@swipnet.se>
135
136 * term/ns-win.el (ns-initialize-window-system): Move creation of
137 fontsets here (Bug#11964).
138
ecfc364c
VB
1392012-11-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
140
141 * ses.el (ses-rename-cell): Correct bug on mode-line update after
142 cell renaming.
143
0917cc54
CY
1442012-11-24 Chong Yidong <cyd@gnu.org>
145
433212bf
CY
146 * woman.el (woman-default-faces, woman-monochrome-faces): Mark as
147 obsolete.
148
0917cc54
CY
149 * custom.el (custom-theme-set-variables): Use a topological sort
150 for ordering by custom dependencies (Bug#12952).
151 (custom--sort-vars, custom--sort-vars-1): New functions.
152
d125ca15 1532012-11-24 Stefan Monnier <monnier@iro.umontreal.ca>
002c019c
SM
154
155 * emacs-lisp/bytecomp.el (byte-compile-file): Setup default value for
156 lexical-binding (bug#12938).
157
d125ca15 1582012-11-24 Wolfgang Jenkner <wjenkner@inode.at>
977f9325
WJ
159
160 * image-mode.el (image-transform-check-size): Use assertions only
161 for images of type imagemagick.
162
163 Otherwise no error, image-transform-fit-to-{width,height} is
164 silently ignored, as before. Doc fix.
165
d125ca15 1662012-11-24 Chong Yidong <cyd@gnu.org>
bccffa83
CY
167
168 * faces.el (color-defined-p): Doc fix (Bug#12853).
169
d125ca15 1702012-11-24 Juri Linkov <juri@jurta.org>
61a2a122
JL
171
172 * dired.el (dired-mark): Add optional arg `interactive'.
173 Check for `use-region-p' if `interactive' is non-nil.
174 (dired-unmark, dired-flag-file-deletion): Add optional arg
175 `interactive'. Call `dired-mark' with the arg `interactive'.
176 (Bug#10624)
177
cc4c01bd
JL
178 * wdired.el: Revert 2012-10-17 change partly and replace it with
179 Patch by Christopher Schmidt <christopher@ch.ristopher.com>.
180 (wdired-finish-edit): Add marks for new file names to
181 `wdired-old-marks'. Restore marks using `dired-mark-remembered'
182 after `revert-buffer'.
183 (wdired-do-renames): Remove calls to `dired-remove-file',
184 `dired-add-file', `dired-add-entry'. (Bug#11795)
185
d125ca15 1862012-11-24 Alan Mackenzie <acm@muc.de>
b03aabda 187
dc310ed0
AM
188 * progmodes/cc-defs.el (c-version): Bump to 5.32.4.
189
b03aabda
AM
190 Fix bugs in the state cache. Enhance a debugging mechanism.
191 * progmodes/cc-engine.el (c-parse-state-get-strategy): Don't use
192 "brace at column zero" strategy for C++.
193 (c-append-lower-brace-pair-to-state-cache): Repair algorithm.
194 (c-parse-state-point): New variable.
195 (c-record-parse-state-state): Record old parse state with
196 `copy-tree'. Record previous value of point.
197 (c-debug-parse-state-double-cons): New debugging function.
198 (c-debug-parse-state): Call the above new function.
199 (c-toggle-parse-state-debug): Output a confirmatory message.
200
002c019c
SM
201 * progmodes/cc-mode.el (c-before-change, c-after-change):
202 Call c-invalidate-state-cache from `c-before-change' instead of
b03aabda
AM
203 `c-after-change'.
204
930a6273
CY
2052012-11-23 Chong Yidong <cyd@gnu.org>
206
207 * find-cmd.el (find-constituents): Add executable, ipath,
208 readable, samefile, writable, daystart, regextype (Bug#12856).
209
15c9d04e
SM
2102012-11-23 Stefan Monnier <monnier@iro.umontreal.ca>
211
212 * emacs-lisp/ert.el, emacs-lisp/ert-x.el: Use cl-lib and lexical-binding.
213
2ecb2679
PE
2142012-11-22 Paul Eggert <eggert@cs.ucla.edu>
215
216 * calc/calc.el (calc-gregorian-switch): Move to after calc-refresh
217 definition. This fixes a bootstrap failure.
a14a5a40
PE
218 (calc-gregorian-switch): In menu, put dates before regions.
219 This is easier to follow, lines up better in the menu, and lets us
220 coalesce regions that switch at the same time. Give country
15c9d04e
SM
221 names, not "Vatican", as that's better for non-expert users.
222 Use names that are stable between the date of switch and now, e.g.,
a14a5a40
PE
223 Bohemia and Moravia (which existed then and now) and not
224 Czechoslovakia (which didn't exist then and doesn't exist now).
225 What is now the U.S. mostly did not switch at the same time as
226 Britain, so omit the U.S. Correct spelling of "Britain".
227 Catholic Switzerland was too much of a mess, so omit it.
2ecb2679 228
723da6aa
JB
2292012-11-22 Jay Belanger <jay.p.belanger@gmail.com>
230
231 * calc/calc.el (calc-gregorian-switch): Refresh the Calc buffer
232 after the variable is changed.
233
21fa2482
DC
2342012-11-21 Daniel Colascione <dancol@dancol.org>
235
236 * progmodes/sql.el (sql-mode-font-lock-object-name): Support IF NOT EXISTS
b6096e85
DC
237 in SQL declarations for font-lock.
238 (sql-imenu-generic-expression): Teach imenu about IF NOT EXISTS.
21fa2482 239
3ca2f1bf
GM
2402012-11-21 Glenn Morris <rgm@gnu.org>
241
1bf335cf
GM
242 * faces.el (face-underline-p, face-inverse-video-p, face-bold-p)
243 (face-italic-p): Add optional argument "inherit".
244
3ca2f1bf
GM
245 * faces.el (set-face-inverse-video, set-face-bold, set-face-italic):
246 Remove -p suffix from names, for consistency with other set-face-*.
247 (set-face-inverse-video): Fix interactive spec.
248 * play/gamegrid.el (gamegrid-make-mono-tty-face):
249 * textmodes/table.el (table--update-cell-face):
250 Use set-face-inverse-video rather than now obsolete alias.
251
6ef2e5ef 2522012-11-21 Eli Zaretskii <eliz@gnu.org>
7cf95797
EZ
253
254 * simple.el (line-move): Don't call line-move-partial if
255 scroll-conservatively is in effect. (Bug#12927)
256
6ef2e5ef 2572012-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
63f25172 258
93b05041
SM
259 * eshell/em-cmpl.el (eshell-pcomplete): Refine fix for bug#12838:
260 Fallback on completion-at-point rather than
261 pcomplete-expand-and-complete, and only if pcomplete actually failed.
262 (eshell-cmpl-initialize): Setup completion-at-point.
263
264 * pcomplete.el (pcomplete--entries): Obey pcomplete-ignore-case.
265
bc715d67
SM
266 * emacs-lisp/ert.el (ert--expand-should-1): Adapt to cl-lib.
267
6ef2e5ef 2682012-11-21 Michael Albinus <michael.albinus@gmx.de>
d7f2a65c
MA
269
270 * net/tramp-sh.el (tramp-do-copy-or-rename-file): If both files
271 are remote, check out-of-band property for both.
272
6ef2e5ef 2732012-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
d1c0cddf
SM
274
275 * window.el (switch-to-buffer): Re-add the warning that was lost in the
276 code rewrite.
277
6ef2e5ef 2782012-11-21 Paul Eggert <eggert@cs.ucla.edu>
0c93aa38 279
535efd4a
PE
280 More minor time fixes.
281 * calendar/time-date.el: Commentary fix.
282 * net/tramp-sh.el (tramp-do-file-attributes-with-ls): Undo last change;
283 too much other code depends on (0 0) time stamps.
284 * net/tramp.el (tramp-time-less-p, tramp-time-subtract):
285 Add a couple of FIXME comments.
286
0c93aa38
PE
287 Minor cleanup for times as lists of four integers.
288 * files.el (dir-locals-directory-cache):
289 * ps-bdf.el (bdf-file-mod-time, bdf-read-font-info):
290 Doc fixes.
291 * net/tramp-sh.el (tramp-do-file-attributes-with-ls):
292 * ps-bdf.el (bdf-file-newer-than-time):
293 Process four-integers time stamps, not two. Doc fixes.
294
23ba2705
SM
2952012-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
296
2e31777b
SM
297 * uniquify.el (uniquify-managed): Use defvar-local.
298 (rename-buffer, create-file-buffer): Advise with advice-add.
299 (uniquify-unload-function): Unadvise accordingly.
300
8b62d742
SM
301 * emacs-lisp/trace.el: Rewrite, use nadvice and lexical-binding.
302 (trace-buffer): Don't purecopy.
303 (trace-entry-message, trace-exit-message): Add `context' arg.
304 (trace--timer): New var.
305 (trace-make-advice): Adjust for use in nadvice.
306 Add `context' argument. Delay `display-buffer' via a timer.
307 (trace-function-internal): Use advice-add.
308 (trace--read-args): New function.
309 (trace-function-foreground, trace-function-background): Use it.
310 (trace-function): Rename to trace-function-foreground and redefine as
311 an alias to that new name.
312 (untrace-function, untrace-all): Adjust to the use of nadvice.
313
5d0ccd95
SM
314 * emacs-lisp/bytecomp.el (byte-compile): Fix handling of closures.
315
3837d988
SM
316 * emacs-lisp/byte-run.el (defun-declarations-alist): Fix last change.
317
23ba2705
SM
318 * subr.el (called-interactively-p-functions): New var.
319 (internal--called-interactively-p--get-frame): New macro.
320 (called-interactively-p, interactive-p): Rewrite in Lisp.
321 * emacs-lisp/nadvice.el (advice--called-interactively-skip): New fun.
322 (called-interactively-p-functions): Use it.
323 * emacs-lisp/edebug.el (edebug--called-interactively-skip): New fun.
324 (called-interactively-p-functions): Use it.
325 * allout.el (allout-called-interactively-p): Don't assume
326 called-interactively-p is a subr.
327
b0636be7
GM
3282012-11-20 Glenn Morris <rgm@gnu.org>
329
330 * profiler.el (profiler-report-mode-map): Add a menu.
331 No need to bind `q' because we derive from special-mode.
332 (profiler-report-find-entry): Handle calls from the menu-bar.
333
855b17af
SM
3342012-11-19 Stefan Monnier <monnier@iro.umontreal.ca>
335
14146222
SM
336 * emacs-lisp/byte-run.el (defun-declarations-alist):
337 Allow a compiler-macro to be a lambda expression.
338
339 * progmodes/python.el: Use cl-lib. Move var declarations outside of
340 eval-when-compile.
341 (python-syntax-context): Add compiler-macro.
342 (python-font-lock-keywords): Simplify with De Morgan.
343
1000d895
SM
344 * vc/diff-mode.el (diff-hunk): Don't make useless timers.
345
ac5392dc
SM
346 * files.el (load-file): Require match in minibuffer selection, as was
347 the case in Emacs-20 before we changed the spec to allow .elc files
348 (bug#12935).
349
19dc7206
SM
350 * json.el: Don't require cl since we don't use it.
351 * color.el: Don't require cl.
352 (color-complement): `caddr' -> `nth 2'.
353
855b17af
SM
354 * calendar/time-date.el (time-to-seconds): De-obsolete.
355
e8909bdc
JB
3562012-11-19 Jay Belanger <jay.p.belanger@gmail.com>
357
358 * calc/calc-forms.el (math-leap-year-p): Fix formula for negative
359 year numbers.
360 (math-date-to-julian-dt): Adjust the initial approximation for the
361 year to deal with the new definition of the DATE.
362
6e9f7997
DC
3632012-11-19 Daniel Colascione <dancol@dancol.org>
364
855b17af
SM
365 * term/w32-win.el (cygwin-convert-path-from-windows):
366 Accomodate rename of cygwin_convert_path* to cygwin_convert_file_name*.
6e9f7997 367
6a3dd257
CY
3682012-11-18 Chong Yidong <cyd@gnu.org>
369
370 * filecache.el (file-cache--read-list): New function.
371 (file-cache-add-directory-list, file-cache-add-file-list)
372 (file-cache-delete-file-list, file-cache-delete-directory-list):
373 Use it to read a list of files or directories (Bug#12846).
374 (file-cache-add-file, file-cache-add-directory)
375 (file-cache-delete-file-list, file-cache-delete-file-regexp)
376 (file-cache-delete-directory): Print an message.
377
eef97f35
JB
3782012-11-18 Jay Belanger <jay.p.belanger@gmail.com>
379
380 * calc/calc-forms.el (math-date-to-dt): Use integer date when
381 calling `math-date-to-julian-dt' and 'math-date-to-gregorian-dt'.
382
913c8291
GM
3832012-11-18 Glenn Morris <rgm@gnu.org>
384
385 * image.el (insert-image, insert-sliced-image): Doc fix.
386
2ac9538d 3872012-11-18 Chong Yidong <cyd@gnu.org>
ec6f8ce6
CY
388
389 * emacs-lisp/syntax.el (syntax-propertize-function): Doc fix
390 (Bug#12810).
391
2ac9538d 3922012-11-18 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
c2d07557
CY
393
394 * vc/vc-svn.el (vc-svn-merge-news): Properly parse the merge
395 response when the target file is in a subdirectory (Bug#12757).
396
2ac9538d 3972012-11-18 Chong Yidong <cyd@gnu.org>
33f8917c
CY
398
399 * filecache.el (file-cache-add-file-list): Doc fix (Bug#12694).
400
2ac9538d 4012012-11-18 Glenn Morris <rgm@gnu.org>
65463c40 402
9a5e2ee3
GM
403 * emacs-lisp/cl-lib.el (face-underline-p):
404 Use set-face-underline rather than the alias set-face-underline-p.
405
65463c40 406 * window.el (with-temp-buffer-window): Doc fix.
95f0501e
GM
407 * subr.el (with-output-to-temp-buffer):
408 Add doc xref to with-temp-buffer-window.
65463c40 409
c9ed8e3d
JB
4102012-11-18 Juanma Barranquero <lekktu@gmail.com>
411
412 * woman.el (woman-non-underline-faces): Use `set-face-underline'.
413 * calc/calc.el (math-format-date-cache): Declare.
414
310e60d9
PE
4152012-11-17 Paul Eggert <eggert@cs.ucla.edu>
416
6f6b82d6
PE
417 Calc by default uses the Gregorian calendar for all dates (Bug#12633).
418 It also uses January 1, 1 AD as its day number 1.
310e60d9 419 * calc/calc-forms.el (math-julian-date-beginning)
6f6b82d6 420 (math-julian-date-beginning-int): Implement this.
310e60d9 421
d7fe6352
JB
4222012-11-17 Juanma Barranquero <lekktu@gmail.com>
423
424 * descr-text.el (quail-find-key):
425 * dired.el (desktop-file-name):
426 * dirtrack.el (shell-prefixed-directory-name, shell-process-cd):
427 * generic-x.el (comint-mode, comint-exec):
428 * image-dired.el (widget-forward):
429 * info.el (speedbar-add-expansion-list, speedbar-center-buffer-smartly)
430 (speedbar-change-expand-button-char)
431 (speedbar-change-initial-expansion-list, speedbar-delete-subblock)
432 (speedbar-make-specialized-keymap, speedbar-make-tag-line):
433 * printing.el (easy-menu-add-item, easy-menu-remove-item)
434 (widget-field-action, widget-value-set):
435 * speedbar.el (imenu--make-index-alist):
436 * term.el (ring-empty-p, ring-ref, ring-insert-at-beginning)
437 (ring-length, ring-insert):
438 * vcursor.el (compare-windows-skip-whitespace):
439 * woman.el (dired-get-filename):
440 Declare functions.
441
442 * term/w32-win.el (cygwin-convert-path-from-windows): Fix declaration.
443
c9f618db
JB
4442012-11-17 Jay Belanger <jay.p.belanger@gmail.com>
445
446 * calc/calc.el (calc-gregorian-switch): New variable.
447
448 * calc/calc-forms.el (math-day-in-year, math-dt-before-p)
449 (math-absolute-from-gregorian-dt, math-absolute-from-julian-dt)
450 (math-date-to-julian-dt, math-date-to-gregorian-dt): New functions.
451 (math-leap-year-p): Add option to distinguish between Julian
452 and Gregorian calendars.
453 (math-day-number): Use `math-day-in-year' to do the computations.
454 (math-absolute-from-dt): Rename from `math-absolute-from-date'.
455 Use `math-absolute-from-gregorian' and `math-absolute-from-julian'
456 to do the computations.
457 (math-date-to-dt): Use `math-date-to-julian-dt' and
458 `math-date-to-gregorian-dt' to do the computations.
459 (calcFunc-weekday, math-format-date-part): Use the new version of
460 the DATE to determine the weekday.
461 (calcFunc-newmonth, calcFunc-newyear): Use `calc-gregorian-switch'
462 when necessary.
463
3804f7bc
EZ
4642012-11-17 Eli Zaretskii <eliz@gnu.org>
465
466 * term/w32-win.el (w32-handle-dropped-file): Use 'file://' only on
467 Cygwin; otherwise use 'file:'. (Bug#12914)
468 (cygwin-convert-path-from-windows): Declare, to avoid
469 byte-compiler warnings.
470
de959d4d
AP
4712012-11-17 Andreas Politz <politza@fh-trier.de>
472
473 * ibuffer.el (ibuffer-mark-forward, ibuffer-unmark-forward)
474 (ibuffer-unmark-backward, ibuffer-mark-interactive): Support plain
475 prefix and negative numeric prefix args (Bug#12795).
476
e45deaef
SB
4772012-11-17 Stephen Berman <stephen.berman@gmx.net>
478
479 * play/gamegrid.el (gamegrid-add-score-with-update-game-score-1):
480 Don't signal an error with a score that is too low to add to the
481 list of top scores. (Bug#12779)
482
ec15e0ff
CY
4832012-11-17 Chong Yidong <cyd@gnu.org>
484
8e7696a1
CY
485 * help-mode.el (help-xref-interned): End on point-min (Bug#12737).
486
ec15e0ff
CY
487 * filecache.el (file-cache-add-file): Handle relative file name in
488 the argument (Bug#12694).
489
60c4ee66
JH
4902012-11-16 Jürgen Hötzel <juergen@archlinux.org> (tiny change)
491
492 * eshell/em-unix.el (eshell/mkdir): Handle "--parents" (bug#12897).
493
cdc5d88c
SM
4942012-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
495
dd0c5bbb
SM
496 * emacs-lisp/advice.el (ad-make-advised-definition): Improve last fix.
497
cdc5d88c
SM
498 * emacs-lisp/cl-lib.el: Set more meaningful version number.
499
0ff7851c
MR
5002012-11-16 Martin Rudalics <rudalics@gmx.at>
501
502 * window.el (enlarge-window, shrink-window): Don't mention return
503 value in doc-string (Bug#12896).
504 (window--display-buffer): Don't resize frames - it won't work
505 with all window managers and defeat pop-up-frame-alist.
506 (display-buffer-alist): In doc-string explain that CONDITION can
507 be a function and which arguments are passed to it (Bug#12854).
508 (display-buffer-assq-regexp): New argument ACTION. Handle lambda
509 expressions (Bug#12854).
510 (display-buffer): Pass ACTION argument to
511 display-buffer-assq-regexp.
512
dedd1884
GM
5132012-11-16 Glenn Morris <rgm@gnu.org>
514
7c82753d
GM
515 * window.el (fit-frame-to-buffer-bottom-margin)
516 (fit-frame-to-buffer, fit-window-to-buffer): Doc fixes.
517
dedd1884
GM
518 * faces.el (face-underline-p): Use face-attribute-specified-or.
519
96e05507 5202012-11-16 Juanma Barranquero <lekktu@gmail.com>
662b0ee6
JB
521
522 * emacs-lisp/cl-macs.el (cl-loop, cl-do, cl-do*): Doc fixes.
523
96e05507 5242012-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
eb31fa40
SM
525
526 * emacs-lisp/cl-macs.el (cl-flet, cl-flet*): Fix docstring (bug#12895).
527
96e05507 5282012-11-16 Glenn Morris <rgm@gnu.org>
e2e13f18 529
17c083ac
GM
530 * eshell/em-cmpl.el (eshell-pcomplete): New command. (Bug#12838)
531 (eshell-cmpl-initialize): Bind eshell-pcomplete to TAB, C-i.
532
bde3c6c0
GM
533 * faces.el (face-underline-p): Doc fix. Handle :underline being
534 things other than `t' (a string, a list).
535 (face-inverse-video-p): Doc fix.
536 (set-face-underline): Rename it back from set-face-underline-p.
537 Doc fix. Allow interactive input of values other than t.
538 (read-face-attribute): Apply formatting to :underline,
539 since like :box and :stipple it can take list values.
540
e2e13f18
GM
541 * term.el (ansi-term): Don't let C-x escape-char binding
542 clobber the more standard C-c binding. (Bug#12842)
543
e0ea8060
GM
544 * subr.el (set-temporary-overlay-map): Doc fix.
545
96e05507 5462012-11-16 Martin Rudalics <rudalics@gmx.at>
92346275
MR
547
548 * window.el (record-window-buffer)
549 (display-buffer-record-window): When copying the markers to
550 window-point preserve window-point-insertion-type. (Bug#12588)
551
96e05507 5522012-11-16 Glenn Morris <rgm@gnu.org>
7b1bf173
GM
553
554 * emacs-lisp/eieio-datadebug.el (eieio-debug-methodinvoke):
555 * net/tramp-gvfs.el (tramp-gvfs-dbus-event-error):
556 Use new names for hooks rather than obsolete aliases.
557
faeafc01
DC
5582012-11-15 Daniel Colascione <dancol@dancol.org>
559
560 * term/w32-win.el (w32-handle-dropped-file): Use a "file://"
9533048d
DC
561 prefix instead of "file:" so that when FILE-NAME begins with "//",
562 as it does when the target file is on a network share, url-handler
563 isn't confused.
564
1232d6c2
SM
5652012-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
566
567 * emacs-lisp/advice.el (ad-definition-type): Make sure we don't use
568 a preactivated advice from an old advice.el; they're not compatible!
569
47f01a8a
KY
5702012-11-15 Katsumi Yamaoka <yamaoka@jpl.org>
571
572 * emacs-lisp/nadvice.el (advice--make-interactive-form):
573 Fix string-spec case.
574
575 * emacs-lisp/advice.el (ad-make-advised-definition): Fix undefined case.
576
a61428c4
SM
5772012-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
578
579 * emacs-lisp/nadvice.el: Add buffer-local support to add-function.
580 (advice--buffer-local-function-sample): New var.
581 (advice--set-buffer-local, advice--buffer-local): New functions.
582 (add-function, remove-function): Use them.
583
875ce3a7
DA
5842012-11-15 Drew Adams <drew.adams@oracle.com>
585
586 * imenu.el (imenu--split-submenus): Use imenu--subalist-p (bug#12717).
587
589fc479
SM
5882012-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
589
590 * emacs-lisp/cl-macs.el (cl--transform-lambda): Defend against
591 potential binding of print-gensym to t, and prettify (back)quotes in
592 case they appear in args's default values (bug#12884).
593
1668ea90
SM
5942012-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
595
596 * emacs-lisp/nadvice.el: Add around advice for interactive specs.
597 (advice-eval-interactive-spec): New function.
598 (advice--make-interactive-form): Support around advice (bug#12844).
599
8619323f
DG
6002012-11-14 Dmitry Gutov <dgutov@yandex.ru>
601
602 * progmodes/ruby-mode.el (ruby-expr-beg): Make heredoc detection
603 more strict. Add docstring.
c62792e7
DG
604 (ruby-expression-expansion-re): Extract from
605 `ruby-match-expression-expansion'.
606 (ruby-syntax-propertize-function): After everything else, search
607 for expansions in string literals, mark their insides as
608 whitespace syntax and save match data for font-lock.
609 (ruby-font-lock-keywords): Use the 2nd group from expression
610 expansion matches.
611 (ruby-match-expression-expansion): Use the match data saved to the
612 text property in ruby-syntax-propertize-function.
8619323f 613
9c3912d3
SM
6142012-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
615
616 * emacs-lisp/gv.el (setf): Fix debug spec for multiple assignments
617 (bug#12879).
618
5e9419e8
DG
6192012-11-13 Dmitry Gutov <dgutov@yandex.ru>
620
621 * progmodes/ruby-mode.el (ruby-move-to-block): Looks for a block
622 start/end keyword a bit harder. Works with different values of N.
623 Add more comments.
624 (ruby-end-of-block): Update accordingly.
625
3c442f8b
SM
6262012-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
627
fa470af0
SM
628 * woman.el (woman-file-name): Don't mess with unread-command-events
629 (bug#12861).
630
3c442f8b
SM
631 * emacs-lisp/advice.el: Layer on top of nadvice.el.
632 Remove out of date self-require hack.
633 (ad-do-advised-functions): Use simple `dolist'.
634 (ad-advice-name, ad-advice-protected, ad-advice-enabled)
635 (ad-advice-definition): Redefine as functions.
636 (ad-advice-classes): Move before first use.
637 (ad-make-origname, ad-set-orig-definition, ad-clear-orig-definition)
fa470af0 638 (ad-make-mapped-call, ad-make-advised-docstring,ad-make-plain-docstring)
3c442f8b 639 (ad--defalias-fset): Remove functions.
fa470af0 640 (ad-make-advicefunname, ad-clear-advicefunname-definition): New funs.
3c442f8b
SM
641 (ad-get-orig-definition): Rewrite.
642 (ad-make-advised-definition-docstring): Change base docstring.
643 (ad-real-orig-definition): Rewrite.
644 (ad-map-arglists): Change name of called function.
645 (ad--make-advised-docstring): Redirect `function' from ad-Advice-...
646 (ad-make-advised-definition): Simplify.
647 (ad-assemble-advised-definition): Tweak for new calling context.
fa470af0 648 (ad-activate-advised-definition): Setup ad-Advice-* i.s.o ad-Orig-*.
3c442f8b
SM
649 (ad--defalias-fset): Rename from ad-handle-definition. Make it set the
650 function and call ad-activate if needed.
651 (ad-activate, ad-deactivate): Don't call ad-handle-definition any more.
652 (ad-recover): Clear ad-Advice-* instead of ad-Orig-*.
653 (ad-compile-function): Compile ad-Advice-*.
654 (ad-activate-on-top-level, ad-with-auto-activation-disabled): Remove.
655 (ad-start-advice, ad-stop-advice): Remove.
656
5745cae6
DG
6572012-11-13 Dmitry Gutov <dgutov@yandex.ru>
658
659 * progmodes/ruby-mode.el (ruby-add-log-current-method): Print the
660 period before class method names, not after. Remove handling of
661 one impossible case. Add comments.
662
413d4689
SM
6632012-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
664
7db1bda8
SM
665 * emacs-lisp/advice.el: Remove support for freezing.
666 (ad-make-freeze-docstring, ad-make-freeze-definition): Remove functions.
667 (ad-make-single-advice-docstring, ad-defadvice-flags, defadvice):
668 Remove support for `freeze'.
669
413d4689
SM
670 * emacs-lisp/cl.el (dolist, dotimes, declare): Use advice-add to
671 override the default.
672 * emacs-lisp/cl-macs.el (cl-dolist, cl-dotimes): Rewrite without using
673 cl--dotimes/dolist.
674 * subr.el (dolist, dotimes, declare): Redefine them normally, even when
675 `cl' is loaded.
676
677 * emacs-lisp/nadvice.el (advice--normalize): New function, extracted
678 from add-advice.
679 (advice--strip-macro): New function.
680 (advice--defalias-fset): Use them to handle macros.
681 (advice-add): Use them.
682 (advice-member-p): Correctly handle macros.
683
f178c32d
DG
6842012-11-13 Dmitry Gutov <dgutov@yandex.ru>
685
7db1bda8
SM
686 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
687 Never font-lock the beginning of singleton class as heredoc.
f178c32d 688
f78ee6af 6892012-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
f8705f6e
SM
690
691 * emacs-lisp/gv.el (gv-define-simple-setter): One more fix (bug#12871).
692
f78ee6af 6932012-11-13 Wolfgang Jenkner <wjenkner@inode.at>
9db94175
WJ
694
695 * ansi-color.el (ansi-color-apply-sequence): Implement SGR codes
f78ee6af
GM
696 39 and 49 (bug#12792). Also, treat unimplemented parameters as 0,
697 thereby restoring the behavior of revisions prior to 2012-08-15T03:33:55Z!monnier@iro.umontreal.ca.
9db94175 698
f78ee6af 6992012-11-13 Fabián Ezequiel Gallina <fgallina@cuca>
2e6625b5
FEG
700
701 Fix end-of-defun misbehavior.
702 * progmodes/python.el (python-nav-beginning-of-defun): Rename from
703 python-beginning-of-defun-function. Handle nested defuns
704 correctly.
705 (python-nav-end-of-defun): Rename from
706 python-end-of-defun-function. Ensure forward movement.
f8705f6e 707 (python-info-current-defun): Reimplement to work as intended
2e6625b5
FEG
708 with new fixed python-nav-{end,beginning}-of-defun. Stop scanning
709 parent defuns as soon as possible.
710
f78ee6af 7112012-11-13 Glenn Morris <rgm@gnu.org>
24c38527
GM
712
713 * progmodes/flymake.el (flymake-error-bitmap)
714 (flymake-warning-bitmap, flymake-fringe-indicator-position): Doc fixes.
715 (flymake-error-bitmap, flymake-warning-bitmap): Fix :types.
716
f78ee6af 7172012-11-13 Dmitry Gutov <dgutov@yandex.ru>
d1e1e53d
DG
718
719 * progmodes/ruby-mode.el (ruby-move-to-block): When moving
720 backward, always stop at indentation. Reverts the change from
721 2012-08-12T22:06:56Z!monnier@iro.umontreal.ca (Bug#12851).
722
f78ee6af 7232012-11-13 Glenn Morris <rgm@gnu.org>
68146aa5 724
a1d3e07e
GM
725 * ibuffer.el (ibuffer-mode-map, ibuffer-mode):
726 Add ibuffer-filter-by-derived-mode.
727
84acf328
GM
728 * ibuffer.el (ibuffer-mode-map): Don't have two menu items with
729 the same name shadowing each other.
730
38785e75
GM
731 * window.el (with-temp-buffer-window): Doc tweak.
732
57fc0fee
GM
733 * emacs-lisp/debug.el (debugger-bury-or-kill): Doc tweak.
734
6ba6a3e5
GM
735 * help.el (temp-buffer-max-height):
736 * window.el (fit-frame-to-buffer, fit-frame-to-buffer-bottom-margin):
68146aa5
GM
737 * emacs-lisp/debug.el (debugger-bury-or-kill): Fix :version.
738
231d8498
SM
7392012-11-12 Stefan Monnier <monnier@iro.umontreal.ca>
740
741 * emacs-lisp/nadvice.el: New package.
742 * subr.el (special-form-p): New function.
743 * emacs-lisp/elp.el: Use lexical-binding and advice-add.
744 (elp-all-instrumented-list): Remove var.
745 (elp-not-profilable): Remove elp-wrapper.
746 (elp-profilable-p): Use autoloadp and special-form-p.
747 (elp--advice-name): New const.
748 (elp-instrument-function): Use advice-add.
749 (elp--instrumented-p): New predicate.
750 (elp-restore-function): Use advice-remove.
751 (elp-restore-all, elp-reset-all): Use mapatoms.
752 (elp-set-master): Use elp--instrumented-p.
753 (elp--make-wrapper): Rename from elp-wrapper, return a function
754 suitable for advice-add. Use cl-inf.
755 (elp-results): Use mapatoms+elp--instrumented-p.
756 * emacs-lisp/debug.el: Use lexical-binding and advice-add.
757 (debug-function-list): Remove var.
758 (debug): Rename arg, and then let-bind it explicitly inside.
759 (debugger-setup-buffer): Rename arg.
760 (debugger-setup-buffer): Adjust counts to new debug-on-entry setup.
761 (debugger-frame-number): Adjust to new debug-on-entry setup.
762 (debug--implement-debug-on-entry): Rename from
763 implement-debug-on-entry, add argument.
764 (debugger-special-form-p): Remove, use special-form-p instead.
765 (debug-on-entry): Use advice-add.
766 (debug--function-list): New function.
767 (cancel-debug-on-entry): Use it, along with advice-remove.
768 (debug-arglist, debug-convert-byte-code, debug-on-entry-1): Remove.
769 (debugger-list-functions): Use debug--function-list instead of
770 debug-function-list.
771 * emacs-lisp/advice.el (ad-save-real-definition): Remove, unused.
772 (ad-special-form-p): Remove, use special-form-p instead.
773 (ad-set-advice-info): Use add-function and remove-function.
774 (ad--defalias-fset): Adjust accordingly.
775
19e09879
GM
7762012-11-10 Glenn Morris <rgm@gnu.org>
777
714cebd1
GM
778 * mail/emacsbug.el (report-emacs-bug-tracker-url)
779 (report-emacs-bug-bug-alist, report-emacs-bug-choice-widget)
780 (report-emacs-bug-create-existing-bugs-buffer)
781 (report-emacs-bug-parse-query-results)
782 (report-emacs-bug-query-existing-bugs): Remove. (Bug#7449)
783
bf67dafa
GM
784 * term.el (term-default-fg-color, term-default-bg-color):
785 Make obsolete, rather than just saying "deprecated" in the doc.
786
19e09879
GM
787 * term.el (term): Rename from `term-face'.
788 (term-current-face, ansi-term-color-vector)
789 (term-default-fg-color, term-default-bg-color, term-ansi-reset):
790 Update all users.
791
6baf66d5 7922012-11-10 Jan Djärv <jan.h.d@swipnet.se>
531bdce6
JD
793
794 * server.el (server-create-window-system-frame): Handle Nextstep
795 specially (Bug#12780).
796
6baf66d5 7972012-11-10 Glenn Morris <rgm@gnu.org>
fedb154e
GM
798
799 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs):
800 Unautoload, and make obsolete. (Bug#7449)
801
6baf66d5 8022012-11-10 Chong Yidong <cyd@gnu.org>
9d9e48d9
CY
803
804 * vc/diff-mode.el (diff-delete-trailing-whitespace): Rewrite, and
805 rename from diff-remove-trailing-whitespace (Bug#12831).
806
6baf66d5 8072012-11-10 Stefan Monnier <monnier@iro.umontreal.ca>
32170f7f
SM
808
809 * emacs-lisp/advice.el: Require `cl-lib' at run-time to fix
810 miscompilation of trace.el.
811
6baf66d5 8122012-11-10 Glenn Morris <rgm@gnu.org>
26f59676
GM
813
814 * vc/diff-mode.el (diff-remove-trailing-whitespace): Doc fix.
815
6baf66d5 8162012-11-10 Stefan Monnier <monnier@iro.umontreal.ca>
41626722
SM
817
818 * emacs-lisp/gv.el (gv-define-simple-setter): Fix last change
819 (bug#12812).
820
6baf66d5 8212012-11-10 Chong Yidong <cyd@gnu.org>
7d806bfe
CY
822
823 * minibuf-eldef.el (minibuffer-eldef-shorten-default): Convert to
824 a defcustom with an appropriate :set function.
825 (minibuffer-default--in-prompt-regexps): New function.
826
6baf66d5 8272012-11-10 Glenn Morris <rgm@gnu.org>
2ee1d59f 828
031b2ea7
GM
829 * emacs-lisp/cl.el (define-setf-expander, defsetf)
830 (define-modify-macro): Doc fixes.
831
2ee1d59f
GM
832 * emacs-lisp/gv.el (gv-letplace): Fix doc typo.
833 (gv-define-simple-setter): Update doc of `fix-return'.
834
6baf66d5 8352012-11-10 Stefan Monnier <monnier@iro.umontreal.ca>
d57c286e 836
b715ed44
SM
837 * emacs-lisp/gv.el (gv-define-simple-setter): Don't evaluate `val'
838 twice when `fix-return' is set (bug#12813).
839
d57c286e
SM
840 * emacs-lisp/cl.el (defsetf): Pass the third arg to
841 gv-define-simple-setter (bug#12812).
842
c9cac599
SM
843 * woman.el (woman-decode-region): Disable adaptive-fill when rendering
844 (bug#12756).
845
6baf66d5 8462012-11-10 Glenn Morris <rgm@gnu.org>
6b3770fb
GM
847
848 * emacs-lisp/gv.el (gv-define-setter): Fix doc typo.
849
5593ed90
GM
850 * emacs-lisp/cl-extra.el (cl-prettyexpand):
851 * emacs-lisp/cl-lib.el (cl-proclaim, cl-declaim):
852 * emacs-lisp/cl-macs.el (cl-destructuring-bind, cl-locally)
853 (cl-the, cl-compiler-macroexpand): Add basic doc strings.
854
855 * emacs-lisp/cl-extra.el (cl-maplist, cl-mapcan): Doc fix.
856
05a859c1
LL
8572012-11-10 Leo Liu <sdl.web@gmail.com>
858
859 * ido.el (ido-set-matches-1): Improve flex matching performance by
860 removing backtracking in the regexp (suggested by Stefan). (Bug#12796)
861
32e5c58c
SM
8622012-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
863
864 * emacs-lisp/advice.el (ad-set-advice-info): Set defalias-fset-function.
865 (ad--defalias-fset): New function.
866 (ad-safe-fset): Remove.
867 (ad-make-freeze-definition): Use cl-letf*.
868
f5925cd9
SM
8692012-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
870
da03ef8a
SM
871 * subr.el (dolist): Don't bind VAR in RESULT.
872
6858633a
SM
873 * emacs-lisp/advice.el: Miscellaneous cleanup. Use lexical-binding.
874 (fset, documentation): Don't save real def since we don't advise.
875 (ad-do-advised-functions): Remove problematic `result-form'.
876 (ad-safe-fset): `ad-real-fset' => `fset'.
877 (ad-read-advised-function): Don't assume that ad-do-advised-functions
878 uses CL's dolist internally.
879 (ad-arglist): Remove unused arg `name'.
880 (ad-docstring, ad-make-advised-docstring):
881 `ad-real-documentation' => `documentation'.
882 (warning-suppress-types): Declare.
883 (ad-set-arguments): Simple CSE.
884 (ad-recover-normality): Sanity check.
885
f5925cd9
SM
886 * emacs-lisp/bytecomp.el (byte-compile-out-toplevel): Don't turn
887 (funcall '(lambda ..) ..) into ((lambda ..) ..).
888
93a66b3a
VB
8892012-11-09 Vincent Belaïche <vincentb1@users.sourceforge.net>
890
891 * ses.el: symbol to coordinate mapping is made by symbol property
f5925cd9
SM
892 `ses-cell'. This means that the same mapping is done for all SES
893 sheets. That is good enough for cells with standard A1 names, but
894 not for named cell. So a hash map is added for the latter.
895 (defconst ses-localvars): Add local variable ses--named-cell-hashmap
93a66b3a
VB
896 (ses-sym-rowcol): Use hashmap for named cell.
897 (ses-is-cell-sym-p): New defun.
898 (ses-decode-cell-symbol): New defun.
f5925cd9
SM
899 (ses-create-cell-variable): Add cell to hashmap when name is not
900 A1-like.
93a66b3a
VB
901 (ses-rename-cell): Check that cell new name is not already in
902 spreadsheet with the use of ses-is-cell-sym-p
903 (ses-rename-cell): Use hash map for named cells, but accept also
904 renaming back to A1-like.
905
67dd8ad1
SM
9062012-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
907
57618ecf
SM
908 * emacs-lisp/advice.el: Use new dynamic docstrings.
909 (ad-make-advised-definition-docstring, ad-advised-definition-p):
910 Use dynamic-docstring-function instead of ad-advice-info.
911 (ad--make-advised-docstring): New function extracted from
912 ad-make-advised-docstring.
913 (ad-make-advised-docstring): Use it.
914 * progmodes/sql.el (sql--make-help-docstring): New function, extracted
915 from sql-help.
916 (sql-help): Use it with dynamic-docstring-function.
917
67dd8ad1
SM
918 * env.el (env--substitute-vars-regexp): Don't use rx (for bootstrap).
919
be883b34
SM
9202012-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
921
d41706aa
SM
922 * files.el (hack-one-local-variable--obsolete): New function.
923 (hack-one-local-variable): Use it for obsolete settings.
924
85e55412
SM
925 * subr.el (locate-user-emacs-file): If both old and new name exist, use
926 the new name.
927
be883b34
SM
928 * progmodes/js.el (js--filling-paragraph): New var.
929 (c-forward-sws, c-backward-sws, c-beginning-of-macro): Advise.
930 (js-c-fill-paragraph): Prefer advice to cl-letf so the rebinding is
931 less sneaky.
932
cabc040a
JD
9332012-11-08 Julien Danjou <julien@danjou.info>
934
935 * progmodes/ruby-mode.el (auto-mode-alist): Add Rakefile in
936 `auto-mode-alist' (Bug#12835).
937
d14bb752
SM
9382012-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
939
79b3e376
SM
940 * progmodes/perl-mode.el (perl-prettify-symbols): New defcustom.
941 (perl--prettify-symbols-alist): New const.
942 (perl--font-lock-compose-symbol, perl--font-lock-symbols-keywords):
943 New functions.
944 (perl-font-lock-keywords-2): Use them.
945 (perl-electric-noindent-p): New function.
946 (perl-mode): Use it to set up electric-indent-mode.
947 (perl-electric-terminator, perl-indent-command): Mark obsolete.
948 (perl-mode-map): Remove bindings for them.
949 (perl-imenu-generic-expression, perl-outline-level):
950 Match functions&packages in column>0.
951
3b11e6ac
SM
952 * env.el (env--substitute-vars-regexp): New const.
953 (substitute-env-vars): Use it. Add `only-defined' arg.
954 * net/tramp.el (tramp-replace-environment-variables): Use it.
955
784c1a7b
SM
956 * emacs-lisp/bytecomp.el (byte-compile-initial-macro-environment):
957 Byte-compile *before* eval in eval-and-compile.
958 (byte-compile-log-warning): Remove redundant inhibit-read-only.
959 (byte-compile-file-form-autoload): Don't hide actual definition.
960 (byte-compile-maybe-guarded): Accept `functionp' as well.
961
d14bb752
SM
962 * emacs-lisp/gv.el (gv-ref, gv-deref): New function and macro.
963
499a0f7a
MA
9642012-11-07 Michael Albinus <michael.albinus@gmx.de>
965
966 * notifications.el (notifications-get-server-information-method):
967 New defconst.
968 (notifications-get-capabilities): Fix docstring.
969 (notifications-get-server-information): New defun.
970
f0704a9a
AM
9712012-11-06 Agustín Martín Domingo <agustin.martin@hispalinux.es>
972
973 * textmodes/ispell.el (ispell-region): Standard re-indent for better
974 readability.
975
b159a1fd
AM
976 * textmodes/ispell.el: Experimental support for support debugging.
977 (ispell-create-debug-buffer): Create a `ispell-debug-buffer' debug
978 buffer for ispell.
979 (ispell-print-if-debug): New function to print stuff to
980 `ispell-debug-buffer' if debugging is enabled.
981 (ispell-region, ispell-process-line): Use `ispell-print-if-debug' to
982 show some debugging info.
983 (ispell-buffer-with-debug): New function that creates a debugging
984 buffer and calls `ispell-buffer' with debugging enabled.
985
056cb3a1
AM
986 * textmodes/ispell.el (ispell-region): Do not prefix sent string by
987 comment in autoconf mode. (Bug#12768)
988
8e6a67b7
DA
9892012-11-06 Dmitry Antipov <dmantipov@yandex.ru>
990
991 * emacs-lisp/byte-opt.el (toplevel): Add compare-window-configurations,
992 frame-first-window, frame-root-window, frame-selected-window,
993 minibuffer-selected-window, minibuffer-window,
994 window-absolute-pixel-edges, window-at, window-body-height,
995 window-body-width, window-display-table, window-combination-limit,
996 window-frame, window-fringes, window-inside-absolute-pixel-edges,
997 window-inside-edges, window-inside-pixel-edges, window-left-child,
998 window-left-column, window-margins, window-next-buffers,
999 window-next-sibling, window-new-normal, window-new-total,
1000 window-normal-size, window-parameter, window-parameters, window-parent,
1001 window-pixel-edges, window-point, window-prev-buffers,
1002 window-prev-sibling, window-redisplay-end-trigger, window-scroll-bars,
1003 window-start, window-text-height, window-top-child, window-top-line,
1004 window-total-height, window-total-width and window-use-time to the list
1005 of functions without side-effects.
1006 (toplevel): Add window-valid-p to the list of error-free functions
1007 without side-effects.
1008
53fc914f
AM
10092012-11-05 Agustín Martín Domingo <agustin.martin@hispalinux.es>
1010
f5925cd9
SM
1011 * textmodes/ispell.el (ispell-program-name):
1012 Update spellchecker parameters when customized.
53fc914f 1013
9749e2b0
GM
10142012-11-04 Glenn Morris <rgm@gnu.org>
1015
1016 * vc/vc-svn.el (vc-svn-state-heuristic): Avoid calling svn. (Bug#7850)
1017
2cbafa56
CY
10182012-11-04 Chong Yidong <cyd@gnu.org>
1019
1020 * bookmark.el (bookmark-bmenu-switch-other-window): Avoid binding
1021 same-window-* variables.
1022
85178ca1
JL
10232012-11-04 Juri Linkov <juri@jurta.org>
1024
1025 * isearch.el (isearch-help-for-help, isearch-describe-bindings)
1026 (isearch-describe-key, isearch-describe-mode): Use a display
1027 action instead of binding same-window-* variables (Bug#10040).
1028
5c677d44
GM
10292012-11-03 Glenn Morris <rgm@gnu.org>
1030
49138400
GM
1031 * emacs-lisp/cl-macs.el (cl-parse-loop-clause):
1032 Rename handler properties back from cl-- to cl-. (Bug#12788)
1033
5c677d44
GM
1034 * emacs-lisp/cl-macs.el (cl-do-all-symbols): Add doc string.
1035
1d4341f9
EZ
10362012-11-03 Eli Zaretskii <eliz@gnu.org>
1037
1038 * term/pc-win.el: Don't load term/internal from here.
1039
1040 * loadup.el: Load term/internal from here.
1041
12fd5ee1
FEG
10422012-11-03 Fabián Ezequiel Gallina <fgallina@cuca>
1043
1044 * progmodes/python.el (inferior-python-mode): Fix hang in
1045 jit-lock (Bug#12645).
1046
43bcfda6
MR
10472012-11-03 Martin Rudalics <rudalics@gmx.at>
1048
1049 * window.el (switch-to-visible-buffer)
1050 (switch-to-buffer-preserve-window-point): Fix doc-strings.
1051
376a8e83
GM
10522012-11-03 Glenn Morris <rgm@gnu.org>
1053
1054 * emacs-lisp/cl-lib.el (cl--random-time):
1055 Rename from cl-random-time. (Bug#12773)
1056 (cl--gensym-counter, cl--random-state): Update callers.
1057 * emacs-lisp/cl-extra.el (cl-make-random-state): Update callers.
1058
0f7b074f
CY
10592012-11-03 Chong Yidong <cyd@gnu.org>
1060
1061 * cus-start.el: Make cursor-type customizable (Bug#11633).
1062
3a6851d9
GM
10632012-11-02 Glenn Morris <rgm@gnu.org>
1064
00a3b041
GM
1065 * filecache.el: No need to load find-lisp when compiling.
1066 (find-lisp-find-files): Autoload it.
1067 (file-cache-add-directory-recursively): Don't require find-lisp.
1068
11fef14a
GM
1069 * image.el (image-type-from-file-name): Trivial simplification.
1070
3a6851d9
GM
1071 * emacs-lisp/bytecomp.el (byte-compile-eval):
1072 Decouple "noruntime" and "cl-functions" warnings.
1073
b4b096e4
SB
10742012-11-01 Stephen Berman <stephen.berman@gmx.net>
1075
1076 * play/gomoku.el (gomoku-display-statistics): Update mode line
1077 only if in Gomoku buffer; don't capitalize "won" (Bug#12771).
1078
218e997a
MR
10792012-10-31 Martin Rudalics <rudalics@gmx.at>
1080
1081 * window.el (quit-restore-window): If the window has been
1082 created on an existing frame and ended up as the sole window on
1083 that frame, do not delete it (Bug#12764).
1084
b08b6da7
SM
10852012-10-31 Stefan Monnier <monnier@iro.umontreal.ca>
1086
3618df45
SM
1087 * progmodes/sh-script.el (sh--inside-noncommand-expression):
1088 Rename from sh--inside-arithmetic-expression, handle more cases
1089 (bug#11263).
1090
b08b6da7
SM
1091 * progmodes/sh-script.el (sh--inside-arithmetic-expression): New func.
1092 (sh-font-lock-open-heredoc): Use it (bug#12770).
1093
4ddedf94
GM
10942012-10-30 Glenn Morris <rgm@gnu.org>
1095
f43a5263
GM
1096 * emacs-lisp/cl-extra.el (cl-mapc): Add autoload cookie. Doc fix.
1097
4ddedf94
GM
1098 * emacs-lisp/cl.el (letf): Doc fix. (Bug#12760)
1099
748b0d84
CY
11002012-10-29 Chong Yidong <cyd@gnu.org>
1101
b5dd9a77
CY
1102 * isearch.el (isearch-other-meta-char): Ensure that a reprocessed
1103 function key is stored in a keyboard macro (Bug#4894).
1104
748b0d84
CY
1105 * thingatpt.el (number-at-point): Apply a thing-at-point property.
1106
e07fcbdc
SM
11072012-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
1108
d7f9cc85
SM
1109 * vc/diff-mode.el (diff-context->unified): Don't get confused by "hunk
1110 header comments".
1111 (diff-unified->context, diff-context->unified)
1112 (diff-reverse-direction, diff-fixup-modifs): Use `use-region-p'.
1113
c606253c
SM
1114 * emacs-lisp/cl.el (letf): Add missing indent rules (bug#12759).
1115
e07fcbdc
SM
1116 * files.el (find-alternate-file): Only ask one question (bug#12487).
1117
894b9dd9
CY
11182012-10-29 Chong Yidong <cyd@gnu.org>
1119
1dc2755a
CY
1120 * vc/vc-hooks.el (vc-file-clearprops): Kill vc-parent-buffer.
1121 Suggested by Dan Nicolaescu (Bug#6326).
1122
329c48d8
CY
1123 * info.el (Info-complete-menu-item): Avoid duplicates (Bug#12705).
1124
2230fa5b 1125 * startup.el (fancy-about-screen): Don't message (Bug#12680).
5c2f2631 1126
e84cad57
CY
1127 * thingatpt.el (thing-at-point): Doc fix (Bug#12691).
1128
1913c5f5
CY
1129 * imenu.el (imenu): Inhibit push-mark message (Bug#12726).
1130
894b9dd9
CY
1131 * face-remap.el (face-remap-add-relative): Handle the case where a
1132 face-remapping-alist entry is a cons cell (Bug#12762).
1133
329c48d8
CY
11342012-10-29 Kevin Ryde <user42@zip.com.au>
1135
1136 * woman.el (woman-parse-numeric-value): Handle picas correctly
1137 (Bug#12639).
1138
a0ccbcbd
GM
11392012-10-29 Glenn Morris <rgm@gnu.org>
1140
1141 * emacs-lisp/cl.el (defsetf): Doc fix.
1142
b3871e59
SM
11432012-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
1144
1145 * progmodes/sh-script.el (sh-font-lock-paren): Also put punctuation
1146 syntax to the matching opener, if any (bug#12547).
1147 (sh-smie-sh-forward-token, sh-smie-sh-backward-token): Recognize this
1148 matching open as a "case-(".
1149 (sh-smie-rc-grammar): Add a corresponding rule for it.
1150
cd44022c
DH
11512012-10-28 Daniel Hackney <dan@haxney.org>
1152
1153 * emacs-lisp/package.el (package-generate-autoloads): Kill buffer
1154 "PKGNAME-autoloads.el" in case we created it.
1155
70edffb1
SM
11562012-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
1157
86957a0c
SM
1158 * minibuffer.el (completion--sifn-requote): Rewrite to handle things
1159 like Tramp's "/foo:~bar//baz" -> "/scpc:foo:/baz" mapping (bug#11714).
b9383404 1160 (completion--twq-all): Disable too-strict assertions.
86957a0c 1161
70edffb1
SM
1162 * tmm.el (tmm-prompt): Use map-keymap (bug#12744).
1163
d069271c
EZ
11642012-10-27 Eli Zaretskii <eliz@gnu.org>
1165
1166 * profiler.el (profiler-report-make-entry-part): Fix help-echo
1167 text to match the real keybindings.
1168
e2f022a3
JL
11692012-10-27 Juri Linkov <juri@jurta.org>
1170
1171 * wdired.el (wdired-keep-marker-rename): New defcustom.
1172 (wdired-do-renames): Use it instead of `dired-keep-marker-rename'.
1173 (Bug#11795)
1174
1175 * dired.el (dired-keep-marker-rename): Add reference to
1176 `wdired-keep-marker-rename' in the docstring.
1177 Add default character value ?R to display initially in
1178 Customization UI instead of ?@.
1179
df171c23
MR
11802012-10-27 Martin Rudalics <rudalics@gmx.at>
1181
1182 * window.el (display-buffer): In doc-string describe
1183 window-height and window-width alist entries.
1184
1185 * time.el (display-time-world): Restore fit-window-to-buffer
1186 behavior.
1187
05b621a6
CY
11882012-10-27 Chong Yidong <cyd@gnu.org>
1189
1190 * subr.el (insert-buffer-substring-as-yank): Doc fix.
1191
55f197b2
J
11922012-10-26 Jambunathan K <kjambunathan@gmail.com>
1193
1194 * minibuffer.el (completion-category-overrides): New completion
1195 category `bookmark' (bug#11131).
1196
372212df
SM
11972012-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
1198
150f809c
SM
1199 * emacs-lisp/advice.el (ad-assemble-advised-definition):
1200 Silence bogus compiler warnings for ad-do-it.
1201
372212df
SM
1202 * bookmark.el (bookmark-completing-read): Set the completion category
1203 to `bookmark' (bug#11131).
1204
c5772569
B
12052012-10-26 Bastien <bzg@altern.org>
1206 Stefan Monnier <monnier@iro.umontreal.ca>
1207
1208 * face-remap.el: Use lexical-binding.
1209 (text-scale-adjust): Improve docstring. Use itself for the temporary
1210 overlay-map bindings, so as to repeat the "Use..." message each time.
1211
a2be0357
SM
12122012-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
1213
63314e57
SM
1214 * emacs-lisp/macroexp.el (macroexp--expand-all):
1215 Obey byte-compile-warning-enabled-p (bug#12486).
1216
a2be0357
SM
1217 * vc/diff-mode.el (diff-end-of-hunk): Also skip potential "no LF at eol".
1218 (diff-refine-hunk): Similarly, handle the "no LF at eol" (bug#12584).
1219
8c7727c3
MR
12202012-10-26 Martin Rudalics <rudalics@gmx.at>
1221
1222 * mouse.el (mouse-drag-line): Move last form into preceding when
1223 clause (Bug#12731).
1224
1225 * help.el (resize-temp-buffer-window): Fix doc-string.
1226
3f2a848d
DE
12272012-10-25 David Engster <deng@randomsample.de>
1228
1229 * emacs-lisp/eieio.el (eieio-update-lisp-imenu-expression):
a2be0357 1230 Remove. This feature is already integrated in imenu.
3f2a848d
DE
1231
1232 * emacs-lisp/eieio-opt.el: Remove require for `button' since it is
1233 always loaded. Require `speedbar' unconditionally.
1234
a7723be6
SM
12352012-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
1236
aaabfc8b
SM
1237 * dired.el (dired-get-marked-files): Allow ! on . and .. (bug#12725).
1238
414a8595
SM
1239 * minibuffer.el (minibuffer-force-complete): Fix thinko.
1240
fb5b9475
SM
1241 * net/ldap.el (ldap-search-internal): The official ldif format starts
1242 with a "version: 1" header (bug#12724).
1243
a7723be6
SM
1244 * emacs-lisp/package.el (package-installed-p): Warn if not ready
1245 (bug#12721).
1246
a05cb6e3
GM
12472012-10-25 Glenn Morris <rgm@gnu.org>
1248
1249 * emacs-lisp/cl-macs.el (cl-progv): Doc fix.
1250
3c92de70
SM
12512012-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
1252
1253 * minibuffer.el (minibuffer-force-complete): Use one more marker
1254 for the temporary-overlay-map command (bug#12619).
1255
a4b6d7c6
CY
12562012-10-24 Chong Yidong <cyd@gnu.org>
1257
1258 * time.el (display-time-world-mode): Derive from special-mode.
1259 (display-time-world): Use display-buffer (Bug#12708).
1260 (display-time-world-mode-map): Variable deleted.
9321d8d7
CY
1261 (display-time-world-display): Wrap the final delete-char inside
1262 inhibit-read-only.
a4b6d7c6 1263
75e8f9d2
CY
12642012-10-24 Chong Yidong <cyd@gnu.org>
1265
cd996018
CY
1266 * dired.el (dired-mark, dired-unmark, dired-flag-file-deletion):
1267 Doc fix.
1268
75e8f9d2
CY
1269 * emacs-lisp/easymenu.el (easy-menu-define): Doc fix (Bug#12628).
1270
d92df117
SM
12712012-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
1272
1273 * minibuffer.el (completion--all-sorted-completions-location): New var.
1274 (completion--cache-all-sorted-completions)
1275 (completion--flush-all-sorted-completions): Use it.
1276 (completion-in-region, completion-in-region--postch)
1277 (completion-at-point, completion-help-at-point): Use markers in
1278 completion-in-region--data (bug#12619).
1279
9c3e39f3
SM
12802012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
1281
c79825bd
SM
1282 * progmodes/compile.el (compilation-start): Try to handle common
1283 quoting of `cd' argument (bug#12640).
1284
9c3e39f3
SM
1285 * vc/diff-mode.el (diff-hunk): `save-excursion' while refining
1286 (bug#12671).
1287
a6709bc7
GM
12882012-10-23 Glenn Morris <rgm@gnu.org>
1289
1290 * progmodes/gud.el (gud-menu-map):
1291 Check gdb-active-process is bound. (Bug#12358)
1292
d1069532
SM
12932012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
1294
d20d69c0
SM
1295 * repeat.el (repeat): Set real-this-command (bug#12232).
1296
d1069532
SM
1297 * htmlfontify.el (hfy-post-html-hook):
1298 * filesets.el (filesets-cache-fill-content-hook):
1299 * arc-mode.el (archive-extract-hook):
1300 * progmodes/cc-mode.el (c-prepare-bug-report-hook):
1301 * net/rcirc.el (rcirc-sentinel-functions)
1302 (rcirc-receive-message-functions, rcirc-activity-functions)
1303 (rcirc-print-functions):
1304 * net/dbus.el (dbus-event-error-functions):
1305 * emacs-lisp/eieio.el (eieio-pre-method-execution-functions):
1306 * emacs-lisp/checkdoc.el (checkdoc-style-functions)
1307 (checkdoc-comment-style-functions): Don't use "-hooks" suffix.
1308 * term/sun.el (sun-raw-prefix-hooks):
1309 * mail/sendmail.el (mail-yank-hooks): Use make-obsolete-variable.
1310
f7eac6d8
MA
13112012-10-23 Michael Albinus <michael.albinus@gmx.de>
1312
d1069532
SM
1313 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
1314 Set `tramp-chunksize' to 1. This improves the performance.
f7eac6d8
MA
1315 (tramp-smb-wait-for-output): Add timeout to
1316 `tramp-accept-process-output' calls.
1317
608d9d7c
CY
13182012-10-23 Chong Yidong <cyd@gnu.org>
1319
49238e7f
CY
1320 * faces.el (font-list-limit): Define as an obsolete variable.
1321
1322 * startup.el (command-line):
1323 * cus-start.el: Don't refer to font-list-limit.
1324
608d9d7c
CY
1325 * newcomment.el (comment-normalize-vars): Doc fix (Bug#12583).
1326
4ff5b1b2
SM
13272012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
1328
1329 * subr.el (internal-temp-output-buffer-show): Rename from
1330 temp-output-buffer-show, since previously compiled files expect this name.
1331
ea1d4aac
GM
13322012-10-23 Glenn Morris <rgm@gnu.org>
1333
1334 * image.el (image-type-from-file-name): If multiple types match,
1335 return the first one that is supported. (Bug#9045)
1336
eda82a31
GM
13372012-10-22 Glenn Morris <rgm@gnu.org>
1338
1339 * image.el (imagemagick-enabled-types): Doc fix.
1340
4f020bec
TA
13412012-10-22 Takafumi Arakaki <aka.tkf@gmail.com> (tiny change)
1342
1343 * progmodes/which-func.el (which-func-current): The hash-table may have
1344 an explicit nil (bug#12338).
1345
c77d37e2
SM
13462012-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
1347
1348 * electric.el (electric-pair-delete-selection-self-insert-function):
1349 Rename to electric-pair-will-use-region, return a boolean.
1350 (electric-pair-mode): Adjust accordingly. Don't require delsel.
1351
1352 * delsel.el (delete-selection-helper): Use a function instead of a hook.
1353 (delete-selection-pre-hook): Use use-region-p.
1354 (delete-selection-self-insert-function): Remove.
1355 (self-insert-command): Obey self-insert-uses-region-functions.
1356 (self-insert-iso): Revert to previous setting, since we don't actually
1357 know what that command does.
1358 (delete-selection-self-insert-hooks): Remove.
1359
b1d39ccc
SL
13602012-10-22 Simon Law <sfllaw@sfllaw.ca> (tiny change)
1361
1362 * delsel.el (delete-selection-helper): New function, extracted from
1363 delete-selection-pre-hook.
1364 (delete-selection-pre-hook): Use it.
1365 (delete-selection-self-insert-function): New function.
1366 (delete-selection-self-insert-hooks): New hook.
1367 (self-insert-command, self-insert-iso): Use it.
1368 * electric.el (electric-pair-syntax): New function, extracted from
1369 electric-pair-post-self-insert-function.
1370 (electric-pair-post-self-insert-function): Use it.
1371 (electric-pair-delete-selection-self-insert-function): New function.
1372 (electric-pair-mode): Require delsel and setup
1373 delete-selection-self-insert-hooks (bug#11520).
1374
045ef729
CY
13752012-10-20 Chong Yidong <cyd@gnu.org>
1376
4c5d08a8
CY
1377 * vc/vc.el (vc-diff-internal): Set up Diff mode even if there are
1378 no changes to show (Bug#12586).
1379
045ef729
CY
1380 * eshell/esh-cmd.el (eshell-rewrite-for-command): Copy the body
1381 list explicitly (Bug#12571).
1382
3503c798 13832012-10-20 Arne Jørgensen <arne@arnested.dk>
79e1997a 1384
b1d39ccc
SL
1385 * progmodes/flymake.el (flymake-create-temp-inplace):
1386 Use file-truename.
79e1997a 1387
2068905b
EZ
13882012-10-20 Eli Zaretskii <eliz@gnu.org>
1389
1390 * loadup.el: Update comment about uncompiled Lisp files. (Bug#12395)
1391
4c9e9550
JB
13922012-10-20 Jay Belanger <jay.p.belanger@gmail.com>
1393
1394 * calc/calc-units.el (math-extract-units): Properly extract powers
1395 of units.
1396
1a6e7e38
DC
13972012-10-20 Daniel Colascione <dancol@dancol.org>
1398
1399 * frame.el (make-frame): Set x-display-name as we used to in order
1400 to unbreak creating an X11 frame from an Emacs daemon started
1401 without a display.
1402
8e808318
SM
14032012-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
1404
1405 * minibuffer.el (minibuffer-force-complete): Make the next completion use
f5925cd9 1406 the same completion-field (bug#12221).
8e808318 1407
fb0104da
MR
14082012-10-19 Martin Rudalics <rudalics@gmx.at>
1409
1410 * emacs-lisp/debug.el (debug): Record height of debugger window
1411 also when debugger will be back (Bug#8789).
1412
8c27235e
CY
14132012-10-18 Chong Yidong <cyd@gnu.org>
1414
1415 * progmodes/gdb-mi.el (gdb-display-buffer-other-frame-action):
1416 Convert to defcustom.
1417 (gdb-get-source-file): Don't bind pop-up-windows.
1418
1419 * progmodes/gud.el (gud-display-line): Don't specially re-use
1420 other frames for the gdb-mi case (Bug#12648).
1421
90eacf99
SM
14222012-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
1423
aaf0c300
SM
1424 * emacs-lisp/advice.el: Clean up commentary a bit.
1425 (ad-do-advised-functions, ad-with-originals): Use `declare'.
1426 (byte-code-function-p): Never redefine.
1427
90eacf99
SM
1428 * emacs-lisp/gv.el (cond): Same fix as before for `if'.
1429
281c9d2b
GM
14302012-10-18 Glenn Morris <rgm@gnu.org>
1431
40714e3d
GM
1432 * dired.el (dired-sort-toggle): Some ls implementations only allow
1433 a single option string. (Bug#12666)
1434
281c9d2b
GM
1435 * minibuffer.el (completion-cycle-threshold): Doc fix.
1436
b278604e
KH
14372012-10-17 Kenichi Handa <handa@gnu.org>
1438
90eacf99
SM
1439 * international/mule.el (set-keyboard-coding-system):
1440 Recover input meta mode when the new coding system doesn not use 8-bit.
b278604e
KH
1441 Supply TERMINAL arg to set-input-meta-mode.
1442
df171c23 14432012-10-17 Michael Heerdegen <michael_heerdegen@web.de>
7ebc5f5a
MH
1444
1445 * wdired.el (wdired-old-marks): New variable.
1446 (wdired-change-to-wdired-mode): Locally set wdired-old-marks.
1447 (wdired-do-renames): Move point with renamed file and don't lose
1448 mark status (Bug#11795).
1449
e5a94ec4
JL
14502012-10-16 Juri Linkov <juri@jurta.org>
1451
1452 * replace.el (query-replace-help): Mention multi-buffer replacement
1453 keys in the Help message. (Bug#12655)
1454
d18a0d24
CY
14552012-10-15 Chong Yidong <cyd@gnu.org>
1456
1457 * emacs-lisp/byte-run.el (defsubst): Doc fix.
1458
8111f5e6
EZ
14592012-10-14 Eli Zaretskii <eliz@gnu.org>
1460
7b9abf24
EZ
1461 * window.el (display-buffer): Doc fix.
1462
8111f5e6
EZ
1463 * progmodes/compile.el (compilation-error-regexp-alist-alist):
1464 Adjust the msft regexp to the output of Studio 2010, and move msft
1465 before edg-1. See the discussion on emacs-devel,
1466 http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00579.html,
1467 for the details.
1468
5046ef67
SM
14692012-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
1470
9760c73c
SM
1471 * emacs-lisp/eieio.el (eieio-oset-default, eieio-oset, oset-default)
1472 (oset): Move uses of object-class-fast macro after its definition.
1473
5046ef67
SM
1474 * emacs-lisp/gv.el (if): Don't use closures in non-lexical-binding code.
1475
0d11ff1c
CY
14762012-10-13 Chong Yidong <cyd@gnu.org>
1477
1478 * textmodes/ispell.el (ispell-pdict-save): If flyspell-mode is
1479 enabled, re-enable it (Bug#11963).
1480
88ded8ac
MR
14812012-10-13 Martin Rudalics <rudalics@gmx.at>
1482
1483 * emacs-lisp/debug.el (debug): When debugger-will-be-back is
1484 non-nil, restore window configuration (Bug#12623).
1485
bd0ffffd
SM
14862012-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
1487
06485aa8
SM
1488 * help-fns.el (describe-variable, describe-function-1):
1489 * help-mode.el (help-make-xrefs): Remove error handler, made unneeded.
1490
bd0ffffd
SM
1491 * emacs-lisp/eieio.el (lisp-imenu-generic-expression): Fix typo.
1492
3a989246
GM
14932012-10-12 Glenn Morris <rgm@gnu.org>
1494
1495 * mail/rmailsum.el (rmail-header-summary):
1496 Fix 2010-11-26 test for multiline Subject: field. (Bug#12625)
1497
55cd00c8
FEG
14982012-10-12 Fabián Ezequiel Gallina <fgallina@cuca>
1499
bd0ffffd
SM
1500 * progmodes/python.el (python-mode-map):
1501 Replace subtitute-key-definition with proper command remapping.
55cd00c8
FEG
1502 (python-nav--up-list): Fix behavior for blocks on the same level.
1503
ac9fc2c7
SM
15042012-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
1505
d8cc4c00 1506 * help-fns.el (describe-function-1): Handle autoloads w/o docstrings.
d8cc4c00 1507
5253a5fd
SM
1508 * emacs-lisp/bytecomp.el (byte-compile-eval): Adjust to long-ago
1509 changes to the format of load-history.
1510
ac9fc2c7
SM
1511 * international/mule-cmds.el (read-char-by-name): Move let-binding of
1512 completion-ignore-case in case that var is buffer-local (bug#12615).
1513
cde44a77
KH
15142012-10-11 Kenichi Handa <handa@gnu.org>
1515
1516 * international/eucjp-ms.el: Re-generated.
1517
4ef4a10d
KH
15182012-10-10 Kenichi Handa <handa@gnu.org>
1519
1520 * select.el (xselect--encode-string): If a coding is specified for
1521 selection, and that is compatible with COMPOUND_TEXT, use it.
1522
9d7f027b
MR
15232012-10-10 Martin Rudalics <rudalics@gmx.at>
1524
1525 * window.el (switch-to-buffer-preserve-window-point): New option.
ac9fc2c7
SM
1526 (switch-to-buffer):
1527 Obey `switch-to-buffer-preserve-window-point' (Bug#4041).
9d7f027b 1528
238f3a58
SM
15292012-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
1530
1531 * newcomment.el (comment-start-skip, comment-end-skip, comment-end):
1532 Don't document nil as a useful value (bug#12583).
1533
1d51f99c
MA
15342012-10-09 Michael Albinus <michael.albinus@gmx.de>
1535
238f3a58
SM
1536 * net/tramp.el (tramp-debug-message):
1537 Remove "tramp-with-progress-reporter" from regexp of ignored functions.
1d51f99c
MA
1538 (with-tramp-progress-reporter): Rename from
1539 `tramp-with-progress-reporter'.
238f3a58
SM
1540 (with-tramp-file-property, with-tramp-connection-property):
1541 Move from tramp-cache.el, rename from `with-file-property' and
1d51f99c
MA
1542 `with-connection-property', respectively.
1543
1544 * net/tramp-cache.el: Remove `with-file-property' and
1545 `with-connection-property'.
1546
1547 * net/tramp.el:
1548 * net/tramp-gvfs.el:
1549 * net/tramp-sh.el:
1550 * net/tramp-smb.el: Adapt callees.
1551
1552 * net/trampver.el: Update release number.
1553
26b77251
GM
15542012-10-09 Glenn Morris <rgm@gnu.org>
1555
9a5f296f
GM
1556 * w32-fns.el (set-message-beep):
1557 * term/w32-win.el (set-message-beep): Update declarations.
1558
94c66ce5
SM
15592012-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
1560
10766e9e
SM
1561 * bindings.el (mode-line-toggle-read-only, mode-line-toggle-modified)
1562 (mode-line-widen, mode-line-input-method-map)
1563 (mode-line-coding-system-map, mode-line-remote)
1564 (mode-line-unbury-buffer, mode-line-bury-buffer)
1565 (mode-line-next-buffer, mode-line-previous-buffer):
1566 Replace save-selected-window+select-window => with-selected-window.
1567
f754db08
SM
1568 * progmodes/cc-bytecomp.el (cc-bytecomp-defmacro): Remove, unused.
1569 * progmodes/cc-vars.el (bq-process): Remove, unused.
1570
94c66ce5
SM
1571 * emacs-lisp/cl-macs.el (cl-defstruct): Obey the :read-only property.
1572
a4ff7fe1
FEG
15732012-10-09 Fabián Ezequiel Gallina <fgallina@cuca>
1574
1575 Implemented `backward-up-list'-like navigation.
1576 * progmodes/python.el (python-nav-up-list)
1577 (python-nav-backward-up-list): New functions.
1578 (python-mode-map): Define substitute key for backward-up-list to
1579 python-nav-backward-up-list.
1580
24517d82
FEG
15812012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
1582
1583 * progmodes/python.el (python-fill-paragraph): Rename from
1584 python-fill-paragraph-function. Fixed fill-paragraph for
1585 decorators (Bug#12605).
1586
51867ae2
FEG
15872012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
1588
1589 * progmodes/python.el (python-shell-output-filter): Handle extra
1590 carriage return in OSX (Bug#12409).
1591
a5b773c4
FEG
15922012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
1593
1594 Fix shell handling of unbalanced quotes and parens in output.
94c66ce5 1595 * progmodes/python.el (python-rx-constituents): Add string-delimiter.
a5b773c4
FEG
1596 (python-syntax-propertize-function): Use it.
1597 (python-shell-output-syntax-table): New var.
1598 (inferior-python-mode): Prevent unbalanced parens/quotes from
1599 previous output mess with current input context.
1600
13373538
JB
16012012-10-08 Juanma Barranquero <lekktu@gmail.com>
1602
1603 * generic-x.el (javascript-generic-mode, javascript-generic-mode-hook):
1604 Make obsolete aliases of js-mode and js-mode-hook (from js.el).
1605
775a132d
MA
16062012-10-08 Michael Albinus <michael.albinus@gmx.de>
1607
1608 * ffap.el (ffap-replace-file-component): Support Tramp file name
1609 syntax, not only ange-ftp's one.
1610
3ab44929
GM
16112012-10-08 Glenn Morris <rgm@gnu.org>
1612
57f1dee4
GM
1613 * cus-start.el (message-log-max): Set :version.
1614
3ab44929
GM
1615 * calendar/calendar.el (calendar-intermonth-header): Doc fix.
1616
6a088630
MR
16172012-10-08 Martin Rudalics <rudalics@gmx.at>
1618
1619 * emacs-lisp/edebug.el (edebug-pop-to-buffer): Don't try to split
1620 the minibuffer window (Bug#10851).
1621
8dbce54c
FEG
16222012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
1623
1624 Enhancements on forward-sexp movement.
1625 * progmodes/python.el (python-nav-beginning-of-statement)
1626 (python-nav-end-of-statement): Return point-marker.
1627 (python-nav-forward-sexp): lisp-like forward-sexp behavior.
1628 (python-info-current-symbol)
1629 (python-info-statement-starts-block-p): Rename from
1630 python-info-beginning-of-block-p.
1631 (python-info-statement-ends-block-p): Rename from
1632 python-info-end-of-block-p.
1633 (python-info-beginning-of-statement-p)
1634 (python-info-end-of-statement-p)
1635 (python-info-beginning-of-block-p, python-info-end-of-block-p):
1636 New functions.
1637
5acd2b3e
SM
16382012-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
1639
1640 * comint.el (comint-preinput-scroll-to-bottom): Preserve the
1641 frame-selected-windows.
1642
e08348a0
DC
16432012-10-08 Daniel Colascione <dancol@dancol.org>
1644
1645 * battery.el (battery-status-function): Check for
1646 w32-battery-status itself, not system-time windows-nt.
1647
1648 * frame.el: Require cl-lib.
1649 (display-format-alist): New variable mapping frame types to
1650 functions that initialize them.
1651 (window-system-for-display): New function: interprets
1652 display-format-alist.
1653 (make-frame-on-display): Remove existing display-selection logic
1654 and just forward to make-frame, which will now DTRT.
1655 (make-frame): Restructure to use window-system-for-display to
1656 figure out how to create a frame on a given display.
1657 (display-mouse-p): Look for frame-type w32, not a particular
1658 system-type.
1659
1660 * loadup.el: Load w32 lisp code when we have the w32 feature.
1661
1662 * mouse.el (mouse-yank-primarY): Look for frame-type w32, not
1663 system-type windows-nt.
1664
1665 * server.el (server-create-window-system-frame): Look for window
1666 type.
1667 (server-proces-filter): Only force a window system when windows-nt
1668 _and_ w32. Explain why.
1669
1670 * simple.el (normal-erase-is-backspace-mode): Add w32 to the list
1671 of window systems we configure for the mode.
1672
1673 * startup.el (command-line): Mark window system is initialized
1674 after we've done it.
1675
1676 * common-win.el (x-select-text): Look for w32, not windows-nt.
1677
1678 * ns-win.el: Require cl-lib. Add ourselves to
1679 display-format-alist.
1680 (ns-initialize-window-system): Assert we're not initialized twice.
1681
1682 * w32-win.el: Enable lexical binding; require cl-lib; add
1683 ourselves to display-format-alist.
1684 (w32-handle-dropped-file): Convert incoming dropped files from
1685 Windows paths to Cygwin ones before passing them on to the rest of
1686 Emacs.
1687 (w32-drag-n-drop): New paramter new-frame. Simplify logic.
1688 (w32-initialize-window-system): Assert we're not initialized twice.
1689
1690 * x-win.el: Require cl-lib; add ourselves to display-format-alist.
1691 (x-initialize-window-system): Assert we're not initialized twice.
1692
1693 * w32-common-fns.el: New File.
1694 (w32-version, w32-using-nt, w32-get-clipboard-data)
1695 (w32-set-clipboard-data, x-set-selection, x-get-selection)
1696 (w32-charset-info-alist, x-last-selected, text)
1697 (x-get-selection-value, x-selection-value): Move here.
1698
1699 * w32-fns.el: Require w32-common-fns.
1700 (w32-version, w32-using-nt, w32-get-clipboard-data)
1701 (w32-set-clipboard-data, x-set-selection, x-get-selection)
1702 (w32-charset-info-alist, x-last-selected, text)
1703 (x-get-selection-value, x-selection-value): Move to
1704 w32-common-fns.
1705
1706 * w32-vars.el:
1707 (w32-allow-system-shell, w32-system-shells): Define only in
1708 non-cygwin case.
1709
795b1482
SM
17102012-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
1711
1712 * subr.el (read-passwd-map): Don't use `defconst' (bug#12597).
1713 (read-passwd): Remove a few more potential sources of leaks.
1714
f27c99dc
FEG
17152012-10-07 Fabián Ezequiel Gallina <fgallina@cuca>
1716
1717 * progmodes/python.el (inferior-python-mode)
795b1482 1718 (python-shell-make-comint): Fix initialization of local
f27c99dc
FEG
1719 variables copied from parent buffer.
1720
fcacb558
JD
17212012-10-07 Jan Djärv <jan.h.d@swipnet.se>
1722
1723 * term/ns-win.el (ns-read-file-name): Update declaration to match
1724 nsfns.m.
1725 (ns-respond-to-change-font): Change fontsize separatly so we are sure
1726 it is set when font is acted upon.
1727
be0d5bae
FEG
17282012-10-07 Fabián Ezequiel Gallina <fgallina@cuca>
1729
1730 Enhancements to indentation.
1731 * progmodes/python.el (python-indent-context): Give priority to
1732 inside-string context. Make comments indentation markers.
1733 (python-indent-region): Do not mess with strings, unless it's the
1734 enclosing set of quotes.
1735
13af0d10
SM
17362012-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
1737
662a9d0e
SM
1738 * window.el (internal--before-save-selected-window)
1739 (internal--after-save-selected-window): New functions extracted from
1740 save-selected-window. Make sure we return the `alist' we construct.
1741 (save-selected-window): Use them.
1742
1743 * textmodes/tex-mode.el (tex-recenter-output-buffer):
1744 Use with-selected-window.
1745
13af0d10
SM
1746 * emacs-lisp/autoload.el (make-autoload): Add `cl-defmacro' to the
1747 forms that define macros (bug#12593).
1748
6aa75fb6
KH
17492012-10-07 Kenichi Handa <handa@gnu.org>
1750
13af0d10
SM
1751 * international/mule-conf.el (compound-text-with-extensions):
1752 Add :mime-charset property as x-ctext.
6aa75fb6 1753
78d876b9
SM
17542012-10-07 Stefan Merten <smerten@oekonux.de>
1755
1756 * textmodes/rst.el (rst-new-adornment-down, rst-indent-field)
1757 (rst-indent-literal-normal, rst-indent-literal-minimized)
1758 (rst-indent-comment): Correct :version tag.
557337e9 1759 (rst-official-cvs-rev): Correct version string.
78d876b9 1760
99a1e701
GM
17612012-10-07 Glenn Morris <rgm@gnu.org>
1762
1763 * mail/rmailmm.el (rmail-mime-process-multipart):
1764 Do not confuse a multipart message with an epilogue
1765 with a "truncated" one; fixes 2011-06-27 change. (Bug#10101)
1766
08f18c3d
FEG
17672012-10-07 Fabián Ezequiel Gallina <fgallina@cuca>
1768
1769 Fix shell output retrieval and comint-prompt-regexp init.
1770 * progmodes/python.el (inferior-python-mode):
1771 (python-shell-make-comint): Fix initialization of
1772 comint-prompt-regexp from copied file local variables.
1773 (python-shell-fetched-lines): Remove var.
1774 (python-shell-output-filter-in-progress): Rename from
1775 python-shell-fetch-lines-in-progress.
1776 (python-shell-output-filter-buffer): Rename from
1777 python-shell-fetch-lines-string.
1778 (python-shell-fetch-lines-filter): Delete function.
1779 (python-shell-output-filter): New function.
1780 (python-shell-send-string-no-output): Use them.
1781
82ed3ab4
GM
17822012-10-07 Glenn Morris <rgm@gnu.org>
1783
1595ecfa
GM
1784 * hi-lock.el (hi-lock-process-phrase):
1785 Try to make it less fragile. (Bug#7161)
1786
82ed3ab4
GM
1787 * hi-lock.el (hi-lock-face-phrase-buffer): Doc fix.
1788
f1f4dba0
GM
17892012-10-06 Glenn Morris <rgm@gnu.org>
1790
addc11ed 1791 * ehelp.el (electric-help-mode): Use help-mode rather than
32939005
GM
1792 non-existent mode `help'.
1793 (electric-help-map): Use button-buffer-map. (Bug#10917)
addc11ed 1794
460042b8
GM
1795 * textmodes/reftex-vars.el (reftex-create-bibtex-header)
1796 (reftex-create-bibtex-footer): Fix custom types.
1797
67667c70
GM
1798 * progmodes/sh-script.el (sh-indent-after-continuation):
1799 Add explicit :group.
1800
18dec750
GM
1801 * textmodes/rst.el (rst-preferred-decorations)
1802 (rst-shift-basic-offset): Clarify obsolescence versions.
1803
d1a1c7e6
GM
1804 * profiler.el (profiler): Add missing group :version tag.
1805 * avoid.el (mouse-avoidance-banish-position):
1806 * proced.el (proced-renice-command):
1807 * calc/calc.el (calc-ensure-consistent-units):
1808 * calendar/icalendar.el (icalendar-import-format-uid):
1809 * net/tramp.el (tramp-save-ad-hoc-proxies):
1810 * progmodes/bug-reference.el (bug-reference-bug-regexp):
1811 * progmodes/flymake.el (flymake-error-bitmap)
1812 (flymake-warning-bitmap, flymake-fringe-indicator-position):
1813 * progmodes/sh-script.el (sh-indent-after-continuation):
1814 * progmodes/verilog-mode.el (verilog-auto-template-warn-unused)
1815 (verilog-before-save-font-hook, verilog-after-save-font-hook):
1816 * progmodes/vhdl-mode.el (vhdl-makefile-default-targets)
1817 (vhdl-array-index-record-field-in-sensitivity-list)
1818 (vhdl-indent-comment-like-next-code-line):
1819 * textmodes/reftex-vars.el (reftex-ref-style-alist)
1820 (reftex-ref-macro-prompt, reftex-ref-style-default-list)
1821 (reftex-cite-key-separator, reftex-create-bibtex-header)
1822 (reftex-create-bibtex-footer):
1823 * textmodes/rst.el (rst-new-adornment-down, rst-indent-field)
1824 (rst-indent-literal-normal, rst-indent-literal-minimized)
1825 (rst-indent-comment): Add missing custom :version tags.
1826
ef35abb4
GM
1827 * calendar/timeclock.el (timeclock-modeline-display):
1828 Add missing obsolete alias for renamed user option.
1829
d1aae614
GM
1830 * strokes.el (strokes-modeline-string):
1831 * emulation/crisp.el (crisp-mode-modeline-string):
1832 * eshell/esh-mode.el (eshell-status-in-modeline):
1833 Aliases to defcustoms must come before the defcustom.
1834
f1f4dba0
GM
1835 * calendar/cal-tex.el (cal-tex-diary, cal-tex-cursor-week)
1836 (cal-tex-cursor-week2, cal-tex-cursor-week-iso)
1837 (cal-tex-cursor-week-monday): Doc fixes.
1838 (cal-tex-cursor-week2-summary): Doc fix.
1839 Rename from cal-tex-cursor-week-at-a-glance.
1840
1841 * calendar/cal-menu.el (cal-menu-context-mouse-menu):
1842 Tweak week descriptions. Add cal-tex-cursor-week2-summary.
1843
1844 * calendar/calendar.el (calendar-mode-map):
1845 Add cal-tex-cursor-week2-summary.
1846
d39109c3
SM
18472012-10-06 Stefan Monnier <monnier@iro.umontreal.ca>
1848
685f87b0
SM
1849 * emacs-lisp/cl-macs.el (cl-defstruct): Improve docstring.
1850
d39109c3
SM
1851 * subr.el (read-passwd-map): New var.
1852 (read-passwd): Use `read-string' again.
1853 * minibuffer.el (delete-minibuffer-contents): Make it interactive.
1854
5694896d
J
18552012-10-06 Jambunathan K <kjambunathan@gmail.com>
1856
1857 * register.el (append-to-register, prepend-to-register):
1858 Deactivate mark, as does `copy-to-register' (bug#12389).
1859
9414dd8d
CY
18602012-10-06 Chong Yidong <cyd@gnu.org>
1861
1862 * files.el (auto-mode-alist): Add .by and .wy (Semantic grammars).
1863
2b89bca4
KH
18642012-10-06 Ikumi Keita <ikumi@ikumi.que.jp> (tiny change)
1865
1866 * international/characters.el: Fix simple mistake ((car chars) ->
1867 elt), delete duplicated code.
1868
d5acb99a
GM
18692012-10-06 Glenn Morris <rgm@gnu.org>
1870
1871 * subr.el (read-passwd): Allow C-u to erase entry. (Bug#12570)
1872
123ec157
JS
18732012-10-06 Julian Scheid <julians37@gmail.com> (tiny change)
1874
1875 * color.el (color-hsl-to-rgb): Fix incorrect results for
1876 small and large hue values. (Bug#12559)
1877
7fa36ccb
FEG
18782012-10-05 Fabián Ezequiel Gallina <fgallina@cuca>
1879
1880 Enhancements to docstring formatting when filling paragraphs.
1881 * progmodes/python.el (python-fill-docstring-style): Rename from
1882 python-fill-string-style. Added new style.
1883 (python-fill-string): Use new style. Better checks for
1884 docstrings.
1885
d8788e1e
GM
18862012-10-05 Glenn Morris <rgm@gnu.org>
1887
204f3953
GM
1888 * net/newst-treeview.el (newsticker-group-move-feed): Doc fix.
1889
d8788e1e
GM
1890 * color.el (color-name-to-rgb, color-rgb-to-hex)
1891 (color-hue-to-rgb, color-hsl-to-rgb, color-rgb-to-hsv)
1892 (color-rgb-to-hsl, color-srgb-to-xyz, color-saturate-hsl)
1893 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
1894 (color-lighten-name, color-darken-hsl, color-darken-name): Doc fixes.
1895
8d956cef
GM
1896 * emacs-lisp/timer.el (with-timeout): Add missing progn. (Bug#12577)
1897
e8757f09 18982012-10-05 Juanma Barranquero <lekktu@gmail.com>
ea9a3563
JB
1899
1900 * ido.el (ido-directory-too-big-p): Pass dir through file-truename
1901 to get the correct size across symlinks.
1902
e8757f09
GM
1903 * ido.el (ido-buffer-disable-smart-matches): Fix typo in docstring.
1904
0e2ae83d
JL
19052012-10-04 Juri Linkov <juri@jurta.org>
1906
1907 * replace.el (query-replace-interactive): Declare obsolete.
1908 (query-replace-read-from): Add the last incremental search string
1909 to the list of default values accessible via M-n.
1910 (map-query-replace-regexp): Use `read-regexp'.
1911 (query-replace, query-replace-regexp, query-replace-regexp-eval)
1912 (map-query-replace-regexp, replace-string, replace-regexp):
1913 Fix docstrings to replace mentions of `query-replace-interactive'
1914 with alternatives. (Bug#12526)
1915
93cacb6d
JL
19162012-10-04 Juri Linkov <juri@jurta.org>
1917
1918 * dired.el (dired-shrink-to-fit): Declare obsolete. (Bug#1806)
1919 (dired-pop-to-buffer): Declare obsolete.
1920 (dired-mark-pop-up): Doc fix.
1921
fc345011
FEG
19222012-10-04 Fabián Ezequiel Gallina <fgallina@cuca>
1923
1924 Allow user to set docstring style for fill-paragraph.
1925 * progmodes/python.el
1926 (python-fill-comment-function, python-fill-string-function)
1927 (python-fill-decorator-function, python-fill-paren-function):
1928 Remove :safe for defcustoms.
1929 (python-fill-string-style): New defcustom
5694896d 1930 (python-fill-paragraph-function): Enhance context detection.
fc345011
FEG
1931 (python-fill-string): Honor python-fill-string-style settings.
1932
6bab5d8b
MR
19332012-10-04 Martin Rudalics <rudalics@gmx.at>
1934
1935 * emacs-lisp/edebug.el (edebug-pop-to-buffer): Select window
1936 after setting its buffer (Bug#10805).
1937
a1a9f411
FEG
19382012-10-03 Fabián Ezequiel Gallina <fgallina@cuca>
1939
1940 Fix cornercase for string syntax.
1941 * progmodes/python.el (python-syntax-propertize-function):
1942 Simplify and enhance the regexp for unescaped quotes. Now it also
1943 matches quotes in weird situations like the single quote in
1944 "something\"'".
1945 (python-syntax-stringify): Simplify num-quotes detecting code.
1946
05e153a6
GM
19472012-10-03 Glenn Morris <rgm@gnu.org>
1948
1949 * help-macro.el (three-step-help):
1950 Revert 2012-09-29 change. (Bug#12567)
1951
2e566ecb
MR
19522012-10-03 Martin Rudalics <rudalics@gmx.at>
1953
96ef9ccd
MR
1954 * menu-bar.el (kill-this-buffer): Don't do anything when
1955 `menu-frame' is not alive or visible (Bug#8184).
1956
2e566ecb
MR
1957 * emacs-lisp/debug.el (debug): When quitting the debugger window
1958 restore current buffer (Bug#12502).
1959
a96e1cb7
CY
19602012-10-02 Chong Yidong <cyd@gnu.org>
1961
5694896d
J
1962 * progmodes/hideif.el (hif-lookup, hif-defined):
1963 Handle semantic-c-takeover-hideif.
a96e1cb7 1964
b3ecad33
PE
19652012-10-02 Paul Eggert <eggert@cs.ucla.edu>
1966
1967 Change sampling interval units from ms to ns.
1968 * profiler.el (profiler-sampling-interval): Change units
1969 from ms to ns, multiplying the default by 1000000 so that
1970 it remains 1 ms.
1971 (profiler-report-cpu-line-format): Give enough room for
1972 the maximum counters on 64-bit hosts.
1973 (profiler-report-render-calltree-1): Call them "CPU samples",
1974 not "Time (ms)", since they are not milliseconds now (and
1975 never really were).
1976
8cb51b66 19772012-10-02 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
c623f81a 1978
5694896d
J
1979 * net/eudcb-bbdb.el (eudc-bbdb-format-record-as-result):
1980 Fix querying BBDB for entries without a last name (Bug#11580).
c623f81a 1981
fd795bf4
CY
19822012-10-02 Chong Yidong <cyd@gnu.org>
1983
1984 * emacs-lisp/eieio.el: Restore Version header.
1985
fe0a74f9
SM
19862012-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
1987
6be9197e
SM
1988 * vc/diff-mode.el (diff--auto-refine-data): New var.
1989 (diff-hunk): Use it to delay refinement.
1990 (diff-mode): Remove overlays when we turn off font-lock.
1991
18486139
SM
1992 * textmodes/table.el: Use lexical-binding, dolist, define-minor-mode.
1993 (table-initialize-table-fixed-width-mode)
1994 (table-set-table-fixed-width-mode): Remove functions.
1995 (table-command-list): Move initialization into declaration.
1996 (table--tweak-menu-for-xemacs): Move defun outside mapcar.
1997 (table-with-cache-buffer): Use `declare'.
1998 (table-span-cell): Simplify via CSE.
1999 (table-fixed-width-mode): Use define-minor-mode.
2000 (table-call-interactively, table-funcall, table-apply): Remove.
2001 (table-function): New function, to replace them.
2002
d83ef976
SM
2003 * bookmark.el (bookmark-search-pattern): Remove var.
2004 (bookmark-read-search-input): Remove function.
2005 (bookmark-bmenu-search): Reimplement using a minibuffer.
2006
cd386662
SM
2007 * faces.el (modeline): Remove obsolete face name.
2008
fe0a74f9
SM
2009 * vc/add-log.el (add-log-buffer-file-name-function): Demote to defvar
2010 and give a non-nil default value.
2011 (add-change-log-entry): Simplify accordingly.
2012
9f7b98f8
DG
20132012-10-01 Dmitry Gutov <dgutov@yandex.ru>
2014
2015 * vc/vc-git.el (vc-git-log-edit-toggle-signoff): New function.
2016 (vc-git-log-edit-toggle-amend): New function.
2017 (vc-git-log-edit-toggle-signoff): New function.
2018 (vc-git-log-edit-mode): New major mode.
2019 (vc-git-log-edit-mode-map): Keymap for it.
2020 (vc-git-checkin): Handle "Amend" and "Sign-Off" headers.
2021
2022 * vc/log-edit.el (log-edit-font-lock-keywords): Allow hyphens in
2023 header names.
2024 (log-edit-toggle-header): New function.
2025 (log-edit-extract-headers): Accept function values in HEADERS alist.
2026
62a81506
CY
20272012-10-01 David Engster <deng@randomsample.de>
2028
2029 * emacs-lisp/eieio-opt.el (eieio-describe-class): Add filename
2030 from symbol property and change message to be more consistent with
2031 Emacs proper.
2032 (eieio-describe-generic): Add filename for each implementation.
2033 Fix indices for generic and normal methods.
2034 (eieio-method-def, eieio-class-def): New buttons.
2035 (eieio-help-find-method-definition)
2036 (eieio-help-find-class-definition): New functions.
2037 (eieio-help-mode-augmentation-maybee): Add buttons to filenames of
2038 class, constructor and method definitions.
2039
2040 * emacs-lisp/eieio.el (eieiomt-add, eieio-defclass): Save file
2041 information in symbol property.
2042 (scoped-class): Remove.
2043 (eieio-slot-name-index, call-next-method): Check if it is bound.
2044
20452012-10-01 Leo P. White <lpw25@cam.ac.uk>
2046
2047 * emacs-lisp/eieio-custom.el (eieio-custom-mode-map): New option.
2048 (eieio-custom-mode): New major mode.
2049 (eieio-customize-object): Use it.
2050
20512012-10-01 Eric Ludlam <zappo@gnu.org>
2052
2053 * emacs-lisp/eieio-base.el (eieio-persistent-read): New input args
2054 specifying the expected class, and whether subclassing is allowed.
2055 (eieio-persistent-convert-list-to-object):
1f9f395d
JB
2056 (eieio-persistent-validate/fix-slot-value)
2057 (eieio-persistent-slot-type-is-class-p): New functions.
2058 (eieio-named::slot-missing): Doc fix.
62a81506
CY
2059
2060 * emacs-lisp/eieio-datadebug.el (data-debug/eieio-insert-slots):
2061 Stop using unused publd variable.
2062
2063 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
2064 (eieio-speedbar-description, eieio-speedbar-derive-line-path)
2065 (eieio-speedbar-object-buttonname, eieio-speedbar-make-tag-line)
2066 (eieio-speedbar-handle-click): Do not specify a class for the
2067 method. Fixes method invocation order problems with EDE.
2068
375e49d4
SM
20692012-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
2070
2071 * emacs-lisp/bytecomp.el (byte-compiler-abbreviate-file): New function.
2072 (byte-compile-warning-prefix, byte-compile-file): Use it (bug#12508).
2073
16ce6ccd
KF
20742012-10-01 Karl Fogel <kfogel@red-bean.com>
2075
2076 * bookmark.el (bookmark-version-control): Give tags in the
2077 :type choices (Bug#12309), and improve doc string.
e4c4abdd
KF
2078 (bookmark-write-file): Bind `print-circle' to `t' to allow
2079 circular custom bookmark types. (Bug#12503)
16ce6ccd 2080
19e54a4d
PE
20812012-10-01 Paul Eggert <eggert@cs.ucla.edu>
2082
86ec63ba
PE
2083 Revert the FOLLOW-SYMLINKS change for file-attributes.
2084 * files.el (remote-file-name-inhibit-cache, after-find-file):
2085 * time.el (display-time-file-nonempty-p): Undo last change.
2086
19e54a4d
PE
2087 * profiler.el (profiler-sampling-interval): Change default back to 1.
2088 See Stefan Monnier in
2089 <http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00863.html>.
2090
0478776b
FEG
20912012-10-01 Fabián Ezequiel Gallina <fgallina@cuca>
2092
2093 Shell output catching a la gud-gdb.
2094 * progmodes/python.el (python-shell-fetch-lines-in-progress)
375e49d4
SM
2095 (python-shell-fetch-lines-string, python-shell-fetched-lines):
2096 New Vars.
0478776b
FEG
2097 (python-shell-fetch-lines-filter): New function.
2098 (python-shell-send-string-no-output): Use them.
2099
c22bac2c
TM
21002012-09-30 Tomohiro Matsuyama <tomo@cx4a.org>
2101
2102 * profiler.el (profiler-sampling-interval): Rename from
2103 profiler-sample-interval.
2104 (profiler-sampling-interval): Default to 10.
2105 (profiler-find-profile): New command (was profiler-find-log).
2106 (profiler-find-profile-other-window): New command.
2107 (profiler-find-profile-other-frame): New command.
2108 (profiler-profile): Introduce API-level data structure.
2109
e7a2937b
PE
21102012-09-30 Paul Eggert <eggert@cs.ucla.edu>
2111
2112 file-attributes has a new optional arg FOLLOW-SYMLINKS.
2113 * files.el (remote-file-name-inhibit-cache):
2114 * time.el (display-time-file-nonempty-p): Use it.
2115 * files.el (after-find-file): Don't chase links before calling
2116 file-exists-p, as file-exists-p already does the right thing.
2117
4f595e15
RA
21182012-09-30 Ralf Angeli <angeli@caeruleus.net>
2119
2120 Merge from standalone RefTeX repository.
2121
2122 The following ChangeLog entries are shortened versions of the
2123 original ones with file paths adapted. A not so strongly edited
2124 version of the original ChangeLog can be found in the commit log.
2125
2126 * textmodes/reftex-auc.el: Move `provide' call to bottom of file.
375e49d4
SM
2127 (reftex-arg-cite): Use `reftex-cite-key-separator'.
2128 Correctly handle new value type returned by `reftex-citation'.
4f595e15
RA
2129
2130 * textmodes/reftex-cite.el (reftex-create-bibtex-file): Make sure
375e49d4
SM
2131 that entries with whitespace at various places are found.
2132 Doc fix. Include entries that are cross-referenced from cited entries.
4f595e15
RA
2133 Include @String definitions in the resulting bib file. Add header
2134 and footer defined in `reftex-create-bibtex-header' and
2135 `reftex-create-bibtex-footer'.
2136 (reftex-do-citation): Make it possible again to insert
2137 non-existent entries. Save match data when asking for optional
2138 arguments. Return all keys, not just the first one.
2139 (reftex-all-used-citation-keys): Fix regexp to correctly extract
2140 all citations in the same line.
2141 (reftex-parse-bibtex-entry): Accept additional optional argument
2142 `raw' and keep quotes or braces if it is non-nil. Match fields
2143 containing hyphens besides word constituents.
2144 (reftex-get-string-refs): New function.
2145 (reftex-extract-bib-entries): Check if BibTeX file changed on disk
2146 and ask if it should be reread in case it did.
2147 (reftex-pop-to-bibtex-entry)
2148 (reftex-extract-bib-entries-from-thebibliography): Match \bibitem
2149 entries with spaces or tabs in front of arguments.
2150 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
375e49d4
SM
2151 (reftex-parse-bibtex-entry, reftex-create-bibtex-file):
2152 Match entries containing numbers and symbol constituents.
2153 (reftex-do-citation, reftex-figure-out-cite-format):
2154 Use `reftex-cite-key-separator'.
4f595e15
RA
2155
2156 * textmodes/reftex-dcr.el: Move provide statement to end of file.
2157 (reftex-mouse-view-crossref): Explain why point is set.
2158
2159 * textmodes/reftex-global.el: Whitespace changes.
2160
2161 * textmodes/reftex-index.el: Move provide statement to end of
2162 file.
2163 (reftex-index-selection-or-word): Use `reftex-region-active-p'.
2164 (reftex-index-visit-phrases-buffer): Set marker when visiting
2165 buffer. This allows for returning from the phrases file to the
2166 file one was just editing instead of the file where the last
2167 phrases was added from.
2168 (reftex-index-phrases-syntax-table): New variable. Give ?\"
2169 punctuation syntax as it usually is not used as string quote in
2170 TeX-related modes and may occur unmatched. The change also
2171 prevents fontification of quoted content.
2172 (reftex-index-phrases-mode): Use it.
2173
375e49d4
SM
2174 * textmodes/reftex-parse.el (reftex-parse-from-file):
2175 Move backward one char if a `\' was matched after a section macro.
4f595e15
RA
2176 (reftex-parse-from-file): Use beginning of match instead of end as
2177 bound.
2178
2179 * textmodes/reftex-ref.el: Adapt creation of
2180 `reftex-<package>-<macro>' functions to new structure of
2181 `reftex-ref-style-alist'.
375e49d4
SM
2182 (reftex-reference): Use `reftex-ref-style-list' function.
2183 Adapt to new structure of `reftex-ref-style-alist'. Prompt for a
4f595e15
RA
2184 reference macro if `reftex-ref-macro-prompt' is non-nil.
2185 (reftex-reference): Pass refstyle to `reftex-format-special'.
2186 Determine reference macro by looking at
375e49d4
SM
2187 `reftex-ref-style-default-list' and `reftex-ref-style-alist'.
2188 Use only one special format function.
4f595e15
RA
2189 (reftex-varioref-vref, reftex-fancyref-fref)
2190 (reftex-fancyref-Fref): Remove definitions. The functions are now
2191 generated from `reftex-ref-style-alist'.
2192 (reftex-format-vref, reftex-format-Fref, reftex-format-fref):
2193 Remove.
2194 (reftex-format-special): New function.
2195
2196 * textmodes/reftex-sel.el
2197 (reftex-select-cycle-ref-style-internal): Adapt to new structure
2198 of `reftex-ref-style-alist'. Remove code for testing macro type.
2199 (reftex-select-toggle-varioref)
2200 (reftex-select-toggle-fancyref): Remove.
2201 (reftex-select-cycle-ref-style-internal)
2202 (reftex-select-cycle-ref-style-forward)
2203 (reftex-select-cycle-ref-style-backward): New functions.
2204 (reftex-select-label-map): Use `v' and `V' for general cycling
2205 through reference styles. Add `p' for switching between number
2206 and page reference types.
2207
375e49d4
SM
2208 * textmodes/reftex-toc.el (reftex-re-enlarge):
2209 Call `enlarge-window' only if there is something to do because in Emacs
4f595e15
RA
2210 the horizontal version throws an error even if the parameter is 0.
2211
2212 * textmodes/reftex-vars.el (reftex-label-alist): Doc fix.
2213 (reftex-plug-into-AUCTeX): Doc fix.
2214 (reftex-vref-is-default, reftex-fref-is-default): Adapt doc
2215 string. Adapt to new name.
2216 (reftex-ref-style-alist): Change structure so that it is not
2217 possible to use multiple different package names within a style.
375e49d4
SM
2218 Remove the symbols for symbols for macro type distinction.
2219 Add characters for macro selection.
4f595e15
RA
2220 (reftex-ref-macro-prompt, reftex-create-bibtex-header)
2221 (reftex-create-bibtex-footer): New variables.
2222 (reftex-format-ref-function): Mention third argument of special
2223 format function.
375e49d4
SM
2224 (reftex-ref-style-alist, reftex-ref-style-default-list):
2225 New variables.
4f595e15
RA
2226 (reftex-vref-is-default, reftex-fref-is-default): Adapt doc string
2227 to new implementation. Mark as obsolete. Add compatibility code
2228 for honoring the variable values in case they are set.
375e49d4
SM
2229 (reftex-cite-format-builtin, reftex-bibliography-commands):
2230 Add support for ConTeXt.
2231 (reftex-format-ref-function, reftex-format-cite-function):
2232 Fix custom type.
4f595e15
RA
2233 (reftex-cite-key-separator): New variable.
2234
2235 * textmodes/reftex.el (reftex-syntax-table-for-bib)
2236 (reftex-mode): Do not derive `reftex-syntax-table-for-bib' from
2237 `reftex-syntax-table' because parens have to retain their paren
2238 syntax in order for parsing of BibTeX entries like @book(...) to
2239 work.
2240 (reftex-in-comment): Do not error out if `comment-start-skip' is
2241 not set. Deal correctly with escaped comment characters.
375e49d4
SM
2242 (reftex-tie-multifile-symbols): Add doc string.
2243 Initialize `reftex-ref-style-list'.
4f595e15
RA
2244 (reftex-untie-multifile-symbols): Add doc string.
2245 (reftex-add-index-macros): Doc fix.
2246 (reftex-ref-style-activate, reftex-ref-style-toggle)
2247 (reftex-ref-style-list): New functions.
2248 (reftex-mode-menu): Use them. Adapt to new structure of
2249 `reftex-ref-style-alist'.
2250 (reftex-select-with-char): Kill the RefTeX Select buffer when
2251 done.
2252 (reftex-remove-if): New function.
2253 (reftex-erase-all-selection-and-index-buffers)
2254 (reftex-mode-menu): Reference styles are now computed from
2255 `reftex-ref-style-alist'. Fix typo.
2256 (reftex-report-bug): New function.
2257 (reftex-uniquify, reftex-uniquify-by-car): Replace O(n^2)
2258 algorithms with O(n log n). Introduce optional argument SORT (not
2259 yet used).
2260
440ba395
FEG
22612012-09-30 Fabián Ezequiel Gallina <fgallina@cuca>
2262
2263 Enhancements for triple-quote string syntax.
375e49d4
SM
2264 * progmodes/python.el (python-syntax-propertize-function):
2265 Match both quote cases in one regexp.
440ba395
FEG
2266 (python-syntax-stringify): Handle matches properly.
2267
4c478e6b
JL
22682012-09-30 Juri Linkov <juri@jurta.org>
2269
2270 * arc-mode.el (archive-summarize): Let-bind `buffer-file-truename'
93cacb6d 2271 to nil around the call to `insert' to prevent
4c478e6b
JL
2272 directory time modification by lock_file. (Bug#2295)
2273 * tar-mode.el (tar-summarize-buffer): Idem.
2274
d80d54b2
JL
22752012-09-30 Juri Linkov <juri@jurta.org>
2276
2277 * facemenu.el (list-colors-sort): Add option "Luminance".
2278 (list-colors-sort-key): Implement it.
2279
2280 * vc/diff-mode.el (diff-refine-removed):
2281 * vc/ediff-init.el (ediff-fine-diff-A):
2282 * vc/smerge-mode.el (smerge-refined-removed):
2283 Change background color "#ffaaaa" to "#ffbbbb". (Bug#10181)
2284
d7e642cc
JD
22852012-09-30 Jan Djärv <jan.h.d@swipnet.se>
2286
2287 * term/ns-win.el (x-file-dialog): New function.
2288
ee41332b
JB
22892012-09-30 Juanma Barranquero <lekktu@gmail.com>
2290
2291 * ido.el (ido-max-directory-size): Default to nil; the current
2292 default is small for POSIX systems, and impractical on Windows 7
2293 now that lstat returns directory sizes for NTFS.
2294
5938d519
MR
22952012-09-30 Martin Rudalics <rudalics@gmx.at>
2296
2297 In buffer display functions handle window-height/window-width
2298 alist entries. Suggested by Juri Linkov as fix for Bug#1806.
375e49d4
SM
2299 * window.el (window--display-buffer): New argument ALIST.
2300 Obey window-height and window-width alist entries.
2301 (window--try-to-split-window): New argument ALIST.
2302 Bind window-combination-limit to t when the window's size shall be
5938d519
MR
2303 changed and window-combination-limit equals `window-size'.
2304 (display-buffer-in-atom-window)
2305 (display-buffer-in-major-side-window)
2306 (display-buffer-in-side-window, display-buffer-same-window)
2307 (display-buffer-reuse-window, display-buffer-pop-up-frame)
2308 (display-buffer-pop-up-window, display-buffer-below-selected)
2309 (display-buffer-at-bottom, display-buffer-in-previous-window)
2310 (display-buffer-use-some-window): Adjust all callers of
2311 window--display-buffer and window--try-to-split-window.
2312 (fit-frame-to-buffer): New option.
2313 (fit-window-to-buffer): Can resize frames if fit-frame-to-buffer
2314 is non-nil.
2315 (display-buffer-in-major-side-window): Evaluate window-height /
2316 window-width alist entries.
2317
2318 * help.el (temp-buffer-resize-frames)
2319 (temp-buffer-resize-regexps): Remove options.
2320 (temp-buffer-resize-mode): Adjust doc-string.
2321 (resize-temp-buffer-window): Don't consult
2322 temp-buffer-resize-regexps. Use fit-frame-to-buffer instead of
2323 temp-buffer-resize-frames.
2324
375e49d4
SM
2325 * dired.el (dired-mark-pop-up):
2326 Call display-buffer-below-selected with a fit-window-to-buffer alist
5938d519
MR
2327 entry.
2328
c4c0c2df
CY
23292012-09-30 Chong Yidong <cyd@gnu.org>
2330
48de8b12
CY
2331 * server.el (server-host): Document the security implications.
2332 (server-auth-key): Doc fix.
2333
2334 * startup.el (initial-buffer-choice): Doc fix.
2335
2336 * minibuffer.el (minibuffer-local-filename-syntax): Doc fix.
2337
a97dc380
CY
2338 * simple.el (delete-trailing-whitespace): Avoid an unnecessary
2339 restriction change.
2340
d39d3c8e
CY
2341 * bindings.el (goto-map): Bind M-g TAB to move-to-column.
2342
c4c0c2df
CY
2343 * help-fns.el (help-fns--obsolete): Fix last change.
2344
98a5e33b
SM
23452012-09-30 Stefan Monnier <monnier@iro.umontreal.ca>
2346
34cf6f39
SM
2347 * winner.el (winner-mode-map): Obey winner-dont-bind-my-keys here.
2348 (minor-mode-map-alist): Remove redundant code.
2349
e01c13fe
SM
2350 * vc/pcvs.el (cvs-cleanup-collection): Keep entries that are currently
2351 visited in a buffer.
2352 (cvs-insert-visited-file): New function.
2353 (find-file-hook): Use it.
2354
2355 * vc/pcvs-info.el (cvs-fileinfo-pp): Don't use non-existent faces.
2356
02661b3a
SM
2357 * vc/log-edit.el (log-edit-font-lock-keywords): Ignore case to
2358 chose face.
2359 (log-edit-empty-buffer-p): Don't require a space after a header.
2360
43711d4b
SM
2361 * vc/ediff-util.el (ediff-diff-at-point): Don't assume point-min==1.
2362
38a30d64
SM
2363 * tutorial.el (help-with-tutorial): Use minibuffer-with-setup-hook.
2364
4ffb41a9
SM
2365 * textmodes/text-mode.el (paragraph-indent-minor-mode): Make it
2366 a proper minor-mode.
2367
98a5e33b
SM
2368 * textmodes/tex-mode.el (tex-mode-map): Don't bind paren keys.
2369
de82e29b
GM
23702012-09-29 Glenn Morris <rgm@gnu.org>
2371
5cc2e639
GM
2372 * winner.el (winner-mode): Remove variable (let define-minor-mode
2373 handle it).
2374 (winner-dont-bind-my-keys, winner-boring-buffers, winner-mode-hook):
2375 Doc fixes.
2376 (winner-mode-leave-hook): Rename to winner-mode-off-hook.
2377 (winner-mode): Use define-minor-mode.
2378
7bd302eb
GM
2379 * vc/vc-sccs.el (vc-sccs-registered): Use the progn trick to get
2380 the full definition in loaddefs, rather than duplicating it.
2381
2923922f 2382 * help-macro.el (three-step-help): No need to autoload defcustom.
ced08382 2383
0e3e4156
GM
2384 * progmodes/inf-lisp.el (inferior-lisp-filter-regexp)
2385 (inferior-lisp-program, inferior-lisp-load-command)
2386 (inferior-lisp-prompt, inferior-lisp-mode-hook):
2923922f 2387 No need to autoload defcustoms.
0e3e4156 2388
de82e29b
GM
2389 * hippie-exp.el (hippie-expand-try-functions-list)
2390 (hippie-expand-verbose, hippie-expand-dabbrev-skip-space)
2391 (hippie-expand-dabbrev-as-symbol, hippie-expand-no-restriction)
2392 (hippie-expand-max-buffers, hippie-expand-ignore-buffers)
2923922f 2393 (hippie-expand-only-buffers): No need to autoload defcustoms.
de82e29b
GM
2394 * progmodes/vhdl-mode.el (vhdl-line-expand):
2395 Explicitly load hippie-exp, so it does not get autoloaded
2396 while hippie-expand-try-functions-list is let-bound.
2397
e60b51ab
GM
23982012-09-28 Glenn Morris <rgm@gnu.org>
2399
277f0cfa
GM
2400 * emacs-lisp/cl.el (flet): Fix case of obsolescence message.
2401
e60b51ab
GM
2402 * emacs-lisp/bytecomp.el (byte-compile-cl-file-p):
2403 Only "cl.el" counts as cl these days.
2404
53baf48a
JL
24052012-09-28 Juri Linkov <juri@jurta.org>
2406
2407 Display archive errors in the echo area instead of inserting
2408 to the file buffer.
2409
2410 * arc-mode.el (archive-extract-by-stdout): Change arg STDERR-FILE
2411 to STDERR-TEST that can be a regexp matching a successful output.
2412 Create a temporary file and redirect stderr to it. Search for
2413 STDERR-TEST in the stderr output and display it in the echo area
2414 if no match is found.
2415 (archive-extract-by-file): New function like
2416 `archive-extract-by-stdout' but extracting archives to files
2417 and looking for successful matches in stdout. Function body is
2418 mostly copied from `archive-rar-extract'.
2419 (archive-rar-extract): Use `archive-extract-by-file'.
2420 (archive-7z-extract): Use `archive-extract-by-stdout'. (Bug#10347)
2421
9c1228c3
LL
24222012-09-28 Leo Liu <sdl.web@gmail.com>
2423
375e49d4
SM
2424 * pcomplete.el (pcomplete-show-completions):
2425 Use minibuffer-message to make pcomplete usable in minibuffer.
147c0425 2426
9c1228c3
LL
2427 * ido.el (ido-set-matches-1): Fix 2012-09-11 change.
2428
7f457c06
SM
24292012-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
2430
3df749b0
SM
2431 * type-break.el: Use lexical-binding.
2432 (type-break-mode): Use define-minor-mode.
2433
7f457c06
SM
2434 * emacs-lisp/pcase.el (pcase--mark-used): New.
2435 (pcase--u1): Use it (bug#12512).
2436
2437 * custom.el (load-theme): Set buffer-file-name so the load is recorded
2438 in load-history with the right file name.
2439
c00ebc98
TH
24402012-09-28 Tassilo Horn <tsdh@gnu.org>
2441
2442 * doc-view.el (doc-view-current-cache-doc-pdf): New function.
2443 (doc-view-doc->txt, doc-view-convert-current-doc): Use it.
2444 (doc-view-get-bounding-box): Make bounding box slicing work for
2445 ODF and DVI documents.
2446
96fb7170
GM
24472012-09-28 Glenn Morris <rgm@gnu.org>
2448
2449 * type-break.el (type-break-mode, type-break-interval)
2450 (type-break-good-rest-interval, type-break-keystroke-threshold):
2451 No need to autoload.
2452 (type-break-good-rest-interval, type-break-keystroke-threshold):
2453 Add :set-after.
2454
5bc93c67
CY
24552012-09-28 Chong Yidong <cyd@gnu.org>
2456
2457 * progmodes/verilog-mode.el (verilog-auto-inst-interfaced-ports):
2458 Add :version tag.
2459
9cad61d6
SM
24602012-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
2461
e28e67b3 2462 * json.el (json-encode-char): Codes 127-160 aren't "ASCII printable".
9cad61d6 2463
daee954c
GM
24642012-09-27 Glenn Morris <rgm@gnu.org>
2465
a88324d4
GM
2466 * faces.el (x-display-name): Declare (for without-x builds).
2467
8e5064e5
GM
2468 * linum.el (linum-format): Don't autoload it. Improve :type.
2469
cc1783c2
GM
2470 * progmodes/tcl.el: Don't require outline when compiling.
2471 (outline-regexp, outline-level): Declare.
1dddcf4c
GM
2472 * textmodes/sgml-mode.el: Don't require outline when compiling.
2473 (outline-regexp, outline-heading-end-regexp, outline-level): Declare.
2474
48c339f2
GM
2475 * term.el (term-ansi-reset):
2476 Try setting term-ansi-face-already-done to nil. (Bug#11785)
2477
daee954c
GM
2478 * vc/vc.el (vc-next-action): Only gripe about committing read-only
2479 files for RCS and SCCS. (Bug#9781)
2480
b7f42161
CY
24812012-09-27 Chong Yidong <cyd@gnu.org>
2482
2483 * progmodes/verilog-mode.el (verilog-mode-release-emacs): Fix last
2484 change; value should be t.
2485
a2e770db
SM
24862012-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
2487
83600dc8
SM
2488 * image-mode.el: Use lexical-binding.
2489 (image-mode-winprops): Use t to stand for the window of
2490 a buffer that's not displayed.
2491 * doc-view.el (doc-view-new-window-function): Handle the new
2492 t in winprops.
2493 (doc-view-enlarge): Make it a real nop if the size is not changed.
2494 (doc-view-display): Handle the case where the buffer is not (yet?)
2495 displayed in any window.
2496 (doc-view-saved-settings): New var.
2497 (doc-view-mode): Use it.
2498 (doc-view-fallback-mode): Set it.
2499
a2e770db
SM
2500 * minibuf-eldef.el: Make it possible to replace (default ...) with [...].
2501 Set lexical-binding.
2502 (minibuffer-eldef-shorten-default): New var.
2503 (minibuffer-default-in-prompt-regexps): Use it for new default.
2504 (minibuf-eldef-setup-minibuffer): Add replacement functionality.
2505
e3b60857
JB
25062012-09-26 Juanma Barranquero <lekktu@gmail.com>
2507
2508 * international/uni-bidi.el:
2509 * international/uni-category.el:
2510 * international/uni-name.el:
2511 * international/uni-numeric.el: Regenerate.
2512
3a880af4
SM
25132012-09-26 Tomohiro Matsuyama <tomo@cx4a.org>
2514 Stefan Monnier <monnier@iro.umontreal.ca>
2515
2516 * profiler.el: New file.
2517
07b1a5fb
SM
25182012-09-26 Stefan Monnier <monnier@iro.umontreal.ca>
2519
2520 * emacs-lisp/testcover.el (testcover-after): Add gv-expander.
2521 (testcover-reinstrument): Simplify with CSE.
2522
42019c2e
JB
25232012-09-26 Juanma Barranquero <lekktu@gmail.com>
2524
2525 * window.el (temp-buffer-window-setup): Fix typo in docstring.
2526
179f044b
WS
25272012-09-25 Wilson Snyder <wsnyder@wsnyder.org>
2528
2529 * verilog-mode.el (verilog-auto-ascii-enum, verilog-auto-inout)
2530 (verilog-auto-input, verilog-auto-insert-lisp)
2531 (verilog-auto-output, verilog-auto-output-every, verilog-auto-reg)
2532 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-undef)
2533 (verilog-auto-unused, verilog-auto-wire)
2534 (verilog-forward-or-insert-line): Fix AUTOs with no trailing
2535 newline. Reported by Andrew Jones.
2536 (verilog-auto-inst) Support expanding $clog2 in AUTOINST.
2537 Reported by Brad Dobbie.
07b1a5fb
SM
2538 (verilog-batch-delete-trailing-whitespace):
2539 Create verilog-batch-delete-trailing-whitespace.
2540 Reported by Brad Dobbie.
179f044b
WS
2541 (verilog-auto-inout-param): Support AUTOINOUTPARAM for copying
2542 parameters from another module. Reported by Dan Katz.
2543 (verilog-auto, verilog-auto-assign-modport)
2544 (verilog-auto-inout-modport): Add AUTOASSIGNMODPORT and
2545 AUTOINOUTMODPORT for UVM interface module shell generation.
2546 Reported by Brad Dobbie.
2547 (verilog-auto-inst-interfaced-ports): Make default nil, as more
2548 standard behavior.
2549 (verilog-auto): Fix AUTO parameters with parenthesis arguments.
2550 Reported by Matt Martin.
2551
9c52dd5a
MR
25522012-09-25 Martin Rudalics <rudalics@gmx.at>
2553
2554 * window.el (window--resize-child-windows): When resizing child
2555 windows proportionally, process them in reverse order to
2556 preserve the "when splitting a window the new one gets the odd
2557 line" behavior.
2558 (window--resize-root-window-vertically): When resizing the
2559 minibuffer window try to affect only windows at the bottom of the
2560 frame. (Bug#12419)
2561
863666eb
CY
25622012-09-25 Chong Yidong <cyd@gnu.org>
2563
2564 * subr.el (declare): Doc fix.
2565
2566 * help-fns.el (help-fns--obsolete): Handle macros properly.
2567
59f7af81
CY
25682012-09-25 Chong Yidong <cyd@gnu.org>
2569
2570 * bookmark.el (bookmark-jump-noselect): Use a declare form to mark
2571 this function obsolete.
2572
2573 * calendar/cal-x.el (calendar-two-frame-setup)
2574 (calendar-only-one-frame-setup, calendar-one-frame-setup):
2575 * calendar/calendar.el (american-calendar, european-calendar)
2576 (calendar-for-loop):
2577 * comint.el (comint-dynamic-simple-complete)
2578 (comint-dynamic-complete-as-filename, comint-unquote-filename):
2579 * desktop.el (desktop-load-default):
2580 * dired-x.el (dired-omit-here-always)
2581 (dired-hack-local-variables, dired-default-directory):
2582 * emacs-lisp/derived.el (derived-mode-class):
2583 * emacs-lisp/timer.el (timer-set-time-with-usecs):
2584 * emacs-lock.el (toggle-emacs-lock):
2585 * epa.el (epa-display-verify-result):
2586 * epg.el (epg-sign-keys, epg-start-sign-keys)
2587 (epg-passphrase-callback-function):
2588 * eshell/esh-util.el (eshell-for):
2589 * eshell/eshell.el (eshell-remove-from-window-buffer-names)
2590 (eshell-add-to-window-buffer-names):
2591 * files.el (locate-file-completion):
2592 * imenu.el (imenu-example--create-c-index)
2593 (imenu-example--create-lisp-index)
2594 (imenu-example--lisp-extract-index-name)
2595 (imenu-example--name-and-position):
2596 * international/mule-cmds.el (princ-list):
2597 * international/mule-diag.el (decode-codepage-char):
2598 * international/mule-util.el (detect-coding-with-priority):
2599 * iswitchb.el (iswitchb-read-buffer):
2600 * mail/mailalias.el (mail-complete):
2601 * mail/sendmail.el (mail-sent-via):
2602 * mouse.el (mouse-popup-menubar-stuff, mouse-popup-menubar)
2603 (mouse-major-mode-menu):
2604 * password-cache.el (password-read-and-add):
2605 * pcomplete.el (pcomplete-parse-comint-arguments):
2606 * progmodes/sh-script.el (sh-maybe-here-document):
2607 * replace.el (query-replace-regexp-eval):
2608 * savehist.el (savehist-load):
2609 * simple.el (choose-completion-delete-max-match):
2610 * term.el (term-dynamic-simple-complete):
2611 * vc/ediff-init.el (ediff-check-version):
2612 * vc/ediff-wind.el (ediff-choose-window-setup-function-automatically):
2613 * vc/vc.el (vc-diff-switches-list):
2614 * view.el (view-return-to-alist-update): Likewise.
2615
2616 * subr.el (eval-next-after-load, makehash, insert-string)
2617 (assoc-ignore-representation, assoc-ignore-case): Use declare to
2618 mark obsolete.
2619 (mode-line-inverse-video): Variable deleted.
2620
2621 * international/mule-util.el (string-to-sequence): Remove.
2622
2623 * calendar/calendar.el (calendar-version):
2624 * calendar/icalendar.el (icalendar-extract-ical-from-buffer)
2625 (icalendar-convert-diary-to-ical):
2626 * cus-edit.el (custom-mode):
2627 * ansi-color.el (ansi-color-unfontify-region):
2628 * international/latin1-disp.el (latin1-char-displayable-p):
2629 * progmodes/cwarn.el (turn-on-cwarn-mode):
07b1a5fb
SM
2630 * progmodes/which-func.el (which-func-update-1):
2631 Use define-obsolete-function-alias.
59f7af81
CY
2632
2633 * net/newst-backend.el (newsticker-cache-filename):
07b1a5fb
SM
2634 * net/newst-treeview.el (newsticker-groups-filename):
2635 Fix incorrect obsolescence declaration.
59f7af81
CY
2636
2637 * allout.el (allout-passphrase-hint-string): Likewise.
2638 (allout-init): Use a declare form to mark obsolete.
2639
2640 * emacs-lisp/byte-run.el (make-obsolete): Doc fix; emphasize that
2641 this applies to functions.
2642
2643 * iswitchb.el (iswitchb-read-buffer): Move code of
2644 iswitchb-define-mode-map here, and delete that obsolete function.
2645
2646 * net/snmp-mode.el (snmp-font-lock-keywords-3): Don't use obsolete
2647 font-lock-reference-face.
2648
cca96c97
GM
26492012-09-25 Glenn Morris <rgm@gnu.org>
2650
b06eeda8
GM
2651 * buff-menu.el (Buffer-menu-name-width, Buffer-menu-size-width):
2652 Doc fixes.
2653
cca96c97
GM
2654 * eshell/em-term.el (eshell-term-name):
2655 Default to term-term-name. (Bug#12485)
2656
dc4f818b
FEG
26572012-09-24 Fabián Ezequiel Gallina <fgallina@cuca>
2658
cca96c97
GM
2659 * progmodes/python.el (python-shell-send-buffer): Better handling
2660 of "if __name__ == '__main__':" conditionals when sending the buffer.
dc4f818b 2661
289c24bd
GM
26622012-09-24 Glenn Morris <rgm@gnu.org>
2663
2664 * eshell/esh-cmd.el (eshell-find-alias-function):
2665 Tighten up file-name regexp. (Bug#12499)
2666
8fb8b88f
FEG
26672012-09-24 Fabián Ezequiel Gallina <fgallina@cuca>
2668
2669 Enhancements for triple-quote string syntax.
2670 * progmodes/python.el (python-quote-syntax): Remove.
2671 (python-syntax-propertize-function): New value.
07b1a5fb
SM
2672 (python-syntax-count-quotes, python-syntax-stringify):
2673 New functions.
8fb8b88f 2674
6c27f0f8
CY
26752012-09-24 Chong Yidong <cyd@gnu.org>
2676
a5f2b6ec
CY
2677 * mail/supercite.el (sc-version): Remove obsolete function.
2678 (sc-describe): Don't mark as obsolete, since it is bound.
2679 (sc-submit-bug-report): Remove.
2680
2681 * vc/log-edit.el (cvs-changelog-full-paragraphs)
2682 (cvs-commit-buffer-require-final-newline): Remove.
0c765e5f
CY
2683 (log-edit-require-final-newline)
2684 (log-edit-changelog-full-paragraphs): Default to t.
a5f2b6ec
CY
2685
2686 * vc/pcvs-defs.el (cvs-diff-buffer-name, cvs-diff-ignore-marks)
2687 * vc/vc-hooks.el (vc-ignore-vc-files, vc-master-templates)
2688 * vc/vc.el (vc-checkout-carefully): Likewise.
2689
2690 * vc/emerge.el (emerge-mode): Make it an obsolete alias.
2691 (emerge-version): Remove.
2692
2693 * progmodes/compile.el (compile-internal): Remove.
2694 (compilation-parse-errors-function): Fix typo.
2695
2696 * international/mule.el (set-char-table-default): Remove.
2697 (set-coding-priority, make-coding-system, generic-char-p)
2698 (charset-list, charset-bytes, charset-id): Use declare to mark
2699 functions as obsolete.
2700
2701 * vc/pcvs-defs.el (cvs-buffer-name-alist)
2702 (cvs-invert-ignore-marks): Remove references to obsolete vars.
2703 * vc/vc-hooks.el (vc-default-registered): Don't use
2704 vc-master-templates.
2705
07b1a5fb
SM
2706 * font-lock.el (font-lock-reference-face):
2707 Use define-obsolete-variable-alias.
6c27f0f8
CY
2708
2709 * generic-x.el (rul-generic-mode): Use font-lock-constant-face.
2710 * calendar/calendar.el (calendar-font-lock-keywords):
2711 * calendar/diary-lib.el (diary-font-lock-keywords)
2712 (diary-fancy-font-lock-keywords):
2713 * textmodes/reftex-sel.el (reftex-insert-docstruct):
2714 * textmodes/reftex-index.el (reftex-insert-index):
2715 * textmodes/reftex-cite.el (reftex-format-bib-entry):
2716 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
2717 * progmodes/ps-mode.el (ps-mode-font-lock-keywords-1):
2718 * progmodes/prolog.el (prolog-font-lock-keywords):
2719 * progmodes/idlwave.el (idlwave-idl-keywords):
2720 * progmodes/ada-mode.el (ada-font-lock-keywords):
2721 * net/snmp-mode.el (snmp-font-lock-keywords-3): Likewise.
2722
bcc0adbf
GM
27232012-09-24 Glenn Morris <rgm@gnu.org>
2724
2725 * mail/emacsbug.el (report-emacs-bug): Include `lsb_release -d'.
2726
095bb823
FEG
27272012-09-23 Fabián Ezequiel Gallina <fgallina@cuca>
2728
2729 * progmodes/python.el (python-indent-line): More consistent cursor
2730 movement behavior.
2731
70efc5c9
SM
27322012-09-23 Stefan Merten <smerten@oekonux.de>
2733
2734 * textmodes/rst.el: Fix compiler warning.
2735
2f438239
RW
27362012-09-23 Roland Winkler <winkler@gnu.org>
2737
07b1a5fb
SM
2738 * textmodes/bibtex.el (bibtex-autokey-transcriptions):
2739 Transcribe also LaTeX hyphenation.
2f438239
RW
2740 (bibtex-reformat): Bug fix. Do not quote twice the elements of
2741 bibtex-reformat-previous-options.
2742
936ad041
RW
27432012-09-23 Roland Winkler <winkler@gnu.org>
2744
2745 * proced.el (proced-renice-command): New variable.
2746 (proced-marked-processes): New function.
2747 (proced-with-processes-buffer): New macro.
2748 (proced-send-signal): Use them.
2749 (proced-renice): New command bound to r.
2750
6fab0274
RW
27512012-09-23 Roland Winkler <winkler@gnu.org>
2752
2753 * ibuf-ext.el (ibuffer-switch-to-saved-filter-groups): If list
2754 ibuffer-saved-filter-groups has one element, shortcut the call of
2755 completing-read. (Bug#12331)
2756
9a930676
CY
27572012-09-23 Chong Yidong <cyd@gnu.org>
2758
2759 * bindings.el (mode-line-toggle-read-only):
2760 * bs.el (bs-toggle-readonly):
2761 * buff-menu.el (Buffer-menu-toggle-read-only):
2762 * dired.el (dired-toggle-read-only):
2763 * ibuffer.el (ibuffer-do-toggle-read-only): Use read-only-mode.
2764
d07ff9db
CY
27652012-09-23 Chong Yidong <cyd@gnu.org>
2766
2767 * image.el (image-type-available-p): Adapt to init-image-library
2768 argument changes.
2769
51c4474e
JL
27702012-09-22 Juri Linkov <juri@jurta.org>
2771
2772 * dired.el (dired-mode-map): Add [remap read-only-mode] for
2773 `dired-toggle-read-only'. (Bug#12462)
2774
43bf5e8e
MR
27752012-09-22 Martin Rudalics <rudalics@gmx.at>
2776
2777 * subr.el (temp-output-buffer-show): New function.
2778 (with-output-to-temp-buffer): Call temp-output-buffer-show
2779 instead of internal-temp-output-buffer-show.
2780
c88b867f
CY
27812012-09-22 Chong Yidong <cyd@gnu.org>
2782
3df47cd5
CY
2783 * files.el (ctl-x-map): Bind C-x C-q to read-only-mode
2784 (Bug#12462).
2785
c88b867f
CY
2786 * repeat.el (repeat): Doc fix (Bug#12348).
2787
2788 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix
2789 (Bug#10909).
2790
2791 * simple.el (shell-command-on-region): Doc fix.
3171e303 2792 (read-only-mode): Doc fix.
c88b867f 2793
df9685f3
EZ
27942012-09-22 Eli Zaretskii <eliz@gnu.org>
2795
2796 * emacs-lisp/timer.el (run-with-idle-timer)
2797 (timer-activate-when-idle): Warn against reinvoking an idle timer
2798 from within its own timer action. (Bug#12447)
2799
8e17c9ba
MR
28002012-09-22 Martin Rudalics <rudalics@gmx.at>
2801
2802 * cus-start.el (window-combination-limit): Add new optional
2803 values.
2804 * window.el (temp-buffer-window-show)
2805 (window--try-to-split-window): Handle new values of
2806 window-combination-limit (Bug#1806).
2807 (split-window): Test window-combination-limit for t instead of
2808 non-nil.
2809 (display-buffer-at-bottom): New buffer display action function.
2810 * help.el (temp-buffer-resize-regexps): New option.
2811 (temp-buffer-resize-mode): Rewrite doc-string.
2812 (resize-temp-buffer-window): Obey temp-buffer-resize-regexps.
bd909927 2813 Don't resize reused window. Suggested by Glenn Morris.
8e17c9ba 2814
48a24920
SM
28152012-09-22 Stefan Merten <smerten@oekonux.de>
2816
70efc5c9 2817 * textmodes/rst.el: Revamp section title faces.
48a24920
SM
2818 (rst-official-version)
2819 (rst-package-emacs-version-alist): Sync with official version
2820 V1.4.0.
2821 (rst-faces-defaults, rst-set-level-default)
2822 (rst-level-face-max, rst-level-face-base-color)
2823 (rst-level-face-base-light, rst-level-face-format-light)
2824 (rst-level-face-step-light, rst-define-level-faces): Obsolete.
2825 (rst-adornment-faces-alist): Match new setup.
2826 (rst-level-1, rst-level-2, rst-level-3, rst-level-4)
2827 (rst-level-5, rst-level-6): New faces.
2828
82f8cd94
CY
28292012-09-22 Chong Yidong <cyd@gnu.org>
2830
2831 * simple.el (undo): Handle indirect buffers (Bug#8207).
2832
acfa068f 28332012-09-21 Leo Liu <sdl.web@gmail.com>
a8c14da8
LL
2834
2835 IDO: Disable match re-ordering for buffer switching.
2bc9406c 2836 * ido.el (ido-buffer-disable-smart-matches): New variable.
a8c14da8
LL
2837 (ido-set-matches-1): Use it. (Bug#2042)
2838
acfa068f 28392012-09-21 Jose Marino <marinoj@nso.edu> (tiny change)
a316d229
JM
2840
2841 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
2842 Fix 2011-05-17 change. (Bug#12418)
2843
acfa068f 28442012-09-21 Leo Liu <sdl.web@gmail.com>
d02e58f8
LL
2845
2846 * subr.el (ignore-errors): Mention with-demoted-errors in doc-string.
2847
acfa068f 28482012-09-21 Glenn Morris <rgm@gnu.org>
511fd0b2
GM
2849
2850 * emacs-lisp/shadow.el (load-path-shadows-font-lock-keywords):
2851 Be more robust about locating simple.el.
2852
acfa068f 28532012-09-21 Glenn Morris <rgm@gnu.org>
fa05bfe0
GM
2854
2855 * mail/emacsbug.el (report-emacs-bug): Trap load-path-shadows errors.
2856
acfa068f
CY
28572012-09-21 Joel Bion <jpbion@westvi.com> (tiny change)
2858
2859 * pcmpl-gnu.el (pcmpl-gnu-tarfile-regexp): Add tar.xz. (Bug#12382)
2860
41a97e6f
JL
28612012-09-20 Juri Linkov <juri@jurta.org>
2862
eb2deaff
JL
2863 * replace.el (query-replace-read-from): Use `read-regexp' instead
2864 of `read-from-minibuffer' when `regexp-flag' is non-nil.
2865 (occur-read-primary-args): Use `read-regexp' instead of
2866 `read-string'.
2867 (multi-occur-in-matching-buffers): Use `read-regexp' instead of
2868 `read-from-minibuffer'.
2869 * isearch.el (isearch-occur): Use `read-regexp' instead of
2870 `read-string'.
2871 * dired.el (dired-read-regexp): Use `read-regexp' instead of
2872 `read-from-minibuffer'.
2873 * progmodes/grep.el (grep-read-regexp): Use `read-regexp' instead
2874 of `read-string'. (Bug#7567)
2875
5825610b
JL
2876 * replace.el (read-regexp): Rename DEFAULT-VALUE arg to DEFAULTS
2877 and allow accepting a list of strings prepended to a list of
2878 standard default values. Doc fix. (Bug#12321)
2879
eebbf404
JL
2880 * replace.el (read-regexp): Add HISTORY arg. (Bug#7567)
2881
41a97e6f
JL
2882 * replace.el (read-regexp): Don't add ": " when PROMPT already
2883 ends with a colon and space. (Bug#12321)
2884
c9e452d3
TH
28852012-09-20 Tassilo Horn <tsdh@gnu.org>
2886
2887 * doc-view.el (doc-view-display): Better fix for the cl-assertion
2888 error.
2889
ee97deee
SM
28902012-09-20 Stefan Merten <smerten@oekonux.de>
2891
70efc5c9 2892 * textmodes/rst.el: Integrate support for `imenu' and `which-function'.
ee97deee
SM
2893 Fixes feature request bug#11711.
2894 (rst-mode): Create `imenu-create-index-function'.
2895 (rst-get-stripped-line): Delete after refactoring.
2896 (rst-section-tree, rst-section-tree-rec)
2897 (rst-section-tree-point): Refactor and document properly.
2898 (rst-imenu-find-adornments-for-position)
07b1a5fb
SM
2899 (rst-imenu-convert-cell, rst-imenu-create-index):
2900 New function.
ee97deee 2901
f490dab9
SM
29022012-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
2903
95b9712e
SM
2904 * emacs-lisp/macroexp.el (macroexp--obsolete-warning): New function.
2905 (macroexp--expand-all): Use it.
2906 (macroexp--funcall-and-return): Remove by folding it into its sole
2907 caller (macroexp--warn-and-return).
2908 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete):
2909 Use macroexp--obsolete-warning.
2910
f490dab9
SM
2911 * calc/calc.el: Fix last change by removing the whole chunk, since it
2912 was only needed back when Calc was not bundled.
2913
96e8d411
MR
29142012-09-20 Martin Rudalics <rudalics@gmx.at>
2915
2916 * emacs-lisp/debug.el (debug): Restore assignment to
2917 debugger-old-buffer removed on 2012-09-08.
2918
0876a82d
JL
29192012-09-20 Juri Linkov <juri@jurta.org>
2920
2921 * dired-aux.el (dired-diff): Remove (require 'diff) since
2922 `diff-latest-backup-file' is now autoloaded.
2923
9f7c28f0
CY
29242012-09-20 Chong Yidong <cyd@gnu.org>
2925
2926 * vc/diff.el (diff-latest-backup-file): Autoload.
2927
7a04bee9
SM
29282012-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
2929
e6f0a80d
SM
2930 * calc/calc.el: Remove redundant autoload shape check.
2931 (sel-mode): Don't defvar.
2932 (calc-get-stack-element): Add `sel-mode' arg instead.
2933 (calc-top, calc-top-list): Pass it this additional argument.
2934 * calc/calc-store.el (calc-store-map):
2935 * calc/calc-map.el (calc-apply, calc-reduce, calc-map)
2936 (calc-map-equation, calc-outer-product, calc-inner-product):
2937 * calc/calc-aent.el (calc-alg-entry): Don't bind sel-mode.
2938
7a04bee9
SM
2939 * emacs-lisp/macroexp.el (macroexp--expand-all): Fix last change.
2940
12734222
JL
29412012-09-19 Juri Linkov <juri@jurta.org>
2942
2943 * dired-aux.el (dired-diff): Add (require 'diff) because
2944 `diff-latest-backup-file' is not autoloaded.
2945 (dired-do-chxxx, dired-do-chmod): Set `no-error-if-not-filep' arg
2946 of `dired-get-filename' to t to not report error when there is
2947 no default file on the current line.
2948
46624b4f
SM
29492012-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
2950
ce97595b
SM
2951 * emacs-lisp/macroexp.el (macroexp--funcall-if-compiled): Rename from
2952 macroexp--eval-if-compile.
2953 (macroexp--funcall-and-return, macroexp--warn-and-return): New funs.
2954 (macroexp--expand-all): Use them (bug#12371).
2955
46624b4f
SM
2956 * doc-view.el (doc-view-guess-paper-size)
2957 (doc-view-scale-bounding-box): Fix unbound `caddr'.
2958
db8a5a18
TH
29592012-09-19 Tassilo Horn <tsdh@gnu.org>
2960
2961 New feature: set optimal slice from BoundingBox information.
2962 * doc-view.el (doc-view-mode-map): Add keybinding.
2963 (doc-view-menu): Add menu entry.
2964 (doc-view-set-slice): Adapt docstring.
2965 (doc-view-get-bounding-box, doc-view-guess-paper-size)
2966 (doc-view-scale-bounding-box)
2967 (doc-view-set-slice-from-bounding-box): New functions.
2968 (doc-view-paper-sizes): New defvar.
2969
69f6644c
GM
29702012-09-19 Glenn Morris <rgm@gnu.org>
2971
35f5b19d
GM
2972 * emacs-lisp/macroexp.el (byte-compile-warn-obsolete)
2973 (byte-compile-log-warning): Autoload. (Bug#12371)
2974
69f6644c
GM
2975 * calendar/calendar.el (calendar-american-month-header)
2976 (calendar-european-month-header, calendar-iso-month-header)
2977 (calendar-month-header): New options.
2978 (calendar-set-date-style): Set calendar-month-header. Redraw calendar.
2979 (calendar-generate-month): Use calendar-month-header. (Bug#9510)
2980
e543ae91
JD
29812012-09-19 Jan Djärv <jan.h.d@swipnet.se>
2982
2983 * startup.el (command-line-ns-option-alist): Add -g and --geometry.
2984
2fd5e67d
JL
29852012-09-18 Juri Linkov <juri@jurta.org>
2986
2987 * dired-aux.el (dired-diff): Restore original functionality of
2988 getting the default value, but keep new feature of using the
2989 latest existing backup file (`diff-latest-backup-file').
2990
42917e79
JL
29912012-09-18 Juri Linkov <juri@jurta.org>
2992
2993 * dired.el (dired-mark): If the region is active in Transient Mark
2994 mode, mark all files in the active region. Doc fix.
2995 (dired-unmark, dired-flag-file-deletion, dired-unmark-backward):
2996 Doc fix. (Bug#10624)
2997
20f70ede
JL
29982012-09-18 Juri Linkov <juri@jurta.org>
2999
3000 * dired-aux.el (dired-do-chxxx, dired-do-chmod): Default file
3001 attributes for M-n are pulled from the file at point.
3002 (dired-do-chgrp, dired-do-chown, dired-do-touch): Doc fix.
3003 Suggested by Drew Adams. (Bug#10624)
3004
32fb8162
DG
30052012-09-18 Dmitry Gutov <dgutov@yandex.ru>
3006
3007 * progmodes/ruby-mode.el (ruby-brace-to-do-end): Don't add extra
3008 whitespace after "end".
3009 (ruby-do-end-to-brace): Collapse block to one line if it fits
3010 within fill-column.
3011
37ab5092
MR
30122012-09-18 Martin Rudalics <rudalics@gmx.at>
3013
3014 * emacs-lisp/debug.el (debugger-bury-or-kill): Fix customization
3015 value.
3016 (debug): Don't remove debugger window when debugger is expected
3017 to be back.
3018
ed1f0bd3
CY
30192012-09-18 Chong Yidong <cyd@gnu.org>
3020
3021 * custom.el (defface): Doc fix.
3022
3023 * cus-edit.el (custom-unlispify-remove-prefixes): Add warning.
3024
a11035b8
MB
30252012-09-18 Martin Blais <blais@furius.ca> (tiny change)
3026
3027 * progmodes/compile.el (compilation-start): Use compilation-always-kill
3028 to initialize query-on-exit; then test that instead (bug#12288).
3029
64f6a736
SM
30302012-09-17 Stefan Merten <smerten@oekonux.de>
3031
70efc5c9 3032 * textmodes/rst.el: Add support for `testcover'.
64f6a736
SM
3033 (rst-defcustom-testcover, rst-testcover-add-compose)
3034 (rst-testcover-add-1value): New functions.
3035 (rst-portable-mark-active-p): Replace by `use-region-p'.
3036 (rst-update-section, rst-classify-adornment)
3037 (rst-find-title-line): Mark `1value' forms.
3038 (rst-classify-adornment): Remove superfluous form.
3039 (rst-update-section, rst-get-adornments-around)
3040 (rst-adornment-complete-p, rst-get-next-adornment)
3041 (rst-adjust, rst-promote-region)
3042 (rst-display-adornments-hierarchy, rst-straighten-adornments)
3043 (rst-find-pfx-in-region, rst-section-tree-rec)
3044 (rst-section-tree-point, rst-toc-insert, rst-toc-insert-node)
3045 (rst-toc-node, rst-toc, rst-forward-section)
3046 (rst-iterate-leftmost-paragraphs)
3047 (rst-iterate-leftmost-paragraphs-2, rst-enumerate-region)
3048 (rst-bullet-list-region)
3049 (rst-convert-bullets-to-enumeration, rst-font-lock-keywords)
3050 (rst-compile-find-conf, rst-compile)
3051 (rst-repeat-last-character): Fix style.
3052
580bd868
CY
30532012-09-17 Chong Yidong <cyd@gnu.org>
3054
3055 * comint.el (comint--complete-file-name-data): Don't add a space
3056 if the status is `sole'; that adds a gratuitous space in the
3057 completion-cycling case (Bug#12092).
3058
3059 * pcomplete.el (pcomplete-completions-at-point): Likewise.
3060
69de3ec6
RS
30612012-09-17 Richard Stallman <rms@gnu.org>
3062
0dee970c
RS
3063 * mail/rmailmm.el (rmail-mime-toggle-raw): Do rmail-mime-insert
3064 only in the mime-shown mode, not in raw mode.
3065 (rmail-mime): Toggle off mime by displaying the message without
6b250df6 3066 mime processing. (Bug#12305)
0dee970c 3067
6b250df6
GM
3068 * mail/rmail.el (rmail-retry-failure):
3069 Turn off mime processing first. (Bug#12037)
acb1c47b 3070
69de3ec6
RS
3071 * epa-mail.el (epa-mail-encrypt): Fix bug when a name has no key.
3072
d079ee5f
CY
30732012-09-17 Chong Yidong <cyd@gnu.org>
3074
3075 * shell.el (shell-file-name-chars, shell-file-name-quote-list)
3076 (shell-dynamic-complete-functions): Convert to defcustom.
3077 (shell-prompt-pattern, shell-completion-fignore): Doc fix.
3078
865fe16f
CY
3079 * bookmark.el (bookmark-bmenu-toggle-filenames): Doc fixes.
3080 * comint.el (comint-prompt-read-only):
3081 * custom.el (defcustom):
3082 * hi-lock.el (hi-lock-mode):
3083 * ibuffer.el (ibuffer-formats):
3084 * ielm.el (ielm-prompt-read-only):
3085 * novice.el (disable-command):
3086 * saveplace.el (toggle-save-place):
3087 * speedbar.el (speedbar-supported-extension-expressions):
3088 * startup.el (auto-save-list-file-prefix, init-file-user)
3089 (after-init-hook, inhibit-startup-echo-area-message):
3090 * strokes.el (strokes-help):
3091 * time-stamp.el (time-stamp):
3092 * calendar/calendar.el (calendar, diary-file):
3093 * calendar/diary-lib.el (diary-mail-entries, diary)
3094 (diary-list-entries-hook):
3095 * calendar/holidays.el (holidays, calendar-holidays):
3096 * calendar/lunar.el (lunar-phases):
3097 * calendar/solar.el (sunrise-sunset):
3098 * emulation/edt.el (edt-load-keys):
3099 * emulation/viper.el (viper-mode):
3100 * eshell/em-alias.el (eshell-command-aliases-list):
3101 * eshell/esh-util.el (eshell-convert-numeric-arguments):
3102 * international/ogonek.el (ogonek-information):
3103 * net/tramp-cmds.el (tramp-bug):
3104 * net/quickurl.el (quickurl-reread-hook-postfix):
3105 * play/decipher.el (decipher-font-lock-keywords):
3106 * progmodes/cc-styles.el (c-set-style):
3107 * progmodes/idlw-shell.el (idlwave-shell-prompt-pattern):
3108 * progmodes/inf-lisp.el (inferior-lisp-prompt):
3109 * progmodes/octave-mod.el (octave-mode):
3110 * progmodes/sql.el (sql-mode, sql-interactive-mode, sql-password):
3111 * progmodes/verilog-mode.el (verilog-read-defines):
3112 * textmodes/two-column.el (2C-mode): Likewise.
3113
48093eb9
KY
31142012-09-16 Katsumi Yamaoka <yamaoka@jpl.org>
3115
3116 * mail/mailabbrev.el (mail-abbrev-expand-hook): Work for a mail aliasee
3117 that holds many addresses.
3118
c584eaf9
CY
31192012-09-16 Chong Yidong <cyd@gnu.org>
3120
40d70ecb
CY
3121 * align.el (align-areas): Call the indication function with
3122 positions instead of markers for arguments (Bug#12343).
3123
1667e065
CY
3124 * files.el (parse-colon-path): Use split-string (Bug#12351).
3125
fdc2806d 3126 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
71ce58e7 3127 (display-buffer-function): Mark as obsolete.
fdc2806d 3128
f1be615c 3129 * progmodes/compile.el (compilation-parse-errors): Accept list
ce97595b
SM
3130 values similar to font-lock-keywords (Bug#12136).
3131 Suggested by Oleksandr Manzyuk.
c584eaf9
CY
3132 (compilation-error-regexp-alist): Doc fix.
3133
f40a9709
GM
31342012-09-15 Glenn Morris <rgm@gnu.org>
3135
72aa16e1
GM
3136 * version.el (emacs-bzr-version-bzr): New function.
3137 (emacs-bzr-get-version): Add optional EXTERNAL argument.
3138
82375160
GM
3139 * vc/vc-bzr.el (vc-bzr-working-revision): For lightweight local
3140 checkouts, check the parent dirstate matches the branch.
3141 Add "--tree" to "bzr revno" arguments. Don't try to shorten the
3142 empty string.
3143
f40a9709
GM
3144 * version.el (emacs-bzr-version): Doc fix.
3145 (emacs-bzr-version-dirstate): New function.
3146 (emacs-bzr-get-version): For lightweight checkouts, if the parent
3147 is local try and check that it matches the branch. If not, just
3148 use dirstate information. (Bug#12441)
3149
cb26b7f5
JL
31502012-09-14 Juri Linkov <juri@jurta.org>
3151
3152 * dired-aux.el (dired-do-chmod): Use `eq' to detect empty input.
3153 (Bug#12399)
3154
2de39f08
SM
31552012-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
3156
0fb3cb7c
SM
3157 * emacs-lisp/advice.el (ad-prognify): Remove, use macroexp-progn.
3158
2de39f08
SM
3159 * emacs-lisp/edebug.el: Miscellaneous cleanup.
3160 Remove obsolete byte-compiler hack that tried to silence some warnings.
3161 (edebug-submit-bug-report): Remove.
3162 (edebug-get-buffer-window, edebug-sit-for, edebug-input-pending-p):
3163 Remove aliases, use the un-prefixed name instead.
3164 (edebug-pop-to-buffer): Consider other frames.
3165 (edebug-original-read):: Make it more obvious that it's always defined.
3166 (edebug--make-form-data-entry, edebug--form-data-name)
3167 (edebug--form-data-begin, edebug--form-data-end): Rename from the
3168 single-dashed name, and implement with cl-defstruct.
3169 (edebug-set-form-data-entry): Use the standard accessors.
3170 (edebug-make-top-form-data-entry): Use push.
3171 (edebug-no-match): Drop useless `funcall'.
3172 (mapcar, mapconcat, mapatoms, apply, funcall): Don't add debug specs
3173 to functions.
3174 (defsubst, dont-compile, eval-when-compile, eval-and-compile)
3175 (delay-mode-hooks, with-temp-file, with-temp-message, ad-dolist)
3176 (with-syntax-table, push, pop, 1value, noreturn, defadvice)
3177 (easy-menu-define, with-custom-print): Remove redundant specs.
3178 (edebug-outside-overriding-local-map)
3179 (edebug-outside-overriding-terminal-local-map): Remove, unused.
3180 (edebug--display): Bind unread-command-events directly to nil rather
3181 than binding it to unread-command-events and later setting it to nil.
3182 (edebug--display): Kill edebug-eval-buffer here...
3183 (edebug--recursive-edit): ...rather than here.
3184 Bind standard-output and standard-input.
3185 (edebug-eval): Check cl-macroexpand-all is fboundp.
3186 (edebug-temp-display-freq-count): Fix last change.
3187
3188 * emacs-lisp/easymenu.el (easy-menu-define): Add `debug' spec.
3189 * subr.el (noreturn, 1value): Add `debug' spec.
3190 * emacs-lisp/advice.el: Require cl-lib.
3191 (ad-copy-tree): Remove, use copy-tree instead.
3192 (ad-dolist): Remove use dolist or cl-dolist instead.
3193 (ad-do-return): Remove, use cl-return instead.
3194 (defadvice): Add `debug' spec.
3195
5b68b333
JL
31962012-09-13 Juri Linkov <juri@jurta.org>
3197
3198 * dired-aux.el (dired-do-chxxx): Use `eq' to detect empty input.
3199 (Bug#12399)
3200
b9800ec4
GM
32012012-09-13 Glenn Morris <rgm@gnu.org>
3202
6a2e6868
GM
3203 * calc/calc.el (math-compose-expr):
3204 * calc/calc-ext.el (math-compose-expr):
3205 * progmodes/cc-defs.el (cl-macroexpand-all):
3206 * progmodes/cc-langs.el (delete-duplicates, mapcan)
3207 (cl-macroexpand-all): Update declarations.
3208
b9800ec4
GM
3209 * vc/vc.el: No need to require ediff.
3210 (ediff-load-version-control): Declare.
3211 (ediff-vc-internal): Fix declaration.
3212 (vc-version-ediff): Require ediff.
3213
c18e885b
PE
32142012-09-13 Paul Eggert <eggert@cs.ucla.edu>
3215
3216 Use a more backwards-compatible timer format (Bug#12430).
3217 * emacs-lisp/timer.el (timer): PSECS is now at the end, rather than
3218 being right after USECS, as that better supports old code that
3219 inadvisedly looked directly at the timer vector.
3220
d607d303
KH
32212012-09-13 Kenichi Handa <handa@gnu.org>
3222
3223 * language/chinese.el ("Chinese-GB", "Chinese-BIG5")
3224 ("Chinese-CNS", "Chinese-EUC-TW"): Add chinese-gbk to
3225 `coding-priority' property of these language environment.
3226
72eac303
PE
32272012-09-13 Paul Eggert <eggert@cs.ucla.edu>
3228
3229 Fix glitches caused by addition of psec to timers (Bug#12430).
3230 * image.el (image-animate-timer):
3231 * time.el (display-time-world-timer):
3232 Use timer--function and timer--args rather than raw access to
3233 timer vector.
3234
2168fe4f
GM
32352012-09-13 Glenn Morris <rgm@gnu.org>
3236
3237 * emacs-lisp/bytecomp.el (byte-compile-warning-prefix):
3238 If not compiling a file, try using load-file-name.
3239
bd8d6108
SM
32402012-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
3241
c0c54fbd
SM
3242 * emacs-lisp/edebug.el (edebug-outside-unread-command-events):
3243 Fix last change.
3244 (edebug-update-eval-list): Use `push'.
3245
bd8d6108
SM
3246 * emacs-lisp/edebug.el: Use lexical-binding.
3247 Remove the "edebug-" prefix from non-dynamically-scoped variables.
3248 Mark unused args with underscore.
3249 (edebug-save-restriction, edebug-outside-excursion): Use `declare'.
3250 (edebug-form-data): Use defvar-local.
3251 (edebug-make-before-and-after-form, edebug-make-after-form):
3252 Use backquote.
3253 (edebug-args, edebug-value, edebug-after-index, edebug-arg-mode):
3254 Not dynamically scoped any more.
3255 (edebug--enter-trace): Add arguments `function' and `args'.
3256 Rename from edebug-enter-trace.
3257 (edebug-enter): Call it accordingly. Bind edebug-function explicitly.
3258 (edebug--update-coverage): Add `after-index' and `value' args.
3259 Rename from edebug-update-coverage.
3260 (edebug-slow-after): Call it accordingly.
3261 (edebug--recursive-edit): Add arg `arg-mode'. Rename from
3262 edebug-recursive-edit.
3263 (edebug--display): Call it accordingly. Add args `value',
3264 `offset-index', and `arg-mode'. Rename from edebug-display.
3265 (edebug-debugger, edebug): Call it accordingly.
3266 (edebug-eval-display-list): Use dolist.
3267
a9f9d9de
JL
32682012-09-12 Juri Linkov <juri@jurta.org>
3269
3270 * info.el (Info-search): Don't check for isearch-mode and
3271 isearch-regexp before let-binding search-spaces-regexp to
3272 Info-search-whitespace-regexp.
3273 (Info-isearch-search): Let-bind Info-search-whitespace-regexp to
3274 search-whitespace-regexp if isearch-lax-whitespace or
3275 isearch-regexp-lax-whitespace is non-nil.
3276 (Info-mode): Don't set local variable search-whitespace-regexp.
3277 http://lists.gnu.org/archive/html/emacs-devel/2012-08/msg00811.html
3278
bfeae2cf
SM
32792012-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
3280
3281 * emacs-lisp/debug.el (debugger-outer-unread-command-char, debug)
3282 (debugger-env-macro): Remove support for unread-command-char.
3283
3284 * subr.el (set-temporary-overlay-map): Minimize slightly the impact of
3285 the temporary map re-appearing on emulation-mode-map-alists.
3286
3287 * emacs-lisp/edebug.el (def-edebug-form-spec): Remove, it's been broken
3288 since 22.1.
3289
3290 * ehelp.el (with-electric-help): Accept functions in
3291 electric-help-form-to-execute.
3292 (electric-help-execute-extended, electric-help-ctrl-x-prefix): Use it.
3293 And replace unread-command-char -> unread-command-events.
3294
fbbcaf1b
MA
32952012-09-12 Michael Albinus <michael.albinus@gmx.de>
3296
3297 Sync with Tramp 2.2.6.
3298
3299 * net/tramp.el (tramp-accept-process-output): Don't use
3300 JUST-THIS-ONE in the XEmacs case.
3301
3302 * net/trampver.el: Update release number.
3303
4dece104
MR
33042012-09-12 Martin Rudalics <rudalics@gmx.at>
3305
bfeae2cf
SM
3306 * emacs-lisp/debug.el (debugger-previous-window-height):
3307 New variable.
4dece104
MR
3308 (debug): When debugger-jumping-flag is non-nil try to restore
3309 height of debugger window. (Bug#8789)
3310
45b82ad0
SM
33112012-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
3312
60c49c0f
SM
3313 * emacs-lisp/edebug.el (edebug-enter): Don't mess with
3314 overriding-local-map and pre/post-command-hook here.
3315 (edebug-recursive-edit): Do it here instead (bug#12345).
3316 (edebug-outside-unread-command-char): Remove all uses of
3317 unread-command-char.
3318
45b82ad0
SM
3319 * emacs-lisp/debug.el (debug): Don't bind debug-on-error since
3320 inhibit-debugger is bound instead.
3321
baa26ea0
BG
33222012-09-11 Bastien Guerry <bzg@gnu.org>
3323
3324 * subr.el (set-temporary-overlay-map): Add a docstring.
fc0c31f8 3325 (Bug#12346)
baa26ea0 3326
04e8abfa
BG
33272012-09-11 Bastien Guerry <bzg@gnu.org>
3328
96d03571 3329 * minibuffer.el (completion-table-subvert): Fix docstring.
fc0c31f8 3330 (Bug#12347)
96d03571
BG
3331
33322012-09-11 Bastien Guerry <bzg@gnu.org>
3333
fc0c31f8 3334 * help-fns.el (describe-variable): Fix typo. (Bug#12346)
04e8abfa 3335
04e082b0
MM
33362012-09-10 Michael R. Mauger <mmaug@yahoo.com>
3337
3338 * progmodes/sql.el: Version 3.1
3339 (sql-db2-escape-newlines): New variable.
3340 (sql-escape-newlines-filter): Use it.
3341
399a361b
JB
33422012-09-10 Juanma Barranquero <lekktu@gmail.com>
3343
3344 * custom.el (custom-theme-load-confirm): Remove unneeded assignment.
3345
0780c517
DN
33462012-09-10 Dan Nicolaescu <dann@gnu.org>
3347
45b82ad0
SM
3348 * vc/diff-mode.el (diff-mode-menu):
3349 Bind diff-remove-trailing-whitespace.
0780c517 3350
9b851e25
SM
33512012-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
3352
3353 * emacs-lisp/lisp-mode.el (emacs-list-byte-code-comment-re): New var.
fc0c31f8
JB
3354 (emacs-lisp-byte-code-comment, emacs-lisp-byte-code-syntax-propertize)
3355 (emacs-lisp-byte-code-mode): New functions.
9b851e25
SM
3356 (eval-sexp-add-defvars): Don't skip defvars in column >0.
3357 (eval-defun-2): Remove bogus interactive spec.
3358 (lisp-indent-line): Remove redundant whole-exp code, now done in
3359 indent-according-to-mode.
3360 (save-match-data): Remove redundant indent data.
3361
3362 * emacs-lisp/benchmark.el (benchmark-run, benchmark-run-compiled):
3363 Use `declare'.
3364
3231d532
JL
33652012-09-09 Juri Linkov <juri@jurta.org>
3366
3367 * replace.el (replace-regexp-lax-whitespace): New defcustom.
3368 (replace-lax-whitespace, query-replace-regexp)
3369 (query-replace-regexp-eval, replace-regexp): Doc fix.
3370 (perform-replace, replace-highlight): Let-bind
3371 isearch-lax-whitespace to replace-lax-whitespace and
3372 isearch-regexp-lax-whitespace to replace-regexp-lax-whitespace.
3373
3374 * isearch.el (isearch-query-replace): Let-bind
3375 replace-lax-whitespace to isearch-lax-whitespace and
3376 replace-regexp-lax-whitespace to
3377 isearch-regexp-lax-whitespace. (Bug#10885)
3378
70fe8236
SM
33792012-09-09 Stefan Monnier <monnier@iro.umontreal.ca>
3380
3381 * eshell/em-unix.el (eshell/sudo): Explicitly drop return value.
3382
8ed43f15
AM
33832012-09-09 Alan Mackenzie <acm@muc.de>
3384
70fe8236
SM
3385 * progmodes/cc-engine.el (c-state-cache-init):
3386 Initialise c-state-semi-nonlit-pos-cache\(-limit\)? properly.
3387 (c-record-parse-state-state):
3388 Record c-state-semi-nonlit-pos-cache\(-limit\)?.
8ed43f15 3389
bfabf70a
AS
33902012-09-09 Andreas Schwab <schwab@linux-m68k.org>
3391
3392 * register.el (register-separator): Rename from
3393 separator-register. All uses changed. Doc fix.
3394 (register): Fix version.
3395
011474aa
CY
33962012-09-09 Chong Yidong <cyd@gnu.org>
3397
3398 * replace.el (query-replace-map): Bind four new symbols for
3399 requesting window scrolling.
3400
3401 * subr.el (y-or-n-p): Handle the window-scrolling bindings in
3402 query-replace-map (Bug#8948).
3403
3404 * custom.el (custom-theme-load-confirm): Use y-or-n-p.
3405
3406 * emacs-lisp/map-ynp.el (map-y-or-n-p): Don't bind scrolling keys
3407 since they are now in query-replace-map.
3408
3409 * window.el (scroll-other-window-down): Make the arg optional.
3410
a8b7cd8d
CY
34112012-09-09 Chong Yidong <cyd@gnu.org>
3412
3413 * files.el (hack-local-variables-confirm): Use quit-window to kill
3414 the *Local Variables* buffer.
3415
c3268831
DG
34162012-09-08 Dmitry Gutov <dgutov@yandex.ru>
3417
3418 * progmodes/ruby-mode.el (ruby-toggle-block): Guess the current block,
3419 not just expect to be at its beginning. Adjust callees.
3420 Succeed when do-end block has no space before the pipe character.
3421 (ruby-brace-to-do-end): When the original block is one-liner,
3422 convert to multiline. Reindent the result.
3423
0979429b
J
34242012-09-08 Jambunathan K <kjambunathan@gmail.com>
3425
3426 * register.el (register): New group.
27359e99 3427 (separator-register): New user option.
0979429b
J
3428 (increment-register): Route it to `append-to-register', if
3429 register contains text. Implication is that `C-x r +' can now be
3430 used for appending to a text register (bug#12217).
3431 (append-to-register, prepend-to-register): Add separator based on
5b9c45a6 3432 `separator-register'.
0979429b 3433
ace2989a
AM
34342012-09-08 Alan Mackenzie <acm@muc.de>
3435
3436 AWK Mode: make auto-newline work when there's "==" in the pattern.
3437 * progmodes/cc-cmds.el (c-point-syntax): Handle virtual semicolons
3438 correctly.
0979429b
J
3439 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5A.3):
3440 Test more rigorously for "=" token.
ace2989a 3441
616c6c36
DG
34422012-09-08 Dmitry Gutov <dgutov@yandex.ru>
3443
0979429b
J
3444 * progmodes/ruby-mode.el (ruby-match-expression-expansion):
3445 Only fail when reached LIMIT.
616c6c36 3446
35d98877
CY
34472012-09-08 Chong Yidong <cyd@gnu.org>
3448
3449 * dired.el (dired-mode-map): Don't bind M-=.
3450
3451 * dired-aux.el (dired-diff): Use backup file as default.
3452
1715f2db
DA
34532012-09-08 Drew Adams <drew.adams@oracle.com>
3454
3455 * subr.el (add-to-history): Fix delete usage (Bug#12314).
3456
6dcef6ec
CY
34572012-09-08 Chong Yidong <cyd@gnu.org>
3458
3459 * subr.el (syntax-after, syntax-class): Doc fix.
3460
fa2bcf43
MR
34612012-09-08 Martin Rudalics <rudalics@gmx.at>
3462
3463 * window.el (display-buffer-in-previous-window): New buffer
3464 display action function.
3465
3466 * emacs-lisp/debug.el (debugger-bury-or-kill): New option.
3467 (debugger-previous-window): New variable.
3468 (debug): Rewrite using display-buffer-in-previous-window,
3469 quit-restore-window and debugger-bury-or-kill. (Bug#8789)
3470
daac280a
SM
34712012-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
3472
3473 * emacs-lisp/byte-run.el (defun): Tweak message. Simplify code.
3474
9dd40b00
MM
34752012-09-07 Matt McClure <mlm@aya.yale.edu> (tiny change)
3476
daac280a
SM
3477 * progmodes/python.el (python-shell-send-string):
3478 When default-directory is remote, create temp file on remote
9dd40b00
MM
3479 filesystem.
3480 (python-shell-send-file): When file is remote, pass local view of
3481 file paths to remote Python interpreter. (Bug#12340)
3482
145823ec
CY
34832012-09-07 Chong Yidong <cyd@gnu.org>
3484
cee2e90d
CY
3485 * window.el (switch-to-buffer): Doc fix (Bug#12181).
3486
0d7eb2ea
CY
3487 * files.el (after-find-file): Don't fail on a read-only buffer if
3488 require-final-newline is `visit' or `visit-save' (Bug#11156).
3489
145823ec
CY
3490 * subr.el (read-char-choice): Allow quitting via ESC ESC.
3491
daac280a
SM
3492 * userlock.el (ask-user-about-supersession-threat):
3493 Use read-char-choice (Bug#12093).
145823ec 3494
74c582e6
CY
34952012-09-07 Chong Yidong <cyd@gnu.org>
3496
e5c2edf7
CY
3497 * subr.el (buffer-narrowed-p): New function.
3498
3499 * ses.el (ses-widen):
3500 * simple.el (count-words--buffer-message):
1f9f395d 3501 * net/browse-url.el (browse-url-of-buffer): Use it.
e5c2edf7
CY
3502
3503 * simple.el (count-words-region): Don't signal an error if there
3504 is a non-nil prefix arg and the mark is not set.
c640e87d 3505
74c582e6
CY
3506 * help.el (describe-key-briefly): Allow the message to be seen
3507 when invoked from the minibuffer (Bug#7014).
3508
d81ceaaf
DG
35092012-09-07 Dmitry Gutov <dgutov@yandex.ru>
3510
3511 * progmodes/ruby-mode.el (ruby-end-of-defun)
3512 (ruby-beginning-of-defun): Simplify, allow indentation before
3513 block beginning and end keywords.
8f06acce
DG
3514 (ruby-beginning-of-defun): Only consider 3 keywords defun beginners.
3515 (ruby-end-of-defun): Expect that the point is at the beginning of
3516 the defun.
d81ceaaf 3517
d458ef98
SM
35182012-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
3519
3520 * emacs-lisp/cl-macs.el (cl--do-arglist): Understand _ on &key args
3521 (bug#12367).
3522 (cl--make-usage-args): Strip _ from argument names.
3523
20367d28
RS
35242012-09-06 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3525
3526 * progmodes/vhdl-mode.el (vhdl-speedbar-initialize): Don't use
3527 obsolete alias speedbar-key-map.
3528 (vhdl-doc-variable, vhdl-doc-mode): Use called-interactively-p.
3529 (vhdl-index-menu-init): Don't use obsolete variable
3530 font-lock-maximum-size.
3531
3424a4f6
CY
35322012-09-06 Chong Yidong <cyd@gnu.org>
3533
3534 * frame.el (window-system-version): Mark as obsolete.
3535
fcbfbdea
CY
3536 * speedbar.el (speedbar-update-flag, speedbar-mode): Remove uses
3537 of obsolete variable speedbar-key-map.
3538
826b3235
JL
35392012-09-06 Juri Linkov <juri@jurta.org>
3540
3541 * replace.el (replace-lax-whitespace): New defcustom.
3542 (query-replace, query-replace-regexp, query-replace-regexp-eval)
3543 (replace-string, replace-regexp): Mention it in docstrings.
3544 (perform-replace, replace-highlight): Let-bind
3545 isearch-lax-whitespace and isearch-regexp-lax-whitespace according
3546 to the values of replace-lax-whitespace and regexp-flag.
3547 Don't let-bind search-whitespace-regexp. (Bug#10885)
3548
3549 * isearch.el (isearch-query-replace): Let-bind
3550 replace-lax-whitespace instead of let-binding
3551 replace-search-function and replace-re-search-function.
3552 (isearch-lazy-highlight-search): Let-bind isearch-lax-whitespace
3553 and isearch-regexp-lax-whitespace to lazy-highlight variables.
3554 (isearch-toggle-symbol): Set isearch-regexp to nil
3555 in isearch-word mode (like in isearch-toggle-word).
3556
1ec5e41d
JL
35572012-09-06 Juri Linkov <juri@jurta.org>
3558
3559 * replace.el (replace-search-function)
3560 (replace-re-search-function): Set default values to nil.
3561 (perform-replace): Let-bind isearch-related variables based on
3562 replace-related values, call `isearch-search-fun' and let-bind
3563 the result to `search-function'. Remove code that sets
3564 `search-function' and `search-string' separately for
3565 `delimited-flag'.
3566 (replace-highlight): Add new argument `delimited-flag' and
3567 rename other arguments to the names used in `perform-replace'.
3568 Let-bind `isearch-word' to the argument `delimited-flag'.
3569 (Bug#10885, bug#10887)
3570
0ba2d4b6
DG
35712012-09-07 Dmitry Gutov <dgutov@yandex.ru>
3572
3573 * progmodes/ruby-mode.el (ruby-indent-beg-re): Add pieces from
3574 ruby-beginning-of-indent, simplify, allow all keywords to have
3575 indentation before them.
3576 (ruby-beginning-of-indent): Adjust for above. Search until the
3577 found point is not inside a string or comment.
3578 (ruby-font-lock-keywords): Allow symbols to start with "@"
3579 character, give them higher priority than variables.
3580 (ruby-syntax-propertize-function)
3581 (ruby-font-lock-syntactic-keywords): Remove the "not comments"
3582 matchers. Expression expansions are not comments when inside a
3583 string, and there comment syntax status is irrelevant.
3584 (ruby-match-expression-expansion): New function. Check that
3585 expression expansion is inside a string, and it's not escaped.
3586 (ruby-font-lock-keywords): Use it.
3587
ef654460
MR
35882012-09-05 Martin Rudalics <rudalics@gmx.at>
3589
3590 * help.el (temp-buffer-max-height): New default value.
3591 (temp-buffer-resize-frames): New option.
3592 (resize-temp-buffer-window): Optionally resize frame.
3593
3594 * window.el (fit-frame-to-buffer-bottom-margin): New option.
3595 (fit-frame-to-buffer): New function.
3596
7e570fbf 35972012-09-05 Glenn Morris <rgm@gnu.org>
72308848
GM
3598
3599 * emulation/cua-rect.el (cua--init-rectangles):
3600 * textmodes/picture.el (picture-mode-map):
3601 * play/blackbox.el (blackbox-mode-map): Remap right-char and left-char
3602 like forward-char and backward-char. (Bug#12317)
3603
7e570fbf 36042012-09-05 Leo Liu <sdl.web@gmail.com>
3aca1291
LL
3605
3606 * progmodes/flymake.el (flymake-warning-re): New variable.
3607 (flymake-parse-line): Use it.
3608
7e570fbf 36092012-09-05 Glenn Morris <rgm@gnu.org>
b6683353
GM
3610
3611 * calendar/holidays.el (holiday-christian-holidays):
3612 Rename an entry. (Bug#12289)
3613
7e570fbf 36142012-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
64f8c4bd
SM
3615
3616 * progmodes/sh-script.el (sh-font-lock-paren): Don't burp at BOB
3617 (bug#12222).
3618
972debf2
SM
36192012-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
3620
3621 * loadup.el: Load macroexp. Remove hack.
3622 * emacs-lisp/macroexp.el (macroexp--eval-if-compile): New function.
3623 (macroexp--expand-all): Use it to get better warnings.
3624 (macroexp--backtrace, macroexp--trim-backtrace-frame)
3625 (internal-macroexpand-for-load): New functions.
3626 (macroexp--pending-eager-loads): New var.
3627 (emacs-startup-hook): New hack to replace one in loadup.el.
3628 * emacs-lisp/cl-macs.el (cl--compiler-macro-list*)
3629 (cl--compiler-macro-cXXr): Move to top, before they can be used.
3630 (cl-psetf): Simplify.
3631 (cl-defstruct): Add indent rule.
3632
8ce192e3
LI
36332012-09-04 Lars Ingebrigtsen <larsi@gnus.org>
3634
3635 * mail/smtpmail.el (smtpmail-send-it): Prefer the From: header
3636 over `user-mail-address' for the SMTP MAIL FROM envelope.
3637 (smtpmail-via-smtp): Ditto.
3638
6578b4d8
DG
36392012-09-04 Dmitry Gutov <dgutov@yandex.ru>
3640
3641 * progmodes/ruby-mode.el: Clean up keybindings.
3642 (ruby-mode-map): Don't bind ruby-electric-brace,
3643 ruby-beginning-of-defun, ruby-end-of-defun, ruby-mark-defun,
3644 backward-kill-word, reindent-then-newline-and-indent.
3645 (ruby-mark-defun): Remove.
3646 (ruby-electric-brace): Remove. Obsoleted by electric-indent-chars.
3647 (ruby-mode): Set local beginning-of-defun-function and
3648 end-of-defun-function values.
3649
c5e28e39
MR
36502012-09-03 Martin Rudalics <rudalics@gmx.at>
3651
3652 * window.el (temp-buffer-window-setup-hook)
3653 (temp-buffer-window-show-hook): New hooks.
3654 (temp-buffer-window-setup, temp-buffer-window-show)
3655 (with-temp-buffer-window): New functions.
972debf2
SM
3656 (fit-window-to-buffer): Remove unused optional argument OVERRIDE.
3657 (special-display-popup-frame): Make sure the window used shows BUFFER.
c5e28e39
MR
3658
3659 * help.el (temp-buffer-resize-mode): Fix doc-string.
3660 (resize-temp-buffer-window): New optional argument WINDOW.
3661
3662 * files.el (recover-file, save-buffers-kill-emacs):
3663 * dired.el (dired-mark-pop-up): Use with-temp-buffer-window.
3664
73406194
MA
36652012-09-02 Michael Albinus <michael.albinus@gmx.de>
3666
3667 * eshell/em-unix.el (eshell/sudo): When we have an ad-hoc
3668 remote definition of `default-directory', ensure we can connect.
3669
63dd1c6f
JL
36702012-09-02 Juri Linkov <juri@jurta.org>
3671
3672 Toggle whitespace matching mode with M-s SPC.
3673 http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00008.html
3674
3675 * isearch.el (search-whitespace-regexp): Doc fix.
3676 Remove cons cell customization.
3677 (isearch-mode-map): Bind "\M-s " to isearch-toggle-lax-whitespace.
3678 (isearch-lax-whitespace, isearch-regexp-lax-whitespace):
3679 New variables.
3680 (isearch-forward, isearch-forward-regexp): Doc fix.
3681 (isearch-toggle-lax-whitespace): New command.
3682 (search-forward-lax-whitespace, search-backward-lax-whitespace)
3683 (re-search-forward-lax-whitespace)
3684 (re-search-backward-lax-whitespace): New functions.
3685 (isearch-whitespace-regexp): Remove function.
3686 (isearch-query-replace): Let-bind replace-search-function and
3687 replace-re-search-function.
3688 (isearch-occur): Let-bind search-spaces-regexp according to the
3689 value of isearch-lax-whitespace and isearch-regexp-lax-whitespace.
3690 (isearch-quote-char): Check isearch-regexp-lax-whitespace in the
3691 condition for C-q SPC.
3692 (isearch-search-fun-default): Use new functions mentioned above.
3693 (isearch-search-forward, isearch-search-backward): Remove functions.
3694 (isearch-search): Don't let-bind search-spaces-regexp.
3695 (isearch-lazy-highlight-space-regexp): Remove variable.
3696 (isearch-lazy-highlight-lax-whitespace)
3697 (isearch-lazy-highlight-regexp-lax-whitespace): New variables.
3698 (isearch-lazy-highlight-new-loop): Use them.
3699 (isearch-lazy-highlight-search): Don't let-bind search-spaces-regexp.
3700
af7dda05
CY
37012012-09-02 Chong Yidong <cyd@gnu.org>
3702
3703 * dired.el (dired-mode-map): Menu string fixes (Bug#11616).
3704
d67d3afd
GM
37052012-09-02 Glenn Morris <rgm@gnu.org>
3706
3707 * simple.el (undo): Tweak message in undo-only case. (Bug#12283)
3708
69678719
GM
37092012-09-01 Glenn Morris <rgm@gnu.org>
3710
3711 * term.el: Tidy up menu definitions.
3712 (term-mode-map): Use easymenu for In/Out, Complete menus.
3713 (term-pager-break-map): Initialize in the defvar.
3714 (term-terminal-menu, term-signals-menu): Define with easymenu.
3715 (term-terminal-menu): Also show it in line-mode. (Bug#11957)
3716 (term-pager-menu): New, extracted from term-process-pager.
3717 (term-mode, term-char-mode, term-process-pager): Use easymenu-add.
3718 (term-update-mode-line): Propertize line/char and page items.
3719 (term-process-pager): Move keymap initialization elsewhere.
3720
78dd6ab1
MR
37212012-09-01 Martin Rudalics <rudalics@gmx.at>
3722
3723 * window.el (switch-to-prev-buffer): Handle additional values of
3724 BURY-OR-KILL argument. Don't switch in minibuffer window.
3725 (switch-to-next-buffer): Don't switch in minibuffer window.
3726 (quit-restore-window): New function based on quit-window.
3727 Handle additional values of former KILL argument.
3728 (quit-window): Call quit-restore-window with appropriate
3729 interpretation of KILL argument.
3730 (display-buffer-below-selected): New buffer display action
3731 function.
3732
3d10e134
SM
37332012-09-01 Stefan Monnier <monnier@iro.umontreal.ca>
3734
3735 * minibuffer.el (completion-at-point-functions): Complete docstring
3736 (bug#12254).
3737
0e23ef9d
PE
37382012-09-01 Paul Eggert <eggert@cs.ucla.edu>
3739
3740 Better seed support for (random).
3741 * play/5x5.el, play/animate.el, play/cookie1.el, play/dissociate.el:
3742 * play/doctor.el, play/dunnet.el, play/gomoku.el, play/landmark.el:
3743 * play/mpuz.el, play/tetris.el, play/zone.el:
3744 * calc/calc-comb.el (math-init-random-base):
3745 * play/blackbox.el (bb-init-board):
3746 * play/life.el (life):
3747 * server.el (server-use-tcp):
3748 * type-break.el (type-break):
3749 Remove unnecessary call to (random t).
3750 * net/sasl.el (sasl-unique-id-function):
3751 Change (random t) to (random), now that the latter is more random.
3752 * play/life.el (life-initialized): Remove no-longer-needed var.
3753
862382df
MR
37542012-08-31 Alp Aker <alp.tekin.aker@gmail.com>
3755
3756 * window.el (switch-to-prev-buffer, switch-to-next-buffer):
3757 Consider frame's buffer predicate when choosing the buffer.
3758 (Bug#12081)
3759
262a66e1
RS
37602012-08-30 Richard Stallman <rms@gnu.org>
3761
3762 * simple.el (special-mode-map): Delete binding for `z'.
3763
f17e1d00
AS
37642012-08-30 Andreas Schwab <schwab@linux-m68k.org>
3765
3766 * progmodes/compile.el (compilation-always-kill): Doc fix.
3767
24777832
CY
37682012-08-30 Chong Yidong <cyd@gnu.org>
3769
3770 * window.el (display-buffer-reuse-frames): Make the obsolescence
3771 message more informative.
3772
69ba1f04
GM
37732012-08-30 Glenn Morris <rgm@gnu.org>
3774
3775 * paren.el (show-paren-delay):
3776 Add a :set function. Doc fix. (Bug#12297)
3777
f0019ede
MB
37782012-08-29 Martin Blais <blais@furius.ca> (tiny change)
3779
3780 * progmodes/compile.el (compilation-always-kill): New var.
3781 (compilation-start): Use it.
3782
35e62fc9
SM
37832012-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
3784
af070a1c
SM
3785 * simple.el (read-only-mode): Move from files.el for bootstrapping.
3786 * files.el (read-only-mode): Move to simple.el.
3787
35e62fc9
SM
3788 * files.el (read-only-mode): New minor mode.
3789 (toggle-read-only): Use it and mark obsolete.
3790 (find-file--read-only):
3791 * vc/vc.el (vc-next-action, vc-checkout):
3792 * vc/vc-cvs.el (vc-cvs-checkout):
3793 * obsolete/vc-mcvs.el (vc-mcvs-update):
3794 * ffap.el (ffap--toggle-read-only): Update callers.
3795
c2c43c23
MA
37962012-08-29 Michael Albinus <michael.albinus@gmx.de>
3797
3798 * eshell/esh-ext.el (eshell-external-command): Do not examine
972debf2
SM
3799 remote shell scripts.
3800 See <https://bugs.launchpad.net/ubuntu/+source/emacs23/+bug/1035790>.
c2c43c23
MA
3801
3802 * net/tramp-sh.el (tramp-remote-path): Add "/sbin" and
3803 "/usr/local/sbin".
3804
9fba804b
SM
38052012-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
3806
3807 * emacs-lisp/cl-lib.el (buffer-string): Fix setter macro (bug#12293).
3808
eada0861 38092012-08-28 Leo Liu <sdl.web@gmail.com>
22ab32ef 3810
806f0cc7
LL
3811 * progmodes/sh-script.el (sh-dynamic-complete-functions): Adapt to
3812 completion-at-point. (Bug#12220)
3813
3bb213b9
LL
3814 * skeleton.el (skeleton-untabify): Change to nil (bug#12223).
3815
22ab32ef
LL
3816 * progmodes/sh-script.el (sh-indent-comment): Change to t (bug#12267).
3817
eada0861 38182012-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
db148c21 3819
19c17fc1
CY
3820 * files.el (safe-local-eval-forms): Fix before-save-hook entry to
3821 be buffer-local; add delete-trailing-whitespace (bug#12259).
db148c21 3822
eada0861 38232012-08-28 Jeremy Moore <jmoore@ieee.org> (tiny change)
ffe6eaf1
JM
3824
3825 * progmodes/hideif.el (hif-compress-define-list):
3826 Fix typo. (Bug#11951)
3827
eada0861 38282012-08-28 Dan Nicolaescu <dann@gnu.org>
d30aca1b
DN
3829
3830 * progmodes/hideshow.el (hs-block-end-regexp): Restore lost
3831 buffer local setting.
3832
27d6c5a8
LL
3833 * net/rcirc.el (rcirc-split-message): Fix for buffer-local
3834 rcirc-encode-coding-system.
3835
eada0861 38362012-08-28 Leo Liu <sdl.web@gmail.com>
4432d2e2
LL
3837
3838 * net/rcirc.el (rcirc-split-message): New function.
3839 (rcirc-send-message): Use it. (Bug#12051)
3840
d44688e4
JL
38412012-08-28 Juri Linkov <juri@jurta.org>
3842
3843 * info.el (Info-fontify-node): Hide empty lines at the end of
3844 the node. (Bug#12272)
3845
34f10d41
MR
38462012-08-27 Drew Adams <drew.adams@oracle.com>
3847
3848 * dired.el (dired-pop-to-buffer): Make window start at beginning
3849 of buffer (Bug#12281).
3850
77f1f99c
CY
38512012-08-26 Chong Yidong <cyd@gnu.org>
3852
3853 * window.el (special-display-regexps, special-display-frame-alist)
3854 (special-display-buffer-names, special-display-function)
3855 (display-buffer-reuse-frames): Mark as obsolete.
3856
3857 * progmodes/compile.el: Don't use display-buffer-reuse-frames.
3858
3859 * help.el (help-print-return-message): Don't treat
3860 display-buffer-reuse-frames specially.
3861
d97af5a0
CY
38622012-08-26 Chong Yidong <cyd@gnu.org>
3863
9fba804b
SM
3864 * progmodes/gdb-mi.el (gdb-display-buffer-other-frame-action):
3865 New variable, replacing gdb-frame-parameters.
d97af5a0
CY
3866 (gdb-frame-io-buffer, gdb-frame-breakpoints-buffer)
3867 (gdb-frame-threads-buffer, gdb-frame-memory-buffer)
3868 (gdb-frame-disassembly-buffer, gdb-frame-stack-buffer)
3869 (gdb-frame-locals-buffer, gdb-frame-registers-buffer): Use it.
3870 (def-gdb-frame-for-buffer): Macro deleted. It is easier to define
3871 the functions directly with gdb-display-buffer-other-frame-action.
3872 (gdb-display-breakpoints-buffer, gdb-display-threads-buffer)
3873 (gdb-display-memory-buffer, gdb-display-disassembly-buffer)
3874 (gdb-display-stack-buffer, gdb-display-locals-buffer)
3875 (gdb-display-registers-buffer): Define directly.
3876 (def-gdb-display-buffer): Macro deleted.
3877 (gdb-display-buffer): Remove second and third args, callers don't
3878 use them. Defer to the default display-buffer behavior, apart
3879 from making windows dedicated.
3880 (gdb-setup-windows): Don't call display-buffer unnecessarily.
3881
3882 * progmodes/gud.el (gud-display-line): Just use display-buffer.
3883
3884 * window.el (display-buffer-pop-up-frame): Handle a
3885 pop-up-frame-parameters alist entry.
3886 (display-buffer): Document it.
3887
dd7ffad6
CY
38882012-08-26 Chong Yidong <cyd@gnu.org>
3889
3890 * isearch.el (search-whitespace-regexp): Make string and nil
3891 values apply to both ordinary and regexp search. Allow a cons
3892 cell value to distinguish between the two.
3893 (isearch-whitespace-regexp, isearch-search-forward)
3894 (isearch-search-backward): New functions.
3895 (isearch-occur, isearch-search-fun-default, isearch-search)
3896 (isearch-lazy-highlight-new-loop): Use them.
3897 (isearch-forward, isearch-forward-regexp): Doc fix.
3898
4c47bd1e
CY
38992012-08-26 Chong Yidong <cyd@gnu.org>
3900
3901 * faces.el (help-argument-name): Always inherit from italic
3902 (Bug#12213).
3903
9aba119d
MR
39042012-08-25 Martin Rudalics <rudalics@gmx.at>
3905
3906 * window.el (window--even-window-heights): Even heights when
3907 WINDOW and the selected window form a vertical combination.
3908 (display-buffer-use-some-window): Provide that window used gets
3909 sized back by quit-window. (Bug#11880) and (Bug#12091)
3910
ca5256ad
PE
39112012-08-24 Paul Eggert <eggert@cs.ucla.edu>
3912
3913 Fix file time stamp problem with bzr and CVS (Bug#12001).
3914 * vc/vc-cvs.el (vc-cvs-parse-entry): Ignore subsecond information
3915 in the file's time stamp, since the version control system loses
3916 that information.
3917
d1c0d176
JL
39182012-08-22 Juri Linkov <juri@jurta.org>
3919
3920 * info.el (Info-fontify-node): Hide the suffix of the
3921 Info file name in the header line. (Bug#12187)
3922
141562ff
GM
39232012-08-22 Glenn Morris <rgm@gnu.org>
3924
3925 * calendar/cal-tex.el (cal-tex-weekly-common):
3926 Restore leading blank page.
3927
61a48e19 39282012-08-22 Le Wang <l26wang@gmail.com> (tiny change)
add9ca2d
BG
3929
3930 * misc.el (forward-to-word, backward-to-word): Activate or extend
61a48e19
GM
3931 the region under `shift-select-mode'. (Bug#12231)
3932
39332012-08-22 Bastien Guerry <bzg@gnu.org>
0fcd3d9f
BG
3934
3935 * progmodes/executable.el (executable-prefix): Set to "#!" instead
3936 of "#! ". http://www.in-ulm.de/~mascheck/various/shebang/#details
3937 gives details on why the space is never needed.
3938
ea95074e
MR
39392012-08-22 Martin Rudalics <rudalics@gmx.at>
3940
9fba804b
SM
3941 * window.el (walk-window-tree, window-with-parameter):
3942 New optional argument MINIBUF to control whether these functions
ea95074e
MR
3943 should run on the minibuffer window.
3944 (window-at-side-list): Don't operate on minibuffer window.
3945 (window-in-direction): Simplify and rewrite doc-string.
9fba804b
SM
3946 (window--size-ignore): Rename to window--size-ignore-p.
3947 Update callers.
caceae25
MR
3948 (display-buffer-in-atom-window, window--major-non-side-window)
3949 (window--major-side-window, display-buffer-in-major-side-window)
9fba804b
SM
3950 (delete-side-window, display-buffer-in-side-window):
3951 New functions.
caceae25
MR
3952 (window--side-check, window-deletable-p, delete-window)
3953 (delete-other-windows, split-window): Handle side windows and
3954 atomic windows appropriately.
3955 (window--display-buffer): Call display-buffer-record-window also
3956 when the window buffer did not change.
ea95074e 3957
80a51fa0
CS
39582012-08-22 Christopher Schmidt <christopher@ch.ristopher.com>
3959
3960 * help-fns.el (help-fns--key-bindings):
3961 Abbreviate non-symbol remap targets. (Bug#12174)
3962
fbb6300b
MR
39632012-08-22 Martin Rudalics <rudalics@gmx.at>
3964
3965 * dired.el (dired-mark-remembered): Don't clobber point.
3966 (Bug#11795)
3967
2b2c0794
GM
39682012-08-22 Glenn Morris <rgm@gnu.org>
3969
3970 * progmodes/bug-reference.el (bug-reference): New custom group.
3971 (bug-reference-bug-regexp): Make it a defcustom.
3972
37219830
DU
39732012-08-22 Daiki Ueno <ueno@unixuser.org>
3974
3975 * progmodes/js.el (js-indent-level, js-expr-indent-offset)
3976 (js-paren-indent-offset, js-square-indent-offset)
3977 (js-curly-indent-offset): Add :safe (Bug#12257).
3978
94e0e559
EC
39792012-08-22 Edward O'Connor <hober0@gmail.com>
3980
3981 * json.el (json-key-format): Add error properties.
3982 (json-encode-key): New function.
3983 (json-encode-hash-table, json-encode-alist, json-encode-plist):
3984 Use json-encode-key.
3985
da485f5e
GM
39862012-08-22 Glenn Morris <rgm@gnu.org>
3987
3988 * calendar/cal-tex.el (cal-tex-longday): New function, replacing...
3989 (cal-tex-leftday, cal-tex-rightday): Remove functions.
3990 (cal-tex-weekly-common, cal-tex-cursor-filofax-2week):
3991 Update for above change.
3992
c6cc78b8
AS
39932012-08-21 Andreas Schwab <schwab@linux-m68k.org>
3994
3995 * cus-face.el (custom-face-attributes): Fix customize type for the
3996 :underline attribute. (Bug#11805)
3997
5481664a
MR
39982012-08-21 Martin Rudalics <rudalics@gmx.at>
3999
4000 * window.el (window-point-1, set-window-point-1): Remove.
4001 (window-in-direction, record-window-buffer)
4002 (set-window-buffer-start-and-point, split-window-below)
9fba804b
SM
4003 (window--state-get-1, display-buffer-record-window):
4004 Replace calls to window-point-1 and set-window-point-1 by calls to
5481664a
MR
4005 window-point and set-window-point respectively.
4006
6d74698e
GM
40072012-08-21 Glenn Morris <rgm@gnu.org>
4008
b7fa2691
GM
4009 * calendar/cal-tex.el (cal-tex-weekly-common): New function.
4010 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-week):
4011 Use it.
4012
52f56d5a
GM
4013 * calendar/cal-tex.el (cal-tex-rightday): Add optional funcname arg.
4014 (cal-tex-shortday): New function.
4015 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-week)
4016 (cal-tex-cursor-filofax-daily): Use the above.
4017
9f1ee09e
GM
4018 * calendar/cal-tex.el (cal-tex-leftday, cal-tex-rightday):
4019 New functions.
4020 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-2week)
4021 (cal-tex-cursor-filofax-week): Use them.
4022
79858159
GM
4023 * calendar/cal-tex.el (cal-tex-lefthead, cal-tex-righthead):
4024 New constants.
4025 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-2week)
4026 (cal-tex-cursor-filofax-week, cal-tex-cursor-filofax-daily): Use them.
4027
d346b2b4
GM
4028 * calendar/cal-tex.el (cal-tex-preamble): Generate new buffers.
4029 (cal-tex-end-document): Don't rely on buffer name.
4030
b2403709
GM
4031 * calendar/cal-tex.el (cal-tex-cursor-filofax-year):
4032 Use cal-tex-vspace.
4033 (cal-tex-vspace, cal-tex-hspace, cal-tex-em, cal-tex-bf)
4034 (cal-tex-Huge-bf, cal-tex-large-bf): Use cal-tex-cmd.
2d225a3a
GM
4035 (cal-tex-scriptsize, cal-tex-huge, cal-tex-Huge, cal-tex-large):
4036 Use cal-tex-arg.
b2403709 4037
1cebb5c0
GM
4038 * calendar/cal-tex.el (cal-tex-cursor-filofax-year)
4039 (cal-tex-cursor-week, cal-tex-cursor-week2)
4040 (cal-tex-cursor-week-iso, cal-tex-cursor-week-at-a-glance)
4041 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
4042 (cal-tex-cursor-filofax-daily, cal-tex-cursor-day)
4043 (cal-tex-insert-preamble, cal-tex-b-document)
4044 (cal-tex-e-document, cal-tex-b-center, cal-tex-e-center):
4045 Improve cal-tex-cmd usage.
4046
c68cd5d4
GM
4047 * calendar/cal-tex.el (cal-tex-filofax-paper): New function.
4048 (cal-tex-cursor-filofax-year, cal-tex-cursor-filofax-2week)
4049 (cal-tex-cursor-filofax-week, cal-tex-cursor-filofax-daily): Use it.
4050 (cal-tex-weekly-paper): New function.
4051 (cal-tex-cursor-week, cal-tex-cursor-week2)
4052 (cal-tex-cursor-week-iso, cal-tex-cursor-week-monday)
4053 (cal-tex-cursor-day): Use it.
4054
9dca4801
GM
4055 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance)
4056 (cal-tex-cursor-filofax-week): Remove leading blank page.
4057
1941e134
GM
4058 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance):
4059 Add autoload cookie. For now at least, don't use color, since
4060 no other cal-tex function does.
4061
6d74698e
GM
4062 * calendar/cal-tex.el (cal-tex-cursor-week-iso)
4063 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
4064 (cal-tex-cursor-filofax-daily): Correct start date for diary entries.
4065
64cde199
JL
40662012-08-21 Juri Linkov <juri@jurta.org>
4067
4068 * info.el (Info-file-attributes): New variable.
4069 (info-insert-file-contents): Add file attributes to
4070 `Info-file-attributes'. Clear the caches `Info-index-nodes' and
4071 `Info-toc-nodes' when previous modtime of the Info file is less
4072 than new modtime.
4073 (Info-toc-nodes, Info-index-nodes): Move definitions up to the top
4074 of info.el. (Bug#12230)
4075
32757648
GM
40762012-08-20 Glenn Morris <rgm@gnu.org>
4077
4078 * calendar/diary-lib.el (diary-include-files, diary-sexp-entry):
4079 * calendar/holidays.el (calendar-holiday-list):
4080 Report errors with display-warning rather than beep'n'sleep.
4081
a32fbbcf
MA
40822012-08-20 Michael Albinus <michael.albinus@gmx.de>
4083
4084 * net/tramp.el (tramp-accept-process-output): Accept only output
4085 from PROC. Otherwise, process filters and sentinels might be
4086 confused. (Bug#12145)
4087
a05731a0
CY
40882012-08-20 Chong Yidong <cyd@gnu.org>
4089
4090 * descr-text.el (describe-text-properties-1): Use overlays-in to
4091 report on empty overlays (Bug#3322).
4092
36e8d1eb
GM
40932012-08-20 Glenn Morris <rgm@gnu.org>
4094
3d300447
GM
4095 * mail/rmailout.el (rmail-output-read-file-name):
4096 Trap and report errors in rmail-output-file-alist elements.
4097
36e8d1eb
GM
4098 * font-lock.el (font-lock-add-keywords): Doc fix (quote face names
4099 since most non-font-lock faces are not also variables).
4100
b96e5814
ER
41012012-08-20 Edward Reingold <reingold@iit.edu>
4102
4103 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance):
4104 New function. (Bug12160)
4105
7cef3569
GM
41062012-08-19 Glenn Morris <rgm@gnu.org>
4107
4108 * mail/rmailout.el (rmail-output-read-file-name):
4109 Fix previous change (when the alist is nil or does not match).
4110
17975d7f
CY
41112012-08-19 Chong Yidong <cyd@gnu.org>
4112
4113 * xml.el (xml-escape-string): Don't refer to xml-entity-alist
4114 (Bug#12228).
4115
2170b1bd
CY
41162012-08-18 Chong Yidong <cyd@gnu.org>
4117
4118 * simple.el (yank-handled-properties): New defcustom.
4119 (yank-excluded-properties): Add font-lock-face and category.
4120 (yank): Doc fix.
4121
9fba804b
SM
4122 * subr.el (remove-yank-excluded-properties):
4123 Obey yank-handled-properties. The special handling of font-lock-face
2170b1bd
CY
4124 and category is now done this way, instead of being hard-coded.
4125 (insert-for-yank-1): Remove font-lock-face handling.
4126 (yank-handle-font-lock-face-property)
4127 (yank-handle-category-property): New function.
4128
ee218151
GM
41292012-08-17 Glenn Morris <rgm@gnu.org>
4130
4131 * mail/rmailout.el (rmail-output-read-file-name):
4132 Check rmail-output-file-alist against the full message body
4133 in the correct rmail buffer. (Bug#12214)
4134
4a6bc3fd
MA
41352012-08-17 Michael Albinus <michael.albinus@gmx.de>
4136
9fba804b
SM
4137 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
4138 Eliminate superfluous prompt. (Bug#12203)
4a6bc3fd 4139
383dcbf9
CY
41402012-08-17 Chong Yidong <cyd@gnu.org>
4141
4142 * mouse.el (mouse-appearance-menu): If x-select-font returns a
4143 font spec, set the font directly (Bug#3228).
4144
998c4a6a
MR
41452012-08-17 Martin Rudalics <rudalics@gmx.at>
4146
4147 * window.el (delete-window): Fix last fix.
4148
52162052
MR
41492012-08-16 Martin Rudalics <rudalics@gmx.at>
4150
4151 * window.el (window-valid-p): Move to window.c.
85c2386b
MR
4152 (window-child, window-child-count, window-last-child)
4153 (window-normalize-window, window-combined-p)
4154 (window-combinations, window-atom-root, window-min-size)
4155 (window-sizable, window-sizable-p, window-size-fixed-p)
4156 (window-min-delta, window-max-delta, window--resizable)
4157 (window--resizable-p, window-resizable, window-total-size)
4158 (window-full-height-p, window-full-width-p, window-body-size)
4159 (window-at-side-p, adjust-window-trailing-edge, maximize-window)
4160 (minimize-window, window-deletable-p, delete-window)
4161 (delete-other-windows, set-window-buffer-start-and-point)
4162 (next-buffer, previous-buffer, split-window, balance-windows-2)
4163 (set-window-text-height, window-buffer-height)
4164 (fit-window-to-buffer, shrink-window-if-larger-than-buffer)
9fba804b
SM
4165 (truncated-partial-width-window-p): Minor code adjustments.
4166 In doc-strings state whether the argument window has to denote a
85c2386b 4167 live, valid or any window.
52162052 4168
1c308380
PS
41692012-08-16 Phil Sainty <psainty@orcon.net.nz> (tiny change)
4170
4171 * progmodes/subword.el (subword-forward-function)
4172 (subword-backward-function, subword-forward-regexp)
4173 (subword-backward-regexp): New variables.
4174 (subword-forward, subword-forward-internal, subword-backward-internal):
4175 Use new variables, eg so that different "word" definitions
4176 can be easily used. (Bug#11411)
4177
94c9ece1
SM
41782012-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
4179
4180 * vc/vc-mtn.el (vc-mtn-revision-completion-table): Handle completion
4181 for composite selectors.
4182 * vc/vc.el (vc-diff-build-argument-list-internal): Don't prevent
4183 operation just because we can't find a previous revision.
4184
f2045622
CY
41852012-08-15 Chong Yidong <cyd@gnu.org>
4186
4187 * frame.el (set-frame-font): Accept font objects.
4188
582db660
SM
41892012-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
4190
4191 * textmodes/tex-mode.el (tex-insert-quote): ~ is a space (bug#12137).
4192
2f29c200
WJ
41932012-08-15 Wolfgang Jenkner <wjenkner@inode.at>
4194
456e62c2
WJ
4195 * man.el (Man-overstrike-face, Man-underline-face)
4196 (Man-reverse-face): Remove variables.
4197 (Man-overstrike, Man-underline, Man-reverse): New faces.
4198 (Man-fontify-manpage): Use them instead of the variables.
4199 (Man-cleanup-manpage): Comment change.
4200 (Man-ansi-color-map): New variable.
4201 (Man-fontify-manpage): Use it.
4202 Call ansi-color-apply-on-region to replace ad hoc code (bug#12147).
4203
2f29c200
WJ
4204 Implement ANSI SGR parameters 22-27 (bug#12146).
4205 * ansi-color.el (ansi-colors): Doc fix.
4206 (ansi-color-context, ansi-color-context-region): Doc fix.
4207 (ansi-color--find-face): New function.
4208 (ansi-color-apply, ansi-color-apply-on-region): Use it.
4209 Rename the local variable `face' to `codes' since it is now a list of
4210 ansi codes. Doc fix.
4211 (ansi-color-get-face): Remove.
4212 (ansi-color-parse-sequence): New function, derived from
4213 ansi-color-get-face.
4214 (ansi-color-apply-sequence): Use it. Rewrite, and support ansi
4215 codes 22-27.
4216
b4f5e9df
SM
42172012-08-14 Stefan Monnier <monnier@iro.umontreal.ca>
4218
4219 * subr.el (read-passwd): Allow use from a minibuffer.
4220
ba025fbd
EZ
42212012-08-14 Eli Zaretskii <eliz@gnu.org>
4222
4223 * tooltip.el (tooltip-identifier-from-point): Don't treat tokens
4224 inside comments and strings as identifiers.
4225
4226 * progmodes/gud.el (gud-tooltip-print-command): Quote the
4227 expression to evaluate. This allows to evaluate expressions with
4228 embedded whitespace.
4229 (gud-tooltip-tips): Add a blank before the newline in the
4230 message-box text, for the benefit of message-box emulation on
4231 MS-Windows.
4232
4233 * progmodes/gdb-mi.el (gdb-tooltip-print): Don't ignore error
4234 messages from GDB, pop them up in a tooltip to give feedback to
4235 user.
b4f5e9df
SM
4236 (gdb-tooltip-print-1): Quote the expression to evaluate.
4237 This allows to evaluate expressions with embedded whitespace.
ba025fbd
EZ
4238 (gdb-inferior-io--init-proc): Don't send "-inferior-tty" command
4239 if the TTY name is nil or empty (which happens when communicating
4240 with the inferior via pipes, e.g. on MS-Windows).
4241 (gdb-internals): If GDB sends a "&\n" empty debugging message,
4242 don't send that to the GUD buffer.
4243
c548f821
GM
42442012-08-14 Glenn Morris <rgm@gnu.org>
4245
4246 * emacs-lisp/bytecomp.el (byte-compile-setq-default):
4247 Optimize away setq-default with no args, as for setq. (Bug#12195)
4248
55802e4a
CY
42492012-08-14 Chong Yidong <cyd@gnu.org>
4250
4abcdac8
CY
4251 * minibuffer.el (read-file-name): Doc fix (Bug#10881).
4252
55802e4a
CY
4253 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Doc fix
4254 (Bug#12085).
4255
3c3cda1a
GM
42562012-08-14 Glenn Morris <rgm@gnu.org>
4257
4258 * emacs-lisp/bytecomp.el (byte-recompile-file): Doc fix.
4259
e1873bd0
MA
42602012-08-14 Michael Albinus <michael.albinus@gmx.de>
4261
4262 * net/tramp-sh.el (tramp-open-shell): Cache the shell name.
4263 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
4264 Use cached shell name.
4265
925411b4
FEG
42662012-08-14 Fabián Ezequiel Gallina <fgallina@cuca>
4267
4268 * progmodes/python.el (python-shell-send-string):
3c3cda1a 4269 (python-shell-send-setup-code): Do not use `format' with `message'.
925411b4 4270
e636fafe
DG
42712012-08-14 Dmitry Gutov <dgutov@yandex.ru>
4272
4273 * progmodes/ruby-mode.el: Improve percent literals (bug#6286).
4274 (ruby-percent-literal-beg-re): New constant.
4275 (ruby-syntax-general-delimiters-goto-beg): Rename to
4276 `ruby-syntax-enclosing-percent-literal', improve literal type check.
4277 (ruby-syntax-propertize-general-delimiters): Rename to
4278 `ruby-syntax-propertize-percent-literal', it's a shorter and more
4279 popular term. Adjust comments everywhere.
4280 (ruby-syntax-propertize-percent-literal): Only propertize when not
4281 inside a simple string or comment. When the literal is unclosed,
4282 leave the text after it unpropertized.
f063063a
DG
4283 (ruby-syntax-methods-before-regexp): New constant.
4284 (ruby-syntax-propertize-function): Use it to recognize regexps.
4285 Don't look at the text after regexp, just use the whitelist.
e636fafe 4286
e5b19827
AS
42872012-08-14 Andreas Schwab <schwab@linux-m68k.org>
4288
4289 * emacs-lisp/bytecomp.el (byte-recompile-file): When LOAD is
4290 non-nil always load the compiled file if it exists. (Bug#12197)
4291
a9f6f311
CY
42922012-08-14 Chong Yidong <cyd@gnu.org>
4293
4294 * hi-lock.el (hi-lock-mode): Do not unilaterally enable font lock.
4295 (hi-lock-set-pattern): When deciding whether to use font lock or
4296 overlays, look at font-lock-mode instead of font-lock-fontified
4297 (Bug#12168).
4298 (hi-lock-mode, hi-lock-line-face-buffer, hi-lock-unface-buffer)
4299 (hi-lock-face-buffer, hi-lock-face-phrase-buffer): Doc fix.
4300
7d806b1e
DU
43012012-08-14 Daiki Ueno <ueno@unixuser.org>
4302
4303 * subr.el (internal--after-with-selected-window): Fix typo
4304 (Bug#12193).
4305
5beed586
FEG
43062012-08-14 Fabián Ezequiel Gallina <fgallina@cuca>
4307
4308 Use `completion-table-dynamic' for completion functions.
4309 * progmodes/python.el
4310 (python-shell-completion--do-completion-at-point)
e636fafe
DG
4311 (python-shell-completion--get-completions):
4312 Remove functions.
5beed586
FEG
4313 (python-shell-completion-complete-at-point): New function.
4314 (python-completion-complete-at-point): Use it.
4315
92cb3b04
J
43162012-08-13 Jambunathan K <kjambunathan@gmail.com>
4317
4318 * vc/vc-dir.el (vc-dir-hide-state): New command (bug#12159).
4319 (vc-dir-hide-up-to-date): Route it to `vc-dir-hide-state'.
4320
89660017
SM
43212012-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
4322
3c98c962
SM
4323 * subr.el (function-get): Refine `autoload' arg so it can also
4324 autoload functions for gv.el (bug#12191).
4325 * emacs-lisp/edebug.el (get-edebug-spec): Adjust so it only
4326 autoloads macros.
4327
aa7c6dbe
SM
4328 * color.el (color-xyz-to-lab, color-lab-to-xyz, color-cie-de2000):
4329 Prefer pcase-let over destructuring-bind.
4330 * vc/diff-mode.el (diff-remove-trailing-whitespace): Same.
4331 Also, remove whitespace as we go, rather than after accumulating the
4332 various places.
4333
89660017
SM
4334 * subr.el (internal--before-with-selected-window)
4335 (internal--after-with-selected-window): Fix typo seleted->selected.
4336 (with-selected-window): Adjust callers.
4337 Reported by Dmitry Gutov <dgutov@yandex.ru>.
4338
31cd32c9
BG
43392012-08-13 Bastien Guerry <bzg@gnu.org>
4340
0fcd3d9f 4341 * window.el (special-display-popup-frame): Minor docstring
31cd32c9
BG
4342 enhancement. (Bug#12172)
4343
1b15d8ad
AS
43442012-08-13 Andreas Schwab <schwab@linux-m68k.org>
4345
31e54db0
AS
4346 * tar-mode.el (tar-header-data-end): Only ignore size for files of
4347 type 1-6.
4348 (tar-header-block-summarize, tar-get-descriptor): Handle pax
4349 extended headers.
4350
1b15d8ad
AS
4351 * files.el (hack-local-variables-filter): Remove useless eval.
4352
35cb9c06
MR
43532012-08-13 Martin Rudalics <rudalics@gmx.at>
4354
4355 * subr.el (with-selected-window): Fix last change.
4356
1439443b
SM
43572012-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
4358
4359 * subr.el (internal--before-with-seleted-window)
4360 (internal--after-with-seleted-window): New functions.
1b15d8ad
AS
4361 (with-selected-window): Use them, to replace dependency on
4362 tty-top-frame.
1439443b 4363
0d9e2599
NN
43642012-08-12 Nobuyoshi Nakada <nobu@ruby-lang.org>
4365
4366 * progmodes/ruby-mode.el (ruby-mode-map): Remove unnecessary
4367 binding for `newline'.
4368 (ruby-move-to-block): When moving backward, stop at block opening,
4369 not indentation.
4370 * progmodes/ruby-mode.el (ruby-brace-to-do-end)
4371 (ruby-do-end-to-brace, ruby-toggle-block): New functions.
4372 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
4373 `ruby-toggle-block'.
4374
ba10c48c
SM
43752012-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
4376
4377 * ibuffer.el (ibuffer-do-toggle-read-only):
4378 * dired.el (dired-toggle-read-only):
4379 * buff-menu.el (Buffer-menu-toggle-read-only):
4380 * bindings.el (mode-line-toggle-read-only):
4381 * bs.el (bs-toggle-readonly): Call toggle-read-only interactively.
4382
9229c658
AS
43832012-08-12 Andreas Schwab <schwab@linux-m68k.org>
4384
4385 * descr-text.el (describe-char): Put the overlays over the
4386 "displayed as" character.
4387
0fd09128
JB
43882012-08-12 Jay Belanger <jay.p.belanger@gmail.com>
4389
4390 * calc/calc-units.el (math-default-units-table): Give an
4391 initial value.
4392 (math-put-default-units): Add options to put composite units and
4393 unit systems in the default units table.
4394 (calc-convert-units): Send composite units to
4395 `math-put-default-units' when appropriate.
4396
9ff9402d 43972012-08-11 Glenn Morris <rgm@gnu.org>
7aacaf15 4398
fbb5e336
GM
4399 * emacs-lisp/copyright.el (copyright-update-directory): Logic fix.
4400
7aacaf15
GM
4401 * tutorial.el (help-with-tutorial):
4402 * emacs-lisp/copyright.el (copyright-update-directory):
4403 * emacs-lisp/autoload.el (autoload-find-generated-file)
4404 (autoload-find-file): Disable local eval: (for insurance).
4405
f40b9f10
GM
4406 * files.el (hack-local-variables-filter): If an eval: form is not
4407 known to be safe, and enable-local-variables is :safe, then ignore
4408 the form totally, as is done for non-eval forms. (Bug#12155)
6f97980a 4409 This is CVE-2012-3479.
f40b9f10 4410
daa9f1a6
SM
44112012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
4412
4413 * emacs-lisp/rx.el (rx-constituents): Don't define as constant.
4414 (rx-form): Simplify.
4415
9cd80478
DG
44162012-08-09 Dmitry Gutov <dgutov@yandex.ru>
4417
0d9e2599
NN
4418 * progmodes/ruby-mode.el (ruby-expr-beg, ruby-parse-partial):
4419 ?, _, and : are symbol constituents, ! is not (but kinda should be).
4420 (ruby-syntax-propertize-heredoc): Use ruby-singleton-class-p.
4421 (ruby-syntax-propertize-function): Adjust for changes in
4422 `ruby-syntax-propertize-heredoc'.
4423
44242012-08-09 Nobuyoshi Nakada <nobu@ruby-lang.org>
4425
9cd80478
DG
4426 * progmodes/ruby-mode.el (ruby-mode-map): Remove deprecated
4427 binding (use `M-;' instead).
9cd80478 4428 (ruby-singleton-class-p): New function.
0d9e2599 4429 (ruby-expr-beg, ruby-in-here-doc-p) Use it.
9cd80478 4430
d301b413
SM
44312012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
4432
4433 * emacs-lisp/cl-macs.el (cl-loop): Improve debug spec.
4434
1530c98e
CY
44352012-08-10 Chong Yidong <cyd@gnu.org>
4436
4437 * progmodes/python.el (python-shell-get-process-name): Don't mess
4438 with same-window-buffer-names.
4439
4440 * eshell/eshell.el (eshell-add-to-window-buffer-names)
4441 (eshell-remove-from-window-buffer-names): Make obsolete.
4442 (eshell-buffer-name, eshell-unload-hook): Don't use them.
4443 (eshell): Just use pop-to-buffer-same-window instead.
4444
e1293765
CY
44452012-08-10 Chong Yidong <cyd@gnu.org>
4446
4447 * bindings.el: Bind M-= back to count-words-region.
4448
4449 * simple.el (count-words-region): Accept a prefix arg for acting
4450 on the entire buffer.
4451 (count-words--buffer-message): New helper function.
4452
e1894109
SM
44532012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
4454
4455 * term/x-win.el (x-menu-bar-open): Always pass last-nonmenu-event.
4456 * subr.el (eventp): `nil' is not an event, and eventp is not hot.
4457 (event-start, event-end): Use posn-at-point to return a more
4458 informative posn.
4459 (posnp): New function.
4460 * mouse.el (popup-menu-normalize-position): Use it.
4461
c69f56a2
MY
44622012-08-10 Masatake YAMATO <yamato@redhat.com>
4463
4464 * mouse.el (popup-menu-normalize-position): New function.
4465 (popup-menu): Use `popup-menu-normalize-position' to normalize
4466 the form for POSITION argument.
4467
4468 * term/x-win.el (x-menu-bar-open):
4469 Use the value returend from (posn-at-point) as position
4470 passed to `popup-menu'.
4471
31673780
JB
44722012-08-09 Jay Belanger <jay.p.belanger@gmail.com>
4473
4474 * calc/calccomp.el (math-compose-expr): Add extra argument
4475 indicating that parentheses should be put around products in
4476 denominators. Give multiplication precedence over division during
4477 composition.
4478
dab7711b
CY
44792012-08-09 Chong Yidong <cyd@gnu.org>
4480
dee4ef93
CY
4481 * man.el (Man-switches, Man-sed-command, Man-awk-command)
4482 (Man-mode-hook, Man-cooked-hook, Man-untabify-command-args)
4483 (Man-untabify-command, manual-program): Convert to defcustom
4484 (Bug#10429).
4485
73e2bbc5
CY
4486 * vc/add-log.el (change-log-mode): Bind comment-start to nil.
4487
3e861c8a
CY
4488 * descr-text.el (describe-char): Don't insert extra newlines
4489 (Bug#10127).
4490
a9f5a649
CY
4491 * vc/log-view.el (log-view-diff): Use use-region-p (Bug#10133).
4492 (log-view-diff-changeset, log-view-minor-wrap): Likewise.
4493
dab7711b
CY
4494 * align.el (align-region): Delete temporary markers (Bug#10047).
4495 Plus some code cleanups.
4496
e0cc4efa
FEG
44972012-08-09 Fabián Ezequiel Gallina <fgallina@cuca>
4498
4499 * progmodes/python.el (python-pdbtrack-tracked-buffer)
4500 (python-pdbtrack-buffers-to-kill, python-shell-internal-buffer)
4501 (python-shell-internal-last-output): Use make-local-variable
4502 instead of make-variable-buffer-local.
4503
489af14f
FEG
45042012-08-09 Fabián Ezequiel Gallina <fgallina@cuca>
4505
4506 * progmodes/python.el: Enhancements to forward-sexp.
4507 (python-nav-forward-sexp): Rename from
4508 python-nav-forward-sexp-function.
c69f56a2
MY
4509 (python-nav--forward-sexp, python-nav--backward-sexp):
4510 New functions.
489af14f 4511
0fc50303
JB
45122012-08-09 Jay Belanger <jay.p.belanger@gmail.com>
4513
4514 * calc/calc-menu.el (calc-modes-menu): Add entries for matrix
4515 modes and simplification modes.
4516
5d65606a
SM
45172012-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
4518
4519 * delsel.el (delete-selection-pre-hook): Don't propagate the
4520 file-supersession signals (bug#12161).
4521
4250fdf5
SM
45222012-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
4523
4524 * emacs-lisp/cl.el (cl-map-keymap-recursively, cl-map-intervals)
4525 (cl-map-extents): Add compatibility aliases (bug#12135).
4526
d9f9b465
MA
45272012-08-08 Michael Albinus <michael.albinus@gmx.de>
4528
4529 * net/tramp-sh.el (tramp-find-file-exists-command): Protect the
4530 tests by `ignore-error'.
4531 (tramp-find-shell): Open also a new shell, when cache is already
4532 set. Reported by Carsten Bormann <cabo@tzi.org>. (Bug#12148)
4533
ce0fcefa
JL
45342012-08-08 Juri Linkov <juri@jurta.org>
4535
4536 * bookmark.el: Add `defaults' property to the bookmark record.
4537 (bookmark-current-buffer): Doc fix.
4538 (bookmark-make-record): Add `defaults' property with default values
4539 to the bookmark record.
4540 (bookmark-minibuffer-read-name-map): Remove key binding "\C-u"
4541 with `bookmark-insert-current-bookmark'.
4542 (bookmark-set): Get `defaults' property from the bookmark record
4543 and use it in `read-from-minibuffer'.
4544 (bookmark-insert-current-bookmark): Remove function.
4545
4546 * info.el (Info-bookmark-make-record): Add `defaults' property
4547 with values of canonical Info node name, the current Info file
4548 name and the current Info node name. (Bug#12107)
4549
53fa8652
JL
45502012-08-08 Juri Linkov <juri@jurta.org>
4551
4552 * files.el (basic-save-buffer): Use `buffer-name' as the default
4553 of `read-file-name' when buffer is not visiting a file (bug#12128).
4554
242c0a95
JL
45552012-08-08 Juri Linkov <juri@jurta.org>
4556
4557 * info.el (Info-isearch-search): Doc fix.
4558 (Info-search): Change search-failed message from "initial node" to
4559 "end of node" (bug#12078).
4560 (Info-isearch-search): Change `isearch-string-state' to
4561 `isearch--state-string'.
4562
32ac3a6b
GM
45632012-08-08 Glenn Morris <rgm@gnu.org>
4564
4565 * language/persian.el: Remove file.
f8c1afd5 4566 * language/misc-lang.el: Move unique part of persian.el here.
32ac3a6b
GM
4567 * loadup.el: Remove language/persian.
4568
2c2d9c9c
OF
45692012-08-08 Óscar Fuentes <ofv@wanadoo.es>
4570
4571 * vc/diff-mode.el (diff-remove-trailing-whitespace): New function.
4572
2d79ec42
FEG
45732012-08-08 Fabián Ezequiel Gallina <fgallina@cuca>
4574
4575 * progmodes/python.el Fixed defsubst warning.
4576 (python-syntax-context) Rename from python-info-ppss-context.
4577 (python-syntax-context-type): Rename from
4578 python-info-ppss-context-type.
4579 (python-syntax-comment-or-string-p): Rename from
4580 python-info-ppss-comment-or-string-p.
4581
2bd255dd
JB
45822012-08-08 Jay Belanger <jay.p.belanger@gmail.com>
4583
4584 * calc/calc-misc.el (calc-record-why): Don't record a message twice.
4585
c395097f
AS
45862012-08-07 Andreas Schwab <schwab@linux-m68k.org>
4587
6125983e
AS
4588 * emacs-lisp/lisp-mode.el (eval-defun-1): Handle standard value of
4589 a defcustom that is quoted with backquote.
4590
4250fdf5
SM
4591 * calc/calc-prog.el (math-do-defmath): Use backquote forms.
4592 Fix handling of interactive spec when the body uses return.
651eaf36
AS
4593 (math-do-arg-check, math-define-function-body): Use backquote forms.
4594 * calc/calc-ext.el (math-defcache): Likewise.
4595 * calc/calc-rewr.el (math-rwfail, math-rweval): Likewise.
4596 * allout.el (allout-new-exposure): Likewise.
4597 * calc/calcalg2.el (math-tracing-integral): Likewise.
4598 * info.el (Info-last-menu-item): Likewise.
4599 * emulation/vip.el (vip-loop): Likewise.
4600 * textmodes/artist.el (artist-funcall): Likewise.
4601 * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle):
4602 Construct menu-item directly.
4603
4250fdf5
SM
4604 * progmodes/autoconf.el (font-lock-syntactic-keywords):
4605 Don't declare.
c395097f 4606
5fb50dd3
CY
46072012-08-07 Chong Yidong <cyd@gnu.org>
4608
4609 * simple.el (deactivate-mark): Preserve text properties when
4610 saving the primary selection (Bug#8384).
4611
54eea618
KR
46122012-08-07 Kevin Ryde <user42@zip.com.au>
4613
4614 * woman.el (woman0-if): Quietly treat ".if v" as false (Bug#12109).
4615 (woman-parse-numeric-value): On a bad .IP line, issue a warning
4616 and continue processing (Bug#12110).
4617
638eaeb9
SM
46182012-08-06 Stefan Monnier <monnier@iro.umontreal.ca>
4619
4620 * progmodes/cperl-mode.el (cperl-mode): Yet another fix for
4621 syntax-propertize-function (bug#10095).
4622
ea376861
SM
46232012-08-06 Stefan Monnier <monnier@iro.umontreal.ca>
4624
f91b35be
SM
4625 * help-fns.el (help-fns--key-bindings, help-fns--signature)
4626 (help-fns--parent-mode, help-fns--obsolete): New funs, extracted from
4627 describe-function-1.
4628 (describe-function-1): Use them. Move compiler macro after sig.
4629 (help-fns--compiler-macro): Use function-get. Assume we're already in
4630 standard-output. Adjust layout to new call order.
4631
ea376861
SM
4632 * emacs-lisp/cl-macs.el (cl--sm-macroexpand): Fix handling of
4633 re-binding a symbol that has a symbol-macro (bug#12119).
4634
d5be7bd0
MB
46352012-08-06 Mohsen BANAN <libre@mohsen.1.banan.byname.net>
4636
4637 * language/persian.el: New file. (Bug#11812)
4638 * loadup.el: Add language/persian.el.
4639
90749b53
CY
46402012-08-06 Chong Yidong <cyd@gnu.org>
4641
4642 * window.el (window--maybe-raise-frame): New function.
4643 (window--display-buffer): Split off from here.
4644 (display-buffer-reuse-window, display-buffer-pop-up-frame)
4645 (display-buffer-pop-up-window, display-buffer-use-some-window):
4646 Obey an inhibit-switch-frame action alist entry.
4647 (display-buffer): Update doc.
4648
4649 * replace.el (occur-after-change-function): Avoid losing focus by
4650 using the inhibit-switch-frame display parameter (Bug#12139).
4651
ba7b0154
FEG
46522012-08-06 Fabián Ezequiel Gallina <fgallina@cuca>
4653
4654 Make internal shell process buffer names start with space.
4655 * progmodes/python.el (python-shell-make-comint): Add optional
4656 argument INTERNAL.
4657 (run-python-internal): Use it.
4658 (python-shell-internal-get-or-create-process): Check for new
4659 internal buffer names.
4660
5eaeacb5
GM
46612012-08-06 Glenn Morris <rgm@gnu.org>
4662
e296d94b 4663 * eshell/esh-ext.el (eshell/addpath): Use dolist and mapconcat.
5eaeacb5
GM
4664 Do less getting and setting of environment variables.
4665
b7ccbdc2
CY
46662012-08-05 Chong Yidong <cyd@gnu.org>
4667
777fe95e
CY
4668 * proced.el (proced): Add substitution string to docstring to
4669 trigger autoloading of the proced library on C-h f (Bug#1768).
4670
4250fdf5
SM
4671 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
4672 Don't show defvars which have no second argument (Bug#8638).
b7ccbdc2
CY
4673
4674 * imenu.el (imenu-generic-expression): Move documentation here
4675 from imenu--generic-function.
4676 (imenu--generic-function): Refer to imenu-generic-expression.
4677
9e3b7800 46782012-08-05 Vegard Øye <vegard_oye@hotmail.com> (tiny change)
d5c31f1d
4679
4680 * emulation/viper-init.el (viper-deflocalvar): Add docstring and
4681 indentation declaration.
4682 (viper-loop): Add indentation declaration (Bug#7025).
4683
e5d9c0d1
CY
46842012-08-05 Chong Yidong <cyd@gnu.org>
4685
f0422feb
CY
4686 * help-fns.el (describe-variable): Add hyperlink for
4687 directory-local variables files. Improve buffer-local and
4688 permanent-local reporting; suggested by MON KEY (Bug#6644).
4689
4690 * help-mode.el (help-dir-local-var-def): New button type.
4691
e5d9c0d1
CY
4692 * files.el (kill-buffer-hook): Provide a defvar.
4693
a4f2deaa
GM
46942012-08-05 Glenn Morris <rgm@gnu.org>
4695
4696 * eshell/esh-ext.el (eshell/addpath):
4697 Also update eshell-path-env. (Bug#12013)
4698
a9dd5754
CY
46992012-08-05 Chong Yidong <cyd@gnu.org>
4700
a4f2deaa 4701 * wdired.el (wdired-mode, wdired-change-to-wdired-mode): Doc fixes.
615b0bf0 4702
d014c740
CY
4703 * fringe.el (fringe-styles): Add docstring.
4704 (fringe--check-mode): New function.
4705 (set-fringe-mode, set-fringe-style): Use it.
4706 (fringe-mode, set-fringe-style): Doc fixes (Bug#6480).
4707
a9dd5754
CY
4708 * files.el (set-auto-mode): Fix invalid setq call.
4709
7c2dc8bd
SM
47102012-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
4711
4712 * isearch.el: Misc simplification; use defstruct.
4713 (isearch-mode-map): Dense maps now work like sparse ones.
4714 (isearch--state): New defstruct.
4715 (isearch-string-state, isearch-message-state, isearch-point-state)
4716 (isearch-success-state, isearch-forward-state)
4717 (isearch-other-end-state, isearch-word-state, isearch-error-state)
4718 (isearch-wrapped-state, isearch-barrier-state)
4719 (isearch-case-fold-search-state, isearch-pop-fun-state): Remove,
4720 replaced by defstruct's accessors.
4721 (isearch--set-state): Rename from isearch-top-state and change
4722 calling convention.
4723 (isearch-push-state): Use new isearch--get-state.
4724 (isearch-toggle-word): Disable regexp when enabling word.
4725 (isearch-message-prefix): Remove unused arg _c-q-hack.
4726 (isearch-message-suffix): Remove unused arg _ellipsis.
4727
7fcc0070
AS
47282012-08-04 Andreas Schwab <schwab@linux-m68k.org>
4729
4730 * simple.el (list-processes--refresh): For a server use :host or
4731 :local as the address.
97ad0769 4732 (list-processes): Doc fix.
7fcc0070 4733
a11035b8 47342012-08-04 Michal Nazarewicz <mina86@mina86.com>
00340faf
MN
4735
4736 * lisp/mpc.el: Support password in host argument.
4737 (mpc--proc-connect): Parse and use new password element.
4738 Set mpc-proc variable instead of returning process.
4739 (mpc-proc): Adjust accordingly.
4740
6dad7178
EZ
47412012-08-03 Eli Zaretskii <eliz@gnu.org>
4742
18949c2f
EZ
4743 * whitespace.el (whitespace-display-mappings): Use Unicode
4744 codepoints, instead of emacs-mule codepoints. See
4745 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-07/msg00366.html
4746 for the details.
4747
6dad7178
EZ
4748 * files.el (file-truename): Don't skip symlink-chasing part on
4749 windows-nt. Incorporate the resolution of 8+3 short aliases on
4250fdf5
SM
4750 Windows into the loop that recursively chases symlinks.
4751 Compare directory and its parent case-insensitively on MS-Windows and
6dad7178
EZ
4752 MS-DOS.
4753
385b0198
CY
47542012-08-03 Chong Yidong <cyd@gnu.org>
4755
6200f3c4
CY
4756 * menu-bar.el (menu-bar-tools-menu): Remove PCL-CVS.
4757
385b0198
CY
4758 * sort.el (sort-regexp-fields): Doc fix.
4759
b9e74744
TH
47602012-08-03 Tassilo Horn <tsdh@gnu.org>
4761
4762 * textmodes/reftex.el (reftex-compile-variables): Make keyvals
4763 labels regex position point at the expected place.
4764
41013cb4
MK
47652012-08-03 MON KEY <monkey@sandpframing.com>
4766
4767 * net/imap.el (imap-interactive-login, imap-authenticate)
4768 (imap-mailbox-lsub, imap-mailbox-list)
4769 (imap-mailbox-status-asynch, imap-mailbox-acl-delete)
4770 (imap-fetch, imap-message-flag-permanent-p, imap-envelope-from)
4771 (imap-parse-response): Doc fix.
4772
0ffee616
JT
47732012-08-03 João Távora <joaotavora@gmail.com>
4774
4775 * textmodes/tex-mode.el (latex-forward-sexp): Terminate the loop
4776 if sexp scanning does not move point (Bug#5734).
4777
cfcc9cc8
TH
47782012-08-02 Tassilo Horn <tsdh@gnu.org>
4779
4780 * textmodes/reftex-vars.el (reftex-default-label-alist-entries):
4781 Add listings, minted, and ctable packages.
4782 (reftex-label-alist-builtin): Move listings, minted, and ctable
4783 entries before LaTeX.
a01bbb84 4784 (reftex-label-alist): Docfix.
cfcc9cc8 4785
66ec2442
BG
47862012-08-02 Bastien Guerry <bzg@gnu.org>
4787
4788 * replace.el (occur): Fix docstring (bug#12122).
4789
837b365b
GM
47902012-08-02 Glenn Morris <rgm@gnu.org>
4791
4792 * emacs-lisp/authors.el (authors-renamed-files-alist): Add ms-w32.h.
4793
e098de97
PE
47942012-08-02 Paul Eggert <eggert@cs.ucla.edu>
4795
4796 Obsolete alias inactivate-current-input-method-function (Bug#10150).
4797 * international/mule-cmds.el: Create
4798 inactivate-current-input-method-function as an obsolete alias for
4799 deactivate-current-input-method-function. See Katsumi Yamaoka in
4800 <http://bugs.gnu.org/10150#46>.
4801
a0f95636
JB
48022012-08-01 Jay Belanger <jay.p.belanger@gmail.com>
4803
4804 * calc/calc-mode.el (calc-set-simplify-mode): Use `cond' instead
4805 of nested `if's.
4806
0d26d7c4
GM
48072012-08-01 Glenn Morris <rgm@gnu.org>
4808
4809 * progmodes/autoconf.el (autoconf-definition-regexp):
4810 Add AH_TEMPLATE, adjust submatch numbering.
4811 (autoconf-font-lock-keywords, autoconf-imenu-generic-expression)
4812 (autoconf-current-defun-function): Update for above change.
4813 (autoconf-current-defun-function): First skip to end of current word.
4814
b686ba06
RS
48152012-08-01 Rupert Swarbrick <rswarbrick@gmail.com> (tiny change)
4816
4817 * calendar/cal-html.el (cal-html-insert-agenda-days):
4818 Fix typo. (Bug#12018)
4819
0d49da68
FEG
48202012-07-31 Fabián Ezequiel Gallina <fgallina@cuca>
4821
4822 Shell processes: enhancements to startup and CEDET compatibility.
4823 * progmodes/python.el (python-shell-send-setup-max-wait): Delete var.
4824 (python-shell-make-comint): accept-process-output at startup.
4825 (run-python-internal): Set inferior-python-mode-hook to nil.
4826 (python-shell-internal-get-or-create-process): call sit-for.
4827 (python-preoutput-result): Add obsolete alias.
4828 (python-shell-internal-send-string): Use it.
4829 (python-shell-send-setup-code): Remove call to
4830 accept-process-output.
4831
f1a71c6e
AS
48322012-07-31 Andreas Schwab <schwab@linux-m68k.org>
4833
4834 * buff-menu.el (list-buffers-noselect): Use prefix-numeric-value.
4835 (Bug#12108)
4836
d2605269
JB
48372012-07-31 Jay Belanger <jay.p.belanger@gmail.com>
4838
4839 * calc-mode.el (calc-basic-simplification-mode): Rename from
4840 `calc-limited-simplification-mode'.
4841 (calc-alg-simplification-mode): New function.
fc0c31f8 4842 (calc-set-simplify-mode): Adjust message.
f1a71c6e 4843
d2605269
JB
4844 * calc.el (calc-set-mode-line): Adjust mode line display for
4845 basic simplification mode.
4846
4847 * calc-help.el (calc-m-prefix-help): Update help message.
4848
4849 * calc-ext.el (calc-init-extensions): Add bindings and autoloads
4850 for `calc-basic-simplify-mode' and `calc-alg-simplify-mode'.
4851
a3827a43
BG
48522012-07-31 Bastien Guerry <bzg@gnu.org>
4853
4854 * man.el (man): Fix comment. (bug#12101)
4855
502e3f89
MR
48562012-07-31 Martin Rudalics <rudalics@gmx.at>
4857
4858 * window.el (switch-to-prev-buffer, switch-to-next-buffer):
4859 Don't return a non-nil value when no suitable buffer was found.
4860
d7714961
FEG
48612012-07-31 Fabián Ezequiel Gallina <fgallina@cuca>
4862
4863 * progmodes/python.el (run-python-internal): Disable font lock for
4864 internal shells.
4865
1f45e27e
SM
48662012-07-30 Stefan Merten <smerten@oekonux.de>
4867
70efc5c9 4868 * textmodes/rst.el: Silence `checkdoc-ispell'.
1f45e27e
SM
4869 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
4870 (rst-official-version, rst-official-cvs-rev)
4871 (rst-package-emacs-version-alist): Update to upstream V1.3.1.
4872 (rst-mode-map): New key binding.
4873
0aee6912
PE
48742012-07-30 Paul Eggert <eggert@cs.ucla.edu>
4875
4876 Update .PHONY listings in makefiles.
4877 * Makefile.in (.PHONY): Add all, doit, custom-deps, finder-data,
4878 autoloads, update-subdirs, updates, bzr-update, update-authors,
4879 compile-onefile, compile-calc, backup-compiled-files,
4880 compile-after-backup, compile-one-process, mh-autoloads,
4881 bootstrap-clean, distclean, maintainer-clean.
4882
9052f9f0
JB
48832012-07-29 Jay Belanger <jay.p.belanger@gmail.com>
4884
1823ac5a
JB
4885 * calc/calc.el (calc-simplify-mode): Make 'alg the default value.
4886 (calc-set-mode-line): Don't display "AlgSimp ".
4887
4888 * calc/calc-mode.el (calc-alg-simplify-mode): Remove function.
4889 (calc-lim-simplify-mode): New function.
4890 (calc-set-simplify-mode): Default to 'alg.
4891 (calc-default-simplify-mode): Make algebraic simplifications
4892 the default.
4893
4894 * calc/calc-ext.el (calc-init-extensions): Remove binding for
4895 `calc-alg-simplify-mode'. Add binding for `calc-lim-simplify-mode'.
4896
8d7c7eed 4897 * calc/calc-help.el (calc-m-prefix-help): Change messages to
4b337409
JB
4898 indicate new simplification modes.
4899
1823ac5a
JB
4900 * calc/README: Mention new default simplification mode.
4901
9052f9f0
JB
4902 * calc/calc.el (math-normalize-error): New variable.
4903 (math-normalize): Set `math-normalize-error' to t
4904 when there's an error.
4905
4906 * calc/calc-alg.el (math-simplify): Don't simplify when
4907 `math-normalize' returns an error.
4908
20ba0cb4
EZ
49092012-07-29 Eli Zaretskii <eliz@gnu.org>
4910
4911 * international/mule-cmds.el (set-locale-environment): Revert last
4912 change, since display-graphic-p returns nil when this function is
4913 called during startup. Instead...
4914
4915 * term/w32console.el (terminal-init-w32console): ...setup the
4916 keyboard and terminal encoding for TTY sessions here. (Bug#12082)
4917
a5dcc929
JL
49182012-07-29 Juri Linkov <juri@jurta.org>
4919
4920 * simple.el (goto-line): Don't display default line number in the
4921 prompt because it should be displayed by `read-number' (bug#9952).
4922 Add the current line number to the defaults of `goto-line' to
4923 allow its easier modification by users with `M-n' (bug#9201).
4924
4925 * subr.el (read-number): Support multiple default values like in
4926 other minibuffer reading functions. Replace `read' with
4927 `string-to-number' for consistency with `number-to-string'.
4928
72b255c7
PE
49292012-07-29 Paul Eggert <eggert@cs.ucla.edu>
4930
4931 deactive->inactive, inactivate->deactivate spelling fixes (Bug#10150)
4932 * emulation/viper-init.el (viper-deactivate-input-method-action):
4933 Rename from viper-inactivate-input-method-action.
4934 (viper-deactivate-input-method):
4935 Rename from viper-inactivate-input-method.
4936 * follow.el (follow-inactive-menu): Rename from follow-deactive-menu.
4937 * international/mule-cmds.el (deactivate-input-method):
4938 Rename from inactivate-input-method.
4939 Also run input-method-deactivate-hook.
4940 (deactivate-current-input-method-function):
4941 Rename from inactivate-current-input-method-function.
4942 (input-method-deactivate-hook): New hook.
4943 (input-method-inactivate-hook): Mark obsolete.
bb6eb9fc
PE
4944 (inactivate-input-method): Mark obsolete.
4945
72b255c7
PE
4946 * international/quail.el (quail-activate):
4947 Also run quail-deactivate-hook.
4948 (quail-deactivate): Rename from quail-inactivate.
4949 * international/robin.el (robin-activate):
4950 Also run robin-deactivate-hook.
4951 (robin-deactivate): Rename from robin-inactivate.
4952
2549c068
CY
49532012-07-29 Chong Yidong <cyd@gnu.org>
4954
4955 * simple.el (indicate-copied-region): New function.
4956 (kill-ring-save): Split off from here.
4957
4958 * rect.el (copy-rectangle-as-kill): Call indicate-copied-region.
4959 (kill-rectangle): Set deactivate-mark to t on read-only error.
4960
4961 * register.el (copy-to-register, copy-rectangle-to-register):
4962 Deactivate the mark, and use indicate-copied-region (Bug#10056).
4c478e6b
JL
4963 (append-to-register, prepend-to-register): Call indicate-copied-region.
4964
49652012-07-29 Juri Linkov <juri@jurta.org>
17711ed9
JL
4966
4967 * simple.el (async-shell-command-buffer): New defcustom.
4968 (shell-command): Use it. (Bug#4719)
4969
01bd1b0d
EZ
49702012-07-28 Eli Zaretskii <eliz@gnu.org>
4971
4972 * international/mule-cmds.el (set-locale-environment): In a
4973 console session on MS-Windows, set up keyboard and terminal
4974 encoding from the OEM codepage, not the ANSI codepage.
4975 (Bug#12055)
4976
a55739d3
CY
49772012-07-28 Chong Yidong <cyd@gnu.org>
4978
4979 * progmodes/gdb-mi.el (gdb-place-breakpoints): Fix the call to
4980 gdb-get-location.
4981
0e1a094f 49822012-07-28 Leo Liu <sdl.web@gmail.com>
9a0f8f2e
LL
4983
4984 * progmodes/cc-menus.el (cc-imenu-objc-function): Avoid leaving nil in
4985 the alist (bug#12029).
4986
20329d73
EZ
49872012-07-28 Eli Zaretskii <eliz@gnu.org>
4988
4989 * makefile.w32-in (custom-deps, finder-data, updates, compile)
4990 (compile-always, compile-first)
4991 ($(lisp)/calendar/cal-loaddefs.el)
4992 ($(lisp)/calendar/diary-loaddefs.el)
4993 ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
4994 ($(lisp)/net/tramp-loaddefs.el, bootstrap)
4995 ($(lisp)/progmodes/cc-mode.elc): Depend on $(lisp)subdirs.el,
4996 instead of on update-subdirs.
4997 (bootstrap-clean): Delete $(lisp)/subdirs.el.
4998
345a2258
CY
49992012-07-28 Chong Yidong <cyd@gnu.org>
5000
1eee6341
CY
5001 * vc/vc.el (vc-root-diff, vc-print-root-log): Prompt for a
5002 directory if vc-deduce-backend returns nil (Bug#7350).
5003
345a2258
CY
5004 * simple.el (delete-trailing-lines): New option.
5005 (delete-trailing-whitespace): Obey it (Bug#11879).
5006
049a0936
DE
50072012-07-28 David Engster <deng@randomsample.de>
5008
5009 * xml.el (xml-node-name, xml-parse-file, xml-parse-region):
5010 Explanation of new 'symbol-qnames feature in doc-strings.
5011 (xml-maybe-do-ns): Return expanded names as plain symbols if
5012 'symbol-qnames was provided in XML-NS argument (Bug#11916).
5013 (xml-parse-tag-1): Deal with new definition of PARSE-NS argument.
5014
aa81af71
FEG
50152012-07-27 Fabián Ezequiel Gallina <fgallina@cuca>
5016
5017 Consistent completion in inferior python with emacs -nw.
5018 * progmodes/python.el (inferior-python-mode): replace "<tab>"
5019 binding in inferior-python-mode-map with "\t".
5020 (python-shell-completion-complete-at-point)
5021 (python-completion-complete-at-point): Remove interactive spec.
5022
e827b1eb
JB
50232012-07-27 Jay Belanger <jay.p.belanger@gmail.com>
5024
5025 * calc/calccomp.el (math-compose-expr): Undo previous change.
5026
a90dfb95
FEG
50272012-07-27 Fabián Ezequiel Gallina <fgallina@cuca>
5028
4250fdf5 5029 * progmodes/python.el (python-mode-map): Add keybinding for
a90dfb95
FEG
5030 run-python.
5031 (python-shell-make-comint): Fix pop-to-buffer call.
5032 (run-python): Autoload. New arg SHOW.
5033 (python-shell-get-or-create-process): Do not pop python process
5034 buffer.
5035
32770973 50362012-07-27 Michael Albinus <michael.albinus@gmx.de>
1c6ef030
MA
5037
5038 * notifications.el (notifications-on-action-signal)
5039 (notifications-on-closed-signal): Use also the bus address for the map.
5040 (notifications-notify, notifications-close-notification)
fc0c31f8 5041 (notifications-get-capabilities): Add optional argument BUS.
1c6ef030 5042
86332df2
TH
50432012-07-27 Tassilo Horn <tsdh@gnu.org>
5044
4250fdf5
SM
5045 * textmodes/reftex-vars.el (reftex-label-alist-builtin):
5046 Add support for the lstlisting and minted environments, and for the
86332df2
TH
5047 ctable macro.
5048 * textmodes/reftex.el (reftex-compile-variables): Also recognize
5049 labels written in keyvals syntax.
5050
ca1302a4
JB
50512012-07-27 Jay Belanger <jay.p.belanger@gmail.com>
5052
5053 * calc/calccomp.el (math-compose-expr): Use parentheses when
5054 there is a product in the denominator of a fraction.
5055
f8b91036
EZ
50562012-07-26 Eli Zaretskii <eliz@gnu.org>
5057
5058 * makefile.w32-in ($(lisp)/calendar/cal-loaddefs.el)
5059 ($(lisp)/calendar/diary-loaddefs.el)
5060 ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
4250fdf5
SM
5061 ($(lisp)/net/tramp-loaddefs.el): Depend on update-subdirs.
5062 Fixes failures in parallel bootstrap because subdirs.el is being
f8b91036
EZ
5063 rewritten while the autoload files are built at the same time,
5064 which needs to load subdirs.el.
5065
c8e5a42c
MR
50662012-07-26 Martin Rudalics <rudalics@gmx.at>
5067
5068 * mouse.el (popup-menu): Fix doc-string and re-indent code.
5069 (mouse-drag-line): Don't exit tracking when a switch-frame or
5070 switch-window event occurs (Bug#12006).
5071
670d85ea
SM
50722012-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
5073
5074 * mouse.el (popup-menu): Fix last change.
5075
7abaf5cc
SM
50762012-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
5077
5078 Autoload from Lisp with more care. Follow aliases when looking for
5079 function properties.
5080 * subr.el (autoloadp): New function.
5081 (symbol-file): Use it.
5082 (function-get): New function.
5083 * emacs-lisp/macroexp.el (macroexp--expand-all): Use function-get and
5084 autoload-do-load.
5085 * emacs-lisp/lisp-mode.el (lisp-font-lock-syntactic-face-function)
5086 (lisp-indent-function):
5087 * emacs-lisp/gv.el (gv-get):
5088 * emacs-lisp/edebug.el (get-edebug-spec, edebug-basic-spec):
5089 * emacs-lisp/byte-opt.el (byte-optimize-form):
5090 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
5091 * emacs-lisp/autoload.el (make-autoload, autoload-print-form):
5092 Use function-get.
5093 * emacs-lisp/cl.el: Don't propagate function properties any more.
5094
5095 * speedbar.el (speedbar-add-localized-speedbar-support):
5096 * emacs-lisp/disass.el (disassemble-internal):
5097 * desktop.el (desktop-load-file):
5098 * help-fns.el (help-function-arglist, find-lisp-object-file-name)
5099 (describe-function-1):
5100 * emacs-lisp/find-func.el (find-function-noselect):
5101 * emacs-lisp/elp.el (elp-instrument-function):
5102 * emacs-lisp/advice.el (ad-has-proper-definition):
5103 * apropos.el (apropos-safe-documentation, apropos-macrop):
5104 * emacs-lisp/debug.el (debug-on-entry):
5105 * emacs-lisp/cl-macs.el (cl-compiler-macroexpand):
5106 * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
5107 * calc/calc.el (name): Use autoloadp & autoload-do-load.
5108
b1364986
AA
51092012-07-25 Alp Aker <alp.tekin.aker@gmail.com>
5110
5111 * international/mule-cmds.el (ucs-insert): Mark it as an obsolete
5112 function, not an obsolete variable (Bug#12046).
5113
67ada220
AS
51142012-07-25 Andreas Schwab <schwab@linux-m68k.org>
5115
5116 * faces.el (face-spec-reset-face): Fix last change. (Bug#12042)
5117
f08088e3
CS
51182012-07-25 Christopher Schmidt <christopher@ch.ristopher.com>
5119
5120 * emacs-lisp/pp.el (pp-display-expression): Select old selected
5121 window only if it is still live (Bug#12034).
5122
8137e7b3
MR
51232012-07-25 Martin Rudalics <rudalics@gmx.at>
5124
5125 * subr.el (redirect-frame-focus): Add advertised calling
5126 convention (Bug#12030).
5127
09ae5da1
PE
51282012-07-25 Paul Eggert <eggert@cs.ucla.edu>
5129
5130 Prefer typical American spelling for "acknowledgment".
5131 * vc/add-log.el (change-log-acknowledgment): Rename from
5132 change-log-acknowledgement, with an alias for the old name.
5133
3cc5a3a8
JB
51342012-07-25 Jay Belanger <jay.p.belanger@gmail.com>
5135
5136 * calc-alg.el (math-simplify-divide): Don't cross multiply
5137 in an equation when the lhs is a variable.
5138
b7af7f62
JD
51392012-07-24 Julien Danjou <julien@danjou.info>
5140
5141 * net/netrc.el (netrc-find-service-number, netrc-store-data):
5142 Remove, unused.
5143
ec1b09b1
EZ
51442012-07-23 Eli Zaretskii <eliz@gnu.org>
5145
5146 * startup.el (command-line): Don't display an empty user name in
5147 the error message about non-existent home directory, when
5148 init-file-user was set to an empty string. See
5149 http://lists.gnu.org/archive/html/bug-gnu-emacs/2012-07/msg00835.html
5150 for the details and context.
5151
b525fd8a
VB
51522012-07-22 Vincent Belaïche <vincentb1@users.sourceforge.net>
5153
5154 * ses.el (ses-cell-formula-aset): New macro.
5155 (ses-cell-references-aset): New macro.
5156 (ses-cell-p): New function.
5157 (ses-rename-cell): Do no longer rely on complex operations like
5158 ses-cell-set-formula or ses-set-cell to change the cell and handle
5159 the undo at the same time, but rather use lower level new macros
5160 `ses-cell-formula-aset' and `ses-cell-references-aset' and handle
fc0c31f8 5161 the undo directly. Refresh the mode line.
b525fd8a 5162
2c73e345
LL
51632012-07-21 Leo Liu <sdl.web@gmail.com>
5164
670d85ea
SM
5165 * progmodes/cc-cmds.el (c-defun-name):
5166 Use match-string-no-properties instead for consistency.
2c73e345 5167
542dfbde
LL
51682012-07-20 Leo Liu <sdl.web@gmail.com>
5169
3646bcd6
LL
5170 * progmodes/cc-cmds.el (c-defun-name): Handle objc selectors properly.
5171 (Bug#7879)
5172
542dfbde
LL
5173 * progmodes/cc-langs.el (c-symbol-start): Include char _ (bug#11986).
5174
25721031
CY
51752012-07-20 Stefan Monnier <monnier@iro.umontreal.ca>
5176
5177 * userlock.el, emacs-lisp/map-ynp.el: Declare part of `emacs' package.
5178 * progmodes/bug-reference.el, misearch.el: Provide themselves
5179 (bug#11915).
5180
5181 * progmodes/cperl-mode.el (cperl-unwind-to-safe): Don't inf-loop at end
5182 of narrowed buffer (bug#11966).
5183
316e68a7
VB
51842012-07-20 Vincent Belaïche <vincentb1@users.sourceforge.net>
5185
5186 * ses.el (ses-rename-cell): Set new name also in reference list of
5187 cells of which the renamed cell depends.
5188
bbf0e7d9
MY
51892012-07-20 Masatake YAMATO <yamato@redhat.com>
5190
5191 * term/x-win.el (x-menu-bar-open): Use `frame-parameter'
5192 to check whether menu-bar is shown or not. If not shown,
5193 show the menu-bar as a popup menu instead of using tmm.
5194 * mouse.el (popup-menu): Accept `point' as `position' argument.
5195
c28662a8
DG
51962012-07-20 Dmitry Gutov <dgutov@yandex.ru>
5197
5198 * progmodes/ruby-mode.el (ruby-parse-partial): No error when end
5199 up inside string symbol literal (bug#11923).
5200
87ab808f
EZ
52012012-07-20 Eli Zaretskii <eliz@gnu.org>
5202
5203 * startup.el (fancy-startup-text): Read the whole tutorial, not
5204 just its first 256 bytes. Prevents gibberish in display of the
5205 tutorial title.
5206
89dea803
DA
52072012-07-20 Dmitry Antipov <dmantipov@yandex.ru>
5208
5209 Drop idle buffer compaction due to an absence of the
5210 proved efficiency.
5211 * compact.el: Remove.
5212
8a4e6db8
SS
52132012-07-19 Sam Steingold <sds@gnu.org>
5214
5215 * vc/vc-dispatcher.el (vc-compilation-mode): Add, based on
5216 vc-bzr-pull & vc-bzr-merge-branch.
5217 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch): Use it.
5218 (vc-bzr-error-regexp-alist): Rename from vc-bzr-error-regex-alist
5219 for consistency with compilation-error-regexp-alist.
5220 * vc/vc-git.el (vc-git-error-regexp-alist): Add.
5221 (vc-git-pull, vc-git-merge-branch): Call vc-compilation-mode.
5222 * vc/vc-hg.el (vc-hg-error-regexp-alist): Add.
5223 (vc-hg-pull, vc-hg-merge-branch): Call vc-compilation-mode.
5224
5db81e33
SM
52252012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
5226
5227 * emacs-lisp/chart.el: Use lexical-binding.
5228 (chart-emacs-storage): Don't hardcode the list of entries.
5229
5b835e1d
DA
52302012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
5231
5232 Next round of tweaks caused by Fgarbage_collect changes.
5233 * emacs-lisp/chart.el (chart-emacs-storage): Adjust again.
5234
9cd47b72
DA
52352012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
5236
5237 Compact buffers when idle.
5238 * compact.el: New file.
5239
1d6fc0df
SM
52402012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
5241
5242 * subr.el (eventp): Presume that if it looks vaguely like an event,
5243 it's an event (bug#10190).
5244
1d29cc7d
FEG
52452012-07-19 Fabián Ezequiel Gallina <fgallina@cuca>
5246
5247 Enhancements to ppss related code (thanks Stefan).
5248 * progmodes/python.el (python-indent-context)
5249 (python-indent-calculate-indentation, python-indent-dedent-line)
5250 (python-indent-electric-colon, python-nav-forward-block)
5251 (python-mode-abbrev-table)
1d6fc0df 5252 (python-info-assignment-continuation-line-p): Simplify checks
1d29cc7d
FEG
5253 for ppss context.
5254 (python-info-continuation-line-p): Cleanup.
5255 (python-info-ppss-context): Do not catch 'quote.
5256 (python-info-ppss-context-type)
5257 (python-info-ppss-comment-or-string-p): Simplify.
5258
d583cbe6
FEG
52592012-07-18 Fabián Ezequiel Gallina <fgallina@cuca>
5260
5261 * progmodes/python.el: Enhancements to eldoc support.
5262 (python-info-current-symbol): New function.
5263 (python-eldoc-at-point): Use python-info-current-symbol.
5264 (python-info-current-defun): Fix cornercase on first defun scan.
5265 (python-eldoc--get-doc-at-point): Use python-info-current-symbol
5266 and signal error when no inferior python process is available.
5267
eceb6feb
DG
52682012-07-18 Dmitry Gutov <dgutov@yandex.ru>
5269
5270 * vc/vc-git.el (vc-git-state): Don't call `vc-git-registered',
5271 assume it's always t.
5272 (vc-git-registered): Remove caching, the function is only called
5273 once.
5274 (vc-git-branches): Use `vc-git--call' instead of `call-process'.
5275
4c8ff0fe
CY
52762012-07-18 Chong Yidong <cyd@gnu.org>
5277
19fb7186
CY
5278 * subr.el (last-input-char, last-command-char): Remove (Bug#9195).
5279
9587c688
CY
5280 * simple.el (count-words): Report on narrowing (Bug#9959).
5281
0fe776a1
CY
5282 * bindings.el: Bind M-= to count-words.
5283
4c8ff0fe
CY
5284 * faces.el (face-spec-reset-face): Handle reverse video (Bug#4238).
5285
7f5331cc
MY
52862012-07-18 Masatake YAMATO <yamato@redhat.com>
5287
5288 * progmodes/sh-script.el (sh-imenu-generic-expression):
5289 Capture a function with `function' keyword and without parentheses
5290 like "function FOO" (bug#11856).
5291
2dc2a609
TH
52922012-07-18 Tassilo Horn <tassilo@member.fsf.org>
5293
5294 * window.el (split-window-sensibly): Make WINDOW argument
5295 optional.
5296
439f7677
CY
52972012-07-18 Chong Yidong <cyd@gnu.org>
5298
9aeb25a6
CY
5299 * subr.el (keyboard-translate): Doc fix (Bug#7261).
5300
439f7677
CY
5301 * isearch.el (isearch-mode-map): Handle C-x 8 key translations,
5302 and make C-x 8 RET exit isearch (Bug#11439).
5303
5304 * international/iso-transl.el: Move isearch-mode-map key
5305 definitions to isearch.el.
5306
12999ea8
SM
53072012-07-18 Stefan Monnier <monnier@iro.umontreal.ca>
5308
5309 * emacs-lisp/eieio.el: Adapt further to gv.el (bug#11970).
5310 (eieio-defclass): Use gv-define-setter when possible.
5311
3ab6e069
DA
53122012-07-18 Dmitry Antipov <dmantipov@yandex.ru>
5313
5314 Reflect recent changes in Fgarbage_collect.
5315 * emacs-lisp/chart.el (chart-emacs-storage): Change to
5316 reflect new format of data returned by Fgarbage_collect.
5317
0a60bc10
FEG
53182012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
5319
5320 New utility functions + python-info-ppss-context fix (Bug#11910).
5321 * progmodes/python.el (python-info-beginning-of-block-statement-p)
5322 (python-info-ppss-comment-or-string-p): New functions.
5323 (python-info-ppss-context): Small fix for string check.
5324
6dafa0d5
JL
53252012-07-17 Juri Linkov <juri@jurta.org>
5326
5327 * dired-aux.el (dired-do-async-shell-command): Doc fix.
5328 (dired-do-async-shell-command): Don't add `*' at the end of the
5329 command (Bug#11815).
5330 (dired-do-shell-command): Doc fix.
5331 (dired-shell-stuff-it): Strip the trailing "&" and ";" if any.
5332 Join the individual commands using either "&" or ";" as the
5333 separator depending on the values of these trailing characters.
5334 At the end re-add the trailing "&". (Bug#10598)
5335
5336 * simple.el (async-shell-command): Sync the interactive spec with
5337 `shell-command'. Doc fix.
5338 (shell-command): Doc fix.
5339
b19dd9d1
JL
53402012-07-17 Juri Linkov <juri@jurta.org>
5341
5342 * descr-text.el (describe-char): Fix format args. (Bug#10129)
5343
bcdc27d7 53442012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
7f5331cc 5345
bcdc27d7 5346 Final renames and doc fixes for movement commands (bug#11899).
7f5331cc
MY
5347 * progmodes/python.el (python-nav-beginning-of-statement):
5348 Rename from python-nav-statement-start.
bcdc27d7
FEG
5349 (python-nav-end-of-statement): Rename from
5350 python-nav-statement-end.
5351 (python-nav-beginning-of-block): Rename from
5352 python-nav-block-start.
5353 (python-nav-end-of-block): Rename from python-nav-block-end.
5354
191da00e
FEG
53552012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
5356
7f5331cc
MY
5357 * progmodes/python.el (python-shell-send-string-no-output):
5358 Allow accept-process-output to quit, keeping shell process ready for
191da00e
FEG
5359 future interactions (Bug#11868).
5360
4dc7c8d5 53612012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
aa7aaf8f 5362
88ecaf8f
SM
5363 * emacs-lisp/cl-macs.el (cl-progv): Use a properly prefixed var name.
5364
ef501ef0
SM
5365 * emacs-lisp/elint.el (elint-find-args-in-code):
5366 Use help-function-arglist, so as to handle lexical byte-code.
5367
aa7aaf8f
SM
5368 * progmodes/sh-script.el (sh-syntax-propertize-function): Fix last
5369 change (bug#11826).
5370
45fd731c
SM
53712012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
5372
2143fa32
SM
5373 * progmodes/cc-engine.el (c-forward-sws, c-backward-sws):
5374 Avoid spuriously marking the buffer as modified because of c-is-sws.
5375
efc26dbe
SM
5376 * progmodes/sh-script.el (sh-syntax-propertize-function): Mark "${#VAR"
5377 as not-a-comment (bug#11946).
5378
f5695c9a
SM
5379 * emacs-lisp/macroexp.el (macroexp-let2): Use more informative names
5380 for uninterned vars.
5381
5382 * xt-mouse.el (xterm-mouse-translate-1, xterm-mouse-event-read):
5383 Use read-event since we don't really want to read chars but bytes.
5384
45fd731c
SM
5385 * textmodes/tex-mode.el (tex-font-lock-keywords-1): Highlight not only
5386 $$..$$ but also $..$ using regexps (bug#11953).
5387 Use tex-verbatim for \url and \path.
5388 (tex-font-lock-keywords): Define as defconst like the others.
5389 (tex-common-initialization): Don't use font-lock-syntax-table any more.
5390
ddfc8813
RK
53912012-07-16 René Kyllingstad <Rene@Kyllingstad.com> (tiny change)
5392
5393 * international/mule-cmds.el (ucs-insert): Make it an obsolete
5394 alias for insert-char.
5395
758e556a
FEG
53962012-07-16 Fabián Ezequiel Gallina <fgallina@cuca>
5397
5398 * progmodes/python.el: Simplified imenu implementation.
5399 (python-nav-jump-to-defun): Remove command.
5400 (python-mode-map): Use `imenu' instead.
5401 (python-nav-list-defun-positions-cache)
5402 (python-imenu-include-defun-type, python-imenu-make-tree)
5403 (python-imenu-subtree-root-label, python-imenu-index-alist):
5404 Remove vars.
5405 (python-nav-list-defun-positions, python-nav-read-defun)
5406 (python-imenu-tree-assoc, python-imenu-make-element-tree)
45fd731c
SM
5407 (python-imenu-make-tree, python-imenu-create-index):
5408 Remove functions.
758e556a
FEG
5409 (python-mode): Update to interact with imenu by setting
5410 `imenu-extract-index-name-function' only.
5411
032d23ab
FEG
54122012-07-16 Fabián Ezequiel Gallina <fgallina@cuca>
5413
5414 * progmodes/python.el: Enhancements to navigation commands.
5415 (python-nav-backward-sentence)
5416 (python-nav-forward-sentence): Remove.
5417 (python-nav-backward-statement, python-nav-forward-statement)
5418 (python-nav-statement-start, python-nav-statement-end)
5419 (python-nav-backward-block, python-nav-forward-block)
5420 (python-nav-block-start, python-nav-block-end)
5421 (python-nav-forward-sexp-function)
5422 (python-info-current-line-comment-p)
5423 (python-info-current-line-empty-p): New functions.
5424 (python-indent-context): Use `python-nav-statement-start'.
5425
01795a1b
MA
54262012-07-16 Michael Albinus <michael.albinus@gmx.de>
5427
9328d9aa
MA
5428 * eshell/em-ls.el (eshell/ls): Use `apply'.
5429
5430 * eshell/em-unix.el (eshell/su, eshell/sudo): Apply Tramp's ad-hoc
5431 multi-hops, instead of Tramp internals.
5432
01795a1b
MA
5433 * vc/ediff.el (ediff-directories): Add trailing space to prompts.
5434
5435 * vc/ediff-diff.el (ediff-same-file-contents): Handle the case,
5436 when F1 and F2 are located on different hosts.
5437
63408057
CY
54382012-07-14 Chong Yidong <cyd@gnu.org>
5439
5440 * xt-mouse.el: Implement extended mouse coordinates (Bug#10642).
5441 (xterm-mouse-translate): Move code into xterm-mouse-translate-1.
5442 (xterm-mouse-translate-extended, xterm-mouse-translate-1)
5443 (xterm-mouse--read-event-sequence-1000)
5444 (xterm-mouse--read-event-sequence-1006): New functions. For old
5445 mouse protocol, handle M-mouse-X events correctly.
5446 (xterm-mouse-event): New arg specifying mouse protocol.
5447 (turn-on-xterm-mouse-tracking-on-terminal)
5448 (turn-off-xterm-mouse-tracking-on-terminal): Send DEC 1006
45fd731c
SM
5449 sequence to toggle extended coordinates on newer XTerms.
5450 This appears to be harmless on terminals which do not support this.
63408057 5451
cd276f6e
LL
54522012-07-14 Leo Liu <sdl.web@gmail.com>
5453
28ca98ac
LL
5454 Add fringe bitmap indicators for flymake. (Bug#11253)
5455 * progmodes/flymake.el (flymake-highlight-line): Use fringe bitmaps.
5456 (flymake-make-overlay): New arg BITMAP.
5457 (flymake-error-bitmap, flymake-warning-bitmap)
5458 (flymake-fringe-indicator-position): New user variables.
5459
cd276f6e
LL
5460 * fringe.el: New bitmap exclamation-mark.
5461
04408072
JD
54622012-07-14 Jan Djärv <jan.h.d@swipnet.se>
5463
5464 * progmodes/cc-cmds.el (c-defun-name): Recognize Objective-C methods
5465 also (Bug#7879).
5466
b5cf7fc4
CY
54672012-07-14 Chong Yidong <cyd@gnu.org>
5468
5469 * electric.el (electric-pair-post-self-insert-function): Fix pair
5470 insertion in empty-region case (Bug#11520).
5471
be755c79
RT
54722012-07-14 Chong Yidong <cyd@gnu.org>
5473
45fd731c
SM
5474 * bindings.el: Consolidate ctl-x-r-map bindings.
5475 Bind copy-rectangle-as-kill to C-x r w.
be755c79
RT
5476
5477 * rect.el, register.el: Move bindings to bindings.el.
5478
54792012-07-14 Reuben Thomas <rrt@sc3d.org>
5480
5481 * rect.el (copy-rectangle-as-kill): New command (Bug#739).
5482
7f5b3198
AS
54832012-07-13 Andreas Schwab <schwab@linux-m68k.org>
5484
5485 * emacs-lisp/cl.el (labels): Remove spurious quote. (Bug#11938)
5486
97662200
JB
54872012-07-13 Juanma Barranquero <lekktu@gmail.com>
5488
80185fed
JB
5489 * bindings.el (top): Use `mapc' instead of `mapcar'.
5490
97662200
JB
5491 * loadup.el (top): Remove bogus `if' choice (brought by 2008-06-21T01:38:39Z!monnier@iro.umontreal.ca).
5492
2bb1ae55
MA
54932012-07-13 Michael Albinus <michael.albinus@gmx.de>
5494
5495 * progmodes/sql.el (sql-comint): Suppress the check for program on
5496 remote hosts. Reported by Francis Devereux <francis@devrx.org>.
5497 (Bug#11908)
5498
dea31bd3
CY
54992012-07-13 Chong Yidong <cyd@gnu.org>
5500
5501 * bindings.el: Assign a non-nil permanent-local property to
5502 per-buffer variables which lack a default value (Bug#11930).
5503
5504 * help-fns.el (describe-variable): In the "automatically becomes
5505 local" notice, take note of permanent-local variables.
5506
b68b3337
CY
55072012-07-13 Chong Yidong <cyd@gnu.org>
5508
5509 * files.el (toggle-read-only): Doc fix and code cleanup. New arg
5510 to allow printing the message when called from Lisp.
5511
5512 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
5513 Remove toggle-read-only.
5514
5515 * bs.el (bs-toggle-readonly):
45fd731c
SM
5516 * buff-menu.el (Buffer-menu-toggle-read-only):
5517 Remove with-no-warnings around toggle-read-only.
b68b3337
CY
5518
5519 * ffap.el (ffap--toggle-read-only): Accept a list of buffers.
5520 Remove with-no-warnings around toggle-read-only.
5521 (ffap-read-only, ffap-read-only-other-window)
5522 (ffap-read-only-other-frame): Callers changed.
5523
5524 * help-mode.el: Don't require view package.
5525 (help-mode-finish): Set buffer-read-only instead of calling
5526 toggle-read-only.
5527
5528 * bindings.el (mode-line-toggle-read-only):
5529 * dired.el (dired-toggle-read-only):
5530 * ibuffer.el (ibuffer-do-toggle-read-only): Call toggle-read-only
5531 with non-nil second arg.
5532
5533 * emacs-lisp/eieio-custom.el (eieio-customize-object):
5534 * vc/ediff.el (ediff-set-read-only-in-buf-A): Set buffer-read-only
5535 directly.
5536
56bc1586
EZ
55372012-07-12 Eli Zaretskii <eliz@gnu.org>
5538
5539 * emacs-lisp/bytecomp.el (byte-recompile-directory): Use cl-incf,
5540 not incf.
5541
a464a6c7
SM
55422012-07-11 Stefan Monnier <monnier@iro.umontreal.ca>
5543
5544 More CL cleanups and reduction of use of cl.el.
5545 * woman.el, winner.el, vc/vc-rcs.el, vc/vc-hooks.el, vc/vc-hg.el:
5546 * vc/vc-git.el, vc/vc-dir.el, vc/vc-bzr.el, vc/vc-annotate.el:
5547 * textmodes/tex-mode.el, textmodes/sgml-mode.el, tar-mode.el:
5548 * strokes.el, ses.el, server.el, progmodes/js.el, progmodes/gdb-mi.el:
5549 * progmodes/flymake.el, progmodes/ebrowse.el, progmodes/compile.el:
5550 * play/tetris.el, play/snake.el, play/pong.el, play/landmark.el:
5551 * play/hanoi.el, play/decipher.el, play/5x5.el, nxml/nxml-mode.el:
5552 * net/secrets.el, net/quickurl.el, midnight.el, mail/footnote.el:
5553 * image-dired.el, ibuffer.el, ibuf-macs.el, ibuf-ext.el, hexl.el:
5554 * eshell/eshell.el, eshell/esh-io.el, eshell/esh-ext.el:
5555 * eshell/esh-cmd.el, eshell/em-ls.el, eshell/em-hist.el:
5556 * eshell/em-cmpl.el, eshell/em-banner.el:
5557 * calendar/parse-time.el: Use cl-lib.
5558 * wid-browse.el, wdired.el, vc/vc.el, vc/vc-mtn.el, vc/vc-cvs.el:
5559 * vc/vc-arch.el, tree-widget.el, textmodes/texinfo.el:
5560 * textmodes/refill.el, textmodes/css-mode.el, term/tvi970.el:
5561 * term/ns-win.el, term.el, shell.el, ps-samp.el:
5562 * progmodes/perl-mode.el, progmodes/pascal.el, progmodes/gud.el:
5563 * progmodes/glasses.el, progmodes/etags.el, progmodes/cwarn.el:
5564 * play/gamegrid.el, play/bubbles.el, novice.el, notifications.el:
5565 * net/zeroconf.el, net/xesam.el, net/snmp-mode.el, net/mairix.el:
5566 * net/ldap.el, net/eudc.el, net/browse-url.el, man.el:
5567 * mail/mailheader.el, mail/feedmail.el: Don't use CL.
5568 * ibuf-ext.el (ibuffer-mark-old-buffers): Use float-time.
5569 * eshell/esh-opt.el (eshell-eval-using-options): Quote code with
5570 `lambda' rather than with `quote'.
5571 (eshell-do-opt): Adjust accordingly.
5572 (eshell-process-option): Simplify.
5573 * eshell/esh-var.el:
5574 * eshell/em-script.el: Require `esh-opt' for eshell-eval-using-options.
5575 * emacs-lisp/pcase.el (pcase--dontcare-upats, pcase--let*)
5576 (pcase--expand, pcase--u1): Rename pcase's internal `dontcare' pattern
5577 to `pcase--dontcare'.
5578 * emacs-lisp/cl.el (labels): Mark obsolete.
5579 (cl--letf, letf): Move to cl-lib.
5580 (cl--letf*, letf*): Remove.
5581 * emacs-lisp/cl-lib.el (cl-nth-value): Use defalias.
5582 * emacs-lisp/cl-macs.el (cl-dolist, cl-dotimes): Add indent rule.
5583 (cl-progv): Rewrite.
5584 (cl--letf, cl-letf): Move from cl.el.
5585 (cl-letf*): New macro.
5586 * emacs-lisp/cl-extra.el (cl--progv-before, cl--progv-after): Remove.
5587
7ad4afe1
MA
55882012-07-11 Michael Albinus <michael.albinus@gmx.de>
5589
5590 * net/ange-ftp.el (ange-ftp-cf1): Update the files cache.
5591
9af57756
CY
55922012-07-11 Chong Yidong <cyd@gnu.org>
5593
5594 * vc/log-edit.el (log-edit-vc-backend): New variable.
5595 (log-edit): Doc fix.
5596
5597 * vc/vc-dispatcher.el (vc-log-edit): New args. Use PARAMS
5598 argument of log-edit to set up all local variables.
5599 (vc-start-logentry): New optional arg specifying VC backend.
5600
5601 * vc/vc.el (vc-checkin): Use it.
5602 (vc-deduce-fileset): Handle Log Edit buffers.
5603 (vc-diff): Make first argument optional too.
5604
5605 * vc/log-view.el (log-view-vc-fileset, log-view-vc-backend): Doc fix.
5606
8477cc7a
MA
56072012-07-10 Michael Albinus <michael.albinus@gmx.de>
5608
5609 * eshell/esh-ext.el (eshell-remote-command): Remove remote part of
5610 command, just in case. The function is not needed anymore.
5611 (eshell-external-command): Do not call `eshell-remote-command'.
5612
19faa8e8
SM
56132012-07-10 Stefan Monnier <monnier@iro.umontreal.ca>
5614
f58e0fd5
SM
5615 Reduce use of (require 'cl).
5616 * vc/smerge-mode.el, vc/pcvs.el, vc/pcvs-util.el, vc/pcvs-info.el:
5617 * vc/diff-mode.el, vc/cvs-status.el, uniquify.el, scroll-bar.el:
5618 * register.el, progmodes/sh-script.el, net/gnutls.el, net/dbus.el:
5619 * msb.el, mpc.el, minibuffer.el, international/ucs-normalize.el:
5620 * international/quail.el, info-xref.el, imenu.el, image-mode.el:
5621 * font-lock.el, filesets.el, edmacro.el, doc-view.el, bookmark.el:
5622 * battery.el, avoid.el, abbrev.el: Use cl-lib.
5623 * vc/pcvs-parse.el, vc/pcvs-defs.el, vc/log-view.el, vc/log-edit.el:
5624 * vc/diff.el, simple.el, pcomplete.el, lpr.el, comint.el, loadhist.el:
5625 * jit-lock.el, international/iso-ascii.el, info.el, frame.el, bs.el:
5626 * emulation/crisp.el, electric.el, dired.el, cus-dep.el, composite.el:
5627 * calculator.el, autorevert.el, apropos.el: Don't require CL.
5628 * emacs-lisp/bytecomp.el (byte-recompile-directory, display-call-tree)
5629 (byte-compile-unfold-bcf, byte-compile-check-variable):
5630 * emacs-lisp/byte-opt.el (byte-compile-trueconstp)
5631 (byte-compile-nilconstp):
5632 * emacs-lisp/autoload.el (make-autoload): Use pcase.
5633 * face-remap.el (text-scale-adjust): Simplify pcase patterns.
5634
2519d43a
SM
5635 * emacs-lisp/gv.el (cond): Make it a valid place.
5636 (if): Simplify slightly.
5637
19faa8e8
SM
5638 * emacs-lisp/pcase.el (pcase): Accept self-quoting exps as "upatterns".
5639 (pcase--self-quoting-p): New function.
5640 (pcase--u1): Use it.
5641
c4907a5e
GM
56422012-07-10 Glenn Morris <rgm@gnu.org>
5643
5644 * emacs-lisp/authors.el (authors-fixed-entries):
5645 (authors-renamed-files-alist): Update for configure.in -> configure.ac.
5646
c4444d16
PE
56472012-07-09 Paul Eggert <eggert@cs.ucla.edu>
5648
5649 Rename configure.in to configure.ac (Bug#11603).
5650 * emacs-lisp/authors.el (authors-canonical-file-name):
5651 * progmodes/autoconf.el (autoconf-mode):
5652 Prefer configure.ac to configure.in.
5653
d75be97d
CY
56542012-07-08 Chong Yidong <cyd@gnu.org>
5655
01ac65bd
CY
5656 * mouse.el (mouse-drag-line): Rewrite the track-mouse loop.
5657 Implement the mouse-1-click-follows-link handling properly.
5658
5659 * info.el (Info-link-keymap): Use follow-link mechanism for
5660 header-line links (Bug#374).
5661
d75be97d
CY
5662 * simple.el (deactivate-mark): Do not set the primary selection
5663 if another program has acquired it (Bug#11772).
5664
87a92845 56652012-07-07 Kevin Ryde <user42@zip.com.au>
f0ecdfea
KR
5666
5667 * woman.el (woman-strings): Fix double-quote handling (Bug#1151).
5668 (woman-decode-region): Replace escaped-escapes without destroying
5669 bold or underline (Bug#11552).
87a92845 5670 (woman2-process-escapes): Handle nofill regions (Bug#11591).
f0ecdfea 5671
621b9d6c
CY
56722012-07-07 Chong Yidong <cyd@gnu.org>
5673
5674 * simple.el (yank-pop-change-selection): Doc fix (Bug#11361).
19faa8e8
SM
5675 (interprogram-cut-function, interprogram-paste-function):
5676 Mention that we typically mean the clipboard.
621b9d6c 5677
133a11fc
GM
56782012-07-06 Glenn Morris <rgm@gnu.org>
5679
0d27a45e
GM
5680 * kmacro.el (kmacro-call-macro): Restore repeat message. (Bug#11817)
5681
133a11fc
GM
5682 * files.el (toggle-read-only): Restrict message to interactive use.
5683
07b151f1
MA
56842012-07-06 Michael Albinus <michael.albinus@gmx.de>
5685
5686 * net/tramp.el (tramp-restricted-shell-hosts-alist): New defcustom.
5687
5688 * net/tramp-sh.el (tramp-maybe-open-connection): Handle it.
5689
211b896b
GM
56902012-07-06 Glenn Morris <rgm@gnu.org>
5691
50394322
GM
5692 * Makefile.in (compile-one-process): Rename from "recompile".
5693
211b896b
GM
5694 * Makefile.in (bzr-update): "compile" is the same as "recompile
5695 autoloads", but parallelizable, so use that instead.
5696
4737eec9
DG
56972012-07-06 Dmitry Gutov <dgutov@yandex.ru>
5698
5699 * window.el (quit-window): Always restore window height when
8137e7b3 5700 it's saved in quit-restore parameter (Bug#11810).
4737eec9 5701
226c3633 57022012-07-06 Glenn Morris <rgm@gnu.org>
cb442973
GM
5703
5704 * simple.el (kill-whole-line): Doc tweak.
5705
226c3633 57062012-07-06 Eli Zaretskii <eliz@gnu.org>
93842198
EZ
5707
5708 * files.el (file-relative-name): Compare file names
5709 case-insensitively if on MS-Windows or MS-DOS, or if
5710 read-file-name-completion-ignore-case is non-nil. Don't use
5711 case-fold-search for this purpose. (Bug#11827)
5712
4dc7c8d5
SM
57132012-07-17 Andreas Schwab <schwab@linux-m68k.org>
5714
5715 * calendar/cal-dst.el (calendar-current-time-zone):
5716 Return calendar-current-time-zone-cache if non-nil.
5717
57182012-07-17 Masatake YAMATO <yamato@redhat.com>
226c3633 57192012-07-06 Andreas Schwab <schwab@linux-m68k.org>
3d8b9024 5720
19faa8e8
SM
5721 * calendar/cal-dst.el (calendar-current-time-zone):
5722 Return calendar-current-time-zone-cache if non-nil.
3d8b9024 5723
60198fc9
GM
57242012-07-06 Glenn Morris <rgm@gnu.org>
5725
5726 * Makefile.in (cvs-update): Remove old alias.
5727
957b3189
MA
57282012-07-05 Michael Albinus <michael.albinus@gmx.de>
5729
5730 Sync with Tramp 2.2.6-pre.
5731
5732 * net/tramp.el (tramp-drop-volume-letter): Provide an XEmacs
5733 compatible declaration.
5734
19faa8e8
SM
5735 * net/tramp-cmds.el (tramp-append-tramp-buffers):
5736 Protect `list-load-path-shadows' call.
957b3189
MA
5737
5738 * net/tramp-compat.el (top): Require packages, which aren't
5739 autoloaded anymore for XEmacs. Protect call of
5740 `tramp-file-name-handler' by `tramp-compat-funcall', pacifying the
5741 compiler. Do not require tramp-util.el and tramp-vc.el anymore,
5742 it hurts at least for SXEmacs.
5743 (tramp-compat-temporary-file-directory): In XEmacs, there is no
5744 standard-value for `temporary-file-directory'.
5745
5746 * net/tramp-sh.el (tramp-do-directory-files-and-attributes-with-stat):
5747 Redirect stderr to /dev/null.
5748 (tramp-sh-handle-write-region): uid and gid can be floats.
5749 Reported by Russell Sim <russell.sim@gmail.com>.
5750 (tramp-sh-handle-vc-registered): Hide errors.
5751 (tramp-vc-file-name-handler): Use dummy results for `process-file'
5752 and `start-file-process'.
5753 (tramp-maybe-open-connection): Check also whether `non-essential'
5754 is bound.
5755
566df3fc
CY
57562012-07-04 Chong Yidong <cyd@gnu.org>
5757
5758 * xml.el (xml--parse-buffer): Use xml-syntax-table.
5759 (xml-parse-tag): Likewise, and avoid changing entity tables.
5760 (xml-syntax-table): Define from scratch, making sure not to give
5761 x2000 and other Unicode spaces whitespace syntax, since those are
5762 not spaces in XML.
5763 (xml-parse-fragment): Delete unused function.
5764 (xml-name-start-char-re, xml-name-char-re, xml-name-re)
5765 (xml-names-re, xml-nmtoken-re, xml-nmtokens-re, xml-char-ref-re)
5766 (xml-entity-ref, xml-pe-reference-re)
5767 (xml-reference-re,xml-att-value-re, xml-tokenized-type-re)
5768 (xml-notation-type-re, xml-enumeration-re, xml-enumerated-type-re)
5769 (xml-att-type-re, xml-default-decl-re, xml-att-def-re)
5770 (xml-entity-value-re): Use syntax references in regexps where
5771 possible; no need to define inside a let-binding.
5772 (xml-parse-dtd): Use xml-pe-reference-re.
5773 (xml-entity-or-char-ref-re): New defconst.
5774 (xml-parse-string, xml-substitute-special): Use it.
5775
30eabd7a
SM
57762012-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
5777
0781098a
SM
5778 * files.el (locate-dominating-file): Allow `name' to be a predicate.
5779 (find-file--read-only): New function.
5780 (find-file-read-only, find-file-read-only-other-window)
5781 (find-file-read-only-other-frame): Use it.
5782 (insert-file-contents-literally): Don't `fset'.
5783 (get-free-disk-space): Use locate-dominating-file.
5784
b5771c0d
SM
5785 * emacs-lisp/bytecomp.el (byte-compile): Don't signal an error if the
5786 function is already compiled.
5787
30eabd7a
SM
5788 * xml.el (xml-name-regexp): Remove, redundant. Use xml-name-re.
5789
b4886f6e
MA
57902012-07-03 Michael Albinus <michael.albinus@gmx.de>
5791
5792 * vc/ediff-diff.el (ediff-same-file-contents): Fix it for remote
5793 files on the same host.
5794
b9d82339
AS
57952012-07-03 Andreas Schwab <schwab@linux-m68k.org>
5796
5797 * help-fns.el (describe-function-1): Only call
5798 help-fns--autoloaded-p when we have a file name. (Bug#11848)
5799
a76e6535
CY
58002012-07-03 Chong Yidong <cyd@gnu.org>
5801
5802 * xml.el: Protect parser against XML bombs.
5803 (xml-entity-expansion-limit): New variable.
5804 (xml-parse-string, xml-substitute-special): Use it.
5805 (xml-parse-dtd): Avoid infloop if the DTD is not terminated.
5806
b544fef2
GM
58072012-07-03 Glenn Morris <rgm@gnu.org>
5808
5809 * progmodes/bug-reference.el (bug-reference-bug-regexp):
5810 Allow linking to specific messages in debbugs reports (eg 123#5).
5811
a7aef6f5
CY
58122012-07-02 Chong Yidong <cyd@gnu.org>
5813
5814 * xml.el: Fix entity and character reference expansion, allowing
5815 them to expand into markup as per XML spec.
5816 (xml-default-ns): New variable.
5817 (xml-entity-alist): Use XML spec definitions for lt and amp.
30eabd7a
SM
5818 (xml-parse-region): Make first two arguments optional.
5819 Discard text properties.
5820 (xml-parse-tag-1): New function, spun off from xml-parse-tag.
5821 All callers changed.
a7aef6f5
CY
5822 (xml-parse-tag): Call xml-parse-tag-1. For backward
5823 compatibility, this function should not modify buffer contents.
5824 (xml-parse-tag-1): Fix opening-tag regexp.
5825 (xml-parse-string): Rewrite, handling entity and character
5826 references properly.
5827 (xml--entity-replacement-text): Signal an error if a parameter
5828 entity is undefined.
5829
3df31c9f
SM
58302012-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
5831
2b5208f1
SM
5832 * comint.el (comint-output-filter): Filter out repeated prompts.
5833
3df31c9f
SM
5834 * net/ange-ftp.el (ange-ftp-expand-file-name): Use ange-ftp-ftp-name
5835 and file-name-absolute-p.
5836 (ange-ftp-file-exists-p): Use ange-ftp-file-exists-p for
5837 internal calls.
5838
e3ac1281
PE
58392012-07-02 Paul Eggert <eggert@cs.ucla.edu>
5840
5841 Spelling fixes.
5842 * emacs-lisp/bytecomp.el (byte-compile--reify-function):
5843 Rename from byte-compile--refiy-function. All uses changed.
5844
fbf2e7ad
CY
58452012-07-01 Chong Yidong <cyd@gnu.org>
5846
5847 * xml.el (xml--parse-buffer): New function. Move most of
5848 xml-parse-region here.
5849 (xml-parse-region): Copy region into a temporary buffer, since
5850 parameter entity substitution requires changing buffer contents.
5851 Use xml--parse-buffer.
5852 (xml-parse-file): Use xml--parse-buffer.
5853 (xml-parse-dtd): Make parameter entity substitution work right.
6fe566a7 5854 Use proper regexps for ELEMENT declarations (Bug#7172).
fbf2e7ad 5855
9bf0aa15
GM
58562012-06-30 Glenn Morris <rgm@gnu.org>
5857
bbce2853
GM
5858 * comint.el (follow-comint-scroll-to-bottom): Fix declaration.
5859
9bf0aa15
GM
5860 * net/secrets.el, net/tramp-gvfs.el, net/xesam.el, net/zeroconf.el:
5861 Remove outdated and unnecessary dbus declarations.
5862
0d23c240
EZ
58632012-06-30 Eli Zaretskii <eliz@gnu.org>
5864
5865 * emacs-lisp/timer.el (timer-until): Subtract results of
5866 float-time, instead of taking float-time of the result of
5867 time-subtract, since float-time signals an error for negative time
5868 arguments.
5869
b3218de1
CY
58702012-06-30 Chong Yidong <cyd@gnu.org>
5871
5872 * xml.el (xml-*-re): Convert defvars into defconsts, and
5873 eval-and-compile them so eval-and-compile works on derivatives.
5874 (xml--entity-replacement-text): Use eval-and-comple.
5875
a40c87a0
MA
58762012-06-30 Michael Albinus <michael.albinus@gmx.de>
5877
5878 * vc/vc-git.el (vc-git-registered): Use cache property
5879 `git-registered'.
5880 (vc-git-mode-line-string): Call `vc-working-revision' instead of
5881 `vc-git-working-revision' in order to benefit from the cache.
2bb1ae55 5882 (vc-git-root): Use cache property `git-root'. (Bug#11757)
a40c87a0 5883
ac87de97
DG
58842012-06-30 Dmitry Gutov <dgutov@yandex.ru>
5885
5886 * vc/vc-hooks.el (vc-before-save): Clear cache if file has been
2bb1ae55 5887 removed (likely outside Emacs). (Bug#11757)
ac87de97 5888
ac10fe06
SM
58892012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
5890
3df31c9f 5891 * emacs-lisp/cl-lib.el: Require macroexp.
ac10fe06 5892
7f3fbd5d
CY
58932012-06-30 Chong Yidong <cyd@gnu.org>
5894
5895 * xml.el: Implement XML parameter entities.
5896 (xml-parameter-entity-alist): New variable.
5897 (xml-parse-region, xml-parse-fragment): Preserve previous values
5898 of xml-entity-alist and xml-parameter-entity-alist, so that
5899 repeated calls on different documents do not change them.
5900 (xml-parse-tag): Fix doctype regexp.
5901 (xml--entity-replacement-text): New function.
5902 (xml-parse-dtd): Use it. Don't handle system entities; doing that
5903 properly requires url retrieval which is unimplemented.
5904 (xml-escape-string): Doc fix.
5905
3cfbebba
SM
59062012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
5907
5908 * emacs-lisp/cl-lib.el (cl-pushnew): Use macroexp-let2.
5909
2af3565e
DA
59102012-06-29 Dmitry Antipov <dmantipov@yandex.ru>
5911
5912 * fringe.el (fringe-mode): Doc fix.
5913
929df0e7
MA
59142012-06-29 Michael Albinus <michael.albinus@gmx.de>
5915
5916 * net/ange-ftp.el (ange-ftp-get-passwd): Throw if `non-essential'
5917 is non-nil.
5918 (ange-ftp-ignore-errors-if-non-essential): New defmacro.
5919 (ange-ftp-file-name-all-completions): Use it. (Bug#11808)
5920
c8d3a25c 59212012-06-29 Andreas Schwab <schwab@linux-m68k.org>
3d8b9024 5922
c8d3a25c
GM
5923 * calendar/cal-dst.el (calendar-current-time-zone):
5924 Return calendar-current-time-zone-cache if non-nil.
3d8b9024 5925
c8d3a25c 59262012-06-29 Masatake YAMATO <yamato@redhat.com>
26e8548e
MY
5927
5928 * progmodes/which-func.el (which-func-format):
5929 Add mouse-face. (Bug#11698)
5930
c8d3a25c
GM
59312012-06-29 Leo Liu <sdl.web@gmail.com>
5932
5933 * textmodes/enriched.el (enriched-next-annotation): Use eq (Bug#11528).
5934
59352012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
5936
5937 * minibuffer.el (minibuffer-confirm-exit-commands):
5938 Add completion-at-point (bug#11725).
5939
59402012-06-29 Glenn Morris <rgm@gnu.org>
5941
5942 * progmodes/f90.el (f90-font-lock-keywords-2):
5943 Add some preprocessor elements. (Bug#10499)
5944
59452012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
5946
5947 * progmodes/cperl-mode.el (cperl-update-syntaxification):
5948 Use syntax-propertize (bug#11739).
5949
2badeec4
JB
59502012-06-28 Juanma Barranquero <lekktu@gmail.com>
5951
5952 * emacs-lisp/cl-lib.el (cl-pushnew): Don't capture X (bug#11811).
5953
ae4969c2
JD
59542012-06-28 Julien Danjou <julien@danjou.info>
5955
5956 * term.el (term-handle-colors-array): Use a set of new faces to
5957 color the terminal. Also uses :inverse-video property.
5958 (term-default-fg-color): Set to nil by default, deprecate in favor
5959 of `term-face'.
5960 (term-default-bg-color): Set to nil by default, deprecate in favor
5961 of `term-face'.
5962 (term-current-face): Use `term-face' by default.
5963 (term-bold-attribute): Variable deleted.
5964
1c9bd870
GM
59652012-06-28 Glenn Morris <rgm@gnu.org>
5966
5967 * simple.el (completion-list-mode-finish):
5968 Don't use toggle-read-only. (Since completion-list-mode has
5969 a special mode-class, it wasn't doing anything extra anyway.)
5970
c207708c
SM
59712012-06-28 Stefan Monnier <monnier@iro.umontreal.ca>
5972
5973 Make inlining of other-mode interpreted functions work (bug#11799).
5974 * emacs-lisp/bytecomp.el (byte-compile--refiy-function): New fun.
5975 (byte-compile): Use it to fix compilation of lexical-binding closures.
5976 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Compile the
5977 function, if needed.
5978
3fd56834
SM
59792012-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
5980
04901786
SM
5981 * help-mode.el (help-make-xrefs): Don't just withstand
5982 cyclic-variable-indirection but any error in documentation-property.
5983
1ec4b7b2
SM
5984 * loadup.el (purify-flag): Pre-grow the hash-table to reduce the
5985 memory use.
5986 * bindings.el (bindings--define-key): New function.
5987 * vc/vc-hooks.el, replace.el, menu-bar.el, international/mule-cmds.el:
5988 * emacs-lisp/lisp-mode.el, buff-menu.el, bookmark.el:
5989 * bindings.el: Use it to purecopy define-key bindings.
5990
e309e2a5
SM
5991 * textmodes/rst.el (rst-adornment-faces-alist): Avoid copy-list.
5992
d5c6faf9
SM
5993 * emacs-lisp/cl.el (flet): Mark obsolete.
5994 * emacs-lisp/cl-macs.el (cl-flet*): New macro.
5995 * vc/vc-rcs.el (vc-rcs-annotate-command, vc-rcs-parse):
5996 * progmodes/js.el (js-c-fill-paragraph):
5997 * progmodes/ebrowse.el (ebrowse-switch-member-buffer-to-sibling-class)
5998 (ebrowse-switch-member-buffer-to-derived-class):
5999 * play/5x5.el (5x5-solver): Use cl-flet.
6000
6e9590e2
SM
6001 * emacs-lisp/cl.el: Use lexical-binding. Fix flet (bug#11780).
6002 (cl--symbol-function): New macro.
6003 (cl--letf, cl--letf*): Use it.
6004
3fd56834
SM
6005 * emacs-lisp/easy-mmode.el (easy-mmode-pretty-mode-name):
6006 Strip "toggle-" if any.
6007
35ff222c
GM
60082012-06-27 Glenn Morris <rgm@gnu.org>
6009
1ba6038a
GM
6010 * info.el (Info-default-directory-list): Move here from paths.el.
6011 * paths.el: Remove file, which is now empty.
6012 * loadup.el: No longer load "paths".
6013
0ea0e51b
GM
6014 * custom.el (custom-initialize-delay): Doc fix.
6015
35ff222c
GM
6016 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
6017 * eshell/em-cmpl.el, eshell/em-dirs.el, eshell/em-glob.el:
6018 * eshell/em-hist.el, eshell/em-ls.el, eshell/em-pred.el:
6019 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-script.el:
6020 * eshell/em-smart.el, eshell/em-term.el, eshell/em-unix.el:
6021 * eshell/em-xtra.el: Replace eshell-defgroup with "(progn (defgroup".
6022 * eshell/eshell.el (eshell-defgroup): Remove alias.
6023
c89926a5
CY
60242012-06-27 Chong Yidong <cyd@gnu.org>
6025
6026 * help.el (help-enable-auto-load): New variable.
6027
6028 * help-fns.el (help-fns--autoloaded-p): New function.
6029 (describe-function-1): Refer to a function as "autoloaded" if it
6030 was autoloaded at any time in the past. Perform autoloading if
6031 help-enable-auto-load is non-nil.
6032
cc06e7e7
EZ
60332012-06-26 Eli Zaretskii <eliz@gnu.org>
6034
6035 * makefile.w32-in (compile, compile-always): Depend on
6036 update-subdirs, not on subdirs.el. Otherwise, several different
6037 sub-targets of 'bootstrap' running in parallel could
6038 simultaneously write to subdirs.el, producing a garbled file.
6039
d2c32364
SS
60402012-06-26 Sam Steingold <sds@gnu.org>
6041
6042 * files.el (file-name-base): New convenience function.
0d14cc21
GM
6043 * autoinsert.el, cus-dep.el, doc-view.el, image-dired.el:
6044 * woman.el, eshell/esh-cmd.el, progmodes/ada-xref.el:
6045 * progmodes/cc-defs.el, progmodes/cperl-mode.el:
6046 * progmodes/flymake.el, progmodes/gud.el, progmodes/idlwave.el:
6047 * textmodes/ispell.el, textmodes/reftex-ref.el:
d2c32364
SS
6048 * textmodes/tex-mode.el: Use it.
6049 Did not touch cedet and org because they are maintained elsewhere.
6050
5cf983b2
MR
60512012-06-26 Martin Rudalics <rudalics@gmx.at>
6052
6053 * calendar/calendar.el (calendar-exit): Don't try to delete or
6054 iconify last frame. See:
6055 http://lists.gnu.org/archive/html/emacs-devel/2012-06/msg00372.html
6056
8c4f2952
JD
60572012-06-25 Jim Diamond <Jim.Diamond@AcadiaU.ca> (tiny change)
6058
6059 * server.el (server-process-filter): Remember dir in the
6060 process's `server-client-directory' properties.
6061
772b2e2c
CY
60622012-06-24 Chong Yidong <cyd@gnu.org>
6063
6064 * xml.el (xml-parse-tag): Correctly handle comment embedded in
6065 non-tag text.
6066
711b11e1
JB
60672012-06-23 Juanma Barranquero <lekktu@gmail.com>
6068
6069 * makefile.w32-in (COMPILE_FIRST): Synch with changes in 2012-06-22T21:24:54Z!monnier@iro.umontreal.ca.
6070
dc5d230c
SM
60712012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
6072
6073 * help-fns.el (describe-variable): Don't croak when doc is not found.
6074 * vc/pcvs.el (cvs-retrieve-revision): Avoid toggle-read-only.
6075 * menu-bar.el (menu-bar-line-wrapping-menu): Purecopy a tiny bit more.
6076 * emacs-lisp/syntax.el (syntax-ppss): Simplify with new `if' place.
6077 * emacs-lisp/smie.el (smie-next-sexp): CSE.
6078 * emacs-lisp/macroexp.el (macroexp-let2): Fix edebug spec and avoid
6079 ((lambda ..) ..).
6080 * emacs-lisp/eieio.el (eieio-oref, slot-value): Use simpler defsetf.
6081
136e1c1d
CY
60822012-06-23 Chong Yidong <cyd@gnu.org>
6083
e8c1cabf
CY
6084 * info.el (Info-mouse-follow-link): Accept symbol values of
6085 link-args. Select window; suggested by Gerhard Kahl (Bug#11672).
136e1c1d
CY
6086 (Info-fontify-node): Use Info-link-keymap for all navigation
6087 buttons, with link-args property to perform the desired action.
6088 (Info-link-keymap): Doc fix.
6089 (Info-next-link-keymap, Info-prev-link-keymap)
6090 (Info-up-link-keymap): Delete now-unused keymaps.
6091
0e9e6c6a
CY
60922012-06-23 Chong Yidong <cyd@gnu.org>
6093
05e89fea
CY
6094 * mouse.el (mouse-drag-track): Deactivate the mark before popping.
6095
0e9e6c6a
CY
6096 * progmodes/python.el (python-skeleton-define): Mark abbrevs as
6097 system abbrevs.
6098
6099 * ansi-color.el (ansi-color-apply-on-region): Doc fix.
6100
e33c6771
SM
61012012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
6102
b68581e2
SM
6103 * emacs-lisp/cl-macs.el (cl--make-usage-args): Handle improper lists
6104 (bug#11719).
6105
e33c6771
SM
6106 * minibuffer.el (completion--twq-try): Try to fail more gracefully when
6107 the requote function doesn't work properly (bug#11714).
6108
7117e105
GM
61092012-06-23 Glenn Morris <rgm@gnu.org>
6110
6111 * pcmpl-rpm.el (pcmpl-rpm-packages): Give status messages.
6112
36cec983
SM
61132012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
6114
6115 Further GV/CL cleanups.
6116 * emacs-lisp/gv.el (gv-get): Autoload functions to find their
6117 gv-expander.
6118 (gv--defun-declaration): New function.
6119 (defun-declarations-alist): Use it.
6120 (gv-define-modify-macro, gv-pushnew!, gv-inc!, gv-dec!): Remove.
6121 (gv-place): Autoload.
6122 * emacs-lisp/cl.el (cl--dotimes, cl--dolist): Remember subr.el's
6123 original definition of dotimes and dolist.
6124 * emacs-lisp/cl-macs.el (cl-expr-access-order): Remove unused.
6125 (cl-dolist, cl-dotimes): Use `dolist' and `dotimes'.
6126 * emacs-lisp/cl-lib.el: Move gv handlers from cl-macs to here.
6127 (cl-fifth, cl-sixth, cl-seventh, cl-eighth)
6128 (cl-ninth, cl-tenth): Move gv handler to the function's definition.
6129 * emacs-lisp/cl-extra.el (cl-subseq, cl-get, cl-getf): Move gv handler
6130 to the function's definition.
6131 * Makefile.in (COMPILE_FIRST): Re-order to speed it up by about 50%.
6132 * window.el:
6133 * files.el:
6134 * faces.el:
6135 * env.el: Don't use CL.
6136
d35af63c
PE
61372012-06-22 Paul Eggert <eggert@cs.ucla.edu>
6138
6139 Support higher-resolution time stamps (Bug#9000).
6140
6141 * calendar/time-date.el (with-decoded-time-value): New arg
6142 PICO-SYMBOL in VARLIST. It's optional, for backward compatibility.
6143 (encode-time-value): New optional arg PICO. New type 3.
6144 (time-to-seconds) [!float-time]: Support the new picoseconds
6145 component if it's used.
6146 (seconds-to-time, time-subtract, time-add):
6147 Support ps-resolution time stamps as well.
6148
6149 * emacs-lisp/timer.el (timer): New component psecs. All uses changed.
6150 (timerp): Timer vectors now have length 9, not 8.
6151 (timer--time): Support new-style (4-part) time stamps.
6152 (timer-next-integral-multiple-of-time): Time stamps now have
6153 picosecond resolution, so take a bit more care about rounding.
6154 (timer-relative-time, timer-inc-time): New optional arg psecs.
6155 (timer-set-time-with-usecs): Set psecs to 0.
6156 (timer--activate): Check psecs component, too.
6157
6158 * proced.el (proced-time-lessp): Support ps-resolution stamps.
6159
ac77b21a
SM
61602012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
6161
f143bfe3
SM
6162 * icomplete.el (icomplete-minibuffer-setup, icomplete-completions):
6163 Move the non-essential binding to the post/pre-command-hook where it is
6164 more obviously correct.
6165
ac77b21a
SM
6166 * subr.el (read-passwd): Don't use a history at all.
6167 * savehist.el (savehist-save): Remove password saved accidentally
6168 because of the above bug.
6169
76386c5a
BG
61702012-06-22 Bastien Guerry <bzg@gnu.org>
6171
6172 * files.el (toggle-read-only): Display a message telling whether
6173 the buffer is read-only or not (bug#11726).
6174
2ee3d7f0
SM
61752012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
6176
6177 * emacs-lisp/gv.el: New file.
6178 * subr.el (push, pop): Extend to generalized variables.
6179 * loadup.el (macroexp): Unload if preloaded and uncompiled (bug#11657).
6180 * emacs-lisp/cl-lib.el (cl-pop, cl-push, cl--set-nthcdr): Remove.
6181 * emacs-lisp/cl-macs.el: Require gv. Use gv-define-setter,
6182 gv-define-simple-setter, and gv-define-expander.
6183 Remove setf-methods defined in gv. Rename cl-setf -> setf.
6184 (cl-setf, cl-do-pop, cl-get-setf-method): Remove.
6185 (cl-letf, cl-letf*, cl-define-modify-macro, cl-defsetf)
6186 (cl-define-setf-expander, cl-struct-setf-expander): Move to cl.el.
6187 (cl-remf, cl-shiftf, cl-rotatef, cl-callf, cl-callf2): Rewrite with
6188 gv-letplace.
6189 (cl-defstruct): Don't define setf-method any more.
6190 * emacs-lisp/cl.el (flet): Don't autoload.
6191 (cl--letf, letf, cl--letf*, letf*, cl--gv-adapt)
6192 (define-setf-expander, defsetf, define-modify-macro)
6193 (cl-struct-setf-expander): Move from cl-lib.el.
6194 * emacs-lisp/syntax.el:
6195 * emacs-lisp/ewoc.el:
6196 * emacs-lisp/smie.el:
6197 * emacs-lisp/cconv.el:
6198 * emacs-lisp/timer.el: Rename cl-setf -> setf, cl-push -> push.
6199 (timer--time): Use gv-define-simple-setter.
6200 * emacs-lisp/macroexp.el (macroexp-let2): Rename from macroexp-let²
6201 to avoid coding-system problems in subr.el. Adjust all users.
6202 (macroexp--maxsize, macroexp-small-p): New functions.
6203 * emacs-lisp/bytecomp.el (byte-compile-file): Don't use cl-letf.
6204 * scroll-bar.el (scroll-bar-mode):
6205 * simple.el (auto-fill-mode, overwrite-mode, binary-overwrite-mode)
6206 (normal-erase-is-backspace-mode): Don't use the `eq' place.
6207 * winner.el (winner-configuration, winner-make-point-alist)
6208 (winner-set-conf, winner-get-point, winner-set): Don't abuse letf.
6209 * files.el (locate-file-completion-table): Avoid list*.
6210
c5695d1d
CY
62112012-06-22 Chong Yidong <cyd@gnu.org>
6212
6213 * dired-aux.el (dired-do-create-files): Doc fix (Bug#11327).
6214 (dired-create-files): Doc fix (Bug#11329).
6215 (dired-do-copy): Doc fix (Bug#11334).
6216 (dired-mark-read-string): Doc fix (Bug#11553).
6217
2ee3d7f0
SM
6218 * dired.el (dired-recursive-copies, dired-recursive-deletes):
6219 Doc fix (Bug#11326).
c5695d1d
CY
6220 (dired-make-relative): Doc fix (Bug#11332). Remove unused arg.
6221 (dired-dwim-target): Doc fix.
6222
6223 * wdired.el (wdired-mode): Doc fix.
6224
89b5595a
GM
62252012-06-22 Glenn Morris <rgm@gnu.org>
6226
575db3f1
GM
6227 * pcmpl-rpm.el (pcmpl-rpm-cache): New option.
6228 (pcmpl-rpm-cache-stamp-file): New constant.
6229 (pcmpl-rpm-cache-time, pcmpl-rpm-packages): New variables.
6230 (pcmpl-rpm-packages): Optionally cache list of packages.
6231
a4c8dd51
GM
6232 * pcmpl-rpm.el (pcmpl-rpm): New group.
6233 (pcmpl-rpm-query-options): New option.
6234 (pcmpl-rpm-packages): No need to inline it.
6235 Use pcmpl-rpm-query-options.
6236
89b5595a
GM
6237 * calendar/calendar.el (calendar-in-read-only-buffer):
6238 Avoid some needless mode changes.
6239
e76f0800
CY
62402012-06-21 Chong Yidong <cyd@gnu.org>
6241
6242 * desktop.el (desktop-read): Don't prompt if daemon (Bug#11674).
6243 (desktop-path): Remove . from the default value (Bug#10977).
6b67c0d4 6244 (desktop-read): Use user-emacs-directory if desktop-path is nil.
e76f0800 6245
297a8f1d
CY
62462012-06-20 Chong Yidong <cyd@gnu.org>
6247
6248 * term.el (term-send-raw-meta): Make C-M-<char> keys work (Bug#8172).
6249
d34c18b1
DR
62502012-06-20 David Röthlisberger <david@rothlis.net> (tiny change)
6251
6252 * ido.el (ido-switch-buffer, ido-find-file): Fix up doc of C-j
6253 (bug#11201).
6254
32f7f28e
CY
62552012-06-20 Chong Yidong <cyd@gnu.org>
6256
6257 * term.el (term-window-width): Handle the case of a missing right
6258 fringe (Bug#8837).
6259 (term-check-size): Use window-text-height (Bug#5445).
d34c18b1
DR
6260 (term-mode): Use define-derived-mode. Minor cleanups.
6261 Set font-lock-defaults (Bug#7692).
6ff7caa8
CY
6262 (term-move-columns, term-insert-char, term-emulate-terminal)
6263 (term-erase-in-line, term-insert-spaces): Use font-lock-face.
32f7f28e 6264
493c6688
MA
62652012-06-20 Michael Albinus <michael.albinus@gmx.de>
6266
d34c18b1
DR
6267 * net/ange-ftp.el (ange-ftp-get-passwd):
6268 Bind `enable-recursive-minibuffers'.
493c6688
MA
6269 (ange-ftp-get-process): Throw if `non-essential' is non-nil.
6270
3f06ecf4
DR
62712012-06-19 David Röthlisberger <david@rothlis.net> (tiny change)
6272
6273 * ido.el (ido-find-file): Mention C-d binding in docstring (bug#11244).
6274
68f12411
GM
62752012-06-19 Glenn Morris <rgm@gnu.org>
6276
6277 * progmodes/python.el (python-mode): Derive from prog-mode.
6278
b3820318
KG
62792012-06-19 Kevin Gallagher <Kevin.Gallagher@boeing.com>
6280
6281 * emulation/edt.el (edt-default-menu-bar-update-buffers)
6282 (edt-user-menu-bar-update-buffers): New functions.
6283 (edt-default-emulation-setup, edt-user-emulation-setup): Use them.
6284
c6bf3022
CY
62852012-06-19 Chong Yidong <cyd@gnu.org>
6286
6287 * subr.el (with-selected-window): Preserve the selected window's
6288 terminal's top-frame (Bug#4702).
6289
6290 * window.el (save-selected-window): Likewise.
6291
25f09295
SM
62922012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
6293
6294 * progmodes/python.el (python-rx-constituents): Move backquote.
6295 (python-skeleton-define, python-define-auxiliary-skeleton):
6296 Use `declare'.
6297
6b11952a
MA
62982012-06-18 Michael Albinus <michael.albinus@gmx.de>
6299
6300 * minibuffer.el (read-file-name-default): Revert the patch from
6301 2012-06-17.
6302
ee4b1330
SM
63032012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
6304
6305 * emacs-lisp/pcase.el (pcase--expand): Warn for unused pattern.
6306 (pcase--u1, pcase--q1): Don't use apply-partially.
6307
35647f79
GM
63082012-06-18 Glenn Morris <rgm@gnu.org>
6309
6310 * progmodes/python.el (python-proc, python-buffer)
6311 (python-send-receive, python-send-string): Fix obsolete versions.
6312
24b0cff0
MR
63132012-06-18 Martin Rudalics <rudalics@gmx.at>
6314
6315 * window.el (special-display-p): Completely remove stringp
6316 check. Suggested by Andreas Schwab <schwab@linux-m68k.org>.
6317
29855149
MA
63182012-06-17 Michael Albinus <michael.albinus@gmx.de>
6319
6320 * minibuffer.el (read-file-name-default): Bind `non-essential' to `t'.
6321
6322 * net/tramp.el (tramp-file-name-handler): Catch 'non-essential.
6323
6324 * net/ange-ftp.el (ange-ftp-gwp-start, ange-ftp-start-process):
6325 * net/tramp-sh.el (tramp-maybe-open-connection):
6326 Throw if `non-essential' is non-nil.
6327
07463363
MR
63282012-06-17 Martin Rudalics <rudalics@gmx.at>
6329
6330 * window.el (special-display-p): Signal an error if BUFFER-NAME
6331 is not a string (Bug#11713).
6332
48d1354e
PE
63332012-06-17 Paul Eggert <eggert@cs.ucla.edu>
6334
6335 * progmodes/python.el (python-info-beginning-of-backslash):
6336 Rename from python-info-beginning-of-backlash, as a spelling fix.
6337
eb4a8a9a
CY
63382012-06-17 Chong Yidong <cyd@gnu.org>
6339
6340 * term.el (term-emulate-terminal): If term-check-size is called,
6341 move point to the process mark without resetting point (Bug#4635).
6342
ddfbf826 63432012-06-17 Glenn Morris <rgm@gnu.org>
9c758578
GM
6344
6345 * international/mule-cmds.el (mule-menu-keymap)
6346 (set-language-environment, set-locale-environment): Doc tweaks.
6347
9b0e3eba
AA
63482012-06-16 Aurelien Aptel <aurelien.aptel@gmail.com>
6349
6350 * cus-face.el (custom-face-attributes): Add wave-style underline
6351 attribute.
6352 * faces.el (set-face-attribute): Update docstring to describe
6353 wave-style underline attribute.
6354
771e3eae
CY
63552012-06-16 Chong Yidong <cyd@gnu.org>
6356
6357 * term/xterm.el (terminal-init-xterm): Discard input before
6358 querying background mode (Bug#10959).
6359
7ae2ea10
SM
63602012-06-16 Stefan Merten <smerten@oekonux.de>
6361
6362 * textmodes/rst.el: Added and corrected some comments.
6363 (rst-re-alist-def): Improve symbol syntax.
6364 (rst-mode-syntax-table): Correct syntax entries.
6665a6fd
SM
6365 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
6366 (rst-official-version, rst-official-cvs-rev): Update version
6367 information.
7ae2ea10 6368
b6974efa
JB
63692012-06-15 Juanma Barranquero <lekktu@gmail.com>
6370
6371 * makefile.w32-in (COMPILE_FIRST): Synch with makefile.in changes
6372 in 2008-06-22T13:57:28Z!monnier@iro.umontreal.ca.
6373
8826d473
GM
63742012-06-15 Fabián Ezequiel Gallina <fgallina@cuca>
6375
6376 * progmodes/python.el: New python.el merge.
6377 (python-guess-indent): Obsolete var.
6378 (python-indent-guess-indent-offset): New defcustom.
6379 (python-indent): Obsolete var.
6380 (python-indent-offset): New defcustom.
6381 (python-python-command, python-jython-command): Delete var.
6382 (python-shell-interpreter): New defcustom.
6383 (python-pdbtrack-do-tracking-p): Delete var.
6384 (python-pdbtrack-activate): New defcustom.
6385 (python-use-skeletons): Obsolete var.
6386 (python-skeleton-autoinsert): New defcustom.
6387 (inferior-python-filter-regexp, python-continuation-offset)
6388 (python-honour-comment-indentation, python-indent-string-contents)
6389 (python-jython-packages, python-mode-hook)
6390 (python-pdbtrack-minor-mode-string, python-remove-cwd-from-path)
6391 (python-shell-prompt-alist)
6392 (python-source-modes): Delete defcustoms.
6393 (python-check-buffer-name, python-eldoc-setup-code)
6394 (python-eldoc-string-code, python-ffap-setup-code)
6395 (python-ffap-string-code, python-fill-comment-function)
6396 (python-fill-decorator-function, python-fill-paren-function)
6397 (python-fill-string-function, python-imenu-include-defun-type)
6398 (python-imenu-make-tree, python-imenu-subtree-root-label)
6399 (python-pdbtrack-stacktrace-info-regexp, python-shell-buffer-name)
6400 (python-shell-compilation-regexp-alist)
6401 (python-shell-completion-module-string-code)
6402 (python-shell-completion-pdb-string-code)
6403 (python-shell-completion-setup-code)
6404 (python-shell-completion-string-code)
6405 (python-shell-enable-font-lock, python-shell-exec-path)
6406 (python-shell-extra-pythonpaths)
6407 (python-shell-internal-buffer-name, python-shell-interpreter-args)
6408 (python-shell-process-environment)
6409 (python-shell-prompt-block-regexp)
6410 (python-shell-prompt-output-regexp)
6411 (python-shell-prompt-pdb-regexp, python-shell-prompt-regexp)
6412 (python-shell-send-setup-max-wait, python-shell-setup-codes)
6413 (python-shell-virtualenv-path): New defcustoms.
6414 (brm-menu, eldoc-documentation-function, inferior-python-mode-map)
6415 (inferior-python-mode-syntax-table, python--prompt-regexp)
6416 (python-buffer, python-command python-python-command)
6417 (python-default-template, python-imports, python-indent-index)
6418 (python-indent-list, python-indent-list-length)
6419 (python-mode-running, python-pdbtrack-is-tracking-p)
6420 (python-preoutput-continuation, python-preoutput-leftover)
6421 (python-preoutput-result, python-preoutput-skip-next-prompt)
6422 (python-prev-dir/file, python-recursing)
6423 (python-saved-check-command, python-version-checked)
6424 (python-which-func-length-limit)
6425 (view-return-to-alist): Delete vars.
6426 (python-check-custom-command, python-dotty-syntax-table)
6427 (python-imenu-index-alist, python-indent-current-level)
6428 (python-indent-dedenters, python-indent-levels)
6429 (python-nav-beginning-of-defun-regexp)
6430 (python-nav-list-defun-positions-cache)
6431 (python-pdbtrack-buffers-to-kill, python-pdbtrack-tracked-buffer)
6432 (python-shell-internal-buffer)
6433 (python-skeleton-available): New vars.
6434 (def-python-skeleton): Delete macro.
6435 (python-skeleton-define): New macro.
6436 (python-define-auxiliary-skeleton, python-rx): New macros.
6437 (python-insert-class): Delete command.
6438 (python-skeleton-class): New command.
6439 (python-insert-def): Delete command.
6440 (python-skeleton-def): New command.
6441 (python-insert-for): Delete command.
6442 (python-skeleton-for): New command.
6443 (python-insert-if): Delete command.
6444 (python-skeleton-if): New command.
6445 (python-insert-try/except, python-insert-try/finally): Delete commands.
6446 (python-skeleton-try): New command.
6447 (python-insert-while): Delete command.
6448 (python-skeleton-while): New command.
6449 (python-backspace): Delete command.
6450 (python-indent-dedent-line-backspace): New command.
6451 (python-electric-colon): Delete command.
6452 (python-indent-electric-colon): New command.
6453 (python-guess-indent): Delete command.
6454 (python-indent-guess-indent-offset): New command.
6455 (python-shift-left): Delete command.
6456 (python-indent-shift-left): New command.
6457 (python-shift-right): Delete command.
6458 (python-indent-shift-right): New command.
6459 (python-find-function): Delete command.
6460 (python-nav-jump-to-defun): New command.
6461 (python-next-statement): Delete command.
6462 (python-nav-forward-sentence): New command.
6463 (python-previous-statement): Delete command.
6464 (python-nav-backward-sentence): New command.
6465 (python-fill-paragraph): Delete command.
6466 (python-fill-paragraph-function): New command.
6467 (python-send-buffer): Delete command.
6468 (python-shell-send-buffer): New command.
6469 (python-send-defun): Delete command.
6470 (python-shell-send-defun): New command.
6471 (python-send-region, python-send-region-and-go): Delete commands.
6472 (python-shell-send-region)
6473 (python-shell-switch-to-shell): New commands.
6474 (python-send-string): Delete command.
6475 (python-shell-send-string): New command.
6476 (python-switch-to-python): Delete command.
6477 (python-shell-switch-to-shell): New command.
6478 (python-describe-symbol): Delete command.
6479 (python-eldoc-at-point): New command.
6480 (python--set-prompt-regexp, python-args-to-list)
6481 (python-after-info-look, python-check-version)
6482 (python-check-comint-prompt, python-find-imports)
6483 (python-execute-file, turn-off-pdbtrack, turn-on-pdbtrack)
6484 (python-unload-function, python-expand-template)
6485 (python-maybe-jython, python-preoutput-filter)
6486 (python-pdbtrack-get-source-buffer)
6487 (python-pdbtrack-grub-for-buffer, python-pdbtrack-overlay-arrow)
6488 (python-pdbtrack-toggle-stack-tracking)
6489 (python-pdbtrack-track-stack-file, python-initial-text)
6490 (python-first-word, python-comment-line-p, python-send-command)
6491 (python-setup-brm, python-sentinel, python-set-proc)
6492 (python-skip-out, python-input-filter, python-outdent-p)
6493 (python-outline-level, python-backslash-continuation-line-p)
6494 (python-end-of-block, python-end-of-statement, python-mark-block)
6495 (python-beginning-of-block, python-beginning-of-statement)
6496 (python-blank-line-p, python-beginning-of-string)
6497 (python-open-block-statement-p): Delete functions.
6498 (python-indent-line, python-indent-line-1): Delete functions.
6499 (python-indent-line): New function.
6500 (python-indentation-levels): Delete function.
6501 (python-indent-calculate-levels): New function.
6502 (python-proc): Delete function.
6503 (python-shell-get-process): New function.
6504 (python-send-receive): Delete function.
6505 (python-shell-send-string-no-output): New function.
6506 (python-module-path): Delete function.
6507 (python-ffap-module-path): New function.
6508 (python-completion-at-point)
6509 (python-symbol-completions): Delete functions.
6510 (python-completion-complete-at-point): New function.
6511 (python-load-file): Delete function.
6512 (python-shell-send-file): New function.
6513 (python-calculate-indentation): Delete function.
6514 (python-indent-calculate-indentation): New function.
6515 (python-skip-comments/blanks): Delete function.
6516 (python-util-forward-comment): New function.
6517 (python-continuation-line-p): Delete function.
6518 (python-info-continuation-line-p): New function.
6519 (python-which-func, python-current-defun): Delete function.
6520 (python-info-current-defun): New function.
6521 (python-beginning-of-defun): Delete function.
6522 (python-nav-beginning-of-defun): New function.
6523 (python-close-block-statement-p)
6524 (python-block-end-p): Delete function.
6525 (python-info-closing-block): New function.
6526 (python-comint-output-filter-function)
6527 (python-eldoc--get-doc-at-point, python-end-of-defun-function)
6528 (python-fill-comment, python-fill-decorator, python-fill-paren)
6529 (python-fill-string, python-imenu-make-element-tree)
6530 (python-imenu-make-tree, python-imenu-tree-assoc)
6531 (python-indent-context, python-indent-dedent-line)
6532 (python-indent-line-function)
6533 (python-indent-post-self-insert-function)
6534 (python-indent-toggle-levels)
6535 (python-info-assignment-continuation-line-p)
6536 (python-info-beginning-of-backlash)
6537 (python-info-block-continuation-line-p)
6538 (python-info-closing-block-message)
6539 (python-info-line-ends-backslash-p)
6540 (python-info-looking-at-beginning-of-defun)
6541 (python-info-ppss-context, python-info-ppss-context-type)
6542 (python-nav-list-defun-positions, python-nav-read-defun)
6543 (python-nav-sentence-end, python-nav-sentence-start)
6544 (python-pdbtrack-comint-output-filter-function)
6545 (python-pdbtrack-set-tracked-buffer)
6546 (python-shell-calculate-exec-path)
6547 (python-shell-calculate-process-environment)
6548 (python-shell-completion--do-completion-at-point)
6549 (python-shell-completion--get-completions)
6550 (python-shell-completion-complete-at-point)
6551 (python-shell-completion-complete-or-indent)
6552 (python-shell-get-or-create-process)
6553 (python-shell-get-process-name)
6554 (python-shell-internal-get-or-create-process)
6555 (python-shell-internal-get-process-name)
6556 (python-shell-internal-send-string, python-shell-make-comint)
6557 (python-shell-parse-command, python-shell-send-setup-code)
6558 (python-skeleton-add-menu-items)
6559 (python-util-clone-local-variables, python-util-position)
6560 (run-python-internal, python-indentation-levels)
6561 (python-nav-beginning-of-defun)
6562 (python-completion-complete-at-point): New functions.
6563 (run-python): Change arguments. New API requirements.
6564
4302f5ba
SM
65652012-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
6566
f38ea36d
SM
6567 * emacs-lisp/cl-lib.el (cl--defsubst-expand): Autoload inliner
6568 (bug#11649).
6569
6570 * emacs-lisp/macroexp.el (macroexp--compiler-macro): New function.
6571 (macroexp--expand-all): Use it.
6572
4302f5ba
SM
6573 * emacs-lisp/cl-macs.el (cl--transform-function-property): Remove.
6574 (cl-define-setf-expander, cl-deftype, cl-define-compiler-macro):
6575 Use `cl-function' instead.
6576
33377562
JB
65772012-06-14 Juanma Barranquero <lekktu@gmail.com>
6578
6579 * makefile.w32-in (COMPILE_FIRST): Remove subr.el.
6580 Suggested by Stefan Monnier while discussing bug#11657.
6581
54c5ba1a
SS
65822012-06-14 Sam Steingold <sds@gnu.org>
6583
6584 * files.el (abort-if-file-too-large): Use `file-size-human-readable'.
6585
f9f1b1fe
AS
65862012-06-14 Andreas Schwab <schwab@linux-m68k.org>
6587
6588 * play/doctor.el (doctor-doc): Remove parameter and use
6589 doctor-sent instead of sent.
6590 (doctor-read-print): Use doctor-sent instead of sent. (Bug#11708)
6591
a81068ba
SM
65922012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
6593
5a315f9c
SM
6594 * files.el: Require cl-lib.
6595 (file-name-non-special): Replace case -> cl-case.
6596
6597 * emacs-lisp/cl-macs.el (cl-defstruct): Don't add print-func.
6598
a81068ba
SM
6599 * emacs-lisp/edebug.el (edebug-read-function): Remove old incorrect
6600 mapping from #' to function*.
6601
8cca9703
CY
66022012-06-13 Chong Yidong <cyd@gnu.org>
6603
6604 * mouse.el (mouse-drag-track): Do not set the mark if the user
6605 releases the mouse without selecting anything (Bug#11588).
6606
a12ac9d7
SM
66072012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
6608
ccf1dc18
SM
6609 * textmodes/tex-mode.el (latex-indent): Recognize tex-verbatim at EOB
6610 as well (bug#11646).
6611
ef62b23d
SM
6612 * loadup.el: Count byte-code functions as well.
6613
c4c8444a
SM
6614 * emacs-lisp/byte-opt.el (featurep): Move compiler-macro...
6615 * emacs-lisp/bytecomp.el (featurep): ...here (bug#11692).
6616
a12ac9d7
SM
6617 * emacs-lisp/autoload.el (make-autoload): Accept nil doc-string-elt
6618 (bug#11649). Add cl-defun and cl-defmacro.
6619
87e6e64f
DA
66202012-06-13 Drew Adams <drew.adams@oracle.com>
6621
6622 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
6623 Fix last change.
6624
682cefaf
MA
66252012-06-13 Michael Albinus <michael.albinus@gmx.de>
6626
6627 * net/dbus.el (dbus-call-method): Use timeout for `read-event'.
6628 Otherwise, it blocks in batch mode.
6629
773e1f08
JB
66302012-06-13 Juanma Barranquero <lekktu@gmail.com>
6631
6632 * help-mode.el (bookmark-make-record-default): Declare.
6633
60057926
CY
66342012-06-13 Chong Yidong <cyd@gnu.org>
6635
6636 * emacs-lisp/package.el (list-packages): Compute a list of
6637 packages that are newly-available since the last list-packages
6638 invocation.
6639 (package-menu--new-package-list): New var.
6640 (package-menu--generate, package-menu--print-info)
6641 (package-menu--status-predicate, package-menu-mark-install):
6642 Handle new status label "new".
6643
ad4d226c
SM
66442012-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
6645
6646 * emacs-lisp/cl-macs.el (cl-remf): Fix error in recent
6647 conversion to backquotes.
6648
f1a4e679
CY
66492012-06-12 Chong Yidong <cyd@gnu.org>
6650
6651 * emacs-lisp/edebug.el (edebug-inhibit-emacs-lisp-mode-bindings):
6652 Rename from gud-inhibit-global-bindings.
6653
6654 * emacs-lisp/eieio.el (eieio-pre-method-execution-hooks): Doc fix.
6655
6656 * nxml/nxml-glyph.el (nxml-glyph-set-functions): Rename abnormal
6657 hook from nxml-glyph-set-hook.
6658
6659 * progmodes/cwarn.el (cwarn-mode): Remove redundant variable
6660 declaration.
6661
6662 * progmodes/pascal.el (pascal-toggle-completions): Doc fix.
6663
6664 * textmodes/bibtex.el (bibtex-string-file-path, bibtex-file-path):
6665 Convert to defcustom.
6666
0c9e42b5
DA
66672012-06-12 Drew Adams <drew.adams@oracle.com>
6668
6669 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
6670 New functions.
6671 (help-mode): Use them.
6672
09e06855
GM
66732012-06-11 Glenn Morris <rgm@gnu.org>
6674
6675 * progmodes/fortran.el (fortran-font-lock-keywords-3):
6676 Use preprocessor face for directives.
6677 (fortran-directive-re): Doc fix.
6678
71adb94b
SM
66792012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
6680
2eb87922
SM
6681 * emacs-lisp/cl-macs.el (cl-parse-loop-clause): Fix error in recent
6682 conversion to backquotes (bug#11652).
6683
71adb94b
SM
6684 Fix compiler-expansion of CL's cXXr functions (bug#11673).
6685 * emacs-lisp/cl-lib.el (cl--defalias): New function.
6686 (cl-values, cl-values-list, cl-copy-seq, cl-svref, cl-first)
6687 (cl-second, cl-rest, cl-endp, cl-third, cl-fourth): Use it.
6688 (cl-plusp, cl-minusp, cl-fifth, cl-sixth, cl-seventh, cl-eighth)
6689 (cl-ninth, cl-tenth): Mark them as inlinable.
6690 (cl-caaar, cl-caadr, cl-cadar, cl-caddr, cl-cdaar, cl-cdadr)
6691 (cl-cddar, cl-cdddr, cl-caaaar, cl-caaadr, cl-caadar, cl-caaddr)
6692 (cl-cadaar, cl-cadadr, cl-caddar, cl-cadddr, cl-cdaaar, cl-cdaadr)
6693 (cl-cdadar, cl-cdaddr, cl-cddaar, cl-cddadr, cl-cdddar, cl-cddddr):
6694 Add a compiler-macro declaration to use cl--compiler-macro-cXXr.
6695 (cl-list*, cl-adjoin): Don't put an autoload manually.
6696 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin)
6697 (cl--compiler-macro-list*): Add autoload cookie.
6698 (cl--compiler-macro-cXXr): New function.
2eb87922 6699
71adb94b
SM
6700 * help-fns.el (help-fns--compiler-macro): New function extracted from
6701 describe-function-1; follow aliases and use `compiler-macro' property.
6702 (describe-function-1): Use it.
6703
a6674402
CY
67042012-06-11 Chong Yidong <cyd@gnu.org>
6705
6706 * startup.el (fancy-splash-head): Use splash.svg even if librsvg
6707 is uninstalled, if imagemagick is installed.
6708
bb3faf5b
SM
67092012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
6710
6711 * emacs-lisp/cl-lib.el: Use lexical-binding.
6712 (cl-map-extents, cl-maclisp-member): Remove.
6713 (cl--set-elt, cl--set-nthcdr, cl--set-buffer-substring)
6714 (cl--set-substring, cl--block-wrapper, cl--block-throw)
6715 (cl--compiling-file, cl--mapcar-many, cl--do-subst): Use "cl--" prefix.
6716 * emacs-lisp/cl-extra.el: Use lexical-binding.
6717 (cl--mapcar-many, cl--map-keymap-recursively, cl--map-intervals)
6718 (cl--map-overlays, cl--set-frame-visible-p, cl--progv-save)
6719 (cl--progv-before, cl--progv-after, cl--finite-do, cl--set-getf)
6720 (cl--do-remf, cl--do-prettyprint): Use "cl--" prefix.
6721 * emacs-lisp/cl-seq.el: Use lexical-binding.
6722 (cl--parsing-keywords, cl--check-key, cl--check-test-nokey)
6723 (cl--check-test, cl--check-match): Use "cl--" prefix and backquotes.
6724 (cl--alist, cl--sublis-rec, cl--nsublis-rec, cl--tree-equal-rec):
6725 * emacs-lisp/cl-macs.el (cl--lambda-list-keywords): Use "cl--" prefix.
6726 * edmacro.el (edmacro-mismatch): Simplify to remove dependence on
6727 CL's internals.
6728
2fe4b125
MA
67292012-06-11 Michael Albinus <michael.albinus@gmx.de>
6730
6731 Sync with Tramp 2.2.6-pre.
6732
6733 * net/tramp-cache.el (tramp-dump-connection-properties): Let-bind
6734 `print-length' and `print-level' to nil, in order to avoid
6735 truncation. Reported by Christopher Schmidt
6736 <christopher@ristopher.com>.
6737
6738 * net/tramp-cmds.el (tramp-cleanup-connection): Delete also process.
6739
6740 * net/tramp-compat.el (tramp-compat-condition-case-unless-debug):
6741 New defmacro.
6742 (tramp-compat-copy-directory): Add optional argument
6743 COPY-CONTENTS. It is not handled yet.
6744
6745 * net/tramp-ftp.el (tramp-disable-ange-ftp): Fix docstring.
6746 (tramp-ftp-file-name-p): Simplify.
6747
6748 * net/tramp-gvfs.el (tramp-gvfs-handle-expand-file-name):
6749 * net/tramp-gw.el (tramp-gw-open-connection): Add hop to
6750 connection vector.
6751
6752 * net/tramp-sh.el (tramp-copy-size-limit): Fix docstring.
6753 (tramp-methods): Do not use `tramp-password-end-of-line'.
6754 (tramp-completion-function-alist-putty): Handle UNIX case.
6755 (tramp-remote-path): Add "/opt/bin", "/opt/sbin" and "/opt/local/bin".
6756 (tramp-do-file-attributes-with-stat)
6757 (tramp-do-directory-files-and-attributes-with-stat) Return uid and
6758 gid as real numbers. They could run out of integer range on cygwin.
6759 (tramp-do-copy-or-rename-file-out-of-band): Better trace format.
6760 (tramp-sh-handle-expand-file-name): Handle hops.
87e6e64f
DA
6761 (tramp-open-connection-setup-interactive-shell):
6762 Use `tramp-cleanup'. Move check for busyboxes ...
6763 (tramp-find-shell): ... here. Simplify implementation.
6764 Set "remote-shell" property also for alternative shells.
6765 (tramp-remote-coding-commands): Check "test -c /dev/stdout".
6766 If failing, a regular file would be written otherwise.
6767 Reported by Dmitry Kurochkin <dmitry.kurochkin@gmail.com>.
2fe4b125
MA
6768 (tramp-find-inline-encoding): Cache the coding commands in the
6769 process cache. Apply test command on the remote side, if defined.
6770 (tramp-find-inline-compress): Cache the compress commands in the
6771 process cache.
6772 (tramp-compute-multi-hops): Save `tramp-default-proxies-alist'
6773 when requested. Handle hops.
6774 (tramp-current-connection): New defvar.
87e6e64f
DA
6775 (tramp-maybe-open-connection): Use `tramp-cleanup'.
6776 Throw `suppress', if there was a failed connection shortly before.
2fe4b125 6777 Handle user interrupt. (Bug#10187)
87e6e64f
DA
6778 (tramp-get-inline-compress, tramp-get-inline-coding):
6779 Read connection properties from the process cache.
2fe4b125
MA
6780
6781 * net/tramp-smb.el (tramp-smb-server-version)
87e6e64f
DA
6782 (tramp-smb-wrong-passwd-regexp, tramp-smb-actions-with-tar):
6783 New defconsts.
2fe4b125
MA
6784 (tramp-smb-prompt): Extend for powershell prompt.
6785 (tramp-smb-file-name-handler-alist): Add handlers for
6786 `process-file', `shell-command' and `start-file-process'.
6787 (tramp-smb-winexe-program, tramp-smb-winexe-shell-command)
6788 (tramp-smb-winexe-shell-command-switch): New defcustoms.
6789 (tramp-smb-file-name-p): Simplify.
6790 (tramp-smb-action-with-tar, tramp-smb-handle-process-file)
6791 (tramp-smb-kill-winexe-function, tramp-smb-call-winexe)
6792 (tramp-smb-shell-quote-argument): New defuns.
6793 (tramp-smb-handle-copy-directory): Add COPY-CONTENTS argument.
6794 Implement using "tar". By this, time-stamps are preserved.
6795 (tramp-smb-handle-copy-file): Handle also the case of directories.
6796 (tramp-smb-do-file-attributes-with-stat)
87e6e64f
DA
6797 (tramp-smb-get-file-entries, tramp-smb-get-cifs-capabilities):
6798 Use `tramp-get-connection-buffer').
2fe4b125
MA
6799 (tramp-smb-handle-rename-file): Use "rename", when source and
6800 target are on the same share.
87e6e64f
DA
6801 (tramp-smb-maybe-open-connection): Handle wrong passwords.
6802 Use `tramp-smb-server-version'.
2fe4b125
MA
6803 (tramp-smb-wait-for-output): Remove prompt.
6804
6805 * net/tramp.el (top): Require 'cl.
87e6e64f
DA
6806 (tramp-methods, tramp-rsh-end-of-line):
6807 Remove `tramp-password-end-of-line' from docstring.
2fe4b125
MA
6808 (tramp-save-ad-hoc-proxies): New defcustom.
6809 (tramp-completion-function-alist): Adapt docstring.
6810 (tramp-default-password-end-of-line): Remove defcustom.
6811 (tramp-shell-prompt-pattern): Allow "[]" style prompts. (Bug#11065)
6812 (tramp-user-regexp, tramp-file-name-regexp-unified)
6813 (tramp-file-name-regexp-url): Extend regexp by hop separator.
6814 (tramp-postfix-hop-format, tramp-postfix-hop-regexp)
6815 (tramp-remote-file-name-spec-regexp): New defconst.
6816 (tramp-file-name-structure): Extend structure for hops.
6817 (tramp-get-method-parameter): Move up.
6818 (tramp-file-name-p, tramp-dissect-file-name)
6819 (with-parsed-tramp-file-name): Handle hops.
6820 (tramp-file-name-hop): New defun.
6821 (tramp-make-tramp-file-name): New optional arg HOP.
6822 (tramp-message-show-progress-reporter-message): New defvar.
6823 (tramp-with-progress-reporter): Use it. We cannot use
6824 `tramp-message-show-message' here, because this suppresses also
6825 error buffers.
6826 (tramp-error-with-buffer): Suppress buffer view, if
87e6e64f
DA
6827 `tramp-message-show-message' is nil.
6828 Use `tramp-get-connection-buffer'.
2fe4b125
MA
6829 (tramp-cleanup): New defun.
6830 (tramp-rfn-eshadow-update-overlay): Let-bind `non-essential' to `t'.
6831 (tramp-file-name-handler): If `debug-on-error' is set, propagate
6832 an error unchanged.
6833 (tramp-completion-handle-file-name-all-completions): Handle hops.
6834 Fix an error when called from ido.
6835 (tramp-completion-dissect-file-name): Use better local variable
6836 name. Add hop to the vector.
6837 (tramp-handle-insert-file-contents): Use progress-reporter for the
6838 whole scenario.
6839 (tramp-action-password): Let-bind `enable-recursive-minibuffers'
6840 to `t'.
6841 (tramp-check-for-regexp): Simplify search.
6842 (tramp-enter-password): Remove it. Move implementation ...
6843 (tramp-action-password): ... here.
6844 (tramp-mode-string-to-int, tramp-local-host-p)
6845 (tramp-make-tramp-temp-file, tramp-read-passwd)
87e6e64f
DA
6846 (tramp-clear-passwd, tramp-time-less-p, tramp-time-diff):
6847 Set tramp-autoload cookie.
2fe4b125
MA
6848
6849 * net/trampver.el: Update release number.
6850
68512012-06-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
6852 Michael Albinus <michael.albinus@gmx.de>
6853
6854 * net/tramp.el (tramp-set-completion-function): Fix docstring.
6855 (tramp-parse-group, tramp-parse-file)
6856 (tramp-parse-shostkeys-sknownhosts): New defuns.
6857 (tramp-parse-rhosts, tramp-parse-rhosts-group, tramp-parse-shosts)
6858 (tramp-parse-shosts-group, tramp-parse-sconfig)
6859 (tramp-parse-sconfig-group, tramp-parse-shostkeys)
6860 (tramp-parse-sknownhosts, tramp-parse-hosts)
6861 (tramp-parse-hosts-group, tramp-parse-passwd, tramp-parse-netrc):
6862 Use them.
6863 (tramp-parse-passwd-group, tramp-parse-netrc-group)
6864 (tramp-parse-putty-group): Don't narrow.
6865 (tramp-parse-putty): Make a loop.
6866 (tramp-file-name-handler): Catch the `suppress' signal.
6867
72834e10
CY
68682012-06-11 Chong Yidong <cyd@gnu.org>
6869
6870 * image.el (imagemagick-register-types): Put the ImageMagick entry
6871 at the end of image-type-file-name-regexps.
6872
a4712e11
JB
68732012-06-11 Johan Bockgård <bojohan@gnu.org>
6874
6875 * emacs-lisp/pcase.el (pcase-UPAT, pcase-QPAT): New edebug specs.
6876 (pcase, pcase-let*, pcase-dolist): Use them.
6877
82ad98e3
SM
68782012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
6879
6880 * emacs-lisp/pcase.el (pcase--let*): New function.
6881 (pcase-let*): Use it. Use pcase--memoize to avoid repeated expansions.
6882 (pcase--expand): Use macroexp-let².
6883
f80efb86
SM
68842012-06-10 Stefan Monnier <monnier@iro.umontreal.ca>
6885
6886 * emacs-lisp/timer.el, emacs-lisp/syntax.el, emacs-lisp/smie.el:
6887 * emacs-lisp/ewoc.el, emacs-lisp/cconv.el, emacs-lisp/bytecomp.el:
6888 * emacs-lisp/byte-opt.el, emacs-lisp/autoload.el: Convert to cl-lib.
6889 * emacs-lisp/easymenu.el, emacs-lisp/easy-mmode.el:
6890 * emacs-lisp/derived.el: Use pcase instead of `cl'.
6891 * emacs-lisp/cl-lib.el: Get rid of special cl-macs auto load.
6892
31ca4639 68932012-06-10 Glenn Morris <rgm@gnu.org>
94f0aa34 6894
31ca4639
CY
6895 * mail/rmail.el (rmail-yank-current-message): Leave point at
6896 correct position. (Bug#11660)
94f0aa34 6897
31ca4639 68982012-06-10 Chong Yidong <cyd@gnu.org>
9e1b8ec4 6899
31ca4639 6900 * allout-widgets.el: Fix code header.
9e1b8ec4 6901
31ca4639 69022012-06-10 Chong Yidong <cyd@gnu.org>
00cd0305 6903
f80efb86
SM
6904 * cus-edit.el (customize-changed-options-previous-release):
6905 Bump to 24.1.
31ca4639 6906
642b6d30
AS
69072012-06-09 Andreas Schwab <schwab@linux-m68k.org>
6908
6909 * Makefile.in (BIG_STACK_DEPTH): Enlarge to 2200.
6910
4f5d2ba1
CY
69112012-06-09 Chong Yidong <cyd@gnu.org>
6912
6913 * ebuff-menu.el (electric-buffer-list): Preserve header line.
6914
e75852fd
MR
69152012-06-09 Martin Rudalics <rudalics@gmx.at>
6916
6917 * window.el (special-display-popup-frame): Don't use
6918 window--display-buffer (Bug#11651).
6919
1e48e282
EZ
69202012-06-09 Eli Zaretskii <eliz@gnu.org>
6921
8a26b487
EZ
6922 Fix parallel builds: make sure loaddefs.el is not being written
6923 while Lisp files are compiled.
6924 (compile): Don't depend on 'mh-autoloads'.
6925 (compile-CMD, compile-SH): Depend on 'autoloads'.
6926 (bootstrap): Don't depend on 'autoloads' and 'mh-autoloads'.
6927
1e48e282
EZ
6928 * makefile.w32-in (BIG_STACK_DEPTH): Enlarge to 2200. (Bug#11649)
6929
6175e34b
CY
69302012-06-09 Chong Yidong <cyd@gnu.org>
6931
6932 * face-remap.el (face-remap-add-relative, face-remap-set-base)
6933 (buffer-face-set, buffer-face-toggle, buffer-face-mode-invoke):
6934 Doc fixes (Bug#11225).
6935
d9857e53
SM
69362012-06-09 Stefan Monnier <monnier@iro.umontreal.ca>
6937
6938 * emacs-lisp/macroexp.el (macroexp--expand-all): Only autoload
6939 a function if there's a clear indication that it has a compiler-macro.
6940 * emacs-lisp/byte-run.el (defun-declarations-alist, defmacro, defun)
6941 (macro-declarations-alist): Add arglist to declaration functions.
6942 (defun-declarations-alist): Add `obsolete' and `compiler-macro'.
6943 * emacs-lisp/cl-seq.el (cl-member, cl-assoc):
6944 * emacs-lisp/cl-lib.el (cl-list*, cl-adjoin):
6945 * emacs-lisp/cl-extra.el (cl-get): Use the new `declare' statement.
6946 Also add autoload to find the compiler macro.
6947 * emacs-lisp/cl-macs.el (eql) [compiler-macro]: Remove.
6948 (cl--compiler-macro-member, cl--compiler-macro-assoc)
6949 (cl--compiler-macro-adjoin, cl--compiler-macro-list*)
6950 (cl--compiler-macro-get): New functions, replacing calls to
6951 cl-define-compiler-macro.
6952 (cl-typep) [compiler-macro]: Use macroexp-let².
6953
f81298f8 69542012-06-08 Nick Dokos <nicholas.dokos@hp.com> (tiny change)
ee574791
UJ
6955
6956 * calendar/icalendar.el (icalendar--parse-vtimezone): Import TZID
6957 string properly, fixes Bug#11473.
6958
4b56d0fe
CY
69592012-06-08 Chong Yidong <cyd@gnu.org>
6960
6961 * faces.el (set-face-attribute): Doc fix.
6962 (modify-face): Don't use :bold and :italic.
6963 (error, warning, success): Tweak definitions.
6964
6965 * cus-edit.el (custom-modified, custom-invalid, custom-rogue)
6966 (custom-modified, custom-set, custom-changed, custom-themed)
6967 (custom-saved, custom-button, custom-button-mouse)
6968 (custom-button-pressed, custom-state, custom-comment-tag)
6969 (custom-variable-tag, custom-group-tag-1, custom-group-tag)
6970 (custom-group-subtitle): Use new-style face specs.
6971 (custom-invalid-face, custom-rogue-face, custom-modified-face)
6972 (custom-set-face, custom-changed-face, custom-saved-face)
6973 (custom-button-face, custom-button-pressed-face)
6974 (custom-documentation-face, custom-state-face)
6975 (custom-comment-face, custom-comment-tag-face)
6976 (custom-variable-tag-face, custom-variable-button-face)
6977 (custom-face-tag-face, custom-group-tag-face-1)
6978 (custom-group-tag-face): Remove obsolete face alias.
6979
6980 * epa.el (epa-validity-high, epa-validity-medium)
6981 (epa-validity-low, epa-mark, epa-field-name, epa-string)
6982 (epa-field-name, epa-field-body):
6983 * font-lock.el (font-lock-comment-face, font-lock-string-face)
6984 (font-lock-keyword-face, font-lock-builtin-face)
6985 (font-lock-function-name-face, font-lock-variable-name-face)
6986 (font-lock-type-face, font-lock-constant-face):
6987 * ido.el (ido-first-match, ido-only-match, ido-subdir)
6988 (ido-virtual, ido-indicator, ido-incomplete-regexp):
6989 * speedbar.el (speedbar-button-face, speedbar-file-face)
6990 (speedbar-directory-face, speedbar-tag-face)
6991 (speedbar-selected-face, speedbar-highlight-face)
6992 (speedbar-separator-face):
6993 * whitespace.el (whitespace-newline, whitespace-space)
6994 (whitespace-hspace, whitespace-tab, whitespace-trailing)
6995 (whitespace-line, whitespace-space-before-tab)
6996 (whitespace-space-after-tab, whitespace-indentation)
6997 (whitespace-empty):
6998 * emulation/cua-base.el (cua-global-mark):
6999 * eshell/em-prompt.el (eshell-prompt):
7000 * net/newst-plainview.el (newsticker-new-item-face)
7001 (newsticker-old-item-face, newsticker-immortal-item-face)
7002 (newsticker-obsolete-item-face, newsticker-date-face)
7003 (newsticker-statistics-face, newsticker-default-face):
7004 * net/newst-reader.el (newsticker-feed-face)
7005 (newsticker-extra-face, newsticker-enclosure-face):
7006 * net/newst-treeview.el (newsticker-treeview-face)
7007 (newsticker-treeview-new-face, newsticker-treeview-old-face)
7008 (newsticker-treeview-immortal-face)
7009 (newsticker-treeview-obsolete-face)
7010 (newsticker-treeview-selection-face):
7011 * net/rcirc.el (rcirc-my-nick, rcirc-other-nick)
7012 (rcirc-bright-nick, rcirc-server, rcirc-timestamp)
7013 (rcirc-nick-in-message, rcirc-nick-in-message-full-line)
7014 (rcirc-prompt, rcirc-track-keyword, rcirc-url, rcirc-keyword):
7015 * nxml/nxml-outln.el (nxml-heading, nxml-outline-indicator)
7016 (nxml-outline-active-indicator, nxml-outline-ellipsis):
7017 * play/mpuz.el (mpuz-unsolved, mpuz-solved, mpuz-trivial)
7018 (mpuz-text):
7019 * progmodes/vera-mode.el (vera-font-lock-number)
7020 (vera-font-lock-function, vera-font-lock-interface):
7021 * textmodes/table.el (table-cell): Use new-style face specs, and
7022 don't use the old :bold and :italic attributes.
7023
7024 * progmodes/ebrowse.el (ebrowse-tree-mark, ebrowse-root-class)
7025 (ebrowse-member-attribute, ebrowse-default, ebrowse-file-name)
7026 (ebrowse-member-class, ebrowse-progress): Likewise.
7027 (ebrowse-tree-mark-face, ebrowse-root-class-face)
7028 (ebrowse-file-name-face, ebrowse-default-face)
7029 (ebrowse-member-attribute-face, ebrowse-member-class-face)
7030 (ebrowse-progress-face): Remove obsolete faces.
7031
7032 * progmodes/flymake.el (flymake-errline, flymake-warnline):
7033 Inherit from error and warning faces respectively.
7034
7035 * textmodes/flyspell.el (flyspell-incorrect, flyspell-duplicate):
7036 Likewise.
f80efb86
SM
7037 (flyspell-incorrect-face, flyspell-duplicate-face):
7038 Remove obsolete aliases.
4b56d0fe 7039
03310646
MA
70402012-06-08 Michael Albinus <michael.albinus@gmx.de>
7041
7042 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
7043 Avoid infloop.
7044
513749ee
SM
70452012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
7046
7047 * startup.el (argv, argi): Make lexically scoped.
7048 * emacs-lisp/float-sup.el (pi): Use internal-make-var-non-special.
7049 * emacs-lisp/cl-macs.el: Use lexical-binding.
7050 Rename cl-bind-* to cl--bind-*.
7051 * files.el: Don't require `cl' since it doesn't use it.
7052 * emacs-lisp/pcase.el, emacs-lisp/macroexp.el: Add coding cookie.
7053
595ef4ad
JB
70542012-06-08 Juanma Barranquero <lekktu@gmail.com>
7055
7056 * textmodes/texinfmt.el: Fix bug#11640 (reverts part of 2008-07-31T05:33:56Z!dann@ics.uci.edu).
7057 (texinfo-format-printindex): Use `texinfo-sort-region' in all platforms,
7058 instead of calling external sort utility.
7059 (texinfo-sort-region, texinfo-sort-startkeyfun): Restore functions.
7060
e9f66fcb
EZ
70612012-06-08 Eli Zaretskii <eliz@gnu.org>
7062
7063 * descr-text.el (describe-char): Mention how to insert the
7064 character, if the current input method doesn't support it.
7065 See the discussion in this thread for the details:
7066 http://lists.gnu.org/archive/html/emacs-devel/2012-05/msg00533.html.
7067
3d10db47
SS
70682012-06-08 Sam Steingold <sds@gnu.org>
7069
7070 * bindings.el (global-map): Bind XF86Forward to next-buffer and
7071 XF86Back to previous-buffer.
7072 (minibuffer-local-map): Bind them to next-history-element and
7073 previous-history-element respectively.
7074 * help-mode.el (help-mode-map): Bind them to help-go-forward and
7075 help-go-back respectively.
7076 * info.el (Info-mode-map): Bind them to Info-history-forward and
7077 Info-history-back respectively.
7078 These are the keys next to Up on the ThinkPad keyboard.
7079
de7e2b36
SM
70802012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
7081
7082 Get rid of cl-lexical-let, keeping only lexical-let for compatibility.
7083 * emacs-lisp/cl-macs.el: Provide itself.
7084 (cl--labels-convert-cache): New var.
7085 (cl--labels-convert): New function.
7086 (cl-flet, cl-labels): New implementation with new semantics, relying on
7087 lexical-binding.
7088 * emacs-lisp/cl.el: Mark compatibility aliases as obsolete.
7089 (cl-closure-vars, cl--function-convert-cache)
7090 (cl--function-convert): Move from cl-macs.el.
7091 (lexical-let, lexical-let*, flet, labels): Move from cl-macs.el and
7092 rename by removing the "cl-" prefix.
7093 * emacs-lisp/macroexp.el (macroexp-unprogn): New function.
7094
6fa6c4ae
SM
70952012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
7096
7097 * emacs-lisp/cl.el (cl-macroexpand, cl-macro-environment)
7098 (cl-macroexpand-all, cl-not-hash-table, cl-builtin-gethash)
7099 (cl-builtin-remhash, cl-builtin-clrhash, cl-builtin-maphash)
7100 (cl-map-keymap, cl-copy-tree, cl-gethash, cl-puthash, cl-remhash)
7101 (cl-clrhash, cl-maphash, cl-make-hash-table, cl-hash-table-p)
7102 (cl-hash-table-count): Add old compatibility aliases.
7103
7104 * emacs-lisp/cl-macs.el (cl-macro-environment): Remove var.
7105 Use macroexpand-all-environment instead.
7106 (cl--old-macroexpand): New var.
7107 (cl--sm-macroexpand): New function.
7108 (cl-symbol-macrolet): Use it during macro expansion.
7109 (cl--function-convert-cache): New var.
7110 (cl--function-convert): New function, extracted from
7111 cl-macroexpand-all.
7112 (cl-lexical-let): Use it.
7113
7114 * emacs-lisp/cl-lib.el (cl-macro-environment): Remove decl.
7115 (cl-macroexpand): Move to cl-macs.el and rename to cl--sm-macroexpand.
7116 (cl-member): Remove old alias.
7117
7118 * emacs-lisp/cl-extra.el (cl-map-keymap, cl-copy-tree)
7119 (cl-not-hash-table, cl-builtin-gethash, cl-builtin-remhash)
7120 (cl-builtin-clrhash, cl-builtin-maphash, cl-gethash, cl-puthash)
7121 (cl-remhash, cl-clrhash, cl-maphash, cl-make-hash-table)
7122 (cl-hash-table-p, cl-hash-table-count): Move to cl.el.
7123 (cl-macroexpand-cmacs): Remove var.
7124 (cl-macroexpand-all, cl-macroexpand-body): Remove funs.
7125 Use macroexpand-all instead.
7126
4dd1c416
SM
71272012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
7128
7129 * emacs-lisp/macroexp.el (macroexp-progn, macroexp-let*, macroexp-if)
7130 (macroexp-let², macroexp--const-symbol-p, macroexp-const-p)
7131 (macroexp-copyable-p): New functions and macros.
7132 * emacs-lisp/edebug.el (edebug-unwrap):
7133 * emacs-lisp/disass.el (disassemble-internal): Use macroexp-progn.
7134 * emacs-lisp/pcase.el: Use macroexp-let*, macroexp-if, ...
7135 (pcase--let*): Remove.
7136 * emacs-lisp/bytecomp.el (byte-compile-const-symbol-p)
7137 (byte-compile-constp): Remove. Use macroexp--const-symbol-p and
7138 macroexp-const-p instead.
7139 * emacs-lisp/byte-opt.el: Use macroexp-const-p and macroexp-progn.
7140
7141 * emacs-lisp/cl-macs.el: Clean up the name space by using "cl--"
7142 instead of "cl-" for internal definitions. Use macroexp-const-p.
7143 (cl-old-bc-file-form): Remove var.
7144 (cl-const-exprs-p): Remove fun.
7145 (cl-labels, cl-macrolet): Use backquote.
7146 (cl-lexical-let): Use cl-symbol-macrolet. Don't use cl-defun-expander.
7147 (cl-defun-expander, cl-byte-compile-compiler-macro): Remove fun.
7148 (cl-define-setf-expander): Rename from cl-define-setf-method.
7149 * emacs-lisp/cl.el: Adjust alias for define-setf-method.
7150
7151 * international/mule-cmds.el: Don't require CL.
7152 (view-hello-file): Don't use `letf'.
7153
ed8bd4d7
SM
71542012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
7155
7287f2f3
SM
7156 * tmm.el (tmm-prompt): Use string-prefix-p.
7157 (tmm-completion-delete-prompt): Don't affect current-buffer outside.
7158 (tmm-add-prompt): Use minibuffer-completion-help.
7159 (tmm-delete-map): Remove.
7160
ed8bd4d7
SM
7161 * subr.el (kbd): Make it its own function.
7162
7b4cdbf4
SM
71632012-06-07 Stefan Merten <smerten@oekonux.de>
7164
7165 * textmodes/rst.el: Use `eval-when-compile' for requiring `cl.el'.
7166 Silence compiler warnings. Fix versions.
ed8bd4d7 7167 (rst-position-if, rst-position, rst-some, rst-signum): New functions.
7b4cdbf4 7168 (rst-shift-region, rst-adornment-level, rst-compute-tabs)
ed8bd4d7 7169 (rst-indent-line, rst-shift-region, rst-forward-line): Use them.
7b4cdbf4
SM
7170 (rst-package-emacs-version-alist): Correct Emacs version to
7171 represent major merge with upstream.
ed8bd4d7 7172 (rst-transition, rst-adornment, rst-compile-toolsets): Fix versions.
7b4cdbf4 7173
2b48d721
GM
71742012-06-06 Glenn Morris <rgm@gnu.org>
7175
7176 * mail/emacsbug.el (report-emacs-bug): Add relevant EMACS env-vars.
7177 Only print environment variables if set.
7178
fa779ab0
SM
71792012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
7180
7181 * emacs-lisp/macroexp.el: Don't require CL since we don't use it.
7182 (macroexp--cons): Rename from maybe-cons.
7183 (macroexp--accumulate): Rename from macroexp-accumulate.
7184 (macroexp--all-forms): Rename from macroexpand-all-forms.
7185 (macroexp--all-clauses): Rename from macroexpand-all-clauses.
7186 (macroexp--expand-all): Rename from macroexpand-all-1.
7187
628299e0
SS
71882012-06-06 Sam Steingold <sds@gnu.org>
7189
7190 * calendar/calendar.el (calendar-in-read-only-buffer):
7191 Call `special-mode' to enable the standard read-only keybindings.
7192
b7bb5838
SM
71932012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
7194
7195 * emacs-lisp/macroexp.el (macroexpand-all-1): Don't spam the output
7196 with "loading" messages (bug#11635).
7197
dfb308ba
MA
71982012-06-06 Michael Albinus <michael.albinus@gmx.de>
7199
7200 * files.el (enable-remote-dir-locals): New option.
7201 (hack-dir-local-variables): Use it. (Bug#1933, Bug#6731)
7202
0372ee92
MA
7203 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
7204 Ensure, that the temp directory is local.
7205
7206 * net/tramp-sh.el (tramp-sh-handle-write-region): Let-bind
7207 `temporary-file-directory'.
7208
eed0bb91
MA
7209 * progmodes/python.el (python-send-region): Ensure, that the
7210 temporary file is created also in the remote case.
7211
7a58f64d
GM
72122012-06-06 Glenn Morris <rgm@gnu.org>
7213
f7dd4e98
GM
7214 * vc/vc-rcs.el (vc-rcs-rcs2log-program): New.
7215 (vc-rcs-update-changelog): Use it.
7216
090bd7cb 7217 * emacs-lisp/authors.el (authors-fixed-entries): Remove vcdiff.
276d5f5d 7218
7a58f64d
GM
7219 * vc/vc-sccs.el (vc-sccs-write-revision): New function.
7220 (vc-sccs-workfile-unchanged-p): Use vc-sccs-write-revision.
7221 (vc-sccs-diff): Replace use of the external vcdiff script.
7222
daed4003
GM
72232012-06-05 Glenn Morris <rgm@gnu.org>
7224
7225 * ledit.el: Move to obsolete/.
7226
48c455c7
SS
72272012-06-05 Sam Steingold <sds@gnu.org>
7228
ed9265fc 7229 * calendar/calendar.el (calendar-exit): Reinstate the 2012-03-28
48c455c7
SS
7230 patch (Bug#11140).
7231
57a7d507
SM
72322012-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
7233
090bd7cb 7234 * emacs-lisp/cust-print.el: Move to obsolete.
d32926ff 7235
53aacf21
SM
7236 * emacs-lisp/macroexp.el (macroexpand-all-1): Tolerate errors during
7237 compiler-macro expansion.
7238
57a7d507
SM
7239 Add native compiler-macro support.
7240 * emacs-lisp/macroexp.el (macroexpand-all-1):
7241 Support compiler-macros directly. Properly follow aliases and apply
7242 the compiler macros more thoroughly.
7243 * emacs-lisp/cl.el: Don't copy compiler-macro properties any more since
7244 macroexpand now properly follows aliases.
7245 * emacs-lisp/cl-macs.el (toplevel, cl-define-compiler-macro)
7246 (cl-compiler-macroexpand): Use new prop.
7247 * emacs-lisp/byte-opt.el (featurep): Optimize earlier.
7248
7249 * emacs-lisp/cl-lib.el (custom-print-functions): Add alias.
7250
51a5f9d8
MR
72512012-06-05 Martin Rudalics <rudalics@gmx.at>
7252
7253 * window.el (get-lru-window, get-mru-window, get-largest-window):
7254 New argument NOT-SELECTED to avoid picking the selected window.
7255 (window--display-buffer-1, window--display-buffer-2): Replace by
7256 new function window--display-buffer
7257 (display-buffer-same-window, display-buffer-reuse-window)
57a7d507
SM
7258 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
7259 Use window--display-buffer.
51a5f9d8
MR
7260 (display-buffer-use-some-window): Remove temporary dedication
7261 hack by calling get-lru-window and get-largest-window with
7262 NOT-SELECTED argument non-nil. Call window--display-buffer.
7263
08f9f738
GM
72642012-06-05 Glenn Morris <rgm@gnu.org>
7265
7266 * vc/vc-sccs.el (vc-sccs-workfile-unchanged-p):
7267 Replace external vcdiff script.
7268
e364a2b7
SM
72692012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
7270
7271 * emacs-lisp/cl-lib.el (cl-values, cl-values-list): Fix up last change.
7272
041df390
CY
72732012-06-04 Chong Yidong <cyd@gnu.org>
7274
e364a2b7
SM
7275 * image.el (imagemagick-types-inhibit): Revert last change.
7276 Add INFO and M.
47b36b94 7277 (imagemagick-enabled-types): Remove CIN and EPS*.
041df390 7278
7c1898a7
SM
72792012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
7280
7281 * emacs-lisp/cl-lib.el: Rename from cl.el.
7282 * emacs-lisp/cl.el: New compatibility file.
7283 * emacs-lisp/cl-lib.el, emacs-lisp/cl-seq.el, emacs-lisp/cl-macs.el:
7284 * emacs-lisp/cl-extra.el: Rename all top-level functions and variables
7285 to obey the "cl-" prefix.
7286 * emacs-lisp/macroexp.el (macroexpand-all-1): Adjust to new name.
7287
0c3461de
GM
72882012-06-03 Glenn Morris <rgm@gnu.org>
7289
1e266c88
GM
7290 * emacs-lisp/authors.el (authors-aliases): Addition.
7291
0c3461de
GM
7292 * cus-start.el (tool-bar-style, tool-bar-max-label-size):
7293 Fix :version.
7294
d8a52e15
SM
72952012-06-03 Stefan Merten <smerten@oekonux.de>
7296
7297 * textmodes/rst.el: Add comments.
7298 (rst-transition, rst-adornment): New faces.
7299 (rst-adornment-faces-alist): Make default safe to reevaluate.
7300 Fixes
7301 http://sourceforge.net/tracker/?func=detail&atid=422030&aid=3479603&group_id=38414.
7302 Improve customization tags.
7303 (rst-define-level-faces): Clarify meaning.
7304
5205d6f6
CY
73052012-06-03 Chong Yidong <cyd@gnu.org>
7306
7307 * progmodes/compile.el (compilation-mode-line-fail)
7c1898a7
SM
7308 (compilation-mode-line-run, compilation-mode-line-exit):
7309 New faces.
5205d6f6
CY
7310 (compilation-start, compilation-handle-exit): Use them (Bug#11032).
7311
757ee657
JD
73122012-06-03 Jack Duthen <duthen.mac.01@gmail.com> (tiny change)
7313
7c1898a7
SM
7314 * progmodes/which-func.el (which-func-update-ediff-windows):
7315 New function. Use it in ediff-select-hook (Bug#11478).
757ee657 7316
5f2c76c6
CY
73172012-06-03 Chong Yidong <cyd@gnu.org>
7318
7319 * bindings.el: Remove explicit help text from format-mode-line.
7320 It is now supplied by mode-line-default-help-echo.
7321 (mode-line-front-space, mode-line-end-spaces)
7322 (mode-line-misc-info): New variables.
7323 (mode-line-modes, mode-line-position): Move the default value to
7324 the variable definition.
7325 (mode-line-default-help-echo): New defcustom.
383f7350
CY
7326 (mode-line-mule-info-help-echo, mode-line-read-only-help-echo)
7327 (mode-line-modified-help-echo): New functions.
7328 (mode-line-mule-info, mode-line-modified): Use them.
7329 (mode-line-eol-desc, propertized-buffer-identification):
7330 Consistency fixes for help text.
cbe46e5f
CY
7331 (mode-line-coding-system-map): Allow using mouse-3 to invoke
7332 set-buffer-file-coding-system (Bug#289).
7333 (mode-line-mule-info-help-echo): Update help text.
5f2c76c6 7334
f2d6a3df
SM
73352012-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
7336
7337 * simple.el (execute-extended-command): Set real-this-command
7338 (bug#11506).
7339
37269466
CY
73402012-06-02 Chong Yidong <cyd@gnu.org>
7341
7342 Remove incorrect uses of "modeline" in comments, docstrings, and
7343 function/variable names (Bug#10329).
7344
7345 * cus-edit.el (mode-line):
7346 * dframe.el (dframe-mouse-hscroll):
7347 * emacs-lisp/re-builder.el:
7348 * emacs-lisp/easy-mmode.el (define-minor-mode):
7349 * frame.el (set-frame-name):
7350 * help.el (lookup-minor-mode-from-indicator):
7351 * net/rcirc.el (rcirc-activity-string, rcirc-short-buffer-name):
7352 * progmodes/cc-cmds.el (c-toggle-auto-newline)
7353 (c-toggle-hungry-state):
7354 * progmodes/antlr-mode.el (antlr-language-alist):
7355 * progmodes/idlw-shell.el (idlwave-shell-electric-stop-line-face):
7356 * progmodes/vhdl-mode.el (vhdl-mode):
7357 * progmodes/which-func.el (which-func, which-func-cleanup-function):
7358 * term/ns-win.el (ns-face-at-pos):
7359 * term/sup-mouse.el (sup-mouse-report):
7360 * textmodes/flyspell.el (flyspell-mode-line-string):
7361 * textmodes/ispell.el (ispell-highlight-face):
7362 * textmodes/reftex-global.el:
7363 * vc/vc-arch.el (vc-arch-mode-line-string):
7364 * vc/vc-cvs.el (vc-cvs-mode-line-string):
7365 * vc/vc-git.el (vc-git-mode-line-string):
7366 * vc/vc-hooks.el (vc-display-status)
7367 (vc-default-mode-line-string):
7368 * vc/vc-mtn.el (vc-mtn-mode-line-string): Doc fixes.
7369
7370 * ansi-color.el (ansi-color-faces-vector): Change default faces.
7371
7372 * dired.el (dired-sort-set-mode-line): Rename from
7373 dired-sort-set-modeline. All callers changed.
7374
7375 * eshell/esh-mode.el (eshell-status-in-mode-line): Rename from
7376 eshell-status-in-modeline.
7377
7378 * foldout.el (foldout-mode-line-string): Rename from
7379 foldout-modeline-string. All callers changed.
7380 (foldout-update-mode-line): Rename from foldout-update-modeline.
7381
7382 * subr.el (redraw-modeline): Make into obsolete alias.
7383
7384 * calendar/timeclock.el (timeclock-mode-line-display): Rename from
7385 timeclock-modeline-display. Make old name an alias.
7386 (timeclock-update-mode-line): Likewise. All callers changed.
7387 (timeclock-mode-line-display): No need to check before using
7388 add-hook.
7389 (timeclock-relative, timeclock-day-over-hook)
7390 (timeclock-use-elapsed, timeclock-mode-string)
7391 (timeclock-mode-line-display): Doc fix, "modeline" -> "mode line".
7392
7393 * emulation/crisp.el (crisp-mode-mode-line-string): Rename from
7394 crisp-mode-modeline-string.
7395
7396 * play/solitaire.el (solitaire-build-mode-line): Rename from
7397 solitaire-build-modeline. All callers changed.
7398
7399 * play/zone.el (zone-hiding-mode-line): Rename from
7400 zone-hiding-modeline. All callers changed.
7401 (zone): Remove unusued `modeline-hidden-level' property.
7402
7403 * progmodes/xscheme.el (xscheme-mode-line-initialize): Rename from
7404 xscheme-modeline-initialize. All callers changed.
7405
7406 * strokes.el (strokes-lighter): Rename from
7407 strokes-modeline-string.
7408
7409 * textmodes/sgml-mode.el (html-face-tag-alist)
7410 (html-tag-face-alist): Use mode-line face instead of obsolete
7411 alias modeline.
7412
42152ee4
SM
74132012-06-02 Stefan Merten <smerten@oekonux.de>
7414
7415 * textmodes/rst.el: Always require `cl'.
4cf9b38d 7416 (rst-mode-map): Fix meaning of C-M-a / C-M-e.
42152ee4 7417
95f520b5
CY
74182012-06-02 Chong Yidong <cyd@gnu.org>
7419
7420 * image.el (imagemagick-enabled-types): Rename from
7421 imagemagick-types-enable. Add many more types.
7422 (imagemagick-types-inhibit): Change default to nil.
7423 (imagemagick-filter-types): Caller changed.
7424
4a5f187a
SM
74252012-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
7426
03fef3e6
SM
7427 * emacs-lisp/cl-macs.el: Use backquotes.
7428 (cl-transform-function-property): Use eval-and-compile rather than
7429 abusing `require'.
7430 (defstruct): Use declare-function instead of with-no-warnings.
7431
4a5f187a
SM
7432 * emacs-lisp/bytecomp.el: Fix last change (bug#11594).
7433 (byte-compile-output-docform): Re-add the print-circle bindings.
7434 (byte-compile-fix-header): Use #$ just because it's shorter.
7435 (byte-compile-output-file-form): Remove defun/defmacro.
7436
bd56924f
MR
74372012-06-01 Martin Rudalics <rudalics@gmx.at>
7438
7439 * simple.el (choose-completion): Remove now obsolete binding for
7440 owindow.
7441
046e38ce
MA
74422012-06-01 Michael Albinus <michael.albinus@gmx.de>
7443
7444 * net/tramp.el (tramp-check-for-regexp): Search from buffer end,
7445 in order to avoid "Stack overflow in regexp matcher".
7446
32d72c2f
GM
74472012-05-31 Glenn Morris <rgm@gnu.org>
7448
7449 * image.el: For clarity, call imagemagick-register-types at
7450 top-level, rather than relying on a custom :initialize.
7451 (imagemagick-types-enable): New option. (Bug#11557)
60b5f187
GM
7452 (imagemagick-filter-types): New function. (Bug#7406)
7453 (imagemagick-register-types): Use imagemagick-filter-types.
32d72c2f
GM
7454 If disabling support, remove elements altogether rather
7455 than using an impossible regexp.
7456 (imagemagick-types-inhibit): Give it the default init function.
7457
dd41169b
SM
74582012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
7459
4a5f187a
SM
7460 * emacs-lisp/bytecomp.el (byte-compile-fix-header):
7461 Handle arbitrary file name lengths (Bug#11585).
dd41169b 7462
efc00ab1 74632012-05-31 Martin Rudalics <rudalics@gmx.at>
5221ccb9
MR
7464
7465 * desktop.el (desktop-read): Clear previous and next buffers for
7466 all windows and bury *Messages* buffer (bug#11556).
7467
500fcedc
SM
74682012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
7469
7470 Add `declare' for `defun'. Align `defmacro's with it.
7471 * emacs-lisp/easy-mmode.el (define-minor-mode)
7472 (define-globalized-minor-mode): Don't autoload the var definitions.
7473 * emacs-lisp/byte-run.el: Use lexical-binding.
7474 (defun-declarations-alist, macro-declarations-alist): New vars.
7475 (defmacro, defun): Use them.
7476 (make-obsolete, define-obsolete-function-alias)
7477 (make-obsolete-variable, define-obsolete-variable-alias):
7478 Use `declare'.
7479 (macro-declaration-function): Mark obsolete.
7480 * emacs-lisp/autoload.el: Use lexical-binding.
7481 (make-autoload): Add `expansion' arg. Rely more on macro expansion.
7482
6e8a1786
AM
74832012-05-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
7484
7485 * textmodes/ispell.el (ispell-with-no-warnings):
7486 Define as a macro.
500fcedc
SM
7487 (ispell-kill-ispell, ispell-change-dictionary):
7488 Use `called-interactively-p' for Emacs instead of obsolete
6e8a1786
AM
7489 `interactive-p'.
7490
61b108cc
SM
74912012-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
7492
7493 * emacs-lisp/byte-run.el (defmacro, defun): Move from C.
7494 (macro-declaration-function): Move var from C code.
7495 (macro-declaration-function): Define function with defalias.
7496 * emacs-lisp/macroexp.el (macroexpand-all-1):
7497 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form):
7498 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Don't handle
7499 defun/defmacro any more.
7500 * emacs-lisp/bytecomp.el (byte-compile-arglist-signature):
7501 Provide fallback for unknown arglist.
7502 (byte-compile-arglist-warn): Change calling convention.
7503 (byte-compile-output-file-form): Move print-vars binding.
7504 (byte-compile-output-docform): Simplify accordingly.
7505 (byte-compile-file-form-defun, byte-compile-file-form-defmacro)
7506 (byte-compile-defmacro-declaration): Remove.
7507 (byte-compile-file-form-defmumble): Generalize to defalias.
7508 (byte-compile-output-as-comment): Return byte-positions.
7509 Simplify callers accordingly.
7510 (byte-compile-lambda): Use `assert'.
7511 (byte-compile-defun, byte-compile-defmacro): Remove.
7512 (byte-compile-file-form-defalias):
7513 Use byte-compile-file-form-defmumble.
7514 (byte-compile-defalias-warn): Remove.
7515
6d3f7c2f
SM
75162012-05-29 Stefan Merten <smerten@oekonux.de>
7517
7518 * textmodes/rst.el: Silence `checkdoc-ispell' errors where
61b108cc 7519 possible. Fix authors. Improve comments. Improve loading of `cl'.
6d3f7c2f
SM
7520
7521 (rst-mode-abbrev-table): Merge definition.
7522 (rst-mode): Make sure `font-lock-defaults' is buffer local.
7523 (rst-define-key, rst-deprecated-keys, rst-call-deprecated): Refactor.
7524
6dbaa1c7
UJ
75252012-05-29 Ulf Jasper <ulf.jasper@web.de>
7526
7527 * calendar/icalendar.el
7528 (icalendar-export-region): Export UID properly.
7529
d209e2fb 75302012-05-29 Leo Liu <sdl.web@gmail.com>
61b108cc
SM
7531 * calendar/icalendar.el (icalendar-import-format):
7532 Add `icalendar-import-format-uid' (Bug#11525).
6dbaa1c7
UJ
7533 (icalendar-import-format-uid): New.
7534 (icalendar--parse-summary-and-rest, icalendar--format-ical-event):
7535 Export UID.
7536
6876a58d
SM
75372012-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
7538
7539 * emacs-lisp/pcase.el (pcase--expand): Accept different sets of vars in
7540 different alternative patterns.
7541 (pcase-codegen): Be more careful to preserve identity.
7542 (pcase--u1): Don't forget to mark vars as used.
7543
7544 * emacs-lisp/bytecomp.el (byte-compile-constp): Treat #'v as a constant.
7545 (byte-compile-close-variables): Bind byte-compile--outbuffer here...
7546 (byte-compile-from-buffer): ...rather than here.
7547
7548 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Don't re-preprocess
7549 functions from byte-compile-function-environment.
7550
46b7967e
TN
75512012-05-29 Troels Nielsen <bn.troels@gmail.com>
7552
7553 * window.el (window-deletable-p): Avoid deleting the root window
7554 of a frame with an active minibuffer.
7555
69d565e2
MR
75562012-05-29 Martin Rudalics <rudalics@gmx.at>
7557
7558 * simple.el (choose-completion): Use quit-window (Bug#11567).
7559
a149fa51
CY
75602012-05-29 Chong Yidong <cyd@gnu.org>
7561
7562 * whitespace.el (whitespace-cleanup): Fix usage of
7563 whitespace-empty-at-bob-regexp (Bug#11492).
7564
2b311310
AH
75652012-05-29 Aaron S. Hawley <aaron.s.hawley@gmail.com>
7566
7567 * vc/vc.el (vc-revert, vc-rollback): Dont kill vc-diff buffer on
7568 revert (Bug#11488).
7569
b9cb2387
JL
75702012-05-29 Juri Linkov <juri@jurta.org>
7571
7572 * isearch.el (isearch-mode-map): Bind `M-s _' to
7573 `isearch-toggle-symbol'. Bind `M-s c' to
7574 `isearch-toggle-case-fold'.
7575 (search-map): Bind `M-s _' to `isearch-forward-symbol'.
7576 (isearch-forward): Add `M-s _' to the docstring.
7577 (isearch-forward-symbol, isearch-toggle-case-fold)
7578 (isearch-symbol-regexp): New functions. (Bug#11381)
7579
d5e61c1c
JL
75802012-05-29 Juri Linkov <juri@jurta.org>
7581
7582 * isearch.el (isearch-word): Add docstring. (Bug#11381)
7583 (isearch-occur, isearch-search-and-update): If `isearch-word' is
7584 a function, call it to get the regexp.
7585 (isearch-message-prefix): If `isearch-word' holds a symbol, use its
7586 property `isearch-message-prefix' instead of the string "word ".
7587 (isearch-search-fun-default): For the case of `isearch-word',
7588 return a lambda that calls re-search-forward/re-search-backward
7589 with a regexp returned by `word-search-regexp' or by the function
7590 in `isearch-word'.
7591
8cbd80f7
JL
75922012-05-29 Juri Linkov <juri@jurta.org>
7593
7594 * isearch.el (isearch-search-fun-default): New function.
7595 (isearch-search-fun): Move default part to the new function
7596 `isearch-search-fun-default'.
7597 (isearch-search-fun-function): Set the default value to
7598 `isearch-search-fun-default'. (Bug#11381)
7599
7600 * comint.el (comint-history-isearch-end):
7601 Use `isearch-search-fun-default'.
7602 (comint-history-isearch-search): Use `isearch-search-fun-default'
7603 and remove spacial case for `isearch-word'.
7604 (comint-history-isearch-wrap): Remove spacial case for
7605 `isearch-word'.
7606
7607 * hexl.el (hexl-isearch-search-function):
7608 Use `isearch-search-fun-default'.
7609
7610 * info.el (Info-isearch-search): Use `isearch-search-fun-default'.
7611 Use `word-search-regexp' for `isearch-word'.
7612
7613 * misearch.el (multi-isearch-search-fun):
7614 Use `isearch-search-fun-default'.
7615
7616 * simple.el (minibuffer-history-isearch-search):
7617 Use `isearch-search-fun-default' and remove spacial case for
7618 `isearch-word'.
7619 (minibuffer-history-isearch-wrap): Remove spacial case for
7620 `isearch-word'.
7621
7622 * textmodes/reftex-global.el (reftex-isearch-wrap-function):
7623 Remove spacial case for `isearch-word'.
7624 (reftex-isearch-isearch-search): Use `isearch-search-fun-default'.
7625
85c8c5b6
AM
76262012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
7627
7628 Decrease XEmacs incompatibilities.
7629 * textmodes/flyspell.el (flyspell-check-pre-word-p):
7630 Use `string-match'.
7631 (flyspell-delete-region-overlays): Use alternative definition for
7632 XEmacs.
7633 (flyspell-delete-all-overlays): Use `flyspell-delete-region-overlays'.
7634 (flyspell-word): Use `process-kill-without-query' if XEmacs.
7635 (flyspell-mode-on): Use `interactive-p' if XEmacs.
7636 (flyspell-incorrect-face, flyspell-duplicate-face): Do not use
7637 `define-obsolete-face-alias' under XEmacs, but old method.
7638
7639 * textmodes/ispell.el (ispell-with-no-warnings): XEmacs alternative
7640 `with-no-warnings' definition or Emacs alias.
7641 (ispell-command-loop, ispell-message): Use `ispell-with-no-warnings'.
7642 (ispell-word): Do not use `region-p' if XEmacs.
7643
8cab9efc
AM
76442012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
7645
7646 * textmodes/ispell.el (ispell-find-aspell-dictionaries):
7647 Check for `ispell-dictionary-base-alist' instead of full
7648 `ispell-dictionary-alist'.
7649 (ispell-init-process): Show spellchecker when starting new Ispell
7650 process.
7651
fda91268
RZ
76522012-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
7653
7654 * progmodes/vhdl-mode.el: Sync with upstream 3.33.28.
7655 http://www.iis.ee.ethz.ch/~zimmi/emacs/vhdl-mode.html#release-notes-3.33
7656
694ea8e3
JB
76572012-05-27 Juanma Barranquero <lekktu@gmail.com>
7658
7659 * version.el (motif-version-string, gtk-version-string)
7660 (ns-version-string): Declare.
7661
e4d4f539
JL
76622012-05-27 Juri Linkov <juri@jurta.org>
7663
7664 * emacs-lisp/lisp-mode.el (eval-defun-2): Use `eval-sexp-add-defvars'
7665 after the `eval-defun-1' specialcaseing
7666 like in `edebug-eval-defun' (bug#10181).
7667
7668 * emacs-lisp/edebug.el (edebug-eval-defun): Set `face-documentation'
7669 like in `eval-defun-1'.
7670
33017faf 76712012-05-27 Eli Zaretskii <eliz@gnu.org>
b30b64b9 7672
fda91268
RZ
7673 * mail/sendmail.el (mail-yank-region):
7674 Recognize rmail-yank-current-message in addition to insert-buffer.
7675 Fixes mail-mode's "C-c C-r" that otherwise does nothing when invoked in
b30b64b9
EZ
7676 a *mail* buffer created through rmail-start-mail with sendmail as
7677 mail-user-agent.
7678
33017faf
GM
76792012-05-27 Chong Yidong <cyd@gnu.org>
7680
7681 * net/gnutls.el (gnutls-min-prime-bits): Improve docstring.
7682 Default to 256 (Bug#11267).
7683
7684 * help.el (describe-mode): Doc fix.
7685
04188bb9
GM
76862012-05-26 Glenn Morris <rgm@gnu.org>
7687
38264cc9
GM
7688 * w32-fns.el (w32-init-info): Remove.
7689 * paths.el (Info-default-directory-list): Add w32-init-info equivalent.
7690
eb7afdad
GM
7691 * info.el (info-initialize): For self-contained NS builds, put the
7692 included info/ directory at the front. (Bug#2791)
7693
04188bb9
GM
7694 * paths.el (Info-default-directory-list): Make it a defcustom,
7695 mainly so that we can use custom-initialize-delay.
7696
a179e3f7
SM
76972012-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
7698
43416392
SM
7699 * subr.el (buffer-has-markers-at): Mark obsolete.
7700
a179e3f7 7701 * subr.el (lambda): Use declare.
43416392 7702
a179e3f7
SM
7703 * emacs-lisp/lisp-mode.el (lambda):
7704 * emacs-lisp/edebug.el (lambda): Move properties to its definition.
7705
34a008d9
AH
77062012-05-26 Aaron S. Hawley <aaron.s.hawley@gmail.com>
7707
7708 * thingatpt.el (forward-same-syntax): Handle no ARG case. (Bug#11560)
7709
0a3b289f
GM
77102012-05-26 Glenn Morris <rgm@gnu.org>
7711
7712 * progmodes/cc-mode.el (auto-mode-alist): Fix typo.
7713
758c81e8
GM
77142012-05-25 Glenn Morris <rgm@gnu.org>
7715
f9f334f0
GM
7716 * paths.el: Remove no-byte-compile.
7717 * loadup.el: No need to load paths.el uncompiled.
7718
87eb79c2
GM
7719 * image.el (imagemagick-types-inhibit): Doc fix.
7720
758c81e8
GM
7721 * version.el: Remove no-byte-compile and associated formatting.
7722 * loadup.el: No need to load version.el uncompiled. AFAICS, this
7723 is ancient code from when there was an "inc-vers.el".
7724
e7e85dc0
SM
77252012-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
7726
7727 * progmodes/gdb-mi.el: Minor style changes.
7728 (gdb-enable-debug, gdb-speedbar-auto-raise, gdb-many-windows):
7729 Turn into minor modes.
7730 (gdb--if-arrow): Rename from gdb-if-arrow, make it hygienic.
7731 (gdb-mouse-until, gdb-mouse-jump): Adjust uses accordingly.
7732 (gdb-shell): Remove unneeded let-binding.
7733 (gdb-get-many-fields): Eliminate O(n²) behavior.
7734
f31237a4
EZ
77352012-05-25 Eli Zaretskii <eliz@gnu.org>
7736
7737 * cus-start.el <vertical-centering-font-regexp>: Avoid warning on
7738 platforms that don't link in fontset.c.
7739
bc1b21bb
JL
77402012-05-25 Juri Linkov <juri@jurta.org>
7741
7742 Use the same diff color scheme as in modern VCSes (bug#10181).
7743
7744 * vc/diff-mode.el (diff-header, diff-file-header): Remove "green"
7745 to avoid confusion with `diff-added' that now uses green colors.
7746 (diff-removed): Use shades of red.
7747 (diff-added): Use shades of green.
7748 (diff-changed): Leave just the yellow color.
7749 (diff-use-changed-face): New variable.
7750 (diff-font-lock-keywords): Use `diff-use-changed-face' to decide
7751 how to highlight context diff changes.
7752 (diff-refine-change): Use shades of yellow.
7753 (diff-refine-removed): New face that uses shades of red.
7754 (diff-refine-added): New face that uses shades of green.
7755 (diff-refine-hunk): Use `diff-refine-change', `diff-refine-added',
7756 `diff-refine-removed' in the call to `smerge-refine-subst'
7757 depending on the value of `diff-use-changed-face'.
7758
7759 * vc/smerge-mode.el (smerge-mine): Use shades of red.
7760 (smerge-other): Use shades of green.
7761 (smerge-base): Use shades of yellow.
7762 (smerge-refined-change): Empty face.
7763 (smerge-refined-removed): New face that uses shades of red.
7764 (smerge-refined-added): New face that uses shades of green.
7765 (smerge-refine-subst): Rename arg `props' to `props-c'. Add new
7766 args `props-r' and `props-a', and use them. Doc fix.
7767 (smerge-refine): Evaluate `smerge-use-changed-face' and depending
7768 on its value use different faces `smerge-refined-change',
7769 `smerge-refined-removed', `smerge-refined-added' in the call to
7770 `smerge-refine-subst'.
7771
7772 * vc/ediff-init.el (ediff-current-diff-A, ediff-fine-diff-A):
7773 Add face condition `min-colors 88' with shades of red.
7774 (ediff-current-diff-B, ediff-fine-diff-B): Add face condition
7775 `min-colors 88' with shades of green.
7776 (ediff-current-diff-C, ediff-fine-diff-C): Add face condition
7777 `min-colors 88' with shades of yellow.
7778
6df9112c
GM
77792012-05-24 Glenn Morris <rgm@gnu.org>
7780
ead5edc0
GM
7781 * paths.el (prune-directory-list, remote-shell-program): Move to...
7782 * files.el (prune-directory-list, remote-shell-program): ...here.
7783 For the latter, delay initialization, prefer ssh, just search PATH.
7784
f18b81e6
GM
7785 * paths.el (term-file-prefix): Move to faces.el (the only user).
7786 * faces.el (term-file-prefix): Move here, make it a defcustom.
7787
ee2f89a6
GM
7788 * paths.el (news-directory, news-path, news-inews-program):
7789 Move to gnus/nnspool.el.
61a583ca 7790
f8815e4c
GM
7791 * paths.el (gnus-default-nntp-server): Remove (gnus.el defines it).
7792
c8f3b42c
GM
7793 * paths.el (rmail-file-name, rmail-spool-directory): Move from here...
7794 * mail/rmail.el (rmail-file-name, rmail-spool-directory): ... to here.
7795 Make the latter a defcustom, with a delayed initialization.
7796
6df9112c
GM
7797 * paths.el (gnus-nntp-service, gnus-local-organization): Remove.
7798 These were deleted from Gnus itself late 2010.
7799
5dadff36
JB
78002012-05-22 Juanma Barranquero <lekktu@gmail.com>
7801
9e1701c6
JB
7802 * progmodes/which-func.el (which-func-ff-hook):
7803 Check against user-error, not error.
7804
bd7239f5 7805 * emacs-lisp/edebug.el (top): Do not load or set up loading of
5dadff36
JB
7806 cl-specs.el, which no longer exists.
7807
3290526d
GM
78082012-05-22 Glenn Morris <rgm@gnu.org>
7809
7810 * info.el (info-emacs-bug): New command.
7811 * menu-bar.el (menu-bar-help-menu): Add "How to Report a Bug" to Help.
7812 * mail/emacsbug.el (report-emacs-bug): Replace with info-emacs-bug.
7813
ff0c3cfb
GM
78142012-05-21 Glenn Morris <rgm@gnu.org>
7815
7816 * makefile.w32-in (update-subdirs-SH):
7817 * Makefile.in (update-subdirs): Update for moved update-subdirs.
7818
5814f126
SM
78192012-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
7820
a52c0aa0
SM
7821 * hi-lock.el (hi-lock-face-defaults): Move obsolete before definition.
7822
5814f126
SM
7823 * progmodes/compile.el (compilation-error-regexp-alist-alist):
7824 Simplify Maven regexp, and make sure the file can't start with a space
7825 (bug#11517).
7826
b847032c
GM
78272012-05-21 Glenn Morris <rgm@gnu.org>
7828
7829 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
7830 Scrap superfluous subshells.
7831
3858bfe7
SM
78322012-05-19 Stefan Monnier <monnier@iro.umontreal.ca>
7833
7834 * emacs-lisp/bytecomp.el (byte-compile-root-dir): New var.
7835 (byte-compile-warning-prefix, batch-byte-compile-file): Use it.
7836
d14b0029
JB
78372012-05-19 Jay Belanger <jay.p.belanger@gmail.com>
7838
7839 * calc/calc.el (calc-ensure-consistent-units): New variable.
7840
a52c0aa0
SM
7841 * calc/calc-units.el (math-consistent-units-p)
7842 (math-check-unit-consistency): New functions.
7843 (calc-quick-units, calc-convert-units):
7844 Use `math-check-unit-consistency' when `calc-ensure-consistent-units'
7845 is non-nil.
d14b0029
JB
7846 (calc-extract-units): Fix typo.
7847
60c4db3a
SM
78482012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
7849
77f3b62e
SM
7850 * vc/vc-bzr.el (vc-bzr-state-heuristic): Save match-data around sha1.
7851
60c4db3a
SM
7852 * textmodes/flyspell.el: Commenting style, plus code simplifications.
7853 (flyspell-default-deplacement-commands): Don't spell check after
7854 repeated window/frame switches (e.g. triggered by mouse-movement).
7855 (flyspell-delay-commands, flyspell-deplacement-commands): Use mapc.
7856 (flyspell-debug-signal-word-checked): Simplify and fit in 80 cols.
7857 (flyspell-casechars-cache, flyspell-ispell-casechars-cache)
7858 (flyspell-not-casechars-cache, flyspell-ispell-not-casechars-cache):
7859 Remove unused vars.
7860 (flyspell-get-casechars, flyspell-get-not-casechars):
7861 Simplify; Don't bother removing a ] just to add it back.
7862 * textmodes/ispell.el (ispell-program-name): Use executable-find.
7863
d209e2fb 78642012-05-18 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
b1a10716
RS
7865
7866 * calc/calc-lang.el (math-C-parse-bess, math-C-parse-fma):
7867 New functions.
bd7239f5 7868 (math-function-table): Add support for more C functions.
b1a10716 7869
3f1b25b5
AM
78702012-05-18 Agustín Martín Domingo <agustin.martin@hispalinux.es>
7871
090bd7cb
JB
7872 * textmodes/flyspell.el (flyspell-check-pre-word-p)
7873 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
7874 Protect delay handling for otherchars against empty otherchars.
3f1b25b5 7875
b581bb5c
SM
78762012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
7877
7878 * emacs-lisp/lisp-mode.el (doc-string-elt): Move those properties to
7879 their respective macro declarations.
7880 * skeleton.el (define-skeleton):
7881 * progmodes/compile.el (define-compilation-mode):
7882 * ibuf-macs.el (define-ibuffer-sorter, define-ibuffer-op)
7883 (define-ibuffer-filter):
7884 * emacs-lisp/generic.el (define-generic-mode):
7885 * emacs-lisp/easy-mmode.el (define-minor-mode)
7886 (define-globalized-minor-mode):
7887 * emacs-lisp/cl-macs.el (defun*, defmacro*, defstruct, deftype):
7888 * emacs-lisp/byte-run.el (defsubst):
7889 * custom.el (deftheme): Add doc-string metadata.
7890
70b8ef8f
SM
78912012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
7892
7893 * emacs-lisp/cl-macs.el, emacs-lisp/cl.el: Move indent info.
7894
b1198e17
SM
78952012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
7896
9abdc45d
SM
7897 * emacs-lisp/pcase.el (pcase--u1): Avoid ((lambda ...) ...).
7898
b1198e17
SM
7899 * emacs-lisp/cl.el: Add edebug specs from cl-specs.el.
7900 * emacs-lisp/cl-macs.el: Idem.
7901 * emacs-lisp/cl-specs.el: Remove.
7902
4735906a
SM
79032012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
7904
7905 Minor renaming of internal CL functions and variables.
7906 * emacs-lisp/cl-seq.el (cl--adjoin): Rename from cl-adjoin.
7907 (cl--position): Rename from cl-position.
7908 (cl--delete-duplicates): Rename from cl-delete-duplicates.
7909 * emacs-lisp/cl.el (cl--gensym-counter): Rename from *gensym-counter*.
7910 (cl--random-state): Rename from *random-state*.
7911
ac348012
SM
79122012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
7913
7914 * emacs-lisp/cl-macs.el (cl-transform-lambda): Don't add spurious
7915 parens around the arg list (bug#11499).
7916
a0a79cde
JL
79172012-05-17 Juri Linkov <juri@jurta.org>
7918
7919 * isearch.el (word-search-regexp, word-search-backward)
7920 (word-search-forward, word-search-backward-lax)
7921 (word-search-forward-lax): Move functions from search.c
7922 (bug#10145, bug#11381).
7923
65034a51
AM
79242012-05-16 Agustín Martín Domingo <agustin.martin@hispalinux.es>
7925
090bd7cb
JB
7926 * textmodes/flyspell.el (flyspell-check-pre-word-p)
7927 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
7928 Delay for otherchars as for normal word components.
65034a51 7929
1a72a195
SM
79302012-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
7931
7932 * minibuffer.el (completion--sifn-requote): Fix last change.
7933 (minibuffer-local-must-match-filename-map):
7934 Move define-obsolete-variable-alias before its var.
7935
fdb058c2
SM
79362012-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
7937
c41045e6
SM
7938 * emacs-lisp/pcase.el (pcase-let*, pcase-let): Fix edebug spec.
7939
036dfb8b
SM
7940 * minibuffer.el (completion--sifn-requote): Handle sifn's truncation
7941 behavior.
7942 (completion--string-equal-p): New function.
7943 (completion--twq-all): Use it to get better assertion failure data.
7944
2473256d
SM
7945 Only handle ".." and '..' quoting in shell-mode (bug#11466).
7946 * shell.el (shell--unquote&requote-argument, shell--unquote-argument)
7947 (shell--requote-argument): New functions.
7948 (shell-completion-vars): Use them.
7949 (shell--parse-pcomplete-arguments): Rename from
7950 shell-parse-pcomplete-arguments.
7951 * comint.el (comint-word): Obey comint-file-name-quote-list. Simplify.
7952 (comint--unquote&requote-argument): Don't handle ".." and '..' quoting.
7953 Obey comint-file-name-quote-list.
7954
fdb058c2
SM
7955 * emacs-lisp/smie.el (smie-indent--bolp-1): New function.
7956 (smie-indent-keyword): Use it.
7957
51fa99f1
SM
79582012-05-14 Stefan Merten <smerten@oekonux.de>
7959
7960 * textmodes/rst.el (rst-re-alist): Fix loading (bug#11462).
7961
e18afed7 79622012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
d9d1dfef
SM
7963
7964 * net/rlogin.el (rlogin-mode-map): Fix last change.
7965
e18afed7 79662012-05-14 Jason L. Wright <jason.wright@inl.gov> (tiny change)
8633b1f4
JW
7967
7968 * mail/smtpmail.el (smtpmail-send-command): Send the command and
7969 the following \r\n using a single `process-send-string', since the
7970 Lotus SMTP server refuses to accept any commands if they are sent
e18afed7 7971 with two `process-send-string's (Bug#11444).
8633b1f4 7972
e18afed7 79732012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
fe263b8f 7974
fdb058c2
SM
7975 * shell.el (shell-parse-pcomplete-arguments):
7976 Obey pcomplete-arg-quote-list inside double-quoted args (Bug#11348).
e18afed7 7977
2d21d7f6
WJ
79782012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
7979
e18afed7 7980 * image-mode.el: Fit to width/height for rotated images (Bug#11431).
2d21d7f6
WJ
7981 (image-transform-scale, image-transform-right-angle-fudge): New vars.
7982 (image-transform-width, image-transform-fit-width): New functions.
7983 (image-transform-properties): Use them.
7984 (image-transform-check-size): New function.
7985 (image-toggle-display-image): Use it (for testing).
7986 (image-transform-set-rotation): Reduce angle mod 360.
7987 Delete obsolete comment.
7988
7102e6d0
WJ
79892012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
7990
7991 * image-mode.el: Fix scaling (bug#11399).
7992 (image-transform-resize): Doc fix.
7993 (image-transform-properties): Default scale is 1 and height should
7994 be an integer.
7995
06bc5e6e
SM
79962012-05-13 Johan Bockgård <bojohan@gnu.org>
7997
7998 * emacs-lisp/smie.el (smie-next-sexp): Use accessor `op-forw' rather
7999 than hard-coding `car', to fix misbehavior when moving forward.
8000
0ae03b6a
CY
80012012-05-13 Chong Yidong <cyd@gnu.org>
8002
8003 * emacs-lisp/tabulated-list.el (tabulated-list-format)
8004 (tabulated-list-entries, tabulated-list-padding)
8005 (tabulated-list-sort-key): Make permanent-local.
8006
8007 * ebuff-menu.el: Adapt to Buffer Menu changes (Bug#11455).
8008 (electric-buffer-list): Put electric buffer menu
8009 command descriptions in this docstring, instead of the docstring
8010 of electric-buffer-menu-mode. Code cleanups.
8011 (electric-buffer-menu-mode): Use define-derived-mode. Rename from
8012 Electric-buffer-menu-mode.
8013 (electric-buffer-update-highlight): Minor code cleanup.
8014
205a7391
MA
80152012-05-13 Michael Albinus <michael.albinus@gmx.de>
8016
8017 * net/dbus.el (dbus-call-method): Restore events not from D-Bus.
8018 (Bug#11447)
8019
e5bd0a28
SM
80202012-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
8021
8022 Move define-obsolete-variable-alias before the var's definition.
8023 * vc/log-edit.el (vc-comment-ring, vc-comment-ring-index):
8024 * tooltip.el (tooltip-hook):
8025 * textmodes/reftex-toc.el (reftex-toc-map):
8026 * textmodes/reftex-sel.el (reftex-select-label-map)
8027 (reftex-select-bib-map):
8028 * textmodes/reftex-index.el (reftex-index-map)
8029 (reftex-index-phrases-map):
8030 * speedbar.el (speedbar-syntax-table, speedbar-key-map):
8031 * progmodes/meta-mode.el (meta-mode-map):
8032 * novice.el (disabled-command-hook):
8033 * loadhist.el (unload-hook-features-list):
8034 * frame.el (blink-cursor):
8035 * files.el (find-file-not-found-hooks, write-file-hooks)
8036 (write-contents-hooks):
8037 * emulation/tpu-edt.el (GOLD-map):
8038 * emacs-lock.el (emacs-lock-from-exiting):
8039 * emacs-lisp/generic.el (generic-font-lock-defaults):
8040 * emacs-lisp/chart.el (chart-map):
8041 * dos-fns.el (register-name-alist):
8042 * dired-x.el (dired-omit-files-p):
8043 * desktop.el (desktop-enable):
8044 * cus-edit.el (custom-mode-hook):
8045 * buff-menu.el (buffer-menu-mode-hook):
8046 * bookmark.el (bookmark-read-annotation-text-func)
8047 (bookmark-exit-hooks):
8048 * allout.el (allout-mode-deactivate-hook)
8049 (allout-exposure-change-hook, allout-structure-added-hook)
8050 (allout-structure-deleted-hook, allout-structure-shifted-hook):
8051 * dirtrack.el (dirtrack-toggle, dirtrackp, dirtrack-debug-toggle)
8052 (dirtrack-debug): Move call to define-obsolete-variable-alias so it
8053 comes before the corresponding variable's definition.
8054
ac59c2f6
CY
80552012-05-12 Chong Yidong <cyd@gnu.org>
8056
8057 * buff-menu.el (Buffer-menu-buffer+size-width): Doc fix (Bug#11454).
0d909786
CY
8058 (Buffer-menu-mouse-select): Restore function (Bug#11459).
8059 (Buffer-menu-mode-map): Bind it.
8060 (Buffer-menu--pretty-name): Add a mouse-face property.
ac59c2f6 8061
dee6c9a3
SM
80622012-05-11 Stefan Monnier <monnier@iro.umontreal.ca>
8063
2171cea5
SM
8064 * progmodes/prolog.el: Use SMIE. Cleanup regexp setup.
8065 (prolog-upper-case-string, prolog-lower-case-string)
8066 (prolog-atom-char-regexp, prolog-atom-regexp): Initialize in defconst.
8067 (prolog-use-smie, prolog-smie-grammar): New vars.
8068 (prolog-smie-forward-token, prolog-smie-backward-token)
8069 (prolog-smie-rules): New funs.
8070 (prolog-comment-indent): Remove.
8071 (prolog-mode-variables): Use default comment indentation instead.
8072 Setup SMIE.
8073 (prolog-build-case-strings, prolog-set-atom-regexps): Remove.
8074 (prolog-mode): Don't call them any more.
8075 (prolog-electric-colon, prolog-electric-dash)
8076 (prolog-edit-menu-insert-move): Use indent-according-to-mode.
8077
aa0382bd
SM
8078 * dabbrev.el (dabbrev-expand): Make "no expansion found" a user-error.
8079
dbacb4bd
SM
8080 * minibuffer.el (completion--twq-all): Again, allow case differences.
8081
13bdd94c
SM
8082 * term.el: Move keymap initialization code to be more idiomatic.
8083 (term-signals-menu, term-mode-map, term-raw-map, term-raw-escape-map)
8084 (term-terminal-menu): Move initialization into declaration.
8085 (term-escape-char): Let the user set it in her .emacs.
8086
ff46c759
SM
8087 * progmodes/sh-script.el: Use post-self-insert-hook&electric-pair-mode.
8088 Provide SMIE-based indentation (not enabled by default yet).
8089 (sh-mode-map): Don't bind electric keys.
8090 Use electric-pair-mode instead of skeleton-pair.
8091 (sh-assignment-regexp): Fit within 80 columns.
8092 (sh-indent-supported): Specify actual shell name instead of boolean.
8093 (sh--maybe-here-document): New fun, from sh-maybe-here-document.
8094 (sh-maybe-here-document): Use it. Make obsolete.
8095 (sh-electric-here-document-mode) New minor mode.
8096 (sh-mode): Use it. Don't set sh-indent-supported-here here.
8097 (sh-smie-sh-grammar, sh-smie--sh-operators, sh-smie--sh-operators-re)
8098 (sh-smie--sh-operators-back-re, sh-indent-after-continuation)
8099 (sh-smie-rc-grammar, sh-use-smie): New vars.
8100 (sh-smie--keyword-p, sh-smie--newline-semi-p, sh-smie--sh-keyword-p)
8101 (sh-smie-sh-forward-token, sh-smie--looking-back-at-continuation-p)
8102 (sh-smie-sh-backward-token, sh-smie--continuation-start-indent)
8103 (sh-smie-sh-rules, sh-smie-rc-rules, sh-smie--sh-keyword-in-p)
8104 (sh-smie--rc-after-special-arg-p, sh-smie-rc-backward-token)
8105 (sh-smie-sh-rules, sh-smie--rc-newline-semi-p): New functions.
8106 (sh-set-shell): Use smie-setup if requested.
8107
dee6c9a3
SM
8108 * term.el (term-set-escape-char): Properly set term-escape-char.
8109 See http://stackoverflow.com/questions/10524656.
8110
9f9aa044
CY
81112012-05-10 Chong Yidong <cyd@gnu.org>
8112
8113 * ffap.el (ffap-url-unwrap-local): Make it work right (Bug#9131).
8114 Use url-generic-parse-url, and handle host names and Windows
8115 filenames properly.
8116 (ffap-url-unwrap-remote): Use url-generic-parse-url.
8117 (ffap-url-unwrap-remote): Accept list values, specifying a list of
8118 URL schemes to work on.
8119 (ffap--toggle-read-only): New function.
8120 (ffap-read-only, ffap-read-only-other-window)
8121 (ffap-read-only-other-frame): Use it.
8122 (ffap-fixup-url): Don't check ffap-ftp-regexp, since it is not
8123 necessary for ffap-url-unwrap-remote.
8124
836d29b3
DA
81252012-05-10 Dave Abrahams <dave@boostpro.com>
8126
8127 * cus-start.el (create-lockfiles): Add it.
8128
00fd78ed
CY
81292012-05-09 Chong Yidong <cyd@gnu.org>
8130
8131 * net/browse-url.el (browse-url-url-encode-chars): Use upper-case.
8132 (browse-url-encode-url): Encode spaces and quotes (Bug#6300).
8133
666b903b 81342012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
1cb51c12
SM
8135
8136 * shell.el (shell-completion-vars): Fix last change (bug#11348).
8137
666b903b 81382012-05-09 Chong Yidong <cyd@gnu.org>
18f00515
CY
8139
8140 * ansi-color.el (ansi-color-process-output): Check for validity of
8141 comint-last-output-start before using it. This avoids a bad
8142 interaction with gdb-mi's input/output buffer.
8143
666b903b 81442012-05-09 Glenn Morris <rgm@gnu.org>
fd075e7b
GM
8145
8146 * files.el (dir-locals-read-from-file):
8147 Mention dir-locals in any error message.
8148
666b903b 81492012-05-09 Chong Yidong <cyd@gnu.org>
25f292cd
CY
8150
8151 * emacs-lisp/package.el (package-built-in-p): Handle the `emacs'
8152 package (Bug#11410).
8153
f677562b
CY
8154 * emacs-lisp/package.el (package-buffer-info): Avoid putting local
8155 variables into description.
8156
666b903b 81572012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
3d53ee1b
SM
8158
8159 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list like
8160 shell-delimiter-argument-list (bug#11348).
8161 (shell-parse-pcomplete-arguments): Obey pcomplete-arg-quote-list.
8162
b499d8d0
JB
81632012-05-09 Juanma Barranquero <lekktu@gmail.com>
8164
8f6b6da8
JB
8165 * textmodes/rst.el: Silence byte-compiler warnings.
8166 (rst-re-alist, rst-reset-section-caches): Move around.
8167 (rst-re): Use `characterp', not `char-valid-p'.
8168 (font-lock-beg, font-lock-end): Declare.
8169
4824146a
JB
8170 * progmodes/idlw-shell.el (specs): Remove reference to deleted
8171 variable `idlwave-shell-activate-alt-keybindings' and simplify.
8172
b499d8d0
JB
8173 * eshell/esh-cmd.el (eshell-debug-command): Fix typo in previous change.
8174
ad89bb83
GM
81752012-05-08 Glenn Morris <rgm@gnu.org>
8176
8177 * files.el (auto-mode-alist): Treat ".make" like ".mk".
8178
8bba5a75
SM
81792012-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
8180
49ed9c8e
SM
8181 * vc/log-edit.el: Add GNU coding standards highlighting.
8182 (log-edit-font-lock-gnu-style)
8183 (log-edit-font-lock-gnu-keywords): New vars.
8184 (log-edit-font-lock-keywords): New fun.
8185 (log-edit-mode): Don't fold case in font-lock.
8186 (log-edit-font-lock-keywords): Do not assume case-folding.
8187
07d00b56
SM
8188 * imenu.el: Misc cleanup. Make docstrings out of comments.
8189 Use lexical-binding.
8190 (imenu--index-alist, imenu--last-menubar-index-alist)
8191 (imenu-menubar-modified-tick): Use defvar-local.
8192 (imenu--split-menu): Remove unused var.
8193 (imenu--cleanup-seen): Declare as global.
8194 (imenu--cleanup): Use dolist.
8195
8bba5a75
SM
8196 * subr.el (defvar-local): Add debug spec and doc-string position.
8197
5075bdb5
GM
81982012-05-08 Glenn Morris <rgm@gnu.org>
8199
090bd7cb 8200 * language/burmese.el, language/cham.el, language/czech.el:
c052c904
GM
8201 * language/english.el, language/georgian.el, language/greek.el:
8202 * language/japanese.el, language/khmer.el, language/korean.el:
8203 * language/lao.el, language/misc-lang.el, language/romanian.el:
8204 * language/sinhala.el, language/slovak.el, language/tai-viet.el:
8205 * language/thai.el, language/utf-8-lang.el:
8206 Remove no-byte-compile setting.
8207
5075bdb5
GM
8208 * play/zone.el (zone-pgm-stress): Don't pollute kill-ring. (Bug#11388)
8209
06f679a7
AH
82102012-05-08 Aaron S. Hawley <aaron.s.hawley@gmail.com>
8211
8212 * progmodes/make-mode.el (makefile-browse):
8213 Remove unnecessary interactive. (Bug#11324)
8214
03794570
GM
82152012-05-07 Glenn Morris <rgm@gnu.org>
8216
af8630f4
GM
8217 * forms-d2.el, forms-pass.el: Move to ../etc/forms directory.
8218
03794570
GM
8219 * international/mule.el (find-auto-coding): Make "unibyte: t" obsolete.
8220
f0809a9d
SM
82212012-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
8222
28be5ce7
SM
8223 * loadup.el: Preload newcomment.el.
8224 * newcomment.el: Move autoload-only code to toplevel.
8225
f0809a9d
SM
8226 * buff-menu.el (list-buffers--refresh): Mark `size' as right-align.
8227 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
8228 Handle new :right-align column property.
8229 (tabulated-list-print-col): Idem, plus use `display' text-property to
8230 try and preserve alignment for variable pitch fonts.
8231
1241b724
CY
82322012-05-07 Chong Yidong <cyd@gnu.org>
8233
8234 * emacs-lisp/tabulated-list.el: Add no-header-line alternative.
8235 (tabulated-list-use-header-line): New var.
8236 (tabulated-list-init-header): Use it.
8237 (tabulated-list-print-fake-header): New function.
8238 (tabulated-list-print): Use it.
8239 (tabulated-list-sort-button-map): Add non-header-line commands.
8240 (tabulated-list-init-header): Add column name property to basic
8241 labels as well.
8242 (tabulated-list-col-sort): Handle non-header-line button case.
8243 (tabulated-list--sort-by-column-name): Fix a corner case.
8244
f0809a9d
SM
8245 * buff-menu.el (list-buffers--refresh):
8246 Handle Buffer-menu-use-header-line.
1241b724 8247
e5f9458f
CY
82482012-05-06 Chong Yidong <cyd@gnu.org>
8249
8250 * buff-menu.el: Convert to Tabulated List mode.
8251 (Buffer-menu-buffer+size-width): Make obsolete.
8252 (Buffer-menu-name-width, Buffer-menu-size-width): New variables.
8253 (Buffer-menu-mode-map): Inherit from tabulated-list-mode-map.
8254 (Buffer-menu-mode): Derive from tabulated-list-mode. Move command
8255 documentation into docstring of buffer-menu.
8256 (Buffer-menu-toggle-files-only): Add an informative message.
8257 (Buffer-menu-sort): Convert to alias for tabulated-list-sort.
8258 (Buffer-menu-buffer, Buffer-menu-beginning, Buffer-menu-mark)
8259 (Buffer-menu-unmark, Buffer-menu-backup-unmark)
8260 (Buffer-menu-delete, Buffer-menu-save, Buffer-menu-not-modified)
8261 (Buffer-menu-execute, Buffer-menu-select)
8262 (Buffer-menu-marked-buffers, Buffer-menu-toggle-read-only)
8263 (Buffer-menu-bury): Use Tabulated List machinery.
8264 (Buffer-menu-mouse-select, Buffer-menu-sort-by-column)
8265 (Buffer-menu-sort-button-map, Buffer-menu-make-sort-button):
f0809a9d 8266 Delete.
e5f9458f
CY
8267 (list-buffers--refresh): New function.
8268 (list-buffers-noselect): Use it.
8269 (tabulated-list-entry-size->, Buffer-menu--pretty-name)
8270 (Buffer-menu--pretty-file-name): New helper functions.
8271
8272 * loadup.el: Preload tabulated-list.
8273
8274 * emacs-lisp/tabulated-list.el (tabulated-list-sort): Rename from
8275 tabulated-list-sort-column.
8276 (tabulated-list-init-header): Add the initial aligning space even
8277 if tabulated-list-padding is zero.
8278
e129292c
CS
82792012-05-06 Christopher Schmidt <christopher@ch.ristopher.com>
8280
8281 * emacs-lisp/cl-macs.el (cl-expr-contains): Handle cons cells
8282 whose cdr is not a cons cell correctly (bug#11038).
8283
6632d361
CY
82842012-05-06 Chong Yidong <cyd@gnu.org>
8285
e129292c
CS
8286 * emacs-lisp/tabulated-list.el (tabulated-list-format):
8287 Accept additional plist in column descriptors.
6632d361
CY
8288 (tabulated-list-init-header): Obey it.
8289 (tabulated-list-get-entry): New function.
8290 (tabulated-list-put-tag): Use it. Use string-width instead of
8291 length.
8292 (tabulated-list--column-number): New function.
8293 (tabulated-list-print): Use it.
e129292c
CS
8294 (tabulated-list-print-col): New function.
8295 Set `tabulated-list-column-name' property on each column's text.
6632d361 8296 (tabulated-list-print-entry): Use it.
e129292c
CS
8297 (tabulated-list-delete-entry, tabulated-list-set-col):
8298 New functions.
6632d361
CY
8299 (tabulated-list-sort-column): New command (Bug#11337).
8300
3cc99f68
CY
8301 * buff-menu.el (list-buffers): Move C-x C-b binding from
8302 buff-menu.el to bindings.el.
8303
8304 * ebuff-menu.el (Electric-buffer-menu-undefined): Use the
8305 :advertised-binding feature.
8306
52b61776
TN
83072012-05-06 Troels Nielsen <bn.troels@gmail.com> (tiny change)
8308
8309 * progmodes/compile.el (compilation-internal-error-properties):
8310 Calculate start position correctly when end-col is set but
8311 end-line is not (Bug#11382).
8312
ebfe2597
WJ
83132012-05-06 Wolfgang Jenkner <wjenkner@inode.at>
8314
8315 * man.el (Man-unindent): Use text-property-default-nonsticky to
8316 prevent untabify from inheriting face properties (Bug#11408).
8317
6d3f7c2f
SM
83182012-05-05 Stefan Merten <smerten@oekonux.de>
8319
8320 * textmodes/rst.el: Major merge with upstream development up to
8321 Docutils SVN r7399 / rst.el V1.2.1.
8322
8323 Clarify maintainership and authors.
8324
8325 (rst-extract-version, rst-cvs-header, rst-cvs-rev)
8326 (rst-cvs-timestamp, rst-svn-rev, rst-svn-timestamp)
8327 (rst-official-version, rst-official-cvs-rev, rst-version)
8328 (rst-package-emacs-version-alist): New functions and variables
8329 for version information.
8330
8331 (rst-bullets, rst-uri-schemes, rst-adornment-chars)
8332 (rst-max-inline-length, rst-re-alist-def, rst-re-alist)
8333 (rst-mode-syntax-table, rst-mode): New and corrected functions
8334 and variables representing reStructuredText features.
8335
8336 (rst-re): New function for reStructuredText regexes. Use in
8337 many places.
8338
8339 (rst-deprecated-keys, rst-call-deprecated, rst-define-key)
8340 (rst-mode-map): Rebind keys.
8341
8342 (rst-mode-lazy, rst-font-lock-keywords)
8343 (rst-font-lock-extend-region)
8344 (rst-font-lock-extend-region-internal)
8345 (rst-font-lock-extend-region-extend)
8346 (rst-font-lock-find-unindented-line-limit)
8347 (rst-font-lock-find-unindented-line-match)
8348 (rst-adornment-level, rst-font-lock-adornment-level)
8349 (rst-font-lock-adornment-match)
8350 (rst-font-lock-handle-adornment-pre-match-form)
8351 (rst-font-lock-handle-adornment-matcher): Major revision of
8352 font-locking. Integrate with other code. Use `jit-lock-mode'.
8353
8354 (rst-preferred-adornments, rst-adjust-hook)
8355 (rst-new-adornment-down, rst-preferred-bullets)
8356 (rst-preferred-bullets, rst-indent, rst-indent-width)
8357 (rst-indent-field, rst-indent-literal-normal)
8358 (rst-indent-literal-minimized, rst-indent-comment): Change,
8359 extend and improve customization.
8360
8361 (rst-line-homogeneous-p, rst-line-homogeneous-nodent-p)
8362 (rst-normalize-cursor-position, rst-get-decoration)
8363 (rst-straighten-deco-spacing, rst-re-bullets, rst-re-items)
8364 (rst-rstrip, rst-toc-insert-find-delete-contents)
8365 (rst-shift-fill-region, rst-compute-bullet-tabs)
8366 (rst-debug-print-tabs, rst-debug-mark-found)
8367 (rst-shift-region-guts, rst-shift-region-right)
8368 (rst-shift-region-left, rst-use-char-classes)
8369 (rst-font-lock-keywords-function)
8370 (rst-font-lock-indentation-point)
8371 (rst-font-lock-find-unindented-line-begin)
8372 (rst-font-lock-find-unindented-line-end)
8373 (rst-font-lock-find-unindented-line)
8374 (rst-font-lock-adornment-point, rst-font-lock-level)
8375 (rst-adornment-level-alist): Remove functions and variables.
8376
8377 (rst-compare-adornments, rst-get-adornment-match)
8378 (rst-suggest-new-adornment, rst-get-adornments-around)
8379 (rst-adornment-complete-p, rst-get-next-adornment)
8380 (rst-adjust-adornment, rst-display-adornments-hierarchy)
8381 (rst-straighten-adornments): Standardize function names to
8382 use "adornment" instead of "decoration". Correct callers.
8383 Similar standardizing in many places.
8384
8385 (rst-update-section, rst-adjust, rst-promote-region)
8386 (rst-enumerate-region, rst-bullet-list-region)
8387 (rst-repeat-last-character): Correct use of `interactive'.
8388
8389 (rst-classify-adornment, rst-find-all-adornments)
8390 (rst-get-hierarchy, rst-adjust-adornment, rst-toc-update)
8391 (rst-find-leftmost-column, rst-repeat-last-character):
8392 Refactor functions.
8393
8394 (rst-find-title-line, rst-reset-section-caches)
8395 (rst-get-adornments-around, rst-adjust-adornment-work)
8396 (rst-arabic-to-roman, rst-roman-to-arabic)
8397 (rst-insert-list-pos, rst-insert-list-new-item)
8398 (rst-insert-list-continue, rst-insert-list, rst-forward-line):
8399 New functions.
8400
8401 (rst-all-sections, rst-section-hierarchy)
8402 (rst-arabic-to-roman, rst-initial-enums, rst-initial-items):
8403 New variables.
8404
8405 (rst-toc-return-wincfg, rst-toc-quit-window): Use window
8406 configuration instead of only buffer. Change where necessary.
8407
8408 (rst-line-tabs, rst-compute-tabs, rst-indent-line)
8409 (rst-shift-region, rst-adaptive-fill): New functions for
8410 indentation and filling.
8411
8412 (rst-comment-line-break, rst-comment-indent)
8413 (rst-comment-insert-comment, rst-comment-region)
8414 (rst-uncomment-region): New functions for handling comments.
8415
8416 (rst-compile): Quote shell arguments.
8417
8418 (rst-compile-pdf-preview, rst-compile-slides-preview):
8419 Delete temporary files after use.
8420
a43f98b3
GM
84212012-05-05 Glenn Morris <rgm@gnu.org>
8422
48176e8b
GM
8423 * calendar/cal-html.el: Optionally include holidays in the output.
8424 Suggested by Ed Reingold <reingold@emr.cs.iit.edu>.
8425 (cal-html-holidays): New option.
8426 (cal-html-css-default): Add holiday entry.
8427 (holiday-in-range): Autoload it.
8428 (cal-html-htmlify-entry): Add optional class argument.
8429 (cal-html-htmlify-list): Add optional holidays argument.
8430 (cal-html-insert-agenda-days): Include holidays in the output.
8431 (cal-html-one-month): Maybe include holidays.
8432
a43f98b3
GM
8433 * calendar/holidays.el (holiday-in-range):
8434 Move here from cal-tex-list-holidays.
8435 * calendar/cal-tex.el (cal-tex-list-holidays):
8436 Make it an obsolete alias for holiday-in-range. Update all callers.
8437
fef9d149 84382012-05-05 Chong Yidong <cyd@gnu.org>
eceeb5fc
CY
8439
8440 * select.el (xselect--encode-string): Always use utf-8 for TEXT on
8441 Nextstep.
8442
248da2f4
RW
84432012-05-05 Ransom Williams <auvergnerw@gmail.com> (tiny change)
8444
8445 * files.el (file-auto-mode-skip): New var.
8446 (set-auto-mode-1): Use it.
8447
f95e9344
SM
84482012-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
8449
df96ab1e
SM
8450 * repeat.el: Use lexical-binding.
8451 (repeat-last-self-insert, repeat-num-input-keys-at-self-insert)
8452 (repeat-undo-count): Remove.
8453 (repeat):
8454 * progmodes/octave-mod.el (octave-abbrev-start):
8455 * progmodes/f90.el (f90-abbrev-start):
8456 * face-remap.el (text-scale-adjust):
8457 * kmacro.el (kmacro-call-macro): Use set-temporary-overlay-map.
8458
5342bb06
SM
8459 * emacs-lisp/pcase.el (pcase--let*): New function.
8460 (pcase--expand, pcase-codegen, pcase--q1): Use it to reduce nesting
8461 a bit more.
8462 (pcase--split-pred): Be more clever about ruling out overlap between
8463 a predicate and some constant pattern.
8464 (pcase--q1): Use `null' instead of (eq foo nil).
8465
f95e9344
SM
8466 * subr.el (setq-local, defvar-local): New macros.
8467 (kbd): Redefine as an alias.
8468 (with-selected-window): Leave unrelated frames alone.
8469 (set-temporary-overlay-map): New function.
8470
71873e2b
SM
84712012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
8472
8473 * subr.el (user-error): New function.
8474 * window.el (switch-to-buffer):
8475 * vc/smerge-mode.el (smerge-resolve-function, smerge-resolve)
8476 (smerge-match-conflict):
8477 * simple.el (previous-matching-history-element)
8478 (next-matching-history-element, goto-history-element, undo-more)
8479 (undo-start):
8480 * progmodes/etags.el (visit-tags-table-buffer, find-tag-tag)
8481 (find-tag-noselect, find-tag-in-order, etags-goto-tag-location)
8482 (next-file, tags-loop-scan, list-tags, complete-tag):
8483 * progmodes/compile.el (compilation-loop):
8484 * mouse.el (mouse-minibuffer-check):
8485 * man.el (Man-bgproc-sentinel, Man-goto-page):
8486 * info.el (Info-find-node-2, Info-extract-pointer, Info-history-back)
8487 (Info-history-forward, Info-follow-reference, Info-menu)
8488 (Info-extract-menu-item, Info-extract-menu-counting)
8489 (Info-forward-node, Info-backward-node, Info-next-menu-item)
8490 (Info-last-menu-item, Info-next-preorder, Info-last-preorder)
8491 (Info-next-reference, Info-prev-reference, Info-index)
8492 (Info-index-next, Info-follow-nearest-node)
8493 (Info-copy-current-node-name):
8494 * imenu.el (imenu--make-index-alist)
8495 (imenu-default-create-index-function, imenu-add-to-menubar):
8496 * files.el (basic-save-buffer, recover-file):
8497 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
8498 * emacs-lisp/checkdoc.el (checkdoc-continue, checkdoc-comments)
8499 (checkdoc-message-text, checkdoc-defun):
8500 * dabbrev.el (dabbrev-completion, dabbrev--abbrev-at-point):
8501 * cus-edit.el (customize-changed-options, customize-rogue)
8502 (customize-saved, custom-variable-set, custom-variable-mark-to-save)
8503 (custom-variable-mark-to-reset-standard)
8504 (custom-variable-reset-backup, custom-face-mark-to-reset-standard)
8505 (custom-file):
8506 * completion.el (check-completion-length):
8507 * comint.el (comint-search-arg)
8508 (comint-previous-matching-input-string-position)
8509 (comint-previous-matching-input)
8510 (comint-replace-by-expanded-history-before-point, comint-send-input)
8511 (comint-copy-old-input, comint-backward-matching-input)
8512 (comint-goto-process-mark, comint-set-process-mark):
8513 * calendar/calendar.el (calendar-cursor-to-date): Use it.
8514 * bindings.el (debug-ignored-errors): Remove regexps, add `user-error'.
8515
8a61ee22
SM
85162012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
8517
66408d1e
SM
8518 * dabbrev.el (dabbrev--ignore-case-p): New function.
8519 (dabbrev-completion, dabbrev-expand, dabbrev--substitute-expansion):
8520 Use it.
8521
8a61ee22
SM
8522 * files.el (automount-dir-prefix): Mark as obsolete.
8523
3c74813a
GM
85242012-05-04 Glenn Morris <rgm@gnu.org>
8525
8526 * patcomp.el, play/bruce.el: Move to obsolete/.
8527
0bfcf5c5
PE
85282012-05-04 Paul Eggert <eggert@cs.ucla.edu>
8529
8530 Fix minor Y10k bugs.
8531 * arc-mode.el (archive-unixdate):
8532 * autoinsert.el (auto-insert-alist):
8533 * calc/calc-forms.el (math-this-year):
8534 * emacs-lisp/copyright.el (copyright-current-year)
8535 (copyright-update-year, copyright):
8536 * tar-mode.el (tar-clip-time-string):
8537 * time.el (display-time-update):
8538 Don't assume years have 4 digits.
8539
78f3273a
CY
85402012-05-04 Chong Yidong <cyd@gnu.org>
8541
8542 * dos-w32.el (file-name-buffer-file-type-alist)
8543 (direct-print-region-use-command-dot-com):
8544 * ffap.el (ffap-menu-regexp):
8545 * find-file.el (ff-special-constructs):
8546 * follow.el (follow-debug):
8547 * forms.el (forms--debug):
8548 * iswitchb.el (iswitchb-all-frames):
8549 * ido.el (ido-all-frames):
8550 * emacs-lisp/timer.el (timer-max-repeats):
8551 * mail/feedmail.el (feedmail-mail-send-hook)
8552 (feedmail-mail-send-hook-queued):
8553 * mail/footnote.el (footnote-signature-separator):
8554 * mail/mailabbrev.el (mail-alias-separator-string)
8555 (mail-abbrev-mode-regexp):
8556 * mail/rmail.el (rmail-speedbar-match-folder-regexp):
8557 * progmodes/idlwave.el (idlwave-libinfo-file)
8558 (idlwave-default-completion-case-is-down)
8559 (idlwave-library-routines): Convert defvars to defcustoms.
8560
8561 * mail/rmail.el (rmail-decode-mime-charset):
8562 * progmodes/idlw-shell.el (idlwave-shell-print-expression-function)
8563 (idlwave-shell-fix-inserted-breaks)
8564 (idlwave-shell-activate-alt-keybindings)
8565 (idlwave-shell-use-breakpoint-glyph):
8566 * facemenu.el (facemenu-unlisted-faces): Delete obsolete vars.
8567
f7ae6719
SM
85682012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
8569
8570 * minibuffer.el (completion--twq-all): Beware completion-ignore-case.
8571
47086495
WS
85722012-05-03 Wilson Snyder <wsnyder@wsnyder.org>
8573
8574 * progmodes/verilog-mode.el (font-lock-keywords):
8575 Fix mis-highligting auto. Reported by Craig Barner.
8576 (verilog-auto, verilog-auto-undef): Add AUTOUNDEF to remove
fc0c31f8 8577 defines from global name space. Reported by Dan Dever.
47086495
WS
8578 (verilog-auto-reset, verilog-auto-reset-widths)
8579 (verilog-auto-tieoff): Support using unbased numbers for
8580 AUTORESET and AUTOTIEOFF.
8581 (verilog-submit-bug-report): Update variable list.
8582 (verilog-read-auto-params): Fix AUTOINPUT regexps containing
fc0c31f8 8583 parenthesis from not matching. Reported by Michael Rytting.
47086495
WS
8584 (verilog-auto-template-lint): Fix hash error when linting modules
8585 with no used templates.
8586 (verilog-warn, verilog-warn-error)
8587 (verilog-warn-fatal): When non-interactive report multiple
8588 warnings before exiting. Suggested by Brad Dobbie.
8589 (verilog-auto-template-lint, verilog-auto-template-warn-unused)
8590 (verilog-read-auto-template): Add `verilog-auto-template-warn-unused'
8591 to report unused template errors. Reported by Brad Dobbie.
8592 (verilog-read-decls): Fix AUTOWIRE etc on supply0, supply1 type
fc0c31f8 8593 nets, bug438. Reported by Vns Blore.
47086495
WS
8594 (verilog-auto-inout-module, verilog-auto-reg)
8595 (verilog-read-decls, verilog-read-sub-decls-sig)
8596 (verilog-signals-edit-wire-reg, verilog-signals-with):
8597 Fix passing of Verilog data types in ANSI input/output ports
fc0c31f8 8598 such as "output logic" into the AUTOs. Special case "wire" and
47086495
WS
8599 "reg" for backwards compatibility presuming Verilog 2001.
8600 (verilog-auto-ascii-enum): Add "auto enum" as alias.
8601 (verilog-preprocess): Fix replication of preprocess output.
8602 Reported by Brad Dobbie.
8603 (verilog-auto-inst-interfaced-ports):
8604 Create verilog-auto-inst-interfaced-ports, bug429.
8605 Reported by Julian Gorfajn.
8606 (verilog-after-save-font-hook)
8607 (verilog-before-save-font-hook): New variable.
8608 (verilog-modi-cache-results, verilog-save-font-mod-hooked)
8609 (verilog-save-font-mods): Wrap disabling fontification, reported
8610 by David Rogoff.
8611 (verilog-do-indent, verilog-pretty-declarations-auto)
8612 (verilog-sk-def-reg): Fix obeying `verilog-auto-lineup', bug305.
8613 Reported by Pierre-David Pfister.
8614 (verilog-set-auto-endcomments): Fix endtask auto comments outside
8615 of class declarations, bug292. Reported by Kevin Heilman.
8616 (verilog-read-decls): Fix 'parameter type' not appearing in
8617 AUTOINSTPARAM, bug340. Reported by Jonathan Greenlaw.
8618 (verilog-auto-logic): Fix when AUTOLOGIC present to properly do
fc0c31f8 8619 AUTOINPUTs, bug411. Reported by Jonathan Greenlaw.
47086495
WS
8620 (verilog-read-auto-lisp): Avoid syntax-ppss warning on AUTOLISP.
8621 Reported by David Kravitz.
8622
86232012-05-03 Michael McNamara <mac@mail.brushroad.com>
8624
8625 * progmodes/verilog-mode.el (verilog-pretty-expr): Don't line up
8626 assignment with tests in ifs and for loops.
8627 (verilog-extended-complete-re, verilog-complete-reg): Change so
8628 that DPI inport functions don't look like fuction declarations.
8629 (verilog-pretty-expr): Don't line up assignment
8630 operations to the test and increment in if and for loops
8631 (verilog-extended-complete-re, verilog-complete-reg): Change so
090bd7cb 8632 that DPI inport functions don't look like fuction declarations.
47086495 8633
2e51d4b5
KH
86342012-05-03 Kenichi Handa <handa@m17n.org>
8635
8636 * mail/rmailmm.el (rmail-show-mime): Catch an error caused by text
c846da43 8637 decoding, and show a warning message without signaling an error
2e51d4b5
KH
8638 (Bug#11282).
8639
2bd785a2
SM
86402012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
8641
8642 * emacs-lisp/bytecomp.el
8643 (byte-compile-file-form-custom-declare-variable): Compile all elements,
8644 since cconv.el might have introduced :fun-body, internal-make-closure,
8645 and friends for bytecomp to handle (bug#11391).
8646 * custom.el (defcustom): Avoid ((λ ..) ..).
8647
99d27583
SM
86482012-05-02 Stefan Monnier <monnier@iro.umontreal.ca>
8649
8650 * subr.el (read-passwd): Better clean after ourselves (bug#11392).
8651
55a71479
JB
86522012-05-02 Juanma Barranquero <lekktu@gmail.com>
8653
8654 * notifications.el (dbus-debug):
8655 * term/linux.el (gpm-mouse-enable):
8656 * term/screen.el (xterm-register-default-colors): Declare.
8657
7b97c764
CY
86582012-05-02 Chong Yidong <cyd@gnu.org>
8659
2bc356d7
CY
8660 * cus-start.el (gc-cons-percentage, exec-suffixes)
8661 (dos-display-scancodes, dos-hyper-key, dos-super-key)
8662 (dos-keypad-mode, debug-on-signal, vertical-centering-font-regexp)
8663 (make-cursor-line-fully-visible, void-text-area-pointer)
8664 (font-list-limit): Add customization data.
8665
7b97c764
CY
8666 * allout.el (allout-exposure-change-functions)
8667 (allout-structure-added-functions)
8668 (allout-structure-deleted-functions)
8669 (allout-structure-shifted-functions): Rename abnormal hooks from
8670 *-hook, and convert to defcustoms.
5d3385a0
JB
8671 (allout-after-copy-or-kill-hook, allout-post-undo-hook):
8672 Convert to defcustoms.
7b97c764
CY
8673 (allout-mode-hook, allout-mode-deactivate-hook): Doc fix.
8674
8675 * allout-widgets.el: Hook callers changed.
8676
90207a15 86772012-05-02 Eli Zaretskii <eliz@gnu.org>
91af76bf
EZ
8678
8679 * mail/rmail.el (rmail-yank-current-message): Use the encoding of
8680 the yanked message in preference to the default value of
8681 buffer-file-coding-system.
8682
90207a15 86832012-05-02 Martin Rudalics <rudalics@gmx.at>
d9558cad 8684
5d3385a0
JB
8685 * window.el (display-buffer--action-function-custom-type):
8686 Fix entry.
d9558cad 8687
90207a15 86882012-05-02 Alan Mackenzie <acm@muc.de>
09affde0
AM
8689
8690 * progmodes/cc-defs.el (c-version): Update to 5.32.3.
8691
d80ac57b
GM
86922012-05-01 Glenn Morris <rgm@gnu.org>
8693
976f7668
GM
8694 * cus-start.el (suggest-key-bindings): Remove, now it is in Lisp.
8695
beb83b5a
GM
8696 * eshell/esh-cmd.el (eshell-debug-command): Doc fix. Add :set.
8697
d80ac57b
GM
8698 * cus-edit.el (custom-variable-documentation): Simplify with format.
8699
b593d6a9 87002012-05-01 Aaron S. Hawley <aaron.s.hawley@gmail.com>
f1a71c6e 8701 Stefan Monnier <monnier@iro.umontreal.ca>
b593d6a9
AH
8702
8703 * simple.el (suggest-key-bindings, execute-extended-command):
8704 Move from keyboard.c.
8705
782fbf2a
CY
87062012-05-01 Chong Yidong <cyd@gnu.org>
8707
8708 * follow.el: Eliminate advice.
8709 (set-process-filter, process-filter, sit-for): Advice deleted.
8710 (follow-mode-off-hook): Obsolete hook removed.
b593d6a9
AH
8711 (follow-avoid-tail-recenter-p, follow-process-filter-alist):
8712 Vars deleted.
782fbf2a
CY
8713 (follow-auto): Use a :set function.
8714 (follow-mode): Rewritten. Don't advise process filters.
8715 (follow-switch-to-current-buffer-all, follow-scroll-up)
8716 (follow-scroll-down): Assume follow-mode is bound.
8717 (follow-comint-scroll-to-bottom)
8718 (follow-align-compilation-windows): New functions.
8719 (follow--window-sorter): New function.
8720 (follow-all-followers): Use it to explicitly sort windows by their
8721 positions; don't make assumptions about next-window order.
8722 (follow-windows-start-end, follow-delete-other-windows-and-split)
8723 (follow-calc-win-start): Doc fix.
8724 (follow-windows-aligned-p, follow-select-if-visible): Don't call
8725 vertical-motion unnecessarily.
8726 (follow-adjust-window): New function.
8727 (follow-post-command-hook): Use it.
8728 (follow-call-set-process-filter, follow-call-process-filter)
8729 (follow-intercept-process-output, follow-tidy-process-filter-alist)
8730 (follow-stop-intercept-process-output, follow-generic-filter):
8731 Functions deleted.
8732 (follow-scroll-bar-toolkit-scroll, follow-scroll-bar-drag)
b593d6a9
AH
8733 (follow-scroll-bar-scroll-up, follow-scroll-bar-scroll-down):
8734 New functions, replacing advice on scroll-bar-* commands.
87233a14 8735 (follow-mwheel-scroll): New function (Bug#4112).
782fbf2a
CY
8736
8737 * comint.el (comint-adjust-point): New function.
b593d6a9
AH
8738 (comint-postoutput-scroll-to-bottom): Use it.
8739 Call follow-comint-scroll-to-bottom for Follow mode buffers.
782fbf2a 8740
290af740
GM
87412012-05-01 Glenn Morris <rgm@gnu.org>
8742
8743 * term/AT386.el, term/apollo.el, term/bobcat.el, term/cygwin.el:
8744 * term/iris-ansi.el, term/linux.el, term/lk201.el, term/news.el:
8745 * term/screen.el, term/vt102.el, term/vt125.el, term/vt200.el:
8746 * term/vt201.el, term/vt220.el, term/vt240.el, term/vt300.el:
8747 * term/vt320.el, term/vt400.el, term/vt420.el, term/wyse50.el:
8748 Remove no-byte-compile setting.
8749
6eac8dc9
SM
87502012-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
8751
8752 * minibuffer.el (completion-table-with-quoting): Fix compatibility
8753 all-completions code to not return a number in the last cdr.
8754
9cc7819c
LL
87552012-04-30 Leo Liu <sdl.web@gmail.com>
8756
8757 * ibuf-ext.el (ibuffer-diff-buffer-with-file-1): Avoid buffer
8758 read-only error.
8759
c93b886f
CY
87602012-04-29 Chong Yidong <cyd@gnu.org>
8761
8762 * follow.el (follow-calc-win-end): Rewrite to handle partial
8763 screen lines correctly (Bug#8390).
8764 (follow-avoid-tail-recenter): Minor cleanup.
8765
8b6c19f4
SM
87662012-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
8767
8768 Avoid the obsolete `assoc' package.
8769 * speedbar.el (speedbar-refresh): Avoid adelete.
8770 (speedbar-file-lists): Simplify and avoid aput.
8771 * man.el (Man--sections, Man--refpages): New vars, replacing
8772 Man-sections-alist and Man-refpages-alist.
8773 (Man-build-section-alist, Man-build-references-alist):
8774 Use them; avoid aput.
8775 (Man--last-section, Man--last-refpage): New vars.
8776 (Man-follow-manual-reference): Use them.
8777 Use the `default' arg of completing-read.
8778 (Man-goto-section): Idem. Move prompt to the `interactive' spec.
8779
c5bb7569
CY
87802012-04-27 Chong Yidong <cyd@gnu.org>
8781
d1d2e2e8
CY
8782 * vc/diff.el (diff-sentinel): Go to bob (Bug#10259).
8783
15cd8efd
CY
8784 * startup.el (x-apply-session-resources): New function.
8785
8786 * term/ns-win.el (ns-initialize-window-system):
8787 * term/w32-win.el (w32-initialize-window-system):
8788 * term/x-win.el (x-initialize-window-system): Use it to properly
8789 set menu-bar-mode and other vars from X resources, even if the
8790 initial frame is not a window-system frame (Bug#2299).
8791
c5bb7569
CY
8792 * subr.el (read-key): Avoid running filter function when setting
8793 up temporary tool bar entries (Bug#9922).
8794
a8e7d6d7 87952012-04-27 Andreas Schwab <schwab@linux-m68k.org>
c4347ab9
AS
8796
8797 * vc/vc-git.el (vc-git-state): Fix regexp matching diff output.
8798 (Bug#11344)
8799
a8e7d6d7 88002012-04-27 Chong Yidong <cyd@gnu.org>
acb71f1d
CY
8801
8802 * select.el (xselect--encode-string): New function, split from
8803 xselect-convert-to-string.
8804 (xselect-convert-to-string): Use it.
8805 (xselect-convert-to-filename, xselect-convert-to-os)
8806 (xselect-convert-to-host, xselect-convert-to-user): Ensure that
8807 returned strings are properly encoded (Bug#11315).
8808
a8e7d6d7 88092012-04-27 Chong Yidong <cyd@gnu.org>
d55486c7
CY
8810
8811 * simple.el (delete-active-region): Move to killing custom group.
8812
a8e7d6d7 88132012-04-27 Andreas Schwab <schwab@linux-m68k.org>
581b6788
AS
8814
8815 * progmodes/which-func.el (which-func-current): Quote %
8816 characters for mode-line processing.
8817
578c1d4b 88182012-04-27 Chong Yidong <cyd@gnu.org>
18edb22d
CY
8819
8820 * xml.el (xml-parse-region, xml-parse-tag): Avoid errors due to
8821 reaching eob (Bug#11286).
8822
a8e7d6d7 88232012-04-27 Eli Zaretskii <eliz@gnu.org>
9ee9f470
EZ
8824
8825 * progmodes/gdb-mi.el (gdb-control-level): New variable.
8826 (gdb): Make it buffer-local and init to zero.
8827 (gdb-control-commands-regexp): New variable.
8828 (gdb-send): Don't wrap in "-interpreter-exec console" if
8829 gdb-control-level is positive. Increment gdb-control-level
8830 whenever the command matches gdb-control-commands-regexp, and
8831 decrement it each time the command is "end". (Bug#11279)
8832
a8e7d6d7 88332012-04-27 Martin Rudalics <rudalics@gmx.at>
41cfe0cb
MR
8834
8835 * window.el (adjust-window-trailing-edge, enlarge-window)
8836 (shrink-window, window-resize):
8837 * mouse.el (mouse-drag-line): Fix resizing of minibuffer
8838 windows (Bug#11276).
8839
b3608390
CY
88402012-04-27 Chong Yidong <cyd@gnu.org>
8841
8842 * progmodes/pascal.el (pascal--extra-indent): Rename from ind, to
a8e7d6d7 8843 fix "missing prefix" warning. All callers changed.
b3608390 8844
797e6e88
SM
88452012-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
8846
8847 * emacs-lisp/assoc.el: Move to obsolete/.
8848
e95a67dc
SM
88492012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
8850
657c21e4 8851 * emacs-lisp/assoc.el (aget): Fix dynamic-scoping issue (bug#11352).
e95a67dc
SM
8852
8853 * term/ns-win.el (ns-define-service):
8854 * progmodes/pascal.el (pascal-goto-defun):
8855 * progmodes/js.el (js--read-tab):
8856 * progmodes/etags.el (tags-lazy-completion-table):
8857 * emacs-lisp/syntax.el (syntax-propertize-via-font-lock):
8858 * emacs-lisp/ewoc.el (ewoc--wrap):
8859 * emacs-lisp/assoc.el (aput, adelete, amake):
8860 * doc-view.el (doc-view-convert-current-doc):
8861 * vc/diff.el (diff-no-select): Replace lexical-let by lexical-binding.
8862
cb3e7ae0
CY
88632012-04-26 Chong Yidong <cyd@gnu.org>
8864
dce04f7f
CY
8865 * image.el (image-type-from-buffer): Only return supported image
8866 type (Bug#9045).
8867
cb3e7ae0
CY
8868 * vc/diff-mode.el (diff-beginning-of-hunk): Return a meaningful
8869 value, for symmetry with diff-end-of-hunk.
8870 (diff-split-hunk, diff-find-source-location)
8871 (diff-ignore-whitespace-hunk, diff-refine-hunk): Use it.
8872 (diff-bounds-of-hunk, diff-bounds-of-file): New functions.
8873 (diff-restrict-view, diff-hunk-kill, diff-file-kill): Use them to
8874 compute the relevant hunk or file properly (Bug#6005).
8875 (diff-file-junk-re): Add bzr's "modified file" tag (Bug#6041).
8876
0d42eb3e
SM
88772012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
8878
8879 * vc/vc-mtn.el:
8880 * vc/vc-hg.el:
8881 * vc/vc-git.el:
8882 * vc/vc-dir.el:
8883 * vc/vc-cvs.el:
8884 * vc/vc-bzr.el:
8885 * vc/vc-arch.el:
8886 * vc/vc.el: Replace lexical-let by lexical-binding.
8887 * minibuffer.el (lazy-completion-table): Avoid ((λ ...) ...).
8888 * emacs-lisp/cl-macs.el (lexical-let): Fix use in lexical-binding.
8889 * emacs-lisp/cconv.el (cconv-analyse-form): Warn use of ((λ ...) ...).
8890
f08ae1c9
CY
88912012-04-26 Chong Yidong <cyd@gnu.org>
8892
8b71081d
CY
8893 * vc/diff-mode.el (diff-undo): New command (Bug#5302).
8894 (diff-mode-shared-map): Bind it to / and [remap undo].
8895
f08ae1c9
CY
8896 * vc/ediff-wind.el (ediff-setup-windows-default): New function.
8897 (ediff-window-setup-function): Use it as the default, to set up
8898 windows based on whether the current frame is graphical (Bug#2138).
8899 (ediff-choose-window-setup-function-automatically): Make obsolete.
8900
8901 * vc/ediff-init.el: Always define ediff-pixel-width/height.
8902
ef24141c
SM
89032012-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
8904
cc356a5d
SM
8905 * ffap.el: Remove old code for obsolete package.
8906 (ffap-complete-as-file-p): Remove.
8907
b4ff4f1f
SM
8908 Use completion-table-with-quoting for comint and pcomplete.
8909 * comint.el (comint--unquote&requote-argument)
8910 (comint--unquote-argument, comint--requote-argument): New functions.
8911 (comint--unquote&expand-filename, comint-unquote-filename): Obsolete.
8912 (comint-quote-filename): Use regexp-opt-charset.
8913 (comint--common-suffix, comint--common-quoted-suffix)
8914 (comint--table-subvert): Remove.
8915 (comint-unquote-function, comint-requote-function): New vars.
8916 (comint--complete-file-name-data): Use them with
8917 completion-table-with-quoting.
8918 * pcmpl-unix.el (pcomplete/scp): Use completion-table-subvert.
8919 * pcomplete.el (pcomplete-arg-quote-list)
8920 (pcomplete-quote-arg-hook, pcomplete-quote-argument): Obsolete.
8921 (pcomplete-unquote-argument-function): Default to non-nil.
8922 (pcomplete-unquote-argument): Simplify.
8923 (pcomplete--common-quoted-suffix): Remove.
8924 (pcomplete-requote-argument-function): New var.
8925 (pcomplete--common-suffix): New function.
8926 (pcomplete-completions-at-point): Use completion-table-with-quoting
8927 and completion-table-subvert.
8928
79c4eeb4
SM
8929 * minibuffer.el: Use completion-table-with-quoting for read-file-name.
8930 (minibuffer--double-dollars): Preserve properties.
8931 (completion--sifn-requote): New function.
8932 (completion--file-name-table): Rewrite using it and c-t-with-quoting.
8933
ef24141c
SM
8934 * minibuffer.el: Add support for completion of quoted/escaped data.
8935 (completion-table-with-quoting, completion-table-subvert): New funs.
8936 (completion--twq-try, completion--twq-all): New functions.
8937 (completion--nth-completion): New function.
8938 (completion-try-completion, completion-all-completions): Use it.
8939
784e7d6e
LL
89402012-04-25 Leo Liu <sdl.web@gmail.com>
8941
dd2ac746
SM
8942 * progmodes/python.el (python-pdbtrack-get-source-buffer):
8943 Use compilation-message if available to find real filename.
784e7d6e 8944
07875ee7
CY
89452012-04-25 Chong Yidong <cyd@gnu.org>
8946
8947 * vc/diff-mode.el (diff-setup-whitespace): New function.
8948 (diff-mode): Use it.
8949
8950 * vc/diff.el (diff-sentinel):
8951 * vc/vc.el (vc-diff-finish): Call diff-setup-whitespace to assign
8952 Whitespace mode variables based on diff style (Bug#8612).
8953
5055880d
LL
89542012-04-25 Leo Liu <sdl.web@gmail.com>
8955
daf75653
LL
8956 * progmodes/python.el (python-send-region): Add suffix .py to the
8957 temp file.
8958
5055880d
LL
8959 * files.el (auto-mode-alist): Use javascript-mode instead.
8960
db9b177b
AH
89612012-04-25 Alex Harsanyi <AlexHarsanyi@gmail.com>
8962
ef24141c 8963 Sync with soap-client repository. Support SOAP simpleType (Bug#10331).
db9b177b 8964
090bd7cb 8965 * net/soap-client.el (soap-resolve-references-for-sequence-type)
ef24141c 8966 (soap-resolve-references-for-array-type): Hack to prevent self
db9b177b 8967 references, see Bug#9.
ef24141c 8968 (soap-parse-envelope): Report the contents of the 'detail' node
db9b177b 8969 when receiving a fault reply.
ef24141c 8970 (soap-parse-envelope): Report the contents of the entire 'detail' node.
db9b177b 8971
090bd7cb 8972 * net/soap-inspect.el (soap-sample-value-for-simple-type)
ef24141c 8973 (soap-inspect-simple-type): New function.
db9b177b 8974
090bd7cb 8975 * net/soap-client.el (soap-simple-type): New struct.
db9b177b 8976 (soap-default-xsd-types, soap-default-soapenc-types)
ef24141c
SM
8977 (soap-decode-basic-type, soap-encode-basic-type):
8978 support unsignedInt and double basic types.
db9b177b 8979 (soap-resolve-references-for-simple-type)
ef24141c
SM
8980 (soap-parse-simple-type, soap-encode-simple-type): New function.
8981 (soap-parse-schema): Parse xsd:simpleType declarations.
db9b177b 8982
090bd7cb 8983 * net/soap-client.el (soap-default-xsd-types)
ef24141c
SM
8984 (soap-default-soapenc-types): Add integer, byte and anyURI types.
8985 (soap-parse-complex-type-complex-content): Use `soap-wk2l' to find
8986 the local name of "soapenc:Array".
8987 (soap-decode-basic-type, soap-encode-basic-type): Support encoding
db9b177b
AH
8988 decoding integer, byte and anyURI xsd types.
8989
1fc6097b
CY
89902012-04-25 Chong Yidong <cyd@gnu.org>
8991
8992 * cus-edit.el (custom-buffer-create-internal): Update header text.
8993
afc6df87
EZ
89942012-04-25 Eli Zaretskii <eliz@gnu.org>
8995
8996 * progmodes/gdb-mi.el (gdb-init-1): Condition Windows-specific
8997 settings on 'system-type', not on 'window-system'. On MS-Windows,
8998 set interactive-mode on in GDB.
8999
dfbd787f
SM
90002012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
9001
9002 * progmodes/ruby-mode.el: Simplify last change, and cleanup code.
9003 (ruby-syntax-propertize-regexp): Remove.
9004 (ruby-syntax-propertize-function): Split regexp into chunks.
9005 Match following code directly.
9006
85222d44
DG
90072012-04-24 Dmitry Gutov <dgutov@yandex.ru>
9008
51a8ea2a
DG
9009 * progmodes/ruby-mode.el: Handle Cucumber defs (bug#6286).
9010 (ruby-syntax-propertize-regexp): New function.
9011 (ruby-syntax-propertize-function): Use it to handle regexp not preceded
9012 by a special keyword.
9013
85222d44
DG
9014 * progmodes/ruby-mode.el: Handle general delimited literals (bug#6286).
9015 (ruby-syntax-general-delimiters-goto-beg)
9016 (ruby-syntax-propertize-general-delimiters): New functions.
9017 (ruby-syntax-propertize-function): Use them to handle GDL.
9018 (ruby-font-lock-keywords): Move old handling of GDL...
9019 (ruby-font-lock-syntactic-keywords): .. to here.
9020 (ruby-calculate-indent): Adjust indentation for GDL.
9021
b613912b
MA
90222012-04-24 Michael Albinus <michael.albinus@gmx.de>
9023
b5380639
MA
9024 * notifications.el (top): Remove unneeded declarations.
9025 (notifications-specification-version): Change to "1.2".
e43042fe 9026 (notifications-interface, notifications-notify-method)
b613912b
MA
9027 (notifications-close-notification-method): Fix docstring.
9028 (notifications-get-capabilities-method): New defconst.
e43042fe
MA
9029 (notifications-notify): Add :action-items, :resident and
9030 :transient hints. Change "image_data" to "image-data" and
9031 "image_path" to "image-path".
b613912b
MA
9032 (notifications-get-capabilities): New defun.
9033
257440aa
LL
90342012-04-24 Leo Liu <sdl.web@gmail.com>
9035
9036 * progmodes/python.el: Move hideshow setup to the end.
9037
b1bac16e
MR
90382012-04-24 Martin Rudalics <rudalics@gmx.at>
9039
9040 * window.el (handle-select-window): Clear echo area since this is
9041 no more done by read_char (Bug#11304).
9042
d81bd059
SM
90432012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
9044
9045 * ibuffer.el (ibuffer-mode-map): Bind `/ m' to filter-used-mode
9046 and `/ M' to filter-derived-mode.
9047 * ibuf-ext.el (ibuffer-list-buffer-modes): Simplify; avoid add-to-list.
9048 (ibuffer-filter-by-mode, ibuffer-filter-by-used-mode)
9049 (ibuffer-mark-by-mode): Use default rather than initial-input.
9050 (ibuffer-filter-by-derived-mode): Autoload and require-match.
9051
c4cf6d91
IA
90522012-04-24 Ivan Andrus <darthandrus@gmail.com> (tiny change)
9053
9054 * ibuf-ext.el (ibuffer-list-buffer-modes): Add `include-parents' arg.
9055 (ibuffer-filter-by-derived-mode): New filter.
9056 * ibuffer.el (ibuffer-mode-map): Bind to `/ w'.
9057
7511ded8
CY
90582012-04-23 Andreas Politz <politza@fh-trier.de>
9059
9060 * subr.el (accept-change-group): Fix arg usage (Bug#6095).
9061
775c916b
CY
90622012-04-23 Chong Yidong <cyd@gnu.org>
9063
9064 * cus-edit.el (customize-apropos, customize-apropos-options):
9065 Disable matching of non-option variables (Bug#11176).
9066 (customize-option, customize-option-other-window)
9067 (customize-changed-options): Doc fix.
9068 (customize-apropos-options, customize-apropos-faces)
9069 (customize-apropos-groups): Use apropos-read-pattern (Bug#11124).
9070
9071 * apropos.el (apropos-read-pattern): Make prompt less cryptic.
922d37d3 9072 Fix word list splitting (Bug#11132).
46c71e23
CY
9073 (apropos-symbol, apropos-keybinding, apropos-label)
9074 (apropos-property, apropos-function-button)
9075 (apropos-variable-button, apropos-misc-button): New faces.
9076 (apropos-symbol-face, apropos-keybinding-face)
9077 (apropos-label-face, apropos-property-face, apropos-match-face):
9078 Variables removed (Bug#8396).
9079 (apropos-library-button, apropos-format-plist, apropos-print)
9080 (apropos-print-doc, apropos-describe-plist): Callers changed.
775c916b 9081
2df41f9c
MA
90822012-04-23 Michael Albinus <michael.albinus@gmx.de>
9083
9084 * net/xesam.el (xesam-mode-map): Use let-bound map in
9085 initialization. (Bug#11292)
9086
da00640a
AM
90872012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
9088
9089 Preserve ispell session localwords when switching back to
9090 original buffer.
9091
090bd7cb
JB
9092 * textmodes/ispell.el (ispell-buffer-session-localwords):
9093 New buffer-local variable to hold buffer session localwords.
ed9265fc 9094 (ispell-kill-ispell): Add option 'clear to delete session
da00640a
AM
9095 localwords.
9096 (ispell-command-loop, ispell-change-dictionary)
9097 (ispell-buffer-local-words): Preserve session localwords when
9098 needed.
9099
090bd7cb
JB
9100 * textmodes/flyspell.el (flyspell-process-localwords)
9101 (flyspell-do-correct): Preserve session localwords when needed.
da00640a 9102
f621ccf5
AM
91032012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
9104
090bd7cb
JB
9105 * textmodes/ispell.el (ispell-insert-word) Remove unneeded function
9106 using obsolete `translation-table-for-input'.
ef24141c
SM
9107 (ispell-word, ispell-process-line, ispell-complete-word):
9108 Use plain `insert' instead of removed `ispell-insert-word'.
f621ccf5 9109
c2d1019e
CY
91102012-04-22 Chong Yidong <cyd@gnu.org>
9111
9112 * cus-edit.el (custom-variable-menu)
9113 (custom-variable-reset-saved, custom-face-menu)
9114 (custom-face-reset-saved): If there is no saved value, make the
9115 "reset-saved" operation bring back the default (Bug#9509).
9116 (custom-face-state): Properly detect themed faces.
9117
eeddc531
CY
9118 * faces.el (face-spec-set): Stop supporting deprecated form of
9119 third arg.
9120
dcbf5805
MA
91212012-04-22 Michael Albinus <michael.albinus@gmx.de>
9122
9123 Move functions from C to Lisp. Make non-blocking method calls
9124 the default. Implement further D-Bus standard interfaces.
9125
ef24141c
SM
9126 * net/dbus.el (dbus-message-internal): Declare function.
9127 Remove unneeded function declarations.
dcbf5805
MA
9128 (defvar dbus-message-type-invalid, dbus-message-type-method-call)
9129 (dbus-message-type-method-return, dbus-message-type-error)
9130 (dbus-message-type-signal): Declare variables. Remove local
9131 definitions.
9132 (dbus-interface-dbus, dbus-interface-peer)
9133 (dbus-interface-introspectable, dbus-interface-properties)
9134 (dbus-path-emacs, dbus-interface-emacs, dbus-return-values-table):
9135 Adapt docstring.
9136 (dbus-interface-objectmanager): New defconst.
9137 (dbus-call-method, dbus-call-method-asynchronously)
9138 (dbus-send-signal, dbus-method-return-internal)
9139 (dbus-method-error-internal, dbus-register-service)
9140 (dbus-register-signal, dbus-register-method): New defuns, moved
9141 from dbusbind.c
9142 (dbus-call-method-handler, dbus-setenv)
ef24141c
SM
9143 (dbus-get-all-managed-objects, dbus-managed-objects-handler):
9144 New defuns.
dcbf5805
MA
9145 (dbus-call-method-non-blocking): Make it an obsolete function.
9146 (dbus-unregister-object, dbus-unregister-service)
9147 (dbus-handle-event, dbus-register-property)
9148 (dbus-property-handler): Obey the new structure of
9149 `bus-registered-objects'.
9150 (dbus-introspect): Use `dbus-call-method'. Use a timeout.
9151 (dbus-get-property, dbus-set-property, dbus-get-all-properties):
9152 Use `dbus-call-method'.
9153
cf20dee0
CY
91542012-04-22 Chong Yidong <cyd@gnu.org>
9155
9156 * cus-edit.el (custom-commands, custom-reset-menu)
9157 (Custom-reset-standard): Tweak labels.
9158 (custom-reset-button-menu): Change default to t.
9159 (custom-buffer-create-internal): For the custom-reset-button-menu
9160 case, put the revert button first.
9161 (custom-group-subtitle): New face.
9162 (custom-group-value-create): Align docstring to a specific column.
9163
9164 * wid-edit.el (widget-documentation-link-add): Don't handle
9165 indentation in this function.
9166 (widget-documentation-string-indent-to): New function.
9167 (widget-documentation-string-value-create): Use it.
9168
9169 * autorevert.el (auto-revert):
9170 * epg-config.el (epg):
9171 * ibuffer.el (ibuffer):
9172 * mpc.el (mpc):
9173 * ses.el (ses):
9174 * eshell/eshell.el (eshell):
9175 * net/ange-ftp.el (ange-ftp):
9176 * progmodes/ebnf2ps.el (postscript):
9177 * progmodes/flymake.el (flymake):
9178 * progmodes/prolog.el (prolog):
9179 * progmodes/verilog-mode.el (verilog-mode):
9180 * progmodes/which-func.el (which-func):
9181 * term/xterm.el (xterm):
9182 * textmodes/picture.el (picture):
9183 * textmodes/tildify.el (tildify):
9184 * vc/ediff.el (ediff): Tweak defgroups to improve presentation in
9185 customization buffers.
9186
583e23bd
AM
91872012-04-22 Alan Mackenzie <acm@muc.de>
9188
9189 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
9190 Adding a ) can hide the resulting (..) from searches. Fix it.
9191 Bound the backward search to the position of the existing (.
9192
7dd51bf1
JB
91932012-04-21 Juanma Barranquero <lekktu@gmail.com>
9194
9195 * progmodes/verilog-mode.el (verilog-mode): Check whether
9196 which-func-modes is t before adding verilog-mode.
9197 Reported by Andy Moreton <andrewjmoreton@gmail.com>.
9198
d64a438f
LL
91992012-04-21 Leo Liu <sdl.web@gmail.com>
9200
7dd51bf1 9201 * net/rcirc.el (rcirc): Avoid error when process-contact returns t.
d64a438f 9202
081e8d65
MV
92032012-04-21 Michael Vehrs <Michael.Burschik@gmx.de>
9204
9205 * woman.el: Add support for "T{ T}" tbl syntax, and fix the
9206 filling of the last column of a table (Bug#5635).
9207 (woman-find-next-control-line): New arg, specifying an additional
9208 regexp component for the control line.
9209 (woman2-roff-buffer): Use it.
9210 (woman-break-table): New function.
9211 (woman2-TS): Use it.
9212
92132012-04-21 Chong Yidong <cyd@gnu.org>
9214
9215 * woman.el (woman-set-buffer-display-table, woman-decode-region)
9216 (woman-horizontal-escapes, woman-negative-vertical-space)
9217 (woman-tab-to-tab-stop, woman2-fc, woman2-TS)
9218 (WoMan-warn-ignored): Use ?\s instead of ?\ .
9219
ed571ccb
SM
92202012-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
9221
9222 * minibuffer.el (completion-file-name-table): Complete user names.
9223
39773899
LL
92242012-04-20 Leo Liu <sdl.web@gmail.com>
9225
9226 * font-lock.el (lisp-font-lock-keywords-2): Add pcase, pcase-let
9227 and pcase-let*.
9228
de6ff46d
CY
92292012-04-20 Chong Yidong <cyd@gnu.org>
9230
9231 * server.el (server-execute): Respect initial-buffer-choice if it
9232 is a string and there are no files to open (Bug#2825).
9233 (server-create-window-system-frame, server-create-tty-frame):
9234 Don't switch buffers here.
2d0e8e61
CY
9235 (server-process-filter): Only try to open a window system frame if
9236 compiled with graphical support (Bug#8314).
de6ff46d 9237
54071013
DN
92382012-04-20 Dan Nicolaescu <dann@gnu.org>
9239
9240 * battery.el (battery-echo-area-format): Display remaining time
9241 for sysfs backend too (Bug#11269).
9242 (battery-linux-sysfs): Fix conditional for the charge.
9243
f30d612a
CY
92442012-04-20 Chong Yidong <cyd@gnu.org>
9245
c07a4c0b 9246 * progmodes/gdb-mi.el (gdb): Revert previous change.
f30d612a
CY
9247 (gdb-inferior-io--init-proc): New function.
9248 (gdb-init-1): Use it.
9249 (gdb-inferior-io-sentinel): New sentinel for the gdb-inferior pty,
9250 responsible for allocating a new pty and hooking it to gdb when
9251 the old pty gets an EIO due to process exit.
9252 (gdb-delchar-or-quit): New command. Bind it in gdb-mi buffers.
9253 (gdb-tooltip-print): Don't use obsolete tooltip-use-echo-area.
9254 (gdb-inferior-io--maybe-delete-pty): Move into gdb-reset.
9255
2116e93c
EZ
92562012-04-20 Eli Zaretskii <eliz@gnu.org>
9257
9258 * window.el (window-min-size, window-sizable, window-min-delta)
9259 (window-max-delta, window--resizable, window-resizable)
9260 (window-total-size, window-full-height-p, window-full-width-p)
9261 (window-in-direction, window--resize-mini-window, window-resize)
9262 (window--resize-child-windows-normal)
9263 (window--resize-child-windows, window--resize-siblings)
9264 (window--resize-this-window, adjust-window-trailing-edge)
cd0f830c 9265 (enlarge-window, shrink-window): Doc fixes.
2116e93c 9266
c07a4c0b 92672012-04-20 Chong Yidong <cyd@gnu.org>
b668fa6e 9268
ef24141c
SM
9269 * progmodes/gdb-mi.el (gdb-inferior-io--maybe-delete-pty):
9270 New function to call delete-process on the gdb-inferior buffer's pty.
b668fa6e
CY
9271 (gdb-reset): Use it, instead of relying on kill-buffer to kill the
9272 pty process (Bug#11273).
9273 (gdb-update): New arg to suppress talking to the gdb process.
9274 (gdb-done-or-error): Use it.
9275 (gdb-stopped-functions): Rename from gdb-stopped-hooks.
9276 (gdb): Call gdb-inferior-io--maybe-delete-pty as a workaround for
9277 sentinel not being called.
9278
9279 * comint.el (make-comint-in-buffer, comint-exec): Doc fix.
9280
d02766ab
CY
9281 * progmodes/grep.el (grep, rgrep): Doc fix (Bug#11268).
9282
c07a4c0b 92832012-04-20 Glenn Morris <rgm@gnu.org>
016a35df
GM
9284
9285 * net/network-stream.el (open-network-stream): Doc fix.
9286
c07a4c0b 92872012-04-20 Chong Yidong <cyd@gnu.org>
2c070447
CY
9288
9289 * emacs-lisp/tabulated-list.el (tabulated-list-print): Fix typos.
9290
c07a4c0b 92912012-04-20 Alan Mackenzie <acm@muc.de>
f0f6bc35
AM
9292
9293 Ensure searching for keywords is case sensitive.
9294
9295 * progmodes/cc-cmds.el (c-electric-brace, c-electric-lt-gt)
9296 (c-electric-paren, c-beginning-of-defun, c-end-of-defun)
9297 (c-defun-name, c-mark-function, c-cpp-define-name)
9298 (c-comment-indent, c-scan-conditionals, c-indent-defun)
c07a4c0b 9299 (c-context-line-break): Bind case-fold-search to nil.
f0f6bc35 9300
ef24141c
SM
9301 * progmodes/cc-mode.el (c-font-lock-fontify-region):
9302 Bind case-fold-search to nil.
f0f6bc35 9303
c07a4c0b 93042012-04-20 Chong Yidong <cyd@gnu.org>
4fc2c72a
CY
9305
9306 * mail/sendmail.el (mail-bury): Call return action with the right
9307 Rmail buffer (Bug#11242).
9308
9a864fa2
CY
9309 * server.el (server-process-filter): Handle corner case where both
9310 tty and nowait options are present (Bug#11102).
9311
539aa513
EZ
93122012-04-20 Eli Zaretskii <eliz@gnu.org>
9313
9314 * version.el (emacs-bzr-version, emacs-bzr-get-version): Doc fixes.
6cf2a23e
EZ
9315 (top level): Put into the executable the ident-style '$Id:' tag on
9316 windows-nt as well.
539aa513 9317
cfc7d5da
SM
93182012-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
9319
9320 * electric.el (electric-indent-post-self-insert-function): Check that
9321 electric-indent-mode is enabled in current buffer.
9322
5b01685c
JB
93232012-04-19 Juanma Barranquero <lekktu@gmail.com>
9324
9325 * imenu.el (imenu-progress-message): Restore; it is "used" in
9326 erc/erc-imenu.el and net/snmp-mode.el.
9327
4d6769e1
JB
93282012-04-19 Juanma Barranquero <lekktu@gmail.com>
9329
9330 * avoid.el (mouse-avoidance-mode): Mark unused arg.
9331 (mouse-avoidance-nudge-mouse): Remove unused binding.
9332
9333 * bs.el (bs-toggle-readonly): Call `toggle-read-only' interactively.
9334
9335 * descr-text.el (describe-char):
9336 * progmodes/python.el (python-describe-symbol):
9337 Don't call `toggle-read-only', set `buffer-read-only'.
9338
9339 * imenu.el (imenu-default-goto-function): Mark unused args.
9340 (imenu-progress-message): Remove obsolete macro; all callers changed.
9341
9342 * subr.el (keymap-canonicalize): Remove unused binding.
9343 (read-passwd): Mark unused arg.
9344
9345 * tutorial.el (tutorial--display-changes): Remove unused binding.
9346 (tutorial--save-tutorial-to): Remove unused variable.
9347
9348 * emacs-lisp/package.el (define-package, package-menu-mark-delete)
9349 (package-menu-mark-install, package-menu-mark-unmark): Mark unused args.
9350 (package-generate-autoloads, package-menu--generate)
9351 (package-menu--find-upgrades): Remove unused bindings.
9352
9353 * emulation/cua-rect.el (cua-restrict-regexp-rectangle)
9354 (cua-restrict-prefix-rectangle): Doc fixes. Remove unused bindings.
9355 (cua--mouse-ignore, cua--delete-rectangle, cua--extract-rectangle)
9356 (cua--indent-rectangle, cua-open-rectangle, cua-close-rectangle)
9357 (cua-blank-rectangle, cua-string-rectangle, cua-replace-in-rectangle)
9358 (cua-incr-rectangle, cua-sequence-rectangle, cua--convert-rectangle-as)
9359 (cua--rectangle-aux-replace, cua--left-fill-rectangle)
9360 (cua-scroll-rectangle-up, cua-scroll-rectangle-down)
9361 (cua-delete-char-rectangle): Mark unused args.
9362 (cua-align-rectangle): Remove unused binding.
9363
9364 * mail/rmail.el (compilation--message->loc)
9365 (epa--find-coding-system-for-mime-charset): Declare.
9366
9367 * net/dbus.el (dbus-register-service): Declare.
9368 (dbus-name-owner-changed-handler): Remove unused binding.
9369
9370 * nxml/nxml-mode.el (nxml-electric-slash, nxml-in-mixed-content-p)
9371 (nxml-compute-indent-from-matching-start-tag): Remove unused variables.
9372 (nxml-scan-backward-within): Mark unused arg.
9373 (nxml-dynamic-markup-word): Remove unused binding.
9374
9375 * mouse.el (mouse-menu-major-mode-map):
9376 * emacs-lisp/authors.el (authors-scan-change-log)
9377 (authors-add-to-author-list):
9378 * emacs-lisp/avl-tree.el (avl-tree--enter-balance):
9379 * emacs-lisp/smie.el (smie-auto-fill):
9380 * mail/sendmail.el (mail-bury):
9381 * mail/unrmail.el (unrmail):
9382 * net/tls.el (open-tls-stream):
9383 * textmodes/picture.el (picture-mouse-set-point):
9384 Remove unused bindings.
9385
8c8fc5df
MA
93862012-04-19 Michael Albinus <michael.albinus@gmx.de>
9387
9388 * net/tramp.el (tramp-action-password): Let-bind
9389 `enable-recursive-minibuffers' to t.
9390
a77b0ac9
SS
93912012-04-18 Sam Steingold <sds@gnu.org>
9392
9393 * progmodes/gud.el (gud-key-prefix): Use :type 'key-sequence
9394 instead of 'string to accommodate values like [f11].
9395 Always use `vconcat' instead of `concat' on it, like in `gud-def'.
9396 * progmodes/gdb-mi.el: Likewise.
9397
12a106a9
LL
93982012-04-18 Leo Liu <sdl.web@gmail.com>
9399
9400 * abbrev.el (edit-abbrevs): Move point to the abbrev table of
9401 current buffer.
9402 (prepare-abbrev-list-buffer): Enter edit-abbrevs-mode only if
9403 LOCAL is nil.
9404
bc6494ef
CY
94052012-04-18 Chong Yidong <cyd@gnu.org>
9406
9407 * simple.el (line-move): Use forward-line if in batch mode
9408 (Bug#11053).
9409
c09c46b2
CS
94102012-04-18 Christopher Schmidt <christopher@ch.ristopher.com>
9411
9412 * files.el (after-find-file): Do not try to add a final newline if
9413 the buffer is read-only (Bug#11156).
9414
5f6530ea
RS
94152012-04-17 Richard Stallman <rms@gnu.org>
9416
9417 * mail/rmail.el (rmail-start-mail):
9418 Pass (rmail-mail-return...) for the return-action.
9419 Pass (rmail-yank-current-message...) for the yank-action.
9420 (rmail-yank-current-message): New function.
9421 (rmail-mail): Pass the Rmail buffer, not view buffer, for replybuffer.
9422 (rmail-reply): Likewise.
9423 (rmail-forward): Pass the Rmail buffer, not nil, for replybuffer.
9424
9425 * mail/sendmail.el (mail-bury): Choose the first rmail-mode
c09c46b2 9426 buffer, not the last. Reject temp buffers. Use the rmail-mode
5f6530ea
RS
9427 buffer, not newbuf.
9428
197b6f3c
JB
94292012-04-17 Juanma Barranquero <lekktu@gmail.com>
9430
9431 * server.el (server-ensure-safe-dir): Simplify.
9432
2311d8e5 94332012-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
98fb480e 9434
2311d8e5
GM
9435 * emacs-lisp/smie.el: Provide smarter auto-filling.
9436 (smie-auto-fill): New function.
9437 (smie-setup): Use it.
98fb480e 9438
2311d8e5
GM
9439 * newcomment.el (comment-choose-indent): Obey comment-inline-offset.
9440
94412012-04-17 Philipp Haselwarter <philipp.haselwarter@gmx.de> (tiny change)
8eb5d48f
PH
9442
9443 * newcomment.el (comment-inline-offset): New custom var (bug#11090).
9444 (comment-indent): Use it.
9445
2311d8e5 94462012-04-17 Vincent Belaïche <vincentb1@users.sourceforge.net>
4bdf2ad2
VB
9447
9448 * ses.el: The overall change is to add cell renaming, that is
9449 setting fancy names for cell symbols other than name matching
9450 "\\`[A-Z]+[0-9]+\\'" regexp .
2311d8e5 9451 (ses-localvars): Add ses--renamed-cell-symb-list.
4bdf2ad2 9452 (ses-create-cell-variable): New defun.
2311d8e5 9453 (ses-destroy-cell-variable-range): Respect ses--numrows, ses--numcols.
4bdf2ad2
VB
9454 (ses-relocate-formula): Relocate formulas only for cells the
9455 symbols of which are not renamed, i.e. symbols whose names do not
9456 match regexp "\\`[A-Z]+[0-9]+\\'".
9457 (ses-relocate-all): Relocate values only for cells the symbols of
9458 which are not renamed.
9459 (ses-load): Create cells variables as the (ses-cell ...) are read,
9460 in order to check row col consistency with cell symbol name only
9461 for cells that are not renamed.
9462 (ses-replace-name-in-formula): New defun.
9463 (ses-rename-cell): New defun.
4bdf2ad2 9464
fc72b15c
PO
94652012-04-17 Peter Oliver <bzr@mavit.org.uk> (tiny change)
9466
9467 * progmodes/perl-mode.el (perl-indent-parens-as-block):
9468 New option (bug#11118).
9469 (perl-calculate-indent): Respect it.
9470
12e10e61
GM
94712012-04-17 Glenn Morris <rgm@gnu.org>
9472
9473 * dired-aux.el (dired-mark-read-string): Doc fix.
9474
30009afd
DA
94752012-04-17 Dmitry Antipov <dmantipov@yandex.ru>
9476
9477 * dired-aux.el (dired-mark-read-string): Offer optional completion.
9478 (dired-do-chxxx): Complete chown, chgrp over users, groups. (Bug#7900)
9479
41f03f4d
GM
94802012-04-17 Glenn Morris <rgm@gnu.org>
9481
9482 * mouse.el (mouse-drag-track):
9483 * speedbar.el (speedbar-frame-mode):
9484 Use auto-hscroll-mode rather than the alias automatic-hscrolling.
9485
f45f90f3
LL
94862012-04-16 Leo Liu <sdl.web@gmail.com>
9487
9488 * progmodes/python.el: Trivial cleanup.
9489
94ee8db5
GM
94902012-04-16 Glenn Morris <rgm@gnu.org>
9491
121b8917
GM
9492 * vc/vc.el (vc-string-prefix-p):
9493 * vc/pcvs-util.el (cvs-string-prefix-p):
9494 * textmodes/tex-mode.el (latex-string-prefix-p, tex-string-prefix-p):
9495 * mpc.el (mpc-string-prefix-p):
9496 Make all of these into obsolete aliases for string-prefix-p.
9497 Update callers.
9498 * vc/pcvs.el, vc/vc-dispatcher.el, vc/vc-dir.el: Update callers.
9499
1197ecfa
GM
9500 * textmodes/two-column.el: Move custom options to the start.
9501 (frame-width): Remove compat definition.
9502 (2C-associate-buffer, 2C-dissociate):
9503 Use with-current-buffer rather than save-excursion.
9504 (2C-dissociate): Force a mode-line update.
9505 (2C-autoscroll): Use ignore-errors.
9506
099e7202
GM
9507 * emacs-lisp/eieio-opt.el (describe-class, describe-generic):
9508 Autoload trivia.
9509
bf350d6a
GM
9510 * emacs-lisp/cl-extra.el (*random-state*):
9511 Remove unnecessary declaration.
9512
0e829eab
GM
9513 * calendar/cal-tex.el (cal-tex-end-document): Trivial clarification.
9514
e3ad7552
GM
9515 * play/cookie1.el (cookie-snarf):
9516 Give an explicit error if input file cannot be read.
9517
68892d27
GM
9518 * play/yow.el (yow-file): Use expand-file-name rather than concat.
9519
20f0c46d
GM
9520 * progmodes/perl-mode.el (c-macro-expand):
9521 Remove unnecessary autoload (it is in loaddefs.el).
9522
5a0978ce
GM
9523 * textmodes/picture.el (picture-desired-column)
9524 (picture-update-desired-column): Convert comments to doc-strings.
9525 (picture-substitute): Remove function.
9526 (picture-mode-map): Initialize in the defvar.
9527
6b955486
GM
9528 * woman.el: Remove eval-after-load for tar-mode.
9529 * tar-mode.el (tar-mode-map): Add woman binding and menu entry.
9530 (woman-tar-extract-file): Autoload it.
9531
94ee8db5
GM
9532 * frame.el (automatic-hscrolling): Make this alias obsolete.
9533
177eca34
AM
95342012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
9535
090bd7cb 9536 * textmodes/ispell.el (ispell-set-spellchecker-params): Post-process
4be3075e 9537 `ispell-dictionary-alist' to use [:alpha:] and utf-8 if possible.
3851314b
AM
9538 (ispell-dictionary-base-alist): Revert to original XEmacs
9539 friendly version for default. [:alpha:] will be added in
090bd7cb 9540 `ispell-set-spellchecker-params' if needed.
177eca34 9541
c505aaeb
CY
95422012-04-16 Chong Yidong <cyd@gnu.org>
9543
b19dd9d1 9544 * image.el (imagemagick--file-regexp): New variable.
c505aaeb
CY
9545 (imagemagick-register-types): Use it.
9546 (imagemagick-types-inhibit): Add :set function. Allow new value
9547 of t to inhibit all types.
9548
9549 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Avoid cl macros,
9550 so we can preload it.
9551
9552 * loadup.el (fboundp): Preload regexp-opt, needed by
9553 imagemagick-register-types.
9554
60efac0f
CY
95552012-04-15 Chong Yidong <cyd@gnu.org>
9556
9557 * frame.el (scrolling): Remove nearly unused customization group.
9558
9559 * scroll-all.el (scroll-all-mode): Move to windows group.
9560
5dd1713e
CY
95612012-04-15 Chong Yidong <cyd@gnu.org>
9562
9563 * bindings.el (goto-map): Bind goto-char to M-g c (Bug#11240).
9564
e6fd457e
CY
95652012-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
9566
9567 Avoid the use of ((lambda ...) ...) in lexical-binding code.
4d6769e1 9568 * emacs-lisp/easy-mmode.el (define-minor-mode): Use funcall (bug#11241).
e6fd457e 9569
e153c136
GM
95702012-04-15 Glenn Morris <rgm@gnu.org>
9571
9572 * simple.el (process-file-side-effects): Doc fix.
9573
e6fd457e 95742012-04-15 Glenn Morris <rgm@gnu.org>
ca7d96c8
GM
9575
9576 * international/mule-cmds.el (set-language-environment): Doc fix.
9577
3603c3b1
JB
95782012-04-14 Juanma Barranquero <lekktu@gmail.com>
9579
9580 * server.el (server-auth-key, server-generate-key): Doc fixes.
9581 (server-get-auth-key): Doc fix. Use `string-match-p'.
9582 (server-start): Reflow docstring.
9583
e6de100c
LI
95842012-04-14 Lars Ingebrigtsen <larsi@gnus.org>
9585
9586 * server.el (server-generate-key): `called-interactively-p'
9587 requires a parameter.
9588
29734c21
MN
95892012-04-14 Michal Nazarewicz <mina86@mina86.com>
9590
9591 * server.el (server-auth-key): New variable.
75f1671a 9592 (server-generate-key, server-get-auth-key): New function.
29734c21
MN
9593 (server-start): Use the new variable and functions to allow
9594 setting a permanent server key (bug#9423).
9595
d65c9521
LL
95962012-04-14 Leo Liu <sdl.web@gmail.com>
9597
9598 * vc/diff-mode.el (diff-file-prev/next): Fix typo.
9599
5ae255c7
PE
96002012-04-14 Paul Eggert <eggert@cs.ucla.edu>
9601
9602 Spelling fixes.
9603 * hexl.el (hexl-rulerize): Rename from hexl-rulerise, since
9604 Emacs uses American spelling.
9605
d5e6342e
JB
96062012-04-14 Juanma Barranquero <lekktu@gmail.com>
9607
9608 * emacs-lock.el (emacs-lock-locked-buffer-functions): New hook.
9609 (emacs-lock--exit-locked-buffer): Return the locked buffer. Doc fix.
9610 (emacs-lock--kill-emacs-hook, emacs-lock--kill-emacs-query-functions)
9611 (emacs-lock--kill-buffer-query-functions): Run new hook. (Bug#11017)
9612
ab036cd7
SM
96132012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
9614
9615 * progmodes/which-func.el (which-func-modes): Change default.
9616
35dc09a1 96172012-04-14 Kim F. Storm <storm@cua.dk>
9557e2be
CY
9618
9619 * emulation/cua-base.el (cua-exchange-point-and-mark): Just call
9620 exchange-point-and-mark if cua-enable-cua-keys is nil (Bug#11191).
9621
35dc09a1 96222012-04-14 Chong Yidong <cyd@gnu.org>
81927dd2
CY
9623
9624 * custom.el (custom-theme-set-variables): Doc fix.
9625
35dc09a1 96262012-04-14 Glenn Morris <rgm@gnu.org>
8edb942b
GM
9627
9628 * international/mule.el (set-auto-coding-for-load): Doc fix.
9629
35dc09a1 96302012-04-14 Alan Mackenzie <acm@muc.de>
0de3da9f 9631
35dc09a1
GM
9632 * progmodes/cc-menus.el (cc-imenu-objc-generic-expression): Make
9633 imenu work again for Objective C Mode. Correct the *-index values,
9634 these having been disturbed by a previous change in 2011-08.
57f845ee 9635
0de3da9f
AM
9636 * progmodes/cc-engine.el (c-before-change-check-<>-operators):
9637 Correct two search limits.
9638
35dc09a1 96392012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
ede141ac
SM
9640
9641 * startup.el (command-line-1): Inhibit splash from daemon (bug#10996).
9642
35dc09a1 96432012-04-14 Andreas Schwab <schwab@linux-m68k.org>
d0203d61
AS
9644
9645 * international/characters.el: Fix sorting.
9646
35dc09a1 96472012-04-14 Eli Zaretskii <eliz@gnu.org>
cb80bcd1
EZ
9648
9649 * international/characters.el: Add more missing Latin case pairs.
9650
35dc09a1 96512012-04-14 Glenn Morris <rgm@gnu.org>
4a427f58
GM
9652
9653 * files.el (dir-locals-set-class-variables): Doc fix.
9654
35dc09a1 96552012-04-14 Eli Zaretskii <eliz@gnu.org>
9f847f41 9656
3f1b5bf8
EZ
9657 * international/characters.el: Add set-case-syntax-pair call for
9658 LATIN CAPITAL LETTER Y WITH DIAERESIS RET and its lower-case
9659 counterpart. (Bug#11209)
9660
9f847f41
EZ
9661 * simple.el (shell-command-on-region): Doc fix. (Bug#11208)
9662
35dc09a1 96632012-04-14 Glenn Morris <rgm@gnu.org>
0c2014a3
GM
9664
9665 * calendar/holidays.el (calendar-check-holidays): Doc fix.
9666
35dc09a1 96672012-04-14 Eli Zaretskii <eliz@gnu.org>
e2627d21 9668
35dc09a1
GM
9669 * textmodes/ispell.el (ispell-dictionary-base-alist):
9670 Add data for Hebrew.
e2627d21 9671
35dc09a1 96722012-04-14 Chong Yidong <cyd@gnu.org>
5c14e333 9673
35dc09a1
GM
9674 * net/rcirc.el (rcirc-cmd-quit):
9675 Revert 2012-03-18 change (Bug#11192).
5c14e333 9676
35dc09a1 96772012-04-14 Glenn Morris <rgm@gnu.org>
bf6fa423
GM
9678
9679 * pcmpl-rpm.el (pcomplete/rpm): Handle -qf.
9680
35dc09a1 96812012-04-14 Eli Zaretskii <eliz@gnu.org>
82b24fb2 9682
4517fe3a
SM
9683 * minibuffer.el (completion-in-region-mode-map):
9684 Bind completion-help-at-point to M-? rather than ?. (Bug#11182)
82b24fb2 9685
b472a594
VD
96862012-04-13 Vivek Dasmohapatra <vivek@etla.org>
9687
9688 * hexl.el (hexl-insert-char): Make display sizes other than 16 work.
9689
09b95ce3
MY
96902012-04-13 Masatake YAMATO <yamato@redhat.com>
9691
9692 * minibuffer.el (minibuffer-local-filename-syntax): New variable
9693 to allow `C-M-f' and `C-M-b' to move to the nearest path
9694 separator (bug#9511).
9695
4b63a9ca
LI
96962012-04-13 Lars Ingebrigtsen <larsi@gnus.org>
9697
9698 * avoid.el: Require cl when compiling. And also move the
9699 `provide' to the end.
9700
7b55b8bf
TV
97012012-04-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
9702
9703 * avoid.el (mouse-avoidance-banish-position): New variable.
9704 (mouse-avoidance-banish-destination): Use it (bug#10165).
9705
adedaa1f
LL
97062012-04-13 Leo Liu <sdl.web@gmail.com>
9707
9708 * progmodes/which-func.el (which-func-modes): Add objc-mode.
9709
70e74021
KB
97102012-04-13 Ken Brown <kbrown@cornell.edu>
9711
9712 * net/browse-url.el (browse-url-file-url): Remove Cygwin hack;
ab036cd7 9713 this is no longer needed now that cygstart understands file:// URLs.
70e74021
KB
9714 (browse-url-filename-alist): For the same reason, don't modify
9715 file:// URLs on Cygwin.
9716
e75e89ba
SM
97172012-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
9718
9719 * emulation/cua-base.el (cua--pre-command-handler-1): Don't activate
9720 the region on shift if the binding is already shifted (bug#11221).
9721
82f289a4
GM
97222012-04-12 Glenn Morris <rgm@gnu.org>
9723
9724 * mail/mailpost.el: Move to obsolete/.
9725
d333dc4c
DA
97262012-04-12 Drew Adams <drew.adams@oracle.com>
9727
9728 * imenu.el (imenu--generic-function): Ignore invisible definitions
9729 (bug#10123).
9730
0d15b5ba
VD
97312012-04-12 Vivek Dasmohapatra <vivek@etla.org>
9732
9733 * hexl.el (hexl-bits): New variable.
9734 (hexl-options): Mention the variable in the doc string.
75f1671a 9735 (hexl-rulerise, hexl-line-displen): New functions.
0d15b5ba 9736 (hexl-mode): Mention the new variable.
75f1671a
JB
9737 (hexl-mode, hexl-current-address, hexl-current-address):
9738 Use the displen.
0d15b5ba
VD
9739 (hexl-ascii-start-column): New function.
9740 (hexl-address-to-marker, hexl-beginning-of-line, hexl-options)
9741 (hexl-insert-char, hexl-mode-ruler): Use the displen (bug#4941).
9742
64a440db
AM
97432012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
9744
9745 * textmodes/flyspell.el (flyspell-large-region): For hunspell, use
9746 '("-i" ENCODING), in 2 separate command-line arguments, to specify
9747 the encoding, as expected by hunspell.
9748
6decb6c2
SM
97492012-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
9750
9751 * battery.el (battery--linux-sysfs-regexp): New const.
9752 (battery-status-function): Use it. Remove yeeloong special case.
9753 (battery-yeeloong-sysfs): Remove.
9754 (battery-echo-area-format): Remove yeeloong special case.
9755
088be6fb
SM
97562012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
9757
6622e416
SM
9758 * imenu.el (imenu-add-to-menubar): `current-local-map' can be nil.
9759 Reported by Noah Friedman.
9760
088be6fb
SM
9761 * subr.el (read-passwd): Use read-string.
9762
b49f886e
LMI
97632012-04-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
9764
9765 * vcursor.el (vcursor-move): Increase the priority of the overlay
9766 (bug#9663).
9767
a63067fc
DD
97682012-04-11 Deniz Dogan <deniz.a.m.dogan@gmail.com>
9769
9770 * net/rcirc.el (rcirc-kill-channel-buffers): New variable.
9771 (rcirc-kill-buffer-hook): Use it to kill channel buffers (bug#5128).
9772
ac3cf14a
WS
97732012-04-11 William Stevenson <yhvh2000@gmail.com>
9774
9775 * textmodes/artist.el (artist-mode): Convert artist-mode to use
9776 define-minor-mode (bug#10760).
9777
c4fc691b 97782012-04-11 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
49a2697c 9779
4d6769e1 9780 * progmodes/grep.el (rgrep): Tweak the find command line so
49a2697c
WJ
9781 that directories matching `grep-find-ignored-files' won't be
9782 pruned (bug#10351).
9783
af23e2e5
CY
97842012-04-11 Chong Yidong <cyd@gnu.org>
9785
9786 * startup.el (command-line): Remove support for long-obsolete
9787 variable font-lock-face-attributes.
9788
ab7ce8c1
GM
97892012-04-11 Glenn Morris <rgm@gnu.org>
9790
9791 * vc/vc-bzr.el (vc-bzr-status): Avoid condition-case-unless-debug.
9792
de8c03dc
SM
97932012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
9794
9795 * window.el (window--state-get-1): Obey window-point-insertion-type.
9796
050cc68b
LB
97972012-04-11 Lennart Borgman <lennart.borgman@gmail.com>
9798
9799 * emacs-lisp/lisp.el (narrow-to-defun): `beginning-of-defun' goes
9800 to previous function when point is on the first character of a
75f1671a 9801 function. Take care of that in `narrow-to-defun' (bug#6157).
050cc68b 9802
a38c310c
GM
98032012-04-11 Glenn Morris <rgm@gnu.org>
9804
effed0c2
GM
9805 * vc/vc-bzr.el (vc-bzr-status): Handle all errors,
9806 not just file-errors.
9807
a38c310c
GM
9808 * vc/vc-bzr.el (vc-bzr-sha1-program, sha1-program): Remove.
9809 (vc-bzr-sha1): Use internal sha1.
9810
0221e323
SM
98112012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
9812
9813 * progmodes/flymake.el (flymake-mode): Beware read-only dirs (bug#8954).
9814
43956923
SG
98152012-04-10 Sébastien Gross <seb@chezwam.org> (tiny change)
9816
9817 * progmodes/hideshow.el (hs-hide-all): Don't infloop on comments
9818 that start in the middle of the line (bug#10496).
9819
6a8c9eaf
DN
98202012-04-10 Dan Nicolaescu <dann@gnu.org>
9821
9822 * battery.el (battery-linux-proc-acpi): Only one battery is
9823 discharged at a time, but that seems to confuse battery.el when
9824 computing `rate-type' for the battery not being discharged
9825 (bug#10332).
9826
1930bf5d
SM
98272012-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
9828
2a718f6f
SM
9829 * emacs-lisp/autoload.el (autoload-make-program): Remove, unused.
9830
599430d0
SM
9831 * international/quail.el: Use dolist and simplify.
9832 (quail-define-package, quail-update-keyboard-layout)
9833 (quail-define-rules): Use dolist.
9834 (quail-insert-kbd-layout, quail-get-translation): CSE.
9835
a2754b6c
SM
9836 * tmm.el: Use dolist, remove left over hook.
9837 (tmm-prompt, tmm-define-keys, tmm-shortcut, tmm-get-keybind):
9838 Use dolist.
9839 (calendar-load-hook): Don't mess with it.
9840
1930bf5d
SM
9841 * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
9842 Use derived-mode-p. Run the diff asynchronously.
9843
9f67961c
LMI
98442012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
9845
9846 * obsolete/mouse-sel.el: Add an Obsolete-since header.
9847
2a8ce227
JB
98482012-04-10 Juanma Barranquero <lekktu@gmail.com>
9849
9850 * misc.el: Display absolute path of loaded DLLs (bug#10424).
9851 (list-dynamic-libraries--loaded): New function.
9852 (list-dynamic-libraries--refresh): Use it.
9853
8f33b5f8
NW
98542012-04-10 Nathan Weizenbaum <nweiz@google.com>
9855
1930bf5d
SM
9856 * progmodes/python.el (python-fill-paragraph):
9857 Make python-fill-region in a multiline string work when font-lock is
8f33b5f8
NW
9858 disabled (bug#7018).
9859
b12f0439
L
98602012-04-10 Laimonas Vėbra <laimonas.vebra@gmail.com> (tiny change)
9861
1930bf5d 9862 * language/european.el (cp775): Add oem/legacy (en)coding on
75f1671a
JB
9863 DOS/MS Windows for the Baltic languages. There are still plenty
9864 of texts written in this encoding/codepage (bug#6519).
b12f0439 9865
57c3bd01
GM
98662012-04-10 Glenn Morris <rgm@gnu.org>
9867
9868 * cus-start.el (eol-mnemonic-unix, eol-mnemonic-dos, eol-mnemonic-mac):
9869 Add :standard values, reducing "rogue" customs in emacs -Q a bit more.
9870
6c3eab30
FA
98712012-04-10 Florian Adamsky <florian@adamsky.it> (tiny change)
9872
1930bf5d 9873 * recentf.el (recentf-dialog-mode-map): Add two keybindings for
6c3eab30
FA
9874 next-line "n" and previous-line "p" in order to make recentf more
9875 consistent with ibuffer, dired or org-mode (bug#9387).
9876
24d78a88
LMI
98772012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
9878
bc72b5d9
LMI
9879 * image.el (put-image): Return the overlay created instead of the
9880 optional input string (bug#7834). Note that this may break code
9881 that is (for some reason or other) depending on `put-image'
9882 returning the string.
9883
bd2dba5a
LMI
9884 * mouse-sel.el (mouse-sel-mode): Mark as obsolete (bug#6174).
9885
74beb59f
LMI
9886 * simple.el (zap-to-char): Allow zapping using input methods
9887 (bug#1580).
9888
24d78a88
LMI
9889 * textmodes/fill.el (fill-region): Leave point and mark where they
9890 were before filling (bug#5399).
9891
263f20cd
GM
98922012-04-09 Glenn Morris <rgm@gnu.org>
9893
9894 * version.el (emacs-bzr-get-version):
9895 Handle lightweight checkouts of local branches.
9896
58d1f797
AS
98972012-04-09 Andreas Schwab <schwab@linux-m68k.org>
9898
263f20cd 9899 * international/characters.el: Recover lost case pairs. (Bug#11209)
58d1f797 9900
b4d3bc10
CY
99012012-04-09 Chong Yidong <cyd@gnu.org>
9902
9903 * custom.el (custom-variable-p): Return nil for non-symbol
9904 arguments instead of signaling an error.
9905 (user-variable-p): Obsolete alias for custom-variable-p.
9906
9907 * apropos.el (apropos-variable):
9908 * files-x.el (read-file-local-variable):
9909 * simple.el (set-variable):
9910 * woman.el (woman-mini-help):
9911 * emacs-lisp/byte-opt.el (side-effect-free-fns): Callers changed.
9912
fd06db5d
GM
99132012-04-09 Glenn Morris <rgm@gnu.org>
9914
e5fcdb5e
GM
9915 * startup.el (normal-top-level): Don't look for leim-list.el
9916 in places where it will not be found. (Bug#910)
9917
fd06db5d
GM
9918 * international/mule-cmds.el (set-default-coding-systems):
9919 * files.el (normal-mode):
9920 Remove guarded calls to ucs-set-table-for-input. (Bug#9821)
9921 This function was removed with ucs-tables.el in 2008.
9922
b39bb7e1
EZ
99232012-04-08 Eli Zaretskii <eliz@gnu.org>
9924
9925 * textmodes/ispell.el (ispell-check-version): For hunspell, set
9926 ispell-encoding8-command to "-i", without a trailing space.
9927 (ispell-start-process): For hunspell, use '("-i" ENCODING), in 2
9928 separate command-line arguments, to specify the encoding, since
9929 that's how hunspell expects it.
9930
5c5b8e23
GM
99312012-04-08 Glenn Morris <rgm@gnu.org>
9932
9933 * loadup.el: Load bindings before cus-start.
9934 This reduces somewhat the number of "rogue" settings in emacs -Q.
9935
a1ed8b05
GM
99362012-04-07 Glenn Morris <rgm@gnu.org>
9937
9938 * version.el (emacs-bzr-get-version): New function.
dfae128a 9939 (emacs-bzr-version): New variable.
a1ed8b05
GM
9940 * loadup.el (emacs-bzr-version): Set it. (Bug#8054)
9941 * mail/emacsbug.el (report-emacs-bug): Include bzr version.
9942
b142f158
EZ
99432012-04-07 Eli Zaretskii <eliz@gnu.org>
9944
dfae128a
GM
9945 * international/uni-bidi.el, international/uni-category.el:
9946 * international/uni-combining.el, international/uni-decimal.el:
9947 * international/uni-decomposition.el, international/uni-digit.el:
9948 * international/uni-lowercase.el, international/uni-mirrored.el:
9949 * international/uni-name.el, international/uni-numeric.el:
9950 * international/uni-titlecase.el, international/uni-uppercase.el:
9951 Update for Unicode 6.1.
b142f158 9952
9078ead6
EZ
99532012-04-07 Eli Zaretskii <eliz@gnu.org>
9954
9955 * term/w32-win.el (dynamic-library-alist): Add libxml2 DLLs.
9956
f23d2c7d
LMI
99572012-04-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
9958
9959 * window.el (shrink-window): Mention the `window-min-height'
9960 variable in the doc string.
9961
0a0a3573
BG
99622012-04-05 Bastien Guerry <bzg@altern.org>
9963
9964 * color.el (color-lighten-name): Fix typo.
9965
e5248ac9
SM
99662012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
9967
9968 * server.el (server--on-display-p): New function.
9969 (server--on-display-p): Use it.
9970
b4243e22
GV
99712012-04-04 Gabor Vida <vidagabor@gmail.com> (tiny change)
9972
9973 * ido.el (ido-wide-find-dirs-or-files): Use file-name-absolute-p
9974 (bug#11145).
9975
305d9f44
SM
99762012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
9977
9978 * comint.el (comint--common-quoted-suffix): Check string boundary
9979 before comparing (bug#11158).
9980 * pcomplete.el (pcomplete--common-quoted-suffix): Idem.
9981
3d439cd1
CY
99822012-04-04 Chong Yidong <cyd@gnu.org>
9983
321cc491
CY
9984 * minibuffer.el (completion-extra-properties): Doc fix.
9985
3d439cd1
CY
9986 * subr.el (delayed-warnings-hook): Doc fix.
9987
2d562c0f
DU
99882012-04-04 Daiki Ueno <ueno@unixuser.org>
9989
9990 * epa.el (epa--select-keys): Bind C-c C-c to finish the key
9991 selection (Bug#11159).
9992 (epa-insert-keys): Inform that the default public key will be
9993 exported if no key is selected.
9994
4443f204
RS
99952012-04-04 Richard Stallman <rms@gnu.org>
9996
9997 * mail/emacsbug.el (report-emacs-bug): Bind inhibit-read-only.
9998
529c06b6
CY
99992012-04-03 Chong Yidong <cyd@gnu.org>
10000
10001 * mail/sendmail.el (mail-mode-map): Bind C-c C-i to
10002 mail-insert-file, not its obsolete alias mail-attach-file.
10003
66b907dc
MA
100042012-04-03 Michael Albinus <michael.albinus@gmx.de>
10005
10006 * notifications.el (notifications-notify): Fix docstring.
10007
c0ea195d
GM
100082012-04-02 Glenn Morris <rgm@gnu.org>
10009
10010 * emacs-lisp/authors.el (authors-aliases): Another addition.
10011
5ca64e00
MA
100122012-04-02 Michael Albinus <michael.albinus@gmx.de>
10013
10014 * net/tramp-gvfs.el (tramp-gvfs-send-command): Apply
10015 `tramp-compat-call-process' instead of `tramp-local-call-process'.
10016 Reported by Magnus Henoch <magnus.henoch@gmail.com>.
10017
42ee526b
CY
100182012-04-01 Chong Yidong <cyd@gnu.org>
10019
10020 * files.el (file-in-directory-p): Rename from file-subdir-of-p.
10021 Handle root directory properly.
10022 (copy-directory): Caller changed.
10023
10024 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
10025 * net/tramp.el (tramp-file-name-for-operation): Callers changed.
10026
0b021094
GM
100272012-03-31 Glenn Morris <rgm@gnu.org>
10028
40f86458
GM
10029 * term/xterm.el (xterm-extra-capabilities): Doc fix.
10030
7019c177
GM
10031 * language/indian.el ("Devanagari"): Fix typo. (Bug#11103)
10032
a1daddd6
GM
10033 * calendar/calendar.el (calendar-window-list)
10034 (calendar-hide-window): Restore. (Bug#11140)
10035 (calendar-exit): Use calendar-window-list, calendar-hide-window again.
10036
0b021094
GM
10037 * emacs-lisp/edebug.el (edebug-unwrap-results): Doc fix.
10038
40311efc
TV
100392012-03-30 Thierry Volpiatto <thierry.volpiatto@gmail.com>
10040
10041 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
10042 Check if file is a symlink (Bug#10489).
10043
10044 * files.el (copy-directory): Likewise.
10045
5319014e
CY
100462012-03-30 Chong Yidong <cyd@gnu.org>
10047
10048 * image.el (imagemagick-types-inhibit)
10049 (imagemagick-register-types): Doc fix.
10050
935d1290
AM
100512012-03-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
10052
090bd7cb 10053 * textmodes/ispell.el (ispell-get-extended-character-mode):
ef24141c 10054 Disable extended-char-mode for hunspell. hunspell does not support it
75f1671a 10055 and treats ~word as ordinary words in pipe mode.
935d1290 10056
61c6e8fd
GM
100572012-03-30 Glenn Morris <rgm@gnu.org>
10058
10059 * tutorial.el (help-with-tutorial): Ensure local variables don't
10060 happen to make the buffer read-only. (Bug#11127)
10061
81fdff00
SM
100622012-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
10063
10064 * progmodes/perl-mode.el (perl-indent-line): Use `noindent' in strings.
10065 (perl-calculate-indent): Return `noindent' in strings.
10066
6e7a6ec0
SS
100672012-03-28 Sam Steingold <sds@gnu.org>
10068
10069 * calendar/calendar.el (calendar-exit): Use `quit-windows-on'
10070 instead of the broken adhockery which does not prevent calendar
10071 buffers from being displayed at random after exit.
10072 (calendar-window-list, calendar-hide-window): Remove the broken
10073 adhockery.
10074
fee88ca0
GM
100752012-03-28 Glenn Morris <rgm@gnu.org>
10076
10077 * replace.el (query-replace-map): Doc fix.
10078
38de3354
AS
100792012-03-28 Andreas Schwab <schwab@linux-m68k.org>
10080
10081 * vc/vc-git.el (vc-git-state): Don't try to match all of the diff
10082 contents. (Bug#11109)
10083
b973155e
SM
100842012-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
10085
10086 * emacs-lisp/avl-tree.el (avl-tree--enter-balance): Fix paren typo
10087 (bug#11077).
10088 (avl-tree--check, avl-tree--check-node): New funs.
10089
dcb6e7b3
MR
100902012-03-27 Martin Rudalics <rudalics@gmx.at>
10091
10092 * window.el (switch-to-visible-buffer): New option.
b973155e
SM
10093 (switch-to-prev-buffer, switch-to-next-buffer):
10094 Observe switch-to-visible-buffer. Make sure that checking for a window
dcb6e7b3
MR
10095 showing a buffer already is done on the same frame.
10096
b4fa35fa
GM
100972012-03-27 Glenn Morris <rgm@gnu.org>
10098
10099 * startup.el (mail-host-address): Doc fix.
10100
f9210e18
SM
101012012-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
10102
10103 * emacs-lisp/bytecomp.el (byte-compile-constants-vector): Allow more
10104 than 197 variables.
10105
c0bf7753
AF
101062012-03-26 Ami Fischman <ami@fischman.org>
10107
10108 * vc/vc-git.el (vc-git-state): Avoid unnecessarily locking.
10109
33da7b16
GM
101102012-03-26 Glenn Morris <rgm@gnu.org>
10111
02243d9d
GM
10112 * files.el (save-buffers-kill-emacs): Doc fix.
10113
33da7b16
GM
10114 * startup.el (normal-top-level, command-line, command-line-1):
10115 Give them doc strings.
10116
e5a69fd0
EZ
101172012-03-25 Eli Zaretskii <eliz@gnu.org>
10118
10119 * makefile.w32-in (install): Use $(DIRNAME)_same-dir.tst instead
b973155e 10120 of same-dir.tst, to avoid stepping on other (parallel) Make job's toes.
e5a69fd0 10121
9a69676a
CY
101222012-03-25 Chong Yidong <cyd@gnu.org>
10123
4125cb8b
CY
10124 * custom.el (load-theme): Even if NO-ENABLE arg is t, reenable the
10125 theme if it was previously enabled before (Bug#11031).
10126
dd470960
CY
10127 * cus-theme.el (custom-theme-write-faces): Retrieve current face
10128 spec with custom-face-get-current-spec if its :shown-value is not
10129 determined yet (Bug#9337).
4125cb8b 10130 (customize-create-theme, custom-theme-revert): Doc fixes.
dd470960 10131
9a69676a
CY
10132 * button.el (button-at): Minor addition to docstring.
10133
6e7e90fa
SL
101342012-03-24 Simon Leinen <simon.leinen@gmail.com>
10135
10136 * vc/vc.el (vc-merge): Fix a prompt.
10137
f06e2758
CY
101382012-03-24 Chong Yidong <cyd@gnu.org>
10139
10140 * mwheel.el (mwheel-scroll): Call deactivate-mark at the right
10141 point (Bug#9623).
10142
6e7e90fa
SL
10143 * button.el (button-at): Minor addition to docstring.
10144
b9d0879b
SM
101452012-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
10146
10147 * newcomment.el (comment-choose-indent): No space after BOL.
10148
e71cebb3
SS
101492012-03-22 Sam Steingold <sds@gnu.org>
10150
10151 * window.el (switch-to-prev-buffer): Revert last patch because the
10152 bug turned out to be an advertised feature (Elisp manual 28.14).
10153
335aff35
GM
101542012-03-22 Glenn Morris <rgm@gnu.org>
10155
10156 * vc/vc-bzr.el (vc-bzr-status-switches): New option. (Bug#6724)
10157 (vc-bzr-command): If running "status", pass vc-bzr-status-switches.
10158
c676576a
LMI
101592012-03-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
10160
10161 * net/network-stream.el (network-stream-open-starttls): Make error
10162 message under Windows be less misleading.
10163
126f3d39
LW
101642012-03-22 Liang Wang <netcasper@gmail.com> (tiny change)
10165
10166 * progmodes/etags.el (etags-list-tags): Only use tags which goto-func
10167 understands (bug#9942).
10168
64fee311
CY
101692012-03-22 Chong Yidong <cyd@gnu.org>
10170
10171 * simple.el (end-of-visible-line): Handle return value of
10172 next-single-property-change properly (Bug#9371).
10173
a640d29a
KH
101742012-03-22 Kenichi Handa <handa@m17n.org>
10175
10176 * international/quail.el (quail-insert-kbd-layout): Fix previous
10177 change. To avoid unwanted bidi reordering, use
10178 bidi-string-mark-left-to-right instead of inserting LRO and PDF.
10179
39675016
DG
101802012-03-21 Dmitry Gutov <dgutov@yandex.ru>
10181
10182 * progmodes/ruby-mode.el: Don't confuse "end:" for "end" (bug#10786).
10183 (ruby-block-end-re, ruby-delimiter, ruby-parse-partial)
10184 (ruby-beginning-of-indent): Be more careful with the difference
10185 between word-boundary and symbol boundary.
10186 (ruby-mode-syntax-table): Make : a symbol constituent.
10187
0a6934fc 101882012-03-21 Andreas Politz <politza@fh-trier.de>
1acad97c 10189
3d008e4f
SM
10190 * outline.el (outline-flag-region): Evaporate overlays (bug#10789).
10191
0a6934fc
SM
101922012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
10193
af67c9d7
SM
10194 * progmodes/etags.el (tags-completion-at-point-function):
10195 Improve last fix.
10196
1acad97c
SM
10197 * files.el (move-file-to-trash): Files aren't regexps (bug#11055).
10198
e298b5da
SS
101992012-03-21 Sam Steingold <sds@gnu.org>
10200
10201 * progmodes/etags.el (tags-completion-at-point-function):
10202 Avoid the error when point is inside the pattern.
10203
91d82a70
JY
102042012-03-21 John Yates <john@yates-sheets.org> (tiny change)
10205
10206 * progmodes/hideshow.el (hs-inside-comment-p): Fix hiding of first
10207 line (Bug#10855).
10208
69188b79
CY
102092012-03-21 Drew Adams <drew.adams@oracle.com>
10210
10211 * info.el (Info-menu): Handle string value of FORK arg (Bug#10858).
10212
99fc91fe
AK
102132012-03-21 Anmol Khirbat <anmol@khirbat.net> (tiny change)
10214
10215 * ido.el (ido-set-current-directory, ido-read-internal)
10216 (ido-choose-completion-string, ido-completion-help): Handle nil
10217 value of ido-completion-buffer (Bug#11008).
10218
087bbb4c
SS
102192012-03-21 Sam Steingold <sds@gnu.org>
10220
10221 * window.el (switch-to-prev-buffer): Do not switch to a visible
10222 window previous buffer, just like with the frame previous buffers.
10223
fb5b8aca
CY
102242012-03-21 Chong Yidong <cyd@gnu.org>
10225
10226 * faces.el (make-face, make-empty-face, copy-face):
10227 * face-remap.el (face-remap-add-relative, face-remap-set-base):
10228 Doc fixes.
10229
dc9924b8
SM
102302012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
10231
10232 * wid-edit.el (widget-complete-field): Remove (bug#11051).
10233 (widget-complete): Remove broken use of it.
10234
f0bcceb9
CY
102352012-03-20 Chong Yidong <cyd@gnu.org>
10236
dc9924b8
SM
10237 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
10238 Use string-width and truncate-string-width to handle arbitrary
f0bcceb9
CY
10239 characters.
10240
ee52ebf3
TH
102412012-03-20 Tassilo Horn <tassilo@member.fsf.org>
10242
10243 * textmodes/artist.el (artist-menu-map): Bind Rectangle menu item
10244 to draw rectangles, not squares. (Regression introduced by revno
10245 2011-03-02T03:48:01Z!cyd@stupidchicken.com)
10246
4c5779ab
CY
102472012-03-18 Chong Yidong <cyd@gnu.org>
10248
10249 * faces.el (face-spec-reset-face): Don't call display-graphic-p if
10250 it is not yet defined (for temacs).
10251
15360934
LL
102522012-03-18 Leo Liu <sdl.web@gmail.com>
10253
735135f9
PE
10254 * net/rcirc.el (rcirc-cmd-quit): Allow quitting all servers with
10255 prefix.
15360934 10256
d9a8eb66
EZ
102572012-03-17 Eli Zaretskii <eliz@gnu.org>
10258
10259 * textmodes/ispell.el (ispell-skip-tib, ispell-keep-choices-win)
10260 (ispell-choices-win-default-height, ispell-silently-savep)
10261 (ispell-dictionary-alist, ispell-encoding8-command)
10262 (ispell-check-version, ispell-aspell-find-dictionary)
10263 (ispell-valid-dictionary-list, ispell-words-keyword)
10264 (ispell-get-word, ispell-internal-change-dictionary)
10265 (ispell-region, ispell-skip-region-list)
10266 (ispell-begin-skip-region-regexp, ispell-ignore-fcc)
10267 (ispell-process-line, ispell-minor-mode, ispell-minor-check)
10268 (ispell-message-text-end, ispell-message)
10269 (ispell-buffer-local-parsing): Doc fix.
10270
f02ff80d
J
102712012-03-13 Jambunathan K <kjambunathan@gmail.com>
10272
10273 * htmlfontify.el: Add support for code block fontification for ODT
10274 export (Bug #9914).
10275 (hfy-optimisations): Define new option
10276 `body-text-only'
10277 (hfy-fontify-buffer): Honor above setting.
10278 (hfy-begin-span, hfy-end-span): New routines factored out form
10279 `hfy-fontify-buffer'.
10280 (hfy-begin-span-handler, hfy-end-span-handler): New variables
10281 that permit insertion of custom tags.
10282 (hfy-fontify-buffer): Use above handlers.
10283 (hfy-face-to-css-default): Same as the earlier `hfy-face-to-css'.
10284 (hfy-face-to-css): Re-defined to be a variable.
dc9924b8 10285 (hfy-compile-stylesheet): Modify. Allow stylesheet to be built
75f1671a 10286 over multiple runs. This is made possible by having the caller let
f02ff80d
J
10287 bind a special variable `hfy-user-sheet-assoc'.
10288 (htmlfontify-string): New defun.
10289 (hfy-compile-face-map): Make sure that the last char in the
10290 buffer is correctly fontified.
10291 (hfy-face-resolve-face): Whitespace only change.
10292
9ac7a13f
EZ
102932012-03-17 Eli Zaretskii <eliz@gnu.org>
10294
10295 * textmodes/ispell.el (ispell-get-decoded-string): Make the error
10296 message more clear.
10297
e2b5bdd7
LL
102982012-03-16 Leo Liu <sdl.web@gmail.com>
10299
10300 * emacs-lisp/copyright.el (copyright-year-ranges): Fix typo.
10301
2e492df3
AM
103022012-03-16 Alan Mackenzie <acm@muc.de>
10303
10304 Further optimise the handling of large macros.
10305
10306 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Use a
10307 limit to a call of `c-literal-limits'.
10308 (c-determine-+ve-limit): New function.
dc9924b8
SM
10309 (c-at-macro-vsemi-p): Move `c-in-literal' to the bottom of an `and'.
10310 (c-guess-basic-syntax): In macros, restrict a search limit to 2000.
2e492df3
AM
10311 In CASE 5B, restrict a search limit to 500.
10312 (c-just-after-func-arglist-p): Obviouly wrong `or' -> `and'.
10313
10314 * progmodes/cc-mode.el (c-neutralize-syntax-in-and-mark-CPP):
10315 Restrict macro bounds to +-500 from after-change's BEG END.
10316
50e94f0c
LL
103172012-03-16 Leo Liu <sdl.web@gmail.com>
10318
10319 * font-lock.el (lisp-font-lock-keywords-2): Add letrec.
10320
6f09f6ed
AH
103212012-03-16 Aaron S. Hawley <Aaron.S.Hawley@gmail.com>
10322
10323 * tar-mode.el (tar-mode): Fix saving by conditionally undoing
dc9924b8 10324 `special-mode' setting of `buffer-read-only'. (Bug#11010)
6f09f6ed 10325
c7e73d51
GM
103262012-03-16 Glenn Morris <rgm@gnu.org>
10327
da986230
GM
10328 * view.el (view-buffer, view-buffer-other-window)
10329 (view-buffer-other-frame): Doc fixes re special mode-class.
10330
0835f01e
GM
10331 * subr.el (eval-after-load): If named feature is provided not from
10332 a file, run after-load forms. (Bug#10946)
10333
c7e73d51
GM
10334 * calendar/calendar.el (calendar-insert-at-column):
10335 Handle non-unit-width characters a bit better. (Bug#10978)
10336
3f2eafd1
CY
103372012-03-15 Chong Yidong <cyd@gnu.org>
10338
10339 * emacs-lisp/ring.el (ring-extend): New function.
10340 (ring-insert+extend): Extend the ring correctly (Bug#11019).
10341
10342 * comint.el (comint-read-input-ring)
10343 (comint-add-to-input-history): Grow comint-input-ring lazily.
10344
103af3fe
SM
103452012-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
10346
663b1677
SM
10347 * progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
10348 Fix up parsing of multiline twoarg non-paired elements (bug#11014).
10349
103af3fe
SM
10350 * imenu.el: Fix multiple inheritance breakage (bug#9199).
10351 (imenu-add-to-menubar): Don't add a redundant index.
10352 (imenu-update-menubar): Handle a dynamically composed keymap.
10353
899cb7cb
KY
103542012-03-13 Katsumi Yamaoka <yamaoka@jpl.org>
10355
10356 * mail/sendmail.el (mail-encode-header):
10357 Bind rfc2047-encode-encoded-words to nil.
10358
3809f91d
GM
103592012-03-13 Glenn Morris <rgm@gnu.org>
10360
10361 * calendar/calendar.el (calendar-string-spread):
10362 Handle non-unit-width characters a bit better. (Bug#10978)
10363
9e345a01
LL
103642012-03-13 Leo Liu <sdl.web@gmail.com>
10365
10366 * vc/vc-hg.el (vc-hg-working-revision): Rework to work with both
10367 directory and file as argument (Bug#10822).
10368
4a07df36
KS
103692012-03-13 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
10370
10371 * progmodes/gdb-mi.el (gdb-invalidate-disassembly):
10372 For dynamically generated code, follow $PC.
10373 (gdb-disassembly-handler-custom): Handle no function name case.
10374
4aaa9356
TL
103752012-03-13 Tim Landscheidt <tim@tim-landscheidt.de> (tiny change)
10376
10377 * calendar/icalendar.el (icalendar-export-file, icalendar-import-file):
10378 * emulation/ws-mode.el (ws-query-replace):
10379 * sort.el (sort-regexp-fields):
10380 Fix missing trailing whitespace in interactive prompts. (Bug#11002)
10381
225979da
SM
103822012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
10383
10384 * dabbrev.el: Fix cycle completion order (bug#10963).
10385 (dabbrev--last-obarray, dabbrev--last-completion-buffer): Remove.
10386 (dabbrev-completion): Don't use an obarray; provide
10387 a cycle-sort-function.
10388
e2f1fdab
LL
103892012-03-12 Leo Liu <sdl.web@gmail.com>
10390
dc9924b8 10391 * simple.el (kill-new): Use equal-including-properties for comparison.
e2f1fdab
LL
10392 (kill-do-not-save-duplicates): Doc fix.
10393
b19490ed
SM
103942012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
10395
10396 * dabbrev.el: Fix cycle completion (bug#10963).
10397 Use lexical binding and wrap to 80 columns.
10398 (dabbrev-completion): Delay computing the list of completions.
10399
4b05d722
KH
104002012-03-12 Kenichi Handa <handa@m17n.org>
10401
10402 * international/quail.el (quail-insert-kbd-layout): Surround each
10403 row by LRO and PDF instead of inserting many LRMs. Pad the left
10404 and right of each non-spacing marks. Insert invisible space
10405 between lower and upper characters to prevent composition.
10406
dbbc2e69
SM
104072012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
10408
10409 * minibuffer.el (minibuffer-complete): Don't get confused when the
10410 function is run twice via different commands (bug#10958).
10411 (complete-with-action): Fix docstring.
10412
292112ed
CY
104132012-03-12 Chong Yidong <cyd@gnu.org>
10414
5d1ac394
CY
10415 * nxml/nxml-mode.el (nxml-mode-map): Do not bind C-RET (Bug#6776).
10416 (nxml-completion-at-point-function): New function.
10417 (nxml-mode): Use it.
10418 (nxml-bind-meta-tab-to-complete-flag): Default to t.
10419
292112ed
CY
10420 * emacs-lisp/package.el (package-unpack, package-unpack-single):
10421 Load generated autoloads file before byte compiling (Bug#10970).
10422 (package--make-autoloads-and-compile): New helper fun.
10423
4098f8f7
CS
104242012-03-12 Christopher Schmidt <christopher@ch.ristopher.com>
10425
10426 * ibuffer.el (ibuffer-redisplay): Remove another gratuitous error.
10427
8f754691
MA
104282012-03-11 Michael Albinus <michael.albinus@gmx.de>
10429
10430 * autorevert.el (auto-revert-handler): Ensure, that
10431 file-readable-p is applied only for local files or in
10432 auto-revert-tail-mode.
10433
e29ab36b
AS
104342012-03-11 Andreas Schwab <schwab@linux-m68k.org>
10435
dbbc2e69
SM
10436 * server.el (server-eval-at): Handle non-tcp connections.
10437 Decode result string.
ad0bf5b6 10438
e29ab36b
AS
10439 * server.el (server-msg-size): New constant.
10440 (server-reply-print): New function.
10441 (server-eval-and-print): Use it.
10442 (server-eval-at): Use server-quote-arg and server-unquote-arg.
10443 Handle -print-nonl.
10444
de5939ba
CS
104452012-03-11 Christopher Schmidt <christopher@ch.ristopher.com>
10446
10447 * ibuffer.el (ibuffer-redisplay): Remove gratuitous error
10448 (Bug#10987).
10449
0c93eabf
CY
104502012-03-11 Chong Yidong <cyd@gnu.org>
10451
397a688f
CY
10452 * simple.el (goto-line): Doc fix (Bug#9938).
10453
2cc775f9
CY
10454 * subr.el (save-window-excursion): Doc fix (Bug#9979).
10455
0c93eabf
CY
10456 * dabbrev.el (dabbrev--find-expansion): Update progress reporter
10457 when finished (Bug#10963).
10458
c491fa41
MR
104592012-03-11 Martin Rudalics <rudalics@gmx.at>
10460
10461 * window.el (split-window-below): Fix bug in case where
10462 split-window-keep-point is nil (Bug#10971).
10463
300e8fa5
JL
104642012-03-11 Juri Linkov <juri@jurta.org>
10465
10466 * replace.el (replace-highlight): Set isearch-word to nil
10467 unconditionally. (Bug#10887)
10468
dbf6c5a1
EZ
104692012-03-10 Eli Zaretskii <eliz@gnu.org>
10470
10471 * net/mairix.el (mairix-replace-invalid-chars): Rename from
10472 mairix-replace-illegal-chars; all callers changed. Don't remove
dc9924b8 10473 ^, ~, and = characters: they are meaningful in mairix search specs.
dbf6c5a1
EZ
10474 (mairix-widget-create-query): Add usage information about mairix
10475 search forms: negating words, searching for substrings, etc.
10476
b9e501de
JP
104772012-03-10 Jae-hyeon Park <jae-hyeon.park@desy.de> (tiny change)
10478
10479 * international/fontset.el (font-encoding-alist): Add an entry for
10480 ksx1001 (Bug#5667).
10481
92795c91
RS
104822012-03-10 Richard Stallman <rms@gnu.org>
10483
1694e6c1
RS
10484 * mail/sendmail.el (mail-encode-header):
10485 Set rfc2047-encode-encoded-words.
10486
607e8555
RS
10487 * mail/mail-utils.el (mail-quote-printable): Quote multibyte chars.
10488
de3bc99a
RS
10489 * mail/rmail.el (rmail-buffers-swapped-p): Don't assume dead
10490 view buffer means not swapped.
10491 (rmail-view-buffer-kill-buffer-hook): Give buf name in error msg.
10492 (rmail-write-region-annotate): Error if real text has disappeared.
10493
92795c91
RS
10494 * epa-mail.el (epa-mail-encrypt): Bind inhibit-read-only.
10495
699bd04e
CY
104962012-03-10 Chong Yidong <cyd@gnu.org>
10497
10498 * emulation/cua-rect.el (cua--init-rectangles):
dbbc2e69
SM
10499 * emulation/cua-base.el (cua--init-keymaps):
10500 Add delete-forward-char to remappings (Bug#9666).
699bd04e 10501
570a1714
MR
105022012-03-10 Martin Rudalics <rudalics@gmx.at>
10503
dbbc2e69
SM
10504 * speedbar.el (speedbar-unhighlight-one-tag-line):
10505 Avoid unhighlighting due to frame switching (Bug#10275).
570a1714 10506
82dcf4e4
CY
105072012-03-10 Chong Yidong <cyd@gnu.org>
10508
7a2c7ca7
CY
10509 * minibuffer.el (completion-in-region, completion-help-at-point):
10510 Give the completion field overlay a high priority (Bug#6830).
10511
82dcf4e4
CY
10512 * dired.el (dired-goto-file): Recognize absolute file name
10513 listings (Bug#7126).
10514 (dired-goto-file-1): New helper function.
10515 (dired-toggle-read-only): Inhibit warnings.
10516
052e28ac
MA
105172012-03-09 Michael Albinus <michael.albinus@gmx.de>
10518
75f1671a 10519 * net/dbus.el (dbus-property-handler): Return empty array if
052e28ac
MA
10520 there are no properties.
10521
95d5e396
LL
105222012-03-09 Leo Liu <sdl.web@gmail.com>
10523
10524 * savehist.el (savehist-printable): Stricter check for string
10525 value (Bug#10937).
10526
3f018d6d
EZ
105272012-03-09 Eli Zaretskii <eliz@gnu.org>
10528
dbbc2e69
SM
10529 * mail/smtpmail.el (smtpmail-send-it):
10530 Bind coding-system-for-write to *-unix, so that FCC files are kept in
3f018d6d
EZ
10531 valid mbox format.
10532
f7fd3d79
GM
105332012-03-09 Glenn Morris <rgm@gnu.org>
10534
10535 * files.el (dir-locals-find-file):
10536 Don't check result is regular, readable.
10537 (dir-locals-read-from-file): Demote errors.
10538
6ff6e72f
EZ
105392012-03-08 Eli Zaretskii <eliz@gnu.org>
10540
dbbc2e69
SM
10541 * international/quail.el (quail-insert-kbd-layout):
10542 Insert invisible LRM characters before each character in a keyboard
6ff6e72f
EZ
10543 layout cell, to prevent their reordering by bidi display engine.
10544 For details, see the discussion in
10545 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00085.html.
10546
9cec7834
AM
105472012-03-08 Alan Mackenzie <acm@muc.de>
10548
10549 * progmodes/cc-cmds.el (c-mark-function): Make it leave a mark at
10550 the starting position; make it extend the marked region when
10551 invoked repeatedly - all under appropriate circumstances.
10552 Fixes bugs #5525, #10906.
10553
9a40b8d4
GM
105542012-03-08 Glenn Morris <rgm@gnu.org>
10555
10556 * files.el (locate-dominating-file, dir-locals-find-file):
10557 Undo 2012-03-06 change.
10558
7a08ed35
EZ
105592012-03-07 Eli Zaretskii <eliz@gnu.org>
10560
dbbc2e69
SM
10561 * international/quail.el (quail-help):
10562 Force bidi-paragraph-direction be left-to-right. See discussion in
7a08ed35
EZ
10563 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00062.html
10564 for the reason.
10565
5aca4f71 105662012-03-07 Michael Albinus <michael.albinus@gmx.de>
6612a284
MA
10567
10568 Avoid superfluous registering of signals. (Bug#10807)
10569
10570 * notifications.el (notifications-on-action-object)
10571 (notifications-on-close-object): New defvars.
10572 (notifications-on-action-signal, notifications-on-closed-signal):
10573 Unregister the signal if not needed any longer.
10574 (notifications-notify): Register `notifications-action-signal' or
10575 `notifications-closed-signal', if :on-action or :on-close has been
10576 passed as argument.
10577
78e8b10a
CY
105782012-03-07 Chong Yidong <cyd@gnu.org>
10579
10580 * cus-start.el: Avoid x-select-enable-clipboard-manager warning on
10581 non-X platforms.
10582
69481eb8
GM
105832012-03-06 Glenn Morris <rgm@gnu.org>
10584
10585 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
10586 (x-disown-selection-internal, x-get-selection-internal):
10587 Doc fix (add arglist signatures). (Bug#10783)
10588
133b8e11
KS
105892012-03-06 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
10590
10591 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
10592 Handle breakpoints with no "type".
10593
99a83064
GM
105942012-03-06 Glenn Morris <rgm@gnu.org>
10595
10596 * files.el (locate-dominating-file): Add optional predicate argument.
10597 (dir-locals-find-file): Make use of above change.
10598
17798e78
TTN
105992012-03-06 Thien-Thi Nguyen <ttn@gnuvola.org>
10600
10601 * info.el (Info-insert-dir): Also try "dir.gz".
10602
eb182446
GM
106032012-03-06 Glenn Morris <rgm@gnu.org>
10604
8f2114ee
GM
10605 * files.el (dir-locals-find-file):
10606 Ignore non-readable or non-regular files. (Bug#10928)
10607
eb182446
GM
10608 * files.el (locate-dominating-file): Doc fix.
10609
24679323
AS
106102012-03-06 Adam Spiers <emacs@adamspiers.org> (tiny change)
10611
10612 * calendar/calendar.el (calendar-set-mode-line):
10613 `getenv' returns a string. (Bug#10951)
10614
01d972a9
LL
106152012-03-05 Leo Liu <sdl.web@gmail.com>
10616
109aa8a9
LL
10617 * simple.el (backward-delete-char-untabify): Constrain point to
10618 field (Bug#10939).
10619
01d972a9
LL
10620 * eshell/em-cmpl.el (eshell-cmpl-initialize): Fix shift-tab key.
10621
10607bea
CY
106222012-03-05 Chong Yidong <cyd@gnu.org>
10623
10624 * simple.el (count-words): If called from Lisp, return the word
10625 count, for symmetry with `count-lines'. Arglist changed.
10626 (count-words--message): Args changed. Consolidate counting code
10627 from count-words and count-words-region.
10628 (count-words-region): Caller changed.
10629 (count-lines-region): Make it an obsolete alias.
10630
5dd11cfe
TH
106312012-03-04 Tassilo Horn <tassilo@member.fsf.org>
10632
10633 * saveplace.el (save-place-to-alist)
10634 (save-place-ignore-files-regexp): Allow value nil to disable this
10635 feature.
10636
c349f4e6
CY
106372012-03-04 Chong Yidong <cyd@gnu.org>
10638
10639 * faces.el (face-spec-reset-face): For the default face, reset the
10640 attributes to default values (Bug#10748).
10641
e627be4c
LMI
106422012-03-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
10643
10644 * mail/emacsbug.el (report-emacs-bug-hook): Fix up thinko in
10645 previous patch: Check `message-send-mail-function', and not the
10646 default function (bug#10897).
10647
ebeabff4
MA
106482012-03-04 Michael Albinus <michael.albinus@gmx.de>
10649
a41a6cf4
MA
10650 * notifications.el (notifications-on-action-signal)
10651 (notifications-on-closed-signal): Check for unique service name of
10652 incoming event. Fix error in removing entry.
ebeabff4 10653 (top): Register for signals with wildcard service name.
a41a6cf4 10654 (notifications-notify): Use daemon unique service name for map entries.
ebeabff4 10655
c1ca42b4
CY
106562012-03-04 Chong Yidong <cyd@gnu.org>
10657
dc9924b8 10658 * cus-start.el: Make x-select-enable-clipboard-manager customizable.
c1ca42b4 10659
ea16568d
GM
106602012-03-04 Glenn Morris <rgm@gnu.org>
10661
10662 * abbrev.el (copy-abbrev-table, abbrev-table-p)
10663 (abbrev-minor-mode-table-alist, define-abbrev, abbrev-insert)
10664 (expand-abbrev, define-abbrev-table): Doc fixes.
10665
fbae4637
LMI
106662012-03-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
10667
10668 * mail/emacsbug.el (report-emacs-bug-hook): Look at the value of
10669 `message-default-send-mail-function' and not `send-mail-function'
10670 when doing the prompting for `sendmail-query-once' before sending
10671 in Message buffers (bug#10897).
10672
a1e7225c
LMI
10673 * net/tls.el (open-tls-stream): Don't set the dont-query-on-exit flag.
10674 This is inconsistent with all the other stream functions, which leave
10675 the setting up to the higher levels (if so wanted) (bug#10931).
10676
56d093a9
AM
106772012-03-02 Alan Mackenzie <acm@muc.de>
10678
10679 Depessimize the handling of very large macros.
10680
10681 * progmodes/cc-engine.el (c-macro-cache, c-macro-cache-start-pos):
10682 (c-macro-cache-syntactic): New variables to implement a one
10683 element macro cache.
10684 (c-invalidate-macro-cache): New function.
10685 (c-beginning-of-macro, c-end-of-macro, c-syntactic-end-of-macro):
10686 Adapt to use the new cache.
10687 (c-state-safe-place): Use better the cache of safe positions.
10688 (c-state-semi-nonlit-pos-cache)
10689 (c-state-semi-nonlit-pos-cache-limit):
10690 New variables for...
10691 (c-state-semi-safe-place): New function. Here, in a macro is "safe".
10692 (c-invalidate-state-cache-1): New stuff for c-state-semi-safe-place.
dbbc2e69
SM
10693 (c-in-literal, c-literal-limits, c-determine-limit-get-base):
10694 Use c-state-semi-safe-place.
56d093a9 10695
dbbc2e69
SM
10696 * progmodes/cc-langs.el (c-get-state-before-change-functions):
10697 Add c-invalidate-macro-cache to the C, C++, Obj entries.
56d093a9 10698
817e5c3d
MA
106992012-03-02 Michael Albinus <michael.albinus@gmx.de>
10700
dbbc2e69
SM
10701 * jka-compr.el (jka-compr-call-process):
10702 Apply `file-accessible-directory-p' only when the default directory is
817e5c3d
MA
10703 not remote.
10704
a032a702
MA
107052012-03-01 Michael Albinus <michael.albinus@gmx.de>
10706
10707 * files.el (file-equal-p): Fix docstring. Avoid unnecessary
10708 access of FILE2, if FILE1 does not exist.
10709
99a54f21
MA
10710 * net/tramp-sh.el (tramp-remote-process-environment): Add "PAGER=\"\"".
10711 Reported by Robert Lupton the Good <rhl@astro.princeton.edu>.
10712
10713 * vc/vc-git.el (vc-git--call): Enable `inhibit-null-byte-detection'.
10714 Add "PAGER=" to `process-environment'.
10715
f6561e1f
MM
107162012-03-01 Michael R. Mauger <mmaug@yahoo.com>
10717
10718 * progmodes/sql.el: Bug fix
10719 (sql-get-login-ext): Save login values in globals.
10720 (sql-get-login): Use new version of `sql-get-login-ext'.
10721 (sql-interactive-mode): Set global `sql-connection' to nil.
10722 (sql-connect): Set global values for connection.
10723 (sql-product-interactive): Save global values as buffer local.
10724
2d44d9cc
LL
107252012-02-29 Leo Liu <sdl.web@gmail.com>
10726
10727 * abbrev.el (define-abbrevs): Reset sys to nil.
10728
96b49301 107292012-02-28 Thierry Volpiatto <thierry.volpiatto@gmail.com>
10730
bf7f9bc5
JB
10731 * files.el (file-equal-p): Rename from `files-equal-p'.
10732 Return nil when one or both files don't exist.
96b49301 10733 (file-subdir-of-p): Now only top directory must exists,
10734 return nil if it doesn't.
bf7f9bc5
JB
10735 (copy-directory): No need to test with `file-subdir-of-p' after
10736 creating dir.
10737 * net/tramp.el (tramp-file-name-for-operation): Rename `files-equal-p'
10738 to `file-equal-p'.
96b49301 10739
44e97401
GM
107402012-02-28 Glenn Morris <rgm@gnu.org>
10741
10742 * shell.el (shell-mode):
10743 * progmodes/vhdl-mode.el (wildcard-to-regexp, file-expand-wildcards):
10744 * play/landmark.el (landmark-font-lock-face-O):
10745 * play/handwrite.el (handwrite):
10746 * play/gomoku.el (gomoku-O):
10747 * net/browse-url.el (browse-url-browser-display):
10748 * international/mule.el (define-charset):
10749 * htmlfontify.el (hfy-etags-cmd, hfy-face-attr-for-class):
10750 * filesets.el (filesets-find-file-delay):
10751 * eshell/em-xtra.el (eshell-xtra):
10752 * eshell/em-unix.el (eshell-grep):
10753 * emulation/viper.el (viper-mode):
10754 * emacs-lisp/regexp-opt.el (regexp-opt-group):
10755 * emacs-lisp/easymenu.el (easy-menu-define):
10756 * calendar/timeclock.el (timeclock-use-display-time):
10757 * bs.el (bs-mode):
10758 * bookmark.el (bookmark-save-flag):
10759 Doc fix (standardize possessive apostrophe usage).
10760
c98c6276
CY
107612012-02-27 Chong Yidong <cyd@gnu.org>
10762
bf7f9bc5
JB
10763 * emulation/viper-cmd.el (viper-intercept-ESC-key):
10764 Fix key-binding lookup for ESC key (Bug#9146).
ecf5f74e 10765
c98c6276
CY
10766 * font-lock.el (font-lock-specified-p): Rename from
10767 font-lock-spec-present. Callers changed.
10768
9c62cd04 107692012-02-27 Daniel Hackney <dan@haxney.org>
8ac9e529 10770
bf7f9bc5
JB
10771 * emacs-lisp/package.el (package-compute-transaction):
10772 Handle holding a package version to t in package-load-list.
8ac9e529 10773
530739c9
MA
107742012-02-26 Michael Albinus <michael.albinus@gmx.de>
10775
10776 * net/tramp.el (tramp-inodes, tramp-devices): Initialize with 0.
10777 (tramp-get-inode, tramp-get-device): Use cached values.
10778
487915d7
AM
107792012-02-26 Alan Mackenzie <acm@muc.de>
10780
10781 Check there is a font-lock specification before doing initial
10782 fontification.
10783
10784 * font-core.el (font-lock-mode): Move the conditional from
10785 :after-hook to font-lock-initial-fontify.
10786 (font-lock-default-function): Move the check for a specification
10787 to font-lock-spec-present.
10788
dc9924b8 10789 * font-lock.el (font-lock-initial-fontify): Call ...
487915d7
AM
10790 (font-lock-spec-present): New function.
10791
4fd96557
JB
107922012-02-26 Jim Blandy <jimb@red-bean.com>
10793
10794 * progmodes/gdb-mi.el (gdb-mi-quote): New function.
10795 (gdb-send): Apply it to the operand of the '-interpreter-exec
10796 console' command, so that we can pass arguments with (say) quotes
10797 in them. Store exact string sent in gdb-debug-log (Bug#10765).
10798
9a4888c0
CY
107992012-02-26 Chong Yidong <cyd@gnu.org>
10800
07498861
CY
10801 * help-fns.el (describe-function-1): Clarify description of
10802 remapping (Bug#10844).
10803
9a4888c0
CY
10804 * files.el (files-equal-p): Doc fix.
10805 (file-subdir-of-p): Doc fix. Convert loop macro to plain Lisp,
10806 and quit the loop once a mismatch is found.
10807
ea8fb88d
JB
108082012-02-25 Juanma Barranquero <lekktu@gmail.com>
10809
10810 * bs.el (bs--show-with-configuration): Don't throw an error
10811 if the window cannot be split; otherwise, subsequent calls to
10812 bs-show fail, restoring a stale window config. (Bug#10882)
10813
525795c1
JD
108142012-02-25 Jan Djärv <jan.h.d@swipnet.se>
10815
10816 * term/ns-win.el (global-map): Bind ns-drag-file to
10817 ns-find-file (Bug#5855, Bug#10050).
10818
f008086f
AS
108192012-02-25 Andreas Schwab <schwab@linux-m68k.org>
10820
10821 * calendar/parse-time.el (parse-time-string): Allow extractor to
10822 return nil.
10823
a3fcfa99
MA
108242012-02-25 Michael Albinus <michael.albinus@gmx.de>
10825
91027d08
JB
10826 * net/tramp.el (tramp-file-name-for-operation):
10827 Add `files-equal-p' and `file-subdir-of-p'.
a3fcfa99
MA
10828
10829 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
91027d08
JB
10830 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
10831 Add COPY-CONTENTS argument.
a3fcfa99 10832
67b0de11
CY
108332012-02-25 Chong Yidong <cyd@gnu.org>
10834
10835 Add custom groups for VC backends, for consistency with vc-bzr.
10836
10837 * vc/vc-arch.el (vc-arch):
10838 * vc/vc-cvs.el (vc-cvs):
10839 * vc/vc-git.el (vc-git):
10840 * vc/vc-hg.el (vc-hg):
10841 * vc/vc-mtn.el (vc-mtn):
10842 * vc/vc-rcs.el (vc-rcs):
10843 * vc/vc-sccs.el (vc-sccs):
10844 * vc/vc-svn.el (vc-svn): New customization group (Bug#10871).
10845 All relevant defcustoms reassigned.
10846
3c9dfce6
CY
108472012-02-25 Chong Yidong <cyd@gnu.org>
10848
1339bf43
CY
10849 * newcomment.el (comment-styles): Add autoload (Bug#10868).
10850
3c9dfce6
CY
10851 * term/x-win.el (x-initialize-window-system): Reduce default for
10852 x-selection-timeout to 5 seconds (Bug#8869).
10853
25b2e303 108542012-02-24 Thierry Volpiatto <thierry.volpiatto@gmail.com>
10855
ec70a47d
GM
10856 * files.el (files-equal-p, file-subdir-of-p): New functions.
10857 (copy-directory): Error when trying to copy a directory on itself.
25b2e303 10858 Add missing copy-contents arg to tramp handler.
ec70a47d
GM
10859 * dired-aux.el (dired-copy-file-recursive): Same.
10860 (dired-create-files): Modify destination when source is equal to
10861 dest when copying files.
53a46cd0 10862 Return also when dest is a subdir of source. (Bug#10489)
25b2e303 10863
914260cd
MA
108642012-02-24 Michael Albinus <michael.albinus@gmx.de>
10865
10866 * net/ange-ftp.el (ange-ftp-parse-netrc): Suppress comment lines.
10867 (Bug#10874)
10868
2cb228f7
AM
108692012-02-23 Alan Mackenzie <acm@muc.de>
10870
10871 * emacs-lisp/easy-mmode.el (define-minor-mode): Add extra
10872 parameter "after-hook:" to allow the expansion to run code after
10873 the execution of the mode hooks.
10874
10875 * font-lock.el (font-lock-initial-fontify): New function extracted
91027d08 10876 from font-lock-mode-internal.
2cb228f7 10877
91027d08 10878 * font-core.el (font-lock-mode): Call font-lock-initial-fontify in
2cb228f7
AM
10879 :after-hook.
10880
8f0fde21
SM
108812012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
10882
3e88618b
SM
10883 * minibuffer.el: Make sure cycling is reset upon edit with icomplete.el.
10884 (completion--cache-all-sorted-completions): New function.
10885 (completion-all-sorted-completions): Use it.
10886 (completion--do-completion, minibuffer-force-complete):
10887 Use it to re-instate the flush hook.
10888
8f0fde21
SM
10889 * icomplete.el (icomplete-completions): Replace last fix with a better
10890 one (bug#10850).
10891
8e911f6f
DG
108922012-02-23 Dmitry Gutov <dgutov@yandex.ru>
10893
10894 * emacs-lisp/lisp.el (beginning-of-defun-raw): Don't call end-of-defun
10895 when it might call us back infinitely (bug#10797).
10896
49fe4321
GM
108972012-02-23 Glenn Morris <rgm@gnu.org>
10898
10899 * minibuffer.el (completion-category-overrides): Doc fix.
10900
b291b572
SM
109012012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
10902
10903 * minibuffer.el (completion-table-with-context): Fix inf-loop.
10904 Reported by Aaron S. Hawley <aaron.s.hawley@gmail.com>.
10905
31a9ef2e
GM
109062012-02-23 Glenn Morris <rgm@gnu.org>
10907
5e6e6794 10908 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case)
31a9ef2e
GM
10909 (authors-obsolete-files-regexps, authors-ignored-files)
10910 (authors-ambiguous-files, authors-renamed-files-alist):
10911 Add more entries.
10912
0bd1e074
JL
109132012-02-23 Juri Linkov <juri@jurta.org>
10914
10915 * isearch.el (isearch-occur): Sync interactive spec with occur's
10916 new feature in `occur-read-primary-args'. Doc fix. (Bug#10705)
10917
b617673c
JL
10918 * replace.el (occur-menu-map): Add menu item for `occur-edit-mode'.
10919
19e9789e
JL
109202012-02-22 Juri Linkov <juri@jurta.org>
10921
10922 * international/mule-cmds.el (read-char-by-name): Use \` and \'.
10923 (ucs-insert): Doc fix. Check for hex digits in the string.
10924 Don't display `nil' in the error message. (Bug#10857)
10925
f41ce09d
AM
109262012-02-22 Alan Mackenzie <acm@muc.de>
10927
7a71b18d 10928 * progmodes/cc-mode.el: Revert change #2012-02-06T22:08:41Z!larsi@gnus.org from 2012-02-06.
f41ce09d 10929
ac2eceee
GM
109302012-02-22 Glenn Morris <rgm@gnu.org>
10931
10932 * ffap.el (ffap-c-path):
10933 * man.el (Man-header-file-path): Handle multiarch. (Bug#10702)
10934
abd1f678
CY
109352012-02-22 Chong Yidong <cyd@gnu.org>
10936
10937 * custom.el (load-theme): Doc fix.
10938
f25aef2e
GM
109392012-02-22 Glenn Morris <rgm@gnu.org>
10940
10941 * dired-x.el (dired-guess-shell-alist-default):
10942 Remove escape sequences from nroff output. (Bug#172)
10943
5f8dc2ca
GM
109442012-02-21 Glenn Morris <rgm@gnu.org>
10945
6ff86ec4
GM
10946 * vc/emerge.el (emerge-defvar-local):
10947 Set `permanent-local' property rather than unused `preserved'.
10948
be3223a3 10949 * textmodes/picture.el (picture-delete-char): New alias.
5f8dc2ca
GM
10950 (picture-mode-map): Use it. (Bug#10860)
10951 (picture-mode): Doc fix.
10952
3fe58f4f
JB
109532012-02-21 Juanma Barranquero <lekktu@gmail.com>
10954
10955 * newcomment.el (uncomment-region-default): Remove unused binding.
10956
f9a998c3
GM
109572012-02-21 Glenn Morris <rgm@gnu.org>
10958
10959 * textmodes/picture.el (picture-motion, picture-motion-reverse)
10960 (picture-self-insert, picture-tab-chars): Doc fix.
10961 (picture-mode-map): Fix C-a, C-e.
10962
c6029348
GM
109632012-02-20 Glenn Morris <rgm@gnu.org>
10964
10965 * emacs-lisp/authors.el (authors-aliases): Add another entry.
10966
ab1ce9d7
LL
109672012-02-20 Leo Liu <sdl.web@gmail.com>
10968
10969 * icomplete.el (icomplete-completions): Check FROM arg before
10970 passing to substring (Bug#10850).
10971
0fd40f89
CY
109722012-02-19 Chong Yidong <cyd@gnu.org>
10973
10974 * comint.el: Require ansi-color.
10975 (comint-output-filter-functions): Add ansi-color-process-output.
10976
10977 * ansi-color.el: Don't set comint-output-filter-functions; it is
10978 now in the initial value defined in comint.el.
10979 (ansi-color-apply-face-function): New variable.
10980 (ansi-color-apply-on-region): Use it.
10981 (ansi-color-apply-overlay-face): New function.
10982
10983 * shell.el (shell): No need to require ansi-color.
10984 (shell-mode): Use ansi-color-apply-face-function to highlight
10985 color escapes using font-lock-face property (Bug#10835).
10986
20af2394
CY
109872012-02-19 Chong Yidong <cyd@gnu.org>
10988
10989 * vc/ediff-init.el (ediff-strip-mode-line-format): Handle non-list
10990 mode-line formats (Bug#10839).
10991
e23a3fbe
GM
109922012-02-18 Glenn Morris <rgm@gnu.org>
10993
b474519e
GM
10994 * mail/rmail.el (rmail-dont-reply-to-names): Mark as obsolete.
10995
10996 * mail/undigest.el (unforward-rmail-message): Doc fix.
10997
e23a3fbe
GM
10998 * saveplace.el (save-place-ignore-files-regexp): Add :version.
10999
57939ff4
EZ
110002012-02-18 Eli Zaretskii <eliz@gnu.org>
11001
11002 * international/characters.el (script-list): Sync with the latest
11003 Unicode Character Database.
11004
0c23686e
AS
110052012-02-18 Andreas Schwab <schwab@linux-m68k.org>
11006
11007 * international/titdic-cnv.el: Remove duplicate coding tag.
11008 * language/cham.el: Likewise.
11009 * language/tai-viet.el: Likewise.
11010
6818b449
GM
110112012-02-18 Glenn Morris <rgm@gnu.org>
11012
11013 * calendar/cal-menu.el (cal-menu-diary-menu, cal-menu-goto-menu):
11014 * calendar/calendar.el (diary-file, diary-bahai-entry-symbol)
11015 (calendar-bahai-all-holidays-flag, calendar-other-dates):
11016 * calendar/diary-lib.el (diary-abbreviated-year-flag):
11017 * calendar/holidays.el (holiday-bahai-holidays)
11018 (calendar-holidays, list-holidays):
11019 Use utf-8 Bahá'í in doc-strings, menus, etc.
11020
0311a3fc
TH
110212012-02-17 Tassilo Horn <tassilo@member.fsf.org>
11022
11023 * saveplace.el (save-place-ignore-files-regexp): New variable
11024 allowing for excluding files from saving their location of point.
11025 The default value matches the temporary commit message editing
11026 files from Git, SVN, Bazaar, and Mercurial.
11027 (save-place-to-alist): Use it.
11028
d209e2fb 110292012-02-17 Lawrence Mitchell <wence@gmx.li>
f1a71c6e 11030 Stefan Monnier <monnier@iro.umontreal.ca>
eb864a71
LM
11031
11032 * newcomment.el (uncomment-region-default): Don't leave extra space
11033 when an arg is provided (bug#8150).
11034
ee0ce425
TZ
110352012-02-17 Teodor Zlatanov <tzz@lifelogs.com>
11036
eb864a71 11037 * net/gnutls.el (gnutls-trustfiles): Fix Cygwin bundle location.
ee0ce425 11038
95ddf442
GM
110392012-02-17 Glenn Morris <rgm@gnu.org>
11040
11041 * net/socks.el: Require network-stream. (Bug#10599)
11042
48dd1e39 110432012-02-17 Kenichi Handa <handa@m17n.org>
c406be43
KH
11044
11045 * international/charprop.el:
11046 * international/uni-name.el:
11047 * international/uni-old-name.el:
11048 * international/uni-comment.el: Regenerate.
11049
d68cd087
GM
110502012-02-16 Glenn Morris <rgm@gnu.org>
11051
11052 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits):
11053 Interactively in calendar buffer, give an error if not on a date.
11054
13932042
GM
110552012-02-15 Glenn Morris <rgm@gnu.org>
11056
11057 * shell.el (shell-delimiter-argument-list):
11058 Revert 2011-02-17 change. (Bug#8027)
11059
c3a70e2b
CY
110602012-02-15 Chong Yidong <cyd@gnu.org>
11061
60236b0d
CY
11062 * minibuffer.el (completion-at-point-functions): Doc fix.
11063
c3a70e2b
CY
11064 * custom.el (defcustom): Doc fix; note use of defvar.
11065
9f26dc24
GM
110662012-02-15 Glenn Morris <rgm@gnu.org>
11067
11068 * mail/smtpmail.el (smtpmail-smtp-user, smtpmail-stream-type):
11069 Doc fixes.
11070
6546b134
GM
110712012-02-14 Glenn Morris <rgm@gnu.org>
11072
11073 * mail/smtpmail.el (smtpmail-query-smtp-server): Give it a doc.
11074
d29b2b4c
LI
110752012-02-14 Lars Ingebrigtsen <larsi@gnus.org>
11076
11077 * mail/smtpmail.el (smtpmail-query-smtp-server): Fix typo in the
11078 way the ports list is computed.
835bdcba
LI
11079 (smtpmail-query-smtp-server): Prompt the user for a port number if
11080 we can't connect to any of the standard ports (bug#10810).
d29b2b4c 11081
08dcdbc9
TZ
110822012-02-14 Teodor Zlatanov <tzz@lifelogs.com>
11083
11084 * net/gnutls.el (gnutls-trustfiles): Add Cygwin location.
11085
2605051a
GM
110862012-02-13 Glenn Morris <rgm@gnu.org>
11087
11088 * minibuffer.el (read-file-name): Doc fix. (Bug#10798)
11089
7ee99f32
TZ
110902012-02-13 Teodor Zlatanov <tzz@lifelogs.com>
11091
11092 * net/gnutls.el (gnutls-trustfiles): New variable.
11093 (gnutls-negotiate): Use it.
11094
5f0af64f
LI
110952012-02-13 Lars Ingebrigtsen <larsi@gnus.org>
11096
11097 * simple.el (mail-user-agent): Mention that `gnus-user-agent' only
11098 does its stuff if Gnus is running.
11099
c14fcc95
AM
111002012-02-13 Alan Mackenzie <acm@muc.de>
11101
11102 Fix a loop in c-set-fl-decl-start.
11103
7a71b18d 11104 * progmodes/cc-engine.el (c-set-fl-decl-start): Add a check that
c14fcc95
AM
11105 c-backward-syntactic-ws actually moves backwards.
11106
142b4d90
LL
111072012-02-13 Leo Liu <sdl.web@gmail.com>
11108
11109 * net/rcirc.el (rcirc-markup-attributes): Move point to the
11110 beginning so that all \C-o chars are removed.
11111
fa9958a6
TZ
111122012-02-12 Teodor Zlatanov <tzz@lifelogs.com>
11113
dc9924b8 11114 * net/gnutls.el (gnutls-algorithm-priority): Add missing :group tag.
fa9958a6 11115
0bc5886a
AM
111162012-02-12 Alan Mackenzie <acm@muc.de>
11117
11118 Fix infinite loop with long macros.
4d6769e1 11119 * progmodes/cc-engine.el (c-state-safe-place): Handle macros properly.
0bc5886a 11120
d4bd55e7
CY
111212012-02-12 Chong Yidong <cyd@gnu.org>
11122
11123 * window.el (display-buffer): Doc fix (Bug#10785).
11124
66f3fe22
GM
111252012-02-12 Glenn Morris <rgm@gnu.org>
11126
bd7da63e
GM
11127 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
11128 (x-disown-selection-internal, x-get-selection-internal):
11129 Sync docs with the xselect.c versions.
11130
66f3fe22
GM
11131 * allout-widgets.el: Add missing license notice.
11132
3e0d2fa7
GM
111332012-02-11 Glenn Morris <rgm@gnu.org>
11134
cfecdf09
GM
11135 * select.el (x-get-selection-internal, x-own-selection-internal)
11136 (x-disown-selection-internal):
11137 * x-dnd.el (x-get-selection-internal): Update declarations.
11138
6d216d7f
GM
11139 * vc/log-view.el (vc-diff-internal): Remove unneeded declaration.
11140
2bed3f04
GM
11141 * window.el (window-sides-slots):
11142 * tool-bar.el (tool-bar-position):
11143 * term/xterm.el (xterm-extra-capabilities):
11144 * ses.el (ses-self-reference-early-detection):
11145 * progmodes/verilog-mode.el (verilog-auto-declare-nettype)
11146 (verilog-auto-wire-type)
11147 (verilog-auto-delete-trailing-whitespace)
11148 (verilog-auto-reset-blocking-in-non, verilog-auto-inst-sort)
11149 (verilog-auto-tieoff-declaration):
11150 * progmodes/sql.el (sql-login-hook, sql-ansi-statement-starters)
11151 (sql-oracle-statement-starters, sql-oracle-scan-on):
11152 * progmodes/prolog.el (prolog-align-comments-flag)
11153 (prolog-indent-mline-comments-flag, prolog-object-end-to-0-flag)
11154 (prolog-left-indent-regexp, prolog-paren-indent-p)
11155 (prolog-paren-indent, prolog-parse-mode, prolog-keywords)
11156 (prolog-types, prolog-mode-specificators)
11157 (prolog-determinism-specificators, prolog-directives)
11158 (prolog-electric-newline-flag, prolog-hungry-delete-key-flag)
11159 (prolog-electric-dot-flag)
11160 (prolog-electric-dot-full-predicate-template)
11161 (prolog-electric-underscore-flag, prolog-electric-tab-flag)
11162 (prolog-electric-if-then-else-flag, prolog-electric-colon-flag)
11163 (prolog-electric-dash-flag, prolog-old-sicstus-keys-flag)
11164 (prolog-program-switches, prolog-prompt-regexp)
11165 (prolog-debug-on-string, prolog-debug-off-string)
11166 (prolog-trace-on-string, prolog-trace-off-string)
11167 (prolog-zip-on-string, prolog-zip-off-string)
11168 (prolog-use-standard-consult-compile-method-flag)
11169 (prolog-use-prolog-tokenizer-flag, prolog-imenu-flag)
11170 (prolog-imenu-max-lines, prolog-info-predicate-index)
11171 (prolog-underscore-wordchar-flag, prolog-use-sicstus-sd)
11172 (prolog-char-quote-workaround):
11173 * progmodes/cc-vars.el (c-defun-tactic):
11174 * net/tramp.el (tramp-encoding-command-interactive)
11175 (tramp-local-end-of-line):
11176 * net/soap-client.el (soap-client):
11177 * net/netrc.el (netrc-file):
11178 * net/gnutls.el (gnutls):
11179 * minibuffer.el (completion-category-overrides)
11180 (completion-cycle-threshold)
11181 (completion-pcm-complete-word-inserts-delimiters):
11182 * man.el (Man-name-local-regexp):
11183 * mail/feedmail.el (feedmail-display-full-frame):
11184 * international/characters.el (glyphless-char-display-control):
11185 * eshell/em-ls.el (eshell-ls-date-format):
11186 * emacs-lisp/cl-indent.el (lisp-lambda-list-keyword-alignment)
11187 (lisp-lambda-list-keyword-parameter-indentation)
11188 (lisp-lambda-list-keyword-parameter-alignment):
11189 * doc-view.el (doc-view-image-width, doc-view-unoconv-program):
11190 * dired-x.el (dired-omit-verbose):
11191 * cus-theme.el (custom-theme-allow-multiple-selections):
11192 * calc/calc.el (calc-highlight-selections-with-faces)
11193 (calc-lu-field-reference, calc-lu-power-reference)
11194 (calc-note-threshold):
11195 * battery.el (battery-mode-line-limit):
11196 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
11197 (archive-7z-update):
11198 * allout.el (allout-prefixed-keybindings)
11199 (allout-unprefixed-keybindings)
11200 (allout-inhibit-auto-fill-on-headline)
11201 (allout-flattened-numbering-abbreviation):
11202 * allout-widgets.el (allout-widgets-auto-activation)
11203 (allout-widgets-icons-dark-subdir)
11204 (allout-widgets-icons-light-subdir, allout-widgets-icon-types)
11205 (allout-widgets-theme-dark-background)
11206 (allout-widgets-theme-light-background)
11207 (allout-widgets-item-image-properties-emacs)
11208 (allout-widgets-item-image-properties-xemacs)
11209 (allout-widgets-run-unit-tests-on-load)
11210 (allout-widgets-time-decoration-activity)
11211 (allout-widgets-hook-error-post-time)
11212 (allout-widgets-track-decoration):
11213 Add missing :version tags to new defcustoms and defgroups.
11214
5fec1b8e
GM
11215 * progmodes/sql.el (sql-ansi-statement-starters)
11216 (sql-oracle-statement-starters): Add custom type.
11217
3e0d2fa7
GM
11218 * progmodes/prolog.el: Remove leading '*' from defcustom docs.
11219 (prolog-system-version): Give it a type.
11220
90b671e2
EZ
112212012-02-11 Eli Zaretskii <eliz@gnu.org>
11222
11223 * term/pc-win.el (x-select-text, x-selection-owner-p)
11224 (x-own-selection-internal, x-disown-selection-internal)
11225 (x-get-selection-internal): Sync doc strings and argument lists
11226 with xselect.c, common-win.el and x-win.el. (Bug#10783)
11227
5eac0c02
LL
112282012-02-11 Leo Liu <sdl.web@gmail.com>
11229
11230 * progmodes/python.el (python-end-of-statement): Fix infinite
11231 loop. (Bug#10788)
11232
f82cb659
GM
112332012-02-10 Glenn Morris <rgm@gnu.org>
11234
11235 * international/mule-cmds.el (unify-8859-on-encoding-mode)
11236 (unify-8859-on-decoding-mode): Properly mark as obsolete.
11237
cc26d239
LI
112382012-02-10 Lars Ingebrigtsen <larsi@gnus.org>
11239
11240 * mail/emacsbug.el (report-emacs-bug-hook): Query the user first
11241 about SMTP before checking the From header.
11242
91027d08 11243 * mail/sendmail.el (sendmail-query-user-about-smtp): Refactor out
cc26d239
LI
11244 into own function for reuse by emacsbug.el.
11245
1be3ca5a
LL
112462012-02-10 Leo Liu <sdl.web@gmail.com>
11247
11248 * subr.el (condition-case-unless-debug): Rename from
11249 condition-case-no-debug. All callers changed.
11250 (with-demoted-errors): Fix caller.
11251
11252 * vc/diff-mode.el (diff-auto-refine-mode, diff-hunk):
11253 * nxml/rng-valid.el (rng-do-some-validation):
11254 * emacs-lisp/package.el (package-refresh-contents)
11255 (package-menu-execute):
11256 * desktop.el (desktop-create-buffer):
91027d08 11257 * font-lock.el (lisp-font-lock-keywords-2): Caller changed.
1be3ca5a 11258
b011fbfe
GM
112592012-02-10 Glenn Morris <rgm@gnu.org>
11260
b2096d72
GM
11261 * textmodes/bibtex.el:
11262 Add missing :version tags for new/changed defcustoms.
11263
b011fbfe
GM
11264 * files.el (remote-file-name-inhibit-cache): Doc fixes.
11265
4c7e65bf
LI
112662012-02-09 Lars Ingebrigtsen <larsi@rusty>
11267
11268 * mail/smtpmail.el (smtpmail-user-mail-address): New function.
11269 (smtpmail-via-smtp): Use it, or fall back on the From address.
11270 (smtpmail-send-it): Ditto.
11271
f3934f6f
SM
112722012-02-09 Stefan Monnier <monnier@iro.umontreal.ca>
11273
11274 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
11275 Don't fallback on byte-compile-defvar. Optimize (defvar foo) away.
11276 (byte-compile-tmp-var): New const.
11277 (byte-compile-defvar): Use it to minimize .elc size.
11278 Just use `defvar' rather than simulate it (bug#10761).
11279
a075a2c5
GM
112802012-02-09 Glenn Morris <rgm@gnu.org>
11281
cf3aa21b
GM
11282 * files.el (rename-uniquely): Doc fix. (Bug#3806)
11283
354998cd
GM
11284 * progmodes/cc-guess.el (c-guess-offset-threshold, c-guess-region-max):
11285 Add :version tags.
11286
dc9924b8
SM
11287 * progmodes/compile.el (compilation-error-screen-columns)
11288 (compilation-first-column, compilation-filter-start): Doc fixes.
83274125 11289
dab3703d
GM
11290 * vc/log-view.el (log-view-toggle-entry-display):
11291 * vc/vc.el (vc-merge, vc-pull): Doc fixes.
11292
3f88cd72
GM
11293 * mail/emacsbug.el (report-emacs-bug-can-use-osx-open)
11294 (report-emacs-bug-can-use-xdg-email):
11295 (report-emacs-bug-insert-to-mailer): Doc fixes.
11296 (report-emacs-bug): Message fix.
11297
d95b247d
GM
11298 * net/browse-url.el (browse-url-can-use-xdg-open)
11299 (browse-url-xdg-open): Doc fixes.
11300
a075a2c5
GM
11301 * electric.el (electric-indent-mode, electric-pair-mode)
11302 (electric-layout-rules, electric-layout-mode): Doc fixes.
11303 (electric-pair-pairs, electric-pair-skip-self): Add :version tags.
11304
ffb6157e
MR
113052012-02-08 Martin Rudalics <rudalics@gmx.at>
11306
11307 * server.el (server-unselect-display): Don't inadvertently kill
11308 the current buffer. (Bug#10729)
11309
e1ac4066
GM
113102012-02-08 Glenn Morris <rgm@gnu.org>
11311
34e8a2da
GM
11312 * progmodes/sql.el (sql-port, sql-connection-alist, sql-list-all)
11313 (sql-list-table): Doc fixes.
11314
b4ac6e8c
GM
11315 * image-mode.el (image-transform-minor-mode-map, image-transform-mode):
11316 Comment out (does nothing).
11317
e1ac4066
GM
11318 * completion.el (dynamic-completion-mode):
11319 * dirtrack.el (dirtrack-debug-mode):
11320 * electric.el (electric-layout-mode):
11321 * epa-mail.el (epa-mail-mode, epa-global-mail-mode):
11322 * face-remap.el (text-scale-mode, buffer-face-mode):
11323 * iimage.el (iimage-mode):
11324 * image-mode.el (image-transform-mode):
11325 * minibuffer.el (completion-in-region-mode):
11326 * scroll-lock.el (scroll-lock-mode):
11327 * simple.el (next-error-follow-minor-mode):
11328 * tar-mode.el (tar-subfile-mode):
11329 * tooltip.el (tooltip-mode):
11330 * vcursor.el (vcursor-use-vcursor-map):
11331 * wid-browse.el (widget-minor-mode):
11332 * emulation/tpu-edt.el (tpu-edt-mode):
11333 * emulation/tpu-extras.el (tpu-cursor-free-mode):
11334 * international/iso-ascii.el (iso-ascii-mode):
11335 * language/thai-util.el (thai-word-mode):
11336 * mail/supercite.el (sc-minor-mode):
11337 * net/goto-addr.el (goto-address-mode):
11338 * net/rcirc.el (rcirc-multiline-minor-mode, rcirc-track-minor-mode):
11339 * progmodes/cwarn.el (cwarn-mode):
11340 * progmodes/flymake.el (flymake-mode):
11341 * progmodes/glasses.el (glasses-mode):
11342 * progmodes/hideshow.el (hs-minor-mode):
11343 * progmodes/pascal.el (pascal-outline-mode):
11344 * textmodes/enriched.el (enriched-mode):
11345 * vc/smerge-mode.el (smerge-mode):
11346 Doc fixes (minor mode argument).
11347
5e0d957f
EZ
113482012-02-07 Eli Zaretskii <eliz@gnu.org>
11349
11350 * ls-lisp.el (ls-lisp-sanitize): New function.
11351 (ls-lisp-insert-directory): Use it to fix or remove any elements
11352 in file-alist with missing attributes. (Bug#4673)
11353
98d7371e
AM
113542012-02-07 Alan Mackenzie <acm@muc.de>
11355
11356 Fix spurious recognition of c-in-knr-argdecl.
11357
11358 * progmodes/cc-engine.el (c-in-knr-argdecl): Check for '=' in a
11359 putative K&R region.
11360
667ced3a
AM
113612012-02-07 Alan Mackenzie <acm@muc.de>
11362
eb864a71
LM
11363 * progmodes/cc-engine.el (c-forward-objc-directive):
11364 Prevent looping in "#pragma mark @implementation".
667ced3a 11365
5b77774d
MA
113662012-02-07 Michael Albinus <michael.albinus@gmx.de>
11367
11368 * notifications.el (notifications-on-closed-signal): Make `reason'
11369 optional. (Bug#10744)
11370
af008560
GM
113712012-02-07 Glenn Morris <rgm@gnu.org>
11372
60d47423
GM
11373 * emacs-lisp/easy-mmode.el (define-minor-mode):
11374 Doc fixes for the macro and the mode it defines.
11375
dd605cc4
GM
11376 * image.el (imagemagick-types-inhibit): Doc fix.
11377
af008560
GM
11378 * cus-start.el (imagemagick-render-type): Add it.
11379
5cc59a37
LI
113802012-02-06 Lars Ingebrigtsen <larsi@gnus.org>
11381
4d6769e1
JB
11382 * progmodes/cc-mode.el (c-standard-font-lock-fontify-region-function):
11383 Set the default at load time, too, so that `font-lock-fontify-buffer'
11384 can be called without setting up the entire mode first. This fixes
11385 a bug in `mm-inline-text' with C MIME parts.
5cc59a37 11386
9a6dd747
CY
113872012-02-06 Chong Yidong <cyd@gnu.org>
11388
2d16b285
CY
11389 * simple.el (list-processes--refresh): Delete exited processes
11390 (Bug#8094).
11391
171e9b6e
CY
11392 * comint.el (comint-next-prompt): next-single-char-property-change
11393 and prev-single-char-property-change never return nil (Bug#8657).
11394
9a6dd747
CY
11395 * custom.el (defcustom): Doc fix (Bug#9711).
11396
aa4589a7
CY
113972012-02-05 Chong Yidong <cyd@gnu.org>
11398
5c2a252f
CY
11399 * cus-edit.el (custom-variable-reset-backup): Quote the value
11400 before storing it in the customized-value property (Bug#6712).
4aab9006 11401 (custom-display): Add a customization type tag.
983b9602 11402 (custom-buffer-create-internal): Improve tooltip message.
5c2a252f 11403
aa4589a7
CY
11404 * wid-edit.el (widget-field-value-get): New optional arg to
11405 suppress trailing whitespace truncation.
11406 (character): Use it (Bug#2689).
11407
1ff980ae
AS
114082012-02-05 Andreas Schwab <schwab@linux-m68k.org>
11409
11410 * progmodes/gud.el (gud-pv): Use pv instead of pv1.
11411 * progmodes/gdb-mi.el (gud-pp): Use pp instead of pp1.
11412
03988c98
CY
114132012-02-05 Chong Yidong <cyd@gnu.org>
11414
eeb6cc88
CY
11415 * cus-edit.el (custom-variable-value-create): For mismatched
11416 types, show the current value (Bug#7600).
11417
03988c98
CY
11418 * custom.el (defcustom): Doc fix.
11419
f8cdeef0
GM
114202012-02-05 Glenn Morris <rgm@gnu.org>
11421
11422 * font-lock.el (lisp-font-lock-keywords-2): Add with-wrapper-hook.
11423
0696d255
JB
114242012-02-05 Juanma Barranquero <lekktu@gmail.com>
11425
11426 * emacs-lisp/pp.el (pp-to-string): Use `with-temp-buffer'.
11427 (pp-buffer): Use `ignore-errors', `looking-at-p'.
11428 (pp-last-sexp): Use `looking-at-p'.
11429
34c99998
GM
114302012-02-04 Glenn Morris <rgm@gnu.org>
11431
8f05da42
GM
11432 * files.el (revert-buffer):
11433 Doc fix (mention revert-buffer-in-progress-p).
11434
f160676e
GM
11435 * emacs-lisp/ert-x.el (ert-simulate-command):
11436 Check deferred-action-list (which is obsolete) is bound.
11437
c7291ad9
GM
11438 * subr.el (with-wrapper-hook): Doc fixes.
11439
34c99998
GM
11440 * simple.el (filter-buffer-substring-functions)
11441 (buffer-substring-filters, filter-buffer-substring): Doc fixes.
11442
6283a7d3
LL
114432012-02-04 Lars Ljung <lars@matholka.se> (tiny change)
11444
11445 * eshell/esh-ext.el (eshell-windows-shell-file): Match "cmdproxy"
11446 anywhere in shell-file-name, not just at the beginning. (Bug#10523)
11447
e96e3013
LL
114482012-02-04 Leo Liu <sdl.web@gmail.com>
11449
11450 * emacs-lisp/smie.el: Fix dead link (Bug#10711).
11451
8ded50f2
GM
114522012-02-04 Glenn Morris <rgm@gnu.org>
11453
82ff1d13
GM
11454 * image.el (image-extension-data): Add obsolete alias.
11455
987a0a16
GM
11456 * isearch.el (isearch-update): Doc fix.
11457
ea32ef46
GM
11458 * facemenu.el (list-colors-display): Doc fix (minor rephrasing).
11459
8ded50f2
GM
11460 * ido.el (ido-find-file): Doc fix (ido-toggle-vc not on any key).
11461
eea14f31
GM
114622012-02-03 Glenn Morris <rgm@gnu.org>
11463
11464 * image.el (image-animated-p): Doc fix. Use image-animated-types.
11465 (image-animate-timeout): Doc fix.
11466
11467 * image-mode.el (image-animate-loop, image-toggle-animation): Doc fixes.
11468
12f381b7
GM
114692012-02-02 Glenn Morris <rgm@gnu.org>
11470
953cebf5
GM
11471 * server.el (server-auth-dir): Doc fix.
11472 (server-eval-at): Doc fix. Give an explicit error if !server-use-tcp.
11473
12f381b7
GM
11474 * subr.el (run-mode-hooks): Doc fix.
11475
953a8c3b
JL
114762012-02-02 Juri Linkov <juri@jurta.org>
11477
11478 * image-mode.el (image-toggle-display-image): Remove tautological
11479 `major-mode' from the `derived-mode-p' test.
11480
c5d3843c
KH
114812012-02-02 Kenichi Handa <handa@m17n.org>
11482
9f6e692e 11483 * composite.el (compose-region): Cancel previous change.
c5d3843c 11484
159462d4 114852012-02-02 Kenichi Handa <handa@m17n.org>
d2a51fd7
KH
11486
11487 * composite.el (compose-region, compose-string): Signal error for
11488 a null string component (Bug#6988).
11489
9f562668
CY
114902012-02-01 Chong Yidong <cyd@gnu.org>
11491
e2cef717
CY
11492 * view.el (view-buffer-other-window, view-buffer-other-frame):
11493 Handle special modes like view-buffer (Bug#10650).
11494 (view-buffer): Simplify.
11495
9f562668
CY
11496 * frame.el (set-frame-font): Tweak meaning of third argument.
11497
9f6e692e
JB
11498 * dynamic-setting.el (font-setting-change-default-font):
11499 Use set-frame-font (Bug#9982).
9f562668 11500
781acb9f
GM
115012012-02-01 Glenn Morris <rgm@gnu.org>
11502
6035be52
GM
11503 * progmodes/compile.el (compilation-internal-error-properties):
11504 Respect compilation-first-column in the "*compilation*" buffer.
11505
781acb9f
GM
11506 * emacs-lisp/easy-mmode.el (define-minor-mode):
11507 Relax :variable's test for a named function.
11508
abbceb00
AM
115092012-01-31 Alan Mackenzie <acm@muc.de>
11510
11511 * progmodes/cc-engine.el (c-guess-basic-syntax): CASE 5B.1: Fix an
11512 off by one error.
11513
fce3fdeb
CY
115142012-01-31 Chong Yidong <cyd@gnu.org>
11515
11516 * frame.el (set-frame-font): New arg ALL-FRAMES.
11517
11518 * menu-bar.el (menu-set-font): Use set-frame-font.
11519
11520 * faces.el (face-spec-reset-face): Don't apply unspecified
11521 attribute values to the default face.
11522
47893581
JB
115232012-01-31 Juanma Barranquero <lekktu@gmail.com>
11524
11525 * progmodes/cwarn.el (cwarn): Remove dead link.
11526 (cwarn-configuration, cwarn-verbose, cwarn-mode-text, cwarn-load-hook):
11527 Remove * from defcustom docstrings.
11528 (turn-on-cwarn-mode): Make obsolete.
11529 (c-at-toplevel-p): Remove compatibility code for Emacs 20.3 and older.
11530 (turn-on-cwarn-mode-if-enabled): Call `cwarn-mode'.
11531
e58e988a
GM
115322012-01-31 Glenn Morris <rgm@gnu.org>
11533
60dc2671 11534 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
6c9b47ae 11535 Fix :variable handling of mode a symbol not equal to modefun.
60dc2671 11536 Allow named functions to be used as the cdr of :variable.
e58e988a 11537
7a3f511d
GM
115382012-01-30 Glenn Morris <rgm@gnu.org>
11539
11540 * emacs-lisp/authors.el (authors-fixed-entries):
11541 Remove reference to deleted file rnewspost.el.
11542
cb882333
JB
115432012-01-29 Juanma Barranquero <lekktu@gmail.com>
11544
11545 * window.el (window-with-parameter): Remove unused variable `windows'.
11546 (window--side-check): Remove unused variable `code'.
11547 (window--resize-siblings): Remove unused variable `first'.
11548 (adjust-window-trailing-edge): Remove unused variable `failed'.
11549 (window-deletable-p, window--delete): Remove unused variable `buffer'.
11550 Use `let', not `let*'.
11551 (balance-windows-2): Remove unused variable `found'.
11552 (window--state-put-2): Remove unused variable `splits'.
11553 (window-state-put): Remove unused variable `selected'.
11554 (same-window-p): Use `string-match-p'.
11555 (display-buffer-assq-regexp): Remove unused variable `value'.
11556 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
11557 Mark argument ALIST as ignored.
11558 (pop-to-buffer): Remove unused variable `old-window'.
11559
907201af
EZ
115602012-01-29 Eli Zaretskii <eliz@gnu.org>
11561
11562 * jka-cmpr-hook.el (jka-compr-compression-info-list): Support .lz
11563 and .lzma compressed files.
11564
ea162670
CY
115652012-01-29 Chong Yidong <cyd@gnu.org>
11566
5b95ee8a
CY
11567 * frame.el (window-system-default-frame-alist): Doc fix.
11568
ea162670
CY
11569 * dynamic-setting.el (font-setting-change-default-font): Don't
11570 change the default face if SET-FONT argument is non-nil (Bug#9982).
11571
d6e6f4b1
SB
115722012-01-29 Samuel Bronson <naesten@gmail.com> (tiny change)
11573
11574 * custom.el (defcustom): Add doc link to Lisp manual (Bug#10635).
11575
0f29fa41 115762012-01-29 Syver Enstad <syver.enstad@cisco.com> (tiny change)
6b25e4e2
SE
11577
11578 * progmodes/gud.el (pdb): Give pdb full paths, to allow setting
11579 breakpoints in files outside current directory (Bug#6098).
11580
db174434
CY
115812012-01-29 Chong Yidong <cyd@gnu.org>
11582
6b25e4e2
SE
11583 * progmodes/python.el: Require ansi-color at top-level.
11584
6df6ae42
JB
11585 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-abbrev-table):
11586 Define and use in Emacs Lisp mode (Bug#9360).
db174434
CY
11587 (lisp-mode-abbrev-table): Add doc.
11588 (lisp-mode-variables): Don't set local-abbrev-table.
11589 (lisp-interaction-mode): Use emacs-lisp-mode-abbrev-table.
11590
e70ee681
RW
115912012-01-28 Roland Winkler <winkler@gnu.org>
11592
11593 * textmodes/bibtex.el (bibtex-vec-incr): Fix docstring.
11594
ace88aa2
RW
115952012-01-28 Roland Winkler <winkler@gnu.org>
11596
11597 * textmodes/bibtex.el (bibtex-entry-alist): New function.
11598 (bibtex-set-dialect): Use it. Either set global values of
11599 dialect-dependent variables or bind these variables buffer-locally
11600 (Bug#10254).
11601 (bibtex-mode): Call bibtex-set-dialect via
11602 hack-local-variables-hook.
eb864a71
LM
11603 (bibtex-dialect): Update docstring.
11604 Add safe-local-variable predicate.
ace88aa2
RW
11605 (bibtex-entry-alist, bibtex-field-alist): Initialize via
11606 bibtex-set-dialect.
11607 (bibtex-mode-map): Define menu for each dialect.
11608 (bibtex-entry): Fix docstring.
11609
93376c5b
CY
116102012-01-28 Chong Yidong <cyd@gnu.org>
11611
11612 * eshell/esh-arg.el (eshell-quote-argument): New function.
11613
11614 * eshell/esh-ext.el (eshell-invoke-batch-file):
11615 * eshell/em-unix.el (eshell/cat, eshell/du): Use it to quote the
11616 first arg to eshell-parse-command (Bug#10523).
11617
4372494f
DA
116182012-01-28 Drew Adams <drew.adams@oracle.com>
11619
11620 * net/ange-ftp.el (ange-ftp-canonize-filename): Check, that
11621 `default-directory' is non-nil.
11622
4d4ec1f8
EZ
116232012-01-28 Eli Zaretskii <eliz@gnu.org>
11624
11625 * mail/emacsbug.el (report-emacs-bug): Fill the potentially long
11626 line that displays system-configuration-options. (Bug#9924)
11627
7c188927
DA
116282012-01-28 Drew Adams <drew.adams@oracle.com>
11629
11630 * descr-text.el (describe-char): Show information about POS, in
11631 addition to information about the character at POS. Improve and
11632 update the doc string. Change "code point" to "code point in
11633 charset", to avoid confusion with the character's Unicode code
11634 point shown above that. (Bug#10129)
11635
e0da685a
EZ
116362012-01-28 Eli Zaretskii <eliz@gnu.org>
11637
11638 * descr-text.el (describe-char): Show the raw character, not only
11639 its display form at POS. Suggested by Kenichi Handa <handa@m17n.org>.
11640 See http://lists.gnu.org/archive/html/emacs-devel/2012-01/msg00760.html
11641 for the reasons.
11642
70550acf
PH
116432012-01-28 Phil Hagelberg <phil@hagelb.org>
11644
eb864a71
LM
11645 * emacs-lisp/package.el (package-install):
11646 Run package-refresh-contents if there is no archive yet (Bug#9798).
70550acf 11647
0ce8e868
CY
116482012-01-28 Chong Yidong <cyd@gnu.org>
11649
cb882333
JB
11650 * emacs-lisp/package.el (package-maybe-load-descriptor):
11651 New function, split from package-maybe-load-descriptor.
0ce8e868
CY
11652 (package-maybe-load-descriptor): Use it.
11653 (package-download-transaction): Fully load required packages
11654 inside the loop, so that `require' calls work (Bug#10593).
11655 (package-install): No need to call package-initialize now.
11656
2e7f3bea
CY
116572012-01-28 Chong Yidong <cyd@gnu.org>
11658
6e9bad14
CY
11659 * simple.el (deactivate-mark): Doc fix (Bug#8614).
11660
f823b8ca
CY
11661 * tooltip.el (tooltip-mode): Doc fix.
11662 (tooltip-use-echo-area): Mark as obsolete (Bug#6595).
11663
2680c309
CY
11664 * frame.el (set-cursor-color): Doc fix (Bug#352).
11665
d7a9e63b
CY
11666 * mail/rmail.el (rmail-start-mail): Add send-action again (Bug#10625).
11667 (rmail-mail-return): Switch to NEWBUF only if it is non-nil.
11668
2e7f3bea
CY
11669 * cus-edit.el (custom-buffer-create-internal): Fix search button
11670 action (Bug#10542).
2ae01800 11671 (customize-unsaved, customize-saved): Doc fix (Bug#10541).
2e7f3bea 11672
fc4f7a23
EW
116732012-01-27 Eduard Wiebe <usenet@pusto.de>
11674
11675 * dired.el (dired-mark-files-regexp):
11676 Include any subdirectory components. (Bug#10445)
11677
7dd37071
ML
116782012-01-27 Mike Lamb <mrlamb@gmail.com> (tiny change)
11679
11680 * pcmpl-unix.el (pcmpl-ssh-known-hosts):
11681 Handle [host]:port syntax. (Bug#10533)
11682
a268160b
AH
116832012-01-27 Alex Harsanyi <harsanyi@mac.com>
11684
11685 * xml.el (xml-parse-tag): Fix parsing of comments (Bug#10405).
11686
e43273ef
GM
116872012-01-26 Glenn Morris <rgm@gnu.org>
11688
11689 * dired-x.el (dired-bind-jump): Use ctl-x-map and ctl-x-4-map.
11690 * term.el (term-raw-escape-map): Use Control-X-prefix.
11691 * vc/vc-hooks.el (vc-prefix-map): Use ctl-x-map. (Bug#10566)
11692
1edf595d
MR
116932012-01-25 Martin Rudalics <rudalics@gmx.at>
11694
11695 * window.el (window-state-get, window--state-get-1): Don't deal
11696 with fixed-sizeness of windows. Simplify code.
11697
fa8eafef
JC
116982012-01-25 Jérémy Compostella <jeremy.compostella@gmail.com>
11699
6df6ae42
JB
11700 * window.el (window--state-get-1, window--state-put-2):
11701 Don't save and restore the mark.
fa8eafef 11702
0b21c100
CY
117032012-01-25 Chong Yidong <cyd@gnu.org>
11704
11705 * custom.el (custom-variable-p): Doc fix.
11706
5ae1a6c8
GM
117072012-01-25 Glenn Morris <rgm@gnu.org>
11708
40047858
GM
11709 * dired.el (dired-goto-file): Handle some of the more common
11710 characters that `ls -b' escapes. (Bug#10596)
11711
5ddce96c
GM
11712 * progmodes/compile.el (compilation-next-error-function):
11713 Respect compilation-first-column in the "*compilation*" buffer.
11714 * progmodes/grep.el (grep-first-column): New variable. (Bug#10594)
11715
5ae1a6c8
GM
11716 * vc/vc.el (vc-modify-change-comment): Scoping fix. (Bug#10513)
11717
b559f1a9
GM
117182012-01-24 Glenn Morris <rgm@gnu.org>
11719
11720 * pcmpl-gnu.el (pcomplete/tar): Handle " - ". (Bug#10457)
11721
6725d21a
JD
117222012-01-24 Julien Danjou <julien@danjou.info>
11723
11724 * color.el (color-rgb-to-hsl): Fix value computing.
11725 (color-hue-to-rgb): New function.
11726 (color-hsl-to-rgb): New function.
11727 (color-clamp, color-saturate-hsl, color-saturate-name)
11728 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
11729 (color-lighten-name, color-darken-hsl, color-darken-name): New function.
11730
70df4bbe
GM
117312012-01-24 Glenn Morris <rgm@gnu.org>
11732
11733 * vc/vc-rcs.el (vc-rcs-create-tag):
11734 * vc/vc-sccs.el (vc-sccs-create-tag):
11735 Fix argument spec to be what vc-create-tag expects. (Bug#10515)
11736
802a2ae2
ML
117372012-01-23 Mike Lamb <mrlamb@gmail.com> (tiny change)
11738
11739 * eshell/esh-util.el (eshell-read-hosts-file):
11740 Skip comment lines. (Bug#10549)
11741
d7128bb1
ML
11742 * eshell/em-unix.el (pcomplete/ssh): Remove. (Bug#10548)
11743
d1a5c3b4
JB
117442012-01-23 Juanma Barranquero <lekktu@gmail.com>
11745
2724d9c7
JB
11746 * subr.el (display-delayed-warnings): Doc fix.
11747 (collapse-delayed-warnings): New function to collapse identical
11748 adjacent warnings.
11749 (delayed-warnings-hook): Add it.
d1a5c3b4 11750
a5509865
MA
117512012-01-22 Michael Albinus <michael.albinus@gmx.de>
11752
11753 * net/tramp.el (tramp-action-login): Set connection property "login-as".
11754
a5509865
MA
11755 * net/tramp-sh.el (tramp-methods): Add user spec to "pscp" and "psftp".
11756 (tramp-default-user-alist): Don't add "pscp".
11757 (tramp-do-copy-or-rename-file-out-of-band): Use connection
11758 property "login-as", if set. (Bug#10530)
11759
cc6d5805
MA
117602012-01-21 Michael Albinus <michael.albinus@gmx.de>
11761
11762 * net/tramp-sh.el (tramp-default-user-alist): Don't add "plink",
11763 "plink1" and "psftp". (Bug#10530)
11764
117652012-01-21 Kenichi Handa <handa@m17n.org>
71784361
KH
11766
11767 * international/mule-cmds.el (prefer-coding-system): Show a
11768 warning message if the default value of file-name-coding-system
11769 was not changed.
11770
f0960428
JC
117712012-01-21 Jérémy Compostella <jeremy.compostella@gmail.com>
11772
cb882333
JB
11773 * windmove.el (windmove-reference-loc):
11774 Fix windmove-reference-loc miscalculation.
f0960428 11775
dd6f2a63
JB
117762012-01-21 Jay Belanger <jay.p.belanger@gmail.com>
11777
11778 * calc/calc-units.el (math-put-default-units): Don't use "1" as a
11779 default unit.
11780
7b447e9b
GM
117812012-01-21 Glenn Morris <rgm@gnu.org>
11782
117a9ea1
GM
11783 * international/mule.el (auto-coding-alist): Add .tbz.
11784
7b447e9b
GM
11785 * files.el (local-enable-local-variables): Doc fix.
11786 (inhibit-local-variables-regexps): Rename from
11787 inhibit-first-line-modes-regexps. Keep old name as obsolete alias.
11788 Doc fix. Add some extensions from auto-coding-alist.
11789 (inhibit-local-variables-suffixes):
11790 Rename from inhibit-first-line-modes-suffixes. Doc fix.
11791 (inhibit-local-variables-p):
11792 New function, extracted from set-auto-mode-1.
11793 (set-auto-mode): Doc fix. Respect inhibit-local-variables-regexps.
11794 (set-auto-mode-1): Doc fix. Use inhibit-local-variables-p.
11795 (hack-local-variables): Doc fix. Make the mode-only case
11796 respect enable-local-variables and friends.
11797 Respect inhibit-local-variables-regexps for file-locals, but
11798 not for directory-locals.
11799 (set-visited-file-name):
11800 Take account of inhibit-local-variables-regexps.
11801 Whether it applies may change as the file name is changed.
11802 * jka-cmpr-hook.el (jka-compr-install):
11803 * jka-compr.el (jka-compr-uninstall):
11804 Update for inhibit-first-line-modes-suffixes name change.
11805
dd6e3cdd
MR
118062012-01-20 Martin Rudalics <rudalics@gmx.at>
11807
11808 * help-macro.el (make-help-screen): Temporarily restore original
11809 binding for minor-mode-map-alist (Bug#10454).
11810
0d0deb38
JD
118112012-01-19 Julien Danjou <julien@danjou.info>
11812
11813 * color.el (color-name-to-rgb): Use the white color to find the max
11814 color component value and return correctly computed values.
11815 (color-name-to-rgb): Add missing float conversion for max value.
11816
34a02f46
MR
118172012-01-19 Martin Rudalics <rudalics@gmx.at>
11818
11819 * window.el (window--state-get-1, window-state-get): Do not use
eb864a71
LM
11820 special state value for window-persistent-parameters.
11821 Rename argument IGNORE to WRITABLE. Rewrite doc-string.
34a02f46
MR
11822 (window--state-put-2): Reset all window parameters to nil before
11823 assigning values of persistent parameters.
11824
606c44c4
AM
118252012-01-18 Alan Mackenzie <acm@muc.de>
11826
11827 Eliminate sluggishness and hangs in fontification of "semicolon
11828 deserts".
11829
cb882333
JB
11830 * progmodes/cc-engine.el (c-state-nonlit-pos-interval):
11831 Change value 10000 -> 3000.
606c44c4
AM
11832 (c-state-safe-place): Reformulate so it doesn't stack up an
11833 infinite number of wrong entries in c-state-nonlit-pos-cache.
11834 (c-determine-limit-get-base, c-determine-limit): New functions to
11835 determine backward search limits disregarding literals.
11836 (c-find-decl-spots): Amend commenting.
11837 (c-cheap-inside-bracelist-p): New function which detects "={".
11838
11839 * progmodes/cc-fonts.el
11840 (c-make-font-lock-BO-decl-search-function): Give a limit to a
11841 backward search.
11842 (c-font-lock-declarations): Fix an occurrence of point being
11843 undefined. Check additionally for point being in a bracelist or
11844 near a macro invocation without a semicolon so as to avoid a
11845 fruitless time consuming search for a declarator. Give a more
11846 precise search limit for declarators using the new
11847 c-determine-limit.
11848
f3860cea
GM
118492012-01-18 Glenn Morris <rgm@gnu.org>
11850
11851 * files.el (auto-mode-alist, inhibit-first-line-modes-regexps)
11852 (set-auto-mode): Doc fixes.
11853
1db03b16
GM
118542012-01-17 Glenn Morris <rgm@gnu.org>
11855
0e6038be
GM
11856 * isearch.el (search-nonincremental-instead): Fix doc typo.
11857
1db03b16
GM
11858 * dired.el (dired-insert-directory): Handle newlines in directory name.
11859 (dired-build-subdir-alist): Unescape newlines in directory name.
11860
4cb0aa75
MA
118612012-01-17 Michael Albinus <michael.albinus@gmx.de>
11862
11863 * net/tramp.el (tramp-local-end-of-line): New defcustom.
11864 (tramp-action-login, tramp-action-yesno, tramp-action-yn)
11865 (tramp-action-terminal): Use it. (Bug#10530)
11866
1d00653d
SM
118672012-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
11868
11869 * minibuffer.el (completion--replace): Strip properties (bug#10062).
11870
6a6ee00d
MR
118712012-01-16 Martin Rudalics <rudalics@gmx.at>
11872
11873 * window.el (window-state-ignored-parameters): Remove variable.
11874 (window--state-get-1): Rename argument MARKERS to IGNORE.
11875 Handle persistent window parameters. Make copy of clone-of
11876 parameter only if requested. (Bug#10348)
11877 (window--state-put-2): Install a window parameter only if it has
11878 a non-nil value or an existing parameter shall be overwritten.
11879
97912def
MA
118802012-01-15 Michael Albinus <michael.albinus@gmx.de>
11881
11882 * net/tramp-sh.el (tramp-remote-path): Set tramp-autoload cookie.
11883
688070a5
EZ
118842012-01-14 Eli Zaretskii <eliz@gnu.org>
11885
11886 * info.el (Info-toc-build): If the Info file has no "Up" pointer,
11887 don't pass the (nil) value of `upnode' to string-match.
11888
301afadc
CY
118892012-01-14 Chong Yidong <cyd@gnu.org>
11890
11891 * startup.el (command-line): Fix X resource class for cursorColor.
04877ddb 11892 Fix values recognized by the cursorBlink resource.
301afadc 11893
9e5788aa
PE
118942012-01-14 Paul Eggert <eggert@cs.ucla.edu>
11895
11896 * epg.el (epg--make-temp-file): Avoid permission race condition
11897 when running on old Emacs versions (bug#10403).
11898
3cdb7f5a
GM
118992012-01-14 Glenn Morris <rgm@gnu.org>
11900
11901 * dired.el (dired-get-filename): Fix 'verbatim case of previous change.
11902
8c82b1b4
AM
119032012-01-13 Alan Mackenzie <acm@muc.de>
11904
11905 Fix filling for when filladapt mode is enabled.
11906
11907 * progmodes/cc-cmds.el (c-fill-paragraph): In the invocation of
11908 c-mask-paragraph, pass in `fill-paragraph' rather than
11909 `fill-region-as-paragraph'. (This is a reversion of a previous
11910 change.)
eb864a71
LM
11911 * progmodes/cc-mode.el (c-basic-common-init):
11912 Make fill-paragraph-handle-comment buffer local and set it to nil.
8c82b1b4 11913
e517eda4
GM
119142012-01-13 Glenn Morris <rgm@gnu.org>
11915
1498536e
GM
11916 * dired.el (dired-switches-escape-p): New function.
11917 (dired-insert-directory): Use dired-switches-escape-p.
11918 (dired-get-filename): Undo "\ " quoting if needed. (Bug#10469)
11919
e517eda4
GM
11920 * find-dired.el (find-ls-option): Doc fix. (Bug#10262)
11921
328f984d
GM
119222012-01-12 Glenn Morris <rgm@gnu.org>
11923
11924 * mail/sendmail.el (mail-mode): Update paragraph-separate for
11925 changes in adaptive-fill-regexp. (Bug#10276)
11926
2cc769a8
AM
119272012-01-11 Alan Mackenzie <acm@muc.de>
11928
11929 Fix Emacs bug #10463 - put `widen's around the critical spots.
11930
1d00653d 11931 * progmodes/cc-engine.el (c-in-literal, c-literal-limits): Put a
2cc769a8
AM
11932 widen around each invocation of c-state-pp-to-literal. Remove an
11933 unused let variable.
11934
e52c37fa
GM
119352012-01-11 Glenn Morris <rgm@gnu.org>
11936
11937 * dired-aux.el (dired-do-shell-command): Fix */? logic. (Bug#6561)
09044622 11938 Doc fix.
e52c37fa 11939
96f8741e
CY
119402012-01-10 Chong Yidong <cyd@gnu.org>
11941
1d00653d
SM
11942 * net/network-stream.el (network-stream-open-starttls):
11943 Avoid emitting a confusing error message when the server gives a bad
96f8741e
CY
11944 response to the capability command.
11945
b09a806e
GM
119462012-01-10 Glenn Morris <rgm@gnu.org>
11947
11948 * mail/unrmail.el (unrmail): Tweak previous change.
11949
7655cb66
CY
119502012-01-09 Chong Yidong <cyd@gnu.org>
11951
11952 * custom.el (custom-safe-themes): Use SHA-256 for hashing.
11953
9d5a8f0b
AM
119542012-01-08 Alan Mackenzie <acm@muc.de>
11955
11956 Optimise font locking in long enum definitions.
11957
11958 * progmodes/cc-fonts.el (c-font-lock-declarations): Add an extra
11959 arm to a cond form to handle enums.
11960 * progmodes/cc-langs.el (c-enums-contain-decls): New lang variable.
11961 * progmodes/cc-mode.el (c-font-lock-fontify-region): Correct a typo.
11962
9a0115ab 119632012-01-07 Paul Eggert <eggert@cs.ucla.edu>
6bb72cbd
PE
11964
11965 * files.el (move-file-to-trash): Preserve default file modes on error.
a0562b3d 11966 (Bug#10401)
6bb72cbd 11967
f186bb95
LMI
119682012-01-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
11969
29232a68
LMI
11970 * faces.el (set-face-attribute): Clarify the meaning of the nil
11971 frame (bug#10294).
11972
4e5d086d
LMI
11973 * subr.el (with-selected-frame): Mention that the selected frame
11974 is restored (bug#9980).
11975
8e66aebe
LMI
11976 * ibuffer.el (ibuffer-mode): List the bindings in the corrent map
11977 (bug#9759).
11978
cd394be1 11979 * mail/smtpmail.el (password-cache-add): Remove unused declaration.
f186bb95
LMI
11980 (password-read): Don't autoload unused function.
11981
adf4e762
JB
119822012-01-07 Juanma Barranquero <lekktu@gmail.com>
11983
11984 * progmodes/which-func.el (which-func-mode): Turn into a
11985 non-interactive function and mark as obsolete (bug#10428).
11986
89bd9ccd
CY
119872012-01-06 Chong Yidong <cyd@gnu.org>
11988
11989 * files.el (hack-dir-local-variables-non-file-buffer): Add doc.
11990 (hack-one-local-variable-eval-safep): Allow 0 arg for minor mode
11991 functions, along with 1 and -1.
11992
4afee9d5
EZ
119932012-01-06 Eli Zaretskii <eliz@gnu.org>
11994
11995 * time.el (display-time-load-average)
11996 (display-time-default-load-average): Doc fixes. See the thread
11997 starting at
11998 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-01/msg00059.html
11999 for the details.
12000
536aea70
GM
120012012-01-06 Glenn Morris <rgm@gnu.org>
12002
665ae865
GM
12003 * mail/unrmail.el (unrmail): Give an explicit error if the input file
12004 has no messages. (Bug#10377)
12005
c869783d
GM
12006 * info.el (Info-mode-map): Bind e to end-of-buffer, rather
12007 than Info-edit. (Bug#10385)
12008
2bb4227e
GM
12009 * time.el (display-time-load-average, display-time-next-load-average):
12010 Doc fixes.
12011
7d5944b9
GM
12012 * emacs-lisp/bytecomp.el (byte-compile-file): Do not propagate a file
12013 local setting of buffer-read-only to the input buffer. (Bug#10419)
12014
536aea70
GM
12015 * calendar/calendar.el (calendar-mode):
12016 Locally set scroll-margin to 0. (Bug#10379)
12017
7dccca16
UM
120182012-01-06 Ulrich Mueller <ulm@gentoo.org>
12019
12020 * play/doctor.el (doctor-death): Escape "," characters. (Bug#10370)
12021
afbb7930
GM
120222012-01-05 Glenn Morris <rgm@gnu.org>
12023
12024 * eshell/em-unix.el (diff-no-select): Autoload it.
12025 (eshell/diff): Use diff-no-select. (Bug#10420)
12026
04482335
CY
120272012-01-05 Chong Yidong <cyd@gnu.org>
12028
7baca3bc
CY
12029 * shell.el (shell-dynamic-complete-functions): Revert last change.
12030 (shell-command-completion-function): New function.
12031 (shell-completion-vars): Use it to implement
12032 shell-completion-execonly (Bug#10417).
12033
04482335
CY
12034 * custom.el (enable-theme): Don't set custom-safe-themes.
12035
1d00653d
SM
12036 * cus-theme.el (custom-theme-merge-theme):
12037 Ignore custom-enabled-themes and custom-safe-themes.
04482335 12038
bb5aa5d6
MM
120392012-01-05 Michael R. Mauger <mmaug@yahoo.com>
12040
12041 * progmodes/sql.el (sql-login-hook): Add hook to respond to the
12042 first prompt in `sql-interacive-mode'.
12043 (sql-mode-oracle-font-lock-keywords): Add CONNECT_BY_* builtin
04482335 12044 keywords.
6df6ae42 12045 (sql-mode-mysql-font-lock-keywords): Add ELSEIF keyword.
bb5aa5d6
MM
12046 (sql-product-interactive): Bug fix: Set `sql-buffer' in
12047 context of original buffer. Invoke `sql-login-hook'.
12048
a7183d7c
EZ
120492012-01-04 Eli Zaretskii <eliz@gnu.org>
12050
12051 * mail/rmail.el (rmail-font-lock-keywords): Accept non-ASCII
12052 letters in cite-prefix.
12053
a1eacd1e
LMI
120542012-01-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
12055
12056 * mail/smtpmail.el (smtpmail-stream-type): Mention the `ssl' value.
12057
787cdb34
CY
120582012-01-03 Chong Yidong <cyd@gnu.org>
12059
1d00653d
SM
12060 * shell.el (shell-dynamic-complete-functions):
12061 Put pcomplete-completions-at-point, so as to try
787cdb34
CY
12062 comint-filename-completion first (Bug#10417).
12063
30710442
RS
120642012-01-02 Richard Stallman <rms@gnu.org>
12065
12066 * battery.el (battery-status-function):
12067 Detect when to use battery-yeeloong-sysfs.
12068 (battery-echo-area-format): Add string for Yeeloong.
12069 (battery-linux-proc-apm, battery-linux-proc-acpi): Doc fixes.
12070 (battery-yeeloong-sysfs): New function.
12071
f75bfc33
CY
120722012-01-02 Chong Yidong <cyd@gnu.org>
12073
12074 * dirtrack.el (dirtrack-list): Eliminate unused third element.
12075 (dirtrack): Merge code for handling relative filenames in prompt
12076 from shell-dir-cookie-watcher.
12077 (dirtrack-debug-message): New arg to avoid excess format calls.
12078
12079 * shell.el (shell-dir-cookie-re): Variable deleted.
12080 (shell-dir-cookie-watcher): Function deleted.
12081 (shell-mode): Don't use shell-dir-cookie-re, since it is redundant
12082 with dirtrack-mode.
12083
651e947e
EZ
120842012-01-01 Eli Zaretskii <eliz@gnu.org>
12085
1d00653d
SM
12086 * term/w32-win.el (dynamic-library-alist) <gnutls>:
12087 Load libgnutls-28.dll, from GnuTLS version 3.x, in preference to
651e947e
EZ
12088 libgnutls-26.dll.
12089
94d4c7dc
AS
120902011-12-31 Andreas Schwab <schwab@linux-m68k.org>
12091
12092 * emacs-lisp/bytecomp.el (byte-compile-file): Fix indentation.
12093
8d43f3cd
EZ
120942011-12-31 Eli Zaretskii <eliz@gnu.org>
12095
12096 * mail/rmail.el (rmail-show-message-1): Decode any RFC2047 encoded
12097 headers of non-MIME messages, when rmail-enable-mime is non-nil.
12098
98c8795a
MA
120992011-12-29 Michael Albinus <michael.albinus@gmx.de>
12100
12101 * net/tramp-sh.el (tramp-find-shell): Set "remote-shell" property
12102 also for alternative shells.
12103 (tramp-open-connection-setup-interactive-shell): Check, whether
12104 the shell is a busybox.
12105 (tramp-send-command): Don't suppress multiple prompts for
12106 busyboxes, it hurts.
12107
51281b32
CY
121082011-12-28 Chong Yidong <cyd@gnu.org>
12109
12110 * progmodes/gdb-mi.el (gdb-get-source-file-list)
12111 (gdb-get-source-file): Move mode line update to
12112 gdb-get-source-file (Bug#10087).
12113
2170cb53
CY
121142011-12-25 Chong Yidong <cyd@gnu.org>
12115
12116 * progmodes/gud.el (gud-gdb-fetch-lines-filter): Just use
12117 gud-gdb-marker-filter without taking it as an argument.
12118 (gud-gdb-run-command-fetch-lines): Caller changed.
12119 (gud-gdb-completion-function): New variable.
12120 (gud-gdb-completion-at-point): Use it.
12121 (gud-gdb-completions-1): Split from gud-gdb-completions.
12122
12123 * progmodes/gdb-mi.el (gdb-input): Accept command and handler
12124 function as separate arguments.
12125 (gdb-init-1, gdb-non-stop-handler, gdb-check-target-async)
12126 (gdb-tooltip-print-1, gud-watch, gdb-speedbar-update)
12127 (gdb-var-list-children, gdb-var-set-format, gdb-var-delete-1)
12128 (gdb-var-delete-children, gdb-edit-value, gdb-var-update)
12129 (gdb-stopped, def-gdb-auto-update-trigger)
12130 (gdb-place-breakpoints, gdb-select-thread, gdb-select-frame)
b81d40f0
JB
12131 (gdb-get-changed-registers, gdb-get-main-selected-frame):
12132 Callers changed.
2170cb53
CY
12133 (gud-gdbmi-completions): New function.
12134 (gdb): Use it for generating the completion table.
12135
be8b11bb
AM
121362011-12-24 Alan Mackenzie <acm@muc.de>
12137
12138 Introduce a mechanism to widen the region used in context font
1d00653d 12139 locking. Use this to protect declarations from losing their contexts.
be8b11bb 12140
1d00653d
SM
12141 * progmodes/cc-langs.el (c-before-font-lock-functions):
12142 Replace c-set-fl-decl-start with c-change-set-fl-decl-start (Renaming).
b81d40f0 12143 (c-before-context-fontification-functions): New defvar, a list of
be8b11bb
AM
12144 functions to be run just before context (etc.) font locking.
12145
12146 * progmodes/cc-mode.el (c-extend-font-lock-region-for-macros):
b81d40f0 12147 New, functionality extracted from
be8b11bb 12148 c-neutralize-syntax-in-and-mark-CPP.
b81d40f0 12149 (c-in-after-change-fontification): New variable.
be8b11bb
AM
12150 (c-after-change): Set c-in-after-change-fontification.
12151 (c-set-fl-decl-start): Rejig its interface, so it can be called
12152 from both after-change and context fontifying.
b81d40f0
JB
12153 (c-change-set-fl-decl-start, c-context-set-fl-decl-start):
12154 New functions.
12155 (c-standard-font-lock-fontify-region-function): New variable.
12156 (c-font-lock-fontify-region): New function.
be8b11bb 12157
341cf6ac
JL
121582011-12-24 Juri Linkov <juri@jurta.org>
12159
12160 * window.el (window--state-get-1): Set `FORCE' arg of `mark' to t.
12161 (Bug#10348)
12162
bffcee0a
MA
121632011-12-23 Michael Albinus <michael.albinus@gmx.de>
12164
12165 * net/ange-ftp.el (ange-ftp-copy-file-internal): Check for
12166 existence of source file. (Bug#10325)
12167
cb5e207c
AM
121682011-12-23 Alan Mackenzie <acm@muc.de>
12169
12170 Fix unstable fontification inside templates.
12171
b81d40f0
JB
12172 * progmodes/cc-langs.el (c-before-font-lock-functions):
12173 Newly created from the singular version. The (c c++ objc) entry now
cb5e207c
AM
12174 additionally has c-set-fl-decl-start. The other languages (apart
12175 from AWK) have that as a single entry.
12176
b81d40f0
JB
12177 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
12178 The functionality for "local" declarations has been extracted to
cb5e207c
AM
12179 c-set-fl-decl-start.
12180
b81d40f0
JB
12181 * progmodes/cc-mode.el (c-common-init, c-after-change):
12182 Changes due to pluralisation of c-before-font-lock-functions.
cb5e207c
AM
12183 (c-set-fl-decl-start): New function, extracted from
12184 c-font-lock-enclosing-decls and enhanced.
12185
60ff536c
JB
121862011-12-23 Juanma Barranquero <lekktu@gmail.com>
12187
12188 * desktop.el (desktop-internal-v2s): Fix typos in docstring (bug#10353).
12189
1c4757d6
JL
121902011-12-22 Juri Linkov <juri@jurta.org>
12191
12192 * progmodes/grep.el (rgrep): Fix docstring. (Bug#10185)
12193
d031f2c7
CY
121942011-12-22 Chong Yidong <cyd@gnu.org>
12195
12196 * vc/vc-hooks.el (vc-keep-workfiles): Doc fix.
12197
bace743a
DA
121982011-12-21 Drew Adams <drew.adams@oracle.com>
12199
12200 * files.el (file-remote-p): Fix docstring. (Bug#10319)
12201
728a1f2b
JC
122022011-12-21 Jérémy Compostella <jeremy.compostella@gmail.com>
12203
12204 * battery.el (battery-linux-sysfs): Add missing parameters from acpi.
12205
0d373f73
TZ
122062011-12-21 Teodor Zlatanov <tzz@lifelogs.com>
12207
fec0aaa4
TZ
12208 * progmodes/cfengine.el: Add Version. Improve CFEngine 3.x syntax
12209 highlighting and support. Fix up comments for capitalization.
12210 (cfengine-mode-debug): New var.
12211 (cfengine3-mode): Change the modeline indicator to "CFE3".
12212 (cfengine3-font-lock-keywords): Improve defun highlighting.
12213 (cfengine2-actions): Rename from `cfengine-actions'.
12214 (cfengine2-font-lock-keywords): Rename from
12215 `cfengine-font-lock-keywords'.
12216 (cfengine2-imenu-expression): Rename from
12217 `cfengine-imenu-expression'.
12218 (cfengine2-outline-level): Rename from `cfengine-outline-level'.
12219 (cfengine2-beginning-of-defun): Rename from
12220 `cfengine-beginning-of-defun'.
12221 (cfengine2-end-of-defun): Rename from `cfengine-end-of-defun'.
12222 (cfengine2-indent-line): Rename from `cfengine-indent-line'.
12223 (cfengine2-mode): Rename from `cfengine-mode'. Change the
12224 modeline indicator to "CFE2".
12225 (cfengine-mode): Defalias to `cfengine-auto-mode'.
12226 (cfengine-mode-abbrevs): Mark obsolete.
0d373f73 12227
bc86f573
CY
122282011-12-21 Chong Yidong <cyd@gnu.org>
12229
12230 * vc/vc-bzr.el (vc-bzr-rename-file): Don't pass ~ to Bzr in
12231 filename argument.
12232
d45ba96b
MR
122332011-12-20 Martin Rudalics <rudalics@gmx.at>
12234
12235 * window.el (window-normalize-buffer-to-display): Remove.
12236 (display-buffer): Handle buffer-or-name argument as in Emacs 23.
12237
a6198c90
CY
122382011-12-19 Chong Yidong <cyd@gnu.org>
12239
12240 * vc/vc-dir.el (vc-dir-parent-marked-p, vc-dir-children-marked-p):
12241 Don't signal an error in a predicate function; return non-nil.
12242 (vc-dir-mark-file): Move the error here.
12243 (vc-dir-mark-unmark): If acting on the region, keep going if one
12244 of the entries cannot be marked/unmarked.
12245 (vc-dir-mark-all-files): If current entry is a directory, mark
12246 only child files, as documented.
12247
34c5fb55
VB
122482011-12-19 Vincent Belaïche <vincentb1@users.sourceforge.net>
12249
12250 * ses.el: Ooops... undo changes of 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net, as trunk
12251 branch is feature frozen, and 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net was a feature
12252 addition.
12253
c803b2b7
JD
122542011-12-18 Jan Djärv <jan.h.d@swipnet.se>
12255
12256 * term/ns-win.el (ns-get-selection-internal)
12257 (ns-store-selection-internal): Declare.
1154d12e
JB
12258 (ns-store-cut-buffer-internal, ns-get-cut-buffer-internal):
12259 Declare as obsolete.
12260 (ns-get-pasteboard, ns-paste-secondary):
12261 Use ns-get-selection-internal.
41e9b956 12262 (ns-set-pasteboard, ns-copy-including-secondary):
1154d12e 12263 Use ns-store-selection-internal.
c803b2b7 12264
9cff91f8 122652011-12-17 Chong Yidong <cyd@gnu.org>
99a289d9
CY
12266
12267 * vc/vc.el (vc-next-action): Doc fix; remove CVS-isms.
9cff91f8 12268 (vc-deduce-fileset): Doc fix.
99a289d9 12269
f16c898a
AS
122702011-12-16 Andreas Schwab <schwab@linux-m68k.org>
12271
12272 * calc/calc-misc.el (calc-help): Avoid wrapping help message.
12273
763237c4
SS
122742011-12-13 Sam Steingold <sds@gnu.org>
12275
12276 * man.el (Man-getpage-in-background): When running under a
12277 window-system, ignore $MANWIDTH and $COLUMNS.
12278
5fc1c122
KH
122792011-12-15 Kenichi Handa <handa@m17n.org>
12280
12281 * language/ethio-util.el: Change coding tag to utf-8-emacs.
12282 (setup-ethiopic-environment-internal): Comment out key-binding for
12283 ethio-toggle-punctuation.
12284
13d49cbb
AM
122852011-12-13 Alan Mackenzie <acm@muc.de>
12286
898169a2
AM
12287 Add the switch statement to AWK Mode.
12288
7a71b18d 12289 * progmodes/cc-awk.el (awk-font-lock-keywords): Add "switch", "case",
898169a2
AM
12290 "default" to the keywords regexp.
12291
7a71b18d 12292 * progmodes/cc-langs.el (c-label-kwds): Let AWK take the same
898169a2 12293 expression as the rest.
1d00653d
SM
12294 (c-nonlabel-token-key): Allow string literals for AWK.
12295 Refactor for the other modes.
898169a2 12296
13d49cbb 12297 Large brace-block initialisation makes CC Mode slow: Fix.
1d00653d 12298 Tidy up and accelerate c-in-literal, etc. by using the c-parse-state
13d49cbb
AM
12299 routines. Limit backward searching in c-font-lock-enclosing.decl.
12300
12301 * progmodes/cc-engine.el (c-state-pp-to-literal): Return the
12302 pp-state and literal type in addition to the limits.
1d00653d 12303 (c-state-safe-place): New defun, extracted from c-state-literal-at.
13d49cbb 12304 (c-state-literal-at): Use the above new defun.
1d00653d
SM
12305 (c-slow-in-literal, c-fast-in-literal): Remove.
12306 (c-in-literal, c-literal-limits): Amend to use c-state-pp-to-literal.
13d49cbb
AM
12307
12308 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Check for
12309 being in a literal. Add a limit for backward searching.
12310
12311 * progmodes/cc-mode.el (awk-mode): Don't alias c-in-literal to
12312 c-slow-in-literal.
12313
15e0efc7
SM
123142011-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
12315
12316 * progmodes/pascal.el: Declare `ind' as dyn-bound (bug#10264).
12317
454592a6
MR
123182011-12-13 Martin Rudalics <rudalics@gmx.at>
12319
12320 * window.el (delete-other-windows): Use correct frame in call to
12321 window-with-parameter.
12322
87393f26
DP
123232011-12-12 Daniel Pfeiffer <occitan@t-online.de>
12324
12325 * progmodes/make-mode.el: Bring it up to date with makepp V2.0.
12326 (makefile-make-font-lock-keywords): Extend meaning of `keywords'.
12327 (makefile-gmake-statements, makefile-makepp-statements):
12328 Use it and add new makepp keywords.
12329 (makefile-makepp-font-lock-keywords): Add new patterns.
12330 (makefile-match-function-end): Match new [...] and [[...]].
12331
11636b22
JB
123322011-12-11 Juanma Barranquero <lekktu@gmail.com>
12333
12334 * ses.el (ses-call-printer-return, ses-cell-property-get)
12335 (ses-sym-rowcol, ses-printer-validate, ses-formula-record)
12336 (ses-create-cell-variable, ses-reset-header-string)
12337 (ses-cell-set-formula, ses-repair-cell-reference-all)
12338 (ses-self-reference-early-detection, ses-in-print-area, ses-set-curcell)
12339 (ses-check-curcell, ses-call-printer, ses-adjust-print-width)
12340 (ses-print-cell-new-width, ses-formula-references, ses-relocate-formula)
12341 (ses-aset-with-undo, ses-load, ses-truncate-cell)
12342 (ses-read-column-printer, ses-read-default-printer, ses-insert-row)
12343 (ses-delete-row, ses-delete-column, ses-append-row-jump-first-column)
12344 (ses-kill-override, ses-yank-pop, ses-yank-cells, ses-yank-tsf)
12345 (ses-yank-resize, ses-export-tab, ses-mark-row, ses-mark-column)
12346 (ses-renarrow-buffer, ses-insert-range, ses-insert-ses-range)
12347 (ses-safe-printer, ses-safe-formula, ses-warn-unsafe, ses--clean-!)
12348 (ses--clean-_, ses-range, ses-select, ses-center, ses-center-span)
12349 (ses-dashfill, ses-unsafe): Fix typos and reflow docstrings.
12350
cf018193
VB
123512011-12-11 Vincent Belaïche <vincentb1@users.sourceforge.net>
12352
12353 * ses.el: The overall change is to add cell renaming, that is
12354 setting fancy names for cell symbols other than name matching
12355 "\\`[A-Z]+[0-9]+\\'" regexp .
12356 (ses-create-cell-variable): New defun.
12357 (ses-relocate-formula): Relocate formulas only for cells the
12358 symbols of which are not renamed, i.e. symbols whose names do not
12359 match regexp "\\`[A-Z]+[0-9]+\\'".
12360 (ses-relocate-all): Relocate values only for cells the symbols of
12361 which are not renamed.
12362 (ses-load): Create cells variables as the (ses-cell ...) are read,
12363 in order to check row col consistency with cell symbol name only
12364 for cells that are not renamed.
12365 (ses-replace-name-in-formula): New defun.
12366 (ses-rename-cell): New defun.
12367
ee957461
CY
123682011-12-11 Chong Yidong <cyd@gnu.org>
12369
12370 * progmodes/gdb-mi.el (gdb): Set comint-prompt-regexp, required
12371 for completion via gud-gdb-fetch-lines-filter (Bug#10274).
12372
9a9e9ef0
MR
123732011-12-11 Eric Hanchrow <eric.hanchrow@gmail.com>
12374
12375 * window.el (other-window): Fix docstring.
12376
92a8eba5
EZ
123772011-12-10 Eli Zaretskii <eliz@gnu.org>
12378
12379 * mail/rmailsum.el (rmail-header-summary): RFC2047 decode the
1d00653d
SM
12380 `from' or `to' address before taking its substring.
12381 Fixes incorrect display in Rmail summary buffer whereby an RFC2047
92a8eba5
EZ
12382 encoded name is chopped in the middle of the encoded string, and
12383 thus displayed encoded.
12384
e152e577
JB
123852011-12-10 Juanma Barranquero <lekktu@gmail.com>
12386
12387 * makefile.w32-in (update-subdirs-CMD): Use a Local Variables section.
12388
e5d84bfe
EZ
123892011-12-10 Eli Zaretskii <eliz@gnu.org>
12390
12391 * textmodes/texnfo-upd.el: Update commentary. Add a warning not
12392 to use texinfo-update-node and commands that call it if the
12393 Texinfo file uses @node lines without next/prev/up pointers.
b8830d28 12394 Correct outdated description about texinfo-master-menu.
e5d84bfe
EZ
12395 (texinfo-all-menus-update, texinfo-master-menu)
12396 (texinfo-update-node, texinfo-every-node-update)
12397 (texinfo-multiple-files-update): Doc fix. Warn against updating
12398 all the @node lines.
12399 (texinfo-master-menu): Only call texinfo-update-node if the prefix
b8830d28
EZ
12400 argument is numeric. Explain better in the doc string what the
12401 function really does.
12402 (texinfo-insert-master-menu-list): Improve the error message
12403 displayed if there's no menu in the Top node.
12404 (Bug#2975) See also this thread:
e5d84bfe
EZ
12405 http://lists.gnu.org/archive/html/emacs-devel/2011-12/msg00156.html.
12406
1d84e9bb
MG
124072011-12-09 Manuel Gómez <mgrojo@gmail.com> (tiny change)
12408
12409 * speedbar.el (speedbar-supported-extension-expressions):
12410 Add .adb and .ads, commonly used for Ada source code (bug#10256).
12411
382c953b
JB
124122011-12-09 Juanma Barranquero <lekktu@gmail.com>
12413
12414 * printing.el (pr-mode-alist):
12415 * simple.el (filter-buffer-substring-functions)
12416 (completion-list-insert-choice-function):
12417 * window.el (window-with-parameter, window-atom-root)
12418 (window-sides-slots, window-size-fixed, window-min-delta)
12419 (window-max-delta, window--resize-mini-window)
12420 (window--resize-child-windows-normal, window-tree)
12421 (delete-other-windows, quit-window, split-window)
12422 (display-buffer-record-window, special-display-buffer-names)
12423 (special-display-regexps, special-display-popup-frame)
12424 (same-window-p, split-window-sensibly)
12425 (display-buffer-overriding-action, display-buffer-alist)
12426 (display-buffer-base-action, display-buffer, switch-to-buffer)
12427 (switch-to-buffer-other-window, switch-to-buffer-other-frame)
12428 (fit-window-to-buffer, recenter-positions)
12429 (mouse-autoselect-window-state, mouse-autoselect-window-select):
12430 * emacs-lisp/syntax.el (syntax-propertize-function): Fix typos
12431 and remove unneeded backslashes in docstrings.
12432
39c9faef
SM
124332011-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
12434
98449af8
SM
12435 * emacs-lisp/lisp-mode.el (defmethod): Add doc-string-elt (bug#10244).
12436
39c9faef
SM
12437 * pcmpl-gnu.el: Don't fail when there is no Makefile nor -f arg.
12438 (pcmpl-gnu-makefile-regexps): Accept "makefile" as well as files that
12439 end in ".mk".
12440 (pcmpl-gnu-make-rule-names): Check "makefile" and ignore errors
12441 when reading the makefile (bug#10116).
12442
86ed9fdc
SM
124432011-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
12444
12445 * pcmpl-gnu.el (pcomplete/make): Also allow filename arguments
12446 (bug#10116).
12447
5580f89d
GM
124482011-12-06 Glenn Morris <rgm@gnu.org>
12449
12450 * emacs-lisp/package.el (package-archives): Doc fix re riskiness.
12451
28d3917c
CY
124522011-12-06 Chong Yidong <cyd@gnu.org>
12453
12454 * progmodes/cc-fonts.el (c-annotation-face): Use defface.
12455
a98edce9
JB
124562011-12-06 Juanma Barranquero <lekktu@gmail.com>
12457
12458 * textmodes/table.el (table-shorten-cell): Fix typo.
12459
e65adfac
CG
124602011-12-05 Christopher Genovese <genovese.cr@gmail.com> (tiny change)
12461
12462 * emacs-lisp/assoc.el (aput): Fix return value (bug#10146)
12463
71cc0b74
EZ
124642011-12-05 Eli Zaretskii <eliz@gnu.org>
12465
12466 * descr-text.el (describe-char): Fix display of strong
12467 right-to-left characters and directional embeddings and overrides.
12468
12469 * simple.el (what-cursor-position): Fix display of codepoints of
12470 strong right-to-left characters.
12471
315bc30d
CY
124722011-12-05 Chong Yidong <cyd@gnu.org>
12473
12474 * faces.el (read-color): Doc fix.
12475
58a70b94
GM
124762011-12-05 Glenn Morris <rgm@gnu.org>
12477
12478 * align.el (align--set-marker): Add doc-string.
12479 Don't try to move something that is not a marker. (Bug#10216)
12480
5158face
GM
124812011-12-04 Glenn Morris <rgm@gnu.org>
12482
12483 * calendar/appt.el (appt-add): Rewrite the interactive-spec to avoid
12484 overly zealous deletion of trailing whitespace.
12485
520fca41
JB
124862011-12-04 Juanma Barranquero <lekktu@gmail.com>
12487
12488 * server.el (server-delete-client): On Windows, do not try to delete
12489 the only terminal.
12490 (server-process-filter): On Windows, treat requests for a tty frame as
12491 if they were for a GUI frame if the running server is in GUI mode.
12492
5e605a2e
GM
124932011-12-03 Glenn Morris <rgm@gnu.org>
12494
12495 * textmodes/texinfmt.el (batch-texinfo-format): Doc fix. (Bug#10207)
12496
5c3fe83f
SM
124972011-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
12498
6f5e57e7
SM
12499 * electric.el: Streamline electric-indent's hook.
12500 (electric-indent-chars): Revert to simple list.
12501 (electric-indent-functions): New var.
12502 (electric-indent-post-self-insert-function): Use it.
12503
5c3fe83f
SM
12504 * progmodes/prolog.el (prolog-find-value-by-system): Avoid error when
12505 there's no inferior buffer (bug#10196).
12506 (prolog-consult-compile): Don't use toggle-read-only.
12507
6bdac736
MA
125082011-12-02 Michael Albinus <michael.albinus@gmx.de>
12509
12510 * net/tramp-sh.el (tramp-maybe-open-connection): Handle user
12511 interrupt. (Bug#10187)
12512
6131ba7f
SM
125132011-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
12514
99c79fee
SM
12515 * pcmpl-gnu.el (pcomplete/tar): large-file-warn-threshold can be nil
12516 (bug#9160).
12517
6131ba7f
SM
12518 * dired-aux.el (dired-query): Don't assume help-char is modifier-free
12519 (bug#10191).
12520
cb0a02ea
JL
125212011-12-02 Juri Linkov <juri@jurta.org>
12522
12523 * info.el (Info-search): Display "end of manual" when Isearch
12524 reaches the end of single-file Info manual. (Bug#9918)
12525
66e0570c
EZ
125262011-12-02 Eli Zaretskii <eliz@gnu.org>
12527
12528 * isearch.el (isearch-message-prefix): Run the input method part
12529 of the prompt through bidi-string-mark-left-to-right. (Bug#10183)
12530
02b16839
JL
125312011-12-02 Juri Linkov <juri@jurta.org>
12532
12533 * isearch.el (isearch-occur): Use `word-search-regexp' for
12534 `isearch-word'.
12535 (isearch-search-and-update): Add condition for `isearch-word' and
12536 call `word-search-regexp'. (Bug#10145)
12537
0b950688
GM
125382011-12-01 Glenn Morris <rgm@gnu.org>
12539
12540 * eshell/em-hist.el (eshell-hist-initialize):
12541 Handle eshell-history-size nil and HISTSIZE set or unset.
e8087a76 12542 (eshell-history-file-name, eshell-history-size): Fix custom type.
0b950688 12543
9505c3c7
SM
125442011-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
12545
12546 * man.el (Man-completion-table): Fix the lambda case (bug#10168).
12547
1bbe96b2 125482011-12-01 Michael McNamara <mac@mail.brushroad.com>
6288f0ca 12549
a1beca85
SM
12550 * progmodes/verilog-mode.el (verilog-pretty-expr):
12551 Rework verilog-pretty-expr to handle new assignment operators in system
6288f0ca
WS
12552 verilog, such as += *= and the like.
12553 (verilog-assignment-operator-re): Regular expression to find the
12554 assigment operator in a verilog assignment.
12555 (verilog-assignment-operation-re): Regular expression to find an
12556 assignment statement for pretty-expr.
12557 (verilog-in-attribute-p): Query returns true if point is in an
12558 attribute context; used to skip these for expression line up from
12559 pretty-expr.
12560 (verilog-in-parameter-p): Query returns true if point is in an
12561 parameter definition context; used to skip these for expression
12562 line up from pretty-expr.
12563 (verilog-in-parenthesis-p): Query returns true if point is in a
12564 parenthetical expression, specifically ( ) but not [ ] or { };
12565 used by pretty-expr.
12566 (verilog-just-one-space): If there is no space, don't add one.
12567 (verilog-get-lineup-indent-2): Specifically skip just attribute
12568 contexts for expression lineup, rather than skipping all
12569 parenthetical expressions.
12570 (verilog-calculate-indent): Fix comment, and fix indent.
12571 (verilog-do-indent): Indent declarations in lists (suggested by
12572 Joachim Lechner).
12573 (verilog-mode-abbrev-table): Populate abbrev mode with the various
12574 skeleton items.
12575 (verilog-sk-ovm-class): Add skeleton for OVM classes (reported
12576 by Alain Mellan).
12577
1bbe96b2 125782011-12-01 Wilson Snyder <wsnyder@wsnyder.org>
6288f0ca
WS
12579
12580 * progmodes/verilog-mode.el (verilog-read-defines): Fix reading
12581 parameters with embedded comments. Reported by Ray Stevens.
12582 (verilog-calc-1, verilog-fork-wait-re) (verilog-forward-sexp,
12583 verilog-wait-fork-re): Fix indentation of "wait fork", bug407.
12584 Reported by Tim Holt.
12585 (verilog-auto): Fix AUTOing a upper module then AUTOing module
12586 instantiated by upper module causing wrong expansion until AUTOed a
12587 second time. Reported by K C Buckenmaier.
12588 (verilog-diff-auto): Fix showing .* as a difference when
12589 `verilog-auto-star-save' off. Reported by Dan Dever.
12590 (verilog-auto-reset, verilog-read-always-signals)
12591 (verilog-auto-reset-blocking-in-non): Fix AUTORESET including
12592 temporary signals in reset list if
12593 verilog-auto-reset-blocking-in-non is nil, and match assignment
a1beca85
SM
12594 style to each signal's assignment type, bug381.
12595 Reported by Thomas Esposito.
6288f0ca
WS
12596 (verilog-sk-uvm-class, verilog-uvm-begin-re, verilog-uvm-end-re)
12597 (verilog-uvm-statement-re): Support UVM indentation and
12598 highlighting, with old OVM keywords only.
a1beca85 12599 (verilog-auto-tieoff, verilog-auto-tieoff-declaration):
1d00653d
SM
12600 Support AUTOTIEOFF creating non-wire data types.
12601 Suggested by Jonathan Greenlaw.
6288f0ca
WS
12602 (verilog-auto-insert-lisp, verilog-delete-to-paren)
12603 (verilog-forward-sexp-cmt, verilog-forward-sexp-ign-cmt)
12604 (verilog-inject-sense, verilog-read-inst-pins)
a1beca85
SM
12605 (verilog-read-sub-decls, verilog-read-sub-decls-line):
12606 Fix mismatching parenthesis inside commented out code when deleting
382c953b 12607 AUTOINST, bug383. Reported by Jonathan Greenlaw.
6288f0ca
WS
12608 (verilog-auto-ascii-enum): Fix AUTOASCIIENUM one-hot with
12609 non-numeric vector width. Reported by Alex Reed.
12610 (verilog-auto-ascii-enum): Add "onehot" option to work around not
382c953b 12611 detecting signals with parameter widths. Reported by Alex Reed.
a1beca85
SM
12612 (verilog-auto-delete-trailing-whitespace):
12613 With `verilog-auto-delete-trailing-whitespace' remove trailing
6288f0ca
WS
12614 whitespace in auto expansion, bug371. Reported by Brad Dobbie.
12615 (verilog-run-hooks, verilog-scan-cache-flush, verilog-syntax-ppss):
12616 Fix verilog-scan-cache corruption when running user AUTO expansion
12617 hooks that call indentation routines.
12618 (verilog-simplify-range-expression): Fix typo ignoring lower case
12619 identifiers.
12620 (verilog-delete-auto): Fix delete-autos to also remove user created
12621 automatics, as long as they start with AUTO.
12622 (verilog-batch-diff-auto, verilog-diff-auto)
12623 (verilog-diff-function): Add `verilog-diff-auto' and bind to
12624 "C-c?" to report differences in AUTO expansion, ignoring spaces.
12625 (verilog-backward-syntactic-ws-quick, verilog-beg-of-defun-quick)
12626 (verilog-in-paren-quick, verilog-re-search-backward-quick)
a1beca85
SM
12627 (verilog-re-search-forward-quick, verilog-syntax-ppss):
12628 Fix calling `syntax-ppss' when inside auto expansions as the ppss hook
6288f0ca
WS
12629 is disabled and its cache will get corrupt, causing AUTOS not to
12630 expand. Instead use only -quick functions.
12631 (verilog-scan-region): Fix scanning over escaped quotes.
12632 (verilog-inside-comment-or-string-p, verilog-inside-comment-p)
12633 (verilog-re-search-backward-quick)
12634 (verilog-re-search-forward-quick, verilog-scan): verilog-scan and
12635 related functions now ignore strings, to fix misparsing of strings
12636 with magic comments embedded in them.
a1beca85
SM
12637 (verilog-read-auto-template):
12638 Fix 'verilog-auto-inst-template-numbers' with extra newline before (.
12639 Reported by Brad Dobbie.
12640 (verilog-read-auto-template):
12641 Fix 'verilog-auto-inst-template-numbers' with comments.
6288f0ca 12642 Reported by Brad Dobbie.
6288f0ca
WS
12643 (verilog-auto-inst, verilog-auto-inst-param)
12644 (verilog-auto-inst-sort): Add 'verilog-auto-inst-sort' to reduce
12645 merge conflicts with AUTOINST, bug358. Reported by Brad Dobbie.
12646 (verilog-auto-inst-template-numbers): Add 'lhs' policy for
a1beca85
SM
12647 debugging templates without merge conflicts, bug357.
12648 Reported by Brad Dobbie.
12649 (verilog-read-auto-template):
12650 Fix verilog-auto-inst-template-numbers with multiple templates.
6288f0ca
WS
12651 Reported by Brad Dobbie.
12652 (verilog-define-abbrev): Fix verilog-mode abbrevs to be system
12653 abbrevs so user won't be asked to save.
12654 (verilog-read-auto-lisp-present): Fix to start at beginning of
12655 buffer in case called outside of verilog-auto.
12656 (verilog-simplify-range-expression): Fix AUTOWIRE expanding "X-1+1"
12657 to "X-2". Reported by Matthew Myers.
12658 (verilog-auto, verilog-auto-inout-in): Add AUTOINOUTIN for creating
12659 all inputs from module templates. Reported by Leith Johnson.
12660 (verilog-module-inside-filename-p): Fix locating programs as with
12661 modules.
12662 (verilog-auto-inst-port): Fix vl-width expressions when using
12663 verilog-auto-inst-param-value, bug331. Reported by Julian Gorfajn.
12664 (verilog-decls-get-regs, verilog-decls-get-signals,
12665 verilog-decls-get-vars, verilog-decls-get-wires, verilog-decls-new,
12666 verilog-modi-cache-add-vars, verilog-modi-cache-add-wires,
12667 verilog-read-decls): Combine reg and wire structures into one var
12668 structure to represent SystemVerilog concepts.
12669 (verilog-auto-ascii-enum, verilog-auto-logic, verilog-auto-reg)
12670 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-wire)
a1beca85
SM
12671 (verilog-auto-wire-type, verilog-insert-definition):
12672 Add verilog-auto-wire-type and AUTOLOGIC to support using
6288f0ca
WS
12673 SystemVerilog "logic" keyword instead of "wire"/"reg".
12674 (verilog-auto-reg-input, verilog-decls-get-signals): Fix AUTOWIRE
12675 to declares outputs that also have assignments (presumably in an
a1beca85
SM
12676 ifdef or generate if so there's not a driver conflict).
12677 Reported by Matthew Myers.
12678 (verilog-auto-declare-nettype, verilog-insert-definition):
12679 Add verilog-auto-declare-nettype to fix declarations using
6288f0ca
WS
12680 `default_nettype none. Reported by Julian Gorfajn.
12681 (verilog-read-always-signals-recurse, verilog-read-decls)
12682 (verilog-read-sub-decls-gate): Fix infinite loop with (*) and
12683 malformed end statement, bug325. Reported by Joshua Wise and
12684 Andrew Drake.
12685 (verilog-auto-star-safe, verilog-delete-auto-star-implicit)
12686 (verilog-inst-comment-re): Fix not deleting Interfaced comment
1d00653d
SM
12687 when expanding .* in interfaces, bug320.
12688 Reported by Pierre-David Pfister.
6288f0ca 12689 (verilog-read-module-name): Fix import statements between module
1d00653d
SM
12690 name and open parenthesis, bug317.
12691 Reported by Pierre-David Pfister.
6288f0ca
WS
12692 (verilog-simplify-range-expression): Fix simplification of
12693 multiplications inside AUTOWIRE connections, bug303.
12694 (verilog-auto-inst-port): Support parameter expansion in
12695 multidimensional arrays.
12696 (verilog-read-decls): Fix AUTOREG etc looking for "endproperty"
12697 after "assert property". Reported by Julian Gorfajn.
12698 (verilog-simplify-range-expression): Fix "couldn't merge" errors
12699 with multiplication, bug303.
12700 (verilog-read-decls): Fix parsing of unsigned data types, bug302.
12701 Reported by Jan Frode Lonnum.
12702
1bbe96b2
GM
127032011-11-30 Juanma Barranquero <lekktu@gmail.com>
12704
12705 * htmlfontify.el (hfy-page-header, hfy-post-html-hooks)
12706 (hfy-shell-file-name, hfy-shell):
12707 * international/fontset.el (x-decompose-font-name): Fix typos.
12708
127092011-11-29 Ken Brown <kbrown@cornell.edu>
12710
12711 * progmodes/gdb-mi.el: Fix bug#9853, bug#9858, and bug#9878.
12712 (gdb-version): Remove defvar.
12713 (gdb-supports-non-stop): New defvar, replacing `gdb-version'.
12714 (gdb-gud-context-command, gdb-non-stop-handler)
12715 (gdb-current-context-command, gdb-stopped): Use it.
12716 (gdb-init-1): Enable pretty printing here.
6131ba7f
SM
12717 (gdb-non-stop-handler): Don't enable pretty-printing here.
12718 Check to see if the target supports non-stop mode; if not, turn off
1bbe96b2
GM
12719 non-stop mode. Use the following.
12720 (gdb-check-target-async): New defun.
12721 (gud-watch, gdb-stopped): Fix whitespace.
12722 (gdb-get-source-file): Don't try to display the source file if
12723 `gdb-main-file' is nil.
12724
127252011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
12726
12727 * align.el: Try to generate fewer markers (bug#10047).
12728 (align--set-marker): New macro.
12729 (align-region): Use it.
12730
c935221f
SM
127312011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
12732
12733 * isearch.el (isearch-yank-x-selection): Deactivate mark (bug#10022).
12734
e70b5064
CY
127352011-11-29 Chong Yidong <cyd@gnu.org>
12736
12737 * indent.el (indent-for-tab-command, indent-according-to-mode):
12738 Doc fix.
12739 (indent-region): Doc fix. Switch nested ifs to equivalent cond.
12740
f3af92b7
MA
127412011-11-29 Michael Albinus <michael.albinus@gmx.de>
12742
12743 * vc/diff-mode.el (diff-find-file-name): Make `read-file-name'
12744 aware of remote file names. (Bug#10124)
12745
ed472be9
CY
127462011-11-29 Chong Yidong <cyd@gnu.org>
12747
12748 * frame.el (auto-raise-mode, auto-lower-mode): Doc fix.
12749
24510c22
SM
127502011-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
12751
12752 * files.el (find-file): Don't use force-same-window (bug#10144).
12753 * window.el (switch-to-buffer): Better match Emacs-23 behavior and only
12754 use pop-to-buffer if the selected window can't be used.
12755 (pop-to-buffer-same-window): Use display-buffer--same-window-action.
12756
c60c3703
EZ
127572011-11-28 Eli Zaretskii <eliz@gnu.org>
12758
12759 * vc/diff-mode.el (diff-mode-map): Don't inherit 'z' => 'M-z' from
12760 special-mode-map.
12761
e95def75
CY
127622011-11-28 Chong Yidong <cyd@gnu.org>
12763
12764 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix default doc.
12765
c3f1c606
NR
127662011-11-27 Nick Roberts <nickrob@snap.net.nz>
12767
12768 * progmodes/gdb-mi.el (gdb-init-1): Condition execution of
12769 gdb-get-source-file-list on gdb-create-source-file-list.
12770
00db469c
EZ
127712011-11-26 Eli Zaretskii <eliz@gnu.org>
12772
12773 * whitespace.el (whitespace-newline): Use a different foreground
12774 color for 16-color light-background displays.
12775
4ad3bc2a
CY
127762011-11-24 Chong Yidong <cyd@gnu.org>
12777
12778 * window.el (display-buffer--special-action): Doc fix.
12779
e9fce1ac
JB
127802011-11-25 Juanma Barranquero <lekktu@gmail.com>
12781
12782 * emacs-lisp/avl-tree.el (avl-tree--do-copy, avl-tree-create)
12783 (avl-tree-compare-function, avl-tree-empty, avl-tree-enter)
12784 (avl-tree-delete, avl-tree-member, avl-tree-member-p, avl-tree-map)
12785 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar, avl-tree-copy)
12786 (avl-tree-clear, avl-tree-stack, avl-tree-stack-pop)
12787 (avl-tree-stack-first):
12788 * emacs-lisp/cconv.el (cconv--analyse-use):
12789 * net/gnutls.el (gnutls-negotiate): Fix typos.
12790
cb825e5d
GM
127912011-11-24 Glenn Morris <rgm@gnu.org>
12792
3adbe224
GM
12793 * lpr.el (lpr-windows-system, lpr-lp-system):
12794 * mail/binhex.el (binhex-begin-line):
12795 * progmodes/grep.el (grep-history, grep-find-history):
12796 * textmodes/flyspell.el:
12797 * vc/pcvs-defs.el (cvs-global-menu):
12798 * vc/vc-bzr.el (vc-bzr-admin-checkout-format-file):
12799 * vc/vc-mtn.el (vc-mtn-admin-dir, vc-mtn-admin-format):
12800 * vc/vc-cvs.el (vc-cvs-registered): Give them basic doc-strings.
12801
321decc8
GM
12802 * net/tls.el: Fix case of "GnuTLS".
12803
420b63ad
GM
12804 * paths.el (rmail-file-name): Format doc-string for make-docfile.
12805
cb825e5d
GM
12806 * version.el (emacs-build-system): Give it a doc-string.
12807
a0649f08
JL
128082011-11-24 Juri Linkov <juri@jurta.org>
12809
12810 * view.el (view-buffer): Revert 2011-07-19T15:01:49Z!larsi@gnus.org from 2011-07-19 (bug#8615).
12811
c0bc0fd4
GM
128122011-11-24 Glenn Morris <rgm@gnu.org>
12813
12814 * mail/rmailmm.el (rmail-mime): When rmail-enable-mime is non-nil,
12815 if called on a non-mime message just toggle the headers. (Bug#8006)
12816
20db1522
JB
128172011-11-24 Juanma Barranquero <lekktu@gmail.com>
12818
12819 * allout.el (allout-setup, allout-auto-save-temporarily-disabled)
12820 (allout-lead-with-comment-string, allout-structure-deleted-hook)
12821 (allout-mode, allout-chart-subtree, allout-hotspot-key-handler)
12822 (allout-rebullet-heading, allout-open-sibtopic)
12823 (allout-toggle-current-subtree-encryption)
12824 (allout-toggle-subtree-encryption, allout-encrypt-string)
12825 (allout-next-topic-pending-encryption, allout-adjust-file-variable)
12826 (allout-distinctive-bullets-string, allout-auto-activation):
12827 * window.el (window-normalize-buffer-to-display):
12828 * progmodes/verilog-mode.el (verilog-batch-indent):
12829 * textmodes/bibtex.el (bibtex-field-braces-opt)
12830 (bibtex-field-strings-opt):
12831 * vc/cvs-status.el (cvs-tree-merge):
12832 Fix typos.
12833
7262a87c
MA
128342011-11-23 Michael Albinus <michael.albinus@gmx.de>
12835
12836 * rfn-eshadow.el (rfn-eshadow-update-overlay): Let-bind
12837 `non-essential' to t, in order to avoid remote connections.
12838
283430a1
EZ
128392011-11-23 Eli Zaretskii <eliz@gnu.org>
12840
a1beca85
SM
12841 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
12842 On MS-DOS and MS-Windows, compare with loaddefs.el
283430a1
EZ
12843 case-insensitively.
12844
d2992a38
ML
128452011-11-23 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
12846
12847 * mail/unrmail.el (unrmail): Always add blank line. (Bug#7743)
12848
50419064
GM
128492011-11-23 Glenn Morris <rgm@gnu.org>
12850
da94eca1
GM
12851 * paths.el (rmail-file-name): Reformat the doc-string so that it
12852 is picked up.
12853
9aac4de2
GM
12854 * mail/rmail.el (rmail-message-filter, rmail-auto-file): Doc fixes.
12855 (rmail-auto-file): Ignore case in the "special" field names,
12856 as mail-fetch-field does for all others.
12857
8038d2d2
GM
12858 * mail/rmail.el (rmail-forward):
12859 * mail/rmailkwd.el (rmail-set-label):
12860 * mail/rmailout.el (rmail-output, rmail-output-as-seen)
12861 (rmail-output-body-to-file): Give error if no message. (Bug#10082)
12862
f3fe222a
GM
12863 * mail/rmail.el (rmail-current-message): Doc fix.
12864
50419064
GM
12865 * mail/rmail.el (rmail-message-filter): Mark as obsolete. (Bug#2624)
12866
28109f49
SM
128672011-11-22 Stefan Monnier <monnier@iro.umontreal.ca>
12868
12869 * server.el (server-eval-and-print): Allow C-g (bug#6585).
12870
394c65f1
GM
128712011-11-22 Glenn Morris <rgm@gnu.org>
12872
12873 * mail/rmailmm.el (test-rmail-mime-handler)
12874 (test-rmail-mime-bulk-handler)
12875 (test-rmail-mime-multipart-handler): Move tests to test/ directory.
12876
f2a0aa3a
JL
128772011-11-21 Juri Linkov <juri@jurta.org>
12878
1154d12e
JB
12879 * calc/calc.el (calc-read-key-sequence):
12880 Let-bind `input-method-function' to nil. (Bug#10018)
f2a0aa3a 12881
9c34a344
LMI
128822011-11-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
12883
12884 * emacs-lisp/cl-indent.el (common-lisp-loop-part-indentation):
12885 Tell the caller that the next line needs recomputation, even
12886 though it doesn't start a sexp (bug#10094).
12887
f04a3be9
SM
128882011-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
12889
12890 * emacs-lisp/autoload.el (autoload-generate-file-autoloads): Simplify.
12891
7978747f
SM
128922011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
12893
f04a3be9
SM
12894 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
12895 Use force-same-window.
7978747f 12896
fe7a3057
JB
128972011-11-20 Juanma Barranquero <lekktu@gmail.com>
12898
12899 * descr-text.el (describe-char-unicode-data):
12900 * json.el (json-string-escape):
12901 * mail/footnote.el (footnote-unicode-string, footnote-unicode-regexp)
12902 (Footnote-unicode, Footnote-style-p):
12903 * net/ntlm.el (ntlm-get-password-hashes): Fix typos.
12904
24901d61
CY
129052011-11-20 Chong Yidong <cyd@gnu.org>
12906
12907 * window.el (replace-buffer-in-windows): Restore interactive spec.
12908
bac7ff22
SM
129092011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
12910
24f3d7b9
SM
12911 * electric.el (electric-indent-mode): Fix last change (too optimistic).
12912
bac7ff22
SM
12913 * emacs-lisp/bytecomp.el: Silence obsolete warnings more reliably.
12914 (byte-compile-global-not-obsolete-vars): New var.
12915 (byte-compile-check-variable, byte-compile-make-obsolete-variable):
12916 Use it.
12917 (byte-compile-warn-obsolete): Align text with the one in *Help*.
12918
cd1181db
JB
129192011-11-20 Juanma Barranquero <lekktu@gmail.com>
12920
12921 * progmodes/cwarn.el (cwarn-is-enabled, cwarn-font-lock-keywords):
12922 * progmodes/pascal.el (electric-pascal-equal):
12923 * textmodes/reftex-dcr.el (reftex-view-crossref-from-bibtex):
12924 * xml.el (xml-substitute-special): Fix typos.
12925
7fb18e9e
GM
129262011-11-20 Glenn Morris <rgm@gnu.org>
12927
12928 * mail/rmail.el (rmail-enable-mime-composing): Make it a defcustom.
12929 (rmail-insert-mime-forwarded-message-function, rmail-mime-feature):
12930 Doc fixes.
12931 (rmail-decode-mime-charset): Mark as obsolete.
12932
12933 * mail/rmailsum.el (rmail-message-regexp-p-1):
12934 * mail/rmail.el (rmail-search-message, rmail-forward, rmail-resend):
12935 Before using mime functions, check they are set. (Bug#10077)
12936
d5a6b3ba
JL
129372011-11-19 Juri Linkov <juri@jurta.org>
12938
12939 * info.el (Info-finder-find-node): Use `package--builtins' instead
12940 of `package-alist'. Use node names formed by the pattern "Keyword "
12941 and the keyword name.
12942
e981b61f
AS
129432011-11-19 Andreas Schwab <schwab@linux-m68k.org>
12944
1d00653d 12945 * progmodes/sh-script.el (sh-assignment-regexp): Add entry for bash.
e981b61f 12946
3ffbc301
JL
129472011-11-19 Juri Linkov <juri@jurta.org>
12948
12949 * info.el (Info-hide-note-references): Add `:set' tag to `defcustom'
12950 that calls `revert-buffer' on all Info buffers. (Bug#9915)
12951 (Info-revert-find-node): Remove let-bindings `old-buffer-name',
12952 `old-history', `old-history-forward'. Add let-binding
12953 `window-selected'. Remove calls to `kill-buffer',
12954 `switch-to-buffer' and `Info-mode'. Set `Info-current-file' to nil
12955 before calling `Info-find-node', so `Info-find-node-2' will reread
12956 the Info file. Restore window positions only when `window-selected'
12957 is non-nil.
12958
30c62133
JL
129592011-11-19 Juri Linkov <juri@jurta.org>
12960
12961 * isearch.el (isearch-lazy-highlight-new-loop):
12962 Remove condition `(not isearch-error)'. (Bug#9918)
12963
12964 * misearch.el (multi-isearch-search-fun): Add condition
12965 `(not bound)' to ignore lazy-highlighting search.
12966 Add the search-failed message "end of multi" when the end of
12967 multi-sequence is reached. Uncapitalize the search-failed
12968 message "Repeat for next buffer".
12969
12970 * info.el (Info-search): Add the search-failed message
12971 "end of the manual" when the end of the manual is reached
12972 in Isearch mode.
12973
645ca9cf
JL
129742011-11-19 Juri Linkov <juri@jurta.org>
12975
12976 * info.el (Info-find-node-2, Info-select-node, Info-history-find-node):
12977 Use non-destructive `remove' instead of `delete' because
12978 `Info-history-list' stored to `Info-isearch-initial-history-list' in
12979 `Info-isearch-start' might need to be restored in `Info-isearch-end'.
12980
df754f66
JL
129812011-11-19 Juri Linkov <juri@jurta.org>
12982
12983 * isearch.el (isearch-edit-string): Let-bind `history-add-new-input'
12984 to nil instead of binding `search-ring' and `regexp-search-ring'.
12985 (Bug#9185)
12986
0e23d96a
EZ
129872011-11-19 Eli Zaretskii <eliz@gnu.org>
12988
12989 * simple.el (line-move): Force movement by logical lines for any
12990 hscrolled window, not only when auto-hscroll-mode is on.
12991 (line-move-visual): Update doc string to that effect. (Bug#10076)
12992
8a6ccb66
AS
129932011-11-19 Andreas Schwab <schwab@linux-m68k.org>
12994
12995 * language/european.el (macintosh): Define as alias for mac-roman.
12996
49ae5b39
EZ
129972011-11-19 Eli Zaretskii <eliz@gnu.org>
12998
12999 * mail/rmailmm.el (rmail-mime-display-header)
13000 (rmail-mime-display-tagline, rmail-mime-display-body): New defsubsts.
13001 (rmail-mime-entity-segment, rmail-mime-toggle-raw)
13002 (rmail-mime-toggle-hidden, rmail-mime-insert-text)
13003 (rmail-mime-insert-bulk, rmail-mime-insert-multipart)
13004 (rmail-mime-insert, rmail-mime-insert-tagline): Use them instead
13005 of a raw aref.
13006 (rmail-mime-entity-segment): To get past the tagline, move forward
13007 2 more lines, to account for the 2 empty lines that precede and
13008 follow the line with the buttons.
13009 (rmail-mime-update-tagline): Move one more line, to get past the
13010 empty line that follows the buttons in the tagline. (Bug#9520)
13011
c56cad4a
MR
130122011-11-19 Martin Rudalics <rudalics@gmx.at>
13013
13014 * window.el (window-max-delta-1, window-min-delta-1)
13015 (window-min-size-1, window-state-get-1, window-state-put-1)
13016 (window-state-put-2): Use "window--" prefix.
13017
cbe71af3
SM
130182011-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
13019
2ad52c60
SM
13020 * emacs-lisp/smie.el: Improve warnings and conflict detection.
13021 (smie-warning-count): New var.
13022 (smie-set-prec2tab): Use it.
13023 (smie-bnf->prec2): Improve warnings. Add docstring.
13024 (smie-bnf--closer-alist): Rename from smie-bnf-closer-alist.
13025 (smie-bnf--set-class): New function.
13026 (smie-bnf--classify): Rename from smie-bnf-classify. Rewrite to fix
13027 corner case.
13028
6944dbc1
SM
13029 * progmodes/compile.el: Obey compilation-first-column in dest buffer.
13030 (compilation-error-properties, compilation-move-to-column):
13031 Handle compilation-first-column while in the target buffer.
13032
c400c4d7
SM
13033 * progmodes/cc-engine.el (c-remove-stale-state-cache-backwards):
13034 Don't hardcode point-min==1.
13035
6dbe3e96
SM
13036 * eshell/esh-cmd.el (eshell-do-eval): Handle `setq' (bug#9907).
13037 (eshell-rewrite-for-command): Remove workaround.
13038 (eshell-do-pipelines, eshell-do-pipelines-synchronously)
13039 (eshell-do-eval, eshell-exec-lisp): Avoid gratuitous setq.
13040 * eshell/esh-util.el (eshell-condition-case, eshell-for): Use declare.
13041
cbe71af3
SM
13042 * files-x.el (modify-file-local-variable): Obey commenting conventions.
13043
a8e1496d
GM
130442011-11-17 Glenn Morris <rgm@gnu.org>
13045
13046 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
13047 Ignore buffer-local generated-autoload-file if it is the same
13048 as the global value. (Bug#10049)
13049
df85d315
JB
130502011-11-17 Juanma Barranquero <lekktu@gmail.com>
13051
13052 * textmodes/reftex-toc.el (reftex-toc-return-marker, reftex-toc-help)
13053 (reftex-toc, reftex-toc, reftex-toc-dframe-p, reftex-toc-next-heading)
13054 (reftex-toc-previous-heading, reftex-toc-max-level)
13055 (reftex-toc-goto-line-and-hide, reftex-toc-show-calling-point)
13056 (reftex-toc-quit, reftex-toc-revert, reftex-toc-jump)
13057 (reftex-toc-do-promote, reftex-toc-promote-prepare)
13058 (reftex-toc-promote-action, reftex-toc-extract-section-number)
13059 (reftex-toc-load-all-files-for-promotion, reftex-toc-rename-label)
13060 (reftex-toc-rename-label, reftex-toc-visit-location)
13061 (reftex-toc-visit-location, reftex-toggle-auto-toc-recenter)
13062 (reftex-toggle-auto-toc-recenter, reftex-toggle-auto-toc-recenter)
13063 (reftex-make-separate-toc-frame): Fix typos, and use TOC consistently,
13064 leaving "*toc*" only for references to the buffer.
13065
a0c2d0ae
MR
130662011-11-17 Martin Rudalics <rudalics@gmx.at>
13067
13068 * window.el (window-resize, delete-window, split-window):
13069 Replace window-splits by window-combination-resize.
1d00653d 13070 * cus-start.el (window-splits): Replace by window-combination-resize.
a0c2d0ae 13071
35c0bac8
GM
130722011-11-17 Glenn Morris <rgm@gnu.org>
13073
13074 * progmodes/sh-script.el (sh-font-lock-keywords-var):
13075 Make bash entry derive from sh entry, not shell entry.
13076
d0c8fc8a
MA
130772011-11-16 Michael Albinus <michael.albinus@gmx.de>
13078
7262a87c
MA
13079 * net/tramp-sh.el (tramp-sh-handle-file-truename): Cache only the
13080 local file name.
13081
7877f373
JB
130822011-11-16 Juanma Barranquero <lekktu@gmail.com>
13083
13084 * menu-bar.el (menu-bar-file-menu):
13085 * printing.el (pr-ps-utility):
13086 * calendar/icalendar.el (icalendar, icalendar--convert-tz-offset)
13087 (icalendar--convert-to-ical, icalendar--convert-ordinary-to-ical)
13088 (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
13089 (icalendar--convert-sexp-to-ical, icalendar--convert-block-to-ical)
13090 (icalendar--convert-float-to-ical, icalendar--convert-date-to-ical)
13091 (icalendar--convert-cyclic-to-ical)
13092 (icalendar--convert-anniversary-to-ical, icalendar-import-buffer)
13093 (icalendar--convert-ical-to-diary)
13094 (icalendar--convert-recurring-to-diary)
13095 (icalendar--convert-non-recurring-all-day-to-diary)
13096 (icalendar-import-format-sample):
13097 * progmodes/idlw-shell.el (idlwave-shell-mode):
13098 * progmodes/vhdl-mode.el (vhdl-mode, vhdl-print-two-column)
13099 (vhdl-print-customize-faces, vhdl-mode, vhdl-ps-print-settings)
13100 (vhdl-ps-print-init): Fix typos.
13101
10649b82
KM
131022011-11-16 Ken Manheimer <ken.manheimer@gmail.com>
13103
9d0cfcd6
GM
13104 * allout.el, allout-widgets.el (file metadata): Attribute copyright to
13105 FSF and collapse date sequence, obscure author/maintainer email address
13106 better, remove extra version line, track relocation of author's webpage.
10649b82 13107
9d0cfcd6
GM
13108 * progmodes/python.el (python-pdbtrack-input-prompt)
13109 (python-pdbtrack-track-stack-file): Adjust to recognize ipdb as well as
13110 regular python pdb prompts. Adjustments shamelessly taken exactly as
13111 suggested in EmacsWiki page (tiny change):
13112 http://www.emacswiki.org/PythonProgrammingInEmacs#toc14
8642c216 13113
58179cce
JB
131142011-11-16 Juanma Barranquero <lekktu@gmail.com>
13115
13116 * expand.el (expand-pos, expand-index, expand-point):
13117 Remove redundant info from docstring.
13118 (expand-add-abbrevs): Doc fix.
13119 (expand-c-sample-expand-list, expand-sample-lisp-mode-expand-list)
13120 (expand-sample-perl-mode-expand-list): Fix typos.
13121
13122 * net/dbus.el (dbus-event-member-name):
13123 * play/5x5.el (5x5-solve-rotate-left, 5x5-solver-output):
13124 * term/pc-win.el (msdos-create-frame-with-faces):
13125 * textmodes/texinfmt.el (texinfo-format-image): Fix typos.
13126
b6f67890
MR
131272011-11-16 Martin Rudalics <rudalics@gmx.at>
13128
13129 * window.el (split-window, window-state-get-1)
13130 (window-state-put-1, window-state-put-2): Rename occurrences of
13131 window-nest to window-combination-limit.
1d00653d 13132 * cus-start.el (window-nest): Rename to window-combination-limit.
b6f67890 13133
ce7ddba0
CY
131342011-11-16 Chong Yidong <cyd@gnu.org>
13135
13136 * progmodes/autoconf.el (autoconf-mode): Fix comment-start-skip
13137 regexp (Bug#10033).
13138
3ae704f4
SM
131392011-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
13140
13141 * tmm.el (tmm-prompt): Use minibuffer-with-setup-hook (bug#10053).
13142 `completing-read' will remove *Completions* and will preserve
13143 current-buffer for us.
13144 (tmm-add-prompt): Users of *Completions* will always (re)set its
13145 major mode.
13146 (tmm-old-comp-map): Remove.
13147
6ad1cdde
GM
131482011-11-16 Glenn Morris <rgm@gnu.org>
13149
13150 * mail/rmailedit.el: Require rmailmm when compiling.
13151 (rmail-old-mime-state): New declaration.
13152 (rmail-edit-current-message): If editing a mime message,
13153 edit the "raw" message from the mbox buffer.
13154 (rmail-cease-edit): Handle mime messages. (Bug#9840)
13155
d20faa20
GM
131562011-11-15 Glenn Morris <rgm@gnu.org>
13157
13158 * mail/rmailmm.el (rmail-mime-toggle-raw): Remove entity arg,
13159 which wasn't being used. Add optional arg to force given state.
13160 (rmail-mime): Add optional arg to force given state.
13161
c7015153
JB
131622011-11-15 Juanma Barranquero <lekktu@gmail.com>
13163
13164 * allout.el (allout-encryption-plaintext-sanitization-regexps):
13165 * frame.el (display-mm-dimensions-alist):
13166 * outline.el (outline-mode-menu-bar-map, outline-move-subtree-up)
13167 (outline-move-subtree-down):
13168 * net/newst-treeview.el (newsticker--treeview-do-get-node-of-feed)
13169 (newsticker--treeview-do-get-node):
13170 * net/quickurl.el (quickurl-list-buffer-name):
13171 * progmodes/dcl-mode.el (dcl-mode):
13172 * progmodes/gdb-mi.el (gdb-mapcar*):
13173 * progmodes/sql.el (sql-mode-oracle-font-lock-keywords): Fix typos.
13174
45261b50
GM
131752011-11-15 Glenn Morris <rgm@gnu.org>
13176
13177 * mail/rmail.el (rmail-file-coding-system): It's only ever used
13178 in a boolean sense, so just make it a boolean, and fix the doc.
13179 (rmail-show-mime-function, rmail-mime-feature)
13180 (rmail-require-mime-maybe): Doc fixes.
13181 (rmail-show-message-1): Check rmail-show-mime-function is non-nil.
13182
13183 * mail/rmailmm.el (rmail-show-mime): Doc fix.
13184
0d26e0b6
JB
131852011-11-15 Juanma Barranquero <lekktu@gmail.com>
13186
13187 * epg.el (epg-start-decrypt, epg-start-verify, epg-start-sign)
13188 (epg-start-encrypt, epg-start-export-keys, epg-start-import-keys)
13189 (epg-start-receive-keys, epg-start-delete-keys, epg-start-sign-keys)
13190 (epg-start-generate-key, epg-context-set-progress-callback): Fix typos.
13191
447f30f6
GM
131922011-11-15 Glenn Morris <rgm@gnu.org>
13193
672b871d
GM
13194 * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-segment)
13195 (rmail-mime-shown-mode, rmail-mime-hidden-mode, rmail-mime-raw-mode)
13196 (rmail-mime-toggle-hidden, rmail-mime-insert-tagline)
13197 (rmail-mime-insert-header, rmail-mime-handle, rmail-mime-parse)
13198 (rmail-mime, rmail-show-mime): Doc fixes.
13199
f6aa5bb1
GM
13200 * term/ns-win.el (mode-line-frame-identification):
13201 Leave it alone. (Bug#10051)
13202
947cd66b
GM
13203 * simple.el (mark-whole-buffer): Doc fix. (Bug#10023)
13204
447f30f6
GM
13205 * mail/rmailout.el (rmail-output-to-rmail-buffer):
13206 Handle empty buffers. (Bug#9978)
13207
0b381c7e
JB
132082011-11-14 Juanma Barranquero <lekktu@gmail.com>
13209
13210 * international/mule.el (define-charset):
13211 * mail/rmailmm.el (rmail-mime-find-header-encoding):
13212 * progmodes/prolog.el (prolog-mode-hook, prolog-inferior-mode-hook):
13213 * progmodes/verilog-mode.el (verilog-backward-token):
13214 * textmodes/ispell.el (lookup-words):
13215 * textmodes/sgml-mode.el (sgml-guess-indent): Fix typos.
13216
71e027ac
GM
132172011-11-14 Glenn Morris <rgm@gnu.org>
13218
56632ce4
GM
13219 * progmodes/executable.el
13220 (executable-make-buffer-file-executable-if-script-p):
13221 Handle file-modes returning nil.
13222
40500957
GM
13223 * mail/rmailsum.el (rmail-summary): Remove movement to beginning of
13224 message - not necessary, and causes problems. (Bug#9831)
13225
071c2340
GM
13226 * mail/rmailsum.el (rmail-new-summary): Preserve message number.
13227
d3cfca60
GM
13228 * mail/rmail.el (rmail-no-mail-p): Remove mode-line N/M indicator.
13229
71e027ac
GM
13230 * mail/rmailsum.el (rmail-summary, rmail-new-summary)
13231 (rmail-new-summary-1): Allow empty summaries. (Bug#9964)
13232 (rmail-new-summary): Remember that rmail-summary-buffer is buffer-local.
13233
89d61221
MR
132342011-11-12 Martin Rudalics <rudalics@gmx.at>
13235
13236 * window.el (window-resize, delete-window): Use window-splits
13237 variable instead of function.
13238 (window-state-get-1, window-state-put-2, window-state-put):
13239 Don't deal with windows' splits status.
13240
98282f6f
GM
132412011-11-12 Glenn Morris <rgm@gnu.org>
13242
13243 * apropos.el (apropos-do-all, apropos-library, apropos-value)
13244 (apropos-documentation): Doc fixes.
13245
40a8bdf6
JB
132462011-11-11 Juanma Barranquero <lekktu@gmail.com>
13247
13248 * progmodes/idlw-shell.el (idlwave-shell-make-new-bp-overlay):
13249 * textmodes/sgml-mode.el (html-tag-help): Fix typos.
13250
65bd19ff
SM
132512011-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
13252
13253 * electric.el (electric-indent-post-self-insert-function): Make it
13254 possible for a char to only indent in some circumstances.
13255 (electric-indent-mode): Simplify.
13256
54f9154c
MR
132572011-11-11 Martin Rudalics <rudalics@gmx.at>
13258
13259 * window.el (windows-with-parameter): Remove unused function.
13260 (windows-at-side): Rename to window-at-side-list.
13261 (window-check, window-atom-check, window-atom-check-1)
5e92ca23
MR
13262 (window-side-check, window-size-ignore, window-size-fixed-1)
13263 (window-in-direction-2): Prefix with "window--".
13264 (window-tree-1): Rename to window--subtree, fix doc-string.
54f9154c 13265
68cbc58b
GM
132662011-11-11 Glenn Morris <rgm@gnu.org>
13267
13268 * subr.el (eval-after-load): If FILE is already loaded,
13269 evaluate FORM before it gets wrapped in more stuff. (Bug#10009)
13270
b2621720
GM
132712011-11-10 Glenn Morris <rgm@gnu.org>
13272
9a4de110
GM
13273 * vc/vc-svn.el (vc-svn-create-repo, vc-svn-modify-change-comment):
13274 Call svn via vc-svn-command rather than vc-do-command.
13275 (vc-svn-command): Add --non-interactive. (Bug#9993)
13276 (vc-svn-update, vc-svn-merge-news): No need for --non-interactive.
13277
b2621720
GM
13278 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
13279 Add toggle-read-only. (Bug#7292)
13280 * files.el (toggle-read-only): Mention that it should only
13281 be used interactively. (Bug#10006)
13282
1dce7193
SM
132832011-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
13284
d9ac1a1e
SM
13285 * progmodes/compile.el (compilation-error-regexp-alist-alist):
13286 Adjust regexp for OCaml warnings.
13287
0c325082
SM
13288 * electric.el (electric-pair-post-self-insert-function): Let user
13289 turn it off buffer-locally (bug#9932).
13290
90132c14
SM
13291 * progmodes/python.el (python-beginning-of-statement):
13292 Rewrite (bug#2703).
13293
1dce7193
SM
13294 * progmodes/compile.el: Better handle TABs (bug#9749).
13295 (compilation-internal-error-properties)
13296 (compilation-next-error-function): Obey the target buffer's
13297 compilation-error-screen-columns.
13298
c4e7c63a
JB
132992011-11-09 Juanma Barranquero <lekktu@gmail.com>
13300
13301 * progmodes/meta-mode.el: Remove obsolete comments.
13302 (meta-right-comment-regexp, meta-ignore-comment-regexp):
13303 Fix typos in docstrings.
13304
2cffd681
MR
133052011-11-09 Martin Rudalics <rudalics@gmx.at>
13306
13307 * window.el (window-size-fixed-p): Rewrite doc-string.
1dce7193 13308 (window-resizable-p): Rename to window--resizable-p. Update callers.
2cffd681
MR
13309 (window--resizable): New function. Make all callers of
13310 window-resizable call window--resizable instead.
13311 (window-resizable): Rewrite in terms of window--resizable.
13312
0edcba87
GM
133132011-11-08 Glenn Morris <rgm@gnu.org>
13314
13315 * progmodes/delphi.el (delphi-mode-syntax-table):
13316 Let define-derived-mode define a proper syntax table. (Bug#9994)
13317
4b0d61e3
SM
133182011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
13319
13320 * window.el: Stay away from defsubst.
13321 (window-list-no-nils): Remove.
13322 (window-state-get-1, window-state-get): Use backquote instead.
13323
cd394be1 133242011-11-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
fcbcac2e 13325
4b0d61e3 13326 * emacs-lisp/find-func.el (find-function-read):
fcbcac2e 13327 Fix incorrect use of default argument in `completing-read'.
13328
e1c2c6f2
MR
133292011-11-08 Martin Rudalics <rudalics@gmx.at>
13330
13331 * window.el (display-buffer-function, special-display-function):
13332 Mention display-buffer-record-window but do not mention
13333 help-setup parameter in doc-strings.
b3f4a882 13334 (window-min-delta): Fix doc-string typo.
e1c2c6f2 13335
105216ed
CY
133362011-11-08 Chong Yidong <cyd@gnu.org>
13337
13338 * window.el (window-total-height, window-total-width): Doc fix.
13339 (window-body-size): Move from C.
13340 (window-body-height, window-body-width): Move to C.
13341
0a9f9ab5
SM
133422011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
13343
13344 * window.el: Make special-display like display-buffer-alist (bug#9532).
13345 (display-buffer--special-action): New function, morphed
13346 from display-buffer--special.
13347 (display-buffer): Use it to handle special-display-buffers at higher
13348 priority (just after display-buffer-alist).
13349 (display-buffer-fallback-action, display-buffer--other-frame-action)
13350 (pop-to-buffer-same-window): Remove display-buffer--special.
13351
a769dd15
GM
133522011-11-07 Glenn Morris <rgm@gnu.org>
13353
13354 * calendar/cal-menu.el (cal-menu-set-date-title):
13355 Do nothing if not in a calendar. (Bug#9976)
13356
05a61ee3
SM
133572011-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
13358
13359 * files.el (find-file): Always use selected-window.
13360
be7f5545
MR
133612011-11-07 Martin Rudalics <rudalics@gmx.at>
13362
13363 * window.el (window-combinations): Make WINDOW argument
13364 mandatory. Rewrite doc-string.
13365 (walk-window-subtree, window-atom-check, window-min-delta)
13366 (window-max-delta, window--resize-this-window)
13367 (window--resize-root-window-vertically, window-tree)
13368 (balance-windows, window-state-put): Rewrite doc-strings as to
13369 not mention the term "subwindow".
13370 (window--resize-subwindows-skip-p): Rename to
13371 window--resize-child-windows-skip-p.
13372 (window--resize-subwindows-normal): Rename to
13373 window--resize-child-windows-normal.
13374 (window--resize-subwindows): Rename to
13375 window--resize-child-windows.
13376 (window-or-subwindow-p): Rename to window--in-subtree-p.
13377
3c6702ef
ML
133782011-11-07 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
13379
13380 * mail/rmail.el (rmail-get-new-mail, rmail-insert-inbox-text):
13381 Ensure that mbox format messages end in two newlines (Bug#9974).
13382
49745b39
CY
133832011-11-06 Chong Yidong <cyd@gnu.org>
13384
13385 * window.el (window-combination-p): Function deleted; its
13386 side-effect is not used in any existing code.
13387 (window-combinations, window-combined-p): Call window-*-child
13388 directly.
13389
24300f5f
CY
133902011-11-05 Chong Yidong <cyd@gnu.org>
13391
13392 * window.el (window-valid-p): Rename from window-any-p.
447f16b8
CY
13393 (window-size-ignore, window-state-get): Callers changed.
13394 (window-normalize-window): Rename from window-normalize-any-window.
13395 New arg LIVE-ONLY, replacing window-normalize-live-window.
1dce7193 13396 (window-normalize-live-window): Delete.
447f16b8
CY
13397 (window-combination-p, window-combined-p, window-combinations)
13398 (walk-window-subtree, window-atom-root, window-min-size)
13399 (window-sizable, window-sizable-p, window-size-fixed-p)
13400 (window-min-delta, window-max-delta, window-resizable)
13401 (window-resizable-p, window-full-height-p, window-full-width-p)
13402 (window-current-scroll-bars, window-point-1, set-window-point-1)
13403 (window-at-side-p, window-in-direction, window-resize)
13404 (adjust-window-trailing-edge, maximize-window, minimize-window)
13405 (window-deletable-p, delete-window, delete-other-windows)
13406 (record-window-buffer, unrecord-window-buffer)
13407 (switch-to-prev-buffer, switch-to-next-buffer, window--delete)
13408 (quit-window, split-window, window-state-put)
13409 (set-window-text-height, fit-window-to-buffer)
13410 (shrink-window-if-larger-than-buffer): Callers changed.
24300f5f 13411
89bd5ee1
EZ
134122011-11-04 Eli Zaretskii <eliz@gnu.org>
13413
53479029
EZ
13414 * mail/rmail.el (rmail-simplified-subject): Decode subject with
13415 rfc2047-decode-string.
13416 (rmail-mime-toggle-hidden): Declare to avoid byte-compilation
13417 warnings.
13418
89bd5ee1
EZ
13419 * window.el (window-body-height, window-body-width): Mention in
13420 the doc string that the return values are in frame's canonical
13421 units. (Bug#9949)
13422
bd17fdee
AM
134232011-11-03 Alan Mackenzie <acm@muc.de>
13424
13425 * progmodes/cc-langs.el (c-nonlabel-token-2-key): New variable for
13426 change in cc-engine.el.
13427
acc825c5
SM
134282011-11-02 Stefan Monnier <monnier@iro.umontreal.ca>
13429
13430 * window.el (switch-to-buffer): Use `force-same-window' interactively.
13431
1885e5b8
MR
134322011-11-02 Martin Rudalics <rudalics@gmx.at>
13433
13434 * window.el (quit-window): Call unrecord-window-buffer after
13435 showing another buffer in the window. (Bug#9937)
acc825c5 13436 (bury-buffer): Call switch-to-prev-buffer with second argument `bury'.
1885e5b8 13437
ebe06da9
JB
134382011-11-02 Juanma Barranquero <lekktu@gmail.com>
13439
13440 * vc/vc-bzr.el (vc-bzr-state, vc-bzr-after-dir-status):
13441 Accept status with more than 9 shelves. (Bug#9935)
13442 Reported by Colin D Bennett <colin@gibibit.com>.
13443
4ee88440
MR
134442011-11-01 Martin Rudalics <rudalics@gmx.at>
13445
13446 * help.el (with-help-window): Don't reference
13447 temp-buffer-show-specifiers in doc-string.
13448
08e1d82c
AS
134492011-10-31 Andreas Schwab <schwab@linux-m68k.org>
13450
13451 * subr.el (keymap--menu-item-with-binding): Ignore item if not a
13452 menu-item.
13453
84bd6e9e
VJL
134542011-10-30 Vinicius Jose Latorre <viniciusjl@ig.com.br>
13455
13456 * whitespace.el: New version 13.2.2.
13457 (whitespace-newline-mode): Disable properly. Reported by Sarah
13458 <EmacsWiki>.
13459
dba0634a
UJ
134602011-10-30 Ulf Jasper <ulf.jasper@web.de>
13461
13462 * net/newst-treeview.el: Remove "Time-stamp".
13463 (newsticker--group-manage-orphan-feeds): Do not call
13464 newsticker--treeview-tree-update.
db22a3c2
JB
13465 (newsticker-treeview-update, newsticker-treeview):
13466 Call newsticker--treeview-tree-update if necessary.
dba0634a 13467
3d8daefe
MR
134682011-10-30 Martin Rudalics <rudalics@gmx.at>
13469
13470 * window.el (window-iso-combination-p, window-iso-combined-p)
acc825c5
SM
13471 (window-iso-combinations): Remove "iso-" infix.
13472 Suggested by Chong Yidong.
3d8daefe
MR
13473 (window-min-size-1, window-size-fixed-1, window-min-delta-1)
13474 (window-max-delta-1, window-resize, window--resize-siblings)
13475 (window--resize-this-window, adjust-window-trailing-edge)
13476 (split-window, balance-windows-1)
13477 (shrink-window-if-larger-than-buffer):
13478 * calendar/calendar.el (calendar-generate-window):
db22a3c2 13479 * help.el (resize-temp-buffer-window): Adjust callers accordingly.
3d8daefe 13480
1bc4c3ae
SM
134812011-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
13482
13483 * eshell/esh-cmd.el (eshell-rewrite-for-command): Don't modify the list
13484 in place (bug#9907).
13485 (eshell-subcommand-arg-values, eshell-rewrite-named-command)
13486 (eshell-rewrite-if-command, eshell-rewrite-for-command)
13487 (eshell-structure-basic-command, eshell-rewrite-while-command)
13488 (eshell-invokify-arg, eshell-parse-pipeline, eshell-parse-command)
13489 (eshell-parse-subcommand-argument, eshell-parse-lisp-argument)
13490 (eshell-trap-errors, eshell-do-pipelines, eshell-do-eval)
13491 (eshell-do-pipelines-synchronously, eshell-eval-command):
13492 Use backquotes and prefer setq to set.
13493 (eshell-lookup-function, function-p-func, eshell-functionp): Remove.
13494 (eshell-macrop): Use functionp.
c1e2f5fa 13495 (eshell-do-eval): Handle multiple expressions in `while' body.
1bc4c3ae 13496
30b65d9c
CY
134972011-10-30 Chong Yidong <cyd@gnu.org>
13498
13499 * emulation/viper-cmd.el (viper-exec-change): Use push-mark
13500 instead of set-mark (Bug#9810).
13501
2d197ffb
CY
135022011-10-30 Chong Yidong <cyd@gnu.org>
13503
13504 * window.el (split-window-below, split-window-right): Rename from
13505 split-window-above-each-other and split-window-side-by-side
13506 respectively. All callers changed.
13507 (split-window-sensibly, split-window-sensibly): Use them.
13508 (split-window-keep-point): Doc fix.
13509
13510 * isearch.el: Add isearch-scroll property to split-window-below
13511 and split-window-right.
13512
13513 * follow.el (follow-mode):
13514 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
13515 * progmodes/ada-xref.el (ada-gdb-application):
13516 * emulation/vip.el (vip-buffer-in-two-windows):
13517 * image-dired.el (image-dired-dired-with-window-configuration):
13518 * dired-x.el (dired-do-find-marked-files):
13519 * dired.el (dired-pop-to-buffer):
13520 * bs.el (bs--show-with-configuration):
13521 * vc/emerge.el (emerge-setup-windows):
13522 * textmodes/two-column.el (2C-two-columns):
13523 * textmodes/reftex-toc.el (reftex-toc):
13524 * progmodes/gdb-mi.el (gdb-setup-windows):
13525 * progmodes/fortran.el (fortran-window-create):
13526 * net/newst-treeview.el (newsticker--treeview-window-init):
13527 * emulation/ws-mode.el (wordstar-C-o-map, wordstar-mode):
13528 * emulation/tpu-edt.el (tpu-gold-map):
13529 * emulation/crisp.el (crisp-mode-map):
13530 * calendar/calendar.el (calendar-basic-setup): Callers changed.
13531
38bb2ca8
CY
135322011-10-29 Chong Yidong <cyd@gnu.org>
13533
aa4de341
CY
13534 * subr.el (y-or-n-p): Add code for batch mode (Bug#9818).
13535
e1eb5385
CY
13536 * mouse.el (mouse-yank-primary): Push the mark (Bug#9894).
13537
5d2ece3c
CY
13538 * textmodes/flyspell.el (flyspell-word): Fix char offset for
13539 forged Ispell output (Bug#7904).
13540
38bb2ca8
CY
13541 * emacs-lisp/package.el (package-refresh-contents): Add autoload.
13542
d0af9f77
SM
135432011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
13544
13545 * doc-view.el: Avoid ugly errors about not finding nil.
13546 (doc-view-ghostscript-program, doc-view-dvipdfm-program)
13547 (doc-view-dvipdf-program, doc-view-unoconv-program)
13548 (doc-view-ps2pdf-program, doc-view-pdftotext-program):
13549 Avoid nil or absolute file name as default value.
13550 (doc-view-pdf->txt, doc-view-ps->pdf): Use executable-find here.
13551
52bedd34
AM
135522011-10-28 Alan Mackenzie <acm@muc.de>
13553
db22a3c2 13554 * progmodes/cc-defs.el (c-version): -> 5.32.2.
52bedd34 13555
7e43cfa5
AM
135562011-10-28 Alan Mackenzie <acm@muc.de>
13557
13558 Amend the handling of c-beginning/end-of-defun in nested declaration
13559 scopes.
13560
52bedd34
AM
13561 * progmodes/cc-vars.el (c-defun-tactic): Move here from
13562 cc-langs.el. Change it to a defcustom.
7e43cfa5 13563
52bedd34
AM
13564 * progmodes/cc-langs.el (c-defun-tactic): Move this variable to
13565 cc-vars.el.
7e43cfa5 13566
d0af9f77
SM
13567 * progmodes/cc-engine.el (c-beginning-of-statement-1):
13568 Prevent "class foo : bar" being spuriously recognized as a label.
7e43cfa5 13569
52bedd34 13570 * progmodes/cc-cmds.el (c-narrow-to-most-enclosing-decl-block):
acc825c5 13571 Add parameter `inclusive' (to include enclosing braces in the region).
7e43cfa5
AM
13572 (c-widen-to-enclosing-decl-scope): New function.
13573 (c-while-widening-to-decl-block): New macro.
13574 (c-beginning-of-defun, c-end-of-defun): Change algorithm to keep going
13575 outward for defun boundaries, and correspondingly change symbol
13576 `respect-enclosure' to `go-outward'.
13577 (c-declaration-limits): Change algorithm to report only the "innermost"
13578 defun's boundaries.
13579
1a2ce9ee
DD
135802011-10-28 Deniz Dogan <deniz@dogan.se>
13581
13582 * net/rcirc.el (rcirc-mode): Use hard newlines.
13583
bc97a826
AM
135842011-10-28 Alan Mackenzie <acm@muc.de>
13585
13586 Amend to indent and fontify macros "which include their own semicolon"
13587 correctly, using the "virtual semicolon" mechanism.
13588
52bedd34 13589 * progmodes/cc-defs.el: Update "virtual semicolon" comments.
bc97a826 13590
d0af9f77 13591 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
7877f373 13592 Recode to scan one line at a time rather than having \n and \r
58179cce 13593 explicitly in c-stmt-delim-chars (for some modes, e.g. AWK).
bc97a826 13594 (c-forward-label): Amend for virtual semicolons.
58179cce 13595 (c-at-macro-vsemi-p, c-macro-vsemi-status-unknown-p): New functions.
bc97a826 13596
52bedd34
AM
13597 * progmodes/cc-fonts.el (c-font-lock-declarations): Take account
13598 of the new C macros.
bc97a826 13599
52bedd34 13600 * progmodes/cc-langs.el (c-at-vsemi-p-fn):
acc825c5
SM
13601 (c-vsemi-status-unknown-p-fn): Move to earlier in the file.
13602 (c-opt-cpp-symbol, c-line-comment-start-regexp): New language vars.
bc97a826
AM
13603 (c-opt-cpp-macro-define): Make into a full language variable.
13604 (c-stmt-delim-chars, c-stmt-delim-chars-with-comma): Special value for
13605 AWK Mode (including \n, \r) removed, no longer needed.
13606
d0af9f77
SM
13607 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode):
13608 Invoke c-make-macro-with-semi-re.
bc97a826 13609
52bedd34
AM
13610 * progmodes/cc-vars.el (c-macro-with-semi-re):
13611 (c-macro-names-with-semicolon): New variables.
58179cce 13612 (c-make-macro-with-semi-re): New function.
bc97a826 13613
7a6c0941
SM
136142011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
13615
13616 * vc/log-edit.el: Fill empty field rather than adding new one.
13617 (log-edit-add-field): New function.
13618 (log-edit-insert-changelog): Use it.
13619
b0c4cdcf
ML
136202011-10-28 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
13621
13622 * mail/rmail.el (rmail-mode-map): Add M-C-f as in rmailsum (bug#9802).
13623
ee1f1da9
SM
136242011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
13625
13626 * progmodes/gdb-mi.el: Warn the user when -i=mi is missing.
13627 (gdb--check-interpreter): New function.
13628 (gdb): Use it.
13629
51bc5f8b
GM
136302011-10-27 Glenn Morris <rgm@gnu.org>
13631
416a2c45
GM
13632 * emacs-lisp/cl-extra.el (most-positive-float, most-negative-float)
13633 (least-positive-float, least-negative-float)
13634 (least-positive-normalized-float, least-negative-normalized-float)
13635 (float-epsilon, float-negative-epsilon):
13636 Remove unnecessary declarations.
13637
13638 * emacs-lisp/cl-extra.el (cl-float-limits): Add doc string.
13639 * emacs-lisp/cl.el (most-positive-float, most-negative-float)
13640 (least-positive-float, least-negative-float)
13641 (least-positive-normalized-float, least-negative-normalized-float)
13642 (float-epsilon, float-negative-epsilon): Add doc-strings,
13643 based on those in cl.texi.
13644
51bc5f8b
GM
13645 * files.el (set-visited-file-name): If the major-mode changed,
13646 reload the local variables. (Bug#9796)
13647
15de15c6
CY
136482011-10-27 Chong Yidong <cyd@gnu.org>
13649
13650 * subr.el (change-major-mode-after-body-hook): New hook.
13651 (run-mode-hooks): Run it.
13652
ee1f1da9
SM
13653 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
13654 Use change-major-mode-before-body-hook.
15de15c6
CY
13655
13656 * simple.el (fundamental-mode):
13657 * emacs-lisp/derived.el (define-derived-mode): Revert 2010-04-28
13658 change introducing fundamental-mode-hook.
13659
5430d399
JB
136602011-10-26 Juanma Barranquero <lekktu@gmail.com>
13661
acc825c5 13662 * term/w32-win.el (w32-default-color-map): Declare obsolete (Bug#9785).
5430d399 13663
ad74a69e
MA
136642011-10-26 Michael Albinus <michael.albinus@gmx.de>
13665
13666 * ido.el (ido-file-name-all-completions-1): Do not require
c7015153 13667 tramp.el explicitly. (Bug#7583)
ad74a69e 13668
71d4c2a5
SM
136692011-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
13670
13671 * progmodes/octave-mod.el:
13672 * progmodes/octave-inf.el: Update maintainer.
13673
b1f6fa26
CY
136742011-10-26 Chong Yidong <cyd@gnu.org>
13675
13676 * subr.el (with-wrapper-hook): Rewrite doc.
13677
3f04efd6
MA
136782011-10-25 Michael Albinus <michael.albinus@gmx.de>
13679
13680 * net/tramp-sh.el (tramp-sh-handle-file-directory-p): Return t for
ad74a69e 13681 filenames "/method:foo:". (Bug#9793)
3f04efd6 13682
410488d3
SM
136832011-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
13684
13685 * comint.el (comint-get-old-input-default): Fix use-prompt-regexp case
13686 (bug#9865).
13687
c1ebb47e
GM
136882011-10-24 Glenn Morris <rgm@gnu.org>
13689
13690 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix. (Bug#9819)
13691
7f5c46c7
MA
136922011-10-24 Michael Albinus <michael.albinus@gmx.de>
13693
13694 * notifications.el: Add the requirement of a running D-Bus session
13695 bus to the Commentary.
13696
db2440b6
JL
136972011-10-24 Juri Linkov <juri@jurta.org>
13698
13699 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
13700 `search-whitespace-regexp' only when `isearch-regexp' is non-nil.
13701 (Bug#9364)
13702
feecf435
JL
137032011-10-24 Juri Linkov <juri@jurta.org>
13704
13705 * info.el (Info-following-node-name-re): Add newline to the list
13706 of allowed characters for leading space. (Bug#9824)
13707
a3839de2
SM
137082011-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
13709
acc825c5
SM
13710 * progmodes/octave-inf.el (inferior-octave-mode-map):
13711 Fix C-c C-h binding.
a3839de2
SM
13712 * progmodes/octave-mod.el (octave-help): Remove.
13713
09388e76
MA
137142011-10-23 Michael Albinus <michael.albinus@gmx.de>
13715
13716 Sync with Tramp 2.2.3.
13717
13718 * net/tramp-cache.el (top): Pacify byte-compiler using
13719 `init-file-user' and `site-run-file'.
13720
13721 * net/trampver.el: Update release number.
13722
86c60681
CY
137232011-10-23 Chong Yidong <cyd@gnu.org>
13724
13725 * files.el (toggle-read-only): Remove obsolete comment about
13726 version control.
13727
13728 * vc/vc-hooks.el (vc-toggle-read-only): Make it an obsolete alias
13729 for toggle-read-only. Note that this hasn't called vc-next-action
13730 since 2008-05-02, though it wasn't documented at the time.
13731
a3839de2
SM
13732 * vc/ediff-init.el (ediff-toggle-read-only-function):
13733 Use toggle-read-only.
86c60681 13734
cd5495ff
AM
137352011-10-22 Alan Mackenzie <bug-cc-mode@gnu.org>
13736
13737 Fix bug #9560, sporadic wrong indentation; improve instrumentation
13738 of c-parse-state.
13739
00b77525 13740 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
a3839de2 13741 correct faulty logical expression.
cd5495ff
AM
13742 (c-parse-state-state, c-record-parse-state-state):
13743 (c-replay-parse-state-state): New defvar/defuns.
13744 (c-debug-parse-state): Use new functions.
13745
42ee24ed
MR
137462011-10-22 Martin Rudalics <rudalics@gmx.at>
13747
13748 * mouse.el (mouse-drag-line): Fix minibuffer resizing broken by
53ebff1f 13749 last fix. Use window-in-direction correctly.
42ee24ed 13750
a7dee7e7
CY
137512011-10-21 Chong Yidong <cyd@gnu.org>
13752
13753 * progmodes/idlwave.el (idlwave-mode):
13754 * progmodes/vera-mode.el (vera-mode): No need to set
a3839de2
SM
13755 require-final-newline; that's done in prog-mode.
13756 Suggested by Stefan Monnier.
a7dee7e7 13757
e07b9a6d
MR
137582011-10-21 Martin Rudalics <rudalics@gmx.at>
13759
13760 * mouse.el (mouse-drag-window-above)
13761 (mouse-drag-move-window-bottom, mouse-drag-move-window-top)
13762 (mouse-drag-mode-line-1, mouse-drag-header-line)
13763 (mouse-drag-vertical-line-rightward-window): Remove.
13764 (mouse-drag-line): New function.
13765 (mouse-drag-mode-line, mouse-drag-header-line)
13766 (mouse-drag-vertical-line): Call mouse-drag-line.
13767 * window.el (window-at-side-p, windows-at-side): New functions.
13768
7e1361d9
UM
137692011-10-21 Ulrich Mueller <ulm@gentoo.org>
13770
13771 * tar-mode.el (tar-grind-file-mode):
13772 Fix handling of setuid/setgid, handle sticky bit. (Bug#9817)
13773
30fcaf3a
CY
137742011-10-21 Chong Yidong <cyd@gnu.org>
13775
13776 * progmodes/idlwave.el (idlwave-mode):
a3839de2
SM
13777 * progmodes/vera-mode.el (vera-mode):
13778 Use mode-require-final-newline.
30fcaf3a 13779
516eddb0
GM
137802011-10-20 Glenn Morris <rgm@gnu.org>
13781
db22a3c2 13782 * vc/vc.el (vc-next-action): Handle removed directories. (Bug#9781)
516eddb0 13783
10d5f513
CS
137842011-10-20 Christoph Scholtes <cschol2112@googlemail.com>
13785
13786 * emulation/cua-base.el (cua-set-mark): Fix case of string.
13787
ac6c8639
CY
137882011-10-20 Chong Yidong <cyd@gnu.org>
13789
13790 * emulation/cua-base.el (cua-mode):
13791 * mail/footnote.el (footnote-mode):
13792 * mail/mailabbrev.el (mail-abbrevs-mode):
13793 * net/xesam.el (xesam-minor-mode):
13794 * progmodes/bug-reference.el (bug-reference-mode):
13795 * progmodes/cap-words.el (capitalized-words-mode):
13796 * progmodes/compile.el (compilation-minor-mode)
13797 (compilation-shell-minor-mode):
13798 * progmodes/gud.el (gud-tooltip-mode):
13799 * progmodes/hideif.el (hide-ifdef-mode):
13800 * progmodes/idlw-shell.el (idlwave-shell-electric-debug-mode):
13801 * progmodes/subword.el (subword-mode):
13802 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
13803 * progmodes/which-func.el (which-function-mode):
13804 * term/tvi970.el (tvi970-set-keypad-mode):
13805 * term/vt100.el (vt100-wide-mode):
13806 * textmodes/flyspell.el (flyspell-mode):
13807 * textmodes/ispell.el (ispell-minor-mode):
13808 * textmodes/nroff-mode.el (nroff-electric-mode):
13809 * textmodes/paragraphs.el (use-hard-newlines):
13810 * textmodes/refill.el (refill-mode):
13811 * textmodes/reftex.el (reftex-mode):
13812 * textmodes/rst.el (rst-minor-mode):
13813 * textmodes/sgml-mode.el (html-autoview-mode)
13814 (sgml-electric-tag-pair-mode):
13815 * textmodes/tex-mode.el (latex-electric-env-pair-mode):
13816 * vc/diff-mode.el (diff-auto-refine-mode, diff-minor-mode):
13817 * emulation/crisp.el (crisp-mode):
13818 * emacs-lisp/eldoc.el (eldoc-mode):
13819 * emacs-lisp/checkdoc.el (checkdoc-minor-mode): Doc fixes for new
13820 minor mode behavior.
13821
aa42ab43
JL
138222011-10-19 Juri Linkov <juri@jurta.org>
13823
13824 * descr-text.el (describe-char): Add #x2010 and #x2011 to
13825 the list of hard-coded chars with escape-glyph face.
13826
89400f1d
SM
138272011-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
13828
13829 * vc/log-edit.el (log-edit-empty-buffer-p): Ignore empty headers.
13830
305c07f6
MA
138312011-10-19 Michael Albinus <michael.albinus@gmx.de>
13832
13833 * net/tramp.el (tramp-connectable-p): Make a stronger check on a
13834 running process.
13835
13754b54
GM
138362011-10-19 Glenn Morris <rgm@gnu.org>
13837
13838 * vc/vc-bzr.el (vc-bzr-after-dir-status):
13839 Ignore ignored files. (Bug#9726)
13840
06e21633
CY
138412011-10-19 Chong Yidong <cyd@gnu.org>
13842
13843 Doc fix for minor modes, stating that an omitted argument enables
13844 the mode unconditionally when called from Lisp.
13845
13846 * abbrev.el (abbrev-mode):
13847 * allout.el (allout-mode):
13848 * autoinsert.el (auto-insert-mode):
13849 * autoarg.el (autoarg-mode, autoarg-kp-mode):
13850 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
13851 (global-auto-revert-mode):
13852 * battery.el (display-battery-mode):
13853 * composite.el (global-auto-composition-mode)
13854 (auto-composition-mode):
13855 * delsel.el (delete-selection-mode):
13856 * desktop.el (desktop-save-mode):
13857 * dired-x.el (dired-omit-mode):
13858 * dirtrack.el (dirtrack-mode):
13859 * doc-view.el (doc-view-minor-mode):
13860 * double.el (double-mode):
13861 * electric.el (electric-indent-mode, electric-pair-mode):
13862 * emacs-lock.el (emacs-lock-mode):
13863 * epa-hook.el (auto-encryption-mode):
13864 * follow.el (follow-mode):
13865 * font-core.el (font-lock-mode):
13866 * frame.el (auto-raise-mode, auto-lower-mode, blink-cursor-mode):
13867 * help.el (temp-buffer-resize-mode):
13868 * hilit-chg.el (highlight-changes-mode)
13869 (highlight-changes-visible-mode):
13870 * hi-lock.el (hi-lock-mode):
13871 * hl-line.el (hl-line-mode, global-hl-line-mode):
13872 * icomplete.el (icomplete-mode):
13873 * ido.el (ido-everywhere):
13874 * image-file.el (auto-image-file-mode):
13875 * image-mode.el (image-minor-mode):
13876 * iswitchb.el (iswitchb-mode):
13877 * jka-cmpr-hook.el (auto-compression-mode):
13878 * linum.el (linum-mode):
13879 * longlines.el (longlines-mode):
13880 * master.el (master-mode):
13881 * mb-depth.el (minibuffer-depth-indicate-mode):
13882 * menu-bar.el (menu-bar-mode):
13883 * minibuf-eldef.el (minibuffer-electric-default-mode):
13884 * mouse-sel.el (mouse-sel-mode):
13885 * msb.el (msb-mode):
13886 * mwheel.el (mouse-wheel-mode):
13887 * outline.el (outline-minor-mode):
13888 * paren.el (show-paren-mode):
13889 * recentf.el (recentf-mode):
13890 * reveal.el (reveal-mode, global-reveal-mode):
13891 * rfn-eshadow.el (file-name-shadow-mode):
13892 * ruler-mode.el (ruler-mode):
13893 * savehist.el (savehist-mode):
13894 * scroll-all.el (scroll-all-mode):
13895 * scroll-bar.el (scroll-bar-mode):
13896 * server.el (server-mode):
13897 * shell.el (shell-dirtrack-mode):
13898 * simple.el (auto-fill-mode, transient-mark-mode)
13899 (visual-line-mode, overwrite-mode, binary-overwrite-mode)
13900 (line-number-mode, column-number-mode, size-indication-mode)
13901 (auto-save-mode, normal-erase-is-backspace-mode, visible-mode):
13902 * strokes.el (strokes-mode):
13903 * time.el (display-time-mode):
13904 * t-mouse.el (gpm-mouse-mode):
13905 * tool-bar.el (tool-bar-mode):
13906 * tooltip.el (tooltip-mode):
13907 * type-break.el (type-break-mode-line-message-mode)
13908 (type-break-query-mode):
13909 * view.el (view-mode):
13910 * whitespace.el (whitespace-mode, whitespace-newline-mode)
13911 (global-whitespace-mode, global-whitespace-newline-mode):
13912 * xt-mouse.el (xterm-mouse-mode): Doc fix.
13913
a3839de2
SM
13914 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
13915 Fix autogenerated docstring.
06e21633 13916
5214e501
JL
139172011-10-19 Juri Linkov <juri@jurta.org>
13918
13919 * net/browse-url.el (browse-url-can-use-xdg-open): Support LXDE
13920 by checking environment variables "DESKTOP_SESSION" and
13921 "XDG_CURRENT_DESKTOP". (Bug#9779)
13922
195f8db9
JL
139232011-10-19 Juri Linkov <juri@jurta.org>
13924
13925 * net/browse-url.el (browse-url-browser-function): Add "Chromium".
13926 (browse-url-chromium-program, browse-url-chromium-arguments):
13927 New defcustoms.
13928 (browse-url-default-browser): Check for `browse-url-chromium' and
13929 call `browse-url-chromium-program'.
13930 (browse-url-chromium): New command. (Bug#9779)
13931
343a34ff
JB
139322011-10-18 Juanma Barranquero <lekktu@gmail.com>
13933
13934 * facemenu.el (list-colors-duplicates): On Windows, detect more
13935 duplicates by assuming that only colors matching "^System" are
13936 special "system colors". (Bug#9722)
13937
6978a151
SM
139382011-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
13939
13940 * vc/log-edit.el (log-edit): Add "Author:" header to encourage people
13941 to distinguish the author from the committer.
13942
6a80b297
MA
139432011-10-18 Michael Albinus <michael.albinus@gmx.de>
13944
13945 * net/tramp.el (tramp-file-name-handler): Load Tramp packages silently.
13946
b31a5677
JK
139472011-10-18 Jirka Kosek <jirka@kosek.cz> (tiny change)
13948
13949 * international/mule.el (sgml-html-meta-auto-coding-function):
13950 Add support for detecting encoding in HTML5 specified only as
13951 <meta charset="UTF-8">. Implementation just makes http-equiv and
13952 content-type parts from HTML4 encoding string optional. (Bug#9716)
13953
80c6d77f
GM
139542011-10-18 Glenn Morris <rgm@gnu.org>
13955
13956 * vc/vc.el (vc-initial-comment): Mark as obsolete. (Bug#9745)
13957
08b0fee8
CY
139582011-10-18 Chong Yidong <cyd@gnu.org>
13959
13960 * faces.el (cursor): Doc fix.
13961
67e729a5
CY
139622011-10-17 Chong Yidong <cyd@gnu.org>
13963
13964 * font-lock.el (font-lock-maximum-size): Mark as obsolete.
13965
343a34ff 139662011-10-17 Ryan Barrett <emacs@ryanb.org> (tiny change)
87e478b3
RB
13967
13968 * dirtrack.el (dirtrack): Support shell buffers with path
13969 prefixes, e.g. tramp-based remote shells. (Bug#9647)
13970
0bc06380
TZ
139712011-10-17 Teodor Zlatanov <tzz@lifelogs.com>
13972
13973 * json.el: Bump version to 1.3 and note change in History.
13974 (json-alist-p, json-plist-p): Rewrite to avoid recursion.
13975
8b79f3e0
SM
139762011-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
13977
5a7c536b
SM
13978 * comint.el (comint-insert-input, comint-send-input)
13979 (comint-get-old-input-default, comint-backward-matching-input)
13980 (comint-next-prompt): Use nil instead of `input' for field property of
13981 past user input (bug#114).
13982
96a8a0df
SM
13983 * minibuffer.el (completion--replace): Inherit surrounding properties
13984 (bug#114).
13985 (minibuffer-complete-and-exit): Use it.
13986
8b79f3e0
SM
13987 * comint.el (comint--table-subvert): Quote the all-completions output
13988 (bug#9160).
13989
b8f7ff0d
MR
139902011-10-17 Martin Rudalics <rudalics@gmx.at>
13991
8b79f3e0 13992 * ido.el (ido-default-buffer-method): Remove redundant :type entry.
4e5c3d2b 13993
b8f7ff0d 13994 * menu-bar.el (menu-bar-file-menu): Add entry for making new
d912bdcf 13995 window on right of selected. (Bug#9350) Reword other window
b8f7ff0d
MR
13996 entries and separate them from frame entries.
13997
c235b555
GM
139982011-10-15 Glenn Morris <rgm@gnu.org>
13999
14000 * emacs-lisp/ert.el (ert--explain-equal-rec, ert-select-tests):
14001 Doc fixes.
14002
6bbfa6e1
CY
140032011-10-15 Chong Yidong <cyd@stupidchicken.com>
14004
8b79f3e0
SM
14005 * net/network-stream.el (network-stream-open-starttls):
14006 Improve detection of failure due to lack of TLS support.
ec5c990d 14007
6bbfa6e1
CY
14008 * mail/sendmail.el (sendmail-query-once): Tweak prompt message,
14009 putting the input text in front and in bold.
14010
98488977
SM
140112011-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
14012
3d1337be
SM
14013 * pcmpl-unix.el (pcomplete/ssh): SSH does allow ganging.
14014
ee0b45e4
SM
14015 * mpc.el (mpc-songs-jump-to): Don't burp if the user clicks in an
14016 empty buffer.
14017
98488977
SM
14018 * mouse.el (mouse-drag-mode-line-1): Modify the end-event we pushed on
14019 unread-command-events rather than pushing yet-another event.
14020
186f4720
EZ
140212011-10-14 Eli Zaretskii <eliz@gnu.org>
14022
14023 * mail/sendmail.el (sendmail-query-once): Improve the wording of
14024 the explanation of the possible choices. Make the options passed
14025 to completing-read shorter.
14026
8b7a997c
AM
140272011-10-13 Agustín Martín Domingo <agustin.martin@hispalinux.es>
14028
14029 * textmodes/flyspell.el (flyspell-large-region): Make sure
14030 extended character mode is used if defined (Bug#1339).
14031
12587bbb
EZ
140322011-10-13 Eli Zaretskii <eliz@gnu.org>
14033
14034 * simple.el (what-cursor-position): Fix the display of the
e7e2364b
EZ
14035 character info for LRE, LRO, RLE, and RLO characters by appending
14036 an invisible PDF.
12587bbb 14037
bad41229
SM
140382011-10-13 Stefan Monnier <monnier@iro.umontreal.ca>
14039
14040 * emacs-lisp/timer.el (with-timeout): Make sure we cancel the timer
14041 even in case of error; add debug spec; simplify data flow.
14042 (with-timeout-handler): Remove.
14043
28dbc92f
MA
140442011-10-12 Michael Albinus <michael.albinus@gmx.de>
14045
14046 Fix Bug#6019, Bug#9315.
14047
14048 * files.el (set-auto-mode): Call `file-name-sans-versions' for the
14049 complete `buffer-file-name', the local file name part could look
14050 remotely (for example on VMS).
14051
14052 * net/ange-ftp.el (ange-ftp-run-real-handler): Make it an alias of
14053 `tramp-run-real-handler'.
14054 (ange-ftp-fix-name-for-vms): Handle the case, where `name' is
14055 already quoted by '"'.
14056
14057 * net/tramp.el (tramp-rfn-eshadow-update-overlay): Ignore errors.
14058 Let `file-name-handler-alist' be nil, the local file name part
14059 could look remotely (for example on VMS).
14060
e1b0b23a
SM
140612011-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
14062
14063 * textmodes/flyspell.el (flyspell-word): Move with-local-quit
14064 from here...
14065 (flyspell-post-command-hook): ...to here.
14066
a120bde9
SM
140672011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
14068
14069 * mail/sendmail.el (send-mail-function): Don't use sendmail-query-once
14070 if not needed.
14071 (sendmail-query-once): Remove OS dependencies. Make it a 3-way choice
14072 using completion. Protect against "slow" callers.
14073 Remove the "message hack".
14074
7ce7717b
JL
140752011-10-11 Juri Linkov <juri@jurta.org>
14076
14077 * isearch.el (isearch-lazy-highlight-word): New variable.
14078 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
14079 Use it. (Bug#9727)
14080
c02ee9d6
GM
140812011-10-11 Glenn Morris <rgm@gnu.org>
14082
14083 * progmodes/f90.el (f90-next-statement): Ignore preprocessor lines,
14084 like f90-previous-statement does.
14085
93e616fd 140862011-10-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
14087
1f190e73 14088 * eshell/eshell.el (eshell-command): History should be saved
c02ee9d6
GM
14089 only in interactive use, to avoid error.
14090
af7b6078
SM
140912011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
14092
14093 * minibuffer.el (completion-file-name-table): Fix last change,
14094 i.e. ignore normal errors but not the other ones.
14095
0563dae9
MR
140962011-10-10 Martin Rudalics <rudalics@gmx.at>
14097
14098 * window.el (special-display-buffer-names)
14099 (special-display-regexps): Remove some remnants of earlier
14100 changes from doc-strings.
366ca7f3
MR
14101 (quit-windows-on): New function.
14102
14103 * vc/vc.el (vc-revert, vc-rollback):
14104 * vc/vc-dispatcher.el (vc-finish-logentry): Call quit-windows-on
14105 instead of deleting windows. (Bug#4557) (Bug#5310) (Bug#5556)
9ac13c31 14106 (Bug#6183) (Bug#7074) (Bug#7447)
0563dae9 14107
49677495
MR
141082011-10-09 Martin Rudalics <rudalics@gmx.at>
14109
14110 * window.el (frame-auto-hide-function): Add version tag.
14111 (Bug#9699)
14112
56f2d1e1
MA
141132011-10-09 Michael Albinus <michael.albinus@gmx.de>
14114
14115 * net/tramp.el (tramp-file-name-handler): Add 'debug to the error
14116 condition.
14117
112a6592
LL
141182011-10-09 Leo Liu <sdl.web@gmail.com>
14119
14120 * mail/smtpmail.el (smtpmail-send-data): Add a missing space.
14121 (Bug#9701)
14122
0812589b
GM
141232011-10-08 Glenn Morris <rgm@gnu.org>
14124
14125 * progmodes/f90.el (f90-calculate-indent): Give preprocessor lines
14126 before the first code statement zero indent. (Bug#9690)
14127
b2b0776e
CY
141282011-10-08 Chong Yidong <cyd@stupidchicken.com>
14129
14130 * simple.el (count-words-region): Always count in the region.
14131 Report the number of lines and characters too.
14132 (count-words): New command, which counts in the buffer if the
14133 region is inactive, as count-words-region used to.
14134 (count-words--message): New function. Handle plurals.
14135 (count-lines-region): Make it an alias for count-words-region.
14136
14137 * bindings.el (esc-map): Replace count-lines-region with
14138 count-words-region.
14139
c557cd6b
MR
141402011-10-08 Martin Rudalics <rudalics@gmx.at>
14141
14142 * window.el (window--delete): Delete dedicated frame
14143 unconditionally when argument KILL is non-nil. (Bug#9699)
235ce86f 14144 (switch-to-buffer): Fix doc-string typo.
c557cd6b 14145
61a57ef4 141462011-10-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
14147
3a7d293b 14148 * eshell/eshell.el (eshell-command): Avoid using hooks.
61a57ef4 14149
c3833279
CY
141502011-10-07 Chong Yidong <cyd@stupidchicken.com>
14151
14152 * bindings.el ([M-left],[M-right]): Bind to left-word and
14153 right-word respectively.
14154
21ce8245
GM
141552011-10-07 Glenn Morris <rgm@gnu.org>
14156
14157 * cus-start.el (debug-on-quit): Fix custom type.
14158
6d823bb2
LMI
141592011-10-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
14160
0181e193
LMI
14161 * subr.el (define-key-after): Clarify that the function is not
14162 useful for non-menu keymaps.
14163
6d823bb2
LMI
14164 * progmodes/gdb-mi.el (gdb): Fix typo in doc string.
14165
8e3459ce 141662011-10-06 Thierry Volpiatto <thierry.volpiatto@gmail.com>
14167
21ce8245 14168 * eshell/eshell.el (eshell-command): Enable `eshell-mode' only
8e3459ce 14169 in current minibuffer (Fix bug with recursive minibuffers).
14170
a1c2d21e
CY
141712011-10-06 Chong Yidong <cyd@stupidchicken.com>
14172
14173 * progmodes/gdb-mi.el (gdb): Doc fix.
14174
5a4cf282
MR
141752011-10-05 Martin Rudalics <rudalics@gmx.at>
14176
14177 * window.el (frame-auto-hide-function): New option replacing
14178 frame-auto-delete. Suggested by Stefan Monnier.
14179 (window--delete): Call frame-auto-hide-function instead of
14180 investigating frame-auto-delete.
c96111ea
MR
14181 (window-point-1, set-window-point-1): New functions.
14182 (window-in-direction, record-window-buffer, window-state-get-1)
14183 (display-buffer-record-window): Use window-point-1 instead of
14184 window-point.
14185 (set-window-buffer-start-and-point): Use set-window-point-1.
5a4cf282 14186
9854542e
SM
141872011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
14188
14189 * emacs-lisp/edebug.el: Heed checkdoc recommendations.
14190
8943cfb0
GM
141912011-10-05 Glenn Morris <rgm@gnu.org>
14192
14193 * progmodes/perl-mode.el (perl-electric-terminator): Doc fix.
14194 (perl-calculate-indent): Suppress scan errors. (Bug#2205)
14195
647ab967
LL
141962011-10-05 Leo Liu <sdl.web@gmail.com>
14197
14198 * subr.el (read-char-choice): Fix argument to buffer-live-p which
14199 works with buffer object.
14200
3ddfbced
SM
142012011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
14202
14203 * mpc.el (mpc-tool-bar-map): Add labels.
14204
bdfa5dd2
GM
142052011-10-04 Glenn Morris <rgm@gnu.org>
14206
14207 * calendar/holidays.el (calendar-check-holidays): Doc fix.
14208
0e2070b5
MR
142092011-10-04 Martin Rudalics <rudalics@gmx.at>
14210
14211 * window.el (window--delete): New function.
14212 (frame-auto-delete): Resuscitate option.
14213 (bury-buffer, replace-buffer-in-windows)
14214 (quit-window): Rewrite using window--delete.
14215 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
14216 Pass display-buffer-mark-dedicated to window--display-buffer-2
14217 (Bug#9639).
14218
3dc61a09
SM
142192011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
14220
915a9b64
SM
14221 * pcmpl-unix.el (pcomplete/scp): Don't assume pcomplete-all-entries
14222 returns a list (bug#9554). Add remote file name completion.
14223 * comint.el (comint--table-subvert): Curry and get quote&unquote
14224 functions as arguments.
14225 (comint--complete-file-name-data): Adjust call accordingly.
14226 * pcomplete.el (pcomplete--table-subvert): Remove.
14227 (pcomplete-completions-at-point): Use comint--table-subvert instead.
14228
3dc61a09
SM
14229 * minibuffer.el (completion-table-case-fold): Use currying.
14230 (completion--styles-type, completion--cycling-threshold-type):
14231 New constants.
14232 (completion-styles, completion-category-overrides)
14233 (completion-cycle-threshold): Use them.
14234 * pcomplete.el (pcomplete-completions-at-point): Adjust call to
14235 completion-table-case-fold.
14236
8ea0a993
SB
142372011-10-03 Stephen Berman <stephen.berman@gmx.net>
14238
14239 * minibuffer.el (completion-category-overrides): Fix type of styles
14240 and add more user friendly tags (bug#9660).
14241
8c24b7f6
SM
142422011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
14243
14244 * international/mule-cmds.el: Fix abuses of apply-partially (bug#9661).
14245 (mule-input-method-string): New widget.
14246 (default-input-method, language-info-custom-alist): Use it.
14247
428fe61a
SM
142482011-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
14249
32c1fffd
SM
14250 * pcomplete.el: Require comint.
14251 (pcomplete--common-suffix): Remove.
14252 (pcomplete--common-quoted-suffix): Use comint--common-suffix instead.
14253 (pcomplete--table-subvert): Sync with comint--table-subvert.
14254 (pcomplete--entries): Use comint-completion-file-name-table.
14255 * comint.el (comint-unquote-filename): Simplify.
14256 (comint-completion-file-name-table): New function (bug#9616).
14257 (comint--complete-file-name-data): Use it.
14258
428fe61a
SM
14259 * pcmpl-gnu.el (pcmpl-gnu-with-file-buffer): New macro (bug#9643).
14260 (pcmpl-gnu-tar-buffer): Remove.
14261 (pcmpl-gnu-with-file-buffer): Use it to avoid leaving the tar's buffer
9aaf2b9c
GM
14262 around. Make sure pcomplete-suffix-list is only changed temporarily.
14263 Don't look inside the tar's file if it's too large.
428fe61a 14264
04c52e2f
CY
142652011-10-01 Chong Yidong <cyd@stupidchicken.com>
14266
ce3cefcc
CY
14267 * cus-edit.el (custom-mode-map):
14268 * epa.el (epa-key-list-mode-map):
14269 * man.el (Man-mode-map):
14270 * startup.el (splash-screen-keymap):
14271 * simple.el (special-mode-map): Use scroll-up-command and
14272 scroll-down-command.
14273
14274 * progmodes/idlw-help.el (idlwave-help-mode-map):
14275 * progmodes/ebrowse.el (ebrowse-electric-position-mode-map):
14276 * net/newst-plainview.el (newsticker-mode-map):
14277 * emulation/ws-mode.el (wordstar-mode-map):
14278 * emulation/vi.el (vi-com-map):
14279 * calc/calc-graph.el (calc-graph-show-dumb):
14280 * term/sun.el (terminal-init-sun):
14281 * term/ns-win.el (global-map):
14282 * progmodes/grep.el (grep-mode-map):
14283 * progmodes/ebrowse.el (ebrowse-electric-list-mode-map):
14284 * mail/rmail.el (rmail-mode-map):
14285 * progmodes/cpp.el (cpp-edit-mode-map): Likewise.
14286
04c52e2f
CY
14287 * custom.el (custom-safe-themes, load-theme): Treat value of t for
14288 custom-safe-themes as special.
14289
79adf8c8
JD
142902011-10-01 Julien Danjou <julien@danjou.info>
14291
14292 * notifications.el (notifications-notify): Fix docstring.
14293
63bd50d3
PS
142942011-10-01 Per Starbäck <per@starback.se>
14295
14296 * pcmpl-gnu.el (pcomplete/tar): Fix tar-header-name call. (Bug#9643)
14297
199e4c7e
MR
142982011-09-30 Martin Rudalics <rudalics@gmx.at>
14299
14300 * startup.el (command-line-1): Fix last fix by inserting
14301 initial-scratch-message into *scratch* before displaying it.
cbc5ee22 14302 (Bug#9605) and (Bug#9636)
199e4c7e 14303
fe5f08dd
EZ
143042011-09-29 Eli Zaretskii <eliz@gnu.org>
14305
14306 * simple.el (line-move): If auto-hscroll-mode is disabled and the
14307 window is hscrolled, move by logical lines. (Bug#9607)
14308 (line-move-visual): Update the doc string to the above effect.
14309
b5516bbd
MR
143102011-09-29 Martin Rudalics <rudalics@gmx.at>
14311
ccee00c0
MR
14312 * window.el (display-buffer-record-window): When WINDOW is the
14313 selected window use `point' instead of `window-point'. (Bug#9626)
14314
b5516bbd
MR
14315 * startup.el (command-line-1): Use insert-before-markers when
14316 inserting initial-scratch-message. (Bug#9605)
ccee00c0 14317
b5516bbd
MR
14318 * help.el (help-window): Remove variable.
14319
52aa0014
GM
143202011-09-29 Glenn Morris <rgm@gnu.org>
14321
14322 * pcmpl-cvs.el (pcomplete/cvs): Add "status" handler.
14323
df9a7357
JB
143242011-09-29 Juanma Barranquero <lekktu@gmail.com>
14325
14326 * descr-text.el (describe-char-categories): Accept category
14327 descriptions more than one line long.
14328
a8406c20
SM
143292011-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
14330
88d9610c
SM
14331 * simple.el (delete-trailing-whitespace): Fix last change.
14332
a5daf810
SM
14333 * progmodes/perl-mode.el (perl-syntax-propertize-function):
14334 Don't confuse "y => 3" as the beginning of a `y' operation.
14335
a8406c20
SM
14336 * emacs-lisp/debug.el (debug-convert-byte-code): Don't assume the
14337 object has more than 4 slots (bug#9613).
14338
a239d4e9
JB
143392011-09-28 Juanma Barranquero <lekktu@gmail.com>
14340
14341 * subr.el (with-output-to-temp-buffer):
14342 * net/quickurl.el (quickurl, quickurl-browse-url):
14343 Fix typos in docstrings.
14344
693fbdb6
EZ
143452011-09-27 Eli Zaretskii <eliz@gnu.org>
14346
14347 * minibuffer.el (completion-styles)
14348 (completion-category-overrides): Cross reference each other in doc
14349 strings.
14350
8b457e28
GM
143512011-09-27 Glenn Morris <rgm@gnu.org>
14352
14353 * pcmpl-cvs.el (pcmpl-cvs-entries): Update for Emacs 22.1 changes
14354 to split-string. (Bug#9606)
14355
85a16208
LMI
143562011-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
14357
14358 * mail/smtpmail.el (smtpmail-via-smtp): Fix STARTTLS detection
14359 (bug#9615).
14360
502f9ebd
CY
143612011-09-27 Chong Yidong <cyd@stupidchicken.com>
14362
14363 * emacs-lisp/package.el (list-packages): Fix echo area message.
14364
7690bdea
LL
143652011-09-27 Leo Liu <sdl.web@gmail.com>
14366
14367 * ido.el (ido-read-internal): Accept cons cell HIST arg.
14368
e2ee6f30
MA
143692011-09-25 Michael Albinus <michael.albinus@gmx.de>
14370
14371 * net/dbus.el (dbus-unregister-object): Don't release services for
14372 registered signals. (Bug#9581)
14373
f3f98342
TZ
143742011-09-25 Teodor Zlatanov <tzz@lifelogs.com>
14375
14376 * progmodes/cfengine.el (cfengine-auto-mode): Add convenience
14377 function that picks between cfengine 2 and 3 support
14378 automatically. Update docs accordingly.
14379
dd7aa8dd
KH
143802011-09-22 Kenichi Handa <handa@m17n.org>
14381
14382 * language/ind-util.el (indian-tml-base-table): Add TAMIL DIGIT
14383 ZERO.
14384 (indian-itrans-v5-table-for-tamil): New variable.
14385 (indian-tml-itrans-v5-hash): Use the above variable (Bug#9336).
14386
3f2b07f8
KM
143872011-09-22 Ken Manheimer <ken.manheimer@gmail.com>
14388
14389 * allout.el (allout-this-command-hid-stuff): Buffer-local variable
14390 that's true if the current command involved collapsing of text.
14391 It's reset to false at the beginning of the next command.
14392 (allout-post-command-business): Move the cursor to the beginning
14393 of entry if the cursor is hidden and collapsing activity just
14394 happened.
14395
371d6a61
CY
143962011-09-24 Chong Yidong <cyd@stupidchicken.com>
14397
14398 * mouse.el (mouse-drag-track): Set scroll-margin to 0 while
14399 tracking (Bug#9541).
14400
2ac2721a
UJ
144012011-09-24 Ulf Jasper <ulf.jasper@web.de>
14402
14403 * net/newst-reader.el (newsticker-html-renderer)
1154d12e
JB
14404 (newsticker-show-news): Automatically load html rendering package
14405 if newsticker-html-renderer is set. Fixes "Warning: defvar ignored
14406 because w3m-fill-column is let-bound" and the error "Symbol's value
14407 as variable is void: w3m-fill-column".
2ac2721a 14408
fac7ae53
MA
144092011-09-24 Michael Albinus <michael.albinus@gmx.de>
14410
14411 * net/dbus.el (dbus-unregister-object): Remove match rule of signals.
14412 Release services only if they are defined. (Bug#9581)
14413
e08b633b
RS
144142011-09-23 Richard Stallman <rms@gnu.org>
14415
e488d29c
RS
14416 * textmodes/paragraphs.el (forward-sentence): For backwards case,
14417 distinguish start of paragraph from start of its text.
14418
19c38752
RS
14419 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs): Autoload.
14420
e08b633b
RS
14421 * mail/rmail.el (rmail-view-buffer-kill-buffer-hook): New function.
14422 (rmail-generate-viewer-buffer): Put that hook on view buffer.
14423 (rmail-mode-kill-buffer-hook): Override that hook, to kill view buffer.
14424
0a39f27e
AS
144252011-09-23 Andreas Schwab <schwab@linux-m68k.org>
14426
14427 * international/mule-diag.el (mule-diag): Insert a newline after
14428 each fontset description.
14429
db4e950d
SM
144302011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
14431
14432 * simple.el (delete-trailing-whitespace):
14433 Document last change; simplify.
14434
eca3f3ea
PW
144352011-09-23 Peter J. Weisberg <pj@irregularexpressions.net>
14436
d68e189a
PW
14437 * simple.el (delete-trailing-whitespace): Also delete
14438 extra newlines at the end of the buffer.
14439
eca3f3ea
PW
14440 * textmodes/picture.el: Make motion commands obey shift-select-mode.
14441 (picture-newline): Use forward-line so as to ignore fields.
14442
01c157cc
SM
144432011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
14444
14445 * subr.el (with-wrapper-hook): Fix edebug spec.
14446
022de23e
LMI
144472011-09-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
14448
14449 * simple.el (kill-line): Note effect of `show-trailing-whitespace'
14450 (bug#4538).
14451
91683089
MA
144522011-09-23 Michael Albinus <michael.albinus@gmx.de>
14453
eca3f3ea
PW
14454 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
14455 Fix nasty bug using wrong cached values.
91683089 14456
5bdd6fa4
AM
144572011-09-23 Alan Mackenzie <acm@muc.de>
14458
14459 * progmodes/cc-defs.el (c-version): Increase to 5.31.9.
14460
97adfb97
CY
144612011-09-23 Chong Yidong <cyd@stupidchicken.com>
14462
14463 * window.el (pop-to-buffer): Ensure right window is selected if we
14464 chose another frame.
14465
d4ef2b50
EZ
144662011-09-22 Eli Zaretskii <eliz@gnu.org>
14467
14468 * simple.el (what-cursor-position): Use get-char-property-change
14469 and next-single-char-property-change, to be able to show display
14470 properties that come from overlays as well as text properties.
14471
72258fe5
CY
144722011-09-22 Chong Yidong <cyd@stupidchicken.com>
14473
14474 * window.el (pop-to-buffer-same-window): New (reinstated) fun.
14475
14476 * cmuscheme.el (run-scheme, switch-to-scheme):
14477 * cus-edit.el (customize-group, custom-buffer-create)
14478 (customize-browse):
14479 * info.el (info):
14480 * shell.el (shell):
14481 * mail/sendmail.el (mail):
14482 * progmodes/inf-lisp.el (inferior-lisp): Use it (Bug#9532).
14483
8f098516
RS
144842011-09-22 Richard Stallman <rms@gnu.org>
14485
14486 * textmodes/paragraphs.el (forward-sentence): When setting PAR-BEG,
14487 move back only to line beg, don't move back over blank lines.
14488
e74f1bb6
MA
144892011-09-22 Michael Albinus <michael.albinus@gmx.de>
14490
14491 * files.el (copy-directory): Set directory attributes only in case
14492 they could be retrieved from the source directory. (Bug#9565)
14493
bfeef8b6
DK
144942011-09-22 Dima Kogan <dkogan@secretsauce.net> (tiny change)
14495
14496 * progmodes/hideshow.el (hs-looking-at-block-start-p)
14497 (hs-find-block-beginning, hs-hide-level-recursive):
14498 Ignore strings as well as comments. (Bug#9502)
14499
7e423bb8
AS
145002011-09-22 Andrew Schein <andrew@andrewschein.com> (tiny change)
14501
14502 * progmodes/sql.el (sql-comint-postgres):
14503 Convert port number to a string. (Bug#9566)
14504
b4d72fcf
MR
145052011-09-22 Martin Rudalics <rudalics@gmx.at>
14506
14507 * window.el (quit-window): Undedicate window when switching to
14508 previous buffer. Reported by Thierry Volpiatto
14509 <thierry.volpiatto@gmail.com>.
7f80c86d
MR
14510 (special-display-popup-frame): When popping up a new frame reset
14511 its previous buffers to nil. Simplify code.
b4d72fcf 14512
a7b88dc6
MA
145132011-09-21 Michael Albinus <michael.albinus@gmx.de>
14514
14515 * net/tramp.el (tramp-handle-shell-command): Set process sentinel
14516 and process filter, as done also in `shell-command'.
14517
cf4eacfd
MR
145182011-09-21 Martin Rudalics <rudalics@gmx.at>
14519
eca3f3ea 14520 * window.el (set-window-buffer-start-and-point):
1154d12e
JB
14521 Call set-window-start with NOFORCE argument t.
14522 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
cf4eacfd
MR
14523 (quit-window): Reword doc-string. Handle new format of
14524 quit-restore parameter. Don't delete window if it has a
14525 previous buffer we can show instead of the present one.
14526 (display-buffer-record-window): Rewrite using a new format for
14527 the quit-restore window parameter
14528 (special-display-popup-frame, display-buffer-same-window)
14529 (display-buffer-reuse-window, display-buffer-pop-up-frame)
14530 (display-buffer-pop-up-window, display-buffer-use-some-window):
14531 Adapt symbol passed to display-buffer-record-window.
14532 * help.el (help-window-setup): Handle new format of quit-restore
14533 parameter.
14534
8d28cb95
SM
145352011-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
14536
94ab793f
SM
14537 * faces.el (face-list): Fix docstring (bug#9564).
14538
8d28cb95
SM
14539 * window.el (display-buffer--action-function-custom-type):
14540 Don't include internal functions in the Custom interface.
14541
3820edeb
JL
145422011-09-20 Juri Linkov <juri@jurta.org>
14543
14544 * info.el (Info-history-skip-intermediate-nodes): New defcustom.
14545 (Info-forward-node, Info-backward-node, Info-next-preorder)
14546 (Info-last-preorder): Use it. (Bug#9528)
14547
5147931d
JL
145482011-09-20 Juri Linkov <juri@jurta.org>
14549
14550 * info.el (Info-last-preorder): Visit last menu item only when
14551 `Info-scroll-prefer-subnodes' is non-nil (third test-case of bug#9528).
14552
cf499a1a
JD
145532011-09-20 Julien Danjou <julien@danjou.info>
14554
14555 * password-cache.el (password-cache-remove): Remove entries even if the
14556 value is nil, so that password with a nil value (negative caching) is
14557 possible to invalidate.
14558
f84e2fe2
LM
145592011-09-20 Lawrence Mitchell <wence@gmx.li>
14560
14561 * progmodes/f90.el (f90-break-line): If breaking inside comment delete
14562 all whitespace around breakpoint. (Bug#9553)
14563 (f90-find-breakpoint): Only break at whitespace inside a comment.
14564
78054a46
SM
145652011-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
14566
14567 * minibuffer.el (completion-file-name-table): Keep track of errors.
14568 (completion-table-with-predicate): Handle the case where pred1 is nil.
14569 * pcomplete.el (pcomplete-completions-at-point): Simplify.
14570
345083b2
SM
145712011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
14572
e24e27be
SM
14573 * emacs-lisp/debug.el (debugger-args): Give it a docstring.
14574 (debugger-return-value): Signal an error if the debugging context does
14575 not await any return value.
14576
345083b2
SM
14577 * ps-mule.el (ps-mule-plot-string): Don't inf-loop (bug#5108).
14578 * image-mode.el (image-toggle-display-text)
14579 (image-toggle-display-image): Stay away from evil `intangible'.
14580
08d355e3
LL
145812011-09-19 Leo Liu <sdl.web@gmail.com>
14582
14583 * replace.el (occur-revert-arguments): Make it permanent-local.
14584 (occur-mode): Don't call font-lock-defontify.
14585
f01da43f
CY
145862011-09-19 Chong Yidong <cyd@stupidchicken.com>
14587
14588 * net/ldap.el (ldap-search-internal): Don't push empty search
14589 result (Bug#9508).
14590
b6072fa6
SM
145912011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
14592
14593 * whitespace.el (whitespace-newline-mode): Disable it right (bug#9550).
14594
443d6696
MA
145952011-09-19 Michael Albinus <michael.albinus@gmx.de>
14596
14597 * net/tramp-sh.el (tramp-inline-compress-commands): Add "xz".
14598 Suggested by Liam Stitt <stittl@cuug.ab.ca>.
14599
7cc6e154
JL
146002011-09-18 Juri Linkov <juri@jurta.org>
14601
14602 * buff-menu.el (Buffer-menu-mode-map):
14603 * dired.el (dired-mode-map):
14604 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map)
14605 (lisp-interaction-mode-map):
14606 * emacs-lisp/package.el (package-menu-mode-map):
14607 * epa.el (epa-key-list-mode-map):
14608 * menu-bar.el (menu-bar-showhide-tool-bar-menu)
14609 (menu-bar-options-menu):
14610 * outline.el (outline-mode-menu-bar-map):
14611 * vc/vc-bzr.el (vc-bzr-shelve-menu-map, vc-bzr-extra-menu-map):
14612 * vc/vc-dir.el (vc-dir-menu-map):
14613 * vc/vc-git.el (vc-git-stash-menu-map, vc-git-extra-menu-map):
14614 Capitalize non-function content words in menu item strings.
14615
14616 * dired.el (dired-mode-map): Add menu item for
14617 `image-dired-dired-toggle-marked-thumbs'.
14618
80302a81
JL
146192011-09-18 Juri Linkov <juri@jurta.org>
14620
14621 * isearch.el (isearch-edit-string): Bind `isearch-new-case-fold'
14622 to `isearch-case-fold-search' and restore its original value
14623 after the `isearch-mode' call.
14624
46c5cf66
JL
146252011-09-18 Juri Linkov <juri@jurta.org>
14626
14627 * progmodes/grep.el (grep-process-setup): Don't check code for 1
14628 because `zgrep' returns 1 for successful matches (bug#9226).
14629
d18b513b
JL
146302011-09-18 Juri Linkov <juri@jurta.org>
14631
14632 * info.el (Info-extract-menu-node-name): Check the second match
14633 for empty string (second test-case of bug#9528).
14634 (Info-last-preorder): Let-bind `Info-history' to nil to not add
14635 intermediate nodes to the history (first test-case of bug#9528).
14636
72753f87
JL
146372011-09-18 Juri Linkov <juri@jurta.org>
14638
14639 * info.el (Info-mode-syntax-table): New variable.
1154d12e 14640 (Info-mode): Set `:syntax-table' to `Info-mode-syntax-table' (bug#3312).
72753f87 14641
c9384295
JL
146422011-09-18 Juri Linkov <juri@jurta.org>
14643
1154d12e
JB
14644 * info.el (Info-file-supports-index-cookies):
14645 Increment line-beginning-position's arg from 3 to 4 because makeinfo
14646 outputs one more line for long file names (bug#4142).
c9384295 14647
d473dce8
CY
146482011-09-18 Chong Yidong <cyd@stupidchicken.com>
14649
14650 * newcomment.el (comment-normalize-vars): If prompting for
14651 comment-start, set comment-start-skip too (Bug#8424).
14652
2176854d
JB
146532011-09-18 Johan Bockgård <bojohan@gnu.org>
14654
14655 * icomplete.el: Fix previous fix of Bug#5849.
14656 (icomplete-mode): Don't set completion-show-inline-help.
14657 (icomplete-minibuffer-setup): Set completion-show-inline-help
14658 locally during icompletion.
14659
3aace4e4
CY
146602011-09-18 Chong Yidong <cyd@stupidchicken.com>
14661
c940224f
CY
14662 * woman.el (woman2-process-escapes): Don't delete unrecognized
14663 escapes (Bug#7843).
14664
3aace4e4
CY
14665 * files.el (inhibit-first-line-modes-regexps): Add image files.
14666 (hack-local-variables-prop-line): Return nil for malformed
14667 prop-lines (Bug#9044).
14668
710dec63
MA
146692011-09-18 Michael Albinus <michael.albinus@gmx.de>
14670
14671 * net/tramp.el (top): Don't require 'shell.
14672 (tramp-methods): Fix docstring.
14673 (tramp-get-remote-tmpdir): New defun, moved from tramp-sh.el.
8d28cb95
SM
14674 Return complete remote file name. Handle "smb" case.
14675 Use `tramp-tmpdir', if defined for the respective method.
710dec63
MA
14676 (tramp-make-tramp-temp-file): Adapt call of `tramp-get-remote-tmpdir'.
14677
14678 * net/tramp-compat.el (top): Require 'shell.
14679
14680 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
14681 (tramp-maybe-open-connection): Use `tramp-file-name-real-host' for
14682 `tramp-current-host'.
14683 (tramp-get-remote-tmpdir): Remove.
14684
14685 * net/tramp-smb.el (tramp-methods): Add `tramp-remote-shell' and
14686 `tramp-tmpdir' entries.
14687 (tramp-smb-errors): Add "NT_STATUS_IMAGE_ALREADY_LOADED".
14688 (tramp-smb-handle-file-attributes): Ignore errors.
14689 (tramp-smb-wait-for-output): Check also for process end.
14690
5d5ac8ec
LMI
146912011-09-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
14692
14693 * mail/smtpmail.el (smtpmail-via-smtp): Ignore errors that arise
14694 when sending QUIT (bug#9312).
14695
8c0f49f0
CY
146962011-09-17 Chong Yidong <cyd@stupidchicken.com>
14697
14698 * replace.el (occur-mode-map): Rebind occur-edit-mode to "e" (Bug#8463).
14699 (occur-edit-mode-map): Bind C-c C-c to occur-cease-edit and C-o to
14700 occur-mode-display-occurrence.
14701 (occur-edit-mode): Add usage message.
14702 (occur-cease-edit): New command.
14703 (occur-after-change-function): Use text properties to find the
14704 position of the prefix text.
14705 (occur-engine): Set stickiness of prefix text properties.
14706
8f1383f7
GM
147072011-09-17 Glenn Morris <rgm@gnu.org>
14708
14709 * progmodes/etags.el (complete-tag):
14710 Fix call to completion-in-region. (Bug#9526)
14711
744ba0e3
JL
147122011-09-17 Juri Linkov <juri@jurta.org>
14713
14714 * textmodes/ispell.el (ispell-word): Add to the error message
14715 the word, ispell program name and current dictionary (bug#9121).
14716 (ispell-tex-arg-end): Capitalize "error" in the error message.
14717
d9bbf400
AS
147182011-09-17 Andreas Schwab <schwab@linux-m68k.org>
14719
14720 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix overflow
14721 check. (Bug#4251)
14722
8da11505
JL
147232011-09-17 Juri Linkov <juri@jurta.org>
14724
14725 * window.el (window-safe-min-height, window-safe-min-width):
14726 Fix typos (followup to bug#9522).
14727
a91adc7e
SJ
147282011-09-17 Sven Joachim <svenjoac@gmx.de>
14729
14730 * window.el (window-min-width, window-state-put): Fix typos (bug#9522).
14731
064f328a
EZ
147322011-09-16 Eli Zaretskii <eliz@gnu.org>
14733
14734 * simple.el (line-move): If goal-column is set, move by logical
14735 lines, not by display lines. (Bug#971)
14736 (next-line, previous-line, goal-column, line-move-visual): Doc fix
14737 to reflect the above change.
14738
e69df516
SM
147392011-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
14740
14741 * image.el (imagemagick-register-types): Use regexp-opt.
14742
cbb0f9ab
CY
147432011-09-15 Chong Yidong <cyd@stupidchicken.com>
14744
14745 * window.el (display-buffer-base-action): Rename from
14746 display-buffer-default-action. Make default value empty.
14747 (display-buffer-overriding-action): Convert to defvar.
14748 (display-buffer-fallback-action): New var.
14749
25322144
CY
147502011-09-15 Chong Yidong <cyd@stupidchicken.com>
14751
14752 * emacs-lisp/package.el (package-alist): Fix risky-local-variable
14753 declaration.
14754 (package--add-to-archive-contents): If there is a duplicate entry
14755 with an older version, remove it.
14756 (package-menu-mark-delete, package-menu-mark-install)
14757 (package-menu-mark-unmark): Make unused args optional.
e69df516
SM
14758 (package-menu-mark-obsolete-for-deletion):
14759 Use package-menu-get-status instead of a regexp search.
25322144
CY
14760 (package-menu-get-status): Use tabulated-list-entry.
14761 (package-menu-mark-upgrades): New command.
d770725a 14762 (package-menu-mode-map): Bind it to U. Add it to menu bar.
25322144
CY
14763 (package-menu-execute): Do installation before deletion.
14764 (package-menu-refresh, package-menu-execute): Use derived-mode-p
14765 instead of checking major-mode.
14766 (package-menu--find-upgrades): New function.
14767
7520339c
LMI
147682011-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
14769
14770 * mail/smtpmail.el (smtpmail-send-command): Don't include AUTH
14771 passwords in the log buffer.
65a046c4
LMI
14772 (smtpmail-process-filter): Update the process marker so that the
14773 "broken by peer" status message is inserted in the right place.
7520339c 14774
d3c30954
SM
147752011-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
14776
3fe48822
SM
14777 * textmodes/bibtex.el (bibtex-complete-string-cleanup)
14778 (bibtex-complete-crossref-cleanup): Adjust to accommodate needs of
14779 bibtex-completion-at-point-function.
14780 (bibtex-completion-at-point-function): Use them.
14781
1b8b3954
SM
14782 * newcomment.el (comment-add, comment-valid-prefix-p): Docfix.
14783
d3c30954
SM
14784 * mpc.el (mpc-constraints-tag-lookup): New function.
14785 (mpc-constraints-restore): Use it to make jumping to "album=Foo" apply
14786 also to browser "album|playlist".
14787
72779976
JL
147882011-09-14 Juri Linkov <juri@jurta.org>
14789
14790 * isearch.el (isearch-fail-pos): Add new arg `msg'. Doc fix.
14791 (isearch-edit-string): Use length of `isearch-string' when
14792 `isearch-fail-pos' returns nil.
14793 (isearch-message): Remove duplicate code and call
14794 `isearch-fail-pos' with arg `t'.
14795
a0bf2bcd
CY
147962011-09-14 Chong Yidong <cyd@stupidchicken.com>
14797
17bb0a2d
CY
14798 * replace.el (occur-mode-goto-occurrence): Don't force using other
14799 window (Bug#9499).
14800
a0bf2bcd
CY
14801 * dired-aux.el (dired-do-chmod): Don't provide initial input.
14802
f678e0b6
MR
148032011-09-14 Martin Rudalics <rudalics@gmx.at>
14804
14805 * window.el (display-buffer-window): Remove.
14806 (display-buffer-record-window): Use help-setup window parameter
14807 instead of variable display-buffer-window.
14808 (display-buffer-function, special-display-buffer-names)
14809 (special-display-function): Mention help-setup parameter instead
14810 of display-buffer-window in doc-string.
d3c30954
SM
14811 * help.el (help-window-setup): New argument help-window.
14812 Use help-window-setup parameter instead of display-buffer-window.
f678e0b6
MR
14813 Reword some messages.
14814 (with-help-window): Pass window used for displaying the buffer
14815 to help-window-setup. Don't set display-buffer-window.
14816
8e39b2e8
GM
148172011-09-13 Glenn Morris <rgm@gnu.org>
14818
14819 * emacs-lisp/debug.el (debugger-make-xrefs):
14820 Preserve point. (Bug#9462)
14821
85e9c04b
CY
148222011-09-13 Chong Yidong <cyd@stupidchicken.com>
14823
14824 * window.el (window-deletable-p): Use next-frame.
14825
1b36ed6a
MR
148262011-09-13 Martin Rudalics <rudalics@gmx.at>
14827
14828 * window.el (window-auto-delete): Remove.
14829 (window-deletable-p): Remove argument FORCE. Don't deal with
e4769531 14830 dedication and previous buffers.
1b36ed6a
MR
14831 (switch-to-prev-buffer): Don't delete window.
14832 (delete-windows-on): Delete a window's frame if and only if the
14833 window is dedicated.
14834 (replace-buffer-in-windows): Delete buffer's window or frame if
14835 and only if window is dedicated.
14836 (quit-window): Handle quit-restore as before last change.
4d61f28d 14837 (bury-buffer): Delete window only if window-deletable-p returns t.
1b36ed6a 14838
ef8ef9fb
CY
148392011-09-13 Chong Yidong <cyd@stupidchicken.com>
14840
14841 * window.el (window-deletable-p): Never delete the last frame on a
14842 given terminal.
14843
b2cba41e
GM
148442011-09-13 Glenn Morris <rgm@gnu.org>
14845
14846 * help.el (describe-key-briefly): Copy previous standard-output change.
14847
51553db6 148482011-09-13 PJ Weisberg <pj@irregularexpressions.net>
e3ce671f
PW
14849
14850 * help.el (where-is): Respect non-standard standard-output. (Bug#9030)
14851
b7556719
GM
148522011-09-13 Glenn Morris <rgm@gnu.org>
14853
14854 * emacs-lisp/lisp-mode.el (lisp-indent-function):
14855 * progmodes/scheme.el (scheme-indent-function): Doc fixes.
14856
64b51947
CY
148572011-09-12 Chong Yidong <cyd@stupidchicken.com>
14858
14859 * dired-aux.el (dired-mark-read-string): Don't return default
14860 value on empty input (Bug#9361).
14861 (dired-do-chxxx): Treat empty input for "touch" as no -t option.
14862 Omit initial minibuffer contents.
14863 (dired-do-chmod): Signal an error on empty input.
14864 (dired-mark-read-string): Don't return default on empty input.
14865
14866 * files.el (file-modes-symbolic-to-number): Doc fix.
14867
393a301e
SM
148682011-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
14869
14870 * international/mule-cmds.el (ucs-completions): Remove.
14871 (read-char-by-name): Use complete-with-action instead; add metadata.
14872
fa5660f9
CY
148732011-09-11 Chong Yidong <cyd@stupidchicken.com>
14874
14875 * window.el (display-buffer--action-function-custom-type)
14876 (display-buffer--action-custom-type): New vars.
14877 (display-buffer-alist, display-buffer-default-action)
14878 (display-buffer-overriding-action): Add defcustom types.
14879
4a592f66
CY
14880 * frame.el (delete-other-frames): Doc fix (Bug#276).
14881
73d56dbd
LMI
148822011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
14883
14884 * play/doctor.el (make-doctor-variables): Define `doctor-sent'.
14885
37ac18a3
CY
148862011-09-11 Chong Yidong <cyd@stupidchicken.com>
14887
14888 Change modes that used same-window-* vars to use switch-to-buffer.
14889
14890 * progmodes/gdb-mi.el (gdb-restore-windows, gdb-setup-windows):
14891 Use switch-to-buffer.
14892
14893 * cus-edit.el (customize-group, custom-buffer-create)
393a301e
SM
14894 (customize-browse, custom-buffer-create-other-window):
14895 Use switch-to-buffer or switch-to-buffer-other-window.
37ac18a3
CY
14896
14897 * info.el (info, Info-find-node, Info-revert-find-node, Info-next)
14898 (Info-prev, Info-up, Info-speedbar-goto-node)
14899 (info-display-manual): Use switch-to-buffer.
14900 (Info-speedbar-goto-node): Use switch-to-buffer-other-frame.
14901
14902 * mail/sendmail.el (mail): Use switch-to-buffer.
14903 (mail-recover): Use switch-to-buffer-other-window.
14904
14905 * cmuscheme.el (run-scheme, switch-to-scheme):
14906 * ielm.el (ielm):
14907 * shell.el (shell):
14908 * net/rlogin.el (rlogin):
14909 * net/telnet.el (telnet, rsh):
14910 * progmodes/inf-lisp.el (inferior-lisp): Use switch-to-buffer.
14911
10195bd6
AS
149122011-09-11 Andreas Schwab <schwab@linux-m68k.org>
14913
14914 * dired.el (dired-sort-toggle-or-edit): Revert last changes.
14915
b322f63a
LMI
149162011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
14917
39d7fed6
LMI
14918 * dired.el (dired-sort-toggle-or-edit): -o doesn't exist on *BSD,
14919 so don't mention it (bug#9301).
ba5a81f1 14920 (dired-sort-toggle-or-edit): Clarify string further.
39d7fed6 14921
ee0e9f11
LMI
14922 * faces.el (face-spec-set-match-display): Make `(type graphic)'
14923 match `x', `w32' and `ns', like the manual says (bug#9029).
14924
0b1c89c1 14925 * subr.el (eval-after-load): Doc string clarification (bug#9125).
da9fcb93
LMI
14926 (process-kill-buffer-query-function): Mention the buffer name in
14927 the query.
0b1c89c1 14928
77549ea8
LMI
14929 * image-mode.el (image-next-line): The line parameter is mandatory
14930 (bug#9258).
14931
803ef892
LMI
14932 * dired.el (dired-sort-toggle-or-edit): Mention -o and -g, too,
14933 which can be useful (bug#9301).
14934
12980837
LMI
14935 * textmodes/flyspell.el: Remove obsolete comment (bug#9368).
14936
91054f8f
LMI
14937 * subr.el (match-string): Mention that the current buffer should
14938 be the same as the search was done in (bug#9282).
14939
b322f63a
LMI
14940 * facemenu.el: Disable the remove-* commands if the mark isn't
14941 active (bug#9162).
14942
3199b96f
CY
149432011-09-10 Chong Yidong <cyd@stupidchicken.com>
14944
14945 * buff-menu.el (Buffer-menu-switch-other-window): Use second arg
14946 of display-buffer.
14947 (Buffer-menu-2-window): Use switch-to-buffer-other-window.
14948
14949 * replace.el (occur-mode-goto-occurrence)
14950 (occur-mode-display-occurrence) Use second arg of pop-to-buffer
14951 and display-buffer.
14952
14953 * mail/reporter.el (reporter-submit-bug-report): Use second arg of
14954 display-buffer.
14955
14956 * mail/sendmail.el (sendmail-user-agent-compose): Don't bind the
14957 special-display and same-window variables.
14958 (mail-other-window): Use switch-to-buffer-other-window.
14959 (mail-other-frame): USe switch-to-buffer-other-frame.
14960
393a301e
SM
14961 * progmodes/gdb-mi.el (gdb-frame-gdb-buffer):
14962 Use display-buffer-other-frame.
3199b96f
CY
14963 (gdb-display-gdb-buffer): Use pop-to-buffer.
14964
14965 * progmodes/gud.el (gud-goto-info): Use info-other-window.
14966
14967 * progmodes/python.el: Don't set same-window-buffer-names.
14968
14969 * textmodes/bibtex.el (bibtex-search-entry): Use switch-to-buffer.
14970
14971 * window.el (display-buffer-alist): Add *Python*.
14972
8319e0bf
CY
149732011-09-10 Chong Yidong <cyd@stupidchicken.com>
14974
14975 * window.el (display-buffer-alist): Add entry for buffers
14976 previously handled same-window-*.
14977 (display-buffer-alist, display-buffer-default-action)
14978 (display-buffer-overriding-action): Mark as risky.
14979 (display-buffer-alist): Document action function changes.
14980 (display-buffer--same-window-action)
14981 (display-buffer--other-frame-action): New variables.
14982 (switch-to-buffer, display-buffer-other-frame): Use them.
14983 (display-buffer): Rename reuse-frame entry to reusable-frames.
14984 (display-buffer-reuse-selected-window): Function deleted.
14985 (display-buffer-reuse-window): Handle reusable-frames alist entry.
14986 If it's omitted, check pop-up-frames/display-buffer-reuse-frames.
14987 (display-buffer-special): New function.
14988 (display-buffer--maybe-pop-up-frame-or-window): Rename from
14989 display-buffer-reuse-or-pop-window. Split off special-display
14990 part into display-buffer-special.
14991 (display-buffer-use-some-window): Don't perform any special
14992 pop-up-frames handling.
14993 (pop-to-buffer): Use window-normalize-buffer-to-switch-to.
393a301e 14994 (display-buffer--maybe-same-window): Rename from
0d3ff375 14995 display-buffer-maybe-same-window.
8319e0bf 14996
919a69aa
CY
14997 * info.el: Don't set same-window-regexps.
14998 (info-setup): New function.
14999 (info-other-window, info): Call it.
15000
15001 * cus-edit.el: Don't set same-window-regexps.
15002 (customize-group): New argument.
15003 (customize-group-other-window): Use it.
15004 (customize-face, customize-face-other-window): Likewise.
15005 (custom-buffer-create-other-window): Use pop-to-buffer directly.
15006
8319e0bf
CY
15007 * net/rlogin.el:
15008 * net/telnet.el:
15009 * progmodes/gud.el: Don't set same-window-regexps.
15010
15011 * cmuscheme.el:
15012 * ielm.el:
15013 * shell.el:
15014 * mail/sendmail.el:
15015 * progmodes/inf-lisp.el: Don't set same-window-buffer-names.
15016
25173000
JL
150172011-09-10 Juri Linkov <juri@jurta.org>
15018
15019 * isearch.el (isearch-edit-string): Remove obsolete mention of
15020 `C-w' (`isearch-yank-word-or-char') from docstring.
15021 (isearch-query-replace): Fix typo in docstring (bug#9466).
15022
056e44ef
JL
150232011-09-10 Juri Linkov <juri@jurta.org>
15024
15025 * paren.el (show-paren-function): Don't show escaped parens.
15026 Let-bind `unescaped' to `t' when paren is not escaped. (Bug#9461)
15027
c3760c17
EZ
150282011-09-10 Eli Zaretskii <eliz@gnu.org>
15029
15030 * mail/sendmail.el (mml-to-mime, mml-attach-file)
15031 (mm-default-file-encoding): Remove autoload forms, they are
15032 replaced with autoload cookies in mml.el and mm-encode.el.
15033 (mail-add-attachment): New command.
15034 (mail-mode-map): Add a menu-bar item for mail-add-attachment.
15035 (mail-mode): Mention mail-insert-file and mail-add-attachment in
15036 the doc string.
15037 (mml-to-mime, mml-attach-file, mm-default-file-encoding): Declare.
15038
fece895e
RT
150392011-09-10 Reuben Thomas <rrt@sc3d.org>
15040
e69df516
SM
15041 * simple.el (count-words-region): Use buffer if there's no region
15042 (bug#9429).
fece895e 15043
5e68ce4a
JL
150442011-09-09 Juri Linkov <juri@jurta.org>
15045
15046 * wdired.el (wdired-change-to-wdired-mode): Set buffer-local
15047 `isearch-filter-predicate' to `wdired-isearch-filter-read-only'.
15048 (wdired-isearch-filter-read-only): New function. (Bug#6362)
15049
0a6b9622
AM
150502011-09-09 Alan Mackenzie <acm@muc.de>
15051
15052 * progmodes/cc-mode.el (awk-mode): Prevent `define-derived-mode'
15053 spuriously generating `awk-mode-syntax-table'. (Bug #9448).
15054
14a29deb
EZ
150552011-09-09 Eli Zaretskii <eliz@gnu.org>
15056
15057 Fix for Savannah bug#9392.
15058 * simple.el (mail-encode-mml): New defvar.
15059
15060 * mail/rmail.el (mail-encode-mml): Add a defvar.
15061 (rmail-enable-mime-composing): Default to t.
15062 (rmail-forward): Use MIME method of forwarding only if both
15063 rmail-enable-mime-composing and rmail-enable-mime are non-nil.
15064 Set mail-encode-mml non-nil if the MIME method was used.
15065
15066 * mail/sendmail.el (mml-to-mime): Add autoload form.
15067 (mail-encode-mml): Add a defvar.
15068 (mail-mode): Make mail-encode-mml buffer-local and initialize it
15069 to nil.
15070 (mail-send): If mail-encode-mml is non-nil, run the outgoing
15071 message through mml-to-mime, and reset mail-encode-mml to nil.
15072
28c45130
GM
150732011-09-09 Glenn Morris <rgm@gnu.org>
15074
15075 * woman.el (woman-if-body): When processing an .el block,
15076 do not delete the next .el block as well. (Bug#9447)
69f4b618 15077 (woman-special-characters): Add oq, cq, and hy characters.
28c45130 15078
9b1c252e
MR
150792011-09-08 Martin Rudalics <rudalics@gmx.at>
15080
15081 * window.el (window-deletable-p): Make sure window is live before
15082 invoking window-prev-buffers.
15083
567457e3
LL
150842011-09-08 Leo Liu <sdl.web@gmail.com>
15085
15086 * net/rcirc.el (rcirc-cmd-invite): New rcirc command. (Bug#9453)
15087
97f05794
JL
150882011-09-08 Juri Linkov <juri@jurta.org>
15089
15090 * progmodes/compile.el (compilation-environment): Make it
15091 a defcustom (bug#8340).
15092
8b0874b5
MR
150932011-09-08 Martin Rudalics <rudalics@gmx.at>
15094
15095 * window.el (frame-auto-delete): Rename to window-auto-delete.
15096 Make it control auto-deletion of windows and/or frames.
15097 (window-deletable-p): New argument FORCE. Rewrite conditions
5e617bc2 15098 for deleting window/frame. (Bug#9419)
8b0874b5
MR
15099 (switch-to-prev-buffer, replace-buffer-in-windows, quit-window):
15100 Rewrite handling of case when window/frame can be deleted.
15101 (delete-windows-on): Call window-deletable-p with new FORCE
5e617bc2 15102 argument t. (Bug#9456)
8b0874b5 15103
4feb6e73
CY
151042011-09-07 Chong Yidong <cyd@stupidchicken.com>
15105
15106 * help-mode.el (help-mode): Restore autoload.
15107
91ab9c13
JL
151082011-09-07 Juri Linkov <juri@jurta.org>
15109
15110 * progmodes/compile.el (compilation-start): Let-bind `thisenv' to
15111 `compilation-environment'. Set buffer-local
15112 `compilation-environment' to `thisenv' later after (funcall mode).
15113 (Bug#8340)
15114
15115 * vc/vc-git.el (vc-git-grep): Remove --no-color. (Bug#9408)
15116 (vc-git-grep): Prepend "PAGER=" to `compilation-environment'
15117 instead of replacing its value. (Bug#8340)
15118
0527e251
JL
151192011-09-07 Juri Linkov <juri@jurta.org>
15120
15121 * progmodes/grep.el (grep-regexp-alist): Calculate column positions
15122 based on text properties put by `grep-filter' instead of matching
15123 escape sequences.
15124 (grep-mode): Set buffer-local `compilation-error-screen-columns'
15125 to the value of `grep-error-screen-columns' (bug#9438).
15126
249f792c
JL
151272011-09-07 Juri Linkov <juri@jurta.org>
15128
15129 * simple.el (next-error-highlight, next-error-highlight-no-select):
15130 Doc fix (bug#9432).
15131
ff7271b9
OT
151322011-09-07 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
15133
15134 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
15135 Check for null c-opt-block-decls-with-vars-key. (Bug#9443)
15136
183fc730
LL
151372011-09-07 Leo Liu <sdl.web@gmail.com>
15138
15139 * net/rcirc.el (rcirc-mode): Conditionally initialize
15140 rcirc-input-ring.
15141
77694924
SM
151422011-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
15143
15144 * emacs-lisp/find-func.el (find-function-C-source): Only set
15145 find-function-C-source-directory after checking that we found a source
15146 file there (bug#9440).
15147
d809b8eb
AM
151482011-09-06 Alan Mackenzie <acm@muc.de>
15149
15150 * isearch.el (isearch-other-meta-char): Wherever a key list is
15151 unread, "unread" the prefix arg, too. This fixes bug #8901.
15152
453de99f
OG
151532011-09-05 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
15154
15155 * progmodes/grep.el (rgrep): Add "-type d" (bug#9414).
15156
90439906
JL
151572011-09-05 Juri Linkov <juri@jurta.org>
15158
15159 * progmodes/grep.el (grep-process-setup): Fix comments (bug#8084).
15160
f62bd846
JL
151612011-09-05 Juri Linkov <juri@jurta.org>
15162
15163 * progmodes/grep.el (grep-filter): Avoid incomplete processing by
15164 keeping point where processing of grep matches begins, and
15165 continue to delete remaining escape sequences from the same point.
15166 (grep-filter): Make leading zero optional in "0?1;31m" because
15167 git-grep emits "\033[1;31m" escape sequences unlike expected
15168 "\033[01;31m" as GNU Grep does (bug#9408).
15169 (grep-process-setup): Replace obsolete "ml=" with newer "sl=".
15170
045820ec
JL
151712011-09-05 Juri Linkov <juri@jurta.org>
15172
15173 * subr.el (y-or-n-p): Capitalize "yes".
15174
f5e29b9b
MA
151752011-09-04 Michael Albinus <michael.albinus@gmx.de>
15176
15177 * net/tramp.el (top): Require 'shell. Use `tramp-unload-hook' but
15178 `tramp-cache-unload-hook' where appropriate.
15179 (tramp-methods): Rename `tramp-remote-sh' to
15180 `tramp-remote-shell'. Add `tramp-remote-shell-args'.
15181 (tramp-handle-shell-command): New defun, moved from tramp-sh.el.
15182
15183 * net/tramp-sh.el (top): Don't require 'shell.
15184 (tramp-methods): Add `tramp-remote-shell' and
15185 `tramp-remote-shell-args' entries.
15186 (tramp-sh-file-name-handler-alist): Use `tramp-handle-shell-command'.
15187 (tramp-sh-handle-shell-command): Remove.
15188 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
15189 Use `tramp-remote-shell'.
15190
2784c434
CY
151912011-09-03 Chong Yidong <cyd@stupidchicken.com>
15192
393a301e 15193 * mail/sendmail.el (sendmail-query-once-function): Delete.
2784c434
CY
15194 (sendmail-query-once): Save directly to send-mail-function.
15195 Update message-send-mail-function too.
15196
15197 * mail/smtpmail.el (smtpmail-try-auth-methods): Clarify prompt.
15198
464cdf56
CS
151992011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
15200
15201 * progmodes/python.el (python-mode-map): Use correct function to
15202 start python interpreter from menu-bar (as reported by Geert
15203 Kloosterman).
15204 (inferior-python-mode-map): Fix typo.
393a301e 15205 (python-shell-map): Remove.
464cdf56 15206
d37e5c87
DD
152072011-09-03 Deniz Dogan <deniz@dogan.se>
15208
15209 * net/rcirc.el (rcirc-print): Simplify code for
15210 rcirc-scroll-show-maximum-output. There is no need to walk
15211 through all windows to find the right one.
15212
f3ada0ee
CS
152132011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
15214
15215 * help.el (help-return-method): Doc fix.
15216
1f3c99ca
MR
152172011-09-03 Martin Rudalics <rudalics@gmx.at>
15218
15219 * window.el (window-deletable-p): Don't return a non-nil value
15220 when there's a buffer that was shown in the window before.
15221 (Bug#9419)
393a301e
SM
15222 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
15223 Set window's previous buffers to nil.
1f3c99ca 15224
a3cf097f
EZ
152252011-09-03 Eli Zaretskii <eliz@gnu.org>
15226
15227 * mail/rmailmm.el (rmail-mime-insert-tagline): Insert an extra
15228 newline before and after the tag line, so it doesn't interfere
15229 with determining the paragraph direction of bidirectional text.
15230
3d03de90
LL
152312011-09-03 Leo Liu <sdl.web@gmail.com>
15232
15233 * files.el (find-file-not-true-dirname-list): Remove. (Bug#9422)
15234
c3313451
CY
152352011-09-02 Chong Yidong <cyd@stupidchicken.com>
15236
393a301e 15237 * window.el (pop-to-buffer-1, pop-to-buffer-same-window): Delete.
c3313451
CY
15238 (pop-to-buffer): Change interactive spec. Pass second argument
15239 directly to display-buffer.
15240 (display-buffer): Fix interactive spec. Use functionp to
15241 distinguish between a function and a list of functions.
15242
15243 * abbrev.el (edit-abbrevs):
15244 * arc-mode.el (archive-extract):
15245 * autoinsert.el (auto-insert):
15246 * bookmark.el (bookmark-bmenu-list):
15247 * files.el (find-file):
15248 * view.el (view-buffer):
15249 * progmodes/compile.el (compilation-goto-locus):
15250 * textmodes/bibtex.el (bibtex-initialize): Use switch-to-buffer.
15251
89894cd8
CY
152522011-09-02 Chong Yidong <cyd@stupidchicken.com>
15253
15254 * window.el (display-buffer-alist): Doc fix.
15255 (display-buffer): Add docstring. Don't treat
15256 display-buffer-default specially.
15257 (display-buffer-reuse-selected-window)
15258 (display-buffer-same-window, display-buffer-maybe-same-window)
15259 (display-buffer-reuse-window, display-buffer-pop-up-frame)
15260 (display-buffer-pop-up-window)
15261 (display-buffer-reuse-or-pop-window)
15262 (display-buffer-use-some-window): New functions.
15263 (display-buffer-default-action): Use them.
393a301e 15264 (display-buffer-default): Delete.
89894cd8
CY
15265 (pop-to-buffer-1): Fix choice of actions.
15266
ae0bc9fb
SM
152672011-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
15268
15269 * minibuffer.el (completion--insert-strings): Don't get confused by
15270 completion entries that end with an LF char.
15271
e9d90883
EZ
152722011-09-01 Eli Zaretskii <eliz@gnu.org>
15273
15274 * window.el (frame-auto-delete, window-deletable-p): Doc fix.
15275
437014c8
CY
152762011-09-01 Chong Yidong <cyd@stupidchicken.com>
15277
15278 * window.el (display-buffer): Restore interactive spec.
ae0bc9fb
SM
15279 (display-buffer-same-window, display-buffer-other-window):
15280 New functions.
437014c8
CY
15281 (pop-to-buffer-1): New function. Use the above.
15282 (pop-to-buffer, pop-to-buffer-same-window): Use it.
ae0bc9fb 15283 (pop-to-buffer-other-window, pop-to-buffer-other-frame): Delete.
437014c8
CY
15284
15285 * view.el (view-buffer-other-window, view-buffer-other-frame):
15286 Just use pop-to-buffer.
15287
a5e063d5
TV
152882011-09-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
15289
15290 * vc/vc-rcs.el (vc-rcs-responsible-p): Handle directories. (Bug#9391)
15291
793d32bb
WH
152922011-09-01 Wilfred Hughes <wilfred@potatolondon.com> (tiny change)
15293
15294 * vc/vc-git.el (vc-git-grep): Use --no-color. (Bug#9408)
15295
d65e4c15
RS
152962011-08-31 Richard Stallman <rms@gnu.org>
15297
15298 * mail/rmail.el (rmail-epa-decrypt): Rewrite to take account
15299 of the separation of rmail-view-buffer from rmail-buffer.
15300 If you say no to "replace original", the decrypt is in the
15301 view buffer. If you say yes, the decrypt goes into the
15302 rmail buffer also.
15303
f818cd2a
MR
153042011-08-31 Martin Rudalics <rudalics@gmx.at>
15305
15306 * window.el (display-buffer-window): Rewrite doc-string.
15307 (display-buffer-record-window): New function.
15308 (display-buffer-macro-specifiers)
15309 (display-buffer-even-window-sizes, display-buffer-set-height)
15310 (display-buffer-set-width, display-buffer-in-window)
15311 (display-buffer-reuse-window, display-buffer-split-specifiers)
15312 (display-buffer-side-specifiers, display-buffer-split-window-1)
15313 (display-buffer-split-window, display-buffer-split-atom-window)
15314 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
15315 (display-buffer-pop-up-side-window, display-buffer-in-side-window)
15316 (display-buffer-other-window-means-other-frame)
15317 (display-buffer-normalize-special)
15318 (display-buffer-normalize-default)
15319 (display-buffer-normalize-argument)
15320 (display-buffer-normalize-alist-1, display-buffer-normalize-alist)
15321 (display-buffer-normalize-specifiers, display-buffer-frame)
15322 (display-buffer-same-window, display-buffer-same-frame)
15323 (display-buffer-other-window)
15324 (display-buffer-same-frame-other-window)
15325 (display-buffer-other-frame, pop-to-buffer-same-window)
15326 (pop-to-buffer-same-frame, pop-to-buffer-other-window)
15327 (pop-to-buffer-same-frame-other-window, pop-to-buffer-other-frame)
15328 (switch-to-buffer-same-frame)
15329 (switch-to-buffer-other-window-same-frame)
15330 (display-buffer-alist-of-strings-p, display-buffer-alist-add)
15331 (display-buffer-alist-set-1, display-buffer-alist-set-2)
15332 (display-buffer-alist-set): Remove.
15333 (display-buffer-function, special-display-buffer-names)
ae0bc9fb
SM
15334 (special-display-regexps, special-display-function):
15335 In doc-string refer to display-buffer-window and quit-restore
f818cd2a
MR
15336 parameter.
15337 (pop-up-frame-alist, pop-up-frame-function, special-display-p)
15338 (special-display-frame-alist, special-display-popup-frame)
15339 (same-window-buffer-names, same-window-regexps, same-window-p)
15340 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
15341 (split-window-preferred-function, split-height-threshold)
15342 (split-width-threshold, window-splittable-p)
15343 (split-window-sensibly, window--try-to-split-window)
15344 (window--frame-usable-p, even-window-heights)
15345 (window--even-window-heights, window--display-buffer-1)
ae0bc9fb
SM
15346 (window--display-buffer-2, display-buffer-other-frame):
15347 Restore old Emacs 23 code, order and doc-strings where applicable.
f818cd2a
MR
15348 (display-buffer-default, display-buffer-assq-regexp): New functions.
15349 (display-buffer-alist): Rewrite doc-string.
15350 (display-buffer-default-action)
15351 (display-buffer-overriding-action): New variables.
15352 (display-buffer, switch-to-buffer): Rewrite.
15353 (pop-to-buffer): Restore Emacs 23 behavior but use
15354 window-normalize-buffer-to-display.
15355 (switch-to-buffer-other-window, switch-to-buffer-other-frame):
15356 Restore Emacs 23 behavior but use
15357 window-normalize-buffer-to-switch-to.
15358 (pop-to-buffer-same-window): Rewrite.
ae0bc9fb
SM
15359 (pop-to-buffer-other-window, pop-to-buffer-other-frame):
15360 Rewrite using Emacs 23 options.
f818cd2a 15361
5bc3b51d
MA
153622011-08-31 Michael Albinus <michael.albinus@gmx.de>
15363
15364 * net/tramp.el (tramp-root-regexp): Remove.
15365 (tramp-completion-file-name-regexp-unified)
15366 (tramp-completion-file-name-regexp-separate)
15367 (tramp-completion-file-name-regexp-url): Don't use leading volume
b46a6a83 15368 letter on w32 systems. (Bug#5303, Bug#9311)
ae0bc9fb
SM
15369 (tramp-drop-volume-letter): Simplify definition.
15370 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
5bc3b51d 15371
b1a4f8e1
SM
153722011-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
15373
15374 * subr.el (event-modifiers): Fix "missing modifier" part of docstring
15375 (bug#9356).
15376
5664fa7b
RT
153772011-08-30 Reuben Thomas <rrt@sc3d.org> (tiny change)
15378
b1a4f8e1 15379 * vc/pcvs-defs.el (cvs-find-file-and-jump): Docstring typo (bug#9369).
5664fa7b 15380
9a45d6c3
JL
153812011-08-29 Juri Linkov <juri@jurta.org>
15382
15383 * isearch.el (isearch-done): Don't display message "Mark saved"
15384 when arg `edit' is non-nil to prevent its flicker in the echo area.
15385
fb87e0fb
CY
153862011-08-28 Chong Yidong <cyd@stupidchicken.com>
15387
15388 * emacs-lisp/package.el (package-menu-mark-delete): Allow marking
15389 obsolete packages for deletion.
15390
09ac1c2a
CS
153912011-08-28 Christoph Scholtes <cschol2112@googlemail.com>
15392
15393 * help-mode.el (help-mode-map): Add special-mode-map to parent.
5e617bc2 15394 (help-mode): Derive help-mode from special-mode. Don't invoke
09ac1c2a
CS
15395 view-mode from help-mode.
15396 (help-xref-override-view-map): Remove.
15397 (help-make-xrefs): Remove minor-mode-overriding-map-alist since
15398 view-mode is not used anymore.
15399
7a1ff57f
CY
154002011-08-28 Chong Yidong <cyd@stupidchicken.com>
15401
15402 * server.el (server-port): Doc fix.
15403
b9696605
CY
15404 * cus-theme.el (custom-theme-choose-mode): Inherit from
15405 special-mode (Bug#9124).
15406 (custom-theme-choose-mode-map): Add special-mode to parent.
15407
ef8cdf8c
AM
154082011-08-28 Alan Mackenzie <acm@muc.de>
15409
15410 * progmodes/cc-fonts.el
15411 (c-make-font-lock-BO-decl-search-function): New function.
15412 (c-basic-matchers-after - "Fontify the clauses after various
15413 keywords"): Extract the three keyword lists for the 3 erroneous
15414 constructs from the list of four, and use the new function above
15415 in place of an old one.
15416
27de4e20
DD
154172011-08-28 Deniz Dogan <deniz@dogan.se>
15418
15419 * net/rcirc.el (rcirc-insert-prev-input)
15420 (rcirc-insert-next-input): Remove unused argument.
15421
356a3681
SM
154222011-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
15423
15424 * shell.el (shell-parse-pcomplete-arguments): Unquote args (bug#9160).
15425
3fc9b218
AM
154262011-08-27 Alan Mackenzie <acm@muc.de>
15427
15428 * progmodes/cc-menus.el (cc-imenu-c++-generic-expression): Make it
15429 handle function pointer parameters properly.
15430
538a061c
MR
154312011-08-27 Martin Rudalics <rudalics@gmx.at>
15432
15433 * window.el (display-buffer-reuse-window): Fix case where
15434 selected window was reused with non-nil OTHER-WINDOW argument.
15435 (Bug#9381)
15436
35b1c40c
DD
154372011-08-27 Deniz Dogan <deniz@dogan.se>
15438
15439 * net/rcirc.el (rcirc-check-auth-status): Adding support for
15440 oftc's NickServ messages.
15441
2f6a3e79
GM
154422011-08-27 Glenn Morris <rgm@gnu.org>
15443
15444 * saveplace.el (save-place-limit): Make it finite. (Bug#9352)
15445
7254299e
CY
154462011-08-26 Chong Yidong <cyd@stupidchicken.com>
15447
15448 * emacs-lisp/package.el (package-install): Call package-initialize
15449 if called interactively.
15450
f8ccf167
LL
154512011-08-26 Leo Liu <sdl.web@gmail.com>
15452
15453 * emacs-lisp/cl-macs.el (defstruct): Fix format. (Bug#9357)
15454
3e8cd5ce
JL
154552011-08-25 Juri Linkov <juri@jurta.org>
15456
15457 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
15458 `search-whitespace-regexp' (bug#9364).
15459
93eb7113
JL
154602011-08-25 Juri Linkov <juri@jurta.org>
15461
15462 * isearch.el (isearch-edit-string): Let-bind `search-ring' and
15463 `regexp-search-ring' to their global values to protect from
15464 updating by `read-from-minibuffer' (bug#9185).
15465
f65d1611
JL
154662011-08-25 Juri Linkov <juri@jurta.org>
15467
15468 * textmodes/ispell.el (ispell-command-loop): Add newline
15469 at the end of the "Use option `i'..." line.
15470
f1cf7a31
JL
154712011-08-25 Juri Linkov <juri@jurta.org>
15472
15473 * battery.el (display-battery-mode): If `battery-status-function'
15474 or `battery-mode-line-format' is nil, display the message and set
15475 `display-battery-mode' to nil (bug#9363).
15476
0c95fcf7
EZ
154772011-08-25 Eli Zaretskii <eliz@gnu.org>
15478
15479 * buff-menu.el (Buffer-menu-buffer+size): Remove calls to
15480 bidi-string-mark-left-to-right; they are unnecessary now.
15481
a2ebe600
DD
154822011-08-25 Deniz Dogan <deniz@dogan.se>
15483
15484 * net/quickurl.el: Documentation typo fixes.
15485
e4ed06f1
CY
154862011-08-25 Chong Yidong <cyd@stupidchicken.com>
15487
15488 * window.el (bury-buffer, quit-window): Use bury-buffer-internal.
15489
e5f1c99e
GM
154902011-08-25 Glenn Morris <rgm@gnu.org>
15491
b2948976
GM
15492 * emacs-lisp/derived.el (define-derived-mode): Doc fix.
15493
e5f1c99e
GM
15494 * mail/smtpmail.el (smtpmail-smtp-user): Add version: tag.
15495 (smtpmail-via-smtp): Handle nil response from smtp.
15496
f22f4808
JL
154972011-08-24 Juri Linkov <juri@jurta.org>
15498
15499 * proced.el (proced-marked): Inherit from `error' instead of
15500 `font-lock-warning-face'.
15501
15502 * ibuffer.el (ibuffer-marked-face): Change default face from
15503 `font-lock-warning-face' to `warning'.
15504 (ibuffer-deletion-face): Change default face from
15505 `font-lock-type-face' to `error'.
15506
15507 * battery.el (battery-update): Use the face `error' instead of
15508 `font-lock-warning-face' (bug#6117).
15509
6a93965e
JL
155102011-08-24 Juri Linkov <juri@jurta.org>
15511
15512 * faces.el (success): Change face color from "Green3" to
15513 "ForestGreen" on light background (bug#9353).
15514
1ed43b09
CY
155152011-08-24 Chong Yidong <cyd@stupidchicken.com>
15516
5664fa7b
RT
15517 * window.el (quit-window): Rename from quit-restore-window.
15518 Use same arglist as old quit-window.
1ed43b09
CY
15519 (frame-auto-delete): Doc fix.
15520
15521 * view.el (view-mode-exit): Use quit-window.
15522
11dcdbb2
JL
155232011-08-24 Juri Linkov <juri@jurta.org>
15524
15525 * isearch.el (isearch-ring-adjust1): Start visiting previous
15526 search strings from the index 0 (-1 + 1) instead of 1 (0 + 1).
15527 (isearch-repeat, isearch-edit-string): Call `isearch-ring-adjust1'
15528 for empty search string (when the last search string is reused
15529 automatically) to adjust the isearch ring to the last element and
15530 prepare the correct index for further M-p commands (bug#9185).
15531
de62b4df
KH
155322011-08-24 Kenichi Handa <handa@m17n.org>
15533
15534 * international/ucs-normalize.el: If decomposition property of
15535 CHAR is the default one (i.e. a list of CHAR itself), treat it as
15536 nil.
15537 (nfd, nfkd): Likewise.
15538
963b492b
SM
155392011-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
15540
15541 * mpc.el (mpc--proc-filter): Don't signal mpc-proc-error since signals
15542 from process filters aren't reliably transmitted to the surrounding
15543 accept-process-output.
15544 (mpc-proc-check): New function.
15545 (mpc-proc-sync): Use it (bug#8293)
15546
93b6b5e1
SM
155472011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
15548
15549 * emacs-lisp/eieio.el (eieio-defmethod, eieio-defgeneric):
15550 Add compatibility functions (bug#9313).
15551
bca633fb
EZ
155522011-08-23 Eli Zaretskii <eliz@gnu.org>
15553
b177498a
EZ
15554 * cus-start.el (all): Add entry for bidi-paragraph-direction.
15555
6df6ae42 15556 * international/uni-bidi.el: Regenerate.
bca633fb 15557
0902a04e
KH
155582011-08-23 Kenichi Handa <handa@m17n.org>
15559
15560 * international/charprop.el:
15561 * international/uni-bidi.el:
15562 * international/uni-category.el:
15563 * international/uni-combining.el:
15564 * international/uni-comment.el:
15565 * international/uni-decimal.el:
15566 * international/uni-decomposition.el:
15567 * international/uni-digit.el:
15568 * international/uni-lowercase.el:
15569 * international/uni-mirrored.el:
15570 * international/uni-name.el:
15571 * international/uni-numeric.el:
15572 * international/uni-old-name.el:
15573 * international/uni-titlecase.el:
15574 * international/uni-uppercase.el: Regenerate.
15575
3bbf23bc
MR
155762011-08-23 Martin Rudalics <rudalics@gmx.at>
15577
15578 * help.el (help-window-setup): Fix message displayed when other
15579 window is reused. (Bug#9341)
15580
b3fd59bd
SM
155812011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
15582
1802e444
SM
15583 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list.
15584 * pcomplete.el (pcomplete-quote-argument): Fix thinko (bug#9161).
15585
b3fd59bd
SM
15586 * pcomplete.el (pcomplete-parse-comint-arguments): Fix inf-loop.
15587 Mark obsolete.
15588 * shell.el (shell-parse-pcomplete-arguments): New function.
15589 (shell-completion-vars): Use it instead (bug#9160).
15590
4eb61348
SM
155912011-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
15592
867cab74
SM
15593 * progmodes/sh-script.el (sh-maybe-here-document): Disable magic in
15594 strings and comments (bug#9333).
15595
4eb61348
SM
15596 * emacs-lisp/debug.el (debug-arglist): New function.
15597 (debug-convert-byte-code): Use it. Handle lexical byte-codes.
15598 (debug-on-entry-1): Handle interpreted closures (bug#9120).
15599
262a1439
JL
156002011-08-22 Juri Linkov <juri@jurta.org>
15601
56ee679c
JL
15602 * progmodes/compile.el (compilation-mode-font-lock-keywords):
15603 Revert regexp that highlights output switches to its old
15604 pre-2010-10-28 value and remove one `?' from it (bug#9319).
15605
262a1439
JL
15606 * progmodes/grep.el (grep-process-setup): Use `buffer-modified-p'
15607 to check for empty output (bug#9226).
15608
f13f86fb
CY
156092011-08-22 Chong Yidong <cyd@stupidchicken.com>
15610
15611 * progmodes/scheme.el (scheme-mode-syntax-table): Don't use
15612 symbol-constituent as the default, as that stops font-lock from
15613 working properly (Bug#8843).
15614
c65c9622
LMI
156152011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
15616
15617 * mail/smtpmail.el (smtpmail-via-smtp): Only bind
15618 `coding-system-for-*' around the process open call to avoid
15619 auth-source side effects.
e7f2c178 15620 (smtpmail-try-auth-methods): Expand the secret password.
7185da52
LMI
15621 (smtpmail-query-smtp-server): Allow `quit'-ing out in case the
15622 probe hangs.
c65c9622 15623
23a8a5ab
CY
156242011-08-21 Chong Yidong <cyd@stupidchicken.com>
15625
ff98b2dd
CY
15626 * term.el (term-mouse-paste): Yank primary selection (Bug#6845).
15627
23a8a5ab
CY
15628 * emacs-lisp/find-func.el (find-function-noselect): New arg
15629 lisp-only.
15630
15631 * emacs-lisp/edebug.el (edebug-instrument-function): Use it to
15632 signal an error for built-in functions (Bug#6664).
15633
f5e3c598
LMI
156342011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
15635
15636 * mail/smtpmail.el (smtpmail-smtp-user): New variable.
15637 (smtpmail-try-auth-methods): Use it.
15638
a3f2468a
CY
156392011-08-21 Chong Yidong <cyd@stupidchicken.com>
15640
2c34e8da
CY
15641 * font-lock.el (font-lock-fontify-region)
15642 (font-lock-unfontify-region, font-lock-default-fontify-buffer)
15643 (font-lock-default-unfontify-buffer)
15644 (font-lock-default-fontify-region)
15645 (font-lock-default-unfontify-region): Add docstrings (Bug#8624).
15646
b3fd59bd
SM
15647 * progmodes/compile.el (compilation-error-properties):
15648 Fix confusion between file struct and message struct (Bug#9319).
02e5c89e
CY
15649 (compilation-error-regexp-alist-alist): Fix 2011-05-09 change to
15650 `ant' regexp.
ee31aabc 15651
a3f2468a
CY
15652 * net/browse-url.el (browse-url-firefox): Don't call
15653 browse-url-firefox-sentinel unless using -remote (Bug#9328).
15654
8e999f70
GM
156552011-08-20 Glenn Morris <rgm@gnu.org>
15656
c21a496a
GM
15657 * tutorial.el (help-with-tutorial): Avoid an error on short screens.
15658
59ee0542
GM
15659 * tutorial.el (tutorial--default-keys): Update some default bindings.
15660
8e999f70
GM
15661 * files.el (hack-local-variables): Fully ignore case for "mode:".
15662
e3715033
AM
156632011-08-20 Alan Mackenzie <acm@muc.de>
15664
15665 Resolve invalid use of a regexp in regexp-opt.
15666
4d61f28d
JB
15667 * progmodes/cc-fonts.el (c-complex-decl-matchers): Add in special
15668 detection for a java annotation.
e3715033 15669
4d61f28d 15670 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Add in special
e3715033
AM
15671 detection for a java annotation.
15672
4d61f28d
JB
15673 * progmodes/cc-langs.el (c-prefix-spec-kwds-re): Remove the special
15674 handling for java.
e3715033
AM
15675 (c-modifier-kwds): Remove the regexp "@[A-za-z0-9]+".
15676
04ed2e9c
CY
156772011-08-20 Chong Yidong <cyd@stupidchicken.com>
15678
15679 * startup.el (normal-top-level-add-subdirs-to-load-path): Doc fix
15680 (Bug#9274).
15681
826cee64
AM
156822011-08-20 Alan Mackenzie <acm@muc.de>
15683
58179cce 15684 Fontify CPP expressions correctly when starting in the middle of
826cee64
AM
15685 such a construct. Mainly for when jit-lock etc. starts a chunk
15686 here.
15687
58179cce 15688 * progmodes/cc-fonts.el (c-font-lock-context): New buffer local
826cee64 15689 variable.
58179cce 15690 (c-make-font-lock-search-form): New function, extracted from
826cee64
AM
15691 c-make-font-lock-search-function.
15692 (c-make-font-lock-search-function): Use the above function.
15693 (c-make-font-lock-context-search-function): New function.
15694 (c-cpp-matchers): Enhance the preprocessor expression case with
15695 the above function
15696 (c-font-lock-complex-decl-prepare): Test for being in a CPP form
15697 which takes an expression.
15698
15699 * progmodes/cc-langs.el (c-cpp-expr-intro-re): New lang-variable.
15700
13009bd8
MR
157012011-08-20 Martin Rudalics <rudalics@gmx.at>
15702
15703 * window.el (display-buffer-reuse-window)
15704 (display-buffer-pop-up-window): Don't reuse or split a side
15705 window.
15706
9234ff7f
GM
157072011-08-19 Glenn Morris <rgm@gnu.org>
15708
15709 * files.el (hack-local-variables-prop-line, hack-local-variables):
5e617bc2 15710 Downcase "Mode:". (Bug#9331)
9234ff7f 15711
f635daa1
CY
157122011-08-18 Chong Yidong <cyd@stupidchicken.com>
15713
15714 * international/characters.el: Add L and R categories.
15715
15716 * subr.el (bidi-string-mark-left-to-right): Rename from
15717 string-mark-left-to-right. Use category search.
15718
15719 * buff-menu.el (Buffer-menu-buffer+size): Callers changed.
15720
bc987f8b
JL
157212011-08-18 Juri Linkov <juri@jurta.org>
15722
15723 * faces.el (error, warning, success): New faces with definitions
15724 copied from old default values of `font-lock-warning-face',
15725 `compilation-warning', `compilation-info' (bug#6117).
15726
15727 * font-lock.el (font-lock-warning-face): Inherit from `error'.
15728
15729 * progmodes/compile.el (compilation-error): Inherit from `error'.
15730 (compilation-warning): Inherit from `warning'.
15731 (compilation-info): Inherit from `success'.
15732
15733 * dired.el (dired-marked): Inherit from `warning'.
15734 (dired-flagged): Inherit from `error'.
15735
57173b96
LMI
157362011-08-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
15737
3e79eb87
LMI
15738 * mail/smtpmail.el (auth-source): Require to avoid problems with
15739 binding variables (bug#9298). Also clean up some unused
15740 autoloads.
15741
b3fd59bd
SM
15742 * net/network-stream.el (network-stream-open-starttls):
15743 Support using starttls.el without using gnutls-cli.
57173b96 15744
02b404de
JL
157452011-08-17 Juri Linkov <juri@jurta.org>
15746
15747 * progmodes/grep.el (rgrep): Handle the case when
15748 `grep-find-command' is a cons cell (bug#9278).
15749
8c9177f2
MR
157502011-08-17 Martin Rudalics <rudalics@gmx.at>
15751
15752 * window.el (display-buffer-pop-up-frame): Run frame creation
15753 function with BUFFER current (as special-display-popup-frame
15754 does). Reported by Drew Adams.
15755
3644a0ab
DU
157562011-08-17 Daiki Ueno <ueno@unixuser.org>
15757
15758 * epa-mail.el: Simplify GnuPG group expansion using
15759 epg-expand-group.
15760 (epa-mail-group-alist, epa-mail-group-modtime)
15761 (epa-mail-gnupg-conf-file, epa-mail-parse-groups)
15762 (epa-mail-sync-groups, epa-mail-expand-recipient-1)
15763 (epa-mail-expand-recipients-2, epa-mail-expand-recipients):
15764 Remove.
15765
5e617bc2 157662011-08-16 Feng Li <fengli@gmail.com> (tiny change)
7c643369
FL
15767
15768 * calc/calc-ext.el (math-defintegral-2): Remove nested backquote.
15769
9c4aeabf
AM
157702011-08-16 Alan Mackenzie <acm@muc.de>
15771
15772 * progmodes/cc-engine.el (c-state-cache-non-literal-place):
15773 Correct, to avoid the inside of macros.
15774
3a99bf64
RS
157752011-08-16 Richard Stallman <rms@gnu.org>
15776
04963aa8
RS
15777 * epa-mail.el: Handle GnuPG group definitions.
15778 (epa-mail-group-alist, epa-mail-group-modtime)
15779 (epa-mail-gnupg-conf-file): New variables.
15780 (epa-mail-parse-groups, epa-mail-sync-groups)
15781 (epa-mail-expand-recipient-1, epa-mail-expand-recipients-2)
15782 (epa-mail-expand-recipients): New functions.
15783 (epa-mail-encrypt): Call epa-mail-expand-recipients.
15784
177549d0
RS
15785 * mail/rmail.el (rmail-epa-decrypt): New command.
15786
fe38beef
RS
15787 * epa.el (epa-decrypt-region): New arg MAKE-BUFFER-FUNCTION.
15788 Don't bind buffer-read-only, just inhibit-read-only.
3a99bf64
RS
15789 (epa--find-coding-system-for-mime-charset): Fix the non-xemacs case.
15790 (epa-decrypt-armor-in-region): Make error message clearer.
15791
934eacb9
SM
157922011-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
15793
15794 * minibuffer.el (completion-pcm--merge-completions): Don't merge "a1b"
15795 and "a2b" to "ab" for `prefix'.
15796
d024fb4e
CY
157972011-08-14 Chong Yidong <cyd@stupidchicken.com>
15798
15799 * ibuf-ext.el (ibuffer-filter-disable): New arg for deleting
15800 filter groups.
de148fee
CY
15801 (ibuffer-included-in-filter-p-1): Use it. Suggested by Rafaël
15802 Fourquet (Bug#8804).
d024fb4e 15803
62f1ca49
JB
158042011-08-12 Juanma Barranquero <lekktu@gmail.com>
15805
15806 * startup.el (argi): Declare as global variable (bug#9275).
15807
9ccaaa4b
CY
158082011-08-12 Chong Yidong <cyd@stupidchicken.com>
15809
15810 * subr.el (string-mark-left-to-right): Search the entire string
15811 for RTL script, not just the terminating character. Doc fix.
15812
a3dae87a
SM
158132011-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
15814
6cd18349
SM
15815 * progmodes/js.el (js-syntax-propertize, js-syntax-propertize-regexp):
15816 New function.
15817 (js--regexp-literal, js-syntax-propertize-function): Remove.
15818 (js-mode): Use js-syntax-propertize to handle multilines (bug#9183).
15819 (js-mode-map): Don't rebind electric keys.
15820 (js-insert-and-indent): Remove.
15821 (js-mode): Setup electric-layout and electric-indent instead.
15822
a3dae87a
SM
15823 * epa-file.el (epa-file-select-keys): Revert to nil default (bug#9280).
15824
9d5cb631
DU
158252011-08-12 Daiki Ueno <ueno@unixuser.org>
15826
15827 * epa.el (epa-progress-callback-function): Fix the logic of
15828 displaying progress.
15829 * epa-file.el (epa-file-insert-file-contents): Make progress
15830 display more user-friendly.
15831 (epa-file-write-region): Ditto.
15832
3e26a4a2
CY
158332011-08-10 Chong Yidong <cyd@stupidchicken.com>
15834
15835 * subr.el (string-mark-left-to-right): New function.
15836
15837 * buff-menu.el (Buffer-menu-buffer+size): Remove LRM argument.
15838 Use string-mark-left-to-right.
15839 (list-buffers-noselect): Caller changed.
15840
a3dae87a
SM
15841 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
15842 Use string-mark-left-to-right.
3e26a4a2
CY
15843 (tabulated-list-print): Recenter after moving point.
15844
ac8cf6e6
JL
158452011-08-10 Juri Linkov <juri@jurta.org>
15846
15847 * progmodes/grep.el (rgrep): Don't bind `process-connection-type'.
15848 This finishes incomplete reversion of 2011-06-30T01:09:13Z!larsi@gnus.org
15849 intended by 2011-07-06T15:49:19Z!larsi@gnus.org.
15850
8d96c9a4
CY
158512011-08-09 Chong Yidong <cyd@stupidchicken.com>
15852
15853 * hi-lock.el (hi-lock-unface-buffer): Fix interactive spec
15854 (Bug#7554).
15855
7be1c708 158562011-08-09 Andreas Schwab <schwab@linux-m68k.org>
29bbcfa7
AS
15857
15858 * xt-mouse.el (xterm-mouse-event-read): Try to recover the raw
15859 character. (Bug#6594)
15860
37e11a63
CY
158612011-08-08 Chong Yidong <cyd@stupidchicken.com>
15862
839dde57
CY
15863 * image-dired.el: Don't use find-file for temporary work (Bug#7895).
15864 (image-dired--with-db-file): New macro.
15865 (image-dired-write-tags, image-dired-remove-tag)
15866 (image-dired-create-gallery-lists, image-dired-write-comments)
15867 (image-dired-get-comment, image-dired-mark-tagged-files)
15868 (image-dired-list-tags, image-dired-gallery-generate): Use it.
15869 (image-dired-gallery-generate): Use insert-file-contents.
15870
37e11a63
CY
15871 * time.el (display-time-world-list, display-time-world-display):
15872 * time-stamp.el (time-stamp-string):
15873 * vc/add-log.el (add-change-log-entry): Use setenv instead of
15874 set-time-zone-rule (Bug#7337).
15875
0b4946c4
DU
158762011-08-08 Daiki Ueno <ueno@unixuser.org>
15877
15878 * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED): Fix typo.
15879 (epg-error-to-string, epg-errors-to-string): New function.
15880 (epg-wait-for-completion): Reverse errors list.
15881 (epg--check-error-for-decrypt, epg-sign-file, epg-sign-string)
15882 (epg-encrypt-file, epg-encrypt-string, epg-export-keys-to-file)
15883 (epg--import-keys-1, epg-receive-keys, epg-delete-keys)
15884 (epg-sign-keys, epg-generate-key-from-file)
15885 (epg-generate-key-from-string): Format errors by using
15886 epg-errors-to-string (bug#9255).
15887 (epg--status-INV_SGNR, epg--status-NO_SGNR): New status handler.
15888
75bfc667
JL
158892011-08-07 Juri Linkov <juri@jurta.org>
15890
15891 * faces.el (list-faces-display): Remove extra angle bracket
15892 from `help-mode-map'.
15893
15894 * info.el (Info-history-toc-nodes): Doc fix.
15895
15896 * longlines.el (longlines-mode): Doc fix.
15897
673e08bb
SM
158982011-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
15899
4640dd88
SM
15900 * progmodes/js.el (js--regexp-literal): Accept regexps at the beginning
15901 of statements and in a few more cases (bug#9183).
15902
673e08bb
SM
15903 * emacs-lisp/cl-macs.el (cl--make-usage-var, cl--make-usage-args):
15904 New functions.
15905 (cl-transform-lambda): Use them (bug#9239).
15906
89b3f019
MR
159072011-08-05 Martin Rudalics <rudalics@gmx.at>
15908
15909 * window.el (display-buffer-same-window)
15910 (display-buffer-same-frame, display-buffer-other-window)
15911 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
15912 (pop-to-buffer-other-window)
15913 (pop-to-buffer-same-frame-other-window)
15914 (pop-to-buffer-other-frame): Make them defuns.
15915 (switch-to-buffer): Don't set LABEL argument of pop-to-buffer.
15916
640c8776
SM
159172011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
15918
15919 * subr.el (make-composed-keymap): Move from C. Change calling
15920 convention, and improve docstring to bring attention to a subtle point.
15921 * minibuffer.el (completing-read-default): Adjust accordingly.
15922
63648a95
MA
159232011-08-03 Michael Albinus <michael.albinus@gmx.de>
15924
15925 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
15926 (tramp-open-shell): Use `tramp-shell-quote-argument'.
15927
15928 * net/trampver.el: Update release number.
15929
b796c9b7
SM
159302011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
15931
15932 * progmodes/sh-script.el (sh-font-lock-paren): Don't mistake "main" for
15933 "in" (bug#9190).
15934
2239d7d5
LMI
159352011-08-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
15936
e07dd7c3
LMI
15937 * mail/sendmail.el (sendmail-query-once): Restore the current
15938 buffer after querying (bug#9074).
15939
0e6a2bd7
LMI
15940 * dired.el (dired-flagged): Use different faces for marked and
15941 flagged files (bug#6117).
15942
ce887515
LMI
15943 * emacs-lisp/cl-macs.el (dolist): Mention that there's a nil block
15944 (bug#4433).
15945
92f2affc
LMI
15946 * ido.el (ido-mode): Switch off the message if called
15947 non-interactively.
15948
57d5aff0
LMI
15949 * mail/smtpmail.el (smtpmail-query-smtp-server): Try port 25
15950 before 587, since it appears that that's more likely to work for
15951 more people.
15952
98cd6c18 15953 * cus-edit.el (custom-file): When running under emacs -q, always
e1dbe924 15954 refuse to save the customizations, even if the .emacs file doesn't
98cd6c18
LMI
15955 exist.
15956
b96dec83
LMI
15957 * info.el: Remove the `Info-beginning-of-buffer' function
15958 (bug#8325).
15959
b796c9b7
SM
15960 * net/network-stream.el (network-stream-open-starttls):
15961 Use `starttls-available-p' to see whether starttls.el can be used.
2239d7d5 15962
d90e2ea0
MR
159632011-08-01 Martin Rudalics <rudalics@gmx.at>
15964
15965 * window.el (display-buffer-in-window): Don't set dedicated status
15966 of window here (Bug#9215).
15967 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
15968 (display-buffer-pop-up-side-window)
b796c9b7 15969 (display-buffer-in-side-window): Set dedicated status of window here.
d90e2ea0 15970
cca09170
SM
159712011-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
15972
15973 * emacs-lisp/package.el (package-generate-autoloads): Load autoloads
15974 before binding generated-autoload-file.
15975
027b979c
DD
159762011-08-01 Deniz Dogan <deniz@dogan.se>
15977
15978 * net/rcirc.el (rcirc-handler-333): Clarify docstring.
15979
3c7ee4f3
MA
159802011-07-30 Michael Albinus <michael.albinus@gmx.de>
15981
15982 Sync with Tramp 2.2.2.
15983
15984 * net/trampver.el: Update release number.
15985
2cc8e51a
JL
159862011-07-30 Juri Linkov <juri@jurta.org>
15987
15988 * dired-aux.el (dired-touch-initial): Remove function.
15989 (dired-do-chxxx): For op-symbol `touch', set `initial' to the
15990 current time, and `default' to the last modification time of the
15991 current marked file (bug#6887).
15992
a514d856
JM
159932011-07-28 Jose E. Marchesi <jemarch@gnu.org>
15994
15995 * simple.el (goto-line): Use string-to-number to provide a
2cc8e51a 15996 numeric argument to read-number (bug#9163).
a514d856 15997
8a7eddd7
MA
159982011-07-27 Michael Albinus <michael.albinus@gmx.de>
15999
16000 * net/tramp-sh.el (tramp-maybe-send-script): Don't let-bind the
16001 connection process, it could be nil.
16002
1ddd96f5
LL
160032011-07-27 Leo Liu <sdl.web@gmail.com>
16004
16005 Simplify url handling in rcirc-mode.
16006
16007 * net/rcirc.el (rcirc-browse-url-map, rcirc-browse-url-at-point)
16008 (rcirc-browse-url-at-mouse): Remove.
16009 * net/rcirc.el (rcirc-markup-urls): Use `make-button'.
16010
b248a85d
AM
160112011-07-26 Alan Mackenzie <acm@muc.de>
16012
16013 Fontify bitfield declarations properly.
16014
16015 * progmodes/cc-langs.el (c-has-bitfields): New lang variable.
16016 (c-symbol-chars): Now exported as a lang variable.
16017 (c-not-primitive-type-keywords): New lang variable.
16018
16019 * progmodes/cc-fonts.el (c-font-lock-declarations): Jump over the
16020 QT keyword "more" to prevent "more slots: ...." being spuriously
58179cce 16021 parsed as a bitfield declaration.
b248a85d 16022
b796c9b7
SM
16023 * progmodes/cc-engine.el (c-beginning-of-statement-1):
16024 Refactor and enhance to handle bitfield declarations.
b248a85d
AM
16025 (c-punctuation-in): New function.
16026 (c-forward-decl-or-cast-1): Enhance CASE 3 to handle bitfield
16027 declarations properly.
16028
68575ab0
UJ
160292011-07-26 Ulf Jasper <ulf.jasper@web.de>
16030
16031 * calendar/icalendar.el (icalendar--all-events): Take care of
16032 multiple vcalendars in a single file.
b796c9b7 16033 (icalendar--convert-float-to-ical): Checkdoc fixes.
68575ab0 16034
0f0a88b9
DD
160352011-07-25 Deniz Dogan <deniz@dogan.se>
16036
16037 * image.el (insert-image): Clarifying docstring.
16038
0b3f36df
MA
160392011-07-24 Michael Albinus <michael.albinus@gmx.de>
16040
16041 * net/tramp-sh.el (tramp-barf-unless-okay): Return the value of
16042 `tramp-send-command-and-check' if there is no error.
16043 (tramp-send-command-and-read): Suppress *all* errors if NOERROR.
16044
a9901f61
AM
160452011-07-22 Alan Mackenzie <acm@muc.de>
16046
16047 Prevent cc-langs.elc being loaded at run time.
16048
16049 * progmodes/cc-mode.el: Remove two autoload forms which loaded
16050 cc-langs.
16051
4d61f28d 16052 * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Don't emit
a9901f61
AM
16053 "(require 'cc-langs)". Quote a form so it will evaluate at
16054 (cc-mode's) compilation time.
16055
11d074b2
MA
160562011-07-22 Michael Albinus <michael.albinus@gmx.de>
16057
16058 * net/tramp.el (tramp-file-name-handler): Avoid recursive
16059 loading. (Bug#9114)
16060
938b94c8
MR
160612011-07-21 Martin Rudalics <rudalics@gmx.at>
16062
16063 * window.el (display-buffer-pop-up-window)
16064 (display-buffer-pop-up-side-window)
16065 (display-buffer-in-side-window): Call display-buffer-set-height
16066 and display-buffer-set-width after setting the new window's
b796c9b7 16067 buffer so `fit-window-to-buffer' and friends work on the right buffer.
938b94c8 16068
bfa4f190
SS
160692011-07-20 Sam Steingold <sds@gnu.org>
16070
16071 * progmodes/etags.el (etags-file-of-tag, etags-tags-table-files)
16072 (etags-tags-included-tables): Call `convert-standard-filename' on
16073 the file names contained in TAGS so that windows Emacs can handle
16074 TAGS files created by cygwin ctags.
16075
8ca42262
LMI
160762011-07-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
16077
16078 * proced.el (proced-update): Revert yesterday's bug#1779 patch,
16079 which apparently didn't work.
16080
5db2afd2 160812011-07-19 Roland Winkler <winkler@gnu.org>
2ecab2b5 16082
5db2afd2
RW
16083 * proced.el (proced-send-signal): For *Marked Processes* buffer
16084 put point at beginning of buffer.
16085
92e15d10
SB
160862011-07-19 Stephen Berman <stephen.berman@gmx.net>
16087
16088 * proced.el (proced-format): Make header lines align with the text
16089 (bug#1779).
16090
1bfd59e5
LMI
160912011-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
16092
16093 * view.el (view-buffer): Allow running in `special' modes if we're
16094 visiting a file (bug#8615).
16095
f5aae37c
MR
160962011-07-19 Martin Rudalics <rudalics@gmx.at>
16097
16098 * window.el (display-buffer-alist-of-strings-p)
b796c9b7
SM
16099 (display-buffer-alist-set-1, display-buffer-alist-set-2):
16100 New functions.
f5aae37c
MR
16101 (display-buffer-alist-set): Rewrite to handle Emacs 23 options
16102 more accurately.
16103
bf2c1571
AM
161042011-07-18 Alan Mackenzie <acm@muc.de>
16105
16106 Fontify declarators properly when, e.g., a jit-lock chunk begins
16107 inside a declaration.
16108
16109 * progmodes/cc-langs.el (c-symbol-chars): Correct a typo.
16110
b796c9b7
SM
16111 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
16112 New function.
bf2c1571
AM
16113 (c-complex-decl-matchers): Insert reference to
16114 c-font-lock-enclosing-decls.
16115
16116 * progmodes/cc-engine.el (c-backward-single-comment):
16117 (c-backward-comments): Bind open-paren-in-column-0-is-defun-start
16118 to nil around calls to (forward-comment -1).
16119
4e190b80
LMI
161202011-07-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
16121
12dc863d
LMI
16122 * image.el (put-image): Doc typo fix.
16123
a762e966
LMI
16124 * progmodes/etags.el (tags-search): Doc typo fix.
16125
4e190b80
LMI
16126 * mail/smtpmail.el (smtpmail-via-smtp): Query the user for
16127 password if we get errors 550 to 554.
16128
f019fb21
LMI
161292011-07-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
16130
b796c9b7 16131 * net/gnutls.el (gnutls-log-level): Remove.
750c33f7 16132
81746738
LMI
16133 * textmodes/fill.el (adaptive-fill-regexp): Include EN DASH as an
16134 indentation character (bug#6380).
16135
3ee3a1b5
LMI
16136 * files.el (buffer-offer-save): Made permanently local (bug#6241).
16137
c82f64de
LMI
16138 * doc-view.el (doc-view-make-safe-dir): Rewrite the error message
16139 to clarify what the problem is (bug#4291).
16140
f019fb21
LMI
16141 * simple.el (current-kill): Clarify what
16142 `interprogram-paste-function' does (bug#7500).
ca425c7c
LMI
16143 (auto-fill-mode): Document `auto-fill-function' in relation to
16144 `auto-fill-mode' (bug#2470).
f019fb21 16145
0794775d
LM
161462011-07-16 Lawrence Mitchell <wence@gmx.li>
16147
16148 * emacs-lisp/cl-macs.el (defstruct): Ignore argument to setf
16149 method if slot is read-only (bug#9035).
16150
be39b8cc
MR
161512011-07-16 Martin Rudalics <rudalics@gmx.at>
16152
b796c9b7 16153 * frame.el (select-frame-set-input-focus): New argument NORECORD.
be39b8cc 16154 * window.el (pop-to-buffer): Select window used even if it was
b796c9b7
SM
16155 selected before, see discussion of (Bug#8615), (Bug#6954).
16156 Pass argument NORECORD on to select-frame-set-input-focus.
be39b8cc 16157
6ccf7859
GM
161582011-07-15 Glenn Morris <rgm@gnu.org>
16159
16160 * subr.el (read-char-choice): Allow quitting. (Bug#9001)
03ea5b87 16161 Respect help-form.
6ccf7859 16162
87e86684
LM
161632011-07-09 Lawrence Mitchell <wence@gmx.li>
16164
16165 * net/gnutls.el (gnutls-min-prime-bits): New variable.
16166 (gnutls-negotiate): Use it.
16167
d6066239
LMI
161682011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
16169
b796c9b7
SM
16170 * net/gnutls.el (gnutls-negotiate):
16171 Upcase `gnutls-algorithm-priority'.
d6066239 16172
bd23ebc0
GM
161732011-07-15 Glenn Morris <rgm@gnu.org>
16174
c65bca65
GM
16175 * jka-compr.el (jka-compr-verbose): Move from here...
16176 * jka-cmpr-hook.el (jka-compr-verbose): ... to here. (Bug#9090)
16177 Add missing :version tag.
16178 * info.el: No need to require jka-compr when compiling.
bd23ebc0 16179
478615cc
LMI
161802011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
16181
7b41decb
LMI
16182 * net/gnutls.el (gnutls-algorithm-priority): New variable.
16183 (gnutls-negotiate): Use it.
16184
dbc44fcd
LMI
16185 * emacs-lisp/cl-macs.el (declare): Link to the "Declarations" node.
16186
06789f97
LMI
16187 * info.el (Info-beginning-of-buffer): New command.
16188 (Info-mode-map): Use it instead of `beginning-of-buffer' to allow
16189 announcing `b' as the key (bug#8325).
ab896c37 16190 (Info-mode-menu): Use `Info-beginning-of-buffer' for consistency.
06789f97 16191
c39da690
LMI
16192 * emacs-lisp/cl-macs.el (declare): Doc string fix-up.
16193
3aa5f34b
LMI
16194 * international/mule-cmds.el
16195 (describe-specified-language-support): Make the error message
16196 clearer (bug#8905).
16197
4bf0979f
LMI
16198 * emacs-lisp/cl-macs.el (declare): Add a doc string (bug#8690).
16199
478615cc
LMI
16200 * isearch.el (isearch-barrier): Add a doc string, since it's
16201 mentioned in a function doc string (bug#8678).
16202
75c68aa1
MR
162032011-07-15 Martin Rudalics <rudalics@gmx.at>
16204
16205 * window.el (switch-to-buffer): Call pop-to-buffer with normalized
16206 buffer argument (Bug#9083) and self-identifying label argument.
16207
a7c33da2
GM
162082011-07-15 Glenn Morris <rgm@gnu.org>
16209
16210 * emacs-lisp/debug.el (debug): Doc fix. (Bug#8273)
16211
2f5c6024
LMI
162122011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
16213
16214 * man.el (Man-fontify-manpage): Fix message when formatting the
16215 man page (bug#7929).
16216
0bb23927 162172011-07-14 Eli Zaretskii <eliz@gnu.org>
cce4b0a7
EZ
16218
16219 * buff-menu.el (Buffer-menu-buffer+size): Accept an additional
16220 argument LRM; if non-nil, append an invisible LRM character to the
16221 buffer name.
16222 (list-buffers-noselect): Call Buffer-menu-buffer+size with the
16223 last argument non-nil, when formatting buffer names.
0bb23927
EZ
16224 (Buffer-menu-mode, list-buffers-noselect): Force left-to-right
16225 paragraph direction.
cce4b0a7 16226
621ef9ab
LMI
162272011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
16228
d1583c48
LMI
16229 * man.el (Man-bgproc-sentinel): Skip any arguments and only output
16230 the man page name (bug#7929).
16231
6a57fb5f
LMI
16232 * image.el (put-image): Mention the `put-image' overlay property
16233 (bug#7834).
16234
d7956b14
LMI
16235 * scroll-bar.el (set-scroll-bar-mode): Mention that
16236 `scroll-bar-mode' lists the values (bug#7772).
16237
5b2d4a66
LMI
16238 * image-mode.el (image-mode-fit-frame): Mention that it's a toggle
16239 command (bug#7729).
16240
7509a874
LMI
16241 * rect.el (apply-on-rectangle): Return the point after the last
16242 operation.
16243 (string-rectangle): Go to the point after the last operation
16244 (bug#7522).
16245
4fe74b19
LMI
16246 * printing.el (pr-toggle-region): Clarify the documentation
16247 slightly (bug#7493).
16248
b796c9b7
SM
16249 * time.el (display-time-update):
16250 Allow `display-time-mail-function' to return nil (bug#7158).
16251 Fix suggested by Detlev Zundel.
ab283561 16252
fc233c9d
LMI
16253 * vc/diff.el (diff): Clarify the order the file names are read
16254 (bug#7111).
16255
43f5740b
LMI
16256 * mouse.el (mouse-set-region): Link to `mouse-drag-copy-region' in
16257 the doc string (bug#7015).
16258
f2182a76
LMI
16259 * font-lock.el (font-lock-maximum-decoration): Mention what
16260 numeric levels mean (bug#6935).
16261
621ef9ab
LMI
16262 * startup.el (initial-buffer-choice): Don't mention the `none'
16263 selection, which is against policy.
16264
adc47434
MR
162652011-07-14 Martin Rudalics <rudalics@gmx.at>
16266
b796c9b7
SM
16267 * window.el (display-buffer-normalize-special):
16268 Replace `dedicated' by `dedicate' to dedicate window (Bug#9072).
adc47434 16269
7e5bfb8f
EZ
162702011-07-14 Eli Zaretskii <eliz@gnu.org>
16271
16272 * subr.el (version<, version<=, version=): Mention "-CVS" and
16273 "-12345" alpha version numbers.
16274
27fa387a
CY
162752011-07-14 Chong Yidong <cyd@stupidchicken.com>
16276
16277 * bindings.el: Add advertised binding for set-mark-command
16278 (Bug#5772).
16279
8bdfa064
CY
162802011-07-14 Chong Yidong <cyd@stupidchicken.com>
16281
16282 * bindings.el (mode-line-other-buffer):
16283 * bookmark.el (bookmark-bmenu-2-window):
16284 * bs.el (bs-cycle-next, bs-cycle-previous):
16285 * net/tramp-cmds.el (tramp-append-tramp-buffers): Revert to using
16286 switch-to-buffer.
16287
16288 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
b796c9b7 16289 Delete.
8bdfa064 16290
5eba16a3
JB
162912011-07-14 Juanma Barranquero <lekktu@gmail.com>
16292
16293 * follow.el (follow-debug-message, follow-redisplay):
16294 * jka-cmpr-hook.el (with-auto-compression-mode):
16295 Fix typos in docstrings.
16296
15853710
LMI
162972011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
16298
a28e4607
LMI
16299 * subr.el (with-silent-modifications): Clarify somewhat what the
16300 macro inhibits (bug#6525).
16301
15853710
LMI
16302 * simple.el (eval-expression): Note what it does if called
16303 interactively (bug#6495).
16304
bee0fcef
CY
163052011-07-13 Chong Yidong <cyd@stupidchicken.com>
16306
b796c9b7
SM
16307 * window.el (switch-to-buffer): New arg FORCE-SAME-WINDOW.
16308 Use pop-to-buffer buffer-or-name if it is nil.
bee0fcef
CY
16309
16310 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
16311 Remove switch-to-buffer.
16312
58274504
LMI
163132011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
16314
bd2fcc8d
LMI
16315 * files.el (make-directory): Clarify that an error will be raised
16316 if there's an error (bug#6397).
16317
0f04b32c
LMI
16318 * startup.el (initial-buffer-choice): Add `none' as a choice
16319 (bug#6234).
16320
465c5fc8
LMI
16321 * subr.el (add-hook): Clarify section about buffer-local hooks
16322 (bug#6218).
16323
58274504
LMI
16324 * dired.el (dired-flagged): Clarify doc string (bug#6117).
16325
bead9a43
JB
163262011-07-13 Juanma Barranquero <lekktu@gmail.com>
16327
16328 * tabify.el (untabify): Preserve the current column so that point
16329 doesn't move (bug#6032).
16330
3af98a7b
LMI
163312011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
16332
b796c9b7
SM
16333 * progmodes/cperl-mode.el (cperl-syntaxify-by-font-lock):
16334 Rewrite to avoid awkward possessive "s" (bug#5986).
3af98a7b 16335
6240145a
GM
163362011-07-13 Glenn Morris <rgm@gnu.org>
16337
16338 * dired.el (dired-use-ls-dired): Doc fix. (Bug#9039).
16339 (dired-insert-directory): Give a message the first time
16340 if ls is found not to support --dired.
16341
1d8c2ccc
LMI
163422011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
16343
16344 * simple.el (toggle-truncate-lines): Clarify what is toggled
16345 (bug#5580). Text by Drew Adams.
16346
5fc4038e
CY
163472011-07-13 Chong Yidong <cyd@stupidchicken.com>
16348
16349 * simple.el (blink-matching-open): Make the error message from the
16350 last change less verbose.
16351
bf6012e5
DN
163522011-07-13 Dan Nicolaescu <dann@ics.uci.edu>
16353
16354 * font-lock.el (font-lock-comment-face): Use the high contrast
16355 "yellow" color for font-lock-comment-face on low color terminals
16356 using a dark background color (bug#4221).
16357
343c3b5a
LMI
163582011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
16359
7e9505c5
LMI
16360 * dired.el (dired-insert-set-properties): Make the doc string
16361 reflect what it does now (bug#5325).
16362
c26fdcf5
LMI
16363 * simple.el (blink-matching-open): Say that we were unable to find
16364 the match within the limit, if we're limited (bug#5122).
16365
bb388cc5
LMI
16366 * international/mule-cmds.el (prefer-coding-system): Add an
16367 example (bug#4869).
16368
343c3b5a
LMI
16369 * progmodes/etags.el (tags-search): Document `file-list-form'
16370 (bug#4731).
16371
2a517d45
LM
163722011-07-13 Lawrence Mitchell <wence@gmx.li>
16373
16374 * net/browse-url.el (browse-url-default-browser)
16375 (browse-url-browser-function): Make the default browser choice a
16376 bit more logical (bug#4300). Also clean up the doc string.
16377
b6c78ef2
JB
163782011-07-13 Juanma Barranquero <lekktu@gmail.com>
16379
16380 * bindings.el (completion-ignored-extensions): Add OpenMCL/Clozure
16381 binary endings (bug#4440).
16382
1c4dd947
LMI
163832011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
16384
a2014063
LMI
16385 * info.el (info-insert-file-contents): Inhibit jka-compr messages,
16386 which can be pretty annoying (bug#8971).
16387
9c9c2d88
LMI
16388 * jka-compr.el (jka-compr-verbose): New variable, and use
16389 throughout (bug#8971).
16390
1c4dd947
LMI
16391 * info.el (Info-find-file): Fall back on the installation
16392 directory if we can't find the info node anywhere else.
16393
a1c9f41b
SO
163942011-07-13 Sergei Organov <osv@javad.com> (tiny change)
16395
16396 * vc/vc.el (vc-revert-file):
16397 Don't set file time-stamp in the past. (Bug#5181)
16398
536f3d36
LMI
163992011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
16400
7152b011
LMI
16401 * files.el (after-find-file): Give a better error message when
16402 trying to find a symlink that points to a file that doesn't exist
16403 (bug#4398).
16404
536f3d36
LMI
16405 * progmodes/cc-vars.el: Remove (probably) misleading comment
16406 (bug#4396).
16407
460c0fba
JB
164082011-07-12 Johan Bockgård <bojohan@gnu.org>
16409
16410 * mouse-sel.el (mouse-sel-primary-overlay): Use the `region' face.
16411
7a6bda45
CY
164122011-07-12 Chong Yidong <cyd@stupidchicken.com>
16413
16414 * mouse-sel.el: Hack restoring functionality, while keeping
16415 compatibility with 2010-07-03 changes to mouse selection.
16416 (mouse-sel-primary-overlay): New var.
16417 (mouse-sel-selection-alist): Use it.
16418 (mouse-sel-mode): Doc fix; remove points that are default features
16419 of mouse.el.
16420
c79598ef
JB
164212011-07-12 Johan Bockgård <bojohan@gnu.org>
16422
16423 * progmodes/compile.el (compilation-error-regexp-alist-alist):
16424 Fix previous fix (bug#2490).
16425
ff8be6ef
RW
164262011-07-12 Roland Winkler <winkler@gnu.org>
16427
b796c9b7
SM
16428 * textmodes/bibtex.el (bibtex-initialize):
16429 Use pop-to-buffer-same-window.
ff8be6ef
RW
16430 (bibtex-search-entries): Fix interactive call.
16431
296ba3ee
LMI
164322011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
16433
f5242a02 16434 * progmodes/compile.el (compilation-error-regexp-alist-alist):
b796c9b7
SM
16435 Fontise bytecomp Error lines more correctly (bug#2490).
16436 Fix suggested by Johan Bockgård.
f5242a02 16437
296ba3ee
LMI
16438 * subr.el (remove-duplicates): Remove; `delete-dups' is sufficient.
16439
16440 * dired-x.el (dired-guess-default): Use `delete-dups'.
16441
f69fd0d2
CY
164422011-07-12 Chong Yidong <cyd@stupidchicken.com>
16443
16444 * dired.el (dired-mark-prompt):
16445 * dired-aux.el (dired-read-shell-command): Doc fix.
16446
eab5dc07
LMI
164472011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
16448
b796c9b7
SM
16449 * mail/sendmail.el (sendmail-query-once):
16450 Use `customize-save-variable' unconditionally, now that it works under
9988520a
LMI
16451 emacs -Q.
16452
16453 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
16454
eab5dc07
LMI
16455 * cus-edit.el (custom-file): Take an optional no-error variable.
16456 (customize-save-variable): Set the variable, and give a warning if
16457 running under "emacs -q".
16458
a1e65d42
JB
164592011-07-11 Juanma Barranquero <lekktu@gmail.com>
16460
16461 * loadhist.el (unload-feature-special-hooks):
16462 Add `auto-coding-functions', `fill-nobreak-predicate' and
16463 `find-directory-functions' (bug#5327).
16464
1d52da10
LMI
164652011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
16466
be958f1d
LMI
16467 * vc/ediff.el (ediff-patch-file): Clarify doc string (bug#3138).
16468
5bedb26c
LMI
16469 * cus-edit.el (custom-guess-name-alist): -alist variables should
16470 use the `alist' type (bug#3120). Suggested by Drew Adams.
16471
1d52da10
LMI
16472 * printing.el: Add documentation to all the `pr-toggle-' commands.
16473
cd394be1 164742011-07-11 Leo Liu <sdl.web@gmail.com>
481a51b6
LL
16475
16476 * files.el (toggle-read-only): Only do the `C-x C-q' warning on VC
16477 backends where it makes sense (bug#2623).
16478
dcc88d8a
LMI
164792011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
16480
c3de9feb
LMI
16481 * dired-x.el (dired-guess-default): Remove duplicate shell command
16482 entries (bug#2028).
8a93078b 16483 (dired-guess-default): Fix grammar in doc string (bug#2028).
eea84fe5 16484 (dired-guess-shell-alist-user): Clarify the example a bit (bug#2030).
c3de9feb 16485
dcc88d8a
LMI
16486 * subr.el (remove-duplicates): New conveniency function.
16487
505e3645
LMI
164882011-07-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
16489
16490 * tool-bar.el (tool-bar-mode): Clarify positive/negative arguments
16491 (bug#1526).
16492
164932011-07-10 Martin Rudalics <rudalics@gmx.at>
16494
16495 * window.el (display-buffer-normalize-default): Don't invert
16496 meaning of even-window-heights. Reported by Eli Zaretskii
16497 <eliz@gnu.org>.
16498
455e4fa1
BR
164992011-07-10 Bob Rogers <rogers@rgrjr.dyndns.org>
16500
16501 * vc/vc.el (vc-diff-internal): Fix race condition (Bug#1256).
16502
8e0bc3e9
CY
165032011-07-10 Chong Yidong <cyd@stupidchicken.com>
16504
16505 * window.el (display-buffer): Fix arguments to
16506 display-buffer-reuse-window in last change.
16507
fa7c3228
CY
16508 * faces.el (link): Use a less saturated blue on light backgrounds.
16509
16510 * startup.el (fancy-startup-text, fancy-about-text)
16511 (fancy-startup-tail): Use font-lock faces, for background safety.
16512
c0a7f300
BN
165132011-07-09 Bob Nnamtrop <bobnnamtrop@gmail.com> (tiny change)
16514
b796c9b7
SM
16515 * emulation/viper-cmd.el (viper-change-state-to-vi):
16516 Limit triggering of abbrev expansion (Bug#9038).
c0a7f300 16517
4dc2a129
MR
165182011-07-09 Martin Rudalics <rudalics@gmx.at>
16519
16520 * window.el (display-buffer-default-specifiers): Remove.
16521 (display-buffer-macro-specifiers): Remove default specifiers.
16522 (display-buffer-alist): Default to nil.
b796c9b7 16523 (display-buffer-reuse-window): New optional argument other-window.
4dc2a129
MR
16524 (display-buffer-pop-up-window): Allow splitting internal
16525 windows. Check whether a live window was created.
16526 (display-buffer-other-window-means-other-frame)
16527 (display-buffer-normalize-arguments): Rename to
16528 display-buffer-normalize-argument and rewrite. Set the
16529 other-window specifier.
16530 (display-buffer-normalize-special): New function.
16531 (display-buffer-normalize-options): Rename to
16532 display-buffer-normalize-default and rewrite.
16533 (display-buffer-normalize-options-inhibit): Remove.
16534 (display-buffer-normalize-specifiers): Rewrite.
16535 (display-buffer): Process other-window specifier and call
16536 display-buffer-reuse-window with it. Emulate Emacs 23 behavior
16537 more faithfully.
b796c9b7 16538 (pop-up-windows, even-window-heights): Restore Emacs 23 default values.
4dc2a129 16539 (display-buffer-alist-set): Don't handle 'unset default values.
b796c9b7
SM
16540 (display-buffer-in-window, display-buffer-alist-set):
16541 Replace symbol "dedicated" by "dedicate". Reported by Tassilo Horn
4dc2a129
MR
16542 <tassilo@member.fsf.org>.
16543
2d43b8c9
LL
165442011-07-09 Leo Liu <sdl.web@gmail.com>
16545
16546 * register.el (insert-register): Restore accidental change on
16547 2011-06-26. (Bug#9028)
16548
7f9b7c53
GM
165492011-07-09 Glenn Morris <rgm@gnu.org>
16550
16551 * subr.el (remq): Handle the empty list. (Bug#9024)
16552
f042cfd8
AS
165532011-07-08 Andreas Schwab <schwab@linux-m68k.org>
16554
16555 * mail/sendmail.el (send-mail-function): No longer delay custom
16556 initialization.
16557 * custom.el (custom-initialize-delay): Doc fix.
16558
856b2f11
SM
165592011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
16560
16561 * abbrev.el (expand-abbrev): Try to preserve point (bug#5805).
16562
afae1d68
MA
165632011-07-08 Michael Albinus <michael.albinus@gmx.de>
16564
16565 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use a
16566 human-friendly prompt.
16567
0757af94
SM
165682011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
16569
16570 * vc/vc-bzr.el (vc-bzr-revision-keywords): Remove svn, it's only
16571 provided by a particular plugin.
16572
d760b731
LMI
165732011-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
16574
16575 * mail/sendmail.el (sendmail-query-once): If we aren't allowed to
16576 save customizations (with "emacs -Q"), just set the variable
16577 instead of erroring out.
16578
16579 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
16580
cd79ce90
JL
165812011-07-08 Juri Linkov <juri@jurta.org>
16582
16583 * arc-mode.el (archive-zip-expunge, archive-zip-update)
16584 (archive-zip-update-case): Use 7z if found by `executable-find'.
16585 The order of searching the available programs is the same as in
16586 `archive-zip-extract' (bug#8968).
16587
14cc04aa
CY
165882011-07-07 Chong Yidong <cyd@stupidchicken.com>
16589
16590 * menu-bar.el (menu-bar-line-wrapping-menu): Revert last change.
16591 (menu-bar-options-menu): Tweak descriptions.
16592
0a1848ec
LMI
165932011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
16594
16595 * menu-bar.el (menu-bar-line-wrapping-menu): Make all the Options
16596 menu items into verb phrases (bug#1421). Also refill to fit under
16597 80 columns.
16598
f5bd0689
CY
165992011-07-07 Chong Yidong <cyd@stupidchicken.com>
16600
538e85c6
CY
16601 * info.el (info, Info-read-node-name-2, Info-read-node-name-1)
16602 (Info-read-node-name): Doc fix (Bug#1084).
16603
f5bd0689
CY
16604 * thingatpt.el (forward-thing, bounds-of-thing-at-point)
16605 (thing-at-point, beginning-of-thing, end-of-thing, in-string-p)
16606 (end-of-sexp, beginning-of-sexp)
16607 (thing-at-point-bounds-of-list-at-point, forward-whitespace)
16608 (forward-symbol, forward-same-syntax, word-at-point)
16609 (sentence-at-point): Doc fix (Bug#1144).
16610
56ec5115
LMI
166112011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
16612
f3f8e37f
LMI
16613 * info.el (Info-mode-map): Remove S-TAB binding, since [backtab]
16614 should cover it (bug#1281).
16615
0757af94 16616 * cus-edit.el (custom-show): Mark as obsolete.
af0905c8 16617
e9fce1ac 16618 * net/network-stream.el (network-stream-open-starttls): If GnuTLS
12b9eb35
LMI
16619 negotiation fails, then possibly try again with a non-encrypted
16620 connection (bug#9017).
16621
56ec5115
LMI
16622 * mail/smtpmail.el (smtpmail-stream-type): Note that `plain' can
16623 be used.
16624
c2f9aec8
RS
166252011-07-07 Richard Stallman <rms@gnu.org>
16626
16627 * mail/rmail.el (rmail-next-error-move): Use `compilation-message'
16628 property, and handle its changed format.
16629 Look for the correct line number.
16630 Use file's line contents (but not past first =) to find
16631 correct line in message.
16632
ef7b981d 166332011-07-07 Kenichi Handa <handa@m17n.org>
c805dec0
KH
16634
16635 * international/characters.el (build-unicode-category-table):
16636 Delete it.
0757af94 16637 (unicode-category-table): Set it by unicode-property-table-internal.
c805dec0 16638
0757af94 16639 * international/mule-cmds.el (char-code-property-alist): Move to
c805dec0
KH
16640 to src/chartab.c.
16641 (get-char-code-property): Call unicode-property-table-internal to
16642 load a file. Call get-unicode-property-internal where necessary.
16643 (put-char-code-property): Call unicode-property-table-internal to
16644 load a file. Call put-unicode-property-internal where necessary.
16645 put-unicode-property-internal where necessary.
0757af94
SM
16646 (char-code-property-description):
16647 Call unicode-property-table-internal to load a file.
c805dec0
KH
16648
16649 * international/charprop.el:
16650 * international/uni-bidi.el:
16651 * international/uni-category.el:
16652 * international/uni-combining.el:
16653 * international/uni-comment.el:
16654 * international/uni-decimal.el:
16655 * international/uni-decomposition.el:
16656 * international/uni-digit.el:
16657 * international/uni-lowercase.el:
16658 * international/uni-mirrored.el:
16659 * international/uni-name.el:
16660 * international/uni-numeric.el:
16661 * international/uni-old-name.el:
16662 * international/uni-titlecase.el:
16663 * international/uni-uppercase.el: Regenerate.
16664
16665 * loadup.el: Load international/charprop.el before
16666 international/characters.
16667
e14b388a
CY
166682011-07-07 Chong Yidong <cyd@stupidchicken.com>
16669
16670 * window.el (next-buffer, previous-buffer): Signal an error if
16671 called from a minibuffer window.
16672
16673 * bindings.el: Revert 2011-07-04 change.
16674
354cf0ba
RS
166752011-07-06 Richard Stallman <rms@gnu.org>
16676
16677 * mail/rmailmm.el (rmail-mime-process): Use markers for buf positions.
16678 (rmail-mime-insert-bulk, rmail-mime-insert-text):
16679 Treat markers like ints.
16680 (rmail-mime-entity): Doc fix.
16681
a48868a7
LMI
166822011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
16683
4906cd3d
LMI
16684 * mail/smtpmail.el (smtpmail-default-smtp-server): Made into a
16685 defcustom again for backwards compatibility.
16686
e0457abe
LMI
16687 * simple.el (shell-command-on-region): Fill.
16688
d67f7e1f
LMI
16689 * dired-aux.el (dired-kill-line): Add a doc string.
16690
fe204702
LMI
16691 * dabbrev.el (dabbrev-abbrev-char-regexp): Note that nil defaults
16692 to "\\sw\\|\\s_" (bug#358).
16693
a48868a7
LMI
16694 * dired.el (dired-mode): Clarify "unmark or unflag" (bug#8770).
16695 (dired-unmark-backward): Ditto.
16696 (dired-flag-backup-files): Ditto.
16697
16698 * dired-x.el (dired-mark-sexp): Ditto.
16699
aa8a705c
RS
167002011-07-06 Richard Stallman <rms@gnu.org>
16701
16702 * mail/rmailmm.el: Give entity a new slot, TRUNCATED.
16703 (rmail-mime-entity): New arg TRUNCATED.
16704 (rmail-mime-entity-truncated, rmail-mime-entity-set-truncated):
16705 New functions.
16706 (rmail-mime-save): Warn if entity is truncated.
16707 (rmail-mime-toggle-hidden): Likewise, for showing.
16708 (rmail-mime-process-multipart): Record when an entity is truncated.
16709
a9a936b9
RS
16710 * mail/rmailmm.el (rmail-search-mime-message): Don't get confused
16711 if ENTITY is a string.
16712
1f2b92cb
LMI
167132011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
16714
f4f73198 16715 * emacs-lisp/lisp-mode.el (eval-defun-1): Update the documentation
0757af94
SM
16716 of faces when `M-C-x'-ing their definitions (bug#8378).
16717 Also clean up the code slightly.
f4f73198 16718
12b16734 16719 * progmodes/grep.el (rgrep): Don't bind `process-connection-type',
da6062e6 16720 because that makes the colors go away.
12b16734 16721
f0691d22
LMI
16722 * mail/sendmail.el (send-mail-function): Change the default to
16723 `sendmail-query-once'.
9e87df06 16724 (sendmail-query-once): Add an autoload cookie.
f0691d22 16725
1f2b92cb
LMI
16726 * net/network-stream.el (network-stream-open-starttls): Try using
16727 a plain connection even if the server offered STARTTLS, and we
16728 kinda wanted to use it, if Emacs doesn't have any STARTTLS
16729 capability. This should make smtpmail.el work in slightly more
16730 configurations.
16731
1cdd2a1b
MA
167322011-07-06 Michael Albinus <michael.albinus@gmx.de>
16733
16734 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
16735 New defun.
16736 * net/tramp-cmds.el (tramp-append-tramp-buffers): Use it.
16737
fbcc67e2
MM
167382011-07-06 Michael R. Mauger <mmaug@yahoo.com>
16739
16740 * progmodes/sql.el: Version 3.0
0757af94 16741 (sql-product-alist): Add product :completion-object,
fbcc67e2 16742 :completion-column, and :statement attributes.
0757af94 16743 (sql-mode-menu, sql-interactive-mode-map): Fix List entries.
fbcc67e2 16744 (sql-mode-syntax-table): Mark all punctuation.
0757af94 16745 (sql-font-lock-keywords-builder): Temporarily remove fallback on
fbcc67e2
MM
16746 ansi keywords.
16747 (sql-regexp-abbrev, sql-regexp-abbrev-list): New functions.
0757af94 16748 (sql-mode-oracle-font-lock-keywords): Improve.
fbcc67e2
MM
16749 (sql-oracle-show-reserved-words): New function for development.
16750 (sql-product-font-lock): Simplify for source code buffers.
16751 (sql-product-syntax-table, sql-product-font-lock-syntax-alist):
16752 New functions.
16753 (sql-highlight-product): Set product specific syntax table.
0757af94
SM
16754 (sql-mode-map): Add statement movement functions.
16755 (sql-ansi-statement-starters, sql-oracle-statement-starters):
16756 New variable.
fbcc67e2
MM
16757 (sql-statement-regexp, sql-beginning-of-statement)
16758 (sql-end-of-statement, sql-signum): New functions.
0757af94 16759 (sql-buffer-live-p, sql=find-sqli-buffer): Add CONNECTION parameter.
fbcc67e2
MM
16760 (sql-show-sqli-buffer): Bug fix.
16761 (sql-interactive-mode): Store connection data as buffer local.
0757af94 16762 (sql-connect): Add NEW-NAME parameter. Redesign interaction
fbcc67e2
MM
16763 with sql-interactive-mode.
16764 (sql-save-connection): Save buffer local settings.
0757af94 16765 (sql-connection-menu-filter): Change menu entry name.
fbcc67e2
MM
16766 (sql-product-interactive): Bug fix.
16767 (sql-preoutput-hold): New variable.
16768 (sql-interactive-remove-continuation-prompt): Bug fixes.
16769 (sql-debug-redirect): New variable.
16770 (sql-str-literal): New function.
16771 (sql-redirect, sql-redirect-one, sql-redirect-value, sql-execute):
0757af94 16772 Redesign.
fbcc67e2
MM
16773 (sql-oracle-save-settings, sql-oracle-restore-settings)
16774 (sql-oracle-list-all, sql-oracle-list-table): New functions.
16775 (sql-completion-object, sql-completion-column)
16776 (sql-completion-sqlbuf): New variables.
16777 (sql-build-completions-1, sql-build-completions)
16778 (sql-try-completion): New functions.
16779 (sql-read-table-name): Use them.
16780 (sql-contains-names): New buffer local variable.
16781 (sql-list-all, sql-list-table): Use it.
16782 (sql-oracle-completion-types): New variable.
16783 (sql-oracle-completion-object, sql-sqlite-completion-object)
16784 (sql-postgres-completion-object): New functions.
16785
d4eaeab1
GM
167862011-07-06 Glenn Morris <rgm@gnu.org>
16787
16788 * window.el (pop-to-buffer): Doc fix.
16789
322b7dab 167902011-07-06 Markus Heiser <markus.heiser@darmarit.de> (tiny change)
a1d3a912
CY
16791
16792 * progmodes/gud.el (gud-pdb-marker-regexp): Accept \r char (Bug#5653).
16793
322b7dab 167942011-07-06 Chong Yidong <cyd@stupidchicken.com>
0484d600 16795
322b7dab 16796 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
4f8f657f 16797
322b7dab 16798 * info.el (Info-directory-toc-nodes): Minor doc fix (Bug#8833).
8f43cbf3 16799
605dd5bf
CY
168002011-07-05 Chong Yidong <cyd@stupidchicken.com>
16801
16802 * button.el (button): Inherit from link face. Suggested by Dan
16803 Nicolaescu.
16804
7dbfa719
SM
168052011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
16806
3db614b0
SM
16807 * progmodes/gdb-mi.el: Fit in 80 columns.
16808 (gdb-setup-windows, gdb-restore-windows): Avoid other-window and
16809 switch-to-buffer.
16810
7dbfa719
SM
16811 * progmodes/which-func.el (which-func-ff-hook): Don't output a message
16812 if imenu is simply not configured (bug#8941).
16813
919d884a
KM
168142011-07-05 Ken Manheimer <ken.manheimer@gmail.com>
16815
16816 * allout.el (allout-post-undo-hook): New allout outline-change
16817 event hook to signal undo activity.
16818 (allout-post-command-business): Run allout-post-undo-hook if an
16819 undo just occurred.
7dbfa719
SM
16820 (allout-after-copy-or-kill-hook, allout-mode): Minor docstring changes.
16821 * allout-widgets.el (allout-widgets-after-undo-function):
16822 Ensure the integrity of the current item's decoration after it has been
919d884a
KM
16823 in the vicinity of an undo.
16824 (allout-widgets-mode): Include allout-widgets-after-undo-function
16825 on the new allout-post-undo-hook.
16826
450a0f09
SM
168272011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
16828
16829 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-abbrev-table):
16830 Let define-derived-mode define it.
16831 * emacs-lisp/derived.el (define-derived-mode): Try to avoid creating
16832 cycles of abbrev-table inheritance (bug#8998).
16833
2de69e00
RW
168342011-07-05 Roland Winkler <winkler@gnu.org>
16835
16836 * textmodes/bibtex.el: Add support for biblatex.
16837 (bibtex-BibTeX-entry-alist, bibtex-biblatex-entry-alist)
16838 (bibtex-BibTeX-field-alist, bibtex-biblatex-field-alist)
16839 (bibtex-dialect-list, bibtex-dialect, bibtex-no-opt-remove-re)
16840 (bibtex-entry-alist, bibtex-field-alist): New variables.
16841 (bibtex-entry-field-alist): Obsolete alias for
16842 bibtex-BibTeX-entry-alist.
16843 (bibtex-entry-alist, bibtex-field-alist): New widgets.
16844 (bibtex-set-dialect): New command.
16845 (bibtex-entry-type, bibtex-entry-head)
450a0f09
SM
16846 (bibtex-entry-maybe-empty-head, bibtex-any-valid-entry-type):
16847 Bind via bibtex-set-dialect.
2de69e00
RW
16848 (bibtex-Article, bibtex-Book, bibtex-Booklet, bibtex-InBook)
16849 (bibtex-InCollection, bibtex-InProceedings, bibtex-Manual)
16850 (bibtex-MastersThesis, bibtex-Misc, bibtex-PhdThesis)
16851 (bibtex-Proceedings, bibtex-TechReport, bibtex-Unpublished):
16852 Define via bibtex-set-dialect.
450a0f09
SM
16853 (bibtex-name-in-field, bibtex-remove-OPT-or-ALT):
16854 Obey bibtex-no-opt-remove-re.
2de69e00
RW
16855 (bibtex-vec-push, bibtex-vec-incr): New functions.
16856 (bibtex-format-entry, bibtex-field-list)
16857 (bibtex-print-help-message, bibtex-validate)
16858 (bibtex-search-entries): Use new format of bibtex-entry-alist.
16859
2dcdbdd9
SM
168602011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
16861
16862 * progmodes/compile.el (compilation-goto-locus):
16863 * net/tramp-cmds.el (tramp-append-tramp-buffers):
16864 * bs.el (bs-cycle-next, bs-cycle-previous):
16865 * bookmark.el (bookmark-bmenu-list, bookmark-bmenu-2-window):
16866 * bindings.el (mode-line-other-buffer):
16867 * autoinsert.el (auto-insert):
16868 * arc-mode.el (archive-extract):
16869 * abbrev.el (edit-abbrevs): Fix some uses of switch-to-buffer.
16870
b27640fe
JB
168712011-07-05 Juanma Barranquero <lekktu@gmail.com>
16872
16873 * emacs-lock.el (emacs-lock-mode): Fix typo in variable name.
16874 Fix check of `emacs-lock-unlockable-modes'.
16875 Coerce true values of `emacs-lock--try-unlocking' to t.
16876
53bbe3ad
JB
168772011-07-05 Juanma Barranquero <lekktu@gmail.com>
16878
16879 * obsolete/old-emacs-lock.el: Rename from emacs-lock.el.
16880 * emacs-lock.el: New file.
16881
1d3cdbc7
JD
168822011-07-05 Julien Danjou <julien@danjou.info>
16883
16884 * textmodes/rst.el (rst-define-level-faces): Use `facep' rather
16885 than `boundp' to check if face is set.
16886
9173deec
JB
168872011-07-05 Juanma Barranquero <lekktu@gmail.com>
16888
16889 * register.el (registerv-make):
16890 * window.el (window-min-height): Fix typos in docstrings.
16891
869795d6
JD
168922011-07-05 Jan Djärv <jan.h.d@swipnet.se>
16893
9173deec 16894 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
869795d6
JD
16895 Update doc string.
16896
b768cdcd
JB
168972011-07-04 Juanma Barranquero <lekktu@gmail.com>
16898
16899 * server.el (server-execute): Catch quit and call
16900 `server-return-error' to pass the error back to emacsclient and
16901 close the connection (bug#8942).
16902
13aa217b
KM
169032011-07-04 Ken Manheimer <ken.manheimer@gmail.com>
16904
16905 * allout.el (allout-encrypt-unencrypted-on-saves): Do not provide
16906 insecure exception for current topic. Also note that auto-saves
16907 are handled differently.
16908
5d3385a0 16909 (allout-auto-save-temporarily-disabled, allout-just-did-undo):
13aa217b
KM
16910 State variables for tracking auto-save inhibition situation.
16911
16912 (allout-write-contents-hook-handler): Rename from
16913 'allout-write-file-hook-handler', and describe how it depends on
16914 write-contents-functions sensitivity to non-nil value to prevent
16915 file write.
16916
16917 (allout-auto-save-hook-handler): Remove. auto-save does not check
16918 this in individual buffers, only in the starting buffer, so this
16919 is not the right way for us to inhibit auto-save in a buffer
16920 according to its condition.
16921
16922 (allout-mode): Use new allout-write-contents-hook-handler, and
16923 only with write-contents-functions. Remove auto-save provisions -
16924 they're implemented elsewhere.
16925
16926 (allout-before-change-handler): If undo is in progress, note that
16927 for attention of allout-post-command-business.
16928
16929 (allout-post-command-business): If the command we're following was
16930 an undo, check for change in the status of encrypted items and
16931 adjust auto-save inhibitions accordingly.
16932
16933 (allout-toggle-subtree-encryption): Adjust auto-save inhibition
16934 according to whether there are or aren't any plain-text topics
16935 pending encryption.
16936
2dcdbdd9 16937 (allout-inhibit-auto-save-info-for-decryption):
1154d12e
JB
16938 Adjust buffer-saved-size and some allout state to inhibit auto-saves
16939 if there are plain-text topics pending encryption.
13aa217b
KM
16940
16941 (allout-maybe-resume-auto-save-info-after-encryption): Adjust
16942 buffer-saved-size and some allout state to not inhibit auto-saves
16943 if there are no longer any plain-text topics pending encryption.
16944
0757af94
SM
16945 (allout-next-topic-pending-encryption, allout-encrypt-decrypted):
16946 No longer provide for exemption of the current topic.
13aa217b 16947
ac89b32c
JL
169482011-07-04 Juri Linkov <juri@jurta.org>
16949
16950 Add 7z operations to delete and save changed members (bug#8968).
16951 * arc-mode.el (archive-7z-expunge, archive-7z-update):
16952 New defcustoms.
16953 (archive-7z-write-file-member): New function.
16954 (archive-7z-summarize): Fix the number of dashes in the
16955 listing output.
16956
8fa39615
SM
169572011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
16958
16959 * pcmpl-linux.el (pcomplete-pare-list): Re-add, from pcomplete.el
16960 (bug#8958).
16961
2f11b3f1
CY
169622011-07-04 Chong Yidong <cyd@stupidchicken.com>
16963
d66fef2b
CY
16964 * bindings.el: Ignore next-buffer and previous-buffer in
16965 minibuffer-local-map.
16966
2f11b3f1
CY
16967 * font-lock.el (font-lock-builtin-face): Change light background
16968 color to dark slate blue (Bug#6693).
16969
f932a347
WD
169702011-07-04 Wang Diancheng <dcwang@kingbase.com.cn> (tiny change)
16971
16972 * progmodes/gdb-mi.el (gdb): Use completion-at-point.
16973
c8af70e1
SM
169742011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
16975
16976 * files.el (find-file): Use pop-to-buffer-same-window (bug#8911).
16977 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
16978 Add switch-to-buffer.
16979
f158badc
LMI
169802011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
16981
16982 * isearch.el (isearch-search-fun-function): Clarify further the
16983 meaning of the function returned.
16984
6d95bd46
MA
169852011-07-04 Michael Albinus <michael.albinus@gmx.de>
16986
16987 * net/tramp-cmds.el (tramp-cleanup-this-connection): New command.
16988
16989 * net/tramp-sh.el (tramp-color-escape-sequence-regexp): New defconst.
16990 (tramp-sh-handle-insert-directory, tramp-convert-file-attributes):
16991 Use it.
16992 (tramp-remote-path): Add "/bin" and "/usr/bin". On busyboxes,
16993 `tramp-default-remote-path' does not exist.
16994 (tramp-send-command-and-read): New optional argument NOERROR.
16995 (tramp-open-connection-setup-interactive-shell)
16996 (tramp-get-remote-path, tramp-get-remote-stat): Use it.
16997 (tramp-get-remote-readlink): Do not mask with `ignore-errors'.
16998 (tramp-process-sentinel): Flush also process' connection property.
16999 (tramp-sh-handle-start-file-process): Do not set process
17000 sentinel. It is done now ...
17001 (tramp-maybe-open-connection): ... here. (Bug#8929)
17002
909e6b67
MK
170032011-07-04 MON KEY <monkey@sandpframing.com>
17004
17005 * play/animate.el (animate-string): Doc fixes and allow changing
17006 the buffer name (bug#5417).
17007
170082011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
17009
c8af70e1 17010 * play/animate.el (animation-buffer-name): Rename from *animate*.
909e6b67 17011
f34755dc
PE
170122011-07-04 Paul Eggert <eggert@cs.ucla.edu>
17013
396cec72
PE
17014 * emacs-lisp/timer.el: Use time-date fns rather than rolling our own.
17015 This is simpler and helps future-proof the code.
17016 (timer-until): Use time-subtract and float-time.
08235028 17017 (timer--time-less-p): Use time-less-p.
f34755dc 17018
56e6cc31
JB
170192011-07-04 Juanma Barranquero <lekktu@gmail.com>
17020
3abb79e5
JB
17021 * type-break.el (timep): Use the value of `float-time' to avoid a
17022 byte-compiler warning.
17023
56e6cc31
JB
17024 * server.el (server-eval-and-print): Return any result, even nil.
17025
7b9430b4
PE
170262011-07-03 Paul Eggert <eggert@cs.ucla.edu>
17027
17028 * type-break.el: Accept time formats that the builtins accept.
17029 (timep, type-break-time-difference): Accept any format that
17030 float-time accepts, rather than insisting on (HIGH LOW USECS) format.
17031 This is simpler and helps future-proof the code.
17032 (type-break-time-difference): Round rather than ignoring
17033 subseconds components.
17034
3034e9e7
LMI
170352011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
17036
17037 * info.el (Info-apropos-matches): Make non-interactive, since it
17038 doesn't seem to do anything useful as a command (bug#8829).
17039
1485f4c0
CY
170402011-07-03 Chong Yidong <cyd@stupidchicken.com>
17041
17042 * frame.el (frame-background-mode, frame-set-background-mode):
c8af70e1 17043 Move from faces.el.
1485f4c0
CY
17044 (frame-default-terminal-background): New function.
17045
17046 * custom.el (custom-push-theme): Don't record faces in `changed'
17047 theme; this doesn't work correctly for per-frame face settings.
17048 (disable-theme): Use face-set-after-frame-default to reset faces.
17049 (custom--frame-color-default): New function.
17050
9fa3dd45
LMI
170512011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
17052
c8af70e1 17053 * dired.el (dired-flagging-regexp): Remove unused variable
9fa3dd45
LMI
17054 (bug#8769).
17055
6cbbc20c
KR
170562011-03-29 Kevin Ryde <user42@zip.com.au>
17057
17058 * progmodes/compile.el (compilation-error-regexp-alist-alist):
17059 `perl-Test2' extend to match possible "fail #N" rep count
17060 (bug#8377).
17061
c7f98048
LMI
170622011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
17063
65676592
LMI
17064 * mail/feedmail.el (feedmail-buffer-to-smtpmail):
17065 `smtpmail-via-smtp' now returns the error instead of nil.
17066
c7f98048
LMI
17067 * isearch.el (isearch-search-fun-function): Clarify the doc string
17068 (bug#8101).
17069
56e6cc31 170702011-07-03 Richard Kim <emacs18@gmail.com> (tiny change)
9a51c6c7
RK
17071
17072 * textmodes/texnfo-upd.el (texinfo-insert-menu): Don't insert
17073 unnecessary spaces (bug#8987).
17074
2b216704
LMI
170752011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
17076
17077 * net/network-stream.el (open-network-stream): Use the
17078 :end-of-capability command thoughout.
17079
170802011-07-03 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
17081
17082 * net/network-stream.el (open-network-stream): Add the
17083 :end-of-capability command parameter, used by pop3.el.
17084
36adf6ce
LMI
170852011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
17086
1ca0da0e
LMI
17087 * dired.el (dired-map-over-marks): Refill the doc string (bug#6814).
17088
fc00f69c
LMI
17089 * fringe.el (fringe-query-style): Remove redundant text " (type ?
17090 for list)" (bug#6475).
17091
28fd8759 17092 * files.el (file-expand-wildcards): Ignore non-readable
8350f087 17093 sub-directories while trying to find matches instead of signaling
28fd8759
LMI
17094 an error (bug#6297).
17095
0dd8b6da
LMI
17096 * man.el (Man-reference-regexp): Allow matching possible
17097 word-wrapped references (bug#6289).
17098
ce1438d6
LMI
17099 * vc/vc.el (vc-modify-change-comment): Change *VC-log* to *vc-log*
17100 for consistency with the other vc buffers (bug#6197).
17101 (vc-checkin): Ditto.
17102
17103 * vc/vc-arch.el: Fix comments to match the *VC-log* name change.
17104
36adf6ce
LMI
17105 * longlines.el (longlines-mode): Document what ARG does (bug#6150).
17106
e83cc1f7
LMI
171072011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
17108
8a20ca4c
LMI
17109 * custom.el (defcustom): Clarify that :set is only used in the
17110 Customize user interface (bug#6089).
17111
83319045
LMI
17112 * progmodes/flymake.el (flymake-mode): If the buffer isn't
17113 associated with a file, refuse to run instead of erroring out
17114 (bug#6084).
17115
a8392169
LMI
17116 * textmodes/fill.el (fill-region): Remove the "Ordinarily" from
17117 the doc string, since it appears that using `fill-column' always
17118 controls the width (bug#7845).
17119
e83cc1f7
LMI
17120 * simple.el (shell-command-on-region): Say where the error output
17121 went if `shell-command-default-error-buffer' is set (bug#6857).
17122
e47ca23b
KM
171232011-07-02 Ken Manheimer <ken.manheimer@gmail.com>
17124
17125 * allout.el (allout-yank-processing): Adjust cursor position for
17126 backwards-deleted space.
17127
17128 (allout-rebullet-heading): Register changes with
17129 allout-exposure-changed-hook, so the modified topic is properly
17130 decorated.
17131
5cf56143
LMI
171322011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
17133
08549772
LMI
17134 * minibuffer.el (completion-in-region): Document PREDICATE
17135 (bug#7136).
17136
48e96771
LMI
17137 * info-look.el (info-lookup-add-help): Clarify that ARGS is a list
17138 of keyword/argument pairs (bug#6904).
17139
c8af70e1
SM
17140 * replace.el (multi-occur):
17141 Mention `multi-occur-in-matching-buffers' in the doc string (bug#7566).
5cf56143 17142
e17d05e2
LMI
171432011-07-02 Drew Adams <drew.adams@oracle.com>
17144
17145 * dired.el (dired-mark-if): Make the message about whether it's
17146 marking or unmarking clearer (bug#8523).
17147
063b0e45
LMI
171482011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
17149
17150 * disp-table.el (display-table-print-array): New function.
17151 (describe-display-table): Use it to print the vectors more pretty
17152 (Bug#8859).
17153
28545e04
MR
171542011-07-02 Martin Rudalics <rudalics@gmx.at>
17155
17156 * window.el (window-state-get-1): Don't assign clone numbers.
17157 Add clone-of item to list of window parameters.
17158 (window-state-put-2): Don't process clone numbers.
17159 (display-buffer-alist): Fix doc-string.
17160
3349e122
SM
171612011-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
17162
17163 * subr.el (remq): Don't allocate if it's not needed.
17164 (keymap--menu-item-binding, keymap--menu-item-with-binding)
17165 (keymap--merge-bindings): New functions.
17166 (keymap-canonicalize): Use them to refine the canonicalization.
17167 * minibuffer.el (minibuffer-local-completion-map)
17168 (minibuffer-local-must-match-map): Move initialization from C.
17169 (minibuffer-local-filename-completion-map): Move initialization from C;
17170 don't inherit from anything here.
17171 (minibuffer-local-filename-must-match-map): Make obsolete.
17172 (completing-read-default): Use make-composed-keymap to combine
17173 minibuffer-local-filename-completion-map with either
17174 minibuffer-local-must-match-map or
17175 minibuffer-local-filename-completion-map.
17176
d224ac83
GM
171772011-07-01 Glenn Morris <rgm@gnu.org>
17178
3de63bf8
GM
17179 * type-break.el (type-break-time-sum): Use dolist.
17180
d224ac83
GM
17181 * textmodes/flyspell.el (flyspell-word-search-backward):
17182 Replace CL function.
17183
1a1e3f32
SM
171842011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
17185
fe3f64d5
SM
17186 * mouse.el (mouse--strip-first-event): New function.
17187 (function-key-map): Use it to map fringe clicks to normal clicks
17188 by default.
17189
eb604e34
SM
17190 * vc/vc-bzr.el (vc-bzr-revision-keywords): Update.
17191 (vc-bzr-revision-completion-table): Add support for annotate and date.
17192
1a1e3f32
SM
17193 * emacs-lisp/derived.el (define-derived-mode): Make abbrev-table
17194 inherit from parent.
17195
5bd35902
LMI
171962011-07-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
17197
ace6c69c 17198 * dired-aux.el (dired-diff): Doc fixup (bug#8816).
26bde865 17199 (dired-show-file-type): Doc fixup (bug#8818).
ace6c69c 17200
191e2bed
LMI
17201 * dired.el (dired-mode): Fix up the doc string as suggested by
17202 Drew Adams (bug#8817).
17203
5bd35902
LMI
17204 * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
17205 cookie, since the manual says that it should be possible to add
17206 this function to `find-file-hook' (bug#8709).
17207
eee8207a
TZ
172082011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
17209
17210 * progmodes/cfengine.el: Moved all cfengine3.el functionality
17211 here. Noted Ted Zlatanov as the maintainer.
17212 (cfengine-common-settings, cfengine-common-syntax): New functions
17213 to set up common things between `cfengine-mode' and
17214 `cfengine3-mode'.
17215 (cfengine3-mode): New mode.
17216 (cfengine3-defuns cfengine3-defuns-regex
17217 (cfengine3-class-selector-regex cfengine3-category-regex)
17218 (cfengine3-vartypes cfengine3-font-lock-keywords)
17219 (cfengine3-beginning-of-defun, cfengine3-end-of-defun)
eb604e34 17220 (cfengine3-indent-line): Add from cfengine3.el.
eee8207a 17221
36b148cf
MA
172222011-07-01 Michael Albinus <michael.albinus@gmx.de>
17223
17224 * net/tramp.el (tramp-encoding-command-interactive): New defcustom.
17225
17226 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
17227
0bf4ba9a
MR
172282011-07-01 Martin Rudalics <rudalics@gmx.at>
17229
17230 * window.el (same-window-buffer-names, same-window-regexps)
17231 (same-window-p, special-display-frame-alist)
17232 (special-display-popup-frame, special-display-function)
17233 (special-display-buffer-names, special-display-regexps)
17234 (special-display-p, pop-up-frame-alist, pop-up-frame-function)
17235 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
17236 (split-window-preferred-function, split-height-threshold)
17237 (split-width-threshold, even-window-heights)
17238 (display-buffer-mark-dedicated, window-splittable-p)
17239 (split-window-sensibly, window-safely-shrinkable-p):
17240 Un-obsolete.
17241 (display-buffer): Don't spread args with function specifier
17242 because special-display-popup-frame won't like it.
17243
35837f51
PE
172442011-07-01 Paul Eggert <eggert@cs.ucla.edu>
17245
d0672f86
PE
17246 Time-stamp simplifications and fixes.
17247 These improve accuracy slightly, and future-proof the code
17248 against some potential changes to current-time format.
17249
b9444d97
PE
17250 * woman.el (woman-decode-buffer, WoMan-log-end): Log fractional secs
17251 by using time-since and float-time.
17252
0ef923dc
PE
17253 * vc/ediff-util.el (ediff-calc-command-time): Use time-since
17254 and float-time. Say "NNN.NNN seconds" rather than "NNN seconds
17255 + NNN microseconds".
17256
2f81380d
PE
17257 * type-break.el (type-break-time-sum): Rewrite using time-add.
17258
845b5c3e
PE
17259 * play/hanoi.el (hanoi-current-time-float): Remove.
17260 All uses replaced by float-time.
17261
ee6f1be0
PE
17262 * nxml/rng-maint.el (rng-time-function): Rewrite using time-subtract.
17263 This yields a more-accurate answer.
17264 (rng-time-to-float): Remove; no longer needed.
17265
fe955043
PE
17266 * emacs-lisp/timer.el (timer-relative-time): Use time-add.
17267
5777162a
PE
17268 * calendar/timeclock.el (timeclock-seconds-to-time):
17269 Defalias to seconds-to-time, since they're the same thing.
17270
3103f8b6 17271 * emacs-lisp/elp.el (elp-elapsed-time):
e2bac5f6 17272 * emacs-lisp/benchmark.el (benchmark-elapse):
35837f51
PE
17273 * allout-widgets.el (allout-elapsed-time-seconds): Use float-time.
17274
0e61a35f
SM
172752011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
17276
17277 * window.el (bury-buffer): Don't iconify the only frame.
17278 (switch-to-buffer): Revert to Emacs<23 behavior, i.e. do not fallback
17279 to pop-to-buffer. Use pop-to-buffer-same-frame if you don't like that.
17280
ddd63a1e
CY
172812011-07-01 Chong Yidong <cyd@stupidchicken.com>
17282
0e61a35f
SM
17283 * eshell/em-smart.el (eshell-smart-display-navigate-list):
17284 Add mouse-yank-primary.
ddd63a1e 17285
055f4923
TZ
172862011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
17287
17288 * progmodes/cfengine3.el: New file to support CFEngine 3.x.
17289
6a2fb145
SM
172902011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
17291
17292 * emacs-lisp/find-func.el (find-library--load-name): New fun.
17293 (find-library-name): Use it to find relative load names when provided
17294 absolute file name (bug#8803).
17295
fd4983f2
LMI
172962011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
17297
887d14ad
LMI
17298 * textmodes/flyspell.el (flyspell-word): Consider words that
17299 differ only in case as potential doublons (bug#5687).
17300
c53dc7fc
LMI
17301 * net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
17302 Remove two rather uninteresting debugging-like messages to make
17303 debbugs.el more silent.
17304
fd4983f2
LMI
17305 * comint.el (comint-password-prompt-regexp): Accept "Response" as
17306 a password-like phrase.
17307
7a71b18d 173082011-06-30 Masatake YAMATO <yamato@redhat.com>
b14c0c55
AM
17309
17310 * progmodes/cc-guess.el: New file.
17311
6a2fb145 17312 * progmodes/cc-langs.el (c-mode-menu): Add "Style..." submenu.
b14c0c55
AM
17313
17314 * progmodes/cc-styles.el (cc-choose-style-for-mode): New function
17315 derived from `c-basic-common-init'.
17316
17317 * progmodes/cc-mode.el (top-level): Require cc-guess.
17318 (c-basic-common-init): Use `cc-choose-style-for-mode'.
17319
1fa280a3
LM
173202011-06-30 Lawrence Mitchell <wence@gmx.li>
17321
17322 * progmodes/js.el (js-mode): Don't stomp on global settings (bug#8933).
17323
e6597158
AM
173242011-06-30 Alan Mackenzie <acm@muc.de>
17325
1fa280a3
LM
17326 * progmodes/cc-engine.el (c-guess-continued-construct):
17327 Correct the handling of template-args-cont, particularly for when font
e6597158
AM
17328 lock is disabled. Name this case as "CASE G".
17329
68ba37fb
KM
173302011-06-30 Ken Manheimer <ken.manheimer@gmail.com>
17331
17332 * allout.el (allout-yank-processing): Fix injection of extra space
17333 between bullet and non-whitespace character in first topic when
17334 pasting, ensuring that the actual spacing in the pasted topic
17335 following the bullet char is preserved. This extra space was
17336 causing pasted encrypted topics to get a decrypted status even
17337 when the content was actually still encrypted. Now the decryption
17338 status from before the paste is preserved.
17339
17340 (allout-flag-region): Set all allout overlays so they evaporate
17341 when reduced to zero length (evanescent), to prevent overlay
17342 leakage.
17343
887a0b34
GM
173442011-06-30 Glenn Morris <rgm@gnu.org>
17345
94b9acce
GM
17346 * w32-fns.el (w32-charset-info-alist): Declare.
17347
1d9b46d4
GM
17348 * find-dired.el (find-grep-options): Simplify.
17349
cc232200
GM
17350 * term/ns-win.el (ns-set-resource): Declare.
17351
28e77c46
GM
17352 * ses.el (row, col): Declare dynamic variables honestly.
17353
887a0b34
GM
17354 * textmodes/reftex-parse.el (index-tags): Declare.
17355
658d8eb8
CY
173562011-06-30 Chong Yidong <cyd@stupidchicken.com>
17357
17358 * cus-edit.el (customize-push-and-save): New function.
17359
17360 * files.el (hack-local-variables-confirm): Use it.
17361
1fa280a3
LM
17362 * custom.el (load-theme): New arg NO-CONFIRM.
17363 Use customize-push-and-save (Bug#8720).
658d8eb8
CY
17364 (custom-enabled-themes): Doc fix.
17365
17366 * cus-theme.el (customize-create-theme)
17367 (custom-theme-merge-theme): Callers to load-theme changed.
17368
bb617717
LMI
173692011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
17370
d61bdd5d
LMI
17371 * thingatpt.el (thing-at-point-short-url-regexp): Require that
17372 short URLs have at least one dot in them (bug #7614).
17373
bb617717
LMI
17374 * progmodes/grep.el (rgrep): Bind `process-connection-type' to
17375 nil, because using a pty is apparently too slow (bug #895).
17376
2f31f37a
LMI
173772011-06-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
17378
17379 * mail/sendmail.el (sendmail-query-once): New function.
17380 (sendmail-query-once-function): New variable.
17381
3076b24e
GM
173822011-06-29 Glenn Morris <rgm@gnu.org>
17383
faf2a174
GM
17384 * files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.
17385
3076b24e
GM
17386 * ses.el (top-level): Require cl when compiling.
17387 (ses-set-localvars): Fix error statement.
17388 Call it at compile time to silence a storm of warnings.
17389
5386012d
MR
173902011-06-29 Martin Rudalics <rudalics@gmx.at>
17391
17392 * window.el (normalize-live-buffer): Rename to
17393 window-normalize-buffer.
17394 (normalize-live-frame): Rename to window-normalize-frame.
17395 (normalize-any-window): Rename to window-normalize-any-window.
17396 (normalize-live-window): Rename to window-normalize-live-window.
17397 (make-window-atom): Rename to window-make-atom.
17398 (window-resize-reset): Rename to window--resize-reset.
17399 (window-resize-reset-1): Rename to window--resize-reset-1.
17400 (resize-mini-window): Rename to window--resize-mini-window.
17401 (resize-subwindows-skip-p): Rename to
17402 window--resize-subwindows-skip-p.
17403 (resize-subwindows-normal): Rename to
17404 window--resize-subwindows-normal.
17405 (resize-subwindows): Rename to window--resize-subwindows.
17406 (resize-other-windows): Rename to window--resize-siblings.
17407 (resize-this-window): Rename to window--resize-this-window.
17408 (resize-root-window): Rename to window--resize-root-window.
17409 (resize-root-window-vertically): Rename to
17410 window--resize-root-window-vertically.
17411 (normalize-buffer-to-display): Rename to
17412 window-normalize-buffer-to-display.
17413 (normalize-buffer-to-switch-to): Rename to
17414 window-normalize-buffer-to-switch-to.
17415 Correspondingly update all callers of the functions listed
17416 above.
17417 (display-buffer-alist, display-buffer-normalize-arguments)
17418 (display-buffer-normalize-options, display-buffer)
17419 (display-buffer-alist-set): Use "function" instead of
17420 "fun-with-args".
17421
1176868d
CY
174222011-06-28 Chong Yidong <cyd@stupidchicken.com>
17423
17424 * mail/emacsbug.el (report-emacs-bug): Handle non-gnu bug
17425 addresses more clearly. Add hyperlinks for bug-gnu-emacs and
17426 debbugs.gnu.org. Mention acknowledgment email.
17427
20a7a65f
LMI
174282011-06-28 Lars Magne Ingebrigtsen <larsi@gnus.org>
17429
17430 * mail/smtpmail.el (smtpmail-send-it): Leave off changing the
17431 buffer multibyteness, since it shouldn't matter.
17432
5f45cca5
MR
174332011-06-28 Martin Rudalics <rudalics@gmx.at>
17434
17435 * window.el (display-buffer-in-side-window): Handle dedicated
17436 windows as in display-buffer-reuse-window.
17437 (display-buffer-normalize-alist): Use value of override
17438 specifier.
17439 (display-buffer-normalize-specifiers): Use value of
17440 other-window-means-other-frame specifier.
17441 (display-buffer-alist): Rewrite some texts in widgets.
17442 (display-buffer): Spread arguments when calling function
17443 specified by fun-with-args.
17444
ad85fe1f
DD
174452011-06-28 Deniz Dogan <deniz@dogan.se>
17446
1fa280a3
LM
17447 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
17448 Unnest `let'.
da68c4c8 17449
ad85fe1f
DD
17450 * textmodes/css-mode.el (css-font-lock-keywords): Fix grouped
17451 selectors (Bug#5732).
ec49bd31 17452 (css-proprietary-nmstart-re): Use `regexp-opt'.
ad85fe1f 17453
a08cc025
JA
174542011-06-27 Jari Aalto <jari.aalto@cante.net>
17455
17456 * eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).
17457 (eshell-ls-date-format): New defcustom.
17458 (eshell-ls-file): Use it.
17459
e2b551c5
SM
174602011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
17461
17462 * help-fns.el (describe-variable): Fix message for terminal-local vars.
17463
8982b231
KY
174642011-06-27 Katsumi Yamaoka <yamaoka@jpl.org>
17465
17466 * net/ange-ftp.el: Allow loading .gz files (Bug#6923).
17467 (ange-ftp-make-tmp-name): New arg.
17468 (ange-ftp-file-local-copy): Use it.
17469
36c9fa27
J
174702011-06-27 Jambunathan K <kjambunathan@gmail.com>
17471
17472 * tar-mode.el (tar-untar-buffer): Set coding-system-for-write to
17473 no-conversion (Bug#8870).
17474
d68443dc
MR
174752011-06-27 Martin Rudalics <rudalics@gmx.at>
17476
17477 * window.el (window-right, window-left, window-child)
17478 (window-child-count, window-last-child)
17479 (window-iso-combination-p, walk-window-tree-1)
17480 (window-atom-check-1, window-tree-1, delete-window)
17481 (window-state-get-1, display-buffer-even-window-sizes): Adapt to
17482 new naming conventions - window-vchild, window-hchild,
17483 window-next and window-prev are now called window-top-child,
17484 window-left-child, window-next-sibling and window-prev-sibling
17485 respectively.
d615d6d2
MR
17486 (resize-window-reset): Rename to window-resize-reset.
17487 (resize-window-reset-1): Rename to window-resize-reset-1.
17488 (resize-window): Rename to window-resize.
17489 (window-min-height, window-min-width)
17490 (resize-mini-window, resize-this-window, resize-root-window)
17491 (resize-root-window-vertically, adjust-window-trailing-edge)
17492 (enlarge-window, shrink-window, maximize-window)
17493 (minimize-window, delete-window, quit-restore-window)
17494 (split-window, balance-windows, balance-windows-area-adjust)
17495 (balance-windows-area, window-state-put-2)
17496 (display-buffer-even-window-sizes, display-buffer-set-height)
17497 (display-buffer-set-width, set-window-text-height)
17498 (fit-window-to-buffer): Rename all "resize-window" prefixed
17499 calls to use the "window-resize" prefix convention.
17500 (display-buffer-alist): Fix symbol for label specifier.
17501 (display-buffer-reuse-window): Set reuse-dedicated to cdr of
17502 corresponding specifier.
17503 Reported by Juanma Barranquero <lekktu@gmail.com>.
d68443dc 17504
b6458526
VB
175052011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
17506
17507 * ses.el (ses-destroy-cell-variable-range): Fix heading comment
17508 convention.
17509 (ses-call-printer): Does not pass an empty string to formatter when the
17510 cell is empty to keep from barking printer Calc math-format-value.
17511
d31fd9ac
RS
175122011-06-27 Richard Stallman <rms@gnu.org>
17513
43d5bf84
RS
17514 * battery.el (battery-mode-line-limit): New variable.
17515 (battery-update): Handle it.
17516
d31fd9ac
RS
17517 * mail/rmailmm.el (rmail-mime-process-multipart):
17518 Handle truncated messages.
17519
819a6054
GM
175202011-06-27 Glenn Morris <rgm@gnu.org>
17521
17522 * progmodes/flymake.el (flymake-err-line-patterns):
17523 Allow for column numbers in the ant/javac pattern. (Bug#8866)
17524
cedc73f2
VB
175252011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
17526
819a6054 17527 * ses.el (ses-relocate-range): Keep rest of arguments for ses-range.
cedc73f2
VB
17528 (ses--clean-!, ses--clean-_): New functions.
17529 (ses-range): Add configurability of readout order, and conversion
17530 to Calc vector.
17531
5e5d49b6
VB
17532 * ses.el (ses-repair-cell-reference-all): New function.
17533 (ses-cell-symbol): Set macro as safe, so that it can be used in
17534 formulas.
17535
56e6cc31 17536 * ses.el: Update cycle detection algorithm.
90ca8b49 17537 (ses-localvars): Add ses--Dijkstra-attempt-nb and
819a6054 17538 ses--Dijkstra-weight-bound, and initial values thereof when applicable.
90ca8b49
VB
17539 (ses-set-localvars): New function.
17540 (ses-make-cell): Add property-list as a cell element.
17541 (ses-cell-property-get-fun, ses-cell-property-get)
17542 (ses-cell-property-delq-fun, ses-cell-property-set-fun)
819a6054
GM
17543 (ses-cell-property-pop-fun, ses-cell-property-get-handle-fun):
17544 New functions.
90ca8b49
VB
17545 (ses-cell-property-set, ses-cell-property-pop)
17546 (ses-cell-property-get-handle): New macro.
17547 (ses-cell-property-handle-car, ses-cell-property-handle-setcar):
17548 New aliases, used for code readability.
17549 (ses-calculate-cell, ses-update-cells): Use Dijkstra algorithm for
17550 cycle detection.
17551 (ses-self-reference-early-detection): New defcustom.
fac916bf 17552 (ses-formula-references): Robustify against self-referring cells.
90ca8b49
VB
17553 (ses-mode): Use ses-set-localvars.
17554 (ses-command-hook): Add call to ses-initialize-Dijkstra-attempt
17555 before lauching the update processing.
17556 (ses-initialize-Dijkstra-attempt): New function.
17557 (ses-recalculate-cell): Update for cycle detection based on
17558 Dijkstra algorithm.
17559
2bb63e81
VB
17560 * ses.el: Fix commenting and indenting convention.
17561
c9d29fb8
SM
175622011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
17563
17564 * bs.el (bs-cycle-next): Complete last change.
17565
d8e4b68b
JB
175662011-06-27 Drew Adams <drew.adams@oracle.com>
17567
17568 * faces.el (list-faces-display): Add help-mode-map to output (bug#8939).
17569
40098786
LMI
175702011-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
17571
c9d29fb8
SM
17572 * net/network-stream.el (network-stream-open-starttls):
17573 Don't re-get capabilities unless we've reestablished connection.
f6ab314e
LMI
17574 (network-stream-open-starttls): Fix stupid typo with gnutls-clii.
17575
40098786
LMI
17576 * mail/smtpmail.el (smtpmail-via-smtp): Bind coding-system-for-*
17577 to binary to possibly avoid line encoding issues on Windows (among
17578 other things).
17579
468d09d4
LMI
175802011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
17581
17582 * net/network-stream.el (open-network-stream): Return an :error
17583 saying what the problem was, if possible.
17584
17585 * mail/smtpmail.el (smtpmail-via-smtp): Report the error from the
17586 server.
17587
17588 * net/network-stream.el (network-stream-open-starttls): If we
17589 wanted to use STARTTLS, and the server offered it, but we weren't
17590 able to because we had no STARTTLS support, then close the connection.
17591 (open-network-stream): Return an :error element, if present.
17592
16f07dd7
CY
175932011-06-26 Chong Yidong <cyd@stupidchicken.com>
17594
88821ca0
CY
17595 * hl-line.el (hl-line-sticky-flag): Doc fix.
17596 (global-hl-line-sticky-flag): New option (Bug#8323).
17597 (global-hl-line-highlight): Obey it.
17598
16f07dd7
CY
17599 * vc/vc.el (vc-revert-show-diff): Default to t.
17600
6b5ccddf
KM
176012011-06-26 Ken Manheimer <ken.manheimer@gmail.com>
17602
c9d29fb8
SM
17603 * allout-widgets.el (allout-widgets-post-command-business):
17604 Stop decorating intermediate isearch matches. They're not being
6b5ccddf
KM
17605 undecorated when an isearch is continued past, and isearch
17606 automatically collapses them. This leads to "widget leaks", where
17607 decorated items accumulate in collapsed areas. Lines with lots of
c9d29fb8
SM
17608 hidden widgets can slow down cursor travel, substantially.
17609 Too much complicated machinery would be needed to ensure undecoration,
6b5ccddf
KM
17610 so we're doing without this nicety.
17611
17612 (allout-widgets-tally-string): Don't try to do a hash-table-count
17613 of allout-widgets-tally when it's nil. This eliminates spurious "Error
17614 during redisplay: (wrong-type-argument hash-table-p nil)" warnings in
17615 *Messages* when allout-widgets-maintain-tally is t.
17616
355f2e07
MR
176172011-06-26 Martin Rudalics <rudalics@gmx.at>
17618
17619 * window.el (display-buffer-normalize-argument): Rename to
17620 display-buffer-normalize-arguments. Handle special meaning of
6b5ccddf
KM
17621 LABEL argument. Respect special-display-function when popping up
17622 a new frame. Fix code searching for a window showing the buffer
17623 on another frame.
c9d29fb8
SM
17624 (display-buffer-normalize-specifiers):
17625 Call display-buffer-normalize-arguments.
355f2e07
MR
17626 (display-buffer-in-window): Don't undedicate the window if its
17627 buffer remains the same.
17628 Reported by Drew Adams <drew.adams@oracle.com>.
17629 (display-buffer-alist): Add choice for same-window macro
17630 specfier.
17631 (display-buffer): Mention special meaning of LABEL argument in
17632 doc-string. Fix quoting. Don't pop up a new frame even as
17633 fallback.
17634
7ca8fc42
JB
176352011-06-26 Juanma Barranquero <lekktu@gmail.com>
17636
17637 * bs.el (bs-cycle-next): Pass current buffer to `bury-buffer' to
17638 avoid deleting the current window in some cases (bug#8911).
17639
bc312254
AS
176402011-06-26 Andreas Schwab <schwab@linux-m68k.org>
17641
17642 * emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
17643 (Bug#8934)
17644
2db18f3f
LMI
176452011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
17646
c9d29fb8
SM
17647 * net/network-stream.el (network-stream-open-starttls):
17648 Use built-in TLS support if `gnutls-available-p' is true.
2db18f3f
LMI
17649 (network-stream-open-tls): Ditto.
17650
6302e0d3
LL
176512011-06-26 Leo Liu <sdl.web@gmail.com>
17652
17653 * register.el (registerv): New struct.
17654 (registerv-make): New function.
c9d29fb8
SM
17655 (jump-to-register, describe-register-1, insert-register):
17656 Support the jump-func, print-func and insert-func slot of a registerv
6302e0d3
LL
17657 struct. (Bug#8415)
17658
5fdd4046
CY
176592011-06-26 Chong Yidong <cyd@stupidchicken.com>
17660
2afef60a
CY
17661 * vc/vc.el (vc-revert-show-diff): New defcustom.
17662 (vc-diff-internal): New arg specifying diff buffer.
17663 (vc-revert): Obey vc-revert-show-diff. If we show a diff, don't
17664 reuse an existing *vc-diff* buffer (Bug#8927).
17665
5fdd4046
CY
17666 * progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode.
17667
e93db24a
GM
176682011-06-26 Glenn Morris <rgm@gnu.org>
17669
17670 * progmodes/f90.el (f90-critical-indent): New option.
17671 (f90-font-lock-keywords-2, f90-blocks-re, f90-end-block-re)
17672 (f90-start-block-re, f90-mode-abbrev-table): Add block, critical.
17673 (f90-mode): Doc fix.
17674 (f90-looking-at-critical, f90-looking-at-end-critical): New funcs.
17675 (f90-no-block-limit, f90-calculate-indent, f90-end-of-block)
17676 (f90-beginning-of-block, f90-next-block, f90-indent-region)
17677 (f90-match-end): Handle block, critical.
17678
eefff499
GM
176792011-06-25 Glenn Morris <rgm@gnu.org>
17680
f6ba4cc9
GM
17681 * calendar/diary-lib.el (diary-included-files): Doc fix.
17682 (diary-include-files): New function, extracted from
17683 diary-include-other-diary-files and diary-mark-included-diary-files.
17684 (diary-include-other-diary-files, diary-mark-included-diary-files):
17685 Just call diary-include-files.
17686 (diary-mark-entries): Reset diary-included-files on first call.
17687
16712304
GM
17688 * calendar/diary-lib.el (diary-mark-entries)
17689 (diary-mark-included-diary-files):
17690 Visit included diary-files in temp buffers.
17691
5d8e0d43
GM
17692 * progmodes/f90.el (f90-keywords-re, f90-font-lock-keywords-1)
17693 (f90-blocks-re, f90-program-block-re, f90-end-block-re)
17694 (f90-start-block-re, f90-imenu-generic-expression)
17695 (f90-looking-at-program-block-start, f90-no-block-limit):
17696 Add support for submodules.
17697
ccf7a5d5
GM
17698 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
17699 (f90-procedures-re, f90-constants-re): Add some F2008 stuff.
eefff499 17700
11fdef7d 177012011-06-25 Eli Zaretskii <eliz@gnu.org>
638e9005
EZ
17702
17703 * net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
17704 buffer-file-type before setting its value, to avoid disastrous
eefff499 17705 global effects on decoding files for DOS/Windows systems. (Bug#8780)
638e9005 17706
74f53697
JB
177072011-06-25 Juanma Barranquero <lekktu@gmail.com>
17708
17709 * allout.el (allout-unload-function): Pass -1 to `allout-mode'.
17710
17711 * ses.el (ses-unload-function):
17712 * emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
17713
17714 * proced.el (proced-unload-function):
17715 * progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.
17716
18a4ce5e
AR
177172011-06-25 Andreas Rottmann <a.rottmann@gmx.at>
17718
17719 * server.el (server-create-window-system-frame): Add parameters arg.
17720 (server-process-filter): Doc fix. Handle frame-parameters.
17721
519d22cc
JB
177222011-06-25 Juanma Barranquero <lekktu@gmail.com>
17723
17724 Fix bug#8730, bug#8781.
17725
17726 * loadhist.el (unload--set-major-mode): New function.
17727 (unload-feature): Use it.
17728
17729 * progmodes/python.el (python-after-info-look): Add autoload cookie.
17730 (python-unload-function): New function.
17731
c206f5b0
SM
177322011-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
17733
17734 * mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.
17735
f9ad64f3
GS
177362011-06-25 Giuseppe Scrivano <gscrivano@gnu.org>
17737
17738 * net/browse-url.el (browse-url-firefox-program): Add icecat to
17739 the candidates list.
17740
7d0da90e
JB
177412011-06-24 Juanma Barranquero <lekktu@gmail.com>
17742
17743 * progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable.
17744
14b4e83d
RS
177452011-06-23 Richard Stallman <rms@gnu.org>
17746
17747 * mail/rmail.el: Going to grep hit in Rmail buffer finds the message.
17748 (rmail-variables): Set next-error-move-function.
17749 (rmail-what-message): Take argument POS.
17750 (rmail-next-error-move): New function.
17751
273d2baf
SM
177522011-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
17753
17754 * emacs-lisp/smie.el (smie-bnf->prec2): Give more understandable error
17755 messages for adjacent non-terminals.
17756
56c2cc9a
RS
177572011-06-23 Richard Stallman <rms@gnu.org>
17758
17759 * mail/rmail.el (rmail-retry-ignored-headers): Add message-id.
f444564c 17760 (rmail-show-message-1): Preserve buffer modified flag.
8050daa1
RS
17761 (rmail-start-mail): Don't specify use of rmail-mail-return;
17762 that's done by mail-bury now.
17763 (rmail-mail-return): Handle arg NEWBUF.
56c2cc9a 17764
d59eb518
MA
177652011-06-23 Michael Albinus <michael.albinus@gmx.de>
17766
17767 * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
17768 SIZE is a number.
17769
02cfc6d6
MR
177702011-06-23 Martin Rudalics <rudalics@gmx.at>
17771
17772 * window.el (get-lru-window, get-mru-window)
17773 (get-largest-window): Never return a minibuffer window.
17774 (display-buffer-pop-up-window): Fix a bug that could lead to
17775 reusing the minibuffer window.
17776 (display-buffer): Pass original specifier argument to
17777 display-buffer-function instead of the normalized one.
17778 Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
17779
4e323265
LL
177802011-06-22 Leo Liu <sdl.web@gmail.com>
17781
17782 * minibuffer.el (completing-read-function)
1f9f395d 17783 (completing-read-default): Move from minibuf.c.
4e323265 17784
7a70468f
RS
177852011-06-22 Richard Stallman <rms@gnu.org>
17786
50718fc2
RS
17787 * mail/sendmail.el (mail-bury): If Rmail is in use, return nicely
17788 to Rmail even if not started by a special Rmail command.
17789
7a70468f
RS
17790 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
17791 Copy the buffer currently showing just one message.
17792
297dde5a
RW
177932011-06-22 Roland Winkler <winkler@gnu.org>
17794
17795 * textmodes/bibtex.el (bibtex-entry-update): Use mapc.
17796 (bibtex-clean-entry): First delete the old key so that a
17797 customized algorithm for generating the new key does not get
17798 confused by the old key.
17799 (bibtex-url): Obey regexp of first step.
17800 (bibtex-search-entries): Do not use add-to-list with local
17801 list-var.
17802
97bb1093
LMI
178032011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
17804
17805 * mail/smtpmail.el (smtpmail-try-auth-methods): If the user has
17806 stored a user name, then query for the password first, instead of
17807 waiting for SMTP to give an error message and the trying again.
17808
1c0f1a19
JD
178092011-06-22 Lawrence Mitchell <wence@gmx.li>
17810
17811 * net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
17812 BUFFER in call-process.
17813
396f7c9d
LMI
178142011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
17815
17816 * mail/smtpmail.el (smtpmail-via-smtp): Make sure we don't send
17817 QUIT twice.
ddb7ffee
LMI
17818 (smtpmail-try-auth-methods): Require user name and password from
17819 auth-source.
396f7c9d 17820
8998d1b3
MR
178212011-06-22 Martin Rudalics <rudalics@gmx.at>
17822
17823 * window.el (display-buffer-default-specifiers)
17824 (display-buffer-alist): Remove entries for pop-up-frame-alist.
17825 Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
130e3e11 17826 (split-window): Normalize SIDE argument (Bug#8916).
8998d1b3
MR
17827
17828 * frame.el (pop-up-frame-alist, pop-up-frame-function)
17829 (special-display-frame-alist, special-display-popup-frame):
17830 Remove duplicate declarations. These are now in window.el.
17831
4ea31e07
LMI
178322011-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
17833
c9d29fb8
SM
17834 * mail/smtpmail.el (smtpmail-via-smtp):
17835 Set :use-starttls-if-possible so that we always use STARTTLS if the
6af7a784
LMI
17836 server supports it. SMTP servers that support STARTTLS commonly
17837 require it.
17838
17839 * net/network-stream.el (network-stream-open-starttls): Support
17840 upgrading to STARTTLS always, even if we don't have built-in support.
fa463103 17841 (open-network-stream): Add the :always-query-capabilities keyword.
6af7a784 17842
95f41d9a
LMI
17843 * mail/smtpmail.el: Rewritten to do opportunistic STARTTLS
17844 upgrades with `open-network-stream', and rely solely on
17845 auth-source for all credentials. Big changes throughout the file,
17846 but in particular:
c9d29fb8
SM
17847 (smtpmail-auth-credentials): Remove.
17848 (smtpmail-starttls-credentials): Remove.
7d36ad46
LMI
17849 (smtpmail-via-smtp): Check for servers saying they want AUTH after
17850 MAIL FROM, too.
95f41d9a 17851
c9d29fb8
SM
17852 * net/network-stream.el (network-stream-open-starttls):
17853 Provide support for client certificates both for external and built-in
4ea31e07
LMI
17854 STARTTLS.
17855 (auth-source): Require.
17856 (open-network-stream): Document the :client-certificate keyword.
eb8c9362
LMI
17857 (network-stream-certificate): Change cert-cert to cert and
17858 cert-key to key.
4ea31e07 17859
065ec2c7
MA
178602011-06-21 Michael Albinus <michael.albinus@gmx.de>
17861
17862 * net/tramp-cache.el (top): Don't load the persistency file when
17863 "emacs -Q" has been called.
17864
cd93b359
DR
178652011-06-21 Tim Harper <timcharper@gmail.com>
17866
d8e4b68b
JB
17867 * term/ns-win.el (ns-initialize-window-system):
17868 Set application-specific `ApplePressAndHoldEnabled' system
cd93b359
DR
17869 resource to NO as it is not yet supported by the NS port.
17870
ae9c0411
JB
178712011-06-21 Juanma Barranquero <lekktu@gmail.com>
17872
17873 * misc.el (list-dynamic-libraries--refresh): Compute header here...
17874 (list-dynamic-libraries): ...not here.
17875
7f3f739f
LL
178762011-06-21 Leo Liu <sdl.web@gmail.com>
17877
17878 * subr.el (sha1): Implement sha1 using secure-hash.
17879
327c8fb1
MR
178802011-06-21 Martin Rudalics <rudalics@gmx.at>
17881
17882 * window.el (display-buffer-alist): In default value do not
17883 enforce searching a window on any but the selected frame.
17884 Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
17885 (display-buffer-select-window): Remove function.
17886 (display-buffer-in-window): When a window on another frame gets
17887 reused, do not select it any more but just raise its frame if
17888 necessary (Bug#8851) and (Bug#8856).
17889 (display-buffer-normalize-options): Handle pop-up-frames related
17890 options more faithfully.
17891 (pop-to-buffer): Don't rely on `display-buffer' selecting the
17892 window if it is on another frame.
c9d29fb8
SM
17893 (display-buffer-alist, display-buffer-default-specifiers):
17894 Don't make new frame unsplittable by default.
9e9de014
MR
17895 (display-buffer-normalize-argument): Fix doc-string typo and use
17896 'same-frame-other-window instead of 'other-window when associating
17897 with display-buffer-macro-specifiers.
327c8fb1 17898
7cf3f556
VB
178992011-06-21 Vincent Belaïche <vincent.b.1@hotmail.fr>
17900
17901 * play/5x5.el (5x5-solve-rotate-left, 5x5-solve-rotate-right):
17902 New functions.
17903 (5x5-mode-map, 5x5-mode-menu): Bind them.
17904 (5x5-draw-grid): Tweak the solver's rendering.
17905
60a406cf
SM
179062011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
17907
17908 * progmodes/compile.el (compilation-error-regexp-alist-alist): Rename
17909 `caml' to `python-tracebacks-and-caml'; allow leading tabs (bug#8585).
17910
d8e4b68b 179112011-06-21 Drew Adams <drew.adams@oracle.com>
5d907d6c
DA
17912
17913 * menu-bar.el: Use function variable instead of switch-to-buffer.
17914 (menu-bar-select-buffer-function): New variable.
60a406cf 17915 (menu-bar-update-buffers): Use it (bug#8876).
5d907d6c 17916
478d6f95
SM
179172011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
17918
17919 * emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
17920 variable's status.
17921
ca530739
JD
179222011-06-20 Jan Djärv <jan.h.d@swipnet.se>
17923
17924 * x-dnd.el (x-dnd-version-from-flags)
17925 (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
17926 and long as number (Bug#8899).
17927 (x-dnd-handle-xdnd): Call functions above (Bug#8899).
17928
bcd70d97
SM
179292011-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
17930
60a406cf 17931 * minibuffer.el (completion-metadata): Add `metadata' to the alist.
4cb3bfa0
SM
17932 (completion-try-completion, completion-all-completions): Compute the
17933 metadata argument if it's missing; make it optional (bug#8795).
17934
60a406cf 17935 * wid-edit.el: Use lex-bind and move towards completion-at-point.
bcd70d97
SM
17936 (widget-complete): Use new :completion-function property.
17937 (widget-completions-at-point): New function.
17938 (default): Use :completion-function instead of :complete.
60a406cf
SM
17939 (widget-default-completions): Rename from widget-default-complete;
17940 Rewrite.
bcd70d97
SM
17941 (widget-string-complete, widget-file-complete, widget-color-complete):
17942 Remove functions.
17943 (file, symbol, function, variable, coding-system, color):
17944 * international/mule-cmds.el (default-input-method, charset)
17945 (language-info-custom-alist):
17946 * cus-edit.el (face): Use new property :completions.
17947
17948 * progmodes/pascal.el (pascal-completions-at-point): New function.
17949 (pascal-mode): Use it.
17950 (pascal-mode-map): Use completion-at-point.
17951 (pascal-toggle-completions): Make obsolete.
17952 (pascal-complete-word, pascal-show-completions):
17953 * progmodes/octave-mod.el (octave-complete-symbol):
17954 Redefine as obsolete alias.
17955 * progmodes/octave-inf.el (inferior-octave-completion-at-point):
17956 Signal absence of completion info for old Octave,
17957 (inferior-octave-complete): Redefine as obsolete alias.
17958 * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
17959 (meta-completions-at-point): Rename from meta-complete-symbol and
17960 adapt it for use on completion-at-point-functions.
17961 (meta-common-mode): Use it.
17962 (meta-looking-at-backward, meta-match-buffer): Remove.
17963 (meta-complete-symbol): Redefine as obsolete alias.
17964 (meta-common-mode-map): Use completion-at-point.
17965 * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
17966 (makefile-mode-map): Use completion-at-point.
17967 (makefile-completions-at-point): Rename from makefile-complete and
17968 adapt it for use on completion-at-point-functions.
17969 (makefile-mode): Use it.
17970 (makefile-complete): Redefine as obsolete alias.
17971
aebf69c8
DD
179722011-06-20 Deniz Dogan <deniz@dogan.se>
17973
17974 * net/rcirc.el: Delete trailing whitespaces once and for all.
17975
bfbbb27d
DC
179762011-06-20 Daniel Colascione <dan.colascione@gmail.com>
17977
17978 * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
17979
d264a46b
CY
179802011-06-19 Chong Yidong <cyd@stupidchicken.com>
17981
4ca009e5
CY
17982 * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
17983
d264a46b
CY
17984 * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
17985
fbf5b3ce
MR
179862011-06-19 Martin Rudalics <rudalics@gmx.at>
17987
17988 * window.el (display-buffer-other-window-means-other-frame):
17989 Call display-buffer-normalize-alist.
17990 (display-buffer-normalize-specifiers-1): Rename to
17991 display-buffer-normalize-argument. New argument other-frame.
17992 Rewrite.
17993 (display-buffer-normalize-specifiers-2): Rename to
17994 display-buffer-normalize-options.
17995 (display-buffer-normalize-alist-1): New function.
17996 (display-buffer-normalize-specifiers-3): Rename to
bcd70d97
SM
17997 display-buffer-normalize-alist.
17998 Call display-buffer-normalize-alist-1.
fbf5b3ce
MR
17999 (display-buffer-normalize-options-inhibit): New variable.
18000 (display-buffer-normalize-specifiers): Rewrite calling
18001 display-buffer-normalize-alist,
18002 display-buffer-normalize-argument, and
18003 display-buffer-normalize-options. Don't call the latter if
18004 display-buffer-normalize-options-inhibit is non-nil.
18005 (frame-auto-delete): New option.
18006 (window-deletable-p): Use frame-auto-delete.
9d89fec7
MR
18007 (window-list-no-nils, window-state-ignored-parameters)
18008 (window-state-get-1, window-state-get, window-state-put-list)
bcd70d97
SM
18009 (window-state-put-1, window-state-put-2, window-state-put):
18010 New functions.
9a028c23
MR
18011 (display-buffer-normalize-options): Move special-display-p group
18012 after pop-up-frame group (Bug#8851) and (Bug#8856).
fbf5b3ce 18013
6d10d800
CY
180142011-06-18 Chong Yidong <cyd@stupidchicken.com>
18015
6420d28b
CY
18016 * emacs-lisp/rx.el (rx-constituents): Add support for numbered
18017 groups (Bug#8776).
18018 (rx-submatch-n): New function.
18019 (rx): Document it.
18020
ddb8b596
CY
18021 * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
18022 (Bug#8768).
18023
18024 * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
18025
77080289
CY
18026 * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
18027
61dfb316
CY
18028 * cus-face.el (custom-declare-face): Call custom-theme-recalc face
18029 anytime existing face settings are present (Bug#8889).
18030
6d10d800
CY
18031 * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
18032 (delphi-mode): Use define-derived-mode to inherit from prog-mode.
18033 Remove unused argument.
18034
be3fb2b8
MR
180352011-06-18 Martin Rudalics <rudalics@gmx.at>
18036
bcd70d97
SM
18037 * window.el (display-buffer-default-specifiers):
18038 Remove pop-up-frame. Add pop-up-window-min-height,
be3fb2b8
MR
18039 pop-up-window-min-width, and another reuse-window specifier
18040 (Bug#8882). Reported by Dan Nicolaescu <dann@gnu.org>.
bcd70d97
SM
18041 (display-buffer-normalize-specifiers-2):
18042 Handle split-height-threshold and split-width-threshold also when
be3fb2b8
MR
18043 pop-up-windows is unset. Add a reuse-window specifier for the
18044 case popping up a new window fails.
18045 (special-display-popup-frame): Remove double quoting.
28dec25a 18046 (display-buffer-normalize-specifiers-1): Fix thinko.
be3fb2b8 18047
1c6d8c76
SM
180482011-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
18049
18050 * shell.el (shell-completion-vars): Set pcomplete-termination-string
18051 according to comint-completion-addsuffix.
18052
18053 * pcomplete.el: Convert to lexical binding and fix bug#8819.
18054 (pcomplete-suffix-list): Mark as obsolete.
18055 (pcomplete-completions-at-point): Capture pcomplete-norm-func and
18056 pcomplete-seen in the closure.
18057 (pcomplete-comint-setup): Setup completion-at-point as well.
18058 (pcomplete--entries): New function.
18059 (pcomplete--env-regexp): New var.
18060 (pcomplete-entries): Rewrite to work with partial-completion and
18061 without relying on pcomplete-suffix-list.
18062 (pcomplete-pare-list): Remove, unused.
18063
25aef8b8
MR
180642011-06-17 Martin Rudalics <rudalics@gmx.at>
18065
18066 * window.el (display-buffer-alist): Set pop-up-window-min-height
18067 and pop-up-window-min-width in default value. Reported by
18068 Thierry Volpiatto <thierry.volpiatto@gmail.com>. New specifier
18069 other-window-means-other-frame.
18070 (display-buffer-macro-specifiers): Comment out entry for
18071 other-window specifier.
18072 (display-buffer-other-window-means-other-frame): New function.
18073 (display-buffer-normalize-specifiers-1): New arguments
18074 buffer-name and label. Treat other-window case specially.
18075 (display-buffer-normalize-specifiers-2): Treat other-window case
18076 specially.
18077 (display-buffer-normalize-specifiers-3): New function.
bcd70d97
SM
18078 (display-buffer-normalize-specifiers):
18079 Call display-buffer-normalize-specifiers-3.
25aef8b8 18080
dbad4f69
MR
180812011-06-17 Martin Rudalics <rudalics@gmx.at>
18082
18083 * window.el (same-window-p): Fix two typos introduced when
18084 adding with-no-warnings.
d1067961
MR
18085 (display-buffer-normalize-specifiers-1): Don't check
18086 pop-up-frames for 'unset initialization.
18087 (display-buffer-normalize-specifiers-2): Major rewrite using
18088 special-display-p and same-window-p (Bug#8851) and (Bug#8856).
18089 (pop-up-frames, display-buffer-reuse-frames)
18090 (display-buffer-mark-dedicated): Don't initialize to 'unset.
18091 Suggested by David Engster <deng@randomsample.de>.
18092 (even-window-heights): Initialize to 'unset.
18093 (display-buffer-alist-set): Handle new 'unset initializations.
25aef8b8
MR
18094 (display-buffer-macro-specifiers): Don't pop up a new frame in the
18095 other window case.
dbad4f69 18096
9b9c9e3a
MR
180972011-06-16 Martin Rudalics <rudalics@gmx.at>
18098
bcd70d97
SM
18099 * window.el (display-buffer-normalize-specifiers-1):
18100 Respect current value of pop-up-frames for most reasonable values of
9b9c9e3a 18101 second argument of display-buffer (Bug#8865).
981d5c09
MR
18102 (switch-to-buffer-same-frame, switch-to-buffer-other-window)
18103 (switch-to-buffer-other-window-same-frame)
18104 (switch-to-buffer-other-frame): Fix doc-strings. Reported by Drew
18105 Adams (Bug#8875).
9c2755e9
MR
18106 (display-buffer): Don't check noninteractive when calling
18107 display-buffer-pop-up-frame.
18108 (display-buffer-pop-up-frame): Never pop up a frame in
18109 noninteractive mode (Bug#8857).
67222e1d
MR
18110 (enlarge-window, shrink-window): Don't report an error when the
18111 window can't be resized as requested (Bug#8862).
9b9c9e3a 18112
2b75be67
SM
181132011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
18114
9ffdd3ba
SM
18115 * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
18116
cb581a67
SM
18117 * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
18118
2b75be67
SM
18119 * abbrev.el (define-abbrev-table): Don't add a table multiple times.
18120
8c0e3589
AM
181212011-06-15 Alan Mackenzie <acm@muc.de>
18122
cb581a67
SM
18123 * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
18124 for declarators, disable knr checking to speed up for normal files.
18125 2: Refactor, replacing a sequence of nested if forms by a cond form.
8c0e3589 18126
b96e6cde
LMI
181272011-06-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
18128
4bba86e6
LMI
18129 * net/network-stream.el (open-network-stream): Add the keyword
18130 :always-query-capabilities for the case where you want to force a
18131 `plain' network connection, but the protocol still requires the
18132 capabilitiy command (i.e., SMTP and EHLO).
18133
2b75be67 18134 * subr.el (process-live-p): Rename from `process-alive-p' for
b96e6cde
LMI
18135 consistency with other `-live-p' functions.
18136
efdcdbf8
SM
181372011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
18138
18139 * window.el (same-window-buffer-names, same-window-regexps)
18140 (special-display-frame-alist, special-display-popup-frame)
18141 (special-display-function, special-display-buffer-names)
18142 (special-display-regexps, pop-up-frame-alist)
18143 (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
18144 (pop-up-windows, split-window-preferred-function)
18145 (split-height-threshold, split-width-threshold, even-window-heights)
18146 (display-buffer-mark-dedicated): Don't encourage the use of
18147 display-buffer-alist from Elisp code.
18148
c5cde042
DN
181492011-06-15 Dan Nicolaescu <dann@ics.uci.edu>
18150
18151 * progmodes/python.el (python-mode): Derive from prog-mode.
18152 * progmodes/ps-mode.el (ps-mode):
18153 * progmodes/mixal-mode.el (mixal-mode):
50328a1b 18154 * progmodes/cfengine.el (cfengine-mode):
c5cde042
DN
18155 * progmodes/ld-script.el (ld-script-mode): Likewise.
18156
baa1c9ab
MR
181572011-06-15 Martin Rudalics <rudalics@gmx.at>
18158
18159 * window.el (display-buffer-alist): Trim default value to avoid
18160 popping up a new frame (Bug#8857) or reusing an arbitrary window
18161 on another frame.
18162 (display-buffer): Do not fall back on popping up a new frame in
18163 batch mode (Bug#8857).
18164
c5dd5a51
CY
181652011-06-14 Chong Yidong <cyd@stupidchicken.com>
18166
18167 * cus-theme.el (describe-theme-1): Use custom-theme-p.
18168 (custom-theme-summary): New function.
18169 (customize-themes): Use it.
18170
d647b7c4
GM
181712011-06-13 Glenn Morris <rgm@gnu.org>
18172
18173 * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
18174
9481c002
MR
181752011-06-13 Martin Rudalics <rudalics@gmx.at>
18176
357f93d2
MR
18177 * help.el (help-window): Remove variable.
18178 (help-window-point-marker, temp-buffer-max-height)
18179 (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
18180 (help-print-return-message): Don't set help-window.
18181 (resize-temp-buffer-window): Rewrite cod eand doc-string.
18182 (help-window-setup-finish): Remove.
18183 (help-window-display-message, help-window-setup)
18184 (with-help-window): Major rewrite based on new
18185 display-buffer-window variable.
18186
18187 * help-mode.el (help-mode-finish): Remove help-window related
18188 code.
18189
18190 * view.el (view-exits-all-viewing-windows): Remove reference to
18191 view-return-to-alist in doc-string.
18192 (view-return-to-alist): Make obsolete.
18193 (view-buffer): Call pop-to-buffer-same-window and remove
18194 undo-window code.
18195 (view-buffer-other-window): Call pop-to-buffer-other-window and
18196 simplify code. Ignore second argument.
18197 (view-buffer-other-frame): Call pop-to-buffer-other-frame and
18198 simplify code. Ignore second argument.
18199 (view-return-to-alist-update): Make obsolete.
18200 (view-mode-enter): Rename second argument to QUIT-RESTORE.
18201 Rewrite using quit-restore window parameters.
2b75be67
SM
18202 (view-mode-exit): Rename second argument to EXIT-ONLY.
18203 Rewrite using quit-restore-window.
357f93d2
MR
18204 (View-exit, View-exit-and-edit, View-leave, View-quit)
18205 (View-quit-all, View-kill-and-leave): Call view-mode-exit with
18206 appropriate arguments.
18207 (view-end-message): Use quit-restore window parameter.
18208
9481c002
MR
18209 * window.el (display-buffer-function): Rewrite doc-string.
18210 (display-buffer-window, display-buffer-alist): New variables.
18211 (display-buffer-split-specifiers)
18212 (display-buffer-side-specifiers)
18213 (display-buffer-macro-specifiers): New constants.
18214 (display-buffer-even-window-sizes, display-buffer-set-height)
18215 (display-buffer-set-width, display-buffer-select-window)
18216 (display-buffer-in-window, display-buffer-reuse-window)
18217 (display-buffer-split-window-1, display-buffer-split-window)
18218 (display-buffer-split-atom-window, display-buffer-pop-up-window)
18219 (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
18220 (display-buffer-in-side-window, normalize-buffer-to-display)
18221 (display-buffer-normalize-specifiers-1)
18222 (display-buffer-normalize-specifiers-2)
2b75be67
SM
18223 (display-buffer-normalize-specifiers, display-buffer-frame):
18224 New functions.
9481c002
MR
18225 (display-buffer): Major rewrite.
18226 (display-buffer-other-window, display-buffer-other-frame)
18227 (pop-to-buffer, switch-to-buffer-other-window)
18228 (switch-to-buffer-other-frame): Rewrite.
18229 (display-buffer-same-window, display-buffer-same-frame)
18230 (display-buffer-same-frame-other-window)
18231 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
18232 (pop-to-buffer-other-window)
18233 (pop-to-buffer-same-frame-other-window)
18234 (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
18235 (switch-to-buffer-other-window-same-frame): New functions.
18236 (same-window-p, special-display-p): Rewrite disabling warnings.
18237 Make obsolete.
18238 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
18239 (display-buffer-mark-dedicated): Initialize to symbol 'unset.
18240 Make obsolete
18241 (same-window-buffer-names, same-window-regexps)
18242 (special-display-frame-alist, special-display-popup-frame)
18243 (special-display-function, special-display-buffer-names)
18244 (special-display-regexps, pop-up-frame-alist)
18245 (pop-up-frame-function, split-window-preferred-function)
18246 (split-height-threshold, split-width-threshold)
18247 (even-window-heights): Make obsolete.
18248
9db51aca
GM
182492011-06-12 Glenn Morris <rgm@gnu.org>
18250
18251 * term/xterm.el (terminal-init-xterm): `version' may be nil. (Bug#8838)
7cb363eb 18252 Misc simplifications.
9db51aca 18253
39cffb44
MR
182542011-06-12 Martin Rudalics <rudalics@gmx.at>
18255
18256 * window.el (window-safely-shrinkable-p): Restore function which
18257 was inadvertently removed in change from 2011-06-11. Declare as
18258 obsolete.
18259
2b75be67
SM
18260 * calendar/calendar.el (calendar-generate-window):
18261 Use window-iso-combined-p instead of combination of one-window-p and
39cffb44
MR
18262 window-safely-shrinkable-p.
18263
a8955be7
GM
182642011-06-12 Glenn Morris <rgm@gnu.org>
18265
18266 * progmodes/fortran.el (fortran-mode-syntax-table):
18267 * progmodes/f90.el (f90-mode-syntax-table):
18268 Set % to punctuation. (Bug#8820)
18269 (f90-find-tag-default): Remove, no longer needed.
18270
f0d4059d
DC
182712011-06-12 Daniel Colascione <dan.colascione@gmail.com>
18272
18273 * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
18274
1100a63c
CY
182752011-06-11 Chong Yidong <cyd@stupidchicken.com>
18276
18277 * image.el (image-animated-p): Return animation delay in seconds.
18278 Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
18279 (image-animate-timeout): Remove DELAY argument. Don't assume
18280 every subimage has the same delay; get it from image-animated-p.
18281 (image-animate): Caller changed.
18282
def722bf
MA
182832011-06-11 Michael Albinus <michael.albinus@gmx.de>
18284
18285 * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
18286 to ignored backtrace functions.
18287
0a2bb1a9
GM
182882011-06-11 Glenn Morris <rgm@gnu.org>
18289
18290 * calendar/appt.el (appt-disp-window-function): Doc fix.
18291 (appt-check): Handle overlapping appointments. (Bug#8337)
18292
6198ccd0
MR
182932011-06-11 Martin Rudalics <rudalics@gmx.at>
18294
18295 * window.el (window-tree-1, window-tree): New functions, moving
18296 the latter to window.el.
18297 (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
18298 (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
18299 (bw-refresh-edges): Remove.
18300 (balance-windows-1, balance-windows-2): New functions.
18301 (balance-windows): Rewrite in terms of window tree functions,
18302 balance-windows-1 and balance-windows-2.
18303 (bw-adjust-window): Remove.
18304 (balance-windows-area-adjust): New function with functionality of
18305 bw-adjust-window but using resize-window.
2b75be67
SM
18306 (set-window-text-height): Rewrite doc-string.
18307 Use normalize-live-window and resize-window.
18308 (enlarge-window-horizontally, shrink-window-horizontally):
18309 Rename argument to DELTA.
6198ccd0
MR
18310 (window-buffer-height): New function.
18311 (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
18312 Rewrite using new window resize routines.
2b75be67
SM
18313 (kill-buffer-and-window, mouse-autoselect-window-select):
18314 Use ignore-errors instead of condition-case.
6198ccd0
MR
18315 (quit-window): Call delete-frame instead of delete-windows-on
18316 for the only buffer on frame.
18317
9397e56f
MR
183182011-06-10 Martin Rudalics <rudalics@gmx.at>
18319
18320 * loadup.el (top-level): Load window before files for the sake
18321 of replace-buffer-in-windows.
18322
18323 * files.el (read-buffer-to-switch)
18324 (switch-to-buffer-other-window)
2b75be67
SM
18325 (switch-to-buffer-other-frame, display-buffer-other-frame):
18326 Move to window.el.
9397e56f
MR
18327
18328 * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
18329 (previous-buffer): Move to window.el.
18330
18331 * bindings.el (unbury-buffer): Move to window.el.
18332
18333 * window.el (delete-other-windows-vertically): Move after
18334 definition of delete-other-windows.
18335 (other-window, delete-windows-on, replace-buffer-in-windows):
18336 Move here from window.c.
18337 (record-window-buffer, unrecord-window-buffer)
18338 (set-window-buffer-start-and-point, switch-to-prev-buffer)
18339 (switch-to-next-buffer): New functions.
18340 (get-next-valid-buffer, last-buffer, next-buffer): Move here
18341 from simple.el. Call switch-to-next-buffer.
2b75be67
SM
18342 (previous-buffer): Move here from simple.el.
18343 Call switch-to-prev-buffer.
9397e56f
MR
18344 (bury-buffer): Move here from buffer.c. Switch to previous
18345 buffer when window cannot be deleted.
18346 (unbury-buffer): Move here from bindings.el.
18347 (ctl-x-map): Move binding for other-window from window.c to
18348 here.
18349 (read-buffer-to-switch, switch-to-buffer-other-window)
18350 (switch-to-buffer-other-frame): Move here from files.el.
18351 (normalize-buffer-to-switch-to): New functions.
2b75be67
SM
18352 (switch-to-buffer): Move here from buffer.c.
18353 Use read-buffer-to-switch and normalize-buffer-to-switch-to.
9397e56f 18354
562dd5e9
MR
183552011-06-10 Martin Rudalics <rudalics@gmx.at>
18356
18357 * window.el (window-min-height, window-min-width): Move here
18358 from window.c. Add defcustoms and rewrite doc-strings.
18359 (resize-mini-window, resize-window): New functions.
18360 (adjust-window-trailing-edge, enlarge-window, shrink-window):
18361 Move here from window.c.
18362 (maximize-window, minimize-window): New functions.
18363 (delete-window, delete-other-windows, split-window): Move here
18364 from window.c.
18365 (window-split-min-size): New function.
18366 (split-window-keep-point): Mention split-window-above-each-other
18367 instead of split-window-vertically.
2b75be67 18368 (split-window-above-each-other, split-window-vertically):
1154d12e
JB
18369 Rename split-window-vertically to split-window-above-each-other
18370 and provide defalias for old definition.
18371 (split-window-side-by-side, split-window-horizontally):
18372 Rename split-window-horizontally to split-window-side-by-side
18373 and provide defalias for the old definition.
562dd5e9
MR
18374 (ctl-x-map): Move bindings for delete-window,
18375 delete-other-windows and enlarge-window here from window.c.
18376 Replace bindings for split-window-vertically and
18377 split-window-horizontally by bindings for
18378 split-window-above-each-other and split-window-side-by-side.
18379
18380 * cus-start.el (all): Remove entries for window-min-height and
18381 window-min-width. Add entries for window-splits and
18382 window-nest.
18383
f0da764a
GM
183842011-06-09 Glenn Morris <rgm@gnu.org>
18385
80675c21
GM
18386 * calendar/appt.el (appt-mode-line): New function.
18387 (appt-check, appt-disp-window): Use it.
18388
f0da764a
GM
18389 * files.el (hack-one-local-variable-eval-safep):
18390 Allow minor-modes with explicit +/-1 arguments.
18391
59f623b7
TZ
183922011-06-09 Teodor Zlatanov <tzz@lifelogs.com>
18393
18394 * term/xterm.el (xterm): Add defgroup.
18395 (xterm-extra-capabilities): Add defcustom to supply known xterm
18396 capabilities, skip querying them, or query them (default).
18397 (terminal-init-xterm): Use it.
18398 (terminal-init-xterm-modify-other-keys): New function to set up
18399 modifyOtherKeys support to simplify `terminal-init-xterm'.
18400
9aab8e0d
MR
184012011-06-09 Martin Rudalics <rudalics@gmx.at>
18402
18403 * window.el (resize-window-reset, resize-window-reset-1)
18404 (resize-subwindows-skip-p, resize-subwindows-normal)
18405 (resize-subwindows, resize-other-windows, resize-this-window)
18406 (resize-root-window, resize-root-window-vertically)
18407 (window-deletable-p, window-or-subwindow-p)
18408 (frame-root-window-p): New functions.
18409
e8b08aee
GM
184102011-06-09 Glenn Morris <rgm@gnu.org>
18411
18412 * net/ange-ftp.el (ange-ftp-switches-ok): New function.
18413 (ange-ftp-get-files): Use it.
18414
254c37a5
AK
184152011-06-09 Alexander Klimov <alserkli@inbox.ru> (tiny change)
18416
18417 * mail/sendmail.el (mail-recover-1, mail-recover):
18418 * files.el (recover-file, recover-session):
18419 Handle dired-listing-switches not being just a single short option.
18420
35d7dbd3
GM
184212011-06-09 Glenn Morris <rgm@gnu.org>
18422
18423 * calendar/appt.el (appt-display-message, appt-disp-window):
18424 Handle lists of appointments.
18425
387522b2
MR
184262011-06-08 Martin Rudalics <rudalics@gmx.at>
18427
2b75be67
SM
18428 * window.el (one-window-p): Move down in code.
18429 Rewrite doc-string.
18430 (window-current-scroll-bars): Rewrite doc-string.
18431 Normalize live window argument.
387522b2
MR
18432 (walk-windows, get-window-with-predicate, count-windows):
18433 Rewrite doc-string. Use window-list-1.
18434 (window-in-direction-2, window-in-direction, get-mru-window):
18435 New functions.
18436
d8e4b68b 184372011-06-08 Reuben Thomas <rrt@sc3d.org>
2c587104
GM
18438
18439 * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
18440 Doc fix (Bug#8713).
18441
184422011-06-08 Chong Yidong <cyd@stupidchicken.com>
18443
18444 * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
18445
184462011-06-08 Juanma Barranquero <lekktu@gmail.com>
18447
18448 * loadhist.el (unload-feature-special-hooks):
18449 Add `comint-output-filter-functions'.
18450
0de12c52
IK
184512011-06-08 Ivan Kanis <gnu@kanis.fr>
18452
18453 * calendar/appt.el (appt-check): Move some initializations into the let.
18454
f3d1777e
MR
184552011-06-08 Martin Rudalics <rudalics@gmx.at>
18456
18457 * window.el (window-height): Defalias to window-total-height.
18458 (window-width): Defalias to window-body-width.
18459
18af70d0
CY
184602011-06-07 Chong Yidong <cyd@stupidchicken.com>
18461
18462 * image-mode.el (image-toggle-animation): New command.
18463 (image-mode-map): Bind it to RET.
18464 (image-mode): Update message.
18465 (image-toggle-display-image): Avoid a spurious cache flush.
18466 (image-transform-rotation): Doc fix.
18467 (image-transform-properties): Return quickly in the normal case.
18468 (image-animate-loop): Rename from image-animate-max-time.
18469
2b75be67 18470 * image.el (image-animate-max-time): Move to image-mode.el.
18af70d0
CY
18471 (create-animated-image): Remove unnecessary function.
18472 (image-animate): Rename from image-animate-start. New arg.
2b75be67 18473 (image-animate-stop): Remove; just use image-animate-timer.
18af70d0
CY
18474 (image-animate-timer): Use car-safe.
18475 (image-animate-timeout): Rename argument.
18476
190b47e6
MR
184772011-06-07 Martin Rudalics <rudalics@gmx.at>
18478
18479 * window.el (get-lru-window, get-largest-window): Move here from
2b75be67
SM
18480 window.c. Rename first argument to ALL-FRAMES.
18481 Rephrase doc-strings.
18482 (get-buffer-window-list): Rewrite using window-list-1.
18483 Rephrase doc-string.
a1511caf
MR
18484 (window-safe-min-height, window-safe-min-width): New constants.
18485 (window-size-ignore, window-min-size, window-min-size-1)
18486 (window-sizable, window-sizable-p, window-size-fixed-1)
18487 (window-size-fixed-p, window-min-delta-1, window-min-delta)
18488 (window-max-delta-1, window-max-delta, window-resizable)
18489 (window-resizable-p, window-total-height, window-total-width)
18490 (window-body-width): New functions.
18491 (window-full-height-p, window-full-width-p): Rewrite using
18492 window-total-size.
18493 (window-body-height): Rewrite using window-body-size.
190b47e6 18494
85cc1f11
MR
184952011-06-06 Martin Rudalics <rudalics@gmx.at>
18496
18497 * window.el (window-right, window-left, window-child)
18498 (window-child-count, window-last-child, window-any-p)
18499 (normalize-live-buffer, normalize-live-frame)
18500 (normalize-any-window, normalize-live-window)
18501 (window-iso-combination-p, window-iso-combined-p)
18502 (window-iso-combinations)
18503 (walk-window-tree-1, walk-window-tree, walk-window-subtree)
18504 (windows-with-parameter, window-with-parameter)
18505 (window-atom-root, make-window-atom, window-atom-check-1)
2b75be67
SM
18506 (window-atom-check, window-side-check, window-check):
18507 New functions.
85cc1f11
MR
18508 (ignore-window-parameters, window-sides, window-sides-vertical)
18509 (window-sides-slots): New variables.
18510 (window-size-fixed): Move down in code. Minor doc-string fix.
18511
e7156492
AS
185122011-06-05 Andreas Schwab <schwab@linux-m68k.org>
18513
18514 * comint.el (comint-dynamic-complete-as-filename)
18515 (comint-dynamic-complete-filename): Correctly call
18516 completion-in-region.
18517
7e821d0d
DD
185182011-06-05 Deniz Dogan <deniz@dogan.se>
18519
18520 * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
18521 in last change.
18522
ac09b8a1
DD
185232011-06-05 Deniz Dogan <deniz@dogan.se>
18524
18525 * net/rcirc.el (rcirc-prompt-for-encryption): New function.
18526 (rcirc): Use it to prompt for encryption.
18527
34699b85
RW
185282011-06-05 Roland Winkler <winkler@gnu.org>
18529
18530 * textmodes/bibtex.el (bibtex-search-buffer): New variable.
18531 (bibtex-search-entries): New command bound to C-c C-a.
18532 (bibtex-display-entries): New function.
18533
004dedd3
RW
185342011-06-05 Roland Winkler <winkler@gnu.org>
18535
18536 * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
18537 (bibtex-insert-kill): After yanking insert newline if necessary.
18538 (bibtex-initialize): Call bibtex-string-files-init only once.
18539 (bibtex-mode): Do not call easy-menu-add.
18540 (bibtex-validate-globally): Use save-excursion in bibtex buffers.
18541 (bibtex-yank): Set arg properly if nil.
18542
022fe7ce
RW
185432011-06-05 Roland Winkler <winkler@gnu.org>
18544
2b75be67
SM
18545 * textmodes/bibtex.el (bibtex-search-entry-globally):
18546 New variable.
022fe7ce
RW
18547 (bibtex-search-entry): Use it.
18548
b7c3692a
RW
185492011-06-05 Roland Winkler <winkler@gnu.org>
18550
18551 * textmodes/bibtex.el (bibtex-entry-format): New option
18552 sort-fields.
18553 (bibtex-format-entry, bibtex-reformat): Honor this option.
18554 (bibtex-parse-entry): Return fields in proper order.
18555
8eda563d
JB
185562011-06-05 Juanma Barranquero <lekktu@gmail.com>
18557
18558 * doc-view.el (doc-view-remove-if): Move computation of result out
18559 of `dolist' to silence misleading lexical-binding warning.
18560
7dbe3dbc
CY
185612011-06-04 Chong Yidong <cyd@stupidchicken.com>
18562
18563 * emacs-lisp/timer.el (timer-activate): Remove unused arg.
18564 (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
18565
0c33dd17
MA
185662011-06-04 Michael Albinus <michael.albinus@gmx.de>
18567
18568 * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
18569 "SunOS 5.10".
18570
f8f91c2b
MA
185712011-06-04 Michael Albinus <michael.albinus@gmx.de>
18572
18573 * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
18574 (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
18575 (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
18576 (tramp-parse-putty):
18577 * net/tramp-sh.el (tramp-completion-function-alist-rsh)
18578 (tramp-completion-function-alist-ssh)
18579 (tramp-completion-function-alist-telnet)
18580 (tramp-completion-function-alist-su)
18581 (tramp-completion-function-alist-putty): Set `tramp-autoload'
18582 cookie.
18583
18584 * net/tramp-ftp.el:
18585 * net/tramp-sh.el:
18586 * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
18587 load "tramp.el" `tramp-set-completion-function'.
18588
e17d9003
SM
185892011-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
18590
18591 * shell.el: Require and use pcomplete.
18592 (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
18593 (shell-completion-vars): Set pcomplete-default-completion-function.
18594
6c4cab03
DD
185952011-06-04 Deniz Dogan <deniz@dogan.se>
18596
18597 * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
18598 `memq' (Bug#8799).
18599
ea9fafe0
SM
186002011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
18601
18602 * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
18603
b3e945d3
JB
186042011-06-02 Juanma Barranquero <lekktu@gmail.com>
18605
18606 * bs.el (bs--mark-unmark, bs--nth-wrapper):
18607 * mpc.el (mpc-select-extend, mpc-songpointer-context):
18608 * vc/log-view.el (log-view-beginning-of-defun):
18609 * vc/smerge-mode.el (smerge-apply-resolution-patch)
18610 (smerge-refine-forward, smerge-refine-chopup-region):
18611 Silence warning for unused `dotimes' counter variables.
18612
7d520089
SM
186132011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
18614
18615 * net/tramp.el (tramp-with-progress-reporter): Rename from
18616 with-progress-reporter. Use `declare'.
18617 * net/tramp-smb.el:
18618 * net/tramp-sh.el:
18619 * net/tramp-gvfs.el: Update all uses.
18620
a1c2400f
JB
186212011-06-02 Jay Belanger <jay.p.belanger@gmail.com>
18622
18623 * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
18624 buffer isn't killed before making it current.
18625
2403c841
SM
186262011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
18627
18628 Silence various byte-compiler warnings.
18629 * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
18630 `access-type' and new obsolescence format.
18631 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
18632 new format.
18633 (byte-compile-check-variable): New `access-type' argument.
18634 Only warn if the access-type is obsolete.
18635 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
18636 (byte-compile-variable-set): Adjust callers.
18637 * help-fns.el (describe-variable): Adjust to new obsolescence format.
18638 * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
18639 setting it as obsolete.
18640 * simple.el (minibuffer-completing-symbol):
18641 * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
18642 access as obsolete.
18643 * minibuffer.el (minibuffer-completing-file-name): Don't make it
18644 obsolete yet.
18645 * international/quail.el (quail-mouse-choose-completion): Remove unused
18646 code referring to obsolete var.
18647 (quail-choose-completion-string): Remove.
18648 * server.el (server-clients-with, server-kill-buffer-query-function)
18649 (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
18650 * proced.el (proced-send-signal):
18651 * emacs-lisp/lisp.el (lisp-complete-symbol):
18652 Replace completion-annotate-function with completion-extra-properties.
18653
2462470b
SM
186542011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
18655
fb5b2591
SM
18656 * simple.el (goto-line): Use read-number.
18657 (overriding-map-is-bound): Remove.
18658 (saved-overriding-map): Change default.
18659 (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
18660 Take the map as argument.
18661 (universal-argument, negative-argument, digit-argument): Use it.
18662 (restore-overriding-map): Adjust.
18663 (do-auto-fill): Use fill-forward-paragraph.
18664 (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
18665
fd6fa53f
SM
18666 * minibuffer.el (minibuffer-inactive-mode-map): New var.
18667 (minibuffer-inactive-mode): New major mode.
18668 * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
18669 the *Messages* buffer" hack.
18670 (mouse-popup-menubar): Don't burp if the event is a normal key.
18671
2462470b
SM
18672 Miscellaneous tweaks.
18673 * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
18674 lexical scoping as in subr.el's dolist and dotimes.
18675 * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
18676 Silence compiler warning.
18677 * thingatpt.el (forward-whitespace): Trivial coding style fix.
18678 * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
18679 * international/ccl.el (ccl-compile): Trivial simplification.
18680 * help-fns.el (help-do-arg-highlight): Silence compiler warning.
18681 * emacs-lisp/testcover.el (testcover-end): Remove spurious
18682 `printflag' argument.
18683 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
18684 Purecopy the whole obsolescence data.
18685
108bf785
LL
186862011-06-01 Leo Liu <sdl.web@gmail.com>
18687
18688 * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
18689 improve doc-string as suggested by Marco Pessotto
18690 <melmothx@gmail.com>.
18691 (rcirc-print): Fix last change.
18692
30a23501
SM
186932011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
18694
18695 * minibuffer.el (complete-with-action): Return nil for the metadata and
18696 boundaries of non-functional tables.
18697 (completion-table-dynamic): Return nil for the metadata.
18698 (completion-table-with-terminator): Add default case, using
18699 complete-with-action.
18700 (completion--metadata): New function.
18701 (completion-all-sorted-completions, minibuffer-completion-help): Use it
18702 to try and avoid pathological performance problems.
18703 (completion--embedded-envvar-table): Return `category' metadata.
18704
bcd54f83
LMI
187052011-05-31 Lars Magne Ingebrigtsen <larsi@gnus.org>
18706
18707 * subr.el (process-alive-p): New tiny convenience function.
18708
e227544d
SM
187092011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
18710
18711 * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
18712 content but also its previous major mode.
18713
e8296fdc
HE
187142011-05-31 Helmut Eller <eller.helmut@gmail.com>
18715
4d61f28d 18716 * emacs-lisp/debug.el (debug): Restore the previous content of the
e8296fdc
HE
18717 *Backtrace* buffer when we exit with C-M-c.
18718
620c53a6
SM
187192011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
18720
18721 * minibuffer.el: Add metadata method to completion tables.
18722 (completion-category-overrides): New defcustom.
18723 (completion-metadata, completion--field-metadata)
18724 (completion-metadata-get, completion--styles)
18725 (completion--cycle-threshold): New functions.
18726 (completion-try-completion, completion-all-completions):
18727 Add `metadata' argument to choose completion-styles.
18728 (completion--do-completion): Use metadata to choose cycling.
18729 (completion-all-sorted-completions): Use metadata for sorting.
18730 Remove :completion-cycle-penalty which is not needed any more.
18731 (completion--try-word-completion): Add `metadata' argument.
18732 (minibuffer-completion-help): Check metadata for annotation function
18733 and sorting.
18734 (completion-file-name-table): Return `category' metadata.
18735 (minibuffer-completing-file-name): Make obsolete.
18736 * simple.el (minibuffer-completing-symbol): Make obsolete.
18737 * icomplete.el (icomplete-completions): Pass new `metadata' param to
18738 completion-try-completion.
18739
1257e755
SM
187402011-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
18741
18742 * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
18743
3767e706
LL
187442011-05-30 Leo Liu <sdl.web@gmail.com>
18745
18746 * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
5ab33f2b
LL
18747 (rcirc-print): Decode all incoming messages (bug#8744).
18748 (rcirc-decode-coding-system): Allow value nil for automatic coding
18749 system detection.
3767e706 18750
d1a5d56a
GM
187512011-06-01 Glenn Morris <rgm@gnu.org>
18752
18753 * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
18754
e8cbec34
CY
187552011-05-29 Chong Yidong <cyd@stupidchicken.com>
18756
18757 * image.el (image-animate-max-time): Allow nil and t values.
18758 Default to nil.
18759 (create-animated-image): Doc fix.
18760 (image-animate-start): Remove second arg; just use
18761 image-animate-max-time.
18762 (image-animate-timeout): Doc fix. Args changed.
18763
18764 * image-mode.el (image-toggle-display-image): Ensure that the
18765 image spec passed to the animate timer is the same object as in
58179cce 18766 the buffer's display property (Bug#6981).
e8cbec34
CY
18767 (image-transform-properties): Doc fix.
18768
18769 * image.el (image-animate-max-time): Default to nil.
18770
159daf87
MR
187712011-05-29 Martin Rudalics <rudalics@gmx.at>
18772
18773 * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
18774 entire buffer list (Bug#8184).
18775
d66c4c7c
CY
187762011-05-29 Chong Yidong <cyd@stupidchicken.com>
18777
18778 * image.el (imagemagick-types-inhibit)
18779 (imagemagick-register-types): Doc fix.
18780
80aec780
DD
187812011-05-29 Deniz Dogan <deniz@dogan.se>
18782
18783 * net/rcirc.el (rcirc): Use the user's stored encryption method by
18784 default.
18785
1dd3c2d9
CY
187862011-05-29 Chong Yidong <cyd@stupidchicken.com>
18787
18788 * select.el: Don't perform clipboard-manager saving in hooks;
18789 leave the hooks empty.
18790
60e56523
LL
187912011-05-28 Leo Liu <sdl.web@gmail.com>
18792
18793 * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
18794 (occur-mode-map): Bind occur-edit-mode. Use occur-menu-map.
18795 (occur-edit-mode): New major mode (Bug#8463).
18796 (occur-after-change-function): New function.
18797 (occur-engine): Give Occur tags a read-only property.
18798
2b1e1a22
KR
187992011-05-28 Kevin Ryde <user42@zip.com.au>
18800
18801 * subr.el (def-edebug-spec): Doc fix (Bug#8430).
18802
5d344e88
CY
188032011-05-28 Chong Yidong <cyd@stupidchicken.com>
18804
8e6ca83d
CY
18805 * bindings.el (help-echo): Make the initial non-indicator dash
18806 empty on graphical terminals (Bug#7295).
18807
5d344e88
CY
18808 * files.el (auto-mode-alist): Move config rule after the
18809 in-stripping one (Bug#8547).
18810
bfbbace7
CY
18811 * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
18812
fbeba6e2
CY
18813 * startup.el (normal-splash-screen): Remove gratuitous mode-line
18814 setting (Bug#8740).
18815
60ed8c72
AA
188162011-05-28 Alp Aker <aker@pitt.edu> (tiny change)
18817
4ac619f0
AA
18818 * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
18819 (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
18820 (Bug#8539).
60ed8c72 18821
23db196e
CY
188222011-05-28 Chong Yidong <cyd@stupidchicken.com>
18823
18824 * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
18825
5012f24c
DK
188262011-05-28 Dima Kogan <dkogan@cds.caltech.edu> (tiny change)
18827
18828 * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
18829 (hs-hide-block-at-point, hs-find-block-beginning)
18830 (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
18831 (Bug#8279).
18832
6a639b16
GM
188332011-05-28 Glenn Morris <rgm@gnu.org>
18834
18835 * startup.el (fancy-about-screen): Use standard mode line. (Bug#8740)
18836
d43eaf2c
CY
188372011-05-28 Chong Yidong <cyd@stupidchicken.com>
18838
5199bde1
CY
18839 * help-fns.el (describe-function-1): If the function is a derived
18840 major mode, print the parent mode.
18841
d43eaf2c
CY
18842 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
18843 (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
18844
423428a8
SM
188452011-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
18846
0ff8e1ba 18847 * minibuffer.el (completion--capf-wrapper): Check applicability before
0b381c7e 18848 returning non-nil for non-exclusive completion data.
0ff8e1ba
SM
18849 * progmodes/etags.el (tags-completion-at-point-function):
18850 * info-look.el (info-lookup-completions-at-point): Mark as
18851 non-exclusive.
18852 (info-complete): Adjust accordingly.
18853
423428a8
SM
18854 * info-look.el: Convert to lexical-binding and completion-at-point.
18855 (info-lookup-completions-at-point): New function.
18856 (info-complete): Use it and completion-in-region.
18857
b74aa22b
DA
188582011-05-28 Drew Adams <drew.adams@oracle.com>
18859
18860 * isearch.el: Let M-e start with point at the first mismatched char.
18861 (isearch-fail-pos): New function.
18862 (isearch-edit-string): Use it.
18863
66e2e71d
DK
188642011-05-28 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
18865
18866 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
18867
b1890b0f 188682011-05-27 Toby Cubitt <toby-predictive@dr-qubit.org>
eb95d01d
TC
18869
18870 * emacs-lisp/avl-tree.el: New avl-tree-stack datatype. Add new
18871 traversal functions for avl-trees.
18872 (avl-tree--stack): New struct.
18873 (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
18874 (avl-tree-enter): Add optional `updatefun' arg.
93a1c12a
TC
18875 (avl-tree--do-enter): Add optional `updatefun' arg.
18876 Change return value.
eb95d01d 18877 (avl-tree-delete): Add optional `test' and `nilflag' args.
93a1c12a
TC
18878 (avl-tree--do-delete): Add `test' and `nilflag' args.
18879 Change return value.
eb95d01d
TC
18880 (avl-tree-member): Add optional `nilflag'
18881 (avl-tree-member-p): New function.
18882 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
18883 (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
18884 (avl-tree-stack-empty-p): New functions.
18885
3769ddcf
TC
18886 * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
18887 avl-tree--del-balance1 and make it work both ways.
18888 (avl-tree--del-balance2): Remove.
18889 (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
18890 make it work both ways.
18891 (avl-tree--enter-balance2): Remove.
18892 (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
18893 New macros.
18894 (avl-tree--mapc, avl-tree-map): Add direction argument.
18895
eb95d01d 188962011-05-27 David Michael <fedora.dm0@gmail.com> (tiny change)
7a6b1aef
DM
18897
18898 * files.el (interpreter-mode-alist): Add rbash (bug#8745).
18899
a9f737ee
CY
189002011-05-27 Chong Yidong <cyd@stupidchicken.com>
18901
18902 * select.el: Support clipboard managers with built-in function
18903 x-clipboard-manager-save, via delete-frame-functions and
18904 kill-emacs-hook.
18905 (xselect-convert-to-targets): Add MULTIPLE target to list.
18906 (xselect-convert-to-save-targets): New function.
18907
c92a1e54
KH
189082011-05-27 Kenichi Handa <handa@m17n.org>
18909
18910 * mail/sendmail.el (mail-encode-header): Avoid double encoding by
18911 let-binding rfc2047-encode-encoded-words to nil.
18912
e145f188
GM
189132011-05-27 Glenn Morris <rgm@gnu.org>
18914
5ec8a862
GM
18915 * mail/emacsbug.el: Don't require url-util.
18916
4b29d9fb
GM
18917 * shell.el (shell-directory-tracker): Case matters. (Bug#8735)
18918
e145f188
GM
18919 * files.el (set-auto-mode):
18920 Also respect mode: entries at the end of the file. (Bug#8586)
18921
7d15102b
GM
189222011-05-26 Glenn Morris <rgm@gnu.org>
18923
98f593b8
GM
18924 * files.el (hack-local-variables-prop-line, hack-local-variables):
18925 Downcase mode names, as seems to be traditional.
27b48e63 18926 (hack-local-variables, hack-local-variables-apply): Doc fixes.
98f593b8 18927
7d15102b
GM
18928 * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
18929 (report-emacs-bug-hook): Try to validate the From address. (Bug#8038)
18930
51d5b4ec
JD
189312011-05-25 Julien Danjou <julien@danjou.info>
18932
18933 * textmodes/rst.el (rst-define-level-faces): Do not define face
18934 symbol if it is already defined.
18935
91513f63
VB
189362011-05-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
18937
18938 * play/5x5.el (5x5-new-game, 5x5-randomize):
18939 Reset 5x5-solver-output to nil when a new grid is cast.
18940 (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
18941 these debugging traces, as defmacro breaks the compiled code.
18942
4d90d6d0
DK
189432011-05-24 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
18944
18945 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
18946
e1b90ef6
LL
189472011-05-24 Leo Liu <sdl.web@gmail.com>
18948
18949 * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
18950 (vc-bzr-sha1): Adapt.
18951
d8e4b68b 18952 * sha1.el: Remove. Function `sha1' is now builtin.
e1b90ef6
LL
18953
18954 * bindings.el: Provide sha1 feature.
18955
db0406bb 189562011-05-24 Kenichi Handa <handa@m17n.org>
b8d747b9
KH
18957
18958 * mail/sendmail.el: Require `rfc2047'.
18959 (mail-insert-from-field): Do not perform RFC2047 encoding.
18960 (mail-encode-header): New function.
18961 (sendmail-send-it): Set buffer-file-coding-system of the work
4d90d6d0
DK
18962 buffer to the return value of select-message-coding-system.
18963 Call mail-encode-header.
b8d747b9
KH
18964
18965 * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
18966
db0406bb 189672011-05-24 Sean Neakums <sneakums@zork.net> (tiny change)
7261f6ce 18968
4d90d6d0
DK
18969 * mail/supercite.el (sc-default-cite-frame):
18970 Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
7261f6ce 18971
eb8a5e9b
GM
189722011-05-24 Glenn Morris <rgm@gnu.org>
18973
f8630703
GM
18974 * progmodes/python.el (brm-menu): Declare.
18975
8831bbed
GM
18976 * emulation/viper.el (viper-set-hooks): Declare.
18977
eb8a5e9b
GM
18978 * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
18979 (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
18980 (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
18981 (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
18982 (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
18983 (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
18984
a2a25d24
SM
189852011-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
18986
18987 Add an :exit-function for completion-at-point.
18988
18989 * minibuffer.el (completion--done): New fun.
18990 (completion--do-completion): Use it. New arg `expect-exact'.
18991 (minibuffer-complete, minibuffer-complete-word): Don't output message,
18992 since completion--do-completion does it for us now.
18993 (minibuffer-force-complete): Use completion--done and
18994 completion--replace. Handle sole-completion case with more care.
18995 (minibuffer-complete-and-exit): Use new `expect-exact' arg.
18996 (completion-extra-properties): New var.
18997 (completion-annotate-function): Make obsolete.
18998 (minibuffer-completion-help): Adjust accordingly.
18999 Use completion-list-insert-choice-function.
19000 (completion-at-point, completion-help-at-point):
19001 Bind completion-extra-properties.
19002 (completion-pcm-word-delimiters): Add | (for uniquify, for example).
19003 * simple.el (completion-list-insert-choice-function): New var.
19004 (completion-setup-function): Preserve it.
19005 (choose-completion): Pay attention to it, shuffle the code a bit.
19006 (choose-completion-string): New arg `insert-function'.
19007
19008 * textmodes/bibtex.el: Convert to lexical binding.
19009 (bibtex-mode-map): Use completion-at-point.
19010 (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
19011 (bibtex-completion-at-point-function): New fun, from bibtex-complete.
19012 (bibtex-complete): Define as obsolete alias.
19013 (bibtex-complete-internal): Remove.
19014 (bibtex-format-entry): Remove unused sub-group in regexp.
19015 * shell.el (shell--command-completion-data)
19016 (shell-environment-variable-completion):
19017 * pcomplete.el (pcomplete-completions-at-point):
19018 * comint.el (comint--complete-file-name-data): Use :exit-function
19019 instead of completion-table-with-terminator so it also works for
19020 choose-completion.
19021
e44e373d
SM
190222011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
19023
4f91a816
SM
19024 * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
19025
782fc819
SM
19026 * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
19027 (bug#8710).
19028
e44e373d
SM
19029 * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
19030
381987c3
KM
190312011-05-23 Ken Manheimer <ken.manheimer@gmail.com>
19032
19033 * allout.el (allout-inhibit-auto-fill-on-headline): Create new
19034 customization variable and implement: If non-nil, auto-fill will
19035 be inhibited while on topic's header line.
19036
b776bc70
VB
190372011-05-23 Vincent Belaïche <vincentb1@users.sourceforge.net>
19038
19039 * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
d8e4b68b 19040 click on. II/ Make 5x5 multisession. III/ Ensure that random grids
b776bc70
VB
19041 always have a solution in grid size = 5 cases.
19042 (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
19043 (5x5-solver-output, 5x5-log-buffer): New vars.
19044 (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
19045 Make these variables buffer local to achieve 5x5 multi-session-ness.
19046 (5x5): Set 5x5-grid-size only if SIZE is non-negative.
19047 (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
19048 (5x5-solve-suggest): New funs.
19049 (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
19050 randomize a grid so that we ensure that there is always a solution.
19051 (5x5-make-random-grid): Allow other movement than flipping.
19052
7de88b6e
KR
190532011-05-23 Kevin Ryde <user42@zip.com.au>
19054
19055 * emacs-lisp/advice.el (ad-read-advised-function):
5a5fa834 19056 Use `function-called-at-point' as the default, if it has
7de88b6e
KR
19057 advice and passes PREDICATE.
19058
b1ef1257
SM
190592011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
19060
bbca48fe
SM
19061 * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
19062 byte-compile-lambda if it's actually a lambda.
19063
b1ef1257
SM
19064 * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
19065 Fix function quoting. Use backquote better.
19066
92a9cc65
YS
190672011-05-22 Yuanle Song <sylecn@gmail.com>
19068
19069 * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
19070 matching (Bug#8516).
19071
f0fb8059
JA
190722011-01-22 Jari Aalto <jari.aalto@cante.net>
19073
19074 * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
19075 different face (Bug#8178).
19076
d5b44c93
CY
190772011-05-22 Chong Yidong <cyd@stupidchicken.com>
19078
19079 * vc/diff-mode.el (diff-changed): Don't use terminal specs for
19080 defface (Bug#8144).
19081
79106a44
SM
190822011-05-22 Stefan Monnier <monnier@iro.umontreal.ca>
19083
9c848d8a
SM
19084 * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
19085 funcall as well (bug#8712). Warn when performing those conversions.
19086 * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
19087
79106a44
SM
19088 * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
19089
88dfa756
GM
190902011-05-22 Glenn Morris <rgm@gnu.org>
19091
19092 * files.el (hack-local-variables-prop-line): Small simplifications.
19093 (hack-local-variables, hack-local-variables-prop-line):
19094 If MODE-ONLY, return the mode, rather than just `t'.
19095
b7cf2c79
SM
190962011-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
19097
19098 * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
19099
3f1a8558
GM
191002011-05-21 Glenn Morris <rgm@gnu.org>
19101
7e4ccca3
GM
19102 * files.el (hack-local-variables-prop-line, hack-local-variables):
19103 If only interested in the mode, don't bother doing the other stuff.
19104
637d46ca
GM
19105 * image-mode.el (image-after-revert-hook):
19106 Redraw all frames on which the image is visible. (Bug#8567)
19107
973d955b
GM
19108 * dired-aux.el (dired-touch-initial): Just use current-time. (Bug#6887)
19109
3f1a8558
GM
19110 * wid-edit.el (widget-checklist-match-inline):
19111 Fix 2011-04-19 change. (Bug#8649)
19112
96479927
SM
191132011-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
19114
1dcf791f
SM
19115 * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
19116 Also allow singlespace after single-letter capitals followed by a dot.
19117
96479927
SM
19118 * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
19119 enabled. Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
19120
35fd0881
N
191212011-05-20 Nix <nix@esperi.org.uk>
19122
19123 * files.el (basic-save-buffer-2):
19124 Fix handling of break-hardlink-on-save with non-existent files.
19125
82745640
DD
191262011-05-19 Deniz Dogan <deniz@dogan.se>
19127
19128 * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
9ff90d99 19129 (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
82745640 19130
4a720484
GM
191312011-05-19 Glenn Morris <rgm@gnu.org>
19132
d1f21341
GM
19133 * progmodes/f90.el (f90-type-def-re):
19134 Handle "type, bind(c)". (Bug#8691)
19135
4a720484
GM
19136 * emacs-lisp/autoload.el (batch-update-autoloads):
19137 Set autoload-excludes by parsing loadup.el rather than Makefiles.
19138
2fb0a219
MA
191392011-05-18 Michael Albinus <michael.albinus@gmx.de>
19140
19141 * net/tramp.el (tramp-process-actions): Set "first-password-request"
19142 property for the correct connection in case of multihops.
19143
e565dd37
GM
191442011-05-18 Glenn Morris <rgm@gnu.org>
19145
c2571358 19146 * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
c136e5cd
GM
19147 * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
19148
e565dd37
GM
19149 Rationalize calendar handling of day and month abbrev-arrays.
19150 * calendar/calendar.el (calendar-customized-p): New function.
19151 (calendar-abbrev-construct, calendar-make-alist): Change what it does.
19152 (calendar-day-name-array, calendar-month-name-array): Doc fix.
19153 Add :set function.
19154 (calendar-abbrev-length, calendar-day-abbrev-array)
19155 (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
19156 (calendar-day-abbrev-array, calendar-month-abbrev-array):
19157 Elements may no longer be nil.
19158 (calendar-day-name, calendar-month-name):
19159 Update for changed nature of abbrev arrays.
19160 * calendar/diary-lib.el (diary-name-pattern):
19161 Update for changed nature of abbrev arrays.
19162 (diary-mark-entries-1): Update calendar-make-alist calls.
19163 (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
19164 * calendar/cal-html.el (cal-html-day-abbrev-array):
19165 Simply inherit from calendar-day-abbrev-array.
19166
1d99a745
SM
191672011-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
19168
19169 * progmodes/grep.el (grep-mode): Disable default
19170 compilation-directory-matcher setting (bug#8684).
19171
7c1d9aa0
MA
191722011-05-17 Michael Albinus <michael.albinus@gmx.de>
19173
19174 * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
19175 instead of "head" and "tail". There were problems with SunOS 5.9,
19176 and it performs better.
19177
3952e9d8
GM
191782011-05-17 Glenn Morris <rgm@gnu.org>
19179
2dd12e7f
GM
19180 * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
19181
e4157b9c
GM
19182 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
19183 Replace obsolete function.
19184
8e249bbd
GM
19185 * shell.el (pcomplete-parse-arguments-function): Declare.
19186
3952e9d8
GM
19187 * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
19188 (appt-display-diary, appt-display-interval, appt-prev-comp-time)
19189 (appt-check): Doc fixes.
19190 (appt-disp-window-function, appt-delete-window-function):
19191 Remove needless special case in custom :type.
19192 (appt-display-count): Default to 0, not nil.
19193 (appt-check): Reset appt-display-count to 0, not nil.
19194
c71a0d48 191952011-05-17 Juanma Barranquero <lekktu@gmail.com>
165fd2df 19196
c71a0d48
GM
19197 * progmodes/python.el (python-font-lock-keywords):
19198 Add the Python 3.X keyword "nonlocal" (bug#8639).
165fd2df 19199
31d55be9
SM
192002011-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
19201
19202 * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
19203
3bfacb2f
KR
192042011-05-16 Kevin Ryde <user42@zip.com.au>
19205
19206 * info-look.el (makefile-automake-mode): New setups, looking in
19207 automake manual, then makefile-mode.
19208 (makefile-mode): Remove automake manual, have it just in
19209 makefile-automake-mode since there's various things different or
19210 not relevant to plain make.
19211 (makefile-mode): Remove "other-modes" non-existent automake-mode,
19212 believe a hypothetical automake-mode would go to makefile-mode,
19213 not the other way around.
19214
c8e83751
CY
192152011-05-15 Chong Yidong <cyd@stupidchicken.com>
19216
5e9e35cd
CY
19217 * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
19218 hunk-end tags (Bug#8672).
19219
c8e83751
CY
19220 * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
19221 vc-annotate-show-diff-revision-at-line (Bug#8671).
19222
50b23e5a
GM
192232011-05-14 Glenn Morris <rgm@gnu.org>
19224
7210a739
GM
19225 * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
19226 in the middle of an existing one with multiple authors. (Bug#8645)
375cb676
GM
19227 (change-log-font-lock-keywords): Also handle multiple author lines
19228 with leading tabs. (Bug#8644)
7210a739 19229
4691905a
GM
19230 * calendar/appt.el (appt-check): Rename some local variables.
19231 Some simplification/reordering.
19232
50b23e5a
GM
19233 * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
19234 (feedmail-sendmail-f-doesnt-sell-me-out)
19235 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
19236 (feedmail-debug-sit-for, feedmail-queue-express-hook)
19237 (feedmail-queue-runner-message-sender): Set :version.
1aa64307
GM
19238 (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
19239 (bbdb-dwim-net-address, vm-mail): Declare.
50b23e5a
GM
19240 (feedmail-binmail-gnulinuxish-template):
19241 Rename from feedmail-binmail-linuxish-template.
19242 (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
19243 Use insert-buffer-substring.
19244
215cda7c
BC
192452011-05-14 Bill Carpenter <bill@carpenter.org>
19246
19247 * mail/feedmail.el (feedmail-patch-level): Increase.
19248 (feedmail-debug): New custom group.
19249 (feedmail-confirm-outgoing-timeout)
19250 (feedmail-sendmail-f-doesnt-sell-me-out)
19251 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
19252 (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
19253 (feedmail-sender-line, feedmail-from-line)
19254 (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
c2571358 19255 (feedmail-spray-this-address)
215cda7c
BC
19256 (feedmail-spray-address-fiddle-plex-list)
19257 (feedmail-queue-use-send-time-for-date)
19258 (feedmail-queue-use-send-time-for-message-id)
19259 (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
19260 (feedmail-buffer-eating-function):
19261 Doc fixes.
19262 (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
19263 (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
19264 (feedmail-message-action-scroll-down): New functions.
19265 (feedmail-queue-directory, feedmail-queue-draft-directory):
19266 Use expand-file-name.
19267 (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
19268 Remove C-v help entry.
19269 (feedmail-queue-buffer-file-name): New variable.
19270 (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
19271 (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
19272 (feedmail-message-action-send-strong, feedmail-message-action-edit)
19273 (feedmail-message-action-draft, feedmail-message-action-draft-strong)
19274 (feedmail-message-action-queue, feedmail-message-action-queue-strong)
19275 (feedmail-message-action-toggle-spray)
19276 (feedmail-run-the-queue-no-prompts)
19277 (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
19278 (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
19279 (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
19280 (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
19281 (feedmail-envelope-deducer, feedmail-fiddle-from)
19282 (feedmail-fiddle-sender, feedmail-default-date-generator)
19283 (feedmail-fiddle-date, feedmail-fiddle-message-id)
19284 (feedmail-fiddle-spray-address)
19285 (feedmail-fiddle-list-of-spray-fiddle-plexes)
19286 (feedmail-fiddle-list-of-fiddle-plexes)
19287 (feedmail-fill-to-cc-function, feedmail-fill-this-one)
19288 (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
19289 (feedmail-queue-runner-message-sender, feedmail-binmail-template):
19290 Change default. Doc fix.
19291 (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
19292 (feedmail-binmail-linuxish-template): New constant.
19293 (feedmail-buffer-to-sendmail): Doc fix. Add debug call.
19294 Respect feedmail-sendmail-f-doesnt-sell-me-out.
19295 (feedmail-send-it): Add debug call.
19296 Use feedmail-queue-buffer-file-name, and
19297 feedmail-send-it-immediately-wrapper.
19298 (feedmail-message-action-send): Add debug call.
19299 Use feedmail-send-it-immediately-wrapper.
19300 (feedmail-queue-express-to-queue): Add debug call.
19301 Run feedmail-queue-express-hook.
19302 (feedmail-message-action-help): Add debug call. Use feedmail-p-h-b-n.
19303 (feedmail-message-action-help-blat):
19304 Rename from feedmail-queue-send-edit-prompt-help-first.
19305 (feedmail-run-the-queue): Add debug call. Set buffer-file-type.
19306 Check line-endings. Handle errors better.
19307 (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
19308 Doc fix. Add debug call.
19309 (feedmail-queue-send-edit-prompt): Doc fix. Add debug call.
19310 Use feedmail-queue-send-edit-prompt-inner.
19311 (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
19312 (feedmail-queue-send-edit-prompt-inner): New function, extracted
19313 from feedmail-queue-send-edit-prompt.
19314 (feedmail-queue-send-edit-prompt-help)
19315 (feedmail-queue-send-edit-prompt-help-later): Remove functions.
19316 (feedmail-tidy-up-slug): Add debug call.
19317 Respect feedmail-queue-slug-suspect-regexp.
19318 (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
19319 (feedmail-dump-message-to-queue): Add debug call.
19320 Expand queue-directory.
19321 (feedmail-dump-message-to-queue): Change message slightly.
19322 Use feedmail-say-chatter.
19323 (feedmail-rfc822-date): Add debug call. Bind system-time-locale.
19324 (feedmail-send-it-immediately-wrapper): New function.
19325 (feedmail-send-it-immediately): Add debug calls. Use let not let*.
19326 Insert empty string rather than newline. Handle full-frame case.
19327 Use catch/throw. Use feedmail-say-chatter.
19328 (feedmail-fiddle-from): Try mail-host-address.
19329 (feedmail-default-message-id-generator): Doc fix.
19330 Bind system-time-locale. Handle missing end.
19331 (feedmail-fiddle-x-mailer): Add debug call.
19332 Handle feedmail-x-mailer-line being nil.
19333 (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
19334 Add debug call. Use buffer-substring-no-properties.
19335 (feedmail-say-debug, feedmail-say-chatter): New functions.
19336 (feedmail-find-eoh): Give an explicit error.
19337
42c7e61e
UJ
193382011-05-13 Ulf Jasper <ulf.jasper@web.de>
19339
c2571358 19340 * net/newst-treeview.el (newsticker-treeview-face): Change default
42c7e61e 19341 family from helvetica to sans.
c2571358 19342 (newsticker-treeview-tool-bar-map): Move tool-bar icons to
42c7e61e
UJ
19343 etc/images/newsticker.
19344
c2571358 19345 * net/newst-reader.el (newsticker-feed-face): Change default
42c7e61e
UJ
19346 family from helvetica to sans.
19347
19348 * net/newst-plainview.el (newsticker-new-item-face)
19349 (newsticker-old-item-face, newsticker-immortal-item-face)
19350 (newsticker-obsolete-item-face, newsticker-date-face)
c2571358 19351 (newsticker-statistics-face): Change default family from
42c7e61e 19352 helvetica to sans.
c2571358 19353 (newsticker--plainview-tool-bar-map): Move tool-bar icons to
42c7e61e
UJ
19354 etc/images/newsticker.
19355
5d3385a0
JB
19356 * net/newst-backend.el (newsticker--do-run-auto-mark-filter)
19357 (newsticker--process-auto-mark-filter-match): Tell user about
42c7e61e
UJ
19358 auto-marking.
19359
8497a297
DV
193602011-05-13 Didier Verna <didier@xemacs.org>
19361
19362 Common Lisp indentation improvements on defmethod and lambda-lists.
4d61f28d
JB
19363 * emacs-lisp/cl-indent.el: Advertise the changes and remove obsolete
19364 TODO entries.
8497a297
DV
19365 (lisp-lambda-list-keyword-parameter-indentation)
19366 (lisp-lambda-list-keyword-parameter-alignment)
19367 (lisp-lambda-list-keyword-alignment): New customizable user options.
19368 (lisp-indent-defun-method): Improve docstring.
19369 (extended-loop-p): Fix comment.
19370 (lisp-indent-lambda-list-keywords-regexp): New variable.
19371 (lisp-indent-lambda-list): New function.
19372 (lisp-indent-259): Use it.
19373 (lisp-indent-defmethod): Support for more than one
19374 method qualifier and properly indent methods lambda-lists.
19375 (defgeneric): Provide a missing common-lisp-indent-function property.
19376
f278f87f
SM
193772011-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
19378
19379 * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
19380 bounds for the empty string (bug#8667).
19381
5233edd7
GM
193822011-05-13 Glenn Morris <rgm@gnu.org>
19383
5237a44f
GM
19384 * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
19385
8340026c 19386 * mail/sendmail.el (sendmail-program): Try executable-find first.
f278f87f 19387 (sendmail-send-it): `sendmail-program' cannot be unbound.
8340026c 19388
5233edd7 19389 * calendar/appt.el (appt-make-list): Simplify.
4accbca6 19390 (appt-time-msg-list): Doc fix.
a5464014 19391 (appt-check): Change mode-line message at the time of the appointment.
5233edd7 19392
92d10796
AS
193932011-05-12 Andreas Schwab <schwab@linux-m68k.org>
19394
19395 * progmodes/ld-script.el (ld-script-keywords)
19396 (ld-script-builtins): Update keywords list.
19397
914a0ae1
SM
193982011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
19399
c89be45f
SM
19400 * progmodes/grep.el (grep-filter): Don't trip on partial lines.
19401
914a0ae1
SM
19402 * shell.el (shell-completion-vars): New function.
19403 (shell-mode):
19404 * simple.el (read-shell-command): Use it.
19405 (blink-matching-open): No need for " [...]" in minibuffer-message.
19406
98dc3df3
GM
194072011-05-12 Glenn Morris <rgm@gnu.org>
19408
19409 * calendar/appt.el (appt-now-displayed): Remove pointless variable.
19410 (appt-check): Simplify.
19411
d2fc7e3d 194122011-05-12 Eli Zaretskii <eliz@gnu.org>
0e39ec21 19413
4d61f28d 19414 * vc/smerge-mode.el (smerge-resolve): Use null-device rather than a
0e39ec21
EZ
19415 literal "/dev/null".
19416
d2fc7e3d 194172011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
3f254caa
SM
19418
19419 * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
19420 Fix typo.
19421
d2fc7e3d 194222011-05-12 Ralph Schleicher <rs@ralph-schleicher.de>
6eea50c7 19423
3f254caa
SM
19424 * progmodes/which-func.el (which-function):
19425 Use add-log-current-defun instead of add-log-current-defun-function,
6eea50c7
RS
19426 which might not be defined (Bug#8260).
19427
d45885f7
GM
194282011-05-12 Glenn Morris <rgm@gnu.org>
19429
19430 * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
19431 Let byte-compile-initial-macro-environment always take precedence.
19432
488086f4
SM
194332011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
19434
19435 * net/rcirc.el: Add support for SSL/TLS connections.
19436 (rcirc-server-alist): New field `encryption'.
19437 (rcirc): Check `encryption' settings.
19438 (rcirc-connect): New arg `encryption'. Use open-network-stream.
19439 Merge make-local-variable into `set'.
19440 (rcirc--connection-open-p): New function.
19441 (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
19442 the process is not a network process (e.g. running gnutls-cli).
19443 (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
19444 Make rcirc-(en|de)code-coding-system local here.
19445 (rcirc-mode): Merge make-local-variable into `set'.
19446 (rcirc-parent-buffer): Make permanent buffer-local.
19447 (rcirc-multiline-minor-mode): Don't do it here.
19448 (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
19449 there's no server buffer.
19450
7d3b9d44
GM
194512011-05-11 Glenn Morris <rgm@gnu.org>
19452
f64049c6
GM
19453 * newcomment.el (comment-kill): Prefix "unused" local.
19454
93c9df73
GM
19455 * term/w32console.el (get-screen-color): Declare.
19456
7d3b9d44
GM
19457 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
19458 Handle symbol elements of byte-compile-initial-macro-environment.
19459
9e2dd53f
LL
194602011-05-10 Leo Liu <sdl.web@gmail.com>
19461
488086f4
SM
19462 * bookmark.el (bookmark-bmenu-mode-map):
19463 Bind bookmark-bmenu-search to `/'.
8b340240 19464
9e2dd53f 19465 * mail/footnote.el: Convert to utf-8 encoding.
b4044869
LL
19466 (footnote-unicode-string, footnote-unicode-regexp): New variable.
19467 (Footnote-unicode): New function.
19468 (footnote-style-alist): Add unicode style to the list.
19469 (footnote-style): Doc fix.
9e2dd53f 19470
79b70037
GM
194712011-05-10 Jim Meyering <meyering@redhat.com>
19472
19473 Fix doubled-word typos.
19474 * international/quail.el (quail-insert-kbd-layout): and and -> and
19475 * kermit.el: and and -> and
19476 * net/ldap.el (ldap-search-internal): to to -> to
19477 * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
19478 * progmodes/js.el (js-mode): and and -> and
19479 * textmodes/artist.el (artist-move-to-xy): at at -> at
19480 (artist-draw-region-trim-line-endings): if if -> if
19481 And Safetyc -> Safety.
19482 * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
19483
b8f82dc1 194842011-05-10 Glenn Morris <rgm@gnu.org>
f1a71c6e 19485 Stefan Monnier <monnier@iro.umontreal.ca>
b8f82dc1
GM
19486
19487 * files.el (hack-one-local-variable-eval-safep):
19488 Consider "eval: (foo-mode)" to be safe. (Bug#8613)
19489
4f99f44b
GM
194902011-05-10 Glenn Morris <rgm@gnu.org>
19491
19492 * calendar/diary-lib.el (diary-list-entries-hook)
19493 (diary-mark-entries-hook, diary-nongregorian-listing-hook)
19494 (diary-nongregorian-marking-hook, diary-list-entries)
19495 (diary-include-other-diary-files, diary-mark-entries)
19496 (diary-mark-included-diary-files): Doc fixes.
19497
84f29e6b
JB
194982011-05-09 Juanma Barranquero <lekktu@gmail.com>
19499
19500 * misc.el: Require tabulated-list.el during compilation.
19501
9bedd73a
CY
195022011-05-09 Chong Yidong <cyd@stupidchicken.com>
19503
488086f4
SM
19504 * progmodes/compile.el (compilation-start):
19505 Run compilation-filter-hook for the async case too.
9bedd73a
CY
19506 (compilation-filter-hook): Doc fix.
19507
797c735c
DD
195082011-05-09 Deniz Dogan <deniz@dogan.se>
19509
19510 * wdired.el: Remove outdated installation comment. Fix usage
19511 comment.
19512
5f4b1dfe
JB
195132011-05-09 Juanma Barranquero <lekktu@gmail.com>
19514
19515 * misc.el: Implement new command `list-dynamic-libraries'.
19516 (list-dynamic-libraries--loaded-only-p): New variable.
19517 (list-dynamic-libraries--refresh): New function.
19518 (list-dynamic-libraries): New command.
19519
4c44026c
CY
195202011-05-09 Chong Yidong <cyd@stupidchicken.com>
19521
488086f4
SM
19522 * progmodes/compile.el (compilation-error-regexp-alist-alist):
19523 Fix the ant regexp to handle end-line and end-column info from jikes.
4c44026c
CY
19524 Re-introduce maven regexp. Give the ruby-Test::Unit regexp a
19525 higher priority to avoid clobbering by gnu.
19526
027f966d
CY
195272011-05-08 Chong Yidong <cyd@stupidchicken.com>
19528
19529 * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
19530 if the face has existing theme settings (Bug#8454).
19531
085f5d7d
CY
195322011-05-08 Ralph Schleicher <rs@ralph-schleicher.de>
19533
488086f4
SM
19534 * progmodes/perl-mode.el (perl-imenu-generic-expression):
19535 Only match variables declared via `my' or `our' (Bug#8261).
085f5d7d 19536
2a86a00c
RS
19537 * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
19538 special file names `.' and `..' (Bug#8259).
19539
d9c54a06
CY
195402011-05-08 Chong Yidong <cyd@stupidchicken.com>
19541
488086f4
SM
19542 * progmodes/grep.el (grep-mode-font-lock-keywords):
19543 Remove buffer-changing entries.
d9c54a06
CY
19544 (grep-filter): New function.
19545 (grep-mode): Add it to compilation-filter-hook.
19546
19547 * progmodes/compile.el (compilation-filter-hook)
19548 (compilation-filter-start): New defvars.
19549 (compilation-filter): Call compilation-filter-hook prior to
19550 updating the process mark.
19551
c4662635
SM
195522011-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
19553
19554 * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
19555
b0512a1d
EZ
195562011-05-07 Eli Zaretskii <eliz@gnu.org>
19557
605c9376
EZ
19558 * mail/sendmail.el (send-mail-function): On MS-Windows, default to
19559 mailclient-send-it even if window-system is nil. (Bug#8595)
19560
c4662635
SM
19561 * term/w32console.el (terminal-init-w32console):
19562 Call get-screen-color and use its output to set the frame
b0512a1d
EZ
19563 background-mode. (Bug#8597)
19564
d1dc2cc2
SM
195652011-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
19566
19567 Make bytecomp.el understand that defmethod defines funs (bug#8631).
19568 * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
19569 New functions.
19570 (defgeneric, eieio--defmethod): Use them.
19571 (eieio-defgeneric): Remove.
19572 (defmethod): Call defgeneric in a way visible to the byte-compiler.
19573
915d1300
GM
195742011-05-07 Glenn Morris <rgm@gnu.org>
19575
a3961c3e
GM
19576 * calendar/timeclock.el (timeclock-log-data): Remove unused local.
19577 Use let rather than let*.
19578 (timeclock-find-discrep): Remove unused local.
19579
314347b9
GM
19580 * calendar/diary-lib.el (diary-comment-start): Doc fix.
19581
915d1300
GM
19582 * calendar/appt.el (appt-time-msg-list): Doc fix.
19583
275b59b0
NF
195842011-05-06 Noah Friedman <friedman@splode.com>
19585
19586 * apropos.el (apropos-print-doc): Only use
19587 emacs-lisp-docstring-fill-column when it is bound to an integer,
19588 per that variable's documentation.
19589
6c19f744
SM
195902011-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
19591
19592 * lpr.el (print-region-1): Echo lpr-program's output, so error messages
d1dc2cc2 19593 and warnings are not silently discarded (e.g. use -d instead of -P).
6c19f744 19594
60f884b2
GM
195952011-05-06 Glenn Morris <rgm@gnu.org>
19596
5006e634
GM
19597 * calendar/appt.el (appt-message-warning-time): Doc fix.
19598 (appt-warning-time-regexp): New option.
19599 (appt-make-list): Respect appt-message-warning-time.
19600
548d0a63
GM
19601 * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
19602 New options.
19603 (diary-add-to-list): Strip comments from the displayed string.
19604 (diary-mode): Set comment-start and comment-end.
19605
60f884b2
GM
19606 * vc/diff-mode.el (smerge-refine-subst): Declare.
19607 (diff-refine-hunk): Don't require smerge-mode when compiling.
19608
989681bb
JB
196092011-05-06 Juanma Barranquero <lekktu@gmail.com>
19610
19611 * simple.el (list-processes): Return nil as the docstring says.
19612
a6bc05e1
MA
196132011-05-05 Michael Albinus <michael.albinus@gmx.de>
19614
19615 * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
19616 to "".
19617 (ange-ftp-write-region, ange-ftp-insert-file-contents)
19618 (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
19619 determining of binary transfer. (Bug#7383)
19620
23c22e9a
MA
196212011-05-05 Michael Albinus <michael.albinus@gmx.de>
19622
c4662635
SM
19623 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
19624 Fix port computation bug. (Bug#8618)
23c22e9a 19625
0bff894f
GM
196262011-05-05 Glenn Morris <rgm@gnu.org>
19627
b8296902
GM
19628 * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
19629
1f522ce8
GM
19630 * simple.el (shell-dynamic-complete-functions)
19631 (comint-dynamic-complete-functions): Declare.
19632
cf5bee67
GM
19633 * net/network-stream.el (gnutls-negotiate):
19634 * simple.el (tabulated-list-print): Fix declarations.
19635
19636 * progmodes/gud.el (syntax-symbol, syntax-point):
19637 Remove unnecessary and incorrect declarations.
19638
0bff894f 19639 * emacs-lisp/check-declare.el (check-declare-scan):
1f9f395d 19640 Handle byte-compile-initial-macro-environment in bytecomp.el.
0bff894f 19641
9869b3ae
SM
196422011-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
19643
19644 Fix earlier half-done eieio-defmethod change (bug#8338).
19645 * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
19646 Streamline and change calling convention.
19647 (defmethod): Adjust accordingly and simplify.
19648 (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
19649 new eieio--defmethod.
19650 (slot-boundp): Minor CSE simplification.
19651
9c1d5ac5
MZ
196522011-05-05 Milan Zamazal <pdm@zamazal.org>
19653
19654 * progmodes/glasses.el (glasses-separate-capital-groups): New option.
19655 (glasses-make-readable): Use glasses-separate-capital-groups.
19656
455c834e
JB
196572011-05-05 Juanma Barranquero <lekktu@gmail.com>
19658
19659 * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
19660 (warning-series): Doc fix.
19661 (display-warning): Don't try to create the buffer if we just found it.
19662
9ed7c8cb
CY
196632011-05-04 Chong Yidong <cyd@stupidchicken.com>
19664
19665 * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
19666 (autoload-find-generated-file): New function.
19667 (generate-file-autoloads): Bind generated-autoload-file to
19668 buffer-file-name.
9869b3ae
SM
19669 (update-file-autoloads, update-directory-autoloads):
19670 Use autoload-find-generated-file. If called interactively, prompt for
9ed7c8cb
CY
19671 output file (Bug#7989).
19672 (batch-update-autoloads): Doc fix.
19673
0898ca10
JB
196742011-05-04 Juanma Barranquero <lekktu@gmail.com>
19675
19676 * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
19677
31dfb76c
GM
196782011-05-04 Glenn Morris <rgm@gnu.org>
19679
f330b642
GM
19680 * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
19681 function, so it follows changes in calendar-date-style.
19682 (diary-fancy-date-matcher): New function.
19683 (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
19684 (diary-fancy-font-lock-fontify-region-function):
19685 Use diary-fancy-date-pattern as a function.
19686
31dfb76c
GM
19687 * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
19688 non-numbers for `year' etc pseudo-variables. (Bug#8583)
19689
48e79d6a
TZ
196902011-05-04 Teodor Zlatanov <tzz@lifelogs.com>
19691
19692 * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
19693 instead of positional arguments. Allow :keylist and :crlfiles
19694 arguments.
19695 (open-gnutls-stream): Call it.
19696
19697 * net/network-stream.el (network-stream-open-starttls): Adjust to
19698 call `gnutls-negotiate' with :process and :hostname arguments.
19699
dd5a5ee0
SM
197002011-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
19701
ef80fc09
SM
19702 * minibuffer.el (completion--message): New function.
19703 (completion--do-completion, minibuffer-complete)
19704 (minibuffer-force-complete, minibuffer-complete-word): Use it.
19705 (completion--do-completion): Don't ignore completion-auto-help when in
19706 icomplete-mode.
19707
dd5a5ee0
SM
19708 * whitespace.el (whitespace-trailing-regexp): Don't rely on the
19709 internal encoding (e.g. tibetan zero is not whitespace).
19710 (global-whitespace-mode): Prefer save-current-buffer.
19711 (whitespace-trailing-regexp): Remove useless save-match-data.
19712 (whitespace-empty-at-bob-regexp): Minor simplification.
19713
b7d22a83
CY
197142011-05-03 Chong Yidong <cyd@stupidchicken.com>
19715
19716 * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
19717
5192af46
AM
197182011-05-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
19719
19720 * textmodes/ispell.el (ispell-add-per-file-word-list):
cdc4a047 19721 Use `concat' to create string for insertion.
5192af46 19722
5767d190
SM
197232011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
19724
19725 * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
19726 Avoid open-line which runs post-self-insert-hook.
19727 (bibtex-fill-entry): Remove unused `end' var.
19728
bf242939
AM
197292011-05-03 Dirk Ullrich <dirk.ullrich@googlemail.com> (tiny change)
19730
5767d190
SM
19731 * textmodes/ispell.el (ispell-add-per-file-word-list):
19732 Protect against `nil' value of `comment-start' (Bug#8579).
bf242939 19733
25666126
LL
197342011-05-03 Leo Liu <sdl.web@gmail.com>
19735
19736 * isearch.el (isearch-yank-pop): New command.
5767d190 19737 (isearch-mode-map): Bind it to `M-y'.
25666126
LL
19738 (isearch-forward): Mention it.
19739
52d3c2d0
SM
197402011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
19741
1bcace58
SM
19742 * simple.el (minibuffer-complete-shell-command): Remove.
19743 (minibuffer-local-shell-command-map): Use completion-at-point.
19744 (read-shell-command): Setup completion vars here instead.
19745 (read-expression-map): Bind TAB to symbol completion.
19746
52d3c2d0
SM
19747 * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
19748 error directly rather via storing it into `results'.
19749
35813471
LL
197502011-05-02 Leo Liu <sdl.web@gmail.com>
19751
19752 * vc/diff.el: Fix description.
19753
e793a940
LMI
197542011-05-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
19755
19756 * server.el (server-eval-at): New function.
19757
8de66e05
LMI
197582011-05-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
19759
19760 * net/network-stream.el (open-network-stream): Take a :nowait
19761 parameter and pass it on to `make-network-process'.
19762 (network-stream-open-plain): Ditto.
19763
dcb79f20
AS
197642011-04-30 Andreas Schwab <schwab@linux-m68k.org>
19765
19766 * faces.el (face-spec-set-match-display): Don't match toolkit
19767 options on terminal frames.
19768
14a7fbd8
SM
197692011-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
19770
7eabc1be
SM
19771 * progmodes/pascal.el: Use lexical binding.
19772 (pascal-mode-map): Remove author preferences.
19773
14a7fbd8
SM
19774 * pcomplete.el (pcomplete-std-complete): Don't abuse
19775 completion-at-point.
19776
50f84510
JB
197772011-04-28 Juanma Barranquero <lekktu@gmail.com>
19778
6e087a44
JB
19779 * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
19780 removing code that has been dead since 1991 or so.
19781
50f84510
JB
19782 * startup.el (command-line): When warning about "_emacs", use a
19783 delayed warning to allow the user to filter it out.
19784
0ba690bd
DD
197852011-04-28 Deniz Dogan <deniz@dogan.se>
19786
19787 * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
19788 user has not joined.
19789
08abfaad
SM
197902011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
19791
19792 * pcomplete.el (pcomplete-completions-at-point): Return nil if there
19793 aren't any completions at point.
19794
638f053a
JB
197952011-04-28 Juanma Barranquero <lekktu@gmail.com>
19796
19797 * subr.el (display-delayed-warnings): New function.
19798 (delayed-warnings-hook): New variable.
19799
8fff8daa
SM
198002011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
19801
08abfaad
SM
19802 * minibuffer.el (completion-at-point, completion-help-at-point):
19803 Don't presume that a given completion-at-point-function will always
19804 use the same calling convention.
19805
8fff8daa
SM
19806 * pcomplete.el (pcomplete-completions-at-point):
19807 Obey pcomplete-ignore-case. Don't call pcomplete-norm-func unless
19808 pcomplete-seen is non-nil.
19809 (pcomplete-comint-setup): Also recognize the new comint/shell
19810 completion functions.
19811 (pcomplete-do-complete): Don't call pcomplete-norm-func unless
19812 pcomplete-seen is non-nil.
19813
841a1577 198142011-04-27 Niels Giesen <niels.giesen@gmail.com>
211ec907 19815
841a1577 19816 * calendar/icalendar.el (diary-lib): Add require statement.
211ec907 19817 (icalendar--create-uid): Read out a uid from a text-property on
841a1577 19818 the first character in the entry. This allows for code to add its
211ec907
UJ
19819 own uid to the entry.
19820 (icalendar--convert-float-to-ical): Add export of
19821 `diary-float'-entries save for those with the optional DAY
19822 argument.
19823
2a782793
DC
198242011-04-27 Daniel Colascione <dan.colascione@gmail.com>
19825
19826 * subr.el (shell-quote-argument): Use alternate escaping strategy
19827 when we spot a variable reference in a string.
19828
0438ce91
DC
198292011-04-26 Daniel Colascione <dan.colascione@gmail.com>
19830
19831 * cus-start.el (all): Define customization for debug-on-event.
19832
841a1577 198332011-04-26 Daniel Colascione <dan.colascione@gmail.com>
8f91bf93
DC
19834
19835 * subr.el (shell-quote-argument): Escape correctly under Windows.
19836
d090ed6c
SM
198372011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
19838
19839 * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
19840
bfd31217
MA
198412011-04-25 Michael Albinus <michael.albinus@gmx.de>
19842
d090ed6c
SM
19843 * net/tramp.el (tramp-process-actions): Add POS argument.
19844 Delete region between POS and (pos).
bfd31217 19845
d090ed6c
SM
19846 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
19847 Use `nil' position in `tramp-process-actions' call.
bfd31217
MA
19848 (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
19849
19850 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
19851 position in `tramp-process-actions' call.
19852
19853 * net/trampver.el: Update release number.
19854
e92f3bd3
SM
198552011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
19856
850256b5
SM
19857 * custom.el (defcustom): Obey lexical-binding.
19858
e92f3bd3
SM
19859 Fix octave-inf completion problems reported by Alexander Klimov.
19860 * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
19861 Inherit from octave-mode-syntax-table.
19862 (inferior-octave-mode): Set info-lookup-mode.
19863 (inferior-octave-completion-at-point): New function.
19864 (inferior-octave-complete): Use it and completion-in-region.
19865 (inferior-octave-dynamic-complete-functions): Use it as well, and use
19866 comint-filename-completion.
19867 * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
19868 symbol elements which shouldn't be word elements.
19869 (octave-font-lock-keywords, octave-beginning-of-defun)
19870 (octave-function-header-regexp): Adjust regexps accordingly.
19871 (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
19872
cd22b309
JB
198732011-04-25 Juanma Barranquero <lekktu@gmail.com>
19874
19875 * net/gnutls.el (gnutls-errorp): Declare before first use.
19876
8b492194
TZ
198772011-04-24 Teodor Zlatanov <tzz@lifelogs.com>
19878
19879 * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
19880 verify-error, and verify-hostname-error parameters. Check whether
cd22b309 19881 default trustfile exists before going to use it. Add missing
5a5fa834 19882 argument to gnutls-message-maybe call. Return value.
8b492194
TZ
19883 Reported by Claudio Bley <claudio.bley@gmail.com>.
19884 (open-gnutls-stream): Add usage example.
19885
19886 * net/network-stream.el (network-stream-open-starttls): Give host
19887 parameter to `gnutls-negotiate'.
19888 (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
8f91bf93 19889 * subr.el (shell-quote-argument): Escape correctly under Windows.
8b492194 19890
841a1577 198912011-04-24 Daniel Colascione <dan.colascione@gmail.com>
05842630 19892
cd22b309
JB
19893 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
19894 Use correct match group (bug#8438).
05842630 19895
3ba7869c
CY
198962011-04-24 Chong Yidong <cyd@stupidchicken.com>
19897
512e3ae1
CY
19898 * emacs-lisp/package.el (package-built-in-p): Fix typo.
19899 (package-menu--generate): New arg specifying packages to show.
19900 (package-menu-refresh, package-menu-execute, list-packages):
19901 Callers changed.
19902 (package-show-package-list): New function, replacing deleted
19903 package--list-packages (renamed because it is non-internal).
19904
19905 * finder.el (finder-list-matches): Use package-show-package-list
19906 instead of deleted package--list-packages.
19907
e92f3bd3
SM
19908 * vc/vc-annotate.el (vc-annotate-goto-line): New command.
19909 Based on a previous implementation by Juanma Barranquero (Bug#8366).
3ba7869c
CY
19910 (vc-annotate-mode-map): Bind it to RET.
19911
7031be6d
UR
199122011-04-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
19913
19914 * progmodes/etags.el (next-file): Don't use set-buffer to change
19915 buffers (Bug#8478).
19916
4ef177aa
CY
199172011-04-24 Chong Yidong <cyd@stupidchicken.com>
19918
c8d173eb
CY
19919 * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
19920
4ef177aa
CY
19921 * apropos.el (apropos-label-face): Avoid variable-pitch face.
19922 (apropos-accumulator): Doc fix.
19923 (apropos-function, apropos-macro, apropos-command)
19924 (apropos-variable, apropos-face, apropos-group, apropos-widget)
19925 (apropos-plist): Add face property.
19926 (apropos-symbols-internal): Fix indentation.
19927 (apropos-print): Simplify help, and recognize apropos-multi-type.
19928 (apropos-print-doc): Use button-type-get to extract the button's
19929 face property. Fill docstring (Bug#8352).
19930
4ffd0d6b 199312011-04-23 Juanma Barranquero <lekktu@gmail.com>
be71f810
JB
19932
19933 * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
19934
c6c32125 19935 * play/mpuz.el (mpuz-silent): Doc fix.
4ffd0d6b 19936 (mpuz-mode-map): Use mapc.
c6c32125
JB
19937 (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
19938 (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
19939 Fix typos in docstrings.
19940
58d468b4
JB
19941 * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
19942 (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
19943
6470c3c6
JB
19944 * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
19945
4ffd0d6b 199462011-04-23 Chong Yidong <cyd@stupidchicken.com>
6f21a319
CY
19947
19948 * minibuffer.el (completion--do-completion): Avoid the "Next char
19949 not unique" prompt if icomplete-mode is enabled (Bug#5849).
19950
3ad8bad0
CY
19951 * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
19952 mouse-2 into unread-command-events, it is interpreted correctly.
19953
71d73c9c 19954 * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
6395aab9 19955 (image-toggle-display): Doc fix.
71d73c9c 19956
841a1577 199572011-04-23 Stephen Berman <stephen.berman@gmx.net>
e935c6a2 19958
4ffd0d6b
GM
19959 * textmodes/page.el (what-page): Use line-number-at-pos to
19960 calculate line number (Bug#6825).
6e1dbaa9 19961
c2fb1b60
JB
199622011-04-22 Juanma Barranquero <lekktu@gmail.com>
19963
19964 * eshell/esh-mode.el (find-tag-interactive): Declare function.
19965 (eshell-find-tag): Remove `with-no-warnings', unneeded now.
19966 Pass argument NO-DEFAULT to `find-tag-interactive'.
19967
e02f48d7
JB
199682011-04-22 Juanma Barranquero <lekktu@gmail.com>
19969
19970 Lexical-binding cleanup.
19971
19972 * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
19973 (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
19974 * progmodes/ada-prj.el (ada-prj-initialize-values)
19975 (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
19976 (ada-prj-show-value):
19977 * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
19978 * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
19979 (antlr-invalidate-context-cache, antlr-options-menu-filter)
19980 (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
19981 * progmodes/bug-reference.el (bug-reference-push-button):
19982 * progmodes/fortran.el (fortran-line-length):
19983 * progmodes/glasses.el (glasses-change):
19984 * progmodes/octave-mod.el (octave-fill-paragraph):
19985 * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
19986 (python-pdbtrack-grub-for-buffer, python-sentinel):
19987 * progmodes/sql.el (sql-save-connection):
19988 * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
19989 * progmodes/xscheme.el (xscheme-enter-debugger-mode):
19990 Mark unused parameters.
19991
19992 * progmodes/compile.el (compilation--flush-directory-cache)
19993 (compilation--flush-parse, compile-internal): Mark unused parameters.
19994 (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
19995 (compilation-next-error-function): Remove unused variable `timestamp'.
19996
19997 * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
19998 (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
19999
20000 * progmodes/dcl-mode.el (dcl-end-of-command):
20001 Remove unused variable `start'.
20002 (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
20003 (dcl-option-value-basic, dcl-option-value-offset)
20004 (dcl-option-value-margin-offset, dcl-option-value-comment-line):
20005 Mark unused parameters.
20006 (dcl-save-local-variable): Remove unused variable `val'.
20007 (mode): Declare.
20008
20009 * progmodes/delphi.el (delphi-save-state, delphi-after-change):
20010 Mark unused parameters.
20011 (delphi-ignore-changes): Move before first use.
20012 (delphi-charset-token-at): Remove unused variable `start'.
20013 (delphi-else-start): Remove unused variable `if-count'.
20014 (delphi-comment-block-start, delphi-comment-block-end):
20015 Remove unused variable `kind'.
20016 (delphi-indent-line): Remove unused variable `new-point'.
20017
20018 * progmodes/ebrowse.el (ebrowse-files-list)
20019 (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
20020 Mark unused parameters. Don't quote `lambda'.
20021 (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
20022 Don't quote `lambda'.
20023 (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
20024 (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
20025 (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
20026 (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
20027 Use `ignore-errors'.
20028 (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
20029 (ebrowse-view/find-file-and-search-pattern)
20030 (ebrowse-view/find-member-declaration/definition):
20031 Rename parameter TAGS-FILE-NAME to TAGS-FILE.
20032 (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
20033 Rename parameter PREFIX-ARG to PREFIX.
20034 (ebrowse-tags-read-name): Remove unused variables `start' and
20035 `member-info'.
20036 (ebrowse-display-member-buffer): Rename variable `tags-file-name'
20037 to `tags-file'.
20038
20039 * progmodes/etags.el (local-find-tag-hook): Declare.
20040 (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
20041 Mark unused parameters.
20042
20043 * progmodes/executable.el (compilation-error-regexp-alist): Declare.
20044 (executable-interpret): Mark unused parameter.
20045
20046 * progmodes/flymake.el (flymake-process-sentinel)
20047 (flymake-after-change-function)
20048 (flymake-create-temp-with-folder-structure)
20049 (flymake-get-include-dirs-dot): Mark unused parameters.
20050 (flymake-safe-delete-directory): Remove unused variable `err'.
20051
20052 * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
20053 (speedbar-timer-fn, speedbar-line-text)
20054 (speedbar-change-expand-button-char, speedbar-delete-subblock)
20055 (speedbar-center-buffer-smartly): Declare functions.
20056 (gdb-find-watch-expression): Remove unused variable `array'.
20057 (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
20058 (gdb-starting): Mark unused parameters.
20059 (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
20060 (gdb-table-string): Remove unused variable `res'.
20061 (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
20062 (gdb-disassembly-handler-custom): Remove unused variable `pos'.
20063 (gdb-display-buffer): Remove unused variable `cur-size'.
20064
20065 * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
20066 allow lexical-binding compilation.
20067 (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
20068 (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
20069 (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
20070 Mark unused parameters.
20071 (gud-gdb-marker-filter): Remove unused variable `match'.
20072 (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
20073 lambda expressions and funcall them, instead of using `fset'.
20074
20075 * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
20076 HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
20077
20078 * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
20079 variable `header-beg'; use `let'.
20080
20081 * progmodes/icon.el (indent-icon-exp): Remove unused variables
20082 `restart', `last-sexp' and `at-do'.
20083
20084 * progmodes/js.el (js--debug): Mark unused parameter.
20085 (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
20086 (js--splice-into-items): Remove unused variable `item'.
20087 (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
20088
20089 * progmodes/make-mode.el (makefile-make-font-lock-keywords):
20090 Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
20091 (makefile-complete): Remove unused variable `try'.
20092 (makefile-fill-paragraph, makefile-match-function-end):
20093 Mark unused parameters.
20094
20095 * progmodes/octave-inf.el (inferior-octave-complete):
20096 Remove unused variable `proc'.
20097 (inferior-octave-output-digest): Mark unused parameter.
20098
20099 * progmodes/perl-mode.el (perl-calculate-indent):
20100 Remove unused variable `err'.
20101
20102 * progmodes/prolog.el (prolog-mode-keybindings-inferior)
20103 (prolog-indent-line): Mark unused parameters.
20104 (prolog-indent-line): Remove unused variable `beg'.
20105
20106 * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
20107 (reporter-dont-compact-list): Declare.
20108
20109 * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
20110 Remove unused variable `char'.
20111 (sh-debug): Mark unused parameter.
20112 (sh-get-indent-info): Remove unused variable `start'.
20113 (sh-calculate-indent): Remove unused variable `var'.
20114
20115 * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
20116 (simula-electric-keyword): Remove unused variable `null'.
20117 (simula-search-backward, simula-search-forward): Remove unused
20118 variables `begin' and `end'.
20119
20120 * progmodes/vera-mode.el (vera-guess-basic-syntax):
20121 Remove unused variable `pos'.
20122 (vera-electric-tab, vera-comment-uncomment-region):
20123 Mark unused parameters.
20124 (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
20125
7ede3b65
CY
201262011-04-22 Chong Yidong <cyd@stupidchicken.com>
20127
20128 * emacs-lisp/package.el (package--builtins, package-alist)
20129 (package-load-descriptor, package-built-in-p, package-activate)
20130 (define-package, package-installed-p)
20131 (package-compute-transaction, package-buffer-info)
20132 (package--push): Doc fix. Distinguish more clearly between
20133 version strings and version lists.
20134
121656e9
JB
201352011-04-21 Juanma Barranquero <lekktu@gmail.com>
20136
20137 Lexical-binding cleanup.
20138
20139 * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
20140 (5x5-make-mutate-best):
20141 * play/fortune.el (fortune-in-buffer):
20142 * play/gomoku.el (gomoku-init-display):
20143 * play/solitaire.el (solitaire, solitaire-do-check):
20144 * play/tetris.el (tetris-default-update-speed-function):
20145 Mark unused parameters.
20146
20147 * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
20148 (bubbles--shift): Remove unused variable `char-org'.
20149 (bubbles--set-faces): Remove unused variable `fg-col'. Simplify.
20150 (bubbles--show-images): Remove unused variable `char'.
20151
20152 * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
20153 (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
20154 (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
20155 (decipher-analyze-buffer): Use ?\s.
20156 (decipher-make-checkpoint): Remove unused variable `mapping'.
20157
20158 * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
20159
20160 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
20161 Remove unused variable `result'; use `let'.
20162
20163 * play/gametree.el (gametree-current-layout, gametree-apply-layout):
20164 Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
20165 (gametree-children-shown-p, gametree-compute-reduced-score):
20166 Use `ignore-errors'.
20167
20168 * play/handwrite.el (ps-lpr-switches): Declare.
20169 (handwrite): Remove unused variables `pmin' and `lastp'.
20170
20171 * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
20172
20173 * play/landmark.el (landmark-init-display)
20174 (landmark-update-naught-weights): Mark unused parameters.
20175 (landmark-y): Remove unused variable `noise'. Simplify.
20176 (landmark-human-plays): Remove unused variable `score'.
20177
20178 * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
20179 (mpuz-try-proposal): Remove unused variable `game'.
20180
20181 * play/zone.el (life-patterns): Declare.
20182
80f499c7
JB
201832011-04-20 Juanma Barranquero <lekktu@gmail.com>
20184
20185 * vc/vc.el (ediff-vc-internal): Declare function.
20186
024ff170
SM
201872011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
20188
c0a193ea
SM
20189 * shell.el: Use lexical-binding and std completion UI.
20190 (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
20191 (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
20192 comint-preoutput-filter-functions rather than on
20193 comint-output-filter-functions.
20194 (shell-command-completion, shell--command-completion-data)
20195 (shell-filename-completion, shell-environment-variable-completion)
20196 (shell-c-a-p-replace-by-expanded-directory): New functions.
20197 (shell-dynamic-complete-functions, shell-dynamic-complete-command)
20198 (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
20199 (shell-dynamic-complete-environment-variable): Use them.
20200 (shell-dynamic-complete-as-environment-variable)
20201 (shell-dynamic-complete-as-command): Remove.
20202 (shell-match-partial-variable): Match past point.
20203 * comint.el: Clean up use of completion-at-point-functions.
20204 (comint-completion-at-point): New function.
20205 (comint-mode): Use it completion-at-point-functions.
20206 (comint-dynamic-complete): Make it obsolete.
20207 (comint-replace-by-expanded-history-before-point): Add dry-run arg.
20208 (comint-c-a-p-replace-by-expanded-history): New function.
20209 (comint-dynamic-complete-functions)
20210 (comint-replace-by-expanded-history): Use it.
20211 * minibuffer.el (completion-table-with-terminator): Allow dynamic
20212 termination strings. Try harder to avoid second try-completion.
20213 (completion-in-region-mode-map): Disable bindings that don't work yet.
20214
2dbaa080
SM
20215 * comint.el: Use lexical-binding. Require CL.
20216 (comint-dynamic-complete-functions): Use comint-filename-completion.
20217 (comint-completion-addsuffix): Tweak custom type.
20218 (comint-filename-completion, comint--common-suffix)
20219 (comint--common-quoted-suffix, comint--table-subvert)
20220 (comint--complete-file-name-data): New functions.
20221 (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
20222 (comint-dynamic-list-filename-completions): Use them.
20223 (comint-dynamic-simple-complete): Make obsolete.
c0a193ea 20224
2dbaa080
SM
20225 * minibuffer.el (completion-in-region-mode):
20226 Keep completion-in-region-mode--predicate global.
20227 (completion-in-region--postch):
20228 Assume completion-in-region-mode--predicate is not null.
20229
c79a6f38
SM
20230 * progmodes/flymake.el (flymake-start-syntax-check-process):
20231 Obey `dir'. Simplify.
20232
024ff170
SM
20233 * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
20234 we're in VC after all.
20235
1c6c854e
CS
202362011-04-20 Christoph Scholtes <cschol2112@googlemail.com>
20237
20238 * vc/vc.el (vc-diff-build-argument-list-internal)
024ff170 20239 (vc-version-ediff, vc-ediff): New commands.
1c6c854e
CS
20240 (vc-version-diff): Use vc-diff-build-argument-list-internal.
20241
bed7f140
SM
202422011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
20243
332e62ab
SM
20244 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
20245 add sanity check.
20246
bed7f140
SM
20247 * obsolete/erc-hecomplete.el: Make obsolete.
20248 * obsolete/: Standardize obsolescence info in the header.
20249
f195c582
GM
202502011-04-20 Glenn Morris <rgm@gnu.org>
20251
20252 * calendar/solar.el (solar-horizontal-coordinates):
20253 Use the longitude argument rather than `calendar-longitude'.
20254 (solar-date-next-longitude): Remove unused locals.
20255
cb79b8c0
VJL
202562011-04-20 Vinicius Jose Latorre <viniciusjl@ig.com.br>
20257
20258 * whitespace.el: New version 13.2.1.
20259
202602011-04-20 felix <EmacsWiki> (tiny change)
20261
d8e4b68b 20262 * whitespace.el (global-whitespace-mode): Keep highlight when
cb79b8c0
VJL
20263 switching between major modes on a file.
20264
602ea69d
SM
202652011-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
20266
20267 * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
20268 (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
20269 multi-line comments as well.
20270
06b60517
JB
202712011-04-19 Juanma Barranquero <lekktu@gmail.com>
20272
20273 Lexical-binding cleanup.
20274
20275 * arc-mode.el (archive-mode-revert):
20276 * cmuscheme.el (scheme-interactively-start-process):
20277 * custom.el (custom-initialize-delay):
20278 * dnd.el (dnd-open-local-file, dnd-open-remote-url):
20279 * dos-w32.el (direct-print-region-helper, direct-print-region-function):
20280 * emacs-lock.el (emacs-lock-clear-sentinel):
20281 * ezimage.el (defezimage):
20282 * follow.el (follow-avoid-tail-recenter):
20283 * fringe.el (set-fringe-mode-1):
20284 * generic-x.el (bat-generic-mode-compile):
20285 * help-mode.el (help-info-variable, help-do-xref)
20286 (help-mode-revert-buffer):
20287 * help.el (view-emacs-todo):
20288 * iswitchb.el (iswitchb-completion-help):
20289 * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
20290 * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
20291 (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
20292 * locate.el (locate-update):
20293 * longlines.el (longlines-encode-region)
20294 (longlines-after-change-function):
20295 * outline.el (outline-isearch-open-invisible):
20296 * ps-def.el (declare-function, charset-dimension, char-width)
20297 (encode-char):
20298 * ps-mule.el (ps-mule-plot-string):
20299 * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
20300 (recentf-edit-list-select, recentf-edit-list-validate)
20301 (recentf-open-files-action):
20302 * rect.el (delete-whitespace-rectangle-line)
20303 (rectangle-number-line-callback):
20304 * register.el (window-configuration-to-register)
20305 (frame-configuration-to-register):
20306 * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
20307 * select.el (xselect-convert-to-string, xselect-convert-to-length)
20308 (xselect-convert-to-targets, xselect-convert-to-delete)
20309 (xselect-convert-to-filename, xselect-convert-to-charpos)
20310 (xselect-convert-to-lineno, xselect-convert-to-colno)
20311 (xselect-convert-to-os, xselect-convert-to-host)
20312 (xselect-convert-to-user, xselect-convert-to-class)
20313 (xselect-convert-to-name, xselect-convert-to-integer)
20314 (xselect-convert-to-atom, xselect-convert-to-identity):
20315 * subr.el (declare, ignore, process-kill-without-query)
20316 (text-clone-maintain):
20317 * terminal.el (te-get-char, te-tic-sentinel):
20318 * tool-bar.el (tool-bar-make-keymap):
20319 * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
20320 * type-break.el (type-break-mode, type-break-noninteractive-query):
20321 * view.el (View-back-to-mark):
20322 * wid-browse.el (widget-browse-action, widget-browse-widget)
20323 (widget-browse-widgets, widget-browse-sexp):
20324 * widget.el (define-widget-keywords):
20325 * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
20326 Mark unused parameters.
20327
20328 * align.el (align-adjust-col-for-rule): Mark unused parameter.
20329 (align-areas): Remove unused variable `look'.
20330 (align-region): Remove unused variables `real-end' and `pos-list'.
20331
20332 * apropos.el (apropos-score-doc): Remove unused variable `i'.
20333
20334 * bindings.el (mode-line-modified, mode-line-remote):
20335 Mark unused parameters.
20336 (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
20337
20338 * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
20339 (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
20340
20341 * comint.el (comint-history-isearch-pop-state)
20342 (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
20343 (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
20344 (comint-substitute-in-file-name): Doc fix.
20345
20346 * completion.el (cmpl-statistics-block): Mark unused parameter.
20347 (add-completions-from-tags-table, add-completions-from-lisp-buffer)
20348 (save-completions-to-file, load-completions-from-file):
20349 Remove unused local variable `e'.
20350
20351 * composite.el (compose-chars): Remove unused variable `len'.
20352 (lgstring-insert-glyph): Remove unused variable `g'.
20353 (compose-glyph-string): Remove unused variables `ascent',
20354 `descent', `lbearing' and `rbearing'.
20355 (compose-glyph-string-relative): Remove unused variables
20356 `lbearing', `rbearing' and `wadjust'.
20357 (compose-gstring-for-graphic): Remove unused variables `header',
20358 `wadjust', `xoff' and `yoff'. Use `let', not `let*'.
20359 (compose-gstring-for-terminal): Remove unused variables `header'
20360 and `nchars'. Use `let', not `let*'.
20361
20362 * cus-edit.el (Custom-set, Custom-save, custom-reset)
20363 (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
20364 (Custom-buffer-done, custom-buffer-create-internal)
20365 (custom-browse-visibility-action, custom-browse-group-tag-action)
20366 (custom-browse-variable-tag-action, custom-browse-face-tag-action)
20367 (widget-magic-mouse-down-action, custom-toggle-parent)
20368 (custom-add-parent-links, custom-toggle-hide-variable)
20369 (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
20370 (custom-toggle-hide-face, face, hook, custom-group-link-action)
20371 (custom-face-menu-create, custom-variable-menu-create, get)
20372 (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
20373 (custom-reset-standard-save-and-update): Remove unused variable `value'.
20374 (customize-apropos): Remove unused variable `tests'.
20375 (custom-group-value-create): Remove unused variable `hidden-p'.
20376 (sort-fold-case): Declare.
20377
20378 * cus-theme.el (custom-reset-standard-faces-list)
20379 (custom-reset-standard-variables-list): Declare.
20380 (customize-create-theme, custom-theme-revert, custom-theme-write)
20381 (custom-theme-choose-mode, customize-themes, custom-theme-save):
20382 Mark unused parameters.
20383
20384 * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
20385
20386 * delim-col.el (delimit-columns-max): Move defvar before first use.
20387
20388 * descr-text.el (describe-char-categories): Don't quote `lambda'.
bd0d2ee2 20389 (describe-char): Don't quote `lambda'. Mark unused parameter.
06b60517
JB
20390
20391 * desktop.el (desktop-save-buffer-p): Mark unused parameter.
20392 (auto-insert): Declare.
20393 (desktop-restore-file-buffer): Rename desktop-* parameters;
20394 mark unused ones.
20395 (desktop-create-buffer): Rename desktop-* parameters and bind them.
20396 (desktop-buffer): Rename desktop-* parameters.
20397
20398 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
20399 (dframe-reposition-frame-xemacs, dframe-help-echo)
20400 (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
20401 Mark unused parameters.
20402
20403 * dired-aux.el (backup-extract-version-start, overwrite-query)
20404 (overwrite-backup-query, rename-regexp-query)
20405 (rename-non-directory-query): Declare.
20406 (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
20407 (dired-add-entry): Remove unused variable `orig-file-name'.
20408 (dired-copy-file-recursive): Remove unused variable `dirfailed'.
20409 Use parameter PRESERVE-TIME instead of accessing dynamic variable
20410 `dired-copy-preserve-time' directly.
20411 (dired-do-create-files-regexp): Remove unused variable `fn-count'.
20412 (dired-insert-subdir-newpos): Rename unused variable `pos'.
20413
20414 * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
20415 (dired-virtual-revert, dired-make-relative-symlink):
20416 Mark unused parameters.
20417 (manual-program): Declare.
20418 (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
20419 (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
20420 wrapped in `with-no-warnings' to avoid replacing one warning by another.
20421
20422 * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
20423
20424 * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
20425
20426 * echistory.el (electric-history-in-progress, Helper-return-blurb):
20427 Declare.
20428
20429 * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
20430
20431 * electric.el (Electric-command-loop): Rename parameter
20432 INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
20433
20434 * expand.el (expand-in-literal): Remove unused variable `here'.
20435
20436 * facemenu.el (facemenu-add-new-color):
20437 Remove unused variable `docstring'.
20438
20439 * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
20440 (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
20441 (face-attr-construct): Mark unused parameter. Doc fix.
20442 (read-color): Remove unused variable `hex-string'.
20443
20444 * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
20445 (locate-dominating-file): Remove unused vars `prev-file' and `user'.
20446 (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
20447 (display-buffer-other-frame): Remove unused variable `old-window'.
20448 (kill-buffer-hook): Declare.
20449 (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
20450 Mark unused parameters.
20451 (after-find-file): Pass 1 to `auto-save-mode', not t.
20452
20453 * files-x.el (auto-insert): Declare.
20454 (modify-file-local-variable-prop-line): Remove unused variable `val'.
20455
20456 * find-lisp.el (find-lisp-find-dired-internal): Remove unused
bd0d2ee2 20457 variable `buf'. Mark unused parameter.
06b60517
JB
20458 (find-lisp-insert-directory): Mark unused parameter.
20459
20460 * format.el (format-decode-run-method): Mark unused parameter; doc fix.
20461 (format-encode-region): Remove unused variables `cur-buf' and `result'.
20462 (format-common-tail): Remove, unused.
20463 (format-deannotate-region): Remove unused variable `loc'.
20464 (format-annotate-region): Remove unused variable `p'.
20465 (format-annotate-single-property-change): Remove unused variables
20466 `default' and `tail'.
20467
20468 * forms.el (read-file-filter): Declare.
20469 (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
20470
20471 * frame.el (frame-creation-function-alist): Mark unused parameter.
20472 (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
20473
20474 * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
20475 Remove unused parameters.
20476 (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
20477 (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
20478
20479 * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
20480 (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
20481 (hfy-prepare-tag-map): Mark unused parameters.
20482 (htmlfontify-buffer): Use `called-interactively-p'.
20483
20484 * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
20485 (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
20486 (ibuffer-do-occur): Mark unused parameters.
20487 (ibuffer-forward-next-marked): Remove unused variable `curmark'.
20488 (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
20489
20490 * ibuffer.el: Don't quote `lambda'.
20491 (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
20492 (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
20493 Mark unused parameters.
20494
20495 * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
20496 (ido-completing-read): Mark unused parameters.
20497 (ido-copy-current-word): Mark unused parameters;
20498 remove unused variable `name'.
20499 (ido-sort-merged-list): Remove unused parameter `dirs'.
20500
20501 * ielm.el (ielm-input-sender): Mark unused parameter.
20502 (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
20503 (ielm-output, ielm-wbuf, ielm-pmark): Declare.
20504 (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
20505 `ielm-string' as a dynamic variable accessible from the IELM prompt.
20506 Bind `ielm-string' to INPUT-STRING. Remove unused variable `err'.
20507
20508 * image-dired.el (image-dired-display-thumbs): Remove unused
20509 variables `curr-file' and `count'.
20510 (image-dired-remove-tag): Remove unused variable `start'.
20511 (image-dired-tag-files, image-dired-create-thumbs): Remove unused
20512 variable `curr-file'
20513 (image-dired-rotate-original): Remove unused variable `temp-file'.
20514 (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
20515 Remove unused variable `file'.
20516 (image-dired-gallery-generate): Remove unused variable `curr'.
20517 (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
20518
20519 * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
20520
20521 * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
20522
20523 * informat.el (texinfo-command-start, texinfo-command-end): Declare.
20524
20525 * isearch.el (minibuffer-history-symbol): Declare.
20526 (isearch-edit-string): Remove unused variable `err'.
20527 (isearch-message-prefix, isearch-message-suffix):
20528 Mark unused parameters.
20529
20530 * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
20531
20532 * macros.el (insert-kbd-macro): Remove unused variable `mods'.
20533
20534 * makesum.el (double-column): Remove unused variable `cnt'.
20535
20536 * misearch.el (multi-isearch-pop-state): Mark unused parameter.
20537 (ido-ignore-item-temp-list): Declare.
20538
20539 * mouse-drag.el (mouse-drag-throw): Remove unused variables
20540 `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
20541 `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
20542 (mouse-drag-drag): Remove unused variables `mouse-delta' and
20543 `mouse-col-delta'.
20544
20545 * mouse-sel.el (mouse-extend-internal):
20546 Remove unused variable `orig-window-frame'.
20547
20548 * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
20549 (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
20550 Move declarations before first use.
20551 (pcomplete-opt): Mark unused parameters; doc fix.
20552
20553 * proced.el (proced-revert): Mark unused parameter.
20554 (proced-send-signal): Remove unused variable `err'.
20555
20556 * ps-print.el (ps-print-preprint-region, ps-print-preprint):
20557 Rename parameter PREFIX-ARG to ARG.
20558 (ps-basic-plot-string, ps-basic-plot-whitespace):
20559 Mark unused parameters.
20560
20561 * replace.el (replace-count): Define.
20562 (occur-revert-function): Mark unused parameters.
20563 (ido-ignore-item-temp-list, isearch-error, isearch-forward)
20564 (isearch-case-fold-search, isearch-string): Declare.
20565 (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
20566 bind `case-fold-search'. Remove unused variables `beg' and `end',
20567 and simplify.
20568 (replace-eval-replacement): Rename parameter REPLACE-COUNT to
20569 COUNT and bind `replace-count'.
20570 (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
20571 to COUNT.
20572
20573 * savehist.el (print-readably, print-string-length): Declare.
20574
20575 * shadowfile.el (shadow-expand-cluster-in-file-name):
20576 Remove unused variable `cluster'.
20577 (shadow-copy-file): Remove unused variable `i'.
20578 (shadow-noquery, shadow-clusters, shadow-site-cluster)
20579 (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
20580 (shadow-define-literal-group, shadow-define-regexp-group)
20581 (shadow-make-group, shadow-shadows-of): Clean up docstrings.
20582
20583 * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
20584 (shell): Use `called-interactively-p'.
20585 (shell-directory-tracker): Remove unused variable `chdir-failure'.
20586
20587 * simple.el (compilation-context-lines, comint-file-name-quote-list)
20588 (comint-file-name-chars, comint-delimiter-argument-list): Declare.
20589 (delete-backward-char): Remove unused variable `ocol'.
20590 (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
20591 (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
20592 (event-apply-hyper-modifier, event-apply-shift-modifier)
20593 (event-apply-control-modifier, event-apply-meta-modifier):
20594 Mark unused parameters.
20595 (undo-make-selective-list): Remove duplicate variable `undo-elt'.
20596 (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
20597
20598 * speedbar.el (speedbar-ignored-directory-expressions)
20599 (speedbar-supported-extension-expressions, speedbar-directory-buttons)
20600 (speedbar-find-file, speedbar-dir-follow)
20601 (speedbar-directory-buttons-follow, speedbar-tag-find)
20602 (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
20603 (speedbar-buffers-line-directory, speedbar-buffer-click):
20604 Mark unused parameters.
20605 (speedbar-tag-file): Remove unused variable `mode'.
20606 (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
20607
20608 * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
20609
20610 * talk.el (talk): Remove unused variable `display'.
20611
20612 * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
20613 (tar-write-region-annotate): Mark unused parameter.
20614
20615 * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
20616 (minutes, seconds, time-zone, day, year, monthname, month, dayname):
20617 Declare them, wrapped in `with-no-warnings' to avoid replacing one
20618 warning by another.
20619
20620 * time-stamp.el (time-stamp-string-preprocess):
20621 Remove unused variable `require-padding'.
20622
20623 * tree-widget.el (widget-glyph-enable): Declare.
20624 (tree-widget-action): Mark unused parameter.
20625
20626 * w32-fns.el (x-get-selection): Mark unused parameter.
20627 (autoload-make-program, generated-autoload-file): Declare.
20628
20629 * wdired.el (wdired-revert): Mark unused parameters.
20630 (wdired-xcase-word): Remove unused variable `err'.
20631
20632 * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
20633 (whitespace-help-scroll): Remove unused variable `data-help'.
20634
20635 * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
20636 (widget-image-insert, widget-after-change, default)
20637 (widget-default-format-handler, widget-default-notify)
20638 (widget-default-prompt-value, widget-info-link-action)
20639 (widget-url-link-action, widget-function-link-action)
20640 (widget-variable-link-action, widget-file-link-action)
20641 (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
20642 (widget-field-prompt-internal, widget-field-action, widget-field-match)
20643 (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
20644 (widget-insert-button-action, widget-delete-button-action, visibility)
20645 (widget-documentation-link-action, widget-documentation-string-action)
20646 (widget-const-prompt-value, widget-regexp-match, symbol)
20647 (widget-coding-system-prompt-value)
20648 (widget-key-sequence-value-to-external, sexp)
20649 (widget-sexp-value-to-internal, character, vector, cons)
20650 (widget-choice-prompt-value, widget-boolean-prompt-value)
20651 (widget-color--choose-action): Mark unused parameters.
20652 (widget-item-match-inline, widget-choice-match-inline)
20653 (widget-checklist-match, widget-checklist-match-inline)
20654 (widget-group-match): Rename parameter VALUES to VALS.
20655 (widget-field-value-set): Remove unused variable `size'.
20656 (widget-color-action): Remove unused variables `value' and `start'.
20657
20658 * windmove.el (windmove-wrap-loc-for-movement): Remove unused
bd0d2ee2 20659 variable `dir'. Doc fix.
06b60517
JB
20660 (windmove-find-other-window): Don't pass it.
20661
20662 * window.el (count-windows): Mark unused parameter.
20663 (bw-adjust-window): Remove unused variable `err'.
20664
20665 * woman.el (woman-file-name): Remove unused variable `default'.
20666 (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
20667 WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
20668 (global-font-lock-mode): Declare.
20669 (woman-decode-region): Mark unused parameter.
20670 (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
20671
20672 * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
20673 (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
20674 (x-dnd-handle-moz-url): Remove unused variable `title'.
20675 (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
20676
20677 * xml.el (xml-parse-tag, xml-parse-attlist):
20678 Remove unused variable `pos'.
20679
bc4f7f3d
GM
206802011-04-19 Glenn Morris <rgm@gnu.org>
20681
20682 * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
20683 (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
20684 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
20685 (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
20686 * calendar/cal-html.el (cal-html-insert-minical):
20687 * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
20688 (calendar-mark-date-pattern):
20689 Prefix "unused" locals.
20690
20691 * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
20692 optional argument `style'.
20693
20694 * calendar/appt.el (appt-make-list):
20695 * calendar/cal-china.el (calendar-chinese-date-string):
20696 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
20697 (diary-hebrew-yahrzeit):
20698 * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
20699 * calendar/calendar.el (calendar-generate-window):
20700 * calendar/time-date.el (time-to-days):
20701 Remove unused local variables.
20702
16a43933
CY
207032011-04-18 Chong Yidong <cyd@stupidchicken.com>
20704
20705 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
20706 glyphless-char-display table.
20707 (tabulated-list-glyphless-char-display): New var.
20708
7eed1860
SS
207092011-04-18 Sam Steingold <sds@gnu.org>
20710
20711 * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
20712 to acknowledgments.
20713
4d2d1ccd
GM
207142011-04-17 Glenn Morris <rgm@gnu.org>
20715
20716 * calendar/diary-lib.el (diary-sexp-entry):
20717 * calendar/holidays.el (holiday-sexp):
20718 Set debug-on-error rather than the removed stack-trace-on-error.
20719
239da61d
GM
207202011-04-16 Glenn Morris <rgm@gnu.org>
20721
20722 * progmodes/f90.el: Use lexical-binding.
20723 (f90-get-correct-indent): Remove unnecessary local variable `cont'.
20724
8b05752a
SM
207252011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
20726
daca8ba5
SM
20727 * mail/sendmail.el (mail-mode-map): Use completion-at-point.
20728 (mail-mode): Setup mailalias completion here instead.
20729 * mail/mailalias.el: Use lexical-binding.
20730 (pattern, mailalias-done): Declare dynamic.
20731 (mail-completion-at-point-function): New function, from mail-complete.
20732 (mail-complete): Use it.
20733 (mail-completion-expand): New function.
20734 (mail-get-names): Use it.
20735 (mail-directory, mail-directory-process, mail-directory-stream):
20736 Don't use `pattern' for lexically bound arg.
20737
6f542485
SM
20738 * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
20739
037e7c3f
SM
20740 * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
20741 (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
20742 (hfy-etags-cmd-alist): Don't eval-and-compile any more.
20743
8b05752a
SM
20744 * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
20745 (byte-save-window-excursion, byte-temp-output-buffer-setup)
20746 (byte-interactive-p): Define them again, for use when inlining
20747 old code.
20748
49093f60
JB
207492011-04-15 Juanma Barranquero <lekktu@gmail.com>
20750
20751 * loadup.el: Use `string-to-number', not `string-to-int'.
20752
b5b8e7de
SM
207532011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
20754
20755 * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
20756 gud-gdb-complete-command.
20757 (gud-gdb-completions): New function, from gud-gdb-complete-command.
20758 (gud-gdb-completion-at-point): New function.
20759 (gud-gdb-completions): Remove.
20760
f42efeb5
MA
207612011-04-14 Michael Albinus <michael.albinus@gmx.de>
20762
49093f60
JB
20763 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
20764 when the scripts fail. Use `tramp-do-file-attributes-with-ls' then.
20765 (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
20766 whether `executable-find' is bound.
f42efeb5
MA
20767
20768 * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
20769
e240cc21
SM
207702011-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
20771
20772 * minibuffer.el (completion-in-region-mode-predicate)
20773 (completion-in-region-mode--predicate): New vars.
20774 (completion-in-region, completion-in-region--postch)
20775 (completion-in-region-mode): Use them.
20776 (completion--capf-wrapper): Also return the hook function.
20777 (completion-at-point, completion-help-at-point):
20778 Adjust and provide a predicate.
c2bd2ab0
SM
20779
20780 Preserve arg names for advice of subr and lexical functions (bug#8457).
20781 * help-fns.el (help-function-arglist): Consolidate the subr and
20782 new-byte-code cases. Add argument `preserve-names' to extract names
20783 from the docstring when needed.
20784 * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
20785 (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
20786 (ad-arglist): Use help-function-arglist's new arg.
20787 (ad-definition-type): Use cond.
20788
c183f693
JB
207892011-04-13 Juanma Barranquero <lekktu@gmail.com>
20790
06641a47
JB
20791 * autorevert.el (auto-revert-handler):
20792 Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
20793 which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
20794 Don't quote lambda.
20795
c183f693
JB
20796 * image-mode.el (image-transform-set-scale):
20797 Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
20798
1e3b6001
G
207992011-04-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
20800
20801 * net/network-stream.el (network-stream-open-starttls): Only do
e9fce1ac 20802 opportunistic STARTTLS upgrades if we have built-in GnuTLS support.
1e3b6001
G
20803 Upgrades via gnutls-cli are too slow to be done opportunistically.
20804
2d6af8dd
JB
208052011-04-12 Juanma Barranquero <lekktu@gmail.com>
20806
20807 * dframe.el (dframe-current-frame): Remove spurious quote.
20808
c0749a51
GM
208092011-04-12 Glenn Morris <rgm@gnu.org>
20810
088d0d61
GM
20811 * calendar/cal-tex.el (cal-tex-end-document):
20812 Try to automatically use latin1 input if needed.
20813
c0749a51
GM
20814 * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
20815 Don't try to cons a mark onto an empty element.
20816
5c90fde0
LL
208172011-04-11 Leo Liu <sdl.web@gmail.com>
20818
20819 * ido.el (ido-buffer-internal): Allow method 'kill for virtual
20820 buffers.
20821 (ido-kill-buffer-at-head): Support killing virtual buffers.
20822
369e974d
CY
208232011-04-10 Chong Yidong <cyd@stupidchicken.com>
20824
20825 * minibuffer.el (completion-show-inline-help): New var.
20826 (completion--do-completion, minibuffer-complete)
daca8ba5
SM
20827 (minibuffer-force-complete, minibuffer-complete-word):
20828 Inhibit minibuffer messages if completion-show-inline-help is nil.
369e974d
CY
20829
20830 * icomplete.el (icomplete-mode): Bind completion-show-inline-help
20831 to avoid interference from inline help (Bug#5849).
20832
37f1c930
LL
208332011-04-10 Leo Liu <sdl.web@gmail.com>
20834
099c39a4
JB
20835 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
20836 Fix typo.
37f1c930 20837
a32d4040
CY
208382011-04-09 Chong Yidong <cyd@stupidchicken.com>
20839
20840 * image-mode.el (image-toggle-display-image): Signal an error if
20841 not in Image mode.
20842 (image-transform-mode, image-transform-resize)
20843 (image-transform-set-rotation): Doc fix.
daca8ba5 20844 (image-transform-set-resize): Delete.
a32d4040
CY
20845 (image-transform-set-scale, image-transform-fit-to-height)
20846 (image-transform-fit-to-width): Handle image-toggle-display-image
20847 and image-transform-resize directly.
20848
099c39a4 208492011-04-08 Sho Nakatani <lay.sakura@gmail.com>
d7b89879
TH
20850
20851 * doc-view.el (doc-view-fit-width-to-window)
099c39a4
JB
20852 (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
20853 New functions for fitting the shown image to the Emacs window size.
d7b89879
TH
20854 (doc-view-mode-map): Add bindings for the new functions.
20855
099c39a4 208562011-04-08 Juanma Barranquero <lekktu@gmail.com>
ddc20cdb 20857
4d61f28d 20858 * vc/vc-annotate.el (vc-annotate-show-log-revision-at-line):
ddc20cdb
JB
20859 Fix typo in docstring.
20860
3726838a
EZ
208612011-04-08 Eli Zaretskii <eliz@gnu.org>
20862
04f33f1e
EZ
20863 * files.el (file-size-human-readable): Produce one digit after
20864 decimal, like "ls -lh" does.
20865
20866 * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
20867 the file size representation.
20868
3726838a
EZ
20869 * simple.el (list-processes): If async subprocesses are not
20870 available, error out with a clear error message.
20871
cbb59342
CY
208722011-04-08 Chong Yidong <cyd@stupidchicken.com>
20873
20874 * help.el (help-form-show): New function, to be called from C.
20875 Put help-form output in a buffer named differently than *Help*.
20876
e3971c44
EZ
208772011-04-08 Eli Zaretskii <eliz@gnu.org>
20878
20879 * files.el (file-size-human-readable): New function.
20880
20881 * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
20882 computing the representation inline. Don't require `cl'.
20883
12544bbe
GM
208842011-04-08 Glenn Morris <rgm@gnu.org>
20885
a1de6c6a
GM
20886 * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
20887
3c4671f4
GM
20888 * net/browse-url.el (browse-url-firefox):
20889 Test system-type, not system-configuration.
20890
b605679c
GM
20891 * vc/log-edit.el (log-edit-empty-buffer-p): New function.
20892 (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
20893 Use log-edit-empty-buffer-p. (Bug#7598)
20894
56442f0c
GM
20895 * net/rlogin.el (rlogin-process-connection-type): Simplify.
20896 (rlogin-mode-map): Initialize in the defvar.
20897 (rlogin): Use ignore-errors.
20898
12544bbe
GM
20899 * replace.el (occur-mode-map): Some fixes for menu items.
20900
eb237b0f
AH
209012011-04-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
20902
20903 * play/morse.el (denato-region): Handle varying case. (Bug#8386)
20904
7d668f2c
CY
209052011-04-06 Chong Yidong <cyd@stupidchicken.com>
20906
e67a13ab
CY
20907 * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
20908 issuing unused warnings.
20909
20910 * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
20911 macro directly.
20912
7d668f2c
CY
20913 * simple.el: Lisp reimplement of list-processes. Based on an
20914 earlier reimplementation by Leo Liu, but using tabulated-list.el.
20915 (process-menu-mode): New major mode.
20916 (list-processes--refresh, list-processes):
20917 (process-menu-visit-buffer): New functions.
20918
20919 * files.el (save-buffers-kill-emacs): Don't assume any return
20920 value of list-processes, which is undocumented anyway.
20921
a83ec3c9
CY
209222011-04-06 Chong Yidong <cyd@stupidchicken.com>
20923
20924 * emacs-lisp/tabulated-list.el: New file.
20925
e91a96fe
CY
20926 * emacs-lisp/package.el: Use Tabulated List mode.
20927 (package-menu-mode-map): Inherit from tabulated-list-mode-map.
20928 (package-menu-mode): Derive from tabulated-list-mode. Set up the
20929 table format using Tabulated List mode variables.
20930 (package--push): New macro, replacing package-list-maybe-add.
20931 (package-menu--generate): Use package--push. Renamed from
20932 package--generate-package-list.
20933 (package-menu-refresh, list-packages): Use it.
daca8ba5 20934 (package-menu--print-info): Rename from package-print-package.
e91a96fe 20935 Return insertion data instead of inserting it directly.
099c39a4
JB
20936 (package-menu-describe-package, package-menu-execute):
20937 Use tabulated-list-get-id.
e91a96fe
CY
20938 (package-menu-mark-delete, package-menu-mark-install)
20939 (package-menu-mark-unmark, package-menu-backup-unmark)
099c39a4
JB
20940 (package-menu-mark-obsolete-for-deletion):
20941 Use tabulated-list-put-tag.
e91a96fe
CY
20942 (package--list-packages, package-menu-revert)
20943 (package-menu-get-package, package-menu-get-version)
20944 (package-menu-sort-by-column): Functions deleted.
20945 (package-menu-package-list, package-menu-sort-key): Vars deleted.
20946 (package-menu--status-predicate, package-menu--version-predicate)
20947 (package-menu--name-predicate)
20948 (package-menu--description-predicate): Handle arguments in the
20949 Tabulated List format.
20950 (package-list-packages-no-fetch): Call list-packages.
20951
3e214b50
JB
209522011-04-06 Juanma Barranquero <lekktu@gmail.com>
20953
20954 * files.el (after-find-file-from-revert-buffer): Remove variable.
c9d0ec6d 20955 (after-find-file): Don't bind it.
3e214b50
JB
20956 (revert-buffer-in-progress-p): New variable.
20957 (revert-buffer): Bind it.
20958 Pass nil for `after-find-file-from-revert-buffer'.
20959
20960 * saveplace.el (save-place-find-file-hook): Use new variable
20961 `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
20962
3f0f1700
GM
209632011-04-06 Glenn Morris <rgm@gnu.org>
20964
c0274801
GM
20965 * Makefile.in (AUTOGEN_VCS): New variable.
20966 (autoloads): Use $AUTOGEN_VCS.
20967
3f0f1700
GM
20968 * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
20969 * calendar/calendar.el (calendar-mode-map):
20970 Check for toolkit scroll bars. (Bug#8305)
20971
41ea9e48
CY
209722011-04-05 Chong Yidong <cyd@stupidchicken.com>
20973
20974 * minibuffer.el (completion-in-region--postch)
20975 (completion-in-region-mode): Remove unnecessary messages.
20976
6194c800
JB
209772011-04-05 Juanma Barranquero <lekktu@gmail.com>
20978
33256f14
JB
20979 * font-lock.el (font-lock-refresh-defaults):
20980 Don't bind `hi-lock--inhibit-font-lock-hook', removed in
20981 2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
20982
6194c800
JB
20983 * info.el (Info-directory-list, Info-read-node-name-2)
20984 (Info-split-parameter-string): Doc fixes.
20985 (Info-virtual-nodes): Reflow docstring.
20986 (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
20987 (Info-apropos-toc-nodes, info-finder, Info-get-token)
20988 (Info-find-emacs-command-nodes, Info-speedbar-key-map):
20989 Fix typos in docstrings.
20990 (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
20991 (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
20992 (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
20993 (Info-restore-desktop-buffer): Mark unused parameters.
20994 (Info-directory-find-file, Info-directory-find-node)
20995 (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
20996 (Info-virtual-index-find-node, Info-apropos-find-file)
20997 (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
33256f14 20998 Mark unused parameters; fix typos in docstrings.
6194c800
JB
20999 (Info-virtual-index): Remove unused local variable `nodename'.
21000
b87a8200 210012011-04-05 Deniz Dogan <deniz@dogan.se>
0f6ee7d2 21002
b87a8200
DD
21003 * net/rcirc.el: Update my e-mail address.
21004 (rcirc-mode-map): Remove M-o binding.
0f6ee7d2 21005
3b2ff876
CY
210062011-04-05 Chong Yidong <cyd@stupidchicken.com>
21007
21008 * startup.el (command-line): Save the cursor's theme-face
21009 directly, instead of using face-override-spec.
21010
21011 * custom.el (load-theme): Minor optimization in assigning faces.
21012
8d17e7ca
JB
210132011-04-04 Juanma Barranquero <lekktu@gmail.com>
21014
21015 * help-fns.el (describe-variable): Complete all variables having
21016 documentation, including keywords.
21017 http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
21018
2fbc1934
JB
210192011-04-04 Juanma Barranquero <lekktu@gmail.com>
21020
21021 Convert to lexical-binding.
21022
21023 * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
21024 (bs--get-marked-string, bs--get-modified-string)
21025 (bs--get-readonly-string, bs--get-size-string, bs--get-name)
21026 (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
21027 (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
21028
21029 * ehelp.el (electric-help-execute-extended)
21030 (electric-help-ctrl-x-prefix):
21031 * hexl.el (hexl-revert-buffer-function):
21032 * linum.el (linum-after-change, linum-after-scroll):
21033 * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
21034
21035 * help-fns.el (help-describe-category-set): Remove unused ERR variable.
21036
74f50695
DU
210372011-04-04 Daiki Ueno <ueno@unixuser.org>
21038
21039 * epa-dired.el:
21040 * epa-mail.el:
21041 * epa-hook.el:
21042 * epa-file.el:
21043 * epa.el:
21044 * epg.el: Use lexical binding.
21045
c11325f7
CY
210462011-04-03 Chong Yidong <cyd@stupidchicken.com>
21047
0d9e9a12
CY
21048 * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
21049
c11325f7 21050 * textmodes/flyspell.el (flyspell-word): Recognize default
daca8ba5
SM
21051 dictionary case for flyspell-mark-duplications-exceptions.
21052 Use regexp matching for languages.
c11325f7
CY
21053 (flyspell-mark-duplications-exceptions): Add "that" and "had" for
21054 default dictionary (Bug#7926).
21055
da91b5f2
CY
210562011-04-02 Chong Yidong <cyd@stupidchicken.com>
21057
099c39a4
JB
21058 * emacs-lisp/package.el (package--with-work-buffer):
21059 Recognize https URLs.
da91b5f2 21060
099c39a4
JB
21061 * net/network-stream.el: Move from gnus/proto-stream.el.
21062 Change prefix to network-stream throughout.
da91b5f2
CY
21063 (open-protocol-stream): Merge into open-network-stream, leaving
21064 open-protocol-stream as an alias. Handle nil BUFFER args.
21065
21066 * subr.el (open-network-stream): Move to net/network-stream.el.
21067
afa8e9f6
GM
210682011-04-02 Glenn Morris <rgm@gnu.org>
21069
1d2e369d
GM
21070 * find-dired.el (find-exec-terminator): New option.
21071 (find-ls-option): Test for -ls support.
21072 (find-ls-subdir-switches): Test for -b in find-ls-option.
21073 (find-dired, find-grep-dired): Doc fixes.
21074 (find-dired): Use find-exec-terminator.
21075
8abb7da8 21076 * find-dired.el (find-ls-option, find-ls-subdir-switches)
e7a395b5
GM
21077 (find-grep-options): Do not autoload these defcustoms, remove purecopy.
21078 (find-name-arg): Remove purecopy.
8abb7da8 21079
f3ca7378
GM
21080 * progmodes/grep.el (grep-find-use-xargs): Doc fix.
21081 (grep-compute-defaults): Check for `-exec COMMAND +' support.
21082 Set grep-find-use-xargs, grep-find-command, and grep-find-template
21083 accordingly. Don't add the null-device if not needed.
21084
afa8e9f6
GM
21085 * files.el (save-some-buffers): Doc fix.
21086
35eae264
EZ
210872011-04-02 Eli Zaretskii <eliz@gnu.org>
21088
21089 * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
21090
26b51db5
JB
210912011-04-01 Juanma Barranquero <lekktu@gmail.com>
21092
21093 * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
21094 Use `dolist' rather than `mapcar'.
21095
7200d79c
SM
210962011-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
21097
03408648 21098 Add lexical binding.
7200d79c 21099
03408648
SM
21100 * subr.el (apply-partially): Use new closures rather than CL.
21101 (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
21102 (dolist, dotimes): Use slightly different expansion for lexical code.
21103 (functionp): Move to C.
21104 (letrec): New macro.
21105 (with-wrapper-hook): Use it and apply-partially instead of CL.
21106 (eval-after-load): Preserve lexical-binding.
21107 (save-window-excursion, with-output-to-temp-buffer): Turn them
21108 into macros.
7200d79c 21109
03408648
SM
21110 * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
21111
21112 * help-fns.el (help-split-fundoc): Return nil if there's nothing else
21113 than the arglist.
21114 (help-add-fundoc-usage): Don't add `Not documented'.
21115 (help-function-arglist): Handle closures, subroutines, and new
21116 byte-code-functions.
21117 (help-make-usage): Remove leading underscores.
21118 (describe-function-1): Handle closures.
21119 (describe-variable): Use special-variable-p for completion.
21120
21121 * files.el (lexical-binding): Declare safe.
f488fb65 21122
03408648
SM
21123 * emacs-lisp/pcase.el: Don't use destructuring-bind.
21124 (pcase--memoize): Rename from pcase-memoize. Change weakness.
21125 (pcase): Add `let' pattern.
21126 Change memoization so it actually works.
21127 (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
21128 (pcase--u1) <guard, pred>: Fix possible shadowing problem.
21129 <let>: New case.
f488fb65 21130
03408648
SM
21131 * emacs-lisp/macroexp.el: Use lexical binding.
21132 (macroexpand-all-1): Check obsolete macros. Expand compiler-macros.
21133 Don't convert ' to #' without checking that it's indeed quoting
21134 a lambda.
21135
21136 * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
f488fb65 21137 Use eval-sexp-add-defvars.
03408648
SM
21138 (eval-sexp-add-defvars): New fun.
21139
21140 * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
21141
21142 * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
21143 Don't autoload.
21144 (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
21145 than the internal `byte-compile-lambda'.
21146 (defmethod): Don't hide code under quotes.
21147 (eieio-defmethod): New `code' argument.
21148
21149 * emacs-lisp/eieio-comp.el: Remove.
21150
21151 * emacs-lisp/edebug.el (edebug-eval-defun)
21152 (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
21153 (edebug-toggle): Avoid `eval'.
21154
21155 * emacs-lisp/disass.el (disassemble-internal): Handle new
21156 `closure' objects.
21157 (disassemble-1): Handle new byte codes.
21158
21159 * emacs-lisp/cl.el (pushnew): Silence warning.
21160
21161 * emacs-lisp/cl-macs.el (cl-byte-compile-block)
21162 (cl-byte-compile-throw): Remove.
21163 (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
21164
21165 * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
21166 closures.
21167
21168 * emacs-lisp/cconv.el: New file.
21169
21170 * emacs-lisp/bytecomp.el: Use lexical binding instead of
21171 a "bytecomp-" prefix. Macroexpand everything as a separate phase.
21172 (byte-compile-initial-macro-environment):
21173 Handle declare-function here.
21174 (byte-compile--lexical-environment): New var.
21175 (byte-stack-ref, byte-stack-set, byte-discardN)
21176 (byte-discardN-preserve-tos): New lap codes.
21177 (byte-interactive-p): Don't use any more.
21178 (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
21179 New macros.
21180 (byte-compile-lapcode): Use them and handle new lap codes.
21181 (byte-compile-obsolete): Remove.
21182 (byte-compile-arglist-signature): Handle new byte-code arg"lists".
21183 (byte-compile-arglist-warn): Check late def of inlinable funs.
21184 (byte-compile-cl-warn): Don't silence warnings for compiler-macros
21185 since they should have been expanded by now.
21186 (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
21187 (byte-compile-from-buffer): Remove unused second arg.
21188 (byte-compile-preprocess): New function.
21189 (byte-compile-toplevel-file-form): New function to distinguish
21190 file-form calls from outside from file-form calls from hunk-handlers.
21191 (byte-compile-file-form): Simplify.
21192 (byte-compile-file-form-defsubst): Remove.
21193 (byte-compile-file-form-defmumble): Simplify now that
21194 byte-compile-lambda always returns a byte-code-function.
21195 (byte-compile): Preprocess.
21196 (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
21197 Remove, not used any more.
21198 (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
21199 (byte-compile-make-args-desc): New funs.
21200 (byte-compile-lambda): Handle lexical functions. Always return
21201 a byte-code-function.
21202 (byte-compile-reserved-constants): New var, to make up room for
21203 closed-over variables.
21204 (byte-compile-constants-vector): Obey it.
21205 (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
21206 (byte-compile-macroexpand-declare-function): New function.
21207 (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
21208 byte-code-functions.
21209 (byte-compile-form): Check obsolescence here.
21210 (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
21211 (byte-compile-variable-ref): Remove.
21212 (byte-compile-dynamic-variable-op): New fun.
21213 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
21214 (byte-compile-variable-set): New funs.
21215 (byte-compile-discard): Add 2 args.
21216 (byte-compile-stack-ref, byte-compile-stack-set)
21217 (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
21218 (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
21219 macroexpand-all instead.
21220 (byte-compile-quote-form): Remove.
21221 (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
21222 (byte-compile-bind, byte-compile-unbind): New funs.
21223 (byte-compile-let): Handle let* and lexical binding.
21224 (byte-compile-let*): Remove.
21225 (byte-compile-catch, byte-compile-unwind-protect)
21226 (byte-compile-track-mouse, byte-compile-condition-case):
21227 Handle a new :fun-body form, used for lexical scoping.
21228 (byte-compile-save-window-excursion)
21229 (byte-compile-with-output-to-temp-buffer): Remove.
21230 (byte-compile-defun): Simplify.
21231 (byte-compile-stack-adjustment): New fun.
21232 (byte-compile-out): Use it.
21233 (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
21234
21235 * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
21236 handler any more.
21237
21238 * emacs-lisp/byte-opt.el: Use lexical binding.
21239 (byte-inline-lapcode): Remove (to bytecomp).
21240 (byte-compile-inline-expand): Pay attention to inlining to/from
21241 lexically bound code.
21242 (byte-compile-unfold-lambda): Don't handle byte-code-functions
21243 any more.
21244 (byte-optimize-form-code-walker): Don't handle save-window-excursion
21245 any more and don't call compiler-macros.
21246 (byte-compile-splice-in-already-compiled-code): Remove.
21247 (byte-code): Don't inline any more.
21248 (disassemble-offset): Receive `bytes' as argument rather than via
21249 dynamic scoping.
21250 (byte-compile-tag-number): Declare before first use.
21251 (byte-decompile-bytecode-1): Handle new byte-codes, don't change
21252 `return' even if make-spliceable.
21253 (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
21254 obsolete interactive-p.
21255 (byte-optimize-lapcode): Optimize new lap-codes.
21256 Don't trip up on new form of `byte-constant' lap code.
21257
21258 * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
21259
21260 * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
21261
21262 * custom.el (custom-initialize-default, custom-declare-variable):
21263 Use `defvar'.
21264
21265 * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
21266 New variables.
21267 (compile-onefile, .el.elc, compile-calc, recompile): Use them.
21268 (COMPILE_FIRST): Add macroexp and cconv.
21269 * makefile.w32-in: Mirror changes in Makefile.in.
21270
21271 * vc/cvs-status.el:
21272 * vc/diff-mode.el:
21273 * vc/log-edit.el:
21274 * vc/log-view.el:
21275 * vc/smerge-mode.el:
21276 * textmodes/bibtex-style.el:
090bd7cb 21277 * textmodes/css-mode.el:
03408648
SM
21278 * startup.el:
21279 * uniquify.el:
da91b5f2
CY
21280 * minibuffer.el:
21281 * newcomment.el:
21282 * reveal.el:
21283 * server.el:
21284 * mpc.el:
21285 * emacs-lisp/smie.el:
21286 * doc-view.el:
21287 * dired.el:
03408648
SM
21288 * abbrev.el: Use lexical binding.
21289
0f0c1f27
EZ
212902011-04-01 Eli Zaretskii <eliz@gnu.org>
21291
21292 * info.el (info-display-manual): New function.
21293
c82b2579
SM
212942011-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
21295
21296 * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
21297
221ddf68
TH
212982011-03-31 Tassilo Horn <tassilo@member.fsf.org>
21299
21300 * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
2fbc1934 21301 an entry for that server in rcirc-authinfo. (Bug#8385)
221ddf68 21302
cba6e77e
GM
213032011-03-31 Glenn Morris <rgm@gnu.org>
21304
e040639f
GM
21305 * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
21306
cba6e77e
GM
21307 * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
21308
6d0f1c9e
CS
213092011-03-30 Christoph Scholtes <cschol2112@googlemail.com>
21310
21311 * progmodes/python.el (python-default-interpreter)
21312 (python-python-command-args, python-jython-command-args)
21313 (python-which-shell, python-which-args, python-which-bufname)
21314 (python-file-queue, python-comint-output-filter-function)
21315 (python-toggle-shells, python-shell): Remove obsolete defcustoms,
21316 variables and functions.
21317
3e2d70fd
SM
213182011-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
21319
21320 * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
21321 (completion-in-region-mode): New minor mode.
21322 (completion-in-region): Use it.
21323 (completion-in-region--data, completion-in-region-mode-map): New vars.
21324 (completion-in-region--postch): New function.
21325 (completion--capf-misbehave-funs, completion--capf-safe-funs):
21326 New vars.
21327 (completion--capf-wrapper): New function.
21328 (completion-at-point): Use it to track well-behavedness of
21329 hook functions.
21330 (completion-help-at-point): New command.
21331
f3e4086c
JM
213322011-03-30 Jason Merrill <jason@redhat.com> (tiny change)
21333
21334 * vc/add-log.el (add-change-log-entry): Don't use whitespace
21335 syntax class to search for whitespace on a single line
21336 (Message-ID: <4D938140.4030905@redhat.com>).
21337
eb7ffc14
LL
213382011-03-30 Leo Liu <sdl.web@gmail.com>
21339
21340 * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
21341 New commands.
21342 (edit-abbrevs-map): Bind them here.
21343 (write-abbrev-file): New optinal arg VERBOSE. (Bug#5937)
21344
d806ab68
KM
213452011-03-29 Ken Manheimer <ken.manheimer@gmail.com>
21346
21347 * allout.el (allout-hide-by-annotation, allout-flag-region):
21348 Reduce possibility of overlay leakage by making them volatile.
21349
21350 * allout-widgets.el (allout-widgets-tally): Define as nil so the
21351 hash is not shared between buffers. Mode initialization is
21352 responsible for giving it a useful starting value.
21353 (allout-item-span): Reduce possibility of overlay leakage by
21354 making them volatile.
21355 (allout-widgets-count-buttons-in-region): Add diagnostic function
21356 for tracking down button overlay leaks.
21357
ea622834
LL
213582011-03-29 Leo Liu <sdl.web@gmail.com>
21359
21360 * ido.el (ido-read-internal): Use the default history var
21361 minibuffer-history if no HISTORY is specified.
21362
b62f8267
G
213632011-03-28 Brian T. Sniffen <bsniffen@akamai.com> (tiny change)
21364
03408648
SM
21365 * net/imap.el (imap-shell-open, imap-process-connection-type):
21366 Use imap-process-connection-type for 'shell' streams as well as
b62f8267
G
21367 Kerberos, SSL, other subprocesses.
21368
947b6566
LL
213692011-03-28 Leo Liu <sdl.web@gmail.com>
21370
21371 * abbrev.el (abbrev-table-empty-p): New function.
21372 (prepare-abbrev-list-buffer): Place empty abbrev tables after
21373 nonempty ones. (Bug#5937)
21374
5ffb62aa
JD
213752011-03-27 Jan Djärv <jan.h.d@swipnet.se>
21376
21377 * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
21378
7a097943
LL
213792011-03-27 Leo Liu <sdl.web@gmail.com>
21380
21381 * ansi-color.el (ansi-color-names-vector): Allow cons cell value
21382 for foreground and background colors.
21383 (ansi-color-make-color-map): Adapt.
21384
c5b40130
LL
213852011-03-25 Leo Liu <sdl.web@gmail.com>
21386
1f48f7d2
LL
21387 * midnight.el (midnight-time-float): Remove. Note it calculates
21388 the microsecond component incorrectly and seconds-to-time does the
21389 same job.
625897ec 21390 Remove redundant (require 'timer).
1f48f7d2 21391
c5b40130
LL
21392 * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
21393 (ido-completions): Remove unused arguments. (Bug#8329)
21394
d86d2721
SM
213952011-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
21396
21397 * minibuffer.el (completion--flush-all-sorted-completions):
21398 Remove itself from hook.
21399 (completion-at-point): Let the functions perform the completion
21400 immediately and return nil or t.
21401 * comint.el (comint-dynamic-complete-functions): Now identical to
21402 completion-at-point-functions.
21403 (comint-dynamic-list-input-ring): Remove unused var `index'.
21404 (comint--match-partial-filename, comint--unquote&expand-filename):
21405 New funs, split from comint-match-partial-filename.
21406 (comint-dynamic-complete): Use completion-at-point.
21407 (comint-dynamic-complete-filename): Use comint--match-partial-filename.
21408
e8974c48
DA
214092011-03-24 Drew Adams <drew.adams@oracle.com>
21410
21411 * thingatpt.el: Support `defun'.
21412
def71b5e
LL
214132011-03-23 Leo Liu <sdl.web@gmail.com>
21414
cb5af48e
LL
21415 * abbrevlist.el: Move to obsolete/abbrevlist.el.
21416
def71b5e
LL
21417 * help-mode.el (help-mode-finish): Tweak regexp.
21418
927c53e7
GM
214192011-03-23 Glenn Morris <rgm@gnu.org>
21420
18d05bed
GM
21421 * eshell/esh-opt.el (eshell-eval-using-options):
21422 Do not bind unused local variable `eshell-option-stub'.
21423
927c53e7
GM
21424 * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
21425
9d0da923
JB
214262011-03-22 Juanma Barranquero <lekktu@gmail.com>
21427
21428 * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
21429 keymap variable in `with-no-warnings' to avoid a warning when the
21430 keymap has been already `defconst'ed.
21431
4b978a67
LL
214322011-03-22 Leo Liu <sdl.web@gmail.com>
21433
21434 * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
21435 encode all chars in abbrevs; otherwise use emacs-mule or
21436 utf-8-emacs. (Bug#8308)
21437
5fd62452
JB
214382011-03-22 Juanma Barranquero <lekktu@gmail.com>
21439
0b1596c6
JB
21440 * simple.el (backward-delete-char-untabify):
21441 Avoid warning about using `delete-backward-char'.
21442
5fd62452
JB
21443 * image.el (image-type-file-name-regexps): Make it variable.
21444 `imagemagick-register-types' modifies it, and the user may want
21445 to add new extensions for known image types.
21446 (imagemagick-register-types): Throw error if not using ImageMagick.
21447
0b4e93f1
LL
214482011-03-22 Leo Liu <sdl.web@gmail.com>
21449
21450 * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
21451 located before rcirc-prompt-end-marker.
21452 (rcirc-complete): Error if point is not after rcirc prompt.
21453 Handle the case when table is nil.
9882e214 21454 (rcirc-user-authenticated): Define to fix compiler warning.
0b4e93f1 21455
fccee4ab
CY
214562011-03-22 Chong Yidong <cyd@stupidchicken.com>
21457
21458 * custom.el (custom--inhibit-theme-enable): Make it affect only
21459 custom-theme-set-variables and custom-theme-set-faces.
21460 (provide-theme): Ignore custom--inhibit-theme-enable.
21461 (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
21462 (custom-enabling-themes): Delete variable.
d86d2721
SM
21463 (enable-theme): Accept only loaded themes as arguments.
21464 Ignore the special custom-enabled-themes variable.
fccee4ab
CY
21465 (custom-enabled-themes): Forbid themes from setting this.
21466 Eliminate use of custom-enabling-themes.
21467 (custom-push-theme): Quote "changed" custom var entry.
0357c7ae 21468
af896da6
LL
214692011-03-21 Leo Liu <sdl.web@gmail.com>
21470
21471 * ido.el (ido-read-internal): Add ido-selected to history instead
21472 of user input.
21473
78f64af0
SM
214742011-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
21475
21476 * subr.el (deferred-action-list, deferred-action-function):
21477 Mark obsolete.
21478
b16ac1ec
LL
214792011-03-21 Leo Liu <sdl.web@gmail.com>
21480
810f7698
LL
21481 * vc/log-view.el: Remove (require 'wid-edit), not needed after the
21482 change on 2011-02-13 (bug#8309).
21483
b16ac1ec
LL
21484 * minibuffer.el (read-file-name-function): Change default value.
21485 (read-file-name--defaults): Rename from read-file-name-defaults.
21486 (read-file-name-default): Rename from read-file-name.
21487 (read-file-name): Call read-file-name-function.
21488
4e05e67e
GM
214892011-03-21 Glenn Morris <rgm@gnu.org>
21490
21491 * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
21492 Doc fixes.
21493
4359915b
CY
214942011-03-21 Chong Yidong <cyd@stupidchicken.com>
21495
21496 * cus-theme.el: Add missing provide statement.
21497 (customize-create-theme): Extract theme value correctly.
21498 (custom-theme-visit-theme): Autoload.
21499 (customize-create-theme): Prompt before inserting default faces.
21500
1fe275ee
JB
215012011-03-20 Jay Belanger <jay.p.belanger@gmail.com>
21502
21503 * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
21504 units and musical notes.
21505
cd394be1 215062011-03-20 Leo Liu <sdl.web@gmail.com>
3ec03f7e
LL
21507
21508 * ido.el (ido-read-internal): Use completing-read-default.
21509 (ido-completing-read): Fix compatibility with completing-read.
21510
7d476bde
CO
215112011-03-20 Christian Ohler <ohler@gnu.org>
21512
21513 * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
21514 (ert-delete-all-tests): Use `called-interactively-p' rather than
21515 `interactive-p'.
21516 (ert--make-xrefs-region): Respect END.
21517
fe0fb33e
CY
215182011-03-19 Chong Yidong <cyd@stupidchicken.com>
21519
ff854b0b
CY
21520 * dired-aux.el (dired-create-directory): Signal an error if the
21521 directory already exists (Bug#8246).
21522
fe0fb33e
CY
21523 * facemenu.el (list-colors-display): Call list-faces-display
21524 inside with-help-window.
21525 (list-colors-print): Use display property to align the final
21526 column, instead of checking window-width.
21527
576bce32
EZ
215282011-03-19 Eli Zaretskii <eliz@gnu.org>
21529
4d61f28d 21530 * vc/emerge.el (emerge-metachars): Separate value for ms-dos and
576bce32
EZ
21531 windows-nt systems.
21532 (emerge-protect-metachars): Quote correctly for ms-dos and
21533 windows-nt systems.
21534
89c41d68 215352011-03-19 Ralph Schleicher <rs@ralph-schleicher.de>
e6ce307c
RS
21536
21537 * info.el (info-initialize): Replace all uses of `:' with
21538 path-separator for compatibility with non-Unix systems.
21539 Cache quoting of path-separator. (Bug#8258)
21540
b14e3e21 215412011-03-19 Juanma Barranquero <lekktu@gmail.com>
ad22b7f7
JB
21542
21543 * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
21544 (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
21545 (mouse-avoidance-mode): Fix typos in docstrings.
21546
4525ce3e
CY
215472011-03-19 Chong Yidong <cyd@stupidchicken.com>
21548
21549 * startup.el (package-subdirectory-regexp): Move from package.el.
21550 Omit \\` and \\', and let callers add them.
21551
21552 * emacs-lisp/package.el (package-strip-version)
21553 (package-load-all-descriptors): Add \\` and \\' to
21554 package-subdirectory-regexp before using it.
21555 (package-untar-buffer): New arg DIR; ensure that file untars only
21556 into this expected directory. Remove superfluous delete-region.
21557 (package-unpack): Caller changed.
21558 (package-tar-file-info): Use package-subdirectory-regexp.
21559
a904a09a 215602011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
1518e4f0 21561
a904a09a
SM
21562 * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
21563 diff-mode-shared-map (bug#8284).
21564 (diff-mode-shared-map): Re-introduce some bindings that were problematic.
1518e4f0
G
21565
215662011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
21567
21568 * calendar/time-date.el (format-seconds): Use assoc instead of
21569 assoc-string, since assoc-string doesn't exist in XEmacs.
21570
171fc304
JB
215712011-03-17 Juanma Barranquero <lekktu@gmail.com>
21572
21573 * custom.el (custom-known-themes): Reflow docstring.
21574 (custom-theme-load-path): Fix typo in docstring.
21575 (load-theme): Fix typo in error message.
21576 (custom-available-themes, custom-variable-theme-value):
21577 Use `let', not `let*'.
21578
d71990a1
JB
215792011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
21580
21581 * calc/README: Mention inclusion of musical notes.
21582
21583 * calc/calc-units.el (calc-lu-quant): Rename from
21584 `calc-logunits-quantity'.
21585 (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
21586 (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
21587 (calc-db): Rename from `calc-dblevel'.
21588 (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
21589 (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
21590 (calc-np): Rename from `calc-nplevel'.
21591 (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
21592 (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
21593 (calc-lu-plus): Rename from `calc-logunits-add'.
21594 (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
21595 (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
21596 (calc-lu-minus): Rename from `calc-logunits-sub'.
21597 (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
21598 (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
21599 (calc-lu-times): Rename from `calc-logunits-mul'.
21600 (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
21601 (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
21602 (calc-lu-divide): Rename from `calc-logunits-div'.
21603 (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
21604 (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
21605
21606 * calc/calc-ext.el (calc-init-extensions): Update the names of the
21607 functions being autoloaded.
21608
21609 * calc/calc.el (calc-lu-power-reference): Rename from
21610 `calc-logunits-power-reference'.
21611 (calc-lu-field-reference): Rename from
21612 `calc-logunits-field-reference'.
21613
7a71b18d
GM
21614 * calc/calc-help.el (calc-l-prefix-help):
21615 Mention musical note functions.
d71990a1 21616
40c2934b
SM
216172011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
21618
21619 * minibuffer.el (completion-all-sorted-completions):
21620 Use :completion-cycle-penalty text property if present.
21621
b0911414
KM
216222011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
21623
21624 * allout.el (allout-yank-processing): Adjust for new rebulleting
21625 regime so bullet being yanked is used without prompting the user
21626 for a choice.
21627
8a05b668
JB
216282011-03-16 Juanma Barranquero <lekktu@gmail.com>
21629
21630 * startup.el (command-line): Warn the user that _emacs is deprecated.
21631
5ba5fb81
JB
216322011-03-16 Juanma Barranquero <lekktu@gmail.com>
21633
21634 * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
21635 (delphi-verbose, delphi-comment-face, delphi-string-face)
21636 (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
21637 (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
21638 (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
21639 (delphi-new-comment-line, delphi-font-lock-defaults)
21640 (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
21641 Fix typos in docstrings.
21642
2dab465b
KM
216432011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
21644
5ba5fb81 21645 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
2dab465b
KM
21646 Invert the roles of character and string values for INSTEAD, so a
21647 string is used for the more common case of a defaulting prompt.
21648
0adf5618
SM
216492011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
21650
21651 * progmodes/ruby-mode.el (ruby-backward-sexp):
21652 * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
21653 * play/gamegrid.el (gamegrid-make-face):
21654 * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
21655 (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
21656 * notifications.el (notifications-notify):
21657 * net/xesam.el (xesam-search-engines):
21658 * net/quickurl.el (quickurl-list-insert):
21659 * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
21660
d72700e5
CY
216612011-03-15 Chong Yidong <cyd@stupidchicken.com>
21662
21663 * startup.el (command-line): Update package subdirectory regexp.
21664
49c5410a
SM
216652011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
21666
c6eee9aa
SM
21667 * allout.el (allout-abbreviate-flattened-numbering)
21668 (allout-mode-deactivate-hook): Fix up obsolescence "date".
21669
49c5410a
SM
21670 * subr.el (read-char-choice): Only show the cursor after the prompt,
21671 not after the answer.
21672
047b2bb9
KR
216732011-03-15 Kevin Ryde <user42@zip.com.au>
21674
21675 * help-fns.el (variable-at-point): Skip leading quotes, if any
21676 (bug#8253).
21677
0a57d256
SM
216782011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
21679
21680 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
21681 warning message.
21682
77c992bc
MA
216832011-03-14 Michael Albinus <michael.albinus@gmx.de>
21684
21685 * shell.el (shell): When called interactively, offer to change the
21686 shell file name on remote hosts.
21687
eebc475d
TZ
216882011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
21689
21690 * net/ldap.el (ldap-search-internal): Add `auth-source-search'
21691 integration for LDAP parameters. The host, base, user or binddn,
21692 and secret tokens can be specified in a netrc file, for instance.
21693 This is optional because an `auth-source' parameter must be
21694 specified in the search attributes.
21695
9d05d1ba
JB
216962011-03-13 Juanma Barranquero <lekktu@gmail.com>
21697
21698 * help.el (describe-mode): Link to the mode's definition (bug#8185).
21699
09d9db2c
GM
217002011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
21701
21702 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
21703 into declaration. Remove redundant and harmful binding.
21704
217052011-03-12 Eli Zaretskii <eliz@gnu.org>
21706
21707 * files.el (file-ownership-preserved-p): Pass `integer' as an
21708 explicit 2nd argument to `file-attributes'. If the file's owner
21709 is the Administrators group on Windows, and the current user is
21710 Administrator, consider that a match.
21711
21712 * server.el (server-ensure-safe-dir): Consider server directory
21713 safe on MS-Windows if its owner is the Administrators group while
21714 the current Emacs user is Administrator. Use `=' to compare
21715 numerical UIDs, since they could be integers or floats.
21716
219bd536
JB
217172011-03-12 Juanma Barranquero <lekktu@gmail.com>
21718
21719 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
21720
f3afd36b
MA
217212011-03-12 Michael Albinus <michael.albinus@gmx.de>
21722
21723 Sync with Tramp 2.2.1.
21724
21725 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
21726
21727 * net/trampver.el: Update release number.
21728
3aaaa6f1
SM
217292011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
21730
94642599
SM
21731 * progmodes/compile.el (compilation--previous-directory): Fix up
21732 various nil/dead-marker mismatches (bug#8014).
21733 (compilation-directory-properties, compilation-error-properties):
21734 Don't call it at a position past the one we're about to change.
21735
3aaaa6f1
SM
21736 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
21737 Disable obsolescence warnings in the file that declares it.
21738
14239447
KM
217392011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
21740
099c39a4
JB
21741 * allout-widgets.el (allout-widgets-tally):
21742 Initialize allout-widgets-tally as a hash table rather than nil to
21743 prevent mode-line redisplay warnings. Also, clarify the module
21744 description and fix a comment typo.
14239447 21745
135e287c
JB
217462011-03-11 Juanma Barranquero <lekktu@gmail.com>
21747
21748 * help-fns.el (describe-variable): Don't complete keywords.
21749 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
21750
ffbf300e
CY
217512011-03-10 Chong Yidong <cyd@stupidchicken.com>
21752
ba08b241
CY
21753 * emacs-lisp/package.el (package-version-join): Impose a standard
21754 string representation for pre/alpha/beta version lists.
21755 (package-unpack-single): Standardize the directory name by passing
21756 it through package-version-join.
21757 (package-strip-rcs-id): Accept any version string that does not
21758 signal an error in version-to-list.
ffbf300e 21759
f346fd6b
MA
217602011-03-10 Michael Albinus <michael.albinus@gmx.de>
21761
21762 * simple.el (delete-trailing-whitespace): Return nil for the
21763 benefit of `write-file-functions'.
21764
ccb55d27
GM
217652011-03-10 Glenn Morris <rgm@gnu.org>
21766
5ceaac0c
GM
21767 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
21768
02da65ff
GM
21769 * vc/vc-git.el (vc-git-program): New option.
21770 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
21771 (vc-git--call): Use it.
21772
b2f603cc
GM
21773 * eshell/esh-util.el (eshell-condition-case): Doc fix.
21774
5772caab
GM
21775 * cus-edit.el (Custom-newline): If no button at point, look
21776 for a subgroup button at start-of-line. (Bug#2298)
21777
ccb55d27
GM
21778 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
21779
ec6ecaed
JD
217802011-03-10 Julien Danjou <julien@danjou.info>
21781
21782 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
21783 `cursor-type' is nil.
21784
9d5aa01d
JB
217852011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
21786
21787 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
21788
b6a5875b
KM
217892011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
21790
7a71b18d 21791 * allout.el: Change so yank of distinctive-bullet items
b6a5875b
KM
21792 preserves the existing header prefix, rebulleting it if necessary,
21793 rather than replacing it. This is necessary for proper operation
21794 of cooperative addons like allout-widgets.
1154d12e
JB
21795 (allout-make-topic-prefix, allout-rebullet-heading):
21796 Change SOLICIT arg to INSTEAD, and interpret additionally a string
21797 value as alternate bullet to be used, instead of prompting the user
21798 for a bullet character.
b6a5875b 21799
ee545c35
MA
218002011-03-09 Michael Albinus <michael.albinus@gmx.de>
21801
d86d2721
SM
21802 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
21803 Do not use `tramp-file-name-port', because this returns also
ee545c35
MA
21804 `tramp-default-port'.
21805
c47971d7
DD
218062011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
21807
21808 * net/rcirc.el (rcirc-handler-001): Remove useless
21809 with-rcirc-process-buffer.
21810 (rcirc-check-auth-status): Swap arguments to string-match.
21811
13522cb4
GM
218122011-03-09 Glenn Morris <rgm@gnu.org>
21813
0be6f4f1
GM
21814 * shell.el (shell-mode):
21815 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
21816
13522cb4
GM
21817 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
21818 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
21819
515de2e3
CY
218202011-03-08 Chong Yidong <cyd@stupidchicken.com>
21821
21822 * emacs-lisp/package.el (package-refresh-contents)
21823 (package-menu-execute): Use condition-case-no-debug.
21824
b511b994
MA
218252011-03-08 Michael Albinus <michael.albinus@gmx.de>
21826
21827 * simple.el (shell-command-to-string): Use `process-file'.
21828
21829 * emacs-lisp/package.el (package-tar-file-info): Handle also
21830 remote files.
21831
d86d2721
SM
21832 * emacs-lisp/package-x.el (package-upload-buffer-internal):
21833 Use `equal' for upload base check.
b511b994 21834
25bbfb31
AM
218352011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
21836
21837 * textmodes/texinfo.el (texinfo-environments):
21838 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
21839
be996521
GM
218402011-03-08 Glenn Morris <rgm@gnu.org>
21841
e9c8529f
GM
21842 * cus-start.el (cursor-in-non-selected-windows):
21843 Fix :set quoting oddness. (Bug#8192)
21844
be996521
GM
21845 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
21846 in some setf expressions. (Bug#2159)
21847
2bb5649e
CY
218482011-03-08 Chong Yidong <cyd@stupidchicken.com>
21849
21850 * custom.el (custom-available-themes): Return themes in
21851 alphabetical order.
21852
33383987 21853See ChangeLog.15 for earlier changes.
e3d51b27
MR
21854
21855;; Local Variables:
21856;; coding: utf-8
e3d51b27
MR
21857;; End:
21858
acaf905b 21859 Copyright (C) 2011-2012 Free Software Foundation, Inc.
e3d51b27
MR
21860
21861 This file is part of GNU Emacs.
21862
21863 GNU Emacs is free software: you can redistribute it and/or modify
21864 it under the terms of the GNU General Public License as published by
21865 the Free Software Foundation, either version 3 of the License, or
21866 (at your option) any later version.
21867
21868 GNU Emacs is distributed in the hope that it will be useful,
21869 but WITHOUT ANY WARRANTY; without even the implied warranty of
21870 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
21871 GNU General Public License for more details.
21872
21873 You should have received a copy of the GNU General Public License
21874 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.