Add desktop support for restoring vc-dir buffers (bug#10606)
[bpt/emacs.git] / lisp / ChangeLog
1 2012-11-29 Glenn Morris <rgm@gnu.org>
2
3 Add desktop support for restoring vc-dir buffers. (Bug#10606)
4 * vc/vc-dir.el (vc-dir-mode): Autoload it (for desktop restore).
5 Set buffer-local value of desktop-save-buffer.
6 (vc-dir-desktop-buffer-misc-data, vc-dir-restore-desktop-buffer):
7 New functions.
8 (desktop-buffer-mode-handlers): Add vc-dir-mode entry.
9 * desktop.el (desktop-save-buffer-p): Treat vc-dir like dired.
10
11 * files.el (inhibit-local-variables-ignore-case): New. (Bug#10610)
12 (inhibit-local-variables-p): Use inhibit-local-variables-ignore-case.
13 Doc fix.
14 (inhibit-local-variables-regexps, inhibit-local-variables-suffixes):
15 Doc fixes.
16
17 2012-11-28 Jay Belanger <jay.p.belanger@gmail.com>
18
19 * calc/calc-forms.el (calc-date-notation): Fix regexp
20 used to find time codes. Fix symbol for seconds.
21
22 2012-11-27 Glenn Morris <rgm@gnu.org>
23
24 * emacs-lisp/derived.el (derived-mode-make-docstring):
25 Don't mention "abbrev" or "syntax" if nil. (Bug#11277)
26
27 2012-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
28
29 * textmodes/table.el (table-insert): Don't use `symbol-name' on
30 lexically scoped variables (bug#13005).
31
32 2012-11-27 Glenn Morris <rgm@gnu.org>
33
34 * vc/vc-hooks.el (vc-mistrust-permissions):
35 Default to t, to avoid data-loss. (Bug#11490)
36
37 2012-11-27 Fabián Ezequiel Gallina <fgallina@cuca>
38
39 * progmodes/python.el (python-indent-guess-indent-offset):
40 If indentation is guessed make python-indent-offset buffer-local.
41
42 Fix Imenu regression.
43 * progmodes/python.el (python-nav-beginning-of-defun):
44 Fix forward movement when statement(s) separates point from defun.
45 (python-imenu-prev-index-position): New function.
46
47 2012-11-27 Eli Zaretskii <eliz@gnu.org>
48
49 * subr.el (buffer-file-type): Declare with defvar-local. Doc fix.
50
51 * dos-w32.el (find-file-not-found-set-buffer-file-coding-system):
52 Don't set buffer-file-type. Return nil. (Bug#12989)
53
54 2012-11-27 Glenn Morris <rgm@gnu.org>
55
56 * hippie-exp.el (hippie-expand-try-functions-list):
57 Re-autoload it. (Bug#12982)
58
59 2012-11-27 Eli Zaretskii <eliz@gnu.org>
60
61 * descr-text.el (describe-char-padded-string):
62 Call internal-char-font only on GUI frames. (Bug#11964)
63
64 2012-11-27 Andreas Schwab <schwab@linux-m68k.org>
65
66 * buff-menu.el (Buffer-menu-buffer+size-width): Fix customize type
67 and obsoletion message.
68
69 2012-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
70
71 * emacs-lisp/cl-macs.el (cl--transform-lambda): Add back `declare' in
72 the constructs to keep outside of the `cl-block' (bug#12977).
73
74 2012-11-27 Chong Yidong <cyd@gnu.org>
75
76 * mouse.el (mouse-drag-line): Even if the line is not draggable,
77 keep reading until we get the up-event anyway, in order to process
78 the up-event for mouse-1-click-follows-link (Bug#12971).
79
80 2012-11-26 Stefan Monnier <monnier@iro.umontreal.ca>
81
82 * emacs-lisp/advice.el (ad-should-compile): Don't compile advice if the
83 base function is not yet defined (bug#12965).
84 (ad-activate-advised-definition): Use ad-compile-function.
85 (ad-activate): Use cond.
86
87 2012-11-25 Leo Liu <sdl.web@gmail.com>
88
89 * textmodes/sgml-mode.el (sgml-tag): Fix indentation for closing tag.
90 (Bug#12979)
91
92 2012-11-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
93
94 * textmodes/reftex-parse.el (reftex-parse-from-file): Use variable
95 reftex-section-info-function in order to be compatible with
96 Texinfo integration.
97
98 * textmodes/reftex.el (reftex-section-pre-regexp)
99 (reftex-section-post-regexp, reftex-section-info-function):
100 New variable.
101 (reftex-compile-variables): Use variables reftex-section-pre-regexp,
102 reftex-section-post-regexp, and reftex-section-info-function in order
103 to be compatible with Texinfo integration.
104
105 * textmodes/reftex-toc.el (reftex-toc-promote-action):
106 use reftex-section-pre-regexp variable in order to be compatible with
107 Texinfo integration.
108
109 2012-11-25 Chong Yidong <cyd@gnu.org>
110
111 * faces.el: Make face-spec-set more analogous to setq.
112 (face-spec-set): Change the third arg to specify whether this
113 function is being called via defface, customize, or a third party.
114 Set the appropriate symbol properties. Clear the override spec if
115 setting via Custom. Initialize face if necessary. (Bug#4988)
116 (face-spec-recalc): Allow theme faces to completely replace the
117 defface spec, in the same way as custom faces (Bug#8454).
118
119 * cus-face.el (custom-declare-face): Move face initialization to
120 face-spec-set.
121 (custom-theme-set-faces): Don't initialize the face name here, as
122 that is now done in face-spec-set.
123
124 * cus-edit.el (custom-face-set, custom-face-mark-to-save)
125 (custom-face-reset-saved, custom-face-mark-to-reset-standard):
126 Simplify by using the new arg to face-spec-set.
127
128 * emacs-lisp/lisp-mode.el (eval-defun-1): When evaluating defface,
129 reset face-override-spec too, and use custom-declare-face.
130
131 2012-11-24 Jan Djärv <jan.h.d@swipnet.se>
132
133 * term/ns-win.el (ns-initialize-window-system): Move creation of
134 fontsets here (Bug#11964).
135
136 2012-11-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
137
138 * ses.el (ses-rename-cell): Correct bug on mode-line update after
139 cell renaming.
140
141 2012-11-24 Chong Yidong <cyd@gnu.org>
142
143 * woman.el (woman-default-faces, woman-monochrome-faces): Mark as
144 obsolete.
145
146 * custom.el (custom-theme-set-variables): Use a topological sort
147 for ordering by custom dependencies (Bug#12952).
148 (custom--sort-vars, custom--sort-vars-1): New functions.
149
150 2012-11-24 Stefan Monnier <monnier@iro.umontreal.ca>
151
152 * emacs-lisp/bytecomp.el (byte-compile-file): Setup default value for
153 lexical-binding (bug#12938).
154
155 2012-11-24 Wolfgang Jenkner <wjenkner@inode.at>
156
157 * image-mode.el (image-transform-check-size): Use assertions only
158 for images of type imagemagick.
159
160 Otherwise no error, image-transform-fit-to-{width,height} is
161 silently ignored, as before. Doc fix.
162
163 2012-11-24 Chong Yidong <cyd@gnu.org>
164
165 * faces.el (color-defined-p): Doc fix (Bug#12853).
166
167 2012-11-24 Juri Linkov <juri@jurta.org>
168
169 * dired.el (dired-mark): Add optional arg `interactive'.
170 Check for `use-region-p' if `interactive' is non-nil.
171 (dired-unmark, dired-flag-file-deletion): Add optional arg
172 `interactive'. Call `dired-mark' with the arg `interactive'.
173 (Bug#10624)
174
175 * wdired.el: Revert 2012-10-17 change partly and replace it with
176 Patch by Christopher Schmidt <christopher@ch.ristopher.com>.
177 (wdired-finish-edit): Add marks for new file names to
178 `wdired-old-marks'. Restore marks using `dired-mark-remembered'
179 after `revert-buffer'.
180 (wdired-do-renames): Remove calls to `dired-remove-file',
181 `dired-add-file', `dired-add-entry'. (Bug#11795)
182
183 2012-11-24 Alan Mackenzie <acm@muc.de>
184
185 * progmodes/cc-defs.el (c-version): Bump to 5.32.4.
186
187 Fix bugs in the state cache. Enhance a debugging mechanism.
188 * progmodes/cc-engine.el (c-parse-state-get-strategy): Don't use
189 "brace at column zero" strategy for C++.
190 (c-append-lower-brace-pair-to-state-cache): Repair algorithm.
191 (c-parse-state-point): New variable.
192 (c-record-parse-state-state): Record old parse state with
193 `copy-tree'. Record previous value of point.
194 (c-debug-parse-state-double-cons): New debugging function.
195 (c-debug-parse-state): Call the above new function.
196 (c-toggle-parse-state-debug): Output a confirmatory message.
197
198 * progmodes/cc-mode.el (c-before-change, c-after-change):
199 Call c-invalidate-state-cache from `c-before-change' instead of
200 `c-after-change'.
201
202 2012-11-23 Chong Yidong <cyd@gnu.org>
203
204 * find-cmd.el (find-constituents): Add executable, ipath,
205 readable, samefile, writable, daystart, regextype (Bug#12856).
206
207 2012-11-23 Stefan Monnier <monnier@iro.umontreal.ca>
208
209 * emacs-lisp/ert.el, emacs-lisp/ert-x.el: Use cl-lib and lexical-binding.
210
211 2012-11-22 Paul Eggert <eggert@cs.ucla.edu>
212
213 * calc/calc.el (calc-gregorian-switch): Move to after calc-refresh
214 definition. This fixes a bootstrap failure.
215 (calc-gregorian-switch): In menu, put dates before regions.
216 This is easier to follow, lines up better in the menu, and lets us
217 coalesce regions that switch at the same time. Give country
218 names, not "Vatican", as that's better for non-expert users.
219 Use names that are stable between the date of switch and now, e.g.,
220 Bohemia and Moravia (which existed then and now) and not
221 Czechoslovakia (which didn't exist then and doesn't exist now).
222 What is now the U.S. mostly did not switch at the same time as
223 Britain, so omit the U.S. Correct spelling of "Britain".
224 Catholic Switzerland was too much of a mess, so omit it.
225
226 2012-11-22 Jay Belanger <jay.p.belanger@gmail.com>
227
228 * calc/calc.el (calc-gregorian-switch): Refresh the Calc buffer
229 after the variable is changed.
230
231 2012-11-21 Daniel Colascione <dancol@dancol.org>
232
233 * progmodes/sql.el (sql-mode-font-lock-object-name): Support IF NOT EXISTS
234 in SQL declarations for font-lock.
235 (sql-imenu-generic-expression): Teach imenu about IF NOT EXISTS.
236
237 2012-11-21 Glenn Morris <rgm@gnu.org>
238
239 * faces.el (face-underline-p, face-inverse-video-p, face-bold-p)
240 (face-italic-p): Add optional argument "inherit".
241
242 * faces.el (set-face-inverse-video, set-face-bold, set-face-italic):
243 Remove -p suffix from names, for consistency with other set-face-*.
244 (set-face-inverse-video): Fix interactive spec.
245 * play/gamegrid.el (gamegrid-make-mono-tty-face):
246 * textmodes/table.el (table--update-cell-face):
247 Use set-face-inverse-video rather than now obsolete alias.
248
249 2012-11-21 Eli Zaretskii <eliz@gnu.org>
250
251 * simple.el (line-move): Don't call line-move-partial if
252 scroll-conservatively is in effect. (Bug#12927)
253
254 2012-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
255
256 * eshell/em-cmpl.el (eshell-pcomplete): Refine fix for bug#12838:
257 Fallback on completion-at-point rather than
258 pcomplete-expand-and-complete, and only if pcomplete actually failed.
259 (eshell-cmpl-initialize): Setup completion-at-point.
260
261 * pcomplete.el (pcomplete--entries): Obey pcomplete-ignore-case.
262
263 * emacs-lisp/ert.el (ert--expand-should-1): Adapt to cl-lib.
264
265 2012-11-21 Michael Albinus <michael.albinus@gmx.de>
266
267 * net/tramp-sh.el (tramp-do-copy-or-rename-file): If both files
268 are remote, check out-of-band property for both.
269
270 2012-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
271
272 * window.el (switch-to-buffer): Re-add the warning that was lost in the
273 code rewrite.
274
275 2012-11-21 Paul Eggert <eggert@cs.ucla.edu>
276
277 More minor time fixes.
278 * calendar/time-date.el: Commentary fix.
279 * net/tramp-sh.el (tramp-do-file-attributes-with-ls): Undo last change;
280 too much other code depends on (0 0) time stamps.
281 * net/tramp.el (tramp-time-less-p, tramp-time-subtract):
282 Add a couple of FIXME comments.
283
284 Minor cleanup for times as lists of four integers.
285 * files.el (dir-locals-directory-cache):
286 * ps-bdf.el (bdf-file-mod-time, bdf-read-font-info):
287 Doc fixes.
288 * net/tramp-sh.el (tramp-do-file-attributes-with-ls):
289 * ps-bdf.el (bdf-file-newer-than-time):
290 Process four-integers time stamps, not two. Doc fixes.
291
292 2012-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
293
294 * uniquify.el (uniquify-managed): Use defvar-local.
295 (rename-buffer, create-file-buffer): Advise with advice-add.
296 (uniquify-unload-function): Unadvise accordingly.
297
298 * emacs-lisp/trace.el: Rewrite, use nadvice and lexical-binding.
299 (trace-buffer): Don't purecopy.
300 (trace-entry-message, trace-exit-message): Add `context' arg.
301 (trace--timer): New var.
302 (trace-make-advice): Adjust for use in nadvice.
303 Add `context' argument. Delay `display-buffer' via a timer.
304 (trace-function-internal): Use advice-add.
305 (trace--read-args): New function.
306 (trace-function-foreground, trace-function-background): Use it.
307 (trace-function): Rename to trace-function-foreground and redefine as
308 an alias to that new name.
309 (untrace-function, untrace-all): Adjust to the use of nadvice.
310
311 * emacs-lisp/bytecomp.el (byte-compile): Fix handling of closures.
312
313 * emacs-lisp/byte-run.el (defun-declarations-alist): Fix last change.
314
315 * subr.el (called-interactively-p-functions): New var.
316 (internal--called-interactively-p--get-frame): New macro.
317 (called-interactively-p, interactive-p): Rewrite in Lisp.
318 * emacs-lisp/nadvice.el (advice--called-interactively-skip): New fun.
319 (called-interactively-p-functions): Use it.
320 * emacs-lisp/edebug.el (edebug--called-interactively-skip): New fun.
321 (called-interactively-p-functions): Use it.
322 * allout.el (allout-called-interactively-p): Don't assume
323 called-interactively-p is a subr.
324
325 2012-11-20 Glenn Morris <rgm@gnu.org>
326
327 * profiler.el (profiler-report-mode-map): Add a menu.
328 No need to bind `q' because we derive from special-mode.
329 (profiler-report-find-entry): Handle calls from the menu-bar.
330
331 2012-11-19 Stefan Monnier <monnier@iro.umontreal.ca>
332
333 * emacs-lisp/byte-run.el (defun-declarations-alist):
334 Allow a compiler-macro to be a lambda expression.
335
336 * progmodes/python.el: Use cl-lib. Move var declarations outside of
337 eval-when-compile.
338 (python-syntax-context): Add compiler-macro.
339 (python-font-lock-keywords): Simplify with De Morgan.
340
341 * vc/diff-mode.el (diff-hunk): Don't make useless timers.
342
343 * files.el (load-file): Require match in minibuffer selection, as was
344 the case in Emacs-20 before we changed the spec to allow .elc files
345 (bug#12935).
346
347 * json.el: Don't require cl since we don't use it.
348 * color.el: Don't require cl.
349 (color-complement): `caddr' -> `nth 2'.
350
351 * calendar/time-date.el (time-to-seconds): De-obsolete.
352
353 2012-11-19 Jay Belanger <jay.p.belanger@gmail.com>
354
355 * calc/calc-forms.el (math-leap-year-p): Fix formula for negative
356 year numbers.
357 (math-date-to-julian-dt): Adjust the initial approximation for the
358 year to deal with the new definition of the DATE.
359
360 2012-11-19 Daniel Colascione <dancol@dancol.org>
361
362 * term/w32-win.el (cygwin-convert-path-from-windows):
363 Accomodate rename of cygwin_convert_path* to cygwin_convert_file_name*.
364
365 2012-11-18 Chong Yidong <cyd@gnu.org>
366
367 * filecache.el (file-cache--read-list): New function.
368 (file-cache-add-directory-list, file-cache-add-file-list)
369 (file-cache-delete-file-list, file-cache-delete-directory-list):
370 Use it to read a list of files or directories (Bug#12846).
371 (file-cache-add-file, file-cache-add-directory)
372 (file-cache-delete-file-list, file-cache-delete-file-regexp)
373 (file-cache-delete-directory): Print an message.
374
375 2012-11-18 Jay Belanger <jay.p.belanger@gmail.com>
376
377 * calc/calc-forms.el (math-date-to-dt): Use integer date when
378 calling `math-date-to-julian-dt' and 'math-date-to-gregorian-dt'.
379
380 2012-11-18 Glenn Morris <rgm@gnu.org>
381
382 * image.el (insert-image, insert-sliced-image): Doc fix.
383
384 2012-11-18 Chong Yidong <cyd@gnu.org>
385
386 * emacs-lisp/syntax.el (syntax-propertize-function): Doc fix
387 (Bug#12810).
388
389 2012-11-18 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
390
391 * vc/vc-svn.el (vc-svn-merge-news): Properly parse the merge
392 response when the target file is in a subdirectory (Bug#12757).
393
394 2012-11-18 Chong Yidong <cyd@gnu.org>
395
396 * filecache.el (file-cache-add-file-list): Doc fix (Bug#12694).
397
398 2012-11-18 Glenn Morris <rgm@gnu.org>
399
400 * emacs-lisp/cl-lib.el (face-underline-p):
401 Use set-face-underline rather than the alias set-face-underline-p.
402
403 * window.el (with-temp-buffer-window): Doc fix.
404 * subr.el (with-output-to-temp-buffer):
405 Add doc xref to with-temp-buffer-window.
406
407 2012-11-18 Juanma Barranquero <lekktu@gmail.com>
408
409 * woman.el (woman-non-underline-faces): Use `set-face-underline'.
410 * calc/calc.el (math-format-date-cache): Declare.
411
412 2012-11-17 Paul Eggert <eggert@cs.ucla.edu>
413
414 Calc by default uses the Gregorian calendar for all dates (Bug#12633).
415 It also uses January 1, 1 AD as its day number 1.
416 * calc/calc-forms.el (math-julian-date-beginning)
417 (math-julian-date-beginning-int): Implement this.
418
419 2012-11-17 Juanma Barranquero <lekktu@gmail.com>
420
421 * descr-text.el (quail-find-key):
422 * dired.el (desktop-file-name):
423 * dirtrack.el (shell-prefixed-directory-name, shell-process-cd):
424 * generic-x.el (comint-mode, comint-exec):
425 * image-dired.el (widget-forward):
426 * info.el (speedbar-add-expansion-list, speedbar-center-buffer-smartly)
427 (speedbar-change-expand-button-char)
428 (speedbar-change-initial-expansion-list, speedbar-delete-subblock)
429 (speedbar-make-specialized-keymap, speedbar-make-tag-line):
430 * printing.el (easy-menu-add-item, easy-menu-remove-item)
431 (widget-field-action, widget-value-set):
432 * speedbar.el (imenu--make-index-alist):
433 * term.el (ring-empty-p, ring-ref, ring-insert-at-beginning)
434 (ring-length, ring-insert):
435 * vcursor.el (compare-windows-skip-whitespace):
436 * woman.el (dired-get-filename):
437 Declare functions.
438
439 * term/w32-win.el (cygwin-convert-path-from-windows): Fix declaration.
440
441 2012-11-17 Jay Belanger <jay.p.belanger@gmail.com>
442
443 * calc/calc.el (calc-gregorian-switch): New variable.
444
445 * calc/calc-forms.el (math-day-in-year, math-dt-before-p)
446 (math-absolute-from-gregorian-dt, math-absolute-from-julian-dt)
447 (math-date-to-julian-dt, math-date-to-gregorian-dt): New functions.
448 (math-leap-year-p): Add option to distinguish between Julian
449 and Gregorian calendars.
450 (math-day-number): Use `math-day-in-year' to do the computations.
451 (math-absolute-from-dt): Rename from `math-absolute-from-date'.
452 Use `math-absolute-from-gregorian' and `math-absolute-from-julian'
453 to do the computations.
454 (math-date-to-dt): Use `math-date-to-julian-dt' and
455 `math-date-to-gregorian-dt' to do the computations.
456 (calcFunc-weekday, math-format-date-part): Use the new version of
457 the DATE to determine the weekday.
458 (calcFunc-newmonth, calcFunc-newyear): Use `calc-gregorian-switch'
459 when necessary.
460
461 2012-11-17 Eli Zaretskii <eliz@gnu.org>
462
463 * term/w32-win.el (w32-handle-dropped-file): Use 'file://' only on
464 Cygwin; otherwise use 'file:'. (Bug#12914)
465 (cygwin-convert-path-from-windows): Declare, to avoid
466 byte-compiler warnings.
467
468 2012-11-17 Andreas Politz <politza@fh-trier.de>
469
470 * ibuffer.el (ibuffer-mark-forward, ibuffer-unmark-forward)
471 (ibuffer-unmark-backward, ibuffer-mark-interactive): Support plain
472 prefix and negative numeric prefix args (Bug#12795).
473
474 2012-11-17 Stephen Berman <stephen.berman@gmx.net>
475
476 * play/gamegrid.el (gamegrid-add-score-with-update-game-score-1):
477 Don't signal an error with a score that is too low to add to the
478 list of top scores. (Bug#12779)
479
480 2012-11-17 Chong Yidong <cyd@gnu.org>
481
482 * help-mode.el (help-xref-interned): End on point-min (Bug#12737).
483
484 * filecache.el (file-cache-add-file): Handle relative file name in
485 the argument (Bug#12694).
486
487 2012-11-16 Jürgen Hötzel <juergen@archlinux.org> (tiny change)
488
489 * eshell/em-unix.el (eshell/mkdir): Handle "--parents" (bug#12897).
490
491 2012-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
492
493 * emacs-lisp/advice.el (ad-make-advised-definition): Improve last fix.
494
495 * emacs-lisp/cl-lib.el: Set more meaningful version number.
496
497 2012-11-16 Martin Rudalics <rudalics@gmx.at>
498
499 * window.el (enlarge-window, shrink-window): Don't mention return
500 value in doc-string (Bug#12896).
501 (window--display-buffer): Don't resize frames - it won't work
502 with all window managers and defeat pop-up-frame-alist.
503 (display-buffer-alist): In doc-string explain that CONDITION can
504 be a function and which arguments are passed to it (Bug#12854).
505 (display-buffer-assq-regexp): New argument ACTION. Handle lambda
506 expressions (Bug#12854).
507 (display-buffer): Pass ACTION argument to
508 display-buffer-assq-regexp.
509
510 2012-11-16 Glenn Morris <rgm@gnu.org>
511
512 * window.el (fit-frame-to-buffer-bottom-margin)
513 (fit-frame-to-buffer, fit-window-to-buffer): Doc fixes.
514
515 * faces.el (face-underline-p): Use face-attribute-specified-or.
516
517 2012-11-16 Juanma Barranquero <lekktu@gmail.com>
518
519 * emacs-lisp/cl-macs.el (cl-loop, cl-do, cl-do*): Doc fixes.
520
521 2012-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
522
523 * emacs-lisp/cl-macs.el (cl-flet, cl-flet*): Fix docstring (bug#12895).
524
525 2012-11-16 Glenn Morris <rgm@gnu.org>
526
527 * eshell/em-cmpl.el (eshell-pcomplete): New command. (Bug#12838)
528 (eshell-cmpl-initialize): Bind eshell-pcomplete to TAB, C-i.
529
530 * faces.el (face-underline-p): Doc fix. Handle :underline being
531 things other than `t' (a string, a list).
532 (face-inverse-video-p): Doc fix.
533 (set-face-underline): Rename it back from set-face-underline-p.
534 Doc fix. Allow interactive input of values other than t.
535 (read-face-attribute): Apply formatting to :underline,
536 since like :box and :stipple it can take list values.
537
538 * term.el (ansi-term): Don't let C-x escape-char binding
539 clobber the more standard C-c binding. (Bug#12842)
540
541 * subr.el (set-temporary-overlay-map): Doc fix.
542
543 2012-11-16 Martin Rudalics <rudalics@gmx.at>
544
545 * window.el (record-window-buffer)
546 (display-buffer-record-window): When copying the markers to
547 window-point preserve window-point-insertion-type. (Bug#12588)
548
549 2012-11-16 Glenn Morris <rgm@gnu.org>
550
551 * emacs-lisp/eieio-datadebug.el (eieio-debug-methodinvoke):
552 * net/tramp-gvfs.el (tramp-gvfs-dbus-event-error):
553 Use new names for hooks rather than obsolete aliases.
554
555 2012-11-15 Daniel Colascione <dancol@dancol.org>
556
557 * term/w32-win.el (w32-handle-dropped-file): Use a "file://"
558 prefix instead of "file:" so that when FILE-NAME begins with "//",
559 as it does when the target file is on a network share, url-handler
560 isn't confused.
561
562 2012-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
563
564 * emacs-lisp/advice.el (ad-definition-type): Make sure we don't use
565 a preactivated advice from an old advice.el; they're not compatible!
566
567 2012-11-15 Katsumi Yamaoka <yamaoka@jpl.org>
568
569 * emacs-lisp/nadvice.el (advice--make-interactive-form):
570 Fix string-spec case.
571
572 * emacs-lisp/advice.el (ad-make-advised-definition): Fix undefined case.
573
574 2012-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
575
576 * emacs-lisp/nadvice.el: Add buffer-local support to add-function.
577 (advice--buffer-local-function-sample): New var.
578 (advice--set-buffer-local, advice--buffer-local): New functions.
579 (add-function, remove-function): Use them.
580
581 2012-11-15 Drew Adams <drew.adams@oracle.com>
582
583 * imenu.el (imenu--split-submenus): Use imenu--subalist-p (bug#12717).
584
585 2012-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
586
587 * emacs-lisp/cl-macs.el (cl--transform-lambda): Defend against
588 potential binding of print-gensym to t, and prettify (back)quotes in
589 case they appear in args's default values (bug#12884).
590
591 2012-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
592
593 * emacs-lisp/nadvice.el: Add around advice for interactive specs.
594 (advice-eval-interactive-spec): New function.
595 (advice--make-interactive-form): Support around advice (bug#12844).
596
597 2012-11-14 Dmitry Gutov <dgutov@yandex.ru>
598
599 * progmodes/ruby-mode.el (ruby-expr-beg): Make heredoc detection
600 more strict. Add docstring.
601 (ruby-expression-expansion-re): Extract from
602 `ruby-match-expression-expansion'.
603 (ruby-syntax-propertize-function): After everything else, search
604 for expansions in string literals, mark their insides as
605 whitespace syntax and save match data for font-lock.
606 (ruby-font-lock-keywords): Use the 2nd group from expression
607 expansion matches.
608 (ruby-match-expression-expansion): Use the match data saved to the
609 text property in ruby-syntax-propertize-function.
610
611 2012-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
612
613 * emacs-lisp/gv.el (setf): Fix debug spec for multiple assignments
614 (bug#12879).
615
616 2012-11-13 Dmitry Gutov <dgutov@yandex.ru>
617
618 * progmodes/ruby-mode.el (ruby-move-to-block): Looks for a block
619 start/end keyword a bit harder. Works with different values of N.
620 Add more comments.
621 (ruby-end-of-block): Update accordingly.
622
623 2012-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
624
625 * woman.el (woman-file-name): Don't mess with unread-command-events
626 (bug#12861).
627
628 * emacs-lisp/advice.el: Layer on top of nadvice.el.
629 Remove out of date self-require hack.
630 (ad-do-advised-functions): Use simple `dolist'.
631 (ad-advice-name, ad-advice-protected, ad-advice-enabled)
632 (ad-advice-definition): Redefine as functions.
633 (ad-advice-classes): Move before first use.
634 (ad-make-origname, ad-set-orig-definition, ad-clear-orig-definition)
635 (ad-make-mapped-call, ad-make-advised-docstring,ad-make-plain-docstring)
636 (ad--defalias-fset): Remove functions.
637 (ad-make-advicefunname, ad-clear-advicefunname-definition): New funs.
638 (ad-get-orig-definition): Rewrite.
639 (ad-make-advised-definition-docstring): Change base docstring.
640 (ad-real-orig-definition): Rewrite.
641 (ad-map-arglists): Change name of called function.
642 (ad--make-advised-docstring): Redirect `function' from ad-Advice-...
643 (ad-make-advised-definition): Simplify.
644 (ad-assemble-advised-definition): Tweak for new calling context.
645 (ad-activate-advised-definition): Setup ad-Advice-* i.s.o ad-Orig-*.
646 (ad--defalias-fset): Rename from ad-handle-definition. Make it set the
647 function and call ad-activate if needed.
648 (ad-activate, ad-deactivate): Don't call ad-handle-definition any more.
649 (ad-recover): Clear ad-Advice-* instead of ad-Orig-*.
650 (ad-compile-function): Compile ad-Advice-*.
651 (ad-activate-on-top-level, ad-with-auto-activation-disabled): Remove.
652 (ad-start-advice, ad-stop-advice): Remove.
653
654 2012-11-13 Dmitry Gutov <dgutov@yandex.ru>
655
656 * progmodes/ruby-mode.el (ruby-add-log-current-method): Print the
657 period before class method names, not after. Remove handling of
658 one impossible case. Add comments.
659
660 2012-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
661
662 * emacs-lisp/advice.el: Remove support for freezing.
663 (ad-make-freeze-docstring, ad-make-freeze-definition): Remove functions.
664 (ad-make-single-advice-docstring, ad-defadvice-flags, defadvice):
665 Remove support for `freeze'.
666
667 * emacs-lisp/cl.el (dolist, dotimes, declare): Use advice-add to
668 override the default.
669 * emacs-lisp/cl-macs.el (cl-dolist, cl-dotimes): Rewrite without using
670 cl--dotimes/dolist.
671 * subr.el (dolist, dotimes, declare): Redefine them normally, even when
672 `cl' is loaded.
673
674 * emacs-lisp/nadvice.el (advice--normalize): New function, extracted
675 from add-advice.
676 (advice--strip-macro): New function.
677 (advice--defalias-fset): Use them to handle macros.
678 (advice-add): Use them.
679 (advice-member-p): Correctly handle macros.
680
681 2012-11-13 Dmitry Gutov <dgutov@yandex.ru>
682
683 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
684 Never font-lock the beginning of singleton class as heredoc.
685
686 2012-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
687
688 * emacs-lisp/gv.el (gv-define-simple-setter): One more fix (bug#12871).
689
690 2012-11-13 Wolfgang Jenkner <wjenkner@inode.at>
691
692 * ansi-color.el (ansi-color-apply-sequence): Implement SGR codes
693 39 and 49 (bug#12792). Also, treat unimplemented parameters as 0,
694 thereby restoring the behavior of revisions prior to 2012-08-15T03:33:55Z!monnier@iro.umontreal.ca.
695
696 2012-11-13 Fabián Ezequiel Gallina <fgallina@cuca>
697
698 Fix end-of-defun misbehavior.
699 * progmodes/python.el (python-nav-beginning-of-defun): Rename from
700 python-beginning-of-defun-function. Handle nested defuns
701 correctly.
702 (python-nav-end-of-defun): Rename from
703 python-end-of-defun-function. Ensure forward movement.
704 (python-info-current-defun): Reimplement to work as intended
705 with new fixed python-nav-{end,beginning}-of-defun. Stop scanning
706 parent defuns as soon as possible.
707
708 2012-11-13 Glenn Morris <rgm@gnu.org>
709
710 * progmodes/flymake.el (flymake-error-bitmap)
711 (flymake-warning-bitmap, flymake-fringe-indicator-position): Doc fixes.
712 (flymake-error-bitmap, flymake-warning-bitmap): Fix :types.
713
714 2012-11-13 Dmitry Gutov <dgutov@yandex.ru>
715
716 * progmodes/ruby-mode.el (ruby-move-to-block): When moving
717 backward, always stop at indentation. Reverts the change from
718 2012-08-12T22:06:56Z!monnier@iro.umontreal.ca (Bug#12851).
719
720 2012-11-13 Glenn Morris <rgm@gnu.org>
721
722 * ibuffer.el (ibuffer-mode-map, ibuffer-mode):
723 Add ibuffer-filter-by-derived-mode.
724
725 * ibuffer.el (ibuffer-mode-map): Don't have two menu items with
726 the same name shadowing each other.
727
728 * window.el (with-temp-buffer-window): Doc tweak.
729
730 * emacs-lisp/debug.el (debugger-bury-or-kill): Doc tweak.
731
732 * help.el (temp-buffer-max-height):
733 * window.el (fit-frame-to-buffer, fit-frame-to-buffer-bottom-margin):
734 * emacs-lisp/debug.el (debugger-bury-or-kill): Fix :version.
735
736 2012-11-12 Stefan Monnier <monnier@iro.umontreal.ca>
737
738 * emacs-lisp/nadvice.el: New package.
739 * subr.el (special-form-p): New function.
740 * emacs-lisp/elp.el: Use lexical-binding and advice-add.
741 (elp-all-instrumented-list): Remove var.
742 (elp-not-profilable): Remove elp-wrapper.
743 (elp-profilable-p): Use autoloadp and special-form-p.
744 (elp--advice-name): New const.
745 (elp-instrument-function): Use advice-add.
746 (elp--instrumented-p): New predicate.
747 (elp-restore-function): Use advice-remove.
748 (elp-restore-all, elp-reset-all): Use mapatoms.
749 (elp-set-master): Use elp--instrumented-p.
750 (elp--make-wrapper): Rename from elp-wrapper, return a function
751 suitable for advice-add. Use cl-inf.
752 (elp-results): Use mapatoms+elp--instrumented-p.
753 * emacs-lisp/debug.el: Use lexical-binding and advice-add.
754 (debug-function-list): Remove var.
755 (debug): Rename arg, and then let-bind it explicitly inside.
756 (debugger-setup-buffer): Rename arg.
757 (debugger-setup-buffer): Adjust counts to new debug-on-entry setup.
758 (debugger-frame-number): Adjust to new debug-on-entry setup.
759 (debug--implement-debug-on-entry): Rename from
760 implement-debug-on-entry, add argument.
761 (debugger-special-form-p): Remove, use special-form-p instead.
762 (debug-on-entry): Use advice-add.
763 (debug--function-list): New function.
764 (cancel-debug-on-entry): Use it, along with advice-remove.
765 (debug-arglist, debug-convert-byte-code, debug-on-entry-1): Remove.
766 (debugger-list-functions): Use debug--function-list instead of
767 debug-function-list.
768 * emacs-lisp/advice.el (ad-save-real-definition): Remove, unused.
769 (ad-special-form-p): Remove, use special-form-p instead.
770 (ad-set-advice-info): Use add-function and remove-function.
771 (ad--defalias-fset): Adjust accordingly.
772
773 2012-11-10 Glenn Morris <rgm@gnu.org>
774
775 * mail/emacsbug.el (report-emacs-bug-tracker-url)
776 (report-emacs-bug-bug-alist, report-emacs-bug-choice-widget)
777 (report-emacs-bug-create-existing-bugs-buffer)
778 (report-emacs-bug-parse-query-results)
779 (report-emacs-bug-query-existing-bugs): Remove. (Bug#7449)
780
781 * term.el (term-default-fg-color, term-default-bg-color):
782 Make obsolete, rather than just saying "deprecated" in the doc.
783
784 * term.el (term): Rename from `term-face'.
785 (term-current-face, ansi-term-color-vector)
786 (term-default-fg-color, term-default-bg-color, term-ansi-reset):
787 Update all users.
788
789 2012-11-10 Jan Djärv <jan.h.d@swipnet.se>
790
791 * server.el (server-create-window-system-frame): Handle Nextstep
792 specially (Bug#12780).
793
794 2012-11-10 Glenn Morris <rgm@gnu.org>
795
796 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs):
797 Unautoload, and make obsolete. (Bug#7449)
798
799 2012-11-10 Chong Yidong <cyd@gnu.org>
800
801 * vc/diff-mode.el (diff-delete-trailing-whitespace): Rewrite, and
802 rename from diff-remove-trailing-whitespace (Bug#12831).
803
804 2012-11-10 Stefan Monnier <monnier@iro.umontreal.ca>
805
806 * emacs-lisp/advice.el: Require `cl-lib' at run-time to fix
807 miscompilation of trace.el.
808
809 2012-11-10 Glenn Morris <rgm@gnu.org>
810
811 * vc/diff-mode.el (diff-remove-trailing-whitespace): Doc fix.
812
813 2012-11-10 Stefan Monnier <monnier@iro.umontreal.ca>
814
815 * emacs-lisp/gv.el (gv-define-simple-setter): Fix last change
816 (bug#12812).
817
818 2012-11-10 Chong Yidong <cyd@gnu.org>
819
820 * minibuf-eldef.el (minibuffer-eldef-shorten-default): Convert to
821 a defcustom with an appropriate :set function.
822 (minibuffer-default--in-prompt-regexps): New function.
823
824 2012-11-10 Glenn Morris <rgm@gnu.org>
825
826 * emacs-lisp/cl.el (define-setf-expander, defsetf)
827 (define-modify-macro): Doc fixes.
828
829 * emacs-lisp/gv.el (gv-letplace): Fix doc typo.
830 (gv-define-simple-setter): Update doc of `fix-return'.
831
832 2012-11-10 Stefan Monnier <monnier@iro.umontreal.ca>
833
834 * emacs-lisp/gv.el (gv-define-simple-setter): Don't evaluate `val'
835 twice when `fix-return' is set (bug#12813).
836
837 * emacs-lisp/cl.el (defsetf): Pass the third arg to
838 gv-define-simple-setter (bug#12812).
839
840 * woman.el (woman-decode-region): Disable adaptive-fill when rendering
841 (bug#12756).
842
843 2012-11-10 Glenn Morris <rgm@gnu.org>
844
845 * emacs-lisp/gv.el (gv-define-setter): Fix doc typo.
846
847 * emacs-lisp/cl-extra.el (cl-prettyexpand):
848 * emacs-lisp/cl-lib.el (cl-proclaim, cl-declaim):
849 * emacs-lisp/cl-macs.el (cl-destructuring-bind, cl-locally)
850 (cl-the, cl-compiler-macroexpand): Add basic doc strings.
851
852 * emacs-lisp/cl-extra.el (cl-maplist, cl-mapcan): Doc fix.
853
854 2012-11-10 Leo Liu <sdl.web@gmail.com>
855
856 * ido.el (ido-set-matches-1): Improve flex matching performance by
857 removing backtracking in the regexp (suggested by Stefan). (Bug#12796)
858
859 2012-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
860
861 * emacs-lisp/advice.el (ad-set-advice-info): Set defalias-fset-function.
862 (ad--defalias-fset): New function.
863 (ad-safe-fset): Remove.
864 (ad-make-freeze-definition): Use cl-letf*.
865
866 2012-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
867
868 * subr.el (dolist): Don't bind VAR in RESULT.
869
870 * emacs-lisp/advice.el: Miscellaneous cleanup. Use lexical-binding.
871 (fset, documentation): Don't save real def since we don't advise.
872 (ad-do-advised-functions): Remove problematic `result-form'.
873 (ad-safe-fset): `ad-real-fset' => `fset'.
874 (ad-read-advised-function): Don't assume that ad-do-advised-functions
875 uses CL's dolist internally.
876 (ad-arglist): Remove unused arg `name'.
877 (ad-docstring, ad-make-advised-docstring):
878 `ad-real-documentation' => `documentation'.
879 (warning-suppress-types): Declare.
880 (ad-set-arguments): Simple CSE.
881 (ad-recover-normality): Sanity check.
882
883 * emacs-lisp/bytecomp.el (byte-compile-out-toplevel): Don't turn
884 (funcall '(lambda ..) ..) into ((lambda ..) ..).
885
886 2012-11-09 Vincent Belaïche <vincentb1@users.sourceforge.net>
887
888 * ses.el: symbol to coordinate mapping is made by symbol property
889 `ses-cell'. This means that the same mapping is done for all SES
890 sheets. That is good enough for cells with standard A1 names, but
891 not for named cell. So a hash map is added for the latter.
892 (defconst ses-localvars): Add local variable ses--named-cell-hashmap
893 (ses-sym-rowcol): Use hashmap for named cell.
894 (ses-is-cell-sym-p): New defun.
895 (ses-decode-cell-symbol): New defun.
896 (ses-create-cell-variable): Add cell to hashmap when name is not
897 A1-like.
898 (ses-rename-cell): Check that cell new name is not already in
899 spreadsheet with the use of ses-is-cell-sym-p
900 (ses-rename-cell): Use hash map for named cells, but accept also
901 renaming back to A1-like.
902
903 2012-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
904
905 * emacs-lisp/advice.el: Use new dynamic docstrings.
906 (ad-make-advised-definition-docstring, ad-advised-definition-p):
907 Use dynamic-docstring-function instead of ad-advice-info.
908 (ad--make-advised-docstring): New function extracted from
909 ad-make-advised-docstring.
910 (ad-make-advised-docstring): Use it.
911 * progmodes/sql.el (sql--make-help-docstring): New function, extracted
912 from sql-help.
913 (sql-help): Use it with dynamic-docstring-function.
914
915 * env.el (env--substitute-vars-regexp): Don't use rx (for bootstrap).
916
917 2012-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
918
919 * files.el (hack-one-local-variable--obsolete): New function.
920 (hack-one-local-variable): Use it for obsolete settings.
921
922 * subr.el (locate-user-emacs-file): If both old and new name exist, use
923 the new name.
924
925 * progmodes/js.el (js--filling-paragraph): New var.
926 (c-forward-sws, c-backward-sws, c-beginning-of-macro): Advise.
927 (js-c-fill-paragraph): Prefer advice to cl-letf so the rebinding is
928 less sneaky.
929
930 2012-11-08 Julien Danjou <julien@danjou.info>
931
932 * progmodes/ruby-mode.el (auto-mode-alist): Add Rakefile in
933 `auto-mode-alist' (Bug#12835).
934
935 2012-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
936
937 * progmodes/perl-mode.el (perl-prettify-symbols): New defcustom.
938 (perl--prettify-symbols-alist): New const.
939 (perl--font-lock-compose-symbol, perl--font-lock-symbols-keywords):
940 New functions.
941 (perl-font-lock-keywords-2): Use them.
942 (perl-electric-noindent-p): New function.
943 (perl-mode): Use it to set up electric-indent-mode.
944 (perl-electric-terminator, perl-indent-command): Mark obsolete.
945 (perl-mode-map): Remove bindings for them.
946 (perl-imenu-generic-expression, perl-outline-level):
947 Match functions&packages in column>0.
948
949 * env.el (env--substitute-vars-regexp): New const.
950 (substitute-env-vars): Use it. Add `only-defined' arg.
951 * net/tramp.el (tramp-replace-environment-variables): Use it.
952
953 * emacs-lisp/bytecomp.el (byte-compile-initial-macro-environment):
954 Byte-compile *before* eval in eval-and-compile.
955 (byte-compile-log-warning): Remove redundant inhibit-read-only.
956 (byte-compile-file-form-autoload): Don't hide actual definition.
957 (byte-compile-maybe-guarded): Accept `functionp' as well.
958
959 * emacs-lisp/gv.el (gv-ref, gv-deref): New function and macro.
960
961 2012-11-07 Michael Albinus <michael.albinus@gmx.de>
962
963 * notifications.el (notifications-get-server-information-method):
964 New defconst.
965 (notifications-get-capabilities): Fix docstring.
966 (notifications-get-server-information): New defun.
967
968 2012-11-06 Agustín Martín Domingo <agustin.martin@hispalinux.es>
969
970 * textmodes/ispell.el (ispell-region): Standard re-indent for better
971 readability.
972
973 * textmodes/ispell.el: Experimental support for support debugging.
974 (ispell-create-debug-buffer): Create a `ispell-debug-buffer' debug
975 buffer for ispell.
976 (ispell-print-if-debug): New function to print stuff to
977 `ispell-debug-buffer' if debugging is enabled.
978 (ispell-region, ispell-process-line): Use `ispell-print-if-debug' to
979 show some debugging info.
980 (ispell-buffer-with-debug): New function that creates a debugging
981 buffer and calls `ispell-buffer' with debugging enabled.
982
983 * textmodes/ispell.el (ispell-region): Do not prefix sent string by
984 comment in autoconf mode. (Bug#12768)
985
986 2012-11-06 Dmitry Antipov <dmantipov@yandex.ru>
987
988 * emacs-lisp/byte-opt.el (toplevel): Add compare-window-configurations,
989 frame-first-window, frame-root-window, frame-selected-window,
990 minibuffer-selected-window, minibuffer-window,
991 window-absolute-pixel-edges, window-at, window-body-height,
992 window-body-width, window-display-table, window-combination-limit,
993 window-frame, window-fringes, window-inside-absolute-pixel-edges,
994 window-inside-edges, window-inside-pixel-edges, window-left-child,
995 window-left-column, window-margins, window-next-buffers,
996 window-next-sibling, window-new-normal, window-new-total,
997 window-normal-size, window-parameter, window-parameters, window-parent,
998 window-pixel-edges, window-point, window-prev-buffers,
999 window-prev-sibling, window-redisplay-end-trigger, window-scroll-bars,
1000 window-start, window-text-height, window-top-child, window-top-line,
1001 window-total-height, window-total-width and window-use-time to the list
1002 of functions without side-effects.
1003 (toplevel): Add window-valid-p to the list of error-free functions
1004 without side-effects.
1005
1006 2012-11-05 Agustín Martín Domingo <agustin.martin@hispalinux.es>
1007
1008 * textmodes/ispell.el (ispell-program-name):
1009 Update spellchecker parameters when customized.
1010
1011 2012-11-04 Glenn Morris <rgm@gnu.org>
1012
1013 * vc/vc-svn.el (vc-svn-state-heuristic): Avoid calling svn. (Bug#7850)
1014
1015 2012-11-04 Chong Yidong <cyd@gnu.org>
1016
1017 * bookmark.el (bookmark-bmenu-switch-other-window): Avoid binding
1018 same-window-* variables.
1019
1020 2012-11-04 Juri Linkov <juri@jurta.org>
1021
1022 * isearch.el (isearch-help-for-help, isearch-describe-bindings)
1023 (isearch-describe-key, isearch-describe-mode): Use a display
1024 action instead of binding same-window-* variables (Bug#10040).
1025
1026 2012-11-03 Glenn Morris <rgm@gnu.org>
1027
1028 * emacs-lisp/cl-macs.el (cl-parse-loop-clause):
1029 Rename handler properties back from cl-- to cl-. (Bug#12788)
1030
1031 * emacs-lisp/cl-macs.el (cl-do-all-symbols): Add doc string.
1032
1033 2012-11-03 Eli Zaretskii <eliz@gnu.org>
1034
1035 * term/pc-win.el: Don't load term/internal from here.
1036
1037 * loadup.el: Load term/internal from here.
1038
1039 2012-11-03 Fabián Ezequiel Gallina <fgallina@cuca>
1040
1041 * progmodes/python.el (inferior-python-mode): Fix hang in
1042 jit-lock (Bug#12645).
1043
1044 2012-11-03 Martin Rudalics <rudalics@gmx.at>
1045
1046 * window.el (switch-to-visible-buffer)
1047 (switch-to-buffer-preserve-window-point): Fix doc-strings.
1048
1049 2012-11-03 Glenn Morris <rgm@gnu.org>
1050
1051 * emacs-lisp/cl-lib.el (cl--random-time):
1052 Rename from cl-random-time. (Bug#12773)
1053 (cl--gensym-counter, cl--random-state): Update callers.
1054 * emacs-lisp/cl-extra.el (cl-make-random-state): Update callers.
1055
1056 2012-11-03 Chong Yidong <cyd@gnu.org>
1057
1058 * cus-start.el: Make cursor-type customizable (Bug#11633).
1059
1060 2012-11-02 Glenn Morris <rgm@gnu.org>
1061
1062 * filecache.el: No need to load find-lisp when compiling.
1063 (find-lisp-find-files): Autoload it.
1064 (file-cache-add-directory-recursively): Don't require find-lisp.
1065
1066 * image.el (image-type-from-file-name): Trivial simplification.
1067
1068 * emacs-lisp/bytecomp.el (byte-compile-eval):
1069 Decouple "noruntime" and "cl-functions" warnings.
1070
1071 2012-11-01 Stephen Berman <stephen.berman@gmx.net>
1072
1073 * play/gomoku.el (gomoku-display-statistics): Update mode line
1074 only if in Gomoku buffer; don't capitalize "won" (Bug#12771).
1075
1076 2012-10-31 Martin Rudalics <rudalics@gmx.at>
1077
1078 * window.el (quit-restore-window): If the window has been
1079 created on an existing frame and ended up as the sole window on
1080 that frame, do not delete it (Bug#12764).
1081
1082 2012-10-31 Stefan Monnier <monnier@iro.umontreal.ca>
1083
1084 * progmodes/sh-script.el (sh--inside-noncommand-expression):
1085 Rename from sh--inside-arithmetic-expression, handle more cases
1086 (bug#11263).
1087
1088 * progmodes/sh-script.el (sh--inside-arithmetic-expression): New func.
1089 (sh-font-lock-open-heredoc): Use it (bug#12770).
1090
1091 2012-10-30 Glenn Morris <rgm@gnu.org>
1092
1093 * emacs-lisp/cl-extra.el (cl-mapc): Add autoload cookie. Doc fix.
1094
1095 * emacs-lisp/cl.el (letf): Doc fix. (Bug#12760)
1096
1097 2012-10-29 Chong Yidong <cyd@gnu.org>
1098
1099 * isearch.el (isearch-other-meta-char): Ensure that a reprocessed
1100 function key is stored in a keyboard macro (Bug#4894).
1101
1102 * thingatpt.el (number-at-point): Apply a thing-at-point property.
1103
1104 2012-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
1105
1106 * vc/diff-mode.el (diff-context->unified): Don't get confused by "hunk
1107 header comments".
1108 (diff-unified->context, diff-context->unified)
1109 (diff-reverse-direction, diff-fixup-modifs): Use `use-region-p'.
1110
1111 * emacs-lisp/cl.el (letf): Add missing indent rules (bug#12759).
1112
1113 * files.el (find-alternate-file): Only ask one question (bug#12487).
1114
1115 2012-10-29 Chong Yidong <cyd@gnu.org>
1116
1117 * vc/vc-hooks.el (vc-file-clearprops): Kill vc-parent-buffer.
1118 Suggested by Dan Nicolaescu (Bug#6326).
1119
1120 * info.el (Info-complete-menu-item): Avoid duplicates (Bug#12705).
1121
1122 * startup.el (fancy-about-screen): Don't message (Bug#12680).
1123
1124 * thingatpt.el (thing-at-point): Doc fix (Bug#12691).
1125
1126 * imenu.el (imenu): Inhibit push-mark message (Bug#12726).
1127
1128 * face-remap.el (face-remap-add-relative): Handle the case where a
1129 face-remapping-alist entry is a cons cell (Bug#12762).
1130
1131 2012-10-29 Kevin Ryde <user42@zip.com.au>
1132
1133 * woman.el (woman-parse-numeric-value): Handle picas correctly
1134 (Bug#12639).
1135
1136 2012-10-29 Glenn Morris <rgm@gnu.org>
1137
1138 * emacs-lisp/cl.el (defsetf): Doc fix.
1139
1140 2012-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
1141
1142 * progmodes/sh-script.el (sh-font-lock-paren): Also put punctuation
1143 syntax to the matching opener, if any (bug#12547).
1144 (sh-smie-sh-forward-token, sh-smie-sh-backward-token): Recognize this
1145 matching open as a "case-(".
1146 (sh-smie-rc-grammar): Add a corresponding rule for it.
1147
1148 2012-10-28 Daniel Hackney <dan@haxney.org>
1149
1150 * emacs-lisp/package.el (package-generate-autoloads): Kill buffer
1151 "PKGNAME-autoloads.el" in case we created it.
1152
1153 2012-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
1154
1155 * minibuffer.el (completion--sifn-requote): Rewrite to handle things
1156 like Tramp's "/foo:~bar//baz" -> "/scpc:foo:/baz" mapping (bug#11714).
1157 (completion--twq-all): Disable too-strict assertions.
1158
1159 * tmm.el (tmm-prompt): Use map-keymap (bug#12744).
1160
1161 2012-10-27 Eli Zaretskii <eliz@gnu.org>
1162
1163 * profiler.el (profiler-report-make-entry-part): Fix help-echo
1164 text to match the real keybindings.
1165
1166 2012-10-27 Juri Linkov <juri@jurta.org>
1167
1168 * wdired.el (wdired-keep-marker-rename): New defcustom.
1169 (wdired-do-renames): Use it instead of `dired-keep-marker-rename'.
1170 (Bug#11795)
1171
1172 * dired.el (dired-keep-marker-rename): Add reference to
1173 `wdired-keep-marker-rename' in the docstring.
1174 Add default character value ?R to display initially in
1175 Customization UI instead of ?@.
1176
1177 2012-10-27 Martin Rudalics <rudalics@gmx.at>
1178
1179 * window.el (display-buffer): In doc-string describe
1180 window-height and window-width alist entries.
1181
1182 * time.el (display-time-world): Restore fit-window-to-buffer
1183 behavior.
1184
1185 2012-10-27 Chong Yidong <cyd@gnu.org>
1186
1187 * subr.el (insert-buffer-substring-as-yank): Doc fix.
1188
1189 2012-10-26 Jambunathan K <kjambunathan@gmail.com>
1190
1191 * minibuffer.el (completion-category-overrides): New completion
1192 category `bookmark' (bug#11131).
1193
1194 2012-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
1195
1196 * emacs-lisp/advice.el (ad-assemble-advised-definition):
1197 Silence bogus compiler warnings for ad-do-it.
1198
1199 * bookmark.el (bookmark-completing-read): Set the completion category
1200 to `bookmark' (bug#11131).
1201
1202 2012-10-26 Bastien <bzg@altern.org>
1203 Stefan Monnier <monnier@iro.umontreal.ca>
1204
1205 * face-remap.el: Use lexical-binding.
1206 (text-scale-adjust): Improve docstring. Use itself for the temporary
1207 overlay-map bindings, so as to repeat the "Use..." message each time.
1208
1209 2012-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
1210
1211 * emacs-lisp/macroexp.el (macroexp--expand-all):
1212 Obey byte-compile-warning-enabled-p (bug#12486).
1213
1214 * vc/diff-mode.el (diff-end-of-hunk): Also skip potential "no LF at eol".
1215 (diff-refine-hunk): Similarly, handle the "no LF at eol" (bug#12584).
1216
1217 2012-10-26 Martin Rudalics <rudalics@gmx.at>
1218
1219 * mouse.el (mouse-drag-line): Move last form into preceding when
1220 clause (Bug#12731).
1221
1222 * help.el (resize-temp-buffer-window): Fix doc-string.
1223
1224 2012-10-25 David Engster <deng@randomsample.de>
1225
1226 * emacs-lisp/eieio.el (eieio-update-lisp-imenu-expression):
1227 Remove. This feature is already integrated in imenu.
1228
1229 * emacs-lisp/eieio-opt.el: Remove require for `button' since it is
1230 always loaded. Require `speedbar' unconditionally.
1231
1232 2012-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
1233
1234 * dired.el (dired-get-marked-files): Allow ! on . and .. (bug#12725).
1235
1236 * minibuffer.el (minibuffer-force-complete): Fix thinko.
1237
1238 * net/ldap.el (ldap-search-internal): The official ldif format starts
1239 with a "version: 1" header (bug#12724).
1240
1241 * emacs-lisp/package.el (package-installed-p): Warn if not ready
1242 (bug#12721).
1243
1244 2012-10-25 Glenn Morris <rgm@gnu.org>
1245
1246 * emacs-lisp/cl-macs.el (cl-progv): Doc fix.
1247
1248 2012-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
1249
1250 * minibuffer.el (minibuffer-force-complete): Use one more marker
1251 for the temporary-overlay-map command (bug#12619).
1252
1253 2012-10-24 Chong Yidong <cyd@gnu.org>
1254
1255 * time.el (display-time-world-mode): Derive from special-mode.
1256 (display-time-world): Use display-buffer (Bug#12708).
1257 (display-time-world-mode-map): Variable deleted.
1258 (display-time-world-display): Wrap the final delete-char inside
1259 inhibit-read-only.
1260
1261 2012-10-24 Chong Yidong <cyd@gnu.org>
1262
1263 * dired.el (dired-mark, dired-unmark, dired-flag-file-deletion):
1264 Doc fix.
1265
1266 * emacs-lisp/easymenu.el (easy-menu-define): Doc fix (Bug#12628).
1267
1268 2012-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
1269
1270 * minibuffer.el (completion--all-sorted-completions-location): New var.
1271 (completion--cache-all-sorted-completions)
1272 (completion--flush-all-sorted-completions): Use it.
1273 (completion-in-region, completion-in-region--postch)
1274 (completion-at-point, completion-help-at-point): Use markers in
1275 completion-in-region--data (bug#12619).
1276
1277 2012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
1278
1279 * progmodes/compile.el (compilation-start): Try to handle common
1280 quoting of `cd' argument (bug#12640).
1281
1282 * vc/diff-mode.el (diff-hunk): `save-excursion' while refining
1283 (bug#12671).
1284
1285 2012-10-23 Glenn Morris <rgm@gnu.org>
1286
1287 * progmodes/gud.el (gud-menu-map):
1288 Check gdb-active-process is bound. (Bug#12358)
1289
1290 2012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
1291
1292 * repeat.el (repeat): Set real-this-command (bug#12232).
1293
1294 * htmlfontify.el (hfy-post-html-hook):
1295 * filesets.el (filesets-cache-fill-content-hook):
1296 * arc-mode.el (archive-extract-hook):
1297 * progmodes/cc-mode.el (c-prepare-bug-report-hook):
1298 * net/rcirc.el (rcirc-sentinel-functions)
1299 (rcirc-receive-message-functions, rcirc-activity-functions)
1300 (rcirc-print-functions):
1301 * net/dbus.el (dbus-event-error-functions):
1302 * emacs-lisp/eieio.el (eieio-pre-method-execution-functions):
1303 * emacs-lisp/checkdoc.el (checkdoc-style-functions)
1304 (checkdoc-comment-style-functions): Don't use "-hooks" suffix.
1305 * term/sun.el (sun-raw-prefix-hooks):
1306 * mail/sendmail.el (mail-yank-hooks): Use make-obsolete-variable.
1307
1308 2012-10-23 Michael Albinus <michael.albinus@gmx.de>
1309
1310 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
1311 Set `tramp-chunksize' to 1. This improves the performance.
1312 (tramp-smb-wait-for-output): Add timeout to
1313 `tramp-accept-process-output' calls.
1314
1315 2012-10-23 Chong Yidong <cyd@gnu.org>
1316
1317 * faces.el (font-list-limit): Define as an obsolete variable.
1318
1319 * startup.el (command-line):
1320 * cus-start.el: Don't refer to font-list-limit.
1321
1322 * newcomment.el (comment-normalize-vars): Doc fix (Bug#12583).
1323
1324 2012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
1325
1326 * subr.el (internal-temp-output-buffer-show): Rename from
1327 temp-output-buffer-show, since previously compiled files expect this name.
1328
1329 2012-10-23 Glenn Morris <rgm@gnu.org>
1330
1331 * image.el (image-type-from-file-name): If multiple types match,
1332 return the first one that is supported. (Bug#9045)
1333
1334 2012-10-22 Glenn Morris <rgm@gnu.org>
1335
1336 * image.el (imagemagick-enabled-types): Doc fix.
1337
1338 2012-10-22 Takafumi Arakaki <aka.tkf@gmail.com> (tiny change)
1339
1340 * progmodes/which-func.el (which-func-current): The hash-table may have
1341 an explicit nil (bug#12338).
1342
1343 2012-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
1344
1345 * electric.el (electric-pair-delete-selection-self-insert-function):
1346 Rename to electric-pair-will-use-region, return a boolean.
1347 (electric-pair-mode): Adjust accordingly. Don't require delsel.
1348
1349 * delsel.el (delete-selection-helper): Use a function instead of a hook.
1350 (delete-selection-pre-hook): Use use-region-p.
1351 (delete-selection-self-insert-function): Remove.
1352 (self-insert-command): Obey self-insert-uses-region-functions.
1353 (self-insert-iso): Revert to previous setting, since we don't actually
1354 know what that command does.
1355 (delete-selection-self-insert-hooks): Remove.
1356
1357 2012-10-22 Simon Law <sfllaw@sfllaw.ca> (tiny change)
1358
1359 * delsel.el (delete-selection-helper): New function, extracted from
1360 delete-selection-pre-hook.
1361 (delete-selection-pre-hook): Use it.
1362 (delete-selection-self-insert-function): New function.
1363 (delete-selection-self-insert-hooks): New hook.
1364 (self-insert-command, self-insert-iso): Use it.
1365 * electric.el (electric-pair-syntax): New function, extracted from
1366 electric-pair-post-self-insert-function.
1367 (electric-pair-post-self-insert-function): Use it.
1368 (electric-pair-delete-selection-self-insert-function): New function.
1369 (electric-pair-mode): Require delsel and setup
1370 delete-selection-self-insert-hooks (bug#11520).
1371
1372 2012-10-20 Chong Yidong <cyd@gnu.org>
1373
1374 * vc/vc.el (vc-diff-internal): Set up Diff mode even if there are
1375 no changes to show (Bug#12586).
1376
1377 * eshell/esh-cmd.el (eshell-rewrite-for-command): Copy the body
1378 list explicitly (Bug#12571).
1379
1380 2012-10-20 Arne Jørgensen <arne@arnested.dk>
1381
1382 * progmodes/flymake.el (flymake-create-temp-inplace):
1383 Use file-truename.
1384
1385 2012-10-20 Eli Zaretskii <eliz@gnu.org>
1386
1387 * loadup.el: Update comment about uncompiled Lisp files. (Bug#12395)
1388
1389 2012-10-20 Jay Belanger <jay.p.belanger@gmail.com>
1390
1391 * calc/calc-units.el (math-extract-units): Properly extract powers
1392 of units.
1393
1394 2012-10-20 Daniel Colascione <dancol@dancol.org>
1395
1396 * frame.el (make-frame): Set x-display-name as we used to in order
1397 to unbreak creating an X11 frame from an Emacs daemon started
1398 without a display.
1399
1400 2012-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
1401
1402 * minibuffer.el (minibuffer-force-complete): Make the next completion use
1403 the same completion-field (bug#12221).
1404
1405 2012-10-19 Martin Rudalics <rudalics@gmx.at>
1406
1407 * emacs-lisp/debug.el (debug): Record height of debugger window
1408 also when debugger will be back (Bug#8789).
1409
1410 2012-10-18 Chong Yidong <cyd@gnu.org>
1411
1412 * progmodes/gdb-mi.el (gdb-display-buffer-other-frame-action):
1413 Convert to defcustom.
1414 (gdb-get-source-file): Don't bind pop-up-windows.
1415
1416 * progmodes/gud.el (gud-display-line): Don't specially re-use
1417 other frames for the gdb-mi case (Bug#12648).
1418
1419 2012-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
1420
1421 * emacs-lisp/advice.el: Clean up commentary a bit.
1422 (ad-do-advised-functions, ad-with-originals): Use `declare'.
1423 (byte-code-function-p): Never redefine.
1424
1425 * emacs-lisp/gv.el (cond): Same fix as before for `if'.
1426
1427 2012-10-18 Glenn Morris <rgm@gnu.org>
1428
1429 * dired.el (dired-sort-toggle): Some ls implementations only allow
1430 a single option string. (Bug#12666)
1431
1432 * minibuffer.el (completion-cycle-threshold): Doc fix.
1433
1434 2012-10-17 Kenichi Handa <handa@gnu.org>
1435
1436 * international/mule.el (set-keyboard-coding-system):
1437 Recover input meta mode when the new coding system doesn not use 8-bit.
1438 Supply TERMINAL arg to set-input-meta-mode.
1439
1440 2012-10-17 Michael Heerdegen <michael_heerdegen@web.de>
1441
1442 * wdired.el (wdired-old-marks): New variable.
1443 (wdired-change-to-wdired-mode): Locally set wdired-old-marks.
1444 (wdired-do-renames): Move point with renamed file and don't lose
1445 mark status (Bug#11795).
1446
1447 2012-10-16 Juri Linkov <juri@jurta.org>
1448
1449 * replace.el (query-replace-help): Mention multi-buffer replacement
1450 keys in the Help message. (Bug#12655)
1451
1452 2012-10-15 Chong Yidong <cyd@gnu.org>
1453
1454 * emacs-lisp/byte-run.el (defsubst): Doc fix.
1455
1456 2012-10-14 Eli Zaretskii <eliz@gnu.org>
1457
1458 * window.el (display-buffer): Doc fix.
1459
1460 * progmodes/compile.el (compilation-error-regexp-alist-alist):
1461 Adjust the msft regexp to the output of Studio 2010, and move msft
1462 before edg-1. See the discussion on emacs-devel,
1463 http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00579.html,
1464 for the details.
1465
1466 2012-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
1467
1468 * emacs-lisp/eieio.el (eieio-oset-default, eieio-oset, oset-default)
1469 (oset): Move uses of object-class-fast macro after its definition.
1470
1471 * emacs-lisp/gv.el (if): Don't use closures in non-lexical-binding code.
1472
1473 2012-10-13 Chong Yidong <cyd@gnu.org>
1474
1475 * textmodes/ispell.el (ispell-pdict-save): If flyspell-mode is
1476 enabled, re-enable it (Bug#11963).
1477
1478 2012-10-13 Martin Rudalics <rudalics@gmx.at>
1479
1480 * emacs-lisp/debug.el (debug): When debugger-will-be-back is
1481 non-nil, restore window configuration (Bug#12623).
1482
1483 2012-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
1484
1485 * help-fns.el (describe-variable, describe-function-1):
1486 * help-mode.el (help-make-xrefs): Remove error handler, made unneeded.
1487
1488 * emacs-lisp/eieio.el (lisp-imenu-generic-expression): Fix typo.
1489
1490 2012-10-12 Glenn Morris <rgm@gnu.org>
1491
1492 * mail/rmailsum.el (rmail-header-summary):
1493 Fix 2010-11-26 test for multiline Subject: field. (Bug#12625)
1494
1495 2012-10-12 Fabián Ezequiel Gallina <fgallina@cuca>
1496
1497 * progmodes/python.el (python-mode-map):
1498 Replace subtitute-key-definition with proper command remapping.
1499 (python-nav--up-list): Fix behavior for blocks on the same level.
1500
1501 2012-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
1502
1503 * help-fns.el (describe-function-1): Handle autoloads w/o docstrings.
1504
1505 * emacs-lisp/bytecomp.el (byte-compile-eval): Adjust to long-ago
1506 changes to the format of load-history.
1507
1508 * international/mule-cmds.el (read-char-by-name): Move let-binding of
1509 completion-ignore-case in case that var is buffer-local (bug#12615).
1510
1511 2012-10-11 Kenichi Handa <handa@gnu.org>
1512
1513 * international/eucjp-ms.el: Re-generated.
1514
1515 2012-10-10 Kenichi Handa <handa@gnu.org>
1516
1517 * select.el (xselect--encode-string): If a coding is specified for
1518 selection, and that is compatible with COMPOUND_TEXT, use it.
1519
1520 2012-10-10 Martin Rudalics <rudalics@gmx.at>
1521
1522 * window.el (switch-to-buffer-preserve-window-point): New option.
1523 (switch-to-buffer):
1524 Obey `switch-to-buffer-preserve-window-point' (Bug#4041).
1525
1526 2012-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
1527
1528 * newcomment.el (comment-start-skip, comment-end-skip, comment-end):
1529 Don't document nil as a useful value (bug#12583).
1530
1531 2012-10-09 Michael Albinus <michael.albinus@gmx.de>
1532
1533 * net/tramp.el (tramp-debug-message):
1534 Remove "tramp-with-progress-reporter" from regexp of ignored functions.
1535 (with-tramp-progress-reporter): Rename from
1536 `tramp-with-progress-reporter'.
1537 (with-tramp-file-property, with-tramp-connection-property):
1538 Move from tramp-cache.el, rename from `with-file-property' and
1539 `with-connection-property', respectively.
1540
1541 * net/tramp-cache.el: Remove `with-file-property' and
1542 `with-connection-property'.
1543
1544 * net/tramp.el:
1545 * net/tramp-gvfs.el:
1546 * net/tramp-sh.el:
1547 * net/tramp-smb.el: Adapt callees.
1548
1549 * net/trampver.el: Update release number.
1550
1551 2012-10-09 Glenn Morris <rgm@gnu.org>
1552
1553 * w32-fns.el (set-message-beep):
1554 * term/w32-win.el (set-message-beep): Update declarations.
1555
1556 2012-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
1557
1558 * bindings.el (mode-line-toggle-read-only, mode-line-toggle-modified)
1559 (mode-line-widen, mode-line-input-method-map)
1560 (mode-line-coding-system-map, mode-line-remote)
1561 (mode-line-unbury-buffer, mode-line-bury-buffer)
1562 (mode-line-next-buffer, mode-line-previous-buffer):
1563 Replace save-selected-window+select-window => with-selected-window.
1564
1565 * progmodes/cc-bytecomp.el (cc-bytecomp-defmacro): Remove, unused.
1566 * progmodes/cc-vars.el (bq-process): Remove, unused.
1567
1568 * emacs-lisp/cl-macs.el (cl-defstruct): Obey the :read-only property.
1569
1570 2012-10-09 Fabián Ezequiel Gallina <fgallina@cuca>
1571
1572 Implemented `backward-up-list'-like navigation.
1573 * progmodes/python.el (python-nav-up-list)
1574 (python-nav-backward-up-list): New functions.
1575 (python-mode-map): Define substitute key for backward-up-list to
1576 python-nav-backward-up-list.
1577
1578 2012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
1579
1580 * progmodes/python.el (python-fill-paragraph): Rename from
1581 python-fill-paragraph-function. Fixed fill-paragraph for
1582 decorators (Bug#12605).
1583
1584 2012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
1585
1586 * progmodes/python.el (python-shell-output-filter): Handle extra
1587 carriage return in OSX (Bug#12409).
1588
1589 2012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
1590
1591 Fix shell handling of unbalanced quotes and parens in output.
1592 * progmodes/python.el (python-rx-constituents): Add string-delimiter.
1593 (python-syntax-propertize-function): Use it.
1594 (python-shell-output-syntax-table): New var.
1595 (inferior-python-mode): Prevent unbalanced parens/quotes from
1596 previous output mess with current input context.
1597
1598 2012-10-08 Juanma Barranquero <lekktu@gmail.com>
1599
1600 * generic-x.el (javascript-generic-mode, javascript-generic-mode-hook):
1601 Make obsolete aliases of js-mode and js-mode-hook (from js.el).
1602
1603 2012-10-08 Michael Albinus <michael.albinus@gmx.de>
1604
1605 * ffap.el (ffap-replace-file-component): Support Tramp file name
1606 syntax, not only ange-ftp's one.
1607
1608 2012-10-08 Glenn Morris <rgm@gnu.org>
1609
1610 * cus-start.el (message-log-max): Set :version.
1611
1612 * calendar/calendar.el (calendar-intermonth-header): Doc fix.
1613
1614 2012-10-08 Martin Rudalics <rudalics@gmx.at>
1615
1616 * emacs-lisp/edebug.el (edebug-pop-to-buffer): Don't try to split
1617 the minibuffer window (Bug#10851).
1618
1619 2012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
1620
1621 Enhancements on forward-sexp movement.
1622 * progmodes/python.el (python-nav-beginning-of-statement)
1623 (python-nav-end-of-statement): Return point-marker.
1624 (python-nav-forward-sexp): lisp-like forward-sexp behavior.
1625 (python-info-current-symbol)
1626 (python-info-statement-starts-block-p): Rename from
1627 python-info-beginning-of-block-p.
1628 (python-info-statement-ends-block-p): Rename from
1629 python-info-end-of-block-p.
1630 (python-info-beginning-of-statement-p)
1631 (python-info-end-of-statement-p)
1632 (python-info-beginning-of-block-p, python-info-end-of-block-p):
1633 New functions.
1634
1635 2012-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
1636
1637 * comint.el (comint-preinput-scroll-to-bottom): Preserve the
1638 frame-selected-windows.
1639
1640 2012-10-08 Daniel Colascione <dancol@dancol.org>
1641
1642 * battery.el (battery-status-function): Check for
1643 w32-battery-status itself, not system-time windows-nt.
1644
1645 * frame.el: Require cl-lib.
1646 (display-format-alist): New variable mapping frame types to
1647 functions that initialize them.
1648 (window-system-for-display): New function: interprets
1649 display-format-alist.
1650 (make-frame-on-display): Remove existing display-selection logic
1651 and just forward to make-frame, which will now DTRT.
1652 (make-frame): Restructure to use window-system-for-display to
1653 figure out how to create a frame on a given display.
1654 (display-mouse-p): Look for frame-type w32, not a particular
1655 system-type.
1656
1657 * loadup.el: Load w32 lisp code when we have the w32 feature.
1658
1659 * mouse.el (mouse-yank-primarY): Look for frame-type w32, not
1660 system-type windows-nt.
1661
1662 * server.el (server-create-window-system-frame): Look for window
1663 type.
1664 (server-proces-filter): Only force a window system when windows-nt
1665 _and_ w32. Explain why.
1666
1667 * simple.el (normal-erase-is-backspace-mode): Add w32 to the list
1668 of window systems we configure for the mode.
1669
1670 * startup.el (command-line): Mark window system is initialized
1671 after we've done it.
1672
1673 * common-win.el (x-select-text): Look for w32, not windows-nt.
1674
1675 * ns-win.el: Require cl-lib. Add ourselves to
1676 display-format-alist.
1677 (ns-initialize-window-system): Assert we're not initialized twice.
1678
1679 * w32-win.el: Enable lexical binding; require cl-lib; add
1680 ourselves to display-format-alist.
1681 (w32-handle-dropped-file): Convert incoming dropped files from
1682 Windows paths to Cygwin ones before passing them on to the rest of
1683 Emacs.
1684 (w32-drag-n-drop): New paramter new-frame. Simplify logic.
1685 (w32-initialize-window-system): Assert we're not initialized twice.
1686
1687 * x-win.el: Require cl-lib; add ourselves to display-format-alist.
1688 (x-initialize-window-system): Assert we're not initialized twice.
1689
1690 * w32-common-fns.el: New File.
1691 (w32-version, w32-using-nt, w32-get-clipboard-data)
1692 (w32-set-clipboard-data, x-set-selection, x-get-selection)
1693 (w32-charset-info-alist, x-last-selected, text)
1694 (x-get-selection-value, x-selection-value): Move here.
1695
1696 * w32-fns.el: Require w32-common-fns.
1697 (w32-version, w32-using-nt, w32-get-clipboard-data)
1698 (w32-set-clipboard-data, x-set-selection, x-get-selection)
1699 (w32-charset-info-alist, x-last-selected, text)
1700 (x-get-selection-value, x-selection-value): Move to
1701 w32-common-fns.
1702
1703 * w32-vars.el:
1704 (w32-allow-system-shell, w32-system-shells): Define only in
1705 non-cygwin case.
1706
1707 2012-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
1708
1709 * subr.el (read-passwd-map): Don't use `defconst' (bug#12597).
1710 (read-passwd): Remove a few more potential sources of leaks.
1711
1712 2012-10-07 Fabián Ezequiel Gallina <fgallina@cuca>
1713
1714 * progmodes/python.el (inferior-python-mode)
1715 (python-shell-make-comint): Fix initialization of local
1716 variables copied from parent buffer.
1717
1718 2012-10-07 Jan Djärv <jan.h.d@swipnet.se>
1719
1720 * term/ns-win.el (ns-read-file-name): Update declaration to match
1721 nsfns.m.
1722 (ns-respond-to-change-font): Change fontsize separatly so we are sure
1723 it is set when font is acted upon.
1724
1725 2012-10-07 Fabián Ezequiel Gallina <fgallina@cuca>
1726
1727 Enhancements to indentation.
1728 * progmodes/python.el (python-indent-context): Give priority to
1729 inside-string context. Make comments indentation markers.
1730 (python-indent-region): Do not mess with strings, unless it's the
1731 enclosing set of quotes.
1732
1733 2012-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
1734
1735 * window.el (internal--before-save-selected-window)
1736 (internal--after-save-selected-window): New functions extracted from
1737 save-selected-window. Make sure we return the `alist' we construct.
1738 (save-selected-window): Use them.
1739
1740 * textmodes/tex-mode.el (tex-recenter-output-buffer):
1741 Use with-selected-window.
1742
1743 * emacs-lisp/autoload.el (make-autoload): Add `cl-defmacro' to the
1744 forms that define macros (bug#12593).
1745
1746 2012-10-07 Kenichi Handa <handa@gnu.org>
1747
1748 * international/mule-conf.el (compound-text-with-extensions):
1749 Add :mime-charset property as x-ctext.
1750
1751 2012-10-07 Stefan Merten <smerten@oekonux.de>
1752
1753 * textmodes/rst.el (rst-new-adornment-down, rst-indent-field)
1754 (rst-indent-literal-normal, rst-indent-literal-minimized)
1755 (rst-indent-comment): Correct :version tag.
1756 (rst-official-cvs-rev): Correct version string.
1757
1758 2012-10-07 Glenn Morris <rgm@gnu.org>
1759
1760 * mail/rmailmm.el (rmail-mime-process-multipart):
1761 Do not confuse a multipart message with an epilogue
1762 with a "truncated" one; fixes 2011-06-27 change. (Bug#10101)
1763
1764 2012-10-07 Fabián Ezequiel Gallina <fgallina@cuca>
1765
1766 Fix shell output retrieval and comint-prompt-regexp init.
1767 * progmodes/python.el (inferior-python-mode):
1768 (python-shell-make-comint): Fix initialization of
1769 comint-prompt-regexp from copied file local variables.
1770 (python-shell-fetched-lines): Remove var.
1771 (python-shell-output-filter-in-progress): Rename from
1772 python-shell-fetch-lines-in-progress.
1773 (python-shell-output-filter-buffer): Rename from
1774 python-shell-fetch-lines-string.
1775 (python-shell-fetch-lines-filter): Delete function.
1776 (python-shell-output-filter): New function.
1777 (python-shell-send-string-no-output): Use them.
1778
1779 2012-10-07 Glenn Morris <rgm@gnu.org>
1780
1781 * hi-lock.el (hi-lock-process-phrase):
1782 Try to make it less fragile. (Bug#7161)
1783
1784 * hi-lock.el (hi-lock-face-phrase-buffer): Doc fix.
1785
1786 2012-10-06 Glenn Morris <rgm@gnu.org>
1787
1788 * ehelp.el (electric-help-mode): Use help-mode rather than
1789 non-existent mode `help'.
1790 (electric-help-map): Use button-buffer-map. (Bug#10917)
1791
1792 * textmodes/reftex-vars.el (reftex-create-bibtex-header)
1793 (reftex-create-bibtex-footer): Fix custom types.
1794
1795 * progmodes/sh-script.el (sh-indent-after-continuation):
1796 Add explicit :group.
1797
1798 * textmodes/rst.el (rst-preferred-decorations)
1799 (rst-shift-basic-offset): Clarify obsolescence versions.
1800
1801 * profiler.el (profiler): Add missing group :version tag.
1802 * avoid.el (mouse-avoidance-banish-position):
1803 * proced.el (proced-renice-command):
1804 * calc/calc.el (calc-ensure-consistent-units):
1805 * calendar/icalendar.el (icalendar-import-format-uid):
1806 * net/tramp.el (tramp-save-ad-hoc-proxies):
1807 * progmodes/bug-reference.el (bug-reference-bug-regexp):
1808 * progmodes/flymake.el (flymake-error-bitmap)
1809 (flymake-warning-bitmap, flymake-fringe-indicator-position):
1810 * progmodes/sh-script.el (sh-indent-after-continuation):
1811 * progmodes/verilog-mode.el (verilog-auto-template-warn-unused)
1812 (verilog-before-save-font-hook, verilog-after-save-font-hook):
1813 * progmodes/vhdl-mode.el (vhdl-makefile-default-targets)
1814 (vhdl-array-index-record-field-in-sensitivity-list)
1815 (vhdl-indent-comment-like-next-code-line):
1816 * textmodes/reftex-vars.el (reftex-ref-style-alist)
1817 (reftex-ref-macro-prompt, reftex-ref-style-default-list)
1818 (reftex-cite-key-separator, reftex-create-bibtex-header)
1819 (reftex-create-bibtex-footer):
1820 * textmodes/rst.el (rst-new-adornment-down, rst-indent-field)
1821 (rst-indent-literal-normal, rst-indent-literal-minimized)
1822 (rst-indent-comment): Add missing custom :version tags.
1823
1824 * calendar/timeclock.el (timeclock-modeline-display):
1825 Add missing obsolete alias for renamed user option.
1826
1827 * strokes.el (strokes-modeline-string):
1828 * emulation/crisp.el (crisp-mode-modeline-string):
1829 * eshell/esh-mode.el (eshell-status-in-modeline):
1830 Aliases to defcustoms must come before the defcustom.
1831
1832 * calendar/cal-tex.el (cal-tex-diary, cal-tex-cursor-week)
1833 (cal-tex-cursor-week2, cal-tex-cursor-week-iso)
1834 (cal-tex-cursor-week-monday): Doc fixes.
1835 (cal-tex-cursor-week2-summary): Doc fix.
1836 Rename from cal-tex-cursor-week-at-a-glance.
1837
1838 * calendar/cal-menu.el (cal-menu-context-mouse-menu):
1839 Tweak week descriptions. Add cal-tex-cursor-week2-summary.
1840
1841 * calendar/calendar.el (calendar-mode-map):
1842 Add cal-tex-cursor-week2-summary.
1843
1844 2012-10-06 Stefan Monnier <monnier@iro.umontreal.ca>
1845
1846 * emacs-lisp/cl-macs.el (cl-defstruct): Improve docstring.
1847
1848 * subr.el (read-passwd-map): New var.
1849 (read-passwd): Use `read-string' again.
1850 * minibuffer.el (delete-minibuffer-contents): Make it interactive.
1851
1852 2012-10-06 Jambunathan K <kjambunathan@gmail.com>
1853
1854 * register.el (append-to-register, prepend-to-register):
1855 Deactivate mark, as does `copy-to-register' (bug#12389).
1856
1857 2012-10-06 Chong Yidong <cyd@gnu.org>
1858
1859 * files.el (auto-mode-alist): Add .by and .wy (Semantic grammars).
1860
1861 2012-10-06 Ikumi Keita <ikumi@ikumi.que.jp> (tiny change)
1862
1863 * international/characters.el: Fix simple mistake ((car chars) ->
1864 elt), delete duplicated code.
1865
1866 2012-10-06 Glenn Morris <rgm@gnu.org>
1867
1868 * subr.el (read-passwd): Allow C-u to erase entry. (Bug#12570)
1869
1870 2012-10-06 Julian Scheid <julians37@gmail.com> (tiny change)
1871
1872 * color.el (color-hsl-to-rgb): Fix incorrect results for
1873 small and large hue values. (Bug#12559)
1874
1875 2012-10-05 Fabián Ezequiel Gallina <fgallina@cuca>
1876
1877 Enhancements to docstring formatting when filling paragraphs.
1878 * progmodes/python.el (python-fill-docstring-style): Rename from
1879 python-fill-string-style. Added new style.
1880 (python-fill-string): Use new style. Better checks for
1881 docstrings.
1882
1883 2012-10-05 Glenn Morris <rgm@gnu.org>
1884
1885 * net/newst-treeview.el (newsticker-group-move-feed): Doc fix.
1886
1887 * color.el (color-name-to-rgb, color-rgb-to-hex)
1888 (color-hue-to-rgb, color-hsl-to-rgb, color-rgb-to-hsv)
1889 (color-rgb-to-hsl, color-srgb-to-xyz, color-saturate-hsl)
1890 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
1891 (color-lighten-name, color-darken-hsl, color-darken-name): Doc fixes.
1892
1893 * emacs-lisp/timer.el (with-timeout): Add missing progn. (Bug#12577)
1894
1895 2012-10-05 Juanma Barranquero <lekktu@gmail.com>
1896
1897 * ido.el (ido-directory-too-big-p): Pass dir through file-truename
1898 to get the correct size across symlinks.
1899
1900 * ido.el (ido-buffer-disable-smart-matches): Fix typo in docstring.
1901
1902 2012-10-04 Juri Linkov <juri@jurta.org>
1903
1904 * replace.el (query-replace-interactive): Declare obsolete.
1905 (query-replace-read-from): Add the last incremental search string
1906 to the list of default values accessible via M-n.
1907 (map-query-replace-regexp): Use `read-regexp'.
1908 (query-replace, query-replace-regexp, query-replace-regexp-eval)
1909 (map-query-replace-regexp, replace-string, replace-regexp):
1910 Fix docstrings to replace mentions of `query-replace-interactive'
1911 with alternatives. (Bug#12526)
1912
1913 2012-10-04 Juri Linkov <juri@jurta.org>
1914
1915 * dired.el (dired-shrink-to-fit): Declare obsolete. (Bug#1806)
1916 (dired-pop-to-buffer): Declare obsolete.
1917 (dired-mark-pop-up): Doc fix.
1918
1919 2012-10-04 Fabián Ezequiel Gallina <fgallina@cuca>
1920
1921 Allow user to set docstring style for fill-paragraph.
1922 * progmodes/python.el
1923 (python-fill-comment-function, python-fill-string-function)
1924 (python-fill-decorator-function, python-fill-paren-function):
1925 Remove :safe for defcustoms.
1926 (python-fill-string-style): New defcustom
1927 (python-fill-paragraph-function): Enhance context detection.
1928 (python-fill-string): Honor python-fill-string-style settings.
1929
1930 2012-10-04 Martin Rudalics <rudalics@gmx.at>
1931
1932 * emacs-lisp/edebug.el (edebug-pop-to-buffer): Select window
1933 after setting its buffer (Bug#10805).
1934
1935 2012-10-03 Fabián Ezequiel Gallina <fgallina@cuca>
1936
1937 Fix cornercase for string syntax.
1938 * progmodes/python.el (python-syntax-propertize-function):
1939 Simplify and enhance the regexp for unescaped quotes. Now it also
1940 matches quotes in weird situations like the single quote in
1941 "something\"'".
1942 (python-syntax-stringify): Simplify num-quotes detecting code.
1943
1944 2012-10-03 Glenn Morris <rgm@gnu.org>
1945
1946 * help-macro.el (three-step-help):
1947 Revert 2012-09-29 change. (Bug#12567)
1948
1949 2012-10-03 Martin Rudalics <rudalics@gmx.at>
1950
1951 * menu-bar.el (kill-this-buffer): Don't do anything when
1952 `menu-frame' is not alive or visible (Bug#8184).
1953
1954 * emacs-lisp/debug.el (debug): When quitting the debugger window
1955 restore current buffer (Bug#12502).
1956
1957 2012-10-02 Chong Yidong <cyd@gnu.org>
1958
1959 * progmodes/hideif.el (hif-lookup, hif-defined):
1960 Handle semantic-c-takeover-hideif.
1961
1962 2012-10-02 Paul Eggert <eggert@cs.ucla.edu>
1963
1964 Change sampling interval units from ms to ns.
1965 * profiler.el (profiler-sampling-interval): Change units
1966 from ms to ns, multiplying the default by 1000000 so that
1967 it remains 1 ms.
1968 (profiler-report-cpu-line-format): Give enough room for
1969 the maximum counters on 64-bit hosts.
1970 (profiler-report-render-calltree-1): Call them "CPU samples",
1971 not "Time (ms)", since they are not milliseconds now (and
1972 never really were).
1973
1974 2012-10-02 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
1975
1976 * net/eudcb-bbdb.el (eudc-bbdb-format-record-as-result):
1977 Fix querying BBDB for entries without a last name (Bug#11580).
1978
1979 2012-10-02 Chong Yidong <cyd@gnu.org>
1980
1981 * emacs-lisp/eieio.el: Restore Version header.
1982
1983 2012-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
1984
1985 * vc/diff-mode.el (diff--auto-refine-data): New var.
1986 (diff-hunk): Use it to delay refinement.
1987 (diff-mode): Remove overlays when we turn off font-lock.
1988
1989 * textmodes/table.el: Use lexical-binding, dolist, define-minor-mode.
1990 (table-initialize-table-fixed-width-mode)
1991 (table-set-table-fixed-width-mode): Remove functions.
1992 (table-command-list): Move initialization into declaration.
1993 (table--tweak-menu-for-xemacs): Move defun outside mapcar.
1994 (table-with-cache-buffer): Use `declare'.
1995 (table-span-cell): Simplify via CSE.
1996 (table-fixed-width-mode): Use define-minor-mode.
1997 (table-call-interactively, table-funcall, table-apply): Remove.
1998 (table-function): New function, to replace them.
1999
2000 * bookmark.el (bookmark-search-pattern): Remove var.
2001 (bookmark-read-search-input): Remove function.
2002 (bookmark-bmenu-search): Reimplement using a minibuffer.
2003
2004 * faces.el (modeline): Remove obsolete face name.
2005
2006 * vc/add-log.el (add-log-buffer-file-name-function): Demote to defvar
2007 and give a non-nil default value.
2008 (add-change-log-entry): Simplify accordingly.
2009
2010 2012-10-01 Dmitry Gutov <dgutov@yandex.ru>
2011
2012 * vc/vc-git.el (vc-git-log-edit-toggle-signoff): New function.
2013 (vc-git-log-edit-toggle-amend): New function.
2014 (vc-git-log-edit-toggle-signoff): New function.
2015 (vc-git-log-edit-mode): New major mode.
2016 (vc-git-log-edit-mode-map): Keymap for it.
2017 (vc-git-checkin): Handle "Amend" and "Sign-Off" headers.
2018
2019 * vc/log-edit.el (log-edit-font-lock-keywords): Allow hyphens in
2020 header names.
2021 (log-edit-toggle-header): New function.
2022 (log-edit-extract-headers): Accept function values in HEADERS alist.
2023
2024 2012-10-01 David Engster <deng@randomsample.de>
2025
2026 * emacs-lisp/eieio-opt.el (eieio-describe-class): Add filename
2027 from symbol property and change message to be more consistent with
2028 Emacs proper.
2029 (eieio-describe-generic): Add filename for each implementation.
2030 Fix indices for generic and normal methods.
2031 (eieio-method-def, eieio-class-def): New buttons.
2032 (eieio-help-find-method-definition)
2033 (eieio-help-find-class-definition): New functions.
2034 (eieio-help-mode-augmentation-maybee): Add buttons to filenames of
2035 class, constructor and method definitions.
2036
2037 * emacs-lisp/eieio.el (eieiomt-add, eieio-defclass): Save file
2038 information in symbol property.
2039 (scoped-class): Remove.
2040 (eieio-slot-name-index, call-next-method): Check if it is bound.
2041
2042 2012-10-01 Leo P. White <lpw25@cam.ac.uk>
2043
2044 * emacs-lisp/eieio-custom.el (eieio-custom-mode-map): New option.
2045 (eieio-custom-mode): New major mode.
2046 (eieio-customize-object): Use it.
2047
2048 2012-10-01 Eric Ludlam <zappo@gnu.org>
2049
2050 * emacs-lisp/eieio-base.el (eieio-persistent-read): New input args
2051 specifying the expected class, and whether subclassing is allowed.
2052 (eieio-persistent-convert-list-to-object):
2053 (eieio-persistent-validate/fix-slot-value)
2054 (eieio-persistent-slot-type-is-class-p): New functions.
2055 (eieio-named::slot-missing): Doc fix.
2056
2057 * emacs-lisp/eieio-datadebug.el (data-debug/eieio-insert-slots):
2058 Stop using unused publd variable.
2059
2060 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
2061 (eieio-speedbar-description, eieio-speedbar-derive-line-path)
2062 (eieio-speedbar-object-buttonname, eieio-speedbar-make-tag-line)
2063 (eieio-speedbar-handle-click): Do not specify a class for the
2064 method. Fixes method invocation order problems with EDE.
2065
2066 2012-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
2067
2068 * emacs-lisp/bytecomp.el (byte-compiler-abbreviate-file): New function.
2069 (byte-compile-warning-prefix, byte-compile-file): Use it (bug#12508).
2070
2071 2012-10-01 Karl Fogel <kfogel@red-bean.com>
2072
2073 * bookmark.el (bookmark-version-control): Give tags in the
2074 :type choices (Bug#12309), and improve doc string.
2075 (bookmark-write-file): Bind `print-circle' to `t' to allow
2076 circular custom bookmark types. (Bug#12503)
2077
2078 2012-10-01 Paul Eggert <eggert@cs.ucla.edu>
2079
2080 Revert the FOLLOW-SYMLINKS change for file-attributes.
2081 * files.el (remote-file-name-inhibit-cache, after-find-file):
2082 * time.el (display-time-file-nonempty-p): Undo last change.
2083
2084 * profiler.el (profiler-sampling-interval): Change default back to 1.
2085 See Stefan Monnier in
2086 <http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00863.html>.
2087
2088 2012-10-01 Fabián Ezequiel Gallina <fgallina@cuca>
2089
2090 Shell output catching a la gud-gdb.
2091 * progmodes/python.el (python-shell-fetch-lines-in-progress)
2092 (python-shell-fetch-lines-string, python-shell-fetched-lines):
2093 New Vars.
2094 (python-shell-fetch-lines-filter): New function.
2095 (python-shell-send-string-no-output): Use them.
2096
2097 2012-09-30 Tomohiro Matsuyama <tomo@cx4a.org>
2098
2099 * profiler.el (profiler-sampling-interval): Rename from
2100 profiler-sample-interval.
2101 (profiler-sampling-interval): Default to 10.
2102 (profiler-find-profile): New command (was profiler-find-log).
2103 (profiler-find-profile-other-window): New command.
2104 (profiler-find-profile-other-frame): New command.
2105 (profiler-profile): Introduce API-level data structure.
2106
2107 2012-09-30 Paul Eggert <eggert@cs.ucla.edu>
2108
2109 file-attributes has a new optional arg FOLLOW-SYMLINKS.
2110 * files.el (remote-file-name-inhibit-cache):
2111 * time.el (display-time-file-nonempty-p): Use it.
2112 * files.el (after-find-file): Don't chase links before calling
2113 file-exists-p, as file-exists-p already does the right thing.
2114
2115 2012-09-30 Ralf Angeli <angeli@caeruleus.net>
2116
2117 Merge from standalone RefTeX repository.
2118
2119 The following ChangeLog entries are shortened versions of the
2120 original ones with file paths adapted. A not so strongly edited
2121 version of the original ChangeLog can be found in the commit log.
2122
2123 * textmodes/reftex-auc.el: Move `provide' call to bottom of file.
2124 (reftex-arg-cite): Use `reftex-cite-key-separator'.
2125 Correctly handle new value type returned by `reftex-citation'.
2126
2127 * textmodes/reftex-cite.el (reftex-create-bibtex-file): Make sure
2128 that entries with whitespace at various places are found.
2129 Doc fix. Include entries that are cross-referenced from cited entries.
2130 Include @String definitions in the resulting bib file. Add header
2131 and footer defined in `reftex-create-bibtex-header' and
2132 `reftex-create-bibtex-footer'.
2133 (reftex-do-citation): Make it possible again to insert
2134 non-existent entries. Save match data when asking for optional
2135 arguments. Return all keys, not just the first one.
2136 (reftex-all-used-citation-keys): Fix regexp to correctly extract
2137 all citations in the same line.
2138 (reftex-parse-bibtex-entry): Accept additional optional argument
2139 `raw' and keep quotes or braces if it is non-nil. Match fields
2140 containing hyphens besides word constituents.
2141 (reftex-get-string-refs): New function.
2142 (reftex-extract-bib-entries): Check if BibTeX file changed on disk
2143 and ask if it should be reread in case it did.
2144 (reftex-pop-to-bibtex-entry)
2145 (reftex-extract-bib-entries-from-thebibliography): Match \bibitem
2146 entries with spaces or tabs in front of arguments.
2147 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
2148 (reftex-parse-bibtex-entry, reftex-create-bibtex-file):
2149 Match entries containing numbers and symbol constituents.
2150 (reftex-do-citation, reftex-figure-out-cite-format):
2151 Use `reftex-cite-key-separator'.
2152
2153 * textmodes/reftex-dcr.el: Move provide statement to end of file.
2154 (reftex-mouse-view-crossref): Explain why point is set.
2155
2156 * textmodes/reftex-global.el: Whitespace changes.
2157
2158 * textmodes/reftex-index.el: Move provide statement to end of
2159 file.
2160 (reftex-index-selection-or-word): Use `reftex-region-active-p'.
2161 (reftex-index-visit-phrases-buffer): Set marker when visiting
2162 buffer. This allows for returning from the phrases file to the
2163 file one was just editing instead of the file where the last
2164 phrases was added from.
2165 (reftex-index-phrases-syntax-table): New variable. Give ?\"
2166 punctuation syntax as it usually is not used as string quote in
2167 TeX-related modes and may occur unmatched. The change also
2168 prevents fontification of quoted content.
2169 (reftex-index-phrases-mode): Use it.
2170
2171 * textmodes/reftex-parse.el (reftex-parse-from-file):
2172 Move backward one char if a `\' was matched after a section macro.
2173 (reftex-parse-from-file): Use beginning of match instead of end as
2174 bound.
2175
2176 * textmodes/reftex-ref.el: Adapt creation of
2177 `reftex-<package>-<macro>' functions to new structure of
2178 `reftex-ref-style-alist'.
2179 (reftex-reference): Use `reftex-ref-style-list' function.
2180 Adapt to new structure of `reftex-ref-style-alist'. Prompt for a
2181 reference macro if `reftex-ref-macro-prompt' is non-nil.
2182 (reftex-reference): Pass refstyle to `reftex-format-special'.
2183 Determine reference macro by looking at
2184 `reftex-ref-style-default-list' and `reftex-ref-style-alist'.
2185 Use only one special format function.
2186 (reftex-varioref-vref, reftex-fancyref-fref)
2187 (reftex-fancyref-Fref): Remove definitions. The functions are now
2188 generated from `reftex-ref-style-alist'.
2189 (reftex-format-vref, reftex-format-Fref, reftex-format-fref):
2190 Remove.
2191 (reftex-format-special): New function.
2192
2193 * textmodes/reftex-sel.el
2194 (reftex-select-cycle-ref-style-internal): Adapt to new structure
2195 of `reftex-ref-style-alist'. Remove code for testing macro type.
2196 (reftex-select-toggle-varioref)
2197 (reftex-select-toggle-fancyref): Remove.
2198 (reftex-select-cycle-ref-style-internal)
2199 (reftex-select-cycle-ref-style-forward)
2200 (reftex-select-cycle-ref-style-backward): New functions.
2201 (reftex-select-label-map): Use `v' and `V' for general cycling
2202 through reference styles. Add `p' for switching between number
2203 and page reference types.
2204
2205 * textmodes/reftex-toc.el (reftex-re-enlarge):
2206 Call `enlarge-window' only if there is something to do because in Emacs
2207 the horizontal version throws an error even if the parameter is 0.
2208
2209 * textmodes/reftex-vars.el (reftex-label-alist): Doc fix.
2210 (reftex-plug-into-AUCTeX): Doc fix.
2211 (reftex-vref-is-default, reftex-fref-is-default): Adapt doc
2212 string. Adapt to new name.
2213 (reftex-ref-style-alist): Change structure so that it is not
2214 possible to use multiple different package names within a style.
2215 Remove the symbols for symbols for macro type distinction.
2216 Add characters for macro selection.
2217 (reftex-ref-macro-prompt, reftex-create-bibtex-header)
2218 (reftex-create-bibtex-footer): New variables.
2219 (reftex-format-ref-function): Mention third argument of special
2220 format function.
2221 (reftex-ref-style-alist, reftex-ref-style-default-list):
2222 New variables.
2223 (reftex-vref-is-default, reftex-fref-is-default): Adapt doc string
2224 to new implementation. Mark as obsolete. Add compatibility code
2225 for honoring the variable values in case they are set.
2226 (reftex-cite-format-builtin, reftex-bibliography-commands):
2227 Add support for ConTeXt.
2228 (reftex-format-ref-function, reftex-format-cite-function):
2229 Fix custom type.
2230 (reftex-cite-key-separator): New variable.
2231
2232 * textmodes/reftex.el (reftex-syntax-table-for-bib)
2233 (reftex-mode): Do not derive `reftex-syntax-table-for-bib' from
2234 `reftex-syntax-table' because parens have to retain their paren
2235 syntax in order for parsing of BibTeX entries like @book(...) to
2236 work.
2237 (reftex-in-comment): Do not error out if `comment-start-skip' is
2238 not set. Deal correctly with escaped comment characters.
2239 (reftex-tie-multifile-symbols): Add doc string.
2240 Initialize `reftex-ref-style-list'.
2241 (reftex-untie-multifile-symbols): Add doc string.
2242 (reftex-add-index-macros): Doc fix.
2243 (reftex-ref-style-activate, reftex-ref-style-toggle)
2244 (reftex-ref-style-list): New functions.
2245 (reftex-mode-menu): Use them. Adapt to new structure of
2246 `reftex-ref-style-alist'.
2247 (reftex-select-with-char): Kill the RefTeX Select buffer when
2248 done.
2249 (reftex-remove-if): New function.
2250 (reftex-erase-all-selection-and-index-buffers)
2251 (reftex-mode-menu): Reference styles are now computed from
2252 `reftex-ref-style-alist'. Fix typo.
2253 (reftex-report-bug): New function.
2254 (reftex-uniquify, reftex-uniquify-by-car): Replace O(n^2)
2255 algorithms with O(n log n). Introduce optional argument SORT (not
2256 yet used).
2257
2258 2012-09-30 Fabián Ezequiel Gallina <fgallina@cuca>
2259
2260 Enhancements for triple-quote string syntax.
2261 * progmodes/python.el (python-syntax-propertize-function):
2262 Match both quote cases in one regexp.
2263 (python-syntax-stringify): Handle matches properly.
2264
2265 2012-09-30 Juri Linkov <juri@jurta.org>
2266
2267 * arc-mode.el (archive-summarize): Let-bind `buffer-file-truename'
2268 to nil around the call to `insert' to prevent
2269 directory time modification by lock_file. (Bug#2295)
2270 * tar-mode.el (tar-summarize-buffer): Idem.
2271
2272 2012-09-30 Juri Linkov <juri@jurta.org>
2273
2274 * facemenu.el (list-colors-sort): Add option "Luminance".
2275 (list-colors-sort-key): Implement it.
2276
2277 * vc/diff-mode.el (diff-refine-removed):
2278 * vc/ediff-init.el (ediff-fine-diff-A):
2279 * vc/smerge-mode.el (smerge-refined-removed):
2280 Change background color "#ffaaaa" to "#ffbbbb". (Bug#10181)
2281
2282 2012-09-30 Jan Djärv <jan.h.d@swipnet.se>
2283
2284 * term/ns-win.el (x-file-dialog): New function.
2285
2286 2012-09-30 Juanma Barranquero <lekktu@gmail.com>
2287
2288 * ido.el (ido-max-directory-size): Default to nil; the current
2289 default is small for POSIX systems, and impractical on Windows 7
2290 now that lstat returns directory sizes for NTFS.
2291
2292 2012-09-30 Martin Rudalics <rudalics@gmx.at>
2293
2294 In buffer display functions handle window-height/window-width
2295 alist entries. Suggested by Juri Linkov as fix for Bug#1806.
2296 * window.el (window--display-buffer): New argument ALIST.
2297 Obey window-height and window-width alist entries.
2298 (window--try-to-split-window): New argument ALIST.
2299 Bind window-combination-limit to t when the window's size shall be
2300 changed and window-combination-limit equals `window-size'.
2301 (display-buffer-in-atom-window)
2302 (display-buffer-in-major-side-window)
2303 (display-buffer-in-side-window, display-buffer-same-window)
2304 (display-buffer-reuse-window, display-buffer-pop-up-frame)
2305 (display-buffer-pop-up-window, display-buffer-below-selected)
2306 (display-buffer-at-bottom, display-buffer-in-previous-window)
2307 (display-buffer-use-some-window): Adjust all callers of
2308 window--display-buffer and window--try-to-split-window.
2309 (fit-frame-to-buffer): New option.
2310 (fit-window-to-buffer): Can resize frames if fit-frame-to-buffer
2311 is non-nil.
2312 (display-buffer-in-major-side-window): Evaluate window-height /
2313 window-width alist entries.
2314
2315 * help.el (temp-buffer-resize-frames)
2316 (temp-buffer-resize-regexps): Remove options.
2317 (temp-buffer-resize-mode): Adjust doc-string.
2318 (resize-temp-buffer-window): Don't consult
2319 temp-buffer-resize-regexps. Use fit-frame-to-buffer instead of
2320 temp-buffer-resize-frames.
2321
2322 * dired.el (dired-mark-pop-up):
2323 Call display-buffer-below-selected with a fit-window-to-buffer alist
2324 entry.
2325
2326 2012-09-30 Chong Yidong <cyd@gnu.org>
2327
2328 * server.el (server-host): Document the security implications.
2329 (server-auth-key): Doc fix.
2330
2331 * startup.el (initial-buffer-choice): Doc fix.
2332
2333 * minibuffer.el (minibuffer-local-filename-syntax): Doc fix.
2334
2335 * simple.el (delete-trailing-whitespace): Avoid an unnecessary
2336 restriction change.
2337
2338 * bindings.el (goto-map): Bind M-g TAB to move-to-column.
2339
2340 * help-fns.el (help-fns--obsolete): Fix last change.
2341
2342 2012-09-30 Stefan Monnier <monnier@iro.umontreal.ca>
2343
2344 * winner.el (winner-mode-map): Obey winner-dont-bind-my-keys here.
2345 (minor-mode-map-alist): Remove redundant code.
2346
2347 * vc/pcvs.el (cvs-cleanup-collection): Keep entries that are currently
2348 visited in a buffer.
2349 (cvs-insert-visited-file): New function.
2350 (find-file-hook): Use it.
2351
2352 * vc/pcvs-info.el (cvs-fileinfo-pp): Don't use non-existent faces.
2353
2354 * vc/log-edit.el (log-edit-font-lock-keywords): Ignore case to
2355 chose face.
2356 (log-edit-empty-buffer-p): Don't require a space after a header.
2357
2358 * vc/ediff-util.el (ediff-diff-at-point): Don't assume point-min==1.
2359
2360 * tutorial.el (help-with-tutorial): Use minibuffer-with-setup-hook.
2361
2362 * textmodes/text-mode.el (paragraph-indent-minor-mode): Make it
2363 a proper minor-mode.
2364
2365 * textmodes/tex-mode.el (tex-mode-map): Don't bind paren keys.
2366
2367 2012-09-29 Glenn Morris <rgm@gnu.org>
2368
2369 * winner.el (winner-mode): Remove variable (let define-minor-mode
2370 handle it).
2371 (winner-dont-bind-my-keys, winner-boring-buffers, winner-mode-hook):
2372 Doc fixes.
2373 (winner-mode-leave-hook): Rename to winner-mode-off-hook.
2374 (winner-mode): Use define-minor-mode.
2375
2376 * vc/vc-sccs.el (vc-sccs-registered): Use the progn trick to get
2377 the full definition in loaddefs, rather than duplicating it.
2378
2379 * help-macro.el (three-step-help): No need to autoload defcustom.
2380
2381 * progmodes/inf-lisp.el (inferior-lisp-filter-regexp)
2382 (inferior-lisp-program, inferior-lisp-load-command)
2383 (inferior-lisp-prompt, inferior-lisp-mode-hook):
2384 No need to autoload defcustoms.
2385
2386 * hippie-exp.el (hippie-expand-try-functions-list)
2387 (hippie-expand-verbose, hippie-expand-dabbrev-skip-space)
2388 (hippie-expand-dabbrev-as-symbol, hippie-expand-no-restriction)
2389 (hippie-expand-max-buffers, hippie-expand-ignore-buffers)
2390 (hippie-expand-only-buffers): No need to autoload defcustoms.
2391 * progmodes/vhdl-mode.el (vhdl-line-expand):
2392 Explicitly load hippie-exp, so it does not get autoloaded
2393 while hippie-expand-try-functions-list is let-bound.
2394
2395 2012-09-28 Glenn Morris <rgm@gnu.org>
2396
2397 * emacs-lisp/cl.el (flet): Fix case of obsolescence message.
2398
2399 * emacs-lisp/bytecomp.el (byte-compile-cl-file-p):
2400 Only "cl.el" counts as cl these days.
2401
2402 2012-09-28 Juri Linkov <juri@jurta.org>
2403
2404 Display archive errors in the echo area instead of inserting
2405 to the file buffer.
2406
2407 * arc-mode.el (archive-extract-by-stdout): Change arg STDERR-FILE
2408 to STDERR-TEST that can be a regexp matching a successful output.
2409 Create a temporary file and redirect stderr to it. Search for
2410 STDERR-TEST in the stderr output and display it in the echo area
2411 if no match is found.
2412 (archive-extract-by-file): New function like
2413 `archive-extract-by-stdout' but extracting archives to files
2414 and looking for successful matches in stdout. Function body is
2415 mostly copied from `archive-rar-extract'.
2416 (archive-rar-extract): Use `archive-extract-by-file'.
2417 (archive-7z-extract): Use `archive-extract-by-stdout'. (Bug#10347)
2418
2419 2012-09-28 Leo Liu <sdl.web@gmail.com>
2420
2421 * pcomplete.el (pcomplete-show-completions):
2422 Use minibuffer-message to make pcomplete usable in minibuffer.
2423
2424 * ido.el (ido-set-matches-1): Fix 2012-09-11 change.
2425
2426 2012-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
2427
2428 * type-break.el: Use lexical-binding.
2429 (type-break-mode): Use define-minor-mode.
2430
2431 * emacs-lisp/pcase.el (pcase--mark-used): New.
2432 (pcase--u1): Use it (bug#12512).
2433
2434 * custom.el (load-theme): Set buffer-file-name so the load is recorded
2435 in load-history with the right file name.
2436
2437 2012-09-28 Tassilo Horn <tsdh@gnu.org>
2438
2439 * doc-view.el (doc-view-current-cache-doc-pdf): New function.
2440 (doc-view-doc->txt, doc-view-convert-current-doc): Use it.
2441 (doc-view-get-bounding-box): Make bounding box slicing work for
2442 ODF and DVI documents.
2443
2444 2012-09-28 Glenn Morris <rgm@gnu.org>
2445
2446 * type-break.el (type-break-mode, type-break-interval)
2447 (type-break-good-rest-interval, type-break-keystroke-threshold):
2448 No need to autoload.
2449 (type-break-good-rest-interval, type-break-keystroke-threshold):
2450 Add :set-after.
2451
2452 2012-09-28 Chong Yidong <cyd@gnu.org>
2453
2454 * progmodes/verilog-mode.el (verilog-auto-inst-interfaced-ports):
2455 Add :version tag.
2456
2457 2012-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
2458
2459 * json.el (json-encode-char): Codes 127-160 aren't "ASCII printable".
2460
2461 2012-09-27 Glenn Morris <rgm@gnu.org>
2462
2463 * faces.el (x-display-name): Declare (for without-x builds).
2464
2465 * linum.el (linum-format): Don't autoload it. Improve :type.
2466
2467 * progmodes/tcl.el: Don't require outline when compiling.
2468 (outline-regexp, outline-level): Declare.
2469 * textmodes/sgml-mode.el: Don't require outline when compiling.
2470 (outline-regexp, outline-heading-end-regexp, outline-level): Declare.
2471
2472 * term.el (term-ansi-reset):
2473 Try setting term-ansi-face-already-done to nil. (Bug#11785)
2474
2475 * vc/vc.el (vc-next-action): Only gripe about committing read-only
2476 files for RCS and SCCS. (Bug#9781)
2477
2478 2012-09-27 Chong Yidong <cyd@gnu.org>
2479
2480 * progmodes/verilog-mode.el (verilog-mode-release-emacs): Fix last
2481 change; value should be t.
2482
2483 2012-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
2484
2485 * image-mode.el: Use lexical-binding.
2486 (image-mode-winprops): Use t to stand for the window of
2487 a buffer that's not displayed.
2488 * doc-view.el (doc-view-new-window-function): Handle the new
2489 t in winprops.
2490 (doc-view-enlarge): Make it a real nop if the size is not changed.
2491 (doc-view-display): Handle the case where the buffer is not (yet?)
2492 displayed in any window.
2493 (doc-view-saved-settings): New var.
2494 (doc-view-mode): Use it.
2495 (doc-view-fallback-mode): Set it.
2496
2497 * minibuf-eldef.el: Make it possible to replace (default ...) with [...].
2498 Set lexical-binding.
2499 (minibuffer-eldef-shorten-default): New var.
2500 (minibuffer-default-in-prompt-regexps): Use it for new default.
2501 (minibuf-eldef-setup-minibuffer): Add replacement functionality.
2502
2503 2012-09-26 Juanma Barranquero <lekktu@gmail.com>
2504
2505 * international/uni-bidi.el:
2506 * international/uni-category.el:
2507 * international/uni-name.el:
2508 * international/uni-numeric.el: Regenerate.
2509
2510 2012-09-26 Tomohiro Matsuyama <tomo@cx4a.org>
2511 Stefan Monnier <monnier@iro.umontreal.ca>
2512
2513 * profiler.el: New file.
2514
2515 2012-09-26 Stefan Monnier <monnier@iro.umontreal.ca>
2516
2517 * emacs-lisp/testcover.el (testcover-after): Add gv-expander.
2518 (testcover-reinstrument): Simplify with CSE.
2519
2520 2012-09-26 Juanma Barranquero <lekktu@gmail.com>
2521
2522 * window.el (temp-buffer-window-setup): Fix typo in docstring.
2523
2524 2012-09-25 Wilson Snyder <wsnyder@wsnyder.org>
2525
2526 * verilog-mode.el (verilog-auto-ascii-enum, verilog-auto-inout)
2527 (verilog-auto-input, verilog-auto-insert-lisp)
2528 (verilog-auto-output, verilog-auto-output-every, verilog-auto-reg)
2529 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-undef)
2530 (verilog-auto-unused, verilog-auto-wire)
2531 (verilog-forward-or-insert-line): Fix AUTOs with no trailing
2532 newline. Reported by Andrew Jones.
2533 (verilog-auto-inst) Support expanding $clog2 in AUTOINST.
2534 Reported by Brad Dobbie.
2535 (verilog-batch-delete-trailing-whitespace):
2536 Create verilog-batch-delete-trailing-whitespace.
2537 Reported by Brad Dobbie.
2538 (verilog-auto-inout-param): Support AUTOINOUTPARAM for copying
2539 parameters from another module. Reported by Dan Katz.
2540 (verilog-auto, verilog-auto-assign-modport)
2541 (verilog-auto-inout-modport): Add AUTOASSIGNMODPORT and
2542 AUTOINOUTMODPORT for UVM interface module shell generation.
2543 Reported by Brad Dobbie.
2544 (verilog-auto-inst-interfaced-ports): Make default nil, as more
2545 standard behavior.
2546 (verilog-auto): Fix AUTO parameters with parenthesis arguments.
2547 Reported by Matt Martin.
2548
2549 2012-09-25 Martin Rudalics <rudalics@gmx.at>
2550
2551 * window.el (window--resize-child-windows): When resizing child
2552 windows proportionally, process them in reverse order to
2553 preserve the "when splitting a window the new one gets the odd
2554 line" behavior.
2555 (window--resize-root-window-vertically): When resizing the
2556 minibuffer window try to affect only windows at the bottom of the
2557 frame. (Bug#12419)
2558
2559 2012-09-25 Chong Yidong <cyd@gnu.org>
2560
2561 * subr.el (declare): Doc fix.
2562
2563 * help-fns.el (help-fns--obsolete): Handle macros properly.
2564
2565 2012-09-25 Chong Yidong <cyd@gnu.org>
2566
2567 * bookmark.el (bookmark-jump-noselect): Use a declare form to mark
2568 this function obsolete.
2569
2570 * calendar/cal-x.el (calendar-two-frame-setup)
2571 (calendar-only-one-frame-setup, calendar-one-frame-setup):
2572 * calendar/calendar.el (american-calendar, european-calendar)
2573 (calendar-for-loop):
2574 * comint.el (comint-dynamic-simple-complete)
2575 (comint-dynamic-complete-as-filename, comint-unquote-filename):
2576 * desktop.el (desktop-load-default):
2577 * dired-x.el (dired-omit-here-always)
2578 (dired-hack-local-variables, dired-default-directory):
2579 * emacs-lisp/derived.el (derived-mode-class):
2580 * emacs-lisp/timer.el (timer-set-time-with-usecs):
2581 * emacs-lock.el (toggle-emacs-lock):
2582 * epa.el (epa-display-verify-result):
2583 * epg.el (epg-sign-keys, epg-start-sign-keys)
2584 (epg-passphrase-callback-function):
2585 * eshell/esh-util.el (eshell-for):
2586 * eshell/eshell.el (eshell-remove-from-window-buffer-names)
2587 (eshell-add-to-window-buffer-names):
2588 * files.el (locate-file-completion):
2589 * imenu.el (imenu-example--create-c-index)
2590 (imenu-example--create-lisp-index)
2591 (imenu-example--lisp-extract-index-name)
2592 (imenu-example--name-and-position):
2593 * international/mule-cmds.el (princ-list):
2594 * international/mule-diag.el (decode-codepage-char):
2595 * international/mule-util.el (detect-coding-with-priority):
2596 * iswitchb.el (iswitchb-read-buffer):
2597 * mail/mailalias.el (mail-complete):
2598 * mail/sendmail.el (mail-sent-via):
2599 * mouse.el (mouse-popup-menubar-stuff, mouse-popup-menubar)
2600 (mouse-major-mode-menu):
2601 * password-cache.el (password-read-and-add):
2602 * pcomplete.el (pcomplete-parse-comint-arguments):
2603 * progmodes/sh-script.el (sh-maybe-here-document):
2604 * replace.el (query-replace-regexp-eval):
2605 * savehist.el (savehist-load):
2606 * simple.el (choose-completion-delete-max-match):
2607 * term.el (term-dynamic-simple-complete):
2608 * vc/ediff-init.el (ediff-check-version):
2609 * vc/ediff-wind.el (ediff-choose-window-setup-function-automatically):
2610 * vc/vc.el (vc-diff-switches-list):
2611 * view.el (view-return-to-alist-update): Likewise.
2612
2613 * subr.el (eval-next-after-load, makehash, insert-string)
2614 (assoc-ignore-representation, assoc-ignore-case): Use declare to
2615 mark obsolete.
2616 (mode-line-inverse-video): Variable deleted.
2617
2618 * international/mule-util.el (string-to-sequence): Remove.
2619
2620 * calendar/calendar.el (calendar-version):
2621 * calendar/icalendar.el (icalendar-extract-ical-from-buffer)
2622 (icalendar-convert-diary-to-ical):
2623 * cus-edit.el (custom-mode):
2624 * ansi-color.el (ansi-color-unfontify-region):
2625 * international/latin1-disp.el (latin1-char-displayable-p):
2626 * progmodes/cwarn.el (turn-on-cwarn-mode):
2627 * progmodes/which-func.el (which-func-update-1):
2628 Use define-obsolete-function-alias.
2629
2630 * net/newst-backend.el (newsticker-cache-filename):
2631 * net/newst-treeview.el (newsticker-groups-filename):
2632 Fix incorrect obsolescence declaration.
2633
2634 * allout.el (allout-passphrase-hint-string): Likewise.
2635 (allout-init): Use a declare form to mark obsolete.
2636
2637 * emacs-lisp/byte-run.el (make-obsolete): Doc fix; emphasize that
2638 this applies to functions.
2639
2640 * iswitchb.el (iswitchb-read-buffer): Move code of
2641 iswitchb-define-mode-map here, and delete that obsolete function.
2642
2643 * net/snmp-mode.el (snmp-font-lock-keywords-3): Don't use obsolete
2644 font-lock-reference-face.
2645
2646 2012-09-25 Glenn Morris <rgm@gnu.org>
2647
2648 * buff-menu.el (Buffer-menu-name-width, Buffer-menu-size-width):
2649 Doc fixes.
2650
2651 * eshell/em-term.el (eshell-term-name):
2652 Default to term-term-name. (Bug#12485)
2653
2654 2012-09-24 Fabián Ezequiel Gallina <fgallina@cuca>
2655
2656 * progmodes/python.el (python-shell-send-buffer): Better handling
2657 of "if __name__ == '__main__':" conditionals when sending the buffer.
2658
2659 2012-09-24 Glenn Morris <rgm@gnu.org>
2660
2661 * eshell/esh-cmd.el (eshell-find-alias-function):
2662 Tighten up file-name regexp. (Bug#12499)
2663
2664 2012-09-24 Fabián Ezequiel Gallina <fgallina@cuca>
2665
2666 Enhancements for triple-quote string syntax.
2667 * progmodes/python.el (python-quote-syntax): Remove.
2668 (python-syntax-propertize-function): New value.
2669 (python-syntax-count-quotes, python-syntax-stringify):
2670 New functions.
2671
2672 2012-09-24 Chong Yidong <cyd@gnu.org>
2673
2674 * mail/supercite.el (sc-version): Remove obsolete function.
2675 (sc-describe): Don't mark as obsolete, since it is bound.
2676 (sc-submit-bug-report): Remove.
2677
2678 * vc/log-edit.el (cvs-changelog-full-paragraphs)
2679 (cvs-commit-buffer-require-final-newline): Remove.
2680 (log-edit-require-final-newline)
2681 (log-edit-changelog-full-paragraphs): Default to t.
2682
2683 * vc/pcvs-defs.el (cvs-diff-buffer-name, cvs-diff-ignore-marks)
2684 * vc/vc-hooks.el (vc-ignore-vc-files, vc-master-templates)
2685 * vc/vc.el (vc-checkout-carefully): Likewise.
2686
2687 * vc/emerge.el (emerge-mode): Make it an obsolete alias.
2688 (emerge-version): Remove.
2689
2690 * progmodes/compile.el (compile-internal): Remove.
2691 (compilation-parse-errors-function): Fix typo.
2692
2693 * international/mule.el (set-char-table-default): Remove.
2694 (set-coding-priority, make-coding-system, generic-char-p)
2695 (charset-list, charset-bytes, charset-id): Use declare to mark
2696 functions as obsolete.
2697
2698 * vc/pcvs-defs.el (cvs-buffer-name-alist)
2699 (cvs-invert-ignore-marks): Remove references to obsolete vars.
2700 * vc/vc-hooks.el (vc-default-registered): Don't use
2701 vc-master-templates.
2702
2703 * font-lock.el (font-lock-reference-face):
2704 Use define-obsolete-variable-alias.
2705
2706 * generic-x.el (rul-generic-mode): Use font-lock-constant-face.
2707 * calendar/calendar.el (calendar-font-lock-keywords):
2708 * calendar/diary-lib.el (diary-font-lock-keywords)
2709 (diary-fancy-font-lock-keywords):
2710 * textmodes/reftex-sel.el (reftex-insert-docstruct):
2711 * textmodes/reftex-index.el (reftex-insert-index):
2712 * textmodes/reftex-cite.el (reftex-format-bib-entry):
2713 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
2714 * progmodes/ps-mode.el (ps-mode-font-lock-keywords-1):
2715 * progmodes/prolog.el (prolog-font-lock-keywords):
2716 * progmodes/idlwave.el (idlwave-idl-keywords):
2717 * progmodes/ada-mode.el (ada-font-lock-keywords):
2718 * net/snmp-mode.el (snmp-font-lock-keywords-3): Likewise.
2719
2720 2012-09-24 Glenn Morris <rgm@gnu.org>
2721
2722 * mail/emacsbug.el (report-emacs-bug): Include `lsb_release -d'.
2723
2724 2012-09-23 Fabián Ezequiel Gallina <fgallina@cuca>
2725
2726 * progmodes/python.el (python-indent-line): More consistent cursor
2727 movement behavior.
2728
2729 2012-09-23 Stefan Merten <smerten@oekonux.de>
2730
2731 * textmodes/rst.el: Fix compiler warning.
2732
2733 2012-09-23 Roland Winkler <winkler@gnu.org>
2734
2735 * textmodes/bibtex.el (bibtex-autokey-transcriptions):
2736 Transcribe also LaTeX hyphenation.
2737 (bibtex-reformat): Bug fix. Do not quote twice the elements of
2738 bibtex-reformat-previous-options.
2739
2740 2012-09-23 Roland Winkler <winkler@gnu.org>
2741
2742 * proced.el (proced-renice-command): New variable.
2743 (proced-marked-processes): New function.
2744 (proced-with-processes-buffer): New macro.
2745 (proced-send-signal): Use them.
2746 (proced-renice): New command bound to r.
2747
2748 2012-09-23 Roland Winkler <winkler@gnu.org>
2749
2750 * ibuf-ext.el (ibuffer-switch-to-saved-filter-groups): If list
2751 ibuffer-saved-filter-groups has one element, shortcut the call of
2752 completing-read. (Bug#12331)
2753
2754 2012-09-23 Chong Yidong <cyd@gnu.org>
2755
2756 * bindings.el (mode-line-toggle-read-only):
2757 * bs.el (bs-toggle-readonly):
2758 * buff-menu.el (Buffer-menu-toggle-read-only):
2759 * dired.el (dired-toggle-read-only):
2760 * ibuffer.el (ibuffer-do-toggle-read-only): Use read-only-mode.
2761
2762 2012-09-23 Chong Yidong <cyd@gnu.org>
2763
2764 * image.el (image-type-available-p): Adapt to init-image-library
2765 argument changes.
2766
2767 2012-09-22 Juri Linkov <juri@jurta.org>
2768
2769 * dired.el (dired-mode-map): Add [remap read-only-mode] for
2770 `dired-toggle-read-only'. (Bug#12462)
2771
2772 2012-09-22 Martin Rudalics <rudalics@gmx.at>
2773
2774 * subr.el (temp-output-buffer-show): New function.
2775 (with-output-to-temp-buffer): Call temp-output-buffer-show
2776 instead of internal-temp-output-buffer-show.
2777
2778 2012-09-22 Chong Yidong <cyd@gnu.org>
2779
2780 * files.el (ctl-x-map): Bind C-x C-q to read-only-mode
2781 (Bug#12462).
2782
2783 * repeat.el (repeat): Doc fix (Bug#12348).
2784
2785 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix
2786 (Bug#10909).
2787
2788 * simple.el (shell-command-on-region): Doc fix.
2789 (read-only-mode): Doc fix.
2790
2791 2012-09-22 Eli Zaretskii <eliz@gnu.org>
2792
2793 * emacs-lisp/timer.el (run-with-idle-timer)
2794 (timer-activate-when-idle): Warn against reinvoking an idle timer
2795 from within its own timer action. (Bug#12447)
2796
2797 2012-09-22 Martin Rudalics <rudalics@gmx.at>
2798
2799 * cus-start.el (window-combination-limit): Add new optional
2800 values.
2801 * window.el (temp-buffer-window-show)
2802 (window--try-to-split-window): Handle new values of
2803 window-combination-limit (Bug#1806).
2804 (split-window): Test window-combination-limit for t instead of
2805 non-nil.
2806 (display-buffer-at-bottom): New buffer display action function.
2807 * help.el (temp-buffer-resize-regexps): New option.
2808 (temp-buffer-resize-mode): Rewrite doc-string.
2809 (resize-temp-buffer-window): Obey temp-buffer-resize-regexps.
2810 Don't resize reused window. Suggested by Glenn Morris.
2811
2812 2012-09-22 Stefan Merten <smerten@oekonux.de>
2813
2814 * textmodes/rst.el: Revamp section title faces.
2815 (rst-official-version)
2816 (rst-package-emacs-version-alist): Sync with official version
2817 V1.4.0.
2818 (rst-faces-defaults, rst-set-level-default)
2819 (rst-level-face-max, rst-level-face-base-color)
2820 (rst-level-face-base-light, rst-level-face-format-light)
2821 (rst-level-face-step-light, rst-define-level-faces): Obsolete.
2822 (rst-adornment-faces-alist): Match new setup.
2823 (rst-level-1, rst-level-2, rst-level-3, rst-level-4)
2824 (rst-level-5, rst-level-6): New faces.
2825
2826 2012-09-22 Chong Yidong <cyd@gnu.org>
2827
2828 * simple.el (undo): Handle indirect buffers (Bug#8207).
2829
2830 2012-09-21 Leo Liu <sdl.web@gmail.com>
2831
2832 IDO: Disable match re-ordering for buffer switching.
2833 * ido.el (ido-buffer-disable-smart-matches): New variable.
2834 (ido-set-matches-1): Use it. (Bug#2042)
2835
2836 2012-09-21 Jose Marino <marinoj@nso.edu> (tiny change)
2837
2838 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
2839 Fix 2011-05-17 change. (Bug#12418)
2840
2841 2012-09-21 Leo Liu <sdl.web@gmail.com>
2842
2843 * subr.el (ignore-errors): Mention with-demoted-errors in doc-string.
2844
2845 2012-09-21 Glenn Morris <rgm@gnu.org>
2846
2847 * emacs-lisp/shadow.el (load-path-shadows-font-lock-keywords):
2848 Be more robust about locating simple.el.
2849
2850 2012-09-21 Glenn Morris <rgm@gnu.org>
2851
2852 * mail/emacsbug.el (report-emacs-bug): Trap load-path-shadows errors.
2853
2854 2012-09-21 Joel Bion <jpbion@westvi.com> (tiny change)
2855
2856 * pcmpl-gnu.el (pcmpl-gnu-tarfile-regexp): Add tar.xz. (Bug#12382)
2857
2858 2012-09-20 Juri Linkov <juri@jurta.org>
2859
2860 * replace.el (query-replace-read-from): Use `read-regexp' instead
2861 of `read-from-minibuffer' when `regexp-flag' is non-nil.
2862 (occur-read-primary-args): Use `read-regexp' instead of
2863 `read-string'.
2864 (multi-occur-in-matching-buffers): Use `read-regexp' instead of
2865 `read-from-minibuffer'.
2866 * isearch.el (isearch-occur): Use `read-regexp' instead of
2867 `read-string'.
2868 * dired.el (dired-read-regexp): Use `read-regexp' instead of
2869 `read-from-minibuffer'.
2870 * progmodes/grep.el (grep-read-regexp): Use `read-regexp' instead
2871 of `read-string'. (Bug#7567)
2872
2873 * replace.el (read-regexp): Rename DEFAULT-VALUE arg to DEFAULTS
2874 and allow accepting a list of strings prepended to a list of
2875 standard default values. Doc fix. (Bug#12321)
2876
2877 * replace.el (read-regexp): Add HISTORY arg. (Bug#7567)
2878
2879 * replace.el (read-regexp): Don't add ": " when PROMPT already
2880 ends with a colon and space. (Bug#12321)
2881
2882 2012-09-20 Tassilo Horn <tsdh@gnu.org>
2883
2884 * doc-view.el (doc-view-display): Better fix for the cl-assertion
2885 error.
2886
2887 2012-09-20 Stefan Merten <smerten@oekonux.de>
2888
2889 * textmodes/rst.el: Integrate support for `imenu' and `which-function'.
2890 Fixes feature request bug#11711.
2891 (rst-mode): Create `imenu-create-index-function'.
2892 (rst-get-stripped-line): Delete after refactoring.
2893 (rst-section-tree, rst-section-tree-rec)
2894 (rst-section-tree-point): Refactor and document properly.
2895 (rst-imenu-find-adornments-for-position)
2896 (rst-imenu-convert-cell, rst-imenu-create-index):
2897 New function.
2898
2899 2012-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
2900
2901 * emacs-lisp/macroexp.el (macroexp--obsolete-warning): New function.
2902 (macroexp--expand-all): Use it.
2903 (macroexp--funcall-and-return): Remove by folding it into its sole
2904 caller (macroexp--warn-and-return).
2905 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete):
2906 Use macroexp--obsolete-warning.
2907
2908 * calc/calc.el: Fix last change by removing the whole chunk, since it
2909 was only needed back when Calc was not bundled.
2910
2911 2012-09-20 Martin Rudalics <rudalics@gmx.at>
2912
2913 * emacs-lisp/debug.el (debug): Restore assignment to
2914 debugger-old-buffer removed on 2012-09-08.
2915
2916 2012-09-20 Juri Linkov <juri@jurta.org>
2917
2918 * dired-aux.el (dired-diff): Remove (require 'diff) since
2919 `diff-latest-backup-file' is now autoloaded.
2920
2921 2012-09-20 Chong Yidong <cyd@gnu.org>
2922
2923 * vc/diff.el (diff-latest-backup-file): Autoload.
2924
2925 2012-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
2926
2927 * calc/calc.el: Remove redundant autoload shape check.
2928 (sel-mode): Don't defvar.
2929 (calc-get-stack-element): Add `sel-mode' arg instead.
2930 (calc-top, calc-top-list): Pass it this additional argument.
2931 * calc/calc-store.el (calc-store-map):
2932 * calc/calc-map.el (calc-apply, calc-reduce, calc-map)
2933 (calc-map-equation, calc-outer-product, calc-inner-product):
2934 * calc/calc-aent.el (calc-alg-entry): Don't bind sel-mode.
2935
2936 * emacs-lisp/macroexp.el (macroexp--expand-all): Fix last change.
2937
2938 2012-09-19 Juri Linkov <juri@jurta.org>
2939
2940 * dired-aux.el (dired-diff): Add (require 'diff) because
2941 `diff-latest-backup-file' is not autoloaded.
2942 (dired-do-chxxx, dired-do-chmod): Set `no-error-if-not-filep' arg
2943 of `dired-get-filename' to t to not report error when there is
2944 no default file on the current line.
2945
2946 2012-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
2947
2948 * emacs-lisp/macroexp.el (macroexp--funcall-if-compiled): Rename from
2949 macroexp--eval-if-compile.
2950 (macroexp--funcall-and-return, macroexp--warn-and-return): New funs.
2951 (macroexp--expand-all): Use them (bug#12371).
2952
2953 * doc-view.el (doc-view-guess-paper-size)
2954 (doc-view-scale-bounding-box): Fix unbound `caddr'.
2955
2956 2012-09-19 Tassilo Horn <tsdh@gnu.org>
2957
2958 New feature: set optimal slice from BoundingBox information.
2959 * doc-view.el (doc-view-mode-map): Add keybinding.
2960 (doc-view-menu): Add menu entry.
2961 (doc-view-set-slice): Adapt docstring.
2962 (doc-view-get-bounding-box, doc-view-guess-paper-size)
2963 (doc-view-scale-bounding-box)
2964 (doc-view-set-slice-from-bounding-box): New functions.
2965 (doc-view-paper-sizes): New defvar.
2966
2967 2012-09-19 Glenn Morris <rgm@gnu.org>
2968
2969 * emacs-lisp/macroexp.el (byte-compile-warn-obsolete)
2970 (byte-compile-log-warning): Autoload. (Bug#12371)
2971
2972 * calendar/calendar.el (calendar-american-month-header)
2973 (calendar-european-month-header, calendar-iso-month-header)
2974 (calendar-month-header): New options.
2975 (calendar-set-date-style): Set calendar-month-header. Redraw calendar.
2976 (calendar-generate-month): Use calendar-month-header. (Bug#9510)
2977
2978 2012-09-19 Jan Djärv <jan.h.d@swipnet.se>
2979
2980 * startup.el (command-line-ns-option-alist): Add -g and --geometry.
2981
2982 2012-09-18 Juri Linkov <juri@jurta.org>
2983
2984 * dired-aux.el (dired-diff): Restore original functionality of
2985 getting the default value, but keep new feature of using the
2986 latest existing backup file (`diff-latest-backup-file').
2987
2988 2012-09-18 Juri Linkov <juri@jurta.org>
2989
2990 * dired.el (dired-mark): If the region is active in Transient Mark
2991 mode, mark all files in the active region. Doc fix.
2992 (dired-unmark, dired-flag-file-deletion, dired-unmark-backward):
2993 Doc fix. (Bug#10624)
2994
2995 2012-09-18 Juri Linkov <juri@jurta.org>
2996
2997 * dired-aux.el (dired-do-chxxx, dired-do-chmod): Default file
2998 attributes for M-n are pulled from the file at point.
2999 (dired-do-chgrp, dired-do-chown, dired-do-touch): Doc fix.
3000 Suggested by Drew Adams. (Bug#10624)
3001
3002 2012-09-18 Dmitry Gutov <dgutov@yandex.ru>
3003
3004 * progmodes/ruby-mode.el (ruby-brace-to-do-end): Don't add extra
3005 whitespace after "end".
3006 (ruby-do-end-to-brace): Collapse block to one line if it fits
3007 within fill-column.
3008
3009 2012-09-18 Martin Rudalics <rudalics@gmx.at>
3010
3011 * emacs-lisp/debug.el (debugger-bury-or-kill): Fix customization
3012 value.
3013 (debug): Don't remove debugger window when debugger is expected
3014 to be back.
3015
3016 2012-09-18 Chong Yidong <cyd@gnu.org>
3017
3018 * custom.el (defface): Doc fix.
3019
3020 * cus-edit.el (custom-unlispify-remove-prefixes): Add warning.
3021
3022 2012-09-18 Martin Blais <blais@furius.ca> (tiny change)
3023
3024 * progmodes/compile.el (compilation-start): Use compilation-always-kill
3025 to initialize query-on-exit; then test that instead (bug#12288).
3026
3027 2012-09-17 Stefan Merten <smerten@oekonux.de>
3028
3029 * textmodes/rst.el: Add support for `testcover'.
3030 (rst-defcustom-testcover, rst-testcover-add-compose)
3031 (rst-testcover-add-1value): New functions.
3032 (rst-portable-mark-active-p): Replace by `use-region-p'.
3033 (rst-update-section, rst-classify-adornment)
3034 (rst-find-title-line): Mark `1value' forms.
3035 (rst-classify-adornment): Remove superfluous form.
3036 (rst-update-section, rst-get-adornments-around)
3037 (rst-adornment-complete-p, rst-get-next-adornment)
3038 (rst-adjust, rst-promote-region)
3039 (rst-display-adornments-hierarchy, rst-straighten-adornments)
3040 (rst-find-pfx-in-region, rst-section-tree-rec)
3041 (rst-section-tree-point, rst-toc-insert, rst-toc-insert-node)
3042 (rst-toc-node, rst-toc, rst-forward-section)
3043 (rst-iterate-leftmost-paragraphs)
3044 (rst-iterate-leftmost-paragraphs-2, rst-enumerate-region)
3045 (rst-bullet-list-region)
3046 (rst-convert-bullets-to-enumeration, rst-font-lock-keywords)
3047 (rst-compile-find-conf, rst-compile)
3048 (rst-repeat-last-character): Fix style.
3049
3050 2012-09-17 Chong Yidong <cyd@gnu.org>
3051
3052 * comint.el (comint--complete-file-name-data): Don't add a space
3053 if the status is `sole'; that adds a gratuitous space in the
3054 completion-cycling case (Bug#12092).
3055
3056 * pcomplete.el (pcomplete-completions-at-point): Likewise.
3057
3058 2012-09-17 Richard Stallman <rms@gnu.org>
3059
3060 * mail/rmailmm.el (rmail-mime-toggle-raw): Do rmail-mime-insert
3061 only in the mime-shown mode, not in raw mode.
3062 (rmail-mime): Toggle off mime by displaying the message without
3063 mime processing. (Bug#12305)
3064
3065 * mail/rmail.el (rmail-retry-failure):
3066 Turn off mime processing first. (Bug#12037)
3067
3068 * epa-mail.el (epa-mail-encrypt): Fix bug when a name has no key.
3069
3070 2012-09-17 Chong Yidong <cyd@gnu.org>
3071
3072 * shell.el (shell-file-name-chars, shell-file-name-quote-list)
3073 (shell-dynamic-complete-functions): Convert to defcustom.
3074 (shell-prompt-pattern, shell-completion-fignore): Doc fix.
3075
3076 * bookmark.el (bookmark-bmenu-toggle-filenames): Doc fixes.
3077 * comint.el (comint-prompt-read-only):
3078 * custom.el (defcustom):
3079 * hi-lock.el (hi-lock-mode):
3080 * ibuffer.el (ibuffer-formats):
3081 * ielm.el (ielm-prompt-read-only):
3082 * novice.el (disable-command):
3083 * saveplace.el (toggle-save-place):
3084 * speedbar.el (speedbar-supported-extension-expressions):
3085 * startup.el (auto-save-list-file-prefix, init-file-user)
3086 (after-init-hook, inhibit-startup-echo-area-message):
3087 * strokes.el (strokes-help):
3088 * time-stamp.el (time-stamp):
3089 * calendar/calendar.el (calendar, diary-file):
3090 * calendar/diary-lib.el (diary-mail-entries, diary)
3091 (diary-list-entries-hook):
3092 * calendar/holidays.el (holidays, calendar-holidays):
3093 * calendar/lunar.el (lunar-phases):
3094 * calendar/solar.el (sunrise-sunset):
3095 * emulation/edt.el (edt-load-keys):
3096 * emulation/viper.el (viper-mode):
3097 * eshell/em-alias.el (eshell-command-aliases-list):
3098 * eshell/esh-util.el (eshell-convert-numeric-arguments):
3099 * international/ogonek.el (ogonek-information):
3100 * net/tramp-cmds.el (tramp-bug):
3101 * net/quickurl.el (quickurl-reread-hook-postfix):
3102 * play/decipher.el (decipher-font-lock-keywords):
3103 * progmodes/cc-styles.el (c-set-style):
3104 * progmodes/idlw-shell.el (idlwave-shell-prompt-pattern):
3105 * progmodes/inf-lisp.el (inferior-lisp-prompt):
3106 * progmodes/octave-mod.el (octave-mode):
3107 * progmodes/sql.el (sql-mode, sql-interactive-mode, sql-password):
3108 * progmodes/verilog-mode.el (verilog-read-defines):
3109 * textmodes/two-column.el (2C-mode): Likewise.
3110
3111 2012-09-16 Katsumi Yamaoka <yamaoka@jpl.org>
3112
3113 * mail/mailabbrev.el (mail-abbrev-expand-hook): Work for a mail aliasee
3114 that holds many addresses.
3115
3116 2012-09-16 Chong Yidong <cyd@gnu.org>
3117
3118 * align.el (align-areas): Call the indication function with
3119 positions instead of markers for arguments (Bug#12343).
3120
3121 * files.el (parse-colon-path): Use split-string (Bug#12351).
3122
3123 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
3124 (display-buffer-function): Mark as obsolete.
3125
3126 * progmodes/compile.el (compilation-parse-errors): Accept list
3127 values similar to font-lock-keywords (Bug#12136).
3128 Suggested by Oleksandr Manzyuk.
3129 (compilation-error-regexp-alist): Doc fix.
3130
3131 2012-09-15 Glenn Morris <rgm@gnu.org>
3132
3133 * version.el (emacs-bzr-version-bzr): New function.
3134 (emacs-bzr-get-version): Add optional EXTERNAL argument.
3135
3136 * vc/vc-bzr.el (vc-bzr-working-revision): For lightweight local
3137 checkouts, check the parent dirstate matches the branch.
3138 Add "--tree" to "bzr revno" arguments. Don't try to shorten the
3139 empty string.
3140
3141 * version.el (emacs-bzr-version): Doc fix.
3142 (emacs-bzr-version-dirstate): New function.
3143 (emacs-bzr-get-version): For lightweight checkouts, if the parent
3144 is local try and check that it matches the branch. If not, just
3145 use dirstate information. (Bug#12441)
3146
3147 2012-09-14 Juri Linkov <juri@jurta.org>
3148
3149 * dired-aux.el (dired-do-chmod): Use `eq' to detect empty input.
3150 (Bug#12399)
3151
3152 2012-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
3153
3154 * emacs-lisp/advice.el (ad-prognify): Remove, use macroexp-progn.
3155
3156 * emacs-lisp/edebug.el: Miscellaneous cleanup.
3157 Remove obsolete byte-compiler hack that tried to silence some warnings.
3158 (edebug-submit-bug-report): Remove.
3159 (edebug-get-buffer-window, edebug-sit-for, edebug-input-pending-p):
3160 Remove aliases, use the un-prefixed name instead.
3161 (edebug-pop-to-buffer): Consider other frames.
3162 (edebug-original-read):: Make it more obvious that it's always defined.
3163 (edebug--make-form-data-entry, edebug--form-data-name)
3164 (edebug--form-data-begin, edebug--form-data-end): Rename from the
3165 single-dashed name, and implement with cl-defstruct.
3166 (edebug-set-form-data-entry): Use the standard accessors.
3167 (edebug-make-top-form-data-entry): Use push.
3168 (edebug-no-match): Drop useless `funcall'.
3169 (mapcar, mapconcat, mapatoms, apply, funcall): Don't add debug specs
3170 to functions.
3171 (defsubst, dont-compile, eval-when-compile, eval-and-compile)
3172 (delay-mode-hooks, with-temp-file, with-temp-message, ad-dolist)
3173 (with-syntax-table, push, pop, 1value, noreturn, defadvice)
3174 (easy-menu-define, with-custom-print): Remove redundant specs.
3175 (edebug-outside-overriding-local-map)
3176 (edebug-outside-overriding-terminal-local-map): Remove, unused.
3177 (edebug--display): Bind unread-command-events directly to nil rather
3178 than binding it to unread-command-events and later setting it to nil.
3179 (edebug--display): Kill edebug-eval-buffer here...
3180 (edebug--recursive-edit): ...rather than here.
3181 Bind standard-output and standard-input.
3182 (edebug-eval): Check cl-macroexpand-all is fboundp.
3183 (edebug-temp-display-freq-count): Fix last change.
3184
3185 * emacs-lisp/easymenu.el (easy-menu-define): Add `debug' spec.
3186 * subr.el (noreturn, 1value): Add `debug' spec.
3187 * emacs-lisp/advice.el: Require cl-lib.
3188 (ad-copy-tree): Remove, use copy-tree instead.
3189 (ad-dolist): Remove use dolist or cl-dolist instead.
3190 (ad-do-return): Remove, use cl-return instead.
3191 (defadvice): Add `debug' spec.
3192
3193 2012-09-13 Juri Linkov <juri@jurta.org>
3194
3195 * dired-aux.el (dired-do-chxxx): Use `eq' to detect empty input.
3196 (Bug#12399)
3197
3198 2012-09-13 Glenn Morris <rgm@gnu.org>
3199
3200 * calc/calc.el (math-compose-expr):
3201 * calc/calc-ext.el (math-compose-expr):
3202 * progmodes/cc-defs.el (cl-macroexpand-all):
3203 * progmodes/cc-langs.el (delete-duplicates, mapcan)
3204 (cl-macroexpand-all): Update declarations.
3205
3206 * vc/vc.el: No need to require ediff.
3207 (ediff-load-version-control): Declare.
3208 (ediff-vc-internal): Fix declaration.
3209 (vc-version-ediff): Require ediff.
3210
3211 2012-09-13 Paul Eggert <eggert@cs.ucla.edu>
3212
3213 Use a more backwards-compatible timer format (Bug#12430).
3214 * emacs-lisp/timer.el (timer): PSECS is now at the end, rather than
3215 being right after USECS, as that better supports old code that
3216 inadvisedly looked directly at the timer vector.
3217
3218 2012-09-13 Kenichi Handa <handa@gnu.org>
3219
3220 * language/chinese.el ("Chinese-GB", "Chinese-BIG5")
3221 ("Chinese-CNS", "Chinese-EUC-TW"): Add chinese-gbk to
3222 `coding-priority' property of these language environment.
3223
3224 2012-09-13 Paul Eggert <eggert@cs.ucla.edu>
3225
3226 Fix glitches caused by addition of psec to timers (Bug#12430).
3227 * image.el (image-animate-timer):
3228 * time.el (display-time-world-timer):
3229 Use timer--function and timer--args rather than raw access to
3230 timer vector.
3231
3232 2012-09-13 Glenn Morris <rgm@gnu.org>
3233
3234 * emacs-lisp/bytecomp.el (byte-compile-warning-prefix):
3235 If not compiling a file, try using load-file-name.
3236
3237 2012-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
3238
3239 * emacs-lisp/edebug.el (edebug-outside-unread-command-events):
3240 Fix last change.
3241 (edebug-update-eval-list): Use `push'.
3242
3243 * emacs-lisp/edebug.el: Use lexical-binding.
3244 Remove the "edebug-" prefix from non-dynamically-scoped variables.
3245 Mark unused args with underscore.
3246 (edebug-save-restriction, edebug-outside-excursion): Use `declare'.
3247 (edebug-form-data): Use defvar-local.
3248 (edebug-make-before-and-after-form, edebug-make-after-form):
3249 Use backquote.
3250 (edebug-args, edebug-value, edebug-after-index, edebug-arg-mode):
3251 Not dynamically scoped any more.
3252 (edebug--enter-trace): Add arguments `function' and `args'.
3253 Rename from edebug-enter-trace.
3254 (edebug-enter): Call it accordingly. Bind edebug-function explicitly.
3255 (edebug--update-coverage): Add `after-index' and `value' args.
3256 Rename from edebug-update-coverage.
3257 (edebug-slow-after): Call it accordingly.
3258 (edebug--recursive-edit): Add arg `arg-mode'. Rename from
3259 edebug-recursive-edit.
3260 (edebug--display): Call it accordingly. Add args `value',
3261 `offset-index', and `arg-mode'. Rename from edebug-display.
3262 (edebug-debugger, edebug): Call it accordingly.
3263 (edebug-eval-display-list): Use dolist.
3264
3265 2012-09-12 Juri Linkov <juri@jurta.org>
3266
3267 * info.el (Info-search): Don't check for isearch-mode and
3268 isearch-regexp before let-binding search-spaces-regexp to
3269 Info-search-whitespace-regexp.
3270 (Info-isearch-search): Let-bind Info-search-whitespace-regexp to
3271 search-whitespace-regexp if isearch-lax-whitespace or
3272 isearch-regexp-lax-whitespace is non-nil.
3273 (Info-mode): Don't set local variable search-whitespace-regexp.
3274 http://lists.gnu.org/archive/html/emacs-devel/2012-08/msg00811.html
3275
3276 2012-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
3277
3278 * emacs-lisp/debug.el (debugger-outer-unread-command-char, debug)
3279 (debugger-env-macro): Remove support for unread-command-char.
3280
3281 * subr.el (set-temporary-overlay-map): Minimize slightly the impact of
3282 the temporary map re-appearing on emulation-mode-map-alists.
3283
3284 * emacs-lisp/edebug.el (def-edebug-form-spec): Remove, it's been broken
3285 since 22.1.
3286
3287 * ehelp.el (with-electric-help): Accept functions in
3288 electric-help-form-to-execute.
3289 (electric-help-execute-extended, electric-help-ctrl-x-prefix): Use it.
3290 And replace unread-command-char -> unread-command-events.
3291
3292 2012-09-12 Michael Albinus <michael.albinus@gmx.de>
3293
3294 Sync with Tramp 2.2.6.
3295
3296 * net/tramp.el (tramp-accept-process-output): Don't use
3297 JUST-THIS-ONE in the XEmacs case.
3298
3299 * net/trampver.el: Update release number.
3300
3301 2012-09-12 Martin Rudalics <rudalics@gmx.at>
3302
3303 * emacs-lisp/debug.el (debugger-previous-window-height):
3304 New variable.
3305 (debug): When debugger-jumping-flag is non-nil try to restore
3306 height of debugger window. (Bug#8789)
3307
3308 2012-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
3309
3310 * emacs-lisp/edebug.el (edebug-enter): Don't mess with
3311 overriding-local-map and pre/post-command-hook here.
3312 (edebug-recursive-edit): Do it here instead (bug#12345).
3313 (edebug-outside-unread-command-char): Remove all uses of
3314 unread-command-char.
3315
3316 * emacs-lisp/debug.el (debug): Don't bind debug-on-error since
3317 inhibit-debugger is bound instead.
3318
3319 2012-09-11 Bastien Guerry <bzg@gnu.org>
3320
3321 * subr.el (set-temporary-overlay-map): Add a docstring.
3322 (Bug#12346)
3323
3324 2012-09-11 Bastien Guerry <bzg@gnu.org>
3325
3326 * minibuffer.el (completion-table-subvert): Fix docstring.
3327 (Bug#12347)
3328
3329 2012-09-11 Bastien Guerry <bzg@gnu.org>
3330
3331 * help-fns.el (describe-variable): Fix typo. (Bug#12346)
3332
3333 2012-09-10 Michael R. Mauger <mmaug@yahoo.com>
3334
3335 * progmodes/sql.el: Version 3.1
3336 (sql-db2-escape-newlines): New variable.
3337 (sql-escape-newlines-filter): Use it.
3338
3339 2012-09-10 Juanma Barranquero <lekktu@gmail.com>
3340
3341 * custom.el (custom-theme-load-confirm): Remove unneeded assignment.
3342
3343 2012-09-10 Dan Nicolaescu <dann@gnu.org>
3344
3345 * vc/diff-mode.el (diff-mode-menu):
3346 Bind diff-remove-trailing-whitespace.
3347
3348 2012-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
3349
3350 * emacs-lisp/lisp-mode.el (emacs-list-byte-code-comment-re): New var.
3351 (emacs-lisp-byte-code-comment, emacs-lisp-byte-code-syntax-propertize)
3352 (emacs-lisp-byte-code-mode): New functions.
3353 (eval-sexp-add-defvars): Don't skip defvars in column >0.
3354 (eval-defun-2): Remove bogus interactive spec.
3355 (lisp-indent-line): Remove redundant whole-exp code, now done in
3356 indent-according-to-mode.
3357 (save-match-data): Remove redundant indent data.
3358
3359 * emacs-lisp/benchmark.el (benchmark-run, benchmark-run-compiled):
3360 Use `declare'.
3361
3362 2012-09-09 Juri Linkov <juri@jurta.org>
3363
3364 * replace.el (replace-regexp-lax-whitespace): New defcustom.
3365 (replace-lax-whitespace, query-replace-regexp)
3366 (query-replace-regexp-eval, replace-regexp): Doc fix.
3367 (perform-replace, replace-highlight): Let-bind
3368 isearch-lax-whitespace to replace-lax-whitespace and
3369 isearch-regexp-lax-whitespace to replace-regexp-lax-whitespace.
3370
3371 * isearch.el (isearch-query-replace): Let-bind
3372 replace-lax-whitespace to isearch-lax-whitespace and
3373 replace-regexp-lax-whitespace to
3374 isearch-regexp-lax-whitespace. (Bug#10885)
3375
3376 2012-09-09 Stefan Monnier <monnier@iro.umontreal.ca>
3377
3378 * eshell/em-unix.el (eshell/sudo): Explicitly drop return value.
3379
3380 2012-09-09 Alan Mackenzie <acm@muc.de>
3381
3382 * progmodes/cc-engine.el (c-state-cache-init):
3383 Initialise c-state-semi-nonlit-pos-cache\(-limit\)? properly.
3384 (c-record-parse-state-state):
3385 Record c-state-semi-nonlit-pos-cache\(-limit\)?.
3386
3387 2012-09-09 Andreas Schwab <schwab@linux-m68k.org>
3388
3389 * register.el (register-separator): Rename from
3390 separator-register. All uses changed. Doc fix.
3391 (register): Fix version.
3392
3393 2012-09-09 Chong Yidong <cyd@gnu.org>
3394
3395 * replace.el (query-replace-map): Bind four new symbols for
3396 requesting window scrolling.
3397
3398 * subr.el (y-or-n-p): Handle the window-scrolling bindings in
3399 query-replace-map (Bug#8948).
3400
3401 * custom.el (custom-theme-load-confirm): Use y-or-n-p.
3402
3403 * emacs-lisp/map-ynp.el (map-y-or-n-p): Don't bind scrolling keys
3404 since they are now in query-replace-map.
3405
3406 * window.el (scroll-other-window-down): Make the arg optional.
3407
3408 2012-09-09 Chong Yidong <cyd@gnu.org>
3409
3410 * files.el (hack-local-variables-confirm): Use quit-window to kill
3411 the *Local Variables* buffer.
3412
3413 2012-09-08 Dmitry Gutov <dgutov@yandex.ru>
3414
3415 * progmodes/ruby-mode.el (ruby-toggle-block): Guess the current block,
3416 not just expect to be at its beginning. Adjust callees.
3417 Succeed when do-end block has no space before the pipe character.
3418 (ruby-brace-to-do-end): When the original block is one-liner,
3419 convert to multiline. Reindent the result.
3420
3421 2012-09-08 Jambunathan K <kjambunathan@gmail.com>
3422
3423 * register.el (register): New group.
3424 (separator-register): New user option.
3425 (increment-register): Route it to `append-to-register', if
3426 register contains text. Implication is that `C-x r +' can now be
3427 used for appending to a text register (bug#12217).
3428 (append-to-register, prepend-to-register): Add separator based on
3429 `separator-register'.
3430
3431 2012-09-08 Alan Mackenzie <acm@muc.de>
3432
3433 AWK Mode: make auto-newline work when there's "==" in the pattern.
3434 * progmodes/cc-cmds.el (c-point-syntax): Handle virtual semicolons
3435 correctly.
3436 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5A.3):
3437 Test more rigorously for "=" token.
3438
3439 2012-09-08 Dmitry Gutov <dgutov@yandex.ru>
3440
3441 * progmodes/ruby-mode.el (ruby-match-expression-expansion):
3442 Only fail when reached LIMIT.
3443
3444 2012-09-08 Chong Yidong <cyd@gnu.org>
3445
3446 * dired.el (dired-mode-map): Don't bind M-=.
3447
3448 * dired-aux.el (dired-diff): Use backup file as default.
3449
3450 2012-09-08 Drew Adams <drew.adams@oracle.com>
3451
3452 * subr.el (add-to-history): Fix delete usage (Bug#12314).
3453
3454 2012-09-08 Chong Yidong <cyd@gnu.org>
3455
3456 * subr.el (syntax-after, syntax-class): Doc fix.
3457
3458 2012-09-08 Martin Rudalics <rudalics@gmx.at>
3459
3460 * window.el (display-buffer-in-previous-window): New buffer
3461 display action function.
3462
3463 * emacs-lisp/debug.el (debugger-bury-or-kill): New option.
3464 (debugger-previous-window): New variable.
3465 (debug): Rewrite using display-buffer-in-previous-window,
3466 quit-restore-window and debugger-bury-or-kill. (Bug#8789)
3467
3468 2012-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
3469
3470 * emacs-lisp/byte-run.el (defun): Tweak message. Simplify code.
3471
3472 2012-09-07 Matt McClure <mlm@aya.yale.edu> (tiny change)
3473
3474 * progmodes/python.el (python-shell-send-string):
3475 When default-directory is remote, create temp file on remote
3476 filesystem.
3477 (python-shell-send-file): When file is remote, pass local view of
3478 file paths to remote Python interpreter. (Bug#12340)
3479
3480 2012-09-07 Chong Yidong <cyd@gnu.org>
3481
3482 * window.el (switch-to-buffer): Doc fix (Bug#12181).
3483
3484 * files.el (after-find-file): Don't fail on a read-only buffer if
3485 require-final-newline is `visit' or `visit-save' (Bug#11156).
3486
3487 * subr.el (read-char-choice): Allow quitting via ESC ESC.
3488
3489 * userlock.el (ask-user-about-supersession-threat):
3490 Use read-char-choice (Bug#12093).
3491
3492 2012-09-07 Chong Yidong <cyd@gnu.org>
3493
3494 * subr.el (buffer-narrowed-p): New function.
3495
3496 * ses.el (ses-widen):
3497 * simple.el (count-words--buffer-message):
3498 * net/browse-url.el (browse-url-of-buffer): Use it.
3499
3500 * simple.el (count-words-region): Don't signal an error if there
3501 is a non-nil prefix arg and the mark is not set.
3502
3503 * help.el (describe-key-briefly): Allow the message to be seen
3504 when invoked from the minibuffer (Bug#7014).
3505
3506 2012-09-07 Dmitry Gutov <dgutov@yandex.ru>
3507
3508 * progmodes/ruby-mode.el (ruby-end-of-defun)
3509 (ruby-beginning-of-defun): Simplify, allow indentation before
3510 block beginning and end keywords.
3511 (ruby-beginning-of-defun): Only consider 3 keywords defun beginners.
3512 (ruby-end-of-defun): Expect that the point is at the beginning of
3513 the defun.
3514
3515 2012-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
3516
3517 * emacs-lisp/cl-macs.el (cl--do-arglist): Understand _ on &key args
3518 (bug#12367).
3519 (cl--make-usage-args): Strip _ from argument names.
3520
3521 2012-09-06 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3522
3523 * progmodes/vhdl-mode.el (vhdl-speedbar-initialize): Don't use
3524 obsolete alias speedbar-key-map.
3525 (vhdl-doc-variable, vhdl-doc-mode): Use called-interactively-p.
3526 (vhdl-index-menu-init): Don't use obsolete variable
3527 font-lock-maximum-size.
3528
3529 2012-09-06 Chong Yidong <cyd@gnu.org>
3530
3531 * frame.el (window-system-version): Mark as obsolete.
3532
3533 * speedbar.el (speedbar-update-flag, speedbar-mode): Remove uses
3534 of obsolete variable speedbar-key-map.
3535
3536 2012-09-06 Juri Linkov <juri@jurta.org>
3537
3538 * replace.el (replace-lax-whitespace): New defcustom.
3539 (query-replace, query-replace-regexp, query-replace-regexp-eval)
3540 (replace-string, replace-regexp): Mention it in docstrings.
3541 (perform-replace, replace-highlight): Let-bind
3542 isearch-lax-whitespace and isearch-regexp-lax-whitespace according
3543 to the values of replace-lax-whitespace and regexp-flag.
3544 Don't let-bind search-whitespace-regexp. (Bug#10885)
3545
3546 * isearch.el (isearch-query-replace): Let-bind
3547 replace-lax-whitespace instead of let-binding
3548 replace-search-function and replace-re-search-function.
3549 (isearch-lazy-highlight-search): Let-bind isearch-lax-whitespace
3550 and isearch-regexp-lax-whitespace to lazy-highlight variables.
3551 (isearch-toggle-symbol): Set isearch-regexp to nil
3552 in isearch-word mode (like in isearch-toggle-word).
3553
3554 2012-09-06 Juri Linkov <juri@jurta.org>
3555
3556 * replace.el (replace-search-function)
3557 (replace-re-search-function): Set default values to nil.
3558 (perform-replace): Let-bind isearch-related variables based on
3559 replace-related values, call `isearch-search-fun' and let-bind
3560 the result to `search-function'. Remove code that sets
3561 `search-function' and `search-string' separately for
3562 `delimited-flag'.
3563 (replace-highlight): Add new argument `delimited-flag' and
3564 rename other arguments to the names used in `perform-replace'.
3565 Let-bind `isearch-word' to the argument `delimited-flag'.
3566 (Bug#10885, bug#10887)
3567
3568 2012-09-07 Dmitry Gutov <dgutov@yandex.ru>
3569
3570 * progmodes/ruby-mode.el (ruby-indent-beg-re): Add pieces from
3571 ruby-beginning-of-indent, simplify, allow all keywords to have
3572 indentation before them.
3573 (ruby-beginning-of-indent): Adjust for above. Search until the
3574 found point is not inside a string or comment.
3575 (ruby-font-lock-keywords): Allow symbols to start with "@"
3576 character, give them higher priority than variables.
3577 (ruby-syntax-propertize-function)
3578 (ruby-font-lock-syntactic-keywords): Remove the "not comments"
3579 matchers. Expression expansions are not comments when inside a
3580 string, and there comment syntax status is irrelevant.
3581 (ruby-match-expression-expansion): New function. Check that
3582 expression expansion is inside a string, and it's not escaped.
3583 (ruby-font-lock-keywords): Use it.
3584
3585 2012-09-05 Martin Rudalics <rudalics@gmx.at>
3586
3587 * help.el (temp-buffer-max-height): New default value.
3588 (temp-buffer-resize-frames): New option.
3589 (resize-temp-buffer-window): Optionally resize frame.
3590
3591 * window.el (fit-frame-to-buffer-bottom-margin): New option.
3592 (fit-frame-to-buffer): New function.
3593
3594 2012-09-05 Glenn Morris <rgm@gnu.org>
3595
3596 * emulation/cua-rect.el (cua--init-rectangles):
3597 * textmodes/picture.el (picture-mode-map):
3598 * play/blackbox.el (blackbox-mode-map): Remap right-char and left-char
3599 like forward-char and backward-char. (Bug#12317)
3600
3601 2012-09-05 Leo Liu <sdl.web@gmail.com>
3602
3603 * progmodes/flymake.el (flymake-warning-re): New variable.
3604 (flymake-parse-line): Use it.
3605
3606 2012-09-05 Glenn Morris <rgm@gnu.org>
3607
3608 * calendar/holidays.el (holiday-christian-holidays):
3609 Rename an entry. (Bug#12289)
3610
3611 2012-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
3612
3613 * progmodes/sh-script.el (sh-font-lock-paren): Don't burp at BOB
3614 (bug#12222).
3615
3616 2012-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
3617
3618 * loadup.el: Load macroexp. Remove hack.
3619 * emacs-lisp/macroexp.el (macroexp--eval-if-compile): New function.
3620 (macroexp--expand-all): Use it to get better warnings.
3621 (macroexp--backtrace, macroexp--trim-backtrace-frame)
3622 (internal-macroexpand-for-load): New functions.
3623 (macroexp--pending-eager-loads): New var.
3624 (emacs-startup-hook): New hack to replace one in loadup.el.
3625 * emacs-lisp/cl-macs.el (cl--compiler-macro-list*)
3626 (cl--compiler-macro-cXXr): Move to top, before they can be used.
3627 (cl-psetf): Simplify.
3628 (cl-defstruct): Add indent rule.
3629
3630 2012-09-04 Lars Ingebrigtsen <larsi@gnus.org>
3631
3632 * mail/smtpmail.el (smtpmail-send-it): Prefer the From: header
3633 over `user-mail-address' for the SMTP MAIL FROM envelope.
3634 (smtpmail-via-smtp): Ditto.
3635
3636 2012-09-04 Dmitry Gutov <dgutov@yandex.ru>
3637
3638 * progmodes/ruby-mode.el: Clean up keybindings.
3639 (ruby-mode-map): Don't bind ruby-electric-brace,
3640 ruby-beginning-of-defun, ruby-end-of-defun, ruby-mark-defun,
3641 backward-kill-word, reindent-then-newline-and-indent.
3642 (ruby-mark-defun): Remove.
3643 (ruby-electric-brace): Remove. Obsoleted by electric-indent-chars.
3644 (ruby-mode): Set local beginning-of-defun-function and
3645 end-of-defun-function values.
3646
3647 2012-09-03 Martin Rudalics <rudalics@gmx.at>
3648
3649 * window.el (temp-buffer-window-setup-hook)
3650 (temp-buffer-window-show-hook): New hooks.
3651 (temp-buffer-window-setup, temp-buffer-window-show)
3652 (with-temp-buffer-window): New functions.
3653 (fit-window-to-buffer): Remove unused optional argument OVERRIDE.
3654 (special-display-popup-frame): Make sure the window used shows BUFFER.
3655
3656 * help.el (temp-buffer-resize-mode): Fix doc-string.
3657 (resize-temp-buffer-window): New optional argument WINDOW.
3658
3659 * files.el (recover-file, save-buffers-kill-emacs):
3660 * dired.el (dired-mark-pop-up): Use with-temp-buffer-window.
3661
3662 2012-09-02 Michael Albinus <michael.albinus@gmx.de>
3663
3664 * eshell/em-unix.el (eshell/sudo): When we have an ad-hoc
3665 remote definition of `default-directory', ensure we can connect.
3666
3667 2012-09-02 Juri Linkov <juri@jurta.org>
3668
3669 Toggle whitespace matching mode with M-s SPC.
3670 http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00008.html
3671
3672 * isearch.el (search-whitespace-regexp): Doc fix.
3673 Remove cons cell customization.
3674 (isearch-mode-map): Bind "\M-s " to isearch-toggle-lax-whitespace.
3675 (isearch-lax-whitespace, isearch-regexp-lax-whitespace):
3676 New variables.
3677 (isearch-forward, isearch-forward-regexp): Doc fix.
3678 (isearch-toggle-lax-whitespace): New command.
3679 (search-forward-lax-whitespace, search-backward-lax-whitespace)
3680 (re-search-forward-lax-whitespace)
3681 (re-search-backward-lax-whitespace): New functions.
3682 (isearch-whitespace-regexp): Remove function.
3683 (isearch-query-replace): Let-bind replace-search-function and
3684 replace-re-search-function.
3685 (isearch-occur): Let-bind search-spaces-regexp according to the
3686 value of isearch-lax-whitespace and isearch-regexp-lax-whitespace.
3687 (isearch-quote-char): Check isearch-regexp-lax-whitespace in the
3688 condition for C-q SPC.
3689 (isearch-search-fun-default): Use new functions mentioned above.
3690 (isearch-search-forward, isearch-search-backward): Remove functions.
3691 (isearch-search): Don't let-bind search-spaces-regexp.
3692 (isearch-lazy-highlight-space-regexp): Remove variable.
3693 (isearch-lazy-highlight-lax-whitespace)
3694 (isearch-lazy-highlight-regexp-lax-whitespace): New variables.
3695 (isearch-lazy-highlight-new-loop): Use them.
3696 (isearch-lazy-highlight-search): Don't let-bind search-spaces-regexp.
3697
3698 2012-09-02 Chong Yidong <cyd@gnu.org>
3699
3700 * dired.el (dired-mode-map): Menu string fixes (Bug#11616).
3701
3702 2012-09-02 Glenn Morris <rgm@gnu.org>
3703
3704 * simple.el (undo): Tweak message in undo-only case. (Bug#12283)
3705
3706 2012-09-01 Glenn Morris <rgm@gnu.org>
3707
3708 * term.el: Tidy up menu definitions.
3709 (term-mode-map): Use easymenu for In/Out, Complete menus.
3710 (term-pager-break-map): Initialize in the defvar.
3711 (term-terminal-menu, term-signals-menu): Define with easymenu.
3712 (term-terminal-menu): Also show it in line-mode. (Bug#11957)
3713 (term-pager-menu): New, extracted from term-process-pager.
3714 (term-mode, term-char-mode, term-process-pager): Use easymenu-add.
3715 (term-update-mode-line): Propertize line/char and page items.
3716 (term-process-pager): Move keymap initialization elsewhere.
3717
3718 2012-09-01 Martin Rudalics <rudalics@gmx.at>
3719
3720 * window.el (switch-to-prev-buffer): Handle additional values of
3721 BURY-OR-KILL argument. Don't switch in minibuffer window.
3722 (switch-to-next-buffer): Don't switch in minibuffer window.
3723 (quit-restore-window): New function based on quit-window.
3724 Handle additional values of former KILL argument.
3725 (quit-window): Call quit-restore-window with appropriate
3726 interpretation of KILL argument.
3727 (display-buffer-below-selected): New buffer display action
3728 function.
3729
3730 2012-09-01 Stefan Monnier <monnier@iro.umontreal.ca>
3731
3732 * minibuffer.el (completion-at-point-functions): Complete docstring
3733 (bug#12254).
3734
3735 2012-09-01 Paul Eggert <eggert@cs.ucla.edu>
3736
3737 Better seed support for (random).
3738 * play/5x5.el, play/animate.el, play/cookie1.el, play/dissociate.el:
3739 * play/doctor.el, play/dunnet.el, play/gomoku.el, play/landmark.el:
3740 * play/mpuz.el, play/tetris.el, play/zone.el:
3741 * calc/calc-comb.el (math-init-random-base):
3742 * play/blackbox.el (bb-init-board):
3743 * play/life.el (life):
3744 * server.el (server-use-tcp):
3745 * type-break.el (type-break):
3746 Remove unnecessary call to (random t).
3747 * net/sasl.el (sasl-unique-id-function):
3748 Change (random t) to (random), now that the latter is more random.
3749 * play/life.el (life-initialized): Remove no-longer-needed var.
3750
3751 2012-08-31 Alp Aker <alp.tekin.aker@gmail.com>
3752
3753 * window.el (switch-to-prev-buffer, switch-to-next-buffer):
3754 Consider frame's buffer predicate when choosing the buffer.
3755 (Bug#12081)
3756
3757 2012-08-30 Richard Stallman <rms@gnu.org>
3758
3759 * simple.el (special-mode-map): Delete binding for `z'.
3760
3761 2012-08-30 Andreas Schwab <schwab@linux-m68k.org>
3762
3763 * progmodes/compile.el (compilation-always-kill): Doc fix.
3764
3765 2012-08-30 Chong Yidong <cyd@gnu.org>
3766
3767 * window.el (display-buffer-reuse-frames): Make the obsolescence
3768 message more informative.
3769
3770 2012-08-30 Glenn Morris <rgm@gnu.org>
3771
3772 * paren.el (show-paren-delay):
3773 Add a :set function. Doc fix. (Bug#12297)
3774
3775 2012-08-29 Martin Blais <blais@furius.ca> (tiny change)
3776
3777 * progmodes/compile.el (compilation-always-kill): New var.
3778 (compilation-start): Use it.
3779
3780 2012-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
3781
3782 * simple.el (read-only-mode): Move from files.el for bootstrapping.
3783 * files.el (read-only-mode): Move to simple.el.
3784
3785 * files.el (read-only-mode): New minor mode.
3786 (toggle-read-only): Use it and mark obsolete.
3787 (find-file--read-only):
3788 * vc/vc.el (vc-next-action, vc-checkout):
3789 * vc/vc-cvs.el (vc-cvs-checkout):
3790 * obsolete/vc-mcvs.el (vc-mcvs-update):
3791 * ffap.el (ffap--toggle-read-only): Update callers.
3792
3793 2012-08-29 Michael Albinus <michael.albinus@gmx.de>
3794
3795 * eshell/esh-ext.el (eshell-external-command): Do not examine
3796 remote shell scripts.
3797 See <https://bugs.launchpad.net/ubuntu/+source/emacs23/+bug/1035790>.
3798
3799 * net/tramp-sh.el (tramp-remote-path): Add "/sbin" and
3800 "/usr/local/sbin".
3801
3802 2012-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
3803
3804 * emacs-lisp/cl-lib.el (buffer-string): Fix setter macro (bug#12293).
3805
3806 2012-08-28 Leo Liu <sdl.web@gmail.com>
3807
3808 * progmodes/sh-script.el (sh-dynamic-complete-functions): Adapt to
3809 completion-at-point. (Bug#12220)
3810
3811 * skeleton.el (skeleton-untabify): Change to nil (bug#12223).
3812
3813 * progmodes/sh-script.el (sh-indent-comment): Change to t (bug#12267).
3814
3815 2012-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
3816
3817 * files.el (safe-local-eval-forms): Fix before-save-hook entry to
3818 be buffer-local; add delete-trailing-whitespace (bug#12259).
3819
3820 2012-08-28 Jeremy Moore <jmoore@ieee.org> (tiny change)
3821
3822 * progmodes/hideif.el (hif-compress-define-list):
3823 Fix typo. (Bug#11951)
3824
3825 2012-08-28 Dan Nicolaescu <dann@gnu.org>
3826
3827 * progmodes/hideshow.el (hs-block-end-regexp): Restore lost
3828 buffer local setting.
3829
3830 * net/rcirc.el (rcirc-split-message): Fix for buffer-local
3831 rcirc-encode-coding-system.
3832
3833 2012-08-28 Leo Liu <sdl.web@gmail.com>
3834
3835 * net/rcirc.el (rcirc-split-message): New function.
3836 (rcirc-send-message): Use it. (Bug#12051)
3837
3838 2012-08-28 Juri Linkov <juri@jurta.org>
3839
3840 * info.el (Info-fontify-node): Hide empty lines at the end of
3841 the node. (Bug#12272)
3842
3843 2012-08-27 Drew Adams <drew.adams@oracle.com>
3844
3845 * dired.el (dired-pop-to-buffer): Make window start at beginning
3846 of buffer (Bug#12281).
3847
3848 2012-08-26 Chong Yidong <cyd@gnu.org>
3849
3850 * window.el (special-display-regexps, special-display-frame-alist)
3851 (special-display-buffer-names, special-display-function)
3852 (display-buffer-reuse-frames): Mark as obsolete.
3853
3854 * progmodes/compile.el: Don't use display-buffer-reuse-frames.
3855
3856 * help.el (help-print-return-message): Don't treat
3857 display-buffer-reuse-frames specially.
3858
3859 2012-08-26 Chong Yidong <cyd@gnu.org>
3860
3861 * progmodes/gdb-mi.el (gdb-display-buffer-other-frame-action):
3862 New variable, replacing gdb-frame-parameters.
3863 (gdb-frame-io-buffer, gdb-frame-breakpoints-buffer)
3864 (gdb-frame-threads-buffer, gdb-frame-memory-buffer)
3865 (gdb-frame-disassembly-buffer, gdb-frame-stack-buffer)
3866 (gdb-frame-locals-buffer, gdb-frame-registers-buffer): Use it.
3867 (def-gdb-frame-for-buffer): Macro deleted. It is easier to define
3868 the functions directly with gdb-display-buffer-other-frame-action.
3869 (gdb-display-breakpoints-buffer, gdb-display-threads-buffer)
3870 (gdb-display-memory-buffer, gdb-display-disassembly-buffer)
3871 (gdb-display-stack-buffer, gdb-display-locals-buffer)
3872 (gdb-display-registers-buffer): Define directly.
3873 (def-gdb-display-buffer): Macro deleted.
3874 (gdb-display-buffer): Remove second and third args, callers don't
3875 use them. Defer to the default display-buffer behavior, apart
3876 from making windows dedicated.
3877 (gdb-setup-windows): Don't call display-buffer unnecessarily.
3878
3879 * progmodes/gud.el (gud-display-line): Just use display-buffer.
3880
3881 * window.el (display-buffer-pop-up-frame): Handle a
3882 pop-up-frame-parameters alist entry.
3883 (display-buffer): Document it.
3884
3885 2012-08-26 Chong Yidong <cyd@gnu.org>
3886
3887 * isearch.el (search-whitespace-regexp): Make string and nil
3888 values apply to both ordinary and regexp search. Allow a cons
3889 cell value to distinguish between the two.
3890 (isearch-whitespace-regexp, isearch-search-forward)
3891 (isearch-search-backward): New functions.
3892 (isearch-occur, isearch-search-fun-default, isearch-search)
3893 (isearch-lazy-highlight-new-loop): Use them.
3894 (isearch-forward, isearch-forward-regexp): Doc fix.
3895
3896 2012-08-26 Chong Yidong <cyd@gnu.org>
3897
3898 * faces.el (help-argument-name): Always inherit from italic
3899 (Bug#12213).
3900
3901 2012-08-25 Martin Rudalics <rudalics@gmx.at>
3902
3903 * window.el (window--even-window-heights): Even heights when
3904 WINDOW and the selected window form a vertical combination.
3905 (display-buffer-use-some-window): Provide that window used gets
3906 sized back by quit-window. (Bug#11880) and (Bug#12091)
3907
3908 2012-08-24 Paul Eggert <eggert@cs.ucla.edu>
3909
3910 Fix file time stamp problem with bzr and CVS (Bug#12001).
3911 * vc/vc-cvs.el (vc-cvs-parse-entry): Ignore subsecond information
3912 in the file's time stamp, since the version control system loses
3913 that information.
3914
3915 2012-08-22 Juri Linkov <juri@jurta.org>
3916
3917 * info.el (Info-fontify-node): Hide the suffix of the
3918 Info file name in the header line. (Bug#12187)
3919
3920 2012-08-22 Glenn Morris <rgm@gnu.org>
3921
3922 * calendar/cal-tex.el (cal-tex-weekly-common):
3923 Restore leading blank page.
3924
3925 2012-08-22 Le Wang <l26wang@gmail.com> (tiny change)
3926
3927 * misc.el (forward-to-word, backward-to-word): Activate or extend
3928 the region under `shift-select-mode'. (Bug#12231)
3929
3930 2012-08-22 Bastien Guerry <bzg@gnu.org>
3931
3932 * progmodes/executable.el (executable-prefix): Set to "#!" instead
3933 of "#! ". http://www.in-ulm.de/~mascheck/various/shebang/#details
3934 gives details on why the space is never needed.
3935
3936 2012-08-22 Martin Rudalics <rudalics@gmx.at>
3937
3938 * window.el (walk-window-tree, window-with-parameter):
3939 New optional argument MINIBUF to control whether these functions
3940 should run on the minibuffer window.
3941 (window-at-side-list): Don't operate on minibuffer window.
3942 (window-in-direction): Simplify and rewrite doc-string.
3943 (window--size-ignore): Rename to window--size-ignore-p.
3944 Update callers.
3945 (display-buffer-in-atom-window, window--major-non-side-window)
3946 (window--major-side-window, display-buffer-in-major-side-window)
3947 (delete-side-window, display-buffer-in-side-window):
3948 New functions.
3949 (window--side-check, window-deletable-p, delete-window)
3950 (delete-other-windows, split-window): Handle side windows and
3951 atomic windows appropriately.
3952 (window--display-buffer): Call display-buffer-record-window also
3953 when the window buffer did not change.
3954
3955 2012-08-22 Christopher Schmidt <christopher@ch.ristopher.com>
3956
3957 * help-fns.el (help-fns--key-bindings):
3958 Abbreviate non-symbol remap targets. (Bug#12174)
3959
3960 2012-08-22 Martin Rudalics <rudalics@gmx.at>
3961
3962 * dired.el (dired-mark-remembered): Don't clobber point.
3963 (Bug#11795)
3964
3965 2012-08-22 Glenn Morris <rgm@gnu.org>
3966
3967 * progmodes/bug-reference.el (bug-reference): New custom group.
3968 (bug-reference-bug-regexp): Make it a defcustom.
3969
3970 2012-08-22 Daiki Ueno <ueno@unixuser.org>
3971
3972 * progmodes/js.el (js-indent-level, js-expr-indent-offset)
3973 (js-paren-indent-offset, js-square-indent-offset)
3974 (js-curly-indent-offset): Add :safe (Bug#12257).
3975
3976 2012-08-22 Edward O'Connor <hober0@gmail.com>
3977
3978 * json.el (json-key-format): Add error properties.
3979 (json-encode-key): New function.
3980 (json-encode-hash-table, json-encode-alist, json-encode-plist):
3981 Use json-encode-key.
3982
3983 2012-08-22 Glenn Morris <rgm@gnu.org>
3984
3985 * calendar/cal-tex.el (cal-tex-longday): New function, replacing...
3986 (cal-tex-leftday, cal-tex-rightday): Remove functions.
3987 (cal-tex-weekly-common, cal-tex-cursor-filofax-2week):
3988 Update for above change.
3989
3990 2012-08-21 Andreas Schwab <schwab@linux-m68k.org>
3991
3992 * cus-face.el (custom-face-attributes): Fix customize type for the
3993 :underline attribute. (Bug#11805)
3994
3995 2012-08-21 Martin Rudalics <rudalics@gmx.at>
3996
3997 * window.el (window-point-1, set-window-point-1): Remove.
3998 (window-in-direction, record-window-buffer)
3999 (set-window-buffer-start-and-point, split-window-below)
4000 (window--state-get-1, display-buffer-record-window):
4001 Replace calls to window-point-1 and set-window-point-1 by calls to
4002 window-point and set-window-point respectively.
4003
4004 2012-08-21 Glenn Morris <rgm@gnu.org>
4005
4006 * calendar/cal-tex.el (cal-tex-weekly-common): New function.
4007 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-week):
4008 Use it.
4009
4010 * calendar/cal-tex.el (cal-tex-rightday): Add optional funcname arg.
4011 (cal-tex-shortday): New function.
4012 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-week)
4013 (cal-tex-cursor-filofax-daily): Use the above.
4014
4015 * calendar/cal-tex.el (cal-tex-leftday, cal-tex-rightday):
4016 New functions.
4017 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-2week)
4018 (cal-tex-cursor-filofax-week): Use them.
4019
4020 * calendar/cal-tex.el (cal-tex-lefthead, cal-tex-righthead):
4021 New constants.
4022 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-2week)
4023 (cal-tex-cursor-filofax-week, cal-tex-cursor-filofax-daily): Use them.
4024
4025 * calendar/cal-tex.el (cal-tex-preamble): Generate new buffers.
4026 (cal-tex-end-document): Don't rely on buffer name.
4027
4028 * calendar/cal-tex.el (cal-tex-cursor-filofax-year):
4029 Use cal-tex-vspace.
4030 (cal-tex-vspace, cal-tex-hspace, cal-tex-em, cal-tex-bf)
4031 (cal-tex-Huge-bf, cal-tex-large-bf): Use cal-tex-cmd.
4032 (cal-tex-scriptsize, cal-tex-huge, cal-tex-Huge, cal-tex-large):
4033 Use cal-tex-arg.
4034
4035 * calendar/cal-tex.el (cal-tex-cursor-filofax-year)
4036 (cal-tex-cursor-week, cal-tex-cursor-week2)
4037 (cal-tex-cursor-week-iso, cal-tex-cursor-week-at-a-glance)
4038 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
4039 (cal-tex-cursor-filofax-daily, cal-tex-cursor-day)
4040 (cal-tex-insert-preamble, cal-tex-b-document)
4041 (cal-tex-e-document, cal-tex-b-center, cal-tex-e-center):
4042 Improve cal-tex-cmd usage.
4043
4044 * calendar/cal-tex.el (cal-tex-filofax-paper): New function.
4045 (cal-tex-cursor-filofax-year, cal-tex-cursor-filofax-2week)
4046 (cal-tex-cursor-filofax-week, cal-tex-cursor-filofax-daily): Use it.
4047 (cal-tex-weekly-paper): New function.
4048 (cal-tex-cursor-week, cal-tex-cursor-week2)
4049 (cal-tex-cursor-week-iso, cal-tex-cursor-week-monday)
4050 (cal-tex-cursor-day): Use it.
4051
4052 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance)
4053 (cal-tex-cursor-filofax-week): Remove leading blank page.
4054
4055 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance):
4056 Add autoload cookie. For now at least, don't use color, since
4057 no other cal-tex function does.
4058
4059 * calendar/cal-tex.el (cal-tex-cursor-week-iso)
4060 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
4061 (cal-tex-cursor-filofax-daily): Correct start date for diary entries.
4062
4063 2012-08-21 Juri Linkov <juri@jurta.org>
4064
4065 * info.el (Info-file-attributes): New variable.
4066 (info-insert-file-contents): Add file attributes to
4067 `Info-file-attributes'. Clear the caches `Info-index-nodes' and
4068 `Info-toc-nodes' when previous modtime of the Info file is less
4069 than new modtime.
4070 (Info-toc-nodes, Info-index-nodes): Move definitions up to the top
4071 of info.el. (Bug#12230)
4072
4073 2012-08-20 Glenn Morris <rgm@gnu.org>
4074
4075 * calendar/diary-lib.el (diary-include-files, diary-sexp-entry):
4076 * calendar/holidays.el (calendar-holiday-list):
4077 Report errors with display-warning rather than beep'n'sleep.
4078
4079 2012-08-20 Michael Albinus <michael.albinus@gmx.de>
4080
4081 * net/tramp.el (tramp-accept-process-output): Accept only output
4082 from PROC. Otherwise, process filters and sentinels might be
4083 confused. (Bug#12145)
4084
4085 2012-08-20 Chong Yidong <cyd@gnu.org>
4086
4087 * descr-text.el (describe-text-properties-1): Use overlays-in to
4088 report on empty overlays (Bug#3322).
4089
4090 2012-08-20 Glenn Morris <rgm@gnu.org>
4091
4092 * mail/rmailout.el (rmail-output-read-file-name):
4093 Trap and report errors in rmail-output-file-alist elements.
4094
4095 * font-lock.el (font-lock-add-keywords): Doc fix (quote face names
4096 since most non-font-lock faces are not also variables).
4097
4098 2012-08-20 Edward Reingold <reingold@iit.edu>
4099
4100 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance):
4101 New function. (Bug12160)
4102
4103 2012-08-19 Glenn Morris <rgm@gnu.org>
4104
4105 * mail/rmailout.el (rmail-output-read-file-name):
4106 Fix previous change (when the alist is nil or does not match).
4107
4108 2012-08-19 Chong Yidong <cyd@gnu.org>
4109
4110 * xml.el (xml-escape-string): Don't refer to xml-entity-alist
4111 (Bug#12228).
4112
4113 2012-08-18 Chong Yidong <cyd@gnu.org>
4114
4115 * simple.el (yank-handled-properties): New defcustom.
4116 (yank-excluded-properties): Add font-lock-face and category.
4117 (yank): Doc fix.
4118
4119 * subr.el (remove-yank-excluded-properties):
4120 Obey yank-handled-properties. The special handling of font-lock-face
4121 and category is now done this way, instead of being hard-coded.
4122 (insert-for-yank-1): Remove font-lock-face handling.
4123 (yank-handle-font-lock-face-property)
4124 (yank-handle-category-property): New function.
4125
4126 2012-08-17 Glenn Morris <rgm@gnu.org>
4127
4128 * mail/rmailout.el (rmail-output-read-file-name):
4129 Check rmail-output-file-alist against the full message body
4130 in the correct rmail buffer. (Bug#12214)
4131
4132 2012-08-17 Michael Albinus <michael.albinus@gmx.de>
4133
4134 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
4135 Eliminate superfluous prompt. (Bug#12203)
4136
4137 2012-08-17 Chong Yidong <cyd@gnu.org>
4138
4139 * mouse.el (mouse-appearance-menu): If x-select-font returns a
4140 font spec, set the font directly (Bug#3228).
4141
4142 2012-08-17 Martin Rudalics <rudalics@gmx.at>
4143
4144 * window.el (delete-window): Fix last fix.
4145
4146 2012-08-16 Martin Rudalics <rudalics@gmx.at>
4147
4148 * window.el (window-valid-p): Move to window.c.
4149 (window-child, window-child-count, window-last-child)
4150 (window-normalize-window, window-combined-p)
4151 (window-combinations, window-atom-root, window-min-size)
4152 (window-sizable, window-sizable-p, window-size-fixed-p)
4153 (window-min-delta, window-max-delta, window--resizable)
4154 (window--resizable-p, window-resizable, window-total-size)
4155 (window-full-height-p, window-full-width-p, window-body-size)
4156 (window-at-side-p, adjust-window-trailing-edge, maximize-window)
4157 (minimize-window, window-deletable-p, delete-window)
4158 (delete-other-windows, set-window-buffer-start-and-point)
4159 (next-buffer, previous-buffer, split-window, balance-windows-2)
4160 (set-window-text-height, window-buffer-height)
4161 (fit-window-to-buffer, shrink-window-if-larger-than-buffer)
4162 (truncated-partial-width-window-p): Minor code adjustments.
4163 In doc-strings state whether the argument window has to denote a
4164 live, valid or any window.
4165
4166 2012-08-16 Phil Sainty <psainty@orcon.net.nz> (tiny change)
4167
4168 * progmodes/subword.el (subword-forward-function)
4169 (subword-backward-function, subword-forward-regexp)
4170 (subword-backward-regexp): New variables.
4171 (subword-forward, subword-forward-internal, subword-backward-internal):
4172 Use new variables, eg so that different "word" definitions
4173 can be easily used. (Bug#11411)
4174
4175 2012-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
4176
4177 * vc/vc-mtn.el (vc-mtn-revision-completion-table): Handle completion
4178 for composite selectors.
4179 * vc/vc.el (vc-diff-build-argument-list-internal): Don't prevent
4180 operation just because we can't find a previous revision.
4181
4182 2012-08-15 Chong Yidong <cyd@gnu.org>
4183
4184 * frame.el (set-frame-font): Accept font objects.
4185
4186 2012-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
4187
4188 * textmodes/tex-mode.el (tex-insert-quote): ~ is a space (bug#12137).
4189
4190 2012-08-15 Wolfgang Jenkner <wjenkner@inode.at>
4191
4192 * man.el (Man-overstrike-face, Man-underline-face)
4193 (Man-reverse-face): Remove variables.
4194 (Man-overstrike, Man-underline, Man-reverse): New faces.
4195 (Man-fontify-manpage): Use them instead of the variables.
4196 (Man-cleanup-manpage): Comment change.
4197 (Man-ansi-color-map): New variable.
4198 (Man-fontify-manpage): Use it.
4199 Call ansi-color-apply-on-region to replace ad hoc code (bug#12147).
4200
4201 Implement ANSI SGR parameters 22-27 (bug#12146).
4202 * ansi-color.el (ansi-colors): Doc fix.
4203 (ansi-color-context, ansi-color-context-region): Doc fix.
4204 (ansi-color--find-face): New function.
4205 (ansi-color-apply, ansi-color-apply-on-region): Use it.
4206 Rename the local variable `face' to `codes' since it is now a list of
4207 ansi codes. Doc fix.
4208 (ansi-color-get-face): Remove.
4209 (ansi-color-parse-sequence): New function, derived from
4210 ansi-color-get-face.
4211 (ansi-color-apply-sequence): Use it. Rewrite, and support ansi
4212 codes 22-27.
4213
4214 2012-08-14 Stefan Monnier <monnier@iro.umontreal.ca>
4215
4216 * subr.el (read-passwd): Allow use from a minibuffer.
4217
4218 2012-08-14 Eli Zaretskii <eliz@gnu.org>
4219
4220 * tooltip.el (tooltip-identifier-from-point): Don't treat tokens
4221 inside comments and strings as identifiers.
4222
4223 * progmodes/gud.el (gud-tooltip-print-command): Quote the
4224 expression to evaluate. This allows to evaluate expressions with
4225 embedded whitespace.
4226 (gud-tooltip-tips): Add a blank before the newline in the
4227 message-box text, for the benefit of message-box emulation on
4228 MS-Windows.
4229
4230 * progmodes/gdb-mi.el (gdb-tooltip-print): Don't ignore error
4231 messages from GDB, pop them up in a tooltip to give feedback to
4232 user.
4233 (gdb-tooltip-print-1): Quote the expression to evaluate.
4234 This allows to evaluate expressions with embedded whitespace.
4235 (gdb-inferior-io--init-proc): Don't send "-inferior-tty" command
4236 if the TTY name is nil or empty (which happens when communicating
4237 with the inferior via pipes, e.g. on MS-Windows).
4238 (gdb-internals): If GDB sends a "&\n" empty debugging message,
4239 don't send that to the GUD buffer.
4240
4241 2012-08-14 Glenn Morris <rgm@gnu.org>
4242
4243 * emacs-lisp/bytecomp.el (byte-compile-setq-default):
4244 Optimize away setq-default with no args, as for setq. (Bug#12195)
4245
4246 2012-08-14 Chong Yidong <cyd@gnu.org>
4247
4248 * minibuffer.el (read-file-name): Doc fix (Bug#10881).
4249
4250 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Doc fix
4251 (Bug#12085).
4252
4253 2012-08-14 Glenn Morris <rgm@gnu.org>
4254
4255 * emacs-lisp/bytecomp.el (byte-recompile-file): Doc fix.
4256
4257 2012-08-14 Michael Albinus <michael.albinus@gmx.de>
4258
4259 * net/tramp-sh.el (tramp-open-shell): Cache the shell name.
4260 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
4261 Use cached shell name.
4262
4263 2012-08-14 Fabián Ezequiel Gallina <fgallina@cuca>
4264
4265 * progmodes/python.el (python-shell-send-string):
4266 (python-shell-send-setup-code): Do not use `format' with `message'.
4267
4268 2012-08-14 Dmitry Gutov <dgutov@yandex.ru>
4269
4270 * progmodes/ruby-mode.el: Improve percent literals (bug#6286).
4271 (ruby-percent-literal-beg-re): New constant.
4272 (ruby-syntax-general-delimiters-goto-beg): Rename to
4273 `ruby-syntax-enclosing-percent-literal', improve literal type check.
4274 (ruby-syntax-propertize-general-delimiters): Rename to
4275 `ruby-syntax-propertize-percent-literal', it's a shorter and more
4276 popular term. Adjust comments everywhere.
4277 (ruby-syntax-propertize-percent-literal): Only propertize when not
4278 inside a simple string or comment. When the literal is unclosed,
4279 leave the text after it unpropertized.
4280 (ruby-syntax-methods-before-regexp): New constant.
4281 (ruby-syntax-propertize-function): Use it to recognize regexps.
4282 Don't look at the text after regexp, just use the whitelist.
4283
4284 2012-08-14 Andreas Schwab <schwab@linux-m68k.org>
4285
4286 * emacs-lisp/bytecomp.el (byte-recompile-file): When LOAD is
4287 non-nil always load the compiled file if it exists. (Bug#12197)
4288
4289 2012-08-14 Chong Yidong <cyd@gnu.org>
4290
4291 * hi-lock.el (hi-lock-mode): Do not unilaterally enable font lock.
4292 (hi-lock-set-pattern): When deciding whether to use font lock or
4293 overlays, look at font-lock-mode instead of font-lock-fontified
4294 (Bug#12168).
4295 (hi-lock-mode, hi-lock-line-face-buffer, hi-lock-unface-buffer)
4296 (hi-lock-face-buffer, hi-lock-face-phrase-buffer): Doc fix.
4297
4298 2012-08-14 Daiki Ueno <ueno@unixuser.org>
4299
4300 * subr.el (internal--after-with-selected-window): Fix typo
4301 (Bug#12193).
4302
4303 2012-08-14 Fabián Ezequiel Gallina <fgallina@cuca>
4304
4305 Use `completion-table-dynamic' for completion functions.
4306 * progmodes/python.el
4307 (python-shell-completion--do-completion-at-point)
4308 (python-shell-completion--get-completions):
4309 Remove functions.
4310 (python-shell-completion-complete-at-point): New function.
4311 (python-completion-complete-at-point): Use it.
4312
4313 2012-08-13 Jambunathan K <kjambunathan@gmail.com>
4314
4315 * vc/vc-dir.el (vc-dir-hide-state): New command (bug#12159).
4316 (vc-dir-hide-up-to-date): Route it to `vc-dir-hide-state'.
4317
4318 2012-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
4319
4320 * subr.el (function-get): Refine `autoload' arg so it can also
4321 autoload functions for gv.el (bug#12191).
4322 * emacs-lisp/edebug.el (get-edebug-spec): Adjust so it only
4323 autoloads macros.
4324
4325 * color.el (color-xyz-to-lab, color-lab-to-xyz, color-cie-de2000):
4326 Prefer pcase-let over destructuring-bind.
4327 * vc/diff-mode.el (diff-remove-trailing-whitespace): Same.
4328 Also, remove whitespace as we go, rather than after accumulating the
4329 various places.
4330
4331 * subr.el (internal--before-with-selected-window)
4332 (internal--after-with-selected-window): Fix typo seleted->selected.
4333 (with-selected-window): Adjust callers.
4334 Reported by Dmitry Gutov <dgutov@yandex.ru>.
4335
4336 2012-08-13 Bastien Guerry <bzg@gnu.org>
4337
4338 * window.el (special-display-popup-frame): Minor docstring
4339 enhancement. (Bug#12172)
4340
4341 2012-08-13 Andreas Schwab <schwab@linux-m68k.org>
4342
4343 * tar-mode.el (tar-header-data-end): Only ignore size for files of
4344 type 1-6.
4345 (tar-header-block-summarize, tar-get-descriptor): Handle pax
4346 extended headers.
4347
4348 * files.el (hack-local-variables-filter): Remove useless eval.
4349
4350 2012-08-13 Martin Rudalics <rudalics@gmx.at>
4351
4352 * subr.el (with-selected-window): Fix last change.
4353
4354 2012-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
4355
4356 * subr.el (internal--before-with-seleted-window)
4357 (internal--after-with-seleted-window): New functions.
4358 (with-selected-window): Use them, to replace dependency on
4359 tty-top-frame.
4360
4361 2012-08-12 Nobuyoshi Nakada <nobu@ruby-lang.org>
4362
4363 * progmodes/ruby-mode.el (ruby-mode-map): Remove unnecessary
4364 binding for `newline'.
4365 (ruby-move-to-block): When moving backward, stop at block opening,
4366 not indentation.
4367 * progmodes/ruby-mode.el (ruby-brace-to-do-end)
4368 (ruby-do-end-to-brace, ruby-toggle-block): New functions.
4369 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
4370 `ruby-toggle-block'.
4371
4372 2012-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
4373
4374 * ibuffer.el (ibuffer-do-toggle-read-only):
4375 * dired.el (dired-toggle-read-only):
4376 * buff-menu.el (Buffer-menu-toggle-read-only):
4377 * bindings.el (mode-line-toggle-read-only):
4378 * bs.el (bs-toggle-readonly): Call toggle-read-only interactively.
4379
4380 2012-08-12 Andreas Schwab <schwab@linux-m68k.org>
4381
4382 * descr-text.el (describe-char): Put the overlays over the
4383 "displayed as" character.
4384
4385 2012-08-12 Jay Belanger <jay.p.belanger@gmail.com>
4386
4387 * calc/calc-units.el (math-default-units-table): Give an
4388 initial value.
4389 (math-put-default-units): Add options to put composite units and
4390 unit systems in the default units table.
4391 (calc-convert-units): Send composite units to
4392 `math-put-default-units' when appropriate.
4393
4394 2012-08-11 Glenn Morris <rgm@gnu.org>
4395
4396 * emacs-lisp/copyright.el (copyright-update-directory): Logic fix.
4397
4398 * tutorial.el (help-with-tutorial):
4399 * emacs-lisp/copyright.el (copyright-update-directory):
4400 * emacs-lisp/autoload.el (autoload-find-generated-file)
4401 (autoload-find-file): Disable local eval: (for insurance).
4402
4403 * files.el (hack-local-variables-filter): If an eval: form is not
4404 known to be safe, and enable-local-variables is :safe, then ignore
4405 the form totally, as is done for non-eval forms. (Bug#12155)
4406 This is CVE-2012-3479.
4407
4408 2012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
4409
4410 * emacs-lisp/rx.el (rx-constituents): Don't define as constant.
4411 (rx-form): Simplify.
4412
4413 2012-08-09 Dmitry Gutov <dgutov@yandex.ru>
4414
4415 * progmodes/ruby-mode.el (ruby-expr-beg, ruby-parse-partial):
4416 ?, _, and : are symbol constituents, ! is not (but kinda should be).
4417 (ruby-syntax-propertize-heredoc): Use ruby-singleton-class-p.
4418 (ruby-syntax-propertize-function): Adjust for changes in
4419 `ruby-syntax-propertize-heredoc'.
4420
4421 2012-08-09 Nobuyoshi Nakada <nobu@ruby-lang.org>
4422
4423 * progmodes/ruby-mode.el (ruby-mode-map): Remove deprecated
4424 binding (use `M-;' instead).
4425 (ruby-singleton-class-p): New function.
4426 (ruby-expr-beg, ruby-in-here-doc-p) Use it.
4427
4428 2012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
4429
4430 * emacs-lisp/cl-macs.el (cl-loop): Improve debug spec.
4431
4432 2012-08-10 Chong Yidong <cyd@gnu.org>
4433
4434 * progmodes/python.el (python-shell-get-process-name): Don't mess
4435 with same-window-buffer-names.
4436
4437 * eshell/eshell.el (eshell-add-to-window-buffer-names)
4438 (eshell-remove-from-window-buffer-names): Make obsolete.
4439 (eshell-buffer-name, eshell-unload-hook): Don't use them.
4440 (eshell): Just use pop-to-buffer-same-window instead.
4441
4442 2012-08-10 Chong Yidong <cyd@gnu.org>
4443
4444 * bindings.el: Bind M-= back to count-words-region.
4445
4446 * simple.el (count-words-region): Accept a prefix arg for acting
4447 on the entire buffer.
4448 (count-words--buffer-message): New helper function.
4449
4450 2012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
4451
4452 * term/x-win.el (x-menu-bar-open): Always pass last-nonmenu-event.
4453 * subr.el (eventp): `nil' is not an event, and eventp is not hot.
4454 (event-start, event-end): Use posn-at-point to return a more
4455 informative posn.
4456 (posnp): New function.
4457 * mouse.el (popup-menu-normalize-position): Use it.
4458
4459 2012-08-10 Masatake YAMATO <yamato@redhat.com>
4460
4461 * mouse.el (popup-menu-normalize-position): New function.
4462 (popup-menu): Use `popup-menu-normalize-position' to normalize
4463 the form for POSITION argument.
4464
4465 * term/x-win.el (x-menu-bar-open):
4466 Use the value returend from (posn-at-point) as position
4467 passed to `popup-menu'.
4468
4469 2012-08-09 Jay Belanger <jay.p.belanger@gmail.com>
4470
4471 * calc/calccomp.el (math-compose-expr): Add extra argument
4472 indicating that parentheses should be put around products in
4473 denominators. Give multiplication precedence over division during
4474 composition.
4475
4476 2012-08-09 Chong Yidong <cyd@gnu.org>
4477
4478 * man.el (Man-switches, Man-sed-command, Man-awk-command)
4479 (Man-mode-hook, Man-cooked-hook, Man-untabify-command-args)
4480 (Man-untabify-command, manual-program): Convert to defcustom
4481 (Bug#10429).
4482
4483 * vc/add-log.el (change-log-mode): Bind comment-start to nil.
4484
4485 * descr-text.el (describe-char): Don't insert extra newlines
4486 (Bug#10127).
4487
4488 * vc/log-view.el (log-view-diff): Use use-region-p (Bug#10133).
4489 (log-view-diff-changeset, log-view-minor-wrap): Likewise.
4490
4491 * align.el (align-region): Delete temporary markers (Bug#10047).
4492 Plus some code cleanups.
4493
4494 2012-08-09 Fabián Ezequiel Gallina <fgallina@cuca>
4495
4496 * progmodes/python.el (python-pdbtrack-tracked-buffer)
4497 (python-pdbtrack-buffers-to-kill, python-shell-internal-buffer)
4498 (python-shell-internal-last-output): Use make-local-variable
4499 instead of make-variable-buffer-local.
4500
4501 2012-08-09 Fabián Ezequiel Gallina <fgallina@cuca>
4502
4503 * progmodes/python.el: Enhancements to forward-sexp.
4504 (python-nav-forward-sexp): Rename from
4505 python-nav-forward-sexp-function.
4506 (python-nav--forward-sexp, python-nav--backward-sexp):
4507 New functions.
4508
4509 2012-08-09 Jay Belanger <jay.p.belanger@gmail.com>
4510
4511 * calc/calc-menu.el (calc-modes-menu): Add entries for matrix
4512 modes and simplification modes.
4513
4514 2012-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
4515
4516 * delsel.el (delete-selection-pre-hook): Don't propagate the
4517 file-supersession signals (bug#12161).
4518
4519 2012-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
4520
4521 * emacs-lisp/cl.el (cl-map-keymap-recursively, cl-map-intervals)
4522 (cl-map-extents): Add compatibility aliases (bug#12135).
4523
4524 2012-08-08 Michael Albinus <michael.albinus@gmx.de>
4525
4526 * net/tramp-sh.el (tramp-find-file-exists-command): Protect the
4527 tests by `ignore-error'.
4528 (tramp-find-shell): Open also a new shell, when cache is already
4529 set. Reported by Carsten Bormann <cabo@tzi.org>. (Bug#12148)
4530
4531 2012-08-08 Juri Linkov <juri@jurta.org>
4532
4533 * bookmark.el: Add `defaults' property to the bookmark record.
4534 (bookmark-current-buffer): Doc fix.
4535 (bookmark-make-record): Add `defaults' property with default values
4536 to the bookmark record.
4537 (bookmark-minibuffer-read-name-map): Remove key binding "\C-u"
4538 with `bookmark-insert-current-bookmark'.
4539 (bookmark-set): Get `defaults' property from the bookmark record
4540 and use it in `read-from-minibuffer'.
4541 (bookmark-insert-current-bookmark): Remove function.
4542
4543 * info.el (Info-bookmark-make-record): Add `defaults' property
4544 with values of canonical Info node name, the current Info file
4545 name and the current Info node name. (Bug#12107)
4546
4547 2012-08-08 Juri Linkov <juri@jurta.org>
4548
4549 * files.el (basic-save-buffer): Use `buffer-name' as the default
4550 of `read-file-name' when buffer is not visiting a file (bug#12128).
4551
4552 2012-08-08 Juri Linkov <juri@jurta.org>
4553
4554 * info.el (Info-isearch-search): Doc fix.
4555 (Info-search): Change search-failed message from "initial node" to
4556 "end of node" (bug#12078).
4557 (Info-isearch-search): Change `isearch-string-state' to
4558 `isearch--state-string'.
4559
4560 2012-08-08 Glenn Morris <rgm@gnu.org>
4561
4562 * language/persian.el: Remove file.
4563 * language/misc-lang.el: Move unique part of persian.el here.
4564 * loadup.el: Remove language/persian.
4565
4566 2012-08-08 Óscar Fuentes <ofv@wanadoo.es>
4567
4568 * vc/diff-mode.el (diff-remove-trailing-whitespace): New function.
4569
4570 2012-08-08 Fabián Ezequiel Gallina <fgallina@cuca>
4571
4572 * progmodes/python.el Fixed defsubst warning.
4573 (python-syntax-context) Rename from python-info-ppss-context.
4574 (python-syntax-context-type): Rename from
4575 python-info-ppss-context-type.
4576 (python-syntax-comment-or-string-p): Rename from
4577 python-info-ppss-comment-or-string-p.
4578
4579 2012-08-08 Jay Belanger <jay.p.belanger@gmail.com>
4580
4581 * calc/calc-misc.el (calc-record-why): Don't record a message twice.
4582
4583 2012-08-07 Andreas Schwab <schwab@linux-m68k.org>
4584
4585 * emacs-lisp/lisp-mode.el (eval-defun-1): Handle standard value of
4586 a defcustom that is quoted with backquote.
4587
4588 * calc/calc-prog.el (math-do-defmath): Use backquote forms.
4589 Fix handling of interactive spec when the body uses return.
4590 (math-do-arg-check, math-define-function-body): Use backquote forms.
4591 * calc/calc-ext.el (math-defcache): Likewise.
4592 * calc/calc-rewr.el (math-rwfail, math-rweval): Likewise.
4593 * allout.el (allout-new-exposure): Likewise.
4594 * calc/calcalg2.el (math-tracing-integral): Likewise.
4595 * info.el (Info-last-menu-item): Likewise.
4596 * emulation/vip.el (vip-loop): Likewise.
4597 * textmodes/artist.el (artist-funcall): Likewise.
4598 * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle):
4599 Construct menu-item directly.
4600
4601 * progmodes/autoconf.el (font-lock-syntactic-keywords):
4602 Don't declare.
4603
4604 2012-08-07 Chong Yidong <cyd@gnu.org>
4605
4606 * simple.el (deactivate-mark): Preserve text properties when
4607 saving the primary selection (Bug#8384).
4608
4609 2012-08-07 Kevin Ryde <user42@zip.com.au>
4610
4611 * woman.el (woman0-if): Quietly treat ".if v" as false (Bug#12109).
4612 (woman-parse-numeric-value): On a bad .IP line, issue a warning
4613 and continue processing (Bug#12110).
4614
4615 2012-08-06 Stefan Monnier <monnier@iro.umontreal.ca>
4616
4617 * progmodes/cperl-mode.el (cperl-mode): Yet another fix for
4618 syntax-propertize-function (bug#10095).
4619
4620 2012-08-06 Stefan Monnier <monnier@iro.umontreal.ca>
4621
4622 * help-fns.el (help-fns--key-bindings, help-fns--signature)
4623 (help-fns--parent-mode, help-fns--obsolete): New funs, extracted from
4624 describe-function-1.
4625 (describe-function-1): Use them. Move compiler macro after sig.
4626 (help-fns--compiler-macro): Use function-get. Assume we're already in
4627 standard-output. Adjust layout to new call order.
4628
4629 * emacs-lisp/cl-macs.el (cl--sm-macroexpand): Fix handling of
4630 re-binding a symbol that has a symbol-macro (bug#12119).
4631
4632 2012-08-06 Mohsen BANAN <libre@mohsen.1.banan.byname.net>
4633
4634 * language/persian.el: New file. (Bug#11812)
4635 * loadup.el: Add language/persian.el.
4636
4637 2012-08-06 Chong Yidong <cyd@gnu.org>
4638
4639 * window.el (window--maybe-raise-frame): New function.
4640 (window--display-buffer): Split off from here.
4641 (display-buffer-reuse-window, display-buffer-pop-up-frame)
4642 (display-buffer-pop-up-window, display-buffer-use-some-window):
4643 Obey an inhibit-switch-frame action alist entry.
4644 (display-buffer): Update doc.
4645
4646 * replace.el (occur-after-change-function): Avoid losing focus by
4647 using the inhibit-switch-frame display parameter (Bug#12139).
4648
4649 2012-08-06 Fabián Ezequiel Gallina <fgallina@cuca>
4650
4651 Make internal shell process buffer names start with space.
4652 * progmodes/python.el (python-shell-make-comint): Add optional
4653 argument INTERNAL.
4654 (run-python-internal): Use it.
4655 (python-shell-internal-get-or-create-process): Check for new
4656 internal buffer names.
4657
4658 2012-08-06 Glenn Morris <rgm@gnu.org>
4659
4660 * eshell/esh-ext.el (eshell/addpath): Use dolist and mapconcat.
4661 Do less getting and setting of environment variables.
4662
4663 2012-08-05 Chong Yidong <cyd@gnu.org>
4664
4665 * proced.el (proced): Add substitution string to docstring to
4666 trigger autoloading of the proced library on C-h f (Bug#1768).
4667
4668 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
4669 Don't show defvars which have no second argument (Bug#8638).
4670
4671 * imenu.el (imenu-generic-expression): Move documentation here
4672 from imenu--generic-function.
4673 (imenu--generic-function): Refer to imenu-generic-expression.
4674
4675 2012-08-05 Vegard Øye <vegard_oye@hotmail.com> (tiny change)
4676
4677 * emulation/viper-init.el (viper-deflocalvar): Add docstring and
4678 indentation declaration.
4679 (viper-loop): Add indentation declaration (Bug#7025).
4680
4681 2012-08-05 Chong Yidong <cyd@gnu.org>
4682
4683 * help-fns.el (describe-variable): Add hyperlink for
4684 directory-local variables files. Improve buffer-local and
4685 permanent-local reporting; suggested by MON KEY (Bug#6644).
4686
4687 * help-mode.el (help-dir-local-var-def): New button type.
4688
4689 * files.el (kill-buffer-hook): Provide a defvar.
4690
4691 2012-08-05 Glenn Morris <rgm@gnu.org>
4692
4693 * eshell/esh-ext.el (eshell/addpath):
4694 Also update eshell-path-env. (Bug#12013)
4695
4696 2012-08-05 Chong Yidong <cyd@gnu.org>
4697
4698 * wdired.el (wdired-mode, wdired-change-to-wdired-mode): Doc fixes.
4699
4700 * fringe.el (fringe-styles): Add docstring.
4701 (fringe--check-mode): New function.
4702 (set-fringe-mode, set-fringe-style): Use it.
4703 (fringe-mode, set-fringe-style): Doc fixes (Bug#6480).
4704
4705 * files.el (set-auto-mode): Fix invalid setq call.
4706
4707 2012-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
4708
4709 * isearch.el: Misc simplification; use defstruct.
4710 (isearch-mode-map): Dense maps now work like sparse ones.
4711 (isearch--state): New defstruct.
4712 (isearch-string-state, isearch-message-state, isearch-point-state)
4713 (isearch-success-state, isearch-forward-state)
4714 (isearch-other-end-state, isearch-word-state, isearch-error-state)
4715 (isearch-wrapped-state, isearch-barrier-state)
4716 (isearch-case-fold-search-state, isearch-pop-fun-state): Remove,
4717 replaced by defstruct's accessors.
4718 (isearch--set-state): Rename from isearch-top-state and change
4719 calling convention.
4720 (isearch-push-state): Use new isearch--get-state.
4721 (isearch-toggle-word): Disable regexp when enabling word.
4722 (isearch-message-prefix): Remove unused arg _c-q-hack.
4723 (isearch-message-suffix): Remove unused arg _ellipsis.
4724
4725 2012-08-04 Andreas Schwab <schwab@linux-m68k.org>
4726
4727 * simple.el (list-processes--refresh): For a server use :host or
4728 :local as the address.
4729 (list-processes): Doc fix.
4730
4731 2012-08-04 Michal Nazarewicz <mina86@mina86.com>
4732
4733 * lisp/mpc.el: Support password in host argument.
4734 (mpc--proc-connect): Parse and use new password element.
4735 Set mpc-proc variable instead of returning process.
4736 (mpc-proc): Adjust accordingly.
4737
4738 2012-08-03 Eli Zaretskii <eliz@gnu.org>
4739
4740 * whitespace.el (whitespace-display-mappings): Use Unicode
4741 codepoints, instead of emacs-mule codepoints. See
4742 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-07/msg00366.html
4743 for the details.
4744
4745 * files.el (file-truename): Don't skip symlink-chasing part on
4746 windows-nt. Incorporate the resolution of 8+3 short aliases on
4747 Windows into the loop that recursively chases symlinks.
4748 Compare directory and its parent case-insensitively on MS-Windows and
4749 MS-DOS.
4750
4751 2012-08-03 Chong Yidong <cyd@gnu.org>
4752
4753 * menu-bar.el (menu-bar-tools-menu): Remove PCL-CVS.
4754
4755 * sort.el (sort-regexp-fields): Doc fix.
4756
4757 2012-08-03 Tassilo Horn <tsdh@gnu.org>
4758
4759 * textmodes/reftex.el (reftex-compile-variables): Make keyvals
4760 labels regex position point at the expected place.
4761
4762 2012-08-03 MON KEY <monkey@sandpframing.com>
4763
4764 * net/imap.el (imap-interactive-login, imap-authenticate)
4765 (imap-mailbox-lsub, imap-mailbox-list)
4766 (imap-mailbox-status-asynch, imap-mailbox-acl-delete)
4767 (imap-fetch, imap-message-flag-permanent-p, imap-envelope-from)
4768 (imap-parse-response): Doc fix.
4769
4770 2012-08-03 João Távora <joaotavora@gmail.com>
4771
4772 * textmodes/tex-mode.el (latex-forward-sexp): Terminate the loop
4773 if sexp scanning does not move point (Bug#5734).
4774
4775 2012-08-02 Tassilo Horn <tsdh@gnu.org>
4776
4777 * textmodes/reftex-vars.el (reftex-default-label-alist-entries):
4778 Add listings, minted, and ctable packages.
4779 (reftex-label-alist-builtin): Move listings, minted, and ctable
4780 entries before LaTeX.
4781 (reftex-label-alist): Docfix.
4782
4783 2012-08-02 Bastien Guerry <bzg@gnu.org>
4784
4785 * replace.el (occur): Fix docstring (bug#12122).
4786
4787 2012-08-02 Glenn Morris <rgm@gnu.org>
4788
4789 * emacs-lisp/authors.el (authors-renamed-files-alist): Add ms-w32.h.
4790
4791 2012-08-02 Paul Eggert <eggert@cs.ucla.edu>
4792
4793 Obsolete alias inactivate-current-input-method-function (Bug#10150).
4794 * international/mule-cmds.el: Create
4795 inactivate-current-input-method-function as an obsolete alias for
4796 deactivate-current-input-method-function. See Katsumi Yamaoka in
4797 <http://bugs.gnu.org/10150#46>.
4798
4799 2012-08-01 Jay Belanger <jay.p.belanger@gmail.com>
4800
4801 * calc/calc-mode.el (calc-set-simplify-mode): Use `cond' instead
4802 of nested `if's.
4803
4804 2012-08-01 Glenn Morris <rgm@gnu.org>
4805
4806 * progmodes/autoconf.el (autoconf-definition-regexp):
4807 Add AH_TEMPLATE, adjust submatch numbering.
4808 (autoconf-font-lock-keywords, autoconf-imenu-generic-expression)
4809 (autoconf-current-defun-function): Update for above change.
4810 (autoconf-current-defun-function): First skip to end of current word.
4811
4812 2012-08-01 Rupert Swarbrick <rswarbrick@gmail.com> (tiny change)
4813
4814 * calendar/cal-html.el (cal-html-insert-agenda-days):
4815 Fix typo. (Bug#12018)
4816
4817 2012-07-31 Fabián Ezequiel Gallina <fgallina@cuca>
4818
4819 Shell processes: enhancements to startup and CEDET compatibility.
4820 * progmodes/python.el (python-shell-send-setup-max-wait): Delete var.
4821 (python-shell-make-comint): accept-process-output at startup.
4822 (run-python-internal): Set inferior-python-mode-hook to nil.
4823 (python-shell-internal-get-or-create-process): call sit-for.
4824 (python-preoutput-result): Add obsolete alias.
4825 (python-shell-internal-send-string): Use it.
4826 (python-shell-send-setup-code): Remove call to
4827 accept-process-output.
4828
4829 2012-07-31 Andreas Schwab <schwab@linux-m68k.org>
4830
4831 * buff-menu.el (list-buffers-noselect): Use prefix-numeric-value.
4832 (Bug#12108)
4833
4834 2012-07-31 Jay Belanger <jay.p.belanger@gmail.com>
4835
4836 * calc-mode.el (calc-basic-simplification-mode): Rename from
4837 `calc-limited-simplification-mode'.
4838 (calc-alg-simplification-mode): New function.
4839 (calc-set-simplify-mode): Adjust message.
4840
4841 * calc.el (calc-set-mode-line): Adjust mode line display for
4842 basic simplification mode.
4843
4844 * calc-help.el (calc-m-prefix-help): Update help message.
4845
4846 * calc-ext.el (calc-init-extensions): Add bindings and autoloads
4847 for `calc-basic-simplify-mode' and `calc-alg-simplify-mode'.
4848
4849 2012-07-31 Bastien Guerry <bzg@gnu.org>
4850
4851 * man.el (man): Fix comment. (bug#12101)
4852
4853 2012-07-31 Martin Rudalics <rudalics@gmx.at>
4854
4855 * window.el (switch-to-prev-buffer, switch-to-next-buffer):
4856 Don't return a non-nil value when no suitable buffer was found.
4857
4858 2012-07-31 Fabián Ezequiel Gallina <fgallina@cuca>
4859
4860 * progmodes/python.el (run-python-internal): Disable font lock for
4861 internal shells.
4862
4863 2012-07-30 Stefan Merten <smerten@oekonux.de>
4864
4865 * textmodes/rst.el: Silence `checkdoc-ispell'.
4866 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
4867 (rst-official-version, rst-official-cvs-rev)
4868 (rst-package-emacs-version-alist): Update to upstream V1.3.1.
4869 (rst-mode-map): New key binding.
4870
4871 2012-07-30 Paul Eggert <eggert@cs.ucla.edu>
4872
4873 Update .PHONY listings in makefiles.
4874 * Makefile.in (.PHONY): Add all, doit, custom-deps, finder-data,
4875 autoloads, update-subdirs, updates, bzr-update, update-authors,
4876 compile-onefile, compile-calc, backup-compiled-files,
4877 compile-after-backup, compile-one-process, mh-autoloads,
4878 bootstrap-clean, distclean, maintainer-clean.
4879
4880 2012-07-29 Jay Belanger <jay.p.belanger@gmail.com>
4881
4882 * calc/calc.el (calc-simplify-mode): Make 'alg the default value.
4883 (calc-set-mode-line): Don't display "AlgSimp ".
4884
4885 * calc/calc-mode.el (calc-alg-simplify-mode): Remove function.
4886 (calc-lim-simplify-mode): New function.
4887 (calc-set-simplify-mode): Default to 'alg.
4888 (calc-default-simplify-mode): Make algebraic simplifications
4889 the default.
4890
4891 * calc/calc-ext.el (calc-init-extensions): Remove binding for
4892 `calc-alg-simplify-mode'. Add binding for `calc-lim-simplify-mode'.
4893
4894 * calc/calc-help.el (calc-m-prefix-help): Change messages to
4895 indicate new simplification modes.
4896
4897 * calc/README: Mention new default simplification mode.
4898
4899 * calc/calc.el (math-normalize-error): New variable.
4900 (math-normalize): Set `math-normalize-error' to t
4901 when there's an error.
4902
4903 * calc/calc-alg.el (math-simplify): Don't simplify when
4904 `math-normalize' returns an error.
4905
4906 2012-07-29 Eli Zaretskii <eliz@gnu.org>
4907
4908 * international/mule-cmds.el (set-locale-environment): Revert last
4909 change, since display-graphic-p returns nil when this function is
4910 called during startup. Instead...
4911
4912 * term/w32console.el (terminal-init-w32console): ...setup the
4913 keyboard and terminal encoding for TTY sessions here. (Bug#12082)
4914
4915 2012-07-29 Juri Linkov <juri@jurta.org>
4916
4917 * simple.el (goto-line): Don't display default line number in the
4918 prompt because it should be displayed by `read-number' (bug#9952).
4919 Add the current line number to the defaults of `goto-line' to
4920 allow its easier modification by users with `M-n' (bug#9201).
4921
4922 * subr.el (read-number): Support multiple default values like in
4923 other minibuffer reading functions. Replace `read' with
4924 `string-to-number' for consistency with `number-to-string'.
4925
4926 2012-07-29 Paul Eggert <eggert@cs.ucla.edu>
4927
4928 deactive->inactive, inactivate->deactivate spelling fixes (Bug#10150)
4929 * emulation/viper-init.el (viper-deactivate-input-method-action):
4930 Rename from viper-inactivate-input-method-action.
4931 (viper-deactivate-input-method):
4932 Rename from viper-inactivate-input-method.
4933 * follow.el (follow-inactive-menu): Rename from follow-deactive-menu.
4934 * international/mule-cmds.el (deactivate-input-method):
4935 Rename from inactivate-input-method.
4936 Also run input-method-deactivate-hook.
4937 (deactivate-current-input-method-function):
4938 Rename from inactivate-current-input-method-function.
4939 (input-method-deactivate-hook): New hook.
4940 (input-method-inactivate-hook): Mark obsolete.
4941 (inactivate-input-method): Mark obsolete.
4942
4943 * international/quail.el (quail-activate):
4944 Also run quail-deactivate-hook.
4945 (quail-deactivate): Rename from quail-inactivate.
4946 * international/robin.el (robin-activate):
4947 Also run robin-deactivate-hook.
4948 (robin-deactivate): Rename from robin-inactivate.
4949
4950 2012-07-29 Chong Yidong <cyd@gnu.org>
4951
4952 * simple.el (indicate-copied-region): New function.
4953 (kill-ring-save): Split off from here.
4954
4955 * rect.el (copy-rectangle-as-kill): Call indicate-copied-region.
4956 (kill-rectangle): Set deactivate-mark to t on read-only error.
4957
4958 * register.el (copy-to-register, copy-rectangle-to-register):
4959 Deactivate the mark, and use indicate-copied-region (Bug#10056).
4960 (append-to-register, prepend-to-register): Call indicate-copied-region.
4961
4962 2012-07-29 Juri Linkov <juri@jurta.org>
4963
4964 * simple.el (async-shell-command-buffer): New defcustom.
4965 (shell-command): Use it. (Bug#4719)
4966
4967 2012-07-28 Eli Zaretskii <eliz@gnu.org>
4968
4969 * international/mule-cmds.el (set-locale-environment): In a
4970 console session on MS-Windows, set up keyboard and terminal
4971 encoding from the OEM codepage, not the ANSI codepage.
4972 (Bug#12055)
4973
4974 2012-07-28 Chong Yidong <cyd@gnu.org>
4975
4976 * progmodes/gdb-mi.el (gdb-place-breakpoints): Fix the call to
4977 gdb-get-location.
4978
4979 2012-07-28 Leo Liu <sdl.web@gmail.com>
4980
4981 * progmodes/cc-menus.el (cc-imenu-objc-function): Avoid leaving nil in
4982 the alist (bug#12029).
4983
4984 2012-07-28 Eli Zaretskii <eliz@gnu.org>
4985
4986 * makefile.w32-in (custom-deps, finder-data, updates, compile)
4987 (compile-always, compile-first)
4988 ($(lisp)/calendar/cal-loaddefs.el)
4989 ($(lisp)/calendar/diary-loaddefs.el)
4990 ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
4991 ($(lisp)/net/tramp-loaddefs.el, bootstrap)
4992 ($(lisp)/progmodes/cc-mode.elc): Depend on $(lisp)subdirs.el,
4993 instead of on update-subdirs.
4994 (bootstrap-clean): Delete $(lisp)/subdirs.el.
4995
4996 2012-07-28 Chong Yidong <cyd@gnu.org>
4997
4998 * vc/vc.el (vc-root-diff, vc-print-root-log): Prompt for a
4999 directory if vc-deduce-backend returns nil (Bug#7350).
5000
5001 * simple.el (delete-trailing-lines): New option.
5002 (delete-trailing-whitespace): Obey it (Bug#11879).
5003
5004 2012-07-28 David Engster <deng@randomsample.de>
5005
5006 * xml.el (xml-node-name, xml-parse-file, xml-parse-region):
5007 Explanation of new 'symbol-qnames feature in doc-strings.
5008 (xml-maybe-do-ns): Return expanded names as plain symbols if
5009 'symbol-qnames was provided in XML-NS argument (Bug#11916).
5010 (xml-parse-tag-1): Deal with new definition of PARSE-NS argument.
5011
5012 2012-07-27 Fabián Ezequiel Gallina <fgallina@cuca>
5013
5014 Consistent completion in inferior python with emacs -nw.
5015 * progmodes/python.el (inferior-python-mode): replace "<tab>"
5016 binding in inferior-python-mode-map with "\t".
5017 (python-shell-completion-complete-at-point)
5018 (python-completion-complete-at-point): Remove interactive spec.
5019
5020 2012-07-27 Jay Belanger <jay.p.belanger@gmail.com>
5021
5022 * calc/calccomp.el (math-compose-expr): Undo previous change.
5023
5024 2012-07-27 Fabián Ezequiel Gallina <fgallina@cuca>
5025
5026 * progmodes/python.el (python-mode-map): Add keybinding for
5027 run-python.
5028 (python-shell-make-comint): Fix pop-to-buffer call.
5029 (run-python): Autoload. New arg SHOW.
5030 (python-shell-get-or-create-process): Do not pop python process
5031 buffer.
5032
5033 2012-07-27 Michael Albinus <michael.albinus@gmx.de>
5034
5035 * notifications.el (notifications-on-action-signal)
5036 (notifications-on-closed-signal): Use also the bus address for the map.
5037 (notifications-notify, notifications-close-notification)
5038 (notifications-get-capabilities): Add optional argument BUS.
5039
5040 2012-07-27 Tassilo Horn <tsdh@gnu.org>
5041
5042 * textmodes/reftex-vars.el (reftex-label-alist-builtin):
5043 Add support for the lstlisting and minted environments, and for the
5044 ctable macro.
5045 * textmodes/reftex.el (reftex-compile-variables): Also recognize
5046 labels written in keyvals syntax.
5047
5048 2012-07-27 Jay Belanger <jay.p.belanger@gmail.com>
5049
5050 * calc/calccomp.el (math-compose-expr): Use parentheses when
5051 there is a product in the denominator of a fraction.
5052
5053 2012-07-26 Eli Zaretskii <eliz@gnu.org>
5054
5055 * makefile.w32-in ($(lisp)/calendar/cal-loaddefs.el)
5056 ($(lisp)/calendar/diary-loaddefs.el)
5057 ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
5058 ($(lisp)/net/tramp-loaddefs.el): Depend on update-subdirs.
5059 Fixes failures in parallel bootstrap because subdirs.el is being
5060 rewritten while the autoload files are built at the same time,
5061 which needs to load subdirs.el.
5062
5063 2012-07-26 Martin Rudalics <rudalics@gmx.at>
5064
5065 * mouse.el (popup-menu): Fix doc-string and re-indent code.
5066 (mouse-drag-line): Don't exit tracking when a switch-frame or
5067 switch-window event occurs (Bug#12006).
5068
5069 2012-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
5070
5071 * mouse.el (popup-menu): Fix last change.
5072
5073 2012-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
5074
5075 Autoload from Lisp with more care. Follow aliases when looking for
5076 function properties.
5077 * subr.el (autoloadp): New function.
5078 (symbol-file): Use it.
5079 (function-get): New function.
5080 * emacs-lisp/macroexp.el (macroexp--expand-all): Use function-get and
5081 autoload-do-load.
5082 * emacs-lisp/lisp-mode.el (lisp-font-lock-syntactic-face-function)
5083 (lisp-indent-function):
5084 * emacs-lisp/gv.el (gv-get):
5085 * emacs-lisp/edebug.el (get-edebug-spec, edebug-basic-spec):
5086 * emacs-lisp/byte-opt.el (byte-optimize-form):
5087 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
5088 * emacs-lisp/autoload.el (make-autoload, autoload-print-form):
5089 Use function-get.
5090 * emacs-lisp/cl.el: Don't propagate function properties any more.
5091
5092 * speedbar.el (speedbar-add-localized-speedbar-support):
5093 * emacs-lisp/disass.el (disassemble-internal):
5094 * desktop.el (desktop-load-file):
5095 * help-fns.el (help-function-arglist, find-lisp-object-file-name)
5096 (describe-function-1):
5097 * emacs-lisp/find-func.el (find-function-noselect):
5098 * emacs-lisp/elp.el (elp-instrument-function):
5099 * emacs-lisp/advice.el (ad-has-proper-definition):
5100 * apropos.el (apropos-safe-documentation, apropos-macrop):
5101 * emacs-lisp/debug.el (debug-on-entry):
5102 * emacs-lisp/cl-macs.el (cl-compiler-macroexpand):
5103 * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
5104 * calc/calc.el (name): Use autoloadp & autoload-do-load.
5105
5106 2012-07-25 Alp Aker <alp.tekin.aker@gmail.com>
5107
5108 * international/mule-cmds.el (ucs-insert): Mark it as an obsolete
5109 function, not an obsolete variable (Bug#12046).
5110
5111 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
5112
5113 * faces.el (face-spec-reset-face): Fix last change. (Bug#12042)
5114
5115 2012-07-25 Christopher Schmidt <christopher@ch.ristopher.com>
5116
5117 * emacs-lisp/pp.el (pp-display-expression): Select old selected
5118 window only if it is still live (Bug#12034).
5119
5120 2012-07-25 Martin Rudalics <rudalics@gmx.at>
5121
5122 * subr.el (redirect-frame-focus): Add advertised calling
5123 convention (Bug#12030).
5124
5125 2012-07-25 Paul Eggert <eggert@cs.ucla.edu>
5126
5127 Prefer typical American spelling for "acknowledgment".
5128 * vc/add-log.el (change-log-acknowledgment): Rename from
5129 change-log-acknowledgement, with an alias for the old name.
5130
5131 2012-07-25 Jay Belanger <jay.p.belanger@gmail.com>
5132
5133 * calc-alg.el (math-simplify-divide): Don't cross multiply
5134 in an equation when the lhs is a variable.
5135
5136 2012-07-24 Julien Danjou <julien@danjou.info>
5137
5138 * net/netrc.el (netrc-find-service-number, netrc-store-data):
5139 Remove, unused.
5140
5141 2012-07-23 Eli Zaretskii <eliz@gnu.org>
5142
5143 * startup.el (command-line): Don't display an empty user name in
5144 the error message about non-existent home directory, when
5145 init-file-user was set to an empty string. See
5146 http://lists.gnu.org/archive/html/bug-gnu-emacs/2012-07/msg00835.html
5147 for the details and context.
5148
5149 2012-07-22 Vincent Belaïche <vincentb1@users.sourceforge.net>
5150
5151 * ses.el (ses-cell-formula-aset): New macro.
5152 (ses-cell-references-aset): New macro.
5153 (ses-cell-p): New function.
5154 (ses-rename-cell): Do no longer rely on complex operations like
5155 ses-cell-set-formula or ses-set-cell to change the cell and handle
5156 the undo at the same time, but rather use lower level new macros
5157 `ses-cell-formula-aset' and `ses-cell-references-aset' and handle
5158 the undo directly. Refresh the mode line.
5159
5160 2012-07-21 Leo Liu <sdl.web@gmail.com>
5161
5162 * progmodes/cc-cmds.el (c-defun-name):
5163 Use match-string-no-properties instead for consistency.
5164
5165 2012-07-20 Leo Liu <sdl.web@gmail.com>
5166
5167 * progmodes/cc-cmds.el (c-defun-name): Handle objc selectors properly.
5168 (Bug#7879)
5169
5170 * progmodes/cc-langs.el (c-symbol-start): Include char _ (bug#11986).
5171
5172 2012-07-20 Stefan Monnier <monnier@iro.umontreal.ca>
5173
5174 * userlock.el, emacs-lisp/map-ynp.el: Declare part of `emacs' package.
5175 * progmodes/bug-reference.el, misearch.el: Provide themselves
5176 (bug#11915).
5177
5178 * progmodes/cperl-mode.el (cperl-unwind-to-safe): Don't inf-loop at end
5179 of narrowed buffer (bug#11966).
5180
5181 2012-07-20 Vincent Belaïche <vincentb1@users.sourceforge.net>
5182
5183 * ses.el (ses-rename-cell): Set new name also in reference list of
5184 cells of which the renamed cell depends.
5185
5186 2012-07-20 Masatake YAMATO <yamato@redhat.com>
5187
5188 * term/x-win.el (x-menu-bar-open): Use `frame-parameter'
5189 to check whether menu-bar is shown or not. If not shown,
5190 show the menu-bar as a popup menu instead of using tmm.
5191 * mouse.el (popup-menu): Accept `point' as `position' argument.
5192
5193 2012-07-20 Dmitry Gutov <dgutov@yandex.ru>
5194
5195 * progmodes/ruby-mode.el (ruby-parse-partial): No error when end
5196 up inside string symbol literal (bug#11923).
5197
5198 2012-07-20 Eli Zaretskii <eliz@gnu.org>
5199
5200 * startup.el (fancy-startup-text): Read the whole tutorial, not
5201 just its first 256 bytes. Prevents gibberish in display of the
5202 tutorial title.
5203
5204 2012-07-20 Dmitry Antipov <dmantipov@yandex.ru>
5205
5206 Drop idle buffer compaction due to an absence of the
5207 proved efficiency.
5208 * compact.el: Remove.
5209
5210 2012-07-19 Sam Steingold <sds@gnu.org>
5211
5212 * vc/vc-dispatcher.el (vc-compilation-mode): Add, based on
5213 vc-bzr-pull & vc-bzr-merge-branch.
5214 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch): Use it.
5215 (vc-bzr-error-regexp-alist): Rename from vc-bzr-error-regex-alist
5216 for consistency with compilation-error-regexp-alist.
5217 * vc/vc-git.el (vc-git-error-regexp-alist): Add.
5218 (vc-git-pull, vc-git-merge-branch): Call vc-compilation-mode.
5219 * vc/vc-hg.el (vc-hg-error-regexp-alist): Add.
5220 (vc-hg-pull, vc-hg-merge-branch): Call vc-compilation-mode.
5221
5222 2012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
5223
5224 * emacs-lisp/chart.el: Use lexical-binding.
5225 (chart-emacs-storage): Don't hardcode the list of entries.
5226
5227 2012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
5228
5229 Next round of tweaks caused by Fgarbage_collect changes.
5230 * emacs-lisp/chart.el (chart-emacs-storage): Adjust again.
5231
5232 2012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
5233
5234 Compact buffers when idle.
5235 * compact.el: New file.
5236
5237 2012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
5238
5239 * subr.el (eventp): Presume that if it looks vaguely like an event,
5240 it's an event (bug#10190).
5241
5242 2012-07-19 Fabián Ezequiel Gallina <fgallina@cuca>
5243
5244 Enhancements to ppss related code (thanks Stefan).
5245 * progmodes/python.el (python-indent-context)
5246 (python-indent-calculate-indentation, python-indent-dedent-line)
5247 (python-indent-electric-colon, python-nav-forward-block)
5248 (python-mode-abbrev-table)
5249 (python-info-assignment-continuation-line-p): Simplify checks
5250 for ppss context.
5251 (python-info-continuation-line-p): Cleanup.
5252 (python-info-ppss-context): Do not catch 'quote.
5253 (python-info-ppss-context-type)
5254 (python-info-ppss-comment-or-string-p): Simplify.
5255
5256 2012-07-18 Fabián Ezequiel Gallina <fgallina@cuca>
5257
5258 * progmodes/python.el: Enhancements to eldoc support.
5259 (python-info-current-symbol): New function.
5260 (python-eldoc-at-point): Use python-info-current-symbol.
5261 (python-info-current-defun): Fix cornercase on first defun scan.
5262 (python-eldoc--get-doc-at-point): Use python-info-current-symbol
5263 and signal error when no inferior python process is available.
5264
5265 2012-07-18 Dmitry Gutov <dgutov@yandex.ru>
5266
5267 * vc/vc-git.el (vc-git-state): Don't call `vc-git-registered',
5268 assume it's always t.
5269 (vc-git-registered): Remove caching, the function is only called
5270 once.
5271 (vc-git-branches): Use `vc-git--call' instead of `call-process'.
5272
5273 2012-07-18 Chong Yidong <cyd@gnu.org>
5274
5275 * subr.el (last-input-char, last-command-char): Remove (Bug#9195).
5276
5277 * simple.el (count-words): Report on narrowing (Bug#9959).
5278
5279 * bindings.el: Bind M-= to count-words.
5280
5281 * faces.el (face-spec-reset-face): Handle reverse video (Bug#4238).
5282
5283 2012-07-18 Masatake YAMATO <yamato@redhat.com>
5284
5285 * progmodes/sh-script.el (sh-imenu-generic-expression):
5286 Capture a function with `function' keyword and without parentheses
5287 like "function FOO" (bug#11856).
5288
5289 2012-07-18 Tassilo Horn <tassilo@member.fsf.org>
5290
5291 * window.el (split-window-sensibly): Make WINDOW argument
5292 optional.
5293
5294 2012-07-18 Chong Yidong <cyd@gnu.org>
5295
5296 * subr.el (keyboard-translate): Doc fix (Bug#7261).
5297
5298 * isearch.el (isearch-mode-map): Handle C-x 8 key translations,
5299 and make C-x 8 RET exit isearch (Bug#11439).
5300
5301 * international/iso-transl.el: Move isearch-mode-map key
5302 definitions to isearch.el.
5303
5304 2012-07-18 Stefan Monnier <monnier@iro.umontreal.ca>
5305
5306 * emacs-lisp/eieio.el: Adapt further to gv.el (bug#11970).
5307 (eieio-defclass): Use gv-define-setter when possible.
5308
5309 2012-07-18 Dmitry Antipov <dmantipov@yandex.ru>
5310
5311 Reflect recent changes in Fgarbage_collect.
5312 * emacs-lisp/chart.el (chart-emacs-storage): Change to
5313 reflect new format of data returned by Fgarbage_collect.
5314
5315 2012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
5316
5317 New utility functions + python-info-ppss-context fix (Bug#11910).
5318 * progmodes/python.el (python-info-beginning-of-block-statement-p)
5319 (python-info-ppss-comment-or-string-p): New functions.
5320 (python-info-ppss-context): Small fix for string check.
5321
5322 2012-07-17 Juri Linkov <juri@jurta.org>
5323
5324 * dired-aux.el (dired-do-async-shell-command): Doc fix.
5325 (dired-do-async-shell-command): Don't add `*' at the end of the
5326 command (Bug#11815).
5327 (dired-do-shell-command): Doc fix.
5328 (dired-shell-stuff-it): Strip the trailing "&" and ";" if any.
5329 Join the individual commands using either "&" or ";" as the
5330 separator depending on the values of these trailing characters.
5331 At the end re-add the trailing "&". (Bug#10598)
5332
5333 * simple.el (async-shell-command): Sync the interactive spec with
5334 `shell-command'. Doc fix.
5335 (shell-command): Doc fix.
5336
5337 2012-07-17 Juri Linkov <juri@jurta.org>
5338
5339 * descr-text.el (describe-char): Fix format args. (Bug#10129)
5340
5341 2012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
5342
5343 Final renames and doc fixes for movement commands (bug#11899).
5344 * progmodes/python.el (python-nav-beginning-of-statement):
5345 Rename from python-nav-statement-start.
5346 (python-nav-end-of-statement): Rename from
5347 python-nav-statement-end.
5348 (python-nav-beginning-of-block): Rename from
5349 python-nav-block-start.
5350 (python-nav-end-of-block): Rename from python-nav-block-end.
5351
5352 2012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
5353
5354 * progmodes/python.el (python-shell-send-string-no-output):
5355 Allow accept-process-output to quit, keeping shell process ready for
5356 future interactions (Bug#11868).
5357
5358 2012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
5359
5360 * emacs-lisp/cl-macs.el (cl-progv): Use a properly prefixed var name.
5361
5362 * emacs-lisp/elint.el (elint-find-args-in-code):
5363 Use help-function-arglist, so as to handle lexical byte-code.
5364
5365 * progmodes/sh-script.el (sh-syntax-propertize-function): Fix last
5366 change (bug#11826).
5367
5368 2012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
5369
5370 * progmodes/cc-engine.el (c-forward-sws, c-backward-sws):
5371 Avoid spuriously marking the buffer as modified because of c-is-sws.
5372
5373 * progmodes/sh-script.el (sh-syntax-propertize-function): Mark "${#VAR"
5374 as not-a-comment (bug#11946).
5375
5376 * emacs-lisp/macroexp.el (macroexp-let2): Use more informative names
5377 for uninterned vars.
5378
5379 * xt-mouse.el (xterm-mouse-translate-1, xterm-mouse-event-read):
5380 Use read-event since we don't really want to read chars but bytes.
5381
5382 * textmodes/tex-mode.el (tex-font-lock-keywords-1): Highlight not only
5383 $$..$$ but also $..$ using regexps (bug#11953).
5384 Use tex-verbatim for \url and \path.
5385 (tex-font-lock-keywords): Define as defconst like the others.
5386 (tex-common-initialization): Don't use font-lock-syntax-table any more.
5387
5388 2012-07-16 René Kyllingstad <Rene@Kyllingstad.com> (tiny change)
5389
5390 * international/mule-cmds.el (ucs-insert): Make it an obsolete
5391 alias for insert-char.
5392
5393 2012-07-16 Fabián Ezequiel Gallina <fgallina@cuca>
5394
5395 * progmodes/python.el: Simplified imenu implementation.
5396 (python-nav-jump-to-defun): Remove command.
5397 (python-mode-map): Use `imenu' instead.
5398 (python-nav-list-defun-positions-cache)
5399 (python-imenu-include-defun-type, python-imenu-make-tree)
5400 (python-imenu-subtree-root-label, python-imenu-index-alist):
5401 Remove vars.
5402 (python-nav-list-defun-positions, python-nav-read-defun)
5403 (python-imenu-tree-assoc, python-imenu-make-element-tree)
5404 (python-imenu-make-tree, python-imenu-create-index):
5405 Remove functions.
5406 (python-mode): Update to interact with imenu by setting
5407 `imenu-extract-index-name-function' only.
5408
5409 2012-07-16 Fabián Ezequiel Gallina <fgallina@cuca>
5410
5411 * progmodes/python.el: Enhancements to navigation commands.
5412 (python-nav-backward-sentence)
5413 (python-nav-forward-sentence): Remove.
5414 (python-nav-backward-statement, python-nav-forward-statement)
5415 (python-nav-statement-start, python-nav-statement-end)
5416 (python-nav-backward-block, python-nav-forward-block)
5417 (python-nav-block-start, python-nav-block-end)
5418 (python-nav-forward-sexp-function)
5419 (python-info-current-line-comment-p)
5420 (python-info-current-line-empty-p): New functions.
5421 (python-indent-context): Use `python-nav-statement-start'.
5422
5423 2012-07-16 Michael Albinus <michael.albinus@gmx.de>
5424
5425 * eshell/em-ls.el (eshell/ls): Use `apply'.
5426
5427 * eshell/em-unix.el (eshell/su, eshell/sudo): Apply Tramp's ad-hoc
5428 multi-hops, instead of Tramp internals.
5429
5430 * vc/ediff.el (ediff-directories): Add trailing space to prompts.
5431
5432 * vc/ediff-diff.el (ediff-same-file-contents): Handle the case,
5433 when F1 and F2 are located on different hosts.
5434
5435 2012-07-14 Chong Yidong <cyd@gnu.org>
5436
5437 * xt-mouse.el: Implement extended mouse coordinates (Bug#10642).
5438 (xterm-mouse-translate): Move code into xterm-mouse-translate-1.
5439 (xterm-mouse-translate-extended, xterm-mouse-translate-1)
5440 (xterm-mouse--read-event-sequence-1000)
5441 (xterm-mouse--read-event-sequence-1006): New functions. For old
5442 mouse protocol, handle M-mouse-X events correctly.
5443 (xterm-mouse-event): New arg specifying mouse protocol.
5444 (turn-on-xterm-mouse-tracking-on-terminal)
5445 (turn-off-xterm-mouse-tracking-on-terminal): Send DEC 1006
5446 sequence to toggle extended coordinates on newer XTerms.
5447 This appears to be harmless on terminals which do not support this.
5448
5449 2012-07-14 Leo Liu <sdl.web@gmail.com>
5450
5451 Add fringe bitmap indicators for flymake. (Bug#11253)
5452 * progmodes/flymake.el (flymake-highlight-line): Use fringe bitmaps.
5453 (flymake-make-overlay): New arg BITMAP.
5454 (flymake-error-bitmap, flymake-warning-bitmap)
5455 (flymake-fringe-indicator-position): New user variables.
5456
5457 * fringe.el: New bitmap exclamation-mark.
5458
5459 2012-07-14 Jan Djärv <jan.h.d@swipnet.se>
5460
5461 * progmodes/cc-cmds.el (c-defun-name): Recognize Objective-C methods
5462 also (Bug#7879).
5463
5464 2012-07-14 Chong Yidong <cyd@gnu.org>
5465
5466 * electric.el (electric-pair-post-self-insert-function): Fix pair
5467 insertion in empty-region case (Bug#11520).
5468
5469 2012-07-14 Chong Yidong <cyd@gnu.org>
5470
5471 * bindings.el: Consolidate ctl-x-r-map bindings.
5472 Bind copy-rectangle-as-kill to C-x r w.
5473
5474 * rect.el, register.el: Move bindings to bindings.el.
5475
5476 2012-07-14 Reuben Thomas <rrt@sc3d.org>
5477
5478 * rect.el (copy-rectangle-as-kill): New command (Bug#739).
5479
5480 2012-07-13 Andreas Schwab <schwab@linux-m68k.org>
5481
5482 * emacs-lisp/cl.el (labels): Remove spurious quote. (Bug#11938)
5483
5484 2012-07-13 Juanma Barranquero <lekktu@gmail.com>
5485
5486 * bindings.el (top): Use `mapc' instead of `mapcar'.
5487
5488 * loadup.el (top): Remove bogus `if' choice (brought by 2008-06-21T01:38:39Z!monnier@iro.umontreal.ca).
5489
5490 2012-07-13 Michael Albinus <michael.albinus@gmx.de>
5491
5492 * progmodes/sql.el (sql-comint): Suppress the check for program on
5493 remote hosts. Reported by Francis Devereux <francis@devrx.org>.
5494 (Bug#11908)
5495
5496 2012-07-13 Chong Yidong <cyd@gnu.org>
5497
5498 * bindings.el: Assign a non-nil permanent-local property to
5499 per-buffer variables which lack a default value (Bug#11930).
5500
5501 * help-fns.el (describe-variable): In the "automatically becomes
5502 local" notice, take note of permanent-local variables.
5503
5504 2012-07-13 Chong Yidong <cyd@gnu.org>
5505
5506 * files.el (toggle-read-only): Doc fix and code cleanup. New arg
5507 to allow printing the message when called from Lisp.
5508
5509 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
5510 Remove toggle-read-only.
5511
5512 * bs.el (bs-toggle-readonly):
5513 * buff-menu.el (Buffer-menu-toggle-read-only):
5514 Remove with-no-warnings around toggle-read-only.
5515
5516 * ffap.el (ffap--toggle-read-only): Accept a list of buffers.
5517 Remove with-no-warnings around toggle-read-only.
5518 (ffap-read-only, ffap-read-only-other-window)
5519 (ffap-read-only-other-frame): Callers changed.
5520
5521 * help-mode.el: Don't require view package.
5522 (help-mode-finish): Set buffer-read-only instead of calling
5523 toggle-read-only.
5524
5525 * bindings.el (mode-line-toggle-read-only):
5526 * dired.el (dired-toggle-read-only):
5527 * ibuffer.el (ibuffer-do-toggle-read-only): Call toggle-read-only
5528 with non-nil second arg.
5529
5530 * emacs-lisp/eieio-custom.el (eieio-customize-object):
5531 * vc/ediff.el (ediff-set-read-only-in-buf-A): Set buffer-read-only
5532 directly.
5533
5534 2012-07-12 Eli Zaretskii <eliz@gnu.org>
5535
5536 * emacs-lisp/bytecomp.el (byte-recompile-directory): Use cl-incf,
5537 not incf.
5538
5539 2012-07-11 Stefan Monnier <monnier@iro.umontreal.ca>
5540
5541 More CL cleanups and reduction of use of cl.el.
5542 * woman.el, winner.el, vc/vc-rcs.el, vc/vc-hooks.el, vc/vc-hg.el:
5543 * vc/vc-git.el, vc/vc-dir.el, vc/vc-bzr.el, vc/vc-annotate.el:
5544 * textmodes/tex-mode.el, textmodes/sgml-mode.el, tar-mode.el:
5545 * strokes.el, ses.el, server.el, progmodes/js.el, progmodes/gdb-mi.el:
5546 * progmodes/flymake.el, progmodes/ebrowse.el, progmodes/compile.el:
5547 * play/tetris.el, play/snake.el, play/pong.el, play/landmark.el:
5548 * play/hanoi.el, play/decipher.el, play/5x5.el, nxml/nxml-mode.el:
5549 * net/secrets.el, net/quickurl.el, midnight.el, mail/footnote.el:
5550 * image-dired.el, ibuffer.el, ibuf-macs.el, ibuf-ext.el, hexl.el:
5551 * eshell/eshell.el, eshell/esh-io.el, eshell/esh-ext.el:
5552 * eshell/esh-cmd.el, eshell/em-ls.el, eshell/em-hist.el:
5553 * eshell/em-cmpl.el, eshell/em-banner.el:
5554 * calendar/parse-time.el: Use cl-lib.
5555 * wid-browse.el, wdired.el, vc/vc.el, vc/vc-mtn.el, vc/vc-cvs.el:
5556 * vc/vc-arch.el, tree-widget.el, textmodes/texinfo.el:
5557 * textmodes/refill.el, textmodes/css-mode.el, term/tvi970.el:
5558 * term/ns-win.el, term.el, shell.el, ps-samp.el:
5559 * progmodes/perl-mode.el, progmodes/pascal.el, progmodes/gud.el:
5560 * progmodes/glasses.el, progmodes/etags.el, progmodes/cwarn.el:
5561 * play/gamegrid.el, play/bubbles.el, novice.el, notifications.el:
5562 * net/zeroconf.el, net/xesam.el, net/snmp-mode.el, net/mairix.el:
5563 * net/ldap.el, net/eudc.el, net/browse-url.el, man.el:
5564 * mail/mailheader.el, mail/feedmail.el: Don't use CL.
5565 * ibuf-ext.el (ibuffer-mark-old-buffers): Use float-time.
5566 * eshell/esh-opt.el (eshell-eval-using-options): Quote code with
5567 `lambda' rather than with `quote'.
5568 (eshell-do-opt): Adjust accordingly.
5569 (eshell-process-option): Simplify.
5570 * eshell/esh-var.el:
5571 * eshell/em-script.el: Require `esh-opt' for eshell-eval-using-options.
5572 * emacs-lisp/pcase.el (pcase--dontcare-upats, pcase--let*)
5573 (pcase--expand, pcase--u1): Rename pcase's internal `dontcare' pattern
5574 to `pcase--dontcare'.
5575 * emacs-lisp/cl.el (labels): Mark obsolete.
5576 (cl--letf, letf): Move to cl-lib.
5577 (cl--letf*, letf*): Remove.
5578 * emacs-lisp/cl-lib.el (cl-nth-value): Use defalias.
5579 * emacs-lisp/cl-macs.el (cl-dolist, cl-dotimes): Add indent rule.
5580 (cl-progv): Rewrite.
5581 (cl--letf, cl-letf): Move from cl.el.
5582 (cl-letf*): New macro.
5583 * emacs-lisp/cl-extra.el (cl--progv-before, cl--progv-after): Remove.
5584
5585 2012-07-11 Michael Albinus <michael.albinus@gmx.de>
5586
5587 * net/ange-ftp.el (ange-ftp-cf1): Update the files cache.
5588
5589 2012-07-11 Chong Yidong <cyd@gnu.org>
5590
5591 * vc/log-edit.el (log-edit-vc-backend): New variable.
5592 (log-edit): Doc fix.
5593
5594 * vc/vc-dispatcher.el (vc-log-edit): New args. Use PARAMS
5595 argument of log-edit to set up all local variables.
5596 (vc-start-logentry): New optional arg specifying VC backend.
5597
5598 * vc/vc.el (vc-checkin): Use it.
5599 (vc-deduce-fileset): Handle Log Edit buffers.
5600 (vc-diff): Make first argument optional too.
5601
5602 * vc/log-view.el (log-view-vc-fileset, log-view-vc-backend): Doc fix.
5603
5604 2012-07-10 Michael Albinus <michael.albinus@gmx.de>
5605
5606 * eshell/esh-ext.el (eshell-remote-command): Remove remote part of
5607 command, just in case. The function is not needed anymore.
5608 (eshell-external-command): Do not call `eshell-remote-command'.
5609
5610 2012-07-10 Stefan Monnier <monnier@iro.umontreal.ca>
5611
5612 Reduce use of (require 'cl).
5613 * vc/smerge-mode.el, vc/pcvs.el, vc/pcvs-util.el, vc/pcvs-info.el:
5614 * vc/diff-mode.el, vc/cvs-status.el, uniquify.el, scroll-bar.el:
5615 * register.el, progmodes/sh-script.el, net/gnutls.el, net/dbus.el:
5616 * msb.el, mpc.el, minibuffer.el, international/ucs-normalize.el:
5617 * international/quail.el, info-xref.el, imenu.el, image-mode.el:
5618 * font-lock.el, filesets.el, edmacro.el, doc-view.el, bookmark.el:
5619 * battery.el, avoid.el, abbrev.el: Use cl-lib.
5620 * vc/pcvs-parse.el, vc/pcvs-defs.el, vc/log-view.el, vc/log-edit.el:
5621 * vc/diff.el, simple.el, pcomplete.el, lpr.el, comint.el, loadhist.el:
5622 * jit-lock.el, international/iso-ascii.el, info.el, frame.el, bs.el:
5623 * emulation/crisp.el, electric.el, dired.el, cus-dep.el, composite.el:
5624 * calculator.el, autorevert.el, apropos.el: Don't require CL.
5625 * emacs-lisp/bytecomp.el (byte-recompile-directory, display-call-tree)
5626 (byte-compile-unfold-bcf, byte-compile-check-variable):
5627 * emacs-lisp/byte-opt.el (byte-compile-trueconstp)
5628 (byte-compile-nilconstp):
5629 * emacs-lisp/autoload.el (make-autoload): Use pcase.
5630 * face-remap.el (text-scale-adjust): Simplify pcase patterns.
5631
5632 * emacs-lisp/gv.el (cond): Make it a valid place.
5633 (if): Simplify slightly.
5634
5635 * emacs-lisp/pcase.el (pcase): Accept self-quoting exps as "upatterns".
5636 (pcase--self-quoting-p): New function.
5637 (pcase--u1): Use it.
5638
5639 2012-07-10 Glenn Morris <rgm@gnu.org>
5640
5641 * emacs-lisp/authors.el (authors-fixed-entries):
5642 (authors-renamed-files-alist): Update for configure.in -> configure.ac.
5643
5644 2012-07-09 Paul Eggert <eggert@cs.ucla.edu>
5645
5646 Rename configure.in to configure.ac (Bug#11603).
5647 * emacs-lisp/authors.el (authors-canonical-file-name):
5648 * progmodes/autoconf.el (autoconf-mode):
5649 Prefer configure.ac to configure.in.
5650
5651 2012-07-08 Chong Yidong <cyd@gnu.org>
5652
5653 * mouse.el (mouse-drag-line): Rewrite the track-mouse loop.
5654 Implement the mouse-1-click-follows-link handling properly.
5655
5656 * info.el (Info-link-keymap): Use follow-link mechanism for
5657 header-line links (Bug#374).
5658
5659 * simple.el (deactivate-mark): Do not set the primary selection
5660 if another program has acquired it (Bug#11772).
5661
5662 2012-07-07 Kevin Ryde <user42@zip.com.au>
5663
5664 * woman.el (woman-strings): Fix double-quote handling (Bug#1151).
5665 (woman-decode-region): Replace escaped-escapes without destroying
5666 bold or underline (Bug#11552).
5667 (woman2-process-escapes): Handle nofill regions (Bug#11591).
5668
5669 2012-07-07 Chong Yidong <cyd@gnu.org>
5670
5671 * simple.el (yank-pop-change-selection): Doc fix (Bug#11361).
5672 (interprogram-cut-function, interprogram-paste-function):
5673 Mention that we typically mean the clipboard.
5674
5675 2012-07-06 Glenn Morris <rgm@gnu.org>
5676
5677 * kmacro.el (kmacro-call-macro): Restore repeat message. (Bug#11817)
5678
5679 * files.el (toggle-read-only): Restrict message to interactive use.
5680
5681 2012-07-06 Michael Albinus <michael.albinus@gmx.de>
5682
5683 * net/tramp.el (tramp-restricted-shell-hosts-alist): New defcustom.
5684
5685 * net/tramp-sh.el (tramp-maybe-open-connection): Handle it.
5686
5687 2012-07-06 Glenn Morris <rgm@gnu.org>
5688
5689 * Makefile.in (compile-one-process): Rename from "recompile".
5690
5691 * Makefile.in (bzr-update): "compile" is the same as "recompile
5692 autoloads", but parallelizable, so use that instead.
5693
5694 2012-07-06 Dmitry Gutov <dgutov@yandex.ru>
5695
5696 * window.el (quit-window): Always restore window height when
5697 it's saved in quit-restore parameter (Bug#11810).
5698
5699 2012-07-06 Glenn Morris <rgm@gnu.org>
5700
5701 * simple.el (kill-whole-line): Doc tweak.
5702
5703 2012-07-06 Eli Zaretskii <eliz@gnu.org>
5704
5705 * files.el (file-relative-name): Compare file names
5706 case-insensitively if on MS-Windows or MS-DOS, or if
5707 read-file-name-completion-ignore-case is non-nil. Don't use
5708 case-fold-search for this purpose. (Bug#11827)
5709
5710 2012-07-17 Andreas Schwab <schwab@linux-m68k.org>
5711
5712 * calendar/cal-dst.el (calendar-current-time-zone):
5713 Return calendar-current-time-zone-cache if non-nil.
5714
5715 2012-07-17 Masatake YAMATO <yamato@redhat.com>
5716 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
5717
5718 * calendar/cal-dst.el (calendar-current-time-zone):
5719 Return calendar-current-time-zone-cache if non-nil.
5720
5721 2012-07-06 Glenn Morris <rgm@gnu.org>
5722
5723 * Makefile.in (cvs-update): Remove old alias.
5724
5725 2012-07-05 Michael Albinus <michael.albinus@gmx.de>
5726
5727 Sync with Tramp 2.2.6-pre.
5728
5729 * net/tramp.el (tramp-drop-volume-letter): Provide an XEmacs
5730 compatible declaration.
5731
5732 * net/tramp-cmds.el (tramp-append-tramp-buffers):
5733 Protect `list-load-path-shadows' call.
5734
5735 * net/tramp-compat.el (top): Require packages, which aren't
5736 autoloaded anymore for XEmacs. Protect call of
5737 `tramp-file-name-handler' by `tramp-compat-funcall', pacifying the
5738 compiler. Do not require tramp-util.el and tramp-vc.el anymore,
5739 it hurts at least for SXEmacs.
5740 (tramp-compat-temporary-file-directory): In XEmacs, there is no
5741 standard-value for `temporary-file-directory'.
5742
5743 * net/tramp-sh.el (tramp-do-directory-files-and-attributes-with-stat):
5744 Redirect stderr to /dev/null.
5745 (tramp-sh-handle-write-region): uid and gid can be floats.
5746 Reported by Russell Sim <russell.sim@gmail.com>.
5747 (tramp-sh-handle-vc-registered): Hide errors.
5748 (tramp-vc-file-name-handler): Use dummy results for `process-file'
5749 and `start-file-process'.
5750 (tramp-maybe-open-connection): Check also whether `non-essential'
5751 is bound.
5752
5753 2012-07-04 Chong Yidong <cyd@gnu.org>
5754
5755 * xml.el (xml--parse-buffer): Use xml-syntax-table.
5756 (xml-parse-tag): Likewise, and avoid changing entity tables.
5757 (xml-syntax-table): Define from scratch, making sure not to give
5758 x2000 and other Unicode spaces whitespace syntax, since those are
5759 not spaces in XML.
5760 (xml-parse-fragment): Delete unused function.
5761 (xml-name-start-char-re, xml-name-char-re, xml-name-re)
5762 (xml-names-re, xml-nmtoken-re, xml-nmtokens-re, xml-char-ref-re)
5763 (xml-entity-ref, xml-pe-reference-re)
5764 (xml-reference-re,xml-att-value-re, xml-tokenized-type-re)
5765 (xml-notation-type-re, xml-enumeration-re, xml-enumerated-type-re)
5766 (xml-att-type-re, xml-default-decl-re, xml-att-def-re)
5767 (xml-entity-value-re): Use syntax references in regexps where
5768 possible; no need to define inside a let-binding.
5769 (xml-parse-dtd): Use xml-pe-reference-re.
5770 (xml-entity-or-char-ref-re): New defconst.
5771 (xml-parse-string, xml-substitute-special): Use it.
5772
5773 2012-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
5774
5775 * files.el (locate-dominating-file): Allow `name' to be a predicate.
5776 (find-file--read-only): New function.
5777 (find-file-read-only, find-file-read-only-other-window)
5778 (find-file-read-only-other-frame): Use it.
5779 (insert-file-contents-literally): Don't `fset'.
5780 (get-free-disk-space): Use locate-dominating-file.
5781
5782 * emacs-lisp/bytecomp.el (byte-compile): Don't signal an error if the
5783 function is already compiled.
5784
5785 * xml.el (xml-name-regexp): Remove, redundant. Use xml-name-re.
5786
5787 2012-07-03 Michael Albinus <michael.albinus@gmx.de>
5788
5789 * vc/ediff-diff.el (ediff-same-file-contents): Fix it for remote
5790 files on the same host.
5791
5792 2012-07-03 Andreas Schwab <schwab@linux-m68k.org>
5793
5794 * help-fns.el (describe-function-1): Only call
5795 help-fns--autoloaded-p when we have a file name. (Bug#11848)
5796
5797 2012-07-03 Chong Yidong <cyd@gnu.org>
5798
5799 * xml.el: Protect parser against XML bombs.
5800 (xml-entity-expansion-limit): New variable.
5801 (xml-parse-string, xml-substitute-special): Use it.
5802 (xml-parse-dtd): Avoid infloop if the DTD is not terminated.
5803
5804 2012-07-03 Glenn Morris <rgm@gnu.org>
5805
5806 * progmodes/bug-reference.el (bug-reference-bug-regexp):
5807 Allow linking to specific messages in debbugs reports (eg 123#5).
5808
5809 2012-07-02 Chong Yidong <cyd@gnu.org>
5810
5811 * xml.el: Fix entity and character reference expansion, allowing
5812 them to expand into markup as per XML spec.
5813 (xml-default-ns): New variable.
5814 (xml-entity-alist): Use XML spec definitions for lt and amp.
5815 (xml-parse-region): Make first two arguments optional.
5816 Discard text properties.
5817 (xml-parse-tag-1): New function, spun off from xml-parse-tag.
5818 All callers changed.
5819 (xml-parse-tag): Call xml-parse-tag-1. For backward
5820 compatibility, this function should not modify buffer contents.
5821 (xml-parse-tag-1): Fix opening-tag regexp.
5822 (xml-parse-string): Rewrite, handling entity and character
5823 references properly.
5824 (xml--entity-replacement-text): Signal an error if a parameter
5825 entity is undefined.
5826
5827 2012-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
5828
5829 * comint.el (comint-output-filter): Filter out repeated prompts.
5830
5831 * net/ange-ftp.el (ange-ftp-expand-file-name): Use ange-ftp-ftp-name
5832 and file-name-absolute-p.
5833 (ange-ftp-file-exists-p): Use ange-ftp-file-exists-p for
5834 internal calls.
5835
5836 2012-07-02 Paul Eggert <eggert@cs.ucla.edu>
5837
5838 Spelling fixes.
5839 * emacs-lisp/bytecomp.el (byte-compile--reify-function):
5840 Rename from byte-compile--refiy-function. All uses changed.
5841
5842 2012-07-01 Chong Yidong <cyd@gnu.org>
5843
5844 * xml.el (xml--parse-buffer): New function. Move most of
5845 xml-parse-region here.
5846 (xml-parse-region): Copy region into a temporary buffer, since
5847 parameter entity substitution requires changing buffer contents.
5848 Use xml--parse-buffer.
5849 (xml-parse-file): Use xml--parse-buffer.
5850 (xml-parse-dtd): Make parameter entity substitution work right.
5851 Use proper regexps for ELEMENT declarations (Bug#7172).
5852
5853 2012-06-30 Glenn Morris <rgm@gnu.org>
5854
5855 * comint.el (follow-comint-scroll-to-bottom): Fix declaration.
5856
5857 * net/secrets.el, net/tramp-gvfs.el, net/xesam.el, net/zeroconf.el:
5858 Remove outdated and unnecessary dbus declarations.
5859
5860 2012-06-30 Eli Zaretskii <eliz@gnu.org>
5861
5862 * emacs-lisp/timer.el (timer-until): Subtract results of
5863 float-time, instead of taking float-time of the result of
5864 time-subtract, since float-time signals an error for negative time
5865 arguments.
5866
5867 2012-06-30 Chong Yidong <cyd@gnu.org>
5868
5869 * xml.el (xml-*-re): Convert defvars into defconsts, and
5870 eval-and-compile them so eval-and-compile works on derivatives.
5871 (xml--entity-replacement-text): Use eval-and-comple.
5872
5873 2012-06-30 Michael Albinus <michael.albinus@gmx.de>
5874
5875 * vc/vc-git.el (vc-git-registered): Use cache property
5876 `git-registered'.
5877 (vc-git-mode-line-string): Call `vc-working-revision' instead of
5878 `vc-git-working-revision' in order to benefit from the cache.
5879 (vc-git-root): Use cache property `git-root'. (Bug#11757)
5880
5881 2012-06-30 Dmitry Gutov <dgutov@yandex.ru>
5882
5883 * vc/vc-hooks.el (vc-before-save): Clear cache if file has been
5884 removed (likely outside Emacs). (Bug#11757)
5885
5886 2012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
5887
5888 * emacs-lisp/cl-lib.el: Require macroexp.
5889
5890 2012-06-30 Chong Yidong <cyd@gnu.org>
5891
5892 * xml.el: Implement XML parameter entities.
5893 (xml-parameter-entity-alist): New variable.
5894 (xml-parse-region, xml-parse-fragment): Preserve previous values
5895 of xml-entity-alist and xml-parameter-entity-alist, so that
5896 repeated calls on different documents do not change them.
5897 (xml-parse-tag): Fix doctype regexp.
5898 (xml--entity-replacement-text): New function.
5899 (xml-parse-dtd): Use it. Don't handle system entities; doing that
5900 properly requires url retrieval which is unimplemented.
5901 (xml-escape-string): Doc fix.
5902
5903 2012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
5904
5905 * emacs-lisp/cl-lib.el (cl-pushnew): Use macroexp-let2.
5906
5907 2012-06-29 Dmitry Antipov <dmantipov@yandex.ru>
5908
5909 * fringe.el (fringe-mode): Doc fix.
5910
5911 2012-06-29 Michael Albinus <michael.albinus@gmx.de>
5912
5913 * net/ange-ftp.el (ange-ftp-get-passwd): Throw if `non-essential'
5914 is non-nil.
5915 (ange-ftp-ignore-errors-if-non-essential): New defmacro.
5916 (ange-ftp-file-name-all-completions): Use it. (Bug#11808)
5917
5918 2012-06-29 Andreas Schwab <schwab@linux-m68k.org>
5919
5920 * calendar/cal-dst.el (calendar-current-time-zone):
5921 Return calendar-current-time-zone-cache if non-nil.
5922
5923 2012-06-29 Masatake YAMATO <yamato@redhat.com>
5924
5925 * progmodes/which-func.el (which-func-format):
5926 Add mouse-face. (Bug#11698)
5927
5928 2012-06-29 Leo Liu <sdl.web@gmail.com>
5929
5930 * textmodes/enriched.el (enriched-next-annotation): Use eq (Bug#11528).
5931
5932 2012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
5933
5934 * minibuffer.el (minibuffer-confirm-exit-commands):
5935 Add completion-at-point (bug#11725).
5936
5937 2012-06-29 Glenn Morris <rgm@gnu.org>
5938
5939 * progmodes/f90.el (f90-font-lock-keywords-2):
5940 Add some preprocessor elements. (Bug#10499)
5941
5942 2012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
5943
5944 * progmodes/cperl-mode.el (cperl-update-syntaxification):
5945 Use syntax-propertize (bug#11739).
5946
5947 2012-06-28 Juanma Barranquero <lekktu@gmail.com>
5948
5949 * emacs-lisp/cl-lib.el (cl-pushnew): Don't capture X (bug#11811).
5950
5951 2012-06-28 Julien Danjou <julien@danjou.info>
5952
5953 * term.el (term-handle-colors-array): Use a set of new faces to
5954 color the terminal. Also uses :inverse-video property.
5955 (term-default-fg-color): Set to nil by default, deprecate in favor
5956 of `term-face'.
5957 (term-default-bg-color): Set to nil by default, deprecate in favor
5958 of `term-face'.
5959 (term-current-face): Use `term-face' by default.
5960 (term-bold-attribute): Variable deleted.
5961
5962 2012-06-28 Glenn Morris <rgm@gnu.org>
5963
5964 * simple.el (completion-list-mode-finish):
5965 Don't use toggle-read-only. (Since completion-list-mode has
5966 a special mode-class, it wasn't doing anything extra anyway.)
5967
5968 2012-06-28 Stefan Monnier <monnier@iro.umontreal.ca>
5969
5970 Make inlining of other-mode interpreted functions work (bug#11799).
5971 * emacs-lisp/bytecomp.el (byte-compile--refiy-function): New fun.
5972 (byte-compile): Use it to fix compilation of lexical-binding closures.
5973 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Compile the
5974 function, if needed.
5975
5976 2012-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
5977
5978 * help-mode.el (help-make-xrefs): Don't just withstand
5979 cyclic-variable-indirection but any error in documentation-property.
5980
5981 * loadup.el (purify-flag): Pre-grow the hash-table to reduce the
5982 memory use.
5983 * bindings.el (bindings--define-key): New function.
5984 * vc/vc-hooks.el, replace.el, menu-bar.el, international/mule-cmds.el:
5985 * emacs-lisp/lisp-mode.el, buff-menu.el, bookmark.el:
5986 * bindings.el: Use it to purecopy define-key bindings.
5987
5988 * textmodes/rst.el (rst-adornment-faces-alist): Avoid copy-list.
5989
5990 * emacs-lisp/cl.el (flet): Mark obsolete.
5991 * emacs-lisp/cl-macs.el (cl-flet*): New macro.
5992 * vc/vc-rcs.el (vc-rcs-annotate-command, vc-rcs-parse):
5993 * progmodes/js.el (js-c-fill-paragraph):
5994 * progmodes/ebrowse.el (ebrowse-switch-member-buffer-to-sibling-class)
5995 (ebrowse-switch-member-buffer-to-derived-class):
5996 * play/5x5.el (5x5-solver): Use cl-flet.
5997
5998 * emacs-lisp/cl.el: Use lexical-binding. Fix flet (bug#11780).
5999 (cl--symbol-function): New macro.
6000 (cl--letf, cl--letf*): Use it.
6001
6002 * emacs-lisp/easy-mmode.el (easy-mmode-pretty-mode-name):
6003 Strip "toggle-" if any.
6004
6005 2012-06-27 Glenn Morris <rgm@gnu.org>
6006
6007 * info.el (Info-default-directory-list): Move here from paths.el.
6008 * paths.el: Remove file, which is now empty.
6009 * loadup.el: No longer load "paths".
6010
6011 * custom.el (custom-initialize-delay): Doc fix.
6012
6013 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
6014 * eshell/em-cmpl.el, eshell/em-dirs.el, eshell/em-glob.el:
6015 * eshell/em-hist.el, eshell/em-ls.el, eshell/em-pred.el:
6016 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-script.el:
6017 * eshell/em-smart.el, eshell/em-term.el, eshell/em-unix.el:
6018 * eshell/em-xtra.el: Replace eshell-defgroup with "(progn (defgroup".
6019 * eshell/eshell.el (eshell-defgroup): Remove alias.
6020
6021 2012-06-27 Chong Yidong <cyd@gnu.org>
6022
6023 * help.el (help-enable-auto-load): New variable.
6024
6025 * help-fns.el (help-fns--autoloaded-p): New function.
6026 (describe-function-1): Refer to a function as "autoloaded" if it
6027 was autoloaded at any time in the past. Perform autoloading if
6028 help-enable-auto-load is non-nil.
6029
6030 2012-06-26 Eli Zaretskii <eliz@gnu.org>
6031
6032 * makefile.w32-in (compile, compile-always): Depend on
6033 update-subdirs, not on subdirs.el. Otherwise, several different
6034 sub-targets of 'bootstrap' running in parallel could
6035 simultaneously write to subdirs.el, producing a garbled file.
6036
6037 2012-06-26 Sam Steingold <sds@gnu.org>
6038
6039 * files.el (file-name-base): New convenience function.
6040 * autoinsert.el, cus-dep.el, doc-view.el, image-dired.el:
6041 * woman.el, eshell/esh-cmd.el, progmodes/ada-xref.el:
6042 * progmodes/cc-defs.el, progmodes/cperl-mode.el:
6043 * progmodes/flymake.el, progmodes/gud.el, progmodes/idlwave.el:
6044 * textmodes/ispell.el, textmodes/reftex-ref.el:
6045 * textmodes/tex-mode.el: Use it.
6046 Did not touch cedet and org because they are maintained elsewhere.
6047
6048 2012-06-26 Martin Rudalics <rudalics@gmx.at>
6049
6050 * calendar/calendar.el (calendar-exit): Don't try to delete or
6051 iconify last frame. See:
6052 http://lists.gnu.org/archive/html/emacs-devel/2012-06/msg00372.html
6053
6054 2012-06-25 Jim Diamond <Jim.Diamond@AcadiaU.ca> (tiny change)
6055
6056 * server.el (server-process-filter): Remember dir in the
6057 process's `server-client-directory' properties.
6058
6059 2012-06-24 Chong Yidong <cyd@gnu.org>
6060
6061 * xml.el (xml-parse-tag): Correctly handle comment embedded in
6062 non-tag text.
6063
6064 2012-06-23 Juanma Barranquero <lekktu@gmail.com>
6065
6066 * makefile.w32-in (COMPILE_FIRST): Synch with changes in 2012-06-22T21:24:54Z!monnier@iro.umontreal.ca.
6067
6068 2012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
6069
6070 * help-fns.el (describe-variable): Don't croak when doc is not found.
6071 * vc/pcvs.el (cvs-retrieve-revision): Avoid toggle-read-only.
6072 * menu-bar.el (menu-bar-line-wrapping-menu): Purecopy a tiny bit more.
6073 * emacs-lisp/syntax.el (syntax-ppss): Simplify with new `if' place.
6074 * emacs-lisp/smie.el (smie-next-sexp): CSE.
6075 * emacs-lisp/macroexp.el (macroexp-let2): Fix edebug spec and avoid
6076 ((lambda ..) ..).
6077 * emacs-lisp/eieio.el (eieio-oref, slot-value): Use simpler defsetf.
6078
6079 2012-06-23 Chong Yidong <cyd@gnu.org>
6080
6081 * info.el (Info-mouse-follow-link): Accept symbol values of
6082 link-args. Select window; suggested by Gerhard Kahl (Bug#11672).
6083 (Info-fontify-node): Use Info-link-keymap for all navigation
6084 buttons, with link-args property to perform the desired action.
6085 (Info-link-keymap): Doc fix.
6086 (Info-next-link-keymap, Info-prev-link-keymap)
6087 (Info-up-link-keymap): Delete now-unused keymaps.
6088
6089 2012-06-23 Chong Yidong <cyd@gnu.org>
6090
6091 * mouse.el (mouse-drag-track): Deactivate the mark before popping.
6092
6093 * progmodes/python.el (python-skeleton-define): Mark abbrevs as
6094 system abbrevs.
6095
6096 * ansi-color.el (ansi-color-apply-on-region): Doc fix.
6097
6098 2012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
6099
6100 * emacs-lisp/cl-macs.el (cl--make-usage-args): Handle improper lists
6101 (bug#11719).
6102
6103 * minibuffer.el (completion--twq-try): Try to fail more gracefully when
6104 the requote function doesn't work properly (bug#11714).
6105
6106 2012-06-23 Glenn Morris <rgm@gnu.org>
6107
6108 * pcmpl-rpm.el (pcmpl-rpm-packages): Give status messages.
6109
6110 2012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
6111
6112 Further GV/CL cleanups.
6113 * emacs-lisp/gv.el (gv-get): Autoload functions to find their
6114 gv-expander.
6115 (gv--defun-declaration): New function.
6116 (defun-declarations-alist): Use it.
6117 (gv-define-modify-macro, gv-pushnew!, gv-inc!, gv-dec!): Remove.
6118 (gv-place): Autoload.
6119 * emacs-lisp/cl.el (cl--dotimes, cl--dolist): Remember subr.el's
6120 original definition of dotimes and dolist.
6121 * emacs-lisp/cl-macs.el (cl-expr-access-order): Remove unused.
6122 (cl-dolist, cl-dotimes): Use `dolist' and `dotimes'.
6123 * emacs-lisp/cl-lib.el: Move gv handlers from cl-macs to here.
6124 (cl-fifth, cl-sixth, cl-seventh, cl-eighth)
6125 (cl-ninth, cl-tenth): Move gv handler to the function's definition.
6126 * emacs-lisp/cl-extra.el (cl-subseq, cl-get, cl-getf): Move gv handler
6127 to the function's definition.
6128 * Makefile.in (COMPILE_FIRST): Re-order to speed it up by about 50%.
6129 * window.el:
6130 * files.el:
6131 * faces.el:
6132 * env.el: Don't use CL.
6133
6134 2012-06-22 Paul Eggert <eggert@cs.ucla.edu>
6135
6136 Support higher-resolution time stamps (Bug#9000).
6137
6138 * calendar/time-date.el (with-decoded-time-value): New arg
6139 PICO-SYMBOL in VARLIST. It's optional, for backward compatibility.
6140 (encode-time-value): New optional arg PICO. New type 3.
6141 (time-to-seconds) [!float-time]: Support the new picoseconds
6142 component if it's used.
6143 (seconds-to-time, time-subtract, time-add):
6144 Support ps-resolution time stamps as well.
6145
6146 * emacs-lisp/timer.el (timer): New component psecs. All uses changed.
6147 (timerp): Timer vectors now have length 9, not 8.
6148 (timer--time): Support new-style (4-part) time stamps.
6149 (timer-next-integral-multiple-of-time): Time stamps now have
6150 picosecond resolution, so take a bit more care about rounding.
6151 (timer-relative-time, timer-inc-time): New optional arg psecs.
6152 (timer-set-time-with-usecs): Set psecs to 0.
6153 (timer--activate): Check psecs component, too.
6154
6155 * proced.el (proced-time-lessp): Support ps-resolution stamps.
6156
6157 2012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
6158
6159 * icomplete.el (icomplete-minibuffer-setup, icomplete-completions):
6160 Move the non-essential binding to the post/pre-command-hook where it is
6161 more obviously correct.
6162
6163 * subr.el (read-passwd): Don't use a history at all.
6164 * savehist.el (savehist-save): Remove password saved accidentally
6165 because of the above bug.
6166
6167 2012-06-22 Bastien Guerry <bzg@gnu.org>
6168
6169 * files.el (toggle-read-only): Display a message telling whether
6170 the buffer is read-only or not (bug#11726).
6171
6172 2012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
6173
6174 * emacs-lisp/gv.el: New file.
6175 * subr.el (push, pop): Extend to generalized variables.
6176 * loadup.el (macroexp): Unload if preloaded and uncompiled (bug#11657).
6177 * emacs-lisp/cl-lib.el (cl-pop, cl-push, cl--set-nthcdr): Remove.
6178 * emacs-lisp/cl-macs.el: Require gv. Use gv-define-setter,
6179 gv-define-simple-setter, and gv-define-expander.
6180 Remove setf-methods defined in gv. Rename cl-setf -> setf.
6181 (cl-setf, cl-do-pop, cl-get-setf-method): Remove.
6182 (cl-letf, cl-letf*, cl-define-modify-macro, cl-defsetf)
6183 (cl-define-setf-expander, cl-struct-setf-expander): Move to cl.el.
6184 (cl-remf, cl-shiftf, cl-rotatef, cl-callf, cl-callf2): Rewrite with
6185 gv-letplace.
6186 (cl-defstruct): Don't define setf-method any more.
6187 * emacs-lisp/cl.el (flet): Don't autoload.
6188 (cl--letf, letf, cl--letf*, letf*, cl--gv-adapt)
6189 (define-setf-expander, defsetf, define-modify-macro)
6190 (cl-struct-setf-expander): Move from cl-lib.el.
6191 * emacs-lisp/syntax.el:
6192 * emacs-lisp/ewoc.el:
6193 * emacs-lisp/smie.el:
6194 * emacs-lisp/cconv.el:
6195 * emacs-lisp/timer.el: Rename cl-setf -> setf, cl-push -> push.
6196 (timer--time): Use gv-define-simple-setter.
6197 * emacs-lisp/macroexp.el (macroexp-let2): Rename from macroexp-let²
6198 to avoid coding-system problems in subr.el. Adjust all users.
6199 (macroexp--maxsize, macroexp-small-p): New functions.
6200 * emacs-lisp/bytecomp.el (byte-compile-file): Don't use cl-letf.
6201 * scroll-bar.el (scroll-bar-mode):
6202 * simple.el (auto-fill-mode, overwrite-mode, binary-overwrite-mode)
6203 (normal-erase-is-backspace-mode): Don't use the `eq' place.
6204 * winner.el (winner-configuration, winner-make-point-alist)
6205 (winner-set-conf, winner-get-point, winner-set): Don't abuse letf.
6206 * files.el (locate-file-completion-table): Avoid list*.
6207
6208 2012-06-22 Chong Yidong <cyd@gnu.org>
6209
6210 * dired-aux.el (dired-do-create-files): Doc fix (Bug#11327).
6211 (dired-create-files): Doc fix (Bug#11329).
6212 (dired-do-copy): Doc fix (Bug#11334).
6213 (dired-mark-read-string): Doc fix (Bug#11553).
6214
6215 * dired.el (dired-recursive-copies, dired-recursive-deletes):
6216 Doc fix (Bug#11326).
6217 (dired-make-relative): Doc fix (Bug#11332). Remove unused arg.
6218 (dired-dwim-target): Doc fix.
6219
6220 * wdired.el (wdired-mode): Doc fix.
6221
6222 2012-06-22 Glenn Morris <rgm@gnu.org>
6223
6224 * pcmpl-rpm.el (pcmpl-rpm-cache): New option.
6225 (pcmpl-rpm-cache-stamp-file): New constant.
6226 (pcmpl-rpm-cache-time, pcmpl-rpm-packages): New variables.
6227 (pcmpl-rpm-packages): Optionally cache list of packages.
6228
6229 * pcmpl-rpm.el (pcmpl-rpm): New group.
6230 (pcmpl-rpm-query-options): New option.
6231 (pcmpl-rpm-packages): No need to inline it.
6232 Use pcmpl-rpm-query-options.
6233
6234 * calendar/calendar.el (calendar-in-read-only-buffer):
6235 Avoid some needless mode changes.
6236
6237 2012-06-21 Chong Yidong <cyd@gnu.org>
6238
6239 * desktop.el (desktop-read): Don't prompt if daemon (Bug#11674).
6240 (desktop-path): Remove . from the default value (Bug#10977).
6241 (desktop-read): Use user-emacs-directory if desktop-path is nil.
6242
6243 2012-06-20 Chong Yidong <cyd@gnu.org>
6244
6245 * term.el (term-send-raw-meta): Make C-M-<char> keys work (Bug#8172).
6246
6247 2012-06-20 David Röthlisberger <david@rothlis.net> (tiny change)
6248
6249 * ido.el (ido-switch-buffer, ido-find-file): Fix up doc of C-j
6250 (bug#11201).
6251
6252 2012-06-20 Chong Yidong <cyd@gnu.org>
6253
6254 * term.el (term-window-width): Handle the case of a missing right
6255 fringe (Bug#8837).
6256 (term-check-size): Use window-text-height (Bug#5445).
6257 (term-mode): Use define-derived-mode. Minor cleanups.
6258 Set font-lock-defaults (Bug#7692).
6259 (term-move-columns, term-insert-char, term-emulate-terminal)
6260 (term-erase-in-line, term-insert-spaces): Use font-lock-face.
6261
6262 2012-06-20 Michael Albinus <michael.albinus@gmx.de>
6263
6264 * net/ange-ftp.el (ange-ftp-get-passwd):
6265 Bind `enable-recursive-minibuffers'.
6266 (ange-ftp-get-process): Throw if `non-essential' is non-nil.
6267
6268 2012-06-19 David Röthlisberger <david@rothlis.net> (tiny change)
6269
6270 * ido.el (ido-find-file): Mention C-d binding in docstring (bug#11244).
6271
6272 2012-06-19 Glenn Morris <rgm@gnu.org>
6273
6274 * progmodes/python.el (python-mode): Derive from prog-mode.
6275
6276 2012-06-19 Kevin Gallagher <Kevin.Gallagher@boeing.com>
6277
6278 * emulation/edt.el (edt-default-menu-bar-update-buffers)
6279 (edt-user-menu-bar-update-buffers): New functions.
6280 (edt-default-emulation-setup, edt-user-emulation-setup): Use them.
6281
6282 2012-06-19 Chong Yidong <cyd@gnu.org>
6283
6284 * subr.el (with-selected-window): Preserve the selected window's
6285 terminal's top-frame (Bug#4702).
6286
6287 * window.el (save-selected-window): Likewise.
6288
6289 2012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
6290
6291 * progmodes/python.el (python-rx-constituents): Move backquote.
6292 (python-skeleton-define, python-define-auxiliary-skeleton):
6293 Use `declare'.
6294
6295 2012-06-18 Michael Albinus <michael.albinus@gmx.de>
6296
6297 * minibuffer.el (read-file-name-default): Revert the patch from
6298 2012-06-17.
6299
6300 2012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
6301
6302 * emacs-lisp/pcase.el (pcase--expand): Warn for unused pattern.
6303 (pcase--u1, pcase--q1): Don't use apply-partially.
6304
6305 2012-06-18 Glenn Morris <rgm@gnu.org>
6306
6307 * progmodes/python.el (python-proc, python-buffer)
6308 (python-send-receive, python-send-string): Fix obsolete versions.
6309
6310 2012-06-18 Martin Rudalics <rudalics@gmx.at>
6311
6312 * window.el (special-display-p): Completely remove stringp
6313 check. Suggested by Andreas Schwab <schwab@linux-m68k.org>.
6314
6315 2012-06-17 Michael Albinus <michael.albinus@gmx.de>
6316
6317 * minibuffer.el (read-file-name-default): Bind `non-essential' to `t'.
6318
6319 * net/tramp.el (tramp-file-name-handler): Catch 'non-essential.
6320
6321 * net/ange-ftp.el (ange-ftp-gwp-start, ange-ftp-start-process):
6322 * net/tramp-sh.el (tramp-maybe-open-connection):
6323 Throw if `non-essential' is non-nil.
6324
6325 2012-06-17 Martin Rudalics <rudalics@gmx.at>
6326
6327 * window.el (special-display-p): Signal an error if BUFFER-NAME
6328 is not a string (Bug#11713).
6329
6330 2012-06-17 Paul Eggert <eggert@cs.ucla.edu>
6331
6332 * progmodes/python.el (python-info-beginning-of-backslash):
6333 Rename from python-info-beginning-of-backlash, as a spelling fix.
6334
6335 2012-06-17 Chong Yidong <cyd@gnu.org>
6336
6337 * term.el (term-emulate-terminal): If term-check-size is called,
6338 move point to the process mark without resetting point (Bug#4635).
6339
6340 2012-06-17 Glenn Morris <rgm@gnu.org>
6341
6342 * international/mule-cmds.el (mule-menu-keymap)
6343 (set-language-environment, set-locale-environment): Doc tweaks.
6344
6345 2012-06-16 Aurelien Aptel <aurelien.aptel@gmail.com>
6346
6347 * cus-face.el (custom-face-attributes): Add wave-style underline
6348 attribute.
6349 * faces.el (set-face-attribute): Update docstring to describe
6350 wave-style underline attribute.
6351
6352 2012-06-16 Chong Yidong <cyd@gnu.org>
6353
6354 * term/xterm.el (terminal-init-xterm): Discard input before
6355 querying background mode (Bug#10959).
6356
6357 2012-06-16 Stefan Merten <smerten@oekonux.de>
6358
6359 * textmodes/rst.el: Added and corrected some comments.
6360 (rst-re-alist-def): Improve symbol syntax.
6361 (rst-mode-syntax-table): Correct syntax entries.
6362 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
6363 (rst-official-version, rst-official-cvs-rev): Update version
6364 information.
6365
6366 2012-06-15 Juanma Barranquero <lekktu@gmail.com>
6367
6368 * makefile.w32-in (COMPILE_FIRST): Synch with makefile.in changes
6369 in 2008-06-22T13:57:28Z!monnier@iro.umontreal.ca.
6370
6371 2012-06-15 Fabián Ezequiel Gallina <fgallina@cuca>
6372
6373 * progmodes/python.el: New python.el merge.
6374 (python-guess-indent): Obsolete var.
6375 (python-indent-guess-indent-offset): New defcustom.
6376 (python-indent): Obsolete var.
6377 (python-indent-offset): New defcustom.
6378 (python-python-command, python-jython-command): Delete var.
6379 (python-shell-interpreter): New defcustom.
6380 (python-pdbtrack-do-tracking-p): Delete var.
6381 (python-pdbtrack-activate): New defcustom.
6382 (python-use-skeletons): Obsolete var.
6383 (python-skeleton-autoinsert): New defcustom.
6384 (inferior-python-filter-regexp, python-continuation-offset)
6385 (python-honour-comment-indentation, python-indent-string-contents)
6386 (python-jython-packages, python-mode-hook)
6387 (python-pdbtrack-minor-mode-string, python-remove-cwd-from-path)
6388 (python-shell-prompt-alist)
6389 (python-source-modes): Delete defcustoms.
6390 (python-check-buffer-name, python-eldoc-setup-code)
6391 (python-eldoc-string-code, python-ffap-setup-code)
6392 (python-ffap-string-code, python-fill-comment-function)
6393 (python-fill-decorator-function, python-fill-paren-function)
6394 (python-fill-string-function, python-imenu-include-defun-type)
6395 (python-imenu-make-tree, python-imenu-subtree-root-label)
6396 (python-pdbtrack-stacktrace-info-regexp, python-shell-buffer-name)
6397 (python-shell-compilation-regexp-alist)
6398 (python-shell-completion-module-string-code)
6399 (python-shell-completion-pdb-string-code)
6400 (python-shell-completion-setup-code)
6401 (python-shell-completion-string-code)
6402 (python-shell-enable-font-lock, python-shell-exec-path)
6403 (python-shell-extra-pythonpaths)
6404 (python-shell-internal-buffer-name, python-shell-interpreter-args)
6405 (python-shell-process-environment)
6406 (python-shell-prompt-block-regexp)
6407 (python-shell-prompt-output-regexp)
6408 (python-shell-prompt-pdb-regexp, python-shell-prompt-regexp)
6409 (python-shell-send-setup-max-wait, python-shell-setup-codes)
6410 (python-shell-virtualenv-path): New defcustoms.
6411 (brm-menu, eldoc-documentation-function, inferior-python-mode-map)
6412 (inferior-python-mode-syntax-table, python--prompt-regexp)
6413 (python-buffer, python-command python-python-command)
6414 (python-default-template, python-imports, python-indent-index)
6415 (python-indent-list, python-indent-list-length)
6416 (python-mode-running, python-pdbtrack-is-tracking-p)
6417 (python-preoutput-continuation, python-preoutput-leftover)
6418 (python-preoutput-result, python-preoutput-skip-next-prompt)
6419 (python-prev-dir/file, python-recursing)
6420 (python-saved-check-command, python-version-checked)
6421 (python-which-func-length-limit)
6422 (view-return-to-alist): Delete vars.
6423 (python-check-custom-command, python-dotty-syntax-table)
6424 (python-imenu-index-alist, python-indent-current-level)
6425 (python-indent-dedenters, python-indent-levels)
6426 (python-nav-beginning-of-defun-regexp)
6427 (python-nav-list-defun-positions-cache)
6428 (python-pdbtrack-buffers-to-kill, python-pdbtrack-tracked-buffer)
6429 (python-shell-internal-buffer)
6430 (python-skeleton-available): New vars.
6431 (def-python-skeleton): Delete macro.
6432 (python-skeleton-define): New macro.
6433 (python-define-auxiliary-skeleton, python-rx): New macros.
6434 (python-insert-class): Delete command.
6435 (python-skeleton-class): New command.
6436 (python-insert-def): Delete command.
6437 (python-skeleton-def): New command.
6438 (python-insert-for): Delete command.
6439 (python-skeleton-for): New command.
6440 (python-insert-if): Delete command.
6441 (python-skeleton-if): New command.
6442 (python-insert-try/except, python-insert-try/finally): Delete commands.
6443 (python-skeleton-try): New command.
6444 (python-insert-while): Delete command.
6445 (python-skeleton-while): New command.
6446 (python-backspace): Delete command.
6447 (python-indent-dedent-line-backspace): New command.
6448 (python-electric-colon): Delete command.
6449 (python-indent-electric-colon): New command.
6450 (python-guess-indent): Delete command.
6451 (python-indent-guess-indent-offset): New command.
6452 (python-shift-left): Delete command.
6453 (python-indent-shift-left): New command.
6454 (python-shift-right): Delete command.
6455 (python-indent-shift-right): New command.
6456 (python-find-function): Delete command.
6457 (python-nav-jump-to-defun): New command.
6458 (python-next-statement): Delete command.
6459 (python-nav-forward-sentence): New command.
6460 (python-previous-statement): Delete command.
6461 (python-nav-backward-sentence): New command.
6462 (python-fill-paragraph): Delete command.
6463 (python-fill-paragraph-function): New command.
6464 (python-send-buffer): Delete command.
6465 (python-shell-send-buffer): New command.
6466 (python-send-defun): Delete command.
6467 (python-shell-send-defun): New command.
6468 (python-send-region, python-send-region-and-go): Delete commands.
6469 (python-shell-send-region)
6470 (python-shell-switch-to-shell): New commands.
6471 (python-send-string): Delete command.
6472 (python-shell-send-string): New command.
6473 (python-switch-to-python): Delete command.
6474 (python-shell-switch-to-shell): New command.
6475 (python-describe-symbol): Delete command.
6476 (python-eldoc-at-point): New command.
6477 (python--set-prompt-regexp, python-args-to-list)
6478 (python-after-info-look, python-check-version)
6479 (python-check-comint-prompt, python-find-imports)
6480 (python-execute-file, turn-off-pdbtrack, turn-on-pdbtrack)
6481 (python-unload-function, python-expand-template)
6482 (python-maybe-jython, python-preoutput-filter)
6483 (python-pdbtrack-get-source-buffer)
6484 (python-pdbtrack-grub-for-buffer, python-pdbtrack-overlay-arrow)
6485 (python-pdbtrack-toggle-stack-tracking)
6486 (python-pdbtrack-track-stack-file, python-initial-text)
6487 (python-first-word, python-comment-line-p, python-send-command)
6488 (python-setup-brm, python-sentinel, python-set-proc)
6489 (python-skip-out, python-input-filter, python-outdent-p)
6490 (python-outline-level, python-backslash-continuation-line-p)
6491 (python-end-of-block, python-end-of-statement, python-mark-block)
6492 (python-beginning-of-block, python-beginning-of-statement)
6493 (python-blank-line-p, python-beginning-of-string)
6494 (python-open-block-statement-p): Delete functions.
6495 (python-indent-line, python-indent-line-1): Delete functions.
6496 (python-indent-line): New function.
6497 (python-indentation-levels): Delete function.
6498 (python-indent-calculate-levels): New function.
6499 (python-proc): Delete function.
6500 (python-shell-get-process): New function.
6501 (python-send-receive): Delete function.
6502 (python-shell-send-string-no-output): New function.
6503 (python-module-path): Delete function.
6504 (python-ffap-module-path): New function.
6505 (python-completion-at-point)
6506 (python-symbol-completions): Delete functions.
6507 (python-completion-complete-at-point): New function.
6508 (python-load-file): Delete function.
6509 (python-shell-send-file): New function.
6510 (python-calculate-indentation): Delete function.
6511 (python-indent-calculate-indentation): New function.
6512 (python-skip-comments/blanks): Delete function.
6513 (python-util-forward-comment): New function.
6514 (python-continuation-line-p): Delete function.
6515 (python-info-continuation-line-p): New function.
6516 (python-which-func, python-current-defun): Delete function.
6517 (python-info-current-defun): New function.
6518 (python-beginning-of-defun): Delete function.
6519 (python-nav-beginning-of-defun): New function.
6520 (python-close-block-statement-p)
6521 (python-block-end-p): Delete function.
6522 (python-info-closing-block): New function.
6523 (python-comint-output-filter-function)
6524 (python-eldoc--get-doc-at-point, python-end-of-defun-function)
6525 (python-fill-comment, python-fill-decorator, python-fill-paren)
6526 (python-fill-string, python-imenu-make-element-tree)
6527 (python-imenu-make-tree, python-imenu-tree-assoc)
6528 (python-indent-context, python-indent-dedent-line)
6529 (python-indent-line-function)
6530 (python-indent-post-self-insert-function)
6531 (python-indent-toggle-levels)
6532 (python-info-assignment-continuation-line-p)
6533 (python-info-beginning-of-backlash)
6534 (python-info-block-continuation-line-p)
6535 (python-info-closing-block-message)
6536 (python-info-line-ends-backslash-p)
6537 (python-info-looking-at-beginning-of-defun)
6538 (python-info-ppss-context, python-info-ppss-context-type)
6539 (python-nav-list-defun-positions, python-nav-read-defun)
6540 (python-nav-sentence-end, python-nav-sentence-start)
6541 (python-pdbtrack-comint-output-filter-function)
6542 (python-pdbtrack-set-tracked-buffer)
6543 (python-shell-calculate-exec-path)
6544 (python-shell-calculate-process-environment)
6545 (python-shell-completion--do-completion-at-point)
6546 (python-shell-completion--get-completions)
6547 (python-shell-completion-complete-at-point)
6548 (python-shell-completion-complete-or-indent)
6549 (python-shell-get-or-create-process)
6550 (python-shell-get-process-name)
6551 (python-shell-internal-get-or-create-process)
6552 (python-shell-internal-get-process-name)
6553 (python-shell-internal-send-string, python-shell-make-comint)
6554 (python-shell-parse-command, python-shell-send-setup-code)
6555 (python-skeleton-add-menu-items)
6556 (python-util-clone-local-variables, python-util-position)
6557 (run-python-internal, python-indentation-levels)
6558 (python-nav-beginning-of-defun)
6559 (python-completion-complete-at-point): New functions.
6560 (run-python): Change arguments. New API requirements.
6561
6562 2012-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
6563
6564 * emacs-lisp/cl-lib.el (cl--defsubst-expand): Autoload inliner
6565 (bug#11649).
6566
6567 * emacs-lisp/macroexp.el (macroexp--compiler-macro): New function.
6568 (macroexp--expand-all): Use it.
6569
6570 * emacs-lisp/cl-macs.el (cl--transform-function-property): Remove.
6571 (cl-define-setf-expander, cl-deftype, cl-define-compiler-macro):
6572 Use `cl-function' instead.
6573
6574 2012-06-14 Juanma Barranquero <lekktu@gmail.com>
6575
6576 * makefile.w32-in (COMPILE_FIRST): Remove subr.el.
6577 Suggested by Stefan Monnier while discussing bug#11657.
6578
6579 2012-06-14 Sam Steingold <sds@gnu.org>
6580
6581 * files.el (abort-if-file-too-large): Use `file-size-human-readable'.
6582
6583 2012-06-14 Andreas Schwab <schwab@linux-m68k.org>
6584
6585 * play/doctor.el (doctor-doc): Remove parameter and use
6586 doctor-sent instead of sent.
6587 (doctor-read-print): Use doctor-sent instead of sent. (Bug#11708)
6588
6589 2012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
6590
6591 * files.el: Require cl-lib.
6592 (file-name-non-special): Replace case -> cl-case.
6593
6594 * emacs-lisp/cl-macs.el (cl-defstruct): Don't add print-func.
6595
6596 * emacs-lisp/edebug.el (edebug-read-function): Remove old incorrect
6597 mapping from #' to function*.
6598
6599 2012-06-13 Chong Yidong <cyd@gnu.org>
6600
6601 * mouse.el (mouse-drag-track): Do not set the mark if the user
6602 releases the mouse without selecting anything (Bug#11588).
6603
6604 2012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
6605
6606 * textmodes/tex-mode.el (latex-indent): Recognize tex-verbatim at EOB
6607 as well (bug#11646).
6608
6609 * loadup.el: Count byte-code functions as well.
6610
6611 * emacs-lisp/byte-opt.el (featurep): Move compiler-macro...
6612 * emacs-lisp/bytecomp.el (featurep): ...here (bug#11692).
6613
6614 * emacs-lisp/autoload.el (make-autoload): Accept nil doc-string-elt
6615 (bug#11649). Add cl-defun and cl-defmacro.
6616
6617 2012-06-13 Drew Adams <drew.adams@oracle.com>
6618
6619 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
6620 Fix last change.
6621
6622 2012-06-13 Michael Albinus <michael.albinus@gmx.de>
6623
6624 * net/dbus.el (dbus-call-method): Use timeout for `read-event'.
6625 Otherwise, it blocks in batch mode.
6626
6627 2012-06-13 Juanma Barranquero <lekktu@gmail.com>
6628
6629 * help-mode.el (bookmark-make-record-default): Declare.
6630
6631 2012-06-13 Chong Yidong <cyd@gnu.org>
6632
6633 * emacs-lisp/package.el (list-packages): Compute a list of
6634 packages that are newly-available since the last list-packages
6635 invocation.
6636 (package-menu--new-package-list): New var.
6637 (package-menu--generate, package-menu--print-info)
6638 (package-menu--status-predicate, package-menu-mark-install):
6639 Handle new status label "new".
6640
6641 2012-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
6642
6643 * emacs-lisp/cl-macs.el (cl-remf): Fix error in recent
6644 conversion to backquotes.
6645
6646 2012-06-12 Chong Yidong <cyd@gnu.org>
6647
6648 * emacs-lisp/edebug.el (edebug-inhibit-emacs-lisp-mode-bindings):
6649 Rename from gud-inhibit-global-bindings.
6650
6651 * emacs-lisp/eieio.el (eieio-pre-method-execution-hooks): Doc fix.
6652
6653 * nxml/nxml-glyph.el (nxml-glyph-set-functions): Rename abnormal
6654 hook from nxml-glyph-set-hook.
6655
6656 * progmodes/cwarn.el (cwarn-mode): Remove redundant variable
6657 declaration.
6658
6659 * progmodes/pascal.el (pascal-toggle-completions): Doc fix.
6660
6661 * textmodes/bibtex.el (bibtex-string-file-path, bibtex-file-path):
6662 Convert to defcustom.
6663
6664 2012-06-12 Drew Adams <drew.adams@oracle.com>
6665
6666 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
6667 New functions.
6668 (help-mode): Use them.
6669
6670 2012-06-11 Glenn Morris <rgm@gnu.org>
6671
6672 * progmodes/fortran.el (fortran-font-lock-keywords-3):
6673 Use preprocessor face for directives.
6674 (fortran-directive-re): Doc fix.
6675
6676 2012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
6677
6678 * emacs-lisp/cl-macs.el (cl-parse-loop-clause): Fix error in recent
6679 conversion to backquotes (bug#11652).
6680
6681 Fix compiler-expansion of CL's cXXr functions (bug#11673).
6682 * emacs-lisp/cl-lib.el (cl--defalias): New function.
6683 (cl-values, cl-values-list, cl-copy-seq, cl-svref, cl-first)
6684 (cl-second, cl-rest, cl-endp, cl-third, cl-fourth): Use it.
6685 (cl-plusp, cl-minusp, cl-fifth, cl-sixth, cl-seventh, cl-eighth)
6686 (cl-ninth, cl-tenth): Mark them as inlinable.
6687 (cl-caaar, cl-caadr, cl-cadar, cl-caddr, cl-cdaar, cl-cdadr)
6688 (cl-cddar, cl-cdddr, cl-caaaar, cl-caaadr, cl-caadar, cl-caaddr)
6689 (cl-cadaar, cl-cadadr, cl-caddar, cl-cadddr, cl-cdaaar, cl-cdaadr)
6690 (cl-cdadar, cl-cdaddr, cl-cddaar, cl-cddadr, cl-cdddar, cl-cddddr):
6691 Add a compiler-macro declaration to use cl--compiler-macro-cXXr.
6692 (cl-list*, cl-adjoin): Don't put an autoload manually.
6693 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin)
6694 (cl--compiler-macro-list*): Add autoload cookie.
6695 (cl--compiler-macro-cXXr): New function.
6696
6697 * help-fns.el (help-fns--compiler-macro): New function extracted from
6698 describe-function-1; follow aliases and use `compiler-macro' property.
6699 (describe-function-1): Use it.
6700
6701 2012-06-11 Chong Yidong <cyd@gnu.org>
6702
6703 * startup.el (fancy-splash-head): Use splash.svg even if librsvg
6704 is uninstalled, if imagemagick is installed.
6705
6706 2012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
6707
6708 * emacs-lisp/cl-lib.el: Use lexical-binding.
6709 (cl-map-extents, cl-maclisp-member): Remove.
6710 (cl--set-elt, cl--set-nthcdr, cl--set-buffer-substring)
6711 (cl--set-substring, cl--block-wrapper, cl--block-throw)
6712 (cl--compiling-file, cl--mapcar-many, cl--do-subst): Use "cl--" prefix.
6713 * emacs-lisp/cl-extra.el: Use lexical-binding.
6714 (cl--mapcar-many, cl--map-keymap-recursively, cl--map-intervals)
6715 (cl--map-overlays, cl--set-frame-visible-p, cl--progv-save)
6716 (cl--progv-before, cl--progv-after, cl--finite-do, cl--set-getf)
6717 (cl--do-remf, cl--do-prettyprint): Use "cl--" prefix.
6718 * emacs-lisp/cl-seq.el: Use lexical-binding.
6719 (cl--parsing-keywords, cl--check-key, cl--check-test-nokey)
6720 (cl--check-test, cl--check-match): Use "cl--" prefix and backquotes.
6721 (cl--alist, cl--sublis-rec, cl--nsublis-rec, cl--tree-equal-rec):
6722 * emacs-lisp/cl-macs.el (cl--lambda-list-keywords): Use "cl--" prefix.
6723 * edmacro.el (edmacro-mismatch): Simplify to remove dependence on
6724 CL's internals.
6725
6726 2012-06-11 Michael Albinus <michael.albinus@gmx.de>
6727
6728 Sync with Tramp 2.2.6-pre.
6729
6730 * net/tramp-cache.el (tramp-dump-connection-properties): Let-bind
6731 `print-length' and `print-level' to nil, in order to avoid
6732 truncation. Reported by Christopher Schmidt
6733 <christopher@ristopher.com>.
6734
6735 * net/tramp-cmds.el (tramp-cleanup-connection): Delete also process.
6736
6737 * net/tramp-compat.el (tramp-compat-condition-case-unless-debug):
6738 New defmacro.
6739 (tramp-compat-copy-directory): Add optional argument
6740 COPY-CONTENTS. It is not handled yet.
6741
6742 * net/tramp-ftp.el (tramp-disable-ange-ftp): Fix docstring.
6743 (tramp-ftp-file-name-p): Simplify.
6744
6745 * net/tramp-gvfs.el (tramp-gvfs-handle-expand-file-name):
6746 * net/tramp-gw.el (tramp-gw-open-connection): Add hop to
6747 connection vector.
6748
6749 * net/tramp-sh.el (tramp-copy-size-limit): Fix docstring.
6750 (tramp-methods): Do not use `tramp-password-end-of-line'.
6751 (tramp-completion-function-alist-putty): Handle UNIX case.
6752 (tramp-remote-path): Add "/opt/bin", "/opt/sbin" and "/opt/local/bin".
6753 (tramp-do-file-attributes-with-stat)
6754 (tramp-do-directory-files-and-attributes-with-stat) Return uid and
6755 gid as real numbers. They could run out of integer range on cygwin.
6756 (tramp-do-copy-or-rename-file-out-of-band): Better trace format.
6757 (tramp-sh-handle-expand-file-name): Handle hops.
6758 (tramp-open-connection-setup-interactive-shell):
6759 Use `tramp-cleanup'. Move check for busyboxes ...
6760 (tramp-find-shell): ... here. Simplify implementation.
6761 Set "remote-shell" property also for alternative shells.
6762 (tramp-remote-coding-commands): Check "test -c /dev/stdout".
6763 If failing, a regular file would be written otherwise.
6764 Reported by Dmitry Kurochkin <dmitry.kurochkin@gmail.com>.
6765 (tramp-find-inline-encoding): Cache the coding commands in the
6766 process cache. Apply test command on the remote side, if defined.
6767 (tramp-find-inline-compress): Cache the compress commands in the
6768 process cache.
6769 (tramp-compute-multi-hops): Save `tramp-default-proxies-alist'
6770 when requested. Handle hops.
6771 (tramp-current-connection): New defvar.
6772 (tramp-maybe-open-connection): Use `tramp-cleanup'.
6773 Throw `suppress', if there was a failed connection shortly before.
6774 Handle user interrupt. (Bug#10187)
6775 (tramp-get-inline-compress, tramp-get-inline-coding):
6776 Read connection properties from the process cache.
6777
6778 * net/tramp-smb.el (tramp-smb-server-version)
6779 (tramp-smb-wrong-passwd-regexp, tramp-smb-actions-with-tar):
6780 New defconsts.
6781 (tramp-smb-prompt): Extend for powershell prompt.
6782 (tramp-smb-file-name-handler-alist): Add handlers for
6783 `process-file', `shell-command' and `start-file-process'.
6784 (tramp-smb-winexe-program, tramp-smb-winexe-shell-command)
6785 (tramp-smb-winexe-shell-command-switch): New defcustoms.
6786 (tramp-smb-file-name-p): Simplify.
6787 (tramp-smb-action-with-tar, tramp-smb-handle-process-file)
6788 (tramp-smb-kill-winexe-function, tramp-smb-call-winexe)
6789 (tramp-smb-shell-quote-argument): New defuns.
6790 (tramp-smb-handle-copy-directory): Add COPY-CONTENTS argument.
6791 Implement using "tar". By this, time-stamps are preserved.
6792 (tramp-smb-handle-copy-file): Handle also the case of directories.
6793 (tramp-smb-do-file-attributes-with-stat)
6794 (tramp-smb-get-file-entries, tramp-smb-get-cifs-capabilities):
6795 Use `tramp-get-connection-buffer').
6796 (tramp-smb-handle-rename-file): Use "rename", when source and
6797 target are on the same share.
6798 (tramp-smb-maybe-open-connection): Handle wrong passwords.
6799 Use `tramp-smb-server-version'.
6800 (tramp-smb-wait-for-output): Remove prompt.
6801
6802 * net/tramp.el (top): Require 'cl.
6803 (tramp-methods, tramp-rsh-end-of-line):
6804 Remove `tramp-password-end-of-line' from docstring.
6805 (tramp-save-ad-hoc-proxies): New defcustom.
6806 (tramp-completion-function-alist): Adapt docstring.
6807 (tramp-default-password-end-of-line): Remove defcustom.
6808 (tramp-shell-prompt-pattern): Allow "[]" style prompts. (Bug#11065)
6809 (tramp-user-regexp, tramp-file-name-regexp-unified)
6810 (tramp-file-name-regexp-url): Extend regexp by hop separator.
6811 (tramp-postfix-hop-format, tramp-postfix-hop-regexp)
6812 (tramp-remote-file-name-spec-regexp): New defconst.
6813 (tramp-file-name-structure): Extend structure for hops.
6814 (tramp-get-method-parameter): Move up.
6815 (tramp-file-name-p, tramp-dissect-file-name)
6816 (with-parsed-tramp-file-name): Handle hops.
6817 (tramp-file-name-hop): New defun.
6818 (tramp-make-tramp-file-name): New optional arg HOP.
6819 (tramp-message-show-progress-reporter-message): New defvar.
6820 (tramp-with-progress-reporter): Use it. We cannot use
6821 `tramp-message-show-message' here, because this suppresses also
6822 error buffers.
6823 (tramp-error-with-buffer): Suppress buffer view, if
6824 `tramp-message-show-message' is nil.
6825 Use `tramp-get-connection-buffer'.
6826 (tramp-cleanup): New defun.
6827 (tramp-rfn-eshadow-update-overlay): Let-bind `non-essential' to `t'.
6828 (tramp-file-name-handler): If `debug-on-error' is set, propagate
6829 an error unchanged.
6830 (tramp-completion-handle-file-name-all-completions): Handle hops.
6831 Fix an error when called from ido.
6832 (tramp-completion-dissect-file-name): Use better local variable
6833 name. Add hop to the vector.
6834 (tramp-handle-insert-file-contents): Use progress-reporter for the
6835 whole scenario.
6836 (tramp-action-password): Let-bind `enable-recursive-minibuffers'
6837 to `t'.
6838 (tramp-check-for-regexp): Simplify search.
6839 (tramp-enter-password): Remove it. Move implementation ...
6840 (tramp-action-password): ... here.
6841 (tramp-mode-string-to-int, tramp-local-host-p)
6842 (tramp-make-tramp-temp-file, tramp-read-passwd)
6843 (tramp-clear-passwd, tramp-time-less-p, tramp-time-diff):
6844 Set tramp-autoload cookie.
6845
6846 * net/trampver.el: Update release number.
6847
6848 2012-06-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
6849 Michael Albinus <michael.albinus@gmx.de>
6850
6851 * net/tramp.el (tramp-set-completion-function): Fix docstring.
6852 (tramp-parse-group, tramp-parse-file)
6853 (tramp-parse-shostkeys-sknownhosts): New defuns.
6854 (tramp-parse-rhosts, tramp-parse-rhosts-group, tramp-parse-shosts)
6855 (tramp-parse-shosts-group, tramp-parse-sconfig)
6856 (tramp-parse-sconfig-group, tramp-parse-shostkeys)
6857 (tramp-parse-sknownhosts, tramp-parse-hosts)
6858 (tramp-parse-hosts-group, tramp-parse-passwd, tramp-parse-netrc):
6859 Use them.
6860 (tramp-parse-passwd-group, tramp-parse-netrc-group)
6861 (tramp-parse-putty-group): Don't narrow.
6862 (tramp-parse-putty): Make a loop.
6863 (tramp-file-name-handler): Catch the `suppress' signal.
6864
6865 2012-06-11 Chong Yidong <cyd@gnu.org>
6866
6867 * image.el (imagemagick-register-types): Put the ImageMagick entry
6868 at the end of image-type-file-name-regexps.
6869
6870 2012-06-11 Johan Bockgård <bojohan@gnu.org>
6871
6872 * emacs-lisp/pcase.el (pcase-UPAT, pcase-QPAT): New edebug specs.
6873 (pcase, pcase-let*, pcase-dolist): Use them.
6874
6875 2012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
6876
6877 * emacs-lisp/pcase.el (pcase--let*): New function.
6878 (pcase-let*): Use it. Use pcase--memoize to avoid repeated expansions.
6879 (pcase--expand): Use macroexp-let².
6880
6881 2012-06-10 Stefan Monnier <monnier@iro.umontreal.ca>
6882
6883 * emacs-lisp/timer.el, emacs-lisp/syntax.el, emacs-lisp/smie.el:
6884 * emacs-lisp/ewoc.el, emacs-lisp/cconv.el, emacs-lisp/bytecomp.el:
6885 * emacs-lisp/byte-opt.el, emacs-lisp/autoload.el: Convert to cl-lib.
6886 * emacs-lisp/easymenu.el, emacs-lisp/easy-mmode.el:
6887 * emacs-lisp/derived.el: Use pcase instead of `cl'.
6888 * emacs-lisp/cl-lib.el: Get rid of special cl-macs auto load.
6889
6890 2012-06-10 Glenn Morris <rgm@gnu.org>
6891
6892 * mail/rmail.el (rmail-yank-current-message): Leave point at
6893 correct position. (Bug#11660)
6894
6895 2012-06-10 Chong Yidong <cyd@gnu.org>
6896
6897 * allout-widgets.el: Fix code header.
6898
6899 2012-06-10 Chong Yidong <cyd@gnu.org>
6900
6901 * cus-edit.el (customize-changed-options-previous-release):
6902 Bump to 24.1.
6903
6904 2012-06-09 Andreas Schwab <schwab@linux-m68k.org>
6905
6906 * Makefile.in (BIG_STACK_DEPTH): Enlarge to 2200.
6907
6908 2012-06-09 Chong Yidong <cyd@gnu.org>
6909
6910 * ebuff-menu.el (electric-buffer-list): Preserve header line.
6911
6912 2012-06-09 Martin Rudalics <rudalics@gmx.at>
6913
6914 * window.el (special-display-popup-frame): Don't use
6915 window--display-buffer (Bug#11651).
6916
6917 2012-06-09 Eli Zaretskii <eliz@gnu.org>
6918
6919 Fix parallel builds: make sure loaddefs.el is not being written
6920 while Lisp files are compiled.
6921 (compile): Don't depend on 'mh-autoloads'.
6922 (compile-CMD, compile-SH): Depend on 'autoloads'.
6923 (bootstrap): Don't depend on 'autoloads' and 'mh-autoloads'.
6924
6925 * makefile.w32-in (BIG_STACK_DEPTH): Enlarge to 2200. (Bug#11649)
6926
6927 2012-06-09 Chong Yidong <cyd@gnu.org>
6928
6929 * face-remap.el (face-remap-add-relative, face-remap-set-base)
6930 (buffer-face-set, buffer-face-toggle, buffer-face-mode-invoke):
6931 Doc fixes (Bug#11225).
6932
6933 2012-06-09 Stefan Monnier <monnier@iro.umontreal.ca>
6934
6935 * emacs-lisp/macroexp.el (macroexp--expand-all): Only autoload
6936 a function if there's a clear indication that it has a compiler-macro.
6937 * emacs-lisp/byte-run.el (defun-declarations-alist, defmacro, defun)
6938 (macro-declarations-alist): Add arglist to declaration functions.
6939 (defun-declarations-alist): Add `obsolete' and `compiler-macro'.
6940 * emacs-lisp/cl-seq.el (cl-member, cl-assoc):
6941 * emacs-lisp/cl-lib.el (cl-list*, cl-adjoin):
6942 * emacs-lisp/cl-extra.el (cl-get): Use the new `declare' statement.
6943 Also add autoload to find the compiler macro.
6944 * emacs-lisp/cl-macs.el (eql) [compiler-macro]: Remove.
6945 (cl--compiler-macro-member, cl--compiler-macro-assoc)
6946 (cl--compiler-macro-adjoin, cl--compiler-macro-list*)
6947 (cl--compiler-macro-get): New functions, replacing calls to
6948 cl-define-compiler-macro.
6949 (cl-typep) [compiler-macro]: Use macroexp-let².
6950
6951 2012-06-08 Nick Dokos <nicholas.dokos@hp.com> (tiny change)
6952
6953 * calendar/icalendar.el (icalendar--parse-vtimezone): Import TZID
6954 string properly, fixes Bug#11473.
6955
6956 2012-06-08 Chong Yidong <cyd@gnu.org>
6957
6958 * faces.el (set-face-attribute): Doc fix.
6959 (modify-face): Don't use :bold and :italic.
6960 (error, warning, success): Tweak definitions.
6961
6962 * cus-edit.el (custom-modified, custom-invalid, custom-rogue)
6963 (custom-modified, custom-set, custom-changed, custom-themed)
6964 (custom-saved, custom-button, custom-button-mouse)
6965 (custom-button-pressed, custom-state, custom-comment-tag)
6966 (custom-variable-tag, custom-group-tag-1, custom-group-tag)
6967 (custom-group-subtitle): Use new-style face specs.
6968 (custom-invalid-face, custom-rogue-face, custom-modified-face)
6969 (custom-set-face, custom-changed-face, custom-saved-face)
6970 (custom-button-face, custom-button-pressed-face)
6971 (custom-documentation-face, custom-state-face)
6972 (custom-comment-face, custom-comment-tag-face)
6973 (custom-variable-tag-face, custom-variable-button-face)
6974 (custom-face-tag-face, custom-group-tag-face-1)
6975 (custom-group-tag-face): Remove obsolete face alias.
6976
6977 * epa.el (epa-validity-high, epa-validity-medium)
6978 (epa-validity-low, epa-mark, epa-field-name, epa-string)
6979 (epa-field-name, epa-field-body):
6980 * font-lock.el (font-lock-comment-face, font-lock-string-face)
6981 (font-lock-keyword-face, font-lock-builtin-face)
6982 (font-lock-function-name-face, font-lock-variable-name-face)
6983 (font-lock-type-face, font-lock-constant-face):
6984 * ido.el (ido-first-match, ido-only-match, ido-subdir)
6985 (ido-virtual, ido-indicator, ido-incomplete-regexp):
6986 * speedbar.el (speedbar-button-face, speedbar-file-face)
6987 (speedbar-directory-face, speedbar-tag-face)
6988 (speedbar-selected-face, speedbar-highlight-face)
6989 (speedbar-separator-face):
6990 * whitespace.el (whitespace-newline, whitespace-space)
6991 (whitespace-hspace, whitespace-tab, whitespace-trailing)
6992 (whitespace-line, whitespace-space-before-tab)
6993 (whitespace-space-after-tab, whitespace-indentation)
6994 (whitespace-empty):
6995 * emulation/cua-base.el (cua-global-mark):
6996 * eshell/em-prompt.el (eshell-prompt):
6997 * net/newst-plainview.el (newsticker-new-item-face)
6998 (newsticker-old-item-face, newsticker-immortal-item-face)
6999 (newsticker-obsolete-item-face, newsticker-date-face)
7000 (newsticker-statistics-face, newsticker-default-face):
7001 * net/newst-reader.el (newsticker-feed-face)
7002 (newsticker-extra-face, newsticker-enclosure-face):
7003 * net/newst-treeview.el (newsticker-treeview-face)
7004 (newsticker-treeview-new-face, newsticker-treeview-old-face)
7005 (newsticker-treeview-immortal-face)
7006 (newsticker-treeview-obsolete-face)
7007 (newsticker-treeview-selection-face):
7008 * net/rcirc.el (rcirc-my-nick, rcirc-other-nick)
7009 (rcirc-bright-nick, rcirc-server, rcirc-timestamp)
7010 (rcirc-nick-in-message, rcirc-nick-in-message-full-line)
7011 (rcirc-prompt, rcirc-track-keyword, rcirc-url, rcirc-keyword):
7012 * nxml/nxml-outln.el (nxml-heading, nxml-outline-indicator)
7013 (nxml-outline-active-indicator, nxml-outline-ellipsis):
7014 * play/mpuz.el (mpuz-unsolved, mpuz-solved, mpuz-trivial)
7015 (mpuz-text):
7016 * progmodes/vera-mode.el (vera-font-lock-number)
7017 (vera-font-lock-function, vera-font-lock-interface):
7018 * textmodes/table.el (table-cell): Use new-style face specs, and
7019 don't use the old :bold and :italic attributes.
7020
7021 * progmodes/ebrowse.el (ebrowse-tree-mark, ebrowse-root-class)
7022 (ebrowse-member-attribute, ebrowse-default, ebrowse-file-name)
7023 (ebrowse-member-class, ebrowse-progress): Likewise.
7024 (ebrowse-tree-mark-face, ebrowse-root-class-face)
7025 (ebrowse-file-name-face, ebrowse-default-face)
7026 (ebrowse-member-attribute-face, ebrowse-member-class-face)
7027 (ebrowse-progress-face): Remove obsolete faces.
7028
7029 * progmodes/flymake.el (flymake-errline, flymake-warnline):
7030 Inherit from error and warning faces respectively.
7031
7032 * textmodes/flyspell.el (flyspell-incorrect, flyspell-duplicate):
7033 Likewise.
7034 (flyspell-incorrect-face, flyspell-duplicate-face):
7035 Remove obsolete aliases.
7036
7037 2012-06-08 Michael Albinus <michael.albinus@gmx.de>
7038
7039 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
7040 Avoid infloop.
7041
7042 2012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
7043
7044 * startup.el (argv, argi): Make lexically scoped.
7045 * emacs-lisp/float-sup.el (pi): Use internal-make-var-non-special.
7046 * emacs-lisp/cl-macs.el: Use lexical-binding.
7047 Rename cl-bind-* to cl--bind-*.
7048 * files.el: Don't require `cl' since it doesn't use it.
7049 * emacs-lisp/pcase.el, emacs-lisp/macroexp.el: Add coding cookie.
7050
7051 2012-06-08 Juanma Barranquero <lekktu@gmail.com>
7052
7053 * textmodes/texinfmt.el: Fix bug#11640 (reverts part of 2008-07-31T05:33:56Z!dann@ics.uci.edu).
7054 (texinfo-format-printindex): Use `texinfo-sort-region' in all platforms,
7055 instead of calling external sort utility.
7056 (texinfo-sort-region, texinfo-sort-startkeyfun): Restore functions.
7057
7058 2012-06-08 Eli Zaretskii <eliz@gnu.org>
7059
7060 * descr-text.el (describe-char): Mention how to insert the
7061 character, if the current input method doesn't support it.
7062 See the discussion in this thread for the details:
7063 http://lists.gnu.org/archive/html/emacs-devel/2012-05/msg00533.html.
7064
7065 2012-06-08 Sam Steingold <sds@gnu.org>
7066
7067 * bindings.el (global-map): Bind XF86Forward to next-buffer and
7068 XF86Back to previous-buffer.
7069 (minibuffer-local-map): Bind them to next-history-element and
7070 previous-history-element respectively.
7071 * help-mode.el (help-mode-map): Bind them to help-go-forward and
7072 help-go-back respectively.
7073 * info.el (Info-mode-map): Bind them to Info-history-forward and
7074 Info-history-back respectively.
7075 These are the keys next to Up on the ThinkPad keyboard.
7076
7077 2012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
7078
7079 Get rid of cl-lexical-let, keeping only lexical-let for compatibility.
7080 * emacs-lisp/cl-macs.el: Provide itself.
7081 (cl--labels-convert-cache): New var.
7082 (cl--labels-convert): New function.
7083 (cl-flet, cl-labels): New implementation with new semantics, relying on
7084 lexical-binding.
7085 * emacs-lisp/cl.el: Mark compatibility aliases as obsolete.
7086 (cl-closure-vars, cl--function-convert-cache)
7087 (cl--function-convert): Move from cl-macs.el.
7088 (lexical-let, lexical-let*, flet, labels): Move from cl-macs.el and
7089 rename by removing the "cl-" prefix.
7090 * emacs-lisp/macroexp.el (macroexp-unprogn): New function.
7091
7092 2012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
7093
7094 * emacs-lisp/cl.el (cl-macroexpand, cl-macro-environment)
7095 (cl-macroexpand-all, cl-not-hash-table, cl-builtin-gethash)
7096 (cl-builtin-remhash, cl-builtin-clrhash, cl-builtin-maphash)
7097 (cl-map-keymap, cl-copy-tree, cl-gethash, cl-puthash, cl-remhash)
7098 (cl-clrhash, cl-maphash, cl-make-hash-table, cl-hash-table-p)
7099 (cl-hash-table-count): Add old compatibility aliases.
7100
7101 * emacs-lisp/cl-macs.el (cl-macro-environment): Remove var.
7102 Use macroexpand-all-environment instead.
7103 (cl--old-macroexpand): New var.
7104 (cl--sm-macroexpand): New function.
7105 (cl-symbol-macrolet): Use it during macro expansion.
7106 (cl--function-convert-cache): New var.
7107 (cl--function-convert): New function, extracted from
7108 cl-macroexpand-all.
7109 (cl-lexical-let): Use it.
7110
7111 * emacs-lisp/cl-lib.el (cl-macro-environment): Remove decl.
7112 (cl-macroexpand): Move to cl-macs.el and rename to cl--sm-macroexpand.
7113 (cl-member): Remove old alias.
7114
7115 * emacs-lisp/cl-extra.el (cl-map-keymap, cl-copy-tree)
7116 (cl-not-hash-table, cl-builtin-gethash, cl-builtin-remhash)
7117 (cl-builtin-clrhash, cl-builtin-maphash, cl-gethash, cl-puthash)
7118 (cl-remhash, cl-clrhash, cl-maphash, cl-make-hash-table)
7119 (cl-hash-table-p, cl-hash-table-count): Move to cl.el.
7120 (cl-macroexpand-cmacs): Remove var.
7121 (cl-macroexpand-all, cl-macroexpand-body): Remove funs.
7122 Use macroexpand-all instead.
7123
7124 2012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
7125
7126 * emacs-lisp/macroexp.el (macroexp-progn, macroexp-let*, macroexp-if)
7127 (macroexp-let², macroexp--const-symbol-p, macroexp-const-p)
7128 (macroexp-copyable-p): New functions and macros.
7129 * emacs-lisp/edebug.el (edebug-unwrap):
7130 * emacs-lisp/disass.el (disassemble-internal): Use macroexp-progn.
7131 * emacs-lisp/pcase.el: Use macroexp-let*, macroexp-if, ...
7132 (pcase--let*): Remove.
7133 * emacs-lisp/bytecomp.el (byte-compile-const-symbol-p)
7134 (byte-compile-constp): Remove. Use macroexp--const-symbol-p and
7135 macroexp-const-p instead.
7136 * emacs-lisp/byte-opt.el: Use macroexp-const-p and macroexp-progn.
7137
7138 * emacs-lisp/cl-macs.el: Clean up the name space by using "cl--"
7139 instead of "cl-" for internal definitions. Use macroexp-const-p.
7140 (cl-old-bc-file-form): Remove var.
7141 (cl-const-exprs-p): Remove fun.
7142 (cl-labels, cl-macrolet): Use backquote.
7143 (cl-lexical-let): Use cl-symbol-macrolet. Don't use cl-defun-expander.
7144 (cl-defun-expander, cl-byte-compile-compiler-macro): Remove fun.
7145 (cl-define-setf-expander): Rename from cl-define-setf-method.
7146 * emacs-lisp/cl.el: Adjust alias for define-setf-method.
7147
7148 * international/mule-cmds.el: Don't require CL.
7149 (view-hello-file): Don't use `letf'.
7150
7151 2012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
7152
7153 * tmm.el (tmm-prompt): Use string-prefix-p.
7154 (tmm-completion-delete-prompt): Don't affect current-buffer outside.
7155 (tmm-add-prompt): Use minibuffer-completion-help.
7156 (tmm-delete-map): Remove.
7157
7158 * subr.el (kbd): Make it its own function.
7159
7160 2012-06-07 Stefan Merten <smerten@oekonux.de>
7161
7162 * textmodes/rst.el: Use `eval-when-compile' for requiring `cl.el'.
7163 Silence compiler warnings. Fix versions.
7164 (rst-position-if, rst-position, rst-some, rst-signum): New functions.
7165 (rst-shift-region, rst-adornment-level, rst-compute-tabs)
7166 (rst-indent-line, rst-shift-region, rst-forward-line): Use them.
7167 (rst-package-emacs-version-alist): Correct Emacs version to
7168 represent major merge with upstream.
7169 (rst-transition, rst-adornment, rst-compile-toolsets): Fix versions.
7170
7171 2012-06-06 Glenn Morris <rgm@gnu.org>
7172
7173 * mail/emacsbug.el (report-emacs-bug): Add relevant EMACS env-vars.
7174 Only print environment variables if set.
7175
7176 2012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
7177
7178 * emacs-lisp/macroexp.el: Don't require CL since we don't use it.
7179 (macroexp--cons): Rename from maybe-cons.
7180 (macroexp--accumulate): Rename from macroexp-accumulate.
7181 (macroexp--all-forms): Rename from macroexpand-all-forms.
7182 (macroexp--all-clauses): Rename from macroexpand-all-clauses.
7183 (macroexp--expand-all): Rename from macroexpand-all-1.
7184
7185 2012-06-06 Sam Steingold <sds@gnu.org>
7186
7187 * calendar/calendar.el (calendar-in-read-only-buffer):
7188 Call `special-mode' to enable the standard read-only keybindings.
7189
7190 2012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
7191
7192 * emacs-lisp/macroexp.el (macroexpand-all-1): Don't spam the output
7193 with "loading" messages (bug#11635).
7194
7195 2012-06-06 Michael Albinus <michael.albinus@gmx.de>
7196
7197 * files.el (enable-remote-dir-locals): New option.
7198 (hack-dir-local-variables): Use it. (Bug#1933, Bug#6731)
7199
7200 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
7201 Ensure, that the temp directory is local.
7202
7203 * net/tramp-sh.el (tramp-sh-handle-write-region): Let-bind
7204 `temporary-file-directory'.
7205
7206 * progmodes/python.el (python-send-region): Ensure, that the
7207 temporary file is created also in the remote case.
7208
7209 2012-06-06 Glenn Morris <rgm@gnu.org>
7210
7211 * vc/vc-rcs.el (vc-rcs-rcs2log-program): New.
7212 (vc-rcs-update-changelog): Use it.
7213
7214 * emacs-lisp/authors.el (authors-fixed-entries): Remove vcdiff.
7215
7216 * vc/vc-sccs.el (vc-sccs-write-revision): New function.
7217 (vc-sccs-workfile-unchanged-p): Use vc-sccs-write-revision.
7218 (vc-sccs-diff): Replace use of the external vcdiff script.
7219
7220 2012-06-05 Glenn Morris <rgm@gnu.org>
7221
7222 * ledit.el: Move to obsolete/.
7223
7224 2012-06-05 Sam Steingold <sds@gnu.org>
7225
7226 * calendar/calendar.el (calendar-exit): Reinstate the 2012-03-28
7227 patch (Bug#11140).
7228
7229 2012-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
7230
7231 * emacs-lisp/cust-print.el: Move to obsolete.
7232
7233 * emacs-lisp/macroexp.el (macroexpand-all-1): Tolerate errors during
7234 compiler-macro expansion.
7235
7236 Add native compiler-macro support.
7237 * emacs-lisp/macroexp.el (macroexpand-all-1):
7238 Support compiler-macros directly. Properly follow aliases and apply
7239 the compiler macros more thoroughly.
7240 * emacs-lisp/cl.el: Don't copy compiler-macro properties any more since
7241 macroexpand now properly follows aliases.
7242 * emacs-lisp/cl-macs.el (toplevel, cl-define-compiler-macro)
7243 (cl-compiler-macroexpand): Use new prop.
7244 * emacs-lisp/byte-opt.el (featurep): Optimize earlier.
7245
7246 * emacs-lisp/cl-lib.el (custom-print-functions): Add alias.
7247
7248 2012-06-05 Martin Rudalics <rudalics@gmx.at>
7249
7250 * window.el (get-lru-window, get-mru-window, get-largest-window):
7251 New argument NOT-SELECTED to avoid picking the selected window.
7252 (window--display-buffer-1, window--display-buffer-2): Replace by
7253 new function window--display-buffer
7254 (display-buffer-same-window, display-buffer-reuse-window)
7255 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
7256 Use window--display-buffer.
7257 (display-buffer-use-some-window): Remove temporary dedication
7258 hack by calling get-lru-window and get-largest-window with
7259 NOT-SELECTED argument non-nil. Call window--display-buffer.
7260
7261 2012-06-05 Glenn Morris <rgm@gnu.org>
7262
7263 * vc/vc-sccs.el (vc-sccs-workfile-unchanged-p):
7264 Replace external vcdiff script.
7265
7266 2012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
7267
7268 * emacs-lisp/cl-lib.el (cl-values, cl-values-list): Fix up last change.
7269
7270 2012-06-04 Chong Yidong <cyd@gnu.org>
7271
7272 * image.el (imagemagick-types-inhibit): Revert last change.
7273 Add INFO and M.
7274 (imagemagick-enabled-types): Remove CIN and EPS*.
7275
7276 2012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
7277
7278 * emacs-lisp/cl-lib.el: Rename from cl.el.
7279 * emacs-lisp/cl.el: New compatibility file.
7280 * emacs-lisp/cl-lib.el, emacs-lisp/cl-seq.el, emacs-lisp/cl-macs.el:
7281 * emacs-lisp/cl-extra.el: Rename all top-level functions and variables
7282 to obey the "cl-" prefix.
7283 * emacs-lisp/macroexp.el (macroexpand-all-1): Adjust to new name.
7284
7285 2012-06-03 Glenn Morris <rgm@gnu.org>
7286
7287 * emacs-lisp/authors.el (authors-aliases): Addition.
7288
7289 * cus-start.el (tool-bar-style, tool-bar-max-label-size):
7290 Fix :version.
7291
7292 2012-06-03 Stefan Merten <smerten@oekonux.de>
7293
7294 * textmodes/rst.el: Add comments.
7295 (rst-transition, rst-adornment): New faces.
7296 (rst-adornment-faces-alist): Make default safe to reevaluate.
7297 Fixes
7298 http://sourceforge.net/tracker/?func=detail&atid=422030&aid=3479603&group_id=38414.
7299 Improve customization tags.
7300 (rst-define-level-faces): Clarify meaning.
7301
7302 2012-06-03 Chong Yidong <cyd@gnu.org>
7303
7304 * progmodes/compile.el (compilation-mode-line-fail)
7305 (compilation-mode-line-run, compilation-mode-line-exit):
7306 New faces.
7307 (compilation-start, compilation-handle-exit): Use them (Bug#11032).
7308
7309 2012-06-03 Jack Duthen <duthen.mac.01@gmail.com> (tiny change)
7310
7311 * progmodes/which-func.el (which-func-update-ediff-windows):
7312 New function. Use it in ediff-select-hook (Bug#11478).
7313
7314 2012-06-03 Chong Yidong <cyd@gnu.org>
7315
7316 * bindings.el: Remove explicit help text from format-mode-line.
7317 It is now supplied by mode-line-default-help-echo.
7318 (mode-line-front-space, mode-line-end-spaces)
7319 (mode-line-misc-info): New variables.
7320 (mode-line-modes, mode-line-position): Move the default value to
7321 the variable definition.
7322 (mode-line-default-help-echo): New defcustom.
7323 (mode-line-mule-info-help-echo, mode-line-read-only-help-echo)
7324 (mode-line-modified-help-echo): New functions.
7325 (mode-line-mule-info, mode-line-modified): Use them.
7326 (mode-line-eol-desc, propertized-buffer-identification):
7327 Consistency fixes for help text.
7328 (mode-line-coding-system-map): Allow using mouse-3 to invoke
7329 set-buffer-file-coding-system (Bug#289).
7330 (mode-line-mule-info-help-echo): Update help text.
7331
7332 2012-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
7333
7334 * simple.el (execute-extended-command): Set real-this-command
7335 (bug#11506).
7336
7337 2012-06-02 Chong Yidong <cyd@gnu.org>
7338
7339 Remove incorrect uses of "modeline" in comments, docstrings, and
7340 function/variable names (Bug#10329).
7341
7342 * cus-edit.el (mode-line):
7343 * dframe.el (dframe-mouse-hscroll):
7344 * emacs-lisp/re-builder.el:
7345 * emacs-lisp/easy-mmode.el (define-minor-mode):
7346 * frame.el (set-frame-name):
7347 * help.el (lookup-minor-mode-from-indicator):
7348 * net/rcirc.el (rcirc-activity-string, rcirc-short-buffer-name):
7349 * progmodes/cc-cmds.el (c-toggle-auto-newline)
7350 (c-toggle-hungry-state):
7351 * progmodes/antlr-mode.el (antlr-language-alist):
7352 * progmodes/idlw-shell.el (idlwave-shell-electric-stop-line-face):
7353 * progmodes/vhdl-mode.el (vhdl-mode):
7354 * progmodes/which-func.el (which-func, which-func-cleanup-function):
7355 * term/ns-win.el (ns-face-at-pos):
7356 * term/sup-mouse.el (sup-mouse-report):
7357 * textmodes/flyspell.el (flyspell-mode-line-string):
7358 * textmodes/ispell.el (ispell-highlight-face):
7359 * textmodes/reftex-global.el:
7360 * vc/vc-arch.el (vc-arch-mode-line-string):
7361 * vc/vc-cvs.el (vc-cvs-mode-line-string):
7362 * vc/vc-git.el (vc-git-mode-line-string):
7363 * vc/vc-hooks.el (vc-display-status)
7364 (vc-default-mode-line-string):
7365 * vc/vc-mtn.el (vc-mtn-mode-line-string): Doc fixes.
7366
7367 * ansi-color.el (ansi-color-faces-vector): Change default faces.
7368
7369 * dired.el (dired-sort-set-mode-line): Rename from
7370 dired-sort-set-modeline. All callers changed.
7371
7372 * eshell/esh-mode.el (eshell-status-in-mode-line): Rename from
7373 eshell-status-in-modeline.
7374
7375 * foldout.el (foldout-mode-line-string): Rename from
7376 foldout-modeline-string. All callers changed.
7377 (foldout-update-mode-line): Rename from foldout-update-modeline.
7378
7379 * subr.el (redraw-modeline): Make into obsolete alias.
7380
7381 * calendar/timeclock.el (timeclock-mode-line-display): Rename from
7382 timeclock-modeline-display. Make old name an alias.
7383 (timeclock-update-mode-line): Likewise. All callers changed.
7384 (timeclock-mode-line-display): No need to check before using
7385 add-hook.
7386 (timeclock-relative, timeclock-day-over-hook)
7387 (timeclock-use-elapsed, timeclock-mode-string)
7388 (timeclock-mode-line-display): Doc fix, "modeline" -> "mode line".
7389
7390 * emulation/crisp.el (crisp-mode-mode-line-string): Rename from
7391 crisp-mode-modeline-string.
7392
7393 * play/solitaire.el (solitaire-build-mode-line): Rename from
7394 solitaire-build-modeline. All callers changed.
7395
7396 * play/zone.el (zone-hiding-mode-line): Rename from
7397 zone-hiding-modeline. All callers changed.
7398 (zone): Remove unusued `modeline-hidden-level' property.
7399
7400 * progmodes/xscheme.el (xscheme-mode-line-initialize): Rename from
7401 xscheme-modeline-initialize. All callers changed.
7402
7403 * strokes.el (strokes-lighter): Rename from
7404 strokes-modeline-string.
7405
7406 * textmodes/sgml-mode.el (html-face-tag-alist)
7407 (html-tag-face-alist): Use mode-line face instead of obsolete
7408 alias modeline.
7409
7410 2012-06-02 Stefan Merten <smerten@oekonux.de>
7411
7412 * textmodes/rst.el: Always require `cl'.
7413 (rst-mode-map): Fix meaning of C-M-a / C-M-e.
7414
7415 2012-06-02 Chong Yidong <cyd@gnu.org>
7416
7417 * image.el (imagemagick-enabled-types): Rename from
7418 imagemagick-types-enable. Add many more types.
7419 (imagemagick-types-inhibit): Change default to nil.
7420 (imagemagick-filter-types): Caller changed.
7421
7422 2012-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
7423
7424 * emacs-lisp/cl-macs.el: Use backquotes.
7425 (cl-transform-function-property): Use eval-and-compile rather than
7426 abusing `require'.
7427 (defstruct): Use declare-function instead of with-no-warnings.
7428
7429 * emacs-lisp/bytecomp.el: Fix last change (bug#11594).
7430 (byte-compile-output-docform): Re-add the print-circle bindings.
7431 (byte-compile-fix-header): Use #$ just because it's shorter.
7432 (byte-compile-output-file-form): Remove defun/defmacro.
7433
7434 2012-06-01 Martin Rudalics <rudalics@gmx.at>
7435
7436 * simple.el (choose-completion): Remove now obsolete binding for
7437 owindow.
7438
7439 2012-06-01 Michael Albinus <michael.albinus@gmx.de>
7440
7441 * net/tramp.el (tramp-check-for-regexp): Search from buffer end,
7442 in order to avoid "Stack overflow in regexp matcher".
7443
7444 2012-05-31 Glenn Morris <rgm@gnu.org>
7445
7446 * image.el: For clarity, call imagemagick-register-types at
7447 top-level, rather than relying on a custom :initialize.
7448 (imagemagick-types-enable): New option. (Bug#11557)
7449 (imagemagick-filter-types): New function. (Bug#7406)
7450 (imagemagick-register-types): Use imagemagick-filter-types.
7451 If disabling support, remove elements altogether rather
7452 than using an impossible regexp.
7453 (imagemagick-types-inhibit): Give it the default init function.
7454
7455 2012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
7456
7457 * emacs-lisp/bytecomp.el (byte-compile-fix-header):
7458 Handle arbitrary file name lengths (Bug#11585).
7459
7460 2012-05-31 Martin Rudalics <rudalics@gmx.at>
7461
7462 * desktop.el (desktop-read): Clear previous and next buffers for
7463 all windows and bury *Messages* buffer (bug#11556).
7464
7465 2012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
7466
7467 Add `declare' for `defun'. Align `defmacro's with it.
7468 * emacs-lisp/easy-mmode.el (define-minor-mode)
7469 (define-globalized-minor-mode): Don't autoload the var definitions.
7470 * emacs-lisp/byte-run.el: Use lexical-binding.
7471 (defun-declarations-alist, macro-declarations-alist): New vars.
7472 (defmacro, defun): Use them.
7473 (make-obsolete, define-obsolete-function-alias)
7474 (make-obsolete-variable, define-obsolete-variable-alias):
7475 Use `declare'.
7476 (macro-declaration-function): Mark obsolete.
7477 * emacs-lisp/autoload.el: Use lexical-binding.
7478 (make-autoload): Add `expansion' arg. Rely more on macro expansion.
7479
7480 2012-05-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
7481
7482 * textmodes/ispell.el (ispell-with-no-warnings):
7483 Define as a macro.
7484 (ispell-kill-ispell, ispell-change-dictionary):
7485 Use `called-interactively-p' for Emacs instead of obsolete
7486 `interactive-p'.
7487
7488 2012-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
7489
7490 * emacs-lisp/byte-run.el (defmacro, defun): Move from C.
7491 (macro-declaration-function): Move var from C code.
7492 (macro-declaration-function): Define function with defalias.
7493 * emacs-lisp/macroexp.el (macroexpand-all-1):
7494 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form):
7495 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Don't handle
7496 defun/defmacro any more.
7497 * emacs-lisp/bytecomp.el (byte-compile-arglist-signature):
7498 Provide fallback for unknown arglist.
7499 (byte-compile-arglist-warn): Change calling convention.
7500 (byte-compile-output-file-form): Move print-vars binding.
7501 (byte-compile-output-docform): Simplify accordingly.
7502 (byte-compile-file-form-defun, byte-compile-file-form-defmacro)
7503 (byte-compile-defmacro-declaration): Remove.
7504 (byte-compile-file-form-defmumble): Generalize to defalias.
7505 (byte-compile-output-as-comment): Return byte-positions.
7506 Simplify callers accordingly.
7507 (byte-compile-lambda): Use `assert'.
7508 (byte-compile-defun, byte-compile-defmacro): Remove.
7509 (byte-compile-file-form-defalias):
7510 Use byte-compile-file-form-defmumble.
7511 (byte-compile-defalias-warn): Remove.
7512
7513 2012-05-29 Stefan Merten <smerten@oekonux.de>
7514
7515 * textmodes/rst.el: Silence `checkdoc-ispell' errors where
7516 possible. Fix authors. Improve comments. Improve loading of `cl'.
7517
7518 (rst-mode-abbrev-table): Merge definition.
7519 (rst-mode): Make sure `font-lock-defaults' is buffer local.
7520 (rst-define-key, rst-deprecated-keys, rst-call-deprecated): Refactor.
7521
7522 2012-05-29 Ulf Jasper <ulf.jasper@web.de>
7523
7524 * calendar/icalendar.el
7525 (icalendar-export-region): Export UID properly.
7526
7527 2012-05-29 Leo Liu <sdl.web@gmail.com>
7528 * calendar/icalendar.el (icalendar-import-format):
7529 Add `icalendar-import-format-uid' (Bug#11525).
7530 (icalendar-import-format-uid): New.
7531 (icalendar--parse-summary-and-rest, icalendar--format-ical-event):
7532 Export UID.
7533
7534 2012-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
7535
7536 * emacs-lisp/pcase.el (pcase--expand): Accept different sets of vars in
7537 different alternative patterns.
7538 (pcase-codegen): Be more careful to preserve identity.
7539 (pcase--u1): Don't forget to mark vars as used.
7540
7541 * emacs-lisp/bytecomp.el (byte-compile-constp): Treat #'v as a constant.
7542 (byte-compile-close-variables): Bind byte-compile--outbuffer here...
7543 (byte-compile-from-buffer): ...rather than here.
7544
7545 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Don't re-preprocess
7546 functions from byte-compile-function-environment.
7547
7548 2012-05-29 Troels Nielsen <bn.troels@gmail.com>
7549
7550 * window.el (window-deletable-p): Avoid deleting the root window
7551 of a frame with an active minibuffer.
7552
7553 2012-05-29 Martin Rudalics <rudalics@gmx.at>
7554
7555 * simple.el (choose-completion): Use quit-window (Bug#11567).
7556
7557 2012-05-29 Chong Yidong <cyd@gnu.org>
7558
7559 * whitespace.el (whitespace-cleanup): Fix usage of
7560 whitespace-empty-at-bob-regexp (Bug#11492).
7561
7562 2012-05-29 Aaron S. Hawley <aaron.s.hawley@gmail.com>
7563
7564 * vc/vc.el (vc-revert, vc-rollback): Dont kill vc-diff buffer on
7565 revert (Bug#11488).
7566
7567 2012-05-29 Juri Linkov <juri@jurta.org>
7568
7569 * isearch.el (isearch-mode-map): Bind `M-s _' to
7570 `isearch-toggle-symbol'. Bind `M-s c' to
7571 `isearch-toggle-case-fold'.
7572 (search-map): Bind `M-s _' to `isearch-forward-symbol'.
7573 (isearch-forward): Add `M-s _' to the docstring.
7574 (isearch-forward-symbol, isearch-toggle-case-fold)
7575 (isearch-symbol-regexp): New functions. (Bug#11381)
7576
7577 2012-05-29 Juri Linkov <juri@jurta.org>
7578
7579 * isearch.el (isearch-word): Add docstring. (Bug#11381)
7580 (isearch-occur, isearch-search-and-update): If `isearch-word' is
7581 a function, call it to get the regexp.
7582 (isearch-message-prefix): If `isearch-word' holds a symbol, use its
7583 property `isearch-message-prefix' instead of the string "word ".
7584 (isearch-search-fun-default): For the case of `isearch-word',
7585 return a lambda that calls re-search-forward/re-search-backward
7586 with a regexp returned by `word-search-regexp' or by the function
7587 in `isearch-word'.
7588
7589 2012-05-29 Juri Linkov <juri@jurta.org>
7590
7591 * isearch.el (isearch-search-fun-default): New function.
7592 (isearch-search-fun): Move default part to the new function
7593 `isearch-search-fun-default'.
7594 (isearch-search-fun-function): Set the default value to
7595 `isearch-search-fun-default'. (Bug#11381)
7596
7597 * comint.el (comint-history-isearch-end):
7598 Use `isearch-search-fun-default'.
7599 (comint-history-isearch-search): Use `isearch-search-fun-default'
7600 and remove spacial case for `isearch-word'.
7601 (comint-history-isearch-wrap): Remove spacial case for
7602 `isearch-word'.
7603
7604 * hexl.el (hexl-isearch-search-function):
7605 Use `isearch-search-fun-default'.
7606
7607 * info.el (Info-isearch-search): Use `isearch-search-fun-default'.
7608 Use `word-search-regexp' for `isearch-word'.
7609
7610 * misearch.el (multi-isearch-search-fun):
7611 Use `isearch-search-fun-default'.
7612
7613 * simple.el (minibuffer-history-isearch-search):
7614 Use `isearch-search-fun-default' and remove spacial case for
7615 `isearch-word'.
7616 (minibuffer-history-isearch-wrap): Remove spacial case for
7617 `isearch-word'.
7618
7619 * textmodes/reftex-global.el (reftex-isearch-wrap-function):
7620 Remove spacial case for `isearch-word'.
7621 (reftex-isearch-isearch-search): Use `isearch-search-fun-default'.
7622
7623 2012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
7624
7625 Decrease XEmacs incompatibilities.
7626 * textmodes/flyspell.el (flyspell-check-pre-word-p):
7627 Use `string-match'.
7628 (flyspell-delete-region-overlays): Use alternative definition for
7629 XEmacs.
7630 (flyspell-delete-all-overlays): Use `flyspell-delete-region-overlays'.
7631 (flyspell-word): Use `process-kill-without-query' if XEmacs.
7632 (flyspell-mode-on): Use `interactive-p' if XEmacs.
7633 (flyspell-incorrect-face, flyspell-duplicate-face): Do not use
7634 `define-obsolete-face-alias' under XEmacs, but old method.
7635
7636 * textmodes/ispell.el (ispell-with-no-warnings): XEmacs alternative
7637 `with-no-warnings' definition or Emacs alias.
7638 (ispell-command-loop, ispell-message): Use `ispell-with-no-warnings'.
7639 (ispell-word): Do not use `region-p' if XEmacs.
7640
7641 2012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
7642
7643 * textmodes/ispell.el (ispell-find-aspell-dictionaries):
7644 Check for `ispell-dictionary-base-alist' instead of full
7645 `ispell-dictionary-alist'.
7646 (ispell-init-process): Show spellchecker when starting new Ispell
7647 process.
7648
7649 2012-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
7650
7651 * progmodes/vhdl-mode.el: Sync with upstream 3.33.28.
7652 http://www.iis.ee.ethz.ch/~zimmi/emacs/vhdl-mode.html#release-notes-3.33
7653
7654 2012-05-27 Juanma Barranquero <lekktu@gmail.com>
7655
7656 * version.el (motif-version-string, gtk-version-string)
7657 (ns-version-string): Declare.
7658
7659 2012-05-27 Juri Linkov <juri@jurta.org>
7660
7661 * emacs-lisp/lisp-mode.el (eval-defun-2): Use `eval-sexp-add-defvars'
7662 after the `eval-defun-1' specialcaseing
7663 like in `edebug-eval-defun' (bug#10181).
7664
7665 * emacs-lisp/edebug.el (edebug-eval-defun): Set `face-documentation'
7666 like in `eval-defun-1'.
7667
7668 2012-05-27 Eli Zaretskii <eliz@gnu.org>
7669
7670 * mail/sendmail.el (mail-yank-region):
7671 Recognize rmail-yank-current-message in addition to insert-buffer.
7672 Fixes mail-mode's "C-c C-r" that otherwise does nothing when invoked in
7673 a *mail* buffer created through rmail-start-mail with sendmail as
7674 mail-user-agent.
7675
7676 2012-05-27 Chong Yidong <cyd@gnu.org>
7677
7678 * net/gnutls.el (gnutls-min-prime-bits): Improve docstring.
7679 Default to 256 (Bug#11267).
7680
7681 * help.el (describe-mode): Doc fix.
7682
7683 2012-05-26 Glenn Morris <rgm@gnu.org>
7684
7685 * w32-fns.el (w32-init-info): Remove.
7686 * paths.el (Info-default-directory-list): Add w32-init-info equivalent.
7687
7688 * info.el (info-initialize): For self-contained NS builds, put the
7689 included info/ directory at the front. (Bug#2791)
7690
7691 * paths.el (Info-default-directory-list): Make it a defcustom,
7692 mainly so that we can use custom-initialize-delay.
7693
7694 2012-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
7695
7696 * subr.el (buffer-has-markers-at): Mark obsolete.
7697
7698 * subr.el (lambda): Use declare.
7699
7700 * emacs-lisp/lisp-mode.el (lambda):
7701 * emacs-lisp/edebug.el (lambda): Move properties to its definition.
7702
7703 2012-05-26 Aaron S. Hawley <aaron.s.hawley@gmail.com>
7704
7705 * thingatpt.el (forward-same-syntax): Handle no ARG case. (Bug#11560)
7706
7707 2012-05-26 Glenn Morris <rgm@gnu.org>
7708
7709 * progmodes/cc-mode.el (auto-mode-alist): Fix typo.
7710
7711 2012-05-25 Glenn Morris <rgm@gnu.org>
7712
7713 * paths.el: Remove no-byte-compile.
7714 * loadup.el: No need to load paths.el uncompiled.
7715
7716 * image.el (imagemagick-types-inhibit): Doc fix.
7717
7718 * version.el: Remove no-byte-compile and associated formatting.
7719 * loadup.el: No need to load version.el uncompiled. AFAICS, this
7720 is ancient code from when there was an "inc-vers.el".
7721
7722 2012-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
7723
7724 * progmodes/gdb-mi.el: Minor style changes.
7725 (gdb-enable-debug, gdb-speedbar-auto-raise, gdb-many-windows):
7726 Turn into minor modes.
7727 (gdb--if-arrow): Rename from gdb-if-arrow, make it hygienic.
7728 (gdb-mouse-until, gdb-mouse-jump): Adjust uses accordingly.
7729 (gdb-shell): Remove unneeded let-binding.
7730 (gdb-get-many-fields): Eliminate O(n²) behavior.
7731
7732 2012-05-25 Eli Zaretskii <eliz@gnu.org>
7733
7734 * cus-start.el <vertical-centering-font-regexp>: Avoid warning on
7735 platforms that don't link in fontset.c.
7736
7737 2012-05-25 Juri Linkov <juri@jurta.org>
7738
7739 Use the same diff color scheme as in modern VCSes (bug#10181).
7740
7741 * vc/diff-mode.el (diff-header, diff-file-header): Remove "green"
7742 to avoid confusion with `diff-added' that now uses green colors.
7743 (diff-removed): Use shades of red.
7744 (diff-added): Use shades of green.
7745 (diff-changed): Leave just the yellow color.
7746 (diff-use-changed-face): New variable.
7747 (diff-font-lock-keywords): Use `diff-use-changed-face' to decide
7748 how to highlight context diff changes.
7749 (diff-refine-change): Use shades of yellow.
7750 (diff-refine-removed): New face that uses shades of red.
7751 (diff-refine-added): New face that uses shades of green.
7752 (diff-refine-hunk): Use `diff-refine-change', `diff-refine-added',
7753 `diff-refine-removed' in the call to `smerge-refine-subst'
7754 depending on the value of `diff-use-changed-face'.
7755
7756 * vc/smerge-mode.el (smerge-mine): Use shades of red.
7757 (smerge-other): Use shades of green.
7758 (smerge-base): Use shades of yellow.
7759 (smerge-refined-change): Empty face.
7760 (smerge-refined-removed): New face that uses shades of red.
7761 (smerge-refined-added): New face that uses shades of green.
7762 (smerge-refine-subst): Rename arg `props' to `props-c'. Add new
7763 args `props-r' and `props-a', and use them. Doc fix.
7764 (smerge-refine): Evaluate `smerge-use-changed-face' and depending
7765 on its value use different faces `smerge-refined-change',
7766 `smerge-refined-removed', `smerge-refined-added' in the call to
7767 `smerge-refine-subst'.
7768
7769 * vc/ediff-init.el (ediff-current-diff-A, ediff-fine-diff-A):
7770 Add face condition `min-colors 88' with shades of red.
7771 (ediff-current-diff-B, ediff-fine-diff-B): Add face condition
7772 `min-colors 88' with shades of green.
7773 (ediff-current-diff-C, ediff-fine-diff-C): Add face condition
7774 `min-colors 88' with shades of yellow.
7775
7776 2012-05-24 Glenn Morris <rgm@gnu.org>
7777
7778 * paths.el (prune-directory-list, remote-shell-program): Move to...
7779 * files.el (prune-directory-list, remote-shell-program): ...here.
7780 For the latter, delay initialization, prefer ssh, just search PATH.
7781
7782 * paths.el (term-file-prefix): Move to faces.el (the only user).
7783 * faces.el (term-file-prefix): Move here, make it a defcustom.
7784
7785 * paths.el (news-directory, news-path, news-inews-program):
7786 Move to gnus/nnspool.el.
7787
7788 * paths.el (gnus-default-nntp-server): Remove (gnus.el defines it).
7789
7790 * paths.el (rmail-file-name, rmail-spool-directory): Move from here...
7791 * mail/rmail.el (rmail-file-name, rmail-spool-directory): ... to here.
7792 Make the latter a defcustom, with a delayed initialization.
7793
7794 * paths.el (gnus-nntp-service, gnus-local-organization): Remove.
7795 These were deleted from Gnus itself late 2010.
7796
7797 2012-05-22 Juanma Barranquero <lekktu@gmail.com>
7798
7799 * progmodes/which-func.el (which-func-ff-hook):
7800 Check against user-error, not error.
7801
7802 * emacs-lisp/edebug.el (top): Do not load or set up loading of
7803 cl-specs.el, which no longer exists.
7804
7805 2012-05-22 Glenn Morris <rgm@gnu.org>
7806
7807 * info.el (info-emacs-bug): New command.
7808 * menu-bar.el (menu-bar-help-menu): Add "How to Report a Bug" to Help.
7809 * mail/emacsbug.el (report-emacs-bug): Replace with info-emacs-bug.
7810
7811 2012-05-21 Glenn Morris <rgm@gnu.org>
7812
7813 * makefile.w32-in (update-subdirs-SH):
7814 * Makefile.in (update-subdirs): Update for moved update-subdirs.
7815
7816 2012-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
7817
7818 * hi-lock.el (hi-lock-face-defaults): Move obsolete before definition.
7819
7820 * progmodes/compile.el (compilation-error-regexp-alist-alist):
7821 Simplify Maven regexp, and make sure the file can't start with a space
7822 (bug#11517).
7823
7824 2012-05-21 Glenn Morris <rgm@gnu.org>
7825
7826 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
7827 Scrap superfluous subshells.
7828
7829 2012-05-19 Stefan Monnier <monnier@iro.umontreal.ca>
7830
7831 * emacs-lisp/bytecomp.el (byte-compile-root-dir): New var.
7832 (byte-compile-warning-prefix, batch-byte-compile-file): Use it.
7833
7834 2012-05-19 Jay Belanger <jay.p.belanger@gmail.com>
7835
7836 * calc/calc.el (calc-ensure-consistent-units): New variable.
7837
7838 * calc/calc-units.el (math-consistent-units-p)
7839 (math-check-unit-consistency): New functions.
7840 (calc-quick-units, calc-convert-units):
7841 Use `math-check-unit-consistency' when `calc-ensure-consistent-units'
7842 is non-nil.
7843 (calc-extract-units): Fix typo.
7844
7845 2012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
7846
7847 * vc/vc-bzr.el (vc-bzr-state-heuristic): Save match-data around sha1.
7848
7849 * textmodes/flyspell.el: Commenting style, plus code simplifications.
7850 (flyspell-default-deplacement-commands): Don't spell check after
7851 repeated window/frame switches (e.g. triggered by mouse-movement).
7852 (flyspell-delay-commands, flyspell-deplacement-commands): Use mapc.
7853 (flyspell-debug-signal-word-checked): Simplify and fit in 80 cols.
7854 (flyspell-casechars-cache, flyspell-ispell-casechars-cache)
7855 (flyspell-not-casechars-cache, flyspell-ispell-not-casechars-cache):
7856 Remove unused vars.
7857 (flyspell-get-casechars, flyspell-get-not-casechars):
7858 Simplify; Don't bother removing a ] just to add it back.
7859 * textmodes/ispell.el (ispell-program-name): Use executable-find.
7860
7861 2012-05-18 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
7862
7863 * calc/calc-lang.el (math-C-parse-bess, math-C-parse-fma):
7864 New functions.
7865 (math-function-table): Add support for more C functions.
7866
7867 2012-05-18 Agustín Martín Domingo <agustin.martin@hispalinux.es>
7868
7869 * textmodes/flyspell.el (flyspell-check-pre-word-p)
7870 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
7871 Protect delay handling for otherchars against empty otherchars.
7872
7873 2012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
7874
7875 * emacs-lisp/lisp-mode.el (doc-string-elt): Move those properties to
7876 their respective macro declarations.
7877 * skeleton.el (define-skeleton):
7878 * progmodes/compile.el (define-compilation-mode):
7879 * ibuf-macs.el (define-ibuffer-sorter, define-ibuffer-op)
7880 (define-ibuffer-filter):
7881 * emacs-lisp/generic.el (define-generic-mode):
7882 * emacs-lisp/easy-mmode.el (define-minor-mode)
7883 (define-globalized-minor-mode):
7884 * emacs-lisp/cl-macs.el (defun*, defmacro*, defstruct, deftype):
7885 * emacs-lisp/byte-run.el (defsubst):
7886 * custom.el (deftheme): Add doc-string metadata.
7887
7888 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
7889
7890 * emacs-lisp/cl-macs.el, emacs-lisp/cl.el: Move indent info.
7891
7892 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
7893
7894 * emacs-lisp/pcase.el (pcase--u1): Avoid ((lambda ...) ...).
7895
7896 * emacs-lisp/cl.el: Add edebug specs from cl-specs.el.
7897 * emacs-lisp/cl-macs.el: Idem.
7898 * emacs-lisp/cl-specs.el: Remove.
7899
7900 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
7901
7902 Minor renaming of internal CL functions and variables.
7903 * emacs-lisp/cl-seq.el (cl--adjoin): Rename from cl-adjoin.
7904 (cl--position): Rename from cl-position.
7905 (cl--delete-duplicates): Rename from cl-delete-duplicates.
7906 * emacs-lisp/cl.el (cl--gensym-counter): Rename from *gensym-counter*.
7907 (cl--random-state): Rename from *random-state*.
7908
7909 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
7910
7911 * emacs-lisp/cl-macs.el (cl-transform-lambda): Don't add spurious
7912 parens around the arg list (bug#11499).
7913
7914 2012-05-17 Juri Linkov <juri@jurta.org>
7915
7916 * isearch.el (word-search-regexp, word-search-backward)
7917 (word-search-forward, word-search-backward-lax)
7918 (word-search-forward-lax): Move functions from search.c
7919 (bug#10145, bug#11381).
7920
7921 2012-05-16 Agustín Martín Domingo <agustin.martin@hispalinux.es>
7922
7923 * textmodes/flyspell.el (flyspell-check-pre-word-p)
7924 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
7925 Delay for otherchars as for normal word components.
7926
7927 2012-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
7928
7929 * minibuffer.el (completion--sifn-requote): Fix last change.
7930 (minibuffer-local-must-match-filename-map):
7931 Move define-obsolete-variable-alias before its var.
7932
7933 2012-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
7934
7935 * emacs-lisp/pcase.el (pcase-let*, pcase-let): Fix edebug spec.
7936
7937 * minibuffer.el (completion--sifn-requote): Handle sifn's truncation
7938 behavior.
7939 (completion--string-equal-p): New function.
7940 (completion--twq-all): Use it to get better assertion failure data.
7941
7942 Only handle ".." and '..' quoting in shell-mode (bug#11466).
7943 * shell.el (shell--unquote&requote-argument, shell--unquote-argument)
7944 (shell--requote-argument): New functions.
7945 (shell-completion-vars): Use them.
7946 (shell--parse-pcomplete-arguments): Rename from
7947 shell-parse-pcomplete-arguments.
7948 * comint.el (comint-word): Obey comint-file-name-quote-list. Simplify.
7949 (comint--unquote&requote-argument): Don't handle ".." and '..' quoting.
7950 Obey comint-file-name-quote-list.
7951
7952 * emacs-lisp/smie.el (smie-indent--bolp-1): New function.
7953 (smie-indent-keyword): Use it.
7954
7955 2012-05-14 Stefan Merten <smerten@oekonux.de>
7956
7957 * textmodes/rst.el (rst-re-alist): Fix loading (bug#11462).
7958
7959 2012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
7960
7961 * net/rlogin.el (rlogin-mode-map): Fix last change.
7962
7963 2012-05-14 Jason L. Wright <jason.wright@inl.gov> (tiny change)
7964
7965 * mail/smtpmail.el (smtpmail-send-command): Send the command and
7966 the following \r\n using a single `process-send-string', since the
7967 Lotus SMTP server refuses to accept any commands if they are sent
7968 with two `process-send-string's (Bug#11444).
7969
7970 2012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
7971
7972 * shell.el (shell-parse-pcomplete-arguments):
7973 Obey pcomplete-arg-quote-list inside double-quoted args (Bug#11348).
7974
7975 2012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
7976
7977 * image-mode.el: Fit to width/height for rotated images (Bug#11431).
7978 (image-transform-scale, image-transform-right-angle-fudge): New vars.
7979 (image-transform-width, image-transform-fit-width): New functions.
7980 (image-transform-properties): Use them.
7981 (image-transform-check-size): New function.
7982 (image-toggle-display-image): Use it (for testing).
7983 (image-transform-set-rotation): Reduce angle mod 360.
7984 Delete obsolete comment.
7985
7986 2012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
7987
7988 * image-mode.el: Fix scaling (bug#11399).
7989 (image-transform-resize): Doc fix.
7990 (image-transform-properties): Default scale is 1 and height should
7991 be an integer.
7992
7993 2012-05-13 Johan Bockgård <bojohan@gnu.org>
7994
7995 * emacs-lisp/smie.el (smie-next-sexp): Use accessor `op-forw' rather
7996 than hard-coding `car', to fix misbehavior when moving forward.
7997
7998 2012-05-13 Chong Yidong <cyd@gnu.org>
7999
8000 * emacs-lisp/tabulated-list.el (tabulated-list-format)
8001 (tabulated-list-entries, tabulated-list-padding)
8002 (tabulated-list-sort-key): Make permanent-local.
8003
8004 * ebuff-menu.el: Adapt to Buffer Menu changes (Bug#11455).
8005 (electric-buffer-list): Put electric buffer menu
8006 command descriptions in this docstring, instead of the docstring
8007 of electric-buffer-menu-mode. Code cleanups.
8008 (electric-buffer-menu-mode): Use define-derived-mode. Rename from
8009 Electric-buffer-menu-mode.
8010 (electric-buffer-update-highlight): Minor code cleanup.
8011
8012 2012-05-13 Michael Albinus <michael.albinus@gmx.de>
8013
8014 * net/dbus.el (dbus-call-method): Restore events not from D-Bus.
8015 (Bug#11447)
8016
8017 2012-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
8018
8019 Move define-obsolete-variable-alias before the var's definition.
8020 * vc/log-edit.el (vc-comment-ring, vc-comment-ring-index):
8021 * tooltip.el (tooltip-hook):
8022 * textmodes/reftex-toc.el (reftex-toc-map):
8023 * textmodes/reftex-sel.el (reftex-select-label-map)
8024 (reftex-select-bib-map):
8025 * textmodes/reftex-index.el (reftex-index-map)
8026 (reftex-index-phrases-map):
8027 * speedbar.el (speedbar-syntax-table, speedbar-key-map):
8028 * progmodes/meta-mode.el (meta-mode-map):
8029 * novice.el (disabled-command-hook):
8030 * loadhist.el (unload-hook-features-list):
8031 * frame.el (blink-cursor):
8032 * files.el (find-file-not-found-hooks, write-file-hooks)
8033 (write-contents-hooks):
8034 * emulation/tpu-edt.el (GOLD-map):
8035 * emacs-lock.el (emacs-lock-from-exiting):
8036 * emacs-lisp/generic.el (generic-font-lock-defaults):
8037 * emacs-lisp/chart.el (chart-map):
8038 * dos-fns.el (register-name-alist):
8039 * dired-x.el (dired-omit-files-p):
8040 * desktop.el (desktop-enable):
8041 * cus-edit.el (custom-mode-hook):
8042 * buff-menu.el (buffer-menu-mode-hook):
8043 * bookmark.el (bookmark-read-annotation-text-func)
8044 (bookmark-exit-hooks):
8045 * allout.el (allout-mode-deactivate-hook)
8046 (allout-exposure-change-hook, allout-structure-added-hook)
8047 (allout-structure-deleted-hook, allout-structure-shifted-hook):
8048 * dirtrack.el (dirtrack-toggle, dirtrackp, dirtrack-debug-toggle)
8049 (dirtrack-debug): Move call to define-obsolete-variable-alias so it
8050 comes before the corresponding variable's definition.
8051
8052 2012-05-12 Chong Yidong <cyd@gnu.org>
8053
8054 * buff-menu.el (Buffer-menu-buffer+size-width): Doc fix (Bug#11454).
8055 (Buffer-menu-mouse-select): Restore function (Bug#11459).
8056 (Buffer-menu-mode-map): Bind it.
8057 (Buffer-menu--pretty-name): Add a mouse-face property.
8058
8059 2012-05-11 Stefan Monnier <monnier@iro.umontreal.ca>
8060
8061 * progmodes/prolog.el: Use SMIE. Cleanup regexp setup.
8062 (prolog-upper-case-string, prolog-lower-case-string)
8063 (prolog-atom-char-regexp, prolog-atom-regexp): Initialize in defconst.
8064 (prolog-use-smie, prolog-smie-grammar): New vars.
8065 (prolog-smie-forward-token, prolog-smie-backward-token)
8066 (prolog-smie-rules): New funs.
8067 (prolog-comment-indent): Remove.
8068 (prolog-mode-variables): Use default comment indentation instead.
8069 Setup SMIE.
8070 (prolog-build-case-strings, prolog-set-atom-regexps): Remove.
8071 (prolog-mode): Don't call them any more.
8072 (prolog-electric-colon, prolog-electric-dash)
8073 (prolog-edit-menu-insert-move): Use indent-according-to-mode.
8074
8075 * dabbrev.el (dabbrev-expand): Make "no expansion found" a user-error.
8076
8077 * minibuffer.el (completion--twq-all): Again, allow case differences.
8078
8079 * term.el: Move keymap initialization code to be more idiomatic.
8080 (term-signals-menu, term-mode-map, term-raw-map, term-raw-escape-map)
8081 (term-terminal-menu): Move initialization into declaration.
8082 (term-escape-char): Let the user set it in her .emacs.
8083
8084 * progmodes/sh-script.el: Use post-self-insert-hook&electric-pair-mode.
8085 Provide SMIE-based indentation (not enabled by default yet).
8086 (sh-mode-map): Don't bind electric keys.
8087 Use electric-pair-mode instead of skeleton-pair.
8088 (sh-assignment-regexp): Fit within 80 columns.
8089 (sh-indent-supported): Specify actual shell name instead of boolean.
8090 (sh--maybe-here-document): New fun, from sh-maybe-here-document.
8091 (sh-maybe-here-document): Use it. Make obsolete.
8092 (sh-electric-here-document-mode) New minor mode.
8093 (sh-mode): Use it. Don't set sh-indent-supported-here here.
8094 (sh-smie-sh-grammar, sh-smie--sh-operators, sh-smie--sh-operators-re)
8095 (sh-smie--sh-operators-back-re, sh-indent-after-continuation)
8096 (sh-smie-rc-grammar, sh-use-smie): New vars.
8097 (sh-smie--keyword-p, sh-smie--newline-semi-p, sh-smie--sh-keyword-p)
8098 (sh-smie-sh-forward-token, sh-smie--looking-back-at-continuation-p)
8099 (sh-smie-sh-backward-token, sh-smie--continuation-start-indent)
8100 (sh-smie-sh-rules, sh-smie-rc-rules, sh-smie--sh-keyword-in-p)
8101 (sh-smie--rc-after-special-arg-p, sh-smie-rc-backward-token)
8102 (sh-smie-sh-rules, sh-smie--rc-newline-semi-p): New functions.
8103 (sh-set-shell): Use smie-setup if requested.
8104
8105 * term.el (term-set-escape-char): Properly set term-escape-char.
8106 See http://stackoverflow.com/questions/10524656.
8107
8108 2012-05-10 Chong Yidong <cyd@gnu.org>
8109
8110 * ffap.el (ffap-url-unwrap-local): Make it work right (Bug#9131).
8111 Use url-generic-parse-url, and handle host names and Windows
8112 filenames properly.
8113 (ffap-url-unwrap-remote): Use url-generic-parse-url.
8114 (ffap-url-unwrap-remote): Accept list values, specifying a list of
8115 URL schemes to work on.
8116 (ffap--toggle-read-only): New function.
8117 (ffap-read-only, ffap-read-only-other-window)
8118 (ffap-read-only-other-frame): Use it.
8119 (ffap-fixup-url): Don't check ffap-ftp-regexp, since it is not
8120 necessary for ffap-url-unwrap-remote.
8121
8122 2012-05-10 Dave Abrahams <dave@boostpro.com>
8123
8124 * cus-start.el (create-lockfiles): Add it.
8125
8126 2012-05-09 Chong Yidong <cyd@gnu.org>
8127
8128 * net/browse-url.el (browse-url-url-encode-chars): Use upper-case.
8129 (browse-url-encode-url): Encode spaces and quotes (Bug#6300).
8130
8131 2012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
8132
8133 * shell.el (shell-completion-vars): Fix last change (bug#11348).
8134
8135 2012-05-09 Chong Yidong <cyd@gnu.org>
8136
8137 * ansi-color.el (ansi-color-process-output): Check for validity of
8138 comint-last-output-start before using it. This avoids a bad
8139 interaction with gdb-mi's input/output buffer.
8140
8141 2012-05-09 Glenn Morris <rgm@gnu.org>
8142
8143 * files.el (dir-locals-read-from-file):
8144 Mention dir-locals in any error message.
8145
8146 2012-05-09 Chong Yidong <cyd@gnu.org>
8147
8148 * emacs-lisp/package.el (package-built-in-p): Handle the `emacs'
8149 package (Bug#11410).
8150
8151 * emacs-lisp/package.el (package-buffer-info): Avoid putting local
8152 variables into description.
8153
8154 2012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
8155
8156 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list like
8157 shell-delimiter-argument-list (bug#11348).
8158 (shell-parse-pcomplete-arguments): Obey pcomplete-arg-quote-list.
8159
8160 2012-05-09 Juanma Barranquero <lekktu@gmail.com>
8161
8162 * textmodes/rst.el: Silence byte-compiler warnings.
8163 (rst-re-alist, rst-reset-section-caches): Move around.
8164 (rst-re): Use `characterp', not `char-valid-p'.
8165 (font-lock-beg, font-lock-end): Declare.
8166
8167 * progmodes/idlw-shell.el (specs): Remove reference to deleted
8168 variable `idlwave-shell-activate-alt-keybindings' and simplify.
8169
8170 * eshell/esh-cmd.el (eshell-debug-command): Fix typo in previous change.
8171
8172 2012-05-08 Glenn Morris <rgm@gnu.org>
8173
8174 * files.el (auto-mode-alist): Treat ".make" like ".mk".
8175
8176 2012-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
8177
8178 * vc/log-edit.el: Add GNU coding standards highlighting.
8179 (log-edit-font-lock-gnu-style)
8180 (log-edit-font-lock-gnu-keywords): New vars.
8181 (log-edit-font-lock-keywords): New fun.
8182 (log-edit-mode): Don't fold case in font-lock.
8183 (log-edit-font-lock-keywords): Do not assume case-folding.
8184
8185 * imenu.el: Misc cleanup. Make docstrings out of comments.
8186 Use lexical-binding.
8187 (imenu--index-alist, imenu--last-menubar-index-alist)
8188 (imenu-menubar-modified-tick): Use defvar-local.
8189 (imenu--split-menu): Remove unused var.
8190 (imenu--cleanup-seen): Declare as global.
8191 (imenu--cleanup): Use dolist.
8192
8193 * subr.el (defvar-local): Add debug spec and doc-string position.
8194
8195 2012-05-08 Glenn Morris <rgm@gnu.org>
8196
8197 * language/burmese.el, language/cham.el, language/czech.el:
8198 * language/english.el, language/georgian.el, language/greek.el:
8199 * language/japanese.el, language/khmer.el, language/korean.el:
8200 * language/lao.el, language/misc-lang.el, language/romanian.el:
8201 * language/sinhala.el, language/slovak.el, language/tai-viet.el:
8202 * language/thai.el, language/utf-8-lang.el:
8203 Remove no-byte-compile setting.
8204
8205 * play/zone.el (zone-pgm-stress): Don't pollute kill-ring. (Bug#11388)
8206
8207 2012-05-08 Aaron S. Hawley <aaron.s.hawley@gmail.com>
8208
8209 * progmodes/make-mode.el (makefile-browse):
8210 Remove unnecessary interactive. (Bug#11324)
8211
8212 2012-05-07 Glenn Morris <rgm@gnu.org>
8213
8214 * forms-d2.el, forms-pass.el: Move to ../etc/forms directory.
8215
8216 * international/mule.el (find-auto-coding): Make "unibyte: t" obsolete.
8217
8218 2012-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
8219
8220 * loadup.el: Preload newcomment.el.
8221 * newcomment.el: Move autoload-only code to toplevel.
8222
8223 * buff-menu.el (list-buffers--refresh): Mark `size' as right-align.
8224 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
8225 Handle new :right-align column property.
8226 (tabulated-list-print-col): Idem, plus use `display' text-property to
8227 try and preserve alignment for variable pitch fonts.
8228
8229 2012-05-07 Chong Yidong <cyd@gnu.org>
8230
8231 * emacs-lisp/tabulated-list.el: Add no-header-line alternative.
8232 (tabulated-list-use-header-line): New var.
8233 (tabulated-list-init-header): Use it.
8234 (tabulated-list-print-fake-header): New function.
8235 (tabulated-list-print): Use it.
8236 (tabulated-list-sort-button-map): Add non-header-line commands.
8237 (tabulated-list-init-header): Add column name property to basic
8238 labels as well.
8239 (tabulated-list-col-sort): Handle non-header-line button case.
8240 (tabulated-list--sort-by-column-name): Fix a corner case.
8241
8242 * buff-menu.el (list-buffers--refresh):
8243 Handle Buffer-menu-use-header-line.
8244
8245 2012-05-06 Chong Yidong <cyd@gnu.org>
8246
8247 * buff-menu.el: Convert to Tabulated List mode.
8248 (Buffer-menu-buffer+size-width): Make obsolete.
8249 (Buffer-menu-name-width, Buffer-menu-size-width): New variables.
8250 (Buffer-menu-mode-map): Inherit from tabulated-list-mode-map.
8251 (Buffer-menu-mode): Derive from tabulated-list-mode. Move command
8252 documentation into docstring of buffer-menu.
8253 (Buffer-menu-toggle-files-only): Add an informative message.
8254 (Buffer-menu-sort): Convert to alias for tabulated-list-sort.
8255 (Buffer-menu-buffer, Buffer-menu-beginning, Buffer-menu-mark)
8256 (Buffer-menu-unmark, Buffer-menu-backup-unmark)
8257 (Buffer-menu-delete, Buffer-menu-save, Buffer-menu-not-modified)
8258 (Buffer-menu-execute, Buffer-menu-select)
8259 (Buffer-menu-marked-buffers, Buffer-menu-toggle-read-only)
8260 (Buffer-menu-bury): Use Tabulated List machinery.
8261 (Buffer-menu-mouse-select, Buffer-menu-sort-by-column)
8262 (Buffer-menu-sort-button-map, Buffer-menu-make-sort-button):
8263 Delete.
8264 (list-buffers--refresh): New function.
8265 (list-buffers-noselect): Use it.
8266 (tabulated-list-entry-size->, Buffer-menu--pretty-name)
8267 (Buffer-menu--pretty-file-name): New helper functions.
8268
8269 * loadup.el: Preload tabulated-list.
8270
8271 * emacs-lisp/tabulated-list.el (tabulated-list-sort): Rename from
8272 tabulated-list-sort-column.
8273 (tabulated-list-init-header): Add the initial aligning space even
8274 if tabulated-list-padding is zero.
8275
8276 2012-05-06 Christopher Schmidt <christopher@ch.ristopher.com>
8277
8278 * emacs-lisp/cl-macs.el (cl-expr-contains): Handle cons cells
8279 whose cdr is not a cons cell correctly (bug#11038).
8280
8281 2012-05-06 Chong Yidong <cyd@gnu.org>
8282
8283 * emacs-lisp/tabulated-list.el (tabulated-list-format):
8284 Accept additional plist in column descriptors.
8285 (tabulated-list-init-header): Obey it.
8286 (tabulated-list-get-entry): New function.
8287 (tabulated-list-put-tag): Use it. Use string-width instead of
8288 length.
8289 (tabulated-list--column-number): New function.
8290 (tabulated-list-print): Use it.
8291 (tabulated-list-print-col): New function.
8292 Set `tabulated-list-column-name' property on each column's text.
8293 (tabulated-list-print-entry): Use it.
8294 (tabulated-list-delete-entry, tabulated-list-set-col):
8295 New functions.
8296 (tabulated-list-sort-column): New command (Bug#11337).
8297
8298 * buff-menu.el (list-buffers): Move C-x C-b binding from
8299 buff-menu.el to bindings.el.
8300
8301 * ebuff-menu.el (Electric-buffer-menu-undefined): Use the
8302 :advertised-binding feature.
8303
8304 2012-05-06 Troels Nielsen <bn.troels@gmail.com> (tiny change)
8305
8306 * progmodes/compile.el (compilation-internal-error-properties):
8307 Calculate start position correctly when end-col is set but
8308 end-line is not (Bug#11382).
8309
8310 2012-05-06 Wolfgang Jenkner <wjenkner@inode.at>
8311
8312 * man.el (Man-unindent): Use text-property-default-nonsticky to
8313 prevent untabify from inheriting face properties (Bug#11408).
8314
8315 2012-05-05 Stefan Merten <smerten@oekonux.de>
8316
8317 * textmodes/rst.el: Major merge with upstream development up to
8318 Docutils SVN r7399 / rst.el V1.2.1.
8319
8320 Clarify maintainership and authors.
8321
8322 (rst-extract-version, rst-cvs-header, rst-cvs-rev)
8323 (rst-cvs-timestamp, rst-svn-rev, rst-svn-timestamp)
8324 (rst-official-version, rst-official-cvs-rev, rst-version)
8325 (rst-package-emacs-version-alist): New functions and variables
8326 for version information.
8327
8328 (rst-bullets, rst-uri-schemes, rst-adornment-chars)
8329 (rst-max-inline-length, rst-re-alist-def, rst-re-alist)
8330 (rst-mode-syntax-table, rst-mode): New and corrected functions
8331 and variables representing reStructuredText features.
8332
8333 (rst-re): New function for reStructuredText regexes. Use in
8334 many places.
8335
8336 (rst-deprecated-keys, rst-call-deprecated, rst-define-key)
8337 (rst-mode-map): Rebind keys.
8338
8339 (rst-mode-lazy, rst-font-lock-keywords)
8340 (rst-font-lock-extend-region)
8341 (rst-font-lock-extend-region-internal)
8342 (rst-font-lock-extend-region-extend)
8343 (rst-font-lock-find-unindented-line-limit)
8344 (rst-font-lock-find-unindented-line-match)
8345 (rst-adornment-level, rst-font-lock-adornment-level)
8346 (rst-font-lock-adornment-match)
8347 (rst-font-lock-handle-adornment-pre-match-form)
8348 (rst-font-lock-handle-adornment-matcher): Major revision of
8349 font-locking. Integrate with other code. Use `jit-lock-mode'.
8350
8351 (rst-preferred-adornments, rst-adjust-hook)
8352 (rst-new-adornment-down, rst-preferred-bullets)
8353 (rst-preferred-bullets, rst-indent, rst-indent-width)
8354 (rst-indent-field, rst-indent-literal-normal)
8355 (rst-indent-literal-minimized, rst-indent-comment): Change,
8356 extend and improve customization.
8357
8358 (rst-line-homogeneous-p, rst-line-homogeneous-nodent-p)
8359 (rst-normalize-cursor-position, rst-get-decoration)
8360 (rst-straighten-deco-spacing, rst-re-bullets, rst-re-items)
8361 (rst-rstrip, rst-toc-insert-find-delete-contents)
8362 (rst-shift-fill-region, rst-compute-bullet-tabs)
8363 (rst-debug-print-tabs, rst-debug-mark-found)
8364 (rst-shift-region-guts, rst-shift-region-right)
8365 (rst-shift-region-left, rst-use-char-classes)
8366 (rst-font-lock-keywords-function)
8367 (rst-font-lock-indentation-point)
8368 (rst-font-lock-find-unindented-line-begin)
8369 (rst-font-lock-find-unindented-line-end)
8370 (rst-font-lock-find-unindented-line)
8371 (rst-font-lock-adornment-point, rst-font-lock-level)
8372 (rst-adornment-level-alist): Remove functions and variables.
8373
8374 (rst-compare-adornments, rst-get-adornment-match)
8375 (rst-suggest-new-adornment, rst-get-adornments-around)
8376 (rst-adornment-complete-p, rst-get-next-adornment)
8377 (rst-adjust-adornment, rst-display-adornments-hierarchy)
8378 (rst-straighten-adornments): Standardize function names to
8379 use "adornment" instead of "decoration". Correct callers.
8380 Similar standardizing in many places.
8381
8382 (rst-update-section, rst-adjust, rst-promote-region)
8383 (rst-enumerate-region, rst-bullet-list-region)
8384 (rst-repeat-last-character): Correct use of `interactive'.
8385
8386 (rst-classify-adornment, rst-find-all-adornments)
8387 (rst-get-hierarchy, rst-adjust-adornment, rst-toc-update)
8388 (rst-find-leftmost-column, rst-repeat-last-character):
8389 Refactor functions.
8390
8391 (rst-find-title-line, rst-reset-section-caches)
8392 (rst-get-adornments-around, rst-adjust-adornment-work)
8393 (rst-arabic-to-roman, rst-roman-to-arabic)
8394 (rst-insert-list-pos, rst-insert-list-new-item)
8395 (rst-insert-list-continue, rst-insert-list, rst-forward-line):
8396 New functions.
8397
8398 (rst-all-sections, rst-section-hierarchy)
8399 (rst-arabic-to-roman, rst-initial-enums, rst-initial-items):
8400 New variables.
8401
8402 (rst-toc-return-wincfg, rst-toc-quit-window): Use window
8403 configuration instead of only buffer. Change where necessary.
8404
8405 (rst-line-tabs, rst-compute-tabs, rst-indent-line)
8406 (rst-shift-region, rst-adaptive-fill): New functions for
8407 indentation and filling.
8408
8409 (rst-comment-line-break, rst-comment-indent)
8410 (rst-comment-insert-comment, rst-comment-region)
8411 (rst-uncomment-region): New functions for handling comments.
8412
8413 (rst-compile): Quote shell arguments.
8414
8415 (rst-compile-pdf-preview, rst-compile-slides-preview):
8416 Delete temporary files after use.
8417
8418 2012-05-05 Glenn Morris <rgm@gnu.org>
8419
8420 * calendar/cal-html.el: Optionally include holidays in the output.
8421 Suggested by Ed Reingold <reingold@emr.cs.iit.edu>.
8422 (cal-html-holidays): New option.
8423 (cal-html-css-default): Add holiday entry.
8424 (holiday-in-range): Autoload it.
8425 (cal-html-htmlify-entry): Add optional class argument.
8426 (cal-html-htmlify-list): Add optional holidays argument.
8427 (cal-html-insert-agenda-days): Include holidays in the output.
8428 (cal-html-one-month): Maybe include holidays.
8429
8430 * calendar/holidays.el (holiday-in-range):
8431 Move here from cal-tex-list-holidays.
8432 * calendar/cal-tex.el (cal-tex-list-holidays):
8433 Make it an obsolete alias for holiday-in-range. Update all callers.
8434
8435 2012-05-05 Chong Yidong <cyd@gnu.org>
8436
8437 * select.el (xselect--encode-string): Always use utf-8 for TEXT on
8438 Nextstep.
8439
8440 2012-05-05 Ransom Williams <auvergnerw@gmail.com> (tiny change)
8441
8442 * files.el (file-auto-mode-skip): New var.
8443 (set-auto-mode-1): Use it.
8444
8445 2012-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
8446
8447 * repeat.el: Use lexical-binding.
8448 (repeat-last-self-insert, repeat-num-input-keys-at-self-insert)
8449 (repeat-undo-count): Remove.
8450 (repeat):
8451 * progmodes/octave-mod.el (octave-abbrev-start):
8452 * progmodes/f90.el (f90-abbrev-start):
8453 * face-remap.el (text-scale-adjust):
8454 * kmacro.el (kmacro-call-macro): Use set-temporary-overlay-map.
8455
8456 * emacs-lisp/pcase.el (pcase--let*): New function.
8457 (pcase--expand, pcase-codegen, pcase--q1): Use it to reduce nesting
8458 a bit more.
8459 (pcase--split-pred): Be more clever about ruling out overlap between
8460 a predicate and some constant pattern.
8461 (pcase--q1): Use `null' instead of (eq foo nil).
8462
8463 * subr.el (setq-local, defvar-local): New macros.
8464 (kbd): Redefine as an alias.
8465 (with-selected-window): Leave unrelated frames alone.
8466 (set-temporary-overlay-map): New function.
8467
8468 2012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
8469
8470 * subr.el (user-error): New function.
8471 * window.el (switch-to-buffer):
8472 * vc/smerge-mode.el (smerge-resolve-function, smerge-resolve)
8473 (smerge-match-conflict):
8474 * simple.el (previous-matching-history-element)
8475 (next-matching-history-element, goto-history-element, undo-more)
8476 (undo-start):
8477 * progmodes/etags.el (visit-tags-table-buffer, find-tag-tag)
8478 (find-tag-noselect, find-tag-in-order, etags-goto-tag-location)
8479 (next-file, tags-loop-scan, list-tags, complete-tag):
8480 * progmodes/compile.el (compilation-loop):
8481 * mouse.el (mouse-minibuffer-check):
8482 * man.el (Man-bgproc-sentinel, Man-goto-page):
8483 * info.el (Info-find-node-2, Info-extract-pointer, Info-history-back)
8484 (Info-history-forward, Info-follow-reference, Info-menu)
8485 (Info-extract-menu-item, Info-extract-menu-counting)
8486 (Info-forward-node, Info-backward-node, Info-next-menu-item)
8487 (Info-last-menu-item, Info-next-preorder, Info-last-preorder)
8488 (Info-next-reference, Info-prev-reference, Info-index)
8489 (Info-index-next, Info-follow-nearest-node)
8490 (Info-copy-current-node-name):
8491 * imenu.el (imenu--make-index-alist)
8492 (imenu-default-create-index-function, imenu-add-to-menubar):
8493 * files.el (basic-save-buffer, recover-file):
8494 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
8495 * emacs-lisp/checkdoc.el (checkdoc-continue, checkdoc-comments)
8496 (checkdoc-message-text, checkdoc-defun):
8497 * dabbrev.el (dabbrev-completion, dabbrev--abbrev-at-point):
8498 * cus-edit.el (customize-changed-options, customize-rogue)
8499 (customize-saved, custom-variable-set, custom-variable-mark-to-save)
8500 (custom-variable-mark-to-reset-standard)
8501 (custom-variable-reset-backup, custom-face-mark-to-reset-standard)
8502 (custom-file):
8503 * completion.el (check-completion-length):
8504 * comint.el (comint-search-arg)
8505 (comint-previous-matching-input-string-position)
8506 (comint-previous-matching-input)
8507 (comint-replace-by-expanded-history-before-point, comint-send-input)
8508 (comint-copy-old-input, comint-backward-matching-input)
8509 (comint-goto-process-mark, comint-set-process-mark):
8510 * calendar/calendar.el (calendar-cursor-to-date): Use it.
8511 * bindings.el (debug-ignored-errors): Remove regexps, add `user-error'.
8512
8513 2012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
8514
8515 * dabbrev.el (dabbrev--ignore-case-p): New function.
8516 (dabbrev-completion, dabbrev-expand, dabbrev--substitute-expansion):
8517 Use it.
8518
8519 * files.el (automount-dir-prefix): Mark as obsolete.
8520
8521 2012-05-04 Glenn Morris <rgm@gnu.org>
8522
8523 * patcomp.el, play/bruce.el: Move to obsolete/.
8524
8525 2012-05-04 Paul Eggert <eggert@cs.ucla.edu>
8526
8527 Fix minor Y10k bugs.
8528 * arc-mode.el (archive-unixdate):
8529 * autoinsert.el (auto-insert-alist):
8530 * calc/calc-forms.el (math-this-year):
8531 * emacs-lisp/copyright.el (copyright-current-year)
8532 (copyright-update-year, copyright):
8533 * tar-mode.el (tar-clip-time-string):
8534 * time.el (display-time-update):
8535 Don't assume years have 4 digits.
8536
8537 2012-05-04 Chong Yidong <cyd@gnu.org>
8538
8539 * dos-w32.el (file-name-buffer-file-type-alist)
8540 (direct-print-region-use-command-dot-com):
8541 * ffap.el (ffap-menu-regexp):
8542 * find-file.el (ff-special-constructs):
8543 * follow.el (follow-debug):
8544 * forms.el (forms--debug):
8545 * iswitchb.el (iswitchb-all-frames):
8546 * ido.el (ido-all-frames):
8547 * emacs-lisp/timer.el (timer-max-repeats):
8548 * mail/feedmail.el (feedmail-mail-send-hook)
8549 (feedmail-mail-send-hook-queued):
8550 * mail/footnote.el (footnote-signature-separator):
8551 * mail/mailabbrev.el (mail-alias-separator-string)
8552 (mail-abbrev-mode-regexp):
8553 * mail/rmail.el (rmail-speedbar-match-folder-regexp):
8554 * progmodes/idlwave.el (idlwave-libinfo-file)
8555 (idlwave-default-completion-case-is-down)
8556 (idlwave-library-routines): Convert defvars to defcustoms.
8557
8558 * mail/rmail.el (rmail-decode-mime-charset):
8559 * progmodes/idlw-shell.el (idlwave-shell-print-expression-function)
8560 (idlwave-shell-fix-inserted-breaks)
8561 (idlwave-shell-activate-alt-keybindings)
8562 (idlwave-shell-use-breakpoint-glyph):
8563 * facemenu.el (facemenu-unlisted-faces): Delete obsolete vars.
8564
8565 2012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
8566
8567 * minibuffer.el (completion--twq-all): Beware completion-ignore-case.
8568
8569 2012-05-03 Wilson Snyder <wsnyder@wsnyder.org>
8570
8571 * progmodes/verilog-mode.el (font-lock-keywords):
8572 Fix mis-highligting auto. Reported by Craig Barner.
8573 (verilog-auto, verilog-auto-undef): Add AUTOUNDEF to remove
8574 defines from global name space. Reported by Dan Dever.
8575 (verilog-auto-reset, verilog-auto-reset-widths)
8576 (verilog-auto-tieoff): Support using unbased numbers for
8577 AUTORESET and AUTOTIEOFF.
8578 (verilog-submit-bug-report): Update variable list.
8579 (verilog-read-auto-params): Fix AUTOINPUT regexps containing
8580 parenthesis from not matching. Reported by Michael Rytting.
8581 (verilog-auto-template-lint): Fix hash error when linting modules
8582 with no used templates.
8583 (verilog-warn, verilog-warn-error)
8584 (verilog-warn-fatal): When non-interactive report multiple
8585 warnings before exiting. Suggested by Brad Dobbie.
8586 (verilog-auto-template-lint, verilog-auto-template-warn-unused)
8587 (verilog-read-auto-template): Add `verilog-auto-template-warn-unused'
8588 to report unused template errors. Reported by Brad Dobbie.
8589 (verilog-read-decls): Fix AUTOWIRE etc on supply0, supply1 type
8590 nets, bug438. Reported by Vns Blore.
8591 (verilog-auto-inout-module, verilog-auto-reg)
8592 (verilog-read-decls, verilog-read-sub-decls-sig)
8593 (verilog-signals-edit-wire-reg, verilog-signals-with):
8594 Fix passing of Verilog data types in ANSI input/output ports
8595 such as "output logic" into the AUTOs. Special case "wire" and
8596 "reg" for backwards compatibility presuming Verilog 2001.
8597 (verilog-auto-ascii-enum): Add "auto enum" as alias.
8598 (verilog-preprocess): Fix replication of preprocess output.
8599 Reported by Brad Dobbie.
8600 (verilog-auto-inst-interfaced-ports):
8601 Create verilog-auto-inst-interfaced-ports, bug429.
8602 Reported by Julian Gorfajn.
8603 (verilog-after-save-font-hook)
8604 (verilog-before-save-font-hook): New variable.
8605 (verilog-modi-cache-results, verilog-save-font-mod-hooked)
8606 (verilog-save-font-mods): Wrap disabling fontification, reported
8607 by David Rogoff.
8608 (verilog-do-indent, verilog-pretty-declarations-auto)
8609 (verilog-sk-def-reg): Fix obeying `verilog-auto-lineup', bug305.
8610 Reported by Pierre-David Pfister.
8611 (verilog-set-auto-endcomments): Fix endtask auto comments outside
8612 of class declarations, bug292. Reported by Kevin Heilman.
8613 (verilog-read-decls): Fix 'parameter type' not appearing in
8614 AUTOINSTPARAM, bug340. Reported by Jonathan Greenlaw.
8615 (verilog-auto-logic): Fix when AUTOLOGIC present to properly do
8616 AUTOINPUTs, bug411. Reported by Jonathan Greenlaw.
8617 (verilog-read-auto-lisp): Avoid syntax-ppss warning on AUTOLISP.
8618 Reported by David Kravitz.
8619
8620 2012-05-03 Michael McNamara <mac@mail.brushroad.com>
8621
8622 * progmodes/verilog-mode.el (verilog-pretty-expr): Don't line up
8623 assignment with tests in ifs and for loops.
8624 (verilog-extended-complete-re, verilog-complete-reg): Change so
8625 that DPI inport functions don't look like fuction declarations.
8626 (verilog-pretty-expr): Don't line up assignment
8627 operations to the test and increment in if and for loops
8628 (verilog-extended-complete-re, verilog-complete-reg): Change so
8629 that DPI inport functions don't look like fuction declarations.
8630
8631 2012-05-03 Kenichi Handa <handa@m17n.org>
8632
8633 * mail/rmailmm.el (rmail-show-mime): Catch an error caused by text
8634 decoding, and show a warning message without signaling an error
8635 (Bug#11282).
8636
8637 2012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
8638
8639 * emacs-lisp/bytecomp.el
8640 (byte-compile-file-form-custom-declare-variable): Compile all elements,
8641 since cconv.el might have introduced :fun-body, internal-make-closure,
8642 and friends for bytecomp to handle (bug#11391).
8643 * custom.el (defcustom): Avoid ((λ ..) ..).
8644
8645 2012-05-02 Stefan Monnier <monnier@iro.umontreal.ca>
8646
8647 * subr.el (read-passwd): Better clean after ourselves (bug#11392).
8648
8649 2012-05-02 Juanma Barranquero <lekktu@gmail.com>
8650
8651 * notifications.el (dbus-debug):
8652 * term/linux.el (gpm-mouse-enable):
8653 * term/screen.el (xterm-register-default-colors): Declare.
8654
8655 2012-05-02 Chong Yidong <cyd@gnu.org>
8656
8657 * cus-start.el (gc-cons-percentage, exec-suffixes)
8658 (dos-display-scancodes, dos-hyper-key, dos-super-key)
8659 (dos-keypad-mode, debug-on-signal, vertical-centering-font-regexp)
8660 (make-cursor-line-fully-visible, void-text-area-pointer)
8661 (font-list-limit): Add customization data.
8662
8663 * allout.el (allout-exposure-change-functions)
8664 (allout-structure-added-functions)
8665 (allout-structure-deleted-functions)
8666 (allout-structure-shifted-functions): Rename abnormal hooks from
8667 *-hook, and convert to defcustoms.
8668 (allout-after-copy-or-kill-hook, allout-post-undo-hook):
8669 Convert to defcustoms.
8670 (allout-mode-hook, allout-mode-deactivate-hook): Doc fix.
8671
8672 * allout-widgets.el: Hook callers changed.
8673
8674 2012-05-02 Eli Zaretskii <eliz@gnu.org>
8675
8676 * mail/rmail.el (rmail-yank-current-message): Use the encoding of
8677 the yanked message in preference to the default value of
8678 buffer-file-coding-system.
8679
8680 2012-05-02 Martin Rudalics <rudalics@gmx.at>
8681
8682 * window.el (display-buffer--action-function-custom-type):
8683 Fix entry.
8684
8685 2012-05-02 Alan Mackenzie <acm@muc.de>
8686
8687 * progmodes/cc-defs.el (c-version): Update to 5.32.3.
8688
8689 2012-05-01 Glenn Morris <rgm@gnu.org>
8690
8691 * cus-start.el (suggest-key-bindings): Remove, now it is in Lisp.
8692
8693 * eshell/esh-cmd.el (eshell-debug-command): Doc fix. Add :set.
8694
8695 * cus-edit.el (custom-variable-documentation): Simplify with format.
8696
8697 2012-05-01 Aaron S. Hawley <aaron.s.hawley@gmail.com>
8698 Stefan Monnier <monnier@iro.umontreal.ca>
8699
8700 * simple.el (suggest-key-bindings, execute-extended-command):
8701 Move from keyboard.c.
8702
8703 2012-05-01 Chong Yidong <cyd@gnu.org>
8704
8705 * follow.el: Eliminate advice.
8706 (set-process-filter, process-filter, sit-for): Advice deleted.
8707 (follow-mode-off-hook): Obsolete hook removed.
8708 (follow-avoid-tail-recenter-p, follow-process-filter-alist):
8709 Vars deleted.
8710 (follow-auto): Use a :set function.
8711 (follow-mode): Rewritten. Don't advise process filters.
8712 (follow-switch-to-current-buffer-all, follow-scroll-up)
8713 (follow-scroll-down): Assume follow-mode is bound.
8714 (follow-comint-scroll-to-bottom)
8715 (follow-align-compilation-windows): New functions.
8716 (follow--window-sorter): New function.
8717 (follow-all-followers): Use it to explicitly sort windows by their
8718 positions; don't make assumptions about next-window order.
8719 (follow-windows-start-end, follow-delete-other-windows-and-split)
8720 (follow-calc-win-start): Doc fix.
8721 (follow-windows-aligned-p, follow-select-if-visible): Don't call
8722 vertical-motion unnecessarily.
8723 (follow-adjust-window): New function.
8724 (follow-post-command-hook): Use it.
8725 (follow-call-set-process-filter, follow-call-process-filter)
8726 (follow-intercept-process-output, follow-tidy-process-filter-alist)
8727 (follow-stop-intercept-process-output, follow-generic-filter):
8728 Functions deleted.
8729 (follow-scroll-bar-toolkit-scroll, follow-scroll-bar-drag)
8730 (follow-scroll-bar-scroll-up, follow-scroll-bar-scroll-down):
8731 New functions, replacing advice on scroll-bar-* commands.
8732 (follow-mwheel-scroll): New function (Bug#4112).
8733
8734 * comint.el (comint-adjust-point): New function.
8735 (comint-postoutput-scroll-to-bottom): Use it.
8736 Call follow-comint-scroll-to-bottom for Follow mode buffers.
8737
8738 2012-05-01 Glenn Morris <rgm@gnu.org>
8739
8740 * term/AT386.el, term/apollo.el, term/bobcat.el, term/cygwin.el:
8741 * term/iris-ansi.el, term/linux.el, term/lk201.el, term/news.el:
8742 * term/screen.el, term/vt102.el, term/vt125.el, term/vt200.el:
8743 * term/vt201.el, term/vt220.el, term/vt240.el, term/vt300.el:
8744 * term/vt320.el, term/vt400.el, term/vt420.el, term/wyse50.el:
8745 Remove no-byte-compile setting.
8746
8747 2012-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
8748
8749 * minibuffer.el (completion-table-with-quoting): Fix compatibility
8750 all-completions code to not return a number in the last cdr.
8751
8752 2012-04-30 Leo Liu <sdl.web@gmail.com>
8753
8754 * ibuf-ext.el (ibuffer-diff-buffer-with-file-1): Avoid buffer
8755 read-only error.
8756
8757 2012-04-29 Chong Yidong <cyd@gnu.org>
8758
8759 * follow.el (follow-calc-win-end): Rewrite to handle partial
8760 screen lines correctly (Bug#8390).
8761 (follow-avoid-tail-recenter): Minor cleanup.
8762
8763 2012-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
8764
8765 Avoid the obsolete `assoc' package.
8766 * speedbar.el (speedbar-refresh): Avoid adelete.
8767 (speedbar-file-lists): Simplify and avoid aput.
8768 * man.el (Man--sections, Man--refpages): New vars, replacing
8769 Man-sections-alist and Man-refpages-alist.
8770 (Man-build-section-alist, Man-build-references-alist):
8771 Use them; avoid aput.
8772 (Man--last-section, Man--last-refpage): New vars.
8773 (Man-follow-manual-reference): Use them.
8774 Use the `default' arg of completing-read.
8775 (Man-goto-section): Idem. Move prompt to the `interactive' spec.
8776
8777 2012-04-27 Chong Yidong <cyd@gnu.org>
8778
8779 * vc/diff.el (diff-sentinel): Go to bob (Bug#10259).
8780
8781 * startup.el (x-apply-session-resources): New function.
8782
8783 * term/ns-win.el (ns-initialize-window-system):
8784 * term/w32-win.el (w32-initialize-window-system):
8785 * term/x-win.el (x-initialize-window-system): Use it to properly
8786 set menu-bar-mode and other vars from X resources, even if the
8787 initial frame is not a window-system frame (Bug#2299).
8788
8789 * subr.el (read-key): Avoid running filter function when setting
8790 up temporary tool bar entries (Bug#9922).
8791
8792 2012-04-27 Andreas Schwab <schwab@linux-m68k.org>
8793
8794 * vc/vc-git.el (vc-git-state): Fix regexp matching diff output.
8795 (Bug#11344)
8796
8797 2012-04-27 Chong Yidong <cyd@gnu.org>
8798
8799 * select.el (xselect--encode-string): New function, split from
8800 xselect-convert-to-string.
8801 (xselect-convert-to-string): Use it.
8802 (xselect-convert-to-filename, xselect-convert-to-os)
8803 (xselect-convert-to-host, xselect-convert-to-user): Ensure that
8804 returned strings are properly encoded (Bug#11315).
8805
8806 2012-04-27 Chong Yidong <cyd@gnu.org>
8807
8808 * simple.el (delete-active-region): Move to killing custom group.
8809
8810 2012-04-27 Andreas Schwab <schwab@linux-m68k.org>
8811
8812 * progmodes/which-func.el (which-func-current): Quote %
8813 characters for mode-line processing.
8814
8815 2012-04-27 Chong Yidong <cyd@gnu.org>
8816
8817 * xml.el (xml-parse-region, xml-parse-tag): Avoid errors due to
8818 reaching eob (Bug#11286).
8819
8820 2012-04-27 Eli Zaretskii <eliz@gnu.org>
8821
8822 * progmodes/gdb-mi.el (gdb-control-level): New variable.
8823 (gdb): Make it buffer-local and init to zero.
8824 (gdb-control-commands-regexp): New variable.
8825 (gdb-send): Don't wrap in "-interpreter-exec console" if
8826 gdb-control-level is positive. Increment gdb-control-level
8827 whenever the command matches gdb-control-commands-regexp, and
8828 decrement it each time the command is "end". (Bug#11279)
8829
8830 2012-04-27 Martin Rudalics <rudalics@gmx.at>
8831
8832 * window.el (adjust-window-trailing-edge, enlarge-window)
8833 (shrink-window, window-resize):
8834 * mouse.el (mouse-drag-line): Fix resizing of minibuffer
8835 windows (Bug#11276).
8836
8837 2012-04-27 Chong Yidong <cyd@gnu.org>
8838
8839 * progmodes/pascal.el (pascal--extra-indent): Rename from ind, to
8840 fix "missing prefix" warning. All callers changed.
8841
8842 2012-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
8843
8844 * emacs-lisp/assoc.el: Move to obsolete/.
8845
8846 2012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
8847
8848 * emacs-lisp/assoc.el (aget): Fix dynamic-scoping issue (bug#11352).
8849
8850 * term/ns-win.el (ns-define-service):
8851 * progmodes/pascal.el (pascal-goto-defun):
8852 * progmodes/js.el (js--read-tab):
8853 * progmodes/etags.el (tags-lazy-completion-table):
8854 * emacs-lisp/syntax.el (syntax-propertize-via-font-lock):
8855 * emacs-lisp/ewoc.el (ewoc--wrap):
8856 * emacs-lisp/assoc.el (aput, adelete, amake):
8857 * doc-view.el (doc-view-convert-current-doc):
8858 * vc/diff.el (diff-no-select): Replace lexical-let by lexical-binding.
8859
8860 2012-04-26 Chong Yidong <cyd@gnu.org>
8861
8862 * image.el (image-type-from-buffer): Only return supported image
8863 type (Bug#9045).
8864
8865 * vc/diff-mode.el (diff-beginning-of-hunk): Return a meaningful
8866 value, for symmetry with diff-end-of-hunk.
8867 (diff-split-hunk, diff-find-source-location)
8868 (diff-ignore-whitespace-hunk, diff-refine-hunk): Use it.
8869 (diff-bounds-of-hunk, diff-bounds-of-file): New functions.
8870 (diff-restrict-view, diff-hunk-kill, diff-file-kill): Use them to
8871 compute the relevant hunk or file properly (Bug#6005).
8872 (diff-file-junk-re): Add bzr's "modified file" tag (Bug#6041).
8873
8874 2012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
8875
8876 * vc/vc-mtn.el:
8877 * vc/vc-hg.el:
8878 * vc/vc-git.el:
8879 * vc/vc-dir.el:
8880 * vc/vc-cvs.el:
8881 * vc/vc-bzr.el:
8882 * vc/vc-arch.el:
8883 * vc/vc.el: Replace lexical-let by lexical-binding.
8884 * minibuffer.el (lazy-completion-table): Avoid ((λ ...) ...).
8885 * emacs-lisp/cl-macs.el (lexical-let): Fix use in lexical-binding.
8886 * emacs-lisp/cconv.el (cconv-analyse-form): Warn use of ((λ ...) ...).
8887
8888 2012-04-26 Chong Yidong <cyd@gnu.org>
8889
8890 * vc/diff-mode.el (diff-undo): New command (Bug#5302).
8891 (diff-mode-shared-map): Bind it to / and [remap undo].
8892
8893 * vc/ediff-wind.el (ediff-setup-windows-default): New function.
8894 (ediff-window-setup-function): Use it as the default, to set up
8895 windows based on whether the current frame is graphical (Bug#2138).
8896 (ediff-choose-window-setup-function-automatically): Make obsolete.
8897
8898 * vc/ediff-init.el: Always define ediff-pixel-width/height.
8899
8900 2012-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
8901
8902 * ffap.el: Remove old code for obsolete package.
8903 (ffap-complete-as-file-p): Remove.
8904
8905 Use completion-table-with-quoting for comint and pcomplete.
8906 * comint.el (comint--unquote&requote-argument)
8907 (comint--unquote-argument, comint--requote-argument): New functions.
8908 (comint--unquote&expand-filename, comint-unquote-filename): Obsolete.
8909 (comint-quote-filename): Use regexp-opt-charset.
8910 (comint--common-suffix, comint--common-quoted-suffix)
8911 (comint--table-subvert): Remove.
8912 (comint-unquote-function, comint-requote-function): New vars.
8913 (comint--complete-file-name-data): Use them with
8914 completion-table-with-quoting.
8915 * pcmpl-unix.el (pcomplete/scp): Use completion-table-subvert.
8916 * pcomplete.el (pcomplete-arg-quote-list)
8917 (pcomplete-quote-arg-hook, pcomplete-quote-argument): Obsolete.
8918 (pcomplete-unquote-argument-function): Default to non-nil.
8919 (pcomplete-unquote-argument): Simplify.
8920 (pcomplete--common-quoted-suffix): Remove.
8921 (pcomplete-requote-argument-function): New var.
8922 (pcomplete--common-suffix): New function.
8923 (pcomplete-completions-at-point): Use completion-table-with-quoting
8924 and completion-table-subvert.
8925
8926 * minibuffer.el: Use completion-table-with-quoting for read-file-name.
8927 (minibuffer--double-dollars): Preserve properties.
8928 (completion--sifn-requote): New function.
8929 (completion--file-name-table): Rewrite using it and c-t-with-quoting.
8930
8931 * minibuffer.el: Add support for completion of quoted/escaped data.
8932 (completion-table-with-quoting, completion-table-subvert): New funs.
8933 (completion--twq-try, completion--twq-all): New functions.
8934 (completion--nth-completion): New function.
8935 (completion-try-completion, completion-all-completions): Use it.
8936
8937 2012-04-25 Leo Liu <sdl.web@gmail.com>
8938
8939 * progmodes/python.el (python-pdbtrack-get-source-buffer):
8940 Use compilation-message if available to find real filename.
8941
8942 2012-04-25 Chong Yidong <cyd@gnu.org>
8943
8944 * vc/diff-mode.el (diff-setup-whitespace): New function.
8945 (diff-mode): Use it.
8946
8947 * vc/diff.el (diff-sentinel):
8948 * vc/vc.el (vc-diff-finish): Call diff-setup-whitespace to assign
8949 Whitespace mode variables based on diff style (Bug#8612).
8950
8951 2012-04-25 Leo Liu <sdl.web@gmail.com>
8952
8953 * progmodes/python.el (python-send-region): Add suffix .py to the
8954 temp file.
8955
8956 * files.el (auto-mode-alist): Use javascript-mode instead.
8957
8958 2012-04-25 Alex Harsanyi <AlexHarsanyi@gmail.com>
8959
8960 Sync with soap-client repository. Support SOAP simpleType (Bug#10331).
8961
8962 * net/soap-client.el (soap-resolve-references-for-sequence-type)
8963 (soap-resolve-references-for-array-type): Hack to prevent self
8964 references, see Bug#9.
8965 (soap-parse-envelope): Report the contents of the 'detail' node
8966 when receiving a fault reply.
8967 (soap-parse-envelope): Report the contents of the entire 'detail' node.
8968
8969 * net/soap-inspect.el (soap-sample-value-for-simple-type)
8970 (soap-inspect-simple-type): New function.
8971
8972 * net/soap-client.el (soap-simple-type): New struct.
8973 (soap-default-xsd-types, soap-default-soapenc-types)
8974 (soap-decode-basic-type, soap-encode-basic-type):
8975 support unsignedInt and double basic types.
8976 (soap-resolve-references-for-simple-type)
8977 (soap-parse-simple-type, soap-encode-simple-type): New function.
8978 (soap-parse-schema): Parse xsd:simpleType declarations.
8979
8980 * net/soap-client.el (soap-default-xsd-types)
8981 (soap-default-soapenc-types): Add integer, byte and anyURI types.
8982 (soap-parse-complex-type-complex-content): Use `soap-wk2l' to find
8983 the local name of "soapenc:Array".
8984 (soap-decode-basic-type, soap-encode-basic-type): Support encoding
8985 decoding integer, byte and anyURI xsd types.
8986
8987 2012-04-25 Chong Yidong <cyd@gnu.org>
8988
8989 * cus-edit.el (custom-buffer-create-internal): Update header text.
8990
8991 2012-04-25 Eli Zaretskii <eliz@gnu.org>
8992
8993 * progmodes/gdb-mi.el (gdb-init-1): Condition Windows-specific
8994 settings on 'system-type', not on 'window-system'. On MS-Windows,
8995 set interactive-mode on in GDB.
8996
8997 2012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
8998
8999 * progmodes/ruby-mode.el: Simplify last change, and cleanup code.
9000 (ruby-syntax-propertize-regexp): Remove.
9001 (ruby-syntax-propertize-function): Split regexp into chunks.
9002 Match following code directly.
9003
9004 2012-04-24 Dmitry Gutov <dgutov@yandex.ru>
9005
9006 * progmodes/ruby-mode.el: Handle Cucumber defs (bug#6286).
9007 (ruby-syntax-propertize-regexp): New function.
9008 (ruby-syntax-propertize-function): Use it to handle regexp not preceded
9009 by a special keyword.
9010
9011 * progmodes/ruby-mode.el: Handle general delimited literals (bug#6286).
9012 (ruby-syntax-general-delimiters-goto-beg)
9013 (ruby-syntax-propertize-general-delimiters): New functions.
9014 (ruby-syntax-propertize-function): Use them to handle GDL.
9015 (ruby-font-lock-keywords): Move old handling of GDL...
9016 (ruby-font-lock-syntactic-keywords): .. to here.
9017 (ruby-calculate-indent): Adjust indentation for GDL.
9018
9019 2012-04-24 Michael Albinus <michael.albinus@gmx.de>
9020
9021 * notifications.el (top): Remove unneeded declarations.
9022 (notifications-specification-version): Change to "1.2".
9023 (notifications-interface, notifications-notify-method)
9024 (notifications-close-notification-method): Fix docstring.
9025 (notifications-get-capabilities-method): New defconst.
9026 (notifications-notify): Add :action-items, :resident and
9027 :transient hints. Change "image_data" to "image-data" and
9028 "image_path" to "image-path".
9029 (notifications-get-capabilities): New defun.
9030
9031 2012-04-24 Leo Liu <sdl.web@gmail.com>
9032
9033 * progmodes/python.el: Move hideshow setup to the end.
9034
9035 2012-04-24 Martin Rudalics <rudalics@gmx.at>
9036
9037 * window.el (handle-select-window): Clear echo area since this is
9038 no more done by read_char (Bug#11304).
9039
9040 2012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
9041
9042 * ibuffer.el (ibuffer-mode-map): Bind `/ m' to filter-used-mode
9043 and `/ M' to filter-derived-mode.
9044 * ibuf-ext.el (ibuffer-list-buffer-modes): Simplify; avoid add-to-list.
9045 (ibuffer-filter-by-mode, ibuffer-filter-by-used-mode)
9046 (ibuffer-mark-by-mode): Use default rather than initial-input.
9047 (ibuffer-filter-by-derived-mode): Autoload and require-match.
9048
9049 2012-04-24 Ivan Andrus <darthandrus@gmail.com> (tiny change)
9050
9051 * ibuf-ext.el (ibuffer-list-buffer-modes): Add `include-parents' arg.
9052 (ibuffer-filter-by-derived-mode): New filter.
9053 * ibuffer.el (ibuffer-mode-map): Bind to `/ w'.
9054
9055 2012-04-23 Andreas Politz <politza@fh-trier.de>
9056
9057 * subr.el (accept-change-group): Fix arg usage (Bug#6095).
9058
9059 2012-04-23 Chong Yidong <cyd@gnu.org>
9060
9061 * cus-edit.el (customize-apropos, customize-apropos-options):
9062 Disable matching of non-option variables (Bug#11176).
9063 (customize-option, customize-option-other-window)
9064 (customize-changed-options): Doc fix.
9065 (customize-apropos-options, customize-apropos-faces)
9066 (customize-apropos-groups): Use apropos-read-pattern (Bug#11124).
9067
9068 * apropos.el (apropos-read-pattern): Make prompt less cryptic.
9069 Fix word list splitting (Bug#11132).
9070 (apropos-symbol, apropos-keybinding, apropos-label)
9071 (apropos-property, apropos-function-button)
9072 (apropos-variable-button, apropos-misc-button): New faces.
9073 (apropos-symbol-face, apropos-keybinding-face)
9074 (apropos-label-face, apropos-property-face, apropos-match-face):
9075 Variables removed (Bug#8396).
9076 (apropos-library-button, apropos-format-plist, apropos-print)
9077 (apropos-print-doc, apropos-describe-plist): Callers changed.
9078
9079 2012-04-23 Michael Albinus <michael.albinus@gmx.de>
9080
9081 * net/xesam.el (xesam-mode-map): Use let-bound map in
9082 initialization. (Bug#11292)
9083
9084 2012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
9085
9086 Preserve ispell session localwords when switching back to
9087 original buffer.
9088
9089 * textmodes/ispell.el (ispell-buffer-session-localwords):
9090 New buffer-local variable to hold buffer session localwords.
9091 (ispell-kill-ispell): Add option 'clear to delete session
9092 localwords.
9093 (ispell-command-loop, ispell-change-dictionary)
9094 (ispell-buffer-local-words): Preserve session localwords when
9095 needed.
9096
9097 * textmodes/flyspell.el (flyspell-process-localwords)
9098 (flyspell-do-correct): Preserve session localwords when needed.
9099
9100 2012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
9101
9102 * textmodes/ispell.el (ispell-insert-word) Remove unneeded function
9103 using obsolete `translation-table-for-input'.
9104 (ispell-word, ispell-process-line, ispell-complete-word):
9105 Use plain `insert' instead of removed `ispell-insert-word'.
9106
9107 2012-04-22 Chong Yidong <cyd@gnu.org>
9108
9109 * cus-edit.el (custom-variable-menu)
9110 (custom-variable-reset-saved, custom-face-menu)
9111 (custom-face-reset-saved): If there is no saved value, make the
9112 "reset-saved" operation bring back the default (Bug#9509).
9113 (custom-face-state): Properly detect themed faces.
9114
9115 * faces.el (face-spec-set): Stop supporting deprecated form of
9116 third arg.
9117
9118 2012-04-22 Michael Albinus <michael.albinus@gmx.de>
9119
9120 Move functions from C to Lisp. Make non-blocking method calls
9121 the default. Implement further D-Bus standard interfaces.
9122
9123 * net/dbus.el (dbus-message-internal): Declare function.
9124 Remove unneeded function declarations.
9125 (defvar dbus-message-type-invalid, dbus-message-type-method-call)
9126 (dbus-message-type-method-return, dbus-message-type-error)
9127 (dbus-message-type-signal): Declare variables. Remove local
9128 definitions.
9129 (dbus-interface-dbus, dbus-interface-peer)
9130 (dbus-interface-introspectable, dbus-interface-properties)
9131 (dbus-path-emacs, dbus-interface-emacs, dbus-return-values-table):
9132 Adapt docstring.
9133 (dbus-interface-objectmanager): New defconst.
9134 (dbus-call-method, dbus-call-method-asynchronously)
9135 (dbus-send-signal, dbus-method-return-internal)
9136 (dbus-method-error-internal, dbus-register-service)
9137 (dbus-register-signal, dbus-register-method): New defuns, moved
9138 from dbusbind.c
9139 (dbus-call-method-handler, dbus-setenv)
9140 (dbus-get-all-managed-objects, dbus-managed-objects-handler):
9141 New defuns.
9142 (dbus-call-method-non-blocking): Make it an obsolete function.
9143 (dbus-unregister-object, dbus-unregister-service)
9144 (dbus-handle-event, dbus-register-property)
9145 (dbus-property-handler): Obey the new structure of
9146 `bus-registered-objects'.
9147 (dbus-introspect): Use `dbus-call-method'. Use a timeout.
9148 (dbus-get-property, dbus-set-property, dbus-get-all-properties):
9149 Use `dbus-call-method'.
9150
9151 2012-04-22 Chong Yidong <cyd@gnu.org>
9152
9153 * cus-edit.el (custom-commands, custom-reset-menu)
9154 (Custom-reset-standard): Tweak labels.
9155 (custom-reset-button-menu): Change default to t.
9156 (custom-buffer-create-internal): For the custom-reset-button-menu
9157 case, put the revert button first.
9158 (custom-group-subtitle): New face.
9159 (custom-group-value-create): Align docstring to a specific column.
9160
9161 * wid-edit.el (widget-documentation-link-add): Don't handle
9162 indentation in this function.
9163 (widget-documentation-string-indent-to): New function.
9164 (widget-documentation-string-value-create): Use it.
9165
9166 * autorevert.el (auto-revert):
9167 * epg-config.el (epg):
9168 * ibuffer.el (ibuffer):
9169 * mpc.el (mpc):
9170 * ses.el (ses):
9171 * eshell/eshell.el (eshell):
9172 * net/ange-ftp.el (ange-ftp):
9173 * progmodes/ebnf2ps.el (postscript):
9174 * progmodes/flymake.el (flymake):
9175 * progmodes/prolog.el (prolog):
9176 * progmodes/verilog-mode.el (verilog-mode):
9177 * progmodes/which-func.el (which-func):
9178 * term/xterm.el (xterm):
9179 * textmodes/picture.el (picture):
9180 * textmodes/tildify.el (tildify):
9181 * vc/ediff.el (ediff): Tweak defgroups to improve presentation in
9182 customization buffers.
9183
9184 2012-04-22 Alan Mackenzie <acm@muc.de>
9185
9186 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
9187 Adding a ) can hide the resulting (..) from searches. Fix it.
9188 Bound the backward search to the position of the existing (.
9189
9190 2012-04-21 Juanma Barranquero <lekktu@gmail.com>
9191
9192 * progmodes/verilog-mode.el (verilog-mode): Check whether
9193 which-func-modes is t before adding verilog-mode.
9194 Reported by Andy Moreton <andrewjmoreton@gmail.com>.
9195
9196 2012-04-21 Leo Liu <sdl.web@gmail.com>
9197
9198 * net/rcirc.el (rcirc): Avoid error when process-contact returns t.
9199
9200 2012-04-21 Michael Vehrs <Michael.Burschik@gmx.de>
9201
9202 * woman.el: Add support for "T{ T}" tbl syntax, and fix the
9203 filling of the last column of a table (Bug#5635).
9204 (woman-find-next-control-line): New arg, specifying an additional
9205 regexp component for the control line.
9206 (woman2-roff-buffer): Use it.
9207 (woman-break-table): New function.
9208 (woman2-TS): Use it.
9209
9210 2012-04-21 Chong Yidong <cyd@gnu.org>
9211
9212 * woman.el (woman-set-buffer-display-table, woman-decode-region)
9213 (woman-horizontal-escapes, woman-negative-vertical-space)
9214 (woman-tab-to-tab-stop, woman2-fc, woman2-TS)
9215 (WoMan-warn-ignored): Use ?\s instead of ?\ .
9216
9217 2012-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
9218
9219 * minibuffer.el (completion-file-name-table): Complete user names.
9220
9221 2012-04-20 Leo Liu <sdl.web@gmail.com>
9222
9223 * font-lock.el (lisp-font-lock-keywords-2): Add pcase, pcase-let
9224 and pcase-let*.
9225
9226 2012-04-20 Chong Yidong <cyd@gnu.org>
9227
9228 * server.el (server-execute): Respect initial-buffer-choice if it
9229 is a string and there are no files to open (Bug#2825).
9230 (server-create-window-system-frame, server-create-tty-frame):
9231 Don't switch buffers here.
9232 (server-process-filter): Only try to open a window system frame if
9233 compiled with graphical support (Bug#8314).
9234
9235 2012-04-20 Dan Nicolaescu <dann@gnu.org>
9236
9237 * battery.el (battery-echo-area-format): Display remaining time
9238 for sysfs backend too (Bug#11269).
9239 (battery-linux-sysfs): Fix conditional for the charge.
9240
9241 2012-04-20 Chong Yidong <cyd@gnu.org>
9242
9243 * progmodes/gdb-mi.el (gdb): Revert previous change.
9244 (gdb-inferior-io--init-proc): New function.
9245 (gdb-init-1): Use it.
9246 (gdb-inferior-io-sentinel): New sentinel for the gdb-inferior pty,
9247 responsible for allocating a new pty and hooking it to gdb when
9248 the old pty gets an EIO due to process exit.
9249 (gdb-delchar-or-quit): New command. Bind it in gdb-mi buffers.
9250 (gdb-tooltip-print): Don't use obsolete tooltip-use-echo-area.
9251 (gdb-inferior-io--maybe-delete-pty): Move into gdb-reset.
9252
9253 2012-04-20 Eli Zaretskii <eliz@gnu.org>
9254
9255 * window.el (window-min-size, window-sizable, window-min-delta)
9256 (window-max-delta, window--resizable, window-resizable)
9257 (window-total-size, window-full-height-p, window-full-width-p)
9258 (window-in-direction, window--resize-mini-window, window-resize)
9259 (window--resize-child-windows-normal)
9260 (window--resize-child-windows, window--resize-siblings)
9261 (window--resize-this-window, adjust-window-trailing-edge)
9262 (enlarge-window, shrink-window): Doc fixes.
9263
9264 2012-04-20 Chong Yidong <cyd@gnu.org>
9265
9266 * progmodes/gdb-mi.el (gdb-inferior-io--maybe-delete-pty):
9267 New function to call delete-process on the gdb-inferior buffer's pty.
9268 (gdb-reset): Use it, instead of relying on kill-buffer to kill the
9269 pty process (Bug#11273).
9270 (gdb-update): New arg to suppress talking to the gdb process.
9271 (gdb-done-or-error): Use it.
9272 (gdb-stopped-functions): Rename from gdb-stopped-hooks.
9273 (gdb): Call gdb-inferior-io--maybe-delete-pty as a workaround for
9274 sentinel not being called.
9275
9276 * comint.el (make-comint-in-buffer, comint-exec): Doc fix.
9277
9278 * progmodes/grep.el (grep, rgrep): Doc fix (Bug#11268).
9279
9280 2012-04-20 Glenn Morris <rgm@gnu.org>
9281
9282 * net/network-stream.el (open-network-stream): Doc fix.
9283
9284 2012-04-20 Chong Yidong <cyd@gnu.org>
9285
9286 * emacs-lisp/tabulated-list.el (tabulated-list-print): Fix typos.
9287
9288 2012-04-20 Alan Mackenzie <acm@muc.de>
9289
9290 Ensure searching for keywords is case sensitive.
9291
9292 * progmodes/cc-cmds.el (c-electric-brace, c-electric-lt-gt)
9293 (c-electric-paren, c-beginning-of-defun, c-end-of-defun)
9294 (c-defun-name, c-mark-function, c-cpp-define-name)
9295 (c-comment-indent, c-scan-conditionals, c-indent-defun)
9296 (c-context-line-break): Bind case-fold-search to nil.
9297
9298 * progmodes/cc-mode.el (c-font-lock-fontify-region):
9299 Bind case-fold-search to nil.
9300
9301 2012-04-20 Chong Yidong <cyd@gnu.org>
9302
9303 * mail/sendmail.el (mail-bury): Call return action with the right
9304 Rmail buffer (Bug#11242).
9305
9306 * server.el (server-process-filter): Handle corner case where both
9307 tty and nowait options are present (Bug#11102).
9308
9309 2012-04-20 Eli Zaretskii <eliz@gnu.org>
9310
9311 * version.el (emacs-bzr-version, emacs-bzr-get-version): Doc fixes.
9312 (top level): Put into the executable the ident-style '$Id:' tag on
9313 windows-nt as well.
9314
9315 2012-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
9316
9317 * electric.el (electric-indent-post-self-insert-function): Check that
9318 electric-indent-mode is enabled in current buffer.
9319
9320 2012-04-19 Juanma Barranquero <lekktu@gmail.com>
9321
9322 * imenu.el (imenu-progress-message): Restore; it is "used" in
9323 erc/erc-imenu.el and net/snmp-mode.el.
9324
9325 2012-04-19 Juanma Barranquero <lekktu@gmail.com>
9326
9327 * avoid.el (mouse-avoidance-mode): Mark unused arg.
9328 (mouse-avoidance-nudge-mouse): Remove unused binding.
9329
9330 * bs.el (bs-toggle-readonly): Call `toggle-read-only' interactively.
9331
9332 * descr-text.el (describe-char):
9333 * progmodes/python.el (python-describe-symbol):
9334 Don't call `toggle-read-only', set `buffer-read-only'.
9335
9336 * imenu.el (imenu-default-goto-function): Mark unused args.
9337 (imenu-progress-message): Remove obsolete macro; all callers changed.
9338
9339 * subr.el (keymap-canonicalize): Remove unused binding.
9340 (read-passwd): Mark unused arg.
9341
9342 * tutorial.el (tutorial--display-changes): Remove unused binding.
9343 (tutorial--save-tutorial-to): Remove unused variable.
9344
9345 * emacs-lisp/package.el (define-package, package-menu-mark-delete)
9346 (package-menu-mark-install, package-menu-mark-unmark): Mark unused args.
9347 (package-generate-autoloads, package-menu--generate)
9348 (package-menu--find-upgrades): Remove unused bindings.
9349
9350 * emulation/cua-rect.el (cua-restrict-regexp-rectangle)
9351 (cua-restrict-prefix-rectangle): Doc fixes. Remove unused bindings.
9352 (cua--mouse-ignore, cua--delete-rectangle, cua--extract-rectangle)
9353 (cua--indent-rectangle, cua-open-rectangle, cua-close-rectangle)
9354 (cua-blank-rectangle, cua-string-rectangle, cua-replace-in-rectangle)
9355 (cua-incr-rectangle, cua-sequence-rectangle, cua--convert-rectangle-as)
9356 (cua--rectangle-aux-replace, cua--left-fill-rectangle)
9357 (cua-scroll-rectangle-up, cua-scroll-rectangle-down)
9358 (cua-delete-char-rectangle): Mark unused args.
9359 (cua-align-rectangle): Remove unused binding.
9360
9361 * mail/rmail.el (compilation--message->loc)
9362 (epa--find-coding-system-for-mime-charset): Declare.
9363
9364 * net/dbus.el (dbus-register-service): Declare.
9365 (dbus-name-owner-changed-handler): Remove unused binding.
9366
9367 * nxml/nxml-mode.el (nxml-electric-slash, nxml-in-mixed-content-p)
9368 (nxml-compute-indent-from-matching-start-tag): Remove unused variables.
9369 (nxml-scan-backward-within): Mark unused arg.
9370 (nxml-dynamic-markup-word): Remove unused binding.
9371
9372 * mouse.el (mouse-menu-major-mode-map):
9373 * emacs-lisp/authors.el (authors-scan-change-log)
9374 (authors-add-to-author-list):
9375 * emacs-lisp/avl-tree.el (avl-tree--enter-balance):
9376 * emacs-lisp/smie.el (smie-auto-fill):
9377 * mail/sendmail.el (mail-bury):
9378 * mail/unrmail.el (unrmail):
9379 * net/tls.el (open-tls-stream):
9380 * textmodes/picture.el (picture-mouse-set-point):
9381 Remove unused bindings.
9382
9383 2012-04-19 Michael Albinus <michael.albinus@gmx.de>
9384
9385 * net/tramp.el (tramp-action-password): Let-bind
9386 `enable-recursive-minibuffers' to t.
9387
9388 2012-04-18 Sam Steingold <sds@gnu.org>
9389
9390 * progmodes/gud.el (gud-key-prefix): Use :type 'key-sequence
9391 instead of 'string to accommodate values like [f11].
9392 Always use `vconcat' instead of `concat' on it, like in `gud-def'.
9393 * progmodes/gdb-mi.el: Likewise.
9394
9395 2012-04-18 Leo Liu <sdl.web@gmail.com>
9396
9397 * abbrev.el (edit-abbrevs): Move point to the abbrev table of
9398 current buffer.
9399 (prepare-abbrev-list-buffer): Enter edit-abbrevs-mode only if
9400 LOCAL is nil.
9401
9402 2012-04-18 Chong Yidong <cyd@gnu.org>
9403
9404 * simple.el (line-move): Use forward-line if in batch mode
9405 (Bug#11053).
9406
9407 2012-04-18 Christopher Schmidt <christopher@ch.ristopher.com>
9408
9409 * files.el (after-find-file): Do not try to add a final newline if
9410 the buffer is read-only (Bug#11156).
9411
9412 2012-04-17 Richard Stallman <rms@gnu.org>
9413
9414 * mail/rmail.el (rmail-start-mail):
9415 Pass (rmail-mail-return...) for the return-action.
9416 Pass (rmail-yank-current-message...) for the yank-action.
9417 (rmail-yank-current-message): New function.
9418 (rmail-mail): Pass the Rmail buffer, not view buffer, for replybuffer.
9419 (rmail-reply): Likewise.
9420 (rmail-forward): Pass the Rmail buffer, not nil, for replybuffer.
9421
9422 * mail/sendmail.el (mail-bury): Choose the first rmail-mode
9423 buffer, not the last. Reject temp buffers. Use the rmail-mode
9424 buffer, not newbuf.
9425
9426 2012-04-17 Juanma Barranquero <lekktu@gmail.com>
9427
9428 * server.el (server-ensure-safe-dir): Simplify.
9429
9430 2012-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
9431
9432 * emacs-lisp/smie.el: Provide smarter auto-filling.
9433 (smie-auto-fill): New function.
9434 (smie-setup): Use it.
9435
9436 * newcomment.el (comment-choose-indent): Obey comment-inline-offset.
9437
9438 2012-04-17 Philipp Haselwarter <philipp.haselwarter@gmx.de> (tiny change)
9439
9440 * newcomment.el (comment-inline-offset): New custom var (bug#11090).
9441 (comment-indent): Use it.
9442
9443 2012-04-17 Vincent Belaïche <vincentb1@users.sourceforge.net>
9444
9445 * ses.el: The overall change is to add cell renaming, that is
9446 setting fancy names for cell symbols other than name matching
9447 "\\`[A-Z]+[0-9]+\\'" regexp .
9448 (ses-localvars): Add ses--renamed-cell-symb-list.
9449 (ses-create-cell-variable): New defun.
9450 (ses-destroy-cell-variable-range): Respect ses--numrows, ses--numcols.
9451 (ses-relocate-formula): Relocate formulas only for cells the
9452 symbols of which are not renamed, i.e. symbols whose names do not
9453 match regexp "\\`[A-Z]+[0-9]+\\'".
9454 (ses-relocate-all): Relocate values only for cells the symbols of
9455 which are not renamed.
9456 (ses-load): Create cells variables as the (ses-cell ...) are read,
9457 in order to check row col consistency with cell symbol name only
9458 for cells that are not renamed.
9459 (ses-replace-name-in-formula): New defun.
9460 (ses-rename-cell): New defun.
9461
9462 2012-04-17 Peter Oliver <bzr@mavit.org.uk> (tiny change)
9463
9464 * progmodes/perl-mode.el (perl-indent-parens-as-block):
9465 New option (bug#11118).
9466 (perl-calculate-indent): Respect it.
9467
9468 2012-04-17 Glenn Morris <rgm@gnu.org>
9469
9470 * dired-aux.el (dired-mark-read-string): Doc fix.
9471
9472 2012-04-17 Dmitry Antipov <dmantipov@yandex.ru>
9473
9474 * dired-aux.el (dired-mark-read-string): Offer optional completion.
9475 (dired-do-chxxx): Complete chown, chgrp over users, groups. (Bug#7900)
9476
9477 2012-04-17 Glenn Morris <rgm@gnu.org>
9478
9479 * mouse.el (mouse-drag-track):
9480 * speedbar.el (speedbar-frame-mode):
9481 Use auto-hscroll-mode rather than the alias automatic-hscrolling.
9482
9483 2012-04-16 Leo Liu <sdl.web@gmail.com>
9484
9485 * progmodes/python.el: Trivial cleanup.
9486
9487 2012-04-16 Glenn Morris <rgm@gnu.org>
9488
9489 * vc/vc.el (vc-string-prefix-p):
9490 * vc/pcvs-util.el (cvs-string-prefix-p):
9491 * textmodes/tex-mode.el (latex-string-prefix-p, tex-string-prefix-p):
9492 * mpc.el (mpc-string-prefix-p):
9493 Make all of these into obsolete aliases for string-prefix-p.
9494 Update callers.
9495 * vc/pcvs.el, vc/vc-dispatcher.el, vc/vc-dir.el: Update callers.
9496
9497 * textmodes/two-column.el: Move custom options to the start.
9498 (frame-width): Remove compat definition.
9499 (2C-associate-buffer, 2C-dissociate):
9500 Use with-current-buffer rather than save-excursion.
9501 (2C-dissociate): Force a mode-line update.
9502 (2C-autoscroll): Use ignore-errors.
9503
9504 * emacs-lisp/eieio-opt.el (describe-class, describe-generic):
9505 Autoload trivia.
9506
9507 * emacs-lisp/cl-extra.el (*random-state*):
9508 Remove unnecessary declaration.
9509
9510 * calendar/cal-tex.el (cal-tex-end-document): Trivial clarification.
9511
9512 * play/cookie1.el (cookie-snarf):
9513 Give an explicit error if input file cannot be read.
9514
9515 * play/yow.el (yow-file): Use expand-file-name rather than concat.
9516
9517 * progmodes/perl-mode.el (c-macro-expand):
9518 Remove unnecessary autoload (it is in loaddefs.el).
9519
9520 * textmodes/picture.el (picture-desired-column)
9521 (picture-update-desired-column): Convert comments to doc-strings.
9522 (picture-substitute): Remove function.
9523 (picture-mode-map): Initialize in the defvar.
9524
9525 * woman.el: Remove eval-after-load for tar-mode.
9526 * tar-mode.el (tar-mode-map): Add woman binding and menu entry.
9527 (woman-tar-extract-file): Autoload it.
9528
9529 * frame.el (automatic-hscrolling): Make this alias obsolete.
9530
9531 2012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
9532
9533 * textmodes/ispell.el (ispell-set-spellchecker-params): Post-process
9534 `ispell-dictionary-alist' to use [:alpha:] and utf-8 if possible.
9535 (ispell-dictionary-base-alist): Revert to original XEmacs
9536 friendly version for default. [:alpha:] will be added in
9537 `ispell-set-spellchecker-params' if needed.
9538
9539 2012-04-16 Chong Yidong <cyd@gnu.org>
9540
9541 * image.el (imagemagick--file-regexp): New variable.
9542 (imagemagick-register-types): Use it.
9543 (imagemagick-types-inhibit): Add :set function. Allow new value
9544 of t to inhibit all types.
9545
9546 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Avoid cl macros,
9547 so we can preload it.
9548
9549 * loadup.el (fboundp): Preload regexp-opt, needed by
9550 imagemagick-register-types.
9551
9552 2012-04-15 Chong Yidong <cyd@gnu.org>
9553
9554 * frame.el (scrolling): Remove nearly unused customization group.
9555
9556 * scroll-all.el (scroll-all-mode): Move to windows group.
9557
9558 2012-04-15 Chong Yidong <cyd@gnu.org>
9559
9560 * bindings.el (goto-map): Bind goto-char to M-g c (Bug#11240).
9561
9562 2012-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
9563
9564 Avoid the use of ((lambda ...) ...) in lexical-binding code.
9565 * emacs-lisp/easy-mmode.el (define-minor-mode): Use funcall (bug#11241).
9566
9567 2012-04-15 Glenn Morris <rgm@gnu.org>
9568
9569 * simple.el (process-file-side-effects): Doc fix.
9570
9571 2012-04-15 Glenn Morris <rgm@gnu.org>
9572
9573 * international/mule-cmds.el (set-language-environment): Doc fix.
9574
9575 2012-04-14 Juanma Barranquero <lekktu@gmail.com>
9576
9577 * server.el (server-auth-key, server-generate-key): Doc fixes.
9578 (server-get-auth-key): Doc fix. Use `string-match-p'.
9579 (server-start): Reflow docstring.
9580
9581 2012-04-14 Lars Ingebrigtsen <larsi@gnus.org>
9582
9583 * server.el (server-generate-key): `called-interactively-p'
9584 requires a parameter.
9585
9586 2012-04-14 Michal Nazarewicz <mina86@mina86.com>
9587
9588 * server.el (server-auth-key): New variable.
9589 (server-generate-key, server-get-auth-key): New function.
9590 (server-start): Use the new variable and functions to allow
9591 setting a permanent server key (bug#9423).
9592
9593 2012-04-14 Leo Liu <sdl.web@gmail.com>
9594
9595 * vc/diff-mode.el (diff-file-prev/next): Fix typo.
9596
9597 2012-04-14 Paul Eggert <eggert@cs.ucla.edu>
9598
9599 Spelling fixes.
9600 * hexl.el (hexl-rulerize): Rename from hexl-rulerise, since
9601 Emacs uses American spelling.
9602
9603 2012-04-14 Juanma Barranquero <lekktu@gmail.com>
9604
9605 * emacs-lock.el (emacs-lock-locked-buffer-functions): New hook.
9606 (emacs-lock--exit-locked-buffer): Return the locked buffer. Doc fix.
9607 (emacs-lock--kill-emacs-hook, emacs-lock--kill-emacs-query-functions)
9608 (emacs-lock--kill-buffer-query-functions): Run new hook. (Bug#11017)
9609
9610 2012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
9611
9612 * progmodes/which-func.el (which-func-modes): Change default.
9613
9614 2012-04-14 Kim F. Storm <storm@cua.dk>
9615
9616 * emulation/cua-base.el (cua-exchange-point-and-mark): Just call
9617 exchange-point-and-mark if cua-enable-cua-keys is nil (Bug#11191).
9618
9619 2012-04-14 Chong Yidong <cyd@gnu.org>
9620
9621 * custom.el (custom-theme-set-variables): Doc fix.
9622
9623 2012-04-14 Glenn Morris <rgm@gnu.org>
9624
9625 * international/mule.el (set-auto-coding-for-load): Doc fix.
9626
9627 2012-04-14 Alan Mackenzie <acm@muc.de>
9628
9629 * progmodes/cc-menus.el (cc-imenu-objc-generic-expression): Make
9630 imenu work again for Objective C Mode. Correct the *-index values,
9631 these having been disturbed by a previous change in 2011-08.
9632
9633 * progmodes/cc-engine.el (c-before-change-check-<>-operators):
9634 Correct two search limits.
9635
9636 2012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
9637
9638 * startup.el (command-line-1): Inhibit splash from daemon (bug#10996).
9639
9640 2012-04-14 Andreas Schwab <schwab@linux-m68k.org>
9641
9642 * international/characters.el: Fix sorting.
9643
9644 2012-04-14 Eli Zaretskii <eliz@gnu.org>
9645
9646 * international/characters.el: Add more missing Latin case pairs.
9647
9648 2012-04-14 Glenn Morris <rgm@gnu.org>
9649
9650 * files.el (dir-locals-set-class-variables): Doc fix.
9651
9652 2012-04-14 Eli Zaretskii <eliz@gnu.org>
9653
9654 * international/characters.el: Add set-case-syntax-pair call for
9655 LATIN CAPITAL LETTER Y WITH DIAERESIS RET and its lower-case
9656 counterpart. (Bug#11209)
9657
9658 * simple.el (shell-command-on-region): Doc fix. (Bug#11208)
9659
9660 2012-04-14 Glenn Morris <rgm@gnu.org>
9661
9662 * calendar/holidays.el (calendar-check-holidays): Doc fix.
9663
9664 2012-04-14 Eli Zaretskii <eliz@gnu.org>
9665
9666 * textmodes/ispell.el (ispell-dictionary-base-alist):
9667 Add data for Hebrew.
9668
9669 2012-04-14 Chong Yidong <cyd@gnu.org>
9670
9671 * net/rcirc.el (rcirc-cmd-quit):
9672 Revert 2012-03-18 change (Bug#11192).
9673
9674 2012-04-14 Glenn Morris <rgm@gnu.org>
9675
9676 * pcmpl-rpm.el (pcomplete/rpm): Handle -qf.
9677
9678 2012-04-14 Eli Zaretskii <eliz@gnu.org>
9679
9680 * minibuffer.el (completion-in-region-mode-map):
9681 Bind completion-help-at-point to M-? rather than ?. (Bug#11182)
9682
9683 2012-04-13 Vivek Dasmohapatra <vivek@etla.org>
9684
9685 * hexl.el (hexl-insert-char): Make display sizes other than 16 work.
9686
9687 2012-04-13 Masatake YAMATO <yamato@redhat.com>
9688
9689 * minibuffer.el (minibuffer-local-filename-syntax): New variable
9690 to allow `C-M-f' and `C-M-b' to move to the nearest path
9691 separator (bug#9511).
9692
9693 2012-04-13 Lars Ingebrigtsen <larsi@gnus.org>
9694
9695 * avoid.el: Require cl when compiling. And also move the
9696 `provide' to the end.
9697
9698 2012-04-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
9699
9700 * avoid.el (mouse-avoidance-banish-position): New variable.
9701 (mouse-avoidance-banish-destination): Use it (bug#10165).
9702
9703 2012-04-13 Leo Liu <sdl.web@gmail.com>
9704
9705 * progmodes/which-func.el (which-func-modes): Add objc-mode.
9706
9707 2012-04-13 Ken Brown <kbrown@cornell.edu>
9708
9709 * net/browse-url.el (browse-url-file-url): Remove Cygwin hack;
9710 this is no longer needed now that cygstart understands file:// URLs.
9711 (browse-url-filename-alist): For the same reason, don't modify
9712 file:// URLs on Cygwin.
9713
9714 2012-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
9715
9716 * emulation/cua-base.el (cua--pre-command-handler-1): Don't activate
9717 the region on shift if the binding is already shifted (bug#11221).
9718
9719 2012-04-12 Glenn Morris <rgm@gnu.org>
9720
9721 * mail/mailpost.el: Move to obsolete/.
9722
9723 2012-04-12 Drew Adams <drew.adams@oracle.com>
9724
9725 * imenu.el (imenu--generic-function): Ignore invisible definitions
9726 (bug#10123).
9727
9728 2012-04-12 Vivek Dasmohapatra <vivek@etla.org>
9729
9730 * hexl.el (hexl-bits): New variable.
9731 (hexl-options): Mention the variable in the doc string.
9732 (hexl-rulerise, hexl-line-displen): New functions.
9733 (hexl-mode): Mention the new variable.
9734 (hexl-mode, hexl-current-address, hexl-current-address):
9735 Use the displen.
9736 (hexl-ascii-start-column): New function.
9737 (hexl-address-to-marker, hexl-beginning-of-line, hexl-options)
9738 (hexl-insert-char, hexl-mode-ruler): Use the displen (bug#4941).
9739
9740 2012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
9741
9742 * textmodes/flyspell.el (flyspell-large-region): For hunspell, use
9743 '("-i" ENCODING), in 2 separate command-line arguments, to specify
9744 the encoding, as expected by hunspell.
9745
9746 2012-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
9747
9748 * battery.el (battery--linux-sysfs-regexp): New const.
9749 (battery-status-function): Use it. Remove yeeloong special case.
9750 (battery-yeeloong-sysfs): Remove.
9751 (battery-echo-area-format): Remove yeeloong special case.
9752
9753 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
9754
9755 * imenu.el (imenu-add-to-menubar): `current-local-map' can be nil.
9756 Reported by Noah Friedman.
9757
9758 * subr.el (read-passwd): Use read-string.
9759
9760 2012-04-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
9761
9762 * vcursor.el (vcursor-move): Increase the priority of the overlay
9763 (bug#9663).
9764
9765 2012-04-11 Deniz Dogan <deniz.a.m.dogan@gmail.com>
9766
9767 * net/rcirc.el (rcirc-kill-channel-buffers): New variable.
9768 (rcirc-kill-buffer-hook): Use it to kill channel buffers (bug#5128).
9769
9770 2012-04-11 William Stevenson <yhvh2000@gmail.com>
9771
9772 * textmodes/artist.el (artist-mode): Convert artist-mode to use
9773 define-minor-mode (bug#10760).
9774
9775 2012-04-11 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
9776
9777 * progmodes/grep.el (rgrep): Tweak the find command line so
9778 that directories matching `grep-find-ignored-files' won't be
9779 pruned (bug#10351).
9780
9781 2012-04-11 Chong Yidong <cyd@gnu.org>
9782
9783 * startup.el (command-line): Remove support for long-obsolete
9784 variable font-lock-face-attributes.
9785
9786 2012-04-11 Glenn Morris <rgm@gnu.org>
9787
9788 * vc/vc-bzr.el (vc-bzr-status): Avoid condition-case-unless-debug.
9789
9790 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
9791
9792 * window.el (window--state-get-1): Obey window-point-insertion-type.
9793
9794 2012-04-11 Lennart Borgman <lennart.borgman@gmail.com>
9795
9796 * emacs-lisp/lisp.el (narrow-to-defun): `beginning-of-defun' goes
9797 to previous function when point is on the first character of a
9798 function. Take care of that in `narrow-to-defun' (bug#6157).
9799
9800 2012-04-11 Glenn Morris <rgm@gnu.org>
9801
9802 * vc/vc-bzr.el (vc-bzr-status): Handle all errors,
9803 not just file-errors.
9804
9805 * vc/vc-bzr.el (vc-bzr-sha1-program, sha1-program): Remove.
9806 (vc-bzr-sha1): Use internal sha1.
9807
9808 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
9809
9810 * progmodes/flymake.el (flymake-mode): Beware read-only dirs (bug#8954).
9811
9812 2012-04-10 Sébastien Gross <seb@chezwam.org> (tiny change)
9813
9814 * progmodes/hideshow.el (hs-hide-all): Don't infloop on comments
9815 that start in the middle of the line (bug#10496).
9816
9817 2012-04-10 Dan Nicolaescu <dann@gnu.org>
9818
9819 * battery.el (battery-linux-proc-acpi): Only one battery is
9820 discharged at a time, but that seems to confuse battery.el when
9821 computing `rate-type' for the battery not being discharged
9822 (bug#10332).
9823
9824 2012-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
9825
9826 * emacs-lisp/autoload.el (autoload-make-program): Remove, unused.
9827
9828 * international/quail.el: Use dolist and simplify.
9829 (quail-define-package, quail-update-keyboard-layout)
9830 (quail-define-rules): Use dolist.
9831 (quail-insert-kbd-layout, quail-get-translation): CSE.
9832
9833 * tmm.el: Use dolist, remove left over hook.
9834 (tmm-prompt, tmm-define-keys, tmm-shortcut, tmm-get-keybind):
9835 Use dolist.
9836 (calendar-load-hook): Don't mess with it.
9837
9838 * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
9839 Use derived-mode-p. Run the diff asynchronously.
9840
9841 2012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
9842
9843 * obsolete/mouse-sel.el: Add an Obsolete-since header.
9844
9845 2012-04-10 Juanma Barranquero <lekktu@gmail.com>
9846
9847 * misc.el: Display absolute path of loaded DLLs (bug#10424).
9848 (list-dynamic-libraries--loaded): New function.
9849 (list-dynamic-libraries--refresh): Use it.
9850
9851 2012-04-10 Nathan Weizenbaum <nweiz@google.com>
9852
9853 * progmodes/python.el (python-fill-paragraph):
9854 Make python-fill-region in a multiline string work when font-lock is
9855 disabled (bug#7018).
9856
9857 2012-04-10 Laimonas Vėbra <laimonas.vebra@gmail.com> (tiny change)
9858
9859 * language/european.el (cp775): Add oem/legacy (en)coding on
9860 DOS/MS Windows for the Baltic languages. There are still plenty
9861 of texts written in this encoding/codepage (bug#6519).
9862
9863 2012-04-10 Glenn Morris <rgm@gnu.org>
9864
9865 * cus-start.el (eol-mnemonic-unix, eol-mnemonic-dos, eol-mnemonic-mac):
9866 Add :standard values, reducing "rogue" customs in emacs -Q a bit more.
9867
9868 2012-04-10 Florian Adamsky <florian@adamsky.it> (tiny change)
9869
9870 * recentf.el (recentf-dialog-mode-map): Add two keybindings for
9871 next-line "n" and previous-line "p" in order to make recentf more
9872 consistent with ibuffer, dired or org-mode (bug#9387).
9873
9874 2012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
9875
9876 * image.el (put-image): Return the overlay created instead of the
9877 optional input string (bug#7834). Note that this may break code
9878 that is (for some reason or other) depending on `put-image'
9879 returning the string.
9880
9881 * mouse-sel.el (mouse-sel-mode): Mark as obsolete (bug#6174).
9882
9883 * simple.el (zap-to-char): Allow zapping using input methods
9884 (bug#1580).
9885
9886 * textmodes/fill.el (fill-region): Leave point and mark where they
9887 were before filling (bug#5399).
9888
9889 2012-04-09 Glenn Morris <rgm@gnu.org>
9890
9891 * version.el (emacs-bzr-get-version):
9892 Handle lightweight checkouts of local branches.
9893
9894 2012-04-09 Andreas Schwab <schwab@linux-m68k.org>
9895
9896 * international/characters.el: Recover lost case pairs. (Bug#11209)
9897
9898 2012-04-09 Chong Yidong <cyd@gnu.org>
9899
9900 * custom.el (custom-variable-p): Return nil for non-symbol
9901 arguments instead of signaling an error.
9902 (user-variable-p): Obsolete alias for custom-variable-p.
9903
9904 * apropos.el (apropos-variable):
9905 * files-x.el (read-file-local-variable):
9906 * simple.el (set-variable):
9907 * woman.el (woman-mini-help):
9908 * emacs-lisp/byte-opt.el (side-effect-free-fns): Callers changed.
9909
9910 2012-04-09 Glenn Morris <rgm@gnu.org>
9911
9912 * startup.el (normal-top-level): Don't look for leim-list.el
9913 in places where it will not be found. (Bug#910)
9914
9915 * international/mule-cmds.el (set-default-coding-systems):
9916 * files.el (normal-mode):
9917 Remove guarded calls to ucs-set-table-for-input. (Bug#9821)
9918 This function was removed with ucs-tables.el in 2008.
9919
9920 2012-04-08 Eli Zaretskii <eliz@gnu.org>
9921
9922 * textmodes/ispell.el (ispell-check-version): For hunspell, set
9923 ispell-encoding8-command to "-i", without a trailing space.
9924 (ispell-start-process): For hunspell, use '("-i" ENCODING), in 2
9925 separate command-line arguments, to specify the encoding, since
9926 that's how hunspell expects it.
9927
9928 2012-04-08 Glenn Morris <rgm@gnu.org>
9929
9930 * loadup.el: Load bindings before cus-start.
9931 This reduces somewhat the number of "rogue" settings in emacs -Q.
9932
9933 2012-04-07 Glenn Morris <rgm@gnu.org>
9934
9935 * version.el (emacs-bzr-get-version): New function.
9936 (emacs-bzr-version): New variable.
9937 * loadup.el (emacs-bzr-version): Set it. (Bug#8054)
9938 * mail/emacsbug.el (report-emacs-bug): Include bzr version.
9939
9940 2012-04-07 Eli Zaretskii <eliz@gnu.org>
9941
9942 * international/uni-bidi.el, international/uni-category.el:
9943 * international/uni-combining.el, international/uni-decimal.el:
9944 * international/uni-decomposition.el, international/uni-digit.el:
9945 * international/uni-lowercase.el, international/uni-mirrored.el:
9946 * international/uni-name.el, international/uni-numeric.el:
9947 * international/uni-titlecase.el, international/uni-uppercase.el:
9948 Update for Unicode 6.1.
9949
9950 2012-04-07 Eli Zaretskii <eliz@gnu.org>
9951
9952 * term/w32-win.el (dynamic-library-alist): Add libxml2 DLLs.
9953
9954 2012-04-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
9955
9956 * window.el (shrink-window): Mention the `window-min-height'
9957 variable in the doc string.
9958
9959 2012-04-05 Bastien Guerry <bzg@altern.org>
9960
9961 * color.el (color-lighten-name): Fix typo.
9962
9963 2012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
9964
9965 * server.el (server--on-display-p): New function.
9966 (server--on-display-p): Use it.
9967
9968 2012-04-04 Gabor Vida <vidagabor@gmail.com> (tiny change)
9969
9970 * ido.el (ido-wide-find-dirs-or-files): Use file-name-absolute-p
9971 (bug#11145).
9972
9973 2012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
9974
9975 * comint.el (comint--common-quoted-suffix): Check string boundary
9976 before comparing (bug#11158).
9977 * pcomplete.el (pcomplete--common-quoted-suffix): Idem.
9978
9979 2012-04-04 Chong Yidong <cyd@gnu.org>
9980
9981 * minibuffer.el (completion-extra-properties): Doc fix.
9982
9983 * subr.el (delayed-warnings-hook): Doc fix.
9984
9985 2012-04-04 Daiki Ueno <ueno@unixuser.org>
9986
9987 * epa.el (epa--select-keys): Bind C-c C-c to finish the key
9988 selection (Bug#11159).
9989 (epa-insert-keys): Inform that the default public key will be
9990 exported if no key is selected.
9991
9992 2012-04-04 Richard Stallman <rms@gnu.org>
9993
9994 * mail/emacsbug.el (report-emacs-bug): Bind inhibit-read-only.
9995
9996 2012-04-03 Chong Yidong <cyd@gnu.org>
9997
9998 * mail/sendmail.el (mail-mode-map): Bind C-c C-i to
9999 mail-insert-file, not its obsolete alias mail-attach-file.
10000
10001 2012-04-03 Michael Albinus <michael.albinus@gmx.de>
10002
10003 * notifications.el (notifications-notify): Fix docstring.
10004
10005 2012-04-02 Glenn Morris <rgm@gnu.org>
10006
10007 * emacs-lisp/authors.el (authors-aliases): Another addition.
10008
10009 2012-04-02 Michael Albinus <michael.albinus@gmx.de>
10010
10011 * net/tramp-gvfs.el (tramp-gvfs-send-command): Apply
10012 `tramp-compat-call-process' instead of `tramp-local-call-process'.
10013 Reported by Magnus Henoch <magnus.henoch@gmail.com>.
10014
10015 2012-04-01 Chong Yidong <cyd@gnu.org>
10016
10017 * files.el (file-in-directory-p): Rename from file-subdir-of-p.
10018 Handle root directory properly.
10019 (copy-directory): Caller changed.
10020
10021 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
10022 * net/tramp.el (tramp-file-name-for-operation): Callers changed.
10023
10024 2012-03-31 Glenn Morris <rgm@gnu.org>
10025
10026 * term/xterm.el (xterm-extra-capabilities): Doc fix.
10027
10028 * language/indian.el ("Devanagari"): Fix typo. (Bug#11103)
10029
10030 * calendar/calendar.el (calendar-window-list)
10031 (calendar-hide-window): Restore. (Bug#11140)
10032 (calendar-exit): Use calendar-window-list, calendar-hide-window again.
10033
10034 * emacs-lisp/edebug.el (edebug-unwrap-results): Doc fix.
10035
10036 2012-03-30 Thierry Volpiatto <thierry.volpiatto@gmail.com>
10037
10038 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
10039 Check if file is a symlink (Bug#10489).
10040
10041 * files.el (copy-directory): Likewise.
10042
10043 2012-03-30 Chong Yidong <cyd@gnu.org>
10044
10045 * image.el (imagemagick-types-inhibit)
10046 (imagemagick-register-types): Doc fix.
10047
10048 2012-03-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
10049
10050 * textmodes/ispell.el (ispell-get-extended-character-mode):
10051 Disable extended-char-mode for hunspell. hunspell does not support it
10052 and treats ~word as ordinary words in pipe mode.
10053
10054 2012-03-30 Glenn Morris <rgm@gnu.org>
10055
10056 * tutorial.el (help-with-tutorial): Ensure local variables don't
10057 happen to make the buffer read-only. (Bug#11127)
10058
10059 2012-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
10060
10061 * progmodes/perl-mode.el (perl-indent-line): Use `noindent' in strings.
10062 (perl-calculate-indent): Return `noindent' in strings.
10063
10064 2012-03-28 Sam Steingold <sds@gnu.org>
10065
10066 * calendar/calendar.el (calendar-exit): Use `quit-windows-on'
10067 instead of the broken adhockery which does not prevent calendar
10068 buffers from being displayed at random after exit.
10069 (calendar-window-list, calendar-hide-window): Remove the broken
10070 adhockery.
10071
10072 2012-03-28 Glenn Morris <rgm@gnu.org>
10073
10074 * replace.el (query-replace-map): Doc fix.
10075
10076 2012-03-28 Andreas Schwab <schwab@linux-m68k.org>
10077
10078 * vc/vc-git.el (vc-git-state): Don't try to match all of the diff
10079 contents. (Bug#11109)
10080
10081 2012-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
10082
10083 * emacs-lisp/avl-tree.el (avl-tree--enter-balance): Fix paren typo
10084 (bug#11077).
10085 (avl-tree--check, avl-tree--check-node): New funs.
10086
10087 2012-03-27 Martin Rudalics <rudalics@gmx.at>
10088
10089 * window.el (switch-to-visible-buffer): New option.
10090 (switch-to-prev-buffer, switch-to-next-buffer):
10091 Observe switch-to-visible-buffer. Make sure that checking for a window
10092 showing a buffer already is done on the same frame.
10093
10094 2012-03-27 Glenn Morris <rgm@gnu.org>
10095
10096 * startup.el (mail-host-address): Doc fix.
10097
10098 2012-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
10099
10100 * emacs-lisp/bytecomp.el (byte-compile-constants-vector): Allow more
10101 than 197 variables.
10102
10103 2012-03-26 Ami Fischman <ami@fischman.org>
10104
10105 * vc/vc-git.el (vc-git-state): Avoid unnecessarily locking.
10106
10107 2012-03-26 Glenn Morris <rgm@gnu.org>
10108
10109 * files.el (save-buffers-kill-emacs): Doc fix.
10110
10111 * startup.el (normal-top-level, command-line, command-line-1):
10112 Give them doc strings.
10113
10114 2012-03-25 Eli Zaretskii <eliz@gnu.org>
10115
10116 * makefile.w32-in (install): Use $(DIRNAME)_same-dir.tst instead
10117 of same-dir.tst, to avoid stepping on other (parallel) Make job's toes.
10118
10119 2012-03-25 Chong Yidong <cyd@gnu.org>
10120
10121 * custom.el (load-theme): Even if NO-ENABLE arg is t, reenable the
10122 theme if it was previously enabled before (Bug#11031).
10123
10124 * cus-theme.el (custom-theme-write-faces): Retrieve current face
10125 spec with custom-face-get-current-spec if its :shown-value is not
10126 determined yet (Bug#9337).
10127 (customize-create-theme, custom-theme-revert): Doc fixes.
10128
10129 * button.el (button-at): Minor addition to docstring.
10130
10131 2012-03-24 Simon Leinen <simon.leinen@gmail.com>
10132
10133 * vc/vc.el (vc-merge): Fix a prompt.
10134
10135 2012-03-24 Chong Yidong <cyd@gnu.org>
10136
10137 * mwheel.el (mwheel-scroll): Call deactivate-mark at the right
10138 point (Bug#9623).
10139
10140 * button.el (button-at): Minor addition to docstring.
10141
10142 2012-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
10143
10144 * newcomment.el (comment-choose-indent): No space after BOL.
10145
10146 2012-03-22 Sam Steingold <sds@gnu.org>
10147
10148 * window.el (switch-to-prev-buffer): Revert last patch because the
10149 bug turned out to be an advertised feature (Elisp manual 28.14).
10150
10151 2012-03-22 Glenn Morris <rgm@gnu.org>
10152
10153 * vc/vc-bzr.el (vc-bzr-status-switches): New option. (Bug#6724)
10154 (vc-bzr-command): If running "status", pass vc-bzr-status-switches.
10155
10156 2012-03-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
10157
10158 * net/network-stream.el (network-stream-open-starttls): Make error
10159 message under Windows be less misleading.
10160
10161 2012-03-22 Liang Wang <netcasper@gmail.com> (tiny change)
10162
10163 * progmodes/etags.el (etags-list-tags): Only use tags which goto-func
10164 understands (bug#9942).
10165
10166 2012-03-22 Chong Yidong <cyd@gnu.org>
10167
10168 * simple.el (end-of-visible-line): Handle return value of
10169 next-single-property-change properly (Bug#9371).
10170
10171 2012-03-22 Kenichi Handa <handa@m17n.org>
10172
10173 * international/quail.el (quail-insert-kbd-layout): Fix previous
10174 change. To avoid unwanted bidi reordering, use
10175 bidi-string-mark-left-to-right instead of inserting LRO and PDF.
10176
10177 2012-03-21 Dmitry Gutov <dgutov@yandex.ru>
10178
10179 * progmodes/ruby-mode.el: Don't confuse "end:" for "end" (bug#10786).
10180 (ruby-block-end-re, ruby-delimiter, ruby-parse-partial)
10181 (ruby-beginning-of-indent): Be more careful with the difference
10182 between word-boundary and symbol boundary.
10183 (ruby-mode-syntax-table): Make : a symbol constituent.
10184
10185 2012-03-21 Andreas Politz <politza@fh-trier.de>
10186
10187 * outline.el (outline-flag-region): Evaporate overlays (bug#10789).
10188
10189 2012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
10190
10191 * progmodes/etags.el (tags-completion-at-point-function):
10192 Improve last fix.
10193
10194 * files.el (move-file-to-trash): Files aren't regexps (bug#11055).
10195
10196 2012-03-21 Sam Steingold <sds@gnu.org>
10197
10198 * progmodes/etags.el (tags-completion-at-point-function):
10199 Avoid the error when point is inside the pattern.
10200
10201 2012-03-21 John Yates <john@yates-sheets.org> (tiny change)
10202
10203 * progmodes/hideshow.el (hs-inside-comment-p): Fix hiding of first
10204 line (Bug#10855).
10205
10206 2012-03-21 Drew Adams <drew.adams@oracle.com>
10207
10208 * info.el (Info-menu): Handle string value of FORK arg (Bug#10858).
10209
10210 2012-03-21 Anmol Khirbat <anmol@khirbat.net> (tiny change)
10211
10212 * ido.el (ido-set-current-directory, ido-read-internal)
10213 (ido-choose-completion-string, ido-completion-help): Handle nil
10214 value of ido-completion-buffer (Bug#11008).
10215
10216 2012-03-21 Sam Steingold <sds@gnu.org>
10217
10218 * window.el (switch-to-prev-buffer): Do not switch to a visible
10219 window previous buffer, just like with the frame previous buffers.
10220
10221 2012-03-21 Chong Yidong <cyd@gnu.org>
10222
10223 * faces.el (make-face, make-empty-face, copy-face):
10224 * face-remap.el (face-remap-add-relative, face-remap-set-base):
10225 Doc fixes.
10226
10227 2012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
10228
10229 * wid-edit.el (widget-complete-field): Remove (bug#11051).
10230 (widget-complete): Remove broken use of it.
10231
10232 2012-03-20 Chong Yidong <cyd@gnu.org>
10233
10234 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
10235 Use string-width and truncate-string-width to handle arbitrary
10236 characters.
10237
10238 2012-03-20 Tassilo Horn <tassilo@member.fsf.org>
10239
10240 * textmodes/artist.el (artist-menu-map): Bind Rectangle menu item
10241 to draw rectangles, not squares. (Regression introduced by revno
10242 2011-03-02T03:48:01Z!cyd@stupidchicken.com)
10243
10244 2012-03-18 Chong Yidong <cyd@gnu.org>
10245
10246 * faces.el (face-spec-reset-face): Don't call display-graphic-p if
10247 it is not yet defined (for temacs).
10248
10249 2012-03-18 Leo Liu <sdl.web@gmail.com>
10250
10251 * net/rcirc.el (rcirc-cmd-quit): Allow quitting all servers with
10252 prefix.
10253
10254 2012-03-17 Eli Zaretskii <eliz@gnu.org>
10255
10256 * textmodes/ispell.el (ispell-skip-tib, ispell-keep-choices-win)
10257 (ispell-choices-win-default-height, ispell-silently-savep)
10258 (ispell-dictionary-alist, ispell-encoding8-command)
10259 (ispell-check-version, ispell-aspell-find-dictionary)
10260 (ispell-valid-dictionary-list, ispell-words-keyword)
10261 (ispell-get-word, ispell-internal-change-dictionary)
10262 (ispell-region, ispell-skip-region-list)
10263 (ispell-begin-skip-region-regexp, ispell-ignore-fcc)
10264 (ispell-process-line, ispell-minor-mode, ispell-minor-check)
10265 (ispell-message-text-end, ispell-message)
10266 (ispell-buffer-local-parsing): Doc fix.
10267
10268 2012-03-13 Jambunathan K <kjambunathan@gmail.com>
10269
10270 * htmlfontify.el: Add support for code block fontification for ODT
10271 export (Bug #9914).
10272 (hfy-optimisations): Define new option
10273 `body-text-only'
10274 (hfy-fontify-buffer): Honor above setting.
10275 (hfy-begin-span, hfy-end-span): New routines factored out form
10276 `hfy-fontify-buffer'.
10277 (hfy-begin-span-handler, hfy-end-span-handler): New variables
10278 that permit insertion of custom tags.
10279 (hfy-fontify-buffer): Use above handlers.
10280 (hfy-face-to-css-default): Same as the earlier `hfy-face-to-css'.
10281 (hfy-face-to-css): Re-defined to be a variable.
10282 (hfy-compile-stylesheet): Modify. Allow stylesheet to be built
10283 over multiple runs. This is made possible by having the caller let
10284 bind a special variable `hfy-user-sheet-assoc'.
10285 (htmlfontify-string): New defun.
10286 (hfy-compile-face-map): Make sure that the last char in the
10287 buffer is correctly fontified.
10288 (hfy-face-resolve-face): Whitespace only change.
10289
10290 2012-03-17 Eli Zaretskii <eliz@gnu.org>
10291
10292 * textmodes/ispell.el (ispell-get-decoded-string): Make the error
10293 message more clear.
10294
10295 2012-03-16 Leo Liu <sdl.web@gmail.com>
10296
10297 * emacs-lisp/copyright.el (copyright-year-ranges): Fix typo.
10298
10299 2012-03-16 Alan Mackenzie <acm@muc.de>
10300
10301 Further optimise the handling of large macros.
10302
10303 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Use a
10304 limit to a call of `c-literal-limits'.
10305 (c-determine-+ve-limit): New function.
10306 (c-at-macro-vsemi-p): Move `c-in-literal' to the bottom of an `and'.
10307 (c-guess-basic-syntax): In macros, restrict a search limit to 2000.
10308 In CASE 5B, restrict a search limit to 500.
10309 (c-just-after-func-arglist-p): Obviouly wrong `or' -> `and'.
10310
10311 * progmodes/cc-mode.el (c-neutralize-syntax-in-and-mark-CPP):
10312 Restrict macro bounds to +-500 from after-change's BEG END.
10313
10314 2012-03-16 Leo Liu <sdl.web@gmail.com>
10315
10316 * font-lock.el (lisp-font-lock-keywords-2): Add letrec.
10317
10318 2012-03-16 Aaron S. Hawley <Aaron.S.Hawley@gmail.com>
10319
10320 * tar-mode.el (tar-mode): Fix saving by conditionally undoing
10321 `special-mode' setting of `buffer-read-only'. (Bug#11010)
10322
10323 2012-03-16 Glenn Morris <rgm@gnu.org>
10324
10325 * view.el (view-buffer, view-buffer-other-window)
10326 (view-buffer-other-frame): Doc fixes re special mode-class.
10327
10328 * subr.el (eval-after-load): If named feature is provided not from
10329 a file, run after-load forms. (Bug#10946)
10330
10331 * calendar/calendar.el (calendar-insert-at-column):
10332 Handle non-unit-width characters a bit better. (Bug#10978)
10333
10334 2012-03-15 Chong Yidong <cyd@gnu.org>
10335
10336 * emacs-lisp/ring.el (ring-extend): New function.
10337 (ring-insert+extend): Extend the ring correctly (Bug#11019).
10338
10339 * comint.el (comint-read-input-ring)
10340 (comint-add-to-input-history): Grow comint-input-ring lazily.
10341
10342 2012-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
10343
10344 * progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
10345 Fix up parsing of multiline twoarg non-paired elements (bug#11014).
10346
10347 * imenu.el: Fix multiple inheritance breakage (bug#9199).
10348 (imenu-add-to-menubar): Don't add a redundant index.
10349 (imenu-update-menubar): Handle a dynamically composed keymap.
10350
10351 2012-03-13 Katsumi Yamaoka <yamaoka@jpl.org>
10352
10353 * mail/sendmail.el (mail-encode-header):
10354 Bind rfc2047-encode-encoded-words to nil.
10355
10356 2012-03-13 Glenn Morris <rgm@gnu.org>
10357
10358 * calendar/calendar.el (calendar-string-spread):
10359 Handle non-unit-width characters a bit better. (Bug#10978)
10360
10361 2012-03-13 Leo Liu <sdl.web@gmail.com>
10362
10363 * vc/vc-hg.el (vc-hg-working-revision): Rework to work with both
10364 directory and file as argument (Bug#10822).
10365
10366 2012-03-13 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
10367
10368 * progmodes/gdb-mi.el (gdb-invalidate-disassembly):
10369 For dynamically generated code, follow $PC.
10370 (gdb-disassembly-handler-custom): Handle no function name case.
10371
10372 2012-03-13 Tim Landscheidt <tim@tim-landscheidt.de> (tiny change)
10373
10374 * calendar/icalendar.el (icalendar-export-file, icalendar-import-file):
10375 * emulation/ws-mode.el (ws-query-replace):
10376 * sort.el (sort-regexp-fields):
10377 Fix missing trailing whitespace in interactive prompts. (Bug#11002)
10378
10379 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
10380
10381 * dabbrev.el: Fix cycle completion order (bug#10963).
10382 (dabbrev--last-obarray, dabbrev--last-completion-buffer): Remove.
10383 (dabbrev-completion): Don't use an obarray; provide
10384 a cycle-sort-function.
10385
10386 2012-03-12 Leo Liu <sdl.web@gmail.com>
10387
10388 * simple.el (kill-new): Use equal-including-properties for comparison.
10389 (kill-do-not-save-duplicates): Doc fix.
10390
10391 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
10392
10393 * dabbrev.el: Fix cycle completion (bug#10963).
10394 Use lexical binding and wrap to 80 columns.
10395 (dabbrev-completion): Delay computing the list of completions.
10396
10397 2012-03-12 Kenichi Handa <handa@m17n.org>
10398
10399 * international/quail.el (quail-insert-kbd-layout): Surround each
10400 row by LRO and PDF instead of inserting many LRMs. Pad the left
10401 and right of each non-spacing marks. Insert invisible space
10402 between lower and upper characters to prevent composition.
10403
10404 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
10405
10406 * minibuffer.el (minibuffer-complete): Don't get confused when the
10407 function is run twice via different commands (bug#10958).
10408 (complete-with-action): Fix docstring.
10409
10410 2012-03-12 Chong Yidong <cyd@gnu.org>
10411
10412 * nxml/nxml-mode.el (nxml-mode-map): Do not bind C-RET (Bug#6776).
10413 (nxml-completion-at-point-function): New function.
10414 (nxml-mode): Use it.
10415 (nxml-bind-meta-tab-to-complete-flag): Default to t.
10416
10417 * emacs-lisp/package.el (package-unpack, package-unpack-single):
10418 Load generated autoloads file before byte compiling (Bug#10970).
10419 (package--make-autoloads-and-compile): New helper fun.
10420
10421 2012-03-12 Christopher Schmidt <christopher@ch.ristopher.com>
10422
10423 * ibuffer.el (ibuffer-redisplay): Remove another gratuitous error.
10424
10425 2012-03-11 Michael Albinus <michael.albinus@gmx.de>
10426
10427 * autorevert.el (auto-revert-handler): Ensure, that
10428 file-readable-p is applied only for local files or in
10429 auto-revert-tail-mode.
10430
10431 2012-03-11 Andreas Schwab <schwab@linux-m68k.org>
10432
10433 * server.el (server-eval-at): Handle non-tcp connections.
10434 Decode result string.
10435
10436 * server.el (server-msg-size): New constant.
10437 (server-reply-print): New function.
10438 (server-eval-and-print): Use it.
10439 (server-eval-at): Use server-quote-arg and server-unquote-arg.
10440 Handle -print-nonl.
10441
10442 2012-03-11 Christopher Schmidt <christopher@ch.ristopher.com>
10443
10444 * ibuffer.el (ibuffer-redisplay): Remove gratuitous error
10445 (Bug#10987).
10446
10447 2012-03-11 Chong Yidong <cyd@gnu.org>
10448
10449 * simple.el (goto-line): Doc fix (Bug#9938).
10450
10451 * subr.el (save-window-excursion): Doc fix (Bug#9979).
10452
10453 * dabbrev.el (dabbrev--find-expansion): Update progress reporter
10454 when finished (Bug#10963).
10455
10456 2012-03-11 Martin Rudalics <rudalics@gmx.at>
10457
10458 * window.el (split-window-below): Fix bug in case where
10459 split-window-keep-point is nil (Bug#10971).
10460
10461 2012-03-11 Juri Linkov <juri@jurta.org>
10462
10463 * replace.el (replace-highlight): Set isearch-word to nil
10464 unconditionally. (Bug#10887)
10465
10466 2012-03-10 Eli Zaretskii <eliz@gnu.org>
10467
10468 * net/mairix.el (mairix-replace-invalid-chars): Rename from
10469 mairix-replace-illegal-chars; all callers changed. Don't remove
10470 ^, ~, and = characters: they are meaningful in mairix search specs.
10471 (mairix-widget-create-query): Add usage information about mairix
10472 search forms: negating words, searching for substrings, etc.
10473
10474 2012-03-10 Jae-hyeon Park <jae-hyeon.park@desy.de> (tiny change)
10475
10476 * international/fontset.el (font-encoding-alist): Add an entry for
10477 ksx1001 (Bug#5667).
10478
10479 2012-03-10 Richard Stallman <rms@gnu.org>
10480
10481 * mail/sendmail.el (mail-encode-header):
10482 Set rfc2047-encode-encoded-words.
10483
10484 * mail/mail-utils.el (mail-quote-printable): Quote multibyte chars.
10485
10486 * mail/rmail.el (rmail-buffers-swapped-p): Don't assume dead
10487 view buffer means not swapped.
10488 (rmail-view-buffer-kill-buffer-hook): Give buf name in error msg.
10489 (rmail-write-region-annotate): Error if real text has disappeared.
10490
10491 * epa-mail.el (epa-mail-encrypt): Bind inhibit-read-only.
10492
10493 2012-03-10 Chong Yidong <cyd@gnu.org>
10494
10495 * emulation/cua-rect.el (cua--init-rectangles):
10496 * emulation/cua-base.el (cua--init-keymaps):
10497 Add delete-forward-char to remappings (Bug#9666).
10498
10499 2012-03-10 Martin Rudalics <rudalics@gmx.at>
10500
10501 * speedbar.el (speedbar-unhighlight-one-tag-line):
10502 Avoid unhighlighting due to frame switching (Bug#10275).
10503
10504 2012-03-10 Chong Yidong <cyd@gnu.org>
10505
10506 * minibuffer.el (completion-in-region, completion-help-at-point):
10507 Give the completion field overlay a high priority (Bug#6830).
10508
10509 * dired.el (dired-goto-file): Recognize absolute file name
10510 listings (Bug#7126).
10511 (dired-goto-file-1): New helper function.
10512 (dired-toggle-read-only): Inhibit warnings.
10513
10514 2012-03-09 Michael Albinus <michael.albinus@gmx.de>
10515
10516 * net/dbus.el (dbus-property-handler): Return empty array if
10517 there are no properties.
10518
10519 2012-03-09 Leo Liu <sdl.web@gmail.com>
10520
10521 * savehist.el (savehist-printable): Stricter check for string
10522 value (Bug#10937).
10523
10524 2012-03-09 Eli Zaretskii <eliz@gnu.org>
10525
10526 * mail/smtpmail.el (smtpmail-send-it):
10527 Bind coding-system-for-write to *-unix, so that FCC files are kept in
10528 valid mbox format.
10529
10530 2012-03-09 Glenn Morris <rgm@gnu.org>
10531
10532 * files.el (dir-locals-find-file):
10533 Don't check result is regular, readable.
10534 (dir-locals-read-from-file): Demote errors.
10535
10536 2012-03-08 Eli Zaretskii <eliz@gnu.org>
10537
10538 * international/quail.el (quail-insert-kbd-layout):
10539 Insert invisible LRM characters before each character in a keyboard
10540 layout cell, to prevent their reordering by bidi display engine.
10541 For details, see the discussion in
10542 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00085.html.
10543
10544 2012-03-08 Alan Mackenzie <acm@muc.de>
10545
10546 * progmodes/cc-cmds.el (c-mark-function): Make it leave a mark at
10547 the starting position; make it extend the marked region when
10548 invoked repeatedly - all under appropriate circumstances.
10549 Fixes bugs #5525, #10906.
10550
10551 2012-03-08 Glenn Morris <rgm@gnu.org>
10552
10553 * files.el (locate-dominating-file, dir-locals-find-file):
10554 Undo 2012-03-06 change.
10555
10556 2012-03-07 Eli Zaretskii <eliz@gnu.org>
10557
10558 * international/quail.el (quail-help):
10559 Force bidi-paragraph-direction be left-to-right. See discussion in
10560 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00062.html
10561 for the reason.
10562
10563 2012-03-07 Michael Albinus <michael.albinus@gmx.de>
10564
10565 Avoid superfluous registering of signals. (Bug#10807)
10566
10567 * notifications.el (notifications-on-action-object)
10568 (notifications-on-close-object): New defvars.
10569 (notifications-on-action-signal, notifications-on-closed-signal):
10570 Unregister the signal if not needed any longer.
10571 (notifications-notify): Register `notifications-action-signal' or
10572 `notifications-closed-signal', if :on-action or :on-close has been
10573 passed as argument.
10574
10575 2012-03-07 Chong Yidong <cyd@gnu.org>
10576
10577 * cus-start.el: Avoid x-select-enable-clipboard-manager warning on
10578 non-X platforms.
10579
10580 2012-03-06 Glenn Morris <rgm@gnu.org>
10581
10582 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
10583 (x-disown-selection-internal, x-get-selection-internal):
10584 Doc fix (add arglist signatures). (Bug#10783)
10585
10586 2012-03-06 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
10587
10588 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
10589 Handle breakpoints with no "type".
10590
10591 2012-03-06 Glenn Morris <rgm@gnu.org>
10592
10593 * files.el (locate-dominating-file): Add optional predicate argument.
10594 (dir-locals-find-file): Make use of above change.
10595
10596 2012-03-06 Thien-Thi Nguyen <ttn@gnuvola.org>
10597
10598 * info.el (Info-insert-dir): Also try "dir.gz".
10599
10600 2012-03-06 Glenn Morris <rgm@gnu.org>
10601
10602 * files.el (dir-locals-find-file):
10603 Ignore non-readable or non-regular files. (Bug#10928)
10604
10605 * files.el (locate-dominating-file): Doc fix.
10606
10607 2012-03-06 Adam Spiers <emacs@adamspiers.org> (tiny change)
10608
10609 * calendar/calendar.el (calendar-set-mode-line):
10610 `getenv' returns a string. (Bug#10951)
10611
10612 2012-03-05 Leo Liu <sdl.web@gmail.com>
10613
10614 * simple.el (backward-delete-char-untabify): Constrain point to
10615 field (Bug#10939).
10616
10617 * eshell/em-cmpl.el (eshell-cmpl-initialize): Fix shift-tab key.
10618
10619 2012-03-05 Chong Yidong <cyd@gnu.org>
10620
10621 * simple.el (count-words): If called from Lisp, return the word
10622 count, for symmetry with `count-lines'. Arglist changed.
10623 (count-words--message): Args changed. Consolidate counting code
10624 from count-words and count-words-region.
10625 (count-words-region): Caller changed.
10626 (count-lines-region): Make it an obsolete alias.
10627
10628 2012-03-04 Tassilo Horn <tassilo@member.fsf.org>
10629
10630 * saveplace.el (save-place-to-alist)
10631 (save-place-ignore-files-regexp): Allow value nil to disable this
10632 feature.
10633
10634 2012-03-04 Chong Yidong <cyd@gnu.org>
10635
10636 * faces.el (face-spec-reset-face): For the default face, reset the
10637 attributes to default values (Bug#10748).
10638
10639 2012-03-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
10640
10641 * mail/emacsbug.el (report-emacs-bug-hook): Fix up thinko in
10642 previous patch: Check `message-send-mail-function', and not the
10643 default function (bug#10897).
10644
10645 2012-03-04 Michael Albinus <michael.albinus@gmx.de>
10646
10647 * notifications.el (notifications-on-action-signal)
10648 (notifications-on-closed-signal): Check for unique service name of
10649 incoming event. Fix error in removing entry.
10650 (top): Register for signals with wildcard service name.
10651 (notifications-notify): Use daemon unique service name for map entries.
10652
10653 2012-03-04 Chong Yidong <cyd@gnu.org>
10654
10655 * cus-start.el: Make x-select-enable-clipboard-manager customizable.
10656
10657 2012-03-04 Glenn Morris <rgm@gnu.org>
10658
10659 * abbrev.el (copy-abbrev-table, abbrev-table-p)
10660 (abbrev-minor-mode-table-alist, define-abbrev, abbrev-insert)
10661 (expand-abbrev, define-abbrev-table): Doc fixes.
10662
10663 2012-03-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
10664
10665 * mail/emacsbug.el (report-emacs-bug-hook): Look at the value of
10666 `message-default-send-mail-function' and not `send-mail-function'
10667 when doing the prompting for `sendmail-query-once' before sending
10668 in Message buffers (bug#10897).
10669
10670 * net/tls.el (open-tls-stream): Don't set the dont-query-on-exit flag.
10671 This is inconsistent with all the other stream functions, which leave
10672 the setting up to the higher levels (if so wanted) (bug#10931).
10673
10674 2012-03-02 Alan Mackenzie <acm@muc.de>
10675
10676 Depessimize the handling of very large macros.
10677
10678 * progmodes/cc-engine.el (c-macro-cache, c-macro-cache-start-pos):
10679 (c-macro-cache-syntactic): New variables to implement a one
10680 element macro cache.
10681 (c-invalidate-macro-cache): New function.
10682 (c-beginning-of-macro, c-end-of-macro, c-syntactic-end-of-macro):
10683 Adapt to use the new cache.
10684 (c-state-safe-place): Use better the cache of safe positions.
10685 (c-state-semi-nonlit-pos-cache)
10686 (c-state-semi-nonlit-pos-cache-limit):
10687 New variables for...
10688 (c-state-semi-safe-place): New function. Here, in a macro is "safe".
10689 (c-invalidate-state-cache-1): New stuff for c-state-semi-safe-place.
10690 (c-in-literal, c-literal-limits, c-determine-limit-get-base):
10691 Use c-state-semi-safe-place.
10692
10693 * progmodes/cc-langs.el (c-get-state-before-change-functions):
10694 Add c-invalidate-macro-cache to the C, C++, Obj entries.
10695
10696 2012-03-02 Michael Albinus <michael.albinus@gmx.de>
10697
10698 * jka-compr.el (jka-compr-call-process):
10699 Apply `file-accessible-directory-p' only when the default directory is
10700 not remote.
10701
10702 2012-03-01 Michael Albinus <michael.albinus@gmx.de>
10703
10704 * files.el (file-equal-p): Fix docstring. Avoid unnecessary
10705 access of FILE2, if FILE1 does not exist.
10706
10707 * net/tramp-sh.el (tramp-remote-process-environment): Add "PAGER=\"\"".
10708 Reported by Robert Lupton the Good <rhl@astro.princeton.edu>.
10709
10710 * vc/vc-git.el (vc-git--call): Enable `inhibit-null-byte-detection'.
10711 Add "PAGER=" to `process-environment'.
10712
10713 2012-03-01 Michael R. Mauger <mmaug@yahoo.com>
10714
10715 * progmodes/sql.el: Bug fix
10716 (sql-get-login-ext): Save login values in globals.
10717 (sql-get-login): Use new version of `sql-get-login-ext'.
10718 (sql-interactive-mode): Set global `sql-connection' to nil.
10719 (sql-connect): Set global values for connection.
10720 (sql-product-interactive): Save global values as buffer local.
10721
10722 2012-02-29 Leo Liu <sdl.web@gmail.com>
10723
10724 * abbrev.el (define-abbrevs): Reset sys to nil.
10725
10726 2012-02-28 Thierry Volpiatto <thierry.volpiatto@gmail.com>
10727
10728 * files.el (file-equal-p): Rename from `files-equal-p'.
10729 Return nil when one or both files don't exist.
10730 (file-subdir-of-p): Now only top directory must exists,
10731 return nil if it doesn't.
10732 (copy-directory): No need to test with `file-subdir-of-p' after
10733 creating dir.
10734 * net/tramp.el (tramp-file-name-for-operation): Rename `files-equal-p'
10735 to `file-equal-p'.
10736
10737 2012-02-28 Glenn Morris <rgm@gnu.org>
10738
10739 * shell.el (shell-mode):
10740 * progmodes/vhdl-mode.el (wildcard-to-regexp, file-expand-wildcards):
10741 * play/landmark.el (landmark-font-lock-face-O):
10742 * play/handwrite.el (handwrite):
10743 * play/gomoku.el (gomoku-O):
10744 * net/browse-url.el (browse-url-browser-display):
10745 * international/mule.el (define-charset):
10746 * htmlfontify.el (hfy-etags-cmd, hfy-face-attr-for-class):
10747 * filesets.el (filesets-find-file-delay):
10748 * eshell/em-xtra.el (eshell-xtra):
10749 * eshell/em-unix.el (eshell-grep):
10750 * emulation/viper.el (viper-mode):
10751 * emacs-lisp/regexp-opt.el (regexp-opt-group):
10752 * emacs-lisp/easymenu.el (easy-menu-define):
10753 * calendar/timeclock.el (timeclock-use-display-time):
10754 * bs.el (bs-mode):
10755 * bookmark.el (bookmark-save-flag):
10756 Doc fix (standardize possessive apostrophe usage).
10757
10758 2012-02-27 Chong Yidong <cyd@gnu.org>
10759
10760 * emulation/viper-cmd.el (viper-intercept-ESC-key):
10761 Fix key-binding lookup for ESC key (Bug#9146).
10762
10763 * font-lock.el (font-lock-specified-p): Rename from
10764 font-lock-spec-present. Callers changed.
10765
10766 2012-02-27 Daniel Hackney <dan@haxney.org>
10767
10768 * emacs-lisp/package.el (package-compute-transaction):
10769 Handle holding a package version to t in package-load-list.
10770
10771 2012-02-26 Michael Albinus <michael.albinus@gmx.de>
10772
10773 * net/tramp.el (tramp-inodes, tramp-devices): Initialize with 0.
10774 (tramp-get-inode, tramp-get-device): Use cached values.
10775
10776 2012-02-26 Alan Mackenzie <acm@muc.de>
10777
10778 Check there is a font-lock specification before doing initial
10779 fontification.
10780
10781 * font-core.el (font-lock-mode): Move the conditional from
10782 :after-hook to font-lock-initial-fontify.
10783 (font-lock-default-function): Move the check for a specification
10784 to font-lock-spec-present.
10785
10786 * font-lock.el (font-lock-initial-fontify): Call ...
10787 (font-lock-spec-present): New function.
10788
10789 2012-02-26 Jim Blandy <jimb@red-bean.com>
10790
10791 * progmodes/gdb-mi.el (gdb-mi-quote): New function.
10792 (gdb-send): Apply it to the operand of the '-interpreter-exec
10793 console' command, so that we can pass arguments with (say) quotes
10794 in them. Store exact string sent in gdb-debug-log (Bug#10765).
10795
10796 2012-02-26 Chong Yidong <cyd@gnu.org>
10797
10798 * help-fns.el (describe-function-1): Clarify description of
10799 remapping (Bug#10844).
10800
10801 * files.el (files-equal-p): Doc fix.
10802 (file-subdir-of-p): Doc fix. Convert loop macro to plain Lisp,
10803 and quit the loop once a mismatch is found.
10804
10805 2012-02-25 Juanma Barranquero <lekktu@gmail.com>
10806
10807 * bs.el (bs--show-with-configuration): Don't throw an error
10808 if the window cannot be split; otherwise, subsequent calls to
10809 bs-show fail, restoring a stale window config. (Bug#10882)
10810
10811 2012-02-25 Jan Djärv <jan.h.d@swipnet.se>
10812
10813 * term/ns-win.el (global-map): Bind ns-drag-file to
10814 ns-find-file (Bug#5855, Bug#10050).
10815
10816 2012-02-25 Andreas Schwab <schwab@linux-m68k.org>
10817
10818 * calendar/parse-time.el (parse-time-string): Allow extractor to
10819 return nil.
10820
10821 2012-02-25 Michael Albinus <michael.albinus@gmx.de>
10822
10823 * net/tramp.el (tramp-file-name-for-operation):
10824 Add `files-equal-p' and `file-subdir-of-p'.
10825
10826 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
10827 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
10828 Add COPY-CONTENTS argument.
10829
10830 2012-02-25 Chong Yidong <cyd@gnu.org>
10831
10832 Add custom groups for VC backends, for consistency with vc-bzr.
10833
10834 * vc/vc-arch.el (vc-arch):
10835 * vc/vc-cvs.el (vc-cvs):
10836 * vc/vc-git.el (vc-git):
10837 * vc/vc-hg.el (vc-hg):
10838 * vc/vc-mtn.el (vc-mtn):
10839 * vc/vc-rcs.el (vc-rcs):
10840 * vc/vc-sccs.el (vc-sccs):
10841 * vc/vc-svn.el (vc-svn): New customization group (Bug#10871).
10842 All relevant defcustoms reassigned.
10843
10844 2012-02-25 Chong Yidong <cyd@gnu.org>
10845
10846 * newcomment.el (comment-styles): Add autoload (Bug#10868).
10847
10848 * term/x-win.el (x-initialize-window-system): Reduce default for
10849 x-selection-timeout to 5 seconds (Bug#8869).
10850
10851 2012-02-24 Thierry Volpiatto <thierry.volpiatto@gmail.com>
10852
10853 * files.el (files-equal-p, file-subdir-of-p): New functions.
10854 (copy-directory): Error when trying to copy a directory on itself.
10855 Add missing copy-contents arg to tramp handler.
10856 * dired-aux.el (dired-copy-file-recursive): Same.
10857 (dired-create-files): Modify destination when source is equal to
10858 dest when copying files.
10859 Return also when dest is a subdir of source. (Bug#10489)
10860
10861 2012-02-24 Michael Albinus <michael.albinus@gmx.de>
10862
10863 * net/ange-ftp.el (ange-ftp-parse-netrc): Suppress comment lines.
10864 (Bug#10874)
10865
10866 2012-02-23 Alan Mackenzie <acm@muc.de>
10867
10868 * emacs-lisp/easy-mmode.el (define-minor-mode): Add extra
10869 parameter "after-hook:" to allow the expansion to run code after
10870 the execution of the mode hooks.
10871
10872 * font-lock.el (font-lock-initial-fontify): New function extracted
10873 from font-lock-mode-internal.
10874
10875 * font-core.el (font-lock-mode): Call font-lock-initial-fontify in
10876 :after-hook.
10877
10878 2012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
10879
10880 * minibuffer.el: Make sure cycling is reset upon edit with icomplete.el.
10881 (completion--cache-all-sorted-completions): New function.
10882 (completion-all-sorted-completions): Use it.
10883 (completion--do-completion, minibuffer-force-complete):
10884 Use it to re-instate the flush hook.
10885
10886 * icomplete.el (icomplete-completions): Replace last fix with a better
10887 one (bug#10850).
10888
10889 2012-02-23 Dmitry Gutov <dgutov@yandex.ru>
10890
10891 * emacs-lisp/lisp.el (beginning-of-defun-raw): Don't call end-of-defun
10892 when it might call us back infinitely (bug#10797).
10893
10894 2012-02-23 Glenn Morris <rgm@gnu.org>
10895
10896 * minibuffer.el (completion-category-overrides): Doc fix.
10897
10898 2012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
10899
10900 * minibuffer.el (completion-table-with-context): Fix inf-loop.
10901 Reported by Aaron S. Hawley <aaron.s.hawley@gmail.com>.
10902
10903 2012-02-23 Glenn Morris <rgm@gnu.org>
10904
10905 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case)
10906 (authors-obsolete-files-regexps, authors-ignored-files)
10907 (authors-ambiguous-files, authors-renamed-files-alist):
10908 Add more entries.
10909
10910 2012-02-23 Juri Linkov <juri@jurta.org>
10911
10912 * isearch.el (isearch-occur): Sync interactive spec with occur's
10913 new feature in `occur-read-primary-args'. Doc fix. (Bug#10705)
10914
10915 * replace.el (occur-menu-map): Add menu item for `occur-edit-mode'.
10916
10917 2012-02-22 Juri Linkov <juri@jurta.org>
10918
10919 * international/mule-cmds.el (read-char-by-name): Use \` and \'.
10920 (ucs-insert): Doc fix. Check for hex digits in the string.
10921 Don't display `nil' in the error message. (Bug#10857)
10922
10923 2012-02-22 Alan Mackenzie <acm@muc.de>
10924
10925 * progmodes/cc-mode.el: Revert change #2012-02-06T22:08:41Z!larsi@gnus.org from 2012-02-06.
10926
10927 2012-02-22 Glenn Morris <rgm@gnu.org>
10928
10929 * ffap.el (ffap-c-path):
10930 * man.el (Man-header-file-path): Handle multiarch. (Bug#10702)
10931
10932 2012-02-22 Chong Yidong <cyd@gnu.org>
10933
10934 * custom.el (load-theme): Doc fix.
10935
10936 2012-02-22 Glenn Morris <rgm@gnu.org>
10937
10938 * dired-x.el (dired-guess-shell-alist-default):
10939 Remove escape sequences from nroff output. (Bug#172)
10940
10941 2012-02-21 Glenn Morris <rgm@gnu.org>
10942
10943 * vc/emerge.el (emerge-defvar-local):
10944 Set `permanent-local' property rather than unused `preserved'.
10945
10946 * textmodes/picture.el (picture-delete-char): New alias.
10947 (picture-mode-map): Use it. (Bug#10860)
10948 (picture-mode): Doc fix.
10949
10950 2012-02-21 Juanma Barranquero <lekktu@gmail.com>
10951
10952 * newcomment.el (uncomment-region-default): Remove unused binding.
10953
10954 2012-02-21 Glenn Morris <rgm@gnu.org>
10955
10956 * textmodes/picture.el (picture-motion, picture-motion-reverse)
10957 (picture-self-insert, picture-tab-chars): Doc fix.
10958 (picture-mode-map): Fix C-a, C-e.
10959
10960 2012-02-20 Glenn Morris <rgm@gnu.org>
10961
10962 * emacs-lisp/authors.el (authors-aliases): Add another entry.
10963
10964 2012-02-20 Leo Liu <sdl.web@gmail.com>
10965
10966 * icomplete.el (icomplete-completions): Check FROM arg before
10967 passing to substring (Bug#10850).
10968
10969 2012-02-19 Chong Yidong <cyd@gnu.org>
10970
10971 * comint.el: Require ansi-color.
10972 (comint-output-filter-functions): Add ansi-color-process-output.
10973
10974 * ansi-color.el: Don't set comint-output-filter-functions; it is
10975 now in the initial value defined in comint.el.
10976 (ansi-color-apply-face-function): New variable.
10977 (ansi-color-apply-on-region): Use it.
10978 (ansi-color-apply-overlay-face): New function.
10979
10980 * shell.el (shell): No need to require ansi-color.
10981 (shell-mode): Use ansi-color-apply-face-function to highlight
10982 color escapes using font-lock-face property (Bug#10835).
10983
10984 2012-02-19 Chong Yidong <cyd@gnu.org>
10985
10986 * vc/ediff-init.el (ediff-strip-mode-line-format): Handle non-list
10987 mode-line formats (Bug#10839).
10988
10989 2012-02-18 Glenn Morris <rgm@gnu.org>
10990
10991 * mail/rmail.el (rmail-dont-reply-to-names): Mark as obsolete.
10992
10993 * mail/undigest.el (unforward-rmail-message): Doc fix.
10994
10995 * saveplace.el (save-place-ignore-files-regexp): Add :version.
10996
10997 2012-02-18 Eli Zaretskii <eliz@gnu.org>
10998
10999 * international/characters.el (script-list): Sync with the latest
11000 Unicode Character Database.
11001
11002 2012-02-18 Andreas Schwab <schwab@linux-m68k.org>
11003
11004 * international/titdic-cnv.el: Remove duplicate coding tag.
11005 * language/cham.el: Likewise.
11006 * language/tai-viet.el: Likewise.
11007
11008 2012-02-18 Glenn Morris <rgm@gnu.org>
11009
11010 * calendar/cal-menu.el (cal-menu-diary-menu, cal-menu-goto-menu):
11011 * calendar/calendar.el (diary-file, diary-bahai-entry-symbol)
11012 (calendar-bahai-all-holidays-flag, calendar-other-dates):
11013 * calendar/diary-lib.el (diary-abbreviated-year-flag):
11014 * calendar/holidays.el (holiday-bahai-holidays)
11015 (calendar-holidays, list-holidays):
11016 Use utf-8 Bahá'í in doc-strings, menus, etc.
11017
11018 2012-02-17 Tassilo Horn <tassilo@member.fsf.org>
11019
11020 * saveplace.el (save-place-ignore-files-regexp): New variable
11021 allowing for excluding files from saving their location of point.
11022 The default value matches the temporary commit message editing
11023 files from Git, SVN, Bazaar, and Mercurial.
11024 (save-place-to-alist): Use it.
11025
11026 2012-02-17 Lawrence Mitchell <wence@gmx.li>
11027 Stefan Monnier <monnier@iro.umontreal.ca>
11028
11029 * newcomment.el (uncomment-region-default): Don't leave extra space
11030 when an arg is provided (bug#8150).
11031
11032 2012-02-17 Teodor Zlatanov <tzz@lifelogs.com>
11033
11034 * net/gnutls.el (gnutls-trustfiles): Fix Cygwin bundle location.
11035
11036 2012-02-17 Glenn Morris <rgm@gnu.org>
11037
11038 * net/socks.el: Require network-stream. (Bug#10599)
11039
11040 2012-02-17 Kenichi Handa <handa@m17n.org>
11041
11042 * international/charprop.el:
11043 * international/uni-name.el:
11044 * international/uni-old-name.el:
11045 * international/uni-comment.el: Regenerate.
11046
11047 2012-02-16 Glenn Morris <rgm@gnu.org>
11048
11049 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits):
11050 Interactively in calendar buffer, give an error if not on a date.
11051
11052 2012-02-15 Glenn Morris <rgm@gnu.org>
11053
11054 * shell.el (shell-delimiter-argument-list):
11055 Revert 2011-02-17 change. (Bug#8027)
11056
11057 2012-02-15 Chong Yidong <cyd@gnu.org>
11058
11059 * minibuffer.el (completion-at-point-functions): Doc fix.
11060
11061 * custom.el (defcustom): Doc fix; note use of defvar.
11062
11063 2012-02-15 Glenn Morris <rgm@gnu.org>
11064
11065 * mail/smtpmail.el (smtpmail-smtp-user, smtpmail-stream-type):
11066 Doc fixes.
11067
11068 2012-02-14 Glenn Morris <rgm@gnu.org>
11069
11070 * mail/smtpmail.el (smtpmail-query-smtp-server): Give it a doc.
11071
11072 2012-02-14 Lars Ingebrigtsen <larsi@gnus.org>
11073
11074 * mail/smtpmail.el (smtpmail-query-smtp-server): Fix typo in the
11075 way the ports list is computed.
11076 (smtpmail-query-smtp-server): Prompt the user for a port number if
11077 we can't connect to any of the standard ports (bug#10810).
11078
11079 2012-02-14 Teodor Zlatanov <tzz@lifelogs.com>
11080
11081 * net/gnutls.el (gnutls-trustfiles): Add Cygwin location.
11082
11083 2012-02-13 Glenn Morris <rgm@gnu.org>
11084
11085 * minibuffer.el (read-file-name): Doc fix. (Bug#10798)
11086
11087 2012-02-13 Teodor Zlatanov <tzz@lifelogs.com>
11088
11089 * net/gnutls.el (gnutls-trustfiles): New variable.
11090 (gnutls-negotiate): Use it.
11091
11092 2012-02-13 Lars Ingebrigtsen <larsi@gnus.org>
11093
11094 * simple.el (mail-user-agent): Mention that `gnus-user-agent' only
11095 does its stuff if Gnus is running.
11096
11097 2012-02-13 Alan Mackenzie <acm@muc.de>
11098
11099 Fix a loop in c-set-fl-decl-start.
11100
11101 * progmodes/cc-engine.el (c-set-fl-decl-start): Add a check that
11102 c-backward-syntactic-ws actually moves backwards.
11103
11104 2012-02-13 Leo Liu <sdl.web@gmail.com>
11105
11106 * net/rcirc.el (rcirc-markup-attributes): Move point to the
11107 beginning so that all \C-o chars are removed.
11108
11109 2012-02-12 Teodor Zlatanov <tzz@lifelogs.com>
11110
11111 * net/gnutls.el (gnutls-algorithm-priority): Add missing :group tag.
11112
11113 2012-02-12 Alan Mackenzie <acm@muc.de>
11114
11115 Fix infinite loop with long macros.
11116 * progmodes/cc-engine.el (c-state-safe-place): Handle macros properly.
11117
11118 2012-02-12 Chong Yidong <cyd@gnu.org>
11119
11120 * window.el (display-buffer): Doc fix (Bug#10785).
11121
11122 2012-02-12 Glenn Morris <rgm@gnu.org>
11123
11124 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
11125 (x-disown-selection-internal, x-get-selection-internal):
11126 Sync docs with the xselect.c versions.
11127
11128 * allout-widgets.el: Add missing license notice.
11129
11130 2012-02-11 Glenn Morris <rgm@gnu.org>
11131
11132 * select.el (x-get-selection-internal, x-own-selection-internal)
11133 (x-disown-selection-internal):
11134 * x-dnd.el (x-get-selection-internal): Update declarations.
11135
11136 * vc/log-view.el (vc-diff-internal): Remove unneeded declaration.
11137
11138 * window.el (window-sides-slots):
11139 * tool-bar.el (tool-bar-position):
11140 * term/xterm.el (xterm-extra-capabilities):
11141 * ses.el (ses-self-reference-early-detection):
11142 * progmodes/verilog-mode.el (verilog-auto-declare-nettype)
11143 (verilog-auto-wire-type)
11144 (verilog-auto-delete-trailing-whitespace)
11145 (verilog-auto-reset-blocking-in-non, verilog-auto-inst-sort)
11146 (verilog-auto-tieoff-declaration):
11147 * progmodes/sql.el (sql-login-hook, sql-ansi-statement-starters)
11148 (sql-oracle-statement-starters, sql-oracle-scan-on):
11149 * progmodes/prolog.el (prolog-align-comments-flag)
11150 (prolog-indent-mline-comments-flag, prolog-object-end-to-0-flag)
11151 (prolog-left-indent-regexp, prolog-paren-indent-p)
11152 (prolog-paren-indent, prolog-parse-mode, prolog-keywords)
11153 (prolog-types, prolog-mode-specificators)
11154 (prolog-determinism-specificators, prolog-directives)
11155 (prolog-electric-newline-flag, prolog-hungry-delete-key-flag)
11156 (prolog-electric-dot-flag)
11157 (prolog-electric-dot-full-predicate-template)
11158 (prolog-electric-underscore-flag, prolog-electric-tab-flag)
11159 (prolog-electric-if-then-else-flag, prolog-electric-colon-flag)
11160 (prolog-electric-dash-flag, prolog-old-sicstus-keys-flag)
11161 (prolog-program-switches, prolog-prompt-regexp)
11162 (prolog-debug-on-string, prolog-debug-off-string)
11163 (prolog-trace-on-string, prolog-trace-off-string)
11164 (prolog-zip-on-string, prolog-zip-off-string)
11165 (prolog-use-standard-consult-compile-method-flag)
11166 (prolog-use-prolog-tokenizer-flag, prolog-imenu-flag)
11167 (prolog-imenu-max-lines, prolog-info-predicate-index)
11168 (prolog-underscore-wordchar-flag, prolog-use-sicstus-sd)
11169 (prolog-char-quote-workaround):
11170 * progmodes/cc-vars.el (c-defun-tactic):
11171 * net/tramp.el (tramp-encoding-command-interactive)
11172 (tramp-local-end-of-line):
11173 * net/soap-client.el (soap-client):
11174 * net/netrc.el (netrc-file):
11175 * net/gnutls.el (gnutls):
11176 * minibuffer.el (completion-category-overrides)
11177 (completion-cycle-threshold)
11178 (completion-pcm-complete-word-inserts-delimiters):
11179 * man.el (Man-name-local-regexp):
11180 * mail/feedmail.el (feedmail-display-full-frame):
11181 * international/characters.el (glyphless-char-display-control):
11182 * eshell/em-ls.el (eshell-ls-date-format):
11183 * emacs-lisp/cl-indent.el (lisp-lambda-list-keyword-alignment)
11184 (lisp-lambda-list-keyword-parameter-indentation)
11185 (lisp-lambda-list-keyword-parameter-alignment):
11186 * doc-view.el (doc-view-image-width, doc-view-unoconv-program):
11187 * dired-x.el (dired-omit-verbose):
11188 * cus-theme.el (custom-theme-allow-multiple-selections):
11189 * calc/calc.el (calc-highlight-selections-with-faces)
11190 (calc-lu-field-reference, calc-lu-power-reference)
11191 (calc-note-threshold):
11192 * battery.el (battery-mode-line-limit):
11193 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
11194 (archive-7z-update):
11195 * allout.el (allout-prefixed-keybindings)
11196 (allout-unprefixed-keybindings)
11197 (allout-inhibit-auto-fill-on-headline)
11198 (allout-flattened-numbering-abbreviation):
11199 * allout-widgets.el (allout-widgets-auto-activation)
11200 (allout-widgets-icons-dark-subdir)
11201 (allout-widgets-icons-light-subdir, allout-widgets-icon-types)
11202 (allout-widgets-theme-dark-background)
11203 (allout-widgets-theme-light-background)
11204 (allout-widgets-item-image-properties-emacs)
11205 (allout-widgets-item-image-properties-xemacs)
11206 (allout-widgets-run-unit-tests-on-load)
11207 (allout-widgets-time-decoration-activity)
11208 (allout-widgets-hook-error-post-time)
11209 (allout-widgets-track-decoration):
11210 Add missing :version tags to new defcustoms and defgroups.
11211
11212 * progmodes/sql.el (sql-ansi-statement-starters)
11213 (sql-oracle-statement-starters): Add custom type.
11214
11215 * progmodes/prolog.el: Remove leading '*' from defcustom docs.
11216 (prolog-system-version): Give it a type.
11217
11218 2012-02-11 Eli Zaretskii <eliz@gnu.org>
11219
11220 * term/pc-win.el (x-select-text, x-selection-owner-p)
11221 (x-own-selection-internal, x-disown-selection-internal)
11222 (x-get-selection-internal): Sync doc strings and argument lists
11223 with xselect.c, common-win.el and x-win.el. (Bug#10783)
11224
11225 2012-02-11 Leo Liu <sdl.web@gmail.com>
11226
11227 * progmodes/python.el (python-end-of-statement): Fix infinite
11228 loop. (Bug#10788)
11229
11230 2012-02-10 Glenn Morris <rgm@gnu.org>
11231
11232 * international/mule-cmds.el (unify-8859-on-encoding-mode)
11233 (unify-8859-on-decoding-mode): Properly mark as obsolete.
11234
11235 2012-02-10 Lars Ingebrigtsen <larsi@gnus.org>
11236
11237 * mail/emacsbug.el (report-emacs-bug-hook): Query the user first
11238 about SMTP before checking the From header.
11239
11240 * mail/sendmail.el (sendmail-query-user-about-smtp): Refactor out
11241 into own function for reuse by emacsbug.el.
11242
11243 2012-02-10 Leo Liu <sdl.web@gmail.com>
11244
11245 * subr.el (condition-case-unless-debug): Rename from
11246 condition-case-no-debug. All callers changed.
11247 (with-demoted-errors): Fix caller.
11248
11249 * vc/diff-mode.el (diff-auto-refine-mode, diff-hunk):
11250 * nxml/rng-valid.el (rng-do-some-validation):
11251 * emacs-lisp/package.el (package-refresh-contents)
11252 (package-menu-execute):
11253 * desktop.el (desktop-create-buffer):
11254 * font-lock.el (lisp-font-lock-keywords-2): Caller changed.
11255
11256 2012-02-10 Glenn Morris <rgm@gnu.org>
11257
11258 * textmodes/bibtex.el:
11259 Add missing :version tags for new/changed defcustoms.
11260
11261 * files.el (remote-file-name-inhibit-cache): Doc fixes.
11262
11263 2012-02-09 Lars Ingebrigtsen <larsi@rusty>
11264
11265 * mail/smtpmail.el (smtpmail-user-mail-address): New function.
11266 (smtpmail-via-smtp): Use it, or fall back on the From address.
11267 (smtpmail-send-it): Ditto.
11268
11269 2012-02-09 Stefan Monnier <monnier@iro.umontreal.ca>
11270
11271 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
11272 Don't fallback on byte-compile-defvar. Optimize (defvar foo) away.
11273 (byte-compile-tmp-var): New const.
11274 (byte-compile-defvar): Use it to minimize .elc size.
11275 Just use `defvar' rather than simulate it (bug#10761).
11276
11277 2012-02-09 Glenn Morris <rgm@gnu.org>
11278
11279 * files.el (rename-uniquely): Doc fix. (Bug#3806)
11280
11281 * progmodes/cc-guess.el (c-guess-offset-threshold, c-guess-region-max):
11282 Add :version tags.
11283
11284 * progmodes/compile.el (compilation-error-screen-columns)
11285 (compilation-first-column, compilation-filter-start): Doc fixes.
11286
11287 * vc/log-view.el (log-view-toggle-entry-display):
11288 * vc/vc.el (vc-merge, vc-pull): Doc fixes.
11289
11290 * mail/emacsbug.el (report-emacs-bug-can-use-osx-open)
11291 (report-emacs-bug-can-use-xdg-email):
11292 (report-emacs-bug-insert-to-mailer): Doc fixes.
11293 (report-emacs-bug): Message fix.
11294
11295 * net/browse-url.el (browse-url-can-use-xdg-open)
11296 (browse-url-xdg-open): Doc fixes.
11297
11298 * electric.el (electric-indent-mode, electric-pair-mode)
11299 (electric-layout-rules, electric-layout-mode): Doc fixes.
11300 (electric-pair-pairs, electric-pair-skip-self): Add :version tags.
11301
11302 2012-02-08 Martin Rudalics <rudalics@gmx.at>
11303
11304 * server.el (server-unselect-display): Don't inadvertently kill
11305 the current buffer. (Bug#10729)
11306
11307 2012-02-08 Glenn Morris <rgm@gnu.org>
11308
11309 * progmodes/sql.el (sql-port, sql-connection-alist, sql-list-all)
11310 (sql-list-table): Doc fixes.
11311
11312 * image-mode.el (image-transform-minor-mode-map, image-transform-mode):
11313 Comment out (does nothing).
11314
11315 * completion.el (dynamic-completion-mode):
11316 * dirtrack.el (dirtrack-debug-mode):
11317 * electric.el (electric-layout-mode):
11318 * epa-mail.el (epa-mail-mode, epa-global-mail-mode):
11319 * face-remap.el (text-scale-mode, buffer-face-mode):
11320 * iimage.el (iimage-mode):
11321 * image-mode.el (image-transform-mode):
11322 * minibuffer.el (completion-in-region-mode):
11323 * scroll-lock.el (scroll-lock-mode):
11324 * simple.el (next-error-follow-minor-mode):
11325 * tar-mode.el (tar-subfile-mode):
11326 * tooltip.el (tooltip-mode):
11327 * vcursor.el (vcursor-use-vcursor-map):
11328 * wid-browse.el (widget-minor-mode):
11329 * emulation/tpu-edt.el (tpu-edt-mode):
11330 * emulation/tpu-extras.el (tpu-cursor-free-mode):
11331 * international/iso-ascii.el (iso-ascii-mode):
11332 * language/thai-util.el (thai-word-mode):
11333 * mail/supercite.el (sc-minor-mode):
11334 * net/goto-addr.el (goto-address-mode):
11335 * net/rcirc.el (rcirc-multiline-minor-mode, rcirc-track-minor-mode):
11336 * progmodes/cwarn.el (cwarn-mode):
11337 * progmodes/flymake.el (flymake-mode):
11338 * progmodes/glasses.el (glasses-mode):
11339 * progmodes/hideshow.el (hs-minor-mode):
11340 * progmodes/pascal.el (pascal-outline-mode):
11341 * textmodes/enriched.el (enriched-mode):
11342 * vc/smerge-mode.el (smerge-mode):
11343 Doc fixes (minor mode argument).
11344
11345 2012-02-07 Eli Zaretskii <eliz@gnu.org>
11346
11347 * ls-lisp.el (ls-lisp-sanitize): New function.
11348 (ls-lisp-insert-directory): Use it to fix or remove any elements
11349 in file-alist with missing attributes. (Bug#4673)
11350
11351 2012-02-07 Alan Mackenzie <acm@muc.de>
11352
11353 Fix spurious recognition of c-in-knr-argdecl.
11354
11355 * progmodes/cc-engine.el (c-in-knr-argdecl): Check for '=' in a
11356 putative K&R region.
11357
11358 2012-02-07 Alan Mackenzie <acm@muc.de>
11359
11360 * progmodes/cc-engine.el (c-forward-objc-directive):
11361 Prevent looping in "#pragma mark @implementation".
11362
11363 2012-02-07 Michael Albinus <michael.albinus@gmx.de>
11364
11365 * notifications.el (notifications-on-closed-signal): Make `reason'
11366 optional. (Bug#10744)
11367
11368 2012-02-07 Glenn Morris <rgm@gnu.org>
11369
11370 * emacs-lisp/easy-mmode.el (define-minor-mode):
11371 Doc fixes for the macro and the mode it defines.
11372
11373 * image.el (imagemagick-types-inhibit): Doc fix.
11374
11375 * cus-start.el (imagemagick-render-type): Add it.
11376
11377 2012-02-06 Lars Ingebrigtsen <larsi@gnus.org>
11378
11379 * progmodes/cc-mode.el (c-standard-font-lock-fontify-region-function):
11380 Set the default at load time, too, so that `font-lock-fontify-buffer'
11381 can be called without setting up the entire mode first. This fixes
11382 a bug in `mm-inline-text' with C MIME parts.
11383
11384 2012-02-06 Chong Yidong <cyd@gnu.org>
11385
11386 * simple.el (list-processes--refresh): Delete exited processes
11387 (Bug#8094).
11388
11389 * comint.el (comint-next-prompt): next-single-char-property-change
11390 and prev-single-char-property-change never return nil (Bug#8657).
11391
11392 * custom.el (defcustom): Doc fix (Bug#9711).
11393
11394 2012-02-05 Chong Yidong <cyd@gnu.org>
11395
11396 * cus-edit.el (custom-variable-reset-backup): Quote the value
11397 before storing it in the customized-value property (Bug#6712).
11398 (custom-display): Add a customization type tag.
11399 (custom-buffer-create-internal): Improve tooltip message.
11400
11401 * wid-edit.el (widget-field-value-get): New optional arg to
11402 suppress trailing whitespace truncation.
11403 (character): Use it (Bug#2689).
11404
11405 2012-02-05 Andreas Schwab <schwab@linux-m68k.org>
11406
11407 * progmodes/gud.el (gud-pv): Use pv instead of pv1.
11408 * progmodes/gdb-mi.el (gud-pp): Use pp instead of pp1.
11409
11410 2012-02-05 Chong Yidong <cyd@gnu.org>
11411
11412 * cus-edit.el (custom-variable-value-create): For mismatched
11413 types, show the current value (Bug#7600).
11414
11415 * custom.el (defcustom): Doc fix.
11416
11417 2012-02-05 Glenn Morris <rgm@gnu.org>
11418
11419 * font-lock.el (lisp-font-lock-keywords-2): Add with-wrapper-hook.
11420
11421 2012-02-05 Juanma Barranquero <lekktu@gmail.com>
11422
11423 * emacs-lisp/pp.el (pp-to-string): Use `with-temp-buffer'.
11424 (pp-buffer): Use `ignore-errors', `looking-at-p'.
11425 (pp-last-sexp): Use `looking-at-p'.
11426
11427 2012-02-04 Glenn Morris <rgm@gnu.org>
11428
11429 * files.el (revert-buffer):
11430 Doc fix (mention revert-buffer-in-progress-p).
11431
11432 * emacs-lisp/ert-x.el (ert-simulate-command):
11433 Check deferred-action-list (which is obsolete) is bound.
11434
11435 * subr.el (with-wrapper-hook): Doc fixes.
11436
11437 * simple.el (filter-buffer-substring-functions)
11438 (buffer-substring-filters, filter-buffer-substring): Doc fixes.
11439
11440 2012-02-04 Lars Ljung <lars@matholka.se> (tiny change)
11441
11442 * eshell/esh-ext.el (eshell-windows-shell-file): Match "cmdproxy"
11443 anywhere in shell-file-name, not just at the beginning. (Bug#10523)
11444
11445 2012-02-04 Leo Liu <sdl.web@gmail.com>
11446
11447 * emacs-lisp/smie.el: Fix dead link (Bug#10711).
11448
11449 2012-02-04 Glenn Morris <rgm@gnu.org>
11450
11451 * image.el (image-extension-data): Add obsolete alias.
11452
11453 * isearch.el (isearch-update): Doc fix.
11454
11455 * facemenu.el (list-colors-display): Doc fix (minor rephrasing).
11456
11457 * ido.el (ido-find-file): Doc fix (ido-toggle-vc not on any key).
11458
11459 2012-02-03 Glenn Morris <rgm@gnu.org>
11460
11461 * image.el (image-animated-p): Doc fix. Use image-animated-types.
11462 (image-animate-timeout): Doc fix.
11463
11464 * image-mode.el (image-animate-loop, image-toggle-animation): Doc fixes.
11465
11466 2012-02-02 Glenn Morris <rgm@gnu.org>
11467
11468 * server.el (server-auth-dir): Doc fix.
11469 (server-eval-at): Doc fix. Give an explicit error if !server-use-tcp.
11470
11471 * subr.el (run-mode-hooks): Doc fix.
11472
11473 2012-02-02 Juri Linkov <juri@jurta.org>
11474
11475 * image-mode.el (image-toggle-display-image): Remove tautological
11476 `major-mode' from the `derived-mode-p' test.
11477
11478 2012-02-02 Kenichi Handa <handa@m17n.org>
11479
11480 * composite.el (compose-region): Cancel previous change.
11481
11482 2012-02-02 Kenichi Handa <handa@m17n.org>
11483
11484 * composite.el (compose-region, compose-string): Signal error for
11485 a null string component (Bug#6988).
11486
11487 2012-02-01 Chong Yidong <cyd@gnu.org>
11488
11489 * view.el (view-buffer-other-window, view-buffer-other-frame):
11490 Handle special modes like view-buffer (Bug#10650).
11491 (view-buffer): Simplify.
11492
11493 * frame.el (set-frame-font): Tweak meaning of third argument.
11494
11495 * dynamic-setting.el (font-setting-change-default-font):
11496 Use set-frame-font (Bug#9982).
11497
11498 2012-02-01 Glenn Morris <rgm@gnu.org>
11499
11500 * progmodes/compile.el (compilation-internal-error-properties):
11501 Respect compilation-first-column in the "*compilation*" buffer.
11502
11503 * emacs-lisp/easy-mmode.el (define-minor-mode):
11504 Relax :variable's test for a named function.
11505
11506 2012-01-31 Alan Mackenzie <acm@muc.de>
11507
11508 * progmodes/cc-engine.el (c-guess-basic-syntax): CASE 5B.1: Fix an
11509 off by one error.
11510
11511 2012-01-31 Chong Yidong <cyd@gnu.org>
11512
11513 * frame.el (set-frame-font): New arg ALL-FRAMES.
11514
11515 * menu-bar.el (menu-set-font): Use set-frame-font.
11516
11517 * faces.el (face-spec-reset-face): Don't apply unspecified
11518 attribute values to the default face.
11519
11520 2012-01-31 Juanma Barranquero <lekktu@gmail.com>
11521
11522 * progmodes/cwarn.el (cwarn): Remove dead link.
11523 (cwarn-configuration, cwarn-verbose, cwarn-mode-text, cwarn-load-hook):
11524 Remove * from defcustom docstrings.
11525 (turn-on-cwarn-mode): Make obsolete.
11526 (c-at-toplevel-p): Remove compatibility code for Emacs 20.3 and older.
11527 (turn-on-cwarn-mode-if-enabled): Call `cwarn-mode'.
11528
11529 2012-01-31 Glenn Morris <rgm@gnu.org>
11530
11531 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
11532 Fix :variable handling of mode a symbol not equal to modefun.
11533 Allow named functions to be used as the cdr of :variable.
11534
11535 2012-01-30 Glenn Morris <rgm@gnu.org>
11536
11537 * emacs-lisp/authors.el (authors-fixed-entries):
11538 Remove reference to deleted file rnewspost.el.
11539
11540 2012-01-29 Juanma Barranquero <lekktu@gmail.com>
11541
11542 * window.el (window-with-parameter): Remove unused variable `windows'.
11543 (window--side-check): Remove unused variable `code'.
11544 (window--resize-siblings): Remove unused variable `first'.
11545 (adjust-window-trailing-edge): Remove unused variable `failed'.
11546 (window-deletable-p, window--delete): Remove unused variable `buffer'.
11547 Use `let', not `let*'.
11548 (balance-windows-2): Remove unused variable `found'.
11549 (window--state-put-2): Remove unused variable `splits'.
11550 (window-state-put): Remove unused variable `selected'.
11551 (same-window-p): Use `string-match-p'.
11552 (display-buffer-assq-regexp): Remove unused variable `value'.
11553 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
11554 Mark argument ALIST as ignored.
11555 (pop-to-buffer): Remove unused variable `old-window'.
11556
11557 2012-01-29 Eli Zaretskii <eliz@gnu.org>
11558
11559 * jka-cmpr-hook.el (jka-compr-compression-info-list): Support .lz
11560 and .lzma compressed files.
11561
11562 2012-01-29 Chong Yidong <cyd@gnu.org>
11563
11564 * frame.el (window-system-default-frame-alist): Doc fix.
11565
11566 * dynamic-setting.el (font-setting-change-default-font): Don't
11567 change the default face if SET-FONT argument is non-nil (Bug#9982).
11568
11569 2012-01-29 Samuel Bronson <naesten@gmail.com> (tiny change)
11570
11571 * custom.el (defcustom): Add doc link to Lisp manual (Bug#10635).
11572
11573 2012-01-29 Syver Enstad <syver.enstad@cisco.com> (tiny change)
11574
11575 * progmodes/gud.el (pdb): Give pdb full paths, to allow setting
11576 breakpoints in files outside current directory (Bug#6098).
11577
11578 2012-01-29 Chong Yidong <cyd@gnu.org>
11579
11580 * progmodes/python.el: Require ansi-color at top-level.
11581
11582 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-abbrev-table):
11583 Define and use in Emacs Lisp mode (Bug#9360).
11584 (lisp-mode-abbrev-table): Add doc.
11585 (lisp-mode-variables): Don't set local-abbrev-table.
11586 (lisp-interaction-mode): Use emacs-lisp-mode-abbrev-table.
11587
11588 2012-01-28 Roland Winkler <winkler@gnu.org>
11589
11590 * textmodes/bibtex.el (bibtex-vec-incr): Fix docstring.
11591
11592 2012-01-28 Roland Winkler <winkler@gnu.org>
11593
11594 * textmodes/bibtex.el (bibtex-entry-alist): New function.
11595 (bibtex-set-dialect): Use it. Either set global values of
11596 dialect-dependent variables or bind these variables buffer-locally
11597 (Bug#10254).
11598 (bibtex-mode): Call bibtex-set-dialect via
11599 hack-local-variables-hook.
11600 (bibtex-dialect): Update docstring.
11601 Add safe-local-variable predicate.
11602 (bibtex-entry-alist, bibtex-field-alist): Initialize via
11603 bibtex-set-dialect.
11604 (bibtex-mode-map): Define menu for each dialect.
11605 (bibtex-entry): Fix docstring.
11606
11607 2012-01-28 Chong Yidong <cyd@gnu.org>
11608
11609 * eshell/esh-arg.el (eshell-quote-argument): New function.
11610
11611 * eshell/esh-ext.el (eshell-invoke-batch-file):
11612 * eshell/em-unix.el (eshell/cat, eshell/du): Use it to quote the
11613 first arg to eshell-parse-command (Bug#10523).
11614
11615 2012-01-28 Drew Adams <drew.adams@oracle.com>
11616
11617 * net/ange-ftp.el (ange-ftp-canonize-filename): Check, that
11618 `default-directory' is non-nil.
11619
11620 2012-01-28 Eli Zaretskii <eliz@gnu.org>
11621
11622 * mail/emacsbug.el (report-emacs-bug): Fill the potentially long
11623 line that displays system-configuration-options. (Bug#9924)
11624
11625 2012-01-28 Drew Adams <drew.adams@oracle.com>
11626
11627 * descr-text.el (describe-char): Show information about POS, in
11628 addition to information about the character at POS. Improve and
11629 update the doc string. Change "code point" to "code point in
11630 charset", to avoid confusion with the character's Unicode code
11631 point shown above that. (Bug#10129)
11632
11633 2012-01-28 Eli Zaretskii <eliz@gnu.org>
11634
11635 * descr-text.el (describe-char): Show the raw character, not only
11636 its display form at POS. Suggested by Kenichi Handa <handa@m17n.org>.
11637 See http://lists.gnu.org/archive/html/emacs-devel/2012-01/msg00760.html
11638 for the reasons.
11639
11640 2012-01-28 Phil Hagelberg <phil@hagelb.org>
11641
11642 * emacs-lisp/package.el (package-install):
11643 Run package-refresh-contents if there is no archive yet (Bug#9798).
11644
11645 2012-01-28 Chong Yidong <cyd@gnu.org>
11646
11647 * emacs-lisp/package.el (package-maybe-load-descriptor):
11648 New function, split from package-maybe-load-descriptor.
11649 (package-maybe-load-descriptor): Use it.
11650 (package-download-transaction): Fully load required packages
11651 inside the loop, so that `require' calls work (Bug#10593).
11652 (package-install): No need to call package-initialize now.
11653
11654 2012-01-28 Chong Yidong <cyd@gnu.org>
11655
11656 * simple.el (deactivate-mark): Doc fix (Bug#8614).
11657
11658 * tooltip.el (tooltip-mode): Doc fix.
11659 (tooltip-use-echo-area): Mark as obsolete (Bug#6595).
11660
11661 * frame.el (set-cursor-color): Doc fix (Bug#352).
11662
11663 * mail/rmail.el (rmail-start-mail): Add send-action again (Bug#10625).
11664 (rmail-mail-return): Switch to NEWBUF only if it is non-nil.
11665
11666 * cus-edit.el (custom-buffer-create-internal): Fix search button
11667 action (Bug#10542).
11668 (customize-unsaved, customize-saved): Doc fix (Bug#10541).
11669
11670 2012-01-27 Eduard Wiebe <usenet@pusto.de>
11671
11672 * dired.el (dired-mark-files-regexp):
11673 Include any subdirectory components. (Bug#10445)
11674
11675 2012-01-27 Mike Lamb <mrlamb@gmail.com> (tiny change)
11676
11677 * pcmpl-unix.el (pcmpl-ssh-known-hosts):
11678 Handle [host]:port syntax. (Bug#10533)
11679
11680 2012-01-27 Alex Harsanyi <harsanyi@mac.com>
11681
11682 * xml.el (xml-parse-tag): Fix parsing of comments (Bug#10405).
11683
11684 2012-01-26 Glenn Morris <rgm@gnu.org>
11685
11686 * dired-x.el (dired-bind-jump): Use ctl-x-map and ctl-x-4-map.
11687 * term.el (term-raw-escape-map): Use Control-X-prefix.
11688 * vc/vc-hooks.el (vc-prefix-map): Use ctl-x-map. (Bug#10566)
11689
11690 2012-01-25 Martin Rudalics <rudalics@gmx.at>
11691
11692 * window.el (window-state-get, window--state-get-1): Don't deal
11693 with fixed-sizeness of windows. Simplify code.
11694
11695 2012-01-25 Jérémy Compostella <jeremy.compostella@gmail.com>
11696
11697 * window.el (window--state-get-1, window--state-put-2):
11698 Don't save and restore the mark.
11699
11700 2012-01-25 Chong Yidong <cyd@gnu.org>
11701
11702 * custom.el (custom-variable-p): Doc fix.
11703
11704 2012-01-25 Glenn Morris <rgm@gnu.org>
11705
11706 * dired.el (dired-goto-file): Handle some of the more common
11707 characters that `ls -b' escapes. (Bug#10596)
11708
11709 * progmodes/compile.el (compilation-next-error-function):
11710 Respect compilation-first-column in the "*compilation*" buffer.
11711 * progmodes/grep.el (grep-first-column): New variable. (Bug#10594)
11712
11713 * vc/vc.el (vc-modify-change-comment): Scoping fix. (Bug#10513)
11714
11715 2012-01-24 Glenn Morris <rgm@gnu.org>
11716
11717 * pcmpl-gnu.el (pcomplete/tar): Handle " - ". (Bug#10457)
11718
11719 2012-01-24 Julien Danjou <julien@danjou.info>
11720
11721 * color.el (color-rgb-to-hsl): Fix value computing.
11722 (color-hue-to-rgb): New function.
11723 (color-hsl-to-rgb): New function.
11724 (color-clamp, color-saturate-hsl, color-saturate-name)
11725 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
11726 (color-lighten-name, color-darken-hsl, color-darken-name): New function.
11727
11728 2012-01-24 Glenn Morris <rgm@gnu.org>
11729
11730 * vc/vc-rcs.el (vc-rcs-create-tag):
11731 * vc/vc-sccs.el (vc-sccs-create-tag):
11732 Fix argument spec to be what vc-create-tag expects. (Bug#10515)
11733
11734 2012-01-23 Mike Lamb <mrlamb@gmail.com> (tiny change)
11735
11736 * eshell/esh-util.el (eshell-read-hosts-file):
11737 Skip comment lines. (Bug#10549)
11738
11739 * eshell/em-unix.el (pcomplete/ssh): Remove. (Bug#10548)
11740
11741 2012-01-23 Juanma Barranquero <lekktu@gmail.com>
11742
11743 * subr.el (display-delayed-warnings): Doc fix.
11744 (collapse-delayed-warnings): New function to collapse identical
11745 adjacent warnings.
11746 (delayed-warnings-hook): Add it.
11747
11748 2012-01-22 Michael Albinus <michael.albinus@gmx.de>
11749
11750 * net/tramp.el (tramp-action-login): Set connection property "login-as".
11751
11752 * net/tramp-sh.el (tramp-methods): Add user spec to "pscp" and "psftp".
11753 (tramp-default-user-alist): Don't add "pscp".
11754 (tramp-do-copy-or-rename-file-out-of-band): Use connection
11755 property "login-as", if set. (Bug#10530)
11756
11757 2012-01-21 Michael Albinus <michael.albinus@gmx.de>
11758
11759 * net/tramp-sh.el (tramp-default-user-alist): Don't add "plink",
11760 "plink1" and "psftp". (Bug#10530)
11761
11762 2012-01-21 Kenichi Handa <handa@m17n.org>
11763
11764 * international/mule-cmds.el (prefer-coding-system): Show a
11765 warning message if the default value of file-name-coding-system
11766 was not changed.
11767
11768 2012-01-21 Jérémy Compostella <jeremy.compostella@gmail.com>
11769
11770 * windmove.el (windmove-reference-loc):
11771 Fix windmove-reference-loc miscalculation.
11772
11773 2012-01-21 Jay Belanger <jay.p.belanger@gmail.com>
11774
11775 * calc/calc-units.el (math-put-default-units): Don't use "1" as a
11776 default unit.
11777
11778 2012-01-21 Glenn Morris <rgm@gnu.org>
11779
11780 * international/mule.el (auto-coding-alist): Add .tbz.
11781
11782 * files.el (local-enable-local-variables): Doc fix.
11783 (inhibit-local-variables-regexps): Rename from
11784 inhibit-first-line-modes-regexps. Keep old name as obsolete alias.
11785 Doc fix. Add some extensions from auto-coding-alist.
11786 (inhibit-local-variables-suffixes):
11787 Rename from inhibit-first-line-modes-suffixes. Doc fix.
11788 (inhibit-local-variables-p):
11789 New function, extracted from set-auto-mode-1.
11790 (set-auto-mode): Doc fix. Respect inhibit-local-variables-regexps.
11791 (set-auto-mode-1): Doc fix. Use inhibit-local-variables-p.
11792 (hack-local-variables): Doc fix. Make the mode-only case
11793 respect enable-local-variables and friends.
11794 Respect inhibit-local-variables-regexps for file-locals, but
11795 not for directory-locals.
11796 (set-visited-file-name):
11797 Take account of inhibit-local-variables-regexps.
11798 Whether it applies may change as the file name is changed.
11799 * jka-cmpr-hook.el (jka-compr-install):
11800 * jka-compr.el (jka-compr-uninstall):
11801 Update for inhibit-first-line-modes-suffixes name change.
11802
11803 2012-01-20 Martin Rudalics <rudalics@gmx.at>
11804
11805 * help-macro.el (make-help-screen): Temporarily restore original
11806 binding for minor-mode-map-alist (Bug#10454).
11807
11808 2012-01-19 Julien Danjou <julien@danjou.info>
11809
11810 * color.el (color-name-to-rgb): Use the white color to find the max
11811 color component value and return correctly computed values.
11812 (color-name-to-rgb): Add missing float conversion for max value.
11813
11814 2012-01-19 Martin Rudalics <rudalics@gmx.at>
11815
11816 * window.el (window--state-get-1, window-state-get): Do not use
11817 special state value for window-persistent-parameters.
11818 Rename argument IGNORE to WRITABLE. Rewrite doc-string.
11819 (window--state-put-2): Reset all window parameters to nil before
11820 assigning values of persistent parameters.
11821
11822 2012-01-18 Alan Mackenzie <acm@muc.de>
11823
11824 Eliminate sluggishness and hangs in fontification of "semicolon
11825 deserts".
11826
11827 * progmodes/cc-engine.el (c-state-nonlit-pos-interval):
11828 Change value 10000 -> 3000.
11829 (c-state-safe-place): Reformulate so it doesn't stack up an
11830 infinite number of wrong entries in c-state-nonlit-pos-cache.
11831 (c-determine-limit-get-base, c-determine-limit): New functions to
11832 determine backward search limits disregarding literals.
11833 (c-find-decl-spots): Amend commenting.
11834 (c-cheap-inside-bracelist-p): New function which detects "={".
11835
11836 * progmodes/cc-fonts.el
11837 (c-make-font-lock-BO-decl-search-function): Give a limit to a
11838 backward search.
11839 (c-font-lock-declarations): Fix an occurrence of point being
11840 undefined. Check additionally for point being in a bracelist or
11841 near a macro invocation without a semicolon so as to avoid a
11842 fruitless time consuming search for a declarator. Give a more
11843 precise search limit for declarators using the new
11844 c-determine-limit.
11845
11846 2012-01-18 Glenn Morris <rgm@gnu.org>
11847
11848 * files.el (auto-mode-alist, inhibit-first-line-modes-regexps)
11849 (set-auto-mode): Doc fixes.
11850
11851 2012-01-17 Glenn Morris <rgm@gnu.org>
11852
11853 * isearch.el (search-nonincremental-instead): Fix doc typo.
11854
11855 * dired.el (dired-insert-directory): Handle newlines in directory name.
11856 (dired-build-subdir-alist): Unescape newlines in directory name.
11857
11858 2012-01-17 Michael Albinus <michael.albinus@gmx.de>
11859
11860 * net/tramp.el (tramp-local-end-of-line): New defcustom.
11861 (tramp-action-login, tramp-action-yesno, tramp-action-yn)
11862 (tramp-action-terminal): Use it. (Bug#10530)
11863
11864 2012-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
11865
11866 * minibuffer.el (completion--replace): Strip properties (bug#10062).
11867
11868 2012-01-16 Martin Rudalics <rudalics@gmx.at>
11869
11870 * window.el (window-state-ignored-parameters): Remove variable.
11871 (window--state-get-1): Rename argument MARKERS to IGNORE.
11872 Handle persistent window parameters. Make copy of clone-of
11873 parameter only if requested. (Bug#10348)
11874 (window--state-put-2): Install a window parameter only if it has
11875 a non-nil value or an existing parameter shall be overwritten.
11876
11877 2012-01-15 Michael Albinus <michael.albinus@gmx.de>
11878
11879 * net/tramp-sh.el (tramp-remote-path): Set tramp-autoload cookie.
11880
11881 2012-01-14 Eli Zaretskii <eliz@gnu.org>
11882
11883 * info.el (Info-toc-build): If the Info file has no "Up" pointer,
11884 don't pass the (nil) value of `upnode' to string-match.
11885
11886 2012-01-14 Chong Yidong <cyd@gnu.org>
11887
11888 * startup.el (command-line): Fix X resource class for cursorColor.
11889 Fix values recognized by the cursorBlink resource.
11890
11891 2012-01-14 Paul Eggert <eggert@cs.ucla.edu>
11892
11893 * epg.el (epg--make-temp-file): Avoid permission race condition
11894 when running on old Emacs versions (bug#10403).
11895
11896 2012-01-14 Glenn Morris <rgm@gnu.org>
11897
11898 * dired.el (dired-get-filename): Fix 'verbatim case of previous change.
11899
11900 2012-01-13 Alan Mackenzie <acm@muc.de>
11901
11902 Fix filling for when filladapt mode is enabled.
11903
11904 * progmodes/cc-cmds.el (c-fill-paragraph): In the invocation of
11905 c-mask-paragraph, pass in `fill-paragraph' rather than
11906 `fill-region-as-paragraph'. (This is a reversion of a previous
11907 change.)
11908 * progmodes/cc-mode.el (c-basic-common-init):
11909 Make fill-paragraph-handle-comment buffer local and set it to nil.
11910
11911 2012-01-13 Glenn Morris <rgm@gnu.org>
11912
11913 * dired.el (dired-switches-escape-p): New function.
11914 (dired-insert-directory): Use dired-switches-escape-p.
11915 (dired-get-filename): Undo "\ " quoting if needed. (Bug#10469)
11916
11917 * find-dired.el (find-ls-option): Doc fix. (Bug#10262)
11918
11919 2012-01-12 Glenn Morris <rgm@gnu.org>
11920
11921 * mail/sendmail.el (mail-mode): Update paragraph-separate for
11922 changes in adaptive-fill-regexp. (Bug#10276)
11923
11924 2012-01-11 Alan Mackenzie <acm@muc.de>
11925
11926 Fix Emacs bug #10463 - put `widen's around the critical spots.
11927
11928 * progmodes/cc-engine.el (c-in-literal, c-literal-limits): Put a
11929 widen around each invocation of c-state-pp-to-literal. Remove an
11930 unused let variable.
11931
11932 2012-01-11 Glenn Morris <rgm@gnu.org>
11933
11934 * dired-aux.el (dired-do-shell-command): Fix */? logic. (Bug#6561)
11935 Doc fix.
11936
11937 2012-01-10 Chong Yidong <cyd@gnu.org>
11938
11939 * net/network-stream.el (network-stream-open-starttls):
11940 Avoid emitting a confusing error message when the server gives a bad
11941 response to the capability command.
11942
11943 2012-01-10 Glenn Morris <rgm@gnu.org>
11944
11945 * mail/unrmail.el (unrmail): Tweak previous change.
11946
11947 2012-01-09 Chong Yidong <cyd@gnu.org>
11948
11949 * custom.el (custom-safe-themes): Use SHA-256 for hashing.
11950
11951 2012-01-08 Alan Mackenzie <acm@muc.de>
11952
11953 Optimise font locking in long enum definitions.
11954
11955 * progmodes/cc-fonts.el (c-font-lock-declarations): Add an extra
11956 arm to a cond form to handle enums.
11957 * progmodes/cc-langs.el (c-enums-contain-decls): New lang variable.
11958 * progmodes/cc-mode.el (c-font-lock-fontify-region): Correct a typo.
11959
11960 2012-01-07 Paul Eggert <eggert@cs.ucla.edu>
11961
11962 * files.el (move-file-to-trash): Preserve default file modes on error.
11963 (Bug#10401)
11964
11965 2012-01-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
11966
11967 * faces.el (set-face-attribute): Clarify the meaning of the nil
11968 frame (bug#10294).
11969
11970 * subr.el (with-selected-frame): Mention that the selected frame
11971 is restored (bug#9980).
11972
11973 * ibuffer.el (ibuffer-mode): List the bindings in the corrent map
11974 (bug#9759).
11975
11976 * mail/smtpmail.el (password-cache-add): Remove unused declaration.
11977 (password-read): Don't autoload unused function.
11978
11979 2012-01-07 Juanma Barranquero <lekktu@gmail.com>
11980
11981 * progmodes/which-func.el (which-func-mode): Turn into a
11982 non-interactive function and mark as obsolete (bug#10428).
11983
11984 2012-01-06 Chong Yidong <cyd@gnu.org>
11985
11986 * files.el (hack-dir-local-variables-non-file-buffer): Add doc.
11987 (hack-one-local-variable-eval-safep): Allow 0 arg for minor mode
11988 functions, along with 1 and -1.
11989
11990 2012-01-06 Eli Zaretskii <eliz@gnu.org>
11991
11992 * time.el (display-time-load-average)
11993 (display-time-default-load-average): Doc fixes. See the thread
11994 starting at
11995 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-01/msg00059.html
11996 for the details.
11997
11998 2012-01-06 Glenn Morris <rgm@gnu.org>
11999
12000 * mail/unrmail.el (unrmail): Give an explicit error if the input file
12001 has no messages. (Bug#10377)
12002
12003 * info.el (Info-mode-map): Bind e to end-of-buffer, rather
12004 than Info-edit. (Bug#10385)
12005
12006 * time.el (display-time-load-average, display-time-next-load-average):
12007 Doc fixes.
12008
12009 * emacs-lisp/bytecomp.el (byte-compile-file): Do not propagate a file
12010 local setting of buffer-read-only to the input buffer. (Bug#10419)
12011
12012 * calendar/calendar.el (calendar-mode):
12013 Locally set scroll-margin to 0. (Bug#10379)
12014
12015 2012-01-06 Ulrich Mueller <ulm@gentoo.org>
12016
12017 * play/doctor.el (doctor-death): Escape "," characters. (Bug#10370)
12018
12019 2012-01-05 Glenn Morris <rgm@gnu.org>
12020
12021 * eshell/em-unix.el (diff-no-select): Autoload it.
12022 (eshell/diff): Use diff-no-select. (Bug#10420)
12023
12024 2012-01-05 Chong Yidong <cyd@gnu.org>
12025
12026 * shell.el (shell-dynamic-complete-functions): Revert last change.
12027 (shell-command-completion-function): New function.
12028 (shell-completion-vars): Use it to implement
12029 shell-completion-execonly (Bug#10417).
12030
12031 * custom.el (enable-theme): Don't set custom-safe-themes.
12032
12033 * cus-theme.el (custom-theme-merge-theme):
12034 Ignore custom-enabled-themes and custom-safe-themes.
12035
12036 2012-01-05 Michael R. Mauger <mmaug@yahoo.com>
12037
12038 * progmodes/sql.el (sql-login-hook): Add hook to respond to the
12039 first prompt in `sql-interacive-mode'.
12040 (sql-mode-oracle-font-lock-keywords): Add CONNECT_BY_* builtin
12041 keywords.
12042 (sql-mode-mysql-font-lock-keywords): Add ELSEIF keyword.
12043 (sql-product-interactive): Bug fix: Set `sql-buffer' in
12044 context of original buffer. Invoke `sql-login-hook'.
12045
12046 2012-01-04 Eli Zaretskii <eliz@gnu.org>
12047
12048 * mail/rmail.el (rmail-font-lock-keywords): Accept non-ASCII
12049 letters in cite-prefix.
12050
12051 2012-01-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
12052
12053 * mail/smtpmail.el (smtpmail-stream-type): Mention the `ssl' value.
12054
12055 2012-01-03 Chong Yidong <cyd@gnu.org>
12056
12057 * shell.el (shell-dynamic-complete-functions):
12058 Put pcomplete-completions-at-point, so as to try
12059 comint-filename-completion first (Bug#10417).
12060
12061 2012-01-02 Richard Stallman <rms@gnu.org>
12062
12063 * battery.el (battery-status-function):
12064 Detect when to use battery-yeeloong-sysfs.
12065 (battery-echo-area-format): Add string for Yeeloong.
12066 (battery-linux-proc-apm, battery-linux-proc-acpi): Doc fixes.
12067 (battery-yeeloong-sysfs): New function.
12068
12069 2012-01-02 Chong Yidong <cyd@gnu.org>
12070
12071 * dirtrack.el (dirtrack-list): Eliminate unused third element.
12072 (dirtrack): Merge code for handling relative filenames in prompt
12073 from shell-dir-cookie-watcher.
12074 (dirtrack-debug-message): New arg to avoid excess format calls.
12075
12076 * shell.el (shell-dir-cookie-re): Variable deleted.
12077 (shell-dir-cookie-watcher): Function deleted.
12078 (shell-mode): Don't use shell-dir-cookie-re, since it is redundant
12079 with dirtrack-mode.
12080
12081 2012-01-01 Eli Zaretskii <eliz@gnu.org>
12082
12083 * term/w32-win.el (dynamic-library-alist) <gnutls>:
12084 Load libgnutls-28.dll, from GnuTLS version 3.x, in preference to
12085 libgnutls-26.dll.
12086
12087 2011-12-31 Andreas Schwab <schwab@linux-m68k.org>
12088
12089 * emacs-lisp/bytecomp.el (byte-compile-file): Fix indentation.
12090
12091 2011-12-31 Eli Zaretskii <eliz@gnu.org>
12092
12093 * mail/rmail.el (rmail-show-message-1): Decode any RFC2047 encoded
12094 headers of non-MIME messages, when rmail-enable-mime is non-nil.
12095
12096 2011-12-29 Michael Albinus <michael.albinus@gmx.de>
12097
12098 * net/tramp-sh.el (tramp-find-shell): Set "remote-shell" property
12099 also for alternative shells.
12100 (tramp-open-connection-setup-interactive-shell): Check, whether
12101 the shell is a busybox.
12102 (tramp-send-command): Don't suppress multiple prompts for
12103 busyboxes, it hurts.
12104
12105 2011-12-28 Chong Yidong <cyd@gnu.org>
12106
12107 * progmodes/gdb-mi.el (gdb-get-source-file-list)
12108 (gdb-get-source-file): Move mode line update to
12109 gdb-get-source-file (Bug#10087).
12110
12111 2011-12-25 Chong Yidong <cyd@gnu.org>
12112
12113 * progmodes/gud.el (gud-gdb-fetch-lines-filter): Just use
12114 gud-gdb-marker-filter without taking it as an argument.
12115 (gud-gdb-run-command-fetch-lines): Caller changed.
12116 (gud-gdb-completion-function): New variable.
12117 (gud-gdb-completion-at-point): Use it.
12118 (gud-gdb-completions-1): Split from gud-gdb-completions.
12119
12120 * progmodes/gdb-mi.el (gdb-input): Accept command and handler
12121 function as separate arguments.
12122 (gdb-init-1, gdb-non-stop-handler, gdb-check-target-async)
12123 (gdb-tooltip-print-1, gud-watch, gdb-speedbar-update)
12124 (gdb-var-list-children, gdb-var-set-format, gdb-var-delete-1)
12125 (gdb-var-delete-children, gdb-edit-value, gdb-var-update)
12126 (gdb-stopped, def-gdb-auto-update-trigger)
12127 (gdb-place-breakpoints, gdb-select-thread, gdb-select-frame)
12128 (gdb-get-changed-registers, gdb-get-main-selected-frame):
12129 Callers changed.
12130 (gud-gdbmi-completions): New function.
12131 (gdb): Use it for generating the completion table.
12132
12133 2011-12-24 Alan Mackenzie <acm@muc.de>
12134
12135 Introduce a mechanism to widen the region used in context font
12136 locking. Use this to protect declarations from losing their contexts.
12137
12138 * progmodes/cc-langs.el (c-before-font-lock-functions):
12139 Replace c-set-fl-decl-start with c-change-set-fl-decl-start (Renaming).
12140 (c-before-context-fontification-functions): New defvar, a list of
12141 functions to be run just before context (etc.) font locking.
12142
12143 * progmodes/cc-mode.el (c-extend-font-lock-region-for-macros):
12144 New, functionality extracted from
12145 c-neutralize-syntax-in-and-mark-CPP.
12146 (c-in-after-change-fontification): New variable.
12147 (c-after-change): Set c-in-after-change-fontification.
12148 (c-set-fl-decl-start): Rejig its interface, so it can be called
12149 from both after-change and context fontifying.
12150 (c-change-set-fl-decl-start, c-context-set-fl-decl-start):
12151 New functions.
12152 (c-standard-font-lock-fontify-region-function): New variable.
12153 (c-font-lock-fontify-region): New function.
12154
12155 2011-12-24 Juri Linkov <juri@jurta.org>
12156
12157 * window.el (window--state-get-1): Set `FORCE' arg of `mark' to t.
12158 (Bug#10348)
12159
12160 2011-12-23 Michael Albinus <michael.albinus@gmx.de>
12161
12162 * net/ange-ftp.el (ange-ftp-copy-file-internal): Check for
12163 existence of source file. (Bug#10325)
12164
12165 2011-12-23 Alan Mackenzie <acm@muc.de>
12166
12167 Fix unstable fontification inside templates.
12168
12169 * progmodes/cc-langs.el (c-before-font-lock-functions):
12170 Newly created from the singular version. The (c c++ objc) entry now
12171 additionally has c-set-fl-decl-start. The other languages (apart
12172 from AWK) have that as a single entry.
12173
12174 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
12175 The functionality for "local" declarations has been extracted to
12176 c-set-fl-decl-start.
12177
12178 * progmodes/cc-mode.el (c-common-init, c-after-change):
12179 Changes due to pluralisation of c-before-font-lock-functions.
12180 (c-set-fl-decl-start): New function, extracted from
12181 c-font-lock-enclosing-decls and enhanced.
12182
12183 2011-12-23 Juanma Barranquero <lekktu@gmail.com>
12184
12185 * desktop.el (desktop-internal-v2s): Fix typos in docstring (bug#10353).
12186
12187 2011-12-22 Juri Linkov <juri@jurta.org>
12188
12189 * progmodes/grep.el (rgrep): Fix docstring. (Bug#10185)
12190
12191 2011-12-22 Chong Yidong <cyd@gnu.org>
12192
12193 * vc/vc-hooks.el (vc-keep-workfiles): Doc fix.
12194
12195 2011-12-21 Drew Adams <drew.adams@oracle.com>
12196
12197 * files.el (file-remote-p): Fix docstring. (Bug#10319)
12198
12199 2011-12-21 Jérémy Compostella <jeremy.compostella@gmail.com>
12200
12201 * battery.el (battery-linux-sysfs): Add missing parameters from acpi.
12202
12203 2011-12-21 Teodor Zlatanov <tzz@lifelogs.com>
12204
12205 * progmodes/cfengine.el: Add Version. Improve CFEngine 3.x syntax
12206 highlighting and support. Fix up comments for capitalization.
12207 (cfengine-mode-debug): New var.
12208 (cfengine3-mode): Change the modeline indicator to "CFE3".
12209 (cfengine3-font-lock-keywords): Improve defun highlighting.
12210 (cfengine2-actions): Rename from `cfengine-actions'.
12211 (cfengine2-font-lock-keywords): Rename from
12212 `cfengine-font-lock-keywords'.
12213 (cfengine2-imenu-expression): Rename from
12214 `cfengine-imenu-expression'.
12215 (cfengine2-outline-level): Rename from `cfengine-outline-level'.
12216 (cfengine2-beginning-of-defun): Rename from
12217 `cfengine-beginning-of-defun'.
12218 (cfengine2-end-of-defun): Rename from `cfengine-end-of-defun'.
12219 (cfengine2-indent-line): Rename from `cfengine-indent-line'.
12220 (cfengine2-mode): Rename from `cfengine-mode'. Change the
12221 modeline indicator to "CFE2".
12222 (cfengine-mode): Defalias to `cfengine-auto-mode'.
12223 (cfengine-mode-abbrevs): Mark obsolete.
12224
12225 2011-12-21 Chong Yidong <cyd@gnu.org>
12226
12227 * vc/vc-bzr.el (vc-bzr-rename-file): Don't pass ~ to Bzr in
12228 filename argument.
12229
12230 2011-12-20 Martin Rudalics <rudalics@gmx.at>
12231
12232 * window.el (window-normalize-buffer-to-display): Remove.
12233 (display-buffer): Handle buffer-or-name argument as in Emacs 23.
12234
12235 2011-12-19 Chong Yidong <cyd@gnu.org>
12236
12237 * vc/vc-dir.el (vc-dir-parent-marked-p, vc-dir-children-marked-p):
12238 Don't signal an error in a predicate function; return non-nil.
12239 (vc-dir-mark-file): Move the error here.
12240 (vc-dir-mark-unmark): If acting on the region, keep going if one
12241 of the entries cannot be marked/unmarked.
12242 (vc-dir-mark-all-files): If current entry is a directory, mark
12243 only child files, as documented.
12244
12245 2011-12-19 Vincent Belaïche <vincentb1@users.sourceforge.net>
12246
12247 * ses.el: Ooops... undo changes of 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net, as trunk
12248 branch is feature frozen, and 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net was a feature
12249 addition.
12250
12251 2011-12-18 Jan Djärv <jan.h.d@swipnet.se>
12252
12253 * term/ns-win.el (ns-get-selection-internal)
12254 (ns-store-selection-internal): Declare.
12255 (ns-store-cut-buffer-internal, ns-get-cut-buffer-internal):
12256 Declare as obsolete.
12257 (ns-get-pasteboard, ns-paste-secondary):
12258 Use ns-get-selection-internal.
12259 (ns-set-pasteboard, ns-copy-including-secondary):
12260 Use ns-store-selection-internal.
12261
12262 2011-12-17 Chong Yidong <cyd@gnu.org>
12263
12264 * vc/vc.el (vc-next-action): Doc fix; remove CVS-isms.
12265 (vc-deduce-fileset): Doc fix.
12266
12267 2011-12-16 Andreas Schwab <schwab@linux-m68k.org>
12268
12269 * calc/calc-misc.el (calc-help): Avoid wrapping help message.
12270
12271 2011-12-13 Sam Steingold <sds@gnu.org>
12272
12273 * man.el (Man-getpage-in-background): When running under a
12274 window-system, ignore $MANWIDTH and $COLUMNS.
12275
12276 2011-12-15 Kenichi Handa <handa@m17n.org>
12277
12278 * language/ethio-util.el: Change coding tag to utf-8-emacs.
12279 (setup-ethiopic-environment-internal): Comment out key-binding for
12280 ethio-toggle-punctuation.
12281
12282 2011-12-13 Alan Mackenzie <acm@muc.de>
12283
12284 Add the switch statement to AWK Mode.
12285
12286 * progmodes/cc-awk.el (awk-font-lock-keywords): Add "switch", "case",
12287 "default" to the keywords regexp.
12288
12289 * progmodes/cc-langs.el (c-label-kwds): Let AWK take the same
12290 expression as the rest.
12291 (c-nonlabel-token-key): Allow string literals for AWK.
12292 Refactor for the other modes.
12293
12294 Large brace-block initialisation makes CC Mode slow: Fix.
12295 Tidy up and accelerate c-in-literal, etc. by using the c-parse-state
12296 routines. Limit backward searching in c-font-lock-enclosing.decl.
12297
12298 * progmodes/cc-engine.el (c-state-pp-to-literal): Return the
12299 pp-state and literal type in addition to the limits.
12300 (c-state-safe-place): New defun, extracted from c-state-literal-at.
12301 (c-state-literal-at): Use the above new defun.
12302 (c-slow-in-literal, c-fast-in-literal): Remove.
12303 (c-in-literal, c-literal-limits): Amend to use c-state-pp-to-literal.
12304
12305 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Check for
12306 being in a literal. Add a limit for backward searching.
12307
12308 * progmodes/cc-mode.el (awk-mode): Don't alias c-in-literal to
12309 c-slow-in-literal.
12310
12311 2011-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
12312
12313 * progmodes/pascal.el: Declare `ind' as dyn-bound (bug#10264).
12314
12315 2011-12-13 Martin Rudalics <rudalics@gmx.at>
12316
12317 * window.el (delete-other-windows): Use correct frame in call to
12318 window-with-parameter.
12319
12320 2011-12-12 Daniel Pfeiffer <occitan@t-online.de>
12321
12322 * progmodes/make-mode.el: Bring it up to date with makepp V2.0.
12323 (makefile-make-font-lock-keywords): Extend meaning of `keywords'.
12324 (makefile-gmake-statements, makefile-makepp-statements):
12325 Use it and add new makepp keywords.
12326 (makefile-makepp-font-lock-keywords): Add new patterns.
12327 (makefile-match-function-end): Match new [...] and [[...]].
12328
12329 2011-12-11 Juanma Barranquero <lekktu@gmail.com>
12330
12331 * ses.el (ses-call-printer-return, ses-cell-property-get)
12332 (ses-sym-rowcol, ses-printer-validate, ses-formula-record)
12333 (ses-create-cell-variable, ses-reset-header-string)
12334 (ses-cell-set-formula, ses-repair-cell-reference-all)
12335 (ses-self-reference-early-detection, ses-in-print-area, ses-set-curcell)
12336 (ses-check-curcell, ses-call-printer, ses-adjust-print-width)
12337 (ses-print-cell-new-width, ses-formula-references, ses-relocate-formula)
12338 (ses-aset-with-undo, ses-load, ses-truncate-cell)
12339 (ses-read-column-printer, ses-read-default-printer, ses-insert-row)
12340 (ses-delete-row, ses-delete-column, ses-append-row-jump-first-column)
12341 (ses-kill-override, ses-yank-pop, ses-yank-cells, ses-yank-tsf)
12342 (ses-yank-resize, ses-export-tab, ses-mark-row, ses-mark-column)
12343 (ses-renarrow-buffer, ses-insert-range, ses-insert-ses-range)
12344 (ses-safe-printer, ses-safe-formula, ses-warn-unsafe, ses--clean-!)
12345 (ses--clean-_, ses-range, ses-select, ses-center, ses-center-span)
12346 (ses-dashfill, ses-unsafe): Fix typos and reflow docstrings.
12347
12348 2011-12-11 Vincent Belaïche <vincentb1@users.sourceforge.net>
12349
12350 * ses.el: The overall change is to add cell renaming, that is
12351 setting fancy names for cell symbols other than name matching
12352 "\\`[A-Z]+[0-9]+\\'" regexp .
12353 (ses-create-cell-variable): New defun.
12354 (ses-relocate-formula): Relocate formulas only for cells the
12355 symbols of which are not renamed, i.e. symbols whose names do not
12356 match regexp "\\`[A-Z]+[0-9]+\\'".
12357 (ses-relocate-all): Relocate values only for cells the symbols of
12358 which are not renamed.
12359 (ses-load): Create cells variables as the (ses-cell ...) are read,
12360 in order to check row col consistency with cell symbol name only
12361 for cells that are not renamed.
12362 (ses-replace-name-in-formula): New defun.
12363 (ses-rename-cell): New defun.
12364
12365 2011-12-11 Chong Yidong <cyd@gnu.org>
12366
12367 * progmodes/gdb-mi.el (gdb): Set comint-prompt-regexp, required
12368 for completion via gud-gdb-fetch-lines-filter (Bug#10274).
12369
12370 2011-12-11 Eric Hanchrow <eric.hanchrow@gmail.com>
12371
12372 * window.el (other-window): Fix docstring.
12373
12374 2011-12-10 Eli Zaretskii <eliz@gnu.org>
12375
12376 * mail/rmailsum.el (rmail-header-summary): RFC2047 decode the
12377 `from' or `to' address before taking its substring.
12378 Fixes incorrect display in Rmail summary buffer whereby an RFC2047
12379 encoded name is chopped in the middle of the encoded string, and
12380 thus displayed encoded.
12381
12382 2011-12-10 Juanma Barranquero <lekktu@gmail.com>
12383
12384 * makefile.w32-in (update-subdirs-CMD): Use a Local Variables section.
12385
12386 2011-12-10 Eli Zaretskii <eliz@gnu.org>
12387
12388 * textmodes/texnfo-upd.el: Update commentary. Add a warning not
12389 to use texinfo-update-node and commands that call it if the
12390 Texinfo file uses @node lines without next/prev/up pointers.
12391 Correct outdated description about texinfo-master-menu.
12392 (texinfo-all-menus-update, texinfo-master-menu)
12393 (texinfo-update-node, texinfo-every-node-update)
12394 (texinfo-multiple-files-update): Doc fix. Warn against updating
12395 all the @node lines.
12396 (texinfo-master-menu): Only call texinfo-update-node if the prefix
12397 argument is numeric. Explain better in the doc string what the
12398 function really does.
12399 (texinfo-insert-master-menu-list): Improve the error message
12400 displayed if there's no menu in the Top node.
12401 (Bug#2975) See also this thread:
12402 http://lists.gnu.org/archive/html/emacs-devel/2011-12/msg00156.html.
12403
12404 2011-12-09 Manuel Gómez <mgrojo@gmail.com> (tiny change)
12405
12406 * speedbar.el (speedbar-supported-extension-expressions):
12407 Add .adb and .ads, commonly used for Ada source code (bug#10256).
12408
12409 2011-12-09 Juanma Barranquero <lekktu@gmail.com>
12410
12411 * printing.el (pr-mode-alist):
12412 * simple.el (filter-buffer-substring-functions)
12413 (completion-list-insert-choice-function):
12414 * window.el (window-with-parameter, window-atom-root)
12415 (window-sides-slots, window-size-fixed, window-min-delta)
12416 (window-max-delta, window--resize-mini-window)
12417 (window--resize-child-windows-normal, window-tree)
12418 (delete-other-windows, quit-window, split-window)
12419 (display-buffer-record-window, special-display-buffer-names)
12420 (special-display-regexps, special-display-popup-frame)
12421 (same-window-p, split-window-sensibly)
12422 (display-buffer-overriding-action, display-buffer-alist)
12423 (display-buffer-base-action, display-buffer, switch-to-buffer)
12424 (switch-to-buffer-other-window, switch-to-buffer-other-frame)
12425 (fit-window-to-buffer, recenter-positions)
12426 (mouse-autoselect-window-state, mouse-autoselect-window-select):
12427 * emacs-lisp/syntax.el (syntax-propertize-function): Fix typos
12428 and remove unneeded backslashes in docstrings.
12429
12430 2011-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
12431
12432 * emacs-lisp/lisp-mode.el (defmethod): Add doc-string-elt (bug#10244).
12433
12434 * pcmpl-gnu.el: Don't fail when there is no Makefile nor -f arg.
12435 (pcmpl-gnu-makefile-regexps): Accept "makefile" as well as files that
12436 end in ".mk".
12437 (pcmpl-gnu-make-rule-names): Check "makefile" and ignore errors
12438 when reading the makefile (bug#10116).
12439
12440 2011-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
12441
12442 * pcmpl-gnu.el (pcomplete/make): Also allow filename arguments
12443 (bug#10116).
12444
12445 2011-12-06 Glenn Morris <rgm@gnu.org>
12446
12447 * emacs-lisp/package.el (package-archives): Doc fix re riskiness.
12448
12449 2011-12-06 Chong Yidong <cyd@gnu.org>
12450
12451 * progmodes/cc-fonts.el (c-annotation-face): Use defface.
12452
12453 2011-12-06 Juanma Barranquero <lekktu@gmail.com>
12454
12455 * textmodes/table.el (table-shorten-cell): Fix typo.
12456
12457 2011-12-05 Christopher Genovese <genovese.cr@gmail.com> (tiny change)
12458
12459 * emacs-lisp/assoc.el (aput): Fix return value (bug#10146)
12460
12461 2011-12-05 Eli Zaretskii <eliz@gnu.org>
12462
12463 * descr-text.el (describe-char): Fix display of strong
12464 right-to-left characters and directional embeddings and overrides.
12465
12466 * simple.el (what-cursor-position): Fix display of codepoints of
12467 strong right-to-left characters.
12468
12469 2011-12-05 Chong Yidong <cyd@gnu.org>
12470
12471 * faces.el (read-color): Doc fix.
12472
12473 2011-12-05 Glenn Morris <rgm@gnu.org>
12474
12475 * align.el (align--set-marker): Add doc-string.
12476 Don't try to move something that is not a marker. (Bug#10216)
12477
12478 2011-12-04 Glenn Morris <rgm@gnu.org>
12479
12480 * calendar/appt.el (appt-add): Rewrite the interactive-spec to avoid
12481 overly zealous deletion of trailing whitespace.
12482
12483 2011-12-04 Juanma Barranquero <lekktu@gmail.com>
12484
12485 * server.el (server-delete-client): On Windows, do not try to delete
12486 the only terminal.
12487 (server-process-filter): On Windows, treat requests for a tty frame as
12488 if they were for a GUI frame if the running server is in GUI mode.
12489
12490 2011-12-03 Glenn Morris <rgm@gnu.org>
12491
12492 * textmodes/texinfmt.el (batch-texinfo-format): Doc fix. (Bug#10207)
12493
12494 2011-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
12495
12496 * electric.el: Streamline electric-indent's hook.
12497 (electric-indent-chars): Revert to simple list.
12498 (electric-indent-functions): New var.
12499 (electric-indent-post-self-insert-function): Use it.
12500
12501 * progmodes/prolog.el (prolog-find-value-by-system): Avoid error when
12502 there's no inferior buffer (bug#10196).
12503 (prolog-consult-compile): Don't use toggle-read-only.
12504
12505 2011-12-02 Michael Albinus <michael.albinus@gmx.de>
12506
12507 * net/tramp-sh.el (tramp-maybe-open-connection): Handle user
12508 interrupt. (Bug#10187)
12509
12510 2011-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
12511
12512 * pcmpl-gnu.el (pcomplete/tar): large-file-warn-threshold can be nil
12513 (bug#9160).
12514
12515 * dired-aux.el (dired-query): Don't assume help-char is modifier-free
12516 (bug#10191).
12517
12518 2011-12-02 Juri Linkov <juri@jurta.org>
12519
12520 * info.el (Info-search): Display "end of manual" when Isearch
12521 reaches the end of single-file Info manual. (Bug#9918)
12522
12523 2011-12-02 Eli Zaretskii <eliz@gnu.org>
12524
12525 * isearch.el (isearch-message-prefix): Run the input method part
12526 of the prompt through bidi-string-mark-left-to-right. (Bug#10183)
12527
12528 2011-12-02 Juri Linkov <juri@jurta.org>
12529
12530 * isearch.el (isearch-occur): Use `word-search-regexp' for
12531 `isearch-word'.
12532 (isearch-search-and-update): Add condition for `isearch-word' and
12533 call `word-search-regexp'. (Bug#10145)
12534
12535 2011-12-01 Glenn Morris <rgm@gnu.org>
12536
12537 * eshell/em-hist.el (eshell-hist-initialize):
12538 Handle eshell-history-size nil and HISTSIZE set or unset.
12539 (eshell-history-file-name, eshell-history-size): Fix custom type.
12540
12541 2011-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
12542
12543 * man.el (Man-completion-table): Fix the lambda case (bug#10168).
12544
12545 2011-12-01 Michael McNamara <mac@mail.brushroad.com>
12546
12547 * progmodes/verilog-mode.el (verilog-pretty-expr):
12548 Rework verilog-pretty-expr to handle new assignment operators in system
12549 verilog, such as += *= and the like.
12550 (verilog-assignment-operator-re): Regular expression to find the
12551 assigment operator in a verilog assignment.
12552 (verilog-assignment-operation-re): Regular expression to find an
12553 assignment statement for pretty-expr.
12554 (verilog-in-attribute-p): Query returns true if point is in an
12555 attribute context; used to skip these for expression line up from
12556 pretty-expr.
12557 (verilog-in-parameter-p): Query returns true if point is in an
12558 parameter definition context; used to skip these for expression
12559 line up from pretty-expr.
12560 (verilog-in-parenthesis-p): Query returns true if point is in a
12561 parenthetical expression, specifically ( ) but not [ ] or { };
12562 used by pretty-expr.
12563 (verilog-just-one-space): If there is no space, don't add one.
12564 (verilog-get-lineup-indent-2): Specifically skip just attribute
12565 contexts for expression lineup, rather than skipping all
12566 parenthetical expressions.
12567 (verilog-calculate-indent): Fix comment, and fix indent.
12568 (verilog-do-indent): Indent declarations in lists (suggested by
12569 Joachim Lechner).
12570 (verilog-mode-abbrev-table): Populate abbrev mode with the various
12571 skeleton items.
12572 (verilog-sk-ovm-class): Add skeleton for OVM classes (reported
12573 by Alain Mellan).
12574
12575 2011-12-01 Wilson Snyder <wsnyder@wsnyder.org>
12576
12577 * progmodes/verilog-mode.el (verilog-read-defines): Fix reading
12578 parameters with embedded comments. Reported by Ray Stevens.
12579 (verilog-calc-1, verilog-fork-wait-re) (verilog-forward-sexp,
12580 verilog-wait-fork-re): Fix indentation of "wait fork", bug407.
12581 Reported by Tim Holt.
12582 (verilog-auto): Fix AUTOing a upper module then AUTOing module
12583 instantiated by upper module causing wrong expansion until AUTOed a
12584 second time. Reported by K C Buckenmaier.
12585 (verilog-diff-auto): Fix showing .* as a difference when
12586 `verilog-auto-star-save' off. Reported by Dan Dever.
12587 (verilog-auto-reset, verilog-read-always-signals)
12588 (verilog-auto-reset-blocking-in-non): Fix AUTORESET including
12589 temporary signals in reset list if
12590 verilog-auto-reset-blocking-in-non is nil, and match assignment
12591 style to each signal's assignment type, bug381.
12592 Reported by Thomas Esposito.
12593 (verilog-sk-uvm-class, verilog-uvm-begin-re, verilog-uvm-end-re)
12594 (verilog-uvm-statement-re): Support UVM indentation and
12595 highlighting, with old OVM keywords only.
12596 (verilog-auto-tieoff, verilog-auto-tieoff-declaration):
12597 Support AUTOTIEOFF creating non-wire data types.
12598 Suggested by Jonathan Greenlaw.
12599 (verilog-auto-insert-lisp, verilog-delete-to-paren)
12600 (verilog-forward-sexp-cmt, verilog-forward-sexp-ign-cmt)
12601 (verilog-inject-sense, verilog-read-inst-pins)
12602 (verilog-read-sub-decls, verilog-read-sub-decls-line):
12603 Fix mismatching parenthesis inside commented out code when deleting
12604 AUTOINST, bug383. Reported by Jonathan Greenlaw.
12605 (verilog-auto-ascii-enum): Fix AUTOASCIIENUM one-hot with
12606 non-numeric vector width. Reported by Alex Reed.
12607 (verilog-auto-ascii-enum): Add "onehot" option to work around not
12608 detecting signals with parameter widths. Reported by Alex Reed.
12609 (verilog-auto-delete-trailing-whitespace):
12610 With `verilog-auto-delete-trailing-whitespace' remove trailing
12611 whitespace in auto expansion, bug371. Reported by Brad Dobbie.
12612 (verilog-run-hooks, verilog-scan-cache-flush, verilog-syntax-ppss):
12613 Fix verilog-scan-cache corruption when running user AUTO expansion
12614 hooks that call indentation routines.
12615 (verilog-simplify-range-expression): Fix typo ignoring lower case
12616 identifiers.
12617 (verilog-delete-auto): Fix delete-autos to also remove user created
12618 automatics, as long as they start with AUTO.
12619 (verilog-batch-diff-auto, verilog-diff-auto)
12620 (verilog-diff-function): Add `verilog-diff-auto' and bind to
12621 "C-c?" to report differences in AUTO expansion, ignoring spaces.
12622 (verilog-backward-syntactic-ws-quick, verilog-beg-of-defun-quick)
12623 (verilog-in-paren-quick, verilog-re-search-backward-quick)
12624 (verilog-re-search-forward-quick, verilog-syntax-ppss):
12625 Fix calling `syntax-ppss' when inside auto expansions as the ppss hook
12626 is disabled and its cache will get corrupt, causing AUTOS not to
12627 expand. Instead use only -quick functions.
12628 (verilog-scan-region): Fix scanning over escaped quotes.
12629 (verilog-inside-comment-or-string-p, verilog-inside-comment-p)
12630 (verilog-re-search-backward-quick)
12631 (verilog-re-search-forward-quick, verilog-scan): verilog-scan and
12632 related functions now ignore strings, to fix misparsing of strings
12633 with magic comments embedded in them.
12634 (verilog-read-auto-template):
12635 Fix 'verilog-auto-inst-template-numbers' with extra newline before (.
12636 Reported by Brad Dobbie.
12637 (verilog-read-auto-template):
12638 Fix 'verilog-auto-inst-template-numbers' with comments.
12639 Reported by Brad Dobbie.
12640 (verilog-auto-inst, verilog-auto-inst-param)
12641 (verilog-auto-inst-sort): Add 'verilog-auto-inst-sort' to reduce
12642 merge conflicts with AUTOINST, bug358. Reported by Brad Dobbie.
12643 (verilog-auto-inst-template-numbers): Add 'lhs' policy for
12644 debugging templates without merge conflicts, bug357.
12645 Reported by Brad Dobbie.
12646 (verilog-read-auto-template):
12647 Fix verilog-auto-inst-template-numbers with multiple templates.
12648 Reported by Brad Dobbie.
12649 (verilog-define-abbrev): Fix verilog-mode abbrevs to be system
12650 abbrevs so user won't be asked to save.
12651 (verilog-read-auto-lisp-present): Fix to start at beginning of
12652 buffer in case called outside of verilog-auto.
12653 (verilog-simplify-range-expression): Fix AUTOWIRE expanding "X-1+1"
12654 to "X-2". Reported by Matthew Myers.
12655 (verilog-auto, verilog-auto-inout-in): Add AUTOINOUTIN for creating
12656 all inputs from module templates. Reported by Leith Johnson.
12657 (verilog-module-inside-filename-p): Fix locating programs as with
12658 modules.
12659 (verilog-auto-inst-port): Fix vl-width expressions when using
12660 verilog-auto-inst-param-value, bug331. Reported by Julian Gorfajn.
12661 (verilog-decls-get-regs, verilog-decls-get-signals,
12662 verilog-decls-get-vars, verilog-decls-get-wires, verilog-decls-new,
12663 verilog-modi-cache-add-vars, verilog-modi-cache-add-wires,
12664 verilog-read-decls): Combine reg and wire structures into one var
12665 structure to represent SystemVerilog concepts.
12666 (verilog-auto-ascii-enum, verilog-auto-logic, verilog-auto-reg)
12667 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-wire)
12668 (verilog-auto-wire-type, verilog-insert-definition):
12669 Add verilog-auto-wire-type and AUTOLOGIC to support using
12670 SystemVerilog "logic" keyword instead of "wire"/"reg".
12671 (verilog-auto-reg-input, verilog-decls-get-signals): Fix AUTOWIRE
12672 to declares outputs that also have assignments (presumably in an
12673 ifdef or generate if so there's not a driver conflict).
12674 Reported by Matthew Myers.
12675 (verilog-auto-declare-nettype, verilog-insert-definition):
12676 Add verilog-auto-declare-nettype to fix declarations using
12677 `default_nettype none. Reported by Julian Gorfajn.
12678 (verilog-read-always-signals-recurse, verilog-read-decls)
12679 (verilog-read-sub-decls-gate): Fix infinite loop with (*) and
12680 malformed end statement, bug325. Reported by Joshua Wise and
12681 Andrew Drake.
12682 (verilog-auto-star-safe, verilog-delete-auto-star-implicit)
12683 (verilog-inst-comment-re): Fix not deleting Interfaced comment
12684 when expanding .* in interfaces, bug320.
12685 Reported by Pierre-David Pfister.
12686 (verilog-read-module-name): Fix import statements between module
12687 name and open parenthesis, bug317.
12688 Reported by Pierre-David Pfister.
12689 (verilog-simplify-range-expression): Fix simplification of
12690 multiplications inside AUTOWIRE connections, bug303.
12691 (verilog-auto-inst-port): Support parameter expansion in
12692 multidimensional arrays.
12693 (verilog-read-decls): Fix AUTOREG etc looking for "endproperty"
12694 after "assert property". Reported by Julian Gorfajn.
12695 (verilog-simplify-range-expression): Fix "couldn't merge" errors
12696 with multiplication, bug303.
12697 (verilog-read-decls): Fix parsing of unsigned data types, bug302.
12698 Reported by Jan Frode Lonnum.
12699
12700 2011-11-30 Juanma Barranquero <lekktu@gmail.com>
12701
12702 * htmlfontify.el (hfy-page-header, hfy-post-html-hooks)
12703 (hfy-shell-file-name, hfy-shell):
12704 * international/fontset.el (x-decompose-font-name): Fix typos.
12705
12706 2011-11-29 Ken Brown <kbrown@cornell.edu>
12707
12708 * progmodes/gdb-mi.el: Fix bug#9853, bug#9858, and bug#9878.
12709 (gdb-version): Remove defvar.
12710 (gdb-supports-non-stop): New defvar, replacing `gdb-version'.
12711 (gdb-gud-context-command, gdb-non-stop-handler)
12712 (gdb-current-context-command, gdb-stopped): Use it.
12713 (gdb-init-1): Enable pretty printing here.
12714 (gdb-non-stop-handler): Don't enable pretty-printing here.
12715 Check to see if the target supports non-stop mode; if not, turn off
12716 non-stop mode. Use the following.
12717 (gdb-check-target-async): New defun.
12718 (gud-watch, gdb-stopped): Fix whitespace.
12719 (gdb-get-source-file): Don't try to display the source file if
12720 `gdb-main-file' is nil.
12721
12722 2011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
12723
12724 * align.el: Try to generate fewer markers (bug#10047).
12725 (align--set-marker): New macro.
12726 (align-region): Use it.
12727
12728 2011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
12729
12730 * isearch.el (isearch-yank-x-selection): Deactivate mark (bug#10022).
12731
12732 2011-11-29 Chong Yidong <cyd@gnu.org>
12733
12734 * indent.el (indent-for-tab-command, indent-according-to-mode):
12735 Doc fix.
12736 (indent-region): Doc fix. Switch nested ifs to equivalent cond.
12737
12738 2011-11-29 Michael Albinus <michael.albinus@gmx.de>
12739
12740 * vc/diff-mode.el (diff-find-file-name): Make `read-file-name'
12741 aware of remote file names. (Bug#10124)
12742
12743 2011-11-29 Chong Yidong <cyd@gnu.org>
12744
12745 * frame.el (auto-raise-mode, auto-lower-mode): Doc fix.
12746
12747 2011-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
12748
12749 * files.el (find-file): Don't use force-same-window (bug#10144).
12750 * window.el (switch-to-buffer): Better match Emacs-23 behavior and only
12751 use pop-to-buffer if the selected window can't be used.
12752 (pop-to-buffer-same-window): Use display-buffer--same-window-action.
12753
12754 2011-11-28 Eli Zaretskii <eliz@gnu.org>
12755
12756 * vc/diff-mode.el (diff-mode-map): Don't inherit 'z' => 'M-z' from
12757 special-mode-map.
12758
12759 2011-11-28 Chong Yidong <cyd@gnu.org>
12760
12761 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix default doc.
12762
12763 2011-11-27 Nick Roberts <nickrob@snap.net.nz>
12764
12765 * progmodes/gdb-mi.el (gdb-init-1): Condition execution of
12766 gdb-get-source-file-list on gdb-create-source-file-list.
12767
12768 2011-11-26 Eli Zaretskii <eliz@gnu.org>
12769
12770 * whitespace.el (whitespace-newline): Use a different foreground
12771 color for 16-color light-background displays.
12772
12773 2011-11-24 Chong Yidong <cyd@gnu.org>
12774
12775 * window.el (display-buffer--special-action): Doc fix.
12776
12777 2011-11-25 Juanma Barranquero <lekktu@gmail.com>
12778
12779 * emacs-lisp/avl-tree.el (avl-tree--do-copy, avl-tree-create)
12780 (avl-tree-compare-function, avl-tree-empty, avl-tree-enter)
12781 (avl-tree-delete, avl-tree-member, avl-tree-member-p, avl-tree-map)
12782 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar, avl-tree-copy)
12783 (avl-tree-clear, avl-tree-stack, avl-tree-stack-pop)
12784 (avl-tree-stack-first):
12785 * emacs-lisp/cconv.el (cconv--analyse-use):
12786 * net/gnutls.el (gnutls-negotiate): Fix typos.
12787
12788 2011-11-24 Glenn Morris <rgm@gnu.org>
12789
12790 * lpr.el (lpr-windows-system, lpr-lp-system):
12791 * mail/binhex.el (binhex-begin-line):
12792 * progmodes/grep.el (grep-history, grep-find-history):
12793 * textmodes/flyspell.el:
12794 * vc/pcvs-defs.el (cvs-global-menu):
12795 * vc/vc-bzr.el (vc-bzr-admin-checkout-format-file):
12796 * vc/vc-mtn.el (vc-mtn-admin-dir, vc-mtn-admin-format):
12797 * vc/vc-cvs.el (vc-cvs-registered): Give them basic doc-strings.
12798
12799 * net/tls.el: Fix case of "GnuTLS".
12800
12801 * paths.el (rmail-file-name): Format doc-string for make-docfile.
12802
12803 * version.el (emacs-build-system): Give it a doc-string.
12804
12805 2011-11-24 Juri Linkov <juri@jurta.org>
12806
12807 * view.el (view-buffer): Revert 2011-07-19T15:01:49Z!larsi@gnus.org from 2011-07-19 (bug#8615).
12808
12809 2011-11-24 Glenn Morris <rgm@gnu.org>
12810
12811 * mail/rmailmm.el (rmail-mime): When rmail-enable-mime is non-nil,
12812 if called on a non-mime message just toggle the headers. (Bug#8006)
12813
12814 2011-11-24 Juanma Barranquero <lekktu@gmail.com>
12815
12816 * allout.el (allout-setup, allout-auto-save-temporarily-disabled)
12817 (allout-lead-with-comment-string, allout-structure-deleted-hook)
12818 (allout-mode, allout-chart-subtree, allout-hotspot-key-handler)
12819 (allout-rebullet-heading, allout-open-sibtopic)
12820 (allout-toggle-current-subtree-encryption)
12821 (allout-toggle-subtree-encryption, allout-encrypt-string)
12822 (allout-next-topic-pending-encryption, allout-adjust-file-variable)
12823 (allout-distinctive-bullets-string, allout-auto-activation):
12824 * window.el (window-normalize-buffer-to-display):
12825 * progmodes/verilog-mode.el (verilog-batch-indent):
12826 * textmodes/bibtex.el (bibtex-field-braces-opt)
12827 (bibtex-field-strings-opt):
12828 * vc/cvs-status.el (cvs-tree-merge):
12829 Fix typos.
12830
12831 2011-11-23 Michael Albinus <michael.albinus@gmx.de>
12832
12833 * rfn-eshadow.el (rfn-eshadow-update-overlay): Let-bind
12834 `non-essential' to t, in order to avoid remote connections.
12835
12836 2011-11-23 Eli Zaretskii <eliz@gnu.org>
12837
12838 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
12839 On MS-DOS and MS-Windows, compare with loaddefs.el
12840 case-insensitively.
12841
12842 2011-11-23 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
12843
12844 * mail/unrmail.el (unrmail): Always add blank line. (Bug#7743)
12845
12846 2011-11-23 Glenn Morris <rgm@gnu.org>
12847
12848 * paths.el (rmail-file-name): Reformat the doc-string so that it
12849 is picked up.
12850
12851 * mail/rmail.el (rmail-message-filter, rmail-auto-file): Doc fixes.
12852 (rmail-auto-file): Ignore case in the "special" field names,
12853 as mail-fetch-field does for all others.
12854
12855 * mail/rmail.el (rmail-forward):
12856 * mail/rmailkwd.el (rmail-set-label):
12857 * mail/rmailout.el (rmail-output, rmail-output-as-seen)
12858 (rmail-output-body-to-file): Give error if no message. (Bug#10082)
12859
12860 * mail/rmail.el (rmail-current-message): Doc fix.
12861
12862 * mail/rmail.el (rmail-message-filter): Mark as obsolete. (Bug#2624)
12863
12864 2011-11-22 Stefan Monnier <monnier@iro.umontreal.ca>
12865
12866 * server.el (server-eval-and-print): Allow C-g (bug#6585).
12867
12868 2011-11-22 Glenn Morris <rgm@gnu.org>
12869
12870 * mail/rmailmm.el (test-rmail-mime-handler)
12871 (test-rmail-mime-bulk-handler)
12872 (test-rmail-mime-multipart-handler): Move tests to test/ directory.
12873
12874 2011-11-21 Juri Linkov <juri@jurta.org>
12875
12876 * calc/calc.el (calc-read-key-sequence):
12877 Let-bind `input-method-function' to nil. (Bug#10018)
12878
12879 2011-11-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
12880
12881 * emacs-lisp/cl-indent.el (common-lisp-loop-part-indentation):
12882 Tell the caller that the next line needs recomputation, even
12883 though it doesn't start a sexp (bug#10094).
12884
12885 2011-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
12886
12887 * emacs-lisp/autoload.el (autoload-generate-file-autoloads): Simplify.
12888
12889 2011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
12890
12891 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
12892 Use force-same-window.
12893
12894 2011-11-20 Juanma Barranquero <lekktu@gmail.com>
12895
12896 * descr-text.el (describe-char-unicode-data):
12897 * json.el (json-string-escape):
12898 * mail/footnote.el (footnote-unicode-string, footnote-unicode-regexp)
12899 (Footnote-unicode, Footnote-style-p):
12900 * net/ntlm.el (ntlm-get-password-hashes): Fix typos.
12901
12902 2011-11-20 Chong Yidong <cyd@gnu.org>
12903
12904 * window.el (replace-buffer-in-windows): Restore interactive spec.
12905
12906 2011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
12907
12908 * electric.el (electric-indent-mode): Fix last change (too optimistic).
12909
12910 * emacs-lisp/bytecomp.el: Silence obsolete warnings more reliably.
12911 (byte-compile-global-not-obsolete-vars): New var.
12912 (byte-compile-check-variable, byte-compile-make-obsolete-variable):
12913 Use it.
12914 (byte-compile-warn-obsolete): Align text with the one in *Help*.
12915
12916 2011-11-20 Juanma Barranquero <lekktu@gmail.com>
12917
12918 * progmodes/cwarn.el (cwarn-is-enabled, cwarn-font-lock-keywords):
12919 * progmodes/pascal.el (electric-pascal-equal):
12920 * textmodes/reftex-dcr.el (reftex-view-crossref-from-bibtex):
12921 * xml.el (xml-substitute-special): Fix typos.
12922
12923 2011-11-20 Glenn Morris <rgm@gnu.org>
12924
12925 * mail/rmail.el (rmail-enable-mime-composing): Make it a defcustom.
12926 (rmail-insert-mime-forwarded-message-function, rmail-mime-feature):
12927 Doc fixes.
12928 (rmail-decode-mime-charset): Mark as obsolete.
12929
12930 * mail/rmailsum.el (rmail-message-regexp-p-1):
12931 * mail/rmail.el (rmail-search-message, rmail-forward, rmail-resend):
12932 Before using mime functions, check they are set. (Bug#10077)
12933
12934 2011-11-19 Juri Linkov <juri@jurta.org>
12935
12936 * info.el (Info-finder-find-node): Use `package--builtins' instead
12937 of `package-alist'. Use node names formed by the pattern "Keyword "
12938 and the keyword name.
12939
12940 2011-11-19 Andreas Schwab <schwab@linux-m68k.org>
12941
12942 * progmodes/sh-script.el (sh-assignment-regexp): Add entry for bash.
12943
12944 2011-11-19 Juri Linkov <juri@jurta.org>
12945
12946 * info.el (Info-hide-note-references): Add `:set' tag to `defcustom'
12947 that calls `revert-buffer' on all Info buffers. (Bug#9915)
12948 (Info-revert-find-node): Remove let-bindings `old-buffer-name',
12949 `old-history', `old-history-forward'. Add let-binding
12950 `window-selected'. Remove calls to `kill-buffer',
12951 `switch-to-buffer' and `Info-mode'. Set `Info-current-file' to nil
12952 before calling `Info-find-node', so `Info-find-node-2' will reread
12953 the Info file. Restore window positions only when `window-selected'
12954 is non-nil.
12955
12956 2011-11-19 Juri Linkov <juri@jurta.org>
12957
12958 * isearch.el (isearch-lazy-highlight-new-loop):
12959 Remove condition `(not isearch-error)'. (Bug#9918)
12960
12961 * misearch.el (multi-isearch-search-fun): Add condition
12962 `(not bound)' to ignore lazy-highlighting search.
12963 Add the search-failed message "end of multi" when the end of
12964 multi-sequence is reached. Uncapitalize the search-failed
12965 message "Repeat for next buffer".
12966
12967 * info.el (Info-search): Add the search-failed message
12968 "end of the manual" when the end of the manual is reached
12969 in Isearch mode.
12970
12971 2011-11-19 Juri Linkov <juri@jurta.org>
12972
12973 * info.el (Info-find-node-2, Info-select-node, Info-history-find-node):
12974 Use non-destructive `remove' instead of `delete' because
12975 `Info-history-list' stored to `Info-isearch-initial-history-list' in
12976 `Info-isearch-start' might need to be restored in `Info-isearch-end'.
12977
12978 2011-11-19 Juri Linkov <juri@jurta.org>
12979
12980 * isearch.el (isearch-edit-string): Let-bind `history-add-new-input'
12981 to nil instead of binding `search-ring' and `regexp-search-ring'.
12982 (Bug#9185)
12983
12984 2011-11-19 Eli Zaretskii <eliz@gnu.org>
12985
12986 * simple.el (line-move): Force movement by logical lines for any
12987 hscrolled window, not only when auto-hscroll-mode is on.
12988 (line-move-visual): Update doc string to that effect. (Bug#10076)
12989
12990 2011-11-19 Andreas Schwab <schwab@linux-m68k.org>
12991
12992 * language/european.el (macintosh): Define as alias for mac-roman.
12993
12994 2011-11-19 Eli Zaretskii <eliz@gnu.org>
12995
12996 * mail/rmailmm.el (rmail-mime-display-header)
12997 (rmail-mime-display-tagline, rmail-mime-display-body): New defsubsts.
12998 (rmail-mime-entity-segment, rmail-mime-toggle-raw)
12999 (rmail-mime-toggle-hidden, rmail-mime-insert-text)
13000 (rmail-mime-insert-bulk, rmail-mime-insert-multipart)
13001 (rmail-mime-insert, rmail-mime-insert-tagline): Use them instead
13002 of a raw aref.
13003 (rmail-mime-entity-segment): To get past the tagline, move forward
13004 2 more lines, to account for the 2 empty lines that precede and
13005 follow the line with the buttons.
13006 (rmail-mime-update-tagline): Move one more line, to get past the
13007 empty line that follows the buttons in the tagline. (Bug#9520)
13008
13009 2011-11-19 Martin Rudalics <rudalics@gmx.at>
13010
13011 * window.el (window-max-delta-1, window-min-delta-1)
13012 (window-min-size-1, window-state-get-1, window-state-put-1)
13013 (window-state-put-2): Use "window--" prefix.
13014
13015 2011-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
13016
13017 * emacs-lisp/smie.el: Improve warnings and conflict detection.
13018 (smie-warning-count): New var.
13019 (smie-set-prec2tab): Use it.
13020 (smie-bnf->prec2): Improve warnings. Add docstring.
13021 (smie-bnf--closer-alist): Rename from smie-bnf-closer-alist.
13022 (smie-bnf--set-class): New function.
13023 (smie-bnf--classify): Rename from smie-bnf-classify. Rewrite to fix
13024 corner case.
13025
13026 * progmodes/compile.el: Obey compilation-first-column in dest buffer.
13027 (compilation-error-properties, compilation-move-to-column):
13028 Handle compilation-first-column while in the target buffer.
13029
13030 * progmodes/cc-engine.el (c-remove-stale-state-cache-backwards):
13031 Don't hardcode point-min==1.
13032
13033 * eshell/esh-cmd.el (eshell-do-eval): Handle `setq' (bug#9907).
13034 (eshell-rewrite-for-command): Remove workaround.
13035 (eshell-do-pipelines, eshell-do-pipelines-synchronously)
13036 (eshell-do-eval, eshell-exec-lisp): Avoid gratuitous setq.
13037 * eshell/esh-util.el (eshell-condition-case, eshell-for): Use declare.
13038
13039 * files-x.el (modify-file-local-variable): Obey commenting conventions.
13040
13041 2011-11-17 Glenn Morris <rgm@gnu.org>
13042
13043 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
13044 Ignore buffer-local generated-autoload-file if it is the same
13045 as the global value. (Bug#10049)
13046
13047 2011-11-17 Juanma Barranquero <lekktu@gmail.com>
13048
13049 * textmodes/reftex-toc.el (reftex-toc-return-marker, reftex-toc-help)
13050 (reftex-toc, reftex-toc, reftex-toc-dframe-p, reftex-toc-next-heading)
13051 (reftex-toc-previous-heading, reftex-toc-max-level)
13052 (reftex-toc-goto-line-and-hide, reftex-toc-show-calling-point)
13053 (reftex-toc-quit, reftex-toc-revert, reftex-toc-jump)
13054 (reftex-toc-do-promote, reftex-toc-promote-prepare)
13055 (reftex-toc-promote-action, reftex-toc-extract-section-number)
13056 (reftex-toc-load-all-files-for-promotion, reftex-toc-rename-label)
13057 (reftex-toc-rename-label, reftex-toc-visit-location)
13058 (reftex-toc-visit-location, reftex-toggle-auto-toc-recenter)
13059 (reftex-toggle-auto-toc-recenter, reftex-toggle-auto-toc-recenter)
13060 (reftex-make-separate-toc-frame): Fix typos, and use TOC consistently,
13061 leaving "*toc*" only for references to the buffer.
13062
13063 2011-11-17 Martin Rudalics <rudalics@gmx.at>
13064
13065 * window.el (window-resize, delete-window, split-window):
13066 Replace window-splits by window-combination-resize.
13067 * cus-start.el (window-splits): Replace by window-combination-resize.
13068
13069 2011-11-17 Glenn Morris <rgm@gnu.org>
13070
13071 * progmodes/sh-script.el (sh-font-lock-keywords-var):
13072 Make bash entry derive from sh entry, not shell entry.
13073
13074 2011-11-16 Michael Albinus <michael.albinus@gmx.de>
13075
13076 * net/tramp-sh.el (tramp-sh-handle-file-truename): Cache only the
13077 local file name.
13078
13079 2011-11-16 Juanma Barranquero <lekktu@gmail.com>
13080
13081 * menu-bar.el (menu-bar-file-menu):
13082 * printing.el (pr-ps-utility):
13083 * calendar/icalendar.el (icalendar, icalendar--convert-tz-offset)
13084 (icalendar--convert-to-ical, icalendar--convert-ordinary-to-ical)
13085 (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
13086 (icalendar--convert-sexp-to-ical, icalendar--convert-block-to-ical)
13087 (icalendar--convert-float-to-ical, icalendar--convert-date-to-ical)
13088 (icalendar--convert-cyclic-to-ical)
13089 (icalendar--convert-anniversary-to-ical, icalendar-import-buffer)
13090 (icalendar--convert-ical-to-diary)
13091 (icalendar--convert-recurring-to-diary)
13092 (icalendar--convert-non-recurring-all-day-to-diary)
13093 (icalendar-import-format-sample):
13094 * progmodes/idlw-shell.el (idlwave-shell-mode):
13095 * progmodes/vhdl-mode.el (vhdl-mode, vhdl-print-two-column)
13096 (vhdl-print-customize-faces, vhdl-mode, vhdl-ps-print-settings)
13097 (vhdl-ps-print-init): Fix typos.
13098
13099 2011-11-16 Ken Manheimer <ken.manheimer@gmail.com>
13100
13101 * allout.el, allout-widgets.el (file metadata): Attribute copyright to
13102 FSF and collapse date sequence, obscure author/maintainer email address
13103 better, remove extra version line, track relocation of author's webpage.
13104
13105 * progmodes/python.el (python-pdbtrack-input-prompt)
13106 (python-pdbtrack-track-stack-file): Adjust to recognize ipdb as well as
13107 regular python pdb prompts. Adjustments shamelessly taken exactly as
13108 suggested in EmacsWiki page (tiny change):
13109 http://www.emacswiki.org/PythonProgrammingInEmacs#toc14
13110
13111 2011-11-16 Juanma Barranquero <lekktu@gmail.com>
13112
13113 * expand.el (expand-pos, expand-index, expand-point):
13114 Remove redundant info from docstring.
13115 (expand-add-abbrevs): Doc fix.
13116 (expand-c-sample-expand-list, expand-sample-lisp-mode-expand-list)
13117 (expand-sample-perl-mode-expand-list): Fix typos.
13118
13119 * net/dbus.el (dbus-event-member-name):
13120 * play/5x5.el (5x5-solve-rotate-left, 5x5-solver-output):
13121 * term/pc-win.el (msdos-create-frame-with-faces):
13122 * textmodes/texinfmt.el (texinfo-format-image): Fix typos.
13123
13124 2011-11-16 Martin Rudalics <rudalics@gmx.at>
13125
13126 * window.el (split-window, window-state-get-1)
13127 (window-state-put-1, window-state-put-2): Rename occurrences of
13128 window-nest to window-combination-limit.
13129 * cus-start.el (window-nest): Rename to window-combination-limit.
13130
13131 2011-11-16 Chong Yidong <cyd@gnu.org>
13132
13133 * progmodes/autoconf.el (autoconf-mode): Fix comment-start-skip
13134 regexp (Bug#10033).
13135
13136 2011-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
13137
13138 * tmm.el (tmm-prompt): Use minibuffer-with-setup-hook (bug#10053).
13139 `completing-read' will remove *Completions* and will preserve
13140 current-buffer for us.
13141 (tmm-add-prompt): Users of *Completions* will always (re)set its
13142 major mode.
13143 (tmm-old-comp-map): Remove.
13144
13145 2011-11-16 Glenn Morris <rgm@gnu.org>
13146
13147 * mail/rmailedit.el: Require rmailmm when compiling.
13148 (rmail-old-mime-state): New declaration.
13149 (rmail-edit-current-message): If editing a mime message,
13150 edit the "raw" message from the mbox buffer.
13151 (rmail-cease-edit): Handle mime messages. (Bug#9840)
13152
13153 2011-11-15 Glenn Morris <rgm@gnu.org>
13154
13155 * mail/rmailmm.el (rmail-mime-toggle-raw): Remove entity arg,
13156 which wasn't being used. Add optional arg to force given state.
13157 (rmail-mime): Add optional arg to force given state.
13158
13159 2011-11-15 Juanma Barranquero <lekktu@gmail.com>
13160
13161 * allout.el (allout-encryption-plaintext-sanitization-regexps):
13162 * frame.el (display-mm-dimensions-alist):
13163 * outline.el (outline-mode-menu-bar-map, outline-move-subtree-up)
13164 (outline-move-subtree-down):
13165 * net/newst-treeview.el (newsticker--treeview-do-get-node-of-feed)
13166 (newsticker--treeview-do-get-node):
13167 * net/quickurl.el (quickurl-list-buffer-name):
13168 * progmodes/dcl-mode.el (dcl-mode):
13169 * progmodes/gdb-mi.el (gdb-mapcar*):
13170 * progmodes/sql.el (sql-mode-oracle-font-lock-keywords): Fix typos.
13171
13172 2011-11-15 Glenn Morris <rgm@gnu.org>
13173
13174 * mail/rmail.el (rmail-file-coding-system): It's only ever used
13175 in a boolean sense, so just make it a boolean, and fix the doc.
13176 (rmail-show-mime-function, rmail-mime-feature)
13177 (rmail-require-mime-maybe): Doc fixes.
13178 (rmail-show-message-1): Check rmail-show-mime-function is non-nil.
13179
13180 * mail/rmailmm.el (rmail-show-mime): Doc fix.
13181
13182 2011-11-15 Juanma Barranquero <lekktu@gmail.com>
13183
13184 * epg.el (epg-start-decrypt, epg-start-verify, epg-start-sign)
13185 (epg-start-encrypt, epg-start-export-keys, epg-start-import-keys)
13186 (epg-start-receive-keys, epg-start-delete-keys, epg-start-sign-keys)
13187 (epg-start-generate-key, epg-context-set-progress-callback): Fix typos.
13188
13189 2011-11-15 Glenn Morris <rgm@gnu.org>
13190
13191 * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-segment)
13192 (rmail-mime-shown-mode, rmail-mime-hidden-mode, rmail-mime-raw-mode)
13193 (rmail-mime-toggle-hidden, rmail-mime-insert-tagline)
13194 (rmail-mime-insert-header, rmail-mime-handle, rmail-mime-parse)
13195 (rmail-mime, rmail-show-mime): Doc fixes.
13196
13197 * term/ns-win.el (mode-line-frame-identification):
13198 Leave it alone. (Bug#10051)
13199
13200 * simple.el (mark-whole-buffer): Doc fix. (Bug#10023)
13201
13202 * mail/rmailout.el (rmail-output-to-rmail-buffer):
13203 Handle empty buffers. (Bug#9978)
13204
13205 2011-11-14 Juanma Barranquero <lekktu@gmail.com>
13206
13207 * international/mule.el (define-charset):
13208 * mail/rmailmm.el (rmail-mime-find-header-encoding):
13209 * progmodes/prolog.el (prolog-mode-hook, prolog-inferior-mode-hook):
13210 * progmodes/verilog-mode.el (verilog-backward-token):
13211 * textmodes/ispell.el (lookup-words):
13212 * textmodes/sgml-mode.el (sgml-guess-indent): Fix typos.
13213
13214 2011-11-14 Glenn Morris <rgm@gnu.org>
13215
13216 * progmodes/executable.el
13217 (executable-make-buffer-file-executable-if-script-p):
13218 Handle file-modes returning nil.
13219
13220 * mail/rmailsum.el (rmail-summary): Remove movement to beginning of
13221 message - not necessary, and causes problems. (Bug#9831)
13222
13223 * mail/rmailsum.el (rmail-new-summary): Preserve message number.
13224
13225 * mail/rmail.el (rmail-no-mail-p): Remove mode-line N/M indicator.
13226
13227 * mail/rmailsum.el (rmail-summary, rmail-new-summary)
13228 (rmail-new-summary-1): Allow empty summaries. (Bug#9964)
13229 (rmail-new-summary): Remember that rmail-summary-buffer is buffer-local.
13230
13231 2011-11-12 Martin Rudalics <rudalics@gmx.at>
13232
13233 * window.el (window-resize, delete-window): Use window-splits
13234 variable instead of function.
13235 (window-state-get-1, window-state-put-2, window-state-put):
13236 Don't deal with windows' splits status.
13237
13238 2011-11-12 Glenn Morris <rgm@gnu.org>
13239
13240 * apropos.el (apropos-do-all, apropos-library, apropos-value)
13241 (apropos-documentation): Doc fixes.
13242
13243 2011-11-11 Juanma Barranquero <lekktu@gmail.com>
13244
13245 * progmodes/idlw-shell.el (idlwave-shell-make-new-bp-overlay):
13246 * textmodes/sgml-mode.el (html-tag-help): Fix typos.
13247
13248 2011-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
13249
13250 * electric.el (electric-indent-post-self-insert-function): Make it
13251 possible for a char to only indent in some circumstances.
13252 (electric-indent-mode): Simplify.
13253
13254 2011-11-11 Martin Rudalics <rudalics@gmx.at>
13255
13256 * window.el (windows-with-parameter): Remove unused function.
13257 (windows-at-side): Rename to window-at-side-list.
13258 (window-check, window-atom-check, window-atom-check-1)
13259 (window-side-check, window-size-ignore, window-size-fixed-1)
13260 (window-in-direction-2): Prefix with "window--".
13261 (window-tree-1): Rename to window--subtree, fix doc-string.
13262
13263 2011-11-11 Glenn Morris <rgm@gnu.org>
13264
13265 * subr.el (eval-after-load): If FILE is already loaded,
13266 evaluate FORM before it gets wrapped in more stuff. (Bug#10009)
13267
13268 2011-11-10 Glenn Morris <rgm@gnu.org>
13269
13270 * vc/vc-svn.el (vc-svn-create-repo, vc-svn-modify-change-comment):
13271 Call svn via vc-svn-command rather than vc-do-command.
13272 (vc-svn-command): Add --non-interactive. (Bug#9993)
13273 (vc-svn-update, vc-svn-merge-news): No need for --non-interactive.
13274
13275 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
13276 Add toggle-read-only. (Bug#7292)
13277 * files.el (toggle-read-only): Mention that it should only
13278 be used interactively. (Bug#10006)
13279
13280 2011-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
13281
13282 * progmodes/compile.el (compilation-error-regexp-alist-alist):
13283 Adjust regexp for OCaml warnings.
13284
13285 * electric.el (electric-pair-post-self-insert-function): Let user
13286 turn it off buffer-locally (bug#9932).
13287
13288 * progmodes/python.el (python-beginning-of-statement):
13289 Rewrite (bug#2703).
13290
13291 * progmodes/compile.el: Better handle TABs (bug#9749).
13292 (compilation-internal-error-properties)
13293 (compilation-next-error-function): Obey the target buffer's
13294 compilation-error-screen-columns.
13295
13296 2011-11-09 Juanma Barranquero <lekktu@gmail.com>
13297
13298 * progmodes/meta-mode.el: Remove obsolete comments.
13299 (meta-right-comment-regexp, meta-ignore-comment-regexp):
13300 Fix typos in docstrings.
13301
13302 2011-11-09 Martin Rudalics <rudalics@gmx.at>
13303
13304 * window.el (window-size-fixed-p): Rewrite doc-string.
13305 (window-resizable-p): Rename to window--resizable-p. Update callers.
13306 (window--resizable): New function. Make all callers of
13307 window-resizable call window--resizable instead.
13308 (window-resizable): Rewrite in terms of window--resizable.
13309
13310 2011-11-08 Glenn Morris <rgm@gnu.org>
13311
13312 * progmodes/delphi.el (delphi-mode-syntax-table):
13313 Let define-derived-mode define a proper syntax table. (Bug#9994)
13314
13315 2011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
13316
13317 * window.el: Stay away from defsubst.
13318 (window-list-no-nils): Remove.
13319 (window-state-get-1, window-state-get): Use backquote instead.
13320
13321 2011-11-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
13322
13323 * emacs-lisp/find-func.el (find-function-read):
13324 Fix incorrect use of default argument in `completing-read'.
13325
13326 2011-11-08 Martin Rudalics <rudalics@gmx.at>
13327
13328 * window.el (display-buffer-function, special-display-function):
13329 Mention display-buffer-record-window but do not mention
13330 help-setup parameter in doc-strings.
13331 (window-min-delta): Fix doc-string typo.
13332
13333 2011-11-08 Chong Yidong <cyd@gnu.org>
13334
13335 * window.el (window-total-height, window-total-width): Doc fix.
13336 (window-body-size): Move from C.
13337 (window-body-height, window-body-width): Move to C.
13338
13339 2011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
13340
13341 * window.el: Make special-display like display-buffer-alist (bug#9532).
13342 (display-buffer--special-action): New function, morphed
13343 from display-buffer--special.
13344 (display-buffer): Use it to handle special-display-buffers at higher
13345 priority (just after display-buffer-alist).
13346 (display-buffer-fallback-action, display-buffer--other-frame-action)
13347 (pop-to-buffer-same-window): Remove display-buffer--special.
13348
13349 2011-11-07 Glenn Morris <rgm@gnu.org>
13350
13351 * calendar/cal-menu.el (cal-menu-set-date-title):
13352 Do nothing if not in a calendar. (Bug#9976)
13353
13354 2011-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
13355
13356 * files.el (find-file): Always use selected-window.
13357
13358 2011-11-07 Martin Rudalics <rudalics@gmx.at>
13359
13360 * window.el (window-combinations): Make WINDOW argument
13361 mandatory. Rewrite doc-string.
13362 (walk-window-subtree, window-atom-check, window-min-delta)
13363 (window-max-delta, window--resize-this-window)
13364 (window--resize-root-window-vertically, window-tree)
13365 (balance-windows, window-state-put): Rewrite doc-strings as to
13366 not mention the term "subwindow".
13367 (window--resize-subwindows-skip-p): Rename to
13368 window--resize-child-windows-skip-p.
13369 (window--resize-subwindows-normal): Rename to
13370 window--resize-child-windows-normal.
13371 (window--resize-subwindows): Rename to
13372 window--resize-child-windows.
13373 (window-or-subwindow-p): Rename to window--in-subtree-p.
13374
13375 2011-11-07 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
13376
13377 * mail/rmail.el (rmail-get-new-mail, rmail-insert-inbox-text):
13378 Ensure that mbox format messages end in two newlines (Bug#9974).
13379
13380 2011-11-06 Chong Yidong <cyd@gnu.org>
13381
13382 * window.el (window-combination-p): Function deleted; its
13383 side-effect is not used in any existing code.
13384 (window-combinations, window-combined-p): Call window-*-child
13385 directly.
13386
13387 2011-11-05 Chong Yidong <cyd@gnu.org>
13388
13389 * window.el (window-valid-p): Rename from window-any-p.
13390 (window-size-ignore, window-state-get): Callers changed.
13391 (window-normalize-window): Rename from window-normalize-any-window.
13392 New arg LIVE-ONLY, replacing window-normalize-live-window.
13393 (window-normalize-live-window): Delete.
13394 (window-combination-p, window-combined-p, window-combinations)
13395 (walk-window-subtree, window-atom-root, window-min-size)
13396 (window-sizable, window-sizable-p, window-size-fixed-p)
13397 (window-min-delta, window-max-delta, window-resizable)
13398 (window-resizable-p, window-full-height-p, window-full-width-p)
13399 (window-current-scroll-bars, window-point-1, set-window-point-1)
13400 (window-at-side-p, window-in-direction, window-resize)
13401 (adjust-window-trailing-edge, maximize-window, minimize-window)
13402 (window-deletable-p, delete-window, delete-other-windows)
13403 (record-window-buffer, unrecord-window-buffer)
13404 (switch-to-prev-buffer, switch-to-next-buffer, window--delete)
13405 (quit-window, split-window, window-state-put)
13406 (set-window-text-height, fit-window-to-buffer)
13407 (shrink-window-if-larger-than-buffer): Callers changed.
13408
13409 2011-11-04 Eli Zaretskii <eliz@gnu.org>
13410
13411 * mail/rmail.el (rmail-simplified-subject): Decode subject with
13412 rfc2047-decode-string.
13413 (rmail-mime-toggle-hidden): Declare to avoid byte-compilation
13414 warnings.
13415
13416 * window.el (window-body-height, window-body-width): Mention in
13417 the doc string that the return values are in frame's canonical
13418 units. (Bug#9949)
13419
13420 2011-11-03 Alan Mackenzie <acm@muc.de>
13421
13422 * progmodes/cc-langs.el (c-nonlabel-token-2-key): New variable for
13423 change in cc-engine.el.
13424
13425 2011-11-02 Stefan Monnier <monnier@iro.umontreal.ca>
13426
13427 * window.el (switch-to-buffer): Use `force-same-window' interactively.
13428
13429 2011-11-02 Martin Rudalics <rudalics@gmx.at>
13430
13431 * window.el (quit-window): Call unrecord-window-buffer after
13432 showing another buffer in the window. (Bug#9937)
13433 (bury-buffer): Call switch-to-prev-buffer with second argument `bury'.
13434
13435 2011-11-02 Juanma Barranquero <lekktu@gmail.com>
13436
13437 * vc/vc-bzr.el (vc-bzr-state, vc-bzr-after-dir-status):
13438 Accept status with more than 9 shelves. (Bug#9935)
13439 Reported by Colin D Bennett <colin@gibibit.com>.
13440
13441 2011-11-01 Martin Rudalics <rudalics@gmx.at>
13442
13443 * help.el (with-help-window): Don't reference
13444 temp-buffer-show-specifiers in doc-string.
13445
13446 2011-10-31 Andreas Schwab <schwab@linux-m68k.org>
13447
13448 * subr.el (keymap--menu-item-with-binding): Ignore item if not a
13449 menu-item.
13450
13451 2011-10-30 Vinicius Jose Latorre <viniciusjl@ig.com.br>
13452
13453 * whitespace.el: New version 13.2.2.
13454 (whitespace-newline-mode): Disable properly. Reported by Sarah
13455 <EmacsWiki>.
13456
13457 2011-10-30 Ulf Jasper <ulf.jasper@web.de>
13458
13459 * net/newst-treeview.el: Remove "Time-stamp".
13460 (newsticker--group-manage-orphan-feeds): Do not call
13461 newsticker--treeview-tree-update.
13462 (newsticker-treeview-update, newsticker-treeview):
13463 Call newsticker--treeview-tree-update if necessary.
13464
13465 2011-10-30 Martin Rudalics <rudalics@gmx.at>
13466
13467 * window.el (window-iso-combination-p, window-iso-combined-p)
13468 (window-iso-combinations): Remove "iso-" infix.
13469 Suggested by Chong Yidong.
13470 (window-min-size-1, window-size-fixed-1, window-min-delta-1)
13471 (window-max-delta-1, window-resize, window--resize-siblings)
13472 (window--resize-this-window, adjust-window-trailing-edge)
13473 (split-window, balance-windows-1)
13474 (shrink-window-if-larger-than-buffer):
13475 * calendar/calendar.el (calendar-generate-window):
13476 * help.el (resize-temp-buffer-window): Adjust callers accordingly.
13477
13478 2011-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
13479
13480 * eshell/esh-cmd.el (eshell-rewrite-for-command): Don't modify the list
13481 in place (bug#9907).
13482 (eshell-subcommand-arg-values, eshell-rewrite-named-command)
13483 (eshell-rewrite-if-command, eshell-rewrite-for-command)
13484 (eshell-structure-basic-command, eshell-rewrite-while-command)
13485 (eshell-invokify-arg, eshell-parse-pipeline, eshell-parse-command)
13486 (eshell-parse-subcommand-argument, eshell-parse-lisp-argument)
13487 (eshell-trap-errors, eshell-do-pipelines, eshell-do-eval)
13488 (eshell-do-pipelines-synchronously, eshell-eval-command):
13489 Use backquotes and prefer setq to set.
13490 (eshell-lookup-function, function-p-func, eshell-functionp): Remove.
13491 (eshell-macrop): Use functionp.
13492 (eshell-do-eval): Handle multiple expressions in `while' body.
13493
13494 2011-10-30 Chong Yidong <cyd@gnu.org>
13495
13496 * emulation/viper-cmd.el (viper-exec-change): Use push-mark
13497 instead of set-mark (Bug#9810).
13498
13499 2011-10-30 Chong Yidong <cyd@gnu.org>
13500
13501 * window.el (split-window-below, split-window-right): Rename from
13502 split-window-above-each-other and split-window-side-by-side
13503 respectively. All callers changed.
13504 (split-window-sensibly, split-window-sensibly): Use them.
13505 (split-window-keep-point): Doc fix.
13506
13507 * isearch.el: Add isearch-scroll property to split-window-below
13508 and split-window-right.
13509
13510 * follow.el (follow-mode):
13511 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
13512 * progmodes/ada-xref.el (ada-gdb-application):
13513 * emulation/vip.el (vip-buffer-in-two-windows):
13514 * image-dired.el (image-dired-dired-with-window-configuration):
13515 * dired-x.el (dired-do-find-marked-files):
13516 * dired.el (dired-pop-to-buffer):
13517 * bs.el (bs--show-with-configuration):
13518 * vc/emerge.el (emerge-setup-windows):
13519 * textmodes/two-column.el (2C-two-columns):
13520 * textmodes/reftex-toc.el (reftex-toc):
13521 * progmodes/gdb-mi.el (gdb-setup-windows):
13522 * progmodes/fortran.el (fortran-window-create):
13523 * net/newst-treeview.el (newsticker--treeview-window-init):
13524 * emulation/ws-mode.el (wordstar-C-o-map, wordstar-mode):
13525 * emulation/tpu-edt.el (tpu-gold-map):
13526 * emulation/crisp.el (crisp-mode-map):
13527 * calendar/calendar.el (calendar-basic-setup): Callers changed.
13528
13529 2011-10-29 Chong Yidong <cyd@gnu.org>
13530
13531 * subr.el (y-or-n-p): Add code for batch mode (Bug#9818).
13532
13533 * mouse.el (mouse-yank-primary): Push the mark (Bug#9894).
13534
13535 * textmodes/flyspell.el (flyspell-word): Fix char offset for
13536 forged Ispell output (Bug#7904).
13537
13538 * emacs-lisp/package.el (package-refresh-contents): Add autoload.
13539
13540 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
13541
13542 * doc-view.el: Avoid ugly errors about not finding nil.
13543 (doc-view-ghostscript-program, doc-view-dvipdfm-program)
13544 (doc-view-dvipdf-program, doc-view-unoconv-program)
13545 (doc-view-ps2pdf-program, doc-view-pdftotext-program):
13546 Avoid nil or absolute file name as default value.
13547 (doc-view-pdf->txt, doc-view-ps->pdf): Use executable-find here.
13548
13549 2011-10-28 Alan Mackenzie <acm@muc.de>
13550
13551 * progmodes/cc-defs.el (c-version): -> 5.32.2.
13552
13553 2011-10-28 Alan Mackenzie <acm@muc.de>
13554
13555 Amend the handling of c-beginning/end-of-defun in nested declaration
13556 scopes.
13557
13558 * progmodes/cc-vars.el (c-defun-tactic): Move here from
13559 cc-langs.el. Change it to a defcustom.
13560
13561 * progmodes/cc-langs.el (c-defun-tactic): Move this variable to
13562 cc-vars.el.
13563
13564 * progmodes/cc-engine.el (c-beginning-of-statement-1):
13565 Prevent "class foo : bar" being spuriously recognized as a label.
13566
13567 * progmodes/cc-cmds.el (c-narrow-to-most-enclosing-decl-block):
13568 Add parameter `inclusive' (to include enclosing braces in the region).
13569 (c-widen-to-enclosing-decl-scope): New function.
13570 (c-while-widening-to-decl-block): New macro.
13571 (c-beginning-of-defun, c-end-of-defun): Change algorithm to keep going
13572 outward for defun boundaries, and correspondingly change symbol
13573 `respect-enclosure' to `go-outward'.
13574 (c-declaration-limits): Change algorithm to report only the "innermost"
13575 defun's boundaries.
13576
13577 2011-10-28 Deniz Dogan <deniz@dogan.se>
13578
13579 * net/rcirc.el (rcirc-mode): Use hard newlines.
13580
13581 2011-10-28 Alan Mackenzie <acm@muc.de>
13582
13583 Amend to indent and fontify macros "which include their own semicolon"
13584 correctly, using the "virtual semicolon" mechanism.
13585
13586 * progmodes/cc-defs.el: Update "virtual semicolon" comments.
13587
13588 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
13589 Recode to scan one line at a time rather than having \n and \r
13590 explicitly in c-stmt-delim-chars (for some modes, e.g. AWK).
13591 (c-forward-label): Amend for virtual semicolons.
13592 (c-at-macro-vsemi-p, c-macro-vsemi-status-unknown-p): New functions.
13593
13594 * progmodes/cc-fonts.el (c-font-lock-declarations): Take account
13595 of the new C macros.
13596
13597 * progmodes/cc-langs.el (c-at-vsemi-p-fn):
13598 (c-vsemi-status-unknown-p-fn): Move to earlier in the file.
13599 (c-opt-cpp-symbol, c-line-comment-start-regexp): New language vars.
13600 (c-opt-cpp-macro-define): Make into a full language variable.
13601 (c-stmt-delim-chars, c-stmt-delim-chars-with-comma): Special value for
13602 AWK Mode (including \n, \r) removed, no longer needed.
13603
13604 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode):
13605 Invoke c-make-macro-with-semi-re.
13606
13607 * progmodes/cc-vars.el (c-macro-with-semi-re):
13608 (c-macro-names-with-semicolon): New variables.
13609 (c-make-macro-with-semi-re): New function.
13610
13611 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
13612
13613 * vc/log-edit.el: Fill empty field rather than adding new one.
13614 (log-edit-add-field): New function.
13615 (log-edit-insert-changelog): Use it.
13616
13617 2011-10-28 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
13618
13619 * mail/rmail.el (rmail-mode-map): Add M-C-f as in rmailsum (bug#9802).
13620
13621 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
13622
13623 * progmodes/gdb-mi.el: Warn the user when -i=mi is missing.
13624 (gdb--check-interpreter): New function.
13625 (gdb): Use it.
13626
13627 2011-10-27 Glenn Morris <rgm@gnu.org>
13628
13629 * emacs-lisp/cl-extra.el (most-positive-float, most-negative-float)
13630 (least-positive-float, least-negative-float)
13631 (least-positive-normalized-float, least-negative-normalized-float)
13632 (float-epsilon, float-negative-epsilon):
13633 Remove unnecessary declarations.
13634
13635 * emacs-lisp/cl-extra.el (cl-float-limits): Add doc string.
13636 * emacs-lisp/cl.el (most-positive-float, most-negative-float)
13637 (least-positive-float, least-negative-float)
13638 (least-positive-normalized-float, least-negative-normalized-float)
13639 (float-epsilon, float-negative-epsilon): Add doc-strings,
13640 based on those in cl.texi.
13641
13642 * files.el (set-visited-file-name): If the major-mode changed,
13643 reload the local variables. (Bug#9796)
13644
13645 2011-10-27 Chong Yidong <cyd@gnu.org>
13646
13647 * subr.el (change-major-mode-after-body-hook): New hook.
13648 (run-mode-hooks): Run it.
13649
13650 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
13651 Use change-major-mode-before-body-hook.
13652
13653 * simple.el (fundamental-mode):
13654 * emacs-lisp/derived.el (define-derived-mode): Revert 2010-04-28
13655 change introducing fundamental-mode-hook.
13656
13657 2011-10-26 Juanma Barranquero <lekktu@gmail.com>
13658
13659 * term/w32-win.el (w32-default-color-map): Declare obsolete (Bug#9785).
13660
13661 2011-10-26 Michael Albinus <michael.albinus@gmx.de>
13662
13663 * ido.el (ido-file-name-all-completions-1): Do not require
13664 tramp.el explicitly. (Bug#7583)
13665
13666 2011-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
13667
13668 * progmodes/octave-mod.el:
13669 * progmodes/octave-inf.el: Update maintainer.
13670
13671 2011-10-26 Chong Yidong <cyd@gnu.org>
13672
13673 * subr.el (with-wrapper-hook): Rewrite doc.
13674
13675 2011-10-25 Michael Albinus <michael.albinus@gmx.de>
13676
13677 * net/tramp-sh.el (tramp-sh-handle-file-directory-p): Return t for
13678 filenames "/method:foo:". (Bug#9793)
13679
13680 2011-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
13681
13682 * comint.el (comint-get-old-input-default): Fix use-prompt-regexp case
13683 (bug#9865).
13684
13685 2011-10-24 Glenn Morris <rgm@gnu.org>
13686
13687 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix. (Bug#9819)
13688
13689 2011-10-24 Michael Albinus <michael.albinus@gmx.de>
13690
13691 * notifications.el: Add the requirement of a running D-Bus session
13692 bus to the Commentary.
13693
13694 2011-10-24 Juri Linkov <juri@jurta.org>
13695
13696 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
13697 `search-whitespace-regexp' only when `isearch-regexp' is non-nil.
13698 (Bug#9364)
13699
13700 2011-10-24 Juri Linkov <juri@jurta.org>
13701
13702 * info.el (Info-following-node-name-re): Add newline to the list
13703 of allowed characters for leading space. (Bug#9824)
13704
13705 2011-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
13706
13707 * progmodes/octave-inf.el (inferior-octave-mode-map):
13708 Fix C-c C-h binding.
13709 * progmodes/octave-mod.el (octave-help): Remove.
13710
13711 2011-10-23 Michael Albinus <michael.albinus@gmx.de>
13712
13713 Sync with Tramp 2.2.3.
13714
13715 * net/tramp-cache.el (top): Pacify byte-compiler using
13716 `init-file-user' and `site-run-file'.
13717
13718 * net/trampver.el: Update release number.
13719
13720 2011-10-23 Chong Yidong <cyd@gnu.org>
13721
13722 * files.el (toggle-read-only): Remove obsolete comment about
13723 version control.
13724
13725 * vc/vc-hooks.el (vc-toggle-read-only): Make it an obsolete alias
13726 for toggle-read-only. Note that this hasn't called vc-next-action
13727 since 2008-05-02, though it wasn't documented at the time.
13728
13729 * vc/ediff-init.el (ediff-toggle-read-only-function):
13730 Use toggle-read-only.
13731
13732 2011-10-22 Alan Mackenzie <bug-cc-mode@gnu.org>
13733
13734 Fix bug #9560, sporadic wrong indentation; improve instrumentation
13735 of c-parse-state.
13736
13737 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
13738 correct faulty logical expression.
13739 (c-parse-state-state, c-record-parse-state-state):
13740 (c-replay-parse-state-state): New defvar/defuns.
13741 (c-debug-parse-state): Use new functions.
13742
13743 2011-10-22 Martin Rudalics <rudalics@gmx.at>
13744
13745 * mouse.el (mouse-drag-line): Fix minibuffer resizing broken by
13746 last fix. Use window-in-direction correctly.
13747
13748 2011-10-21 Chong Yidong <cyd@gnu.org>
13749
13750 * progmodes/idlwave.el (idlwave-mode):
13751 * progmodes/vera-mode.el (vera-mode): No need to set
13752 require-final-newline; that's done in prog-mode.
13753 Suggested by Stefan Monnier.
13754
13755 2011-10-21 Martin Rudalics <rudalics@gmx.at>
13756
13757 * mouse.el (mouse-drag-window-above)
13758 (mouse-drag-move-window-bottom, mouse-drag-move-window-top)
13759 (mouse-drag-mode-line-1, mouse-drag-header-line)
13760 (mouse-drag-vertical-line-rightward-window): Remove.
13761 (mouse-drag-line): New function.
13762 (mouse-drag-mode-line, mouse-drag-header-line)
13763 (mouse-drag-vertical-line): Call mouse-drag-line.
13764 * window.el (window-at-side-p, windows-at-side): New functions.
13765
13766 2011-10-21 Ulrich Mueller <ulm@gentoo.org>
13767
13768 * tar-mode.el (tar-grind-file-mode):
13769 Fix handling of setuid/setgid, handle sticky bit. (Bug#9817)
13770
13771 2011-10-21 Chong Yidong <cyd@gnu.org>
13772
13773 * progmodes/idlwave.el (idlwave-mode):
13774 * progmodes/vera-mode.el (vera-mode):
13775 Use mode-require-final-newline.
13776
13777 2011-10-20 Glenn Morris <rgm@gnu.org>
13778
13779 * vc/vc.el (vc-next-action): Handle removed directories. (Bug#9781)
13780
13781 2011-10-20 Christoph Scholtes <cschol2112@googlemail.com>
13782
13783 * emulation/cua-base.el (cua-set-mark): Fix case of string.
13784
13785 2011-10-20 Chong Yidong <cyd@gnu.org>
13786
13787 * emulation/cua-base.el (cua-mode):
13788 * mail/footnote.el (footnote-mode):
13789 * mail/mailabbrev.el (mail-abbrevs-mode):
13790 * net/xesam.el (xesam-minor-mode):
13791 * progmodes/bug-reference.el (bug-reference-mode):
13792 * progmodes/cap-words.el (capitalized-words-mode):
13793 * progmodes/compile.el (compilation-minor-mode)
13794 (compilation-shell-minor-mode):
13795 * progmodes/gud.el (gud-tooltip-mode):
13796 * progmodes/hideif.el (hide-ifdef-mode):
13797 * progmodes/idlw-shell.el (idlwave-shell-electric-debug-mode):
13798 * progmodes/subword.el (subword-mode):
13799 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
13800 * progmodes/which-func.el (which-function-mode):
13801 * term/tvi970.el (tvi970-set-keypad-mode):
13802 * term/vt100.el (vt100-wide-mode):
13803 * textmodes/flyspell.el (flyspell-mode):
13804 * textmodes/ispell.el (ispell-minor-mode):
13805 * textmodes/nroff-mode.el (nroff-electric-mode):
13806 * textmodes/paragraphs.el (use-hard-newlines):
13807 * textmodes/refill.el (refill-mode):
13808 * textmodes/reftex.el (reftex-mode):
13809 * textmodes/rst.el (rst-minor-mode):
13810 * textmodes/sgml-mode.el (html-autoview-mode)
13811 (sgml-electric-tag-pair-mode):
13812 * textmodes/tex-mode.el (latex-electric-env-pair-mode):
13813 * vc/diff-mode.el (diff-auto-refine-mode, diff-minor-mode):
13814 * emulation/crisp.el (crisp-mode):
13815 * emacs-lisp/eldoc.el (eldoc-mode):
13816 * emacs-lisp/checkdoc.el (checkdoc-minor-mode): Doc fixes for new
13817 minor mode behavior.
13818
13819 2011-10-19 Juri Linkov <juri@jurta.org>
13820
13821 * descr-text.el (describe-char): Add #x2010 and #x2011 to
13822 the list of hard-coded chars with escape-glyph face.
13823
13824 2011-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
13825
13826 * vc/log-edit.el (log-edit-empty-buffer-p): Ignore empty headers.
13827
13828 2011-10-19 Michael Albinus <michael.albinus@gmx.de>
13829
13830 * net/tramp.el (tramp-connectable-p): Make a stronger check on a
13831 running process.
13832
13833 2011-10-19 Glenn Morris <rgm@gnu.org>
13834
13835 * vc/vc-bzr.el (vc-bzr-after-dir-status):
13836 Ignore ignored files. (Bug#9726)
13837
13838 2011-10-19 Chong Yidong <cyd@gnu.org>
13839
13840 Doc fix for minor modes, stating that an omitted argument enables
13841 the mode unconditionally when called from Lisp.
13842
13843 * abbrev.el (abbrev-mode):
13844 * allout.el (allout-mode):
13845 * autoinsert.el (auto-insert-mode):
13846 * autoarg.el (autoarg-mode, autoarg-kp-mode):
13847 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
13848 (global-auto-revert-mode):
13849 * battery.el (display-battery-mode):
13850 * composite.el (global-auto-composition-mode)
13851 (auto-composition-mode):
13852 * delsel.el (delete-selection-mode):
13853 * desktop.el (desktop-save-mode):
13854 * dired-x.el (dired-omit-mode):
13855 * dirtrack.el (dirtrack-mode):
13856 * doc-view.el (doc-view-minor-mode):
13857 * double.el (double-mode):
13858 * electric.el (electric-indent-mode, electric-pair-mode):
13859 * emacs-lock.el (emacs-lock-mode):
13860 * epa-hook.el (auto-encryption-mode):
13861 * follow.el (follow-mode):
13862 * font-core.el (font-lock-mode):
13863 * frame.el (auto-raise-mode, auto-lower-mode, blink-cursor-mode):
13864 * help.el (temp-buffer-resize-mode):
13865 * hilit-chg.el (highlight-changes-mode)
13866 (highlight-changes-visible-mode):
13867 * hi-lock.el (hi-lock-mode):
13868 * hl-line.el (hl-line-mode, global-hl-line-mode):
13869 * icomplete.el (icomplete-mode):
13870 * ido.el (ido-everywhere):
13871 * image-file.el (auto-image-file-mode):
13872 * image-mode.el (image-minor-mode):
13873 * iswitchb.el (iswitchb-mode):
13874 * jka-cmpr-hook.el (auto-compression-mode):
13875 * linum.el (linum-mode):
13876 * longlines.el (longlines-mode):
13877 * master.el (master-mode):
13878 * mb-depth.el (minibuffer-depth-indicate-mode):
13879 * menu-bar.el (menu-bar-mode):
13880 * minibuf-eldef.el (minibuffer-electric-default-mode):
13881 * mouse-sel.el (mouse-sel-mode):
13882 * msb.el (msb-mode):
13883 * mwheel.el (mouse-wheel-mode):
13884 * outline.el (outline-minor-mode):
13885 * paren.el (show-paren-mode):
13886 * recentf.el (recentf-mode):
13887 * reveal.el (reveal-mode, global-reveal-mode):
13888 * rfn-eshadow.el (file-name-shadow-mode):
13889 * ruler-mode.el (ruler-mode):
13890 * savehist.el (savehist-mode):
13891 * scroll-all.el (scroll-all-mode):
13892 * scroll-bar.el (scroll-bar-mode):
13893 * server.el (server-mode):
13894 * shell.el (shell-dirtrack-mode):
13895 * simple.el (auto-fill-mode, transient-mark-mode)
13896 (visual-line-mode, overwrite-mode, binary-overwrite-mode)
13897 (line-number-mode, column-number-mode, size-indication-mode)
13898 (auto-save-mode, normal-erase-is-backspace-mode, visible-mode):
13899 * strokes.el (strokes-mode):
13900 * time.el (display-time-mode):
13901 * t-mouse.el (gpm-mouse-mode):
13902 * tool-bar.el (tool-bar-mode):
13903 * tooltip.el (tooltip-mode):
13904 * type-break.el (type-break-mode-line-message-mode)
13905 (type-break-query-mode):
13906 * view.el (view-mode):
13907 * whitespace.el (whitespace-mode, whitespace-newline-mode)
13908 (global-whitespace-mode, global-whitespace-newline-mode):
13909 * xt-mouse.el (xterm-mouse-mode): Doc fix.
13910
13911 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
13912 Fix autogenerated docstring.
13913
13914 2011-10-19 Juri Linkov <juri@jurta.org>
13915
13916 * net/browse-url.el (browse-url-can-use-xdg-open): Support LXDE
13917 by checking environment variables "DESKTOP_SESSION" and
13918 "XDG_CURRENT_DESKTOP". (Bug#9779)
13919
13920 2011-10-19 Juri Linkov <juri@jurta.org>
13921
13922 * net/browse-url.el (browse-url-browser-function): Add "Chromium".
13923 (browse-url-chromium-program, browse-url-chromium-arguments):
13924 New defcustoms.
13925 (browse-url-default-browser): Check for `browse-url-chromium' and
13926 call `browse-url-chromium-program'.
13927 (browse-url-chromium): New command. (Bug#9779)
13928
13929 2011-10-18 Juanma Barranquero <lekktu@gmail.com>
13930
13931 * facemenu.el (list-colors-duplicates): On Windows, detect more
13932 duplicates by assuming that only colors matching "^System" are
13933 special "system colors". (Bug#9722)
13934
13935 2011-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
13936
13937 * vc/log-edit.el (log-edit): Add "Author:" header to encourage people
13938 to distinguish the author from the committer.
13939
13940 2011-10-18 Michael Albinus <michael.albinus@gmx.de>
13941
13942 * net/tramp.el (tramp-file-name-handler): Load Tramp packages silently.
13943
13944 2011-10-18 Jirka Kosek <jirka@kosek.cz> (tiny change)
13945
13946 * international/mule.el (sgml-html-meta-auto-coding-function):
13947 Add support for detecting encoding in HTML5 specified only as
13948 <meta charset="UTF-8">. Implementation just makes http-equiv and
13949 content-type parts from HTML4 encoding string optional. (Bug#9716)
13950
13951 2011-10-18 Glenn Morris <rgm@gnu.org>
13952
13953 * vc/vc.el (vc-initial-comment): Mark as obsolete. (Bug#9745)
13954
13955 2011-10-18 Chong Yidong <cyd@gnu.org>
13956
13957 * faces.el (cursor): Doc fix.
13958
13959 2011-10-17 Chong Yidong <cyd@gnu.org>
13960
13961 * font-lock.el (font-lock-maximum-size): Mark as obsolete.
13962
13963 2011-10-17 Ryan Barrett <emacs@ryanb.org> (tiny change)
13964
13965 * dirtrack.el (dirtrack): Support shell buffers with path
13966 prefixes, e.g. tramp-based remote shells. (Bug#9647)
13967
13968 2011-10-17 Teodor Zlatanov <tzz@lifelogs.com>
13969
13970 * json.el: Bump version to 1.3 and note change in History.
13971 (json-alist-p, json-plist-p): Rewrite to avoid recursion.
13972
13973 2011-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
13974
13975 * comint.el (comint-insert-input, comint-send-input)
13976 (comint-get-old-input-default, comint-backward-matching-input)
13977 (comint-next-prompt): Use nil instead of `input' for field property of
13978 past user input (bug#114).
13979
13980 * minibuffer.el (completion--replace): Inherit surrounding properties
13981 (bug#114).
13982 (minibuffer-complete-and-exit): Use it.
13983
13984 * comint.el (comint--table-subvert): Quote the all-completions output
13985 (bug#9160).
13986
13987 2011-10-17 Martin Rudalics <rudalics@gmx.at>
13988
13989 * ido.el (ido-default-buffer-method): Remove redundant :type entry.
13990
13991 * menu-bar.el (menu-bar-file-menu): Add entry for making new
13992 window on right of selected. (Bug#9350) Reword other window
13993 entries and separate them from frame entries.
13994
13995 2011-10-15 Glenn Morris <rgm@gnu.org>
13996
13997 * emacs-lisp/ert.el (ert--explain-equal-rec, ert-select-tests):
13998 Doc fixes.
13999
14000 2011-10-15 Chong Yidong <cyd@stupidchicken.com>
14001
14002 * net/network-stream.el (network-stream-open-starttls):
14003 Improve detection of failure due to lack of TLS support.
14004
14005 * mail/sendmail.el (sendmail-query-once): Tweak prompt message,
14006 putting the input text in front and in bold.
14007
14008 2011-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
14009
14010 * pcmpl-unix.el (pcomplete/ssh): SSH does allow ganging.
14011
14012 * mpc.el (mpc-songs-jump-to): Don't burp if the user clicks in an
14013 empty buffer.
14014
14015 * mouse.el (mouse-drag-mode-line-1): Modify the end-event we pushed on
14016 unread-command-events rather than pushing yet-another event.
14017
14018 2011-10-14 Eli Zaretskii <eliz@gnu.org>
14019
14020 * mail/sendmail.el (sendmail-query-once): Improve the wording of
14021 the explanation of the possible choices. Make the options passed
14022 to completing-read shorter.
14023
14024 2011-10-13 Agustín Martín Domingo <agustin.martin@hispalinux.es>
14025
14026 * textmodes/flyspell.el (flyspell-large-region): Make sure
14027 extended character mode is used if defined (Bug#1339).
14028
14029 2011-10-13 Eli Zaretskii <eliz@gnu.org>
14030
14031 * simple.el (what-cursor-position): Fix the display of the
14032 character info for LRE, LRO, RLE, and RLO characters by appending
14033 an invisible PDF.
14034
14035 2011-10-13 Stefan Monnier <monnier@iro.umontreal.ca>
14036
14037 * emacs-lisp/timer.el (with-timeout): Make sure we cancel the timer
14038 even in case of error; add debug spec; simplify data flow.
14039 (with-timeout-handler): Remove.
14040
14041 2011-10-12 Michael Albinus <michael.albinus@gmx.de>
14042
14043 Fix Bug#6019, Bug#9315.
14044
14045 * files.el (set-auto-mode): Call `file-name-sans-versions' for the
14046 complete `buffer-file-name', the local file name part could look
14047 remotely (for example on VMS).
14048
14049 * net/ange-ftp.el (ange-ftp-run-real-handler): Make it an alias of
14050 `tramp-run-real-handler'.
14051 (ange-ftp-fix-name-for-vms): Handle the case, where `name' is
14052 already quoted by '"'.
14053
14054 * net/tramp.el (tramp-rfn-eshadow-update-overlay): Ignore errors.
14055 Let `file-name-handler-alist' be nil, the local file name part
14056 could look remotely (for example on VMS).
14057
14058 2011-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
14059
14060 * textmodes/flyspell.el (flyspell-word): Move with-local-quit
14061 from here...
14062 (flyspell-post-command-hook): ...to here.
14063
14064 2011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
14065
14066 * mail/sendmail.el (send-mail-function): Don't use sendmail-query-once
14067 if not needed.
14068 (sendmail-query-once): Remove OS dependencies. Make it a 3-way choice
14069 using completion. Protect against "slow" callers.
14070 Remove the "message hack".
14071
14072 2011-10-11 Juri Linkov <juri@jurta.org>
14073
14074 * isearch.el (isearch-lazy-highlight-word): New variable.
14075 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
14076 Use it. (Bug#9727)
14077
14078 2011-10-11 Glenn Morris <rgm@gnu.org>
14079
14080 * progmodes/f90.el (f90-next-statement): Ignore preprocessor lines,
14081 like f90-previous-statement does.
14082
14083 2011-10-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
14084
14085 * eshell/eshell.el (eshell-command): History should be saved
14086 only in interactive use, to avoid error.
14087
14088 2011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
14089
14090 * minibuffer.el (completion-file-name-table): Fix last change,
14091 i.e. ignore normal errors but not the other ones.
14092
14093 2011-10-10 Martin Rudalics <rudalics@gmx.at>
14094
14095 * window.el (special-display-buffer-names)
14096 (special-display-regexps): Remove some remnants of earlier
14097 changes from doc-strings.
14098 (quit-windows-on): New function.
14099
14100 * vc/vc.el (vc-revert, vc-rollback):
14101 * vc/vc-dispatcher.el (vc-finish-logentry): Call quit-windows-on
14102 instead of deleting windows. (Bug#4557) (Bug#5310) (Bug#5556)
14103 (Bug#6183) (Bug#7074) (Bug#7447)
14104
14105 2011-10-09 Martin Rudalics <rudalics@gmx.at>
14106
14107 * window.el (frame-auto-hide-function): Add version tag.
14108 (Bug#9699)
14109
14110 2011-10-09 Michael Albinus <michael.albinus@gmx.de>
14111
14112 * net/tramp.el (tramp-file-name-handler): Add 'debug to the error
14113 condition.
14114
14115 2011-10-09 Leo Liu <sdl.web@gmail.com>
14116
14117 * mail/smtpmail.el (smtpmail-send-data): Add a missing space.
14118 (Bug#9701)
14119
14120 2011-10-08 Glenn Morris <rgm@gnu.org>
14121
14122 * progmodes/f90.el (f90-calculate-indent): Give preprocessor lines
14123 before the first code statement zero indent. (Bug#9690)
14124
14125 2011-10-08 Chong Yidong <cyd@stupidchicken.com>
14126
14127 * simple.el (count-words-region): Always count in the region.
14128 Report the number of lines and characters too.
14129 (count-words): New command, which counts in the buffer if the
14130 region is inactive, as count-words-region used to.
14131 (count-words--message): New function. Handle plurals.
14132 (count-lines-region): Make it an alias for count-words-region.
14133
14134 * bindings.el (esc-map): Replace count-lines-region with
14135 count-words-region.
14136
14137 2011-10-08 Martin Rudalics <rudalics@gmx.at>
14138
14139 * window.el (window--delete): Delete dedicated frame
14140 unconditionally when argument KILL is non-nil. (Bug#9699)
14141 (switch-to-buffer): Fix doc-string typo.
14142
14143 2011-10-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
14144
14145 * eshell/eshell.el (eshell-command): Avoid using hooks.
14146
14147 2011-10-07 Chong Yidong <cyd@stupidchicken.com>
14148
14149 * bindings.el ([M-left],[M-right]): Bind to left-word and
14150 right-word respectively.
14151
14152 2011-10-07 Glenn Morris <rgm@gnu.org>
14153
14154 * cus-start.el (debug-on-quit): Fix custom type.
14155
14156 2011-10-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
14157
14158 * subr.el (define-key-after): Clarify that the function is not
14159 useful for non-menu keymaps.
14160
14161 * progmodes/gdb-mi.el (gdb): Fix typo in doc string.
14162
14163 2011-10-06 Thierry Volpiatto <thierry.volpiatto@gmail.com>
14164
14165 * eshell/eshell.el (eshell-command): Enable `eshell-mode' only
14166 in current minibuffer (Fix bug with recursive minibuffers).
14167
14168 2011-10-06 Chong Yidong <cyd@stupidchicken.com>
14169
14170 * progmodes/gdb-mi.el (gdb): Doc fix.
14171
14172 2011-10-05 Martin Rudalics <rudalics@gmx.at>
14173
14174 * window.el (frame-auto-hide-function): New option replacing
14175 frame-auto-delete. Suggested by Stefan Monnier.
14176 (window--delete): Call frame-auto-hide-function instead of
14177 investigating frame-auto-delete.
14178 (window-point-1, set-window-point-1): New functions.
14179 (window-in-direction, record-window-buffer, window-state-get-1)
14180 (display-buffer-record-window): Use window-point-1 instead of
14181 window-point.
14182 (set-window-buffer-start-and-point): Use set-window-point-1.
14183
14184 2011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
14185
14186 * emacs-lisp/edebug.el: Heed checkdoc recommendations.
14187
14188 2011-10-05 Glenn Morris <rgm@gnu.org>
14189
14190 * progmodes/perl-mode.el (perl-electric-terminator): Doc fix.
14191 (perl-calculate-indent): Suppress scan errors. (Bug#2205)
14192
14193 2011-10-05 Leo Liu <sdl.web@gmail.com>
14194
14195 * subr.el (read-char-choice): Fix argument to buffer-live-p which
14196 works with buffer object.
14197
14198 2011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
14199
14200 * mpc.el (mpc-tool-bar-map): Add labels.
14201
14202 2011-10-04 Glenn Morris <rgm@gnu.org>
14203
14204 * calendar/holidays.el (calendar-check-holidays): Doc fix.
14205
14206 2011-10-04 Martin Rudalics <rudalics@gmx.at>
14207
14208 * window.el (window--delete): New function.
14209 (frame-auto-delete): Resuscitate option.
14210 (bury-buffer, replace-buffer-in-windows)
14211 (quit-window): Rewrite using window--delete.
14212 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
14213 Pass display-buffer-mark-dedicated to window--display-buffer-2
14214 (Bug#9639).
14215
14216 2011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
14217
14218 * pcmpl-unix.el (pcomplete/scp): Don't assume pcomplete-all-entries
14219 returns a list (bug#9554). Add remote file name completion.
14220 * comint.el (comint--table-subvert): Curry and get quote&unquote
14221 functions as arguments.
14222 (comint--complete-file-name-data): Adjust call accordingly.
14223 * pcomplete.el (pcomplete--table-subvert): Remove.
14224 (pcomplete-completions-at-point): Use comint--table-subvert instead.
14225
14226 * minibuffer.el (completion-table-case-fold): Use currying.
14227 (completion--styles-type, completion--cycling-threshold-type):
14228 New constants.
14229 (completion-styles, completion-category-overrides)
14230 (completion-cycle-threshold): Use them.
14231 * pcomplete.el (pcomplete-completions-at-point): Adjust call to
14232 completion-table-case-fold.
14233
14234 2011-10-03 Stephen Berman <stephen.berman@gmx.net>
14235
14236 * minibuffer.el (completion-category-overrides): Fix type of styles
14237 and add more user friendly tags (bug#9660).
14238
14239 2011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
14240
14241 * international/mule-cmds.el: Fix abuses of apply-partially (bug#9661).
14242 (mule-input-method-string): New widget.
14243 (default-input-method, language-info-custom-alist): Use it.
14244
14245 2011-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
14246
14247 * pcomplete.el: Require comint.
14248 (pcomplete--common-suffix): Remove.
14249 (pcomplete--common-quoted-suffix): Use comint--common-suffix instead.
14250 (pcomplete--table-subvert): Sync with comint--table-subvert.
14251 (pcomplete--entries): Use comint-completion-file-name-table.
14252 * comint.el (comint-unquote-filename): Simplify.
14253 (comint-completion-file-name-table): New function (bug#9616).
14254 (comint--complete-file-name-data): Use it.
14255
14256 * pcmpl-gnu.el (pcmpl-gnu-with-file-buffer): New macro (bug#9643).
14257 (pcmpl-gnu-tar-buffer): Remove.
14258 (pcmpl-gnu-with-file-buffer): Use it to avoid leaving the tar's buffer
14259 around. Make sure pcomplete-suffix-list is only changed temporarily.
14260 Don't look inside the tar's file if it's too large.
14261
14262 2011-10-01 Chong Yidong <cyd@stupidchicken.com>
14263
14264 * cus-edit.el (custom-mode-map):
14265 * epa.el (epa-key-list-mode-map):
14266 * man.el (Man-mode-map):
14267 * startup.el (splash-screen-keymap):
14268 * simple.el (special-mode-map): Use scroll-up-command and
14269 scroll-down-command.
14270
14271 * progmodes/idlw-help.el (idlwave-help-mode-map):
14272 * progmodes/ebrowse.el (ebrowse-electric-position-mode-map):
14273 * net/newst-plainview.el (newsticker-mode-map):
14274 * emulation/ws-mode.el (wordstar-mode-map):
14275 * emulation/vi.el (vi-com-map):
14276 * calc/calc-graph.el (calc-graph-show-dumb):
14277 * term/sun.el (terminal-init-sun):
14278 * term/ns-win.el (global-map):
14279 * progmodes/grep.el (grep-mode-map):
14280 * progmodes/ebrowse.el (ebrowse-electric-list-mode-map):
14281 * mail/rmail.el (rmail-mode-map):
14282 * progmodes/cpp.el (cpp-edit-mode-map): Likewise.
14283
14284 * custom.el (custom-safe-themes, load-theme): Treat value of t for
14285 custom-safe-themes as special.
14286
14287 2011-10-01 Julien Danjou <julien@danjou.info>
14288
14289 * notifications.el (notifications-notify): Fix docstring.
14290
14291 2011-10-01 Per Starbäck <per@starback.se>
14292
14293 * pcmpl-gnu.el (pcomplete/tar): Fix tar-header-name call. (Bug#9643)
14294
14295 2011-09-30 Martin Rudalics <rudalics@gmx.at>
14296
14297 * startup.el (command-line-1): Fix last fix by inserting
14298 initial-scratch-message into *scratch* before displaying it.
14299 (Bug#9605) and (Bug#9636)
14300
14301 2011-09-29 Eli Zaretskii <eliz@gnu.org>
14302
14303 * simple.el (line-move): If auto-hscroll-mode is disabled and the
14304 window is hscrolled, move by logical lines. (Bug#9607)
14305 (line-move-visual): Update the doc string to the above effect.
14306
14307 2011-09-29 Martin Rudalics <rudalics@gmx.at>
14308
14309 * window.el (display-buffer-record-window): When WINDOW is the
14310 selected window use `point' instead of `window-point'. (Bug#9626)
14311
14312 * startup.el (command-line-1): Use insert-before-markers when
14313 inserting initial-scratch-message. (Bug#9605)
14314
14315 * help.el (help-window): Remove variable.
14316
14317 2011-09-29 Glenn Morris <rgm@gnu.org>
14318
14319 * pcmpl-cvs.el (pcomplete/cvs): Add "status" handler.
14320
14321 2011-09-29 Juanma Barranquero <lekktu@gmail.com>
14322
14323 * descr-text.el (describe-char-categories): Accept category
14324 descriptions more than one line long.
14325
14326 2011-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
14327
14328 * simple.el (delete-trailing-whitespace): Fix last change.
14329
14330 * progmodes/perl-mode.el (perl-syntax-propertize-function):
14331 Don't confuse "y => 3" as the beginning of a `y' operation.
14332
14333 * emacs-lisp/debug.el (debug-convert-byte-code): Don't assume the
14334 object has more than 4 slots (bug#9613).
14335
14336 2011-09-28 Juanma Barranquero <lekktu@gmail.com>
14337
14338 * subr.el (with-output-to-temp-buffer):
14339 * net/quickurl.el (quickurl, quickurl-browse-url):
14340 Fix typos in docstrings.
14341
14342 2011-09-27 Eli Zaretskii <eliz@gnu.org>
14343
14344 * minibuffer.el (completion-styles)
14345 (completion-category-overrides): Cross reference each other in doc
14346 strings.
14347
14348 2011-09-27 Glenn Morris <rgm@gnu.org>
14349
14350 * pcmpl-cvs.el (pcmpl-cvs-entries): Update for Emacs 22.1 changes
14351 to split-string. (Bug#9606)
14352
14353 2011-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
14354
14355 * mail/smtpmail.el (smtpmail-via-smtp): Fix STARTTLS detection
14356 (bug#9615).
14357
14358 2011-09-27 Chong Yidong <cyd@stupidchicken.com>
14359
14360 * emacs-lisp/package.el (list-packages): Fix echo area message.
14361
14362 2011-09-27 Leo Liu <sdl.web@gmail.com>
14363
14364 * ido.el (ido-read-internal): Accept cons cell HIST arg.
14365
14366 2011-09-25 Michael Albinus <michael.albinus@gmx.de>
14367
14368 * net/dbus.el (dbus-unregister-object): Don't release services for
14369 registered signals. (Bug#9581)
14370
14371 2011-09-25 Teodor Zlatanov <tzz@lifelogs.com>
14372
14373 * progmodes/cfengine.el (cfengine-auto-mode): Add convenience
14374 function that picks between cfengine 2 and 3 support
14375 automatically. Update docs accordingly.
14376
14377 2011-09-22 Kenichi Handa <handa@m17n.org>
14378
14379 * language/ind-util.el (indian-tml-base-table): Add TAMIL DIGIT
14380 ZERO.
14381 (indian-itrans-v5-table-for-tamil): New variable.
14382 (indian-tml-itrans-v5-hash): Use the above variable (Bug#9336).
14383
14384 2011-09-22 Ken Manheimer <ken.manheimer@gmail.com>
14385
14386 * allout.el (allout-this-command-hid-stuff): Buffer-local variable
14387 that's true if the current command involved collapsing of text.
14388 It's reset to false at the beginning of the next command.
14389 (allout-post-command-business): Move the cursor to the beginning
14390 of entry if the cursor is hidden and collapsing activity just
14391 happened.
14392
14393 2011-09-24 Chong Yidong <cyd@stupidchicken.com>
14394
14395 * mouse.el (mouse-drag-track): Set scroll-margin to 0 while
14396 tracking (Bug#9541).
14397
14398 2011-09-24 Ulf Jasper <ulf.jasper@web.de>
14399
14400 * net/newst-reader.el (newsticker-html-renderer)
14401 (newsticker-show-news): Automatically load html rendering package
14402 if newsticker-html-renderer is set. Fixes "Warning: defvar ignored
14403 because w3m-fill-column is let-bound" and the error "Symbol's value
14404 as variable is void: w3m-fill-column".
14405
14406 2011-09-24 Michael Albinus <michael.albinus@gmx.de>
14407
14408 * net/dbus.el (dbus-unregister-object): Remove match rule of signals.
14409 Release services only if they are defined. (Bug#9581)
14410
14411 2011-09-23 Richard Stallman <rms@gnu.org>
14412
14413 * textmodes/paragraphs.el (forward-sentence): For backwards case,
14414 distinguish start of paragraph from start of its text.
14415
14416 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs): Autoload.
14417
14418 * mail/rmail.el (rmail-view-buffer-kill-buffer-hook): New function.
14419 (rmail-generate-viewer-buffer): Put that hook on view buffer.
14420 (rmail-mode-kill-buffer-hook): Override that hook, to kill view buffer.
14421
14422 2011-09-23 Andreas Schwab <schwab@linux-m68k.org>
14423
14424 * international/mule-diag.el (mule-diag): Insert a newline after
14425 each fontset description.
14426
14427 2011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
14428
14429 * simple.el (delete-trailing-whitespace):
14430 Document last change; simplify.
14431
14432 2011-09-23 Peter J. Weisberg <pj@irregularexpressions.net>
14433
14434 * simple.el (delete-trailing-whitespace): Also delete
14435 extra newlines at the end of the buffer.
14436
14437 * textmodes/picture.el: Make motion commands obey shift-select-mode.
14438 (picture-newline): Use forward-line so as to ignore fields.
14439
14440 2011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
14441
14442 * subr.el (with-wrapper-hook): Fix edebug spec.
14443
14444 2011-09-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
14445
14446 * simple.el (kill-line): Note effect of `show-trailing-whitespace'
14447 (bug#4538).
14448
14449 2011-09-23 Michael Albinus <michael.albinus@gmx.de>
14450
14451 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
14452 Fix nasty bug using wrong cached values.
14453
14454 2011-09-23 Alan Mackenzie <acm@muc.de>
14455
14456 * progmodes/cc-defs.el (c-version): Increase to 5.31.9.
14457
14458 2011-09-23 Chong Yidong <cyd@stupidchicken.com>
14459
14460 * window.el (pop-to-buffer): Ensure right window is selected if we
14461 chose another frame.
14462
14463 2011-09-22 Eli Zaretskii <eliz@gnu.org>
14464
14465 * simple.el (what-cursor-position): Use get-char-property-change
14466 and next-single-char-property-change, to be able to show display
14467 properties that come from overlays as well as text properties.
14468
14469 2011-09-22 Chong Yidong <cyd@stupidchicken.com>
14470
14471 * window.el (pop-to-buffer-same-window): New (reinstated) fun.
14472
14473 * cmuscheme.el (run-scheme, switch-to-scheme):
14474 * cus-edit.el (customize-group, custom-buffer-create)
14475 (customize-browse):
14476 * info.el (info):
14477 * shell.el (shell):
14478 * mail/sendmail.el (mail):
14479 * progmodes/inf-lisp.el (inferior-lisp): Use it (Bug#9532).
14480
14481 2011-09-22 Richard Stallman <rms@gnu.org>
14482
14483 * textmodes/paragraphs.el (forward-sentence): When setting PAR-BEG,
14484 move back only to line beg, don't move back over blank lines.
14485
14486 2011-09-22 Michael Albinus <michael.albinus@gmx.de>
14487
14488 * files.el (copy-directory): Set directory attributes only in case
14489 they could be retrieved from the source directory. (Bug#9565)
14490
14491 2011-09-22 Dima Kogan <dkogan@secretsauce.net> (tiny change)
14492
14493 * progmodes/hideshow.el (hs-looking-at-block-start-p)
14494 (hs-find-block-beginning, hs-hide-level-recursive):
14495 Ignore strings as well as comments. (Bug#9502)
14496
14497 2011-09-22 Andrew Schein <andrew@andrewschein.com> (tiny change)
14498
14499 * progmodes/sql.el (sql-comint-postgres):
14500 Convert port number to a string. (Bug#9566)
14501
14502 2011-09-22 Martin Rudalics <rudalics@gmx.at>
14503
14504 * window.el (quit-window): Undedicate window when switching to
14505 previous buffer. Reported by Thierry Volpiatto
14506 <thierry.volpiatto@gmail.com>.
14507 (special-display-popup-frame): When popping up a new frame reset
14508 its previous buffers to nil. Simplify code.
14509
14510 2011-09-21 Michael Albinus <michael.albinus@gmx.de>
14511
14512 * net/tramp.el (tramp-handle-shell-command): Set process sentinel
14513 and process filter, as done also in `shell-command'.
14514
14515 2011-09-21 Martin Rudalics <rudalics@gmx.at>
14516
14517 * window.el (set-window-buffer-start-and-point):
14518 Call set-window-start with NOFORCE argument t.
14519 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
14520 (quit-window): Reword doc-string. Handle new format of
14521 quit-restore parameter. Don't delete window if it has a
14522 previous buffer we can show instead of the present one.
14523 (display-buffer-record-window): Rewrite using a new format for
14524 the quit-restore window parameter
14525 (special-display-popup-frame, display-buffer-same-window)
14526 (display-buffer-reuse-window, display-buffer-pop-up-frame)
14527 (display-buffer-pop-up-window, display-buffer-use-some-window):
14528 Adapt symbol passed to display-buffer-record-window.
14529 * help.el (help-window-setup): Handle new format of quit-restore
14530 parameter.
14531
14532 2011-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
14533
14534 * faces.el (face-list): Fix docstring (bug#9564).
14535
14536 * window.el (display-buffer--action-function-custom-type):
14537 Don't include internal functions in the Custom interface.
14538
14539 2011-09-20 Juri Linkov <juri@jurta.org>
14540
14541 * info.el (Info-history-skip-intermediate-nodes): New defcustom.
14542 (Info-forward-node, Info-backward-node, Info-next-preorder)
14543 (Info-last-preorder): Use it. (Bug#9528)
14544
14545 2011-09-20 Juri Linkov <juri@jurta.org>
14546
14547 * info.el (Info-last-preorder): Visit last menu item only when
14548 `Info-scroll-prefer-subnodes' is non-nil (third test-case of bug#9528).
14549
14550 2011-09-20 Julien Danjou <julien@danjou.info>
14551
14552 * password-cache.el (password-cache-remove): Remove entries even if the
14553 value is nil, so that password with a nil value (negative caching) is
14554 possible to invalidate.
14555
14556 2011-09-20 Lawrence Mitchell <wence@gmx.li>
14557
14558 * progmodes/f90.el (f90-break-line): If breaking inside comment delete
14559 all whitespace around breakpoint. (Bug#9553)
14560 (f90-find-breakpoint): Only break at whitespace inside a comment.
14561
14562 2011-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
14563
14564 * minibuffer.el (completion-file-name-table): Keep track of errors.
14565 (completion-table-with-predicate): Handle the case where pred1 is nil.
14566 * pcomplete.el (pcomplete-completions-at-point): Simplify.
14567
14568 2011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
14569
14570 * emacs-lisp/debug.el (debugger-args): Give it a docstring.
14571 (debugger-return-value): Signal an error if the debugging context does
14572 not await any return value.
14573
14574 * ps-mule.el (ps-mule-plot-string): Don't inf-loop (bug#5108).
14575 * image-mode.el (image-toggle-display-text)
14576 (image-toggle-display-image): Stay away from evil `intangible'.
14577
14578 2011-09-19 Leo Liu <sdl.web@gmail.com>
14579
14580 * replace.el (occur-revert-arguments): Make it permanent-local.
14581 (occur-mode): Don't call font-lock-defontify.
14582
14583 2011-09-19 Chong Yidong <cyd@stupidchicken.com>
14584
14585 * net/ldap.el (ldap-search-internal): Don't push empty search
14586 result (Bug#9508).
14587
14588 2011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
14589
14590 * whitespace.el (whitespace-newline-mode): Disable it right (bug#9550).
14591
14592 2011-09-19 Michael Albinus <michael.albinus@gmx.de>
14593
14594 * net/tramp-sh.el (tramp-inline-compress-commands): Add "xz".
14595 Suggested by Liam Stitt <stittl@cuug.ab.ca>.
14596
14597 2011-09-18 Juri Linkov <juri@jurta.org>
14598
14599 * buff-menu.el (Buffer-menu-mode-map):
14600 * dired.el (dired-mode-map):
14601 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map)
14602 (lisp-interaction-mode-map):
14603 * emacs-lisp/package.el (package-menu-mode-map):
14604 * epa.el (epa-key-list-mode-map):
14605 * menu-bar.el (menu-bar-showhide-tool-bar-menu)
14606 (menu-bar-options-menu):
14607 * outline.el (outline-mode-menu-bar-map):
14608 * vc/vc-bzr.el (vc-bzr-shelve-menu-map, vc-bzr-extra-menu-map):
14609 * vc/vc-dir.el (vc-dir-menu-map):
14610 * vc/vc-git.el (vc-git-stash-menu-map, vc-git-extra-menu-map):
14611 Capitalize non-function content words in menu item strings.
14612
14613 * dired.el (dired-mode-map): Add menu item for
14614 `image-dired-dired-toggle-marked-thumbs'.
14615
14616 2011-09-18 Juri Linkov <juri@jurta.org>
14617
14618 * isearch.el (isearch-edit-string): Bind `isearch-new-case-fold'
14619 to `isearch-case-fold-search' and restore its original value
14620 after the `isearch-mode' call.
14621
14622 2011-09-18 Juri Linkov <juri@jurta.org>
14623
14624 * progmodes/grep.el (grep-process-setup): Don't check code for 1
14625 because `zgrep' returns 1 for successful matches (bug#9226).
14626
14627 2011-09-18 Juri Linkov <juri@jurta.org>
14628
14629 * info.el (Info-extract-menu-node-name): Check the second match
14630 for empty string (second test-case of bug#9528).
14631 (Info-last-preorder): Let-bind `Info-history' to nil to not add
14632 intermediate nodes to the history (first test-case of bug#9528).
14633
14634 2011-09-18 Juri Linkov <juri@jurta.org>
14635
14636 * info.el (Info-mode-syntax-table): New variable.
14637 (Info-mode): Set `:syntax-table' to `Info-mode-syntax-table' (bug#3312).
14638
14639 2011-09-18 Juri Linkov <juri@jurta.org>
14640
14641 * info.el (Info-file-supports-index-cookies):
14642 Increment line-beginning-position's arg from 3 to 4 because makeinfo
14643 outputs one more line for long file names (bug#4142).
14644
14645 2011-09-18 Chong Yidong <cyd@stupidchicken.com>
14646
14647 * newcomment.el (comment-normalize-vars): If prompting for
14648 comment-start, set comment-start-skip too (Bug#8424).
14649
14650 2011-09-18 Johan Bockgård <bojohan@gnu.org>
14651
14652 * icomplete.el: Fix previous fix of Bug#5849.
14653 (icomplete-mode): Don't set completion-show-inline-help.
14654 (icomplete-minibuffer-setup): Set completion-show-inline-help
14655 locally during icompletion.
14656
14657 2011-09-18 Chong Yidong <cyd@stupidchicken.com>
14658
14659 * woman.el (woman2-process-escapes): Don't delete unrecognized
14660 escapes (Bug#7843).
14661
14662 * files.el (inhibit-first-line-modes-regexps): Add image files.
14663 (hack-local-variables-prop-line): Return nil for malformed
14664 prop-lines (Bug#9044).
14665
14666 2011-09-18 Michael Albinus <michael.albinus@gmx.de>
14667
14668 * net/tramp.el (top): Don't require 'shell.
14669 (tramp-methods): Fix docstring.
14670 (tramp-get-remote-tmpdir): New defun, moved from tramp-sh.el.
14671 Return complete remote file name. Handle "smb" case.
14672 Use `tramp-tmpdir', if defined for the respective method.
14673 (tramp-make-tramp-temp-file): Adapt call of `tramp-get-remote-tmpdir'.
14674
14675 * net/tramp-compat.el (top): Require 'shell.
14676
14677 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
14678 (tramp-maybe-open-connection): Use `tramp-file-name-real-host' for
14679 `tramp-current-host'.
14680 (tramp-get-remote-tmpdir): Remove.
14681
14682 * net/tramp-smb.el (tramp-methods): Add `tramp-remote-shell' and
14683 `tramp-tmpdir' entries.
14684 (tramp-smb-errors): Add "NT_STATUS_IMAGE_ALREADY_LOADED".
14685 (tramp-smb-handle-file-attributes): Ignore errors.
14686 (tramp-smb-wait-for-output): Check also for process end.
14687
14688 2011-09-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
14689
14690 * mail/smtpmail.el (smtpmail-via-smtp): Ignore errors that arise
14691 when sending QUIT (bug#9312).
14692
14693 2011-09-17 Chong Yidong <cyd@stupidchicken.com>
14694
14695 * replace.el (occur-mode-map): Rebind occur-edit-mode to "e" (Bug#8463).
14696 (occur-edit-mode-map): Bind C-c C-c to occur-cease-edit and C-o to
14697 occur-mode-display-occurrence.
14698 (occur-edit-mode): Add usage message.
14699 (occur-cease-edit): New command.
14700 (occur-after-change-function): Use text properties to find the
14701 position of the prefix text.
14702 (occur-engine): Set stickiness of prefix text properties.
14703
14704 2011-09-17 Glenn Morris <rgm@gnu.org>
14705
14706 * progmodes/etags.el (complete-tag):
14707 Fix call to completion-in-region. (Bug#9526)
14708
14709 2011-09-17 Juri Linkov <juri@jurta.org>
14710
14711 * textmodes/ispell.el (ispell-word): Add to the error message
14712 the word, ispell program name and current dictionary (bug#9121).
14713 (ispell-tex-arg-end): Capitalize "error" in the error message.
14714
14715 2011-09-17 Andreas Schwab <schwab@linux-m68k.org>
14716
14717 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix overflow
14718 check. (Bug#4251)
14719
14720 2011-09-17 Juri Linkov <juri@jurta.org>
14721
14722 * window.el (window-safe-min-height, window-safe-min-width):
14723 Fix typos (followup to bug#9522).
14724
14725 2011-09-17 Sven Joachim <svenjoac@gmx.de>
14726
14727 * window.el (window-min-width, window-state-put): Fix typos (bug#9522).
14728
14729 2011-09-16 Eli Zaretskii <eliz@gnu.org>
14730
14731 * simple.el (line-move): If goal-column is set, move by logical
14732 lines, not by display lines. (Bug#971)
14733 (next-line, previous-line, goal-column, line-move-visual): Doc fix
14734 to reflect the above change.
14735
14736 2011-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
14737
14738 * image.el (imagemagick-register-types): Use regexp-opt.
14739
14740 2011-09-15 Chong Yidong <cyd@stupidchicken.com>
14741
14742 * window.el (display-buffer-base-action): Rename from
14743 display-buffer-default-action. Make default value empty.
14744 (display-buffer-overriding-action): Convert to defvar.
14745 (display-buffer-fallback-action): New var.
14746
14747 2011-09-15 Chong Yidong <cyd@stupidchicken.com>
14748
14749 * emacs-lisp/package.el (package-alist): Fix risky-local-variable
14750 declaration.
14751 (package--add-to-archive-contents): If there is a duplicate entry
14752 with an older version, remove it.
14753 (package-menu-mark-delete, package-menu-mark-install)
14754 (package-menu-mark-unmark): Make unused args optional.
14755 (package-menu-mark-obsolete-for-deletion):
14756 Use package-menu-get-status instead of a regexp search.
14757 (package-menu-get-status): Use tabulated-list-entry.
14758 (package-menu-mark-upgrades): New command.
14759 (package-menu-mode-map): Bind it to U. Add it to menu bar.
14760 (package-menu-execute): Do installation before deletion.
14761 (package-menu-refresh, package-menu-execute): Use derived-mode-p
14762 instead of checking major-mode.
14763 (package-menu--find-upgrades): New function.
14764
14765 2011-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
14766
14767 * mail/smtpmail.el (smtpmail-send-command): Don't include AUTH
14768 passwords in the log buffer.
14769 (smtpmail-process-filter): Update the process marker so that the
14770 "broken by peer" status message is inserted in the right place.
14771
14772 2011-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
14773
14774 * textmodes/bibtex.el (bibtex-complete-string-cleanup)
14775 (bibtex-complete-crossref-cleanup): Adjust to accommodate needs of
14776 bibtex-completion-at-point-function.
14777 (bibtex-completion-at-point-function): Use them.
14778
14779 * newcomment.el (comment-add, comment-valid-prefix-p): Docfix.
14780
14781 * mpc.el (mpc-constraints-tag-lookup): New function.
14782 (mpc-constraints-restore): Use it to make jumping to "album=Foo" apply
14783 also to browser "album|playlist".
14784
14785 2011-09-14 Juri Linkov <juri@jurta.org>
14786
14787 * isearch.el (isearch-fail-pos): Add new arg `msg'. Doc fix.
14788 (isearch-edit-string): Use length of `isearch-string' when
14789 `isearch-fail-pos' returns nil.
14790 (isearch-message): Remove duplicate code and call
14791 `isearch-fail-pos' with arg `t'.
14792
14793 2011-09-14 Chong Yidong <cyd@stupidchicken.com>
14794
14795 * replace.el (occur-mode-goto-occurrence): Don't force using other
14796 window (Bug#9499).
14797
14798 * dired-aux.el (dired-do-chmod): Don't provide initial input.
14799
14800 2011-09-14 Martin Rudalics <rudalics@gmx.at>
14801
14802 * window.el (display-buffer-window): Remove.
14803 (display-buffer-record-window): Use help-setup window parameter
14804 instead of variable display-buffer-window.
14805 (display-buffer-function, special-display-buffer-names)
14806 (special-display-function): Mention help-setup parameter instead
14807 of display-buffer-window in doc-string.
14808 * help.el (help-window-setup): New argument help-window.
14809 Use help-window-setup parameter instead of display-buffer-window.
14810 Reword some messages.
14811 (with-help-window): Pass window used for displaying the buffer
14812 to help-window-setup. Don't set display-buffer-window.
14813
14814 2011-09-13 Glenn Morris <rgm@gnu.org>
14815
14816 * emacs-lisp/debug.el (debugger-make-xrefs):
14817 Preserve point. (Bug#9462)
14818
14819 2011-09-13 Chong Yidong <cyd@stupidchicken.com>
14820
14821 * window.el (window-deletable-p): Use next-frame.
14822
14823 2011-09-13 Martin Rudalics <rudalics@gmx.at>
14824
14825 * window.el (window-auto-delete): Remove.
14826 (window-deletable-p): Remove argument FORCE. Don't deal with
14827 dedication and previous buffers.
14828 (switch-to-prev-buffer): Don't delete window.
14829 (delete-windows-on): Delete a window's frame if and only if the
14830 window is dedicated.
14831 (replace-buffer-in-windows): Delete buffer's window or frame if
14832 and only if window is dedicated.
14833 (quit-window): Handle quit-restore as before last change.
14834 (bury-buffer): Delete window only if window-deletable-p returns t.
14835
14836 2011-09-13 Chong Yidong <cyd@stupidchicken.com>
14837
14838 * window.el (window-deletable-p): Never delete the last frame on a
14839 given terminal.
14840
14841 2011-09-13 Glenn Morris <rgm@gnu.org>
14842
14843 * help.el (describe-key-briefly): Copy previous standard-output change.
14844
14845 2011-09-13 PJ Weisberg <pj@irregularexpressions.net>
14846
14847 * help.el (where-is): Respect non-standard standard-output. (Bug#9030)
14848
14849 2011-09-13 Glenn Morris <rgm@gnu.org>
14850
14851 * emacs-lisp/lisp-mode.el (lisp-indent-function):
14852 * progmodes/scheme.el (scheme-indent-function): Doc fixes.
14853
14854 2011-09-12 Chong Yidong <cyd@stupidchicken.com>
14855
14856 * dired-aux.el (dired-mark-read-string): Don't return default
14857 value on empty input (Bug#9361).
14858 (dired-do-chxxx): Treat empty input for "touch" as no -t option.
14859 Omit initial minibuffer contents.
14860 (dired-do-chmod): Signal an error on empty input.
14861 (dired-mark-read-string): Don't return default on empty input.
14862
14863 * files.el (file-modes-symbolic-to-number): Doc fix.
14864
14865 2011-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
14866
14867 * international/mule-cmds.el (ucs-completions): Remove.
14868 (read-char-by-name): Use complete-with-action instead; add metadata.
14869
14870 2011-09-11 Chong Yidong <cyd@stupidchicken.com>
14871
14872 * window.el (display-buffer--action-function-custom-type)
14873 (display-buffer--action-custom-type): New vars.
14874 (display-buffer-alist, display-buffer-default-action)
14875 (display-buffer-overriding-action): Add defcustom types.
14876
14877 * frame.el (delete-other-frames): Doc fix (Bug#276).
14878
14879 2011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
14880
14881 * play/doctor.el (make-doctor-variables): Define `doctor-sent'.
14882
14883 2011-09-11 Chong Yidong <cyd@stupidchicken.com>
14884
14885 Change modes that used same-window-* vars to use switch-to-buffer.
14886
14887 * progmodes/gdb-mi.el (gdb-restore-windows, gdb-setup-windows):
14888 Use switch-to-buffer.
14889
14890 * cus-edit.el (customize-group, custom-buffer-create)
14891 (customize-browse, custom-buffer-create-other-window):
14892 Use switch-to-buffer or switch-to-buffer-other-window.
14893
14894 * info.el (info, Info-find-node, Info-revert-find-node, Info-next)
14895 (Info-prev, Info-up, Info-speedbar-goto-node)
14896 (info-display-manual): Use switch-to-buffer.
14897 (Info-speedbar-goto-node): Use switch-to-buffer-other-frame.
14898
14899 * mail/sendmail.el (mail): Use switch-to-buffer.
14900 (mail-recover): Use switch-to-buffer-other-window.
14901
14902 * cmuscheme.el (run-scheme, switch-to-scheme):
14903 * ielm.el (ielm):
14904 * shell.el (shell):
14905 * net/rlogin.el (rlogin):
14906 * net/telnet.el (telnet, rsh):
14907 * progmodes/inf-lisp.el (inferior-lisp): Use switch-to-buffer.
14908
14909 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
14910
14911 * dired.el (dired-sort-toggle-or-edit): Revert last changes.
14912
14913 2011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
14914
14915 * dired.el (dired-sort-toggle-or-edit): -o doesn't exist on *BSD,
14916 so don't mention it (bug#9301).
14917 (dired-sort-toggle-or-edit): Clarify string further.
14918
14919 * faces.el (face-spec-set-match-display): Make `(type graphic)'
14920 match `x', `w32' and `ns', like the manual says (bug#9029).
14921
14922 * subr.el (eval-after-load): Doc string clarification (bug#9125).
14923 (process-kill-buffer-query-function): Mention the buffer name in
14924 the query.
14925
14926 * image-mode.el (image-next-line): The line parameter is mandatory
14927 (bug#9258).
14928
14929 * dired.el (dired-sort-toggle-or-edit): Mention -o and -g, too,
14930 which can be useful (bug#9301).
14931
14932 * textmodes/flyspell.el: Remove obsolete comment (bug#9368).
14933
14934 * subr.el (match-string): Mention that the current buffer should
14935 be the same as the search was done in (bug#9282).
14936
14937 * facemenu.el: Disable the remove-* commands if the mark isn't
14938 active (bug#9162).
14939
14940 2011-09-10 Chong Yidong <cyd@stupidchicken.com>
14941
14942 * buff-menu.el (Buffer-menu-switch-other-window): Use second arg
14943 of display-buffer.
14944 (Buffer-menu-2-window): Use switch-to-buffer-other-window.
14945
14946 * replace.el (occur-mode-goto-occurrence)
14947 (occur-mode-display-occurrence) Use second arg of pop-to-buffer
14948 and display-buffer.
14949
14950 * mail/reporter.el (reporter-submit-bug-report): Use second arg of
14951 display-buffer.
14952
14953 * mail/sendmail.el (sendmail-user-agent-compose): Don't bind the
14954 special-display and same-window variables.
14955 (mail-other-window): Use switch-to-buffer-other-window.
14956 (mail-other-frame): USe switch-to-buffer-other-frame.
14957
14958 * progmodes/gdb-mi.el (gdb-frame-gdb-buffer):
14959 Use display-buffer-other-frame.
14960 (gdb-display-gdb-buffer): Use pop-to-buffer.
14961
14962 * progmodes/gud.el (gud-goto-info): Use info-other-window.
14963
14964 * progmodes/python.el: Don't set same-window-buffer-names.
14965
14966 * textmodes/bibtex.el (bibtex-search-entry): Use switch-to-buffer.
14967
14968 * window.el (display-buffer-alist): Add *Python*.
14969
14970 2011-09-10 Chong Yidong <cyd@stupidchicken.com>
14971
14972 * window.el (display-buffer-alist): Add entry for buffers
14973 previously handled same-window-*.
14974 (display-buffer-alist, display-buffer-default-action)
14975 (display-buffer-overriding-action): Mark as risky.
14976 (display-buffer-alist): Document action function changes.
14977 (display-buffer--same-window-action)
14978 (display-buffer--other-frame-action): New variables.
14979 (switch-to-buffer, display-buffer-other-frame): Use them.
14980 (display-buffer): Rename reuse-frame entry to reusable-frames.
14981 (display-buffer-reuse-selected-window): Function deleted.
14982 (display-buffer-reuse-window): Handle reusable-frames alist entry.
14983 If it's omitted, check pop-up-frames/display-buffer-reuse-frames.
14984 (display-buffer-special): New function.
14985 (display-buffer--maybe-pop-up-frame-or-window): Rename from
14986 display-buffer-reuse-or-pop-window. Split off special-display
14987 part into display-buffer-special.
14988 (display-buffer-use-some-window): Don't perform any special
14989 pop-up-frames handling.
14990 (pop-to-buffer): Use window-normalize-buffer-to-switch-to.
14991 (display-buffer--maybe-same-window): Rename from
14992 display-buffer-maybe-same-window.
14993
14994 * info.el: Don't set same-window-regexps.
14995 (info-setup): New function.
14996 (info-other-window, info): Call it.
14997
14998 * cus-edit.el: Don't set same-window-regexps.
14999 (customize-group): New argument.
15000 (customize-group-other-window): Use it.
15001 (customize-face, customize-face-other-window): Likewise.
15002 (custom-buffer-create-other-window): Use pop-to-buffer directly.
15003
15004 * net/rlogin.el:
15005 * net/telnet.el:
15006 * progmodes/gud.el: Don't set same-window-regexps.
15007
15008 * cmuscheme.el:
15009 * ielm.el:
15010 * shell.el:
15011 * mail/sendmail.el:
15012 * progmodes/inf-lisp.el: Don't set same-window-buffer-names.
15013
15014 2011-09-10 Juri Linkov <juri@jurta.org>
15015
15016 * isearch.el (isearch-edit-string): Remove obsolete mention of
15017 `C-w' (`isearch-yank-word-or-char') from docstring.
15018 (isearch-query-replace): Fix typo in docstring (bug#9466).
15019
15020 2011-09-10 Juri Linkov <juri@jurta.org>
15021
15022 * paren.el (show-paren-function): Don't show escaped parens.
15023 Let-bind `unescaped' to `t' when paren is not escaped. (Bug#9461)
15024
15025 2011-09-10 Eli Zaretskii <eliz@gnu.org>
15026
15027 * mail/sendmail.el (mml-to-mime, mml-attach-file)
15028 (mm-default-file-encoding): Remove autoload forms, they are
15029 replaced with autoload cookies in mml.el and mm-encode.el.
15030 (mail-add-attachment): New command.
15031 (mail-mode-map): Add a menu-bar item for mail-add-attachment.
15032 (mail-mode): Mention mail-insert-file and mail-add-attachment in
15033 the doc string.
15034 (mml-to-mime, mml-attach-file, mm-default-file-encoding): Declare.
15035
15036 2011-09-10 Reuben Thomas <rrt@sc3d.org>
15037
15038 * simple.el (count-words-region): Use buffer if there's no region
15039 (bug#9429).
15040
15041 2011-09-09 Juri Linkov <juri@jurta.org>
15042
15043 * wdired.el (wdired-change-to-wdired-mode): Set buffer-local
15044 `isearch-filter-predicate' to `wdired-isearch-filter-read-only'.
15045 (wdired-isearch-filter-read-only): New function. (Bug#6362)
15046
15047 2011-09-09 Alan Mackenzie <acm@muc.de>
15048
15049 * progmodes/cc-mode.el (awk-mode): Prevent `define-derived-mode'
15050 spuriously generating `awk-mode-syntax-table'. (Bug #9448).
15051
15052 2011-09-09 Eli Zaretskii <eliz@gnu.org>
15053
15054 Fix for Savannah bug#9392.
15055 * simple.el (mail-encode-mml): New defvar.
15056
15057 * mail/rmail.el (mail-encode-mml): Add a defvar.
15058 (rmail-enable-mime-composing): Default to t.
15059 (rmail-forward): Use MIME method of forwarding only if both
15060 rmail-enable-mime-composing and rmail-enable-mime are non-nil.
15061 Set mail-encode-mml non-nil if the MIME method was used.
15062
15063 * mail/sendmail.el (mml-to-mime): Add autoload form.
15064 (mail-encode-mml): Add a defvar.
15065 (mail-mode): Make mail-encode-mml buffer-local and initialize it
15066 to nil.
15067 (mail-send): If mail-encode-mml is non-nil, run the outgoing
15068 message through mml-to-mime, and reset mail-encode-mml to nil.
15069
15070 2011-09-09 Glenn Morris <rgm@gnu.org>
15071
15072 * woman.el (woman-if-body): When processing an .el block,
15073 do not delete the next .el block as well. (Bug#9447)
15074 (woman-special-characters): Add oq, cq, and hy characters.
15075
15076 2011-09-08 Martin Rudalics <rudalics@gmx.at>
15077
15078 * window.el (window-deletable-p): Make sure window is live before
15079 invoking window-prev-buffers.
15080
15081 2011-09-08 Leo Liu <sdl.web@gmail.com>
15082
15083 * net/rcirc.el (rcirc-cmd-invite): New rcirc command. (Bug#9453)
15084
15085 2011-09-08 Juri Linkov <juri@jurta.org>
15086
15087 * progmodes/compile.el (compilation-environment): Make it
15088 a defcustom (bug#8340).
15089
15090 2011-09-08 Martin Rudalics <rudalics@gmx.at>
15091
15092 * window.el (frame-auto-delete): Rename to window-auto-delete.
15093 Make it control auto-deletion of windows and/or frames.
15094 (window-deletable-p): New argument FORCE. Rewrite conditions
15095 for deleting window/frame. (Bug#9419)
15096 (switch-to-prev-buffer, replace-buffer-in-windows, quit-window):
15097 Rewrite handling of case when window/frame can be deleted.
15098 (delete-windows-on): Call window-deletable-p with new FORCE
15099 argument t. (Bug#9456)
15100
15101 2011-09-07 Chong Yidong <cyd@stupidchicken.com>
15102
15103 * help-mode.el (help-mode): Restore autoload.
15104
15105 2011-09-07 Juri Linkov <juri@jurta.org>
15106
15107 * progmodes/compile.el (compilation-start): Let-bind `thisenv' to
15108 `compilation-environment'. Set buffer-local
15109 `compilation-environment' to `thisenv' later after (funcall mode).
15110 (Bug#8340)
15111
15112 * vc/vc-git.el (vc-git-grep): Remove --no-color. (Bug#9408)
15113 (vc-git-grep): Prepend "PAGER=" to `compilation-environment'
15114 instead of replacing its value. (Bug#8340)
15115
15116 2011-09-07 Juri Linkov <juri@jurta.org>
15117
15118 * progmodes/grep.el (grep-regexp-alist): Calculate column positions
15119 based on text properties put by `grep-filter' instead of matching
15120 escape sequences.
15121 (grep-mode): Set buffer-local `compilation-error-screen-columns'
15122 to the value of `grep-error-screen-columns' (bug#9438).
15123
15124 2011-09-07 Juri Linkov <juri@jurta.org>
15125
15126 * simple.el (next-error-highlight, next-error-highlight-no-select):
15127 Doc fix (bug#9432).
15128
15129 2011-09-07 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
15130
15131 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
15132 Check for null c-opt-block-decls-with-vars-key. (Bug#9443)
15133
15134 2011-09-07 Leo Liu <sdl.web@gmail.com>
15135
15136 * net/rcirc.el (rcirc-mode): Conditionally initialize
15137 rcirc-input-ring.
15138
15139 2011-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
15140
15141 * emacs-lisp/find-func.el (find-function-C-source): Only set
15142 find-function-C-source-directory after checking that we found a source
15143 file there (bug#9440).
15144
15145 2011-09-06 Alan Mackenzie <acm@muc.de>
15146
15147 * isearch.el (isearch-other-meta-char): Wherever a key list is
15148 unread, "unread" the prefix arg, too. This fixes bug #8901.
15149
15150 2011-09-05 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
15151
15152 * progmodes/grep.el (rgrep): Add "-type d" (bug#9414).
15153
15154 2011-09-05 Juri Linkov <juri@jurta.org>
15155
15156 * progmodes/grep.el (grep-process-setup): Fix comments (bug#8084).
15157
15158 2011-09-05 Juri Linkov <juri@jurta.org>
15159
15160 * progmodes/grep.el (grep-filter): Avoid incomplete processing by
15161 keeping point where processing of grep matches begins, and
15162 continue to delete remaining escape sequences from the same point.
15163 (grep-filter): Make leading zero optional in "0?1;31m" because
15164 git-grep emits "\033[1;31m" escape sequences unlike expected
15165 "\033[01;31m" as GNU Grep does (bug#9408).
15166 (grep-process-setup): Replace obsolete "ml=" with newer "sl=".
15167
15168 2011-09-05 Juri Linkov <juri@jurta.org>
15169
15170 * subr.el (y-or-n-p): Capitalize "yes".
15171
15172 2011-09-04 Michael Albinus <michael.albinus@gmx.de>
15173
15174 * net/tramp.el (top): Require 'shell. Use `tramp-unload-hook' but
15175 `tramp-cache-unload-hook' where appropriate.
15176 (tramp-methods): Rename `tramp-remote-sh' to
15177 `tramp-remote-shell'. Add `tramp-remote-shell-args'.
15178 (tramp-handle-shell-command): New defun, moved from tramp-sh.el.
15179
15180 * net/tramp-sh.el (top): Don't require 'shell.
15181 (tramp-methods): Add `tramp-remote-shell' and
15182 `tramp-remote-shell-args' entries.
15183 (tramp-sh-file-name-handler-alist): Use `tramp-handle-shell-command'.
15184 (tramp-sh-handle-shell-command): Remove.
15185 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
15186 Use `tramp-remote-shell'.
15187
15188 2011-09-03 Chong Yidong <cyd@stupidchicken.com>
15189
15190 * mail/sendmail.el (sendmail-query-once-function): Delete.
15191 (sendmail-query-once): Save directly to send-mail-function.
15192 Update message-send-mail-function too.
15193
15194 * mail/smtpmail.el (smtpmail-try-auth-methods): Clarify prompt.
15195
15196 2011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
15197
15198 * progmodes/python.el (python-mode-map): Use correct function to
15199 start python interpreter from menu-bar (as reported by Geert
15200 Kloosterman).
15201 (inferior-python-mode-map): Fix typo.
15202 (python-shell-map): Remove.
15203
15204 2011-09-03 Deniz Dogan <deniz@dogan.se>
15205
15206 * net/rcirc.el (rcirc-print): Simplify code for
15207 rcirc-scroll-show-maximum-output. There is no need to walk
15208 through all windows to find the right one.
15209
15210 2011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
15211
15212 * help.el (help-return-method): Doc fix.
15213
15214 2011-09-03 Martin Rudalics <rudalics@gmx.at>
15215
15216 * window.el (window-deletable-p): Don't return a non-nil value
15217 when there's a buffer that was shown in the window before.
15218 (Bug#9419)
15219 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
15220 Set window's previous buffers to nil.
15221
15222 2011-09-03 Eli Zaretskii <eliz@gnu.org>
15223
15224 * mail/rmailmm.el (rmail-mime-insert-tagline): Insert an extra
15225 newline before and after the tag line, so it doesn't interfere
15226 with determining the paragraph direction of bidirectional text.
15227
15228 2011-09-03 Leo Liu <sdl.web@gmail.com>
15229
15230 * files.el (find-file-not-true-dirname-list): Remove. (Bug#9422)
15231
15232 2011-09-02 Chong Yidong <cyd@stupidchicken.com>
15233
15234 * window.el (pop-to-buffer-1, pop-to-buffer-same-window): Delete.
15235 (pop-to-buffer): Change interactive spec. Pass second argument
15236 directly to display-buffer.
15237 (display-buffer): Fix interactive spec. Use functionp to
15238 distinguish between a function and a list of functions.
15239
15240 * abbrev.el (edit-abbrevs):
15241 * arc-mode.el (archive-extract):
15242 * autoinsert.el (auto-insert):
15243 * bookmark.el (bookmark-bmenu-list):
15244 * files.el (find-file):
15245 * view.el (view-buffer):
15246 * progmodes/compile.el (compilation-goto-locus):
15247 * textmodes/bibtex.el (bibtex-initialize): Use switch-to-buffer.
15248
15249 2011-09-02 Chong Yidong <cyd@stupidchicken.com>
15250
15251 * window.el (display-buffer-alist): Doc fix.
15252 (display-buffer): Add docstring. Don't treat
15253 display-buffer-default specially.
15254 (display-buffer-reuse-selected-window)
15255 (display-buffer-same-window, display-buffer-maybe-same-window)
15256 (display-buffer-reuse-window, display-buffer-pop-up-frame)
15257 (display-buffer-pop-up-window)
15258 (display-buffer-reuse-or-pop-window)
15259 (display-buffer-use-some-window): New functions.
15260 (display-buffer-default-action): Use them.
15261 (display-buffer-default): Delete.
15262 (pop-to-buffer-1): Fix choice of actions.
15263
15264 2011-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
15265
15266 * minibuffer.el (completion--insert-strings): Don't get confused by
15267 completion entries that end with an LF char.
15268
15269 2011-09-01 Eli Zaretskii <eliz@gnu.org>
15270
15271 * window.el (frame-auto-delete, window-deletable-p): Doc fix.
15272
15273 2011-09-01 Chong Yidong <cyd@stupidchicken.com>
15274
15275 * window.el (display-buffer): Restore interactive spec.
15276 (display-buffer-same-window, display-buffer-other-window):
15277 New functions.
15278 (pop-to-buffer-1): New function. Use the above.
15279 (pop-to-buffer, pop-to-buffer-same-window): Use it.
15280 (pop-to-buffer-other-window, pop-to-buffer-other-frame): Delete.
15281
15282 * view.el (view-buffer-other-window, view-buffer-other-frame):
15283 Just use pop-to-buffer.
15284
15285 2011-09-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
15286
15287 * vc/vc-rcs.el (vc-rcs-responsible-p): Handle directories. (Bug#9391)
15288
15289 2011-09-01 Wilfred Hughes <wilfred@potatolondon.com> (tiny change)
15290
15291 * vc/vc-git.el (vc-git-grep): Use --no-color. (Bug#9408)
15292
15293 2011-08-31 Richard Stallman <rms@gnu.org>
15294
15295 * mail/rmail.el (rmail-epa-decrypt): Rewrite to take account
15296 of the separation of rmail-view-buffer from rmail-buffer.
15297 If you say no to "replace original", the decrypt is in the
15298 view buffer. If you say yes, the decrypt goes into the
15299 rmail buffer also.
15300
15301 2011-08-31 Martin Rudalics <rudalics@gmx.at>
15302
15303 * window.el (display-buffer-window): Rewrite doc-string.
15304 (display-buffer-record-window): New function.
15305 (display-buffer-macro-specifiers)
15306 (display-buffer-even-window-sizes, display-buffer-set-height)
15307 (display-buffer-set-width, display-buffer-in-window)
15308 (display-buffer-reuse-window, display-buffer-split-specifiers)
15309 (display-buffer-side-specifiers, display-buffer-split-window-1)
15310 (display-buffer-split-window, display-buffer-split-atom-window)
15311 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
15312 (display-buffer-pop-up-side-window, display-buffer-in-side-window)
15313 (display-buffer-other-window-means-other-frame)
15314 (display-buffer-normalize-special)
15315 (display-buffer-normalize-default)
15316 (display-buffer-normalize-argument)
15317 (display-buffer-normalize-alist-1, display-buffer-normalize-alist)
15318 (display-buffer-normalize-specifiers, display-buffer-frame)
15319 (display-buffer-same-window, display-buffer-same-frame)
15320 (display-buffer-other-window)
15321 (display-buffer-same-frame-other-window)
15322 (display-buffer-other-frame, pop-to-buffer-same-window)
15323 (pop-to-buffer-same-frame, pop-to-buffer-other-window)
15324 (pop-to-buffer-same-frame-other-window, pop-to-buffer-other-frame)
15325 (switch-to-buffer-same-frame)
15326 (switch-to-buffer-other-window-same-frame)
15327 (display-buffer-alist-of-strings-p, display-buffer-alist-add)
15328 (display-buffer-alist-set-1, display-buffer-alist-set-2)
15329 (display-buffer-alist-set): Remove.
15330 (display-buffer-function, special-display-buffer-names)
15331 (special-display-regexps, special-display-function):
15332 In doc-string refer to display-buffer-window and quit-restore
15333 parameter.
15334 (pop-up-frame-alist, pop-up-frame-function, special-display-p)
15335 (special-display-frame-alist, special-display-popup-frame)
15336 (same-window-buffer-names, same-window-regexps, same-window-p)
15337 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
15338 (split-window-preferred-function, split-height-threshold)
15339 (split-width-threshold, window-splittable-p)
15340 (split-window-sensibly, window--try-to-split-window)
15341 (window--frame-usable-p, even-window-heights)
15342 (window--even-window-heights, window--display-buffer-1)
15343 (window--display-buffer-2, display-buffer-other-frame):
15344 Restore old Emacs 23 code, order and doc-strings where applicable.
15345 (display-buffer-default, display-buffer-assq-regexp): New functions.
15346 (display-buffer-alist): Rewrite doc-string.
15347 (display-buffer-default-action)
15348 (display-buffer-overriding-action): New variables.
15349 (display-buffer, switch-to-buffer): Rewrite.
15350 (pop-to-buffer): Restore Emacs 23 behavior but use
15351 window-normalize-buffer-to-display.
15352 (switch-to-buffer-other-window, switch-to-buffer-other-frame):
15353 Restore Emacs 23 behavior but use
15354 window-normalize-buffer-to-switch-to.
15355 (pop-to-buffer-same-window): Rewrite.
15356 (pop-to-buffer-other-window, pop-to-buffer-other-frame):
15357 Rewrite using Emacs 23 options.
15358
15359 2011-08-31 Michael Albinus <michael.albinus@gmx.de>
15360
15361 * net/tramp.el (tramp-root-regexp): Remove.
15362 (tramp-completion-file-name-regexp-unified)
15363 (tramp-completion-file-name-regexp-separate)
15364 (tramp-completion-file-name-regexp-url): Don't use leading volume
15365 letter on w32 systems. (Bug#5303, Bug#9311)
15366 (tramp-drop-volume-letter): Simplify definition.
15367 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
15368
15369 2011-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
15370
15371 * subr.el (event-modifiers): Fix "missing modifier" part of docstring
15372 (bug#9356).
15373
15374 2011-08-30 Reuben Thomas <rrt@sc3d.org> (tiny change)
15375
15376 * vc/pcvs-defs.el (cvs-find-file-and-jump): Docstring typo (bug#9369).
15377
15378 2011-08-29 Juri Linkov <juri@jurta.org>
15379
15380 * isearch.el (isearch-done): Don't display message "Mark saved"
15381 when arg `edit' is non-nil to prevent its flicker in the echo area.
15382
15383 2011-08-28 Chong Yidong <cyd@stupidchicken.com>
15384
15385 * emacs-lisp/package.el (package-menu-mark-delete): Allow marking
15386 obsolete packages for deletion.
15387
15388 2011-08-28 Christoph Scholtes <cschol2112@googlemail.com>
15389
15390 * help-mode.el (help-mode-map): Add special-mode-map to parent.
15391 (help-mode): Derive help-mode from special-mode. Don't invoke
15392 view-mode from help-mode.
15393 (help-xref-override-view-map): Remove.
15394 (help-make-xrefs): Remove minor-mode-overriding-map-alist since
15395 view-mode is not used anymore.
15396
15397 2011-08-28 Chong Yidong <cyd@stupidchicken.com>
15398
15399 * server.el (server-port): Doc fix.
15400
15401 * cus-theme.el (custom-theme-choose-mode): Inherit from
15402 special-mode (Bug#9124).
15403 (custom-theme-choose-mode-map): Add special-mode to parent.
15404
15405 2011-08-28 Alan Mackenzie <acm@muc.de>
15406
15407 * progmodes/cc-fonts.el
15408 (c-make-font-lock-BO-decl-search-function): New function.
15409 (c-basic-matchers-after - "Fontify the clauses after various
15410 keywords"): Extract the three keyword lists for the 3 erroneous
15411 constructs from the list of four, and use the new function above
15412 in place of an old one.
15413
15414 2011-08-28 Deniz Dogan <deniz@dogan.se>
15415
15416 * net/rcirc.el (rcirc-insert-prev-input)
15417 (rcirc-insert-next-input): Remove unused argument.
15418
15419 2011-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
15420
15421 * shell.el (shell-parse-pcomplete-arguments): Unquote args (bug#9160).
15422
15423 2011-08-27 Alan Mackenzie <acm@muc.de>
15424
15425 * progmodes/cc-menus.el (cc-imenu-c++-generic-expression): Make it
15426 handle function pointer parameters properly.
15427
15428 2011-08-27 Martin Rudalics <rudalics@gmx.at>
15429
15430 * window.el (display-buffer-reuse-window): Fix case where
15431 selected window was reused with non-nil OTHER-WINDOW argument.
15432 (Bug#9381)
15433
15434 2011-08-27 Deniz Dogan <deniz@dogan.se>
15435
15436 * net/rcirc.el (rcirc-check-auth-status): Adding support for
15437 oftc's NickServ messages.
15438
15439 2011-08-27 Glenn Morris <rgm@gnu.org>
15440
15441 * saveplace.el (save-place-limit): Make it finite. (Bug#9352)
15442
15443 2011-08-26 Chong Yidong <cyd@stupidchicken.com>
15444
15445 * emacs-lisp/package.el (package-install): Call package-initialize
15446 if called interactively.
15447
15448 2011-08-26 Leo Liu <sdl.web@gmail.com>
15449
15450 * emacs-lisp/cl-macs.el (defstruct): Fix format. (Bug#9357)
15451
15452 2011-08-25 Juri Linkov <juri@jurta.org>
15453
15454 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
15455 `search-whitespace-regexp' (bug#9364).
15456
15457 2011-08-25 Juri Linkov <juri@jurta.org>
15458
15459 * isearch.el (isearch-edit-string): Let-bind `search-ring' and
15460 `regexp-search-ring' to their global values to protect from
15461 updating by `read-from-minibuffer' (bug#9185).
15462
15463 2011-08-25 Juri Linkov <juri@jurta.org>
15464
15465 * textmodes/ispell.el (ispell-command-loop): Add newline
15466 at the end of the "Use option `i'..." line.
15467
15468 2011-08-25 Juri Linkov <juri@jurta.org>
15469
15470 * battery.el (display-battery-mode): If `battery-status-function'
15471 or `battery-mode-line-format' is nil, display the message and set
15472 `display-battery-mode' to nil (bug#9363).
15473
15474 2011-08-25 Eli Zaretskii <eliz@gnu.org>
15475
15476 * buff-menu.el (Buffer-menu-buffer+size): Remove calls to
15477 bidi-string-mark-left-to-right; they are unnecessary now.
15478
15479 2011-08-25 Deniz Dogan <deniz@dogan.se>
15480
15481 * net/quickurl.el: Documentation typo fixes.
15482
15483 2011-08-25 Chong Yidong <cyd@stupidchicken.com>
15484
15485 * window.el (bury-buffer, quit-window): Use bury-buffer-internal.
15486
15487 2011-08-25 Glenn Morris <rgm@gnu.org>
15488
15489 * emacs-lisp/derived.el (define-derived-mode): Doc fix.
15490
15491 * mail/smtpmail.el (smtpmail-smtp-user): Add version: tag.
15492 (smtpmail-via-smtp): Handle nil response from smtp.
15493
15494 2011-08-24 Juri Linkov <juri@jurta.org>
15495
15496 * proced.el (proced-marked): Inherit from `error' instead of
15497 `font-lock-warning-face'.
15498
15499 * ibuffer.el (ibuffer-marked-face): Change default face from
15500 `font-lock-warning-face' to `warning'.
15501 (ibuffer-deletion-face): Change default face from
15502 `font-lock-type-face' to `error'.
15503
15504 * battery.el (battery-update): Use the face `error' instead of
15505 `font-lock-warning-face' (bug#6117).
15506
15507 2011-08-24 Juri Linkov <juri@jurta.org>
15508
15509 * faces.el (success): Change face color from "Green3" to
15510 "ForestGreen" on light background (bug#9353).
15511
15512 2011-08-24 Chong Yidong <cyd@stupidchicken.com>
15513
15514 * window.el (quit-window): Rename from quit-restore-window.
15515 Use same arglist as old quit-window.
15516 (frame-auto-delete): Doc fix.
15517
15518 * view.el (view-mode-exit): Use quit-window.
15519
15520 2011-08-24 Juri Linkov <juri@jurta.org>
15521
15522 * isearch.el (isearch-ring-adjust1): Start visiting previous
15523 search strings from the index 0 (-1 + 1) instead of 1 (0 + 1).
15524 (isearch-repeat, isearch-edit-string): Call `isearch-ring-adjust1'
15525 for empty search string (when the last search string is reused
15526 automatically) to adjust the isearch ring to the last element and
15527 prepare the correct index for further M-p commands (bug#9185).
15528
15529 2011-08-24 Kenichi Handa <handa@m17n.org>
15530
15531 * international/ucs-normalize.el: If decomposition property of
15532 CHAR is the default one (i.e. a list of CHAR itself), treat it as
15533 nil.
15534 (nfd, nfkd): Likewise.
15535
15536 2011-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
15537
15538 * mpc.el (mpc--proc-filter): Don't signal mpc-proc-error since signals
15539 from process filters aren't reliably transmitted to the surrounding
15540 accept-process-output.
15541 (mpc-proc-check): New function.
15542 (mpc-proc-sync): Use it (bug#8293)
15543
15544 2011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
15545
15546 * emacs-lisp/eieio.el (eieio-defmethod, eieio-defgeneric):
15547 Add compatibility functions (bug#9313).
15548
15549 2011-08-23 Eli Zaretskii <eliz@gnu.org>
15550
15551 * cus-start.el (all): Add entry for bidi-paragraph-direction.
15552
15553 * international/uni-bidi.el: Regenerate.
15554
15555 2011-08-23 Kenichi Handa <handa@m17n.org>
15556
15557 * international/charprop.el:
15558 * international/uni-bidi.el:
15559 * international/uni-category.el:
15560 * international/uni-combining.el:
15561 * international/uni-comment.el:
15562 * international/uni-decimal.el:
15563 * international/uni-decomposition.el:
15564 * international/uni-digit.el:
15565 * international/uni-lowercase.el:
15566 * international/uni-mirrored.el:
15567 * international/uni-name.el:
15568 * international/uni-numeric.el:
15569 * international/uni-old-name.el:
15570 * international/uni-titlecase.el:
15571 * international/uni-uppercase.el: Regenerate.
15572
15573 2011-08-23 Martin Rudalics <rudalics@gmx.at>
15574
15575 * help.el (help-window-setup): Fix message displayed when other
15576 window is reused. (Bug#9341)
15577
15578 2011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
15579
15580 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list.
15581 * pcomplete.el (pcomplete-quote-argument): Fix thinko (bug#9161).
15582
15583 * pcomplete.el (pcomplete-parse-comint-arguments): Fix inf-loop.
15584 Mark obsolete.
15585 * shell.el (shell-parse-pcomplete-arguments): New function.
15586 (shell-completion-vars): Use it instead (bug#9160).
15587
15588 2011-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
15589
15590 * progmodes/sh-script.el (sh-maybe-here-document): Disable magic in
15591 strings and comments (bug#9333).
15592
15593 * emacs-lisp/debug.el (debug-arglist): New function.
15594 (debug-convert-byte-code): Use it. Handle lexical byte-codes.
15595 (debug-on-entry-1): Handle interpreted closures (bug#9120).
15596
15597 2011-08-22 Juri Linkov <juri@jurta.org>
15598
15599 * progmodes/compile.el (compilation-mode-font-lock-keywords):
15600 Revert regexp that highlights output switches to its old
15601 pre-2010-10-28 value and remove one `?' from it (bug#9319).
15602
15603 * progmodes/grep.el (grep-process-setup): Use `buffer-modified-p'
15604 to check for empty output (bug#9226).
15605
15606 2011-08-22 Chong Yidong <cyd@stupidchicken.com>
15607
15608 * progmodes/scheme.el (scheme-mode-syntax-table): Don't use
15609 symbol-constituent as the default, as that stops font-lock from
15610 working properly (Bug#8843).
15611
15612 2011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
15613
15614 * mail/smtpmail.el (smtpmail-via-smtp): Only bind
15615 `coding-system-for-*' around the process open call to avoid
15616 auth-source side effects.
15617 (smtpmail-try-auth-methods): Expand the secret password.
15618 (smtpmail-query-smtp-server): Allow `quit'-ing out in case the
15619 probe hangs.
15620
15621 2011-08-21 Chong Yidong <cyd@stupidchicken.com>
15622
15623 * term.el (term-mouse-paste): Yank primary selection (Bug#6845).
15624
15625 * emacs-lisp/find-func.el (find-function-noselect): New arg
15626 lisp-only.
15627
15628 * emacs-lisp/edebug.el (edebug-instrument-function): Use it to
15629 signal an error for built-in functions (Bug#6664).
15630
15631 2011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
15632
15633 * mail/smtpmail.el (smtpmail-smtp-user): New variable.
15634 (smtpmail-try-auth-methods): Use it.
15635
15636 2011-08-21 Chong Yidong <cyd@stupidchicken.com>
15637
15638 * font-lock.el (font-lock-fontify-region)
15639 (font-lock-unfontify-region, font-lock-default-fontify-buffer)
15640 (font-lock-default-unfontify-buffer)
15641 (font-lock-default-fontify-region)
15642 (font-lock-default-unfontify-region): Add docstrings (Bug#8624).
15643
15644 * progmodes/compile.el (compilation-error-properties):
15645 Fix confusion between file struct and message struct (Bug#9319).
15646 (compilation-error-regexp-alist-alist): Fix 2011-05-09 change to
15647 `ant' regexp.
15648
15649 * net/browse-url.el (browse-url-firefox): Don't call
15650 browse-url-firefox-sentinel unless using -remote (Bug#9328).
15651
15652 2011-08-20 Glenn Morris <rgm@gnu.org>
15653
15654 * tutorial.el (help-with-tutorial): Avoid an error on short screens.
15655
15656 * tutorial.el (tutorial--default-keys): Update some default bindings.
15657
15658 * files.el (hack-local-variables): Fully ignore case for "mode:".
15659
15660 2011-08-20 Alan Mackenzie <acm@muc.de>
15661
15662 Resolve invalid use of a regexp in regexp-opt.
15663
15664 * progmodes/cc-fonts.el (c-complex-decl-matchers): Add in special
15665 detection for a java annotation.
15666
15667 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Add in special
15668 detection for a java annotation.
15669
15670 * progmodes/cc-langs.el (c-prefix-spec-kwds-re): Remove the special
15671 handling for java.
15672 (c-modifier-kwds): Remove the regexp "@[A-za-z0-9]+".
15673
15674 2011-08-20 Chong Yidong <cyd@stupidchicken.com>
15675
15676 * startup.el (normal-top-level-add-subdirs-to-load-path): Doc fix
15677 (Bug#9274).
15678
15679 2011-08-20 Alan Mackenzie <acm@muc.de>
15680
15681 Fontify CPP expressions correctly when starting in the middle of
15682 such a construct. Mainly for when jit-lock etc. starts a chunk
15683 here.
15684
15685 * progmodes/cc-fonts.el (c-font-lock-context): New buffer local
15686 variable.
15687 (c-make-font-lock-search-form): New function, extracted from
15688 c-make-font-lock-search-function.
15689 (c-make-font-lock-search-function): Use the above function.
15690 (c-make-font-lock-context-search-function): New function.
15691 (c-cpp-matchers): Enhance the preprocessor expression case with
15692 the above function
15693 (c-font-lock-complex-decl-prepare): Test for being in a CPP form
15694 which takes an expression.
15695
15696 * progmodes/cc-langs.el (c-cpp-expr-intro-re): New lang-variable.
15697
15698 2011-08-20 Martin Rudalics <rudalics@gmx.at>
15699
15700 * window.el (display-buffer-reuse-window)
15701 (display-buffer-pop-up-window): Don't reuse or split a side
15702 window.
15703
15704 2011-08-19 Glenn Morris <rgm@gnu.org>
15705
15706 * files.el (hack-local-variables-prop-line, hack-local-variables):
15707 Downcase "Mode:". (Bug#9331)
15708
15709 2011-08-18 Chong Yidong <cyd@stupidchicken.com>
15710
15711 * international/characters.el: Add L and R categories.
15712
15713 * subr.el (bidi-string-mark-left-to-right): Rename from
15714 string-mark-left-to-right. Use category search.
15715
15716 * buff-menu.el (Buffer-menu-buffer+size): Callers changed.
15717
15718 2011-08-18 Juri Linkov <juri@jurta.org>
15719
15720 * faces.el (error, warning, success): New faces with definitions
15721 copied from old default values of `font-lock-warning-face',
15722 `compilation-warning', `compilation-info' (bug#6117).
15723
15724 * font-lock.el (font-lock-warning-face): Inherit from `error'.
15725
15726 * progmodes/compile.el (compilation-error): Inherit from `error'.
15727 (compilation-warning): Inherit from `warning'.
15728 (compilation-info): Inherit from `success'.
15729
15730 * dired.el (dired-marked): Inherit from `warning'.
15731 (dired-flagged): Inherit from `error'.
15732
15733 2011-08-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
15734
15735 * mail/smtpmail.el (auth-source): Require to avoid problems with
15736 binding variables (bug#9298). Also clean up some unused
15737 autoloads.
15738
15739 * net/network-stream.el (network-stream-open-starttls):
15740 Support using starttls.el without using gnutls-cli.
15741
15742 2011-08-17 Juri Linkov <juri@jurta.org>
15743
15744 * progmodes/grep.el (rgrep): Handle the case when
15745 `grep-find-command' is a cons cell (bug#9278).
15746
15747 2011-08-17 Martin Rudalics <rudalics@gmx.at>
15748
15749 * window.el (display-buffer-pop-up-frame): Run frame creation
15750 function with BUFFER current (as special-display-popup-frame
15751 does). Reported by Drew Adams.
15752
15753 2011-08-17 Daiki Ueno <ueno@unixuser.org>
15754
15755 * epa-mail.el: Simplify GnuPG group expansion using
15756 epg-expand-group.
15757 (epa-mail-group-alist, epa-mail-group-modtime)
15758 (epa-mail-gnupg-conf-file, epa-mail-parse-groups)
15759 (epa-mail-sync-groups, epa-mail-expand-recipient-1)
15760 (epa-mail-expand-recipients-2, epa-mail-expand-recipients):
15761 Remove.
15762
15763 2011-08-16 Feng Li <fengli@gmail.com> (tiny change)
15764
15765 * calc/calc-ext.el (math-defintegral-2): Remove nested backquote.
15766
15767 2011-08-16 Alan Mackenzie <acm@muc.de>
15768
15769 * progmodes/cc-engine.el (c-state-cache-non-literal-place):
15770 Correct, to avoid the inside of macros.
15771
15772 2011-08-16 Richard Stallman <rms@gnu.org>
15773
15774 * epa-mail.el: Handle GnuPG group definitions.
15775 (epa-mail-group-alist, epa-mail-group-modtime)
15776 (epa-mail-gnupg-conf-file): New variables.
15777 (epa-mail-parse-groups, epa-mail-sync-groups)
15778 (epa-mail-expand-recipient-1, epa-mail-expand-recipients-2)
15779 (epa-mail-expand-recipients): New functions.
15780 (epa-mail-encrypt): Call epa-mail-expand-recipients.
15781
15782 * mail/rmail.el (rmail-epa-decrypt): New command.
15783
15784 * epa.el (epa-decrypt-region): New arg MAKE-BUFFER-FUNCTION.
15785 Don't bind buffer-read-only, just inhibit-read-only.
15786 (epa--find-coding-system-for-mime-charset): Fix the non-xemacs case.
15787 (epa-decrypt-armor-in-region): Make error message clearer.
15788
15789 2011-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
15790
15791 * minibuffer.el (completion-pcm--merge-completions): Don't merge "a1b"
15792 and "a2b" to "ab" for `prefix'.
15793
15794 2011-08-14 Chong Yidong <cyd@stupidchicken.com>
15795
15796 * ibuf-ext.el (ibuffer-filter-disable): New arg for deleting
15797 filter groups.
15798 (ibuffer-included-in-filter-p-1): Use it. Suggested by Rafaël
15799 Fourquet (Bug#8804).
15800
15801 2011-08-12 Juanma Barranquero <lekktu@gmail.com>
15802
15803 * startup.el (argi): Declare as global variable (bug#9275).
15804
15805 2011-08-12 Chong Yidong <cyd@stupidchicken.com>
15806
15807 * subr.el (string-mark-left-to-right): Search the entire string
15808 for RTL script, not just the terminating character. Doc fix.
15809
15810 2011-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
15811
15812 * progmodes/js.el (js-syntax-propertize, js-syntax-propertize-regexp):
15813 New function.
15814 (js--regexp-literal, js-syntax-propertize-function): Remove.
15815 (js-mode): Use js-syntax-propertize to handle multilines (bug#9183).
15816 (js-mode-map): Don't rebind electric keys.
15817 (js-insert-and-indent): Remove.
15818 (js-mode): Setup electric-layout and electric-indent instead.
15819
15820 * epa-file.el (epa-file-select-keys): Revert to nil default (bug#9280).
15821
15822 2011-08-12 Daiki Ueno <ueno@unixuser.org>
15823
15824 * epa.el (epa-progress-callback-function): Fix the logic of
15825 displaying progress.
15826 * epa-file.el (epa-file-insert-file-contents): Make progress
15827 display more user-friendly.
15828 (epa-file-write-region): Ditto.
15829
15830 2011-08-10 Chong Yidong <cyd@stupidchicken.com>
15831
15832 * subr.el (string-mark-left-to-right): New function.
15833
15834 * buff-menu.el (Buffer-menu-buffer+size): Remove LRM argument.
15835 Use string-mark-left-to-right.
15836 (list-buffers-noselect): Caller changed.
15837
15838 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
15839 Use string-mark-left-to-right.
15840 (tabulated-list-print): Recenter after moving point.
15841
15842 2011-08-10 Juri Linkov <juri@jurta.org>
15843
15844 * progmodes/grep.el (rgrep): Don't bind `process-connection-type'.
15845 This finishes incomplete reversion of 2011-06-30T01:09:13Z!larsi@gnus.org
15846 intended by 2011-07-06T15:49:19Z!larsi@gnus.org.
15847
15848 2011-08-09 Chong Yidong <cyd@stupidchicken.com>
15849
15850 * hi-lock.el (hi-lock-unface-buffer): Fix interactive spec
15851 (Bug#7554).
15852
15853 2011-08-09 Andreas Schwab <schwab@linux-m68k.org>
15854
15855 * xt-mouse.el (xterm-mouse-event-read): Try to recover the raw
15856 character. (Bug#6594)
15857
15858 2011-08-08 Chong Yidong <cyd@stupidchicken.com>
15859
15860 * image-dired.el: Don't use find-file for temporary work (Bug#7895).
15861 (image-dired--with-db-file): New macro.
15862 (image-dired-write-tags, image-dired-remove-tag)
15863 (image-dired-create-gallery-lists, image-dired-write-comments)
15864 (image-dired-get-comment, image-dired-mark-tagged-files)
15865 (image-dired-list-tags, image-dired-gallery-generate): Use it.
15866 (image-dired-gallery-generate): Use insert-file-contents.
15867
15868 * time.el (display-time-world-list, display-time-world-display):
15869 * time-stamp.el (time-stamp-string):
15870 * vc/add-log.el (add-change-log-entry): Use setenv instead of
15871 set-time-zone-rule (Bug#7337).
15872
15873 2011-08-08 Daiki Ueno <ueno@unixuser.org>
15874
15875 * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED): Fix typo.
15876 (epg-error-to-string, epg-errors-to-string): New function.
15877 (epg-wait-for-completion): Reverse errors list.
15878 (epg--check-error-for-decrypt, epg-sign-file, epg-sign-string)
15879 (epg-encrypt-file, epg-encrypt-string, epg-export-keys-to-file)
15880 (epg--import-keys-1, epg-receive-keys, epg-delete-keys)
15881 (epg-sign-keys, epg-generate-key-from-file)
15882 (epg-generate-key-from-string): Format errors by using
15883 epg-errors-to-string (bug#9255).
15884 (epg--status-INV_SGNR, epg--status-NO_SGNR): New status handler.
15885
15886 2011-08-07 Juri Linkov <juri@jurta.org>
15887
15888 * faces.el (list-faces-display): Remove extra angle bracket
15889 from `help-mode-map'.
15890
15891 * info.el (Info-history-toc-nodes): Doc fix.
15892
15893 * longlines.el (longlines-mode): Doc fix.
15894
15895 2011-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
15896
15897 * progmodes/js.el (js--regexp-literal): Accept regexps at the beginning
15898 of statements and in a few more cases (bug#9183).
15899
15900 * emacs-lisp/cl-macs.el (cl--make-usage-var, cl--make-usage-args):
15901 New functions.
15902 (cl-transform-lambda): Use them (bug#9239).
15903
15904 2011-08-05 Martin Rudalics <rudalics@gmx.at>
15905
15906 * window.el (display-buffer-same-window)
15907 (display-buffer-same-frame, display-buffer-other-window)
15908 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
15909 (pop-to-buffer-other-window)
15910 (pop-to-buffer-same-frame-other-window)
15911 (pop-to-buffer-other-frame): Make them defuns.
15912 (switch-to-buffer): Don't set LABEL argument of pop-to-buffer.
15913
15914 2011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
15915
15916 * subr.el (make-composed-keymap): Move from C. Change calling
15917 convention, and improve docstring to bring attention to a subtle point.
15918 * minibuffer.el (completing-read-default): Adjust accordingly.
15919
15920 2011-08-03 Michael Albinus <michael.albinus@gmx.de>
15921
15922 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
15923 (tramp-open-shell): Use `tramp-shell-quote-argument'.
15924
15925 * net/trampver.el: Update release number.
15926
15927 2011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
15928
15929 * progmodes/sh-script.el (sh-font-lock-paren): Don't mistake "main" for
15930 "in" (bug#9190).
15931
15932 2011-08-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
15933
15934 * mail/sendmail.el (sendmail-query-once): Restore the current
15935 buffer after querying (bug#9074).
15936
15937 * dired.el (dired-flagged): Use different faces for marked and
15938 flagged files (bug#6117).
15939
15940 * emacs-lisp/cl-macs.el (dolist): Mention that there's a nil block
15941 (bug#4433).
15942
15943 * ido.el (ido-mode): Switch off the message if called
15944 non-interactively.
15945
15946 * mail/smtpmail.el (smtpmail-query-smtp-server): Try port 25
15947 before 587, since it appears that that's more likely to work for
15948 more people.
15949
15950 * cus-edit.el (custom-file): When running under emacs -q, always
15951 refuse to save the customizations, even if the .emacs file doesn't
15952 exist.
15953
15954 * info.el: Remove the `Info-beginning-of-buffer' function
15955 (bug#8325).
15956
15957 * net/network-stream.el (network-stream-open-starttls):
15958 Use `starttls-available-p' to see whether starttls.el can be used.
15959
15960 2011-08-01 Martin Rudalics <rudalics@gmx.at>
15961
15962 * window.el (display-buffer-in-window): Don't set dedicated status
15963 of window here (Bug#9215).
15964 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
15965 (display-buffer-pop-up-side-window)
15966 (display-buffer-in-side-window): Set dedicated status of window here.
15967
15968 2011-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
15969
15970 * emacs-lisp/package.el (package-generate-autoloads): Load autoloads
15971 before binding generated-autoload-file.
15972
15973 2011-08-01 Deniz Dogan <deniz@dogan.se>
15974
15975 * net/rcirc.el (rcirc-handler-333): Clarify docstring.
15976
15977 2011-07-30 Michael Albinus <michael.albinus@gmx.de>
15978
15979 Sync with Tramp 2.2.2.
15980
15981 * net/trampver.el: Update release number.
15982
15983 2011-07-30 Juri Linkov <juri@jurta.org>
15984
15985 * dired-aux.el (dired-touch-initial): Remove function.
15986 (dired-do-chxxx): For op-symbol `touch', set `initial' to the
15987 current time, and `default' to the last modification time of the
15988 current marked file (bug#6887).
15989
15990 2011-07-28 Jose E. Marchesi <jemarch@gnu.org>
15991
15992 * simple.el (goto-line): Use string-to-number to provide a
15993 numeric argument to read-number (bug#9163).
15994
15995 2011-07-27 Michael Albinus <michael.albinus@gmx.de>
15996
15997 * net/tramp-sh.el (tramp-maybe-send-script): Don't let-bind the
15998 connection process, it could be nil.
15999
16000 2011-07-27 Leo Liu <sdl.web@gmail.com>
16001
16002 Simplify url handling in rcirc-mode.
16003
16004 * net/rcirc.el (rcirc-browse-url-map, rcirc-browse-url-at-point)
16005 (rcirc-browse-url-at-mouse): Remove.
16006 * net/rcirc.el (rcirc-markup-urls): Use `make-button'.
16007
16008 2011-07-26 Alan Mackenzie <acm@muc.de>
16009
16010 Fontify bitfield declarations properly.
16011
16012 * progmodes/cc-langs.el (c-has-bitfields): New lang variable.
16013 (c-symbol-chars): Now exported as a lang variable.
16014 (c-not-primitive-type-keywords): New lang variable.
16015
16016 * progmodes/cc-fonts.el (c-font-lock-declarations): Jump over the
16017 QT keyword "more" to prevent "more slots: ...." being spuriously
16018 parsed as a bitfield declaration.
16019
16020 * progmodes/cc-engine.el (c-beginning-of-statement-1):
16021 Refactor and enhance to handle bitfield declarations.
16022 (c-punctuation-in): New function.
16023 (c-forward-decl-or-cast-1): Enhance CASE 3 to handle bitfield
16024 declarations properly.
16025
16026 2011-07-26 Ulf Jasper <ulf.jasper@web.de>
16027
16028 * calendar/icalendar.el (icalendar--all-events): Take care of
16029 multiple vcalendars in a single file.
16030 (icalendar--convert-float-to-ical): Checkdoc fixes.
16031
16032 2011-07-25 Deniz Dogan <deniz@dogan.se>
16033
16034 * image.el (insert-image): Clarifying docstring.
16035
16036 2011-07-24 Michael Albinus <michael.albinus@gmx.de>
16037
16038 * net/tramp-sh.el (tramp-barf-unless-okay): Return the value of
16039 `tramp-send-command-and-check' if there is no error.
16040 (tramp-send-command-and-read): Suppress *all* errors if NOERROR.
16041
16042 2011-07-22 Alan Mackenzie <acm@muc.de>
16043
16044 Prevent cc-langs.elc being loaded at run time.
16045
16046 * progmodes/cc-mode.el: Remove two autoload forms which loaded
16047 cc-langs.
16048
16049 * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Don't emit
16050 "(require 'cc-langs)". Quote a form so it will evaluate at
16051 (cc-mode's) compilation time.
16052
16053 2011-07-22 Michael Albinus <michael.albinus@gmx.de>
16054
16055 * net/tramp.el (tramp-file-name-handler): Avoid recursive
16056 loading. (Bug#9114)
16057
16058 2011-07-21 Martin Rudalics <rudalics@gmx.at>
16059
16060 * window.el (display-buffer-pop-up-window)
16061 (display-buffer-pop-up-side-window)
16062 (display-buffer-in-side-window): Call display-buffer-set-height
16063 and display-buffer-set-width after setting the new window's
16064 buffer so `fit-window-to-buffer' and friends work on the right buffer.
16065
16066 2011-07-20 Sam Steingold <sds@gnu.org>
16067
16068 * progmodes/etags.el (etags-file-of-tag, etags-tags-table-files)
16069 (etags-tags-included-tables): Call `convert-standard-filename' on
16070 the file names contained in TAGS so that windows Emacs can handle
16071 TAGS files created by cygwin ctags.
16072
16073 2011-07-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
16074
16075 * proced.el (proced-update): Revert yesterday's bug#1779 patch,
16076 which apparently didn't work.
16077
16078 2011-07-19 Roland Winkler <winkler@gnu.org>
16079
16080 * proced.el (proced-send-signal): For *Marked Processes* buffer
16081 put point at beginning of buffer.
16082
16083 2011-07-19 Stephen Berman <stephen.berman@gmx.net>
16084
16085 * proced.el (proced-format): Make header lines align with the text
16086 (bug#1779).
16087
16088 2011-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
16089
16090 * view.el (view-buffer): Allow running in `special' modes if we're
16091 visiting a file (bug#8615).
16092
16093 2011-07-19 Martin Rudalics <rudalics@gmx.at>
16094
16095 * window.el (display-buffer-alist-of-strings-p)
16096 (display-buffer-alist-set-1, display-buffer-alist-set-2):
16097 New functions.
16098 (display-buffer-alist-set): Rewrite to handle Emacs 23 options
16099 more accurately.
16100
16101 2011-07-18 Alan Mackenzie <acm@muc.de>
16102
16103 Fontify declarators properly when, e.g., a jit-lock chunk begins
16104 inside a declaration.
16105
16106 * progmodes/cc-langs.el (c-symbol-chars): Correct a typo.
16107
16108 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
16109 New function.
16110 (c-complex-decl-matchers): Insert reference to
16111 c-font-lock-enclosing-decls.
16112
16113 * progmodes/cc-engine.el (c-backward-single-comment):
16114 (c-backward-comments): Bind open-paren-in-column-0-is-defun-start
16115 to nil around calls to (forward-comment -1).
16116
16117 2011-07-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
16118
16119 * image.el (put-image): Doc typo fix.
16120
16121 * progmodes/etags.el (tags-search): Doc typo fix.
16122
16123 * mail/smtpmail.el (smtpmail-via-smtp): Query the user for
16124 password if we get errors 550 to 554.
16125
16126 2011-07-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
16127
16128 * net/gnutls.el (gnutls-log-level): Remove.
16129
16130 * textmodes/fill.el (adaptive-fill-regexp): Include EN DASH as an
16131 indentation character (bug#6380).
16132
16133 * files.el (buffer-offer-save): Made permanently local (bug#6241).
16134
16135 * doc-view.el (doc-view-make-safe-dir): Rewrite the error message
16136 to clarify what the problem is (bug#4291).
16137
16138 * simple.el (current-kill): Clarify what
16139 `interprogram-paste-function' does (bug#7500).
16140 (auto-fill-mode): Document `auto-fill-function' in relation to
16141 `auto-fill-mode' (bug#2470).
16142
16143 2011-07-16 Lawrence Mitchell <wence@gmx.li>
16144
16145 * emacs-lisp/cl-macs.el (defstruct): Ignore argument to setf
16146 method if slot is read-only (bug#9035).
16147
16148 2011-07-16 Martin Rudalics <rudalics@gmx.at>
16149
16150 * frame.el (select-frame-set-input-focus): New argument NORECORD.
16151 * window.el (pop-to-buffer): Select window used even if it was
16152 selected before, see discussion of (Bug#8615), (Bug#6954).
16153 Pass argument NORECORD on to select-frame-set-input-focus.
16154
16155 2011-07-15 Glenn Morris <rgm@gnu.org>
16156
16157 * subr.el (read-char-choice): Allow quitting. (Bug#9001)
16158 Respect help-form.
16159
16160 2011-07-09 Lawrence Mitchell <wence@gmx.li>
16161
16162 * net/gnutls.el (gnutls-min-prime-bits): New variable.
16163 (gnutls-negotiate): Use it.
16164
16165 2011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
16166
16167 * net/gnutls.el (gnutls-negotiate):
16168 Upcase `gnutls-algorithm-priority'.
16169
16170 2011-07-15 Glenn Morris <rgm@gnu.org>
16171
16172 * jka-compr.el (jka-compr-verbose): Move from here...
16173 * jka-cmpr-hook.el (jka-compr-verbose): ... to here. (Bug#9090)
16174 Add missing :version tag.
16175 * info.el: No need to require jka-compr when compiling.
16176
16177 2011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
16178
16179 * net/gnutls.el (gnutls-algorithm-priority): New variable.
16180 (gnutls-negotiate): Use it.
16181
16182 * emacs-lisp/cl-macs.el (declare): Link to the "Declarations" node.
16183
16184 * info.el (Info-beginning-of-buffer): New command.
16185 (Info-mode-map): Use it instead of `beginning-of-buffer' to allow
16186 announcing `b' as the key (bug#8325).
16187 (Info-mode-menu): Use `Info-beginning-of-buffer' for consistency.
16188
16189 * emacs-lisp/cl-macs.el (declare): Doc string fix-up.
16190
16191 * international/mule-cmds.el
16192 (describe-specified-language-support): Make the error message
16193 clearer (bug#8905).
16194
16195 * emacs-lisp/cl-macs.el (declare): Add a doc string (bug#8690).
16196
16197 * isearch.el (isearch-barrier): Add a doc string, since it's
16198 mentioned in a function doc string (bug#8678).
16199
16200 2011-07-15 Martin Rudalics <rudalics@gmx.at>
16201
16202 * window.el (switch-to-buffer): Call pop-to-buffer with normalized
16203 buffer argument (Bug#9083) and self-identifying label argument.
16204
16205 2011-07-15 Glenn Morris <rgm@gnu.org>
16206
16207 * emacs-lisp/debug.el (debug): Doc fix. (Bug#8273)
16208
16209 2011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
16210
16211 * man.el (Man-fontify-manpage): Fix message when formatting the
16212 man page (bug#7929).
16213
16214 2011-07-14 Eli Zaretskii <eliz@gnu.org>
16215
16216 * buff-menu.el (Buffer-menu-buffer+size): Accept an additional
16217 argument LRM; if non-nil, append an invisible LRM character to the
16218 buffer name.
16219 (list-buffers-noselect): Call Buffer-menu-buffer+size with the
16220 last argument non-nil, when formatting buffer names.
16221 (Buffer-menu-mode, list-buffers-noselect): Force left-to-right
16222 paragraph direction.
16223
16224 2011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
16225
16226 * man.el (Man-bgproc-sentinel): Skip any arguments and only output
16227 the man page name (bug#7929).
16228
16229 * image.el (put-image): Mention the `put-image' overlay property
16230 (bug#7834).
16231
16232 * scroll-bar.el (set-scroll-bar-mode): Mention that
16233 `scroll-bar-mode' lists the values (bug#7772).
16234
16235 * image-mode.el (image-mode-fit-frame): Mention that it's a toggle
16236 command (bug#7729).
16237
16238 * rect.el (apply-on-rectangle): Return the point after the last
16239 operation.
16240 (string-rectangle): Go to the point after the last operation
16241 (bug#7522).
16242
16243 * printing.el (pr-toggle-region): Clarify the documentation
16244 slightly (bug#7493).
16245
16246 * time.el (display-time-update):
16247 Allow `display-time-mail-function' to return nil (bug#7158).
16248 Fix suggested by Detlev Zundel.
16249
16250 * vc/diff.el (diff): Clarify the order the file names are read
16251 (bug#7111).
16252
16253 * mouse.el (mouse-set-region): Link to `mouse-drag-copy-region' in
16254 the doc string (bug#7015).
16255
16256 * font-lock.el (font-lock-maximum-decoration): Mention what
16257 numeric levels mean (bug#6935).
16258
16259 * startup.el (initial-buffer-choice): Don't mention the `none'
16260 selection, which is against policy.
16261
16262 2011-07-14 Martin Rudalics <rudalics@gmx.at>
16263
16264 * window.el (display-buffer-normalize-special):
16265 Replace `dedicated' by `dedicate' to dedicate window (Bug#9072).
16266
16267 2011-07-14 Eli Zaretskii <eliz@gnu.org>
16268
16269 * subr.el (version<, version<=, version=): Mention "-CVS" and
16270 "-12345" alpha version numbers.
16271
16272 2011-07-14 Chong Yidong <cyd@stupidchicken.com>
16273
16274 * bindings.el: Add advertised binding for set-mark-command
16275 (Bug#5772).
16276
16277 2011-07-14 Chong Yidong <cyd@stupidchicken.com>
16278
16279 * bindings.el (mode-line-other-buffer):
16280 * bookmark.el (bookmark-bmenu-2-window):
16281 * bs.el (bs-cycle-next, bs-cycle-previous):
16282 * net/tramp-cmds.el (tramp-append-tramp-buffers): Revert to using
16283 switch-to-buffer.
16284
16285 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
16286 Delete.
16287
16288 2011-07-14 Juanma Barranquero <lekktu@gmail.com>
16289
16290 * follow.el (follow-debug-message, follow-redisplay):
16291 * jka-cmpr-hook.el (with-auto-compression-mode):
16292 Fix typos in docstrings.
16293
16294 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
16295
16296 * subr.el (with-silent-modifications): Clarify somewhat what the
16297 macro inhibits (bug#6525).
16298
16299 * simple.el (eval-expression): Note what it does if called
16300 interactively (bug#6495).
16301
16302 2011-07-13 Chong Yidong <cyd@stupidchicken.com>
16303
16304 * window.el (switch-to-buffer): New arg FORCE-SAME-WINDOW.
16305 Use pop-to-buffer buffer-or-name if it is nil.
16306
16307 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
16308 Remove switch-to-buffer.
16309
16310 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
16311
16312 * files.el (make-directory): Clarify that an error will be raised
16313 if there's an error (bug#6397).
16314
16315 * startup.el (initial-buffer-choice): Add `none' as a choice
16316 (bug#6234).
16317
16318 * subr.el (add-hook): Clarify section about buffer-local hooks
16319 (bug#6218).
16320
16321 * dired.el (dired-flagged): Clarify doc string (bug#6117).
16322
16323 2011-07-13 Juanma Barranquero <lekktu@gmail.com>
16324
16325 * tabify.el (untabify): Preserve the current column so that point
16326 doesn't move (bug#6032).
16327
16328 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
16329
16330 * progmodes/cperl-mode.el (cperl-syntaxify-by-font-lock):
16331 Rewrite to avoid awkward possessive "s" (bug#5986).
16332
16333 2011-07-13 Glenn Morris <rgm@gnu.org>
16334
16335 * dired.el (dired-use-ls-dired): Doc fix. (Bug#9039).
16336 (dired-insert-directory): Give a message the first time
16337 if ls is found not to support --dired.
16338
16339 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
16340
16341 * simple.el (toggle-truncate-lines): Clarify what is toggled
16342 (bug#5580). Text by Drew Adams.
16343
16344 2011-07-13 Chong Yidong <cyd@stupidchicken.com>
16345
16346 * simple.el (blink-matching-open): Make the error message from the
16347 last change less verbose.
16348
16349 2011-07-13 Dan Nicolaescu <dann@ics.uci.edu>
16350
16351 * font-lock.el (font-lock-comment-face): Use the high contrast
16352 "yellow" color for font-lock-comment-face on low color terminals
16353 using a dark background color (bug#4221).
16354
16355 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
16356
16357 * dired.el (dired-insert-set-properties): Make the doc string
16358 reflect what it does now (bug#5325).
16359
16360 * simple.el (blink-matching-open): Say that we were unable to find
16361 the match within the limit, if we're limited (bug#5122).
16362
16363 * international/mule-cmds.el (prefer-coding-system): Add an
16364 example (bug#4869).
16365
16366 * progmodes/etags.el (tags-search): Document `file-list-form'
16367 (bug#4731).
16368
16369 2011-07-13 Lawrence Mitchell <wence@gmx.li>
16370
16371 * net/browse-url.el (browse-url-default-browser)
16372 (browse-url-browser-function): Make the default browser choice a
16373 bit more logical (bug#4300). Also clean up the doc string.
16374
16375 2011-07-13 Juanma Barranquero <lekktu@gmail.com>
16376
16377 * bindings.el (completion-ignored-extensions): Add OpenMCL/Clozure
16378 binary endings (bug#4440).
16379
16380 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
16381
16382 * info.el (info-insert-file-contents): Inhibit jka-compr messages,
16383 which can be pretty annoying (bug#8971).
16384
16385 * jka-compr.el (jka-compr-verbose): New variable, and use
16386 throughout (bug#8971).
16387
16388 * info.el (Info-find-file): Fall back on the installation
16389 directory if we can't find the info node anywhere else.
16390
16391 2011-07-13 Sergei Organov <osv@javad.com> (tiny change)
16392
16393 * vc/vc.el (vc-revert-file):
16394 Don't set file time-stamp in the past. (Bug#5181)
16395
16396 2011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
16397
16398 * files.el (after-find-file): Give a better error message when
16399 trying to find a symlink that points to a file that doesn't exist
16400 (bug#4398).
16401
16402 * progmodes/cc-vars.el: Remove (probably) misleading comment
16403 (bug#4396).
16404
16405 2011-07-12 Johan Bockgård <bojohan@gnu.org>
16406
16407 * mouse-sel.el (mouse-sel-primary-overlay): Use the `region' face.
16408
16409 2011-07-12 Chong Yidong <cyd@stupidchicken.com>
16410
16411 * mouse-sel.el: Hack restoring functionality, while keeping
16412 compatibility with 2010-07-03 changes to mouse selection.
16413 (mouse-sel-primary-overlay): New var.
16414 (mouse-sel-selection-alist): Use it.
16415 (mouse-sel-mode): Doc fix; remove points that are default features
16416 of mouse.el.
16417
16418 2011-07-12 Johan Bockgård <bojohan@gnu.org>
16419
16420 * progmodes/compile.el (compilation-error-regexp-alist-alist):
16421 Fix previous fix (bug#2490).
16422
16423 2011-07-12 Roland Winkler <winkler@gnu.org>
16424
16425 * textmodes/bibtex.el (bibtex-initialize):
16426 Use pop-to-buffer-same-window.
16427 (bibtex-search-entries): Fix interactive call.
16428
16429 2011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
16430
16431 * progmodes/compile.el (compilation-error-regexp-alist-alist):
16432 Fontise bytecomp Error lines more correctly (bug#2490).
16433 Fix suggested by Johan Bockgård.
16434
16435 * subr.el (remove-duplicates): Remove; `delete-dups' is sufficient.
16436
16437 * dired-x.el (dired-guess-default): Use `delete-dups'.
16438
16439 2011-07-12 Chong Yidong <cyd@stupidchicken.com>
16440
16441 * dired.el (dired-mark-prompt):
16442 * dired-aux.el (dired-read-shell-command): Doc fix.
16443
16444 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
16445
16446 * mail/sendmail.el (sendmail-query-once):
16447 Use `customize-save-variable' unconditionally, now that it works under
16448 emacs -Q.
16449
16450 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
16451
16452 * cus-edit.el (custom-file): Take an optional no-error variable.
16453 (customize-save-variable): Set the variable, and give a warning if
16454 running under "emacs -q".
16455
16456 2011-07-11 Juanma Barranquero <lekktu@gmail.com>
16457
16458 * loadhist.el (unload-feature-special-hooks):
16459 Add `auto-coding-functions', `fill-nobreak-predicate' and
16460 `find-directory-functions' (bug#5327).
16461
16462 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
16463
16464 * vc/ediff.el (ediff-patch-file): Clarify doc string (bug#3138).
16465
16466 * cus-edit.el (custom-guess-name-alist): -alist variables should
16467 use the `alist' type (bug#3120). Suggested by Drew Adams.
16468
16469 * printing.el: Add documentation to all the `pr-toggle-' commands.
16470
16471 2011-07-11 Leo Liu <sdl.web@gmail.com>
16472
16473 * files.el (toggle-read-only): Only do the `C-x C-q' warning on VC
16474 backends where it makes sense (bug#2623).
16475
16476 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
16477
16478 * dired-x.el (dired-guess-default): Remove duplicate shell command
16479 entries (bug#2028).
16480 (dired-guess-default): Fix grammar in doc string (bug#2028).
16481 (dired-guess-shell-alist-user): Clarify the example a bit (bug#2030).
16482
16483 * subr.el (remove-duplicates): New conveniency function.
16484
16485 2011-07-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
16486
16487 * tool-bar.el (tool-bar-mode): Clarify positive/negative arguments
16488 (bug#1526).
16489
16490 2011-07-10 Martin Rudalics <rudalics@gmx.at>
16491
16492 * window.el (display-buffer-normalize-default): Don't invert
16493 meaning of even-window-heights. Reported by Eli Zaretskii
16494 <eliz@gnu.org>.
16495
16496 2011-07-10 Bob Rogers <rogers@rgrjr.dyndns.org>
16497
16498 * vc/vc.el (vc-diff-internal): Fix race condition (Bug#1256).
16499
16500 2011-07-10 Chong Yidong <cyd@stupidchicken.com>
16501
16502 * window.el (display-buffer): Fix arguments to
16503 display-buffer-reuse-window in last change.
16504
16505 * faces.el (link): Use a less saturated blue on light backgrounds.
16506
16507 * startup.el (fancy-startup-text, fancy-about-text)
16508 (fancy-startup-tail): Use font-lock faces, for background safety.
16509
16510 2011-07-09 Bob Nnamtrop <bobnnamtrop@gmail.com> (tiny change)
16511
16512 * emulation/viper-cmd.el (viper-change-state-to-vi):
16513 Limit triggering of abbrev expansion (Bug#9038).
16514
16515 2011-07-09 Martin Rudalics <rudalics@gmx.at>
16516
16517 * window.el (display-buffer-default-specifiers): Remove.
16518 (display-buffer-macro-specifiers): Remove default specifiers.
16519 (display-buffer-alist): Default to nil.
16520 (display-buffer-reuse-window): New optional argument other-window.
16521 (display-buffer-pop-up-window): Allow splitting internal
16522 windows. Check whether a live window was created.
16523 (display-buffer-other-window-means-other-frame)
16524 (display-buffer-normalize-arguments): Rename to
16525 display-buffer-normalize-argument and rewrite. Set the
16526 other-window specifier.
16527 (display-buffer-normalize-special): New function.
16528 (display-buffer-normalize-options): Rename to
16529 display-buffer-normalize-default and rewrite.
16530 (display-buffer-normalize-options-inhibit): Remove.
16531 (display-buffer-normalize-specifiers): Rewrite.
16532 (display-buffer): Process other-window specifier and call
16533 display-buffer-reuse-window with it. Emulate Emacs 23 behavior
16534 more faithfully.
16535 (pop-up-windows, even-window-heights): Restore Emacs 23 default values.
16536 (display-buffer-alist-set): Don't handle 'unset default values.
16537 (display-buffer-in-window, display-buffer-alist-set):
16538 Replace symbol "dedicated" by "dedicate". Reported by Tassilo Horn
16539 <tassilo@member.fsf.org>.
16540
16541 2011-07-09 Leo Liu <sdl.web@gmail.com>
16542
16543 * register.el (insert-register): Restore accidental change on
16544 2011-06-26. (Bug#9028)
16545
16546 2011-07-09 Glenn Morris <rgm@gnu.org>
16547
16548 * subr.el (remq): Handle the empty list. (Bug#9024)
16549
16550 2011-07-08 Andreas Schwab <schwab@linux-m68k.org>
16551
16552 * mail/sendmail.el (send-mail-function): No longer delay custom
16553 initialization.
16554 * custom.el (custom-initialize-delay): Doc fix.
16555
16556 2011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
16557
16558 * abbrev.el (expand-abbrev): Try to preserve point (bug#5805).
16559
16560 2011-07-08 Michael Albinus <michael.albinus@gmx.de>
16561
16562 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use a
16563 human-friendly prompt.
16564
16565 2011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
16566
16567 * vc/vc-bzr.el (vc-bzr-revision-keywords): Remove svn, it's only
16568 provided by a particular plugin.
16569
16570 2011-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
16571
16572 * mail/sendmail.el (sendmail-query-once): If we aren't allowed to
16573 save customizations (with "emacs -Q"), just set the variable
16574 instead of erroring out.
16575
16576 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
16577
16578 2011-07-08 Juri Linkov <juri@jurta.org>
16579
16580 * arc-mode.el (archive-zip-expunge, archive-zip-update)
16581 (archive-zip-update-case): Use 7z if found by `executable-find'.
16582 The order of searching the available programs is the same as in
16583 `archive-zip-extract' (bug#8968).
16584
16585 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
16586
16587 * menu-bar.el (menu-bar-line-wrapping-menu): Revert last change.
16588 (menu-bar-options-menu): Tweak descriptions.
16589
16590 2011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
16591
16592 * menu-bar.el (menu-bar-line-wrapping-menu): Make all the Options
16593 menu items into verb phrases (bug#1421). Also refill to fit under
16594 80 columns.
16595
16596 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
16597
16598 * info.el (info, Info-read-node-name-2, Info-read-node-name-1)
16599 (Info-read-node-name): Doc fix (Bug#1084).
16600
16601 * thingatpt.el (forward-thing, bounds-of-thing-at-point)
16602 (thing-at-point, beginning-of-thing, end-of-thing, in-string-p)
16603 (end-of-sexp, beginning-of-sexp)
16604 (thing-at-point-bounds-of-list-at-point, forward-whitespace)
16605 (forward-symbol, forward-same-syntax, word-at-point)
16606 (sentence-at-point): Doc fix (Bug#1144).
16607
16608 2011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
16609
16610 * info.el (Info-mode-map): Remove S-TAB binding, since [backtab]
16611 should cover it (bug#1281).
16612
16613 * cus-edit.el (custom-show): Mark as obsolete.
16614
16615 * net/network-stream.el (network-stream-open-starttls): If GnuTLS
16616 negotiation fails, then possibly try again with a non-encrypted
16617 connection (bug#9017).
16618
16619 * mail/smtpmail.el (smtpmail-stream-type): Note that `plain' can
16620 be used.
16621
16622 2011-07-07 Richard Stallman <rms@gnu.org>
16623
16624 * mail/rmail.el (rmail-next-error-move): Use `compilation-message'
16625 property, and handle its changed format.
16626 Look for the correct line number.
16627 Use file's line contents (but not past first =) to find
16628 correct line in message.
16629
16630 2011-07-07 Kenichi Handa <handa@m17n.org>
16631
16632 * international/characters.el (build-unicode-category-table):
16633 Delete it.
16634 (unicode-category-table): Set it by unicode-property-table-internal.
16635
16636 * international/mule-cmds.el (char-code-property-alist): Move to
16637 to src/chartab.c.
16638 (get-char-code-property): Call unicode-property-table-internal to
16639 load a file. Call get-unicode-property-internal where necessary.
16640 (put-char-code-property): Call unicode-property-table-internal to
16641 load a file. Call put-unicode-property-internal where necessary.
16642 put-unicode-property-internal where necessary.
16643 (char-code-property-description):
16644 Call unicode-property-table-internal to load a file.
16645
16646 * international/charprop.el:
16647 * international/uni-bidi.el:
16648 * international/uni-category.el:
16649 * international/uni-combining.el:
16650 * international/uni-comment.el:
16651 * international/uni-decimal.el:
16652 * international/uni-decomposition.el:
16653 * international/uni-digit.el:
16654 * international/uni-lowercase.el:
16655 * international/uni-mirrored.el:
16656 * international/uni-name.el:
16657 * international/uni-numeric.el:
16658 * international/uni-old-name.el:
16659 * international/uni-titlecase.el:
16660 * international/uni-uppercase.el: Regenerate.
16661
16662 * loadup.el: Load international/charprop.el before
16663 international/characters.
16664
16665 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
16666
16667 * window.el (next-buffer, previous-buffer): Signal an error if
16668 called from a minibuffer window.
16669
16670 * bindings.el: Revert 2011-07-04 change.
16671
16672 2011-07-06 Richard Stallman <rms@gnu.org>
16673
16674 * mail/rmailmm.el (rmail-mime-process): Use markers for buf positions.
16675 (rmail-mime-insert-bulk, rmail-mime-insert-text):
16676 Treat markers like ints.
16677 (rmail-mime-entity): Doc fix.
16678
16679 2011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
16680
16681 * mail/smtpmail.el (smtpmail-default-smtp-server): Made into a
16682 defcustom again for backwards compatibility.
16683
16684 * simple.el (shell-command-on-region): Fill.
16685
16686 * dired-aux.el (dired-kill-line): Add a doc string.
16687
16688 * dabbrev.el (dabbrev-abbrev-char-regexp): Note that nil defaults
16689 to "\\sw\\|\\s_" (bug#358).
16690
16691 * dired.el (dired-mode): Clarify "unmark or unflag" (bug#8770).
16692 (dired-unmark-backward): Ditto.
16693 (dired-flag-backup-files): Ditto.
16694
16695 * dired-x.el (dired-mark-sexp): Ditto.
16696
16697 2011-07-06 Richard Stallman <rms@gnu.org>
16698
16699 * mail/rmailmm.el: Give entity a new slot, TRUNCATED.
16700 (rmail-mime-entity): New arg TRUNCATED.
16701 (rmail-mime-entity-truncated, rmail-mime-entity-set-truncated):
16702 New functions.
16703 (rmail-mime-save): Warn if entity is truncated.
16704 (rmail-mime-toggle-hidden): Likewise, for showing.
16705 (rmail-mime-process-multipart): Record when an entity is truncated.
16706
16707 * mail/rmailmm.el (rmail-search-mime-message): Don't get confused
16708 if ENTITY is a string.
16709
16710 2011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
16711
16712 * emacs-lisp/lisp-mode.el (eval-defun-1): Update the documentation
16713 of faces when `M-C-x'-ing their definitions (bug#8378).
16714 Also clean up the code slightly.
16715
16716 * progmodes/grep.el (rgrep): Don't bind `process-connection-type',
16717 because that makes the colors go away.
16718
16719 * mail/sendmail.el (send-mail-function): Change the default to
16720 `sendmail-query-once'.
16721 (sendmail-query-once): Add an autoload cookie.
16722
16723 * net/network-stream.el (network-stream-open-starttls): Try using
16724 a plain connection even if the server offered STARTTLS, and we
16725 kinda wanted to use it, if Emacs doesn't have any STARTTLS
16726 capability. This should make smtpmail.el work in slightly more
16727 configurations.
16728
16729 2011-07-06 Michael Albinus <michael.albinus@gmx.de>
16730
16731 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
16732 New defun.
16733 * net/tramp-cmds.el (tramp-append-tramp-buffers): Use it.
16734
16735 2011-07-06 Michael R. Mauger <mmaug@yahoo.com>
16736
16737 * progmodes/sql.el: Version 3.0
16738 (sql-product-alist): Add product :completion-object,
16739 :completion-column, and :statement attributes.
16740 (sql-mode-menu, sql-interactive-mode-map): Fix List entries.
16741 (sql-mode-syntax-table): Mark all punctuation.
16742 (sql-font-lock-keywords-builder): Temporarily remove fallback on
16743 ansi keywords.
16744 (sql-regexp-abbrev, sql-regexp-abbrev-list): New functions.
16745 (sql-mode-oracle-font-lock-keywords): Improve.
16746 (sql-oracle-show-reserved-words): New function for development.
16747 (sql-product-font-lock): Simplify for source code buffers.
16748 (sql-product-syntax-table, sql-product-font-lock-syntax-alist):
16749 New functions.
16750 (sql-highlight-product): Set product specific syntax table.
16751 (sql-mode-map): Add statement movement functions.
16752 (sql-ansi-statement-starters, sql-oracle-statement-starters):
16753 New variable.
16754 (sql-statement-regexp, sql-beginning-of-statement)
16755 (sql-end-of-statement, sql-signum): New functions.
16756 (sql-buffer-live-p, sql=find-sqli-buffer): Add CONNECTION parameter.
16757 (sql-show-sqli-buffer): Bug fix.
16758 (sql-interactive-mode): Store connection data as buffer local.
16759 (sql-connect): Add NEW-NAME parameter. Redesign interaction
16760 with sql-interactive-mode.
16761 (sql-save-connection): Save buffer local settings.
16762 (sql-connection-menu-filter): Change menu entry name.
16763 (sql-product-interactive): Bug fix.
16764 (sql-preoutput-hold): New variable.
16765 (sql-interactive-remove-continuation-prompt): Bug fixes.
16766 (sql-debug-redirect): New variable.
16767 (sql-str-literal): New function.
16768 (sql-redirect, sql-redirect-one, sql-redirect-value, sql-execute):
16769 Redesign.
16770 (sql-oracle-save-settings, sql-oracle-restore-settings)
16771 (sql-oracle-list-all, sql-oracle-list-table): New functions.
16772 (sql-completion-object, sql-completion-column)
16773 (sql-completion-sqlbuf): New variables.
16774 (sql-build-completions-1, sql-build-completions)
16775 (sql-try-completion): New functions.
16776 (sql-read-table-name): Use them.
16777 (sql-contains-names): New buffer local variable.
16778 (sql-list-all, sql-list-table): Use it.
16779 (sql-oracle-completion-types): New variable.
16780 (sql-oracle-completion-object, sql-sqlite-completion-object)
16781 (sql-postgres-completion-object): New functions.
16782
16783 2011-07-06 Glenn Morris <rgm@gnu.org>
16784
16785 * window.el (pop-to-buffer): Doc fix.
16786
16787 2011-07-06 Markus Heiser <markus.heiser@darmarit.de> (tiny change)
16788
16789 * progmodes/gud.el (gud-pdb-marker-regexp): Accept \r char (Bug#5653).
16790
16791 2011-07-06 Chong Yidong <cyd@stupidchicken.com>
16792
16793 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
16794
16795 * info.el (Info-directory-toc-nodes): Minor doc fix (Bug#8833).
16796
16797 2011-07-05 Chong Yidong <cyd@stupidchicken.com>
16798
16799 * button.el (button): Inherit from link face. Suggested by Dan
16800 Nicolaescu.
16801
16802 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
16803
16804 * progmodes/gdb-mi.el: Fit in 80 columns.
16805 (gdb-setup-windows, gdb-restore-windows): Avoid other-window and
16806 switch-to-buffer.
16807
16808 * progmodes/which-func.el (which-func-ff-hook): Don't output a message
16809 if imenu is simply not configured (bug#8941).
16810
16811 2011-07-05 Ken Manheimer <ken.manheimer@gmail.com>
16812
16813 * allout.el (allout-post-undo-hook): New allout outline-change
16814 event hook to signal undo activity.
16815 (allout-post-command-business): Run allout-post-undo-hook if an
16816 undo just occurred.
16817 (allout-after-copy-or-kill-hook, allout-mode): Minor docstring changes.
16818 * allout-widgets.el (allout-widgets-after-undo-function):
16819 Ensure the integrity of the current item's decoration after it has been
16820 in the vicinity of an undo.
16821 (allout-widgets-mode): Include allout-widgets-after-undo-function
16822 on the new allout-post-undo-hook.
16823
16824 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
16825
16826 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-abbrev-table):
16827 Let define-derived-mode define it.
16828 * emacs-lisp/derived.el (define-derived-mode): Try to avoid creating
16829 cycles of abbrev-table inheritance (bug#8998).
16830
16831 2011-07-05 Roland Winkler <winkler@gnu.org>
16832
16833 * textmodes/bibtex.el: Add support for biblatex.
16834 (bibtex-BibTeX-entry-alist, bibtex-biblatex-entry-alist)
16835 (bibtex-BibTeX-field-alist, bibtex-biblatex-field-alist)
16836 (bibtex-dialect-list, bibtex-dialect, bibtex-no-opt-remove-re)
16837 (bibtex-entry-alist, bibtex-field-alist): New variables.
16838 (bibtex-entry-field-alist): Obsolete alias for
16839 bibtex-BibTeX-entry-alist.
16840 (bibtex-entry-alist, bibtex-field-alist): New widgets.
16841 (bibtex-set-dialect): New command.
16842 (bibtex-entry-type, bibtex-entry-head)
16843 (bibtex-entry-maybe-empty-head, bibtex-any-valid-entry-type):
16844 Bind via bibtex-set-dialect.
16845 (bibtex-Article, bibtex-Book, bibtex-Booklet, bibtex-InBook)
16846 (bibtex-InCollection, bibtex-InProceedings, bibtex-Manual)
16847 (bibtex-MastersThesis, bibtex-Misc, bibtex-PhdThesis)
16848 (bibtex-Proceedings, bibtex-TechReport, bibtex-Unpublished):
16849 Define via bibtex-set-dialect.
16850 (bibtex-name-in-field, bibtex-remove-OPT-or-ALT):
16851 Obey bibtex-no-opt-remove-re.
16852 (bibtex-vec-push, bibtex-vec-incr): New functions.
16853 (bibtex-format-entry, bibtex-field-list)
16854 (bibtex-print-help-message, bibtex-validate)
16855 (bibtex-search-entries): Use new format of bibtex-entry-alist.
16856
16857 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
16858
16859 * progmodes/compile.el (compilation-goto-locus):
16860 * net/tramp-cmds.el (tramp-append-tramp-buffers):
16861 * bs.el (bs-cycle-next, bs-cycle-previous):
16862 * bookmark.el (bookmark-bmenu-list, bookmark-bmenu-2-window):
16863 * bindings.el (mode-line-other-buffer):
16864 * autoinsert.el (auto-insert):
16865 * arc-mode.el (archive-extract):
16866 * abbrev.el (edit-abbrevs): Fix some uses of switch-to-buffer.
16867
16868 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
16869
16870 * emacs-lock.el (emacs-lock-mode): Fix typo in variable name.
16871 Fix check of `emacs-lock-unlockable-modes'.
16872 Coerce true values of `emacs-lock--try-unlocking' to t.
16873
16874 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
16875
16876 * obsolete/old-emacs-lock.el: Rename from emacs-lock.el.
16877 * emacs-lock.el: New file.
16878
16879 2011-07-05 Julien Danjou <julien@danjou.info>
16880
16881 * textmodes/rst.el (rst-define-level-faces): Use `facep' rather
16882 than `boundp' to check if face is set.
16883
16884 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
16885
16886 * register.el (registerv-make):
16887 * window.el (window-min-height): Fix typos in docstrings.
16888
16889 2011-07-05 Jan Djärv <jan.h.d@swipnet.se>
16890
16891 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
16892 Update doc string.
16893
16894 2011-07-04 Juanma Barranquero <lekktu@gmail.com>
16895
16896 * server.el (server-execute): Catch quit and call
16897 `server-return-error' to pass the error back to emacsclient and
16898 close the connection (bug#8942).
16899
16900 2011-07-04 Ken Manheimer <ken.manheimer@gmail.com>
16901
16902 * allout.el (allout-encrypt-unencrypted-on-saves): Do not provide
16903 insecure exception for current topic. Also note that auto-saves
16904 are handled differently.
16905
16906 (allout-auto-save-temporarily-disabled, allout-just-did-undo):
16907 State variables for tracking auto-save inhibition situation.
16908
16909 (allout-write-contents-hook-handler): Rename from
16910 'allout-write-file-hook-handler', and describe how it depends on
16911 write-contents-functions sensitivity to non-nil value to prevent
16912 file write.
16913
16914 (allout-auto-save-hook-handler): Remove. auto-save does not check
16915 this in individual buffers, only in the starting buffer, so this
16916 is not the right way for us to inhibit auto-save in a buffer
16917 according to its condition.
16918
16919 (allout-mode): Use new allout-write-contents-hook-handler, and
16920 only with write-contents-functions. Remove auto-save provisions -
16921 they're implemented elsewhere.
16922
16923 (allout-before-change-handler): If undo is in progress, note that
16924 for attention of allout-post-command-business.
16925
16926 (allout-post-command-business): If the command we're following was
16927 an undo, check for change in the status of encrypted items and
16928 adjust auto-save inhibitions accordingly.
16929
16930 (allout-toggle-subtree-encryption): Adjust auto-save inhibition
16931 according to whether there are or aren't any plain-text topics
16932 pending encryption.
16933
16934 (allout-inhibit-auto-save-info-for-decryption):
16935 Adjust buffer-saved-size and some allout state to inhibit auto-saves
16936 if there are plain-text topics pending encryption.
16937
16938 (allout-maybe-resume-auto-save-info-after-encryption): Adjust
16939 buffer-saved-size and some allout state to not inhibit auto-saves
16940 if there are no longer any plain-text topics pending encryption.
16941
16942 (allout-next-topic-pending-encryption, allout-encrypt-decrypted):
16943 No longer provide for exemption of the current topic.
16944
16945 2011-07-04 Juri Linkov <juri@jurta.org>
16946
16947 Add 7z operations to delete and save changed members (bug#8968).
16948 * arc-mode.el (archive-7z-expunge, archive-7z-update):
16949 New defcustoms.
16950 (archive-7z-write-file-member): New function.
16951 (archive-7z-summarize): Fix the number of dashes in the
16952 listing output.
16953
16954 2011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
16955
16956 * pcmpl-linux.el (pcomplete-pare-list): Re-add, from pcomplete.el
16957 (bug#8958).
16958
16959 2011-07-04 Chong Yidong <cyd@stupidchicken.com>
16960
16961 * bindings.el: Ignore next-buffer and previous-buffer in
16962 minibuffer-local-map.
16963
16964 * font-lock.el (font-lock-builtin-face): Change light background
16965 color to dark slate blue (Bug#6693).
16966
16967 2011-07-04 Wang Diancheng <dcwang@kingbase.com.cn> (tiny change)
16968
16969 * progmodes/gdb-mi.el (gdb): Use completion-at-point.
16970
16971 2011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
16972
16973 * files.el (find-file): Use pop-to-buffer-same-window (bug#8911).
16974 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
16975 Add switch-to-buffer.
16976
16977 2011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
16978
16979 * isearch.el (isearch-search-fun-function): Clarify further the
16980 meaning of the function returned.
16981
16982 2011-07-04 Michael Albinus <michael.albinus@gmx.de>
16983
16984 * net/tramp-cmds.el (tramp-cleanup-this-connection): New command.
16985
16986 * net/tramp-sh.el (tramp-color-escape-sequence-regexp): New defconst.
16987 (tramp-sh-handle-insert-directory, tramp-convert-file-attributes):
16988 Use it.
16989 (tramp-remote-path): Add "/bin" and "/usr/bin". On busyboxes,
16990 `tramp-default-remote-path' does not exist.
16991 (tramp-send-command-and-read): New optional argument NOERROR.
16992 (tramp-open-connection-setup-interactive-shell)
16993 (tramp-get-remote-path, tramp-get-remote-stat): Use it.
16994 (tramp-get-remote-readlink): Do not mask with `ignore-errors'.
16995 (tramp-process-sentinel): Flush also process' connection property.
16996 (tramp-sh-handle-start-file-process): Do not set process
16997 sentinel. It is done now ...
16998 (tramp-maybe-open-connection): ... here. (Bug#8929)
16999
17000 2011-07-04 MON KEY <monkey@sandpframing.com>
17001
17002 * play/animate.el (animate-string): Doc fixes and allow changing
17003 the buffer name (bug#5417).
17004
17005 2011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
17006
17007 * play/animate.el (animation-buffer-name): Rename from *animate*.
17008
17009 2011-07-04 Paul Eggert <eggert@cs.ucla.edu>
17010
17011 * emacs-lisp/timer.el: Use time-date fns rather than rolling our own.
17012 This is simpler and helps future-proof the code.
17013 (timer-until): Use time-subtract and float-time.
17014 (timer--time-less-p): Use time-less-p.
17015
17016 2011-07-04 Juanma Barranquero <lekktu@gmail.com>
17017
17018 * type-break.el (timep): Use the value of `float-time' to avoid a
17019 byte-compiler warning.
17020
17021 * server.el (server-eval-and-print): Return any result, even nil.
17022
17023 2011-07-03 Paul Eggert <eggert@cs.ucla.edu>
17024
17025 * type-break.el: Accept time formats that the builtins accept.
17026 (timep, type-break-time-difference): Accept any format that
17027 float-time accepts, rather than insisting on (HIGH LOW USECS) format.
17028 This is simpler and helps future-proof the code.
17029 (type-break-time-difference): Round rather than ignoring
17030 subseconds components.
17031
17032 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
17033
17034 * info.el (Info-apropos-matches): Make non-interactive, since it
17035 doesn't seem to do anything useful as a command (bug#8829).
17036
17037 2011-07-03 Chong Yidong <cyd@stupidchicken.com>
17038
17039 * frame.el (frame-background-mode, frame-set-background-mode):
17040 Move from faces.el.
17041 (frame-default-terminal-background): New function.
17042
17043 * custom.el (custom-push-theme): Don't record faces in `changed'
17044 theme; this doesn't work correctly for per-frame face settings.
17045 (disable-theme): Use face-set-after-frame-default to reset faces.
17046 (custom--frame-color-default): New function.
17047
17048 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
17049
17050 * dired.el (dired-flagging-regexp): Remove unused variable
17051 (bug#8769).
17052
17053 2011-03-29 Kevin Ryde <user42@zip.com.au>
17054
17055 * progmodes/compile.el (compilation-error-regexp-alist-alist):
17056 `perl-Test2' extend to match possible "fail #N" rep count
17057 (bug#8377).
17058
17059 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
17060
17061 * mail/feedmail.el (feedmail-buffer-to-smtpmail):
17062 `smtpmail-via-smtp' now returns the error instead of nil.
17063
17064 * isearch.el (isearch-search-fun-function): Clarify the doc string
17065 (bug#8101).
17066
17067 2011-07-03 Richard Kim <emacs18@gmail.com> (tiny change)
17068
17069 * textmodes/texnfo-upd.el (texinfo-insert-menu): Don't insert
17070 unnecessary spaces (bug#8987).
17071
17072 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
17073
17074 * net/network-stream.el (open-network-stream): Use the
17075 :end-of-capability command thoughout.
17076
17077 2011-07-03 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
17078
17079 * net/network-stream.el (open-network-stream): Add the
17080 :end-of-capability command parameter, used by pop3.el.
17081
17082 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
17083
17084 * dired.el (dired-map-over-marks): Refill the doc string (bug#6814).
17085
17086 * fringe.el (fringe-query-style): Remove redundant text " (type ?
17087 for list)" (bug#6475).
17088
17089 * files.el (file-expand-wildcards): Ignore non-readable
17090 sub-directories while trying to find matches instead of signaling
17091 an error (bug#6297).
17092
17093 * man.el (Man-reference-regexp): Allow matching possible
17094 word-wrapped references (bug#6289).
17095
17096 * vc/vc.el (vc-modify-change-comment): Change *VC-log* to *vc-log*
17097 for consistency with the other vc buffers (bug#6197).
17098 (vc-checkin): Ditto.
17099
17100 * vc/vc-arch.el: Fix comments to match the *VC-log* name change.
17101
17102 * longlines.el (longlines-mode): Document what ARG does (bug#6150).
17103
17104 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
17105
17106 * custom.el (defcustom): Clarify that :set is only used in the
17107 Customize user interface (bug#6089).
17108
17109 * progmodes/flymake.el (flymake-mode): If the buffer isn't
17110 associated with a file, refuse to run instead of erroring out
17111 (bug#6084).
17112
17113 * textmodes/fill.el (fill-region): Remove the "Ordinarily" from
17114 the doc string, since it appears that using `fill-column' always
17115 controls the width (bug#7845).
17116
17117 * simple.el (shell-command-on-region): Say where the error output
17118 went if `shell-command-default-error-buffer' is set (bug#6857).
17119
17120 2011-07-02 Ken Manheimer <ken.manheimer@gmail.com>
17121
17122 * allout.el (allout-yank-processing): Adjust cursor position for
17123 backwards-deleted space.
17124
17125 (allout-rebullet-heading): Register changes with
17126 allout-exposure-changed-hook, so the modified topic is properly
17127 decorated.
17128
17129 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
17130
17131 * minibuffer.el (completion-in-region): Document PREDICATE
17132 (bug#7136).
17133
17134 * info-look.el (info-lookup-add-help): Clarify that ARGS is a list
17135 of keyword/argument pairs (bug#6904).
17136
17137 * replace.el (multi-occur):
17138 Mention `multi-occur-in-matching-buffers' in the doc string (bug#7566).
17139
17140 2011-07-02 Drew Adams <drew.adams@oracle.com>
17141
17142 * dired.el (dired-mark-if): Make the message about whether it's
17143 marking or unmarking clearer (bug#8523).
17144
17145 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
17146
17147 * disp-table.el (display-table-print-array): New function.
17148 (describe-display-table): Use it to print the vectors more pretty
17149 (Bug#8859).
17150
17151 2011-07-02 Martin Rudalics <rudalics@gmx.at>
17152
17153 * window.el (window-state-get-1): Don't assign clone numbers.
17154 Add clone-of item to list of window parameters.
17155 (window-state-put-2): Don't process clone numbers.
17156 (display-buffer-alist): Fix doc-string.
17157
17158 2011-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
17159
17160 * subr.el (remq): Don't allocate if it's not needed.
17161 (keymap--menu-item-binding, keymap--menu-item-with-binding)
17162 (keymap--merge-bindings): New functions.
17163 (keymap-canonicalize): Use them to refine the canonicalization.
17164 * minibuffer.el (minibuffer-local-completion-map)
17165 (minibuffer-local-must-match-map): Move initialization from C.
17166 (minibuffer-local-filename-completion-map): Move initialization from C;
17167 don't inherit from anything here.
17168 (minibuffer-local-filename-must-match-map): Make obsolete.
17169 (completing-read-default): Use make-composed-keymap to combine
17170 minibuffer-local-filename-completion-map with either
17171 minibuffer-local-must-match-map or
17172 minibuffer-local-filename-completion-map.
17173
17174 2011-07-01 Glenn Morris <rgm@gnu.org>
17175
17176 * type-break.el (type-break-time-sum): Use dolist.
17177
17178 * textmodes/flyspell.el (flyspell-word-search-backward):
17179 Replace CL function.
17180
17181 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
17182
17183 * mouse.el (mouse--strip-first-event): New function.
17184 (function-key-map): Use it to map fringe clicks to normal clicks
17185 by default.
17186
17187 * vc/vc-bzr.el (vc-bzr-revision-keywords): Update.
17188 (vc-bzr-revision-completion-table): Add support for annotate and date.
17189
17190 * emacs-lisp/derived.el (define-derived-mode): Make abbrev-table
17191 inherit from parent.
17192
17193 2011-07-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
17194
17195 * dired-aux.el (dired-diff): Doc fixup (bug#8816).
17196 (dired-show-file-type): Doc fixup (bug#8818).
17197
17198 * dired.el (dired-mode): Fix up the doc string as suggested by
17199 Drew Adams (bug#8817).
17200
17201 * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
17202 cookie, since the manual says that it should be possible to add
17203 this function to `find-file-hook' (bug#8709).
17204
17205 2011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
17206
17207 * progmodes/cfengine.el: Moved all cfengine3.el functionality
17208 here. Noted Ted Zlatanov as the maintainer.
17209 (cfengine-common-settings, cfengine-common-syntax): New functions
17210 to set up common things between `cfengine-mode' and
17211 `cfengine3-mode'.
17212 (cfengine3-mode): New mode.
17213 (cfengine3-defuns cfengine3-defuns-regex
17214 (cfengine3-class-selector-regex cfengine3-category-regex)
17215 (cfengine3-vartypes cfengine3-font-lock-keywords)
17216 (cfengine3-beginning-of-defun, cfengine3-end-of-defun)
17217 (cfengine3-indent-line): Add from cfengine3.el.
17218
17219 2011-07-01 Michael Albinus <michael.albinus@gmx.de>
17220
17221 * net/tramp.el (tramp-encoding-command-interactive): New defcustom.
17222
17223 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
17224
17225 2011-07-01 Martin Rudalics <rudalics@gmx.at>
17226
17227 * window.el (same-window-buffer-names, same-window-regexps)
17228 (same-window-p, special-display-frame-alist)
17229 (special-display-popup-frame, special-display-function)
17230 (special-display-buffer-names, special-display-regexps)
17231 (special-display-p, pop-up-frame-alist, pop-up-frame-function)
17232 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
17233 (split-window-preferred-function, split-height-threshold)
17234 (split-width-threshold, even-window-heights)
17235 (display-buffer-mark-dedicated, window-splittable-p)
17236 (split-window-sensibly, window-safely-shrinkable-p):
17237 Un-obsolete.
17238 (display-buffer): Don't spread args with function specifier
17239 because special-display-popup-frame won't like it.
17240
17241 2011-07-01 Paul Eggert <eggert@cs.ucla.edu>
17242
17243 Time-stamp simplifications and fixes.
17244 These improve accuracy slightly, and future-proof the code
17245 against some potential changes to current-time format.
17246
17247 * woman.el (woman-decode-buffer, WoMan-log-end): Log fractional secs
17248 by using time-since and float-time.
17249
17250 * vc/ediff-util.el (ediff-calc-command-time): Use time-since
17251 and float-time. Say "NNN.NNN seconds" rather than "NNN seconds
17252 + NNN microseconds".
17253
17254 * type-break.el (type-break-time-sum): Rewrite using time-add.
17255
17256 * play/hanoi.el (hanoi-current-time-float): Remove.
17257 All uses replaced by float-time.
17258
17259 * nxml/rng-maint.el (rng-time-function): Rewrite using time-subtract.
17260 This yields a more-accurate answer.
17261 (rng-time-to-float): Remove; no longer needed.
17262
17263 * emacs-lisp/timer.el (timer-relative-time): Use time-add.
17264
17265 * calendar/timeclock.el (timeclock-seconds-to-time):
17266 Defalias to seconds-to-time, since they're the same thing.
17267
17268 * emacs-lisp/elp.el (elp-elapsed-time):
17269 * emacs-lisp/benchmark.el (benchmark-elapse):
17270 * allout-widgets.el (allout-elapsed-time-seconds): Use float-time.
17271
17272 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
17273
17274 * window.el (bury-buffer): Don't iconify the only frame.
17275 (switch-to-buffer): Revert to Emacs<23 behavior, i.e. do not fallback
17276 to pop-to-buffer. Use pop-to-buffer-same-frame if you don't like that.
17277
17278 2011-07-01 Chong Yidong <cyd@stupidchicken.com>
17279
17280 * eshell/em-smart.el (eshell-smart-display-navigate-list):
17281 Add mouse-yank-primary.
17282
17283 2011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
17284
17285 * progmodes/cfengine3.el: New file to support CFEngine 3.x.
17286
17287 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
17288
17289 * emacs-lisp/find-func.el (find-library--load-name): New fun.
17290 (find-library-name): Use it to find relative load names when provided
17291 absolute file name (bug#8803).
17292
17293 2011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
17294
17295 * textmodes/flyspell.el (flyspell-word): Consider words that
17296 differ only in case as potential doublons (bug#5687).
17297
17298 * net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
17299 Remove two rather uninteresting debugging-like messages to make
17300 debbugs.el more silent.
17301
17302 * comint.el (comint-password-prompt-regexp): Accept "Response" as
17303 a password-like phrase.
17304
17305 2011-06-30 Masatake YAMATO <yamato@redhat.com>
17306
17307 * progmodes/cc-guess.el: New file.
17308
17309 * progmodes/cc-langs.el (c-mode-menu): Add "Style..." submenu.
17310
17311 * progmodes/cc-styles.el (cc-choose-style-for-mode): New function
17312 derived from `c-basic-common-init'.
17313
17314 * progmodes/cc-mode.el (top-level): Require cc-guess.
17315 (c-basic-common-init): Use `cc-choose-style-for-mode'.
17316
17317 2011-06-30 Lawrence Mitchell <wence@gmx.li>
17318
17319 * progmodes/js.el (js-mode): Don't stomp on global settings (bug#8933).
17320
17321 2011-06-30 Alan Mackenzie <acm@muc.de>
17322
17323 * progmodes/cc-engine.el (c-guess-continued-construct):
17324 Correct the handling of template-args-cont, particularly for when font
17325 lock is disabled. Name this case as "CASE G".
17326
17327 2011-06-30 Ken Manheimer <ken.manheimer@gmail.com>
17328
17329 * allout.el (allout-yank-processing): Fix injection of extra space
17330 between bullet and non-whitespace character in first topic when
17331 pasting, ensuring that the actual spacing in the pasted topic
17332 following the bullet char is preserved. This extra space was
17333 causing pasted encrypted topics to get a decrypted status even
17334 when the content was actually still encrypted. Now the decryption
17335 status from before the paste is preserved.
17336
17337 (allout-flag-region): Set all allout overlays so they evaporate
17338 when reduced to zero length (evanescent), to prevent overlay
17339 leakage.
17340
17341 2011-06-30 Glenn Morris <rgm@gnu.org>
17342
17343 * w32-fns.el (w32-charset-info-alist): Declare.
17344
17345 * find-dired.el (find-grep-options): Simplify.
17346
17347 * term/ns-win.el (ns-set-resource): Declare.
17348
17349 * ses.el (row, col): Declare dynamic variables honestly.
17350
17351 * textmodes/reftex-parse.el (index-tags): Declare.
17352
17353 2011-06-30 Chong Yidong <cyd@stupidchicken.com>
17354
17355 * cus-edit.el (customize-push-and-save): New function.
17356
17357 * files.el (hack-local-variables-confirm): Use it.
17358
17359 * custom.el (load-theme): New arg NO-CONFIRM.
17360 Use customize-push-and-save (Bug#8720).
17361 (custom-enabled-themes): Doc fix.
17362
17363 * cus-theme.el (customize-create-theme)
17364 (custom-theme-merge-theme): Callers to load-theme changed.
17365
17366 2011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
17367
17368 * thingatpt.el (thing-at-point-short-url-regexp): Require that
17369 short URLs have at least one dot in them (bug #7614).
17370
17371 * progmodes/grep.el (rgrep): Bind `process-connection-type' to
17372 nil, because using a pty is apparently too slow (bug #895).
17373
17374 2011-06-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
17375
17376 * mail/sendmail.el (sendmail-query-once): New function.
17377 (sendmail-query-once-function): New variable.
17378
17379 2011-06-29 Glenn Morris <rgm@gnu.org>
17380
17381 * files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.
17382
17383 * ses.el (top-level): Require cl when compiling.
17384 (ses-set-localvars): Fix error statement.
17385 Call it at compile time to silence a storm of warnings.
17386
17387 2011-06-29 Martin Rudalics <rudalics@gmx.at>
17388
17389 * window.el (normalize-live-buffer): Rename to
17390 window-normalize-buffer.
17391 (normalize-live-frame): Rename to window-normalize-frame.
17392 (normalize-any-window): Rename to window-normalize-any-window.
17393 (normalize-live-window): Rename to window-normalize-live-window.
17394 (make-window-atom): Rename to window-make-atom.
17395 (window-resize-reset): Rename to window--resize-reset.
17396 (window-resize-reset-1): Rename to window--resize-reset-1.
17397 (resize-mini-window): Rename to window--resize-mini-window.
17398 (resize-subwindows-skip-p): Rename to
17399 window--resize-subwindows-skip-p.
17400 (resize-subwindows-normal): Rename to
17401 window--resize-subwindows-normal.
17402 (resize-subwindows): Rename to window--resize-subwindows.
17403 (resize-other-windows): Rename to window--resize-siblings.
17404 (resize-this-window): Rename to window--resize-this-window.
17405 (resize-root-window): Rename to window--resize-root-window.
17406 (resize-root-window-vertically): Rename to
17407 window--resize-root-window-vertically.
17408 (normalize-buffer-to-display): Rename to
17409 window-normalize-buffer-to-display.
17410 (normalize-buffer-to-switch-to): Rename to
17411 window-normalize-buffer-to-switch-to.
17412 Correspondingly update all callers of the functions listed
17413 above.
17414 (display-buffer-alist, display-buffer-normalize-arguments)
17415 (display-buffer-normalize-options, display-buffer)
17416 (display-buffer-alist-set): Use "function" instead of
17417 "fun-with-args".
17418
17419 2011-06-28 Chong Yidong <cyd@stupidchicken.com>
17420
17421 * mail/emacsbug.el (report-emacs-bug): Handle non-gnu bug
17422 addresses more clearly. Add hyperlinks for bug-gnu-emacs and
17423 debbugs.gnu.org. Mention acknowledgment email.
17424
17425 2011-06-28 Lars Magne Ingebrigtsen <larsi@gnus.org>
17426
17427 * mail/smtpmail.el (smtpmail-send-it): Leave off changing the
17428 buffer multibyteness, since it shouldn't matter.
17429
17430 2011-06-28 Martin Rudalics <rudalics@gmx.at>
17431
17432 * window.el (display-buffer-in-side-window): Handle dedicated
17433 windows as in display-buffer-reuse-window.
17434 (display-buffer-normalize-alist): Use value of override
17435 specifier.
17436 (display-buffer-normalize-specifiers): Use value of
17437 other-window-means-other-frame specifier.
17438 (display-buffer-alist): Rewrite some texts in widgets.
17439 (display-buffer): Spread arguments when calling function
17440 specified by fun-with-args.
17441
17442 2011-06-28 Deniz Dogan <deniz@dogan.se>
17443
17444 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
17445 Unnest `let'.
17446
17447 * textmodes/css-mode.el (css-font-lock-keywords): Fix grouped
17448 selectors (Bug#5732).
17449 (css-proprietary-nmstart-re): Use `regexp-opt'.
17450
17451 2011-06-27 Jari Aalto <jari.aalto@cante.net>
17452
17453 * eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).
17454 (eshell-ls-date-format): New defcustom.
17455 (eshell-ls-file): Use it.
17456
17457 2011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
17458
17459 * help-fns.el (describe-variable): Fix message for terminal-local vars.
17460
17461 2011-06-27 Katsumi Yamaoka <yamaoka@jpl.org>
17462
17463 * net/ange-ftp.el: Allow loading .gz files (Bug#6923).
17464 (ange-ftp-make-tmp-name): New arg.
17465 (ange-ftp-file-local-copy): Use it.
17466
17467 2011-06-27 Jambunathan K <kjambunathan@gmail.com>
17468
17469 * tar-mode.el (tar-untar-buffer): Set coding-system-for-write to
17470 no-conversion (Bug#8870).
17471
17472 2011-06-27 Martin Rudalics <rudalics@gmx.at>
17473
17474 * window.el (window-right, window-left, window-child)
17475 (window-child-count, window-last-child)
17476 (window-iso-combination-p, walk-window-tree-1)
17477 (window-atom-check-1, window-tree-1, delete-window)
17478 (window-state-get-1, display-buffer-even-window-sizes): Adapt to
17479 new naming conventions - window-vchild, window-hchild,
17480 window-next and window-prev are now called window-top-child,
17481 window-left-child, window-next-sibling and window-prev-sibling
17482 respectively.
17483 (resize-window-reset): Rename to window-resize-reset.
17484 (resize-window-reset-1): Rename to window-resize-reset-1.
17485 (resize-window): Rename to window-resize.
17486 (window-min-height, window-min-width)
17487 (resize-mini-window, resize-this-window, resize-root-window)
17488 (resize-root-window-vertically, adjust-window-trailing-edge)
17489 (enlarge-window, shrink-window, maximize-window)
17490 (minimize-window, delete-window, quit-restore-window)
17491 (split-window, balance-windows, balance-windows-area-adjust)
17492 (balance-windows-area, window-state-put-2)
17493 (display-buffer-even-window-sizes, display-buffer-set-height)
17494 (display-buffer-set-width, set-window-text-height)
17495 (fit-window-to-buffer): Rename all "resize-window" prefixed
17496 calls to use the "window-resize" prefix convention.
17497 (display-buffer-alist): Fix symbol for label specifier.
17498 (display-buffer-reuse-window): Set reuse-dedicated to cdr of
17499 corresponding specifier.
17500 Reported by Juanma Barranquero <lekktu@gmail.com>.
17501
17502 2011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
17503
17504 * ses.el (ses-destroy-cell-variable-range): Fix heading comment
17505 convention.
17506 (ses-call-printer): Does not pass an empty string to formatter when the
17507 cell is empty to keep from barking printer Calc math-format-value.
17508
17509 2011-06-27 Richard Stallman <rms@gnu.org>
17510
17511 * battery.el (battery-mode-line-limit): New variable.
17512 (battery-update): Handle it.
17513
17514 * mail/rmailmm.el (rmail-mime-process-multipart):
17515 Handle truncated messages.
17516
17517 2011-06-27 Glenn Morris <rgm@gnu.org>
17518
17519 * progmodes/flymake.el (flymake-err-line-patterns):
17520 Allow for column numbers in the ant/javac pattern. (Bug#8866)
17521
17522 2011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
17523
17524 * ses.el (ses-relocate-range): Keep rest of arguments for ses-range.
17525 (ses--clean-!, ses--clean-_): New functions.
17526 (ses-range): Add configurability of readout order, and conversion
17527 to Calc vector.
17528
17529 * ses.el (ses-repair-cell-reference-all): New function.
17530 (ses-cell-symbol): Set macro as safe, so that it can be used in
17531 formulas.
17532
17533 * ses.el: Update cycle detection algorithm.
17534 (ses-localvars): Add ses--Dijkstra-attempt-nb and
17535 ses--Dijkstra-weight-bound, and initial values thereof when applicable.
17536 (ses-set-localvars): New function.
17537 (ses-make-cell): Add property-list as a cell element.
17538 (ses-cell-property-get-fun, ses-cell-property-get)
17539 (ses-cell-property-delq-fun, ses-cell-property-set-fun)
17540 (ses-cell-property-pop-fun, ses-cell-property-get-handle-fun):
17541 New functions.
17542 (ses-cell-property-set, ses-cell-property-pop)
17543 (ses-cell-property-get-handle): New macro.
17544 (ses-cell-property-handle-car, ses-cell-property-handle-setcar):
17545 New aliases, used for code readability.
17546 (ses-calculate-cell, ses-update-cells): Use Dijkstra algorithm for
17547 cycle detection.
17548 (ses-self-reference-early-detection): New defcustom.
17549 (ses-formula-references): Robustify against self-referring cells.
17550 (ses-mode): Use ses-set-localvars.
17551 (ses-command-hook): Add call to ses-initialize-Dijkstra-attempt
17552 before lauching the update processing.
17553 (ses-initialize-Dijkstra-attempt): New function.
17554 (ses-recalculate-cell): Update for cycle detection based on
17555 Dijkstra algorithm.
17556
17557 * ses.el: Fix commenting and indenting convention.
17558
17559 2011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
17560
17561 * bs.el (bs-cycle-next): Complete last change.
17562
17563 2011-06-27 Drew Adams <drew.adams@oracle.com>
17564
17565 * faces.el (list-faces-display): Add help-mode-map to output (bug#8939).
17566
17567 2011-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
17568
17569 * net/network-stream.el (network-stream-open-starttls):
17570 Don't re-get capabilities unless we've reestablished connection.
17571 (network-stream-open-starttls): Fix stupid typo with gnutls-clii.
17572
17573 * mail/smtpmail.el (smtpmail-via-smtp): Bind coding-system-for-*
17574 to binary to possibly avoid line encoding issues on Windows (among
17575 other things).
17576
17577 2011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
17578
17579 * net/network-stream.el (open-network-stream): Return an :error
17580 saying what the problem was, if possible.
17581
17582 * mail/smtpmail.el (smtpmail-via-smtp): Report the error from the
17583 server.
17584
17585 * net/network-stream.el (network-stream-open-starttls): If we
17586 wanted to use STARTTLS, and the server offered it, but we weren't
17587 able to because we had no STARTTLS support, then close the connection.
17588 (open-network-stream): Return an :error element, if present.
17589
17590 2011-06-26 Chong Yidong <cyd@stupidchicken.com>
17591
17592 * hl-line.el (hl-line-sticky-flag): Doc fix.
17593 (global-hl-line-sticky-flag): New option (Bug#8323).
17594 (global-hl-line-highlight): Obey it.
17595
17596 * vc/vc.el (vc-revert-show-diff): Default to t.
17597
17598 2011-06-26 Ken Manheimer <ken.manheimer@gmail.com>
17599
17600 * allout-widgets.el (allout-widgets-post-command-business):
17601 Stop decorating intermediate isearch matches. They're not being
17602 undecorated when an isearch is continued past, and isearch
17603 automatically collapses them. This leads to "widget leaks", where
17604 decorated items accumulate in collapsed areas. Lines with lots of
17605 hidden widgets can slow down cursor travel, substantially.
17606 Too much complicated machinery would be needed to ensure undecoration,
17607 so we're doing without this nicety.
17608
17609 (allout-widgets-tally-string): Don't try to do a hash-table-count
17610 of allout-widgets-tally when it's nil. This eliminates spurious "Error
17611 during redisplay: (wrong-type-argument hash-table-p nil)" warnings in
17612 *Messages* when allout-widgets-maintain-tally is t.
17613
17614 2011-06-26 Martin Rudalics <rudalics@gmx.at>
17615
17616 * window.el (display-buffer-normalize-argument): Rename to
17617 display-buffer-normalize-arguments. Handle special meaning of
17618 LABEL argument. Respect special-display-function when popping up
17619 a new frame. Fix code searching for a window showing the buffer
17620 on another frame.
17621 (display-buffer-normalize-specifiers):
17622 Call display-buffer-normalize-arguments.
17623 (display-buffer-in-window): Don't undedicate the window if its
17624 buffer remains the same.
17625 Reported by Drew Adams <drew.adams@oracle.com>.
17626 (display-buffer-alist): Add choice for same-window macro
17627 specfier.
17628 (display-buffer): Mention special meaning of LABEL argument in
17629 doc-string. Fix quoting. Don't pop up a new frame even as
17630 fallback.
17631
17632 2011-06-26 Juanma Barranquero <lekktu@gmail.com>
17633
17634 * bs.el (bs-cycle-next): Pass current buffer to `bury-buffer' to
17635 avoid deleting the current window in some cases (bug#8911).
17636
17637 2011-06-26 Andreas Schwab <schwab@linux-m68k.org>
17638
17639 * emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
17640 (Bug#8934)
17641
17642 2011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
17643
17644 * net/network-stream.el (network-stream-open-starttls):
17645 Use built-in TLS support if `gnutls-available-p' is true.
17646 (network-stream-open-tls): Ditto.
17647
17648 2011-06-26 Leo Liu <sdl.web@gmail.com>
17649
17650 * register.el (registerv): New struct.
17651 (registerv-make): New function.
17652 (jump-to-register, describe-register-1, insert-register):
17653 Support the jump-func, print-func and insert-func slot of a registerv
17654 struct. (Bug#8415)
17655
17656 2011-06-26 Chong Yidong <cyd@stupidchicken.com>
17657
17658 * vc/vc.el (vc-revert-show-diff): New defcustom.
17659 (vc-diff-internal): New arg specifying diff buffer.
17660 (vc-revert): Obey vc-revert-show-diff. If we show a diff, don't
17661 reuse an existing *vc-diff* buffer (Bug#8927).
17662
17663 * progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode.
17664
17665 2011-06-26 Glenn Morris <rgm@gnu.org>
17666
17667 * progmodes/f90.el (f90-critical-indent): New option.
17668 (f90-font-lock-keywords-2, f90-blocks-re, f90-end-block-re)
17669 (f90-start-block-re, f90-mode-abbrev-table): Add block, critical.
17670 (f90-mode): Doc fix.
17671 (f90-looking-at-critical, f90-looking-at-end-critical): New funcs.
17672 (f90-no-block-limit, f90-calculate-indent, f90-end-of-block)
17673 (f90-beginning-of-block, f90-next-block, f90-indent-region)
17674 (f90-match-end): Handle block, critical.
17675
17676 2011-06-25 Glenn Morris <rgm@gnu.org>
17677
17678 * calendar/diary-lib.el (diary-included-files): Doc fix.
17679 (diary-include-files): New function, extracted from
17680 diary-include-other-diary-files and diary-mark-included-diary-files.
17681 (diary-include-other-diary-files, diary-mark-included-diary-files):
17682 Just call diary-include-files.
17683 (diary-mark-entries): Reset diary-included-files on first call.
17684
17685 * calendar/diary-lib.el (diary-mark-entries)
17686 (diary-mark-included-diary-files):
17687 Visit included diary-files in temp buffers.
17688
17689 * progmodes/f90.el (f90-keywords-re, f90-font-lock-keywords-1)
17690 (f90-blocks-re, f90-program-block-re, f90-end-block-re)
17691 (f90-start-block-re, f90-imenu-generic-expression)
17692 (f90-looking-at-program-block-start, f90-no-block-limit):
17693 Add support for submodules.
17694
17695 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
17696 (f90-procedures-re, f90-constants-re): Add some F2008 stuff.
17697
17698 2011-06-25 Eli Zaretskii <eliz@gnu.org>
17699
17700 * net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
17701 buffer-file-type before setting its value, to avoid disastrous
17702 global effects on decoding files for DOS/Windows systems. (Bug#8780)
17703
17704 2011-06-25 Juanma Barranquero <lekktu@gmail.com>
17705
17706 * allout.el (allout-unload-function): Pass -1 to `allout-mode'.
17707
17708 * ses.el (ses-unload-function):
17709 * emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
17710
17711 * proced.el (proced-unload-function):
17712 * progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.
17713
17714 2011-06-25 Andreas Rottmann <a.rottmann@gmx.at>
17715
17716 * server.el (server-create-window-system-frame): Add parameters arg.
17717 (server-process-filter): Doc fix. Handle frame-parameters.
17718
17719 2011-06-25 Juanma Barranquero <lekktu@gmail.com>
17720
17721 Fix bug#8730, bug#8781.
17722
17723 * loadhist.el (unload--set-major-mode): New function.
17724 (unload-feature): Use it.
17725
17726 * progmodes/python.el (python-after-info-look): Add autoload cookie.
17727 (python-unload-function): New function.
17728
17729 2011-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
17730
17731 * mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.
17732
17733 2011-06-25 Giuseppe Scrivano <gscrivano@gnu.org>
17734
17735 * net/browse-url.el (browse-url-firefox-program): Add icecat to
17736 the candidates list.
17737
17738 2011-06-24 Juanma Barranquero <lekktu@gmail.com>
17739
17740 * progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable.
17741
17742 2011-06-23 Richard Stallman <rms@gnu.org>
17743
17744 * mail/rmail.el: Going to grep hit in Rmail buffer finds the message.
17745 (rmail-variables): Set next-error-move-function.
17746 (rmail-what-message): Take argument POS.
17747 (rmail-next-error-move): New function.
17748
17749 2011-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
17750
17751 * emacs-lisp/smie.el (smie-bnf->prec2): Give more understandable error
17752 messages for adjacent non-terminals.
17753
17754 2011-06-23 Richard Stallman <rms@gnu.org>
17755
17756 * mail/rmail.el (rmail-retry-ignored-headers): Add message-id.
17757 (rmail-show-message-1): Preserve buffer modified flag.
17758 (rmail-start-mail): Don't specify use of rmail-mail-return;
17759 that's done by mail-bury now.
17760 (rmail-mail-return): Handle arg NEWBUF.
17761
17762 2011-06-23 Michael Albinus <michael.albinus@gmx.de>
17763
17764 * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
17765 SIZE is a number.
17766
17767 2011-06-23 Martin Rudalics <rudalics@gmx.at>
17768
17769 * window.el (get-lru-window, get-mru-window)
17770 (get-largest-window): Never return a minibuffer window.
17771 (display-buffer-pop-up-window): Fix a bug that could lead to
17772 reusing the minibuffer window.
17773 (display-buffer): Pass original specifier argument to
17774 display-buffer-function instead of the normalized one.
17775 Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
17776
17777 2011-06-22 Leo Liu <sdl.web@gmail.com>
17778
17779 * minibuffer.el (completing-read-function)
17780 (completing-read-default): Move from minibuf.c.
17781
17782 2011-06-22 Richard Stallman <rms@gnu.org>
17783
17784 * mail/sendmail.el (mail-bury): If Rmail is in use, return nicely
17785 to Rmail even if not started by a special Rmail command.
17786
17787 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
17788 Copy the buffer currently showing just one message.
17789
17790 2011-06-22 Roland Winkler <winkler@gnu.org>
17791
17792 * textmodes/bibtex.el (bibtex-entry-update): Use mapc.
17793 (bibtex-clean-entry): First delete the old key so that a
17794 customized algorithm for generating the new key does not get
17795 confused by the old key.
17796 (bibtex-url): Obey regexp of first step.
17797 (bibtex-search-entries): Do not use add-to-list with local
17798 list-var.
17799
17800 2011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
17801
17802 * mail/smtpmail.el (smtpmail-try-auth-methods): If the user has
17803 stored a user name, then query for the password first, instead of
17804 waiting for SMTP to give an error message and the trying again.
17805
17806 2011-06-22 Lawrence Mitchell <wence@gmx.li>
17807
17808 * net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
17809 BUFFER in call-process.
17810
17811 2011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
17812
17813 * mail/smtpmail.el (smtpmail-via-smtp): Make sure we don't send
17814 QUIT twice.
17815 (smtpmail-try-auth-methods): Require user name and password from
17816 auth-source.
17817
17818 2011-06-22 Martin Rudalics <rudalics@gmx.at>
17819
17820 * window.el (display-buffer-default-specifiers)
17821 (display-buffer-alist): Remove entries for pop-up-frame-alist.
17822 Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
17823 (split-window): Normalize SIDE argument (Bug#8916).
17824
17825 * frame.el (pop-up-frame-alist, pop-up-frame-function)
17826 (special-display-frame-alist, special-display-popup-frame):
17827 Remove duplicate declarations. These are now in window.el.
17828
17829 2011-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
17830
17831 * mail/smtpmail.el (smtpmail-via-smtp):
17832 Set :use-starttls-if-possible so that we always use STARTTLS if the
17833 server supports it. SMTP servers that support STARTTLS commonly
17834 require it.
17835
17836 * net/network-stream.el (network-stream-open-starttls): Support
17837 upgrading to STARTTLS always, even if we don't have built-in support.
17838 (open-network-stream): Add the :always-query-capabilities keyword.
17839
17840 * mail/smtpmail.el: Rewritten to do opportunistic STARTTLS
17841 upgrades with `open-network-stream', and rely solely on
17842 auth-source for all credentials. Big changes throughout the file,
17843 but in particular:
17844 (smtpmail-auth-credentials): Remove.
17845 (smtpmail-starttls-credentials): Remove.
17846 (smtpmail-via-smtp): Check for servers saying they want AUTH after
17847 MAIL FROM, too.
17848
17849 * net/network-stream.el (network-stream-open-starttls):
17850 Provide support for client certificates both for external and built-in
17851 STARTTLS.
17852 (auth-source): Require.
17853 (open-network-stream): Document the :client-certificate keyword.
17854 (network-stream-certificate): Change cert-cert to cert and
17855 cert-key to key.
17856
17857 2011-06-21 Michael Albinus <michael.albinus@gmx.de>
17858
17859 * net/tramp-cache.el (top): Don't load the persistency file when
17860 "emacs -Q" has been called.
17861
17862 2011-06-21 Tim Harper <timcharper@gmail.com>
17863
17864 * term/ns-win.el (ns-initialize-window-system):
17865 Set application-specific `ApplePressAndHoldEnabled' system
17866 resource to NO as it is not yet supported by the NS port.
17867
17868 2011-06-21 Juanma Barranquero <lekktu@gmail.com>
17869
17870 * misc.el (list-dynamic-libraries--refresh): Compute header here...
17871 (list-dynamic-libraries): ...not here.
17872
17873 2011-06-21 Leo Liu <sdl.web@gmail.com>
17874
17875 * subr.el (sha1): Implement sha1 using secure-hash.
17876
17877 2011-06-21 Martin Rudalics <rudalics@gmx.at>
17878
17879 * window.el (display-buffer-alist): In default value do not
17880 enforce searching a window on any but the selected frame.
17881 Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
17882 (display-buffer-select-window): Remove function.
17883 (display-buffer-in-window): When a window on another frame gets
17884 reused, do not select it any more but just raise its frame if
17885 necessary (Bug#8851) and (Bug#8856).
17886 (display-buffer-normalize-options): Handle pop-up-frames related
17887 options more faithfully.
17888 (pop-to-buffer): Don't rely on `display-buffer' selecting the
17889 window if it is on another frame.
17890 (display-buffer-alist, display-buffer-default-specifiers):
17891 Don't make new frame unsplittable by default.
17892 (display-buffer-normalize-argument): Fix doc-string typo and use
17893 'same-frame-other-window instead of 'other-window when associating
17894 with display-buffer-macro-specifiers.
17895
17896 2011-06-21 Vincent Belaïche <vincent.b.1@hotmail.fr>
17897
17898 * play/5x5.el (5x5-solve-rotate-left, 5x5-solve-rotate-right):
17899 New functions.
17900 (5x5-mode-map, 5x5-mode-menu): Bind them.
17901 (5x5-draw-grid): Tweak the solver's rendering.
17902
17903 2011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
17904
17905 * progmodes/compile.el (compilation-error-regexp-alist-alist): Rename
17906 `caml' to `python-tracebacks-and-caml'; allow leading tabs (bug#8585).
17907
17908 2011-06-21 Drew Adams <drew.adams@oracle.com>
17909
17910 * menu-bar.el: Use function variable instead of switch-to-buffer.
17911 (menu-bar-select-buffer-function): New variable.
17912 (menu-bar-update-buffers): Use it (bug#8876).
17913
17914 2011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
17915
17916 * emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
17917 variable's status.
17918
17919 2011-06-20 Jan Djärv <jan.h.d@swipnet.se>
17920
17921 * x-dnd.el (x-dnd-version-from-flags)
17922 (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
17923 and long as number (Bug#8899).
17924 (x-dnd-handle-xdnd): Call functions above (Bug#8899).
17925
17926 2011-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
17927
17928 * minibuffer.el (completion-metadata): Add `metadata' to the alist.
17929 (completion-try-completion, completion-all-completions): Compute the
17930 metadata argument if it's missing; make it optional (bug#8795).
17931
17932 * wid-edit.el: Use lex-bind and move towards completion-at-point.
17933 (widget-complete): Use new :completion-function property.
17934 (widget-completions-at-point): New function.
17935 (default): Use :completion-function instead of :complete.
17936 (widget-default-completions): Rename from widget-default-complete;
17937 Rewrite.
17938 (widget-string-complete, widget-file-complete, widget-color-complete):
17939 Remove functions.
17940 (file, symbol, function, variable, coding-system, color):
17941 * international/mule-cmds.el (default-input-method, charset)
17942 (language-info-custom-alist):
17943 * cus-edit.el (face): Use new property :completions.
17944
17945 * progmodes/pascal.el (pascal-completions-at-point): New function.
17946 (pascal-mode): Use it.
17947 (pascal-mode-map): Use completion-at-point.
17948 (pascal-toggle-completions): Make obsolete.
17949 (pascal-complete-word, pascal-show-completions):
17950 * progmodes/octave-mod.el (octave-complete-symbol):
17951 Redefine as obsolete alias.
17952 * progmodes/octave-inf.el (inferior-octave-completion-at-point):
17953 Signal absence of completion info for old Octave,
17954 (inferior-octave-complete): Redefine as obsolete alias.
17955 * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
17956 (meta-completions-at-point): Rename from meta-complete-symbol and
17957 adapt it for use on completion-at-point-functions.
17958 (meta-common-mode): Use it.
17959 (meta-looking-at-backward, meta-match-buffer): Remove.
17960 (meta-complete-symbol): Redefine as obsolete alias.
17961 (meta-common-mode-map): Use completion-at-point.
17962 * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
17963 (makefile-mode-map): Use completion-at-point.
17964 (makefile-completions-at-point): Rename from makefile-complete and
17965 adapt it for use on completion-at-point-functions.
17966 (makefile-mode): Use it.
17967 (makefile-complete): Redefine as obsolete alias.
17968
17969 2011-06-20 Deniz Dogan <deniz@dogan.se>
17970
17971 * net/rcirc.el: Delete trailing whitespaces once and for all.
17972
17973 2011-06-20 Daniel Colascione <dan.colascione@gmail.com>
17974
17975 * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
17976
17977 2011-06-19 Chong Yidong <cyd@stupidchicken.com>
17978
17979 * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
17980
17981 * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
17982
17983 2011-06-19 Martin Rudalics <rudalics@gmx.at>
17984
17985 * window.el (display-buffer-other-window-means-other-frame):
17986 Call display-buffer-normalize-alist.
17987 (display-buffer-normalize-specifiers-1): Rename to
17988 display-buffer-normalize-argument. New argument other-frame.
17989 Rewrite.
17990 (display-buffer-normalize-specifiers-2): Rename to
17991 display-buffer-normalize-options.
17992 (display-buffer-normalize-alist-1): New function.
17993 (display-buffer-normalize-specifiers-3): Rename to
17994 display-buffer-normalize-alist.
17995 Call display-buffer-normalize-alist-1.
17996 (display-buffer-normalize-options-inhibit): New variable.
17997 (display-buffer-normalize-specifiers): Rewrite calling
17998 display-buffer-normalize-alist,
17999 display-buffer-normalize-argument, and
18000 display-buffer-normalize-options. Don't call the latter if
18001 display-buffer-normalize-options-inhibit is non-nil.
18002 (frame-auto-delete): New option.
18003 (window-deletable-p): Use frame-auto-delete.
18004 (window-list-no-nils, window-state-ignored-parameters)
18005 (window-state-get-1, window-state-get, window-state-put-list)
18006 (window-state-put-1, window-state-put-2, window-state-put):
18007 New functions.
18008 (display-buffer-normalize-options): Move special-display-p group
18009 after pop-up-frame group (Bug#8851) and (Bug#8856).
18010
18011 2011-06-18 Chong Yidong <cyd@stupidchicken.com>
18012
18013 * emacs-lisp/rx.el (rx-constituents): Add support for numbered
18014 groups (Bug#8776).
18015 (rx-submatch-n): New function.
18016 (rx): Document it.
18017
18018 * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
18019 (Bug#8768).
18020
18021 * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
18022
18023 * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
18024
18025 * cus-face.el (custom-declare-face): Call custom-theme-recalc face
18026 anytime existing face settings are present (Bug#8889).
18027
18028 * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
18029 (delphi-mode): Use define-derived-mode to inherit from prog-mode.
18030 Remove unused argument.
18031
18032 2011-06-18 Martin Rudalics <rudalics@gmx.at>
18033
18034 * window.el (display-buffer-default-specifiers):
18035 Remove pop-up-frame. Add pop-up-window-min-height,
18036 pop-up-window-min-width, and another reuse-window specifier
18037 (Bug#8882). Reported by Dan Nicolaescu <dann@gnu.org>.
18038 (display-buffer-normalize-specifiers-2):
18039 Handle split-height-threshold and split-width-threshold also when
18040 pop-up-windows is unset. Add a reuse-window specifier for the
18041 case popping up a new window fails.
18042 (special-display-popup-frame): Remove double quoting.
18043 (display-buffer-normalize-specifiers-1): Fix thinko.
18044
18045 2011-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
18046
18047 * shell.el (shell-completion-vars): Set pcomplete-termination-string
18048 according to comint-completion-addsuffix.
18049
18050 * pcomplete.el: Convert to lexical binding and fix bug#8819.
18051 (pcomplete-suffix-list): Mark as obsolete.
18052 (pcomplete-completions-at-point): Capture pcomplete-norm-func and
18053 pcomplete-seen in the closure.
18054 (pcomplete-comint-setup): Setup completion-at-point as well.
18055 (pcomplete--entries): New function.
18056 (pcomplete--env-regexp): New var.
18057 (pcomplete-entries): Rewrite to work with partial-completion and
18058 without relying on pcomplete-suffix-list.
18059 (pcomplete-pare-list): Remove, unused.
18060
18061 2011-06-17 Martin Rudalics <rudalics@gmx.at>
18062
18063 * window.el (display-buffer-alist): Set pop-up-window-min-height
18064 and pop-up-window-min-width in default value. Reported by
18065 Thierry Volpiatto <thierry.volpiatto@gmail.com>. New specifier
18066 other-window-means-other-frame.
18067 (display-buffer-macro-specifiers): Comment out entry for
18068 other-window specifier.
18069 (display-buffer-other-window-means-other-frame): New function.
18070 (display-buffer-normalize-specifiers-1): New arguments
18071 buffer-name and label. Treat other-window case specially.
18072 (display-buffer-normalize-specifiers-2): Treat other-window case
18073 specially.
18074 (display-buffer-normalize-specifiers-3): New function.
18075 (display-buffer-normalize-specifiers):
18076 Call display-buffer-normalize-specifiers-3.
18077
18078 2011-06-17 Martin Rudalics <rudalics@gmx.at>
18079
18080 * window.el (same-window-p): Fix two typos introduced when
18081 adding with-no-warnings.
18082 (display-buffer-normalize-specifiers-1): Don't check
18083 pop-up-frames for 'unset initialization.
18084 (display-buffer-normalize-specifiers-2): Major rewrite using
18085 special-display-p and same-window-p (Bug#8851) and (Bug#8856).
18086 (pop-up-frames, display-buffer-reuse-frames)
18087 (display-buffer-mark-dedicated): Don't initialize to 'unset.
18088 Suggested by David Engster <deng@randomsample.de>.
18089 (even-window-heights): Initialize to 'unset.
18090 (display-buffer-alist-set): Handle new 'unset initializations.
18091 (display-buffer-macro-specifiers): Don't pop up a new frame in the
18092 other window case.
18093
18094 2011-06-16 Martin Rudalics <rudalics@gmx.at>
18095
18096 * window.el (display-buffer-normalize-specifiers-1):
18097 Respect current value of pop-up-frames for most reasonable values of
18098 second argument of display-buffer (Bug#8865).
18099 (switch-to-buffer-same-frame, switch-to-buffer-other-window)
18100 (switch-to-buffer-other-window-same-frame)
18101 (switch-to-buffer-other-frame): Fix doc-strings. Reported by Drew
18102 Adams (Bug#8875).
18103 (display-buffer): Don't check noninteractive when calling
18104 display-buffer-pop-up-frame.
18105 (display-buffer-pop-up-frame): Never pop up a frame in
18106 noninteractive mode (Bug#8857).
18107 (enlarge-window, shrink-window): Don't report an error when the
18108 window can't be resized as requested (Bug#8862).
18109
18110 2011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
18111
18112 * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
18113
18114 * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
18115
18116 * abbrev.el (define-abbrev-table): Don't add a table multiple times.
18117
18118 2011-06-15 Alan Mackenzie <acm@muc.de>
18119
18120 * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
18121 for declarators, disable knr checking to speed up for normal files.
18122 2: Refactor, replacing a sequence of nested if forms by a cond form.
18123
18124 2011-06-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
18125
18126 * net/network-stream.el (open-network-stream): Add the keyword
18127 :always-query-capabilities for the case where you want to force a
18128 `plain' network connection, but the protocol still requires the
18129 capabilitiy command (i.e., SMTP and EHLO).
18130
18131 * subr.el (process-live-p): Rename from `process-alive-p' for
18132 consistency with other `-live-p' functions.
18133
18134 2011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
18135
18136 * window.el (same-window-buffer-names, same-window-regexps)
18137 (special-display-frame-alist, special-display-popup-frame)
18138 (special-display-function, special-display-buffer-names)
18139 (special-display-regexps, pop-up-frame-alist)
18140 (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
18141 (pop-up-windows, split-window-preferred-function)
18142 (split-height-threshold, split-width-threshold, even-window-heights)
18143 (display-buffer-mark-dedicated): Don't encourage the use of
18144 display-buffer-alist from Elisp code.
18145
18146 2011-06-15 Dan Nicolaescu <dann@ics.uci.edu>
18147
18148 * progmodes/python.el (python-mode): Derive from prog-mode.
18149 * progmodes/ps-mode.el (ps-mode):
18150 * progmodes/mixal-mode.el (mixal-mode):
18151 * progmodes/cfengine.el (cfengine-mode):
18152 * progmodes/ld-script.el (ld-script-mode): Likewise.
18153
18154 2011-06-15 Martin Rudalics <rudalics@gmx.at>
18155
18156 * window.el (display-buffer-alist): Trim default value to avoid
18157 popping up a new frame (Bug#8857) or reusing an arbitrary window
18158 on another frame.
18159 (display-buffer): Do not fall back on popping up a new frame in
18160 batch mode (Bug#8857).
18161
18162 2011-06-14 Chong Yidong <cyd@stupidchicken.com>
18163
18164 * cus-theme.el (describe-theme-1): Use custom-theme-p.
18165 (custom-theme-summary): New function.
18166 (customize-themes): Use it.
18167
18168 2011-06-13 Glenn Morris <rgm@gnu.org>
18169
18170 * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
18171
18172 2011-06-13 Martin Rudalics <rudalics@gmx.at>
18173
18174 * help.el (help-window): Remove variable.
18175 (help-window-point-marker, temp-buffer-max-height)
18176 (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
18177 (help-print-return-message): Don't set help-window.
18178 (resize-temp-buffer-window): Rewrite cod eand doc-string.
18179 (help-window-setup-finish): Remove.
18180 (help-window-display-message, help-window-setup)
18181 (with-help-window): Major rewrite based on new
18182 display-buffer-window variable.
18183
18184 * help-mode.el (help-mode-finish): Remove help-window related
18185 code.
18186
18187 * view.el (view-exits-all-viewing-windows): Remove reference to
18188 view-return-to-alist in doc-string.
18189 (view-return-to-alist): Make obsolete.
18190 (view-buffer): Call pop-to-buffer-same-window and remove
18191 undo-window code.
18192 (view-buffer-other-window): Call pop-to-buffer-other-window and
18193 simplify code. Ignore second argument.
18194 (view-buffer-other-frame): Call pop-to-buffer-other-frame and
18195 simplify code. Ignore second argument.
18196 (view-return-to-alist-update): Make obsolete.
18197 (view-mode-enter): Rename second argument to QUIT-RESTORE.
18198 Rewrite using quit-restore window parameters.
18199 (view-mode-exit): Rename second argument to EXIT-ONLY.
18200 Rewrite using quit-restore-window.
18201 (View-exit, View-exit-and-edit, View-leave, View-quit)
18202 (View-quit-all, View-kill-and-leave): Call view-mode-exit with
18203 appropriate arguments.
18204 (view-end-message): Use quit-restore window parameter.
18205
18206 * window.el (display-buffer-function): Rewrite doc-string.
18207 (display-buffer-window, display-buffer-alist): New variables.
18208 (display-buffer-split-specifiers)
18209 (display-buffer-side-specifiers)
18210 (display-buffer-macro-specifiers): New constants.
18211 (display-buffer-even-window-sizes, display-buffer-set-height)
18212 (display-buffer-set-width, display-buffer-select-window)
18213 (display-buffer-in-window, display-buffer-reuse-window)
18214 (display-buffer-split-window-1, display-buffer-split-window)
18215 (display-buffer-split-atom-window, display-buffer-pop-up-window)
18216 (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
18217 (display-buffer-in-side-window, normalize-buffer-to-display)
18218 (display-buffer-normalize-specifiers-1)
18219 (display-buffer-normalize-specifiers-2)
18220 (display-buffer-normalize-specifiers, display-buffer-frame):
18221 New functions.
18222 (display-buffer): Major rewrite.
18223 (display-buffer-other-window, display-buffer-other-frame)
18224 (pop-to-buffer, switch-to-buffer-other-window)
18225 (switch-to-buffer-other-frame): Rewrite.
18226 (display-buffer-same-window, display-buffer-same-frame)
18227 (display-buffer-same-frame-other-window)
18228 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
18229 (pop-to-buffer-other-window)
18230 (pop-to-buffer-same-frame-other-window)
18231 (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
18232 (switch-to-buffer-other-window-same-frame): New functions.
18233 (same-window-p, special-display-p): Rewrite disabling warnings.
18234 Make obsolete.
18235 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
18236 (display-buffer-mark-dedicated): Initialize to symbol 'unset.
18237 Make obsolete
18238 (same-window-buffer-names, same-window-regexps)
18239 (special-display-frame-alist, special-display-popup-frame)
18240 (special-display-function, special-display-buffer-names)
18241 (special-display-regexps, pop-up-frame-alist)
18242 (pop-up-frame-function, split-window-preferred-function)
18243 (split-height-threshold, split-width-threshold)
18244 (even-window-heights): Make obsolete.
18245
18246 2011-06-12 Glenn Morris <rgm@gnu.org>
18247
18248 * term/xterm.el (terminal-init-xterm): `version' may be nil. (Bug#8838)
18249 Misc simplifications.
18250
18251 2011-06-12 Martin Rudalics <rudalics@gmx.at>
18252
18253 * window.el (window-safely-shrinkable-p): Restore function which
18254 was inadvertently removed in change from 2011-06-11. Declare as
18255 obsolete.
18256
18257 * calendar/calendar.el (calendar-generate-window):
18258 Use window-iso-combined-p instead of combination of one-window-p and
18259 window-safely-shrinkable-p.
18260
18261 2011-06-12 Glenn Morris <rgm@gnu.org>
18262
18263 * progmodes/fortran.el (fortran-mode-syntax-table):
18264 * progmodes/f90.el (f90-mode-syntax-table):
18265 Set % to punctuation. (Bug#8820)
18266 (f90-find-tag-default): Remove, no longer needed.
18267
18268 2011-06-12 Daniel Colascione <dan.colascione@gmail.com>
18269
18270 * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
18271
18272 2011-06-11 Chong Yidong <cyd@stupidchicken.com>
18273
18274 * image.el (image-animated-p): Return animation delay in seconds.
18275 Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
18276 (image-animate-timeout): Remove DELAY argument. Don't assume
18277 every subimage has the same delay; get it from image-animated-p.
18278 (image-animate): Caller changed.
18279
18280 2011-06-11 Michael Albinus <michael.albinus@gmx.de>
18281
18282 * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
18283 to ignored backtrace functions.
18284
18285 2011-06-11 Glenn Morris <rgm@gnu.org>
18286
18287 * calendar/appt.el (appt-disp-window-function): Doc fix.
18288 (appt-check): Handle overlapping appointments. (Bug#8337)
18289
18290 2011-06-11 Martin Rudalics <rudalics@gmx.at>
18291
18292 * window.el (window-tree-1, window-tree): New functions, moving
18293 the latter to window.el.
18294 (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
18295 (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
18296 (bw-refresh-edges): Remove.
18297 (balance-windows-1, balance-windows-2): New functions.
18298 (balance-windows): Rewrite in terms of window tree functions,
18299 balance-windows-1 and balance-windows-2.
18300 (bw-adjust-window): Remove.
18301 (balance-windows-area-adjust): New function with functionality of
18302 bw-adjust-window but using resize-window.
18303 (set-window-text-height): Rewrite doc-string.
18304 Use normalize-live-window and resize-window.
18305 (enlarge-window-horizontally, shrink-window-horizontally):
18306 Rename argument to DELTA.
18307 (window-buffer-height): New function.
18308 (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
18309 Rewrite using new window resize routines.
18310 (kill-buffer-and-window, mouse-autoselect-window-select):
18311 Use ignore-errors instead of condition-case.
18312 (quit-window): Call delete-frame instead of delete-windows-on
18313 for the only buffer on frame.
18314
18315 2011-06-10 Martin Rudalics <rudalics@gmx.at>
18316
18317 * loadup.el (top-level): Load window before files for the sake
18318 of replace-buffer-in-windows.
18319
18320 * files.el (read-buffer-to-switch)
18321 (switch-to-buffer-other-window)
18322 (switch-to-buffer-other-frame, display-buffer-other-frame):
18323 Move to window.el.
18324
18325 * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
18326 (previous-buffer): Move to window.el.
18327
18328 * bindings.el (unbury-buffer): Move to window.el.
18329
18330 * window.el (delete-other-windows-vertically): Move after
18331 definition of delete-other-windows.
18332 (other-window, delete-windows-on, replace-buffer-in-windows):
18333 Move here from window.c.
18334 (record-window-buffer, unrecord-window-buffer)
18335 (set-window-buffer-start-and-point, switch-to-prev-buffer)
18336 (switch-to-next-buffer): New functions.
18337 (get-next-valid-buffer, last-buffer, next-buffer): Move here
18338 from simple.el. Call switch-to-next-buffer.
18339 (previous-buffer): Move here from simple.el.
18340 Call switch-to-prev-buffer.
18341 (bury-buffer): Move here from buffer.c. Switch to previous
18342 buffer when window cannot be deleted.
18343 (unbury-buffer): Move here from bindings.el.
18344 (ctl-x-map): Move binding for other-window from window.c to
18345 here.
18346 (read-buffer-to-switch, switch-to-buffer-other-window)
18347 (switch-to-buffer-other-frame): Move here from files.el.
18348 (normalize-buffer-to-switch-to): New functions.
18349 (switch-to-buffer): Move here from buffer.c.
18350 Use read-buffer-to-switch and normalize-buffer-to-switch-to.
18351
18352 2011-06-10 Martin Rudalics <rudalics@gmx.at>
18353
18354 * window.el (window-min-height, window-min-width): Move here
18355 from window.c. Add defcustoms and rewrite doc-strings.
18356 (resize-mini-window, resize-window): New functions.
18357 (adjust-window-trailing-edge, enlarge-window, shrink-window):
18358 Move here from window.c.
18359 (maximize-window, minimize-window): New functions.
18360 (delete-window, delete-other-windows, split-window): Move here
18361 from window.c.
18362 (window-split-min-size): New function.
18363 (split-window-keep-point): Mention split-window-above-each-other
18364 instead of split-window-vertically.
18365 (split-window-above-each-other, split-window-vertically):
18366 Rename split-window-vertically to split-window-above-each-other
18367 and provide defalias for old definition.
18368 (split-window-side-by-side, split-window-horizontally):
18369 Rename split-window-horizontally to split-window-side-by-side
18370 and provide defalias for the old definition.
18371 (ctl-x-map): Move bindings for delete-window,
18372 delete-other-windows and enlarge-window here from window.c.
18373 Replace bindings for split-window-vertically and
18374 split-window-horizontally by bindings for
18375 split-window-above-each-other and split-window-side-by-side.
18376
18377 * cus-start.el (all): Remove entries for window-min-height and
18378 window-min-width. Add entries for window-splits and
18379 window-nest.
18380
18381 2011-06-09 Glenn Morris <rgm@gnu.org>
18382
18383 * calendar/appt.el (appt-mode-line): New function.
18384 (appt-check, appt-disp-window): Use it.
18385
18386 * files.el (hack-one-local-variable-eval-safep):
18387 Allow minor-modes with explicit +/-1 arguments.
18388
18389 2011-06-09 Teodor Zlatanov <tzz@lifelogs.com>
18390
18391 * term/xterm.el (xterm): Add defgroup.
18392 (xterm-extra-capabilities): Add defcustom to supply known xterm
18393 capabilities, skip querying them, or query them (default).
18394 (terminal-init-xterm): Use it.
18395 (terminal-init-xterm-modify-other-keys): New function to set up
18396 modifyOtherKeys support to simplify `terminal-init-xterm'.
18397
18398 2011-06-09 Martin Rudalics <rudalics@gmx.at>
18399
18400 * window.el (resize-window-reset, resize-window-reset-1)
18401 (resize-subwindows-skip-p, resize-subwindows-normal)
18402 (resize-subwindows, resize-other-windows, resize-this-window)
18403 (resize-root-window, resize-root-window-vertically)
18404 (window-deletable-p, window-or-subwindow-p)
18405 (frame-root-window-p): New functions.
18406
18407 2011-06-09 Glenn Morris <rgm@gnu.org>
18408
18409 * net/ange-ftp.el (ange-ftp-switches-ok): New function.
18410 (ange-ftp-get-files): Use it.
18411
18412 2011-06-09 Alexander Klimov <alserkli@inbox.ru> (tiny change)
18413
18414 * mail/sendmail.el (mail-recover-1, mail-recover):
18415 * files.el (recover-file, recover-session):
18416 Handle dired-listing-switches not being just a single short option.
18417
18418 2011-06-09 Glenn Morris <rgm@gnu.org>
18419
18420 * calendar/appt.el (appt-display-message, appt-disp-window):
18421 Handle lists of appointments.
18422
18423 2011-06-08 Martin Rudalics <rudalics@gmx.at>
18424
18425 * window.el (one-window-p): Move down in code.
18426 Rewrite doc-string.
18427 (window-current-scroll-bars): Rewrite doc-string.
18428 Normalize live window argument.
18429 (walk-windows, get-window-with-predicate, count-windows):
18430 Rewrite doc-string. Use window-list-1.
18431 (window-in-direction-2, window-in-direction, get-mru-window):
18432 New functions.
18433
18434 2011-06-08 Reuben Thomas <rrt@sc3d.org>
18435
18436 * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
18437 Doc fix (Bug#8713).
18438
18439 2011-06-08 Chong Yidong <cyd@stupidchicken.com>
18440
18441 * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
18442
18443 2011-06-08 Juanma Barranquero <lekktu@gmail.com>
18444
18445 * loadhist.el (unload-feature-special-hooks):
18446 Add `comint-output-filter-functions'.
18447
18448 2011-06-08 Ivan Kanis <gnu@kanis.fr>
18449
18450 * calendar/appt.el (appt-check): Move some initializations into the let.
18451
18452 2011-06-08 Martin Rudalics <rudalics@gmx.at>
18453
18454 * window.el (window-height): Defalias to window-total-height.
18455 (window-width): Defalias to window-body-width.
18456
18457 2011-06-07 Chong Yidong <cyd@stupidchicken.com>
18458
18459 * image-mode.el (image-toggle-animation): New command.
18460 (image-mode-map): Bind it to RET.
18461 (image-mode): Update message.
18462 (image-toggle-display-image): Avoid a spurious cache flush.
18463 (image-transform-rotation): Doc fix.
18464 (image-transform-properties): Return quickly in the normal case.
18465 (image-animate-loop): Rename from image-animate-max-time.
18466
18467 * image.el (image-animate-max-time): Move to image-mode.el.
18468 (create-animated-image): Remove unnecessary function.
18469 (image-animate): Rename from image-animate-start. New arg.
18470 (image-animate-stop): Remove; just use image-animate-timer.
18471 (image-animate-timer): Use car-safe.
18472 (image-animate-timeout): Rename argument.
18473
18474 2011-06-07 Martin Rudalics <rudalics@gmx.at>
18475
18476 * window.el (get-lru-window, get-largest-window): Move here from
18477 window.c. Rename first argument to ALL-FRAMES.
18478 Rephrase doc-strings.
18479 (get-buffer-window-list): Rewrite using window-list-1.
18480 Rephrase doc-string.
18481 (window-safe-min-height, window-safe-min-width): New constants.
18482 (window-size-ignore, window-min-size, window-min-size-1)
18483 (window-sizable, window-sizable-p, window-size-fixed-1)
18484 (window-size-fixed-p, window-min-delta-1, window-min-delta)
18485 (window-max-delta-1, window-max-delta, window-resizable)
18486 (window-resizable-p, window-total-height, window-total-width)
18487 (window-body-width): New functions.
18488 (window-full-height-p, window-full-width-p): Rewrite using
18489 window-total-size.
18490 (window-body-height): Rewrite using window-body-size.
18491
18492 2011-06-06 Martin Rudalics <rudalics@gmx.at>
18493
18494 * window.el (window-right, window-left, window-child)
18495 (window-child-count, window-last-child, window-any-p)
18496 (normalize-live-buffer, normalize-live-frame)
18497 (normalize-any-window, normalize-live-window)
18498 (window-iso-combination-p, window-iso-combined-p)
18499 (window-iso-combinations)
18500 (walk-window-tree-1, walk-window-tree, walk-window-subtree)
18501 (windows-with-parameter, window-with-parameter)
18502 (window-atom-root, make-window-atom, window-atom-check-1)
18503 (window-atom-check, window-side-check, window-check):
18504 New functions.
18505 (ignore-window-parameters, window-sides, window-sides-vertical)
18506 (window-sides-slots): New variables.
18507 (window-size-fixed): Move down in code. Minor doc-string fix.
18508
18509 2011-06-05 Andreas Schwab <schwab@linux-m68k.org>
18510
18511 * comint.el (comint-dynamic-complete-as-filename)
18512 (comint-dynamic-complete-filename): Correctly call
18513 completion-in-region.
18514
18515 2011-06-05 Deniz Dogan <deniz@dogan.se>
18516
18517 * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
18518 in last change.
18519
18520 2011-06-05 Deniz Dogan <deniz@dogan.se>
18521
18522 * net/rcirc.el (rcirc-prompt-for-encryption): New function.
18523 (rcirc): Use it to prompt for encryption.
18524
18525 2011-06-05 Roland Winkler <winkler@gnu.org>
18526
18527 * textmodes/bibtex.el (bibtex-search-buffer): New variable.
18528 (bibtex-search-entries): New command bound to C-c C-a.
18529 (bibtex-display-entries): New function.
18530
18531 2011-06-05 Roland Winkler <winkler@gnu.org>
18532
18533 * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
18534 (bibtex-insert-kill): After yanking insert newline if necessary.
18535 (bibtex-initialize): Call bibtex-string-files-init only once.
18536 (bibtex-mode): Do not call easy-menu-add.
18537 (bibtex-validate-globally): Use save-excursion in bibtex buffers.
18538 (bibtex-yank): Set arg properly if nil.
18539
18540 2011-06-05 Roland Winkler <winkler@gnu.org>
18541
18542 * textmodes/bibtex.el (bibtex-search-entry-globally):
18543 New variable.
18544 (bibtex-search-entry): Use it.
18545
18546 2011-06-05 Roland Winkler <winkler@gnu.org>
18547
18548 * textmodes/bibtex.el (bibtex-entry-format): New option
18549 sort-fields.
18550 (bibtex-format-entry, bibtex-reformat): Honor this option.
18551 (bibtex-parse-entry): Return fields in proper order.
18552
18553 2011-06-05 Juanma Barranquero <lekktu@gmail.com>
18554
18555 * doc-view.el (doc-view-remove-if): Move computation of result out
18556 of `dolist' to silence misleading lexical-binding warning.
18557
18558 2011-06-04 Chong Yidong <cyd@stupidchicken.com>
18559
18560 * emacs-lisp/timer.el (timer-activate): Remove unused arg.
18561 (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
18562
18563 2011-06-04 Michael Albinus <michael.albinus@gmx.de>
18564
18565 * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
18566 "SunOS 5.10".
18567
18568 2011-06-04 Michael Albinus <michael.albinus@gmx.de>
18569
18570 * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
18571 (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
18572 (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
18573 (tramp-parse-putty):
18574 * net/tramp-sh.el (tramp-completion-function-alist-rsh)
18575 (tramp-completion-function-alist-ssh)
18576 (tramp-completion-function-alist-telnet)
18577 (tramp-completion-function-alist-su)
18578 (tramp-completion-function-alist-putty): Set `tramp-autoload'
18579 cookie.
18580
18581 * net/tramp-ftp.el:
18582 * net/tramp-sh.el:
18583 * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
18584 load "tramp.el" `tramp-set-completion-function'.
18585
18586 2011-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
18587
18588 * shell.el: Require and use pcomplete.
18589 (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
18590 (shell-completion-vars): Set pcomplete-default-completion-function.
18591
18592 2011-06-04 Deniz Dogan <deniz@dogan.se>
18593
18594 * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
18595 `memq' (Bug#8799).
18596
18597 2011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
18598
18599 * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
18600
18601 2011-06-02 Juanma Barranquero <lekktu@gmail.com>
18602
18603 * bs.el (bs--mark-unmark, bs--nth-wrapper):
18604 * mpc.el (mpc-select-extend, mpc-songpointer-context):
18605 * vc/log-view.el (log-view-beginning-of-defun):
18606 * vc/smerge-mode.el (smerge-apply-resolution-patch)
18607 (smerge-refine-forward, smerge-refine-chopup-region):
18608 Silence warning for unused `dotimes' counter variables.
18609
18610 2011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
18611
18612 * net/tramp.el (tramp-with-progress-reporter): Rename from
18613 with-progress-reporter. Use `declare'.
18614 * net/tramp-smb.el:
18615 * net/tramp-sh.el:
18616 * net/tramp-gvfs.el: Update all uses.
18617
18618 2011-06-02 Jay Belanger <jay.p.belanger@gmail.com>
18619
18620 * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
18621 buffer isn't killed before making it current.
18622
18623 2011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
18624
18625 Silence various byte-compiler warnings.
18626 * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
18627 `access-type' and new obsolescence format.
18628 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
18629 new format.
18630 (byte-compile-check-variable): New `access-type' argument.
18631 Only warn if the access-type is obsolete.
18632 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
18633 (byte-compile-variable-set): Adjust callers.
18634 * help-fns.el (describe-variable): Adjust to new obsolescence format.
18635 * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
18636 setting it as obsolete.
18637 * simple.el (minibuffer-completing-symbol):
18638 * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
18639 access as obsolete.
18640 * minibuffer.el (minibuffer-completing-file-name): Don't make it
18641 obsolete yet.
18642 * international/quail.el (quail-mouse-choose-completion): Remove unused
18643 code referring to obsolete var.
18644 (quail-choose-completion-string): Remove.
18645 * server.el (server-clients-with, server-kill-buffer-query-function)
18646 (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
18647 * proced.el (proced-send-signal):
18648 * emacs-lisp/lisp.el (lisp-complete-symbol):
18649 Replace completion-annotate-function with completion-extra-properties.
18650
18651 2011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
18652
18653 * simple.el (goto-line): Use read-number.
18654 (overriding-map-is-bound): Remove.
18655 (saved-overriding-map): Change default.
18656 (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
18657 Take the map as argument.
18658 (universal-argument, negative-argument, digit-argument): Use it.
18659 (restore-overriding-map): Adjust.
18660 (do-auto-fill): Use fill-forward-paragraph.
18661 (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
18662
18663 * minibuffer.el (minibuffer-inactive-mode-map): New var.
18664 (minibuffer-inactive-mode): New major mode.
18665 * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
18666 the *Messages* buffer" hack.
18667 (mouse-popup-menubar): Don't burp if the event is a normal key.
18668
18669 Miscellaneous tweaks.
18670 * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
18671 lexical scoping as in subr.el's dolist and dotimes.
18672 * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
18673 Silence compiler warning.
18674 * thingatpt.el (forward-whitespace): Trivial coding style fix.
18675 * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
18676 * international/ccl.el (ccl-compile): Trivial simplification.
18677 * help-fns.el (help-do-arg-highlight): Silence compiler warning.
18678 * emacs-lisp/testcover.el (testcover-end): Remove spurious
18679 `printflag' argument.
18680 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
18681 Purecopy the whole obsolescence data.
18682
18683 2011-06-01 Leo Liu <sdl.web@gmail.com>
18684
18685 * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
18686 improve doc-string as suggested by Marco Pessotto
18687 <melmothx@gmail.com>.
18688 (rcirc-print): Fix last change.
18689
18690 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
18691
18692 * minibuffer.el (complete-with-action): Return nil for the metadata and
18693 boundaries of non-functional tables.
18694 (completion-table-dynamic): Return nil for the metadata.
18695 (completion-table-with-terminator): Add default case, using
18696 complete-with-action.
18697 (completion--metadata): New function.
18698 (completion-all-sorted-completions, minibuffer-completion-help): Use it
18699 to try and avoid pathological performance problems.
18700 (completion--embedded-envvar-table): Return `category' metadata.
18701
18702 2011-05-31 Lars Magne Ingebrigtsen <larsi@gnus.org>
18703
18704 * subr.el (process-alive-p): New tiny convenience function.
18705
18706 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
18707
18708 * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
18709 content but also its previous major mode.
18710
18711 2011-05-31 Helmut Eller <eller.helmut@gmail.com>
18712
18713 * emacs-lisp/debug.el (debug): Restore the previous content of the
18714 *Backtrace* buffer when we exit with C-M-c.
18715
18716 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
18717
18718 * minibuffer.el: Add metadata method to completion tables.
18719 (completion-category-overrides): New defcustom.
18720 (completion-metadata, completion--field-metadata)
18721 (completion-metadata-get, completion--styles)
18722 (completion--cycle-threshold): New functions.
18723 (completion-try-completion, completion-all-completions):
18724 Add `metadata' argument to choose completion-styles.
18725 (completion--do-completion): Use metadata to choose cycling.
18726 (completion-all-sorted-completions): Use metadata for sorting.
18727 Remove :completion-cycle-penalty which is not needed any more.
18728 (completion--try-word-completion): Add `metadata' argument.
18729 (minibuffer-completion-help): Check metadata for annotation function
18730 and sorting.
18731 (completion-file-name-table): Return `category' metadata.
18732 (minibuffer-completing-file-name): Make obsolete.
18733 * simple.el (minibuffer-completing-symbol): Make obsolete.
18734 * icomplete.el (icomplete-completions): Pass new `metadata' param to
18735 completion-try-completion.
18736
18737 2011-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
18738
18739 * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
18740
18741 2011-05-30 Leo Liu <sdl.web@gmail.com>
18742
18743 * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
18744 (rcirc-print): Decode all incoming messages (bug#8744).
18745 (rcirc-decode-coding-system): Allow value nil for automatic coding
18746 system detection.
18747
18748 2011-06-01 Glenn Morris <rgm@gnu.org>
18749
18750 * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
18751
18752 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
18753
18754 * image.el (image-animate-max-time): Allow nil and t values.
18755 Default to nil.
18756 (create-animated-image): Doc fix.
18757 (image-animate-start): Remove second arg; just use
18758 image-animate-max-time.
18759 (image-animate-timeout): Doc fix. Args changed.
18760
18761 * image-mode.el (image-toggle-display-image): Ensure that the
18762 image spec passed to the animate timer is the same object as in
18763 the buffer's display property (Bug#6981).
18764 (image-transform-properties): Doc fix.
18765
18766 * image.el (image-animate-max-time): Default to nil.
18767
18768 2011-05-29 Martin Rudalics <rudalics@gmx.at>
18769
18770 * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
18771 entire buffer list (Bug#8184).
18772
18773 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
18774
18775 * image.el (imagemagick-types-inhibit)
18776 (imagemagick-register-types): Doc fix.
18777
18778 2011-05-29 Deniz Dogan <deniz@dogan.se>
18779
18780 * net/rcirc.el (rcirc): Use the user's stored encryption method by
18781 default.
18782
18783 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
18784
18785 * select.el: Don't perform clipboard-manager saving in hooks;
18786 leave the hooks empty.
18787
18788 2011-05-28 Leo Liu <sdl.web@gmail.com>
18789
18790 * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
18791 (occur-mode-map): Bind occur-edit-mode. Use occur-menu-map.
18792 (occur-edit-mode): New major mode (Bug#8463).
18793 (occur-after-change-function): New function.
18794 (occur-engine): Give Occur tags a read-only property.
18795
18796 2011-05-28 Kevin Ryde <user42@zip.com.au>
18797
18798 * subr.el (def-edebug-spec): Doc fix (Bug#8430).
18799
18800 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
18801
18802 * bindings.el (help-echo): Make the initial non-indicator dash
18803 empty on graphical terminals (Bug#7295).
18804
18805 * files.el (auto-mode-alist): Move config rule after the
18806 in-stripping one (Bug#8547).
18807
18808 * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
18809
18810 * startup.el (normal-splash-screen): Remove gratuitous mode-line
18811 setting (Bug#8740).
18812
18813 2011-05-28 Alp Aker <aker@pitt.edu> (tiny change)
18814
18815 * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
18816 (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
18817 (Bug#8539).
18818
18819 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
18820
18821 * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
18822
18823 2011-05-28 Dima Kogan <dkogan@cds.caltech.edu> (tiny change)
18824
18825 * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
18826 (hs-hide-block-at-point, hs-find-block-beginning)
18827 (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
18828 (Bug#8279).
18829
18830 2011-05-28 Glenn Morris <rgm@gnu.org>
18831
18832 * startup.el (fancy-about-screen): Use standard mode line. (Bug#8740)
18833
18834 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
18835
18836 * help-fns.el (describe-function-1): If the function is a derived
18837 major mode, print the parent mode.
18838
18839 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
18840 (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
18841
18842 2011-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
18843
18844 * minibuffer.el (completion--capf-wrapper): Check applicability before
18845 returning non-nil for non-exclusive completion data.
18846 * progmodes/etags.el (tags-completion-at-point-function):
18847 * info-look.el (info-lookup-completions-at-point): Mark as
18848 non-exclusive.
18849 (info-complete): Adjust accordingly.
18850
18851 * info-look.el: Convert to lexical-binding and completion-at-point.
18852 (info-lookup-completions-at-point): New function.
18853 (info-complete): Use it and completion-in-region.
18854
18855 2011-05-28 Drew Adams <drew.adams@oracle.com>
18856
18857 * isearch.el: Let M-e start with point at the first mismatched char.
18858 (isearch-fail-pos): New function.
18859 (isearch-edit-string): Use it.
18860
18861 2011-05-28 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
18862
18863 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
18864
18865 2011-05-27 Toby Cubitt <toby-predictive@dr-qubit.org>
18866
18867 * emacs-lisp/avl-tree.el: New avl-tree-stack datatype. Add new
18868 traversal functions for avl-trees.
18869 (avl-tree--stack): New struct.
18870 (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
18871 (avl-tree-enter): Add optional `updatefun' arg.
18872 (avl-tree--do-enter): Add optional `updatefun' arg.
18873 Change return value.
18874 (avl-tree-delete): Add optional `test' and `nilflag' args.
18875 (avl-tree--do-delete): Add `test' and `nilflag' args.
18876 Change return value.
18877 (avl-tree-member): Add optional `nilflag'
18878 (avl-tree-member-p): New function.
18879 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
18880 (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
18881 (avl-tree-stack-empty-p): New functions.
18882
18883 * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
18884 avl-tree--del-balance1 and make it work both ways.
18885 (avl-tree--del-balance2): Remove.
18886 (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
18887 make it work both ways.
18888 (avl-tree--enter-balance2): Remove.
18889 (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
18890 New macros.
18891 (avl-tree--mapc, avl-tree-map): Add direction argument.
18892
18893 2011-05-27 David Michael <fedora.dm0@gmail.com> (tiny change)
18894
18895 * files.el (interpreter-mode-alist): Add rbash (bug#8745).
18896
18897 2011-05-27 Chong Yidong <cyd@stupidchicken.com>
18898
18899 * select.el: Support clipboard managers with built-in function
18900 x-clipboard-manager-save, via delete-frame-functions and
18901 kill-emacs-hook.
18902 (xselect-convert-to-targets): Add MULTIPLE target to list.
18903 (xselect-convert-to-save-targets): New function.
18904
18905 2011-05-27 Kenichi Handa <handa@m17n.org>
18906
18907 * mail/sendmail.el (mail-encode-header): Avoid double encoding by
18908 let-binding rfc2047-encode-encoded-words to nil.
18909
18910 2011-05-27 Glenn Morris <rgm@gnu.org>
18911
18912 * mail/emacsbug.el: Don't require url-util.
18913
18914 * shell.el (shell-directory-tracker): Case matters. (Bug#8735)
18915
18916 * files.el (set-auto-mode):
18917 Also respect mode: entries at the end of the file. (Bug#8586)
18918
18919 2011-05-26 Glenn Morris <rgm@gnu.org>
18920
18921 * files.el (hack-local-variables-prop-line, hack-local-variables):
18922 Downcase mode names, as seems to be traditional.
18923 (hack-local-variables, hack-local-variables-apply): Doc fixes.
18924
18925 * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
18926 (report-emacs-bug-hook): Try to validate the From address. (Bug#8038)
18927
18928 2011-05-25 Julien Danjou <julien@danjou.info>
18929
18930 * textmodes/rst.el (rst-define-level-faces): Do not define face
18931 symbol if it is already defined.
18932
18933 2011-05-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
18934
18935 * play/5x5.el (5x5-new-game, 5x5-randomize):
18936 Reset 5x5-solver-output to nil when a new grid is cast.
18937 (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
18938 these debugging traces, as defmacro breaks the compiled code.
18939
18940 2011-05-24 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
18941
18942 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
18943
18944 2011-05-24 Leo Liu <sdl.web@gmail.com>
18945
18946 * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
18947 (vc-bzr-sha1): Adapt.
18948
18949 * sha1.el: Remove. Function `sha1' is now builtin.
18950
18951 * bindings.el: Provide sha1 feature.
18952
18953 2011-05-24 Kenichi Handa <handa@m17n.org>
18954
18955 * mail/sendmail.el: Require `rfc2047'.
18956 (mail-insert-from-field): Do not perform RFC2047 encoding.
18957 (mail-encode-header): New function.
18958 (sendmail-send-it): Set buffer-file-coding-system of the work
18959 buffer to the return value of select-message-coding-system.
18960 Call mail-encode-header.
18961
18962 * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
18963
18964 2011-05-24 Sean Neakums <sneakums@zork.net> (tiny change)
18965
18966 * mail/supercite.el (sc-default-cite-frame):
18967 Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
18968
18969 2011-05-24 Glenn Morris <rgm@gnu.org>
18970
18971 * progmodes/python.el (brm-menu): Declare.
18972
18973 * emulation/viper.el (viper-set-hooks): Declare.
18974
18975 * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
18976 (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
18977 (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
18978 (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
18979 (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
18980 (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
18981
18982 2011-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
18983
18984 Add an :exit-function for completion-at-point.
18985
18986 * minibuffer.el (completion--done): New fun.
18987 (completion--do-completion): Use it. New arg `expect-exact'.
18988 (minibuffer-complete, minibuffer-complete-word): Don't output message,
18989 since completion--do-completion does it for us now.
18990 (minibuffer-force-complete): Use completion--done and
18991 completion--replace. Handle sole-completion case with more care.
18992 (minibuffer-complete-and-exit): Use new `expect-exact' arg.
18993 (completion-extra-properties): New var.
18994 (completion-annotate-function): Make obsolete.
18995 (minibuffer-completion-help): Adjust accordingly.
18996 Use completion-list-insert-choice-function.
18997 (completion-at-point, completion-help-at-point):
18998 Bind completion-extra-properties.
18999 (completion-pcm-word-delimiters): Add | (for uniquify, for example).
19000 * simple.el (completion-list-insert-choice-function): New var.
19001 (completion-setup-function): Preserve it.
19002 (choose-completion): Pay attention to it, shuffle the code a bit.
19003 (choose-completion-string): New arg `insert-function'.
19004
19005 * textmodes/bibtex.el: Convert to lexical binding.
19006 (bibtex-mode-map): Use completion-at-point.
19007 (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
19008 (bibtex-completion-at-point-function): New fun, from bibtex-complete.
19009 (bibtex-complete): Define as obsolete alias.
19010 (bibtex-complete-internal): Remove.
19011 (bibtex-format-entry): Remove unused sub-group in regexp.
19012 * shell.el (shell--command-completion-data)
19013 (shell-environment-variable-completion):
19014 * pcomplete.el (pcomplete-completions-at-point):
19015 * comint.el (comint--complete-file-name-data): Use :exit-function
19016 instead of completion-table-with-terminator so it also works for
19017 choose-completion.
19018
19019 2011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
19020
19021 * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
19022
19023 * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
19024 (bug#8710).
19025
19026 * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
19027
19028 2011-05-23 Ken Manheimer <ken.manheimer@gmail.com>
19029
19030 * allout.el (allout-inhibit-auto-fill-on-headline): Create new
19031 customization variable and implement: If non-nil, auto-fill will
19032 be inhibited while on topic's header line.
19033
19034 2011-05-23 Vincent Belaïche <vincentb1@users.sourceforge.net>
19035
19036 * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
19037 click on. II/ Make 5x5 multisession. III/ Ensure that random grids
19038 always have a solution in grid size = 5 cases.
19039 (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
19040 (5x5-solver-output, 5x5-log-buffer): New vars.
19041 (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
19042 Make these variables buffer local to achieve 5x5 multi-session-ness.
19043 (5x5): Set 5x5-grid-size only if SIZE is non-negative.
19044 (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
19045 (5x5-solve-suggest): New funs.
19046 (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
19047 randomize a grid so that we ensure that there is always a solution.
19048 (5x5-make-random-grid): Allow other movement than flipping.
19049
19050 2011-05-23 Kevin Ryde <user42@zip.com.au>
19051
19052 * emacs-lisp/advice.el (ad-read-advised-function):
19053 Use `function-called-at-point' as the default, if it has
19054 advice and passes PREDICATE.
19055
19056 2011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
19057
19058 * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
19059 byte-compile-lambda if it's actually a lambda.
19060
19061 * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
19062 Fix function quoting. Use backquote better.
19063
19064 2011-05-22 Yuanle Song <sylecn@gmail.com>
19065
19066 * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
19067 matching (Bug#8516).
19068
19069 2011-01-22 Jari Aalto <jari.aalto@cante.net>
19070
19071 * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
19072 different face (Bug#8178).
19073
19074 2011-05-22 Chong Yidong <cyd@stupidchicken.com>
19075
19076 * vc/diff-mode.el (diff-changed): Don't use terminal specs for
19077 defface (Bug#8144).
19078
19079 2011-05-22 Stefan Monnier <monnier@iro.umontreal.ca>
19080
19081 * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
19082 funcall as well (bug#8712). Warn when performing those conversions.
19083 * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
19084
19085 * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
19086
19087 2011-05-22 Glenn Morris <rgm@gnu.org>
19088
19089 * files.el (hack-local-variables-prop-line): Small simplifications.
19090 (hack-local-variables, hack-local-variables-prop-line):
19091 If MODE-ONLY, return the mode, rather than just `t'.
19092
19093 2011-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
19094
19095 * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
19096
19097 2011-05-21 Glenn Morris <rgm@gnu.org>
19098
19099 * files.el (hack-local-variables-prop-line, hack-local-variables):
19100 If only interested in the mode, don't bother doing the other stuff.
19101
19102 * image-mode.el (image-after-revert-hook):
19103 Redraw all frames on which the image is visible. (Bug#8567)
19104
19105 * dired-aux.el (dired-touch-initial): Just use current-time. (Bug#6887)
19106
19107 * wid-edit.el (widget-checklist-match-inline):
19108 Fix 2011-04-19 change. (Bug#8649)
19109
19110 2011-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
19111
19112 * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
19113 Also allow singlespace after single-letter capitals followed by a dot.
19114
19115 * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
19116 enabled. Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
19117
19118 2011-05-20 Nix <nix@esperi.org.uk>
19119
19120 * files.el (basic-save-buffer-2):
19121 Fix handling of break-hardlink-on-save with non-existent files.
19122
19123 2011-05-19 Deniz Dogan <deniz@dogan.se>
19124
19125 * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
19126 (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
19127
19128 2011-05-19 Glenn Morris <rgm@gnu.org>
19129
19130 * progmodes/f90.el (f90-type-def-re):
19131 Handle "type, bind(c)". (Bug#8691)
19132
19133 * emacs-lisp/autoload.el (batch-update-autoloads):
19134 Set autoload-excludes by parsing loadup.el rather than Makefiles.
19135
19136 2011-05-18 Michael Albinus <michael.albinus@gmx.de>
19137
19138 * net/tramp.el (tramp-process-actions): Set "first-password-request"
19139 property for the correct connection in case of multihops.
19140
19141 2011-05-18 Glenn Morris <rgm@gnu.org>
19142
19143 * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
19144 * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
19145
19146 Rationalize calendar handling of day and month abbrev-arrays.
19147 * calendar/calendar.el (calendar-customized-p): New function.
19148 (calendar-abbrev-construct, calendar-make-alist): Change what it does.
19149 (calendar-day-name-array, calendar-month-name-array): Doc fix.
19150 Add :set function.
19151 (calendar-abbrev-length, calendar-day-abbrev-array)
19152 (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
19153 (calendar-day-abbrev-array, calendar-month-abbrev-array):
19154 Elements may no longer be nil.
19155 (calendar-day-name, calendar-month-name):
19156 Update for changed nature of abbrev arrays.
19157 * calendar/diary-lib.el (diary-name-pattern):
19158 Update for changed nature of abbrev arrays.
19159 (diary-mark-entries-1): Update calendar-make-alist calls.
19160 (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
19161 * calendar/cal-html.el (cal-html-day-abbrev-array):
19162 Simply inherit from calendar-day-abbrev-array.
19163
19164 2011-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
19165
19166 * progmodes/grep.el (grep-mode): Disable default
19167 compilation-directory-matcher setting (bug#8684).
19168
19169 2011-05-17 Michael Albinus <michael.albinus@gmx.de>
19170
19171 * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
19172 instead of "head" and "tail". There were problems with SunOS 5.9,
19173 and it performs better.
19174
19175 2011-05-17 Glenn Morris <rgm@gnu.org>
19176
19177 * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
19178
19179 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
19180 Replace obsolete function.
19181
19182 * shell.el (pcomplete-parse-arguments-function): Declare.
19183
19184 * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
19185 (appt-display-diary, appt-display-interval, appt-prev-comp-time)
19186 (appt-check): Doc fixes.
19187 (appt-disp-window-function, appt-delete-window-function):
19188 Remove needless special case in custom :type.
19189 (appt-display-count): Default to 0, not nil.
19190 (appt-check): Reset appt-display-count to 0, not nil.
19191
19192 2011-05-17 Juanma Barranquero <lekktu@gmail.com>
19193
19194 * progmodes/python.el (python-font-lock-keywords):
19195 Add the Python 3.X keyword "nonlocal" (bug#8639).
19196
19197 2011-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
19198
19199 * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
19200
19201 2011-05-16 Kevin Ryde <user42@zip.com.au>
19202
19203 * info-look.el (makefile-automake-mode): New setups, looking in
19204 automake manual, then makefile-mode.
19205 (makefile-mode): Remove automake manual, have it just in
19206 makefile-automake-mode since there's various things different or
19207 not relevant to plain make.
19208 (makefile-mode): Remove "other-modes" non-existent automake-mode,
19209 believe a hypothetical automake-mode would go to makefile-mode,
19210 not the other way around.
19211
19212 2011-05-15 Chong Yidong <cyd@stupidchicken.com>
19213
19214 * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
19215 hunk-end tags (Bug#8672).
19216
19217 * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
19218 vc-annotate-show-diff-revision-at-line (Bug#8671).
19219
19220 2011-05-14 Glenn Morris <rgm@gnu.org>
19221
19222 * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
19223 in the middle of an existing one with multiple authors. (Bug#8645)
19224 (change-log-font-lock-keywords): Also handle multiple author lines
19225 with leading tabs. (Bug#8644)
19226
19227 * calendar/appt.el (appt-check): Rename some local variables.
19228 Some simplification/reordering.
19229
19230 * mail/feedmail.el (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)
19234 (feedmail-queue-runner-message-sender): Set :version.
19235 (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
19236 (bbdb-dwim-net-address, vm-mail): Declare.
19237 (feedmail-binmail-gnulinuxish-template):
19238 Rename from feedmail-binmail-linuxish-template.
19239 (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
19240 Use insert-buffer-substring.
19241
19242 2011-05-14 Bill Carpenter <bill@carpenter.org>
19243
19244 * mail/feedmail.el (feedmail-patch-level): Increase.
19245 (feedmail-debug): New custom group.
19246 (feedmail-confirm-outgoing-timeout)
19247 (feedmail-sendmail-f-doesnt-sell-me-out)
19248 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
19249 (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
19250 (feedmail-sender-line, feedmail-from-line)
19251 (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
19252 (feedmail-spray-this-address)
19253 (feedmail-spray-address-fiddle-plex-list)
19254 (feedmail-queue-use-send-time-for-date)
19255 (feedmail-queue-use-send-time-for-message-id)
19256 (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
19257 (feedmail-buffer-eating-function):
19258 Doc fixes.
19259 (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
19260 (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
19261 (feedmail-message-action-scroll-down): New functions.
19262 (feedmail-queue-directory, feedmail-queue-draft-directory):
19263 Use expand-file-name.
19264 (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
19265 Remove C-v help entry.
19266 (feedmail-queue-buffer-file-name): New variable.
19267 (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
19268 (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
19269 (feedmail-message-action-send-strong, feedmail-message-action-edit)
19270 (feedmail-message-action-draft, feedmail-message-action-draft-strong)
19271 (feedmail-message-action-queue, feedmail-message-action-queue-strong)
19272 (feedmail-message-action-toggle-spray)
19273 (feedmail-run-the-queue-no-prompts)
19274 (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
19275 (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
19276 (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
19277 (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
19278 (feedmail-envelope-deducer, feedmail-fiddle-from)
19279 (feedmail-fiddle-sender, feedmail-default-date-generator)
19280 (feedmail-fiddle-date, feedmail-fiddle-message-id)
19281 (feedmail-fiddle-spray-address)
19282 (feedmail-fiddle-list-of-spray-fiddle-plexes)
19283 (feedmail-fiddle-list-of-fiddle-plexes)
19284 (feedmail-fill-to-cc-function, feedmail-fill-this-one)
19285 (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
19286 (feedmail-queue-runner-message-sender, feedmail-binmail-template):
19287 Change default. Doc fix.
19288 (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
19289 (feedmail-binmail-linuxish-template): New constant.
19290 (feedmail-buffer-to-sendmail): Doc fix. Add debug call.
19291 Respect feedmail-sendmail-f-doesnt-sell-me-out.
19292 (feedmail-send-it): Add debug call.
19293 Use feedmail-queue-buffer-file-name, and
19294 feedmail-send-it-immediately-wrapper.
19295 (feedmail-message-action-send): Add debug call.
19296 Use feedmail-send-it-immediately-wrapper.
19297 (feedmail-queue-express-to-queue): Add debug call.
19298 Run feedmail-queue-express-hook.
19299 (feedmail-message-action-help): Add debug call. Use feedmail-p-h-b-n.
19300 (feedmail-message-action-help-blat):
19301 Rename from feedmail-queue-send-edit-prompt-help-first.
19302 (feedmail-run-the-queue): Add debug call. Set buffer-file-type.
19303 Check line-endings. Handle errors better.
19304 (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
19305 Doc fix. Add debug call.
19306 (feedmail-queue-send-edit-prompt): Doc fix. Add debug call.
19307 Use feedmail-queue-send-edit-prompt-inner.
19308 (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
19309 (feedmail-queue-send-edit-prompt-inner): New function, extracted
19310 from feedmail-queue-send-edit-prompt.
19311 (feedmail-queue-send-edit-prompt-help)
19312 (feedmail-queue-send-edit-prompt-help-later): Remove functions.
19313 (feedmail-tidy-up-slug): Add debug call.
19314 Respect feedmail-queue-slug-suspect-regexp.
19315 (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
19316 (feedmail-dump-message-to-queue): Add debug call.
19317 Expand queue-directory.
19318 (feedmail-dump-message-to-queue): Change message slightly.
19319 Use feedmail-say-chatter.
19320 (feedmail-rfc822-date): Add debug call. Bind system-time-locale.
19321 (feedmail-send-it-immediately-wrapper): New function.
19322 (feedmail-send-it-immediately): Add debug calls. Use let not let*.
19323 Insert empty string rather than newline. Handle full-frame case.
19324 Use catch/throw. Use feedmail-say-chatter.
19325 (feedmail-fiddle-from): Try mail-host-address.
19326 (feedmail-default-message-id-generator): Doc fix.
19327 Bind system-time-locale. Handle missing end.
19328 (feedmail-fiddle-x-mailer): Add debug call.
19329 Handle feedmail-x-mailer-line being nil.
19330 (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
19331 Add debug call. Use buffer-substring-no-properties.
19332 (feedmail-say-debug, feedmail-say-chatter): New functions.
19333 (feedmail-find-eoh): Give an explicit error.
19334
19335 2011-05-13 Ulf Jasper <ulf.jasper@web.de>
19336
19337 * net/newst-treeview.el (newsticker-treeview-face): Change default
19338 family from helvetica to sans.
19339 (newsticker-treeview-tool-bar-map): Move tool-bar icons to
19340 etc/images/newsticker.
19341
19342 * net/newst-reader.el (newsticker-feed-face): Change default
19343 family from helvetica to sans.
19344
19345 * net/newst-plainview.el (newsticker-new-item-face)
19346 (newsticker-old-item-face, newsticker-immortal-item-face)
19347 (newsticker-obsolete-item-face, newsticker-date-face)
19348 (newsticker-statistics-face): Change default family from
19349 helvetica to sans.
19350 (newsticker--plainview-tool-bar-map): Move tool-bar icons to
19351 etc/images/newsticker.
19352
19353 * net/newst-backend.el (newsticker--do-run-auto-mark-filter)
19354 (newsticker--process-auto-mark-filter-match): Tell user about
19355 auto-marking.
19356
19357 2011-05-13 Didier Verna <didier@xemacs.org>
19358
19359 Common Lisp indentation improvements on defmethod and lambda-lists.
19360 * emacs-lisp/cl-indent.el: Advertise the changes and remove obsolete
19361 TODO entries.
19362 (lisp-lambda-list-keyword-parameter-indentation)
19363 (lisp-lambda-list-keyword-parameter-alignment)
19364 (lisp-lambda-list-keyword-alignment): New customizable user options.
19365 (lisp-indent-defun-method): Improve docstring.
19366 (extended-loop-p): Fix comment.
19367 (lisp-indent-lambda-list-keywords-regexp): New variable.
19368 (lisp-indent-lambda-list): New function.
19369 (lisp-indent-259): Use it.
19370 (lisp-indent-defmethod): Support for more than one
19371 method qualifier and properly indent methods lambda-lists.
19372 (defgeneric): Provide a missing common-lisp-indent-function property.
19373
19374 2011-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
19375
19376 * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
19377 bounds for the empty string (bug#8667).
19378
19379 2011-05-13 Glenn Morris <rgm@gnu.org>
19380
19381 * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
19382
19383 * mail/sendmail.el (sendmail-program): Try executable-find first.
19384 (sendmail-send-it): `sendmail-program' cannot be unbound.
19385
19386 * calendar/appt.el (appt-make-list): Simplify.
19387 (appt-time-msg-list): Doc fix.
19388 (appt-check): Change mode-line message at the time of the appointment.
19389
19390 2011-05-12 Andreas Schwab <schwab@linux-m68k.org>
19391
19392 * progmodes/ld-script.el (ld-script-keywords)
19393 (ld-script-builtins): Update keywords list.
19394
19395 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
19396
19397 * progmodes/grep.el (grep-filter): Don't trip on partial lines.
19398
19399 * shell.el (shell-completion-vars): New function.
19400 (shell-mode):
19401 * simple.el (read-shell-command): Use it.
19402 (blink-matching-open): No need for " [...]" in minibuffer-message.
19403
19404 2011-05-12 Glenn Morris <rgm@gnu.org>
19405
19406 * calendar/appt.el (appt-now-displayed): Remove pointless variable.
19407 (appt-check): Simplify.
19408
19409 2011-05-12 Eli Zaretskii <eliz@gnu.org>
19410
19411 * vc/smerge-mode.el (smerge-resolve): Use null-device rather than a
19412 literal "/dev/null".
19413
19414 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
19415
19416 * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
19417 Fix typo.
19418
19419 2011-05-12 Ralph Schleicher <rs@ralph-schleicher.de>
19420
19421 * progmodes/which-func.el (which-function):
19422 Use add-log-current-defun instead of add-log-current-defun-function,
19423 which might not be defined (Bug#8260).
19424
19425 2011-05-12 Glenn Morris <rgm@gnu.org>
19426
19427 * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
19428 Let byte-compile-initial-macro-environment always take precedence.
19429
19430 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
19431
19432 * net/rcirc.el: Add support for SSL/TLS connections.
19433 (rcirc-server-alist): New field `encryption'.
19434 (rcirc): Check `encryption' settings.
19435 (rcirc-connect): New arg `encryption'. Use open-network-stream.
19436 Merge make-local-variable into `set'.
19437 (rcirc--connection-open-p): New function.
19438 (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
19439 the process is not a network process (e.g. running gnutls-cli).
19440 (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
19441 Make rcirc-(en|de)code-coding-system local here.
19442 (rcirc-mode): Merge make-local-variable into `set'.
19443 (rcirc-parent-buffer): Make permanent buffer-local.
19444 (rcirc-multiline-minor-mode): Don't do it here.
19445 (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
19446 there's no server buffer.
19447
19448 2011-05-11 Glenn Morris <rgm@gnu.org>
19449
19450 * newcomment.el (comment-kill): Prefix "unused" local.
19451
19452 * term/w32console.el (get-screen-color): Declare.
19453
19454 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
19455 Handle symbol elements of byte-compile-initial-macro-environment.
19456
19457 2011-05-10 Leo Liu <sdl.web@gmail.com>
19458
19459 * bookmark.el (bookmark-bmenu-mode-map):
19460 Bind bookmark-bmenu-search to `/'.
19461
19462 * mail/footnote.el: Convert to utf-8 encoding.
19463 (footnote-unicode-string, footnote-unicode-regexp): New variable.
19464 (Footnote-unicode): New function.
19465 (footnote-style-alist): Add unicode style to the list.
19466 (footnote-style): Doc fix.
19467
19468 2011-05-10 Jim Meyering <meyering@redhat.com>
19469
19470 Fix doubled-word typos.
19471 * international/quail.el (quail-insert-kbd-layout): and and -> and
19472 * kermit.el: and and -> and
19473 * net/ldap.el (ldap-search-internal): to to -> to
19474 * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
19475 * progmodes/js.el (js-mode): and and -> and
19476 * textmodes/artist.el (artist-move-to-xy): at at -> at
19477 (artist-draw-region-trim-line-endings): if if -> if
19478 And Safetyc -> Safety.
19479 * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
19480
19481 2011-05-10 Glenn Morris <rgm@gnu.org>
19482 Stefan Monnier <monnier@iro.umontreal.ca>
19483
19484 * files.el (hack-one-local-variable-eval-safep):
19485 Consider "eval: (foo-mode)" to be safe. (Bug#8613)
19486
19487 2011-05-10 Glenn Morris <rgm@gnu.org>
19488
19489 * calendar/diary-lib.el (diary-list-entries-hook)
19490 (diary-mark-entries-hook, diary-nongregorian-listing-hook)
19491 (diary-nongregorian-marking-hook, diary-list-entries)
19492 (diary-include-other-diary-files, diary-mark-entries)
19493 (diary-mark-included-diary-files): Doc fixes.
19494
19495 2011-05-09 Juanma Barranquero <lekktu@gmail.com>
19496
19497 * misc.el: Require tabulated-list.el during compilation.
19498
19499 2011-05-09 Chong Yidong <cyd@stupidchicken.com>
19500
19501 * progmodes/compile.el (compilation-start):
19502 Run compilation-filter-hook for the async case too.
19503 (compilation-filter-hook): Doc fix.
19504
19505 2011-05-09 Deniz Dogan <deniz@dogan.se>
19506
19507 * wdired.el: Remove outdated installation comment. Fix usage
19508 comment.
19509
19510 2011-05-09 Juanma Barranquero <lekktu@gmail.com>
19511
19512 * misc.el: Implement new command `list-dynamic-libraries'.
19513 (list-dynamic-libraries--loaded-only-p): New variable.
19514 (list-dynamic-libraries--refresh): New function.
19515 (list-dynamic-libraries): New command.
19516
19517 2011-05-09 Chong Yidong <cyd@stupidchicken.com>
19518
19519 * progmodes/compile.el (compilation-error-regexp-alist-alist):
19520 Fix the ant regexp to handle end-line and end-column info from jikes.
19521 Re-introduce maven regexp. Give the ruby-Test::Unit regexp a
19522 higher priority to avoid clobbering by gnu.
19523
19524 2011-05-08 Chong Yidong <cyd@stupidchicken.com>
19525
19526 * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
19527 if the face has existing theme settings (Bug#8454).
19528
19529 2011-05-08 Ralph Schleicher <rs@ralph-schleicher.de>
19530
19531 * progmodes/perl-mode.el (perl-imenu-generic-expression):
19532 Only match variables declared via `my' or `our' (Bug#8261).
19533
19534 * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
19535 special file names `.' and `..' (Bug#8259).
19536
19537 2011-05-08 Chong Yidong <cyd@stupidchicken.com>
19538
19539 * progmodes/grep.el (grep-mode-font-lock-keywords):
19540 Remove buffer-changing entries.
19541 (grep-filter): New function.
19542 (grep-mode): Add it to compilation-filter-hook.
19543
19544 * progmodes/compile.el (compilation-filter-hook)
19545 (compilation-filter-start): New defvars.
19546 (compilation-filter): Call compilation-filter-hook prior to
19547 updating the process mark.
19548
19549 2011-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
19550
19551 * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
19552
19553 2011-05-07 Eli Zaretskii <eliz@gnu.org>
19554
19555 * mail/sendmail.el (send-mail-function): On MS-Windows, default to
19556 mailclient-send-it even if window-system is nil. (Bug#8595)
19557
19558 * term/w32console.el (terminal-init-w32console):
19559 Call get-screen-color and use its output to set the frame
19560 background-mode. (Bug#8597)
19561
19562 2011-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
19563
19564 Make bytecomp.el understand that defmethod defines funs (bug#8631).
19565 * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
19566 New functions.
19567 (defgeneric, eieio--defmethod): Use them.
19568 (eieio-defgeneric): Remove.
19569 (defmethod): Call defgeneric in a way visible to the byte-compiler.
19570
19571 2011-05-07 Glenn Morris <rgm@gnu.org>
19572
19573 * calendar/timeclock.el (timeclock-log-data): Remove unused local.
19574 Use let rather than let*.
19575 (timeclock-find-discrep): Remove unused local.
19576
19577 * calendar/diary-lib.el (diary-comment-start): Doc fix.
19578
19579 * calendar/appt.el (appt-time-msg-list): Doc fix.
19580
19581 2011-05-06 Noah Friedman <friedman@splode.com>
19582
19583 * apropos.el (apropos-print-doc): Only use
19584 emacs-lisp-docstring-fill-column when it is bound to an integer,
19585 per that variable's documentation.
19586
19587 2011-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
19588
19589 * lpr.el (print-region-1): Echo lpr-program's output, so error messages
19590 and warnings are not silently discarded (e.g. use -d instead of -P).
19591
19592 2011-05-06 Glenn Morris <rgm@gnu.org>
19593
19594 * calendar/appt.el (appt-message-warning-time): Doc fix.
19595 (appt-warning-time-regexp): New option.
19596 (appt-make-list): Respect appt-message-warning-time.
19597
19598 * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
19599 New options.
19600 (diary-add-to-list): Strip comments from the displayed string.
19601 (diary-mode): Set comment-start and comment-end.
19602
19603 * vc/diff-mode.el (smerge-refine-subst): Declare.
19604 (diff-refine-hunk): Don't require smerge-mode when compiling.
19605
19606 2011-05-06 Juanma Barranquero <lekktu@gmail.com>
19607
19608 * simple.el (list-processes): Return nil as the docstring says.
19609
19610 2011-05-05 Michael Albinus <michael.albinus@gmx.de>
19611
19612 * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
19613 to "".
19614 (ange-ftp-write-region, ange-ftp-insert-file-contents)
19615 (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
19616 determining of binary transfer. (Bug#7383)
19617
19618 2011-05-05 Michael Albinus <michael.albinus@gmx.de>
19619
19620 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
19621 Fix port computation bug. (Bug#8618)
19622
19623 2011-05-05 Glenn Morris <rgm@gnu.org>
19624
19625 * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
19626
19627 * simple.el (shell-dynamic-complete-functions)
19628 (comint-dynamic-complete-functions): Declare.
19629
19630 * net/network-stream.el (gnutls-negotiate):
19631 * simple.el (tabulated-list-print): Fix declarations.
19632
19633 * progmodes/gud.el (syntax-symbol, syntax-point):
19634 Remove unnecessary and incorrect declarations.
19635
19636 * emacs-lisp/check-declare.el (check-declare-scan):
19637 Handle byte-compile-initial-macro-environment in bytecomp.el.
19638
19639 2011-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
19640
19641 Fix earlier half-done eieio-defmethod change (bug#8338).
19642 * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
19643 Streamline and change calling convention.
19644 (defmethod): Adjust accordingly and simplify.
19645 (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
19646 new eieio--defmethod.
19647 (slot-boundp): Minor CSE simplification.
19648
19649 2011-05-05 Milan Zamazal <pdm@zamazal.org>
19650
19651 * progmodes/glasses.el (glasses-separate-capital-groups): New option.
19652 (glasses-make-readable): Use glasses-separate-capital-groups.
19653
19654 2011-05-05 Juanma Barranquero <lekktu@gmail.com>
19655
19656 * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
19657 (warning-series): Doc fix.
19658 (display-warning): Don't try to create the buffer if we just found it.
19659
19660 2011-05-04 Chong Yidong <cyd@stupidchicken.com>
19661
19662 * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
19663 (autoload-find-generated-file): New function.
19664 (generate-file-autoloads): Bind generated-autoload-file to
19665 buffer-file-name.
19666 (update-file-autoloads, update-directory-autoloads):
19667 Use autoload-find-generated-file. If called interactively, prompt for
19668 output file (Bug#7989).
19669 (batch-update-autoloads): Doc fix.
19670
19671 2011-05-04 Juanma Barranquero <lekktu@gmail.com>
19672
19673 * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
19674
19675 2011-05-04 Glenn Morris <rgm@gnu.org>
19676
19677 * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
19678 function, so it follows changes in calendar-date-style.
19679 (diary-fancy-date-matcher): New function.
19680 (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
19681 (diary-fancy-font-lock-fontify-region-function):
19682 Use diary-fancy-date-pattern as a function.
19683
19684 * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
19685 non-numbers for `year' etc pseudo-variables. (Bug#8583)
19686
19687 2011-05-04 Teodor Zlatanov <tzz@lifelogs.com>
19688
19689 * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
19690 instead of positional arguments. Allow :keylist and :crlfiles
19691 arguments.
19692 (open-gnutls-stream): Call it.
19693
19694 * net/network-stream.el (network-stream-open-starttls): Adjust to
19695 call `gnutls-negotiate' with :process and :hostname arguments.
19696
19697 2011-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
19698
19699 * minibuffer.el (completion--message): New function.
19700 (completion--do-completion, minibuffer-complete)
19701 (minibuffer-force-complete, minibuffer-complete-word): Use it.
19702 (completion--do-completion): Don't ignore completion-auto-help when in
19703 icomplete-mode.
19704
19705 * whitespace.el (whitespace-trailing-regexp): Don't rely on the
19706 internal encoding (e.g. tibetan zero is not whitespace).
19707 (global-whitespace-mode): Prefer save-current-buffer.
19708 (whitespace-trailing-regexp): Remove useless save-match-data.
19709 (whitespace-empty-at-bob-regexp): Minor simplification.
19710
19711 2011-05-03 Chong Yidong <cyd@stupidchicken.com>
19712
19713 * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
19714
19715 2011-05-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
19716
19717 * textmodes/ispell.el (ispell-add-per-file-word-list):
19718 Use `concat' to create string for insertion.
19719
19720 2011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
19721
19722 * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
19723 Avoid open-line which runs post-self-insert-hook.
19724 (bibtex-fill-entry): Remove unused `end' var.
19725
19726 2011-05-03 Dirk Ullrich <dirk.ullrich@googlemail.com> (tiny change)
19727
19728 * textmodes/ispell.el (ispell-add-per-file-word-list):
19729 Protect against `nil' value of `comment-start' (Bug#8579).
19730
19731 2011-05-03 Leo Liu <sdl.web@gmail.com>
19732
19733 * isearch.el (isearch-yank-pop): New command.
19734 (isearch-mode-map): Bind it to `M-y'.
19735 (isearch-forward): Mention it.
19736
19737 2011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
19738
19739 * simple.el (minibuffer-complete-shell-command): Remove.
19740 (minibuffer-local-shell-command-map): Use completion-at-point.
19741 (read-shell-command): Setup completion vars here instead.
19742 (read-expression-map): Bind TAB to symbol completion.
19743
19744 * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
19745 error directly rather via storing it into `results'.
19746
19747 2011-05-02 Leo Liu <sdl.web@gmail.com>
19748
19749 * vc/diff.el: Fix description.
19750
19751 2011-05-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
19752
19753 * server.el (server-eval-at): New function.
19754
19755 2011-05-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
19756
19757 * net/network-stream.el (open-network-stream): Take a :nowait
19758 parameter and pass it on to `make-network-process'.
19759 (network-stream-open-plain): Ditto.
19760
19761 2011-04-30 Andreas Schwab <schwab@linux-m68k.org>
19762
19763 * faces.el (face-spec-set-match-display): Don't match toolkit
19764 options on terminal frames.
19765
19766 2011-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
19767
19768 * progmodes/pascal.el: Use lexical binding.
19769 (pascal-mode-map): Remove author preferences.
19770
19771 * pcomplete.el (pcomplete-std-complete): Don't abuse
19772 completion-at-point.
19773
19774 2011-04-28 Juanma Barranquero <lekktu@gmail.com>
19775
19776 * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
19777 removing code that has been dead since 1991 or so.
19778
19779 * startup.el (command-line): When warning about "_emacs", use a
19780 delayed warning to allow the user to filter it out.
19781
19782 2011-04-28 Deniz Dogan <deniz@dogan.se>
19783
19784 * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
19785 user has not joined.
19786
19787 2011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
19788
19789 * pcomplete.el (pcomplete-completions-at-point): Return nil if there
19790 aren't any completions at point.
19791
19792 2011-04-28 Juanma Barranquero <lekktu@gmail.com>
19793
19794 * subr.el (display-delayed-warnings): New function.
19795 (delayed-warnings-hook): New variable.
19796
19797 2011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
19798
19799 * minibuffer.el (completion-at-point, completion-help-at-point):
19800 Don't presume that a given completion-at-point-function will always
19801 use the same calling convention.
19802
19803 * pcomplete.el (pcomplete-completions-at-point):
19804 Obey pcomplete-ignore-case. Don't call pcomplete-norm-func unless
19805 pcomplete-seen is non-nil.
19806 (pcomplete-comint-setup): Also recognize the new comint/shell
19807 completion functions.
19808 (pcomplete-do-complete): Don't call pcomplete-norm-func unless
19809 pcomplete-seen is non-nil.
19810
19811 2011-04-27 Niels Giesen <niels.giesen@gmail.com>
19812
19813 * calendar/icalendar.el (diary-lib): Add require statement.
19814 (icalendar--create-uid): Read out a uid from a text-property on
19815 the first character in the entry. This allows for code to add its
19816 own uid to the entry.
19817 (icalendar--convert-float-to-ical): Add export of
19818 `diary-float'-entries save for those with the optional DAY
19819 argument.
19820
19821 2011-04-27 Daniel Colascione <dan.colascione@gmail.com>
19822
19823 * subr.el (shell-quote-argument): Use alternate escaping strategy
19824 when we spot a variable reference in a string.
19825
19826 2011-04-26 Daniel Colascione <dan.colascione@gmail.com>
19827
19828 * cus-start.el (all): Define customization for debug-on-event.
19829
19830 2011-04-26 Daniel Colascione <dan.colascione@gmail.com>
19831
19832 * subr.el (shell-quote-argument): Escape correctly under Windows.
19833
19834 2011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
19835
19836 * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
19837
19838 2011-04-25 Michael Albinus <michael.albinus@gmx.de>
19839
19840 * net/tramp.el (tramp-process-actions): Add POS argument.
19841 Delete region between POS and (pos).
19842
19843 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
19844 Use `nil' position in `tramp-process-actions' call.
19845 (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
19846
19847 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
19848 position in `tramp-process-actions' call.
19849
19850 * net/trampver.el: Update release number.
19851
19852 2011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
19853
19854 * custom.el (defcustom): Obey lexical-binding.
19855
19856 Fix octave-inf completion problems reported by Alexander Klimov.
19857 * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
19858 Inherit from octave-mode-syntax-table.
19859 (inferior-octave-mode): Set info-lookup-mode.
19860 (inferior-octave-completion-at-point): New function.
19861 (inferior-octave-complete): Use it and completion-in-region.
19862 (inferior-octave-dynamic-complete-functions): Use it as well, and use
19863 comint-filename-completion.
19864 * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
19865 symbol elements which shouldn't be word elements.
19866 (octave-font-lock-keywords, octave-beginning-of-defun)
19867 (octave-function-header-regexp): Adjust regexps accordingly.
19868 (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
19869
19870 2011-04-25 Juanma Barranquero <lekktu@gmail.com>
19871
19872 * net/gnutls.el (gnutls-errorp): Declare before first use.
19873
19874 2011-04-24 Teodor Zlatanov <tzz@lifelogs.com>
19875
19876 * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
19877 verify-error, and verify-hostname-error parameters. Check whether
19878 default trustfile exists before going to use it. Add missing
19879 argument to gnutls-message-maybe call. Return value.
19880 Reported by Claudio Bley <claudio.bley@gmail.com>.
19881 (open-gnutls-stream): Add usage example.
19882
19883 * net/network-stream.el (network-stream-open-starttls): Give host
19884 parameter to `gnutls-negotiate'.
19885 (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
19886 * subr.el (shell-quote-argument): Escape correctly under Windows.
19887
19888 2011-04-24 Daniel Colascione <dan.colascione@gmail.com>
19889
19890 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
19891 Use correct match group (bug#8438).
19892
19893 2011-04-24 Chong Yidong <cyd@stupidchicken.com>
19894
19895 * emacs-lisp/package.el (package-built-in-p): Fix typo.
19896 (package-menu--generate): New arg specifying packages to show.
19897 (package-menu-refresh, package-menu-execute, list-packages):
19898 Callers changed.
19899 (package-show-package-list): New function, replacing deleted
19900 package--list-packages (renamed because it is non-internal).
19901
19902 * finder.el (finder-list-matches): Use package-show-package-list
19903 instead of deleted package--list-packages.
19904
19905 * vc/vc-annotate.el (vc-annotate-goto-line): New command.
19906 Based on a previous implementation by Juanma Barranquero (Bug#8366).
19907 (vc-annotate-mode-map): Bind it to RET.
19908
19909 2011-04-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
19910
19911 * progmodes/etags.el (next-file): Don't use set-buffer to change
19912 buffers (Bug#8478).
19913
19914 2011-04-24 Chong Yidong <cyd@stupidchicken.com>
19915
19916 * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
19917
19918 * apropos.el (apropos-label-face): Avoid variable-pitch face.
19919 (apropos-accumulator): Doc fix.
19920 (apropos-function, apropos-macro, apropos-command)
19921 (apropos-variable, apropos-face, apropos-group, apropos-widget)
19922 (apropos-plist): Add face property.
19923 (apropos-symbols-internal): Fix indentation.
19924 (apropos-print): Simplify help, and recognize apropos-multi-type.
19925 (apropos-print-doc): Use button-type-get to extract the button's
19926 face property. Fill docstring (Bug#8352).
19927
19928 2011-04-23 Juanma Barranquero <lekktu@gmail.com>
19929
19930 * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
19931
19932 * play/mpuz.el (mpuz-silent): Doc fix.
19933 (mpuz-mode-map): Use mapc.
19934 (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
19935 (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
19936 Fix typos in docstrings.
19937
19938 * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
19939 (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
19940
19941 * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
19942
19943 2011-04-23 Chong Yidong <cyd@stupidchicken.com>
19944
19945 * minibuffer.el (completion--do-completion): Avoid the "Next char
19946 not unique" prompt if icomplete-mode is enabled (Bug#5849).
19947
19948 * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
19949 mouse-2 into unread-command-events, it is interpreted correctly.
19950
19951 * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
19952 (image-toggle-display): Doc fix.
19953
19954 2011-04-23 Stephen Berman <stephen.berman@gmx.net>
19955
19956 * textmodes/page.el (what-page): Use line-number-at-pos to
19957 calculate line number (Bug#6825).
19958
19959 2011-04-22 Juanma Barranquero <lekktu@gmail.com>
19960
19961 * eshell/esh-mode.el (find-tag-interactive): Declare function.
19962 (eshell-find-tag): Remove `with-no-warnings', unneeded now.
19963 Pass argument NO-DEFAULT to `find-tag-interactive'.
19964
19965 2011-04-22 Juanma Barranquero <lekktu@gmail.com>
19966
19967 Lexical-binding cleanup.
19968
19969 * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
19970 (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
19971 * progmodes/ada-prj.el (ada-prj-initialize-values)
19972 (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
19973 (ada-prj-show-value):
19974 * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
19975 * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
19976 (antlr-invalidate-context-cache, antlr-options-menu-filter)
19977 (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
19978 * progmodes/bug-reference.el (bug-reference-push-button):
19979 * progmodes/fortran.el (fortran-line-length):
19980 * progmodes/glasses.el (glasses-change):
19981 * progmodes/octave-mod.el (octave-fill-paragraph):
19982 * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
19983 (python-pdbtrack-grub-for-buffer, python-sentinel):
19984 * progmodes/sql.el (sql-save-connection):
19985 * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
19986 * progmodes/xscheme.el (xscheme-enter-debugger-mode):
19987 Mark unused parameters.
19988
19989 * progmodes/compile.el (compilation--flush-directory-cache)
19990 (compilation--flush-parse, compile-internal): Mark unused parameters.
19991 (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
19992 (compilation-next-error-function): Remove unused variable `timestamp'.
19993
19994 * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
19995 (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
19996
19997 * progmodes/dcl-mode.el (dcl-end-of-command):
19998 Remove unused variable `start'.
19999 (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
20000 (dcl-option-value-basic, dcl-option-value-offset)
20001 (dcl-option-value-margin-offset, dcl-option-value-comment-line):
20002 Mark unused parameters.
20003 (dcl-save-local-variable): Remove unused variable `val'.
20004 (mode): Declare.
20005
20006 * progmodes/delphi.el (delphi-save-state, delphi-after-change):
20007 Mark unused parameters.
20008 (delphi-ignore-changes): Move before first use.
20009 (delphi-charset-token-at): Remove unused variable `start'.
20010 (delphi-else-start): Remove unused variable `if-count'.
20011 (delphi-comment-block-start, delphi-comment-block-end):
20012 Remove unused variable `kind'.
20013 (delphi-indent-line): Remove unused variable `new-point'.
20014
20015 * progmodes/ebrowse.el (ebrowse-files-list)
20016 (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
20017 Mark unused parameters. Don't quote `lambda'.
20018 (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
20019 Don't quote `lambda'.
20020 (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
20021 (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
20022 (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
20023 (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
20024 Use `ignore-errors'.
20025 (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
20026 (ebrowse-view/find-file-and-search-pattern)
20027 (ebrowse-view/find-member-declaration/definition):
20028 Rename parameter TAGS-FILE-NAME to TAGS-FILE.
20029 (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
20030 Rename parameter PREFIX-ARG to PREFIX.
20031 (ebrowse-tags-read-name): Remove unused variables `start' and
20032 `member-info'.
20033 (ebrowse-display-member-buffer): Rename variable `tags-file-name'
20034 to `tags-file'.
20035
20036 * progmodes/etags.el (local-find-tag-hook): Declare.
20037 (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
20038 Mark unused parameters.
20039
20040 * progmodes/executable.el (compilation-error-regexp-alist): Declare.
20041 (executable-interpret): Mark unused parameter.
20042
20043 * progmodes/flymake.el (flymake-process-sentinel)
20044 (flymake-after-change-function)
20045 (flymake-create-temp-with-folder-structure)
20046 (flymake-get-include-dirs-dot): Mark unused parameters.
20047 (flymake-safe-delete-directory): Remove unused variable `err'.
20048
20049 * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
20050 (speedbar-timer-fn, speedbar-line-text)
20051 (speedbar-change-expand-button-char, speedbar-delete-subblock)
20052 (speedbar-center-buffer-smartly): Declare functions.
20053 (gdb-find-watch-expression): Remove unused variable `array'.
20054 (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
20055 (gdb-starting): Mark unused parameters.
20056 (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
20057 (gdb-table-string): Remove unused variable `res'.
20058 (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
20059 (gdb-disassembly-handler-custom): Remove unused variable `pos'.
20060 (gdb-display-buffer): Remove unused variable `cur-size'.
20061
20062 * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
20063 allow lexical-binding compilation.
20064 (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
20065 (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
20066 (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
20067 Mark unused parameters.
20068 (gud-gdb-marker-filter): Remove unused variable `match'.
20069 (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
20070 lambda expressions and funcall them, instead of using `fset'.
20071
20072 * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
20073 HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
20074
20075 * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
20076 variable `header-beg'; use `let'.
20077
20078 * progmodes/icon.el (indent-icon-exp): Remove unused variables
20079 `restart', `last-sexp' and `at-do'.
20080
20081 * progmodes/js.el (js--debug): Mark unused parameter.
20082 (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
20083 (js--splice-into-items): Remove unused variable `item'.
20084 (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
20085
20086 * progmodes/make-mode.el (makefile-make-font-lock-keywords):
20087 Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
20088 (makefile-complete): Remove unused variable `try'.
20089 (makefile-fill-paragraph, makefile-match-function-end):
20090 Mark unused parameters.
20091
20092 * progmodes/octave-inf.el (inferior-octave-complete):
20093 Remove unused variable `proc'.
20094 (inferior-octave-output-digest): Mark unused parameter.
20095
20096 * progmodes/perl-mode.el (perl-calculate-indent):
20097 Remove unused variable `err'.
20098
20099 * progmodes/prolog.el (prolog-mode-keybindings-inferior)
20100 (prolog-indent-line): Mark unused parameters.
20101 (prolog-indent-line): Remove unused variable `beg'.
20102
20103 * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
20104 (reporter-dont-compact-list): Declare.
20105
20106 * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
20107 Remove unused variable `char'.
20108 (sh-debug): Mark unused parameter.
20109 (sh-get-indent-info): Remove unused variable `start'.
20110 (sh-calculate-indent): Remove unused variable `var'.
20111
20112 * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
20113 (simula-electric-keyword): Remove unused variable `null'.
20114 (simula-search-backward, simula-search-forward): Remove unused
20115 variables `begin' and `end'.
20116
20117 * progmodes/vera-mode.el (vera-guess-basic-syntax):
20118 Remove unused variable `pos'.
20119 (vera-electric-tab, vera-comment-uncomment-region):
20120 Mark unused parameters.
20121 (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
20122
20123 2011-04-22 Chong Yidong <cyd@stupidchicken.com>
20124
20125 * emacs-lisp/package.el (package--builtins, package-alist)
20126 (package-load-descriptor, package-built-in-p, package-activate)
20127 (define-package, package-installed-p)
20128 (package-compute-transaction, package-buffer-info)
20129 (package--push): Doc fix. Distinguish more clearly between
20130 version strings and version lists.
20131
20132 2011-04-21 Juanma Barranquero <lekktu@gmail.com>
20133
20134 Lexical-binding cleanup.
20135
20136 * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
20137 (5x5-make-mutate-best):
20138 * play/fortune.el (fortune-in-buffer):
20139 * play/gomoku.el (gomoku-init-display):
20140 * play/solitaire.el (solitaire, solitaire-do-check):
20141 * play/tetris.el (tetris-default-update-speed-function):
20142 Mark unused parameters.
20143
20144 * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
20145 (bubbles--shift): Remove unused variable `char-org'.
20146 (bubbles--set-faces): Remove unused variable `fg-col'. Simplify.
20147 (bubbles--show-images): Remove unused variable `char'.
20148
20149 * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
20150 (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
20151 (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
20152 (decipher-analyze-buffer): Use ?\s.
20153 (decipher-make-checkpoint): Remove unused variable `mapping'.
20154
20155 * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
20156
20157 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
20158 Remove unused variable `result'; use `let'.
20159
20160 * play/gametree.el (gametree-current-layout, gametree-apply-layout):
20161 Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
20162 (gametree-children-shown-p, gametree-compute-reduced-score):
20163 Use `ignore-errors'.
20164
20165 * play/handwrite.el (ps-lpr-switches): Declare.
20166 (handwrite): Remove unused variables `pmin' and `lastp'.
20167
20168 * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
20169
20170 * play/landmark.el (landmark-init-display)
20171 (landmark-update-naught-weights): Mark unused parameters.
20172 (landmark-y): Remove unused variable `noise'. Simplify.
20173 (landmark-human-plays): Remove unused variable `score'.
20174
20175 * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
20176 (mpuz-try-proposal): Remove unused variable `game'.
20177
20178 * play/zone.el (life-patterns): Declare.
20179
20180 2011-04-20 Juanma Barranquero <lekktu@gmail.com>
20181
20182 * vc/vc.el (ediff-vc-internal): Declare function.
20183
20184 2011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
20185
20186 * shell.el: Use lexical-binding and std completion UI.
20187 (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
20188 (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
20189 comint-preoutput-filter-functions rather than on
20190 comint-output-filter-functions.
20191 (shell-command-completion, shell--command-completion-data)
20192 (shell-filename-completion, shell-environment-variable-completion)
20193 (shell-c-a-p-replace-by-expanded-directory): New functions.
20194 (shell-dynamic-complete-functions, shell-dynamic-complete-command)
20195 (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
20196 (shell-dynamic-complete-environment-variable): Use them.
20197 (shell-dynamic-complete-as-environment-variable)
20198 (shell-dynamic-complete-as-command): Remove.
20199 (shell-match-partial-variable): Match past point.
20200 * comint.el: Clean up use of completion-at-point-functions.
20201 (comint-completion-at-point): New function.
20202 (comint-mode): Use it completion-at-point-functions.
20203 (comint-dynamic-complete): Make it obsolete.
20204 (comint-replace-by-expanded-history-before-point): Add dry-run arg.
20205 (comint-c-a-p-replace-by-expanded-history): New function.
20206 (comint-dynamic-complete-functions)
20207 (comint-replace-by-expanded-history): Use it.
20208 * minibuffer.el (completion-table-with-terminator): Allow dynamic
20209 termination strings. Try harder to avoid second try-completion.
20210 (completion-in-region-mode-map): Disable bindings that don't work yet.
20211
20212 * comint.el: Use lexical-binding. Require CL.
20213 (comint-dynamic-complete-functions): Use comint-filename-completion.
20214 (comint-completion-addsuffix): Tweak custom type.
20215 (comint-filename-completion, comint--common-suffix)
20216 (comint--common-quoted-suffix, comint--table-subvert)
20217 (comint--complete-file-name-data): New functions.
20218 (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
20219 (comint-dynamic-list-filename-completions): Use them.
20220 (comint-dynamic-simple-complete): Make obsolete.
20221
20222 * minibuffer.el (completion-in-region-mode):
20223 Keep completion-in-region-mode--predicate global.
20224 (completion-in-region--postch):
20225 Assume completion-in-region-mode--predicate is not null.
20226
20227 * progmodes/flymake.el (flymake-start-syntax-check-process):
20228 Obey `dir'. Simplify.
20229
20230 * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
20231 we're in VC after all.
20232
20233 2011-04-20 Christoph Scholtes <cschol2112@googlemail.com>
20234
20235 * vc/vc.el (vc-diff-build-argument-list-internal)
20236 (vc-version-ediff, vc-ediff): New commands.
20237 (vc-version-diff): Use vc-diff-build-argument-list-internal.
20238
20239 2011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
20240
20241 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
20242 add sanity check.
20243
20244 * obsolete/erc-hecomplete.el: Make obsolete.
20245 * obsolete/: Standardize obsolescence info in the header.
20246
20247 2011-04-20 Glenn Morris <rgm@gnu.org>
20248
20249 * calendar/solar.el (solar-horizontal-coordinates):
20250 Use the longitude argument rather than `calendar-longitude'.
20251 (solar-date-next-longitude): Remove unused locals.
20252
20253 2011-04-20 Vinicius Jose Latorre <viniciusjl@ig.com.br>
20254
20255 * whitespace.el: New version 13.2.1.
20256
20257 2011-04-20 felix <EmacsWiki> (tiny change)
20258
20259 * whitespace.el (global-whitespace-mode): Keep highlight when
20260 switching between major modes on a file.
20261
20262 2011-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
20263
20264 * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
20265 (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
20266 multi-line comments as well.
20267
20268 2011-04-19 Juanma Barranquero <lekktu@gmail.com>
20269
20270 Lexical-binding cleanup.
20271
20272 * arc-mode.el (archive-mode-revert):
20273 * cmuscheme.el (scheme-interactively-start-process):
20274 * custom.el (custom-initialize-delay):
20275 * dnd.el (dnd-open-local-file, dnd-open-remote-url):
20276 * dos-w32.el (direct-print-region-helper, direct-print-region-function):
20277 * emacs-lock.el (emacs-lock-clear-sentinel):
20278 * ezimage.el (defezimage):
20279 * follow.el (follow-avoid-tail-recenter):
20280 * fringe.el (set-fringe-mode-1):
20281 * generic-x.el (bat-generic-mode-compile):
20282 * help-mode.el (help-info-variable, help-do-xref)
20283 (help-mode-revert-buffer):
20284 * help.el (view-emacs-todo):
20285 * iswitchb.el (iswitchb-completion-help):
20286 * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
20287 * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
20288 (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
20289 * locate.el (locate-update):
20290 * longlines.el (longlines-encode-region)
20291 (longlines-after-change-function):
20292 * outline.el (outline-isearch-open-invisible):
20293 * ps-def.el (declare-function, charset-dimension, char-width)
20294 (encode-char):
20295 * ps-mule.el (ps-mule-plot-string):
20296 * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
20297 (recentf-edit-list-select, recentf-edit-list-validate)
20298 (recentf-open-files-action):
20299 * rect.el (delete-whitespace-rectangle-line)
20300 (rectangle-number-line-callback):
20301 * register.el (window-configuration-to-register)
20302 (frame-configuration-to-register):
20303 * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
20304 * select.el (xselect-convert-to-string, xselect-convert-to-length)
20305 (xselect-convert-to-targets, xselect-convert-to-delete)
20306 (xselect-convert-to-filename, xselect-convert-to-charpos)
20307 (xselect-convert-to-lineno, xselect-convert-to-colno)
20308 (xselect-convert-to-os, xselect-convert-to-host)
20309 (xselect-convert-to-user, xselect-convert-to-class)
20310 (xselect-convert-to-name, xselect-convert-to-integer)
20311 (xselect-convert-to-atom, xselect-convert-to-identity):
20312 * subr.el (declare, ignore, process-kill-without-query)
20313 (text-clone-maintain):
20314 * terminal.el (te-get-char, te-tic-sentinel):
20315 * tool-bar.el (tool-bar-make-keymap):
20316 * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
20317 * type-break.el (type-break-mode, type-break-noninteractive-query):
20318 * view.el (View-back-to-mark):
20319 * wid-browse.el (widget-browse-action, widget-browse-widget)
20320 (widget-browse-widgets, widget-browse-sexp):
20321 * widget.el (define-widget-keywords):
20322 * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
20323 Mark unused parameters.
20324
20325 * align.el (align-adjust-col-for-rule): Mark unused parameter.
20326 (align-areas): Remove unused variable `look'.
20327 (align-region): Remove unused variables `real-end' and `pos-list'.
20328
20329 * apropos.el (apropos-score-doc): Remove unused variable `i'.
20330
20331 * bindings.el (mode-line-modified, mode-line-remote):
20332 Mark unused parameters.
20333 (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
20334
20335 * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
20336 (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
20337
20338 * comint.el (comint-history-isearch-pop-state)
20339 (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
20340 (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
20341 (comint-substitute-in-file-name): Doc fix.
20342
20343 * completion.el (cmpl-statistics-block): Mark unused parameter.
20344 (add-completions-from-tags-table, add-completions-from-lisp-buffer)
20345 (save-completions-to-file, load-completions-from-file):
20346 Remove unused local variable `e'.
20347
20348 * composite.el (compose-chars): Remove unused variable `len'.
20349 (lgstring-insert-glyph): Remove unused variable `g'.
20350 (compose-glyph-string): Remove unused variables `ascent',
20351 `descent', `lbearing' and `rbearing'.
20352 (compose-glyph-string-relative): Remove unused variables
20353 `lbearing', `rbearing' and `wadjust'.
20354 (compose-gstring-for-graphic): Remove unused variables `header',
20355 `wadjust', `xoff' and `yoff'. Use `let', not `let*'.
20356 (compose-gstring-for-terminal): Remove unused variables `header'
20357 and `nchars'. Use `let', not `let*'.
20358
20359 * cus-edit.el (Custom-set, Custom-save, custom-reset)
20360 (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
20361 (Custom-buffer-done, custom-buffer-create-internal)
20362 (custom-browse-visibility-action, custom-browse-group-tag-action)
20363 (custom-browse-variable-tag-action, custom-browse-face-tag-action)
20364 (widget-magic-mouse-down-action, custom-toggle-parent)
20365 (custom-add-parent-links, custom-toggle-hide-variable)
20366 (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
20367 (custom-toggle-hide-face, face, hook, custom-group-link-action)
20368 (custom-face-menu-create, custom-variable-menu-create, get)
20369 (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
20370 (custom-reset-standard-save-and-update): Remove unused variable `value'.
20371 (customize-apropos): Remove unused variable `tests'.
20372 (custom-group-value-create): Remove unused variable `hidden-p'.
20373 (sort-fold-case): Declare.
20374
20375 * cus-theme.el (custom-reset-standard-faces-list)
20376 (custom-reset-standard-variables-list): Declare.
20377 (customize-create-theme, custom-theme-revert, custom-theme-write)
20378 (custom-theme-choose-mode, customize-themes, custom-theme-save):
20379 Mark unused parameters.
20380
20381 * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
20382
20383 * delim-col.el (delimit-columns-max): Move defvar before first use.
20384
20385 * descr-text.el (describe-char-categories): Don't quote `lambda'.
20386 (describe-char): Don't quote `lambda'. Mark unused parameter.
20387
20388 * desktop.el (desktop-save-buffer-p): Mark unused parameter.
20389 (auto-insert): Declare.
20390 (desktop-restore-file-buffer): Rename desktop-* parameters;
20391 mark unused ones.
20392 (desktop-create-buffer): Rename desktop-* parameters and bind them.
20393 (desktop-buffer): Rename desktop-* parameters.
20394
20395 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
20396 (dframe-reposition-frame-xemacs, dframe-help-echo)
20397 (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
20398 Mark unused parameters.
20399
20400 * dired-aux.el (backup-extract-version-start, overwrite-query)
20401 (overwrite-backup-query, rename-regexp-query)
20402 (rename-non-directory-query): Declare.
20403 (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
20404 (dired-add-entry): Remove unused variable `orig-file-name'.
20405 (dired-copy-file-recursive): Remove unused variable `dirfailed'.
20406 Use parameter PRESERVE-TIME instead of accessing dynamic variable
20407 `dired-copy-preserve-time' directly.
20408 (dired-do-create-files-regexp): Remove unused variable `fn-count'.
20409 (dired-insert-subdir-newpos): Rename unused variable `pos'.
20410
20411 * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
20412 (dired-virtual-revert, dired-make-relative-symlink):
20413 Mark unused parameters.
20414 (manual-program): Declare.
20415 (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
20416 (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
20417 wrapped in `with-no-warnings' to avoid replacing one warning by another.
20418
20419 * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
20420
20421 * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
20422
20423 * echistory.el (electric-history-in-progress, Helper-return-blurb):
20424 Declare.
20425
20426 * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
20427
20428 * electric.el (Electric-command-loop): Rename parameter
20429 INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
20430
20431 * expand.el (expand-in-literal): Remove unused variable `here'.
20432
20433 * facemenu.el (facemenu-add-new-color):
20434 Remove unused variable `docstring'.
20435
20436 * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
20437 (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
20438 (face-attr-construct): Mark unused parameter. Doc fix.
20439 (read-color): Remove unused variable `hex-string'.
20440
20441 * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
20442 (locate-dominating-file): Remove unused vars `prev-file' and `user'.
20443 (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
20444 (display-buffer-other-frame): Remove unused variable `old-window'.
20445 (kill-buffer-hook): Declare.
20446 (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
20447 Mark unused parameters.
20448 (after-find-file): Pass 1 to `auto-save-mode', not t.
20449
20450 * files-x.el (auto-insert): Declare.
20451 (modify-file-local-variable-prop-line): Remove unused variable `val'.
20452
20453 * find-lisp.el (find-lisp-find-dired-internal): Remove unused
20454 variable `buf'. Mark unused parameter.
20455 (find-lisp-insert-directory): Mark unused parameter.
20456
20457 * format.el (format-decode-run-method): Mark unused parameter; doc fix.
20458 (format-encode-region): Remove unused variables `cur-buf' and `result'.
20459 (format-common-tail): Remove, unused.
20460 (format-deannotate-region): Remove unused variable `loc'.
20461 (format-annotate-region): Remove unused variable `p'.
20462 (format-annotate-single-property-change): Remove unused variables
20463 `default' and `tail'.
20464
20465 * forms.el (read-file-filter): Declare.
20466 (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
20467
20468 * frame.el (frame-creation-function-alist): Mark unused parameter.
20469 (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
20470
20471 * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
20472 Remove unused parameters.
20473 (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
20474 (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
20475
20476 * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
20477 (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
20478 (hfy-prepare-tag-map): Mark unused parameters.
20479 (htmlfontify-buffer): Use `called-interactively-p'.
20480
20481 * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
20482 (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
20483 (ibuffer-do-occur): Mark unused parameters.
20484 (ibuffer-forward-next-marked): Remove unused variable `curmark'.
20485 (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
20486
20487 * ibuffer.el: Don't quote `lambda'.
20488 (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
20489 (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
20490 Mark unused parameters.
20491
20492 * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
20493 (ido-completing-read): Mark unused parameters.
20494 (ido-copy-current-word): Mark unused parameters;
20495 remove unused variable `name'.
20496 (ido-sort-merged-list): Remove unused parameter `dirs'.
20497
20498 * ielm.el (ielm-input-sender): Mark unused parameter.
20499 (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
20500 (ielm-output, ielm-wbuf, ielm-pmark): Declare.
20501 (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
20502 `ielm-string' as a dynamic variable accessible from the IELM prompt.
20503 Bind `ielm-string' to INPUT-STRING. Remove unused variable `err'.
20504
20505 * image-dired.el (image-dired-display-thumbs): Remove unused
20506 variables `curr-file' and `count'.
20507 (image-dired-remove-tag): Remove unused variable `start'.
20508 (image-dired-tag-files, image-dired-create-thumbs): Remove unused
20509 variable `curr-file'
20510 (image-dired-rotate-original): Remove unused variable `temp-file'.
20511 (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
20512 Remove unused variable `file'.
20513 (image-dired-gallery-generate): Remove unused variable `curr'.
20514 (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
20515
20516 * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
20517
20518 * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
20519
20520 * informat.el (texinfo-command-start, texinfo-command-end): Declare.
20521
20522 * isearch.el (minibuffer-history-symbol): Declare.
20523 (isearch-edit-string): Remove unused variable `err'.
20524 (isearch-message-prefix, isearch-message-suffix):
20525 Mark unused parameters.
20526
20527 * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
20528
20529 * macros.el (insert-kbd-macro): Remove unused variable `mods'.
20530
20531 * makesum.el (double-column): Remove unused variable `cnt'.
20532
20533 * misearch.el (multi-isearch-pop-state): Mark unused parameter.
20534 (ido-ignore-item-temp-list): Declare.
20535
20536 * mouse-drag.el (mouse-drag-throw): Remove unused variables
20537 `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
20538 `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
20539 (mouse-drag-drag): Remove unused variables `mouse-delta' and
20540 `mouse-col-delta'.
20541
20542 * mouse-sel.el (mouse-extend-internal):
20543 Remove unused variable `orig-window-frame'.
20544
20545 * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
20546 (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
20547 Move declarations before first use.
20548 (pcomplete-opt): Mark unused parameters; doc fix.
20549
20550 * proced.el (proced-revert): Mark unused parameter.
20551 (proced-send-signal): Remove unused variable `err'.
20552
20553 * ps-print.el (ps-print-preprint-region, ps-print-preprint):
20554 Rename parameter PREFIX-ARG to ARG.
20555 (ps-basic-plot-string, ps-basic-plot-whitespace):
20556 Mark unused parameters.
20557
20558 * replace.el (replace-count): Define.
20559 (occur-revert-function): Mark unused parameters.
20560 (ido-ignore-item-temp-list, isearch-error, isearch-forward)
20561 (isearch-case-fold-search, isearch-string): Declare.
20562 (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
20563 bind `case-fold-search'. Remove unused variables `beg' and `end',
20564 and simplify.
20565 (replace-eval-replacement): Rename parameter REPLACE-COUNT to
20566 COUNT and bind `replace-count'.
20567 (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
20568 to COUNT.
20569
20570 * savehist.el (print-readably, print-string-length): Declare.
20571
20572 * shadowfile.el (shadow-expand-cluster-in-file-name):
20573 Remove unused variable `cluster'.
20574 (shadow-copy-file): Remove unused variable `i'.
20575 (shadow-noquery, shadow-clusters, shadow-site-cluster)
20576 (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
20577 (shadow-define-literal-group, shadow-define-regexp-group)
20578 (shadow-make-group, shadow-shadows-of): Clean up docstrings.
20579
20580 * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
20581 (shell): Use `called-interactively-p'.
20582 (shell-directory-tracker): Remove unused variable `chdir-failure'.
20583
20584 * simple.el (compilation-context-lines, comint-file-name-quote-list)
20585 (comint-file-name-chars, comint-delimiter-argument-list): Declare.
20586 (delete-backward-char): Remove unused variable `ocol'.
20587 (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
20588 (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
20589 (event-apply-hyper-modifier, event-apply-shift-modifier)
20590 (event-apply-control-modifier, event-apply-meta-modifier):
20591 Mark unused parameters.
20592 (undo-make-selective-list): Remove duplicate variable `undo-elt'.
20593 (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
20594
20595 * speedbar.el (speedbar-ignored-directory-expressions)
20596 (speedbar-supported-extension-expressions, speedbar-directory-buttons)
20597 (speedbar-find-file, speedbar-dir-follow)
20598 (speedbar-directory-buttons-follow, speedbar-tag-find)
20599 (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
20600 (speedbar-buffers-line-directory, speedbar-buffer-click):
20601 Mark unused parameters.
20602 (speedbar-tag-file): Remove unused variable `mode'.
20603 (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
20604
20605 * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
20606
20607 * talk.el (talk): Remove unused variable `display'.
20608
20609 * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
20610 (tar-write-region-annotate): Mark unused parameter.
20611
20612 * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
20613 (minutes, seconds, time-zone, day, year, monthname, month, dayname):
20614 Declare them, wrapped in `with-no-warnings' to avoid replacing one
20615 warning by another.
20616
20617 * time-stamp.el (time-stamp-string-preprocess):
20618 Remove unused variable `require-padding'.
20619
20620 * tree-widget.el (widget-glyph-enable): Declare.
20621 (tree-widget-action): Mark unused parameter.
20622
20623 * w32-fns.el (x-get-selection): Mark unused parameter.
20624 (autoload-make-program, generated-autoload-file): Declare.
20625
20626 * wdired.el (wdired-revert): Mark unused parameters.
20627 (wdired-xcase-word): Remove unused variable `err'.
20628
20629 * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
20630 (whitespace-help-scroll): Remove unused variable `data-help'.
20631
20632 * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
20633 (widget-image-insert, widget-after-change, default)
20634 (widget-default-format-handler, widget-default-notify)
20635 (widget-default-prompt-value, widget-info-link-action)
20636 (widget-url-link-action, widget-function-link-action)
20637 (widget-variable-link-action, widget-file-link-action)
20638 (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
20639 (widget-field-prompt-internal, widget-field-action, widget-field-match)
20640 (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
20641 (widget-insert-button-action, widget-delete-button-action, visibility)
20642 (widget-documentation-link-action, widget-documentation-string-action)
20643 (widget-const-prompt-value, widget-regexp-match, symbol)
20644 (widget-coding-system-prompt-value)
20645 (widget-key-sequence-value-to-external, sexp)
20646 (widget-sexp-value-to-internal, character, vector, cons)
20647 (widget-choice-prompt-value, widget-boolean-prompt-value)
20648 (widget-color--choose-action): Mark unused parameters.
20649 (widget-item-match-inline, widget-choice-match-inline)
20650 (widget-checklist-match, widget-checklist-match-inline)
20651 (widget-group-match): Rename parameter VALUES to VALS.
20652 (widget-field-value-set): Remove unused variable `size'.
20653 (widget-color-action): Remove unused variables `value' and `start'.
20654
20655 * windmove.el (windmove-wrap-loc-for-movement): Remove unused
20656 variable `dir'. Doc fix.
20657 (windmove-find-other-window): Don't pass it.
20658
20659 * window.el (count-windows): Mark unused parameter.
20660 (bw-adjust-window): Remove unused variable `err'.
20661
20662 * woman.el (woman-file-name): Remove unused variable `default'.
20663 (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
20664 WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
20665 (global-font-lock-mode): Declare.
20666 (woman-decode-region): Mark unused parameter.
20667 (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
20668
20669 * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
20670 (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
20671 (x-dnd-handle-moz-url): Remove unused variable `title'.
20672 (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
20673
20674 * xml.el (xml-parse-tag, xml-parse-attlist):
20675 Remove unused variable `pos'.
20676
20677 2011-04-19 Glenn Morris <rgm@gnu.org>
20678
20679 * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
20680 (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
20681 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
20682 (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
20683 * calendar/cal-html.el (cal-html-insert-minical):
20684 * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
20685 (calendar-mark-date-pattern):
20686 Prefix "unused" locals.
20687
20688 * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
20689 optional argument `style'.
20690
20691 * calendar/appt.el (appt-make-list):
20692 * calendar/cal-china.el (calendar-chinese-date-string):
20693 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
20694 (diary-hebrew-yahrzeit):
20695 * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
20696 * calendar/calendar.el (calendar-generate-window):
20697 * calendar/time-date.el (time-to-days):
20698 Remove unused local variables.
20699
20700 2011-04-18 Chong Yidong <cyd@stupidchicken.com>
20701
20702 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
20703 glyphless-char-display table.
20704 (tabulated-list-glyphless-char-display): New var.
20705
20706 2011-04-18 Sam Steingold <sds@gnu.org>
20707
20708 * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
20709 to acknowledgments.
20710
20711 2011-04-17 Glenn Morris <rgm@gnu.org>
20712
20713 * calendar/diary-lib.el (diary-sexp-entry):
20714 * calendar/holidays.el (holiday-sexp):
20715 Set debug-on-error rather than the removed stack-trace-on-error.
20716
20717 2011-04-16 Glenn Morris <rgm@gnu.org>
20718
20719 * progmodes/f90.el: Use lexical-binding.
20720 (f90-get-correct-indent): Remove unnecessary local variable `cont'.
20721
20722 2011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
20723
20724 * mail/sendmail.el (mail-mode-map): Use completion-at-point.
20725 (mail-mode): Setup mailalias completion here instead.
20726 * mail/mailalias.el: Use lexical-binding.
20727 (pattern, mailalias-done): Declare dynamic.
20728 (mail-completion-at-point-function): New function, from mail-complete.
20729 (mail-complete): Use it.
20730 (mail-completion-expand): New function.
20731 (mail-get-names): Use it.
20732 (mail-directory, mail-directory-process, mail-directory-stream):
20733 Don't use `pattern' for lexically bound arg.
20734
20735 * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
20736
20737 * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
20738 (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
20739 (hfy-etags-cmd-alist): Don't eval-and-compile any more.
20740
20741 * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
20742 (byte-save-window-excursion, byte-temp-output-buffer-setup)
20743 (byte-interactive-p): Define them again, for use when inlining
20744 old code.
20745
20746 2011-04-15 Juanma Barranquero <lekktu@gmail.com>
20747
20748 * loadup.el: Use `string-to-number', not `string-to-int'.
20749
20750 2011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
20751
20752 * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
20753 gud-gdb-complete-command.
20754 (gud-gdb-completions): New function, from gud-gdb-complete-command.
20755 (gud-gdb-completion-at-point): New function.
20756 (gud-gdb-completions): Remove.
20757
20758 2011-04-14 Michael Albinus <michael.albinus@gmx.de>
20759
20760 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
20761 when the scripts fail. Use `tramp-do-file-attributes-with-ls' then.
20762 (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
20763 whether `executable-find' is bound.
20764
20765 * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
20766
20767 2011-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
20768
20769 * minibuffer.el (completion-in-region-mode-predicate)
20770 (completion-in-region-mode--predicate): New vars.
20771 (completion-in-region, completion-in-region--postch)
20772 (completion-in-region-mode): Use them.
20773 (completion--capf-wrapper): Also return the hook function.
20774 (completion-at-point, completion-help-at-point):
20775 Adjust and provide a predicate.
20776
20777 Preserve arg names for advice of subr and lexical functions (bug#8457).
20778 * help-fns.el (help-function-arglist): Consolidate the subr and
20779 new-byte-code cases. Add argument `preserve-names' to extract names
20780 from the docstring when needed.
20781 * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
20782 (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
20783 (ad-arglist): Use help-function-arglist's new arg.
20784 (ad-definition-type): Use cond.
20785
20786 2011-04-13 Juanma Barranquero <lekktu@gmail.com>
20787
20788 * autorevert.el (auto-revert-handler):
20789 Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
20790 which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
20791 Don't quote lambda.
20792
20793 * image-mode.el (image-transform-set-scale):
20794 Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
20795
20796 2011-04-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
20797
20798 * net/network-stream.el (network-stream-open-starttls): Only do
20799 opportunistic STARTTLS upgrades if we have built-in GnuTLS support.
20800 Upgrades via gnutls-cli are too slow to be done opportunistically.
20801
20802 2011-04-12 Juanma Barranquero <lekktu@gmail.com>
20803
20804 * dframe.el (dframe-current-frame): Remove spurious quote.
20805
20806 2011-04-12 Glenn Morris <rgm@gnu.org>
20807
20808 * calendar/cal-tex.el (cal-tex-end-document):
20809 Try to automatically use latin1 input if needed.
20810
20811 * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
20812 Don't try to cons a mark onto an empty element.
20813
20814 2011-04-11 Leo Liu <sdl.web@gmail.com>
20815
20816 * ido.el (ido-buffer-internal): Allow method 'kill for virtual
20817 buffers.
20818 (ido-kill-buffer-at-head): Support killing virtual buffers.
20819
20820 2011-04-10 Chong Yidong <cyd@stupidchicken.com>
20821
20822 * minibuffer.el (completion-show-inline-help): New var.
20823 (completion--do-completion, minibuffer-complete)
20824 (minibuffer-force-complete, minibuffer-complete-word):
20825 Inhibit minibuffer messages if completion-show-inline-help is nil.
20826
20827 * icomplete.el (icomplete-mode): Bind completion-show-inline-help
20828 to avoid interference from inline help (Bug#5849).
20829
20830 2011-04-10 Leo Liu <sdl.web@gmail.com>
20831
20832 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
20833 Fix typo.
20834
20835 2011-04-09 Chong Yidong <cyd@stupidchicken.com>
20836
20837 * image-mode.el (image-toggle-display-image): Signal an error if
20838 not in Image mode.
20839 (image-transform-mode, image-transform-resize)
20840 (image-transform-set-rotation): Doc fix.
20841 (image-transform-set-resize): Delete.
20842 (image-transform-set-scale, image-transform-fit-to-height)
20843 (image-transform-fit-to-width): Handle image-toggle-display-image
20844 and image-transform-resize directly.
20845
20846 2011-04-08 Sho Nakatani <lay.sakura@gmail.com>
20847
20848 * doc-view.el (doc-view-fit-width-to-window)
20849 (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
20850 New functions for fitting the shown image to the Emacs window size.
20851 (doc-view-mode-map): Add bindings for the new functions.
20852
20853 2011-04-08 Juanma Barranquero <lekktu@gmail.com>
20854
20855 * vc/vc-annotate.el (vc-annotate-show-log-revision-at-line):
20856 Fix typo in docstring.
20857
20858 2011-04-08 Eli Zaretskii <eliz@gnu.org>
20859
20860 * files.el (file-size-human-readable): Produce one digit after
20861 decimal, like "ls -lh" does.
20862
20863 * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
20864 the file size representation.
20865
20866 * simple.el (list-processes): If async subprocesses are not
20867 available, error out with a clear error message.
20868
20869 2011-04-08 Chong Yidong <cyd@stupidchicken.com>
20870
20871 * help.el (help-form-show): New function, to be called from C.
20872 Put help-form output in a buffer named differently than *Help*.
20873
20874 2011-04-08 Eli Zaretskii <eliz@gnu.org>
20875
20876 * files.el (file-size-human-readable): New function.
20877
20878 * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
20879 computing the representation inline. Don't require `cl'.
20880
20881 2011-04-08 Glenn Morris <rgm@gnu.org>
20882
20883 * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
20884
20885 * net/browse-url.el (browse-url-firefox):
20886 Test system-type, not system-configuration.
20887
20888 * vc/log-edit.el (log-edit-empty-buffer-p): New function.
20889 (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
20890 Use log-edit-empty-buffer-p. (Bug#7598)
20891
20892 * net/rlogin.el (rlogin-process-connection-type): Simplify.
20893 (rlogin-mode-map): Initialize in the defvar.
20894 (rlogin): Use ignore-errors.
20895
20896 * replace.el (occur-mode-map): Some fixes for menu items.
20897
20898 2011-04-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
20899
20900 * play/morse.el (denato-region): Handle varying case. (Bug#8386)
20901
20902 2011-04-06 Chong Yidong <cyd@stupidchicken.com>
20903
20904 * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
20905 issuing unused warnings.
20906
20907 * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
20908 macro directly.
20909
20910 * simple.el: Lisp reimplement of list-processes. Based on an
20911 earlier reimplementation by Leo Liu, but using tabulated-list.el.
20912 (process-menu-mode): New major mode.
20913 (list-processes--refresh, list-processes):
20914 (process-menu-visit-buffer): New functions.
20915
20916 * files.el (save-buffers-kill-emacs): Don't assume any return
20917 value of list-processes, which is undocumented anyway.
20918
20919 2011-04-06 Chong Yidong <cyd@stupidchicken.com>
20920
20921 * emacs-lisp/tabulated-list.el: New file.
20922
20923 * emacs-lisp/package.el: Use Tabulated List mode.
20924 (package-menu-mode-map): Inherit from tabulated-list-mode-map.
20925 (package-menu-mode): Derive from tabulated-list-mode. Set up the
20926 table format using Tabulated List mode variables.
20927 (package--push): New macro, replacing package-list-maybe-add.
20928 (package-menu--generate): Use package--push. Renamed from
20929 package--generate-package-list.
20930 (package-menu-refresh, list-packages): Use it.
20931 (package-menu--print-info): Rename from package-print-package.
20932 Return insertion data instead of inserting it directly.
20933 (package-menu-describe-package, package-menu-execute):
20934 Use tabulated-list-get-id.
20935 (package-menu-mark-delete, package-menu-mark-install)
20936 (package-menu-mark-unmark, package-menu-backup-unmark)
20937 (package-menu-mark-obsolete-for-deletion):
20938 Use tabulated-list-put-tag.
20939 (package--list-packages, package-menu-revert)
20940 (package-menu-get-package, package-menu-get-version)
20941 (package-menu-sort-by-column): Functions deleted.
20942 (package-menu-package-list, package-menu-sort-key): Vars deleted.
20943 (package-menu--status-predicate, package-menu--version-predicate)
20944 (package-menu--name-predicate)
20945 (package-menu--description-predicate): Handle arguments in the
20946 Tabulated List format.
20947 (package-list-packages-no-fetch): Call list-packages.
20948
20949 2011-04-06 Juanma Barranquero <lekktu@gmail.com>
20950
20951 * files.el (after-find-file-from-revert-buffer): Remove variable.
20952 (after-find-file): Don't bind it.
20953 (revert-buffer-in-progress-p): New variable.
20954 (revert-buffer): Bind it.
20955 Pass nil for `after-find-file-from-revert-buffer'.
20956
20957 * saveplace.el (save-place-find-file-hook): Use new variable
20958 `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
20959
20960 2011-04-06 Glenn Morris <rgm@gnu.org>
20961
20962 * Makefile.in (AUTOGEN_VCS): New variable.
20963 (autoloads): Use $AUTOGEN_VCS.
20964
20965 * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
20966 * calendar/calendar.el (calendar-mode-map):
20967 Check for toolkit scroll bars. (Bug#8305)
20968
20969 2011-04-05 Chong Yidong <cyd@stupidchicken.com>
20970
20971 * minibuffer.el (completion-in-region--postch)
20972 (completion-in-region-mode): Remove unnecessary messages.
20973
20974 2011-04-05 Juanma Barranquero <lekktu@gmail.com>
20975
20976 * font-lock.el (font-lock-refresh-defaults):
20977 Don't bind `hi-lock--inhibit-font-lock-hook', removed in
20978 2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
20979
20980 * info.el (Info-directory-list, Info-read-node-name-2)
20981 (Info-split-parameter-string): Doc fixes.
20982 (Info-virtual-nodes): Reflow docstring.
20983 (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
20984 (Info-apropos-toc-nodes, info-finder, Info-get-token)
20985 (Info-find-emacs-command-nodes, Info-speedbar-key-map):
20986 Fix typos in docstrings.
20987 (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
20988 (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
20989 (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
20990 (Info-restore-desktop-buffer): Mark unused parameters.
20991 (Info-directory-find-file, Info-directory-find-node)
20992 (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
20993 (Info-virtual-index-find-node, Info-apropos-find-file)
20994 (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
20995 Mark unused parameters; fix typos in docstrings.
20996 (Info-virtual-index): Remove unused local variable `nodename'.
20997
20998 2011-04-05 Deniz Dogan <deniz@dogan.se>
20999
21000 * net/rcirc.el: Update my e-mail address.
21001 (rcirc-mode-map): Remove M-o binding.
21002
21003 2011-04-05 Chong Yidong <cyd@stupidchicken.com>
21004
21005 * startup.el (command-line): Save the cursor's theme-face
21006 directly, instead of using face-override-spec.
21007
21008 * custom.el (load-theme): Minor optimization in assigning faces.
21009
21010 2011-04-04 Juanma Barranquero <lekktu@gmail.com>
21011
21012 * help-fns.el (describe-variable): Complete all variables having
21013 documentation, including keywords.
21014 http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
21015
21016 2011-04-04 Juanma Barranquero <lekktu@gmail.com>
21017
21018 Convert to lexical-binding.
21019
21020 * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
21021 (bs--get-marked-string, bs--get-modified-string)
21022 (bs--get-readonly-string, bs--get-size-string, bs--get-name)
21023 (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
21024 (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
21025
21026 * ehelp.el (electric-help-execute-extended)
21027 (electric-help-ctrl-x-prefix):
21028 * hexl.el (hexl-revert-buffer-function):
21029 * linum.el (linum-after-change, linum-after-scroll):
21030 * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
21031
21032 * help-fns.el (help-describe-category-set): Remove unused ERR variable.
21033
21034 2011-04-04 Daiki Ueno <ueno@unixuser.org>
21035
21036 * epa-dired.el:
21037 * epa-mail.el:
21038 * epa-hook.el:
21039 * epa-file.el:
21040 * epa.el:
21041 * epg.el: Use lexical binding.
21042
21043 2011-04-03 Chong Yidong <cyd@stupidchicken.com>
21044
21045 * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
21046
21047 * textmodes/flyspell.el (flyspell-word): Recognize default
21048 dictionary case for flyspell-mark-duplications-exceptions.
21049 Use regexp matching for languages.
21050 (flyspell-mark-duplications-exceptions): Add "that" and "had" for
21051 default dictionary (Bug#7926).
21052
21053 2011-04-02 Chong Yidong <cyd@stupidchicken.com>
21054
21055 * emacs-lisp/package.el (package--with-work-buffer):
21056 Recognize https URLs.
21057
21058 * net/network-stream.el: Move from gnus/proto-stream.el.
21059 Change prefix to network-stream throughout.
21060 (open-protocol-stream): Merge into open-network-stream, leaving
21061 open-protocol-stream as an alias. Handle nil BUFFER args.
21062
21063 * subr.el (open-network-stream): Move to net/network-stream.el.
21064
21065 2011-04-02 Glenn Morris <rgm@gnu.org>
21066
21067 * find-dired.el (find-exec-terminator): New option.
21068 (find-ls-option): Test for -ls support.
21069 (find-ls-subdir-switches): Test for -b in find-ls-option.
21070 (find-dired, find-grep-dired): Doc fixes.
21071 (find-dired): Use find-exec-terminator.
21072
21073 * find-dired.el (find-ls-option, find-ls-subdir-switches)
21074 (find-grep-options): Do not autoload these defcustoms, remove purecopy.
21075 (find-name-arg): Remove purecopy.
21076
21077 * progmodes/grep.el (grep-find-use-xargs): Doc fix.
21078 (grep-compute-defaults): Check for `-exec COMMAND +' support.
21079 Set grep-find-use-xargs, grep-find-command, and grep-find-template
21080 accordingly. Don't add the null-device if not needed.
21081
21082 * files.el (save-some-buffers): Doc fix.
21083
21084 2011-04-02 Eli Zaretskii <eliz@gnu.org>
21085
21086 * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
21087
21088 2011-04-01 Juanma Barranquero <lekktu@gmail.com>
21089
21090 * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
21091 Use `dolist' rather than `mapcar'.
21092
21093 2011-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
21094
21095 Add lexical binding.
21096
21097 * subr.el (apply-partially): Use new closures rather than CL.
21098 (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
21099 (dolist, dotimes): Use slightly different expansion for lexical code.
21100 (functionp): Move to C.
21101 (letrec): New macro.
21102 (with-wrapper-hook): Use it and apply-partially instead of CL.
21103 (eval-after-load): Preserve lexical-binding.
21104 (save-window-excursion, with-output-to-temp-buffer): Turn them
21105 into macros.
21106
21107 * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
21108
21109 * help-fns.el (help-split-fundoc): Return nil if there's nothing else
21110 than the arglist.
21111 (help-add-fundoc-usage): Don't add `Not documented'.
21112 (help-function-arglist): Handle closures, subroutines, and new
21113 byte-code-functions.
21114 (help-make-usage): Remove leading underscores.
21115 (describe-function-1): Handle closures.
21116 (describe-variable): Use special-variable-p for completion.
21117
21118 * files.el (lexical-binding): Declare safe.
21119
21120 * emacs-lisp/pcase.el: Don't use destructuring-bind.
21121 (pcase--memoize): Rename from pcase-memoize. Change weakness.
21122 (pcase): Add `let' pattern.
21123 Change memoization so it actually works.
21124 (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
21125 (pcase--u1) <guard, pred>: Fix possible shadowing problem.
21126 <let>: New case.
21127
21128 * emacs-lisp/macroexp.el: Use lexical binding.
21129 (macroexpand-all-1): Check obsolete macros. Expand compiler-macros.
21130 Don't convert ' to #' without checking that it's indeed quoting
21131 a lambda.
21132
21133 * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
21134 Use eval-sexp-add-defvars.
21135 (eval-sexp-add-defvars): New fun.
21136
21137 * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
21138
21139 * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
21140 Don't autoload.
21141 (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
21142 than the internal `byte-compile-lambda'.
21143 (defmethod): Don't hide code under quotes.
21144 (eieio-defmethod): New `code' argument.
21145
21146 * emacs-lisp/eieio-comp.el: Remove.
21147
21148 * emacs-lisp/edebug.el (edebug-eval-defun)
21149 (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
21150 (edebug-toggle): Avoid `eval'.
21151
21152 * emacs-lisp/disass.el (disassemble-internal): Handle new
21153 `closure' objects.
21154 (disassemble-1): Handle new byte codes.
21155
21156 * emacs-lisp/cl.el (pushnew): Silence warning.
21157
21158 * emacs-lisp/cl-macs.el (cl-byte-compile-block)
21159 (cl-byte-compile-throw): Remove.
21160 (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
21161
21162 * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
21163 closures.
21164
21165 * emacs-lisp/cconv.el: New file.
21166
21167 * emacs-lisp/bytecomp.el: Use lexical binding instead of
21168 a "bytecomp-" prefix. Macroexpand everything as a separate phase.
21169 (byte-compile-initial-macro-environment):
21170 Handle declare-function here.
21171 (byte-compile--lexical-environment): New var.
21172 (byte-stack-ref, byte-stack-set, byte-discardN)
21173 (byte-discardN-preserve-tos): New lap codes.
21174 (byte-interactive-p): Don't use any more.
21175 (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
21176 New macros.
21177 (byte-compile-lapcode): Use them and handle new lap codes.
21178 (byte-compile-obsolete): Remove.
21179 (byte-compile-arglist-signature): Handle new byte-code arg"lists".
21180 (byte-compile-arglist-warn): Check late def of inlinable funs.
21181 (byte-compile-cl-warn): Don't silence warnings for compiler-macros
21182 since they should have been expanded by now.
21183 (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
21184 (byte-compile-from-buffer): Remove unused second arg.
21185 (byte-compile-preprocess): New function.
21186 (byte-compile-toplevel-file-form): New function to distinguish
21187 file-form calls from outside from file-form calls from hunk-handlers.
21188 (byte-compile-file-form): Simplify.
21189 (byte-compile-file-form-defsubst): Remove.
21190 (byte-compile-file-form-defmumble): Simplify now that
21191 byte-compile-lambda always returns a byte-code-function.
21192 (byte-compile): Preprocess.
21193 (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
21194 Remove, not used any more.
21195 (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
21196 (byte-compile-make-args-desc): New funs.
21197 (byte-compile-lambda): Handle lexical functions. Always return
21198 a byte-code-function.
21199 (byte-compile-reserved-constants): New var, to make up room for
21200 closed-over variables.
21201 (byte-compile-constants-vector): Obey it.
21202 (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
21203 (byte-compile-macroexpand-declare-function): New function.
21204 (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
21205 byte-code-functions.
21206 (byte-compile-form): Check obsolescence here.
21207 (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
21208 (byte-compile-variable-ref): Remove.
21209 (byte-compile-dynamic-variable-op): New fun.
21210 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
21211 (byte-compile-variable-set): New funs.
21212 (byte-compile-discard): Add 2 args.
21213 (byte-compile-stack-ref, byte-compile-stack-set)
21214 (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
21215 (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
21216 macroexpand-all instead.
21217 (byte-compile-quote-form): Remove.
21218 (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
21219 (byte-compile-bind, byte-compile-unbind): New funs.
21220 (byte-compile-let): Handle let* and lexical binding.
21221 (byte-compile-let*): Remove.
21222 (byte-compile-catch, byte-compile-unwind-protect)
21223 (byte-compile-track-mouse, byte-compile-condition-case):
21224 Handle a new :fun-body form, used for lexical scoping.
21225 (byte-compile-save-window-excursion)
21226 (byte-compile-with-output-to-temp-buffer): Remove.
21227 (byte-compile-defun): Simplify.
21228 (byte-compile-stack-adjustment): New fun.
21229 (byte-compile-out): Use it.
21230 (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
21231
21232 * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
21233 handler any more.
21234
21235 * emacs-lisp/byte-opt.el: Use lexical binding.
21236 (byte-inline-lapcode): Remove (to bytecomp).
21237 (byte-compile-inline-expand): Pay attention to inlining to/from
21238 lexically bound code.
21239 (byte-compile-unfold-lambda): Don't handle byte-code-functions
21240 any more.
21241 (byte-optimize-form-code-walker): Don't handle save-window-excursion
21242 any more and don't call compiler-macros.
21243 (byte-compile-splice-in-already-compiled-code): Remove.
21244 (byte-code): Don't inline any more.
21245 (disassemble-offset): Receive `bytes' as argument rather than via
21246 dynamic scoping.
21247 (byte-compile-tag-number): Declare before first use.
21248 (byte-decompile-bytecode-1): Handle new byte-codes, don't change
21249 `return' even if make-spliceable.
21250 (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
21251 obsolete interactive-p.
21252 (byte-optimize-lapcode): Optimize new lap-codes.
21253 Don't trip up on new form of `byte-constant' lap code.
21254
21255 * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
21256
21257 * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
21258
21259 * custom.el (custom-initialize-default, custom-declare-variable):
21260 Use `defvar'.
21261
21262 * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
21263 New variables.
21264 (compile-onefile, .el.elc, compile-calc, recompile): Use them.
21265 (COMPILE_FIRST): Add macroexp and cconv.
21266 * makefile.w32-in: Mirror changes in Makefile.in.
21267
21268 * vc/cvs-status.el:
21269 * vc/diff-mode.el:
21270 * vc/log-edit.el:
21271 * vc/log-view.el:
21272 * vc/smerge-mode.el:
21273 * textmodes/bibtex-style.el:
21274 * textmodes/css-mode.el:
21275 * startup.el:
21276 * uniquify.el:
21277 * minibuffer.el:
21278 * newcomment.el:
21279 * reveal.el:
21280 * server.el:
21281 * mpc.el:
21282 * emacs-lisp/smie.el:
21283 * doc-view.el:
21284 * dired.el:
21285 * abbrev.el: Use lexical binding.
21286
21287 2011-04-01 Eli Zaretskii <eliz@gnu.org>
21288
21289 * info.el (info-display-manual): New function.
21290
21291 2011-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
21292
21293 * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
21294
21295 2011-03-31 Tassilo Horn <tassilo@member.fsf.org>
21296
21297 * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
21298 an entry for that server in rcirc-authinfo. (Bug#8385)
21299
21300 2011-03-31 Glenn Morris <rgm@gnu.org>
21301
21302 * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
21303
21304 * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
21305
21306 2011-03-30 Christoph Scholtes <cschol2112@googlemail.com>
21307
21308 * progmodes/python.el (python-default-interpreter)
21309 (python-python-command-args, python-jython-command-args)
21310 (python-which-shell, python-which-args, python-which-bufname)
21311 (python-file-queue, python-comint-output-filter-function)
21312 (python-toggle-shells, python-shell): Remove obsolete defcustoms,
21313 variables and functions.
21314
21315 2011-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
21316
21317 * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
21318 (completion-in-region-mode): New minor mode.
21319 (completion-in-region): Use it.
21320 (completion-in-region--data, completion-in-region-mode-map): New vars.
21321 (completion-in-region--postch): New function.
21322 (completion--capf-misbehave-funs, completion--capf-safe-funs):
21323 New vars.
21324 (completion--capf-wrapper): New function.
21325 (completion-at-point): Use it to track well-behavedness of
21326 hook functions.
21327 (completion-help-at-point): New command.
21328
21329 2011-03-30 Jason Merrill <jason@redhat.com> (tiny change)
21330
21331 * vc/add-log.el (add-change-log-entry): Don't use whitespace
21332 syntax class to search for whitespace on a single line
21333 (Message-ID: <4D938140.4030905@redhat.com>).
21334
21335 2011-03-30 Leo Liu <sdl.web@gmail.com>
21336
21337 * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
21338 New commands.
21339 (edit-abbrevs-map): Bind them here.
21340 (write-abbrev-file): New optinal arg VERBOSE. (Bug#5937)
21341
21342 2011-03-29 Ken Manheimer <ken.manheimer@gmail.com>
21343
21344 * allout.el (allout-hide-by-annotation, allout-flag-region):
21345 Reduce possibility of overlay leakage by making them volatile.
21346
21347 * allout-widgets.el (allout-widgets-tally): Define as nil so the
21348 hash is not shared between buffers. Mode initialization is
21349 responsible for giving it a useful starting value.
21350 (allout-item-span): Reduce possibility of overlay leakage by
21351 making them volatile.
21352 (allout-widgets-count-buttons-in-region): Add diagnostic function
21353 for tracking down button overlay leaks.
21354
21355 2011-03-29 Leo Liu <sdl.web@gmail.com>
21356
21357 * ido.el (ido-read-internal): Use the default history var
21358 minibuffer-history if no HISTORY is specified.
21359
21360 2011-03-28 Brian T. Sniffen <bsniffen@akamai.com> (tiny change)
21361
21362 * net/imap.el (imap-shell-open, imap-process-connection-type):
21363 Use imap-process-connection-type for 'shell' streams as well as
21364 Kerberos, SSL, other subprocesses.
21365
21366 2011-03-28 Leo Liu <sdl.web@gmail.com>
21367
21368 * abbrev.el (abbrev-table-empty-p): New function.
21369 (prepare-abbrev-list-buffer): Place empty abbrev tables after
21370 nonempty ones. (Bug#5937)
21371
21372 2011-03-27 Jan Djärv <jan.h.d@swipnet.se>
21373
21374 * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
21375
21376 2011-03-27 Leo Liu <sdl.web@gmail.com>
21377
21378 * ansi-color.el (ansi-color-names-vector): Allow cons cell value
21379 for foreground and background colors.
21380 (ansi-color-make-color-map): Adapt.
21381
21382 2011-03-25 Leo Liu <sdl.web@gmail.com>
21383
21384 * midnight.el (midnight-time-float): Remove. Note it calculates
21385 the microsecond component incorrectly and seconds-to-time does the
21386 same job.
21387 Remove redundant (require 'timer).
21388
21389 * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
21390 (ido-completions): Remove unused arguments. (Bug#8329)
21391
21392 2011-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
21393
21394 * minibuffer.el (completion--flush-all-sorted-completions):
21395 Remove itself from hook.
21396 (completion-at-point): Let the functions perform the completion
21397 immediately and return nil or t.
21398 * comint.el (comint-dynamic-complete-functions): Now identical to
21399 completion-at-point-functions.
21400 (comint-dynamic-list-input-ring): Remove unused var `index'.
21401 (comint--match-partial-filename, comint--unquote&expand-filename):
21402 New funs, split from comint-match-partial-filename.
21403 (comint-dynamic-complete): Use completion-at-point.
21404 (comint-dynamic-complete-filename): Use comint--match-partial-filename.
21405
21406 2011-03-24 Drew Adams <drew.adams@oracle.com>
21407
21408 * thingatpt.el: Support `defun'.
21409
21410 2011-03-23 Leo Liu <sdl.web@gmail.com>
21411
21412 * abbrevlist.el: Move to obsolete/abbrevlist.el.
21413
21414 * help-mode.el (help-mode-finish): Tweak regexp.
21415
21416 2011-03-23 Glenn Morris <rgm@gnu.org>
21417
21418 * eshell/esh-opt.el (eshell-eval-using-options):
21419 Do not bind unused local variable `eshell-option-stub'.
21420
21421 * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
21422
21423 2011-03-22 Juanma Barranquero <lekktu@gmail.com>
21424
21425 * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
21426 keymap variable in `with-no-warnings' to avoid a warning when the
21427 keymap has been already `defconst'ed.
21428
21429 2011-03-22 Leo Liu <sdl.web@gmail.com>
21430
21431 * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
21432 encode all chars in abbrevs; otherwise use emacs-mule or
21433 utf-8-emacs. (Bug#8308)
21434
21435 2011-03-22 Juanma Barranquero <lekktu@gmail.com>
21436
21437 * simple.el (backward-delete-char-untabify):
21438 Avoid warning about using `delete-backward-char'.
21439
21440 * image.el (image-type-file-name-regexps): Make it variable.
21441 `imagemagick-register-types' modifies it, and the user may want
21442 to add new extensions for known image types.
21443 (imagemagick-register-types): Throw error if not using ImageMagick.
21444
21445 2011-03-22 Leo Liu <sdl.web@gmail.com>
21446
21447 * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
21448 located before rcirc-prompt-end-marker.
21449 (rcirc-complete): Error if point is not after rcirc prompt.
21450 Handle the case when table is nil.
21451 (rcirc-user-authenticated): Define to fix compiler warning.
21452
21453 2011-03-22 Chong Yidong <cyd@stupidchicken.com>
21454
21455 * custom.el (custom--inhibit-theme-enable): Make it affect only
21456 custom-theme-set-variables and custom-theme-set-faces.
21457 (provide-theme): Ignore custom--inhibit-theme-enable.
21458 (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
21459 (custom-enabling-themes): Delete variable.
21460 (enable-theme): Accept only loaded themes as arguments.
21461 Ignore the special custom-enabled-themes variable.
21462 (custom-enabled-themes): Forbid themes from setting this.
21463 Eliminate use of custom-enabling-themes.
21464 (custom-push-theme): Quote "changed" custom var entry.
21465
21466 2011-03-21 Leo Liu <sdl.web@gmail.com>
21467
21468 * ido.el (ido-read-internal): Add ido-selected to history instead
21469 of user input.
21470
21471 2011-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
21472
21473 * subr.el (deferred-action-list, deferred-action-function):
21474 Mark obsolete.
21475
21476 2011-03-21 Leo Liu <sdl.web@gmail.com>
21477
21478 * vc/log-view.el: Remove (require 'wid-edit), not needed after the
21479 change on 2011-02-13 (bug#8309).
21480
21481 * minibuffer.el (read-file-name-function): Change default value.
21482 (read-file-name--defaults): Rename from read-file-name-defaults.
21483 (read-file-name-default): Rename from read-file-name.
21484 (read-file-name): Call read-file-name-function.
21485
21486 2011-03-21 Glenn Morris <rgm@gnu.org>
21487
21488 * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
21489 Doc fixes.
21490
21491 2011-03-21 Chong Yidong <cyd@stupidchicken.com>
21492
21493 * cus-theme.el: Add missing provide statement.
21494 (customize-create-theme): Extract theme value correctly.
21495 (custom-theme-visit-theme): Autoload.
21496 (customize-create-theme): Prompt before inserting default faces.
21497
21498 2011-03-20 Jay Belanger <jay.p.belanger@gmail.com>
21499
21500 * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
21501 units and musical notes.
21502
21503 2011-03-20 Leo Liu <sdl.web@gmail.com>
21504
21505 * ido.el (ido-read-internal): Use completing-read-default.
21506 (ido-completing-read): Fix compatibility with completing-read.
21507
21508 2011-03-20 Christian Ohler <ohler@gnu.org>
21509
21510 * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
21511 (ert-delete-all-tests): Use `called-interactively-p' rather than
21512 `interactive-p'.
21513 (ert--make-xrefs-region): Respect END.
21514
21515 2011-03-19 Chong Yidong <cyd@stupidchicken.com>
21516
21517 * dired-aux.el (dired-create-directory): Signal an error if the
21518 directory already exists (Bug#8246).
21519
21520 * facemenu.el (list-colors-display): Call list-faces-display
21521 inside with-help-window.
21522 (list-colors-print): Use display property to align the final
21523 column, instead of checking window-width.
21524
21525 2011-03-19 Eli Zaretskii <eliz@gnu.org>
21526
21527 * vc/emerge.el (emerge-metachars): Separate value for ms-dos and
21528 windows-nt systems.
21529 (emerge-protect-metachars): Quote correctly for ms-dos and
21530 windows-nt systems.
21531
21532 2011-03-19 Ralph Schleicher <rs@ralph-schleicher.de>
21533
21534 * info.el (info-initialize): Replace all uses of `:' with
21535 path-separator for compatibility with non-Unix systems.
21536 Cache quoting of path-separator. (Bug#8258)
21537
21538 2011-03-19 Juanma Barranquero <lekktu@gmail.com>
21539
21540 * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
21541 (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
21542 (mouse-avoidance-mode): Fix typos in docstrings.
21543
21544 2011-03-19 Chong Yidong <cyd@stupidchicken.com>
21545
21546 * startup.el (package-subdirectory-regexp): Move from package.el.
21547 Omit \\` and \\', and let callers add them.
21548
21549 * emacs-lisp/package.el (package-strip-version)
21550 (package-load-all-descriptors): Add \\` and \\' to
21551 package-subdirectory-regexp before using it.
21552 (package-untar-buffer): New arg DIR; ensure that file untars only
21553 into this expected directory. Remove superfluous delete-region.
21554 (package-unpack): Caller changed.
21555 (package-tar-file-info): Use package-subdirectory-regexp.
21556
21557 2011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
21558
21559 * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
21560 diff-mode-shared-map (bug#8284).
21561 (diff-mode-shared-map): Re-introduce some bindings that were problematic.
21562
21563 2011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
21564
21565 * calendar/time-date.el (format-seconds): Use assoc instead of
21566 assoc-string, since assoc-string doesn't exist in XEmacs.
21567
21568 2011-03-17 Juanma Barranquero <lekktu@gmail.com>
21569
21570 * custom.el (custom-known-themes): Reflow docstring.
21571 (custom-theme-load-path): Fix typo in docstring.
21572 (load-theme): Fix typo in error message.
21573 (custom-available-themes, custom-variable-theme-value):
21574 Use `let', not `let*'.
21575
21576 2011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
21577
21578 * calc/README: Mention inclusion of musical notes.
21579
21580 * calc/calc-units.el (calc-lu-quant): Rename from
21581 `calc-logunits-quantity'.
21582 (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
21583 (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
21584 (calc-db): Rename from `calc-dblevel'.
21585 (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
21586 (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
21587 (calc-np): Rename from `calc-nplevel'.
21588 (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
21589 (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
21590 (calc-lu-plus): Rename from `calc-logunits-add'.
21591 (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
21592 (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
21593 (calc-lu-minus): Rename from `calc-logunits-sub'.
21594 (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
21595 (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
21596 (calc-lu-times): Rename from `calc-logunits-mul'.
21597 (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
21598 (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
21599 (calc-lu-divide): Rename from `calc-logunits-div'.
21600 (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
21601 (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
21602
21603 * calc/calc-ext.el (calc-init-extensions): Update the names of the
21604 functions being autoloaded.
21605
21606 * calc/calc.el (calc-lu-power-reference): Rename from
21607 `calc-logunits-power-reference'.
21608 (calc-lu-field-reference): Rename from
21609 `calc-logunits-field-reference'.
21610
21611 * calc/calc-help.el (calc-l-prefix-help):
21612 Mention musical note functions.
21613
21614 2011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
21615
21616 * minibuffer.el (completion-all-sorted-completions):
21617 Use :completion-cycle-penalty text property if present.
21618
21619 2011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
21620
21621 * allout.el (allout-yank-processing): Adjust for new rebulleting
21622 regime so bullet being yanked is used without prompting the user
21623 for a choice.
21624
21625 2011-03-16 Juanma Barranquero <lekktu@gmail.com>
21626
21627 * startup.el (command-line): Warn the user that _emacs is deprecated.
21628
21629 2011-03-16 Juanma Barranquero <lekktu@gmail.com>
21630
21631 * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
21632 (delphi-verbose, delphi-comment-face, delphi-string-face)
21633 (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
21634 (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
21635 (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
21636 (delphi-new-comment-line, delphi-font-lock-defaults)
21637 (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
21638 Fix typos in docstrings.
21639
21640 2011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
21641
21642 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
21643 Invert the roles of character and string values for INSTEAD, so a
21644 string is used for the more common case of a defaulting prompt.
21645
21646 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
21647
21648 * progmodes/ruby-mode.el (ruby-backward-sexp):
21649 * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
21650 * play/gamegrid.el (gamegrid-make-face):
21651 * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
21652 (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
21653 * notifications.el (notifications-notify):
21654 * net/xesam.el (xesam-search-engines):
21655 * net/quickurl.el (quickurl-list-insert):
21656 * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
21657
21658 2011-03-15 Chong Yidong <cyd@stupidchicken.com>
21659
21660 * startup.el (command-line): Update package subdirectory regexp.
21661
21662 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
21663
21664 * allout.el (allout-abbreviate-flattened-numbering)
21665 (allout-mode-deactivate-hook): Fix up obsolescence "date".
21666
21667 * subr.el (read-char-choice): Only show the cursor after the prompt,
21668 not after the answer.
21669
21670 2011-03-15 Kevin Ryde <user42@zip.com.au>
21671
21672 * help-fns.el (variable-at-point): Skip leading quotes, if any
21673 (bug#8253).
21674
21675 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
21676
21677 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
21678 warning message.
21679
21680 2011-03-14 Michael Albinus <michael.albinus@gmx.de>
21681
21682 * shell.el (shell): When called interactively, offer to change the
21683 shell file name on remote hosts.
21684
21685 2011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
21686
21687 * net/ldap.el (ldap-search-internal): Add `auth-source-search'
21688 integration for LDAP parameters. The host, base, user or binddn,
21689 and secret tokens can be specified in a netrc file, for instance.
21690 This is optional because an `auth-source' parameter must be
21691 specified in the search attributes.
21692
21693 2011-03-13 Juanma Barranquero <lekktu@gmail.com>
21694
21695 * help.el (describe-mode): Link to the mode's definition (bug#8185).
21696
21697 2011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
21698
21699 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
21700 into declaration. Remove redundant and harmful binding.
21701
21702 2011-03-12 Eli Zaretskii <eliz@gnu.org>
21703
21704 * files.el (file-ownership-preserved-p): Pass `integer' as an
21705 explicit 2nd argument to `file-attributes'. If the file's owner
21706 is the Administrators group on Windows, and the current user is
21707 Administrator, consider that a match.
21708
21709 * server.el (server-ensure-safe-dir): Consider server directory
21710 safe on MS-Windows if its owner is the Administrators group while
21711 the current Emacs user is Administrator. Use `=' to compare
21712 numerical UIDs, since they could be integers or floats.
21713
21714 2011-03-12 Juanma Barranquero <lekktu@gmail.com>
21715
21716 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
21717
21718 2011-03-12 Michael Albinus <michael.albinus@gmx.de>
21719
21720 Sync with Tramp 2.2.1.
21721
21722 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
21723
21724 * net/trampver.el: Update release number.
21725
21726 2011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
21727
21728 * progmodes/compile.el (compilation--previous-directory): Fix up
21729 various nil/dead-marker mismatches (bug#8014).
21730 (compilation-directory-properties, compilation-error-properties):
21731 Don't call it at a position past the one we're about to change.
21732
21733 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
21734 Disable obsolescence warnings in the file that declares it.
21735
21736 2011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
21737
21738 * allout-widgets.el (allout-widgets-tally):
21739 Initialize allout-widgets-tally as a hash table rather than nil to
21740 prevent mode-line redisplay warnings. Also, clarify the module
21741 description and fix a comment typo.
21742
21743 2011-03-11 Juanma Barranquero <lekktu@gmail.com>
21744
21745 * help-fns.el (describe-variable): Don't complete keywords.
21746 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
21747
21748 2011-03-10 Chong Yidong <cyd@stupidchicken.com>
21749
21750 * emacs-lisp/package.el (package-version-join): Impose a standard
21751 string representation for pre/alpha/beta version lists.
21752 (package-unpack-single): Standardize the directory name by passing
21753 it through package-version-join.
21754 (package-strip-rcs-id): Accept any version string that does not
21755 signal an error in version-to-list.
21756
21757 2011-03-10 Michael Albinus <michael.albinus@gmx.de>
21758
21759 * simple.el (delete-trailing-whitespace): Return nil for the
21760 benefit of `write-file-functions'.
21761
21762 2011-03-10 Glenn Morris <rgm@gnu.org>
21763
21764 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
21765
21766 * vc/vc-git.el (vc-git-program): New option.
21767 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
21768 (vc-git--call): Use it.
21769
21770 * eshell/esh-util.el (eshell-condition-case): Doc fix.
21771
21772 * cus-edit.el (Custom-newline): If no button at point, look
21773 for a subgroup button at start-of-line. (Bug#2298)
21774
21775 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
21776
21777 2011-03-10 Julien Danjou <julien@danjou.info>
21778
21779 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
21780 `cursor-type' is nil.
21781
21782 2011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
21783
21784 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
21785
21786 2011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
21787
21788 * allout.el: Change so yank of distinctive-bullet items
21789 preserves the existing header prefix, rebulleting it if necessary,
21790 rather than replacing it. This is necessary for proper operation
21791 of cooperative addons like allout-widgets.
21792 (allout-make-topic-prefix, allout-rebullet-heading):
21793 Change SOLICIT arg to INSTEAD, and interpret additionally a string
21794 value as alternate bullet to be used, instead of prompting the user
21795 for a bullet character.
21796
21797 2011-03-09 Michael Albinus <michael.albinus@gmx.de>
21798
21799 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
21800 Do not use `tramp-file-name-port', because this returns also
21801 `tramp-default-port'.
21802
21803 2011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
21804
21805 * net/rcirc.el (rcirc-handler-001): Remove useless
21806 with-rcirc-process-buffer.
21807 (rcirc-check-auth-status): Swap arguments to string-match.
21808
21809 2011-03-09 Glenn Morris <rgm@gnu.org>
21810
21811 * shell.el (shell-mode):
21812 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
21813
21814 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
21815 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
21816
21817 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
21818
21819 * emacs-lisp/package.el (package-refresh-contents)
21820 (package-menu-execute): Use condition-case-no-debug.
21821
21822 2011-03-08 Michael Albinus <michael.albinus@gmx.de>
21823
21824 * simple.el (shell-command-to-string): Use `process-file'.
21825
21826 * emacs-lisp/package.el (package-tar-file-info): Handle also
21827 remote files.
21828
21829 * emacs-lisp/package-x.el (package-upload-buffer-internal):
21830 Use `equal' for upload base check.
21831
21832 2011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
21833
21834 * textmodes/texinfo.el (texinfo-environments):
21835 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
21836
21837 2011-03-08 Glenn Morris <rgm@gnu.org>
21838
21839 * cus-start.el (cursor-in-non-selected-windows):
21840 Fix :set quoting oddness. (Bug#8192)
21841
21842 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
21843 in some setf expressions. (Bug#2159)
21844
21845 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
21846
21847 * custom.el (custom-available-themes): Return themes in
21848 alphabetical order.
21849
21850 See ChangeLog.15 for earlier changes.
21851
21852 ;; Local Variables:
21853 ;; coding: utf-8
21854 ;; End:
21855
21856 Copyright (C) 2011-2012 Free Software Foundation, Inc.
21857
21858 This file is part of GNU Emacs.
21859
21860 GNU Emacs is free software: you can redistribute it and/or modify
21861 it under the terms of the GNU General Public License as published by
21862 the Free Software Foundation, either version 3 of the License, or
21863 (at your option) any later version.
21864
21865 GNU Emacs is distributed in the hope that it will be useful,
21866 but WITHOUT ANY WARRANTY; without even the implied warranty of
21867 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
21868 GNU General Public License for more details.
21869
21870 You should have received a copy of the GNU General Public License
21871 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.