Fix bug #10075 with cursor drawing in an hscrolled window.
[bpt/emacs.git] / lisp / ChangeLog
... / ...
CommitLineData
12011-11-19 Andreas Schwab <schwab@linux-m68k.org>
2
3 * language/european.el (macintosh): Define as alias for mac-roman.
4
52011-11-19 Eli Zaretskii <eliz@gnu.org>
6
7 * mail/rmailmm.el (rmail-mime-display-header)
8 (rmail-mime-display-tagline, rmail-mime-display-body): New defsubsts.
9 (rmail-mime-entity-segment, rmail-mime-toggle-raw)
10 (rmail-mime-toggle-hidden, rmail-mime-insert-text)
11 (rmail-mime-insert-bulk, rmail-mime-insert-multipart)
12 (rmail-mime-insert, rmail-mime-insert-tagline): Use them instead
13 of a raw aref.
14 (rmail-mime-entity-segment): To get past the tagline, move forward
15 2 more lines, to account for the 2 empty lines that precede and
16 follow the line with the buttons.
17 (rmail-mime-update-tagline): Move one more line, to get past the
18 empty line that follows the buttons in the tagline. (Bug#9520)
19
202011-11-19 Martin Rudalics <rudalics@gmx.at>
21
22 * window.el (window-max-delta-1, window-min-delta-1)
23 (window-min-size-1, window-state-get-1, window-state-put-1)
24 (window-state-put-2): Use "window--" prefix.
25
262011-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
27
28 * emacs-lisp/smie.el: Improve warnings and conflict detection.
29 (smie-warning-count): New var.
30 (smie-set-prec2tab): Use it.
31 (smie-bnf->prec2): Improve warnings. Add docstring.
32 (smie-bnf--closer-alist): Rename from smie-bnf-closer-alist.
33 (smie-bnf--set-class): New function.
34 (smie-bnf--classify): Rename from smie-bnf-classify. Rewrite to fix
35 corner case.
36
37 * progmodes/compile.el: Obey compilation-first-column in dest buffer.
38 (compilation-error-properties, compilation-move-to-column):
39 Handle compilation-first-column while in the target buffer.
40
41 * progmodes/cc-engine.el (c-remove-stale-state-cache-backwards):
42 Don't hardcode point-min==1.
43
44 * eshell/esh-cmd.el (eshell-do-eval): Handle `setq' (bug#9907).
45 (eshell-rewrite-for-command): Remove workaround.
46 (eshell-do-pipelines, eshell-do-pipelines-synchronously)
47 (eshell-do-eval, eshell-exec-lisp): Avoid gratuitous setq.
48 * eshell/esh-util.el (eshell-condition-case, eshell-for): Use declare.
49
50 * files-x.el (modify-file-local-variable): Obey commenting conventions.
51
522011-11-17 Glenn Morris <rgm@gnu.org>
53
54 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
55 Ignore buffer-local generated-autoload-file if it is the same
56 as the global value. (Bug#10049)
57
582011-11-17 Juanma Barranquero <lekktu@gmail.com>
59
60 * textmodes/reftex-toc.el (reftex-toc-return-marker, reftex-toc-help)
61 (reftex-toc, reftex-toc, reftex-toc-dframe-p, reftex-toc-next-heading)
62 (reftex-toc-previous-heading, reftex-toc-max-level)
63 (reftex-toc-goto-line-and-hide, reftex-toc-show-calling-point)
64 (reftex-toc-quit, reftex-toc-revert, reftex-toc-jump)
65 (reftex-toc-do-promote, reftex-toc-promote-prepare)
66 (reftex-toc-promote-action, reftex-toc-extract-section-number)
67 (reftex-toc-load-all-files-for-promotion, reftex-toc-rename-label)
68 (reftex-toc-rename-label, reftex-toc-visit-location)
69 (reftex-toc-visit-location, reftex-toggle-auto-toc-recenter)
70 (reftex-toggle-auto-toc-recenter, reftex-toggle-auto-toc-recenter)
71 (reftex-make-separate-toc-frame): Fix typos, and use TOC consistently,
72 leaving "*toc*" only for references to the buffer.
73
742011-11-17 Martin Rudalics <rudalics@gmx.at>
75
76 * window.el (window-resize, delete-window, split-window):
77 Replace window-splits by window-combination-resize.
78 * cus-start.el (window-splits): Replace by
79 window-combination-resize.
80
812011-11-17 Glenn Morris <rgm@gnu.org>
82
83 * progmodes/sh-script.el (sh-font-lock-keywords-var):
84 Make bash entry derive from sh entry, not shell entry.
85
862011-11-16 Michael Albinus <michael.albinus@gmx.de>
87
88 * net/tramp.el (tramp-handle-file-truename): Cache only the local
89 file name.
90
91 * net/tramp-cache.el (tramp-flush-file-property): Flush also
92 properties of linked files. (Bug#9879)
93
942011-11-16 Juanma Barranquero <lekktu@gmail.com>
95
96 * menu-bar.el (menu-bar-file-menu):
97 * printing.el (pr-ps-utility):
98 * calendar/icalendar.el (icalendar, icalendar--convert-tz-offset)
99 (icalendar--convert-to-ical, icalendar--convert-ordinary-to-ical)
100 (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
101 (icalendar--convert-sexp-to-ical, icalendar--convert-block-to-ical)
102 (icalendar--convert-float-to-ical, icalendar--convert-date-to-ical)
103 (icalendar--convert-cyclic-to-ical)
104 (icalendar--convert-anniversary-to-ical, icalendar-import-buffer)
105 (icalendar--convert-ical-to-diary)
106 (icalendar--convert-recurring-to-diary)
107 (icalendar--convert-non-recurring-all-day-to-diary)
108 (icalendar-import-format-sample):
109 * progmodes/idlw-shell.el (idlwave-shell-mode):
110 * progmodes/vhdl-mode.el (vhdl-mode, vhdl-print-two-column)
111 (vhdl-print-customize-faces, vhdl-mode, vhdl-ps-print-settings)
112 (vhdl-ps-print-init): Fix typos.
113
1142011-11-16 Ken Manheimer <ken.manheimer@gmail.com>
115
116 * allout.el, allout-widgets.el (file metadata): Attribute copyright to
117 FSF and collapse date sequence, obscure author/maintainer email address
118 better, remove extra version line, track relocation of author's webpage.
119
120 * progmodes/python.el (python-pdbtrack-input-prompt)
121 (python-pdbtrack-track-stack-file): Adjust to recognize ipdb as well as
122 regular python pdb prompts. Adjustments shamelessly taken exactly as
123 suggested in EmacsWiki page (tiny change):
124 http://www.emacswiki.org/PythonProgrammingInEmacs#toc14
125
1262011-11-16 Juanma Barranquero <lekktu@gmail.com>
127
128 * expand.el (expand-pos, expand-index, expand-point):
129 Remove redundant info from docstring.
130 (expand-add-abbrevs): Doc fix.
131 (expand-c-sample-expand-list, expand-sample-lisp-mode-expand-list)
132 (expand-sample-perl-mode-expand-list): Fix typos.
133
134 * net/dbus.el (dbus-event-member-name):
135 * play/5x5.el (5x5-solve-rotate-left, 5x5-solver-output):
136 * term/pc-win.el (msdos-create-frame-with-faces):
137 * textmodes/texinfmt.el (texinfo-format-image): Fix typos.
138
1392011-11-16 Martin Rudalics <rudalics@gmx.at>
140
141 * window.el (split-window, window-state-get-1)
142 (window-state-put-1, window-state-put-2): Rename occurrences of
143 window-nest to window-combination-limit.
144 * cus-start.el (window-nest): Rename to
145 window-combination-limit.
146
1472011-11-16 Chong Yidong <cyd@gnu.org>
148
149 * progmodes/autoconf.el (autoconf-mode): Fix comment-start-skip
150 regexp (Bug#10033).
151
1522011-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
153
154 * tmm.el (tmm-prompt): Use minibuffer-with-setup-hook (bug#10053).
155 `completing-read' will remove *Completions* and will preserve
156 current-buffer for us.
157 (tmm-add-prompt): Users of *Completions* will always (re)set its
158 major mode.
159 (tmm-old-comp-map): Remove.
160
1612011-11-16 Glenn Morris <rgm@gnu.org>
162
163 * mail/rmailedit.el: Require rmailmm when compiling.
164 (rmail-old-mime-state): New declaration.
165 (rmail-edit-current-message): If editing a mime message,
166 edit the "raw" message from the mbox buffer.
167 (rmail-cease-edit): Handle mime messages. (Bug#9840)
168
1692011-11-15 Glenn Morris <rgm@gnu.org>
170
171 * mail/rmailmm.el (rmail-mime-toggle-raw): Remove entity arg,
172 which wasn't being used. Add optional arg to force given state.
173 (rmail-mime): Add optional arg to force given state.
174
1752011-11-15 Juanma Barranquero <lekktu@gmail.com>
176
177 * allout.el (allout-encryption-plaintext-sanitization-regexps):
178 * frame.el (display-mm-dimensions-alist):
179 * outline.el (outline-mode-menu-bar-map, outline-move-subtree-up)
180 (outline-move-subtree-down):
181 * net/newst-treeview.el (newsticker--treeview-do-get-node-of-feed)
182 (newsticker--treeview-do-get-node):
183 * net/quickurl.el (quickurl-list-buffer-name):
184 * progmodes/dcl-mode.el (dcl-mode):
185 * progmodes/gdb-mi.el (gdb-mapcar*):
186 * progmodes/sql.el (sql-mode-oracle-font-lock-keywords): Fix typos.
187
1882011-11-15 Glenn Morris <rgm@gnu.org>
189
190 * mail/rmail.el (rmail-file-coding-system): It's only ever used
191 in a boolean sense, so just make it a boolean, and fix the doc.
192 (rmail-show-mime-function, rmail-mime-feature)
193 (rmail-require-mime-maybe): Doc fixes.
194 (rmail-show-message-1): Check rmail-show-mime-function is non-nil.
195
196 * mail/rmailmm.el (rmail-show-mime): Doc fix.
197
1982011-11-15 Juanma Barranquero <lekktu@gmail.com>
199
200 * epg.el (epg-start-decrypt, epg-start-verify, epg-start-sign)
201 (epg-start-encrypt, epg-start-export-keys, epg-start-import-keys)
202 (epg-start-receive-keys, epg-start-delete-keys, epg-start-sign-keys)
203 (epg-start-generate-key, epg-context-set-progress-callback): Fix typos.
204
2052011-11-15 Glenn Morris <rgm@gnu.org>
206
207 * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-segment)
208 (rmail-mime-shown-mode, rmail-mime-hidden-mode, rmail-mime-raw-mode)
209 (rmail-mime-toggle-hidden, rmail-mime-insert-tagline)
210 (rmail-mime-insert-header, rmail-mime-handle, rmail-mime-parse)
211 (rmail-mime, rmail-show-mime): Doc fixes.
212
213 * term/ns-win.el (mode-line-frame-identification):
214 Leave it alone. (Bug#10051)
215
216 * simple.el (mark-whole-buffer): Doc fix. (Bug#10023)
217
218 * mail/rmailout.el (rmail-output-to-rmail-buffer):
219 Handle empty buffers. (Bug#9978)
220
2212011-11-14 Juanma Barranquero <lekktu@gmail.com>
222
223 * international/mule.el (define-charset):
224 * mail/rmailmm.el (rmail-mime-find-header-encoding):
225 * progmodes/prolog.el (prolog-mode-hook, prolog-inferior-mode-hook):
226 * progmodes/verilog-mode.el (verilog-backward-token):
227 * textmodes/ispell.el (lookup-words):
228 * textmodes/sgml-mode.el (sgml-guess-indent): Fix typos.
229
2302011-11-14 Glenn Morris <rgm@gnu.org>
231
232 * progmodes/executable.el
233 (executable-make-buffer-file-executable-if-script-p):
234 Handle file-modes returning nil.
235
236 * mail/rmailsum.el (rmail-summary): Remove movement to beginning of
237 message - not necessary, and causes problems. (Bug#9831)
238
239 * mail/rmailsum.el (rmail-new-summary): Preserve message number.
240
241 * mail/rmail.el (rmail-no-mail-p): Remove mode-line N/M indicator.
242
243 * mail/rmailsum.el (rmail-summary, rmail-new-summary)
244 (rmail-new-summary-1): Allow empty summaries. (Bug#9964)
245 (rmail-new-summary): Remember that rmail-summary-buffer is buffer-local.
246
2472011-11-12 Martin Rudalics <rudalics@gmx.at>
248
249 * window.el (window-resize, delete-window): Use window-splits
250 variable instead of function.
251 (window-state-get-1, window-state-put-2, window-state-put):
252 Don't deal with windows' splits status.
253
2542011-11-12 Glenn Morris <rgm@gnu.org>
255
256 * apropos.el (apropos-do-all, apropos-library, apropos-value)
257 (apropos-documentation): Doc fixes.
258
2592011-11-11 Juanma Barranquero <lekktu@gmail.com>
260
261 * progmodes/idlw-shell.el (idlwave-shell-make-new-bp-overlay):
262 * textmodes/sgml-mode.el (html-tag-help): Fix typos.
263
2642011-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
265
266 * electric.el (electric-indent-post-self-insert-function): Make it
267 possible for a char to only indent in some circumstances.
268 (electric-indent-mode): Simplify.
269
2702011-11-11 Martin Rudalics <rudalics@gmx.at>
271
272 * window.el (windows-with-parameter): Remove unused function.
273 (windows-at-side): Rename to window-at-side-list.
274 (window-check, window-atom-check, window-atom-check-1)
275 (window-side-check, window-size-ignore, window-size-fixed-1)
276 (window-in-direction-2): Prefix with "window--".
277 (window-tree-1): Rename to window--subtree, fix doc-string.
278
2792011-11-11 Glenn Morris <rgm@gnu.org>
280
281 * subr.el (eval-after-load): If FILE is already loaded,
282 evaluate FORM before it gets wrapped in more stuff. (Bug#10009)
283
2842011-11-10 Glenn Morris <rgm@gnu.org>
285
286 * vc/vc-svn.el (vc-svn-create-repo, vc-svn-modify-change-comment):
287 Call svn via vc-svn-command rather than vc-do-command.
288 (vc-svn-command): Add --non-interactive. (Bug#9993)
289 (vc-svn-update, vc-svn-merge-news): No need for --non-interactive.
290
291 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
292 Add toggle-read-only. (Bug#7292)
293 * files.el (toggle-read-only): Mention that it should only
294 be used interactively. (Bug#10006)
295
2962011-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
297
298 * progmodes/compile.el (compilation-error-regexp-alist-alist):
299 Adjust regexp for OCaml warnings.
300
301 * electric.el (electric-pair-post-self-insert-function): Let user
302 turn it off buffer-locally (bug#9932).
303
304 * progmodes/python.el (python-beginning-of-statement):
305 Rewrite (bug#2703).
306
307 * progmodes/compile.el: Better handle TABs (bug#9749).
308 (compilation-internal-error-properties)
309 (compilation-next-error-function): Obey the target buffer's
310 compilation-error-screen-columns.
311
3122011-11-09 Juanma Barranquero <lekktu@gmail.com>
313
314 * progmodes/meta-mode.el: Remove obsolete comments.
315 (meta-right-comment-regexp, meta-ignore-comment-regexp):
316 Fix typos in docstrings.
317
3182011-11-09 Martin Rudalics <rudalics@gmx.at>
319
320 * window.el (window-size-fixed-p): Rewrite doc-string.
321 (window-resizable-p): Rename to window--resizable-p. Update callers.
322 (window--resizable): New function. Make all callers of
323 window-resizable call window--resizable instead.
324 (window-resizable): Rewrite in terms of window--resizable.
325
3262011-11-08 Glenn Morris <rgm@gnu.org>
327
328 * progmodes/delphi.el (delphi-mode-syntax-table):
329 Let define-derived-mode define a proper syntax table. (Bug#9994)
330
3312011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
332
333 * window.el: Stay away from defsubst.
334 (window-list-no-nils): Remove.
335 (window-state-get-1, window-state-get): Use backquote instead.
336
3372011-11-08 thierry <thierry.volpiatto@gmail.com>
338
339 * emacs-lisp/find-func.el (find-function-read):
340 Fix incorrect use of default argument in `completing-read'.
341
3422011-11-08 Martin Rudalics <rudalics@gmx.at>
343
344 * window.el (display-buffer-function, special-display-function):
345 Mention display-buffer-record-window but do not mention
346 help-setup parameter in doc-strings.
347 (window-min-delta): Fix doc-string typo.
348
3492011-11-08 Chong Yidong <cyd@gnu.org>
350
351 * window.el (window-total-height, window-total-width): Doc fix.
352 (window-body-size): Move from C.
353 (window-body-height, window-body-width): Move to C.
354
3552011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
356
357 * window.el: Make special-display like display-buffer-alist (bug#9532).
358 (display-buffer--special-action): New function, morphed
359 from display-buffer--special.
360 (display-buffer): Use it to handle special-display-buffers at higher
361 priority (just after display-buffer-alist).
362 (display-buffer-fallback-action, display-buffer--other-frame-action)
363 (pop-to-buffer-same-window): Remove display-buffer--special.
364
3652011-11-07 Glenn Morris <rgm@gnu.org>
366
367 * calendar/cal-menu.el (cal-menu-set-date-title):
368 Do nothing if not in a calendar. (Bug#9976)
369
3702011-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
371
372 * files.el (find-file): Always use selected-window.
373
3742011-11-07 Martin Rudalics <rudalics@gmx.at>
375
376 * window.el (window-combinations): Make WINDOW argument
377 mandatory. Rewrite doc-string.
378 (walk-window-subtree, window-atom-check, window-min-delta)
379 (window-max-delta, window--resize-this-window)
380 (window--resize-root-window-vertically, window-tree)
381 (balance-windows, window-state-put): Rewrite doc-strings as to
382 not mention the term "subwindow".
383 (window--resize-subwindows-skip-p): Rename to
384 window--resize-child-windows-skip-p.
385 (window--resize-subwindows-normal): Rename to
386 window--resize-child-windows-normal.
387 (window--resize-subwindows): Rename to
388 window--resize-child-windows.
389 (window-or-subwindow-p): Rename to window--in-subtree-p.
390
3912011-11-07 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
392
393 * mail/rmail.el (rmail-get-new-mail, rmail-insert-inbox-text):
394 Ensure that mbox format messages end in two newlines (Bug#9974).
395
3962011-11-06 Chong Yidong <cyd@gnu.org>
397
398 * window.el (window-combination-p): Function deleted; its
399 side-effect is not used in any existing code.
400 (window-combinations, window-combined-p): Call window-*-child
401 directly.
402
4032011-11-05 Chong Yidong <cyd@gnu.org>
404
405 * window.el (window-valid-p): Rename from window-any-p.
406 (window-size-ignore, window-state-get): Callers changed.
407 (window-normalize-window): Rename from window-normalize-any-window.
408 New arg LIVE-ONLY, replacing window-normalize-live-window.
409 (window-normalize-live-window): Delete.
410 (window-combination-p, window-combined-p, window-combinations)
411 (walk-window-subtree, window-atom-root, window-min-size)
412 (window-sizable, window-sizable-p, window-size-fixed-p)
413 (window-min-delta, window-max-delta, window-resizable)
414 (window-resizable-p, window-full-height-p, window-full-width-p)
415 (window-current-scroll-bars, window-point-1, set-window-point-1)
416 (window-at-side-p, window-in-direction, window-resize)
417 (adjust-window-trailing-edge, maximize-window, minimize-window)
418 (window-deletable-p, delete-window, delete-other-windows)
419 (record-window-buffer, unrecord-window-buffer)
420 (switch-to-prev-buffer, switch-to-next-buffer, window--delete)
421 (quit-window, split-window, window-state-put)
422 (set-window-text-height, fit-window-to-buffer)
423 (shrink-window-if-larger-than-buffer): Callers changed.
424
4252011-11-04 Eli Zaretskii <eliz@gnu.org>
426
427 * mail/rmail.el (rmail-simplified-subject): Decode subject with
428 rfc2047-decode-string.
429 (rmail-mime-toggle-hidden): Declare to avoid byte-compilation
430 warnings.
431
432 * window.el (window-body-height, window-body-width): Mention in
433 the doc string that the return values are in frame's canonical
434 units. (Bug#9949)
435
4362011-11-03 Alan Mackenzie <acm@muc.de>
437
438 * progmodes/cc-langs.el (c-nonlabel-token-2-key): New variable for
439 change in cc-engine.el.
440
4412011-11-02 Stefan Monnier <monnier@iro.umontreal.ca>
442
443 * window.el (switch-to-buffer): Use `force-same-window' interactively.
444
4452011-11-02 Martin Rudalics <rudalics@gmx.at>
446
447 * window.el (quit-window): Call unrecord-window-buffer after
448 showing another buffer in the window. (Bug#9937)
449 (bury-buffer): Call switch-to-prev-buffer with second argument `bury'.
450
4512011-11-02 Juanma Barranquero <lekktu@gmail.com>
452
453 * vc/vc-bzr.el (vc-bzr-state, vc-bzr-after-dir-status):
454 Accept status with more than 9 shelves. (Bug#9935)
455 Reported by Colin D Bennett <colin@gibibit.com>.
456
4572011-11-01 Martin Rudalics <rudalics@gmx.at>
458
459 * help.el (with-help-window): Don't reference
460 temp-buffer-show-specifiers in doc-string.
461
4622011-10-31 Andreas Schwab <schwab@linux-m68k.org>
463
464 * subr.el (keymap--menu-item-with-binding): Ignore item if not a
465 menu-item.
466
4672011-10-30 Vinicius Jose Latorre <viniciusjl@ig.com.br>
468
469 * whitespace.el: New version 13.2.2.
470 (whitespace-newline-mode): Disable properly. Reported by Sarah
471 <EmacsWiki>.
472
4732011-10-30 Ulf Jasper <ulf.jasper@web.de>
474
475 * net/newst-treeview.el: Remove "Time-stamp".
476 (newsticker--group-manage-orphan-feeds): Do not call
477 newsticker--treeview-tree-update.
478 (newsticker-treeview-update, newsticker-treeview):
479 Call newsticker--treeview-tree-update if necessary.
480
4812011-10-30 Martin Rudalics <rudalics@gmx.at>
482
483 * window.el (window-iso-combination-p, window-iso-combined-p)
484 (window-iso-combinations): Remove "iso-" infix.
485 Suggested by Chong Yidong.
486 (window-min-size-1, window-size-fixed-1, window-min-delta-1)
487 (window-max-delta-1, window-resize, window--resize-siblings)
488 (window--resize-this-window, adjust-window-trailing-edge)
489 (split-window, balance-windows-1)
490 (shrink-window-if-larger-than-buffer):
491 * calendar/calendar.el (calendar-generate-window):
492 * help.el (resize-temp-buffer-window): Adjust callers accordingly.
493
4942011-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
495
496 * eshell/esh-cmd.el (eshell-rewrite-for-command): Don't modify the list
497 in place (bug#9907).
498 (eshell-subcommand-arg-values, eshell-rewrite-named-command)
499 (eshell-rewrite-if-command, eshell-rewrite-for-command)
500 (eshell-structure-basic-command, eshell-rewrite-while-command)
501 (eshell-invokify-arg, eshell-parse-pipeline, eshell-parse-command)
502 (eshell-parse-subcommand-argument, eshell-parse-lisp-argument)
503 (eshell-trap-errors, eshell-do-pipelines, eshell-do-eval)
504 (eshell-do-pipelines-synchronously, eshell-eval-command):
505 Use backquotes and prefer setq to set.
506 (eshell-lookup-function, function-p-func, eshell-functionp): Remove.
507 (eshell-macrop): Use functionp.
508 (eshell-do-eval): Handle multiple expressions in `while' body.
509
5102011-10-30 Chong Yidong <cyd@gnu.org>
511
512 * emulation/viper-cmd.el (viper-exec-change): Use push-mark
513 instead of set-mark (Bug#9810).
514
5152011-10-30 Chong Yidong <cyd@gnu.org>
516
517 * window.el (split-window-below, split-window-right): Rename from
518 split-window-above-each-other and split-window-side-by-side
519 respectively. All callers changed.
520 (split-window-sensibly, split-window-sensibly): Use them.
521 (split-window-keep-point): Doc fix.
522
523 * isearch.el: Add isearch-scroll property to split-window-below
524 and split-window-right.
525
526 * follow.el (follow-mode):
527 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
528 * progmodes/ada-xref.el (ada-gdb-application):
529 * emulation/vip.el (vip-buffer-in-two-windows):
530 * image-dired.el (image-dired-dired-with-window-configuration):
531 * dired-x.el (dired-do-find-marked-files):
532 * dired.el (dired-pop-to-buffer):
533 * bs.el (bs--show-with-configuration):
534 * vc/emerge.el (emerge-setup-windows):
535 * textmodes/two-column.el (2C-two-columns):
536 * textmodes/reftex-toc.el (reftex-toc):
537 * progmodes/gdb-mi.el (gdb-setup-windows):
538 * progmodes/fortran.el (fortran-window-create):
539 * net/newst-treeview.el (newsticker--treeview-window-init):
540 * emulation/ws-mode.el (wordstar-C-o-map, wordstar-mode):
541 * emulation/tpu-edt.el (tpu-gold-map):
542 * emulation/crisp.el (crisp-mode-map):
543 * calendar/calendar.el (calendar-basic-setup): Callers changed.
544
5452011-10-29 Chong Yidong <cyd@gnu.org>
546
547 * subr.el (y-or-n-p): Add code for batch mode (Bug#9818).
548
549 * mouse.el (mouse-yank-primary): Push the mark (Bug#9894).
550
551 * textmodes/flyspell.el (flyspell-word): Fix char offset for
552 forged Ispell output (Bug#7904).
553
554 * emacs-lisp/package.el (package-refresh-contents): Add autoload.
555
5562011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
557
558 * doc-view.el: Avoid ugly errors about not finding nil.
559 (doc-view-ghostscript-program, doc-view-dvipdfm-program)
560 (doc-view-dvipdf-program, doc-view-unoconv-program)
561 (doc-view-ps2pdf-program, doc-view-pdftotext-program):
562 Avoid nil or absolute file name as default value.
563 (doc-view-pdf->txt, doc-view-ps->pdf): Use executable-find here.
564
5652011-10-28 Alan Mackenzie <acm@muc.de>
566
567 * progmodes/cc-defs.el (c-version): -> 5.32.2.
568
5692011-10-28 Alan Mackenzie <acm@muc.de>
570
571 Amend the handling of c-beginning/end-of-defun in nested declaration
572 scopes.
573
574 * progmodes/cc-vars.el (c-defun-tactic): Move here from
575 cc-langs.el. Change it to a defcustom.
576
577 * progmodes/cc-langs.el (c-defun-tactic): Move this variable to
578 cc-vars.el.
579
580 * progmodes/cc-engine.el (c-beginning-of-statement-1):
581 Prevent "class foo : bar" being spuriously recognized as a label.
582
583 * progmodes/cc-cmds.el (c-narrow-to-most-enclosing-decl-block):
584 Add parameter `inclusive' (to include enclosing braces in the region).
585 (c-widen-to-enclosing-decl-scope): New function.
586 (c-while-widening-to-decl-block): New macro.
587 (c-beginning-of-defun, c-end-of-defun): Change algorithm to keep going
588 outward for defun boundaries, and correspondingly change symbol
589 `respect-enclosure' to `go-outward'.
590 (c-declaration-limits): Change algorithm to report only the "innermost"
591 defun's boundaries.
592
5932011-10-28 Deniz Dogan <deniz@dogan.se>
594
595 * net/rcirc.el (rcirc-mode): Use hard newlines.
596
5972011-10-28 Alan Mackenzie <acm@muc.de>
598
599 Amend to indent and fontify macros "which include their own semicolon"
600 correctly, using the "virtual semicolon" mechanism.
601
602 * progmodes/cc-defs.el: Update "virtual semicolon" comments.
603
604 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
605 Recode to scan one line at a time rather than having \n and \r
606 explicitly in c-stmt-delim-chars (for some modes, e.g. AWK).
607 (c-forward-label): Amend for virtual semicolons.
608 (c-at-macro-vsemi-p, c-macro-vsemi-status-unknown-p): New functions.
609
610 * progmodes/cc-fonts.el (c-font-lock-declarations): Take account
611 of the new C macros.
612
613 * progmodes/cc-langs.el (c-at-vsemi-p-fn):
614 (c-vsemi-status-unknown-p-fn): Move to earlier in the file.
615 (c-opt-cpp-symbol, c-line-comment-start-regexp): New language vars.
616 (c-opt-cpp-macro-define): Make into a full language variable.
617 (c-stmt-delim-chars, c-stmt-delim-chars-with-comma): Special value for
618 AWK Mode (including \n, \r) removed, no longer needed.
619
620 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode):
621 Invoke c-make-macro-with-semi-re.
622
623 * progmodes/cc-vars.el (c-macro-with-semi-re):
624 (c-macro-names-with-semicolon): New variables.
625 (c-make-macro-with-semi-re): New function.
626
6272011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
628
629 * vc/log-edit.el: Fill empty field rather than adding new one.
630 (log-edit-add-field): New function.
631 (log-edit-insert-changelog): Use it.
632
6332011-10-28 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
634
635 * mail/rmail.el (rmail-mode-map): Add M-C-f as in rmailsum (bug#9802).
636
6372011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
638
639 * progmodes/gdb-mi.el: Warn the user when -i=mi is missing.
640 (gdb--check-interpreter): New function.
641 (gdb): Use it.
642
6432011-10-27 Glenn Morris <rgm@gnu.org>
644
645 * emacs-lisp/cl-extra.el (most-positive-float, most-negative-float)
646 (least-positive-float, least-negative-float)
647 (least-positive-normalized-float, least-negative-normalized-float)
648 (float-epsilon, float-negative-epsilon):
649 Remove unnecessary declarations.
650
651 * emacs-lisp/cl-extra.el (cl-float-limits): Add doc string.
652 * emacs-lisp/cl.el (most-positive-float, most-negative-float)
653 (least-positive-float, least-negative-float)
654 (least-positive-normalized-float, least-negative-normalized-float)
655 (float-epsilon, float-negative-epsilon): Add doc-strings,
656 based on those in cl.texi.
657
658 * files.el (set-visited-file-name): If the major-mode changed,
659 reload the local variables. (Bug#9796)
660
6612011-10-27 Chong Yidong <cyd@gnu.org>
662
663 * subr.el (change-major-mode-after-body-hook): New hook.
664 (run-mode-hooks): Run it.
665
666 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
667 Use change-major-mode-before-body-hook.
668
669 * simple.el (fundamental-mode):
670 * emacs-lisp/derived.el (define-derived-mode): Revert 2010-04-28
671 change introducing fundamental-mode-hook.
672
6732011-10-26 Juanma Barranquero <lekktu@gmail.com>
674
675 * term/w32-win.el (w32-default-color-map): Declare obsolete (Bug#9785).
676
6772011-10-26 Michael Albinus <michael.albinus@gmx.de>
678
679 * ido.el (ido-file-name-all-completions-1): Do not require
680 tramp.el explicitly. (Bug#7583)
681
6822011-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
683
684 * progmodes/octave-mod.el:
685 * progmodes/octave-inf.el: Update maintainer.
686
6872011-10-26 Chong Yidong <cyd@gnu.org>
688
689 * subr.el (with-wrapper-hook): Rewrite doc.
690
6912011-10-25 Michael Albinus <michael.albinus@gmx.de>
692
693 * net/tramp-sh.el (tramp-sh-handle-file-directory-p): Return t for
694 filenames "/method:foo:". (Bug#9793)
695
6962011-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
697
698 * comint.el (comint-get-old-input-default): Fix use-prompt-regexp case
699 (bug#9865).
700
7012011-10-24 Glenn Morris <rgm@gnu.org>
702
703 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix. (Bug#9819)
704
7052011-10-24 Michael Albinus <michael.albinus@gmx.de>
706
707 * notifications.el: Add the requirement of a running D-Bus session
708 bus to the Commentary.
709
7102011-10-24 Juri Linkov <juri@jurta.org>
711
712 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
713 `search-whitespace-regexp' only when `isearch-regexp' is non-nil.
714 (Bug#9364)
715
7162011-10-24 Juri Linkov <juri@jurta.org>
717
718 * info.el (Info-following-node-name-re): Add newline to the list
719 of allowed characters for leading space. (Bug#9824)
720
7212011-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
722
723 * progmodes/octave-inf.el (inferior-octave-mode-map):
724 Fix C-c C-h binding.
725 * progmodes/octave-mod.el (octave-help): Remove.
726
7272011-10-23 Michael Albinus <michael.albinus@gmx.de>
728
729 Sync with Tramp 2.2.3.
730
731 * net/tramp-cache.el (top): Pacify byte-compiler using
732 `init-file-user' and `site-run-file'.
733
734 * net/trampver.el: Update release number.
735
7362011-10-23 Chong Yidong <cyd@gnu.org>
737
738 * files.el (toggle-read-only): Remove obsolete comment about
739 version control.
740
741 * vc/vc-hooks.el (vc-toggle-read-only): Make it an obsolete alias
742 for toggle-read-only. Note that this hasn't called vc-next-action
743 since 2008-05-02, though it wasn't documented at the time.
744
745 * vc/ediff-init.el (ediff-toggle-read-only-function):
746 Use toggle-read-only.
747
7482011-10-22 Alan Mackenzie <bug-cc-mode@gnu.org>
749
750 Fix bug #9560, sporadic wrong indentation; improve instrumentation
751 of c-parse-state.
752
753 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
754 correct faulty logical expression.
755 (c-parse-state-state, c-record-parse-state-state):
756 (c-replay-parse-state-state): New defvar/defuns.
757 (c-debug-parse-state): Use new functions.
758
7592011-10-22 Martin Rudalics <rudalics@gmx.at>
760
761 * mouse.el (mouse-drag-line): Fix minibuffer resizing broken by
762 last fix. Use window-in-direction correctly.
763
7642011-10-21 Chong Yidong <cyd@gnu.org>
765
766 * progmodes/idlwave.el (idlwave-mode):
767 * progmodes/vera-mode.el (vera-mode): No need to set
768 require-final-newline; that's done in prog-mode.
769 Suggested by Stefan Monnier.
770
7712011-10-21 Martin Rudalics <rudalics@gmx.at>
772
773 * mouse.el (mouse-drag-window-above)
774 (mouse-drag-move-window-bottom, mouse-drag-move-window-top)
775 (mouse-drag-mode-line-1, mouse-drag-header-line)
776 (mouse-drag-vertical-line-rightward-window): Remove.
777 (mouse-drag-line): New function.
778 (mouse-drag-mode-line, mouse-drag-header-line)
779 (mouse-drag-vertical-line): Call mouse-drag-line.
780 * window.el (window-at-side-p, windows-at-side): New functions.
781
7822011-10-21 Ulrich Mueller <ulm@gentoo.org>
783
784 * tar-mode.el (tar-grind-file-mode):
785 Fix handling of setuid/setgid, handle sticky bit. (Bug#9817)
786
7872011-10-21 Chong Yidong <cyd@gnu.org>
788
789 * progmodes/idlwave.el (idlwave-mode):
790 * progmodes/vera-mode.el (vera-mode):
791 Use mode-require-final-newline.
792
7932011-10-20 Glenn Morris <rgm@gnu.org>
794
795 * vc/vc.el (vc-next-action): Handle removed directories. (Bug#9781)
796
7972011-10-20 Christoph Scholtes <cschol2112@googlemail.com>
798
799 * emulation/cua-base.el (cua-set-mark): Fix case of string.
800
8012011-10-20 Chong Yidong <cyd@gnu.org>
802
803 * emulation/cua-base.el (cua-mode):
804 * mail/footnote.el (footnote-mode):
805 * mail/mailabbrev.el (mail-abbrevs-mode):
806 * net/xesam.el (xesam-minor-mode):
807 * progmodes/bug-reference.el (bug-reference-mode):
808 * progmodes/cap-words.el (capitalized-words-mode):
809 * progmodes/compile.el (compilation-minor-mode)
810 (compilation-shell-minor-mode):
811 * progmodes/gud.el (gud-tooltip-mode):
812 * progmodes/hideif.el (hide-ifdef-mode):
813 * progmodes/idlw-shell.el (idlwave-shell-electric-debug-mode):
814 * progmodes/subword.el (subword-mode):
815 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
816 * progmodes/which-func.el (which-function-mode):
817 * term/tvi970.el (tvi970-set-keypad-mode):
818 * term/vt100.el (vt100-wide-mode):
819 * textmodes/flyspell.el (flyspell-mode):
820 * textmodes/ispell.el (ispell-minor-mode):
821 * textmodes/nroff-mode.el (nroff-electric-mode):
822 * textmodes/paragraphs.el (use-hard-newlines):
823 * textmodes/refill.el (refill-mode):
824 * textmodes/reftex.el (reftex-mode):
825 * textmodes/rst.el (rst-minor-mode):
826 * textmodes/sgml-mode.el (html-autoview-mode)
827 (sgml-electric-tag-pair-mode):
828 * textmodes/tex-mode.el (latex-electric-env-pair-mode):
829 * vc/diff-mode.el (diff-auto-refine-mode, diff-minor-mode):
830 * emulation/crisp.el (crisp-mode):
831 * emacs-lisp/eldoc.el (eldoc-mode):
832 * emacs-lisp/checkdoc.el (checkdoc-minor-mode): Doc fixes for new
833 minor mode behavior.
834
8352011-10-19 Juri Linkov <juri@jurta.org>
836
837 * descr-text.el (describe-char): Add #x2010 and #x2011 to
838 the list of hard-coded chars with escape-glyph face.
839
8402011-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
841
842 * vc/log-edit.el (log-edit-empty-buffer-p): Ignore empty headers.
843
8442011-10-19 Michael Albinus <michael.albinus@gmx.de>
845
846 * net/tramp.el (tramp-connectable-p): Make a stronger check on a
847 running process.
848
8492011-10-19 Glenn Morris <rgm@gnu.org>
850
851 * vc/vc-bzr.el (vc-bzr-after-dir-status):
852 Ignore ignored files. (Bug#9726)
853
8542011-10-19 Chong Yidong <cyd@gnu.org>
855
856 Doc fix for minor modes, stating that an omitted argument enables
857 the mode unconditionally when called from Lisp.
858
859 * abbrev.el (abbrev-mode):
860 * allout.el (allout-mode):
861 * autoinsert.el (auto-insert-mode):
862 * autoarg.el (autoarg-mode, autoarg-kp-mode):
863 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
864 (global-auto-revert-mode):
865 * battery.el (display-battery-mode):
866 * composite.el (global-auto-composition-mode)
867 (auto-composition-mode):
868 * delsel.el (delete-selection-mode):
869 * desktop.el (desktop-save-mode):
870 * dired-x.el (dired-omit-mode):
871 * dirtrack.el (dirtrack-mode):
872 * doc-view.el (doc-view-minor-mode):
873 * double.el (double-mode):
874 * electric.el (electric-indent-mode, electric-pair-mode):
875 * emacs-lock.el (emacs-lock-mode):
876 * epa-hook.el (auto-encryption-mode):
877 * follow.el (follow-mode):
878 * font-core.el (font-lock-mode):
879 * frame.el (auto-raise-mode, auto-lower-mode, blink-cursor-mode):
880 * help.el (temp-buffer-resize-mode):
881 * hilit-chg.el (highlight-changes-mode)
882 (highlight-changes-visible-mode):
883 * hi-lock.el (hi-lock-mode):
884 * hl-line.el (hl-line-mode, global-hl-line-mode):
885 * icomplete.el (icomplete-mode):
886 * ido.el (ido-everywhere):
887 * image-file.el (auto-image-file-mode):
888 * image-mode.el (image-minor-mode):
889 * iswitchb.el (iswitchb-mode):
890 * jka-cmpr-hook.el (auto-compression-mode):
891 * linum.el (linum-mode):
892 * longlines.el (longlines-mode):
893 * master.el (master-mode):
894 * mb-depth.el (minibuffer-depth-indicate-mode):
895 * menu-bar.el (menu-bar-mode):
896 * minibuf-eldef.el (minibuffer-electric-default-mode):
897 * mouse-sel.el (mouse-sel-mode):
898 * msb.el (msb-mode):
899 * mwheel.el (mouse-wheel-mode):
900 * outline.el (outline-minor-mode):
901 * paren.el (show-paren-mode):
902 * recentf.el (recentf-mode):
903 * reveal.el (reveal-mode, global-reveal-mode):
904 * rfn-eshadow.el (file-name-shadow-mode):
905 * ruler-mode.el (ruler-mode):
906 * savehist.el (savehist-mode):
907 * scroll-all.el (scroll-all-mode):
908 * scroll-bar.el (scroll-bar-mode):
909 * server.el (server-mode):
910 * shell.el (shell-dirtrack-mode):
911 * simple.el (auto-fill-mode, transient-mark-mode)
912 (visual-line-mode, overwrite-mode, binary-overwrite-mode)
913 (line-number-mode, column-number-mode, size-indication-mode)
914 (auto-save-mode, normal-erase-is-backspace-mode, visible-mode):
915 * strokes.el (strokes-mode):
916 * time.el (display-time-mode):
917 * t-mouse.el (gpm-mouse-mode):
918 * tool-bar.el (tool-bar-mode):
919 * tooltip.el (tooltip-mode):
920 * type-break.el (type-break-mode-line-message-mode)
921 (type-break-query-mode):
922 * view.el (view-mode):
923 * whitespace.el (whitespace-mode, whitespace-newline-mode)
924 (global-whitespace-mode, global-whitespace-newline-mode):
925 * xt-mouse.el (xterm-mouse-mode): Doc fix.
926
927 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
928 Fix autogenerated docstring.
929
9302011-10-19 Juri Linkov <juri@jurta.org>
931
932 * net/browse-url.el (browse-url-can-use-xdg-open): Support LXDE
933 by checking environment variables "DESKTOP_SESSION" and
934 "XDG_CURRENT_DESKTOP". (Bug#9779)
935
9362011-10-19 Juri Linkov <juri@jurta.org>
937
938 * net/browse-url.el (browse-url-browser-function): Add "Chromium".
939 (browse-url-chromium-program, browse-url-chromium-arguments):
940 New defcustoms.
941 (browse-url-default-browser): Check for `browse-url-chromium' and
942 call `browse-url-chromium-program'.
943 (browse-url-chromium): New command. (Bug#9779)
944
9452011-10-18 Juanma Barranquero <lekktu@gmail.com>
946
947 * facemenu.el (list-colors-duplicates): On Windows, detect more
948 duplicates by assuming that only colors matching "^System" are
949 special "system colors". (Bug#9722)
950
9512011-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
952
953 * vc/log-edit.el (log-edit): Add "Author:" header to encourage people
954 to distinguish the author from the committer.
955
9562011-10-18 Michael Albinus <michael.albinus@gmx.de>
957
958 * net/tramp.el (tramp-file-name-handler): Load Tramp packages silently.
959
9602011-10-18 Jirka Kosek <jirka@kosek.cz> (tiny change)
961
962 * international/mule.el (sgml-html-meta-auto-coding-function):
963 Add support for detecting encoding in HTML5 specified only as
964 <meta charset="UTF-8">. Implementation just makes http-equiv and
965 content-type parts from HTML4 encoding string optional. (Bug#9716)
966
9672011-10-18 Glenn Morris <rgm@gnu.org>
968
969 * vc/vc.el (vc-initial-comment): Mark as obsolete. (Bug#9745)
970
9712011-10-18 Chong Yidong <cyd@gnu.org>
972
973 * faces.el (cursor): Doc fix.
974
9752011-10-17 Chong Yidong <cyd@gnu.org>
976
977 * font-lock.el (font-lock-maximum-size): Mark as obsolete.
978
9792011-10-17 Ryan Barrett <emacs@ryanb.org> (tiny change)
980
981 * dirtrack.el (dirtrack): Support shell buffers with path
982 prefixes, e.g. tramp-based remote shells. (Bug#9647)
983
9842011-10-17 Teodor Zlatanov <tzz@lifelogs.com>
985
986 * json.el: Bump version to 1.3 and note change in History.
987 (json-alist-p, json-plist-p): Rewrite to avoid recursion.
988
9892011-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
990
991 * comint.el (comint-insert-input, comint-send-input)
992 (comint-get-old-input-default, comint-backward-matching-input)
993 (comint-next-prompt): Use nil instead of `input' for field property of
994 past user input (bug#114).
995
996 * minibuffer.el (completion--replace): Inherit surrounding properties
997 (bug#114).
998 (minibuffer-complete-and-exit): Use it.
999
1000 * comint.el (comint--table-subvert): Quote the all-completions output
1001 (bug#9160).
1002
10032011-10-17 Martin Rudalics <rudalics@gmx.at>
1004
1005 * ido.el (ido-default-buffer-method): Remove redundant :type entry.
1006
1007 * menu-bar.el (menu-bar-file-menu): Add entry for making new
1008 window on right of selected. (Bug#9350) Reword other window
1009 entries and separate them from frame entries.
1010
10112011-10-15 Glenn Morris <rgm@gnu.org>
1012
1013 * emacs-lisp/ert.el (ert--explain-equal-rec, ert-select-tests):
1014 Doc fixes.
1015
10162011-10-15 Chong Yidong <cyd@stupidchicken.com>
1017
1018 * net/network-stream.el (network-stream-open-starttls):
1019 Improve detection of failure due to lack of TLS support.
1020
1021 * mail/sendmail.el (sendmail-query-once): Tweak prompt message,
1022 putting the input text in front and in bold.
1023
10242011-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
1025
1026 * pcmpl-unix.el (pcomplete/ssh): SSH does allow ganging.
1027
1028 * mpc.el (mpc-songs-jump-to): Don't burp if the user clicks in an
1029 empty buffer.
1030
1031 * mouse.el (mouse-drag-mode-line-1): Modify the end-event we pushed on
1032 unread-command-events rather than pushing yet-another event.
1033
10342011-10-14 Eli Zaretskii <eliz@gnu.org>
1035
1036 * mail/sendmail.el (sendmail-query-once): Improve the wording of
1037 the explanation of the possible choices. Make the options passed
1038 to completing-read shorter.
1039
10402011-10-13 Agustín Martín Domingo <agustin.martin@hispalinux.es>
1041
1042 * textmodes/flyspell.el (flyspell-large-region): Make sure
1043 extended character mode is used if defined (Bug#1339).
1044
10452011-10-13 Eli Zaretskii <eliz@gnu.org>
1046
1047 * simple.el (what-cursor-position): Fix the display of the
1048 character info for LRE, LRO, RLE, and RLO characters by appending
1049 an invisible PDF.
1050
10512011-10-13 Stefan Monnier <monnier@iro.umontreal.ca>
1052
1053 * emacs-lisp/timer.el (with-timeout): Make sure we cancel the timer
1054 even in case of error; add debug spec; simplify data flow.
1055 (with-timeout-handler): Remove.
1056
10572011-10-12 Michael Albinus <michael.albinus@gmx.de>
1058
1059 Fix Bug#6019, Bug#9315.
1060
1061 * files.el (set-auto-mode): Call `file-name-sans-versions' for the
1062 complete `buffer-file-name', the local file name part could look
1063 remotely (for example on VMS).
1064
1065 * net/ange-ftp.el (ange-ftp-run-real-handler): Make it an alias of
1066 `tramp-run-real-handler'.
1067 (ange-ftp-fix-name-for-vms): Handle the case, where `name' is
1068 already quoted by '"'.
1069
1070 * net/tramp.el (tramp-rfn-eshadow-update-overlay): Ignore errors.
1071 Let `file-name-handler-alist' be nil, the local file name part
1072 could look remotely (for example on VMS).
1073
10742011-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
1075
1076 * textmodes/flyspell.el (flyspell-word): Move with-local-quit
1077 from here...
1078 (flyspell-post-command-hook): ...to here.
1079
10802011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
1081
1082 * mail/sendmail.el (send-mail-function): Don't use sendmail-query-once
1083 if not needed.
1084 (sendmail-query-once): Remove OS dependencies. Make it a 3-way choice
1085 using completion. Protect against "slow" callers.
1086 Remove the "message hack".
1087
10882011-10-11 Juri Linkov <juri@jurta.org>
1089
1090 * isearch.el (isearch-lazy-highlight-word): New variable.
1091 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
1092 Use it. (Bug#9727)
1093
10942011-10-11 Glenn Morris <rgm@gnu.org>
1095
1096 * progmodes/f90.el (f90-next-statement): Ignore preprocessor lines,
1097 like f90-previous-statement does.
1098
10992011-10-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
1100
1101 * eshell/eshell.el (eshell-command): History should be saved
1102 only in interactive use, to avoid error.
1103
11042011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
1105
1106 * minibuffer.el (completion-file-name-table): Fix last change,
1107 i.e. ignore normal errors but not the other ones.
1108
11092011-10-10 Martin Rudalics <rudalics@gmx.at>
1110
1111 * window.el (special-display-buffer-names)
1112 (special-display-regexps): Remove some remnants of earlier
1113 changes from doc-strings.
1114 (quit-windows-on): New function.
1115
1116 * vc/vc.el (vc-revert, vc-rollback):
1117 * vc/vc-dispatcher.el (vc-finish-logentry): Call quit-windows-on
1118 instead of deleting windows. (Bug#4557) (Bug#5310) (Bug#5556)
1119 (Bug#6183) (Bug#7074) (Bug#7447)
1120
11212011-10-09 Martin Rudalics <rudalics@gmx.at>
1122
1123 * window.el (frame-auto-hide-function): Add version tag.
1124 (Bug#9699)
1125
11262011-10-09 Michael Albinus <michael.albinus@gmx.de>
1127
1128 * net/tramp.el (tramp-file-name-handler): Add 'debug to the error
1129 condition.
1130
11312011-10-09 Leo Liu <sdl.web@gmail.com>
1132
1133 * mail/smtpmail.el (smtpmail-send-data): Add a missing space.
1134 (Bug#9701)
1135
11362011-10-08 Glenn Morris <rgm@gnu.org>
1137
1138 * progmodes/f90.el (f90-calculate-indent): Give preprocessor lines
1139 before the first code statement zero indent. (Bug#9690)
1140
11412011-10-08 Chong Yidong <cyd@stupidchicken.com>
1142
1143 * simple.el (count-words-region): Always count in the region.
1144 Report the number of lines and characters too.
1145 (count-words): New command, which counts in the buffer if the
1146 region is inactive, as count-words-region used to.
1147 (count-words--message): New function. Handle plurals.
1148 (count-lines-region): Make it an alias for count-words-region.
1149
1150 * bindings.el (esc-map): Replace count-lines-region with
1151 count-words-region.
1152
11532011-10-08 Martin Rudalics <rudalics@gmx.at>
1154
1155 * window.el (window--delete): Delete dedicated frame
1156 unconditionally when argument KILL is non-nil. (Bug#9699)
1157 (switch-to-buffer): Fix doc-string typo.
1158
11592011-10-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
1160
1161 * lisp/eshell/eshell.el (eshell-command): Avoid using hooks.
1162
11632011-10-07 Chong Yidong <cyd@stupidchicken.com>
1164
1165 * bindings.el ([M-left],[M-right]): Bind to left-word and
1166 right-word respectively.
1167
11682011-10-07 Glenn Morris <rgm@gnu.org>
1169
1170 * cus-start.el (debug-on-quit): Fix custom type.
1171
11722011-10-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
1173
1174 * subr.el (define-key-after): Clarify that the function is not
1175 useful for non-menu keymaps.
1176
1177 * progmodes/gdb-mi.el (gdb): Fix typo in doc string.
1178
11792011-10-06 Thierry Volpiatto <thierry.volpiatto@gmail.com>
1180
1181 * eshell/eshell.el (eshell-command): Enable `eshell-mode' only
1182 in current minibuffer (Fix bug with recursive minibuffers).
1183
11842011-10-06 Chong Yidong <cyd@stupidchicken.com>
1185
1186 * progmodes/gdb-mi.el (gdb): Doc fix.
1187
11882011-10-05 Martin Rudalics <rudalics@gmx.at>
1189
1190 * window.el (frame-auto-hide-function): New option replacing
1191 frame-auto-delete. Suggested by Stefan Monnier.
1192 (window--delete): Call frame-auto-hide-function instead of
1193 investigating frame-auto-delete.
1194 (window-point-1, set-window-point-1): New functions.
1195 (window-in-direction, record-window-buffer, window-state-get-1)
1196 (display-buffer-record-window): Use window-point-1 instead of
1197 window-point.
1198 (set-window-buffer-start-and-point): Use set-window-point-1.
1199
12002011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
1201
1202 * emacs-lisp/edebug.el: Heed checkdoc recommendations.
1203
12042011-10-05 Glenn Morris <rgm@gnu.org>
1205
1206 * progmodes/perl-mode.el (perl-electric-terminator): Doc fix.
1207 (perl-calculate-indent): Suppress scan errors. (Bug#2205)
1208
12092011-10-05 Leo Liu <sdl.web@gmail.com>
1210
1211 * subr.el (read-char-choice): Fix argument to buffer-live-p which
1212 works with buffer object.
1213
12142011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
1215
1216 * mpc.el (mpc-tool-bar-map): Add labels.
1217
12182011-10-04 Glenn Morris <rgm@gnu.org>
1219
1220 * calendar/holidays.el (calendar-check-holidays): Doc fix.
1221
12222011-10-04 Martin Rudalics <rudalics@gmx.at>
1223
1224 * window.el (window--delete): New function.
1225 (frame-auto-delete): Resuscitate option.
1226 (bury-buffer, replace-buffer-in-windows)
1227 (quit-window): Rewrite using window--delete.
1228 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
1229 Pass display-buffer-mark-dedicated to window--display-buffer-2
1230 (Bug#9639).
1231
12322011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
1233
1234 * pcmpl-unix.el (pcomplete/scp): Don't assume pcomplete-all-entries
1235 returns a list (bug#9554). Add remote file name completion.
1236 * comint.el (comint--table-subvert): Curry and get quote&unquote
1237 functions as arguments.
1238 (comint--complete-file-name-data): Adjust call accordingly.
1239 * pcomplete.el (pcomplete--table-subvert): Remove.
1240 (pcomplete-completions-at-point): Use comint--table-subvert instead.
1241
1242 * minibuffer.el (completion-table-case-fold): Use currying.
1243 (completion--styles-type, completion--cycling-threshold-type):
1244 New constants.
1245 (completion-styles, completion-category-overrides)
1246 (completion-cycle-threshold): Use them.
1247 * pcomplete.el (pcomplete-completions-at-point): Adjust call to
1248 completion-table-case-fold.
1249
12502011-10-03 Stephen Berman <stephen.berman@gmx.net>
1251
1252 * minibuffer.el (completion-category-overrides): Fix type of styles
1253 and add more user friendly tags (bug#9660).
1254
12552011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
1256
1257 * international/mule-cmds.el: Fix abuses of apply-partially (bug#9661).
1258 (mule-input-method-string): New widget.
1259 (default-input-method, language-info-custom-alist): Use it.
1260
12612011-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
1262
1263 * pcomplete.el: Require comint.
1264 (pcomplete--common-suffix): Remove.
1265 (pcomplete--common-quoted-suffix): Use comint--common-suffix instead.
1266 (pcomplete--table-subvert): Sync with comint--table-subvert.
1267 (pcomplete--entries): Use comint-completion-file-name-table.
1268 * comint.el (comint-unquote-filename): Simplify.
1269 (comint-completion-file-name-table): New function (bug#9616).
1270 (comint--complete-file-name-data): Use it.
1271
1272 * pcmpl-gnu.el (pcmpl-gnu-with-file-buffer): New macro (bug#9643).
1273 (pcmpl-gnu-tar-buffer): Remove.
1274 (pcmpl-gnu-with-file-buffer): Use it to avoid leaving the tar's buffer
1275 around. Make sure pcomplete-suffix-list is only changed temporarily.
1276 Don't look inside the tar's file if it's too large.
1277
12782011-10-01 Chong Yidong <cyd@stupidchicken.com>
1279
1280 * cus-edit.el (custom-mode-map):
1281 * epa.el (epa-key-list-mode-map):
1282 * man.el (Man-mode-map):
1283 * startup.el (splash-screen-keymap):
1284 * simple.el (special-mode-map): Use scroll-up-command and
1285 scroll-down-command.
1286
1287 * progmodes/idlw-help.el (idlwave-help-mode-map):
1288 * progmodes/ebrowse.el (ebrowse-electric-position-mode-map):
1289 * net/newst-plainview.el (newsticker-mode-map):
1290 * emulation/ws-mode.el (wordstar-mode-map):
1291 * emulation/vi.el (vi-com-map):
1292 * calc/calc-graph.el (calc-graph-show-dumb):
1293 * term/sun.el (terminal-init-sun):
1294 * term/ns-win.el (global-map):
1295 * progmodes/grep.el (grep-mode-map):
1296 * progmodes/ebrowse.el (ebrowse-electric-list-mode-map):
1297 * mail/rmail.el (rmail-mode-map):
1298 * progmodes/cpp.el (cpp-edit-mode-map): Likewise.
1299
1300 * custom.el (custom-safe-themes, load-theme): Treat value of t for
1301 custom-safe-themes as special.
1302
13032011-10-01 Julien Danjou <julien@danjou.info>
1304
1305 * notifications.el (notifications-notify): Fix docstring.
1306
13072011-10-01 Per Starbäck <per@starback.se>
1308
1309 * pcmpl-gnu.el (pcomplete/tar): Fix tar-header-name call. (Bug#9643)
1310
13112011-09-30 Martin Rudalics <rudalics@gmx.at>
1312
1313 * startup.el (command-line-1): Fix last fix by inserting
1314 initial-scratch-message into *scratch* before displaying it.
1315 (Bug#9605) and (Bug#9636)
1316
13172011-09-29 Eli Zaretskii <eliz@gnu.org>
1318
1319 * simple.el (line-move): If auto-hscroll-mode is disabled and the
1320 window is hscrolled, move by logical lines. (Bug#9607)
1321 (line-move-visual): Update the doc string to the above effect.
1322
13232011-09-29 Martin Rudalics <rudalics@gmx.at>
1324
1325 * window.el (display-buffer-record-window): When WINDOW is the
1326 selected window use `point' instead of `window-point'. (Bug#9626)
1327
1328 * startup.el (command-line-1): Use insert-before-markers when
1329 inserting initial-scratch-message. (Bug#9605)
1330
1331 * help.el (help-window): Remove variable.
1332
13332011-09-29 Glenn Morris <rgm@gnu.org>
1334
1335 * pcmpl-cvs.el (pcomplete/cvs): Add "status" handler.
1336
13372011-09-29 Juanma Barranquero <lekktu@gmail.com>
1338
1339 * descr-text.el (describe-char-categories): Accept category
1340 descriptions more than one line long.
1341
13422011-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
1343
1344 * simple.el (delete-trailing-whitespace): Fix last change.
1345
1346 * progmodes/perl-mode.el (perl-syntax-propertize-function):
1347 Don't confuse "y => 3" as the beginning of a `y' operation.
1348
1349 * emacs-lisp/debug.el (debug-convert-byte-code): Don't assume the
1350 object has more than 4 slots (bug#9613).
1351
13522011-09-28 Juanma Barranquero <lekktu@gmail.com>
1353
1354 * subr.el (with-output-to-temp-buffer):
1355 * net/quickurl.el (quickurl, quickurl-browse-url):
1356 Fix typos in docstrings.
1357
13582011-09-27 Eli Zaretskii <eliz@gnu.org>
1359
1360 * minibuffer.el (completion-styles)
1361 (completion-category-overrides): Cross reference each other in doc
1362 strings.
1363
13642011-09-27 Glenn Morris <rgm@gnu.org>
1365
1366 * pcmpl-cvs.el (pcmpl-cvs-entries): Update for Emacs 22.1 changes
1367 to split-string. (Bug#9606)
1368
13692011-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
1370
1371 * mail/smtpmail.el (smtpmail-via-smtp): Fix STARTTLS detection
1372 (bug#9615).
1373
13742011-09-27 Chong Yidong <cyd@stupidchicken.com>
1375
1376 * emacs-lisp/package.el (list-packages): Fix echo area message.
1377
13782011-09-27 Leo Liu <sdl.web@gmail.com>
1379
1380 * ido.el (ido-read-internal): Accept cons cell HIST arg.
1381
13822011-09-25 Michael Albinus <michael.albinus@gmx.de>
1383
1384 * net/dbus.el (dbus-unregister-object): Don't release services for
1385 registered signals. (Bug#9581)
1386
13872011-09-25 Teodor Zlatanov <tzz@lifelogs.com>
1388
1389 * progmodes/cfengine.el (cfengine-auto-mode): Add convenience
1390 function that picks between cfengine 2 and 3 support
1391 automatically. Update docs accordingly.
1392
13932011-09-22 Kenichi Handa <handa@m17n.org>
1394
1395 * language/ind-util.el (indian-tml-base-table): Add TAMIL DIGIT
1396 ZERO.
1397 (indian-itrans-v5-table-for-tamil): New variable.
1398 (indian-tml-itrans-v5-hash): Use the above variable (Bug#9336).
1399
14002011-09-22 Ken Manheimer <ken.manheimer@gmail.com>
1401
1402 * allout.el (allout-this-command-hid-stuff): Buffer-local variable
1403 that's true if the current command involved collapsing of text.
1404 It's reset to false at the beginning of the next command.
1405 (allout-post-command-business): Move the cursor to the beginning
1406 of entry if the cursor is hidden and collapsing activity just
1407 happened.
1408
14092011-09-24 Chong Yidong <cyd@stupidchicken.com>
1410
1411 * mouse.el (mouse-drag-track): Set scroll-margin to 0 while
1412 tracking (Bug#9541).
1413
14142011-09-24 Ulf Jasper <ulf.jasper@web.de>
1415
1416 * net/newst-reader.el (newsticker-html-renderer)
1417 (newsticker-show-news): Automatically
1418 load html rendering package if newsticker-html-renderer is set.
1419 Fixes "Warning: defvar ignored because w3m-fill-column is
1420 let-bound" and the error "Symbol's value as variable is void:
1421 w3m-fill-column".
1422
14232011-09-24 Michael Albinus <michael.albinus@gmx.de>
1424
1425 * net/dbus.el (dbus-unregister-object): Remove match rule of signals.
1426 Release services only if they are defined. (Bug#9581)
1427
14282011-09-23 Richard Stallman <rms@gnu.org>
1429
1430 * textmodes/paragraphs.el (forward-sentence): For backwards case,
1431 distinguish start of paragraph from start of its text.
1432
1433 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs): Autoload.
1434
1435 * mail/rmail.el (rmail-view-buffer-kill-buffer-hook): New function.
1436 (rmail-generate-viewer-buffer): Put that hook on view buffer.
1437 (rmail-mode-kill-buffer-hook): Override that hook, to kill view buffer.
1438
14392011-09-23 Andreas Schwab <schwab@linux-m68k.org>
1440
1441 * international/mule-diag.el (mule-diag): Insert a newline after
1442 each fontset description.
1443
14442011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
1445
1446 * simple.el (delete-trailing-whitespace):
1447 Document last change; simplify.
1448
14492011-09-23 Peter J. Weisberg <pj@irregularexpressions.net>
1450
1451 * simple.el (delete-trailing-whitespace): Also delete
1452 extra newlines at the end of the buffer.
1453
1454 * textmodes/picture.el: Make motion commands obey shift-select-mode.
1455 (picture-newline): Use forward-line so as to ignore fields.
1456
14572011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
1458
1459 * subr.el (with-wrapper-hook): Fix edebug spec.
1460
14612011-09-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
1462
1463 * simple.el (kill-line): Note effect of `show-trailing-whitespace'
1464 (bug#4538).
1465
14662011-09-23 Michael Albinus <michael.albinus@gmx.de>
1467
1468 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
1469 Fix nasty bug using wrong cached values.
1470
14712011-09-23 Alan Mackenzie <acm@muc.de>
1472
1473 * progmodes/cc-defs.el (c-version): Increase to 5.31.9.
1474
14752011-09-23 Chong Yidong <cyd@stupidchicken.com>
1476
1477 * window.el (pop-to-buffer): Ensure right window is selected if we
1478 chose another frame.
1479
14802011-09-22 Eli Zaretskii <eliz@gnu.org>
1481
1482 * simple.el (what-cursor-position): Use get-char-property-change
1483 and next-single-char-property-change, to be able to show display
1484 properties that come from overlays as well as text properties.
1485
14862011-09-22 Chong Yidong <cyd@stupidchicken.com>
1487
1488 * window.el (pop-to-buffer-same-window): New (reinstated) fun.
1489
1490 * cmuscheme.el (run-scheme, switch-to-scheme):
1491 * cus-edit.el (customize-group, custom-buffer-create)
1492 (customize-browse):
1493 * info.el (info):
1494 * shell.el (shell):
1495 * mail/sendmail.el (mail):
1496 * progmodes/inf-lisp.el (inferior-lisp): Use it (Bug#9532).
1497
14982011-09-22 Richard Stallman <rms@gnu.org>
1499
1500 * textmodes/paragraphs.el (forward-sentence): When setting PAR-BEG,
1501 move back only to line beg, don't move back over blank lines.
1502
15032011-09-22 Michael Albinus <michael.albinus@gmx.de>
1504
1505 * files.el (copy-directory): Set directory attributes only in case
1506 they could be retrieved from the source directory. (Bug#9565)
1507
15082011-09-22 Dima Kogan <dkogan@secretsauce.net> (tiny change)
1509
1510 * progmodes/hideshow.el (hs-looking-at-block-start-p)
1511 (hs-find-block-beginning, hs-hide-level-recursive):
1512 Ignore strings as well as comments. (Bug#9502)
1513
15142011-09-22 Andrew Schein <andrew@andrewschein.com> (tiny change)
1515
1516 * progmodes/sql.el (sql-comint-postgres):
1517 Convert port number to a string. (Bug#9566)
1518
15192011-09-22 Martin Rudalics <rudalics@gmx.at>
1520
1521 * window.el (quit-window): Undedicate window when switching to
1522 previous buffer. Reported by Thierry Volpiatto
1523 <thierry.volpiatto@gmail.com>.
1524 (special-display-popup-frame): When popping up a new frame reset
1525 its previous buffers to nil. Simplify code.
1526
15272011-09-21 Michael Albinus <michael.albinus@gmx.de>
1528
1529 * net/tramp.el (tramp-handle-shell-command): Set process sentinel
1530 and process filter, as done also in `shell-command'.
1531
15322011-09-21 Martin Rudalics <rudalics@gmx.at>
1533
1534 * window.el (set-window-buffer-start-and-point):
1535 Call set-window-start with NOFORCE argument t. Suggested by Thierry
1536 Volpiatto <thierry.volpiatto@gmail.com>.
1537 (quit-window): Reword doc-string. Handle new format of
1538 quit-restore parameter. Don't delete window if it has a
1539 previous buffer we can show instead of the present one.
1540 (display-buffer-record-window): Rewrite using a new format for
1541 the quit-restore window parameter
1542 (special-display-popup-frame, display-buffer-same-window)
1543 (display-buffer-reuse-window, display-buffer-pop-up-frame)
1544 (display-buffer-pop-up-window, display-buffer-use-some-window):
1545 Adapt symbol passed to display-buffer-record-window.
1546 * help.el (help-window-setup): Handle new format of quit-restore
1547 parameter.
1548
15492011-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
1550
1551 * faces.el (face-list): Fix docstring (bug#9564).
1552
1553 * window.el (display-buffer--action-function-custom-type):
1554 Don't include internal functions in the Custom interface.
1555
15562011-09-20 Juri Linkov <juri@jurta.org>
1557
1558 * info.el (Info-history-skip-intermediate-nodes): New defcustom.
1559 (Info-forward-node, Info-backward-node, Info-next-preorder)
1560 (Info-last-preorder): Use it. (Bug#9528)
1561
15622011-09-20 Juri Linkov <juri@jurta.org>
1563
1564 * info.el (Info-last-preorder): Visit last menu item only when
1565 `Info-scroll-prefer-subnodes' is non-nil (third test-case of bug#9528).
1566
15672011-09-20 Julien Danjou <julien@danjou.info>
1568
1569 * password-cache.el (password-cache-remove): Remove entries even if the
1570 value is nil, so that password with a nil value (negative caching) is
1571 possible to invalidate.
1572
15732011-09-20 Lawrence Mitchell <wence@gmx.li>
1574
1575 * progmodes/f90.el (f90-break-line): If breaking inside comment delete
1576 all whitespace around breakpoint. (Bug#9553)
1577 (f90-find-breakpoint): Only break at whitespace inside a comment.
1578
15792011-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
1580
1581 * minibuffer.el (completion-file-name-table): Keep track of errors.
1582 (completion-table-with-predicate): Handle the case where pred1 is nil.
1583 * pcomplete.el (pcomplete-completions-at-point): Simplify.
1584
15852011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
1586
1587 * emacs-lisp/debug.el (debugger-args): Give it a docstring.
1588 (debugger-return-value): Signal an error if the debugging context does
1589 not await any return value.
1590
1591 * ps-mule.el (ps-mule-plot-string): Don't inf-loop (bug#5108).
1592 * image-mode.el (image-toggle-display-text)
1593 (image-toggle-display-image): Stay away from evil `intangible'.
1594
15952011-09-19 Leo Liu <sdl.web@gmail.com>
1596
1597 * replace.el (occur-revert-arguments): Make it permanent-local.
1598 (occur-mode): Don't call font-lock-defontify.
1599
16002011-09-19 Chong Yidong <cyd@stupidchicken.com>
1601
1602 * net/ldap.el (ldap-search-internal): Don't push empty search
1603 result (Bug#9508).
1604
16052011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
1606
1607 * whitespace.el (whitespace-newline-mode): Disable it right (bug#9550).
1608
16092011-09-19 Michael Albinus <michael.albinus@gmx.de>
1610
1611 * net/tramp-sh.el (tramp-inline-compress-commands): Add "xz".
1612 Suggested by Liam Stitt <stittl@cuug.ab.ca>.
1613
16142011-09-18 Juri Linkov <juri@jurta.org>
1615
1616 * buff-menu.el (Buffer-menu-mode-map):
1617 * dired.el (dired-mode-map):
1618 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map)
1619 (lisp-interaction-mode-map):
1620 * emacs-lisp/package.el (package-menu-mode-map):
1621 * epa.el (epa-key-list-mode-map):
1622 * menu-bar.el (menu-bar-showhide-tool-bar-menu)
1623 (menu-bar-options-menu):
1624 * outline.el (outline-mode-menu-bar-map):
1625 * vc/vc-bzr.el (vc-bzr-shelve-menu-map, vc-bzr-extra-menu-map):
1626 * vc/vc-dir.el (vc-dir-menu-map):
1627 * vc/vc-git.el (vc-git-stash-menu-map, vc-git-extra-menu-map):
1628 Capitalize non-function content words in menu item strings.
1629
1630 * dired.el (dired-mode-map): Add menu item for
1631 `image-dired-dired-toggle-marked-thumbs'.
1632
16332011-09-18 Juri Linkov <juri@jurta.org>
1634
1635 * isearch.el (isearch-edit-string): Bind `isearch-new-case-fold'
1636 to `isearch-case-fold-search' and restore its original value
1637 after the `isearch-mode' call.
1638
16392011-09-18 Juri Linkov <juri@jurta.org>
1640
1641 * progmodes/grep.el (grep-process-setup): Don't check code for 1
1642 because `zgrep' returns 1 for successful matches (bug#9226).
1643
16442011-09-18 Juri Linkov <juri@jurta.org>
1645
1646 * info.el (Info-extract-menu-node-name): Check the second match
1647 for empty string (second test-case of bug#9528).
1648 (Info-last-preorder): Let-bind `Info-history' to nil to not add
1649 intermediate nodes to the history (first test-case of bug#9528).
1650
16512011-09-18 Juri Linkov <juri@jurta.org>
1652
1653 * info.el (Info-mode-syntax-table): New variable.
1654 (Info-mode): Set `:syntax-table' to `Info-mode-syntax-table'. (Bug#3312)
1655
16562011-09-18 Juri Linkov <juri@jurta.org>
1657
1658 * info.el (Info-file-supports-index-cookies): Increment
1659 line-beginning-position's arg from 3 to 4 because makeinfo outputs
1660 one more line for long file names (bug#4142).
1661
16622011-09-18 Chong Yidong <cyd@stupidchicken.com>
1663
1664 * newcomment.el (comment-normalize-vars): If prompting for
1665 comment-start, set comment-start-skip too (Bug#8424).
1666
16672011-09-18 Johan Bockgård <bojohan@gnu.org>
1668
1669 * icomplete.el: Fix previous fix of Bug#5849.
1670 (icomplete-mode): Don't set completion-show-inline-help.
1671 (icomplete-minibuffer-setup): Set completion-show-inline-help
1672 locally during icompletion.
1673
16742011-09-18 Chong Yidong <cyd@stupidchicken.com>
1675
1676 * woman.el (woman2-process-escapes): Don't delete unrecognized
1677 escapes (Bug#7843).
1678
1679 * files.el (inhibit-first-line-modes-regexps): Add image files.
1680 (hack-local-variables-prop-line): Return nil for malformed
1681 prop-lines (Bug#9044).
1682
16832011-09-18 Michael Albinus <michael.albinus@gmx.de>
1684
1685 * net/tramp.el (top): Don't require 'shell.
1686 (tramp-methods): Fix docstring.
1687 (tramp-get-remote-tmpdir): New defun, moved from tramp-sh.el.
1688 Return complete remote file name. Handle "smb" case.
1689 Use `tramp-tmpdir', if defined for the respective method.
1690 (tramp-make-tramp-temp-file): Adapt call of `tramp-get-remote-tmpdir'.
1691
1692 * net/tramp-compat.el (top): Require 'shell.
1693
1694 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
1695 (tramp-maybe-open-connection): Use `tramp-file-name-real-host' for
1696 `tramp-current-host'.
1697 (tramp-get-remote-tmpdir): Remove.
1698
1699 * net/tramp-smb.el (tramp-methods): Add `tramp-remote-shell' and
1700 `tramp-tmpdir' entries.
1701 (tramp-smb-errors): Add "NT_STATUS_IMAGE_ALREADY_LOADED".
1702 (tramp-smb-handle-file-attributes): Ignore errors.
1703 (tramp-smb-wait-for-output): Check also for process end.
1704
17052011-09-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
1706
1707 * mail/smtpmail.el (smtpmail-via-smtp): Ignore errors that arise
1708 when sending QUIT (bug#9312).
1709
17102011-09-17 Chong Yidong <cyd@stupidchicken.com>
1711
1712 * replace.el (occur-mode-map): Rebind occur-edit-mode to "e" (Bug#8463).
1713 (occur-edit-mode-map): Bind C-c C-c to occur-cease-edit and C-o to
1714 occur-mode-display-occurrence.
1715 (occur-edit-mode): Add usage message.
1716 (occur-cease-edit): New command.
1717 (occur-after-change-function): Use text properties to find the
1718 position of the prefix text.
1719 (occur-engine): Set stickiness of prefix text properties.
1720
17212011-09-17 Glenn Morris <rgm@gnu.org>
1722
1723 * progmodes/etags.el (complete-tag):
1724 Fix call to completion-in-region. (Bug#9526)
1725
17262011-09-17 Juri Linkov <juri@jurta.org>
1727
1728 * textmodes/ispell.el (ispell-word): Add to the error message
1729 the word, ispell program name and current dictionary (bug#9121).
1730 (ispell-tex-arg-end): Capitalize "error" in the error message.
1731
17322011-09-17 Andreas Schwab <schwab@linux-m68k.org>
1733
1734 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix overflow
1735 check. (Bug#4251)
1736
17372011-09-17 Juri Linkov <juri@jurta.org>
1738
1739 * window.el (window-safe-min-height, window-safe-min-width):
1740 Fix typos (followup to bug#9522).
1741
17422011-09-17 Sven Joachim <svenjoac@gmx.de>
1743
1744 * window.el (window-min-width, window-state-put): Fix typos (bug#9522).
1745
17462011-09-16 Eli Zaretskii <eliz@gnu.org>
1747
1748 * simple.el (line-move): If goal-column is set, move by logical
1749 lines, not by display lines. (Bug#971)
1750 (next-line, previous-line, goal-column, line-move-visual): Doc fix
1751 to reflect the above change.
1752
17532011-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
1754
1755 * image.el (imagemagick-register-types): Use regexp-opt.
1756
17572011-09-15 Chong Yidong <cyd@stupidchicken.com>
1758
1759 * window.el (display-buffer-base-action): Rename from
1760 display-buffer-default-action. Make default value empty.
1761 (display-buffer-overriding-action): Convert to defvar.
1762 (display-buffer-fallback-action): New var.
1763
17642011-09-15 Chong Yidong <cyd@stupidchicken.com>
1765
1766 * emacs-lisp/package.el (package-alist): Fix risky-local-variable
1767 declaration.
1768 (package--add-to-archive-contents): If there is a duplicate entry
1769 with an older version, remove it.
1770 (package-menu-mark-delete, package-menu-mark-install)
1771 (package-menu-mark-unmark): Make unused args optional.
1772 (package-menu-mark-obsolete-for-deletion):
1773 Use package-menu-get-status instead of a regexp search.
1774 (package-menu-get-status): Use tabulated-list-entry.
1775 (package-menu-mark-upgrades): New command.
1776 (package-menu-mode-map): Bind it to U. Add it to menu bar.
1777 (package-menu-execute): Do installation before deletion.
1778 (package-menu-refresh, package-menu-execute): Use derived-mode-p
1779 instead of checking major-mode.
1780 (package-menu--find-upgrades): New function.
1781
17822011-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
1783
1784 * mail/smtpmail.el (smtpmail-send-command): Don't include AUTH
1785 passwords in the log buffer.
1786 (smtpmail-process-filter): Update the process marker so that the
1787 "broken by peer" status message is inserted in the right place.
1788
17892011-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
1790
1791 * textmodes/bibtex.el (bibtex-complete-string-cleanup)
1792 (bibtex-complete-crossref-cleanup): Adjust to accommodate needs of
1793 bibtex-completion-at-point-function.
1794 (bibtex-completion-at-point-function): Use them.
1795
1796 * newcomment.el (comment-add, comment-valid-prefix-p): Docfix.
1797
1798 * mpc.el (mpc-constraints-tag-lookup): New function.
1799 (mpc-constraints-restore): Use it to make jumping to "album=Foo" apply
1800 also to browser "album|playlist".
1801
18022011-09-14 Juri Linkov <juri@jurta.org>
1803
1804 * isearch.el (isearch-fail-pos): Add new arg `msg'. Doc fix.
1805 (isearch-edit-string): Use length of `isearch-string' when
1806 `isearch-fail-pos' returns nil.
1807 (isearch-message): Remove duplicate code and call
1808 `isearch-fail-pos' with arg `t'.
1809
18102011-09-14 Chong Yidong <cyd@stupidchicken.com>
1811
1812 * replace.el (occur-mode-goto-occurrence): Don't force using other
1813 window (Bug#9499).
1814
1815 * dired-aux.el (dired-do-chmod): Don't provide initial input.
1816
18172011-09-14 Martin Rudalics <rudalics@gmx.at>
1818
1819 * window.el (display-buffer-window): Remove.
1820 (display-buffer-record-window): Use help-setup window parameter
1821 instead of variable display-buffer-window.
1822 (display-buffer-function, special-display-buffer-names)
1823 (special-display-function): Mention help-setup parameter instead
1824 of display-buffer-window in doc-string.
1825 * help.el (help-window-setup): New argument help-window.
1826 Use help-window-setup parameter instead of display-buffer-window.
1827 Reword some messages.
1828 (with-help-window): Pass window used for displaying the buffer
1829 to help-window-setup. Don't set display-buffer-window.
1830
18312011-09-13 Glenn Morris <rgm@gnu.org>
1832
1833 * emacs-lisp/debug.el (debugger-make-xrefs):
1834 Preserve point. (Bug#9462)
1835
18362011-09-13 Chong Yidong <cyd@stupidchicken.com>
1837
1838 * window.el (window-deletable-p): Use next-frame.
1839
18402011-09-13 Martin Rudalics <rudalics@gmx.at>
1841
1842 * window.el (window-auto-delete): Remove.
1843 (window-deletable-p): Remove argument FORCE. Don't deal with
1844 dedicatedness and previous buffers.
1845 (switch-to-prev-buffer): Don't delete window.
1846 (delete-windows-on): Delete a window's frame if and only if the
1847 window is dedicated.
1848 (replace-buffer-in-windows): Delete buffer's window or frame if
1849 and only if window is dedicated.
1850 (quit-window): Handle quit-restore as before last change.
1851 (bury-buffer): Delete window only if window-deletable-p returns t.
1852
18532011-09-13 Chong Yidong <cyd@stupidchicken.com>
1854
1855 * window.el (window-deletable-p): Never delete the last frame on a
1856 given terminal.
1857
18582011-09-13 Glenn Morris <rgm@gnu.org>
1859
1860 * help.el (describe-key-briefly): Copy previous standard-output change.
1861
18622011-09-13 PJ Weisberg <pj@irregularexpressions.net>
1863
1864 * help.el (where-is): Respect non-standard standard-output. (Bug#9030)
1865
18662011-09-13 Glenn Morris <rgm@gnu.org>
1867
1868 * emacs-lisp/lisp-mode.el (lisp-indent-function):
1869 * progmodes/scheme.el (scheme-indent-function): Doc fixes.
1870
18712011-09-12 Chong Yidong <cyd@stupidchicken.com>
1872
1873 * dired-aux.el (dired-mark-read-string): Don't return default
1874 value on empty input (Bug#9361).
1875 (dired-do-chxxx): Treat empty input for "touch" as no -t option.
1876 Omit initial minibuffer contents.
1877 (dired-do-chmod): Signal an error on empty input.
1878 (dired-mark-read-string): Don't return default on empty input.
1879
1880 * files.el (file-modes-symbolic-to-number): Doc fix.
1881
18822011-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
1883
1884 * international/mule-cmds.el (ucs-completions): Remove.
1885 (read-char-by-name): Use complete-with-action instead; add metadata.
1886
18872011-09-11 Chong Yidong <cyd@stupidchicken.com>
1888
1889 * window.el (display-buffer--action-function-custom-type)
1890 (display-buffer--action-custom-type): New vars.
1891 (display-buffer-alist, display-buffer-default-action)
1892 (display-buffer-overriding-action): Add defcustom types.
1893
1894 * frame.el (delete-other-frames): Doc fix (Bug#276).
1895
18962011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
1897
1898 * play/doctor.el (make-doctor-variables): Define `doctor-sent'.
1899
19002011-09-11 Chong Yidong <cyd@stupidchicken.com>
1901
1902 Change modes that used same-window-* vars to use switch-to-buffer.
1903
1904 * progmodes/gdb-mi.el (gdb-restore-windows, gdb-setup-windows):
1905 Use switch-to-buffer.
1906
1907 * cus-edit.el (customize-group, custom-buffer-create)
1908 (customize-browse, custom-buffer-create-other-window):
1909 Use switch-to-buffer or switch-to-buffer-other-window.
1910
1911 * info.el (info, Info-find-node, Info-revert-find-node, Info-next)
1912 (Info-prev, Info-up, Info-speedbar-goto-node)
1913 (info-display-manual): Use switch-to-buffer.
1914 (Info-speedbar-goto-node): Use switch-to-buffer-other-frame.
1915
1916 * mail/sendmail.el (mail): Use switch-to-buffer.
1917 (mail-recover): Use switch-to-buffer-other-window.
1918
1919 * cmuscheme.el (run-scheme, switch-to-scheme):
1920 * ielm.el (ielm):
1921 * shell.el (shell):
1922 * net/rlogin.el (rlogin):
1923 * net/telnet.el (telnet, rsh):
1924 * progmodes/inf-lisp.el (inferior-lisp): Use switch-to-buffer.
1925
19262011-09-11 Andreas Schwab <schwab@linux-m68k.org>
1927
1928 * dired.el (dired-sort-toggle-or-edit): Revert last changes.
1929
19302011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
1931
1932 * dired.el (dired-sort-toggle-or-edit): -o doesn't exist on *BSD,
1933 so don't mention it (bug#9301).
1934 (dired-sort-toggle-or-edit): Clarify string further.
1935
1936 * faces.el (face-spec-set-match-display): Make `(type graphic)'
1937 match `x', `w32' and `ns', like the manual says (bug#9029).
1938
1939 * subr.el (eval-after-load): Doc string clarification (bug#9125).
1940 (process-kill-buffer-query-function): Mention the buffer name in
1941 the query.
1942
1943 * image-mode.el (image-next-line): The line parameter is mandatory
1944 (bug#9258).
1945
1946 * dired.el (dired-sort-toggle-or-edit): Mention -o and -g, too,
1947 which can be useful (bug#9301).
1948
1949 * textmodes/flyspell.el: Remove obsolete comment (bug#9368).
1950
1951 * subr.el (match-string): Mention that the current buffer should
1952 be the same as the search was done in (bug#9282).
1953
1954 * facemenu.el: Disable the remove-* commands if the mark isn't
1955 active (bug#9162).
1956
19572011-09-10 Chong Yidong <cyd@stupidchicken.com>
1958
1959 * buff-menu.el (Buffer-menu-switch-other-window): Use second arg
1960 of display-buffer.
1961 (Buffer-menu-2-window): Use switch-to-buffer-other-window.
1962
1963 * replace.el (occur-mode-goto-occurrence)
1964 (occur-mode-display-occurrence) Use second arg of pop-to-buffer
1965 and display-buffer.
1966
1967 * mail/reporter.el (reporter-submit-bug-report): Use second arg of
1968 display-buffer.
1969
1970 * mail/sendmail.el (sendmail-user-agent-compose): Don't bind the
1971 special-display and same-window variables.
1972 (mail-other-window): Use switch-to-buffer-other-window.
1973 (mail-other-frame): USe switch-to-buffer-other-frame.
1974
1975 * progmodes/gdb-mi.el (gdb-frame-gdb-buffer):
1976 Use display-buffer-other-frame.
1977 (gdb-display-gdb-buffer): Use pop-to-buffer.
1978
1979 * progmodes/gud.el (gud-goto-info): Use info-other-window.
1980
1981 * progmodes/python.el: Don't set same-window-buffer-names.
1982
1983 * textmodes/bibtex.el (bibtex-search-entry): Use switch-to-buffer.
1984
1985 * window.el (display-buffer-alist): Add *Python*.
1986
19872011-09-10 Chong Yidong <cyd@stupidchicken.com>
1988
1989 * window.el (display-buffer-alist): Add entry for buffers
1990 previously handled same-window-*.
1991 (display-buffer-alist, display-buffer-default-action)
1992 (display-buffer-overriding-action): Mark as risky.
1993 (display-buffer-alist): Document action function changes.
1994 (display-buffer--same-window-action)
1995 (display-buffer--other-frame-action): New variables.
1996 (switch-to-buffer, display-buffer-other-frame): Use them.
1997 (display-buffer): Rename reuse-frame entry to reusable-frames.
1998 (display-buffer-reuse-selected-window): Function deleted.
1999 (display-buffer-reuse-window): Handle reusable-frames alist entry.
2000 If it's omitted, check pop-up-frames/display-buffer-reuse-frames.
2001 (display-buffer-special): New function.
2002 (display-buffer--maybe-pop-up-frame-or-window): Rename from
2003 display-buffer-reuse-or-pop-window. Split off special-display
2004 part into display-buffer-special.
2005 (display-buffer-use-some-window): Don't perform any special
2006 pop-up-frames handling.
2007 (pop-to-buffer): Use window-normalize-buffer-to-switch-to.
2008 (display-buffer--maybe-same-window): Rename from
2009 display-buffer-maybe-same-window.
2010
2011 * info.el: Don't set same-window-regexps.
2012 (info-setup): New function.
2013 (info-other-window, info): Call it.
2014
2015 * cus-edit.el: Don't set same-window-regexps.
2016 (customize-group): New argument.
2017 (customize-group-other-window): Use it.
2018 (customize-face, customize-face-other-window): Likewise.
2019 (custom-buffer-create-other-window): Use pop-to-buffer directly.
2020
2021 * net/rlogin.el:
2022 * net/telnet.el:
2023 * progmodes/gud.el: Don't set same-window-regexps.
2024
2025 * cmuscheme.el:
2026 * ielm.el:
2027 * shell.el:
2028 * mail/sendmail.el:
2029 * progmodes/inf-lisp.el: Don't set same-window-buffer-names.
2030
20312011-09-10 Juri Linkov <juri@jurta.org>
2032
2033 * isearch.el (isearch-edit-string): Remove obsolete mention of
2034 `C-w' (`isearch-yank-word-or-char') from docstring.
2035 (isearch-query-replace): Fix typo in docstring (bug#9466).
2036
20372011-09-10 Juri Linkov <juri@jurta.org>
2038
2039 * paren.el (show-paren-function): Don't show escaped parens.
2040 Let-bind `unescaped' to `t' when paren is not escaped. (Bug#9461)
2041
20422011-09-10 Eli Zaretskii <eliz@gnu.org>
2043
2044 * mail/sendmail.el (mml-to-mime, mml-attach-file)
2045 (mm-default-file-encoding): Remove autoload forms, they are
2046 replaced with autoload cookies in mml.el and mm-encode.el.
2047 (mail-add-attachment): New command.
2048 (mail-mode-map): Add a menu-bar item for mail-add-attachment.
2049 (mail-mode): Mention mail-insert-file and mail-add-attachment in
2050 the doc string.
2051 (mml-to-mime, mml-attach-file, mm-default-file-encoding): Declare.
2052
20532011-09-10 Reuben Thomas <rrt@sc3d.org>
2054
2055 * simple.el (count-words-region): Use buffer if there's no region
2056 (bug#9429).
2057
20582011-09-09 Juri Linkov <juri@jurta.org>
2059
2060 * wdired.el (wdired-change-to-wdired-mode): Set buffer-local
2061 `isearch-filter-predicate' to `wdired-isearch-filter-read-only'.
2062 (wdired-isearch-filter-read-only): New function. (Bug#6362)
2063
20642011-09-09 Alan Mackenzie <acm@muc.de>
2065
2066 * progmodes/cc-mode.el (awk-mode): Prevent `define-derived-mode'
2067 spuriously generating `awk-mode-syntax-table'. (Bug #9448).
2068
20692011-09-09 Eli Zaretskii <eliz@gnu.org>
2070
2071 Fix for Savannah bug#9392.
2072 * simple.el (mail-encode-mml): New defvar.
2073
2074 * mail/rmail.el (mail-encode-mml): Add a defvar.
2075 (rmail-enable-mime-composing): Default to t.
2076 (rmail-forward): Use MIME method of forwarding only if both
2077 rmail-enable-mime-composing and rmail-enable-mime are non-nil.
2078 Set mail-encode-mml non-nil if the MIME method was used.
2079
2080 * mail/sendmail.el (mml-to-mime): Add autoload form.
2081 (mail-encode-mml): Add a defvar.
2082 (mail-mode): Make mail-encode-mml buffer-local and initialize it
2083 to nil.
2084 (mail-send): If mail-encode-mml is non-nil, run the outgoing
2085 message through mml-to-mime, and reset mail-encode-mml to nil.
2086
20872011-09-09 Glenn Morris <rgm@gnu.org>
2088
2089 * woman.el (woman-if-body): When processing an .el block,
2090 do not delete the next .el block as well. (Bug#9447)
2091 (woman-special-characters): Add oq, cq, and hy characters.
2092
20932011-09-08 Martin Rudalics <rudalics@gmx.at>
2094
2095 * window.el (window-deletable-p): Make sure window is live before
2096 invoking window-prev-buffers.
2097
20982011-09-08 Leo Liu <sdl.web@gmail.com>
2099
2100 * net/rcirc.el (rcirc-cmd-invite): New rcirc command. (Bug#9453)
2101
21022011-09-08 Juri Linkov <juri@jurta.org>
2103
2104 * progmodes/compile.el (compilation-environment): Make it
2105 a defcustom (bug#8340).
2106
21072011-09-08 Martin Rudalics <rudalics@gmx.at>
2108
2109 * window.el (frame-auto-delete): Rename to window-auto-delete.
2110 Make it control auto-deletion of windows and/or frames.
2111 (window-deletable-p): New argument FORCE. Rewrite conditions
2112 for deleting window/frame. (Bug#9419)
2113 (switch-to-prev-buffer, replace-buffer-in-windows, quit-window):
2114 Rewrite handling of case when window/frame can be deleted.
2115 (delete-windows-on): Call window-deletable-p with new FORCE
2116 argument t. (Bug#9456)
2117
21182011-09-07 Chong Yidong <cyd@stupidchicken.com>
2119
2120 * help-mode.el (help-mode): Restore autoload.
2121
21222011-09-07 Juri Linkov <juri@jurta.org>
2123
2124 * progmodes/compile.el (compilation-start): Let-bind `thisenv' to
2125 `compilation-environment'. Set buffer-local
2126 `compilation-environment' to `thisenv' later after (funcall mode).
2127 (Bug#8340)
2128
2129 * vc/vc-git.el (vc-git-grep): Remove --no-color. (Bug#9408)
2130 (vc-git-grep): Prepend "PAGER=" to `compilation-environment'
2131 instead of replacing its value. (Bug#8340)
2132
21332011-09-07 Juri Linkov <juri@jurta.org>
2134
2135 * progmodes/grep.el (grep-regexp-alist): Calculate column positions
2136 based on text properties put by `grep-filter' instead of matching
2137 escape sequences.
2138 (grep-mode): Set buffer-local `compilation-error-screen-columns'
2139 to the value of `grep-error-screen-columns' (bug#9438).
2140
21412011-09-07 Juri Linkov <juri@jurta.org>
2142
2143 * simple.el (next-error-highlight, next-error-highlight-no-select):
2144 Doc fix (bug#9432).
2145
21462011-09-07 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
2147
2148 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
2149 Check for null c-opt-block-decls-with-vars-key. (Bug#9443)
2150
21512011-09-07 Leo Liu <sdl.web@gmail.com>
2152
2153 * net/rcirc.el (rcirc-mode): Conditionally initialize
2154 rcirc-input-ring.
2155
21562011-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
2157
2158 * emacs-lisp/find-func.el (find-function-C-source): Only set
2159 find-function-C-source-directory after checking that we found a source
2160 file there (bug#9440).
2161
21622011-09-06 Alan Mackenzie <acm@muc.de>
2163
2164 * isearch.el (isearch-other-meta-char): Wherever a key list is
2165 unread, "unread" the prefix arg, too. This fixes bug #8901.
2166
21672011-09-05 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
2168
2169 * progmodes/grep.el (rgrep): Add "-type d" (bug#9414).
2170
21712011-09-05 Juri Linkov <juri@jurta.org>
2172
2173 * progmodes/grep.el (grep-process-setup): Fix comments (bug#8084).
2174
21752011-09-05 Juri Linkov <juri@jurta.org>
2176
2177 * progmodes/grep.el (grep-filter): Avoid incomplete processing by
2178 keeping point where processing of grep matches begins, and
2179 continue to delete remaining escape sequences from the same point.
2180 (grep-filter): Make leading zero optional in "0?1;31m" because
2181 git-grep emits "\033[1;31m" escape sequences unlike expected
2182 "\033[01;31m" as GNU Grep does (bug#9408).
2183 (grep-process-setup): Replace obsolete "ml=" with newer "sl=".
2184
21852011-09-05 Juri Linkov <juri@jurta.org>
2186
2187 * subr.el (y-or-n-p): Capitalize "yes".
2188
21892011-09-04 Michael Albinus <michael.albinus@gmx.de>
2190
2191 * net/tramp.el (top): Require 'shell. Use `tramp-unload-hook' but
2192 `tramp-cache-unload-hook' where appropriate.
2193 (tramp-methods): Rename `tramp-remote-sh' to
2194 `tramp-remote-shell'. Add `tramp-remote-shell-args'.
2195 (tramp-handle-shell-command): New defun, moved from tramp-sh.el.
2196
2197 * net/tramp-sh.el (top): Don't require 'shell.
2198 (tramp-methods): Add `tramp-remote-shell' and
2199 `tramp-remote-shell-args' entries.
2200 (tramp-sh-file-name-handler-alist): Use `tramp-handle-shell-command'.
2201 (tramp-sh-handle-shell-command): Remove.
2202 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
2203 Use `tramp-remote-shell'.
2204
22052011-09-03 Chong Yidong <cyd@stupidchicken.com>
2206
2207 * mail/sendmail.el (sendmail-query-once-function): Delete.
2208 (sendmail-query-once): Save directly to send-mail-function.
2209 Update message-send-mail-function too.
2210
2211 * mail/smtpmail.el (smtpmail-try-auth-methods): Clarify prompt.
2212
22132011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
2214
2215 * progmodes/python.el (python-mode-map): Use correct function to
2216 start python interpreter from menu-bar (as reported by Geert
2217 Kloosterman).
2218 (inferior-python-mode-map): Fix typo.
2219 (python-shell-map): Remove.
2220
22212011-09-03 Deniz Dogan <deniz@dogan.se>
2222
2223 * net/rcirc.el (rcirc-print): Simplify code for
2224 rcirc-scroll-show-maximum-output. There is no need to walk
2225 through all windows to find the right one.
2226
22272011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
2228
2229 * help.el (help-return-method): Doc fix.
2230
22312011-09-03 Martin Rudalics <rudalics@gmx.at>
2232
2233 * window.el (window-deletable-p): Don't return a non-nil value
2234 when there's a buffer that was shown in the window before.
2235 (Bug#9419)
2236 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
2237 Set window's previous buffers to nil.
2238
22392011-09-03 Eli Zaretskii <eliz@gnu.org>
2240
2241 * mail/rmailmm.el (rmail-mime-insert-tagline): Insert an extra
2242 newline before and after the tag line, so it doesn't interfere
2243 with determining the paragraph direction of bidirectional text.
2244
22452011-09-03 Leo Liu <sdl.web@gmail.com>
2246
2247 * files.el (find-file-not-true-dirname-list): Remove. (Bug#9422)
2248
22492011-09-02 Chong Yidong <cyd@stupidchicken.com>
2250
2251 * window.el (pop-to-buffer-1, pop-to-buffer-same-window): Delete.
2252 (pop-to-buffer): Change interactive spec. Pass second argument
2253 directly to display-buffer.
2254 (display-buffer): Fix interactive spec. Use functionp to
2255 distinguish between a function and a list of functions.
2256
2257 * abbrev.el (edit-abbrevs):
2258 * arc-mode.el (archive-extract):
2259 * autoinsert.el (auto-insert):
2260 * bookmark.el (bookmark-bmenu-list):
2261 * files.el (find-file):
2262 * view.el (view-buffer):
2263 * progmodes/compile.el (compilation-goto-locus):
2264 * textmodes/bibtex.el (bibtex-initialize): Use switch-to-buffer.
2265
22662011-09-02 Chong Yidong <cyd@stupidchicken.com>
2267
2268 * window.el (display-buffer-alist): Doc fix.
2269 (display-buffer): Add docstring. Don't treat
2270 display-buffer-default specially.
2271 (display-buffer-reuse-selected-window)
2272 (display-buffer-same-window, display-buffer-maybe-same-window)
2273 (display-buffer-reuse-window, display-buffer-pop-up-frame)
2274 (display-buffer-pop-up-window)
2275 (display-buffer-reuse-or-pop-window)
2276 (display-buffer-use-some-window): New functions.
2277 (display-buffer-default-action): Use them.
2278 (display-buffer-default): Delete.
2279 (pop-to-buffer-1): Fix choice of actions.
2280
22812011-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
2282
2283 * minibuffer.el (completion--insert-strings): Don't get confused by
2284 completion entries that end with an LF char.
2285
22862011-09-01 Eli Zaretskii <eliz@gnu.org>
2287
2288 * window.el (frame-auto-delete, window-deletable-p): Doc fix.
2289
22902011-09-01 Chong Yidong <cyd@stupidchicken.com>
2291
2292 * window.el (display-buffer): Restore interactive spec.
2293 (display-buffer-same-window, display-buffer-other-window):
2294 New functions.
2295 (pop-to-buffer-1): New function. Use the above.
2296 (pop-to-buffer, pop-to-buffer-same-window): Use it.
2297 (pop-to-buffer-other-window, pop-to-buffer-other-frame): Delete.
2298
2299 * view.el (view-buffer-other-window, view-buffer-other-frame):
2300 Just use pop-to-buffer.
2301
23022011-09-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
2303
2304 * vc/vc-rcs.el (vc-rcs-responsible-p): Handle directories. (Bug#9391)
2305
23062011-09-01 Wilfred Hughes <wilfred@potatolondon.com> (tiny change)
2307
2308 * vc/vc-git.el (vc-git-grep): Use --no-color. (Bug#9408)
2309
23102011-08-31 Richard Stallman <rms@gnu.org>
2311
2312 * mail/rmail.el (rmail-epa-decrypt): Rewrite to take account
2313 of the separation of rmail-view-buffer from rmail-buffer.
2314 If you say no to "replace original", the decrypt is in the
2315 view buffer. If you say yes, the decrypt goes into the
2316 rmail buffer also.
2317
23182011-08-31 Martin Rudalics <rudalics@gmx.at>
2319
2320 * window.el (display-buffer-window): Rewrite doc-string.
2321 (display-buffer-record-window): New function.
2322 (display-buffer-macro-specifiers)
2323 (display-buffer-even-window-sizes, display-buffer-set-height)
2324 (display-buffer-set-width, display-buffer-in-window)
2325 (display-buffer-reuse-window, display-buffer-split-specifiers)
2326 (display-buffer-side-specifiers, display-buffer-split-window-1)
2327 (display-buffer-split-window, display-buffer-split-atom-window)
2328 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
2329 (display-buffer-pop-up-side-window, display-buffer-in-side-window)
2330 (display-buffer-other-window-means-other-frame)
2331 (display-buffer-normalize-special)
2332 (display-buffer-normalize-default)
2333 (display-buffer-normalize-argument)
2334 (display-buffer-normalize-alist-1, display-buffer-normalize-alist)
2335 (display-buffer-normalize-specifiers, display-buffer-frame)
2336 (display-buffer-same-window, display-buffer-same-frame)
2337 (display-buffer-other-window)
2338 (display-buffer-same-frame-other-window)
2339 (display-buffer-other-frame, pop-to-buffer-same-window)
2340 (pop-to-buffer-same-frame, pop-to-buffer-other-window)
2341 (pop-to-buffer-same-frame-other-window, pop-to-buffer-other-frame)
2342 (switch-to-buffer-same-frame)
2343 (switch-to-buffer-other-window-same-frame)
2344 (display-buffer-alist-of-strings-p, display-buffer-alist-add)
2345 (display-buffer-alist-set-1, display-buffer-alist-set-2)
2346 (display-buffer-alist-set): Remove.
2347 (display-buffer-function, special-display-buffer-names)
2348 (special-display-regexps, special-display-function):
2349 In doc-string refer to display-buffer-window and quit-restore
2350 parameter.
2351 (pop-up-frame-alist, pop-up-frame-function, special-display-p)
2352 (special-display-frame-alist, special-display-popup-frame)
2353 (same-window-buffer-names, same-window-regexps, same-window-p)
2354 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
2355 (split-window-preferred-function, split-height-threshold)
2356 (split-width-threshold, window-splittable-p)
2357 (split-window-sensibly, window--try-to-split-window)
2358 (window--frame-usable-p, even-window-heights)
2359 (window--even-window-heights, window--display-buffer-1)
2360 (window--display-buffer-2, display-buffer-other-frame):
2361 Restore old Emacs 23 code, order and doc-strings where applicable.
2362 (display-buffer-default, display-buffer-assq-regexp): New functions.
2363 (display-buffer-alist): Rewrite doc-string.
2364 (display-buffer-default-action)
2365 (display-buffer-overriding-action): New variables.
2366 (display-buffer, switch-to-buffer): Rewrite.
2367 (pop-to-buffer): Restore Emacs 23 behavior but use
2368 window-normalize-buffer-to-display.
2369 (switch-to-buffer-other-window, switch-to-buffer-other-frame):
2370 Restore Emacs 23 behavior but use
2371 window-normalize-buffer-to-switch-to.
2372 (pop-to-buffer-same-window): Rewrite.
2373 (pop-to-buffer-other-window, pop-to-buffer-other-frame):
2374 Rewrite using Emacs 23 options.
2375
23762011-08-31 Michael Albinus <michael.albinus@gmx.de>
2377
2378 * net/tramp.el (tramp-root-regexp): Remove.
2379 (tramp-completion-file-name-regexp-unified)
2380 (tramp-completion-file-name-regexp-separate)
2381 (tramp-completion-file-name-regexp-url): Don't use leading volume
2382 letter on win32 systems. (Bug#5303, Bug#9311)
2383 (tramp-drop-volume-letter): Simplify definition.
2384 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
2385
23862011-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
2387
2388 * subr.el (event-modifiers): Fix "missing modifier" part of docstring
2389 (bug#9356).
2390
23912011-08-30 Reuben Thomas <rrt@sc3d.org> (tiny change)
2392
2393 * vc/pcvs-defs.el (cvs-find-file-and-jump): Docstring typo (bug#9369).
2394
23952011-08-29 Juri Linkov <juri@jurta.org>
2396
2397 * isearch.el (isearch-done): Don't display message "Mark saved"
2398 when arg `edit' is non-nil to prevent its flicker in the echo area.
2399
24002011-08-28 Chong Yidong <cyd@stupidchicken.com>
2401
2402 * emacs-lisp/package.el (package-menu-mark-delete): Allow marking
2403 obsolete packages for deletion.
2404
24052011-08-28 Christoph Scholtes <cschol2112@googlemail.com>
2406
2407 * help-mode.el (help-mode-map): Add special-mode-map to parent.
2408 (help-mode): Derive help-mode from special-mode. Don't invoke
2409 view-mode from help-mode.
2410 (help-xref-override-view-map): Remove.
2411 (help-make-xrefs): Remove minor-mode-overriding-map-alist since
2412 view-mode is not used anymore.
2413
24142011-08-28 Chong Yidong <cyd@stupidchicken.com>
2415
2416 * server.el (server-port): Doc fix.
2417
2418 * cus-theme.el (custom-theme-choose-mode): Inherit from
2419 special-mode (Bug#9124).
2420 (custom-theme-choose-mode-map): Add special-mode to parent.
2421
24222011-08-28 Alan Mackenzie <acm@muc.de>
2423
2424 * progmodes/cc-fonts.el
2425 (c-make-font-lock-BO-decl-search-function): New function.
2426 (c-basic-matchers-after - "Fontify the clauses after various
2427 keywords"): Extract the three keyword lists for the 3 erroneous
2428 constructs from the list of four, and use the new function above
2429 in place of an old one.
2430
24312011-08-28 Deniz Dogan <deniz@dogan.se>
2432
2433 * net/rcirc.el (rcirc-insert-prev-input)
2434 (rcirc-insert-next-input): Remove unused argument.
2435
24362011-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
2437
2438 * shell.el (shell-parse-pcomplete-arguments): Unquote args (bug#9160).
2439
24402011-08-27 Alan Mackenzie <acm@muc.de>
2441
2442 * progmodes/cc-menus.el (cc-imenu-c++-generic-expression): Make it
2443 handle function pointer parameters properly.
2444
24452011-08-27 Martin Rudalics <rudalics@gmx.at>
2446
2447 * window.el (display-buffer-reuse-window): Fix case where
2448 selected window was reused with non-nil OTHER-WINDOW argument.
2449 (Bug#9381)
2450
24512011-08-27 Deniz Dogan <deniz@dogan.se>
2452
2453 * net/rcirc.el (rcirc-check-auth-status): Adding support for
2454 oftc's NickServ messages.
2455
24562011-08-27 Glenn Morris <rgm@gnu.org>
2457
2458 * saveplace.el (save-place-limit): Make it finite. (Bug#9352)
2459
24602011-08-26 Chong Yidong <cyd@stupidchicken.com>
2461
2462 * emacs-lisp/package.el (package-install): Call package-initialize
2463 if called interactively.
2464
24652011-08-26 Leo Liu <sdl.web@gmail.com>
2466
2467 * emacs-lisp/cl-macs.el (defstruct): Fix format. (Bug#9357)
2468
24692011-08-25 Juri Linkov <juri@jurta.org>
2470
2471 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
2472 `search-whitespace-regexp' (bug#9364).
2473
24742011-08-25 Juri Linkov <juri@jurta.org>
2475
2476 * isearch.el (isearch-edit-string): Let-bind `search-ring' and
2477 `regexp-search-ring' to their global values to protect from
2478 updating by `read-from-minibuffer' (bug#9185).
2479
24802011-08-25 Juri Linkov <juri@jurta.org>
2481
2482 * textmodes/ispell.el (ispell-command-loop): Add newline
2483 at the end of the "Use option `i'..." line.
2484
24852011-08-25 Juri Linkov <juri@jurta.org>
2486
2487 * battery.el (display-battery-mode): If `battery-status-function'
2488 or `battery-mode-line-format' is nil, display the message and set
2489 `display-battery-mode' to nil (bug#9363).
2490
24912011-08-25 Eli Zaretskii <eliz@gnu.org>
2492
2493 * buff-menu.el (Buffer-menu-buffer+size): Remove calls to
2494 bidi-string-mark-left-to-right; they are unnecessary now.
2495
24962011-08-25 Deniz Dogan <deniz@dogan.se>
2497
2498 * net/quickurl.el: Documentation typo fixes.
2499
25002011-08-25 Chong Yidong <cyd@stupidchicken.com>
2501
2502 * window.el (bury-buffer, quit-window): Use bury-buffer-internal.
2503
25042011-08-25 Glenn Morris <rgm@gnu.org>
2505
2506 * emacs-lisp/derived.el (define-derived-mode): Doc fix.
2507
2508 * mail/smtpmail.el (smtpmail-smtp-user): Add version: tag.
2509 (smtpmail-via-smtp): Handle nil response from smtp.
2510
25112011-08-24 Juri Linkov <juri@jurta.org>
2512
2513 * proced.el (proced-marked): Inherit from `error' instead of
2514 `font-lock-warning-face'.
2515
2516 * ibuffer.el (ibuffer-marked-face): Change default face from
2517 `font-lock-warning-face' to `warning'.
2518 (ibuffer-deletion-face): Change default face from
2519 `font-lock-type-face' to `error'.
2520
2521 * battery.el (battery-update): Use the face `error' instead of
2522 `font-lock-warning-face' (bug#6117).
2523
25242011-08-24 Juri Linkov <juri@jurta.org>
2525
2526 * faces.el (success): Change face color from "Green3" to
2527 "ForestGreen" on light background (bug#9353).
2528
25292011-08-24 Chong Yidong <cyd@stupidchicken.com>
2530
2531 * window.el (quit-window): Rename from quit-restore-window.
2532 Use same arglist as old quit-window.
2533 (frame-auto-delete): Doc fix.
2534
2535 * view.el (view-mode-exit): Use quit-window.
2536
25372011-08-24 Juri Linkov <juri@jurta.org>
2538
2539 * isearch.el (isearch-ring-adjust1): Start visiting previous
2540 search strings from the index 0 (-1 + 1) instead of 1 (0 + 1).
2541 (isearch-repeat, isearch-edit-string): Call `isearch-ring-adjust1'
2542 for empty search string (when the last search string is reused
2543 automatically) to adjust the isearch ring to the last element and
2544 prepare the correct index for further M-p commands (bug#9185).
2545
25462011-08-24 Kenichi Handa <handa@m17n.org>
2547
2548 * international/ucs-normalize.el: If decomposition property of
2549 CHAR is the default one (i.e. a list of CHAR itself), treat it as
2550 nil.
2551 (nfd, nfkd): Likewise.
2552
25532011-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
2554
2555 * mpc.el (mpc--proc-filter): Don't signal mpc-proc-error since signals
2556 from process filters aren't reliably transmitted to the surrounding
2557 accept-process-output.
2558 (mpc-proc-check): New function.
2559 (mpc-proc-sync): Use it (bug#8293)
2560
25612011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
2562
2563 * emacs-lisp/eieio.el (eieio-defmethod, eieio-defgeneric):
2564 Add compatibility functions (bug#9313).
2565
25662011-08-23 Eli Zaretskii <eliz@gnu.org>
2567
2568 * cus-start.el (all): Add entry for bidi-paragraph-direction.
2569
2570 * international/uni-bidi.el: Regenerated.
2571
25722011-08-23 Kenichi Handa <handa@m17n.org>
2573
2574 * international/charprop.el:
2575 * international/uni-bidi.el:
2576 * international/uni-category.el:
2577 * international/uni-combining.el:
2578 * international/uni-comment.el:
2579 * international/uni-decimal.el:
2580 * international/uni-decomposition.el:
2581 * international/uni-digit.el:
2582 * international/uni-lowercase.el:
2583 * international/uni-mirrored.el:
2584 * international/uni-name.el:
2585 * international/uni-numeric.el:
2586 * international/uni-old-name.el:
2587 * international/uni-titlecase.el:
2588 * international/uni-uppercase.el: Regenerate.
2589
25902011-08-23 Martin Rudalics <rudalics@gmx.at>
2591
2592 * help.el (help-window-setup): Fix message displayed when other
2593 window is reused. (Bug#9341)
2594
25952011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
2596
2597 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list.
2598 * pcomplete.el (pcomplete-quote-argument): Fix thinko (bug#9161).
2599
2600 * pcomplete.el (pcomplete-parse-comint-arguments): Fix inf-loop.
2601 Mark obsolete.
2602 * shell.el (shell-parse-pcomplete-arguments): New function.
2603 (shell-completion-vars): Use it instead (bug#9160).
2604
26052011-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
2606
2607 * progmodes/sh-script.el (sh-maybe-here-document): Disable magic in
2608 strings and comments (bug#9333).
2609
2610 * emacs-lisp/debug.el (debug-arglist): New function.
2611 (debug-convert-byte-code): Use it. Handle lexical byte-codes.
2612 (debug-on-entry-1): Handle interpreted closures (bug#9120).
2613
26142011-08-22 Juri Linkov <juri@jurta.org>
2615
2616 * progmodes/compile.el (compilation-mode-font-lock-keywords):
2617 Revert regexp that highlights output switches to its old
2618 pre-2010-10-28 value and remove one `?' from it (bug#9319).
2619
2620 * progmodes/grep.el (grep-process-setup): Use `buffer-modified-p'
2621 to check for empty output (bug#9226).
2622
26232011-08-22 Chong Yidong <cyd@stupidchicken.com>
2624
2625 * progmodes/scheme.el (scheme-mode-syntax-table): Don't use
2626 symbol-constituent as the default, as that stops font-lock from
2627 working properly (Bug#8843).
2628
26292011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
2630
2631 * mail/smtpmail.el (smtpmail-via-smtp): Only bind
2632 `coding-system-for-*' around the process open call to avoid
2633 auth-source side effects.
2634 (smtpmail-try-auth-methods): Expand the secret password.
2635 (smtpmail-query-smtp-server): Allow `quit'-ing out in case the
2636 probe hangs.
2637
26382011-08-21 Chong Yidong <cyd@stupidchicken.com>
2639
2640 * term.el (term-mouse-paste): Yank primary selection (Bug#6845).
2641
2642 * emacs-lisp/find-func.el (find-function-noselect): New arg
2643 lisp-only.
2644
2645 * emacs-lisp/edebug.el (edebug-instrument-function): Use it to
2646 signal an error for built-in functions (Bug#6664).
2647
26482011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
2649
2650 * mail/smtpmail.el (smtpmail-smtp-user): New variable.
2651 (smtpmail-try-auth-methods): Use it.
2652
26532011-08-21 Chong Yidong <cyd@stupidchicken.com>
2654
2655 * font-lock.el (font-lock-fontify-region)
2656 (font-lock-unfontify-region, font-lock-default-fontify-buffer)
2657 (font-lock-default-unfontify-buffer)
2658 (font-lock-default-fontify-region)
2659 (font-lock-default-unfontify-region): Add docstrings (Bug#8624).
2660
2661 * progmodes/compile.el (compilation-error-properties):
2662 Fix confusion between file struct and message struct (Bug#9319).
2663 (compilation-error-regexp-alist-alist): Fix 2011-05-09 change to
2664 `ant' regexp.
2665
2666 * net/browse-url.el (browse-url-firefox): Don't call
2667 browse-url-firefox-sentinel unless using -remote (Bug#9328).
2668
26692011-08-20 Glenn Morris <rgm@gnu.org>
2670
2671 * tutorial.el (help-with-tutorial): Avoid an error on short screens.
2672
2673 * tutorial.el (tutorial--default-keys): Update some default bindings.
2674
2675 * files.el (hack-local-variables): Fully ignore case for "mode:".
2676
26772011-08-20 Alan Mackenzie <acm@muc.de>
2678
2679 Resolve invalid use of a regexp in regexp-opt.
2680
2681 * progmodes/cc-fonts.el (c-complex-decl-matchers): Add in special
2682 detection for a java annotation.
2683
2684 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Add in special
2685 detection for a java annotation.
2686
2687 * progmodes/cc-langs.el (c-prefix-spec-kwds-re): Remove the special
2688 handling for java.
2689 (c-modifier-kwds): Remove the regexp "@[A-za-z0-9]+".
2690
26912011-08-20 Chong Yidong <cyd@stupidchicken.com>
2692
2693 * startup.el (normal-top-level-add-subdirs-to-load-path): Doc fix
2694 (Bug#9274).
2695
26962011-08-20 Alan Mackenzie <acm@muc.de>
2697
2698 Fontify CPP expressions correctly when starting in the middle of
2699 such a construct. Mainly for when jit-lock etc. starts a chunk
2700 here.
2701
2702 * progmodes/cc-fonts.el (c-font-lock-context): New buffer local
2703 variable.
2704 (c-make-font-lock-search-form): New function, extracted from
2705 c-make-font-lock-search-function.
2706 (c-make-font-lock-search-function): Use the above function.
2707 (c-make-font-lock-context-search-function): New function.
2708 (c-cpp-matchers): Enhance the preprocessor expression case with
2709 the above function
2710 (c-font-lock-complex-decl-prepare): Test for being in a CPP form
2711 which takes an expression.
2712
2713 * progmodes/cc-langs.el (c-cpp-expr-intro-re): New lang-variable.
2714
27152011-08-20 Martin Rudalics <rudalics@gmx.at>
2716
2717 * window.el (display-buffer-reuse-window)
2718 (display-buffer-pop-up-window): Don't reuse or split a side
2719 window.
2720
27212011-08-19 Glenn Morris <rgm@gnu.org>
2722
2723 * files.el (hack-local-variables-prop-line, hack-local-variables):
2724 Downcase "Mode:". (Bug#9331)
2725
27262011-08-18 Chong Yidong <cyd@stupidchicken.com>
2727
2728 * international/characters.el: Add L and R categories.
2729
2730 * subr.el (bidi-string-mark-left-to-right): Rename from
2731 string-mark-left-to-right. Use category search.
2732
2733 * buff-menu.el (Buffer-menu-buffer+size): Callers changed.
2734
27352011-08-18 Juri Linkov <juri@jurta.org>
2736
2737 * faces.el (error, warning, success): New faces with definitions
2738 copied from old default values of `font-lock-warning-face',
2739 `compilation-warning', `compilation-info' (bug#6117).
2740
2741 * font-lock.el (font-lock-warning-face): Inherit from `error'.
2742
2743 * progmodes/compile.el (compilation-error): Inherit from `error'.
2744 (compilation-warning): Inherit from `warning'.
2745 (compilation-info): Inherit from `success'.
2746
2747 * dired.el (dired-marked): Inherit from `warning'.
2748 (dired-flagged): Inherit from `error'.
2749
27502011-08-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
2751
2752 * mail/smtpmail.el (auth-source): Require to avoid problems with
2753 binding variables (bug#9298). Also clean up some unused
2754 autoloads.
2755
2756 * net/network-stream.el (network-stream-open-starttls):
2757 Support using starttls.el without using gnutls-cli.
2758
27592011-08-17 Juri Linkov <juri@jurta.org>
2760
2761 * progmodes/grep.el (rgrep): Handle the case when
2762 `grep-find-command' is a cons cell (bug#9278).
2763
27642011-08-17 Martin Rudalics <rudalics@gmx.at>
2765
2766 * window.el (display-buffer-pop-up-frame): Run frame creation
2767 function with BUFFER current (as special-display-popup-frame
2768 does). Reported by Drew Adams.
2769
27702011-08-17 Daiki Ueno <ueno@unixuser.org>
2771
2772 * epa-mail.el: Simplify GnuPG group expansion using
2773 epg-expand-group.
2774 (epa-mail-group-alist, epa-mail-group-modtime)
2775 (epa-mail-gnupg-conf-file, epa-mail-parse-groups)
2776 (epa-mail-sync-groups, epa-mail-expand-recipient-1)
2777 (epa-mail-expand-recipients-2, epa-mail-expand-recipients):
2778 Remove.
2779
27802011-08-16 Feng Li <fengli@gmail.com> (tiny change)
2781
2782 * calc/calc-ext.el (math-defintegral-2): Remove nested backquote.
2783
27842011-08-16 Alan Mackenzie <acm@muc.de>
2785
2786 * progmodes/cc-engine.el (c-state-cache-non-literal-place):
2787 Correct, to avoid the inside of macros.
2788
27892011-08-16 Richard Stallman <rms@gnu.org>
2790
2791 * epa-mail.el: Handle GnuPG group definitions.
2792 (epa-mail-group-alist, epa-mail-group-modtime)
2793 (epa-mail-gnupg-conf-file): New variables.
2794 (epa-mail-parse-groups, epa-mail-sync-groups)
2795 (epa-mail-expand-recipient-1, epa-mail-expand-recipients-2)
2796 (epa-mail-expand-recipients): New functions.
2797 (epa-mail-encrypt): Call epa-mail-expand-recipients.
2798
2799 * mail/rmail.el (rmail-epa-decrypt): New command.
2800
2801 * epa.el (epa-decrypt-region): New arg MAKE-BUFFER-FUNCTION.
2802 Don't bind buffer-read-only, just inhibit-read-only.
2803 (epa--find-coding-system-for-mime-charset): Fix the non-xemacs case.
2804 (epa-decrypt-armor-in-region): Make error message clearer.
2805
28062011-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
2807
2808 * minibuffer.el (completion-pcm--merge-completions): Don't merge "a1b"
2809 and "a2b" to "ab" for `prefix'.
2810
28112011-08-14 Chong Yidong <cyd@stupidchicken.com>
2812
2813 * ibuf-ext.el (ibuffer-filter-disable): New arg for deleting
2814 filter groups.
2815 (ibuffer-included-in-filter-p-1): Use it. Suggested by Rafaël
2816 Fourquet (Bug#8804).
2817
28182011-08-12 Juanma Barranquero <lekktu@gmail.com>
2819
2820 * startup.el (argi): Declare as global variable (bug#9275).
2821
28222011-08-12 Chong Yidong <cyd@stupidchicken.com>
2823
2824 * subr.el (string-mark-left-to-right): Search the entire string
2825 for RTL script, not just the terminating character. Doc fix.
2826
28272011-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
2828
2829 * progmodes/js.el (js-syntax-propertize, js-syntax-propertize-regexp):
2830 New function.
2831 (js--regexp-literal, js-syntax-propertize-function): Remove.
2832 (js-mode): Use js-syntax-propertize to handle multilines (bug#9183).
2833 (js-mode-map): Don't rebind electric keys.
2834 (js-insert-and-indent): Remove.
2835 (js-mode): Setup electric-layout and electric-indent instead.
2836
2837 * epa-file.el (epa-file-select-keys): Revert to nil default (bug#9280).
2838
28392011-08-12 Daiki Ueno <ueno@unixuser.org>
2840
2841 * epa.el (epa-progress-callback-function): Fix the logic of
2842 displaying progress.
2843 * epa-file.el (epa-file-insert-file-contents): Make progress
2844 display more user-friendly.
2845 (epa-file-write-region): Ditto.
2846
28472011-08-10 Chong Yidong <cyd@stupidchicken.com>
2848
2849 * subr.el (string-mark-left-to-right): New function.
2850
2851 * buff-menu.el (Buffer-menu-buffer+size): Remove LRM argument.
2852 Use string-mark-left-to-right.
2853 (list-buffers-noselect): Caller changed.
2854
2855 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
2856 Use string-mark-left-to-right.
2857 (tabulated-list-print): Recenter after moving point.
2858
28592011-08-10 Juri Linkov <juri@jurta.org>
2860
2861 * progmodes/grep.el (rgrep): Don't bind `process-connection-type'.
2862 This finishes incomplete reversion of 2011-06-30T01:09:13Z!larsi@gnus.org
2863 intended by 2011-07-06T15:49:19Z!larsi@gnus.org.
2864
28652011-08-09 Chong Yidong <cyd@stupidchicken.com>
2866
2867 * hi-lock.el (hi-lock-unface-buffer): Fix interactive spec
2868 (Bug#7554).
2869
28702011-08-09 Andreas Schwab <schwab@linux-m68k.org>
2871
2872 * xt-mouse.el (xterm-mouse-event-read): Try to recover the raw
2873 character. (Bug#6594)
2874
28752011-08-08 Chong Yidong <cyd@stupidchicken.com>
2876
2877 * image-dired.el: Don't use find-file for temporary work (Bug#7895).
2878 (image-dired--with-db-file): New macro.
2879 (image-dired-write-tags, image-dired-remove-tag)
2880 (image-dired-create-gallery-lists, image-dired-write-comments)
2881 (image-dired-get-comment, image-dired-mark-tagged-files)
2882 (image-dired-list-tags, image-dired-gallery-generate): Use it.
2883 (image-dired-gallery-generate): Use insert-file-contents.
2884
2885 * time.el (display-time-world-list, display-time-world-display):
2886 * time-stamp.el (time-stamp-string):
2887 * vc/add-log.el (add-change-log-entry): Use setenv instead of
2888 set-time-zone-rule (Bug#7337).
2889
28902011-08-08 Daiki Ueno <ueno@unixuser.org>
2891
2892 * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED): Fix typo.
2893 (epg-error-to-string, epg-errors-to-string): New function.
2894 (epg-wait-for-completion): Reverse errors list.
2895 (epg--check-error-for-decrypt, epg-sign-file, epg-sign-string)
2896 (epg-encrypt-file, epg-encrypt-string, epg-export-keys-to-file)
2897 (epg--import-keys-1, epg-receive-keys, epg-delete-keys)
2898 (epg-sign-keys, epg-generate-key-from-file)
2899 (epg-generate-key-from-string): Format errors by using
2900 epg-errors-to-string (bug#9255).
2901 (epg--status-INV_SGNR, epg--status-NO_SGNR): New status handler.
2902
29032011-08-07 Juri Linkov <juri@jurta.org>
2904
2905 * faces.el (list-faces-display): Remove extra angle bracket
2906 from `help-mode-map'.
2907
2908 * info.el (Info-history-toc-nodes): Doc fix.
2909
2910 * longlines.el (longlines-mode): Doc fix.
2911
29122011-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
2913
2914 * progmodes/js.el (js--regexp-literal): Accept regexps at the beginning
2915 of statements and in a few more cases (bug#9183).
2916
2917 * emacs-lisp/cl-macs.el (cl--make-usage-var, cl--make-usage-args):
2918 New functions.
2919 (cl-transform-lambda): Use them (bug#9239).
2920
29212011-08-05 Martin Rudalics <rudalics@gmx.at>
2922
2923 * window.el (display-buffer-same-window)
2924 (display-buffer-same-frame, display-buffer-other-window)
2925 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
2926 (pop-to-buffer-other-window)
2927 (pop-to-buffer-same-frame-other-window)
2928 (pop-to-buffer-other-frame): Make them defuns.
2929 (switch-to-buffer): Don't set LABEL argument of pop-to-buffer.
2930
29312011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
2932
2933 * subr.el (make-composed-keymap): Move from C. Change calling
2934 convention, and improve docstring to bring attention to a subtle point.
2935 * minibuffer.el (completing-read-default): Adjust accordingly.
2936
29372011-08-03 Michael Albinus <michael.albinus@gmx.de>
2938
2939 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
2940 (tramp-open-shell): Use `tramp-shell-quote-argument'.
2941
2942 * net/trampver.el: Update release number.
2943
29442011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
2945
2946 * progmodes/sh-script.el (sh-font-lock-paren): Don't mistake "main" for
2947 "in" (bug#9190).
2948
29492011-08-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
2950
2951 * mail/sendmail.el (sendmail-query-once): Restore the current
2952 buffer after querying (bug#9074).
2953
2954 * dired.el (dired-flagged): Use different faces for marked and
2955 flagged files (bug#6117).
2956
2957 * emacs-lisp/cl-macs.el (dolist): Mention that there's a nil block
2958 (bug#4433).
2959
2960 * ido.el (ido-mode): Switch off the message if called
2961 non-interactively.
2962
2963 * mail/smtpmail.el (smtpmail-query-smtp-server): Try port 25
2964 before 587, since it appears that that's more likely to work for
2965 more people.
2966
2967 * cus-edit.el (custom-file): When running under emacs -q, always
2968 refuse to save the customisations, even if the .emacs file doesn't
2969 exist.
2970
2971 * info.el: Remove the `Info-beginning-of-buffer' function
2972 (bug#8325).
2973
2974 * net/network-stream.el (network-stream-open-starttls):
2975 Use `starttls-available-p' to see whether starttls.el can be used.
2976
29772011-08-01 Martin Rudalics <rudalics@gmx.at>
2978
2979 * window.el (display-buffer-in-window): Don't set dedicated status
2980 of window here (Bug#9215).
2981 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
2982 (display-buffer-pop-up-side-window)
2983 (display-buffer-in-side-window): Set dedicated status of window here.
2984
29852011-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
2986
2987 * emacs-lisp/package.el (package-generate-autoloads): Load autoloads
2988 before binding generated-autoload-file.
2989
29902011-08-01 Deniz Dogan <deniz@dogan.se>
2991
2992 * net/rcirc.el (rcirc-handler-333): Clarify docstring.
2993
29942011-07-30 Michael Albinus <michael.albinus@gmx.de>
2995
2996 Sync with Tramp 2.2.2.
2997
2998 * net/trampver.el: Update release number.
2999
30002011-07-30 Juri Linkov <juri@jurta.org>
3001
3002 * dired-aux.el (dired-touch-initial): Remove function.
3003 (dired-do-chxxx): For op-symbol `touch', set `initial' to the
3004 current time, and `default' to the last modification time of the
3005 current marked file (bug#6887).
3006
30072011-07-28 Jose E. Marchesi <jemarch@gnu.org>
3008
3009 * simple.el (goto-line): Use string-to-number to provide a
3010 numeric argument to read-number (bug#9163).
3011
30122011-07-27 Michael Albinus <michael.albinus@gmx.de>
3013
3014 * net/tramp-sh.el (tramp-maybe-send-script): Don't let-bind the
3015 connection process, it could be nil.
3016
30172011-07-27 Leo Liu <sdl.web@gmail.com>
3018
3019 Simplify url handling in rcirc-mode.
3020
3021 * net/rcirc.el (rcirc-browse-url-map, rcirc-browse-url-at-point)
3022 (rcirc-browse-url-at-mouse): Remove.
3023 * net/rcirc.el (rcirc-markup-urls): Use `make-button'.
3024
30252011-07-26 Alan Mackenzie <acm@muc.de>
3026
3027 Fontify bitfield declarations properly.
3028
3029 * progmodes/cc-langs.el (c-has-bitfields): New lang variable.
3030 (c-symbol-chars): Now exported as a lang variable.
3031 (c-not-primitive-type-keywords): New lang variable.
3032
3033 * progmodes/cc-fonts.el (c-font-lock-declarations): Jump over the
3034 QT keyword "more" to prevent "more slots: ...." being spuriously
3035 parsed as a bitfield declaration.
3036
3037 * progmodes/cc-engine.el (c-beginning-of-statement-1):
3038 Refactor and enhance to handle bitfield declarations.
3039 (c-punctuation-in): New function.
3040 (c-forward-decl-or-cast-1): Enhance CASE 3 to handle bitfield
3041 declarations properly.
3042
30432011-07-26 Ulf Jasper <ulf.jasper@web.de>
3044
3045 * calendar/icalendar.el (icalendar--all-events): Take care of
3046 multiple vcalendars in a single file.
3047 (icalendar--convert-float-to-ical): Checkdoc fixes.
3048
30492011-07-25 Deniz Dogan <deniz@dogan.se>
3050
3051 * image.el (insert-image): Clarifying docstring.
3052
30532011-07-24 Michael Albinus <michael.albinus@gmx.de>
3054
3055 * net/tramp-sh.el (tramp-barf-unless-okay): Return the value of
3056 `tramp-send-command-and-check' if there is no error.
3057 (tramp-send-command-and-read): Suppress *all* errors if NOERROR.
3058
30592011-07-22 Alan Mackenzie <acm@muc.de>
3060
3061 Prevent cc-langs.elc being loaded at run time.
3062
3063 * progmodes/cc-mode.el: Remove two autoload forms which loaded
3064 cc-langs.
3065
3066 * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Don't emit
3067 "(require 'cc-langs)". Quote a form so it will evaluate at
3068 (cc-mode's) compilation time.
3069
30702011-07-22 Michael Albinus <michael.albinus@gmx.de>
3071
3072 * net/tramp.el (tramp-file-name-handler): Avoid recursive
3073 loading. (Bug#9114)
3074
30752011-07-21 Martin Rudalics <rudalics@gmx.at>
3076
3077 * window.el (display-buffer-pop-up-window)
3078 (display-buffer-pop-up-side-window)
3079 (display-buffer-in-side-window): Call display-buffer-set-height
3080 and display-buffer-set-width after setting the new window's
3081 buffer so `fit-window-to-buffer' and friends work on the right buffer.
3082
30832011-07-20 Sam Steingold <sds@gnu.org>
3084
3085 * progmodes/etags.el (etags-file-of-tag, etags-tags-table-files)
3086 (etags-tags-included-tables): Call `convert-standard-filename' on
3087 the file names contained in TAGS so that windows Emacs can handle
3088 TAGS files created by cygwin ctags.
3089
30902011-07-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
3091
3092 * proced.el (proced-update): Revert yesterday's bug#1779 patch,
3093 which apparently didn't work.
3094
30952011-07-19 Roland Winkler <winkler@gnu.org>
3096
3097 * proced.el (proced-send-signal): For *Marked Processes* buffer
3098 put point at beginning of buffer.
3099
31002011-07-19 Stephen Berman <stephen.berman@gmx.net>
3101
3102 * proced.el (proced-format): Make header lines align with the text
3103 (bug#1779).
3104
31052011-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
3106
3107 * view.el (view-buffer): Allow running in `special' modes if we're
3108 visiting a file (bug#8615).
3109
31102011-07-19 Martin Rudalics <rudalics@gmx.at>
3111
3112 * window.el (display-buffer-alist-of-strings-p)
3113 (display-buffer-alist-set-1, display-buffer-alist-set-2):
3114 New functions.
3115 (display-buffer-alist-set): Rewrite to handle Emacs 23 options
3116 more accurately.
3117
31182011-07-18 Alan Mackenzie <acm@muc.de>
3119
3120 Fontify declarators properly when, e.g., a jit-lock chunk begins
3121 inside a declaration.
3122
3123 * progmodes/cc-langs.el (c-symbol-chars): Correct a typo.
3124
3125 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
3126 New function.
3127 (c-complex-decl-matchers): Insert reference to
3128 c-font-lock-enclosing-decls.
3129
3130 * progmodes/cc-engine.el (c-backward-single-comment):
3131 (c-backward-comments): Bind open-paren-in-column-0-is-defun-start
3132 to nil around calls to (forward-comment -1).
3133
31342011-07-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
3135
3136 * image.el (put-image): Doc typo fix.
3137
3138 * progmodes/etags.el (tags-search): Doc typo fix.
3139
3140 * mail/smtpmail.el (smtpmail-via-smtp): Query the user for
3141 password if we get errors 550 to 554.
3142
31432011-07-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
3144
3145 * net/gnutls.el (gnutls-log-level): Remove.
3146
3147 * textmodes/fill.el (adaptive-fill-regexp): Include EN DASH as an
3148 indentation character (bug#6380).
3149
3150 * files.el (buffer-offer-save): Made permanently local (bug#6241).
3151
3152 * doc-view.el (doc-view-make-safe-dir): Rewrite the error message
3153 to clarify what the problem is (bug#4291).
3154
3155 * simple.el (current-kill): Clarify what
3156 `interprogram-paste-function' does (bug#7500).
3157 (auto-fill-mode): Document `auto-fill-function' in relation to
3158 `auto-fill-mode' (bug#2470).
3159
31602011-07-16 Lawrence Mitchell <wence@gmx.li>
3161
3162 * emacs-lisp/cl-macs.el (defstruct): Ignore argument to setf
3163 method if slot is read-only (bug#9035).
3164
31652011-07-16 Martin Rudalics <rudalics@gmx.at>
3166
3167 * frame.el (select-frame-set-input-focus): New argument NORECORD.
3168 * window.el (pop-to-buffer): Select window used even if it was
3169 selected before, see discussion of (Bug#8615), (Bug#6954).
3170 Pass argument NORECORD on to select-frame-set-input-focus.
3171
31722011-07-15 Glenn Morris <rgm@gnu.org>
3173
3174 * subr.el (read-char-choice): Allow quitting. (Bug#9001)
3175 Respect help-form.
3176
31772011-07-09 Lawrence Mitchell <wence@gmx.li>
3178
3179 * net/gnutls.el (gnutls-min-prime-bits): New variable.
3180 (gnutls-negotiate): Use it.
3181
31822011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
3183
3184 * net/gnutls.el (gnutls-negotiate):
3185 Upcase `gnutls-algorithm-priority'.
3186
31872011-07-15 Glenn Morris <rgm@gnu.org>
3188
3189 * jka-compr.el (jka-compr-verbose): Move from here...
3190 * jka-cmpr-hook.el (jka-compr-verbose): ... to here. (Bug#9090)
3191 Add missing :version tag.
3192 * info.el: No need to require jka-compr when compiling.
3193
31942011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
3195
3196 * net/gnutls.el (gnutls-algorithm-priority): New variable.
3197 (gnutls-negotiate): Use it.
3198
3199 * emacs-lisp/cl-macs.el (declare): Link to the "Declarations" node.
3200
3201 * info.el (Info-beginning-of-buffer): New command.
3202 (Info-mode-map): Use it instead of `beginning-of-buffer' to allow
3203 announcing `b' as the key (bug#8325).
3204 (Info-mode-menu): Use `Info-beginning-of-buffer' for consistency.
3205
3206 * emacs-lisp/cl-macs.el (declare): Doc string fix-up.
3207
3208 * international/mule-cmds.el
3209 (describe-specified-language-support): Make the error message
3210 clearer (bug#8905).
3211
3212 * emacs-lisp/cl-macs.el (declare): Add a doc string (bug#8690).
3213
3214 * isearch.el (isearch-barrier): Add a doc string, since it's
3215 mentioned in a function doc string (bug#8678).
3216
32172011-07-15 Martin Rudalics <rudalics@gmx.at>
3218
3219 * window.el (switch-to-buffer): Call pop-to-buffer with normalized
3220 buffer argument (Bug#9083) and self-identifying label argument.
3221
32222011-07-15 Glenn Morris <rgm@gnu.org>
3223
3224 * emacs-lisp/debug.el (debug): Doc fix. (Bug#8273)
3225
32262011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
3227
3228 * man.el (Man-fontify-manpage): Fix message when formatting the
3229 man page (bug#7929).
3230
32312011-07-14 Eli Zaretskii <eliz@gnu.org>
3232
3233 * buff-menu.el (Buffer-menu-buffer+size): Accept an additional
3234 argument LRM; if non-nil, append an invisible LRM character to the
3235 buffer name.
3236 (list-buffers-noselect): Call Buffer-menu-buffer+size with the
3237 last argument non-nil, when formatting buffer names.
3238 (Buffer-menu-mode, list-buffers-noselect): Force left-to-right
3239 paragraph direction.
3240
32412011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
3242
3243 * man.el (Man-bgproc-sentinel): Skip any arguments and only output
3244 the man page name (bug#7929).
3245
3246 * image.el (put-image): Mention the `put-image' overlay property
3247 (bug#7834).
3248
3249 * scroll-bar.el (set-scroll-bar-mode): Mention that
3250 `scroll-bar-mode' lists the values (bug#7772).
3251
3252 * image-mode.el (image-mode-fit-frame): Mention that it's a toggle
3253 command (bug#7729).
3254
3255 * rect.el (apply-on-rectangle): Return the point after the last
3256 operation.
3257 (string-rectangle): Go to the point after the last operation
3258 (bug#7522).
3259
3260 * printing.el (pr-toggle-region): Clarify the documentation
3261 slightly (bug#7493).
3262
3263 * time.el (display-time-update):
3264 Allow `display-time-mail-function' to return nil (bug#7158).
3265 Fix suggested by Detlev Zundel.
3266
3267 * vc/diff.el (diff): Clarify the order the file names are read
3268 (bug#7111).
3269
3270 * mouse.el (mouse-set-region): Link to `mouse-drag-copy-region' in
3271 the doc string (bug#7015).
3272
3273 * font-lock.el (font-lock-maximum-decoration): Mention what
3274 numeric levels mean (bug#6935).
3275
3276 * startup.el (initial-buffer-choice): Don't mention the `none'
3277 selection, which is against policy.
3278
32792011-07-14 Martin Rudalics <rudalics@gmx.at>
3280
3281 * window.el (display-buffer-normalize-special):
3282 Replace `dedicated' by `dedicate' to dedicate window (Bug#9072).
3283
32842011-07-14 Eli Zaretskii <eliz@gnu.org>
3285
3286 * subr.el (version<, version<=, version=): Mention "-CVS" and
3287 "-12345" alpha version numbers.
3288
32892011-07-14 Chong Yidong <cyd@stupidchicken.com>
3290
3291 * bindings.el: Add advertised binding for set-mark-command
3292 (Bug#5772).
3293
32942011-07-14 Chong Yidong <cyd@stupidchicken.com>
3295
3296 * bindings.el (mode-line-other-buffer):
3297 * bookmark.el (bookmark-bmenu-2-window):
3298 * bs.el (bs-cycle-next, bs-cycle-previous):
3299 * net/tramp-cmds.el (tramp-append-tramp-buffers): Revert to using
3300 switch-to-buffer.
3301
3302 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
3303 Delete.
3304
33052011-07-14 Juanma Barranquero <lekktu@gmail.com>
3306
3307 * follow.el (follow-debug-message, follow-redisplay):
3308 * jka-cmpr-hook.el (with-auto-compression-mode):
3309 Fix typos in docstrings.
3310
33112011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
3312
3313 * subr.el (with-silent-modifications): Clarify somewhat what the
3314 macro inhibits (bug#6525).
3315
3316 * simple.el (eval-expression): Note what it does if called
3317 interactively (bug#6495).
3318
33192011-07-13 Chong Yidong <cyd@stupidchicken.com>
3320
3321 * window.el (switch-to-buffer): New arg FORCE-SAME-WINDOW.
3322 Use pop-to-buffer buffer-or-name if it is nil.
3323
3324 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
3325 Remove switch-to-buffer.
3326
33272011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
3328
3329 * files.el (make-directory): Clarify that an error will be raised
3330 if there's an error (bug#6397).
3331
3332 * startup.el (initial-buffer-choice): Add `none' as a choice
3333 (bug#6234).
3334
3335 * subr.el (add-hook): Clarify section about buffer-local hooks
3336 (bug#6218).
3337
3338 * dired.el (dired-flagged): Clarify doc string (bug#6117).
3339
33402011-07-13 Juanma Barranquero <lekktu@gmail.com>
3341
3342 * tabify.el (untabify): Preserve the current column so that point
3343 doesn't move (bug#6032).
3344
33452011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
3346
3347 * progmodes/cperl-mode.el (cperl-syntaxify-by-font-lock):
3348 Rewrite to avoid awkward possessive "s" (bug#5986).
3349
33502011-07-13 Glenn Morris <rgm@gnu.org>
3351
3352 * dired.el (dired-use-ls-dired): Doc fix. (Bug#9039).
3353 (dired-insert-directory): Give a message the first time
3354 if ls is found not to support --dired.
3355
33562011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
3357
3358 * simple.el (toggle-truncate-lines): Clarify what is toggled
3359 (bug#5580). Text by Drew Adams.
3360
33612011-07-13 Chong Yidong <cyd@stupidchicken.com>
3362
3363 * simple.el (blink-matching-open): Make the error message from the
3364 last change less verbose.
3365
33662011-07-13 Dan Nicolaescu <dann@ics.uci.edu>
3367
3368 * font-lock.el (font-lock-comment-face): Use the high contrast
3369 "yellow" color for font-lock-comment-face on low color terminals
3370 using a dark background color (bug#4221).
3371
33722011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
3373
3374 * dired.el (dired-insert-set-properties): Make the doc string
3375 reflect what it does now (bug#5325).
3376
3377 * simple.el (blink-matching-open): Say that we were unable to find
3378 the match within the limit, if we're limited (bug#5122).
3379
3380 * international/mule-cmds.el (prefer-coding-system): Add an
3381 example (bug#4869).
3382
3383 * progmodes/etags.el (tags-search): Document `file-list-form'
3384 (bug#4731).
3385
33862011-07-13 Lawrence Mitchell <wence@gmx.li>
3387
3388 * net/browse-url.el (browse-url-default-browser)
3389 (browse-url-browser-function): Make the default browser choice a
3390 bit more logical (bug#4300). Also clean up the doc string.
3391
33922011-07-13 Juanma Barranquero <lekktu@gmail.com>
3393
3394 * bindings.el (completion-ignored-extensions): Add OpenMCL/Clozure
3395 binary endings (bug#4440).
3396
33972011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
3398
3399 * info.el (info-insert-file-contents): Inhibit jka-compr messages,
3400 which can be pretty annoying (bug#8971).
3401
3402 * jka-compr.el (jka-compr-verbose): New variable, and use
3403 throughout (bug#8971).
3404
3405 * info.el (Info-find-file): Fall back on the installation
3406 directory if we can't find the info node anywhere else.
3407
34082011-07-13 Sergei Organov <osv@javad.com> (tiny change)
3409
3410 * vc/vc.el (vc-revert-file):
3411 Don't set file time-stamp in the past. (Bug#5181)
3412
34132011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
3414
3415 * files.el (after-find-file): Give a better error message when
3416 trying to find a symlink that points to a file that doesn't exist
3417 (bug#4398).
3418
3419 * progmodes/cc-vars.el: Remove (probably) misleading comment
3420 (bug#4396).
3421
34222011-07-12 Johan Bockgård <bojohan@gnu.org>
3423
3424 * mouse-sel.el (mouse-sel-primary-overlay): Use the `region' face.
3425
34262011-07-12 Chong Yidong <cyd@stupidchicken.com>
3427
3428 * mouse-sel.el: Hack restoring functionality, while keeping
3429 compatibility with 2010-07-03 changes to mouse selection.
3430 (mouse-sel-primary-overlay): New var.
3431 (mouse-sel-selection-alist): Use it.
3432 (mouse-sel-mode): Doc fix; remove points that are default features
3433 of mouse.el.
3434
34352011-07-12 Johan Bockgård <bojohan@gnu.org>
3436
3437 * progmodes/compile.el (compilation-error-regexp-alist-alist):
3438 Fix previous fix (bug#2490).
3439
34402011-07-12 Roland Winkler <winkler@gnu.org>
3441
3442 * textmodes/bibtex.el (bibtex-initialize):
3443 Use pop-to-buffer-same-window.
3444 (bibtex-search-entries): Fix interactive call.
3445
34462011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
3447
3448 * progmodes/compile.el (compilation-error-regexp-alist-alist):
3449 Fontise bytecomp Error lines more correctly (bug#2490).
3450 Fix suggested by Johan Bockgård.
3451
3452 * subr.el (remove-duplicates): Remove; `delete-dups' is sufficient.
3453
3454 * dired-x.el (dired-guess-default): Use `delete-dups'.
3455
34562011-07-12 Chong Yidong <cyd@stupidchicken.com>
3457
3458 * dired.el (dired-mark-prompt):
3459 * dired-aux.el (dired-read-shell-command): Doc fix.
3460
34612011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
3462
3463 * mail/sendmail.el (sendmail-query-once):
3464 Use `customize-save-variable' unconditionally, now that it works under
3465 emacs -Q.
3466
3467 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
3468
3469 * cus-edit.el (custom-file): Take an optional no-error variable.
3470 (customize-save-variable): Set the variable, and give a warning if
3471 running under "emacs -q".
3472
34732011-07-11 Juanma Barranquero <lekktu@gmail.com>
3474
3475 * loadhist.el (unload-feature-special-hooks):
3476 Add `auto-coding-functions', `fill-nobreak-predicate' and
3477 `find-directory-functions' (bug#5327).
3478
34792011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
3480
3481 * vc/ediff.el (ediff-patch-file): Clarify doc string (bug#3138).
3482
3483 * cus-edit.el (custom-guess-name-alist): -alist variables should
3484 use the `alist' type (bug#3120). Suggested by Drew Adams.
3485
3486 * printing.el: Add documentation to all the `pr-toggle-' commands.
3487
34882011-07-11 Leo <sdl.web@gmail.com> (tiny change)
3489
3490 * files.el (toggle-read-only): Only do the `C-x C-q' warning on VC
3491 backends where it makes sense (bug#2623).
3492
34932011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
3494
3495 * dired-x.el (dired-guess-default): Remove duplicate shell command
3496 entries (bug#2028).
3497 (dired-guess-default): Fix grammar in doc string (bug#2028).
3498 (dired-guess-shell-alist-user): Clarify the example a bit (bug#2030).
3499
3500 * subr.el (remove-duplicates): New conveniency function.
3501
35022011-07-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
3503
3504 * tool-bar.el (tool-bar-mode): Clarify positive/negative arguments
3505 (bug#1526).
3506
35072011-07-10 Martin Rudalics <rudalics@gmx.at>
3508
3509 * window.el (display-buffer-normalize-default): Don't invert
3510 meaning of even-window-heights. Reported by Eli Zaretskii
3511 <eliz@gnu.org>.
3512
35132011-07-10 Bob Rogers <rogers@rgrjr.dyndns.org>
3514
3515 * vc/vc.el (vc-diff-internal): Fix race condition (Bug#1256).
3516
35172011-07-10 Chong Yidong <cyd@stupidchicken.com>
3518
3519 * window.el (display-buffer): Fix arguments to
3520 display-buffer-reuse-window in last change.
3521
3522 * faces.el (link): Use a less saturated blue on light backgrounds.
3523
3524 * startup.el (fancy-startup-text, fancy-about-text)
3525 (fancy-startup-tail): Use font-lock faces, for background safety.
3526
35272011-07-09 Bob Nnamtrop <bobnnamtrop@gmail.com> (tiny change)
3528
3529 * emulation/viper-cmd.el (viper-change-state-to-vi):
3530 Limit triggering of abbrev expansion (Bug#9038).
3531
35322011-07-09 Martin Rudalics <rudalics@gmx.at>
3533
3534 * window.el (display-buffer-default-specifiers): Remove.
3535 (display-buffer-macro-specifiers): Remove default specifiers.
3536 (display-buffer-alist): Default to nil.
3537 (display-buffer-reuse-window): New optional argument other-window.
3538 (display-buffer-pop-up-window): Allow splitting internal
3539 windows. Check whether a live window was created.
3540 (display-buffer-other-window-means-other-frame)
3541 (display-buffer-normalize-arguments): Rename to
3542 display-buffer-normalize-argument and rewrite. Set the
3543 other-window specifier.
3544 (display-buffer-normalize-special): New function.
3545 (display-buffer-normalize-options): Rename to
3546 display-buffer-normalize-default and rewrite.
3547 (display-buffer-normalize-options-inhibit): Remove.
3548 (display-buffer-normalize-specifiers): Rewrite.
3549 (display-buffer): Process other-window specifier and call
3550 display-buffer-reuse-window with it. Emulate Emacs 23 behavior
3551 more faithfully.
3552 (pop-up-windows, even-window-heights): Restore Emacs 23 default values.
3553 (display-buffer-alist-set): Don't handle 'unset default values.
3554 (display-buffer-in-window, display-buffer-alist-set):
3555 Replace symbol "dedicated" by "dedicate". Reported by Tassilo Horn
3556 <tassilo@member.fsf.org>.
3557
35582011-07-09 Leo Liu <sdl.web@gmail.com>
3559
3560 * register.el (insert-register): Restore accidental change on
3561 2011-06-26. (Bug#9028)
3562
35632011-07-09 Glenn Morris <rgm@gnu.org>
3564
3565 * subr.el (remq): Handle the empty list. (Bug#9024)
3566
35672011-07-08 Andreas Schwab <schwab@linux-m68k.org>
3568
3569 * mail/sendmail.el (send-mail-function): No longer delay custom
3570 initialization.
3571 * custom.el (custom-initialize-delay): Doc fix.
3572
35732011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
3574
3575 * abbrev.el (expand-abbrev): Try to preserve point (bug#5805).
3576
35772011-07-08 Michael Albinus <michael.albinus@gmx.de>
3578
3579 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use a
3580 human-friendly prompt.
3581
35822011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
3583
3584 * vc/vc-bzr.el (vc-bzr-revision-keywords): Remove svn, it's only
3585 provided by a particular plugin.
3586
35872011-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
3588
3589 * mail/sendmail.el (sendmail-query-once): If we aren't allowed to
3590 save customizations (with "emacs -Q"), just set the variable
3591 instead of erroring out.
3592
3593 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
3594
35952011-07-08 Juri Linkov <juri@jurta.org>
3596
3597 * arc-mode.el (archive-zip-expunge, archive-zip-update)
3598 (archive-zip-update-case): Use 7z if found by `executable-find'.
3599 The order of searching the available programs is the same as in
3600 `archive-zip-extract' (bug#8968).
3601
36022011-07-07 Chong Yidong <cyd@stupidchicken.com>
3603
3604 * menu-bar.el (menu-bar-line-wrapping-menu): Revert last change.
3605 (menu-bar-options-menu): Tweak descriptions.
3606
36072011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
3608
3609 * menu-bar.el (menu-bar-line-wrapping-menu): Make all the Options
3610 menu items into verb phrases (bug#1421). Also refill to fit under
3611 80 columns.
3612
36132011-07-07 Chong Yidong <cyd@stupidchicken.com>
3614
3615 * info.el (info, Info-read-node-name-2, Info-read-node-name-1)
3616 (Info-read-node-name): Doc fix (Bug#1084).
3617
3618 * thingatpt.el (forward-thing, bounds-of-thing-at-point)
3619 (thing-at-point, beginning-of-thing, end-of-thing, in-string-p)
3620 (end-of-sexp, beginning-of-sexp)
3621 (thing-at-point-bounds-of-list-at-point, forward-whitespace)
3622 (forward-symbol, forward-same-syntax, word-at-point)
3623 (sentence-at-point): Doc fix (Bug#1144).
3624
36252011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
3626
3627 * info.el (Info-mode-map): Remove S-TAB binding, since [backtab]
3628 should cover it (bug#1281).
3629
3630 * cus-edit.el (custom-show): Mark as obsolete.
3631
3632 * net/network-stream.el (network-stream-open-starttls): If gnutls
3633 negotiation fails, then possibly try again with a non-encrypted
3634 connection (bug#9017).
3635
3636 * mail/smtpmail.el (smtpmail-stream-type): Note that `plain' can
3637 be used.
3638
36392011-07-07 Richard Stallman <rms@gnu.org>
3640
3641 * mail/rmail.el (rmail-next-error-move): Use `compilation-message'
3642 property, and handle its changed format.
3643 Look for the correct line number.
3644 Use file's line contents (but not past first =) to find
3645 correct line in message.
3646
36472011-07-07 Kenichi Handa <handa@m17n.org>
3648
3649 * international/characters.el (build-unicode-category-table):
3650 Delete it.
3651 (unicode-category-table): Set it by unicode-property-table-internal.
3652
3653 * international/mule-cmds.el (char-code-property-alist): Move to
3654 to src/chartab.c.
3655 (get-char-code-property): Call unicode-property-table-internal to
3656 load a file. Call get-unicode-property-internal where necessary.
3657 (put-char-code-property): Call unicode-property-table-internal to
3658 load a file. Call put-unicode-property-internal where necessary.
3659 put-unicode-property-internal where necessary.
3660 (char-code-property-description):
3661 Call unicode-property-table-internal to load a file.
3662
3663 * international/charprop.el:
3664 * international/uni-bidi.el:
3665 * international/uni-category.el:
3666 * international/uni-combining.el:
3667 * international/uni-comment.el:
3668 * international/uni-decimal.el:
3669 * international/uni-decomposition.el:
3670 * international/uni-digit.el:
3671 * international/uni-lowercase.el:
3672 * international/uni-mirrored.el:
3673 * international/uni-name.el:
3674 * international/uni-numeric.el:
3675 * international/uni-old-name.el:
3676 * international/uni-titlecase.el:
3677 * international/uni-uppercase.el: Regenerate.
3678
3679 * loadup.el: Load international/charprop.el before
3680 international/characters.
3681
36822011-07-07 Chong Yidong <cyd@stupidchicken.com>
3683
3684 * window.el (next-buffer, previous-buffer): Signal an error if
3685 called from a minibuffer window.
3686
3687 * bindings.el: Revert 2011-07-04 change.
3688
36892011-07-06 Richard Stallman <rms@gnu.org>
3690
3691 * mail/rmailmm.el (rmail-mime-process): Use markers for buf positions.
3692 (rmail-mime-insert-bulk, rmail-mime-insert-text):
3693 Treat markers like ints.
3694 (rmail-mime-entity): Doc fix.
3695
36962011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
3697
3698 * mail/smtpmail.el (smtpmail-default-smtp-server): Made into a
3699 defcustom again for backwards compatibility.
3700
3701 * simple.el (shell-command-on-region): Fill.
3702
3703 * dired-aux.el (dired-kill-line): Add a doc string.
3704
3705 * dabbrev.el (dabbrev-abbrev-char-regexp): Note that nil defaults
3706 to "\\sw\\|\\s_" (bug#358).
3707
3708 * dired.el (dired-mode): Clarify "unmark or unflag" (bug#8770).
3709 (dired-unmark-backward): Ditto.
3710 (dired-flag-backup-files): Ditto.
3711
3712 * dired-x.el (dired-mark-sexp): Ditto.
3713
37142011-07-06 Richard Stallman <rms@gnu.org>
3715
3716 * mail/rmailmm.el: Give entity a new slot, TRUNCATED.
3717 (rmail-mime-entity): New arg TRUNCATED.
3718 (rmail-mime-entity-truncated, rmail-mime-entity-set-truncated):
3719 New functions.
3720 (rmail-mime-save): Warn if entity is truncated.
3721 (rmail-mime-toggle-hidden): Likewise, for showing.
3722 (rmail-mime-process-multipart): Record when an entity is truncated.
3723
3724 * mail/rmailmm.el (rmail-search-mime-message): Don't get confused
3725 if ENTITY is a string.
3726
37272011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
3728
3729 * emacs-lisp/lisp-mode.el (eval-defun-1): Update the documentation
3730 of faces when `M-C-x'-ing their definitions (bug#8378).
3731 Also clean up the code slightly.
3732
3733 * progmodes/grep.el (rgrep): Don't bind `process-connection-type',
3734 because that makes the colors go away.
3735
3736 * mail/sendmail.el (send-mail-function): Change the default to
3737 `sendmail-query-once'.
3738 (sendmail-query-once): Add an autoload cookie.
3739
3740 * net/network-stream.el (network-stream-open-starttls): Try using
3741 a plain connection even if the server offered STARTTLS, and we
3742 kinda wanted to use it, if Emacs doesn't have any STARTTLS
3743 capability. This should make smtpmail.el work in slightly more
3744 configurations.
3745
37462011-07-06 Michael Albinus <michael.albinus@gmx.de>
3747
3748 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
3749 New defun.
3750 * net/tramp-cmds.el (tramp-append-tramp-buffers): Use it.
3751
37522011-07-06 Michael R. Mauger <mmaug@yahoo.com>
3753
3754 * progmodes/sql.el: Version 3.0
3755 (sql-product-alist): Add product :completion-object,
3756 :completion-column, and :statement attributes.
3757 (sql-mode-menu, sql-interactive-mode-map): Fix List entries.
3758 (sql-mode-syntax-table): Mark all punctuation.
3759 (sql-font-lock-keywords-builder): Temporarily remove fallback on
3760 ansi keywords.
3761 (sql-regexp-abbrev, sql-regexp-abbrev-list): New functions.
3762 (sql-mode-oracle-font-lock-keywords): Improve.
3763 (sql-oracle-show-reserved-words): New function for development.
3764 (sql-product-font-lock): Simplify for source code buffers.
3765 (sql-product-syntax-table, sql-product-font-lock-syntax-alist):
3766 New functions.
3767 (sql-highlight-product): Set product specific syntax table.
3768 (sql-mode-map): Add statement movement functions.
3769 (sql-ansi-statement-starters, sql-oracle-statement-starters):
3770 New variable.
3771 (sql-statement-regexp, sql-beginning-of-statement)
3772 (sql-end-of-statement, sql-signum): New functions.
3773 (sql-buffer-live-p, sql=find-sqli-buffer): Add CONNECTION parameter.
3774 (sql-show-sqli-buffer): Bug fix.
3775 (sql-interactive-mode): Store connection data as buffer local.
3776 (sql-connect): Add NEW-NAME parameter. Redesign interaction
3777 with sql-interactive-mode.
3778 (sql-save-connection): Save buffer local settings.
3779 (sql-connection-menu-filter): Change menu entry name.
3780 (sql-product-interactive): Bug fix.
3781 (sql-preoutput-hold): New variable.
3782 (sql-interactive-remove-continuation-prompt): Bug fixes.
3783 (sql-debug-redirect): New variable.
3784 (sql-str-literal): New function.
3785 (sql-redirect, sql-redirect-one, sql-redirect-value, sql-execute):
3786 Redesign.
3787 (sql-oracle-save-settings, sql-oracle-restore-settings)
3788 (sql-oracle-list-all, sql-oracle-list-table): New functions.
3789 (sql-completion-object, sql-completion-column)
3790 (sql-completion-sqlbuf): New variables.
3791 (sql-build-completions-1, sql-build-completions)
3792 (sql-try-completion): New functions.
3793 (sql-read-table-name): Use them.
3794 (sql-contains-names): New buffer local variable.
3795 (sql-list-all, sql-list-table): Use it.
3796 (sql-oracle-completion-types): New variable.
3797 (sql-oracle-completion-object, sql-sqlite-completion-object)
3798 (sql-postgres-completion-object): New functions.
3799
38002011-07-06 Glenn Morris <rgm@gnu.org>
3801
3802 * window.el (pop-to-buffer): Doc fix.
3803
38042011-07-06 Markus Heiser <markus.heiser@darmarit.de> (tiny change)
3805
3806 * progmodes/gud.el (gud-pdb-marker-regexp): Accept \r char (Bug#5653).
3807
38082011-07-06 Chong Yidong <cyd@stupidchicken.com>
3809
3810 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
3811
3812 * info.el (Info-directory-toc-nodes): Minor doc fix (Bug#8833).
3813
38142011-07-05 Chong Yidong <cyd@stupidchicken.com>
3815
3816 * button.el (button): Inherit from link face. Suggested by Dan
3817 Nicolaescu.
3818
38192011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
3820
3821 * progmodes/gdb-mi.el: Fit in 80 columns.
3822 (gdb-setup-windows, gdb-restore-windows): Avoid other-window and
3823 switch-to-buffer.
3824
3825 * progmodes/which-func.el (which-func-ff-hook): Don't output a message
3826 if imenu is simply not configured (bug#8941).
3827
38282011-07-05 Ken Manheimer <ken.manheimer@gmail.com>
3829
3830 * allout.el (allout-post-undo-hook): New allout outline-change
3831 event hook to signal undo activity.
3832 (allout-post-command-business): Run allout-post-undo-hook if an
3833 undo just occurred.
3834 (allout-after-copy-or-kill-hook, allout-mode): Minor docstring changes.
3835 * allout-widgets.el (allout-widgets-after-undo-function):
3836 Ensure the integrity of the current item's decoration after it has been
3837 in the vicinity of an undo.
3838 (allout-widgets-mode): Include allout-widgets-after-undo-function
3839 on the new allout-post-undo-hook.
3840
38412011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
3842
3843 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-abbrev-table):
3844 Let define-derived-mode define it.
3845 * emacs-lisp/derived.el (define-derived-mode): Try to avoid creating
3846 cycles of abbrev-table inheritance (bug#8998).
3847
38482011-07-05 Roland Winkler <winkler@gnu.org>
3849
3850 * textmodes/bibtex.el: Add support for biblatex.
3851 (bibtex-BibTeX-entry-alist, bibtex-biblatex-entry-alist)
3852 (bibtex-BibTeX-field-alist, bibtex-biblatex-field-alist)
3853 (bibtex-dialect-list, bibtex-dialect, bibtex-no-opt-remove-re)
3854 (bibtex-entry-alist, bibtex-field-alist): New variables.
3855 (bibtex-entry-field-alist): Obsolete alias for
3856 bibtex-BibTeX-entry-alist.
3857 (bibtex-entry-alist, bibtex-field-alist): New widgets.
3858 (bibtex-set-dialect): New command.
3859 (bibtex-entry-type, bibtex-entry-head)
3860 (bibtex-entry-maybe-empty-head, bibtex-any-valid-entry-type):
3861 Bind via bibtex-set-dialect.
3862 (bibtex-Article, bibtex-Book, bibtex-Booklet, bibtex-InBook)
3863 (bibtex-InCollection, bibtex-InProceedings, bibtex-Manual)
3864 (bibtex-MastersThesis, bibtex-Misc, bibtex-PhdThesis)
3865 (bibtex-Proceedings, bibtex-TechReport, bibtex-Unpublished):
3866 Define via bibtex-set-dialect.
3867 (bibtex-name-in-field, bibtex-remove-OPT-or-ALT):
3868 Obey bibtex-no-opt-remove-re.
3869 (bibtex-vec-push, bibtex-vec-incr): New functions.
3870 (bibtex-format-entry, bibtex-field-list)
3871 (bibtex-print-help-message, bibtex-validate)
3872 (bibtex-search-entries): Use new format of bibtex-entry-alist.
3873
38742011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
3875
3876 * progmodes/compile.el (compilation-goto-locus):
3877 * net/tramp-cmds.el (tramp-append-tramp-buffers):
3878 * bs.el (bs-cycle-next, bs-cycle-previous):
3879 * bookmark.el (bookmark-bmenu-list, bookmark-bmenu-2-window):
3880 * bindings.el (mode-line-other-buffer):
3881 * autoinsert.el (auto-insert):
3882 * arc-mode.el (archive-extract):
3883 * abbrev.el (edit-abbrevs): Fix some uses of switch-to-buffer.
3884
38852011-07-05 Juanma Barranquero <lekktu@gmail.com>
3886
3887 * emacs-lock.el (emacs-lock-mode): Fix typo in variable name.
3888 Fix check of `emacs-lock-unlockable-modes'.
3889 Coerce true values of `emacs-lock--try-unlocking' to t.
3890
38912011-07-05 Juanma Barranquero <lekktu@gmail.com>
3892
3893 * obsolete/old-emacs-lock.el: Rename from emacs-lock.el.
3894 * emacs-lock.el: New file.
3895
38962011-07-05 Julien Danjou <julien@danjou.info>
3897
3898 * textmodes/rst.el (rst-define-level-faces): Use `facep' rather
3899 than `boundp' to check if face is set.
3900
39012011-07-05 Juanma Barranquero <lekktu@gmail.com>
3902
3903 * register.el (registerv-make):
3904 * window.el (window-min-height): Fix typos in docstrings.
3905
39062011-07-05 Jan Djärv <jan.h.d@swipnet.se>
3907
3908 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
3909 Update doc string.
3910
39112011-07-04 Juanma Barranquero <lekktu@gmail.com>
3912
3913 * server.el (server-execute): Catch quit and call
3914 `server-return-error' to pass the error back to emacsclient and
3915 close the connection (bug#8942).
3916
39172011-07-04 Ken Manheimer <ken.manheimer@gmail.com>
3918
3919 * allout.el (allout-encrypt-unencrypted-on-saves): Do not provide
3920 insecure exception for current topic. Also note that auto-saves
3921 are handled differently.
3922
3923 (allout-auto-save-temporarily-disabled), (allout-just-did-undo):
3924 State variables for tracking auto-save inhibition situation.
3925
3926 (allout-write-contents-hook-handler): Rename from
3927 'allout-write-file-hook-handler', and describe how it depends on
3928 write-contents-functions sensitivity to non-nil value to prevent
3929 file write.
3930
3931 (allout-auto-save-hook-handler): Remove. auto-save does not check
3932 this in individual buffers, only in the starting buffer, so this
3933 is not the right way for us to inhibit auto-save in a buffer
3934 according to its condition.
3935
3936 (allout-mode): Use new allout-write-contents-hook-handler, and
3937 only with write-contents-functions. Remove auto-save provisions -
3938 they're implemented elsewhere.
3939
3940 (allout-before-change-handler): If undo is in progress, note that
3941 for attention of allout-post-command-business.
3942
3943 (allout-post-command-business): If the command we're following was
3944 an undo, check for change in the status of encrypted items and
3945 adjust auto-save inhibitions accordingly.
3946
3947 (allout-toggle-subtree-encryption): Adjust auto-save inhibition
3948 according to whether there are or aren't any plain-text topics
3949 pending encryption.
3950
3951 (allout-inhibit-auto-save-info-for-decryption):
3952 Adjust buffer-saved-size and some allout state to inhibit auto-saves if
3953 there are plain-text topics pending encryption.
3954
3955 (allout-maybe-resume-auto-save-info-after-encryption): Adjust
3956 buffer-saved-size and some allout state to not inhibit auto-saves
3957 if there are no longer any plain-text topics pending encryption.
3958
3959 (allout-next-topic-pending-encryption, allout-encrypt-decrypted):
3960 No longer provide for exemption of the current topic.
3961
39622011-07-04 Juri Linkov <juri@jurta.org>
3963
3964 Add 7z operations to delete and save changed members (bug#8968).
3965 * arc-mode.el (archive-7z-expunge, archive-7z-update):
3966 New defcustoms.
3967 (archive-7z-write-file-member): New function.
3968 (archive-7z-summarize): Fix the number of dashes in the
3969 listing output.
3970
39712011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
3972
3973 * pcmpl-linux.el (pcomplete-pare-list): Re-add, from pcomplete.el
3974 (bug#8958).
3975
39762011-07-04 Chong Yidong <cyd@stupidchicken.com>
3977
3978 * bindings.el: Ignore next-buffer and previous-buffer in
3979 minibuffer-local-map.
3980
3981 * font-lock.el (font-lock-builtin-face): Change light background
3982 color to dark slate blue (Bug#6693).
3983
39842011-07-04 Wang Diancheng <dcwang@kingbase.com.cn> (tiny change)
3985
3986 * progmodes/gdb-mi.el (gdb): Use completion-at-point.
3987
39882011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
3989
3990 * files.el (find-file): Use pop-to-buffer-same-window (bug#8911).
3991 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
3992 Add switch-to-buffer.
3993
39942011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
3995
3996 * isearch.el (isearch-search-fun-function): Clarify further the
3997 meaning of the function returned.
3998
39992011-07-04 Michael Albinus <michael.albinus@gmx.de>
4000
4001 * net/tramp-cmds.el (tramp-cleanup-this-connection): New command.
4002
4003 * net/tramp-sh.el (tramp-color-escape-sequence-regexp): New defconst.
4004 (tramp-sh-handle-insert-directory, tramp-convert-file-attributes):
4005 Use it.
4006 (tramp-remote-path): Add "/bin" and "/usr/bin". On busyboxes,
4007 `tramp-default-remote-path' does not exist.
4008 (tramp-send-command-and-read): New optional argument NOERROR.
4009 (tramp-open-connection-setup-interactive-shell)
4010 (tramp-get-remote-path, tramp-get-remote-stat): Use it.
4011 (tramp-get-remote-readlink): Do not mask with `ignore-errors'.
4012 (tramp-process-sentinel): Flush also process' connection property.
4013 (tramp-sh-handle-start-file-process): Do not set process
4014 sentinel. It is done now ...
4015 (tramp-maybe-open-connection): ... here. (Bug#8929)
4016
40172011-07-04 MON KEY <monkey@sandpframing.com>
4018
4019 * play/animate.el (animate-string): Doc fixes and allow changing
4020 the buffer name (bug#5417).
4021
40222011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
4023
4024 * play/animate.el (animation-buffer-name): Rename from *animate*.
4025
40262011-07-04 Paul Eggert <eggert@cs.ucla.edu>
4027
4028 * emacs-lisp/timer.el: Use time-date fns rather than rolling our own.
4029 This is simpler and helps future-proof the code.
4030 (timer-until): Use time-subtract and float-time.
4031 (timer--time-less-p): Use time-less-p.
4032
40332011-07-04 Juanma Barranquero <lekktu@gmail.com>
4034
4035 * type-break.el (timep): Use the value of `float-time' to avoid a
4036 byte-compiler warning.
4037
4038 * server.el (server-eval-and-print): Return any result, even nil.
4039
40402011-07-03 Paul Eggert <eggert@cs.ucla.edu>
4041
4042 * type-break.el: Accept time formats that the builtins accept.
4043 (timep, type-break-time-difference): Accept any format that
4044 float-time accepts, rather than insisting on (HIGH LOW USECS) format.
4045 This is simpler and helps future-proof the code.
4046 (type-break-time-difference): Round rather than ignoring
4047 subseconds components.
4048
40492011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
4050
4051 * info.el (Info-apropos-matches): Make non-interactive, since it
4052 doesn't seem to do anything useful as a command (bug#8829).
4053
40542011-07-03 Chong Yidong <cyd@stupidchicken.com>
4055
4056 * frame.el (frame-background-mode, frame-set-background-mode):
4057 Move from faces.el.
4058 (frame-default-terminal-background): New function.
4059
4060 * custom.el (custom-push-theme): Don't record faces in `changed'
4061 theme; this doesn't work correctly for per-frame face settings.
4062 (disable-theme): Use face-set-after-frame-default to reset faces.
4063 (custom--frame-color-default): New function.
4064
40652011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
4066
4067 * dired.el (dired-flagging-regexp): Remove unused variable
4068 (bug#8769).
4069
40702011-03-29 Kevin Ryde <user42@zip.com.au>
4071
4072 * progmodes/compile.el (compilation-error-regexp-alist-alist):
4073 `perl-Test2' extend to match possible "fail #N" rep count
4074 (bug#8377).
4075
40762011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
4077
4078 * mail/feedmail.el (feedmail-buffer-to-smtpmail):
4079 `smtpmail-via-smtp' now returns the error instead of nil.
4080
4081 * isearch.el (isearch-search-fun-function): Clarify the doc string
4082 (bug#8101).
4083
40842011-07-03 Richard Kim <emacs18@gmail.com> (tiny change)
4085
4086 * textmodes/texnfo-upd.el (texinfo-insert-menu): Don't insert
4087 unnecessary spaces (bug#8987).
4088
40892011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
4090
4091 * net/network-stream.el (open-network-stream): Use the
4092 :end-of-capability command thoughout.
4093
40942011-07-03 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
4095
4096 * net/network-stream.el (open-network-stream): Add the
4097 :end-of-capability command parameter, used by pop3.el.
4098
40992011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
4100
4101 * dired.el (dired-map-over-marks): Refill the doc string (bug#6814).
4102
4103 * fringe.el (fringe-query-style): Remove redundant text " (type ?
4104 for list)" (bug#6475).
4105
4106 * files.el (file-expand-wildcards): Ignore non-readable
4107 sub-directories while trying to find matches instead of signaling
4108 an error (bug#6297).
4109
4110 * man.el (Man-reference-regexp): Allow matching possible
4111 word-wrapped references (bug#6289).
4112
4113 * vc/vc.el (vc-modify-change-comment): Change *VC-log* to *vc-log*
4114 for consistency with the other vc buffers (bug#6197).
4115 (vc-checkin): Ditto.
4116
4117 * vc/vc-arch.el: Fix comments to match the *VC-log* name change.
4118
4119 * longlines.el (longlines-mode): Document what ARG does (bug#6150).
4120
41212011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
4122
4123 * custom.el (defcustom): Clarify that :set is only used in the
4124 Customize user interface (bug#6089).
4125
4126 * progmodes/flymake.el (flymake-mode): If the buffer isn't
4127 associated with a file, refuse to run instead of erroring out
4128 (bug#6084).
4129
4130 * textmodes/fill.el (fill-region): Remove the "Ordinarily" from
4131 the doc string, since it appears that using `fill-column' always
4132 controls the width (bug#7845).
4133
4134 * simple.el (shell-command-on-region): Say where the error output
4135 went if `shell-command-default-error-buffer' is set (bug#6857).
4136
41372011-07-02 Ken Manheimer <ken.manheimer@gmail.com>
4138
4139 * allout.el (allout-yank-processing): Adjust cursor position for
4140 backwards-deleted space.
4141
4142 (allout-rebullet-heading): Register changes with
4143 allout-exposure-changed-hook, so the modified topic is properly
4144 decorated.
4145
41462011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
4147
4148 * minibuffer.el (completion-in-region): Document PREDICATE
4149 (bug#7136).
4150
4151 * info-look.el (info-lookup-add-help): Clarify that ARGS is a list
4152 of keyword/argument pairs (bug#6904).
4153
4154 * replace.el (multi-occur):
4155 Mention `multi-occur-in-matching-buffers' in the doc string (bug#7566).
4156
41572011-07-02 Drew Adams <drew.adams@oracle.com>
4158
4159 * dired.el (dired-mark-if): Make the message about whether it's
4160 marking or unmarking clearer (bug#8523).
4161
41622011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
4163
4164 * disp-table.el (display-table-print-array): New function.
4165 (describe-display-table): Use it to print the vectors more pretty
4166 (Bug#8859).
4167
41682011-07-02 Martin Rudalics <rudalics@gmx.at>
4169
4170 * window.el (window-state-get-1): Don't assign clone numbers.
4171 Add clone-of item to list of window parameters.
4172 (window-state-put-2): Don't process clone numbers.
4173 (display-buffer-alist): Fix doc-string.
4174
41752011-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
4176
4177 * subr.el (remq): Don't allocate if it's not needed.
4178 (keymap--menu-item-binding, keymap--menu-item-with-binding)
4179 (keymap--merge-bindings): New functions.
4180 (keymap-canonicalize): Use them to refine the canonicalization.
4181 * minibuffer.el (minibuffer-local-completion-map)
4182 (minibuffer-local-must-match-map): Move initialization from C.
4183 (minibuffer-local-filename-completion-map): Move initialization from C;
4184 don't inherit from anything here.
4185 (minibuffer-local-filename-must-match-map): Make obsolete.
4186 (completing-read-default): Use make-composed-keymap to combine
4187 minibuffer-local-filename-completion-map with either
4188 minibuffer-local-must-match-map or
4189 minibuffer-local-filename-completion-map.
4190
41912011-07-01 Glenn Morris <rgm@gnu.org>
4192
4193 * type-break.el (type-break-time-sum): Use dolist.
4194
4195 * textmodes/flyspell.el (flyspell-word-search-backward):
4196 Replace CL function.
4197
41982011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
4199
4200 * mouse.el (mouse--strip-first-event): New function.
4201 (function-key-map): Use it to map fringe clicks to normal clicks
4202 by default.
4203
4204 * vc/vc-bzr.el (vc-bzr-revision-keywords): Update.
4205 (vc-bzr-revision-completion-table): Add support for annotate and date.
4206
4207 * emacs-lisp/derived.el (define-derived-mode): Make abbrev-table
4208 inherit from parent.
4209
42102011-07-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
4211
4212 * dired-aux.el (dired-diff): Doc fixup (bug#8816).
4213 (dired-show-file-type): Doc fixup (bug#8818).
4214
4215 * dired.el (dired-mode): Fix up the doc string as suggested by
4216 Drew Adams (bug#8817).
4217
4218 * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
4219 cookie, since the manual says that it should be possible to add
4220 this function to `find-file-hook' (bug#8709).
4221
42222011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
4223
4224 * progmodes/cfengine.el: Moved all cfengine3.el functionality
4225 here. Noted Ted Zlatanov as the maintainer.
4226 (cfengine-common-settings, cfengine-common-syntax): New functions
4227 to set up common things between `cfengine-mode' and
4228 `cfengine3-mode'.
4229 (cfengine3-mode): New mode.
4230 (cfengine3-defuns cfengine3-defuns-regex
4231 (cfengine3-class-selector-regex cfengine3-category-regex)
4232 (cfengine3-vartypes cfengine3-font-lock-keywords)
4233 (cfengine3-beginning-of-defun, cfengine3-end-of-defun)
4234 (cfengine3-indent-line): Add from cfengine3.el.
4235
42362011-07-01 Michael Albinus <michael.albinus@gmx.de>
4237
4238 * net/tramp.el (tramp-encoding-command-interactive): New defcustom.
4239
4240 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
4241
42422011-07-01 Martin Rudalics <rudalics@gmx.at>
4243
4244 * window.el (same-window-buffer-names, same-window-regexps)
4245 (same-window-p, special-display-frame-alist)
4246 (special-display-popup-frame, special-display-function)
4247 (special-display-buffer-names, special-display-regexps)
4248 (special-display-p, pop-up-frame-alist, pop-up-frame-function)
4249 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
4250 (split-window-preferred-function, split-height-threshold)
4251 (split-width-threshold, even-window-heights)
4252 (display-buffer-mark-dedicated, window-splittable-p)
4253 (split-window-sensibly, window-safely-shrinkable-p):
4254 Un-obsolete.
4255 (display-buffer): Don't spread args with function specifier
4256 because special-display-popup-frame won't like it.
4257
42582011-07-01 Paul Eggert <eggert@cs.ucla.edu>
4259
4260 Time-stamp simplifications and fixes.
4261 These improve accuracy slightly, and future-proof the code
4262 against some potential changes to current-time format.
4263
4264 * woman.el (woman-decode-buffer, WoMan-log-end): Log fractional secs
4265 by using time-since and float-time.
4266
4267 * vc/ediff-util.el (ediff-calc-command-time): Use time-since
4268 and float-time. Say "NNN.NNN seconds" rather than "NNN seconds
4269 + NNN microseconds".
4270
4271 * type-break.el (type-break-time-sum): Rewrite using time-add.
4272
4273 * play/hanoi.el (hanoi-current-time-float): Remove.
4274 All uses replaced by float-time.
4275
4276 * nxml/rng-maint.el (rng-time-function): Rewrite using time-subtract.
4277 This yields a more-accurate answer.
4278 (rng-time-to-float): Remove; no longer needed.
4279
4280 * emacs-lisp/timer.el (timer-relative-time): Use time-add.
4281
4282 * calendar/timeclock.el (timeclock-seconds-to-time):
4283 Defalias to seconds-to-time, since they're the same thing.
4284
4285 * emacs-lisp/elp.el (elp-elapsed-time):
4286 * emacs-lisp/benchmark.el (benchmark-elapse):
4287 * allout-widgets.el (allout-elapsed-time-seconds): Use float-time.
4288
42892011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
4290
4291 * window.el (bury-buffer): Don't iconify the only frame.
4292 (switch-to-buffer): Revert to Emacs<23 behavior, i.e. do not fallback
4293 to pop-to-buffer. Use pop-to-buffer-same-frame if you don't like that.
4294
42952011-07-01 Chong Yidong <cyd@stupidchicken.com>
4296
4297 * eshell/em-smart.el (eshell-smart-display-navigate-list):
4298 Add mouse-yank-primary.
4299
43002011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
4301
4302 * progmodes/cfengine3.el: New file to support CFEngine 3.x.
4303
43042011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
4305
4306 * emacs-lisp/find-func.el (find-library--load-name): New fun.
4307 (find-library-name): Use it to find relative load names when provided
4308 absolute file name (bug#8803).
4309
43102011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
4311
4312 * textmodes/flyspell.el (flyspell-word): Consider words that
4313 differ only in case as potential doublons (bug#5687).
4314
4315 * net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
4316 Remove two rather uninteresting debugging-like messages to make
4317 debbugs.el more silent.
4318
4319 * comint.el (comint-password-prompt-regexp): Accept "Response" as
4320 a password-like phrase.
4321
43222011-06-30 Mastake YAMATO <yamato@redhat.com>
4323
4324 * progmodes/cc-guess.el: New file.
4325
4326 * progmodes/cc-langs.el (c-mode-menu): Add "Style..." submenu.
4327
4328 * progmodes/cc-styles.el (cc-choose-style-for-mode): New function
4329 derived from `c-basic-common-init'.
4330
4331 * progmodes/cc-mode.el (top-level): Require cc-guess.
4332 (c-basic-common-init): Use `cc-choose-style-for-mode'.
4333
43342011-06-30 Lawrence Mitchell <wence@gmx.li>
4335
4336 * progmodes/js.el (js-mode): Don't stomp on global settings (bug#8933).
4337
43382011-06-30 Alan Mackenzie <acm@muc.de>
4339
4340 * progmodes/cc-engine.el (c-guess-continued-construct):
4341 Correct the handling of template-args-cont, particularly for when font
4342 lock is disabled. Name this case as "CASE G".
4343
43442011-06-30 Ken Manheimer <ken.manheimer@gmail.com>
4345
4346 * allout.el (allout-yank-processing): Fix injection of extra space
4347 between bullet and non-whitespace character in first topic when
4348 pasting, ensuring that the actual spacing in the pasted topic
4349 following the bullet char is preserved. This extra space was
4350 causing pasted encrypted topics to get a decrypted status even
4351 when the content was actually still encrypted. Now the decryption
4352 status from before the paste is preserved.
4353
4354 (allout-flag-region): Set all allout overlays so they evaporate
4355 when reduced to zero length (evanescent), to prevent overlay
4356 leakage.
4357
43582011-06-30 Glenn Morris <rgm@gnu.org>
4359
4360 * w32-fns.el (w32-charset-info-alist): Declare.
4361
4362 * find-dired.el (find-grep-options): Simplify.
4363
4364 * term/ns-win.el (ns-set-resource): Declare.
4365
4366 * ses.el (row, col): Declare dynamic variables honestly.
4367
4368 * textmodes/reftex-parse.el (index-tags): Declare.
4369
43702011-06-30 Chong Yidong <cyd@stupidchicken.com>
4371
4372 * cus-edit.el (customize-push-and-save): New function.
4373
4374 * files.el (hack-local-variables-confirm): Use it.
4375
4376 * custom.el (load-theme): New arg NO-CONFIRM.
4377 Use customize-push-and-save (Bug#8720).
4378 (custom-enabled-themes): Doc fix.
4379
4380 * cus-theme.el (customize-create-theme)
4381 (custom-theme-merge-theme): Callers to load-theme changed.
4382
43832011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
4384
4385 * thingatpt.el (thing-at-point-short-url-regexp): Require that
4386 short URLs have at least one dot in them (bug #7614).
4387
4388 * progmodes/grep.el (rgrep): Bind `process-connection-type' to
4389 nil, because using a pty is apparently too slow (bug #895).
4390
43912011-06-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
4392
4393 * mail/sendmail.el (sendmail-query-once): New function.
4394 (sendmail-query-once-function): New variable.
4395
43962011-06-29 Glenn Morris <rgm@gnu.org>
4397
4398 * files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.
4399
4400 * ses.el (top-level): Require cl when compiling.
4401 (ses-set-localvars): Fix error statement.
4402 Call it at compile time to silence a storm of warnings.
4403
44042011-06-29 Martin Rudalics <rudalics@gmx.at>
4405
4406 * window.el (normalize-live-buffer): Rename to
4407 window-normalize-buffer.
4408 (normalize-live-frame): Rename to window-normalize-frame.
4409 (normalize-any-window): Rename to window-normalize-any-window.
4410 (normalize-live-window): Rename to window-normalize-live-window.
4411 (make-window-atom): Rename to window-make-atom.
4412 (window-resize-reset): Rename to window--resize-reset.
4413 (window-resize-reset-1): Rename to window--resize-reset-1.
4414 (resize-mini-window): Rename to window--resize-mini-window.
4415 (resize-subwindows-skip-p): Rename to
4416 window--resize-subwindows-skip-p.
4417 (resize-subwindows-normal): Rename to
4418 window--resize-subwindows-normal.
4419 (resize-subwindows): Rename to window--resize-subwindows.
4420 (resize-other-windows): Rename to window--resize-siblings.
4421 (resize-this-window): Rename to window--resize-this-window.
4422 (resize-root-window): Rename to window--resize-root-window.
4423 (resize-root-window-vertically): Rename to
4424 window--resize-root-window-vertically.
4425 (normalize-buffer-to-display): Rename to
4426 window-normalize-buffer-to-display.
4427 (normalize-buffer-to-switch-to): Rename to
4428 window-normalize-buffer-to-switch-to.
4429 Correspondingly update all callers of the functions listed
4430 above.
4431 (display-buffer-alist, display-buffer-normalize-arguments)
4432 (display-buffer-normalize-options, display-buffer)
4433 (display-buffer-alist-set): Use "function" instead of
4434 "fun-with-args".
4435
44362011-06-28 Chong Yidong <cyd@stupidchicken.com>
4437
4438 * mail/emacsbug.el (report-emacs-bug): Handle non-gnu bug
4439 addresses more clearly. Add hyperlinks for bug-gnu-emacs and
4440 debbugs.gnu.org. Mention acknowledgment email.
4441
44422011-06-28 Lars Magne Ingebrigtsen <larsi@gnus.org>
4443
4444 * mail/smtpmail.el (smtpmail-send-it): Leave off changing the
4445 buffer multibyteness, since it shouldn't matter.
4446
44472011-06-28 Martin Rudalics <rudalics@gmx.at>
4448
4449 * window.el (display-buffer-in-side-window): Handle dedicated
4450 windows as in display-buffer-reuse-window.
4451 (display-buffer-normalize-alist): Use value of override
4452 specifier.
4453 (display-buffer-normalize-specifiers): Use value of
4454 other-window-means-other-frame specifier.
4455 (display-buffer-alist): Rewrite some texts in widgets.
4456 (display-buffer): Spread arguments when calling function
4457 specified by fun-with-args.
4458
44592011-06-28 Deniz Dogan <deniz@dogan.se>
4460
4461 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
4462 Unnest `let'.
4463
4464 * textmodes/css-mode.el (css-font-lock-keywords): Fix grouped
4465 selectors (Bug#5732).
4466 (css-proprietary-nmstart-re): Use `regexp-opt'.
4467
44682011-06-27 Jari Aalto <jari.aalto@cante.net>
4469
4470 * eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).
4471 (eshell-ls-date-format): New defcustom.
4472 (eshell-ls-file): Use it.
4473
44742011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
4475
4476 * help-fns.el (describe-variable): Fix message for terminal-local vars.
4477
44782011-06-27 Katsumi Yamaoka <yamaoka@jpl.org>
4479
4480 * net/ange-ftp.el: Allow loading .gz files (Bug#6923).
4481 (ange-ftp-make-tmp-name): New arg.
4482 (ange-ftp-file-local-copy): Use it.
4483
44842011-06-27 Jambunathan K <kjambunathan@gmail.com>
4485
4486 * tar-mode.el (tar-untar-buffer): Set coding-system-for-write to
4487 no-conversion (Bug#8870).
4488
44892011-06-27 Martin Rudalics <rudalics@gmx.at>
4490
4491 * window.el (window-right, window-left, window-child)
4492 (window-child-count, window-last-child)
4493 (window-iso-combination-p, walk-window-tree-1)
4494 (window-atom-check-1, window-tree-1, delete-window)
4495 (window-state-get-1, display-buffer-even-window-sizes): Adapt to
4496 new naming conventions - window-vchild, window-hchild,
4497 window-next and window-prev are now called window-top-child,
4498 window-left-child, window-next-sibling and window-prev-sibling
4499 respectively.
4500 (resize-window-reset): Rename to window-resize-reset.
4501 (resize-window-reset-1): Rename to window-resize-reset-1.
4502 (resize-window): Rename to window-resize.
4503 (window-min-height, window-min-width)
4504 (resize-mini-window, resize-this-window, resize-root-window)
4505 (resize-root-window-vertically, adjust-window-trailing-edge)
4506 (enlarge-window, shrink-window, maximize-window)
4507 (minimize-window, delete-window, quit-restore-window)
4508 (split-window, balance-windows, balance-windows-area-adjust)
4509 (balance-windows-area, window-state-put-2)
4510 (display-buffer-even-window-sizes, display-buffer-set-height)
4511 (display-buffer-set-width, set-window-text-height)
4512 (fit-window-to-buffer): Rename all "resize-window" prefixed
4513 calls to use the "window-resize" prefix convention.
4514 (display-buffer-alist): Fix symbol for label specifier.
4515 (display-buffer-reuse-window): Set reuse-dedicated to cdr of
4516 corresponding specifier.
4517 Reported by Juanma Barranquero <lekktu@gmail.com>.
4518
45192011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
4520
4521 * ses.el (ses-destroy-cell-variable-range): Fix heading comment
4522 convention.
4523 (ses-call-printer): Does not pass an empty string to formatter when the
4524 cell is empty to keep from barking printer Calc math-format-value.
4525
45262011-06-27 Richard Stallman <rms@gnu.org>
4527
4528 * battery.el (battery-mode-line-limit): New variable.
4529 (battery-update): Handle it.
4530
4531 * mail/rmailmm.el (rmail-mime-process-multipart):
4532 Handle truncated messages.
4533
45342011-06-27 Glenn Morris <rgm@gnu.org>
4535
4536 * progmodes/flymake.el (flymake-err-line-patterns):
4537 Allow for column numbers in the ant/javac pattern. (Bug#8866)
4538
45392011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
4540
4541 * ses.el (ses-relocate-range): Keep rest of arguments for ses-range.
4542 (ses--clean-!, ses--clean-_): New functions.
4543 (ses-range): Add configurability of readout order, and conversion
4544 to Calc vector.
4545
4546 * ses.el (ses-repair-cell-reference-all): New function.
4547 (ses-cell-symbol): Set macro as safe, so that it can be used in
4548 formulas.
4549
4550 * ses.el: Update cycle detection algorithm.
4551 (ses-localvars): Add ses--Dijkstra-attempt-nb and
4552 ses--Dijkstra-weight-bound, and initial values thereof when applicable.
4553 (ses-set-localvars): New function.
4554 (ses-make-cell): Add property-list as a cell element.
4555 (ses-cell-property-get-fun, ses-cell-property-get)
4556 (ses-cell-property-delq-fun, ses-cell-property-set-fun)
4557 (ses-cell-property-pop-fun, ses-cell-property-get-handle-fun):
4558 New functions.
4559 (ses-cell-property-set, ses-cell-property-pop)
4560 (ses-cell-property-get-handle): New macro.
4561 (ses-cell-property-handle-car, ses-cell-property-handle-setcar):
4562 New aliases, used for code readability.
4563 (ses-calculate-cell, ses-update-cells): Use Dijkstra algorithm for
4564 cycle detection.
4565 (ses-self-reference-early-detection): New defcustom.
4566 (ses-formula-references): Robustify against self-refering cells.
4567 (ses-mode): Use ses-set-localvars.
4568 (ses-command-hook): Add call to ses-initialize-Dijkstra-attempt
4569 before lauching the update processing.
4570 (ses-initialize-Dijkstra-attempt): New function.
4571 (ses-recalculate-cell): Update for cycle detection based on
4572 Dijkstra algorithm.
4573
4574 * ses.el: Fix commenting and indenting convention.
4575
45762011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
4577
4578 * bs.el (bs-cycle-next): Complete last change.
4579
45802011-06-27 Drew Adams <drew.adams@oracle.com>
4581
4582 * faces.el (list-faces-display): Add help-mode-map to output (bug#8939).
4583
45842011-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
4585
4586 * net/network-stream.el (network-stream-open-starttls):
4587 Don't re-get capabilities unless we've reestablished connection.
4588 (network-stream-open-starttls): Fix stupid typo with gnutls-clii.
4589
4590 * mail/smtpmail.el (smtpmail-via-smtp): Bind coding-system-for-*
4591 to binary to possibly avoid line encoding issues on Windows (among
4592 other things).
4593
45942011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
4595
4596 * net/network-stream.el (open-network-stream): Return an :error
4597 saying what the problem was, if possible.
4598
4599 * mail/smtpmail.el (smtpmail-via-smtp): Report the error from the
4600 server.
4601
4602 * net/network-stream.el (network-stream-open-starttls): If we
4603 wanted to use STARTTLS, and the server offered it, but we weren't
4604 able to because we had no STARTTLS support, then close the connection.
4605 (open-network-stream): Return an :error element, if present.
4606
46072011-06-26 Chong Yidong <cyd@stupidchicken.com>
4608
4609 * hl-line.el (hl-line-sticky-flag): Doc fix.
4610 (global-hl-line-sticky-flag): New option (Bug#8323).
4611 (global-hl-line-highlight): Obey it.
4612
4613 * vc/vc.el (vc-revert-show-diff): Default to t.
4614
46152011-06-26 Ken Manheimer <ken.manheimer@gmail.com>
4616
4617 * allout-widgets.el (allout-widgets-post-command-business):
4618 Stop decorating intermediate isearch matches. They're not being
4619 undecorated when an isearch is continued past, and isearch
4620 automatically collapses them. This leads to "widget leaks", where
4621 decorated items accumulate in collapsed areas. Lines with lots of
4622 hidden widgets can slow down cursor travel, substantially.
4623 Too much complicated machinery would be needed to ensure undecoration,
4624 so we're doing without this nicety.
4625
4626 (allout-widgets-tally-string): Don't try to do a hash-table-count
4627 of allout-widgets-tally when it's nil. This eliminates spurious "Error
4628 during redisplay: (wrong-type-argument hash-table-p nil)" warnings in
4629 *Messages* when allout-widgets-maintain-tally is t.
4630
46312011-06-26 Martin Rudalics <rudalics@gmx.at>
4632
4633 * window.el (display-buffer-normalize-argument): Rename to
4634 display-buffer-normalize-arguments. Handle special meaning of
4635 LABEL argument. Respect special-display-function when popping up
4636 a new frame. Fix code searching for a window showing the buffer
4637 on another frame.
4638 (display-buffer-normalize-specifiers):
4639 Call display-buffer-normalize-arguments.
4640 (display-buffer-in-window): Don't undedicate the window if its
4641 buffer remains the same.
4642 Reported by Drew Adams <drew.adams@oracle.com>.
4643 (display-buffer-alist): Add choice for same-window macro
4644 specfier.
4645 (display-buffer): Mention special meaning of LABEL argument in
4646 doc-string. Fix quoting. Don't pop up a new frame even as
4647 fallback.
4648
46492011-06-26 Juanma Barranquero <lekktu@gmail.com>
4650
4651 * bs.el (bs-cycle-next): Pass current buffer to `bury-buffer' to
4652 avoid deleting the current window in some cases (bug#8911).
4653
46542011-06-26 Andreas Schwab <schwab@linux-m68k.org>
4655
4656 * emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
4657 (Bug#8934)
4658
46592011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
4660
4661 * net/network-stream.el (network-stream-open-starttls):
4662 Use built-in TLS support if `gnutls-available-p' is true.
4663 (network-stream-open-tls): Ditto.
4664
46652011-06-26 Leo Liu <sdl.web@gmail.com>
4666
4667 * register.el (registerv): New struct.
4668 (registerv-make): New function.
4669 (jump-to-register, describe-register-1, insert-register):
4670 Support the jump-func, print-func and insert-func slot of a registerv
4671 struct. (Bug#8415)
4672
46732011-06-26 Chong Yidong <cyd@stupidchicken.com>
4674
4675 * vc/vc.el (vc-revert-show-diff): New defcustom.
4676 (vc-diff-internal): New arg specifying diff buffer.
4677 (vc-revert): Obey vc-revert-show-diff. If we show a diff, don't
4678 reuse an existing *vc-diff* buffer (Bug#8927).
4679
4680 * progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode.
4681
46822011-06-26 Glenn Morris <rgm@gnu.org>
4683
4684 * progmodes/f90.el (f90-critical-indent): New option.
4685 (f90-font-lock-keywords-2, f90-blocks-re, f90-end-block-re)
4686 (f90-start-block-re, f90-mode-abbrev-table): Add block, critical.
4687 (f90-mode): Doc fix.
4688 (f90-looking-at-critical, f90-looking-at-end-critical): New funcs.
4689 (f90-no-block-limit, f90-calculate-indent, f90-end-of-block)
4690 (f90-beginning-of-block, f90-next-block, f90-indent-region)
4691 (f90-match-end): Handle block, critical.
4692
46932011-06-25 Glenn Morris <rgm@gnu.org>
4694
4695 * calendar/diary-lib.el (diary-included-files): Doc fix.
4696 (diary-include-files): New function, extracted from
4697 diary-include-other-diary-files and diary-mark-included-diary-files.
4698 (diary-include-other-diary-files, diary-mark-included-diary-files):
4699 Just call diary-include-files.
4700 (diary-mark-entries): Reset diary-included-files on first call.
4701
4702 * calendar/diary-lib.el (diary-mark-entries)
4703 (diary-mark-included-diary-files):
4704 Visit included diary-files in temp buffers.
4705
4706 * progmodes/f90.el (f90-keywords-re, f90-font-lock-keywords-1)
4707 (f90-blocks-re, f90-program-block-re, f90-end-block-re)
4708 (f90-start-block-re, f90-imenu-generic-expression)
4709 (f90-looking-at-program-block-start, f90-no-block-limit):
4710 Add support for submodules.
4711
4712 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
4713 (f90-procedures-re, f90-constants-re): Add some F2008 stuff.
4714
47152011-06-25 Eli Zaretskii <eliz@gnu.org>
4716
4717 * net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
4718 buffer-file-type before setting its value, to avoid disastrous
4719 global effects on decoding files for DOS/Windows systems. (Bug#8780)
4720
47212011-06-25 Juanma Barranquero <lekktu@gmail.com>
4722
4723 * allout.el (allout-unload-function): Pass -1 to `allout-mode'.
4724
4725 * ses.el (ses-unload-function):
4726 * emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
4727
4728 * proced.el (proced-unload-function):
4729 * progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.
4730
47312011-06-25 Andreas Rottmann <a.rottmann@gmx.at>
4732
4733 * server.el (server-create-window-system-frame): Add parameters arg.
4734 (server-process-filter): Doc fix. Handle frame-parameters.
4735
47362011-06-25 Juanma Barranquero <lekktu@gmail.com>
4737
4738 Fix bug#8730, bug#8781.
4739
4740 * loadhist.el (unload--set-major-mode): New function.
4741 (unload-feature): Use it.
4742
4743 * progmodes/python.el (python-after-info-look): Add autoload cookie.
4744 (python-unload-function): New function.
4745
47462011-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
4747
4748 * mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.
4749
47502011-06-25 Giuseppe Scrivano <gscrivano@gnu.org>
4751
4752 * net/browse-url.el (browse-url-firefox-program): Add icecat to
4753 the candidates list.
4754
47552011-06-24 Juanma Barranquero <lekktu@gmail.com>
4756
4757 * progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable.
4758
47592011-06-23 Richard Stallman <rms@gnu.org>
4760
4761 * mail/rmail.el: Going to grep hit in Rmail buffer finds the message.
4762 (rmail-variables): Set next-error-move-function.
4763 (rmail-what-message): Take argument POS.
4764 (rmail-next-error-move): New function.
4765
47662011-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
4767
4768 * emacs-lisp/smie.el (smie-bnf->prec2): Give more understandable error
4769 messages for adjacent non-terminals.
4770
47712011-06-23 Richard Stallman <rms@gnu.org>
4772
4773 * mail/rmail.el (rmail-retry-ignored-headers): Add message-id.
4774 (rmail-show-message-1): Preserve buffer modified flag.
4775 (rmail-start-mail): Don't specify use of rmail-mail-return;
4776 that's done by mail-bury now.
4777 (rmail-mail-return): Handle arg NEWBUF.
4778
47792011-06-23 Michael Albinus <michael.albinus@gmx.de>
4780
4781 * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
4782 SIZE is a number.
4783
47842011-06-23 Martin Rudalics <rudalics@gmx.at>
4785
4786 * window.el (get-lru-window, get-mru-window)
4787 (get-largest-window): Never return a minibuffer window.
4788 (display-buffer-pop-up-window): Fix a bug that could lead to
4789 reusing the minibuffer window.
4790 (display-buffer): Pass original specifier argument to
4791 display-buffer-function instead of the normalized one.
4792 Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
4793
47942011-06-22 Leo Liu <sdl.web@gmail.com>
4795
4796 * minibuffer.el (completing-read-function)
4797 (completing-read-default): Move from minibuf.c
4798
47992011-06-22 Richard Stallman <rms@gnu.org>
4800
4801 * mail/sendmail.el (mail-bury): If Rmail is in use, return nicely
4802 to Rmail even if not started by a special Rmail command.
4803
4804 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
4805 Copy the buffer currently showing just one message.
4806
48072011-06-22 Roland Winkler <winkler@gnu.org>
4808
4809 * textmodes/bibtex.el (bibtex-entry-update): Use mapc.
4810 (bibtex-clean-entry): First delete the old key so that a
4811 customized algorithm for generating the new key does not get
4812 confused by the old key.
4813 (bibtex-url): Obey regexp of first step.
4814 (bibtex-search-entries): Do not use add-to-list with local
4815 list-var.
4816
48172011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
4818
4819 * mail/smtpmail.el (smtpmail-try-auth-methods): If the user has
4820 stored a user name, then query for the password first, instead of
4821 waiting for SMTP to give an error message and the trying again.
4822
48232011-06-22 Lawrence Mitchell <wence@gmx.li>
4824
4825 * net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
4826 BUFFER in call-process.
4827
48282011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
4829
4830 * mail/smtpmail.el (smtpmail-via-smtp): Make sure we don't send
4831 QUIT twice.
4832 (smtpmail-try-auth-methods): Require user name and password from
4833 auth-source.
4834
48352011-06-22 Martin Rudalics <rudalics@gmx.at>
4836
4837 * window.el (display-buffer-default-specifiers)
4838 (display-buffer-alist): Remove entries for pop-up-frame-alist.
4839 Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
4840 (split-window): Normalize SIDE argument (Bug#8916).
4841
4842 * frame.el (pop-up-frame-alist, pop-up-frame-function)
4843 (special-display-frame-alist, special-display-popup-frame):
4844 Remove duplicate declarations. These are now in window.el.
4845
48462011-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
4847
4848 * mail/smtpmail.el (smtpmail-via-smtp):
4849 Set :use-starttls-if-possible so that we always use STARTTLS if the
4850 server supports it. SMTP servers that support STARTTLS commonly
4851 require it.
4852
4853 * net/network-stream.el (network-stream-open-starttls): Support
4854 upgrading to STARTTLS always, even if we don't have built-in support.
4855 (open-network-stream): Add the :always-query-capabilies keyword.
4856
4857 * mail/smtpmail.el: Rewritten to do opportunistic STARTTLS
4858 upgrades with `open-network-stream', and rely solely on
4859 auth-source for all credentials. Big changes throughout the file,
4860 but in particular:
4861 (smtpmail-auth-credentials): Remove.
4862 (smtpmail-starttls-credentials): Remove.
4863 (smtpmail-via-smtp): Check for servers saying they want AUTH after
4864 MAIL FROM, too.
4865
4866 * net/network-stream.el (network-stream-open-starttls):
4867 Provide support for client certificates both for external and built-in
4868 STARTTLS.
4869 (auth-source): Require.
4870 (open-network-stream): Document the :client-certificate keyword.
4871 (network-stream-certificate): Change cert-cert to cert and
4872 cert-key to key.
4873
48742011-06-21 Michael Albinus <michael.albinus@gmx.de>
4875
4876 * net/tramp-cache.el (top): Don't load the persistency file when
4877 "emacs -Q" has been called.
4878
48792011-06-21 Tim Harper <timcharper@gmail.com>
4880
4881 * term/ns-win.el (ns-initialize-window-system):
4882 Set application-specific `ApplePressAndHoldEnabled' system
4883 resource to NO as it is not yet supported by the NS port.
4884
48852011-06-21 Juanma Barranquero <lekktu@gmail.com>
4886
4887 * misc.el (list-dynamic-libraries--refresh): Compute header here...
4888 (list-dynamic-libraries): ...not here.
4889
48902011-06-21 Leo Liu <sdl.web@gmail.com>
4891
4892 * subr.el (sha1): Implement sha1 using secure-hash.
4893
48942011-06-21 Martin Rudalics <rudalics@gmx.at>
4895
4896 * window.el (display-buffer-alist): In default value do not
4897 enforce searching a window on any but the selected frame.
4898 Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
4899 (display-buffer-select-window): Remove function.
4900 (display-buffer-in-window): When a window on another frame gets
4901 reused, do not select it any more but just raise its frame if
4902 necessary (Bug#8851) and (Bug#8856).
4903 (display-buffer-normalize-options): Handle pop-up-frames related
4904 options more faithfully.
4905 (pop-to-buffer): Don't rely on `display-buffer' selecting the
4906 window if it is on another frame.
4907 (display-buffer-alist, display-buffer-default-specifiers):
4908 Don't make new frame unsplittable by default.
4909 (display-buffer-normalize-argument): Fix doc-string typo and use
4910 'same-frame-other-window instead of 'other-window when associating
4911 with display-buffer-macro-specifiers.
4912
49132011-06-21 Vincent Belaïche <vincent.b.1@hotmail.fr>
4914
4915 * play/5x5.el (5x5-solve-rotate-left, 5x5-solve-rotate-right):
4916 New functions.
4917 (5x5-mode-map, 5x5-mode-menu): Bind them.
4918 (5x5-draw-grid): Tweak the solver's rendering.
4919
49202011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
4921
4922 * progmodes/compile.el (compilation-error-regexp-alist-alist): Rename
4923 `caml' to `python-tracebacks-and-caml'; allow leading tabs (bug#8585).
4924
49252011-06-21 Drew Adams <drew.adams@oracle.com>
4926
4927 * menu-bar.el: Use function variable instead of switch-to-buffer.
4928 (menu-bar-select-buffer-function): New variable.
4929 (menu-bar-update-buffers): Use it (bug#8876).
4930
49312011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
4932
4933 * emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
4934 variable's status.
4935
49362011-06-20 Jan Djärv <jan.h.d@swipnet.se>
4937
4938 * x-dnd.el (x-dnd-version-from-flags)
4939 (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
4940 and long as number (Bug#8899).
4941 (x-dnd-handle-xdnd): Call functions above (Bug#8899).
4942
49432011-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
4944
4945 * minibuffer.el (completion-metadata): Add `metadata' to the alist.
4946 (completion-try-completion, completion-all-completions): Compute the
4947 metadata argument if it's missing; make it optional (bug#8795).
4948
4949 * wid-edit.el: Use lex-bind and move towards completion-at-point.
4950 (widget-complete): Use new :completion-function property.
4951 (widget-completions-at-point): New function.
4952 (default): Use :completion-function instead of :complete.
4953 (widget-default-completions): Rename from widget-default-complete;
4954 Rewrite.
4955 (widget-string-complete, widget-file-complete, widget-color-complete):
4956 Remove functions.
4957 (file, symbol, function, variable, coding-system, color):
4958 * international/mule-cmds.el (default-input-method, charset)
4959 (language-info-custom-alist):
4960 * cus-edit.el (face): Use new property :completions.
4961
4962 * progmodes/pascal.el (pascal-completions-at-point): New function.
4963 (pascal-mode): Use it.
4964 (pascal-mode-map): Use completion-at-point.
4965 (pascal-toggle-completions): Make obsolete.
4966 (pascal-complete-word, pascal-show-completions):
4967 * progmodes/octave-mod.el (octave-complete-symbol):
4968 Redefine as obsolete alias.
4969 * progmodes/octave-inf.el (inferior-octave-completion-at-point):
4970 Signal absence of completion info for old Octave,
4971 (inferior-octave-complete): Redefine as obsolete alias.
4972 * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
4973 (meta-completions-at-point): Rename from meta-complete-symbol and
4974 adapt it for use on completion-at-point-functions.
4975 (meta-common-mode): Use it.
4976 (meta-looking-at-backward, meta-match-buffer): Remove.
4977 (meta-complete-symbol): Redefine as obsolete alias.
4978 (meta-common-mode-map): Use completion-at-point.
4979 * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
4980 (makefile-mode-map): Use completion-at-point.
4981 (makefile-completions-at-point): Rename from makefile-complete and
4982 adapt it for use on completion-at-point-functions.
4983 (makefile-mode): Use it.
4984 (makefile-complete): Redefine as obsolete alias.
4985
49862011-06-20 Deniz Dogan <deniz@dogan.se>
4987
4988 * net/rcirc.el: Delete trailing whitespaces once and for all.
4989
49902011-06-20 Daniel Colascione <dan.colascione@gmail.com>
4991
4992 * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
4993
49942011-06-19 Chong Yidong <cyd@stupidchicken.com>
4995
4996 * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
4997
4998 * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
4999
50002011-06-19 Martin Rudalics <rudalics@gmx.at>
5001
5002 * window.el (display-buffer-other-window-means-other-frame):
5003 Call display-buffer-normalize-alist.
5004 (display-buffer-normalize-specifiers-1): Rename to
5005 display-buffer-normalize-argument. New argument other-frame.
5006 Rewrite.
5007 (display-buffer-normalize-specifiers-2): Rename to
5008 display-buffer-normalize-options.
5009 (display-buffer-normalize-alist-1): New function.
5010 (display-buffer-normalize-specifiers-3): Rename to
5011 display-buffer-normalize-alist.
5012 Call display-buffer-normalize-alist-1.
5013 (display-buffer-normalize-options-inhibit): New variable.
5014 (display-buffer-normalize-specifiers): Rewrite calling
5015 display-buffer-normalize-alist,
5016 display-buffer-normalize-argument, and
5017 display-buffer-normalize-options. Don't call the latter if
5018 display-buffer-normalize-options-inhibit is non-nil.
5019 (frame-auto-delete): New option.
5020 (window-deletable-p): Use frame-auto-delete.
5021 (window-list-no-nils, window-state-ignored-parameters)
5022 (window-state-get-1, window-state-get, window-state-put-list)
5023 (window-state-put-1, window-state-put-2, window-state-put):
5024 New functions.
5025 (display-buffer-normalize-options): Move special-display-p group
5026 after pop-up-frame group (Bug#8851) and (Bug#8856).
5027
50282011-06-18 Chong Yidong <cyd@stupidchicken.com>
5029
5030 * emacs-lisp/rx.el (rx-constituents): Add support for numbered
5031 groups (Bug#8776).
5032 (rx-submatch-n): New function.
5033 (rx): Document it.
5034
5035 * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
5036 (Bug#8768).
5037
5038 * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
5039
5040 * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
5041
5042 * cus-face.el (custom-declare-face): Call custom-theme-recalc face
5043 anytime existing face settings are present (Bug#8889).
5044
5045 * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
5046 (delphi-mode): Use define-derived-mode to inherit from prog-mode.
5047 Remove unused argument.
5048
50492011-06-18 Martin Rudalics <rudalics@gmx.at>
5050
5051 * window.el (display-buffer-default-specifiers):
5052 Remove pop-up-frame. Add pop-up-window-min-height,
5053 pop-up-window-min-width, and another reuse-window specifier
5054 (Bug#8882). Reported by Dan Nicolaescu <dann@gnu.org>.
5055 (display-buffer-normalize-specifiers-2):
5056 Handle split-height-threshold and split-width-threshold also when
5057 pop-up-windows is unset. Add a reuse-window specifier for the
5058 case popping up a new window fails.
5059 (special-display-popup-frame): Remove double quoting.
5060 (display-buffer-normalize-specifiers-1): Fix thinko.
5061
50622011-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
5063
5064 * shell.el (shell-completion-vars): Set pcomplete-termination-string
5065 according to comint-completion-addsuffix.
5066
5067 * pcomplete.el: Convert to lexical binding and fix bug#8819.
5068 (pcomplete-suffix-list): Mark as obsolete.
5069 (pcomplete-completions-at-point): Capture pcomplete-norm-func and
5070 pcomplete-seen in the closure.
5071 (pcomplete-comint-setup): Setup completion-at-point as well.
5072 (pcomplete--entries): New function.
5073 (pcomplete--env-regexp): New var.
5074 (pcomplete-entries): Rewrite to work with partial-completion and
5075 without relying on pcomplete-suffix-list.
5076 (pcomplete-pare-list): Remove, unused.
5077
50782011-06-17 Martin Rudalics <rudalics@gmx.at>
5079
5080 * window.el (display-buffer-alist): Set pop-up-window-min-height
5081 and pop-up-window-min-width in default value. Reported by
5082 Thierry Volpiatto <thierry.volpiatto@gmail.com>. New specifier
5083 other-window-means-other-frame.
5084 (display-buffer-macro-specifiers): Comment out entry for
5085 other-window specifier.
5086 (display-buffer-other-window-means-other-frame): New function.
5087 (display-buffer-normalize-specifiers-1): New arguments
5088 buffer-name and label. Treat other-window case specially.
5089 (display-buffer-normalize-specifiers-2): Treat other-window case
5090 specially.
5091 (display-buffer-normalize-specifiers-3): New function.
5092 (display-buffer-normalize-specifiers):
5093 Call display-buffer-normalize-specifiers-3.
5094
50952011-06-17 Martin Rudalics <rudalics@gmx.at>
5096
5097 * window.el (same-window-p): Fix two typos introduced when
5098 adding with-no-warnings.
5099 (display-buffer-normalize-specifiers-1): Don't check
5100 pop-up-frames for 'unset initialization.
5101 (display-buffer-normalize-specifiers-2): Major rewrite using
5102 special-display-p and same-window-p (Bug#8851) and (Bug#8856).
5103 (pop-up-frames, display-buffer-reuse-frames)
5104 (display-buffer-mark-dedicated): Don't initialize to 'unset.
5105 Suggested by David Engster <deng@randomsample.de>.
5106 (even-window-heights): Initialize to 'unset.
5107 (display-buffer-alist-set): Handle new 'unset initializations.
5108 (display-buffer-macro-specifiers): Don't pop up a new frame in the
5109 other window case.
5110
51112011-06-16 Martin Rudalics <rudalics@gmx.at>
5112
5113 * window.el (display-buffer-normalize-specifiers-1):
5114 Respect current value of pop-up-frames for most reasonable values of
5115 second argument of display-buffer (Bug#8865).
5116 (switch-to-buffer-same-frame, switch-to-buffer-other-window)
5117 (switch-to-buffer-other-window-same-frame)
5118 (switch-to-buffer-other-frame): Fix doc-strings. Reported by Drew
5119 Adams (Bug#8875).
5120 (display-buffer): Don't check noninteractive when calling
5121 display-buffer-pop-up-frame.
5122 (display-buffer-pop-up-frame): Never pop up a frame in
5123 noninteractive mode (Bug#8857).
5124 (enlarge-window, shrink-window): Don't report an error when the
5125 window can't be resized as requested (Bug#8862).
5126
51272011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
5128
5129 * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
5130
5131 * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
5132
5133 * abbrev.el (define-abbrev-table): Don't add a table multiple times.
5134
51352011-06-15 Alan Mackenzie <acm@muc.de>
5136
5137 * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
5138 for declarators, disable knr checking to speed up for normal files.
5139 2: Refactor, replacing a sequence of nested if forms by a cond form.
5140
51412011-06-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
5142
5143 * net/network-stream.el (open-network-stream): Add the keyword
5144 :always-query-capabilities for the case where you want to force a
5145 `plain' network connection, but the protocol still requires the
5146 capabilitiy command (i.e., SMTP and EHLO).
5147
5148 * subr.el (process-live-p): Rename from `process-alive-p' for
5149 consistency with other `-live-p' functions.
5150
51512011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
5152
5153 * window.el (same-window-buffer-names, same-window-regexps)
5154 (special-display-frame-alist, special-display-popup-frame)
5155 (special-display-function, special-display-buffer-names)
5156 (special-display-regexps, pop-up-frame-alist)
5157 (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
5158 (pop-up-windows, split-window-preferred-function)
5159 (split-height-threshold, split-width-threshold, even-window-heights)
5160 (display-buffer-mark-dedicated): Don't encourage the use of
5161 display-buffer-alist from Elisp code.
5162
51632011-06-15 Dan Nicolaescu <dann@ics.uci.edu>
5164
5165 * progmodes/python.el (python-mode): Derive from prog-mode.
5166 * progmodes/ps-mode.el (ps-mode):
5167 * progmodes/mixal-mode.el (mixal-mode):
5168 * progmodes/cfengine.el (cfengine-mode):
5169 * progmodes/ld-script.el (ld-script-mode): Likewise.
5170
51712011-06-15 Martin Rudalics <rudalics@gmx.at>
5172
5173 * window.el (display-buffer-alist): Trim default value to avoid
5174 popping up a new frame (Bug#8857) or reusing an arbitrary window
5175 on another frame.
5176 (display-buffer): Do not fall back on popping up a new frame in
5177 batch mode (Bug#8857).
5178
51792011-06-14 Chong Yidong <cyd@stupidchicken.com>
5180
5181 * cus-theme.el (describe-theme-1): Use custom-theme-p.
5182 (custom-theme-summary): New function.
5183 (customize-themes): Use it.
5184
51852011-06-13 Glenn Morris <rgm@gnu.org>
5186
5187 * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
5188
51892011-06-13 Martin Rudalics <rudalics@gmx.at>
5190
5191 * help.el (help-window): Remove variable.
5192 (help-window-point-marker, temp-buffer-max-height)
5193 (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
5194 (help-print-return-message): Don't set help-window.
5195 (resize-temp-buffer-window): Rewrite cod eand doc-string.
5196 (help-window-setup-finish): Remove.
5197 (help-window-display-message, help-window-setup)
5198 (with-help-window): Major rewrite based on new
5199 display-buffer-window variable.
5200
5201 * help-mode.el (help-mode-finish): Remove help-window related
5202 code.
5203
5204 * view.el (view-exits-all-viewing-windows): Remove reference to
5205 view-return-to-alist in doc-string.
5206 (view-return-to-alist): Make obsolete.
5207 (view-buffer): Call pop-to-buffer-same-window and remove
5208 undo-window code.
5209 (view-buffer-other-window): Call pop-to-buffer-other-window and
5210 simplify code. Ignore second argument.
5211 (view-buffer-other-frame): Call pop-to-buffer-other-frame and
5212 simplify code. Ignore second argument.
5213 (view-return-to-alist-update): Make obsolete.
5214 (view-mode-enter): Rename second argument to QUIT-RESTORE.
5215 Rewrite using quit-restore window parameters.
5216 (view-mode-exit): Rename second argument to EXIT-ONLY.
5217 Rewrite using quit-restore-window.
5218 (View-exit, View-exit-and-edit, View-leave, View-quit)
5219 (View-quit-all, View-kill-and-leave): Call view-mode-exit with
5220 appropriate arguments.
5221 (view-end-message): Use quit-restore window parameter.
5222
5223 * window.el (display-buffer-function): Rewrite doc-string.
5224 (display-buffer-window, display-buffer-alist): New variables.
5225 (display-buffer-split-specifiers)
5226 (display-buffer-side-specifiers)
5227 (display-buffer-macro-specifiers): New constants.
5228 (display-buffer-even-window-sizes, display-buffer-set-height)
5229 (display-buffer-set-width, display-buffer-select-window)
5230 (display-buffer-in-window, display-buffer-reuse-window)
5231 (display-buffer-split-window-1, display-buffer-split-window)
5232 (display-buffer-split-atom-window, display-buffer-pop-up-window)
5233 (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
5234 (display-buffer-in-side-window, normalize-buffer-to-display)
5235 (display-buffer-normalize-specifiers-1)
5236 (display-buffer-normalize-specifiers-2)
5237 (display-buffer-normalize-specifiers, display-buffer-frame):
5238 New functions.
5239 (display-buffer): Major rewrite.
5240 (display-buffer-other-window, display-buffer-other-frame)
5241 (pop-to-buffer, switch-to-buffer-other-window)
5242 (switch-to-buffer-other-frame): Rewrite.
5243 (display-buffer-same-window, display-buffer-same-frame)
5244 (display-buffer-same-frame-other-window)
5245 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
5246 (pop-to-buffer-other-window)
5247 (pop-to-buffer-same-frame-other-window)
5248 (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
5249 (switch-to-buffer-other-window-same-frame): New functions.
5250 (same-window-p, special-display-p): Rewrite disabling warnings.
5251 Make obsolete.
5252 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
5253 (display-buffer-mark-dedicated): Initialize to symbol 'unset.
5254 Make obsolete
5255 (same-window-buffer-names, same-window-regexps)
5256 (special-display-frame-alist, special-display-popup-frame)
5257 (special-display-function, special-display-buffer-names)
5258 (special-display-regexps, pop-up-frame-alist)
5259 (pop-up-frame-function, split-window-preferred-function)
5260 (split-height-threshold, split-width-threshold)
5261 (even-window-heights): Make obsolete.
5262
52632011-06-12 Glenn Morris <rgm@gnu.org>
5264
5265 * term/xterm.el (terminal-init-xterm): `version' may be nil. (Bug#8838)
5266 Misc simplifications.
5267
52682011-06-12 Martin Rudalics <rudalics@gmx.at>
5269
5270 * window.el (window-safely-shrinkable-p): Restore function which
5271 was inadvertently removed in change from 2011-06-11. Declare as
5272 obsolete.
5273
5274 * calendar/calendar.el (calendar-generate-window):
5275 Use window-iso-combined-p instead of combination of one-window-p and
5276 window-safely-shrinkable-p.
5277
52782011-06-12 Glenn Morris <rgm@gnu.org>
5279
5280 * progmodes/fortran.el (fortran-mode-syntax-table):
5281 * progmodes/f90.el (f90-mode-syntax-table):
5282 Set % to punctuation. (Bug#8820)
5283 (f90-find-tag-default): Remove, no longer needed.
5284
52852011-06-12 Daniel Colascione <dan.colascione@gmail.com>
5286
5287 * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
5288
52892011-06-11 Chong Yidong <cyd@stupidchicken.com>
5290
5291 * image.el (image-animated-p): Return animation delay in seconds.
5292 Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
5293 (image-animate-timeout): Remove DELAY argument. Don't assume
5294 every subimage has the same delay; get it from image-animated-p.
5295 (image-animate): Caller changed.
5296
52972011-06-11 Michael Albinus <michael.albinus@gmx.de>
5298
5299 * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
5300 to ignored backtrace functions.
5301
53022011-06-11 Glenn Morris <rgm@gnu.org>
5303
5304 * calendar/appt.el (appt-disp-window-function): Doc fix.
5305 (appt-check): Handle overlapping appointments. (Bug#8337)
5306
53072011-06-11 Martin Rudalics <rudalics@gmx.at>
5308
5309 * window.el (window-tree-1, window-tree): New functions, moving
5310 the latter to window.el.
5311 (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
5312 (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
5313 (bw-refresh-edges): Remove.
5314 (balance-windows-1, balance-windows-2): New functions.
5315 (balance-windows): Rewrite in terms of window tree functions,
5316 balance-windows-1 and balance-windows-2.
5317 (bw-adjust-window): Remove.
5318 (balance-windows-area-adjust): New function with functionality of
5319 bw-adjust-window but using resize-window.
5320 (set-window-text-height): Rewrite doc-string.
5321 Use normalize-live-window and resize-window.
5322 (enlarge-window-horizontally, shrink-window-horizontally):
5323 Rename argument to DELTA.
5324 (window-buffer-height): New function.
5325 (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
5326 Rewrite using new window resize routines.
5327 (kill-buffer-and-window, mouse-autoselect-window-select):
5328 Use ignore-errors instead of condition-case.
5329 (quit-window): Call delete-frame instead of delete-windows-on
5330 for the only buffer on frame.
5331
53322011-06-10 Martin Rudalics <rudalics@gmx.at>
5333
5334 * loadup.el (top-level): Load window before files for the sake
5335 of replace-buffer-in-windows.
5336
5337 * files.el (read-buffer-to-switch)
5338 (switch-to-buffer-other-window)
5339 (switch-to-buffer-other-frame, display-buffer-other-frame):
5340 Move to window.el.
5341
5342 * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
5343 (previous-buffer): Move to window.el.
5344
5345 * bindings.el (unbury-buffer): Move to window.el.
5346
5347 * window.el (delete-other-windows-vertically): Move after
5348 definition of delete-other-windows.
5349 (other-window, delete-windows-on, replace-buffer-in-windows):
5350 Move here from window.c.
5351 (record-window-buffer, unrecord-window-buffer)
5352 (set-window-buffer-start-and-point, switch-to-prev-buffer)
5353 (switch-to-next-buffer): New functions.
5354 (get-next-valid-buffer, last-buffer, next-buffer): Move here
5355 from simple.el. Call switch-to-next-buffer.
5356 (previous-buffer): Move here from simple.el.
5357 Call switch-to-prev-buffer.
5358 (bury-buffer): Move here from buffer.c. Switch to previous
5359 buffer when window cannot be deleted.
5360 (unbury-buffer): Move here from bindings.el.
5361 (ctl-x-map): Move binding for other-window from window.c to
5362 here.
5363 (read-buffer-to-switch, switch-to-buffer-other-window)
5364 (switch-to-buffer-other-frame): Move here from files.el.
5365 (normalize-buffer-to-switch-to): New functions.
5366 (switch-to-buffer): Move here from buffer.c.
5367 Use read-buffer-to-switch and normalize-buffer-to-switch-to.
5368
53692011-06-10 Martin Rudalics <rudalics@gmx.at>
5370
5371 * window.el (window-min-height, window-min-width): Move here
5372 from window.c. Add defcustoms and rewrite doc-strings.
5373 (resize-mini-window, resize-window): New functions.
5374 (adjust-window-trailing-edge, enlarge-window, shrink-window):
5375 Move here from window.c.
5376 (maximize-window, minimize-window): New functions.
5377 (delete-window, delete-other-windows, split-window): Move here
5378 from window.c.
5379 (window-split-min-size): New function.
5380 (split-window-keep-point): Mention split-window-above-each-other
5381 instead of split-window-vertically.
5382 (split-window-above-each-other, split-window-vertically):
5383 Rename split-window-vertically to split-window-above-each-other and
5384 provide defalias for old definition.
5385 (split-window-side-by-side, split-window-horizontally): Rename
5386 split-window-horizontally to split-window-side-by-side and provide
5387 defalias for the old definition.
5388 (ctl-x-map): Move bindings for delete-window,
5389 delete-other-windows and enlarge-window here from window.c.
5390 Replace bindings for split-window-vertically and
5391 split-window-horizontally by bindings for
5392 split-window-above-each-other and split-window-side-by-side.
5393
5394 * cus-start.el (all): Remove entries for window-min-height and
5395 window-min-width. Add entries for window-splits and
5396 window-nest.
5397
53982011-06-09 Glenn Morris <rgm@gnu.org>
5399
5400 * calendar/appt.el (appt-mode-line): New function.
5401 (appt-check, appt-disp-window): Use it.
5402
5403 * files.el (hack-one-local-variable-eval-safep):
5404 Allow minor-modes with explicit +/-1 arguments.
5405
54062011-06-09 Teodor Zlatanov <tzz@lifelogs.com>
5407
5408 * term/xterm.el (xterm): Add defgroup.
5409 (xterm-extra-capabilities): Add defcustom to supply known xterm
5410 capabilities, skip querying them, or query them (default).
5411 (terminal-init-xterm): Use it.
5412 (terminal-init-xterm-modify-other-keys): New function to set up
5413 modifyOtherKeys support to simplify `terminal-init-xterm'.
5414
54152011-06-09 Martin Rudalics <rudalics@gmx.at>
5416
5417 * window.el (resize-window-reset, resize-window-reset-1)
5418 (resize-subwindows-skip-p, resize-subwindows-normal)
5419 (resize-subwindows, resize-other-windows, resize-this-window)
5420 (resize-root-window, resize-root-window-vertically)
5421 (window-deletable-p, window-or-subwindow-p)
5422 (frame-root-window-p): New functions.
5423
54242011-06-09 Glenn Morris <rgm@gnu.org>
5425
5426 * net/ange-ftp.el (ange-ftp-switches-ok): New function.
5427 (ange-ftp-get-files): Use it.
5428
54292011-06-09 Alexander Klimov <alserkli@inbox.ru> (tiny change)
5430
5431 * mail/sendmail.el (mail-recover-1, mail-recover):
5432 * files.el (recover-file, recover-session):
5433 Handle dired-listing-switches not being just a single short option.
5434
54352011-06-09 Glenn Morris <rgm@gnu.org>
5436
5437 * calendar/appt.el (appt-display-message, appt-disp-window):
5438 Handle lists of appointments.
5439
54402011-06-08 Martin Rudalics <rudalics@gmx.at>
5441
5442 * window.el (one-window-p): Move down in code.
5443 Rewrite doc-string.
5444 (window-current-scroll-bars): Rewrite doc-string.
5445 Normalize live window argument.
5446 (walk-windows, get-window-with-predicate, count-windows):
5447 Rewrite doc-string. Use window-list-1.
5448 (window-in-direction-2, window-in-direction, get-mru-window):
5449 New functions.
5450
54512011-06-08 Reuben Thomas <rrt@sc3d.org>
5452
5453 * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
5454 Doc fix (Bug#8713).
5455
54562011-06-08 Chong Yidong <cyd@stupidchicken.com>
5457
5458 * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
5459
54602011-06-08 Juanma Barranquero <lekktu@gmail.com>
5461
5462 * loadhist.el (unload-feature-special-hooks):
5463 Add `comint-output-filter-functions'.
5464
54652011-06-08 Ivan Kanis <gnu@kanis.fr>
5466
5467 * calendar/appt.el (appt-check): Move some initializations into the let.
5468
54692011-06-08 Martin Rudalics <rudalics@gmx.at>
5470
5471 * window.el (window-height): Defalias to window-total-height.
5472 (window-width): Defalias to window-body-width.
5473
54742011-06-07 Chong Yidong <cyd@stupidchicken.com>
5475
5476 * image-mode.el (image-toggle-animation): New command.
5477 (image-mode-map): Bind it to RET.
5478 (image-mode): Update message.
5479 (image-toggle-display-image): Avoid a spurious cache flush.
5480 (image-transform-rotation): Doc fix.
5481 (image-transform-properties): Return quickly in the normal case.
5482 (image-animate-loop): Rename from image-animate-max-time.
5483
5484 * image.el (image-animate-max-time): Move to image-mode.el.
5485 (create-animated-image): Remove unnecessary function.
5486 (image-animate): Rename from image-animate-start. New arg.
5487 (image-animate-stop): Remove; just use image-animate-timer.
5488 (image-animate-timer): Use car-safe.
5489 (image-animate-timeout): Rename argument.
5490
54912011-06-07 Martin Rudalics <rudalics@gmx.at>
5492
5493 * window.el (get-lru-window, get-largest-window): Move here from
5494 window.c. Rename first argument to ALL-FRAMES.
5495 Rephrase doc-strings.
5496 (get-buffer-window-list): Rewrite using window-list-1.
5497 Rephrase doc-string.
5498 (window-safe-min-height, window-safe-min-width): New constants.
5499 (window-size-ignore, window-min-size, window-min-size-1)
5500 (window-sizable, window-sizable-p, window-size-fixed-1)
5501 (window-size-fixed-p, window-min-delta-1, window-min-delta)
5502 (window-max-delta-1, window-max-delta, window-resizable)
5503 (window-resizable-p, window-total-height, window-total-width)
5504 (window-body-width): New functions.
5505 (window-full-height-p, window-full-width-p): Rewrite using
5506 window-total-size.
5507 (window-body-height): Rewrite using window-body-size.
5508
55092011-06-06 Martin Rudalics <rudalics@gmx.at>
5510
5511 * window.el (window-right, window-left, window-child)
5512 (window-child-count, window-last-child, window-any-p)
5513 (normalize-live-buffer, normalize-live-frame)
5514 (normalize-any-window, normalize-live-window)
5515 (window-iso-combination-p, window-iso-combined-p)
5516 (window-iso-combinations)
5517 (walk-window-tree-1, walk-window-tree, walk-window-subtree)
5518 (windows-with-parameter, window-with-parameter)
5519 (window-atom-root, make-window-atom, window-atom-check-1)
5520 (window-atom-check, window-side-check, window-check):
5521 New functions.
5522 (ignore-window-parameters, window-sides, window-sides-vertical)
5523 (window-sides-slots): New variables.
5524 (window-size-fixed): Move down in code. Minor doc-string fix.
5525
55262011-06-05 Andreas Schwab <schwab@linux-m68k.org>
5527
5528 * comint.el (comint-dynamic-complete-as-filename)
5529 (comint-dynamic-complete-filename): Correctly call
5530 completion-in-region.
5531
55322011-06-05 Deniz Dogan <deniz@dogan.se>
5533
5534 * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
5535 in last change.
5536
55372011-06-05 Deniz Dogan <deniz@dogan.se>
5538
5539 * net/rcirc.el (rcirc-prompt-for-encryption): New function.
5540 (rcirc): Use it to prompt for encryption.
5541
55422011-06-05 Roland Winkler <winkler@gnu.org>
5543
5544 * textmodes/bibtex.el (bibtex-search-buffer): New variable.
5545 (bibtex-search-entries): New command bound to C-c C-a.
5546 (bibtex-display-entries): New function.
5547
55482011-06-05 Roland Winkler <winkler@gnu.org>
5549
5550 * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
5551 (bibtex-insert-kill): After yanking insert newline if necessary.
5552 (bibtex-initialize): Call bibtex-string-files-init only once.
5553 (bibtex-mode): Do not call easy-menu-add.
5554 (bibtex-validate-globally): Use save-excursion in bibtex buffers.
5555 (bibtex-yank): Set arg properly if nil.
5556
55572011-06-05 Roland Winkler <winkler@gnu.org>
5558
5559 * textmodes/bibtex.el (bibtex-search-entry-globally):
5560 New variable.
5561 (bibtex-search-entry): Use it.
5562
55632011-06-05 Roland Winkler <winkler@gnu.org>
5564
5565 * textmodes/bibtex.el (bibtex-entry-format): New option
5566 sort-fields.
5567 (bibtex-format-entry, bibtex-reformat): Honor this option.
5568 (bibtex-parse-entry): Return fields in proper order.
5569
55702011-06-05 Juanma Barranquero <lekktu@gmail.com>
5571
5572 * doc-view.el (doc-view-remove-if): Move computation of result out
5573 of `dolist' to silence misleading lexical-binding warning.
5574
55752011-06-04 Chong Yidong <cyd@stupidchicken.com>
5576
5577 * emacs-lisp/timer.el (timer-activate): Remove unused arg.
5578 (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
5579
55802011-06-04 Michael Albinus <michael.albinus@gmx.de>
5581
5582 * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
5583 "SunOS 5.10".
5584
55852011-06-04 Michael Albinus <michael.albinus@gmx.de>
5586
5587 * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
5588 (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
5589 (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
5590 (tramp-parse-putty):
5591 * net/tramp-sh.el (tramp-completion-function-alist-rsh)
5592 (tramp-completion-function-alist-ssh)
5593 (tramp-completion-function-alist-telnet)
5594 (tramp-completion-function-alist-su)
5595 (tramp-completion-function-alist-putty): Set `tramp-autoload'
5596 cookie.
5597
5598 * net/tramp-ftp.el:
5599 * net/tramp-sh.el:
5600 * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
5601 load "tramp.el" `tramp-set-completion-function'.
5602
56032011-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
5604
5605 * shell.el: Require and use pcomplete.
5606 (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
5607 (shell-completion-vars): Set pcomplete-default-completion-function.
5608
56092011-06-04 Deniz Dogan <deniz@dogan.se>
5610
5611 * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
5612 `memq' (Bug#8799).
5613
56142011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
5615
5616 * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
5617
56182011-06-02 Juanma Barranquero <lekktu@gmail.com>
5619
5620 * bs.el (bs--mark-unmark, bs--nth-wrapper):
5621 * mpc.el (mpc-select-extend, mpc-songpointer-context):
5622 * vc/log-view.el (log-view-beginning-of-defun):
5623 * vc/smerge-mode.el (smerge-apply-resolution-patch)
5624 (smerge-refine-forward, smerge-refine-chopup-region):
5625 Silence warning for unused `dotimes' counter variables.
5626
56272011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
5628
5629 * net/tramp.el (tramp-with-progress-reporter): Rename from
5630 with-progress-reporter. Use `declare'.
5631 * net/tramp-smb.el:
5632 * net/tramp-sh.el:
5633 * net/tramp-gvfs.el: Update all uses.
5634
56352011-06-02 Jay Belanger <jay.p.belanger@gmail.com>
5636
5637 * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
5638 buffer isn't killed before making it current.
5639
56402011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
5641
5642 Silence various byte-compiler warnings.
5643 * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
5644 `access-type' and new obsolescence format.
5645 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
5646 new format.
5647 (byte-compile-check-variable): New `access-type' argument.
5648 Only warn if the access-type is obsolete.
5649 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
5650 (byte-compile-variable-set): Adjust callers.
5651 * help-fns.el (describe-variable): Adjust to new obsolescence format.
5652 * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
5653 setting it as obsolete.
5654 * simple.el (minibuffer-completing-symbol):
5655 * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
5656 access as obsolete.
5657 * minibuffer.el (minibuffer-completing-file-name): Don't make it
5658 obsolete yet.
5659 * international/quail.el (quail-mouse-choose-completion): Remove unused
5660 code referring to obsolete var.
5661 (quail-choose-completion-string): Remove.
5662 * server.el (server-clients-with, server-kill-buffer-query-function)
5663 (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
5664 * proced.el (proced-send-signal):
5665 * emacs-lisp/lisp.el (lisp-complete-symbol):
5666 Replace completion-annotate-function with completion-extra-properties.
5667
56682011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
5669
5670 * simple.el (goto-line): Use read-number.
5671 (overriding-map-is-bound): Remove.
5672 (saved-overriding-map): Change default.
5673 (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
5674 Take the map as argument.
5675 (universal-argument, negative-argument, digit-argument): Use it.
5676 (restore-overriding-map): Adjust.
5677 (do-auto-fill): Use fill-forward-paragraph.
5678 (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
5679
5680 * minibuffer.el (minibuffer-inactive-mode-map): New var.
5681 (minibuffer-inactive-mode): New major mode.
5682 * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
5683 the *Messages* buffer" hack.
5684 (mouse-popup-menubar): Don't burp if the event is a normal key.
5685
5686 Miscellaneous tweaks.
5687 * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
5688 lexical scoping as in subr.el's dolist and dotimes.
5689 * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
5690 Silence compiler warning.
5691 * thingatpt.el (forward-whitespace): Trivial coding style fix.
5692 * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
5693 * international/ccl.el (ccl-compile): Trivial simplification.
5694 * help-fns.el (help-do-arg-highlight): Silence compiler warning.
5695 * emacs-lisp/testcover.el (testcover-end): Remove spurious
5696 `printflag' argument.
5697 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
5698 Purecopy the whole obsolescence data.
5699
57002011-06-01 Leo Liu <sdl.web@gmail.com>
5701
5702 * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
5703 improve doc-string as suggested by Marco Pessotto
5704 <melmothx@gmail.com>.
5705 (rcirc-print): Fix last change.
5706
57072011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
5708
5709 * minibuffer.el (complete-with-action): Return nil for the metadata and
5710 boundaries of non-functional tables.
5711 (completion-table-dynamic): Return nil for the metadata.
5712 (completion-table-with-terminator): Add default case, using
5713 complete-with-action.
5714 (completion--metadata): New function.
5715 (completion-all-sorted-completions, minibuffer-completion-help): Use it
5716 to try and avoid pathological performance problems.
5717 (completion--embedded-envvar-table): Return `category' metadata.
5718
57192011-05-31 Lars Magne Ingebrigtsen <larsi@gnus.org>
5720
5721 * subr.el (process-alive-p): New tiny convenience function.
5722
57232011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
5724
5725 * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
5726 content but also its previous major mode.
5727
57282011-05-31 Helmut Eller <eller.helmut@gmail.com>
5729
5730 * emacs-lisp/debug.el (debug): Restore the previous content of the
5731 *Backtrace* buffer when we exit with C-M-c.
5732
57332011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
5734
5735 * minibuffer.el: Add metadata method to completion tables.
5736 (completion-category-overrides): New defcustom.
5737 (completion-metadata, completion--field-metadata)
5738 (completion-metadata-get, completion--styles)
5739 (completion--cycle-threshold): New functions.
5740 (completion-try-completion, completion-all-completions):
5741 Add `metadata' argument to choose completion-styles.
5742 (completion--do-completion): Use metadata to choose cycling.
5743 (completion-all-sorted-completions): Use metadata for sorting.
5744 Remove :completion-cycle-penalty which is not needed any more.
5745 (completion--try-word-completion): Add `metadata' argument.
5746 (minibuffer-completion-help): Check metadata for annotation function
5747 and sorting.
5748 (completion-file-name-table): Return `category' metadata.
5749 (minibuffer-completing-file-name): Make obsolete.
5750 * simple.el (minibuffer-completing-symbol): Make obsolete.
5751 * icomplete.el (icomplete-completions): Pass new `metadata' param to
5752 completion-try-completion.
5753
57542011-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
5755
5756 * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
5757
57582011-05-30 Leo Liu <sdl.web@gmail.com>
5759
5760 * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
5761 (rcirc-print): Decode all incoming messages (bug#8744).
5762 (rcirc-decode-coding-system): Allow value nil for automatic coding
5763 system detection.
5764
57652011-06-01 Glenn Morris <rgm@gnu.org>
5766
5767 * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
5768
57692011-05-29 Chong Yidong <cyd@stupidchicken.com>
5770
5771 * image.el (image-animate-max-time): Allow nil and t values.
5772 Default to nil.
5773 (create-animated-image): Doc fix.
5774 (image-animate-start): Remove second arg; just use
5775 image-animate-max-time.
5776 (image-animate-timeout): Doc fix. Args changed.
5777
5778 * image-mode.el (image-toggle-display-image): Ensure that the
5779 image spec passed to the animate timer is the same object as in
5780 the buffer's display property (Bug#6981).
5781 (image-transform-properties): Doc fix.
5782
5783 * image.el (image-animate-max-time): Default to nil.
5784
57852011-05-29 Martin Rudalics <rudalics@gmx.at>
5786
5787 * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
5788 entire buffer list (Bug#8184).
5789
57902011-05-29 Chong Yidong <cyd@stupidchicken.com>
5791
5792 * image.el (imagemagick-types-inhibit)
5793 (imagemagick-register-types): Doc fix.
5794
57952011-05-29 Deniz Dogan <deniz@dogan.se>
5796
5797 * net/rcirc.el (rcirc): Use the user's stored encryption method by
5798 default.
5799
58002011-05-29 Chong Yidong <cyd@stupidchicken.com>
5801
5802 * select.el: Don't perform clipboard-manager saving in hooks;
5803 leave the hooks empty.
5804
58052011-05-28 Leo Liu <sdl.web@gmail.com>
5806
5807 * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
5808 (occur-mode-map): Bind occur-edit-mode. Use occur-menu-map.
5809 (occur-edit-mode): New major mode (Bug#8463).
5810 (occur-after-change-function): New function.
5811 (occur-engine): Give Occur tags a read-only property.
5812
58132011-05-28 Kevin Ryde <user42@zip.com.au>
5814
5815 * subr.el (def-edebug-spec): Doc fix (Bug#8430).
5816
58172011-05-28 Chong Yidong <cyd@stupidchicken.com>
5818
5819 * bindings.el (help-echo): Make the initial non-indicator dash
5820 empty on graphical terminals (Bug#7295).
5821
5822 * files.el (auto-mode-alist): Move config rule after the
5823 in-stripping one (Bug#8547).
5824
5825 * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
5826
5827 * startup.el (normal-splash-screen): Remove gratuitous mode-line
5828 setting (Bug#8740).
5829
58302011-05-28 Alp Aker <aker@pitt.edu> (tiny change)
5831
5832 * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
5833 (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
5834 (Bug#8539).
5835
58362011-05-28 Chong Yidong <cyd@stupidchicken.com>
5837
5838 * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
5839
58402011-05-28 Dima Kogan <dkogan@cds.caltech.edu> (tiny change)
5841
5842 * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
5843 (hs-hide-block-at-point, hs-find-block-beginning)
5844 (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
5845 (Bug#8279).
5846
58472011-05-28 Glenn Morris <rgm@gnu.org>
5848
5849 * startup.el (fancy-about-screen): Use standard mode line. (Bug#8740)
5850
58512011-05-28 Chong Yidong <cyd@stupidchicken.com>
5852
5853 * help-fns.el (describe-function-1): If the function is a derived
5854 major mode, print the parent mode.
5855
5856 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
5857 (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
5858
58592011-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
5860
5861 * minibuffer.el (completion--capf-wrapper): Check applicability before
5862 returning non-nil for non-exclusive completion data.
5863 * progmodes/etags.el (tags-completion-at-point-function):
5864 * info-look.el (info-lookup-completions-at-point): Mark as
5865 non-exclusive.
5866 (info-complete): Adjust accordingly.
5867
5868 * info-look.el: Convert to lexical-binding and completion-at-point.
5869 (info-lookup-completions-at-point): New function.
5870 (info-complete): Use it and completion-in-region.
5871
58722011-05-28 Drew Adams <drew.adams@oracle.com>
5873
5874 * isearch.el: Let M-e start with point at the first mismatched char.
5875 (isearch-fail-pos): New function.
5876 (isearch-edit-string): Use it.
5877
58782011-05-28 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
5879
5880 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
5881
58822009-11-23 Toby Cubitt <toby-predictive@dr-qubit.org>
5883
5884 * emacs-lisp/avl-tree.el: New avl-tree-stack datatype. Add new
5885 traversal functions for avl-trees.
5886 (avl-tree--stack): New struct.
5887 (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
5888 (avl-tree-enter): Add optional `updatefun' arg.
5889 (avl-tree--do-enter): Add optional `updatefun' arg.
5890 Change return value.
5891 (avl-tree-delete): Add optional `test' and `nilflag' args.
5892 (avl-tree--do-delete): Add `test' and `nilflag' args.
5893 Change return value.
5894 (avl-tree-member): Add optional `nilflag'
5895 (avl-tree-member-p): New function.
5896 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
5897 (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
5898 (avl-tree-stack-empty-p): New functions.
5899
59002009-11-23 Toby Cubitt <toby-predictive@dr-qubit.org>
5901
5902 * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
5903 avl-tree--del-balance1 and make it work both ways.
5904 (avl-tree--del-balance2): Remove.
5905 (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
5906 make it work both ways.
5907 (avl-tree--enter-balance2): Remove.
5908 (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
5909 New macros.
5910 (avl-tree--mapc, avl-tree-map): Add direction argument.
5911
59122011-05-27 David Michael <fedora.dm0@gmail.com> (tiny change)
5913
5914 * files.el (interpreter-mode-alist): Add rbash (bug#8745).
5915
59162011-05-27 Chong Yidong <cyd@stupidchicken.com>
5917
5918 * select.el: Support clipboard managers with built-in function
5919 x-clipboard-manager-save, via delete-frame-functions and
5920 kill-emacs-hook.
5921 (xselect-convert-to-targets): Add MULTIPLE target to list.
5922 (xselect-convert-to-save-targets): New function.
5923
59242011-05-27 Kenichi Handa <handa@m17n.org>
5925
5926 * mail/sendmail.el (mail-encode-header): Avoid double encoding by
5927 let-binding rfc2047-encode-encoded-words to nil.
5928
59292011-05-27 Glenn Morris <rgm@gnu.org>
5930
5931 * mail/emacsbug.el: Don't require url-util.
5932
5933 * shell.el (shell-directory-tracker): Case matters. (Bug#8735)
5934
5935 * files.el (set-auto-mode):
5936 Also respect mode: entries at the end of the file. (Bug#8586)
5937
59382011-05-26 Glenn Morris <rgm@gnu.org>
5939
5940 * files.el (hack-local-variables-prop-line, hack-local-variables):
5941 Downcase mode names, as seems to be traditional.
5942 (hack-local-variables, hack-local-variables-apply): Doc fixes.
5943
5944 * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
5945 (report-emacs-bug-hook): Try to validate the From address. (Bug#8038)
5946
59472011-05-25 Julien Danjou <julien@danjou.info>
5948
5949 * textmodes/rst.el (rst-define-level-faces): Do not define face
5950 symbol if it is already defined.
5951
59522011-05-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
5953
5954 * play/5x5.el (5x5-new-game, 5x5-randomize):
5955 Reset 5x5-solver-output to nil when a new grid is cast.
5956 (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
5957 these debugging traces, as defmacro breaks the compiled code.
5958
59592011-05-24 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
5960
5961 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
5962
59632011-05-24 Leo Liu <sdl.web@gmail.com>
5964
5965 * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
5966 (vc-bzr-sha1): Adapt.
5967
5968 * sha1.el: Remove. Function `sha1' is now builtin.
5969
5970 * bindings.el: Provide sha1 feature.
5971
59722011-05-24 Kenichi Handa <handa@m17n.org>
5973
5974 * mail/sendmail.el: Require `rfc2047'.
5975 (mail-insert-from-field): Do not perform RFC2047 encoding.
5976 (mail-encode-header): New function.
5977 (sendmail-send-it): Set buffer-file-coding-system of the work
5978 buffer to the return value of select-message-coding-system.
5979 Call mail-encode-header.
5980
5981 * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
5982
59832011-05-24 Sean Neakums <sneakums@zork.net> (tiny change)
5984
5985 * mail/supercite.el (sc-default-cite-frame):
5986 Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
5987
59882011-05-24 Glenn Morris <rgm@gnu.org>
5989
5990 * progmodes/python.el (brm-menu): Declare.
5991
5992 * emulation/viper.el (viper-set-hooks): Declare.
5993
5994 * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
5995 (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
5996 (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
5997 (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
5998 (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
5999 (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
6000
60012011-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
6002
6003 Add an :exit-function for completion-at-point.
6004
6005 * minibuffer.el (completion--done): New fun.
6006 (completion--do-completion): Use it. New arg `expect-exact'.
6007 (minibuffer-complete, minibuffer-complete-word): Don't output message,
6008 since completion--do-completion does it for us now.
6009 (minibuffer-force-complete): Use completion--done and
6010 completion--replace. Handle sole-completion case with more care.
6011 (minibuffer-complete-and-exit): Use new `expect-exact' arg.
6012 (completion-extra-properties): New var.
6013 (completion-annotate-function): Make obsolete.
6014 (minibuffer-completion-help): Adjust accordingly.
6015 Use completion-list-insert-choice-function.
6016 (completion-at-point, completion-help-at-point):
6017 Bind completion-extra-properties.
6018 (completion-pcm-word-delimiters): Add | (for uniquify, for example).
6019 * simple.el (completion-list-insert-choice-function): New var.
6020 (completion-setup-function): Preserve it.
6021 (choose-completion): Pay attention to it, shuffle the code a bit.
6022 (choose-completion-string): New arg `insert-function'.
6023
6024 * textmodes/bibtex.el: Convert to lexical binding.
6025 (bibtex-mode-map): Use completion-at-point.
6026 (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
6027 (bibtex-completion-at-point-function): New fun, from bibtex-complete.
6028 (bibtex-complete): Define as obsolete alias.
6029 (bibtex-complete-internal): Remove.
6030 (bibtex-format-entry): Remove unused sub-group in regexp.
6031 * shell.el (shell--command-completion-data)
6032 (shell-environment-variable-completion):
6033 * pcomplete.el (pcomplete-completions-at-point):
6034 * comint.el (comint--complete-file-name-data): Use :exit-function
6035 instead of completion-table-with-terminator so it also works for
6036 choose-completion.
6037
60382011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
6039
6040 * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
6041
6042 * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
6043 (bug#8710).
6044
6045 * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
6046
60472011-05-23 Ken Manheimer <ken.manheimer@gmail.com>
6048
6049 * allout.el (allout-inhibit-auto-fill-on-headline): Create new
6050 customization variable and implement: If non-nil, auto-fill will
6051 be inhibited while on topic's header line.
6052
60532011-05-23 Vincent Belaïche <vincentb1@users.sourceforge.net>
6054
6055 * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
6056 click on. II/ Make 5x5 multisession. III/ Ensure that random grids
6057 always have a solution in grid size = 5 cases.
6058 (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
6059 (5x5-solver-output, 5x5-log-buffer): New vars.
6060 (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
6061 Make these variables buffer local to achieve 5x5 multi-session-ness.
6062 (5x5): Set 5x5-grid-size only if SIZE is non-negative.
6063 (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
6064 (5x5-solve-suggest): New funs.
6065 (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
6066 randomize a grid so that we ensure that there is always a solution.
6067 (5x5-make-random-grid): Allow other movement than flipping.
6068
60692011-05-23 Kevin Ryde <user42@zip.com.au>
6070
6071 * emacs-lisp/advice.el (ad-read-advised-function):
6072 Use `function-called-at-point' as the default default, if it has
6073 advice and passes PREDICATE.
6074
60752011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
6076
6077 * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
6078 byte-compile-lambda if it's actually a lambda.
6079
6080 * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
6081 Fix function quoting. Use backquote better.
6082
60832011-05-22 Yuanle Song <sylecn@gmail.com>
6084
6085 * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
6086 matching (Bug#8516).
6087
60882011-01-22 Jari Aalto <jari.aalto@cante.net>
6089
6090 * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
6091 different face (Bug#8178).
6092
60932011-05-22 Chong Yidong <cyd@stupidchicken.com>
6094
6095 * vc/diff-mode.el (diff-changed): Don't use terminal specs for
6096 defface (Bug#8144).
6097
60982011-05-22 Stefan Monnier <monnier@iro.umontreal.ca>
6099
6100 * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
6101 funcall as well (bug#8712). Warn when performing those conversions.
6102 * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
6103
6104 * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
6105
61062011-05-22 Glenn Morris <rgm@gnu.org>
6107
6108 * files.el (hack-local-variables-prop-line): Small simplifications.
6109 (hack-local-variables, hack-local-variables-prop-line):
6110 If MODE-ONLY, return the mode, rather than just `t'.
6111
61122011-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
6113
6114 * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
6115
61162011-05-21 Glenn Morris <rgm@gnu.org>
6117
6118 * files.el (hack-local-variables-prop-line, hack-local-variables):
6119 If only interested in the mode, don't bother doing the other stuff.
6120
6121 * image-mode.el (image-after-revert-hook):
6122 Redraw all frames on which the image is visible. (Bug#8567)
6123
6124 * dired-aux.el (dired-touch-initial): Just use current-time. (Bug#6887)
6125
6126 * wid-edit.el (widget-checklist-match-inline):
6127 Fix 2011-04-19 change. (Bug#8649)
6128
61292011-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
6130
6131 * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
6132 Also allow singlespace after single-letter capitals followed by a dot.
6133
6134 * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
6135 enabled. Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
6136
61372011-05-20 Nix <nix@esperi.org.uk>
6138
6139 * files.el (basic-save-buffer-2):
6140 Fix handling of break-hardlink-on-save with non-existent files.
6141
61422011-05-19 Deniz Dogan <deniz@dogan.se>
6143
6144 * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
6145 (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
6146
61472011-05-19 Glenn Morris <rgm@gnu.org>
6148
6149 * progmodes/f90.el (f90-type-def-re):
6150 Handle "type, bind(c)". (Bug#8691)
6151
6152 * emacs-lisp/autoload.el (batch-update-autoloads):
6153 Set autoload-excludes by parsing loadup.el rather than Makefiles.
6154
61552011-05-18 Michael Albinus <michael.albinus@gmx.de>
6156
6157 * net/tramp.el (tramp-process-actions): Set "first-password-request"
6158 property for the correct connection in case of multihops.
6159
61602011-05-18 Glenn Morris <rgm@gnu.org>
6161
6162 * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
6163 * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
6164
6165 Rationalize calendar handling of day and month abbrev-arrays.
6166 * calendar/calendar.el (calendar-customized-p): New function.
6167 (calendar-abbrev-construct, calendar-make-alist): Change what it does.
6168 (calendar-day-name-array, calendar-month-name-array): Doc fix.
6169 Add :set function.
6170 (calendar-abbrev-length, calendar-day-abbrev-array)
6171 (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
6172 (calendar-day-abbrev-array, calendar-month-abbrev-array):
6173 Elements may no longer be nil.
6174 (calendar-day-name, calendar-month-name):
6175 Update for changed nature of abbrev arrays.
6176 * calendar/diary-lib.el (diary-name-pattern):
6177 Update for changed nature of abbrev arrays.
6178 (diary-mark-entries-1): Update calendar-make-alist calls.
6179 (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
6180 * calendar/cal-html.el (cal-html-day-abbrev-array):
6181 Simply inherit from calendar-day-abbrev-array.
6182
61832011-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
6184
6185 * progmodes/grep.el (grep-mode): Disable default
6186 compilation-directory-matcher setting (bug#8684).
6187
61882011-05-17 Michael Albinus <michael.albinus@gmx.de>
6189
6190 * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
6191 instead of "head" and "tail". There were problems with SunOS 5.9,
6192 and it performs better.
6193
61942011-05-17 Glenn Morris <rgm@gnu.org>
6195
6196 * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
6197
6198 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
6199 Replace obsolete function.
6200
6201 * shell.el (pcomplete-parse-arguments-function): Declare.
6202
6203 * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
6204 (appt-display-diary, appt-display-interval, appt-prev-comp-time)
6205 (appt-check): Doc fixes.
6206 (appt-disp-window-function, appt-delete-window-function):
6207 Remove needless special case in custom :type.
6208 (appt-display-count): Default to 0, not nil.
6209 (appt-check): Reset appt-display-count to 0, not nil.
6210
62112011-05-17 Juanma Barranquero <lekktu@gmail.com>
6212
6213 * progmodes/python.el (python-font-lock-keywords):
6214 Add the Python 3.X keyword "nonlocal" (bug#8639).
6215
62162011-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
6217
6218 * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
6219
62202011-05-16 Kevin Ryde <user42@zip.com.au>
6221
6222 * info-look.el (makefile-automake-mode): New setups, looking in
6223 automake manual, then makefile-mode.
6224 (makefile-mode): Remove automake manual, have it just in
6225 makefile-automake-mode since there's various things different or
6226 not relevant to plain make.
6227 (makefile-mode): Remove "other-modes" non-existent automake-mode,
6228 believe a hypothetical automake-mode would go to makefile-mode,
6229 not the other way around.
6230
62312011-05-15 Chong Yidong <cyd@stupidchicken.com>
6232
6233 * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
6234 hunk-end tags (Bug#8672).
6235
6236 * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
6237 vc-annotate-show-diff-revision-at-line (Bug#8671).
6238
62392011-05-14 Glenn Morris <rgm@gnu.org>
6240
6241 * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
6242 in the middle of an existing one with multiple authors. (Bug#8645)
6243 (change-log-font-lock-keywords): Also handle multiple author lines
6244 with leading tabs. (Bug#8644)
6245
6246 * calendar/appt.el (appt-check): Rename some local variables.
6247 Some simplification/reordering.
6248
6249 * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
6250 (feedmail-sendmail-f-doesnt-sell-me-out)
6251 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
6252 (feedmail-debug-sit-for, feedmail-queue-express-hook)
6253 (feedmail-queue-runner-message-sender): Set :version.
6254 (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
6255 (bbdb-dwim-net-address, vm-mail): Declare.
6256 (feedmail-binmail-gnulinuxish-template):
6257 Rename from feedmail-binmail-linuxish-template.
6258 (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
6259 Use insert-buffer-substring.
6260
62612011-05-14 Bill Carpenter <bill@carpenter.org>
6262
6263 * mail/feedmail.el (feedmail-patch-level): Increase.
6264 (feedmail-debug): New custom group.
6265 (feedmail-confirm-outgoing-timeout)
6266 (feedmail-sendmail-f-doesnt-sell-me-out)
6267 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
6268 (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
6269 (feedmail-sender-line, feedmail-from-line)
6270 (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
6271 (feedmail-spray-this-address)
6272 (feedmail-spray-address-fiddle-plex-list)
6273 (feedmail-queue-use-send-time-for-date)
6274 (feedmail-queue-use-send-time-for-message-id)
6275 (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
6276 (feedmail-buffer-eating-function):
6277 Doc fixes.
6278 (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
6279 (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
6280 (feedmail-message-action-scroll-down): New functions.
6281 (feedmail-queue-directory, feedmail-queue-draft-directory):
6282 Use expand-file-name.
6283 (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
6284 Remove C-v help entry.
6285 (feedmail-queue-buffer-file-name): New variable.
6286 (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
6287 (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
6288 (feedmail-message-action-send-strong, feedmail-message-action-edit)
6289 (feedmail-message-action-draft, feedmail-message-action-draft-strong)
6290 (feedmail-message-action-queue, feedmail-message-action-queue-strong)
6291 (feedmail-message-action-toggle-spray)
6292 (feedmail-run-the-queue-no-prompts)
6293 (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
6294 (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
6295 (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
6296 (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
6297 (feedmail-envelope-deducer, feedmail-fiddle-from)
6298 (feedmail-fiddle-sender, feedmail-default-date-generator)
6299 (feedmail-fiddle-date, feedmail-fiddle-message-id)
6300 (feedmail-fiddle-spray-address)
6301 (feedmail-fiddle-list-of-spray-fiddle-plexes)
6302 (feedmail-fiddle-list-of-fiddle-plexes)
6303 (feedmail-fill-to-cc-function, feedmail-fill-this-one)
6304 (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
6305 (feedmail-queue-runner-message-sender, feedmail-binmail-template):
6306 Change default. Doc fix.
6307 (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
6308 (feedmail-binmail-linuxish-template): New constant.
6309 (feedmail-buffer-to-sendmail): Doc fix. Add debug call.
6310 Respect feedmail-sendmail-f-doesnt-sell-me-out.
6311 (feedmail-send-it): Add debug call.
6312 Use feedmail-queue-buffer-file-name, and
6313 feedmail-send-it-immediately-wrapper.
6314 (feedmail-message-action-send): Add debug call.
6315 Use feedmail-send-it-immediately-wrapper.
6316 (feedmail-queue-express-to-queue): Add debug call.
6317 Run feedmail-queue-express-hook.
6318 (feedmail-message-action-help): Add debug call. Use feedmail-p-h-b-n.
6319 (feedmail-message-action-help-blat):
6320 Rename from feedmail-queue-send-edit-prompt-help-first.
6321 (feedmail-run-the-queue): Add debug call. Set buffer-file-type.
6322 Check line-endings. Handle errors better.
6323 (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
6324 Doc fix. Add debug call.
6325 (feedmail-queue-send-edit-prompt): Doc fix. Add debug call.
6326 Use feedmail-queue-send-edit-prompt-inner.
6327 (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
6328 (feedmail-queue-send-edit-prompt-inner): New function, extracted
6329 from feedmail-queue-send-edit-prompt.
6330 (feedmail-queue-send-edit-prompt-help)
6331 (feedmail-queue-send-edit-prompt-help-later): Remove functions.
6332 (feedmail-tidy-up-slug): Add debug call.
6333 Respect feedmail-queue-slug-suspect-regexp.
6334 (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
6335 (feedmail-dump-message-to-queue): Add debug call.
6336 Expand queue-directory.
6337 (feedmail-dump-message-to-queue): Change message slightly.
6338 Use feedmail-say-chatter.
6339 (feedmail-rfc822-date): Add debug call. Bind system-time-locale.
6340 (feedmail-send-it-immediately-wrapper): New function.
6341 (feedmail-send-it-immediately): Add debug calls. Use let not let*.
6342 Insert empty string rather than newline. Handle full-frame case.
6343 Use catch/throw. Use feedmail-say-chatter.
6344 (feedmail-fiddle-from): Try mail-host-address.
6345 (feedmail-default-message-id-generator): Doc fix.
6346 Bind system-time-locale. Handle missing end.
6347 (feedmail-fiddle-x-mailer): Add debug call.
6348 Handle feedmail-x-mailer-line being nil.
6349 (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
6350 Add debug call. Use buffer-substring-no-properties.
6351 (feedmail-say-debug, feedmail-say-chatter): New functions.
6352 (feedmail-find-eoh): Give an explicit error.
6353
63542011-05-13 Ulf Jasper <ulf.jasper@web.de>
6355
6356 * net/newst-treeview.el (newsticker-treeview-face): Change default
6357 family from helvetica to sans.
6358 (newsticker-treeview-tool-bar-map): Move tool-bar icons to
6359 etc/images/newsticker.
6360
6361 * net/newst-reader.el (newsticker-feed-face): Change default
6362 family from helvetica to sans.
6363
6364 * net/newst-plainview.el (newsticker-new-item-face)
6365 (newsticker-old-item-face, newsticker-immortal-item-face)
6366 (newsticker-obsolete-item-face, newsticker-date-face)
6367 (newsticker-statistics-face): Change default family from
6368 helvetica to sans.
6369 (newsticker--plainview-tool-bar-map): Move tool-bar icons to
6370 etc/images/newsticker.
6371
6372 * net/newst-backend.el (newsticker--do-run-auto-mark-filter),
6373 (newsticker--process-auto-mark-filter-match): : Tell user about
6374 auto-marking.
6375
63762011-05-13 Didier Verna <didier@xemacs.org>
6377
6378 Common Lisp indentation improvements on defmethod and lambda-lists.
6379 * emacs-lisp/cl-indent.el: Advertise the changes and remove obsolete
6380 TODO entries.
6381 (lisp-lambda-list-keyword-parameter-indentation)
6382 (lisp-lambda-list-keyword-parameter-alignment)
6383 (lisp-lambda-list-keyword-alignment): New customizable user options.
6384 (lisp-indent-defun-method): Improve docstring.
6385 (extended-loop-p): Fix comment.
6386 (lisp-indent-lambda-list-keywords-regexp): New variable.
6387 (lisp-indent-lambda-list): New function.
6388 (lisp-indent-259): Use it.
6389 (lisp-indent-defmethod): Support for more than one
6390 method qualifier and properly indent methods lambda-lists.
6391 (defgeneric): Provide a missing common-lisp-indent-function property.
6392
63932011-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
6394
6395 * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
6396 bounds for the empty string (bug#8667).
6397
63982011-05-13 Glenn Morris <rgm@gnu.org>
6399
6400 * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
6401
6402 * mail/sendmail.el (sendmail-program): Try executable-find first.
6403 (sendmail-send-it): `sendmail-program' cannot be unbound.
6404
6405 * calendar/appt.el (appt-make-list): Simplify.
6406 (appt-time-msg-list): Doc fix.
6407 (appt-check): Change mode-line message at the time of the appointment.
6408
64092011-05-12 Andreas Schwab <schwab@linux-m68k.org>
6410
6411 * progmodes/ld-script.el (ld-script-keywords)
6412 (ld-script-builtins): Update keywords list.
6413
64142011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
6415
6416 * progmodes/grep.el (grep-filter): Don't trip on partial lines.
6417
6418 * shell.el (shell-completion-vars): New function.
6419 (shell-mode):
6420 * simple.el (read-shell-command): Use it.
6421 (blink-matching-open): No need for " [...]" in minibuffer-message.
6422
64232011-05-12 Glenn Morris <rgm@gnu.org>
6424
6425 * calendar/appt.el (appt-now-displayed): Remove pointless variable.
6426 (appt-check): Simplify.
6427
64282011-05-12 Eli Zaretskii <eliz@gnu.org>
6429
6430 * vc/smerge-mode.el (smerge-resolve): Use null-device rather than a
6431 literal "/dev/null".
6432
64332011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
6434
6435 * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
6436 Fix typo.
6437
64382011-05-12 Ralph Schleicher <rs@ralph-schleicher.de>
6439
6440 * progmodes/which-func.el (which-function):
6441 Use add-log-current-defun instead of add-log-current-defun-function,
6442 which might not be defined (Bug#8260).
6443
64442011-05-12 Glenn Morris <rgm@gnu.org>
6445
6446 * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
6447 Let byte-compile-initial-macro-environment always take precedence.
6448
64492011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
6450
6451 * net/rcirc.el: Add support for SSL/TLS connections.
6452 (rcirc-server-alist): New field `encryption'.
6453 (rcirc): Check `encryption' settings.
6454 (rcirc-connect): New arg `encryption'. Use open-network-stream.
6455 Merge make-local-variable into `set'.
6456 (rcirc--connection-open-p): New function.
6457 (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
6458 the process is not a network process (e.g. running gnutls-cli).
6459 (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
6460 Make rcirc-(en|de)code-coding-system local here.
6461 (rcirc-mode): Merge make-local-variable into `set'.
6462 (rcirc-parent-buffer): Make permanent buffer-local.
6463 (rcirc-multiline-minor-mode): Don't do it here.
6464 (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
6465 there's no server buffer.
6466
64672011-05-11 Glenn Morris <rgm@gnu.org>
6468
6469 * newcomment.el (comment-kill): Prefix "unused" local.
6470
6471 * term/w32console.el (get-screen-color): Declare.
6472
6473 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
6474 Handle symbol elements of byte-compile-initial-macro-environment.
6475
64762011-05-10 Leo Liu <sdl.web@gmail.com>
6477
6478 * bookmark.el (bookmark-bmenu-mode-map):
6479 Bind bookmark-bmenu-search to `/'.
6480
6481 * mail/footnote.el: Convert to utf-8 encoding.
6482 (footnote-unicode-string, footnote-unicode-regexp): New variable.
6483 (Footnote-unicode): New function.
6484 (footnote-style-alist): Add unicode style to the list.
6485 (footnote-style): Doc fix.
6486
64872011-05-10 Jim Meyering <meyering@redhat.com>
6488
6489 Fix doubled-word typos.
6490 * international/quail.el (quail-insert-kbd-layout): and and -> and
6491 * kermit.el: and and -> and
6492 * net/ldap.el (ldap-search-internal): to to -> to
6493 * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
6494 * progmodes/js.el (js-mode): and and -> and
6495 * textmodes/artist.el (artist-move-to-xy): at at -> at
6496 (artist-draw-region-trim-line-endings): if if -> if
6497 And Safetyc -> Safety.
6498 * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
6499
65002011-05-10 Glenn Morris <rgm@gnu.org>
6501 Stefan Monnier <monnier@iro.umontreal.ca>
6502
6503 * files.el (hack-one-local-variable-eval-safep):
6504 Consider "eval: (foo-mode)" to be safe. (Bug#8613)
6505
65062011-05-10 Glenn Morris <rgm@gnu.org>
6507
6508 * calendar/diary-lib.el (diary-list-entries-hook)
6509 (diary-mark-entries-hook, diary-nongregorian-listing-hook)
6510 (diary-nongregorian-marking-hook, diary-list-entries)
6511 (diary-include-other-diary-files, diary-mark-entries)
6512 (diary-mark-included-diary-files): Doc fixes.
6513
65142011-05-09 Juanma Barranquero <lekktu@gmail.com>
6515
6516 * misc.el: Require tabulated-list.el during compilation.
6517
65182011-05-09 Chong Yidong <cyd@stupidchicken.com>
6519
6520 * progmodes/compile.el (compilation-start):
6521 Run compilation-filter-hook for the async case too.
6522 (compilation-filter-hook): Doc fix.
6523
65242011-05-09 Deniz Dogan <deniz@dogan.se>
6525
6526 * wdired.el: Remove outdated installation comment. Fix usage
6527 comment.
6528
65292011-05-09 Juanma Barranquero <lekktu@gmail.com>
6530
6531 * misc.el: Implement new command `list-dynamic-libraries'.
6532 (list-dynamic-libraries--loaded-only-p): New variable.
6533 (list-dynamic-libraries--refresh): New function.
6534 (list-dynamic-libraries): New command.
6535
65362011-05-09 Chong Yidong <cyd@stupidchicken.com>
6537
6538 * progmodes/compile.el (compilation-error-regexp-alist-alist):
6539 Fix the ant regexp to handle end-line and end-column info from jikes.
6540 Re-introduce maven regexp. Give the ruby-Test::Unit regexp a
6541 higher priority to avoid clobbering by gnu.
6542
65432011-05-08 Chong Yidong <cyd@stupidchicken.com>
6544
6545 * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
6546 if the face has existing theme settings (Bug#8454).
6547
65482011-05-08 Ralph Schleicher <rs@ralph-schleicher.de>
6549
6550 * progmodes/perl-mode.el (perl-imenu-generic-expression):
6551 Only match variables declared via `my' or `our' (Bug#8261).
6552
6553 * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
6554 special file names `.' and `..' (Bug#8259).
6555
65562011-05-08 Chong Yidong <cyd@stupidchicken.com>
6557
6558 * progmodes/grep.el (grep-mode-font-lock-keywords):
6559 Remove buffer-changing entries.
6560 (grep-filter): New function.
6561 (grep-mode): Add it to compilation-filter-hook.
6562
6563 * progmodes/compile.el (compilation-filter-hook)
6564 (compilation-filter-start): New defvars.
6565 (compilation-filter): Call compilation-filter-hook prior to
6566 updating the process mark.
6567
65682011-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
6569
6570 * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
6571
65722011-05-07 Eli Zaretskii <eliz@gnu.org>
6573
6574 * mail/sendmail.el (send-mail-function): On MS-Windows, default to
6575 mailclient-send-it even if window-system is nil. (Bug#8595)
6576
6577 * term/w32console.el (terminal-init-w32console):
6578 Call get-screen-color and use its output to set the frame
6579 background-mode. (Bug#8597)
6580
65812011-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
6582
6583 Make bytecomp.el understand that defmethod defines funs (bug#8631).
6584 * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
6585 New functions.
6586 (defgeneric, eieio--defmethod): Use them.
6587 (eieio-defgeneric): Remove.
6588 (defmethod): Call defgeneric in a way visible to the byte-compiler.
6589
65902011-05-07 Glenn Morris <rgm@gnu.org>
6591
6592 * calendar/timeclock.el (timeclock-log-data): Remove unused local.
6593 Use let rather than let*.
6594 (timeclock-find-discrep): Remove unused local.
6595
6596 * calendar/diary-lib.el (diary-comment-start): Doc fix.
6597
6598 * calendar/appt.el (appt-time-msg-list): Doc fix.
6599
66002011-05-06 Noah Friedman <friedman@splode.com>
6601
6602 * apropos.el (apropos-print-doc): Only use
6603 emacs-lisp-docstring-fill-column when it is bound to an integer,
6604 per that variable's documentation.
6605
66062011-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
6607
6608 * lpr.el (print-region-1): Echo lpr-program's output, so error messages
6609 and warnings are not silently discarded (e.g. use -d instead of -P).
6610
66112011-05-06 Glenn Morris <rgm@gnu.org>
6612
6613 * calendar/appt.el (appt-message-warning-time): Doc fix.
6614 (appt-warning-time-regexp): New option.
6615 (appt-make-list): Respect appt-message-warning-time.
6616
6617 * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
6618 New options.
6619 (diary-add-to-list): Strip comments from the displayed string.
6620 (diary-mode): Set comment-start and comment-end.
6621
6622 * vc/diff-mode.el (smerge-refine-subst): Declare.
6623 (diff-refine-hunk): Don't require smerge-mode when compiling.
6624
66252011-05-06 Juanma Barranquero <lekktu@gmail.com>
6626
6627 * simple.el (list-processes): Return nil as the docstring says.
6628
66292011-05-05 Michael Albinus <michael.albinus@gmx.de>
6630
6631 * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
6632 to "".
6633 (ange-ftp-write-region, ange-ftp-insert-file-contents)
6634 (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
6635 determining of binary transfer. (Bug#7383)
6636
66372011-05-05 Michael Albinus <michael.albinus@gmx.de>
6638
6639 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
6640 Fix port computation bug. (Bug#8618)
6641
66422011-05-05 Glenn Morris <rgm@gnu.org>
6643
6644 * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
6645
6646 * simple.el (shell-dynamic-complete-functions)
6647 (comint-dynamic-complete-functions): Declare.
6648
6649 * net/network-stream.el (gnutls-negotiate):
6650 * simple.el (tabulated-list-print): Fix declarations.
6651
6652 * progmodes/gud.el (syntax-symbol, syntax-point):
6653 Remove unnecessary and incorrect declarations.
6654
6655 * emacs-lisp/check-declare.el (check-declare-scan):
6656 Handle byte-compile-initial-macro-environment in bytecomp.el
6657
66582011-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
6659
6660 Fix earlier half-done eieio-defmethod change (bug#8338).
6661 * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
6662 Streamline and change calling convention.
6663 (defmethod): Adjust accordingly and simplify.
6664 (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
6665 new eieio--defmethod.
6666 (slot-boundp): Minor CSE simplification.
6667
66682011-05-05 Milan Zamazal <pdm@zamazal.org>
6669
6670 * progmodes/glasses.el (glasses-separate-capital-groups): New option.
6671 (glasses-make-readable): Use glasses-separate-capital-groups.
6672
66732011-05-05 Juanma Barranquero <lekktu@gmail.com>
6674
6675 * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
6676 (warning-series): Doc fix.
6677 (display-warning): Don't try to create the buffer if we just found it.
6678
66792011-05-04 Chong Yidong <cyd@stupidchicken.com>
6680
6681 * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
6682 (autoload-find-generated-file): New function.
6683 (generate-file-autoloads): Bind generated-autoload-file to
6684 buffer-file-name.
6685 (update-file-autoloads, update-directory-autoloads):
6686 Use autoload-find-generated-file. If called interactively, prompt for
6687 output file (Bug#7989).
6688 (batch-update-autoloads): Doc fix.
6689
66902011-05-04 Juanma Barranquero <lekktu@gmail.com>
6691
6692 * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
6693
66942011-05-04 Glenn Morris <rgm@gnu.org>
6695
6696 * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
6697 function, so it follows changes in calendar-date-style.
6698 (diary-fancy-date-matcher): New function.
6699 (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
6700 (diary-fancy-font-lock-fontify-region-function):
6701 Use diary-fancy-date-pattern as a function.
6702
6703 * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
6704 non-numbers for `year' etc pseudo-variables. (Bug#8583)
6705
67062011-05-04 Teodor Zlatanov <tzz@lifelogs.com>
6707
6708 * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
6709 instead of positional arguments. Allow :keylist and :crlfiles
6710 arguments.
6711 (open-gnutls-stream): Call it.
6712
6713 * net/network-stream.el (network-stream-open-starttls): Adjust to
6714 call `gnutls-negotiate' with :process and :hostname arguments.
6715
67162011-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
6717
6718 * minibuffer.el (completion--message): New function.
6719 (completion--do-completion, minibuffer-complete)
6720 (minibuffer-force-complete, minibuffer-complete-word): Use it.
6721 (completion--do-completion): Don't ignore completion-auto-help when in
6722 icomplete-mode.
6723
6724 * whitespace.el (whitespace-trailing-regexp): Don't rely on the
6725 internal encoding (e.g. tibetan zero is not whitespace).
6726 (global-whitespace-mode): Prefer save-current-buffer.
6727 (whitespace-trailing-regexp): Remove useless save-match-data.
6728 (whitespace-empty-at-bob-regexp): Minor simplification.
6729
67302011-05-03 Chong Yidong <cyd@stupidchicken.com>
6731
6732 * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
6733
67342011-05-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
6735
6736 * textmodes/ispell.el (ispell-add-per-file-word-list):
6737 Use `concat' to create string for insertion.
6738
67392011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
6740
6741 * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
6742 Avoid open-line which runs post-self-insert-hook.
6743 (bibtex-fill-entry): Remove unused `end' var.
6744
67452011-05-03 Dirk Ullrich <dirk.ullrich@googlemail.com> (tiny change)
6746
6747 * textmodes/ispell.el (ispell-add-per-file-word-list):
6748 Protect against `nil' value of `comment-start' (Bug#8579).
6749
67502011-05-03 Leo Liu <sdl.web@gmail.com>
6751
6752 * isearch.el (isearch-yank-pop): New command.
6753 (isearch-mode-map): Bind it to `M-y'.
6754 (isearch-forward): Mention it.
6755
67562011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
6757
6758 * simple.el (minibuffer-complete-shell-command): Remove.
6759 (minibuffer-local-shell-command-map): Use completion-at-point.
6760 (read-shell-command): Setup completion vars here instead.
6761 (read-expression-map): Bind TAB to symbol completion.
6762
6763 * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
6764 error directly rather via storing it into `results'.
6765
67662011-05-02 Leo Liu <sdl.web@gmail.com>
6767
6768 * vc/diff.el: Fix description.
6769
67702011-05-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
6771
6772 * server.el (server-eval-at): New function.
6773
67742011-05-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
6775
6776 * net/network-stream.el (open-network-stream): Take a :nowait
6777 parameter and pass it on to `make-network-process'.
6778 (network-stream-open-plain): Ditto.
6779
67802011-04-30 Andreas Schwab <schwab@linux-m68k.org>
6781
6782 * faces.el (face-spec-set-match-display): Don't match toolkit
6783 options on terminal frames.
6784
67852011-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
6786
6787 * progmodes/pascal.el: Use lexical binding.
6788 (pascal-mode-map): Remove author preferences.
6789
6790 * pcomplete.el (pcomplete-std-complete): Don't abuse
6791 completion-at-point.
6792
67932011-04-28 Juanma Barranquero <lekktu@gmail.com>
6794
6795 * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
6796 removing code that has been dead since 1991 or so.
6797
6798 * startup.el (command-line): When warning about "_emacs", use a
6799 delayed warning to allow the user to filter it out.
6800
68012011-04-28 Deniz Dogan <deniz@dogan.se>
6802
6803 * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
6804 user has not joined.
6805
68062011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
6807
6808 * pcomplete.el (pcomplete-completions-at-point): Return nil if there
6809 aren't any completions at point.
6810
68112011-04-28 Juanma Barranquero <lekktu@gmail.com>
6812
6813 * subr.el (display-delayed-warnings): New function.
6814 (delayed-warnings-hook): New variable.
6815
68162011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
6817
6818 * minibuffer.el (completion-at-point, completion-help-at-point):
6819 Don't presume that a given completion-at-point-function will always
6820 use the same calling convention.
6821
6822 * pcomplete.el (pcomplete-completions-at-point):
6823 Obey pcomplete-ignore-case. Don't call pcomplete-norm-func unless
6824 pcomplete-seen is non-nil.
6825 (pcomplete-comint-setup): Also recognize the new comint/shell
6826 completion functions.
6827 (pcomplete-do-complete): Don't call pcomplete-norm-func unless
6828 pcomplete-seen is non-nil.
6829
68302011-04-27 Niels Giesen <niels.giesen@gmail.com>
6831
6832 * calendar/icalendar.el (diary-lib): Add require statement.
6833 (icalendar--create-uid): Read out a uid from a text-property on
6834 the first character in the entry. This allows for code to add its
6835 own uid to the entry.
6836 (icalendar--convert-float-to-ical): Add export of
6837 `diary-float'-entries save for those with the optional DAY
6838 argument.
6839
68402011-04-27 Daniel Colascione <dan.colascione@gmail.com>
6841
6842 * subr.el (shell-quote-argument): Use alternate escaping strategy
6843 when we spot a variable reference in a string.
6844
68452011-04-26 Daniel Colascione <dan.colascione@gmail.com>
6846
6847 * cus-start.el (all): Define customization for debug-on-event.
6848
68492011-04-26 Daniel Colascione <dan.colascione@gmail.com>
6850
6851 * subr.el (shell-quote-argument): Escape correctly under Windows.
6852
68532011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
6854
6855 * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
6856
68572011-04-25 Michael Albinus <michael.albinus@gmx.de>
6858
6859 * net/tramp.el (tramp-process-actions): Add POS argument.
6860 Delete region between POS and (pos).
6861
6862 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
6863 Use `nil' position in `tramp-process-actions' call.
6864 (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
6865
6866 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
6867 position in `tramp-process-actions' call.
6868
6869 * net/trampver.el: Update release number.
6870
68712011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
6872
6873 * custom.el (defcustom): Obey lexical-binding.
6874
6875 Fix octave-inf completion problems reported by Alexander Klimov.
6876 * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
6877 Inherit from octave-mode-syntax-table.
6878 (inferior-octave-mode): Set info-lookup-mode.
6879 (inferior-octave-completion-at-point): New function.
6880 (inferior-octave-complete): Use it and completion-in-region.
6881 (inferior-octave-dynamic-complete-functions): Use it as well, and use
6882 comint-filename-completion.
6883 * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
6884 symbol elements which shouldn't be word elements.
6885 (octave-font-lock-keywords, octave-beginning-of-defun)
6886 (octave-function-header-regexp): Adjust regexps accordingly.
6887 (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
6888
68892011-04-25 Juanma Barranquero <lekktu@gmail.com>
6890
6891 * net/gnutls.el (gnutls-errorp): Declare before first use.
6892
68932011-04-24 Teodor Zlatanov <tzz@lifelogs.com>
6894
6895 * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
6896 verify-error, and verify-hostname-error parameters. Check whether
6897 default trustfile exists before going to use it. Add missing
6898 argument to gnutls-message-maybe call. Return return value.
6899 Reported by Claudio Bley <claudio.bley@gmail.com>.
6900 (open-gnutls-stream): Add usage example.
6901
6902 * net/network-stream.el (network-stream-open-starttls): Give host
6903 parameter to `gnutls-negotiate'.
6904 (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
6905 * subr.el (shell-quote-argument): Escape correctly under Windows.
6906
69072011-04-24 Daniel Colascione <dan.colascione@gmail.com>
6908
6909 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
6910 Use correct match group (bug#8438).
6911
69122011-04-24 Chong Yidong <cyd@stupidchicken.com>
6913
6914 * emacs-lisp/package.el (package-built-in-p): Fix typo.
6915 (package-menu--generate): New arg specifying packages to show.
6916 (package-menu-refresh, package-menu-execute, list-packages):
6917 Callers changed.
6918 (package-show-package-list): New function, replacing deleted
6919 package--list-packages (renamed because it is non-internal).
6920
6921 * finder.el (finder-list-matches): Use package-show-package-list
6922 instead of deleted package--list-packages.
6923
6924 * vc/vc-annotate.el (vc-annotate-goto-line): New command.
6925 Based on a previous implementation by Juanma Barranquero (Bug#8366).
6926 (vc-annotate-mode-map): Bind it to RET.
6927
69282011-04-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
6929
6930 * progmodes/etags.el (next-file): Don't use set-buffer to change
6931 buffers (Bug#8478).
6932
69332011-04-24 Chong Yidong <cyd@stupidchicken.com>
6934
6935 * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
6936
6937 * apropos.el (apropos-label-face): Avoid variable-pitch face.
6938 (apropos-accumulator): Doc fix.
6939 (apropos-function, apropos-macro, apropos-command)
6940 (apropos-variable, apropos-face, apropos-group, apropos-widget)
6941 (apropos-plist): Add face property.
6942 (apropos-symbols-internal): Fix indentation.
6943 (apropos-print): Simplify help, and recognize apropos-multi-type.
6944 (apropos-print-doc): Use button-type-get to extract the button's
6945 face property. Fill docstring (Bug#8352).
6946
69472011-04-23 Juanma Barranquero <lekktu@gmail.com>
6948
6949 * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
6950
6951 * play/mpuz.el (mpuz-silent): Doc fix.
6952 (mpuz-mode-map): Use mapc.
6953 (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
6954 (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
6955 Fix typos in docstrings.
6956
6957 * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
6958 (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
6959
6960 * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
6961
69622011-04-23 Chong Yidong <cyd@stupidchicken.com>
6963
6964 * minibuffer.el (completion--do-completion): Avoid the "Next char
6965 not unique" prompt if icomplete-mode is enabled (Bug#5849).
6966
6967 * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
6968 mouse-2 into unread-command-events, it is interpreted correctly.
6969
6970 * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
6971 (image-toggle-display): Doc fix.
6972
69732011-04-23 Stephen Berman <stephen.berman@gmx.net>
6974
6975 * textmodes/page.el (what-page): Use line-number-at-pos to
6976 calculate line number (Bug#6825).
6977
69782011-04-22 Juanma Barranquero <lekktu@gmail.com>
6979
6980 * eshell/esh-mode.el (find-tag-interactive): Declare function.
6981 (eshell-find-tag): Remove `with-no-warnings', unneeded now.
6982 Pass argument NO-DEFAULT to `find-tag-interactive'.
6983
69842011-04-22 Juanma Barranquero <lekktu@gmail.com>
6985
6986 Lexical-binding cleanup.
6987
6988 * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
6989 (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
6990 * progmodes/ada-prj.el (ada-prj-initialize-values)
6991 (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
6992 (ada-prj-show-value):
6993 * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
6994 * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
6995 (antlr-invalidate-context-cache, antlr-options-menu-filter)
6996 (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
6997 * progmodes/bug-reference.el (bug-reference-push-button):
6998 * progmodes/fortran.el (fortran-line-length):
6999 * progmodes/glasses.el (glasses-change):
7000 * progmodes/octave-mod.el (octave-fill-paragraph):
7001 * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
7002 (python-pdbtrack-grub-for-buffer, python-sentinel):
7003 * progmodes/sql.el (sql-save-connection):
7004 * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
7005 * progmodes/xscheme.el (xscheme-enter-debugger-mode):
7006 Mark unused parameters.
7007
7008 * progmodes/compile.el (compilation--flush-directory-cache)
7009 (compilation--flush-parse, compile-internal): Mark unused parameters.
7010 (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
7011 (compilation-next-error-function): Remove unused variable `timestamp'.
7012
7013 * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
7014 (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
7015
7016 * progmodes/dcl-mode.el (dcl-end-of-command):
7017 Remove unused variable `start'.
7018 (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
7019 (dcl-option-value-basic, dcl-option-value-offset)
7020 (dcl-option-value-margin-offset, dcl-option-value-comment-line):
7021 Mark unused parameters.
7022 (dcl-save-local-variable): Remove unused variable `val'.
7023 (mode): Declare.
7024
7025 * progmodes/delphi.el (delphi-save-state, delphi-after-change):
7026 Mark unused parameters.
7027 (delphi-ignore-changes): Move before first use.
7028 (delphi-charset-token-at): Remove unused variable `start'.
7029 (delphi-else-start): Remove unused variable `if-count'.
7030 (delphi-comment-block-start, delphi-comment-block-end):
7031 Remove unused variable `kind'.
7032 (delphi-indent-line): Remove unused variable `new-point'.
7033
7034 * progmodes/ebrowse.el (ebrowse-files-list)
7035 (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
7036 Mark unused parameters. Don't quote `lambda'.
7037 (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
7038 Don't quote `lambda'.
7039 (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
7040 (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
7041 (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
7042 (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
7043 Use `ignore-errors'.
7044 (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
7045 (ebrowse-view/find-file-and-search-pattern)
7046 (ebrowse-view/find-member-declaration/definition):
7047 Rename parameter TAGS-FILE-NAME to TAGS-FILE.
7048 (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
7049 Rename parameter PREFIX-ARG to PREFIX.
7050 (ebrowse-tags-read-name): Remove unused variables `start' and
7051 `member-info'.
7052 (ebrowse-display-member-buffer): Rename variable `tags-file-name'
7053 to `tags-file'.
7054
7055 * progmodes/etags.el (local-find-tag-hook): Declare.
7056 (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
7057 Mark unused parameters.
7058
7059 * progmodes/executable.el (compilation-error-regexp-alist): Declare.
7060 (executable-interpret): Mark unused parameter.
7061
7062 * progmodes/flymake.el (flymake-process-sentinel)
7063 (flymake-after-change-function)
7064 (flymake-create-temp-with-folder-structure)
7065 (flymake-get-include-dirs-dot): Mark unused parameters.
7066 (flymake-safe-delete-directory): Remove unused variable `err'.
7067
7068 * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
7069 (speedbar-timer-fn, speedbar-line-text)
7070 (speedbar-change-expand-button-char, speedbar-delete-subblock)
7071 (speedbar-center-buffer-smartly): Declare functions.
7072 (gdb-find-watch-expression): Remove unused variable `array'.
7073 (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
7074 (gdb-starting): Mark unused parameters.
7075 (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
7076 (gdb-table-string): Remove unused variable `res'.
7077 (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
7078 (gdb-disassembly-handler-custom): Remove unused variable `pos'.
7079 (gdb-display-buffer): Remove unused variable `cur-size'.
7080
7081 * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
7082 allow lexical-binding compilation.
7083 (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
7084 (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
7085 (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
7086 Mark unused parameters.
7087 (gud-gdb-marker-filter): Remove unused variable `match'.
7088 (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
7089 lambda expressions and funcall them, instead of using `fset'.
7090
7091 * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
7092 HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
7093
7094 * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
7095 variable `header-beg'; use `let'.
7096
7097 * progmodes/icon.el (indent-icon-exp): Remove unused variables
7098 `restart', `last-sexp' and `at-do'.
7099
7100 * progmodes/js.el (js--debug): Mark unused parameter.
7101 (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
7102 (js--splice-into-items): Remove unused variable `item'.
7103 (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
7104
7105 * progmodes/make-mode.el (makefile-make-font-lock-keywords):
7106 Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
7107 (makefile-complete): Remove unused variable `try'.
7108 (makefile-fill-paragraph, makefile-match-function-end):
7109 Mark unused parameters.
7110
7111 * progmodes/octave-inf.el (inferior-octave-complete):
7112 Remove unused variable `proc'.
7113 (inferior-octave-output-digest): Mark unused parameter.
7114
7115 * progmodes/perl-mode.el (perl-calculate-indent):
7116 Remove unused variable `err'.
7117
7118 * progmodes/prolog.el (prolog-mode-keybindings-inferior)
7119 (prolog-indent-line): Mark unused parameters.
7120 (prolog-indent-line): Remove unused variable `beg'.
7121
7122 * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
7123 (reporter-dont-compact-list): Declare.
7124
7125 * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
7126 Remove unused variable `char'.
7127 (sh-debug): Mark unused parameter.
7128 (sh-get-indent-info): Remove unused variable `start'.
7129 (sh-calculate-indent): Remove unused variable `var'.
7130
7131 * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
7132 (simula-electric-keyword): Remove unused variable `null'.
7133 (simula-search-backward, simula-search-forward): Remove unused
7134 variables `begin' and `end'.
7135
7136 * progmodes/vera-mode.el (vera-guess-basic-syntax):
7137 Remove unused variable `pos'.
7138 (vera-electric-tab, vera-comment-uncomment-region):
7139 Mark unused parameters.
7140 (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
7141
71422011-04-22 Chong Yidong <cyd@stupidchicken.com>
7143
7144 * emacs-lisp/package.el (package--builtins, package-alist)
7145 (package-load-descriptor, package-built-in-p, package-activate)
7146 (define-package, package-installed-p)
7147 (package-compute-transaction, package-buffer-info)
7148 (package--push): Doc fix. Distinguish more clearly between
7149 version strings and version lists.
7150
71512011-04-21 Juanma Barranquero <lekktu@gmail.com>
7152
7153 Lexical-binding cleanup.
7154
7155 * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
7156 (5x5-make-mutate-best):
7157 * play/fortune.el (fortune-in-buffer):
7158 * play/gomoku.el (gomoku-init-display):
7159 * play/solitaire.el (solitaire, solitaire-do-check):
7160 * play/tetris.el (tetris-default-update-speed-function):
7161 Mark unused parameters.
7162
7163 * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
7164 (bubbles--shift): Remove unused variable `char-org'.
7165 (bubbles--set-faces): Remove unused variable `fg-col'. Simplify.
7166 (bubbles--show-images): Remove unused variable `char'.
7167
7168 * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
7169 (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
7170 (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
7171 (decipher-analyze-buffer): Use ?\s.
7172 (decipher-make-checkpoint): Remove unused variable `mapping'.
7173
7174 * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
7175
7176 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
7177 Remove unused variable `result'; use `let'.
7178
7179 * play/gametree.el (gametree-current-layout, gametree-apply-layout):
7180 Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
7181 (gametree-children-shown-p, gametree-compute-reduced-score):
7182 Use `ignore-errors'.
7183
7184 * play/handwrite.el (ps-lpr-switches): Declare.
7185 (handwrite): Remove unused variables `pmin' and `lastp'.
7186
7187 * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
7188
7189 * play/landmark.el (landmark-init-display)
7190 (landmark-update-naught-weights): Mark unused parameters.
7191 (landmark-y): Remove unused variable `noise'. Simplify.
7192 (landmark-human-plays): Remove unused variable `score'.
7193
7194 * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
7195 (mpuz-try-proposal): Remove unused variable `game'.
7196
7197 * play/zone.el (life-patterns): Declare.
7198
71992011-04-20 Juanma Barranquero <lekktu@gmail.com>
7200
7201 * vc/vc.el (ediff-vc-internal): Declare function.
7202
72032011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
7204
7205 * shell.el: Use lexical-binding and std completion UI.
7206 (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
7207 (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
7208 comint-preoutput-filter-functions rather than on
7209 comint-output-filter-functions.
7210 (shell-command-completion, shell--command-completion-data)
7211 (shell-filename-completion, shell-environment-variable-completion)
7212 (shell-c-a-p-replace-by-expanded-directory): New functions.
7213 (shell-dynamic-complete-functions, shell-dynamic-complete-command)
7214 (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
7215 (shell-dynamic-complete-environment-variable): Use them.
7216 (shell-dynamic-complete-as-environment-variable)
7217 (shell-dynamic-complete-as-command): Remove.
7218 (shell-match-partial-variable): Match past point.
7219 * comint.el: Clean up use of completion-at-point-functions.
7220 (comint-completion-at-point): New function.
7221 (comint-mode): Use it completion-at-point-functions.
7222 (comint-dynamic-complete): Make it obsolete.
7223 (comint-replace-by-expanded-history-before-point): Add dry-run arg.
7224 (comint-c-a-p-replace-by-expanded-history): New function.
7225 (comint-dynamic-complete-functions)
7226 (comint-replace-by-expanded-history): Use it.
7227 * minibuffer.el (completion-table-with-terminator): Allow dynamic
7228 termination strings. Try harder to avoid second try-completion.
7229 (completion-in-region-mode-map): Disable bindings that don't work yet.
7230
7231 * comint.el: Use lexical-binding. Require CL.
7232 (comint-dynamic-complete-functions): Use comint-filename-completion.
7233 (comint-completion-addsuffix): Tweak custom type.
7234 (comint-filename-completion, comint--common-suffix)
7235 (comint--common-quoted-suffix, comint--table-subvert)
7236 (comint--complete-file-name-data): New functions.
7237 (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
7238 (comint-dynamic-list-filename-completions): Use them.
7239 (comint-dynamic-simple-complete): Make obsolete.
7240
7241 * minibuffer.el (completion-in-region-mode):
7242 Keep completion-in-region-mode--predicate global.
7243 (completion-in-region--postch):
7244 Assume completion-in-region-mode--predicate is not null.
7245
7246 * progmodes/flymake.el (flymake-start-syntax-check-process):
7247 Obey `dir'. Simplify.
7248
7249 * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
7250 we're in VC after all.
7251
72522011-04-20 Christoph Scholtes <cschol2112@googlemail.com>
7253
7254 * vc/vc.el (vc-diff-build-argument-list-internal)
7255 (vc-version-ediff, vc-ediff): New commands.
7256 (vc-version-diff): Use vc-diff-build-argument-list-internal.
7257
72582011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
7259
7260 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
7261 add sanity check.
7262
7263 * obsolete/erc-hecomplete.el: Make obsolete.
7264 * obsolete/: Standardize obsolescence info in the header.
7265
72662011-04-20 Glenn Morris <rgm@gnu.org>
7267
7268 * calendar/solar.el (solar-horizontal-coordinates):
7269 Use the longitude argument rather than `calendar-longitude'.
7270 (solar-date-next-longitude): Remove unused locals.
7271
72722011-04-20 Vinicius Jose Latorre <viniciusjl@ig.com.br>
7273
7274 * whitespace.el: New version 13.2.1.
7275
72762011-04-20 felix <EmacsWiki> (tiny change)
7277
7278 * whitespace.el (global-whitespace-mode): Keep highlight when
7279 switching between major modes on a file.
7280
72812011-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
7282
7283 * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
7284 (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
7285 multi-line comments as well.
7286
72872011-04-19 Juanma Barranquero <lekktu@gmail.com>
7288
7289 Lexical-binding cleanup.
7290
7291 * arc-mode.el (archive-mode-revert):
7292 * cmuscheme.el (scheme-interactively-start-process):
7293 * custom.el (custom-initialize-delay):
7294 * dnd.el (dnd-open-local-file, dnd-open-remote-url):
7295 * dos-w32.el (direct-print-region-helper, direct-print-region-function):
7296 * emacs-lock.el (emacs-lock-clear-sentinel):
7297 * ezimage.el (defezimage):
7298 * follow.el (follow-avoid-tail-recenter):
7299 * fringe.el (set-fringe-mode-1):
7300 * generic-x.el (bat-generic-mode-compile):
7301 * help-mode.el (help-info-variable, help-do-xref)
7302 (help-mode-revert-buffer):
7303 * help.el (view-emacs-todo):
7304 * iswitchb.el (iswitchb-completion-help):
7305 * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
7306 * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
7307 (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
7308 * locate.el (locate-update):
7309 * longlines.el (longlines-encode-region)
7310 (longlines-after-change-function):
7311 * outline.el (outline-isearch-open-invisible):
7312 * ps-def.el (declare-function, charset-dimension, char-width)
7313 (encode-char):
7314 * ps-mule.el (ps-mule-plot-string):
7315 * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
7316 (recentf-edit-list-select, recentf-edit-list-validate)
7317 (recentf-open-files-action):
7318 * rect.el (delete-whitespace-rectangle-line)
7319 (rectangle-number-line-callback):
7320 * register.el (window-configuration-to-register)
7321 (frame-configuration-to-register):
7322 * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
7323 * select.el (xselect-convert-to-string, xselect-convert-to-length)
7324 (xselect-convert-to-targets, xselect-convert-to-delete)
7325 (xselect-convert-to-filename, xselect-convert-to-charpos)
7326 (xselect-convert-to-lineno, xselect-convert-to-colno)
7327 (xselect-convert-to-os, xselect-convert-to-host)
7328 (xselect-convert-to-user, xselect-convert-to-class)
7329 (xselect-convert-to-name, xselect-convert-to-integer)
7330 (xselect-convert-to-atom, xselect-convert-to-identity):
7331 * subr.el (declare, ignore, process-kill-without-query)
7332 (text-clone-maintain):
7333 * terminal.el (te-get-char, te-tic-sentinel):
7334 * tool-bar.el (tool-bar-make-keymap):
7335 * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
7336 * type-break.el (type-break-mode, type-break-noninteractive-query):
7337 * view.el (View-back-to-mark):
7338 * wid-browse.el (widget-browse-action, widget-browse-widget)
7339 (widget-browse-widgets, widget-browse-sexp):
7340 * widget.el (define-widget-keywords):
7341 * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
7342 Mark unused parameters.
7343
7344 * align.el (align-adjust-col-for-rule): Mark unused parameter.
7345 (align-areas): Remove unused variable `look'.
7346 (align-region): Remove unused variables `real-end' and `pos-list'.
7347
7348 * apropos.el (apropos-score-doc): Remove unused variable `i'.
7349
7350 * bindings.el (mode-line-modified, mode-line-remote):
7351 Mark unused parameters.
7352 (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
7353
7354 * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
7355 (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
7356
7357 * comint.el (comint-history-isearch-pop-state)
7358 (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
7359 (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
7360 (comint-substitute-in-file-name): Doc fix.
7361
7362 * completion.el (cmpl-statistics-block): Mark unused parameter.
7363 (add-completions-from-tags-table, add-completions-from-lisp-buffer)
7364 (save-completions-to-file, load-completions-from-file):
7365 Remove unused local variable `e'.
7366
7367 * composite.el (compose-chars): Remove unused variable `len'.
7368 (lgstring-insert-glyph): Remove unused variable `g'.
7369 (compose-glyph-string): Remove unused variables `ascent',
7370 `descent', `lbearing' and `rbearing'.
7371 (compose-glyph-string-relative): Remove unused variables
7372 `lbearing', `rbearing' and `wadjust'.
7373 (compose-gstring-for-graphic): Remove unused variables `header',
7374 `wadjust', `xoff' and `yoff'. Use `let', not `let*'.
7375 (compose-gstring-for-terminal): Remove unused variables `header'
7376 and `nchars'. Use `let', not `let*'.
7377
7378 * cus-edit.el (Custom-set, Custom-save, custom-reset)
7379 (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
7380 (Custom-buffer-done, custom-buffer-create-internal)
7381 (custom-browse-visibility-action, custom-browse-group-tag-action)
7382 (custom-browse-variable-tag-action, custom-browse-face-tag-action)
7383 (widget-magic-mouse-down-action, custom-toggle-parent)
7384 (custom-add-parent-links, custom-toggle-hide-variable)
7385 (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
7386 (custom-toggle-hide-face, face, hook, custom-group-link-action)
7387 (custom-face-menu-create, custom-variable-menu-create, get)
7388 (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
7389 (custom-reset-standard-save-and-update): Remove unused variable `value'.
7390 (customize-apropos): Remove unused variable `tests'.
7391 (custom-group-value-create): Remove unused variable `hidden-p'.
7392 (sort-fold-case): Declare.
7393
7394 * cus-theme.el (custom-reset-standard-faces-list)
7395 (custom-reset-standard-variables-list): Declare.
7396 (customize-create-theme, custom-theme-revert, custom-theme-write)
7397 (custom-theme-choose-mode, customize-themes, custom-theme-save):
7398 Mark unused parameters.
7399
7400 * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
7401
7402 * delim-col.el (delimit-columns-max): Move defvar before first use.
7403
7404 * descr-text.el (describe-char-categories): Don't quote `lambda'.
7405 (describe-char): Don't quote `lambda'. Mark unused parameter.
7406
7407 * desktop.el (desktop-save-buffer-p): Mark unused parameter.
7408 (auto-insert): Declare.
7409 (desktop-restore-file-buffer): Rename desktop-* parameters;
7410 mark unused ones.
7411 (desktop-create-buffer): Rename desktop-* parameters and bind them.
7412 (desktop-buffer): Rename desktop-* parameters.
7413
7414 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
7415 (dframe-reposition-frame-xemacs, dframe-help-echo)
7416 (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
7417 Mark unused parameters.
7418
7419 * dired-aux.el (backup-extract-version-start, overwrite-query)
7420 (overwrite-backup-query, rename-regexp-query)
7421 (rename-non-directory-query): Declare.
7422 (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
7423 (dired-add-entry): Remove unused variable `orig-file-name'.
7424 (dired-copy-file-recursive): Remove unused variable `dirfailed'.
7425 Use parameter PRESERVE-TIME instead of accessing dynamic variable
7426 `dired-copy-preserve-time' directly.
7427 (dired-do-create-files-regexp): Remove unused variable `fn-count'.
7428 (dired-insert-subdir-newpos): Rename unused variable `pos'.
7429
7430 * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
7431 (dired-virtual-revert, dired-make-relative-symlink):
7432 Mark unused parameters.
7433 (manual-program): Declare.
7434 (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
7435 (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
7436 wrapped in `with-no-warnings' to avoid replacing one warning by another.
7437
7438 * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
7439
7440 * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
7441
7442 * echistory.el (electric-history-in-progress, Helper-return-blurb):
7443 Declare.
7444
7445 * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
7446
7447 * electric.el (Electric-command-loop): Rename parameter
7448 INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
7449
7450 * expand.el (expand-in-literal): Remove unused variable `here'.
7451
7452 * facemenu.el (facemenu-add-new-color):
7453 Remove unused variable `docstring'.
7454
7455 * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
7456 (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
7457 (face-attr-construct): Mark unused parameter. Doc fix.
7458 (read-color): Remove unused variable `hex-string'.
7459
7460 * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
7461 (locate-dominating-file): Remove unused vars `prev-file' and `user'.
7462 (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
7463 (display-buffer-other-frame): Remove unused variable `old-window'.
7464 (kill-buffer-hook): Declare.
7465 (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
7466 Mark unused parameters.
7467 (after-find-file): Pass 1 to `auto-save-mode', not t.
7468
7469 * files-x.el (auto-insert): Declare.
7470 (modify-file-local-variable-prop-line): Remove unused variable `val'.
7471
7472 * find-lisp.el (find-lisp-find-dired-internal): Remove unused
7473 variable `buf'. Mark unused parameter.
7474 (find-lisp-insert-directory): Mark unused parameter.
7475
7476 * format.el (format-decode-run-method): Mark unused parameter; doc fix.
7477 (format-encode-region): Remove unused variables `cur-buf' and `result'.
7478 (format-common-tail): Remove, unused.
7479 (format-deannotate-region): Remove unused variable `loc'.
7480 (format-annotate-region): Remove unused variable `p'.
7481 (format-annotate-single-property-change): Remove unused variables
7482 `default' and `tail'.
7483
7484 * forms.el (read-file-filter): Declare.
7485 (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
7486
7487 * frame.el (frame-creation-function-alist): Mark unused parameter.
7488 (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
7489
7490 * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
7491 Remove unused parameters.
7492 (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
7493 (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
7494
7495 * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
7496 (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
7497 (hfy-prepare-tag-map): Mark unused parameters.
7498 (htmlfontify-buffer): Use `called-interactively-p'.
7499
7500 * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
7501 (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
7502 (ibuffer-do-occur): Mark unused parameters.
7503 (ibuffer-forward-next-marked): Remove unused variable `curmark'.
7504 (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
7505
7506 * ibuffer.el: Don't quote `lambda'.
7507 (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
7508 (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
7509 Mark unused parameters.
7510
7511 * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
7512 (ido-completing-read): Mark unused parameters.
7513 (ido-copy-current-word): Mark unused parameters;
7514 remove unused variable `name'.
7515 (ido-sort-merged-list): Remove unused parameter `dirs'.
7516
7517 * ielm.el (ielm-input-sender): Mark unused parameter.
7518 (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
7519 (ielm-output, ielm-wbuf, ielm-pmark): Declare.
7520 (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
7521 `ielm-string' as a dynamic variable accessible from the IELM prompt.
7522 Bind `ielm-string' to INPUT-STRING. Remove unused variable `err'.
7523
7524 * image-dired.el (image-dired-display-thumbs): Remove unused
7525 variables `curr-file' and `count'.
7526 (image-dired-remove-tag): Remove unused variable `start'.
7527 (image-dired-tag-files, image-dired-create-thumbs): Remove unused
7528 variable `curr-file'
7529 (image-dired-rotate-original): Remove unused variable `temp-file'.
7530 (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
7531 Remove unused variable `file'.
7532 (image-dired-gallery-generate): Remove unused variable `curr'.
7533 (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
7534
7535 * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
7536
7537 * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
7538
7539 * informat.el (texinfo-command-start, texinfo-command-end): Declare.
7540
7541 * isearch.el (minibuffer-history-symbol): Declare.
7542 (isearch-edit-string): Remove unused variable `err'.
7543 (isearch-message-prefix, isearch-message-suffix):
7544 Mark unused parameters.
7545
7546 * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
7547
7548 * macros.el (insert-kbd-macro): Remove unused variable `mods'.
7549
7550 * makesum.el (double-column): Remove unused variable `cnt'.
7551
7552 * misearch.el (multi-isearch-pop-state): Mark unused parameter.
7553 (ido-ignore-item-temp-list): Declare.
7554
7555 * mouse-drag.el (mouse-drag-throw): Remove unused variables
7556 `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
7557 `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
7558 (mouse-drag-drag): Remove unused variables `mouse-delta' and
7559 `mouse-col-delta'.
7560
7561 * mouse-sel.el (mouse-extend-internal):
7562 Remove unused variable `orig-window-frame'.
7563
7564 * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
7565 (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
7566 Move declarations before first use.
7567 (pcomplete-opt): Mark unused parameters; doc fix.
7568
7569 * proced.el (proced-revert): Mark unused parameter.
7570 (proced-send-signal): Remove unused variable `err'.
7571
7572 * ps-print.el (ps-print-preprint-region, ps-print-preprint):
7573 Rename parameter PREFIX-ARG to ARG.
7574 (ps-basic-plot-string, ps-basic-plot-whitespace):
7575 Mark unused parameters.
7576
7577 * replace.el (replace-count): Define.
7578 (occur-revert-function): Mark unused parameters.
7579 (ido-ignore-item-temp-list, isearch-error, isearch-forward)
7580 (isearch-case-fold-search, isearch-string): Declare.
7581 (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
7582 bind `case-fold-search'. Remove unused variables `beg' and `end',
7583 and simplify.
7584 (replace-eval-replacement): Rename parameter REPLACE-COUNT to
7585 COUNT and bind `replace-count'.
7586 (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
7587 to COUNT.
7588
7589 * savehist.el (print-readably, print-string-length): Declare.
7590
7591 * shadowfile.el (shadow-expand-cluster-in-file-name):
7592 Remove unused variable `cluster'.
7593 (shadow-copy-file): Remove unused variable `i'.
7594 (shadow-noquery, shadow-clusters, shadow-site-cluster)
7595 (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
7596 (shadow-define-literal-group, shadow-define-regexp-group)
7597 (shadow-make-group, shadow-shadows-of): Clean up docstrings.
7598
7599 * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
7600 (shell): Use `called-interactively-p'.
7601 (shell-directory-tracker): Remove unused variable `chdir-failure'.
7602
7603 * simple.el (compilation-context-lines, comint-file-name-quote-list)
7604 (comint-file-name-chars, comint-delimiter-argument-list): Declare.
7605 (delete-backward-char): Remove unused variable `ocol'.
7606 (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
7607 (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
7608 (event-apply-hyper-modifier, event-apply-shift-modifier)
7609 (event-apply-control-modifier, event-apply-meta-modifier):
7610 Mark unused parameters.
7611 (undo-make-selective-list): Remove duplicate variable `undo-elt'.
7612 (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
7613
7614 * speedbar.el (speedbar-ignored-directory-expressions)
7615 (speedbar-supported-extension-expressions, speedbar-directory-buttons)
7616 (speedbar-find-file, speedbar-dir-follow)
7617 (speedbar-directory-buttons-follow, speedbar-tag-find)
7618 (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
7619 (speedbar-buffers-line-directory, speedbar-buffer-click):
7620 Mark unused parameters.
7621 (speedbar-tag-file): Remove unused variable `mode'.
7622 (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
7623
7624 * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
7625
7626 * talk.el (talk): Remove unused variable `display'.
7627
7628 * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
7629 (tar-write-region-annotate): Mark unused parameter.
7630
7631 * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
7632 (minutes, seconds, time-zone, day, year, monthname, month, dayname):
7633 Declare them, wrapped in `with-no-warnings' to avoid replacing one
7634 warning by another.
7635
7636 * time-stamp.el (time-stamp-string-preprocess):
7637 Remove unused variable `require-padding'.
7638
7639 * tree-widget.el (widget-glyph-enable): Declare.
7640 (tree-widget-action): Mark unused parameter.
7641
7642 * w32-fns.el (x-get-selection): Mark unused parameter.
7643 (autoload-make-program, generated-autoload-file): Declare.
7644
7645 * wdired.el (wdired-revert): Mark unused parameters.
7646 (wdired-xcase-word): Remove unused variable `err'.
7647
7648 * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
7649 (whitespace-help-scroll): Remove unused variable `data-help'.
7650
7651 * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
7652 (widget-image-insert, widget-after-change, default)
7653 (widget-default-format-handler, widget-default-notify)
7654 (widget-default-prompt-value, widget-info-link-action)
7655 (widget-url-link-action, widget-function-link-action)
7656 (widget-variable-link-action, widget-file-link-action)
7657 (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
7658 (widget-field-prompt-internal, widget-field-action, widget-field-match)
7659 (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
7660 (widget-insert-button-action, widget-delete-button-action, visibility)
7661 (widget-documentation-link-action, widget-documentation-string-action)
7662 (widget-const-prompt-value, widget-regexp-match, symbol)
7663 (widget-coding-system-prompt-value)
7664 (widget-key-sequence-value-to-external, sexp)
7665 (widget-sexp-value-to-internal, character, vector, cons)
7666 (widget-choice-prompt-value, widget-boolean-prompt-value)
7667 (widget-color--choose-action): Mark unused parameters.
7668 (widget-item-match-inline, widget-choice-match-inline)
7669 (widget-checklist-match, widget-checklist-match-inline)
7670 (widget-group-match): Rename parameter VALUES to VALS.
7671 (widget-field-value-set): Remove unused variable `size'.
7672 (widget-color-action): Remove unused variables `value' and `start'.
7673
7674 * windmove.el (windmove-wrap-loc-for-movement): Remove unused
7675 variable `dir'. Doc fix.
7676 (windmove-find-other-window): Don't pass it.
7677
7678 * window.el (count-windows): Mark unused parameter.
7679 (bw-adjust-window): Remove unused variable `err'.
7680
7681 * woman.el (woman-file-name): Remove unused variable `default'.
7682 (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
7683 WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
7684 (global-font-lock-mode): Declare.
7685 (woman-decode-region): Mark unused parameter.
7686 (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
7687
7688 * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
7689 (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
7690 (x-dnd-handle-moz-url): Remove unused variable `title'.
7691 (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
7692
7693 * xml.el (xml-parse-tag, xml-parse-attlist):
7694 Remove unused variable `pos'.
7695
76962011-04-19 Glenn Morris <rgm@gnu.org>
7697
7698 * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
7699 (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
7700 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
7701 (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
7702 * calendar/cal-html.el (cal-html-insert-minical):
7703 * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
7704 (calendar-mark-date-pattern):
7705 Prefix "unused" locals.
7706
7707 * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
7708 optional argument `style'.
7709
7710 * calendar/appt.el (appt-make-list):
7711 * calendar/cal-china.el (calendar-chinese-date-string):
7712 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
7713 (diary-hebrew-yahrzeit):
7714 * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
7715 * calendar/calendar.el (calendar-generate-window):
7716 * calendar/time-date.el (time-to-days):
7717 Remove unused local variables.
7718
77192011-04-18 Chong Yidong <cyd@stupidchicken.com>
7720
7721 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
7722 glyphless-char-display table.
7723 (tabulated-list-glyphless-char-display): New var.
7724
77252011-04-18 Sam Steingold <sds@gnu.org>
7726
7727 * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
7728 to acknowledgments.
7729
77302011-04-17 Glenn Morris <rgm@gnu.org>
7731
7732 * calendar/diary-lib.el (diary-sexp-entry):
7733 * calendar/holidays.el (holiday-sexp):
7734 Set debug-on-error rather than the removed stack-trace-on-error.
7735
77362011-04-16 Glenn Morris <rgm@gnu.org>
7737
7738 * progmodes/f90.el: Use lexical-binding.
7739 (f90-get-correct-indent): Remove unnecessary local variable `cont'.
7740
77412011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
7742
7743 * mail/sendmail.el (mail-mode-map): Use completion-at-point.
7744 (mail-mode): Setup mailalias completion here instead.
7745 * mail/mailalias.el: Use lexical-binding.
7746 (pattern, mailalias-done): Declare dynamic.
7747 (mail-completion-at-point-function): New function, from mail-complete.
7748 (mail-complete): Use it.
7749 (mail-completion-expand): New function.
7750 (mail-get-names): Use it.
7751 (mail-directory, mail-directory-process, mail-directory-stream):
7752 Don't use `pattern' for lexically bound arg.
7753
7754 * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
7755
7756 * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
7757 (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
7758 (hfy-etags-cmd-alist): Don't eval-and-compile any more.
7759
7760 * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
7761 (byte-save-window-excursion, byte-temp-output-buffer-setup)
7762 (byte-interactive-p): Define them again, for use when inlining
7763 old code.
7764
77652011-04-15 Juanma Barranquero <lekktu@gmail.com>
7766
7767 * loadup.el: Use `string-to-number', not `string-to-int'.
7768
77692011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
7770
7771 * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
7772 gud-gdb-complete-command.
7773 (gud-gdb-completions): New function, from gud-gdb-complete-command.
7774 (gud-gdb-completion-at-point): New function.
7775 (gud-gdb-completions): Remove.
7776
77772011-04-14 Michael Albinus <michael.albinus@gmx.de>
7778
7779 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
7780 when the scripts fail. Use `tramp-do-file-attributes-with-ls' then.
7781 (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
7782 whether `executable-find' is bound.
7783
7784 * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
7785
77862011-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
7787
7788 * minibuffer.el (completion-in-region-mode-predicate)
7789 (completion-in-region-mode--predicate): New vars.
7790 (completion-in-region, completion-in-region--postch)
7791 (completion-in-region-mode): Use them.
7792 (completion--capf-wrapper): Also return the hook function.
7793 (completion-at-point, completion-help-at-point):
7794 Adjust and provide a predicate.
7795
7796 Preserve arg names for advice of subr and lexical functions (bug#8457).
7797 * help-fns.el (help-function-arglist): Consolidate the subr and
7798 new-byte-code cases. Add argument `preserve-names' to extract names
7799 from the docstring when needed.
7800 * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
7801 (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
7802 (ad-arglist): Use help-function-arglist's new arg.
7803 (ad-definition-type): Use cond.
7804
78052011-04-13 Juanma Barranquero <lekktu@gmail.com>
7806
7807 * autorevert.el (auto-revert-handler):
7808 Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
7809 which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
7810 Don't quote lambda.
7811
7812 * image-mode.el (image-transform-set-scale):
7813 Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
7814
78152011-04-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
7816
7817 * net/network-stream.el (network-stream-open-starttls): Only do
7818 opportunistic STARTTLS upgrades if we have built-in gnutls support.
7819 Upgrades via gnutls-cli are too slow to be done opportunistically.
7820
78212011-04-12 Juanma Barranquero <lekktu@gmail.com>
7822
7823 * dframe.el (dframe-current-frame): Remove spurious quote.
7824
78252011-04-12 Glenn Morris <rgm@gnu.org>
7826
7827 * calendar/cal-tex.el (cal-tex-end-document):
7828 Try to automatically use latin1 input if needed.
7829
7830 * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
7831 Don't try to cons a mark onto an empty element.
7832
78332011-04-11 Leo Liu <sdl.web@gmail.com>
7834
7835 * ido.el (ido-buffer-internal): Allow method 'kill for virtual
7836 buffers.
7837 (ido-kill-buffer-at-head): Support killing virtual buffers.
7838
78392011-04-10 Chong Yidong <cyd@stupidchicken.com>
7840
7841 * minibuffer.el (completion-show-inline-help): New var.
7842 (completion--do-completion, minibuffer-complete)
7843 (minibuffer-force-complete, minibuffer-complete-word):
7844 Inhibit minibuffer messages if completion-show-inline-help is nil.
7845
7846 * icomplete.el (icomplete-mode): Bind completion-show-inline-help
7847 to avoid interference from inline help (Bug#5849).
7848
78492011-04-10 Leo Liu <sdl.web@gmail.com>
7850
7851 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
7852 Fix typo.
7853
78542011-04-09 Chong Yidong <cyd@stupidchicken.com>
7855
7856 * image-mode.el (image-toggle-display-image): Signal an error if
7857 not in Image mode.
7858 (image-transform-mode, image-transform-resize)
7859 (image-transform-set-rotation): Doc fix.
7860 (image-transform-set-resize): Delete.
7861 (image-transform-set-scale, image-transform-fit-to-height)
7862 (image-transform-fit-to-width): Handle image-toggle-display-image
7863 and image-transform-resize directly.
7864
78652011-04-08 Sho Nakatani <lay.sakura@gmail.com>
7866
7867 * doc-view.el (doc-view-fit-width-to-window)
7868 (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
7869 New functions for fitting the shown image to the Emacs window size.
7870 (doc-view-mode-map): Add bindings for the new functions.
7871
78722011-04-08 Juanma Barranquero <lekktu@gmail.com>
7873
7874 * vc/vc-annotate.el (vc-annotate-show-log-revision-at-line):
7875 Fix typo in docstring.
7876
78772011-04-08 Eli Zaretskii <eliz@gnu.org>
7878
7879 * files.el (file-size-human-readable): Produce one digit after
7880 decimal, like "ls -lh" does.
7881
7882 * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
7883 the file size representation.
7884
7885 * simple.el (list-processes): If async subprocesses are not
7886 available, error out with a clear error message.
7887
78882011-04-08 Chong Yidong <cyd@stupidchicken.com>
7889
7890 * help.el (help-form-show): New function, to be called from C.
7891 Put help-form output in a buffer named differently than *Help*.
7892
78932011-04-08 Eli Zaretskii <eliz@gnu.org>
7894
7895 * files.el (file-size-human-readable): New function.
7896
7897 * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
7898 computing the representation inline. Don't require `cl'.
7899
79002011-04-08 Glenn Morris <rgm@gnu.org>
7901
7902 * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
7903
7904 * net/browse-url.el (browse-url-firefox):
7905 Test system-type, not system-configuration.
7906
7907 * vc/log-edit.el (log-edit-empty-buffer-p): New function.
7908 (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
7909 Use log-edit-empty-buffer-p. (Bug#7598)
7910
7911 * net/rlogin.el (rlogin-process-connection-type): Simplify.
7912 (rlogin-mode-map): Initialize in the defvar.
7913 (rlogin): Use ignore-errors.
7914
7915 * replace.el (occur-mode-map): Some fixes for menu items.
7916
79172011-04-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
7918
7919 * play/morse.el (denato-region): Handle varying case. (Bug#8386)
7920
79212011-04-06 Chong Yidong <cyd@stupidchicken.com>
7922
7923 * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
7924 issuing unused warnings.
7925
7926 * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
7927 macro directly.
7928
7929 * simple.el: Lisp reimplement of list-processes. Based on an
7930 earlier reimplementation by Leo Liu, but using tabulated-list.el.
7931 (process-menu-mode): New major mode.
7932 (list-processes--refresh, list-processes):
7933 (process-menu-visit-buffer): New functions.
7934
7935 * files.el (save-buffers-kill-emacs): Don't assume any return
7936 value of list-processes, which is undocumented anyway.
7937
79382011-04-06 Chong Yidong <cyd@stupidchicken.com>
7939
7940 * emacs-lisp/tabulated-list.el: New file.
7941
7942 * emacs-lisp/package.el: Use Tabulated List mode.
7943 (package-menu-mode-map): Inherit from tabulated-list-mode-map.
7944 (package-menu-mode): Derive from tabulated-list-mode. Set up the
7945 table format using Tabulated List mode variables.
7946 (package--push): New macro, replacing package-list-maybe-add.
7947 (package-menu--generate): Use package--push. Renamed from
7948 package--generate-package-list.
7949 (package-menu-refresh, list-packages): Use it.
7950 (package-menu--print-info): Rename from package-print-package.
7951 Return insertion data instead of inserting it directly.
7952 (package-menu-describe-package, package-menu-execute):
7953 Use tabulated-list-get-id.
7954 (package-menu-mark-delete, package-menu-mark-install)
7955 (package-menu-mark-unmark, package-menu-backup-unmark)
7956 (package-menu-mark-obsolete-for-deletion):
7957 Use tabulated-list-put-tag.
7958 (package--list-packages, package-menu-revert)
7959 (package-menu-get-package, package-menu-get-version)
7960 (package-menu-sort-by-column): Functions deleted.
7961 (package-menu-package-list, package-menu-sort-key): Vars deleted.
7962 (package-menu--status-predicate, package-menu--version-predicate)
7963 (package-menu--name-predicate)
7964 (package-menu--description-predicate): Handle arguments in the
7965 Tabulated List format.
7966 (package-list-packages-no-fetch): Call list-packages.
7967
79682011-04-06 Juanma Barranquero <lekktu@gmail.com>
7969
7970 * files.el (after-find-file-from-revert-buffer): Remove variable.
7971 (after-find-file): Don't bind it.
7972 (revert-buffer-in-progress-p): New variable.
7973 (revert-buffer): Bind it.
7974 Pass nil for `after-find-file-from-revert-buffer'.
7975
7976 * saveplace.el (save-place-find-file-hook): Use new variable
7977 `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
7978
79792011-04-06 Glenn Morris <rgm@gnu.org>
7980
7981 * Makefile.in (AUTOGEN_VCS): New variable.
7982 (autoloads): Use $AUTOGEN_VCS.
7983
7984 * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
7985 * calendar/calendar.el (calendar-mode-map):
7986 Check for toolkit scroll bars. (Bug#8305)
7987
79882011-04-05 Chong Yidong <cyd@stupidchicken.com>
7989
7990 * minibuffer.el (completion-in-region--postch)
7991 (completion-in-region-mode): Remove unnecessary messages.
7992
79932011-04-05 Juanma Barranquero <lekktu@gmail.com>
7994
7995 * font-lock.el (font-lock-refresh-defaults):
7996 Don't bind `hi-lock--inhibit-font-lock-hook', removed in
7997 2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
7998
7999 * info.el (Info-directory-list, Info-read-node-name-2)
8000 (Info-split-parameter-string): Doc fixes.
8001 (Info-virtual-nodes): Reflow docstring.
8002 (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
8003 (Info-apropos-toc-nodes, info-finder, Info-get-token)
8004 (Info-find-emacs-command-nodes, Info-speedbar-key-map):
8005 Fix typos in docstrings.
8006 (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
8007 (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
8008 (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
8009 (Info-restore-desktop-buffer): Mark unused parameters.
8010 (Info-directory-find-file, Info-directory-find-node)
8011 (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
8012 (Info-virtual-index-find-node, Info-apropos-find-file)
8013 (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
8014 Mark unused parameters; fix typos in docstrings.
8015 (Info-virtual-index): Remove unused local variable `nodename'.
8016
80172011-04-05 Deniz Dogan <deniz@dogan.se>
8018
8019 * net/rcirc.el: Update my e-mail address.
8020 (rcirc-mode-map): Remove M-o binding.
8021
80222011-04-05 Chong Yidong <cyd@stupidchicken.com>
8023
8024 * startup.el (command-line): Save the cursor's theme-face
8025 directly, instead of using face-override-spec.
8026
8027 * custom.el (load-theme): Minor optimization in assigning faces.
8028
80292011-04-04 Juanma Barranquero <lekktu@gmail.com>
8030
8031 * help-fns.el (describe-variable): Complete all variables having
8032 documentation, including keywords.
8033 http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
8034
80352011-04-04 Juanma Barranquero <lekktu@gmail.com>
8036
8037 Convert to lexical-binding.
8038
8039 * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
8040 (bs--get-marked-string, bs--get-modified-string)
8041 (bs--get-readonly-string, bs--get-size-string, bs--get-name)
8042 (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
8043 (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
8044
8045 * ehelp.el (electric-help-execute-extended)
8046 (electric-help-ctrl-x-prefix):
8047 * hexl.el (hexl-revert-buffer-function):
8048 * linum.el (linum-after-change, linum-after-scroll):
8049 * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
8050
8051 * help-fns.el (help-describe-category-set): Remove unused ERR variable.
8052
80532011-04-04 Daiki Ueno <ueno@unixuser.org>
8054
8055 * epa-dired.el:
8056 * epa-mail.el:
8057 * epa-hook.el:
8058 * epa-file.el:
8059 * epa.el:
8060 * epg.el: Use lexical binding.
8061
80622011-04-03 Chong Yidong <cyd@stupidchicken.com>
8063
8064 * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
8065
8066 * textmodes/flyspell.el (flyspell-word): Recognize default
8067 dictionary case for flyspell-mark-duplications-exceptions.
8068 Use regexp matching for languages.
8069 (flyspell-mark-duplications-exceptions): Add "that" and "had" for
8070 default dictionary (Bug#7926).
8071
80722011-04-02 Chong Yidong <cyd@stupidchicken.com>
8073
8074 * emacs-lisp/package.el (package--with-work-buffer):
8075 Recognize https URLs.
8076
8077 * net/network-stream.el: Move from gnus/proto-stream.el.
8078 Change prefix to network-stream throughout.
8079 (open-protocol-stream): Merge into open-network-stream, leaving
8080 open-protocol-stream as an alias. Handle nil BUFFER args.
8081
8082 * subr.el (open-network-stream): Move to net/network-stream.el.
8083
80842011-04-02 Glenn Morris <rgm@gnu.org>
8085
8086 * find-dired.el (find-exec-terminator): New option.
8087 (find-ls-option): Test for -ls support.
8088 (find-ls-subdir-switches): Test for -b in find-ls-option.
8089 (find-dired, find-grep-dired): Doc fixes.
8090 (find-dired): Use find-exec-terminator.
8091
8092 * find-dired.el (find-ls-option, find-ls-subdir-switches)
8093 (find-grep-options): Do not autoload these defcustoms, remove purecopy.
8094 (find-name-arg): Remove purecopy.
8095
8096 * progmodes/grep.el (grep-find-use-xargs): Doc fix.
8097 (grep-compute-defaults): Check for `-exec COMMAND +' support.
8098 Set grep-find-use-xargs, grep-find-command, and grep-find-template
8099 accordingly. Don't add the null-device if not needed.
8100
8101 * files.el (save-some-buffers): Doc fix.
8102
81032011-04-02 Eli Zaretskii <eliz@gnu.org>
8104
8105 * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
8106
81072011-04-01 Juanma Barranquero <lekktu@gmail.com>
8108
8109 * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
8110 Use `dolist' rather than `mapcar'.
8111
81122011-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
8113
8114 Add lexical binding.
8115
8116 * subr.el (apply-partially): Use new closures rather than CL.
8117 (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
8118 (dolist, dotimes): Use slightly different expansion for lexical code.
8119 (functionp): Move to C.
8120 (letrec): New macro.
8121 (with-wrapper-hook): Use it and apply-partially instead of CL.
8122 (eval-after-load): Preserve lexical-binding.
8123 (save-window-excursion, with-output-to-temp-buffer): Turn them
8124 into macros.
8125
8126 * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
8127
8128 * help-fns.el (help-split-fundoc): Return nil if there's nothing else
8129 than the arglist.
8130 (help-add-fundoc-usage): Don't add `Not documented'.
8131 (help-function-arglist): Handle closures, subroutines, and new
8132 byte-code-functions.
8133 (help-make-usage): Remove leading underscores.
8134 (describe-function-1): Handle closures.
8135 (describe-variable): Use special-variable-p for completion.
8136
8137 * files.el (lexical-binding): Declare safe.
8138
8139 * emacs-lisp/pcase.el: Don't use destructuring-bind.
8140 (pcase--memoize): Rename from pcase-memoize. Change weakness.
8141 (pcase): Add `let' pattern.
8142 Change memoization so it actually works.
8143 (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
8144 (pcase--u1) <guard, pred>: Fix possible shadowing problem.
8145 <let>: New case.
8146
8147 * emacs-lisp/macroexp.el: Use lexical binding.
8148 (macroexpand-all-1): Check obsolete macros. Expand compiler-macros.
8149 Don't convert ' to #' without checking that it's indeed quoting
8150 a lambda.
8151
8152 * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
8153 Use eval-sexp-add-defvars.
8154 (eval-sexp-add-defvars): New fun.
8155
8156 * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
8157
8158 * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
8159 Don't autoload.
8160 (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
8161 than the internal `byte-compile-lambda'.
8162 (defmethod): Don't hide code under quotes.
8163 (eieio-defmethod): New `code' argument.
8164
8165 * emacs-lisp/eieio-comp.el: Remove.
8166
8167 * emacs-lisp/edebug.el (edebug-eval-defun)
8168 (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
8169 (edebug-toggle): Avoid `eval'.
8170
8171 * emacs-lisp/disass.el (disassemble-internal): Handle new
8172 `closure' objects.
8173 (disassemble-1): Handle new byte codes.
8174
8175 * emacs-lisp/cl.el (pushnew): Silence warning.
8176
8177 * emacs-lisp/cl-macs.el (cl-byte-compile-block)
8178 (cl-byte-compile-throw): Remove.
8179 (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
8180
8181 * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
8182 closures.
8183
8184 * emacs-lisp/cconv.el: New file.
8185
8186 * emacs-lisp/bytecomp.el: Use lexical binding instead of
8187 a "bytecomp-" prefix. Macroexpand everything as a separate phase.
8188 (byte-compile-initial-macro-environment):
8189 Handle declare-function here.
8190 (byte-compile--lexical-environment): New var.
8191 (byte-stack-ref, byte-stack-set, byte-discardN)
8192 (byte-discardN-preserve-tos): New lap codes.
8193 (byte-interactive-p): Don't use any more.
8194 (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
8195 New macros.
8196 (byte-compile-lapcode): Use them and handle new lap codes.
8197 (byte-compile-obsolete): Remove.
8198 (byte-compile-arglist-signature): Handle new byte-code arg"lists".
8199 (byte-compile-arglist-warn): Check late def of inlinable funs.
8200 (byte-compile-cl-warn): Don't silence warnings for compiler-macros
8201 since they should have been expanded by now.
8202 (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
8203 (byte-compile-from-buffer): Remove unused second arg.
8204 (byte-compile-preprocess): New function.
8205 (byte-compile-toplevel-file-form): New function to distinguish
8206 file-form calls from outside from file-form calls from hunk-handlers.
8207 (byte-compile-file-form): Simplify.
8208 (byte-compile-file-form-defsubst): Remove.
8209 (byte-compile-file-form-defmumble): Simplify now that
8210 byte-compile-lambda always returns a byte-code-function.
8211 (byte-compile): Preprocess.
8212 (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
8213 Remove, not used any more.
8214 (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
8215 (byte-compile-make-args-desc): New funs.
8216 (byte-compile-lambda): Handle lexical functions. Always return
8217 a byte-code-function.
8218 (byte-compile-reserved-constants): New var, to make up room for
8219 closed-over variables.
8220 (byte-compile-constants-vector): Obey it.
8221 (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
8222 (byte-compile-macroexpand-declare-function): New function.
8223 (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
8224 byte-code-functions.
8225 (byte-compile-form): Check obsolescence here.
8226 (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
8227 (byte-compile-variable-ref): Remove.
8228 (byte-compile-dynamic-variable-op): New fun.
8229 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
8230 (byte-compile-variable-set): New funs.
8231 (byte-compile-discard): Add 2 args.
8232 (byte-compile-stack-ref, byte-compile-stack-set)
8233 (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
8234 (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
8235 macroexpand-all instead.
8236 (byte-compile-quote-form): Remove.
8237 (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
8238 (byte-compile-bind, byte-compile-unbind): New funs.
8239 (byte-compile-let): Handle let* and lexical binding.
8240 (byte-compile-let*): Remove.
8241 (byte-compile-catch, byte-compile-unwind-protect)
8242 (byte-compile-track-mouse, byte-compile-condition-case):
8243 Handle a new :fun-body form, used for lexical scoping.
8244 (byte-compile-save-window-excursion)
8245 (byte-compile-with-output-to-temp-buffer): Remove.
8246 (byte-compile-defun): Simplify.
8247 (byte-compile-stack-adjustment): New fun.
8248 (byte-compile-out): Use it.
8249 (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
8250
8251 * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
8252 handler any more.
8253
8254 * emacs-lisp/byte-opt.el: Use lexical binding.
8255 (byte-inline-lapcode): Remove (to bytecomp).
8256 (byte-compile-inline-expand): Pay attention to inlining to/from
8257 lexically bound code.
8258 (byte-compile-unfold-lambda): Don't handle byte-code-functions
8259 any more.
8260 (byte-optimize-form-code-walker): Don't handle save-window-excursion
8261 any more and don't call compiler-macros.
8262 (byte-compile-splice-in-already-compiled-code): Remove.
8263 (byte-code): Don't inline any more.
8264 (disassemble-offset): Receive `bytes' as argument rather than via
8265 dynamic scoping.
8266 (byte-compile-tag-number): Declare before first use.
8267 (byte-decompile-bytecode-1): Handle new byte-codes, don't change
8268 `return' even if make-spliceable.
8269 (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
8270 obsolete interactive-p.
8271 (byte-optimize-lapcode): Optimize new lap-codes.
8272 Don't trip up on new form of `byte-constant' lap code.
8273
8274 * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
8275
8276 * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
8277
8278 * custom.el (custom-initialize-default, custom-declare-variable):
8279 Use `defvar'.
8280
8281 * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
8282 New variables.
8283 (compile-onefile, .el.elc, compile-calc, recompile): Use them.
8284 (COMPILE_FIRST): Add macroexp and cconv.
8285 * makefile.w32-in: Mirror changes in Makefile.in.
8286
8287 * vc/cvs-status.el:
8288 * vc/diff-mode.el:
8289 * vc/log-edit.el:
8290 * vc/log-view.el:
8291 * vc/smerge-mode.el:
8292 * textmodes/bibtex-style.el:
8293 * textmodes/css.el:
8294 * startup.el:
8295 * uniquify.el:
8296 * minibuffer.el:
8297 * newcomment.el:
8298 * reveal.el:
8299 * server.el:
8300 * mpc.el:
8301 * emacs-lisp/smie.el:
8302 * doc-view.el:
8303 * dired.el:
8304 * abbrev.el: Use lexical binding.
8305
83062011-04-01 Eli Zaretskii <eliz@gnu.org>
8307
8308 * info.el (info-display-manual): New function.
8309
83102011-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
8311
8312 * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
8313
83142011-03-31 Tassilo Horn <tassilo@member.fsf.org>
8315
8316 * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
8317 an entry for that server in rcirc-authinfo. (Bug#8385)
8318
83192011-03-31 Glenn Morris <rgm@gnu.org>
8320
8321 * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
8322
8323 * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
8324
83252011-03-30 Christoph Scholtes <cschol2112@googlemail.com>
8326
8327 * progmodes/python.el (python-default-interpreter)
8328 (python-python-command-args, python-jython-command-args)
8329 (python-which-shell, python-which-args, python-which-bufname)
8330 (python-file-queue, python-comint-output-filter-function)
8331 (python-toggle-shells, python-shell): Remove obsolete defcustoms,
8332 variables and functions.
8333
83342011-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
8335
8336 * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
8337 (completion-in-region-mode): New minor mode.
8338 (completion-in-region): Use it.
8339 (completion-in-region--data, completion-in-region-mode-map): New vars.
8340 (completion-in-region--postch): New function.
8341 (completion--capf-misbehave-funs, completion--capf-safe-funs):
8342 New vars.
8343 (completion--capf-wrapper): New function.
8344 (completion-at-point): Use it to track well-behavedness of
8345 hook functions.
8346 (completion-help-at-point): New command.
8347
83482011-03-30 Jason Merrill <jason@redhat.com> (tiny change)
8349
8350 * vc/add-log.el (add-change-log-entry): Don't use whitespace
8351 syntax class to search for whitespace on a single line
8352 (Message-ID: <4D938140.4030905@redhat.com>).
8353
83542011-03-30 Leo Liu <sdl.web@gmail.com>
8355
8356 * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
8357 New commands.
8358 (edit-abbrevs-map): Bind them here.
8359 (write-abbrev-file): New optinal arg VERBOSE. (Bug#5937)
8360
83612011-03-29 Ken Manheimer <ken.manheimer@gmail.com>
8362
8363 * allout.el (allout-hide-by-annotation, allout-flag-region):
8364 Reduce possibility of overlay leakage by making them volatile.
8365
8366 * allout-widgets.el (allout-widgets-tally): Define as nil so the
8367 hash is not shared between buffers. Mode initialization is
8368 responsible for giving it a useful starting value.
8369 (allout-item-span): Reduce possibility of overlay leakage by
8370 making them volatile.
8371 (allout-widgets-count-buttons-in-region): Add diagnostic function
8372 for tracking down button overlay leaks.
8373
83742011-03-29 Leo Liu <sdl.web@gmail.com>
8375
8376 * ido.el (ido-read-internal): Use the default history var
8377 minibuffer-history if no HISTORY is specified.
8378
83792011-03-28 Brian T. Sniffen <bsniffen@akamai.com> (tiny change)
8380
8381 * net/imap.el (imap-shell-open, imap-process-connection-type):
8382 Use imap-process-connection-type for 'shell' streams as well as
8383 Kerberos, SSL, other subprocesses.
8384
83852011-03-28 Leo Liu <sdl.web@gmail.com>
8386
8387 * abbrev.el (abbrev-table-empty-p): New function.
8388 (prepare-abbrev-list-buffer): Place empty abbrev tables after
8389 nonempty ones. (Bug#5937)
8390
83912011-03-27 Jan Djärv <jan.h.d@swipnet.se>
8392
8393 * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
8394
83952011-03-27 Leo Liu <sdl.web@gmail.com>
8396
8397 * ansi-color.el (ansi-color-names-vector): Allow cons cell value
8398 for foreground and background colors.
8399 (ansi-color-make-color-map): Adapt.
8400
84012011-03-25 Leo Liu <sdl.web@gmail.com>
8402
8403 * midnight.el (midnight-time-float): Remove. Note it calculates
8404 the microsecond component incorrectly and seconds-to-time does the
8405 same job.
8406 Remove redundant (require 'timer).
8407
8408 * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
8409 (ido-completions): Remove unused arguments. (Bug#8329)
8410
84112011-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
8412
8413 * minibuffer.el (completion--flush-all-sorted-completions):
8414 Remove itself from hook.
8415 (completion-at-point): Let the functions perform the completion
8416 immediately and return nil or t.
8417 * comint.el (comint-dynamic-complete-functions): Now identical to
8418 completion-at-point-functions.
8419 (comint-dynamic-list-input-ring): Remove unused var `index'.
8420 (comint--match-partial-filename, comint--unquote&expand-filename):
8421 New funs, split from comint-match-partial-filename.
8422 (comint-dynamic-complete): Use completion-at-point.
8423 (comint-dynamic-complete-filename): Use comint--match-partial-filename.
8424
84252011-03-24 Drew Adams <drew.adams@oracle.com>
8426
8427 * thingatpt.el: Support `defun'.
8428
84292011-03-23 Leo Liu <sdl.web@gmail.com>
8430
8431 * abbrevlist.el: Move to obsolete/abbrevlist.el.
8432
8433 * help-mode.el (help-mode-finish): Tweak regexp.
8434
84352011-03-23 Glenn Morris <rgm@gnu.org>
8436
8437 * eshell/esh-opt.el (eshell-eval-using-options):
8438 Do not bind unused local variable `eshell-option-stub'.
8439
8440 * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
8441
84422011-03-22 Juanma Barranquero <lekktu@gmail.com>
8443
8444 * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
8445 keymap variable in `with-no-warnings' to avoid a warning when the
8446 keymap has been already `defconst'ed.
8447
84482011-03-22 Leo Liu <sdl.web@gmail.com>
8449
8450 * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
8451 encode all chars in abbrevs; otherwise use emacs-mule or
8452 utf-8-emacs. (Bug#8308)
8453
84542011-03-22 Juanma Barranquero <lekktu@gmail.com>
8455
8456 * simple.el (backward-delete-char-untabify):
8457 Avoid warning about using `delete-backward-char'.
8458
8459 * image.el (image-type-file-name-regexps): Make it variable.
8460 `imagemagick-register-types' modifies it, and the user may want
8461 to add new extensions for known image types.
8462 (imagemagick-register-types): Throw error if not using ImageMagick.
8463
84642011-03-22 Leo Liu <sdl.web@gmail.com>
8465
8466 * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
8467 located before rcirc-prompt-end-marker.
8468 (rcirc-complete): Error if point is not after rcirc prompt.
8469 Handle the case when table is nil.
8470 (rcirc-user-authenticated): Define to fix compiler warning.
8471
84722011-03-22 Chong Yidong <cyd@stupidchicken.com>
8473
8474 * custom.el (custom--inhibit-theme-enable): Make it affect only
8475 custom-theme-set-variables and custom-theme-set-faces.
8476 (provide-theme): Ignore custom--inhibit-theme-enable.
8477 (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
8478 (custom-enabling-themes): Delete variable.
8479 (enable-theme): Accept only loaded themes as arguments.
8480 Ignore the special custom-enabled-themes variable.
8481 (custom-enabled-themes): Forbid themes from setting this.
8482 Eliminate use of custom-enabling-themes.
8483 (custom-push-theme): Quote "changed" custom var entry.
8484
84852011-03-21 Leo Liu <sdl.web@gmail.com>
8486
8487 * ido.el (ido-read-internal): Add ido-selected to history instead
8488 of user input.
8489
84902011-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
8491
8492 * subr.el (deferred-action-list, deferred-action-function):
8493 Mark obsolete.
8494
84952011-03-21 Leo Liu <sdl.web@gmail.com>
8496
8497 * vc/log-view.el: Remove (require 'wid-edit), not needed after the
8498 change on 2011-02-13 (bug#8309).
8499
8500 * minibuffer.el (read-file-name-function): Change default value.
8501 (read-file-name--defaults): Rename from read-file-name-defaults.
8502 (read-file-name-default): Rename from read-file-name.
8503 (read-file-name): Call read-file-name-function.
8504
85052011-03-21 Glenn Morris <rgm@gnu.org>
8506
8507 * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
8508 Doc fixes.
8509
85102011-03-21 Chong Yidong <cyd@stupidchicken.com>
8511
8512 * cus-theme.el: Add missing provide statement.
8513 (customize-create-theme): Extract theme value correctly.
8514 (custom-theme-visit-theme): Autoload.
8515 (customize-create-theme): Prompt before inserting default faces.
8516
85172011-03-20 Jay Belanger <jay.p.belanger@gmail.com>
8518
8519 * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
8520 units and musical notes.
8521
85222011-03-20 Leo <sdl.web@gmail.com>
8523
8524 * ido.el (ido-read-internal): Use completing-read-default.
8525 (ido-completing-read): Fix compatibility with completing-read.
8526
85272011-03-20 Christian Ohler <ohler@gnu.org>
8528
8529 * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
8530 (ert-delete-all-tests): Use `called-interactively-p' rather than
8531 `interactive-p'.
8532 (ert--make-xrefs-region): Respect END.
8533
85342011-03-19 Chong Yidong <cyd@stupidchicken.com>
8535
8536 * dired-aux.el (dired-create-directory): Signal an error if the
8537 directory already exists (Bug#8246).
8538
8539 * facemenu.el (list-colors-display): Call list-faces-display
8540 inside with-help-window.
8541 (list-colors-print): Use display property to align the final
8542 column, instead of checking window-width.
8543
85442011-03-19 Eli Zaretskii <eliz@gnu.org>
8545
8546 * vc/emerge.el (emerge-metachars): Separate value for ms-dos and
8547 windows-nt systems.
8548 (emerge-protect-metachars): Quote correctly for ms-dos and
8549 windows-nt systems.
8550
85512011-03-19 Ralph Schleicher <rs@ralph-schleicher.de>
8552
8553 * info.el (info-initialize): Replace all uses of `:' with
8554 path-separator for compatibility with non-Unix systems.
8555 Cache quoting of path-separator. (Bug#8258)
8556
85572011-03-19 Juanma Barranquero <lekktu@gmail.com>
8558
8559 * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
8560 (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
8561 (mouse-avoidance-mode): Fix typos in docstrings.
8562
85632011-03-19 Chong Yidong <cyd@stupidchicken.com>
8564
8565 * startup.el (package-subdirectory-regexp): Move from package.el.
8566 Omit \\` and \\', and let callers add them.
8567
8568 * emacs-lisp/package.el (package-strip-version)
8569 (package-load-all-descriptors): Add \\` and \\' to
8570 package-subdirectory-regexp before using it.
8571 (package-untar-buffer): New arg DIR; ensure that file untars only
8572 into this expected directory. Remove superfluous delete-region.
8573 (package-unpack): Caller changed.
8574 (package-tar-file-info): Use package-subdirectory-regexp.
8575
85762011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
8577
8578 * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
8579 diff-mode-shared-map (bug#8284).
8580 (diff-mode-shared-map): Re-introduce some bindings that were problematic.
8581
85822011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
8583
8584 * calendar/time-date.el (format-seconds): Use assoc instead of
8585 assoc-string, since assoc-string doesn't exist in XEmacs.
8586
85872011-03-17 Juanma Barranquero <lekktu@gmail.com>
8588
8589 * custom.el (custom-known-themes): Reflow docstring.
8590 (custom-theme-load-path): Fix typo in docstring.
8591 (load-theme): Fix typo in error message.
8592 (custom-available-themes, custom-variable-theme-value):
8593 Use `let', not `let*'.
8594
85952011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
8596
8597 * calc/README: Mention inclusion of musical notes.
8598
8599 * calc/calc-units.el (calc-lu-quant): Rename from
8600 `calc-logunits-quantity'.
8601 (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
8602 (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
8603 (calc-db): Rename from `calc-dblevel'.
8604 (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
8605 (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
8606 (calc-np): Rename from `calc-nplevel'.
8607 (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
8608 (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
8609 (calc-lu-plus): Rename from `calc-logunits-add'.
8610 (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
8611 (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
8612 (calc-lu-minus): Rename from `calc-logunits-sub'.
8613 (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
8614 (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
8615 (calc-lu-times): Rename from `calc-logunits-mul'.
8616 (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
8617 (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
8618 (calc-lu-divide): Rename from `calc-logunits-div'.
8619 (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
8620 (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
8621
8622 * calc/calc-ext.el (calc-init-extensions): Update the names of the
8623 functions being autoloaded.
8624
8625 * calc/calc.el (calc-lu-power-reference): Rename from
8626 `calc-logunits-power-reference'.
8627 (calc-lu-field-reference): Rename from
8628 `calc-logunits-field-reference'.
8629
8630 * calc/calc-help (calc-l-prefix-help): Mention musical note functions.
8631
86322011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
8633
8634 * minibuffer.el (completion-all-sorted-completions):
8635 Use :completion-cycle-penalty text property if present.
8636
86372011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
8638
8639 * allout.el (allout-yank-processing): Adjust for new rebulleting
8640 regime so bullet being yanked is used without prompting the user
8641 for a choice.
8642
86432011-03-16 Juanma Barranquero <lekktu@gmail.com>
8644
8645 * startup.el (command-line): Warn the user that _emacs is deprecated.
8646
86472011-03-16 Juanma Barranquero <lekktu@gmail.com>
8648
8649 * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
8650 (delphi-verbose, delphi-comment-face, delphi-string-face)
8651 (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
8652 (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
8653 (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
8654 (delphi-new-comment-line, delphi-font-lock-defaults)
8655 (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
8656 Fix typos in docstrings.
8657
86582011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
8659
8660 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
8661 Invert the roles of character and string values for INSTEAD, so a
8662 string is used for the more common case of a defaulting prompt.
8663
86642011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
8665
8666 * progmodes/ruby-mode.el (ruby-backward-sexp):
8667 * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
8668 * play/gamegrid.el (gamegrid-make-face):
8669 * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
8670 (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
8671 * notifications.el (notifications-notify):
8672 * net/xesam.el (xesam-search-engines):
8673 * net/quickurl.el (quickurl-list-insert):
8674 * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
8675
86762011-03-15 Chong Yidong <cyd@stupidchicken.com>
8677
8678 * startup.el (command-line): Update package subdirectory regexp.
8679
86802011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
8681
8682 * allout.el (allout-abbreviate-flattened-numbering)
8683 (allout-mode-deactivate-hook): Fix up obsolescence "date".
8684
8685 * subr.el (read-char-choice): Only show the cursor after the prompt,
8686 not after the answer.
8687
86882011-03-15 Kevin Ryde <user42@zip.com.au>
8689
8690 * help-fns.el (variable-at-point): Skip leading quotes, if any
8691 (bug#8253).
8692
86932011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
8694
8695 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
8696 warning message.
8697
86982011-03-14 Michael Albinus <michael.albinus@gmx.de>
8699
8700 * shell.el (shell): When called interactively, offer to change the
8701 shell file name on remote hosts.
8702
87032011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
8704
8705 * net/ldap.el (ldap-search-internal): Add `auth-source-search'
8706 integration for LDAP parameters. The host, base, user or binddn,
8707 and secret tokens can be specified in a netrc file, for instance.
8708 This is optional because an `auth-source' parameter must be
8709 specified in the search attributes.
8710
87112011-03-13 Juanma Barranquero <lekktu@gmail.com>
8712
8713 * help.el (describe-mode): Link to the mode's definition (bug#8185).
8714
87152011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
8716
8717 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
8718 into declaration. Remove redundant and harmful binding.
8719
87202011-03-12 Eli Zaretskii <eliz@gnu.org>
8721
8722 * files.el (file-ownership-preserved-p): Pass `integer' as an
8723 explicit 2nd argument to `file-attributes'. If the file's owner
8724 is the Administrators group on Windows, and the current user is
8725 Administrator, consider that a match.
8726
8727 * server.el (server-ensure-safe-dir): Consider server directory
8728 safe on MS-Windows if its owner is the Administrators group while
8729 the current Emacs user is Administrator. Use `=' to compare
8730 numerical UIDs, since they could be integers or floats.
8731
87322011-03-12 Juanma Barranquero <lekktu@gmail.com>
8733
8734 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
8735
87362011-03-12 Michael Albinus <michael.albinus@gmx.de>
8737
8738 Sync with Tramp 2.2.1.
8739
8740 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
8741
8742 * net/trampver.el: Update release number.
8743
87442011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
8745
8746 * progmodes/compile.el (compilation--previous-directory): Fix up
8747 various nil/dead-marker mismatches (bug#8014).
8748 (compilation-directory-properties, compilation-error-properties):
8749 Don't call it at a position past the one we're about to change.
8750
8751 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
8752 Disable obsolescence warnings in the file that declares it.
8753
87542011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
8755
8756 * allout-widgets.el (allout-widgets-tally):
8757 Initialize allout-widgets-tally as a hash table rather than nil to
8758 prevent mode-line redisplay warnings. Also, clarify the module
8759 description and fix a comment typo.
8760
87612011-03-11 Juanma Barranquero <lekktu@gmail.com>
8762
8763 * help-fns.el (describe-variable): Don't complete keywords.
8764 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
8765
87662011-03-10 Chong Yidong <cyd@stupidchicken.com>
8767
8768 * emacs-lisp/package.el (package-version-join): Impose a standard
8769 string representation for pre/alpha/beta version lists.
8770 (package-unpack-single): Standardize the directory name by passing
8771 it through package-version-join.
8772 (package-strip-rcs-id): Accept any version string that does not
8773 signal an error in version-to-list.
8774
87752011-03-10 Michael Albinus <michael.albinus@gmx.de>
8776
8777 * simple.el (delete-trailing-whitespace): Return nil for the
8778 benefit of `write-file-functions'.
8779
87802011-03-10 Glenn Morris <rgm@gnu.org>
8781
8782 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
8783
8784 * vc/vc-git.el (vc-git-program): New option.
8785 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
8786 (vc-git--call): Use it.
8787
8788 * eshell/esh-util.el (eshell-condition-case): Doc fix.
8789
8790 * cus-edit.el (Custom-newline): If no button at point, look
8791 for a subgroup button at start-of-line. (Bug#2298)
8792
8793 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
8794
87952011-03-10 Julien Danjou <julien@danjou.info>
8796
8797 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
8798 `cursor-type' is nil.
8799
88002011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
8801
8802 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
8803
88042011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
8805
8806 * allout.el Summary: Change so yank of distinctive-bullet items
8807 preserves the existing header prefix, rebulleting it if necessary,
8808 rather than replacing it. This is necessary for proper operation
8809 of cooperative addons like allout-widgets.
8810 (allout-make-topic-prefix, allout-rebullet-heading): Change
8811 SOLICIT arg to INSTEAD, and interpret additionally a string value
8812 as alternate bullet to be used, instead of prompting the user for
8813 a bullet character.
8814
88152011-03-09 Michael Albinus <michael.albinus@gmx.de>
8816
8817 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
8818 Do not use `tramp-file-name-port', because this returns also
8819 `tramp-default-port'.
8820
88212011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
8822
8823 * net/rcirc.el (rcirc-handler-001): Remove useless
8824 with-rcirc-process-buffer.
8825 (rcirc-check-auth-status): Swap arguments to string-match.
8826
88272011-03-09 Glenn Morris <rgm@gnu.org>
8828
8829 * shell.el (shell-mode):
8830 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
8831
8832 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
8833 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
8834
88352011-03-08 Chong Yidong <cyd@stupidchicken.com>
8836
8837 * emacs-lisp/package.el (package-refresh-contents)
8838 (package-menu-execute): Use condition-case-no-debug.
8839
88402011-03-08 Michael Albinus <michael.albinus@gmx.de>
8841
8842 * simple.el (shell-command-to-string): Use `process-file'.
8843
8844 * emacs-lisp/package.el (package-tar-file-info): Handle also
8845 remote files.
8846
8847 * emacs-lisp/package-x.el (package-upload-buffer-internal):
8848 Use `equal' for upload base check.
8849
88502011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
8851
8852 * textmodes/texinfo.el (texinfo-environments):
8853 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
8854
88552011-03-08 Glenn Morris <rgm@gnu.org>
8856
8857 * cus-start.el (cursor-in-non-selected-windows):
8858 Fix :set quoting oddness. (Bug#8192)
8859
8860 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
8861 in some setf expressions. (Bug#2159)
8862
88632011-03-08 Chong Yidong <cyd@stupidchicken.com>
8864
8865 * custom.el (custom-available-themes): Return themes in
8866 alphabetical order.
8867
8868See ChangeLog.15 for earlier changes.
8869
8870;; Local Variables:
8871;; coding: utf-8
8872;; End:
8873
8874 Copyright (C) 2011 Free Software Foundation, Inc.
8875
8876 This file is part of GNU Emacs.
8877
8878 GNU Emacs is free software: you can redistribute it and/or modify
8879 it under the terms of the GNU General Public License as published by
8880 the Free Software Foundation, either version 3 of the License, or
8881 (at your option) any later version.
8882
8883 GNU Emacs is distributed in the hope that it will be useful,
8884 but WITHOUT ANY WARRANTY; without even the implied warranty of
8885 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
8886 GNU General Public License for more details.
8887
8888 You should have received a copy of the GNU General Public License
8889 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.