* callproc.c (Fcall_process): Don't misreport vfork failure.
[bpt/emacs.git] / lisp / ChangeLog
CommitLineData
e7c8fcc4
JB
12012-11-28 Jay Belanger <jay.p.belanger@gmail.com>
2
3 * calc/calc-forms.el (calc-date-notation): Fix regexp
4 used to find time codes. Fix symbol for seconds.
5
48d6d9c0
GM
62012-11-27 Glenn Morris <rgm@gnu.org>
7
8 * emacs-lisp/derived.el (derived-mode-make-docstring):
9 Don't mention "abbrev" or "syntax" if nil. (Bug#11277)
10
369f945d
SM
112012-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
12
13 * textmodes/table.el (table-insert): Don't use `symbol-name' on
14 lexically scoped variables (bug#13005).
15
5c9cf0a3 162012-11-27 Glenn Morris <rgm@gnu.org>
98f99594 17
999e745e
GM
18 * vc/vc-hooks.el (vc-mistrust-permissions):
19 Default to t, to avoid data-loss. (Bug#11490)
98f99594 20
5c9cf0a3 212012-11-27 Fabián Ezequiel Gallina <fgallina@cuca>
207cb73c 22
999e745e
GM
23 * progmodes/python.el (python-indent-guess-indent-offset):
24 If indentation is guessed make python-indent-offset buffer-local.
25
207cb73c 26 Fix Imenu regression.
999e745e
GM
27 * progmodes/python.el (python-nav-beginning-of-defun):
28 Fix forward movement when statement(s) separates point from defun.
207cb73c
FEG
29 (python-imenu-prev-index-position): New function.
30
5c9cf0a3 312012-11-27 Eli Zaretskii <eliz@gnu.org>
33a488e4
EZ
32
33 * subr.el (buffer-file-type): Declare with defvar-local. Doc fix.
34
35 * dos-w32.el (find-file-not-found-set-buffer-file-coding-system):
865f7d8f 36 Don't set buffer-file-type. Return nil. (Bug#12989)
33a488e4 37
5c9cf0a3 382012-11-27 Glenn Morris <rgm@gnu.org>
50207191
GM
39
40 * hippie-exp.el (hippie-expand-try-functions-list):
41 Re-autoload it. (Bug#12982)
42
5c9cf0a3 432012-11-27 Eli Zaretskii <eliz@gnu.org>
2147c6ab 44
369f945d
SM
45 * descr-text.el (describe-char-padded-string):
46 Call internal-char-font only on GUI frames. (Bug#11964)
2147c6ab 47
5c9cf0a3 482012-11-27 Andreas Schwab <schwab@linux-m68k.org>
58b1ae1e
AS
49
50 * buff-menu.el (Buffer-menu-buffer+size-width): Fix customize type
51 and obsoletion message.
52
5c9cf0a3 532012-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
35a10516
SM
54
55 * emacs-lisp/cl-macs.el (cl--transform-lambda): Add back `declare' in
56 the constructs to keep outside of the `cl-block' (bug#12977).
57
5c9cf0a3 582012-11-27 Chong Yidong <cyd@gnu.org>
0c5ef133
CY
59
60 * mouse.el (mouse-drag-line): Even if the line is not draggable,
61 keep reading until we get the up-event anyway, in order to process
62 the up-event for mouse-1-click-follows-link (Bug#12971).
63
848a2dd1
SM
642012-11-26 Stefan Monnier <monnier@iro.umontreal.ca>
65
66 * emacs-lisp/advice.el (ad-should-compile): Don't compile advice if the
67 base function is not yet defined (bug#12965).
68 (ad-activate-advised-definition): Use ad-compile-function.
69 (ad-activate): Use cond.
70
9ad79506
LL
712012-11-25 Leo Liu <sdl.web@gmail.com>
72
73 * textmodes/sgml-mode.el (sgml-tag): Fix indentation for closing tag.
74 (Bug#12979)
75
e2cb57f5
VB
762012-11-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
77
78 * textmodes/reftex-parse.el (reftex-parse-from-file): Use variable
79 reftex-section-info-function in order to be compatible with
80 Texinfo integration.
81
82 * textmodes/reftex.el (reftex-section-pre-regexp)
848a2dd1
SM
83 (reftex-section-post-regexp, reftex-section-info-function):
84 New variable.
85 (reftex-compile-variables): Use variables reftex-section-pre-regexp,
86 reftex-section-post-regexp, and reftex-section-info-function in order
87 to be compatible with Texinfo integration.
88
89 * textmodes/reftex-toc.el (reftex-toc-promote-action):
90 use reftex-section-pre-regexp variable in order to be compatible with
e2cb57f5
VB
91 Texinfo integration.
92
1c4f115d
CY
932012-11-25 Chong Yidong <cyd@gnu.org>
94
95 * faces.el: Make face-spec-set more analogous to setq.
96 (face-spec-set): Change the third arg to specify whether this
97 function is being called via defface, customize, or a third party.
98 Set the appropriate symbol properties. Clear the override spec if
99 setting via Custom. Initialize face if necessary. (Bug#4988)
100 (face-spec-recalc): Allow theme faces to completely replace the
101 defface spec, in the same way as custom faces (Bug#8454).
102
103 * cus-face.el (custom-declare-face): Move face initialization to
104 face-spec-set.
105 (custom-theme-set-faces): Don't initialize the face name here, as
106 that is now done in face-spec-set.
107
108 * cus-edit.el (custom-face-set, custom-face-mark-to-save)
109 (custom-face-reset-saved, custom-face-mark-to-reset-standard):
110 Simplify by using the new arg to face-spec-set.
111
112 * emacs-lisp/lisp-mode.el (eval-defun-1): When evaluating defface,
113 reset face-override-spec too, and use custom-declare-face.
114
c2350548
JD
1152012-11-24 Jan Djärv <jan.h.d@swipnet.se>
116
117 * term/ns-win.el (ns-initialize-window-system): Move creation of
118 fontsets here (Bug#11964).
119
ecfc364c
VB
1202012-11-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
121
122 * ses.el (ses-rename-cell): Correct bug on mode-line update after
123 cell renaming.
124
0917cc54
CY
1252012-11-24 Chong Yidong <cyd@gnu.org>
126
433212bf
CY
127 * woman.el (woman-default-faces, woman-monochrome-faces): Mark as
128 obsolete.
129
0917cc54
CY
130 * custom.el (custom-theme-set-variables): Use a topological sort
131 for ordering by custom dependencies (Bug#12952).
132 (custom--sort-vars, custom--sort-vars-1): New functions.
133
d125ca15 1342012-11-24 Stefan Monnier <monnier@iro.umontreal.ca>
002c019c
SM
135
136 * emacs-lisp/bytecomp.el (byte-compile-file): Setup default value for
137 lexical-binding (bug#12938).
138
d125ca15 1392012-11-24 Wolfgang Jenkner <wjenkner@inode.at>
977f9325
WJ
140
141 * image-mode.el (image-transform-check-size): Use assertions only
142 for images of type imagemagick.
143
144 Otherwise no error, image-transform-fit-to-{width,height} is
145 silently ignored, as before. Doc fix.
146
d125ca15 1472012-11-24 Chong Yidong <cyd@gnu.org>
bccffa83
CY
148
149 * faces.el (color-defined-p): Doc fix (Bug#12853).
150
d125ca15 1512012-11-24 Juri Linkov <juri@jurta.org>
61a2a122
JL
152
153 * dired.el (dired-mark): Add optional arg `interactive'.
154 Check for `use-region-p' if `interactive' is non-nil.
155 (dired-unmark, dired-flag-file-deletion): Add optional arg
156 `interactive'. Call `dired-mark' with the arg `interactive'.
157 (Bug#10624)
158
cc4c01bd
JL
159 * wdired.el: Revert 2012-10-17 change partly and replace it with
160 Patch by Christopher Schmidt <christopher@ch.ristopher.com>.
161 (wdired-finish-edit): Add marks for new file names to
162 `wdired-old-marks'. Restore marks using `dired-mark-remembered'
163 after `revert-buffer'.
164 (wdired-do-renames): Remove calls to `dired-remove-file',
165 `dired-add-file', `dired-add-entry'. (Bug#11795)
166
d125ca15 1672012-11-24 Alan Mackenzie <acm@muc.de>
b03aabda 168
dc310ed0
AM
169 * progmodes/cc-defs.el (c-version): Bump to 5.32.4.
170
b03aabda
AM
171 Fix bugs in the state cache. Enhance a debugging mechanism.
172 * progmodes/cc-engine.el (c-parse-state-get-strategy): Don't use
173 "brace at column zero" strategy for C++.
174 (c-append-lower-brace-pair-to-state-cache): Repair algorithm.
175 (c-parse-state-point): New variable.
176 (c-record-parse-state-state): Record old parse state with
177 `copy-tree'. Record previous value of point.
178 (c-debug-parse-state-double-cons): New debugging function.
179 (c-debug-parse-state): Call the above new function.
180 (c-toggle-parse-state-debug): Output a confirmatory message.
181
002c019c
SM
182 * progmodes/cc-mode.el (c-before-change, c-after-change):
183 Call c-invalidate-state-cache from `c-before-change' instead of
b03aabda
AM
184 `c-after-change'.
185
930a6273
CY
1862012-11-23 Chong Yidong <cyd@gnu.org>
187
188 * find-cmd.el (find-constituents): Add executable, ipath,
189 readable, samefile, writable, daystart, regextype (Bug#12856).
190
15c9d04e
SM
1912012-11-23 Stefan Monnier <monnier@iro.umontreal.ca>
192
193 * emacs-lisp/ert.el, emacs-lisp/ert-x.el: Use cl-lib and lexical-binding.
194
2ecb2679
PE
1952012-11-22 Paul Eggert <eggert@cs.ucla.edu>
196
197 * calc/calc.el (calc-gregorian-switch): Move to after calc-refresh
198 definition. This fixes a bootstrap failure.
a14a5a40
PE
199 (calc-gregorian-switch): In menu, put dates before regions.
200 This is easier to follow, lines up better in the menu, and lets us
201 coalesce regions that switch at the same time. Give country
15c9d04e
SM
202 names, not "Vatican", as that's better for non-expert users.
203 Use names that are stable between the date of switch and now, e.g.,
a14a5a40
PE
204 Bohemia and Moravia (which existed then and now) and not
205 Czechoslovakia (which didn't exist then and doesn't exist now).
206 What is now the U.S. mostly did not switch at the same time as
207 Britain, so omit the U.S. Correct spelling of "Britain".
208 Catholic Switzerland was too much of a mess, so omit it.
2ecb2679 209
723da6aa
JB
2102012-11-22 Jay Belanger <jay.p.belanger@gmail.com>
211
212 * calc/calc.el (calc-gregorian-switch): Refresh the Calc buffer
213 after the variable is changed.
214
21fa2482
DC
2152012-11-21 Daniel Colascione <dancol@dancol.org>
216
217 * progmodes/sql.el (sql-mode-font-lock-object-name): Support IF NOT EXISTS
b6096e85
DC
218 in SQL declarations for font-lock.
219 (sql-imenu-generic-expression): Teach imenu about IF NOT EXISTS.
21fa2482 220
3ca2f1bf
GM
2212012-11-21 Glenn Morris <rgm@gnu.org>
222
1bf335cf
GM
223 * faces.el (face-underline-p, face-inverse-video-p, face-bold-p)
224 (face-italic-p): Add optional argument "inherit".
225
3ca2f1bf
GM
226 * faces.el (set-face-inverse-video, set-face-bold, set-face-italic):
227 Remove -p suffix from names, for consistency with other set-face-*.
228 (set-face-inverse-video): Fix interactive spec.
229 * play/gamegrid.el (gamegrid-make-mono-tty-face):
230 * textmodes/table.el (table--update-cell-face):
231 Use set-face-inverse-video rather than now obsolete alias.
232
6ef2e5ef 2332012-11-21 Eli Zaretskii <eliz@gnu.org>
7cf95797
EZ
234
235 * simple.el (line-move): Don't call line-move-partial if
236 scroll-conservatively is in effect. (Bug#12927)
237
6ef2e5ef 2382012-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
63f25172 239
93b05041
SM
240 * eshell/em-cmpl.el (eshell-pcomplete): Refine fix for bug#12838:
241 Fallback on completion-at-point rather than
242 pcomplete-expand-and-complete, and only if pcomplete actually failed.
243 (eshell-cmpl-initialize): Setup completion-at-point.
244
245 * pcomplete.el (pcomplete--entries): Obey pcomplete-ignore-case.
246
bc715d67
SM
247 * emacs-lisp/ert.el (ert--expand-should-1): Adapt to cl-lib.
248
6ef2e5ef 2492012-11-21 Michael Albinus <michael.albinus@gmx.de>
d7f2a65c
MA
250
251 * net/tramp-sh.el (tramp-do-copy-or-rename-file): If both files
252 are remote, check out-of-band property for both.
253
6ef2e5ef 2542012-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
d1c0cddf
SM
255
256 * window.el (switch-to-buffer): Re-add the warning that was lost in the
257 code rewrite.
258
6ef2e5ef 2592012-11-21 Paul Eggert <eggert@cs.ucla.edu>
0c93aa38 260
535efd4a
PE
261 More minor time fixes.
262 * calendar/time-date.el: Commentary fix.
263 * net/tramp-sh.el (tramp-do-file-attributes-with-ls): Undo last change;
264 too much other code depends on (0 0) time stamps.
265 * net/tramp.el (tramp-time-less-p, tramp-time-subtract):
266 Add a couple of FIXME comments.
267
0c93aa38
PE
268 Minor cleanup for times as lists of four integers.
269 * files.el (dir-locals-directory-cache):
270 * ps-bdf.el (bdf-file-mod-time, bdf-read-font-info):
271 Doc fixes.
272 * net/tramp-sh.el (tramp-do-file-attributes-with-ls):
273 * ps-bdf.el (bdf-file-newer-than-time):
274 Process four-integers time stamps, not two. Doc fixes.
275
23ba2705
SM
2762012-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
277
2e31777b
SM
278 * uniquify.el (uniquify-managed): Use defvar-local.
279 (rename-buffer, create-file-buffer): Advise with advice-add.
280 (uniquify-unload-function): Unadvise accordingly.
281
8b62d742
SM
282 * emacs-lisp/trace.el: Rewrite, use nadvice and lexical-binding.
283 (trace-buffer): Don't purecopy.
284 (trace-entry-message, trace-exit-message): Add `context' arg.
285 (trace--timer): New var.
286 (trace-make-advice): Adjust for use in nadvice.
287 Add `context' argument. Delay `display-buffer' via a timer.
288 (trace-function-internal): Use advice-add.
289 (trace--read-args): New function.
290 (trace-function-foreground, trace-function-background): Use it.
291 (trace-function): Rename to trace-function-foreground and redefine as
292 an alias to that new name.
293 (untrace-function, untrace-all): Adjust to the use of nadvice.
294
5d0ccd95
SM
295 * emacs-lisp/bytecomp.el (byte-compile): Fix handling of closures.
296
3837d988
SM
297 * emacs-lisp/byte-run.el (defun-declarations-alist): Fix last change.
298
23ba2705
SM
299 * subr.el (called-interactively-p-functions): New var.
300 (internal--called-interactively-p--get-frame): New macro.
301 (called-interactively-p, interactive-p): Rewrite in Lisp.
302 * emacs-lisp/nadvice.el (advice--called-interactively-skip): New fun.
303 (called-interactively-p-functions): Use it.
304 * emacs-lisp/edebug.el (edebug--called-interactively-skip): New fun.
305 (called-interactively-p-functions): Use it.
306 * allout.el (allout-called-interactively-p): Don't assume
307 called-interactively-p is a subr.
308
b0636be7
GM
3092012-11-20 Glenn Morris <rgm@gnu.org>
310
311 * profiler.el (profiler-report-mode-map): Add a menu.
312 No need to bind `q' because we derive from special-mode.
313 (profiler-report-find-entry): Handle calls from the menu-bar.
314
855b17af
SM
3152012-11-19 Stefan Monnier <monnier@iro.umontreal.ca>
316
14146222
SM
317 * emacs-lisp/byte-run.el (defun-declarations-alist):
318 Allow a compiler-macro to be a lambda expression.
319
320 * progmodes/python.el: Use cl-lib. Move var declarations outside of
321 eval-when-compile.
322 (python-syntax-context): Add compiler-macro.
323 (python-font-lock-keywords): Simplify with De Morgan.
324
1000d895
SM
325 * vc/diff-mode.el (diff-hunk): Don't make useless timers.
326
ac5392dc
SM
327 * files.el (load-file): Require match in minibuffer selection, as was
328 the case in Emacs-20 before we changed the spec to allow .elc files
329 (bug#12935).
330
19dc7206
SM
331 * json.el: Don't require cl since we don't use it.
332 * color.el: Don't require cl.
333 (color-complement): `caddr' -> `nth 2'.
334
855b17af
SM
335 * calendar/time-date.el (time-to-seconds): De-obsolete.
336
e8909bdc
JB
3372012-11-19 Jay Belanger <jay.p.belanger@gmail.com>
338
339 * calc/calc-forms.el (math-leap-year-p): Fix formula for negative
340 year numbers.
341 (math-date-to-julian-dt): Adjust the initial approximation for the
342 year to deal with the new definition of the DATE.
343
6e9f7997
DC
3442012-11-19 Daniel Colascione <dancol@dancol.org>
345
855b17af
SM
346 * term/w32-win.el (cygwin-convert-path-from-windows):
347 Accomodate rename of cygwin_convert_path* to cygwin_convert_file_name*.
6e9f7997 348
6a3dd257
CY
3492012-11-18 Chong Yidong <cyd@gnu.org>
350
351 * filecache.el (file-cache--read-list): New function.
352 (file-cache-add-directory-list, file-cache-add-file-list)
353 (file-cache-delete-file-list, file-cache-delete-directory-list):
354 Use it to read a list of files or directories (Bug#12846).
355 (file-cache-add-file, file-cache-add-directory)
356 (file-cache-delete-file-list, file-cache-delete-file-regexp)
357 (file-cache-delete-directory): Print an message.
358
eef97f35
JB
3592012-11-18 Jay Belanger <jay.p.belanger@gmail.com>
360
361 * calc/calc-forms.el (math-date-to-dt): Use integer date when
362 calling `math-date-to-julian-dt' and 'math-date-to-gregorian-dt'.
363
913c8291
GM
3642012-11-18 Glenn Morris <rgm@gnu.org>
365
366 * image.el (insert-image, insert-sliced-image): Doc fix.
367
2ac9538d 3682012-11-18 Chong Yidong <cyd@gnu.org>
ec6f8ce6
CY
369
370 * emacs-lisp/syntax.el (syntax-propertize-function): Doc fix
371 (Bug#12810).
372
2ac9538d 3732012-11-18 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
c2d07557
CY
374
375 * vc/vc-svn.el (vc-svn-merge-news): Properly parse the merge
376 response when the target file is in a subdirectory (Bug#12757).
377
2ac9538d 3782012-11-18 Chong Yidong <cyd@gnu.org>
33f8917c
CY
379
380 * filecache.el (file-cache-add-file-list): Doc fix (Bug#12694).
381
2ac9538d 3822012-11-18 Glenn Morris <rgm@gnu.org>
65463c40 383
9a5e2ee3
GM
384 * emacs-lisp/cl-lib.el (face-underline-p):
385 Use set-face-underline rather than the alias set-face-underline-p.
386
65463c40 387 * window.el (with-temp-buffer-window): Doc fix.
95f0501e
GM
388 * subr.el (with-output-to-temp-buffer):
389 Add doc xref to with-temp-buffer-window.
65463c40 390
c9ed8e3d
JB
3912012-11-18 Juanma Barranquero <lekktu@gmail.com>
392
393 * woman.el (woman-non-underline-faces): Use `set-face-underline'.
394 * calc/calc.el (math-format-date-cache): Declare.
395
310e60d9
PE
3962012-11-17 Paul Eggert <eggert@cs.ucla.edu>
397
6f6b82d6
PE
398 Calc by default uses the Gregorian calendar for all dates (Bug#12633).
399 It also uses January 1, 1 AD as its day number 1.
310e60d9 400 * calc/calc-forms.el (math-julian-date-beginning)
6f6b82d6 401 (math-julian-date-beginning-int): Implement this.
310e60d9 402
d7fe6352
JB
4032012-11-17 Juanma Barranquero <lekktu@gmail.com>
404
405 * descr-text.el (quail-find-key):
406 * dired.el (desktop-file-name):
407 * dirtrack.el (shell-prefixed-directory-name, shell-process-cd):
408 * generic-x.el (comint-mode, comint-exec):
409 * image-dired.el (widget-forward):
410 * info.el (speedbar-add-expansion-list, speedbar-center-buffer-smartly)
411 (speedbar-change-expand-button-char)
412 (speedbar-change-initial-expansion-list, speedbar-delete-subblock)
413 (speedbar-make-specialized-keymap, speedbar-make-tag-line):
414 * printing.el (easy-menu-add-item, easy-menu-remove-item)
415 (widget-field-action, widget-value-set):
416 * speedbar.el (imenu--make-index-alist):
417 * term.el (ring-empty-p, ring-ref, ring-insert-at-beginning)
418 (ring-length, ring-insert):
419 * vcursor.el (compare-windows-skip-whitespace):
420 * woman.el (dired-get-filename):
421 Declare functions.
422
423 * term/w32-win.el (cygwin-convert-path-from-windows): Fix declaration.
424
c9f618db
JB
4252012-11-17 Jay Belanger <jay.p.belanger@gmail.com>
426
427 * calc/calc.el (calc-gregorian-switch): New variable.
428
429 * calc/calc-forms.el (math-day-in-year, math-dt-before-p)
430 (math-absolute-from-gregorian-dt, math-absolute-from-julian-dt)
431 (math-date-to-julian-dt, math-date-to-gregorian-dt): New functions.
432 (math-leap-year-p): Add option to distinguish between Julian
433 and Gregorian calendars.
434 (math-day-number): Use `math-day-in-year' to do the computations.
435 (math-absolute-from-dt): Rename from `math-absolute-from-date'.
436 Use `math-absolute-from-gregorian' and `math-absolute-from-julian'
437 to do the computations.
438 (math-date-to-dt): Use `math-date-to-julian-dt' and
439 `math-date-to-gregorian-dt' to do the computations.
440 (calcFunc-weekday, math-format-date-part): Use the new version of
441 the DATE to determine the weekday.
442 (calcFunc-newmonth, calcFunc-newyear): Use `calc-gregorian-switch'
443 when necessary.
444
3804f7bc
EZ
4452012-11-17 Eli Zaretskii <eliz@gnu.org>
446
447 * term/w32-win.el (w32-handle-dropped-file): Use 'file://' only on
448 Cygwin; otherwise use 'file:'. (Bug#12914)
449 (cygwin-convert-path-from-windows): Declare, to avoid
450 byte-compiler warnings.
451
de959d4d
AP
4522012-11-17 Andreas Politz <politza@fh-trier.de>
453
454 * ibuffer.el (ibuffer-mark-forward, ibuffer-unmark-forward)
455 (ibuffer-unmark-backward, ibuffer-mark-interactive): Support plain
456 prefix and negative numeric prefix args (Bug#12795).
457
e45deaef
SB
4582012-11-17 Stephen Berman <stephen.berman@gmx.net>
459
460 * play/gamegrid.el (gamegrid-add-score-with-update-game-score-1):
461 Don't signal an error with a score that is too low to add to the
462 list of top scores. (Bug#12779)
463
ec15e0ff
CY
4642012-11-17 Chong Yidong <cyd@gnu.org>
465
8e7696a1
CY
466 * help-mode.el (help-xref-interned): End on point-min (Bug#12737).
467
ec15e0ff
CY
468 * filecache.el (file-cache-add-file): Handle relative file name in
469 the argument (Bug#12694).
470
60c4ee66
JH
4712012-11-16 Jürgen Hötzel <juergen@archlinux.org> (tiny change)
472
473 * eshell/em-unix.el (eshell/mkdir): Handle "--parents" (bug#12897).
474
cdc5d88c
SM
4752012-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
476
dd0c5bbb
SM
477 * emacs-lisp/advice.el (ad-make-advised-definition): Improve last fix.
478
cdc5d88c
SM
479 * emacs-lisp/cl-lib.el: Set more meaningful version number.
480
0ff7851c
MR
4812012-11-16 Martin Rudalics <rudalics@gmx.at>
482
483 * window.el (enlarge-window, shrink-window): Don't mention return
484 value in doc-string (Bug#12896).
485 (window--display-buffer): Don't resize frames - it won't work
486 with all window managers and defeat pop-up-frame-alist.
487 (display-buffer-alist): In doc-string explain that CONDITION can
488 be a function and which arguments are passed to it (Bug#12854).
489 (display-buffer-assq-regexp): New argument ACTION. Handle lambda
490 expressions (Bug#12854).
491 (display-buffer): Pass ACTION argument to
492 display-buffer-assq-regexp.
493
dedd1884
GM
4942012-11-16 Glenn Morris <rgm@gnu.org>
495
7c82753d
GM
496 * window.el (fit-frame-to-buffer-bottom-margin)
497 (fit-frame-to-buffer, fit-window-to-buffer): Doc fixes.
498
dedd1884
GM
499 * faces.el (face-underline-p): Use face-attribute-specified-or.
500
96e05507 5012012-11-16 Juanma Barranquero <lekktu@gmail.com>
662b0ee6
JB
502
503 * emacs-lisp/cl-macs.el (cl-loop, cl-do, cl-do*): Doc fixes.
504
96e05507 5052012-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
eb31fa40
SM
506
507 * emacs-lisp/cl-macs.el (cl-flet, cl-flet*): Fix docstring (bug#12895).
508
96e05507 5092012-11-16 Glenn Morris <rgm@gnu.org>
e2e13f18 510
17c083ac
GM
511 * eshell/em-cmpl.el (eshell-pcomplete): New command. (Bug#12838)
512 (eshell-cmpl-initialize): Bind eshell-pcomplete to TAB, C-i.
513
bde3c6c0
GM
514 * faces.el (face-underline-p): Doc fix. Handle :underline being
515 things other than `t' (a string, a list).
516 (face-inverse-video-p): Doc fix.
517 (set-face-underline): Rename it back from set-face-underline-p.
518 Doc fix. Allow interactive input of values other than t.
519 (read-face-attribute): Apply formatting to :underline,
520 since like :box and :stipple it can take list values.
521
e2e13f18
GM
522 * term.el (ansi-term): Don't let C-x escape-char binding
523 clobber the more standard C-c binding. (Bug#12842)
524
e0ea8060
GM
525 * subr.el (set-temporary-overlay-map): Doc fix.
526
96e05507 5272012-11-16 Martin Rudalics <rudalics@gmx.at>
92346275
MR
528
529 * window.el (record-window-buffer)
530 (display-buffer-record-window): When copying the markers to
531 window-point preserve window-point-insertion-type. (Bug#12588)
532
96e05507 5332012-11-16 Glenn Morris <rgm@gnu.org>
7b1bf173
GM
534
535 * emacs-lisp/eieio-datadebug.el (eieio-debug-methodinvoke):
536 * net/tramp-gvfs.el (tramp-gvfs-dbus-event-error):
537 Use new names for hooks rather than obsolete aliases.
538
faeafc01
DC
5392012-11-15 Daniel Colascione <dancol@dancol.org>
540
541 * term/w32-win.el (w32-handle-dropped-file): Use a "file://"
9533048d
DC
542 prefix instead of "file:" so that when FILE-NAME begins with "//",
543 as it does when the target file is on a network share, url-handler
544 isn't confused.
545
1232d6c2
SM
5462012-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
547
548 * emacs-lisp/advice.el (ad-definition-type): Make sure we don't use
549 a preactivated advice from an old advice.el; they're not compatible!
550
47f01a8a
KY
5512012-11-15 Katsumi Yamaoka <yamaoka@jpl.org>
552
553 * emacs-lisp/nadvice.el (advice--make-interactive-form):
554 Fix string-spec case.
555
556 * emacs-lisp/advice.el (ad-make-advised-definition): Fix undefined case.
557
a61428c4
SM
5582012-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
559
560 * emacs-lisp/nadvice.el: Add buffer-local support to add-function.
561 (advice--buffer-local-function-sample): New var.
562 (advice--set-buffer-local, advice--buffer-local): New functions.
563 (add-function, remove-function): Use them.
564
875ce3a7
DA
5652012-11-15 Drew Adams <drew.adams@oracle.com>
566
567 * imenu.el (imenu--split-submenus): Use imenu--subalist-p (bug#12717).
568
589fc479
SM
5692012-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
570
571 * emacs-lisp/cl-macs.el (cl--transform-lambda): Defend against
572 potential binding of print-gensym to t, and prettify (back)quotes in
573 case they appear in args's default values (bug#12884).
574
1668ea90
SM
5752012-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
576
577 * emacs-lisp/nadvice.el: Add around advice for interactive specs.
578 (advice-eval-interactive-spec): New function.
579 (advice--make-interactive-form): Support around advice (bug#12844).
580
8619323f
DG
5812012-11-14 Dmitry Gutov <dgutov@yandex.ru>
582
583 * progmodes/ruby-mode.el (ruby-expr-beg): Make heredoc detection
584 more strict. Add docstring.
c62792e7
DG
585 (ruby-expression-expansion-re): Extract from
586 `ruby-match-expression-expansion'.
587 (ruby-syntax-propertize-function): After everything else, search
588 for expansions in string literals, mark their insides as
589 whitespace syntax and save match data for font-lock.
590 (ruby-font-lock-keywords): Use the 2nd group from expression
591 expansion matches.
592 (ruby-match-expression-expansion): Use the match data saved to the
593 text property in ruby-syntax-propertize-function.
8619323f 594
9c3912d3
SM
5952012-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
596
597 * emacs-lisp/gv.el (setf): Fix debug spec for multiple assignments
598 (bug#12879).
599
5e9419e8
DG
6002012-11-13 Dmitry Gutov <dgutov@yandex.ru>
601
602 * progmodes/ruby-mode.el (ruby-move-to-block): Looks for a block
603 start/end keyword a bit harder. Works with different values of N.
604 Add more comments.
605 (ruby-end-of-block): Update accordingly.
606
3c442f8b
SM
6072012-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
608
fa470af0
SM
609 * woman.el (woman-file-name): Don't mess with unread-command-events
610 (bug#12861).
611
3c442f8b
SM
612 * emacs-lisp/advice.el: Layer on top of nadvice.el.
613 Remove out of date self-require hack.
614 (ad-do-advised-functions): Use simple `dolist'.
615 (ad-advice-name, ad-advice-protected, ad-advice-enabled)
616 (ad-advice-definition): Redefine as functions.
617 (ad-advice-classes): Move before first use.
618 (ad-make-origname, ad-set-orig-definition, ad-clear-orig-definition)
fa470af0 619 (ad-make-mapped-call, ad-make-advised-docstring,ad-make-plain-docstring)
3c442f8b 620 (ad--defalias-fset): Remove functions.
fa470af0 621 (ad-make-advicefunname, ad-clear-advicefunname-definition): New funs.
3c442f8b
SM
622 (ad-get-orig-definition): Rewrite.
623 (ad-make-advised-definition-docstring): Change base docstring.
624 (ad-real-orig-definition): Rewrite.
625 (ad-map-arglists): Change name of called function.
626 (ad--make-advised-docstring): Redirect `function' from ad-Advice-...
627 (ad-make-advised-definition): Simplify.
628 (ad-assemble-advised-definition): Tweak for new calling context.
fa470af0 629 (ad-activate-advised-definition): Setup ad-Advice-* i.s.o ad-Orig-*.
3c442f8b
SM
630 (ad--defalias-fset): Rename from ad-handle-definition. Make it set the
631 function and call ad-activate if needed.
632 (ad-activate, ad-deactivate): Don't call ad-handle-definition any more.
633 (ad-recover): Clear ad-Advice-* instead of ad-Orig-*.
634 (ad-compile-function): Compile ad-Advice-*.
635 (ad-activate-on-top-level, ad-with-auto-activation-disabled): Remove.
636 (ad-start-advice, ad-stop-advice): Remove.
637
5745cae6
DG
6382012-11-13 Dmitry Gutov <dgutov@yandex.ru>
639
640 * progmodes/ruby-mode.el (ruby-add-log-current-method): Print the
641 period before class method names, not after. Remove handling of
642 one impossible case. Add comments.
643
413d4689
SM
6442012-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
645
7db1bda8
SM
646 * emacs-lisp/advice.el: Remove support for freezing.
647 (ad-make-freeze-docstring, ad-make-freeze-definition): Remove functions.
648 (ad-make-single-advice-docstring, ad-defadvice-flags, defadvice):
649 Remove support for `freeze'.
650
413d4689
SM
651 * emacs-lisp/cl.el (dolist, dotimes, declare): Use advice-add to
652 override the default.
653 * emacs-lisp/cl-macs.el (cl-dolist, cl-dotimes): Rewrite without using
654 cl--dotimes/dolist.
655 * subr.el (dolist, dotimes, declare): Redefine them normally, even when
656 `cl' is loaded.
657
658 * emacs-lisp/nadvice.el (advice--normalize): New function, extracted
659 from add-advice.
660 (advice--strip-macro): New function.
661 (advice--defalias-fset): Use them to handle macros.
662 (advice-add): Use them.
663 (advice-member-p): Correctly handle macros.
664
f178c32d
DG
6652012-11-13 Dmitry Gutov <dgutov@yandex.ru>
666
7db1bda8
SM
667 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
668 Never font-lock the beginning of singleton class as heredoc.
f178c32d 669
f78ee6af 6702012-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
f8705f6e
SM
671
672 * emacs-lisp/gv.el (gv-define-simple-setter): One more fix (bug#12871).
673
f78ee6af 6742012-11-13 Wolfgang Jenkner <wjenkner@inode.at>
9db94175
WJ
675
676 * ansi-color.el (ansi-color-apply-sequence): Implement SGR codes
f78ee6af
GM
677 39 and 49 (bug#12792). Also, treat unimplemented parameters as 0,
678 thereby restoring the behavior of revisions prior to 2012-08-15T03:33:55Z!monnier@iro.umontreal.ca.
9db94175 679
f78ee6af 6802012-11-13 Fabián Ezequiel Gallina <fgallina@cuca>
2e6625b5
FEG
681
682 Fix end-of-defun misbehavior.
683 * progmodes/python.el (python-nav-beginning-of-defun): Rename from
684 python-beginning-of-defun-function. Handle nested defuns
685 correctly.
686 (python-nav-end-of-defun): Rename from
687 python-end-of-defun-function. Ensure forward movement.
f8705f6e 688 (python-info-current-defun): Reimplement to work as intended
2e6625b5
FEG
689 with new fixed python-nav-{end,beginning}-of-defun. Stop scanning
690 parent defuns as soon as possible.
691
f78ee6af 6922012-11-13 Glenn Morris <rgm@gnu.org>
24c38527
GM
693
694 * progmodes/flymake.el (flymake-error-bitmap)
695 (flymake-warning-bitmap, flymake-fringe-indicator-position): Doc fixes.
696 (flymake-error-bitmap, flymake-warning-bitmap): Fix :types.
697
f78ee6af 6982012-11-13 Dmitry Gutov <dgutov@yandex.ru>
d1e1e53d
DG
699
700 * progmodes/ruby-mode.el (ruby-move-to-block): When moving
701 backward, always stop at indentation. Reverts the change from
702 2012-08-12T22:06:56Z!monnier@iro.umontreal.ca (Bug#12851).
703
f78ee6af 7042012-11-13 Glenn Morris <rgm@gnu.org>
68146aa5 705
a1d3e07e
GM
706 * ibuffer.el (ibuffer-mode-map, ibuffer-mode):
707 Add ibuffer-filter-by-derived-mode.
708
84acf328
GM
709 * ibuffer.el (ibuffer-mode-map): Don't have two menu items with
710 the same name shadowing each other.
711
38785e75
GM
712 * window.el (with-temp-buffer-window): Doc tweak.
713
57fc0fee
GM
714 * emacs-lisp/debug.el (debugger-bury-or-kill): Doc tweak.
715
6ba6a3e5
GM
716 * help.el (temp-buffer-max-height):
717 * window.el (fit-frame-to-buffer, fit-frame-to-buffer-bottom-margin):
68146aa5
GM
718 * emacs-lisp/debug.el (debugger-bury-or-kill): Fix :version.
719
231d8498
SM
7202012-11-12 Stefan Monnier <monnier@iro.umontreal.ca>
721
722 * emacs-lisp/nadvice.el: New package.
723 * subr.el (special-form-p): New function.
724 * emacs-lisp/elp.el: Use lexical-binding and advice-add.
725 (elp-all-instrumented-list): Remove var.
726 (elp-not-profilable): Remove elp-wrapper.
727 (elp-profilable-p): Use autoloadp and special-form-p.
728 (elp--advice-name): New const.
729 (elp-instrument-function): Use advice-add.
730 (elp--instrumented-p): New predicate.
731 (elp-restore-function): Use advice-remove.
732 (elp-restore-all, elp-reset-all): Use mapatoms.
733 (elp-set-master): Use elp--instrumented-p.
734 (elp--make-wrapper): Rename from elp-wrapper, return a function
735 suitable for advice-add. Use cl-inf.
736 (elp-results): Use mapatoms+elp--instrumented-p.
737 * emacs-lisp/debug.el: Use lexical-binding and advice-add.
738 (debug-function-list): Remove var.
739 (debug): Rename arg, and then let-bind it explicitly inside.
740 (debugger-setup-buffer): Rename arg.
741 (debugger-setup-buffer): Adjust counts to new debug-on-entry setup.
742 (debugger-frame-number): Adjust to new debug-on-entry setup.
743 (debug--implement-debug-on-entry): Rename from
744 implement-debug-on-entry, add argument.
745 (debugger-special-form-p): Remove, use special-form-p instead.
746 (debug-on-entry): Use advice-add.
747 (debug--function-list): New function.
748 (cancel-debug-on-entry): Use it, along with advice-remove.
749 (debug-arglist, debug-convert-byte-code, debug-on-entry-1): Remove.
750 (debugger-list-functions): Use debug--function-list instead of
751 debug-function-list.
752 * emacs-lisp/advice.el (ad-save-real-definition): Remove, unused.
753 (ad-special-form-p): Remove, use special-form-p instead.
754 (ad-set-advice-info): Use add-function and remove-function.
755 (ad--defalias-fset): Adjust accordingly.
756
19e09879
GM
7572012-11-10 Glenn Morris <rgm@gnu.org>
758
714cebd1
GM
759 * mail/emacsbug.el (report-emacs-bug-tracker-url)
760 (report-emacs-bug-bug-alist, report-emacs-bug-choice-widget)
761 (report-emacs-bug-create-existing-bugs-buffer)
762 (report-emacs-bug-parse-query-results)
763 (report-emacs-bug-query-existing-bugs): Remove. (Bug#7449)
764
bf67dafa
GM
765 * term.el (term-default-fg-color, term-default-bg-color):
766 Make obsolete, rather than just saying "deprecated" in the doc.
767
19e09879
GM
768 * term.el (term): Rename from `term-face'.
769 (term-current-face, ansi-term-color-vector)
770 (term-default-fg-color, term-default-bg-color, term-ansi-reset):
771 Update all users.
772
6baf66d5 7732012-11-10 Jan Djärv <jan.h.d@swipnet.se>
531bdce6
JD
774
775 * server.el (server-create-window-system-frame): Handle Nextstep
776 specially (Bug#12780).
777
6baf66d5 7782012-11-10 Glenn Morris <rgm@gnu.org>
fedb154e
GM
779
780 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs):
781 Unautoload, and make obsolete. (Bug#7449)
782
6baf66d5 7832012-11-10 Chong Yidong <cyd@gnu.org>
9d9e48d9
CY
784
785 * vc/diff-mode.el (diff-delete-trailing-whitespace): Rewrite, and
786 rename from diff-remove-trailing-whitespace (Bug#12831).
787
6baf66d5 7882012-11-10 Stefan Monnier <monnier@iro.umontreal.ca>
32170f7f
SM
789
790 * emacs-lisp/advice.el: Require `cl-lib' at run-time to fix
791 miscompilation of trace.el.
792
6baf66d5 7932012-11-10 Glenn Morris <rgm@gnu.org>
26f59676
GM
794
795 * vc/diff-mode.el (diff-remove-trailing-whitespace): Doc fix.
796
6baf66d5 7972012-11-10 Stefan Monnier <monnier@iro.umontreal.ca>
41626722
SM
798
799 * emacs-lisp/gv.el (gv-define-simple-setter): Fix last change
800 (bug#12812).
801
6baf66d5 8022012-11-10 Chong Yidong <cyd@gnu.org>
7d806bfe
CY
803
804 * minibuf-eldef.el (minibuffer-eldef-shorten-default): Convert to
805 a defcustom with an appropriate :set function.
806 (minibuffer-default--in-prompt-regexps): New function.
807
6baf66d5 8082012-11-10 Glenn Morris <rgm@gnu.org>
2ee1d59f 809
031b2ea7
GM
810 * emacs-lisp/cl.el (define-setf-expander, defsetf)
811 (define-modify-macro): Doc fixes.
812
2ee1d59f
GM
813 * emacs-lisp/gv.el (gv-letplace): Fix doc typo.
814 (gv-define-simple-setter): Update doc of `fix-return'.
815
6baf66d5 8162012-11-10 Stefan Monnier <monnier@iro.umontreal.ca>
d57c286e 817
b715ed44
SM
818 * emacs-lisp/gv.el (gv-define-simple-setter): Don't evaluate `val'
819 twice when `fix-return' is set (bug#12813).
820
d57c286e
SM
821 * emacs-lisp/cl.el (defsetf): Pass the third arg to
822 gv-define-simple-setter (bug#12812).
823
c9cac599
SM
824 * woman.el (woman-decode-region): Disable adaptive-fill when rendering
825 (bug#12756).
826
6baf66d5 8272012-11-10 Glenn Morris <rgm@gnu.org>
6b3770fb
GM
828
829 * emacs-lisp/gv.el (gv-define-setter): Fix doc typo.
830
5593ed90
GM
831 * emacs-lisp/cl-extra.el (cl-prettyexpand):
832 * emacs-lisp/cl-lib.el (cl-proclaim, cl-declaim):
833 * emacs-lisp/cl-macs.el (cl-destructuring-bind, cl-locally)
834 (cl-the, cl-compiler-macroexpand): Add basic doc strings.
835
836 * emacs-lisp/cl-extra.el (cl-maplist, cl-mapcan): Doc fix.
837
05a859c1
LL
8382012-11-10 Leo Liu <sdl.web@gmail.com>
839
840 * ido.el (ido-set-matches-1): Improve flex matching performance by
841 removing backtracking in the regexp (suggested by Stefan). (Bug#12796)
842
32e5c58c
SM
8432012-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
844
845 * emacs-lisp/advice.el (ad-set-advice-info): Set defalias-fset-function.
846 (ad--defalias-fset): New function.
847 (ad-safe-fset): Remove.
848 (ad-make-freeze-definition): Use cl-letf*.
849
f5925cd9
SM
8502012-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
851
da03ef8a
SM
852 * subr.el (dolist): Don't bind VAR in RESULT.
853
6858633a
SM
854 * emacs-lisp/advice.el: Miscellaneous cleanup. Use lexical-binding.
855 (fset, documentation): Don't save real def since we don't advise.
856 (ad-do-advised-functions): Remove problematic `result-form'.
857 (ad-safe-fset): `ad-real-fset' => `fset'.
858 (ad-read-advised-function): Don't assume that ad-do-advised-functions
859 uses CL's dolist internally.
860 (ad-arglist): Remove unused arg `name'.
861 (ad-docstring, ad-make-advised-docstring):
862 `ad-real-documentation' => `documentation'.
863 (warning-suppress-types): Declare.
864 (ad-set-arguments): Simple CSE.
865 (ad-recover-normality): Sanity check.
866
f5925cd9
SM
867 * emacs-lisp/bytecomp.el (byte-compile-out-toplevel): Don't turn
868 (funcall '(lambda ..) ..) into ((lambda ..) ..).
869
93a66b3a
VB
8702012-11-09 Vincent Belaïche <vincentb1@users.sourceforge.net>
871
872 * ses.el: symbol to coordinate mapping is made by symbol property
f5925cd9
SM
873 `ses-cell'. This means that the same mapping is done for all SES
874 sheets. That is good enough for cells with standard A1 names, but
875 not for named cell. So a hash map is added for the latter.
876 (defconst ses-localvars): Add local variable ses--named-cell-hashmap
93a66b3a
VB
877 (ses-sym-rowcol): Use hashmap for named cell.
878 (ses-is-cell-sym-p): New defun.
879 (ses-decode-cell-symbol): New defun.
f5925cd9
SM
880 (ses-create-cell-variable): Add cell to hashmap when name is not
881 A1-like.
93a66b3a
VB
882 (ses-rename-cell): Check that cell new name is not already in
883 spreadsheet with the use of ses-is-cell-sym-p
884 (ses-rename-cell): Use hash map for named cells, but accept also
885 renaming back to A1-like.
886
67dd8ad1
SM
8872012-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
888
57618ecf
SM
889 * emacs-lisp/advice.el: Use new dynamic docstrings.
890 (ad-make-advised-definition-docstring, ad-advised-definition-p):
891 Use dynamic-docstring-function instead of ad-advice-info.
892 (ad--make-advised-docstring): New function extracted from
893 ad-make-advised-docstring.
894 (ad-make-advised-docstring): Use it.
895 * progmodes/sql.el (sql--make-help-docstring): New function, extracted
896 from sql-help.
897 (sql-help): Use it with dynamic-docstring-function.
898
67dd8ad1
SM
899 * env.el (env--substitute-vars-regexp): Don't use rx (for bootstrap).
900
be883b34
SM
9012012-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
902
d41706aa
SM
903 * files.el (hack-one-local-variable--obsolete): New function.
904 (hack-one-local-variable): Use it for obsolete settings.
905
85e55412
SM
906 * subr.el (locate-user-emacs-file): If both old and new name exist, use
907 the new name.
908
be883b34
SM
909 * progmodes/js.el (js--filling-paragraph): New var.
910 (c-forward-sws, c-backward-sws, c-beginning-of-macro): Advise.
911 (js-c-fill-paragraph): Prefer advice to cl-letf so the rebinding is
912 less sneaky.
913
cabc040a
JD
9142012-11-08 Julien Danjou <julien@danjou.info>
915
916 * progmodes/ruby-mode.el (auto-mode-alist): Add Rakefile in
917 `auto-mode-alist' (Bug#12835).
918
d14bb752
SM
9192012-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
920
79b3e376
SM
921 * progmodes/perl-mode.el (perl-prettify-symbols): New defcustom.
922 (perl--prettify-symbols-alist): New const.
923 (perl--font-lock-compose-symbol, perl--font-lock-symbols-keywords):
924 New functions.
925 (perl-font-lock-keywords-2): Use them.
926 (perl-electric-noindent-p): New function.
927 (perl-mode): Use it to set up electric-indent-mode.
928 (perl-electric-terminator, perl-indent-command): Mark obsolete.
929 (perl-mode-map): Remove bindings for them.
930 (perl-imenu-generic-expression, perl-outline-level):
931 Match functions&packages in column>0.
932
3b11e6ac
SM
933 * env.el (env--substitute-vars-regexp): New const.
934 (substitute-env-vars): Use it. Add `only-defined' arg.
935 * net/tramp.el (tramp-replace-environment-variables): Use it.
936
784c1a7b
SM
937 * emacs-lisp/bytecomp.el (byte-compile-initial-macro-environment):
938 Byte-compile *before* eval in eval-and-compile.
939 (byte-compile-log-warning): Remove redundant inhibit-read-only.
940 (byte-compile-file-form-autoload): Don't hide actual definition.
941 (byte-compile-maybe-guarded): Accept `functionp' as well.
942
d14bb752
SM
943 * emacs-lisp/gv.el (gv-ref, gv-deref): New function and macro.
944
499a0f7a
MA
9452012-11-07 Michael Albinus <michael.albinus@gmx.de>
946
947 * notifications.el (notifications-get-server-information-method):
948 New defconst.
949 (notifications-get-capabilities): Fix docstring.
950 (notifications-get-server-information): New defun.
951
f0704a9a
AM
9522012-11-06 Agustín Martín Domingo <agustin.martin@hispalinux.es>
953
954 * textmodes/ispell.el (ispell-region): Standard re-indent for better
955 readability.
956
b159a1fd
AM
957 * textmodes/ispell.el: Experimental support for support debugging.
958 (ispell-create-debug-buffer): Create a `ispell-debug-buffer' debug
959 buffer for ispell.
960 (ispell-print-if-debug): New function to print stuff to
961 `ispell-debug-buffer' if debugging is enabled.
962 (ispell-region, ispell-process-line): Use `ispell-print-if-debug' to
963 show some debugging info.
964 (ispell-buffer-with-debug): New function that creates a debugging
965 buffer and calls `ispell-buffer' with debugging enabled.
966
056cb3a1
AM
967 * textmodes/ispell.el (ispell-region): Do not prefix sent string by
968 comment in autoconf mode. (Bug#12768)
969
8e6a67b7
DA
9702012-11-06 Dmitry Antipov <dmantipov@yandex.ru>
971
972 * emacs-lisp/byte-opt.el (toplevel): Add compare-window-configurations,
973 frame-first-window, frame-root-window, frame-selected-window,
974 minibuffer-selected-window, minibuffer-window,
975 window-absolute-pixel-edges, window-at, window-body-height,
976 window-body-width, window-display-table, window-combination-limit,
977 window-frame, window-fringes, window-inside-absolute-pixel-edges,
978 window-inside-edges, window-inside-pixel-edges, window-left-child,
979 window-left-column, window-margins, window-next-buffers,
980 window-next-sibling, window-new-normal, window-new-total,
981 window-normal-size, window-parameter, window-parameters, window-parent,
982 window-pixel-edges, window-point, window-prev-buffers,
983 window-prev-sibling, window-redisplay-end-trigger, window-scroll-bars,
984 window-start, window-text-height, window-top-child, window-top-line,
985 window-total-height, window-total-width and window-use-time to the list
986 of functions without side-effects.
987 (toplevel): Add window-valid-p to the list of error-free functions
988 without side-effects.
989
53fc914f
AM
9902012-11-05 Agustín Martín Domingo <agustin.martin@hispalinux.es>
991
f5925cd9
SM
992 * textmodes/ispell.el (ispell-program-name):
993 Update spellchecker parameters when customized.
53fc914f 994
9749e2b0
GM
9952012-11-04 Glenn Morris <rgm@gnu.org>
996
997 * vc/vc-svn.el (vc-svn-state-heuristic): Avoid calling svn. (Bug#7850)
998
2cbafa56
CY
9992012-11-04 Chong Yidong <cyd@gnu.org>
1000
1001 * bookmark.el (bookmark-bmenu-switch-other-window): Avoid binding
1002 same-window-* variables.
1003
85178ca1
JL
10042012-11-04 Juri Linkov <juri@jurta.org>
1005
1006 * isearch.el (isearch-help-for-help, isearch-describe-bindings)
1007 (isearch-describe-key, isearch-describe-mode): Use a display
1008 action instead of binding same-window-* variables (Bug#10040).
1009
5c677d44
GM
10102012-11-03 Glenn Morris <rgm@gnu.org>
1011
49138400
GM
1012 * emacs-lisp/cl-macs.el (cl-parse-loop-clause):
1013 Rename handler properties back from cl-- to cl-. (Bug#12788)
1014
5c677d44
GM
1015 * emacs-lisp/cl-macs.el (cl-do-all-symbols): Add doc string.
1016
1d4341f9
EZ
10172012-11-03 Eli Zaretskii <eliz@gnu.org>
1018
1019 * term/pc-win.el: Don't load term/internal from here.
1020
1021 * loadup.el: Load term/internal from here.
1022
12fd5ee1
FEG
10232012-11-03 Fabián Ezequiel Gallina <fgallina@cuca>
1024
1025 * progmodes/python.el (inferior-python-mode): Fix hang in
1026 jit-lock (Bug#12645).
1027
43bcfda6
MR
10282012-11-03 Martin Rudalics <rudalics@gmx.at>
1029
1030 * window.el (switch-to-visible-buffer)
1031 (switch-to-buffer-preserve-window-point): Fix doc-strings.
1032
376a8e83
GM
10332012-11-03 Glenn Morris <rgm@gnu.org>
1034
1035 * emacs-lisp/cl-lib.el (cl--random-time):
1036 Rename from cl-random-time. (Bug#12773)
1037 (cl--gensym-counter, cl--random-state): Update callers.
1038 * emacs-lisp/cl-extra.el (cl-make-random-state): Update callers.
1039
0f7b074f
CY
10402012-11-03 Chong Yidong <cyd@gnu.org>
1041
1042 * cus-start.el: Make cursor-type customizable (Bug#11633).
1043
3a6851d9
GM
10442012-11-02 Glenn Morris <rgm@gnu.org>
1045
00a3b041
GM
1046 * filecache.el: No need to load find-lisp when compiling.
1047 (find-lisp-find-files): Autoload it.
1048 (file-cache-add-directory-recursively): Don't require find-lisp.
1049
11fef14a
GM
1050 * image.el (image-type-from-file-name): Trivial simplification.
1051
3a6851d9
GM
1052 * emacs-lisp/bytecomp.el (byte-compile-eval):
1053 Decouple "noruntime" and "cl-functions" warnings.
1054
b4b096e4
SB
10552012-11-01 Stephen Berman <stephen.berman@gmx.net>
1056
1057 * play/gomoku.el (gomoku-display-statistics): Update mode line
1058 only if in Gomoku buffer; don't capitalize "won" (Bug#12771).
1059
218e997a
MR
10602012-10-31 Martin Rudalics <rudalics@gmx.at>
1061
1062 * window.el (quit-restore-window): If the window has been
1063 created on an existing frame and ended up as the sole window on
1064 that frame, do not delete it (Bug#12764).
1065
b08b6da7
SM
10662012-10-31 Stefan Monnier <monnier@iro.umontreal.ca>
1067
3618df45
SM
1068 * progmodes/sh-script.el (sh--inside-noncommand-expression):
1069 Rename from sh--inside-arithmetic-expression, handle more cases
1070 (bug#11263).
1071
b08b6da7
SM
1072 * progmodes/sh-script.el (sh--inside-arithmetic-expression): New func.
1073 (sh-font-lock-open-heredoc): Use it (bug#12770).
1074
4ddedf94
GM
10752012-10-30 Glenn Morris <rgm@gnu.org>
1076
f43a5263
GM
1077 * emacs-lisp/cl-extra.el (cl-mapc): Add autoload cookie. Doc fix.
1078
4ddedf94
GM
1079 * emacs-lisp/cl.el (letf): Doc fix. (Bug#12760)
1080
748b0d84
CY
10812012-10-29 Chong Yidong <cyd@gnu.org>
1082
b5dd9a77
CY
1083 * isearch.el (isearch-other-meta-char): Ensure that a reprocessed
1084 function key is stored in a keyboard macro (Bug#4894).
1085
748b0d84
CY
1086 * thingatpt.el (number-at-point): Apply a thing-at-point property.
1087
e07fcbdc
SM
10882012-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
1089
d7f9cc85
SM
1090 * vc/diff-mode.el (diff-context->unified): Don't get confused by "hunk
1091 header comments".
1092 (diff-unified->context, diff-context->unified)
1093 (diff-reverse-direction, diff-fixup-modifs): Use `use-region-p'.
1094
c606253c
SM
1095 * emacs-lisp/cl.el (letf): Add missing indent rules (bug#12759).
1096
e07fcbdc
SM
1097 * files.el (find-alternate-file): Only ask one question (bug#12487).
1098
894b9dd9
CY
10992012-10-29 Chong Yidong <cyd@gnu.org>
1100
1dc2755a
CY
1101 * vc/vc-hooks.el (vc-file-clearprops): Kill vc-parent-buffer.
1102 Suggested by Dan Nicolaescu (Bug#6326).
1103
329c48d8
CY
1104 * info.el (Info-complete-menu-item): Avoid duplicates (Bug#12705).
1105
2230fa5b 1106 * startup.el (fancy-about-screen): Don't message (Bug#12680).
5c2f2631 1107
e84cad57
CY
1108 * thingatpt.el (thing-at-point): Doc fix (Bug#12691).
1109
1913c5f5
CY
1110 * imenu.el (imenu): Inhibit push-mark message (Bug#12726).
1111
894b9dd9
CY
1112 * face-remap.el (face-remap-add-relative): Handle the case where a
1113 face-remapping-alist entry is a cons cell (Bug#12762).
1114
329c48d8
CY
11152012-10-29 Kevin Ryde <user42@zip.com.au>
1116
1117 * woman.el (woman-parse-numeric-value): Handle picas correctly
1118 (Bug#12639).
1119
a0ccbcbd
GM
11202012-10-29 Glenn Morris <rgm@gnu.org>
1121
1122 * emacs-lisp/cl.el (defsetf): Doc fix.
1123
b3871e59
SM
11242012-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
1125
1126 * progmodes/sh-script.el (sh-font-lock-paren): Also put punctuation
1127 syntax to the matching opener, if any (bug#12547).
1128 (sh-smie-sh-forward-token, sh-smie-sh-backward-token): Recognize this
1129 matching open as a "case-(".
1130 (sh-smie-rc-grammar): Add a corresponding rule for it.
1131
cd44022c
DH
11322012-10-28 Daniel Hackney <dan@haxney.org>
1133
1134 * emacs-lisp/package.el (package-generate-autoloads): Kill buffer
1135 "PKGNAME-autoloads.el" in case we created it.
1136
70edffb1
SM
11372012-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
1138
86957a0c
SM
1139 * minibuffer.el (completion--sifn-requote): Rewrite to handle things
1140 like Tramp's "/foo:~bar//baz" -> "/scpc:foo:/baz" mapping (bug#11714).
b9383404 1141 (completion--twq-all): Disable too-strict assertions.
86957a0c 1142
70edffb1
SM
1143 * tmm.el (tmm-prompt): Use map-keymap (bug#12744).
1144
d069271c
EZ
11452012-10-27 Eli Zaretskii <eliz@gnu.org>
1146
1147 * profiler.el (profiler-report-make-entry-part): Fix help-echo
1148 text to match the real keybindings.
1149
e2f022a3
JL
11502012-10-27 Juri Linkov <juri@jurta.org>
1151
1152 * wdired.el (wdired-keep-marker-rename): New defcustom.
1153 (wdired-do-renames): Use it instead of `dired-keep-marker-rename'.
1154 (Bug#11795)
1155
1156 * dired.el (dired-keep-marker-rename): Add reference to
1157 `wdired-keep-marker-rename' in the docstring.
1158 Add default character value ?R to display initially in
1159 Customization UI instead of ?@.
1160
df171c23
MR
11612012-10-27 Martin Rudalics <rudalics@gmx.at>
1162
1163 * window.el (display-buffer): In doc-string describe
1164 window-height and window-width alist entries.
1165
1166 * time.el (display-time-world): Restore fit-window-to-buffer
1167 behavior.
1168
05b621a6
CY
11692012-10-27 Chong Yidong <cyd@gnu.org>
1170
1171 * subr.el (insert-buffer-substring-as-yank): Doc fix.
1172
55f197b2
J
11732012-10-26 Jambunathan K <kjambunathan@gmail.com>
1174
1175 * minibuffer.el (completion-category-overrides): New completion
1176 category `bookmark' (bug#11131).
1177
372212df
SM
11782012-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
1179
150f809c
SM
1180 * emacs-lisp/advice.el (ad-assemble-advised-definition):
1181 Silence bogus compiler warnings for ad-do-it.
1182
372212df
SM
1183 * bookmark.el (bookmark-completing-read): Set the completion category
1184 to `bookmark' (bug#11131).
1185
c5772569
B
11862012-10-26 Bastien <bzg@altern.org>
1187 Stefan Monnier <monnier@iro.umontreal.ca>
1188
1189 * face-remap.el: Use lexical-binding.
1190 (text-scale-adjust): Improve docstring. Use itself for the temporary
1191 overlay-map bindings, so as to repeat the "Use..." message each time.
1192
a2be0357
SM
11932012-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
1194
63314e57
SM
1195 * emacs-lisp/macroexp.el (macroexp--expand-all):
1196 Obey byte-compile-warning-enabled-p (bug#12486).
1197
a2be0357
SM
1198 * vc/diff-mode.el (diff-end-of-hunk): Also skip potential "no LF at eol".
1199 (diff-refine-hunk): Similarly, handle the "no LF at eol" (bug#12584).
1200
8c7727c3
MR
12012012-10-26 Martin Rudalics <rudalics@gmx.at>
1202
1203 * mouse.el (mouse-drag-line): Move last form into preceding when
1204 clause (Bug#12731).
1205
1206 * help.el (resize-temp-buffer-window): Fix doc-string.
1207
3f2a848d
DE
12082012-10-25 David Engster <deng@randomsample.de>
1209
1210 * emacs-lisp/eieio.el (eieio-update-lisp-imenu-expression):
a2be0357 1211 Remove. This feature is already integrated in imenu.
3f2a848d
DE
1212
1213 * emacs-lisp/eieio-opt.el: Remove require for `button' since it is
1214 always loaded. Require `speedbar' unconditionally.
1215
a7723be6
SM
12162012-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
1217
aaabfc8b
SM
1218 * dired.el (dired-get-marked-files): Allow ! on . and .. (bug#12725).
1219
414a8595
SM
1220 * minibuffer.el (minibuffer-force-complete): Fix thinko.
1221
fb5b9475
SM
1222 * net/ldap.el (ldap-search-internal): The official ldif format starts
1223 with a "version: 1" header (bug#12724).
1224
a7723be6
SM
1225 * emacs-lisp/package.el (package-installed-p): Warn if not ready
1226 (bug#12721).
1227
a05cb6e3
GM
12282012-10-25 Glenn Morris <rgm@gnu.org>
1229
1230 * emacs-lisp/cl-macs.el (cl-progv): Doc fix.
1231
3c92de70
SM
12322012-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
1233
1234 * minibuffer.el (minibuffer-force-complete): Use one more marker
1235 for the temporary-overlay-map command (bug#12619).
1236
a4b6d7c6
CY
12372012-10-24 Chong Yidong <cyd@gnu.org>
1238
1239 * time.el (display-time-world-mode): Derive from special-mode.
1240 (display-time-world): Use display-buffer (Bug#12708).
1241 (display-time-world-mode-map): Variable deleted.
9321d8d7
CY
1242 (display-time-world-display): Wrap the final delete-char inside
1243 inhibit-read-only.
a4b6d7c6 1244
75e8f9d2
CY
12452012-10-24 Chong Yidong <cyd@gnu.org>
1246
cd996018
CY
1247 * dired.el (dired-mark, dired-unmark, dired-flag-file-deletion):
1248 Doc fix.
1249
75e8f9d2
CY
1250 * emacs-lisp/easymenu.el (easy-menu-define): Doc fix (Bug#12628).
1251
d92df117
SM
12522012-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
1253
1254 * minibuffer.el (completion--all-sorted-completions-location): New var.
1255 (completion--cache-all-sorted-completions)
1256 (completion--flush-all-sorted-completions): Use it.
1257 (completion-in-region, completion-in-region--postch)
1258 (completion-at-point, completion-help-at-point): Use markers in
1259 completion-in-region--data (bug#12619).
1260
9c3e39f3
SM
12612012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
1262
c79825bd
SM
1263 * progmodes/compile.el (compilation-start): Try to handle common
1264 quoting of `cd' argument (bug#12640).
1265
9c3e39f3
SM
1266 * vc/diff-mode.el (diff-hunk): `save-excursion' while refining
1267 (bug#12671).
1268
a6709bc7
GM
12692012-10-23 Glenn Morris <rgm@gnu.org>
1270
1271 * progmodes/gud.el (gud-menu-map):
1272 Check gdb-active-process is bound. (Bug#12358)
1273
d1069532
SM
12742012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
1275
d20d69c0
SM
1276 * repeat.el (repeat): Set real-this-command (bug#12232).
1277
d1069532
SM
1278 * htmlfontify.el (hfy-post-html-hook):
1279 * filesets.el (filesets-cache-fill-content-hook):
1280 * arc-mode.el (archive-extract-hook):
1281 * progmodes/cc-mode.el (c-prepare-bug-report-hook):
1282 * net/rcirc.el (rcirc-sentinel-functions)
1283 (rcirc-receive-message-functions, rcirc-activity-functions)
1284 (rcirc-print-functions):
1285 * net/dbus.el (dbus-event-error-functions):
1286 * emacs-lisp/eieio.el (eieio-pre-method-execution-functions):
1287 * emacs-lisp/checkdoc.el (checkdoc-style-functions)
1288 (checkdoc-comment-style-functions): Don't use "-hooks" suffix.
1289 * term/sun.el (sun-raw-prefix-hooks):
1290 * mail/sendmail.el (mail-yank-hooks): Use make-obsolete-variable.
1291
f7eac6d8
MA
12922012-10-23 Michael Albinus <michael.albinus@gmx.de>
1293
d1069532
SM
1294 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
1295 Set `tramp-chunksize' to 1. This improves the performance.
f7eac6d8
MA
1296 (tramp-smb-wait-for-output): Add timeout to
1297 `tramp-accept-process-output' calls.
1298
608d9d7c
CY
12992012-10-23 Chong Yidong <cyd@gnu.org>
1300
49238e7f
CY
1301 * faces.el (font-list-limit): Define as an obsolete variable.
1302
1303 * startup.el (command-line):
1304 * cus-start.el: Don't refer to font-list-limit.
1305
608d9d7c
CY
1306 * newcomment.el (comment-normalize-vars): Doc fix (Bug#12583).
1307
4ff5b1b2
SM
13082012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
1309
1310 * subr.el (internal-temp-output-buffer-show): Rename from
1311 temp-output-buffer-show, since previously compiled files expect this name.
1312
ea1d4aac
GM
13132012-10-23 Glenn Morris <rgm@gnu.org>
1314
1315 * image.el (image-type-from-file-name): If multiple types match,
1316 return the first one that is supported. (Bug#9045)
1317
eda82a31
GM
13182012-10-22 Glenn Morris <rgm@gnu.org>
1319
1320 * image.el (imagemagick-enabled-types): Doc fix.
1321
4f020bec
TA
13222012-10-22 Takafumi Arakaki <aka.tkf@gmail.com> (tiny change)
1323
1324 * progmodes/which-func.el (which-func-current): The hash-table may have
1325 an explicit nil (bug#12338).
1326
c77d37e2
SM
13272012-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
1328
1329 * electric.el (electric-pair-delete-selection-self-insert-function):
1330 Rename to electric-pair-will-use-region, return a boolean.
1331 (electric-pair-mode): Adjust accordingly. Don't require delsel.
1332
1333 * delsel.el (delete-selection-helper): Use a function instead of a hook.
1334 (delete-selection-pre-hook): Use use-region-p.
1335 (delete-selection-self-insert-function): Remove.
1336 (self-insert-command): Obey self-insert-uses-region-functions.
1337 (self-insert-iso): Revert to previous setting, since we don't actually
1338 know what that command does.
1339 (delete-selection-self-insert-hooks): Remove.
1340
b1d39ccc
SL
13412012-10-22 Simon Law <sfllaw@sfllaw.ca> (tiny change)
1342
1343 * delsel.el (delete-selection-helper): New function, extracted from
1344 delete-selection-pre-hook.
1345 (delete-selection-pre-hook): Use it.
1346 (delete-selection-self-insert-function): New function.
1347 (delete-selection-self-insert-hooks): New hook.
1348 (self-insert-command, self-insert-iso): Use it.
1349 * electric.el (electric-pair-syntax): New function, extracted from
1350 electric-pair-post-self-insert-function.
1351 (electric-pair-post-self-insert-function): Use it.
1352 (electric-pair-delete-selection-self-insert-function): New function.
1353 (electric-pair-mode): Require delsel and setup
1354 delete-selection-self-insert-hooks (bug#11520).
1355
045ef729
CY
13562012-10-20 Chong Yidong <cyd@gnu.org>
1357
4c5d08a8
CY
1358 * vc/vc.el (vc-diff-internal): Set up Diff mode even if there are
1359 no changes to show (Bug#12586).
1360
045ef729
CY
1361 * eshell/esh-cmd.el (eshell-rewrite-for-command): Copy the body
1362 list explicitly (Bug#12571).
1363
3503c798 13642012-10-20 Arne Jørgensen <arne@arnested.dk>
79e1997a 1365
b1d39ccc
SL
1366 * progmodes/flymake.el (flymake-create-temp-inplace):
1367 Use file-truename.
79e1997a 1368
2068905b
EZ
13692012-10-20 Eli Zaretskii <eliz@gnu.org>
1370
1371 * loadup.el: Update comment about uncompiled Lisp files. (Bug#12395)
1372
4c9e9550
JB
13732012-10-20 Jay Belanger <jay.p.belanger@gmail.com>
1374
1375 * calc/calc-units.el (math-extract-units): Properly extract powers
1376 of units.
1377
1a6e7e38
DC
13782012-10-20 Daniel Colascione <dancol@dancol.org>
1379
1380 * frame.el (make-frame): Set x-display-name as we used to in order
1381 to unbreak creating an X11 frame from an Emacs daemon started
1382 without a display.
1383
8e808318
SM
13842012-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
1385
1386 * minibuffer.el (minibuffer-force-complete): Make the next completion use
f5925cd9 1387 the same completion-field (bug#12221).
8e808318 1388
fb0104da
MR
13892012-10-19 Martin Rudalics <rudalics@gmx.at>
1390
1391 * emacs-lisp/debug.el (debug): Record height of debugger window
1392 also when debugger will be back (Bug#8789).
1393
8c27235e
CY
13942012-10-18 Chong Yidong <cyd@gnu.org>
1395
1396 * progmodes/gdb-mi.el (gdb-display-buffer-other-frame-action):
1397 Convert to defcustom.
1398 (gdb-get-source-file): Don't bind pop-up-windows.
1399
1400 * progmodes/gud.el (gud-display-line): Don't specially re-use
1401 other frames for the gdb-mi case (Bug#12648).
1402
90eacf99
SM
14032012-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
1404
aaf0c300
SM
1405 * emacs-lisp/advice.el: Clean up commentary a bit.
1406 (ad-do-advised-functions, ad-with-originals): Use `declare'.
1407 (byte-code-function-p): Never redefine.
1408
90eacf99
SM
1409 * emacs-lisp/gv.el (cond): Same fix as before for `if'.
1410
281c9d2b
GM
14112012-10-18 Glenn Morris <rgm@gnu.org>
1412
40714e3d
GM
1413 * dired.el (dired-sort-toggle): Some ls implementations only allow
1414 a single option string. (Bug#12666)
1415
281c9d2b
GM
1416 * minibuffer.el (completion-cycle-threshold): Doc fix.
1417
b278604e
KH
14182012-10-17 Kenichi Handa <handa@gnu.org>
1419
90eacf99
SM
1420 * international/mule.el (set-keyboard-coding-system):
1421 Recover input meta mode when the new coding system doesn not use 8-bit.
b278604e
KH
1422 Supply TERMINAL arg to set-input-meta-mode.
1423
df171c23 14242012-10-17 Michael Heerdegen <michael_heerdegen@web.de>
7ebc5f5a
MH
1425
1426 * wdired.el (wdired-old-marks): New variable.
1427 (wdired-change-to-wdired-mode): Locally set wdired-old-marks.
1428 (wdired-do-renames): Move point with renamed file and don't lose
1429 mark status (Bug#11795).
1430
e5a94ec4
JL
14312012-10-16 Juri Linkov <juri@jurta.org>
1432
1433 * replace.el (query-replace-help): Mention multi-buffer replacement
1434 keys in the Help message. (Bug#12655)
1435
d18a0d24
CY
14362012-10-15 Chong Yidong <cyd@gnu.org>
1437
1438 * emacs-lisp/byte-run.el (defsubst): Doc fix.
1439
8111f5e6
EZ
14402012-10-14 Eli Zaretskii <eliz@gnu.org>
1441
7b9abf24
EZ
1442 * window.el (display-buffer): Doc fix.
1443
8111f5e6
EZ
1444 * progmodes/compile.el (compilation-error-regexp-alist-alist):
1445 Adjust the msft regexp to the output of Studio 2010, and move msft
1446 before edg-1. See the discussion on emacs-devel,
1447 http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00579.html,
1448 for the details.
1449
5046ef67
SM
14502012-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
1451
9760c73c
SM
1452 * emacs-lisp/eieio.el (eieio-oset-default, eieio-oset, oset-default)
1453 (oset): Move uses of object-class-fast macro after its definition.
1454
5046ef67
SM
1455 * emacs-lisp/gv.el (if): Don't use closures in non-lexical-binding code.
1456
0d11ff1c
CY
14572012-10-13 Chong Yidong <cyd@gnu.org>
1458
1459 * textmodes/ispell.el (ispell-pdict-save): If flyspell-mode is
1460 enabled, re-enable it (Bug#11963).
1461
88ded8ac
MR
14622012-10-13 Martin Rudalics <rudalics@gmx.at>
1463
1464 * emacs-lisp/debug.el (debug): When debugger-will-be-back is
1465 non-nil, restore window configuration (Bug#12623).
1466
bd0ffffd
SM
14672012-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
1468
06485aa8
SM
1469 * help-fns.el (describe-variable, describe-function-1):
1470 * help-mode.el (help-make-xrefs): Remove error handler, made unneeded.
1471
bd0ffffd
SM
1472 * emacs-lisp/eieio.el (lisp-imenu-generic-expression): Fix typo.
1473
3a989246
GM
14742012-10-12 Glenn Morris <rgm@gnu.org>
1475
1476 * mail/rmailsum.el (rmail-header-summary):
1477 Fix 2010-11-26 test for multiline Subject: field. (Bug#12625)
1478
55cd00c8
FEG
14792012-10-12 Fabián Ezequiel Gallina <fgallina@cuca>
1480
bd0ffffd
SM
1481 * progmodes/python.el (python-mode-map):
1482 Replace subtitute-key-definition with proper command remapping.
55cd00c8
FEG
1483 (python-nav--up-list): Fix behavior for blocks on the same level.
1484
ac9fc2c7
SM
14852012-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
1486
d8cc4c00 1487 * help-fns.el (describe-function-1): Handle autoloads w/o docstrings.
d8cc4c00 1488
5253a5fd
SM
1489 * emacs-lisp/bytecomp.el (byte-compile-eval): Adjust to long-ago
1490 changes to the format of load-history.
1491
ac9fc2c7
SM
1492 * international/mule-cmds.el (read-char-by-name): Move let-binding of
1493 completion-ignore-case in case that var is buffer-local (bug#12615).
1494
cde44a77
KH
14952012-10-11 Kenichi Handa <handa@gnu.org>
1496
1497 * international/eucjp-ms.el: Re-generated.
1498
4ef4a10d
KH
14992012-10-10 Kenichi Handa <handa@gnu.org>
1500
1501 * select.el (xselect--encode-string): If a coding is specified for
1502 selection, and that is compatible with COMPOUND_TEXT, use it.
1503
9d7f027b
MR
15042012-10-10 Martin Rudalics <rudalics@gmx.at>
1505
1506 * window.el (switch-to-buffer-preserve-window-point): New option.
ac9fc2c7
SM
1507 (switch-to-buffer):
1508 Obey `switch-to-buffer-preserve-window-point' (Bug#4041).
9d7f027b 1509
238f3a58
SM
15102012-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
1511
1512 * newcomment.el (comment-start-skip, comment-end-skip, comment-end):
1513 Don't document nil as a useful value (bug#12583).
1514
1d51f99c
MA
15152012-10-09 Michael Albinus <michael.albinus@gmx.de>
1516
238f3a58
SM
1517 * net/tramp.el (tramp-debug-message):
1518 Remove "tramp-with-progress-reporter" from regexp of ignored functions.
1d51f99c
MA
1519 (with-tramp-progress-reporter): Rename from
1520 `tramp-with-progress-reporter'.
238f3a58
SM
1521 (with-tramp-file-property, with-tramp-connection-property):
1522 Move from tramp-cache.el, rename from `with-file-property' and
1d51f99c
MA
1523 `with-connection-property', respectively.
1524
1525 * net/tramp-cache.el: Remove `with-file-property' and
1526 `with-connection-property'.
1527
1528 * net/tramp.el:
1529 * net/tramp-gvfs.el:
1530 * net/tramp-sh.el:
1531 * net/tramp-smb.el: Adapt callees.
1532
1533 * net/trampver.el: Update release number.
1534
26b77251
GM
15352012-10-09 Glenn Morris <rgm@gnu.org>
1536
9a5f296f
GM
1537 * w32-fns.el (set-message-beep):
1538 * term/w32-win.el (set-message-beep): Update declarations.
1539
94c66ce5
SM
15402012-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
1541
10766e9e
SM
1542 * bindings.el (mode-line-toggle-read-only, mode-line-toggle-modified)
1543 (mode-line-widen, mode-line-input-method-map)
1544 (mode-line-coding-system-map, mode-line-remote)
1545 (mode-line-unbury-buffer, mode-line-bury-buffer)
1546 (mode-line-next-buffer, mode-line-previous-buffer):
1547 Replace save-selected-window+select-window => with-selected-window.
1548
f754db08
SM
1549 * progmodes/cc-bytecomp.el (cc-bytecomp-defmacro): Remove, unused.
1550 * progmodes/cc-vars.el (bq-process): Remove, unused.
1551
94c66ce5
SM
1552 * emacs-lisp/cl-macs.el (cl-defstruct): Obey the :read-only property.
1553
a4ff7fe1
FEG
15542012-10-09 Fabián Ezequiel Gallina <fgallina@cuca>
1555
1556 Implemented `backward-up-list'-like navigation.
1557 * progmodes/python.el (python-nav-up-list)
1558 (python-nav-backward-up-list): New functions.
1559 (python-mode-map): Define substitute key for backward-up-list to
1560 python-nav-backward-up-list.
1561
24517d82
FEG
15622012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
1563
1564 * progmodes/python.el (python-fill-paragraph): Rename from
1565 python-fill-paragraph-function. Fixed fill-paragraph for
1566 decorators (Bug#12605).
1567
51867ae2
FEG
15682012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
1569
1570 * progmodes/python.el (python-shell-output-filter): Handle extra
1571 carriage return in OSX (Bug#12409).
1572
a5b773c4
FEG
15732012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
1574
1575 Fix shell handling of unbalanced quotes and parens in output.
94c66ce5 1576 * progmodes/python.el (python-rx-constituents): Add string-delimiter.
a5b773c4
FEG
1577 (python-syntax-propertize-function): Use it.
1578 (python-shell-output-syntax-table): New var.
1579 (inferior-python-mode): Prevent unbalanced parens/quotes from
1580 previous output mess with current input context.
1581
13373538
JB
15822012-10-08 Juanma Barranquero <lekktu@gmail.com>
1583
1584 * generic-x.el (javascript-generic-mode, javascript-generic-mode-hook):
1585 Make obsolete aliases of js-mode and js-mode-hook (from js.el).
1586
775a132d
MA
15872012-10-08 Michael Albinus <michael.albinus@gmx.de>
1588
1589 * ffap.el (ffap-replace-file-component): Support Tramp file name
1590 syntax, not only ange-ftp's one.
1591
3ab44929
GM
15922012-10-08 Glenn Morris <rgm@gnu.org>
1593
57f1dee4
GM
1594 * cus-start.el (message-log-max): Set :version.
1595
3ab44929
GM
1596 * calendar/calendar.el (calendar-intermonth-header): Doc fix.
1597
6a088630
MR
15982012-10-08 Martin Rudalics <rudalics@gmx.at>
1599
1600 * emacs-lisp/edebug.el (edebug-pop-to-buffer): Don't try to split
1601 the minibuffer window (Bug#10851).
1602
8dbce54c
FEG
16032012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
1604
1605 Enhancements on forward-sexp movement.
1606 * progmodes/python.el (python-nav-beginning-of-statement)
1607 (python-nav-end-of-statement): Return point-marker.
1608 (python-nav-forward-sexp): lisp-like forward-sexp behavior.
1609 (python-info-current-symbol)
1610 (python-info-statement-starts-block-p): Rename from
1611 python-info-beginning-of-block-p.
1612 (python-info-statement-ends-block-p): Rename from
1613 python-info-end-of-block-p.
1614 (python-info-beginning-of-statement-p)
1615 (python-info-end-of-statement-p)
1616 (python-info-beginning-of-block-p, python-info-end-of-block-p):
1617 New functions.
1618
5acd2b3e
SM
16192012-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
1620
1621 * comint.el (comint-preinput-scroll-to-bottom): Preserve the
1622 frame-selected-windows.
1623
e08348a0
DC
16242012-10-08 Daniel Colascione <dancol@dancol.org>
1625
1626 * battery.el (battery-status-function): Check for
1627 w32-battery-status itself, not system-time windows-nt.
1628
1629 * frame.el: Require cl-lib.
1630 (display-format-alist): New variable mapping frame types to
1631 functions that initialize them.
1632 (window-system-for-display): New function: interprets
1633 display-format-alist.
1634 (make-frame-on-display): Remove existing display-selection logic
1635 and just forward to make-frame, which will now DTRT.
1636 (make-frame): Restructure to use window-system-for-display to
1637 figure out how to create a frame on a given display.
1638 (display-mouse-p): Look for frame-type w32, not a particular
1639 system-type.
1640
1641 * loadup.el: Load w32 lisp code when we have the w32 feature.
1642
1643 * mouse.el (mouse-yank-primarY): Look for frame-type w32, not
1644 system-type windows-nt.
1645
1646 * server.el (server-create-window-system-frame): Look for window
1647 type.
1648 (server-proces-filter): Only force a window system when windows-nt
1649 _and_ w32. Explain why.
1650
1651 * simple.el (normal-erase-is-backspace-mode): Add w32 to the list
1652 of window systems we configure for the mode.
1653
1654 * startup.el (command-line): Mark window system is initialized
1655 after we've done it.
1656
1657 * common-win.el (x-select-text): Look for w32, not windows-nt.
1658
1659 * ns-win.el: Require cl-lib. Add ourselves to
1660 display-format-alist.
1661 (ns-initialize-window-system): Assert we're not initialized twice.
1662
1663 * w32-win.el: Enable lexical binding; require cl-lib; add
1664 ourselves to display-format-alist.
1665 (w32-handle-dropped-file): Convert incoming dropped files from
1666 Windows paths to Cygwin ones before passing them on to the rest of
1667 Emacs.
1668 (w32-drag-n-drop): New paramter new-frame. Simplify logic.
1669 (w32-initialize-window-system): Assert we're not initialized twice.
1670
1671 * x-win.el: Require cl-lib; add ourselves to display-format-alist.
1672 (x-initialize-window-system): Assert we're not initialized twice.
1673
1674 * w32-common-fns.el: New File.
1675 (w32-version, w32-using-nt, w32-get-clipboard-data)
1676 (w32-set-clipboard-data, x-set-selection, x-get-selection)
1677 (w32-charset-info-alist, x-last-selected, text)
1678 (x-get-selection-value, x-selection-value): Move here.
1679
1680 * w32-fns.el: Require w32-common-fns.
1681 (w32-version, w32-using-nt, w32-get-clipboard-data)
1682 (w32-set-clipboard-data, x-set-selection, x-get-selection)
1683 (w32-charset-info-alist, x-last-selected, text)
1684 (x-get-selection-value, x-selection-value): Move to
1685 w32-common-fns.
1686
1687 * w32-vars.el:
1688 (w32-allow-system-shell, w32-system-shells): Define only in
1689 non-cygwin case.
1690
795b1482
SM
16912012-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
1692
1693 * subr.el (read-passwd-map): Don't use `defconst' (bug#12597).
1694 (read-passwd): Remove a few more potential sources of leaks.
1695
f27c99dc
FEG
16962012-10-07 Fabián Ezequiel Gallina <fgallina@cuca>
1697
1698 * progmodes/python.el (inferior-python-mode)
795b1482 1699 (python-shell-make-comint): Fix initialization of local
f27c99dc
FEG
1700 variables copied from parent buffer.
1701
fcacb558
JD
17022012-10-07 Jan Djärv <jan.h.d@swipnet.se>
1703
1704 * term/ns-win.el (ns-read-file-name): Update declaration to match
1705 nsfns.m.
1706 (ns-respond-to-change-font): Change fontsize separatly so we are sure
1707 it is set when font is acted upon.
1708
be0d5bae
FEG
17092012-10-07 Fabián Ezequiel Gallina <fgallina@cuca>
1710
1711 Enhancements to indentation.
1712 * progmodes/python.el (python-indent-context): Give priority to
1713 inside-string context. Make comments indentation markers.
1714 (python-indent-region): Do not mess with strings, unless it's the
1715 enclosing set of quotes.
1716
13af0d10
SM
17172012-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
1718
662a9d0e
SM
1719 * window.el (internal--before-save-selected-window)
1720 (internal--after-save-selected-window): New functions extracted from
1721 save-selected-window. Make sure we return the `alist' we construct.
1722 (save-selected-window): Use them.
1723
1724 * textmodes/tex-mode.el (tex-recenter-output-buffer):
1725 Use with-selected-window.
1726
13af0d10
SM
1727 * emacs-lisp/autoload.el (make-autoload): Add `cl-defmacro' to the
1728 forms that define macros (bug#12593).
1729
6aa75fb6
KH
17302012-10-07 Kenichi Handa <handa@gnu.org>
1731
13af0d10
SM
1732 * international/mule-conf.el (compound-text-with-extensions):
1733 Add :mime-charset property as x-ctext.
6aa75fb6 1734
78d876b9
SM
17352012-10-07 Stefan Merten <smerten@oekonux.de>
1736
1737 * textmodes/rst.el (rst-new-adornment-down, rst-indent-field)
1738 (rst-indent-literal-normal, rst-indent-literal-minimized)
1739 (rst-indent-comment): Correct :version tag.
557337e9 1740 (rst-official-cvs-rev): Correct version string.
78d876b9 1741
99a1e701
GM
17422012-10-07 Glenn Morris <rgm@gnu.org>
1743
1744 * mail/rmailmm.el (rmail-mime-process-multipart):
1745 Do not confuse a multipart message with an epilogue
1746 with a "truncated" one; fixes 2011-06-27 change. (Bug#10101)
1747
08f18c3d
FEG
17482012-10-07 Fabián Ezequiel Gallina <fgallina@cuca>
1749
1750 Fix shell output retrieval and comint-prompt-regexp init.
1751 * progmodes/python.el (inferior-python-mode):
1752 (python-shell-make-comint): Fix initialization of
1753 comint-prompt-regexp from copied file local variables.
1754 (python-shell-fetched-lines): Remove var.
1755 (python-shell-output-filter-in-progress): Rename from
1756 python-shell-fetch-lines-in-progress.
1757 (python-shell-output-filter-buffer): Rename from
1758 python-shell-fetch-lines-string.
1759 (python-shell-fetch-lines-filter): Delete function.
1760 (python-shell-output-filter): New function.
1761 (python-shell-send-string-no-output): Use them.
1762
82ed3ab4
GM
17632012-10-07 Glenn Morris <rgm@gnu.org>
1764
1595ecfa
GM
1765 * hi-lock.el (hi-lock-process-phrase):
1766 Try to make it less fragile. (Bug#7161)
1767
82ed3ab4
GM
1768 * hi-lock.el (hi-lock-face-phrase-buffer): Doc fix.
1769
f1f4dba0
GM
17702012-10-06 Glenn Morris <rgm@gnu.org>
1771
addc11ed 1772 * ehelp.el (electric-help-mode): Use help-mode rather than
32939005
GM
1773 non-existent mode `help'.
1774 (electric-help-map): Use button-buffer-map. (Bug#10917)
addc11ed 1775
460042b8
GM
1776 * textmodes/reftex-vars.el (reftex-create-bibtex-header)
1777 (reftex-create-bibtex-footer): Fix custom types.
1778
67667c70
GM
1779 * progmodes/sh-script.el (sh-indent-after-continuation):
1780 Add explicit :group.
1781
18dec750
GM
1782 * textmodes/rst.el (rst-preferred-decorations)
1783 (rst-shift-basic-offset): Clarify obsolescence versions.
1784
d1a1c7e6
GM
1785 * profiler.el (profiler): Add missing group :version tag.
1786 * avoid.el (mouse-avoidance-banish-position):
1787 * proced.el (proced-renice-command):
1788 * calc/calc.el (calc-ensure-consistent-units):
1789 * calendar/icalendar.el (icalendar-import-format-uid):
1790 * net/tramp.el (tramp-save-ad-hoc-proxies):
1791 * progmodes/bug-reference.el (bug-reference-bug-regexp):
1792 * progmodes/flymake.el (flymake-error-bitmap)
1793 (flymake-warning-bitmap, flymake-fringe-indicator-position):
1794 * progmodes/sh-script.el (sh-indent-after-continuation):
1795 * progmodes/verilog-mode.el (verilog-auto-template-warn-unused)
1796 (verilog-before-save-font-hook, verilog-after-save-font-hook):
1797 * progmodes/vhdl-mode.el (vhdl-makefile-default-targets)
1798 (vhdl-array-index-record-field-in-sensitivity-list)
1799 (vhdl-indent-comment-like-next-code-line):
1800 * textmodes/reftex-vars.el (reftex-ref-style-alist)
1801 (reftex-ref-macro-prompt, reftex-ref-style-default-list)
1802 (reftex-cite-key-separator, reftex-create-bibtex-header)
1803 (reftex-create-bibtex-footer):
1804 * textmodes/rst.el (rst-new-adornment-down, rst-indent-field)
1805 (rst-indent-literal-normal, rst-indent-literal-minimized)
1806 (rst-indent-comment): Add missing custom :version tags.
1807
ef35abb4
GM
1808 * calendar/timeclock.el (timeclock-modeline-display):
1809 Add missing obsolete alias for renamed user option.
1810
d1aae614
GM
1811 * strokes.el (strokes-modeline-string):
1812 * emulation/crisp.el (crisp-mode-modeline-string):
1813 * eshell/esh-mode.el (eshell-status-in-modeline):
1814 Aliases to defcustoms must come before the defcustom.
1815
f1f4dba0
GM
1816 * calendar/cal-tex.el (cal-tex-diary, cal-tex-cursor-week)
1817 (cal-tex-cursor-week2, cal-tex-cursor-week-iso)
1818 (cal-tex-cursor-week-monday): Doc fixes.
1819 (cal-tex-cursor-week2-summary): Doc fix.
1820 Rename from cal-tex-cursor-week-at-a-glance.
1821
1822 * calendar/cal-menu.el (cal-menu-context-mouse-menu):
1823 Tweak week descriptions. Add cal-tex-cursor-week2-summary.
1824
1825 * calendar/calendar.el (calendar-mode-map):
1826 Add cal-tex-cursor-week2-summary.
1827
d39109c3
SM
18282012-10-06 Stefan Monnier <monnier@iro.umontreal.ca>
1829
685f87b0
SM
1830 * emacs-lisp/cl-macs.el (cl-defstruct): Improve docstring.
1831
d39109c3
SM
1832 * subr.el (read-passwd-map): New var.
1833 (read-passwd): Use `read-string' again.
1834 * minibuffer.el (delete-minibuffer-contents): Make it interactive.
1835
5694896d
J
18362012-10-06 Jambunathan K <kjambunathan@gmail.com>
1837
1838 * register.el (append-to-register, prepend-to-register):
1839 Deactivate mark, as does `copy-to-register' (bug#12389).
1840
9414dd8d
CY
18412012-10-06 Chong Yidong <cyd@gnu.org>
1842
1843 * files.el (auto-mode-alist): Add .by and .wy (Semantic grammars).
1844
2b89bca4
KH
18452012-10-06 Ikumi Keita <ikumi@ikumi.que.jp> (tiny change)
1846
1847 * international/characters.el: Fix simple mistake ((car chars) ->
1848 elt), delete duplicated code.
1849
d5acb99a
GM
18502012-10-06 Glenn Morris <rgm@gnu.org>
1851
1852 * subr.el (read-passwd): Allow C-u to erase entry. (Bug#12570)
1853
123ec157
JS
18542012-10-06 Julian Scheid <julians37@gmail.com> (tiny change)
1855
1856 * color.el (color-hsl-to-rgb): Fix incorrect results for
1857 small and large hue values. (Bug#12559)
1858
7fa36ccb
FEG
18592012-10-05 Fabián Ezequiel Gallina <fgallina@cuca>
1860
1861 Enhancements to docstring formatting when filling paragraphs.
1862 * progmodes/python.el (python-fill-docstring-style): Rename from
1863 python-fill-string-style. Added new style.
1864 (python-fill-string): Use new style. Better checks for
1865 docstrings.
1866
d8788e1e
GM
18672012-10-05 Glenn Morris <rgm@gnu.org>
1868
204f3953
GM
1869 * net/newst-treeview.el (newsticker-group-move-feed): Doc fix.
1870
d8788e1e
GM
1871 * color.el (color-name-to-rgb, color-rgb-to-hex)
1872 (color-hue-to-rgb, color-hsl-to-rgb, color-rgb-to-hsv)
1873 (color-rgb-to-hsl, color-srgb-to-xyz, color-saturate-hsl)
1874 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
1875 (color-lighten-name, color-darken-hsl, color-darken-name): Doc fixes.
1876
8d956cef
GM
1877 * emacs-lisp/timer.el (with-timeout): Add missing progn. (Bug#12577)
1878
e8757f09 18792012-10-05 Juanma Barranquero <lekktu@gmail.com>
ea9a3563
JB
1880
1881 * ido.el (ido-directory-too-big-p): Pass dir through file-truename
1882 to get the correct size across symlinks.
1883
e8757f09
GM
1884 * ido.el (ido-buffer-disable-smart-matches): Fix typo in docstring.
1885
0e2ae83d
JL
18862012-10-04 Juri Linkov <juri@jurta.org>
1887
1888 * replace.el (query-replace-interactive): Declare obsolete.
1889 (query-replace-read-from): Add the last incremental search string
1890 to the list of default values accessible via M-n.
1891 (map-query-replace-regexp): Use `read-regexp'.
1892 (query-replace, query-replace-regexp, query-replace-regexp-eval)
1893 (map-query-replace-regexp, replace-string, replace-regexp):
1894 Fix docstrings to replace mentions of `query-replace-interactive'
1895 with alternatives. (Bug#12526)
1896
93cacb6d
JL
18972012-10-04 Juri Linkov <juri@jurta.org>
1898
1899 * dired.el (dired-shrink-to-fit): Declare obsolete. (Bug#1806)
1900 (dired-pop-to-buffer): Declare obsolete.
1901 (dired-mark-pop-up): Doc fix.
1902
fc345011
FEG
19032012-10-04 Fabián Ezequiel Gallina <fgallina@cuca>
1904
1905 Allow user to set docstring style for fill-paragraph.
1906 * progmodes/python.el
1907 (python-fill-comment-function, python-fill-string-function)
1908 (python-fill-decorator-function, python-fill-paren-function):
1909 Remove :safe for defcustoms.
1910 (python-fill-string-style): New defcustom
5694896d 1911 (python-fill-paragraph-function): Enhance context detection.
fc345011
FEG
1912 (python-fill-string): Honor python-fill-string-style settings.
1913
6bab5d8b
MR
19142012-10-04 Martin Rudalics <rudalics@gmx.at>
1915
1916 * emacs-lisp/edebug.el (edebug-pop-to-buffer): Select window
1917 after setting its buffer (Bug#10805).
1918
a1a9f411
FEG
19192012-10-03 Fabián Ezequiel Gallina <fgallina@cuca>
1920
1921 Fix cornercase for string syntax.
1922 * progmodes/python.el (python-syntax-propertize-function):
1923 Simplify and enhance the regexp for unescaped quotes. Now it also
1924 matches quotes in weird situations like the single quote in
1925 "something\"'".
1926 (python-syntax-stringify): Simplify num-quotes detecting code.
1927
05e153a6
GM
19282012-10-03 Glenn Morris <rgm@gnu.org>
1929
1930 * help-macro.el (three-step-help):
1931 Revert 2012-09-29 change. (Bug#12567)
1932
2e566ecb
MR
19332012-10-03 Martin Rudalics <rudalics@gmx.at>
1934
96ef9ccd
MR
1935 * menu-bar.el (kill-this-buffer): Don't do anything when
1936 `menu-frame' is not alive or visible (Bug#8184).
1937
2e566ecb
MR
1938 * emacs-lisp/debug.el (debug): When quitting the debugger window
1939 restore current buffer (Bug#12502).
1940
a96e1cb7
CY
19412012-10-02 Chong Yidong <cyd@gnu.org>
1942
5694896d
J
1943 * progmodes/hideif.el (hif-lookup, hif-defined):
1944 Handle semantic-c-takeover-hideif.
a96e1cb7 1945
b3ecad33
PE
19462012-10-02 Paul Eggert <eggert@cs.ucla.edu>
1947
1948 Change sampling interval units from ms to ns.
1949 * profiler.el (profiler-sampling-interval): Change units
1950 from ms to ns, multiplying the default by 1000000 so that
1951 it remains 1 ms.
1952 (profiler-report-cpu-line-format): Give enough room for
1953 the maximum counters on 64-bit hosts.
1954 (profiler-report-render-calltree-1): Call them "CPU samples",
1955 not "Time (ms)", since they are not milliseconds now (and
1956 never really were).
1957
8cb51b66 19582012-10-02 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
c623f81a 1959
5694896d
J
1960 * net/eudcb-bbdb.el (eudc-bbdb-format-record-as-result):
1961 Fix querying BBDB for entries without a last name (Bug#11580).
c623f81a 1962
fd795bf4
CY
19632012-10-02 Chong Yidong <cyd@gnu.org>
1964
1965 * emacs-lisp/eieio.el: Restore Version header.
1966
fe0a74f9
SM
19672012-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
1968
6be9197e
SM
1969 * vc/diff-mode.el (diff--auto-refine-data): New var.
1970 (diff-hunk): Use it to delay refinement.
1971 (diff-mode): Remove overlays when we turn off font-lock.
1972
18486139
SM
1973 * textmodes/table.el: Use lexical-binding, dolist, define-minor-mode.
1974 (table-initialize-table-fixed-width-mode)
1975 (table-set-table-fixed-width-mode): Remove functions.
1976 (table-command-list): Move initialization into declaration.
1977 (table--tweak-menu-for-xemacs): Move defun outside mapcar.
1978 (table-with-cache-buffer): Use `declare'.
1979 (table-span-cell): Simplify via CSE.
1980 (table-fixed-width-mode): Use define-minor-mode.
1981 (table-call-interactively, table-funcall, table-apply): Remove.
1982 (table-function): New function, to replace them.
1983
d83ef976
SM
1984 * bookmark.el (bookmark-search-pattern): Remove var.
1985 (bookmark-read-search-input): Remove function.
1986 (bookmark-bmenu-search): Reimplement using a minibuffer.
1987
cd386662
SM
1988 * faces.el (modeline): Remove obsolete face name.
1989
fe0a74f9
SM
1990 * vc/add-log.el (add-log-buffer-file-name-function): Demote to defvar
1991 and give a non-nil default value.
1992 (add-change-log-entry): Simplify accordingly.
1993
9f7b98f8
DG
19942012-10-01 Dmitry Gutov <dgutov@yandex.ru>
1995
1996 * vc/vc-git.el (vc-git-log-edit-toggle-signoff): New function.
1997 (vc-git-log-edit-toggle-amend): New function.
1998 (vc-git-log-edit-toggle-signoff): New function.
1999 (vc-git-log-edit-mode): New major mode.
2000 (vc-git-log-edit-mode-map): Keymap for it.
2001 (vc-git-checkin): Handle "Amend" and "Sign-Off" headers.
2002
2003 * vc/log-edit.el (log-edit-font-lock-keywords): Allow hyphens in
2004 header names.
2005 (log-edit-toggle-header): New function.
2006 (log-edit-extract-headers): Accept function values in HEADERS alist.
2007
62a81506
CY
20082012-10-01 David Engster <deng@randomsample.de>
2009
2010 * emacs-lisp/eieio-opt.el (eieio-describe-class): Add filename
2011 from symbol property and change message to be more consistent with
2012 Emacs proper.
2013 (eieio-describe-generic): Add filename for each implementation.
2014 Fix indices for generic and normal methods.
2015 (eieio-method-def, eieio-class-def): New buttons.
2016 (eieio-help-find-method-definition)
2017 (eieio-help-find-class-definition): New functions.
2018 (eieio-help-mode-augmentation-maybee): Add buttons to filenames of
2019 class, constructor and method definitions.
2020
2021 * emacs-lisp/eieio.el (eieiomt-add, eieio-defclass): Save file
2022 information in symbol property.
2023 (scoped-class): Remove.
2024 (eieio-slot-name-index, call-next-method): Check if it is bound.
2025
20262012-10-01 Leo P. White <lpw25@cam.ac.uk>
2027
2028 * emacs-lisp/eieio-custom.el (eieio-custom-mode-map): New option.
2029 (eieio-custom-mode): New major mode.
2030 (eieio-customize-object): Use it.
2031
20322012-10-01 Eric Ludlam <zappo@gnu.org>
2033
2034 * emacs-lisp/eieio-base.el (eieio-persistent-read): New input args
2035 specifying the expected class, and whether subclassing is allowed.
2036 (eieio-persistent-convert-list-to-object):
1f9f395d
JB
2037 (eieio-persistent-validate/fix-slot-value)
2038 (eieio-persistent-slot-type-is-class-p): New functions.
2039 (eieio-named::slot-missing): Doc fix.
62a81506
CY
2040
2041 * emacs-lisp/eieio-datadebug.el (data-debug/eieio-insert-slots):
2042 Stop using unused publd variable.
2043
2044 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
2045 (eieio-speedbar-description, eieio-speedbar-derive-line-path)
2046 (eieio-speedbar-object-buttonname, eieio-speedbar-make-tag-line)
2047 (eieio-speedbar-handle-click): Do not specify a class for the
2048 method. Fixes method invocation order problems with EDE.
2049
375e49d4
SM
20502012-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
2051
2052 * emacs-lisp/bytecomp.el (byte-compiler-abbreviate-file): New function.
2053 (byte-compile-warning-prefix, byte-compile-file): Use it (bug#12508).
2054
16ce6ccd
KF
20552012-10-01 Karl Fogel <kfogel@red-bean.com>
2056
2057 * bookmark.el (bookmark-version-control): Give tags in the
2058 :type choices (Bug#12309), and improve doc string.
e4c4abdd
KF
2059 (bookmark-write-file): Bind `print-circle' to `t' to allow
2060 circular custom bookmark types. (Bug#12503)
16ce6ccd 2061
19e54a4d
PE
20622012-10-01 Paul Eggert <eggert@cs.ucla.edu>
2063
86ec63ba
PE
2064 Revert the FOLLOW-SYMLINKS change for file-attributes.
2065 * files.el (remote-file-name-inhibit-cache, after-find-file):
2066 * time.el (display-time-file-nonempty-p): Undo last change.
2067
19e54a4d
PE
2068 * profiler.el (profiler-sampling-interval): Change default back to 1.
2069 See Stefan Monnier in
2070 <http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00863.html>.
2071
0478776b
FEG
20722012-10-01 Fabián Ezequiel Gallina <fgallina@cuca>
2073
2074 Shell output catching a la gud-gdb.
2075 * progmodes/python.el (python-shell-fetch-lines-in-progress)
375e49d4
SM
2076 (python-shell-fetch-lines-string, python-shell-fetched-lines):
2077 New Vars.
0478776b
FEG
2078 (python-shell-fetch-lines-filter): New function.
2079 (python-shell-send-string-no-output): Use them.
2080
c22bac2c
TM
20812012-09-30 Tomohiro Matsuyama <tomo@cx4a.org>
2082
2083 * profiler.el (profiler-sampling-interval): Rename from
2084 profiler-sample-interval.
2085 (profiler-sampling-interval): Default to 10.
2086 (profiler-find-profile): New command (was profiler-find-log).
2087 (profiler-find-profile-other-window): New command.
2088 (profiler-find-profile-other-frame): New command.
2089 (profiler-profile): Introduce API-level data structure.
2090
e7a2937b
PE
20912012-09-30 Paul Eggert <eggert@cs.ucla.edu>
2092
2093 file-attributes has a new optional arg FOLLOW-SYMLINKS.
2094 * files.el (remote-file-name-inhibit-cache):
2095 * time.el (display-time-file-nonempty-p): Use it.
2096 * files.el (after-find-file): Don't chase links before calling
2097 file-exists-p, as file-exists-p already does the right thing.
2098
4f595e15
RA
20992012-09-30 Ralf Angeli <angeli@caeruleus.net>
2100
2101 Merge from standalone RefTeX repository.
2102
2103 The following ChangeLog entries are shortened versions of the
2104 original ones with file paths adapted. A not so strongly edited
2105 version of the original ChangeLog can be found in the commit log.
2106
2107 * textmodes/reftex-auc.el: Move `provide' call to bottom of file.
375e49d4
SM
2108 (reftex-arg-cite): Use `reftex-cite-key-separator'.
2109 Correctly handle new value type returned by `reftex-citation'.
4f595e15
RA
2110
2111 * textmodes/reftex-cite.el (reftex-create-bibtex-file): Make sure
375e49d4
SM
2112 that entries with whitespace at various places are found.
2113 Doc fix. Include entries that are cross-referenced from cited entries.
4f595e15
RA
2114 Include @String definitions in the resulting bib file. Add header
2115 and footer defined in `reftex-create-bibtex-header' and
2116 `reftex-create-bibtex-footer'.
2117 (reftex-do-citation): Make it possible again to insert
2118 non-existent entries. Save match data when asking for optional
2119 arguments. Return all keys, not just the first one.
2120 (reftex-all-used-citation-keys): Fix regexp to correctly extract
2121 all citations in the same line.
2122 (reftex-parse-bibtex-entry): Accept additional optional argument
2123 `raw' and keep quotes or braces if it is non-nil. Match fields
2124 containing hyphens besides word constituents.
2125 (reftex-get-string-refs): New function.
2126 (reftex-extract-bib-entries): Check if BibTeX file changed on disk
2127 and ask if it should be reread in case it did.
2128 (reftex-pop-to-bibtex-entry)
2129 (reftex-extract-bib-entries-from-thebibliography): Match \bibitem
2130 entries with spaces or tabs in front of arguments.
2131 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
375e49d4
SM
2132 (reftex-parse-bibtex-entry, reftex-create-bibtex-file):
2133 Match entries containing numbers and symbol constituents.
2134 (reftex-do-citation, reftex-figure-out-cite-format):
2135 Use `reftex-cite-key-separator'.
4f595e15
RA
2136
2137 * textmodes/reftex-dcr.el: Move provide statement to end of file.
2138 (reftex-mouse-view-crossref): Explain why point is set.
2139
2140 * textmodes/reftex-global.el: Whitespace changes.
2141
2142 * textmodes/reftex-index.el: Move provide statement to end of
2143 file.
2144 (reftex-index-selection-or-word): Use `reftex-region-active-p'.
2145 (reftex-index-visit-phrases-buffer): Set marker when visiting
2146 buffer. This allows for returning from the phrases file to the
2147 file one was just editing instead of the file where the last
2148 phrases was added from.
2149 (reftex-index-phrases-syntax-table): New variable. Give ?\"
2150 punctuation syntax as it usually is not used as string quote in
2151 TeX-related modes and may occur unmatched. The change also
2152 prevents fontification of quoted content.
2153 (reftex-index-phrases-mode): Use it.
2154
375e49d4
SM
2155 * textmodes/reftex-parse.el (reftex-parse-from-file):
2156 Move backward one char if a `\' was matched after a section macro.
4f595e15
RA
2157 (reftex-parse-from-file): Use beginning of match instead of end as
2158 bound.
2159
2160 * textmodes/reftex-ref.el: Adapt creation of
2161 `reftex-<package>-<macro>' functions to new structure of
2162 `reftex-ref-style-alist'.
375e49d4
SM
2163 (reftex-reference): Use `reftex-ref-style-list' function.
2164 Adapt to new structure of `reftex-ref-style-alist'. Prompt for a
4f595e15
RA
2165 reference macro if `reftex-ref-macro-prompt' is non-nil.
2166 (reftex-reference): Pass refstyle to `reftex-format-special'.
2167 Determine reference macro by looking at
375e49d4
SM
2168 `reftex-ref-style-default-list' and `reftex-ref-style-alist'.
2169 Use only one special format function.
4f595e15
RA
2170 (reftex-varioref-vref, reftex-fancyref-fref)
2171 (reftex-fancyref-Fref): Remove definitions. The functions are now
2172 generated from `reftex-ref-style-alist'.
2173 (reftex-format-vref, reftex-format-Fref, reftex-format-fref):
2174 Remove.
2175 (reftex-format-special): New function.
2176
2177 * textmodes/reftex-sel.el
2178 (reftex-select-cycle-ref-style-internal): Adapt to new structure
2179 of `reftex-ref-style-alist'. Remove code for testing macro type.
2180 (reftex-select-toggle-varioref)
2181 (reftex-select-toggle-fancyref): Remove.
2182 (reftex-select-cycle-ref-style-internal)
2183 (reftex-select-cycle-ref-style-forward)
2184 (reftex-select-cycle-ref-style-backward): New functions.
2185 (reftex-select-label-map): Use `v' and `V' for general cycling
2186 through reference styles. Add `p' for switching between number
2187 and page reference types.
2188
375e49d4
SM
2189 * textmodes/reftex-toc.el (reftex-re-enlarge):
2190 Call `enlarge-window' only if there is something to do because in Emacs
4f595e15
RA
2191 the horizontal version throws an error even if the parameter is 0.
2192
2193 * textmodes/reftex-vars.el (reftex-label-alist): Doc fix.
2194 (reftex-plug-into-AUCTeX): Doc fix.
2195 (reftex-vref-is-default, reftex-fref-is-default): Adapt doc
2196 string. Adapt to new name.
2197 (reftex-ref-style-alist): Change structure so that it is not
2198 possible to use multiple different package names within a style.
375e49d4
SM
2199 Remove the symbols for symbols for macro type distinction.
2200 Add characters for macro selection.
4f595e15
RA
2201 (reftex-ref-macro-prompt, reftex-create-bibtex-header)
2202 (reftex-create-bibtex-footer): New variables.
2203 (reftex-format-ref-function): Mention third argument of special
2204 format function.
375e49d4
SM
2205 (reftex-ref-style-alist, reftex-ref-style-default-list):
2206 New variables.
4f595e15
RA
2207 (reftex-vref-is-default, reftex-fref-is-default): Adapt doc string
2208 to new implementation. Mark as obsolete. Add compatibility code
2209 for honoring the variable values in case they are set.
375e49d4
SM
2210 (reftex-cite-format-builtin, reftex-bibliography-commands):
2211 Add support for ConTeXt.
2212 (reftex-format-ref-function, reftex-format-cite-function):
2213 Fix custom type.
4f595e15
RA
2214 (reftex-cite-key-separator): New variable.
2215
2216 * textmodes/reftex.el (reftex-syntax-table-for-bib)
2217 (reftex-mode): Do not derive `reftex-syntax-table-for-bib' from
2218 `reftex-syntax-table' because parens have to retain their paren
2219 syntax in order for parsing of BibTeX entries like @book(...) to
2220 work.
2221 (reftex-in-comment): Do not error out if `comment-start-skip' is
2222 not set. Deal correctly with escaped comment characters.
375e49d4
SM
2223 (reftex-tie-multifile-symbols): Add doc string.
2224 Initialize `reftex-ref-style-list'.
4f595e15
RA
2225 (reftex-untie-multifile-symbols): Add doc string.
2226 (reftex-add-index-macros): Doc fix.
2227 (reftex-ref-style-activate, reftex-ref-style-toggle)
2228 (reftex-ref-style-list): New functions.
2229 (reftex-mode-menu): Use them. Adapt to new structure of
2230 `reftex-ref-style-alist'.
2231 (reftex-select-with-char): Kill the RefTeX Select buffer when
2232 done.
2233 (reftex-remove-if): New function.
2234 (reftex-erase-all-selection-and-index-buffers)
2235 (reftex-mode-menu): Reference styles are now computed from
2236 `reftex-ref-style-alist'. Fix typo.
2237 (reftex-report-bug): New function.
2238 (reftex-uniquify, reftex-uniquify-by-car): Replace O(n^2)
2239 algorithms with O(n log n). Introduce optional argument SORT (not
2240 yet used).
2241
440ba395
FEG
22422012-09-30 Fabián Ezequiel Gallina <fgallina@cuca>
2243
2244 Enhancements for triple-quote string syntax.
375e49d4
SM
2245 * progmodes/python.el (python-syntax-propertize-function):
2246 Match both quote cases in one regexp.
440ba395
FEG
2247 (python-syntax-stringify): Handle matches properly.
2248
4c478e6b
JL
22492012-09-30 Juri Linkov <juri@jurta.org>
2250
2251 * arc-mode.el (archive-summarize): Let-bind `buffer-file-truename'
93cacb6d 2252 to nil around the call to `insert' to prevent
4c478e6b
JL
2253 directory time modification by lock_file. (Bug#2295)
2254 * tar-mode.el (tar-summarize-buffer): Idem.
2255
d80d54b2
JL
22562012-09-30 Juri Linkov <juri@jurta.org>
2257
2258 * facemenu.el (list-colors-sort): Add option "Luminance".
2259 (list-colors-sort-key): Implement it.
2260
2261 * vc/diff-mode.el (diff-refine-removed):
2262 * vc/ediff-init.el (ediff-fine-diff-A):
2263 * vc/smerge-mode.el (smerge-refined-removed):
2264 Change background color "#ffaaaa" to "#ffbbbb". (Bug#10181)
2265
d7e642cc
JD
22662012-09-30 Jan Djärv <jan.h.d@swipnet.se>
2267
2268 * term/ns-win.el (x-file-dialog): New function.
2269
ee41332b
JB
22702012-09-30 Juanma Barranquero <lekktu@gmail.com>
2271
2272 * ido.el (ido-max-directory-size): Default to nil; the current
2273 default is small for POSIX systems, and impractical on Windows 7
2274 now that lstat returns directory sizes for NTFS.
2275
5938d519
MR
22762012-09-30 Martin Rudalics <rudalics@gmx.at>
2277
2278 In buffer display functions handle window-height/window-width
2279 alist entries. Suggested by Juri Linkov as fix for Bug#1806.
375e49d4
SM
2280 * window.el (window--display-buffer): New argument ALIST.
2281 Obey window-height and window-width alist entries.
2282 (window--try-to-split-window): New argument ALIST.
2283 Bind window-combination-limit to t when the window's size shall be
5938d519
MR
2284 changed and window-combination-limit equals `window-size'.
2285 (display-buffer-in-atom-window)
2286 (display-buffer-in-major-side-window)
2287 (display-buffer-in-side-window, display-buffer-same-window)
2288 (display-buffer-reuse-window, display-buffer-pop-up-frame)
2289 (display-buffer-pop-up-window, display-buffer-below-selected)
2290 (display-buffer-at-bottom, display-buffer-in-previous-window)
2291 (display-buffer-use-some-window): Adjust all callers of
2292 window--display-buffer and window--try-to-split-window.
2293 (fit-frame-to-buffer): New option.
2294 (fit-window-to-buffer): Can resize frames if fit-frame-to-buffer
2295 is non-nil.
2296 (display-buffer-in-major-side-window): Evaluate window-height /
2297 window-width alist entries.
2298
2299 * help.el (temp-buffer-resize-frames)
2300 (temp-buffer-resize-regexps): Remove options.
2301 (temp-buffer-resize-mode): Adjust doc-string.
2302 (resize-temp-buffer-window): Don't consult
2303 temp-buffer-resize-regexps. Use fit-frame-to-buffer instead of
2304 temp-buffer-resize-frames.
2305
375e49d4
SM
2306 * dired.el (dired-mark-pop-up):
2307 Call display-buffer-below-selected with a fit-window-to-buffer alist
5938d519
MR
2308 entry.
2309
c4c0c2df
CY
23102012-09-30 Chong Yidong <cyd@gnu.org>
2311
48de8b12
CY
2312 * server.el (server-host): Document the security implications.
2313 (server-auth-key): Doc fix.
2314
2315 * startup.el (initial-buffer-choice): Doc fix.
2316
2317 * minibuffer.el (minibuffer-local-filename-syntax): Doc fix.
2318
a97dc380
CY
2319 * simple.el (delete-trailing-whitespace): Avoid an unnecessary
2320 restriction change.
2321
d39d3c8e
CY
2322 * bindings.el (goto-map): Bind M-g TAB to move-to-column.
2323
c4c0c2df
CY
2324 * help-fns.el (help-fns--obsolete): Fix last change.
2325
98a5e33b
SM
23262012-09-30 Stefan Monnier <monnier@iro.umontreal.ca>
2327
34cf6f39
SM
2328 * winner.el (winner-mode-map): Obey winner-dont-bind-my-keys here.
2329 (minor-mode-map-alist): Remove redundant code.
2330
e01c13fe
SM
2331 * vc/pcvs.el (cvs-cleanup-collection): Keep entries that are currently
2332 visited in a buffer.
2333 (cvs-insert-visited-file): New function.
2334 (find-file-hook): Use it.
2335
2336 * vc/pcvs-info.el (cvs-fileinfo-pp): Don't use non-existent faces.
2337
02661b3a
SM
2338 * vc/log-edit.el (log-edit-font-lock-keywords): Ignore case to
2339 chose face.
2340 (log-edit-empty-buffer-p): Don't require a space after a header.
2341
43711d4b
SM
2342 * vc/ediff-util.el (ediff-diff-at-point): Don't assume point-min==1.
2343
38a30d64
SM
2344 * tutorial.el (help-with-tutorial): Use minibuffer-with-setup-hook.
2345
4ffb41a9
SM
2346 * textmodes/text-mode.el (paragraph-indent-minor-mode): Make it
2347 a proper minor-mode.
2348
98a5e33b
SM
2349 * textmodes/tex-mode.el (tex-mode-map): Don't bind paren keys.
2350
de82e29b
GM
23512012-09-29 Glenn Morris <rgm@gnu.org>
2352
5cc2e639
GM
2353 * winner.el (winner-mode): Remove variable (let define-minor-mode
2354 handle it).
2355 (winner-dont-bind-my-keys, winner-boring-buffers, winner-mode-hook):
2356 Doc fixes.
2357 (winner-mode-leave-hook): Rename to winner-mode-off-hook.
2358 (winner-mode): Use define-minor-mode.
2359
7bd302eb
GM
2360 * vc/vc-sccs.el (vc-sccs-registered): Use the progn trick to get
2361 the full definition in loaddefs, rather than duplicating it.
2362
2923922f 2363 * help-macro.el (three-step-help): No need to autoload defcustom.
ced08382 2364
0e3e4156
GM
2365 * progmodes/inf-lisp.el (inferior-lisp-filter-regexp)
2366 (inferior-lisp-program, inferior-lisp-load-command)
2367 (inferior-lisp-prompt, inferior-lisp-mode-hook):
2923922f 2368 No need to autoload defcustoms.
0e3e4156 2369
de82e29b
GM
2370 * hippie-exp.el (hippie-expand-try-functions-list)
2371 (hippie-expand-verbose, hippie-expand-dabbrev-skip-space)
2372 (hippie-expand-dabbrev-as-symbol, hippie-expand-no-restriction)
2373 (hippie-expand-max-buffers, hippie-expand-ignore-buffers)
2923922f 2374 (hippie-expand-only-buffers): No need to autoload defcustoms.
de82e29b
GM
2375 * progmodes/vhdl-mode.el (vhdl-line-expand):
2376 Explicitly load hippie-exp, so it does not get autoloaded
2377 while hippie-expand-try-functions-list is let-bound.
2378
e60b51ab
GM
23792012-09-28 Glenn Morris <rgm@gnu.org>
2380
277f0cfa
GM
2381 * emacs-lisp/cl.el (flet): Fix case of obsolescence message.
2382
e60b51ab
GM
2383 * emacs-lisp/bytecomp.el (byte-compile-cl-file-p):
2384 Only "cl.el" counts as cl these days.
2385
53baf48a
JL
23862012-09-28 Juri Linkov <juri@jurta.org>
2387
2388 Display archive errors in the echo area instead of inserting
2389 to the file buffer.
2390
2391 * arc-mode.el (archive-extract-by-stdout): Change arg STDERR-FILE
2392 to STDERR-TEST that can be a regexp matching a successful output.
2393 Create a temporary file and redirect stderr to it. Search for
2394 STDERR-TEST in the stderr output and display it in the echo area
2395 if no match is found.
2396 (archive-extract-by-file): New function like
2397 `archive-extract-by-stdout' but extracting archives to files
2398 and looking for successful matches in stdout. Function body is
2399 mostly copied from `archive-rar-extract'.
2400 (archive-rar-extract): Use `archive-extract-by-file'.
2401 (archive-7z-extract): Use `archive-extract-by-stdout'. (Bug#10347)
2402
9c1228c3
LL
24032012-09-28 Leo Liu <sdl.web@gmail.com>
2404
375e49d4
SM
2405 * pcomplete.el (pcomplete-show-completions):
2406 Use minibuffer-message to make pcomplete usable in minibuffer.
147c0425 2407
9c1228c3
LL
2408 * ido.el (ido-set-matches-1): Fix 2012-09-11 change.
2409
7f457c06
SM
24102012-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
2411
3df749b0
SM
2412 * type-break.el: Use lexical-binding.
2413 (type-break-mode): Use define-minor-mode.
2414
7f457c06
SM
2415 * emacs-lisp/pcase.el (pcase--mark-used): New.
2416 (pcase--u1): Use it (bug#12512).
2417
2418 * custom.el (load-theme): Set buffer-file-name so the load is recorded
2419 in load-history with the right file name.
2420
c00ebc98
TH
24212012-09-28 Tassilo Horn <tsdh@gnu.org>
2422
2423 * doc-view.el (doc-view-current-cache-doc-pdf): New function.
2424 (doc-view-doc->txt, doc-view-convert-current-doc): Use it.
2425 (doc-view-get-bounding-box): Make bounding box slicing work for
2426 ODF and DVI documents.
2427
96fb7170
GM
24282012-09-28 Glenn Morris <rgm@gnu.org>
2429
2430 * type-break.el (type-break-mode, type-break-interval)
2431 (type-break-good-rest-interval, type-break-keystroke-threshold):
2432 No need to autoload.
2433 (type-break-good-rest-interval, type-break-keystroke-threshold):
2434 Add :set-after.
2435
5bc93c67
CY
24362012-09-28 Chong Yidong <cyd@gnu.org>
2437
2438 * progmodes/verilog-mode.el (verilog-auto-inst-interfaced-ports):
2439 Add :version tag.
2440
9cad61d6
SM
24412012-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
2442
e28e67b3 2443 * json.el (json-encode-char): Codes 127-160 aren't "ASCII printable".
9cad61d6 2444
daee954c
GM
24452012-09-27 Glenn Morris <rgm@gnu.org>
2446
a88324d4
GM
2447 * faces.el (x-display-name): Declare (for without-x builds).
2448
8e5064e5
GM
2449 * linum.el (linum-format): Don't autoload it. Improve :type.
2450
cc1783c2
GM
2451 * progmodes/tcl.el: Don't require outline when compiling.
2452 (outline-regexp, outline-level): Declare.
1dddcf4c
GM
2453 * textmodes/sgml-mode.el: Don't require outline when compiling.
2454 (outline-regexp, outline-heading-end-regexp, outline-level): Declare.
2455
48c339f2
GM
2456 * term.el (term-ansi-reset):
2457 Try setting term-ansi-face-already-done to nil. (Bug#11785)
2458
daee954c
GM
2459 * vc/vc.el (vc-next-action): Only gripe about committing read-only
2460 files for RCS and SCCS. (Bug#9781)
2461
b7f42161
CY
24622012-09-27 Chong Yidong <cyd@gnu.org>
2463
2464 * progmodes/verilog-mode.el (verilog-mode-release-emacs): Fix last
2465 change; value should be t.
2466
a2e770db
SM
24672012-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
2468
83600dc8
SM
2469 * image-mode.el: Use lexical-binding.
2470 (image-mode-winprops): Use t to stand for the window of
2471 a buffer that's not displayed.
2472 * doc-view.el (doc-view-new-window-function): Handle the new
2473 t in winprops.
2474 (doc-view-enlarge): Make it a real nop if the size is not changed.
2475 (doc-view-display): Handle the case where the buffer is not (yet?)
2476 displayed in any window.
2477 (doc-view-saved-settings): New var.
2478 (doc-view-mode): Use it.
2479 (doc-view-fallback-mode): Set it.
2480
a2e770db
SM
2481 * minibuf-eldef.el: Make it possible to replace (default ...) with [...].
2482 Set lexical-binding.
2483 (minibuffer-eldef-shorten-default): New var.
2484 (minibuffer-default-in-prompt-regexps): Use it for new default.
2485 (minibuf-eldef-setup-minibuffer): Add replacement functionality.
2486
e3b60857
JB
24872012-09-26 Juanma Barranquero <lekktu@gmail.com>
2488
2489 * international/uni-bidi.el:
2490 * international/uni-category.el:
2491 * international/uni-name.el:
2492 * international/uni-numeric.el: Regenerate.
2493
3a880af4
SM
24942012-09-26 Tomohiro Matsuyama <tomo@cx4a.org>
2495 Stefan Monnier <monnier@iro.umontreal.ca>
2496
2497 * profiler.el: New file.
2498
07b1a5fb
SM
24992012-09-26 Stefan Monnier <monnier@iro.umontreal.ca>
2500
2501 * emacs-lisp/testcover.el (testcover-after): Add gv-expander.
2502 (testcover-reinstrument): Simplify with CSE.
2503
42019c2e
JB
25042012-09-26 Juanma Barranquero <lekktu@gmail.com>
2505
2506 * window.el (temp-buffer-window-setup): Fix typo in docstring.
2507
179f044b
WS
25082012-09-25 Wilson Snyder <wsnyder@wsnyder.org>
2509
2510 * verilog-mode.el (verilog-auto-ascii-enum, verilog-auto-inout)
2511 (verilog-auto-input, verilog-auto-insert-lisp)
2512 (verilog-auto-output, verilog-auto-output-every, verilog-auto-reg)
2513 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-undef)
2514 (verilog-auto-unused, verilog-auto-wire)
2515 (verilog-forward-or-insert-line): Fix AUTOs with no trailing
2516 newline. Reported by Andrew Jones.
2517 (verilog-auto-inst) Support expanding $clog2 in AUTOINST.
2518 Reported by Brad Dobbie.
07b1a5fb
SM
2519 (verilog-batch-delete-trailing-whitespace):
2520 Create verilog-batch-delete-trailing-whitespace.
2521 Reported by Brad Dobbie.
179f044b
WS
2522 (verilog-auto-inout-param): Support AUTOINOUTPARAM for copying
2523 parameters from another module. Reported by Dan Katz.
2524 (verilog-auto, verilog-auto-assign-modport)
2525 (verilog-auto-inout-modport): Add AUTOASSIGNMODPORT and
2526 AUTOINOUTMODPORT for UVM interface module shell generation.
2527 Reported by Brad Dobbie.
2528 (verilog-auto-inst-interfaced-ports): Make default nil, as more
2529 standard behavior.
2530 (verilog-auto): Fix AUTO parameters with parenthesis arguments.
2531 Reported by Matt Martin.
2532
9c52dd5a
MR
25332012-09-25 Martin Rudalics <rudalics@gmx.at>
2534
2535 * window.el (window--resize-child-windows): When resizing child
2536 windows proportionally, process them in reverse order to
2537 preserve the "when splitting a window the new one gets the odd
2538 line" behavior.
2539 (window--resize-root-window-vertically): When resizing the
2540 minibuffer window try to affect only windows at the bottom of the
2541 frame. (Bug#12419)
2542
863666eb
CY
25432012-09-25 Chong Yidong <cyd@gnu.org>
2544
2545 * subr.el (declare): Doc fix.
2546
2547 * help-fns.el (help-fns--obsolete): Handle macros properly.
2548
59f7af81
CY
25492012-09-25 Chong Yidong <cyd@gnu.org>
2550
2551 * bookmark.el (bookmark-jump-noselect): Use a declare form to mark
2552 this function obsolete.
2553
2554 * calendar/cal-x.el (calendar-two-frame-setup)
2555 (calendar-only-one-frame-setup, calendar-one-frame-setup):
2556 * calendar/calendar.el (american-calendar, european-calendar)
2557 (calendar-for-loop):
2558 * comint.el (comint-dynamic-simple-complete)
2559 (comint-dynamic-complete-as-filename, comint-unquote-filename):
2560 * desktop.el (desktop-load-default):
2561 * dired-x.el (dired-omit-here-always)
2562 (dired-hack-local-variables, dired-default-directory):
2563 * emacs-lisp/derived.el (derived-mode-class):
2564 * emacs-lisp/timer.el (timer-set-time-with-usecs):
2565 * emacs-lock.el (toggle-emacs-lock):
2566 * epa.el (epa-display-verify-result):
2567 * epg.el (epg-sign-keys, epg-start-sign-keys)
2568 (epg-passphrase-callback-function):
2569 * eshell/esh-util.el (eshell-for):
2570 * eshell/eshell.el (eshell-remove-from-window-buffer-names)
2571 (eshell-add-to-window-buffer-names):
2572 * files.el (locate-file-completion):
2573 * imenu.el (imenu-example--create-c-index)
2574 (imenu-example--create-lisp-index)
2575 (imenu-example--lisp-extract-index-name)
2576 (imenu-example--name-and-position):
2577 * international/mule-cmds.el (princ-list):
2578 * international/mule-diag.el (decode-codepage-char):
2579 * international/mule-util.el (detect-coding-with-priority):
2580 * iswitchb.el (iswitchb-read-buffer):
2581 * mail/mailalias.el (mail-complete):
2582 * mail/sendmail.el (mail-sent-via):
2583 * mouse.el (mouse-popup-menubar-stuff, mouse-popup-menubar)
2584 (mouse-major-mode-menu):
2585 * password-cache.el (password-read-and-add):
2586 * pcomplete.el (pcomplete-parse-comint-arguments):
2587 * progmodes/sh-script.el (sh-maybe-here-document):
2588 * replace.el (query-replace-regexp-eval):
2589 * savehist.el (savehist-load):
2590 * simple.el (choose-completion-delete-max-match):
2591 * term.el (term-dynamic-simple-complete):
2592 * vc/ediff-init.el (ediff-check-version):
2593 * vc/ediff-wind.el (ediff-choose-window-setup-function-automatically):
2594 * vc/vc.el (vc-diff-switches-list):
2595 * view.el (view-return-to-alist-update): Likewise.
2596
2597 * subr.el (eval-next-after-load, makehash, insert-string)
2598 (assoc-ignore-representation, assoc-ignore-case): Use declare to
2599 mark obsolete.
2600 (mode-line-inverse-video): Variable deleted.
2601
2602 * international/mule-util.el (string-to-sequence): Remove.
2603
2604 * calendar/calendar.el (calendar-version):
2605 * calendar/icalendar.el (icalendar-extract-ical-from-buffer)
2606 (icalendar-convert-diary-to-ical):
2607 * cus-edit.el (custom-mode):
2608 * ansi-color.el (ansi-color-unfontify-region):
2609 * international/latin1-disp.el (latin1-char-displayable-p):
2610 * progmodes/cwarn.el (turn-on-cwarn-mode):
07b1a5fb
SM
2611 * progmodes/which-func.el (which-func-update-1):
2612 Use define-obsolete-function-alias.
59f7af81
CY
2613
2614 * net/newst-backend.el (newsticker-cache-filename):
07b1a5fb
SM
2615 * net/newst-treeview.el (newsticker-groups-filename):
2616 Fix incorrect obsolescence declaration.
59f7af81
CY
2617
2618 * allout.el (allout-passphrase-hint-string): Likewise.
2619 (allout-init): Use a declare form to mark obsolete.
2620
2621 * emacs-lisp/byte-run.el (make-obsolete): Doc fix; emphasize that
2622 this applies to functions.
2623
2624 * iswitchb.el (iswitchb-read-buffer): Move code of
2625 iswitchb-define-mode-map here, and delete that obsolete function.
2626
2627 * net/snmp-mode.el (snmp-font-lock-keywords-3): Don't use obsolete
2628 font-lock-reference-face.
2629
cca96c97
GM
26302012-09-25 Glenn Morris <rgm@gnu.org>
2631
b06eeda8
GM
2632 * buff-menu.el (Buffer-menu-name-width, Buffer-menu-size-width):
2633 Doc fixes.
2634
cca96c97
GM
2635 * eshell/em-term.el (eshell-term-name):
2636 Default to term-term-name. (Bug#12485)
2637
dc4f818b
FEG
26382012-09-24 Fabián Ezequiel Gallina <fgallina@cuca>
2639
cca96c97
GM
2640 * progmodes/python.el (python-shell-send-buffer): Better handling
2641 of "if __name__ == '__main__':" conditionals when sending the buffer.
dc4f818b 2642
289c24bd
GM
26432012-09-24 Glenn Morris <rgm@gnu.org>
2644
2645 * eshell/esh-cmd.el (eshell-find-alias-function):
2646 Tighten up file-name regexp. (Bug#12499)
2647
8fb8b88f
FEG
26482012-09-24 Fabián Ezequiel Gallina <fgallina@cuca>
2649
2650 Enhancements for triple-quote string syntax.
2651 * progmodes/python.el (python-quote-syntax): Remove.
2652 (python-syntax-propertize-function): New value.
07b1a5fb
SM
2653 (python-syntax-count-quotes, python-syntax-stringify):
2654 New functions.
8fb8b88f 2655
6c27f0f8
CY
26562012-09-24 Chong Yidong <cyd@gnu.org>
2657
a5f2b6ec
CY
2658 * mail/supercite.el (sc-version): Remove obsolete function.
2659 (sc-describe): Don't mark as obsolete, since it is bound.
2660 (sc-submit-bug-report): Remove.
2661
2662 * vc/log-edit.el (cvs-changelog-full-paragraphs)
2663 (cvs-commit-buffer-require-final-newline): Remove.
0c765e5f
CY
2664 (log-edit-require-final-newline)
2665 (log-edit-changelog-full-paragraphs): Default to t.
a5f2b6ec
CY
2666
2667 * vc/pcvs-defs.el (cvs-diff-buffer-name, cvs-diff-ignore-marks)
2668 * vc/vc-hooks.el (vc-ignore-vc-files, vc-master-templates)
2669 * vc/vc.el (vc-checkout-carefully): Likewise.
2670
2671 * vc/emerge.el (emerge-mode): Make it an obsolete alias.
2672 (emerge-version): Remove.
2673
2674 * progmodes/compile.el (compile-internal): Remove.
2675 (compilation-parse-errors-function): Fix typo.
2676
2677 * international/mule.el (set-char-table-default): Remove.
2678 (set-coding-priority, make-coding-system, generic-char-p)
2679 (charset-list, charset-bytes, charset-id): Use declare to mark
2680 functions as obsolete.
2681
2682 * vc/pcvs-defs.el (cvs-buffer-name-alist)
2683 (cvs-invert-ignore-marks): Remove references to obsolete vars.
2684 * vc/vc-hooks.el (vc-default-registered): Don't use
2685 vc-master-templates.
2686
07b1a5fb
SM
2687 * font-lock.el (font-lock-reference-face):
2688 Use define-obsolete-variable-alias.
6c27f0f8
CY
2689
2690 * generic-x.el (rul-generic-mode): Use font-lock-constant-face.
2691 * calendar/calendar.el (calendar-font-lock-keywords):
2692 * calendar/diary-lib.el (diary-font-lock-keywords)
2693 (diary-fancy-font-lock-keywords):
2694 * textmodes/reftex-sel.el (reftex-insert-docstruct):
2695 * textmodes/reftex-index.el (reftex-insert-index):
2696 * textmodes/reftex-cite.el (reftex-format-bib-entry):
2697 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
2698 * progmodes/ps-mode.el (ps-mode-font-lock-keywords-1):
2699 * progmodes/prolog.el (prolog-font-lock-keywords):
2700 * progmodes/idlwave.el (idlwave-idl-keywords):
2701 * progmodes/ada-mode.el (ada-font-lock-keywords):
2702 * net/snmp-mode.el (snmp-font-lock-keywords-3): Likewise.
2703
bcc0adbf
GM
27042012-09-24 Glenn Morris <rgm@gnu.org>
2705
2706 * mail/emacsbug.el (report-emacs-bug): Include `lsb_release -d'.
2707
095bb823
FEG
27082012-09-23 Fabián Ezequiel Gallina <fgallina@cuca>
2709
2710 * progmodes/python.el (python-indent-line): More consistent cursor
2711 movement behavior.
2712
70efc5c9
SM
27132012-09-23 Stefan Merten <smerten@oekonux.de>
2714
2715 * textmodes/rst.el: Fix compiler warning.
2716
2f438239
RW
27172012-09-23 Roland Winkler <winkler@gnu.org>
2718
07b1a5fb
SM
2719 * textmodes/bibtex.el (bibtex-autokey-transcriptions):
2720 Transcribe also LaTeX hyphenation.
2f438239
RW
2721 (bibtex-reformat): Bug fix. Do not quote twice the elements of
2722 bibtex-reformat-previous-options.
2723
936ad041
RW
27242012-09-23 Roland Winkler <winkler@gnu.org>
2725
2726 * proced.el (proced-renice-command): New variable.
2727 (proced-marked-processes): New function.
2728 (proced-with-processes-buffer): New macro.
2729 (proced-send-signal): Use them.
2730 (proced-renice): New command bound to r.
2731
6fab0274
RW
27322012-09-23 Roland Winkler <winkler@gnu.org>
2733
2734 * ibuf-ext.el (ibuffer-switch-to-saved-filter-groups): If list
2735 ibuffer-saved-filter-groups has one element, shortcut the call of
2736 completing-read. (Bug#12331)
2737
9a930676
CY
27382012-09-23 Chong Yidong <cyd@gnu.org>
2739
2740 * bindings.el (mode-line-toggle-read-only):
2741 * bs.el (bs-toggle-readonly):
2742 * buff-menu.el (Buffer-menu-toggle-read-only):
2743 * dired.el (dired-toggle-read-only):
2744 * ibuffer.el (ibuffer-do-toggle-read-only): Use read-only-mode.
2745
d07ff9db
CY
27462012-09-23 Chong Yidong <cyd@gnu.org>
2747
2748 * image.el (image-type-available-p): Adapt to init-image-library
2749 argument changes.
2750
51c4474e
JL
27512012-09-22 Juri Linkov <juri@jurta.org>
2752
2753 * dired.el (dired-mode-map): Add [remap read-only-mode] for
2754 `dired-toggle-read-only'. (Bug#12462)
2755
43bf5e8e
MR
27562012-09-22 Martin Rudalics <rudalics@gmx.at>
2757
2758 * subr.el (temp-output-buffer-show): New function.
2759 (with-output-to-temp-buffer): Call temp-output-buffer-show
2760 instead of internal-temp-output-buffer-show.
2761
c88b867f
CY
27622012-09-22 Chong Yidong <cyd@gnu.org>
2763
3df47cd5
CY
2764 * files.el (ctl-x-map): Bind C-x C-q to read-only-mode
2765 (Bug#12462).
2766
c88b867f
CY
2767 * repeat.el (repeat): Doc fix (Bug#12348).
2768
2769 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix
2770 (Bug#10909).
2771
2772 * simple.el (shell-command-on-region): Doc fix.
3171e303 2773 (read-only-mode): Doc fix.
c88b867f 2774
df9685f3
EZ
27752012-09-22 Eli Zaretskii <eliz@gnu.org>
2776
2777 * emacs-lisp/timer.el (run-with-idle-timer)
2778 (timer-activate-when-idle): Warn against reinvoking an idle timer
2779 from within its own timer action. (Bug#12447)
2780
8e17c9ba
MR
27812012-09-22 Martin Rudalics <rudalics@gmx.at>
2782
2783 * cus-start.el (window-combination-limit): Add new optional
2784 values.
2785 * window.el (temp-buffer-window-show)
2786 (window--try-to-split-window): Handle new values of
2787 window-combination-limit (Bug#1806).
2788 (split-window): Test window-combination-limit for t instead of
2789 non-nil.
2790 (display-buffer-at-bottom): New buffer display action function.
2791 * help.el (temp-buffer-resize-regexps): New option.
2792 (temp-buffer-resize-mode): Rewrite doc-string.
2793 (resize-temp-buffer-window): Obey temp-buffer-resize-regexps.
bd909927 2794 Don't resize reused window. Suggested by Glenn Morris.
8e17c9ba 2795
48a24920
SM
27962012-09-22 Stefan Merten <smerten@oekonux.de>
2797
70efc5c9 2798 * textmodes/rst.el: Revamp section title faces.
48a24920
SM
2799 (rst-official-version)
2800 (rst-package-emacs-version-alist): Sync with official version
2801 V1.4.0.
2802 (rst-faces-defaults, rst-set-level-default)
2803 (rst-level-face-max, rst-level-face-base-color)
2804 (rst-level-face-base-light, rst-level-face-format-light)
2805 (rst-level-face-step-light, rst-define-level-faces): Obsolete.
2806 (rst-adornment-faces-alist): Match new setup.
2807 (rst-level-1, rst-level-2, rst-level-3, rst-level-4)
2808 (rst-level-5, rst-level-6): New faces.
2809
82f8cd94
CY
28102012-09-22 Chong Yidong <cyd@gnu.org>
2811
2812 * simple.el (undo): Handle indirect buffers (Bug#8207).
2813
acfa068f 28142012-09-21 Leo Liu <sdl.web@gmail.com>
a8c14da8
LL
2815
2816 IDO: Disable match re-ordering for buffer switching.
2bc9406c 2817 * ido.el (ido-buffer-disable-smart-matches): New variable.
a8c14da8
LL
2818 (ido-set-matches-1): Use it. (Bug#2042)
2819
acfa068f 28202012-09-21 Jose Marino <marinoj@nso.edu> (tiny change)
a316d229
JM
2821
2822 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
2823 Fix 2011-05-17 change. (Bug#12418)
2824
acfa068f 28252012-09-21 Leo Liu <sdl.web@gmail.com>
d02e58f8
LL
2826
2827 * subr.el (ignore-errors): Mention with-demoted-errors in doc-string.
2828
acfa068f 28292012-09-21 Glenn Morris <rgm@gnu.org>
511fd0b2
GM
2830
2831 * emacs-lisp/shadow.el (load-path-shadows-font-lock-keywords):
2832 Be more robust about locating simple.el.
2833
acfa068f 28342012-09-21 Glenn Morris <rgm@gnu.org>
fa05bfe0
GM
2835
2836 * mail/emacsbug.el (report-emacs-bug): Trap load-path-shadows errors.
2837
acfa068f
CY
28382012-09-21 Joel Bion <jpbion@westvi.com> (tiny change)
2839
2840 * pcmpl-gnu.el (pcmpl-gnu-tarfile-regexp): Add tar.xz. (Bug#12382)
2841
41a97e6f
JL
28422012-09-20 Juri Linkov <juri@jurta.org>
2843
eb2deaff
JL
2844 * replace.el (query-replace-read-from): Use `read-regexp' instead
2845 of `read-from-minibuffer' when `regexp-flag' is non-nil.
2846 (occur-read-primary-args): Use `read-regexp' instead of
2847 `read-string'.
2848 (multi-occur-in-matching-buffers): Use `read-regexp' instead of
2849 `read-from-minibuffer'.
2850 * isearch.el (isearch-occur): Use `read-regexp' instead of
2851 `read-string'.
2852 * dired.el (dired-read-regexp): Use `read-regexp' instead of
2853 `read-from-minibuffer'.
2854 * progmodes/grep.el (grep-read-regexp): Use `read-regexp' instead
2855 of `read-string'. (Bug#7567)
2856
5825610b
JL
2857 * replace.el (read-regexp): Rename DEFAULT-VALUE arg to DEFAULTS
2858 and allow accepting a list of strings prepended to a list of
2859 standard default values. Doc fix. (Bug#12321)
2860
eebbf404
JL
2861 * replace.el (read-regexp): Add HISTORY arg. (Bug#7567)
2862
41a97e6f
JL
2863 * replace.el (read-regexp): Don't add ": " when PROMPT already
2864 ends with a colon and space. (Bug#12321)
2865
c9e452d3
TH
28662012-09-20 Tassilo Horn <tsdh@gnu.org>
2867
2868 * doc-view.el (doc-view-display): Better fix for the cl-assertion
2869 error.
2870
ee97deee
SM
28712012-09-20 Stefan Merten <smerten@oekonux.de>
2872
70efc5c9 2873 * textmodes/rst.el: Integrate support for `imenu' and `which-function'.
ee97deee
SM
2874 Fixes feature request bug#11711.
2875 (rst-mode): Create `imenu-create-index-function'.
2876 (rst-get-stripped-line): Delete after refactoring.
2877 (rst-section-tree, rst-section-tree-rec)
2878 (rst-section-tree-point): Refactor and document properly.
2879 (rst-imenu-find-adornments-for-position)
07b1a5fb
SM
2880 (rst-imenu-convert-cell, rst-imenu-create-index):
2881 New function.
ee97deee 2882
f490dab9
SM
28832012-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
2884
95b9712e
SM
2885 * emacs-lisp/macroexp.el (macroexp--obsolete-warning): New function.
2886 (macroexp--expand-all): Use it.
2887 (macroexp--funcall-and-return): Remove by folding it into its sole
2888 caller (macroexp--warn-and-return).
2889 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete):
2890 Use macroexp--obsolete-warning.
2891
f490dab9
SM
2892 * calc/calc.el: Fix last change by removing the whole chunk, since it
2893 was only needed back when Calc was not bundled.
2894
96e8d411
MR
28952012-09-20 Martin Rudalics <rudalics@gmx.at>
2896
2897 * emacs-lisp/debug.el (debug): Restore assignment to
2898 debugger-old-buffer removed on 2012-09-08.
2899
0876a82d
JL
29002012-09-20 Juri Linkov <juri@jurta.org>
2901
2902 * dired-aux.el (dired-diff): Remove (require 'diff) since
2903 `diff-latest-backup-file' is now autoloaded.
2904
9f7c28f0
CY
29052012-09-20 Chong Yidong <cyd@gnu.org>
2906
2907 * vc/diff.el (diff-latest-backup-file): Autoload.
2908
7a04bee9
SM
29092012-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
2910
e6f0a80d
SM
2911 * calc/calc.el: Remove redundant autoload shape check.
2912 (sel-mode): Don't defvar.
2913 (calc-get-stack-element): Add `sel-mode' arg instead.
2914 (calc-top, calc-top-list): Pass it this additional argument.
2915 * calc/calc-store.el (calc-store-map):
2916 * calc/calc-map.el (calc-apply, calc-reduce, calc-map)
2917 (calc-map-equation, calc-outer-product, calc-inner-product):
2918 * calc/calc-aent.el (calc-alg-entry): Don't bind sel-mode.
2919
7a04bee9
SM
2920 * emacs-lisp/macroexp.el (macroexp--expand-all): Fix last change.
2921
12734222
JL
29222012-09-19 Juri Linkov <juri@jurta.org>
2923
2924 * dired-aux.el (dired-diff): Add (require 'diff) because
2925 `diff-latest-backup-file' is not autoloaded.
2926 (dired-do-chxxx, dired-do-chmod): Set `no-error-if-not-filep' arg
2927 of `dired-get-filename' to t to not report error when there is
2928 no default file on the current line.
2929
46624b4f
SM
29302012-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
2931
ce97595b
SM
2932 * emacs-lisp/macroexp.el (macroexp--funcall-if-compiled): Rename from
2933 macroexp--eval-if-compile.
2934 (macroexp--funcall-and-return, macroexp--warn-and-return): New funs.
2935 (macroexp--expand-all): Use them (bug#12371).
2936
46624b4f
SM
2937 * doc-view.el (doc-view-guess-paper-size)
2938 (doc-view-scale-bounding-box): Fix unbound `caddr'.
2939
db8a5a18
TH
29402012-09-19 Tassilo Horn <tsdh@gnu.org>
2941
2942 New feature: set optimal slice from BoundingBox information.
2943 * doc-view.el (doc-view-mode-map): Add keybinding.
2944 (doc-view-menu): Add menu entry.
2945 (doc-view-set-slice): Adapt docstring.
2946 (doc-view-get-bounding-box, doc-view-guess-paper-size)
2947 (doc-view-scale-bounding-box)
2948 (doc-view-set-slice-from-bounding-box): New functions.
2949 (doc-view-paper-sizes): New defvar.
2950
69f6644c
GM
29512012-09-19 Glenn Morris <rgm@gnu.org>
2952
35f5b19d
GM
2953 * emacs-lisp/macroexp.el (byte-compile-warn-obsolete)
2954 (byte-compile-log-warning): Autoload. (Bug#12371)
2955
69f6644c
GM
2956 * calendar/calendar.el (calendar-american-month-header)
2957 (calendar-european-month-header, calendar-iso-month-header)
2958 (calendar-month-header): New options.
2959 (calendar-set-date-style): Set calendar-month-header. Redraw calendar.
2960 (calendar-generate-month): Use calendar-month-header. (Bug#9510)
2961
e543ae91
JD
29622012-09-19 Jan Djärv <jan.h.d@swipnet.se>
2963
2964 * startup.el (command-line-ns-option-alist): Add -g and --geometry.
2965
2fd5e67d
JL
29662012-09-18 Juri Linkov <juri@jurta.org>
2967
2968 * dired-aux.el (dired-diff): Restore original functionality of
2969 getting the default value, but keep new feature of using the
2970 latest existing backup file (`diff-latest-backup-file').
2971
42917e79
JL
29722012-09-18 Juri Linkov <juri@jurta.org>
2973
2974 * dired.el (dired-mark): If the region is active in Transient Mark
2975 mode, mark all files in the active region. Doc fix.
2976 (dired-unmark, dired-flag-file-deletion, dired-unmark-backward):
2977 Doc fix. (Bug#10624)
2978
20f70ede
JL
29792012-09-18 Juri Linkov <juri@jurta.org>
2980
2981 * dired-aux.el (dired-do-chxxx, dired-do-chmod): Default file
2982 attributes for M-n are pulled from the file at point.
2983 (dired-do-chgrp, dired-do-chown, dired-do-touch): Doc fix.
2984 Suggested by Drew Adams. (Bug#10624)
2985
32fb8162
DG
29862012-09-18 Dmitry Gutov <dgutov@yandex.ru>
2987
2988 * progmodes/ruby-mode.el (ruby-brace-to-do-end): Don't add extra
2989 whitespace after "end".
2990 (ruby-do-end-to-brace): Collapse block to one line if it fits
2991 within fill-column.
2992
37ab5092
MR
29932012-09-18 Martin Rudalics <rudalics@gmx.at>
2994
2995 * emacs-lisp/debug.el (debugger-bury-or-kill): Fix customization
2996 value.
2997 (debug): Don't remove debugger window when debugger is expected
2998 to be back.
2999
ed1f0bd3
CY
30002012-09-18 Chong Yidong <cyd@gnu.org>
3001
3002 * custom.el (defface): Doc fix.
3003
3004 * cus-edit.el (custom-unlispify-remove-prefixes): Add warning.
3005
a11035b8
MB
30062012-09-18 Martin Blais <blais@furius.ca> (tiny change)
3007
3008 * progmodes/compile.el (compilation-start): Use compilation-always-kill
3009 to initialize query-on-exit; then test that instead (bug#12288).
3010
64f6a736
SM
30112012-09-17 Stefan Merten <smerten@oekonux.de>
3012
70efc5c9 3013 * textmodes/rst.el: Add support for `testcover'.
64f6a736
SM
3014 (rst-defcustom-testcover, rst-testcover-add-compose)
3015 (rst-testcover-add-1value): New functions.
3016 (rst-portable-mark-active-p): Replace by `use-region-p'.
3017 (rst-update-section, rst-classify-adornment)
3018 (rst-find-title-line): Mark `1value' forms.
3019 (rst-classify-adornment): Remove superfluous form.
3020 (rst-update-section, rst-get-adornments-around)
3021 (rst-adornment-complete-p, rst-get-next-adornment)
3022 (rst-adjust, rst-promote-region)
3023 (rst-display-adornments-hierarchy, rst-straighten-adornments)
3024 (rst-find-pfx-in-region, rst-section-tree-rec)
3025 (rst-section-tree-point, rst-toc-insert, rst-toc-insert-node)
3026 (rst-toc-node, rst-toc, rst-forward-section)
3027 (rst-iterate-leftmost-paragraphs)
3028 (rst-iterate-leftmost-paragraphs-2, rst-enumerate-region)
3029 (rst-bullet-list-region)
3030 (rst-convert-bullets-to-enumeration, rst-font-lock-keywords)
3031 (rst-compile-find-conf, rst-compile)
3032 (rst-repeat-last-character): Fix style.
3033
580bd868
CY
30342012-09-17 Chong Yidong <cyd@gnu.org>
3035
3036 * comint.el (comint--complete-file-name-data): Don't add a space
3037 if the status is `sole'; that adds a gratuitous space in the
3038 completion-cycling case (Bug#12092).
3039
3040 * pcomplete.el (pcomplete-completions-at-point): Likewise.
3041
69de3ec6
RS
30422012-09-17 Richard Stallman <rms@gnu.org>
3043
0dee970c
RS
3044 * mail/rmailmm.el (rmail-mime-toggle-raw): Do rmail-mime-insert
3045 only in the mime-shown mode, not in raw mode.
3046 (rmail-mime): Toggle off mime by displaying the message without
6b250df6 3047 mime processing. (Bug#12305)
0dee970c 3048
6b250df6
GM
3049 * mail/rmail.el (rmail-retry-failure):
3050 Turn off mime processing first. (Bug#12037)
acb1c47b 3051
69de3ec6
RS
3052 * epa-mail.el (epa-mail-encrypt): Fix bug when a name has no key.
3053
d079ee5f
CY
30542012-09-17 Chong Yidong <cyd@gnu.org>
3055
3056 * shell.el (shell-file-name-chars, shell-file-name-quote-list)
3057 (shell-dynamic-complete-functions): Convert to defcustom.
3058 (shell-prompt-pattern, shell-completion-fignore): Doc fix.
3059
865fe16f
CY
3060 * bookmark.el (bookmark-bmenu-toggle-filenames): Doc fixes.
3061 * comint.el (comint-prompt-read-only):
3062 * custom.el (defcustom):
3063 * hi-lock.el (hi-lock-mode):
3064 * ibuffer.el (ibuffer-formats):
3065 * ielm.el (ielm-prompt-read-only):
3066 * novice.el (disable-command):
3067 * saveplace.el (toggle-save-place):
3068 * speedbar.el (speedbar-supported-extension-expressions):
3069 * startup.el (auto-save-list-file-prefix, init-file-user)
3070 (after-init-hook, inhibit-startup-echo-area-message):
3071 * strokes.el (strokes-help):
3072 * time-stamp.el (time-stamp):
3073 * calendar/calendar.el (calendar, diary-file):
3074 * calendar/diary-lib.el (diary-mail-entries, diary)
3075 (diary-list-entries-hook):
3076 * calendar/holidays.el (holidays, calendar-holidays):
3077 * calendar/lunar.el (lunar-phases):
3078 * calendar/solar.el (sunrise-sunset):
3079 * emulation/edt.el (edt-load-keys):
3080 * emulation/viper.el (viper-mode):
3081 * eshell/em-alias.el (eshell-command-aliases-list):
3082 * eshell/esh-util.el (eshell-convert-numeric-arguments):
3083 * international/ogonek.el (ogonek-information):
3084 * net/tramp-cmds.el (tramp-bug):
3085 * net/quickurl.el (quickurl-reread-hook-postfix):
3086 * play/decipher.el (decipher-font-lock-keywords):
3087 * progmodes/cc-styles.el (c-set-style):
3088 * progmodes/idlw-shell.el (idlwave-shell-prompt-pattern):
3089 * progmodes/inf-lisp.el (inferior-lisp-prompt):
3090 * progmodes/octave-mod.el (octave-mode):
3091 * progmodes/sql.el (sql-mode, sql-interactive-mode, sql-password):
3092 * progmodes/verilog-mode.el (verilog-read-defines):
3093 * textmodes/two-column.el (2C-mode): Likewise.
3094
48093eb9
KY
30952012-09-16 Katsumi Yamaoka <yamaoka@jpl.org>
3096
3097 * mail/mailabbrev.el (mail-abbrev-expand-hook): Work for a mail aliasee
3098 that holds many addresses.
3099
c584eaf9
CY
31002012-09-16 Chong Yidong <cyd@gnu.org>
3101
40d70ecb
CY
3102 * align.el (align-areas): Call the indication function with
3103 positions instead of markers for arguments (Bug#12343).
3104
1667e065
CY
3105 * files.el (parse-colon-path): Use split-string (Bug#12351).
3106
fdc2806d 3107 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
71ce58e7 3108 (display-buffer-function): Mark as obsolete.
fdc2806d 3109
f1be615c 3110 * progmodes/compile.el (compilation-parse-errors): Accept list
ce97595b
SM
3111 values similar to font-lock-keywords (Bug#12136).
3112 Suggested by Oleksandr Manzyuk.
c584eaf9
CY
3113 (compilation-error-regexp-alist): Doc fix.
3114
f40a9709
GM
31152012-09-15 Glenn Morris <rgm@gnu.org>
3116
72aa16e1
GM
3117 * version.el (emacs-bzr-version-bzr): New function.
3118 (emacs-bzr-get-version): Add optional EXTERNAL argument.
3119
82375160
GM
3120 * vc/vc-bzr.el (vc-bzr-working-revision): For lightweight local
3121 checkouts, check the parent dirstate matches the branch.
3122 Add "--tree" to "bzr revno" arguments. Don't try to shorten the
3123 empty string.
3124
f40a9709
GM
3125 * version.el (emacs-bzr-version): Doc fix.
3126 (emacs-bzr-version-dirstate): New function.
3127 (emacs-bzr-get-version): For lightweight checkouts, if the parent
3128 is local try and check that it matches the branch. If not, just
3129 use dirstate information. (Bug#12441)
3130
cb26b7f5
JL
31312012-09-14 Juri Linkov <juri@jurta.org>
3132
3133 * dired-aux.el (dired-do-chmod): Use `eq' to detect empty input.
3134 (Bug#12399)
3135
2de39f08
SM
31362012-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
3137
0fb3cb7c
SM
3138 * emacs-lisp/advice.el (ad-prognify): Remove, use macroexp-progn.
3139
2de39f08
SM
3140 * emacs-lisp/edebug.el: Miscellaneous cleanup.
3141 Remove obsolete byte-compiler hack that tried to silence some warnings.
3142 (edebug-submit-bug-report): Remove.
3143 (edebug-get-buffer-window, edebug-sit-for, edebug-input-pending-p):
3144 Remove aliases, use the un-prefixed name instead.
3145 (edebug-pop-to-buffer): Consider other frames.
3146 (edebug-original-read):: Make it more obvious that it's always defined.
3147 (edebug--make-form-data-entry, edebug--form-data-name)
3148 (edebug--form-data-begin, edebug--form-data-end): Rename from the
3149 single-dashed name, and implement with cl-defstruct.
3150 (edebug-set-form-data-entry): Use the standard accessors.
3151 (edebug-make-top-form-data-entry): Use push.
3152 (edebug-no-match): Drop useless `funcall'.
3153 (mapcar, mapconcat, mapatoms, apply, funcall): Don't add debug specs
3154 to functions.
3155 (defsubst, dont-compile, eval-when-compile, eval-and-compile)
3156 (delay-mode-hooks, with-temp-file, with-temp-message, ad-dolist)
3157 (with-syntax-table, push, pop, 1value, noreturn, defadvice)
3158 (easy-menu-define, with-custom-print): Remove redundant specs.
3159 (edebug-outside-overriding-local-map)
3160 (edebug-outside-overriding-terminal-local-map): Remove, unused.
3161 (edebug--display): Bind unread-command-events directly to nil rather
3162 than binding it to unread-command-events and later setting it to nil.
3163 (edebug--display): Kill edebug-eval-buffer here...
3164 (edebug--recursive-edit): ...rather than here.
3165 Bind standard-output and standard-input.
3166 (edebug-eval): Check cl-macroexpand-all is fboundp.
3167 (edebug-temp-display-freq-count): Fix last change.
3168
3169 * emacs-lisp/easymenu.el (easy-menu-define): Add `debug' spec.
3170 * subr.el (noreturn, 1value): Add `debug' spec.
3171 * emacs-lisp/advice.el: Require cl-lib.
3172 (ad-copy-tree): Remove, use copy-tree instead.
3173 (ad-dolist): Remove use dolist or cl-dolist instead.
3174 (ad-do-return): Remove, use cl-return instead.
3175 (defadvice): Add `debug' spec.
3176
5b68b333
JL
31772012-09-13 Juri Linkov <juri@jurta.org>
3178
3179 * dired-aux.el (dired-do-chxxx): Use `eq' to detect empty input.
3180 (Bug#12399)
3181
b9800ec4
GM
31822012-09-13 Glenn Morris <rgm@gnu.org>
3183
6a2e6868
GM
3184 * calc/calc.el (math-compose-expr):
3185 * calc/calc-ext.el (math-compose-expr):
3186 * progmodes/cc-defs.el (cl-macroexpand-all):
3187 * progmodes/cc-langs.el (delete-duplicates, mapcan)
3188 (cl-macroexpand-all): Update declarations.
3189
b9800ec4
GM
3190 * vc/vc.el: No need to require ediff.
3191 (ediff-load-version-control): Declare.
3192 (ediff-vc-internal): Fix declaration.
3193 (vc-version-ediff): Require ediff.
3194
c18e885b
PE
31952012-09-13 Paul Eggert <eggert@cs.ucla.edu>
3196
3197 Use a more backwards-compatible timer format (Bug#12430).
3198 * emacs-lisp/timer.el (timer): PSECS is now at the end, rather than
3199 being right after USECS, as that better supports old code that
3200 inadvisedly looked directly at the timer vector.
3201
d607d303
KH
32022012-09-13 Kenichi Handa <handa@gnu.org>
3203
3204 * language/chinese.el ("Chinese-GB", "Chinese-BIG5")
3205 ("Chinese-CNS", "Chinese-EUC-TW"): Add chinese-gbk to
3206 `coding-priority' property of these language environment.
3207
72eac303
PE
32082012-09-13 Paul Eggert <eggert@cs.ucla.edu>
3209
3210 Fix glitches caused by addition of psec to timers (Bug#12430).
3211 * image.el (image-animate-timer):
3212 * time.el (display-time-world-timer):
3213 Use timer--function and timer--args rather than raw access to
3214 timer vector.
3215
2168fe4f
GM
32162012-09-13 Glenn Morris <rgm@gnu.org>
3217
3218 * emacs-lisp/bytecomp.el (byte-compile-warning-prefix):
3219 If not compiling a file, try using load-file-name.
3220
bd8d6108
SM
32212012-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
3222
c0c54fbd
SM
3223 * emacs-lisp/edebug.el (edebug-outside-unread-command-events):
3224 Fix last change.
3225 (edebug-update-eval-list): Use `push'.
3226
bd8d6108
SM
3227 * emacs-lisp/edebug.el: Use lexical-binding.
3228 Remove the "edebug-" prefix from non-dynamically-scoped variables.
3229 Mark unused args with underscore.
3230 (edebug-save-restriction, edebug-outside-excursion): Use `declare'.
3231 (edebug-form-data): Use defvar-local.
3232 (edebug-make-before-and-after-form, edebug-make-after-form):
3233 Use backquote.
3234 (edebug-args, edebug-value, edebug-after-index, edebug-arg-mode):
3235 Not dynamically scoped any more.
3236 (edebug--enter-trace): Add arguments `function' and `args'.
3237 Rename from edebug-enter-trace.
3238 (edebug-enter): Call it accordingly. Bind edebug-function explicitly.
3239 (edebug--update-coverage): Add `after-index' and `value' args.
3240 Rename from edebug-update-coverage.
3241 (edebug-slow-after): Call it accordingly.
3242 (edebug--recursive-edit): Add arg `arg-mode'. Rename from
3243 edebug-recursive-edit.
3244 (edebug--display): Call it accordingly. Add args `value',
3245 `offset-index', and `arg-mode'. Rename from edebug-display.
3246 (edebug-debugger, edebug): Call it accordingly.
3247 (edebug-eval-display-list): Use dolist.
3248
a9f9d9de
JL
32492012-09-12 Juri Linkov <juri@jurta.org>
3250
3251 * info.el (Info-search): Don't check for isearch-mode and
3252 isearch-regexp before let-binding search-spaces-regexp to
3253 Info-search-whitespace-regexp.
3254 (Info-isearch-search): Let-bind Info-search-whitespace-regexp to
3255 search-whitespace-regexp if isearch-lax-whitespace or
3256 isearch-regexp-lax-whitespace is non-nil.
3257 (Info-mode): Don't set local variable search-whitespace-regexp.
3258 http://lists.gnu.org/archive/html/emacs-devel/2012-08/msg00811.html
3259
bfeae2cf
SM
32602012-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
3261
3262 * emacs-lisp/debug.el (debugger-outer-unread-command-char, debug)
3263 (debugger-env-macro): Remove support for unread-command-char.
3264
3265 * subr.el (set-temporary-overlay-map): Minimize slightly the impact of
3266 the temporary map re-appearing on emulation-mode-map-alists.
3267
3268 * emacs-lisp/edebug.el (def-edebug-form-spec): Remove, it's been broken
3269 since 22.1.
3270
3271 * ehelp.el (with-electric-help): Accept functions in
3272 electric-help-form-to-execute.
3273 (electric-help-execute-extended, electric-help-ctrl-x-prefix): Use it.
3274 And replace unread-command-char -> unread-command-events.
3275
fbbcaf1b
MA
32762012-09-12 Michael Albinus <michael.albinus@gmx.de>
3277
3278 Sync with Tramp 2.2.6.
3279
3280 * net/tramp.el (tramp-accept-process-output): Don't use
3281 JUST-THIS-ONE in the XEmacs case.
3282
3283 * net/trampver.el: Update release number.
3284
4dece104
MR
32852012-09-12 Martin Rudalics <rudalics@gmx.at>
3286
bfeae2cf
SM
3287 * emacs-lisp/debug.el (debugger-previous-window-height):
3288 New variable.
4dece104
MR
3289 (debug): When debugger-jumping-flag is non-nil try to restore
3290 height of debugger window. (Bug#8789)
3291
45b82ad0
SM
32922012-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
3293
60c49c0f
SM
3294 * emacs-lisp/edebug.el (edebug-enter): Don't mess with
3295 overriding-local-map and pre/post-command-hook here.
3296 (edebug-recursive-edit): Do it here instead (bug#12345).
3297 (edebug-outside-unread-command-char): Remove all uses of
3298 unread-command-char.
3299
45b82ad0
SM
3300 * emacs-lisp/debug.el (debug): Don't bind debug-on-error since
3301 inhibit-debugger is bound instead.
3302
baa26ea0
BG
33032012-09-11 Bastien Guerry <bzg@gnu.org>
3304
3305 * subr.el (set-temporary-overlay-map): Add a docstring.
fc0c31f8 3306 (Bug#12346)
baa26ea0 3307
04e8abfa
BG
33082012-09-11 Bastien Guerry <bzg@gnu.org>
3309
96d03571 3310 * minibuffer.el (completion-table-subvert): Fix docstring.
fc0c31f8 3311 (Bug#12347)
96d03571
BG
3312
33132012-09-11 Bastien Guerry <bzg@gnu.org>
3314
fc0c31f8 3315 * help-fns.el (describe-variable): Fix typo. (Bug#12346)
04e8abfa 3316
04e082b0
MM
33172012-09-10 Michael R. Mauger <mmaug@yahoo.com>
3318
3319 * progmodes/sql.el: Version 3.1
3320 (sql-db2-escape-newlines): New variable.
3321 (sql-escape-newlines-filter): Use it.
3322
399a361b
JB
33232012-09-10 Juanma Barranquero <lekktu@gmail.com>
3324
3325 * custom.el (custom-theme-load-confirm): Remove unneeded assignment.
3326
0780c517
DN
33272012-09-10 Dan Nicolaescu <dann@gnu.org>
3328
45b82ad0
SM
3329 * vc/diff-mode.el (diff-mode-menu):
3330 Bind diff-remove-trailing-whitespace.
0780c517 3331
9b851e25
SM
33322012-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
3333
3334 * emacs-lisp/lisp-mode.el (emacs-list-byte-code-comment-re): New var.
fc0c31f8
JB
3335 (emacs-lisp-byte-code-comment, emacs-lisp-byte-code-syntax-propertize)
3336 (emacs-lisp-byte-code-mode): New functions.
9b851e25
SM
3337 (eval-sexp-add-defvars): Don't skip defvars in column >0.
3338 (eval-defun-2): Remove bogus interactive spec.
3339 (lisp-indent-line): Remove redundant whole-exp code, now done in
3340 indent-according-to-mode.
3341 (save-match-data): Remove redundant indent data.
3342
3343 * emacs-lisp/benchmark.el (benchmark-run, benchmark-run-compiled):
3344 Use `declare'.
3345
3231d532
JL
33462012-09-09 Juri Linkov <juri@jurta.org>
3347
3348 * replace.el (replace-regexp-lax-whitespace): New defcustom.
3349 (replace-lax-whitespace, query-replace-regexp)
3350 (query-replace-regexp-eval, replace-regexp): Doc fix.
3351 (perform-replace, replace-highlight): Let-bind
3352 isearch-lax-whitespace to replace-lax-whitespace and
3353 isearch-regexp-lax-whitespace to replace-regexp-lax-whitespace.
3354
3355 * isearch.el (isearch-query-replace): Let-bind
3356 replace-lax-whitespace to isearch-lax-whitespace and
3357 replace-regexp-lax-whitespace to
3358 isearch-regexp-lax-whitespace. (Bug#10885)
3359
70fe8236
SM
33602012-09-09 Stefan Monnier <monnier@iro.umontreal.ca>
3361
3362 * eshell/em-unix.el (eshell/sudo): Explicitly drop return value.
3363
8ed43f15
AM
33642012-09-09 Alan Mackenzie <acm@muc.de>
3365
70fe8236
SM
3366 * progmodes/cc-engine.el (c-state-cache-init):
3367 Initialise c-state-semi-nonlit-pos-cache\(-limit\)? properly.
3368 (c-record-parse-state-state):
3369 Record c-state-semi-nonlit-pos-cache\(-limit\)?.
8ed43f15 3370
bfabf70a
AS
33712012-09-09 Andreas Schwab <schwab@linux-m68k.org>
3372
3373 * register.el (register-separator): Rename from
3374 separator-register. All uses changed. Doc fix.
3375 (register): Fix version.
3376
011474aa
CY
33772012-09-09 Chong Yidong <cyd@gnu.org>
3378
3379 * replace.el (query-replace-map): Bind four new symbols for
3380 requesting window scrolling.
3381
3382 * subr.el (y-or-n-p): Handle the window-scrolling bindings in
3383 query-replace-map (Bug#8948).
3384
3385 * custom.el (custom-theme-load-confirm): Use y-or-n-p.
3386
3387 * emacs-lisp/map-ynp.el (map-y-or-n-p): Don't bind scrolling keys
3388 since they are now in query-replace-map.
3389
3390 * window.el (scroll-other-window-down): Make the arg optional.
3391
a8b7cd8d
CY
33922012-09-09 Chong Yidong <cyd@gnu.org>
3393
3394 * files.el (hack-local-variables-confirm): Use quit-window to kill
3395 the *Local Variables* buffer.
3396
c3268831
DG
33972012-09-08 Dmitry Gutov <dgutov@yandex.ru>
3398
3399 * progmodes/ruby-mode.el (ruby-toggle-block): Guess the current block,
3400 not just expect to be at its beginning. Adjust callees.
3401 Succeed when do-end block has no space before the pipe character.
3402 (ruby-brace-to-do-end): When the original block is one-liner,
3403 convert to multiline. Reindent the result.
3404
0979429b
J
34052012-09-08 Jambunathan K <kjambunathan@gmail.com>
3406
3407 * register.el (register): New group.
27359e99 3408 (separator-register): New user option.
0979429b
J
3409 (increment-register): Route it to `append-to-register', if
3410 register contains text. Implication is that `C-x r +' can now be
3411 used for appending to a text register (bug#12217).
3412 (append-to-register, prepend-to-register): Add separator based on
5b9c45a6 3413 `separator-register'.
0979429b 3414
ace2989a
AM
34152012-09-08 Alan Mackenzie <acm@muc.de>
3416
3417 AWK Mode: make auto-newline work when there's "==" in the pattern.
3418 * progmodes/cc-cmds.el (c-point-syntax): Handle virtual semicolons
3419 correctly.
0979429b
J
3420 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5A.3):
3421 Test more rigorously for "=" token.
ace2989a 3422
616c6c36
DG
34232012-09-08 Dmitry Gutov <dgutov@yandex.ru>
3424
0979429b
J
3425 * progmodes/ruby-mode.el (ruby-match-expression-expansion):
3426 Only fail when reached LIMIT.
616c6c36 3427
35d98877
CY
34282012-09-08 Chong Yidong <cyd@gnu.org>
3429
3430 * dired.el (dired-mode-map): Don't bind M-=.
3431
3432 * dired-aux.el (dired-diff): Use backup file as default.
3433
1715f2db
DA
34342012-09-08 Drew Adams <drew.adams@oracle.com>
3435
3436 * subr.el (add-to-history): Fix delete usage (Bug#12314).
3437
6dcef6ec
CY
34382012-09-08 Chong Yidong <cyd@gnu.org>
3439
3440 * subr.el (syntax-after, syntax-class): Doc fix.
3441
fa2bcf43
MR
34422012-09-08 Martin Rudalics <rudalics@gmx.at>
3443
3444 * window.el (display-buffer-in-previous-window): New buffer
3445 display action function.
3446
3447 * emacs-lisp/debug.el (debugger-bury-or-kill): New option.
3448 (debugger-previous-window): New variable.
3449 (debug): Rewrite using display-buffer-in-previous-window,
3450 quit-restore-window and debugger-bury-or-kill. (Bug#8789)
3451
daac280a
SM
34522012-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
3453
3454 * emacs-lisp/byte-run.el (defun): Tweak message. Simplify code.
3455
9dd40b00
MM
34562012-09-07 Matt McClure <mlm@aya.yale.edu> (tiny change)
3457
daac280a
SM
3458 * progmodes/python.el (python-shell-send-string):
3459 When default-directory is remote, create temp file on remote
9dd40b00
MM
3460 filesystem.
3461 (python-shell-send-file): When file is remote, pass local view of
3462 file paths to remote Python interpreter. (Bug#12340)
3463
145823ec
CY
34642012-09-07 Chong Yidong <cyd@gnu.org>
3465
cee2e90d
CY
3466 * window.el (switch-to-buffer): Doc fix (Bug#12181).
3467
0d7eb2ea
CY
3468 * files.el (after-find-file): Don't fail on a read-only buffer if
3469 require-final-newline is `visit' or `visit-save' (Bug#11156).
3470
145823ec
CY
3471 * subr.el (read-char-choice): Allow quitting via ESC ESC.
3472
daac280a
SM
3473 * userlock.el (ask-user-about-supersession-threat):
3474 Use read-char-choice (Bug#12093).
145823ec 3475
74c582e6
CY
34762012-09-07 Chong Yidong <cyd@gnu.org>
3477
e5c2edf7
CY
3478 * subr.el (buffer-narrowed-p): New function.
3479
3480 * ses.el (ses-widen):
3481 * simple.el (count-words--buffer-message):
1f9f395d 3482 * net/browse-url.el (browse-url-of-buffer): Use it.
e5c2edf7
CY
3483
3484 * simple.el (count-words-region): Don't signal an error if there
3485 is a non-nil prefix arg and the mark is not set.
c640e87d 3486
74c582e6
CY
3487 * help.el (describe-key-briefly): Allow the message to be seen
3488 when invoked from the minibuffer (Bug#7014).
3489
d81ceaaf
DG
34902012-09-07 Dmitry Gutov <dgutov@yandex.ru>
3491
3492 * progmodes/ruby-mode.el (ruby-end-of-defun)
3493 (ruby-beginning-of-defun): Simplify, allow indentation before
3494 block beginning and end keywords.
8f06acce
DG
3495 (ruby-beginning-of-defun): Only consider 3 keywords defun beginners.
3496 (ruby-end-of-defun): Expect that the point is at the beginning of
3497 the defun.
d81ceaaf 3498
d458ef98
SM
34992012-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
3500
3501 * emacs-lisp/cl-macs.el (cl--do-arglist): Understand _ on &key args
3502 (bug#12367).
3503 (cl--make-usage-args): Strip _ from argument names.
3504
20367d28
RS
35052012-09-06 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3506
3507 * progmodes/vhdl-mode.el (vhdl-speedbar-initialize): Don't use
3508 obsolete alias speedbar-key-map.
3509 (vhdl-doc-variable, vhdl-doc-mode): Use called-interactively-p.
3510 (vhdl-index-menu-init): Don't use obsolete variable
3511 font-lock-maximum-size.
3512
3424a4f6
CY
35132012-09-06 Chong Yidong <cyd@gnu.org>
3514
3515 * frame.el (window-system-version): Mark as obsolete.
3516
fcbfbdea
CY
3517 * speedbar.el (speedbar-update-flag, speedbar-mode): Remove uses
3518 of obsolete variable speedbar-key-map.
3519
826b3235
JL
35202012-09-06 Juri Linkov <juri@jurta.org>
3521
3522 * replace.el (replace-lax-whitespace): New defcustom.
3523 (query-replace, query-replace-regexp, query-replace-regexp-eval)
3524 (replace-string, replace-regexp): Mention it in docstrings.
3525 (perform-replace, replace-highlight): Let-bind
3526 isearch-lax-whitespace and isearch-regexp-lax-whitespace according
3527 to the values of replace-lax-whitespace and regexp-flag.
3528 Don't let-bind search-whitespace-regexp. (Bug#10885)
3529
3530 * isearch.el (isearch-query-replace): Let-bind
3531 replace-lax-whitespace instead of let-binding
3532 replace-search-function and replace-re-search-function.
3533 (isearch-lazy-highlight-search): Let-bind isearch-lax-whitespace
3534 and isearch-regexp-lax-whitespace to lazy-highlight variables.
3535 (isearch-toggle-symbol): Set isearch-regexp to nil
3536 in isearch-word mode (like in isearch-toggle-word).
3537
1ec5e41d
JL
35382012-09-06 Juri Linkov <juri@jurta.org>
3539
3540 * replace.el (replace-search-function)
3541 (replace-re-search-function): Set default values to nil.
3542 (perform-replace): Let-bind isearch-related variables based on
3543 replace-related values, call `isearch-search-fun' and let-bind
3544 the result to `search-function'. Remove code that sets
3545 `search-function' and `search-string' separately for
3546 `delimited-flag'.
3547 (replace-highlight): Add new argument `delimited-flag' and
3548 rename other arguments to the names used in `perform-replace'.
3549 Let-bind `isearch-word' to the argument `delimited-flag'.
3550 (Bug#10885, bug#10887)
3551
0ba2d4b6
DG
35522012-09-07 Dmitry Gutov <dgutov@yandex.ru>
3553
3554 * progmodes/ruby-mode.el (ruby-indent-beg-re): Add pieces from
3555 ruby-beginning-of-indent, simplify, allow all keywords to have
3556 indentation before them.
3557 (ruby-beginning-of-indent): Adjust for above. Search until the
3558 found point is not inside a string or comment.
3559 (ruby-font-lock-keywords): Allow symbols to start with "@"
3560 character, give them higher priority than variables.
3561 (ruby-syntax-propertize-function)
3562 (ruby-font-lock-syntactic-keywords): Remove the "not comments"
3563 matchers. Expression expansions are not comments when inside a
3564 string, and there comment syntax status is irrelevant.
3565 (ruby-match-expression-expansion): New function. Check that
3566 expression expansion is inside a string, and it's not escaped.
3567 (ruby-font-lock-keywords): Use it.
3568
ef654460
MR
35692012-09-05 Martin Rudalics <rudalics@gmx.at>
3570
3571 * help.el (temp-buffer-max-height): New default value.
3572 (temp-buffer-resize-frames): New option.
3573 (resize-temp-buffer-window): Optionally resize frame.
3574
3575 * window.el (fit-frame-to-buffer-bottom-margin): New option.
3576 (fit-frame-to-buffer): New function.
3577
7e570fbf 35782012-09-05 Glenn Morris <rgm@gnu.org>
72308848
GM
3579
3580 * emulation/cua-rect.el (cua--init-rectangles):
3581 * textmodes/picture.el (picture-mode-map):
3582 * play/blackbox.el (blackbox-mode-map): Remap right-char and left-char
3583 like forward-char and backward-char. (Bug#12317)
3584
7e570fbf 35852012-09-05 Leo Liu <sdl.web@gmail.com>
3aca1291
LL
3586
3587 * progmodes/flymake.el (flymake-warning-re): New variable.
3588 (flymake-parse-line): Use it.
3589
7e570fbf 35902012-09-05 Glenn Morris <rgm@gnu.org>
b6683353
GM
3591
3592 * calendar/holidays.el (holiday-christian-holidays):
3593 Rename an entry. (Bug#12289)
3594
7e570fbf 35952012-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
64f8c4bd
SM
3596
3597 * progmodes/sh-script.el (sh-font-lock-paren): Don't burp at BOB
3598 (bug#12222).
3599
972debf2
SM
36002012-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
3601
3602 * loadup.el: Load macroexp. Remove hack.
3603 * emacs-lisp/macroexp.el (macroexp--eval-if-compile): New function.
3604 (macroexp--expand-all): Use it to get better warnings.
3605 (macroexp--backtrace, macroexp--trim-backtrace-frame)
3606 (internal-macroexpand-for-load): New functions.
3607 (macroexp--pending-eager-loads): New var.
3608 (emacs-startup-hook): New hack to replace one in loadup.el.
3609 * emacs-lisp/cl-macs.el (cl--compiler-macro-list*)
3610 (cl--compiler-macro-cXXr): Move to top, before they can be used.
3611 (cl-psetf): Simplify.
3612 (cl-defstruct): Add indent rule.
3613
8ce192e3
LI
36142012-09-04 Lars Ingebrigtsen <larsi@gnus.org>
3615
3616 * mail/smtpmail.el (smtpmail-send-it): Prefer the From: header
3617 over `user-mail-address' for the SMTP MAIL FROM envelope.
3618 (smtpmail-via-smtp): Ditto.
3619
6578b4d8
DG
36202012-09-04 Dmitry Gutov <dgutov@yandex.ru>
3621
3622 * progmodes/ruby-mode.el: Clean up keybindings.
3623 (ruby-mode-map): Don't bind ruby-electric-brace,
3624 ruby-beginning-of-defun, ruby-end-of-defun, ruby-mark-defun,
3625 backward-kill-word, reindent-then-newline-and-indent.
3626 (ruby-mark-defun): Remove.
3627 (ruby-electric-brace): Remove. Obsoleted by electric-indent-chars.
3628 (ruby-mode): Set local beginning-of-defun-function and
3629 end-of-defun-function values.
3630
c5e28e39
MR
36312012-09-03 Martin Rudalics <rudalics@gmx.at>
3632
3633 * window.el (temp-buffer-window-setup-hook)
3634 (temp-buffer-window-show-hook): New hooks.
3635 (temp-buffer-window-setup, temp-buffer-window-show)
3636 (with-temp-buffer-window): New functions.
972debf2
SM
3637 (fit-window-to-buffer): Remove unused optional argument OVERRIDE.
3638 (special-display-popup-frame): Make sure the window used shows BUFFER.
c5e28e39
MR
3639
3640 * help.el (temp-buffer-resize-mode): Fix doc-string.
3641 (resize-temp-buffer-window): New optional argument WINDOW.
3642
3643 * files.el (recover-file, save-buffers-kill-emacs):
3644 * dired.el (dired-mark-pop-up): Use with-temp-buffer-window.
3645
73406194
MA
36462012-09-02 Michael Albinus <michael.albinus@gmx.de>
3647
3648 * eshell/em-unix.el (eshell/sudo): When we have an ad-hoc
3649 remote definition of `default-directory', ensure we can connect.
3650
63dd1c6f
JL
36512012-09-02 Juri Linkov <juri@jurta.org>
3652
3653 Toggle whitespace matching mode with M-s SPC.
3654 http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00008.html
3655
3656 * isearch.el (search-whitespace-regexp): Doc fix.
3657 Remove cons cell customization.
3658 (isearch-mode-map): Bind "\M-s " to isearch-toggle-lax-whitespace.
3659 (isearch-lax-whitespace, isearch-regexp-lax-whitespace):
3660 New variables.
3661 (isearch-forward, isearch-forward-regexp): Doc fix.
3662 (isearch-toggle-lax-whitespace): New command.
3663 (search-forward-lax-whitespace, search-backward-lax-whitespace)
3664 (re-search-forward-lax-whitespace)
3665 (re-search-backward-lax-whitespace): New functions.
3666 (isearch-whitespace-regexp): Remove function.
3667 (isearch-query-replace): Let-bind replace-search-function and
3668 replace-re-search-function.
3669 (isearch-occur): Let-bind search-spaces-regexp according to the
3670 value of isearch-lax-whitespace and isearch-regexp-lax-whitespace.
3671 (isearch-quote-char): Check isearch-regexp-lax-whitespace in the
3672 condition for C-q SPC.
3673 (isearch-search-fun-default): Use new functions mentioned above.
3674 (isearch-search-forward, isearch-search-backward): Remove functions.
3675 (isearch-search): Don't let-bind search-spaces-regexp.
3676 (isearch-lazy-highlight-space-regexp): Remove variable.
3677 (isearch-lazy-highlight-lax-whitespace)
3678 (isearch-lazy-highlight-regexp-lax-whitespace): New variables.
3679 (isearch-lazy-highlight-new-loop): Use them.
3680 (isearch-lazy-highlight-search): Don't let-bind search-spaces-regexp.
3681
af7dda05
CY
36822012-09-02 Chong Yidong <cyd@gnu.org>
3683
3684 * dired.el (dired-mode-map): Menu string fixes (Bug#11616).
3685
d67d3afd
GM
36862012-09-02 Glenn Morris <rgm@gnu.org>
3687
3688 * simple.el (undo): Tweak message in undo-only case. (Bug#12283)
3689
69678719
GM
36902012-09-01 Glenn Morris <rgm@gnu.org>
3691
3692 * term.el: Tidy up menu definitions.
3693 (term-mode-map): Use easymenu for In/Out, Complete menus.
3694 (term-pager-break-map): Initialize in the defvar.
3695 (term-terminal-menu, term-signals-menu): Define with easymenu.
3696 (term-terminal-menu): Also show it in line-mode. (Bug#11957)
3697 (term-pager-menu): New, extracted from term-process-pager.
3698 (term-mode, term-char-mode, term-process-pager): Use easymenu-add.
3699 (term-update-mode-line): Propertize line/char and page items.
3700 (term-process-pager): Move keymap initialization elsewhere.
3701
78dd6ab1
MR
37022012-09-01 Martin Rudalics <rudalics@gmx.at>
3703
3704 * window.el (switch-to-prev-buffer): Handle additional values of
3705 BURY-OR-KILL argument. Don't switch in minibuffer window.
3706 (switch-to-next-buffer): Don't switch in minibuffer window.
3707 (quit-restore-window): New function based on quit-window.
3708 Handle additional values of former KILL argument.
3709 (quit-window): Call quit-restore-window with appropriate
3710 interpretation of KILL argument.
3711 (display-buffer-below-selected): New buffer display action
3712 function.
3713
3d10e134
SM
37142012-09-01 Stefan Monnier <monnier@iro.umontreal.ca>
3715
3716 * minibuffer.el (completion-at-point-functions): Complete docstring
3717 (bug#12254).
3718
0e23ef9d
PE
37192012-09-01 Paul Eggert <eggert@cs.ucla.edu>
3720
3721 Better seed support for (random).
3722 * play/5x5.el, play/animate.el, play/cookie1.el, play/dissociate.el:
3723 * play/doctor.el, play/dunnet.el, play/gomoku.el, play/landmark.el:
3724 * play/mpuz.el, play/tetris.el, play/zone.el:
3725 * calc/calc-comb.el (math-init-random-base):
3726 * play/blackbox.el (bb-init-board):
3727 * play/life.el (life):
3728 * server.el (server-use-tcp):
3729 * type-break.el (type-break):
3730 Remove unnecessary call to (random t).
3731 * net/sasl.el (sasl-unique-id-function):
3732 Change (random t) to (random), now that the latter is more random.
3733 * play/life.el (life-initialized): Remove no-longer-needed var.
3734
862382df
MR
37352012-08-31 Alp Aker <alp.tekin.aker@gmail.com>
3736
3737 * window.el (switch-to-prev-buffer, switch-to-next-buffer):
3738 Consider frame's buffer predicate when choosing the buffer.
3739 (Bug#12081)
3740
262a66e1
RS
37412012-08-30 Richard Stallman <rms@gnu.org>
3742
3743 * simple.el (special-mode-map): Delete binding for `z'.
3744
f17e1d00
AS
37452012-08-30 Andreas Schwab <schwab@linux-m68k.org>
3746
3747 * progmodes/compile.el (compilation-always-kill): Doc fix.
3748
24777832
CY
37492012-08-30 Chong Yidong <cyd@gnu.org>
3750
3751 * window.el (display-buffer-reuse-frames): Make the obsolescence
3752 message more informative.
3753
69ba1f04
GM
37542012-08-30 Glenn Morris <rgm@gnu.org>
3755
3756 * paren.el (show-paren-delay):
3757 Add a :set function. Doc fix. (Bug#12297)
3758
f0019ede
MB
37592012-08-29 Martin Blais <blais@furius.ca> (tiny change)
3760
3761 * progmodes/compile.el (compilation-always-kill): New var.
3762 (compilation-start): Use it.
3763
35e62fc9
SM
37642012-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
3765
af070a1c
SM
3766 * simple.el (read-only-mode): Move from files.el for bootstrapping.
3767 * files.el (read-only-mode): Move to simple.el.
3768
35e62fc9
SM
3769 * files.el (read-only-mode): New minor mode.
3770 (toggle-read-only): Use it and mark obsolete.
3771 (find-file--read-only):
3772 * vc/vc.el (vc-next-action, vc-checkout):
3773 * vc/vc-cvs.el (vc-cvs-checkout):
3774 * obsolete/vc-mcvs.el (vc-mcvs-update):
3775 * ffap.el (ffap--toggle-read-only): Update callers.
3776
c2c43c23
MA
37772012-08-29 Michael Albinus <michael.albinus@gmx.de>
3778
3779 * eshell/esh-ext.el (eshell-external-command): Do not examine
972debf2
SM
3780 remote shell scripts.
3781 See <https://bugs.launchpad.net/ubuntu/+source/emacs23/+bug/1035790>.
c2c43c23
MA
3782
3783 * net/tramp-sh.el (tramp-remote-path): Add "/sbin" and
3784 "/usr/local/sbin".
3785
9fba804b
SM
37862012-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
3787
3788 * emacs-lisp/cl-lib.el (buffer-string): Fix setter macro (bug#12293).
3789
eada0861 37902012-08-28 Leo Liu <sdl.web@gmail.com>
22ab32ef 3791
806f0cc7
LL
3792 * progmodes/sh-script.el (sh-dynamic-complete-functions): Adapt to
3793 completion-at-point. (Bug#12220)
3794
3bb213b9
LL
3795 * skeleton.el (skeleton-untabify): Change to nil (bug#12223).
3796
22ab32ef
LL
3797 * progmodes/sh-script.el (sh-indent-comment): Change to t (bug#12267).
3798
eada0861 37992012-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
db148c21 3800
19c17fc1
CY
3801 * files.el (safe-local-eval-forms): Fix before-save-hook entry to
3802 be buffer-local; add delete-trailing-whitespace (bug#12259).
db148c21 3803
eada0861 38042012-08-28 Jeremy Moore <jmoore@ieee.org> (tiny change)
ffe6eaf1
JM
3805
3806 * progmodes/hideif.el (hif-compress-define-list):
3807 Fix typo. (Bug#11951)
3808
eada0861 38092012-08-28 Dan Nicolaescu <dann@gnu.org>
d30aca1b
DN
3810
3811 * progmodes/hideshow.el (hs-block-end-regexp): Restore lost
3812 buffer local setting.
3813
27d6c5a8
LL
3814 * net/rcirc.el (rcirc-split-message): Fix for buffer-local
3815 rcirc-encode-coding-system.
3816
eada0861 38172012-08-28 Leo Liu <sdl.web@gmail.com>
4432d2e2
LL
3818
3819 * net/rcirc.el (rcirc-split-message): New function.
3820 (rcirc-send-message): Use it. (Bug#12051)
3821
d44688e4
JL
38222012-08-28 Juri Linkov <juri@jurta.org>
3823
3824 * info.el (Info-fontify-node): Hide empty lines at the end of
3825 the node. (Bug#12272)
3826
34f10d41
MR
38272012-08-27 Drew Adams <drew.adams@oracle.com>
3828
3829 * dired.el (dired-pop-to-buffer): Make window start at beginning
3830 of buffer (Bug#12281).
3831
77f1f99c
CY
38322012-08-26 Chong Yidong <cyd@gnu.org>
3833
3834 * window.el (special-display-regexps, special-display-frame-alist)
3835 (special-display-buffer-names, special-display-function)
3836 (display-buffer-reuse-frames): Mark as obsolete.
3837
3838 * progmodes/compile.el: Don't use display-buffer-reuse-frames.
3839
3840 * help.el (help-print-return-message): Don't treat
3841 display-buffer-reuse-frames specially.
3842
d97af5a0
CY
38432012-08-26 Chong Yidong <cyd@gnu.org>
3844
9fba804b
SM
3845 * progmodes/gdb-mi.el (gdb-display-buffer-other-frame-action):
3846 New variable, replacing gdb-frame-parameters.
d97af5a0
CY
3847 (gdb-frame-io-buffer, gdb-frame-breakpoints-buffer)
3848 (gdb-frame-threads-buffer, gdb-frame-memory-buffer)
3849 (gdb-frame-disassembly-buffer, gdb-frame-stack-buffer)
3850 (gdb-frame-locals-buffer, gdb-frame-registers-buffer): Use it.
3851 (def-gdb-frame-for-buffer): Macro deleted. It is easier to define
3852 the functions directly with gdb-display-buffer-other-frame-action.
3853 (gdb-display-breakpoints-buffer, gdb-display-threads-buffer)
3854 (gdb-display-memory-buffer, gdb-display-disassembly-buffer)
3855 (gdb-display-stack-buffer, gdb-display-locals-buffer)
3856 (gdb-display-registers-buffer): Define directly.
3857 (def-gdb-display-buffer): Macro deleted.
3858 (gdb-display-buffer): Remove second and third args, callers don't
3859 use them. Defer to the default display-buffer behavior, apart
3860 from making windows dedicated.
3861 (gdb-setup-windows): Don't call display-buffer unnecessarily.
3862
3863 * progmodes/gud.el (gud-display-line): Just use display-buffer.
3864
3865 * window.el (display-buffer-pop-up-frame): Handle a
3866 pop-up-frame-parameters alist entry.
3867 (display-buffer): Document it.
3868
dd7ffad6
CY
38692012-08-26 Chong Yidong <cyd@gnu.org>
3870
3871 * isearch.el (search-whitespace-regexp): Make string and nil
3872 values apply to both ordinary and regexp search. Allow a cons
3873 cell value to distinguish between the two.
3874 (isearch-whitespace-regexp, isearch-search-forward)
3875 (isearch-search-backward): New functions.
3876 (isearch-occur, isearch-search-fun-default, isearch-search)
3877 (isearch-lazy-highlight-new-loop): Use them.
3878 (isearch-forward, isearch-forward-regexp): Doc fix.
3879
4c47bd1e
CY
38802012-08-26 Chong Yidong <cyd@gnu.org>
3881
3882 * faces.el (help-argument-name): Always inherit from italic
3883 (Bug#12213).
3884
9aba119d
MR
38852012-08-25 Martin Rudalics <rudalics@gmx.at>
3886
3887 * window.el (window--even-window-heights): Even heights when
3888 WINDOW and the selected window form a vertical combination.
3889 (display-buffer-use-some-window): Provide that window used gets
3890 sized back by quit-window. (Bug#11880) and (Bug#12091)
3891
ca5256ad
PE
38922012-08-24 Paul Eggert <eggert@cs.ucla.edu>
3893
3894 Fix file time stamp problem with bzr and CVS (Bug#12001).
3895 * vc/vc-cvs.el (vc-cvs-parse-entry): Ignore subsecond information
3896 in the file's time stamp, since the version control system loses
3897 that information.
3898
d1c0d176
JL
38992012-08-22 Juri Linkov <juri@jurta.org>
3900
3901 * info.el (Info-fontify-node): Hide the suffix of the
3902 Info file name in the header line. (Bug#12187)
3903
141562ff
GM
39042012-08-22 Glenn Morris <rgm@gnu.org>
3905
3906 * calendar/cal-tex.el (cal-tex-weekly-common):
3907 Restore leading blank page.
3908
61a48e19 39092012-08-22 Le Wang <l26wang@gmail.com> (tiny change)
add9ca2d
BG
3910
3911 * misc.el (forward-to-word, backward-to-word): Activate or extend
61a48e19
GM
3912 the region under `shift-select-mode'. (Bug#12231)
3913
39142012-08-22 Bastien Guerry <bzg@gnu.org>
0fcd3d9f
BG
3915
3916 * progmodes/executable.el (executable-prefix): Set to "#!" instead
3917 of "#! ". http://www.in-ulm.de/~mascheck/various/shebang/#details
3918 gives details on why the space is never needed.
3919
ea95074e
MR
39202012-08-22 Martin Rudalics <rudalics@gmx.at>
3921
9fba804b
SM
3922 * window.el (walk-window-tree, window-with-parameter):
3923 New optional argument MINIBUF to control whether these functions
ea95074e
MR
3924 should run on the minibuffer window.
3925 (window-at-side-list): Don't operate on minibuffer window.
3926 (window-in-direction): Simplify and rewrite doc-string.
9fba804b
SM
3927 (window--size-ignore): Rename to window--size-ignore-p.
3928 Update callers.
caceae25
MR
3929 (display-buffer-in-atom-window, window--major-non-side-window)
3930 (window--major-side-window, display-buffer-in-major-side-window)
9fba804b
SM
3931 (delete-side-window, display-buffer-in-side-window):
3932 New functions.
caceae25
MR
3933 (window--side-check, window-deletable-p, delete-window)
3934 (delete-other-windows, split-window): Handle side windows and
3935 atomic windows appropriately.
3936 (window--display-buffer): Call display-buffer-record-window also
3937 when the window buffer did not change.
ea95074e 3938
80a51fa0
CS
39392012-08-22 Christopher Schmidt <christopher@ch.ristopher.com>
3940
3941 * help-fns.el (help-fns--key-bindings):
3942 Abbreviate non-symbol remap targets. (Bug#12174)
3943
fbb6300b
MR
39442012-08-22 Martin Rudalics <rudalics@gmx.at>
3945
3946 * dired.el (dired-mark-remembered): Don't clobber point.
3947 (Bug#11795)
3948
2b2c0794
GM
39492012-08-22 Glenn Morris <rgm@gnu.org>
3950
3951 * progmodes/bug-reference.el (bug-reference): New custom group.
3952 (bug-reference-bug-regexp): Make it a defcustom.
3953
37219830
DU
39542012-08-22 Daiki Ueno <ueno@unixuser.org>
3955
3956 * progmodes/js.el (js-indent-level, js-expr-indent-offset)
3957 (js-paren-indent-offset, js-square-indent-offset)
3958 (js-curly-indent-offset): Add :safe (Bug#12257).
3959
94e0e559
EC
39602012-08-22 Edward O'Connor <hober0@gmail.com>
3961
3962 * json.el (json-key-format): Add error properties.
3963 (json-encode-key): New function.
3964 (json-encode-hash-table, json-encode-alist, json-encode-plist):
3965 Use json-encode-key.
3966
da485f5e
GM
39672012-08-22 Glenn Morris <rgm@gnu.org>
3968
3969 * calendar/cal-tex.el (cal-tex-longday): New function, replacing...
3970 (cal-tex-leftday, cal-tex-rightday): Remove functions.
3971 (cal-tex-weekly-common, cal-tex-cursor-filofax-2week):
3972 Update for above change.
3973
c6cc78b8
AS
39742012-08-21 Andreas Schwab <schwab@linux-m68k.org>
3975
3976 * cus-face.el (custom-face-attributes): Fix customize type for the
3977 :underline attribute. (Bug#11805)
3978
5481664a
MR
39792012-08-21 Martin Rudalics <rudalics@gmx.at>
3980
3981 * window.el (window-point-1, set-window-point-1): Remove.
3982 (window-in-direction, record-window-buffer)
3983 (set-window-buffer-start-and-point, split-window-below)
9fba804b
SM
3984 (window--state-get-1, display-buffer-record-window):
3985 Replace calls to window-point-1 and set-window-point-1 by calls to
5481664a
MR
3986 window-point and set-window-point respectively.
3987
6d74698e
GM
39882012-08-21 Glenn Morris <rgm@gnu.org>
3989
b7fa2691
GM
3990 * calendar/cal-tex.el (cal-tex-weekly-common): New function.
3991 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-week):
3992 Use it.
3993
52f56d5a
GM
3994 * calendar/cal-tex.el (cal-tex-rightday): Add optional funcname arg.
3995 (cal-tex-shortday): New function.
3996 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-week)
3997 (cal-tex-cursor-filofax-daily): Use the above.
3998
9f1ee09e
GM
3999 * calendar/cal-tex.el (cal-tex-leftday, cal-tex-rightday):
4000 New functions.
4001 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-2week)
4002 (cal-tex-cursor-filofax-week): Use them.
4003
79858159
GM
4004 * calendar/cal-tex.el (cal-tex-lefthead, cal-tex-righthead):
4005 New constants.
4006 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-2week)
4007 (cal-tex-cursor-filofax-week, cal-tex-cursor-filofax-daily): Use them.
4008
d346b2b4
GM
4009 * calendar/cal-tex.el (cal-tex-preamble): Generate new buffers.
4010 (cal-tex-end-document): Don't rely on buffer name.
4011
b2403709
GM
4012 * calendar/cal-tex.el (cal-tex-cursor-filofax-year):
4013 Use cal-tex-vspace.
4014 (cal-tex-vspace, cal-tex-hspace, cal-tex-em, cal-tex-bf)
4015 (cal-tex-Huge-bf, cal-tex-large-bf): Use cal-tex-cmd.
2d225a3a
GM
4016 (cal-tex-scriptsize, cal-tex-huge, cal-tex-Huge, cal-tex-large):
4017 Use cal-tex-arg.
b2403709 4018
1cebb5c0
GM
4019 * calendar/cal-tex.el (cal-tex-cursor-filofax-year)
4020 (cal-tex-cursor-week, cal-tex-cursor-week2)
4021 (cal-tex-cursor-week-iso, cal-tex-cursor-week-at-a-glance)
4022 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
4023 (cal-tex-cursor-filofax-daily, cal-tex-cursor-day)
4024 (cal-tex-insert-preamble, cal-tex-b-document)
4025 (cal-tex-e-document, cal-tex-b-center, cal-tex-e-center):
4026 Improve cal-tex-cmd usage.
4027
c68cd5d4
GM
4028 * calendar/cal-tex.el (cal-tex-filofax-paper): New function.
4029 (cal-tex-cursor-filofax-year, cal-tex-cursor-filofax-2week)
4030 (cal-tex-cursor-filofax-week, cal-tex-cursor-filofax-daily): Use it.
4031 (cal-tex-weekly-paper): New function.
4032 (cal-tex-cursor-week, cal-tex-cursor-week2)
4033 (cal-tex-cursor-week-iso, cal-tex-cursor-week-monday)
4034 (cal-tex-cursor-day): Use it.
4035
9dca4801
GM
4036 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance)
4037 (cal-tex-cursor-filofax-week): Remove leading blank page.
4038
1941e134
GM
4039 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance):
4040 Add autoload cookie. For now at least, don't use color, since
4041 no other cal-tex function does.
4042
6d74698e
GM
4043 * calendar/cal-tex.el (cal-tex-cursor-week-iso)
4044 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
4045 (cal-tex-cursor-filofax-daily): Correct start date for diary entries.
4046
64cde199
JL
40472012-08-21 Juri Linkov <juri@jurta.org>
4048
4049 * info.el (Info-file-attributes): New variable.
4050 (info-insert-file-contents): Add file attributes to
4051 `Info-file-attributes'. Clear the caches `Info-index-nodes' and
4052 `Info-toc-nodes' when previous modtime of the Info file is less
4053 than new modtime.
4054 (Info-toc-nodes, Info-index-nodes): Move definitions up to the top
4055 of info.el. (Bug#12230)
4056
32757648
GM
40572012-08-20 Glenn Morris <rgm@gnu.org>
4058
4059 * calendar/diary-lib.el (diary-include-files, diary-sexp-entry):
4060 * calendar/holidays.el (calendar-holiday-list):
4061 Report errors with display-warning rather than beep'n'sleep.
4062
a32fbbcf
MA
40632012-08-20 Michael Albinus <michael.albinus@gmx.de>
4064
4065 * net/tramp.el (tramp-accept-process-output): Accept only output
4066 from PROC. Otherwise, process filters and sentinels might be
4067 confused. (Bug#12145)
4068
a05731a0
CY
40692012-08-20 Chong Yidong <cyd@gnu.org>
4070
4071 * descr-text.el (describe-text-properties-1): Use overlays-in to
4072 report on empty overlays (Bug#3322).
4073
36e8d1eb
GM
40742012-08-20 Glenn Morris <rgm@gnu.org>
4075
3d300447
GM
4076 * mail/rmailout.el (rmail-output-read-file-name):
4077 Trap and report errors in rmail-output-file-alist elements.
4078
36e8d1eb
GM
4079 * font-lock.el (font-lock-add-keywords): Doc fix (quote face names
4080 since most non-font-lock faces are not also variables).
4081
b96e5814
ER
40822012-08-20 Edward Reingold <reingold@iit.edu>
4083
4084 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance):
4085 New function. (Bug12160)
4086
7cef3569
GM
40872012-08-19 Glenn Morris <rgm@gnu.org>
4088
4089 * mail/rmailout.el (rmail-output-read-file-name):
4090 Fix previous change (when the alist is nil or does not match).
4091
17975d7f
CY
40922012-08-19 Chong Yidong <cyd@gnu.org>
4093
4094 * xml.el (xml-escape-string): Don't refer to xml-entity-alist
4095 (Bug#12228).
4096
2170b1bd
CY
40972012-08-18 Chong Yidong <cyd@gnu.org>
4098
4099 * simple.el (yank-handled-properties): New defcustom.
4100 (yank-excluded-properties): Add font-lock-face and category.
4101 (yank): Doc fix.
4102
9fba804b
SM
4103 * subr.el (remove-yank-excluded-properties):
4104 Obey yank-handled-properties. The special handling of font-lock-face
2170b1bd
CY
4105 and category is now done this way, instead of being hard-coded.
4106 (insert-for-yank-1): Remove font-lock-face handling.
4107 (yank-handle-font-lock-face-property)
4108 (yank-handle-category-property): New function.
4109
ee218151
GM
41102012-08-17 Glenn Morris <rgm@gnu.org>
4111
4112 * mail/rmailout.el (rmail-output-read-file-name):
4113 Check rmail-output-file-alist against the full message body
4114 in the correct rmail buffer. (Bug#12214)
4115
4a6bc3fd
MA
41162012-08-17 Michael Albinus <michael.albinus@gmx.de>
4117
9fba804b
SM
4118 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
4119 Eliminate superfluous prompt. (Bug#12203)
4a6bc3fd 4120
383dcbf9
CY
41212012-08-17 Chong Yidong <cyd@gnu.org>
4122
4123 * mouse.el (mouse-appearance-menu): If x-select-font returns a
4124 font spec, set the font directly (Bug#3228).
4125
998c4a6a
MR
41262012-08-17 Martin Rudalics <rudalics@gmx.at>
4127
4128 * window.el (delete-window): Fix last fix.
4129
52162052
MR
41302012-08-16 Martin Rudalics <rudalics@gmx.at>
4131
4132 * window.el (window-valid-p): Move to window.c.
85c2386b
MR
4133 (window-child, window-child-count, window-last-child)
4134 (window-normalize-window, window-combined-p)
4135 (window-combinations, window-atom-root, window-min-size)
4136 (window-sizable, window-sizable-p, window-size-fixed-p)
4137 (window-min-delta, window-max-delta, window--resizable)
4138 (window--resizable-p, window-resizable, window-total-size)
4139 (window-full-height-p, window-full-width-p, window-body-size)
4140 (window-at-side-p, adjust-window-trailing-edge, maximize-window)
4141 (minimize-window, window-deletable-p, delete-window)
4142 (delete-other-windows, set-window-buffer-start-and-point)
4143 (next-buffer, previous-buffer, split-window, balance-windows-2)
4144 (set-window-text-height, window-buffer-height)
4145 (fit-window-to-buffer, shrink-window-if-larger-than-buffer)
9fba804b
SM
4146 (truncated-partial-width-window-p): Minor code adjustments.
4147 In doc-strings state whether the argument window has to denote a
85c2386b 4148 live, valid or any window.
52162052 4149
1c308380
PS
41502012-08-16 Phil Sainty <psainty@orcon.net.nz> (tiny change)
4151
4152 * progmodes/subword.el (subword-forward-function)
4153 (subword-backward-function, subword-forward-regexp)
4154 (subword-backward-regexp): New variables.
4155 (subword-forward, subword-forward-internal, subword-backward-internal):
4156 Use new variables, eg so that different "word" definitions
4157 can be easily used. (Bug#11411)
4158
94c9ece1
SM
41592012-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
4160
4161 * vc/vc-mtn.el (vc-mtn-revision-completion-table): Handle completion
4162 for composite selectors.
4163 * vc/vc.el (vc-diff-build-argument-list-internal): Don't prevent
4164 operation just because we can't find a previous revision.
4165
f2045622
CY
41662012-08-15 Chong Yidong <cyd@gnu.org>
4167
4168 * frame.el (set-frame-font): Accept font objects.
4169
582db660
SM
41702012-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
4171
4172 * textmodes/tex-mode.el (tex-insert-quote): ~ is a space (bug#12137).
4173
2f29c200
WJ
41742012-08-15 Wolfgang Jenkner <wjenkner@inode.at>
4175
456e62c2
WJ
4176 * man.el (Man-overstrike-face, Man-underline-face)
4177 (Man-reverse-face): Remove variables.
4178 (Man-overstrike, Man-underline, Man-reverse): New faces.
4179 (Man-fontify-manpage): Use them instead of the variables.
4180 (Man-cleanup-manpage): Comment change.
4181 (Man-ansi-color-map): New variable.
4182 (Man-fontify-manpage): Use it.
4183 Call ansi-color-apply-on-region to replace ad hoc code (bug#12147).
4184
2f29c200
WJ
4185 Implement ANSI SGR parameters 22-27 (bug#12146).
4186 * ansi-color.el (ansi-colors): Doc fix.
4187 (ansi-color-context, ansi-color-context-region): Doc fix.
4188 (ansi-color--find-face): New function.
4189 (ansi-color-apply, ansi-color-apply-on-region): Use it.
4190 Rename the local variable `face' to `codes' since it is now a list of
4191 ansi codes. Doc fix.
4192 (ansi-color-get-face): Remove.
4193 (ansi-color-parse-sequence): New function, derived from
4194 ansi-color-get-face.
4195 (ansi-color-apply-sequence): Use it. Rewrite, and support ansi
4196 codes 22-27.
4197
b4f5e9df
SM
41982012-08-14 Stefan Monnier <monnier@iro.umontreal.ca>
4199
4200 * subr.el (read-passwd): Allow use from a minibuffer.
4201
ba025fbd
EZ
42022012-08-14 Eli Zaretskii <eliz@gnu.org>
4203
4204 * tooltip.el (tooltip-identifier-from-point): Don't treat tokens
4205 inside comments and strings as identifiers.
4206
4207 * progmodes/gud.el (gud-tooltip-print-command): Quote the
4208 expression to evaluate. This allows to evaluate expressions with
4209 embedded whitespace.
4210 (gud-tooltip-tips): Add a blank before the newline in the
4211 message-box text, for the benefit of message-box emulation on
4212 MS-Windows.
4213
4214 * progmodes/gdb-mi.el (gdb-tooltip-print): Don't ignore error
4215 messages from GDB, pop them up in a tooltip to give feedback to
4216 user.
b4f5e9df
SM
4217 (gdb-tooltip-print-1): Quote the expression to evaluate.
4218 This allows to evaluate expressions with embedded whitespace.
ba025fbd
EZ
4219 (gdb-inferior-io--init-proc): Don't send "-inferior-tty" command
4220 if the TTY name is nil or empty (which happens when communicating
4221 with the inferior via pipes, e.g. on MS-Windows).
4222 (gdb-internals): If GDB sends a "&\n" empty debugging message,
4223 don't send that to the GUD buffer.
4224
c548f821
GM
42252012-08-14 Glenn Morris <rgm@gnu.org>
4226
4227 * emacs-lisp/bytecomp.el (byte-compile-setq-default):
4228 Optimize away setq-default with no args, as for setq. (Bug#12195)
4229
55802e4a
CY
42302012-08-14 Chong Yidong <cyd@gnu.org>
4231
4abcdac8
CY
4232 * minibuffer.el (read-file-name): Doc fix (Bug#10881).
4233
55802e4a
CY
4234 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Doc fix
4235 (Bug#12085).
4236
3c3cda1a
GM
42372012-08-14 Glenn Morris <rgm@gnu.org>
4238
4239 * emacs-lisp/bytecomp.el (byte-recompile-file): Doc fix.
4240
e1873bd0
MA
42412012-08-14 Michael Albinus <michael.albinus@gmx.de>
4242
4243 * net/tramp-sh.el (tramp-open-shell): Cache the shell name.
4244 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
4245 Use cached shell name.
4246
925411b4
FEG
42472012-08-14 Fabián Ezequiel Gallina <fgallina@cuca>
4248
4249 * progmodes/python.el (python-shell-send-string):
3c3cda1a 4250 (python-shell-send-setup-code): Do not use `format' with `message'.
925411b4 4251
e636fafe
DG
42522012-08-14 Dmitry Gutov <dgutov@yandex.ru>
4253
4254 * progmodes/ruby-mode.el: Improve percent literals (bug#6286).
4255 (ruby-percent-literal-beg-re): New constant.
4256 (ruby-syntax-general-delimiters-goto-beg): Rename to
4257 `ruby-syntax-enclosing-percent-literal', improve literal type check.
4258 (ruby-syntax-propertize-general-delimiters): Rename to
4259 `ruby-syntax-propertize-percent-literal', it's a shorter and more
4260 popular term. Adjust comments everywhere.
4261 (ruby-syntax-propertize-percent-literal): Only propertize when not
4262 inside a simple string or comment. When the literal is unclosed,
4263 leave the text after it unpropertized.
f063063a
DG
4264 (ruby-syntax-methods-before-regexp): New constant.
4265 (ruby-syntax-propertize-function): Use it to recognize regexps.
4266 Don't look at the text after regexp, just use the whitelist.
e636fafe 4267
e5b19827
AS
42682012-08-14 Andreas Schwab <schwab@linux-m68k.org>
4269
4270 * emacs-lisp/bytecomp.el (byte-recompile-file): When LOAD is
4271 non-nil always load the compiled file if it exists. (Bug#12197)
4272
a9f6f311
CY
42732012-08-14 Chong Yidong <cyd@gnu.org>
4274
4275 * hi-lock.el (hi-lock-mode): Do not unilaterally enable font lock.
4276 (hi-lock-set-pattern): When deciding whether to use font lock or
4277 overlays, look at font-lock-mode instead of font-lock-fontified
4278 (Bug#12168).
4279 (hi-lock-mode, hi-lock-line-face-buffer, hi-lock-unface-buffer)
4280 (hi-lock-face-buffer, hi-lock-face-phrase-buffer): Doc fix.
4281
7d806b1e
DU
42822012-08-14 Daiki Ueno <ueno@unixuser.org>
4283
4284 * subr.el (internal--after-with-selected-window): Fix typo
4285 (Bug#12193).
4286
5beed586
FEG
42872012-08-14 Fabián Ezequiel Gallina <fgallina@cuca>
4288
4289 Use `completion-table-dynamic' for completion functions.
4290 * progmodes/python.el
4291 (python-shell-completion--do-completion-at-point)
e636fafe
DG
4292 (python-shell-completion--get-completions):
4293 Remove functions.
5beed586
FEG
4294 (python-shell-completion-complete-at-point): New function.
4295 (python-completion-complete-at-point): Use it.
4296
92cb3b04
J
42972012-08-13 Jambunathan K <kjambunathan@gmail.com>
4298
4299 * vc/vc-dir.el (vc-dir-hide-state): New command (bug#12159).
4300 (vc-dir-hide-up-to-date): Route it to `vc-dir-hide-state'.
4301
89660017
SM
43022012-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
4303
3c98c962
SM
4304 * subr.el (function-get): Refine `autoload' arg so it can also
4305 autoload functions for gv.el (bug#12191).
4306 * emacs-lisp/edebug.el (get-edebug-spec): Adjust so it only
4307 autoloads macros.
4308
aa7c6dbe
SM
4309 * color.el (color-xyz-to-lab, color-lab-to-xyz, color-cie-de2000):
4310 Prefer pcase-let over destructuring-bind.
4311 * vc/diff-mode.el (diff-remove-trailing-whitespace): Same.
4312 Also, remove whitespace as we go, rather than after accumulating the
4313 various places.
4314
89660017
SM
4315 * subr.el (internal--before-with-selected-window)
4316 (internal--after-with-selected-window): Fix typo seleted->selected.
4317 (with-selected-window): Adjust callers.
4318 Reported by Dmitry Gutov <dgutov@yandex.ru>.
4319
31cd32c9
BG
43202012-08-13 Bastien Guerry <bzg@gnu.org>
4321
0fcd3d9f 4322 * window.el (special-display-popup-frame): Minor docstring
31cd32c9
BG
4323 enhancement. (Bug#12172)
4324
1b15d8ad
AS
43252012-08-13 Andreas Schwab <schwab@linux-m68k.org>
4326
31e54db0
AS
4327 * tar-mode.el (tar-header-data-end): Only ignore size for files of
4328 type 1-6.
4329 (tar-header-block-summarize, tar-get-descriptor): Handle pax
4330 extended headers.
4331
1b15d8ad
AS
4332 * files.el (hack-local-variables-filter): Remove useless eval.
4333
35cb9c06
MR
43342012-08-13 Martin Rudalics <rudalics@gmx.at>
4335
4336 * subr.el (with-selected-window): Fix last change.
4337
1439443b
SM
43382012-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
4339
4340 * subr.el (internal--before-with-seleted-window)
4341 (internal--after-with-seleted-window): New functions.
1b15d8ad
AS
4342 (with-selected-window): Use them, to replace dependency on
4343 tty-top-frame.
1439443b 4344
0d9e2599
NN
43452012-08-12 Nobuyoshi Nakada <nobu@ruby-lang.org>
4346
4347 * progmodes/ruby-mode.el (ruby-mode-map): Remove unnecessary
4348 binding for `newline'.
4349 (ruby-move-to-block): When moving backward, stop at block opening,
4350 not indentation.
4351 * progmodes/ruby-mode.el (ruby-brace-to-do-end)
4352 (ruby-do-end-to-brace, ruby-toggle-block): New functions.
4353 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
4354 `ruby-toggle-block'.
4355
ba10c48c
SM
43562012-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
4357
4358 * ibuffer.el (ibuffer-do-toggle-read-only):
4359 * dired.el (dired-toggle-read-only):
4360 * buff-menu.el (Buffer-menu-toggle-read-only):
4361 * bindings.el (mode-line-toggle-read-only):
4362 * bs.el (bs-toggle-readonly): Call toggle-read-only interactively.
4363
9229c658
AS
43642012-08-12 Andreas Schwab <schwab@linux-m68k.org>
4365
4366 * descr-text.el (describe-char): Put the overlays over the
4367 "displayed as" character.
4368
0fd09128
JB
43692012-08-12 Jay Belanger <jay.p.belanger@gmail.com>
4370
4371 * calc/calc-units.el (math-default-units-table): Give an
4372 initial value.
4373 (math-put-default-units): Add options to put composite units and
4374 unit systems in the default units table.
4375 (calc-convert-units): Send composite units to
4376 `math-put-default-units' when appropriate.
4377
9ff9402d 43782012-08-11 Glenn Morris <rgm@gnu.org>
7aacaf15 4379
fbb5e336
GM
4380 * emacs-lisp/copyright.el (copyright-update-directory): Logic fix.
4381
7aacaf15
GM
4382 * tutorial.el (help-with-tutorial):
4383 * emacs-lisp/copyright.el (copyright-update-directory):
4384 * emacs-lisp/autoload.el (autoload-find-generated-file)
4385 (autoload-find-file): Disable local eval: (for insurance).
4386
f40b9f10
GM
4387 * files.el (hack-local-variables-filter): If an eval: form is not
4388 known to be safe, and enable-local-variables is :safe, then ignore
4389 the form totally, as is done for non-eval forms. (Bug#12155)
6f97980a 4390 This is CVE-2012-3479.
f40b9f10 4391
daa9f1a6
SM
43922012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
4393
4394 * emacs-lisp/rx.el (rx-constituents): Don't define as constant.
4395 (rx-form): Simplify.
4396
9cd80478
DG
43972012-08-09 Dmitry Gutov <dgutov@yandex.ru>
4398
0d9e2599
NN
4399 * progmodes/ruby-mode.el (ruby-expr-beg, ruby-parse-partial):
4400 ?, _, and : are symbol constituents, ! is not (but kinda should be).
4401 (ruby-syntax-propertize-heredoc): Use ruby-singleton-class-p.
4402 (ruby-syntax-propertize-function): Adjust for changes in
4403 `ruby-syntax-propertize-heredoc'.
4404
44052012-08-09 Nobuyoshi Nakada <nobu@ruby-lang.org>
4406
9cd80478
DG
4407 * progmodes/ruby-mode.el (ruby-mode-map): Remove deprecated
4408 binding (use `M-;' instead).
9cd80478 4409 (ruby-singleton-class-p): New function.
0d9e2599 4410 (ruby-expr-beg, ruby-in-here-doc-p) Use it.
9cd80478 4411
d301b413
SM
44122012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
4413
4414 * emacs-lisp/cl-macs.el (cl-loop): Improve debug spec.
4415
1530c98e
CY
44162012-08-10 Chong Yidong <cyd@gnu.org>
4417
4418 * progmodes/python.el (python-shell-get-process-name): Don't mess
4419 with same-window-buffer-names.
4420
4421 * eshell/eshell.el (eshell-add-to-window-buffer-names)
4422 (eshell-remove-from-window-buffer-names): Make obsolete.
4423 (eshell-buffer-name, eshell-unload-hook): Don't use them.
4424 (eshell): Just use pop-to-buffer-same-window instead.
4425
e1293765
CY
44262012-08-10 Chong Yidong <cyd@gnu.org>
4427
4428 * bindings.el: Bind M-= back to count-words-region.
4429
4430 * simple.el (count-words-region): Accept a prefix arg for acting
4431 on the entire buffer.
4432 (count-words--buffer-message): New helper function.
4433
e1894109
SM
44342012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
4435
4436 * term/x-win.el (x-menu-bar-open): Always pass last-nonmenu-event.
4437 * subr.el (eventp): `nil' is not an event, and eventp is not hot.
4438 (event-start, event-end): Use posn-at-point to return a more
4439 informative posn.
4440 (posnp): New function.
4441 * mouse.el (popup-menu-normalize-position): Use it.
4442
c69f56a2
MY
44432012-08-10 Masatake YAMATO <yamato@redhat.com>
4444
4445 * mouse.el (popup-menu-normalize-position): New function.
4446 (popup-menu): Use `popup-menu-normalize-position' to normalize
4447 the form for POSITION argument.
4448
4449 * term/x-win.el (x-menu-bar-open):
4450 Use the value returend from (posn-at-point) as position
4451 passed to `popup-menu'.
4452
31673780
JB
44532012-08-09 Jay Belanger <jay.p.belanger@gmail.com>
4454
4455 * calc/calccomp.el (math-compose-expr): Add extra argument
4456 indicating that parentheses should be put around products in
4457 denominators. Give multiplication precedence over division during
4458 composition.
4459
dab7711b
CY
44602012-08-09 Chong Yidong <cyd@gnu.org>
4461
dee4ef93
CY
4462 * man.el (Man-switches, Man-sed-command, Man-awk-command)
4463 (Man-mode-hook, Man-cooked-hook, Man-untabify-command-args)
4464 (Man-untabify-command, manual-program): Convert to defcustom
4465 (Bug#10429).
4466
73e2bbc5
CY
4467 * vc/add-log.el (change-log-mode): Bind comment-start to nil.
4468
3e861c8a
CY
4469 * descr-text.el (describe-char): Don't insert extra newlines
4470 (Bug#10127).
4471
a9f5a649
CY
4472 * vc/log-view.el (log-view-diff): Use use-region-p (Bug#10133).
4473 (log-view-diff-changeset, log-view-minor-wrap): Likewise.
4474
dab7711b
CY
4475 * align.el (align-region): Delete temporary markers (Bug#10047).
4476 Plus some code cleanups.
4477
e0cc4efa
FEG
44782012-08-09 Fabián Ezequiel Gallina <fgallina@cuca>
4479
4480 * progmodes/python.el (python-pdbtrack-tracked-buffer)
4481 (python-pdbtrack-buffers-to-kill, python-shell-internal-buffer)
4482 (python-shell-internal-last-output): Use make-local-variable
4483 instead of make-variable-buffer-local.
4484
489af14f
FEG
44852012-08-09 Fabián Ezequiel Gallina <fgallina@cuca>
4486
4487 * progmodes/python.el: Enhancements to forward-sexp.
4488 (python-nav-forward-sexp): Rename from
4489 python-nav-forward-sexp-function.
c69f56a2
MY
4490 (python-nav--forward-sexp, python-nav--backward-sexp):
4491 New functions.
489af14f 4492
0fc50303
JB
44932012-08-09 Jay Belanger <jay.p.belanger@gmail.com>
4494
4495 * calc/calc-menu.el (calc-modes-menu): Add entries for matrix
4496 modes and simplification modes.
4497
5d65606a
SM
44982012-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
4499
4500 * delsel.el (delete-selection-pre-hook): Don't propagate the
4501 file-supersession signals (bug#12161).
4502
4250fdf5
SM
45032012-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
4504
4505 * emacs-lisp/cl.el (cl-map-keymap-recursively, cl-map-intervals)
4506 (cl-map-extents): Add compatibility aliases (bug#12135).
4507
d9f9b465
MA
45082012-08-08 Michael Albinus <michael.albinus@gmx.de>
4509
4510 * net/tramp-sh.el (tramp-find-file-exists-command): Protect the
4511 tests by `ignore-error'.
4512 (tramp-find-shell): Open also a new shell, when cache is already
4513 set. Reported by Carsten Bormann <cabo@tzi.org>. (Bug#12148)
4514
ce0fcefa
JL
45152012-08-08 Juri Linkov <juri@jurta.org>
4516
4517 * bookmark.el: Add `defaults' property to the bookmark record.
4518 (bookmark-current-buffer): Doc fix.
4519 (bookmark-make-record): Add `defaults' property with default values
4520 to the bookmark record.
4521 (bookmark-minibuffer-read-name-map): Remove key binding "\C-u"
4522 with `bookmark-insert-current-bookmark'.
4523 (bookmark-set): Get `defaults' property from the bookmark record
4524 and use it in `read-from-minibuffer'.
4525 (bookmark-insert-current-bookmark): Remove function.
4526
4527 * info.el (Info-bookmark-make-record): Add `defaults' property
4528 with values of canonical Info node name, the current Info file
4529 name and the current Info node name. (Bug#12107)
4530
53fa8652
JL
45312012-08-08 Juri Linkov <juri@jurta.org>
4532
4533 * files.el (basic-save-buffer): Use `buffer-name' as the default
4534 of `read-file-name' when buffer is not visiting a file (bug#12128).
4535
242c0a95
JL
45362012-08-08 Juri Linkov <juri@jurta.org>
4537
4538 * info.el (Info-isearch-search): Doc fix.
4539 (Info-search): Change search-failed message from "initial node" to
4540 "end of node" (bug#12078).
4541 (Info-isearch-search): Change `isearch-string-state' to
4542 `isearch--state-string'.
4543
32ac3a6b
GM
45442012-08-08 Glenn Morris <rgm@gnu.org>
4545
4546 * language/persian.el: Remove file.
f8c1afd5 4547 * language/misc-lang.el: Move unique part of persian.el here.
32ac3a6b
GM
4548 * loadup.el: Remove language/persian.
4549
2c2d9c9c
OF
45502012-08-08 Óscar Fuentes <ofv@wanadoo.es>
4551
4552 * vc/diff-mode.el (diff-remove-trailing-whitespace): New function.
4553
2d79ec42
FEG
45542012-08-08 Fabián Ezequiel Gallina <fgallina@cuca>
4555
4556 * progmodes/python.el Fixed defsubst warning.
4557 (python-syntax-context) Rename from python-info-ppss-context.
4558 (python-syntax-context-type): Rename from
4559 python-info-ppss-context-type.
4560 (python-syntax-comment-or-string-p): Rename from
4561 python-info-ppss-comment-or-string-p.
4562
2bd255dd
JB
45632012-08-08 Jay Belanger <jay.p.belanger@gmail.com>
4564
4565 * calc/calc-misc.el (calc-record-why): Don't record a message twice.
4566
c395097f
AS
45672012-08-07 Andreas Schwab <schwab@linux-m68k.org>
4568
6125983e
AS
4569 * emacs-lisp/lisp-mode.el (eval-defun-1): Handle standard value of
4570 a defcustom that is quoted with backquote.
4571
4250fdf5
SM
4572 * calc/calc-prog.el (math-do-defmath): Use backquote forms.
4573 Fix handling of interactive spec when the body uses return.
651eaf36
AS
4574 (math-do-arg-check, math-define-function-body): Use backquote forms.
4575 * calc/calc-ext.el (math-defcache): Likewise.
4576 * calc/calc-rewr.el (math-rwfail, math-rweval): Likewise.
4577 * allout.el (allout-new-exposure): Likewise.
4578 * calc/calcalg2.el (math-tracing-integral): Likewise.
4579 * info.el (Info-last-menu-item): Likewise.
4580 * emulation/vip.el (vip-loop): Likewise.
4581 * textmodes/artist.el (artist-funcall): Likewise.
4582 * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle):
4583 Construct menu-item directly.
4584
4250fdf5
SM
4585 * progmodes/autoconf.el (font-lock-syntactic-keywords):
4586 Don't declare.
c395097f 4587
5fb50dd3
CY
45882012-08-07 Chong Yidong <cyd@gnu.org>
4589
4590 * simple.el (deactivate-mark): Preserve text properties when
4591 saving the primary selection (Bug#8384).
4592
54eea618
KR
45932012-08-07 Kevin Ryde <user42@zip.com.au>
4594
4595 * woman.el (woman0-if): Quietly treat ".if v" as false (Bug#12109).
4596 (woman-parse-numeric-value): On a bad .IP line, issue a warning
4597 and continue processing (Bug#12110).
4598
638eaeb9
SM
45992012-08-06 Stefan Monnier <monnier@iro.umontreal.ca>
4600
4601 * progmodes/cperl-mode.el (cperl-mode): Yet another fix for
4602 syntax-propertize-function (bug#10095).
4603
ea376861
SM
46042012-08-06 Stefan Monnier <monnier@iro.umontreal.ca>
4605
f91b35be
SM
4606 * help-fns.el (help-fns--key-bindings, help-fns--signature)
4607 (help-fns--parent-mode, help-fns--obsolete): New funs, extracted from
4608 describe-function-1.
4609 (describe-function-1): Use them. Move compiler macro after sig.
4610 (help-fns--compiler-macro): Use function-get. Assume we're already in
4611 standard-output. Adjust layout to new call order.
4612
ea376861
SM
4613 * emacs-lisp/cl-macs.el (cl--sm-macroexpand): Fix handling of
4614 re-binding a symbol that has a symbol-macro (bug#12119).
4615
d5be7bd0
MB
46162012-08-06 Mohsen BANAN <libre@mohsen.1.banan.byname.net>
4617
4618 * language/persian.el: New file. (Bug#11812)
4619 * loadup.el: Add language/persian.el.
4620
90749b53
CY
46212012-08-06 Chong Yidong <cyd@gnu.org>
4622
4623 * window.el (window--maybe-raise-frame): New function.
4624 (window--display-buffer): Split off from here.
4625 (display-buffer-reuse-window, display-buffer-pop-up-frame)
4626 (display-buffer-pop-up-window, display-buffer-use-some-window):
4627 Obey an inhibit-switch-frame action alist entry.
4628 (display-buffer): Update doc.
4629
4630 * replace.el (occur-after-change-function): Avoid losing focus by
4631 using the inhibit-switch-frame display parameter (Bug#12139).
4632
ba7b0154
FEG
46332012-08-06 Fabián Ezequiel Gallina <fgallina@cuca>
4634
4635 Make internal shell process buffer names start with space.
4636 * progmodes/python.el (python-shell-make-comint): Add optional
4637 argument INTERNAL.
4638 (run-python-internal): Use it.
4639 (python-shell-internal-get-or-create-process): Check for new
4640 internal buffer names.
4641
5eaeacb5
GM
46422012-08-06 Glenn Morris <rgm@gnu.org>
4643
e296d94b 4644 * eshell/esh-ext.el (eshell/addpath): Use dolist and mapconcat.
5eaeacb5
GM
4645 Do less getting and setting of environment variables.
4646
b7ccbdc2
CY
46472012-08-05 Chong Yidong <cyd@gnu.org>
4648
777fe95e
CY
4649 * proced.el (proced): Add substitution string to docstring to
4650 trigger autoloading of the proced library on C-h f (Bug#1768).
4651
4250fdf5
SM
4652 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
4653 Don't show defvars which have no second argument (Bug#8638).
b7ccbdc2
CY
4654
4655 * imenu.el (imenu-generic-expression): Move documentation here
4656 from imenu--generic-function.
4657 (imenu--generic-function): Refer to imenu-generic-expression.
4658
9e3b7800 46592012-08-05 Vegard Øye <vegard_oye@hotmail.com> (tiny change)
d5c31f1d
4660
4661 * emulation/viper-init.el (viper-deflocalvar): Add docstring and
4662 indentation declaration.
4663 (viper-loop): Add indentation declaration (Bug#7025).
4664
e5d9c0d1
CY
46652012-08-05 Chong Yidong <cyd@gnu.org>
4666
f0422feb
CY
4667 * help-fns.el (describe-variable): Add hyperlink for
4668 directory-local variables files. Improve buffer-local and
4669 permanent-local reporting; suggested by MON KEY (Bug#6644).
4670
4671 * help-mode.el (help-dir-local-var-def): New button type.
4672
e5d9c0d1
CY
4673 * files.el (kill-buffer-hook): Provide a defvar.
4674
a4f2deaa
GM
46752012-08-05 Glenn Morris <rgm@gnu.org>
4676
4677 * eshell/esh-ext.el (eshell/addpath):
4678 Also update eshell-path-env. (Bug#12013)
4679
a9dd5754
CY
46802012-08-05 Chong Yidong <cyd@gnu.org>
4681
a4f2deaa 4682 * wdired.el (wdired-mode, wdired-change-to-wdired-mode): Doc fixes.
615b0bf0 4683
d014c740
CY
4684 * fringe.el (fringe-styles): Add docstring.
4685 (fringe--check-mode): New function.
4686 (set-fringe-mode, set-fringe-style): Use it.
4687 (fringe-mode, set-fringe-style): Doc fixes (Bug#6480).
4688
a9dd5754
CY
4689 * files.el (set-auto-mode): Fix invalid setq call.
4690
7c2dc8bd
SM
46912012-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
4692
4693 * isearch.el: Misc simplification; use defstruct.
4694 (isearch-mode-map): Dense maps now work like sparse ones.
4695 (isearch--state): New defstruct.
4696 (isearch-string-state, isearch-message-state, isearch-point-state)
4697 (isearch-success-state, isearch-forward-state)
4698 (isearch-other-end-state, isearch-word-state, isearch-error-state)
4699 (isearch-wrapped-state, isearch-barrier-state)
4700 (isearch-case-fold-search-state, isearch-pop-fun-state): Remove,
4701 replaced by defstruct's accessors.
4702 (isearch--set-state): Rename from isearch-top-state and change
4703 calling convention.
4704 (isearch-push-state): Use new isearch--get-state.
4705 (isearch-toggle-word): Disable regexp when enabling word.
4706 (isearch-message-prefix): Remove unused arg _c-q-hack.
4707 (isearch-message-suffix): Remove unused arg _ellipsis.
4708
7fcc0070
AS
47092012-08-04 Andreas Schwab <schwab@linux-m68k.org>
4710
4711 * simple.el (list-processes--refresh): For a server use :host or
4712 :local as the address.
97ad0769 4713 (list-processes): Doc fix.
7fcc0070 4714
a11035b8 47152012-08-04 Michal Nazarewicz <mina86@mina86.com>
00340faf
MN
4716
4717 * lisp/mpc.el: Support password in host argument.
4718 (mpc--proc-connect): Parse and use new password element.
4719 Set mpc-proc variable instead of returning process.
4720 (mpc-proc): Adjust accordingly.
4721
6dad7178
EZ
47222012-08-03 Eli Zaretskii <eliz@gnu.org>
4723
18949c2f
EZ
4724 * whitespace.el (whitespace-display-mappings): Use Unicode
4725 codepoints, instead of emacs-mule codepoints. See
4726 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-07/msg00366.html
4727 for the details.
4728
6dad7178
EZ
4729 * files.el (file-truename): Don't skip symlink-chasing part on
4730 windows-nt. Incorporate the resolution of 8+3 short aliases on
4250fdf5
SM
4731 Windows into the loop that recursively chases symlinks.
4732 Compare directory and its parent case-insensitively on MS-Windows and
6dad7178
EZ
4733 MS-DOS.
4734
385b0198
CY
47352012-08-03 Chong Yidong <cyd@gnu.org>
4736
6200f3c4
CY
4737 * menu-bar.el (menu-bar-tools-menu): Remove PCL-CVS.
4738
385b0198
CY
4739 * sort.el (sort-regexp-fields): Doc fix.
4740
b9e74744
TH
47412012-08-03 Tassilo Horn <tsdh@gnu.org>
4742
4743 * textmodes/reftex.el (reftex-compile-variables): Make keyvals
4744 labels regex position point at the expected place.
4745
41013cb4
MK
47462012-08-03 MON KEY <monkey@sandpframing.com>
4747
4748 * net/imap.el (imap-interactive-login, imap-authenticate)
4749 (imap-mailbox-lsub, imap-mailbox-list)
4750 (imap-mailbox-status-asynch, imap-mailbox-acl-delete)
4751 (imap-fetch, imap-message-flag-permanent-p, imap-envelope-from)
4752 (imap-parse-response): Doc fix.
4753
0ffee616
JT
47542012-08-03 João Távora <joaotavora@gmail.com>
4755
4756 * textmodes/tex-mode.el (latex-forward-sexp): Terminate the loop
4757 if sexp scanning does not move point (Bug#5734).
4758
cfcc9cc8
TH
47592012-08-02 Tassilo Horn <tsdh@gnu.org>
4760
4761 * textmodes/reftex-vars.el (reftex-default-label-alist-entries):
4762 Add listings, minted, and ctable packages.
4763 (reftex-label-alist-builtin): Move listings, minted, and ctable
4764 entries before LaTeX.
a01bbb84 4765 (reftex-label-alist): Docfix.
cfcc9cc8 4766
66ec2442
BG
47672012-08-02 Bastien Guerry <bzg@gnu.org>
4768
4769 * replace.el (occur): Fix docstring (bug#12122).
4770
837b365b
GM
47712012-08-02 Glenn Morris <rgm@gnu.org>
4772
4773 * emacs-lisp/authors.el (authors-renamed-files-alist): Add ms-w32.h.
4774
e098de97
PE
47752012-08-02 Paul Eggert <eggert@cs.ucla.edu>
4776
4777 Obsolete alias inactivate-current-input-method-function (Bug#10150).
4778 * international/mule-cmds.el: Create
4779 inactivate-current-input-method-function as an obsolete alias for
4780 deactivate-current-input-method-function. See Katsumi Yamaoka in
4781 <http://bugs.gnu.org/10150#46>.
4782
a0f95636
JB
47832012-08-01 Jay Belanger <jay.p.belanger@gmail.com>
4784
4785 * calc/calc-mode.el (calc-set-simplify-mode): Use `cond' instead
4786 of nested `if's.
4787
0d26d7c4
GM
47882012-08-01 Glenn Morris <rgm@gnu.org>
4789
4790 * progmodes/autoconf.el (autoconf-definition-regexp):
4791 Add AH_TEMPLATE, adjust submatch numbering.
4792 (autoconf-font-lock-keywords, autoconf-imenu-generic-expression)
4793 (autoconf-current-defun-function): Update for above change.
4794 (autoconf-current-defun-function): First skip to end of current word.
4795
b686ba06
RS
47962012-08-01 Rupert Swarbrick <rswarbrick@gmail.com> (tiny change)
4797
4798 * calendar/cal-html.el (cal-html-insert-agenda-days):
4799 Fix typo. (Bug#12018)
4800
0d49da68
FEG
48012012-07-31 Fabián Ezequiel Gallina <fgallina@cuca>
4802
4803 Shell processes: enhancements to startup and CEDET compatibility.
4804 * progmodes/python.el (python-shell-send-setup-max-wait): Delete var.
4805 (python-shell-make-comint): accept-process-output at startup.
4806 (run-python-internal): Set inferior-python-mode-hook to nil.
4807 (python-shell-internal-get-or-create-process): call sit-for.
4808 (python-preoutput-result): Add obsolete alias.
4809 (python-shell-internal-send-string): Use it.
4810 (python-shell-send-setup-code): Remove call to
4811 accept-process-output.
4812
f1a71c6e
AS
48132012-07-31 Andreas Schwab <schwab@linux-m68k.org>
4814
4815 * buff-menu.el (list-buffers-noselect): Use prefix-numeric-value.
4816 (Bug#12108)
4817
d2605269
JB
48182012-07-31 Jay Belanger <jay.p.belanger@gmail.com>
4819
4820 * calc-mode.el (calc-basic-simplification-mode): Rename from
4821 `calc-limited-simplification-mode'.
4822 (calc-alg-simplification-mode): New function.
fc0c31f8 4823 (calc-set-simplify-mode): Adjust message.
f1a71c6e 4824
d2605269
JB
4825 * calc.el (calc-set-mode-line): Adjust mode line display for
4826 basic simplification mode.
4827
4828 * calc-help.el (calc-m-prefix-help): Update help message.
4829
4830 * calc-ext.el (calc-init-extensions): Add bindings and autoloads
4831 for `calc-basic-simplify-mode' and `calc-alg-simplify-mode'.
4832
a3827a43
BG
48332012-07-31 Bastien Guerry <bzg@gnu.org>
4834
4835 * man.el (man): Fix comment. (bug#12101)
4836
502e3f89
MR
48372012-07-31 Martin Rudalics <rudalics@gmx.at>
4838
4839 * window.el (switch-to-prev-buffer, switch-to-next-buffer):
4840 Don't return a non-nil value when no suitable buffer was found.
4841
d7714961
FEG
48422012-07-31 Fabián Ezequiel Gallina <fgallina@cuca>
4843
4844 * progmodes/python.el (run-python-internal): Disable font lock for
4845 internal shells.
4846
1f45e27e
SM
48472012-07-30 Stefan Merten <smerten@oekonux.de>
4848
70efc5c9 4849 * textmodes/rst.el: Silence `checkdoc-ispell'.
1f45e27e
SM
4850 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
4851 (rst-official-version, rst-official-cvs-rev)
4852 (rst-package-emacs-version-alist): Update to upstream V1.3.1.
4853 (rst-mode-map): New key binding.
4854
0aee6912
PE
48552012-07-30 Paul Eggert <eggert@cs.ucla.edu>
4856
4857 Update .PHONY listings in makefiles.
4858 * Makefile.in (.PHONY): Add all, doit, custom-deps, finder-data,
4859 autoloads, update-subdirs, updates, bzr-update, update-authors,
4860 compile-onefile, compile-calc, backup-compiled-files,
4861 compile-after-backup, compile-one-process, mh-autoloads,
4862 bootstrap-clean, distclean, maintainer-clean.
4863
9052f9f0
JB
48642012-07-29 Jay Belanger <jay.p.belanger@gmail.com>
4865
1823ac5a
JB
4866 * calc/calc.el (calc-simplify-mode): Make 'alg the default value.
4867 (calc-set-mode-line): Don't display "AlgSimp ".
4868
4869 * calc/calc-mode.el (calc-alg-simplify-mode): Remove function.
4870 (calc-lim-simplify-mode): New function.
4871 (calc-set-simplify-mode): Default to 'alg.
4872 (calc-default-simplify-mode): Make algebraic simplifications
4873 the default.
4874
4875 * calc/calc-ext.el (calc-init-extensions): Remove binding for
4876 `calc-alg-simplify-mode'. Add binding for `calc-lim-simplify-mode'.
4877
8d7c7eed 4878 * calc/calc-help.el (calc-m-prefix-help): Change messages to
4b337409
JB
4879 indicate new simplification modes.
4880
1823ac5a
JB
4881 * calc/README: Mention new default simplification mode.
4882
9052f9f0
JB
4883 * calc/calc.el (math-normalize-error): New variable.
4884 (math-normalize): Set `math-normalize-error' to t
4885 when there's an error.
4886
4887 * calc/calc-alg.el (math-simplify): Don't simplify when
4888 `math-normalize' returns an error.
4889
20ba0cb4
EZ
48902012-07-29 Eli Zaretskii <eliz@gnu.org>
4891
4892 * international/mule-cmds.el (set-locale-environment): Revert last
4893 change, since display-graphic-p returns nil when this function is
4894 called during startup. Instead...
4895
4896 * term/w32console.el (terminal-init-w32console): ...setup the
4897 keyboard and terminal encoding for TTY sessions here. (Bug#12082)
4898
a5dcc929
JL
48992012-07-29 Juri Linkov <juri@jurta.org>
4900
4901 * simple.el (goto-line): Don't display default line number in the
4902 prompt because it should be displayed by `read-number' (bug#9952).
4903 Add the current line number to the defaults of `goto-line' to
4904 allow its easier modification by users with `M-n' (bug#9201).
4905
4906 * subr.el (read-number): Support multiple default values like in
4907 other minibuffer reading functions. Replace `read' with
4908 `string-to-number' for consistency with `number-to-string'.
4909
72b255c7
PE
49102012-07-29 Paul Eggert <eggert@cs.ucla.edu>
4911
4912 deactive->inactive, inactivate->deactivate spelling fixes (Bug#10150)
4913 * emulation/viper-init.el (viper-deactivate-input-method-action):
4914 Rename from viper-inactivate-input-method-action.
4915 (viper-deactivate-input-method):
4916 Rename from viper-inactivate-input-method.
4917 * follow.el (follow-inactive-menu): Rename from follow-deactive-menu.
4918 * international/mule-cmds.el (deactivate-input-method):
4919 Rename from inactivate-input-method.
4920 Also run input-method-deactivate-hook.
4921 (deactivate-current-input-method-function):
4922 Rename from inactivate-current-input-method-function.
4923 (input-method-deactivate-hook): New hook.
4924 (input-method-inactivate-hook): Mark obsolete.
bb6eb9fc
PE
4925 (inactivate-input-method): Mark obsolete.
4926
72b255c7
PE
4927 * international/quail.el (quail-activate):
4928 Also run quail-deactivate-hook.
4929 (quail-deactivate): Rename from quail-inactivate.
4930 * international/robin.el (robin-activate):
4931 Also run robin-deactivate-hook.
4932 (robin-deactivate): Rename from robin-inactivate.
4933
2549c068
CY
49342012-07-29 Chong Yidong <cyd@gnu.org>
4935
4936 * simple.el (indicate-copied-region): New function.
4937 (kill-ring-save): Split off from here.
4938
4939 * rect.el (copy-rectangle-as-kill): Call indicate-copied-region.
4940 (kill-rectangle): Set deactivate-mark to t on read-only error.
4941
4942 * register.el (copy-to-register, copy-rectangle-to-register):
4943 Deactivate the mark, and use indicate-copied-region (Bug#10056).
4c478e6b
JL
4944 (append-to-register, prepend-to-register): Call indicate-copied-region.
4945
49462012-07-29 Juri Linkov <juri@jurta.org>
17711ed9
JL
4947
4948 * simple.el (async-shell-command-buffer): New defcustom.
4949 (shell-command): Use it. (Bug#4719)
4950
01bd1b0d
EZ
49512012-07-28 Eli Zaretskii <eliz@gnu.org>
4952
4953 * international/mule-cmds.el (set-locale-environment): In a
4954 console session on MS-Windows, set up keyboard and terminal
4955 encoding from the OEM codepage, not the ANSI codepage.
4956 (Bug#12055)
4957
a55739d3
CY
49582012-07-28 Chong Yidong <cyd@gnu.org>
4959
4960 * progmodes/gdb-mi.el (gdb-place-breakpoints): Fix the call to
4961 gdb-get-location.
4962
0e1a094f 49632012-07-28 Leo Liu <sdl.web@gmail.com>
9a0f8f2e
LL
4964
4965 * progmodes/cc-menus.el (cc-imenu-objc-function): Avoid leaving nil in
4966 the alist (bug#12029).
4967
20329d73
EZ
49682012-07-28 Eli Zaretskii <eliz@gnu.org>
4969
4970 * makefile.w32-in (custom-deps, finder-data, updates, compile)
4971 (compile-always, compile-first)
4972 ($(lisp)/calendar/cal-loaddefs.el)
4973 ($(lisp)/calendar/diary-loaddefs.el)
4974 ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
4975 ($(lisp)/net/tramp-loaddefs.el, bootstrap)
4976 ($(lisp)/progmodes/cc-mode.elc): Depend on $(lisp)subdirs.el,
4977 instead of on update-subdirs.
4978 (bootstrap-clean): Delete $(lisp)/subdirs.el.
4979
345a2258
CY
49802012-07-28 Chong Yidong <cyd@gnu.org>
4981
1eee6341
CY
4982 * vc/vc.el (vc-root-diff, vc-print-root-log): Prompt for a
4983 directory if vc-deduce-backend returns nil (Bug#7350).
4984
345a2258
CY
4985 * simple.el (delete-trailing-lines): New option.
4986 (delete-trailing-whitespace): Obey it (Bug#11879).
4987
049a0936
DE
49882012-07-28 David Engster <deng@randomsample.de>
4989
4990 * xml.el (xml-node-name, xml-parse-file, xml-parse-region):
4991 Explanation of new 'symbol-qnames feature in doc-strings.
4992 (xml-maybe-do-ns): Return expanded names as plain symbols if
4993 'symbol-qnames was provided in XML-NS argument (Bug#11916).
4994 (xml-parse-tag-1): Deal with new definition of PARSE-NS argument.
4995
aa81af71
FEG
49962012-07-27 Fabián Ezequiel Gallina <fgallina@cuca>
4997
4998 Consistent completion in inferior python with emacs -nw.
4999 * progmodes/python.el (inferior-python-mode): replace "<tab>"
5000 binding in inferior-python-mode-map with "\t".
5001 (python-shell-completion-complete-at-point)
5002 (python-completion-complete-at-point): Remove interactive spec.
5003
e827b1eb
JB
50042012-07-27 Jay Belanger <jay.p.belanger@gmail.com>
5005
5006 * calc/calccomp.el (math-compose-expr): Undo previous change.
5007
a90dfb95
FEG
50082012-07-27 Fabián Ezequiel Gallina <fgallina@cuca>
5009
4250fdf5 5010 * progmodes/python.el (python-mode-map): Add keybinding for
a90dfb95
FEG
5011 run-python.
5012 (python-shell-make-comint): Fix pop-to-buffer call.
5013 (run-python): Autoload. New arg SHOW.
5014 (python-shell-get-or-create-process): Do not pop python process
5015 buffer.
5016
32770973 50172012-07-27 Michael Albinus <michael.albinus@gmx.de>
1c6ef030
MA
5018
5019 * notifications.el (notifications-on-action-signal)
5020 (notifications-on-closed-signal): Use also the bus address for the map.
5021 (notifications-notify, notifications-close-notification)
fc0c31f8 5022 (notifications-get-capabilities): Add optional argument BUS.
1c6ef030 5023
86332df2
TH
50242012-07-27 Tassilo Horn <tsdh@gnu.org>
5025
4250fdf5
SM
5026 * textmodes/reftex-vars.el (reftex-label-alist-builtin):
5027 Add support for the lstlisting and minted environments, and for the
86332df2
TH
5028 ctable macro.
5029 * textmodes/reftex.el (reftex-compile-variables): Also recognize
5030 labels written in keyvals syntax.
5031
ca1302a4
JB
50322012-07-27 Jay Belanger <jay.p.belanger@gmail.com>
5033
5034 * calc/calccomp.el (math-compose-expr): Use parentheses when
5035 there is a product in the denominator of a fraction.
5036
f8b91036
EZ
50372012-07-26 Eli Zaretskii <eliz@gnu.org>
5038
5039 * makefile.w32-in ($(lisp)/calendar/cal-loaddefs.el)
5040 ($(lisp)/calendar/diary-loaddefs.el)
5041 ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
4250fdf5
SM
5042 ($(lisp)/net/tramp-loaddefs.el): Depend on update-subdirs.
5043 Fixes failures in parallel bootstrap because subdirs.el is being
f8b91036
EZ
5044 rewritten while the autoload files are built at the same time,
5045 which needs to load subdirs.el.
5046
c8e5a42c
MR
50472012-07-26 Martin Rudalics <rudalics@gmx.at>
5048
5049 * mouse.el (popup-menu): Fix doc-string and re-indent code.
5050 (mouse-drag-line): Don't exit tracking when a switch-frame or
5051 switch-window event occurs (Bug#12006).
5052
670d85ea
SM
50532012-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
5054
5055 * mouse.el (popup-menu): Fix last change.
5056
7abaf5cc
SM
50572012-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
5058
5059 Autoload from Lisp with more care. Follow aliases when looking for
5060 function properties.
5061 * subr.el (autoloadp): New function.
5062 (symbol-file): Use it.
5063 (function-get): New function.
5064 * emacs-lisp/macroexp.el (macroexp--expand-all): Use function-get and
5065 autoload-do-load.
5066 * emacs-lisp/lisp-mode.el (lisp-font-lock-syntactic-face-function)
5067 (lisp-indent-function):
5068 * emacs-lisp/gv.el (gv-get):
5069 * emacs-lisp/edebug.el (get-edebug-spec, edebug-basic-spec):
5070 * emacs-lisp/byte-opt.el (byte-optimize-form):
5071 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
5072 * emacs-lisp/autoload.el (make-autoload, autoload-print-form):
5073 Use function-get.
5074 * emacs-lisp/cl.el: Don't propagate function properties any more.
5075
5076 * speedbar.el (speedbar-add-localized-speedbar-support):
5077 * emacs-lisp/disass.el (disassemble-internal):
5078 * desktop.el (desktop-load-file):
5079 * help-fns.el (help-function-arglist, find-lisp-object-file-name)
5080 (describe-function-1):
5081 * emacs-lisp/find-func.el (find-function-noselect):
5082 * emacs-lisp/elp.el (elp-instrument-function):
5083 * emacs-lisp/advice.el (ad-has-proper-definition):
5084 * apropos.el (apropos-safe-documentation, apropos-macrop):
5085 * emacs-lisp/debug.el (debug-on-entry):
5086 * emacs-lisp/cl-macs.el (cl-compiler-macroexpand):
5087 * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
5088 * calc/calc.el (name): Use autoloadp & autoload-do-load.
5089
b1364986
AA
50902012-07-25 Alp Aker <alp.tekin.aker@gmail.com>
5091
5092 * international/mule-cmds.el (ucs-insert): Mark it as an obsolete
5093 function, not an obsolete variable (Bug#12046).
5094
67ada220
AS
50952012-07-25 Andreas Schwab <schwab@linux-m68k.org>
5096
5097 * faces.el (face-spec-reset-face): Fix last change. (Bug#12042)
5098
f08088e3
CS
50992012-07-25 Christopher Schmidt <christopher@ch.ristopher.com>
5100
5101 * emacs-lisp/pp.el (pp-display-expression): Select old selected
5102 window only if it is still live (Bug#12034).
5103
8137e7b3
MR
51042012-07-25 Martin Rudalics <rudalics@gmx.at>
5105
5106 * subr.el (redirect-frame-focus): Add advertised calling
5107 convention (Bug#12030).
5108
09ae5da1
PE
51092012-07-25 Paul Eggert <eggert@cs.ucla.edu>
5110
5111 Prefer typical American spelling for "acknowledgment".
5112 * vc/add-log.el (change-log-acknowledgment): Rename from
5113 change-log-acknowledgement, with an alias for the old name.
5114
3cc5a3a8
JB
51152012-07-25 Jay Belanger <jay.p.belanger@gmail.com>
5116
5117 * calc-alg.el (math-simplify-divide): Don't cross multiply
5118 in an equation when the lhs is a variable.
5119
b7af7f62
JD
51202012-07-24 Julien Danjou <julien@danjou.info>
5121
5122 * net/netrc.el (netrc-find-service-number, netrc-store-data):
5123 Remove, unused.
5124
ec1b09b1
EZ
51252012-07-23 Eli Zaretskii <eliz@gnu.org>
5126
5127 * startup.el (command-line): Don't display an empty user name in
5128 the error message about non-existent home directory, when
5129 init-file-user was set to an empty string. See
5130 http://lists.gnu.org/archive/html/bug-gnu-emacs/2012-07/msg00835.html
5131 for the details and context.
5132
b525fd8a
VB
51332012-07-22 Vincent Belaïche <vincentb1@users.sourceforge.net>
5134
5135 * ses.el (ses-cell-formula-aset): New macro.
5136 (ses-cell-references-aset): New macro.
5137 (ses-cell-p): New function.
5138 (ses-rename-cell): Do no longer rely on complex operations like
5139 ses-cell-set-formula or ses-set-cell to change the cell and handle
5140 the undo at the same time, but rather use lower level new macros
5141 `ses-cell-formula-aset' and `ses-cell-references-aset' and handle
fc0c31f8 5142 the undo directly. Refresh the mode line.
b525fd8a 5143
2c73e345
LL
51442012-07-21 Leo Liu <sdl.web@gmail.com>
5145
670d85ea
SM
5146 * progmodes/cc-cmds.el (c-defun-name):
5147 Use match-string-no-properties instead for consistency.
2c73e345 5148
542dfbde
LL
51492012-07-20 Leo Liu <sdl.web@gmail.com>
5150
3646bcd6
LL
5151 * progmodes/cc-cmds.el (c-defun-name): Handle objc selectors properly.
5152 (Bug#7879)
5153
542dfbde
LL
5154 * progmodes/cc-langs.el (c-symbol-start): Include char _ (bug#11986).
5155
25721031
CY
51562012-07-20 Stefan Monnier <monnier@iro.umontreal.ca>
5157
5158 * userlock.el, emacs-lisp/map-ynp.el: Declare part of `emacs' package.
5159 * progmodes/bug-reference.el, misearch.el: Provide themselves
5160 (bug#11915).
5161
5162 * progmodes/cperl-mode.el (cperl-unwind-to-safe): Don't inf-loop at end
5163 of narrowed buffer (bug#11966).
5164
316e68a7
VB
51652012-07-20 Vincent Belaïche <vincentb1@users.sourceforge.net>
5166
5167 * ses.el (ses-rename-cell): Set new name also in reference list of
5168 cells of which the renamed cell depends.
5169
bbf0e7d9
MY
51702012-07-20 Masatake YAMATO <yamato@redhat.com>
5171
5172 * term/x-win.el (x-menu-bar-open): Use `frame-parameter'
5173 to check whether menu-bar is shown or not. If not shown,
5174 show the menu-bar as a popup menu instead of using tmm.
5175 * mouse.el (popup-menu): Accept `point' as `position' argument.
5176
c28662a8
DG
51772012-07-20 Dmitry Gutov <dgutov@yandex.ru>
5178
5179 * progmodes/ruby-mode.el (ruby-parse-partial): No error when end
5180 up inside string symbol literal (bug#11923).
5181
87ab808f
EZ
51822012-07-20 Eli Zaretskii <eliz@gnu.org>
5183
5184 * startup.el (fancy-startup-text): Read the whole tutorial, not
5185 just its first 256 bytes. Prevents gibberish in display of the
5186 tutorial title.
5187
89dea803
DA
51882012-07-20 Dmitry Antipov <dmantipov@yandex.ru>
5189
5190 Drop idle buffer compaction due to an absence of the
5191 proved efficiency.
5192 * compact.el: Remove.
5193
8a4e6db8
SS
51942012-07-19 Sam Steingold <sds@gnu.org>
5195
5196 * vc/vc-dispatcher.el (vc-compilation-mode): Add, based on
5197 vc-bzr-pull & vc-bzr-merge-branch.
5198 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch): Use it.
5199 (vc-bzr-error-regexp-alist): Rename from vc-bzr-error-regex-alist
5200 for consistency with compilation-error-regexp-alist.
5201 * vc/vc-git.el (vc-git-error-regexp-alist): Add.
5202 (vc-git-pull, vc-git-merge-branch): Call vc-compilation-mode.
5203 * vc/vc-hg.el (vc-hg-error-regexp-alist): Add.
5204 (vc-hg-pull, vc-hg-merge-branch): Call vc-compilation-mode.
5205
5db81e33
SM
52062012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
5207
5208 * emacs-lisp/chart.el: Use lexical-binding.
5209 (chart-emacs-storage): Don't hardcode the list of entries.
5210
5b835e1d
DA
52112012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
5212
5213 Next round of tweaks caused by Fgarbage_collect changes.
5214 * emacs-lisp/chart.el (chart-emacs-storage): Adjust again.
5215
9cd47b72
DA
52162012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
5217
5218 Compact buffers when idle.
5219 * compact.el: New file.
5220
1d6fc0df
SM
52212012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
5222
5223 * subr.el (eventp): Presume that if it looks vaguely like an event,
5224 it's an event (bug#10190).
5225
1d29cc7d
FEG
52262012-07-19 Fabián Ezequiel Gallina <fgallina@cuca>
5227
5228 Enhancements to ppss related code (thanks Stefan).
5229 * progmodes/python.el (python-indent-context)
5230 (python-indent-calculate-indentation, python-indent-dedent-line)
5231 (python-indent-electric-colon, python-nav-forward-block)
5232 (python-mode-abbrev-table)
1d6fc0df 5233 (python-info-assignment-continuation-line-p): Simplify checks
1d29cc7d
FEG
5234 for ppss context.
5235 (python-info-continuation-line-p): Cleanup.
5236 (python-info-ppss-context): Do not catch 'quote.
5237 (python-info-ppss-context-type)
5238 (python-info-ppss-comment-or-string-p): Simplify.
5239
d583cbe6
FEG
52402012-07-18 Fabián Ezequiel Gallina <fgallina@cuca>
5241
5242 * progmodes/python.el: Enhancements to eldoc support.
5243 (python-info-current-symbol): New function.
5244 (python-eldoc-at-point): Use python-info-current-symbol.
5245 (python-info-current-defun): Fix cornercase on first defun scan.
5246 (python-eldoc--get-doc-at-point): Use python-info-current-symbol
5247 and signal error when no inferior python process is available.
5248
eceb6feb
DG
52492012-07-18 Dmitry Gutov <dgutov@yandex.ru>
5250
5251 * vc/vc-git.el (vc-git-state): Don't call `vc-git-registered',
5252 assume it's always t.
5253 (vc-git-registered): Remove caching, the function is only called
5254 once.
5255 (vc-git-branches): Use `vc-git--call' instead of `call-process'.
5256
4c8ff0fe
CY
52572012-07-18 Chong Yidong <cyd@gnu.org>
5258
19fb7186
CY
5259 * subr.el (last-input-char, last-command-char): Remove (Bug#9195).
5260
9587c688
CY
5261 * simple.el (count-words): Report on narrowing (Bug#9959).
5262
0fe776a1
CY
5263 * bindings.el: Bind M-= to count-words.
5264
4c8ff0fe
CY
5265 * faces.el (face-spec-reset-face): Handle reverse video (Bug#4238).
5266
7f5331cc
MY
52672012-07-18 Masatake YAMATO <yamato@redhat.com>
5268
5269 * progmodes/sh-script.el (sh-imenu-generic-expression):
5270 Capture a function with `function' keyword and without parentheses
5271 like "function FOO" (bug#11856).
5272
2dc2a609
TH
52732012-07-18 Tassilo Horn <tassilo@member.fsf.org>
5274
5275 * window.el (split-window-sensibly): Make WINDOW argument
5276 optional.
5277
439f7677
CY
52782012-07-18 Chong Yidong <cyd@gnu.org>
5279
9aeb25a6
CY
5280 * subr.el (keyboard-translate): Doc fix (Bug#7261).
5281
439f7677
CY
5282 * isearch.el (isearch-mode-map): Handle C-x 8 key translations,
5283 and make C-x 8 RET exit isearch (Bug#11439).
5284
5285 * international/iso-transl.el: Move isearch-mode-map key
5286 definitions to isearch.el.
5287
12999ea8
SM
52882012-07-18 Stefan Monnier <monnier@iro.umontreal.ca>
5289
5290 * emacs-lisp/eieio.el: Adapt further to gv.el (bug#11970).
5291 (eieio-defclass): Use gv-define-setter when possible.
5292
3ab6e069
DA
52932012-07-18 Dmitry Antipov <dmantipov@yandex.ru>
5294
5295 Reflect recent changes in Fgarbage_collect.
5296 * emacs-lisp/chart.el (chart-emacs-storage): Change to
5297 reflect new format of data returned by Fgarbage_collect.
5298
0a60bc10
FEG
52992012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
5300
5301 New utility functions + python-info-ppss-context fix (Bug#11910).
5302 * progmodes/python.el (python-info-beginning-of-block-statement-p)
5303 (python-info-ppss-comment-or-string-p): New functions.
5304 (python-info-ppss-context): Small fix for string check.
5305
6dafa0d5
JL
53062012-07-17 Juri Linkov <juri@jurta.org>
5307
5308 * dired-aux.el (dired-do-async-shell-command): Doc fix.
5309 (dired-do-async-shell-command): Don't add `*' at the end of the
5310 command (Bug#11815).
5311 (dired-do-shell-command): Doc fix.
5312 (dired-shell-stuff-it): Strip the trailing "&" and ";" if any.
5313 Join the individual commands using either "&" or ";" as the
5314 separator depending on the values of these trailing characters.
5315 At the end re-add the trailing "&". (Bug#10598)
5316
5317 * simple.el (async-shell-command): Sync the interactive spec with
5318 `shell-command'. Doc fix.
5319 (shell-command): Doc fix.
5320
b19dd9d1
JL
53212012-07-17 Juri Linkov <juri@jurta.org>
5322
5323 * descr-text.el (describe-char): Fix format args. (Bug#10129)
5324
bcdc27d7 53252012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
7f5331cc 5326
bcdc27d7 5327 Final renames and doc fixes for movement commands (bug#11899).
7f5331cc
MY
5328 * progmodes/python.el (python-nav-beginning-of-statement):
5329 Rename from python-nav-statement-start.
bcdc27d7
FEG
5330 (python-nav-end-of-statement): Rename from
5331 python-nav-statement-end.
5332 (python-nav-beginning-of-block): Rename from
5333 python-nav-block-start.
5334 (python-nav-end-of-block): Rename from python-nav-block-end.
5335
191da00e
FEG
53362012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
5337
7f5331cc
MY
5338 * progmodes/python.el (python-shell-send-string-no-output):
5339 Allow accept-process-output to quit, keeping shell process ready for
191da00e
FEG
5340 future interactions (Bug#11868).
5341
4dc7c8d5 53422012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
aa7aaf8f 5343
88ecaf8f
SM
5344 * emacs-lisp/cl-macs.el (cl-progv): Use a properly prefixed var name.
5345
ef501ef0
SM
5346 * emacs-lisp/elint.el (elint-find-args-in-code):
5347 Use help-function-arglist, so as to handle lexical byte-code.
5348
aa7aaf8f
SM
5349 * progmodes/sh-script.el (sh-syntax-propertize-function): Fix last
5350 change (bug#11826).
5351
45fd731c
SM
53522012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
5353
2143fa32
SM
5354 * progmodes/cc-engine.el (c-forward-sws, c-backward-sws):
5355 Avoid spuriously marking the buffer as modified because of c-is-sws.
5356
efc26dbe
SM
5357 * progmodes/sh-script.el (sh-syntax-propertize-function): Mark "${#VAR"
5358 as not-a-comment (bug#11946).
5359
f5695c9a
SM
5360 * emacs-lisp/macroexp.el (macroexp-let2): Use more informative names
5361 for uninterned vars.
5362
5363 * xt-mouse.el (xterm-mouse-translate-1, xterm-mouse-event-read):
5364 Use read-event since we don't really want to read chars but bytes.
5365
45fd731c
SM
5366 * textmodes/tex-mode.el (tex-font-lock-keywords-1): Highlight not only
5367 $$..$$ but also $..$ using regexps (bug#11953).
5368 Use tex-verbatim for \url and \path.
5369 (tex-font-lock-keywords): Define as defconst like the others.
5370 (tex-common-initialization): Don't use font-lock-syntax-table any more.
5371
ddfc8813
RK
53722012-07-16 René Kyllingstad <Rene@Kyllingstad.com> (tiny change)
5373
5374 * international/mule-cmds.el (ucs-insert): Make it an obsolete
5375 alias for insert-char.
5376
758e556a
FEG
53772012-07-16 Fabián Ezequiel Gallina <fgallina@cuca>
5378
5379 * progmodes/python.el: Simplified imenu implementation.
5380 (python-nav-jump-to-defun): Remove command.
5381 (python-mode-map): Use `imenu' instead.
5382 (python-nav-list-defun-positions-cache)
5383 (python-imenu-include-defun-type, python-imenu-make-tree)
5384 (python-imenu-subtree-root-label, python-imenu-index-alist):
5385 Remove vars.
5386 (python-nav-list-defun-positions, python-nav-read-defun)
5387 (python-imenu-tree-assoc, python-imenu-make-element-tree)
45fd731c
SM
5388 (python-imenu-make-tree, python-imenu-create-index):
5389 Remove functions.
758e556a
FEG
5390 (python-mode): Update to interact with imenu by setting
5391 `imenu-extract-index-name-function' only.
5392
032d23ab
FEG
53932012-07-16 Fabián Ezequiel Gallina <fgallina@cuca>
5394
5395 * progmodes/python.el: Enhancements to navigation commands.
5396 (python-nav-backward-sentence)
5397 (python-nav-forward-sentence): Remove.
5398 (python-nav-backward-statement, python-nav-forward-statement)
5399 (python-nav-statement-start, python-nav-statement-end)
5400 (python-nav-backward-block, python-nav-forward-block)
5401 (python-nav-block-start, python-nav-block-end)
5402 (python-nav-forward-sexp-function)
5403 (python-info-current-line-comment-p)
5404 (python-info-current-line-empty-p): New functions.
5405 (python-indent-context): Use `python-nav-statement-start'.
5406
01795a1b
MA
54072012-07-16 Michael Albinus <michael.albinus@gmx.de>
5408
9328d9aa
MA
5409 * eshell/em-ls.el (eshell/ls): Use `apply'.
5410
5411 * eshell/em-unix.el (eshell/su, eshell/sudo): Apply Tramp's ad-hoc
5412 multi-hops, instead of Tramp internals.
5413
01795a1b
MA
5414 * vc/ediff.el (ediff-directories): Add trailing space to prompts.
5415
5416 * vc/ediff-diff.el (ediff-same-file-contents): Handle the case,
5417 when F1 and F2 are located on different hosts.
5418
63408057
CY
54192012-07-14 Chong Yidong <cyd@gnu.org>
5420
5421 * xt-mouse.el: Implement extended mouse coordinates (Bug#10642).
5422 (xterm-mouse-translate): Move code into xterm-mouse-translate-1.
5423 (xterm-mouse-translate-extended, xterm-mouse-translate-1)
5424 (xterm-mouse--read-event-sequence-1000)
5425 (xterm-mouse--read-event-sequence-1006): New functions. For old
5426 mouse protocol, handle M-mouse-X events correctly.
5427 (xterm-mouse-event): New arg specifying mouse protocol.
5428 (turn-on-xterm-mouse-tracking-on-terminal)
5429 (turn-off-xterm-mouse-tracking-on-terminal): Send DEC 1006
45fd731c
SM
5430 sequence to toggle extended coordinates on newer XTerms.
5431 This appears to be harmless on terminals which do not support this.
63408057 5432
cd276f6e
LL
54332012-07-14 Leo Liu <sdl.web@gmail.com>
5434
28ca98ac
LL
5435 Add fringe bitmap indicators for flymake. (Bug#11253)
5436 * progmodes/flymake.el (flymake-highlight-line): Use fringe bitmaps.
5437 (flymake-make-overlay): New arg BITMAP.
5438 (flymake-error-bitmap, flymake-warning-bitmap)
5439 (flymake-fringe-indicator-position): New user variables.
5440
cd276f6e
LL
5441 * fringe.el: New bitmap exclamation-mark.
5442
04408072
JD
54432012-07-14 Jan Djärv <jan.h.d@swipnet.se>
5444
5445 * progmodes/cc-cmds.el (c-defun-name): Recognize Objective-C methods
5446 also (Bug#7879).
5447
b5cf7fc4
CY
54482012-07-14 Chong Yidong <cyd@gnu.org>
5449
5450 * electric.el (electric-pair-post-self-insert-function): Fix pair
5451 insertion in empty-region case (Bug#11520).
5452
be755c79
RT
54532012-07-14 Chong Yidong <cyd@gnu.org>
5454
45fd731c
SM
5455 * bindings.el: Consolidate ctl-x-r-map bindings.
5456 Bind copy-rectangle-as-kill to C-x r w.
be755c79
RT
5457
5458 * rect.el, register.el: Move bindings to bindings.el.
5459
54602012-07-14 Reuben Thomas <rrt@sc3d.org>
5461
5462 * rect.el (copy-rectangle-as-kill): New command (Bug#739).
5463
7f5b3198
AS
54642012-07-13 Andreas Schwab <schwab@linux-m68k.org>
5465
5466 * emacs-lisp/cl.el (labels): Remove spurious quote. (Bug#11938)
5467
97662200
JB
54682012-07-13 Juanma Barranquero <lekktu@gmail.com>
5469
80185fed
JB
5470 * bindings.el (top): Use `mapc' instead of `mapcar'.
5471
97662200
JB
5472 * loadup.el (top): Remove bogus `if' choice (brought by 2008-06-21T01:38:39Z!monnier@iro.umontreal.ca).
5473
2bb1ae55
MA
54742012-07-13 Michael Albinus <michael.albinus@gmx.de>
5475
5476 * progmodes/sql.el (sql-comint): Suppress the check for program on
5477 remote hosts. Reported by Francis Devereux <francis@devrx.org>.
5478 (Bug#11908)
5479
dea31bd3
CY
54802012-07-13 Chong Yidong <cyd@gnu.org>
5481
5482 * bindings.el: Assign a non-nil permanent-local property to
5483 per-buffer variables which lack a default value (Bug#11930).
5484
5485 * help-fns.el (describe-variable): In the "automatically becomes
5486 local" notice, take note of permanent-local variables.
5487
b68b3337
CY
54882012-07-13 Chong Yidong <cyd@gnu.org>
5489
5490 * files.el (toggle-read-only): Doc fix and code cleanup. New arg
5491 to allow printing the message when called from Lisp.
5492
5493 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
5494 Remove toggle-read-only.
5495
5496 * bs.el (bs-toggle-readonly):
45fd731c
SM
5497 * buff-menu.el (Buffer-menu-toggle-read-only):
5498 Remove with-no-warnings around toggle-read-only.
b68b3337
CY
5499
5500 * ffap.el (ffap--toggle-read-only): Accept a list of buffers.
5501 Remove with-no-warnings around toggle-read-only.
5502 (ffap-read-only, ffap-read-only-other-window)
5503 (ffap-read-only-other-frame): Callers changed.
5504
5505 * help-mode.el: Don't require view package.
5506 (help-mode-finish): Set buffer-read-only instead of calling
5507 toggle-read-only.
5508
5509 * bindings.el (mode-line-toggle-read-only):
5510 * dired.el (dired-toggle-read-only):
5511 * ibuffer.el (ibuffer-do-toggle-read-only): Call toggle-read-only
5512 with non-nil second arg.
5513
5514 * emacs-lisp/eieio-custom.el (eieio-customize-object):
5515 * vc/ediff.el (ediff-set-read-only-in-buf-A): Set buffer-read-only
5516 directly.
5517
56bc1586
EZ
55182012-07-12 Eli Zaretskii <eliz@gnu.org>
5519
5520 * emacs-lisp/bytecomp.el (byte-recompile-directory): Use cl-incf,
5521 not incf.
5522
a464a6c7
SM
55232012-07-11 Stefan Monnier <monnier@iro.umontreal.ca>
5524
5525 More CL cleanups and reduction of use of cl.el.
5526 * woman.el, winner.el, vc/vc-rcs.el, vc/vc-hooks.el, vc/vc-hg.el:
5527 * vc/vc-git.el, vc/vc-dir.el, vc/vc-bzr.el, vc/vc-annotate.el:
5528 * textmodes/tex-mode.el, textmodes/sgml-mode.el, tar-mode.el:
5529 * strokes.el, ses.el, server.el, progmodes/js.el, progmodes/gdb-mi.el:
5530 * progmodes/flymake.el, progmodes/ebrowse.el, progmodes/compile.el:
5531 * play/tetris.el, play/snake.el, play/pong.el, play/landmark.el:
5532 * play/hanoi.el, play/decipher.el, play/5x5.el, nxml/nxml-mode.el:
5533 * net/secrets.el, net/quickurl.el, midnight.el, mail/footnote.el:
5534 * image-dired.el, ibuffer.el, ibuf-macs.el, ibuf-ext.el, hexl.el:
5535 * eshell/eshell.el, eshell/esh-io.el, eshell/esh-ext.el:
5536 * eshell/esh-cmd.el, eshell/em-ls.el, eshell/em-hist.el:
5537 * eshell/em-cmpl.el, eshell/em-banner.el:
5538 * calendar/parse-time.el: Use cl-lib.
5539 * wid-browse.el, wdired.el, vc/vc.el, vc/vc-mtn.el, vc/vc-cvs.el:
5540 * vc/vc-arch.el, tree-widget.el, textmodes/texinfo.el:
5541 * textmodes/refill.el, textmodes/css-mode.el, term/tvi970.el:
5542 * term/ns-win.el, term.el, shell.el, ps-samp.el:
5543 * progmodes/perl-mode.el, progmodes/pascal.el, progmodes/gud.el:
5544 * progmodes/glasses.el, progmodes/etags.el, progmodes/cwarn.el:
5545 * play/gamegrid.el, play/bubbles.el, novice.el, notifications.el:
5546 * net/zeroconf.el, net/xesam.el, net/snmp-mode.el, net/mairix.el:
5547 * net/ldap.el, net/eudc.el, net/browse-url.el, man.el:
5548 * mail/mailheader.el, mail/feedmail.el: Don't use CL.
5549 * ibuf-ext.el (ibuffer-mark-old-buffers): Use float-time.
5550 * eshell/esh-opt.el (eshell-eval-using-options): Quote code with
5551 `lambda' rather than with `quote'.
5552 (eshell-do-opt): Adjust accordingly.
5553 (eshell-process-option): Simplify.
5554 * eshell/esh-var.el:
5555 * eshell/em-script.el: Require `esh-opt' for eshell-eval-using-options.
5556 * emacs-lisp/pcase.el (pcase--dontcare-upats, pcase--let*)
5557 (pcase--expand, pcase--u1): Rename pcase's internal `dontcare' pattern
5558 to `pcase--dontcare'.
5559 * emacs-lisp/cl.el (labels): Mark obsolete.
5560 (cl--letf, letf): Move to cl-lib.
5561 (cl--letf*, letf*): Remove.
5562 * emacs-lisp/cl-lib.el (cl-nth-value): Use defalias.
5563 * emacs-lisp/cl-macs.el (cl-dolist, cl-dotimes): Add indent rule.
5564 (cl-progv): Rewrite.
5565 (cl--letf, cl-letf): Move from cl.el.
5566 (cl-letf*): New macro.
5567 * emacs-lisp/cl-extra.el (cl--progv-before, cl--progv-after): Remove.
5568
7ad4afe1
MA
55692012-07-11 Michael Albinus <michael.albinus@gmx.de>
5570
5571 * net/ange-ftp.el (ange-ftp-cf1): Update the files cache.
5572
9af57756
CY
55732012-07-11 Chong Yidong <cyd@gnu.org>
5574
5575 * vc/log-edit.el (log-edit-vc-backend): New variable.
5576 (log-edit): Doc fix.
5577
5578 * vc/vc-dispatcher.el (vc-log-edit): New args. Use PARAMS
5579 argument of log-edit to set up all local variables.
5580 (vc-start-logentry): New optional arg specifying VC backend.
5581
5582 * vc/vc.el (vc-checkin): Use it.
5583 (vc-deduce-fileset): Handle Log Edit buffers.
5584 (vc-diff): Make first argument optional too.
5585
5586 * vc/log-view.el (log-view-vc-fileset, log-view-vc-backend): Doc fix.
5587
8477cc7a
MA
55882012-07-10 Michael Albinus <michael.albinus@gmx.de>
5589
5590 * eshell/esh-ext.el (eshell-remote-command): Remove remote part of
5591 command, just in case. The function is not needed anymore.
5592 (eshell-external-command): Do not call `eshell-remote-command'.
5593
19faa8e8
SM
55942012-07-10 Stefan Monnier <monnier@iro.umontreal.ca>
5595
f58e0fd5
SM
5596 Reduce use of (require 'cl).
5597 * vc/smerge-mode.el, vc/pcvs.el, vc/pcvs-util.el, vc/pcvs-info.el:
5598 * vc/diff-mode.el, vc/cvs-status.el, uniquify.el, scroll-bar.el:
5599 * register.el, progmodes/sh-script.el, net/gnutls.el, net/dbus.el:
5600 * msb.el, mpc.el, minibuffer.el, international/ucs-normalize.el:
5601 * international/quail.el, info-xref.el, imenu.el, image-mode.el:
5602 * font-lock.el, filesets.el, edmacro.el, doc-view.el, bookmark.el:
5603 * battery.el, avoid.el, abbrev.el: Use cl-lib.
5604 * vc/pcvs-parse.el, vc/pcvs-defs.el, vc/log-view.el, vc/log-edit.el:
5605 * vc/diff.el, simple.el, pcomplete.el, lpr.el, comint.el, loadhist.el:
5606 * jit-lock.el, international/iso-ascii.el, info.el, frame.el, bs.el:
5607 * emulation/crisp.el, electric.el, dired.el, cus-dep.el, composite.el:
5608 * calculator.el, autorevert.el, apropos.el: Don't require CL.
5609 * emacs-lisp/bytecomp.el (byte-recompile-directory, display-call-tree)
5610 (byte-compile-unfold-bcf, byte-compile-check-variable):
5611 * emacs-lisp/byte-opt.el (byte-compile-trueconstp)
5612 (byte-compile-nilconstp):
5613 * emacs-lisp/autoload.el (make-autoload): Use pcase.
5614 * face-remap.el (text-scale-adjust): Simplify pcase patterns.
5615
2519d43a
SM
5616 * emacs-lisp/gv.el (cond): Make it a valid place.
5617 (if): Simplify slightly.
5618
19faa8e8
SM
5619 * emacs-lisp/pcase.el (pcase): Accept self-quoting exps as "upatterns".
5620 (pcase--self-quoting-p): New function.
5621 (pcase--u1): Use it.
5622
c4907a5e
GM
56232012-07-10 Glenn Morris <rgm@gnu.org>
5624
5625 * emacs-lisp/authors.el (authors-fixed-entries):
5626 (authors-renamed-files-alist): Update for configure.in -> configure.ac.
5627
c4444d16
PE
56282012-07-09 Paul Eggert <eggert@cs.ucla.edu>
5629
5630 Rename configure.in to configure.ac (Bug#11603).
5631 * emacs-lisp/authors.el (authors-canonical-file-name):
5632 * progmodes/autoconf.el (autoconf-mode):
5633 Prefer configure.ac to configure.in.
5634
d75be97d
CY
56352012-07-08 Chong Yidong <cyd@gnu.org>
5636
01ac65bd
CY
5637 * mouse.el (mouse-drag-line): Rewrite the track-mouse loop.
5638 Implement the mouse-1-click-follows-link handling properly.
5639
5640 * info.el (Info-link-keymap): Use follow-link mechanism for
5641 header-line links (Bug#374).
5642
d75be97d
CY
5643 * simple.el (deactivate-mark): Do not set the primary selection
5644 if another program has acquired it (Bug#11772).
5645
87a92845 56462012-07-07 Kevin Ryde <user42@zip.com.au>
f0ecdfea
KR
5647
5648 * woman.el (woman-strings): Fix double-quote handling (Bug#1151).
5649 (woman-decode-region): Replace escaped-escapes without destroying
5650 bold or underline (Bug#11552).
87a92845 5651 (woman2-process-escapes): Handle nofill regions (Bug#11591).
f0ecdfea 5652
621b9d6c
CY
56532012-07-07 Chong Yidong <cyd@gnu.org>
5654
5655 * simple.el (yank-pop-change-selection): Doc fix (Bug#11361).
19faa8e8
SM
5656 (interprogram-cut-function, interprogram-paste-function):
5657 Mention that we typically mean the clipboard.
621b9d6c 5658
133a11fc
GM
56592012-07-06 Glenn Morris <rgm@gnu.org>
5660
0d27a45e
GM
5661 * kmacro.el (kmacro-call-macro): Restore repeat message. (Bug#11817)
5662
133a11fc
GM
5663 * files.el (toggle-read-only): Restrict message to interactive use.
5664
07b151f1
MA
56652012-07-06 Michael Albinus <michael.albinus@gmx.de>
5666
5667 * net/tramp.el (tramp-restricted-shell-hosts-alist): New defcustom.
5668
5669 * net/tramp-sh.el (tramp-maybe-open-connection): Handle it.
5670
211b896b
GM
56712012-07-06 Glenn Morris <rgm@gnu.org>
5672
50394322
GM
5673 * Makefile.in (compile-one-process): Rename from "recompile".
5674
211b896b
GM
5675 * Makefile.in (bzr-update): "compile" is the same as "recompile
5676 autoloads", but parallelizable, so use that instead.
5677
4737eec9
DG
56782012-07-06 Dmitry Gutov <dgutov@yandex.ru>
5679
5680 * window.el (quit-window): Always restore window height when
8137e7b3 5681 it's saved in quit-restore parameter (Bug#11810).
4737eec9 5682
226c3633 56832012-07-06 Glenn Morris <rgm@gnu.org>
cb442973
GM
5684
5685 * simple.el (kill-whole-line): Doc tweak.
5686
226c3633 56872012-07-06 Eli Zaretskii <eliz@gnu.org>
93842198
EZ
5688
5689 * files.el (file-relative-name): Compare file names
5690 case-insensitively if on MS-Windows or MS-DOS, or if
5691 read-file-name-completion-ignore-case is non-nil. Don't use
5692 case-fold-search for this purpose. (Bug#11827)
5693
4dc7c8d5
SM
56942012-07-17 Andreas Schwab <schwab@linux-m68k.org>
5695
5696 * calendar/cal-dst.el (calendar-current-time-zone):
5697 Return calendar-current-time-zone-cache if non-nil.
5698
56992012-07-17 Masatake YAMATO <yamato@redhat.com>
226c3633 57002012-07-06 Andreas Schwab <schwab@linux-m68k.org>
3d8b9024 5701
19faa8e8
SM
5702 * calendar/cal-dst.el (calendar-current-time-zone):
5703 Return calendar-current-time-zone-cache if non-nil.
3d8b9024 5704
60198fc9
GM
57052012-07-06 Glenn Morris <rgm@gnu.org>
5706
5707 * Makefile.in (cvs-update): Remove old alias.
5708
957b3189
MA
57092012-07-05 Michael Albinus <michael.albinus@gmx.de>
5710
5711 Sync with Tramp 2.2.6-pre.
5712
5713 * net/tramp.el (tramp-drop-volume-letter): Provide an XEmacs
5714 compatible declaration.
5715
19faa8e8
SM
5716 * net/tramp-cmds.el (tramp-append-tramp-buffers):
5717 Protect `list-load-path-shadows' call.
957b3189
MA
5718
5719 * net/tramp-compat.el (top): Require packages, which aren't
5720 autoloaded anymore for XEmacs. Protect call of
5721 `tramp-file-name-handler' by `tramp-compat-funcall', pacifying the
5722 compiler. Do not require tramp-util.el and tramp-vc.el anymore,
5723 it hurts at least for SXEmacs.
5724 (tramp-compat-temporary-file-directory): In XEmacs, there is no
5725 standard-value for `temporary-file-directory'.
5726
5727 * net/tramp-sh.el (tramp-do-directory-files-and-attributes-with-stat):
5728 Redirect stderr to /dev/null.
5729 (tramp-sh-handle-write-region): uid and gid can be floats.
5730 Reported by Russell Sim <russell.sim@gmail.com>.
5731 (tramp-sh-handle-vc-registered): Hide errors.
5732 (tramp-vc-file-name-handler): Use dummy results for `process-file'
5733 and `start-file-process'.
5734 (tramp-maybe-open-connection): Check also whether `non-essential'
5735 is bound.
5736
566df3fc
CY
57372012-07-04 Chong Yidong <cyd@gnu.org>
5738
5739 * xml.el (xml--parse-buffer): Use xml-syntax-table.
5740 (xml-parse-tag): Likewise, and avoid changing entity tables.
5741 (xml-syntax-table): Define from scratch, making sure not to give
5742 x2000 and other Unicode spaces whitespace syntax, since those are
5743 not spaces in XML.
5744 (xml-parse-fragment): Delete unused function.
5745 (xml-name-start-char-re, xml-name-char-re, xml-name-re)
5746 (xml-names-re, xml-nmtoken-re, xml-nmtokens-re, xml-char-ref-re)
5747 (xml-entity-ref, xml-pe-reference-re)
5748 (xml-reference-re,xml-att-value-re, xml-tokenized-type-re)
5749 (xml-notation-type-re, xml-enumeration-re, xml-enumerated-type-re)
5750 (xml-att-type-re, xml-default-decl-re, xml-att-def-re)
5751 (xml-entity-value-re): Use syntax references in regexps where
5752 possible; no need to define inside a let-binding.
5753 (xml-parse-dtd): Use xml-pe-reference-re.
5754 (xml-entity-or-char-ref-re): New defconst.
5755 (xml-parse-string, xml-substitute-special): Use it.
5756
30eabd7a
SM
57572012-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
5758
0781098a
SM
5759 * files.el (locate-dominating-file): Allow `name' to be a predicate.
5760 (find-file--read-only): New function.
5761 (find-file-read-only, find-file-read-only-other-window)
5762 (find-file-read-only-other-frame): Use it.
5763 (insert-file-contents-literally): Don't `fset'.
5764 (get-free-disk-space): Use locate-dominating-file.
5765
b5771c0d
SM
5766 * emacs-lisp/bytecomp.el (byte-compile): Don't signal an error if the
5767 function is already compiled.
5768
30eabd7a
SM
5769 * xml.el (xml-name-regexp): Remove, redundant. Use xml-name-re.
5770
b4886f6e
MA
57712012-07-03 Michael Albinus <michael.albinus@gmx.de>
5772
5773 * vc/ediff-diff.el (ediff-same-file-contents): Fix it for remote
5774 files on the same host.
5775
b9d82339
AS
57762012-07-03 Andreas Schwab <schwab@linux-m68k.org>
5777
5778 * help-fns.el (describe-function-1): Only call
5779 help-fns--autoloaded-p when we have a file name. (Bug#11848)
5780
a76e6535
CY
57812012-07-03 Chong Yidong <cyd@gnu.org>
5782
5783 * xml.el: Protect parser against XML bombs.
5784 (xml-entity-expansion-limit): New variable.
5785 (xml-parse-string, xml-substitute-special): Use it.
5786 (xml-parse-dtd): Avoid infloop if the DTD is not terminated.
5787
b544fef2
GM
57882012-07-03 Glenn Morris <rgm@gnu.org>
5789
5790 * progmodes/bug-reference.el (bug-reference-bug-regexp):
5791 Allow linking to specific messages in debbugs reports (eg 123#5).
5792
a7aef6f5
CY
57932012-07-02 Chong Yidong <cyd@gnu.org>
5794
5795 * xml.el: Fix entity and character reference expansion, allowing
5796 them to expand into markup as per XML spec.
5797 (xml-default-ns): New variable.
5798 (xml-entity-alist): Use XML spec definitions for lt and amp.
30eabd7a
SM
5799 (xml-parse-region): Make first two arguments optional.
5800 Discard text properties.
5801 (xml-parse-tag-1): New function, spun off from xml-parse-tag.
5802 All callers changed.
a7aef6f5
CY
5803 (xml-parse-tag): Call xml-parse-tag-1. For backward
5804 compatibility, this function should not modify buffer contents.
5805 (xml-parse-tag-1): Fix opening-tag regexp.
5806 (xml-parse-string): Rewrite, handling entity and character
5807 references properly.
5808 (xml--entity-replacement-text): Signal an error if a parameter
5809 entity is undefined.
5810
3df31c9f
SM
58112012-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
5812
2b5208f1
SM
5813 * comint.el (comint-output-filter): Filter out repeated prompts.
5814
3df31c9f
SM
5815 * net/ange-ftp.el (ange-ftp-expand-file-name): Use ange-ftp-ftp-name
5816 and file-name-absolute-p.
5817 (ange-ftp-file-exists-p): Use ange-ftp-file-exists-p for
5818 internal calls.
5819
e3ac1281
PE
58202012-07-02 Paul Eggert <eggert@cs.ucla.edu>
5821
5822 Spelling fixes.
5823 * emacs-lisp/bytecomp.el (byte-compile--reify-function):
5824 Rename from byte-compile--refiy-function. All uses changed.
5825
fbf2e7ad
CY
58262012-07-01 Chong Yidong <cyd@gnu.org>
5827
5828 * xml.el (xml--parse-buffer): New function. Move most of
5829 xml-parse-region here.
5830 (xml-parse-region): Copy region into a temporary buffer, since
5831 parameter entity substitution requires changing buffer contents.
5832 Use xml--parse-buffer.
5833 (xml-parse-file): Use xml--parse-buffer.
5834 (xml-parse-dtd): Make parameter entity substitution work right.
6fe566a7 5835 Use proper regexps for ELEMENT declarations (Bug#7172).
fbf2e7ad 5836
9bf0aa15
GM
58372012-06-30 Glenn Morris <rgm@gnu.org>
5838
bbce2853
GM
5839 * comint.el (follow-comint-scroll-to-bottom): Fix declaration.
5840
9bf0aa15
GM
5841 * net/secrets.el, net/tramp-gvfs.el, net/xesam.el, net/zeroconf.el:
5842 Remove outdated and unnecessary dbus declarations.
5843
0d23c240
EZ
58442012-06-30 Eli Zaretskii <eliz@gnu.org>
5845
5846 * emacs-lisp/timer.el (timer-until): Subtract results of
5847 float-time, instead of taking float-time of the result of
5848 time-subtract, since float-time signals an error for negative time
5849 arguments.
5850
b3218de1
CY
58512012-06-30 Chong Yidong <cyd@gnu.org>
5852
5853 * xml.el (xml-*-re): Convert defvars into defconsts, and
5854 eval-and-compile them so eval-and-compile works on derivatives.
5855 (xml--entity-replacement-text): Use eval-and-comple.
5856
a40c87a0
MA
58572012-06-30 Michael Albinus <michael.albinus@gmx.de>
5858
5859 * vc/vc-git.el (vc-git-registered): Use cache property
5860 `git-registered'.
5861 (vc-git-mode-line-string): Call `vc-working-revision' instead of
5862 `vc-git-working-revision' in order to benefit from the cache.
2bb1ae55 5863 (vc-git-root): Use cache property `git-root'. (Bug#11757)
a40c87a0 5864
ac87de97
DG
58652012-06-30 Dmitry Gutov <dgutov@yandex.ru>
5866
5867 * vc/vc-hooks.el (vc-before-save): Clear cache if file has been
2bb1ae55 5868 removed (likely outside Emacs). (Bug#11757)
ac87de97 5869
ac10fe06
SM
58702012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
5871
3df31c9f 5872 * emacs-lisp/cl-lib.el: Require macroexp.
ac10fe06 5873
7f3fbd5d
CY
58742012-06-30 Chong Yidong <cyd@gnu.org>
5875
5876 * xml.el: Implement XML parameter entities.
5877 (xml-parameter-entity-alist): New variable.
5878 (xml-parse-region, xml-parse-fragment): Preserve previous values
5879 of xml-entity-alist and xml-parameter-entity-alist, so that
5880 repeated calls on different documents do not change them.
5881 (xml-parse-tag): Fix doctype regexp.
5882 (xml--entity-replacement-text): New function.
5883 (xml-parse-dtd): Use it. Don't handle system entities; doing that
5884 properly requires url retrieval which is unimplemented.
5885 (xml-escape-string): Doc fix.
5886
3cfbebba
SM
58872012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
5888
5889 * emacs-lisp/cl-lib.el (cl-pushnew): Use macroexp-let2.
5890
2af3565e
DA
58912012-06-29 Dmitry Antipov <dmantipov@yandex.ru>
5892
5893 * fringe.el (fringe-mode): Doc fix.
5894
929df0e7
MA
58952012-06-29 Michael Albinus <michael.albinus@gmx.de>
5896
5897 * net/ange-ftp.el (ange-ftp-get-passwd): Throw if `non-essential'
5898 is non-nil.
5899 (ange-ftp-ignore-errors-if-non-essential): New defmacro.
5900 (ange-ftp-file-name-all-completions): Use it. (Bug#11808)
5901
c8d3a25c 59022012-06-29 Andreas Schwab <schwab@linux-m68k.org>
3d8b9024 5903
c8d3a25c
GM
5904 * calendar/cal-dst.el (calendar-current-time-zone):
5905 Return calendar-current-time-zone-cache if non-nil.
3d8b9024 5906
c8d3a25c 59072012-06-29 Masatake YAMATO <yamato@redhat.com>
26e8548e
MY
5908
5909 * progmodes/which-func.el (which-func-format):
5910 Add mouse-face. (Bug#11698)
5911
c8d3a25c
GM
59122012-06-29 Leo Liu <sdl.web@gmail.com>
5913
5914 * textmodes/enriched.el (enriched-next-annotation): Use eq (Bug#11528).
5915
59162012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
5917
5918 * minibuffer.el (minibuffer-confirm-exit-commands):
5919 Add completion-at-point (bug#11725).
5920
59212012-06-29 Glenn Morris <rgm@gnu.org>
5922
5923 * progmodes/f90.el (f90-font-lock-keywords-2):
5924 Add some preprocessor elements. (Bug#10499)
5925
59262012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
5927
5928 * progmodes/cperl-mode.el (cperl-update-syntaxification):
5929 Use syntax-propertize (bug#11739).
5930
2badeec4
JB
59312012-06-28 Juanma Barranquero <lekktu@gmail.com>
5932
5933 * emacs-lisp/cl-lib.el (cl-pushnew): Don't capture X (bug#11811).
5934
ae4969c2
JD
59352012-06-28 Julien Danjou <julien@danjou.info>
5936
5937 * term.el (term-handle-colors-array): Use a set of new faces to
5938 color the terminal. Also uses :inverse-video property.
5939 (term-default-fg-color): Set to nil by default, deprecate in favor
5940 of `term-face'.
5941 (term-default-bg-color): Set to nil by default, deprecate in favor
5942 of `term-face'.
5943 (term-current-face): Use `term-face' by default.
5944 (term-bold-attribute): Variable deleted.
5945
1c9bd870
GM
59462012-06-28 Glenn Morris <rgm@gnu.org>
5947
5948 * simple.el (completion-list-mode-finish):
5949 Don't use toggle-read-only. (Since completion-list-mode has
5950 a special mode-class, it wasn't doing anything extra anyway.)
5951
c207708c
SM
59522012-06-28 Stefan Monnier <monnier@iro.umontreal.ca>
5953
5954 Make inlining of other-mode interpreted functions work (bug#11799).
5955 * emacs-lisp/bytecomp.el (byte-compile--refiy-function): New fun.
5956 (byte-compile): Use it to fix compilation of lexical-binding closures.
5957 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Compile the
5958 function, if needed.
5959
3fd56834
SM
59602012-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
5961
04901786
SM
5962 * help-mode.el (help-make-xrefs): Don't just withstand
5963 cyclic-variable-indirection but any error in documentation-property.
5964
1ec4b7b2
SM
5965 * loadup.el (purify-flag): Pre-grow the hash-table to reduce the
5966 memory use.
5967 * bindings.el (bindings--define-key): New function.
5968 * vc/vc-hooks.el, replace.el, menu-bar.el, international/mule-cmds.el:
5969 * emacs-lisp/lisp-mode.el, buff-menu.el, bookmark.el:
5970 * bindings.el: Use it to purecopy define-key bindings.
5971
e309e2a5
SM
5972 * textmodes/rst.el (rst-adornment-faces-alist): Avoid copy-list.
5973
d5c6faf9
SM
5974 * emacs-lisp/cl.el (flet): Mark obsolete.
5975 * emacs-lisp/cl-macs.el (cl-flet*): New macro.
5976 * vc/vc-rcs.el (vc-rcs-annotate-command, vc-rcs-parse):
5977 * progmodes/js.el (js-c-fill-paragraph):
5978 * progmodes/ebrowse.el (ebrowse-switch-member-buffer-to-sibling-class)
5979 (ebrowse-switch-member-buffer-to-derived-class):
5980 * play/5x5.el (5x5-solver): Use cl-flet.
5981
6e9590e2
SM
5982 * emacs-lisp/cl.el: Use lexical-binding. Fix flet (bug#11780).
5983 (cl--symbol-function): New macro.
5984 (cl--letf, cl--letf*): Use it.
5985
3fd56834
SM
5986 * emacs-lisp/easy-mmode.el (easy-mmode-pretty-mode-name):
5987 Strip "toggle-" if any.
5988
35ff222c
GM
59892012-06-27 Glenn Morris <rgm@gnu.org>
5990
1ba6038a
GM
5991 * info.el (Info-default-directory-list): Move here from paths.el.
5992 * paths.el: Remove file, which is now empty.
5993 * loadup.el: No longer load "paths".
5994
0ea0e51b
GM
5995 * custom.el (custom-initialize-delay): Doc fix.
5996
35ff222c
GM
5997 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
5998 * eshell/em-cmpl.el, eshell/em-dirs.el, eshell/em-glob.el:
5999 * eshell/em-hist.el, eshell/em-ls.el, eshell/em-pred.el:
6000 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-script.el:
6001 * eshell/em-smart.el, eshell/em-term.el, eshell/em-unix.el:
6002 * eshell/em-xtra.el: Replace eshell-defgroup with "(progn (defgroup".
6003 * eshell/eshell.el (eshell-defgroup): Remove alias.
6004
c89926a5
CY
60052012-06-27 Chong Yidong <cyd@gnu.org>
6006
6007 * help.el (help-enable-auto-load): New variable.
6008
6009 * help-fns.el (help-fns--autoloaded-p): New function.
6010 (describe-function-1): Refer to a function as "autoloaded" if it
6011 was autoloaded at any time in the past. Perform autoloading if
6012 help-enable-auto-load is non-nil.
6013
cc06e7e7
EZ
60142012-06-26 Eli Zaretskii <eliz@gnu.org>
6015
6016 * makefile.w32-in (compile, compile-always): Depend on
6017 update-subdirs, not on subdirs.el. Otherwise, several different
6018 sub-targets of 'bootstrap' running in parallel could
6019 simultaneously write to subdirs.el, producing a garbled file.
6020
d2c32364
SS
60212012-06-26 Sam Steingold <sds@gnu.org>
6022
6023 * files.el (file-name-base): New convenience function.
0d14cc21
GM
6024 * autoinsert.el, cus-dep.el, doc-view.el, image-dired.el:
6025 * woman.el, eshell/esh-cmd.el, progmodes/ada-xref.el:
6026 * progmodes/cc-defs.el, progmodes/cperl-mode.el:
6027 * progmodes/flymake.el, progmodes/gud.el, progmodes/idlwave.el:
6028 * textmodes/ispell.el, textmodes/reftex-ref.el:
d2c32364
SS
6029 * textmodes/tex-mode.el: Use it.
6030 Did not touch cedet and org because they are maintained elsewhere.
6031
5cf983b2
MR
60322012-06-26 Martin Rudalics <rudalics@gmx.at>
6033
6034 * calendar/calendar.el (calendar-exit): Don't try to delete or
6035 iconify last frame. See:
6036 http://lists.gnu.org/archive/html/emacs-devel/2012-06/msg00372.html
6037
8c4f2952
JD
60382012-06-25 Jim Diamond <Jim.Diamond@AcadiaU.ca> (tiny change)
6039
6040 * server.el (server-process-filter): Remember dir in the
6041 process's `server-client-directory' properties.
6042
772b2e2c
CY
60432012-06-24 Chong Yidong <cyd@gnu.org>
6044
6045 * xml.el (xml-parse-tag): Correctly handle comment embedded in
6046 non-tag text.
6047
711b11e1
JB
60482012-06-23 Juanma Barranquero <lekktu@gmail.com>
6049
6050 * makefile.w32-in (COMPILE_FIRST): Synch with changes in 2012-06-22T21:24:54Z!monnier@iro.umontreal.ca.
6051
dc5d230c
SM
60522012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
6053
6054 * help-fns.el (describe-variable): Don't croak when doc is not found.
6055 * vc/pcvs.el (cvs-retrieve-revision): Avoid toggle-read-only.
6056 * menu-bar.el (menu-bar-line-wrapping-menu): Purecopy a tiny bit more.
6057 * emacs-lisp/syntax.el (syntax-ppss): Simplify with new `if' place.
6058 * emacs-lisp/smie.el (smie-next-sexp): CSE.
6059 * emacs-lisp/macroexp.el (macroexp-let2): Fix edebug spec and avoid
6060 ((lambda ..) ..).
6061 * emacs-lisp/eieio.el (eieio-oref, slot-value): Use simpler defsetf.
6062
136e1c1d
CY
60632012-06-23 Chong Yidong <cyd@gnu.org>
6064
e8c1cabf
CY
6065 * info.el (Info-mouse-follow-link): Accept symbol values of
6066 link-args. Select window; suggested by Gerhard Kahl (Bug#11672).
136e1c1d
CY
6067 (Info-fontify-node): Use Info-link-keymap for all navigation
6068 buttons, with link-args property to perform the desired action.
6069 (Info-link-keymap): Doc fix.
6070 (Info-next-link-keymap, Info-prev-link-keymap)
6071 (Info-up-link-keymap): Delete now-unused keymaps.
6072
0e9e6c6a
CY
60732012-06-23 Chong Yidong <cyd@gnu.org>
6074
05e89fea
CY
6075 * mouse.el (mouse-drag-track): Deactivate the mark before popping.
6076
0e9e6c6a
CY
6077 * progmodes/python.el (python-skeleton-define): Mark abbrevs as
6078 system abbrevs.
6079
6080 * ansi-color.el (ansi-color-apply-on-region): Doc fix.
6081
e33c6771
SM
60822012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
6083
b68581e2
SM
6084 * emacs-lisp/cl-macs.el (cl--make-usage-args): Handle improper lists
6085 (bug#11719).
6086
e33c6771
SM
6087 * minibuffer.el (completion--twq-try): Try to fail more gracefully when
6088 the requote function doesn't work properly (bug#11714).
6089
7117e105
GM
60902012-06-23 Glenn Morris <rgm@gnu.org>
6091
6092 * pcmpl-rpm.el (pcmpl-rpm-packages): Give status messages.
6093
36cec983
SM
60942012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
6095
6096 Further GV/CL cleanups.
6097 * emacs-lisp/gv.el (gv-get): Autoload functions to find their
6098 gv-expander.
6099 (gv--defun-declaration): New function.
6100 (defun-declarations-alist): Use it.
6101 (gv-define-modify-macro, gv-pushnew!, gv-inc!, gv-dec!): Remove.
6102 (gv-place): Autoload.
6103 * emacs-lisp/cl.el (cl--dotimes, cl--dolist): Remember subr.el's
6104 original definition of dotimes and dolist.
6105 * emacs-lisp/cl-macs.el (cl-expr-access-order): Remove unused.
6106 (cl-dolist, cl-dotimes): Use `dolist' and `dotimes'.
6107 * emacs-lisp/cl-lib.el: Move gv handlers from cl-macs to here.
6108 (cl-fifth, cl-sixth, cl-seventh, cl-eighth)
6109 (cl-ninth, cl-tenth): Move gv handler to the function's definition.
6110 * emacs-lisp/cl-extra.el (cl-subseq, cl-get, cl-getf): Move gv handler
6111 to the function's definition.
6112 * Makefile.in (COMPILE_FIRST): Re-order to speed it up by about 50%.
6113 * window.el:
6114 * files.el:
6115 * faces.el:
6116 * env.el: Don't use CL.
6117
d35af63c
PE
61182012-06-22 Paul Eggert <eggert@cs.ucla.edu>
6119
6120 Support higher-resolution time stamps (Bug#9000).
6121
6122 * calendar/time-date.el (with-decoded-time-value): New arg
6123 PICO-SYMBOL in VARLIST. It's optional, for backward compatibility.
6124 (encode-time-value): New optional arg PICO. New type 3.
6125 (time-to-seconds) [!float-time]: Support the new picoseconds
6126 component if it's used.
6127 (seconds-to-time, time-subtract, time-add):
6128 Support ps-resolution time stamps as well.
6129
6130 * emacs-lisp/timer.el (timer): New component psecs. All uses changed.
6131 (timerp): Timer vectors now have length 9, not 8.
6132 (timer--time): Support new-style (4-part) time stamps.
6133 (timer-next-integral-multiple-of-time): Time stamps now have
6134 picosecond resolution, so take a bit more care about rounding.
6135 (timer-relative-time, timer-inc-time): New optional arg psecs.
6136 (timer-set-time-with-usecs): Set psecs to 0.
6137 (timer--activate): Check psecs component, too.
6138
6139 * proced.el (proced-time-lessp): Support ps-resolution stamps.
6140
ac77b21a
SM
61412012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
6142
f143bfe3
SM
6143 * icomplete.el (icomplete-minibuffer-setup, icomplete-completions):
6144 Move the non-essential binding to the post/pre-command-hook where it is
6145 more obviously correct.
6146
ac77b21a
SM
6147 * subr.el (read-passwd): Don't use a history at all.
6148 * savehist.el (savehist-save): Remove password saved accidentally
6149 because of the above bug.
6150
76386c5a
BG
61512012-06-22 Bastien Guerry <bzg@gnu.org>
6152
6153 * files.el (toggle-read-only): Display a message telling whether
6154 the buffer is read-only or not (bug#11726).
6155
2ee3d7f0
SM
61562012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
6157
6158 * emacs-lisp/gv.el: New file.
6159 * subr.el (push, pop): Extend to generalized variables.
6160 * loadup.el (macroexp): Unload if preloaded and uncompiled (bug#11657).
6161 * emacs-lisp/cl-lib.el (cl-pop, cl-push, cl--set-nthcdr): Remove.
6162 * emacs-lisp/cl-macs.el: Require gv. Use gv-define-setter,
6163 gv-define-simple-setter, and gv-define-expander.
6164 Remove setf-methods defined in gv. Rename cl-setf -> setf.
6165 (cl-setf, cl-do-pop, cl-get-setf-method): Remove.
6166 (cl-letf, cl-letf*, cl-define-modify-macro, cl-defsetf)
6167 (cl-define-setf-expander, cl-struct-setf-expander): Move to cl.el.
6168 (cl-remf, cl-shiftf, cl-rotatef, cl-callf, cl-callf2): Rewrite with
6169 gv-letplace.
6170 (cl-defstruct): Don't define setf-method any more.
6171 * emacs-lisp/cl.el (flet): Don't autoload.
6172 (cl--letf, letf, cl--letf*, letf*, cl--gv-adapt)
6173 (define-setf-expander, defsetf, define-modify-macro)
6174 (cl-struct-setf-expander): Move from cl-lib.el.
6175 * emacs-lisp/syntax.el:
6176 * emacs-lisp/ewoc.el:
6177 * emacs-lisp/smie.el:
6178 * emacs-lisp/cconv.el:
6179 * emacs-lisp/timer.el: Rename cl-setf -> setf, cl-push -> push.
6180 (timer--time): Use gv-define-simple-setter.
6181 * emacs-lisp/macroexp.el (macroexp-let2): Rename from macroexp-let²
6182 to avoid coding-system problems in subr.el. Adjust all users.
6183 (macroexp--maxsize, macroexp-small-p): New functions.
6184 * emacs-lisp/bytecomp.el (byte-compile-file): Don't use cl-letf.
6185 * scroll-bar.el (scroll-bar-mode):
6186 * simple.el (auto-fill-mode, overwrite-mode, binary-overwrite-mode)
6187 (normal-erase-is-backspace-mode): Don't use the `eq' place.
6188 * winner.el (winner-configuration, winner-make-point-alist)
6189 (winner-set-conf, winner-get-point, winner-set): Don't abuse letf.
6190 * files.el (locate-file-completion-table): Avoid list*.
6191
c5695d1d
CY
61922012-06-22 Chong Yidong <cyd@gnu.org>
6193
6194 * dired-aux.el (dired-do-create-files): Doc fix (Bug#11327).
6195 (dired-create-files): Doc fix (Bug#11329).
6196 (dired-do-copy): Doc fix (Bug#11334).
6197 (dired-mark-read-string): Doc fix (Bug#11553).
6198
2ee3d7f0
SM
6199 * dired.el (dired-recursive-copies, dired-recursive-deletes):
6200 Doc fix (Bug#11326).
c5695d1d
CY
6201 (dired-make-relative): Doc fix (Bug#11332). Remove unused arg.
6202 (dired-dwim-target): Doc fix.
6203
6204 * wdired.el (wdired-mode): Doc fix.
6205
89b5595a
GM
62062012-06-22 Glenn Morris <rgm@gnu.org>
6207
575db3f1
GM
6208 * pcmpl-rpm.el (pcmpl-rpm-cache): New option.
6209 (pcmpl-rpm-cache-stamp-file): New constant.
6210 (pcmpl-rpm-cache-time, pcmpl-rpm-packages): New variables.
6211 (pcmpl-rpm-packages): Optionally cache list of packages.
6212
a4c8dd51
GM
6213 * pcmpl-rpm.el (pcmpl-rpm): New group.
6214 (pcmpl-rpm-query-options): New option.
6215 (pcmpl-rpm-packages): No need to inline it.
6216 Use pcmpl-rpm-query-options.
6217
89b5595a
GM
6218 * calendar/calendar.el (calendar-in-read-only-buffer):
6219 Avoid some needless mode changes.
6220
e76f0800
CY
62212012-06-21 Chong Yidong <cyd@gnu.org>
6222
6223 * desktop.el (desktop-read): Don't prompt if daemon (Bug#11674).
6224 (desktop-path): Remove . from the default value (Bug#10977).
6b67c0d4 6225 (desktop-read): Use user-emacs-directory if desktop-path is nil.
e76f0800 6226
297a8f1d
CY
62272012-06-20 Chong Yidong <cyd@gnu.org>
6228
6229 * term.el (term-send-raw-meta): Make C-M-<char> keys work (Bug#8172).
6230
d34c18b1
DR
62312012-06-20 David Röthlisberger <david@rothlis.net> (tiny change)
6232
6233 * ido.el (ido-switch-buffer, ido-find-file): Fix up doc of C-j
6234 (bug#11201).
6235
32f7f28e
CY
62362012-06-20 Chong Yidong <cyd@gnu.org>
6237
6238 * term.el (term-window-width): Handle the case of a missing right
6239 fringe (Bug#8837).
6240 (term-check-size): Use window-text-height (Bug#5445).
d34c18b1
DR
6241 (term-mode): Use define-derived-mode. Minor cleanups.
6242 Set font-lock-defaults (Bug#7692).
6ff7caa8
CY
6243 (term-move-columns, term-insert-char, term-emulate-terminal)
6244 (term-erase-in-line, term-insert-spaces): Use font-lock-face.
32f7f28e 6245
493c6688
MA
62462012-06-20 Michael Albinus <michael.albinus@gmx.de>
6247
d34c18b1
DR
6248 * net/ange-ftp.el (ange-ftp-get-passwd):
6249 Bind `enable-recursive-minibuffers'.
493c6688
MA
6250 (ange-ftp-get-process): Throw if `non-essential' is non-nil.
6251
3f06ecf4
DR
62522012-06-19 David Röthlisberger <david@rothlis.net> (tiny change)
6253
6254 * ido.el (ido-find-file): Mention C-d binding in docstring (bug#11244).
6255
68f12411
GM
62562012-06-19 Glenn Morris <rgm@gnu.org>
6257
6258 * progmodes/python.el (python-mode): Derive from prog-mode.
6259
b3820318
KG
62602012-06-19 Kevin Gallagher <Kevin.Gallagher@boeing.com>
6261
6262 * emulation/edt.el (edt-default-menu-bar-update-buffers)
6263 (edt-user-menu-bar-update-buffers): New functions.
6264 (edt-default-emulation-setup, edt-user-emulation-setup): Use them.
6265
c6bf3022
CY
62662012-06-19 Chong Yidong <cyd@gnu.org>
6267
6268 * subr.el (with-selected-window): Preserve the selected window's
6269 terminal's top-frame (Bug#4702).
6270
6271 * window.el (save-selected-window): Likewise.
6272
25f09295
SM
62732012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
6274
6275 * progmodes/python.el (python-rx-constituents): Move backquote.
6276 (python-skeleton-define, python-define-auxiliary-skeleton):
6277 Use `declare'.
6278
6b11952a
MA
62792012-06-18 Michael Albinus <michael.albinus@gmx.de>
6280
6281 * minibuffer.el (read-file-name-default): Revert the patch from
6282 2012-06-17.
6283
ee4b1330
SM
62842012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
6285
6286 * emacs-lisp/pcase.el (pcase--expand): Warn for unused pattern.
6287 (pcase--u1, pcase--q1): Don't use apply-partially.
6288
35647f79
GM
62892012-06-18 Glenn Morris <rgm@gnu.org>
6290
6291 * progmodes/python.el (python-proc, python-buffer)
6292 (python-send-receive, python-send-string): Fix obsolete versions.
6293
24b0cff0
MR
62942012-06-18 Martin Rudalics <rudalics@gmx.at>
6295
6296 * window.el (special-display-p): Completely remove stringp
6297 check. Suggested by Andreas Schwab <schwab@linux-m68k.org>.
6298
29855149
MA
62992012-06-17 Michael Albinus <michael.albinus@gmx.de>
6300
6301 * minibuffer.el (read-file-name-default): Bind `non-essential' to `t'.
6302
6303 * net/tramp.el (tramp-file-name-handler): Catch 'non-essential.
6304
6305 * net/ange-ftp.el (ange-ftp-gwp-start, ange-ftp-start-process):
6306 * net/tramp-sh.el (tramp-maybe-open-connection):
6307 Throw if `non-essential' is non-nil.
6308
07463363
MR
63092012-06-17 Martin Rudalics <rudalics@gmx.at>
6310
6311 * window.el (special-display-p): Signal an error if BUFFER-NAME
6312 is not a string (Bug#11713).
6313
48d1354e
PE
63142012-06-17 Paul Eggert <eggert@cs.ucla.edu>
6315
6316 * progmodes/python.el (python-info-beginning-of-backslash):
6317 Rename from python-info-beginning-of-backlash, as a spelling fix.
6318
eb4a8a9a
CY
63192012-06-17 Chong Yidong <cyd@gnu.org>
6320
6321 * term.el (term-emulate-terminal): If term-check-size is called,
6322 move point to the process mark without resetting point (Bug#4635).
6323
ddfbf826 63242012-06-17 Glenn Morris <rgm@gnu.org>
9c758578
GM
6325
6326 * international/mule-cmds.el (mule-menu-keymap)
6327 (set-language-environment, set-locale-environment): Doc tweaks.
6328
9b0e3eba
AA
63292012-06-16 Aurelien Aptel <aurelien.aptel@gmail.com>
6330
6331 * cus-face.el (custom-face-attributes): Add wave-style underline
6332 attribute.
6333 * faces.el (set-face-attribute): Update docstring to describe
6334 wave-style underline attribute.
6335
771e3eae
CY
63362012-06-16 Chong Yidong <cyd@gnu.org>
6337
6338 * term/xterm.el (terminal-init-xterm): Discard input before
6339 querying background mode (Bug#10959).
6340
7ae2ea10
SM
63412012-06-16 Stefan Merten <smerten@oekonux.de>
6342
6343 * textmodes/rst.el: Added and corrected some comments.
6344 (rst-re-alist-def): Improve symbol syntax.
6345 (rst-mode-syntax-table): Correct syntax entries.
6665a6fd
SM
6346 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
6347 (rst-official-version, rst-official-cvs-rev): Update version
6348 information.
7ae2ea10 6349
b6974efa
JB
63502012-06-15 Juanma Barranquero <lekktu@gmail.com>
6351
6352 * makefile.w32-in (COMPILE_FIRST): Synch with makefile.in changes
6353 in 2008-06-22T13:57:28Z!monnier@iro.umontreal.ca.
6354
8826d473
GM
63552012-06-15 Fabián Ezequiel Gallina <fgallina@cuca>
6356
6357 * progmodes/python.el: New python.el merge.
6358 (python-guess-indent): Obsolete var.
6359 (python-indent-guess-indent-offset): New defcustom.
6360 (python-indent): Obsolete var.
6361 (python-indent-offset): New defcustom.
6362 (python-python-command, python-jython-command): Delete var.
6363 (python-shell-interpreter): New defcustom.
6364 (python-pdbtrack-do-tracking-p): Delete var.
6365 (python-pdbtrack-activate): New defcustom.
6366 (python-use-skeletons): Obsolete var.
6367 (python-skeleton-autoinsert): New defcustom.
6368 (inferior-python-filter-regexp, python-continuation-offset)
6369 (python-honour-comment-indentation, python-indent-string-contents)
6370 (python-jython-packages, python-mode-hook)
6371 (python-pdbtrack-minor-mode-string, python-remove-cwd-from-path)
6372 (python-shell-prompt-alist)
6373 (python-source-modes): Delete defcustoms.
6374 (python-check-buffer-name, python-eldoc-setup-code)
6375 (python-eldoc-string-code, python-ffap-setup-code)
6376 (python-ffap-string-code, python-fill-comment-function)
6377 (python-fill-decorator-function, python-fill-paren-function)
6378 (python-fill-string-function, python-imenu-include-defun-type)
6379 (python-imenu-make-tree, python-imenu-subtree-root-label)
6380 (python-pdbtrack-stacktrace-info-regexp, python-shell-buffer-name)
6381 (python-shell-compilation-regexp-alist)
6382 (python-shell-completion-module-string-code)
6383 (python-shell-completion-pdb-string-code)
6384 (python-shell-completion-setup-code)
6385 (python-shell-completion-string-code)
6386 (python-shell-enable-font-lock, python-shell-exec-path)
6387 (python-shell-extra-pythonpaths)
6388 (python-shell-internal-buffer-name, python-shell-interpreter-args)
6389 (python-shell-process-environment)
6390 (python-shell-prompt-block-regexp)
6391 (python-shell-prompt-output-regexp)
6392 (python-shell-prompt-pdb-regexp, python-shell-prompt-regexp)
6393 (python-shell-send-setup-max-wait, python-shell-setup-codes)
6394 (python-shell-virtualenv-path): New defcustoms.
6395 (brm-menu, eldoc-documentation-function, inferior-python-mode-map)
6396 (inferior-python-mode-syntax-table, python--prompt-regexp)
6397 (python-buffer, python-command python-python-command)
6398 (python-default-template, python-imports, python-indent-index)
6399 (python-indent-list, python-indent-list-length)
6400 (python-mode-running, python-pdbtrack-is-tracking-p)
6401 (python-preoutput-continuation, python-preoutput-leftover)
6402 (python-preoutput-result, python-preoutput-skip-next-prompt)
6403 (python-prev-dir/file, python-recursing)
6404 (python-saved-check-command, python-version-checked)
6405 (python-which-func-length-limit)
6406 (view-return-to-alist): Delete vars.
6407 (python-check-custom-command, python-dotty-syntax-table)
6408 (python-imenu-index-alist, python-indent-current-level)
6409 (python-indent-dedenters, python-indent-levels)
6410 (python-nav-beginning-of-defun-regexp)
6411 (python-nav-list-defun-positions-cache)
6412 (python-pdbtrack-buffers-to-kill, python-pdbtrack-tracked-buffer)
6413 (python-shell-internal-buffer)
6414 (python-skeleton-available): New vars.
6415 (def-python-skeleton): Delete macro.
6416 (python-skeleton-define): New macro.
6417 (python-define-auxiliary-skeleton, python-rx): New macros.
6418 (python-insert-class): Delete command.
6419 (python-skeleton-class): New command.
6420 (python-insert-def): Delete command.
6421 (python-skeleton-def): New command.
6422 (python-insert-for): Delete command.
6423 (python-skeleton-for): New command.
6424 (python-insert-if): Delete command.
6425 (python-skeleton-if): New command.
6426 (python-insert-try/except, python-insert-try/finally): Delete commands.
6427 (python-skeleton-try): New command.
6428 (python-insert-while): Delete command.
6429 (python-skeleton-while): New command.
6430 (python-backspace): Delete command.
6431 (python-indent-dedent-line-backspace): New command.
6432 (python-electric-colon): Delete command.
6433 (python-indent-electric-colon): New command.
6434 (python-guess-indent): Delete command.
6435 (python-indent-guess-indent-offset): New command.
6436 (python-shift-left): Delete command.
6437 (python-indent-shift-left): New command.
6438 (python-shift-right): Delete command.
6439 (python-indent-shift-right): New command.
6440 (python-find-function): Delete command.
6441 (python-nav-jump-to-defun): New command.
6442 (python-next-statement): Delete command.
6443 (python-nav-forward-sentence): New command.
6444 (python-previous-statement): Delete command.
6445 (python-nav-backward-sentence): New command.
6446 (python-fill-paragraph): Delete command.
6447 (python-fill-paragraph-function): New command.
6448 (python-send-buffer): Delete command.
6449 (python-shell-send-buffer): New command.
6450 (python-send-defun): Delete command.
6451 (python-shell-send-defun): New command.
6452 (python-send-region, python-send-region-and-go): Delete commands.
6453 (python-shell-send-region)
6454 (python-shell-switch-to-shell): New commands.
6455 (python-send-string): Delete command.
6456 (python-shell-send-string): New command.
6457 (python-switch-to-python): Delete command.
6458 (python-shell-switch-to-shell): New command.
6459 (python-describe-symbol): Delete command.
6460 (python-eldoc-at-point): New command.
6461 (python--set-prompt-regexp, python-args-to-list)
6462 (python-after-info-look, python-check-version)
6463 (python-check-comint-prompt, python-find-imports)
6464 (python-execute-file, turn-off-pdbtrack, turn-on-pdbtrack)
6465 (python-unload-function, python-expand-template)
6466 (python-maybe-jython, python-preoutput-filter)
6467 (python-pdbtrack-get-source-buffer)
6468 (python-pdbtrack-grub-for-buffer, python-pdbtrack-overlay-arrow)
6469 (python-pdbtrack-toggle-stack-tracking)
6470 (python-pdbtrack-track-stack-file, python-initial-text)
6471 (python-first-word, python-comment-line-p, python-send-command)
6472 (python-setup-brm, python-sentinel, python-set-proc)
6473 (python-skip-out, python-input-filter, python-outdent-p)
6474 (python-outline-level, python-backslash-continuation-line-p)
6475 (python-end-of-block, python-end-of-statement, python-mark-block)
6476 (python-beginning-of-block, python-beginning-of-statement)
6477 (python-blank-line-p, python-beginning-of-string)
6478 (python-open-block-statement-p): Delete functions.
6479 (python-indent-line, python-indent-line-1): Delete functions.
6480 (python-indent-line): New function.
6481 (python-indentation-levels): Delete function.
6482 (python-indent-calculate-levels): New function.
6483 (python-proc): Delete function.
6484 (python-shell-get-process): New function.
6485 (python-send-receive): Delete function.
6486 (python-shell-send-string-no-output): New function.
6487 (python-module-path): Delete function.
6488 (python-ffap-module-path): New function.
6489 (python-completion-at-point)
6490 (python-symbol-completions): Delete functions.
6491 (python-completion-complete-at-point): New function.
6492 (python-load-file): Delete function.
6493 (python-shell-send-file): New function.
6494 (python-calculate-indentation): Delete function.
6495 (python-indent-calculate-indentation): New function.
6496 (python-skip-comments/blanks): Delete function.
6497 (python-util-forward-comment): New function.
6498 (python-continuation-line-p): Delete function.
6499 (python-info-continuation-line-p): New function.
6500 (python-which-func, python-current-defun): Delete function.
6501 (python-info-current-defun): New function.
6502 (python-beginning-of-defun): Delete function.
6503 (python-nav-beginning-of-defun): New function.
6504 (python-close-block-statement-p)
6505 (python-block-end-p): Delete function.
6506 (python-info-closing-block): New function.
6507 (python-comint-output-filter-function)
6508 (python-eldoc--get-doc-at-point, python-end-of-defun-function)
6509 (python-fill-comment, python-fill-decorator, python-fill-paren)
6510 (python-fill-string, python-imenu-make-element-tree)
6511 (python-imenu-make-tree, python-imenu-tree-assoc)
6512 (python-indent-context, python-indent-dedent-line)
6513 (python-indent-line-function)
6514 (python-indent-post-self-insert-function)
6515 (python-indent-toggle-levels)
6516 (python-info-assignment-continuation-line-p)
6517 (python-info-beginning-of-backlash)
6518 (python-info-block-continuation-line-p)
6519 (python-info-closing-block-message)
6520 (python-info-line-ends-backslash-p)
6521 (python-info-looking-at-beginning-of-defun)
6522 (python-info-ppss-context, python-info-ppss-context-type)
6523 (python-nav-list-defun-positions, python-nav-read-defun)
6524 (python-nav-sentence-end, python-nav-sentence-start)
6525 (python-pdbtrack-comint-output-filter-function)
6526 (python-pdbtrack-set-tracked-buffer)
6527 (python-shell-calculate-exec-path)
6528 (python-shell-calculate-process-environment)
6529 (python-shell-completion--do-completion-at-point)
6530 (python-shell-completion--get-completions)
6531 (python-shell-completion-complete-at-point)
6532 (python-shell-completion-complete-or-indent)
6533 (python-shell-get-or-create-process)
6534 (python-shell-get-process-name)
6535 (python-shell-internal-get-or-create-process)
6536 (python-shell-internal-get-process-name)
6537 (python-shell-internal-send-string, python-shell-make-comint)
6538 (python-shell-parse-command, python-shell-send-setup-code)
6539 (python-skeleton-add-menu-items)
6540 (python-util-clone-local-variables, python-util-position)
6541 (run-python-internal, python-indentation-levels)
6542 (python-nav-beginning-of-defun)
6543 (python-completion-complete-at-point): New functions.
6544 (run-python): Change arguments. New API requirements.
6545
4302f5ba
SM
65462012-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
6547
f38ea36d
SM
6548 * emacs-lisp/cl-lib.el (cl--defsubst-expand): Autoload inliner
6549 (bug#11649).
6550
6551 * emacs-lisp/macroexp.el (macroexp--compiler-macro): New function.
6552 (macroexp--expand-all): Use it.
6553
4302f5ba
SM
6554 * emacs-lisp/cl-macs.el (cl--transform-function-property): Remove.
6555 (cl-define-setf-expander, cl-deftype, cl-define-compiler-macro):
6556 Use `cl-function' instead.
6557
33377562
JB
65582012-06-14 Juanma Barranquero <lekktu@gmail.com>
6559
6560 * makefile.w32-in (COMPILE_FIRST): Remove subr.el.
6561 Suggested by Stefan Monnier while discussing bug#11657.
6562
54c5ba1a
SS
65632012-06-14 Sam Steingold <sds@gnu.org>
6564
6565 * files.el (abort-if-file-too-large): Use `file-size-human-readable'.
6566
f9f1b1fe
AS
65672012-06-14 Andreas Schwab <schwab@linux-m68k.org>
6568
6569 * play/doctor.el (doctor-doc): Remove parameter and use
6570 doctor-sent instead of sent.
6571 (doctor-read-print): Use doctor-sent instead of sent. (Bug#11708)
6572
a81068ba
SM
65732012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
6574
5a315f9c
SM
6575 * files.el: Require cl-lib.
6576 (file-name-non-special): Replace case -> cl-case.
6577
6578 * emacs-lisp/cl-macs.el (cl-defstruct): Don't add print-func.
6579
a81068ba
SM
6580 * emacs-lisp/edebug.el (edebug-read-function): Remove old incorrect
6581 mapping from #' to function*.
6582
8cca9703
CY
65832012-06-13 Chong Yidong <cyd@gnu.org>
6584
6585 * mouse.el (mouse-drag-track): Do not set the mark if the user
6586 releases the mouse without selecting anything (Bug#11588).
6587
a12ac9d7
SM
65882012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
6589
ccf1dc18
SM
6590 * textmodes/tex-mode.el (latex-indent): Recognize tex-verbatim at EOB
6591 as well (bug#11646).
6592
ef62b23d
SM
6593 * loadup.el: Count byte-code functions as well.
6594
c4c8444a
SM
6595 * emacs-lisp/byte-opt.el (featurep): Move compiler-macro...
6596 * emacs-lisp/bytecomp.el (featurep): ...here (bug#11692).
6597
a12ac9d7
SM
6598 * emacs-lisp/autoload.el (make-autoload): Accept nil doc-string-elt
6599 (bug#11649). Add cl-defun and cl-defmacro.
6600
87e6e64f
DA
66012012-06-13 Drew Adams <drew.adams@oracle.com>
6602
6603 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
6604 Fix last change.
6605
682cefaf
MA
66062012-06-13 Michael Albinus <michael.albinus@gmx.de>
6607
6608 * net/dbus.el (dbus-call-method): Use timeout for `read-event'.
6609 Otherwise, it blocks in batch mode.
6610
773e1f08
JB
66112012-06-13 Juanma Barranquero <lekktu@gmail.com>
6612
6613 * help-mode.el (bookmark-make-record-default): Declare.
6614
60057926
CY
66152012-06-13 Chong Yidong <cyd@gnu.org>
6616
6617 * emacs-lisp/package.el (list-packages): Compute a list of
6618 packages that are newly-available since the last list-packages
6619 invocation.
6620 (package-menu--new-package-list): New var.
6621 (package-menu--generate, package-menu--print-info)
6622 (package-menu--status-predicate, package-menu-mark-install):
6623 Handle new status label "new".
6624
ad4d226c
SM
66252012-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
6626
6627 * emacs-lisp/cl-macs.el (cl-remf): Fix error in recent
6628 conversion to backquotes.
6629
f1a4e679
CY
66302012-06-12 Chong Yidong <cyd@gnu.org>
6631
6632 * emacs-lisp/edebug.el (edebug-inhibit-emacs-lisp-mode-bindings):
6633 Rename from gud-inhibit-global-bindings.
6634
6635 * emacs-lisp/eieio.el (eieio-pre-method-execution-hooks): Doc fix.
6636
6637 * nxml/nxml-glyph.el (nxml-glyph-set-functions): Rename abnormal
6638 hook from nxml-glyph-set-hook.
6639
6640 * progmodes/cwarn.el (cwarn-mode): Remove redundant variable
6641 declaration.
6642
6643 * progmodes/pascal.el (pascal-toggle-completions): Doc fix.
6644
6645 * textmodes/bibtex.el (bibtex-string-file-path, bibtex-file-path):
6646 Convert to defcustom.
6647
0c9e42b5
DA
66482012-06-12 Drew Adams <drew.adams@oracle.com>
6649
6650 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
6651 New functions.
6652 (help-mode): Use them.
6653
09e06855
GM
66542012-06-11 Glenn Morris <rgm@gnu.org>
6655
6656 * progmodes/fortran.el (fortran-font-lock-keywords-3):
6657 Use preprocessor face for directives.
6658 (fortran-directive-re): Doc fix.
6659
71adb94b
SM
66602012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
6661
2eb87922
SM
6662 * emacs-lisp/cl-macs.el (cl-parse-loop-clause): Fix error in recent
6663 conversion to backquotes (bug#11652).
6664
71adb94b
SM
6665 Fix compiler-expansion of CL's cXXr functions (bug#11673).
6666 * emacs-lisp/cl-lib.el (cl--defalias): New function.
6667 (cl-values, cl-values-list, cl-copy-seq, cl-svref, cl-first)
6668 (cl-second, cl-rest, cl-endp, cl-third, cl-fourth): Use it.
6669 (cl-plusp, cl-minusp, cl-fifth, cl-sixth, cl-seventh, cl-eighth)
6670 (cl-ninth, cl-tenth): Mark them as inlinable.
6671 (cl-caaar, cl-caadr, cl-cadar, cl-caddr, cl-cdaar, cl-cdadr)
6672 (cl-cddar, cl-cdddr, cl-caaaar, cl-caaadr, cl-caadar, cl-caaddr)
6673 (cl-cadaar, cl-cadadr, cl-caddar, cl-cadddr, cl-cdaaar, cl-cdaadr)
6674 (cl-cdadar, cl-cdaddr, cl-cddaar, cl-cddadr, cl-cdddar, cl-cddddr):
6675 Add a compiler-macro declaration to use cl--compiler-macro-cXXr.
6676 (cl-list*, cl-adjoin): Don't put an autoload manually.
6677 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin)
6678 (cl--compiler-macro-list*): Add autoload cookie.
6679 (cl--compiler-macro-cXXr): New function.
2eb87922 6680
71adb94b
SM
6681 * help-fns.el (help-fns--compiler-macro): New function extracted from
6682 describe-function-1; follow aliases and use `compiler-macro' property.
6683 (describe-function-1): Use it.
6684
a6674402
CY
66852012-06-11 Chong Yidong <cyd@gnu.org>
6686
6687 * startup.el (fancy-splash-head): Use splash.svg even if librsvg
6688 is uninstalled, if imagemagick is installed.
6689
bb3faf5b
SM
66902012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
6691
6692 * emacs-lisp/cl-lib.el: Use lexical-binding.
6693 (cl-map-extents, cl-maclisp-member): Remove.
6694 (cl--set-elt, cl--set-nthcdr, cl--set-buffer-substring)
6695 (cl--set-substring, cl--block-wrapper, cl--block-throw)
6696 (cl--compiling-file, cl--mapcar-many, cl--do-subst): Use "cl--" prefix.
6697 * emacs-lisp/cl-extra.el: Use lexical-binding.
6698 (cl--mapcar-many, cl--map-keymap-recursively, cl--map-intervals)
6699 (cl--map-overlays, cl--set-frame-visible-p, cl--progv-save)
6700 (cl--progv-before, cl--progv-after, cl--finite-do, cl--set-getf)
6701 (cl--do-remf, cl--do-prettyprint): Use "cl--" prefix.
6702 * emacs-lisp/cl-seq.el: Use lexical-binding.
6703 (cl--parsing-keywords, cl--check-key, cl--check-test-nokey)
6704 (cl--check-test, cl--check-match): Use "cl--" prefix and backquotes.
6705 (cl--alist, cl--sublis-rec, cl--nsublis-rec, cl--tree-equal-rec):
6706 * emacs-lisp/cl-macs.el (cl--lambda-list-keywords): Use "cl--" prefix.
6707 * edmacro.el (edmacro-mismatch): Simplify to remove dependence on
6708 CL's internals.
6709
2fe4b125
MA
67102012-06-11 Michael Albinus <michael.albinus@gmx.de>
6711
6712 Sync with Tramp 2.2.6-pre.
6713
6714 * net/tramp-cache.el (tramp-dump-connection-properties): Let-bind
6715 `print-length' and `print-level' to nil, in order to avoid
6716 truncation. Reported by Christopher Schmidt
6717 <christopher@ristopher.com>.
6718
6719 * net/tramp-cmds.el (tramp-cleanup-connection): Delete also process.
6720
6721 * net/tramp-compat.el (tramp-compat-condition-case-unless-debug):
6722 New defmacro.
6723 (tramp-compat-copy-directory): Add optional argument
6724 COPY-CONTENTS. It is not handled yet.
6725
6726 * net/tramp-ftp.el (tramp-disable-ange-ftp): Fix docstring.
6727 (tramp-ftp-file-name-p): Simplify.
6728
6729 * net/tramp-gvfs.el (tramp-gvfs-handle-expand-file-name):
6730 * net/tramp-gw.el (tramp-gw-open-connection): Add hop to
6731 connection vector.
6732
6733 * net/tramp-sh.el (tramp-copy-size-limit): Fix docstring.
6734 (tramp-methods): Do not use `tramp-password-end-of-line'.
6735 (tramp-completion-function-alist-putty): Handle UNIX case.
6736 (tramp-remote-path): Add "/opt/bin", "/opt/sbin" and "/opt/local/bin".
6737 (tramp-do-file-attributes-with-stat)
6738 (tramp-do-directory-files-and-attributes-with-stat) Return uid and
6739 gid as real numbers. They could run out of integer range on cygwin.
6740 (tramp-do-copy-or-rename-file-out-of-band): Better trace format.
6741 (tramp-sh-handle-expand-file-name): Handle hops.
87e6e64f
DA
6742 (tramp-open-connection-setup-interactive-shell):
6743 Use `tramp-cleanup'. Move check for busyboxes ...
6744 (tramp-find-shell): ... here. Simplify implementation.
6745 Set "remote-shell" property also for alternative shells.
6746 (tramp-remote-coding-commands): Check "test -c /dev/stdout".
6747 If failing, a regular file would be written otherwise.
6748 Reported by Dmitry Kurochkin <dmitry.kurochkin@gmail.com>.
2fe4b125
MA
6749 (tramp-find-inline-encoding): Cache the coding commands in the
6750 process cache. Apply test command on the remote side, if defined.
6751 (tramp-find-inline-compress): Cache the compress commands in the
6752 process cache.
6753 (tramp-compute-multi-hops): Save `tramp-default-proxies-alist'
6754 when requested. Handle hops.
6755 (tramp-current-connection): New defvar.
87e6e64f
DA
6756 (tramp-maybe-open-connection): Use `tramp-cleanup'.
6757 Throw `suppress', if there was a failed connection shortly before.
2fe4b125 6758 Handle user interrupt. (Bug#10187)
87e6e64f
DA
6759 (tramp-get-inline-compress, tramp-get-inline-coding):
6760 Read connection properties from the process cache.
2fe4b125
MA
6761
6762 * net/tramp-smb.el (tramp-smb-server-version)
87e6e64f
DA
6763 (tramp-smb-wrong-passwd-regexp, tramp-smb-actions-with-tar):
6764 New defconsts.
2fe4b125
MA
6765 (tramp-smb-prompt): Extend for powershell prompt.
6766 (tramp-smb-file-name-handler-alist): Add handlers for
6767 `process-file', `shell-command' and `start-file-process'.
6768 (tramp-smb-winexe-program, tramp-smb-winexe-shell-command)
6769 (tramp-smb-winexe-shell-command-switch): New defcustoms.
6770 (tramp-smb-file-name-p): Simplify.
6771 (tramp-smb-action-with-tar, tramp-smb-handle-process-file)
6772 (tramp-smb-kill-winexe-function, tramp-smb-call-winexe)
6773 (tramp-smb-shell-quote-argument): New defuns.
6774 (tramp-smb-handle-copy-directory): Add COPY-CONTENTS argument.
6775 Implement using "tar". By this, time-stamps are preserved.
6776 (tramp-smb-handle-copy-file): Handle also the case of directories.
6777 (tramp-smb-do-file-attributes-with-stat)
87e6e64f
DA
6778 (tramp-smb-get-file-entries, tramp-smb-get-cifs-capabilities):
6779 Use `tramp-get-connection-buffer').
2fe4b125
MA
6780 (tramp-smb-handle-rename-file): Use "rename", when source and
6781 target are on the same share.
87e6e64f
DA
6782 (tramp-smb-maybe-open-connection): Handle wrong passwords.
6783 Use `tramp-smb-server-version'.
2fe4b125
MA
6784 (tramp-smb-wait-for-output): Remove prompt.
6785
6786 * net/tramp.el (top): Require 'cl.
87e6e64f
DA
6787 (tramp-methods, tramp-rsh-end-of-line):
6788 Remove `tramp-password-end-of-line' from docstring.
2fe4b125
MA
6789 (tramp-save-ad-hoc-proxies): New defcustom.
6790 (tramp-completion-function-alist): Adapt docstring.
6791 (tramp-default-password-end-of-line): Remove defcustom.
6792 (tramp-shell-prompt-pattern): Allow "[]" style prompts. (Bug#11065)
6793 (tramp-user-regexp, tramp-file-name-regexp-unified)
6794 (tramp-file-name-regexp-url): Extend regexp by hop separator.
6795 (tramp-postfix-hop-format, tramp-postfix-hop-regexp)
6796 (tramp-remote-file-name-spec-regexp): New defconst.
6797 (tramp-file-name-structure): Extend structure for hops.
6798 (tramp-get-method-parameter): Move up.
6799 (tramp-file-name-p, tramp-dissect-file-name)
6800 (with-parsed-tramp-file-name): Handle hops.
6801 (tramp-file-name-hop): New defun.
6802 (tramp-make-tramp-file-name): New optional arg HOP.
6803 (tramp-message-show-progress-reporter-message): New defvar.
6804 (tramp-with-progress-reporter): Use it. We cannot use
6805 `tramp-message-show-message' here, because this suppresses also
6806 error buffers.
6807 (tramp-error-with-buffer): Suppress buffer view, if
87e6e64f
DA
6808 `tramp-message-show-message' is nil.
6809 Use `tramp-get-connection-buffer'.
2fe4b125
MA
6810 (tramp-cleanup): New defun.
6811 (tramp-rfn-eshadow-update-overlay): Let-bind `non-essential' to `t'.
6812 (tramp-file-name-handler): If `debug-on-error' is set, propagate
6813 an error unchanged.
6814 (tramp-completion-handle-file-name-all-completions): Handle hops.
6815 Fix an error when called from ido.
6816 (tramp-completion-dissect-file-name): Use better local variable
6817 name. Add hop to the vector.
6818 (tramp-handle-insert-file-contents): Use progress-reporter for the
6819 whole scenario.
6820 (tramp-action-password): Let-bind `enable-recursive-minibuffers'
6821 to `t'.
6822 (tramp-check-for-regexp): Simplify search.
6823 (tramp-enter-password): Remove it. Move implementation ...
6824 (tramp-action-password): ... here.
6825 (tramp-mode-string-to-int, tramp-local-host-p)
6826 (tramp-make-tramp-temp-file, tramp-read-passwd)
87e6e64f
DA
6827 (tramp-clear-passwd, tramp-time-less-p, tramp-time-diff):
6828 Set tramp-autoload cookie.
2fe4b125
MA
6829
6830 * net/trampver.el: Update release number.
6831
68322012-06-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
6833 Michael Albinus <michael.albinus@gmx.de>
6834
6835 * net/tramp.el (tramp-set-completion-function): Fix docstring.
6836 (tramp-parse-group, tramp-parse-file)
6837 (tramp-parse-shostkeys-sknownhosts): New defuns.
6838 (tramp-parse-rhosts, tramp-parse-rhosts-group, tramp-parse-shosts)
6839 (tramp-parse-shosts-group, tramp-parse-sconfig)
6840 (tramp-parse-sconfig-group, tramp-parse-shostkeys)
6841 (tramp-parse-sknownhosts, tramp-parse-hosts)
6842 (tramp-parse-hosts-group, tramp-parse-passwd, tramp-parse-netrc):
6843 Use them.
6844 (tramp-parse-passwd-group, tramp-parse-netrc-group)
6845 (tramp-parse-putty-group): Don't narrow.
6846 (tramp-parse-putty): Make a loop.
6847 (tramp-file-name-handler): Catch the `suppress' signal.
6848
72834e10
CY
68492012-06-11 Chong Yidong <cyd@gnu.org>
6850
6851 * image.el (imagemagick-register-types): Put the ImageMagick entry
6852 at the end of image-type-file-name-regexps.
6853
a4712e11
JB
68542012-06-11 Johan Bockgård <bojohan@gnu.org>
6855
6856 * emacs-lisp/pcase.el (pcase-UPAT, pcase-QPAT): New edebug specs.
6857 (pcase, pcase-let*, pcase-dolist): Use them.
6858
82ad98e3
SM
68592012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
6860
6861 * emacs-lisp/pcase.el (pcase--let*): New function.
6862 (pcase-let*): Use it. Use pcase--memoize to avoid repeated expansions.
6863 (pcase--expand): Use macroexp-let².
6864
f80efb86
SM
68652012-06-10 Stefan Monnier <monnier@iro.umontreal.ca>
6866
6867 * emacs-lisp/timer.el, emacs-lisp/syntax.el, emacs-lisp/smie.el:
6868 * emacs-lisp/ewoc.el, emacs-lisp/cconv.el, emacs-lisp/bytecomp.el:
6869 * emacs-lisp/byte-opt.el, emacs-lisp/autoload.el: Convert to cl-lib.
6870 * emacs-lisp/easymenu.el, emacs-lisp/easy-mmode.el:
6871 * emacs-lisp/derived.el: Use pcase instead of `cl'.
6872 * emacs-lisp/cl-lib.el: Get rid of special cl-macs auto load.
6873
31ca4639 68742012-06-10 Glenn Morris <rgm@gnu.org>
94f0aa34 6875
31ca4639
CY
6876 * mail/rmail.el (rmail-yank-current-message): Leave point at
6877 correct position. (Bug#11660)
94f0aa34 6878
31ca4639 68792012-06-10 Chong Yidong <cyd@gnu.org>
9e1b8ec4 6880
31ca4639 6881 * allout-widgets.el: Fix code header.
9e1b8ec4 6882
31ca4639 68832012-06-10 Chong Yidong <cyd@gnu.org>
00cd0305 6884
f80efb86
SM
6885 * cus-edit.el (customize-changed-options-previous-release):
6886 Bump to 24.1.
31ca4639 6887
642b6d30
AS
68882012-06-09 Andreas Schwab <schwab@linux-m68k.org>
6889
6890 * Makefile.in (BIG_STACK_DEPTH): Enlarge to 2200.
6891
4f5d2ba1
CY
68922012-06-09 Chong Yidong <cyd@gnu.org>
6893
6894 * ebuff-menu.el (electric-buffer-list): Preserve header line.
6895
e75852fd
MR
68962012-06-09 Martin Rudalics <rudalics@gmx.at>
6897
6898 * window.el (special-display-popup-frame): Don't use
6899 window--display-buffer (Bug#11651).
6900
1e48e282
EZ
69012012-06-09 Eli Zaretskii <eliz@gnu.org>
6902
8a26b487
EZ
6903 Fix parallel builds: make sure loaddefs.el is not being written
6904 while Lisp files are compiled.
6905 (compile): Don't depend on 'mh-autoloads'.
6906 (compile-CMD, compile-SH): Depend on 'autoloads'.
6907 (bootstrap): Don't depend on 'autoloads' and 'mh-autoloads'.
6908
1e48e282
EZ
6909 * makefile.w32-in (BIG_STACK_DEPTH): Enlarge to 2200. (Bug#11649)
6910
6175e34b
CY
69112012-06-09 Chong Yidong <cyd@gnu.org>
6912
6913 * face-remap.el (face-remap-add-relative, face-remap-set-base)
6914 (buffer-face-set, buffer-face-toggle, buffer-face-mode-invoke):
6915 Doc fixes (Bug#11225).
6916
d9857e53
SM
69172012-06-09 Stefan Monnier <monnier@iro.umontreal.ca>
6918
6919 * emacs-lisp/macroexp.el (macroexp--expand-all): Only autoload
6920 a function if there's a clear indication that it has a compiler-macro.
6921 * emacs-lisp/byte-run.el (defun-declarations-alist, defmacro, defun)
6922 (macro-declarations-alist): Add arglist to declaration functions.
6923 (defun-declarations-alist): Add `obsolete' and `compiler-macro'.
6924 * emacs-lisp/cl-seq.el (cl-member, cl-assoc):
6925 * emacs-lisp/cl-lib.el (cl-list*, cl-adjoin):
6926 * emacs-lisp/cl-extra.el (cl-get): Use the new `declare' statement.
6927 Also add autoload to find the compiler macro.
6928 * emacs-lisp/cl-macs.el (eql) [compiler-macro]: Remove.
6929 (cl--compiler-macro-member, cl--compiler-macro-assoc)
6930 (cl--compiler-macro-adjoin, cl--compiler-macro-list*)
6931 (cl--compiler-macro-get): New functions, replacing calls to
6932 cl-define-compiler-macro.
6933 (cl-typep) [compiler-macro]: Use macroexp-let².
6934
f81298f8 69352012-06-08 Nick Dokos <nicholas.dokos@hp.com> (tiny change)
ee574791
UJ
6936
6937 * calendar/icalendar.el (icalendar--parse-vtimezone): Import TZID
6938 string properly, fixes Bug#11473.
6939
4b56d0fe
CY
69402012-06-08 Chong Yidong <cyd@gnu.org>
6941
6942 * faces.el (set-face-attribute): Doc fix.
6943 (modify-face): Don't use :bold and :italic.
6944 (error, warning, success): Tweak definitions.
6945
6946 * cus-edit.el (custom-modified, custom-invalid, custom-rogue)
6947 (custom-modified, custom-set, custom-changed, custom-themed)
6948 (custom-saved, custom-button, custom-button-mouse)
6949 (custom-button-pressed, custom-state, custom-comment-tag)
6950 (custom-variable-tag, custom-group-tag-1, custom-group-tag)
6951 (custom-group-subtitle): Use new-style face specs.
6952 (custom-invalid-face, custom-rogue-face, custom-modified-face)
6953 (custom-set-face, custom-changed-face, custom-saved-face)
6954 (custom-button-face, custom-button-pressed-face)
6955 (custom-documentation-face, custom-state-face)
6956 (custom-comment-face, custom-comment-tag-face)
6957 (custom-variable-tag-face, custom-variable-button-face)
6958 (custom-face-tag-face, custom-group-tag-face-1)
6959 (custom-group-tag-face): Remove obsolete face alias.
6960
6961 * epa.el (epa-validity-high, epa-validity-medium)
6962 (epa-validity-low, epa-mark, epa-field-name, epa-string)
6963 (epa-field-name, epa-field-body):
6964 * font-lock.el (font-lock-comment-face, font-lock-string-face)
6965 (font-lock-keyword-face, font-lock-builtin-face)
6966 (font-lock-function-name-face, font-lock-variable-name-face)
6967 (font-lock-type-face, font-lock-constant-face):
6968 * ido.el (ido-first-match, ido-only-match, ido-subdir)
6969 (ido-virtual, ido-indicator, ido-incomplete-regexp):
6970 * speedbar.el (speedbar-button-face, speedbar-file-face)
6971 (speedbar-directory-face, speedbar-tag-face)
6972 (speedbar-selected-face, speedbar-highlight-face)
6973 (speedbar-separator-face):
6974 * whitespace.el (whitespace-newline, whitespace-space)
6975 (whitespace-hspace, whitespace-tab, whitespace-trailing)
6976 (whitespace-line, whitespace-space-before-tab)
6977 (whitespace-space-after-tab, whitespace-indentation)
6978 (whitespace-empty):
6979 * emulation/cua-base.el (cua-global-mark):
6980 * eshell/em-prompt.el (eshell-prompt):
6981 * net/newst-plainview.el (newsticker-new-item-face)
6982 (newsticker-old-item-face, newsticker-immortal-item-face)
6983 (newsticker-obsolete-item-face, newsticker-date-face)
6984 (newsticker-statistics-face, newsticker-default-face):
6985 * net/newst-reader.el (newsticker-feed-face)
6986 (newsticker-extra-face, newsticker-enclosure-face):
6987 * net/newst-treeview.el (newsticker-treeview-face)
6988 (newsticker-treeview-new-face, newsticker-treeview-old-face)
6989 (newsticker-treeview-immortal-face)
6990 (newsticker-treeview-obsolete-face)
6991 (newsticker-treeview-selection-face):
6992 * net/rcirc.el (rcirc-my-nick, rcirc-other-nick)
6993 (rcirc-bright-nick, rcirc-server, rcirc-timestamp)
6994 (rcirc-nick-in-message, rcirc-nick-in-message-full-line)
6995 (rcirc-prompt, rcirc-track-keyword, rcirc-url, rcirc-keyword):
6996 * nxml/nxml-outln.el (nxml-heading, nxml-outline-indicator)
6997 (nxml-outline-active-indicator, nxml-outline-ellipsis):
6998 * play/mpuz.el (mpuz-unsolved, mpuz-solved, mpuz-trivial)
6999 (mpuz-text):
7000 * progmodes/vera-mode.el (vera-font-lock-number)
7001 (vera-font-lock-function, vera-font-lock-interface):
7002 * textmodes/table.el (table-cell): Use new-style face specs, and
7003 don't use the old :bold and :italic attributes.
7004
7005 * progmodes/ebrowse.el (ebrowse-tree-mark, ebrowse-root-class)
7006 (ebrowse-member-attribute, ebrowse-default, ebrowse-file-name)
7007 (ebrowse-member-class, ebrowse-progress): Likewise.
7008 (ebrowse-tree-mark-face, ebrowse-root-class-face)
7009 (ebrowse-file-name-face, ebrowse-default-face)
7010 (ebrowse-member-attribute-face, ebrowse-member-class-face)
7011 (ebrowse-progress-face): Remove obsolete faces.
7012
7013 * progmodes/flymake.el (flymake-errline, flymake-warnline):
7014 Inherit from error and warning faces respectively.
7015
7016 * textmodes/flyspell.el (flyspell-incorrect, flyspell-duplicate):
7017 Likewise.
f80efb86
SM
7018 (flyspell-incorrect-face, flyspell-duplicate-face):
7019 Remove obsolete aliases.
4b56d0fe 7020
03310646
MA
70212012-06-08 Michael Albinus <michael.albinus@gmx.de>
7022
7023 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
7024 Avoid infloop.
7025
513749ee
SM
70262012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
7027
7028 * startup.el (argv, argi): Make lexically scoped.
7029 * emacs-lisp/float-sup.el (pi): Use internal-make-var-non-special.
7030 * emacs-lisp/cl-macs.el: Use lexical-binding.
7031 Rename cl-bind-* to cl--bind-*.
7032 * files.el: Don't require `cl' since it doesn't use it.
7033 * emacs-lisp/pcase.el, emacs-lisp/macroexp.el: Add coding cookie.
7034
595ef4ad
JB
70352012-06-08 Juanma Barranquero <lekktu@gmail.com>
7036
7037 * textmodes/texinfmt.el: Fix bug#11640 (reverts part of 2008-07-31T05:33:56Z!dann@ics.uci.edu).
7038 (texinfo-format-printindex): Use `texinfo-sort-region' in all platforms,
7039 instead of calling external sort utility.
7040 (texinfo-sort-region, texinfo-sort-startkeyfun): Restore functions.
7041
e9f66fcb
EZ
70422012-06-08 Eli Zaretskii <eliz@gnu.org>
7043
7044 * descr-text.el (describe-char): Mention how to insert the
7045 character, if the current input method doesn't support it.
7046 See the discussion in this thread for the details:
7047 http://lists.gnu.org/archive/html/emacs-devel/2012-05/msg00533.html.
7048
3d10db47
SS
70492012-06-08 Sam Steingold <sds@gnu.org>
7050
7051 * bindings.el (global-map): Bind XF86Forward to next-buffer and
7052 XF86Back to previous-buffer.
7053 (minibuffer-local-map): Bind them to next-history-element and
7054 previous-history-element respectively.
7055 * help-mode.el (help-mode-map): Bind them to help-go-forward and
7056 help-go-back respectively.
7057 * info.el (Info-mode-map): Bind them to Info-history-forward and
7058 Info-history-back respectively.
7059 These are the keys next to Up on the ThinkPad keyboard.
7060
de7e2b36
SM
70612012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
7062
7063 Get rid of cl-lexical-let, keeping only lexical-let for compatibility.
7064 * emacs-lisp/cl-macs.el: Provide itself.
7065 (cl--labels-convert-cache): New var.
7066 (cl--labels-convert): New function.
7067 (cl-flet, cl-labels): New implementation with new semantics, relying on
7068 lexical-binding.
7069 * emacs-lisp/cl.el: Mark compatibility aliases as obsolete.
7070 (cl-closure-vars, cl--function-convert-cache)
7071 (cl--function-convert): Move from cl-macs.el.
7072 (lexical-let, lexical-let*, flet, labels): Move from cl-macs.el and
7073 rename by removing the "cl-" prefix.
7074 * emacs-lisp/macroexp.el (macroexp-unprogn): New function.
7075
6fa6c4ae
SM
70762012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
7077
7078 * emacs-lisp/cl.el (cl-macroexpand, cl-macro-environment)
7079 (cl-macroexpand-all, cl-not-hash-table, cl-builtin-gethash)
7080 (cl-builtin-remhash, cl-builtin-clrhash, cl-builtin-maphash)
7081 (cl-map-keymap, cl-copy-tree, cl-gethash, cl-puthash, cl-remhash)
7082 (cl-clrhash, cl-maphash, cl-make-hash-table, cl-hash-table-p)
7083 (cl-hash-table-count): Add old compatibility aliases.
7084
7085 * emacs-lisp/cl-macs.el (cl-macro-environment): Remove var.
7086 Use macroexpand-all-environment instead.
7087 (cl--old-macroexpand): New var.
7088 (cl--sm-macroexpand): New function.
7089 (cl-symbol-macrolet): Use it during macro expansion.
7090 (cl--function-convert-cache): New var.
7091 (cl--function-convert): New function, extracted from
7092 cl-macroexpand-all.
7093 (cl-lexical-let): Use it.
7094
7095 * emacs-lisp/cl-lib.el (cl-macro-environment): Remove decl.
7096 (cl-macroexpand): Move to cl-macs.el and rename to cl--sm-macroexpand.
7097 (cl-member): Remove old alias.
7098
7099 * emacs-lisp/cl-extra.el (cl-map-keymap, cl-copy-tree)
7100 (cl-not-hash-table, cl-builtin-gethash, cl-builtin-remhash)
7101 (cl-builtin-clrhash, cl-builtin-maphash, cl-gethash, cl-puthash)
7102 (cl-remhash, cl-clrhash, cl-maphash, cl-make-hash-table)
7103 (cl-hash-table-p, cl-hash-table-count): Move to cl.el.
7104 (cl-macroexpand-cmacs): Remove var.
7105 (cl-macroexpand-all, cl-macroexpand-body): Remove funs.
7106 Use macroexpand-all instead.
7107
4dd1c416
SM
71082012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
7109
7110 * emacs-lisp/macroexp.el (macroexp-progn, macroexp-let*, macroexp-if)
7111 (macroexp-let², macroexp--const-symbol-p, macroexp-const-p)
7112 (macroexp-copyable-p): New functions and macros.
7113 * emacs-lisp/edebug.el (edebug-unwrap):
7114 * emacs-lisp/disass.el (disassemble-internal): Use macroexp-progn.
7115 * emacs-lisp/pcase.el: Use macroexp-let*, macroexp-if, ...
7116 (pcase--let*): Remove.
7117 * emacs-lisp/bytecomp.el (byte-compile-const-symbol-p)
7118 (byte-compile-constp): Remove. Use macroexp--const-symbol-p and
7119 macroexp-const-p instead.
7120 * emacs-lisp/byte-opt.el: Use macroexp-const-p and macroexp-progn.
7121
7122 * emacs-lisp/cl-macs.el: Clean up the name space by using "cl--"
7123 instead of "cl-" for internal definitions. Use macroexp-const-p.
7124 (cl-old-bc-file-form): Remove var.
7125 (cl-const-exprs-p): Remove fun.
7126 (cl-labels, cl-macrolet): Use backquote.
7127 (cl-lexical-let): Use cl-symbol-macrolet. Don't use cl-defun-expander.
7128 (cl-defun-expander, cl-byte-compile-compiler-macro): Remove fun.
7129 (cl-define-setf-expander): Rename from cl-define-setf-method.
7130 * emacs-lisp/cl.el: Adjust alias for define-setf-method.
7131
7132 * international/mule-cmds.el: Don't require CL.
7133 (view-hello-file): Don't use `letf'.
7134
ed8bd4d7
SM
71352012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
7136
7287f2f3
SM
7137 * tmm.el (tmm-prompt): Use string-prefix-p.
7138 (tmm-completion-delete-prompt): Don't affect current-buffer outside.
7139 (tmm-add-prompt): Use minibuffer-completion-help.
7140 (tmm-delete-map): Remove.
7141
ed8bd4d7
SM
7142 * subr.el (kbd): Make it its own function.
7143
7b4cdbf4
SM
71442012-06-07 Stefan Merten <smerten@oekonux.de>
7145
7146 * textmodes/rst.el: Use `eval-when-compile' for requiring `cl.el'.
7147 Silence compiler warnings. Fix versions.
ed8bd4d7 7148 (rst-position-if, rst-position, rst-some, rst-signum): New functions.
7b4cdbf4 7149 (rst-shift-region, rst-adornment-level, rst-compute-tabs)
ed8bd4d7 7150 (rst-indent-line, rst-shift-region, rst-forward-line): Use them.
7b4cdbf4
SM
7151 (rst-package-emacs-version-alist): Correct Emacs version to
7152 represent major merge with upstream.
ed8bd4d7 7153 (rst-transition, rst-adornment, rst-compile-toolsets): Fix versions.
7b4cdbf4 7154
2b48d721
GM
71552012-06-06 Glenn Morris <rgm@gnu.org>
7156
7157 * mail/emacsbug.el (report-emacs-bug): Add relevant EMACS env-vars.
7158 Only print environment variables if set.
7159
fa779ab0
SM
71602012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
7161
7162 * emacs-lisp/macroexp.el: Don't require CL since we don't use it.
7163 (macroexp--cons): Rename from maybe-cons.
7164 (macroexp--accumulate): Rename from macroexp-accumulate.
7165 (macroexp--all-forms): Rename from macroexpand-all-forms.
7166 (macroexp--all-clauses): Rename from macroexpand-all-clauses.
7167 (macroexp--expand-all): Rename from macroexpand-all-1.
7168
628299e0
SS
71692012-06-06 Sam Steingold <sds@gnu.org>
7170
7171 * calendar/calendar.el (calendar-in-read-only-buffer):
7172 Call `special-mode' to enable the standard read-only keybindings.
7173
b7bb5838
SM
71742012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
7175
7176 * emacs-lisp/macroexp.el (macroexpand-all-1): Don't spam the output
7177 with "loading" messages (bug#11635).
7178
dfb308ba
MA
71792012-06-06 Michael Albinus <michael.albinus@gmx.de>
7180
7181 * files.el (enable-remote-dir-locals): New option.
7182 (hack-dir-local-variables): Use it. (Bug#1933, Bug#6731)
7183
0372ee92
MA
7184 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
7185 Ensure, that the temp directory is local.
7186
7187 * net/tramp-sh.el (tramp-sh-handle-write-region): Let-bind
7188 `temporary-file-directory'.
7189
eed0bb91
MA
7190 * progmodes/python.el (python-send-region): Ensure, that the
7191 temporary file is created also in the remote case.
7192
7a58f64d
GM
71932012-06-06 Glenn Morris <rgm@gnu.org>
7194
f7dd4e98
GM
7195 * vc/vc-rcs.el (vc-rcs-rcs2log-program): New.
7196 (vc-rcs-update-changelog): Use it.
7197
090bd7cb 7198 * emacs-lisp/authors.el (authors-fixed-entries): Remove vcdiff.
276d5f5d 7199
7a58f64d
GM
7200 * vc/vc-sccs.el (vc-sccs-write-revision): New function.
7201 (vc-sccs-workfile-unchanged-p): Use vc-sccs-write-revision.
7202 (vc-sccs-diff): Replace use of the external vcdiff script.
7203
daed4003
GM
72042012-06-05 Glenn Morris <rgm@gnu.org>
7205
7206 * ledit.el: Move to obsolete/.
7207
48c455c7
SS
72082012-06-05 Sam Steingold <sds@gnu.org>
7209
ed9265fc 7210 * calendar/calendar.el (calendar-exit): Reinstate the 2012-03-28
48c455c7
SS
7211 patch (Bug#11140).
7212
57a7d507
SM
72132012-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
7214
090bd7cb 7215 * emacs-lisp/cust-print.el: Move to obsolete.
d32926ff 7216
53aacf21
SM
7217 * emacs-lisp/macroexp.el (macroexpand-all-1): Tolerate errors during
7218 compiler-macro expansion.
7219
57a7d507
SM
7220 Add native compiler-macro support.
7221 * emacs-lisp/macroexp.el (macroexpand-all-1):
7222 Support compiler-macros directly. Properly follow aliases and apply
7223 the compiler macros more thoroughly.
7224 * emacs-lisp/cl.el: Don't copy compiler-macro properties any more since
7225 macroexpand now properly follows aliases.
7226 * emacs-lisp/cl-macs.el (toplevel, cl-define-compiler-macro)
7227 (cl-compiler-macroexpand): Use new prop.
7228 * emacs-lisp/byte-opt.el (featurep): Optimize earlier.
7229
7230 * emacs-lisp/cl-lib.el (custom-print-functions): Add alias.
7231
51a5f9d8
MR
72322012-06-05 Martin Rudalics <rudalics@gmx.at>
7233
7234 * window.el (get-lru-window, get-mru-window, get-largest-window):
7235 New argument NOT-SELECTED to avoid picking the selected window.
7236 (window--display-buffer-1, window--display-buffer-2): Replace by
7237 new function window--display-buffer
7238 (display-buffer-same-window, display-buffer-reuse-window)
57a7d507
SM
7239 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
7240 Use window--display-buffer.
51a5f9d8
MR
7241 (display-buffer-use-some-window): Remove temporary dedication
7242 hack by calling get-lru-window and get-largest-window with
7243 NOT-SELECTED argument non-nil. Call window--display-buffer.
7244
08f9f738
GM
72452012-06-05 Glenn Morris <rgm@gnu.org>
7246
7247 * vc/vc-sccs.el (vc-sccs-workfile-unchanged-p):
7248 Replace external vcdiff script.
7249
e364a2b7
SM
72502012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
7251
7252 * emacs-lisp/cl-lib.el (cl-values, cl-values-list): Fix up last change.
7253
041df390
CY
72542012-06-04 Chong Yidong <cyd@gnu.org>
7255
e364a2b7
SM
7256 * image.el (imagemagick-types-inhibit): Revert last change.
7257 Add INFO and M.
47b36b94 7258 (imagemagick-enabled-types): Remove CIN and EPS*.
041df390 7259
7c1898a7
SM
72602012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
7261
7262 * emacs-lisp/cl-lib.el: Rename from cl.el.
7263 * emacs-lisp/cl.el: New compatibility file.
7264 * emacs-lisp/cl-lib.el, emacs-lisp/cl-seq.el, emacs-lisp/cl-macs.el:
7265 * emacs-lisp/cl-extra.el: Rename all top-level functions and variables
7266 to obey the "cl-" prefix.
7267 * emacs-lisp/macroexp.el (macroexpand-all-1): Adjust to new name.
7268
0c3461de
GM
72692012-06-03 Glenn Morris <rgm@gnu.org>
7270
1e266c88
GM
7271 * emacs-lisp/authors.el (authors-aliases): Addition.
7272
0c3461de
GM
7273 * cus-start.el (tool-bar-style, tool-bar-max-label-size):
7274 Fix :version.
7275
d8a52e15
SM
72762012-06-03 Stefan Merten <smerten@oekonux.de>
7277
7278 * textmodes/rst.el: Add comments.
7279 (rst-transition, rst-adornment): New faces.
7280 (rst-adornment-faces-alist): Make default safe to reevaluate.
7281 Fixes
7282 http://sourceforge.net/tracker/?func=detail&atid=422030&aid=3479603&group_id=38414.
7283 Improve customization tags.
7284 (rst-define-level-faces): Clarify meaning.
7285
5205d6f6
CY
72862012-06-03 Chong Yidong <cyd@gnu.org>
7287
7288 * progmodes/compile.el (compilation-mode-line-fail)
7c1898a7
SM
7289 (compilation-mode-line-run, compilation-mode-line-exit):
7290 New faces.
5205d6f6
CY
7291 (compilation-start, compilation-handle-exit): Use them (Bug#11032).
7292
757ee657
JD
72932012-06-03 Jack Duthen <duthen.mac.01@gmail.com> (tiny change)
7294
7c1898a7
SM
7295 * progmodes/which-func.el (which-func-update-ediff-windows):
7296 New function. Use it in ediff-select-hook (Bug#11478).
757ee657 7297
5f2c76c6
CY
72982012-06-03 Chong Yidong <cyd@gnu.org>
7299
7300 * bindings.el: Remove explicit help text from format-mode-line.
7301 It is now supplied by mode-line-default-help-echo.
7302 (mode-line-front-space, mode-line-end-spaces)
7303 (mode-line-misc-info): New variables.
7304 (mode-line-modes, mode-line-position): Move the default value to
7305 the variable definition.
7306 (mode-line-default-help-echo): New defcustom.
383f7350
CY
7307 (mode-line-mule-info-help-echo, mode-line-read-only-help-echo)
7308 (mode-line-modified-help-echo): New functions.
7309 (mode-line-mule-info, mode-line-modified): Use them.
7310 (mode-line-eol-desc, propertized-buffer-identification):
7311 Consistency fixes for help text.
cbe46e5f
CY
7312 (mode-line-coding-system-map): Allow using mouse-3 to invoke
7313 set-buffer-file-coding-system (Bug#289).
7314 (mode-line-mule-info-help-echo): Update help text.
5f2c76c6 7315
f2d6a3df
SM
73162012-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
7317
7318 * simple.el (execute-extended-command): Set real-this-command
7319 (bug#11506).
7320
37269466
CY
73212012-06-02 Chong Yidong <cyd@gnu.org>
7322
7323 Remove incorrect uses of "modeline" in comments, docstrings, and
7324 function/variable names (Bug#10329).
7325
7326 * cus-edit.el (mode-line):
7327 * dframe.el (dframe-mouse-hscroll):
7328 * emacs-lisp/re-builder.el:
7329 * emacs-lisp/easy-mmode.el (define-minor-mode):
7330 * frame.el (set-frame-name):
7331 * help.el (lookup-minor-mode-from-indicator):
7332 * net/rcirc.el (rcirc-activity-string, rcirc-short-buffer-name):
7333 * progmodes/cc-cmds.el (c-toggle-auto-newline)
7334 (c-toggle-hungry-state):
7335 * progmodes/antlr-mode.el (antlr-language-alist):
7336 * progmodes/idlw-shell.el (idlwave-shell-electric-stop-line-face):
7337 * progmodes/vhdl-mode.el (vhdl-mode):
7338 * progmodes/which-func.el (which-func, which-func-cleanup-function):
7339 * term/ns-win.el (ns-face-at-pos):
7340 * term/sup-mouse.el (sup-mouse-report):
7341 * textmodes/flyspell.el (flyspell-mode-line-string):
7342 * textmodes/ispell.el (ispell-highlight-face):
7343 * textmodes/reftex-global.el:
7344 * vc/vc-arch.el (vc-arch-mode-line-string):
7345 * vc/vc-cvs.el (vc-cvs-mode-line-string):
7346 * vc/vc-git.el (vc-git-mode-line-string):
7347 * vc/vc-hooks.el (vc-display-status)
7348 (vc-default-mode-line-string):
7349 * vc/vc-mtn.el (vc-mtn-mode-line-string): Doc fixes.
7350
7351 * ansi-color.el (ansi-color-faces-vector): Change default faces.
7352
7353 * dired.el (dired-sort-set-mode-line): Rename from
7354 dired-sort-set-modeline. All callers changed.
7355
7356 * eshell/esh-mode.el (eshell-status-in-mode-line): Rename from
7357 eshell-status-in-modeline.
7358
7359 * foldout.el (foldout-mode-line-string): Rename from
7360 foldout-modeline-string. All callers changed.
7361 (foldout-update-mode-line): Rename from foldout-update-modeline.
7362
7363 * subr.el (redraw-modeline): Make into obsolete alias.
7364
7365 * calendar/timeclock.el (timeclock-mode-line-display): Rename from
7366 timeclock-modeline-display. Make old name an alias.
7367 (timeclock-update-mode-line): Likewise. All callers changed.
7368 (timeclock-mode-line-display): No need to check before using
7369 add-hook.
7370 (timeclock-relative, timeclock-day-over-hook)
7371 (timeclock-use-elapsed, timeclock-mode-string)
7372 (timeclock-mode-line-display): Doc fix, "modeline" -> "mode line".
7373
7374 * emulation/crisp.el (crisp-mode-mode-line-string): Rename from
7375 crisp-mode-modeline-string.
7376
7377 * play/solitaire.el (solitaire-build-mode-line): Rename from
7378 solitaire-build-modeline. All callers changed.
7379
7380 * play/zone.el (zone-hiding-mode-line): Rename from
7381 zone-hiding-modeline. All callers changed.
7382 (zone): Remove unusued `modeline-hidden-level' property.
7383
7384 * progmodes/xscheme.el (xscheme-mode-line-initialize): Rename from
7385 xscheme-modeline-initialize. All callers changed.
7386
7387 * strokes.el (strokes-lighter): Rename from
7388 strokes-modeline-string.
7389
7390 * textmodes/sgml-mode.el (html-face-tag-alist)
7391 (html-tag-face-alist): Use mode-line face instead of obsolete
7392 alias modeline.
7393
42152ee4
SM
73942012-06-02 Stefan Merten <smerten@oekonux.de>
7395
7396 * textmodes/rst.el: Always require `cl'.
4cf9b38d 7397 (rst-mode-map): Fix meaning of C-M-a / C-M-e.
42152ee4 7398
95f520b5
CY
73992012-06-02 Chong Yidong <cyd@gnu.org>
7400
7401 * image.el (imagemagick-enabled-types): Rename from
7402 imagemagick-types-enable. Add many more types.
7403 (imagemagick-types-inhibit): Change default to nil.
7404 (imagemagick-filter-types): Caller changed.
7405
4a5f187a
SM
74062012-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
7407
03fef3e6
SM
7408 * emacs-lisp/cl-macs.el: Use backquotes.
7409 (cl-transform-function-property): Use eval-and-compile rather than
7410 abusing `require'.
7411 (defstruct): Use declare-function instead of with-no-warnings.
7412
4a5f187a
SM
7413 * emacs-lisp/bytecomp.el: Fix last change (bug#11594).
7414 (byte-compile-output-docform): Re-add the print-circle bindings.
7415 (byte-compile-fix-header): Use #$ just because it's shorter.
7416 (byte-compile-output-file-form): Remove defun/defmacro.
7417
bd56924f
MR
74182012-06-01 Martin Rudalics <rudalics@gmx.at>
7419
7420 * simple.el (choose-completion): Remove now obsolete binding for
7421 owindow.
7422
046e38ce
MA
74232012-06-01 Michael Albinus <michael.albinus@gmx.de>
7424
7425 * net/tramp.el (tramp-check-for-regexp): Search from buffer end,
7426 in order to avoid "Stack overflow in regexp matcher".
7427
32d72c2f
GM
74282012-05-31 Glenn Morris <rgm@gnu.org>
7429
7430 * image.el: For clarity, call imagemagick-register-types at
7431 top-level, rather than relying on a custom :initialize.
7432 (imagemagick-types-enable): New option. (Bug#11557)
60b5f187
GM
7433 (imagemagick-filter-types): New function. (Bug#7406)
7434 (imagemagick-register-types): Use imagemagick-filter-types.
32d72c2f
GM
7435 If disabling support, remove elements altogether rather
7436 than using an impossible regexp.
7437 (imagemagick-types-inhibit): Give it the default init function.
7438
dd41169b
SM
74392012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
7440
4a5f187a
SM
7441 * emacs-lisp/bytecomp.el (byte-compile-fix-header):
7442 Handle arbitrary file name lengths (Bug#11585).
dd41169b 7443
efc00ab1 74442012-05-31 Martin Rudalics <rudalics@gmx.at>
5221ccb9
MR
7445
7446 * desktop.el (desktop-read): Clear previous and next buffers for
7447 all windows and bury *Messages* buffer (bug#11556).
7448
500fcedc
SM
74492012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
7450
7451 Add `declare' for `defun'. Align `defmacro's with it.
7452 * emacs-lisp/easy-mmode.el (define-minor-mode)
7453 (define-globalized-minor-mode): Don't autoload the var definitions.
7454 * emacs-lisp/byte-run.el: Use lexical-binding.
7455 (defun-declarations-alist, macro-declarations-alist): New vars.
7456 (defmacro, defun): Use them.
7457 (make-obsolete, define-obsolete-function-alias)
7458 (make-obsolete-variable, define-obsolete-variable-alias):
7459 Use `declare'.
7460 (macro-declaration-function): Mark obsolete.
7461 * emacs-lisp/autoload.el: Use lexical-binding.
7462 (make-autoload): Add `expansion' arg. Rely more on macro expansion.
7463
6e8a1786
AM
74642012-05-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
7465
7466 * textmodes/ispell.el (ispell-with-no-warnings):
7467 Define as a macro.
500fcedc
SM
7468 (ispell-kill-ispell, ispell-change-dictionary):
7469 Use `called-interactively-p' for Emacs instead of obsolete
6e8a1786
AM
7470 `interactive-p'.
7471
61b108cc
SM
74722012-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
7473
7474 * emacs-lisp/byte-run.el (defmacro, defun): Move from C.
7475 (macro-declaration-function): Move var from C code.
7476 (macro-declaration-function): Define function with defalias.
7477 * emacs-lisp/macroexp.el (macroexpand-all-1):
7478 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form):
7479 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Don't handle
7480 defun/defmacro any more.
7481 * emacs-lisp/bytecomp.el (byte-compile-arglist-signature):
7482 Provide fallback for unknown arglist.
7483 (byte-compile-arglist-warn): Change calling convention.
7484 (byte-compile-output-file-form): Move print-vars binding.
7485 (byte-compile-output-docform): Simplify accordingly.
7486 (byte-compile-file-form-defun, byte-compile-file-form-defmacro)
7487 (byte-compile-defmacro-declaration): Remove.
7488 (byte-compile-file-form-defmumble): Generalize to defalias.
7489 (byte-compile-output-as-comment): Return byte-positions.
7490 Simplify callers accordingly.
7491 (byte-compile-lambda): Use `assert'.
7492 (byte-compile-defun, byte-compile-defmacro): Remove.
7493 (byte-compile-file-form-defalias):
7494 Use byte-compile-file-form-defmumble.
7495 (byte-compile-defalias-warn): Remove.
7496
6d3f7c2f
SM
74972012-05-29 Stefan Merten <smerten@oekonux.de>
7498
7499 * textmodes/rst.el: Silence `checkdoc-ispell' errors where
61b108cc 7500 possible. Fix authors. Improve comments. Improve loading of `cl'.
6d3f7c2f
SM
7501
7502 (rst-mode-abbrev-table): Merge definition.
7503 (rst-mode): Make sure `font-lock-defaults' is buffer local.
7504 (rst-define-key, rst-deprecated-keys, rst-call-deprecated): Refactor.
7505
6dbaa1c7
UJ
75062012-05-29 Ulf Jasper <ulf.jasper@web.de>
7507
7508 * calendar/icalendar.el
7509 (icalendar-export-region): Export UID properly.
7510
d209e2fb 75112012-05-29 Leo Liu <sdl.web@gmail.com>
61b108cc
SM
7512 * calendar/icalendar.el (icalendar-import-format):
7513 Add `icalendar-import-format-uid' (Bug#11525).
6dbaa1c7
UJ
7514 (icalendar-import-format-uid): New.
7515 (icalendar--parse-summary-and-rest, icalendar--format-ical-event):
7516 Export UID.
7517
6876a58d
SM
75182012-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
7519
7520 * emacs-lisp/pcase.el (pcase--expand): Accept different sets of vars in
7521 different alternative patterns.
7522 (pcase-codegen): Be more careful to preserve identity.
7523 (pcase--u1): Don't forget to mark vars as used.
7524
7525 * emacs-lisp/bytecomp.el (byte-compile-constp): Treat #'v as a constant.
7526 (byte-compile-close-variables): Bind byte-compile--outbuffer here...
7527 (byte-compile-from-buffer): ...rather than here.
7528
7529 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Don't re-preprocess
7530 functions from byte-compile-function-environment.
7531
46b7967e
TN
75322012-05-29 Troels Nielsen <bn.troels@gmail.com>
7533
7534 * window.el (window-deletable-p): Avoid deleting the root window
7535 of a frame with an active minibuffer.
7536
69d565e2
MR
75372012-05-29 Martin Rudalics <rudalics@gmx.at>
7538
7539 * simple.el (choose-completion): Use quit-window (Bug#11567).
7540
a149fa51
CY
75412012-05-29 Chong Yidong <cyd@gnu.org>
7542
7543 * whitespace.el (whitespace-cleanup): Fix usage of
7544 whitespace-empty-at-bob-regexp (Bug#11492).
7545
2b311310
AH
75462012-05-29 Aaron S. Hawley <aaron.s.hawley@gmail.com>
7547
7548 * vc/vc.el (vc-revert, vc-rollback): Dont kill vc-diff buffer on
7549 revert (Bug#11488).
7550
b9cb2387
JL
75512012-05-29 Juri Linkov <juri@jurta.org>
7552
7553 * isearch.el (isearch-mode-map): Bind `M-s _' to
7554 `isearch-toggle-symbol'. Bind `M-s c' to
7555 `isearch-toggle-case-fold'.
7556 (search-map): Bind `M-s _' to `isearch-forward-symbol'.
7557 (isearch-forward): Add `M-s _' to the docstring.
7558 (isearch-forward-symbol, isearch-toggle-case-fold)
7559 (isearch-symbol-regexp): New functions. (Bug#11381)
7560
d5e61c1c
JL
75612012-05-29 Juri Linkov <juri@jurta.org>
7562
7563 * isearch.el (isearch-word): Add docstring. (Bug#11381)
7564 (isearch-occur, isearch-search-and-update): If `isearch-word' is
7565 a function, call it to get the regexp.
7566 (isearch-message-prefix): If `isearch-word' holds a symbol, use its
7567 property `isearch-message-prefix' instead of the string "word ".
7568 (isearch-search-fun-default): For the case of `isearch-word',
7569 return a lambda that calls re-search-forward/re-search-backward
7570 with a regexp returned by `word-search-regexp' or by the function
7571 in `isearch-word'.
7572
8cbd80f7
JL
75732012-05-29 Juri Linkov <juri@jurta.org>
7574
7575 * isearch.el (isearch-search-fun-default): New function.
7576 (isearch-search-fun): Move default part to the new function
7577 `isearch-search-fun-default'.
7578 (isearch-search-fun-function): Set the default value to
7579 `isearch-search-fun-default'. (Bug#11381)
7580
7581 * comint.el (comint-history-isearch-end):
7582 Use `isearch-search-fun-default'.
7583 (comint-history-isearch-search): Use `isearch-search-fun-default'
7584 and remove spacial case for `isearch-word'.
7585 (comint-history-isearch-wrap): Remove spacial case for
7586 `isearch-word'.
7587
7588 * hexl.el (hexl-isearch-search-function):
7589 Use `isearch-search-fun-default'.
7590
7591 * info.el (Info-isearch-search): Use `isearch-search-fun-default'.
7592 Use `word-search-regexp' for `isearch-word'.
7593
7594 * misearch.el (multi-isearch-search-fun):
7595 Use `isearch-search-fun-default'.
7596
7597 * simple.el (minibuffer-history-isearch-search):
7598 Use `isearch-search-fun-default' and remove spacial case for
7599 `isearch-word'.
7600 (minibuffer-history-isearch-wrap): Remove spacial case for
7601 `isearch-word'.
7602
7603 * textmodes/reftex-global.el (reftex-isearch-wrap-function):
7604 Remove spacial case for `isearch-word'.
7605 (reftex-isearch-isearch-search): Use `isearch-search-fun-default'.
7606
85c8c5b6
AM
76072012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
7608
7609 Decrease XEmacs incompatibilities.
7610 * textmodes/flyspell.el (flyspell-check-pre-word-p):
7611 Use `string-match'.
7612 (flyspell-delete-region-overlays): Use alternative definition for
7613 XEmacs.
7614 (flyspell-delete-all-overlays): Use `flyspell-delete-region-overlays'.
7615 (flyspell-word): Use `process-kill-without-query' if XEmacs.
7616 (flyspell-mode-on): Use `interactive-p' if XEmacs.
7617 (flyspell-incorrect-face, flyspell-duplicate-face): Do not use
7618 `define-obsolete-face-alias' under XEmacs, but old method.
7619
7620 * textmodes/ispell.el (ispell-with-no-warnings): XEmacs alternative
7621 `with-no-warnings' definition or Emacs alias.
7622 (ispell-command-loop, ispell-message): Use `ispell-with-no-warnings'.
7623 (ispell-word): Do not use `region-p' if XEmacs.
7624
8cab9efc
AM
76252012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
7626
7627 * textmodes/ispell.el (ispell-find-aspell-dictionaries):
7628 Check for `ispell-dictionary-base-alist' instead of full
7629 `ispell-dictionary-alist'.
7630 (ispell-init-process): Show spellchecker when starting new Ispell
7631 process.
7632
fda91268
RZ
76332012-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
7634
7635 * progmodes/vhdl-mode.el: Sync with upstream 3.33.28.
7636 http://www.iis.ee.ethz.ch/~zimmi/emacs/vhdl-mode.html#release-notes-3.33
7637
694ea8e3
JB
76382012-05-27 Juanma Barranquero <lekktu@gmail.com>
7639
7640 * version.el (motif-version-string, gtk-version-string)
7641 (ns-version-string): Declare.
7642
e4d4f539
JL
76432012-05-27 Juri Linkov <juri@jurta.org>
7644
7645 * emacs-lisp/lisp-mode.el (eval-defun-2): Use `eval-sexp-add-defvars'
7646 after the `eval-defun-1' specialcaseing
7647 like in `edebug-eval-defun' (bug#10181).
7648
7649 * emacs-lisp/edebug.el (edebug-eval-defun): Set `face-documentation'
7650 like in `eval-defun-1'.
7651
33017faf 76522012-05-27 Eli Zaretskii <eliz@gnu.org>
b30b64b9 7653
fda91268
RZ
7654 * mail/sendmail.el (mail-yank-region):
7655 Recognize rmail-yank-current-message in addition to insert-buffer.
7656 Fixes mail-mode's "C-c C-r" that otherwise does nothing when invoked in
b30b64b9
EZ
7657 a *mail* buffer created through rmail-start-mail with sendmail as
7658 mail-user-agent.
7659
33017faf
GM
76602012-05-27 Chong Yidong <cyd@gnu.org>
7661
7662 * net/gnutls.el (gnutls-min-prime-bits): Improve docstring.
7663 Default to 256 (Bug#11267).
7664
7665 * help.el (describe-mode): Doc fix.
7666
04188bb9
GM
76672012-05-26 Glenn Morris <rgm@gnu.org>
7668
38264cc9
GM
7669 * w32-fns.el (w32-init-info): Remove.
7670 * paths.el (Info-default-directory-list): Add w32-init-info equivalent.
7671
eb7afdad
GM
7672 * info.el (info-initialize): For self-contained NS builds, put the
7673 included info/ directory at the front. (Bug#2791)
7674
04188bb9
GM
7675 * paths.el (Info-default-directory-list): Make it a defcustom,
7676 mainly so that we can use custom-initialize-delay.
7677
a179e3f7
SM
76782012-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
7679
43416392
SM
7680 * subr.el (buffer-has-markers-at): Mark obsolete.
7681
a179e3f7 7682 * subr.el (lambda): Use declare.
43416392 7683
a179e3f7
SM
7684 * emacs-lisp/lisp-mode.el (lambda):
7685 * emacs-lisp/edebug.el (lambda): Move properties to its definition.
7686
34a008d9
AH
76872012-05-26 Aaron S. Hawley <aaron.s.hawley@gmail.com>
7688
7689 * thingatpt.el (forward-same-syntax): Handle no ARG case. (Bug#11560)
7690
0a3b289f
GM
76912012-05-26 Glenn Morris <rgm@gnu.org>
7692
7693 * progmodes/cc-mode.el (auto-mode-alist): Fix typo.
7694
758c81e8
GM
76952012-05-25 Glenn Morris <rgm@gnu.org>
7696
f9f334f0
GM
7697 * paths.el: Remove no-byte-compile.
7698 * loadup.el: No need to load paths.el uncompiled.
7699
87eb79c2
GM
7700 * image.el (imagemagick-types-inhibit): Doc fix.
7701
758c81e8
GM
7702 * version.el: Remove no-byte-compile and associated formatting.
7703 * loadup.el: No need to load version.el uncompiled. AFAICS, this
7704 is ancient code from when there was an "inc-vers.el".
7705
e7e85dc0
SM
77062012-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
7707
7708 * progmodes/gdb-mi.el: Minor style changes.
7709 (gdb-enable-debug, gdb-speedbar-auto-raise, gdb-many-windows):
7710 Turn into minor modes.
7711 (gdb--if-arrow): Rename from gdb-if-arrow, make it hygienic.
7712 (gdb-mouse-until, gdb-mouse-jump): Adjust uses accordingly.
7713 (gdb-shell): Remove unneeded let-binding.
7714 (gdb-get-many-fields): Eliminate O(n²) behavior.
7715
f31237a4
EZ
77162012-05-25 Eli Zaretskii <eliz@gnu.org>
7717
7718 * cus-start.el <vertical-centering-font-regexp>: Avoid warning on
7719 platforms that don't link in fontset.c.
7720
bc1b21bb
JL
77212012-05-25 Juri Linkov <juri@jurta.org>
7722
7723 Use the same diff color scheme as in modern VCSes (bug#10181).
7724
7725 * vc/diff-mode.el (diff-header, diff-file-header): Remove "green"
7726 to avoid confusion with `diff-added' that now uses green colors.
7727 (diff-removed): Use shades of red.
7728 (diff-added): Use shades of green.
7729 (diff-changed): Leave just the yellow color.
7730 (diff-use-changed-face): New variable.
7731 (diff-font-lock-keywords): Use `diff-use-changed-face' to decide
7732 how to highlight context diff changes.
7733 (diff-refine-change): Use shades of yellow.
7734 (diff-refine-removed): New face that uses shades of red.
7735 (diff-refine-added): New face that uses shades of green.
7736 (diff-refine-hunk): Use `diff-refine-change', `diff-refine-added',
7737 `diff-refine-removed' in the call to `smerge-refine-subst'
7738 depending on the value of `diff-use-changed-face'.
7739
7740 * vc/smerge-mode.el (smerge-mine): Use shades of red.
7741 (smerge-other): Use shades of green.
7742 (smerge-base): Use shades of yellow.
7743 (smerge-refined-change): Empty face.
7744 (smerge-refined-removed): New face that uses shades of red.
7745 (smerge-refined-added): New face that uses shades of green.
7746 (smerge-refine-subst): Rename arg `props' to `props-c'. Add new
7747 args `props-r' and `props-a', and use them. Doc fix.
7748 (smerge-refine): Evaluate `smerge-use-changed-face' and depending
7749 on its value use different faces `smerge-refined-change',
7750 `smerge-refined-removed', `smerge-refined-added' in the call to
7751 `smerge-refine-subst'.
7752
7753 * vc/ediff-init.el (ediff-current-diff-A, ediff-fine-diff-A):
7754 Add face condition `min-colors 88' with shades of red.
7755 (ediff-current-diff-B, ediff-fine-diff-B): Add face condition
7756 `min-colors 88' with shades of green.
7757 (ediff-current-diff-C, ediff-fine-diff-C): Add face condition
7758 `min-colors 88' with shades of yellow.
7759
6df9112c
GM
77602012-05-24 Glenn Morris <rgm@gnu.org>
7761
ead5edc0
GM
7762 * paths.el (prune-directory-list, remote-shell-program): Move to...
7763 * files.el (prune-directory-list, remote-shell-program): ...here.
7764 For the latter, delay initialization, prefer ssh, just search PATH.
7765
f18b81e6
GM
7766 * paths.el (term-file-prefix): Move to faces.el (the only user).
7767 * faces.el (term-file-prefix): Move here, make it a defcustom.
7768
ee2f89a6
GM
7769 * paths.el (news-directory, news-path, news-inews-program):
7770 Move to gnus/nnspool.el.
61a583ca 7771
f8815e4c
GM
7772 * paths.el (gnus-default-nntp-server): Remove (gnus.el defines it).
7773
c8f3b42c
GM
7774 * paths.el (rmail-file-name, rmail-spool-directory): Move from here...
7775 * mail/rmail.el (rmail-file-name, rmail-spool-directory): ... to here.
7776 Make the latter a defcustom, with a delayed initialization.
7777
6df9112c
GM
7778 * paths.el (gnus-nntp-service, gnus-local-organization): Remove.
7779 These were deleted from Gnus itself late 2010.
7780
5dadff36
JB
77812012-05-22 Juanma Barranquero <lekktu@gmail.com>
7782
9e1701c6
JB
7783 * progmodes/which-func.el (which-func-ff-hook):
7784 Check against user-error, not error.
7785
bd7239f5 7786 * emacs-lisp/edebug.el (top): Do not load or set up loading of
5dadff36
JB
7787 cl-specs.el, which no longer exists.
7788
3290526d
GM
77892012-05-22 Glenn Morris <rgm@gnu.org>
7790
7791 * info.el (info-emacs-bug): New command.
7792 * menu-bar.el (menu-bar-help-menu): Add "How to Report a Bug" to Help.
7793 * mail/emacsbug.el (report-emacs-bug): Replace with info-emacs-bug.
7794
ff0c3cfb
GM
77952012-05-21 Glenn Morris <rgm@gnu.org>
7796
7797 * makefile.w32-in (update-subdirs-SH):
7798 * Makefile.in (update-subdirs): Update for moved update-subdirs.
7799
5814f126
SM
78002012-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
7801
a52c0aa0
SM
7802 * hi-lock.el (hi-lock-face-defaults): Move obsolete before definition.
7803
5814f126
SM
7804 * progmodes/compile.el (compilation-error-regexp-alist-alist):
7805 Simplify Maven regexp, and make sure the file can't start with a space
7806 (bug#11517).
7807
b847032c
GM
78082012-05-21 Glenn Morris <rgm@gnu.org>
7809
7810 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
7811 Scrap superfluous subshells.
7812
3858bfe7
SM
78132012-05-19 Stefan Monnier <monnier@iro.umontreal.ca>
7814
7815 * emacs-lisp/bytecomp.el (byte-compile-root-dir): New var.
7816 (byte-compile-warning-prefix, batch-byte-compile-file): Use it.
7817
d14b0029
JB
78182012-05-19 Jay Belanger <jay.p.belanger@gmail.com>
7819
7820 * calc/calc.el (calc-ensure-consistent-units): New variable.
7821
a52c0aa0
SM
7822 * calc/calc-units.el (math-consistent-units-p)
7823 (math-check-unit-consistency): New functions.
7824 (calc-quick-units, calc-convert-units):
7825 Use `math-check-unit-consistency' when `calc-ensure-consistent-units'
7826 is non-nil.
d14b0029
JB
7827 (calc-extract-units): Fix typo.
7828
60c4db3a
SM
78292012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
7830
77f3b62e
SM
7831 * vc/vc-bzr.el (vc-bzr-state-heuristic): Save match-data around sha1.
7832
60c4db3a
SM
7833 * textmodes/flyspell.el: Commenting style, plus code simplifications.
7834 (flyspell-default-deplacement-commands): Don't spell check after
7835 repeated window/frame switches (e.g. triggered by mouse-movement).
7836 (flyspell-delay-commands, flyspell-deplacement-commands): Use mapc.
7837 (flyspell-debug-signal-word-checked): Simplify and fit in 80 cols.
7838 (flyspell-casechars-cache, flyspell-ispell-casechars-cache)
7839 (flyspell-not-casechars-cache, flyspell-ispell-not-casechars-cache):
7840 Remove unused vars.
7841 (flyspell-get-casechars, flyspell-get-not-casechars):
7842 Simplify; Don't bother removing a ] just to add it back.
7843 * textmodes/ispell.el (ispell-program-name): Use executable-find.
7844
d209e2fb 78452012-05-18 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
b1a10716
RS
7846
7847 * calc/calc-lang.el (math-C-parse-bess, math-C-parse-fma):
7848 New functions.
bd7239f5 7849 (math-function-table): Add support for more C functions.
b1a10716 7850
3f1b25b5
AM
78512012-05-18 Agustín Martín Domingo <agustin.martin@hispalinux.es>
7852
090bd7cb
JB
7853 * textmodes/flyspell.el (flyspell-check-pre-word-p)
7854 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
7855 Protect delay handling for otherchars against empty otherchars.
3f1b25b5 7856
b581bb5c
SM
78572012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
7858
7859 * emacs-lisp/lisp-mode.el (doc-string-elt): Move those properties to
7860 their respective macro declarations.
7861 * skeleton.el (define-skeleton):
7862 * progmodes/compile.el (define-compilation-mode):
7863 * ibuf-macs.el (define-ibuffer-sorter, define-ibuffer-op)
7864 (define-ibuffer-filter):
7865 * emacs-lisp/generic.el (define-generic-mode):
7866 * emacs-lisp/easy-mmode.el (define-minor-mode)
7867 (define-globalized-minor-mode):
7868 * emacs-lisp/cl-macs.el (defun*, defmacro*, defstruct, deftype):
7869 * emacs-lisp/byte-run.el (defsubst):
7870 * custom.el (deftheme): Add doc-string metadata.
7871
70b8ef8f
SM
78722012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
7873
7874 * emacs-lisp/cl-macs.el, emacs-lisp/cl.el: Move indent info.
7875
b1198e17
SM
78762012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
7877
9abdc45d
SM
7878 * emacs-lisp/pcase.el (pcase--u1): Avoid ((lambda ...) ...).
7879
b1198e17
SM
7880 * emacs-lisp/cl.el: Add edebug specs from cl-specs.el.
7881 * emacs-lisp/cl-macs.el: Idem.
7882 * emacs-lisp/cl-specs.el: Remove.
7883
4735906a
SM
78842012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
7885
7886 Minor renaming of internal CL functions and variables.
7887 * emacs-lisp/cl-seq.el (cl--adjoin): Rename from cl-adjoin.
7888 (cl--position): Rename from cl-position.
7889 (cl--delete-duplicates): Rename from cl-delete-duplicates.
7890 * emacs-lisp/cl.el (cl--gensym-counter): Rename from *gensym-counter*.
7891 (cl--random-state): Rename from *random-state*.
7892
ac348012
SM
78932012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
7894
7895 * emacs-lisp/cl-macs.el (cl-transform-lambda): Don't add spurious
7896 parens around the arg list (bug#11499).
7897
a0a79cde
JL
78982012-05-17 Juri Linkov <juri@jurta.org>
7899
7900 * isearch.el (word-search-regexp, word-search-backward)
7901 (word-search-forward, word-search-backward-lax)
7902 (word-search-forward-lax): Move functions from search.c
7903 (bug#10145, bug#11381).
7904
65034a51
AM
79052012-05-16 Agustín Martín Domingo <agustin.martin@hispalinux.es>
7906
090bd7cb
JB
7907 * textmodes/flyspell.el (flyspell-check-pre-word-p)
7908 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
7909 Delay for otherchars as for normal word components.
65034a51 7910
1a72a195
SM
79112012-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
7912
7913 * minibuffer.el (completion--sifn-requote): Fix last change.
7914 (minibuffer-local-must-match-filename-map):
7915 Move define-obsolete-variable-alias before its var.
7916
fdb058c2
SM
79172012-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
7918
c41045e6
SM
7919 * emacs-lisp/pcase.el (pcase-let*, pcase-let): Fix edebug spec.
7920
036dfb8b
SM
7921 * minibuffer.el (completion--sifn-requote): Handle sifn's truncation
7922 behavior.
7923 (completion--string-equal-p): New function.
7924 (completion--twq-all): Use it to get better assertion failure data.
7925
2473256d
SM
7926 Only handle ".." and '..' quoting in shell-mode (bug#11466).
7927 * shell.el (shell--unquote&requote-argument, shell--unquote-argument)
7928 (shell--requote-argument): New functions.
7929 (shell-completion-vars): Use them.
7930 (shell--parse-pcomplete-arguments): Rename from
7931 shell-parse-pcomplete-arguments.
7932 * comint.el (comint-word): Obey comint-file-name-quote-list. Simplify.
7933 (comint--unquote&requote-argument): Don't handle ".." and '..' quoting.
7934 Obey comint-file-name-quote-list.
7935
fdb058c2
SM
7936 * emacs-lisp/smie.el (smie-indent--bolp-1): New function.
7937 (smie-indent-keyword): Use it.
7938
51fa99f1
SM
79392012-05-14 Stefan Merten <smerten@oekonux.de>
7940
7941 * textmodes/rst.el (rst-re-alist): Fix loading (bug#11462).
7942
e18afed7 79432012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
d9d1dfef
SM
7944
7945 * net/rlogin.el (rlogin-mode-map): Fix last change.
7946
e18afed7 79472012-05-14 Jason L. Wright <jason.wright@inl.gov> (tiny change)
8633b1f4
JW
7948
7949 * mail/smtpmail.el (smtpmail-send-command): Send the command and
7950 the following \r\n using a single `process-send-string', since the
7951 Lotus SMTP server refuses to accept any commands if they are sent
e18afed7 7952 with two `process-send-string's (Bug#11444).
8633b1f4 7953
e18afed7 79542012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
fe263b8f 7955
fdb058c2
SM
7956 * shell.el (shell-parse-pcomplete-arguments):
7957 Obey pcomplete-arg-quote-list inside double-quoted args (Bug#11348).
e18afed7 7958
2d21d7f6
WJ
79592012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
7960
e18afed7 7961 * image-mode.el: Fit to width/height for rotated images (Bug#11431).
2d21d7f6
WJ
7962 (image-transform-scale, image-transform-right-angle-fudge): New vars.
7963 (image-transform-width, image-transform-fit-width): New functions.
7964 (image-transform-properties): Use them.
7965 (image-transform-check-size): New function.
7966 (image-toggle-display-image): Use it (for testing).
7967 (image-transform-set-rotation): Reduce angle mod 360.
7968 Delete obsolete comment.
7969
7102e6d0
WJ
79702012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
7971
7972 * image-mode.el: Fix scaling (bug#11399).
7973 (image-transform-resize): Doc fix.
7974 (image-transform-properties): Default scale is 1 and height should
7975 be an integer.
7976
06bc5e6e
SM
79772012-05-13 Johan Bockgård <bojohan@gnu.org>
7978
7979 * emacs-lisp/smie.el (smie-next-sexp): Use accessor `op-forw' rather
7980 than hard-coding `car', to fix misbehavior when moving forward.
7981
0ae03b6a
CY
79822012-05-13 Chong Yidong <cyd@gnu.org>
7983
7984 * emacs-lisp/tabulated-list.el (tabulated-list-format)
7985 (tabulated-list-entries, tabulated-list-padding)
7986 (tabulated-list-sort-key): Make permanent-local.
7987
7988 * ebuff-menu.el: Adapt to Buffer Menu changes (Bug#11455).
7989 (electric-buffer-list): Put electric buffer menu
7990 command descriptions in this docstring, instead of the docstring
7991 of electric-buffer-menu-mode. Code cleanups.
7992 (electric-buffer-menu-mode): Use define-derived-mode. Rename from
7993 Electric-buffer-menu-mode.
7994 (electric-buffer-update-highlight): Minor code cleanup.
7995
205a7391
MA
79962012-05-13 Michael Albinus <michael.albinus@gmx.de>
7997
7998 * net/dbus.el (dbus-call-method): Restore events not from D-Bus.
7999 (Bug#11447)
8000
e5bd0a28
SM
80012012-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
8002
8003 Move define-obsolete-variable-alias before the var's definition.
8004 * vc/log-edit.el (vc-comment-ring, vc-comment-ring-index):
8005 * tooltip.el (tooltip-hook):
8006 * textmodes/reftex-toc.el (reftex-toc-map):
8007 * textmodes/reftex-sel.el (reftex-select-label-map)
8008 (reftex-select-bib-map):
8009 * textmodes/reftex-index.el (reftex-index-map)
8010 (reftex-index-phrases-map):
8011 * speedbar.el (speedbar-syntax-table, speedbar-key-map):
8012 * progmodes/meta-mode.el (meta-mode-map):
8013 * novice.el (disabled-command-hook):
8014 * loadhist.el (unload-hook-features-list):
8015 * frame.el (blink-cursor):
8016 * files.el (find-file-not-found-hooks, write-file-hooks)
8017 (write-contents-hooks):
8018 * emulation/tpu-edt.el (GOLD-map):
8019 * emacs-lock.el (emacs-lock-from-exiting):
8020 * emacs-lisp/generic.el (generic-font-lock-defaults):
8021 * emacs-lisp/chart.el (chart-map):
8022 * dos-fns.el (register-name-alist):
8023 * dired-x.el (dired-omit-files-p):
8024 * desktop.el (desktop-enable):
8025 * cus-edit.el (custom-mode-hook):
8026 * buff-menu.el (buffer-menu-mode-hook):
8027 * bookmark.el (bookmark-read-annotation-text-func)
8028 (bookmark-exit-hooks):
8029 * allout.el (allout-mode-deactivate-hook)
8030 (allout-exposure-change-hook, allout-structure-added-hook)
8031 (allout-structure-deleted-hook, allout-structure-shifted-hook):
8032 * dirtrack.el (dirtrack-toggle, dirtrackp, dirtrack-debug-toggle)
8033 (dirtrack-debug): Move call to define-obsolete-variable-alias so it
8034 comes before the corresponding variable's definition.
8035
ac59c2f6
CY
80362012-05-12 Chong Yidong <cyd@gnu.org>
8037
8038 * buff-menu.el (Buffer-menu-buffer+size-width): Doc fix (Bug#11454).
0d909786
CY
8039 (Buffer-menu-mouse-select): Restore function (Bug#11459).
8040 (Buffer-menu-mode-map): Bind it.
8041 (Buffer-menu--pretty-name): Add a mouse-face property.
ac59c2f6 8042
dee6c9a3
SM
80432012-05-11 Stefan Monnier <monnier@iro.umontreal.ca>
8044
2171cea5
SM
8045 * progmodes/prolog.el: Use SMIE. Cleanup regexp setup.
8046 (prolog-upper-case-string, prolog-lower-case-string)
8047 (prolog-atom-char-regexp, prolog-atom-regexp): Initialize in defconst.
8048 (prolog-use-smie, prolog-smie-grammar): New vars.
8049 (prolog-smie-forward-token, prolog-smie-backward-token)
8050 (prolog-smie-rules): New funs.
8051 (prolog-comment-indent): Remove.
8052 (prolog-mode-variables): Use default comment indentation instead.
8053 Setup SMIE.
8054 (prolog-build-case-strings, prolog-set-atom-regexps): Remove.
8055 (prolog-mode): Don't call them any more.
8056 (prolog-electric-colon, prolog-electric-dash)
8057 (prolog-edit-menu-insert-move): Use indent-according-to-mode.
8058
aa0382bd
SM
8059 * dabbrev.el (dabbrev-expand): Make "no expansion found" a user-error.
8060
dbacb4bd
SM
8061 * minibuffer.el (completion--twq-all): Again, allow case differences.
8062
13bdd94c
SM
8063 * term.el: Move keymap initialization code to be more idiomatic.
8064 (term-signals-menu, term-mode-map, term-raw-map, term-raw-escape-map)
8065 (term-terminal-menu): Move initialization into declaration.
8066 (term-escape-char): Let the user set it in her .emacs.
8067
ff46c759
SM
8068 * progmodes/sh-script.el: Use post-self-insert-hook&electric-pair-mode.
8069 Provide SMIE-based indentation (not enabled by default yet).
8070 (sh-mode-map): Don't bind electric keys.
8071 Use electric-pair-mode instead of skeleton-pair.
8072 (sh-assignment-regexp): Fit within 80 columns.
8073 (sh-indent-supported): Specify actual shell name instead of boolean.
8074 (sh--maybe-here-document): New fun, from sh-maybe-here-document.
8075 (sh-maybe-here-document): Use it. Make obsolete.
8076 (sh-electric-here-document-mode) New minor mode.
8077 (sh-mode): Use it. Don't set sh-indent-supported-here here.
8078 (sh-smie-sh-grammar, sh-smie--sh-operators, sh-smie--sh-operators-re)
8079 (sh-smie--sh-operators-back-re, sh-indent-after-continuation)
8080 (sh-smie-rc-grammar, sh-use-smie): New vars.
8081 (sh-smie--keyword-p, sh-smie--newline-semi-p, sh-smie--sh-keyword-p)
8082 (sh-smie-sh-forward-token, sh-smie--looking-back-at-continuation-p)
8083 (sh-smie-sh-backward-token, sh-smie--continuation-start-indent)
8084 (sh-smie-sh-rules, sh-smie-rc-rules, sh-smie--sh-keyword-in-p)
8085 (sh-smie--rc-after-special-arg-p, sh-smie-rc-backward-token)
8086 (sh-smie-sh-rules, sh-smie--rc-newline-semi-p): New functions.
8087 (sh-set-shell): Use smie-setup if requested.
8088
dee6c9a3
SM
8089 * term.el (term-set-escape-char): Properly set term-escape-char.
8090 See http://stackoverflow.com/questions/10524656.
8091
9f9aa044
CY
80922012-05-10 Chong Yidong <cyd@gnu.org>
8093
8094 * ffap.el (ffap-url-unwrap-local): Make it work right (Bug#9131).
8095 Use url-generic-parse-url, and handle host names and Windows
8096 filenames properly.
8097 (ffap-url-unwrap-remote): Use url-generic-parse-url.
8098 (ffap-url-unwrap-remote): Accept list values, specifying a list of
8099 URL schemes to work on.
8100 (ffap--toggle-read-only): New function.
8101 (ffap-read-only, ffap-read-only-other-window)
8102 (ffap-read-only-other-frame): Use it.
8103 (ffap-fixup-url): Don't check ffap-ftp-regexp, since it is not
8104 necessary for ffap-url-unwrap-remote.
8105
836d29b3
DA
81062012-05-10 Dave Abrahams <dave@boostpro.com>
8107
8108 * cus-start.el (create-lockfiles): Add it.
8109
00fd78ed
CY
81102012-05-09 Chong Yidong <cyd@gnu.org>
8111
8112 * net/browse-url.el (browse-url-url-encode-chars): Use upper-case.
8113 (browse-url-encode-url): Encode spaces and quotes (Bug#6300).
8114
666b903b 81152012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
1cb51c12
SM
8116
8117 * shell.el (shell-completion-vars): Fix last change (bug#11348).
8118
666b903b 81192012-05-09 Chong Yidong <cyd@gnu.org>
18f00515
CY
8120
8121 * ansi-color.el (ansi-color-process-output): Check for validity of
8122 comint-last-output-start before using it. This avoids a bad
8123 interaction with gdb-mi's input/output buffer.
8124
666b903b 81252012-05-09 Glenn Morris <rgm@gnu.org>
fd075e7b
GM
8126
8127 * files.el (dir-locals-read-from-file):
8128 Mention dir-locals in any error message.
8129
666b903b 81302012-05-09 Chong Yidong <cyd@gnu.org>
25f292cd
CY
8131
8132 * emacs-lisp/package.el (package-built-in-p): Handle the `emacs'
8133 package (Bug#11410).
8134
f677562b
CY
8135 * emacs-lisp/package.el (package-buffer-info): Avoid putting local
8136 variables into description.
8137
666b903b 81382012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
3d53ee1b
SM
8139
8140 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list like
8141 shell-delimiter-argument-list (bug#11348).
8142 (shell-parse-pcomplete-arguments): Obey pcomplete-arg-quote-list.
8143
b499d8d0
JB
81442012-05-09 Juanma Barranquero <lekktu@gmail.com>
8145
8f6b6da8
JB
8146 * textmodes/rst.el: Silence byte-compiler warnings.
8147 (rst-re-alist, rst-reset-section-caches): Move around.
8148 (rst-re): Use `characterp', not `char-valid-p'.
8149 (font-lock-beg, font-lock-end): Declare.
8150
4824146a
JB
8151 * progmodes/idlw-shell.el (specs): Remove reference to deleted
8152 variable `idlwave-shell-activate-alt-keybindings' and simplify.
8153
b499d8d0
JB
8154 * eshell/esh-cmd.el (eshell-debug-command): Fix typo in previous change.
8155
ad89bb83
GM
81562012-05-08 Glenn Morris <rgm@gnu.org>
8157
8158 * files.el (auto-mode-alist): Treat ".make" like ".mk".
8159
8bba5a75
SM
81602012-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
8161
49ed9c8e
SM
8162 * vc/log-edit.el: Add GNU coding standards highlighting.
8163 (log-edit-font-lock-gnu-style)
8164 (log-edit-font-lock-gnu-keywords): New vars.
8165 (log-edit-font-lock-keywords): New fun.
8166 (log-edit-mode): Don't fold case in font-lock.
8167 (log-edit-font-lock-keywords): Do not assume case-folding.
8168
07d00b56
SM
8169 * imenu.el: Misc cleanup. Make docstrings out of comments.
8170 Use lexical-binding.
8171 (imenu--index-alist, imenu--last-menubar-index-alist)
8172 (imenu-menubar-modified-tick): Use defvar-local.
8173 (imenu--split-menu): Remove unused var.
8174 (imenu--cleanup-seen): Declare as global.
8175 (imenu--cleanup): Use dolist.
8176
8bba5a75
SM
8177 * subr.el (defvar-local): Add debug spec and doc-string position.
8178
5075bdb5
GM
81792012-05-08 Glenn Morris <rgm@gnu.org>
8180
090bd7cb 8181 * language/burmese.el, language/cham.el, language/czech.el:
c052c904
GM
8182 * language/english.el, language/georgian.el, language/greek.el:
8183 * language/japanese.el, language/khmer.el, language/korean.el:
8184 * language/lao.el, language/misc-lang.el, language/romanian.el:
8185 * language/sinhala.el, language/slovak.el, language/tai-viet.el:
8186 * language/thai.el, language/utf-8-lang.el:
8187 Remove no-byte-compile setting.
8188
5075bdb5
GM
8189 * play/zone.el (zone-pgm-stress): Don't pollute kill-ring. (Bug#11388)
8190
06f679a7
AH
81912012-05-08 Aaron S. Hawley <aaron.s.hawley@gmail.com>
8192
8193 * progmodes/make-mode.el (makefile-browse):
8194 Remove unnecessary interactive. (Bug#11324)
8195
03794570
GM
81962012-05-07 Glenn Morris <rgm@gnu.org>
8197
af8630f4
GM
8198 * forms-d2.el, forms-pass.el: Move to ../etc/forms directory.
8199
03794570
GM
8200 * international/mule.el (find-auto-coding): Make "unibyte: t" obsolete.
8201
f0809a9d
SM
82022012-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
8203
28be5ce7
SM
8204 * loadup.el: Preload newcomment.el.
8205 * newcomment.el: Move autoload-only code to toplevel.
8206
f0809a9d
SM
8207 * buff-menu.el (list-buffers--refresh): Mark `size' as right-align.
8208 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
8209 Handle new :right-align column property.
8210 (tabulated-list-print-col): Idem, plus use `display' text-property to
8211 try and preserve alignment for variable pitch fonts.
8212
1241b724
CY
82132012-05-07 Chong Yidong <cyd@gnu.org>
8214
8215 * emacs-lisp/tabulated-list.el: Add no-header-line alternative.
8216 (tabulated-list-use-header-line): New var.
8217 (tabulated-list-init-header): Use it.
8218 (tabulated-list-print-fake-header): New function.
8219 (tabulated-list-print): Use it.
8220 (tabulated-list-sort-button-map): Add non-header-line commands.
8221 (tabulated-list-init-header): Add column name property to basic
8222 labels as well.
8223 (tabulated-list-col-sort): Handle non-header-line button case.
8224 (tabulated-list--sort-by-column-name): Fix a corner case.
8225
f0809a9d
SM
8226 * buff-menu.el (list-buffers--refresh):
8227 Handle Buffer-menu-use-header-line.
1241b724 8228
e5f9458f
CY
82292012-05-06 Chong Yidong <cyd@gnu.org>
8230
8231 * buff-menu.el: Convert to Tabulated List mode.
8232 (Buffer-menu-buffer+size-width): Make obsolete.
8233 (Buffer-menu-name-width, Buffer-menu-size-width): New variables.
8234 (Buffer-menu-mode-map): Inherit from tabulated-list-mode-map.
8235 (Buffer-menu-mode): Derive from tabulated-list-mode. Move command
8236 documentation into docstring of buffer-menu.
8237 (Buffer-menu-toggle-files-only): Add an informative message.
8238 (Buffer-menu-sort): Convert to alias for tabulated-list-sort.
8239 (Buffer-menu-buffer, Buffer-menu-beginning, Buffer-menu-mark)
8240 (Buffer-menu-unmark, Buffer-menu-backup-unmark)
8241 (Buffer-menu-delete, Buffer-menu-save, Buffer-menu-not-modified)
8242 (Buffer-menu-execute, Buffer-menu-select)
8243 (Buffer-menu-marked-buffers, Buffer-menu-toggle-read-only)
8244 (Buffer-menu-bury): Use Tabulated List machinery.
8245 (Buffer-menu-mouse-select, Buffer-menu-sort-by-column)
8246 (Buffer-menu-sort-button-map, Buffer-menu-make-sort-button):
f0809a9d 8247 Delete.
e5f9458f
CY
8248 (list-buffers--refresh): New function.
8249 (list-buffers-noselect): Use it.
8250 (tabulated-list-entry-size->, Buffer-menu--pretty-name)
8251 (Buffer-menu--pretty-file-name): New helper functions.
8252
8253 * loadup.el: Preload tabulated-list.
8254
8255 * emacs-lisp/tabulated-list.el (tabulated-list-sort): Rename from
8256 tabulated-list-sort-column.
8257 (tabulated-list-init-header): Add the initial aligning space even
8258 if tabulated-list-padding is zero.
8259
e129292c
CS
82602012-05-06 Christopher Schmidt <christopher@ch.ristopher.com>
8261
8262 * emacs-lisp/cl-macs.el (cl-expr-contains): Handle cons cells
8263 whose cdr is not a cons cell correctly (bug#11038).
8264
6632d361
CY
82652012-05-06 Chong Yidong <cyd@gnu.org>
8266
e129292c
CS
8267 * emacs-lisp/tabulated-list.el (tabulated-list-format):
8268 Accept additional plist in column descriptors.
6632d361
CY
8269 (tabulated-list-init-header): Obey it.
8270 (tabulated-list-get-entry): New function.
8271 (tabulated-list-put-tag): Use it. Use string-width instead of
8272 length.
8273 (tabulated-list--column-number): New function.
8274 (tabulated-list-print): Use it.
e129292c
CS
8275 (tabulated-list-print-col): New function.
8276 Set `tabulated-list-column-name' property on each column's text.
6632d361 8277 (tabulated-list-print-entry): Use it.
e129292c
CS
8278 (tabulated-list-delete-entry, tabulated-list-set-col):
8279 New functions.
6632d361
CY
8280 (tabulated-list-sort-column): New command (Bug#11337).
8281
3cc99f68
CY
8282 * buff-menu.el (list-buffers): Move C-x C-b binding from
8283 buff-menu.el to bindings.el.
8284
8285 * ebuff-menu.el (Electric-buffer-menu-undefined): Use the
8286 :advertised-binding feature.
8287
52b61776
TN
82882012-05-06 Troels Nielsen <bn.troels@gmail.com> (tiny change)
8289
8290 * progmodes/compile.el (compilation-internal-error-properties):
8291 Calculate start position correctly when end-col is set but
8292 end-line is not (Bug#11382).
8293
ebfe2597
WJ
82942012-05-06 Wolfgang Jenkner <wjenkner@inode.at>
8295
8296 * man.el (Man-unindent): Use text-property-default-nonsticky to
8297 prevent untabify from inheriting face properties (Bug#11408).
8298
6d3f7c2f
SM
82992012-05-05 Stefan Merten <smerten@oekonux.de>
8300
8301 * textmodes/rst.el: Major merge with upstream development up to
8302 Docutils SVN r7399 / rst.el V1.2.1.
8303
8304 Clarify maintainership and authors.
8305
8306 (rst-extract-version, rst-cvs-header, rst-cvs-rev)
8307 (rst-cvs-timestamp, rst-svn-rev, rst-svn-timestamp)
8308 (rst-official-version, rst-official-cvs-rev, rst-version)
8309 (rst-package-emacs-version-alist): New functions and variables
8310 for version information.
8311
8312 (rst-bullets, rst-uri-schemes, rst-adornment-chars)
8313 (rst-max-inline-length, rst-re-alist-def, rst-re-alist)
8314 (rst-mode-syntax-table, rst-mode): New and corrected functions
8315 and variables representing reStructuredText features.
8316
8317 (rst-re): New function for reStructuredText regexes. Use in
8318 many places.
8319
8320 (rst-deprecated-keys, rst-call-deprecated, rst-define-key)
8321 (rst-mode-map): Rebind keys.
8322
8323 (rst-mode-lazy, rst-font-lock-keywords)
8324 (rst-font-lock-extend-region)
8325 (rst-font-lock-extend-region-internal)
8326 (rst-font-lock-extend-region-extend)
8327 (rst-font-lock-find-unindented-line-limit)
8328 (rst-font-lock-find-unindented-line-match)
8329 (rst-adornment-level, rst-font-lock-adornment-level)
8330 (rst-font-lock-adornment-match)
8331 (rst-font-lock-handle-adornment-pre-match-form)
8332 (rst-font-lock-handle-adornment-matcher): Major revision of
8333 font-locking. Integrate with other code. Use `jit-lock-mode'.
8334
8335 (rst-preferred-adornments, rst-adjust-hook)
8336 (rst-new-adornment-down, rst-preferred-bullets)
8337 (rst-preferred-bullets, rst-indent, rst-indent-width)
8338 (rst-indent-field, rst-indent-literal-normal)
8339 (rst-indent-literal-minimized, rst-indent-comment): Change,
8340 extend and improve customization.
8341
8342 (rst-line-homogeneous-p, rst-line-homogeneous-nodent-p)
8343 (rst-normalize-cursor-position, rst-get-decoration)
8344 (rst-straighten-deco-spacing, rst-re-bullets, rst-re-items)
8345 (rst-rstrip, rst-toc-insert-find-delete-contents)
8346 (rst-shift-fill-region, rst-compute-bullet-tabs)
8347 (rst-debug-print-tabs, rst-debug-mark-found)
8348 (rst-shift-region-guts, rst-shift-region-right)
8349 (rst-shift-region-left, rst-use-char-classes)
8350 (rst-font-lock-keywords-function)
8351 (rst-font-lock-indentation-point)
8352 (rst-font-lock-find-unindented-line-begin)
8353 (rst-font-lock-find-unindented-line-end)
8354 (rst-font-lock-find-unindented-line)
8355 (rst-font-lock-adornment-point, rst-font-lock-level)
8356 (rst-adornment-level-alist): Remove functions and variables.
8357
8358 (rst-compare-adornments, rst-get-adornment-match)
8359 (rst-suggest-new-adornment, rst-get-adornments-around)
8360 (rst-adornment-complete-p, rst-get-next-adornment)
8361 (rst-adjust-adornment, rst-display-adornments-hierarchy)
8362 (rst-straighten-adornments): Standardize function names to
8363 use "adornment" instead of "decoration". Correct callers.
8364 Similar standardizing in many places.
8365
8366 (rst-update-section, rst-adjust, rst-promote-region)
8367 (rst-enumerate-region, rst-bullet-list-region)
8368 (rst-repeat-last-character): Correct use of `interactive'.
8369
8370 (rst-classify-adornment, rst-find-all-adornments)
8371 (rst-get-hierarchy, rst-adjust-adornment, rst-toc-update)
8372 (rst-find-leftmost-column, rst-repeat-last-character):
8373 Refactor functions.
8374
8375 (rst-find-title-line, rst-reset-section-caches)
8376 (rst-get-adornments-around, rst-adjust-adornment-work)
8377 (rst-arabic-to-roman, rst-roman-to-arabic)
8378 (rst-insert-list-pos, rst-insert-list-new-item)
8379 (rst-insert-list-continue, rst-insert-list, rst-forward-line):
8380 New functions.
8381
8382 (rst-all-sections, rst-section-hierarchy)
8383 (rst-arabic-to-roman, rst-initial-enums, rst-initial-items):
8384 New variables.
8385
8386 (rst-toc-return-wincfg, rst-toc-quit-window): Use window
8387 configuration instead of only buffer. Change where necessary.
8388
8389 (rst-line-tabs, rst-compute-tabs, rst-indent-line)
8390 (rst-shift-region, rst-adaptive-fill): New functions for
8391 indentation and filling.
8392
8393 (rst-comment-line-break, rst-comment-indent)
8394 (rst-comment-insert-comment, rst-comment-region)
8395 (rst-uncomment-region): New functions for handling comments.
8396
8397 (rst-compile): Quote shell arguments.
8398
8399 (rst-compile-pdf-preview, rst-compile-slides-preview):
8400 Delete temporary files after use.
8401
a43f98b3
GM
84022012-05-05 Glenn Morris <rgm@gnu.org>
8403
48176e8b
GM
8404 * calendar/cal-html.el: Optionally include holidays in the output.
8405 Suggested by Ed Reingold <reingold@emr.cs.iit.edu>.
8406 (cal-html-holidays): New option.
8407 (cal-html-css-default): Add holiday entry.
8408 (holiday-in-range): Autoload it.
8409 (cal-html-htmlify-entry): Add optional class argument.
8410 (cal-html-htmlify-list): Add optional holidays argument.
8411 (cal-html-insert-agenda-days): Include holidays in the output.
8412 (cal-html-one-month): Maybe include holidays.
8413
a43f98b3
GM
8414 * calendar/holidays.el (holiday-in-range):
8415 Move here from cal-tex-list-holidays.
8416 * calendar/cal-tex.el (cal-tex-list-holidays):
8417 Make it an obsolete alias for holiday-in-range. Update all callers.
8418
fef9d149 84192012-05-05 Chong Yidong <cyd@gnu.org>
eceeb5fc
CY
8420
8421 * select.el (xselect--encode-string): Always use utf-8 for TEXT on
8422 Nextstep.
8423
248da2f4
RW
84242012-05-05 Ransom Williams <auvergnerw@gmail.com> (tiny change)
8425
8426 * files.el (file-auto-mode-skip): New var.
8427 (set-auto-mode-1): Use it.
8428
f95e9344
SM
84292012-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
8430
df96ab1e
SM
8431 * repeat.el: Use lexical-binding.
8432 (repeat-last-self-insert, repeat-num-input-keys-at-self-insert)
8433 (repeat-undo-count): Remove.
8434 (repeat):
8435 * progmodes/octave-mod.el (octave-abbrev-start):
8436 * progmodes/f90.el (f90-abbrev-start):
8437 * face-remap.el (text-scale-adjust):
8438 * kmacro.el (kmacro-call-macro): Use set-temporary-overlay-map.
8439
5342bb06
SM
8440 * emacs-lisp/pcase.el (pcase--let*): New function.
8441 (pcase--expand, pcase-codegen, pcase--q1): Use it to reduce nesting
8442 a bit more.
8443 (pcase--split-pred): Be more clever about ruling out overlap between
8444 a predicate and some constant pattern.
8445 (pcase--q1): Use `null' instead of (eq foo nil).
8446
f95e9344
SM
8447 * subr.el (setq-local, defvar-local): New macros.
8448 (kbd): Redefine as an alias.
8449 (with-selected-window): Leave unrelated frames alone.
8450 (set-temporary-overlay-map): New function.
8451
71873e2b
SM
84522012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
8453
8454 * subr.el (user-error): New function.
8455 * window.el (switch-to-buffer):
8456 * vc/smerge-mode.el (smerge-resolve-function, smerge-resolve)
8457 (smerge-match-conflict):
8458 * simple.el (previous-matching-history-element)
8459 (next-matching-history-element, goto-history-element, undo-more)
8460 (undo-start):
8461 * progmodes/etags.el (visit-tags-table-buffer, find-tag-tag)
8462 (find-tag-noselect, find-tag-in-order, etags-goto-tag-location)
8463 (next-file, tags-loop-scan, list-tags, complete-tag):
8464 * progmodes/compile.el (compilation-loop):
8465 * mouse.el (mouse-minibuffer-check):
8466 * man.el (Man-bgproc-sentinel, Man-goto-page):
8467 * info.el (Info-find-node-2, Info-extract-pointer, Info-history-back)
8468 (Info-history-forward, Info-follow-reference, Info-menu)
8469 (Info-extract-menu-item, Info-extract-menu-counting)
8470 (Info-forward-node, Info-backward-node, Info-next-menu-item)
8471 (Info-last-menu-item, Info-next-preorder, Info-last-preorder)
8472 (Info-next-reference, Info-prev-reference, Info-index)
8473 (Info-index-next, Info-follow-nearest-node)
8474 (Info-copy-current-node-name):
8475 * imenu.el (imenu--make-index-alist)
8476 (imenu-default-create-index-function, imenu-add-to-menubar):
8477 * files.el (basic-save-buffer, recover-file):
8478 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
8479 * emacs-lisp/checkdoc.el (checkdoc-continue, checkdoc-comments)
8480 (checkdoc-message-text, checkdoc-defun):
8481 * dabbrev.el (dabbrev-completion, dabbrev--abbrev-at-point):
8482 * cus-edit.el (customize-changed-options, customize-rogue)
8483 (customize-saved, custom-variable-set, custom-variable-mark-to-save)
8484 (custom-variable-mark-to-reset-standard)
8485 (custom-variable-reset-backup, custom-face-mark-to-reset-standard)
8486 (custom-file):
8487 * completion.el (check-completion-length):
8488 * comint.el (comint-search-arg)
8489 (comint-previous-matching-input-string-position)
8490 (comint-previous-matching-input)
8491 (comint-replace-by-expanded-history-before-point, comint-send-input)
8492 (comint-copy-old-input, comint-backward-matching-input)
8493 (comint-goto-process-mark, comint-set-process-mark):
8494 * calendar/calendar.el (calendar-cursor-to-date): Use it.
8495 * bindings.el (debug-ignored-errors): Remove regexps, add `user-error'.
8496
8a61ee22
SM
84972012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
8498
66408d1e
SM
8499 * dabbrev.el (dabbrev--ignore-case-p): New function.
8500 (dabbrev-completion, dabbrev-expand, dabbrev--substitute-expansion):
8501 Use it.
8502
8a61ee22
SM
8503 * files.el (automount-dir-prefix): Mark as obsolete.
8504
3c74813a
GM
85052012-05-04 Glenn Morris <rgm@gnu.org>
8506
8507 * patcomp.el, play/bruce.el: Move to obsolete/.
8508
0bfcf5c5
PE
85092012-05-04 Paul Eggert <eggert@cs.ucla.edu>
8510
8511 Fix minor Y10k bugs.
8512 * arc-mode.el (archive-unixdate):
8513 * autoinsert.el (auto-insert-alist):
8514 * calc/calc-forms.el (math-this-year):
8515 * emacs-lisp/copyright.el (copyright-current-year)
8516 (copyright-update-year, copyright):
8517 * tar-mode.el (tar-clip-time-string):
8518 * time.el (display-time-update):
8519 Don't assume years have 4 digits.
8520
78f3273a
CY
85212012-05-04 Chong Yidong <cyd@gnu.org>
8522
8523 * dos-w32.el (file-name-buffer-file-type-alist)
8524 (direct-print-region-use-command-dot-com):
8525 * ffap.el (ffap-menu-regexp):
8526 * find-file.el (ff-special-constructs):
8527 * follow.el (follow-debug):
8528 * forms.el (forms--debug):
8529 * iswitchb.el (iswitchb-all-frames):
8530 * ido.el (ido-all-frames):
8531 * emacs-lisp/timer.el (timer-max-repeats):
8532 * mail/feedmail.el (feedmail-mail-send-hook)
8533 (feedmail-mail-send-hook-queued):
8534 * mail/footnote.el (footnote-signature-separator):
8535 * mail/mailabbrev.el (mail-alias-separator-string)
8536 (mail-abbrev-mode-regexp):
8537 * mail/rmail.el (rmail-speedbar-match-folder-regexp):
8538 * progmodes/idlwave.el (idlwave-libinfo-file)
8539 (idlwave-default-completion-case-is-down)
8540 (idlwave-library-routines): Convert defvars to defcustoms.
8541
8542 * mail/rmail.el (rmail-decode-mime-charset):
8543 * progmodes/idlw-shell.el (idlwave-shell-print-expression-function)
8544 (idlwave-shell-fix-inserted-breaks)
8545 (idlwave-shell-activate-alt-keybindings)
8546 (idlwave-shell-use-breakpoint-glyph):
8547 * facemenu.el (facemenu-unlisted-faces): Delete obsolete vars.
8548
f7ae6719
SM
85492012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
8550
8551 * minibuffer.el (completion--twq-all): Beware completion-ignore-case.
8552
47086495
WS
85532012-05-03 Wilson Snyder <wsnyder@wsnyder.org>
8554
8555 * progmodes/verilog-mode.el (font-lock-keywords):
8556 Fix mis-highligting auto. Reported by Craig Barner.
8557 (verilog-auto, verilog-auto-undef): Add AUTOUNDEF to remove
fc0c31f8 8558 defines from global name space. Reported by Dan Dever.
47086495
WS
8559 (verilog-auto-reset, verilog-auto-reset-widths)
8560 (verilog-auto-tieoff): Support using unbased numbers for
8561 AUTORESET and AUTOTIEOFF.
8562 (verilog-submit-bug-report): Update variable list.
8563 (verilog-read-auto-params): Fix AUTOINPUT regexps containing
fc0c31f8 8564 parenthesis from not matching. Reported by Michael Rytting.
47086495
WS
8565 (verilog-auto-template-lint): Fix hash error when linting modules
8566 with no used templates.
8567 (verilog-warn, verilog-warn-error)
8568 (verilog-warn-fatal): When non-interactive report multiple
8569 warnings before exiting. Suggested by Brad Dobbie.
8570 (verilog-auto-template-lint, verilog-auto-template-warn-unused)
8571 (verilog-read-auto-template): Add `verilog-auto-template-warn-unused'
8572 to report unused template errors. Reported by Brad Dobbie.
8573 (verilog-read-decls): Fix AUTOWIRE etc on supply0, supply1 type
fc0c31f8 8574 nets, bug438. Reported by Vns Blore.
47086495
WS
8575 (verilog-auto-inout-module, verilog-auto-reg)
8576 (verilog-read-decls, verilog-read-sub-decls-sig)
8577 (verilog-signals-edit-wire-reg, verilog-signals-with):
8578 Fix passing of Verilog data types in ANSI input/output ports
fc0c31f8 8579 such as "output logic" into the AUTOs. Special case "wire" and
47086495
WS
8580 "reg" for backwards compatibility presuming Verilog 2001.
8581 (verilog-auto-ascii-enum): Add "auto enum" as alias.
8582 (verilog-preprocess): Fix replication of preprocess output.
8583 Reported by Brad Dobbie.
8584 (verilog-auto-inst-interfaced-ports):
8585 Create verilog-auto-inst-interfaced-ports, bug429.
8586 Reported by Julian Gorfajn.
8587 (verilog-after-save-font-hook)
8588 (verilog-before-save-font-hook): New variable.
8589 (verilog-modi-cache-results, verilog-save-font-mod-hooked)
8590 (verilog-save-font-mods): Wrap disabling fontification, reported
8591 by David Rogoff.
8592 (verilog-do-indent, verilog-pretty-declarations-auto)
8593 (verilog-sk-def-reg): Fix obeying `verilog-auto-lineup', bug305.
8594 Reported by Pierre-David Pfister.
8595 (verilog-set-auto-endcomments): Fix endtask auto comments outside
8596 of class declarations, bug292. Reported by Kevin Heilman.
8597 (verilog-read-decls): Fix 'parameter type' not appearing in
8598 AUTOINSTPARAM, bug340. Reported by Jonathan Greenlaw.
8599 (verilog-auto-logic): Fix when AUTOLOGIC present to properly do
fc0c31f8 8600 AUTOINPUTs, bug411. Reported by Jonathan Greenlaw.
47086495
WS
8601 (verilog-read-auto-lisp): Avoid syntax-ppss warning on AUTOLISP.
8602 Reported by David Kravitz.
8603
86042012-05-03 Michael McNamara <mac@mail.brushroad.com>
8605
8606 * progmodes/verilog-mode.el (verilog-pretty-expr): Don't line up
8607 assignment with tests in ifs and for loops.
8608 (verilog-extended-complete-re, verilog-complete-reg): Change so
8609 that DPI inport functions don't look like fuction declarations.
8610 (verilog-pretty-expr): Don't line up assignment
8611 operations to the test and increment in if and for loops
8612 (verilog-extended-complete-re, verilog-complete-reg): Change so
090bd7cb 8613 that DPI inport functions don't look like fuction declarations.
47086495 8614
2e51d4b5
KH
86152012-05-03 Kenichi Handa <handa@m17n.org>
8616
8617 * mail/rmailmm.el (rmail-show-mime): Catch an error caused by text
c846da43 8618 decoding, and show a warning message without signaling an error
2e51d4b5
KH
8619 (Bug#11282).
8620
2bd785a2
SM
86212012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
8622
8623 * emacs-lisp/bytecomp.el
8624 (byte-compile-file-form-custom-declare-variable): Compile all elements,
8625 since cconv.el might have introduced :fun-body, internal-make-closure,
8626 and friends for bytecomp to handle (bug#11391).
8627 * custom.el (defcustom): Avoid ((λ ..) ..).
8628
99d27583
SM
86292012-05-02 Stefan Monnier <monnier@iro.umontreal.ca>
8630
8631 * subr.el (read-passwd): Better clean after ourselves (bug#11392).
8632
55a71479
JB
86332012-05-02 Juanma Barranquero <lekktu@gmail.com>
8634
8635 * notifications.el (dbus-debug):
8636 * term/linux.el (gpm-mouse-enable):
8637 * term/screen.el (xterm-register-default-colors): Declare.
8638
7b97c764
CY
86392012-05-02 Chong Yidong <cyd@gnu.org>
8640
2bc356d7
CY
8641 * cus-start.el (gc-cons-percentage, exec-suffixes)
8642 (dos-display-scancodes, dos-hyper-key, dos-super-key)
8643 (dos-keypad-mode, debug-on-signal, vertical-centering-font-regexp)
8644 (make-cursor-line-fully-visible, void-text-area-pointer)
8645 (font-list-limit): Add customization data.
8646
7b97c764
CY
8647 * allout.el (allout-exposure-change-functions)
8648 (allout-structure-added-functions)
8649 (allout-structure-deleted-functions)
8650 (allout-structure-shifted-functions): Rename abnormal hooks from
8651 *-hook, and convert to defcustoms.
5d3385a0
JB
8652 (allout-after-copy-or-kill-hook, allout-post-undo-hook):
8653 Convert to defcustoms.
7b97c764
CY
8654 (allout-mode-hook, allout-mode-deactivate-hook): Doc fix.
8655
8656 * allout-widgets.el: Hook callers changed.
8657
90207a15 86582012-05-02 Eli Zaretskii <eliz@gnu.org>
91af76bf
EZ
8659
8660 * mail/rmail.el (rmail-yank-current-message): Use the encoding of
8661 the yanked message in preference to the default value of
8662 buffer-file-coding-system.
8663
90207a15 86642012-05-02 Martin Rudalics <rudalics@gmx.at>
d9558cad 8665
5d3385a0
JB
8666 * window.el (display-buffer--action-function-custom-type):
8667 Fix entry.
d9558cad 8668
90207a15 86692012-05-02 Alan Mackenzie <acm@muc.de>
09affde0
AM
8670
8671 * progmodes/cc-defs.el (c-version): Update to 5.32.3.
8672
d80ac57b
GM
86732012-05-01 Glenn Morris <rgm@gnu.org>
8674
976f7668
GM
8675 * cus-start.el (suggest-key-bindings): Remove, now it is in Lisp.
8676
beb83b5a
GM
8677 * eshell/esh-cmd.el (eshell-debug-command): Doc fix. Add :set.
8678
d80ac57b
GM
8679 * cus-edit.el (custom-variable-documentation): Simplify with format.
8680
b593d6a9 86812012-05-01 Aaron S. Hawley <aaron.s.hawley@gmail.com>
f1a71c6e 8682 Stefan Monnier <monnier@iro.umontreal.ca>
b593d6a9
AH
8683
8684 * simple.el (suggest-key-bindings, execute-extended-command):
8685 Move from keyboard.c.
8686
782fbf2a
CY
86872012-05-01 Chong Yidong <cyd@gnu.org>
8688
8689 * follow.el: Eliminate advice.
8690 (set-process-filter, process-filter, sit-for): Advice deleted.
8691 (follow-mode-off-hook): Obsolete hook removed.
b593d6a9
AH
8692 (follow-avoid-tail-recenter-p, follow-process-filter-alist):
8693 Vars deleted.
782fbf2a
CY
8694 (follow-auto): Use a :set function.
8695 (follow-mode): Rewritten. Don't advise process filters.
8696 (follow-switch-to-current-buffer-all, follow-scroll-up)
8697 (follow-scroll-down): Assume follow-mode is bound.
8698 (follow-comint-scroll-to-bottom)
8699 (follow-align-compilation-windows): New functions.
8700 (follow--window-sorter): New function.
8701 (follow-all-followers): Use it to explicitly sort windows by their
8702 positions; don't make assumptions about next-window order.
8703 (follow-windows-start-end, follow-delete-other-windows-and-split)
8704 (follow-calc-win-start): Doc fix.
8705 (follow-windows-aligned-p, follow-select-if-visible): Don't call
8706 vertical-motion unnecessarily.
8707 (follow-adjust-window): New function.
8708 (follow-post-command-hook): Use it.
8709 (follow-call-set-process-filter, follow-call-process-filter)
8710 (follow-intercept-process-output, follow-tidy-process-filter-alist)
8711 (follow-stop-intercept-process-output, follow-generic-filter):
8712 Functions deleted.
8713 (follow-scroll-bar-toolkit-scroll, follow-scroll-bar-drag)
b593d6a9
AH
8714 (follow-scroll-bar-scroll-up, follow-scroll-bar-scroll-down):
8715 New functions, replacing advice on scroll-bar-* commands.
87233a14 8716 (follow-mwheel-scroll): New function (Bug#4112).
782fbf2a
CY
8717
8718 * comint.el (comint-adjust-point): New function.
b593d6a9
AH
8719 (comint-postoutput-scroll-to-bottom): Use it.
8720 Call follow-comint-scroll-to-bottom for Follow mode buffers.
782fbf2a 8721
290af740
GM
87222012-05-01 Glenn Morris <rgm@gnu.org>
8723
8724 * term/AT386.el, term/apollo.el, term/bobcat.el, term/cygwin.el:
8725 * term/iris-ansi.el, term/linux.el, term/lk201.el, term/news.el:
8726 * term/screen.el, term/vt102.el, term/vt125.el, term/vt200.el:
8727 * term/vt201.el, term/vt220.el, term/vt240.el, term/vt300.el:
8728 * term/vt320.el, term/vt400.el, term/vt420.el, term/wyse50.el:
8729 Remove no-byte-compile setting.
8730
6eac8dc9
SM
87312012-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
8732
8733 * minibuffer.el (completion-table-with-quoting): Fix compatibility
8734 all-completions code to not return a number in the last cdr.
8735
9cc7819c
LL
87362012-04-30 Leo Liu <sdl.web@gmail.com>
8737
8738 * ibuf-ext.el (ibuffer-diff-buffer-with-file-1): Avoid buffer
8739 read-only error.
8740
c93b886f
CY
87412012-04-29 Chong Yidong <cyd@gnu.org>
8742
8743 * follow.el (follow-calc-win-end): Rewrite to handle partial
8744 screen lines correctly (Bug#8390).
8745 (follow-avoid-tail-recenter): Minor cleanup.
8746
8b6c19f4
SM
87472012-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
8748
8749 Avoid the obsolete `assoc' package.
8750 * speedbar.el (speedbar-refresh): Avoid adelete.
8751 (speedbar-file-lists): Simplify and avoid aput.
8752 * man.el (Man--sections, Man--refpages): New vars, replacing
8753 Man-sections-alist and Man-refpages-alist.
8754 (Man-build-section-alist, Man-build-references-alist):
8755 Use them; avoid aput.
8756 (Man--last-section, Man--last-refpage): New vars.
8757 (Man-follow-manual-reference): Use them.
8758 Use the `default' arg of completing-read.
8759 (Man-goto-section): Idem. Move prompt to the `interactive' spec.
8760
c5bb7569
CY
87612012-04-27 Chong Yidong <cyd@gnu.org>
8762
d1d2e2e8
CY
8763 * vc/diff.el (diff-sentinel): Go to bob (Bug#10259).
8764
15cd8efd
CY
8765 * startup.el (x-apply-session-resources): New function.
8766
8767 * term/ns-win.el (ns-initialize-window-system):
8768 * term/w32-win.el (w32-initialize-window-system):
8769 * term/x-win.el (x-initialize-window-system): Use it to properly
8770 set menu-bar-mode and other vars from X resources, even if the
8771 initial frame is not a window-system frame (Bug#2299).
8772
c5bb7569
CY
8773 * subr.el (read-key): Avoid running filter function when setting
8774 up temporary tool bar entries (Bug#9922).
8775
a8e7d6d7 87762012-04-27 Andreas Schwab <schwab@linux-m68k.org>
c4347ab9
AS
8777
8778 * vc/vc-git.el (vc-git-state): Fix regexp matching diff output.
8779 (Bug#11344)
8780
a8e7d6d7 87812012-04-27 Chong Yidong <cyd@gnu.org>
acb71f1d
CY
8782
8783 * select.el (xselect--encode-string): New function, split from
8784 xselect-convert-to-string.
8785 (xselect-convert-to-string): Use it.
8786 (xselect-convert-to-filename, xselect-convert-to-os)
8787 (xselect-convert-to-host, xselect-convert-to-user): Ensure that
8788 returned strings are properly encoded (Bug#11315).
8789
a8e7d6d7 87902012-04-27 Chong Yidong <cyd@gnu.org>
d55486c7
CY
8791
8792 * simple.el (delete-active-region): Move to killing custom group.
8793
a8e7d6d7 87942012-04-27 Andreas Schwab <schwab@linux-m68k.org>
581b6788
AS
8795
8796 * progmodes/which-func.el (which-func-current): Quote %
8797 characters for mode-line processing.
8798
578c1d4b 87992012-04-27 Chong Yidong <cyd@gnu.org>
18edb22d
CY
8800
8801 * xml.el (xml-parse-region, xml-parse-tag): Avoid errors due to
8802 reaching eob (Bug#11286).
8803
a8e7d6d7 88042012-04-27 Eli Zaretskii <eliz@gnu.org>
9ee9f470
EZ
8805
8806 * progmodes/gdb-mi.el (gdb-control-level): New variable.
8807 (gdb): Make it buffer-local and init to zero.
8808 (gdb-control-commands-regexp): New variable.
8809 (gdb-send): Don't wrap in "-interpreter-exec console" if
8810 gdb-control-level is positive. Increment gdb-control-level
8811 whenever the command matches gdb-control-commands-regexp, and
8812 decrement it each time the command is "end". (Bug#11279)
8813
a8e7d6d7 88142012-04-27 Martin Rudalics <rudalics@gmx.at>
41cfe0cb
MR
8815
8816 * window.el (adjust-window-trailing-edge, enlarge-window)
8817 (shrink-window, window-resize):
8818 * mouse.el (mouse-drag-line): Fix resizing of minibuffer
8819 windows (Bug#11276).
8820
b3608390
CY
88212012-04-27 Chong Yidong <cyd@gnu.org>
8822
8823 * progmodes/pascal.el (pascal--extra-indent): Rename from ind, to
a8e7d6d7 8824 fix "missing prefix" warning. All callers changed.
b3608390 8825
797e6e88
SM
88262012-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
8827
8828 * emacs-lisp/assoc.el: Move to obsolete/.
8829
e95a67dc
SM
88302012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
8831
657c21e4 8832 * emacs-lisp/assoc.el (aget): Fix dynamic-scoping issue (bug#11352).
e95a67dc
SM
8833
8834 * term/ns-win.el (ns-define-service):
8835 * progmodes/pascal.el (pascal-goto-defun):
8836 * progmodes/js.el (js--read-tab):
8837 * progmodes/etags.el (tags-lazy-completion-table):
8838 * emacs-lisp/syntax.el (syntax-propertize-via-font-lock):
8839 * emacs-lisp/ewoc.el (ewoc--wrap):
8840 * emacs-lisp/assoc.el (aput, adelete, amake):
8841 * doc-view.el (doc-view-convert-current-doc):
8842 * vc/diff.el (diff-no-select): Replace lexical-let by lexical-binding.
8843
cb3e7ae0
CY
88442012-04-26 Chong Yidong <cyd@gnu.org>
8845
dce04f7f
CY
8846 * image.el (image-type-from-buffer): Only return supported image
8847 type (Bug#9045).
8848
cb3e7ae0
CY
8849 * vc/diff-mode.el (diff-beginning-of-hunk): Return a meaningful
8850 value, for symmetry with diff-end-of-hunk.
8851 (diff-split-hunk, diff-find-source-location)
8852 (diff-ignore-whitespace-hunk, diff-refine-hunk): Use it.
8853 (diff-bounds-of-hunk, diff-bounds-of-file): New functions.
8854 (diff-restrict-view, diff-hunk-kill, diff-file-kill): Use them to
8855 compute the relevant hunk or file properly (Bug#6005).
8856 (diff-file-junk-re): Add bzr's "modified file" tag (Bug#6041).
8857
0d42eb3e
SM
88582012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
8859
8860 * vc/vc-mtn.el:
8861 * vc/vc-hg.el:
8862 * vc/vc-git.el:
8863 * vc/vc-dir.el:
8864 * vc/vc-cvs.el:
8865 * vc/vc-bzr.el:
8866 * vc/vc-arch.el:
8867 * vc/vc.el: Replace lexical-let by lexical-binding.
8868 * minibuffer.el (lazy-completion-table): Avoid ((λ ...) ...).
8869 * emacs-lisp/cl-macs.el (lexical-let): Fix use in lexical-binding.
8870 * emacs-lisp/cconv.el (cconv-analyse-form): Warn use of ((λ ...) ...).
8871
f08ae1c9
CY
88722012-04-26 Chong Yidong <cyd@gnu.org>
8873
8b71081d
CY
8874 * vc/diff-mode.el (diff-undo): New command (Bug#5302).
8875 (diff-mode-shared-map): Bind it to / and [remap undo].
8876
f08ae1c9
CY
8877 * vc/ediff-wind.el (ediff-setup-windows-default): New function.
8878 (ediff-window-setup-function): Use it as the default, to set up
8879 windows based on whether the current frame is graphical (Bug#2138).
8880 (ediff-choose-window-setup-function-automatically): Make obsolete.
8881
8882 * vc/ediff-init.el: Always define ediff-pixel-width/height.
8883
ef24141c
SM
88842012-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
8885
cc356a5d
SM
8886 * ffap.el: Remove old code for obsolete package.
8887 (ffap-complete-as-file-p): Remove.
8888
b4ff4f1f
SM
8889 Use completion-table-with-quoting for comint and pcomplete.
8890 * comint.el (comint--unquote&requote-argument)
8891 (comint--unquote-argument, comint--requote-argument): New functions.
8892 (comint--unquote&expand-filename, comint-unquote-filename): Obsolete.
8893 (comint-quote-filename): Use regexp-opt-charset.
8894 (comint--common-suffix, comint--common-quoted-suffix)
8895 (comint--table-subvert): Remove.
8896 (comint-unquote-function, comint-requote-function): New vars.
8897 (comint--complete-file-name-data): Use them with
8898 completion-table-with-quoting.
8899 * pcmpl-unix.el (pcomplete/scp): Use completion-table-subvert.
8900 * pcomplete.el (pcomplete-arg-quote-list)
8901 (pcomplete-quote-arg-hook, pcomplete-quote-argument): Obsolete.
8902 (pcomplete-unquote-argument-function): Default to non-nil.
8903 (pcomplete-unquote-argument): Simplify.
8904 (pcomplete--common-quoted-suffix): Remove.
8905 (pcomplete-requote-argument-function): New var.
8906 (pcomplete--common-suffix): New function.
8907 (pcomplete-completions-at-point): Use completion-table-with-quoting
8908 and completion-table-subvert.
8909
79c4eeb4
SM
8910 * minibuffer.el: Use completion-table-with-quoting for read-file-name.
8911 (minibuffer--double-dollars): Preserve properties.
8912 (completion--sifn-requote): New function.
8913 (completion--file-name-table): Rewrite using it and c-t-with-quoting.
8914
ef24141c
SM
8915 * minibuffer.el: Add support for completion of quoted/escaped data.
8916 (completion-table-with-quoting, completion-table-subvert): New funs.
8917 (completion--twq-try, completion--twq-all): New functions.
8918 (completion--nth-completion): New function.
8919 (completion-try-completion, completion-all-completions): Use it.
8920
784e7d6e
LL
89212012-04-25 Leo Liu <sdl.web@gmail.com>
8922
dd2ac746
SM
8923 * progmodes/python.el (python-pdbtrack-get-source-buffer):
8924 Use compilation-message if available to find real filename.
784e7d6e 8925
07875ee7
CY
89262012-04-25 Chong Yidong <cyd@gnu.org>
8927
8928 * vc/diff-mode.el (diff-setup-whitespace): New function.
8929 (diff-mode): Use it.
8930
8931 * vc/diff.el (diff-sentinel):
8932 * vc/vc.el (vc-diff-finish): Call diff-setup-whitespace to assign
8933 Whitespace mode variables based on diff style (Bug#8612).
8934
5055880d
LL
89352012-04-25 Leo Liu <sdl.web@gmail.com>
8936
daf75653
LL
8937 * progmodes/python.el (python-send-region): Add suffix .py to the
8938 temp file.
8939
5055880d
LL
8940 * files.el (auto-mode-alist): Use javascript-mode instead.
8941
db9b177b
AH
89422012-04-25 Alex Harsanyi <AlexHarsanyi@gmail.com>
8943
ef24141c 8944 Sync with soap-client repository. Support SOAP simpleType (Bug#10331).
db9b177b 8945
090bd7cb 8946 * net/soap-client.el (soap-resolve-references-for-sequence-type)
ef24141c 8947 (soap-resolve-references-for-array-type): Hack to prevent self
db9b177b 8948 references, see Bug#9.
ef24141c 8949 (soap-parse-envelope): Report the contents of the 'detail' node
db9b177b 8950 when receiving a fault reply.
ef24141c 8951 (soap-parse-envelope): Report the contents of the entire 'detail' node.
db9b177b 8952
090bd7cb 8953 * net/soap-inspect.el (soap-sample-value-for-simple-type)
ef24141c 8954 (soap-inspect-simple-type): New function.
db9b177b 8955
090bd7cb 8956 * net/soap-client.el (soap-simple-type): New struct.
db9b177b 8957 (soap-default-xsd-types, soap-default-soapenc-types)
ef24141c
SM
8958 (soap-decode-basic-type, soap-encode-basic-type):
8959 support unsignedInt and double basic types.
db9b177b 8960 (soap-resolve-references-for-simple-type)
ef24141c
SM
8961 (soap-parse-simple-type, soap-encode-simple-type): New function.
8962 (soap-parse-schema): Parse xsd:simpleType declarations.
db9b177b 8963
090bd7cb 8964 * net/soap-client.el (soap-default-xsd-types)
ef24141c
SM
8965 (soap-default-soapenc-types): Add integer, byte and anyURI types.
8966 (soap-parse-complex-type-complex-content): Use `soap-wk2l' to find
8967 the local name of "soapenc:Array".
8968 (soap-decode-basic-type, soap-encode-basic-type): Support encoding
db9b177b
AH
8969 decoding integer, byte and anyURI xsd types.
8970
1fc6097b
CY
89712012-04-25 Chong Yidong <cyd@gnu.org>
8972
8973 * cus-edit.el (custom-buffer-create-internal): Update header text.
8974
afc6df87
EZ
89752012-04-25 Eli Zaretskii <eliz@gnu.org>
8976
8977 * progmodes/gdb-mi.el (gdb-init-1): Condition Windows-specific
8978 settings on 'system-type', not on 'window-system'. On MS-Windows,
8979 set interactive-mode on in GDB.
8980
dfbd787f
SM
89812012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
8982
8983 * progmodes/ruby-mode.el: Simplify last change, and cleanup code.
8984 (ruby-syntax-propertize-regexp): Remove.
8985 (ruby-syntax-propertize-function): Split regexp into chunks.
8986 Match following code directly.
8987
85222d44
DG
89882012-04-24 Dmitry Gutov <dgutov@yandex.ru>
8989
51a8ea2a
DG
8990 * progmodes/ruby-mode.el: Handle Cucumber defs (bug#6286).
8991 (ruby-syntax-propertize-regexp): New function.
8992 (ruby-syntax-propertize-function): Use it to handle regexp not preceded
8993 by a special keyword.
8994
85222d44
DG
8995 * progmodes/ruby-mode.el: Handle general delimited literals (bug#6286).
8996 (ruby-syntax-general-delimiters-goto-beg)
8997 (ruby-syntax-propertize-general-delimiters): New functions.
8998 (ruby-syntax-propertize-function): Use them to handle GDL.
8999 (ruby-font-lock-keywords): Move old handling of GDL...
9000 (ruby-font-lock-syntactic-keywords): .. to here.
9001 (ruby-calculate-indent): Adjust indentation for GDL.
9002
b613912b
MA
90032012-04-24 Michael Albinus <michael.albinus@gmx.de>
9004
b5380639
MA
9005 * notifications.el (top): Remove unneeded declarations.
9006 (notifications-specification-version): Change to "1.2".
e43042fe 9007 (notifications-interface, notifications-notify-method)
b613912b
MA
9008 (notifications-close-notification-method): Fix docstring.
9009 (notifications-get-capabilities-method): New defconst.
e43042fe
MA
9010 (notifications-notify): Add :action-items, :resident and
9011 :transient hints. Change "image_data" to "image-data" and
9012 "image_path" to "image-path".
b613912b
MA
9013 (notifications-get-capabilities): New defun.
9014
257440aa
LL
90152012-04-24 Leo Liu <sdl.web@gmail.com>
9016
9017 * progmodes/python.el: Move hideshow setup to the end.
9018
b1bac16e
MR
90192012-04-24 Martin Rudalics <rudalics@gmx.at>
9020
9021 * window.el (handle-select-window): Clear echo area since this is
9022 no more done by read_char (Bug#11304).
9023
d81bd059
SM
90242012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
9025
9026 * ibuffer.el (ibuffer-mode-map): Bind `/ m' to filter-used-mode
9027 and `/ M' to filter-derived-mode.
9028 * ibuf-ext.el (ibuffer-list-buffer-modes): Simplify; avoid add-to-list.
9029 (ibuffer-filter-by-mode, ibuffer-filter-by-used-mode)
9030 (ibuffer-mark-by-mode): Use default rather than initial-input.
9031 (ibuffer-filter-by-derived-mode): Autoload and require-match.
9032
c4cf6d91
IA
90332012-04-24 Ivan Andrus <darthandrus@gmail.com> (tiny change)
9034
9035 * ibuf-ext.el (ibuffer-list-buffer-modes): Add `include-parents' arg.
9036 (ibuffer-filter-by-derived-mode): New filter.
9037 * ibuffer.el (ibuffer-mode-map): Bind to `/ w'.
9038
7511ded8
CY
90392012-04-23 Andreas Politz <politza@fh-trier.de>
9040
9041 * subr.el (accept-change-group): Fix arg usage (Bug#6095).
9042
775c916b
CY
90432012-04-23 Chong Yidong <cyd@gnu.org>
9044
9045 * cus-edit.el (customize-apropos, customize-apropos-options):
9046 Disable matching of non-option variables (Bug#11176).
9047 (customize-option, customize-option-other-window)
9048 (customize-changed-options): Doc fix.
9049 (customize-apropos-options, customize-apropos-faces)
9050 (customize-apropos-groups): Use apropos-read-pattern (Bug#11124).
9051
9052 * apropos.el (apropos-read-pattern): Make prompt less cryptic.
922d37d3 9053 Fix word list splitting (Bug#11132).
46c71e23
CY
9054 (apropos-symbol, apropos-keybinding, apropos-label)
9055 (apropos-property, apropos-function-button)
9056 (apropos-variable-button, apropos-misc-button): New faces.
9057 (apropos-symbol-face, apropos-keybinding-face)
9058 (apropos-label-face, apropos-property-face, apropos-match-face):
9059 Variables removed (Bug#8396).
9060 (apropos-library-button, apropos-format-plist, apropos-print)
9061 (apropos-print-doc, apropos-describe-plist): Callers changed.
775c916b 9062
2df41f9c
MA
90632012-04-23 Michael Albinus <michael.albinus@gmx.de>
9064
9065 * net/xesam.el (xesam-mode-map): Use let-bound map in
9066 initialization. (Bug#11292)
9067
da00640a
AM
90682012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
9069
9070 Preserve ispell session localwords when switching back to
9071 original buffer.
9072
090bd7cb
JB
9073 * textmodes/ispell.el (ispell-buffer-session-localwords):
9074 New buffer-local variable to hold buffer session localwords.
ed9265fc 9075 (ispell-kill-ispell): Add option 'clear to delete session
da00640a
AM
9076 localwords.
9077 (ispell-command-loop, ispell-change-dictionary)
9078 (ispell-buffer-local-words): Preserve session localwords when
9079 needed.
9080
090bd7cb
JB
9081 * textmodes/flyspell.el (flyspell-process-localwords)
9082 (flyspell-do-correct): Preserve session localwords when needed.
da00640a 9083
f621ccf5
AM
90842012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
9085
090bd7cb
JB
9086 * textmodes/ispell.el (ispell-insert-word) Remove unneeded function
9087 using obsolete `translation-table-for-input'.
ef24141c
SM
9088 (ispell-word, ispell-process-line, ispell-complete-word):
9089 Use plain `insert' instead of removed `ispell-insert-word'.
f621ccf5 9090
c2d1019e
CY
90912012-04-22 Chong Yidong <cyd@gnu.org>
9092
9093 * cus-edit.el (custom-variable-menu)
9094 (custom-variable-reset-saved, custom-face-menu)
9095 (custom-face-reset-saved): If there is no saved value, make the
9096 "reset-saved" operation bring back the default (Bug#9509).
9097 (custom-face-state): Properly detect themed faces.
9098
eeddc531
CY
9099 * faces.el (face-spec-set): Stop supporting deprecated form of
9100 third arg.
9101
dcbf5805
MA
91022012-04-22 Michael Albinus <michael.albinus@gmx.de>
9103
9104 Move functions from C to Lisp. Make non-blocking method calls
9105 the default. Implement further D-Bus standard interfaces.
9106
ef24141c
SM
9107 * net/dbus.el (dbus-message-internal): Declare function.
9108 Remove unneeded function declarations.
dcbf5805
MA
9109 (defvar dbus-message-type-invalid, dbus-message-type-method-call)
9110 (dbus-message-type-method-return, dbus-message-type-error)
9111 (dbus-message-type-signal): Declare variables. Remove local
9112 definitions.
9113 (dbus-interface-dbus, dbus-interface-peer)
9114 (dbus-interface-introspectable, dbus-interface-properties)
9115 (dbus-path-emacs, dbus-interface-emacs, dbus-return-values-table):
9116 Adapt docstring.
9117 (dbus-interface-objectmanager): New defconst.
9118 (dbus-call-method, dbus-call-method-asynchronously)
9119 (dbus-send-signal, dbus-method-return-internal)
9120 (dbus-method-error-internal, dbus-register-service)
9121 (dbus-register-signal, dbus-register-method): New defuns, moved
9122 from dbusbind.c
9123 (dbus-call-method-handler, dbus-setenv)
ef24141c
SM
9124 (dbus-get-all-managed-objects, dbus-managed-objects-handler):
9125 New defuns.
dcbf5805
MA
9126 (dbus-call-method-non-blocking): Make it an obsolete function.
9127 (dbus-unregister-object, dbus-unregister-service)
9128 (dbus-handle-event, dbus-register-property)
9129 (dbus-property-handler): Obey the new structure of
9130 `bus-registered-objects'.
9131 (dbus-introspect): Use `dbus-call-method'. Use a timeout.
9132 (dbus-get-property, dbus-set-property, dbus-get-all-properties):
9133 Use `dbus-call-method'.
9134
cf20dee0
CY
91352012-04-22 Chong Yidong <cyd@gnu.org>
9136
9137 * cus-edit.el (custom-commands, custom-reset-menu)
9138 (Custom-reset-standard): Tweak labels.
9139 (custom-reset-button-menu): Change default to t.
9140 (custom-buffer-create-internal): For the custom-reset-button-menu
9141 case, put the revert button first.
9142 (custom-group-subtitle): New face.
9143 (custom-group-value-create): Align docstring to a specific column.
9144
9145 * wid-edit.el (widget-documentation-link-add): Don't handle
9146 indentation in this function.
9147 (widget-documentation-string-indent-to): New function.
9148 (widget-documentation-string-value-create): Use it.
9149
9150 * autorevert.el (auto-revert):
9151 * epg-config.el (epg):
9152 * ibuffer.el (ibuffer):
9153 * mpc.el (mpc):
9154 * ses.el (ses):
9155 * eshell/eshell.el (eshell):
9156 * net/ange-ftp.el (ange-ftp):
9157 * progmodes/ebnf2ps.el (postscript):
9158 * progmodes/flymake.el (flymake):
9159 * progmodes/prolog.el (prolog):
9160 * progmodes/verilog-mode.el (verilog-mode):
9161 * progmodes/which-func.el (which-func):
9162 * term/xterm.el (xterm):
9163 * textmodes/picture.el (picture):
9164 * textmodes/tildify.el (tildify):
9165 * vc/ediff.el (ediff): Tweak defgroups to improve presentation in
9166 customization buffers.
9167
583e23bd
AM
91682012-04-22 Alan Mackenzie <acm@muc.de>
9169
9170 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
9171 Adding a ) can hide the resulting (..) from searches. Fix it.
9172 Bound the backward search to the position of the existing (.
9173
7dd51bf1
JB
91742012-04-21 Juanma Barranquero <lekktu@gmail.com>
9175
9176 * progmodes/verilog-mode.el (verilog-mode): Check whether
9177 which-func-modes is t before adding verilog-mode.
9178 Reported by Andy Moreton <andrewjmoreton@gmail.com>.
9179
d64a438f
LL
91802012-04-21 Leo Liu <sdl.web@gmail.com>
9181
7dd51bf1 9182 * net/rcirc.el (rcirc): Avoid error when process-contact returns t.
d64a438f 9183
081e8d65
MV
91842012-04-21 Michael Vehrs <Michael.Burschik@gmx.de>
9185
9186 * woman.el: Add support for "T{ T}" tbl syntax, and fix the
9187 filling of the last column of a table (Bug#5635).
9188 (woman-find-next-control-line): New arg, specifying an additional
9189 regexp component for the control line.
9190 (woman2-roff-buffer): Use it.
9191 (woman-break-table): New function.
9192 (woman2-TS): Use it.
9193
91942012-04-21 Chong Yidong <cyd@gnu.org>
9195
9196 * woman.el (woman-set-buffer-display-table, woman-decode-region)
9197 (woman-horizontal-escapes, woman-negative-vertical-space)
9198 (woman-tab-to-tab-stop, woman2-fc, woman2-TS)
9199 (WoMan-warn-ignored): Use ?\s instead of ?\ .
9200
ed571ccb
SM
92012012-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
9202
9203 * minibuffer.el (completion-file-name-table): Complete user names.
9204
39773899
LL
92052012-04-20 Leo Liu <sdl.web@gmail.com>
9206
9207 * font-lock.el (lisp-font-lock-keywords-2): Add pcase, pcase-let
9208 and pcase-let*.
9209
de6ff46d
CY
92102012-04-20 Chong Yidong <cyd@gnu.org>
9211
9212 * server.el (server-execute): Respect initial-buffer-choice if it
9213 is a string and there are no files to open (Bug#2825).
9214 (server-create-window-system-frame, server-create-tty-frame):
9215 Don't switch buffers here.
2d0e8e61
CY
9216 (server-process-filter): Only try to open a window system frame if
9217 compiled with graphical support (Bug#8314).
de6ff46d 9218
54071013
DN
92192012-04-20 Dan Nicolaescu <dann@gnu.org>
9220
9221 * battery.el (battery-echo-area-format): Display remaining time
9222 for sysfs backend too (Bug#11269).
9223 (battery-linux-sysfs): Fix conditional for the charge.
9224
f30d612a
CY
92252012-04-20 Chong Yidong <cyd@gnu.org>
9226
c07a4c0b 9227 * progmodes/gdb-mi.el (gdb): Revert previous change.
f30d612a
CY
9228 (gdb-inferior-io--init-proc): New function.
9229 (gdb-init-1): Use it.
9230 (gdb-inferior-io-sentinel): New sentinel for the gdb-inferior pty,
9231 responsible for allocating a new pty and hooking it to gdb when
9232 the old pty gets an EIO due to process exit.
9233 (gdb-delchar-or-quit): New command. Bind it in gdb-mi buffers.
9234 (gdb-tooltip-print): Don't use obsolete tooltip-use-echo-area.
9235 (gdb-inferior-io--maybe-delete-pty): Move into gdb-reset.
9236
2116e93c
EZ
92372012-04-20 Eli Zaretskii <eliz@gnu.org>
9238
9239 * window.el (window-min-size, window-sizable, window-min-delta)
9240 (window-max-delta, window--resizable, window-resizable)
9241 (window-total-size, window-full-height-p, window-full-width-p)
9242 (window-in-direction, window--resize-mini-window, window-resize)
9243 (window--resize-child-windows-normal)
9244 (window--resize-child-windows, window--resize-siblings)
9245 (window--resize-this-window, adjust-window-trailing-edge)
cd0f830c 9246 (enlarge-window, shrink-window): Doc fixes.
2116e93c 9247
c07a4c0b 92482012-04-20 Chong Yidong <cyd@gnu.org>
b668fa6e 9249
ef24141c
SM
9250 * progmodes/gdb-mi.el (gdb-inferior-io--maybe-delete-pty):
9251 New function to call delete-process on the gdb-inferior buffer's pty.
b668fa6e
CY
9252 (gdb-reset): Use it, instead of relying on kill-buffer to kill the
9253 pty process (Bug#11273).
9254 (gdb-update): New arg to suppress talking to the gdb process.
9255 (gdb-done-or-error): Use it.
9256 (gdb-stopped-functions): Rename from gdb-stopped-hooks.
9257 (gdb): Call gdb-inferior-io--maybe-delete-pty as a workaround for
9258 sentinel not being called.
9259
9260 * comint.el (make-comint-in-buffer, comint-exec): Doc fix.
9261
d02766ab
CY
9262 * progmodes/grep.el (grep, rgrep): Doc fix (Bug#11268).
9263
c07a4c0b 92642012-04-20 Glenn Morris <rgm@gnu.org>
016a35df
GM
9265
9266 * net/network-stream.el (open-network-stream): Doc fix.
9267
c07a4c0b 92682012-04-20 Chong Yidong <cyd@gnu.org>
2c070447
CY
9269
9270 * emacs-lisp/tabulated-list.el (tabulated-list-print): Fix typos.
9271
c07a4c0b 92722012-04-20 Alan Mackenzie <acm@muc.de>
f0f6bc35
AM
9273
9274 Ensure searching for keywords is case sensitive.
9275
9276 * progmodes/cc-cmds.el (c-electric-brace, c-electric-lt-gt)
9277 (c-electric-paren, c-beginning-of-defun, c-end-of-defun)
9278 (c-defun-name, c-mark-function, c-cpp-define-name)
9279 (c-comment-indent, c-scan-conditionals, c-indent-defun)
c07a4c0b 9280 (c-context-line-break): Bind case-fold-search to nil.
f0f6bc35 9281
ef24141c
SM
9282 * progmodes/cc-mode.el (c-font-lock-fontify-region):
9283 Bind case-fold-search to nil.
f0f6bc35 9284
c07a4c0b 92852012-04-20 Chong Yidong <cyd@gnu.org>
4fc2c72a
CY
9286
9287 * mail/sendmail.el (mail-bury): Call return action with the right
9288 Rmail buffer (Bug#11242).
9289
9a864fa2
CY
9290 * server.el (server-process-filter): Handle corner case where both
9291 tty and nowait options are present (Bug#11102).
9292
539aa513
EZ
92932012-04-20 Eli Zaretskii <eliz@gnu.org>
9294
9295 * version.el (emacs-bzr-version, emacs-bzr-get-version): Doc fixes.
6cf2a23e
EZ
9296 (top level): Put into the executable the ident-style '$Id:' tag on
9297 windows-nt as well.
539aa513 9298
cfc7d5da
SM
92992012-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
9300
9301 * electric.el (electric-indent-post-self-insert-function): Check that
9302 electric-indent-mode is enabled in current buffer.
9303
5b01685c
JB
93042012-04-19 Juanma Barranquero <lekktu@gmail.com>
9305
9306 * imenu.el (imenu-progress-message): Restore; it is "used" in
9307 erc/erc-imenu.el and net/snmp-mode.el.
9308
4d6769e1
JB
93092012-04-19 Juanma Barranquero <lekktu@gmail.com>
9310
9311 * avoid.el (mouse-avoidance-mode): Mark unused arg.
9312 (mouse-avoidance-nudge-mouse): Remove unused binding.
9313
9314 * bs.el (bs-toggle-readonly): Call `toggle-read-only' interactively.
9315
9316 * descr-text.el (describe-char):
9317 * progmodes/python.el (python-describe-symbol):
9318 Don't call `toggle-read-only', set `buffer-read-only'.
9319
9320 * imenu.el (imenu-default-goto-function): Mark unused args.
9321 (imenu-progress-message): Remove obsolete macro; all callers changed.
9322
9323 * subr.el (keymap-canonicalize): Remove unused binding.
9324 (read-passwd): Mark unused arg.
9325
9326 * tutorial.el (tutorial--display-changes): Remove unused binding.
9327 (tutorial--save-tutorial-to): Remove unused variable.
9328
9329 * emacs-lisp/package.el (define-package, package-menu-mark-delete)
9330 (package-menu-mark-install, package-menu-mark-unmark): Mark unused args.
9331 (package-generate-autoloads, package-menu--generate)
9332 (package-menu--find-upgrades): Remove unused bindings.
9333
9334 * emulation/cua-rect.el (cua-restrict-regexp-rectangle)
9335 (cua-restrict-prefix-rectangle): Doc fixes. Remove unused bindings.
9336 (cua--mouse-ignore, cua--delete-rectangle, cua--extract-rectangle)
9337 (cua--indent-rectangle, cua-open-rectangle, cua-close-rectangle)
9338 (cua-blank-rectangle, cua-string-rectangle, cua-replace-in-rectangle)
9339 (cua-incr-rectangle, cua-sequence-rectangle, cua--convert-rectangle-as)
9340 (cua--rectangle-aux-replace, cua--left-fill-rectangle)
9341 (cua-scroll-rectangle-up, cua-scroll-rectangle-down)
9342 (cua-delete-char-rectangle): Mark unused args.
9343 (cua-align-rectangle): Remove unused binding.
9344
9345 * mail/rmail.el (compilation--message->loc)
9346 (epa--find-coding-system-for-mime-charset): Declare.
9347
9348 * net/dbus.el (dbus-register-service): Declare.
9349 (dbus-name-owner-changed-handler): Remove unused binding.
9350
9351 * nxml/nxml-mode.el (nxml-electric-slash, nxml-in-mixed-content-p)
9352 (nxml-compute-indent-from-matching-start-tag): Remove unused variables.
9353 (nxml-scan-backward-within): Mark unused arg.
9354 (nxml-dynamic-markup-word): Remove unused binding.
9355
9356 * mouse.el (mouse-menu-major-mode-map):
9357 * emacs-lisp/authors.el (authors-scan-change-log)
9358 (authors-add-to-author-list):
9359 * emacs-lisp/avl-tree.el (avl-tree--enter-balance):
9360 * emacs-lisp/smie.el (smie-auto-fill):
9361 * mail/sendmail.el (mail-bury):
9362 * mail/unrmail.el (unrmail):
9363 * net/tls.el (open-tls-stream):
9364 * textmodes/picture.el (picture-mouse-set-point):
9365 Remove unused bindings.
9366
8c8fc5df
MA
93672012-04-19 Michael Albinus <michael.albinus@gmx.de>
9368
9369 * net/tramp.el (tramp-action-password): Let-bind
9370 `enable-recursive-minibuffers' to t.
9371
a77b0ac9
SS
93722012-04-18 Sam Steingold <sds@gnu.org>
9373
9374 * progmodes/gud.el (gud-key-prefix): Use :type 'key-sequence
9375 instead of 'string to accommodate values like [f11].
9376 Always use `vconcat' instead of `concat' on it, like in `gud-def'.
9377 * progmodes/gdb-mi.el: Likewise.
9378
12a106a9
LL
93792012-04-18 Leo Liu <sdl.web@gmail.com>
9380
9381 * abbrev.el (edit-abbrevs): Move point to the abbrev table of
9382 current buffer.
9383 (prepare-abbrev-list-buffer): Enter edit-abbrevs-mode only if
9384 LOCAL is nil.
9385
bc6494ef
CY
93862012-04-18 Chong Yidong <cyd@gnu.org>
9387
9388 * simple.el (line-move): Use forward-line if in batch mode
9389 (Bug#11053).
9390
c09c46b2
CS
93912012-04-18 Christopher Schmidt <christopher@ch.ristopher.com>
9392
9393 * files.el (after-find-file): Do not try to add a final newline if
9394 the buffer is read-only (Bug#11156).
9395
5f6530ea
RS
93962012-04-17 Richard Stallman <rms@gnu.org>
9397
9398 * mail/rmail.el (rmail-start-mail):
9399 Pass (rmail-mail-return...) for the return-action.
9400 Pass (rmail-yank-current-message...) for the yank-action.
9401 (rmail-yank-current-message): New function.
9402 (rmail-mail): Pass the Rmail buffer, not view buffer, for replybuffer.
9403 (rmail-reply): Likewise.
9404 (rmail-forward): Pass the Rmail buffer, not nil, for replybuffer.
9405
9406 * mail/sendmail.el (mail-bury): Choose the first rmail-mode
c09c46b2 9407 buffer, not the last. Reject temp buffers. Use the rmail-mode
5f6530ea
RS
9408 buffer, not newbuf.
9409
197b6f3c
JB
94102012-04-17 Juanma Barranquero <lekktu@gmail.com>
9411
9412 * server.el (server-ensure-safe-dir): Simplify.
9413
2311d8e5 94142012-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
98fb480e 9415
2311d8e5
GM
9416 * emacs-lisp/smie.el: Provide smarter auto-filling.
9417 (smie-auto-fill): New function.
9418 (smie-setup): Use it.
98fb480e 9419
2311d8e5
GM
9420 * newcomment.el (comment-choose-indent): Obey comment-inline-offset.
9421
94222012-04-17 Philipp Haselwarter <philipp.haselwarter@gmx.de> (tiny change)
8eb5d48f
PH
9423
9424 * newcomment.el (comment-inline-offset): New custom var (bug#11090).
9425 (comment-indent): Use it.
9426
2311d8e5 94272012-04-17 Vincent Belaïche <vincentb1@users.sourceforge.net>
4bdf2ad2
VB
9428
9429 * ses.el: The overall change is to add cell renaming, that is
9430 setting fancy names for cell symbols other than name matching
9431 "\\`[A-Z]+[0-9]+\\'" regexp .
2311d8e5 9432 (ses-localvars): Add ses--renamed-cell-symb-list.
4bdf2ad2 9433 (ses-create-cell-variable): New defun.
2311d8e5 9434 (ses-destroy-cell-variable-range): Respect ses--numrows, ses--numcols.
4bdf2ad2
VB
9435 (ses-relocate-formula): Relocate formulas only for cells the
9436 symbols of which are not renamed, i.e. symbols whose names do not
9437 match regexp "\\`[A-Z]+[0-9]+\\'".
9438 (ses-relocate-all): Relocate values only for cells the symbols of
9439 which are not renamed.
9440 (ses-load): Create cells variables as the (ses-cell ...) are read,
9441 in order to check row col consistency with cell symbol name only
9442 for cells that are not renamed.
9443 (ses-replace-name-in-formula): New defun.
9444 (ses-rename-cell): New defun.
4bdf2ad2 9445
fc72b15c
PO
94462012-04-17 Peter Oliver <bzr@mavit.org.uk> (tiny change)
9447
9448 * progmodes/perl-mode.el (perl-indent-parens-as-block):
9449 New option (bug#11118).
9450 (perl-calculate-indent): Respect it.
9451
12e10e61
GM
94522012-04-17 Glenn Morris <rgm@gnu.org>
9453
9454 * dired-aux.el (dired-mark-read-string): Doc fix.
9455
30009afd
DA
94562012-04-17 Dmitry Antipov <dmantipov@yandex.ru>
9457
9458 * dired-aux.el (dired-mark-read-string): Offer optional completion.
9459 (dired-do-chxxx): Complete chown, chgrp over users, groups. (Bug#7900)
9460
41f03f4d
GM
94612012-04-17 Glenn Morris <rgm@gnu.org>
9462
9463 * mouse.el (mouse-drag-track):
9464 * speedbar.el (speedbar-frame-mode):
9465 Use auto-hscroll-mode rather than the alias automatic-hscrolling.
9466
f45f90f3
LL
94672012-04-16 Leo Liu <sdl.web@gmail.com>
9468
9469 * progmodes/python.el: Trivial cleanup.
9470
94ee8db5
GM
94712012-04-16 Glenn Morris <rgm@gnu.org>
9472
121b8917
GM
9473 * vc/vc.el (vc-string-prefix-p):
9474 * vc/pcvs-util.el (cvs-string-prefix-p):
9475 * textmodes/tex-mode.el (latex-string-prefix-p, tex-string-prefix-p):
9476 * mpc.el (mpc-string-prefix-p):
9477 Make all of these into obsolete aliases for string-prefix-p.
9478 Update callers.
9479 * vc/pcvs.el, vc/vc-dispatcher.el, vc/vc-dir.el: Update callers.
9480
1197ecfa
GM
9481 * textmodes/two-column.el: Move custom options to the start.
9482 (frame-width): Remove compat definition.
9483 (2C-associate-buffer, 2C-dissociate):
9484 Use with-current-buffer rather than save-excursion.
9485 (2C-dissociate): Force a mode-line update.
9486 (2C-autoscroll): Use ignore-errors.
9487
099e7202
GM
9488 * emacs-lisp/eieio-opt.el (describe-class, describe-generic):
9489 Autoload trivia.
9490
bf350d6a
GM
9491 * emacs-lisp/cl-extra.el (*random-state*):
9492 Remove unnecessary declaration.
9493
0e829eab
GM
9494 * calendar/cal-tex.el (cal-tex-end-document): Trivial clarification.
9495
e3ad7552
GM
9496 * play/cookie1.el (cookie-snarf):
9497 Give an explicit error if input file cannot be read.
9498
68892d27
GM
9499 * play/yow.el (yow-file): Use expand-file-name rather than concat.
9500
20f0c46d
GM
9501 * progmodes/perl-mode.el (c-macro-expand):
9502 Remove unnecessary autoload (it is in loaddefs.el).
9503
5a0978ce
GM
9504 * textmodes/picture.el (picture-desired-column)
9505 (picture-update-desired-column): Convert comments to doc-strings.
9506 (picture-substitute): Remove function.
9507 (picture-mode-map): Initialize in the defvar.
9508
6b955486
GM
9509 * woman.el: Remove eval-after-load for tar-mode.
9510 * tar-mode.el (tar-mode-map): Add woman binding and menu entry.
9511 (woman-tar-extract-file): Autoload it.
9512
94ee8db5
GM
9513 * frame.el (automatic-hscrolling): Make this alias obsolete.
9514
177eca34
AM
95152012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
9516
090bd7cb 9517 * textmodes/ispell.el (ispell-set-spellchecker-params): Post-process
4be3075e 9518 `ispell-dictionary-alist' to use [:alpha:] and utf-8 if possible.
3851314b
AM
9519 (ispell-dictionary-base-alist): Revert to original XEmacs
9520 friendly version for default. [:alpha:] will be added in
090bd7cb 9521 `ispell-set-spellchecker-params' if needed.
177eca34 9522
c505aaeb
CY
95232012-04-16 Chong Yidong <cyd@gnu.org>
9524
b19dd9d1 9525 * image.el (imagemagick--file-regexp): New variable.
c505aaeb
CY
9526 (imagemagick-register-types): Use it.
9527 (imagemagick-types-inhibit): Add :set function. Allow new value
9528 of t to inhibit all types.
9529
9530 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Avoid cl macros,
9531 so we can preload it.
9532
9533 * loadup.el (fboundp): Preload regexp-opt, needed by
9534 imagemagick-register-types.
9535
60efac0f
CY
95362012-04-15 Chong Yidong <cyd@gnu.org>
9537
9538 * frame.el (scrolling): Remove nearly unused customization group.
9539
9540 * scroll-all.el (scroll-all-mode): Move to windows group.
9541
5dd1713e
CY
95422012-04-15 Chong Yidong <cyd@gnu.org>
9543
9544 * bindings.el (goto-map): Bind goto-char to M-g c (Bug#11240).
9545
e6fd457e
CY
95462012-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
9547
9548 Avoid the use of ((lambda ...) ...) in lexical-binding code.
4d6769e1 9549 * emacs-lisp/easy-mmode.el (define-minor-mode): Use funcall (bug#11241).
e6fd457e 9550
e153c136
GM
95512012-04-15 Glenn Morris <rgm@gnu.org>
9552
9553 * simple.el (process-file-side-effects): Doc fix.
9554
e6fd457e 95552012-04-15 Glenn Morris <rgm@gnu.org>
ca7d96c8
GM
9556
9557 * international/mule-cmds.el (set-language-environment): Doc fix.
9558
3603c3b1
JB
95592012-04-14 Juanma Barranquero <lekktu@gmail.com>
9560
9561 * server.el (server-auth-key, server-generate-key): Doc fixes.
9562 (server-get-auth-key): Doc fix. Use `string-match-p'.
9563 (server-start): Reflow docstring.
9564
e6de100c
LI
95652012-04-14 Lars Ingebrigtsen <larsi@gnus.org>
9566
9567 * server.el (server-generate-key): `called-interactively-p'
9568 requires a parameter.
9569
29734c21
MN
95702012-04-14 Michal Nazarewicz <mina86@mina86.com>
9571
9572 * server.el (server-auth-key): New variable.
75f1671a 9573 (server-generate-key, server-get-auth-key): New function.
29734c21
MN
9574 (server-start): Use the new variable and functions to allow
9575 setting a permanent server key (bug#9423).
9576
d65c9521
LL
95772012-04-14 Leo Liu <sdl.web@gmail.com>
9578
9579 * vc/diff-mode.el (diff-file-prev/next): Fix typo.
9580
5ae255c7
PE
95812012-04-14 Paul Eggert <eggert@cs.ucla.edu>
9582
9583 Spelling fixes.
9584 * hexl.el (hexl-rulerize): Rename from hexl-rulerise, since
9585 Emacs uses American spelling.
9586
d5e6342e
JB
95872012-04-14 Juanma Barranquero <lekktu@gmail.com>
9588
9589 * emacs-lock.el (emacs-lock-locked-buffer-functions): New hook.
9590 (emacs-lock--exit-locked-buffer): Return the locked buffer. Doc fix.
9591 (emacs-lock--kill-emacs-hook, emacs-lock--kill-emacs-query-functions)
9592 (emacs-lock--kill-buffer-query-functions): Run new hook. (Bug#11017)
9593
ab036cd7
SM
95942012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
9595
9596 * progmodes/which-func.el (which-func-modes): Change default.
9597
35dc09a1 95982012-04-14 Kim F. Storm <storm@cua.dk>
9557e2be
CY
9599
9600 * emulation/cua-base.el (cua-exchange-point-and-mark): Just call
9601 exchange-point-and-mark if cua-enable-cua-keys is nil (Bug#11191).
9602
35dc09a1 96032012-04-14 Chong Yidong <cyd@gnu.org>
81927dd2
CY
9604
9605 * custom.el (custom-theme-set-variables): Doc fix.
9606
35dc09a1 96072012-04-14 Glenn Morris <rgm@gnu.org>
8edb942b
GM
9608
9609 * international/mule.el (set-auto-coding-for-load): Doc fix.
9610
35dc09a1 96112012-04-14 Alan Mackenzie <acm@muc.de>
0de3da9f 9612
35dc09a1
GM
9613 * progmodes/cc-menus.el (cc-imenu-objc-generic-expression): Make
9614 imenu work again for Objective C Mode. Correct the *-index values,
9615 these having been disturbed by a previous change in 2011-08.
57f845ee 9616
0de3da9f
AM
9617 * progmodes/cc-engine.el (c-before-change-check-<>-operators):
9618 Correct two search limits.
9619
35dc09a1 96202012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
ede141ac
SM
9621
9622 * startup.el (command-line-1): Inhibit splash from daemon (bug#10996).
9623
35dc09a1 96242012-04-14 Andreas Schwab <schwab@linux-m68k.org>
d0203d61
AS
9625
9626 * international/characters.el: Fix sorting.
9627
35dc09a1 96282012-04-14 Eli Zaretskii <eliz@gnu.org>
cb80bcd1
EZ
9629
9630 * international/characters.el: Add more missing Latin case pairs.
9631
35dc09a1 96322012-04-14 Glenn Morris <rgm@gnu.org>
4a427f58
GM
9633
9634 * files.el (dir-locals-set-class-variables): Doc fix.
9635
35dc09a1 96362012-04-14 Eli Zaretskii <eliz@gnu.org>
9f847f41 9637
3f1b5bf8
EZ
9638 * international/characters.el: Add set-case-syntax-pair call for
9639 LATIN CAPITAL LETTER Y WITH DIAERESIS RET and its lower-case
9640 counterpart. (Bug#11209)
9641
9f847f41
EZ
9642 * simple.el (shell-command-on-region): Doc fix. (Bug#11208)
9643
35dc09a1 96442012-04-14 Glenn Morris <rgm@gnu.org>
0c2014a3
GM
9645
9646 * calendar/holidays.el (calendar-check-holidays): Doc fix.
9647
35dc09a1 96482012-04-14 Eli Zaretskii <eliz@gnu.org>
e2627d21 9649
35dc09a1
GM
9650 * textmodes/ispell.el (ispell-dictionary-base-alist):
9651 Add data for Hebrew.
e2627d21 9652
35dc09a1 96532012-04-14 Chong Yidong <cyd@gnu.org>
5c14e333 9654
35dc09a1
GM
9655 * net/rcirc.el (rcirc-cmd-quit):
9656 Revert 2012-03-18 change (Bug#11192).
5c14e333 9657
35dc09a1 96582012-04-14 Glenn Morris <rgm@gnu.org>
bf6fa423
GM
9659
9660 * pcmpl-rpm.el (pcomplete/rpm): Handle -qf.
9661
35dc09a1 96622012-04-14 Eli Zaretskii <eliz@gnu.org>
82b24fb2 9663
4517fe3a
SM
9664 * minibuffer.el (completion-in-region-mode-map):
9665 Bind completion-help-at-point to M-? rather than ?. (Bug#11182)
82b24fb2 9666
b472a594
VD
96672012-04-13 Vivek Dasmohapatra <vivek@etla.org>
9668
9669 * hexl.el (hexl-insert-char): Make display sizes other than 16 work.
9670
09b95ce3
MY
96712012-04-13 Masatake YAMATO <yamato@redhat.com>
9672
9673 * minibuffer.el (minibuffer-local-filename-syntax): New variable
9674 to allow `C-M-f' and `C-M-b' to move to the nearest path
9675 separator (bug#9511).
9676
4b63a9ca
LI
96772012-04-13 Lars Ingebrigtsen <larsi@gnus.org>
9678
9679 * avoid.el: Require cl when compiling. And also move the
9680 `provide' to the end.
9681
7b55b8bf
TV
96822012-04-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
9683
9684 * avoid.el (mouse-avoidance-banish-position): New variable.
9685 (mouse-avoidance-banish-destination): Use it (bug#10165).
9686
adedaa1f
LL
96872012-04-13 Leo Liu <sdl.web@gmail.com>
9688
9689 * progmodes/which-func.el (which-func-modes): Add objc-mode.
9690
70e74021
KB
96912012-04-13 Ken Brown <kbrown@cornell.edu>
9692
9693 * net/browse-url.el (browse-url-file-url): Remove Cygwin hack;
ab036cd7 9694 this is no longer needed now that cygstart understands file:// URLs.
70e74021
KB
9695 (browse-url-filename-alist): For the same reason, don't modify
9696 file:// URLs on Cygwin.
9697
e75e89ba
SM
96982012-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
9699
9700 * emulation/cua-base.el (cua--pre-command-handler-1): Don't activate
9701 the region on shift if the binding is already shifted (bug#11221).
9702
82f289a4
GM
97032012-04-12 Glenn Morris <rgm@gnu.org>
9704
9705 * mail/mailpost.el: Move to obsolete/.
9706
d333dc4c
DA
97072012-04-12 Drew Adams <drew.adams@oracle.com>
9708
9709 * imenu.el (imenu--generic-function): Ignore invisible definitions
9710 (bug#10123).
9711
0d15b5ba
VD
97122012-04-12 Vivek Dasmohapatra <vivek@etla.org>
9713
9714 * hexl.el (hexl-bits): New variable.
9715 (hexl-options): Mention the variable in the doc string.
75f1671a 9716 (hexl-rulerise, hexl-line-displen): New functions.
0d15b5ba 9717 (hexl-mode): Mention the new variable.
75f1671a
JB
9718 (hexl-mode, hexl-current-address, hexl-current-address):
9719 Use the displen.
0d15b5ba
VD
9720 (hexl-ascii-start-column): New function.
9721 (hexl-address-to-marker, hexl-beginning-of-line, hexl-options)
9722 (hexl-insert-char, hexl-mode-ruler): Use the displen (bug#4941).
9723
64a440db
AM
97242012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
9725
9726 * textmodes/flyspell.el (flyspell-large-region): For hunspell, use
9727 '("-i" ENCODING), in 2 separate command-line arguments, to specify
9728 the encoding, as expected by hunspell.
9729
6decb6c2
SM
97302012-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
9731
9732 * battery.el (battery--linux-sysfs-regexp): New const.
9733 (battery-status-function): Use it. Remove yeeloong special case.
9734 (battery-yeeloong-sysfs): Remove.
9735 (battery-echo-area-format): Remove yeeloong special case.
9736
088be6fb
SM
97372012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
9738
6622e416
SM
9739 * imenu.el (imenu-add-to-menubar): `current-local-map' can be nil.
9740 Reported by Noah Friedman.
9741
088be6fb
SM
9742 * subr.el (read-passwd): Use read-string.
9743
b49f886e
LMI
97442012-04-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
9745
9746 * vcursor.el (vcursor-move): Increase the priority of the overlay
9747 (bug#9663).
9748
a63067fc
DD
97492012-04-11 Deniz Dogan <deniz.a.m.dogan@gmail.com>
9750
9751 * net/rcirc.el (rcirc-kill-channel-buffers): New variable.
9752 (rcirc-kill-buffer-hook): Use it to kill channel buffers (bug#5128).
9753
ac3cf14a
WS
97542012-04-11 William Stevenson <yhvh2000@gmail.com>
9755
9756 * textmodes/artist.el (artist-mode): Convert artist-mode to use
9757 define-minor-mode (bug#10760).
9758
c4fc691b 97592012-04-11 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
49a2697c 9760
4d6769e1 9761 * progmodes/grep.el (rgrep): Tweak the find command line so
49a2697c
WJ
9762 that directories matching `grep-find-ignored-files' won't be
9763 pruned (bug#10351).
9764
af23e2e5
CY
97652012-04-11 Chong Yidong <cyd@gnu.org>
9766
9767 * startup.el (command-line): Remove support for long-obsolete
9768 variable font-lock-face-attributes.
9769
ab7ce8c1
GM
97702012-04-11 Glenn Morris <rgm@gnu.org>
9771
9772 * vc/vc-bzr.el (vc-bzr-status): Avoid condition-case-unless-debug.
9773
de8c03dc
SM
97742012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
9775
9776 * window.el (window--state-get-1): Obey window-point-insertion-type.
9777
050cc68b
LB
97782012-04-11 Lennart Borgman <lennart.borgman@gmail.com>
9779
9780 * emacs-lisp/lisp.el (narrow-to-defun): `beginning-of-defun' goes
9781 to previous function when point is on the first character of a
75f1671a 9782 function. Take care of that in `narrow-to-defun' (bug#6157).
050cc68b 9783
a38c310c
GM
97842012-04-11 Glenn Morris <rgm@gnu.org>
9785
effed0c2
GM
9786 * vc/vc-bzr.el (vc-bzr-status): Handle all errors,
9787 not just file-errors.
9788
a38c310c
GM
9789 * vc/vc-bzr.el (vc-bzr-sha1-program, sha1-program): Remove.
9790 (vc-bzr-sha1): Use internal sha1.
9791
0221e323
SM
97922012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
9793
9794 * progmodes/flymake.el (flymake-mode): Beware read-only dirs (bug#8954).
9795
43956923
SG
97962012-04-10 Sébastien Gross <seb@chezwam.org> (tiny change)
9797
9798 * progmodes/hideshow.el (hs-hide-all): Don't infloop on comments
9799 that start in the middle of the line (bug#10496).
9800
6a8c9eaf
DN
98012012-04-10 Dan Nicolaescu <dann@gnu.org>
9802
9803 * battery.el (battery-linux-proc-acpi): Only one battery is
9804 discharged at a time, but that seems to confuse battery.el when
9805 computing `rate-type' for the battery not being discharged
9806 (bug#10332).
9807
1930bf5d
SM
98082012-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
9809
2a718f6f
SM
9810 * emacs-lisp/autoload.el (autoload-make-program): Remove, unused.
9811
599430d0
SM
9812 * international/quail.el: Use dolist and simplify.
9813 (quail-define-package, quail-update-keyboard-layout)
9814 (quail-define-rules): Use dolist.
9815 (quail-insert-kbd-layout, quail-get-translation): CSE.
9816
a2754b6c
SM
9817 * tmm.el: Use dolist, remove left over hook.
9818 (tmm-prompt, tmm-define-keys, tmm-shortcut, tmm-get-keybind):
9819 Use dolist.
9820 (calendar-load-hook): Don't mess with it.
9821
1930bf5d
SM
9822 * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
9823 Use derived-mode-p. Run the diff asynchronously.
9824
9f67961c
LMI
98252012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
9826
9827 * obsolete/mouse-sel.el: Add an Obsolete-since header.
9828
2a8ce227
JB
98292012-04-10 Juanma Barranquero <lekktu@gmail.com>
9830
9831 * misc.el: Display absolute path of loaded DLLs (bug#10424).
9832 (list-dynamic-libraries--loaded): New function.
9833 (list-dynamic-libraries--refresh): Use it.
9834
8f33b5f8
NW
98352012-04-10 Nathan Weizenbaum <nweiz@google.com>
9836
1930bf5d
SM
9837 * progmodes/python.el (python-fill-paragraph):
9838 Make python-fill-region in a multiline string work when font-lock is
8f33b5f8
NW
9839 disabled (bug#7018).
9840
b12f0439
L
98412012-04-10 Laimonas Vėbra <laimonas.vebra@gmail.com> (tiny change)
9842
1930bf5d 9843 * language/european.el (cp775): Add oem/legacy (en)coding on
75f1671a
JB
9844 DOS/MS Windows for the Baltic languages. There are still plenty
9845 of texts written in this encoding/codepage (bug#6519).
b12f0439 9846
57c3bd01
GM
98472012-04-10 Glenn Morris <rgm@gnu.org>
9848
9849 * cus-start.el (eol-mnemonic-unix, eol-mnemonic-dos, eol-mnemonic-mac):
9850 Add :standard values, reducing "rogue" customs in emacs -Q a bit more.
9851
6c3eab30
FA
98522012-04-10 Florian Adamsky <florian@adamsky.it> (tiny change)
9853
1930bf5d 9854 * recentf.el (recentf-dialog-mode-map): Add two keybindings for
6c3eab30
FA
9855 next-line "n" and previous-line "p" in order to make recentf more
9856 consistent with ibuffer, dired or org-mode (bug#9387).
9857
24d78a88
LMI
98582012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
9859
bc72b5d9
LMI
9860 * image.el (put-image): Return the overlay created instead of the
9861 optional input string (bug#7834). Note that this may break code
9862 that is (for some reason or other) depending on `put-image'
9863 returning the string.
9864
bd2dba5a
LMI
9865 * mouse-sel.el (mouse-sel-mode): Mark as obsolete (bug#6174).
9866
74beb59f
LMI
9867 * simple.el (zap-to-char): Allow zapping using input methods
9868 (bug#1580).
9869
24d78a88
LMI
9870 * textmodes/fill.el (fill-region): Leave point and mark where they
9871 were before filling (bug#5399).
9872
263f20cd
GM
98732012-04-09 Glenn Morris <rgm@gnu.org>
9874
9875 * version.el (emacs-bzr-get-version):
9876 Handle lightweight checkouts of local branches.
9877
58d1f797
AS
98782012-04-09 Andreas Schwab <schwab@linux-m68k.org>
9879
263f20cd 9880 * international/characters.el: Recover lost case pairs. (Bug#11209)
58d1f797 9881
b4d3bc10
CY
98822012-04-09 Chong Yidong <cyd@gnu.org>
9883
9884 * custom.el (custom-variable-p): Return nil for non-symbol
9885 arguments instead of signaling an error.
9886 (user-variable-p): Obsolete alias for custom-variable-p.
9887
9888 * apropos.el (apropos-variable):
9889 * files-x.el (read-file-local-variable):
9890 * simple.el (set-variable):
9891 * woman.el (woman-mini-help):
9892 * emacs-lisp/byte-opt.el (side-effect-free-fns): Callers changed.
9893
fd06db5d
GM
98942012-04-09 Glenn Morris <rgm@gnu.org>
9895
e5fcdb5e
GM
9896 * startup.el (normal-top-level): Don't look for leim-list.el
9897 in places where it will not be found. (Bug#910)
9898
fd06db5d
GM
9899 * international/mule-cmds.el (set-default-coding-systems):
9900 * files.el (normal-mode):
9901 Remove guarded calls to ucs-set-table-for-input. (Bug#9821)
9902 This function was removed with ucs-tables.el in 2008.
9903
b39bb7e1
EZ
99042012-04-08 Eli Zaretskii <eliz@gnu.org>
9905
9906 * textmodes/ispell.el (ispell-check-version): For hunspell, set
9907 ispell-encoding8-command to "-i", without a trailing space.
9908 (ispell-start-process): For hunspell, use '("-i" ENCODING), in 2
9909 separate command-line arguments, to specify the encoding, since
9910 that's how hunspell expects it.
9911
5c5b8e23
GM
99122012-04-08 Glenn Morris <rgm@gnu.org>
9913
9914 * loadup.el: Load bindings before cus-start.
9915 This reduces somewhat the number of "rogue" settings in emacs -Q.
9916
a1ed8b05
GM
99172012-04-07 Glenn Morris <rgm@gnu.org>
9918
9919 * version.el (emacs-bzr-get-version): New function.
dfae128a 9920 (emacs-bzr-version): New variable.
a1ed8b05
GM
9921 * loadup.el (emacs-bzr-version): Set it. (Bug#8054)
9922 * mail/emacsbug.el (report-emacs-bug): Include bzr version.
9923
b142f158
EZ
99242012-04-07 Eli Zaretskii <eliz@gnu.org>
9925
dfae128a
GM
9926 * international/uni-bidi.el, international/uni-category.el:
9927 * international/uni-combining.el, international/uni-decimal.el:
9928 * international/uni-decomposition.el, international/uni-digit.el:
9929 * international/uni-lowercase.el, international/uni-mirrored.el:
9930 * international/uni-name.el, international/uni-numeric.el:
9931 * international/uni-titlecase.el, international/uni-uppercase.el:
9932 Update for Unicode 6.1.
b142f158 9933
9078ead6
EZ
99342012-04-07 Eli Zaretskii <eliz@gnu.org>
9935
9936 * term/w32-win.el (dynamic-library-alist): Add libxml2 DLLs.
9937
f23d2c7d
LMI
99382012-04-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
9939
9940 * window.el (shrink-window): Mention the `window-min-height'
9941 variable in the doc string.
9942
0a0a3573
BG
99432012-04-05 Bastien Guerry <bzg@altern.org>
9944
9945 * color.el (color-lighten-name): Fix typo.
9946
e5248ac9
SM
99472012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
9948
9949 * server.el (server--on-display-p): New function.
9950 (server--on-display-p): Use it.
9951
b4243e22
GV
99522012-04-04 Gabor Vida <vidagabor@gmail.com> (tiny change)
9953
9954 * ido.el (ido-wide-find-dirs-or-files): Use file-name-absolute-p
9955 (bug#11145).
9956
305d9f44
SM
99572012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
9958
9959 * comint.el (comint--common-quoted-suffix): Check string boundary
9960 before comparing (bug#11158).
9961 * pcomplete.el (pcomplete--common-quoted-suffix): Idem.
9962
3d439cd1
CY
99632012-04-04 Chong Yidong <cyd@gnu.org>
9964
321cc491
CY
9965 * minibuffer.el (completion-extra-properties): Doc fix.
9966
3d439cd1
CY
9967 * subr.el (delayed-warnings-hook): Doc fix.
9968
2d562c0f
DU
99692012-04-04 Daiki Ueno <ueno@unixuser.org>
9970
9971 * epa.el (epa--select-keys): Bind C-c C-c to finish the key
9972 selection (Bug#11159).
9973 (epa-insert-keys): Inform that the default public key will be
9974 exported if no key is selected.
9975
4443f204
RS
99762012-04-04 Richard Stallman <rms@gnu.org>
9977
9978 * mail/emacsbug.el (report-emacs-bug): Bind inhibit-read-only.
9979
529c06b6
CY
99802012-04-03 Chong Yidong <cyd@gnu.org>
9981
9982 * mail/sendmail.el (mail-mode-map): Bind C-c C-i to
9983 mail-insert-file, not its obsolete alias mail-attach-file.
9984
66b907dc
MA
99852012-04-03 Michael Albinus <michael.albinus@gmx.de>
9986
9987 * notifications.el (notifications-notify): Fix docstring.
9988
c0ea195d
GM
99892012-04-02 Glenn Morris <rgm@gnu.org>
9990
9991 * emacs-lisp/authors.el (authors-aliases): Another addition.
9992
5ca64e00
MA
99932012-04-02 Michael Albinus <michael.albinus@gmx.de>
9994
9995 * net/tramp-gvfs.el (tramp-gvfs-send-command): Apply
9996 `tramp-compat-call-process' instead of `tramp-local-call-process'.
9997 Reported by Magnus Henoch <magnus.henoch@gmail.com>.
9998
42ee526b
CY
99992012-04-01 Chong Yidong <cyd@gnu.org>
10000
10001 * files.el (file-in-directory-p): Rename from file-subdir-of-p.
10002 Handle root directory properly.
10003 (copy-directory): Caller changed.
10004
10005 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
10006 * net/tramp.el (tramp-file-name-for-operation): Callers changed.
10007
0b021094
GM
100082012-03-31 Glenn Morris <rgm@gnu.org>
10009
40f86458
GM
10010 * term/xterm.el (xterm-extra-capabilities): Doc fix.
10011
7019c177
GM
10012 * language/indian.el ("Devanagari"): Fix typo. (Bug#11103)
10013
a1daddd6
GM
10014 * calendar/calendar.el (calendar-window-list)
10015 (calendar-hide-window): Restore. (Bug#11140)
10016 (calendar-exit): Use calendar-window-list, calendar-hide-window again.
10017
0b021094
GM
10018 * emacs-lisp/edebug.el (edebug-unwrap-results): Doc fix.
10019
40311efc
TV
100202012-03-30 Thierry Volpiatto <thierry.volpiatto@gmail.com>
10021
10022 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
10023 Check if file is a symlink (Bug#10489).
10024
10025 * files.el (copy-directory): Likewise.
10026
5319014e
CY
100272012-03-30 Chong Yidong <cyd@gnu.org>
10028
10029 * image.el (imagemagick-types-inhibit)
10030 (imagemagick-register-types): Doc fix.
10031
935d1290
AM
100322012-03-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
10033
090bd7cb 10034 * textmodes/ispell.el (ispell-get-extended-character-mode):
ef24141c 10035 Disable extended-char-mode for hunspell. hunspell does not support it
75f1671a 10036 and treats ~word as ordinary words in pipe mode.
935d1290 10037
61c6e8fd
GM
100382012-03-30 Glenn Morris <rgm@gnu.org>
10039
10040 * tutorial.el (help-with-tutorial): Ensure local variables don't
10041 happen to make the buffer read-only. (Bug#11127)
10042
81fdff00
SM
100432012-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
10044
10045 * progmodes/perl-mode.el (perl-indent-line): Use `noindent' in strings.
10046 (perl-calculate-indent): Return `noindent' in strings.
10047
6e7a6ec0
SS
100482012-03-28 Sam Steingold <sds@gnu.org>
10049
10050 * calendar/calendar.el (calendar-exit): Use `quit-windows-on'
10051 instead of the broken adhockery which does not prevent calendar
10052 buffers from being displayed at random after exit.
10053 (calendar-window-list, calendar-hide-window): Remove the broken
10054 adhockery.
10055
fee88ca0
GM
100562012-03-28 Glenn Morris <rgm@gnu.org>
10057
10058 * replace.el (query-replace-map): Doc fix.
10059
38de3354
AS
100602012-03-28 Andreas Schwab <schwab@linux-m68k.org>
10061
10062 * vc/vc-git.el (vc-git-state): Don't try to match all of the diff
10063 contents. (Bug#11109)
10064
b973155e
SM
100652012-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
10066
10067 * emacs-lisp/avl-tree.el (avl-tree--enter-balance): Fix paren typo
10068 (bug#11077).
10069 (avl-tree--check, avl-tree--check-node): New funs.
10070
dcb6e7b3
MR
100712012-03-27 Martin Rudalics <rudalics@gmx.at>
10072
10073 * window.el (switch-to-visible-buffer): New option.
b973155e
SM
10074 (switch-to-prev-buffer, switch-to-next-buffer):
10075 Observe switch-to-visible-buffer. Make sure that checking for a window
dcb6e7b3
MR
10076 showing a buffer already is done on the same frame.
10077
b4fa35fa
GM
100782012-03-27 Glenn Morris <rgm@gnu.org>
10079
10080 * startup.el (mail-host-address): Doc fix.
10081
f9210e18
SM
100822012-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
10083
10084 * emacs-lisp/bytecomp.el (byte-compile-constants-vector): Allow more
10085 than 197 variables.
10086
c0bf7753
AF
100872012-03-26 Ami Fischman <ami@fischman.org>
10088
10089 * vc/vc-git.el (vc-git-state): Avoid unnecessarily locking.
10090
33da7b16
GM
100912012-03-26 Glenn Morris <rgm@gnu.org>
10092
02243d9d
GM
10093 * files.el (save-buffers-kill-emacs): Doc fix.
10094
33da7b16
GM
10095 * startup.el (normal-top-level, command-line, command-line-1):
10096 Give them doc strings.
10097
e5a69fd0
EZ
100982012-03-25 Eli Zaretskii <eliz@gnu.org>
10099
10100 * makefile.w32-in (install): Use $(DIRNAME)_same-dir.tst instead
b973155e 10101 of same-dir.tst, to avoid stepping on other (parallel) Make job's toes.
e5a69fd0 10102
9a69676a
CY
101032012-03-25 Chong Yidong <cyd@gnu.org>
10104
4125cb8b
CY
10105 * custom.el (load-theme): Even if NO-ENABLE arg is t, reenable the
10106 theme if it was previously enabled before (Bug#11031).
10107
dd470960
CY
10108 * cus-theme.el (custom-theme-write-faces): Retrieve current face
10109 spec with custom-face-get-current-spec if its :shown-value is not
10110 determined yet (Bug#9337).
4125cb8b 10111 (customize-create-theme, custom-theme-revert): Doc fixes.
dd470960 10112
9a69676a
CY
10113 * button.el (button-at): Minor addition to docstring.
10114
6e7e90fa
SL
101152012-03-24 Simon Leinen <simon.leinen@gmail.com>
10116
10117 * vc/vc.el (vc-merge): Fix a prompt.
10118
f06e2758
CY
101192012-03-24 Chong Yidong <cyd@gnu.org>
10120
10121 * mwheel.el (mwheel-scroll): Call deactivate-mark at the right
10122 point (Bug#9623).
10123
6e7e90fa
SL
10124 * button.el (button-at): Minor addition to docstring.
10125
b9d0879b
SM
101262012-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
10127
10128 * newcomment.el (comment-choose-indent): No space after BOL.
10129
e71cebb3
SS
101302012-03-22 Sam Steingold <sds@gnu.org>
10131
10132 * window.el (switch-to-prev-buffer): Revert last patch because the
10133 bug turned out to be an advertised feature (Elisp manual 28.14).
10134
335aff35
GM
101352012-03-22 Glenn Morris <rgm@gnu.org>
10136
10137 * vc/vc-bzr.el (vc-bzr-status-switches): New option. (Bug#6724)
10138 (vc-bzr-command): If running "status", pass vc-bzr-status-switches.
10139
c676576a
LMI
101402012-03-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
10141
10142 * net/network-stream.el (network-stream-open-starttls): Make error
10143 message under Windows be less misleading.
10144
126f3d39
LW
101452012-03-22 Liang Wang <netcasper@gmail.com> (tiny change)
10146
10147 * progmodes/etags.el (etags-list-tags): Only use tags which goto-func
10148 understands (bug#9942).
10149
64fee311
CY
101502012-03-22 Chong Yidong <cyd@gnu.org>
10151
10152 * simple.el (end-of-visible-line): Handle return value of
10153 next-single-property-change properly (Bug#9371).
10154
a640d29a
KH
101552012-03-22 Kenichi Handa <handa@m17n.org>
10156
10157 * international/quail.el (quail-insert-kbd-layout): Fix previous
10158 change. To avoid unwanted bidi reordering, use
10159 bidi-string-mark-left-to-right instead of inserting LRO and PDF.
10160
39675016
DG
101612012-03-21 Dmitry Gutov <dgutov@yandex.ru>
10162
10163 * progmodes/ruby-mode.el: Don't confuse "end:" for "end" (bug#10786).
10164 (ruby-block-end-re, ruby-delimiter, ruby-parse-partial)
10165 (ruby-beginning-of-indent): Be more careful with the difference
10166 between word-boundary and symbol boundary.
10167 (ruby-mode-syntax-table): Make : a symbol constituent.
10168
0a6934fc 101692012-03-21 Andreas Politz <politza@fh-trier.de>
1acad97c 10170
3d008e4f
SM
10171 * outline.el (outline-flag-region): Evaporate overlays (bug#10789).
10172
0a6934fc
SM
101732012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
10174
af67c9d7
SM
10175 * progmodes/etags.el (tags-completion-at-point-function):
10176 Improve last fix.
10177
1acad97c
SM
10178 * files.el (move-file-to-trash): Files aren't regexps (bug#11055).
10179
e298b5da
SS
101802012-03-21 Sam Steingold <sds@gnu.org>
10181
10182 * progmodes/etags.el (tags-completion-at-point-function):
10183 Avoid the error when point is inside the pattern.
10184
91d82a70
JY
101852012-03-21 John Yates <john@yates-sheets.org> (tiny change)
10186
10187 * progmodes/hideshow.el (hs-inside-comment-p): Fix hiding of first
10188 line (Bug#10855).
10189
69188b79
CY
101902012-03-21 Drew Adams <drew.adams@oracle.com>
10191
10192 * info.el (Info-menu): Handle string value of FORK arg (Bug#10858).
10193
99fc91fe
AK
101942012-03-21 Anmol Khirbat <anmol@khirbat.net> (tiny change)
10195
10196 * ido.el (ido-set-current-directory, ido-read-internal)
10197 (ido-choose-completion-string, ido-completion-help): Handle nil
10198 value of ido-completion-buffer (Bug#11008).
10199
087bbb4c
SS
102002012-03-21 Sam Steingold <sds@gnu.org>
10201
10202 * window.el (switch-to-prev-buffer): Do not switch to a visible
10203 window previous buffer, just like with the frame previous buffers.
10204
fb5b8aca
CY
102052012-03-21 Chong Yidong <cyd@gnu.org>
10206
10207 * faces.el (make-face, make-empty-face, copy-face):
10208 * face-remap.el (face-remap-add-relative, face-remap-set-base):
10209 Doc fixes.
10210
dc9924b8
SM
102112012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
10212
10213 * wid-edit.el (widget-complete-field): Remove (bug#11051).
10214 (widget-complete): Remove broken use of it.
10215
f0bcceb9
CY
102162012-03-20 Chong Yidong <cyd@gnu.org>
10217
dc9924b8
SM
10218 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
10219 Use string-width and truncate-string-width to handle arbitrary
f0bcceb9
CY
10220 characters.
10221
ee52ebf3
TH
102222012-03-20 Tassilo Horn <tassilo@member.fsf.org>
10223
10224 * textmodes/artist.el (artist-menu-map): Bind Rectangle menu item
10225 to draw rectangles, not squares. (Regression introduced by revno
10226 2011-03-02T03:48:01Z!cyd@stupidchicken.com)
10227
4c5779ab
CY
102282012-03-18 Chong Yidong <cyd@gnu.org>
10229
10230 * faces.el (face-spec-reset-face): Don't call display-graphic-p if
10231 it is not yet defined (for temacs).
10232
15360934
LL
102332012-03-18 Leo Liu <sdl.web@gmail.com>
10234
735135f9
PE
10235 * net/rcirc.el (rcirc-cmd-quit): Allow quitting all servers with
10236 prefix.
15360934 10237
d9a8eb66
EZ
102382012-03-17 Eli Zaretskii <eliz@gnu.org>
10239
10240 * textmodes/ispell.el (ispell-skip-tib, ispell-keep-choices-win)
10241 (ispell-choices-win-default-height, ispell-silently-savep)
10242 (ispell-dictionary-alist, ispell-encoding8-command)
10243 (ispell-check-version, ispell-aspell-find-dictionary)
10244 (ispell-valid-dictionary-list, ispell-words-keyword)
10245 (ispell-get-word, ispell-internal-change-dictionary)
10246 (ispell-region, ispell-skip-region-list)
10247 (ispell-begin-skip-region-regexp, ispell-ignore-fcc)
10248 (ispell-process-line, ispell-minor-mode, ispell-minor-check)
10249 (ispell-message-text-end, ispell-message)
10250 (ispell-buffer-local-parsing): Doc fix.
10251
f02ff80d
J
102522012-03-13 Jambunathan K <kjambunathan@gmail.com>
10253
10254 * htmlfontify.el: Add support for code block fontification for ODT
10255 export (Bug #9914).
10256 (hfy-optimisations): Define new option
10257 `body-text-only'
10258 (hfy-fontify-buffer): Honor above setting.
10259 (hfy-begin-span, hfy-end-span): New routines factored out form
10260 `hfy-fontify-buffer'.
10261 (hfy-begin-span-handler, hfy-end-span-handler): New variables
10262 that permit insertion of custom tags.
10263 (hfy-fontify-buffer): Use above handlers.
10264 (hfy-face-to-css-default): Same as the earlier `hfy-face-to-css'.
10265 (hfy-face-to-css): Re-defined to be a variable.
dc9924b8 10266 (hfy-compile-stylesheet): Modify. Allow stylesheet to be built
75f1671a 10267 over multiple runs. This is made possible by having the caller let
f02ff80d
J
10268 bind a special variable `hfy-user-sheet-assoc'.
10269 (htmlfontify-string): New defun.
10270 (hfy-compile-face-map): Make sure that the last char in the
10271 buffer is correctly fontified.
10272 (hfy-face-resolve-face): Whitespace only change.
10273
9ac7a13f
EZ
102742012-03-17 Eli Zaretskii <eliz@gnu.org>
10275
10276 * textmodes/ispell.el (ispell-get-decoded-string): Make the error
10277 message more clear.
10278
e2b5bdd7
LL
102792012-03-16 Leo Liu <sdl.web@gmail.com>
10280
10281 * emacs-lisp/copyright.el (copyright-year-ranges): Fix typo.
10282
2e492df3
AM
102832012-03-16 Alan Mackenzie <acm@muc.de>
10284
10285 Further optimise the handling of large macros.
10286
10287 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Use a
10288 limit to a call of `c-literal-limits'.
10289 (c-determine-+ve-limit): New function.
dc9924b8
SM
10290 (c-at-macro-vsemi-p): Move `c-in-literal' to the bottom of an `and'.
10291 (c-guess-basic-syntax): In macros, restrict a search limit to 2000.
2e492df3
AM
10292 In CASE 5B, restrict a search limit to 500.
10293 (c-just-after-func-arglist-p): Obviouly wrong `or' -> `and'.
10294
10295 * progmodes/cc-mode.el (c-neutralize-syntax-in-and-mark-CPP):
10296 Restrict macro bounds to +-500 from after-change's BEG END.
10297
50e94f0c
LL
102982012-03-16 Leo Liu <sdl.web@gmail.com>
10299
10300 * font-lock.el (lisp-font-lock-keywords-2): Add letrec.
10301
6f09f6ed
AH
103022012-03-16 Aaron S. Hawley <Aaron.S.Hawley@gmail.com>
10303
10304 * tar-mode.el (tar-mode): Fix saving by conditionally undoing
dc9924b8 10305 `special-mode' setting of `buffer-read-only'. (Bug#11010)
6f09f6ed 10306
c7e73d51
GM
103072012-03-16 Glenn Morris <rgm@gnu.org>
10308
da986230
GM
10309 * view.el (view-buffer, view-buffer-other-window)
10310 (view-buffer-other-frame): Doc fixes re special mode-class.
10311
0835f01e
GM
10312 * subr.el (eval-after-load): If named feature is provided not from
10313 a file, run after-load forms. (Bug#10946)
10314
c7e73d51
GM
10315 * calendar/calendar.el (calendar-insert-at-column):
10316 Handle non-unit-width characters a bit better. (Bug#10978)
10317
3f2eafd1
CY
103182012-03-15 Chong Yidong <cyd@gnu.org>
10319
10320 * emacs-lisp/ring.el (ring-extend): New function.
10321 (ring-insert+extend): Extend the ring correctly (Bug#11019).
10322
10323 * comint.el (comint-read-input-ring)
10324 (comint-add-to-input-history): Grow comint-input-ring lazily.
10325
103af3fe
SM
103262012-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
10327
663b1677
SM
10328 * progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
10329 Fix up parsing of multiline twoarg non-paired elements (bug#11014).
10330
103af3fe
SM
10331 * imenu.el: Fix multiple inheritance breakage (bug#9199).
10332 (imenu-add-to-menubar): Don't add a redundant index.
10333 (imenu-update-menubar): Handle a dynamically composed keymap.
10334
899cb7cb
KY
103352012-03-13 Katsumi Yamaoka <yamaoka@jpl.org>
10336
10337 * mail/sendmail.el (mail-encode-header):
10338 Bind rfc2047-encode-encoded-words to nil.
10339
3809f91d
GM
103402012-03-13 Glenn Morris <rgm@gnu.org>
10341
10342 * calendar/calendar.el (calendar-string-spread):
10343 Handle non-unit-width characters a bit better. (Bug#10978)
10344
9e345a01
LL
103452012-03-13 Leo Liu <sdl.web@gmail.com>
10346
10347 * vc/vc-hg.el (vc-hg-working-revision): Rework to work with both
10348 directory and file as argument (Bug#10822).
10349
4a07df36
KS
103502012-03-13 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
10351
10352 * progmodes/gdb-mi.el (gdb-invalidate-disassembly):
10353 For dynamically generated code, follow $PC.
10354 (gdb-disassembly-handler-custom): Handle no function name case.
10355
4aaa9356
TL
103562012-03-13 Tim Landscheidt <tim@tim-landscheidt.de> (tiny change)
10357
10358 * calendar/icalendar.el (icalendar-export-file, icalendar-import-file):
10359 * emulation/ws-mode.el (ws-query-replace):
10360 * sort.el (sort-regexp-fields):
10361 Fix missing trailing whitespace in interactive prompts. (Bug#11002)
10362
225979da
SM
103632012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
10364
10365 * dabbrev.el: Fix cycle completion order (bug#10963).
10366 (dabbrev--last-obarray, dabbrev--last-completion-buffer): Remove.
10367 (dabbrev-completion): Don't use an obarray; provide
10368 a cycle-sort-function.
10369
e2f1fdab
LL
103702012-03-12 Leo Liu <sdl.web@gmail.com>
10371
dc9924b8 10372 * simple.el (kill-new): Use equal-including-properties for comparison.
e2f1fdab
LL
10373 (kill-do-not-save-duplicates): Doc fix.
10374
b19490ed
SM
103752012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
10376
10377 * dabbrev.el: Fix cycle completion (bug#10963).
10378 Use lexical binding and wrap to 80 columns.
10379 (dabbrev-completion): Delay computing the list of completions.
10380
4b05d722
KH
103812012-03-12 Kenichi Handa <handa@m17n.org>
10382
10383 * international/quail.el (quail-insert-kbd-layout): Surround each
10384 row by LRO and PDF instead of inserting many LRMs. Pad the left
10385 and right of each non-spacing marks. Insert invisible space
10386 between lower and upper characters to prevent composition.
10387
dbbc2e69
SM
103882012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
10389
10390 * minibuffer.el (minibuffer-complete): Don't get confused when the
10391 function is run twice via different commands (bug#10958).
10392 (complete-with-action): Fix docstring.
10393
292112ed
CY
103942012-03-12 Chong Yidong <cyd@gnu.org>
10395
5d1ac394
CY
10396 * nxml/nxml-mode.el (nxml-mode-map): Do not bind C-RET (Bug#6776).
10397 (nxml-completion-at-point-function): New function.
10398 (nxml-mode): Use it.
10399 (nxml-bind-meta-tab-to-complete-flag): Default to t.
10400
292112ed
CY
10401 * emacs-lisp/package.el (package-unpack, package-unpack-single):
10402 Load generated autoloads file before byte compiling (Bug#10970).
10403 (package--make-autoloads-and-compile): New helper fun.
10404
4098f8f7
CS
104052012-03-12 Christopher Schmidt <christopher@ch.ristopher.com>
10406
10407 * ibuffer.el (ibuffer-redisplay): Remove another gratuitous error.
10408
8f754691
MA
104092012-03-11 Michael Albinus <michael.albinus@gmx.de>
10410
10411 * autorevert.el (auto-revert-handler): Ensure, that
10412 file-readable-p is applied only for local files or in
10413 auto-revert-tail-mode.
10414
e29ab36b
AS
104152012-03-11 Andreas Schwab <schwab@linux-m68k.org>
10416
dbbc2e69
SM
10417 * server.el (server-eval-at): Handle non-tcp connections.
10418 Decode result string.
ad0bf5b6 10419
e29ab36b
AS
10420 * server.el (server-msg-size): New constant.
10421 (server-reply-print): New function.
10422 (server-eval-and-print): Use it.
10423 (server-eval-at): Use server-quote-arg and server-unquote-arg.
10424 Handle -print-nonl.
10425
de5939ba
CS
104262012-03-11 Christopher Schmidt <christopher@ch.ristopher.com>
10427
10428 * ibuffer.el (ibuffer-redisplay): Remove gratuitous error
10429 (Bug#10987).
10430
0c93eabf
CY
104312012-03-11 Chong Yidong <cyd@gnu.org>
10432
397a688f
CY
10433 * simple.el (goto-line): Doc fix (Bug#9938).
10434
2cc775f9
CY
10435 * subr.el (save-window-excursion): Doc fix (Bug#9979).
10436
0c93eabf
CY
10437 * dabbrev.el (dabbrev--find-expansion): Update progress reporter
10438 when finished (Bug#10963).
10439
c491fa41
MR
104402012-03-11 Martin Rudalics <rudalics@gmx.at>
10441
10442 * window.el (split-window-below): Fix bug in case where
10443 split-window-keep-point is nil (Bug#10971).
10444
300e8fa5
JL
104452012-03-11 Juri Linkov <juri@jurta.org>
10446
10447 * replace.el (replace-highlight): Set isearch-word to nil
10448 unconditionally. (Bug#10887)
10449
dbf6c5a1
EZ
104502012-03-10 Eli Zaretskii <eliz@gnu.org>
10451
10452 * net/mairix.el (mairix-replace-invalid-chars): Rename from
10453 mairix-replace-illegal-chars; all callers changed. Don't remove
dc9924b8 10454 ^, ~, and = characters: they are meaningful in mairix search specs.
dbf6c5a1
EZ
10455 (mairix-widget-create-query): Add usage information about mairix
10456 search forms: negating words, searching for substrings, etc.
10457
b9e501de
JP
104582012-03-10 Jae-hyeon Park <jae-hyeon.park@desy.de> (tiny change)
10459
10460 * international/fontset.el (font-encoding-alist): Add an entry for
10461 ksx1001 (Bug#5667).
10462
92795c91
RS
104632012-03-10 Richard Stallman <rms@gnu.org>
10464
1694e6c1
RS
10465 * mail/sendmail.el (mail-encode-header):
10466 Set rfc2047-encode-encoded-words.
10467
607e8555
RS
10468 * mail/mail-utils.el (mail-quote-printable): Quote multibyte chars.
10469
de3bc99a
RS
10470 * mail/rmail.el (rmail-buffers-swapped-p): Don't assume dead
10471 view buffer means not swapped.
10472 (rmail-view-buffer-kill-buffer-hook): Give buf name in error msg.
10473 (rmail-write-region-annotate): Error if real text has disappeared.
10474
92795c91
RS
10475 * epa-mail.el (epa-mail-encrypt): Bind inhibit-read-only.
10476
699bd04e
CY
104772012-03-10 Chong Yidong <cyd@gnu.org>
10478
10479 * emulation/cua-rect.el (cua--init-rectangles):
dbbc2e69
SM
10480 * emulation/cua-base.el (cua--init-keymaps):
10481 Add delete-forward-char to remappings (Bug#9666).
699bd04e 10482
570a1714
MR
104832012-03-10 Martin Rudalics <rudalics@gmx.at>
10484
dbbc2e69
SM
10485 * speedbar.el (speedbar-unhighlight-one-tag-line):
10486 Avoid unhighlighting due to frame switching (Bug#10275).
570a1714 10487
82dcf4e4
CY
104882012-03-10 Chong Yidong <cyd@gnu.org>
10489
7a2c7ca7
CY
10490 * minibuffer.el (completion-in-region, completion-help-at-point):
10491 Give the completion field overlay a high priority (Bug#6830).
10492
82dcf4e4
CY
10493 * dired.el (dired-goto-file): Recognize absolute file name
10494 listings (Bug#7126).
10495 (dired-goto-file-1): New helper function.
10496 (dired-toggle-read-only): Inhibit warnings.
10497
052e28ac
MA
104982012-03-09 Michael Albinus <michael.albinus@gmx.de>
10499
75f1671a 10500 * net/dbus.el (dbus-property-handler): Return empty array if
052e28ac
MA
10501 there are no properties.
10502
95d5e396
LL
105032012-03-09 Leo Liu <sdl.web@gmail.com>
10504
10505 * savehist.el (savehist-printable): Stricter check for string
10506 value (Bug#10937).
10507
3f018d6d
EZ
105082012-03-09 Eli Zaretskii <eliz@gnu.org>
10509
dbbc2e69
SM
10510 * mail/smtpmail.el (smtpmail-send-it):
10511 Bind coding-system-for-write to *-unix, so that FCC files are kept in
3f018d6d
EZ
10512 valid mbox format.
10513
f7fd3d79
GM
105142012-03-09 Glenn Morris <rgm@gnu.org>
10515
10516 * files.el (dir-locals-find-file):
10517 Don't check result is regular, readable.
10518 (dir-locals-read-from-file): Demote errors.
10519
6ff6e72f
EZ
105202012-03-08 Eli Zaretskii <eliz@gnu.org>
10521
dbbc2e69
SM
10522 * international/quail.el (quail-insert-kbd-layout):
10523 Insert invisible LRM characters before each character in a keyboard
6ff6e72f
EZ
10524 layout cell, to prevent their reordering by bidi display engine.
10525 For details, see the discussion in
10526 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00085.html.
10527
9cec7834
AM
105282012-03-08 Alan Mackenzie <acm@muc.de>
10529
10530 * progmodes/cc-cmds.el (c-mark-function): Make it leave a mark at
10531 the starting position; make it extend the marked region when
10532 invoked repeatedly - all under appropriate circumstances.
10533 Fixes bugs #5525, #10906.
10534
9a40b8d4
GM
105352012-03-08 Glenn Morris <rgm@gnu.org>
10536
10537 * files.el (locate-dominating-file, dir-locals-find-file):
10538 Undo 2012-03-06 change.
10539
7a08ed35
EZ
105402012-03-07 Eli Zaretskii <eliz@gnu.org>
10541
dbbc2e69
SM
10542 * international/quail.el (quail-help):
10543 Force bidi-paragraph-direction be left-to-right. See discussion in
7a08ed35
EZ
10544 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00062.html
10545 for the reason.
10546
5aca4f71 105472012-03-07 Michael Albinus <michael.albinus@gmx.de>
6612a284
MA
10548
10549 Avoid superfluous registering of signals. (Bug#10807)
10550
10551 * notifications.el (notifications-on-action-object)
10552 (notifications-on-close-object): New defvars.
10553 (notifications-on-action-signal, notifications-on-closed-signal):
10554 Unregister the signal if not needed any longer.
10555 (notifications-notify): Register `notifications-action-signal' or
10556 `notifications-closed-signal', if :on-action or :on-close has been
10557 passed as argument.
10558
78e8b10a
CY
105592012-03-07 Chong Yidong <cyd@gnu.org>
10560
10561 * cus-start.el: Avoid x-select-enable-clipboard-manager warning on
10562 non-X platforms.
10563
69481eb8
GM
105642012-03-06 Glenn Morris <rgm@gnu.org>
10565
10566 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
10567 (x-disown-selection-internal, x-get-selection-internal):
10568 Doc fix (add arglist signatures). (Bug#10783)
10569
133b8e11
KS
105702012-03-06 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
10571
10572 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
10573 Handle breakpoints with no "type".
10574
99a83064
GM
105752012-03-06 Glenn Morris <rgm@gnu.org>
10576
10577 * files.el (locate-dominating-file): Add optional predicate argument.
10578 (dir-locals-find-file): Make use of above change.
10579
17798e78
TTN
105802012-03-06 Thien-Thi Nguyen <ttn@gnuvola.org>
10581
10582 * info.el (Info-insert-dir): Also try "dir.gz".
10583
eb182446
GM
105842012-03-06 Glenn Morris <rgm@gnu.org>
10585
8f2114ee
GM
10586 * files.el (dir-locals-find-file):
10587 Ignore non-readable or non-regular files. (Bug#10928)
10588
eb182446
GM
10589 * files.el (locate-dominating-file): Doc fix.
10590
24679323
AS
105912012-03-06 Adam Spiers <emacs@adamspiers.org> (tiny change)
10592
10593 * calendar/calendar.el (calendar-set-mode-line):
10594 `getenv' returns a string. (Bug#10951)
10595
01d972a9
LL
105962012-03-05 Leo Liu <sdl.web@gmail.com>
10597
109aa8a9
LL
10598 * simple.el (backward-delete-char-untabify): Constrain point to
10599 field (Bug#10939).
10600
01d972a9
LL
10601 * eshell/em-cmpl.el (eshell-cmpl-initialize): Fix shift-tab key.
10602
10607bea
CY
106032012-03-05 Chong Yidong <cyd@gnu.org>
10604
10605 * simple.el (count-words): If called from Lisp, return the word
10606 count, for symmetry with `count-lines'. Arglist changed.
10607 (count-words--message): Args changed. Consolidate counting code
10608 from count-words and count-words-region.
10609 (count-words-region): Caller changed.
10610 (count-lines-region): Make it an obsolete alias.
10611
5dd11cfe
TH
106122012-03-04 Tassilo Horn <tassilo@member.fsf.org>
10613
10614 * saveplace.el (save-place-to-alist)
10615 (save-place-ignore-files-regexp): Allow value nil to disable this
10616 feature.
10617
c349f4e6
CY
106182012-03-04 Chong Yidong <cyd@gnu.org>
10619
10620 * faces.el (face-spec-reset-face): For the default face, reset the
10621 attributes to default values (Bug#10748).
10622
e627be4c
LMI
106232012-03-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
10624
10625 * mail/emacsbug.el (report-emacs-bug-hook): Fix up thinko in
10626 previous patch: Check `message-send-mail-function', and not the
10627 default function (bug#10897).
10628
ebeabff4
MA
106292012-03-04 Michael Albinus <michael.albinus@gmx.de>
10630
a41a6cf4
MA
10631 * notifications.el (notifications-on-action-signal)
10632 (notifications-on-closed-signal): Check for unique service name of
10633 incoming event. Fix error in removing entry.
ebeabff4 10634 (top): Register for signals with wildcard service name.
a41a6cf4 10635 (notifications-notify): Use daemon unique service name for map entries.
ebeabff4 10636
c1ca42b4
CY
106372012-03-04 Chong Yidong <cyd@gnu.org>
10638
dc9924b8 10639 * cus-start.el: Make x-select-enable-clipboard-manager customizable.
c1ca42b4 10640
ea16568d
GM
106412012-03-04 Glenn Morris <rgm@gnu.org>
10642
10643 * abbrev.el (copy-abbrev-table, abbrev-table-p)
10644 (abbrev-minor-mode-table-alist, define-abbrev, abbrev-insert)
10645 (expand-abbrev, define-abbrev-table): Doc fixes.
10646
fbae4637
LMI
106472012-03-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
10648
10649 * mail/emacsbug.el (report-emacs-bug-hook): Look at the value of
10650 `message-default-send-mail-function' and not `send-mail-function'
10651 when doing the prompting for `sendmail-query-once' before sending
10652 in Message buffers (bug#10897).
10653
a1e7225c
LMI
10654 * net/tls.el (open-tls-stream): Don't set the dont-query-on-exit flag.
10655 This is inconsistent with all the other stream functions, which leave
10656 the setting up to the higher levels (if so wanted) (bug#10931).
10657
56d093a9
AM
106582012-03-02 Alan Mackenzie <acm@muc.de>
10659
10660 Depessimize the handling of very large macros.
10661
10662 * progmodes/cc-engine.el (c-macro-cache, c-macro-cache-start-pos):
10663 (c-macro-cache-syntactic): New variables to implement a one
10664 element macro cache.
10665 (c-invalidate-macro-cache): New function.
10666 (c-beginning-of-macro, c-end-of-macro, c-syntactic-end-of-macro):
10667 Adapt to use the new cache.
10668 (c-state-safe-place): Use better the cache of safe positions.
10669 (c-state-semi-nonlit-pos-cache)
10670 (c-state-semi-nonlit-pos-cache-limit):
10671 New variables for...
10672 (c-state-semi-safe-place): New function. Here, in a macro is "safe".
10673 (c-invalidate-state-cache-1): New stuff for c-state-semi-safe-place.
dbbc2e69
SM
10674 (c-in-literal, c-literal-limits, c-determine-limit-get-base):
10675 Use c-state-semi-safe-place.
56d093a9 10676
dbbc2e69
SM
10677 * progmodes/cc-langs.el (c-get-state-before-change-functions):
10678 Add c-invalidate-macro-cache to the C, C++, Obj entries.
56d093a9 10679
817e5c3d
MA
106802012-03-02 Michael Albinus <michael.albinus@gmx.de>
10681
dbbc2e69
SM
10682 * jka-compr.el (jka-compr-call-process):
10683 Apply `file-accessible-directory-p' only when the default directory is
817e5c3d
MA
10684 not remote.
10685
a032a702
MA
106862012-03-01 Michael Albinus <michael.albinus@gmx.de>
10687
10688 * files.el (file-equal-p): Fix docstring. Avoid unnecessary
10689 access of FILE2, if FILE1 does not exist.
10690
99a54f21
MA
10691 * net/tramp-sh.el (tramp-remote-process-environment): Add "PAGER=\"\"".
10692 Reported by Robert Lupton the Good <rhl@astro.princeton.edu>.
10693
10694 * vc/vc-git.el (vc-git--call): Enable `inhibit-null-byte-detection'.
10695 Add "PAGER=" to `process-environment'.
10696
f6561e1f
MM
106972012-03-01 Michael R. Mauger <mmaug@yahoo.com>
10698
10699 * progmodes/sql.el: Bug fix
10700 (sql-get-login-ext): Save login values in globals.
10701 (sql-get-login): Use new version of `sql-get-login-ext'.
10702 (sql-interactive-mode): Set global `sql-connection' to nil.
10703 (sql-connect): Set global values for connection.
10704 (sql-product-interactive): Save global values as buffer local.
10705
2d44d9cc
LL
107062012-02-29 Leo Liu <sdl.web@gmail.com>
10707
10708 * abbrev.el (define-abbrevs): Reset sys to nil.
10709
96b49301 107102012-02-28 Thierry Volpiatto <thierry.volpiatto@gmail.com>
10711
bf7f9bc5
JB
10712 * files.el (file-equal-p): Rename from `files-equal-p'.
10713 Return nil when one or both files don't exist.
96b49301 10714 (file-subdir-of-p): Now only top directory must exists,
10715 return nil if it doesn't.
bf7f9bc5
JB
10716 (copy-directory): No need to test with `file-subdir-of-p' after
10717 creating dir.
10718 * net/tramp.el (tramp-file-name-for-operation): Rename `files-equal-p'
10719 to `file-equal-p'.
96b49301 10720
44e97401
GM
107212012-02-28 Glenn Morris <rgm@gnu.org>
10722
10723 * shell.el (shell-mode):
10724 * progmodes/vhdl-mode.el (wildcard-to-regexp, file-expand-wildcards):
10725 * play/landmark.el (landmark-font-lock-face-O):
10726 * play/handwrite.el (handwrite):
10727 * play/gomoku.el (gomoku-O):
10728 * net/browse-url.el (browse-url-browser-display):
10729 * international/mule.el (define-charset):
10730 * htmlfontify.el (hfy-etags-cmd, hfy-face-attr-for-class):
10731 * filesets.el (filesets-find-file-delay):
10732 * eshell/em-xtra.el (eshell-xtra):
10733 * eshell/em-unix.el (eshell-grep):
10734 * emulation/viper.el (viper-mode):
10735 * emacs-lisp/regexp-opt.el (regexp-opt-group):
10736 * emacs-lisp/easymenu.el (easy-menu-define):
10737 * calendar/timeclock.el (timeclock-use-display-time):
10738 * bs.el (bs-mode):
10739 * bookmark.el (bookmark-save-flag):
10740 Doc fix (standardize possessive apostrophe usage).
10741
c98c6276
CY
107422012-02-27 Chong Yidong <cyd@gnu.org>
10743
bf7f9bc5
JB
10744 * emulation/viper-cmd.el (viper-intercept-ESC-key):
10745 Fix key-binding lookup for ESC key (Bug#9146).
ecf5f74e 10746
c98c6276
CY
10747 * font-lock.el (font-lock-specified-p): Rename from
10748 font-lock-spec-present. Callers changed.
10749
9c62cd04 107502012-02-27 Daniel Hackney <dan@haxney.org>
8ac9e529 10751
bf7f9bc5
JB
10752 * emacs-lisp/package.el (package-compute-transaction):
10753 Handle holding a package version to t in package-load-list.
8ac9e529 10754
530739c9
MA
107552012-02-26 Michael Albinus <michael.albinus@gmx.de>
10756
10757 * net/tramp.el (tramp-inodes, tramp-devices): Initialize with 0.
10758 (tramp-get-inode, tramp-get-device): Use cached values.
10759
487915d7
AM
107602012-02-26 Alan Mackenzie <acm@muc.de>
10761
10762 Check there is a font-lock specification before doing initial
10763 fontification.
10764
10765 * font-core.el (font-lock-mode): Move the conditional from
10766 :after-hook to font-lock-initial-fontify.
10767 (font-lock-default-function): Move the check for a specification
10768 to font-lock-spec-present.
10769
dc9924b8 10770 * font-lock.el (font-lock-initial-fontify): Call ...
487915d7
AM
10771 (font-lock-spec-present): New function.
10772
4fd96557
JB
107732012-02-26 Jim Blandy <jimb@red-bean.com>
10774
10775 * progmodes/gdb-mi.el (gdb-mi-quote): New function.
10776 (gdb-send): Apply it to the operand of the '-interpreter-exec
10777 console' command, so that we can pass arguments with (say) quotes
10778 in them. Store exact string sent in gdb-debug-log (Bug#10765).
10779
9a4888c0
CY
107802012-02-26 Chong Yidong <cyd@gnu.org>
10781
07498861
CY
10782 * help-fns.el (describe-function-1): Clarify description of
10783 remapping (Bug#10844).
10784
9a4888c0
CY
10785 * files.el (files-equal-p): Doc fix.
10786 (file-subdir-of-p): Doc fix. Convert loop macro to plain Lisp,
10787 and quit the loop once a mismatch is found.
10788
ea8fb88d
JB
107892012-02-25 Juanma Barranquero <lekktu@gmail.com>
10790
10791 * bs.el (bs--show-with-configuration): Don't throw an error
10792 if the window cannot be split; otherwise, subsequent calls to
10793 bs-show fail, restoring a stale window config. (Bug#10882)
10794
525795c1
JD
107952012-02-25 Jan Djärv <jan.h.d@swipnet.se>
10796
10797 * term/ns-win.el (global-map): Bind ns-drag-file to
10798 ns-find-file (Bug#5855, Bug#10050).
10799
f008086f
AS
108002012-02-25 Andreas Schwab <schwab@linux-m68k.org>
10801
10802 * calendar/parse-time.el (parse-time-string): Allow extractor to
10803 return nil.
10804
a3fcfa99
MA
108052012-02-25 Michael Albinus <michael.albinus@gmx.de>
10806
91027d08
JB
10807 * net/tramp.el (tramp-file-name-for-operation):
10808 Add `files-equal-p' and `file-subdir-of-p'.
a3fcfa99
MA
10809
10810 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
91027d08
JB
10811 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
10812 Add COPY-CONTENTS argument.
a3fcfa99 10813
67b0de11
CY
108142012-02-25 Chong Yidong <cyd@gnu.org>
10815
10816 Add custom groups for VC backends, for consistency with vc-bzr.
10817
10818 * vc/vc-arch.el (vc-arch):
10819 * vc/vc-cvs.el (vc-cvs):
10820 * vc/vc-git.el (vc-git):
10821 * vc/vc-hg.el (vc-hg):
10822 * vc/vc-mtn.el (vc-mtn):
10823 * vc/vc-rcs.el (vc-rcs):
10824 * vc/vc-sccs.el (vc-sccs):
10825 * vc/vc-svn.el (vc-svn): New customization group (Bug#10871).
10826 All relevant defcustoms reassigned.
10827
3c9dfce6
CY
108282012-02-25 Chong Yidong <cyd@gnu.org>
10829
1339bf43
CY
10830 * newcomment.el (comment-styles): Add autoload (Bug#10868).
10831
3c9dfce6
CY
10832 * term/x-win.el (x-initialize-window-system): Reduce default for
10833 x-selection-timeout to 5 seconds (Bug#8869).
10834
25b2e303 108352012-02-24 Thierry Volpiatto <thierry.volpiatto@gmail.com>
10836
ec70a47d
GM
10837 * files.el (files-equal-p, file-subdir-of-p): New functions.
10838 (copy-directory): Error when trying to copy a directory on itself.
25b2e303 10839 Add missing copy-contents arg to tramp handler.
ec70a47d
GM
10840 * dired-aux.el (dired-copy-file-recursive): Same.
10841 (dired-create-files): Modify destination when source is equal to
10842 dest when copying files.
53a46cd0 10843 Return also when dest is a subdir of source. (Bug#10489)
25b2e303 10844
914260cd
MA
108452012-02-24 Michael Albinus <michael.albinus@gmx.de>
10846
10847 * net/ange-ftp.el (ange-ftp-parse-netrc): Suppress comment lines.
10848 (Bug#10874)
10849
2cb228f7
AM
108502012-02-23 Alan Mackenzie <acm@muc.de>
10851
10852 * emacs-lisp/easy-mmode.el (define-minor-mode): Add extra
10853 parameter "after-hook:" to allow the expansion to run code after
10854 the execution of the mode hooks.
10855
10856 * font-lock.el (font-lock-initial-fontify): New function extracted
91027d08 10857 from font-lock-mode-internal.
2cb228f7 10858
91027d08 10859 * font-core.el (font-lock-mode): Call font-lock-initial-fontify in
2cb228f7
AM
10860 :after-hook.
10861
8f0fde21
SM
108622012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
10863
3e88618b
SM
10864 * minibuffer.el: Make sure cycling is reset upon edit with icomplete.el.
10865 (completion--cache-all-sorted-completions): New function.
10866 (completion-all-sorted-completions): Use it.
10867 (completion--do-completion, minibuffer-force-complete):
10868 Use it to re-instate the flush hook.
10869
8f0fde21
SM
10870 * icomplete.el (icomplete-completions): Replace last fix with a better
10871 one (bug#10850).
10872
8e911f6f
DG
108732012-02-23 Dmitry Gutov <dgutov@yandex.ru>
10874
10875 * emacs-lisp/lisp.el (beginning-of-defun-raw): Don't call end-of-defun
10876 when it might call us back infinitely (bug#10797).
10877
49fe4321
GM
108782012-02-23 Glenn Morris <rgm@gnu.org>
10879
10880 * minibuffer.el (completion-category-overrides): Doc fix.
10881
b291b572
SM
108822012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
10883
10884 * minibuffer.el (completion-table-with-context): Fix inf-loop.
10885 Reported by Aaron S. Hawley <aaron.s.hawley@gmail.com>.
10886
31a9ef2e
GM
108872012-02-23 Glenn Morris <rgm@gnu.org>
10888
5e6e6794 10889 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case)
31a9ef2e
GM
10890 (authors-obsolete-files-regexps, authors-ignored-files)
10891 (authors-ambiguous-files, authors-renamed-files-alist):
10892 Add more entries.
10893
0bd1e074
JL
108942012-02-23 Juri Linkov <juri@jurta.org>
10895
10896 * isearch.el (isearch-occur): Sync interactive spec with occur's
10897 new feature in `occur-read-primary-args'. Doc fix. (Bug#10705)
10898
b617673c
JL
10899 * replace.el (occur-menu-map): Add menu item for `occur-edit-mode'.
10900
19e9789e
JL
109012012-02-22 Juri Linkov <juri@jurta.org>
10902
10903 * international/mule-cmds.el (read-char-by-name): Use \` and \'.
10904 (ucs-insert): Doc fix. Check for hex digits in the string.
10905 Don't display `nil' in the error message. (Bug#10857)
10906
f41ce09d
AM
109072012-02-22 Alan Mackenzie <acm@muc.de>
10908
7a71b18d 10909 * progmodes/cc-mode.el: Revert change #2012-02-06T22:08:41Z!larsi@gnus.org from 2012-02-06.
f41ce09d 10910
ac2eceee
GM
109112012-02-22 Glenn Morris <rgm@gnu.org>
10912
10913 * ffap.el (ffap-c-path):
10914 * man.el (Man-header-file-path): Handle multiarch. (Bug#10702)
10915
abd1f678
CY
109162012-02-22 Chong Yidong <cyd@gnu.org>
10917
10918 * custom.el (load-theme): Doc fix.
10919
f25aef2e
GM
109202012-02-22 Glenn Morris <rgm@gnu.org>
10921
10922 * dired-x.el (dired-guess-shell-alist-default):
10923 Remove escape sequences from nroff output. (Bug#172)
10924
5f8dc2ca
GM
109252012-02-21 Glenn Morris <rgm@gnu.org>
10926
6ff86ec4
GM
10927 * vc/emerge.el (emerge-defvar-local):
10928 Set `permanent-local' property rather than unused `preserved'.
10929
be3223a3 10930 * textmodes/picture.el (picture-delete-char): New alias.
5f8dc2ca
GM
10931 (picture-mode-map): Use it. (Bug#10860)
10932 (picture-mode): Doc fix.
10933
3fe58f4f
JB
109342012-02-21 Juanma Barranquero <lekktu@gmail.com>
10935
10936 * newcomment.el (uncomment-region-default): Remove unused binding.
10937
f9a998c3
GM
109382012-02-21 Glenn Morris <rgm@gnu.org>
10939
10940 * textmodes/picture.el (picture-motion, picture-motion-reverse)
10941 (picture-self-insert, picture-tab-chars): Doc fix.
10942 (picture-mode-map): Fix C-a, C-e.
10943
c6029348
GM
109442012-02-20 Glenn Morris <rgm@gnu.org>
10945
10946 * emacs-lisp/authors.el (authors-aliases): Add another entry.
10947
ab1ce9d7
LL
109482012-02-20 Leo Liu <sdl.web@gmail.com>
10949
10950 * icomplete.el (icomplete-completions): Check FROM arg before
10951 passing to substring (Bug#10850).
10952
0fd40f89
CY
109532012-02-19 Chong Yidong <cyd@gnu.org>
10954
10955 * comint.el: Require ansi-color.
10956 (comint-output-filter-functions): Add ansi-color-process-output.
10957
10958 * ansi-color.el: Don't set comint-output-filter-functions; it is
10959 now in the initial value defined in comint.el.
10960 (ansi-color-apply-face-function): New variable.
10961 (ansi-color-apply-on-region): Use it.
10962 (ansi-color-apply-overlay-face): New function.
10963
10964 * shell.el (shell): No need to require ansi-color.
10965 (shell-mode): Use ansi-color-apply-face-function to highlight
10966 color escapes using font-lock-face property (Bug#10835).
10967
20af2394
CY
109682012-02-19 Chong Yidong <cyd@gnu.org>
10969
10970 * vc/ediff-init.el (ediff-strip-mode-line-format): Handle non-list
10971 mode-line formats (Bug#10839).
10972
e23a3fbe
GM
109732012-02-18 Glenn Morris <rgm@gnu.org>
10974
b474519e
GM
10975 * mail/rmail.el (rmail-dont-reply-to-names): Mark as obsolete.
10976
10977 * mail/undigest.el (unforward-rmail-message): Doc fix.
10978
e23a3fbe
GM
10979 * saveplace.el (save-place-ignore-files-regexp): Add :version.
10980
57939ff4
EZ
109812012-02-18 Eli Zaretskii <eliz@gnu.org>
10982
10983 * international/characters.el (script-list): Sync with the latest
10984 Unicode Character Database.
10985
0c23686e
AS
109862012-02-18 Andreas Schwab <schwab@linux-m68k.org>
10987
10988 * international/titdic-cnv.el: Remove duplicate coding tag.
10989 * language/cham.el: Likewise.
10990 * language/tai-viet.el: Likewise.
10991
6818b449
GM
109922012-02-18 Glenn Morris <rgm@gnu.org>
10993
10994 * calendar/cal-menu.el (cal-menu-diary-menu, cal-menu-goto-menu):
10995 * calendar/calendar.el (diary-file, diary-bahai-entry-symbol)
10996 (calendar-bahai-all-holidays-flag, calendar-other-dates):
10997 * calendar/diary-lib.el (diary-abbreviated-year-flag):
10998 * calendar/holidays.el (holiday-bahai-holidays)
10999 (calendar-holidays, list-holidays):
11000 Use utf-8 Bahá'í in doc-strings, menus, etc.
11001
0311a3fc
TH
110022012-02-17 Tassilo Horn <tassilo@member.fsf.org>
11003
11004 * saveplace.el (save-place-ignore-files-regexp): New variable
11005 allowing for excluding files from saving their location of point.
11006 The default value matches the temporary commit message editing
11007 files from Git, SVN, Bazaar, and Mercurial.
11008 (save-place-to-alist): Use it.
11009
d209e2fb 110102012-02-17 Lawrence Mitchell <wence@gmx.li>
f1a71c6e 11011 Stefan Monnier <monnier@iro.umontreal.ca>
eb864a71
LM
11012
11013 * newcomment.el (uncomment-region-default): Don't leave extra space
11014 when an arg is provided (bug#8150).
11015
ee0ce425
TZ
110162012-02-17 Teodor Zlatanov <tzz@lifelogs.com>
11017
eb864a71 11018 * net/gnutls.el (gnutls-trustfiles): Fix Cygwin bundle location.
ee0ce425 11019
95ddf442
GM
110202012-02-17 Glenn Morris <rgm@gnu.org>
11021
11022 * net/socks.el: Require network-stream. (Bug#10599)
11023
48dd1e39 110242012-02-17 Kenichi Handa <handa@m17n.org>
c406be43
KH
11025
11026 * international/charprop.el:
11027 * international/uni-name.el:
11028 * international/uni-old-name.el:
11029 * international/uni-comment.el: Regenerate.
11030
d68cd087
GM
110312012-02-16 Glenn Morris <rgm@gnu.org>
11032
11033 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits):
11034 Interactively in calendar buffer, give an error if not on a date.
11035
13932042
GM
110362012-02-15 Glenn Morris <rgm@gnu.org>
11037
11038 * shell.el (shell-delimiter-argument-list):
11039 Revert 2011-02-17 change. (Bug#8027)
11040
c3a70e2b
CY
110412012-02-15 Chong Yidong <cyd@gnu.org>
11042
60236b0d
CY
11043 * minibuffer.el (completion-at-point-functions): Doc fix.
11044
c3a70e2b
CY
11045 * custom.el (defcustom): Doc fix; note use of defvar.
11046
9f26dc24
GM
110472012-02-15 Glenn Morris <rgm@gnu.org>
11048
11049 * mail/smtpmail.el (smtpmail-smtp-user, smtpmail-stream-type):
11050 Doc fixes.
11051
6546b134
GM
110522012-02-14 Glenn Morris <rgm@gnu.org>
11053
11054 * mail/smtpmail.el (smtpmail-query-smtp-server): Give it a doc.
11055
d29b2b4c
LI
110562012-02-14 Lars Ingebrigtsen <larsi@gnus.org>
11057
11058 * mail/smtpmail.el (smtpmail-query-smtp-server): Fix typo in the
11059 way the ports list is computed.
835bdcba
LI
11060 (smtpmail-query-smtp-server): Prompt the user for a port number if
11061 we can't connect to any of the standard ports (bug#10810).
d29b2b4c 11062
08dcdbc9
TZ
110632012-02-14 Teodor Zlatanov <tzz@lifelogs.com>
11064
11065 * net/gnutls.el (gnutls-trustfiles): Add Cygwin location.
11066
2605051a
GM
110672012-02-13 Glenn Morris <rgm@gnu.org>
11068
11069 * minibuffer.el (read-file-name): Doc fix. (Bug#10798)
11070
7ee99f32
TZ
110712012-02-13 Teodor Zlatanov <tzz@lifelogs.com>
11072
11073 * net/gnutls.el (gnutls-trustfiles): New variable.
11074 (gnutls-negotiate): Use it.
11075
5f0af64f
LI
110762012-02-13 Lars Ingebrigtsen <larsi@gnus.org>
11077
11078 * simple.el (mail-user-agent): Mention that `gnus-user-agent' only
11079 does its stuff if Gnus is running.
11080
c14fcc95
AM
110812012-02-13 Alan Mackenzie <acm@muc.de>
11082
11083 Fix a loop in c-set-fl-decl-start.
11084
7a71b18d 11085 * progmodes/cc-engine.el (c-set-fl-decl-start): Add a check that
c14fcc95
AM
11086 c-backward-syntactic-ws actually moves backwards.
11087
142b4d90
LL
110882012-02-13 Leo Liu <sdl.web@gmail.com>
11089
11090 * net/rcirc.el (rcirc-markup-attributes): Move point to the
11091 beginning so that all \C-o chars are removed.
11092
fa9958a6
TZ
110932012-02-12 Teodor Zlatanov <tzz@lifelogs.com>
11094
dc9924b8 11095 * net/gnutls.el (gnutls-algorithm-priority): Add missing :group tag.
fa9958a6 11096
0bc5886a
AM
110972012-02-12 Alan Mackenzie <acm@muc.de>
11098
11099 Fix infinite loop with long macros.
4d6769e1 11100 * progmodes/cc-engine.el (c-state-safe-place): Handle macros properly.
0bc5886a 11101
d4bd55e7
CY
111022012-02-12 Chong Yidong <cyd@gnu.org>
11103
11104 * window.el (display-buffer): Doc fix (Bug#10785).
11105
66f3fe22
GM
111062012-02-12 Glenn Morris <rgm@gnu.org>
11107
bd7da63e
GM
11108 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
11109 (x-disown-selection-internal, x-get-selection-internal):
11110 Sync docs with the xselect.c versions.
11111
66f3fe22
GM
11112 * allout-widgets.el: Add missing license notice.
11113
3e0d2fa7
GM
111142012-02-11 Glenn Morris <rgm@gnu.org>
11115
cfecdf09
GM
11116 * select.el (x-get-selection-internal, x-own-selection-internal)
11117 (x-disown-selection-internal):
11118 * x-dnd.el (x-get-selection-internal): Update declarations.
11119
6d216d7f
GM
11120 * vc/log-view.el (vc-diff-internal): Remove unneeded declaration.
11121
2bed3f04
GM
11122 * window.el (window-sides-slots):
11123 * tool-bar.el (tool-bar-position):
11124 * term/xterm.el (xterm-extra-capabilities):
11125 * ses.el (ses-self-reference-early-detection):
11126 * progmodes/verilog-mode.el (verilog-auto-declare-nettype)
11127 (verilog-auto-wire-type)
11128 (verilog-auto-delete-trailing-whitespace)
11129 (verilog-auto-reset-blocking-in-non, verilog-auto-inst-sort)
11130 (verilog-auto-tieoff-declaration):
11131 * progmodes/sql.el (sql-login-hook, sql-ansi-statement-starters)
11132 (sql-oracle-statement-starters, sql-oracle-scan-on):
11133 * progmodes/prolog.el (prolog-align-comments-flag)
11134 (prolog-indent-mline-comments-flag, prolog-object-end-to-0-flag)
11135 (prolog-left-indent-regexp, prolog-paren-indent-p)
11136 (prolog-paren-indent, prolog-parse-mode, prolog-keywords)
11137 (prolog-types, prolog-mode-specificators)
11138 (prolog-determinism-specificators, prolog-directives)
11139 (prolog-electric-newline-flag, prolog-hungry-delete-key-flag)
11140 (prolog-electric-dot-flag)
11141 (prolog-electric-dot-full-predicate-template)
11142 (prolog-electric-underscore-flag, prolog-electric-tab-flag)
11143 (prolog-electric-if-then-else-flag, prolog-electric-colon-flag)
11144 (prolog-electric-dash-flag, prolog-old-sicstus-keys-flag)
11145 (prolog-program-switches, prolog-prompt-regexp)
11146 (prolog-debug-on-string, prolog-debug-off-string)
11147 (prolog-trace-on-string, prolog-trace-off-string)
11148 (prolog-zip-on-string, prolog-zip-off-string)
11149 (prolog-use-standard-consult-compile-method-flag)
11150 (prolog-use-prolog-tokenizer-flag, prolog-imenu-flag)
11151 (prolog-imenu-max-lines, prolog-info-predicate-index)
11152 (prolog-underscore-wordchar-flag, prolog-use-sicstus-sd)
11153 (prolog-char-quote-workaround):
11154 * progmodes/cc-vars.el (c-defun-tactic):
11155 * net/tramp.el (tramp-encoding-command-interactive)
11156 (tramp-local-end-of-line):
11157 * net/soap-client.el (soap-client):
11158 * net/netrc.el (netrc-file):
11159 * net/gnutls.el (gnutls):
11160 * minibuffer.el (completion-category-overrides)
11161 (completion-cycle-threshold)
11162 (completion-pcm-complete-word-inserts-delimiters):
11163 * man.el (Man-name-local-regexp):
11164 * mail/feedmail.el (feedmail-display-full-frame):
11165 * international/characters.el (glyphless-char-display-control):
11166 * eshell/em-ls.el (eshell-ls-date-format):
11167 * emacs-lisp/cl-indent.el (lisp-lambda-list-keyword-alignment)
11168 (lisp-lambda-list-keyword-parameter-indentation)
11169 (lisp-lambda-list-keyword-parameter-alignment):
11170 * doc-view.el (doc-view-image-width, doc-view-unoconv-program):
11171 * dired-x.el (dired-omit-verbose):
11172 * cus-theme.el (custom-theme-allow-multiple-selections):
11173 * calc/calc.el (calc-highlight-selections-with-faces)
11174 (calc-lu-field-reference, calc-lu-power-reference)
11175 (calc-note-threshold):
11176 * battery.el (battery-mode-line-limit):
11177 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
11178 (archive-7z-update):
11179 * allout.el (allout-prefixed-keybindings)
11180 (allout-unprefixed-keybindings)
11181 (allout-inhibit-auto-fill-on-headline)
11182 (allout-flattened-numbering-abbreviation):
11183 * allout-widgets.el (allout-widgets-auto-activation)
11184 (allout-widgets-icons-dark-subdir)
11185 (allout-widgets-icons-light-subdir, allout-widgets-icon-types)
11186 (allout-widgets-theme-dark-background)
11187 (allout-widgets-theme-light-background)
11188 (allout-widgets-item-image-properties-emacs)
11189 (allout-widgets-item-image-properties-xemacs)
11190 (allout-widgets-run-unit-tests-on-load)
11191 (allout-widgets-time-decoration-activity)
11192 (allout-widgets-hook-error-post-time)
11193 (allout-widgets-track-decoration):
11194 Add missing :version tags to new defcustoms and defgroups.
11195
5fec1b8e
GM
11196 * progmodes/sql.el (sql-ansi-statement-starters)
11197 (sql-oracle-statement-starters): Add custom type.
11198
3e0d2fa7
GM
11199 * progmodes/prolog.el: Remove leading '*' from defcustom docs.
11200 (prolog-system-version): Give it a type.
11201
90b671e2
EZ
112022012-02-11 Eli Zaretskii <eliz@gnu.org>
11203
11204 * term/pc-win.el (x-select-text, x-selection-owner-p)
11205 (x-own-selection-internal, x-disown-selection-internal)
11206 (x-get-selection-internal): Sync doc strings and argument lists
11207 with xselect.c, common-win.el and x-win.el. (Bug#10783)
11208
5eac0c02
LL
112092012-02-11 Leo Liu <sdl.web@gmail.com>
11210
11211 * progmodes/python.el (python-end-of-statement): Fix infinite
11212 loop. (Bug#10788)
11213
f82cb659
GM
112142012-02-10 Glenn Morris <rgm@gnu.org>
11215
11216 * international/mule-cmds.el (unify-8859-on-encoding-mode)
11217 (unify-8859-on-decoding-mode): Properly mark as obsolete.
11218
cc26d239
LI
112192012-02-10 Lars Ingebrigtsen <larsi@gnus.org>
11220
11221 * mail/emacsbug.el (report-emacs-bug-hook): Query the user first
11222 about SMTP before checking the From header.
11223
91027d08 11224 * mail/sendmail.el (sendmail-query-user-about-smtp): Refactor out
cc26d239
LI
11225 into own function for reuse by emacsbug.el.
11226
1be3ca5a
LL
112272012-02-10 Leo Liu <sdl.web@gmail.com>
11228
11229 * subr.el (condition-case-unless-debug): Rename from
11230 condition-case-no-debug. All callers changed.
11231 (with-demoted-errors): Fix caller.
11232
11233 * vc/diff-mode.el (diff-auto-refine-mode, diff-hunk):
11234 * nxml/rng-valid.el (rng-do-some-validation):
11235 * emacs-lisp/package.el (package-refresh-contents)
11236 (package-menu-execute):
11237 * desktop.el (desktop-create-buffer):
91027d08 11238 * font-lock.el (lisp-font-lock-keywords-2): Caller changed.
1be3ca5a 11239
b011fbfe
GM
112402012-02-10 Glenn Morris <rgm@gnu.org>
11241
b2096d72
GM
11242 * textmodes/bibtex.el:
11243 Add missing :version tags for new/changed defcustoms.
11244
b011fbfe
GM
11245 * files.el (remote-file-name-inhibit-cache): Doc fixes.
11246
4c7e65bf
LI
112472012-02-09 Lars Ingebrigtsen <larsi@rusty>
11248
11249 * mail/smtpmail.el (smtpmail-user-mail-address): New function.
11250 (smtpmail-via-smtp): Use it, or fall back on the From address.
11251 (smtpmail-send-it): Ditto.
11252
f3934f6f
SM
112532012-02-09 Stefan Monnier <monnier@iro.umontreal.ca>
11254
11255 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
11256 Don't fallback on byte-compile-defvar. Optimize (defvar foo) away.
11257 (byte-compile-tmp-var): New const.
11258 (byte-compile-defvar): Use it to minimize .elc size.
11259 Just use `defvar' rather than simulate it (bug#10761).
11260
a075a2c5
GM
112612012-02-09 Glenn Morris <rgm@gnu.org>
11262
cf3aa21b
GM
11263 * files.el (rename-uniquely): Doc fix. (Bug#3806)
11264
354998cd
GM
11265 * progmodes/cc-guess.el (c-guess-offset-threshold, c-guess-region-max):
11266 Add :version tags.
11267
dc9924b8
SM
11268 * progmodes/compile.el (compilation-error-screen-columns)
11269 (compilation-first-column, compilation-filter-start): Doc fixes.
83274125 11270
dab3703d
GM
11271 * vc/log-view.el (log-view-toggle-entry-display):
11272 * vc/vc.el (vc-merge, vc-pull): Doc fixes.
11273
3f88cd72
GM
11274 * mail/emacsbug.el (report-emacs-bug-can-use-osx-open)
11275 (report-emacs-bug-can-use-xdg-email):
11276 (report-emacs-bug-insert-to-mailer): Doc fixes.
11277 (report-emacs-bug): Message fix.
11278
d95b247d
GM
11279 * net/browse-url.el (browse-url-can-use-xdg-open)
11280 (browse-url-xdg-open): Doc fixes.
11281
a075a2c5
GM
11282 * electric.el (electric-indent-mode, electric-pair-mode)
11283 (electric-layout-rules, electric-layout-mode): Doc fixes.
11284 (electric-pair-pairs, electric-pair-skip-self): Add :version tags.
11285
ffb6157e
MR
112862012-02-08 Martin Rudalics <rudalics@gmx.at>
11287
11288 * server.el (server-unselect-display): Don't inadvertently kill
11289 the current buffer. (Bug#10729)
11290
e1ac4066
GM
112912012-02-08 Glenn Morris <rgm@gnu.org>
11292
34e8a2da
GM
11293 * progmodes/sql.el (sql-port, sql-connection-alist, sql-list-all)
11294 (sql-list-table): Doc fixes.
11295
b4ac6e8c
GM
11296 * image-mode.el (image-transform-minor-mode-map, image-transform-mode):
11297 Comment out (does nothing).
11298
e1ac4066
GM
11299 * completion.el (dynamic-completion-mode):
11300 * dirtrack.el (dirtrack-debug-mode):
11301 * electric.el (electric-layout-mode):
11302 * epa-mail.el (epa-mail-mode, epa-global-mail-mode):
11303 * face-remap.el (text-scale-mode, buffer-face-mode):
11304 * iimage.el (iimage-mode):
11305 * image-mode.el (image-transform-mode):
11306 * minibuffer.el (completion-in-region-mode):
11307 * scroll-lock.el (scroll-lock-mode):
11308 * simple.el (next-error-follow-minor-mode):
11309 * tar-mode.el (tar-subfile-mode):
11310 * tooltip.el (tooltip-mode):
11311 * vcursor.el (vcursor-use-vcursor-map):
11312 * wid-browse.el (widget-minor-mode):
11313 * emulation/tpu-edt.el (tpu-edt-mode):
11314 * emulation/tpu-extras.el (tpu-cursor-free-mode):
11315 * international/iso-ascii.el (iso-ascii-mode):
11316 * language/thai-util.el (thai-word-mode):
11317 * mail/supercite.el (sc-minor-mode):
11318 * net/goto-addr.el (goto-address-mode):
11319 * net/rcirc.el (rcirc-multiline-minor-mode, rcirc-track-minor-mode):
11320 * progmodes/cwarn.el (cwarn-mode):
11321 * progmodes/flymake.el (flymake-mode):
11322 * progmodes/glasses.el (glasses-mode):
11323 * progmodes/hideshow.el (hs-minor-mode):
11324 * progmodes/pascal.el (pascal-outline-mode):
11325 * textmodes/enriched.el (enriched-mode):
11326 * vc/smerge-mode.el (smerge-mode):
11327 Doc fixes (minor mode argument).
11328
5e0d957f
EZ
113292012-02-07 Eli Zaretskii <eliz@gnu.org>
11330
11331 * ls-lisp.el (ls-lisp-sanitize): New function.
11332 (ls-lisp-insert-directory): Use it to fix or remove any elements
11333 in file-alist with missing attributes. (Bug#4673)
11334
98d7371e
AM
113352012-02-07 Alan Mackenzie <acm@muc.de>
11336
11337 Fix spurious recognition of c-in-knr-argdecl.
11338
11339 * progmodes/cc-engine.el (c-in-knr-argdecl): Check for '=' in a
11340 putative K&R region.
11341
667ced3a
AM
113422012-02-07 Alan Mackenzie <acm@muc.de>
11343
eb864a71
LM
11344 * progmodes/cc-engine.el (c-forward-objc-directive):
11345 Prevent looping in "#pragma mark @implementation".
667ced3a 11346
5b77774d
MA
113472012-02-07 Michael Albinus <michael.albinus@gmx.de>
11348
11349 * notifications.el (notifications-on-closed-signal): Make `reason'
11350 optional. (Bug#10744)
11351
af008560
GM
113522012-02-07 Glenn Morris <rgm@gnu.org>
11353
60d47423
GM
11354 * emacs-lisp/easy-mmode.el (define-minor-mode):
11355 Doc fixes for the macro and the mode it defines.
11356
dd605cc4
GM
11357 * image.el (imagemagick-types-inhibit): Doc fix.
11358
af008560
GM
11359 * cus-start.el (imagemagick-render-type): Add it.
11360
5cc59a37
LI
113612012-02-06 Lars Ingebrigtsen <larsi@gnus.org>
11362
4d6769e1
JB
11363 * progmodes/cc-mode.el (c-standard-font-lock-fontify-region-function):
11364 Set the default at load time, too, so that `font-lock-fontify-buffer'
11365 can be called without setting up the entire mode first. This fixes
11366 a bug in `mm-inline-text' with C MIME parts.
5cc59a37 11367
9a6dd747
CY
113682012-02-06 Chong Yidong <cyd@gnu.org>
11369
2d16b285
CY
11370 * simple.el (list-processes--refresh): Delete exited processes
11371 (Bug#8094).
11372
171e9b6e
CY
11373 * comint.el (comint-next-prompt): next-single-char-property-change
11374 and prev-single-char-property-change never return nil (Bug#8657).
11375
9a6dd747
CY
11376 * custom.el (defcustom): Doc fix (Bug#9711).
11377
aa4589a7
CY
113782012-02-05 Chong Yidong <cyd@gnu.org>
11379
5c2a252f
CY
11380 * cus-edit.el (custom-variable-reset-backup): Quote the value
11381 before storing it in the customized-value property (Bug#6712).
4aab9006 11382 (custom-display): Add a customization type tag.
983b9602 11383 (custom-buffer-create-internal): Improve tooltip message.
5c2a252f 11384
aa4589a7
CY
11385 * wid-edit.el (widget-field-value-get): New optional arg to
11386 suppress trailing whitespace truncation.
11387 (character): Use it (Bug#2689).
11388
1ff980ae
AS
113892012-02-05 Andreas Schwab <schwab@linux-m68k.org>
11390
11391 * progmodes/gud.el (gud-pv): Use pv instead of pv1.
11392 * progmodes/gdb-mi.el (gud-pp): Use pp instead of pp1.
11393
03988c98
CY
113942012-02-05 Chong Yidong <cyd@gnu.org>
11395
eeb6cc88
CY
11396 * cus-edit.el (custom-variable-value-create): For mismatched
11397 types, show the current value (Bug#7600).
11398
03988c98
CY
11399 * custom.el (defcustom): Doc fix.
11400
f8cdeef0
GM
114012012-02-05 Glenn Morris <rgm@gnu.org>
11402
11403 * font-lock.el (lisp-font-lock-keywords-2): Add with-wrapper-hook.
11404
0696d255
JB
114052012-02-05 Juanma Barranquero <lekktu@gmail.com>
11406
11407 * emacs-lisp/pp.el (pp-to-string): Use `with-temp-buffer'.
11408 (pp-buffer): Use `ignore-errors', `looking-at-p'.
11409 (pp-last-sexp): Use `looking-at-p'.
11410
34c99998
GM
114112012-02-04 Glenn Morris <rgm@gnu.org>
11412
8f05da42
GM
11413 * files.el (revert-buffer):
11414 Doc fix (mention revert-buffer-in-progress-p).
11415
f160676e
GM
11416 * emacs-lisp/ert-x.el (ert-simulate-command):
11417 Check deferred-action-list (which is obsolete) is bound.
11418
c7291ad9
GM
11419 * subr.el (with-wrapper-hook): Doc fixes.
11420
34c99998
GM
11421 * simple.el (filter-buffer-substring-functions)
11422 (buffer-substring-filters, filter-buffer-substring): Doc fixes.
11423
6283a7d3
LL
114242012-02-04 Lars Ljung <lars@matholka.se> (tiny change)
11425
11426 * eshell/esh-ext.el (eshell-windows-shell-file): Match "cmdproxy"
11427 anywhere in shell-file-name, not just at the beginning. (Bug#10523)
11428
e96e3013
LL
114292012-02-04 Leo Liu <sdl.web@gmail.com>
11430
11431 * emacs-lisp/smie.el: Fix dead link (Bug#10711).
11432
8ded50f2
GM
114332012-02-04 Glenn Morris <rgm@gnu.org>
11434
82ff1d13
GM
11435 * image.el (image-extension-data): Add obsolete alias.
11436
987a0a16
GM
11437 * isearch.el (isearch-update): Doc fix.
11438
ea32ef46
GM
11439 * facemenu.el (list-colors-display): Doc fix (minor rephrasing).
11440
8ded50f2
GM
11441 * ido.el (ido-find-file): Doc fix (ido-toggle-vc not on any key).
11442
eea14f31
GM
114432012-02-03 Glenn Morris <rgm@gnu.org>
11444
11445 * image.el (image-animated-p): Doc fix. Use image-animated-types.
11446 (image-animate-timeout): Doc fix.
11447
11448 * image-mode.el (image-animate-loop, image-toggle-animation): Doc fixes.
11449
12f381b7
GM
114502012-02-02 Glenn Morris <rgm@gnu.org>
11451
953cebf5
GM
11452 * server.el (server-auth-dir): Doc fix.
11453 (server-eval-at): Doc fix. Give an explicit error if !server-use-tcp.
11454
12f381b7
GM
11455 * subr.el (run-mode-hooks): Doc fix.
11456
953a8c3b
JL
114572012-02-02 Juri Linkov <juri@jurta.org>
11458
11459 * image-mode.el (image-toggle-display-image): Remove tautological
11460 `major-mode' from the `derived-mode-p' test.
11461
c5d3843c
KH
114622012-02-02 Kenichi Handa <handa@m17n.org>
11463
9f6e692e 11464 * composite.el (compose-region): Cancel previous change.
c5d3843c 11465
159462d4 114662012-02-02 Kenichi Handa <handa@m17n.org>
d2a51fd7
KH
11467
11468 * composite.el (compose-region, compose-string): Signal error for
11469 a null string component (Bug#6988).
11470
9f562668
CY
114712012-02-01 Chong Yidong <cyd@gnu.org>
11472
e2cef717
CY
11473 * view.el (view-buffer-other-window, view-buffer-other-frame):
11474 Handle special modes like view-buffer (Bug#10650).
11475 (view-buffer): Simplify.
11476
9f562668
CY
11477 * frame.el (set-frame-font): Tweak meaning of third argument.
11478
9f6e692e
JB
11479 * dynamic-setting.el (font-setting-change-default-font):
11480 Use set-frame-font (Bug#9982).
9f562668 11481
781acb9f
GM
114822012-02-01 Glenn Morris <rgm@gnu.org>
11483
6035be52
GM
11484 * progmodes/compile.el (compilation-internal-error-properties):
11485 Respect compilation-first-column in the "*compilation*" buffer.
11486
781acb9f
GM
11487 * emacs-lisp/easy-mmode.el (define-minor-mode):
11488 Relax :variable's test for a named function.
11489
abbceb00
AM
114902012-01-31 Alan Mackenzie <acm@muc.de>
11491
11492 * progmodes/cc-engine.el (c-guess-basic-syntax): CASE 5B.1: Fix an
11493 off by one error.
11494
fce3fdeb
CY
114952012-01-31 Chong Yidong <cyd@gnu.org>
11496
11497 * frame.el (set-frame-font): New arg ALL-FRAMES.
11498
11499 * menu-bar.el (menu-set-font): Use set-frame-font.
11500
11501 * faces.el (face-spec-reset-face): Don't apply unspecified
11502 attribute values to the default face.
11503
47893581
JB
115042012-01-31 Juanma Barranquero <lekktu@gmail.com>
11505
11506 * progmodes/cwarn.el (cwarn): Remove dead link.
11507 (cwarn-configuration, cwarn-verbose, cwarn-mode-text, cwarn-load-hook):
11508 Remove * from defcustom docstrings.
11509 (turn-on-cwarn-mode): Make obsolete.
11510 (c-at-toplevel-p): Remove compatibility code for Emacs 20.3 and older.
11511 (turn-on-cwarn-mode-if-enabled): Call `cwarn-mode'.
11512
e58e988a
GM
115132012-01-31 Glenn Morris <rgm@gnu.org>
11514
60dc2671 11515 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
6c9b47ae 11516 Fix :variable handling of mode a symbol not equal to modefun.
60dc2671 11517 Allow named functions to be used as the cdr of :variable.
e58e988a 11518
7a3f511d
GM
115192012-01-30 Glenn Morris <rgm@gnu.org>
11520
11521 * emacs-lisp/authors.el (authors-fixed-entries):
11522 Remove reference to deleted file rnewspost.el.
11523
cb882333
JB
115242012-01-29 Juanma Barranquero <lekktu@gmail.com>
11525
11526 * window.el (window-with-parameter): Remove unused variable `windows'.
11527 (window--side-check): Remove unused variable `code'.
11528 (window--resize-siblings): Remove unused variable `first'.
11529 (adjust-window-trailing-edge): Remove unused variable `failed'.
11530 (window-deletable-p, window--delete): Remove unused variable `buffer'.
11531 Use `let', not `let*'.
11532 (balance-windows-2): Remove unused variable `found'.
11533 (window--state-put-2): Remove unused variable `splits'.
11534 (window-state-put): Remove unused variable `selected'.
11535 (same-window-p): Use `string-match-p'.
11536 (display-buffer-assq-regexp): Remove unused variable `value'.
11537 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
11538 Mark argument ALIST as ignored.
11539 (pop-to-buffer): Remove unused variable `old-window'.
11540
907201af
EZ
115412012-01-29 Eli Zaretskii <eliz@gnu.org>
11542
11543 * jka-cmpr-hook.el (jka-compr-compression-info-list): Support .lz
11544 and .lzma compressed files.
11545
ea162670
CY
115462012-01-29 Chong Yidong <cyd@gnu.org>
11547
5b95ee8a
CY
11548 * frame.el (window-system-default-frame-alist): Doc fix.
11549
ea162670
CY
11550 * dynamic-setting.el (font-setting-change-default-font): Don't
11551 change the default face if SET-FONT argument is non-nil (Bug#9982).
11552
d6e6f4b1
SB
115532012-01-29 Samuel Bronson <naesten@gmail.com> (tiny change)
11554
11555 * custom.el (defcustom): Add doc link to Lisp manual (Bug#10635).
11556
0f29fa41 115572012-01-29 Syver Enstad <syver.enstad@cisco.com> (tiny change)
6b25e4e2
SE
11558
11559 * progmodes/gud.el (pdb): Give pdb full paths, to allow setting
11560 breakpoints in files outside current directory (Bug#6098).
11561
db174434
CY
115622012-01-29 Chong Yidong <cyd@gnu.org>
11563
6b25e4e2
SE
11564 * progmodes/python.el: Require ansi-color at top-level.
11565
6df6ae42
JB
11566 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-abbrev-table):
11567 Define and use in Emacs Lisp mode (Bug#9360).
db174434
CY
11568 (lisp-mode-abbrev-table): Add doc.
11569 (lisp-mode-variables): Don't set local-abbrev-table.
11570 (lisp-interaction-mode): Use emacs-lisp-mode-abbrev-table.
11571
e70ee681
RW
115722012-01-28 Roland Winkler <winkler@gnu.org>
11573
11574 * textmodes/bibtex.el (bibtex-vec-incr): Fix docstring.
11575
ace88aa2
RW
115762012-01-28 Roland Winkler <winkler@gnu.org>
11577
11578 * textmodes/bibtex.el (bibtex-entry-alist): New function.
11579 (bibtex-set-dialect): Use it. Either set global values of
11580 dialect-dependent variables or bind these variables buffer-locally
11581 (Bug#10254).
11582 (bibtex-mode): Call bibtex-set-dialect via
11583 hack-local-variables-hook.
eb864a71
LM
11584 (bibtex-dialect): Update docstring.
11585 Add safe-local-variable predicate.
ace88aa2
RW
11586 (bibtex-entry-alist, bibtex-field-alist): Initialize via
11587 bibtex-set-dialect.
11588 (bibtex-mode-map): Define menu for each dialect.
11589 (bibtex-entry): Fix docstring.
11590
93376c5b
CY
115912012-01-28 Chong Yidong <cyd@gnu.org>
11592
11593 * eshell/esh-arg.el (eshell-quote-argument): New function.
11594
11595 * eshell/esh-ext.el (eshell-invoke-batch-file):
11596 * eshell/em-unix.el (eshell/cat, eshell/du): Use it to quote the
11597 first arg to eshell-parse-command (Bug#10523).
11598
4372494f
DA
115992012-01-28 Drew Adams <drew.adams@oracle.com>
11600
11601 * net/ange-ftp.el (ange-ftp-canonize-filename): Check, that
11602 `default-directory' is non-nil.
11603
4d4ec1f8
EZ
116042012-01-28 Eli Zaretskii <eliz@gnu.org>
11605
11606 * mail/emacsbug.el (report-emacs-bug): Fill the potentially long
11607 line that displays system-configuration-options. (Bug#9924)
11608
7c188927
DA
116092012-01-28 Drew Adams <drew.adams@oracle.com>
11610
11611 * descr-text.el (describe-char): Show information about POS, in
11612 addition to information about the character at POS. Improve and
11613 update the doc string. Change "code point" to "code point in
11614 charset", to avoid confusion with the character's Unicode code
11615 point shown above that. (Bug#10129)
11616
e0da685a
EZ
116172012-01-28 Eli Zaretskii <eliz@gnu.org>
11618
11619 * descr-text.el (describe-char): Show the raw character, not only
11620 its display form at POS. Suggested by Kenichi Handa <handa@m17n.org>.
11621 See http://lists.gnu.org/archive/html/emacs-devel/2012-01/msg00760.html
11622 for the reasons.
11623
70550acf
PH
116242012-01-28 Phil Hagelberg <phil@hagelb.org>
11625
eb864a71
LM
11626 * emacs-lisp/package.el (package-install):
11627 Run package-refresh-contents if there is no archive yet (Bug#9798).
70550acf 11628
0ce8e868
CY
116292012-01-28 Chong Yidong <cyd@gnu.org>
11630
cb882333
JB
11631 * emacs-lisp/package.el (package-maybe-load-descriptor):
11632 New function, split from package-maybe-load-descriptor.
0ce8e868
CY
11633 (package-maybe-load-descriptor): Use it.
11634 (package-download-transaction): Fully load required packages
11635 inside the loop, so that `require' calls work (Bug#10593).
11636 (package-install): No need to call package-initialize now.
11637
2e7f3bea
CY
116382012-01-28 Chong Yidong <cyd@gnu.org>
11639
6e9bad14
CY
11640 * simple.el (deactivate-mark): Doc fix (Bug#8614).
11641
f823b8ca
CY
11642 * tooltip.el (tooltip-mode): Doc fix.
11643 (tooltip-use-echo-area): Mark as obsolete (Bug#6595).
11644
2680c309
CY
11645 * frame.el (set-cursor-color): Doc fix (Bug#352).
11646
d7a9e63b
CY
11647 * mail/rmail.el (rmail-start-mail): Add send-action again (Bug#10625).
11648 (rmail-mail-return): Switch to NEWBUF only if it is non-nil.
11649
2e7f3bea
CY
11650 * cus-edit.el (custom-buffer-create-internal): Fix search button
11651 action (Bug#10542).
2ae01800 11652 (customize-unsaved, customize-saved): Doc fix (Bug#10541).
2e7f3bea 11653
fc4f7a23
EW
116542012-01-27 Eduard Wiebe <usenet@pusto.de>
11655
11656 * dired.el (dired-mark-files-regexp):
11657 Include any subdirectory components. (Bug#10445)
11658
7dd37071
ML
116592012-01-27 Mike Lamb <mrlamb@gmail.com> (tiny change)
11660
11661 * pcmpl-unix.el (pcmpl-ssh-known-hosts):
11662 Handle [host]:port syntax. (Bug#10533)
11663
a268160b
AH
116642012-01-27 Alex Harsanyi <harsanyi@mac.com>
11665
11666 * xml.el (xml-parse-tag): Fix parsing of comments (Bug#10405).
11667
e43273ef
GM
116682012-01-26 Glenn Morris <rgm@gnu.org>
11669
11670 * dired-x.el (dired-bind-jump): Use ctl-x-map and ctl-x-4-map.
11671 * term.el (term-raw-escape-map): Use Control-X-prefix.
11672 * vc/vc-hooks.el (vc-prefix-map): Use ctl-x-map. (Bug#10566)
11673
1edf595d
MR
116742012-01-25 Martin Rudalics <rudalics@gmx.at>
11675
11676 * window.el (window-state-get, window--state-get-1): Don't deal
11677 with fixed-sizeness of windows. Simplify code.
11678
fa8eafef
JC
116792012-01-25 Jérémy Compostella <jeremy.compostella@gmail.com>
11680
6df6ae42
JB
11681 * window.el (window--state-get-1, window--state-put-2):
11682 Don't save and restore the mark.
fa8eafef 11683
0b21c100
CY
116842012-01-25 Chong Yidong <cyd@gnu.org>
11685
11686 * custom.el (custom-variable-p): Doc fix.
11687
5ae1a6c8
GM
116882012-01-25 Glenn Morris <rgm@gnu.org>
11689
40047858
GM
11690 * dired.el (dired-goto-file): Handle some of the more common
11691 characters that `ls -b' escapes. (Bug#10596)
11692
5ddce96c
GM
11693 * progmodes/compile.el (compilation-next-error-function):
11694 Respect compilation-first-column in the "*compilation*" buffer.
11695 * progmodes/grep.el (grep-first-column): New variable. (Bug#10594)
11696
5ae1a6c8
GM
11697 * vc/vc.el (vc-modify-change-comment): Scoping fix. (Bug#10513)
11698
b559f1a9
GM
116992012-01-24 Glenn Morris <rgm@gnu.org>
11700
11701 * pcmpl-gnu.el (pcomplete/tar): Handle " - ". (Bug#10457)
11702
6725d21a
JD
117032012-01-24 Julien Danjou <julien@danjou.info>
11704
11705 * color.el (color-rgb-to-hsl): Fix value computing.
11706 (color-hue-to-rgb): New function.
11707 (color-hsl-to-rgb): New function.
11708 (color-clamp, color-saturate-hsl, color-saturate-name)
11709 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
11710 (color-lighten-name, color-darken-hsl, color-darken-name): New function.
11711
70df4bbe
GM
117122012-01-24 Glenn Morris <rgm@gnu.org>
11713
11714 * vc/vc-rcs.el (vc-rcs-create-tag):
11715 * vc/vc-sccs.el (vc-sccs-create-tag):
11716 Fix argument spec to be what vc-create-tag expects. (Bug#10515)
11717
802a2ae2
ML
117182012-01-23 Mike Lamb <mrlamb@gmail.com> (tiny change)
11719
11720 * eshell/esh-util.el (eshell-read-hosts-file):
11721 Skip comment lines. (Bug#10549)
11722
d7128bb1
ML
11723 * eshell/em-unix.el (pcomplete/ssh): Remove. (Bug#10548)
11724
d1a5c3b4
JB
117252012-01-23 Juanma Barranquero <lekktu@gmail.com>
11726
2724d9c7
JB
11727 * subr.el (display-delayed-warnings): Doc fix.
11728 (collapse-delayed-warnings): New function to collapse identical
11729 adjacent warnings.
11730 (delayed-warnings-hook): Add it.
d1a5c3b4 11731
a5509865
MA
117322012-01-22 Michael Albinus <michael.albinus@gmx.de>
11733
11734 * net/tramp.el (tramp-action-login): Set connection property "login-as".
11735
a5509865
MA
11736 * net/tramp-sh.el (tramp-methods): Add user spec to "pscp" and "psftp".
11737 (tramp-default-user-alist): Don't add "pscp".
11738 (tramp-do-copy-or-rename-file-out-of-band): Use connection
11739 property "login-as", if set. (Bug#10530)
11740
cc6d5805
MA
117412012-01-21 Michael Albinus <michael.albinus@gmx.de>
11742
11743 * net/tramp-sh.el (tramp-default-user-alist): Don't add "plink",
11744 "plink1" and "psftp". (Bug#10530)
11745
117462012-01-21 Kenichi Handa <handa@m17n.org>
71784361
KH
11747
11748 * international/mule-cmds.el (prefer-coding-system): Show a
11749 warning message if the default value of file-name-coding-system
11750 was not changed.
11751
f0960428
JC
117522012-01-21 Jérémy Compostella <jeremy.compostella@gmail.com>
11753
cb882333
JB
11754 * windmove.el (windmove-reference-loc):
11755 Fix windmove-reference-loc miscalculation.
f0960428 11756
dd6f2a63
JB
117572012-01-21 Jay Belanger <jay.p.belanger@gmail.com>
11758
11759 * calc/calc-units.el (math-put-default-units): Don't use "1" as a
11760 default unit.
11761
7b447e9b
GM
117622012-01-21 Glenn Morris <rgm@gnu.org>
11763
117a9ea1
GM
11764 * international/mule.el (auto-coding-alist): Add .tbz.
11765
7b447e9b
GM
11766 * files.el (local-enable-local-variables): Doc fix.
11767 (inhibit-local-variables-regexps): Rename from
11768 inhibit-first-line-modes-regexps. Keep old name as obsolete alias.
11769 Doc fix. Add some extensions from auto-coding-alist.
11770 (inhibit-local-variables-suffixes):
11771 Rename from inhibit-first-line-modes-suffixes. Doc fix.
11772 (inhibit-local-variables-p):
11773 New function, extracted from set-auto-mode-1.
11774 (set-auto-mode): Doc fix. Respect inhibit-local-variables-regexps.
11775 (set-auto-mode-1): Doc fix. Use inhibit-local-variables-p.
11776 (hack-local-variables): Doc fix. Make the mode-only case
11777 respect enable-local-variables and friends.
11778 Respect inhibit-local-variables-regexps for file-locals, but
11779 not for directory-locals.
11780 (set-visited-file-name):
11781 Take account of inhibit-local-variables-regexps.
11782 Whether it applies may change as the file name is changed.
11783 * jka-cmpr-hook.el (jka-compr-install):
11784 * jka-compr.el (jka-compr-uninstall):
11785 Update for inhibit-first-line-modes-suffixes name change.
11786
dd6e3cdd
MR
117872012-01-20 Martin Rudalics <rudalics@gmx.at>
11788
11789 * help-macro.el (make-help-screen): Temporarily restore original
11790 binding for minor-mode-map-alist (Bug#10454).
11791
0d0deb38
JD
117922012-01-19 Julien Danjou <julien@danjou.info>
11793
11794 * color.el (color-name-to-rgb): Use the white color to find the max
11795 color component value and return correctly computed values.
11796 (color-name-to-rgb): Add missing float conversion for max value.
11797
34a02f46
MR
117982012-01-19 Martin Rudalics <rudalics@gmx.at>
11799
11800 * window.el (window--state-get-1, window-state-get): Do not use
eb864a71
LM
11801 special state value for window-persistent-parameters.
11802 Rename argument IGNORE to WRITABLE. Rewrite doc-string.
34a02f46
MR
11803 (window--state-put-2): Reset all window parameters to nil before
11804 assigning values of persistent parameters.
11805
606c44c4
AM
118062012-01-18 Alan Mackenzie <acm@muc.de>
11807
11808 Eliminate sluggishness and hangs in fontification of "semicolon
11809 deserts".
11810
cb882333
JB
11811 * progmodes/cc-engine.el (c-state-nonlit-pos-interval):
11812 Change value 10000 -> 3000.
606c44c4
AM
11813 (c-state-safe-place): Reformulate so it doesn't stack up an
11814 infinite number of wrong entries in c-state-nonlit-pos-cache.
11815 (c-determine-limit-get-base, c-determine-limit): New functions to
11816 determine backward search limits disregarding literals.
11817 (c-find-decl-spots): Amend commenting.
11818 (c-cheap-inside-bracelist-p): New function which detects "={".
11819
11820 * progmodes/cc-fonts.el
11821 (c-make-font-lock-BO-decl-search-function): Give a limit to a
11822 backward search.
11823 (c-font-lock-declarations): Fix an occurrence of point being
11824 undefined. Check additionally for point being in a bracelist or
11825 near a macro invocation without a semicolon so as to avoid a
11826 fruitless time consuming search for a declarator. Give a more
11827 precise search limit for declarators using the new
11828 c-determine-limit.
11829
f3860cea
GM
118302012-01-18 Glenn Morris <rgm@gnu.org>
11831
11832 * files.el (auto-mode-alist, inhibit-first-line-modes-regexps)
11833 (set-auto-mode): Doc fixes.
11834
1db03b16
GM
118352012-01-17 Glenn Morris <rgm@gnu.org>
11836
0e6038be
GM
11837 * isearch.el (search-nonincremental-instead): Fix doc typo.
11838
1db03b16
GM
11839 * dired.el (dired-insert-directory): Handle newlines in directory name.
11840 (dired-build-subdir-alist): Unescape newlines in directory name.
11841
4cb0aa75
MA
118422012-01-17 Michael Albinus <michael.albinus@gmx.de>
11843
11844 * net/tramp.el (tramp-local-end-of-line): New defcustom.
11845 (tramp-action-login, tramp-action-yesno, tramp-action-yn)
11846 (tramp-action-terminal): Use it. (Bug#10530)
11847
1d00653d
SM
118482012-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
11849
11850 * minibuffer.el (completion--replace): Strip properties (bug#10062).
11851
6a6ee00d
MR
118522012-01-16 Martin Rudalics <rudalics@gmx.at>
11853
11854 * window.el (window-state-ignored-parameters): Remove variable.
11855 (window--state-get-1): Rename argument MARKERS to IGNORE.
11856 Handle persistent window parameters. Make copy of clone-of
11857 parameter only if requested. (Bug#10348)
11858 (window--state-put-2): Install a window parameter only if it has
11859 a non-nil value or an existing parameter shall be overwritten.
11860
97912def
MA
118612012-01-15 Michael Albinus <michael.albinus@gmx.de>
11862
11863 * net/tramp-sh.el (tramp-remote-path): Set tramp-autoload cookie.
11864
688070a5
EZ
118652012-01-14 Eli Zaretskii <eliz@gnu.org>
11866
11867 * info.el (Info-toc-build): If the Info file has no "Up" pointer,
11868 don't pass the (nil) value of `upnode' to string-match.
11869
301afadc
CY
118702012-01-14 Chong Yidong <cyd@gnu.org>
11871
11872 * startup.el (command-line): Fix X resource class for cursorColor.
04877ddb 11873 Fix values recognized by the cursorBlink resource.
301afadc 11874
9e5788aa
PE
118752012-01-14 Paul Eggert <eggert@cs.ucla.edu>
11876
11877 * epg.el (epg--make-temp-file): Avoid permission race condition
11878 when running on old Emacs versions (bug#10403).
11879
3cdb7f5a
GM
118802012-01-14 Glenn Morris <rgm@gnu.org>
11881
11882 * dired.el (dired-get-filename): Fix 'verbatim case of previous change.
11883
8c82b1b4
AM
118842012-01-13 Alan Mackenzie <acm@muc.de>
11885
11886 Fix filling for when filladapt mode is enabled.
11887
11888 * progmodes/cc-cmds.el (c-fill-paragraph): In the invocation of
11889 c-mask-paragraph, pass in `fill-paragraph' rather than
11890 `fill-region-as-paragraph'. (This is a reversion of a previous
11891 change.)
eb864a71
LM
11892 * progmodes/cc-mode.el (c-basic-common-init):
11893 Make fill-paragraph-handle-comment buffer local and set it to nil.
8c82b1b4 11894
e517eda4
GM
118952012-01-13 Glenn Morris <rgm@gnu.org>
11896
1498536e
GM
11897 * dired.el (dired-switches-escape-p): New function.
11898 (dired-insert-directory): Use dired-switches-escape-p.
11899 (dired-get-filename): Undo "\ " quoting if needed. (Bug#10469)
11900
e517eda4
GM
11901 * find-dired.el (find-ls-option): Doc fix. (Bug#10262)
11902
328f984d
GM
119032012-01-12 Glenn Morris <rgm@gnu.org>
11904
11905 * mail/sendmail.el (mail-mode): Update paragraph-separate for
11906 changes in adaptive-fill-regexp. (Bug#10276)
11907
2cc769a8
AM
119082012-01-11 Alan Mackenzie <acm@muc.de>
11909
11910 Fix Emacs bug #10463 - put `widen's around the critical spots.
11911
1d00653d 11912 * progmodes/cc-engine.el (c-in-literal, c-literal-limits): Put a
2cc769a8
AM
11913 widen around each invocation of c-state-pp-to-literal. Remove an
11914 unused let variable.
11915
e52c37fa
GM
119162012-01-11 Glenn Morris <rgm@gnu.org>
11917
11918 * dired-aux.el (dired-do-shell-command): Fix */? logic. (Bug#6561)
09044622 11919 Doc fix.
e52c37fa 11920
96f8741e
CY
119212012-01-10 Chong Yidong <cyd@gnu.org>
11922
1d00653d
SM
11923 * net/network-stream.el (network-stream-open-starttls):
11924 Avoid emitting a confusing error message when the server gives a bad
96f8741e
CY
11925 response to the capability command.
11926
b09a806e
GM
119272012-01-10 Glenn Morris <rgm@gnu.org>
11928
11929 * mail/unrmail.el (unrmail): Tweak previous change.
11930
7655cb66
CY
119312012-01-09 Chong Yidong <cyd@gnu.org>
11932
11933 * custom.el (custom-safe-themes): Use SHA-256 for hashing.
11934
9d5a8f0b
AM
119352012-01-08 Alan Mackenzie <acm@muc.de>
11936
11937 Optimise font locking in long enum definitions.
11938
11939 * progmodes/cc-fonts.el (c-font-lock-declarations): Add an extra
11940 arm to a cond form to handle enums.
11941 * progmodes/cc-langs.el (c-enums-contain-decls): New lang variable.
11942 * progmodes/cc-mode.el (c-font-lock-fontify-region): Correct a typo.
11943
9a0115ab 119442012-01-07 Paul Eggert <eggert@cs.ucla.edu>
6bb72cbd
PE
11945
11946 * files.el (move-file-to-trash): Preserve default file modes on error.
a0562b3d 11947 (Bug#10401)
6bb72cbd 11948
f186bb95
LMI
119492012-01-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
11950
29232a68
LMI
11951 * faces.el (set-face-attribute): Clarify the meaning of the nil
11952 frame (bug#10294).
11953
4e5d086d
LMI
11954 * subr.el (with-selected-frame): Mention that the selected frame
11955 is restored (bug#9980).
11956
8e66aebe
LMI
11957 * ibuffer.el (ibuffer-mode): List the bindings in the corrent map
11958 (bug#9759).
11959
cd394be1 11960 * mail/smtpmail.el (password-cache-add): Remove unused declaration.
f186bb95
LMI
11961 (password-read): Don't autoload unused function.
11962
adf4e762
JB
119632012-01-07 Juanma Barranquero <lekktu@gmail.com>
11964
11965 * progmodes/which-func.el (which-func-mode): Turn into a
11966 non-interactive function and mark as obsolete (bug#10428).
11967
89bd9ccd
CY
119682012-01-06 Chong Yidong <cyd@gnu.org>
11969
11970 * files.el (hack-dir-local-variables-non-file-buffer): Add doc.
11971 (hack-one-local-variable-eval-safep): Allow 0 arg for minor mode
11972 functions, along with 1 and -1.
11973
4afee9d5
EZ
119742012-01-06 Eli Zaretskii <eliz@gnu.org>
11975
11976 * time.el (display-time-load-average)
11977 (display-time-default-load-average): Doc fixes. See the thread
11978 starting at
11979 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-01/msg00059.html
11980 for the details.
11981
536aea70
GM
119822012-01-06 Glenn Morris <rgm@gnu.org>
11983
665ae865
GM
11984 * mail/unrmail.el (unrmail): Give an explicit error if the input file
11985 has no messages. (Bug#10377)
11986
c869783d
GM
11987 * info.el (Info-mode-map): Bind e to end-of-buffer, rather
11988 than Info-edit. (Bug#10385)
11989
2bb4227e
GM
11990 * time.el (display-time-load-average, display-time-next-load-average):
11991 Doc fixes.
11992
7d5944b9
GM
11993 * emacs-lisp/bytecomp.el (byte-compile-file): Do not propagate a file
11994 local setting of buffer-read-only to the input buffer. (Bug#10419)
11995
536aea70
GM
11996 * calendar/calendar.el (calendar-mode):
11997 Locally set scroll-margin to 0. (Bug#10379)
11998
7dccca16
UM
119992012-01-06 Ulrich Mueller <ulm@gentoo.org>
12000
12001 * play/doctor.el (doctor-death): Escape "," characters. (Bug#10370)
12002
afbb7930
GM
120032012-01-05 Glenn Morris <rgm@gnu.org>
12004
12005 * eshell/em-unix.el (diff-no-select): Autoload it.
12006 (eshell/diff): Use diff-no-select. (Bug#10420)
12007
04482335
CY
120082012-01-05 Chong Yidong <cyd@gnu.org>
12009
7baca3bc
CY
12010 * shell.el (shell-dynamic-complete-functions): Revert last change.
12011 (shell-command-completion-function): New function.
12012 (shell-completion-vars): Use it to implement
12013 shell-completion-execonly (Bug#10417).
12014
04482335
CY
12015 * custom.el (enable-theme): Don't set custom-safe-themes.
12016
1d00653d
SM
12017 * cus-theme.el (custom-theme-merge-theme):
12018 Ignore custom-enabled-themes and custom-safe-themes.
04482335 12019
bb5aa5d6
MM
120202012-01-05 Michael R. Mauger <mmaug@yahoo.com>
12021
12022 * progmodes/sql.el (sql-login-hook): Add hook to respond to the
12023 first prompt in `sql-interacive-mode'.
12024 (sql-mode-oracle-font-lock-keywords): Add CONNECT_BY_* builtin
04482335 12025 keywords.
6df6ae42 12026 (sql-mode-mysql-font-lock-keywords): Add ELSEIF keyword.
bb5aa5d6
MM
12027 (sql-product-interactive): Bug fix: Set `sql-buffer' in
12028 context of original buffer. Invoke `sql-login-hook'.
12029
a7183d7c
EZ
120302012-01-04 Eli Zaretskii <eliz@gnu.org>
12031
12032 * mail/rmail.el (rmail-font-lock-keywords): Accept non-ASCII
12033 letters in cite-prefix.
12034
a1eacd1e
LMI
120352012-01-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
12036
12037 * mail/smtpmail.el (smtpmail-stream-type): Mention the `ssl' value.
12038
787cdb34
CY
120392012-01-03 Chong Yidong <cyd@gnu.org>
12040
1d00653d
SM
12041 * shell.el (shell-dynamic-complete-functions):
12042 Put pcomplete-completions-at-point, so as to try
787cdb34
CY
12043 comint-filename-completion first (Bug#10417).
12044
30710442
RS
120452012-01-02 Richard Stallman <rms@gnu.org>
12046
12047 * battery.el (battery-status-function):
12048 Detect when to use battery-yeeloong-sysfs.
12049 (battery-echo-area-format): Add string for Yeeloong.
12050 (battery-linux-proc-apm, battery-linux-proc-acpi): Doc fixes.
12051 (battery-yeeloong-sysfs): New function.
12052
f75bfc33
CY
120532012-01-02 Chong Yidong <cyd@gnu.org>
12054
12055 * dirtrack.el (dirtrack-list): Eliminate unused third element.
12056 (dirtrack): Merge code for handling relative filenames in prompt
12057 from shell-dir-cookie-watcher.
12058 (dirtrack-debug-message): New arg to avoid excess format calls.
12059
12060 * shell.el (shell-dir-cookie-re): Variable deleted.
12061 (shell-dir-cookie-watcher): Function deleted.
12062 (shell-mode): Don't use shell-dir-cookie-re, since it is redundant
12063 with dirtrack-mode.
12064
651e947e
EZ
120652012-01-01 Eli Zaretskii <eliz@gnu.org>
12066
1d00653d
SM
12067 * term/w32-win.el (dynamic-library-alist) <gnutls>:
12068 Load libgnutls-28.dll, from GnuTLS version 3.x, in preference to
651e947e
EZ
12069 libgnutls-26.dll.
12070
94d4c7dc
AS
120712011-12-31 Andreas Schwab <schwab@linux-m68k.org>
12072
12073 * emacs-lisp/bytecomp.el (byte-compile-file): Fix indentation.
12074
8d43f3cd
EZ
120752011-12-31 Eli Zaretskii <eliz@gnu.org>
12076
12077 * mail/rmail.el (rmail-show-message-1): Decode any RFC2047 encoded
12078 headers of non-MIME messages, when rmail-enable-mime is non-nil.
12079
98c8795a
MA
120802011-12-29 Michael Albinus <michael.albinus@gmx.de>
12081
12082 * net/tramp-sh.el (tramp-find-shell): Set "remote-shell" property
12083 also for alternative shells.
12084 (tramp-open-connection-setup-interactive-shell): Check, whether
12085 the shell is a busybox.
12086 (tramp-send-command): Don't suppress multiple prompts for
12087 busyboxes, it hurts.
12088
51281b32
CY
120892011-12-28 Chong Yidong <cyd@gnu.org>
12090
12091 * progmodes/gdb-mi.el (gdb-get-source-file-list)
12092 (gdb-get-source-file): Move mode line update to
12093 gdb-get-source-file (Bug#10087).
12094
2170cb53
CY
120952011-12-25 Chong Yidong <cyd@gnu.org>
12096
12097 * progmodes/gud.el (gud-gdb-fetch-lines-filter): Just use
12098 gud-gdb-marker-filter without taking it as an argument.
12099 (gud-gdb-run-command-fetch-lines): Caller changed.
12100 (gud-gdb-completion-function): New variable.
12101 (gud-gdb-completion-at-point): Use it.
12102 (gud-gdb-completions-1): Split from gud-gdb-completions.
12103
12104 * progmodes/gdb-mi.el (gdb-input): Accept command and handler
12105 function as separate arguments.
12106 (gdb-init-1, gdb-non-stop-handler, gdb-check-target-async)
12107 (gdb-tooltip-print-1, gud-watch, gdb-speedbar-update)
12108 (gdb-var-list-children, gdb-var-set-format, gdb-var-delete-1)
12109 (gdb-var-delete-children, gdb-edit-value, gdb-var-update)
12110 (gdb-stopped, def-gdb-auto-update-trigger)
12111 (gdb-place-breakpoints, gdb-select-thread, gdb-select-frame)
b81d40f0
JB
12112 (gdb-get-changed-registers, gdb-get-main-selected-frame):
12113 Callers changed.
2170cb53
CY
12114 (gud-gdbmi-completions): New function.
12115 (gdb): Use it for generating the completion table.
12116
be8b11bb
AM
121172011-12-24 Alan Mackenzie <acm@muc.de>
12118
12119 Introduce a mechanism to widen the region used in context font
1d00653d 12120 locking. Use this to protect declarations from losing their contexts.
be8b11bb 12121
1d00653d
SM
12122 * progmodes/cc-langs.el (c-before-font-lock-functions):
12123 Replace c-set-fl-decl-start with c-change-set-fl-decl-start (Renaming).
b81d40f0 12124 (c-before-context-fontification-functions): New defvar, a list of
be8b11bb
AM
12125 functions to be run just before context (etc.) font locking.
12126
12127 * progmodes/cc-mode.el (c-extend-font-lock-region-for-macros):
b81d40f0 12128 New, functionality extracted from
be8b11bb 12129 c-neutralize-syntax-in-and-mark-CPP.
b81d40f0 12130 (c-in-after-change-fontification): New variable.
be8b11bb
AM
12131 (c-after-change): Set c-in-after-change-fontification.
12132 (c-set-fl-decl-start): Rejig its interface, so it can be called
12133 from both after-change and context fontifying.
b81d40f0
JB
12134 (c-change-set-fl-decl-start, c-context-set-fl-decl-start):
12135 New functions.
12136 (c-standard-font-lock-fontify-region-function): New variable.
12137 (c-font-lock-fontify-region): New function.
be8b11bb 12138
341cf6ac
JL
121392011-12-24 Juri Linkov <juri@jurta.org>
12140
12141 * window.el (window--state-get-1): Set `FORCE' arg of `mark' to t.
12142 (Bug#10348)
12143
bffcee0a
MA
121442011-12-23 Michael Albinus <michael.albinus@gmx.de>
12145
12146 * net/ange-ftp.el (ange-ftp-copy-file-internal): Check for
12147 existence of source file. (Bug#10325)
12148
cb5e207c
AM
121492011-12-23 Alan Mackenzie <acm@muc.de>
12150
12151 Fix unstable fontification inside templates.
12152
b81d40f0
JB
12153 * progmodes/cc-langs.el (c-before-font-lock-functions):
12154 Newly created from the singular version. The (c c++ objc) entry now
cb5e207c
AM
12155 additionally has c-set-fl-decl-start. The other languages (apart
12156 from AWK) have that as a single entry.
12157
b81d40f0
JB
12158 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
12159 The functionality for "local" declarations has been extracted to
cb5e207c
AM
12160 c-set-fl-decl-start.
12161
b81d40f0
JB
12162 * progmodes/cc-mode.el (c-common-init, c-after-change):
12163 Changes due to pluralisation of c-before-font-lock-functions.
cb5e207c
AM
12164 (c-set-fl-decl-start): New function, extracted from
12165 c-font-lock-enclosing-decls and enhanced.
12166
60ff536c
JB
121672011-12-23 Juanma Barranquero <lekktu@gmail.com>
12168
12169 * desktop.el (desktop-internal-v2s): Fix typos in docstring (bug#10353).
12170
1c4757d6
JL
121712011-12-22 Juri Linkov <juri@jurta.org>
12172
12173 * progmodes/grep.el (rgrep): Fix docstring. (Bug#10185)
12174
d031f2c7
CY
121752011-12-22 Chong Yidong <cyd@gnu.org>
12176
12177 * vc/vc-hooks.el (vc-keep-workfiles): Doc fix.
12178
bace743a
DA
121792011-12-21 Drew Adams <drew.adams@oracle.com>
12180
12181 * files.el (file-remote-p): Fix docstring. (Bug#10319)
12182
728a1f2b
JC
121832011-12-21 Jérémy Compostella <jeremy.compostella@gmail.com>
12184
12185 * battery.el (battery-linux-sysfs): Add missing parameters from acpi.
12186
0d373f73
TZ
121872011-12-21 Teodor Zlatanov <tzz@lifelogs.com>
12188
fec0aaa4
TZ
12189 * progmodes/cfengine.el: Add Version. Improve CFEngine 3.x syntax
12190 highlighting and support. Fix up comments for capitalization.
12191 (cfengine-mode-debug): New var.
12192 (cfengine3-mode): Change the modeline indicator to "CFE3".
12193 (cfengine3-font-lock-keywords): Improve defun highlighting.
12194 (cfengine2-actions): Rename from `cfengine-actions'.
12195 (cfengine2-font-lock-keywords): Rename from
12196 `cfengine-font-lock-keywords'.
12197 (cfengine2-imenu-expression): Rename from
12198 `cfengine-imenu-expression'.
12199 (cfengine2-outline-level): Rename from `cfengine-outline-level'.
12200 (cfengine2-beginning-of-defun): Rename from
12201 `cfengine-beginning-of-defun'.
12202 (cfengine2-end-of-defun): Rename from `cfengine-end-of-defun'.
12203 (cfengine2-indent-line): Rename from `cfengine-indent-line'.
12204 (cfengine2-mode): Rename from `cfengine-mode'. Change the
12205 modeline indicator to "CFE2".
12206 (cfengine-mode): Defalias to `cfengine-auto-mode'.
12207 (cfengine-mode-abbrevs): Mark obsolete.
0d373f73 12208
bc86f573
CY
122092011-12-21 Chong Yidong <cyd@gnu.org>
12210
12211 * vc/vc-bzr.el (vc-bzr-rename-file): Don't pass ~ to Bzr in
12212 filename argument.
12213
d45ba96b
MR
122142011-12-20 Martin Rudalics <rudalics@gmx.at>
12215
12216 * window.el (window-normalize-buffer-to-display): Remove.
12217 (display-buffer): Handle buffer-or-name argument as in Emacs 23.
12218
a6198c90
CY
122192011-12-19 Chong Yidong <cyd@gnu.org>
12220
12221 * vc/vc-dir.el (vc-dir-parent-marked-p, vc-dir-children-marked-p):
12222 Don't signal an error in a predicate function; return non-nil.
12223 (vc-dir-mark-file): Move the error here.
12224 (vc-dir-mark-unmark): If acting on the region, keep going if one
12225 of the entries cannot be marked/unmarked.
12226 (vc-dir-mark-all-files): If current entry is a directory, mark
12227 only child files, as documented.
12228
34c5fb55
VB
122292011-12-19 Vincent Belaïche <vincentb1@users.sourceforge.net>
12230
12231 * ses.el: Ooops... undo changes of 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net, as trunk
12232 branch is feature frozen, and 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net was a feature
12233 addition.
12234
c803b2b7
JD
122352011-12-18 Jan Djärv <jan.h.d@swipnet.se>
12236
12237 * term/ns-win.el (ns-get-selection-internal)
12238 (ns-store-selection-internal): Declare.
1154d12e
JB
12239 (ns-store-cut-buffer-internal, ns-get-cut-buffer-internal):
12240 Declare as obsolete.
12241 (ns-get-pasteboard, ns-paste-secondary):
12242 Use ns-get-selection-internal.
41e9b956 12243 (ns-set-pasteboard, ns-copy-including-secondary):
1154d12e 12244 Use ns-store-selection-internal.
c803b2b7 12245
9cff91f8 122462011-12-17 Chong Yidong <cyd@gnu.org>
99a289d9
CY
12247
12248 * vc/vc.el (vc-next-action): Doc fix; remove CVS-isms.
9cff91f8 12249 (vc-deduce-fileset): Doc fix.
99a289d9 12250
f16c898a
AS
122512011-12-16 Andreas Schwab <schwab@linux-m68k.org>
12252
12253 * calc/calc-misc.el (calc-help): Avoid wrapping help message.
12254
763237c4
SS
122552011-12-13 Sam Steingold <sds@gnu.org>
12256
12257 * man.el (Man-getpage-in-background): When running under a
12258 window-system, ignore $MANWIDTH and $COLUMNS.
12259
5fc1c122
KH
122602011-12-15 Kenichi Handa <handa@m17n.org>
12261
12262 * language/ethio-util.el: Change coding tag to utf-8-emacs.
12263 (setup-ethiopic-environment-internal): Comment out key-binding for
12264 ethio-toggle-punctuation.
12265
13d49cbb
AM
122662011-12-13 Alan Mackenzie <acm@muc.de>
12267
898169a2
AM
12268 Add the switch statement to AWK Mode.
12269
7a71b18d 12270 * progmodes/cc-awk.el (awk-font-lock-keywords): Add "switch", "case",
898169a2
AM
12271 "default" to the keywords regexp.
12272
7a71b18d 12273 * progmodes/cc-langs.el (c-label-kwds): Let AWK take the same
898169a2 12274 expression as the rest.
1d00653d
SM
12275 (c-nonlabel-token-key): Allow string literals for AWK.
12276 Refactor for the other modes.
898169a2 12277
13d49cbb 12278 Large brace-block initialisation makes CC Mode slow: Fix.
1d00653d 12279 Tidy up and accelerate c-in-literal, etc. by using the c-parse-state
13d49cbb
AM
12280 routines. Limit backward searching in c-font-lock-enclosing.decl.
12281
12282 * progmodes/cc-engine.el (c-state-pp-to-literal): Return the
12283 pp-state and literal type in addition to the limits.
1d00653d 12284 (c-state-safe-place): New defun, extracted from c-state-literal-at.
13d49cbb 12285 (c-state-literal-at): Use the above new defun.
1d00653d
SM
12286 (c-slow-in-literal, c-fast-in-literal): Remove.
12287 (c-in-literal, c-literal-limits): Amend to use c-state-pp-to-literal.
13d49cbb
AM
12288
12289 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Check for
12290 being in a literal. Add a limit for backward searching.
12291
12292 * progmodes/cc-mode.el (awk-mode): Don't alias c-in-literal to
12293 c-slow-in-literal.
12294
15e0efc7
SM
122952011-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
12296
12297 * progmodes/pascal.el: Declare `ind' as dyn-bound (bug#10264).
12298
454592a6
MR
122992011-12-13 Martin Rudalics <rudalics@gmx.at>
12300
12301 * window.el (delete-other-windows): Use correct frame in call to
12302 window-with-parameter.
12303
87393f26
DP
123042011-12-12 Daniel Pfeiffer <occitan@t-online.de>
12305
12306 * progmodes/make-mode.el: Bring it up to date with makepp V2.0.
12307 (makefile-make-font-lock-keywords): Extend meaning of `keywords'.
12308 (makefile-gmake-statements, makefile-makepp-statements):
12309 Use it and add new makepp keywords.
12310 (makefile-makepp-font-lock-keywords): Add new patterns.
12311 (makefile-match-function-end): Match new [...] and [[...]].
12312
11636b22
JB
123132011-12-11 Juanma Barranquero <lekktu@gmail.com>
12314
12315 * ses.el (ses-call-printer-return, ses-cell-property-get)
12316 (ses-sym-rowcol, ses-printer-validate, ses-formula-record)
12317 (ses-create-cell-variable, ses-reset-header-string)
12318 (ses-cell-set-formula, ses-repair-cell-reference-all)
12319 (ses-self-reference-early-detection, ses-in-print-area, ses-set-curcell)
12320 (ses-check-curcell, ses-call-printer, ses-adjust-print-width)
12321 (ses-print-cell-new-width, ses-formula-references, ses-relocate-formula)
12322 (ses-aset-with-undo, ses-load, ses-truncate-cell)
12323 (ses-read-column-printer, ses-read-default-printer, ses-insert-row)
12324 (ses-delete-row, ses-delete-column, ses-append-row-jump-first-column)
12325 (ses-kill-override, ses-yank-pop, ses-yank-cells, ses-yank-tsf)
12326 (ses-yank-resize, ses-export-tab, ses-mark-row, ses-mark-column)
12327 (ses-renarrow-buffer, ses-insert-range, ses-insert-ses-range)
12328 (ses-safe-printer, ses-safe-formula, ses-warn-unsafe, ses--clean-!)
12329 (ses--clean-_, ses-range, ses-select, ses-center, ses-center-span)
12330 (ses-dashfill, ses-unsafe): Fix typos and reflow docstrings.
12331
cf018193
VB
123322011-12-11 Vincent Belaïche <vincentb1@users.sourceforge.net>
12333
12334 * ses.el: The overall change is to add cell renaming, that is
12335 setting fancy names for cell symbols other than name matching
12336 "\\`[A-Z]+[0-9]+\\'" regexp .
12337 (ses-create-cell-variable): New defun.
12338 (ses-relocate-formula): Relocate formulas only for cells the
12339 symbols of which are not renamed, i.e. symbols whose names do not
12340 match regexp "\\`[A-Z]+[0-9]+\\'".
12341 (ses-relocate-all): Relocate values only for cells the symbols of
12342 which are not renamed.
12343 (ses-load): Create cells variables as the (ses-cell ...) are read,
12344 in order to check row col consistency with cell symbol name only
12345 for cells that are not renamed.
12346 (ses-replace-name-in-formula): New defun.
12347 (ses-rename-cell): New defun.
12348
ee957461
CY
123492011-12-11 Chong Yidong <cyd@gnu.org>
12350
12351 * progmodes/gdb-mi.el (gdb): Set comint-prompt-regexp, required
12352 for completion via gud-gdb-fetch-lines-filter (Bug#10274).
12353
9a9e9ef0
MR
123542011-12-11 Eric Hanchrow <eric.hanchrow@gmail.com>
12355
12356 * window.el (other-window): Fix docstring.
12357
92a8eba5
EZ
123582011-12-10 Eli Zaretskii <eliz@gnu.org>
12359
12360 * mail/rmailsum.el (rmail-header-summary): RFC2047 decode the
1d00653d
SM
12361 `from' or `to' address before taking its substring.
12362 Fixes incorrect display in Rmail summary buffer whereby an RFC2047
92a8eba5
EZ
12363 encoded name is chopped in the middle of the encoded string, and
12364 thus displayed encoded.
12365
e152e577
JB
123662011-12-10 Juanma Barranquero <lekktu@gmail.com>
12367
12368 * makefile.w32-in (update-subdirs-CMD): Use a Local Variables section.
12369
e5d84bfe
EZ
123702011-12-10 Eli Zaretskii <eliz@gnu.org>
12371
12372 * textmodes/texnfo-upd.el: Update commentary. Add a warning not
12373 to use texinfo-update-node and commands that call it if the
12374 Texinfo file uses @node lines without next/prev/up pointers.
b8830d28 12375 Correct outdated description about texinfo-master-menu.
e5d84bfe
EZ
12376 (texinfo-all-menus-update, texinfo-master-menu)
12377 (texinfo-update-node, texinfo-every-node-update)
12378 (texinfo-multiple-files-update): Doc fix. Warn against updating
12379 all the @node lines.
12380 (texinfo-master-menu): Only call texinfo-update-node if the prefix
b8830d28
EZ
12381 argument is numeric. Explain better in the doc string what the
12382 function really does.
12383 (texinfo-insert-master-menu-list): Improve the error message
12384 displayed if there's no menu in the Top node.
12385 (Bug#2975) See also this thread:
e5d84bfe
EZ
12386 http://lists.gnu.org/archive/html/emacs-devel/2011-12/msg00156.html.
12387
1d84e9bb
MG
123882011-12-09 Manuel Gómez <mgrojo@gmail.com> (tiny change)
12389
12390 * speedbar.el (speedbar-supported-extension-expressions):
12391 Add .adb and .ads, commonly used for Ada source code (bug#10256).
12392
382c953b
JB
123932011-12-09 Juanma Barranquero <lekktu@gmail.com>
12394
12395 * printing.el (pr-mode-alist):
12396 * simple.el (filter-buffer-substring-functions)
12397 (completion-list-insert-choice-function):
12398 * window.el (window-with-parameter, window-atom-root)
12399 (window-sides-slots, window-size-fixed, window-min-delta)
12400 (window-max-delta, window--resize-mini-window)
12401 (window--resize-child-windows-normal, window-tree)
12402 (delete-other-windows, quit-window, split-window)
12403 (display-buffer-record-window, special-display-buffer-names)
12404 (special-display-regexps, special-display-popup-frame)
12405 (same-window-p, split-window-sensibly)
12406 (display-buffer-overriding-action, display-buffer-alist)
12407 (display-buffer-base-action, display-buffer, switch-to-buffer)
12408 (switch-to-buffer-other-window, switch-to-buffer-other-frame)
12409 (fit-window-to-buffer, recenter-positions)
12410 (mouse-autoselect-window-state, mouse-autoselect-window-select):
12411 * emacs-lisp/syntax.el (syntax-propertize-function): Fix typos
12412 and remove unneeded backslashes in docstrings.
12413
39c9faef
SM
124142011-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
12415
98449af8
SM
12416 * emacs-lisp/lisp-mode.el (defmethod): Add doc-string-elt (bug#10244).
12417
39c9faef
SM
12418 * pcmpl-gnu.el: Don't fail when there is no Makefile nor -f arg.
12419 (pcmpl-gnu-makefile-regexps): Accept "makefile" as well as files that
12420 end in ".mk".
12421 (pcmpl-gnu-make-rule-names): Check "makefile" and ignore errors
12422 when reading the makefile (bug#10116).
12423
86ed9fdc
SM
124242011-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
12425
12426 * pcmpl-gnu.el (pcomplete/make): Also allow filename arguments
12427 (bug#10116).
12428
5580f89d
GM
124292011-12-06 Glenn Morris <rgm@gnu.org>
12430
12431 * emacs-lisp/package.el (package-archives): Doc fix re riskiness.
12432
28d3917c
CY
124332011-12-06 Chong Yidong <cyd@gnu.org>
12434
12435 * progmodes/cc-fonts.el (c-annotation-face): Use defface.
12436
a98edce9
JB
124372011-12-06 Juanma Barranquero <lekktu@gmail.com>
12438
12439 * textmodes/table.el (table-shorten-cell): Fix typo.
12440
e65adfac
CG
124412011-12-05 Christopher Genovese <genovese.cr@gmail.com> (tiny change)
12442
12443 * emacs-lisp/assoc.el (aput): Fix return value (bug#10146)
12444
71cc0b74
EZ
124452011-12-05 Eli Zaretskii <eliz@gnu.org>
12446
12447 * descr-text.el (describe-char): Fix display of strong
12448 right-to-left characters and directional embeddings and overrides.
12449
12450 * simple.el (what-cursor-position): Fix display of codepoints of
12451 strong right-to-left characters.
12452
315bc30d
CY
124532011-12-05 Chong Yidong <cyd@gnu.org>
12454
12455 * faces.el (read-color): Doc fix.
12456
58a70b94
GM
124572011-12-05 Glenn Morris <rgm@gnu.org>
12458
12459 * align.el (align--set-marker): Add doc-string.
12460 Don't try to move something that is not a marker. (Bug#10216)
12461
5158face
GM
124622011-12-04 Glenn Morris <rgm@gnu.org>
12463
12464 * calendar/appt.el (appt-add): Rewrite the interactive-spec to avoid
12465 overly zealous deletion of trailing whitespace.
12466
520fca41
JB
124672011-12-04 Juanma Barranquero <lekktu@gmail.com>
12468
12469 * server.el (server-delete-client): On Windows, do not try to delete
12470 the only terminal.
12471 (server-process-filter): On Windows, treat requests for a tty frame as
12472 if they were for a GUI frame if the running server is in GUI mode.
12473
5e605a2e
GM
124742011-12-03 Glenn Morris <rgm@gnu.org>
12475
12476 * textmodes/texinfmt.el (batch-texinfo-format): Doc fix. (Bug#10207)
12477
5c3fe83f
SM
124782011-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
12479
6f5e57e7
SM
12480 * electric.el: Streamline electric-indent's hook.
12481 (electric-indent-chars): Revert to simple list.
12482 (electric-indent-functions): New var.
12483 (electric-indent-post-self-insert-function): Use it.
12484
5c3fe83f
SM
12485 * progmodes/prolog.el (prolog-find-value-by-system): Avoid error when
12486 there's no inferior buffer (bug#10196).
12487 (prolog-consult-compile): Don't use toggle-read-only.
12488
6bdac736
MA
124892011-12-02 Michael Albinus <michael.albinus@gmx.de>
12490
12491 * net/tramp-sh.el (tramp-maybe-open-connection): Handle user
12492 interrupt. (Bug#10187)
12493
6131ba7f
SM
124942011-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
12495
99c79fee
SM
12496 * pcmpl-gnu.el (pcomplete/tar): large-file-warn-threshold can be nil
12497 (bug#9160).
12498
6131ba7f
SM
12499 * dired-aux.el (dired-query): Don't assume help-char is modifier-free
12500 (bug#10191).
12501
cb0a02ea
JL
125022011-12-02 Juri Linkov <juri@jurta.org>
12503
12504 * info.el (Info-search): Display "end of manual" when Isearch
12505 reaches the end of single-file Info manual. (Bug#9918)
12506
66e0570c
EZ
125072011-12-02 Eli Zaretskii <eliz@gnu.org>
12508
12509 * isearch.el (isearch-message-prefix): Run the input method part
12510 of the prompt through bidi-string-mark-left-to-right. (Bug#10183)
12511
02b16839
JL
125122011-12-02 Juri Linkov <juri@jurta.org>
12513
12514 * isearch.el (isearch-occur): Use `word-search-regexp' for
12515 `isearch-word'.
12516 (isearch-search-and-update): Add condition for `isearch-word' and
12517 call `word-search-regexp'. (Bug#10145)
12518
0b950688
GM
125192011-12-01 Glenn Morris <rgm@gnu.org>
12520
12521 * eshell/em-hist.el (eshell-hist-initialize):
12522 Handle eshell-history-size nil and HISTSIZE set or unset.
e8087a76 12523 (eshell-history-file-name, eshell-history-size): Fix custom type.
0b950688 12524
9505c3c7
SM
125252011-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
12526
12527 * man.el (Man-completion-table): Fix the lambda case (bug#10168).
12528
1bbe96b2 125292011-12-01 Michael McNamara <mac@mail.brushroad.com>
6288f0ca 12530
a1beca85
SM
12531 * progmodes/verilog-mode.el (verilog-pretty-expr):
12532 Rework verilog-pretty-expr to handle new assignment operators in system
6288f0ca
WS
12533 verilog, such as += *= and the like.
12534 (verilog-assignment-operator-re): Regular expression to find the
12535 assigment operator in a verilog assignment.
12536 (verilog-assignment-operation-re): Regular expression to find an
12537 assignment statement for pretty-expr.
12538 (verilog-in-attribute-p): Query returns true if point is in an
12539 attribute context; used to skip these for expression line up from
12540 pretty-expr.
12541 (verilog-in-parameter-p): Query returns true if point is in an
12542 parameter definition context; used to skip these for expression
12543 line up from pretty-expr.
12544 (verilog-in-parenthesis-p): Query returns true if point is in a
12545 parenthetical expression, specifically ( ) but not [ ] or { };
12546 used by pretty-expr.
12547 (verilog-just-one-space): If there is no space, don't add one.
12548 (verilog-get-lineup-indent-2): Specifically skip just attribute
12549 contexts for expression lineup, rather than skipping all
12550 parenthetical expressions.
12551 (verilog-calculate-indent): Fix comment, and fix indent.
12552 (verilog-do-indent): Indent declarations in lists (suggested by
12553 Joachim Lechner).
12554 (verilog-mode-abbrev-table): Populate abbrev mode with the various
12555 skeleton items.
12556 (verilog-sk-ovm-class): Add skeleton for OVM classes (reported
12557 by Alain Mellan).
12558
1bbe96b2 125592011-12-01 Wilson Snyder <wsnyder@wsnyder.org>
6288f0ca
WS
12560
12561 * progmodes/verilog-mode.el (verilog-read-defines): Fix reading
12562 parameters with embedded comments. Reported by Ray Stevens.
12563 (verilog-calc-1, verilog-fork-wait-re) (verilog-forward-sexp,
12564 verilog-wait-fork-re): Fix indentation of "wait fork", bug407.
12565 Reported by Tim Holt.
12566 (verilog-auto): Fix AUTOing a upper module then AUTOing module
12567 instantiated by upper module causing wrong expansion until AUTOed a
12568 second time. Reported by K C Buckenmaier.
12569 (verilog-diff-auto): Fix showing .* as a difference when
12570 `verilog-auto-star-save' off. Reported by Dan Dever.
12571 (verilog-auto-reset, verilog-read-always-signals)
12572 (verilog-auto-reset-blocking-in-non): Fix AUTORESET including
12573 temporary signals in reset list if
12574 verilog-auto-reset-blocking-in-non is nil, and match assignment
a1beca85
SM
12575 style to each signal's assignment type, bug381.
12576 Reported by Thomas Esposito.
6288f0ca
WS
12577 (verilog-sk-uvm-class, verilog-uvm-begin-re, verilog-uvm-end-re)
12578 (verilog-uvm-statement-re): Support UVM indentation and
12579 highlighting, with old OVM keywords only.
a1beca85 12580 (verilog-auto-tieoff, verilog-auto-tieoff-declaration):
1d00653d
SM
12581 Support AUTOTIEOFF creating non-wire data types.
12582 Suggested by Jonathan Greenlaw.
6288f0ca
WS
12583 (verilog-auto-insert-lisp, verilog-delete-to-paren)
12584 (verilog-forward-sexp-cmt, verilog-forward-sexp-ign-cmt)
12585 (verilog-inject-sense, verilog-read-inst-pins)
a1beca85
SM
12586 (verilog-read-sub-decls, verilog-read-sub-decls-line):
12587 Fix mismatching parenthesis inside commented out code when deleting
382c953b 12588 AUTOINST, bug383. Reported by Jonathan Greenlaw.
6288f0ca
WS
12589 (verilog-auto-ascii-enum): Fix AUTOASCIIENUM one-hot with
12590 non-numeric vector width. Reported by Alex Reed.
12591 (verilog-auto-ascii-enum): Add "onehot" option to work around not
382c953b 12592 detecting signals with parameter widths. Reported by Alex Reed.
a1beca85
SM
12593 (verilog-auto-delete-trailing-whitespace):
12594 With `verilog-auto-delete-trailing-whitespace' remove trailing
6288f0ca
WS
12595 whitespace in auto expansion, bug371. Reported by Brad Dobbie.
12596 (verilog-run-hooks, verilog-scan-cache-flush, verilog-syntax-ppss):
12597 Fix verilog-scan-cache corruption when running user AUTO expansion
12598 hooks that call indentation routines.
12599 (verilog-simplify-range-expression): Fix typo ignoring lower case
12600 identifiers.
12601 (verilog-delete-auto): Fix delete-autos to also remove user created
12602 automatics, as long as they start with AUTO.
12603 (verilog-batch-diff-auto, verilog-diff-auto)
12604 (verilog-diff-function): Add `verilog-diff-auto' and bind to
12605 "C-c?" to report differences in AUTO expansion, ignoring spaces.
12606 (verilog-backward-syntactic-ws-quick, verilog-beg-of-defun-quick)
12607 (verilog-in-paren-quick, verilog-re-search-backward-quick)
a1beca85
SM
12608 (verilog-re-search-forward-quick, verilog-syntax-ppss):
12609 Fix calling `syntax-ppss' when inside auto expansions as the ppss hook
6288f0ca
WS
12610 is disabled and its cache will get corrupt, causing AUTOS not to
12611 expand. Instead use only -quick functions.
12612 (verilog-scan-region): Fix scanning over escaped quotes.
12613 (verilog-inside-comment-or-string-p, verilog-inside-comment-p)
12614 (verilog-re-search-backward-quick)
12615 (verilog-re-search-forward-quick, verilog-scan): verilog-scan and
12616 related functions now ignore strings, to fix misparsing of strings
12617 with magic comments embedded in them.
a1beca85
SM
12618 (verilog-read-auto-template):
12619 Fix 'verilog-auto-inst-template-numbers' with extra newline before (.
12620 Reported by Brad Dobbie.
12621 (verilog-read-auto-template):
12622 Fix 'verilog-auto-inst-template-numbers' with comments.
6288f0ca 12623 Reported by Brad Dobbie.
6288f0ca
WS
12624 (verilog-auto-inst, verilog-auto-inst-param)
12625 (verilog-auto-inst-sort): Add 'verilog-auto-inst-sort' to reduce
12626 merge conflicts with AUTOINST, bug358. Reported by Brad Dobbie.
12627 (verilog-auto-inst-template-numbers): Add 'lhs' policy for
a1beca85
SM
12628 debugging templates without merge conflicts, bug357.
12629 Reported by Brad Dobbie.
12630 (verilog-read-auto-template):
12631 Fix verilog-auto-inst-template-numbers with multiple templates.
6288f0ca
WS
12632 Reported by Brad Dobbie.
12633 (verilog-define-abbrev): Fix verilog-mode abbrevs to be system
12634 abbrevs so user won't be asked to save.
12635 (verilog-read-auto-lisp-present): Fix to start at beginning of
12636 buffer in case called outside of verilog-auto.
12637 (verilog-simplify-range-expression): Fix AUTOWIRE expanding "X-1+1"
12638 to "X-2". Reported by Matthew Myers.
12639 (verilog-auto, verilog-auto-inout-in): Add AUTOINOUTIN for creating
12640 all inputs from module templates. Reported by Leith Johnson.
12641 (verilog-module-inside-filename-p): Fix locating programs as with
12642 modules.
12643 (verilog-auto-inst-port): Fix vl-width expressions when using
12644 verilog-auto-inst-param-value, bug331. Reported by Julian Gorfajn.
12645 (verilog-decls-get-regs, verilog-decls-get-signals,
12646 verilog-decls-get-vars, verilog-decls-get-wires, verilog-decls-new,
12647 verilog-modi-cache-add-vars, verilog-modi-cache-add-wires,
12648 verilog-read-decls): Combine reg and wire structures into one var
12649 structure to represent SystemVerilog concepts.
12650 (verilog-auto-ascii-enum, verilog-auto-logic, verilog-auto-reg)
12651 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-wire)
a1beca85
SM
12652 (verilog-auto-wire-type, verilog-insert-definition):
12653 Add verilog-auto-wire-type and AUTOLOGIC to support using
6288f0ca
WS
12654 SystemVerilog "logic" keyword instead of "wire"/"reg".
12655 (verilog-auto-reg-input, verilog-decls-get-signals): Fix AUTOWIRE
12656 to declares outputs that also have assignments (presumably in an
a1beca85
SM
12657 ifdef or generate if so there's not a driver conflict).
12658 Reported by Matthew Myers.
12659 (verilog-auto-declare-nettype, verilog-insert-definition):
12660 Add verilog-auto-declare-nettype to fix declarations using
6288f0ca
WS
12661 `default_nettype none. Reported by Julian Gorfajn.
12662 (verilog-read-always-signals-recurse, verilog-read-decls)
12663 (verilog-read-sub-decls-gate): Fix infinite loop with (*) and
12664 malformed end statement, bug325. Reported by Joshua Wise and
12665 Andrew Drake.
12666 (verilog-auto-star-safe, verilog-delete-auto-star-implicit)
12667 (verilog-inst-comment-re): Fix not deleting Interfaced comment
1d00653d
SM
12668 when expanding .* in interfaces, bug320.
12669 Reported by Pierre-David Pfister.
6288f0ca 12670 (verilog-read-module-name): Fix import statements between module
1d00653d
SM
12671 name and open parenthesis, bug317.
12672 Reported by Pierre-David Pfister.
6288f0ca
WS
12673 (verilog-simplify-range-expression): Fix simplification of
12674 multiplications inside AUTOWIRE connections, bug303.
12675 (verilog-auto-inst-port): Support parameter expansion in
12676 multidimensional arrays.
12677 (verilog-read-decls): Fix AUTOREG etc looking for "endproperty"
12678 after "assert property". Reported by Julian Gorfajn.
12679 (verilog-simplify-range-expression): Fix "couldn't merge" errors
12680 with multiplication, bug303.
12681 (verilog-read-decls): Fix parsing of unsigned data types, bug302.
12682 Reported by Jan Frode Lonnum.
12683
1bbe96b2
GM
126842011-11-30 Juanma Barranquero <lekktu@gmail.com>
12685
12686 * htmlfontify.el (hfy-page-header, hfy-post-html-hooks)
12687 (hfy-shell-file-name, hfy-shell):
12688 * international/fontset.el (x-decompose-font-name): Fix typos.
12689
126902011-11-29 Ken Brown <kbrown@cornell.edu>
12691
12692 * progmodes/gdb-mi.el: Fix bug#9853, bug#9858, and bug#9878.
12693 (gdb-version): Remove defvar.
12694 (gdb-supports-non-stop): New defvar, replacing `gdb-version'.
12695 (gdb-gud-context-command, gdb-non-stop-handler)
12696 (gdb-current-context-command, gdb-stopped): Use it.
12697 (gdb-init-1): Enable pretty printing here.
6131ba7f
SM
12698 (gdb-non-stop-handler): Don't enable pretty-printing here.
12699 Check to see if the target supports non-stop mode; if not, turn off
1bbe96b2
GM
12700 non-stop mode. Use the following.
12701 (gdb-check-target-async): New defun.
12702 (gud-watch, gdb-stopped): Fix whitespace.
12703 (gdb-get-source-file): Don't try to display the source file if
12704 `gdb-main-file' is nil.
12705
127062011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
12707
12708 * align.el: Try to generate fewer markers (bug#10047).
12709 (align--set-marker): New macro.
12710 (align-region): Use it.
12711
c935221f
SM
127122011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
12713
12714 * isearch.el (isearch-yank-x-selection): Deactivate mark (bug#10022).
12715
e70b5064
CY
127162011-11-29 Chong Yidong <cyd@gnu.org>
12717
12718 * indent.el (indent-for-tab-command, indent-according-to-mode):
12719 Doc fix.
12720 (indent-region): Doc fix. Switch nested ifs to equivalent cond.
12721
f3af92b7
MA
127222011-11-29 Michael Albinus <michael.albinus@gmx.de>
12723
12724 * vc/diff-mode.el (diff-find-file-name): Make `read-file-name'
12725 aware of remote file names. (Bug#10124)
12726
ed472be9
CY
127272011-11-29 Chong Yidong <cyd@gnu.org>
12728
12729 * frame.el (auto-raise-mode, auto-lower-mode): Doc fix.
12730
24510c22
SM
127312011-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
12732
12733 * files.el (find-file): Don't use force-same-window (bug#10144).
12734 * window.el (switch-to-buffer): Better match Emacs-23 behavior and only
12735 use pop-to-buffer if the selected window can't be used.
12736 (pop-to-buffer-same-window): Use display-buffer--same-window-action.
12737
c60c3703
EZ
127382011-11-28 Eli Zaretskii <eliz@gnu.org>
12739
12740 * vc/diff-mode.el (diff-mode-map): Don't inherit 'z' => 'M-z' from
12741 special-mode-map.
12742
e95def75
CY
127432011-11-28 Chong Yidong <cyd@gnu.org>
12744
12745 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix default doc.
12746
c3f1c606
NR
127472011-11-27 Nick Roberts <nickrob@snap.net.nz>
12748
12749 * progmodes/gdb-mi.el (gdb-init-1): Condition execution of
12750 gdb-get-source-file-list on gdb-create-source-file-list.
12751
00db469c
EZ
127522011-11-26 Eli Zaretskii <eliz@gnu.org>
12753
12754 * whitespace.el (whitespace-newline): Use a different foreground
12755 color for 16-color light-background displays.
12756
4ad3bc2a
CY
127572011-11-24 Chong Yidong <cyd@gnu.org>
12758
12759 * window.el (display-buffer--special-action): Doc fix.
12760
e9fce1ac
JB
127612011-11-25 Juanma Barranquero <lekktu@gmail.com>
12762
12763 * emacs-lisp/avl-tree.el (avl-tree--do-copy, avl-tree-create)
12764 (avl-tree-compare-function, avl-tree-empty, avl-tree-enter)
12765 (avl-tree-delete, avl-tree-member, avl-tree-member-p, avl-tree-map)
12766 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar, avl-tree-copy)
12767 (avl-tree-clear, avl-tree-stack, avl-tree-stack-pop)
12768 (avl-tree-stack-first):
12769 * emacs-lisp/cconv.el (cconv--analyse-use):
12770 * net/gnutls.el (gnutls-negotiate): Fix typos.
12771
cb825e5d
GM
127722011-11-24 Glenn Morris <rgm@gnu.org>
12773
3adbe224
GM
12774 * lpr.el (lpr-windows-system, lpr-lp-system):
12775 * mail/binhex.el (binhex-begin-line):
12776 * progmodes/grep.el (grep-history, grep-find-history):
12777 * textmodes/flyspell.el:
12778 * vc/pcvs-defs.el (cvs-global-menu):
12779 * vc/vc-bzr.el (vc-bzr-admin-checkout-format-file):
12780 * vc/vc-mtn.el (vc-mtn-admin-dir, vc-mtn-admin-format):
12781 * vc/vc-cvs.el (vc-cvs-registered): Give them basic doc-strings.
12782
321decc8
GM
12783 * net/tls.el: Fix case of "GnuTLS".
12784
420b63ad
GM
12785 * paths.el (rmail-file-name): Format doc-string for make-docfile.
12786
cb825e5d
GM
12787 * version.el (emacs-build-system): Give it a doc-string.
12788
a0649f08
JL
127892011-11-24 Juri Linkov <juri@jurta.org>
12790
12791 * view.el (view-buffer): Revert 2011-07-19T15:01:49Z!larsi@gnus.org from 2011-07-19 (bug#8615).
12792
c0bc0fd4
GM
127932011-11-24 Glenn Morris <rgm@gnu.org>
12794
12795 * mail/rmailmm.el (rmail-mime): When rmail-enable-mime is non-nil,
12796 if called on a non-mime message just toggle the headers. (Bug#8006)
12797
20db1522
JB
127982011-11-24 Juanma Barranquero <lekktu@gmail.com>
12799
12800 * allout.el (allout-setup, allout-auto-save-temporarily-disabled)
12801 (allout-lead-with-comment-string, allout-structure-deleted-hook)
12802 (allout-mode, allout-chart-subtree, allout-hotspot-key-handler)
12803 (allout-rebullet-heading, allout-open-sibtopic)
12804 (allout-toggle-current-subtree-encryption)
12805 (allout-toggle-subtree-encryption, allout-encrypt-string)
12806 (allout-next-topic-pending-encryption, allout-adjust-file-variable)
12807 (allout-distinctive-bullets-string, allout-auto-activation):
12808 * window.el (window-normalize-buffer-to-display):
12809 * progmodes/verilog-mode.el (verilog-batch-indent):
12810 * textmodes/bibtex.el (bibtex-field-braces-opt)
12811 (bibtex-field-strings-opt):
12812 * vc/cvs-status.el (cvs-tree-merge):
12813 Fix typos.
12814
7262a87c
MA
128152011-11-23 Michael Albinus <michael.albinus@gmx.de>
12816
12817 * rfn-eshadow.el (rfn-eshadow-update-overlay): Let-bind
12818 `non-essential' to t, in order to avoid remote connections.
12819
283430a1
EZ
128202011-11-23 Eli Zaretskii <eliz@gnu.org>
12821
a1beca85
SM
12822 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
12823 On MS-DOS and MS-Windows, compare with loaddefs.el
283430a1
EZ
12824 case-insensitively.
12825
d2992a38
ML
128262011-11-23 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
12827
12828 * mail/unrmail.el (unrmail): Always add blank line. (Bug#7743)
12829
50419064
GM
128302011-11-23 Glenn Morris <rgm@gnu.org>
12831
da94eca1
GM
12832 * paths.el (rmail-file-name): Reformat the doc-string so that it
12833 is picked up.
12834
9aac4de2
GM
12835 * mail/rmail.el (rmail-message-filter, rmail-auto-file): Doc fixes.
12836 (rmail-auto-file): Ignore case in the "special" field names,
12837 as mail-fetch-field does for all others.
12838
8038d2d2
GM
12839 * mail/rmail.el (rmail-forward):
12840 * mail/rmailkwd.el (rmail-set-label):
12841 * mail/rmailout.el (rmail-output, rmail-output-as-seen)
12842 (rmail-output-body-to-file): Give error if no message. (Bug#10082)
12843
f3fe222a
GM
12844 * mail/rmail.el (rmail-current-message): Doc fix.
12845
50419064
GM
12846 * mail/rmail.el (rmail-message-filter): Mark as obsolete. (Bug#2624)
12847
28109f49
SM
128482011-11-22 Stefan Monnier <monnier@iro.umontreal.ca>
12849
12850 * server.el (server-eval-and-print): Allow C-g (bug#6585).
12851
394c65f1
GM
128522011-11-22 Glenn Morris <rgm@gnu.org>
12853
12854 * mail/rmailmm.el (test-rmail-mime-handler)
12855 (test-rmail-mime-bulk-handler)
12856 (test-rmail-mime-multipart-handler): Move tests to test/ directory.
12857
f2a0aa3a
JL
128582011-11-21 Juri Linkov <juri@jurta.org>
12859
1154d12e
JB
12860 * calc/calc.el (calc-read-key-sequence):
12861 Let-bind `input-method-function' to nil. (Bug#10018)
f2a0aa3a 12862
9c34a344
LMI
128632011-11-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
12864
12865 * emacs-lisp/cl-indent.el (common-lisp-loop-part-indentation):
12866 Tell the caller that the next line needs recomputation, even
12867 though it doesn't start a sexp (bug#10094).
12868
f04a3be9
SM
128692011-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
12870
12871 * emacs-lisp/autoload.el (autoload-generate-file-autoloads): Simplify.
12872
7978747f
SM
128732011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
12874
f04a3be9
SM
12875 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
12876 Use force-same-window.
7978747f 12877
fe7a3057
JB
128782011-11-20 Juanma Barranquero <lekktu@gmail.com>
12879
12880 * descr-text.el (describe-char-unicode-data):
12881 * json.el (json-string-escape):
12882 * mail/footnote.el (footnote-unicode-string, footnote-unicode-regexp)
12883 (Footnote-unicode, Footnote-style-p):
12884 * net/ntlm.el (ntlm-get-password-hashes): Fix typos.
12885
24901d61
CY
128862011-11-20 Chong Yidong <cyd@gnu.org>
12887
12888 * window.el (replace-buffer-in-windows): Restore interactive spec.
12889
bac7ff22
SM
128902011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
12891
24f3d7b9
SM
12892 * electric.el (electric-indent-mode): Fix last change (too optimistic).
12893
bac7ff22
SM
12894 * emacs-lisp/bytecomp.el: Silence obsolete warnings more reliably.
12895 (byte-compile-global-not-obsolete-vars): New var.
12896 (byte-compile-check-variable, byte-compile-make-obsolete-variable):
12897 Use it.
12898 (byte-compile-warn-obsolete): Align text with the one in *Help*.
12899
cd1181db
JB
129002011-11-20 Juanma Barranquero <lekktu@gmail.com>
12901
12902 * progmodes/cwarn.el (cwarn-is-enabled, cwarn-font-lock-keywords):
12903 * progmodes/pascal.el (electric-pascal-equal):
12904 * textmodes/reftex-dcr.el (reftex-view-crossref-from-bibtex):
12905 * xml.el (xml-substitute-special): Fix typos.
12906
7fb18e9e
GM
129072011-11-20 Glenn Morris <rgm@gnu.org>
12908
12909 * mail/rmail.el (rmail-enable-mime-composing): Make it a defcustom.
12910 (rmail-insert-mime-forwarded-message-function, rmail-mime-feature):
12911 Doc fixes.
12912 (rmail-decode-mime-charset): Mark as obsolete.
12913
12914 * mail/rmailsum.el (rmail-message-regexp-p-1):
12915 * mail/rmail.el (rmail-search-message, rmail-forward, rmail-resend):
12916 Before using mime functions, check they are set. (Bug#10077)
12917
d5a6b3ba
JL
129182011-11-19 Juri Linkov <juri@jurta.org>
12919
12920 * info.el (Info-finder-find-node): Use `package--builtins' instead
12921 of `package-alist'. Use node names formed by the pattern "Keyword "
12922 and the keyword name.
12923
e981b61f
AS
129242011-11-19 Andreas Schwab <schwab@linux-m68k.org>
12925
1d00653d 12926 * progmodes/sh-script.el (sh-assignment-regexp): Add entry for bash.
e981b61f 12927
3ffbc301
JL
129282011-11-19 Juri Linkov <juri@jurta.org>
12929
12930 * info.el (Info-hide-note-references): Add `:set' tag to `defcustom'
12931 that calls `revert-buffer' on all Info buffers. (Bug#9915)
12932 (Info-revert-find-node): Remove let-bindings `old-buffer-name',
12933 `old-history', `old-history-forward'. Add let-binding
12934 `window-selected'. Remove calls to `kill-buffer',
12935 `switch-to-buffer' and `Info-mode'. Set `Info-current-file' to nil
12936 before calling `Info-find-node', so `Info-find-node-2' will reread
12937 the Info file. Restore window positions only when `window-selected'
12938 is non-nil.
12939
30c62133
JL
129402011-11-19 Juri Linkov <juri@jurta.org>
12941
12942 * isearch.el (isearch-lazy-highlight-new-loop):
12943 Remove condition `(not isearch-error)'. (Bug#9918)
12944
12945 * misearch.el (multi-isearch-search-fun): Add condition
12946 `(not bound)' to ignore lazy-highlighting search.
12947 Add the search-failed message "end of multi" when the end of
12948 multi-sequence is reached. Uncapitalize the search-failed
12949 message "Repeat for next buffer".
12950
12951 * info.el (Info-search): Add the search-failed message
12952 "end of the manual" when the end of the manual is reached
12953 in Isearch mode.
12954
645ca9cf
JL
129552011-11-19 Juri Linkov <juri@jurta.org>
12956
12957 * info.el (Info-find-node-2, Info-select-node, Info-history-find-node):
12958 Use non-destructive `remove' instead of `delete' because
12959 `Info-history-list' stored to `Info-isearch-initial-history-list' in
12960 `Info-isearch-start' might need to be restored in `Info-isearch-end'.
12961
df754f66
JL
129622011-11-19 Juri Linkov <juri@jurta.org>
12963
12964 * isearch.el (isearch-edit-string): Let-bind `history-add-new-input'
12965 to nil instead of binding `search-ring' and `regexp-search-ring'.
12966 (Bug#9185)
12967
0e23d96a
EZ
129682011-11-19 Eli Zaretskii <eliz@gnu.org>
12969
12970 * simple.el (line-move): Force movement by logical lines for any
12971 hscrolled window, not only when auto-hscroll-mode is on.
12972 (line-move-visual): Update doc string to that effect. (Bug#10076)
12973
8a6ccb66
AS
129742011-11-19 Andreas Schwab <schwab@linux-m68k.org>
12975
12976 * language/european.el (macintosh): Define as alias for mac-roman.
12977
49ae5b39
EZ
129782011-11-19 Eli Zaretskii <eliz@gnu.org>
12979
12980 * mail/rmailmm.el (rmail-mime-display-header)
12981 (rmail-mime-display-tagline, rmail-mime-display-body): New defsubsts.
12982 (rmail-mime-entity-segment, rmail-mime-toggle-raw)
12983 (rmail-mime-toggle-hidden, rmail-mime-insert-text)
12984 (rmail-mime-insert-bulk, rmail-mime-insert-multipart)
12985 (rmail-mime-insert, rmail-mime-insert-tagline): Use them instead
12986 of a raw aref.
12987 (rmail-mime-entity-segment): To get past the tagline, move forward
12988 2 more lines, to account for the 2 empty lines that precede and
12989 follow the line with the buttons.
12990 (rmail-mime-update-tagline): Move one more line, to get past the
12991 empty line that follows the buttons in the tagline. (Bug#9520)
12992
c56cad4a
MR
129932011-11-19 Martin Rudalics <rudalics@gmx.at>
12994
12995 * window.el (window-max-delta-1, window-min-delta-1)
12996 (window-min-size-1, window-state-get-1, window-state-put-1)
12997 (window-state-put-2): Use "window--" prefix.
12998
cbe71af3
SM
129992011-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
13000
2ad52c60
SM
13001 * emacs-lisp/smie.el: Improve warnings and conflict detection.
13002 (smie-warning-count): New var.
13003 (smie-set-prec2tab): Use it.
13004 (smie-bnf->prec2): Improve warnings. Add docstring.
13005 (smie-bnf--closer-alist): Rename from smie-bnf-closer-alist.
13006 (smie-bnf--set-class): New function.
13007 (smie-bnf--classify): Rename from smie-bnf-classify. Rewrite to fix
13008 corner case.
13009
6944dbc1
SM
13010 * progmodes/compile.el: Obey compilation-first-column in dest buffer.
13011 (compilation-error-properties, compilation-move-to-column):
13012 Handle compilation-first-column while in the target buffer.
13013
c400c4d7
SM
13014 * progmodes/cc-engine.el (c-remove-stale-state-cache-backwards):
13015 Don't hardcode point-min==1.
13016
6dbe3e96
SM
13017 * eshell/esh-cmd.el (eshell-do-eval): Handle `setq' (bug#9907).
13018 (eshell-rewrite-for-command): Remove workaround.
13019 (eshell-do-pipelines, eshell-do-pipelines-synchronously)
13020 (eshell-do-eval, eshell-exec-lisp): Avoid gratuitous setq.
13021 * eshell/esh-util.el (eshell-condition-case, eshell-for): Use declare.
13022
cbe71af3
SM
13023 * files-x.el (modify-file-local-variable): Obey commenting conventions.
13024
a8e1496d
GM
130252011-11-17 Glenn Morris <rgm@gnu.org>
13026
13027 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
13028 Ignore buffer-local generated-autoload-file if it is the same
13029 as the global value. (Bug#10049)
13030
df85d315
JB
130312011-11-17 Juanma Barranquero <lekktu@gmail.com>
13032
13033 * textmodes/reftex-toc.el (reftex-toc-return-marker, reftex-toc-help)
13034 (reftex-toc, reftex-toc, reftex-toc-dframe-p, reftex-toc-next-heading)
13035 (reftex-toc-previous-heading, reftex-toc-max-level)
13036 (reftex-toc-goto-line-and-hide, reftex-toc-show-calling-point)
13037 (reftex-toc-quit, reftex-toc-revert, reftex-toc-jump)
13038 (reftex-toc-do-promote, reftex-toc-promote-prepare)
13039 (reftex-toc-promote-action, reftex-toc-extract-section-number)
13040 (reftex-toc-load-all-files-for-promotion, reftex-toc-rename-label)
13041 (reftex-toc-rename-label, reftex-toc-visit-location)
13042 (reftex-toc-visit-location, reftex-toggle-auto-toc-recenter)
13043 (reftex-toggle-auto-toc-recenter, reftex-toggle-auto-toc-recenter)
13044 (reftex-make-separate-toc-frame): Fix typos, and use TOC consistently,
13045 leaving "*toc*" only for references to the buffer.
13046
a0c2d0ae
MR
130472011-11-17 Martin Rudalics <rudalics@gmx.at>
13048
13049 * window.el (window-resize, delete-window, split-window):
13050 Replace window-splits by window-combination-resize.
1d00653d 13051 * cus-start.el (window-splits): Replace by window-combination-resize.
a0c2d0ae 13052
35c0bac8
GM
130532011-11-17 Glenn Morris <rgm@gnu.org>
13054
13055 * progmodes/sh-script.el (sh-font-lock-keywords-var):
13056 Make bash entry derive from sh entry, not shell entry.
13057
d0c8fc8a
MA
130582011-11-16 Michael Albinus <michael.albinus@gmx.de>
13059
7262a87c
MA
13060 * net/tramp-sh.el (tramp-sh-handle-file-truename): Cache only the
13061 local file name.
13062
7877f373
JB
130632011-11-16 Juanma Barranquero <lekktu@gmail.com>
13064
13065 * menu-bar.el (menu-bar-file-menu):
13066 * printing.el (pr-ps-utility):
13067 * calendar/icalendar.el (icalendar, icalendar--convert-tz-offset)
13068 (icalendar--convert-to-ical, icalendar--convert-ordinary-to-ical)
13069 (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
13070 (icalendar--convert-sexp-to-ical, icalendar--convert-block-to-ical)
13071 (icalendar--convert-float-to-ical, icalendar--convert-date-to-ical)
13072 (icalendar--convert-cyclic-to-ical)
13073 (icalendar--convert-anniversary-to-ical, icalendar-import-buffer)
13074 (icalendar--convert-ical-to-diary)
13075 (icalendar--convert-recurring-to-diary)
13076 (icalendar--convert-non-recurring-all-day-to-diary)
13077 (icalendar-import-format-sample):
13078 * progmodes/idlw-shell.el (idlwave-shell-mode):
13079 * progmodes/vhdl-mode.el (vhdl-mode, vhdl-print-two-column)
13080 (vhdl-print-customize-faces, vhdl-mode, vhdl-ps-print-settings)
13081 (vhdl-ps-print-init): Fix typos.
13082
10649b82
KM
130832011-11-16 Ken Manheimer <ken.manheimer@gmail.com>
13084
9d0cfcd6
GM
13085 * allout.el, allout-widgets.el (file metadata): Attribute copyright to
13086 FSF and collapse date sequence, obscure author/maintainer email address
13087 better, remove extra version line, track relocation of author's webpage.
10649b82 13088
9d0cfcd6
GM
13089 * progmodes/python.el (python-pdbtrack-input-prompt)
13090 (python-pdbtrack-track-stack-file): Adjust to recognize ipdb as well as
13091 regular python pdb prompts. Adjustments shamelessly taken exactly as
13092 suggested in EmacsWiki page (tiny change):
13093 http://www.emacswiki.org/PythonProgrammingInEmacs#toc14
8642c216 13094
58179cce
JB
130952011-11-16 Juanma Barranquero <lekktu@gmail.com>
13096
13097 * expand.el (expand-pos, expand-index, expand-point):
13098 Remove redundant info from docstring.
13099 (expand-add-abbrevs): Doc fix.
13100 (expand-c-sample-expand-list, expand-sample-lisp-mode-expand-list)
13101 (expand-sample-perl-mode-expand-list): Fix typos.
13102
13103 * net/dbus.el (dbus-event-member-name):
13104 * play/5x5.el (5x5-solve-rotate-left, 5x5-solver-output):
13105 * term/pc-win.el (msdos-create-frame-with-faces):
13106 * textmodes/texinfmt.el (texinfo-format-image): Fix typos.
13107
b6f67890
MR
131082011-11-16 Martin Rudalics <rudalics@gmx.at>
13109
13110 * window.el (split-window, window-state-get-1)
13111 (window-state-put-1, window-state-put-2): Rename occurrences of
13112 window-nest to window-combination-limit.
1d00653d 13113 * cus-start.el (window-nest): Rename to window-combination-limit.
b6f67890 13114
ce7ddba0
CY
131152011-11-16 Chong Yidong <cyd@gnu.org>
13116
13117 * progmodes/autoconf.el (autoconf-mode): Fix comment-start-skip
13118 regexp (Bug#10033).
13119
3ae704f4
SM
131202011-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
13121
13122 * tmm.el (tmm-prompt): Use minibuffer-with-setup-hook (bug#10053).
13123 `completing-read' will remove *Completions* and will preserve
13124 current-buffer for us.
13125 (tmm-add-prompt): Users of *Completions* will always (re)set its
13126 major mode.
13127 (tmm-old-comp-map): Remove.
13128
6ad1cdde
GM
131292011-11-16 Glenn Morris <rgm@gnu.org>
13130
13131 * mail/rmailedit.el: Require rmailmm when compiling.
13132 (rmail-old-mime-state): New declaration.
13133 (rmail-edit-current-message): If editing a mime message,
13134 edit the "raw" message from the mbox buffer.
13135 (rmail-cease-edit): Handle mime messages. (Bug#9840)
13136
d20faa20
GM
131372011-11-15 Glenn Morris <rgm@gnu.org>
13138
13139 * mail/rmailmm.el (rmail-mime-toggle-raw): Remove entity arg,
13140 which wasn't being used. Add optional arg to force given state.
13141 (rmail-mime): Add optional arg to force given state.
13142
c7015153
JB
131432011-11-15 Juanma Barranquero <lekktu@gmail.com>
13144
13145 * allout.el (allout-encryption-plaintext-sanitization-regexps):
13146 * frame.el (display-mm-dimensions-alist):
13147 * outline.el (outline-mode-menu-bar-map, outline-move-subtree-up)
13148 (outline-move-subtree-down):
13149 * net/newst-treeview.el (newsticker--treeview-do-get-node-of-feed)
13150 (newsticker--treeview-do-get-node):
13151 * net/quickurl.el (quickurl-list-buffer-name):
13152 * progmodes/dcl-mode.el (dcl-mode):
13153 * progmodes/gdb-mi.el (gdb-mapcar*):
13154 * progmodes/sql.el (sql-mode-oracle-font-lock-keywords): Fix typos.
13155
45261b50
GM
131562011-11-15 Glenn Morris <rgm@gnu.org>
13157
13158 * mail/rmail.el (rmail-file-coding-system): It's only ever used
13159 in a boolean sense, so just make it a boolean, and fix the doc.
13160 (rmail-show-mime-function, rmail-mime-feature)
13161 (rmail-require-mime-maybe): Doc fixes.
13162 (rmail-show-message-1): Check rmail-show-mime-function is non-nil.
13163
13164 * mail/rmailmm.el (rmail-show-mime): Doc fix.
13165
0d26e0b6
JB
131662011-11-15 Juanma Barranquero <lekktu@gmail.com>
13167
13168 * epg.el (epg-start-decrypt, epg-start-verify, epg-start-sign)
13169 (epg-start-encrypt, epg-start-export-keys, epg-start-import-keys)
13170 (epg-start-receive-keys, epg-start-delete-keys, epg-start-sign-keys)
13171 (epg-start-generate-key, epg-context-set-progress-callback): Fix typos.
13172
447f30f6
GM
131732011-11-15 Glenn Morris <rgm@gnu.org>
13174
672b871d
GM
13175 * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-segment)
13176 (rmail-mime-shown-mode, rmail-mime-hidden-mode, rmail-mime-raw-mode)
13177 (rmail-mime-toggle-hidden, rmail-mime-insert-tagline)
13178 (rmail-mime-insert-header, rmail-mime-handle, rmail-mime-parse)
13179 (rmail-mime, rmail-show-mime): Doc fixes.
13180
f6aa5bb1
GM
13181 * term/ns-win.el (mode-line-frame-identification):
13182 Leave it alone. (Bug#10051)
13183
947cd66b
GM
13184 * simple.el (mark-whole-buffer): Doc fix. (Bug#10023)
13185
447f30f6
GM
13186 * mail/rmailout.el (rmail-output-to-rmail-buffer):
13187 Handle empty buffers. (Bug#9978)
13188
0b381c7e
JB
131892011-11-14 Juanma Barranquero <lekktu@gmail.com>
13190
13191 * international/mule.el (define-charset):
13192 * mail/rmailmm.el (rmail-mime-find-header-encoding):
13193 * progmodes/prolog.el (prolog-mode-hook, prolog-inferior-mode-hook):
13194 * progmodes/verilog-mode.el (verilog-backward-token):
13195 * textmodes/ispell.el (lookup-words):
13196 * textmodes/sgml-mode.el (sgml-guess-indent): Fix typos.
13197
71e027ac
GM
131982011-11-14 Glenn Morris <rgm@gnu.org>
13199
56632ce4
GM
13200 * progmodes/executable.el
13201 (executable-make-buffer-file-executable-if-script-p):
13202 Handle file-modes returning nil.
13203
40500957
GM
13204 * mail/rmailsum.el (rmail-summary): Remove movement to beginning of
13205 message - not necessary, and causes problems. (Bug#9831)
13206
071c2340
GM
13207 * mail/rmailsum.el (rmail-new-summary): Preserve message number.
13208
d3cfca60
GM
13209 * mail/rmail.el (rmail-no-mail-p): Remove mode-line N/M indicator.
13210
71e027ac
GM
13211 * mail/rmailsum.el (rmail-summary, rmail-new-summary)
13212 (rmail-new-summary-1): Allow empty summaries. (Bug#9964)
13213 (rmail-new-summary): Remember that rmail-summary-buffer is buffer-local.
13214
89d61221
MR
132152011-11-12 Martin Rudalics <rudalics@gmx.at>
13216
13217 * window.el (window-resize, delete-window): Use window-splits
13218 variable instead of function.
13219 (window-state-get-1, window-state-put-2, window-state-put):
13220 Don't deal with windows' splits status.
13221
98282f6f
GM
132222011-11-12 Glenn Morris <rgm@gnu.org>
13223
13224 * apropos.el (apropos-do-all, apropos-library, apropos-value)
13225 (apropos-documentation): Doc fixes.
13226
40a8bdf6
JB
132272011-11-11 Juanma Barranquero <lekktu@gmail.com>
13228
13229 * progmodes/idlw-shell.el (idlwave-shell-make-new-bp-overlay):
13230 * textmodes/sgml-mode.el (html-tag-help): Fix typos.
13231
65bd19ff
SM
132322011-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
13233
13234 * electric.el (electric-indent-post-self-insert-function): Make it
13235 possible for a char to only indent in some circumstances.
13236 (electric-indent-mode): Simplify.
13237
54f9154c
MR
132382011-11-11 Martin Rudalics <rudalics@gmx.at>
13239
13240 * window.el (windows-with-parameter): Remove unused function.
13241 (windows-at-side): Rename to window-at-side-list.
13242 (window-check, window-atom-check, window-atom-check-1)
5e92ca23
MR
13243 (window-side-check, window-size-ignore, window-size-fixed-1)
13244 (window-in-direction-2): Prefix with "window--".
13245 (window-tree-1): Rename to window--subtree, fix doc-string.
54f9154c 13246
68cbc58b
GM
132472011-11-11 Glenn Morris <rgm@gnu.org>
13248
13249 * subr.el (eval-after-load): If FILE is already loaded,
13250 evaluate FORM before it gets wrapped in more stuff. (Bug#10009)
13251
b2621720
GM
132522011-11-10 Glenn Morris <rgm@gnu.org>
13253
9a4de110
GM
13254 * vc/vc-svn.el (vc-svn-create-repo, vc-svn-modify-change-comment):
13255 Call svn via vc-svn-command rather than vc-do-command.
13256 (vc-svn-command): Add --non-interactive. (Bug#9993)
13257 (vc-svn-update, vc-svn-merge-news): No need for --non-interactive.
13258
b2621720
GM
13259 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
13260 Add toggle-read-only. (Bug#7292)
13261 * files.el (toggle-read-only): Mention that it should only
13262 be used interactively. (Bug#10006)
13263
1dce7193
SM
132642011-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
13265
d9ac1a1e
SM
13266 * progmodes/compile.el (compilation-error-regexp-alist-alist):
13267 Adjust regexp for OCaml warnings.
13268
0c325082
SM
13269 * electric.el (electric-pair-post-self-insert-function): Let user
13270 turn it off buffer-locally (bug#9932).
13271
90132c14
SM
13272 * progmodes/python.el (python-beginning-of-statement):
13273 Rewrite (bug#2703).
13274
1dce7193
SM
13275 * progmodes/compile.el: Better handle TABs (bug#9749).
13276 (compilation-internal-error-properties)
13277 (compilation-next-error-function): Obey the target buffer's
13278 compilation-error-screen-columns.
13279
c4e7c63a
JB
132802011-11-09 Juanma Barranquero <lekktu@gmail.com>
13281
13282 * progmodes/meta-mode.el: Remove obsolete comments.
13283 (meta-right-comment-regexp, meta-ignore-comment-regexp):
13284 Fix typos in docstrings.
13285
2cffd681
MR
132862011-11-09 Martin Rudalics <rudalics@gmx.at>
13287
13288 * window.el (window-size-fixed-p): Rewrite doc-string.
1dce7193 13289 (window-resizable-p): Rename to window--resizable-p. Update callers.
2cffd681
MR
13290 (window--resizable): New function. Make all callers of
13291 window-resizable call window--resizable instead.
13292 (window-resizable): Rewrite in terms of window--resizable.
13293
0edcba87
GM
132942011-11-08 Glenn Morris <rgm@gnu.org>
13295
13296 * progmodes/delphi.el (delphi-mode-syntax-table):
13297 Let define-derived-mode define a proper syntax table. (Bug#9994)
13298
4b0d61e3
SM
132992011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
13300
13301 * window.el: Stay away from defsubst.
13302 (window-list-no-nils): Remove.
13303 (window-state-get-1, window-state-get): Use backquote instead.
13304
cd394be1 133052011-11-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
fcbcac2e 13306
4b0d61e3 13307 * emacs-lisp/find-func.el (find-function-read):
fcbcac2e 13308 Fix incorrect use of default argument in `completing-read'.
13309
e1c2c6f2
MR
133102011-11-08 Martin Rudalics <rudalics@gmx.at>
13311
13312 * window.el (display-buffer-function, special-display-function):
13313 Mention display-buffer-record-window but do not mention
13314 help-setup parameter in doc-strings.
b3f4a882 13315 (window-min-delta): Fix doc-string typo.
e1c2c6f2 13316
105216ed
CY
133172011-11-08 Chong Yidong <cyd@gnu.org>
13318
13319 * window.el (window-total-height, window-total-width): Doc fix.
13320 (window-body-size): Move from C.
13321 (window-body-height, window-body-width): Move to C.
13322
0a9f9ab5
SM
133232011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
13324
13325 * window.el: Make special-display like display-buffer-alist (bug#9532).
13326 (display-buffer--special-action): New function, morphed
13327 from display-buffer--special.
13328 (display-buffer): Use it to handle special-display-buffers at higher
13329 priority (just after display-buffer-alist).
13330 (display-buffer-fallback-action, display-buffer--other-frame-action)
13331 (pop-to-buffer-same-window): Remove display-buffer--special.
13332
a769dd15
GM
133332011-11-07 Glenn Morris <rgm@gnu.org>
13334
13335 * calendar/cal-menu.el (cal-menu-set-date-title):
13336 Do nothing if not in a calendar. (Bug#9976)
13337
05a61ee3
SM
133382011-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
13339
13340 * files.el (find-file): Always use selected-window.
13341
be7f5545
MR
133422011-11-07 Martin Rudalics <rudalics@gmx.at>
13343
13344 * window.el (window-combinations): Make WINDOW argument
13345 mandatory. Rewrite doc-string.
13346 (walk-window-subtree, window-atom-check, window-min-delta)
13347 (window-max-delta, window--resize-this-window)
13348 (window--resize-root-window-vertically, window-tree)
13349 (balance-windows, window-state-put): Rewrite doc-strings as to
13350 not mention the term "subwindow".
13351 (window--resize-subwindows-skip-p): Rename to
13352 window--resize-child-windows-skip-p.
13353 (window--resize-subwindows-normal): Rename to
13354 window--resize-child-windows-normal.
13355 (window--resize-subwindows): Rename to
13356 window--resize-child-windows.
13357 (window-or-subwindow-p): Rename to window--in-subtree-p.
13358
3c6702ef
ML
133592011-11-07 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
13360
13361 * mail/rmail.el (rmail-get-new-mail, rmail-insert-inbox-text):
13362 Ensure that mbox format messages end in two newlines (Bug#9974).
13363
49745b39
CY
133642011-11-06 Chong Yidong <cyd@gnu.org>
13365
13366 * window.el (window-combination-p): Function deleted; its
13367 side-effect is not used in any existing code.
13368 (window-combinations, window-combined-p): Call window-*-child
13369 directly.
13370
24300f5f
CY
133712011-11-05 Chong Yidong <cyd@gnu.org>
13372
13373 * window.el (window-valid-p): Rename from window-any-p.
447f16b8
CY
13374 (window-size-ignore, window-state-get): Callers changed.
13375 (window-normalize-window): Rename from window-normalize-any-window.
13376 New arg LIVE-ONLY, replacing window-normalize-live-window.
1dce7193 13377 (window-normalize-live-window): Delete.
447f16b8
CY
13378 (window-combination-p, window-combined-p, window-combinations)
13379 (walk-window-subtree, window-atom-root, window-min-size)
13380 (window-sizable, window-sizable-p, window-size-fixed-p)
13381 (window-min-delta, window-max-delta, window-resizable)
13382 (window-resizable-p, window-full-height-p, window-full-width-p)
13383 (window-current-scroll-bars, window-point-1, set-window-point-1)
13384 (window-at-side-p, window-in-direction, window-resize)
13385 (adjust-window-trailing-edge, maximize-window, minimize-window)
13386 (window-deletable-p, delete-window, delete-other-windows)
13387 (record-window-buffer, unrecord-window-buffer)
13388 (switch-to-prev-buffer, switch-to-next-buffer, window--delete)
13389 (quit-window, split-window, window-state-put)
13390 (set-window-text-height, fit-window-to-buffer)
13391 (shrink-window-if-larger-than-buffer): Callers changed.
24300f5f 13392
89bd5ee1
EZ
133932011-11-04 Eli Zaretskii <eliz@gnu.org>
13394
53479029
EZ
13395 * mail/rmail.el (rmail-simplified-subject): Decode subject with
13396 rfc2047-decode-string.
13397 (rmail-mime-toggle-hidden): Declare to avoid byte-compilation
13398 warnings.
13399
89bd5ee1
EZ
13400 * window.el (window-body-height, window-body-width): Mention in
13401 the doc string that the return values are in frame's canonical
13402 units. (Bug#9949)
13403
bd17fdee
AM
134042011-11-03 Alan Mackenzie <acm@muc.de>
13405
13406 * progmodes/cc-langs.el (c-nonlabel-token-2-key): New variable for
13407 change in cc-engine.el.
13408
acc825c5
SM
134092011-11-02 Stefan Monnier <monnier@iro.umontreal.ca>
13410
13411 * window.el (switch-to-buffer): Use `force-same-window' interactively.
13412
1885e5b8
MR
134132011-11-02 Martin Rudalics <rudalics@gmx.at>
13414
13415 * window.el (quit-window): Call unrecord-window-buffer after
13416 showing another buffer in the window. (Bug#9937)
acc825c5 13417 (bury-buffer): Call switch-to-prev-buffer with second argument `bury'.
1885e5b8 13418
ebe06da9
JB
134192011-11-02 Juanma Barranquero <lekktu@gmail.com>
13420
13421 * vc/vc-bzr.el (vc-bzr-state, vc-bzr-after-dir-status):
13422 Accept status with more than 9 shelves. (Bug#9935)
13423 Reported by Colin D Bennett <colin@gibibit.com>.
13424
4ee88440
MR
134252011-11-01 Martin Rudalics <rudalics@gmx.at>
13426
13427 * help.el (with-help-window): Don't reference
13428 temp-buffer-show-specifiers in doc-string.
13429
08e1d82c
AS
134302011-10-31 Andreas Schwab <schwab@linux-m68k.org>
13431
13432 * subr.el (keymap--menu-item-with-binding): Ignore item if not a
13433 menu-item.
13434
84bd6e9e
VJL
134352011-10-30 Vinicius Jose Latorre <viniciusjl@ig.com.br>
13436
13437 * whitespace.el: New version 13.2.2.
13438 (whitespace-newline-mode): Disable properly. Reported by Sarah
13439 <EmacsWiki>.
13440
dba0634a
UJ
134412011-10-30 Ulf Jasper <ulf.jasper@web.de>
13442
13443 * net/newst-treeview.el: Remove "Time-stamp".
13444 (newsticker--group-manage-orphan-feeds): Do not call
13445 newsticker--treeview-tree-update.
db22a3c2
JB
13446 (newsticker-treeview-update, newsticker-treeview):
13447 Call newsticker--treeview-tree-update if necessary.
dba0634a 13448
3d8daefe
MR
134492011-10-30 Martin Rudalics <rudalics@gmx.at>
13450
13451 * window.el (window-iso-combination-p, window-iso-combined-p)
acc825c5
SM
13452 (window-iso-combinations): Remove "iso-" infix.
13453 Suggested by Chong Yidong.
3d8daefe
MR
13454 (window-min-size-1, window-size-fixed-1, window-min-delta-1)
13455 (window-max-delta-1, window-resize, window--resize-siblings)
13456 (window--resize-this-window, adjust-window-trailing-edge)
13457 (split-window, balance-windows-1)
13458 (shrink-window-if-larger-than-buffer):
13459 * calendar/calendar.el (calendar-generate-window):
db22a3c2 13460 * help.el (resize-temp-buffer-window): Adjust callers accordingly.
3d8daefe 13461
1bc4c3ae
SM
134622011-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
13463
13464 * eshell/esh-cmd.el (eshell-rewrite-for-command): Don't modify the list
13465 in place (bug#9907).
13466 (eshell-subcommand-arg-values, eshell-rewrite-named-command)
13467 (eshell-rewrite-if-command, eshell-rewrite-for-command)
13468 (eshell-structure-basic-command, eshell-rewrite-while-command)
13469 (eshell-invokify-arg, eshell-parse-pipeline, eshell-parse-command)
13470 (eshell-parse-subcommand-argument, eshell-parse-lisp-argument)
13471 (eshell-trap-errors, eshell-do-pipelines, eshell-do-eval)
13472 (eshell-do-pipelines-synchronously, eshell-eval-command):
13473 Use backquotes and prefer setq to set.
13474 (eshell-lookup-function, function-p-func, eshell-functionp): Remove.
13475 (eshell-macrop): Use functionp.
c1e2f5fa 13476 (eshell-do-eval): Handle multiple expressions in `while' body.
1bc4c3ae 13477
30b65d9c
CY
134782011-10-30 Chong Yidong <cyd@gnu.org>
13479
13480 * emulation/viper-cmd.el (viper-exec-change): Use push-mark
13481 instead of set-mark (Bug#9810).
13482
2d197ffb
CY
134832011-10-30 Chong Yidong <cyd@gnu.org>
13484
13485 * window.el (split-window-below, split-window-right): Rename from
13486 split-window-above-each-other and split-window-side-by-side
13487 respectively. All callers changed.
13488 (split-window-sensibly, split-window-sensibly): Use them.
13489 (split-window-keep-point): Doc fix.
13490
13491 * isearch.el: Add isearch-scroll property to split-window-below
13492 and split-window-right.
13493
13494 * follow.el (follow-mode):
13495 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
13496 * progmodes/ada-xref.el (ada-gdb-application):
13497 * emulation/vip.el (vip-buffer-in-two-windows):
13498 * image-dired.el (image-dired-dired-with-window-configuration):
13499 * dired-x.el (dired-do-find-marked-files):
13500 * dired.el (dired-pop-to-buffer):
13501 * bs.el (bs--show-with-configuration):
13502 * vc/emerge.el (emerge-setup-windows):
13503 * textmodes/two-column.el (2C-two-columns):
13504 * textmodes/reftex-toc.el (reftex-toc):
13505 * progmodes/gdb-mi.el (gdb-setup-windows):
13506 * progmodes/fortran.el (fortran-window-create):
13507 * net/newst-treeview.el (newsticker--treeview-window-init):
13508 * emulation/ws-mode.el (wordstar-C-o-map, wordstar-mode):
13509 * emulation/tpu-edt.el (tpu-gold-map):
13510 * emulation/crisp.el (crisp-mode-map):
13511 * calendar/calendar.el (calendar-basic-setup): Callers changed.
13512
38bb2ca8
CY
135132011-10-29 Chong Yidong <cyd@gnu.org>
13514
aa4de341
CY
13515 * subr.el (y-or-n-p): Add code for batch mode (Bug#9818).
13516
e1eb5385
CY
13517 * mouse.el (mouse-yank-primary): Push the mark (Bug#9894).
13518
5d2ece3c
CY
13519 * textmodes/flyspell.el (flyspell-word): Fix char offset for
13520 forged Ispell output (Bug#7904).
13521
38bb2ca8
CY
13522 * emacs-lisp/package.el (package-refresh-contents): Add autoload.
13523
d0af9f77
SM
135242011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
13525
13526 * doc-view.el: Avoid ugly errors about not finding nil.
13527 (doc-view-ghostscript-program, doc-view-dvipdfm-program)
13528 (doc-view-dvipdf-program, doc-view-unoconv-program)
13529 (doc-view-ps2pdf-program, doc-view-pdftotext-program):
13530 Avoid nil or absolute file name as default value.
13531 (doc-view-pdf->txt, doc-view-ps->pdf): Use executable-find here.
13532
52bedd34
AM
135332011-10-28 Alan Mackenzie <acm@muc.de>
13534
db22a3c2 13535 * progmodes/cc-defs.el (c-version): -> 5.32.2.
52bedd34 13536
7e43cfa5
AM
135372011-10-28 Alan Mackenzie <acm@muc.de>
13538
13539 Amend the handling of c-beginning/end-of-defun in nested declaration
13540 scopes.
13541
52bedd34
AM
13542 * progmodes/cc-vars.el (c-defun-tactic): Move here from
13543 cc-langs.el. Change it to a defcustom.
7e43cfa5 13544
52bedd34
AM
13545 * progmodes/cc-langs.el (c-defun-tactic): Move this variable to
13546 cc-vars.el.
7e43cfa5 13547
d0af9f77
SM
13548 * progmodes/cc-engine.el (c-beginning-of-statement-1):
13549 Prevent "class foo : bar" being spuriously recognized as a label.
7e43cfa5 13550
52bedd34 13551 * progmodes/cc-cmds.el (c-narrow-to-most-enclosing-decl-block):
acc825c5 13552 Add parameter `inclusive' (to include enclosing braces in the region).
7e43cfa5
AM
13553 (c-widen-to-enclosing-decl-scope): New function.
13554 (c-while-widening-to-decl-block): New macro.
13555 (c-beginning-of-defun, c-end-of-defun): Change algorithm to keep going
13556 outward for defun boundaries, and correspondingly change symbol
13557 `respect-enclosure' to `go-outward'.
13558 (c-declaration-limits): Change algorithm to report only the "innermost"
13559 defun's boundaries.
13560
1a2ce9ee
DD
135612011-10-28 Deniz Dogan <deniz@dogan.se>
13562
13563 * net/rcirc.el (rcirc-mode): Use hard newlines.
13564
bc97a826
AM
135652011-10-28 Alan Mackenzie <acm@muc.de>
13566
13567 Amend to indent and fontify macros "which include their own semicolon"
13568 correctly, using the "virtual semicolon" mechanism.
13569
52bedd34 13570 * progmodes/cc-defs.el: Update "virtual semicolon" comments.
bc97a826 13571
d0af9f77 13572 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
7877f373 13573 Recode to scan one line at a time rather than having \n and \r
58179cce 13574 explicitly in c-stmt-delim-chars (for some modes, e.g. AWK).
bc97a826 13575 (c-forward-label): Amend for virtual semicolons.
58179cce 13576 (c-at-macro-vsemi-p, c-macro-vsemi-status-unknown-p): New functions.
bc97a826 13577
52bedd34
AM
13578 * progmodes/cc-fonts.el (c-font-lock-declarations): Take account
13579 of the new C macros.
bc97a826 13580
52bedd34 13581 * progmodes/cc-langs.el (c-at-vsemi-p-fn):
acc825c5
SM
13582 (c-vsemi-status-unknown-p-fn): Move to earlier in the file.
13583 (c-opt-cpp-symbol, c-line-comment-start-regexp): New language vars.
bc97a826
AM
13584 (c-opt-cpp-macro-define): Make into a full language variable.
13585 (c-stmt-delim-chars, c-stmt-delim-chars-with-comma): Special value for
13586 AWK Mode (including \n, \r) removed, no longer needed.
13587
d0af9f77
SM
13588 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode):
13589 Invoke c-make-macro-with-semi-re.
bc97a826 13590
52bedd34
AM
13591 * progmodes/cc-vars.el (c-macro-with-semi-re):
13592 (c-macro-names-with-semicolon): New variables.
58179cce 13593 (c-make-macro-with-semi-re): New function.
bc97a826 13594
7a6c0941
SM
135952011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
13596
13597 * vc/log-edit.el: Fill empty field rather than adding new one.
13598 (log-edit-add-field): New function.
13599 (log-edit-insert-changelog): Use it.
13600
b0c4cdcf
ML
136012011-10-28 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
13602
13603 * mail/rmail.el (rmail-mode-map): Add M-C-f as in rmailsum (bug#9802).
13604
ee1f1da9
SM
136052011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
13606
13607 * progmodes/gdb-mi.el: Warn the user when -i=mi is missing.
13608 (gdb--check-interpreter): New function.
13609 (gdb): Use it.
13610
51bc5f8b
GM
136112011-10-27 Glenn Morris <rgm@gnu.org>
13612
416a2c45
GM
13613 * emacs-lisp/cl-extra.el (most-positive-float, most-negative-float)
13614 (least-positive-float, least-negative-float)
13615 (least-positive-normalized-float, least-negative-normalized-float)
13616 (float-epsilon, float-negative-epsilon):
13617 Remove unnecessary declarations.
13618
13619 * emacs-lisp/cl-extra.el (cl-float-limits): Add doc string.
13620 * emacs-lisp/cl.el (most-positive-float, most-negative-float)
13621 (least-positive-float, least-negative-float)
13622 (least-positive-normalized-float, least-negative-normalized-float)
13623 (float-epsilon, float-negative-epsilon): Add doc-strings,
13624 based on those in cl.texi.
13625
51bc5f8b
GM
13626 * files.el (set-visited-file-name): If the major-mode changed,
13627 reload the local variables. (Bug#9796)
13628
15de15c6
CY
136292011-10-27 Chong Yidong <cyd@gnu.org>
13630
13631 * subr.el (change-major-mode-after-body-hook): New hook.
13632 (run-mode-hooks): Run it.
13633
ee1f1da9
SM
13634 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
13635 Use change-major-mode-before-body-hook.
15de15c6
CY
13636
13637 * simple.el (fundamental-mode):
13638 * emacs-lisp/derived.el (define-derived-mode): Revert 2010-04-28
13639 change introducing fundamental-mode-hook.
13640
5430d399
JB
136412011-10-26 Juanma Barranquero <lekktu@gmail.com>
13642
acc825c5 13643 * term/w32-win.el (w32-default-color-map): Declare obsolete (Bug#9785).
5430d399 13644
ad74a69e
MA
136452011-10-26 Michael Albinus <michael.albinus@gmx.de>
13646
13647 * ido.el (ido-file-name-all-completions-1): Do not require
c7015153 13648 tramp.el explicitly. (Bug#7583)
ad74a69e 13649
71d4c2a5
SM
136502011-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
13651
13652 * progmodes/octave-mod.el:
13653 * progmodes/octave-inf.el: Update maintainer.
13654
b1f6fa26
CY
136552011-10-26 Chong Yidong <cyd@gnu.org>
13656
13657 * subr.el (with-wrapper-hook): Rewrite doc.
13658
3f04efd6
MA
136592011-10-25 Michael Albinus <michael.albinus@gmx.de>
13660
13661 * net/tramp-sh.el (tramp-sh-handle-file-directory-p): Return t for
ad74a69e 13662 filenames "/method:foo:". (Bug#9793)
3f04efd6 13663
410488d3
SM
136642011-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
13665
13666 * comint.el (comint-get-old-input-default): Fix use-prompt-regexp case
13667 (bug#9865).
13668
c1ebb47e
GM
136692011-10-24 Glenn Morris <rgm@gnu.org>
13670
13671 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix. (Bug#9819)
13672
7f5c46c7
MA
136732011-10-24 Michael Albinus <michael.albinus@gmx.de>
13674
13675 * notifications.el: Add the requirement of a running D-Bus session
13676 bus to the Commentary.
13677
db2440b6
JL
136782011-10-24 Juri Linkov <juri@jurta.org>
13679
13680 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
13681 `search-whitespace-regexp' only when `isearch-regexp' is non-nil.
13682 (Bug#9364)
13683
feecf435
JL
136842011-10-24 Juri Linkov <juri@jurta.org>
13685
13686 * info.el (Info-following-node-name-re): Add newline to the list
13687 of allowed characters for leading space. (Bug#9824)
13688
a3839de2
SM
136892011-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
13690
acc825c5
SM
13691 * progmodes/octave-inf.el (inferior-octave-mode-map):
13692 Fix C-c C-h binding.
a3839de2
SM
13693 * progmodes/octave-mod.el (octave-help): Remove.
13694
09388e76
MA
136952011-10-23 Michael Albinus <michael.albinus@gmx.de>
13696
13697 Sync with Tramp 2.2.3.
13698
13699 * net/tramp-cache.el (top): Pacify byte-compiler using
13700 `init-file-user' and `site-run-file'.
13701
13702 * net/trampver.el: Update release number.
13703
86c60681
CY
137042011-10-23 Chong Yidong <cyd@gnu.org>
13705
13706 * files.el (toggle-read-only): Remove obsolete comment about
13707 version control.
13708
13709 * vc/vc-hooks.el (vc-toggle-read-only): Make it an obsolete alias
13710 for toggle-read-only. Note that this hasn't called vc-next-action
13711 since 2008-05-02, though it wasn't documented at the time.
13712
a3839de2
SM
13713 * vc/ediff-init.el (ediff-toggle-read-only-function):
13714 Use toggle-read-only.
86c60681 13715
cd5495ff
AM
137162011-10-22 Alan Mackenzie <bug-cc-mode@gnu.org>
13717
13718 Fix bug #9560, sporadic wrong indentation; improve instrumentation
13719 of c-parse-state.
13720
00b77525 13721 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
a3839de2 13722 correct faulty logical expression.
cd5495ff
AM
13723 (c-parse-state-state, c-record-parse-state-state):
13724 (c-replay-parse-state-state): New defvar/defuns.
13725 (c-debug-parse-state): Use new functions.
13726
42ee24ed
MR
137272011-10-22 Martin Rudalics <rudalics@gmx.at>
13728
13729 * mouse.el (mouse-drag-line): Fix minibuffer resizing broken by
53ebff1f 13730 last fix. Use window-in-direction correctly.
42ee24ed 13731
a7dee7e7
CY
137322011-10-21 Chong Yidong <cyd@gnu.org>
13733
13734 * progmodes/idlwave.el (idlwave-mode):
13735 * progmodes/vera-mode.el (vera-mode): No need to set
a3839de2
SM
13736 require-final-newline; that's done in prog-mode.
13737 Suggested by Stefan Monnier.
a7dee7e7 13738
e07b9a6d
MR
137392011-10-21 Martin Rudalics <rudalics@gmx.at>
13740
13741 * mouse.el (mouse-drag-window-above)
13742 (mouse-drag-move-window-bottom, mouse-drag-move-window-top)
13743 (mouse-drag-mode-line-1, mouse-drag-header-line)
13744 (mouse-drag-vertical-line-rightward-window): Remove.
13745 (mouse-drag-line): New function.
13746 (mouse-drag-mode-line, mouse-drag-header-line)
13747 (mouse-drag-vertical-line): Call mouse-drag-line.
13748 * window.el (window-at-side-p, windows-at-side): New functions.
13749
7e1361d9
UM
137502011-10-21 Ulrich Mueller <ulm@gentoo.org>
13751
13752 * tar-mode.el (tar-grind-file-mode):
13753 Fix handling of setuid/setgid, handle sticky bit. (Bug#9817)
13754
30fcaf3a
CY
137552011-10-21 Chong Yidong <cyd@gnu.org>
13756
13757 * progmodes/idlwave.el (idlwave-mode):
a3839de2
SM
13758 * progmodes/vera-mode.el (vera-mode):
13759 Use mode-require-final-newline.
30fcaf3a 13760
516eddb0
GM
137612011-10-20 Glenn Morris <rgm@gnu.org>
13762
db22a3c2 13763 * vc/vc.el (vc-next-action): Handle removed directories. (Bug#9781)
516eddb0 13764
10d5f513
CS
137652011-10-20 Christoph Scholtes <cschol2112@googlemail.com>
13766
13767 * emulation/cua-base.el (cua-set-mark): Fix case of string.
13768
ac6c8639
CY
137692011-10-20 Chong Yidong <cyd@gnu.org>
13770
13771 * emulation/cua-base.el (cua-mode):
13772 * mail/footnote.el (footnote-mode):
13773 * mail/mailabbrev.el (mail-abbrevs-mode):
13774 * net/xesam.el (xesam-minor-mode):
13775 * progmodes/bug-reference.el (bug-reference-mode):
13776 * progmodes/cap-words.el (capitalized-words-mode):
13777 * progmodes/compile.el (compilation-minor-mode)
13778 (compilation-shell-minor-mode):
13779 * progmodes/gud.el (gud-tooltip-mode):
13780 * progmodes/hideif.el (hide-ifdef-mode):
13781 * progmodes/idlw-shell.el (idlwave-shell-electric-debug-mode):
13782 * progmodes/subword.el (subword-mode):
13783 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
13784 * progmodes/which-func.el (which-function-mode):
13785 * term/tvi970.el (tvi970-set-keypad-mode):
13786 * term/vt100.el (vt100-wide-mode):
13787 * textmodes/flyspell.el (flyspell-mode):
13788 * textmodes/ispell.el (ispell-minor-mode):
13789 * textmodes/nroff-mode.el (nroff-electric-mode):
13790 * textmodes/paragraphs.el (use-hard-newlines):
13791 * textmodes/refill.el (refill-mode):
13792 * textmodes/reftex.el (reftex-mode):
13793 * textmodes/rst.el (rst-minor-mode):
13794 * textmodes/sgml-mode.el (html-autoview-mode)
13795 (sgml-electric-tag-pair-mode):
13796 * textmodes/tex-mode.el (latex-electric-env-pair-mode):
13797 * vc/diff-mode.el (diff-auto-refine-mode, diff-minor-mode):
13798 * emulation/crisp.el (crisp-mode):
13799 * emacs-lisp/eldoc.el (eldoc-mode):
13800 * emacs-lisp/checkdoc.el (checkdoc-minor-mode): Doc fixes for new
13801 minor mode behavior.
13802
aa42ab43
JL
138032011-10-19 Juri Linkov <juri@jurta.org>
13804
13805 * descr-text.el (describe-char): Add #x2010 and #x2011 to
13806 the list of hard-coded chars with escape-glyph face.
13807
89400f1d
SM
138082011-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
13809
13810 * vc/log-edit.el (log-edit-empty-buffer-p): Ignore empty headers.
13811
305c07f6
MA
138122011-10-19 Michael Albinus <michael.albinus@gmx.de>
13813
13814 * net/tramp.el (tramp-connectable-p): Make a stronger check on a
13815 running process.
13816
13754b54
GM
138172011-10-19 Glenn Morris <rgm@gnu.org>
13818
13819 * vc/vc-bzr.el (vc-bzr-after-dir-status):
13820 Ignore ignored files. (Bug#9726)
13821
06e21633
CY
138222011-10-19 Chong Yidong <cyd@gnu.org>
13823
13824 Doc fix for minor modes, stating that an omitted argument enables
13825 the mode unconditionally when called from Lisp.
13826
13827 * abbrev.el (abbrev-mode):
13828 * allout.el (allout-mode):
13829 * autoinsert.el (auto-insert-mode):
13830 * autoarg.el (autoarg-mode, autoarg-kp-mode):
13831 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
13832 (global-auto-revert-mode):
13833 * battery.el (display-battery-mode):
13834 * composite.el (global-auto-composition-mode)
13835 (auto-composition-mode):
13836 * delsel.el (delete-selection-mode):
13837 * desktop.el (desktop-save-mode):
13838 * dired-x.el (dired-omit-mode):
13839 * dirtrack.el (dirtrack-mode):
13840 * doc-view.el (doc-view-minor-mode):
13841 * double.el (double-mode):
13842 * electric.el (electric-indent-mode, electric-pair-mode):
13843 * emacs-lock.el (emacs-lock-mode):
13844 * epa-hook.el (auto-encryption-mode):
13845 * follow.el (follow-mode):
13846 * font-core.el (font-lock-mode):
13847 * frame.el (auto-raise-mode, auto-lower-mode, blink-cursor-mode):
13848 * help.el (temp-buffer-resize-mode):
13849 * hilit-chg.el (highlight-changes-mode)
13850 (highlight-changes-visible-mode):
13851 * hi-lock.el (hi-lock-mode):
13852 * hl-line.el (hl-line-mode, global-hl-line-mode):
13853 * icomplete.el (icomplete-mode):
13854 * ido.el (ido-everywhere):
13855 * image-file.el (auto-image-file-mode):
13856 * image-mode.el (image-minor-mode):
13857 * iswitchb.el (iswitchb-mode):
13858 * jka-cmpr-hook.el (auto-compression-mode):
13859 * linum.el (linum-mode):
13860 * longlines.el (longlines-mode):
13861 * master.el (master-mode):
13862 * mb-depth.el (minibuffer-depth-indicate-mode):
13863 * menu-bar.el (menu-bar-mode):
13864 * minibuf-eldef.el (minibuffer-electric-default-mode):
13865 * mouse-sel.el (mouse-sel-mode):
13866 * msb.el (msb-mode):
13867 * mwheel.el (mouse-wheel-mode):
13868 * outline.el (outline-minor-mode):
13869 * paren.el (show-paren-mode):
13870 * recentf.el (recentf-mode):
13871 * reveal.el (reveal-mode, global-reveal-mode):
13872 * rfn-eshadow.el (file-name-shadow-mode):
13873 * ruler-mode.el (ruler-mode):
13874 * savehist.el (savehist-mode):
13875 * scroll-all.el (scroll-all-mode):
13876 * scroll-bar.el (scroll-bar-mode):
13877 * server.el (server-mode):
13878 * shell.el (shell-dirtrack-mode):
13879 * simple.el (auto-fill-mode, transient-mark-mode)
13880 (visual-line-mode, overwrite-mode, binary-overwrite-mode)
13881 (line-number-mode, column-number-mode, size-indication-mode)
13882 (auto-save-mode, normal-erase-is-backspace-mode, visible-mode):
13883 * strokes.el (strokes-mode):
13884 * time.el (display-time-mode):
13885 * t-mouse.el (gpm-mouse-mode):
13886 * tool-bar.el (tool-bar-mode):
13887 * tooltip.el (tooltip-mode):
13888 * type-break.el (type-break-mode-line-message-mode)
13889 (type-break-query-mode):
13890 * view.el (view-mode):
13891 * whitespace.el (whitespace-mode, whitespace-newline-mode)
13892 (global-whitespace-mode, global-whitespace-newline-mode):
13893 * xt-mouse.el (xterm-mouse-mode): Doc fix.
13894
a3839de2
SM
13895 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
13896 Fix autogenerated docstring.
06e21633 13897
5214e501
JL
138982011-10-19 Juri Linkov <juri@jurta.org>
13899
13900 * net/browse-url.el (browse-url-can-use-xdg-open): Support LXDE
13901 by checking environment variables "DESKTOP_SESSION" and
13902 "XDG_CURRENT_DESKTOP". (Bug#9779)
13903
195f8db9
JL
139042011-10-19 Juri Linkov <juri@jurta.org>
13905
13906 * net/browse-url.el (browse-url-browser-function): Add "Chromium".
13907 (browse-url-chromium-program, browse-url-chromium-arguments):
13908 New defcustoms.
13909 (browse-url-default-browser): Check for `browse-url-chromium' and
13910 call `browse-url-chromium-program'.
13911 (browse-url-chromium): New command. (Bug#9779)
13912
343a34ff
JB
139132011-10-18 Juanma Barranquero <lekktu@gmail.com>
13914
13915 * facemenu.el (list-colors-duplicates): On Windows, detect more
13916 duplicates by assuming that only colors matching "^System" are
13917 special "system colors". (Bug#9722)
13918
6978a151
SM
139192011-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
13920
13921 * vc/log-edit.el (log-edit): Add "Author:" header to encourage people
13922 to distinguish the author from the committer.
13923
6a80b297
MA
139242011-10-18 Michael Albinus <michael.albinus@gmx.de>
13925
13926 * net/tramp.el (tramp-file-name-handler): Load Tramp packages silently.
13927
b31a5677
JK
139282011-10-18 Jirka Kosek <jirka@kosek.cz> (tiny change)
13929
13930 * international/mule.el (sgml-html-meta-auto-coding-function):
13931 Add support for detecting encoding in HTML5 specified only as
13932 <meta charset="UTF-8">. Implementation just makes http-equiv and
13933 content-type parts from HTML4 encoding string optional. (Bug#9716)
13934
80c6d77f
GM
139352011-10-18 Glenn Morris <rgm@gnu.org>
13936
13937 * vc/vc.el (vc-initial-comment): Mark as obsolete. (Bug#9745)
13938
08b0fee8
CY
139392011-10-18 Chong Yidong <cyd@gnu.org>
13940
13941 * faces.el (cursor): Doc fix.
13942
67e729a5
CY
139432011-10-17 Chong Yidong <cyd@gnu.org>
13944
13945 * font-lock.el (font-lock-maximum-size): Mark as obsolete.
13946
343a34ff 139472011-10-17 Ryan Barrett <emacs@ryanb.org> (tiny change)
87e478b3
RB
13948
13949 * dirtrack.el (dirtrack): Support shell buffers with path
13950 prefixes, e.g. tramp-based remote shells. (Bug#9647)
13951
0bc06380
TZ
139522011-10-17 Teodor Zlatanov <tzz@lifelogs.com>
13953
13954 * json.el: Bump version to 1.3 and note change in History.
13955 (json-alist-p, json-plist-p): Rewrite to avoid recursion.
13956
8b79f3e0
SM
139572011-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
13958
5a7c536b
SM
13959 * comint.el (comint-insert-input, comint-send-input)
13960 (comint-get-old-input-default, comint-backward-matching-input)
13961 (comint-next-prompt): Use nil instead of `input' for field property of
13962 past user input (bug#114).
13963
96a8a0df
SM
13964 * minibuffer.el (completion--replace): Inherit surrounding properties
13965 (bug#114).
13966 (minibuffer-complete-and-exit): Use it.
13967
8b79f3e0
SM
13968 * comint.el (comint--table-subvert): Quote the all-completions output
13969 (bug#9160).
13970
b8f7ff0d
MR
139712011-10-17 Martin Rudalics <rudalics@gmx.at>
13972
8b79f3e0 13973 * ido.el (ido-default-buffer-method): Remove redundant :type entry.
4e5c3d2b 13974
b8f7ff0d 13975 * menu-bar.el (menu-bar-file-menu): Add entry for making new
d912bdcf 13976 window on right of selected. (Bug#9350) Reword other window
b8f7ff0d
MR
13977 entries and separate them from frame entries.
13978
c235b555
GM
139792011-10-15 Glenn Morris <rgm@gnu.org>
13980
13981 * emacs-lisp/ert.el (ert--explain-equal-rec, ert-select-tests):
13982 Doc fixes.
13983
6bbfa6e1
CY
139842011-10-15 Chong Yidong <cyd@stupidchicken.com>
13985
8b79f3e0
SM
13986 * net/network-stream.el (network-stream-open-starttls):
13987 Improve detection of failure due to lack of TLS support.
ec5c990d 13988
6bbfa6e1
CY
13989 * mail/sendmail.el (sendmail-query-once): Tweak prompt message,
13990 putting the input text in front and in bold.
13991
98488977
SM
139922011-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
13993
3d1337be
SM
13994 * pcmpl-unix.el (pcomplete/ssh): SSH does allow ganging.
13995
ee0b45e4
SM
13996 * mpc.el (mpc-songs-jump-to): Don't burp if the user clicks in an
13997 empty buffer.
13998
98488977
SM
13999 * mouse.el (mouse-drag-mode-line-1): Modify the end-event we pushed on
14000 unread-command-events rather than pushing yet-another event.
14001
186f4720
EZ
140022011-10-14 Eli Zaretskii <eliz@gnu.org>
14003
14004 * mail/sendmail.el (sendmail-query-once): Improve the wording of
14005 the explanation of the possible choices. Make the options passed
14006 to completing-read shorter.
14007
8b7a997c
AM
140082011-10-13 Agustín Martín Domingo <agustin.martin@hispalinux.es>
14009
14010 * textmodes/flyspell.el (flyspell-large-region): Make sure
14011 extended character mode is used if defined (Bug#1339).
14012
12587bbb
EZ
140132011-10-13 Eli Zaretskii <eliz@gnu.org>
14014
14015 * simple.el (what-cursor-position): Fix the display of the
e7e2364b
EZ
14016 character info for LRE, LRO, RLE, and RLO characters by appending
14017 an invisible PDF.
12587bbb 14018
bad41229
SM
140192011-10-13 Stefan Monnier <monnier@iro.umontreal.ca>
14020
14021 * emacs-lisp/timer.el (with-timeout): Make sure we cancel the timer
14022 even in case of error; add debug spec; simplify data flow.
14023 (with-timeout-handler): Remove.
14024
28dbc92f
MA
140252011-10-12 Michael Albinus <michael.albinus@gmx.de>
14026
14027 Fix Bug#6019, Bug#9315.
14028
14029 * files.el (set-auto-mode): Call `file-name-sans-versions' for the
14030 complete `buffer-file-name', the local file name part could look
14031 remotely (for example on VMS).
14032
14033 * net/ange-ftp.el (ange-ftp-run-real-handler): Make it an alias of
14034 `tramp-run-real-handler'.
14035 (ange-ftp-fix-name-for-vms): Handle the case, where `name' is
14036 already quoted by '"'.
14037
14038 * net/tramp.el (tramp-rfn-eshadow-update-overlay): Ignore errors.
14039 Let `file-name-handler-alist' be nil, the local file name part
14040 could look remotely (for example on VMS).
14041
e1b0b23a
SM
140422011-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
14043
14044 * textmodes/flyspell.el (flyspell-word): Move with-local-quit
14045 from here...
14046 (flyspell-post-command-hook): ...to here.
14047
a120bde9
SM
140482011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
14049
14050 * mail/sendmail.el (send-mail-function): Don't use sendmail-query-once
14051 if not needed.
14052 (sendmail-query-once): Remove OS dependencies. Make it a 3-way choice
14053 using completion. Protect against "slow" callers.
14054 Remove the "message hack".
14055
7ce7717b
JL
140562011-10-11 Juri Linkov <juri@jurta.org>
14057
14058 * isearch.el (isearch-lazy-highlight-word): New variable.
14059 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
14060 Use it. (Bug#9727)
14061
c02ee9d6
GM
140622011-10-11 Glenn Morris <rgm@gnu.org>
14063
14064 * progmodes/f90.el (f90-next-statement): Ignore preprocessor lines,
14065 like f90-previous-statement does.
14066
93e616fd 140672011-10-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
14068
1f190e73 14069 * eshell/eshell.el (eshell-command): History should be saved
c02ee9d6
GM
14070 only in interactive use, to avoid error.
14071
af7b6078
SM
140722011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
14073
14074 * minibuffer.el (completion-file-name-table): Fix last change,
14075 i.e. ignore normal errors but not the other ones.
14076
0563dae9
MR
140772011-10-10 Martin Rudalics <rudalics@gmx.at>
14078
14079 * window.el (special-display-buffer-names)
14080 (special-display-regexps): Remove some remnants of earlier
14081 changes from doc-strings.
366ca7f3
MR
14082 (quit-windows-on): New function.
14083
14084 * vc/vc.el (vc-revert, vc-rollback):
14085 * vc/vc-dispatcher.el (vc-finish-logentry): Call quit-windows-on
14086 instead of deleting windows. (Bug#4557) (Bug#5310) (Bug#5556)
9ac13c31 14087 (Bug#6183) (Bug#7074) (Bug#7447)
0563dae9 14088
49677495
MR
140892011-10-09 Martin Rudalics <rudalics@gmx.at>
14090
14091 * window.el (frame-auto-hide-function): Add version tag.
14092 (Bug#9699)
14093
56f2d1e1
MA
140942011-10-09 Michael Albinus <michael.albinus@gmx.de>
14095
14096 * net/tramp.el (tramp-file-name-handler): Add 'debug to the error
14097 condition.
14098
112a6592
LL
140992011-10-09 Leo Liu <sdl.web@gmail.com>
14100
14101 * mail/smtpmail.el (smtpmail-send-data): Add a missing space.
14102 (Bug#9701)
14103
0812589b
GM
141042011-10-08 Glenn Morris <rgm@gnu.org>
14105
14106 * progmodes/f90.el (f90-calculate-indent): Give preprocessor lines
14107 before the first code statement zero indent. (Bug#9690)
14108
b2b0776e
CY
141092011-10-08 Chong Yidong <cyd@stupidchicken.com>
14110
14111 * simple.el (count-words-region): Always count in the region.
14112 Report the number of lines and characters too.
14113 (count-words): New command, which counts in the buffer if the
14114 region is inactive, as count-words-region used to.
14115 (count-words--message): New function. Handle plurals.
14116 (count-lines-region): Make it an alias for count-words-region.
14117
14118 * bindings.el (esc-map): Replace count-lines-region with
14119 count-words-region.
14120
c557cd6b
MR
141212011-10-08 Martin Rudalics <rudalics@gmx.at>
14122
14123 * window.el (window--delete): Delete dedicated frame
14124 unconditionally when argument KILL is non-nil. (Bug#9699)
235ce86f 14125 (switch-to-buffer): Fix doc-string typo.
c557cd6b 14126
61a57ef4 141272011-10-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
14128
3a7d293b 14129 * eshell/eshell.el (eshell-command): Avoid using hooks.
61a57ef4 14130
c3833279
CY
141312011-10-07 Chong Yidong <cyd@stupidchicken.com>
14132
14133 * bindings.el ([M-left],[M-right]): Bind to left-word and
14134 right-word respectively.
14135
21ce8245
GM
141362011-10-07 Glenn Morris <rgm@gnu.org>
14137
14138 * cus-start.el (debug-on-quit): Fix custom type.
14139
6d823bb2
LMI
141402011-10-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
14141
0181e193
LMI
14142 * subr.el (define-key-after): Clarify that the function is not
14143 useful for non-menu keymaps.
14144
6d823bb2
LMI
14145 * progmodes/gdb-mi.el (gdb): Fix typo in doc string.
14146
8e3459ce 141472011-10-06 Thierry Volpiatto <thierry.volpiatto@gmail.com>
14148
21ce8245 14149 * eshell/eshell.el (eshell-command): Enable `eshell-mode' only
8e3459ce 14150 in current minibuffer (Fix bug with recursive minibuffers).
14151
a1c2d21e
CY
141522011-10-06 Chong Yidong <cyd@stupidchicken.com>
14153
14154 * progmodes/gdb-mi.el (gdb): Doc fix.
14155
5a4cf282
MR
141562011-10-05 Martin Rudalics <rudalics@gmx.at>
14157
14158 * window.el (frame-auto-hide-function): New option replacing
14159 frame-auto-delete. Suggested by Stefan Monnier.
14160 (window--delete): Call frame-auto-hide-function instead of
14161 investigating frame-auto-delete.
c96111ea
MR
14162 (window-point-1, set-window-point-1): New functions.
14163 (window-in-direction, record-window-buffer, window-state-get-1)
14164 (display-buffer-record-window): Use window-point-1 instead of
14165 window-point.
14166 (set-window-buffer-start-and-point): Use set-window-point-1.
5a4cf282 14167
9854542e
SM
141682011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
14169
14170 * emacs-lisp/edebug.el: Heed checkdoc recommendations.
14171
8943cfb0
GM
141722011-10-05 Glenn Morris <rgm@gnu.org>
14173
14174 * progmodes/perl-mode.el (perl-electric-terminator): Doc fix.
14175 (perl-calculate-indent): Suppress scan errors. (Bug#2205)
14176
647ab967
LL
141772011-10-05 Leo Liu <sdl.web@gmail.com>
14178
14179 * subr.el (read-char-choice): Fix argument to buffer-live-p which
14180 works with buffer object.
14181
3ddfbced
SM
141822011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
14183
14184 * mpc.el (mpc-tool-bar-map): Add labels.
14185
bdfa5dd2
GM
141862011-10-04 Glenn Morris <rgm@gnu.org>
14187
14188 * calendar/holidays.el (calendar-check-holidays): Doc fix.
14189
0e2070b5
MR
141902011-10-04 Martin Rudalics <rudalics@gmx.at>
14191
14192 * window.el (window--delete): New function.
14193 (frame-auto-delete): Resuscitate option.
14194 (bury-buffer, replace-buffer-in-windows)
14195 (quit-window): Rewrite using window--delete.
14196 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
14197 Pass display-buffer-mark-dedicated to window--display-buffer-2
14198 (Bug#9639).
14199
3dc61a09
SM
142002011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
14201
915a9b64
SM
14202 * pcmpl-unix.el (pcomplete/scp): Don't assume pcomplete-all-entries
14203 returns a list (bug#9554). Add remote file name completion.
14204 * comint.el (comint--table-subvert): Curry and get quote&unquote
14205 functions as arguments.
14206 (comint--complete-file-name-data): Adjust call accordingly.
14207 * pcomplete.el (pcomplete--table-subvert): Remove.
14208 (pcomplete-completions-at-point): Use comint--table-subvert instead.
14209
3dc61a09
SM
14210 * minibuffer.el (completion-table-case-fold): Use currying.
14211 (completion--styles-type, completion--cycling-threshold-type):
14212 New constants.
14213 (completion-styles, completion-category-overrides)
14214 (completion-cycle-threshold): Use them.
14215 * pcomplete.el (pcomplete-completions-at-point): Adjust call to
14216 completion-table-case-fold.
14217
8ea0a993
SB
142182011-10-03 Stephen Berman <stephen.berman@gmx.net>
14219
14220 * minibuffer.el (completion-category-overrides): Fix type of styles
14221 and add more user friendly tags (bug#9660).
14222
8c24b7f6
SM
142232011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
14224
14225 * international/mule-cmds.el: Fix abuses of apply-partially (bug#9661).
14226 (mule-input-method-string): New widget.
14227 (default-input-method, language-info-custom-alist): Use it.
14228
428fe61a
SM
142292011-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
14230
32c1fffd
SM
14231 * pcomplete.el: Require comint.
14232 (pcomplete--common-suffix): Remove.
14233 (pcomplete--common-quoted-suffix): Use comint--common-suffix instead.
14234 (pcomplete--table-subvert): Sync with comint--table-subvert.
14235 (pcomplete--entries): Use comint-completion-file-name-table.
14236 * comint.el (comint-unquote-filename): Simplify.
14237 (comint-completion-file-name-table): New function (bug#9616).
14238 (comint--complete-file-name-data): Use it.
14239
428fe61a
SM
14240 * pcmpl-gnu.el (pcmpl-gnu-with-file-buffer): New macro (bug#9643).
14241 (pcmpl-gnu-tar-buffer): Remove.
14242 (pcmpl-gnu-with-file-buffer): Use it to avoid leaving the tar's buffer
9aaf2b9c
GM
14243 around. Make sure pcomplete-suffix-list is only changed temporarily.
14244 Don't look inside the tar's file if it's too large.
428fe61a 14245
04c52e2f
CY
142462011-10-01 Chong Yidong <cyd@stupidchicken.com>
14247
ce3cefcc
CY
14248 * cus-edit.el (custom-mode-map):
14249 * epa.el (epa-key-list-mode-map):
14250 * man.el (Man-mode-map):
14251 * startup.el (splash-screen-keymap):
14252 * simple.el (special-mode-map): Use scroll-up-command and
14253 scroll-down-command.
14254
14255 * progmodes/idlw-help.el (idlwave-help-mode-map):
14256 * progmodes/ebrowse.el (ebrowse-electric-position-mode-map):
14257 * net/newst-plainview.el (newsticker-mode-map):
14258 * emulation/ws-mode.el (wordstar-mode-map):
14259 * emulation/vi.el (vi-com-map):
14260 * calc/calc-graph.el (calc-graph-show-dumb):
14261 * term/sun.el (terminal-init-sun):
14262 * term/ns-win.el (global-map):
14263 * progmodes/grep.el (grep-mode-map):
14264 * progmodes/ebrowse.el (ebrowse-electric-list-mode-map):
14265 * mail/rmail.el (rmail-mode-map):
14266 * progmodes/cpp.el (cpp-edit-mode-map): Likewise.
14267
04c52e2f
CY
14268 * custom.el (custom-safe-themes, load-theme): Treat value of t for
14269 custom-safe-themes as special.
14270
79adf8c8
JD
142712011-10-01 Julien Danjou <julien@danjou.info>
14272
14273 * notifications.el (notifications-notify): Fix docstring.
14274
63bd50d3
PS
142752011-10-01 Per Starbäck <per@starback.se>
14276
14277 * pcmpl-gnu.el (pcomplete/tar): Fix tar-header-name call. (Bug#9643)
14278
199e4c7e
MR
142792011-09-30 Martin Rudalics <rudalics@gmx.at>
14280
14281 * startup.el (command-line-1): Fix last fix by inserting
14282 initial-scratch-message into *scratch* before displaying it.
cbc5ee22 14283 (Bug#9605) and (Bug#9636)
199e4c7e 14284
fe5f08dd
EZ
142852011-09-29 Eli Zaretskii <eliz@gnu.org>
14286
14287 * simple.el (line-move): If auto-hscroll-mode is disabled and the
14288 window is hscrolled, move by logical lines. (Bug#9607)
14289 (line-move-visual): Update the doc string to the above effect.
14290
b5516bbd
MR
142912011-09-29 Martin Rudalics <rudalics@gmx.at>
14292
ccee00c0
MR
14293 * window.el (display-buffer-record-window): When WINDOW is the
14294 selected window use `point' instead of `window-point'. (Bug#9626)
14295
b5516bbd
MR
14296 * startup.el (command-line-1): Use insert-before-markers when
14297 inserting initial-scratch-message. (Bug#9605)
ccee00c0 14298
b5516bbd
MR
14299 * help.el (help-window): Remove variable.
14300
52aa0014
GM
143012011-09-29 Glenn Morris <rgm@gnu.org>
14302
14303 * pcmpl-cvs.el (pcomplete/cvs): Add "status" handler.
14304
df9a7357
JB
143052011-09-29 Juanma Barranquero <lekktu@gmail.com>
14306
14307 * descr-text.el (describe-char-categories): Accept category
14308 descriptions more than one line long.
14309
a8406c20
SM
143102011-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
14311
88d9610c
SM
14312 * simple.el (delete-trailing-whitespace): Fix last change.
14313
a5daf810
SM
14314 * progmodes/perl-mode.el (perl-syntax-propertize-function):
14315 Don't confuse "y => 3" as the beginning of a `y' operation.
14316
a8406c20
SM
14317 * emacs-lisp/debug.el (debug-convert-byte-code): Don't assume the
14318 object has more than 4 slots (bug#9613).
14319
a239d4e9
JB
143202011-09-28 Juanma Barranquero <lekktu@gmail.com>
14321
14322 * subr.el (with-output-to-temp-buffer):
14323 * net/quickurl.el (quickurl, quickurl-browse-url):
14324 Fix typos in docstrings.
14325
693fbdb6
EZ
143262011-09-27 Eli Zaretskii <eliz@gnu.org>
14327
14328 * minibuffer.el (completion-styles)
14329 (completion-category-overrides): Cross reference each other in doc
14330 strings.
14331
8b457e28
GM
143322011-09-27 Glenn Morris <rgm@gnu.org>
14333
14334 * pcmpl-cvs.el (pcmpl-cvs-entries): Update for Emacs 22.1 changes
14335 to split-string. (Bug#9606)
14336
85a16208
LMI
143372011-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
14338
14339 * mail/smtpmail.el (smtpmail-via-smtp): Fix STARTTLS detection
14340 (bug#9615).
14341
502f9ebd
CY
143422011-09-27 Chong Yidong <cyd@stupidchicken.com>
14343
14344 * emacs-lisp/package.el (list-packages): Fix echo area message.
14345
7690bdea
LL
143462011-09-27 Leo Liu <sdl.web@gmail.com>
14347
14348 * ido.el (ido-read-internal): Accept cons cell HIST arg.
14349
e2ee6f30
MA
143502011-09-25 Michael Albinus <michael.albinus@gmx.de>
14351
14352 * net/dbus.el (dbus-unregister-object): Don't release services for
14353 registered signals. (Bug#9581)
14354
f3f98342
TZ
143552011-09-25 Teodor Zlatanov <tzz@lifelogs.com>
14356
14357 * progmodes/cfengine.el (cfengine-auto-mode): Add convenience
14358 function that picks between cfengine 2 and 3 support
14359 automatically. Update docs accordingly.
14360
dd7aa8dd
KH
143612011-09-22 Kenichi Handa <handa@m17n.org>
14362
14363 * language/ind-util.el (indian-tml-base-table): Add TAMIL DIGIT
14364 ZERO.
14365 (indian-itrans-v5-table-for-tamil): New variable.
14366 (indian-tml-itrans-v5-hash): Use the above variable (Bug#9336).
14367
3f2b07f8
KM
143682011-09-22 Ken Manheimer <ken.manheimer@gmail.com>
14369
14370 * allout.el (allout-this-command-hid-stuff): Buffer-local variable
14371 that's true if the current command involved collapsing of text.
14372 It's reset to false at the beginning of the next command.
14373 (allout-post-command-business): Move the cursor to the beginning
14374 of entry if the cursor is hidden and collapsing activity just
14375 happened.
14376
371d6a61
CY
143772011-09-24 Chong Yidong <cyd@stupidchicken.com>
14378
14379 * mouse.el (mouse-drag-track): Set scroll-margin to 0 while
14380 tracking (Bug#9541).
14381
2ac2721a
UJ
143822011-09-24 Ulf Jasper <ulf.jasper@web.de>
14383
14384 * net/newst-reader.el (newsticker-html-renderer)
1154d12e
JB
14385 (newsticker-show-news): Automatically load html rendering package
14386 if newsticker-html-renderer is set. Fixes "Warning: defvar ignored
14387 because w3m-fill-column is let-bound" and the error "Symbol's value
14388 as variable is void: w3m-fill-column".
2ac2721a 14389
fac7ae53
MA
143902011-09-24 Michael Albinus <michael.albinus@gmx.de>
14391
14392 * net/dbus.el (dbus-unregister-object): Remove match rule of signals.
14393 Release services only if they are defined. (Bug#9581)
14394
e08b633b
RS
143952011-09-23 Richard Stallman <rms@gnu.org>
14396
e488d29c
RS
14397 * textmodes/paragraphs.el (forward-sentence): For backwards case,
14398 distinguish start of paragraph from start of its text.
14399
19c38752
RS
14400 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs): Autoload.
14401
e08b633b
RS
14402 * mail/rmail.el (rmail-view-buffer-kill-buffer-hook): New function.
14403 (rmail-generate-viewer-buffer): Put that hook on view buffer.
14404 (rmail-mode-kill-buffer-hook): Override that hook, to kill view buffer.
14405
0a39f27e
AS
144062011-09-23 Andreas Schwab <schwab@linux-m68k.org>
14407
14408 * international/mule-diag.el (mule-diag): Insert a newline after
14409 each fontset description.
14410
db4e950d
SM
144112011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
14412
14413 * simple.el (delete-trailing-whitespace):
14414 Document last change; simplify.
14415
eca3f3ea
PW
144162011-09-23 Peter J. Weisberg <pj@irregularexpressions.net>
14417
d68e189a
PW
14418 * simple.el (delete-trailing-whitespace): Also delete
14419 extra newlines at the end of the buffer.
14420
eca3f3ea
PW
14421 * textmodes/picture.el: Make motion commands obey shift-select-mode.
14422 (picture-newline): Use forward-line so as to ignore fields.
14423
01c157cc
SM
144242011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
14425
14426 * subr.el (with-wrapper-hook): Fix edebug spec.
14427
022de23e
LMI
144282011-09-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
14429
14430 * simple.el (kill-line): Note effect of `show-trailing-whitespace'
14431 (bug#4538).
14432
91683089
MA
144332011-09-23 Michael Albinus <michael.albinus@gmx.de>
14434
eca3f3ea
PW
14435 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
14436 Fix nasty bug using wrong cached values.
91683089 14437
5bdd6fa4
AM
144382011-09-23 Alan Mackenzie <acm@muc.de>
14439
14440 * progmodes/cc-defs.el (c-version): Increase to 5.31.9.
14441
97adfb97
CY
144422011-09-23 Chong Yidong <cyd@stupidchicken.com>
14443
14444 * window.el (pop-to-buffer): Ensure right window is selected if we
14445 chose another frame.
14446
d4ef2b50
EZ
144472011-09-22 Eli Zaretskii <eliz@gnu.org>
14448
14449 * simple.el (what-cursor-position): Use get-char-property-change
14450 and next-single-char-property-change, to be able to show display
14451 properties that come from overlays as well as text properties.
14452
72258fe5
CY
144532011-09-22 Chong Yidong <cyd@stupidchicken.com>
14454
14455 * window.el (pop-to-buffer-same-window): New (reinstated) fun.
14456
14457 * cmuscheme.el (run-scheme, switch-to-scheme):
14458 * cus-edit.el (customize-group, custom-buffer-create)
14459 (customize-browse):
14460 * info.el (info):
14461 * shell.el (shell):
14462 * mail/sendmail.el (mail):
14463 * progmodes/inf-lisp.el (inferior-lisp): Use it (Bug#9532).
14464
8f098516
RS
144652011-09-22 Richard Stallman <rms@gnu.org>
14466
14467 * textmodes/paragraphs.el (forward-sentence): When setting PAR-BEG,
14468 move back only to line beg, don't move back over blank lines.
14469
e74f1bb6
MA
144702011-09-22 Michael Albinus <michael.albinus@gmx.de>
14471
14472 * files.el (copy-directory): Set directory attributes only in case
14473 they could be retrieved from the source directory. (Bug#9565)
14474
bfeef8b6
DK
144752011-09-22 Dima Kogan <dkogan@secretsauce.net> (tiny change)
14476
14477 * progmodes/hideshow.el (hs-looking-at-block-start-p)
14478 (hs-find-block-beginning, hs-hide-level-recursive):
14479 Ignore strings as well as comments. (Bug#9502)
14480
7e423bb8
AS
144812011-09-22 Andrew Schein <andrew@andrewschein.com> (tiny change)
14482
14483 * progmodes/sql.el (sql-comint-postgres):
14484 Convert port number to a string. (Bug#9566)
14485
b4d72fcf
MR
144862011-09-22 Martin Rudalics <rudalics@gmx.at>
14487
14488 * window.el (quit-window): Undedicate window when switching to
14489 previous buffer. Reported by Thierry Volpiatto
14490 <thierry.volpiatto@gmail.com>.
7f80c86d
MR
14491 (special-display-popup-frame): When popping up a new frame reset
14492 its previous buffers to nil. Simplify code.
b4d72fcf 14493
a7b88dc6
MA
144942011-09-21 Michael Albinus <michael.albinus@gmx.de>
14495
14496 * net/tramp.el (tramp-handle-shell-command): Set process sentinel
14497 and process filter, as done also in `shell-command'.
14498
cf4eacfd
MR
144992011-09-21 Martin Rudalics <rudalics@gmx.at>
14500
eca3f3ea 14501 * window.el (set-window-buffer-start-and-point):
1154d12e
JB
14502 Call set-window-start with NOFORCE argument t.
14503 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
cf4eacfd
MR
14504 (quit-window): Reword doc-string. Handle new format of
14505 quit-restore parameter. Don't delete window if it has a
14506 previous buffer we can show instead of the present one.
14507 (display-buffer-record-window): Rewrite using a new format for
14508 the quit-restore window parameter
14509 (special-display-popup-frame, display-buffer-same-window)
14510 (display-buffer-reuse-window, display-buffer-pop-up-frame)
14511 (display-buffer-pop-up-window, display-buffer-use-some-window):
14512 Adapt symbol passed to display-buffer-record-window.
14513 * help.el (help-window-setup): Handle new format of quit-restore
14514 parameter.
14515
8d28cb95
SM
145162011-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
14517
94ab793f
SM
14518 * faces.el (face-list): Fix docstring (bug#9564).
14519
8d28cb95
SM
14520 * window.el (display-buffer--action-function-custom-type):
14521 Don't include internal functions in the Custom interface.
14522
3820edeb
JL
145232011-09-20 Juri Linkov <juri@jurta.org>
14524
14525 * info.el (Info-history-skip-intermediate-nodes): New defcustom.
14526 (Info-forward-node, Info-backward-node, Info-next-preorder)
14527 (Info-last-preorder): Use it. (Bug#9528)
14528
5147931d
JL
145292011-09-20 Juri Linkov <juri@jurta.org>
14530
14531 * info.el (Info-last-preorder): Visit last menu item only when
14532 `Info-scroll-prefer-subnodes' is non-nil (third test-case of bug#9528).
14533
cf499a1a
JD
145342011-09-20 Julien Danjou <julien@danjou.info>
14535
14536 * password-cache.el (password-cache-remove): Remove entries even if the
14537 value is nil, so that password with a nil value (negative caching) is
14538 possible to invalidate.
14539
f84e2fe2
LM
145402011-09-20 Lawrence Mitchell <wence@gmx.li>
14541
14542 * progmodes/f90.el (f90-break-line): If breaking inside comment delete
14543 all whitespace around breakpoint. (Bug#9553)
14544 (f90-find-breakpoint): Only break at whitespace inside a comment.
14545
78054a46
SM
145462011-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
14547
14548 * minibuffer.el (completion-file-name-table): Keep track of errors.
14549 (completion-table-with-predicate): Handle the case where pred1 is nil.
14550 * pcomplete.el (pcomplete-completions-at-point): Simplify.
14551
345083b2
SM
145522011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
14553
e24e27be
SM
14554 * emacs-lisp/debug.el (debugger-args): Give it a docstring.
14555 (debugger-return-value): Signal an error if the debugging context does
14556 not await any return value.
14557
345083b2
SM
14558 * ps-mule.el (ps-mule-plot-string): Don't inf-loop (bug#5108).
14559 * image-mode.el (image-toggle-display-text)
14560 (image-toggle-display-image): Stay away from evil `intangible'.
14561
08d355e3
LL
145622011-09-19 Leo Liu <sdl.web@gmail.com>
14563
14564 * replace.el (occur-revert-arguments): Make it permanent-local.
14565 (occur-mode): Don't call font-lock-defontify.
14566
f01da43f
CY
145672011-09-19 Chong Yidong <cyd@stupidchicken.com>
14568
14569 * net/ldap.el (ldap-search-internal): Don't push empty search
14570 result (Bug#9508).
14571
b6072fa6
SM
145722011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
14573
14574 * whitespace.el (whitespace-newline-mode): Disable it right (bug#9550).
14575
443d6696
MA
145762011-09-19 Michael Albinus <michael.albinus@gmx.de>
14577
14578 * net/tramp-sh.el (tramp-inline-compress-commands): Add "xz".
14579 Suggested by Liam Stitt <stittl@cuug.ab.ca>.
14580
7cc6e154
JL
145812011-09-18 Juri Linkov <juri@jurta.org>
14582
14583 * buff-menu.el (Buffer-menu-mode-map):
14584 * dired.el (dired-mode-map):
14585 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map)
14586 (lisp-interaction-mode-map):
14587 * emacs-lisp/package.el (package-menu-mode-map):
14588 * epa.el (epa-key-list-mode-map):
14589 * menu-bar.el (menu-bar-showhide-tool-bar-menu)
14590 (menu-bar-options-menu):
14591 * outline.el (outline-mode-menu-bar-map):
14592 * vc/vc-bzr.el (vc-bzr-shelve-menu-map, vc-bzr-extra-menu-map):
14593 * vc/vc-dir.el (vc-dir-menu-map):
14594 * vc/vc-git.el (vc-git-stash-menu-map, vc-git-extra-menu-map):
14595 Capitalize non-function content words in menu item strings.
14596
14597 * dired.el (dired-mode-map): Add menu item for
14598 `image-dired-dired-toggle-marked-thumbs'.
14599
80302a81
JL
146002011-09-18 Juri Linkov <juri@jurta.org>
14601
14602 * isearch.el (isearch-edit-string): Bind `isearch-new-case-fold'
14603 to `isearch-case-fold-search' and restore its original value
14604 after the `isearch-mode' call.
14605
46c5cf66
JL
146062011-09-18 Juri Linkov <juri@jurta.org>
14607
14608 * progmodes/grep.el (grep-process-setup): Don't check code for 1
14609 because `zgrep' returns 1 for successful matches (bug#9226).
14610
d18b513b
JL
146112011-09-18 Juri Linkov <juri@jurta.org>
14612
14613 * info.el (Info-extract-menu-node-name): Check the second match
14614 for empty string (second test-case of bug#9528).
14615 (Info-last-preorder): Let-bind `Info-history' to nil to not add
14616 intermediate nodes to the history (first test-case of bug#9528).
14617
72753f87
JL
146182011-09-18 Juri Linkov <juri@jurta.org>
14619
14620 * info.el (Info-mode-syntax-table): New variable.
1154d12e 14621 (Info-mode): Set `:syntax-table' to `Info-mode-syntax-table' (bug#3312).
72753f87 14622
c9384295
JL
146232011-09-18 Juri Linkov <juri@jurta.org>
14624
1154d12e
JB
14625 * info.el (Info-file-supports-index-cookies):
14626 Increment line-beginning-position's arg from 3 to 4 because makeinfo
14627 outputs one more line for long file names (bug#4142).
c9384295 14628
d473dce8
CY
146292011-09-18 Chong Yidong <cyd@stupidchicken.com>
14630
14631 * newcomment.el (comment-normalize-vars): If prompting for
14632 comment-start, set comment-start-skip too (Bug#8424).
14633
2176854d
JB
146342011-09-18 Johan Bockgård <bojohan@gnu.org>
14635
14636 * icomplete.el: Fix previous fix of Bug#5849.
14637 (icomplete-mode): Don't set completion-show-inline-help.
14638 (icomplete-minibuffer-setup): Set completion-show-inline-help
14639 locally during icompletion.
14640
3aace4e4
CY
146412011-09-18 Chong Yidong <cyd@stupidchicken.com>
14642
c940224f
CY
14643 * woman.el (woman2-process-escapes): Don't delete unrecognized
14644 escapes (Bug#7843).
14645
3aace4e4
CY
14646 * files.el (inhibit-first-line-modes-regexps): Add image files.
14647 (hack-local-variables-prop-line): Return nil for malformed
14648 prop-lines (Bug#9044).
14649
710dec63
MA
146502011-09-18 Michael Albinus <michael.albinus@gmx.de>
14651
14652 * net/tramp.el (top): Don't require 'shell.
14653 (tramp-methods): Fix docstring.
14654 (tramp-get-remote-tmpdir): New defun, moved from tramp-sh.el.
8d28cb95
SM
14655 Return complete remote file name. Handle "smb" case.
14656 Use `tramp-tmpdir', if defined for the respective method.
710dec63
MA
14657 (tramp-make-tramp-temp-file): Adapt call of `tramp-get-remote-tmpdir'.
14658
14659 * net/tramp-compat.el (top): Require 'shell.
14660
14661 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
14662 (tramp-maybe-open-connection): Use `tramp-file-name-real-host' for
14663 `tramp-current-host'.
14664 (tramp-get-remote-tmpdir): Remove.
14665
14666 * net/tramp-smb.el (tramp-methods): Add `tramp-remote-shell' and
14667 `tramp-tmpdir' entries.
14668 (tramp-smb-errors): Add "NT_STATUS_IMAGE_ALREADY_LOADED".
14669 (tramp-smb-handle-file-attributes): Ignore errors.
14670 (tramp-smb-wait-for-output): Check also for process end.
14671
5d5ac8ec
LMI
146722011-09-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
14673
14674 * mail/smtpmail.el (smtpmail-via-smtp): Ignore errors that arise
14675 when sending QUIT (bug#9312).
14676
8c0f49f0
CY
146772011-09-17 Chong Yidong <cyd@stupidchicken.com>
14678
14679 * replace.el (occur-mode-map): Rebind occur-edit-mode to "e" (Bug#8463).
14680 (occur-edit-mode-map): Bind C-c C-c to occur-cease-edit and C-o to
14681 occur-mode-display-occurrence.
14682 (occur-edit-mode): Add usage message.
14683 (occur-cease-edit): New command.
14684 (occur-after-change-function): Use text properties to find the
14685 position of the prefix text.
14686 (occur-engine): Set stickiness of prefix text properties.
14687
8f1383f7
GM
146882011-09-17 Glenn Morris <rgm@gnu.org>
14689
14690 * progmodes/etags.el (complete-tag):
14691 Fix call to completion-in-region. (Bug#9526)
14692
744ba0e3
JL
146932011-09-17 Juri Linkov <juri@jurta.org>
14694
14695 * textmodes/ispell.el (ispell-word): Add to the error message
14696 the word, ispell program name and current dictionary (bug#9121).
14697 (ispell-tex-arg-end): Capitalize "error" in the error message.
14698
d9bbf400
AS
146992011-09-17 Andreas Schwab <schwab@linux-m68k.org>
14700
14701 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix overflow
14702 check. (Bug#4251)
14703
8da11505
JL
147042011-09-17 Juri Linkov <juri@jurta.org>
14705
14706 * window.el (window-safe-min-height, window-safe-min-width):
14707 Fix typos (followup to bug#9522).
14708
a91adc7e
SJ
147092011-09-17 Sven Joachim <svenjoac@gmx.de>
14710
14711 * window.el (window-min-width, window-state-put): Fix typos (bug#9522).
14712
064f328a
EZ
147132011-09-16 Eli Zaretskii <eliz@gnu.org>
14714
14715 * simple.el (line-move): If goal-column is set, move by logical
14716 lines, not by display lines. (Bug#971)
14717 (next-line, previous-line, goal-column, line-move-visual): Doc fix
14718 to reflect the above change.
14719
e69df516
SM
147202011-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
14721
14722 * image.el (imagemagick-register-types): Use regexp-opt.
14723
cbb0f9ab
CY
147242011-09-15 Chong Yidong <cyd@stupidchicken.com>
14725
14726 * window.el (display-buffer-base-action): Rename from
14727 display-buffer-default-action. Make default value empty.
14728 (display-buffer-overriding-action): Convert to defvar.
14729 (display-buffer-fallback-action): New var.
14730
25322144
CY
147312011-09-15 Chong Yidong <cyd@stupidchicken.com>
14732
14733 * emacs-lisp/package.el (package-alist): Fix risky-local-variable
14734 declaration.
14735 (package--add-to-archive-contents): If there is a duplicate entry
14736 with an older version, remove it.
14737 (package-menu-mark-delete, package-menu-mark-install)
14738 (package-menu-mark-unmark): Make unused args optional.
e69df516
SM
14739 (package-menu-mark-obsolete-for-deletion):
14740 Use package-menu-get-status instead of a regexp search.
25322144
CY
14741 (package-menu-get-status): Use tabulated-list-entry.
14742 (package-menu-mark-upgrades): New command.
d770725a 14743 (package-menu-mode-map): Bind it to U. Add it to menu bar.
25322144
CY
14744 (package-menu-execute): Do installation before deletion.
14745 (package-menu-refresh, package-menu-execute): Use derived-mode-p
14746 instead of checking major-mode.
14747 (package-menu--find-upgrades): New function.
14748
7520339c
LMI
147492011-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
14750
14751 * mail/smtpmail.el (smtpmail-send-command): Don't include AUTH
14752 passwords in the log buffer.
65a046c4
LMI
14753 (smtpmail-process-filter): Update the process marker so that the
14754 "broken by peer" status message is inserted in the right place.
7520339c 14755
d3c30954
SM
147562011-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
14757
3fe48822
SM
14758 * textmodes/bibtex.el (bibtex-complete-string-cleanup)
14759 (bibtex-complete-crossref-cleanup): Adjust to accommodate needs of
14760 bibtex-completion-at-point-function.
14761 (bibtex-completion-at-point-function): Use them.
14762
1b8b3954
SM
14763 * newcomment.el (comment-add, comment-valid-prefix-p): Docfix.
14764
d3c30954
SM
14765 * mpc.el (mpc-constraints-tag-lookup): New function.
14766 (mpc-constraints-restore): Use it to make jumping to "album=Foo" apply
14767 also to browser "album|playlist".
14768
72779976
JL
147692011-09-14 Juri Linkov <juri@jurta.org>
14770
14771 * isearch.el (isearch-fail-pos): Add new arg `msg'. Doc fix.
14772 (isearch-edit-string): Use length of `isearch-string' when
14773 `isearch-fail-pos' returns nil.
14774 (isearch-message): Remove duplicate code and call
14775 `isearch-fail-pos' with arg `t'.
14776
a0bf2bcd
CY
147772011-09-14 Chong Yidong <cyd@stupidchicken.com>
14778
17bb0a2d
CY
14779 * replace.el (occur-mode-goto-occurrence): Don't force using other
14780 window (Bug#9499).
14781
a0bf2bcd
CY
14782 * dired-aux.el (dired-do-chmod): Don't provide initial input.
14783
f678e0b6
MR
147842011-09-14 Martin Rudalics <rudalics@gmx.at>
14785
14786 * window.el (display-buffer-window): Remove.
14787 (display-buffer-record-window): Use help-setup window parameter
14788 instead of variable display-buffer-window.
14789 (display-buffer-function, special-display-buffer-names)
14790 (special-display-function): Mention help-setup parameter instead
14791 of display-buffer-window in doc-string.
d3c30954
SM
14792 * help.el (help-window-setup): New argument help-window.
14793 Use help-window-setup parameter instead of display-buffer-window.
f678e0b6
MR
14794 Reword some messages.
14795 (with-help-window): Pass window used for displaying the buffer
14796 to help-window-setup. Don't set display-buffer-window.
14797
8e39b2e8
GM
147982011-09-13 Glenn Morris <rgm@gnu.org>
14799
14800 * emacs-lisp/debug.el (debugger-make-xrefs):
14801 Preserve point. (Bug#9462)
14802
85e9c04b
CY
148032011-09-13 Chong Yidong <cyd@stupidchicken.com>
14804
14805 * window.el (window-deletable-p): Use next-frame.
14806
1b36ed6a
MR
148072011-09-13 Martin Rudalics <rudalics@gmx.at>
14808
14809 * window.el (window-auto-delete): Remove.
14810 (window-deletable-p): Remove argument FORCE. Don't deal with
e4769531 14811 dedication and previous buffers.
1b36ed6a
MR
14812 (switch-to-prev-buffer): Don't delete window.
14813 (delete-windows-on): Delete a window's frame if and only if the
14814 window is dedicated.
14815 (replace-buffer-in-windows): Delete buffer's window or frame if
14816 and only if window is dedicated.
14817 (quit-window): Handle quit-restore as before last change.
4d61f28d 14818 (bury-buffer): Delete window only if window-deletable-p returns t.
1b36ed6a 14819
ef8ef9fb
CY
148202011-09-13 Chong Yidong <cyd@stupidchicken.com>
14821
14822 * window.el (window-deletable-p): Never delete the last frame on a
14823 given terminal.
14824
b2cba41e
GM
148252011-09-13 Glenn Morris <rgm@gnu.org>
14826
14827 * help.el (describe-key-briefly): Copy previous standard-output change.
14828
51553db6 148292011-09-13 PJ Weisberg <pj@irregularexpressions.net>
e3ce671f
PW
14830
14831 * help.el (where-is): Respect non-standard standard-output. (Bug#9030)
14832
b7556719
GM
148332011-09-13 Glenn Morris <rgm@gnu.org>
14834
14835 * emacs-lisp/lisp-mode.el (lisp-indent-function):
14836 * progmodes/scheme.el (scheme-indent-function): Doc fixes.
14837
64b51947
CY
148382011-09-12 Chong Yidong <cyd@stupidchicken.com>
14839
14840 * dired-aux.el (dired-mark-read-string): Don't return default
14841 value on empty input (Bug#9361).
14842 (dired-do-chxxx): Treat empty input for "touch" as no -t option.
14843 Omit initial minibuffer contents.
14844 (dired-do-chmod): Signal an error on empty input.
14845 (dired-mark-read-string): Don't return default on empty input.
14846
14847 * files.el (file-modes-symbolic-to-number): Doc fix.
14848
393a301e
SM
148492011-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
14850
14851 * international/mule-cmds.el (ucs-completions): Remove.
14852 (read-char-by-name): Use complete-with-action instead; add metadata.
14853
fa5660f9
CY
148542011-09-11 Chong Yidong <cyd@stupidchicken.com>
14855
14856 * window.el (display-buffer--action-function-custom-type)
14857 (display-buffer--action-custom-type): New vars.
14858 (display-buffer-alist, display-buffer-default-action)
14859 (display-buffer-overriding-action): Add defcustom types.
14860
4a592f66
CY
14861 * frame.el (delete-other-frames): Doc fix (Bug#276).
14862
73d56dbd
LMI
148632011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
14864
14865 * play/doctor.el (make-doctor-variables): Define `doctor-sent'.
14866
37ac18a3
CY
148672011-09-11 Chong Yidong <cyd@stupidchicken.com>
14868
14869 Change modes that used same-window-* vars to use switch-to-buffer.
14870
14871 * progmodes/gdb-mi.el (gdb-restore-windows, gdb-setup-windows):
14872 Use switch-to-buffer.
14873
14874 * cus-edit.el (customize-group, custom-buffer-create)
393a301e
SM
14875 (customize-browse, custom-buffer-create-other-window):
14876 Use switch-to-buffer or switch-to-buffer-other-window.
37ac18a3
CY
14877
14878 * info.el (info, Info-find-node, Info-revert-find-node, Info-next)
14879 (Info-prev, Info-up, Info-speedbar-goto-node)
14880 (info-display-manual): Use switch-to-buffer.
14881 (Info-speedbar-goto-node): Use switch-to-buffer-other-frame.
14882
14883 * mail/sendmail.el (mail): Use switch-to-buffer.
14884 (mail-recover): Use switch-to-buffer-other-window.
14885
14886 * cmuscheme.el (run-scheme, switch-to-scheme):
14887 * ielm.el (ielm):
14888 * shell.el (shell):
14889 * net/rlogin.el (rlogin):
14890 * net/telnet.el (telnet, rsh):
14891 * progmodes/inf-lisp.el (inferior-lisp): Use switch-to-buffer.
14892
10195bd6
AS
148932011-09-11 Andreas Schwab <schwab@linux-m68k.org>
14894
14895 * dired.el (dired-sort-toggle-or-edit): Revert last changes.
14896
b322f63a
LMI
148972011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
14898
39d7fed6
LMI
14899 * dired.el (dired-sort-toggle-or-edit): -o doesn't exist on *BSD,
14900 so don't mention it (bug#9301).
ba5a81f1 14901 (dired-sort-toggle-or-edit): Clarify string further.
39d7fed6 14902
ee0e9f11
LMI
14903 * faces.el (face-spec-set-match-display): Make `(type graphic)'
14904 match `x', `w32' and `ns', like the manual says (bug#9029).
14905
0b1c89c1 14906 * subr.el (eval-after-load): Doc string clarification (bug#9125).
da9fcb93
LMI
14907 (process-kill-buffer-query-function): Mention the buffer name in
14908 the query.
0b1c89c1 14909
77549ea8
LMI
14910 * image-mode.el (image-next-line): The line parameter is mandatory
14911 (bug#9258).
14912
803ef892
LMI
14913 * dired.el (dired-sort-toggle-or-edit): Mention -o and -g, too,
14914 which can be useful (bug#9301).
14915
12980837
LMI
14916 * textmodes/flyspell.el: Remove obsolete comment (bug#9368).
14917
91054f8f
LMI
14918 * subr.el (match-string): Mention that the current buffer should
14919 be the same as the search was done in (bug#9282).
14920
b322f63a
LMI
14921 * facemenu.el: Disable the remove-* commands if the mark isn't
14922 active (bug#9162).
14923
3199b96f
CY
149242011-09-10 Chong Yidong <cyd@stupidchicken.com>
14925
14926 * buff-menu.el (Buffer-menu-switch-other-window): Use second arg
14927 of display-buffer.
14928 (Buffer-menu-2-window): Use switch-to-buffer-other-window.
14929
14930 * replace.el (occur-mode-goto-occurrence)
14931 (occur-mode-display-occurrence) Use second arg of pop-to-buffer
14932 and display-buffer.
14933
14934 * mail/reporter.el (reporter-submit-bug-report): Use second arg of
14935 display-buffer.
14936
14937 * mail/sendmail.el (sendmail-user-agent-compose): Don't bind the
14938 special-display and same-window variables.
14939 (mail-other-window): Use switch-to-buffer-other-window.
14940 (mail-other-frame): USe switch-to-buffer-other-frame.
14941
393a301e
SM
14942 * progmodes/gdb-mi.el (gdb-frame-gdb-buffer):
14943 Use display-buffer-other-frame.
3199b96f
CY
14944 (gdb-display-gdb-buffer): Use pop-to-buffer.
14945
14946 * progmodes/gud.el (gud-goto-info): Use info-other-window.
14947
14948 * progmodes/python.el: Don't set same-window-buffer-names.
14949
14950 * textmodes/bibtex.el (bibtex-search-entry): Use switch-to-buffer.
14951
14952 * window.el (display-buffer-alist): Add *Python*.
14953
8319e0bf
CY
149542011-09-10 Chong Yidong <cyd@stupidchicken.com>
14955
14956 * window.el (display-buffer-alist): Add entry for buffers
14957 previously handled same-window-*.
14958 (display-buffer-alist, display-buffer-default-action)
14959 (display-buffer-overriding-action): Mark as risky.
14960 (display-buffer-alist): Document action function changes.
14961 (display-buffer--same-window-action)
14962 (display-buffer--other-frame-action): New variables.
14963 (switch-to-buffer, display-buffer-other-frame): Use them.
14964 (display-buffer): Rename reuse-frame entry to reusable-frames.
14965 (display-buffer-reuse-selected-window): Function deleted.
14966 (display-buffer-reuse-window): Handle reusable-frames alist entry.
14967 If it's omitted, check pop-up-frames/display-buffer-reuse-frames.
14968 (display-buffer-special): New function.
14969 (display-buffer--maybe-pop-up-frame-or-window): Rename from
14970 display-buffer-reuse-or-pop-window. Split off special-display
14971 part into display-buffer-special.
14972 (display-buffer-use-some-window): Don't perform any special
14973 pop-up-frames handling.
14974 (pop-to-buffer): Use window-normalize-buffer-to-switch-to.
393a301e 14975 (display-buffer--maybe-same-window): Rename from
0d3ff375 14976 display-buffer-maybe-same-window.
8319e0bf 14977
919a69aa
CY
14978 * info.el: Don't set same-window-regexps.
14979 (info-setup): New function.
14980 (info-other-window, info): Call it.
14981
14982 * cus-edit.el: Don't set same-window-regexps.
14983 (customize-group): New argument.
14984 (customize-group-other-window): Use it.
14985 (customize-face, customize-face-other-window): Likewise.
14986 (custom-buffer-create-other-window): Use pop-to-buffer directly.
14987
8319e0bf
CY
14988 * net/rlogin.el:
14989 * net/telnet.el:
14990 * progmodes/gud.el: Don't set same-window-regexps.
14991
14992 * cmuscheme.el:
14993 * ielm.el:
14994 * shell.el:
14995 * mail/sendmail.el:
14996 * progmodes/inf-lisp.el: Don't set same-window-buffer-names.
14997
25173000
JL
149982011-09-10 Juri Linkov <juri@jurta.org>
14999
15000 * isearch.el (isearch-edit-string): Remove obsolete mention of
15001 `C-w' (`isearch-yank-word-or-char') from docstring.
15002 (isearch-query-replace): Fix typo in docstring (bug#9466).
15003
056e44ef
JL
150042011-09-10 Juri Linkov <juri@jurta.org>
15005
15006 * paren.el (show-paren-function): Don't show escaped parens.
15007 Let-bind `unescaped' to `t' when paren is not escaped. (Bug#9461)
15008
c3760c17
EZ
150092011-09-10 Eli Zaretskii <eliz@gnu.org>
15010
15011 * mail/sendmail.el (mml-to-mime, mml-attach-file)
15012 (mm-default-file-encoding): Remove autoload forms, they are
15013 replaced with autoload cookies in mml.el and mm-encode.el.
15014 (mail-add-attachment): New command.
15015 (mail-mode-map): Add a menu-bar item for mail-add-attachment.
15016 (mail-mode): Mention mail-insert-file and mail-add-attachment in
15017 the doc string.
15018 (mml-to-mime, mml-attach-file, mm-default-file-encoding): Declare.
15019
fece895e
RT
150202011-09-10 Reuben Thomas <rrt@sc3d.org>
15021
e69df516
SM
15022 * simple.el (count-words-region): Use buffer if there's no region
15023 (bug#9429).
fece895e 15024
5e68ce4a
JL
150252011-09-09 Juri Linkov <juri@jurta.org>
15026
15027 * wdired.el (wdired-change-to-wdired-mode): Set buffer-local
15028 `isearch-filter-predicate' to `wdired-isearch-filter-read-only'.
15029 (wdired-isearch-filter-read-only): New function. (Bug#6362)
15030
0a6b9622
AM
150312011-09-09 Alan Mackenzie <acm@muc.de>
15032
15033 * progmodes/cc-mode.el (awk-mode): Prevent `define-derived-mode'
15034 spuriously generating `awk-mode-syntax-table'. (Bug #9448).
15035
14a29deb
EZ
150362011-09-09 Eli Zaretskii <eliz@gnu.org>
15037
15038 Fix for Savannah bug#9392.
15039 * simple.el (mail-encode-mml): New defvar.
15040
15041 * mail/rmail.el (mail-encode-mml): Add a defvar.
15042 (rmail-enable-mime-composing): Default to t.
15043 (rmail-forward): Use MIME method of forwarding only if both
15044 rmail-enable-mime-composing and rmail-enable-mime are non-nil.
15045 Set mail-encode-mml non-nil if the MIME method was used.
15046
15047 * mail/sendmail.el (mml-to-mime): Add autoload form.
15048 (mail-encode-mml): Add a defvar.
15049 (mail-mode): Make mail-encode-mml buffer-local and initialize it
15050 to nil.
15051 (mail-send): If mail-encode-mml is non-nil, run the outgoing
15052 message through mml-to-mime, and reset mail-encode-mml to nil.
15053
28c45130
GM
150542011-09-09 Glenn Morris <rgm@gnu.org>
15055
15056 * woman.el (woman-if-body): When processing an .el block,
15057 do not delete the next .el block as well. (Bug#9447)
69f4b618 15058 (woman-special-characters): Add oq, cq, and hy characters.
28c45130 15059
9b1c252e
MR
150602011-09-08 Martin Rudalics <rudalics@gmx.at>
15061
15062 * window.el (window-deletable-p): Make sure window is live before
15063 invoking window-prev-buffers.
15064
567457e3
LL
150652011-09-08 Leo Liu <sdl.web@gmail.com>
15066
15067 * net/rcirc.el (rcirc-cmd-invite): New rcirc command. (Bug#9453)
15068
97f05794
JL
150692011-09-08 Juri Linkov <juri@jurta.org>
15070
15071 * progmodes/compile.el (compilation-environment): Make it
15072 a defcustom (bug#8340).
15073
8b0874b5
MR
150742011-09-08 Martin Rudalics <rudalics@gmx.at>
15075
15076 * window.el (frame-auto-delete): Rename to window-auto-delete.
15077 Make it control auto-deletion of windows and/or frames.
15078 (window-deletable-p): New argument FORCE. Rewrite conditions
5e617bc2 15079 for deleting window/frame. (Bug#9419)
8b0874b5
MR
15080 (switch-to-prev-buffer, replace-buffer-in-windows, quit-window):
15081 Rewrite handling of case when window/frame can be deleted.
15082 (delete-windows-on): Call window-deletable-p with new FORCE
5e617bc2 15083 argument t. (Bug#9456)
8b0874b5 15084
4feb6e73
CY
150852011-09-07 Chong Yidong <cyd@stupidchicken.com>
15086
15087 * help-mode.el (help-mode): Restore autoload.
15088
91ab9c13
JL
150892011-09-07 Juri Linkov <juri@jurta.org>
15090
15091 * progmodes/compile.el (compilation-start): Let-bind `thisenv' to
15092 `compilation-environment'. Set buffer-local
15093 `compilation-environment' to `thisenv' later after (funcall mode).
15094 (Bug#8340)
15095
15096 * vc/vc-git.el (vc-git-grep): Remove --no-color. (Bug#9408)
15097 (vc-git-grep): Prepend "PAGER=" to `compilation-environment'
15098 instead of replacing its value. (Bug#8340)
15099
0527e251
JL
151002011-09-07 Juri Linkov <juri@jurta.org>
15101
15102 * progmodes/grep.el (grep-regexp-alist): Calculate column positions
15103 based on text properties put by `grep-filter' instead of matching
15104 escape sequences.
15105 (grep-mode): Set buffer-local `compilation-error-screen-columns'
15106 to the value of `grep-error-screen-columns' (bug#9438).
15107
249f792c
JL
151082011-09-07 Juri Linkov <juri@jurta.org>
15109
15110 * simple.el (next-error-highlight, next-error-highlight-no-select):
15111 Doc fix (bug#9432).
15112
ff7271b9
OT
151132011-09-07 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
15114
15115 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
15116 Check for null c-opt-block-decls-with-vars-key. (Bug#9443)
15117
183fc730
LL
151182011-09-07 Leo Liu <sdl.web@gmail.com>
15119
15120 * net/rcirc.el (rcirc-mode): Conditionally initialize
15121 rcirc-input-ring.
15122
77694924
SM
151232011-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
15124
15125 * emacs-lisp/find-func.el (find-function-C-source): Only set
15126 find-function-C-source-directory after checking that we found a source
15127 file there (bug#9440).
15128
d809b8eb
AM
151292011-09-06 Alan Mackenzie <acm@muc.de>
15130
15131 * isearch.el (isearch-other-meta-char): Wherever a key list is
15132 unread, "unread" the prefix arg, too. This fixes bug #8901.
15133
453de99f
OG
151342011-09-05 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
15135
15136 * progmodes/grep.el (rgrep): Add "-type d" (bug#9414).
15137
90439906
JL
151382011-09-05 Juri Linkov <juri@jurta.org>
15139
15140 * progmodes/grep.el (grep-process-setup): Fix comments (bug#8084).
15141
f62bd846
JL
151422011-09-05 Juri Linkov <juri@jurta.org>
15143
15144 * progmodes/grep.el (grep-filter): Avoid incomplete processing by
15145 keeping point where processing of grep matches begins, and
15146 continue to delete remaining escape sequences from the same point.
15147 (grep-filter): Make leading zero optional in "0?1;31m" because
15148 git-grep emits "\033[1;31m" escape sequences unlike expected
15149 "\033[01;31m" as GNU Grep does (bug#9408).
15150 (grep-process-setup): Replace obsolete "ml=" with newer "sl=".
15151
045820ec
JL
151522011-09-05 Juri Linkov <juri@jurta.org>
15153
15154 * subr.el (y-or-n-p): Capitalize "yes".
15155
f5e29b9b
MA
151562011-09-04 Michael Albinus <michael.albinus@gmx.de>
15157
15158 * net/tramp.el (top): Require 'shell. Use `tramp-unload-hook' but
15159 `tramp-cache-unload-hook' where appropriate.
15160 (tramp-methods): Rename `tramp-remote-sh' to
15161 `tramp-remote-shell'. Add `tramp-remote-shell-args'.
15162 (tramp-handle-shell-command): New defun, moved from tramp-sh.el.
15163
15164 * net/tramp-sh.el (top): Don't require 'shell.
15165 (tramp-methods): Add `tramp-remote-shell' and
15166 `tramp-remote-shell-args' entries.
15167 (tramp-sh-file-name-handler-alist): Use `tramp-handle-shell-command'.
15168 (tramp-sh-handle-shell-command): Remove.
15169 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
15170 Use `tramp-remote-shell'.
15171
2784c434
CY
151722011-09-03 Chong Yidong <cyd@stupidchicken.com>
15173
393a301e 15174 * mail/sendmail.el (sendmail-query-once-function): Delete.
2784c434
CY
15175 (sendmail-query-once): Save directly to send-mail-function.
15176 Update message-send-mail-function too.
15177
15178 * mail/smtpmail.el (smtpmail-try-auth-methods): Clarify prompt.
15179
464cdf56
CS
151802011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
15181
15182 * progmodes/python.el (python-mode-map): Use correct function to
15183 start python interpreter from menu-bar (as reported by Geert
15184 Kloosterman).
15185 (inferior-python-mode-map): Fix typo.
393a301e 15186 (python-shell-map): Remove.
464cdf56 15187
d37e5c87
DD
151882011-09-03 Deniz Dogan <deniz@dogan.se>
15189
15190 * net/rcirc.el (rcirc-print): Simplify code for
15191 rcirc-scroll-show-maximum-output. There is no need to walk
15192 through all windows to find the right one.
15193
f3ada0ee
CS
151942011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
15195
15196 * help.el (help-return-method): Doc fix.
15197
1f3c99ca
MR
151982011-09-03 Martin Rudalics <rudalics@gmx.at>
15199
15200 * window.el (window-deletable-p): Don't return a non-nil value
15201 when there's a buffer that was shown in the window before.
15202 (Bug#9419)
393a301e
SM
15203 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
15204 Set window's previous buffers to nil.
1f3c99ca 15205
a3cf097f
EZ
152062011-09-03 Eli Zaretskii <eliz@gnu.org>
15207
15208 * mail/rmailmm.el (rmail-mime-insert-tagline): Insert an extra
15209 newline before and after the tag line, so it doesn't interfere
15210 with determining the paragraph direction of bidirectional text.
15211
3d03de90
LL
152122011-09-03 Leo Liu <sdl.web@gmail.com>
15213
15214 * files.el (find-file-not-true-dirname-list): Remove. (Bug#9422)
15215
c3313451
CY
152162011-09-02 Chong Yidong <cyd@stupidchicken.com>
15217
393a301e 15218 * window.el (pop-to-buffer-1, pop-to-buffer-same-window): Delete.
c3313451
CY
15219 (pop-to-buffer): Change interactive spec. Pass second argument
15220 directly to display-buffer.
15221 (display-buffer): Fix interactive spec. Use functionp to
15222 distinguish between a function and a list of functions.
15223
15224 * abbrev.el (edit-abbrevs):
15225 * arc-mode.el (archive-extract):
15226 * autoinsert.el (auto-insert):
15227 * bookmark.el (bookmark-bmenu-list):
15228 * files.el (find-file):
15229 * view.el (view-buffer):
15230 * progmodes/compile.el (compilation-goto-locus):
15231 * textmodes/bibtex.el (bibtex-initialize): Use switch-to-buffer.
15232
89894cd8
CY
152332011-09-02 Chong Yidong <cyd@stupidchicken.com>
15234
15235 * window.el (display-buffer-alist): Doc fix.
15236 (display-buffer): Add docstring. Don't treat
15237 display-buffer-default specially.
15238 (display-buffer-reuse-selected-window)
15239 (display-buffer-same-window, display-buffer-maybe-same-window)
15240 (display-buffer-reuse-window, display-buffer-pop-up-frame)
15241 (display-buffer-pop-up-window)
15242 (display-buffer-reuse-or-pop-window)
15243 (display-buffer-use-some-window): New functions.
15244 (display-buffer-default-action): Use them.
393a301e 15245 (display-buffer-default): Delete.
89894cd8
CY
15246 (pop-to-buffer-1): Fix choice of actions.
15247
ae0bc9fb
SM
152482011-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
15249
15250 * minibuffer.el (completion--insert-strings): Don't get confused by
15251 completion entries that end with an LF char.
15252
e9d90883
EZ
152532011-09-01 Eli Zaretskii <eliz@gnu.org>
15254
15255 * window.el (frame-auto-delete, window-deletable-p): Doc fix.
15256
437014c8
CY
152572011-09-01 Chong Yidong <cyd@stupidchicken.com>
15258
15259 * window.el (display-buffer): Restore interactive spec.
ae0bc9fb
SM
15260 (display-buffer-same-window, display-buffer-other-window):
15261 New functions.
437014c8
CY
15262 (pop-to-buffer-1): New function. Use the above.
15263 (pop-to-buffer, pop-to-buffer-same-window): Use it.
ae0bc9fb 15264 (pop-to-buffer-other-window, pop-to-buffer-other-frame): Delete.
437014c8
CY
15265
15266 * view.el (view-buffer-other-window, view-buffer-other-frame):
15267 Just use pop-to-buffer.
15268
a5e063d5
TV
152692011-09-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
15270
15271 * vc/vc-rcs.el (vc-rcs-responsible-p): Handle directories. (Bug#9391)
15272
793d32bb
WH
152732011-09-01 Wilfred Hughes <wilfred@potatolondon.com> (tiny change)
15274
15275 * vc/vc-git.el (vc-git-grep): Use --no-color. (Bug#9408)
15276
d65e4c15
RS
152772011-08-31 Richard Stallman <rms@gnu.org>
15278
15279 * mail/rmail.el (rmail-epa-decrypt): Rewrite to take account
15280 of the separation of rmail-view-buffer from rmail-buffer.
15281 If you say no to "replace original", the decrypt is in the
15282 view buffer. If you say yes, the decrypt goes into the
15283 rmail buffer also.
15284
f818cd2a
MR
152852011-08-31 Martin Rudalics <rudalics@gmx.at>
15286
15287 * window.el (display-buffer-window): Rewrite doc-string.
15288 (display-buffer-record-window): New function.
15289 (display-buffer-macro-specifiers)
15290 (display-buffer-even-window-sizes, display-buffer-set-height)
15291 (display-buffer-set-width, display-buffer-in-window)
15292 (display-buffer-reuse-window, display-buffer-split-specifiers)
15293 (display-buffer-side-specifiers, display-buffer-split-window-1)
15294 (display-buffer-split-window, display-buffer-split-atom-window)
15295 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
15296 (display-buffer-pop-up-side-window, display-buffer-in-side-window)
15297 (display-buffer-other-window-means-other-frame)
15298 (display-buffer-normalize-special)
15299 (display-buffer-normalize-default)
15300 (display-buffer-normalize-argument)
15301 (display-buffer-normalize-alist-1, display-buffer-normalize-alist)
15302 (display-buffer-normalize-specifiers, display-buffer-frame)
15303 (display-buffer-same-window, display-buffer-same-frame)
15304 (display-buffer-other-window)
15305 (display-buffer-same-frame-other-window)
15306 (display-buffer-other-frame, pop-to-buffer-same-window)
15307 (pop-to-buffer-same-frame, pop-to-buffer-other-window)
15308 (pop-to-buffer-same-frame-other-window, pop-to-buffer-other-frame)
15309 (switch-to-buffer-same-frame)
15310 (switch-to-buffer-other-window-same-frame)
15311 (display-buffer-alist-of-strings-p, display-buffer-alist-add)
15312 (display-buffer-alist-set-1, display-buffer-alist-set-2)
15313 (display-buffer-alist-set): Remove.
15314 (display-buffer-function, special-display-buffer-names)
ae0bc9fb
SM
15315 (special-display-regexps, special-display-function):
15316 In doc-string refer to display-buffer-window and quit-restore
f818cd2a
MR
15317 parameter.
15318 (pop-up-frame-alist, pop-up-frame-function, special-display-p)
15319 (special-display-frame-alist, special-display-popup-frame)
15320 (same-window-buffer-names, same-window-regexps, same-window-p)
15321 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
15322 (split-window-preferred-function, split-height-threshold)
15323 (split-width-threshold, window-splittable-p)
15324 (split-window-sensibly, window--try-to-split-window)
15325 (window--frame-usable-p, even-window-heights)
15326 (window--even-window-heights, window--display-buffer-1)
ae0bc9fb
SM
15327 (window--display-buffer-2, display-buffer-other-frame):
15328 Restore old Emacs 23 code, order and doc-strings where applicable.
f818cd2a
MR
15329 (display-buffer-default, display-buffer-assq-regexp): New functions.
15330 (display-buffer-alist): Rewrite doc-string.
15331 (display-buffer-default-action)
15332 (display-buffer-overriding-action): New variables.
15333 (display-buffer, switch-to-buffer): Rewrite.
15334 (pop-to-buffer): Restore Emacs 23 behavior but use
15335 window-normalize-buffer-to-display.
15336 (switch-to-buffer-other-window, switch-to-buffer-other-frame):
15337 Restore Emacs 23 behavior but use
15338 window-normalize-buffer-to-switch-to.
15339 (pop-to-buffer-same-window): Rewrite.
ae0bc9fb
SM
15340 (pop-to-buffer-other-window, pop-to-buffer-other-frame):
15341 Rewrite using Emacs 23 options.
f818cd2a 15342
5bc3b51d
MA
153432011-08-31 Michael Albinus <michael.albinus@gmx.de>
15344
15345 * net/tramp.el (tramp-root-regexp): Remove.
15346 (tramp-completion-file-name-regexp-unified)
15347 (tramp-completion-file-name-regexp-separate)
15348 (tramp-completion-file-name-regexp-url): Don't use leading volume
b46a6a83 15349 letter on w32 systems. (Bug#5303, Bug#9311)
ae0bc9fb
SM
15350 (tramp-drop-volume-letter): Simplify definition.
15351 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
5bc3b51d 15352
b1a4f8e1
SM
153532011-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
15354
15355 * subr.el (event-modifiers): Fix "missing modifier" part of docstring
15356 (bug#9356).
15357
5664fa7b
RT
153582011-08-30 Reuben Thomas <rrt@sc3d.org> (tiny change)
15359
b1a4f8e1 15360 * vc/pcvs-defs.el (cvs-find-file-and-jump): Docstring typo (bug#9369).
5664fa7b 15361
9a45d6c3
JL
153622011-08-29 Juri Linkov <juri@jurta.org>
15363
15364 * isearch.el (isearch-done): Don't display message "Mark saved"
15365 when arg `edit' is non-nil to prevent its flicker in the echo area.
15366
fb87e0fb
CY
153672011-08-28 Chong Yidong <cyd@stupidchicken.com>
15368
15369 * emacs-lisp/package.el (package-menu-mark-delete): Allow marking
15370 obsolete packages for deletion.
15371
09ac1c2a
CS
153722011-08-28 Christoph Scholtes <cschol2112@googlemail.com>
15373
15374 * help-mode.el (help-mode-map): Add special-mode-map to parent.
5e617bc2 15375 (help-mode): Derive help-mode from special-mode. Don't invoke
09ac1c2a
CS
15376 view-mode from help-mode.
15377 (help-xref-override-view-map): Remove.
15378 (help-make-xrefs): Remove minor-mode-overriding-map-alist since
15379 view-mode is not used anymore.
15380
7a1ff57f
CY
153812011-08-28 Chong Yidong <cyd@stupidchicken.com>
15382
15383 * server.el (server-port): Doc fix.
15384
b9696605
CY
15385 * cus-theme.el (custom-theme-choose-mode): Inherit from
15386 special-mode (Bug#9124).
15387 (custom-theme-choose-mode-map): Add special-mode to parent.
15388
ef8cdf8c
AM
153892011-08-28 Alan Mackenzie <acm@muc.de>
15390
15391 * progmodes/cc-fonts.el
15392 (c-make-font-lock-BO-decl-search-function): New function.
15393 (c-basic-matchers-after - "Fontify the clauses after various
15394 keywords"): Extract the three keyword lists for the 3 erroneous
15395 constructs from the list of four, and use the new function above
15396 in place of an old one.
15397
27de4e20
DD
153982011-08-28 Deniz Dogan <deniz@dogan.se>
15399
15400 * net/rcirc.el (rcirc-insert-prev-input)
15401 (rcirc-insert-next-input): Remove unused argument.
15402
356a3681
SM
154032011-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
15404
15405 * shell.el (shell-parse-pcomplete-arguments): Unquote args (bug#9160).
15406
3fc9b218
AM
154072011-08-27 Alan Mackenzie <acm@muc.de>
15408
15409 * progmodes/cc-menus.el (cc-imenu-c++-generic-expression): Make it
15410 handle function pointer parameters properly.
15411
538a061c
MR
154122011-08-27 Martin Rudalics <rudalics@gmx.at>
15413
15414 * window.el (display-buffer-reuse-window): Fix case where
15415 selected window was reused with non-nil OTHER-WINDOW argument.
15416 (Bug#9381)
15417
35b1c40c
DD
154182011-08-27 Deniz Dogan <deniz@dogan.se>
15419
15420 * net/rcirc.el (rcirc-check-auth-status): Adding support for
15421 oftc's NickServ messages.
15422
2f6a3e79
GM
154232011-08-27 Glenn Morris <rgm@gnu.org>
15424
15425 * saveplace.el (save-place-limit): Make it finite. (Bug#9352)
15426
7254299e
CY
154272011-08-26 Chong Yidong <cyd@stupidchicken.com>
15428
15429 * emacs-lisp/package.el (package-install): Call package-initialize
15430 if called interactively.
15431
f8ccf167
LL
154322011-08-26 Leo Liu <sdl.web@gmail.com>
15433
15434 * emacs-lisp/cl-macs.el (defstruct): Fix format. (Bug#9357)
15435
3e8cd5ce
JL
154362011-08-25 Juri Linkov <juri@jurta.org>
15437
15438 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
15439 `search-whitespace-regexp' (bug#9364).
15440
93eb7113
JL
154412011-08-25 Juri Linkov <juri@jurta.org>
15442
15443 * isearch.el (isearch-edit-string): Let-bind `search-ring' and
15444 `regexp-search-ring' to their global values to protect from
15445 updating by `read-from-minibuffer' (bug#9185).
15446
f65d1611
JL
154472011-08-25 Juri Linkov <juri@jurta.org>
15448
15449 * textmodes/ispell.el (ispell-command-loop): Add newline
15450 at the end of the "Use option `i'..." line.
15451
f1cf7a31
JL
154522011-08-25 Juri Linkov <juri@jurta.org>
15453
15454 * battery.el (display-battery-mode): If `battery-status-function'
15455 or `battery-mode-line-format' is nil, display the message and set
15456 `display-battery-mode' to nil (bug#9363).
15457
0c95fcf7
EZ
154582011-08-25 Eli Zaretskii <eliz@gnu.org>
15459
15460 * buff-menu.el (Buffer-menu-buffer+size): Remove calls to
15461 bidi-string-mark-left-to-right; they are unnecessary now.
15462
a2ebe600
DD
154632011-08-25 Deniz Dogan <deniz@dogan.se>
15464
15465 * net/quickurl.el: Documentation typo fixes.
15466
e4ed06f1
CY
154672011-08-25 Chong Yidong <cyd@stupidchicken.com>
15468
15469 * window.el (bury-buffer, quit-window): Use bury-buffer-internal.
15470
e5f1c99e
GM
154712011-08-25 Glenn Morris <rgm@gnu.org>
15472
b2948976
GM
15473 * emacs-lisp/derived.el (define-derived-mode): Doc fix.
15474
e5f1c99e
GM
15475 * mail/smtpmail.el (smtpmail-smtp-user): Add version: tag.
15476 (smtpmail-via-smtp): Handle nil response from smtp.
15477
f22f4808
JL
154782011-08-24 Juri Linkov <juri@jurta.org>
15479
15480 * proced.el (proced-marked): Inherit from `error' instead of
15481 `font-lock-warning-face'.
15482
15483 * ibuffer.el (ibuffer-marked-face): Change default face from
15484 `font-lock-warning-face' to `warning'.
15485 (ibuffer-deletion-face): Change default face from
15486 `font-lock-type-face' to `error'.
15487
15488 * battery.el (battery-update): Use the face `error' instead of
15489 `font-lock-warning-face' (bug#6117).
15490
6a93965e
JL
154912011-08-24 Juri Linkov <juri@jurta.org>
15492
15493 * faces.el (success): Change face color from "Green3" to
15494 "ForestGreen" on light background (bug#9353).
15495
1ed43b09
CY
154962011-08-24 Chong Yidong <cyd@stupidchicken.com>
15497
5664fa7b
RT
15498 * window.el (quit-window): Rename from quit-restore-window.
15499 Use same arglist as old quit-window.
1ed43b09
CY
15500 (frame-auto-delete): Doc fix.
15501
15502 * view.el (view-mode-exit): Use quit-window.
15503
11dcdbb2
JL
155042011-08-24 Juri Linkov <juri@jurta.org>
15505
15506 * isearch.el (isearch-ring-adjust1): Start visiting previous
15507 search strings from the index 0 (-1 + 1) instead of 1 (0 + 1).
15508 (isearch-repeat, isearch-edit-string): Call `isearch-ring-adjust1'
15509 for empty search string (when the last search string is reused
15510 automatically) to adjust the isearch ring to the last element and
15511 prepare the correct index for further M-p commands (bug#9185).
15512
de62b4df
KH
155132011-08-24 Kenichi Handa <handa@m17n.org>
15514
15515 * international/ucs-normalize.el: If decomposition property of
15516 CHAR is the default one (i.e. a list of CHAR itself), treat it as
15517 nil.
15518 (nfd, nfkd): Likewise.
15519
963b492b
SM
155202011-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
15521
15522 * mpc.el (mpc--proc-filter): Don't signal mpc-proc-error since signals
15523 from process filters aren't reliably transmitted to the surrounding
15524 accept-process-output.
15525 (mpc-proc-check): New function.
15526 (mpc-proc-sync): Use it (bug#8293)
15527
93b6b5e1
SM
155282011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
15529
15530 * emacs-lisp/eieio.el (eieio-defmethod, eieio-defgeneric):
15531 Add compatibility functions (bug#9313).
15532
bca633fb
EZ
155332011-08-23 Eli Zaretskii <eliz@gnu.org>
15534
b177498a
EZ
15535 * cus-start.el (all): Add entry for bidi-paragraph-direction.
15536
6df6ae42 15537 * international/uni-bidi.el: Regenerate.
bca633fb 15538
0902a04e
KH
155392011-08-23 Kenichi Handa <handa@m17n.org>
15540
15541 * international/charprop.el:
15542 * international/uni-bidi.el:
15543 * international/uni-category.el:
15544 * international/uni-combining.el:
15545 * international/uni-comment.el:
15546 * international/uni-decimal.el:
15547 * international/uni-decomposition.el:
15548 * international/uni-digit.el:
15549 * international/uni-lowercase.el:
15550 * international/uni-mirrored.el:
15551 * international/uni-name.el:
15552 * international/uni-numeric.el:
15553 * international/uni-old-name.el:
15554 * international/uni-titlecase.el:
15555 * international/uni-uppercase.el: Regenerate.
15556
3bbf23bc
MR
155572011-08-23 Martin Rudalics <rudalics@gmx.at>
15558
15559 * help.el (help-window-setup): Fix message displayed when other
15560 window is reused. (Bug#9341)
15561
b3fd59bd
SM
155622011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
15563
1802e444
SM
15564 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list.
15565 * pcomplete.el (pcomplete-quote-argument): Fix thinko (bug#9161).
15566
b3fd59bd
SM
15567 * pcomplete.el (pcomplete-parse-comint-arguments): Fix inf-loop.
15568 Mark obsolete.
15569 * shell.el (shell-parse-pcomplete-arguments): New function.
15570 (shell-completion-vars): Use it instead (bug#9160).
15571
4eb61348
SM
155722011-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
15573
867cab74
SM
15574 * progmodes/sh-script.el (sh-maybe-here-document): Disable magic in
15575 strings and comments (bug#9333).
15576
4eb61348
SM
15577 * emacs-lisp/debug.el (debug-arglist): New function.
15578 (debug-convert-byte-code): Use it. Handle lexical byte-codes.
15579 (debug-on-entry-1): Handle interpreted closures (bug#9120).
15580
262a1439
JL
155812011-08-22 Juri Linkov <juri@jurta.org>
15582
56ee679c
JL
15583 * progmodes/compile.el (compilation-mode-font-lock-keywords):
15584 Revert regexp that highlights output switches to its old
15585 pre-2010-10-28 value and remove one `?' from it (bug#9319).
15586
262a1439
JL
15587 * progmodes/grep.el (grep-process-setup): Use `buffer-modified-p'
15588 to check for empty output (bug#9226).
15589
f13f86fb
CY
155902011-08-22 Chong Yidong <cyd@stupidchicken.com>
15591
15592 * progmodes/scheme.el (scheme-mode-syntax-table): Don't use
15593 symbol-constituent as the default, as that stops font-lock from
15594 working properly (Bug#8843).
15595
c65c9622
LMI
155962011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
15597
15598 * mail/smtpmail.el (smtpmail-via-smtp): Only bind
15599 `coding-system-for-*' around the process open call to avoid
15600 auth-source side effects.
e7f2c178 15601 (smtpmail-try-auth-methods): Expand the secret password.
7185da52
LMI
15602 (smtpmail-query-smtp-server): Allow `quit'-ing out in case the
15603 probe hangs.
c65c9622 15604
23a8a5ab
CY
156052011-08-21 Chong Yidong <cyd@stupidchicken.com>
15606
ff98b2dd
CY
15607 * term.el (term-mouse-paste): Yank primary selection (Bug#6845).
15608
23a8a5ab
CY
15609 * emacs-lisp/find-func.el (find-function-noselect): New arg
15610 lisp-only.
15611
15612 * emacs-lisp/edebug.el (edebug-instrument-function): Use it to
15613 signal an error for built-in functions (Bug#6664).
15614
f5e3c598
LMI
156152011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
15616
15617 * mail/smtpmail.el (smtpmail-smtp-user): New variable.
15618 (smtpmail-try-auth-methods): Use it.
15619
a3f2468a
CY
156202011-08-21 Chong Yidong <cyd@stupidchicken.com>
15621
2c34e8da
CY
15622 * font-lock.el (font-lock-fontify-region)
15623 (font-lock-unfontify-region, font-lock-default-fontify-buffer)
15624 (font-lock-default-unfontify-buffer)
15625 (font-lock-default-fontify-region)
15626 (font-lock-default-unfontify-region): Add docstrings (Bug#8624).
15627
b3fd59bd
SM
15628 * progmodes/compile.el (compilation-error-properties):
15629 Fix confusion between file struct and message struct (Bug#9319).
02e5c89e
CY
15630 (compilation-error-regexp-alist-alist): Fix 2011-05-09 change to
15631 `ant' regexp.
ee31aabc 15632
a3f2468a
CY
15633 * net/browse-url.el (browse-url-firefox): Don't call
15634 browse-url-firefox-sentinel unless using -remote (Bug#9328).
15635
8e999f70
GM
156362011-08-20 Glenn Morris <rgm@gnu.org>
15637
c21a496a
GM
15638 * tutorial.el (help-with-tutorial): Avoid an error on short screens.
15639
59ee0542
GM
15640 * tutorial.el (tutorial--default-keys): Update some default bindings.
15641
8e999f70
GM
15642 * files.el (hack-local-variables): Fully ignore case for "mode:".
15643
e3715033
AM
156442011-08-20 Alan Mackenzie <acm@muc.de>
15645
15646 Resolve invalid use of a regexp in regexp-opt.
15647
4d61f28d
JB
15648 * progmodes/cc-fonts.el (c-complex-decl-matchers): Add in special
15649 detection for a java annotation.
e3715033 15650
4d61f28d 15651 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Add in special
e3715033
AM
15652 detection for a java annotation.
15653
4d61f28d
JB
15654 * progmodes/cc-langs.el (c-prefix-spec-kwds-re): Remove the special
15655 handling for java.
e3715033
AM
15656 (c-modifier-kwds): Remove the regexp "@[A-za-z0-9]+".
15657
04ed2e9c
CY
156582011-08-20 Chong Yidong <cyd@stupidchicken.com>
15659
15660 * startup.el (normal-top-level-add-subdirs-to-load-path): Doc fix
15661 (Bug#9274).
15662
826cee64
AM
156632011-08-20 Alan Mackenzie <acm@muc.de>
15664
58179cce 15665 Fontify CPP expressions correctly when starting in the middle of
826cee64
AM
15666 such a construct. Mainly for when jit-lock etc. starts a chunk
15667 here.
15668
58179cce 15669 * progmodes/cc-fonts.el (c-font-lock-context): New buffer local
826cee64 15670 variable.
58179cce 15671 (c-make-font-lock-search-form): New function, extracted from
826cee64
AM
15672 c-make-font-lock-search-function.
15673 (c-make-font-lock-search-function): Use the above function.
15674 (c-make-font-lock-context-search-function): New function.
15675 (c-cpp-matchers): Enhance the preprocessor expression case with
15676 the above function
15677 (c-font-lock-complex-decl-prepare): Test for being in a CPP form
15678 which takes an expression.
15679
15680 * progmodes/cc-langs.el (c-cpp-expr-intro-re): New lang-variable.
15681
13009bd8
MR
156822011-08-20 Martin Rudalics <rudalics@gmx.at>
15683
15684 * window.el (display-buffer-reuse-window)
15685 (display-buffer-pop-up-window): Don't reuse or split a side
15686 window.
15687
9234ff7f
GM
156882011-08-19 Glenn Morris <rgm@gnu.org>
15689
15690 * files.el (hack-local-variables-prop-line, hack-local-variables):
5e617bc2 15691 Downcase "Mode:". (Bug#9331)
9234ff7f 15692
f635daa1
CY
156932011-08-18 Chong Yidong <cyd@stupidchicken.com>
15694
15695 * international/characters.el: Add L and R categories.
15696
15697 * subr.el (bidi-string-mark-left-to-right): Rename from
15698 string-mark-left-to-right. Use category search.
15699
15700 * buff-menu.el (Buffer-menu-buffer+size): Callers changed.
15701
bc987f8b
JL
157022011-08-18 Juri Linkov <juri@jurta.org>
15703
15704 * faces.el (error, warning, success): New faces with definitions
15705 copied from old default values of `font-lock-warning-face',
15706 `compilation-warning', `compilation-info' (bug#6117).
15707
15708 * font-lock.el (font-lock-warning-face): Inherit from `error'.
15709
15710 * progmodes/compile.el (compilation-error): Inherit from `error'.
15711 (compilation-warning): Inherit from `warning'.
15712 (compilation-info): Inherit from `success'.
15713
15714 * dired.el (dired-marked): Inherit from `warning'.
15715 (dired-flagged): Inherit from `error'.
15716
57173b96
LMI
157172011-08-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
15718
3e79eb87
LMI
15719 * mail/smtpmail.el (auth-source): Require to avoid problems with
15720 binding variables (bug#9298). Also clean up some unused
15721 autoloads.
15722
b3fd59bd
SM
15723 * net/network-stream.el (network-stream-open-starttls):
15724 Support using starttls.el without using gnutls-cli.
57173b96 15725
02b404de
JL
157262011-08-17 Juri Linkov <juri@jurta.org>
15727
15728 * progmodes/grep.el (rgrep): Handle the case when
15729 `grep-find-command' is a cons cell (bug#9278).
15730
8c9177f2
MR
157312011-08-17 Martin Rudalics <rudalics@gmx.at>
15732
15733 * window.el (display-buffer-pop-up-frame): Run frame creation
15734 function with BUFFER current (as special-display-popup-frame
15735 does). Reported by Drew Adams.
15736
3644a0ab
DU
157372011-08-17 Daiki Ueno <ueno@unixuser.org>
15738
15739 * epa-mail.el: Simplify GnuPG group expansion using
15740 epg-expand-group.
15741 (epa-mail-group-alist, epa-mail-group-modtime)
15742 (epa-mail-gnupg-conf-file, epa-mail-parse-groups)
15743 (epa-mail-sync-groups, epa-mail-expand-recipient-1)
15744 (epa-mail-expand-recipients-2, epa-mail-expand-recipients):
15745 Remove.
15746
5e617bc2 157472011-08-16 Feng Li <fengli@gmail.com> (tiny change)
7c643369
FL
15748
15749 * calc/calc-ext.el (math-defintegral-2): Remove nested backquote.
15750
9c4aeabf
AM
157512011-08-16 Alan Mackenzie <acm@muc.de>
15752
15753 * progmodes/cc-engine.el (c-state-cache-non-literal-place):
15754 Correct, to avoid the inside of macros.
15755
3a99bf64
RS
157562011-08-16 Richard Stallman <rms@gnu.org>
15757
04963aa8
RS
15758 * epa-mail.el: Handle GnuPG group definitions.
15759 (epa-mail-group-alist, epa-mail-group-modtime)
15760 (epa-mail-gnupg-conf-file): New variables.
15761 (epa-mail-parse-groups, epa-mail-sync-groups)
15762 (epa-mail-expand-recipient-1, epa-mail-expand-recipients-2)
15763 (epa-mail-expand-recipients): New functions.
15764 (epa-mail-encrypt): Call epa-mail-expand-recipients.
15765
177549d0
RS
15766 * mail/rmail.el (rmail-epa-decrypt): New command.
15767
fe38beef
RS
15768 * epa.el (epa-decrypt-region): New arg MAKE-BUFFER-FUNCTION.
15769 Don't bind buffer-read-only, just inhibit-read-only.
3a99bf64
RS
15770 (epa--find-coding-system-for-mime-charset): Fix the non-xemacs case.
15771 (epa-decrypt-armor-in-region): Make error message clearer.
15772
934eacb9
SM
157732011-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
15774
15775 * minibuffer.el (completion-pcm--merge-completions): Don't merge "a1b"
15776 and "a2b" to "ab" for `prefix'.
15777
d024fb4e
CY
157782011-08-14 Chong Yidong <cyd@stupidchicken.com>
15779
15780 * ibuf-ext.el (ibuffer-filter-disable): New arg for deleting
15781 filter groups.
de148fee
CY
15782 (ibuffer-included-in-filter-p-1): Use it. Suggested by Rafaël
15783 Fourquet (Bug#8804).
d024fb4e 15784
62f1ca49
JB
157852011-08-12 Juanma Barranquero <lekktu@gmail.com>
15786
15787 * startup.el (argi): Declare as global variable (bug#9275).
15788
9ccaaa4b
CY
157892011-08-12 Chong Yidong <cyd@stupidchicken.com>
15790
15791 * subr.el (string-mark-left-to-right): Search the entire string
15792 for RTL script, not just the terminating character. Doc fix.
15793
a3dae87a
SM
157942011-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
15795
6cd18349
SM
15796 * progmodes/js.el (js-syntax-propertize, js-syntax-propertize-regexp):
15797 New function.
15798 (js--regexp-literal, js-syntax-propertize-function): Remove.
15799 (js-mode): Use js-syntax-propertize to handle multilines (bug#9183).
15800 (js-mode-map): Don't rebind electric keys.
15801 (js-insert-and-indent): Remove.
15802 (js-mode): Setup electric-layout and electric-indent instead.
15803
a3dae87a
SM
15804 * epa-file.el (epa-file-select-keys): Revert to nil default (bug#9280).
15805
9d5cb631
DU
158062011-08-12 Daiki Ueno <ueno@unixuser.org>
15807
15808 * epa.el (epa-progress-callback-function): Fix the logic of
15809 displaying progress.
15810 * epa-file.el (epa-file-insert-file-contents): Make progress
15811 display more user-friendly.
15812 (epa-file-write-region): Ditto.
15813
3e26a4a2
CY
158142011-08-10 Chong Yidong <cyd@stupidchicken.com>
15815
15816 * subr.el (string-mark-left-to-right): New function.
15817
15818 * buff-menu.el (Buffer-menu-buffer+size): Remove LRM argument.
15819 Use string-mark-left-to-right.
15820 (list-buffers-noselect): Caller changed.
15821
a3dae87a
SM
15822 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
15823 Use string-mark-left-to-right.
3e26a4a2
CY
15824 (tabulated-list-print): Recenter after moving point.
15825
ac8cf6e6
JL
158262011-08-10 Juri Linkov <juri@jurta.org>
15827
15828 * progmodes/grep.el (rgrep): Don't bind `process-connection-type'.
15829 This finishes incomplete reversion of 2011-06-30T01:09:13Z!larsi@gnus.org
15830 intended by 2011-07-06T15:49:19Z!larsi@gnus.org.
15831
8d96c9a4
CY
158322011-08-09 Chong Yidong <cyd@stupidchicken.com>
15833
15834 * hi-lock.el (hi-lock-unface-buffer): Fix interactive spec
15835 (Bug#7554).
15836
7be1c708 158372011-08-09 Andreas Schwab <schwab@linux-m68k.org>
29bbcfa7
AS
15838
15839 * xt-mouse.el (xterm-mouse-event-read): Try to recover the raw
15840 character. (Bug#6594)
15841
37e11a63
CY
158422011-08-08 Chong Yidong <cyd@stupidchicken.com>
15843
839dde57
CY
15844 * image-dired.el: Don't use find-file for temporary work (Bug#7895).
15845 (image-dired--with-db-file): New macro.
15846 (image-dired-write-tags, image-dired-remove-tag)
15847 (image-dired-create-gallery-lists, image-dired-write-comments)
15848 (image-dired-get-comment, image-dired-mark-tagged-files)
15849 (image-dired-list-tags, image-dired-gallery-generate): Use it.
15850 (image-dired-gallery-generate): Use insert-file-contents.
15851
37e11a63
CY
15852 * time.el (display-time-world-list, display-time-world-display):
15853 * time-stamp.el (time-stamp-string):
15854 * vc/add-log.el (add-change-log-entry): Use setenv instead of
15855 set-time-zone-rule (Bug#7337).
15856
0b4946c4
DU
158572011-08-08 Daiki Ueno <ueno@unixuser.org>
15858
15859 * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED): Fix typo.
15860 (epg-error-to-string, epg-errors-to-string): New function.
15861 (epg-wait-for-completion): Reverse errors list.
15862 (epg--check-error-for-decrypt, epg-sign-file, epg-sign-string)
15863 (epg-encrypt-file, epg-encrypt-string, epg-export-keys-to-file)
15864 (epg--import-keys-1, epg-receive-keys, epg-delete-keys)
15865 (epg-sign-keys, epg-generate-key-from-file)
15866 (epg-generate-key-from-string): Format errors by using
15867 epg-errors-to-string (bug#9255).
15868 (epg--status-INV_SGNR, epg--status-NO_SGNR): New status handler.
15869
75bfc667
JL
158702011-08-07 Juri Linkov <juri@jurta.org>
15871
15872 * faces.el (list-faces-display): Remove extra angle bracket
15873 from `help-mode-map'.
15874
15875 * info.el (Info-history-toc-nodes): Doc fix.
15876
15877 * longlines.el (longlines-mode): Doc fix.
15878
673e08bb
SM
158792011-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
15880
4640dd88
SM
15881 * progmodes/js.el (js--regexp-literal): Accept regexps at the beginning
15882 of statements and in a few more cases (bug#9183).
15883
673e08bb
SM
15884 * emacs-lisp/cl-macs.el (cl--make-usage-var, cl--make-usage-args):
15885 New functions.
15886 (cl-transform-lambda): Use them (bug#9239).
15887
89b3f019
MR
158882011-08-05 Martin Rudalics <rudalics@gmx.at>
15889
15890 * window.el (display-buffer-same-window)
15891 (display-buffer-same-frame, display-buffer-other-window)
15892 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
15893 (pop-to-buffer-other-window)
15894 (pop-to-buffer-same-frame-other-window)
15895 (pop-to-buffer-other-frame): Make them defuns.
15896 (switch-to-buffer): Don't set LABEL argument of pop-to-buffer.
15897
640c8776
SM
158982011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
15899
15900 * subr.el (make-composed-keymap): Move from C. Change calling
15901 convention, and improve docstring to bring attention to a subtle point.
15902 * minibuffer.el (completing-read-default): Adjust accordingly.
15903
63648a95
MA
159042011-08-03 Michael Albinus <michael.albinus@gmx.de>
15905
15906 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
15907 (tramp-open-shell): Use `tramp-shell-quote-argument'.
15908
15909 * net/trampver.el: Update release number.
15910
b796c9b7
SM
159112011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
15912
15913 * progmodes/sh-script.el (sh-font-lock-paren): Don't mistake "main" for
15914 "in" (bug#9190).
15915
2239d7d5
LMI
159162011-08-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
15917
e07dd7c3
LMI
15918 * mail/sendmail.el (sendmail-query-once): Restore the current
15919 buffer after querying (bug#9074).
15920
0e6a2bd7
LMI
15921 * dired.el (dired-flagged): Use different faces for marked and
15922 flagged files (bug#6117).
15923
ce887515
LMI
15924 * emacs-lisp/cl-macs.el (dolist): Mention that there's a nil block
15925 (bug#4433).
15926
92f2affc
LMI
15927 * ido.el (ido-mode): Switch off the message if called
15928 non-interactively.
15929
57d5aff0
LMI
15930 * mail/smtpmail.el (smtpmail-query-smtp-server): Try port 25
15931 before 587, since it appears that that's more likely to work for
15932 more people.
15933
98cd6c18 15934 * cus-edit.el (custom-file): When running under emacs -q, always
e1dbe924 15935 refuse to save the customizations, even if the .emacs file doesn't
98cd6c18
LMI
15936 exist.
15937
b96dec83
LMI
15938 * info.el: Remove the `Info-beginning-of-buffer' function
15939 (bug#8325).
15940
b796c9b7
SM
15941 * net/network-stream.el (network-stream-open-starttls):
15942 Use `starttls-available-p' to see whether starttls.el can be used.
2239d7d5 15943
d90e2ea0
MR
159442011-08-01 Martin Rudalics <rudalics@gmx.at>
15945
15946 * window.el (display-buffer-in-window): Don't set dedicated status
15947 of window here (Bug#9215).
15948 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
15949 (display-buffer-pop-up-side-window)
b796c9b7 15950 (display-buffer-in-side-window): Set dedicated status of window here.
d90e2ea0 15951
cca09170
SM
159522011-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
15953
15954 * emacs-lisp/package.el (package-generate-autoloads): Load autoloads
15955 before binding generated-autoload-file.
15956
027b979c
DD
159572011-08-01 Deniz Dogan <deniz@dogan.se>
15958
15959 * net/rcirc.el (rcirc-handler-333): Clarify docstring.
15960
3c7ee4f3
MA
159612011-07-30 Michael Albinus <michael.albinus@gmx.de>
15962
15963 Sync with Tramp 2.2.2.
15964
15965 * net/trampver.el: Update release number.
15966
2cc8e51a
JL
159672011-07-30 Juri Linkov <juri@jurta.org>
15968
15969 * dired-aux.el (dired-touch-initial): Remove function.
15970 (dired-do-chxxx): For op-symbol `touch', set `initial' to the
15971 current time, and `default' to the last modification time of the
15972 current marked file (bug#6887).
15973
a514d856
JM
159742011-07-28 Jose E. Marchesi <jemarch@gnu.org>
15975
15976 * simple.el (goto-line): Use string-to-number to provide a
2cc8e51a 15977 numeric argument to read-number (bug#9163).
a514d856 15978
8a7eddd7
MA
159792011-07-27 Michael Albinus <michael.albinus@gmx.de>
15980
15981 * net/tramp-sh.el (tramp-maybe-send-script): Don't let-bind the
15982 connection process, it could be nil.
15983
1ddd96f5
LL
159842011-07-27 Leo Liu <sdl.web@gmail.com>
15985
15986 Simplify url handling in rcirc-mode.
15987
15988 * net/rcirc.el (rcirc-browse-url-map, rcirc-browse-url-at-point)
15989 (rcirc-browse-url-at-mouse): Remove.
15990 * net/rcirc.el (rcirc-markup-urls): Use `make-button'.
15991
b248a85d
AM
159922011-07-26 Alan Mackenzie <acm@muc.de>
15993
15994 Fontify bitfield declarations properly.
15995
15996 * progmodes/cc-langs.el (c-has-bitfields): New lang variable.
15997 (c-symbol-chars): Now exported as a lang variable.
15998 (c-not-primitive-type-keywords): New lang variable.
15999
16000 * progmodes/cc-fonts.el (c-font-lock-declarations): Jump over the
16001 QT keyword "more" to prevent "more slots: ...." being spuriously
58179cce 16002 parsed as a bitfield declaration.
b248a85d 16003
b796c9b7
SM
16004 * progmodes/cc-engine.el (c-beginning-of-statement-1):
16005 Refactor and enhance to handle bitfield declarations.
b248a85d
AM
16006 (c-punctuation-in): New function.
16007 (c-forward-decl-or-cast-1): Enhance CASE 3 to handle bitfield
16008 declarations properly.
16009
68575ab0
UJ
160102011-07-26 Ulf Jasper <ulf.jasper@web.de>
16011
16012 * calendar/icalendar.el (icalendar--all-events): Take care of
16013 multiple vcalendars in a single file.
b796c9b7 16014 (icalendar--convert-float-to-ical): Checkdoc fixes.
68575ab0 16015
0f0a88b9
DD
160162011-07-25 Deniz Dogan <deniz@dogan.se>
16017
16018 * image.el (insert-image): Clarifying docstring.
16019
0b3f36df
MA
160202011-07-24 Michael Albinus <michael.albinus@gmx.de>
16021
16022 * net/tramp-sh.el (tramp-barf-unless-okay): Return the value of
16023 `tramp-send-command-and-check' if there is no error.
16024 (tramp-send-command-and-read): Suppress *all* errors if NOERROR.
16025
a9901f61
AM
160262011-07-22 Alan Mackenzie <acm@muc.de>
16027
16028 Prevent cc-langs.elc being loaded at run time.
16029
16030 * progmodes/cc-mode.el: Remove two autoload forms which loaded
16031 cc-langs.
16032
4d61f28d 16033 * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Don't emit
a9901f61
AM
16034 "(require 'cc-langs)". Quote a form so it will evaluate at
16035 (cc-mode's) compilation time.
16036
11d074b2
MA
160372011-07-22 Michael Albinus <michael.albinus@gmx.de>
16038
16039 * net/tramp.el (tramp-file-name-handler): Avoid recursive
16040 loading. (Bug#9114)
16041
938b94c8
MR
160422011-07-21 Martin Rudalics <rudalics@gmx.at>
16043
16044 * window.el (display-buffer-pop-up-window)
16045 (display-buffer-pop-up-side-window)
16046 (display-buffer-in-side-window): Call display-buffer-set-height
16047 and display-buffer-set-width after setting the new window's
b796c9b7 16048 buffer so `fit-window-to-buffer' and friends work on the right buffer.
938b94c8 16049
bfa4f190
SS
160502011-07-20 Sam Steingold <sds@gnu.org>
16051
16052 * progmodes/etags.el (etags-file-of-tag, etags-tags-table-files)
16053 (etags-tags-included-tables): Call `convert-standard-filename' on
16054 the file names contained in TAGS so that windows Emacs can handle
16055 TAGS files created by cygwin ctags.
16056
8ca42262
LMI
160572011-07-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
16058
16059 * proced.el (proced-update): Revert yesterday's bug#1779 patch,
16060 which apparently didn't work.
16061
5db2afd2 160622011-07-19 Roland Winkler <winkler@gnu.org>
2ecab2b5 16063
5db2afd2
RW
16064 * proced.el (proced-send-signal): For *Marked Processes* buffer
16065 put point at beginning of buffer.
16066
92e15d10
SB
160672011-07-19 Stephen Berman <stephen.berman@gmx.net>
16068
16069 * proced.el (proced-format): Make header lines align with the text
16070 (bug#1779).
16071
1bfd59e5
LMI
160722011-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
16073
16074 * view.el (view-buffer): Allow running in `special' modes if we're
16075 visiting a file (bug#8615).
16076
f5aae37c
MR
160772011-07-19 Martin Rudalics <rudalics@gmx.at>
16078
16079 * window.el (display-buffer-alist-of-strings-p)
b796c9b7
SM
16080 (display-buffer-alist-set-1, display-buffer-alist-set-2):
16081 New functions.
f5aae37c
MR
16082 (display-buffer-alist-set): Rewrite to handle Emacs 23 options
16083 more accurately.
16084
bf2c1571
AM
160852011-07-18 Alan Mackenzie <acm@muc.de>
16086
16087 Fontify declarators properly when, e.g., a jit-lock chunk begins
16088 inside a declaration.
16089
16090 * progmodes/cc-langs.el (c-symbol-chars): Correct a typo.
16091
b796c9b7
SM
16092 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
16093 New function.
bf2c1571
AM
16094 (c-complex-decl-matchers): Insert reference to
16095 c-font-lock-enclosing-decls.
16096
16097 * progmodes/cc-engine.el (c-backward-single-comment):
16098 (c-backward-comments): Bind open-paren-in-column-0-is-defun-start
16099 to nil around calls to (forward-comment -1).
16100
4e190b80
LMI
161012011-07-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
16102
12dc863d
LMI
16103 * image.el (put-image): Doc typo fix.
16104
a762e966
LMI
16105 * progmodes/etags.el (tags-search): Doc typo fix.
16106
4e190b80
LMI
16107 * mail/smtpmail.el (smtpmail-via-smtp): Query the user for
16108 password if we get errors 550 to 554.
16109
f019fb21
LMI
161102011-07-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
16111
b796c9b7 16112 * net/gnutls.el (gnutls-log-level): Remove.
750c33f7 16113
81746738
LMI
16114 * textmodes/fill.el (adaptive-fill-regexp): Include EN DASH as an
16115 indentation character (bug#6380).
16116
3ee3a1b5
LMI
16117 * files.el (buffer-offer-save): Made permanently local (bug#6241).
16118
c82f64de
LMI
16119 * doc-view.el (doc-view-make-safe-dir): Rewrite the error message
16120 to clarify what the problem is (bug#4291).
16121
f019fb21
LMI
16122 * simple.el (current-kill): Clarify what
16123 `interprogram-paste-function' does (bug#7500).
ca425c7c
LMI
16124 (auto-fill-mode): Document `auto-fill-function' in relation to
16125 `auto-fill-mode' (bug#2470).
f019fb21 16126
0794775d
LM
161272011-07-16 Lawrence Mitchell <wence@gmx.li>
16128
16129 * emacs-lisp/cl-macs.el (defstruct): Ignore argument to setf
16130 method if slot is read-only (bug#9035).
16131
be39b8cc
MR
161322011-07-16 Martin Rudalics <rudalics@gmx.at>
16133
b796c9b7 16134 * frame.el (select-frame-set-input-focus): New argument NORECORD.
be39b8cc 16135 * window.el (pop-to-buffer): Select window used even if it was
b796c9b7
SM
16136 selected before, see discussion of (Bug#8615), (Bug#6954).
16137 Pass argument NORECORD on to select-frame-set-input-focus.
be39b8cc 16138
6ccf7859
GM
161392011-07-15 Glenn Morris <rgm@gnu.org>
16140
16141 * subr.el (read-char-choice): Allow quitting. (Bug#9001)
03ea5b87 16142 Respect help-form.
6ccf7859 16143
87e86684
LM
161442011-07-09 Lawrence Mitchell <wence@gmx.li>
16145
16146 * net/gnutls.el (gnutls-min-prime-bits): New variable.
16147 (gnutls-negotiate): Use it.
16148
d6066239
LMI
161492011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
16150
b796c9b7
SM
16151 * net/gnutls.el (gnutls-negotiate):
16152 Upcase `gnutls-algorithm-priority'.
d6066239 16153
bd23ebc0
GM
161542011-07-15 Glenn Morris <rgm@gnu.org>
16155
c65bca65
GM
16156 * jka-compr.el (jka-compr-verbose): Move from here...
16157 * jka-cmpr-hook.el (jka-compr-verbose): ... to here. (Bug#9090)
16158 Add missing :version tag.
16159 * info.el: No need to require jka-compr when compiling.
bd23ebc0 16160
478615cc
LMI
161612011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
16162
7b41decb
LMI
16163 * net/gnutls.el (gnutls-algorithm-priority): New variable.
16164 (gnutls-negotiate): Use it.
16165
dbc44fcd
LMI
16166 * emacs-lisp/cl-macs.el (declare): Link to the "Declarations" node.
16167
06789f97
LMI
16168 * info.el (Info-beginning-of-buffer): New command.
16169 (Info-mode-map): Use it instead of `beginning-of-buffer' to allow
16170 announcing `b' as the key (bug#8325).
ab896c37 16171 (Info-mode-menu): Use `Info-beginning-of-buffer' for consistency.
06789f97 16172
c39da690
LMI
16173 * emacs-lisp/cl-macs.el (declare): Doc string fix-up.
16174
3aa5f34b
LMI
16175 * international/mule-cmds.el
16176 (describe-specified-language-support): Make the error message
16177 clearer (bug#8905).
16178
4bf0979f
LMI
16179 * emacs-lisp/cl-macs.el (declare): Add a doc string (bug#8690).
16180
478615cc
LMI
16181 * isearch.el (isearch-barrier): Add a doc string, since it's
16182 mentioned in a function doc string (bug#8678).
16183
75c68aa1
MR
161842011-07-15 Martin Rudalics <rudalics@gmx.at>
16185
16186 * window.el (switch-to-buffer): Call pop-to-buffer with normalized
16187 buffer argument (Bug#9083) and self-identifying label argument.
16188
a7c33da2
GM
161892011-07-15 Glenn Morris <rgm@gnu.org>
16190
16191 * emacs-lisp/debug.el (debug): Doc fix. (Bug#8273)
16192
2f5c6024
LMI
161932011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
16194
16195 * man.el (Man-fontify-manpage): Fix message when formatting the
16196 man page (bug#7929).
16197
0bb23927 161982011-07-14 Eli Zaretskii <eliz@gnu.org>
cce4b0a7
EZ
16199
16200 * buff-menu.el (Buffer-menu-buffer+size): Accept an additional
16201 argument LRM; if non-nil, append an invisible LRM character to the
16202 buffer name.
16203 (list-buffers-noselect): Call Buffer-menu-buffer+size with the
16204 last argument non-nil, when formatting buffer names.
0bb23927
EZ
16205 (Buffer-menu-mode, list-buffers-noselect): Force left-to-right
16206 paragraph direction.
cce4b0a7 16207
621ef9ab
LMI
162082011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
16209
d1583c48
LMI
16210 * man.el (Man-bgproc-sentinel): Skip any arguments and only output
16211 the man page name (bug#7929).
16212
6a57fb5f
LMI
16213 * image.el (put-image): Mention the `put-image' overlay property
16214 (bug#7834).
16215
d7956b14
LMI
16216 * scroll-bar.el (set-scroll-bar-mode): Mention that
16217 `scroll-bar-mode' lists the values (bug#7772).
16218
5b2d4a66
LMI
16219 * image-mode.el (image-mode-fit-frame): Mention that it's a toggle
16220 command (bug#7729).
16221
7509a874
LMI
16222 * rect.el (apply-on-rectangle): Return the point after the last
16223 operation.
16224 (string-rectangle): Go to the point after the last operation
16225 (bug#7522).
16226
4fe74b19
LMI
16227 * printing.el (pr-toggle-region): Clarify the documentation
16228 slightly (bug#7493).
16229
b796c9b7
SM
16230 * time.el (display-time-update):
16231 Allow `display-time-mail-function' to return nil (bug#7158).
16232 Fix suggested by Detlev Zundel.
ab283561 16233
fc233c9d
LMI
16234 * vc/diff.el (diff): Clarify the order the file names are read
16235 (bug#7111).
16236
43f5740b
LMI
16237 * mouse.el (mouse-set-region): Link to `mouse-drag-copy-region' in
16238 the doc string (bug#7015).
16239
f2182a76
LMI
16240 * font-lock.el (font-lock-maximum-decoration): Mention what
16241 numeric levels mean (bug#6935).
16242
621ef9ab
LMI
16243 * startup.el (initial-buffer-choice): Don't mention the `none'
16244 selection, which is against policy.
16245
adc47434
MR
162462011-07-14 Martin Rudalics <rudalics@gmx.at>
16247
b796c9b7
SM
16248 * window.el (display-buffer-normalize-special):
16249 Replace `dedicated' by `dedicate' to dedicate window (Bug#9072).
adc47434 16250
7e5bfb8f
EZ
162512011-07-14 Eli Zaretskii <eliz@gnu.org>
16252
16253 * subr.el (version<, version<=, version=): Mention "-CVS" and
16254 "-12345" alpha version numbers.
16255
27fa387a
CY
162562011-07-14 Chong Yidong <cyd@stupidchicken.com>
16257
16258 * bindings.el: Add advertised binding for set-mark-command
16259 (Bug#5772).
16260
8bdfa064
CY
162612011-07-14 Chong Yidong <cyd@stupidchicken.com>
16262
16263 * bindings.el (mode-line-other-buffer):
16264 * bookmark.el (bookmark-bmenu-2-window):
16265 * bs.el (bs-cycle-next, bs-cycle-previous):
16266 * net/tramp-cmds.el (tramp-append-tramp-buffers): Revert to using
16267 switch-to-buffer.
16268
16269 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
b796c9b7 16270 Delete.
8bdfa064 16271
5eba16a3
JB
162722011-07-14 Juanma Barranquero <lekktu@gmail.com>
16273
16274 * follow.el (follow-debug-message, follow-redisplay):
16275 * jka-cmpr-hook.el (with-auto-compression-mode):
16276 Fix typos in docstrings.
16277
15853710
LMI
162782011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
16279
a28e4607
LMI
16280 * subr.el (with-silent-modifications): Clarify somewhat what the
16281 macro inhibits (bug#6525).
16282
15853710
LMI
16283 * simple.el (eval-expression): Note what it does if called
16284 interactively (bug#6495).
16285
bee0fcef
CY
162862011-07-13 Chong Yidong <cyd@stupidchicken.com>
16287
b796c9b7
SM
16288 * window.el (switch-to-buffer): New arg FORCE-SAME-WINDOW.
16289 Use pop-to-buffer buffer-or-name if it is nil.
bee0fcef
CY
16290
16291 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
16292 Remove switch-to-buffer.
16293
58274504
LMI
162942011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
16295
bd2fcc8d
LMI
16296 * files.el (make-directory): Clarify that an error will be raised
16297 if there's an error (bug#6397).
16298
0f04b32c
LMI
16299 * startup.el (initial-buffer-choice): Add `none' as a choice
16300 (bug#6234).
16301
465c5fc8
LMI
16302 * subr.el (add-hook): Clarify section about buffer-local hooks
16303 (bug#6218).
16304
58274504
LMI
16305 * dired.el (dired-flagged): Clarify doc string (bug#6117).
16306
bead9a43
JB
163072011-07-13 Juanma Barranquero <lekktu@gmail.com>
16308
16309 * tabify.el (untabify): Preserve the current column so that point
16310 doesn't move (bug#6032).
16311
3af98a7b
LMI
163122011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
16313
b796c9b7
SM
16314 * progmodes/cperl-mode.el (cperl-syntaxify-by-font-lock):
16315 Rewrite to avoid awkward possessive "s" (bug#5986).
3af98a7b 16316
6240145a
GM
163172011-07-13 Glenn Morris <rgm@gnu.org>
16318
16319 * dired.el (dired-use-ls-dired): Doc fix. (Bug#9039).
16320 (dired-insert-directory): Give a message the first time
16321 if ls is found not to support --dired.
16322
1d8c2ccc
LMI
163232011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
16324
16325 * simple.el (toggle-truncate-lines): Clarify what is toggled
16326 (bug#5580). Text by Drew Adams.
16327
5fc4038e
CY
163282011-07-13 Chong Yidong <cyd@stupidchicken.com>
16329
16330 * simple.el (blink-matching-open): Make the error message from the
16331 last change less verbose.
16332
bf6012e5
DN
163332011-07-13 Dan Nicolaescu <dann@ics.uci.edu>
16334
16335 * font-lock.el (font-lock-comment-face): Use the high contrast
16336 "yellow" color for font-lock-comment-face on low color terminals
16337 using a dark background color (bug#4221).
16338
343c3b5a
LMI
163392011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
16340
7e9505c5
LMI
16341 * dired.el (dired-insert-set-properties): Make the doc string
16342 reflect what it does now (bug#5325).
16343
c26fdcf5
LMI
16344 * simple.el (blink-matching-open): Say that we were unable to find
16345 the match within the limit, if we're limited (bug#5122).
16346
bb388cc5
LMI
16347 * international/mule-cmds.el (prefer-coding-system): Add an
16348 example (bug#4869).
16349
343c3b5a
LMI
16350 * progmodes/etags.el (tags-search): Document `file-list-form'
16351 (bug#4731).
16352
2a517d45
LM
163532011-07-13 Lawrence Mitchell <wence@gmx.li>
16354
16355 * net/browse-url.el (browse-url-default-browser)
16356 (browse-url-browser-function): Make the default browser choice a
16357 bit more logical (bug#4300). Also clean up the doc string.
16358
b6c78ef2
JB
163592011-07-13 Juanma Barranquero <lekktu@gmail.com>
16360
16361 * bindings.el (completion-ignored-extensions): Add OpenMCL/Clozure
16362 binary endings (bug#4440).
16363
1c4dd947
LMI
163642011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
16365
a2014063
LMI
16366 * info.el (info-insert-file-contents): Inhibit jka-compr messages,
16367 which can be pretty annoying (bug#8971).
16368
9c9c2d88
LMI
16369 * jka-compr.el (jka-compr-verbose): New variable, and use
16370 throughout (bug#8971).
16371
1c4dd947
LMI
16372 * info.el (Info-find-file): Fall back on the installation
16373 directory if we can't find the info node anywhere else.
16374
a1c9f41b
SO
163752011-07-13 Sergei Organov <osv@javad.com> (tiny change)
16376
16377 * vc/vc.el (vc-revert-file):
16378 Don't set file time-stamp in the past. (Bug#5181)
16379
536f3d36
LMI
163802011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
16381
7152b011
LMI
16382 * files.el (after-find-file): Give a better error message when
16383 trying to find a symlink that points to a file that doesn't exist
16384 (bug#4398).
16385
536f3d36
LMI
16386 * progmodes/cc-vars.el: Remove (probably) misleading comment
16387 (bug#4396).
16388
460c0fba
JB
163892011-07-12 Johan Bockgård <bojohan@gnu.org>
16390
16391 * mouse-sel.el (mouse-sel-primary-overlay): Use the `region' face.
16392
7a6bda45
CY
163932011-07-12 Chong Yidong <cyd@stupidchicken.com>
16394
16395 * mouse-sel.el: Hack restoring functionality, while keeping
16396 compatibility with 2010-07-03 changes to mouse selection.
16397 (mouse-sel-primary-overlay): New var.
16398 (mouse-sel-selection-alist): Use it.
16399 (mouse-sel-mode): Doc fix; remove points that are default features
16400 of mouse.el.
16401
c79598ef
JB
164022011-07-12 Johan Bockgård <bojohan@gnu.org>
16403
16404 * progmodes/compile.el (compilation-error-regexp-alist-alist):
16405 Fix previous fix (bug#2490).
16406
ff8be6ef
RW
164072011-07-12 Roland Winkler <winkler@gnu.org>
16408
b796c9b7
SM
16409 * textmodes/bibtex.el (bibtex-initialize):
16410 Use pop-to-buffer-same-window.
ff8be6ef
RW
16411 (bibtex-search-entries): Fix interactive call.
16412
296ba3ee
LMI
164132011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
16414
f5242a02 16415 * progmodes/compile.el (compilation-error-regexp-alist-alist):
b796c9b7
SM
16416 Fontise bytecomp Error lines more correctly (bug#2490).
16417 Fix suggested by Johan Bockgård.
f5242a02 16418
296ba3ee
LMI
16419 * subr.el (remove-duplicates): Remove; `delete-dups' is sufficient.
16420
16421 * dired-x.el (dired-guess-default): Use `delete-dups'.
16422
f69fd0d2
CY
164232011-07-12 Chong Yidong <cyd@stupidchicken.com>
16424
16425 * dired.el (dired-mark-prompt):
16426 * dired-aux.el (dired-read-shell-command): Doc fix.
16427
eab5dc07
LMI
164282011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
16429
b796c9b7
SM
16430 * mail/sendmail.el (sendmail-query-once):
16431 Use `customize-save-variable' unconditionally, now that it works under
9988520a
LMI
16432 emacs -Q.
16433
16434 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
16435
eab5dc07
LMI
16436 * cus-edit.el (custom-file): Take an optional no-error variable.
16437 (customize-save-variable): Set the variable, and give a warning if
16438 running under "emacs -q".
16439
a1e65d42
JB
164402011-07-11 Juanma Barranquero <lekktu@gmail.com>
16441
16442 * loadhist.el (unload-feature-special-hooks):
16443 Add `auto-coding-functions', `fill-nobreak-predicate' and
16444 `find-directory-functions' (bug#5327).
16445
1d52da10
LMI
164462011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
16447
be958f1d
LMI
16448 * vc/ediff.el (ediff-patch-file): Clarify doc string (bug#3138).
16449
5bedb26c
LMI
16450 * cus-edit.el (custom-guess-name-alist): -alist variables should
16451 use the `alist' type (bug#3120). Suggested by Drew Adams.
16452
1d52da10
LMI
16453 * printing.el: Add documentation to all the `pr-toggle-' commands.
16454
cd394be1 164552011-07-11 Leo Liu <sdl.web@gmail.com>
481a51b6
LL
16456
16457 * files.el (toggle-read-only): Only do the `C-x C-q' warning on VC
16458 backends where it makes sense (bug#2623).
16459
dcc88d8a
LMI
164602011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
16461
c3de9feb
LMI
16462 * dired-x.el (dired-guess-default): Remove duplicate shell command
16463 entries (bug#2028).
8a93078b 16464 (dired-guess-default): Fix grammar in doc string (bug#2028).
eea84fe5 16465 (dired-guess-shell-alist-user): Clarify the example a bit (bug#2030).
c3de9feb 16466
dcc88d8a
LMI
16467 * subr.el (remove-duplicates): New conveniency function.
16468
505e3645
LMI
164692011-07-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
16470
16471 * tool-bar.el (tool-bar-mode): Clarify positive/negative arguments
16472 (bug#1526).
16473
164742011-07-10 Martin Rudalics <rudalics@gmx.at>
16475
16476 * window.el (display-buffer-normalize-default): Don't invert
16477 meaning of even-window-heights. Reported by Eli Zaretskii
16478 <eliz@gnu.org>.
16479
455e4fa1
BR
164802011-07-10 Bob Rogers <rogers@rgrjr.dyndns.org>
16481
16482 * vc/vc.el (vc-diff-internal): Fix race condition (Bug#1256).
16483
8e0bc3e9
CY
164842011-07-10 Chong Yidong <cyd@stupidchicken.com>
16485
16486 * window.el (display-buffer): Fix arguments to
16487 display-buffer-reuse-window in last change.
16488
fa7c3228
CY
16489 * faces.el (link): Use a less saturated blue on light backgrounds.
16490
16491 * startup.el (fancy-startup-text, fancy-about-text)
16492 (fancy-startup-tail): Use font-lock faces, for background safety.
16493
c0a7f300
BN
164942011-07-09 Bob Nnamtrop <bobnnamtrop@gmail.com> (tiny change)
16495
b796c9b7
SM
16496 * emulation/viper-cmd.el (viper-change-state-to-vi):
16497 Limit triggering of abbrev expansion (Bug#9038).
c0a7f300 16498
4dc2a129
MR
164992011-07-09 Martin Rudalics <rudalics@gmx.at>
16500
16501 * window.el (display-buffer-default-specifiers): Remove.
16502 (display-buffer-macro-specifiers): Remove default specifiers.
16503 (display-buffer-alist): Default to nil.
b796c9b7 16504 (display-buffer-reuse-window): New optional argument other-window.
4dc2a129
MR
16505 (display-buffer-pop-up-window): Allow splitting internal
16506 windows. Check whether a live window was created.
16507 (display-buffer-other-window-means-other-frame)
16508 (display-buffer-normalize-arguments): Rename to
16509 display-buffer-normalize-argument and rewrite. Set the
16510 other-window specifier.
16511 (display-buffer-normalize-special): New function.
16512 (display-buffer-normalize-options): Rename to
16513 display-buffer-normalize-default and rewrite.
16514 (display-buffer-normalize-options-inhibit): Remove.
16515 (display-buffer-normalize-specifiers): Rewrite.
16516 (display-buffer): Process other-window specifier and call
16517 display-buffer-reuse-window with it. Emulate Emacs 23 behavior
16518 more faithfully.
b796c9b7 16519 (pop-up-windows, even-window-heights): Restore Emacs 23 default values.
4dc2a129 16520 (display-buffer-alist-set): Don't handle 'unset default values.
b796c9b7
SM
16521 (display-buffer-in-window, display-buffer-alist-set):
16522 Replace symbol "dedicated" by "dedicate". Reported by Tassilo Horn
4dc2a129
MR
16523 <tassilo@member.fsf.org>.
16524
2d43b8c9
LL
165252011-07-09 Leo Liu <sdl.web@gmail.com>
16526
16527 * register.el (insert-register): Restore accidental change on
16528 2011-06-26. (Bug#9028)
16529
7f9b7c53
GM
165302011-07-09 Glenn Morris <rgm@gnu.org>
16531
16532 * subr.el (remq): Handle the empty list. (Bug#9024)
16533
f042cfd8
AS
165342011-07-08 Andreas Schwab <schwab@linux-m68k.org>
16535
16536 * mail/sendmail.el (send-mail-function): No longer delay custom
16537 initialization.
16538 * custom.el (custom-initialize-delay): Doc fix.
16539
856b2f11
SM
165402011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
16541
16542 * abbrev.el (expand-abbrev): Try to preserve point (bug#5805).
16543
afae1d68
MA
165442011-07-08 Michael Albinus <michael.albinus@gmx.de>
16545
16546 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use a
16547 human-friendly prompt.
16548
0757af94
SM
165492011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
16550
16551 * vc/vc-bzr.el (vc-bzr-revision-keywords): Remove svn, it's only
16552 provided by a particular plugin.
16553
d760b731
LMI
165542011-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
16555
16556 * mail/sendmail.el (sendmail-query-once): If we aren't allowed to
16557 save customizations (with "emacs -Q"), just set the variable
16558 instead of erroring out.
16559
16560 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
16561
cd79ce90
JL
165622011-07-08 Juri Linkov <juri@jurta.org>
16563
16564 * arc-mode.el (archive-zip-expunge, archive-zip-update)
16565 (archive-zip-update-case): Use 7z if found by `executable-find'.
16566 The order of searching the available programs is the same as in
16567 `archive-zip-extract' (bug#8968).
16568
14cc04aa
CY
165692011-07-07 Chong Yidong <cyd@stupidchicken.com>
16570
16571 * menu-bar.el (menu-bar-line-wrapping-menu): Revert last change.
16572 (menu-bar-options-menu): Tweak descriptions.
16573
0a1848ec
LMI
165742011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
16575
16576 * menu-bar.el (menu-bar-line-wrapping-menu): Make all the Options
16577 menu items into verb phrases (bug#1421). Also refill to fit under
16578 80 columns.
16579
f5bd0689
CY
165802011-07-07 Chong Yidong <cyd@stupidchicken.com>
16581
538e85c6
CY
16582 * info.el (info, Info-read-node-name-2, Info-read-node-name-1)
16583 (Info-read-node-name): Doc fix (Bug#1084).
16584
f5bd0689
CY
16585 * thingatpt.el (forward-thing, bounds-of-thing-at-point)
16586 (thing-at-point, beginning-of-thing, end-of-thing, in-string-p)
16587 (end-of-sexp, beginning-of-sexp)
16588 (thing-at-point-bounds-of-list-at-point, forward-whitespace)
16589 (forward-symbol, forward-same-syntax, word-at-point)
16590 (sentence-at-point): Doc fix (Bug#1144).
16591
56ec5115
LMI
165922011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
16593
f3f8e37f
LMI
16594 * info.el (Info-mode-map): Remove S-TAB binding, since [backtab]
16595 should cover it (bug#1281).
16596
0757af94 16597 * cus-edit.el (custom-show): Mark as obsolete.
af0905c8 16598
e9fce1ac 16599 * net/network-stream.el (network-stream-open-starttls): If GnuTLS
12b9eb35
LMI
16600 negotiation fails, then possibly try again with a non-encrypted
16601 connection (bug#9017).
16602
56ec5115
LMI
16603 * mail/smtpmail.el (smtpmail-stream-type): Note that `plain' can
16604 be used.
16605
c2f9aec8
RS
166062011-07-07 Richard Stallman <rms@gnu.org>
16607
16608 * mail/rmail.el (rmail-next-error-move): Use `compilation-message'
16609 property, and handle its changed format.
16610 Look for the correct line number.
16611 Use file's line contents (but not past first =) to find
16612 correct line in message.
16613
ef7b981d 166142011-07-07 Kenichi Handa <handa@m17n.org>
c805dec0
KH
16615
16616 * international/characters.el (build-unicode-category-table):
16617 Delete it.
0757af94 16618 (unicode-category-table): Set it by unicode-property-table-internal.
c805dec0 16619
0757af94 16620 * international/mule-cmds.el (char-code-property-alist): Move to
c805dec0
KH
16621 to src/chartab.c.
16622 (get-char-code-property): Call unicode-property-table-internal to
16623 load a file. Call get-unicode-property-internal where necessary.
16624 (put-char-code-property): Call unicode-property-table-internal to
16625 load a file. Call put-unicode-property-internal where necessary.
16626 put-unicode-property-internal where necessary.
0757af94
SM
16627 (char-code-property-description):
16628 Call unicode-property-table-internal to load a file.
c805dec0
KH
16629
16630 * international/charprop.el:
16631 * international/uni-bidi.el:
16632 * international/uni-category.el:
16633 * international/uni-combining.el:
16634 * international/uni-comment.el:
16635 * international/uni-decimal.el:
16636 * international/uni-decomposition.el:
16637 * international/uni-digit.el:
16638 * international/uni-lowercase.el:
16639 * international/uni-mirrored.el:
16640 * international/uni-name.el:
16641 * international/uni-numeric.el:
16642 * international/uni-old-name.el:
16643 * international/uni-titlecase.el:
16644 * international/uni-uppercase.el: Regenerate.
16645
16646 * loadup.el: Load international/charprop.el before
16647 international/characters.
16648
e14b388a
CY
166492011-07-07 Chong Yidong <cyd@stupidchicken.com>
16650
16651 * window.el (next-buffer, previous-buffer): Signal an error if
16652 called from a minibuffer window.
16653
16654 * bindings.el: Revert 2011-07-04 change.
16655
354cf0ba
RS
166562011-07-06 Richard Stallman <rms@gnu.org>
16657
16658 * mail/rmailmm.el (rmail-mime-process): Use markers for buf positions.
16659 (rmail-mime-insert-bulk, rmail-mime-insert-text):
16660 Treat markers like ints.
16661 (rmail-mime-entity): Doc fix.
16662
a48868a7
LMI
166632011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
16664
4906cd3d
LMI
16665 * mail/smtpmail.el (smtpmail-default-smtp-server): Made into a
16666 defcustom again for backwards compatibility.
16667
e0457abe
LMI
16668 * simple.el (shell-command-on-region): Fill.
16669
d67f7e1f
LMI
16670 * dired-aux.el (dired-kill-line): Add a doc string.
16671
fe204702
LMI
16672 * dabbrev.el (dabbrev-abbrev-char-regexp): Note that nil defaults
16673 to "\\sw\\|\\s_" (bug#358).
16674
a48868a7
LMI
16675 * dired.el (dired-mode): Clarify "unmark or unflag" (bug#8770).
16676 (dired-unmark-backward): Ditto.
16677 (dired-flag-backup-files): Ditto.
16678
16679 * dired-x.el (dired-mark-sexp): Ditto.
16680
aa8a705c
RS
166812011-07-06 Richard Stallman <rms@gnu.org>
16682
16683 * mail/rmailmm.el: Give entity a new slot, TRUNCATED.
16684 (rmail-mime-entity): New arg TRUNCATED.
16685 (rmail-mime-entity-truncated, rmail-mime-entity-set-truncated):
16686 New functions.
16687 (rmail-mime-save): Warn if entity is truncated.
16688 (rmail-mime-toggle-hidden): Likewise, for showing.
16689 (rmail-mime-process-multipart): Record when an entity is truncated.
16690
a9a936b9
RS
16691 * mail/rmailmm.el (rmail-search-mime-message): Don't get confused
16692 if ENTITY is a string.
16693
1f2b92cb
LMI
166942011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
16695
f4f73198 16696 * emacs-lisp/lisp-mode.el (eval-defun-1): Update the documentation
0757af94
SM
16697 of faces when `M-C-x'-ing their definitions (bug#8378).
16698 Also clean up the code slightly.
f4f73198 16699
12b16734 16700 * progmodes/grep.el (rgrep): Don't bind `process-connection-type',
da6062e6 16701 because that makes the colors go away.
12b16734 16702
f0691d22
LMI
16703 * mail/sendmail.el (send-mail-function): Change the default to
16704 `sendmail-query-once'.
9e87df06 16705 (sendmail-query-once): Add an autoload cookie.
f0691d22 16706
1f2b92cb
LMI
16707 * net/network-stream.el (network-stream-open-starttls): Try using
16708 a plain connection even if the server offered STARTTLS, and we
16709 kinda wanted to use it, if Emacs doesn't have any STARTTLS
16710 capability. This should make smtpmail.el work in slightly more
16711 configurations.
16712
1cdd2a1b
MA
167132011-07-06 Michael Albinus <michael.albinus@gmx.de>
16714
16715 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
16716 New defun.
16717 * net/tramp-cmds.el (tramp-append-tramp-buffers): Use it.
16718
fbcc67e2
MM
167192011-07-06 Michael R. Mauger <mmaug@yahoo.com>
16720
16721 * progmodes/sql.el: Version 3.0
0757af94 16722 (sql-product-alist): Add product :completion-object,
fbcc67e2 16723 :completion-column, and :statement attributes.
0757af94 16724 (sql-mode-menu, sql-interactive-mode-map): Fix List entries.
fbcc67e2 16725 (sql-mode-syntax-table): Mark all punctuation.
0757af94 16726 (sql-font-lock-keywords-builder): Temporarily remove fallback on
fbcc67e2
MM
16727 ansi keywords.
16728 (sql-regexp-abbrev, sql-regexp-abbrev-list): New functions.
0757af94 16729 (sql-mode-oracle-font-lock-keywords): Improve.
fbcc67e2
MM
16730 (sql-oracle-show-reserved-words): New function for development.
16731 (sql-product-font-lock): Simplify for source code buffers.
16732 (sql-product-syntax-table, sql-product-font-lock-syntax-alist):
16733 New functions.
16734 (sql-highlight-product): Set product specific syntax table.
0757af94
SM
16735 (sql-mode-map): Add statement movement functions.
16736 (sql-ansi-statement-starters, sql-oracle-statement-starters):
16737 New variable.
fbcc67e2
MM
16738 (sql-statement-regexp, sql-beginning-of-statement)
16739 (sql-end-of-statement, sql-signum): New functions.
0757af94 16740 (sql-buffer-live-p, sql=find-sqli-buffer): Add CONNECTION parameter.
fbcc67e2
MM
16741 (sql-show-sqli-buffer): Bug fix.
16742 (sql-interactive-mode): Store connection data as buffer local.
0757af94 16743 (sql-connect): Add NEW-NAME parameter. Redesign interaction
fbcc67e2
MM
16744 with sql-interactive-mode.
16745 (sql-save-connection): Save buffer local settings.
0757af94 16746 (sql-connection-menu-filter): Change menu entry name.
fbcc67e2
MM
16747 (sql-product-interactive): Bug fix.
16748 (sql-preoutput-hold): New variable.
16749 (sql-interactive-remove-continuation-prompt): Bug fixes.
16750 (sql-debug-redirect): New variable.
16751 (sql-str-literal): New function.
16752 (sql-redirect, sql-redirect-one, sql-redirect-value, sql-execute):
0757af94 16753 Redesign.
fbcc67e2
MM
16754 (sql-oracle-save-settings, sql-oracle-restore-settings)
16755 (sql-oracle-list-all, sql-oracle-list-table): New functions.
16756 (sql-completion-object, sql-completion-column)
16757 (sql-completion-sqlbuf): New variables.
16758 (sql-build-completions-1, sql-build-completions)
16759 (sql-try-completion): New functions.
16760 (sql-read-table-name): Use them.
16761 (sql-contains-names): New buffer local variable.
16762 (sql-list-all, sql-list-table): Use it.
16763 (sql-oracle-completion-types): New variable.
16764 (sql-oracle-completion-object, sql-sqlite-completion-object)
16765 (sql-postgres-completion-object): New functions.
16766
d4eaeab1
GM
167672011-07-06 Glenn Morris <rgm@gnu.org>
16768
16769 * window.el (pop-to-buffer): Doc fix.
16770
322b7dab 167712011-07-06 Markus Heiser <markus.heiser@darmarit.de> (tiny change)
a1d3a912
CY
16772
16773 * progmodes/gud.el (gud-pdb-marker-regexp): Accept \r char (Bug#5653).
16774
322b7dab 167752011-07-06 Chong Yidong <cyd@stupidchicken.com>
0484d600 16776
322b7dab 16777 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
4f8f657f 16778
322b7dab 16779 * info.el (Info-directory-toc-nodes): Minor doc fix (Bug#8833).
8f43cbf3 16780
605dd5bf
CY
167812011-07-05 Chong Yidong <cyd@stupidchicken.com>
16782
16783 * button.el (button): Inherit from link face. Suggested by Dan
16784 Nicolaescu.
16785
7dbfa719
SM
167862011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
16787
3db614b0
SM
16788 * progmodes/gdb-mi.el: Fit in 80 columns.
16789 (gdb-setup-windows, gdb-restore-windows): Avoid other-window and
16790 switch-to-buffer.
16791
7dbfa719
SM
16792 * progmodes/which-func.el (which-func-ff-hook): Don't output a message
16793 if imenu is simply not configured (bug#8941).
16794
919d884a
KM
167952011-07-05 Ken Manheimer <ken.manheimer@gmail.com>
16796
16797 * allout.el (allout-post-undo-hook): New allout outline-change
16798 event hook to signal undo activity.
16799 (allout-post-command-business): Run allout-post-undo-hook if an
16800 undo just occurred.
7dbfa719
SM
16801 (allout-after-copy-or-kill-hook, allout-mode): Minor docstring changes.
16802 * allout-widgets.el (allout-widgets-after-undo-function):
16803 Ensure the integrity of the current item's decoration after it has been
919d884a
KM
16804 in the vicinity of an undo.
16805 (allout-widgets-mode): Include allout-widgets-after-undo-function
16806 on the new allout-post-undo-hook.
16807
450a0f09
SM
168082011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
16809
16810 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-abbrev-table):
16811 Let define-derived-mode define it.
16812 * emacs-lisp/derived.el (define-derived-mode): Try to avoid creating
16813 cycles of abbrev-table inheritance (bug#8998).
16814
2de69e00
RW
168152011-07-05 Roland Winkler <winkler@gnu.org>
16816
16817 * textmodes/bibtex.el: Add support for biblatex.
16818 (bibtex-BibTeX-entry-alist, bibtex-biblatex-entry-alist)
16819 (bibtex-BibTeX-field-alist, bibtex-biblatex-field-alist)
16820 (bibtex-dialect-list, bibtex-dialect, bibtex-no-opt-remove-re)
16821 (bibtex-entry-alist, bibtex-field-alist): New variables.
16822 (bibtex-entry-field-alist): Obsolete alias for
16823 bibtex-BibTeX-entry-alist.
16824 (bibtex-entry-alist, bibtex-field-alist): New widgets.
16825 (bibtex-set-dialect): New command.
16826 (bibtex-entry-type, bibtex-entry-head)
450a0f09
SM
16827 (bibtex-entry-maybe-empty-head, bibtex-any-valid-entry-type):
16828 Bind via bibtex-set-dialect.
2de69e00
RW
16829 (bibtex-Article, bibtex-Book, bibtex-Booklet, bibtex-InBook)
16830 (bibtex-InCollection, bibtex-InProceedings, bibtex-Manual)
16831 (bibtex-MastersThesis, bibtex-Misc, bibtex-PhdThesis)
16832 (bibtex-Proceedings, bibtex-TechReport, bibtex-Unpublished):
16833 Define via bibtex-set-dialect.
450a0f09
SM
16834 (bibtex-name-in-field, bibtex-remove-OPT-or-ALT):
16835 Obey bibtex-no-opt-remove-re.
2de69e00
RW
16836 (bibtex-vec-push, bibtex-vec-incr): New functions.
16837 (bibtex-format-entry, bibtex-field-list)
16838 (bibtex-print-help-message, bibtex-validate)
16839 (bibtex-search-entries): Use new format of bibtex-entry-alist.
16840
2dcdbdd9
SM
168412011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
16842
16843 * progmodes/compile.el (compilation-goto-locus):
16844 * net/tramp-cmds.el (tramp-append-tramp-buffers):
16845 * bs.el (bs-cycle-next, bs-cycle-previous):
16846 * bookmark.el (bookmark-bmenu-list, bookmark-bmenu-2-window):
16847 * bindings.el (mode-line-other-buffer):
16848 * autoinsert.el (auto-insert):
16849 * arc-mode.el (archive-extract):
16850 * abbrev.el (edit-abbrevs): Fix some uses of switch-to-buffer.
16851
b27640fe
JB
168522011-07-05 Juanma Barranquero <lekktu@gmail.com>
16853
16854 * emacs-lock.el (emacs-lock-mode): Fix typo in variable name.
16855 Fix check of `emacs-lock-unlockable-modes'.
16856 Coerce true values of `emacs-lock--try-unlocking' to t.
16857
53bbe3ad
JB
168582011-07-05 Juanma Barranquero <lekktu@gmail.com>
16859
16860 * obsolete/old-emacs-lock.el: Rename from emacs-lock.el.
16861 * emacs-lock.el: New file.
16862
1d3cdbc7
JD
168632011-07-05 Julien Danjou <julien@danjou.info>
16864
16865 * textmodes/rst.el (rst-define-level-faces): Use `facep' rather
16866 than `boundp' to check if face is set.
16867
9173deec
JB
168682011-07-05 Juanma Barranquero <lekktu@gmail.com>
16869
16870 * register.el (registerv-make):
16871 * window.el (window-min-height): Fix typos in docstrings.
16872
869795d6
JD
168732011-07-05 Jan Djärv <jan.h.d@swipnet.se>
16874
9173deec 16875 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
869795d6
JD
16876 Update doc string.
16877
b768cdcd
JB
168782011-07-04 Juanma Barranquero <lekktu@gmail.com>
16879
16880 * server.el (server-execute): Catch quit and call
16881 `server-return-error' to pass the error back to emacsclient and
16882 close the connection (bug#8942).
16883
13aa217b
KM
168842011-07-04 Ken Manheimer <ken.manheimer@gmail.com>
16885
16886 * allout.el (allout-encrypt-unencrypted-on-saves): Do not provide
16887 insecure exception for current topic. Also note that auto-saves
16888 are handled differently.
16889
5d3385a0 16890 (allout-auto-save-temporarily-disabled, allout-just-did-undo):
13aa217b
KM
16891 State variables for tracking auto-save inhibition situation.
16892
16893 (allout-write-contents-hook-handler): Rename from
16894 'allout-write-file-hook-handler', and describe how it depends on
16895 write-contents-functions sensitivity to non-nil value to prevent
16896 file write.
16897
16898 (allout-auto-save-hook-handler): Remove. auto-save does not check
16899 this in individual buffers, only in the starting buffer, so this
16900 is not the right way for us to inhibit auto-save in a buffer
16901 according to its condition.
16902
16903 (allout-mode): Use new allout-write-contents-hook-handler, and
16904 only with write-contents-functions. Remove auto-save provisions -
16905 they're implemented elsewhere.
16906
16907 (allout-before-change-handler): If undo is in progress, note that
16908 for attention of allout-post-command-business.
16909
16910 (allout-post-command-business): If the command we're following was
16911 an undo, check for change in the status of encrypted items and
16912 adjust auto-save inhibitions accordingly.
16913
16914 (allout-toggle-subtree-encryption): Adjust auto-save inhibition
16915 according to whether there are or aren't any plain-text topics
16916 pending encryption.
16917
2dcdbdd9 16918 (allout-inhibit-auto-save-info-for-decryption):
1154d12e
JB
16919 Adjust buffer-saved-size and some allout state to inhibit auto-saves
16920 if there are plain-text topics pending encryption.
13aa217b
KM
16921
16922 (allout-maybe-resume-auto-save-info-after-encryption): Adjust
16923 buffer-saved-size and some allout state to not inhibit auto-saves
16924 if there are no longer any plain-text topics pending encryption.
16925
0757af94
SM
16926 (allout-next-topic-pending-encryption, allout-encrypt-decrypted):
16927 No longer provide for exemption of the current topic.
13aa217b 16928
ac89b32c
JL
169292011-07-04 Juri Linkov <juri@jurta.org>
16930
16931 Add 7z operations to delete and save changed members (bug#8968).
16932 * arc-mode.el (archive-7z-expunge, archive-7z-update):
16933 New defcustoms.
16934 (archive-7z-write-file-member): New function.
16935 (archive-7z-summarize): Fix the number of dashes in the
16936 listing output.
16937
8fa39615
SM
169382011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
16939
16940 * pcmpl-linux.el (pcomplete-pare-list): Re-add, from pcomplete.el
16941 (bug#8958).
16942
2f11b3f1
CY
169432011-07-04 Chong Yidong <cyd@stupidchicken.com>
16944
d66fef2b
CY
16945 * bindings.el: Ignore next-buffer and previous-buffer in
16946 minibuffer-local-map.
16947
2f11b3f1
CY
16948 * font-lock.el (font-lock-builtin-face): Change light background
16949 color to dark slate blue (Bug#6693).
16950
f932a347
WD
169512011-07-04 Wang Diancheng <dcwang@kingbase.com.cn> (tiny change)
16952
16953 * progmodes/gdb-mi.el (gdb): Use completion-at-point.
16954
c8af70e1
SM
169552011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
16956
16957 * files.el (find-file): Use pop-to-buffer-same-window (bug#8911).
16958 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
16959 Add switch-to-buffer.
16960
f158badc
LMI
169612011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
16962
16963 * isearch.el (isearch-search-fun-function): Clarify further the
16964 meaning of the function returned.
16965
6d95bd46
MA
169662011-07-04 Michael Albinus <michael.albinus@gmx.de>
16967
16968 * net/tramp-cmds.el (tramp-cleanup-this-connection): New command.
16969
16970 * net/tramp-sh.el (tramp-color-escape-sequence-regexp): New defconst.
16971 (tramp-sh-handle-insert-directory, tramp-convert-file-attributes):
16972 Use it.
16973 (tramp-remote-path): Add "/bin" and "/usr/bin". On busyboxes,
16974 `tramp-default-remote-path' does not exist.
16975 (tramp-send-command-and-read): New optional argument NOERROR.
16976 (tramp-open-connection-setup-interactive-shell)
16977 (tramp-get-remote-path, tramp-get-remote-stat): Use it.
16978 (tramp-get-remote-readlink): Do not mask with `ignore-errors'.
16979 (tramp-process-sentinel): Flush also process' connection property.
16980 (tramp-sh-handle-start-file-process): Do not set process
16981 sentinel. It is done now ...
16982 (tramp-maybe-open-connection): ... here. (Bug#8929)
16983
909e6b67
MK
169842011-07-04 MON KEY <monkey@sandpframing.com>
16985
16986 * play/animate.el (animate-string): Doc fixes and allow changing
16987 the buffer name (bug#5417).
16988
169892011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
16990
c8af70e1 16991 * play/animate.el (animation-buffer-name): Rename from *animate*.
909e6b67 16992
f34755dc
PE
169932011-07-04 Paul Eggert <eggert@cs.ucla.edu>
16994
396cec72
PE
16995 * emacs-lisp/timer.el: Use time-date fns rather than rolling our own.
16996 This is simpler and helps future-proof the code.
16997 (timer-until): Use time-subtract and float-time.
08235028 16998 (timer--time-less-p): Use time-less-p.
f34755dc 16999
56e6cc31
JB
170002011-07-04 Juanma Barranquero <lekktu@gmail.com>
17001
3abb79e5
JB
17002 * type-break.el (timep): Use the value of `float-time' to avoid a
17003 byte-compiler warning.
17004
56e6cc31
JB
17005 * server.el (server-eval-and-print): Return any result, even nil.
17006
7b9430b4
PE
170072011-07-03 Paul Eggert <eggert@cs.ucla.edu>
17008
17009 * type-break.el: Accept time formats that the builtins accept.
17010 (timep, type-break-time-difference): Accept any format that
17011 float-time accepts, rather than insisting on (HIGH LOW USECS) format.
17012 This is simpler and helps future-proof the code.
17013 (type-break-time-difference): Round rather than ignoring
17014 subseconds components.
17015
3034e9e7
LMI
170162011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
17017
17018 * info.el (Info-apropos-matches): Make non-interactive, since it
17019 doesn't seem to do anything useful as a command (bug#8829).
17020
1485f4c0
CY
170212011-07-03 Chong Yidong <cyd@stupidchicken.com>
17022
17023 * frame.el (frame-background-mode, frame-set-background-mode):
c8af70e1 17024 Move from faces.el.
1485f4c0
CY
17025 (frame-default-terminal-background): New function.
17026
17027 * custom.el (custom-push-theme): Don't record faces in `changed'
17028 theme; this doesn't work correctly for per-frame face settings.
17029 (disable-theme): Use face-set-after-frame-default to reset faces.
17030 (custom--frame-color-default): New function.
17031
9fa3dd45
LMI
170322011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
17033
c8af70e1 17034 * dired.el (dired-flagging-regexp): Remove unused variable
9fa3dd45
LMI
17035 (bug#8769).
17036
6cbbc20c
KR
170372011-03-29 Kevin Ryde <user42@zip.com.au>
17038
17039 * progmodes/compile.el (compilation-error-regexp-alist-alist):
17040 `perl-Test2' extend to match possible "fail #N" rep count
17041 (bug#8377).
17042
c7f98048
LMI
170432011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
17044
65676592
LMI
17045 * mail/feedmail.el (feedmail-buffer-to-smtpmail):
17046 `smtpmail-via-smtp' now returns the error instead of nil.
17047
c7f98048
LMI
17048 * isearch.el (isearch-search-fun-function): Clarify the doc string
17049 (bug#8101).
17050
56e6cc31 170512011-07-03 Richard Kim <emacs18@gmail.com> (tiny change)
9a51c6c7
RK
17052
17053 * textmodes/texnfo-upd.el (texinfo-insert-menu): Don't insert
17054 unnecessary spaces (bug#8987).
17055
2b216704
LMI
170562011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
17057
17058 * net/network-stream.el (open-network-stream): Use the
17059 :end-of-capability command thoughout.
17060
170612011-07-03 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
17062
17063 * net/network-stream.el (open-network-stream): Add the
17064 :end-of-capability command parameter, used by pop3.el.
17065
36adf6ce
LMI
170662011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
17067
1ca0da0e
LMI
17068 * dired.el (dired-map-over-marks): Refill the doc string (bug#6814).
17069
fc00f69c
LMI
17070 * fringe.el (fringe-query-style): Remove redundant text " (type ?
17071 for list)" (bug#6475).
17072
28fd8759 17073 * files.el (file-expand-wildcards): Ignore non-readable
8350f087 17074 sub-directories while trying to find matches instead of signaling
28fd8759
LMI
17075 an error (bug#6297).
17076
0dd8b6da
LMI
17077 * man.el (Man-reference-regexp): Allow matching possible
17078 word-wrapped references (bug#6289).
17079
ce1438d6
LMI
17080 * vc/vc.el (vc-modify-change-comment): Change *VC-log* to *vc-log*
17081 for consistency with the other vc buffers (bug#6197).
17082 (vc-checkin): Ditto.
17083
17084 * vc/vc-arch.el: Fix comments to match the *VC-log* name change.
17085
36adf6ce
LMI
17086 * longlines.el (longlines-mode): Document what ARG does (bug#6150).
17087
e83cc1f7
LMI
170882011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
17089
8a20ca4c
LMI
17090 * custom.el (defcustom): Clarify that :set is only used in the
17091 Customize user interface (bug#6089).
17092
83319045
LMI
17093 * progmodes/flymake.el (flymake-mode): If the buffer isn't
17094 associated with a file, refuse to run instead of erroring out
17095 (bug#6084).
17096
a8392169
LMI
17097 * textmodes/fill.el (fill-region): Remove the "Ordinarily" from
17098 the doc string, since it appears that using `fill-column' always
17099 controls the width (bug#7845).
17100
e83cc1f7
LMI
17101 * simple.el (shell-command-on-region): Say where the error output
17102 went if `shell-command-default-error-buffer' is set (bug#6857).
17103
e47ca23b
KM
171042011-07-02 Ken Manheimer <ken.manheimer@gmail.com>
17105
17106 * allout.el (allout-yank-processing): Adjust cursor position for
17107 backwards-deleted space.
17108
17109 (allout-rebullet-heading): Register changes with
17110 allout-exposure-changed-hook, so the modified topic is properly
17111 decorated.
17112
5cf56143
LMI
171132011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
17114
08549772
LMI
17115 * minibuffer.el (completion-in-region): Document PREDICATE
17116 (bug#7136).
17117
48e96771
LMI
17118 * info-look.el (info-lookup-add-help): Clarify that ARGS is a list
17119 of keyword/argument pairs (bug#6904).
17120
c8af70e1
SM
17121 * replace.el (multi-occur):
17122 Mention `multi-occur-in-matching-buffers' in the doc string (bug#7566).
5cf56143 17123
e17d05e2
LMI
171242011-07-02 Drew Adams <drew.adams@oracle.com>
17125
17126 * dired.el (dired-mark-if): Make the message about whether it's
17127 marking or unmarking clearer (bug#8523).
17128
063b0e45
LMI
171292011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
17130
17131 * disp-table.el (display-table-print-array): New function.
17132 (describe-display-table): Use it to print the vectors more pretty
17133 (Bug#8859).
17134
28545e04
MR
171352011-07-02 Martin Rudalics <rudalics@gmx.at>
17136
17137 * window.el (window-state-get-1): Don't assign clone numbers.
17138 Add clone-of item to list of window parameters.
17139 (window-state-put-2): Don't process clone numbers.
17140 (display-buffer-alist): Fix doc-string.
17141
3349e122
SM
171422011-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
17143
17144 * subr.el (remq): Don't allocate if it's not needed.
17145 (keymap--menu-item-binding, keymap--menu-item-with-binding)
17146 (keymap--merge-bindings): New functions.
17147 (keymap-canonicalize): Use them to refine the canonicalization.
17148 * minibuffer.el (minibuffer-local-completion-map)
17149 (minibuffer-local-must-match-map): Move initialization from C.
17150 (minibuffer-local-filename-completion-map): Move initialization from C;
17151 don't inherit from anything here.
17152 (minibuffer-local-filename-must-match-map): Make obsolete.
17153 (completing-read-default): Use make-composed-keymap to combine
17154 minibuffer-local-filename-completion-map with either
17155 minibuffer-local-must-match-map or
17156 minibuffer-local-filename-completion-map.
17157
d224ac83
GM
171582011-07-01 Glenn Morris <rgm@gnu.org>
17159
3de63bf8
GM
17160 * type-break.el (type-break-time-sum): Use dolist.
17161
d224ac83
GM
17162 * textmodes/flyspell.el (flyspell-word-search-backward):
17163 Replace CL function.
17164
1a1e3f32
SM
171652011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
17166
fe3f64d5
SM
17167 * mouse.el (mouse--strip-first-event): New function.
17168 (function-key-map): Use it to map fringe clicks to normal clicks
17169 by default.
17170
eb604e34
SM
17171 * vc/vc-bzr.el (vc-bzr-revision-keywords): Update.
17172 (vc-bzr-revision-completion-table): Add support for annotate and date.
17173
1a1e3f32
SM
17174 * emacs-lisp/derived.el (define-derived-mode): Make abbrev-table
17175 inherit from parent.
17176
5bd35902
LMI
171772011-07-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
17178
ace6c69c 17179 * dired-aux.el (dired-diff): Doc fixup (bug#8816).
26bde865 17180 (dired-show-file-type): Doc fixup (bug#8818).
ace6c69c 17181
191e2bed
LMI
17182 * dired.el (dired-mode): Fix up the doc string as suggested by
17183 Drew Adams (bug#8817).
17184
5bd35902
LMI
17185 * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
17186 cookie, since the manual says that it should be possible to add
17187 this function to `find-file-hook' (bug#8709).
17188
eee8207a
TZ
171892011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
17190
17191 * progmodes/cfengine.el: Moved all cfengine3.el functionality
17192 here. Noted Ted Zlatanov as the maintainer.
17193 (cfengine-common-settings, cfengine-common-syntax): New functions
17194 to set up common things between `cfengine-mode' and
17195 `cfengine3-mode'.
17196 (cfengine3-mode): New mode.
17197 (cfengine3-defuns cfengine3-defuns-regex
17198 (cfengine3-class-selector-regex cfengine3-category-regex)
17199 (cfengine3-vartypes cfengine3-font-lock-keywords)
17200 (cfengine3-beginning-of-defun, cfengine3-end-of-defun)
eb604e34 17201 (cfengine3-indent-line): Add from cfengine3.el.
eee8207a 17202
36b148cf
MA
172032011-07-01 Michael Albinus <michael.albinus@gmx.de>
17204
17205 * net/tramp.el (tramp-encoding-command-interactive): New defcustom.
17206
17207 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
17208
0bf4ba9a
MR
172092011-07-01 Martin Rudalics <rudalics@gmx.at>
17210
17211 * window.el (same-window-buffer-names, same-window-regexps)
17212 (same-window-p, special-display-frame-alist)
17213 (special-display-popup-frame, special-display-function)
17214 (special-display-buffer-names, special-display-regexps)
17215 (special-display-p, pop-up-frame-alist, pop-up-frame-function)
17216 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
17217 (split-window-preferred-function, split-height-threshold)
17218 (split-width-threshold, even-window-heights)
17219 (display-buffer-mark-dedicated, window-splittable-p)
17220 (split-window-sensibly, window-safely-shrinkable-p):
17221 Un-obsolete.
17222 (display-buffer): Don't spread args with function specifier
17223 because special-display-popup-frame won't like it.
17224
35837f51
PE
172252011-07-01 Paul Eggert <eggert@cs.ucla.edu>
17226
d0672f86
PE
17227 Time-stamp simplifications and fixes.
17228 These improve accuracy slightly, and future-proof the code
17229 against some potential changes to current-time format.
17230
b9444d97
PE
17231 * woman.el (woman-decode-buffer, WoMan-log-end): Log fractional secs
17232 by using time-since and float-time.
17233
0ef923dc
PE
17234 * vc/ediff-util.el (ediff-calc-command-time): Use time-since
17235 and float-time. Say "NNN.NNN seconds" rather than "NNN seconds
17236 + NNN microseconds".
17237
2f81380d
PE
17238 * type-break.el (type-break-time-sum): Rewrite using time-add.
17239
845b5c3e
PE
17240 * play/hanoi.el (hanoi-current-time-float): Remove.
17241 All uses replaced by float-time.
17242
ee6f1be0
PE
17243 * nxml/rng-maint.el (rng-time-function): Rewrite using time-subtract.
17244 This yields a more-accurate answer.
17245 (rng-time-to-float): Remove; no longer needed.
17246
fe955043
PE
17247 * emacs-lisp/timer.el (timer-relative-time): Use time-add.
17248
5777162a
PE
17249 * calendar/timeclock.el (timeclock-seconds-to-time):
17250 Defalias to seconds-to-time, since they're the same thing.
17251
3103f8b6 17252 * emacs-lisp/elp.el (elp-elapsed-time):
e2bac5f6 17253 * emacs-lisp/benchmark.el (benchmark-elapse):
35837f51
PE
17254 * allout-widgets.el (allout-elapsed-time-seconds): Use float-time.
17255
0e61a35f
SM
172562011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
17257
17258 * window.el (bury-buffer): Don't iconify the only frame.
17259 (switch-to-buffer): Revert to Emacs<23 behavior, i.e. do not fallback
17260 to pop-to-buffer. Use pop-to-buffer-same-frame if you don't like that.
17261
ddd63a1e
CY
172622011-07-01 Chong Yidong <cyd@stupidchicken.com>
17263
0e61a35f
SM
17264 * eshell/em-smart.el (eshell-smart-display-navigate-list):
17265 Add mouse-yank-primary.
ddd63a1e 17266
055f4923
TZ
172672011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
17268
17269 * progmodes/cfengine3.el: New file to support CFEngine 3.x.
17270
6a2fb145
SM
172712011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
17272
17273 * emacs-lisp/find-func.el (find-library--load-name): New fun.
17274 (find-library-name): Use it to find relative load names when provided
17275 absolute file name (bug#8803).
17276
fd4983f2
LMI
172772011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
17278
887d14ad
LMI
17279 * textmodes/flyspell.el (flyspell-word): Consider words that
17280 differ only in case as potential doublons (bug#5687).
17281
c53dc7fc
LMI
17282 * net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
17283 Remove two rather uninteresting debugging-like messages to make
17284 debbugs.el more silent.
17285
fd4983f2
LMI
17286 * comint.el (comint-password-prompt-regexp): Accept "Response" as
17287 a password-like phrase.
17288
7a71b18d 172892011-06-30 Masatake YAMATO <yamato@redhat.com>
b14c0c55
AM
17290
17291 * progmodes/cc-guess.el: New file.
17292
6a2fb145 17293 * progmodes/cc-langs.el (c-mode-menu): Add "Style..." submenu.
b14c0c55
AM
17294
17295 * progmodes/cc-styles.el (cc-choose-style-for-mode): New function
17296 derived from `c-basic-common-init'.
17297
17298 * progmodes/cc-mode.el (top-level): Require cc-guess.
17299 (c-basic-common-init): Use `cc-choose-style-for-mode'.
17300
1fa280a3
LM
173012011-06-30 Lawrence Mitchell <wence@gmx.li>
17302
17303 * progmodes/js.el (js-mode): Don't stomp on global settings (bug#8933).
17304
e6597158
AM
173052011-06-30 Alan Mackenzie <acm@muc.de>
17306
1fa280a3
LM
17307 * progmodes/cc-engine.el (c-guess-continued-construct):
17308 Correct the handling of template-args-cont, particularly for when font
e6597158
AM
17309 lock is disabled. Name this case as "CASE G".
17310
68ba37fb
KM
173112011-06-30 Ken Manheimer <ken.manheimer@gmail.com>
17312
17313 * allout.el (allout-yank-processing): Fix injection of extra space
17314 between bullet and non-whitespace character in first topic when
17315 pasting, ensuring that the actual spacing in the pasted topic
17316 following the bullet char is preserved. This extra space was
17317 causing pasted encrypted topics to get a decrypted status even
17318 when the content was actually still encrypted. Now the decryption
17319 status from before the paste is preserved.
17320
17321 (allout-flag-region): Set all allout overlays so they evaporate
17322 when reduced to zero length (evanescent), to prevent overlay
17323 leakage.
17324
887a0b34
GM
173252011-06-30 Glenn Morris <rgm@gnu.org>
17326
94b9acce
GM
17327 * w32-fns.el (w32-charset-info-alist): Declare.
17328
1d9b46d4
GM
17329 * find-dired.el (find-grep-options): Simplify.
17330
cc232200
GM
17331 * term/ns-win.el (ns-set-resource): Declare.
17332
28e77c46
GM
17333 * ses.el (row, col): Declare dynamic variables honestly.
17334
887a0b34
GM
17335 * textmodes/reftex-parse.el (index-tags): Declare.
17336
658d8eb8
CY
173372011-06-30 Chong Yidong <cyd@stupidchicken.com>
17338
17339 * cus-edit.el (customize-push-and-save): New function.
17340
17341 * files.el (hack-local-variables-confirm): Use it.
17342
1fa280a3
LM
17343 * custom.el (load-theme): New arg NO-CONFIRM.
17344 Use customize-push-and-save (Bug#8720).
658d8eb8
CY
17345 (custom-enabled-themes): Doc fix.
17346
17347 * cus-theme.el (customize-create-theme)
17348 (custom-theme-merge-theme): Callers to load-theme changed.
17349
bb617717
LMI
173502011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
17351
d61bdd5d
LMI
17352 * thingatpt.el (thing-at-point-short-url-regexp): Require that
17353 short URLs have at least one dot in them (bug #7614).
17354
bb617717
LMI
17355 * progmodes/grep.el (rgrep): Bind `process-connection-type' to
17356 nil, because using a pty is apparently too slow (bug #895).
17357
2f31f37a
LMI
173582011-06-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
17359
17360 * mail/sendmail.el (sendmail-query-once): New function.
17361 (sendmail-query-once-function): New variable.
17362
3076b24e
GM
173632011-06-29 Glenn Morris <rgm@gnu.org>
17364
faf2a174
GM
17365 * files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.
17366
3076b24e
GM
17367 * ses.el (top-level): Require cl when compiling.
17368 (ses-set-localvars): Fix error statement.
17369 Call it at compile time to silence a storm of warnings.
17370
5386012d
MR
173712011-06-29 Martin Rudalics <rudalics@gmx.at>
17372
17373 * window.el (normalize-live-buffer): Rename to
17374 window-normalize-buffer.
17375 (normalize-live-frame): Rename to window-normalize-frame.
17376 (normalize-any-window): Rename to window-normalize-any-window.
17377 (normalize-live-window): Rename to window-normalize-live-window.
17378 (make-window-atom): Rename to window-make-atom.
17379 (window-resize-reset): Rename to window--resize-reset.
17380 (window-resize-reset-1): Rename to window--resize-reset-1.
17381 (resize-mini-window): Rename to window--resize-mini-window.
17382 (resize-subwindows-skip-p): Rename to
17383 window--resize-subwindows-skip-p.
17384 (resize-subwindows-normal): Rename to
17385 window--resize-subwindows-normal.
17386 (resize-subwindows): Rename to window--resize-subwindows.
17387 (resize-other-windows): Rename to window--resize-siblings.
17388 (resize-this-window): Rename to window--resize-this-window.
17389 (resize-root-window): Rename to window--resize-root-window.
17390 (resize-root-window-vertically): Rename to
17391 window--resize-root-window-vertically.
17392 (normalize-buffer-to-display): Rename to
17393 window-normalize-buffer-to-display.
17394 (normalize-buffer-to-switch-to): Rename to
17395 window-normalize-buffer-to-switch-to.
17396 Correspondingly update all callers of the functions listed
17397 above.
17398 (display-buffer-alist, display-buffer-normalize-arguments)
17399 (display-buffer-normalize-options, display-buffer)
17400 (display-buffer-alist-set): Use "function" instead of
17401 "fun-with-args".
17402
1176868d
CY
174032011-06-28 Chong Yidong <cyd@stupidchicken.com>
17404
17405 * mail/emacsbug.el (report-emacs-bug): Handle non-gnu bug
17406 addresses more clearly. Add hyperlinks for bug-gnu-emacs and
17407 debbugs.gnu.org. Mention acknowledgment email.
17408
20a7a65f
LMI
174092011-06-28 Lars Magne Ingebrigtsen <larsi@gnus.org>
17410
17411 * mail/smtpmail.el (smtpmail-send-it): Leave off changing the
17412 buffer multibyteness, since it shouldn't matter.
17413
5f45cca5
MR
174142011-06-28 Martin Rudalics <rudalics@gmx.at>
17415
17416 * window.el (display-buffer-in-side-window): Handle dedicated
17417 windows as in display-buffer-reuse-window.
17418 (display-buffer-normalize-alist): Use value of override
17419 specifier.
17420 (display-buffer-normalize-specifiers): Use value of
17421 other-window-means-other-frame specifier.
17422 (display-buffer-alist): Rewrite some texts in widgets.
17423 (display-buffer): Spread arguments when calling function
17424 specified by fun-with-args.
17425
ad85fe1f
DD
174262011-06-28 Deniz Dogan <deniz@dogan.se>
17427
1fa280a3
LM
17428 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
17429 Unnest `let'.
da68c4c8 17430
ad85fe1f
DD
17431 * textmodes/css-mode.el (css-font-lock-keywords): Fix grouped
17432 selectors (Bug#5732).
ec49bd31 17433 (css-proprietary-nmstart-re): Use `regexp-opt'.
ad85fe1f 17434
a08cc025
JA
174352011-06-27 Jari Aalto <jari.aalto@cante.net>
17436
17437 * eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).
17438 (eshell-ls-date-format): New defcustom.
17439 (eshell-ls-file): Use it.
17440
e2b551c5
SM
174412011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
17442
17443 * help-fns.el (describe-variable): Fix message for terminal-local vars.
17444
8982b231
KY
174452011-06-27 Katsumi Yamaoka <yamaoka@jpl.org>
17446
17447 * net/ange-ftp.el: Allow loading .gz files (Bug#6923).
17448 (ange-ftp-make-tmp-name): New arg.
17449 (ange-ftp-file-local-copy): Use it.
17450
36c9fa27
J
174512011-06-27 Jambunathan K <kjambunathan@gmail.com>
17452
17453 * tar-mode.el (tar-untar-buffer): Set coding-system-for-write to
17454 no-conversion (Bug#8870).
17455
d68443dc
MR
174562011-06-27 Martin Rudalics <rudalics@gmx.at>
17457
17458 * window.el (window-right, window-left, window-child)
17459 (window-child-count, window-last-child)
17460 (window-iso-combination-p, walk-window-tree-1)
17461 (window-atom-check-1, window-tree-1, delete-window)
17462 (window-state-get-1, display-buffer-even-window-sizes): Adapt to
17463 new naming conventions - window-vchild, window-hchild,
17464 window-next and window-prev are now called window-top-child,
17465 window-left-child, window-next-sibling and window-prev-sibling
17466 respectively.
d615d6d2
MR
17467 (resize-window-reset): Rename to window-resize-reset.
17468 (resize-window-reset-1): Rename to window-resize-reset-1.
17469 (resize-window): Rename to window-resize.
17470 (window-min-height, window-min-width)
17471 (resize-mini-window, resize-this-window, resize-root-window)
17472 (resize-root-window-vertically, adjust-window-trailing-edge)
17473 (enlarge-window, shrink-window, maximize-window)
17474 (minimize-window, delete-window, quit-restore-window)
17475 (split-window, balance-windows, balance-windows-area-adjust)
17476 (balance-windows-area, window-state-put-2)
17477 (display-buffer-even-window-sizes, display-buffer-set-height)
17478 (display-buffer-set-width, set-window-text-height)
17479 (fit-window-to-buffer): Rename all "resize-window" prefixed
17480 calls to use the "window-resize" prefix convention.
17481 (display-buffer-alist): Fix symbol for label specifier.
17482 (display-buffer-reuse-window): Set reuse-dedicated to cdr of
17483 corresponding specifier.
17484 Reported by Juanma Barranquero <lekktu@gmail.com>.
d68443dc 17485
b6458526
VB
174862011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
17487
17488 * ses.el (ses-destroy-cell-variable-range): Fix heading comment
17489 convention.
17490 (ses-call-printer): Does not pass an empty string to formatter when the
17491 cell is empty to keep from barking printer Calc math-format-value.
17492
d31fd9ac
RS
174932011-06-27 Richard Stallman <rms@gnu.org>
17494
43d5bf84
RS
17495 * battery.el (battery-mode-line-limit): New variable.
17496 (battery-update): Handle it.
17497
d31fd9ac
RS
17498 * mail/rmailmm.el (rmail-mime-process-multipart):
17499 Handle truncated messages.
17500
819a6054
GM
175012011-06-27 Glenn Morris <rgm@gnu.org>
17502
17503 * progmodes/flymake.el (flymake-err-line-patterns):
17504 Allow for column numbers in the ant/javac pattern. (Bug#8866)
17505
cedc73f2
VB
175062011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
17507
819a6054 17508 * ses.el (ses-relocate-range): Keep rest of arguments for ses-range.
cedc73f2
VB
17509 (ses--clean-!, ses--clean-_): New functions.
17510 (ses-range): Add configurability of readout order, and conversion
17511 to Calc vector.
17512
5e5d49b6
VB
17513 * ses.el (ses-repair-cell-reference-all): New function.
17514 (ses-cell-symbol): Set macro as safe, so that it can be used in
17515 formulas.
17516
56e6cc31 17517 * ses.el: Update cycle detection algorithm.
90ca8b49 17518 (ses-localvars): Add ses--Dijkstra-attempt-nb and
819a6054 17519 ses--Dijkstra-weight-bound, and initial values thereof when applicable.
90ca8b49
VB
17520 (ses-set-localvars): New function.
17521 (ses-make-cell): Add property-list as a cell element.
17522 (ses-cell-property-get-fun, ses-cell-property-get)
17523 (ses-cell-property-delq-fun, ses-cell-property-set-fun)
819a6054
GM
17524 (ses-cell-property-pop-fun, ses-cell-property-get-handle-fun):
17525 New functions.
90ca8b49
VB
17526 (ses-cell-property-set, ses-cell-property-pop)
17527 (ses-cell-property-get-handle): New macro.
17528 (ses-cell-property-handle-car, ses-cell-property-handle-setcar):
17529 New aliases, used for code readability.
17530 (ses-calculate-cell, ses-update-cells): Use Dijkstra algorithm for
17531 cycle detection.
17532 (ses-self-reference-early-detection): New defcustom.
fac916bf 17533 (ses-formula-references): Robustify against self-referring cells.
90ca8b49
VB
17534 (ses-mode): Use ses-set-localvars.
17535 (ses-command-hook): Add call to ses-initialize-Dijkstra-attempt
17536 before lauching the update processing.
17537 (ses-initialize-Dijkstra-attempt): New function.
17538 (ses-recalculate-cell): Update for cycle detection based on
17539 Dijkstra algorithm.
17540
2bb63e81
VB
17541 * ses.el: Fix commenting and indenting convention.
17542
c9d29fb8
SM
175432011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
17544
17545 * bs.el (bs-cycle-next): Complete last change.
17546
d8e4b68b
JB
175472011-06-27 Drew Adams <drew.adams@oracle.com>
17548
17549 * faces.el (list-faces-display): Add help-mode-map to output (bug#8939).
17550
40098786
LMI
175512011-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
17552
c9d29fb8
SM
17553 * net/network-stream.el (network-stream-open-starttls):
17554 Don't re-get capabilities unless we've reestablished connection.
f6ab314e
LMI
17555 (network-stream-open-starttls): Fix stupid typo with gnutls-clii.
17556
40098786
LMI
17557 * mail/smtpmail.el (smtpmail-via-smtp): Bind coding-system-for-*
17558 to binary to possibly avoid line encoding issues on Windows (among
17559 other things).
17560
468d09d4
LMI
175612011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
17562
17563 * net/network-stream.el (open-network-stream): Return an :error
17564 saying what the problem was, if possible.
17565
17566 * mail/smtpmail.el (smtpmail-via-smtp): Report the error from the
17567 server.
17568
17569 * net/network-stream.el (network-stream-open-starttls): If we
17570 wanted to use STARTTLS, and the server offered it, but we weren't
17571 able to because we had no STARTTLS support, then close the connection.
17572 (open-network-stream): Return an :error element, if present.
17573
16f07dd7
CY
175742011-06-26 Chong Yidong <cyd@stupidchicken.com>
17575
88821ca0
CY
17576 * hl-line.el (hl-line-sticky-flag): Doc fix.
17577 (global-hl-line-sticky-flag): New option (Bug#8323).
17578 (global-hl-line-highlight): Obey it.
17579
16f07dd7
CY
17580 * vc/vc.el (vc-revert-show-diff): Default to t.
17581
6b5ccddf
KM
175822011-06-26 Ken Manheimer <ken.manheimer@gmail.com>
17583
c9d29fb8
SM
17584 * allout-widgets.el (allout-widgets-post-command-business):
17585 Stop decorating intermediate isearch matches. They're not being
6b5ccddf
KM
17586 undecorated when an isearch is continued past, and isearch
17587 automatically collapses them. This leads to "widget leaks", where
17588 decorated items accumulate in collapsed areas. Lines with lots of
c9d29fb8
SM
17589 hidden widgets can slow down cursor travel, substantially.
17590 Too much complicated machinery would be needed to ensure undecoration,
6b5ccddf
KM
17591 so we're doing without this nicety.
17592
17593 (allout-widgets-tally-string): Don't try to do a hash-table-count
17594 of allout-widgets-tally when it's nil. This eliminates spurious "Error
17595 during redisplay: (wrong-type-argument hash-table-p nil)" warnings in
17596 *Messages* when allout-widgets-maintain-tally is t.
17597
355f2e07
MR
175982011-06-26 Martin Rudalics <rudalics@gmx.at>
17599
17600 * window.el (display-buffer-normalize-argument): Rename to
17601 display-buffer-normalize-arguments. Handle special meaning of
6b5ccddf
KM
17602 LABEL argument. Respect special-display-function when popping up
17603 a new frame. Fix code searching for a window showing the buffer
17604 on another frame.
c9d29fb8
SM
17605 (display-buffer-normalize-specifiers):
17606 Call display-buffer-normalize-arguments.
355f2e07
MR
17607 (display-buffer-in-window): Don't undedicate the window if its
17608 buffer remains the same.
17609 Reported by Drew Adams <drew.adams@oracle.com>.
17610 (display-buffer-alist): Add choice for same-window macro
17611 specfier.
17612 (display-buffer): Mention special meaning of LABEL argument in
17613 doc-string. Fix quoting. Don't pop up a new frame even as
17614 fallback.
17615
7ca8fc42
JB
176162011-06-26 Juanma Barranquero <lekktu@gmail.com>
17617
17618 * bs.el (bs-cycle-next): Pass current buffer to `bury-buffer' to
17619 avoid deleting the current window in some cases (bug#8911).
17620
bc312254
AS
176212011-06-26 Andreas Schwab <schwab@linux-m68k.org>
17622
17623 * emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
17624 (Bug#8934)
17625
2db18f3f
LMI
176262011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
17627
c9d29fb8
SM
17628 * net/network-stream.el (network-stream-open-starttls):
17629 Use built-in TLS support if `gnutls-available-p' is true.
2db18f3f
LMI
17630 (network-stream-open-tls): Ditto.
17631
6302e0d3
LL
176322011-06-26 Leo Liu <sdl.web@gmail.com>
17633
17634 * register.el (registerv): New struct.
17635 (registerv-make): New function.
c9d29fb8
SM
17636 (jump-to-register, describe-register-1, insert-register):
17637 Support the jump-func, print-func and insert-func slot of a registerv
6302e0d3
LL
17638 struct. (Bug#8415)
17639
5fdd4046
CY
176402011-06-26 Chong Yidong <cyd@stupidchicken.com>
17641
2afef60a
CY
17642 * vc/vc.el (vc-revert-show-diff): New defcustom.
17643 (vc-diff-internal): New arg specifying diff buffer.
17644 (vc-revert): Obey vc-revert-show-diff. If we show a diff, don't
17645 reuse an existing *vc-diff* buffer (Bug#8927).
17646
5fdd4046
CY
17647 * progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode.
17648
e93db24a
GM
176492011-06-26 Glenn Morris <rgm@gnu.org>
17650
17651 * progmodes/f90.el (f90-critical-indent): New option.
17652 (f90-font-lock-keywords-2, f90-blocks-re, f90-end-block-re)
17653 (f90-start-block-re, f90-mode-abbrev-table): Add block, critical.
17654 (f90-mode): Doc fix.
17655 (f90-looking-at-critical, f90-looking-at-end-critical): New funcs.
17656 (f90-no-block-limit, f90-calculate-indent, f90-end-of-block)
17657 (f90-beginning-of-block, f90-next-block, f90-indent-region)
17658 (f90-match-end): Handle block, critical.
17659
eefff499
GM
176602011-06-25 Glenn Morris <rgm@gnu.org>
17661
f6ba4cc9
GM
17662 * calendar/diary-lib.el (diary-included-files): Doc fix.
17663 (diary-include-files): New function, extracted from
17664 diary-include-other-diary-files and diary-mark-included-diary-files.
17665 (diary-include-other-diary-files, diary-mark-included-diary-files):
17666 Just call diary-include-files.
17667 (diary-mark-entries): Reset diary-included-files on first call.
17668
16712304
GM
17669 * calendar/diary-lib.el (diary-mark-entries)
17670 (diary-mark-included-diary-files):
17671 Visit included diary-files in temp buffers.
17672
5d8e0d43
GM
17673 * progmodes/f90.el (f90-keywords-re, f90-font-lock-keywords-1)
17674 (f90-blocks-re, f90-program-block-re, f90-end-block-re)
17675 (f90-start-block-re, f90-imenu-generic-expression)
17676 (f90-looking-at-program-block-start, f90-no-block-limit):
17677 Add support for submodules.
17678
ccf7a5d5
GM
17679 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
17680 (f90-procedures-re, f90-constants-re): Add some F2008 stuff.
eefff499 17681
11fdef7d 176822011-06-25 Eli Zaretskii <eliz@gnu.org>
638e9005
EZ
17683
17684 * net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
17685 buffer-file-type before setting its value, to avoid disastrous
eefff499 17686 global effects on decoding files for DOS/Windows systems. (Bug#8780)
638e9005 17687
74f53697
JB
176882011-06-25 Juanma Barranquero <lekktu@gmail.com>
17689
17690 * allout.el (allout-unload-function): Pass -1 to `allout-mode'.
17691
17692 * ses.el (ses-unload-function):
17693 * emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
17694
17695 * proced.el (proced-unload-function):
17696 * progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.
17697
18a4ce5e
AR
176982011-06-25 Andreas Rottmann <a.rottmann@gmx.at>
17699
17700 * server.el (server-create-window-system-frame): Add parameters arg.
17701 (server-process-filter): Doc fix. Handle frame-parameters.
17702
519d22cc
JB
177032011-06-25 Juanma Barranquero <lekktu@gmail.com>
17704
17705 Fix bug#8730, bug#8781.
17706
17707 * loadhist.el (unload--set-major-mode): New function.
17708 (unload-feature): Use it.
17709
17710 * progmodes/python.el (python-after-info-look): Add autoload cookie.
17711 (python-unload-function): New function.
17712
c206f5b0
SM
177132011-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
17714
17715 * mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.
17716
f9ad64f3
GS
177172011-06-25 Giuseppe Scrivano <gscrivano@gnu.org>
17718
17719 * net/browse-url.el (browse-url-firefox-program): Add icecat to
17720 the candidates list.
17721
7d0da90e
JB
177222011-06-24 Juanma Barranquero <lekktu@gmail.com>
17723
17724 * progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable.
17725
14b4e83d
RS
177262011-06-23 Richard Stallman <rms@gnu.org>
17727
17728 * mail/rmail.el: Going to grep hit in Rmail buffer finds the message.
17729 (rmail-variables): Set next-error-move-function.
17730 (rmail-what-message): Take argument POS.
17731 (rmail-next-error-move): New function.
17732
273d2baf
SM
177332011-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
17734
17735 * emacs-lisp/smie.el (smie-bnf->prec2): Give more understandable error
17736 messages for adjacent non-terminals.
17737
56c2cc9a
RS
177382011-06-23 Richard Stallman <rms@gnu.org>
17739
17740 * mail/rmail.el (rmail-retry-ignored-headers): Add message-id.
f444564c 17741 (rmail-show-message-1): Preserve buffer modified flag.
8050daa1
RS
17742 (rmail-start-mail): Don't specify use of rmail-mail-return;
17743 that's done by mail-bury now.
17744 (rmail-mail-return): Handle arg NEWBUF.
56c2cc9a 17745
d59eb518
MA
177462011-06-23 Michael Albinus <michael.albinus@gmx.de>
17747
17748 * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
17749 SIZE is a number.
17750
02cfc6d6
MR
177512011-06-23 Martin Rudalics <rudalics@gmx.at>
17752
17753 * window.el (get-lru-window, get-mru-window)
17754 (get-largest-window): Never return a minibuffer window.
17755 (display-buffer-pop-up-window): Fix a bug that could lead to
17756 reusing the minibuffer window.
17757 (display-buffer): Pass original specifier argument to
17758 display-buffer-function instead of the normalized one.
17759 Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
17760
4e323265
LL
177612011-06-22 Leo Liu <sdl.web@gmail.com>
17762
17763 * minibuffer.el (completing-read-function)
1f9f395d 17764 (completing-read-default): Move from minibuf.c.
4e323265 17765
7a70468f
RS
177662011-06-22 Richard Stallman <rms@gnu.org>
17767
50718fc2
RS
17768 * mail/sendmail.el (mail-bury): If Rmail is in use, return nicely
17769 to Rmail even if not started by a special Rmail command.
17770
7a70468f
RS
17771 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
17772 Copy the buffer currently showing just one message.
17773
297dde5a
RW
177742011-06-22 Roland Winkler <winkler@gnu.org>
17775
17776 * textmodes/bibtex.el (bibtex-entry-update): Use mapc.
17777 (bibtex-clean-entry): First delete the old key so that a
17778 customized algorithm for generating the new key does not get
17779 confused by the old key.
17780 (bibtex-url): Obey regexp of first step.
17781 (bibtex-search-entries): Do not use add-to-list with local
17782 list-var.
17783
97bb1093
LMI
177842011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
17785
17786 * mail/smtpmail.el (smtpmail-try-auth-methods): If the user has
17787 stored a user name, then query for the password first, instead of
17788 waiting for SMTP to give an error message and the trying again.
17789
1c0f1a19
JD
177902011-06-22 Lawrence Mitchell <wence@gmx.li>
17791
17792 * net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
17793 BUFFER in call-process.
17794
396f7c9d
LMI
177952011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
17796
17797 * mail/smtpmail.el (smtpmail-via-smtp): Make sure we don't send
17798 QUIT twice.
ddb7ffee
LMI
17799 (smtpmail-try-auth-methods): Require user name and password from
17800 auth-source.
396f7c9d 17801
8998d1b3
MR
178022011-06-22 Martin Rudalics <rudalics@gmx.at>
17803
17804 * window.el (display-buffer-default-specifiers)
17805 (display-buffer-alist): Remove entries for pop-up-frame-alist.
17806 Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
130e3e11 17807 (split-window): Normalize SIDE argument (Bug#8916).
8998d1b3
MR
17808
17809 * frame.el (pop-up-frame-alist, pop-up-frame-function)
17810 (special-display-frame-alist, special-display-popup-frame):
17811 Remove duplicate declarations. These are now in window.el.
17812
4ea31e07
LMI
178132011-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
17814
c9d29fb8
SM
17815 * mail/smtpmail.el (smtpmail-via-smtp):
17816 Set :use-starttls-if-possible so that we always use STARTTLS if the
6af7a784
LMI
17817 server supports it. SMTP servers that support STARTTLS commonly
17818 require it.
17819
17820 * net/network-stream.el (network-stream-open-starttls): Support
17821 upgrading to STARTTLS always, even if we don't have built-in support.
fa463103 17822 (open-network-stream): Add the :always-query-capabilities keyword.
6af7a784 17823
95f41d9a
LMI
17824 * mail/smtpmail.el: Rewritten to do opportunistic STARTTLS
17825 upgrades with `open-network-stream', and rely solely on
17826 auth-source for all credentials. Big changes throughout the file,
17827 but in particular:
c9d29fb8
SM
17828 (smtpmail-auth-credentials): Remove.
17829 (smtpmail-starttls-credentials): Remove.
7d36ad46
LMI
17830 (smtpmail-via-smtp): Check for servers saying they want AUTH after
17831 MAIL FROM, too.
95f41d9a 17832
c9d29fb8
SM
17833 * net/network-stream.el (network-stream-open-starttls):
17834 Provide support for client certificates both for external and built-in
4ea31e07
LMI
17835 STARTTLS.
17836 (auth-source): Require.
17837 (open-network-stream): Document the :client-certificate keyword.
eb8c9362
LMI
17838 (network-stream-certificate): Change cert-cert to cert and
17839 cert-key to key.
4ea31e07 17840
065ec2c7
MA
178412011-06-21 Michael Albinus <michael.albinus@gmx.de>
17842
17843 * net/tramp-cache.el (top): Don't load the persistency file when
17844 "emacs -Q" has been called.
17845
cd93b359
DR
178462011-06-21 Tim Harper <timcharper@gmail.com>
17847
d8e4b68b
JB
17848 * term/ns-win.el (ns-initialize-window-system):
17849 Set application-specific `ApplePressAndHoldEnabled' system
cd93b359
DR
17850 resource to NO as it is not yet supported by the NS port.
17851
ae9c0411
JB
178522011-06-21 Juanma Barranquero <lekktu@gmail.com>
17853
17854 * misc.el (list-dynamic-libraries--refresh): Compute header here...
17855 (list-dynamic-libraries): ...not here.
17856
7f3f739f
LL
178572011-06-21 Leo Liu <sdl.web@gmail.com>
17858
17859 * subr.el (sha1): Implement sha1 using secure-hash.
17860
327c8fb1
MR
178612011-06-21 Martin Rudalics <rudalics@gmx.at>
17862
17863 * window.el (display-buffer-alist): In default value do not
17864 enforce searching a window on any but the selected frame.
17865 Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
17866 (display-buffer-select-window): Remove function.
17867 (display-buffer-in-window): When a window on another frame gets
17868 reused, do not select it any more but just raise its frame if
17869 necessary (Bug#8851) and (Bug#8856).
17870 (display-buffer-normalize-options): Handle pop-up-frames related
17871 options more faithfully.
17872 (pop-to-buffer): Don't rely on `display-buffer' selecting the
17873 window if it is on another frame.
c9d29fb8
SM
17874 (display-buffer-alist, display-buffer-default-specifiers):
17875 Don't make new frame unsplittable by default.
9e9de014
MR
17876 (display-buffer-normalize-argument): Fix doc-string typo and use
17877 'same-frame-other-window instead of 'other-window when associating
17878 with display-buffer-macro-specifiers.
327c8fb1 17879
7cf3f556
VB
178802011-06-21 Vincent Belaïche <vincent.b.1@hotmail.fr>
17881
17882 * play/5x5.el (5x5-solve-rotate-left, 5x5-solve-rotate-right):
17883 New functions.
17884 (5x5-mode-map, 5x5-mode-menu): Bind them.
17885 (5x5-draw-grid): Tweak the solver's rendering.
17886
60a406cf
SM
178872011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
17888
17889 * progmodes/compile.el (compilation-error-regexp-alist-alist): Rename
17890 `caml' to `python-tracebacks-and-caml'; allow leading tabs (bug#8585).
17891
d8e4b68b 178922011-06-21 Drew Adams <drew.adams@oracle.com>
5d907d6c
DA
17893
17894 * menu-bar.el: Use function variable instead of switch-to-buffer.
17895 (menu-bar-select-buffer-function): New variable.
60a406cf 17896 (menu-bar-update-buffers): Use it (bug#8876).
5d907d6c 17897
478d6f95
SM
178982011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
17899
17900 * emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
17901 variable's status.
17902
ca530739
JD
179032011-06-20 Jan Djärv <jan.h.d@swipnet.se>
17904
17905 * x-dnd.el (x-dnd-version-from-flags)
17906 (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
17907 and long as number (Bug#8899).
17908 (x-dnd-handle-xdnd): Call functions above (Bug#8899).
17909
bcd70d97
SM
179102011-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
17911
60a406cf 17912 * minibuffer.el (completion-metadata): Add `metadata' to the alist.
4cb3bfa0
SM
17913 (completion-try-completion, completion-all-completions): Compute the
17914 metadata argument if it's missing; make it optional (bug#8795).
17915
60a406cf 17916 * wid-edit.el: Use lex-bind and move towards completion-at-point.
bcd70d97
SM
17917 (widget-complete): Use new :completion-function property.
17918 (widget-completions-at-point): New function.
17919 (default): Use :completion-function instead of :complete.
60a406cf
SM
17920 (widget-default-completions): Rename from widget-default-complete;
17921 Rewrite.
bcd70d97
SM
17922 (widget-string-complete, widget-file-complete, widget-color-complete):
17923 Remove functions.
17924 (file, symbol, function, variable, coding-system, color):
17925 * international/mule-cmds.el (default-input-method, charset)
17926 (language-info-custom-alist):
17927 * cus-edit.el (face): Use new property :completions.
17928
17929 * progmodes/pascal.el (pascal-completions-at-point): New function.
17930 (pascal-mode): Use it.
17931 (pascal-mode-map): Use completion-at-point.
17932 (pascal-toggle-completions): Make obsolete.
17933 (pascal-complete-word, pascal-show-completions):
17934 * progmodes/octave-mod.el (octave-complete-symbol):
17935 Redefine as obsolete alias.
17936 * progmodes/octave-inf.el (inferior-octave-completion-at-point):
17937 Signal absence of completion info for old Octave,
17938 (inferior-octave-complete): Redefine as obsolete alias.
17939 * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
17940 (meta-completions-at-point): Rename from meta-complete-symbol and
17941 adapt it for use on completion-at-point-functions.
17942 (meta-common-mode): Use it.
17943 (meta-looking-at-backward, meta-match-buffer): Remove.
17944 (meta-complete-symbol): Redefine as obsolete alias.
17945 (meta-common-mode-map): Use completion-at-point.
17946 * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
17947 (makefile-mode-map): Use completion-at-point.
17948 (makefile-completions-at-point): Rename from makefile-complete and
17949 adapt it for use on completion-at-point-functions.
17950 (makefile-mode): Use it.
17951 (makefile-complete): Redefine as obsolete alias.
17952
aebf69c8
DD
179532011-06-20 Deniz Dogan <deniz@dogan.se>
17954
17955 * net/rcirc.el: Delete trailing whitespaces once and for all.
17956
bfbbb27d
DC
179572011-06-20 Daniel Colascione <dan.colascione@gmail.com>
17958
17959 * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
17960
d264a46b
CY
179612011-06-19 Chong Yidong <cyd@stupidchicken.com>
17962
4ca009e5
CY
17963 * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
17964
d264a46b
CY
17965 * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
17966
fbf5b3ce
MR
179672011-06-19 Martin Rudalics <rudalics@gmx.at>
17968
17969 * window.el (display-buffer-other-window-means-other-frame):
17970 Call display-buffer-normalize-alist.
17971 (display-buffer-normalize-specifiers-1): Rename to
17972 display-buffer-normalize-argument. New argument other-frame.
17973 Rewrite.
17974 (display-buffer-normalize-specifiers-2): Rename to
17975 display-buffer-normalize-options.
17976 (display-buffer-normalize-alist-1): New function.
17977 (display-buffer-normalize-specifiers-3): Rename to
bcd70d97
SM
17978 display-buffer-normalize-alist.
17979 Call display-buffer-normalize-alist-1.
fbf5b3ce
MR
17980 (display-buffer-normalize-options-inhibit): New variable.
17981 (display-buffer-normalize-specifiers): Rewrite calling
17982 display-buffer-normalize-alist,
17983 display-buffer-normalize-argument, and
17984 display-buffer-normalize-options. Don't call the latter if
17985 display-buffer-normalize-options-inhibit is non-nil.
17986 (frame-auto-delete): New option.
17987 (window-deletable-p): Use frame-auto-delete.
9d89fec7
MR
17988 (window-list-no-nils, window-state-ignored-parameters)
17989 (window-state-get-1, window-state-get, window-state-put-list)
bcd70d97
SM
17990 (window-state-put-1, window-state-put-2, window-state-put):
17991 New functions.
9a028c23
MR
17992 (display-buffer-normalize-options): Move special-display-p group
17993 after pop-up-frame group (Bug#8851) and (Bug#8856).
fbf5b3ce 17994
6d10d800
CY
179952011-06-18 Chong Yidong <cyd@stupidchicken.com>
17996
6420d28b
CY
17997 * emacs-lisp/rx.el (rx-constituents): Add support for numbered
17998 groups (Bug#8776).
17999 (rx-submatch-n): New function.
18000 (rx): Document it.
18001
ddb8b596
CY
18002 * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
18003 (Bug#8768).
18004
18005 * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
18006
77080289
CY
18007 * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
18008
61dfb316
CY
18009 * cus-face.el (custom-declare-face): Call custom-theme-recalc face
18010 anytime existing face settings are present (Bug#8889).
18011
6d10d800
CY
18012 * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
18013 (delphi-mode): Use define-derived-mode to inherit from prog-mode.
18014 Remove unused argument.
18015
be3fb2b8
MR
180162011-06-18 Martin Rudalics <rudalics@gmx.at>
18017
bcd70d97
SM
18018 * window.el (display-buffer-default-specifiers):
18019 Remove pop-up-frame. Add pop-up-window-min-height,
be3fb2b8
MR
18020 pop-up-window-min-width, and another reuse-window specifier
18021 (Bug#8882). Reported by Dan Nicolaescu <dann@gnu.org>.
bcd70d97
SM
18022 (display-buffer-normalize-specifiers-2):
18023 Handle split-height-threshold and split-width-threshold also when
be3fb2b8
MR
18024 pop-up-windows is unset. Add a reuse-window specifier for the
18025 case popping up a new window fails.
18026 (special-display-popup-frame): Remove double quoting.
28dec25a 18027 (display-buffer-normalize-specifiers-1): Fix thinko.
be3fb2b8 18028
1c6d8c76
SM
180292011-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
18030
18031 * shell.el (shell-completion-vars): Set pcomplete-termination-string
18032 according to comint-completion-addsuffix.
18033
18034 * pcomplete.el: Convert to lexical binding and fix bug#8819.
18035 (pcomplete-suffix-list): Mark as obsolete.
18036 (pcomplete-completions-at-point): Capture pcomplete-norm-func and
18037 pcomplete-seen in the closure.
18038 (pcomplete-comint-setup): Setup completion-at-point as well.
18039 (pcomplete--entries): New function.
18040 (pcomplete--env-regexp): New var.
18041 (pcomplete-entries): Rewrite to work with partial-completion and
18042 without relying on pcomplete-suffix-list.
18043 (pcomplete-pare-list): Remove, unused.
18044
25aef8b8
MR
180452011-06-17 Martin Rudalics <rudalics@gmx.at>
18046
18047 * window.el (display-buffer-alist): Set pop-up-window-min-height
18048 and pop-up-window-min-width in default value. Reported by
18049 Thierry Volpiatto <thierry.volpiatto@gmail.com>. New specifier
18050 other-window-means-other-frame.
18051 (display-buffer-macro-specifiers): Comment out entry for
18052 other-window specifier.
18053 (display-buffer-other-window-means-other-frame): New function.
18054 (display-buffer-normalize-specifiers-1): New arguments
18055 buffer-name and label. Treat other-window case specially.
18056 (display-buffer-normalize-specifiers-2): Treat other-window case
18057 specially.
18058 (display-buffer-normalize-specifiers-3): New function.
bcd70d97
SM
18059 (display-buffer-normalize-specifiers):
18060 Call display-buffer-normalize-specifiers-3.
25aef8b8 18061
dbad4f69
MR
180622011-06-17 Martin Rudalics <rudalics@gmx.at>
18063
18064 * window.el (same-window-p): Fix two typos introduced when
18065 adding with-no-warnings.
d1067961
MR
18066 (display-buffer-normalize-specifiers-1): Don't check
18067 pop-up-frames for 'unset initialization.
18068 (display-buffer-normalize-specifiers-2): Major rewrite using
18069 special-display-p and same-window-p (Bug#8851) and (Bug#8856).
18070 (pop-up-frames, display-buffer-reuse-frames)
18071 (display-buffer-mark-dedicated): Don't initialize to 'unset.
18072 Suggested by David Engster <deng@randomsample.de>.
18073 (even-window-heights): Initialize to 'unset.
18074 (display-buffer-alist-set): Handle new 'unset initializations.
25aef8b8
MR
18075 (display-buffer-macro-specifiers): Don't pop up a new frame in the
18076 other window case.
dbad4f69 18077
9b9c9e3a
MR
180782011-06-16 Martin Rudalics <rudalics@gmx.at>
18079
bcd70d97
SM
18080 * window.el (display-buffer-normalize-specifiers-1):
18081 Respect current value of pop-up-frames for most reasonable values of
9b9c9e3a 18082 second argument of display-buffer (Bug#8865).
981d5c09
MR
18083 (switch-to-buffer-same-frame, switch-to-buffer-other-window)
18084 (switch-to-buffer-other-window-same-frame)
18085 (switch-to-buffer-other-frame): Fix doc-strings. Reported by Drew
18086 Adams (Bug#8875).
9c2755e9
MR
18087 (display-buffer): Don't check noninteractive when calling
18088 display-buffer-pop-up-frame.
18089 (display-buffer-pop-up-frame): Never pop up a frame in
18090 noninteractive mode (Bug#8857).
67222e1d
MR
18091 (enlarge-window, shrink-window): Don't report an error when the
18092 window can't be resized as requested (Bug#8862).
9b9c9e3a 18093
2b75be67
SM
180942011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
18095
9ffdd3ba
SM
18096 * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
18097
cb581a67
SM
18098 * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
18099
2b75be67
SM
18100 * abbrev.el (define-abbrev-table): Don't add a table multiple times.
18101
8c0e3589
AM
181022011-06-15 Alan Mackenzie <acm@muc.de>
18103
cb581a67
SM
18104 * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
18105 for declarators, disable knr checking to speed up for normal files.
18106 2: Refactor, replacing a sequence of nested if forms by a cond form.
8c0e3589 18107
b96e6cde
LMI
181082011-06-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
18109
4bba86e6
LMI
18110 * net/network-stream.el (open-network-stream): Add the keyword
18111 :always-query-capabilities for the case where you want to force a
18112 `plain' network connection, but the protocol still requires the
18113 capabilitiy command (i.e., SMTP and EHLO).
18114
2b75be67 18115 * subr.el (process-live-p): Rename from `process-alive-p' for
b96e6cde
LMI
18116 consistency with other `-live-p' functions.
18117
efdcdbf8
SM
181182011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
18119
18120 * window.el (same-window-buffer-names, same-window-regexps)
18121 (special-display-frame-alist, special-display-popup-frame)
18122 (special-display-function, special-display-buffer-names)
18123 (special-display-regexps, pop-up-frame-alist)
18124 (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
18125 (pop-up-windows, split-window-preferred-function)
18126 (split-height-threshold, split-width-threshold, even-window-heights)
18127 (display-buffer-mark-dedicated): Don't encourage the use of
18128 display-buffer-alist from Elisp code.
18129
c5cde042
DN
181302011-06-15 Dan Nicolaescu <dann@ics.uci.edu>
18131
18132 * progmodes/python.el (python-mode): Derive from prog-mode.
18133 * progmodes/ps-mode.el (ps-mode):
18134 * progmodes/mixal-mode.el (mixal-mode):
50328a1b 18135 * progmodes/cfengine.el (cfengine-mode):
c5cde042
DN
18136 * progmodes/ld-script.el (ld-script-mode): Likewise.
18137
baa1c9ab
MR
181382011-06-15 Martin Rudalics <rudalics@gmx.at>
18139
18140 * window.el (display-buffer-alist): Trim default value to avoid
18141 popping up a new frame (Bug#8857) or reusing an arbitrary window
18142 on another frame.
18143 (display-buffer): Do not fall back on popping up a new frame in
18144 batch mode (Bug#8857).
18145
c5dd5a51
CY
181462011-06-14 Chong Yidong <cyd@stupidchicken.com>
18147
18148 * cus-theme.el (describe-theme-1): Use custom-theme-p.
18149 (custom-theme-summary): New function.
18150 (customize-themes): Use it.
18151
d647b7c4
GM
181522011-06-13 Glenn Morris <rgm@gnu.org>
18153
18154 * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
18155
9481c002
MR
181562011-06-13 Martin Rudalics <rudalics@gmx.at>
18157
357f93d2
MR
18158 * help.el (help-window): Remove variable.
18159 (help-window-point-marker, temp-buffer-max-height)
18160 (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
18161 (help-print-return-message): Don't set help-window.
18162 (resize-temp-buffer-window): Rewrite cod eand doc-string.
18163 (help-window-setup-finish): Remove.
18164 (help-window-display-message, help-window-setup)
18165 (with-help-window): Major rewrite based on new
18166 display-buffer-window variable.
18167
18168 * help-mode.el (help-mode-finish): Remove help-window related
18169 code.
18170
18171 * view.el (view-exits-all-viewing-windows): Remove reference to
18172 view-return-to-alist in doc-string.
18173 (view-return-to-alist): Make obsolete.
18174 (view-buffer): Call pop-to-buffer-same-window and remove
18175 undo-window code.
18176 (view-buffer-other-window): Call pop-to-buffer-other-window and
18177 simplify code. Ignore second argument.
18178 (view-buffer-other-frame): Call pop-to-buffer-other-frame and
18179 simplify code. Ignore second argument.
18180 (view-return-to-alist-update): Make obsolete.
18181 (view-mode-enter): Rename second argument to QUIT-RESTORE.
18182 Rewrite using quit-restore window parameters.
2b75be67
SM
18183 (view-mode-exit): Rename second argument to EXIT-ONLY.
18184 Rewrite using quit-restore-window.
357f93d2
MR
18185 (View-exit, View-exit-and-edit, View-leave, View-quit)
18186 (View-quit-all, View-kill-and-leave): Call view-mode-exit with
18187 appropriate arguments.
18188 (view-end-message): Use quit-restore window parameter.
18189
9481c002
MR
18190 * window.el (display-buffer-function): Rewrite doc-string.
18191 (display-buffer-window, display-buffer-alist): New variables.
18192 (display-buffer-split-specifiers)
18193 (display-buffer-side-specifiers)
18194 (display-buffer-macro-specifiers): New constants.
18195 (display-buffer-even-window-sizes, display-buffer-set-height)
18196 (display-buffer-set-width, display-buffer-select-window)
18197 (display-buffer-in-window, display-buffer-reuse-window)
18198 (display-buffer-split-window-1, display-buffer-split-window)
18199 (display-buffer-split-atom-window, display-buffer-pop-up-window)
18200 (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
18201 (display-buffer-in-side-window, normalize-buffer-to-display)
18202 (display-buffer-normalize-specifiers-1)
18203 (display-buffer-normalize-specifiers-2)
2b75be67
SM
18204 (display-buffer-normalize-specifiers, display-buffer-frame):
18205 New functions.
9481c002
MR
18206 (display-buffer): Major rewrite.
18207 (display-buffer-other-window, display-buffer-other-frame)
18208 (pop-to-buffer, switch-to-buffer-other-window)
18209 (switch-to-buffer-other-frame): Rewrite.
18210 (display-buffer-same-window, display-buffer-same-frame)
18211 (display-buffer-same-frame-other-window)
18212 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
18213 (pop-to-buffer-other-window)
18214 (pop-to-buffer-same-frame-other-window)
18215 (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
18216 (switch-to-buffer-other-window-same-frame): New functions.
18217 (same-window-p, special-display-p): Rewrite disabling warnings.
18218 Make obsolete.
18219 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
18220 (display-buffer-mark-dedicated): Initialize to symbol 'unset.
18221 Make obsolete
18222 (same-window-buffer-names, same-window-regexps)
18223 (special-display-frame-alist, special-display-popup-frame)
18224 (special-display-function, special-display-buffer-names)
18225 (special-display-regexps, pop-up-frame-alist)
18226 (pop-up-frame-function, split-window-preferred-function)
18227 (split-height-threshold, split-width-threshold)
18228 (even-window-heights): Make obsolete.
18229
9db51aca
GM
182302011-06-12 Glenn Morris <rgm@gnu.org>
18231
18232 * term/xterm.el (terminal-init-xterm): `version' may be nil. (Bug#8838)
7cb363eb 18233 Misc simplifications.
9db51aca 18234
39cffb44
MR
182352011-06-12 Martin Rudalics <rudalics@gmx.at>
18236
18237 * window.el (window-safely-shrinkable-p): Restore function which
18238 was inadvertently removed in change from 2011-06-11. Declare as
18239 obsolete.
18240
2b75be67
SM
18241 * calendar/calendar.el (calendar-generate-window):
18242 Use window-iso-combined-p instead of combination of one-window-p and
39cffb44
MR
18243 window-safely-shrinkable-p.
18244
a8955be7
GM
182452011-06-12 Glenn Morris <rgm@gnu.org>
18246
18247 * progmodes/fortran.el (fortran-mode-syntax-table):
18248 * progmodes/f90.el (f90-mode-syntax-table):
18249 Set % to punctuation. (Bug#8820)
18250 (f90-find-tag-default): Remove, no longer needed.
18251
f0d4059d
DC
182522011-06-12 Daniel Colascione <dan.colascione@gmail.com>
18253
18254 * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
18255
1100a63c
CY
182562011-06-11 Chong Yidong <cyd@stupidchicken.com>
18257
18258 * image.el (image-animated-p): Return animation delay in seconds.
18259 Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
18260 (image-animate-timeout): Remove DELAY argument. Don't assume
18261 every subimage has the same delay; get it from image-animated-p.
18262 (image-animate): Caller changed.
18263
def722bf
MA
182642011-06-11 Michael Albinus <michael.albinus@gmx.de>
18265
18266 * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
18267 to ignored backtrace functions.
18268
0a2bb1a9
GM
182692011-06-11 Glenn Morris <rgm@gnu.org>
18270
18271 * calendar/appt.el (appt-disp-window-function): Doc fix.
18272 (appt-check): Handle overlapping appointments. (Bug#8337)
18273
6198ccd0
MR
182742011-06-11 Martin Rudalics <rudalics@gmx.at>
18275
18276 * window.el (window-tree-1, window-tree): New functions, moving
18277 the latter to window.el.
18278 (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
18279 (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
18280 (bw-refresh-edges): Remove.
18281 (balance-windows-1, balance-windows-2): New functions.
18282 (balance-windows): Rewrite in terms of window tree functions,
18283 balance-windows-1 and balance-windows-2.
18284 (bw-adjust-window): Remove.
18285 (balance-windows-area-adjust): New function with functionality of
18286 bw-adjust-window but using resize-window.
2b75be67
SM
18287 (set-window-text-height): Rewrite doc-string.
18288 Use normalize-live-window and resize-window.
18289 (enlarge-window-horizontally, shrink-window-horizontally):
18290 Rename argument to DELTA.
6198ccd0
MR
18291 (window-buffer-height): New function.
18292 (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
18293 Rewrite using new window resize routines.
2b75be67
SM
18294 (kill-buffer-and-window, mouse-autoselect-window-select):
18295 Use ignore-errors instead of condition-case.
6198ccd0
MR
18296 (quit-window): Call delete-frame instead of delete-windows-on
18297 for the only buffer on frame.
18298
9397e56f
MR
182992011-06-10 Martin Rudalics <rudalics@gmx.at>
18300
18301 * loadup.el (top-level): Load window before files for the sake
18302 of replace-buffer-in-windows.
18303
18304 * files.el (read-buffer-to-switch)
18305 (switch-to-buffer-other-window)
2b75be67
SM
18306 (switch-to-buffer-other-frame, display-buffer-other-frame):
18307 Move to window.el.
9397e56f
MR
18308
18309 * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
18310 (previous-buffer): Move to window.el.
18311
18312 * bindings.el (unbury-buffer): Move to window.el.
18313
18314 * window.el (delete-other-windows-vertically): Move after
18315 definition of delete-other-windows.
18316 (other-window, delete-windows-on, replace-buffer-in-windows):
18317 Move here from window.c.
18318 (record-window-buffer, unrecord-window-buffer)
18319 (set-window-buffer-start-and-point, switch-to-prev-buffer)
18320 (switch-to-next-buffer): New functions.
18321 (get-next-valid-buffer, last-buffer, next-buffer): Move here
18322 from simple.el. Call switch-to-next-buffer.
2b75be67
SM
18323 (previous-buffer): Move here from simple.el.
18324 Call switch-to-prev-buffer.
9397e56f
MR
18325 (bury-buffer): Move here from buffer.c. Switch to previous
18326 buffer when window cannot be deleted.
18327 (unbury-buffer): Move here from bindings.el.
18328 (ctl-x-map): Move binding for other-window from window.c to
18329 here.
18330 (read-buffer-to-switch, switch-to-buffer-other-window)
18331 (switch-to-buffer-other-frame): Move here from files.el.
18332 (normalize-buffer-to-switch-to): New functions.
2b75be67
SM
18333 (switch-to-buffer): Move here from buffer.c.
18334 Use read-buffer-to-switch and normalize-buffer-to-switch-to.
9397e56f 18335
562dd5e9
MR
183362011-06-10 Martin Rudalics <rudalics@gmx.at>
18337
18338 * window.el (window-min-height, window-min-width): Move here
18339 from window.c. Add defcustoms and rewrite doc-strings.
18340 (resize-mini-window, resize-window): New functions.
18341 (adjust-window-trailing-edge, enlarge-window, shrink-window):
18342 Move here from window.c.
18343 (maximize-window, minimize-window): New functions.
18344 (delete-window, delete-other-windows, split-window): Move here
18345 from window.c.
18346 (window-split-min-size): New function.
18347 (split-window-keep-point): Mention split-window-above-each-other
18348 instead of split-window-vertically.
2b75be67 18349 (split-window-above-each-other, split-window-vertically):
1154d12e
JB
18350 Rename split-window-vertically to split-window-above-each-other
18351 and provide defalias for old definition.
18352 (split-window-side-by-side, split-window-horizontally):
18353 Rename split-window-horizontally to split-window-side-by-side
18354 and provide defalias for the old definition.
562dd5e9
MR
18355 (ctl-x-map): Move bindings for delete-window,
18356 delete-other-windows and enlarge-window here from window.c.
18357 Replace bindings for split-window-vertically and
18358 split-window-horizontally by bindings for
18359 split-window-above-each-other and split-window-side-by-side.
18360
18361 * cus-start.el (all): Remove entries for window-min-height and
18362 window-min-width. Add entries for window-splits and
18363 window-nest.
18364
f0da764a
GM
183652011-06-09 Glenn Morris <rgm@gnu.org>
18366
80675c21
GM
18367 * calendar/appt.el (appt-mode-line): New function.
18368 (appt-check, appt-disp-window): Use it.
18369
f0da764a
GM
18370 * files.el (hack-one-local-variable-eval-safep):
18371 Allow minor-modes with explicit +/-1 arguments.
18372
59f623b7
TZ
183732011-06-09 Teodor Zlatanov <tzz@lifelogs.com>
18374
18375 * term/xterm.el (xterm): Add defgroup.
18376 (xterm-extra-capabilities): Add defcustom to supply known xterm
18377 capabilities, skip querying them, or query them (default).
18378 (terminal-init-xterm): Use it.
18379 (terminal-init-xterm-modify-other-keys): New function to set up
18380 modifyOtherKeys support to simplify `terminal-init-xterm'.
18381
9aab8e0d
MR
183822011-06-09 Martin Rudalics <rudalics@gmx.at>
18383
18384 * window.el (resize-window-reset, resize-window-reset-1)
18385 (resize-subwindows-skip-p, resize-subwindows-normal)
18386 (resize-subwindows, resize-other-windows, resize-this-window)
18387 (resize-root-window, resize-root-window-vertically)
18388 (window-deletable-p, window-or-subwindow-p)
18389 (frame-root-window-p): New functions.
18390
e8b08aee
GM
183912011-06-09 Glenn Morris <rgm@gnu.org>
18392
18393 * net/ange-ftp.el (ange-ftp-switches-ok): New function.
18394 (ange-ftp-get-files): Use it.
18395
254c37a5
AK
183962011-06-09 Alexander Klimov <alserkli@inbox.ru> (tiny change)
18397
18398 * mail/sendmail.el (mail-recover-1, mail-recover):
18399 * files.el (recover-file, recover-session):
18400 Handle dired-listing-switches not being just a single short option.
18401
35d7dbd3
GM
184022011-06-09 Glenn Morris <rgm@gnu.org>
18403
18404 * calendar/appt.el (appt-display-message, appt-disp-window):
18405 Handle lists of appointments.
18406
387522b2
MR
184072011-06-08 Martin Rudalics <rudalics@gmx.at>
18408
2b75be67
SM
18409 * window.el (one-window-p): Move down in code.
18410 Rewrite doc-string.
18411 (window-current-scroll-bars): Rewrite doc-string.
18412 Normalize live window argument.
387522b2
MR
18413 (walk-windows, get-window-with-predicate, count-windows):
18414 Rewrite doc-string. Use window-list-1.
18415 (window-in-direction-2, window-in-direction, get-mru-window):
18416 New functions.
18417
d8e4b68b 184182011-06-08 Reuben Thomas <rrt@sc3d.org>
2c587104
GM
18419
18420 * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
18421 Doc fix (Bug#8713).
18422
184232011-06-08 Chong Yidong <cyd@stupidchicken.com>
18424
18425 * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
18426
184272011-06-08 Juanma Barranquero <lekktu@gmail.com>
18428
18429 * loadhist.el (unload-feature-special-hooks):
18430 Add `comint-output-filter-functions'.
18431
0de12c52
IK
184322011-06-08 Ivan Kanis <gnu@kanis.fr>
18433
18434 * calendar/appt.el (appt-check): Move some initializations into the let.
18435
f3d1777e
MR
184362011-06-08 Martin Rudalics <rudalics@gmx.at>
18437
18438 * window.el (window-height): Defalias to window-total-height.
18439 (window-width): Defalias to window-body-width.
18440
18af70d0
CY
184412011-06-07 Chong Yidong <cyd@stupidchicken.com>
18442
18443 * image-mode.el (image-toggle-animation): New command.
18444 (image-mode-map): Bind it to RET.
18445 (image-mode): Update message.
18446 (image-toggle-display-image): Avoid a spurious cache flush.
18447 (image-transform-rotation): Doc fix.
18448 (image-transform-properties): Return quickly in the normal case.
18449 (image-animate-loop): Rename from image-animate-max-time.
18450
2b75be67 18451 * image.el (image-animate-max-time): Move to image-mode.el.
18af70d0
CY
18452 (create-animated-image): Remove unnecessary function.
18453 (image-animate): Rename from image-animate-start. New arg.
2b75be67 18454 (image-animate-stop): Remove; just use image-animate-timer.
18af70d0
CY
18455 (image-animate-timer): Use car-safe.
18456 (image-animate-timeout): Rename argument.
18457
190b47e6
MR
184582011-06-07 Martin Rudalics <rudalics@gmx.at>
18459
18460 * window.el (get-lru-window, get-largest-window): Move here from
2b75be67
SM
18461 window.c. Rename first argument to ALL-FRAMES.
18462 Rephrase doc-strings.
18463 (get-buffer-window-list): Rewrite using window-list-1.
18464 Rephrase doc-string.
a1511caf
MR
18465 (window-safe-min-height, window-safe-min-width): New constants.
18466 (window-size-ignore, window-min-size, window-min-size-1)
18467 (window-sizable, window-sizable-p, window-size-fixed-1)
18468 (window-size-fixed-p, window-min-delta-1, window-min-delta)
18469 (window-max-delta-1, window-max-delta, window-resizable)
18470 (window-resizable-p, window-total-height, window-total-width)
18471 (window-body-width): New functions.
18472 (window-full-height-p, window-full-width-p): Rewrite using
18473 window-total-size.
18474 (window-body-height): Rewrite using window-body-size.
190b47e6 18475
85cc1f11
MR
184762011-06-06 Martin Rudalics <rudalics@gmx.at>
18477
18478 * window.el (window-right, window-left, window-child)
18479 (window-child-count, window-last-child, window-any-p)
18480 (normalize-live-buffer, normalize-live-frame)
18481 (normalize-any-window, normalize-live-window)
18482 (window-iso-combination-p, window-iso-combined-p)
18483 (window-iso-combinations)
18484 (walk-window-tree-1, walk-window-tree, walk-window-subtree)
18485 (windows-with-parameter, window-with-parameter)
18486 (window-atom-root, make-window-atom, window-atom-check-1)
2b75be67
SM
18487 (window-atom-check, window-side-check, window-check):
18488 New functions.
85cc1f11
MR
18489 (ignore-window-parameters, window-sides, window-sides-vertical)
18490 (window-sides-slots): New variables.
18491 (window-size-fixed): Move down in code. Minor doc-string fix.
18492
e7156492
AS
184932011-06-05 Andreas Schwab <schwab@linux-m68k.org>
18494
18495 * comint.el (comint-dynamic-complete-as-filename)
18496 (comint-dynamic-complete-filename): Correctly call
18497 completion-in-region.
18498
7e821d0d
DD
184992011-06-05 Deniz Dogan <deniz@dogan.se>
18500
18501 * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
18502 in last change.
18503
ac09b8a1
DD
185042011-06-05 Deniz Dogan <deniz@dogan.se>
18505
18506 * net/rcirc.el (rcirc-prompt-for-encryption): New function.
18507 (rcirc): Use it to prompt for encryption.
18508
34699b85
RW
185092011-06-05 Roland Winkler <winkler@gnu.org>
18510
18511 * textmodes/bibtex.el (bibtex-search-buffer): New variable.
18512 (bibtex-search-entries): New command bound to C-c C-a.
18513 (bibtex-display-entries): New function.
18514
004dedd3
RW
185152011-06-05 Roland Winkler <winkler@gnu.org>
18516
18517 * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
18518 (bibtex-insert-kill): After yanking insert newline if necessary.
18519 (bibtex-initialize): Call bibtex-string-files-init only once.
18520 (bibtex-mode): Do not call easy-menu-add.
18521 (bibtex-validate-globally): Use save-excursion in bibtex buffers.
18522 (bibtex-yank): Set arg properly if nil.
18523
022fe7ce
RW
185242011-06-05 Roland Winkler <winkler@gnu.org>
18525
2b75be67
SM
18526 * textmodes/bibtex.el (bibtex-search-entry-globally):
18527 New variable.
022fe7ce
RW
18528 (bibtex-search-entry): Use it.
18529
b7c3692a
RW
185302011-06-05 Roland Winkler <winkler@gnu.org>
18531
18532 * textmodes/bibtex.el (bibtex-entry-format): New option
18533 sort-fields.
18534 (bibtex-format-entry, bibtex-reformat): Honor this option.
18535 (bibtex-parse-entry): Return fields in proper order.
18536
8eda563d
JB
185372011-06-05 Juanma Barranquero <lekktu@gmail.com>
18538
18539 * doc-view.el (doc-view-remove-if): Move computation of result out
18540 of `dolist' to silence misleading lexical-binding warning.
18541
7dbe3dbc
CY
185422011-06-04 Chong Yidong <cyd@stupidchicken.com>
18543
18544 * emacs-lisp/timer.el (timer-activate): Remove unused arg.
18545 (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
18546
0c33dd17
MA
185472011-06-04 Michael Albinus <michael.albinus@gmx.de>
18548
18549 * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
18550 "SunOS 5.10".
18551
f8f91c2b
MA
185522011-06-04 Michael Albinus <michael.albinus@gmx.de>
18553
18554 * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
18555 (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
18556 (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
18557 (tramp-parse-putty):
18558 * net/tramp-sh.el (tramp-completion-function-alist-rsh)
18559 (tramp-completion-function-alist-ssh)
18560 (tramp-completion-function-alist-telnet)
18561 (tramp-completion-function-alist-su)
18562 (tramp-completion-function-alist-putty): Set `tramp-autoload'
18563 cookie.
18564
18565 * net/tramp-ftp.el:
18566 * net/tramp-sh.el:
18567 * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
18568 load "tramp.el" `tramp-set-completion-function'.
18569
e17d9003
SM
185702011-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
18571
18572 * shell.el: Require and use pcomplete.
18573 (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
18574 (shell-completion-vars): Set pcomplete-default-completion-function.
18575
6c4cab03
DD
185762011-06-04 Deniz Dogan <deniz@dogan.se>
18577
18578 * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
18579 `memq' (Bug#8799).
18580
ea9fafe0
SM
185812011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
18582
18583 * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
18584
b3e945d3
JB
185852011-06-02 Juanma Barranquero <lekktu@gmail.com>
18586
18587 * bs.el (bs--mark-unmark, bs--nth-wrapper):
18588 * mpc.el (mpc-select-extend, mpc-songpointer-context):
18589 * vc/log-view.el (log-view-beginning-of-defun):
18590 * vc/smerge-mode.el (smerge-apply-resolution-patch)
18591 (smerge-refine-forward, smerge-refine-chopup-region):
18592 Silence warning for unused `dotimes' counter variables.
18593
7d520089
SM
185942011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
18595
18596 * net/tramp.el (tramp-with-progress-reporter): Rename from
18597 with-progress-reporter. Use `declare'.
18598 * net/tramp-smb.el:
18599 * net/tramp-sh.el:
18600 * net/tramp-gvfs.el: Update all uses.
18601
a1c2400f
JB
186022011-06-02 Jay Belanger <jay.p.belanger@gmail.com>
18603
18604 * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
18605 buffer isn't killed before making it current.
18606
2403c841
SM
186072011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
18608
18609 Silence various byte-compiler warnings.
18610 * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
18611 `access-type' and new obsolescence format.
18612 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
18613 new format.
18614 (byte-compile-check-variable): New `access-type' argument.
18615 Only warn if the access-type is obsolete.
18616 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
18617 (byte-compile-variable-set): Adjust callers.
18618 * help-fns.el (describe-variable): Adjust to new obsolescence format.
18619 * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
18620 setting it as obsolete.
18621 * simple.el (minibuffer-completing-symbol):
18622 * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
18623 access as obsolete.
18624 * minibuffer.el (minibuffer-completing-file-name): Don't make it
18625 obsolete yet.
18626 * international/quail.el (quail-mouse-choose-completion): Remove unused
18627 code referring to obsolete var.
18628 (quail-choose-completion-string): Remove.
18629 * server.el (server-clients-with, server-kill-buffer-query-function)
18630 (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
18631 * proced.el (proced-send-signal):
18632 * emacs-lisp/lisp.el (lisp-complete-symbol):
18633 Replace completion-annotate-function with completion-extra-properties.
18634
2462470b
SM
186352011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
18636
fb5b2591
SM
18637 * simple.el (goto-line): Use read-number.
18638 (overriding-map-is-bound): Remove.
18639 (saved-overriding-map): Change default.
18640 (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
18641 Take the map as argument.
18642 (universal-argument, negative-argument, digit-argument): Use it.
18643 (restore-overriding-map): Adjust.
18644 (do-auto-fill): Use fill-forward-paragraph.
18645 (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
18646
fd6fa53f
SM
18647 * minibuffer.el (minibuffer-inactive-mode-map): New var.
18648 (minibuffer-inactive-mode): New major mode.
18649 * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
18650 the *Messages* buffer" hack.
18651 (mouse-popup-menubar): Don't burp if the event is a normal key.
18652
2462470b
SM
18653 Miscellaneous tweaks.
18654 * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
18655 lexical scoping as in subr.el's dolist and dotimes.
18656 * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
18657 Silence compiler warning.
18658 * thingatpt.el (forward-whitespace): Trivial coding style fix.
18659 * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
18660 * international/ccl.el (ccl-compile): Trivial simplification.
18661 * help-fns.el (help-do-arg-highlight): Silence compiler warning.
18662 * emacs-lisp/testcover.el (testcover-end): Remove spurious
18663 `printflag' argument.
18664 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
18665 Purecopy the whole obsolescence data.
18666
108bf785
LL
186672011-06-01 Leo Liu <sdl.web@gmail.com>
18668
18669 * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
18670 improve doc-string as suggested by Marco Pessotto
18671 <melmothx@gmail.com>.
18672 (rcirc-print): Fix last change.
18673
30a23501
SM
186742011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
18675
18676 * minibuffer.el (complete-with-action): Return nil for the metadata and
18677 boundaries of non-functional tables.
18678 (completion-table-dynamic): Return nil for the metadata.
18679 (completion-table-with-terminator): Add default case, using
18680 complete-with-action.
18681 (completion--metadata): New function.
18682 (completion-all-sorted-completions, minibuffer-completion-help): Use it
18683 to try and avoid pathological performance problems.
18684 (completion--embedded-envvar-table): Return `category' metadata.
18685
bcd54f83
LMI
186862011-05-31 Lars Magne Ingebrigtsen <larsi@gnus.org>
18687
18688 * subr.el (process-alive-p): New tiny convenience function.
18689
e227544d
SM
186902011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
18691
18692 * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
18693 content but also its previous major mode.
18694
e8296fdc
HE
186952011-05-31 Helmut Eller <eller.helmut@gmail.com>
18696
4d61f28d 18697 * emacs-lisp/debug.el (debug): Restore the previous content of the
e8296fdc
HE
18698 *Backtrace* buffer when we exit with C-M-c.
18699
620c53a6
SM
187002011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
18701
18702 * minibuffer.el: Add metadata method to completion tables.
18703 (completion-category-overrides): New defcustom.
18704 (completion-metadata, completion--field-metadata)
18705 (completion-metadata-get, completion--styles)
18706 (completion--cycle-threshold): New functions.
18707 (completion-try-completion, completion-all-completions):
18708 Add `metadata' argument to choose completion-styles.
18709 (completion--do-completion): Use metadata to choose cycling.
18710 (completion-all-sorted-completions): Use metadata for sorting.
18711 Remove :completion-cycle-penalty which is not needed any more.
18712 (completion--try-word-completion): Add `metadata' argument.
18713 (minibuffer-completion-help): Check metadata for annotation function
18714 and sorting.
18715 (completion-file-name-table): Return `category' metadata.
18716 (minibuffer-completing-file-name): Make obsolete.
18717 * simple.el (minibuffer-completing-symbol): Make obsolete.
18718 * icomplete.el (icomplete-completions): Pass new `metadata' param to
18719 completion-try-completion.
18720
1257e755
SM
187212011-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
18722
18723 * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
18724
3767e706
LL
187252011-05-30 Leo Liu <sdl.web@gmail.com>
18726
18727 * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
5ab33f2b
LL
18728 (rcirc-print): Decode all incoming messages (bug#8744).
18729 (rcirc-decode-coding-system): Allow value nil for automatic coding
18730 system detection.
3767e706 18731
d1a5d56a
GM
187322011-06-01 Glenn Morris <rgm@gnu.org>
18733
18734 * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
18735
e8cbec34
CY
187362011-05-29 Chong Yidong <cyd@stupidchicken.com>
18737
18738 * image.el (image-animate-max-time): Allow nil and t values.
18739 Default to nil.
18740 (create-animated-image): Doc fix.
18741 (image-animate-start): Remove second arg; just use
18742 image-animate-max-time.
18743 (image-animate-timeout): Doc fix. Args changed.
18744
18745 * image-mode.el (image-toggle-display-image): Ensure that the
18746 image spec passed to the animate timer is the same object as in
58179cce 18747 the buffer's display property (Bug#6981).
e8cbec34
CY
18748 (image-transform-properties): Doc fix.
18749
18750 * image.el (image-animate-max-time): Default to nil.
18751
159daf87
MR
187522011-05-29 Martin Rudalics <rudalics@gmx.at>
18753
18754 * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
18755 entire buffer list (Bug#8184).
18756
d66c4c7c
CY
187572011-05-29 Chong Yidong <cyd@stupidchicken.com>
18758
18759 * image.el (imagemagick-types-inhibit)
18760 (imagemagick-register-types): Doc fix.
18761
80aec780
DD
187622011-05-29 Deniz Dogan <deniz@dogan.se>
18763
18764 * net/rcirc.el (rcirc): Use the user's stored encryption method by
18765 default.
18766
1dd3c2d9
CY
187672011-05-29 Chong Yidong <cyd@stupidchicken.com>
18768
18769 * select.el: Don't perform clipboard-manager saving in hooks;
18770 leave the hooks empty.
18771
60e56523
LL
187722011-05-28 Leo Liu <sdl.web@gmail.com>
18773
18774 * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
18775 (occur-mode-map): Bind occur-edit-mode. Use occur-menu-map.
18776 (occur-edit-mode): New major mode (Bug#8463).
18777 (occur-after-change-function): New function.
18778 (occur-engine): Give Occur tags a read-only property.
18779
2b1e1a22
KR
187802011-05-28 Kevin Ryde <user42@zip.com.au>
18781
18782 * subr.el (def-edebug-spec): Doc fix (Bug#8430).
18783
5d344e88
CY
187842011-05-28 Chong Yidong <cyd@stupidchicken.com>
18785
8e6ca83d
CY
18786 * bindings.el (help-echo): Make the initial non-indicator dash
18787 empty on graphical terminals (Bug#7295).
18788
5d344e88
CY
18789 * files.el (auto-mode-alist): Move config rule after the
18790 in-stripping one (Bug#8547).
18791
bfbbace7
CY
18792 * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
18793
fbeba6e2
CY
18794 * startup.el (normal-splash-screen): Remove gratuitous mode-line
18795 setting (Bug#8740).
18796
60ed8c72
AA
187972011-05-28 Alp Aker <aker@pitt.edu> (tiny change)
18798
4ac619f0
AA
18799 * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
18800 (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
18801 (Bug#8539).
60ed8c72 18802
23db196e
CY
188032011-05-28 Chong Yidong <cyd@stupidchicken.com>
18804
18805 * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
18806
5012f24c
DK
188072011-05-28 Dima Kogan <dkogan@cds.caltech.edu> (tiny change)
18808
18809 * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
18810 (hs-hide-block-at-point, hs-find-block-beginning)
18811 (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
18812 (Bug#8279).
18813
6a639b16
GM
188142011-05-28 Glenn Morris <rgm@gnu.org>
18815
18816 * startup.el (fancy-about-screen): Use standard mode line. (Bug#8740)
18817
d43eaf2c
CY
188182011-05-28 Chong Yidong <cyd@stupidchicken.com>
18819
5199bde1
CY
18820 * help-fns.el (describe-function-1): If the function is a derived
18821 major mode, print the parent mode.
18822
d43eaf2c
CY
18823 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
18824 (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
18825
423428a8
SM
188262011-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
18827
0ff8e1ba 18828 * minibuffer.el (completion--capf-wrapper): Check applicability before
0b381c7e 18829 returning non-nil for non-exclusive completion data.
0ff8e1ba
SM
18830 * progmodes/etags.el (tags-completion-at-point-function):
18831 * info-look.el (info-lookup-completions-at-point): Mark as
18832 non-exclusive.
18833 (info-complete): Adjust accordingly.
18834
423428a8
SM
18835 * info-look.el: Convert to lexical-binding and completion-at-point.
18836 (info-lookup-completions-at-point): New function.
18837 (info-complete): Use it and completion-in-region.
18838
b74aa22b
DA
188392011-05-28 Drew Adams <drew.adams@oracle.com>
18840
18841 * isearch.el: Let M-e start with point at the first mismatched char.
18842 (isearch-fail-pos): New function.
18843 (isearch-edit-string): Use it.
18844
66e2e71d
DK
188452011-05-28 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
18846
18847 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
18848
b1890b0f 188492011-05-27 Toby Cubitt <toby-predictive@dr-qubit.org>
eb95d01d
TC
18850
18851 * emacs-lisp/avl-tree.el: New avl-tree-stack datatype. Add new
18852 traversal functions for avl-trees.
18853 (avl-tree--stack): New struct.
18854 (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
18855 (avl-tree-enter): Add optional `updatefun' arg.
93a1c12a
TC
18856 (avl-tree--do-enter): Add optional `updatefun' arg.
18857 Change return value.
eb95d01d 18858 (avl-tree-delete): Add optional `test' and `nilflag' args.
93a1c12a
TC
18859 (avl-tree--do-delete): Add `test' and `nilflag' args.
18860 Change return value.
eb95d01d
TC
18861 (avl-tree-member): Add optional `nilflag'
18862 (avl-tree-member-p): New function.
18863 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
18864 (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
18865 (avl-tree-stack-empty-p): New functions.
18866
3769ddcf
TC
18867 * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
18868 avl-tree--del-balance1 and make it work both ways.
18869 (avl-tree--del-balance2): Remove.
18870 (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
18871 make it work both ways.
18872 (avl-tree--enter-balance2): Remove.
18873 (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
18874 New macros.
18875 (avl-tree--mapc, avl-tree-map): Add direction argument.
18876
eb95d01d 188772011-05-27 David Michael <fedora.dm0@gmail.com> (tiny change)
7a6b1aef
DM
18878
18879 * files.el (interpreter-mode-alist): Add rbash (bug#8745).
18880
a9f737ee
CY
188812011-05-27 Chong Yidong <cyd@stupidchicken.com>
18882
18883 * select.el: Support clipboard managers with built-in function
18884 x-clipboard-manager-save, via delete-frame-functions and
18885 kill-emacs-hook.
18886 (xselect-convert-to-targets): Add MULTIPLE target to list.
18887 (xselect-convert-to-save-targets): New function.
18888
c92a1e54
KH
188892011-05-27 Kenichi Handa <handa@m17n.org>
18890
18891 * mail/sendmail.el (mail-encode-header): Avoid double encoding by
18892 let-binding rfc2047-encode-encoded-words to nil.
18893
e145f188
GM
188942011-05-27 Glenn Morris <rgm@gnu.org>
18895
5ec8a862
GM
18896 * mail/emacsbug.el: Don't require url-util.
18897
4b29d9fb
GM
18898 * shell.el (shell-directory-tracker): Case matters. (Bug#8735)
18899
e145f188
GM
18900 * files.el (set-auto-mode):
18901 Also respect mode: entries at the end of the file. (Bug#8586)
18902
7d15102b
GM
189032011-05-26 Glenn Morris <rgm@gnu.org>
18904
98f593b8
GM
18905 * files.el (hack-local-variables-prop-line, hack-local-variables):
18906 Downcase mode names, as seems to be traditional.
27b48e63 18907 (hack-local-variables, hack-local-variables-apply): Doc fixes.
98f593b8 18908
7d15102b
GM
18909 * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
18910 (report-emacs-bug-hook): Try to validate the From address. (Bug#8038)
18911
51d5b4ec
JD
189122011-05-25 Julien Danjou <julien@danjou.info>
18913
18914 * textmodes/rst.el (rst-define-level-faces): Do not define face
18915 symbol if it is already defined.
18916
91513f63
VB
189172011-05-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
18918
18919 * play/5x5.el (5x5-new-game, 5x5-randomize):
18920 Reset 5x5-solver-output to nil when a new grid is cast.
18921 (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
18922 these debugging traces, as defmacro breaks the compiled code.
18923
4d90d6d0
DK
189242011-05-24 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
18925
18926 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
18927
e1b90ef6
LL
189282011-05-24 Leo Liu <sdl.web@gmail.com>
18929
18930 * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
18931 (vc-bzr-sha1): Adapt.
18932
d8e4b68b 18933 * sha1.el: Remove. Function `sha1' is now builtin.
e1b90ef6
LL
18934
18935 * bindings.el: Provide sha1 feature.
18936
db0406bb 189372011-05-24 Kenichi Handa <handa@m17n.org>
b8d747b9
KH
18938
18939 * mail/sendmail.el: Require `rfc2047'.
18940 (mail-insert-from-field): Do not perform RFC2047 encoding.
18941 (mail-encode-header): New function.
18942 (sendmail-send-it): Set buffer-file-coding-system of the work
4d90d6d0
DK
18943 buffer to the return value of select-message-coding-system.
18944 Call mail-encode-header.
b8d747b9
KH
18945
18946 * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
18947
db0406bb 189482011-05-24 Sean Neakums <sneakums@zork.net> (tiny change)
7261f6ce 18949
4d90d6d0
DK
18950 * mail/supercite.el (sc-default-cite-frame):
18951 Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
7261f6ce 18952
eb8a5e9b
GM
189532011-05-24 Glenn Morris <rgm@gnu.org>
18954
f8630703
GM
18955 * progmodes/python.el (brm-menu): Declare.
18956
8831bbed
GM
18957 * emulation/viper.el (viper-set-hooks): Declare.
18958
eb8a5e9b
GM
18959 * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
18960 (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
18961 (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
18962 (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
18963 (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
18964 (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
18965
a2a25d24
SM
189662011-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
18967
18968 Add an :exit-function for completion-at-point.
18969
18970 * minibuffer.el (completion--done): New fun.
18971 (completion--do-completion): Use it. New arg `expect-exact'.
18972 (minibuffer-complete, minibuffer-complete-word): Don't output message,
18973 since completion--do-completion does it for us now.
18974 (minibuffer-force-complete): Use completion--done and
18975 completion--replace. Handle sole-completion case with more care.
18976 (minibuffer-complete-and-exit): Use new `expect-exact' arg.
18977 (completion-extra-properties): New var.
18978 (completion-annotate-function): Make obsolete.
18979 (minibuffer-completion-help): Adjust accordingly.
18980 Use completion-list-insert-choice-function.
18981 (completion-at-point, completion-help-at-point):
18982 Bind completion-extra-properties.
18983 (completion-pcm-word-delimiters): Add | (for uniquify, for example).
18984 * simple.el (completion-list-insert-choice-function): New var.
18985 (completion-setup-function): Preserve it.
18986 (choose-completion): Pay attention to it, shuffle the code a bit.
18987 (choose-completion-string): New arg `insert-function'.
18988
18989 * textmodes/bibtex.el: Convert to lexical binding.
18990 (bibtex-mode-map): Use completion-at-point.
18991 (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
18992 (bibtex-completion-at-point-function): New fun, from bibtex-complete.
18993 (bibtex-complete): Define as obsolete alias.
18994 (bibtex-complete-internal): Remove.
18995 (bibtex-format-entry): Remove unused sub-group in regexp.
18996 * shell.el (shell--command-completion-data)
18997 (shell-environment-variable-completion):
18998 * pcomplete.el (pcomplete-completions-at-point):
18999 * comint.el (comint--complete-file-name-data): Use :exit-function
19000 instead of completion-table-with-terminator so it also works for
19001 choose-completion.
19002
e44e373d
SM
190032011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
19004
4f91a816
SM
19005 * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
19006
782fc819
SM
19007 * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
19008 (bug#8710).
19009
e44e373d
SM
19010 * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
19011
381987c3
KM
190122011-05-23 Ken Manheimer <ken.manheimer@gmail.com>
19013
19014 * allout.el (allout-inhibit-auto-fill-on-headline): Create new
19015 customization variable and implement: If non-nil, auto-fill will
19016 be inhibited while on topic's header line.
19017
b776bc70
VB
190182011-05-23 Vincent Belaïche <vincentb1@users.sourceforge.net>
19019
19020 * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
d8e4b68b 19021 click on. II/ Make 5x5 multisession. III/ Ensure that random grids
b776bc70
VB
19022 always have a solution in grid size = 5 cases.
19023 (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
19024 (5x5-solver-output, 5x5-log-buffer): New vars.
19025 (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
19026 Make these variables buffer local to achieve 5x5 multi-session-ness.
19027 (5x5): Set 5x5-grid-size only if SIZE is non-negative.
19028 (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
19029 (5x5-solve-suggest): New funs.
19030 (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
19031 randomize a grid so that we ensure that there is always a solution.
19032 (5x5-make-random-grid): Allow other movement than flipping.
19033
7de88b6e
KR
190342011-05-23 Kevin Ryde <user42@zip.com.au>
19035
19036 * emacs-lisp/advice.el (ad-read-advised-function):
5a5fa834 19037 Use `function-called-at-point' as the default, if it has
7de88b6e
KR
19038 advice and passes PREDICATE.
19039
b1ef1257
SM
190402011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
19041
bbca48fe
SM
19042 * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
19043 byte-compile-lambda if it's actually a lambda.
19044
b1ef1257
SM
19045 * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
19046 Fix function quoting. Use backquote better.
19047
92a9cc65
YS
190482011-05-22 Yuanle Song <sylecn@gmail.com>
19049
19050 * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
19051 matching (Bug#8516).
19052
f0fb8059
JA
190532011-01-22 Jari Aalto <jari.aalto@cante.net>
19054
19055 * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
19056 different face (Bug#8178).
19057
d5b44c93
CY
190582011-05-22 Chong Yidong <cyd@stupidchicken.com>
19059
19060 * vc/diff-mode.el (diff-changed): Don't use terminal specs for
19061 defface (Bug#8144).
19062
79106a44
SM
190632011-05-22 Stefan Monnier <monnier@iro.umontreal.ca>
19064
9c848d8a
SM
19065 * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
19066 funcall as well (bug#8712). Warn when performing those conversions.
19067 * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
19068
79106a44
SM
19069 * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
19070
88dfa756
GM
190712011-05-22 Glenn Morris <rgm@gnu.org>
19072
19073 * files.el (hack-local-variables-prop-line): Small simplifications.
19074 (hack-local-variables, hack-local-variables-prop-line):
19075 If MODE-ONLY, return the mode, rather than just `t'.
19076
b7cf2c79
SM
190772011-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
19078
19079 * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
19080
3f1a8558
GM
190812011-05-21 Glenn Morris <rgm@gnu.org>
19082
7e4ccca3
GM
19083 * files.el (hack-local-variables-prop-line, hack-local-variables):
19084 If only interested in the mode, don't bother doing the other stuff.
19085
637d46ca
GM
19086 * image-mode.el (image-after-revert-hook):
19087 Redraw all frames on which the image is visible. (Bug#8567)
19088
973d955b
GM
19089 * dired-aux.el (dired-touch-initial): Just use current-time. (Bug#6887)
19090
3f1a8558
GM
19091 * wid-edit.el (widget-checklist-match-inline):
19092 Fix 2011-04-19 change. (Bug#8649)
19093
96479927
SM
190942011-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
19095
1dcf791f
SM
19096 * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
19097 Also allow singlespace after single-letter capitals followed by a dot.
19098
96479927
SM
19099 * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
19100 enabled. Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
19101
35fd0881
N
191022011-05-20 Nix <nix@esperi.org.uk>
19103
19104 * files.el (basic-save-buffer-2):
19105 Fix handling of break-hardlink-on-save with non-existent files.
19106
82745640
DD
191072011-05-19 Deniz Dogan <deniz@dogan.se>
19108
19109 * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
9ff90d99 19110 (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
82745640 19111
4a720484
GM
191122011-05-19 Glenn Morris <rgm@gnu.org>
19113
d1f21341
GM
19114 * progmodes/f90.el (f90-type-def-re):
19115 Handle "type, bind(c)". (Bug#8691)
19116
4a720484
GM
19117 * emacs-lisp/autoload.el (batch-update-autoloads):
19118 Set autoload-excludes by parsing loadup.el rather than Makefiles.
19119
2fb0a219
MA
191202011-05-18 Michael Albinus <michael.albinus@gmx.de>
19121
19122 * net/tramp.el (tramp-process-actions): Set "first-password-request"
19123 property for the correct connection in case of multihops.
19124
e565dd37
GM
191252011-05-18 Glenn Morris <rgm@gnu.org>
19126
c2571358 19127 * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
c136e5cd
GM
19128 * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
19129
e565dd37
GM
19130 Rationalize calendar handling of day and month abbrev-arrays.
19131 * calendar/calendar.el (calendar-customized-p): New function.
19132 (calendar-abbrev-construct, calendar-make-alist): Change what it does.
19133 (calendar-day-name-array, calendar-month-name-array): Doc fix.
19134 Add :set function.
19135 (calendar-abbrev-length, calendar-day-abbrev-array)
19136 (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
19137 (calendar-day-abbrev-array, calendar-month-abbrev-array):
19138 Elements may no longer be nil.
19139 (calendar-day-name, calendar-month-name):
19140 Update for changed nature of abbrev arrays.
19141 * calendar/diary-lib.el (diary-name-pattern):
19142 Update for changed nature of abbrev arrays.
19143 (diary-mark-entries-1): Update calendar-make-alist calls.
19144 (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
19145 * calendar/cal-html.el (cal-html-day-abbrev-array):
19146 Simply inherit from calendar-day-abbrev-array.
19147
1d99a745
SM
191482011-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
19149
19150 * progmodes/grep.el (grep-mode): Disable default
19151 compilation-directory-matcher setting (bug#8684).
19152
7c1d9aa0
MA
191532011-05-17 Michael Albinus <michael.albinus@gmx.de>
19154
19155 * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
19156 instead of "head" and "tail". There were problems with SunOS 5.9,
19157 and it performs better.
19158
3952e9d8
GM
191592011-05-17 Glenn Morris <rgm@gnu.org>
19160
2dd12e7f
GM
19161 * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
19162
e4157b9c
GM
19163 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
19164 Replace obsolete function.
19165
8e249bbd
GM
19166 * shell.el (pcomplete-parse-arguments-function): Declare.
19167
3952e9d8
GM
19168 * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
19169 (appt-display-diary, appt-display-interval, appt-prev-comp-time)
19170 (appt-check): Doc fixes.
19171 (appt-disp-window-function, appt-delete-window-function):
19172 Remove needless special case in custom :type.
19173 (appt-display-count): Default to 0, not nil.
19174 (appt-check): Reset appt-display-count to 0, not nil.
19175
c71a0d48 191762011-05-17 Juanma Barranquero <lekktu@gmail.com>
165fd2df 19177
c71a0d48
GM
19178 * progmodes/python.el (python-font-lock-keywords):
19179 Add the Python 3.X keyword "nonlocal" (bug#8639).
165fd2df 19180
31d55be9
SM
191812011-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
19182
19183 * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
19184
3bfacb2f
KR
191852011-05-16 Kevin Ryde <user42@zip.com.au>
19186
19187 * info-look.el (makefile-automake-mode): New setups, looking in
19188 automake manual, then makefile-mode.
19189 (makefile-mode): Remove automake manual, have it just in
19190 makefile-automake-mode since there's various things different or
19191 not relevant to plain make.
19192 (makefile-mode): Remove "other-modes" non-existent automake-mode,
19193 believe a hypothetical automake-mode would go to makefile-mode,
19194 not the other way around.
19195
c8e83751
CY
191962011-05-15 Chong Yidong <cyd@stupidchicken.com>
19197
5e9e35cd
CY
19198 * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
19199 hunk-end tags (Bug#8672).
19200
c8e83751
CY
19201 * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
19202 vc-annotate-show-diff-revision-at-line (Bug#8671).
19203
50b23e5a
GM
192042011-05-14 Glenn Morris <rgm@gnu.org>
19205
7210a739
GM
19206 * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
19207 in the middle of an existing one with multiple authors. (Bug#8645)
375cb676
GM
19208 (change-log-font-lock-keywords): Also handle multiple author lines
19209 with leading tabs. (Bug#8644)
7210a739 19210
4691905a
GM
19211 * calendar/appt.el (appt-check): Rename some local variables.
19212 Some simplification/reordering.
19213
50b23e5a
GM
19214 * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
19215 (feedmail-sendmail-f-doesnt-sell-me-out)
19216 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
19217 (feedmail-debug-sit-for, feedmail-queue-express-hook)
19218 (feedmail-queue-runner-message-sender): Set :version.
1aa64307
GM
19219 (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
19220 (bbdb-dwim-net-address, vm-mail): Declare.
50b23e5a
GM
19221 (feedmail-binmail-gnulinuxish-template):
19222 Rename from feedmail-binmail-linuxish-template.
19223 (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
19224 Use insert-buffer-substring.
19225
215cda7c
BC
192262011-05-14 Bill Carpenter <bill@carpenter.org>
19227
19228 * mail/feedmail.el (feedmail-patch-level): Increase.
19229 (feedmail-debug): New custom group.
19230 (feedmail-confirm-outgoing-timeout)
19231 (feedmail-sendmail-f-doesnt-sell-me-out)
19232 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
19233 (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
19234 (feedmail-sender-line, feedmail-from-line)
19235 (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
c2571358 19236 (feedmail-spray-this-address)
215cda7c
BC
19237 (feedmail-spray-address-fiddle-plex-list)
19238 (feedmail-queue-use-send-time-for-date)
19239 (feedmail-queue-use-send-time-for-message-id)
19240 (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
19241 (feedmail-buffer-eating-function):
19242 Doc fixes.
19243 (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
19244 (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
19245 (feedmail-message-action-scroll-down): New functions.
19246 (feedmail-queue-directory, feedmail-queue-draft-directory):
19247 Use expand-file-name.
19248 (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
19249 Remove C-v help entry.
19250 (feedmail-queue-buffer-file-name): New variable.
19251 (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
19252 (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
19253 (feedmail-message-action-send-strong, feedmail-message-action-edit)
19254 (feedmail-message-action-draft, feedmail-message-action-draft-strong)
19255 (feedmail-message-action-queue, feedmail-message-action-queue-strong)
19256 (feedmail-message-action-toggle-spray)
19257 (feedmail-run-the-queue-no-prompts)
19258 (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
19259 (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
19260 (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
19261 (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
19262 (feedmail-envelope-deducer, feedmail-fiddle-from)
19263 (feedmail-fiddle-sender, feedmail-default-date-generator)
19264 (feedmail-fiddle-date, feedmail-fiddle-message-id)
19265 (feedmail-fiddle-spray-address)
19266 (feedmail-fiddle-list-of-spray-fiddle-plexes)
19267 (feedmail-fiddle-list-of-fiddle-plexes)
19268 (feedmail-fill-to-cc-function, feedmail-fill-this-one)
19269 (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
19270 (feedmail-queue-runner-message-sender, feedmail-binmail-template):
19271 Change default. Doc fix.
19272 (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
19273 (feedmail-binmail-linuxish-template): New constant.
19274 (feedmail-buffer-to-sendmail): Doc fix. Add debug call.
19275 Respect feedmail-sendmail-f-doesnt-sell-me-out.
19276 (feedmail-send-it): Add debug call.
19277 Use feedmail-queue-buffer-file-name, and
19278 feedmail-send-it-immediately-wrapper.
19279 (feedmail-message-action-send): Add debug call.
19280 Use feedmail-send-it-immediately-wrapper.
19281 (feedmail-queue-express-to-queue): Add debug call.
19282 Run feedmail-queue-express-hook.
19283 (feedmail-message-action-help): Add debug call. Use feedmail-p-h-b-n.
19284 (feedmail-message-action-help-blat):
19285 Rename from feedmail-queue-send-edit-prompt-help-first.
19286 (feedmail-run-the-queue): Add debug call. Set buffer-file-type.
19287 Check line-endings. Handle errors better.
19288 (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
19289 Doc fix. Add debug call.
19290 (feedmail-queue-send-edit-prompt): Doc fix. Add debug call.
19291 Use feedmail-queue-send-edit-prompt-inner.
19292 (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
19293 (feedmail-queue-send-edit-prompt-inner): New function, extracted
19294 from feedmail-queue-send-edit-prompt.
19295 (feedmail-queue-send-edit-prompt-help)
19296 (feedmail-queue-send-edit-prompt-help-later): Remove functions.
19297 (feedmail-tidy-up-slug): Add debug call.
19298 Respect feedmail-queue-slug-suspect-regexp.
19299 (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
19300 (feedmail-dump-message-to-queue): Add debug call.
19301 Expand queue-directory.
19302 (feedmail-dump-message-to-queue): Change message slightly.
19303 Use feedmail-say-chatter.
19304 (feedmail-rfc822-date): Add debug call. Bind system-time-locale.
19305 (feedmail-send-it-immediately-wrapper): New function.
19306 (feedmail-send-it-immediately): Add debug calls. Use let not let*.
19307 Insert empty string rather than newline. Handle full-frame case.
19308 Use catch/throw. Use feedmail-say-chatter.
19309 (feedmail-fiddle-from): Try mail-host-address.
19310 (feedmail-default-message-id-generator): Doc fix.
19311 Bind system-time-locale. Handle missing end.
19312 (feedmail-fiddle-x-mailer): Add debug call.
19313 Handle feedmail-x-mailer-line being nil.
19314 (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
19315 Add debug call. Use buffer-substring-no-properties.
19316 (feedmail-say-debug, feedmail-say-chatter): New functions.
19317 (feedmail-find-eoh): Give an explicit error.
19318
42c7e61e
UJ
193192011-05-13 Ulf Jasper <ulf.jasper@web.de>
19320
c2571358 19321 * net/newst-treeview.el (newsticker-treeview-face): Change default
42c7e61e 19322 family from helvetica to sans.
c2571358 19323 (newsticker-treeview-tool-bar-map): Move tool-bar icons to
42c7e61e
UJ
19324 etc/images/newsticker.
19325
c2571358 19326 * net/newst-reader.el (newsticker-feed-face): Change default
42c7e61e
UJ
19327 family from helvetica to sans.
19328
19329 * net/newst-plainview.el (newsticker-new-item-face)
19330 (newsticker-old-item-face, newsticker-immortal-item-face)
19331 (newsticker-obsolete-item-face, newsticker-date-face)
c2571358 19332 (newsticker-statistics-face): Change default family from
42c7e61e 19333 helvetica to sans.
c2571358 19334 (newsticker--plainview-tool-bar-map): Move tool-bar icons to
42c7e61e
UJ
19335 etc/images/newsticker.
19336
5d3385a0
JB
19337 * net/newst-backend.el (newsticker--do-run-auto-mark-filter)
19338 (newsticker--process-auto-mark-filter-match): Tell user about
42c7e61e
UJ
19339 auto-marking.
19340
8497a297
DV
193412011-05-13 Didier Verna <didier@xemacs.org>
19342
19343 Common Lisp indentation improvements on defmethod and lambda-lists.
4d61f28d
JB
19344 * emacs-lisp/cl-indent.el: Advertise the changes and remove obsolete
19345 TODO entries.
8497a297
DV
19346 (lisp-lambda-list-keyword-parameter-indentation)
19347 (lisp-lambda-list-keyword-parameter-alignment)
19348 (lisp-lambda-list-keyword-alignment): New customizable user options.
19349 (lisp-indent-defun-method): Improve docstring.
19350 (extended-loop-p): Fix comment.
19351 (lisp-indent-lambda-list-keywords-regexp): New variable.
19352 (lisp-indent-lambda-list): New function.
19353 (lisp-indent-259): Use it.
19354 (lisp-indent-defmethod): Support for more than one
19355 method qualifier and properly indent methods lambda-lists.
19356 (defgeneric): Provide a missing common-lisp-indent-function property.
19357
f278f87f
SM
193582011-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
19359
19360 * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
19361 bounds for the empty string (bug#8667).
19362
5233edd7
GM
193632011-05-13 Glenn Morris <rgm@gnu.org>
19364
5237a44f
GM
19365 * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
19366
8340026c 19367 * mail/sendmail.el (sendmail-program): Try executable-find first.
f278f87f 19368 (sendmail-send-it): `sendmail-program' cannot be unbound.
8340026c 19369
5233edd7 19370 * calendar/appt.el (appt-make-list): Simplify.
4accbca6 19371 (appt-time-msg-list): Doc fix.
a5464014 19372 (appt-check): Change mode-line message at the time of the appointment.
5233edd7 19373
92d10796
AS
193742011-05-12 Andreas Schwab <schwab@linux-m68k.org>
19375
19376 * progmodes/ld-script.el (ld-script-keywords)
19377 (ld-script-builtins): Update keywords list.
19378
914a0ae1
SM
193792011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
19380
c89be45f
SM
19381 * progmodes/grep.el (grep-filter): Don't trip on partial lines.
19382
914a0ae1
SM
19383 * shell.el (shell-completion-vars): New function.
19384 (shell-mode):
19385 * simple.el (read-shell-command): Use it.
19386 (blink-matching-open): No need for " [...]" in minibuffer-message.
19387
98dc3df3
GM
193882011-05-12 Glenn Morris <rgm@gnu.org>
19389
19390 * calendar/appt.el (appt-now-displayed): Remove pointless variable.
19391 (appt-check): Simplify.
19392
d2fc7e3d 193932011-05-12 Eli Zaretskii <eliz@gnu.org>
0e39ec21 19394
4d61f28d 19395 * vc/smerge-mode.el (smerge-resolve): Use null-device rather than a
0e39ec21
EZ
19396 literal "/dev/null".
19397
d2fc7e3d 193982011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
3f254caa
SM
19399
19400 * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
19401 Fix typo.
19402
d2fc7e3d 194032011-05-12 Ralph Schleicher <rs@ralph-schleicher.de>
6eea50c7 19404
3f254caa
SM
19405 * progmodes/which-func.el (which-function):
19406 Use add-log-current-defun instead of add-log-current-defun-function,
6eea50c7
RS
19407 which might not be defined (Bug#8260).
19408
d45885f7
GM
194092011-05-12 Glenn Morris <rgm@gnu.org>
19410
19411 * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
19412 Let byte-compile-initial-macro-environment always take precedence.
19413
488086f4
SM
194142011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
19415
19416 * net/rcirc.el: Add support for SSL/TLS connections.
19417 (rcirc-server-alist): New field `encryption'.
19418 (rcirc): Check `encryption' settings.
19419 (rcirc-connect): New arg `encryption'. Use open-network-stream.
19420 Merge make-local-variable into `set'.
19421 (rcirc--connection-open-p): New function.
19422 (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
19423 the process is not a network process (e.g. running gnutls-cli).
19424 (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
19425 Make rcirc-(en|de)code-coding-system local here.
19426 (rcirc-mode): Merge make-local-variable into `set'.
19427 (rcirc-parent-buffer): Make permanent buffer-local.
19428 (rcirc-multiline-minor-mode): Don't do it here.
19429 (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
19430 there's no server buffer.
19431
7d3b9d44
GM
194322011-05-11 Glenn Morris <rgm@gnu.org>
19433
f64049c6
GM
19434 * newcomment.el (comment-kill): Prefix "unused" local.
19435
93c9df73
GM
19436 * term/w32console.el (get-screen-color): Declare.
19437
7d3b9d44
GM
19438 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
19439 Handle symbol elements of byte-compile-initial-macro-environment.
19440
9e2dd53f
LL
194412011-05-10 Leo Liu <sdl.web@gmail.com>
19442
488086f4
SM
19443 * bookmark.el (bookmark-bmenu-mode-map):
19444 Bind bookmark-bmenu-search to `/'.
8b340240 19445
9e2dd53f 19446 * mail/footnote.el: Convert to utf-8 encoding.
b4044869
LL
19447 (footnote-unicode-string, footnote-unicode-regexp): New variable.
19448 (Footnote-unicode): New function.
19449 (footnote-style-alist): Add unicode style to the list.
19450 (footnote-style): Doc fix.
9e2dd53f 19451
79b70037
GM
194522011-05-10 Jim Meyering <meyering@redhat.com>
19453
19454 Fix doubled-word typos.
19455 * international/quail.el (quail-insert-kbd-layout): and and -> and
19456 * kermit.el: and and -> and
19457 * net/ldap.el (ldap-search-internal): to to -> to
19458 * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
19459 * progmodes/js.el (js-mode): and and -> and
19460 * textmodes/artist.el (artist-move-to-xy): at at -> at
19461 (artist-draw-region-trim-line-endings): if if -> if
19462 And Safetyc -> Safety.
19463 * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
19464
b8f82dc1 194652011-05-10 Glenn Morris <rgm@gnu.org>
f1a71c6e 19466 Stefan Monnier <monnier@iro.umontreal.ca>
b8f82dc1
GM
19467
19468 * files.el (hack-one-local-variable-eval-safep):
19469 Consider "eval: (foo-mode)" to be safe. (Bug#8613)
19470
4f99f44b
GM
194712011-05-10 Glenn Morris <rgm@gnu.org>
19472
19473 * calendar/diary-lib.el (diary-list-entries-hook)
19474 (diary-mark-entries-hook, diary-nongregorian-listing-hook)
19475 (diary-nongregorian-marking-hook, diary-list-entries)
19476 (diary-include-other-diary-files, diary-mark-entries)
19477 (diary-mark-included-diary-files): Doc fixes.
19478
84f29e6b
JB
194792011-05-09 Juanma Barranquero <lekktu@gmail.com>
19480
19481 * misc.el: Require tabulated-list.el during compilation.
19482
9bedd73a
CY
194832011-05-09 Chong Yidong <cyd@stupidchicken.com>
19484
488086f4
SM
19485 * progmodes/compile.el (compilation-start):
19486 Run compilation-filter-hook for the async case too.
9bedd73a
CY
19487 (compilation-filter-hook): Doc fix.
19488
797c735c
DD
194892011-05-09 Deniz Dogan <deniz@dogan.se>
19490
19491 * wdired.el: Remove outdated installation comment. Fix usage
19492 comment.
19493
5f4b1dfe
JB
194942011-05-09 Juanma Barranquero <lekktu@gmail.com>
19495
19496 * misc.el: Implement new command `list-dynamic-libraries'.
19497 (list-dynamic-libraries--loaded-only-p): New variable.
19498 (list-dynamic-libraries--refresh): New function.
19499 (list-dynamic-libraries): New command.
19500
4c44026c
CY
195012011-05-09 Chong Yidong <cyd@stupidchicken.com>
19502
488086f4
SM
19503 * progmodes/compile.el (compilation-error-regexp-alist-alist):
19504 Fix the ant regexp to handle end-line and end-column info from jikes.
4c44026c
CY
19505 Re-introduce maven regexp. Give the ruby-Test::Unit regexp a
19506 higher priority to avoid clobbering by gnu.
19507
027f966d
CY
195082011-05-08 Chong Yidong <cyd@stupidchicken.com>
19509
19510 * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
19511 if the face has existing theme settings (Bug#8454).
19512
085f5d7d
CY
195132011-05-08 Ralph Schleicher <rs@ralph-schleicher.de>
19514
488086f4
SM
19515 * progmodes/perl-mode.el (perl-imenu-generic-expression):
19516 Only match variables declared via `my' or `our' (Bug#8261).
085f5d7d 19517
2a86a00c
RS
19518 * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
19519 special file names `.' and `..' (Bug#8259).
19520
d9c54a06
CY
195212011-05-08 Chong Yidong <cyd@stupidchicken.com>
19522
488086f4
SM
19523 * progmodes/grep.el (grep-mode-font-lock-keywords):
19524 Remove buffer-changing entries.
d9c54a06
CY
19525 (grep-filter): New function.
19526 (grep-mode): Add it to compilation-filter-hook.
19527
19528 * progmodes/compile.el (compilation-filter-hook)
19529 (compilation-filter-start): New defvars.
19530 (compilation-filter): Call compilation-filter-hook prior to
19531 updating the process mark.
19532
c4662635
SM
195332011-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
19534
19535 * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
19536
b0512a1d
EZ
195372011-05-07 Eli Zaretskii <eliz@gnu.org>
19538
605c9376
EZ
19539 * mail/sendmail.el (send-mail-function): On MS-Windows, default to
19540 mailclient-send-it even if window-system is nil. (Bug#8595)
19541
c4662635
SM
19542 * term/w32console.el (terminal-init-w32console):
19543 Call get-screen-color and use its output to set the frame
b0512a1d
EZ
19544 background-mode. (Bug#8597)
19545
d1dc2cc2
SM
195462011-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
19547
19548 Make bytecomp.el understand that defmethod defines funs (bug#8631).
19549 * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
19550 New functions.
19551 (defgeneric, eieio--defmethod): Use them.
19552 (eieio-defgeneric): Remove.
19553 (defmethod): Call defgeneric in a way visible to the byte-compiler.
19554
915d1300
GM
195552011-05-07 Glenn Morris <rgm@gnu.org>
19556
a3961c3e
GM
19557 * calendar/timeclock.el (timeclock-log-data): Remove unused local.
19558 Use let rather than let*.
19559 (timeclock-find-discrep): Remove unused local.
19560
314347b9
GM
19561 * calendar/diary-lib.el (diary-comment-start): Doc fix.
19562
915d1300
GM
19563 * calendar/appt.el (appt-time-msg-list): Doc fix.
19564
275b59b0
NF
195652011-05-06 Noah Friedman <friedman@splode.com>
19566
19567 * apropos.el (apropos-print-doc): Only use
19568 emacs-lisp-docstring-fill-column when it is bound to an integer,
19569 per that variable's documentation.
19570
6c19f744
SM
195712011-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
19572
19573 * lpr.el (print-region-1): Echo lpr-program's output, so error messages
d1dc2cc2 19574 and warnings are not silently discarded (e.g. use -d instead of -P).
6c19f744 19575
60f884b2
GM
195762011-05-06 Glenn Morris <rgm@gnu.org>
19577
5006e634
GM
19578 * calendar/appt.el (appt-message-warning-time): Doc fix.
19579 (appt-warning-time-regexp): New option.
19580 (appt-make-list): Respect appt-message-warning-time.
19581
548d0a63
GM
19582 * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
19583 New options.
19584 (diary-add-to-list): Strip comments from the displayed string.
19585 (diary-mode): Set comment-start and comment-end.
19586
60f884b2
GM
19587 * vc/diff-mode.el (smerge-refine-subst): Declare.
19588 (diff-refine-hunk): Don't require smerge-mode when compiling.
19589
989681bb
JB
195902011-05-06 Juanma Barranquero <lekktu@gmail.com>
19591
19592 * simple.el (list-processes): Return nil as the docstring says.
19593
a6bc05e1
MA
195942011-05-05 Michael Albinus <michael.albinus@gmx.de>
19595
19596 * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
19597 to "".
19598 (ange-ftp-write-region, ange-ftp-insert-file-contents)
19599 (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
19600 determining of binary transfer. (Bug#7383)
19601
23c22e9a
MA
196022011-05-05 Michael Albinus <michael.albinus@gmx.de>
19603
c4662635
SM
19604 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
19605 Fix port computation bug. (Bug#8618)
23c22e9a 19606
0bff894f
GM
196072011-05-05 Glenn Morris <rgm@gnu.org>
19608
b8296902
GM
19609 * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
19610
1f522ce8
GM
19611 * simple.el (shell-dynamic-complete-functions)
19612 (comint-dynamic-complete-functions): Declare.
19613
cf5bee67
GM
19614 * net/network-stream.el (gnutls-negotiate):
19615 * simple.el (tabulated-list-print): Fix declarations.
19616
19617 * progmodes/gud.el (syntax-symbol, syntax-point):
19618 Remove unnecessary and incorrect declarations.
19619
0bff894f 19620 * emacs-lisp/check-declare.el (check-declare-scan):
1f9f395d 19621 Handle byte-compile-initial-macro-environment in bytecomp.el.
0bff894f 19622
9869b3ae
SM
196232011-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
19624
19625 Fix earlier half-done eieio-defmethod change (bug#8338).
19626 * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
19627 Streamline and change calling convention.
19628 (defmethod): Adjust accordingly and simplify.
19629 (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
19630 new eieio--defmethod.
19631 (slot-boundp): Minor CSE simplification.
19632
9c1d5ac5
MZ
196332011-05-05 Milan Zamazal <pdm@zamazal.org>
19634
19635 * progmodes/glasses.el (glasses-separate-capital-groups): New option.
19636 (glasses-make-readable): Use glasses-separate-capital-groups.
19637
455c834e
JB
196382011-05-05 Juanma Barranquero <lekktu@gmail.com>
19639
19640 * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
19641 (warning-series): Doc fix.
19642 (display-warning): Don't try to create the buffer if we just found it.
19643
9ed7c8cb
CY
196442011-05-04 Chong Yidong <cyd@stupidchicken.com>
19645
19646 * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
19647 (autoload-find-generated-file): New function.
19648 (generate-file-autoloads): Bind generated-autoload-file to
19649 buffer-file-name.
9869b3ae
SM
19650 (update-file-autoloads, update-directory-autoloads):
19651 Use autoload-find-generated-file. If called interactively, prompt for
9ed7c8cb
CY
19652 output file (Bug#7989).
19653 (batch-update-autoloads): Doc fix.
19654
0898ca10
JB
196552011-05-04 Juanma Barranquero <lekktu@gmail.com>
19656
19657 * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
19658
31dfb76c
GM
196592011-05-04 Glenn Morris <rgm@gnu.org>
19660
f330b642
GM
19661 * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
19662 function, so it follows changes in calendar-date-style.
19663 (diary-fancy-date-matcher): New function.
19664 (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
19665 (diary-fancy-font-lock-fontify-region-function):
19666 Use diary-fancy-date-pattern as a function.
19667
31dfb76c
GM
19668 * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
19669 non-numbers for `year' etc pseudo-variables. (Bug#8583)
19670
48e79d6a
TZ
196712011-05-04 Teodor Zlatanov <tzz@lifelogs.com>
19672
19673 * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
19674 instead of positional arguments. Allow :keylist and :crlfiles
19675 arguments.
19676 (open-gnutls-stream): Call it.
19677
19678 * net/network-stream.el (network-stream-open-starttls): Adjust to
19679 call `gnutls-negotiate' with :process and :hostname arguments.
19680
dd5a5ee0
SM
196812011-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
19682
ef80fc09
SM
19683 * minibuffer.el (completion--message): New function.
19684 (completion--do-completion, minibuffer-complete)
19685 (minibuffer-force-complete, minibuffer-complete-word): Use it.
19686 (completion--do-completion): Don't ignore completion-auto-help when in
19687 icomplete-mode.
19688
dd5a5ee0
SM
19689 * whitespace.el (whitespace-trailing-regexp): Don't rely on the
19690 internal encoding (e.g. tibetan zero is not whitespace).
19691 (global-whitespace-mode): Prefer save-current-buffer.
19692 (whitespace-trailing-regexp): Remove useless save-match-data.
19693 (whitespace-empty-at-bob-regexp): Minor simplification.
19694
b7d22a83
CY
196952011-05-03 Chong Yidong <cyd@stupidchicken.com>
19696
19697 * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
19698
5192af46
AM
196992011-05-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
19700
19701 * textmodes/ispell.el (ispell-add-per-file-word-list):
cdc4a047 19702 Use `concat' to create string for insertion.
5192af46 19703
5767d190
SM
197042011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
19705
19706 * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
19707 Avoid open-line which runs post-self-insert-hook.
19708 (bibtex-fill-entry): Remove unused `end' var.
19709
bf242939
AM
197102011-05-03 Dirk Ullrich <dirk.ullrich@googlemail.com> (tiny change)
19711
5767d190
SM
19712 * textmodes/ispell.el (ispell-add-per-file-word-list):
19713 Protect against `nil' value of `comment-start' (Bug#8579).
bf242939 19714
25666126
LL
197152011-05-03 Leo Liu <sdl.web@gmail.com>
19716
19717 * isearch.el (isearch-yank-pop): New command.
5767d190 19718 (isearch-mode-map): Bind it to `M-y'.
25666126
LL
19719 (isearch-forward): Mention it.
19720
52d3c2d0
SM
197212011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
19722
1bcace58
SM
19723 * simple.el (minibuffer-complete-shell-command): Remove.
19724 (minibuffer-local-shell-command-map): Use completion-at-point.
19725 (read-shell-command): Setup completion vars here instead.
19726 (read-expression-map): Bind TAB to symbol completion.
19727
52d3c2d0
SM
19728 * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
19729 error directly rather via storing it into `results'.
19730
35813471
LL
197312011-05-02 Leo Liu <sdl.web@gmail.com>
19732
19733 * vc/diff.el: Fix description.
19734
e793a940
LMI
197352011-05-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
19736
19737 * server.el (server-eval-at): New function.
19738
8de66e05
LMI
197392011-05-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
19740
19741 * net/network-stream.el (open-network-stream): Take a :nowait
19742 parameter and pass it on to `make-network-process'.
19743 (network-stream-open-plain): Ditto.
19744
dcb79f20
AS
197452011-04-30 Andreas Schwab <schwab@linux-m68k.org>
19746
19747 * faces.el (face-spec-set-match-display): Don't match toolkit
19748 options on terminal frames.
19749
14a7fbd8
SM
197502011-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
19751
7eabc1be
SM
19752 * progmodes/pascal.el: Use lexical binding.
19753 (pascal-mode-map): Remove author preferences.
19754
14a7fbd8
SM
19755 * pcomplete.el (pcomplete-std-complete): Don't abuse
19756 completion-at-point.
19757
50f84510
JB
197582011-04-28 Juanma Barranquero <lekktu@gmail.com>
19759
6e087a44
JB
19760 * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
19761 removing code that has been dead since 1991 or so.
19762
50f84510
JB
19763 * startup.el (command-line): When warning about "_emacs", use a
19764 delayed warning to allow the user to filter it out.
19765
0ba690bd
DD
197662011-04-28 Deniz Dogan <deniz@dogan.se>
19767
19768 * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
19769 user has not joined.
19770
08abfaad
SM
197712011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
19772
19773 * pcomplete.el (pcomplete-completions-at-point): Return nil if there
19774 aren't any completions at point.
19775
638f053a
JB
197762011-04-28 Juanma Barranquero <lekktu@gmail.com>
19777
19778 * subr.el (display-delayed-warnings): New function.
19779 (delayed-warnings-hook): New variable.
19780
8fff8daa
SM
197812011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
19782
08abfaad
SM
19783 * minibuffer.el (completion-at-point, completion-help-at-point):
19784 Don't presume that a given completion-at-point-function will always
19785 use the same calling convention.
19786
8fff8daa
SM
19787 * pcomplete.el (pcomplete-completions-at-point):
19788 Obey pcomplete-ignore-case. Don't call pcomplete-norm-func unless
19789 pcomplete-seen is non-nil.
19790 (pcomplete-comint-setup): Also recognize the new comint/shell
19791 completion functions.
19792 (pcomplete-do-complete): Don't call pcomplete-norm-func unless
19793 pcomplete-seen is non-nil.
19794
841a1577 197952011-04-27 Niels Giesen <niels.giesen@gmail.com>
211ec907 19796
841a1577 19797 * calendar/icalendar.el (diary-lib): Add require statement.
211ec907 19798 (icalendar--create-uid): Read out a uid from a text-property on
841a1577 19799 the first character in the entry. This allows for code to add its
211ec907
UJ
19800 own uid to the entry.
19801 (icalendar--convert-float-to-ical): Add export of
19802 `diary-float'-entries save for those with the optional DAY
19803 argument.
19804
2a782793
DC
198052011-04-27 Daniel Colascione <dan.colascione@gmail.com>
19806
19807 * subr.el (shell-quote-argument): Use alternate escaping strategy
19808 when we spot a variable reference in a string.
19809
0438ce91
DC
198102011-04-26 Daniel Colascione <dan.colascione@gmail.com>
19811
19812 * cus-start.el (all): Define customization for debug-on-event.
19813
841a1577 198142011-04-26 Daniel Colascione <dan.colascione@gmail.com>
8f91bf93
DC
19815
19816 * subr.el (shell-quote-argument): Escape correctly under Windows.
19817
d090ed6c
SM
198182011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
19819
19820 * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
19821
bfd31217
MA
198222011-04-25 Michael Albinus <michael.albinus@gmx.de>
19823
d090ed6c
SM
19824 * net/tramp.el (tramp-process-actions): Add POS argument.
19825 Delete region between POS and (pos).
bfd31217 19826
d090ed6c
SM
19827 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
19828 Use `nil' position in `tramp-process-actions' call.
bfd31217
MA
19829 (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
19830
19831 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
19832 position in `tramp-process-actions' call.
19833
19834 * net/trampver.el: Update release number.
19835
e92f3bd3
SM
198362011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
19837
850256b5
SM
19838 * custom.el (defcustom): Obey lexical-binding.
19839
e92f3bd3
SM
19840 Fix octave-inf completion problems reported by Alexander Klimov.
19841 * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
19842 Inherit from octave-mode-syntax-table.
19843 (inferior-octave-mode): Set info-lookup-mode.
19844 (inferior-octave-completion-at-point): New function.
19845 (inferior-octave-complete): Use it and completion-in-region.
19846 (inferior-octave-dynamic-complete-functions): Use it as well, and use
19847 comint-filename-completion.
19848 * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
19849 symbol elements which shouldn't be word elements.
19850 (octave-font-lock-keywords, octave-beginning-of-defun)
19851 (octave-function-header-regexp): Adjust regexps accordingly.
19852 (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
19853
cd22b309
JB
198542011-04-25 Juanma Barranquero <lekktu@gmail.com>
19855
19856 * net/gnutls.el (gnutls-errorp): Declare before first use.
19857
8b492194
TZ
198582011-04-24 Teodor Zlatanov <tzz@lifelogs.com>
19859
19860 * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
19861 verify-error, and verify-hostname-error parameters. Check whether
cd22b309 19862 default trustfile exists before going to use it. Add missing
5a5fa834 19863 argument to gnutls-message-maybe call. Return value.
8b492194
TZ
19864 Reported by Claudio Bley <claudio.bley@gmail.com>.
19865 (open-gnutls-stream): Add usage example.
19866
19867 * net/network-stream.el (network-stream-open-starttls): Give host
19868 parameter to `gnutls-negotiate'.
19869 (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
8f91bf93 19870 * subr.el (shell-quote-argument): Escape correctly under Windows.
8b492194 19871
841a1577 198722011-04-24 Daniel Colascione <dan.colascione@gmail.com>
05842630 19873
cd22b309
JB
19874 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
19875 Use correct match group (bug#8438).
05842630 19876
3ba7869c
CY
198772011-04-24 Chong Yidong <cyd@stupidchicken.com>
19878
512e3ae1
CY
19879 * emacs-lisp/package.el (package-built-in-p): Fix typo.
19880 (package-menu--generate): New arg specifying packages to show.
19881 (package-menu-refresh, package-menu-execute, list-packages):
19882 Callers changed.
19883 (package-show-package-list): New function, replacing deleted
19884 package--list-packages (renamed because it is non-internal).
19885
19886 * finder.el (finder-list-matches): Use package-show-package-list
19887 instead of deleted package--list-packages.
19888
e92f3bd3
SM
19889 * vc/vc-annotate.el (vc-annotate-goto-line): New command.
19890 Based on a previous implementation by Juanma Barranquero (Bug#8366).
3ba7869c
CY
19891 (vc-annotate-mode-map): Bind it to RET.
19892
7031be6d
UR
198932011-04-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
19894
19895 * progmodes/etags.el (next-file): Don't use set-buffer to change
19896 buffers (Bug#8478).
19897
4ef177aa
CY
198982011-04-24 Chong Yidong <cyd@stupidchicken.com>
19899
c8d173eb
CY
19900 * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
19901
4ef177aa
CY
19902 * apropos.el (apropos-label-face): Avoid variable-pitch face.
19903 (apropos-accumulator): Doc fix.
19904 (apropos-function, apropos-macro, apropos-command)
19905 (apropos-variable, apropos-face, apropos-group, apropos-widget)
19906 (apropos-plist): Add face property.
19907 (apropos-symbols-internal): Fix indentation.
19908 (apropos-print): Simplify help, and recognize apropos-multi-type.
19909 (apropos-print-doc): Use button-type-get to extract the button's
19910 face property. Fill docstring (Bug#8352).
19911
4ffd0d6b 199122011-04-23 Juanma Barranquero <lekktu@gmail.com>
be71f810
JB
19913
19914 * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
19915
c6c32125 19916 * play/mpuz.el (mpuz-silent): Doc fix.
4ffd0d6b 19917 (mpuz-mode-map): Use mapc.
c6c32125
JB
19918 (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
19919 (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
19920 Fix typos in docstrings.
19921
58d468b4
JB
19922 * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
19923 (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
19924
6470c3c6
JB
19925 * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
19926
4ffd0d6b 199272011-04-23 Chong Yidong <cyd@stupidchicken.com>
6f21a319
CY
19928
19929 * minibuffer.el (completion--do-completion): Avoid the "Next char
19930 not unique" prompt if icomplete-mode is enabled (Bug#5849).
19931
3ad8bad0
CY
19932 * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
19933 mouse-2 into unread-command-events, it is interpreted correctly.
19934
71d73c9c 19935 * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
6395aab9 19936 (image-toggle-display): Doc fix.
71d73c9c 19937
841a1577 199382011-04-23 Stephen Berman <stephen.berman@gmx.net>
e935c6a2 19939
4ffd0d6b
GM
19940 * textmodes/page.el (what-page): Use line-number-at-pos to
19941 calculate line number (Bug#6825).
6e1dbaa9 19942
c2fb1b60
JB
199432011-04-22 Juanma Barranquero <lekktu@gmail.com>
19944
19945 * eshell/esh-mode.el (find-tag-interactive): Declare function.
19946 (eshell-find-tag): Remove `with-no-warnings', unneeded now.
19947 Pass argument NO-DEFAULT to `find-tag-interactive'.
19948
e02f48d7
JB
199492011-04-22 Juanma Barranquero <lekktu@gmail.com>
19950
19951 Lexical-binding cleanup.
19952
19953 * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
19954 (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
19955 * progmodes/ada-prj.el (ada-prj-initialize-values)
19956 (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
19957 (ada-prj-show-value):
19958 * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
19959 * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
19960 (antlr-invalidate-context-cache, antlr-options-menu-filter)
19961 (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
19962 * progmodes/bug-reference.el (bug-reference-push-button):
19963 * progmodes/fortran.el (fortran-line-length):
19964 * progmodes/glasses.el (glasses-change):
19965 * progmodes/octave-mod.el (octave-fill-paragraph):
19966 * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
19967 (python-pdbtrack-grub-for-buffer, python-sentinel):
19968 * progmodes/sql.el (sql-save-connection):
19969 * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
19970 * progmodes/xscheme.el (xscheme-enter-debugger-mode):
19971 Mark unused parameters.
19972
19973 * progmodes/compile.el (compilation--flush-directory-cache)
19974 (compilation--flush-parse, compile-internal): Mark unused parameters.
19975 (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
19976 (compilation-next-error-function): Remove unused variable `timestamp'.
19977
19978 * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
19979 (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
19980
19981 * progmodes/dcl-mode.el (dcl-end-of-command):
19982 Remove unused variable `start'.
19983 (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
19984 (dcl-option-value-basic, dcl-option-value-offset)
19985 (dcl-option-value-margin-offset, dcl-option-value-comment-line):
19986 Mark unused parameters.
19987 (dcl-save-local-variable): Remove unused variable `val'.
19988 (mode): Declare.
19989
19990 * progmodes/delphi.el (delphi-save-state, delphi-after-change):
19991 Mark unused parameters.
19992 (delphi-ignore-changes): Move before first use.
19993 (delphi-charset-token-at): Remove unused variable `start'.
19994 (delphi-else-start): Remove unused variable `if-count'.
19995 (delphi-comment-block-start, delphi-comment-block-end):
19996 Remove unused variable `kind'.
19997 (delphi-indent-line): Remove unused variable `new-point'.
19998
19999 * progmodes/ebrowse.el (ebrowse-files-list)
20000 (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
20001 Mark unused parameters. Don't quote `lambda'.
20002 (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
20003 Don't quote `lambda'.
20004 (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
20005 (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
20006 (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
20007 (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
20008 Use `ignore-errors'.
20009 (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
20010 (ebrowse-view/find-file-and-search-pattern)
20011 (ebrowse-view/find-member-declaration/definition):
20012 Rename parameter TAGS-FILE-NAME to TAGS-FILE.
20013 (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
20014 Rename parameter PREFIX-ARG to PREFIX.
20015 (ebrowse-tags-read-name): Remove unused variables `start' and
20016 `member-info'.
20017 (ebrowse-display-member-buffer): Rename variable `tags-file-name'
20018 to `tags-file'.
20019
20020 * progmodes/etags.el (local-find-tag-hook): Declare.
20021 (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
20022 Mark unused parameters.
20023
20024 * progmodes/executable.el (compilation-error-regexp-alist): Declare.
20025 (executable-interpret): Mark unused parameter.
20026
20027 * progmodes/flymake.el (flymake-process-sentinel)
20028 (flymake-after-change-function)
20029 (flymake-create-temp-with-folder-structure)
20030 (flymake-get-include-dirs-dot): Mark unused parameters.
20031 (flymake-safe-delete-directory): Remove unused variable `err'.
20032
20033 * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
20034 (speedbar-timer-fn, speedbar-line-text)
20035 (speedbar-change-expand-button-char, speedbar-delete-subblock)
20036 (speedbar-center-buffer-smartly): Declare functions.
20037 (gdb-find-watch-expression): Remove unused variable `array'.
20038 (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
20039 (gdb-starting): Mark unused parameters.
20040 (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
20041 (gdb-table-string): Remove unused variable `res'.
20042 (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
20043 (gdb-disassembly-handler-custom): Remove unused variable `pos'.
20044 (gdb-display-buffer): Remove unused variable `cur-size'.
20045
20046 * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
20047 allow lexical-binding compilation.
20048 (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
20049 (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
20050 (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
20051 Mark unused parameters.
20052 (gud-gdb-marker-filter): Remove unused variable `match'.
20053 (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
20054 lambda expressions and funcall them, instead of using `fset'.
20055
20056 * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
20057 HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
20058
20059 * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
20060 variable `header-beg'; use `let'.
20061
20062 * progmodes/icon.el (indent-icon-exp): Remove unused variables
20063 `restart', `last-sexp' and `at-do'.
20064
20065 * progmodes/js.el (js--debug): Mark unused parameter.
20066 (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
20067 (js--splice-into-items): Remove unused variable `item'.
20068 (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
20069
20070 * progmodes/make-mode.el (makefile-make-font-lock-keywords):
20071 Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
20072 (makefile-complete): Remove unused variable `try'.
20073 (makefile-fill-paragraph, makefile-match-function-end):
20074 Mark unused parameters.
20075
20076 * progmodes/octave-inf.el (inferior-octave-complete):
20077 Remove unused variable `proc'.
20078 (inferior-octave-output-digest): Mark unused parameter.
20079
20080 * progmodes/perl-mode.el (perl-calculate-indent):
20081 Remove unused variable `err'.
20082
20083 * progmodes/prolog.el (prolog-mode-keybindings-inferior)
20084 (prolog-indent-line): Mark unused parameters.
20085 (prolog-indent-line): Remove unused variable `beg'.
20086
20087 * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
20088 (reporter-dont-compact-list): Declare.
20089
20090 * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
20091 Remove unused variable `char'.
20092 (sh-debug): Mark unused parameter.
20093 (sh-get-indent-info): Remove unused variable `start'.
20094 (sh-calculate-indent): Remove unused variable `var'.
20095
20096 * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
20097 (simula-electric-keyword): Remove unused variable `null'.
20098 (simula-search-backward, simula-search-forward): Remove unused
20099 variables `begin' and `end'.
20100
20101 * progmodes/vera-mode.el (vera-guess-basic-syntax):
20102 Remove unused variable `pos'.
20103 (vera-electric-tab, vera-comment-uncomment-region):
20104 Mark unused parameters.
20105 (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
20106
7ede3b65
CY
201072011-04-22 Chong Yidong <cyd@stupidchicken.com>
20108
20109 * emacs-lisp/package.el (package--builtins, package-alist)
20110 (package-load-descriptor, package-built-in-p, package-activate)
20111 (define-package, package-installed-p)
20112 (package-compute-transaction, package-buffer-info)
20113 (package--push): Doc fix. Distinguish more clearly between
20114 version strings and version lists.
20115
121656e9
JB
201162011-04-21 Juanma Barranquero <lekktu@gmail.com>
20117
20118 Lexical-binding cleanup.
20119
20120 * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
20121 (5x5-make-mutate-best):
20122 * play/fortune.el (fortune-in-buffer):
20123 * play/gomoku.el (gomoku-init-display):
20124 * play/solitaire.el (solitaire, solitaire-do-check):
20125 * play/tetris.el (tetris-default-update-speed-function):
20126 Mark unused parameters.
20127
20128 * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
20129 (bubbles--shift): Remove unused variable `char-org'.
20130 (bubbles--set-faces): Remove unused variable `fg-col'. Simplify.
20131 (bubbles--show-images): Remove unused variable `char'.
20132
20133 * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
20134 (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
20135 (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
20136 (decipher-analyze-buffer): Use ?\s.
20137 (decipher-make-checkpoint): Remove unused variable `mapping'.
20138
20139 * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
20140
20141 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
20142 Remove unused variable `result'; use `let'.
20143
20144 * play/gametree.el (gametree-current-layout, gametree-apply-layout):
20145 Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
20146 (gametree-children-shown-p, gametree-compute-reduced-score):
20147 Use `ignore-errors'.
20148
20149 * play/handwrite.el (ps-lpr-switches): Declare.
20150 (handwrite): Remove unused variables `pmin' and `lastp'.
20151
20152 * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
20153
20154 * play/landmark.el (landmark-init-display)
20155 (landmark-update-naught-weights): Mark unused parameters.
20156 (landmark-y): Remove unused variable `noise'. Simplify.
20157 (landmark-human-plays): Remove unused variable `score'.
20158
20159 * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
20160 (mpuz-try-proposal): Remove unused variable `game'.
20161
20162 * play/zone.el (life-patterns): Declare.
20163
80f499c7
JB
201642011-04-20 Juanma Barranquero <lekktu@gmail.com>
20165
20166 * vc/vc.el (ediff-vc-internal): Declare function.
20167
024ff170
SM
201682011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
20169
c0a193ea
SM
20170 * shell.el: Use lexical-binding and std completion UI.
20171 (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
20172 (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
20173 comint-preoutput-filter-functions rather than on
20174 comint-output-filter-functions.
20175 (shell-command-completion, shell--command-completion-data)
20176 (shell-filename-completion, shell-environment-variable-completion)
20177 (shell-c-a-p-replace-by-expanded-directory): New functions.
20178 (shell-dynamic-complete-functions, shell-dynamic-complete-command)
20179 (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
20180 (shell-dynamic-complete-environment-variable): Use them.
20181 (shell-dynamic-complete-as-environment-variable)
20182 (shell-dynamic-complete-as-command): Remove.
20183 (shell-match-partial-variable): Match past point.
20184 * comint.el: Clean up use of completion-at-point-functions.
20185 (comint-completion-at-point): New function.
20186 (comint-mode): Use it completion-at-point-functions.
20187 (comint-dynamic-complete): Make it obsolete.
20188 (comint-replace-by-expanded-history-before-point): Add dry-run arg.
20189 (comint-c-a-p-replace-by-expanded-history): New function.
20190 (comint-dynamic-complete-functions)
20191 (comint-replace-by-expanded-history): Use it.
20192 * minibuffer.el (completion-table-with-terminator): Allow dynamic
20193 termination strings. Try harder to avoid second try-completion.
20194 (completion-in-region-mode-map): Disable bindings that don't work yet.
20195
2dbaa080
SM
20196 * comint.el: Use lexical-binding. Require CL.
20197 (comint-dynamic-complete-functions): Use comint-filename-completion.
20198 (comint-completion-addsuffix): Tweak custom type.
20199 (comint-filename-completion, comint--common-suffix)
20200 (comint--common-quoted-suffix, comint--table-subvert)
20201 (comint--complete-file-name-data): New functions.
20202 (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
20203 (comint-dynamic-list-filename-completions): Use them.
20204 (comint-dynamic-simple-complete): Make obsolete.
c0a193ea 20205
2dbaa080
SM
20206 * minibuffer.el (completion-in-region-mode):
20207 Keep completion-in-region-mode--predicate global.
20208 (completion-in-region--postch):
20209 Assume completion-in-region-mode--predicate is not null.
20210
c79a6f38
SM
20211 * progmodes/flymake.el (flymake-start-syntax-check-process):
20212 Obey `dir'. Simplify.
20213
024ff170
SM
20214 * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
20215 we're in VC after all.
20216
1c6c854e
CS
202172011-04-20 Christoph Scholtes <cschol2112@googlemail.com>
20218
20219 * vc/vc.el (vc-diff-build-argument-list-internal)
024ff170 20220 (vc-version-ediff, vc-ediff): New commands.
1c6c854e
CS
20221 (vc-version-diff): Use vc-diff-build-argument-list-internal.
20222
bed7f140
SM
202232011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
20224
332e62ab
SM
20225 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
20226 add sanity check.
20227
bed7f140
SM
20228 * obsolete/erc-hecomplete.el: Make obsolete.
20229 * obsolete/: Standardize obsolescence info in the header.
20230
f195c582
GM
202312011-04-20 Glenn Morris <rgm@gnu.org>
20232
20233 * calendar/solar.el (solar-horizontal-coordinates):
20234 Use the longitude argument rather than `calendar-longitude'.
20235 (solar-date-next-longitude): Remove unused locals.
20236
cb79b8c0
VJL
202372011-04-20 Vinicius Jose Latorre <viniciusjl@ig.com.br>
20238
20239 * whitespace.el: New version 13.2.1.
20240
202412011-04-20 felix <EmacsWiki> (tiny change)
20242
d8e4b68b 20243 * whitespace.el (global-whitespace-mode): Keep highlight when
cb79b8c0
VJL
20244 switching between major modes on a file.
20245
602ea69d
SM
202462011-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
20247
20248 * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
20249 (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
20250 multi-line comments as well.
20251
06b60517
JB
202522011-04-19 Juanma Barranquero <lekktu@gmail.com>
20253
20254 Lexical-binding cleanup.
20255
20256 * arc-mode.el (archive-mode-revert):
20257 * cmuscheme.el (scheme-interactively-start-process):
20258 * custom.el (custom-initialize-delay):
20259 * dnd.el (dnd-open-local-file, dnd-open-remote-url):
20260 * dos-w32.el (direct-print-region-helper, direct-print-region-function):
20261 * emacs-lock.el (emacs-lock-clear-sentinel):
20262 * ezimage.el (defezimage):
20263 * follow.el (follow-avoid-tail-recenter):
20264 * fringe.el (set-fringe-mode-1):
20265 * generic-x.el (bat-generic-mode-compile):
20266 * help-mode.el (help-info-variable, help-do-xref)
20267 (help-mode-revert-buffer):
20268 * help.el (view-emacs-todo):
20269 * iswitchb.el (iswitchb-completion-help):
20270 * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
20271 * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
20272 (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
20273 * locate.el (locate-update):
20274 * longlines.el (longlines-encode-region)
20275 (longlines-after-change-function):
20276 * outline.el (outline-isearch-open-invisible):
20277 * ps-def.el (declare-function, charset-dimension, char-width)
20278 (encode-char):
20279 * ps-mule.el (ps-mule-plot-string):
20280 * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
20281 (recentf-edit-list-select, recentf-edit-list-validate)
20282 (recentf-open-files-action):
20283 * rect.el (delete-whitespace-rectangle-line)
20284 (rectangle-number-line-callback):
20285 * register.el (window-configuration-to-register)
20286 (frame-configuration-to-register):
20287 * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
20288 * select.el (xselect-convert-to-string, xselect-convert-to-length)
20289 (xselect-convert-to-targets, xselect-convert-to-delete)
20290 (xselect-convert-to-filename, xselect-convert-to-charpos)
20291 (xselect-convert-to-lineno, xselect-convert-to-colno)
20292 (xselect-convert-to-os, xselect-convert-to-host)
20293 (xselect-convert-to-user, xselect-convert-to-class)
20294 (xselect-convert-to-name, xselect-convert-to-integer)
20295 (xselect-convert-to-atom, xselect-convert-to-identity):
20296 * subr.el (declare, ignore, process-kill-without-query)
20297 (text-clone-maintain):
20298 * terminal.el (te-get-char, te-tic-sentinel):
20299 * tool-bar.el (tool-bar-make-keymap):
20300 * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
20301 * type-break.el (type-break-mode, type-break-noninteractive-query):
20302 * view.el (View-back-to-mark):
20303 * wid-browse.el (widget-browse-action, widget-browse-widget)
20304 (widget-browse-widgets, widget-browse-sexp):
20305 * widget.el (define-widget-keywords):
20306 * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
20307 Mark unused parameters.
20308
20309 * align.el (align-adjust-col-for-rule): Mark unused parameter.
20310 (align-areas): Remove unused variable `look'.
20311 (align-region): Remove unused variables `real-end' and `pos-list'.
20312
20313 * apropos.el (apropos-score-doc): Remove unused variable `i'.
20314
20315 * bindings.el (mode-line-modified, mode-line-remote):
20316 Mark unused parameters.
20317 (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
20318
20319 * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
20320 (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
20321
20322 * comint.el (comint-history-isearch-pop-state)
20323 (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
20324 (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
20325 (comint-substitute-in-file-name): Doc fix.
20326
20327 * completion.el (cmpl-statistics-block): Mark unused parameter.
20328 (add-completions-from-tags-table, add-completions-from-lisp-buffer)
20329 (save-completions-to-file, load-completions-from-file):
20330 Remove unused local variable `e'.
20331
20332 * composite.el (compose-chars): Remove unused variable `len'.
20333 (lgstring-insert-glyph): Remove unused variable `g'.
20334 (compose-glyph-string): Remove unused variables `ascent',
20335 `descent', `lbearing' and `rbearing'.
20336 (compose-glyph-string-relative): Remove unused variables
20337 `lbearing', `rbearing' and `wadjust'.
20338 (compose-gstring-for-graphic): Remove unused variables `header',
20339 `wadjust', `xoff' and `yoff'. Use `let', not `let*'.
20340 (compose-gstring-for-terminal): Remove unused variables `header'
20341 and `nchars'. Use `let', not `let*'.
20342
20343 * cus-edit.el (Custom-set, Custom-save, custom-reset)
20344 (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
20345 (Custom-buffer-done, custom-buffer-create-internal)
20346 (custom-browse-visibility-action, custom-browse-group-tag-action)
20347 (custom-browse-variable-tag-action, custom-browse-face-tag-action)
20348 (widget-magic-mouse-down-action, custom-toggle-parent)
20349 (custom-add-parent-links, custom-toggle-hide-variable)
20350 (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
20351 (custom-toggle-hide-face, face, hook, custom-group-link-action)
20352 (custom-face-menu-create, custom-variable-menu-create, get)
20353 (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
20354 (custom-reset-standard-save-and-update): Remove unused variable `value'.
20355 (customize-apropos): Remove unused variable `tests'.
20356 (custom-group-value-create): Remove unused variable `hidden-p'.
20357 (sort-fold-case): Declare.
20358
20359 * cus-theme.el (custom-reset-standard-faces-list)
20360 (custom-reset-standard-variables-list): Declare.
20361 (customize-create-theme, custom-theme-revert, custom-theme-write)
20362 (custom-theme-choose-mode, customize-themes, custom-theme-save):
20363 Mark unused parameters.
20364
20365 * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
20366
20367 * delim-col.el (delimit-columns-max): Move defvar before first use.
20368
20369 * descr-text.el (describe-char-categories): Don't quote `lambda'.
bd0d2ee2 20370 (describe-char): Don't quote `lambda'. Mark unused parameter.
06b60517
JB
20371
20372 * desktop.el (desktop-save-buffer-p): Mark unused parameter.
20373 (auto-insert): Declare.
20374 (desktop-restore-file-buffer): Rename desktop-* parameters;
20375 mark unused ones.
20376 (desktop-create-buffer): Rename desktop-* parameters and bind them.
20377 (desktop-buffer): Rename desktop-* parameters.
20378
20379 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
20380 (dframe-reposition-frame-xemacs, dframe-help-echo)
20381 (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
20382 Mark unused parameters.
20383
20384 * dired-aux.el (backup-extract-version-start, overwrite-query)
20385 (overwrite-backup-query, rename-regexp-query)
20386 (rename-non-directory-query): Declare.
20387 (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
20388 (dired-add-entry): Remove unused variable `orig-file-name'.
20389 (dired-copy-file-recursive): Remove unused variable `dirfailed'.
20390 Use parameter PRESERVE-TIME instead of accessing dynamic variable
20391 `dired-copy-preserve-time' directly.
20392 (dired-do-create-files-regexp): Remove unused variable `fn-count'.
20393 (dired-insert-subdir-newpos): Rename unused variable `pos'.
20394
20395 * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
20396 (dired-virtual-revert, dired-make-relative-symlink):
20397 Mark unused parameters.
20398 (manual-program): Declare.
20399 (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
20400 (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
20401 wrapped in `with-no-warnings' to avoid replacing one warning by another.
20402
20403 * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
20404
20405 * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
20406
20407 * echistory.el (electric-history-in-progress, Helper-return-blurb):
20408 Declare.
20409
20410 * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
20411
20412 * electric.el (Electric-command-loop): Rename parameter
20413 INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
20414
20415 * expand.el (expand-in-literal): Remove unused variable `here'.
20416
20417 * facemenu.el (facemenu-add-new-color):
20418 Remove unused variable `docstring'.
20419
20420 * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
20421 (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
20422 (face-attr-construct): Mark unused parameter. Doc fix.
20423 (read-color): Remove unused variable `hex-string'.
20424
20425 * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
20426 (locate-dominating-file): Remove unused vars `prev-file' and `user'.
20427 (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
20428 (display-buffer-other-frame): Remove unused variable `old-window'.
20429 (kill-buffer-hook): Declare.
20430 (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
20431 Mark unused parameters.
20432 (after-find-file): Pass 1 to `auto-save-mode', not t.
20433
20434 * files-x.el (auto-insert): Declare.
20435 (modify-file-local-variable-prop-line): Remove unused variable `val'.
20436
20437 * find-lisp.el (find-lisp-find-dired-internal): Remove unused
bd0d2ee2 20438 variable `buf'. Mark unused parameter.
06b60517
JB
20439 (find-lisp-insert-directory): Mark unused parameter.
20440
20441 * format.el (format-decode-run-method): Mark unused parameter; doc fix.
20442 (format-encode-region): Remove unused variables `cur-buf' and `result'.
20443 (format-common-tail): Remove, unused.
20444 (format-deannotate-region): Remove unused variable `loc'.
20445 (format-annotate-region): Remove unused variable `p'.
20446 (format-annotate-single-property-change): Remove unused variables
20447 `default' and `tail'.
20448
20449 * forms.el (read-file-filter): Declare.
20450 (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
20451
20452 * frame.el (frame-creation-function-alist): Mark unused parameter.
20453 (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
20454
20455 * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
20456 Remove unused parameters.
20457 (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
20458 (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
20459
20460 * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
20461 (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
20462 (hfy-prepare-tag-map): Mark unused parameters.
20463 (htmlfontify-buffer): Use `called-interactively-p'.
20464
20465 * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
20466 (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
20467 (ibuffer-do-occur): Mark unused parameters.
20468 (ibuffer-forward-next-marked): Remove unused variable `curmark'.
20469 (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
20470
20471 * ibuffer.el: Don't quote `lambda'.
20472 (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
20473 (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
20474 Mark unused parameters.
20475
20476 * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
20477 (ido-completing-read): Mark unused parameters.
20478 (ido-copy-current-word): Mark unused parameters;
20479 remove unused variable `name'.
20480 (ido-sort-merged-list): Remove unused parameter `dirs'.
20481
20482 * ielm.el (ielm-input-sender): Mark unused parameter.
20483 (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
20484 (ielm-output, ielm-wbuf, ielm-pmark): Declare.
20485 (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
20486 `ielm-string' as a dynamic variable accessible from the IELM prompt.
20487 Bind `ielm-string' to INPUT-STRING. Remove unused variable `err'.
20488
20489 * image-dired.el (image-dired-display-thumbs): Remove unused
20490 variables `curr-file' and `count'.
20491 (image-dired-remove-tag): Remove unused variable `start'.
20492 (image-dired-tag-files, image-dired-create-thumbs): Remove unused
20493 variable `curr-file'
20494 (image-dired-rotate-original): Remove unused variable `temp-file'.
20495 (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
20496 Remove unused variable `file'.
20497 (image-dired-gallery-generate): Remove unused variable `curr'.
20498 (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
20499
20500 * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
20501
20502 * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
20503
20504 * informat.el (texinfo-command-start, texinfo-command-end): Declare.
20505
20506 * isearch.el (minibuffer-history-symbol): Declare.
20507 (isearch-edit-string): Remove unused variable `err'.
20508 (isearch-message-prefix, isearch-message-suffix):
20509 Mark unused parameters.
20510
20511 * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
20512
20513 * macros.el (insert-kbd-macro): Remove unused variable `mods'.
20514
20515 * makesum.el (double-column): Remove unused variable `cnt'.
20516
20517 * misearch.el (multi-isearch-pop-state): Mark unused parameter.
20518 (ido-ignore-item-temp-list): Declare.
20519
20520 * mouse-drag.el (mouse-drag-throw): Remove unused variables
20521 `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
20522 `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
20523 (mouse-drag-drag): Remove unused variables `mouse-delta' and
20524 `mouse-col-delta'.
20525
20526 * mouse-sel.el (mouse-extend-internal):
20527 Remove unused variable `orig-window-frame'.
20528
20529 * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
20530 (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
20531 Move declarations before first use.
20532 (pcomplete-opt): Mark unused parameters; doc fix.
20533
20534 * proced.el (proced-revert): Mark unused parameter.
20535 (proced-send-signal): Remove unused variable `err'.
20536
20537 * ps-print.el (ps-print-preprint-region, ps-print-preprint):
20538 Rename parameter PREFIX-ARG to ARG.
20539 (ps-basic-plot-string, ps-basic-plot-whitespace):
20540 Mark unused parameters.
20541
20542 * replace.el (replace-count): Define.
20543 (occur-revert-function): Mark unused parameters.
20544 (ido-ignore-item-temp-list, isearch-error, isearch-forward)
20545 (isearch-case-fold-search, isearch-string): Declare.
20546 (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
20547 bind `case-fold-search'. Remove unused variables `beg' and `end',
20548 and simplify.
20549 (replace-eval-replacement): Rename parameter REPLACE-COUNT to
20550 COUNT and bind `replace-count'.
20551 (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
20552 to COUNT.
20553
20554 * savehist.el (print-readably, print-string-length): Declare.
20555
20556 * shadowfile.el (shadow-expand-cluster-in-file-name):
20557 Remove unused variable `cluster'.
20558 (shadow-copy-file): Remove unused variable `i'.
20559 (shadow-noquery, shadow-clusters, shadow-site-cluster)
20560 (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
20561 (shadow-define-literal-group, shadow-define-regexp-group)
20562 (shadow-make-group, shadow-shadows-of): Clean up docstrings.
20563
20564 * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
20565 (shell): Use `called-interactively-p'.
20566 (shell-directory-tracker): Remove unused variable `chdir-failure'.
20567
20568 * simple.el (compilation-context-lines, comint-file-name-quote-list)
20569 (comint-file-name-chars, comint-delimiter-argument-list): Declare.
20570 (delete-backward-char): Remove unused variable `ocol'.
20571 (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
20572 (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
20573 (event-apply-hyper-modifier, event-apply-shift-modifier)
20574 (event-apply-control-modifier, event-apply-meta-modifier):
20575 Mark unused parameters.
20576 (undo-make-selective-list): Remove duplicate variable `undo-elt'.
20577 (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
20578
20579 * speedbar.el (speedbar-ignored-directory-expressions)
20580 (speedbar-supported-extension-expressions, speedbar-directory-buttons)
20581 (speedbar-find-file, speedbar-dir-follow)
20582 (speedbar-directory-buttons-follow, speedbar-tag-find)
20583 (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
20584 (speedbar-buffers-line-directory, speedbar-buffer-click):
20585 Mark unused parameters.
20586 (speedbar-tag-file): Remove unused variable `mode'.
20587 (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
20588
20589 * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
20590
20591 * talk.el (talk): Remove unused variable `display'.
20592
20593 * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
20594 (tar-write-region-annotate): Mark unused parameter.
20595
20596 * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
20597 (minutes, seconds, time-zone, day, year, monthname, month, dayname):
20598 Declare them, wrapped in `with-no-warnings' to avoid replacing one
20599 warning by another.
20600
20601 * time-stamp.el (time-stamp-string-preprocess):
20602 Remove unused variable `require-padding'.
20603
20604 * tree-widget.el (widget-glyph-enable): Declare.
20605 (tree-widget-action): Mark unused parameter.
20606
20607 * w32-fns.el (x-get-selection): Mark unused parameter.
20608 (autoload-make-program, generated-autoload-file): Declare.
20609
20610 * wdired.el (wdired-revert): Mark unused parameters.
20611 (wdired-xcase-word): Remove unused variable `err'.
20612
20613 * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
20614 (whitespace-help-scroll): Remove unused variable `data-help'.
20615
20616 * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
20617 (widget-image-insert, widget-after-change, default)
20618 (widget-default-format-handler, widget-default-notify)
20619 (widget-default-prompt-value, widget-info-link-action)
20620 (widget-url-link-action, widget-function-link-action)
20621 (widget-variable-link-action, widget-file-link-action)
20622 (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
20623 (widget-field-prompt-internal, widget-field-action, widget-field-match)
20624 (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
20625 (widget-insert-button-action, widget-delete-button-action, visibility)
20626 (widget-documentation-link-action, widget-documentation-string-action)
20627 (widget-const-prompt-value, widget-regexp-match, symbol)
20628 (widget-coding-system-prompt-value)
20629 (widget-key-sequence-value-to-external, sexp)
20630 (widget-sexp-value-to-internal, character, vector, cons)
20631 (widget-choice-prompt-value, widget-boolean-prompt-value)
20632 (widget-color--choose-action): Mark unused parameters.
20633 (widget-item-match-inline, widget-choice-match-inline)
20634 (widget-checklist-match, widget-checklist-match-inline)
20635 (widget-group-match): Rename parameter VALUES to VALS.
20636 (widget-field-value-set): Remove unused variable `size'.
20637 (widget-color-action): Remove unused variables `value' and `start'.
20638
20639 * windmove.el (windmove-wrap-loc-for-movement): Remove unused
bd0d2ee2 20640 variable `dir'. Doc fix.
06b60517
JB
20641 (windmove-find-other-window): Don't pass it.
20642
20643 * window.el (count-windows): Mark unused parameter.
20644 (bw-adjust-window): Remove unused variable `err'.
20645
20646 * woman.el (woman-file-name): Remove unused variable `default'.
20647 (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
20648 WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
20649 (global-font-lock-mode): Declare.
20650 (woman-decode-region): Mark unused parameter.
20651 (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
20652
20653 * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
20654 (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
20655 (x-dnd-handle-moz-url): Remove unused variable `title'.
20656 (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
20657
20658 * xml.el (xml-parse-tag, xml-parse-attlist):
20659 Remove unused variable `pos'.
20660
bc4f7f3d
GM
206612011-04-19 Glenn Morris <rgm@gnu.org>
20662
20663 * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
20664 (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
20665 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
20666 (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
20667 * calendar/cal-html.el (cal-html-insert-minical):
20668 * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
20669 (calendar-mark-date-pattern):
20670 Prefix "unused" locals.
20671
20672 * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
20673 optional argument `style'.
20674
20675 * calendar/appt.el (appt-make-list):
20676 * calendar/cal-china.el (calendar-chinese-date-string):
20677 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
20678 (diary-hebrew-yahrzeit):
20679 * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
20680 * calendar/calendar.el (calendar-generate-window):
20681 * calendar/time-date.el (time-to-days):
20682 Remove unused local variables.
20683
16a43933
CY
206842011-04-18 Chong Yidong <cyd@stupidchicken.com>
20685
20686 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
20687 glyphless-char-display table.
20688 (tabulated-list-glyphless-char-display): New var.
20689
7eed1860
SS
206902011-04-18 Sam Steingold <sds@gnu.org>
20691
20692 * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
20693 to acknowledgments.
20694
4d2d1ccd
GM
206952011-04-17 Glenn Morris <rgm@gnu.org>
20696
20697 * calendar/diary-lib.el (diary-sexp-entry):
20698 * calendar/holidays.el (holiday-sexp):
20699 Set debug-on-error rather than the removed stack-trace-on-error.
20700
239da61d
GM
207012011-04-16 Glenn Morris <rgm@gnu.org>
20702
20703 * progmodes/f90.el: Use lexical-binding.
20704 (f90-get-correct-indent): Remove unnecessary local variable `cont'.
20705
8b05752a
SM
207062011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
20707
daca8ba5
SM
20708 * mail/sendmail.el (mail-mode-map): Use completion-at-point.
20709 (mail-mode): Setup mailalias completion here instead.
20710 * mail/mailalias.el: Use lexical-binding.
20711 (pattern, mailalias-done): Declare dynamic.
20712 (mail-completion-at-point-function): New function, from mail-complete.
20713 (mail-complete): Use it.
20714 (mail-completion-expand): New function.
20715 (mail-get-names): Use it.
20716 (mail-directory, mail-directory-process, mail-directory-stream):
20717 Don't use `pattern' for lexically bound arg.
20718
6f542485
SM
20719 * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
20720
037e7c3f
SM
20721 * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
20722 (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
20723 (hfy-etags-cmd-alist): Don't eval-and-compile any more.
20724
8b05752a
SM
20725 * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
20726 (byte-save-window-excursion, byte-temp-output-buffer-setup)
20727 (byte-interactive-p): Define them again, for use when inlining
20728 old code.
20729
49093f60
JB
207302011-04-15 Juanma Barranquero <lekktu@gmail.com>
20731
20732 * loadup.el: Use `string-to-number', not `string-to-int'.
20733
b5b8e7de
SM
207342011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
20735
20736 * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
20737 gud-gdb-complete-command.
20738 (gud-gdb-completions): New function, from gud-gdb-complete-command.
20739 (gud-gdb-completion-at-point): New function.
20740 (gud-gdb-completions): Remove.
20741
f42efeb5
MA
207422011-04-14 Michael Albinus <michael.albinus@gmx.de>
20743
49093f60
JB
20744 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
20745 when the scripts fail. Use `tramp-do-file-attributes-with-ls' then.
20746 (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
20747 whether `executable-find' is bound.
f42efeb5
MA
20748
20749 * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
20750
e240cc21
SM
207512011-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
20752
20753 * minibuffer.el (completion-in-region-mode-predicate)
20754 (completion-in-region-mode--predicate): New vars.
20755 (completion-in-region, completion-in-region--postch)
20756 (completion-in-region-mode): Use them.
20757 (completion--capf-wrapper): Also return the hook function.
20758 (completion-at-point, completion-help-at-point):
20759 Adjust and provide a predicate.
c2bd2ab0
SM
20760
20761 Preserve arg names for advice of subr and lexical functions (bug#8457).
20762 * help-fns.el (help-function-arglist): Consolidate the subr and
20763 new-byte-code cases. Add argument `preserve-names' to extract names
20764 from the docstring when needed.
20765 * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
20766 (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
20767 (ad-arglist): Use help-function-arglist's new arg.
20768 (ad-definition-type): Use cond.
20769
c183f693
JB
207702011-04-13 Juanma Barranquero <lekktu@gmail.com>
20771
06641a47
JB
20772 * autorevert.el (auto-revert-handler):
20773 Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
20774 which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
20775 Don't quote lambda.
20776
c183f693
JB
20777 * image-mode.el (image-transform-set-scale):
20778 Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
20779
1e3b6001
G
207802011-04-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
20781
20782 * net/network-stream.el (network-stream-open-starttls): Only do
e9fce1ac 20783 opportunistic STARTTLS upgrades if we have built-in GnuTLS support.
1e3b6001
G
20784 Upgrades via gnutls-cli are too slow to be done opportunistically.
20785
2d6af8dd
JB
207862011-04-12 Juanma Barranquero <lekktu@gmail.com>
20787
20788 * dframe.el (dframe-current-frame): Remove spurious quote.
20789
c0749a51
GM
207902011-04-12 Glenn Morris <rgm@gnu.org>
20791
088d0d61
GM
20792 * calendar/cal-tex.el (cal-tex-end-document):
20793 Try to automatically use latin1 input if needed.
20794
c0749a51
GM
20795 * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
20796 Don't try to cons a mark onto an empty element.
20797
5c90fde0
LL
207982011-04-11 Leo Liu <sdl.web@gmail.com>
20799
20800 * ido.el (ido-buffer-internal): Allow method 'kill for virtual
20801 buffers.
20802 (ido-kill-buffer-at-head): Support killing virtual buffers.
20803
369e974d
CY
208042011-04-10 Chong Yidong <cyd@stupidchicken.com>
20805
20806 * minibuffer.el (completion-show-inline-help): New var.
20807 (completion--do-completion, minibuffer-complete)
daca8ba5
SM
20808 (minibuffer-force-complete, minibuffer-complete-word):
20809 Inhibit minibuffer messages if completion-show-inline-help is nil.
369e974d
CY
20810
20811 * icomplete.el (icomplete-mode): Bind completion-show-inline-help
20812 to avoid interference from inline help (Bug#5849).
20813
37f1c930
LL
208142011-04-10 Leo Liu <sdl.web@gmail.com>
20815
099c39a4
JB
20816 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
20817 Fix typo.
37f1c930 20818
a32d4040
CY
208192011-04-09 Chong Yidong <cyd@stupidchicken.com>
20820
20821 * image-mode.el (image-toggle-display-image): Signal an error if
20822 not in Image mode.
20823 (image-transform-mode, image-transform-resize)
20824 (image-transform-set-rotation): Doc fix.
daca8ba5 20825 (image-transform-set-resize): Delete.
a32d4040
CY
20826 (image-transform-set-scale, image-transform-fit-to-height)
20827 (image-transform-fit-to-width): Handle image-toggle-display-image
20828 and image-transform-resize directly.
20829
099c39a4 208302011-04-08 Sho Nakatani <lay.sakura@gmail.com>
d7b89879
TH
20831
20832 * doc-view.el (doc-view-fit-width-to-window)
099c39a4
JB
20833 (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
20834 New functions for fitting the shown image to the Emacs window size.
d7b89879
TH
20835 (doc-view-mode-map): Add bindings for the new functions.
20836
099c39a4 208372011-04-08 Juanma Barranquero <lekktu@gmail.com>
ddc20cdb 20838
4d61f28d 20839 * vc/vc-annotate.el (vc-annotate-show-log-revision-at-line):
ddc20cdb
JB
20840 Fix typo in docstring.
20841
3726838a
EZ
208422011-04-08 Eli Zaretskii <eliz@gnu.org>
20843
04f33f1e
EZ
20844 * files.el (file-size-human-readable): Produce one digit after
20845 decimal, like "ls -lh" does.
20846
20847 * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
20848 the file size representation.
20849
3726838a
EZ
20850 * simple.el (list-processes): If async subprocesses are not
20851 available, error out with a clear error message.
20852
cbb59342
CY
208532011-04-08 Chong Yidong <cyd@stupidchicken.com>
20854
20855 * help.el (help-form-show): New function, to be called from C.
20856 Put help-form output in a buffer named differently than *Help*.
20857
e3971c44
EZ
208582011-04-08 Eli Zaretskii <eliz@gnu.org>
20859
20860 * files.el (file-size-human-readable): New function.
20861
20862 * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
20863 computing the representation inline. Don't require `cl'.
20864
12544bbe
GM
208652011-04-08 Glenn Morris <rgm@gnu.org>
20866
a1de6c6a
GM
20867 * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
20868
3c4671f4
GM
20869 * net/browse-url.el (browse-url-firefox):
20870 Test system-type, not system-configuration.
20871
b605679c
GM
20872 * vc/log-edit.el (log-edit-empty-buffer-p): New function.
20873 (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
20874 Use log-edit-empty-buffer-p. (Bug#7598)
20875
56442f0c
GM
20876 * net/rlogin.el (rlogin-process-connection-type): Simplify.
20877 (rlogin-mode-map): Initialize in the defvar.
20878 (rlogin): Use ignore-errors.
20879
12544bbe
GM
20880 * replace.el (occur-mode-map): Some fixes for menu items.
20881
eb237b0f
AH
208822011-04-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
20883
20884 * play/morse.el (denato-region): Handle varying case. (Bug#8386)
20885
7d668f2c
CY
208862011-04-06 Chong Yidong <cyd@stupidchicken.com>
20887
e67a13ab
CY
20888 * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
20889 issuing unused warnings.
20890
20891 * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
20892 macro directly.
20893
7d668f2c
CY
20894 * simple.el: Lisp reimplement of list-processes. Based on an
20895 earlier reimplementation by Leo Liu, but using tabulated-list.el.
20896 (process-menu-mode): New major mode.
20897 (list-processes--refresh, list-processes):
20898 (process-menu-visit-buffer): New functions.
20899
20900 * files.el (save-buffers-kill-emacs): Don't assume any return
20901 value of list-processes, which is undocumented anyway.
20902
a83ec3c9
CY
209032011-04-06 Chong Yidong <cyd@stupidchicken.com>
20904
20905 * emacs-lisp/tabulated-list.el: New file.
20906
e91a96fe
CY
20907 * emacs-lisp/package.el: Use Tabulated List mode.
20908 (package-menu-mode-map): Inherit from tabulated-list-mode-map.
20909 (package-menu-mode): Derive from tabulated-list-mode. Set up the
20910 table format using Tabulated List mode variables.
20911 (package--push): New macro, replacing package-list-maybe-add.
20912 (package-menu--generate): Use package--push. Renamed from
20913 package--generate-package-list.
20914 (package-menu-refresh, list-packages): Use it.
daca8ba5 20915 (package-menu--print-info): Rename from package-print-package.
e91a96fe 20916 Return insertion data instead of inserting it directly.
099c39a4
JB
20917 (package-menu-describe-package, package-menu-execute):
20918 Use tabulated-list-get-id.
e91a96fe
CY
20919 (package-menu-mark-delete, package-menu-mark-install)
20920 (package-menu-mark-unmark, package-menu-backup-unmark)
099c39a4
JB
20921 (package-menu-mark-obsolete-for-deletion):
20922 Use tabulated-list-put-tag.
e91a96fe
CY
20923 (package--list-packages, package-menu-revert)
20924 (package-menu-get-package, package-menu-get-version)
20925 (package-menu-sort-by-column): Functions deleted.
20926 (package-menu-package-list, package-menu-sort-key): Vars deleted.
20927 (package-menu--status-predicate, package-menu--version-predicate)
20928 (package-menu--name-predicate)
20929 (package-menu--description-predicate): Handle arguments in the
20930 Tabulated List format.
20931 (package-list-packages-no-fetch): Call list-packages.
20932
3e214b50
JB
209332011-04-06 Juanma Barranquero <lekktu@gmail.com>
20934
20935 * files.el (after-find-file-from-revert-buffer): Remove variable.
c9d0ec6d 20936 (after-find-file): Don't bind it.
3e214b50
JB
20937 (revert-buffer-in-progress-p): New variable.
20938 (revert-buffer): Bind it.
20939 Pass nil for `after-find-file-from-revert-buffer'.
20940
20941 * saveplace.el (save-place-find-file-hook): Use new variable
20942 `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
20943
3f0f1700
GM
209442011-04-06 Glenn Morris <rgm@gnu.org>
20945
c0274801
GM
20946 * Makefile.in (AUTOGEN_VCS): New variable.
20947 (autoloads): Use $AUTOGEN_VCS.
20948
3f0f1700
GM
20949 * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
20950 * calendar/calendar.el (calendar-mode-map):
20951 Check for toolkit scroll bars. (Bug#8305)
20952
41ea9e48
CY
209532011-04-05 Chong Yidong <cyd@stupidchicken.com>
20954
20955 * minibuffer.el (completion-in-region--postch)
20956 (completion-in-region-mode): Remove unnecessary messages.
20957
6194c800
JB
209582011-04-05 Juanma Barranquero <lekktu@gmail.com>
20959
33256f14
JB
20960 * font-lock.el (font-lock-refresh-defaults):
20961 Don't bind `hi-lock--inhibit-font-lock-hook', removed in
20962 2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
20963
6194c800
JB
20964 * info.el (Info-directory-list, Info-read-node-name-2)
20965 (Info-split-parameter-string): Doc fixes.
20966 (Info-virtual-nodes): Reflow docstring.
20967 (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
20968 (Info-apropos-toc-nodes, info-finder, Info-get-token)
20969 (Info-find-emacs-command-nodes, Info-speedbar-key-map):
20970 Fix typos in docstrings.
20971 (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
20972 (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
20973 (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
20974 (Info-restore-desktop-buffer): Mark unused parameters.
20975 (Info-directory-find-file, Info-directory-find-node)
20976 (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
20977 (Info-virtual-index-find-node, Info-apropos-find-file)
20978 (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
33256f14 20979 Mark unused parameters; fix typos in docstrings.
6194c800
JB
20980 (Info-virtual-index): Remove unused local variable `nodename'.
20981
b87a8200 209822011-04-05 Deniz Dogan <deniz@dogan.se>
0f6ee7d2 20983
b87a8200
DD
20984 * net/rcirc.el: Update my e-mail address.
20985 (rcirc-mode-map): Remove M-o binding.
0f6ee7d2 20986
3b2ff876
CY
209872011-04-05 Chong Yidong <cyd@stupidchicken.com>
20988
20989 * startup.el (command-line): Save the cursor's theme-face
20990 directly, instead of using face-override-spec.
20991
20992 * custom.el (load-theme): Minor optimization in assigning faces.
20993
8d17e7ca
JB
209942011-04-04 Juanma Barranquero <lekktu@gmail.com>
20995
20996 * help-fns.el (describe-variable): Complete all variables having
20997 documentation, including keywords.
20998 http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
20999
2fbc1934
JB
210002011-04-04 Juanma Barranquero <lekktu@gmail.com>
21001
21002 Convert to lexical-binding.
21003
21004 * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
21005 (bs--get-marked-string, bs--get-modified-string)
21006 (bs--get-readonly-string, bs--get-size-string, bs--get-name)
21007 (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
21008 (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
21009
21010 * ehelp.el (electric-help-execute-extended)
21011 (electric-help-ctrl-x-prefix):
21012 * hexl.el (hexl-revert-buffer-function):
21013 * linum.el (linum-after-change, linum-after-scroll):
21014 * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
21015
21016 * help-fns.el (help-describe-category-set): Remove unused ERR variable.
21017
74f50695
DU
210182011-04-04 Daiki Ueno <ueno@unixuser.org>
21019
21020 * epa-dired.el:
21021 * epa-mail.el:
21022 * epa-hook.el:
21023 * epa-file.el:
21024 * epa.el:
21025 * epg.el: Use lexical binding.
21026
c11325f7
CY
210272011-04-03 Chong Yidong <cyd@stupidchicken.com>
21028
0d9e9a12
CY
21029 * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
21030
c11325f7 21031 * textmodes/flyspell.el (flyspell-word): Recognize default
daca8ba5
SM
21032 dictionary case for flyspell-mark-duplications-exceptions.
21033 Use regexp matching for languages.
c11325f7
CY
21034 (flyspell-mark-duplications-exceptions): Add "that" and "had" for
21035 default dictionary (Bug#7926).
21036
da91b5f2
CY
210372011-04-02 Chong Yidong <cyd@stupidchicken.com>
21038
099c39a4
JB
21039 * emacs-lisp/package.el (package--with-work-buffer):
21040 Recognize https URLs.
da91b5f2 21041
099c39a4
JB
21042 * net/network-stream.el: Move from gnus/proto-stream.el.
21043 Change prefix to network-stream throughout.
da91b5f2
CY
21044 (open-protocol-stream): Merge into open-network-stream, leaving
21045 open-protocol-stream as an alias. Handle nil BUFFER args.
21046
21047 * subr.el (open-network-stream): Move to net/network-stream.el.
21048
afa8e9f6
GM
210492011-04-02 Glenn Morris <rgm@gnu.org>
21050
1d2e369d
GM
21051 * find-dired.el (find-exec-terminator): New option.
21052 (find-ls-option): Test for -ls support.
21053 (find-ls-subdir-switches): Test for -b in find-ls-option.
21054 (find-dired, find-grep-dired): Doc fixes.
21055 (find-dired): Use find-exec-terminator.
21056
8abb7da8 21057 * find-dired.el (find-ls-option, find-ls-subdir-switches)
e7a395b5
GM
21058 (find-grep-options): Do not autoload these defcustoms, remove purecopy.
21059 (find-name-arg): Remove purecopy.
8abb7da8 21060
f3ca7378
GM
21061 * progmodes/grep.el (grep-find-use-xargs): Doc fix.
21062 (grep-compute-defaults): Check for `-exec COMMAND +' support.
21063 Set grep-find-use-xargs, grep-find-command, and grep-find-template
21064 accordingly. Don't add the null-device if not needed.
21065
afa8e9f6
GM
21066 * files.el (save-some-buffers): Doc fix.
21067
35eae264
EZ
210682011-04-02 Eli Zaretskii <eliz@gnu.org>
21069
21070 * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
21071
26b51db5
JB
210722011-04-01 Juanma Barranquero <lekktu@gmail.com>
21073
21074 * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
21075 Use `dolist' rather than `mapcar'.
21076
7200d79c
SM
210772011-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
21078
03408648 21079 Add lexical binding.
7200d79c 21080
03408648
SM
21081 * subr.el (apply-partially): Use new closures rather than CL.
21082 (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
21083 (dolist, dotimes): Use slightly different expansion for lexical code.
21084 (functionp): Move to C.
21085 (letrec): New macro.
21086 (with-wrapper-hook): Use it and apply-partially instead of CL.
21087 (eval-after-load): Preserve lexical-binding.
21088 (save-window-excursion, with-output-to-temp-buffer): Turn them
21089 into macros.
7200d79c 21090
03408648
SM
21091 * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
21092
21093 * help-fns.el (help-split-fundoc): Return nil if there's nothing else
21094 than the arglist.
21095 (help-add-fundoc-usage): Don't add `Not documented'.
21096 (help-function-arglist): Handle closures, subroutines, and new
21097 byte-code-functions.
21098 (help-make-usage): Remove leading underscores.
21099 (describe-function-1): Handle closures.
21100 (describe-variable): Use special-variable-p for completion.
21101
21102 * files.el (lexical-binding): Declare safe.
f488fb65 21103
03408648
SM
21104 * emacs-lisp/pcase.el: Don't use destructuring-bind.
21105 (pcase--memoize): Rename from pcase-memoize. Change weakness.
21106 (pcase): Add `let' pattern.
21107 Change memoization so it actually works.
21108 (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
21109 (pcase--u1) <guard, pred>: Fix possible shadowing problem.
21110 <let>: New case.
f488fb65 21111
03408648
SM
21112 * emacs-lisp/macroexp.el: Use lexical binding.
21113 (macroexpand-all-1): Check obsolete macros. Expand compiler-macros.
21114 Don't convert ' to #' without checking that it's indeed quoting
21115 a lambda.
21116
21117 * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
f488fb65 21118 Use eval-sexp-add-defvars.
03408648
SM
21119 (eval-sexp-add-defvars): New fun.
21120
21121 * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
21122
21123 * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
21124 Don't autoload.
21125 (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
21126 than the internal `byte-compile-lambda'.
21127 (defmethod): Don't hide code under quotes.
21128 (eieio-defmethod): New `code' argument.
21129
21130 * emacs-lisp/eieio-comp.el: Remove.
21131
21132 * emacs-lisp/edebug.el (edebug-eval-defun)
21133 (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
21134 (edebug-toggle): Avoid `eval'.
21135
21136 * emacs-lisp/disass.el (disassemble-internal): Handle new
21137 `closure' objects.
21138 (disassemble-1): Handle new byte codes.
21139
21140 * emacs-lisp/cl.el (pushnew): Silence warning.
21141
21142 * emacs-lisp/cl-macs.el (cl-byte-compile-block)
21143 (cl-byte-compile-throw): Remove.
21144 (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
21145
21146 * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
21147 closures.
21148
21149 * emacs-lisp/cconv.el: New file.
21150
21151 * emacs-lisp/bytecomp.el: Use lexical binding instead of
21152 a "bytecomp-" prefix. Macroexpand everything as a separate phase.
21153 (byte-compile-initial-macro-environment):
21154 Handle declare-function here.
21155 (byte-compile--lexical-environment): New var.
21156 (byte-stack-ref, byte-stack-set, byte-discardN)
21157 (byte-discardN-preserve-tos): New lap codes.
21158 (byte-interactive-p): Don't use any more.
21159 (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
21160 New macros.
21161 (byte-compile-lapcode): Use them and handle new lap codes.
21162 (byte-compile-obsolete): Remove.
21163 (byte-compile-arglist-signature): Handle new byte-code arg"lists".
21164 (byte-compile-arglist-warn): Check late def of inlinable funs.
21165 (byte-compile-cl-warn): Don't silence warnings for compiler-macros
21166 since they should have been expanded by now.
21167 (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
21168 (byte-compile-from-buffer): Remove unused second arg.
21169 (byte-compile-preprocess): New function.
21170 (byte-compile-toplevel-file-form): New function to distinguish
21171 file-form calls from outside from file-form calls from hunk-handlers.
21172 (byte-compile-file-form): Simplify.
21173 (byte-compile-file-form-defsubst): Remove.
21174 (byte-compile-file-form-defmumble): Simplify now that
21175 byte-compile-lambda always returns a byte-code-function.
21176 (byte-compile): Preprocess.
21177 (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
21178 Remove, not used any more.
21179 (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
21180 (byte-compile-make-args-desc): New funs.
21181 (byte-compile-lambda): Handle lexical functions. Always return
21182 a byte-code-function.
21183 (byte-compile-reserved-constants): New var, to make up room for
21184 closed-over variables.
21185 (byte-compile-constants-vector): Obey it.
21186 (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
21187 (byte-compile-macroexpand-declare-function): New function.
21188 (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
21189 byte-code-functions.
21190 (byte-compile-form): Check obsolescence here.
21191 (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
21192 (byte-compile-variable-ref): Remove.
21193 (byte-compile-dynamic-variable-op): New fun.
21194 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
21195 (byte-compile-variable-set): New funs.
21196 (byte-compile-discard): Add 2 args.
21197 (byte-compile-stack-ref, byte-compile-stack-set)
21198 (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
21199 (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
21200 macroexpand-all instead.
21201 (byte-compile-quote-form): Remove.
21202 (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
21203 (byte-compile-bind, byte-compile-unbind): New funs.
21204 (byte-compile-let): Handle let* and lexical binding.
21205 (byte-compile-let*): Remove.
21206 (byte-compile-catch, byte-compile-unwind-protect)
21207 (byte-compile-track-mouse, byte-compile-condition-case):
21208 Handle a new :fun-body form, used for lexical scoping.
21209 (byte-compile-save-window-excursion)
21210 (byte-compile-with-output-to-temp-buffer): Remove.
21211 (byte-compile-defun): Simplify.
21212 (byte-compile-stack-adjustment): New fun.
21213 (byte-compile-out): Use it.
21214 (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
21215
21216 * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
21217 handler any more.
21218
21219 * emacs-lisp/byte-opt.el: Use lexical binding.
21220 (byte-inline-lapcode): Remove (to bytecomp).
21221 (byte-compile-inline-expand): Pay attention to inlining to/from
21222 lexically bound code.
21223 (byte-compile-unfold-lambda): Don't handle byte-code-functions
21224 any more.
21225 (byte-optimize-form-code-walker): Don't handle save-window-excursion
21226 any more and don't call compiler-macros.
21227 (byte-compile-splice-in-already-compiled-code): Remove.
21228 (byte-code): Don't inline any more.
21229 (disassemble-offset): Receive `bytes' as argument rather than via
21230 dynamic scoping.
21231 (byte-compile-tag-number): Declare before first use.
21232 (byte-decompile-bytecode-1): Handle new byte-codes, don't change
21233 `return' even if make-spliceable.
21234 (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
21235 obsolete interactive-p.
21236 (byte-optimize-lapcode): Optimize new lap-codes.
21237 Don't trip up on new form of `byte-constant' lap code.
21238
21239 * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
21240
21241 * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
21242
21243 * custom.el (custom-initialize-default, custom-declare-variable):
21244 Use `defvar'.
21245
21246 * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
21247 New variables.
21248 (compile-onefile, .el.elc, compile-calc, recompile): Use them.
21249 (COMPILE_FIRST): Add macroexp and cconv.
21250 * makefile.w32-in: Mirror changes in Makefile.in.
21251
21252 * vc/cvs-status.el:
21253 * vc/diff-mode.el:
21254 * vc/log-edit.el:
21255 * vc/log-view.el:
21256 * vc/smerge-mode.el:
21257 * textmodes/bibtex-style.el:
090bd7cb 21258 * textmodes/css-mode.el:
03408648
SM
21259 * startup.el:
21260 * uniquify.el:
da91b5f2
CY
21261 * minibuffer.el:
21262 * newcomment.el:
21263 * reveal.el:
21264 * server.el:
21265 * mpc.el:
21266 * emacs-lisp/smie.el:
21267 * doc-view.el:
21268 * dired.el:
03408648
SM
21269 * abbrev.el: Use lexical binding.
21270
0f0c1f27
EZ
212712011-04-01 Eli Zaretskii <eliz@gnu.org>
21272
21273 * info.el (info-display-manual): New function.
21274
c82b2579
SM
212752011-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
21276
21277 * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
21278
221ddf68
TH
212792011-03-31 Tassilo Horn <tassilo@member.fsf.org>
21280
21281 * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
2fbc1934 21282 an entry for that server in rcirc-authinfo. (Bug#8385)
221ddf68 21283
cba6e77e
GM
212842011-03-31 Glenn Morris <rgm@gnu.org>
21285
e040639f
GM
21286 * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
21287
cba6e77e
GM
21288 * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
21289
6d0f1c9e
CS
212902011-03-30 Christoph Scholtes <cschol2112@googlemail.com>
21291
21292 * progmodes/python.el (python-default-interpreter)
21293 (python-python-command-args, python-jython-command-args)
21294 (python-which-shell, python-which-args, python-which-bufname)
21295 (python-file-queue, python-comint-output-filter-function)
21296 (python-toggle-shells, python-shell): Remove obsolete defcustoms,
21297 variables and functions.
21298
3e2d70fd
SM
212992011-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
21300
21301 * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
21302 (completion-in-region-mode): New minor mode.
21303 (completion-in-region): Use it.
21304 (completion-in-region--data, completion-in-region-mode-map): New vars.
21305 (completion-in-region--postch): New function.
21306 (completion--capf-misbehave-funs, completion--capf-safe-funs):
21307 New vars.
21308 (completion--capf-wrapper): New function.
21309 (completion-at-point): Use it to track well-behavedness of
21310 hook functions.
21311 (completion-help-at-point): New command.
21312
f3e4086c
JM
213132011-03-30 Jason Merrill <jason@redhat.com> (tiny change)
21314
21315 * vc/add-log.el (add-change-log-entry): Don't use whitespace
21316 syntax class to search for whitespace on a single line
21317 (Message-ID: <4D938140.4030905@redhat.com>).
21318
eb7ffc14
LL
213192011-03-30 Leo Liu <sdl.web@gmail.com>
21320
21321 * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
21322 New commands.
21323 (edit-abbrevs-map): Bind them here.
21324 (write-abbrev-file): New optinal arg VERBOSE. (Bug#5937)
21325
d806ab68
KM
213262011-03-29 Ken Manheimer <ken.manheimer@gmail.com>
21327
21328 * allout.el (allout-hide-by-annotation, allout-flag-region):
21329 Reduce possibility of overlay leakage by making them volatile.
21330
21331 * allout-widgets.el (allout-widgets-tally): Define as nil so the
21332 hash is not shared between buffers. Mode initialization is
21333 responsible for giving it a useful starting value.
21334 (allout-item-span): Reduce possibility of overlay leakage by
21335 making them volatile.
21336 (allout-widgets-count-buttons-in-region): Add diagnostic function
21337 for tracking down button overlay leaks.
21338
ea622834
LL
213392011-03-29 Leo Liu <sdl.web@gmail.com>
21340
21341 * ido.el (ido-read-internal): Use the default history var
21342 minibuffer-history if no HISTORY is specified.
21343
b62f8267
G
213442011-03-28 Brian T. Sniffen <bsniffen@akamai.com> (tiny change)
21345
03408648
SM
21346 * net/imap.el (imap-shell-open, imap-process-connection-type):
21347 Use imap-process-connection-type for 'shell' streams as well as
b62f8267
G
21348 Kerberos, SSL, other subprocesses.
21349
947b6566
LL
213502011-03-28 Leo Liu <sdl.web@gmail.com>
21351
21352 * abbrev.el (abbrev-table-empty-p): New function.
21353 (prepare-abbrev-list-buffer): Place empty abbrev tables after
21354 nonempty ones. (Bug#5937)
21355
5ffb62aa
JD
213562011-03-27 Jan Djärv <jan.h.d@swipnet.se>
21357
21358 * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
21359
7a097943
LL
213602011-03-27 Leo Liu <sdl.web@gmail.com>
21361
21362 * ansi-color.el (ansi-color-names-vector): Allow cons cell value
21363 for foreground and background colors.
21364 (ansi-color-make-color-map): Adapt.
21365
c5b40130
LL
213662011-03-25 Leo Liu <sdl.web@gmail.com>
21367
1f48f7d2
LL
21368 * midnight.el (midnight-time-float): Remove. Note it calculates
21369 the microsecond component incorrectly and seconds-to-time does the
21370 same job.
625897ec 21371 Remove redundant (require 'timer).
1f48f7d2 21372
c5b40130
LL
21373 * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
21374 (ido-completions): Remove unused arguments. (Bug#8329)
21375
d86d2721
SM
213762011-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
21377
21378 * minibuffer.el (completion--flush-all-sorted-completions):
21379 Remove itself from hook.
21380 (completion-at-point): Let the functions perform the completion
21381 immediately and return nil or t.
21382 * comint.el (comint-dynamic-complete-functions): Now identical to
21383 completion-at-point-functions.
21384 (comint-dynamic-list-input-ring): Remove unused var `index'.
21385 (comint--match-partial-filename, comint--unquote&expand-filename):
21386 New funs, split from comint-match-partial-filename.
21387 (comint-dynamic-complete): Use completion-at-point.
21388 (comint-dynamic-complete-filename): Use comint--match-partial-filename.
21389
e8974c48
DA
213902011-03-24 Drew Adams <drew.adams@oracle.com>
21391
21392 * thingatpt.el: Support `defun'.
21393
def71b5e
LL
213942011-03-23 Leo Liu <sdl.web@gmail.com>
21395
cb5af48e
LL
21396 * abbrevlist.el: Move to obsolete/abbrevlist.el.
21397
def71b5e
LL
21398 * help-mode.el (help-mode-finish): Tweak regexp.
21399
927c53e7
GM
214002011-03-23 Glenn Morris <rgm@gnu.org>
21401
18d05bed
GM
21402 * eshell/esh-opt.el (eshell-eval-using-options):
21403 Do not bind unused local variable `eshell-option-stub'.
21404
927c53e7
GM
21405 * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
21406
9d0da923
JB
214072011-03-22 Juanma Barranquero <lekktu@gmail.com>
21408
21409 * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
21410 keymap variable in `with-no-warnings' to avoid a warning when the
21411 keymap has been already `defconst'ed.
21412
4b978a67
LL
214132011-03-22 Leo Liu <sdl.web@gmail.com>
21414
21415 * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
21416 encode all chars in abbrevs; otherwise use emacs-mule or
21417 utf-8-emacs. (Bug#8308)
21418
5fd62452
JB
214192011-03-22 Juanma Barranquero <lekktu@gmail.com>
21420
0b1596c6
JB
21421 * simple.el (backward-delete-char-untabify):
21422 Avoid warning about using `delete-backward-char'.
21423
5fd62452
JB
21424 * image.el (image-type-file-name-regexps): Make it variable.
21425 `imagemagick-register-types' modifies it, and the user may want
21426 to add new extensions for known image types.
21427 (imagemagick-register-types): Throw error if not using ImageMagick.
21428
0b4e93f1
LL
214292011-03-22 Leo Liu <sdl.web@gmail.com>
21430
21431 * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
21432 located before rcirc-prompt-end-marker.
21433 (rcirc-complete): Error if point is not after rcirc prompt.
21434 Handle the case when table is nil.
9882e214 21435 (rcirc-user-authenticated): Define to fix compiler warning.
0b4e93f1 21436
fccee4ab
CY
214372011-03-22 Chong Yidong <cyd@stupidchicken.com>
21438
21439 * custom.el (custom--inhibit-theme-enable): Make it affect only
21440 custom-theme-set-variables and custom-theme-set-faces.
21441 (provide-theme): Ignore custom--inhibit-theme-enable.
21442 (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
21443 (custom-enabling-themes): Delete variable.
d86d2721
SM
21444 (enable-theme): Accept only loaded themes as arguments.
21445 Ignore the special custom-enabled-themes variable.
fccee4ab
CY
21446 (custom-enabled-themes): Forbid themes from setting this.
21447 Eliminate use of custom-enabling-themes.
21448 (custom-push-theme): Quote "changed" custom var entry.
0357c7ae 21449
af896da6
LL
214502011-03-21 Leo Liu <sdl.web@gmail.com>
21451
21452 * ido.el (ido-read-internal): Add ido-selected to history instead
21453 of user input.
21454
78f64af0
SM
214552011-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
21456
21457 * subr.el (deferred-action-list, deferred-action-function):
21458 Mark obsolete.
21459
b16ac1ec
LL
214602011-03-21 Leo Liu <sdl.web@gmail.com>
21461
810f7698
LL
21462 * vc/log-view.el: Remove (require 'wid-edit), not needed after the
21463 change on 2011-02-13 (bug#8309).
21464
b16ac1ec
LL
21465 * minibuffer.el (read-file-name-function): Change default value.
21466 (read-file-name--defaults): Rename from read-file-name-defaults.
21467 (read-file-name-default): Rename from read-file-name.
21468 (read-file-name): Call read-file-name-function.
21469
4e05e67e
GM
214702011-03-21 Glenn Morris <rgm@gnu.org>
21471
21472 * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
21473 Doc fixes.
21474
4359915b
CY
214752011-03-21 Chong Yidong <cyd@stupidchicken.com>
21476
21477 * cus-theme.el: Add missing provide statement.
21478 (customize-create-theme): Extract theme value correctly.
21479 (custom-theme-visit-theme): Autoload.
21480 (customize-create-theme): Prompt before inserting default faces.
21481
1fe275ee
JB
214822011-03-20 Jay Belanger <jay.p.belanger@gmail.com>
21483
21484 * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
21485 units and musical notes.
21486
cd394be1 214872011-03-20 Leo Liu <sdl.web@gmail.com>
3ec03f7e
LL
21488
21489 * ido.el (ido-read-internal): Use completing-read-default.
21490 (ido-completing-read): Fix compatibility with completing-read.
21491
7d476bde
CO
214922011-03-20 Christian Ohler <ohler@gnu.org>
21493
21494 * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
21495 (ert-delete-all-tests): Use `called-interactively-p' rather than
21496 `interactive-p'.
21497 (ert--make-xrefs-region): Respect END.
21498
fe0fb33e
CY
214992011-03-19 Chong Yidong <cyd@stupidchicken.com>
21500
ff854b0b
CY
21501 * dired-aux.el (dired-create-directory): Signal an error if the
21502 directory already exists (Bug#8246).
21503
fe0fb33e
CY
21504 * facemenu.el (list-colors-display): Call list-faces-display
21505 inside with-help-window.
21506 (list-colors-print): Use display property to align the final
21507 column, instead of checking window-width.
21508
576bce32
EZ
215092011-03-19 Eli Zaretskii <eliz@gnu.org>
21510
4d61f28d 21511 * vc/emerge.el (emerge-metachars): Separate value for ms-dos and
576bce32
EZ
21512 windows-nt systems.
21513 (emerge-protect-metachars): Quote correctly for ms-dos and
21514 windows-nt systems.
21515
89c41d68 215162011-03-19 Ralph Schleicher <rs@ralph-schleicher.de>
e6ce307c
RS
21517
21518 * info.el (info-initialize): Replace all uses of `:' with
21519 path-separator for compatibility with non-Unix systems.
21520 Cache quoting of path-separator. (Bug#8258)
21521
b14e3e21 215222011-03-19 Juanma Barranquero <lekktu@gmail.com>
ad22b7f7
JB
21523
21524 * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
21525 (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
21526 (mouse-avoidance-mode): Fix typos in docstrings.
21527
4525ce3e
CY
215282011-03-19 Chong Yidong <cyd@stupidchicken.com>
21529
21530 * startup.el (package-subdirectory-regexp): Move from package.el.
21531 Omit \\` and \\', and let callers add them.
21532
21533 * emacs-lisp/package.el (package-strip-version)
21534 (package-load-all-descriptors): Add \\` and \\' to
21535 package-subdirectory-regexp before using it.
21536 (package-untar-buffer): New arg DIR; ensure that file untars only
21537 into this expected directory. Remove superfluous delete-region.
21538 (package-unpack): Caller changed.
21539 (package-tar-file-info): Use package-subdirectory-regexp.
21540
a904a09a 215412011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
1518e4f0 21542
a904a09a
SM
21543 * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
21544 diff-mode-shared-map (bug#8284).
21545 (diff-mode-shared-map): Re-introduce some bindings that were problematic.
1518e4f0
G
21546
215472011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
21548
21549 * calendar/time-date.el (format-seconds): Use assoc instead of
21550 assoc-string, since assoc-string doesn't exist in XEmacs.
21551
171fc304
JB
215522011-03-17 Juanma Barranquero <lekktu@gmail.com>
21553
21554 * custom.el (custom-known-themes): Reflow docstring.
21555 (custom-theme-load-path): Fix typo in docstring.
21556 (load-theme): Fix typo in error message.
21557 (custom-available-themes, custom-variable-theme-value):
21558 Use `let', not `let*'.
21559
d71990a1
JB
215602011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
21561
21562 * calc/README: Mention inclusion of musical notes.
21563
21564 * calc/calc-units.el (calc-lu-quant): Rename from
21565 `calc-logunits-quantity'.
21566 (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
21567 (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
21568 (calc-db): Rename from `calc-dblevel'.
21569 (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
21570 (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
21571 (calc-np): Rename from `calc-nplevel'.
21572 (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
21573 (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
21574 (calc-lu-plus): Rename from `calc-logunits-add'.
21575 (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
21576 (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
21577 (calc-lu-minus): Rename from `calc-logunits-sub'.
21578 (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
21579 (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
21580 (calc-lu-times): Rename from `calc-logunits-mul'.
21581 (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
21582 (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
21583 (calc-lu-divide): Rename from `calc-logunits-div'.
21584 (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
21585 (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
21586
21587 * calc/calc-ext.el (calc-init-extensions): Update the names of the
21588 functions being autoloaded.
21589
21590 * calc/calc.el (calc-lu-power-reference): Rename from
21591 `calc-logunits-power-reference'.
21592 (calc-lu-field-reference): Rename from
21593 `calc-logunits-field-reference'.
21594
7a71b18d
GM
21595 * calc/calc-help.el (calc-l-prefix-help):
21596 Mention musical note functions.
d71990a1 21597
40c2934b
SM
215982011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
21599
21600 * minibuffer.el (completion-all-sorted-completions):
21601 Use :completion-cycle-penalty text property if present.
21602
b0911414
KM
216032011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
21604
21605 * allout.el (allout-yank-processing): Adjust for new rebulleting
21606 regime so bullet being yanked is used without prompting the user
21607 for a choice.
21608
8a05b668
JB
216092011-03-16 Juanma Barranquero <lekktu@gmail.com>
21610
21611 * startup.el (command-line): Warn the user that _emacs is deprecated.
21612
5ba5fb81
JB
216132011-03-16 Juanma Barranquero <lekktu@gmail.com>
21614
21615 * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
21616 (delphi-verbose, delphi-comment-face, delphi-string-face)
21617 (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
21618 (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
21619 (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
21620 (delphi-new-comment-line, delphi-font-lock-defaults)
21621 (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
21622 Fix typos in docstrings.
21623
2dab465b
KM
216242011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
21625
5ba5fb81 21626 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
2dab465b
KM
21627 Invert the roles of character and string values for INSTEAD, so a
21628 string is used for the more common case of a defaulting prompt.
21629
0adf5618
SM
216302011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
21631
21632 * progmodes/ruby-mode.el (ruby-backward-sexp):
21633 * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
21634 * play/gamegrid.el (gamegrid-make-face):
21635 * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
21636 (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
21637 * notifications.el (notifications-notify):
21638 * net/xesam.el (xesam-search-engines):
21639 * net/quickurl.el (quickurl-list-insert):
21640 * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
21641
d72700e5
CY
216422011-03-15 Chong Yidong <cyd@stupidchicken.com>
21643
21644 * startup.el (command-line): Update package subdirectory regexp.
21645
49c5410a
SM
216462011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
21647
c6eee9aa
SM
21648 * allout.el (allout-abbreviate-flattened-numbering)
21649 (allout-mode-deactivate-hook): Fix up obsolescence "date".
21650
49c5410a
SM
21651 * subr.el (read-char-choice): Only show the cursor after the prompt,
21652 not after the answer.
21653
047b2bb9
KR
216542011-03-15 Kevin Ryde <user42@zip.com.au>
21655
21656 * help-fns.el (variable-at-point): Skip leading quotes, if any
21657 (bug#8253).
21658
0a57d256
SM
216592011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
21660
21661 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
21662 warning message.
21663
77c992bc
MA
216642011-03-14 Michael Albinus <michael.albinus@gmx.de>
21665
21666 * shell.el (shell): When called interactively, offer to change the
21667 shell file name on remote hosts.
21668
eebc475d
TZ
216692011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
21670
21671 * net/ldap.el (ldap-search-internal): Add `auth-source-search'
21672 integration for LDAP parameters. The host, base, user or binddn,
21673 and secret tokens can be specified in a netrc file, for instance.
21674 This is optional because an `auth-source' parameter must be
21675 specified in the search attributes.
21676
9d05d1ba
JB
216772011-03-13 Juanma Barranquero <lekktu@gmail.com>
21678
21679 * help.el (describe-mode): Link to the mode's definition (bug#8185).
21680
09d9db2c
GM
216812011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
21682
21683 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
21684 into declaration. Remove redundant and harmful binding.
21685
216862011-03-12 Eli Zaretskii <eliz@gnu.org>
21687
21688 * files.el (file-ownership-preserved-p): Pass `integer' as an
21689 explicit 2nd argument to `file-attributes'. If the file's owner
21690 is the Administrators group on Windows, and the current user is
21691 Administrator, consider that a match.
21692
21693 * server.el (server-ensure-safe-dir): Consider server directory
21694 safe on MS-Windows if its owner is the Administrators group while
21695 the current Emacs user is Administrator. Use `=' to compare
21696 numerical UIDs, since they could be integers or floats.
21697
219bd536
JB
216982011-03-12 Juanma Barranquero <lekktu@gmail.com>
21699
21700 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
21701
f3afd36b
MA
217022011-03-12 Michael Albinus <michael.albinus@gmx.de>
21703
21704 Sync with Tramp 2.2.1.
21705
21706 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
21707
21708 * net/trampver.el: Update release number.
21709
3aaaa6f1
SM
217102011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
21711
94642599
SM
21712 * progmodes/compile.el (compilation--previous-directory): Fix up
21713 various nil/dead-marker mismatches (bug#8014).
21714 (compilation-directory-properties, compilation-error-properties):
21715 Don't call it at a position past the one we're about to change.
21716
3aaaa6f1
SM
21717 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
21718 Disable obsolescence warnings in the file that declares it.
21719
14239447
KM
217202011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
21721
099c39a4
JB
21722 * allout-widgets.el (allout-widgets-tally):
21723 Initialize allout-widgets-tally as a hash table rather than nil to
21724 prevent mode-line redisplay warnings. Also, clarify the module
21725 description and fix a comment typo.
14239447 21726
135e287c
JB
217272011-03-11 Juanma Barranquero <lekktu@gmail.com>
21728
21729 * help-fns.el (describe-variable): Don't complete keywords.
21730 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
21731
ffbf300e
CY
217322011-03-10 Chong Yidong <cyd@stupidchicken.com>
21733
ba08b241
CY
21734 * emacs-lisp/package.el (package-version-join): Impose a standard
21735 string representation for pre/alpha/beta version lists.
21736 (package-unpack-single): Standardize the directory name by passing
21737 it through package-version-join.
21738 (package-strip-rcs-id): Accept any version string that does not
21739 signal an error in version-to-list.
ffbf300e 21740
f346fd6b
MA
217412011-03-10 Michael Albinus <michael.albinus@gmx.de>
21742
21743 * simple.el (delete-trailing-whitespace): Return nil for the
21744 benefit of `write-file-functions'.
21745
ccb55d27
GM
217462011-03-10 Glenn Morris <rgm@gnu.org>
21747
5ceaac0c
GM
21748 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
21749
02da65ff
GM
21750 * vc/vc-git.el (vc-git-program): New option.
21751 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
21752 (vc-git--call): Use it.
21753
b2f603cc
GM
21754 * eshell/esh-util.el (eshell-condition-case): Doc fix.
21755
5772caab
GM
21756 * cus-edit.el (Custom-newline): If no button at point, look
21757 for a subgroup button at start-of-line. (Bug#2298)
21758
ccb55d27
GM
21759 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
21760
ec6ecaed
JD
217612011-03-10 Julien Danjou <julien@danjou.info>
21762
21763 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
21764 `cursor-type' is nil.
21765
9d5aa01d
JB
217662011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
21767
21768 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
21769
b6a5875b
KM
217702011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
21771
7a71b18d 21772 * allout.el: Change so yank of distinctive-bullet items
b6a5875b
KM
21773 preserves the existing header prefix, rebulleting it if necessary,
21774 rather than replacing it. This is necessary for proper operation
21775 of cooperative addons like allout-widgets.
1154d12e
JB
21776 (allout-make-topic-prefix, allout-rebullet-heading):
21777 Change SOLICIT arg to INSTEAD, and interpret additionally a string
21778 value as alternate bullet to be used, instead of prompting the user
21779 for a bullet character.
b6a5875b 21780
ee545c35
MA
217812011-03-09 Michael Albinus <michael.albinus@gmx.de>
21782
d86d2721
SM
21783 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
21784 Do not use `tramp-file-name-port', because this returns also
ee545c35
MA
21785 `tramp-default-port'.
21786
c47971d7
DD
217872011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
21788
21789 * net/rcirc.el (rcirc-handler-001): Remove useless
21790 with-rcirc-process-buffer.
21791 (rcirc-check-auth-status): Swap arguments to string-match.
21792
13522cb4
GM
217932011-03-09 Glenn Morris <rgm@gnu.org>
21794
0be6f4f1
GM
21795 * shell.el (shell-mode):
21796 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
21797
13522cb4
GM
21798 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
21799 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
21800
515de2e3
CY
218012011-03-08 Chong Yidong <cyd@stupidchicken.com>
21802
21803 * emacs-lisp/package.el (package-refresh-contents)
21804 (package-menu-execute): Use condition-case-no-debug.
21805
b511b994
MA
218062011-03-08 Michael Albinus <michael.albinus@gmx.de>
21807
21808 * simple.el (shell-command-to-string): Use `process-file'.
21809
21810 * emacs-lisp/package.el (package-tar-file-info): Handle also
21811 remote files.
21812
d86d2721
SM
21813 * emacs-lisp/package-x.el (package-upload-buffer-internal):
21814 Use `equal' for upload base check.
b511b994 21815
25bbfb31
AM
218162011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
21817
21818 * textmodes/texinfo.el (texinfo-environments):
21819 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
21820
be996521
GM
218212011-03-08 Glenn Morris <rgm@gnu.org>
21822
e9c8529f
GM
21823 * cus-start.el (cursor-in-non-selected-windows):
21824 Fix :set quoting oddness. (Bug#8192)
21825
be996521
GM
21826 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
21827 in some setf expressions. (Bug#2159)
21828
2bb5649e
CY
218292011-03-08 Chong Yidong <cyd@stupidchicken.com>
21830
21831 * custom.el (custom-available-themes): Return themes in
21832 alphabetical order.
21833
33383987 21834See ChangeLog.15 for earlier changes.
e3d51b27
MR
21835
21836;; Local Variables:
21837;; coding: utf-8
e3d51b27
MR
21838;; End:
21839
acaf905b 21840 Copyright (C) 2011-2012 Free Software Foundation, Inc.
e3d51b27
MR
21841
21842 This file is part of GNU Emacs.
21843
21844 GNU Emacs is free software: you can redistribute it and/or modify
21845 it under the terms of the GNU General Public License as published by
21846 the Free Software Foundation, either version 3 of the License, or
21847 (at your option) any later version.
21848
21849 GNU Emacs is distributed in the hope that it will be useful,
21850 but WITHOUT ANY WARRANTY; without even the implied warranty of
21851 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
21852 GNU General Public License for more details.
21853
21854 You should have received a copy of the GNU General Public License
21855 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.